react-native-inapp-inspector 2.4.2 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
- package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/9.2.0/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.settings/org.eclipse.buildship.core.prefs +13 -0
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +523 -2
- package/dist/commonjs/capture.d.ts +2 -0
- package/dist/commonjs/capture.js +1 -1
- package/dist/commonjs/components/AnalyticsDetail.js +23 -23
- package/dist/commonjs/components/AnalyticsEventCard.js +1 -1
- package/dist/commonjs/components/AnalyticsGraph.js +44 -44
- package/dist/commonjs/components/AnimatedBrandOwl.js +32 -32
- package/dist/commonjs/components/AppHeaderLogo.js +6 -6
- package/dist/commonjs/components/BrandCircleIcon.js +28 -28
- package/dist/commonjs/components/BrandSquareIcon.js +33 -33
- package/dist/commonjs/components/ConsoleLogCard.js +1 -1
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +2 -2
- package/dist/commonjs/components/Inspector/ConfirmationModal.js +23 -25
- package/dist/commonjs/components/Inspector/ConsoleTab.js +5 -5
- package/dist/commonjs/components/Inspector/CrashTab.js +44 -11
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +1 -1
- package/dist/commonjs/components/Inspector/FabLauncher.js +30 -25
- package/dist/commonjs/components/Inspector/FloatingCaptureWidget.d.ts +3 -0
- package/dist/commonjs/components/Inspector/FloatingCaptureWidget.js +54 -0
- package/dist/commonjs/components/Inspector/GlobalCrashScreenModal.d.ts +11 -0
- package/dist/commonjs/components/Inspector/GlobalCrashScreenModal.js +234 -0
- package/dist/commonjs/components/Inspector/InspectorHeader.js +137 -127
- package/dist/commonjs/components/Inspector/LanguageSelectorModal.d.ts +1 -1
- package/dist/commonjs/components/Inspector/LanguageSelectorModal.js +114 -32
- package/dist/commonjs/components/Inspector/MainScreen.js +26 -19
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +38 -35
- package/dist/commonjs/components/Inspector/MediaPreviewModal.d.ts +36 -0
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +345 -123
- package/dist/commonjs/components/Inspector/NetworkTab.js +14 -14
- package/dist/commonjs/components/Inspector/PushCard.js +1 -1
- package/dist/commonjs/components/Inspector/PushDetail.js +9 -9
- package/dist/commonjs/components/Inspector/PushTab.js +3 -3
- package/dist/commonjs/components/Inspector/ReduxTab.js +9 -7
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.d.ts +2 -0
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.js +43 -0
- package/dist/commonjs/components/Inspector/SettingsPanel.js +102 -73
- package/dist/commonjs/components/Inspector/SocketCard.js +1 -1
- package/dist/commonjs/components/Inspector/SocketDetail.js +73 -63
- package/dist/commonjs/components/Inspector/SocketTab.js +4 -4
- package/dist/commonjs/components/Inspector/StorageTab.js +10 -10
- package/dist/commonjs/components/Inspector/SupportModal.js +2 -2
- package/dist/commonjs/components/Inspector/SupportPage.js +1 -1
- package/dist/commonjs/components/JsonViewer.js +47 -45
- package/dist/commonjs/components/LogCard.js +22 -20
- package/dist/commonjs/components/ModuleErrorBoundary.js +5 -5
- package/dist/commonjs/components/NetworkIcons.d.ts +27 -0
- package/dist/commonjs/components/NetworkIcons.js +103 -5
- package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
- package/dist/commonjs/constants/telemetryConfig.js +1 -1
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/crash.d.ts +1 -1
- package/dist/commonjs/crash.js +1 -1
- package/dist/commonjs/customHooks/crashHandler.d.ts +2 -1
- package/dist/commonjs/customHooks/crashHandler.js +7 -7
- package/dist/commonjs/editor.d.ts +13 -0
- package/dist/commonjs/editor.js +1 -0
- package/dist/commonjs/helpers/index.d.ts +1 -0
- package/dist/commonjs/helpers/index.js +1 -1
- package/dist/commonjs/helpers/settingsStore.js +1 -1
- package/dist/commonjs/helpers/telemetry.js +1 -1
- package/dist/commonjs/i18n/index.js +1 -1
- package/dist/commonjs/i18n/locales/ar.json +1 -1
- package/dist/commonjs/i18n/locales/bn.json +1 -1
- package/dist/commonjs/i18n/locales/de.json +1 -1
- package/dist/commonjs/i18n/locales/en.json +1 -1
- package/dist/commonjs/i18n/locales/es.json +1 -1
- package/dist/commonjs/i18n/locales/fr.json +1 -1
- package/dist/commonjs/i18n/locales/gu.json +1 -1
- package/dist/commonjs/i18n/locales/hi.json +1 -1
- package/dist/commonjs/i18n/locales/id.json +1 -1
- package/dist/commonjs/i18n/locales/it.json +1 -1
- package/dist/commonjs/i18n/locales/ja.json +1 -1
- package/dist/commonjs/i18n/locales/kn.json +1 -1
- package/dist/commonjs/i18n/locales/ko.json +1 -1
- package/dist/commonjs/i18n/locales/ml.json +1 -1
- package/dist/commonjs/i18n/locales/mr.json +1 -1
- package/dist/commonjs/i18n/locales/nl.json +1 -1
- package/dist/commonjs/i18n/locales/pa.json +1 -1
- package/dist/commonjs/i18n/locales/pl.json +1 -1
- package/dist/commonjs/i18n/locales/pt.json +1 -1
- package/dist/commonjs/i18n/locales/ru.json +1 -1
- package/dist/commonjs/i18n/locales/ta.json +1 -1
- package/dist/commonjs/i18n/locales/te.json +1 -1
- package/dist/commonjs/i18n/locales/tr.json +1 -1
- package/dist/commonjs/i18n/locales/vi.json +1 -1
- package/dist/commonjs/i18n/locales/zh.json +1 -1
- package/dist/commonjs/index.d.ts +4 -1
- package/dist/commonjs/index.js +3 -3
- package/dist/commonjs/native/NativeInspector.d.ts +3 -0
- package/dist/commonjs/native/NativeInspector.js +1 -1
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +4 -0
- package/dist/commonjs/styles/AppColors.d.ts +42 -2
- package/dist/commonjs/styles/AppColors.js +1 -1
- package/dist/commonjs/styles/common.js +1 -1
- package/dist/commonjs/styles/index.d.ts +7 -0
- package/dist/commonjs/styles/index.js +1 -1
- package/dist/commonjs/types/editor.d.ts +96 -0
- package/dist/commonjs/types/editor.js +1 -0
- package/dist/commonjs/types/interfaces.d.ts +21 -0
- package/dist/esm/capture.d.ts +2 -0
- package/dist/esm/capture.js +1 -1
- package/dist/esm/components/AnalyticsDetail.js +31 -31
- package/dist/esm/components/AnalyticsEventCard.js +1 -1
- package/dist/esm/components/AnalyticsGraph.js +74 -74
- package/dist/esm/components/AnimatedBrandOwl.js +114 -114
- package/dist/esm/components/AppHeaderLogo.js +7 -7
- package/dist/esm/components/BrandCircleIcon.js +70 -70
- package/dist/esm/components/BrandSquareIcon.js +61 -61
- package/dist/esm/components/ConsoleLogCard.js +1 -1
- package/dist/esm/components/Inspector/AnalyticsTab.js +14 -14
- package/dist/esm/components/Inspector/ConfirmationModal.js +23 -25
- package/dist/esm/components/Inspector/ConsoleTab.js +17 -17
- package/dist/esm/components/Inspector/CrashTab.js +202 -169
- package/dist/esm/components/Inspector/DeviceInfoTab.js +75 -75
- package/dist/esm/components/Inspector/FabLauncher.js +56 -51
- package/dist/esm/components/Inspector/FloatingCaptureWidget.d.ts +3 -0
- package/dist/esm/components/Inspector/FloatingCaptureWidget.js +54 -0
- package/dist/esm/components/Inspector/GlobalCrashScreenModal.d.ts +11 -0
- package/dist/esm/components/Inspector/GlobalCrashScreenModal.js +234 -0
- package/dist/esm/components/Inspector/InspectorHeader.js +162 -152
- package/dist/esm/components/Inspector/LanguageSelectorModal.d.ts +1 -1
- package/dist/esm/components/Inspector/LanguageSelectorModal.js +140 -58
- package/dist/esm/components/Inspector/MainScreen.js +61 -54
- package/dist/esm/components/Inspector/MediaGalleryTab.js +55 -52
- package/dist/esm/components/Inspector/MediaPreviewModal.d.ts +36 -0
- package/dist/esm/components/Inspector/MediaPreviewModal.js +345 -123
- package/dist/esm/components/Inspector/NetworkTab.js +74 -74
- package/dist/esm/components/Inspector/PushCard.js +1 -1
- package/dist/esm/components/Inspector/PushDetail.js +18 -18
- package/dist/esm/components/Inspector/PushTab.js +1 -1
- package/dist/esm/components/Inspector/ReduxTab.js +18 -16
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.d.ts +2 -0
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.js +43 -0
- package/dist/esm/components/Inspector/SettingsPanel.js +224 -195
- package/dist/esm/components/Inspector/SocketCard.js +8 -8
- package/dist/esm/components/Inspector/SocketDetail.js +106 -96
- package/dist/esm/components/Inspector/SocketTab.js +18 -18
- package/dist/esm/components/Inspector/StorageTab.js +47 -47
- package/dist/esm/components/Inspector/SupportModal.js +64 -64
- package/dist/esm/components/Inspector/SupportPage.js +5 -5
- package/dist/esm/components/JsonViewer.js +51 -49
- package/dist/esm/components/LogCard.js +41 -39
- package/dist/esm/components/ModuleErrorBoundary.js +10 -10
- package/dist/esm/components/NetworkIcons.d.ts +27 -0
- package/dist/esm/components/NetworkIcons.js +101 -3
- package/dist/esm/constants/telemetryConfig.d.ts +3 -3
- package/dist/esm/constants/telemetryConfig.js +1 -1
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/crash.d.ts +1 -1
- package/dist/esm/crash.js +1 -1
- package/dist/esm/customHooks/crashHandler.d.ts +2 -1
- package/dist/esm/customHooks/crashHandler.js +7 -7
- package/dist/esm/editor.d.ts +13 -0
- package/dist/esm/editor.js +1 -0
- package/dist/esm/helpers/index.d.ts +1 -0
- package/dist/esm/helpers/index.js +4 -4
- package/dist/esm/helpers/settingsStore.js +1 -1
- package/dist/esm/helpers/telemetry.js +1 -1
- package/dist/esm/i18n/index.js +1 -1
- package/dist/esm/i18n/locales/ar.json +1 -1
- package/dist/esm/i18n/locales/bn.json +1 -1
- package/dist/esm/i18n/locales/de.json +1 -1
- package/dist/esm/i18n/locales/en.json +1 -1
- package/dist/esm/i18n/locales/es.json +1 -1
- package/dist/esm/i18n/locales/fr.json +1 -1
- package/dist/esm/i18n/locales/gu.json +1 -1
- package/dist/esm/i18n/locales/hi.json +1 -1
- package/dist/esm/i18n/locales/id.json +1 -1
- package/dist/esm/i18n/locales/it.json +1 -1
- package/dist/esm/i18n/locales/ja.json +1 -1
- package/dist/esm/i18n/locales/kn.json +1 -1
- package/dist/esm/i18n/locales/ko.json +1 -1
- package/dist/esm/i18n/locales/ml.json +1 -1
- package/dist/esm/i18n/locales/mr.json +1 -1
- package/dist/esm/i18n/locales/nl.json +1 -1
- package/dist/esm/i18n/locales/pa.json +1 -1
- package/dist/esm/i18n/locales/pl.json +1 -1
- package/dist/esm/i18n/locales/pt.json +1 -1
- package/dist/esm/i18n/locales/ru.json +1 -1
- package/dist/esm/i18n/locales/ta.json +1 -1
- package/dist/esm/i18n/locales/te.json +1 -1
- package/dist/esm/i18n/locales/tr.json +1 -1
- package/dist/esm/i18n/locales/vi.json +1 -1
- package/dist/esm/i18n/locales/zh.json +1 -1
- package/dist/esm/index.d.ts +4 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/native/NativeInspector.d.ts +3 -0
- package/dist/esm/native/NativeInspector.js +1 -1
- package/dist/esm/native/NativeNetworkInspector.d.ts +4 -0
- package/dist/esm/styles/AppColors.d.ts +42 -2
- package/dist/esm/styles/AppColors.js +1 -1
- package/dist/esm/styles/common.js +1 -1
- package/dist/esm/styles/index.d.ts +7 -0
- package/dist/esm/styles/index.js +1 -1
- package/dist/esm/types/editor.d.ts +96 -0
- package/dist/esm/types/editor.js +1 -0
- package/dist/esm/types/interfaces.d.ts +21 -0
- package/editor.d.ts +1 -0
- package/editor.js +1 -0
- package/ios/NetworkInspectorModule.mm +429 -0
- package/package.json +10 -1
- package/react-native-inapp-inspector.podspec +1 -1
- package/src/native/NativeInspector.ts +57 -4
- package/src/native/NativeNetworkInspector.ts +4 -0
package/dist/esm/styles/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{StyleSheet as o,Platform as r}from"react-native";import a,{updateAppColorsTheme as p,getThemeColors as n}from"./AppColors";import{AppFonts as t}from"./AppFonts";import m,{rebuildCommonStyles as f}from"./common";export{m as commonStyles};export const getRawStyles=e=>({header:{flexDirection:"row",alignItems:"center",paddingHorizontal:14,paddingVertical:9,zIndex:10,minHeight:54,overflow:"visible",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.08,shadowRadius:4,elevation:3},headerLeft:{flex:1,minWidth:0,alignItems:"flex-start"},headerCenter:{flex:1,minWidth:0,alignItems:"center",justifyContent:"center",paddingHorizontal:6},headerRight:{flexShrink:0,flexDirection:"row",alignItems:"center",justifyContent:"flex-end",gap:6},headerTitle:{fontFamily:t.interBold,color:e.primaryLight,fontSize:16,lineHeight:22,letterSpacing:.2,paddingBottom:0},envBadge:{paddingHorizontal:7,paddingVertical:2.5,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center",marginBottom:0},envBadgeText:{fontFamily:t.interBold,fontSize:9.5,lineHeight:12,letterSpacing:.5},headerDetailCenter:{alignItems:"center",justifyContent:"center",flex:1,minWidth:0},headerDetailRow:{flexDirection:"row",alignItems:"center",gap:8,maxWidth:"100%"},headerMethodBadge:{paddingHorizontal:6.5,paddingVertical:3,borderRadius:6,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:1},headerMethodText:{fontFamily:t.interBold,color:e.primaryLight,fontSize:10,lineHeight:13,letterSpacing:.5},headerDetailTitle:{fontFamily:t.interSemiBold,color:e.primaryLight,fontSize:15,lineHeight:20,flexShrink:1,letterSpacing:.2},headerDetailSubRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:4},headerStatusDot:{width:7,height:7,borderRadius:3.5,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.2,shadowRadius:1,elevation:1},headerSubTitle:{fontFamily:t.interMedium,color:e.primaryLight,fontSize:11.5,lineHeight:15,opacity:.95,letterSpacing:.2},headerCountBadge:{flexDirection:"row",alignItems:"center",backgroundColor:`${e.black}33`,paddingHorizontal:12,paddingVertical:6,borderRadius:16,gap:6,borderWidth:.5,borderColor:`${e.white}33`,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:2},headerCountText:{fontFamily:t.interMedium,color:`${e.white}F2`,fontSize:12,lineHeight:16,letterSpacing:.2},listContent:{paddingBottom:r.OS==="ios"?44:32},supportFab:{position:"absolute",bottom:22,right:16,width:42,height:42,borderRadius:21,backgroundColor:e.purple,alignItems:"center",justifyContent:"center",shadowColor:e.purple,shadowOffset:{width:0,height:4},shadowOpacity:.45,shadowRadius:8,elevation:14,zIndex:999,borderWidth:1.5,borderColor:"rgba(255, 255, 255, 0.25)"},scrollTopBtn:{position:"absolute",bottom:22,right:16,width:38,height:38,borderRadius:19,backgroundColor:e.purple,alignItems:"center",justifyContent:"center",shadowColor:e.black,shadowOffset:{width:0,height:3},shadowOpacity:.3,shadowRadius:6,elevation:12,zIndex:999},detailScroll:{flex:1},closeButtonSquare:{width:30,height:30,borderRadius:7,backgroundColor:`${e.white}2B`,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:`${e.white}33`,overflow:"hidden"},fabWrapper:{position:"absolute",bottom:180,right:20,alignItems:"center",justifyContent:"center",zIndex:99999,elevation:15,shadowColor:e.purple,shadowOffset:{width:0,height:8},shadowOpacity:.4,shadowRadius:12},fabPulseRing:{position:"absolute",width:68,height:68,borderRadius:34,backgroundColor:`${e.purple}25`},fabShineClip:{position:"absolute",width:68,height:68,borderRadius:34,overflow:"hidden"},fabCloseBadge:{position:"absolute",top:-4,right:-4,width:22,height:22,borderRadius:11,backgroundColor:e.red500,borderWidth:1.5,borderColor:e.white,alignItems:"center",justifyContent:"center",zIndex:1e3,elevation:20,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.35,shadowRadius:4},fabShineStreak:{position:"absolute",top:-20,width:26,height:102,transform:[{rotate:"25deg"}]},fabGreenDot:{position:"absolute",top:2,right:2,width:12,height:12,borderRadius:6,backgroundColor:e.greenA400,borderWidth:2,borderColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.2,shadowRadius:1.5,elevation:2},toolbarRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,marginBottom:10,gap:10,marginTop:4},toolbarRight:{flexDirection:"row",alignItems:"center",gap:10},toolbarBtn:{width:34,height:34,borderRadius:17,alignItems:"center",justifyContent:"center",backgroundColor:e.primaryLight,borderWidth:1.5,borderColor:e.grayBorderSecondary,...r.OS==="ios"?{shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2}:{elevation:0}},toolbarBtnActive:{borderColor:e.purple,backgroundColor:e.purpleShade50,shadowOpacity:.08,shadowRadius:3,elevation:2},trashBadge:{position:"absolute",top:-4,right:-4,backgroundColor:e.errorColor,borderRadius:10,minWidth:18,height:18,alignItems:"center",justifyContent:"center",borderWidth:1.5,borderColor:e.primaryLight},trashBadgeText:{color:e.primaryLight,fontFamily:t.interBold,fontSize:9},filtersContainer:{paddingHorizontal:12,paddingBottom:10},filtersHeading:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:11,textTransform:"uppercase",letterSpacing:.6,marginBottom:6},statusRowContent:{alignItems:"center",paddingVertical:2},statusFilterWrap:{marginRight:6},statusFilterChip:{flexDirection:"row",alignItems:"center",paddingHorizontal:9,height:32,justifyContent:"center",borderRadius:24,borderWidth:1.5,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2,elevation:1},statusFilterActive:{borderColor:e.purple,backgroundColor:e.purpleShade50},filterCheckbox:{width:13,height:13,borderRadius:3,borderWidth:1.5,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,alignItems:"center",justifyContent:"center",marginRight:6},filterCheckboxActive:{borderColor:"transparent"},filterChipIcon:{marginRight:5},methodBadgeMini:{width:4.5,height:13,borderRadius:2,marginRight:6},statusFilterText:{fontFamily:t.interMedium,color:e.grayText,fontSize:11.5},resultCount:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:12,marginHorizontal:16,marginBottom:8,marginTop:4,letterSpacing:.2},searchContainer:{flex:1,flexDirection:"row",alignItems:"center",backgroundColor:e.primaryLight,borderRadius:24,paddingHorizontal:10,paddingVertical:4,borderWidth:1.5,borderColor:e.grayBorderSecondary,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2,elevation:1},searchInput:{flex:1,fontFamily:t.interRegular,color:e.primaryBlack,paddingVertical:r.OS==="ios"?5:2,marginLeft:6,fontSize:14},clearBtn:{padding:4},domainHeaderCard:{marginHorizontal:8,marginTop:10,marginBottom:4,paddingHorizontal:8,paddingVertical:7,borderRadius:9,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.grayBorderSecondary},domainHeaderCardExpanded:{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottomWidth:0,marginBottom:0},domainHeaderTopRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},domainHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,minWidth:0,marginRight:6,gap:6},domainIconWrap:{width:22,height:22,borderRadius:5,alignItems:"center",justifyContent:"center"},domainTitleText:{fontFamily:t.interBold,fontSize:13,fontWeight:"700",color:e.primaryBlack,textTransform:"capitalize"},domainSummaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},domainSummaryText:{fontFamily:t.interRegular,fontSize:10,color:e.grayTextWeak},domainPctText:{fontFamily:t.interBold,fontSize:9.5},domainProgressSection:{marginTop:8,gap:4,width:"100%"},domainProgressTrack:{flexDirection:"row",height:4,borderRadius:2,overflow:"hidden",backgroundColor:e.grayBorderSecondary,width:"100%"},domainProgressSegment:{height:"100%"},domainProgressLabelsRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:2},domainProgressRateText:{fontFamily:t.interBold,fontSize:9.5,color:e.grayTextStrong},domainProgressSummaryText:{fontFamily:t.interMedium,fontSize:9,color:e.grayTextWeak},domainStatsGroup:{flexDirection:"row",alignItems:"center",flexShrink:0,gap:4},domainStatPill:{flexDirection:"row",alignItems:"center",gap:3,paddingHorizontal:5,paddingVertical:2.5,borderRadius:5,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight},domainStatText:{fontFamily:t.interBold,fontSize:9.5},treeNodeRow:{flexDirection:"row",alignItems:"stretch",marginHorizontal:8,paddingRight:4,paddingLeft:0,backgroundColor:e.grayBackground,borderLeftWidth:1,borderRightWidth:1,borderColor:e.grayBorderSecondary},treeNodeRowLast:{borderBottomWidth:1,borderBottomLeftRadius:10,borderBottomRightRadius:10,marginBottom:8,paddingBottom:6},treeLines:{width:14,position:"relative"},modernTreeLine:{position:"absolute",left:7,top:0,width:7,height:"100%",borderLeftWidth:1.5,opacity:.5},modernTreeLineLast:{height:"50%",borderBottomWidth:1.5,borderBottomLeftRadius:8},modernTreeBranch:{position:"absolute",left:7,top:"50%",width:7,borderTopWidth:1.5,opacity:.5},treeCardWrapper:{flex:1,paddingVertical:3},card:{marginHorizontal:0,marginVertical:0,borderRadius:12,overflow:"hidden",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight},cardBody:{paddingHorizontal:12,paddingTop:10,paddingBottom:9},cardHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4,minHeight:22},cardHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,marginRight:6,gap:5,minWidth:0},cardHeaderRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},smallCheckbox:{width:15,height:15,borderRadius:4,borderWidth:1.8,borderColor:e.grayTextWeak,alignItems:"center",justifyContent:"center",backgroundColor:e.white},smallCheckboxChecked:{backgroundColor:e.purple,borderColor:e.purple},serialNumber:{fontFamily:t.interBold,color:e.grayTextWeak,fontSize:10},methodBadge:{paddingHorizontal:6.5,paddingVertical:2.5,borderRadius:5,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.3)",...r.OS==="ios"?{shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.12,shadowRadius:2}:{elevation:1}},methodBadgeText:{fontFamily:t.interBold,fontSize:9.5,letterSpacing:.6,color:e.white},cardHostText:{fontFamily:t.interMedium,fontSize:12,color:e.primaryBlack,flexShrink:1},statusPill:{paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"},statusPillText:{fontFamily:t.interBold,fontSize:10},cardSlugBox:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:`${e.brandPurple}08`,borderRadius:8,borderWidth:1,borderColor:`${e.brandPurple}18`,paddingHorizontal:8,paddingVertical:6,marginVertical:5,gap:6},slugLeft:{flexDirection:"row",alignItems:"flex-start",flex:1,minWidth:0,gap:6},slugTag:{fontFamily:t.interBold,fontSize:8.5,color:e.brandPurple,letterSpacing:.5,backgroundColor:`${e.brandPurple}15`,paddingHorizontal:4,paddingVertical:1.5,borderRadius:4,marginTop:1,flexShrink:0},slugText:{fontFamily:t.interMedium,fontSize:11.5,lineHeight:15.5,color:e.primaryBlack,flex:1},slugRight:{flexDirection:"row",alignItems:"center",gap:4,flexShrink:0},cardFooterRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginTop:4,minHeight:18},cardDateRow:{flexDirection:"row",alignItems:"center",gap:3.5,flexShrink:0},cardDateText:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:10,letterSpacing:.1},cardFooterRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},chip:{flexDirection:"row",alignItems:"center",gap:3.5,paddingHorizontal:5,paddingVertical:2,borderRadius:5,borderWidth:1},chipText:{fontFamily:t.interBold,fontSize:9.5},empty:{flex:1,alignItems:"center",justifyContent:"center"},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:80,paddingHorizontal:20},emptyIconWrap:{width:72,height:72,borderRadius:36,backgroundColor:e.purpleShade50,alignItems:"center",justifyContent:"center",marginBottom:20,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.06,shadowRadius:4,elevation:1},emptyTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:18,marginBottom:8,letterSpacing:.3},emptySub:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:14,textAlign:"center",lineHeight:20,letterSpacing:.2},reloadBtn:{marginTop:28,paddingHorizontal:24,paddingVertical:12,backgroundColor:e.purple,borderRadius:24,shadowColor:e.purple,shadowOffset:{width:0,height:4},shadowOpacity:.35,shadowRadius:8,elevation:5},reloadBtnText:{color:e.white,fontFamily:t.interBold,fontSize:14,letterSpacing:.3},detailInfoBar:{borderRadius:14,paddingVertical:14,paddingHorizontal:10,marginBottom:12,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2},detailInfoTop:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingBottom:8,gap:8},detailInfoRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},metaContainer:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:14,marginBottom:12,overflow:"hidden",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2},metaHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},metaTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:12,letterSpacing:.6,textTransform:"uppercase"},metaBody:{paddingHorizontal:12,paddingBottom:8,paddingTop:4},metaRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingVertical:8},metaDivider:{height:1,backgroundColor:e.dividerColor},metaLabelRow:{flexDirection:"row",alignItems:"center",gap:8},metaLabel:{fontFamily:t.interBold,color:e.grayText,fontSize:13},metaValue:{fontFamily:t.interMedium,color:e.primaryBlack,fontSize:13},metaValueRow:{flexDirection:"row",alignItems:"center",gap:8},perfBadge:{paddingHorizontal:8,paddingVertical:2,borderRadius:6,borderWidth:1},perfBadgeText:{fontFamily:t.interBold,fontSize:11},detailSearchRow:{flexDirection:"row",alignItems:"center",marginBottom:10},detailSearchBox:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:e.primaryLight,borderRadius:12,paddingLeft:16,borderWidth:1,borderColor:e.grayBorderSecondary},detailSearchInput:{flex:1,fontFamily:t.interRegular,color:e.primaryBlack,height:40},sectionContainer:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:12,marginBottom:10,overflow:"hidden"},sectionHeaderGradient:{backgroundColor:e.grayBackground,paddingVertical:12,paddingHorizontal:8,borderBottomWidth:1,borderBottomColor:e.dividerColor},sectionHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},sectionTitleRow:{flexDirection:"row",alignItems:"center",gap:8,flex:1,marginRight:8},sectionTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:14,flexShrink:1},sectionHeaderActions:{flexDirection:"row",alignItems:"center",gap:6},htCard:{backgroundColor:e.primaryLight,borderRadius:12,borderWidth:1,borderColor:e.grayBorderSecondary,borderLeftWidth:3,marginBottom:10,overflow:"hidden"},htCardHeader:{flexDirection:"row",alignItems:"center",paddingHorizontal:8,paddingVertical:10,gap:8,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},htIconWrap:{width:28,height:28,borderRadius:8,alignItems:"center",justifyContent:"center"},htTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:13,flexShrink:1},htBadge:{borderRadius:10,paddingHorizontal:7,paddingVertical:2,borderWidth:1},htBadgeText:{fontFamily:t.interBold,fontSize:10},htHeaderSpacer:{flex:1},htChevronBtn:{width:30,height:30,borderRadius:8,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,alignItems:"center",justifyContent:"center"},htColHeadRow:{flexDirection:"row",paddingHorizontal:8,paddingVertical:6,backgroundColor:e.graySurface,borderBottomWidth:1,borderBottomColor:e.dividerColor},htColHead:{fontFamily:t.interBold,color:e.grayTextWeak,fontSize:10,letterSpacing:.8,textTransform:"uppercase"},htRow:{flexDirection:"row",paddingHorizontal:8,paddingVertical:0,alignItems:"flex-start"},htRowBorder:{borderBottomWidth:o.hairlineWidth,borderBottomColor:e.dividerColor},htKeyCell:{width:"30%",paddingVertical:10,paddingRight:4},htKey:{fontFamily:t.interMedium,color:e.purple,fontSize:11,lineHeight:16},htCellDivider:{width:o.hairlineWidth,backgroundColor:e.dividerColor,alignSelf:"stretch",marginVertical:4},htValueCell:{flex:1,paddingVertical:10,paddingLeft:6},htValue:{fontFamily:t.interRegular,color:e.primaryBlack,fontSize:11,lineHeight:17},htExpandRow:{marginTop:4},htExpandText:{fontFamily:t.interBold,color:e.purple,fontSize:10,letterSpacing:.3},htCopyBtn:{paddingHorizontal:6,paddingVertical:12,alignItems:"center",justifyContent:"center"},htEmpty:{paddingHorizontal:12,paddingVertical:16,alignItems:"center"},htEmptyText:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:12},iconSquareBtn:{width:30,height:30,borderRadius:8,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.grayBackground,alignItems:"center",justifyContent:"center"},iconSquareBtnSuccess:{borderColor:e.greenColor,backgroundColor:e.greenStatus},iconSquareBtnActive:{borderColor:e.skyBlue,backgroundColor:e.purpleShade50},codeBlockScroll:{width:"100%",backgroundColor:"transparent"},codeBlock:{paddingTop:12,paddingHorizontal:8,paddingBottom:16,minWidth:"100%"},codeSyntax:{color:e.grayTextWeak,fontFamily:t.interRegular,fontSize:12.5,lineHeight:18},codeKey:{color:e.purple,fontFamily:t.interBold,fontSize:12.5,lineHeight:18},codeText:{color:e.greenBaggageText,fontFamily:t.interRegular,fontSize:12.5,lineHeight:18},codeTextNil:{color:e.errorColor,fontFamily:t.interMedium,fontSize:12.5,lineHeight:18},treeRow:{flexDirection:"row",alignItems:"center",paddingVertical:6},treeKeyMargin:{marginRight:6},highlight:{backgroundColor:e.paleYellow,color:e.primaryBlack},arrayBadge:{backgroundColor:e.purpleShade50,borderColor:e.purple,borderWidth:1,borderRadius:6,paddingHorizontal:6,paddingVertical:2},arrayBadgeText:{fontFamily:t.interMedium,color:e.purple,fontSize:11},objectBadge:{backgroundColor:e.grayBackground,borderColor:e.grayTextWeak,borderWidth:1,borderRadius:6,paddingHorizontal:6,paddingVertical:2},objectBadgeText:{fontFamily:t.interMedium,color:e.grayTextWeak,fontSize:11},diffBlock:{paddingTop:12,paddingHorizontal:12,paddingBottom:16,gap:4},diffAdded:{color:e.greenColor,fontFamily:t.interRegular,fontSize:12},diffRemoved:{color:e.errorColor,fontFamily:t.interRegular,fontSize:12},diffChanged:{color:e.lightOrange,fontFamily:t.interRegular,fontSize:12},filePreviewNode:{paddingVertical:8,marginVertical:4},filePreviewCard:{flexDirection:"row",alignItems:"center",backgroundColor:e.grayBackground,borderRadius:10,padding:10,borderWidth:1,borderColor:e.grayBorderSecondary,gap:12,maxWidth:300},filePreviewThumb:{width:44,height:44,borderRadius:6,backgroundColor:e.grayBorderSecondary},filePreviewDoc:{width:44,height:44,borderRadius:6,backgroundColor:e.graySurface,alignItems:"center",justifyContent:"center"},filePreviewName:{fontFamily:t.interMedium,color:e.primaryBlack,fontSize:13,marginBottom:2},filePreviewType:{fontFamily:t.interRegular,color:e.grayText,fontSize:11},imagePreviewWrapper:{width:"100%",height:200,borderRadius:12,overflow:"hidden",marginBottom:16,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.grayBorderSecondary},imagePreview:{width:"100%",height:"100%"},imageDownloadBtn:{position:"absolute",bottom:12,right:12,width:36,height:36,borderRadius:18,backgroundColor:`${e.white}E6`,alignItems:"center",justifyContent:"center",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.2,shadowRadius:4,elevation:3},sourcePageCard:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:12,marginBottom:10,overflow:"hidden"},sourcePageAccordionHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},sourcePageTop:{flexDirection:"row",alignItems:"center",gap:10,flex:1},sourcePageHeaderRight:{flexDirection:"row",alignItems:"center",gap:6},sourcePageIcon:{width:36,height:36,borderRadius:10,backgroundColor:e.purpleShade50,borderWidth:1,borderColor:`${e.purple}30`,alignItems:"center",justifyContent:"center"},sourcePageLabel:{fontFamily:t.interRegular,color:e.grayText,fontSize:11,marginBottom:2},sourcePageValue:{fontFamily:t.interBold,color:e.purple,fontSize:14},sourceParamsBox:{borderTopWidth:1,borderTopColor:e.dividerColor},paramsAccordionHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.grayBackground},paramsAccordionLeft:{flexDirection:"row",alignItems:"center",gap:8},paramsAccordionRight:{flexDirection:"row",alignItems:"center",gap:6},sourceParamsLabel:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:12,letterSpacing:.4,textTransform:"uppercase"},paramsBody:{paddingHorizontal:12,paddingBottom:8,paddingTop:4},paramRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingVertical:10,gap:8},paramRowBorder:{borderBottomWidth:1,borderBottomColor:e.dividerColor},paramKey:{fontFamily:t.Sfprotext,color:e.purple,fontSize:12,flex:1},paramValueRow:{flexDirection:"row",alignItems:"center",gap:8,flex:2,justifyContent:"flex-end"},paramValue:{fontFamily:t.Sfprotext,color:e.greenBaggageText,fontSize:12,textAlign:"right",flexShrink:1},headerGradient:{width:"100%",borderTopLeftRadius:20,borderTopRightRadius:20,overflow:"visible",flexShrink:0},statusChip:{paddingHorizontal:10,paddingVertical:4,borderRadius:8,borderWidth:1},statusText:{fontFamily:t.interBold,fontSize:12},modalBackdrop:{flex:1,backgroundColor:`${e.black}73`,justifyContent:"flex-end"},modalBackdropPressable:{...o.absoluteFillObject},modalContentCard:{height:"90%",backgroundColor:e.grayBackground,borderTopLeftRadius:20,borderTopRightRadius:20,overflow:"visible",shadowColor:e.black,shadowOffset:{width:0,height:-4},shadowOpacity:.15,shadowRadius:10,elevation:24},tabBarContainer:{backgroundColor:e.primaryLight,borderBottomWidth:1,borderBottomColor:e.dividerColor,paddingVertical:8,paddingHorizontal:12},contentTabButton:{flexDirection:"row",alignItems:"center",paddingHorizontal:10,paddingVertical:5,borderRadius:8,marginRight:10,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.dividerColor},contentTabButtonActive:{backgroundColor:e.purple,borderColor:e.purple,shadowColor:e.purple,shadowOffset:{width:0,height:2},shadowOpacity:.12,shadowRadius:3,elevation:3},contentTabButtonText:{fontFamily:t.interMedium,fontSize:11.5,color:e.grayText},contentTabButtonTextActive:{color:e.white,fontFamily:t.interBold},analyticsHeaderCard:{backgroundColor:e.primaryLight,borderRadius:12,borderWidth:1,borderColor:`${e.brandPurple}20`,padding:12,marginHorizontal:10,marginTop:8,marginBottom:6,shadowColor:e.black,shadowOpacity:.03,shadowRadius:4,shadowOffset:{width:0,height:1},elevation:1},analyticsHeaderTop:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},analyticsHeaderTitle:{fontFamily:t.interBold,fontSize:13.5,color:e.primaryBlack},statusDot:{width:6,height:6,borderRadius:3},analyticsHeaderSubtitle:{fontFamily:t.interMedium,fontSize:11,color:e.grayTextWeak,marginTop:2},analyticsHeaderToggle:{paddingVertical:4.5,paddingHorizontal:9,borderRadius:7,backgroundColor:`${e.brandPurple}12`,borderWidth:1,borderColor:`${e.brandPurple}25`},analyticsHeaderToggleText:{fontFamily:t.interBold,fontSize:10.5,color:e.brandPurple},analyticsStatsRow:{flexDirection:"row",gap:8,borderTopWidth:1,borderTopColor:e.dividerColor,paddingTop:10},analyticsStatBox:{flex:1,backgroundColor:e.grayBackground,borderRadius:6,paddingVertical:6,alignItems:"center"},analyticsStatValue:{fontFamily:t.interBold,fontSize:14,color:e.primaryBlack},analyticsStatLabel:{fontFamily:t.interRegular,fontSize:9,color:e.grayText,marginTop:1},analyticsHeaderDetails:{borderTopWidth:1,borderTopColor:e.dividerColor,paddingTop:10,marginTop:10},detailsGroupTitle:{fontFamily:t.interBold,fontSize:11,color:e.purple,marginBottom:6},detailsRow:{flexDirection:"row",justifyContent:"space-between",paddingVertical:4,borderBottomWidth:.5,borderBottomColor:e.dividerColor},detailsKey:{fontFamily:t.interMedium,fontSize:11,color:e.primaryBlack},detailsValue:{fontFamily:t.interRegular,fontSize:11,color:e.grayText}});const i={},d=e=>{const l=e?n(!0):a,g=getRawStyles(l);Object.keys(i).forEach(h=>delete i[h]),Object.assign(i,g)};d(!1);export const toggleGlobalTheme=e=>{p(e),d(e),f(e?n(!0):a)};export default i;
|
|
1
|
+
import{StyleSheet as o,Platform as r}from"react-native";import a,{updateAppColorsTheme as p,getThemeColors as n}from"./AppColors";import{AppFonts as t}from"./AppFonts";import m,{rebuildCommonStyles as f}from"./common";export{m as commonStyles};export const getRawStyles=e=>({header:{flexDirection:"row",alignItems:"center",paddingHorizontal:10,paddingVertical:4,zIndex:10,minHeight:44,overflow:"visible",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.08,shadowRadius:4,elevation:3},headerLeft:{flex:1,minWidth:0,alignItems:"flex-start"},headerCenter:{flex:1,minWidth:0,alignItems:"center",justifyContent:"center",paddingHorizontal:6},headerRight:{flexShrink:0,flexDirection:"row",alignItems:"center",justifyContent:"flex-end",gap:6},headerTitle:{fontFamily:t.interBold,fontWeight:"700",color:e.primaryLight,fontSize:16,lineHeight:22,letterSpacing:-.2,paddingBottom:0},envBadge:{paddingHorizontal:7,paddingVertical:2.5,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center",marginBottom:0},envBadgeText:{fontFamily:t.interBold,fontWeight:"700",fontSize:9.5,lineHeight:12,letterSpacing:.5},headerDetailCenter:{alignItems:"center",justifyContent:"center",flex:1,minWidth:0},headerDetailRow:{flexDirection:"row",alignItems:"center",gap:8,maxWidth:"100%"},headerMethodBadge:{paddingHorizontal:6.5,paddingVertical:3,borderRadius:6,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:1},headerMethodText:{fontFamily:t.interBold,fontWeight:"700",color:e.primaryLight,fontSize:10,lineHeight:13,letterSpacing:.5},headerDetailTitle:{fontFamily:t.interBold,fontWeight:"700",color:e.primaryLight,fontSize:15,lineHeight:20,flexShrink:1,letterSpacing:-.2},headerDetailSubRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:4},headerStatusDot:{width:7,height:7,borderRadius:3.5,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.2,shadowRadius:1,elevation:1},headerSubTitle:{fontFamily:t.interMedium,color:e.primaryLight,fontSize:11.5,lineHeight:15,opacity:.95,letterSpacing:.2},headerCountBadge:{flexDirection:"row",alignItems:"center",backgroundColor:`${e.black}33`,paddingHorizontal:12,paddingVertical:6,borderRadius:16,gap:6,borderWidth:.5,borderColor:`${e.white}33`,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:2},headerCountText:{fontFamily:t.interMedium,color:`${e.white}F2`,fontSize:12,lineHeight:16,letterSpacing:.2},listContent:{paddingBottom:r?.OS==="ios"?44:32},supportFab:{position:"absolute",bottom:22,right:16,width:42,height:42,borderRadius:21,backgroundColor:e.purple,alignItems:"center",justifyContent:"center",shadowColor:e.purple,shadowOffset:{width:0,height:4},shadowOpacity:.45,shadowRadius:8,elevation:14,zIndex:999,borderWidth:1.5,borderColor:"rgba(255, 255, 255, 0.25)"},scrollTopBtn:{position:"absolute",bottom:22,right:16,width:38,height:38,borderRadius:19,backgroundColor:e.purple,alignItems:"center",justifyContent:"center",shadowColor:e.black,shadowOffset:{width:0,height:3},shadowOpacity:.3,shadowRadius:6,elevation:12,zIndex:999},detailScroll:{flex:1},closeButtonSquare:{width:30,height:30,borderRadius:7,backgroundColor:`${e.white}2B`,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:`${e.white}33`,overflow:"hidden"},fabWrapper:{position:"absolute",bottom:180,right:20,alignItems:"center",justifyContent:"center",zIndex:99999,elevation:15,shadowColor:e.purple,shadowOffset:{width:0,height:8},shadowOpacity:.4,shadowRadius:12},fabPulseRing:{position:"absolute",width:68,height:68,borderRadius:34,backgroundColor:`${e.purple}25`},fabShineClip:{position:"absolute",width:68,height:68,borderRadius:34,overflow:"hidden"},fabCloseBadge:{position:"absolute",top:-4,right:-4,width:22,height:22,borderRadius:11,backgroundColor:e.red500,borderWidth:1.5,borderColor:e.white,alignItems:"center",justifyContent:"center",zIndex:1e3,elevation:20,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.35,shadowRadius:4},fabShineStreak:{position:"absolute",top:-20,width:26,height:102,transform:[{rotate:"25deg"}]},fabGreenDot:{position:"absolute",top:2,right:2,width:12,height:12,borderRadius:6,backgroundColor:e.greenA400,borderWidth:2,borderColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.2,shadowRadius:1.5,elevation:2},toolbarRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:8,marginBottom:8,gap:8,marginTop:4},toolbarRight:{flexDirection:"row",alignItems:"center",gap:8},toolbarBtn:{width:34,height:34,borderRadius:17,alignItems:"center",justifyContent:"center",backgroundColor:e.primaryLight,borderWidth:1.5,borderColor:e.grayBorderSecondary,...r?.OS==="ios"?{shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2}:{elevation:0}},toolbarBtnActive:{borderColor:e.purple,backgroundColor:e.purpleShade50,shadowOpacity:.08,shadowRadius:3,elevation:2},trashBadge:{position:"absolute",top:-4,right:-4,backgroundColor:e.errorColor,borderRadius:10,minWidth:18,height:18,alignItems:"center",justifyContent:"center",borderWidth:1.5,borderColor:e.primaryLight},trashBadgeText:{color:e.primaryLight,fontFamily:t.interBold,fontSize:9},filtersContainer:{paddingHorizontal:8,paddingBottom:8},filtersHeading:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:11,textTransform:"uppercase",letterSpacing:.6,marginBottom:6},statusRowContent:{alignItems:"center",paddingVertical:2},statusFilterWrap:{marginRight:6},statusFilterChip:{flexDirection:"row",alignItems:"center",paddingHorizontal:9,height:32,justifyContent:"center",borderRadius:24,borderWidth:1.5,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2,elevation:1},statusFilterActive:{borderColor:e.purple,backgroundColor:e.purpleShade50},filterCheckbox:{width:13,height:13,borderRadius:3,borderWidth:1.5,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,alignItems:"center",justifyContent:"center",marginRight:6},filterCheckboxActive:{borderColor:"transparent"},filterChipIcon:{marginRight:5},methodBadgeMini:{width:4.5,height:13,borderRadius:2,marginRight:6},statusFilterText:{fontFamily:t.interMedium,color:e.grayText,fontSize:11.5},resultCount:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:12,marginHorizontal:8,marginBottom:8,marginTop:4,letterSpacing:.2},searchContainer:{flex:1,flexDirection:"row",alignItems:"center",backgroundColor:e.primaryLight,borderRadius:24,paddingHorizontal:8,paddingVertical:4,borderWidth:1.5,borderColor:e.grayBorderSecondary,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2,elevation:1},searchInput:{flex:1,fontFamily:t.interRegular,color:e.primaryBlack,paddingVertical:r?.OS==="ios"?5:2,marginLeft:6,fontSize:14},clearBtn:{padding:4},domainHeaderCard:{marginHorizontal:5,marginTop:8,marginBottom:4,paddingHorizontal:7,paddingVertical:7,borderRadius:9,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.grayBorderSecondary},domainHeaderCardExpanded:{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottomWidth:0,marginBottom:0},domainHeaderTopRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},domainHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,minWidth:0,marginRight:6,gap:6},domainIconWrap:{width:22,height:22,borderRadius:5,alignItems:"center",justifyContent:"center"},domainTitleText:{fontFamily:t.interBold,fontSize:13,fontWeight:"700",color:e.primaryBlack,textTransform:"capitalize"},domainSummaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},domainSummaryText:{fontFamily:t.interRegular,fontSize:10,color:e.grayTextWeak},domainPctText:{fontFamily:t.interBold,fontSize:9.5},domainProgressSection:{marginTop:8,gap:4,width:"100%"},domainProgressTrack:{flexDirection:"row",height:4,borderRadius:2,overflow:"hidden",backgroundColor:e.grayBorderSecondary,width:"100%"},domainProgressSegment:{height:"100%"},domainProgressLabelsRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:2},domainProgressRateText:{fontFamily:t.interBold,fontSize:9.5,color:e.grayTextStrong},domainProgressSummaryText:{fontFamily:t.interMedium,fontSize:9,color:e.grayTextWeak},domainStatsGroup:{flexDirection:"row",alignItems:"center",flexShrink:0,gap:4},domainStatPill:{flexDirection:"row",alignItems:"center",gap:3,paddingHorizontal:5,paddingVertical:2.5,borderRadius:5,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight},domainStatText:{fontFamily:t.interBold,fontSize:9.5},treeNodeRow:{flexDirection:"row",alignItems:"stretch",marginHorizontal:5,paddingRight:3,paddingLeft:0,backgroundColor:e.grayBackground,borderLeftWidth:1,borderRightWidth:1,borderColor:e.grayBorderSecondary},treeNodeRowLast:{borderBottomWidth:1,borderBottomLeftRadius:10,borderBottomRightRadius:10,marginBottom:8,paddingBottom:5},treeLines:{width:11,position:"relative"},modernTreeLine:{position:"absolute",left:5,top:0,width:5,height:"100%",borderLeftWidth:1.5,opacity:.5},modernTreeLineLast:{height:"50%",borderBottomWidth:1.5,borderBottomLeftRadius:8},modernTreeBranch:{position:"absolute",left:5,top:"50%",width:6,borderTopWidth:1.5,opacity:.5},treeCardWrapper:{flex:1,paddingVertical:2.5},card:{marginHorizontal:0,marginVertical:0,borderRadius:12,overflow:"hidden",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight},cardBody:{paddingHorizontal:8,paddingTop:8,paddingBottom:7},cardHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4,minHeight:22},cardHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,marginRight:6,gap:5,minWidth:0},cardHeaderRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},smallCheckbox:{width:15,height:15,borderRadius:4,borderWidth:1.8,borderColor:e.grayTextWeak,alignItems:"center",justifyContent:"center",backgroundColor:e.white},smallCheckboxChecked:{backgroundColor:e.purple,borderColor:e.purple},serialNumber:{fontFamily:t.interBold,color:e.grayTextWeak,fontSize:10},methodBadge:{paddingHorizontal:6.5,paddingVertical:2.5,borderRadius:5,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.3)",...r?.OS==="ios"?{shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.12,shadowRadius:2}:{elevation:1}},methodBadgeText:{fontFamily:t.interBold,fontSize:9.5,letterSpacing:.6,color:e.white},cardHostText:{fontFamily:t.interMedium,fontSize:12,color:e.primaryBlack,flexShrink:1},statusPill:{paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"},statusPillText:{fontFamily:t.interBold,fontSize:10},cardSlugBox:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:`${e.brandPurple}08`,borderRadius:8,borderWidth:1,borderColor:`${e.brandPurple}18`,paddingHorizontal:8,paddingVertical:6,marginVertical:5,gap:6},slugLeft:{flexDirection:"row",alignItems:"flex-start",flex:1,minWidth:0,gap:6},slugTag:{fontFamily:t.interBold,fontSize:8.5,color:e.brandPurple,letterSpacing:.5,backgroundColor:`${e.brandPurple}15`,paddingHorizontal:4,paddingVertical:1.5,borderRadius:4,marginTop:1,flexShrink:0},slugText:{fontFamily:t.interMedium,fontSize:11.5,lineHeight:15.5,color:e.primaryBlack,flex:1},slugRight:{flexDirection:"row",alignItems:"center",gap:4,flexShrink:0},cardFooterRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginTop:4,minHeight:18},cardDateRow:{flexDirection:"row",alignItems:"center",gap:3.5,flexShrink:0},cardDateText:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:10,letterSpacing:.1},cardFooterRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},chip:{flexDirection:"row",alignItems:"center",gap:3.5,paddingHorizontal:5,paddingVertical:2,borderRadius:5,borderWidth:1},chipText:{fontFamily:t.interBold,fontSize:9.5},empty:{flex:1,alignItems:"center",justifyContent:"center"},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:80,paddingHorizontal:20},emptyIconWrap:{width:72,height:72,borderRadius:36,backgroundColor:e.purpleShade50,alignItems:"center",justifyContent:"center",marginBottom:20,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.06,shadowRadius:4,elevation:1},emptyTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:18,marginBottom:8,letterSpacing:.3},emptySub:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:14,textAlign:"center",lineHeight:20,letterSpacing:.2},reloadBtn:{marginTop:28,paddingHorizontal:24,paddingVertical:12,backgroundColor:e.purple,borderRadius:24,shadowColor:e.purple,shadowOffset:{width:0,height:4},shadowOpacity:.35,shadowRadius:8,elevation:5},reloadBtnText:{color:e.white,fontFamily:t.interBold,fontSize:14,letterSpacing:.3},detailInfoBar:{borderRadius:14,paddingVertical:14,paddingHorizontal:10,marginBottom:12,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2},detailInfoTop:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingBottom:8,gap:8},detailInfoRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},metaContainer:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:14,marginBottom:12,overflow:"hidden",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2},metaHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},metaTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:12,letterSpacing:.6,textTransform:"uppercase"},metaBody:{paddingHorizontal:12,paddingBottom:8,paddingTop:4},metaRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingVertical:8},metaDivider:{height:1,backgroundColor:e.dividerColor},metaLabelRow:{flexDirection:"row",alignItems:"center",gap:8},metaLabel:{fontFamily:t.interBold,color:e.grayText,fontSize:13},metaValue:{fontFamily:t.interMedium,color:e.primaryBlack,fontSize:13},metaValueRow:{flexDirection:"row",alignItems:"center",gap:8},perfBadge:{paddingHorizontal:8,paddingVertical:2,borderRadius:6,borderWidth:1},perfBadgeText:{fontFamily:t.interBold,fontSize:11},detailSearchRow:{flexDirection:"row",alignItems:"center",marginBottom:10},detailSearchBox:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:e.primaryLight,borderRadius:12,paddingLeft:16,borderWidth:1,borderColor:e.grayBorderSecondary},detailSearchInput:{flex:1,fontFamily:t.interRegular,color:e.primaryBlack,height:40},sectionContainer:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:12,marginBottom:10,overflow:"hidden"},sectionHeaderGradient:{backgroundColor:e.grayBackground,paddingVertical:12,paddingHorizontal:8,borderBottomWidth:1,borderBottomColor:e.dividerColor},sectionHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},sectionTitleRow:{flexDirection:"row",alignItems:"center",gap:8,flex:1,marginRight:8},sectionTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:14,flexShrink:1},sectionHeaderActions:{flexDirection:"row",alignItems:"center",gap:6},htCard:{backgroundColor:e.primaryLight,borderRadius:12,borderWidth:1,borderColor:e.grayBorderSecondary,borderLeftWidth:3,marginBottom:10,overflow:"hidden"},htCardHeader:{flexDirection:"row",alignItems:"center",paddingHorizontal:8,paddingVertical:10,gap:8,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},htIconWrap:{width:28,height:28,borderRadius:8,alignItems:"center",justifyContent:"center"},htTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:13,flexShrink:1},htBadge:{borderRadius:10,paddingHorizontal:7,paddingVertical:2,borderWidth:1},htBadgeText:{fontFamily:t.interBold,fontSize:10},htHeaderSpacer:{flex:1},htChevronBtn:{width:30,height:30,borderRadius:8,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,alignItems:"center",justifyContent:"center"},htColHeadRow:{flexDirection:"row",paddingHorizontal:8,paddingVertical:6,backgroundColor:e.graySurface,borderBottomWidth:1,borderBottomColor:e.dividerColor},htColHead:{fontFamily:t.interBold,color:e.grayTextWeak,fontSize:10,letterSpacing:.8,textTransform:"uppercase"},htRow:{flexDirection:"row",paddingHorizontal:8,paddingVertical:0,alignItems:"flex-start"},htRowBorder:{borderBottomWidth:o.hairlineWidth,borderBottomColor:e.dividerColor},htKeyCell:{width:"30%",paddingVertical:10,paddingRight:4},htKey:{fontFamily:t.interMedium,color:e.purple,fontSize:11,lineHeight:16},htCellDivider:{width:o.hairlineWidth,backgroundColor:e.dividerColor,alignSelf:"stretch",marginVertical:4},htValueCell:{flex:1,paddingVertical:10,paddingLeft:6},htValue:{fontFamily:t.interRegular,color:e.primaryBlack,fontSize:11,lineHeight:17},htExpandRow:{marginTop:4},htExpandText:{fontFamily:t.interBold,color:e.purple,fontSize:10,letterSpacing:.3},htCopyBtn:{paddingHorizontal:6,paddingVertical:12,alignItems:"center",justifyContent:"center"},htEmpty:{paddingHorizontal:12,paddingVertical:16,alignItems:"center"},htEmptyText:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:12},iconSquareBtn:{width:30,height:30,borderRadius:8,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.grayBackground,alignItems:"center",justifyContent:"center"},iconSquareBtnSuccess:{borderColor:e.greenColor,backgroundColor:e.greenStatus},iconSquareBtnActive:{borderColor:e.skyBlue,backgroundColor:e.purpleShade50},codeBlockScroll:{width:"100%",backgroundColor:"transparent"},codeBlock:{paddingTop:12,paddingHorizontal:8,paddingBottom:16,minWidth:"100%"},codeSyntax:{color:e.grayTextWeak,fontFamily:t.interRegular,fontSize:12.5,lineHeight:18},codeKey:{color:e.purple,fontFamily:t.interBold,fontSize:12.5,lineHeight:18},codeText:{color:e.greenBaggageText,fontFamily:t.interRegular,fontSize:12.5,lineHeight:18},codeTextNil:{color:e.errorColor,fontFamily:t.interMedium,fontSize:12.5,lineHeight:18},treeRow:{flexDirection:"row",alignItems:"center",paddingVertical:6},treeKeyMargin:{marginRight:6},highlight:{backgroundColor:e.paleYellow,color:e.primaryBlack},arrayBadge:{backgroundColor:e.purpleShade50,borderColor:e.purple,borderWidth:1,borderRadius:6,paddingHorizontal:6,paddingVertical:2},arrayBadgeText:{fontFamily:t.interMedium,color:e.purple,fontSize:11},objectBadge:{backgroundColor:e.grayBackground,borderColor:e.grayTextWeak,borderWidth:1,borderRadius:6,paddingHorizontal:6,paddingVertical:2},objectBadgeText:{fontFamily:t.interMedium,color:e.grayTextWeak,fontSize:11},diffBlock:{paddingTop:12,paddingHorizontal:12,paddingBottom:16,gap:4},diffAdded:{color:e.greenColor,fontFamily:t.interRegular,fontSize:12},diffRemoved:{color:e.errorColor,fontFamily:t.interRegular,fontSize:12},diffChanged:{color:e.lightOrange,fontFamily:t.interRegular,fontSize:12},filePreviewNode:{paddingVertical:8,marginVertical:4},filePreviewCard:{flexDirection:"row",alignItems:"center",backgroundColor:e.grayBackground,borderRadius:10,padding:10,borderWidth:1,borderColor:e.grayBorderSecondary,gap:12,maxWidth:300},filePreviewThumb:{width:44,height:44,borderRadius:6,backgroundColor:e.grayBorderSecondary},filePreviewDoc:{width:44,height:44,borderRadius:6,backgroundColor:e.graySurface,alignItems:"center",justifyContent:"center"},filePreviewName:{fontFamily:t.interMedium,color:e.primaryBlack,fontSize:13,marginBottom:2},filePreviewType:{fontFamily:t.interRegular,color:e.grayText,fontSize:11},imagePreviewWrapper:{width:"100%",height:200,borderRadius:12,overflow:"hidden",marginBottom:16,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.grayBorderSecondary},imagePreview:{width:"100%",height:"100%"},imageDownloadBtn:{position:"absolute",bottom:12,right:12,width:36,height:36,borderRadius:18,backgroundColor:`${e.white}E6`,alignItems:"center",justifyContent:"center",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.2,shadowRadius:4,elevation:3},sourcePageCard:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:12,marginBottom:10,overflow:"hidden"},sourcePageAccordionHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},sourcePageTop:{flexDirection:"row",alignItems:"center",gap:10,flex:1},sourcePageHeaderRight:{flexDirection:"row",alignItems:"center",gap:6},sourcePageIcon:{width:36,height:36,borderRadius:10,backgroundColor:e.purpleShade50,borderWidth:1,borderColor:`${e.purple}30`,alignItems:"center",justifyContent:"center"},sourcePageLabel:{fontFamily:t.interRegular,color:e.grayText,fontSize:11,marginBottom:2},sourcePageValue:{fontFamily:t.interBold,color:e.purple,fontSize:14},sourceParamsBox:{borderTopWidth:1,borderTopColor:e.dividerColor},paramsAccordionHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.grayBackground},paramsAccordionLeft:{flexDirection:"row",alignItems:"center",gap:8},paramsAccordionRight:{flexDirection:"row",alignItems:"center",gap:6},sourceParamsLabel:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:12,letterSpacing:.4,textTransform:"uppercase"},paramsBody:{paddingHorizontal:12,paddingBottom:8,paddingTop:4},paramRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingVertical:10,gap:8},paramRowBorder:{borderBottomWidth:1,borderBottomColor:e.dividerColor},paramKey:{fontFamily:t.Sfprotext,color:e.purple,fontSize:12,flex:1},paramValueRow:{flexDirection:"row",alignItems:"center",gap:8,flex:2,justifyContent:"flex-end"},paramValue:{fontFamily:t.Sfprotext,color:e.greenBaggageText,fontSize:12,textAlign:"right",flexShrink:1},headerGradient:{width:"100%",borderTopLeftRadius:20,borderTopRightRadius:20,overflow:"visible",flexShrink:0},statusChip:{paddingHorizontal:10,paddingVertical:4,borderRadius:8,borderWidth:1},statusText:{fontFamily:t.interBold,fontSize:12},modalBackdrop:{flex:1,backgroundColor:`${e.black}73`,justifyContent:"flex-end",zIndex:999999,elevation:999999},modalBackdropPressable:{...o.absoluteFillObject},modalContentCard:{height:"90%",backgroundColor:e.grayBackground,borderTopLeftRadius:20,borderTopRightRadius:20,overflow:"visible",shadowColor:e.black,shadowOffset:{width:0,height:-4},shadowOpacity:.15,shadowRadius:10,zIndex:9999999,elevation:999999},tabBarContainer:{backgroundColor:e.primaryLight,borderBottomWidth:1,borderBottomColor:e.dividerColor,paddingVertical:7,paddingHorizontal:8},contentTabButton:{flexDirection:"row",alignItems:"center",paddingHorizontal:9,paddingVertical:5,borderRadius:8,marginRight:8,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.dividerColor},contentTabButtonActive:{backgroundColor:e.purple,borderColor:e.purple,shadowColor:e.purple,shadowOffset:{width:0,height:2},shadowOpacity:.12,shadowRadius:3,elevation:3},contentTabButtonText:{fontFamily:t.interMedium,fontSize:11.5,color:e.grayText},contentTabButtonTextActive:{color:e.white,fontFamily:t.interBold},analyticsHeaderCard:{backgroundColor:e.primaryLight,borderRadius:12,borderWidth:1,borderColor:`${e.brandPurple}20`,padding:12,marginHorizontal:10,marginTop:8,marginBottom:6,shadowColor:e.black,shadowOpacity:.03,shadowRadius:4,shadowOffset:{width:0,height:1},elevation:1},analyticsHeaderTop:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},analyticsHeaderTitle:{fontFamily:t.interBold,fontSize:13.5,color:e.primaryBlack},statusDot:{width:6,height:6,borderRadius:3},analyticsHeaderSubtitle:{fontFamily:t.interMedium,fontSize:11,color:e.grayTextWeak,marginTop:2},analyticsHeaderToggle:{paddingVertical:4.5,paddingHorizontal:9,borderRadius:7,backgroundColor:`${e.brandPurple}12`,borderWidth:1,borderColor:`${e.brandPurple}25`},analyticsHeaderToggleText:{fontFamily:t.interBold,fontSize:10.5,color:e.brandPurple},analyticsStatsRow:{flexDirection:"row",gap:8,borderTopWidth:1,borderTopColor:e.dividerColor,paddingTop:10},analyticsStatBox:{flex:1,backgroundColor:e.grayBackground,borderRadius:6,paddingVertical:6,alignItems:"center"},analyticsStatValue:{fontFamily:t.interBold,fontSize:14,color:e.primaryBlack},analyticsStatLabel:{fontFamily:t.interRegular,fontSize:9,color:e.grayText,marginTop:1},analyticsHeaderDetails:{borderTopWidth:1,borderTopColor:e.dividerColor,paddingTop:10,marginTop:10},detailsGroupTitle:{fontFamily:t.interBold,fontSize:11,color:e.purple,marginBottom:6},detailsRow:{flexDirection:"row",justifyContent:"space-between",paddingVertical:4,borderBottomWidth:.5,borderBottomColor:e.dividerColor},detailsKey:{fontFamily:t.interMedium,fontSize:11,color:e.primaryBlack},detailsValue:{fontFamily:t.interRegular,fontSize:11,color:e.grayText}});const i={},d=e=>{const l=e?n(!0):a,g=getRawStyles(l);Object.keys(i).forEach(h=>delete i[h]),Object.assign(i,g)};d(!1);export const toggleGlobalTheme=e=>{p(e),d(e),f(e?n(!0):a)};export default i;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
export type ImageOutputFormat = 'jpeg' | 'png' | 'webp';
|
|
2
|
+
export type VideoExportQuality = 'high' | 'medium' | 'low' | 'original';
|
|
3
|
+
export type PhotoFilterPreset = 'none' | 'mono' | 'sepia' | 'vibrant' | 'warm' | 'cool' | 'vintage' | 'noir' | 'fade';
|
|
4
|
+
export interface CropRect {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
isNormalized?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface RedactionBox {
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
style?: 'blackout' | 'blur';
|
|
17
|
+
isNormalized?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface AnnotationBox {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
color?: string;
|
|
25
|
+
label?: string;
|
|
26
|
+
isNormalized?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface PhotoAdjustments {
|
|
29
|
+
brightness?: number;
|
|
30
|
+
contrast?: number;
|
|
31
|
+
saturation?: number;
|
|
32
|
+
temperature?: number;
|
|
33
|
+
vignette?: number;
|
|
34
|
+
sharpen?: number;
|
|
35
|
+
}
|
|
36
|
+
export interface PhotoEditOptions {
|
|
37
|
+
uri: string;
|
|
38
|
+
crop?: CropRect;
|
|
39
|
+
redactions?: RedactionBox[];
|
|
40
|
+
annotations?: AnnotationBox[];
|
|
41
|
+
rotation?: number;
|
|
42
|
+
flipHorizontal?: boolean;
|
|
43
|
+
flipVertical?: boolean;
|
|
44
|
+
adjustments?: PhotoAdjustments;
|
|
45
|
+
filterPreset?: PhotoFilterPreset;
|
|
46
|
+
format?: ImageOutputFormat;
|
|
47
|
+
quality?: number;
|
|
48
|
+
}
|
|
49
|
+
export interface PhotoEditResult {
|
|
50
|
+
uri: string;
|
|
51
|
+
width: number;
|
|
52
|
+
height: number;
|
|
53
|
+
size: number;
|
|
54
|
+
mimeType: string;
|
|
55
|
+
format: ImageOutputFormat;
|
|
56
|
+
}
|
|
57
|
+
export interface VideoTrimOptions {
|
|
58
|
+
uri: string;
|
|
59
|
+
startTimeMs: number;
|
|
60
|
+
endTimeMs: number;
|
|
61
|
+
quality?: VideoExportQuality;
|
|
62
|
+
muteAudio?: boolean;
|
|
63
|
+
mute?: boolean;
|
|
64
|
+
adjustments?: {
|
|
65
|
+
brightness?: number;
|
|
66
|
+
contrast?: number;
|
|
67
|
+
saturation?: number;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export interface VideoTrimResult {
|
|
71
|
+
uri: string;
|
|
72
|
+
durationMs: number;
|
|
73
|
+
size: number;
|
|
74
|
+
width: number;
|
|
75
|
+
height: number;
|
|
76
|
+
format: 'mp4';
|
|
77
|
+
}
|
|
78
|
+
export interface FilmstripOptions {
|
|
79
|
+
uri: string;
|
|
80
|
+
count?: number;
|
|
81
|
+
targetWidth?: number;
|
|
82
|
+
targetHeight?: number;
|
|
83
|
+
maxWidth?: number;
|
|
84
|
+
maxHeight?: number;
|
|
85
|
+
format?: 'jpeg' | 'png';
|
|
86
|
+
quality?: number;
|
|
87
|
+
}
|
|
88
|
+
export interface FilmstripThumbnail {
|
|
89
|
+
timeMs: number;
|
|
90
|
+
uri: string;
|
|
91
|
+
index: number;
|
|
92
|
+
}
|
|
93
|
+
export interface FilmstripResult {
|
|
94
|
+
thumbnails: FilmstripThumbnail[];
|
|
95
|
+
durationMs: number;
|
|
96
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -175,6 +175,7 @@ export interface PersistedSettings {
|
|
|
175
175
|
captureBitrate?: number;
|
|
176
176
|
captureMaxDurationSeconds?: number;
|
|
177
177
|
captureAutoGif?: boolean;
|
|
178
|
+
peekOpacity?: number;
|
|
178
179
|
}
|
|
179
180
|
export interface NetworkInspectorProps {
|
|
180
181
|
enabled?: boolean;
|
|
@@ -239,6 +240,22 @@ export interface InspectorContextValue {
|
|
|
239
240
|
activePulseAnim: Animated.Value;
|
|
240
241
|
unreadPulseAnim: Animated.Value;
|
|
241
242
|
runClearAllWithAnimation: () => void;
|
|
243
|
+
confirmModal: {
|
|
244
|
+
visible: boolean;
|
|
245
|
+
title: string;
|
|
246
|
+
message: string;
|
|
247
|
+
confirmText?: string;
|
|
248
|
+
cancelText?: string;
|
|
249
|
+
onConfirm: () => void;
|
|
250
|
+
};
|
|
251
|
+
setConfirmModal: React.Dispatch<React.SetStateAction<{
|
|
252
|
+
visible: boolean;
|
|
253
|
+
title: string;
|
|
254
|
+
message: string;
|
|
255
|
+
confirmText?: string;
|
|
256
|
+
cancelText?: string;
|
|
257
|
+
onConfirm: () => void;
|
|
258
|
+
}>>;
|
|
242
259
|
useNativeFab: boolean;
|
|
243
260
|
fabPan: Animated.ValueXY;
|
|
244
261
|
fabPanResponder: PanResponderInstance;
|
|
@@ -424,6 +441,10 @@ export interface InspectorContextValue {
|
|
|
424
441
|
setCaptureAutoHide: React.Dispatch<React.SetStateAction<boolean>>;
|
|
425
442
|
captureAutoGif: boolean;
|
|
426
443
|
setCaptureAutoGif: React.Dispatch<React.SetStateAction<boolean>>;
|
|
444
|
+
peekMode: boolean;
|
|
445
|
+
setPeekMode: React.Dispatch<React.SetStateAction<boolean>>;
|
|
446
|
+
peekOpacity: number;
|
|
447
|
+
setPeekOpacity: React.Dispatch<React.SetStateAction<number>>;
|
|
427
448
|
}
|
|
428
449
|
export interface CopyButtonProps {
|
|
429
450
|
value: unknown | (() => unknown);
|
package/editor.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/esm/editor';
|
package/editor.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/commonjs/editor');
|