react-native-inapp-inspector 2.5.13 → 2.5.15
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/README.md +0 -8
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +118 -31
- package/dist/commonjs/components/Inspector/ConsoleExportModal.js +1 -1
- package/dist/commonjs/components/Inspector/ConsoleTab.js +7 -7
- package/dist/commonjs/components/Inspector/FabLauncher.js +3 -3
- package/dist/commonjs/components/Inspector/InspectorHeader.js +30 -30
- package/dist/commonjs/components/Inspector/MainScreen.js +38 -75
- package/dist/commonjs/components/Inspector/NetworkExportModal.js +4 -4
- package/dist/commonjs/components/Inspector/NetworkTab.js +51 -51
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.d.ts +1 -0
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.js +17 -16
- package/dist/commonjs/components/Inspector/SettingsPanel.js +40 -41
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.d.ts +3 -0
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +34 -3
- package/dist/commonjs/components/Inspector/TabBar.js +9 -15
- package/dist/commonjs/components/LogCard.js +7 -7
- package/dist/commonjs/components/SkeletonPlaceholder.d.ts +3 -0
- package/dist/commonjs/components/SkeletonPlaceholder.js +34 -3
- 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/helpers/remoteConfig.js +1 -1
- package/dist/commonjs/helpers/shareFormatter.js +14 -14
- package/dist/commonjs/index.d.ts +1 -1
- package/dist/commonjs/index.js +3 -3
- package/dist/commonjs/native/NativeInspector.d.ts +2 -0
- package/dist/commonjs/native/NativeInspector.js +1 -1
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +2 -0
- package/dist/commonjs/styles/AppFonts.d.ts +4 -0
- package/dist/commonjs/styles/AppFonts.js +1 -1
- package/dist/commonjs/styles/index.d.ts +2 -0
- package/dist/commonjs/styles/index.js +1 -1
- package/dist/commonjs/types/enums.d.ts +0 -2
- package/dist/commonjs/types/enums.js +1 -1
- package/dist/commonjs/types/interfaces.d.ts +1 -1
- package/dist/esm/components/Inspector/ConsoleExportModal.js +1 -1
- package/dist/esm/components/Inspector/ConsoleTab.js +48 -48
- package/dist/esm/components/Inspector/FabLauncher.js +42 -42
- package/dist/esm/components/Inspector/InspectorHeader.js +50 -50
- package/dist/esm/components/Inspector/MainScreen.js +87 -124
- package/dist/esm/components/Inspector/NetworkExportModal.js +1 -1
- package/dist/esm/components/Inspector/NetworkTab.js +83 -83
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.d.ts +1 -0
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.js +23 -22
- package/dist/esm/components/Inspector/SettingsPanel.js +106 -107
- package/dist/esm/components/Inspector/SkeletonPlaceholder.d.ts +3 -0
- package/dist/esm/components/Inspector/SkeletonPlaceholder.js +42 -11
- package/dist/esm/components/Inspector/TabBar.js +35 -41
- package/dist/esm/components/LogCard.js +53 -53
- package/dist/esm/components/SkeletonPlaceholder.d.ts +3 -0
- package/dist/esm/components/SkeletonPlaceholder.js +42 -11
- 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/helpers/remoteConfig.js +1 -1
- package/dist/esm/helpers/shareFormatter.js +14 -14
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/native/NativeInspector.d.ts +2 -0
- package/dist/esm/native/NativeInspector.js +1 -1
- package/dist/esm/native/NativeNetworkInspector.d.ts +2 -0
- package/dist/esm/styles/AppFonts.d.ts +4 -0
- package/dist/esm/styles/AppFonts.js +1 -1
- package/dist/esm/styles/index.d.ts +2 -0
- package/dist/esm/styles/index.js +1 -1
- package/dist/esm/types/enums.d.ts +0 -2
- package/dist/esm/types/enums.js +1 -1
- package/dist/esm/types/interfaces.d.ts +1 -1
- package/ios/NetworkInspectorModule.mm +288 -325
- package/package.json +1 -1
- package/src/native/NativeInspector.ts +30 -0
- package/src/native/NativeNetworkInspector.ts +2 -0
- 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 +0 -2
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.settings/org.eclipse.buildship.core.prefs +0 -13
- package/dist/commonjs/components/Inspector/BoxModelVisualizer.d.ts +0 -8
- package/dist/commonjs/components/Inspector/BoxModelVisualizer.js +0 -76
- package/dist/commonjs/components/Inspector/DebuggingTab.d.ts +0 -3
- package/dist/commonjs/components/Inspector/DebuggingTab.js +0 -197
- package/dist/commonjs/components/Inspector/UiA11yAuditPanel.d.ts +0 -7
- package/dist/commonjs/components/Inspector/UiA11yAuditPanel.js +0 -97
- package/dist/commonjs/components/Inspector/UiInspectorDetail.d.ts +0 -2
- package/dist/commonjs/components/Inspector/UiInspectorDetail.js +0 -485
- package/dist/commonjs/components/Inspector/UiInspectorOverlay.d.ts +0 -2
- package/dist/commonjs/components/Inspector/UiInspectorOverlay.js +0 -199
- package/dist/commonjs/components/Inspector/UiInspectorTab.d.ts +0 -2
- package/dist/commonjs/components/Inspector/UiInspectorTab.js +0 -117
- package/dist/commonjs/components/Inspector/UiLiveStyleTweaker.d.ts +0 -10
- package/dist/commonjs/components/Inspector/UiLiveStyleTweaker.js +0 -148
- package/dist/commonjs/components/Inspector/index.d.ts +0 -28
- package/dist/commonjs/components/Inspector/index.js +0 -1
- package/dist/commonjs/customHooks/uiInspectorManager.d.ts +0 -22
- package/dist/commonjs/customHooks/uiInspectorManager.js +0 -1
- package/dist/commonjs/helpers/uiInspectorEngine.d.ts +0 -62
- package/dist/commonjs/helpers/uiInspectorEngine.js +0 -19
- package/dist/esm/components/Inspector/BoxModelVisualizer.d.ts +0 -8
- package/dist/esm/components/Inspector/BoxModelVisualizer.js +0 -76
- package/dist/esm/components/Inspector/DebuggingTab.d.ts +0 -3
- package/dist/esm/components/Inspector/DebuggingTab.js +0 -197
- package/dist/esm/components/Inspector/UiA11yAuditPanel.d.ts +0 -7
- package/dist/esm/components/Inspector/UiA11yAuditPanel.js +0 -97
- package/dist/esm/components/Inspector/UiInspectorDetail.d.ts +0 -2
- package/dist/esm/components/Inspector/UiInspectorDetail.js +0 -422
- package/dist/esm/components/Inspector/UiInspectorOverlay.d.ts +0 -2
- package/dist/esm/components/Inspector/UiInspectorOverlay.js +0 -138
- package/dist/esm/components/Inspector/UiInspectorTab.d.ts +0 -2
- package/dist/esm/components/Inspector/UiInspectorTab.js +0 -117
- package/dist/esm/components/Inspector/UiLiveStyleTweaker.d.ts +0 -10
- package/dist/esm/components/Inspector/UiLiveStyleTweaker.js +0 -148
- package/dist/esm/components/Inspector/index.d.ts +0 -28
- package/dist/esm/components/Inspector/index.js +0 -1
- package/dist/esm/customHooks/uiInspectorManager.d.ts +0 -22
- package/dist/esm/customHooks/uiInspectorManager.js +0 -1
- package/dist/esm/helpers/uiInspectorEngine.d.ts +0 -48
- package/dist/esm/helpers/uiInspectorEngine.js +0 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(e,t,i,r){r===void 0&&(r=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,r,o)}):(function(e,t,i,r){r===void 0&&(r=i),e[r]=t[i]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),__importStar=this&&this.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(i){var r=[];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[r.length]=o);return r},e(t)};return function(t){if(t&&t.__esModule)return t;var i={};if(t!=null)for(var r=e(t),o=0;o<r.length;o++)r[o]!=="default"&&__createBinding(i,t,r[o]);return __setModuleDefault(i,t),i}})();Object.defineProperty(exports,"__esModule",{value:!0}),exports.toggleGlobalTheme=exports.getRawStyles=exports.commonStyles=void 0;const react_native_1=require("react-native"),AppColors_1=__importStar(require("./AppColors")),AppFonts_1=require("./AppFonts"),common_1=__importStar(require("./common"));exports.commonStyles=common_1.default;const getRawStyles=e=>({header:{flexDirection:"row",alignItems:"center",paddingHorizontal:12,paddingVertical:6,zIndex:10,minHeight:48,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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,fontWeight:"700",color:e.primaryLight,fontSize:10,lineHeight:13,letterSpacing:.5},headerDetailTitle:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interMedium,color:e.primaryLight,fontSize:11.5,lineHeight:16,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:AppFonts_1.AppFonts.interMedium,color:`${e.white}F2`,fontSize:12,lineHeight:16,letterSpacing:.2},listContent:{paddingBottom:react_native_1.Platform?.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,width:68,height:68,borderRadius:34,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,...react_native_1.Platform?.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:AppFonts_1.AppFonts.interBold,fontSize:9},filtersContainer:{paddingHorizontal:8,paddingBottom:8},filtersHeading:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interMedium,color:e.grayText,fontSize:11.5},resultCount:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interRegular,color:e.primaryBlack,paddingVertical:react_native_1.Platform?.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:AppFonts_1.AppFonts.interBold,fontSize:13,fontWeight:"700",color:e.primaryBlack,textTransform:"capitalize"},domainSummaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},domainSummaryText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,color:e.grayTextWeak},domainPctText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:e.grayTextStrong},domainProgressSummaryText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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)",...react_native_1.Platform?.OS==="ios"?{shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.12,shadowRadius:2}:{elevation:1}},methodBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,letterSpacing:.6,color:e.white},cardHostText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:e.primaryBlack,flexShrink:1},statusPill:{paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"},statusPillText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,color:e.grayTextStrong,fontSize:18,marginBottom:8,letterSpacing:.3},emptySub:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,color:e.grayText,fontSize:13},metaValue:{fontFamily:AppFonts_1.AppFonts.interMedium,color:e.primaryBlack,fontSize:13},metaValueRow:{flexDirection:"row",alignItems:"center",gap:8},perfBadge:{paddingHorizontal:8,paddingVertical:2,borderRadius:6,borderWidth:1},perfBadgeText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,color:e.grayTextStrong,fontSize:13,flexShrink:1},htBadge:{borderRadius:10,paddingHorizontal:7,paddingVertical:2,borderWidth:1},htBadgeText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,color:e.grayTextWeak,fontSize:10,letterSpacing:.8,textTransform:"uppercase"},htRow:{flexDirection:"row",paddingHorizontal:8,paddingVertical:0,alignItems:"flex-start"},htRowBorder:{borderBottomWidth:react_native_1.StyleSheet.hairlineWidth,borderBottomColor:e.dividerColor},htKeyCell:{width:"30%",paddingVertical:10,paddingRight:4},htKey:{fontFamily:AppFonts_1.AppFonts.interMedium,color:e.purple,fontSize:11,lineHeight:16},htCellDivider:{width:react_native_1.StyleSheet.hairlineWidth,backgroundColor:e.dividerColor,alignSelf:"stretch",marginVertical:4},htValueCell:{flex:1,paddingVertical:10,paddingLeft:6},htValue:{fontFamily:AppFonts_1.AppFonts.interRegular,color:e.primaryBlack,fontSize:11,lineHeight:17},htExpandRow:{marginTop:4},htExpandText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interRegular,fontSize:12.5,lineHeight:18},codeKey:{color:e.purple,fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12.5,lineHeight:18},codeText:{color:e.greenBaggageText,fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:12.5,lineHeight:18},codeTextNil:{color:e.errorColor,fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interMedium,color:e.purple,fontSize:11},objectBadge:{backgroundColor:e.grayBackground,borderColor:e.grayTextWeak,borderWidth:1,borderRadius:6,paddingHorizontal:6,paddingVertical:2},objectBadgeText:{fontFamily:AppFonts_1.AppFonts.interMedium,color:e.grayTextWeak,fontSize:11},diffBlock:{paddingTop:12,paddingHorizontal:12,paddingBottom:16,gap:4},diffAdded:{color:e.greenColor,fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:12},diffRemoved:{color:e.errorColor,fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:12},diffChanged:{color:e.lightOrange,fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interMedium,color:e.primaryBlack,fontSize:13,marginBottom:2},filePreviewType:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interRegular,color:e.grayText,fontSize:11,marginBottom:2},sourcePageValue:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.Sfprotext,color:e.purple,fontSize:12,flex:1},paramValueRow:{flexDirection:"row",alignItems:"center",gap:8,flex:2,justifyContent:"flex-end"},paramValue:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,fontSize:12},modalBackdrop:{flex:1,backgroundColor:`${e.black}73`,justifyContent:"flex-end",zIndex:999999,elevation:999999},modalBackdropPressable:{...react_native_1.StyleSheet.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:AppFonts_1.AppFonts.interMedium,fontSize:11.5,color:e.grayText},contentTabButtonTextActive:{color:e.white,fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,fontSize:13.5,color:e.primaryBlack},statusDot:{width:6,height:6,borderRadius:3},analyticsHeaderSubtitle:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,fontSize:14,color:e.primaryBlack},analyticsStatLabel:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:9,color:e.grayText,marginTop:1},analyticsHeaderDetails:{borderTopWidth:1,borderTopColor:e.dividerColor,paddingTop:10,marginTop:10},detailsGroupTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:e.purple,marginBottom:6},detailsRow:{flexDirection:"row",justifyContent:"space-between",paddingVertical:4,borderBottomWidth:.5,borderBottomColor:e.dividerColor},detailsKey:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:e.primaryBlack},detailsValue:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:e.grayText}});exports.getRawStyles=getRawStyles;const styles={},rebuildStyles=e=>{const t=e?(0,AppColors_1.getThemeColors)(!0):AppColors_1.default,i=(0,exports.getRawStyles)(t);Object.keys(styles).forEach(r=>delete styles[r]),Object.assign(styles,i)};rebuildStyles(!1);const toggleGlobalTheme=e=>{(0,AppColors_1.updateAppColorsTheme)(e),rebuildStyles(e),(0,common_1.rebuildCommonStyles)(e?(0,AppColors_1.getThemeColors)(!0):AppColors_1.default)};exports.toggleGlobalTheme=toggleGlobalTheme,exports.default=styles;
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(e,t,i,r){r===void 0&&(r=i);var o=Object.getOwnPropertyDescriptor(t,i);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,r,o)}):(function(e,t,i,r){r===void 0&&(r=i),e[r]=t[i]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),__importStar=this&&this.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(i){var r=[];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[r.length]=o);return r},e(t)};return function(t){if(t&&t.__esModule)return t;var i={};if(t!=null)for(var r=e(t),o=0;o<r.length;o++)r[o]!=="default"&&__createBinding(i,t,r[o]);return __setModuleDefault(i,t),i}})();Object.defineProperty(exports,"__esModule",{value:!0}),exports.toggleGlobalTheme=exports.getRawStyles=exports.commonStyles=void 0;const react_native_1=require("react-native"),AppColors_1=__importStar(require("./AppColors")),AppFonts_1=require("./AppFonts"),common_1=__importStar(require("./common"));exports.commonStyles=common_1.default;const getRawStyles=e=>({header:{flexDirection:"row",alignItems:"center",paddingHorizontal:12,paddingVertical:8,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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,fontWeight:"700",color:e.primaryLight,fontSize:10,lineHeight:13,letterSpacing:.5},headerDetailTitle:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interMedium,color:e.primaryLight,fontSize:11.5,lineHeight:16,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:AppFonts_1.AppFonts.interMedium,color:`${e.white}F2`,fontSize:12,lineHeight:16,letterSpacing:.2},listContent:{paddingBottom:react_native_1.Platform?.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,width:68,height:68,borderRadius:34,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,...react_native_1.Platform?.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:AppFonts_1.AppFonts.interBold,fontSize:9},filtersContainer:{paddingHorizontal:8,paddingBottom:8},filtersHeading:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interMedium,color:e.grayText,fontSize:11.5},resultCount:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interRegular,color:e.primaryBlack,paddingVertical:react_native_1.Platform?.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:AppFonts_1.AppFonts.interBold,fontSize:13,fontWeight:"700",color:e.primaryBlack,textTransform:"capitalize"},domainSummaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},domainSummaryText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,color:e.grayTextWeak},domainPctText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:e.grayTextStrong},domainProgressSummaryText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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)",...react_native_1.Platform?.OS==="ios"?{shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.12,shadowRadius:2}:{elevation:1}},methodBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,letterSpacing:.6,color:e.white},cardHostText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:e.primaryBlack,flexShrink:1},statusPill:{paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"},statusPillText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,color:e.grayTextStrong,fontSize:18,marginBottom:8,letterSpacing:.3},emptySub:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,color:e.grayText,fontSize:13},metaValue:{fontFamily:AppFonts_1.AppFonts.interMedium,color:e.primaryBlack,fontSize:13},metaValueRow:{flexDirection:"row",alignItems:"center",gap:8},perfBadge:{paddingHorizontal:8,paddingVertical:2,borderRadius:6,borderWidth:1},perfBadgeText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,color:e.grayTextStrong,fontSize:13,flexShrink:1},htBadge:{borderRadius:10,paddingHorizontal:7,paddingVertical:2,borderWidth:1},htBadgeText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,color:e.grayTextWeak,fontSize:10,letterSpacing:.8,textTransform:"uppercase"},htRow:{flexDirection:"row",paddingHorizontal:8,paddingVertical:0,alignItems:"flex-start"},htRowBorder:{borderBottomWidth:react_native_1.StyleSheet.hairlineWidth,borderBottomColor:e.dividerColor},htKeyCell:{width:"30%",paddingVertical:10,paddingRight:4},htKey:{fontFamily:AppFonts_1.AppFonts.interMedium,color:e.purple,fontSize:11,lineHeight:16},htCellDivider:{width:react_native_1.StyleSheet.hairlineWidth,backgroundColor:e.dividerColor,alignSelf:"stretch",marginVertical:4},htValueCell:{flex:1,paddingVertical:10,paddingLeft:6},htValue:{fontFamily:AppFonts_1.AppFonts.interRegular,color:e.primaryBlack,fontSize:11,lineHeight:17},htExpandRow:{marginTop:4},htExpandText:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.monoFont,fontSize:12,lineHeight:18},codeKey:{color:e.purple,fontFamily:AppFonts_1.AppFonts.monoFont,fontWeight:"600",fontSize:12,lineHeight:18},codeText:{color:e.greenBaggageText,fontFamily:AppFonts_1.AppFonts.monoFont,fontSize:12,lineHeight:18},codeTextNil:{color:e.errorColor,fontFamily:AppFonts_1.AppFonts.monoFont,fontWeight:"500",fontSize:12,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:AppFonts_1.AppFonts.interMedium,color:e.purple,fontSize:11},objectBadge:{backgroundColor:e.grayBackground,borderColor:e.grayTextWeak,borderWidth:1,borderRadius:6,paddingHorizontal:6,paddingVertical:2},objectBadgeText:{fontFamily:AppFonts_1.AppFonts.interMedium,color:e.grayTextWeak,fontSize:11},diffBlock:{paddingTop:12,paddingHorizontal:12,paddingBottom:16,gap:4},diffAdded:{color:e.greenColor,fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:12},diffRemoved:{color:e.errorColor,fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:12},diffChanged:{color:e.lightOrange,fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interMedium,color:e.primaryBlack,fontSize:13,marginBottom:2},filePreviewType:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interRegular,color:e.grayText,fontSize:11,marginBottom:2},sourcePageValue:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.Sfprotext,color:e.purple,fontSize:12,flex:1},paramValueRow:{flexDirection:"row",alignItems:"center",gap:8,flex:2,justifyContent:"flex-end"},paramValue:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,fontSize:12},modalBackdrop:{flex:1,backgroundColor:`${e.black}73`,justifyContent:"flex-end",zIndex:999999,elevation:999999},modalBackdropPressable:{...react_native_1.StyleSheet.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:AppFonts_1.AppFonts.interMedium,fontSize:11.5,color:e.grayText},contentTabButtonTextActive:{color:e.white,fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,fontSize:13.5,color:e.primaryBlack},statusDot:{width:6,height:6,borderRadius:3},analyticsHeaderSubtitle:{fontFamily:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.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:AppFonts_1.AppFonts.interBold,fontSize:14,color:e.primaryBlack},analyticsStatLabel:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:9,color:e.grayText,marginTop:1},analyticsHeaderDetails:{borderTopWidth:1,borderTopColor:e.dividerColor,paddingTop:10,marginTop:10},detailsGroupTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:e.purple,marginBottom:6},detailsRow:{flexDirection:"row",justifyContent:"space-between",paddingVertical:4,borderBottomWidth:.5,borderBottomColor:e.dividerColor},detailsKey:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:e.primaryBlack},detailsValue:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:e.grayText}});exports.getRawStyles=getRawStyles;const styles={},rebuildStyles=e=>{const t=e?(0,AppColors_1.getThemeColors)(!0):AppColors_1.default,i=(0,exports.getRawStyles)(t);Object.keys(styles).forEach(r=>delete styles[r]),Object.assign(styles,i)};rebuildStyles(!1);const toggleGlobalTheme=e=>{(0,AppColors_1.updateAppColorsTheme)(e),rebuildStyles(e),(0,common_1.rebuildCommonStyles)(e?(0,AppColors_1.getThemeColors)(!0):AppColors_1.default)};exports.toggleGlobalTheme=toggleGlobalTheme,exports.default=styles;
|
|
@@ -9,7 +9,6 @@ export declare const ActiveTab: {
|
|
|
9
9
|
readonly Socket: "socket";
|
|
10
10
|
readonly Device: "device";
|
|
11
11
|
readonly Storage: "storage";
|
|
12
|
-
readonly Debugging: "debugging";
|
|
13
12
|
readonly Media: "media";
|
|
14
13
|
};
|
|
15
14
|
export type ActiveTab = (typeof ActiveTab)[keyof typeof ActiveTab];
|
|
@@ -60,7 +59,6 @@ export declare const SettingsPage: {
|
|
|
60
59
|
readonly Crash: "crash";
|
|
61
60
|
readonly Device: "device";
|
|
62
61
|
readonly Storage: "storage";
|
|
63
|
-
readonly Debugging: "debugging";
|
|
64
62
|
readonly Media: "media";
|
|
65
63
|
readonly Push: "push";
|
|
66
64
|
readonly Socket: "socket";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SocketFilterType=exports.SocketDetailSubTab=exports.SocketFrameType=exports.SocketFrameDirection=exports.SocketStatus=exports.PushFilterType=exports.PushDetailSubTab=exports.PushActionType=exports.PushAppState=exports.BreadcrumbType=exports.CrashFilterType=exports.CrashDetailSubTab=exports.CrashExportFormat=exports.CrashType=exports.DiffResultType=exports.StackFrameType=exports.GAEventCategory=exports.AnalyticsEventSource=exports.ConsoleLogType=exports.LogFilter=exports.SettingsSubTab=exports.SettingsPage=exports.ModalAnimationType=exports.LocalFilter=exports.SortOrder=exports.StatusFilter=exports.Method=exports.ActiveTab=void 0,exports.ActiveTab={Apis:"apis",Analytics:"analytics",Logs:"logs",Perf:"perf",Redux:"redux",Crash:"crash",Push:"push",Socket:"socket",Device:"device",Storage:"storage",
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SocketFilterType=exports.SocketDetailSubTab=exports.SocketFrameType=exports.SocketFrameDirection=exports.SocketStatus=exports.PushFilterType=exports.PushDetailSubTab=exports.PushActionType=exports.PushAppState=exports.BreadcrumbType=exports.CrashFilterType=exports.CrashDetailSubTab=exports.CrashExportFormat=exports.CrashType=exports.DiffResultType=exports.StackFrameType=exports.GAEventCategory=exports.AnalyticsEventSource=exports.ConsoleLogType=exports.LogFilter=exports.SettingsSubTab=exports.SettingsPage=exports.ModalAnimationType=exports.LocalFilter=exports.SortOrder=exports.StatusFilter=exports.Method=exports.ActiveTab=void 0,exports.ActiveTab={Apis:"apis",Analytics:"analytics",Logs:"logs",Perf:"perf",Redux:"redux",Crash:"crash",Push:"push",Socket:"socket",Device:"device",Storage:"storage",Media:"media"},exports.Method={All:"ALL",Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Query:"QUERY",Options:"OPTIONS",Head:"HEAD"},exports.StatusFilter={All:"ALL",TwoXx:"2xx",ThreeXx:"3xx",FourXx:"4xx",FiveXx:"5xx",Failed:"Failed"},exports.SortOrder={Newest:"newest",Oldest:"oldest"},exports.LocalFilter={Success:"success",Failed:"failed",Loading:"loading"},exports.ModalAnimationType={Slide:"slide",Fade:"fade",None:"none"},exports.SettingsPage={Main:"main",Apis:"apis",Logs:"logs",Analytics:"analytics",Redux:"redux",Crash:"crash",Device:"device",Storage:"storage",Media:"media",Push:"push",Socket:"socket"},exports.SettingsSubTab={Module:"module",Ui:"ui",Limits:"limits",Capture:"capture"},exports.LogFilter={All:"all",Info:"info",Warn:"warn",Error:"error",UserLog:"user-log",Analytics:"analytics"},exports.ConsoleLogType={Info:"info",Warn:"warn",Error:"error"},exports.AnalyticsEventSource={Firebase:"firebase",Manual:"manual"},exports.GAEventCategory={PageView:"page_view",Ecommerce:"ecommerce",System:"system",Custom:"custom"},exports.StackFrameType={App:"app",Dependency:"dependency",Runtime:"runtime",Native:"native"},exports.DiffResultType={Added:"added",Removed:"removed",Changed:"changed"},exports.CrashType={Native:"native",Js:"js",Promise:"promise",Render:"render",Custom:"custom"},exports.CrashExportFormat={Text:"text",Markdown:"markdown",Json:"json"},exports.CrashDetailSubTab={Stack:"stack",Diagnostics:"diagnostics",Breadcrumbs:"breadcrumbs",Raw:"raw"},exports.CrashFilterType={All:"all",Fatal:"fatal",Js:"js",Promise:"promise",Render:"render",Native:"native"},exports.BreadcrumbType={Navigation:"navigation",Network:"network",Redux:"redux",Console:"console",User:"user",System:"system"},exports.PushAppState={Foreground:"foreground",Background:"background",Quit:"quit",ColdStart:"cold_start"},exports.PushActionType={Received:"received",Opened:"opened",Dismissed:"dismissed",ActionPress:"action_press"},exports.PushDetailSubTab={Preview:"preview",Payload:"payload",Headers:"headers",Raw:"raw"},exports.PushFilterType={All:"all",Foreground:"foreground",Background:"background",Opened:"opened"},exports.SocketStatus={Connecting:"connecting",Open:"open",Closed:"closed",Error:"error"},exports.SocketFrameDirection={Send:"send",Receive:"receive"},exports.SocketFrameType={Text:"text",Json:"json",Binary:"binary",Ping:"ping",Pong:"pong",SocketIo:"socket.io",Custom:"custom"},exports.SocketDetailSubTab={Messages:"messages",Overview:"overview",Params:"params",Raw:"raw"},exports.SocketFilterType={All:"all",Open:"open",Closed:"closed",Error:"error",SocketIo:"socket.io",WebSocket:"ws"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{useCallback as ae,useEffect as De,useMemo as j,useRef as Le,useState as v}from"react";import{Modal as Ye,View as T,Text as C,TextInput as He,StyleSheet as Pe,Pressable as _e,Animated as P,Easing as Z,ScrollView as Ct,Platform as bt,Share as Ee}from"react-native";import F from"../TouchableScale";import{AppColors as t}from"../../styles/AppColors";import{AppFonts as w}from"../../styles/AppFonts";import{ExportIcon as Ce,ShareIcon as Tt,SaveIcon as St,CopyIcon as Bt,CloseWhite as Ft,CircleCheckIcon as Vt,InfoCircleIcon as It,WarningTriangleIcon as Rt,ErrorCircleIcon as zt,LayersIcon as Oe,FilterIcon as At,CheckIcon as Dt,ZapIcon as Lt,PenIcon as Ht}from"../NetworkIcons";import{triggerNativeHaptic as D,writeNativeExportFile as We,shareNativeFile as Me}from"../../native/NativeInspector";import{copyToClipboard as Pt,showToast as q}from"../../helpers";import{formatConsoleLogsExport as Et,estimateConsoleLogsExportSize as Ot,generateConsoleLogsFilename as Wt}from"../../helpers/shareFormatter";import{useTranslation as Mt}from"../../i18n";export const ConsoleExportModal=({visible:se,onClose:Q,filteredLogs:Y,allLogs:_})=>{const{t:S}=Mt(),[M,ee]=v("config"),[E,be]=v("filtered"),[N,Te]=v("info"),[V,de]=v("all"),[ce,we]=v("50"),[$,Se]=v(""),[I,Be]=v("txt"),[ge,ve]=v(!
|
|
1
|
+
import{useCallback as ae,useEffect as De,useMemo as j,useRef as Le,useState as v}from"react";import{Modal as Ye,View as T,Text as C,TextInput as He,StyleSheet as Pe,Pressable as _e,Animated as P,Easing as Z,ScrollView as Ct,Platform as bt,Share as Ee}from"react-native";import F from"../TouchableScale";import{AppColors as t}from"../../styles/AppColors";import{AppFonts as w}from"../../styles/AppFonts";import{ExportIcon as Ce,ShareIcon as Tt,SaveIcon as St,CopyIcon as Bt,CloseWhite as Ft,CircleCheckIcon as Vt,InfoCircleIcon as It,WarningTriangleIcon as Rt,ErrorCircleIcon as zt,LayersIcon as Oe,FilterIcon as At,CheckIcon as Dt,ZapIcon as Lt,PenIcon as Ht}from"../NetworkIcons";import{triggerNativeHaptic as D,writeNativeExportFile as We,shareNativeFile as Me}from"../../native/NativeInspector";import{copyToClipboard as Pt,showToast as q}from"../../helpers";import{formatConsoleLogsExport as Et,estimateConsoleLogsExportSize as Ot,generateConsoleLogsFilename as Wt}from"../../helpers/shareFormatter";import{useTranslation as Mt}from"../../i18n";export const ConsoleExportModal=({visible:se,onClose:Q,filteredLogs:Y,allLogs:_})=>{const{t:S}=Mt(),[M,ee]=v("config"),[E,be]=v("filtered"),[N,Te]=v("info"),[V,de]=v("all"),[ce,we]=v("50"),[$,Se]=v(""),[I,Be]=v("txt"),[ge,ve]=v(!0),[ue,ke]=v(!0),[pe,Fe]=v(!0),[me,Ve]=v(!0),[fe,Ie]=v(!0),[$e,ye]=v(0),[je,he]=v(0),[L,Re]=v(""),[R,ze]=v(""),[Ne,Ae]=v(0),G=Le(new P.Value(0)).current,te=Le(new P.Value(1)).current,O=j(()=>{if(!$||$.trim().length===0)return{isValid:!0,error:null,regex:null};try{return{isValid:!0,error:null,regex:new RegExp($.trim(),"i")}}catch(o){return{isValid:!1,error:o?.message||"Invalid pattern",regex:null}}},[$]),oe=j(()=>({includeStackTrace:ge,includeArguments:ue,includeCaller:pe,includeTimestamps:me,includeAppInfo:fe,includeDuplicates:!1,ignorePattern:V==="custom"&&O.isValid?$.trim():void 0}),[ge,ue,pe,me,fe,V,O.isValid,$]);De(()=>{if(M==="progress"){const o=P.loop(P.sequence([P.timing(te,{toValue:1.05,duration:600,easing:Z.inOut(Z.ease),useNativeDriver:!0}),P.timing(te,{toValue:1,duration:600,easing:Z.inOut(Z.ease),useNativeDriver:!0})]));return o.start(),()=>o.stop()}},[M,te]),De(()=>{se&&(ee("config"),de("all"),Te("info"),Be("txt"),we("50"),Se(""),ve(!1),ke(!1),Fe(!1),Ve(!1),Ie(!1),ye(0),he(0),Re(""),ze(""),Ae(0),G.setValue(0))},[se,G]);const U=j(()=>E==="filtered"?Y:_,[E,Y,_]),J=j(()=>N==="all"?U:U.filter(o=>N==="info"?o.type==="info"||o.sourceMethod==="log"||o.sourceMethod==="info":N==="warn"?o.type==="warn":N==="error"?o.type==="error":!0),[U,N]),re=j(()=>{let o=0,B=0,A=0;return U.forEach(W=>{W.type==="error"?A++:W.type==="warn"?B++:o++}),{all:U.length,info:o,warn:B,error:A}},[U]),{selectedLogs:k,ignoredCount:le}=j(()=>{if(J.length===0)return{selectedLogs:[],ignoredCount:0};let B=J,A=0;if(V==="custom"&&O.regex){const H=O.regex,ne=B.length;B=B.filter(K=>{const Xe=K.message||"",Ze=K.rawArgs?JSON.stringify(K.rawArgs):"",Qe=K.caller||"";return!H.test(Xe)&&!H.test(Ze)&&!H.test(Qe)}),A=ne-B.length}let W=B.length;if(V==="all")W=B.length;else if(V==="custom"){const H=parseInt(ce,10);W=isNaN(H)||H<=0?B.length:Math.min(H,B.length)}return{selectedLogs:B.slice(-W),ignoredCount:A}},[J,V,ce,O.regex]),ie=j(()=>Ot(k,I,oe),[k,I,oe]),X=o=>o<=0?"0 KB":o<1024?`${(o/1024).toFixed(2)} KB`:o<1024*1024?`${(o/1024).toFixed(1)} KB`:`${(o/(1024*1024)).toFixed(2)} MB`,Ge=ae(()=>{if(k.length===0){q(S("console.noLogsToExport","No logs available to export"));return}D("medium"),ee("progress"),ye(0),he(0),G.setValue(0);const o=k.length,B=Math.max(1,Math.floor(o/10));let A=0;const W=setInterval(()=>{A=Math.min(A+B,o);const H=A/o;ye(Math.round(H*100)),he(A),P.timing(G,{toValue:H,duration:120,easing:Z.linear,useNativeDriver:!1}).start(),A>=o&&(clearInterval(W),setTimeout(()=>{const ne=Et(k,I,oe),K=Wt(I);Re(ne),ze(K),Ae(ne.length),ee("complete"),D("heavy")},180))},45)},[k,I,oe,G,S]),Ue=ae(async()=>{if(L){D("light");try{const o=await We(R,L);if(o&&await Me(o,"text/plain",R))return;await Ee.share({title:R,message:L,url:o||void 0},{dialogTitle:`Share ${R}`,subject:R})}catch(o){o?.message!=="User did not share"&&q(o?.message||"Failed to open share sheet")}}},[L,R,I]),Ke=ae(async()=>{if(L){D("medium");try{const o=await We(R,L);if(o&&await Me(o,"text/plain",`Save ${R}`)){q(S("console.savePromptOpened","Opened save to disk dialog"));return}await Ee.share({title:`Save ${R}`,message:L,url:o||void 0},{dialogTitle:`Save to Disk (${R})`,subject:R}),q(S("console.savePromptOpened","Opened save to disk dialog"))}catch(o){o?.message!=="User did not share"&&q(o?.message||"Save error")}}},[L,R,I,S]),qe=ae(()=>{L&&(D("light"),Pt(L,"Console Logs"),q(S("console.copiedLogs","Logs copied to clipboard!")))},[L,S]),Je=Y.length!==_.length;return<Ye visible={se}transparent animationType="slide"onRequestClose={Q}>
|
|
2
2
|
<T style={e.overlay}>
|
|
3
3
|
<_e style={e.backdrop}onPress={Q}/>
|
|
4
4
|
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
import
|
|
2
|
-
<Ae testID={`inspector.console.item.${t}`}item={e}searchStr={
|
|
3
|
-
</Le>,[
|
|
4
|
-
<
|
|
1
|
+
import B,{useCallback as O,useMemo as P,useRef as se}from"react";import{FlatList as Se,Pressable as Ce,ScrollView as K,Text as L,TextInput as Te,View as S}from"react-native";import{useInspector as Ie}from"./InspectorContext";import{useTranslation as xe}from"../../i18n";import F from"../TouchableScale";import Le from"../AnimatedEntrance";import{ConsoleLogCard as Ae}from"../ConsoleLogCard";import Ee from"../EmptyState";import Ve from"../EndOfListFooter";import Be from"./ConsoleExportModal";import h from"../../styles";import{AppColors as o}from"../../styles/AppColors";import{AppFonts as A}from"../../styles/AppFonts";import{LogFilter as z}from"../../types";import{SearchIcon as Fe,ClearIcon as Pe,SortArrowIcon as He,TrashIcon as Re,LayersIcon as $e,UserIcon as De,InfoCircleIcon as We,WarningTriangleIcon as Oe,ErrorCircleIcon as Me,AnalyticsIcon as Ne,ExportIcon as Ue}from"../NetworkIcons";const X=10,ve=B.memo(()=>{const{t:w}=xe(),{logSearch:y,setLogSearch:E,logSortOrder:j,setLogSortOrder:q,handleDelete:J,logFilters:C,setLogFilters:H,logCounts:I,filteredConsoleLogs:b,visibleConsoleLogs:R,maxConsoleLogs:$,setSelectedLog:M,selectedConsoleLogs:k,toggleSelectConsoleLog:N}=Ie(),Z=$||100,U=se(null),[v,G]=B.useState(Z),[ee,_]=B.useState(!1);B.useEffect(()=>{G($||100),U.current?.scrollToOffset({offset:0,animated:!1})},[y,C,$]);const D=P(()=>b.slice(0,v),[b,v]),Q=O(e=>{M(e)},[M]),oe=O(({item:e,index:t})=><Le index={t}distance={8}>
|
|
2
|
+
<Ae testID={`inspector.console.item.${t}`}item={e}searchStr={y}onPress={Q}isSelected={k.has(e.id)}onToggleSelect={N}/>
|
|
3
|
+
</Le>,[y,Q,k,N]),te=O((e,t)=>e?.id?.toString()??t.toString(),[]),le=P(()=>{const e=R.length,t=b.length;if(C.has("all")||!Array.from(C).some(V=>V!=="all"))return<S style={{paddingHorizontal:8,paddingTop:8,paddingBottom:3}}>
|
|
4
|
+
<L style={{fontFamily:A.interMedium,fontSize:11,color:o.grayTextWeak,letterSpacing:.2}}>
|
|
5
5
|
{t===e?`Showing ${e} logs`:`Showing ${t} of ${e} logs`}
|
|
6
|
-
</
|
|
7
|
-
</S>;{const
|
|
8
|
-
<
|
|
9
|
-
Filtered by {
|
|
10
|
-
</
|
|
11
|
-
</S>}},[
|
|
6
|
+
</L>
|
|
7
|
+
</S>;{const V=Array.from(C).filter(T=>T!=="all").map(T=>T==="user-log"?"Log":T==="analytics"?"Analytics":T.charAt(0).toUpperCase()+T.slice(1));return<S style={{paddingHorizontal:12,paddingTop:8,paddingBottom:3}}>
|
|
8
|
+
<L style={{fontFamily:A.interMedium,fontSize:11,color:o.grayTextWeak,letterSpacing:.2}}>
|
|
9
|
+
Filtered by {V.join(", ")} ({t} of {e} logs)
|
|
10
|
+
</L>
|
|
11
|
+
</S>}},[R.length,b.length,C]),[W,Y]=B.useState(!1),re=P(()=>["[AXIOS]","[API]","[GRAPHQL]","[REDUX]","[ANALYTICS]","[AUTH]","[NAV]","[STORAGE]","[PERF]","[WS]","[PUSH]","[PAYMENT]","[SYNC]","[BLE]","[LOCATION]","[TEST]","[DEBUG]"],[]),ne=P(()=>[{id:z.All,label:w("common.all","All"),count:I.all?.split("/")?.[0]??"0",color:o.purple,Icon:$e},{id:z.UserLog,label:w("console.log","Log"),count:I["user-log"]?.split("/")?.[0]??"0",color:o.teal600,Icon:De},{id:z.Info,label:w("console.info","Info"),count:I.info?.split("/")?.[0]??"0",color:o.sky600,Icon:We},{id:z.Warn,label:w("console.warning","Warn"),count:I.warn?.split("/")?.[0]??"0",color:o.amber600,Icon:Oe},{id:z.Error,label:w("console.error","Error"),count:I.error?.split("/")?.[0]??"0",color:o.errorColor,Icon:Me},{id:z.Analytics,label:w("console.analytics","Analytics"),count:I.analytics?.split("/")?.[0]??"0",color:o.violet600,Icon:Ne}],[I,w]);return<S style={{flex:1}}>
|
|
12
12
|
<S style={{backgroundColor:o.white,borderBottomWidth:1,borderBottomColor:o.dividerColor,paddingBottom:6}}>
|
|
13
13
|
<S style={[h.toolbarRow,{marginTop:12,marginBottom:8}]}>
|
|
14
|
-
<S style={[h.searchContainer,
|
|
15
|
-
<Fe color={
|
|
16
|
-
<
|
|
17
|
-
{
|
|
14
|
+
<S style={[h.searchContainer,W&&{borderColor:o.purple,borderWidth:1.5}]}>
|
|
15
|
+
<Fe color={W?o.purple:o.grayTextWeak}size={16}/>
|
|
16
|
+
<Te placeholder={w("console.searchPlaceholder")}placeholderTextColor={o.grayTextWeak}value={y}onChangeText={E}onFocus={()=>Y(!0)}onBlur={()=>Y(!1)}style={h.searchInput}autoCorrect={!1}autoCapitalize="none"/>
|
|
17
|
+
{y.length>0&&<S style={{flexDirection:"row",alignItems:"center",gap:4}}>
|
|
18
18
|
<S style={{backgroundColor:`${o.purple}20`,borderRadius:10,paddingHorizontal:6,paddingVertical:2}}>
|
|
19
|
-
<
|
|
20
|
-
{
|
|
21
|
-
</
|
|
19
|
+
<L style={{color:o.purple,fontSize:10,fontFamily:A.interBold}}>
|
|
20
|
+
{b.length}
|
|
21
|
+
</L>
|
|
22
22
|
</S>
|
|
23
|
-
<Ce onPress={()=>
|
|
23
|
+
<Ce onPress={()=>E("")}hitSlop={10}style={h.clearBtn}>
|
|
24
24
|
<Pe color={o.grayTextWeak}size={14}/>
|
|
25
25
|
</Ce>
|
|
26
26
|
</S>}
|
|
27
27
|
</S>
|
|
28
28
|
|
|
29
29
|
<S style={h.toolbarRight}>
|
|
30
|
-
<
|
|
30
|
+
<F style={[h.toolbarBtn,{borderColor:`${o.purple}38`,backgroundColor:`${o.purple}0F`}]}onPress={()=>_(!0)}hitSlop={6}testID="inspector.console.exportBtn">
|
|
31
31
|
<Ue color={o.purple}size={15}/>
|
|
32
|
-
</
|
|
33
|
-
<
|
|
34
|
-
<He color={o.grayTextStrong}size={18}direction={
|
|
35
|
-
</
|
|
36
|
-
<
|
|
32
|
+
</F>
|
|
33
|
+
<F style={h.toolbarBtn}onPress={()=>q(e=>e==="newest"?"oldest":"newest")}hitSlop={10}>
|
|
34
|
+
<He color={o.grayTextStrong}size={18}direction={j==="newest"?"down":"up"}/>
|
|
35
|
+
</F>
|
|
36
|
+
<F style={[h.toolbarBtn,{borderColor:`${o.errorColor}38`,backgroundColor:`${o.errorColor}0F`}]}onPress={J}hitSlop={6}>
|
|
37
37
|
<Re color={o.errorColor}size={15}/>
|
|
38
|
-
{
|
|
39
|
-
<
|
|
40
|
-
{
|
|
41
|
-
</
|
|
38
|
+
{k.size>0&&<S style={h.trashBadge}>
|
|
39
|
+
<L style={h.trashBadgeText}>
|
|
40
|
+
{k.size}
|
|
41
|
+
</L>
|
|
42
42
|
</S>}
|
|
43
|
-
</
|
|
43
|
+
</F>
|
|
44
44
|
</S>
|
|
45
45
|
</S>
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
{(
|
|
49
|
-
{
|
|
48
|
+
{(W||y.length>0)&&<K horizontal showsHorizontalScrollIndicator={!1}style={{marginBottom:6,maxHeight:30}}contentContainerStyle={{paddingHorizontal:8,flexDirection:"row",alignItems:"center",gap:6}}>
|
|
49
|
+
{re.map(e=>{const t=y.includes(e);return<F key={e}onPress={()=>{E(t?f=>f.replace(e,"").trim():f=>f?`${f} ${e}`.trim():e)}}>
|
|
50
50
|
<S style={{paddingHorizontal:8,paddingVertical:3,borderRadius:6,backgroundColor:t?o.purple:`${o.purple}14`,borderWidth:1,borderColor:t?o.purple:`${o.purple}30`}}>
|
|
51
|
-
<
|
|
51
|
+
<L style={{fontFamily:A.interBold,fontSize:10,color:t?o.white:o.purple}}>
|
|
52
52
|
{e}
|
|
53
|
-
</
|
|
53
|
+
</L>
|
|
54
54
|
</S>
|
|
55
|
-
</
|
|
56
|
-
</
|
|
55
|
+
</F>})}
|
|
56
|
+
</K>}
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
<S style={{flexDirection:"row",alignItems:"center",marginBottom:8,paddingHorizontal:8,gap:6}}>
|
|
60
|
-
<
|
|
61
|
-
{
|
|
62
|
-
<S style={{flexDirection:"row",alignItems:"center",paddingHorizontal:9,paddingVertical:4.5,borderRadius:8,backgroundColor:t?
|
|
63
|
-
<T size={11}color={
|
|
64
|
-
<
|
|
60
|
+
<K horizontal showsHorizontalScrollIndicator={!1}style={{flex:1}}contentContainerStyle={{flexDirection:"row",alignItems:"center",gap:6,paddingRight:6}}>
|
|
61
|
+
{ne.map(e=>{const t=e.id==="all"?C.has("all"):C.has(e.id)&&!C.has("all"),f=e.color||o.purple,V=t?o.white:f,T=e.Icon;return<F testID={`inspector.console.filter.${e.id}`}key={e.id}onPress={()=>{e.id==="all"?H(new Set(["all"])):H(ie=>{const x=new Set(ie);return x.delete("all"),x.has(e.id)?x.delete(e.id):x.add(e.id),x.size===0&&x.add("all"),x})}}>
|
|
62
|
+
<S style={{flexDirection:"row",alignItems:"center",paddingHorizontal:9,paddingVertical:4.5,borderRadius:8,backgroundColor:t?f:`${f}12`,borderWidth:1,borderColor:t?f:`${f}30`,gap:5}}>
|
|
63
|
+
<T size={11}color={V}/>
|
|
64
|
+
<L style={{fontFamily:A.interBold,fontSize:10.5,color:t?o.white:o.primaryBlack}}>
|
|
65
65
|
{e.label}
|
|
66
|
-
</
|
|
67
|
-
<S style={{backgroundColor:t?"rgba(255,255,255,0.25)":`${
|
|
68
|
-
<
|
|
66
|
+
</L>
|
|
67
|
+
<S style={{backgroundColor:t?"rgba(255,255,255,0.25)":`${f}20`,paddingHorizontal:5,paddingVertical:1,borderRadius:8}}>
|
|
68
|
+
<L style={{fontFamily:A.interBold,fontSize:9,color:t?o.white:f}}>
|
|
69
69
|
{e.count}
|
|
70
|
-
</
|
|
70
|
+
</L>
|
|
71
71
|
</S>
|
|
72
72
|
</S>
|
|
73
|
-
</
|
|
74
|
-
</
|
|
73
|
+
</F>})}
|
|
74
|
+
</K>
|
|
75
75
|
</S>
|
|
76
76
|
</S>
|
|
77
77
|
|
|
78
|
-
<Se ref={
|
|
78
|
+
<Se ref={U}data={D}keyExtractor={te}ListHeaderComponent={le}renderItem={oe}initialNumToRender={10}maxToRenderPerBatch={8}windowSize={5}updateCellsBatchingPeriod={40}removeClippedSubviews={!0}renderToHardwareTextureAndroid={!0}showsVerticalScrollIndicator={!1}nestedScrollEnabled={!0}ListEmptyComponent={<Ee isSearch={y.length>0||!C.has("all")}searchQuery={y}customTitle={y.length>0?"No matching console logs":"No console logs"}onClearSearch={()=>{E(""),H(new Set(["all"]))}}/>}ListFooterComponent={b.length>0?<Ve count={D.length}totalCount={b.length}label="logs"loadMoreStep={X}hasMore={D.length<b.length}onLoadMore={()=>G(e=>e+X)}/>:null}style={{flex:1}}contentContainerStyle={[h.listContent,{flexGrow:1}]}keyboardShouldPersistTaps="handled"/>
|
|
79
79
|
|
|
80
|
-
<Be visible={
|
|
80
|
+
<Be visible={ee}onClose={()=>_(!1)}filteredLogs={b}allLogs={R}/>
|
|
81
81
|
</S>});export default ve;
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
import{useCallback as
|
|
1
|
+
import{useCallback as B,useEffect as G,useRef as d,useState as L}from"react";import{Animated as s,PanResponder as ae,Platform as y,StyleSheet as ke,Text as T,TouchableOpacity as We,useWindowDimensions as Ne,View as S}from"react-native";import He from"react-native-linear-gradient";import{useInspector as Ye}from"./InspectorContext";import E from"../TouchableScale";import Se from"../AppHeaderLogo";import{AndroidIcon as $e,AppleIcon as Ge,ScreenshotCaptureIcon as Xe,ScreenRecordIcon as Ze,CloseWhite as Re,MaximizeIcon as _e,NpmIcon as Ue}from"../NetworkIcons";import{ScreenCapture as V,generateCaptureId as J}from"../../capture";import{triggerNativeHaptic as u}from"../../native/NativeInspector";import{showToast as m}from"../../helpers/toast";import{getAppName as Je,getAppVersionAndBuild as Ke}from"../../helpers";import{LIB_VERSION as Qe}from"../../constants";import{AppColors as i}from"../../styles/AppColors";import{AppFonts as F}from"../../styles/AppFonts";import Ce from"../../styles";import{useTranslation as et}from"../../i18n";import{MediaPreviewModal as St}from"./MediaPreviewModal";const vt=()=>{const{setVisible:D,isMinimized:Ie,setIsMinimized:k,dismissInspector:Te,appIcon:K,fabPan:a,fabPanResponder:xt,fabDraggedRef:W,pulseAnim:Ve,fabShineAnim:Rt,refreshMediaCount:h,captureFps:Q,captureScale:ee,captureBitrate:X,captureMaxDurationSeconds:te,captureAudioMode:re,previewMediaItem:ie,setPreviewMediaItem:v}=Ye(),{width:P,height:x}=Ne(),{t:n}=et(),[De]=L(()=>Ke().formatted),[p,N]=L(!1),[Pe,Z]=L(0),R=d(null),[Me,j]=L(!1),[_,M]=L(!1),f=d(!1),O=d(new s.Value(0)).current,H=d(new s.Value(1)).current,C=d({x:0,y:0});G(()=>{const e=a.x.addListener(r=>C.current.x=r.value),t=a.y.addListener(r=>C.current.y=r.value);return()=>{a.x.removeListener(e),a.y.removeListener(t)}},[a]);const l=68,Y=8,Oe=B(()=>{const e=C.current.x,t=C.current.y,r=20,z=180,b=P-r-l/2+e,$=x-z-l/2+t;let q=e,U=t,A=!1;b<Y+l/2?(q=e+(Y+l/2-b),A=!0):b>P-Y-l/2&&(q=e-(b-(P-Y-l/2)),A=!0);const ne=y.OS==="ios"?60:40,se=y.OS==="ios"?40:24;$<ne+l/2?(U=t+(ne+l/2-$),A=!0):$>x-se-l/2&&(U=t-($-(x-se-l/2)),A=!0),A&&s.spring(a,{toValue:{x:q,y:U},useNativeDriver:!1,tension:80,friction:8}).start()},[a,P,x]),ze=d(ae.create({onStartShouldSetPanResponder:()=>!1,onMoveShouldSetPanResponder:(e,t)=>Math.abs(t.dx)>4||Math.abs(t.dy)>4,onPanResponderGrant:()=>{W.current=!0,a.setOffset({x:C.current.x,y:C.current.y}),a.setValue({x:0,y:0}),f.current=!1,M(!1),j(!0),H.setValue(1),s.spring(O,{toValue:1,useNativeDriver:!0,tension:80,friction:8}).start()},onPanResponderMove:(e,t)=>{a.setValue({x:t.dx,y:t.dy});const r=t.moveY,z=t.moveX,b=r>x-140&&Math.abs(z-P/2)<85;b&&!f.current?(f.current=!0,M(!0),u("medium"),s.spring(H,{toValue:1.25,useNativeDriver:!0,tension:100,friction:6}).start()):!b&&f.current&&(f.current=!1,M(!1),s.spring(H,{toValue:1,useNativeDriver:!0,tension:100,friction:6}).start())},onPanResponderRelease:()=>{const e=f.current;a.flattenOffset(),s.timing(O,{toValue:0,duration:180,useNativeDriver:!0}).start(()=>{j(!1),M(!1),f.current=!1}),e?(u("heavy"),Te(),m(n("common.inspectorDismissed","In-App Inspector closed for this session"))):Oe(),setTimeout(()=>{W.current=!1},100)},onPanResponderTerminate:()=>{a.flattenOffset(),W.current=!1,s.timing(O,{toValue:0,duration:180,useNativeDriver:!0}).start(()=>{j(!1),M(!1),f.current=!1})}})).current,c=d(new s.ValueXY({x:0,y:0})).current,I=d({x:0,y:0});G(()=>{const e=c.x.addListener(r=>I.current.x=r.value),t=c.y.addListener(r=>I.current.y=r.value);return()=>{c.x.removeListener(e),c.y.removeListener(t)}},[c]);const g=d(!1),Ae=d(ae.create({onStartShouldSetPanResponder:()=>!1,onMoveShouldSetPanResponder:(e,t)=>Math.abs(t.dx)>4||Math.abs(t.dy)>4,onPanResponderGrant:()=>{g.current=!0,c.setOffset({x:I.current.x,y:I.current.y}),c.setValue({x:0,y:0})},onPanResponderMove:s.event([null,{dx:c.x,dy:c.y}],{useNativeDriver:!1}),onPanResponderRelease:()=>{c.flattenOffset();const e=I.current.y,t=-(x-(y.OS==="ios"?34:18)-70),r=y.OS==="ios"?34:18;if(e<t||e>r){const z=Math.max(t,Math.min(r,e));s.spring(c,{toValue:{x:I.current.x,y:z},useNativeDriver:!1,tension:80,friction:8}).start()}setTimeout(()=>{g.current=!1},50)},onPanResponderTerminate:()=>{c.flattenOffset(),g.current=!1}})).current;G(()=>{V.isRecording().then(e=>{N(!!e)}).catch(()=>{})},[]),G(()=>(p?(Z(0),R.current=setInterval(()=>{Z(e=>e+1)},1e3)):(R.current&&(clearInterval(R.current),R.current=null),Z(0)),()=>{R.current&&clearInterval(R.current)}),[p]);const Be=B(async()=>{if(!g.current)try{u("light");const e=await V.takeScreenshot({format:"png",quality:.9,hideInspector:!0});if(e){u("success");const t=J("screenshot",e.format||"png"),r={id:t,type:"image",format:e.format,uri:e.uri,filename:e.uri.split("/").pop()||t,sizeBytes:e.sizeBytes,timestamp:e.timestamp,width:e.width,height:e.height};v(r),h?.().catch(()=>{}),m(n("header.screenshotCaptured","Screenshot captured"))}else m(n("header.screenshotFailed","Failed to capture screenshot"))}catch{m(n("header.screenshotError","Error capturing screenshot"))}},[h,n]),Le=B(async()=>{if(!g.current)try{if(p){u("medium");const e=await V.stopRecording();if(N(!1),e){u("success");const t=J("video",e.format),r={id:t,type:e.format==="gif"?"gif":"video",format:e.format,uri:e.uri,filename:e.uri.split("/").pop()||t,sizeBytes:e.sizeBytes,timestamp:e.timestamp,durationMs:e.durationMs,width:e.width,height:e.height,hasAudio:e.hasAudio,thumbnailUri:e.thumbnailUri};v(r),h?.().catch(()=>{}),m(n("header.recordingSaved",{duration:(e.durationMs/1e3).toFixed(1),defaultValue:`Recording saved (${(e.durationMs/1e3).toFixed(1)}s)`}))}}else u("medium"),await V.startRecording({fps:Q,scale:ee,audioSource:re,bitrate:X>0?X:void 0,maxDurationSeconds:te})?(N(!0),m(n("header.recordingStarted","Recording started"))):m(n("header.recordingStartFailed","Failed to start recording"))}catch{m(n("header.recordingError","Error during screen recording")),N(!1)}},[p,Q,ee,X,te,re,h,n]),oe=B(()=>{g.current||(u("light"),k?.(!1),D(!0))},[k,D]),Ee=B(()=>{g.current||(u("light"),k?.(!1),D(!1))},[k,D]),Fe=e=>{const t=Math.floor(e/60),r=e%60;return`${t}:${r<10?"0":""}${r}`};return<>
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{Ie?<s.View style={[o.playerContainer,{transform:c.getTranslateTransform()}]}{...Ae.panHandlers}>
|
|
4
4
|
|
|
5
|
-
<
|
|
5
|
+
<He colors={[i.indigo600,i.violet600]}start={{x:0,y:0}}end={{x:1,y:1}}style={o.gradientBg}pointerEvents="none"/>
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
<
|
|
8
|
+
<We activeOpacity={.75}onPress={oe}style={o.brandSection}accessibilityRole="button"accessibilityLabel={n("mediaGallery.expand","Expand Inspector")}>
|
|
9
9
|
<Se size={36}customIcon={K}shape="circle"/>
|
|
10
|
-
<S style={
|
|
11
|
-
<
|
|
12
|
-
{
|
|
13
|
-
</
|
|
14
|
-
<S style={
|
|
10
|
+
<S style={o.titleWrapper}>
|
|
11
|
+
<T style={o.appTitle}numberOfLines={1}>
|
|
12
|
+
{Je()}
|
|
13
|
+
</T>
|
|
14
|
+
<S style={o.versionRow}>
|
|
15
15
|
|
|
16
|
-
<S style={
|
|
17
|
-
{y.OS==="ios"?<
|
|
18
|
-
<
|
|
19
|
-
{
|
|
20
|
-
</
|
|
16
|
+
<S style={o.versionChip}>
|
|
17
|
+
{y.OS==="ios"?<Ge color={`${i.white}E6`}size={9}/>:<$e color={`${i.white}E6`}size={9}/>}
|
|
18
|
+
<T style={o.versionChipText}numberOfLines={1}>
|
|
19
|
+
{De}
|
|
20
|
+
</T>
|
|
21
21
|
</S>
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
<S style={
|
|
25
|
-
<
|
|
26
|
-
<
|
|
27
|
-
v{
|
|
28
|
-
</
|
|
24
|
+
<S style={o.versionChip}>
|
|
25
|
+
<Ue size={9}color={i.npmRedLight}/>
|
|
26
|
+
<T style={o.versionChipText}numberOfLines={1}>
|
|
27
|
+
v{Qe}
|
|
28
|
+
</T>
|
|
29
29
|
</S>
|
|
30
30
|
</S>
|
|
31
31
|
</S>
|
|
32
|
-
</
|
|
32
|
+
</We>
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
<S style={
|
|
35
|
+
<S style={o.actionsRow}>
|
|
36
36
|
|
|
37
|
-
<E onPress={
|
|
38
|
-
<
|
|
39
|
-
<
|
|
37
|
+
<E onPress={Be}hitSlop={{top:6,bottom:6,left:4,right:4}}style={o.actionBtn}>
|
|
38
|
+
<Xe size={12}color={i.white}/>
|
|
39
|
+
<T style={o.actionText}>
|
|
40
40
|
{n("header.photo","Photo")}
|
|
41
|
-
</
|
|
41
|
+
</T>
|
|
42
42
|
</E>
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
<E onPress={Le}hitSlop={{top:6,bottom:6,left:4,right:4}}style={[
|
|
46
|
-
{p?<S style={
|
|
47
|
-
<
|
|
48
|
-
{p?`${n("header.rec","REC")} ${Fe(
|
|
49
|
-
</
|
|
45
|
+
<E onPress={Le}hitSlop={{top:6,bottom:6,left:4,right:4}}style={[o.actionBtn,p&&o.recordingBtnActive]}>
|
|
46
|
+
{p?<S style={o.recordingDot}/>:<Ze size={12}color={i.white}/>}
|
|
47
|
+
<T style={[o.actionText,p&&{color:i.red300}]}>
|
|
48
|
+
{p?`${n("header.rec","REC")} ${Fe(Pe)}`:n("header.record","Record")}
|
|
49
|
+
</T>
|
|
50
50
|
</E>
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
<E onPress={
|
|
54
|
-
<
|
|
53
|
+
<E onPress={oe}hitSlop={{top:6,bottom:6,left:4,right:4}}accessibilityRole="button"accessibilityLabel={n("common.expand","Expand")}style={o.actionBtnSquare}>
|
|
54
|
+
<_e size={12}color={i.white}/>
|
|
55
55
|
</E>
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
<E onPress={Ee}hitSlop={{top:6,bottom:6,left:4,right:6}}accessibilityRole="button"accessibilityLabel={n("common.close","Close")}style={
|
|
59
|
-
<Re size={10}color={
|
|
58
|
+
<E onPress={Ee}hitSlop={{top:6,bottom:6,left:4,right:6}}accessibilityRole="button"accessibilityLabel={n("common.close","Close")}style={o.actionBtnSquare}>
|
|
59
|
+
<Re size={10}color={i.white}/>
|
|
60
60
|
</E>
|
|
61
61
|
</S>
|
|
62
62
|
</s.View>:<s.View style={[Ce.fabWrapper,{transform:a.getTranslateTransform()}]}{...ze.panHandlers}>
|
|
63
|
-
<E testID="inspector.fab.launcher"style={{width:68,height:68,borderRadius:34,alignItems:"center",justifyContent:"center"}}onPress={()=>{
|
|
63
|
+
<E testID="inspector.fab.launcher"accessible={!0}accessibilityRole="button"accessibilityLabel={n("accessibility.openInspector","Open In-App Network and System Inspector")}accessibilityHint={n("accessibility.openInspectorHint","Double tap to open the full debug inspector")}style={{width:68,height:68,borderRadius:34,alignItems:"center",justifyContent:"center"}}onPress={()=>{W.current||(u("light"),D(!0))}}hitSlop={10}>
|
|
64
64
|
<s.View style={[Ce.fabPulseRing,{transform:[{scale:Ve}]}]}/>
|
|
65
65
|
<Se size={68}customIcon={K}shape="circle"/>
|
|
66
66
|
</E>
|
|
67
67
|
</s.View>}
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
{Me&&<s.View pointerEvents="none"style={[
|
|
71
|
-
<S style={[
|
|
72
|
-
<Re size={18}color={
|
|
70
|
+
{Me&&<s.View pointerEvents="none"style={[o.dismissTargetContainer,{opacity:O,transform:[{translateY:O.interpolate({inputRange:[0,1],outputRange:[30,0]})},{scale:H}]}]}>
|
|
71
|
+
<S style={[o.dismissTargetCircle,_&&o.dismissTargetCircleActive]}>
|
|
72
|
+
<Re size={18}color={i.white}/>
|
|
73
73
|
</S>
|
|
74
|
-
<
|
|
74
|
+
<T style={[o.dismissTargetLabel,_&&o.dismissTargetLabelActive]}>
|
|
75
75
|
{_?n("common.releaseToHide","Release to hide"):n("common.dragToHide","Drag here to hide")}
|
|
76
|
-
</
|
|
76
|
+
</T>
|
|
77
77
|
</s.View>}
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
<St item={
|
|
81
|
-
</>},
|
|
80
|
+
<St item={ie}visible={!!ie}onClose={()=>v(null)}onDelete={async e=>{await V.deleteMedia(e.uri),h?.().catch(()=>{}),v(null)}}onConvertToGif={async e=>{const t=await V.convertToGif(e.uri,{fps:12,width:480});if(t){h?.().catch(()=>{});const r=J("anim","gif");v({id:r,type:"gif",format:"gif",uri:t.uri,filename:t.uri.split("/").pop()||r,sizeBytes:t.sizeBytes,timestamp:t.timestamp,durationMs:t.durationMs})}}}onSave={e=>{v(e),h?.().catch(()=>{})}}/>
|
|
81
|
+
</>},o=ke.create({dismissTargetContainer:{position:"absolute",bottom:y.OS==="ios"?42:26,left:0,right:0,alignItems:"center",justifyContent:"center",zIndex:999998},dismissTargetCircle:{width:54,height:54,borderRadius:27,backgroundColor:"rgba(23, 23, 37, 0.82)",borderWidth:1.5,borderColor:"rgba(255, 255, 255, 0.28)",alignItems:"center",justifyContent:"center",shadowColor:i.black,shadowOffset:{width:0,height:6},shadowOpacity:.4,shadowRadius:10,elevation:16},dismissTargetCircleActive:{backgroundColor:i.red600,borderColor:i.red300,shadowColor:i.red600,shadowOpacity:.65,shadowRadius:18,transform:[{scale:1.06}]},dismissTargetLabel:{marginTop:6,fontFamily:F.interSemiBold,fontSize:11,color:"rgba(255, 255, 255, 0.85)",textShadowColor:"rgba(0, 0, 0, 0.6)",textShadowOffset:{width:0,height:1},textShadowRadius:3},dismissTargetLabelActive:{color:i.red300,fontFamily:F.interBold},playerContainer:{position:"absolute",bottom:y.OS==="ios"?34:18,left:12,right:12,minHeight:58,flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderRadius:16,borderWidth:1,borderColor:"rgba(255, 255, 255, 0.28)",paddingHorizontal:12,paddingVertical:7,gap:8,zIndex:99999,elevation:25,shadowColor:i.indigo600,shadowOffset:{width:0,height:8},shadowOpacity:.45,shadowRadius:14,overflow:"hidden"},gradientBg:{position:"absolute",top:0,left:0,right:0,bottom:0,borderRadius:16},playerShineClip:{position:"absolute",top:0,left:0,right:0,bottom:0,borderRadius:16,overflow:"hidden"},playerShineStreak:{position:"absolute",top:-60,width:75,height:200},brandSection:{flexDirection:"row",alignItems:"center",gap:9,flex:1,minWidth:0,paddingVertical:2,overflow:"hidden"},titleWrapper:{flex:1,minWidth:0,justifyContent:"center",gap:2},appTitle:{fontFamily:F.interBold,fontSize:13.5,color:i.white,letterSpacing:-.2},versionRow:{flexDirection:"row",alignItems:"center",gap:4,minWidth:0},versionChip:{flexDirection:"row",alignItems:"center",backgroundColor:`${i.white}1F`,borderRadius:5,paddingHorizontal:5,paddingVertical:1.5,gap:3,borderWidth:1,borderColor:`${i.white}2E`,flexShrink:1,minWidth:0},versionChipText:{fontFamily:F.interMedium,fontSize:8.5,color:`${i.white}EB`,letterSpacing:.1},actionsRow:{flexDirection:"row",alignItems:"center",gap:4.5,flexShrink:0},actionBtn:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:"rgba(255, 255, 255, 0.22)",paddingHorizontal:8,paddingVertical:5.5,borderRadius:7,borderWidth:1,borderColor:"rgba(255, 255, 255, 0.32)"},actionBtnSquare:{alignItems:"center",justifyContent:"center",width:27,height:27,backgroundColor:"rgba(255, 255, 255, 0.22)",borderRadius:7,borderWidth:1,borderColor:"rgba(255, 255, 255, 0.32)"},recordingBtnActive:{backgroundColor:"rgba(239, 68, 68, 0.32)",borderColor:i.red500},recordingDot:{width:6,height:6,borderRadius:3,backgroundColor:i.red500},actionText:{fontFamily:F.interSemiBold,fontSize:10.5,color:i.white}});export default vt;
|