react-native-inapp-inspector 2.5.7 → 2.5.9

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.
Files changed (62) hide show
  1. package/README.md +19 -0
  2. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  3. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  4. package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
  5. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  6. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  7. package/android/.gradle/8.9/gc.properties +0 -0
  8. package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
  9. package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
  10. package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
  11. package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
  12. package/android/.gradle/9.2.0/gc.properties +0 -0
  13. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  14. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  15. package/android/.gradle/vcs-1/gc.properties +0 -0
  16. package/android/.settings/org.eclipse.buildship.core.prefs +13 -0
  17. package/android/build/reports/problems/problems-report.html +659 -0
  18. package/dist/commonjs/components/BrandCircleIcon.js +8 -3
  19. package/dist/commonjs/components/ConsoleLogCard.js +13 -13
  20. package/dist/commonjs/components/Inspector/ConsoleTab.js +5 -5
  21. package/dist/commonjs/components/Inspector/FabLauncher.js +8 -8
  22. package/dist/commonjs/components/Inspector/FloatingCaptureWidget.js +4 -4
  23. package/dist/commonjs/components/Inspector/InspectorHeader.js +30 -45
  24. package/dist/commonjs/components/Inspector/MainScreen.js +1 -1
  25. package/dist/commonjs/components/Inspector/NetworkTab.js +48 -48
  26. package/dist/commonjs/components/Inspector/NpmUpdateToast.js +5 -5
  27. package/dist/commonjs/components/Inspector/TabBar.js +5 -5
  28. package/dist/commonjs/components/LogCard.d.ts +1 -1
  29. package/dist/commonjs/components/LogCard.js +16 -16
  30. package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
  31. package/dist/commonjs/constants/telemetryConfig.js +1 -1
  32. package/dist/commonjs/constants/version.d.ts +1 -1
  33. package/dist/commonjs/constants/version.js +1 -1
  34. package/dist/commonjs/customHooks/networkLogger.d.ts +1 -17
  35. package/dist/commonjs/customHooks/networkLogger.js +1 -1
  36. package/dist/commonjs/index.js +1 -1
  37. package/dist/commonjs/styles/index.d.ts +3 -0
  38. package/dist/commonjs/styles/index.js +1 -1
  39. package/dist/commonjs/types/interfaces.d.ts +6 -2
  40. package/dist/esm/components/BrandCircleIcon.js +9 -4
  41. package/dist/esm/components/ConsoleLogCard.js +13 -13
  42. package/dist/esm/components/Inspector/ConsoleTab.js +9 -9
  43. package/dist/esm/components/Inspector/FabLauncher.js +1 -1
  44. package/dist/esm/components/Inspector/FloatingCaptureWidget.js +9 -9
  45. package/dist/esm/components/Inspector/InspectorHeader.js +84 -99
  46. package/dist/esm/components/Inspector/MainScreen.js +1 -1
  47. package/dist/esm/components/Inspector/NetworkTab.js +132 -132
  48. package/dist/esm/components/Inspector/NpmUpdateToast.js +18 -18
  49. package/dist/esm/components/Inspector/TabBar.js +23 -23
  50. package/dist/esm/components/LogCard.d.ts +1 -1
  51. package/dist/esm/components/LogCard.js +24 -24
  52. package/dist/esm/constants/telemetryConfig.d.ts +3 -3
  53. package/dist/esm/constants/telemetryConfig.js +1 -1
  54. package/dist/esm/constants/version.d.ts +1 -1
  55. package/dist/esm/constants/version.js +1 -1
  56. package/dist/esm/customHooks/networkLogger.d.ts +1 -17
  57. package/dist/esm/customHooks/networkLogger.js +1 -1
  58. package/dist/esm/index.js +4 -4
  59. package/dist/esm/styles/index.d.ts +3 -0
  60. package/dist/esm/styles/index.js +1 -1
  61. package/dist/esm/types/interfaces.d.ts +6 -2
  62. package/package.json +8 -3
@@ -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:10,paddingVertical:4,zIndex:10,minHeight:44,overflow:"visible",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.08,shadowRadius:4,elevation:3},headerLeft:{flex:1,minWidth:0,alignItems:"flex-start"},headerCenter:{flex:1,minWidth:0,alignItems:"center",justifyContent:"center",paddingHorizontal:6},headerRight:{flexShrink:0,flexDirection:"row",alignItems:"center",justifyContent:"flex-end",gap:6},headerTitle:{fontFamily: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:15,opacity:.95,letterSpacing:.2},headerCountBadge:{flexDirection:"row",alignItems:"center",backgroundColor:`${e.black}33`,paddingHorizontal:12,paddingVertical:6,borderRadius:16,gap:6,borderWidth:.5,borderColor:`${e.white}33`,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:2},headerCountText:{fontFamily: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,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:10,paddingVertical:4,zIndex:10,minHeight:44,overflow:"visible",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.08,shadowRadius:4,elevation:3},headerLeft:{flex:1,minWidth:0,alignItems:"flex-start"},headerCenter:{flex:1,minWidth:0,alignItems:"center",justifyContent:"center",paddingHorizontal:6},headerRight:{flexShrink:0,flexDirection:"row",alignItems:"center",justifyContent:"flex-end",gap:6},headerTitle:{fontFamily: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:15,opacity:.95,letterSpacing:.2},headerCountBadge:{flexDirection:"row",alignItems:"center",backgroundColor:`${e.black}33`,paddingHorizontal:12,paddingVertical:6,borderRadius:16,gap:6,borderWidth:.5,borderColor:`${e.white}33`,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:2},headerCountText:{fontFamily: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;
@@ -93,8 +93,8 @@ export interface NetworkLog {
93
93
  id: number;
94
94
  url: string;
95
95
  method: string;
96
- status: number | null;
97
- duration: number | null;
96
+ status?: number | null;
97
+ duration?: number | null;
98
98
  startTime: number;
99
99
  request?: unknown;
100
100
  response?: unknown;
@@ -447,6 +447,8 @@ export interface InspectorContextValue {
447
447
  setPeekOpacity: React.Dispatch<React.SetStateAction<number>>;
448
448
  previewMediaItem: import('../capture').CapturedMediaItem | null;
449
449
  setPreviewMediaItem: React.Dispatch<React.SetStateAction<import('../capture').CapturedMediaItem | null>>;
450
+ isUpdatePopupVisible?: boolean;
451
+ setIsUpdatePopupVisible?: React.Dispatch<React.SetStateAction<boolean>>;
450
452
  }
451
453
  export interface CopyButtonProps {
452
454
  value: unknown | (() => unknown);
@@ -482,6 +484,7 @@ export interface LogCardProps {
482
484
  isSelected: boolean;
483
485
  onToggleSelect: (id: number) => void;
484
486
  searchStr?: string;
487
+ testID?: string;
485
488
  }
486
489
  export interface MetaAccordionProps {
487
490
  status: number | null | undefined;
@@ -538,6 +541,7 @@ export interface ConsoleLogCardProps {
538
541
  item: ConsoleLog;
539
542
  searchStr?: string;
540
543
  onPress?: (item: ConsoleLog) => void;
544
+ testID?: string;
541
545
  }
542
546
  export interface JsonContent {
543
547
  header: string;
@@ -1,5 +1,8 @@
1
- import"react";import A,{Circle as M,Path as L,G,Defs as Z,LinearGradient as O,RadialGradient as W,Stop as C,Rect as E,Ellipse as Q,Line as S}from"react-native-svg";import{AppColors as x}from"../styles/AppColors";export const BrandCircleIcon=({size:U=56})=><A width={U}height={U}viewBox="0 0 256 256"fill="none">
1
+ import"react";import A,{Circle as M,Path as L,G,Defs as Z,LinearGradient as O,RadialGradient as W,Stop as C,Rect as E,Ellipse as Q,Line as S,ClipPath as R}from"react-native-svg";import{AppColors as x}from"../styles/AppColors";export const BrandCircleIcon=({size:U=56})=><A width={U}height={U}viewBox="0 0 256 256"fill="none">
2
2
  <Z>
3
+ <R id="brand_circle_clip">
4
+ <M cx="128"cy="128"r="127"/>
5
+ </R>
3
6
  <O id="tile"x1="30"y1="30"x2="210"y2="222"gradientUnits="userSpaceOnUse">
4
7
  <C offset="0"stopColor={x.navy900}/>
5
8
  <C offset="1"stopColor={x.navy950}/>
@@ -52,9 +55,10 @@ import"react";import A,{Circle as M,Path as L,G,Defs as Z,LinearGradient as O,Ra
52
55
  <C offset="1"stopColor={x.navy700}/>
53
56
  </O>
54
57
  </Z>
55
- <M cx="128"cy="128"r="122"fill="url(#tile)"/>
56
- <M cx="128"cy="128"r="121.4"fill="none"stroke="url(#edge)"strokeOpacity={.7}strokeWidth={1.4}/>
57
- <M cx="128"cy="128"r="100"fill="url(#halo)"/>
58
+ <M cx="128"cy="128"r="127"fill="url(#tile)"/>
59
+ <M cx="128"cy="128"r="126"fill="none"stroke="url(#edge)"strokeOpacity={.7}strokeWidth={1.5}/>
60
+ <M cx="128"cy="128"r="110"fill="url(#halo)"/>
61
+ <G clipPath="url(#brand_circle_clip)">
58
62
  <G transform="translate(128 132) scale(1.05) translate(-128 -134)">
59
63
 
60
64
  <L d="M74 124 C58 154 60 190 86 204 C79 176 77 148 88 126 Z"fill="url(#wing)"stroke="url(#beam)"strokeWidth={2.5}strokeOpacity={.45}/>
@@ -132,4 +136,5 @@ import"react";import A,{Circle as M,Path as L,G,Defs as Z,LinearGradient as O,Ra
132
136
  <Q cx={83}cy={127}rx={9}ry={6}fill="url(#blush)"/>
133
137
  <Q cx={167}cy={122}rx={9}ry={6}fill="url(#blush)"/>
134
138
  </G>
139
+ </G>
135
140
  </A>;export default BrandCircleIcon;
@@ -1,15 +1,15 @@
1
- import F from"react";import{useTranslation as v}from"../i18n";import{Pressable as K,StyleSheet as Y,Text as E,View as I}from"react-native";import{AppColors as r}from"../styles/AppColors";import{AppFonts as S}from"../styles/AppFonts";import{formatTime as X,getJsonContent as J,getJsonPreviewText as Q,parseStackLine as Z,openInVSCode as q,getSize as _,getCleanCallerDisplay as ee}from"../helpers";import Ie from"./TouchableScale";import L from"./LogSyntaxHighlighter";import{ForwardChevronIcon as Te,ExternalLinkIcon as Ce,FlaskIcon as he,ZapIcon as D,GlobeIcon as Se,DiceIcon as me,AtomIcon as U,BarChartIcon as xe,KeyIcon as ye,SmartphoneIcon as Ee,AlertTriangleIcon as Re,BugIcon as Be,TagIcon as Ae,MapPinIcon as $,StorageIcon as Oe,SignalIcon as Pe,FlameIcon as we,MoneyIcon as Ne,CircleCheckIcon as W,CircleAlertIcon as Le,CircleXIcon as ke,RefreshCcwIcon as He,PerformanceIcon as Ve,ChipIcon as Fe,SettingsIcon as De,TerminalIcon as ze,InfoCircleIcon as G,ShieldAlertIcon as Me,LayoutIcon as Ue,ClockIcon as $e,SizeIcon as We}from"./NetworkIcons";import{useInspector as Ge}from"./Inspector/InspectorContext";const ve=(R,t,P,k,H)=>{if(!R)return null;const V=/^((?:\[[^\]]+\]\s*)+)/,C=R.match(V);if(C){const w=C[1],T=R.substring(w.length),z=w.match(/\[[^\]]+\]/g)||[],O=N=>{const e=N.replace(/[\[\]]/g,"").trim().toUpperCase();return e==="AXIOS"?{color:r.emerald600,Icon:D,label:"AXIOS"}:e==="API"||e==="FETCH"||e==="HTTP"||e==="REST"||e==="NETWORK"?{color:r.sky600,Icon:Se,label:e}:e==="GRAPHQL"||e==="GQL"||e==="APOLLO"||e==="MUTATION"||e==="QUERY"?{color:r.pink500,Icon:U,label:e}:e==="WS"||e==="WEBSOCKET"||e==="SOCKET"||e==="SOCKET.IO"||e==="REALTIME"?{color:r.cyan600,Icon:Pe,label:e}:e==="REDUX"||e==="STORE"||e==="STATE"||e==="ZUSTAND"||e==="MOBX"||e==="RECOIL"||e==="ACTION"||e==="DISPATCH"?{color:r.violet600,Icon:U,label:e}:e==="ANALYTICS"||e==="FIREBASE"||e==="GA4"||e==="GA"||e==="SEGMENT"||e==="MIXPANEL"||e==="POSTHOG"||e==="TRACK"||e==="EVENT"?{color:r.teal600,Icon:xe,label:e}:e==="AUTH"||e==="TOKEN"||e==="SESSION"||e==="JWT"||e==="LOGIN"||e==="LOGOUT"||e==="USER"?{color:r.amber600,Icon:ye,label:e}:e==="SECURITY"||e==="SHIELD"||e==="PERMISSION"||e==="PERMISSIONS"?{color:r.indigo600Alt,Icon:Me,label:e}:e==="NAV"||e==="NAVIGATION"||e==="ROUTE"||e==="SCREEN"||e==="ROUTER"||e==="DEEPLINK"?{color:r.indigo600Alt,Icon:$,label:e}:e==="STORAGE"||e==="ASYNCSTORAGE"||e==="MMKV"||e==="SQLITE"||e==="DB"||e==="DATABASE"||e==="REALM"||e==="CACHE"?{color:r.purple500,Icon:Oe,label:e}:e==="PERF"||e==="RENDER"||e==="PERFORMANCE"||e==="FPS"||e==="MEMORY"?{color:r.violet500,Icon:Ve,label:e}:e==="INIT"||e==="BOOT"||e==="STARTUP"||e==="LIFECYCLE"||e==="MOUNT"||e==="UNMOUNT"?{color:r.blue600,Icon:D,label:e}:e==="SYNC"||e==="REFRESH"||e==="BACKGROUND"||e==="JOB"||e==="WORKER"?{color:r.sky600,Icon:He,label:e}:e==="PUSH"||e==="NOTIF"||e==="NOTIFICATION"||e==="FCM"||e==="APNS"?{color:r.darkOrange,Icon:we,label:e}:e==="PAY"||e==="PAYMENT"||e==="STRIPE"||e==="IAP"||e==="BILLING"||e==="CHECKOUT"||e==="CART"?{color:r.emerald600,Icon:Ne,label:e}:e==="DEVICE"||e==="HARDWARE"||e==="BLE"||e==="BLUETOOTH"||e==="NFC"||e==="SENSOR"?{color:r.slate600,Icon:Fe,label:e}:e==="LOCATION"||e==="GPS"||e==="GEO"?{color:r.emerald600,Icon:$,label:e}:e==="APP"?{color:r.indigo600Alt,Icon:Ee,label:"APP"}:e==="UI"||e==="VIEW"||e==="THEME"||e==="STYLE"||e==="LAYOUT"?{color:r.pink600,Icon:Ue,label:e}:e==="TEST"||e==="MOCK"||e==="SPEC"?{color:r.emerald500,Icon:he,label:"TEST"}:e==="SAMPLE"||e==="BATCH"?{color:r.indigo600Alt,Icon:me,label:e}:e==="CONFIG"||e==="ENV"||e==="SETTINGS"?{color:r.slate700,Icon:De,label:e}:e==="DEBUG"||e==="TRACE"?{color:r.purpleText,Icon:ze,label:e}:e==="INFO"?{color:r.sky600,Icon:G,label:"INFO"}:e==="SUCCESS"||e==="OK"||e==="DONE"||e==="PASSED"?{color:r.green600,Icon:W,label:e}:e==="WARN"||e==="WARNING"?{color:r.amber600,Icon:Re,label:"WARN"}:e==="ERROR"||e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?{color:r.red600,Icon:Be,label:e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?e:"ERROR"}:{color:r.slate600,Icon:Ae,label:e}};return<I style={{flexDirection:"column",gap:2}}>
1
+ import F from"react";import{useTranslation as v}from"../i18n";import{Pressable as K,StyleSheet as Y,Text as E,View as I}from"react-native";import{AppColors as r}from"../styles/AppColors";import{AppFonts as S}from"../styles/AppFonts";import{formatTime as X,getJsonContent as J,getJsonPreviewText as Q,parseStackLine as Z,openInVSCode as q,getSize as _,getCleanCallerDisplay as ee}from"../helpers";import Ie from"./TouchableScale";import L from"./LogSyntaxHighlighter";import{ForwardChevronIcon as Te,ExternalLinkIcon as Ce,FlaskIcon as he,ZapIcon as z,GlobeIcon as Se,DiceIcon as me,AtomIcon as U,BarChartIcon as xe,KeyIcon as ye,SmartphoneIcon as Ee,AlertTriangleIcon as Re,BugIcon as Be,TagIcon as Ae,MapPinIcon as $,StorageIcon as Oe,SignalIcon as Pe,FlameIcon as we,MoneyIcon as Ne,CircleCheckIcon as W,CircleAlertIcon as Le,CircleXIcon as ke,RefreshCcwIcon as He,PerformanceIcon as Ve,ChipIcon as De,SettingsIcon as Fe,TerminalIcon as ze,InfoCircleIcon as G,ShieldAlertIcon as Me,LayoutIcon as Ue,ClockIcon as $e,SizeIcon as We}from"./NetworkIcons";import{useInspector as Ge}from"./Inspector/InspectorContext";const ve=(R,t,P,k,H)=>{if(!R)return null;const V=/^((?:\[[^\]]+\]\s*)+)/,w=R.match(V);if(w){const C=w[1],N=R.substring(C.length),T=C.match(/\[[^\]]+\]/g)||[],M=B=>{const e=B.replace(/[\[\]]/g,"").trim().toUpperCase();return e==="AXIOS"?{color:r.emerald600,Icon:z,label:"AXIOS"}:e==="API"||e==="FETCH"||e==="HTTP"||e==="REST"||e==="NETWORK"?{color:r.sky600,Icon:Se,label:e}:e==="GRAPHQL"||e==="GQL"||e==="APOLLO"||e==="MUTATION"||e==="QUERY"?{color:r.pink500,Icon:U,label:e}:e==="WS"||e==="WEBSOCKET"||e==="SOCKET"||e==="SOCKET.IO"||e==="REALTIME"?{color:r.cyan600,Icon:Pe,label:e}:e==="REDUX"||e==="STORE"||e==="STATE"||e==="ZUSTAND"||e==="MOBX"||e==="RECOIL"||e==="ACTION"||e==="DISPATCH"?{color:r.violet600,Icon:U,label:e}:e==="ANALYTICS"||e==="FIREBASE"||e==="GA4"||e==="GA"||e==="SEGMENT"||e==="MIXPANEL"||e==="POSTHOG"||e==="TRACK"||e==="EVENT"?{color:r.teal600,Icon:xe,label:e}:e==="AUTH"||e==="TOKEN"||e==="SESSION"||e==="JWT"||e==="LOGIN"||e==="LOGOUT"||e==="USER"?{color:r.amber600,Icon:ye,label:e}:e==="SECURITY"||e==="SHIELD"||e==="PERMISSION"||e==="PERMISSIONS"?{color:r.indigo600Alt,Icon:Me,label:e}:e==="NAV"||e==="NAVIGATION"||e==="ROUTE"||e==="SCREEN"||e==="ROUTER"||e==="DEEPLINK"?{color:r.indigo600Alt,Icon:$,label:e}:e==="STORAGE"||e==="ASYNCSTORAGE"||e==="MMKV"||e==="SQLITE"||e==="DB"||e==="DATABASE"||e==="REALM"||e==="CACHE"?{color:r.purple500,Icon:Oe,label:e}:e==="PERF"||e==="RENDER"||e==="PERFORMANCE"||e==="FPS"||e==="MEMORY"?{color:r.violet500,Icon:Ve,label:e}:e==="INIT"||e==="BOOT"||e==="STARTUP"||e==="LIFECYCLE"||e==="MOUNT"||e==="UNMOUNT"?{color:r.blue600,Icon:z,label:e}:e==="SYNC"||e==="REFRESH"||e==="BACKGROUND"||e==="JOB"||e==="WORKER"?{color:r.sky600,Icon:He,label:e}:e==="PUSH"||e==="NOTIF"||e==="NOTIFICATION"||e==="FCM"||e==="APNS"?{color:r.darkOrange,Icon:we,label:e}:e==="PAY"||e==="PAYMENT"||e==="STRIPE"||e==="IAP"||e==="BILLING"||e==="CHECKOUT"||e==="CART"?{color:r.emerald600,Icon:Ne,label:e}:e==="DEVICE"||e==="HARDWARE"||e==="BLE"||e==="BLUETOOTH"||e==="NFC"||e==="SENSOR"?{color:r.slate600,Icon:De,label:e}:e==="LOCATION"||e==="GPS"||e==="GEO"?{color:r.emerald600,Icon:$,label:e}:e==="APP"?{color:r.indigo600Alt,Icon:Ee,label:"APP"}:e==="UI"||e==="VIEW"||e==="THEME"||e==="STYLE"||e==="LAYOUT"?{color:r.pink600,Icon:Ue,label:e}:e==="TEST"||e==="MOCK"||e==="SPEC"?{color:r.emerald500,Icon:he,label:"TEST"}:e==="SAMPLE"||e==="BATCH"?{color:r.indigo600Alt,Icon:me,label:e}:e==="CONFIG"||e==="ENV"||e==="SETTINGS"?{color:r.slate700,Icon:Fe,label:e}:e==="DEBUG"||e==="TRACE"?{color:r.purpleText,Icon:ze,label:e}:e==="INFO"?{color:r.sky600,Icon:G,label:"INFO"}:e==="SUCCESS"||e==="OK"||e==="DONE"||e==="PASSED"?{color:r.green600,Icon:W,label:e}:e==="WARN"||e==="WARNING"?{color:r.amber600,Icon:Re,label:"WARN"}:e==="ERROR"||e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?{color:r.red600,Icon:Be,label:e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?e:"ERROR"}:{color:r.slate600,Icon:Ae,label:e}};return<I style={{flexDirection:"column",gap:2}}>
2
2
  <I style={{flexDirection:"row",gap:4,overflow:"hidden"}}>
3
- {z.slice(0,2).map((N,e)=>{const B=O(N),M=B.Icon;return<I key={e}style={[o.prefixTag,{backgroundColor:`${B.color}12`,borderColor:`${B.color}30`}]}>
4
- <M color={B.color}size={8.5}/>
5
- <E style={[o.prefixTagText,{color:B.color}]}>
6
- {B.label}
3
+ {T.slice(0,2).map((B,e)=>{const A=M(B),D=A.Icon;return<I key={e}style={[o.prefixTag,{backgroundColor:`${A.color}12`,borderColor:`${A.color}30`}]}>
4
+ <D color={A.color}size={8.5}/>
5
+ <E style={[o.prefixTagText,{color:A.color}]}>
6
+ {A.label}
7
7
  </E>
8
8
  </I>})}
9
9
  </I>
10
- <L text={T}search={t}style={P}numberOfLines={1}detectLinks={!1}/>
11
- </I>}return<L text={R}search={t}style={P}numberOfLines={H||2}detectLinks={!1}/>};export const ConsoleLogCard=F.memo(function({item:t,searchStr:P="",onPress:k}){const{setSelectedLog:H}=Ge(),{t:V}=v(),C=J(t.message),w=t.message.toLowerCase().includes("[analytics error]"),T=F.useMemo(()=>{const h=ee(t.caller);if(!h)return null;const A=Z(t.caller,!0);return{...A,display:h.display,fileName:h.fileName,lineNumber:h.lineNumber||A.lineNumber}},[t.caller]),O=(()=>{const h=(t.type||"log").toLowerCase(),A=(t.sourceMethod||h).toLowerCase();return w||h==="error"||A==="error"?{badgeColor:r.errorColor,border:r.errorColor,badgeBg:`${r.errorColor}18`,badgeText:r.errorColor,label:"ERROR",cardBg:r.errorCardBg,statusPillBg:`${r.errorColor}14`,statusPillBorder:`${r.errorColor}33`,statusPillText:r.errorColor,StatusIcon:ke}:h==="warn"||A==="warn"?{badgeColor:r.darkOrange,border:r.darkOrange,badgeBg:`${r.darkOrange}18`,badgeText:r.darkOrange,label:"WARN",cardBg:r.warnCardBg,statusPillBg:`${r.darkOrange}14`,statusPillBorder:`${r.darkOrange}33`,statusPillText:r.darkOrange,StatusIcon:Le}:h==="debug"||A==="debug"?{badgeColor:r.purple,border:r.purple,badgeBg:`${r.purple}18`,badgeText:r.purple,label:"DEBUG",cardBg:r.purpleTintBg,statusPillBg:`${r.purple}14`,statusPillBorder:`${r.purple}33`,statusPillText:r.purple,StatusIcon:D}:A==="info"||h==="info"&&A!=="log"?{badgeColor:r.sky600,border:r.sky600,badgeBg:`${r.sky600}18`,badgeText:r.sky600,label:"INFO",cardBg:r.blueTintBg,statusPillBg:`${r.sky600}14`,statusPillBorder:`${r.sky600}33`,statusPillText:r.sky600,StatusIcon:G}:{badgeColor:r.brandPurple,border:r.brandPurple,badgeBg:`${r.brandPurple}15`,badgeText:r.brandPurple,label:"LOG",cardBg:r.white,statusPillBg:`${r.brandPurple}12`,statusPillBorder:`${r.brandPurple}2E`,statusPillText:r.brandPurple,StatusIcon:W}})(),N=O.StatusIcon,e=C?Q(C.data):null,B=()=>{k?k(t):H(t)},M=("sourceMethod"in t?t.sourceMethod:void 0)||t.type||"log";return<I style={o.container}>
12
- <Ie onPress={B}style={[o.card,{borderLeftWidth:3.5,borderLeftColor:O.border,backgroundColor:O.cardBg}]}>
10
+ <L text={N}search={t}style={P}numberOfLines={1}detectLinks={!1}/>
11
+ </I>}return<L text={R}search={t}style={P}numberOfLines={H||2}detectLinks={!1}/>};export const ConsoleLogCard=F.memo(function({item:t,searchStr:P="",onPress:k,testID:H}){const{setSelectedLog:V}=Ge(),{t:w}=v(),C=J(t.message),N=t.message.toLowerCase().includes("[analytics error]"),T=F.useMemo(()=>{const h=ee(t.caller);if(!h)return null;const O=Z(t.caller,!0);return{...O,display:h.display,fileName:h.fileName,lineNumber:h.lineNumber||O.lineNumber}},[t.caller]),B=(()=>{const h=(t.type||"log").toLowerCase(),O=(t.sourceMethod||h).toLowerCase();return N||h==="error"||O==="error"?{badgeColor:r.errorColor,border:r.errorColor,badgeBg:`${r.errorColor}18`,badgeText:r.errorColor,label:"ERROR",cardBg:r.errorCardBg,statusPillBg:`${r.errorColor}14`,statusPillBorder:`${r.errorColor}33`,statusPillText:r.errorColor,StatusIcon:ke}:h==="warn"||O==="warn"?{badgeColor:r.darkOrange,border:r.darkOrange,badgeBg:`${r.darkOrange}18`,badgeText:r.darkOrange,label:"WARN",cardBg:r.warnCardBg,statusPillBg:`${r.darkOrange}14`,statusPillBorder:`${r.darkOrange}33`,statusPillText:r.darkOrange,StatusIcon:Le}:h==="debug"||O==="debug"?{badgeColor:r.purple,border:r.purple,badgeBg:`${r.purple}18`,badgeText:r.purple,label:"DEBUG",cardBg:r.purpleTintBg,statusPillBg:`${r.purple}14`,statusPillBorder:`${r.purple}33`,statusPillText:r.purple,StatusIcon:z}:O==="info"||h==="info"&&O!=="log"?{badgeColor:r.sky600,border:r.sky600,badgeBg:`${r.sky600}18`,badgeText:r.sky600,label:"INFO",cardBg:r.blueTintBg,statusPillBg:`${r.sky600}14`,statusPillBorder:`${r.sky600}33`,statusPillText:r.sky600,StatusIcon:G}:{badgeColor:r.brandPurple,border:r.brandPurple,badgeBg:`${r.brandPurple}15`,badgeText:r.brandPurple,label:"LOG",cardBg:r.white,statusPillBg:`${r.brandPurple}12`,statusPillBorder:`${r.brandPurple}2E`,statusPillText:r.brandPurple,StatusIcon:W}})(),e=B.StatusIcon,A=C?Q(C.data):null,D=()=>{k?k(t):V(t)},Ke=("sourceMethod"in t?t.sourceMethod:void 0)||t.type||"log";return<I style={o.container}>
12
+ <Ie testID={H}onPress={D}style={[o.card,{borderLeftWidth:3.5,borderLeftColor:B.border,backgroundColor:B.cardBg}]}>
13
13
  <I style={o.cardBody}>
14
14
 
15
15
  <I style={o.cardHeaderRow}>
@@ -19,8 +19,8 @@ import F from"react";import{useTranslation as v}from"../i18n";import{Pressable a
19
19
  </E>
20
20
 
21
21
 
22
- <I style={[o.methodBadge,{backgroundColor:O.badgeColor}]}>
23
- <E style={o.methodBadgeText}>{O.label}</E>
22
+ <I style={[o.methodBadge,{backgroundColor:B.badgeColor}]}>
23
+ <E style={o.methodBadgeText}>{B.label}</E>
24
24
  </I>
25
25
 
26
26
 
@@ -48,7 +48,7 @@ import F from"react";import{useTranslation as v}from"../i18n";import{Pressable a
48
48
  <I style={o.messageBox}>
49
49
  {C?<I style={o.jsonPreviewRow}>
50
50
  {C.header?<L text={C.header}search={P}style={o.messageText}detectLinks={!1}numberOfLines={1}/>:null}
51
- {e&&<L text={e.text.replace(/\s+/g," ")}search={P}style={o.jsonPreviewText}detectLinks={!1}numberOfLines={C.header?2:3}/>}
51
+ {A&&<L text={A.text.replace(/\s+/g," ")}search={P}style={o.jsonPreviewText}detectLinks={!1}numberOfLines={C.header?2:3}/>}
52
52
  </I>:ve(t.message,P,o.messageText,o.highlight,3)}
53
53
  </I>
54
54
 
@@ -83,9 +83,9 @@ import F from"react";import{useTranslation as v}from"../i18n";import{Pressable a
83
83
  </E>
84
84
  </I>}
85
85
 
86
- {w&&<I style={[o.chip,{backgroundColor:`${r.skyBlue}15`,borderColor:`${r.skyBlue}30`}]}>
86
+ {N&&<I style={[o.chip,{backgroundColor:`${r.skyBlue}15`,borderColor:`${r.skyBlue}30`}]}>
87
87
  <E style={[o.chipText,{color:r.skyBlue}]}>
88
- {V("console.analyticsBadge")||"ANALYTICS"}
88
+ {w("console.analyticsBadge")||"ANALYTICS"}
89
89
  </E>
90
90
  </I>}
91
91
  </I>
@@ -1,6 +1,6 @@
1
- import F,{useCallback as k,useMemo as P,useRef as ne}from"react";import{FlatList as Se,Pressable as Ce,ScrollView as Q,Text as A,TextInput as Ie,View as S}from"react-native";import{useInspector as Te}from"./InspectorContext";import{useTranslation as xe}from"../../i18n";import H from"../TouchableScale";import Le from"../AnimatedEntrance";import{ConsoleLogCard as Ae}from"../ConsoleLogCard";import Ve from"../EmptyState";import Ee from"../EndOfListFooter";import T from"../../styles";import{AppColors as o}from"../../styles/AppColors";import{AppFonts as z}from"../../styles/AppFonts";import{LogFilter as V}from"../../types";import{SearchIcon as Be,ClearIcon as Fe,SortArrowIcon as Pe,TrashIcon as He,LayersIcon as Re,UserIcon as We,InfoCircleIcon as $e,WarningTriangleIcon as Oe,ErrorCircleIcon as De,AnalyticsIcon as Ne}from"../NetworkIcons";const Y=10,Ue=F.memo(()=>{const{t:C}=xe(),{logSearch:y,setLogSearch:E,logSortOrder:K,setLogSortOrder:X,handleDelete:j,logFilters:h,setLogFilters:R,logCounts:x,filteredConsoleLogs:w,visibleConsoleLogs:D,maxConsoleLogs:W,setSelectedLog:N}=Te(),q=W||100,U=ne(null),[G,M]=F.useState(q);F.useEffect(()=>{M(W||100),U.current?.scrollToOffset({offset:0,animated:!1})},[y,h,W]);const $=P(()=>w.slice(0,G),[w,G]),v=k(e=>{N(e)},[N]),J=k(({item:e,index:t})=><Le index={t}distance={8}>
2
- <Ae item={e}searchStr={y}onPress={v}/>
3
- </Le>,[y,v]),Z=k((e,t)=>({length:148,offset:148*t,index:t}),[]),ee=k((e,t)=>e?.id?.toString()??t.toString(),[]),oe=P(()=>{const e=D.length,t=w.length;if(h.has("all")||!Array.from(h).some(B=>B!=="all"))return<S style={{paddingHorizontal:8,paddingTop:8,paddingBottom:3}}>
1
+ import F,{useCallback as k,useMemo as P,useRef as ne}from"react";import{FlatList as Se,Pressable as Ce,ScrollView as Q,Text as A,TextInput as Ie,View as S}from"react-native";import{useInspector as Te}from"./InspectorContext";import{useTranslation as xe}from"../../i18n";import H from"../TouchableScale";import Le from"../AnimatedEntrance";import{ConsoleLogCard as Ae}from"../ConsoleLogCard";import Ve from"../EmptyState";import Ee from"../EndOfListFooter";import T from"../../styles";import{AppColors as o}from"../../styles/AppColors";import{AppFonts as z}from"../../styles/AppFonts";import{LogFilter as V}from"../../types";import{SearchIcon as Be,ClearIcon as Fe,SortArrowIcon as Pe,TrashIcon as He,LayersIcon as Re,UserIcon as $e,InfoCircleIcon as We,WarningTriangleIcon as De,ErrorCircleIcon as Oe,AnalyticsIcon as Ne}from"../NetworkIcons";const Y=10,Ue=F.memo(()=>{const{t:C}=xe(),{logSearch:y,setLogSearch:E,logSortOrder:K,setLogSortOrder:X,handleDelete:j,logFilters:h,setLogFilters:R,logCounts:x,filteredConsoleLogs:w,visibleConsoleLogs:O,maxConsoleLogs:$,setSelectedLog:N}=Te(),q=$||100,U=ne(null),[G,M]=F.useState(q);F.useEffect(()=>{M($||100),U.current?.scrollToOffset({offset:0,animated:!1})},[y,h,$]);const W=P(()=>w.slice(0,G),[w,G]),v=k(e=>{N(e)},[N]),J=k(({item:e,index:t})=><Le index={t}distance={8}>
2
+ <Ae testID={`inspector.console.item.${t}`}item={e}searchStr={y}onPress={v}/>
3
+ </Le>,[y,v]),Z=k((e,t)=>({length:148,offset:148*t,index:t}),[]),ee=k((e,t)=>e?.id?.toString()??t.toString(),[]),oe=P(()=>{const e=O.length,t=w.length;if(h.has("all")||!Array.from(h).some(B=>B!=="all"))return<S style={{paddingHorizontal:8,paddingTop:8,paddingBottom:3}}>
4
4
  <A style={{fontFamily:z.interMedium,fontSize:11,color:o.grayTextWeak,letterSpacing:.2}}>
5
5
  {t===e?`Showing ${e} logs`:`Showing ${t} of ${e} logs`}
6
6
  </A>
@@ -8,11 +8,11 @@ import F,{useCallback as k,useMemo as P,useRef as ne}from"react";import{FlatList
8
8
  <A style={{fontFamily:z.interMedium,fontSize:11,color:o.grayTextWeak,letterSpacing:.2}}>
9
9
  Filtered by {B.join(", ")} ({t} of {e} logs)
10
10
  </A>
11
- </S>}},[D.length,w.length,h]),[O,_]=F.useState(!1),te=P(()=>["[AXIOS]","[API]","[GRAPHQL]","[REDUX]","[ANALYTICS]","[AUTH]","[NAV]","[STORAGE]","[PERF]","[WS]","[PUSH]","[PAYMENT]","[SYNC]","[BLE]","[LOCATION]","[TEST]","[DEBUG]"],[]),re=P(()=>[{id:V.All,label:C("common.all","All"),count:x.all?.split("/")?.[0]??"0",color:o.purple,Icon:Re},{id:V.UserLog,label:C("console.log","Log"),count:x["user-log"]?.split("/")?.[0]??"0",color:o.teal600,Icon:We},{id:V.Info,label:C("console.info","Info"),count:x.info?.split("/")?.[0]??"0",color:o.sky600,Icon:$e},{id:V.Warn,label:C("console.warning","Warn"),count:x.warn?.split("/")?.[0]??"0",color:o.amber600,Icon:Oe},{id:V.Error,label:C("console.error","Error"),count:x.error?.split("/")?.[0]??"0",color:o.errorColor,Icon:De},{id:V.Analytics,label:C("console.analytics","Analytics"),count:x.analytics?.split("/")?.[0]??"0",color:o.violet600,Icon:Ne}],[x,C]);return<S style={{flex:1}}>
11
+ </S>}},[O.length,w.length,h]),[D,_]=F.useState(!1),te=P(()=>["[AXIOS]","[API]","[GRAPHQL]","[REDUX]","[ANALYTICS]","[AUTH]","[NAV]","[STORAGE]","[PERF]","[WS]","[PUSH]","[PAYMENT]","[SYNC]","[BLE]","[LOCATION]","[TEST]","[DEBUG]"],[]),re=P(()=>[{id:V.All,label:C("common.all","All"),count:x.all?.split("/")?.[0]??"0",color:o.purple,Icon:Re},{id:V.UserLog,label:C("console.log","Log"),count:x["user-log"]?.split("/")?.[0]??"0",color:o.teal600,Icon:$e},{id:V.Info,label:C("console.info","Info"),count:x.info?.split("/")?.[0]??"0",color:o.sky600,Icon:We},{id:V.Warn,label:C("console.warning","Warn"),count:x.warn?.split("/")?.[0]??"0",color:o.amber600,Icon:De},{id:V.Error,label:C("console.error","Error"),count:x.error?.split("/")?.[0]??"0",color:o.errorColor,Icon:Oe},{id:V.Analytics,label:C("console.analytics","Analytics"),count:x.analytics?.split("/")?.[0]??"0",color:o.violet600,Icon:Ne}],[x,C]);return<S style={{flex:1}}>
12
12
  <S style={{backgroundColor:o.white,borderBottomWidth:1,borderBottomColor:o.dividerColor,paddingBottom:6}}>
13
13
  <S style={[T.toolbarRow,{marginTop:12,marginBottom:8}]}>
14
- <S style={[T.searchContainer,O&&{borderColor:o.purple,borderWidth:1.5}]}>
15
- <Be color={O?o.purple:o.grayTextWeak}size={16}/>
14
+ <S style={[T.searchContainer,D&&{borderColor:o.purple,borderWidth:1.5}]}>
15
+ <Be color={D?o.purple:o.grayTextWeak}size={16}/>
16
16
  <Ie placeholder={C("console.searchPlaceholder")}placeholderTextColor={o.grayTextWeak}value={y}onChangeText={E}onFocus={()=>_(!0)}onBlur={()=>_(!1)}style={T.searchInput}autoCorrect={!1}autoCapitalize="none"/>
17
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}}>
@@ -37,7 +37,7 @@ import F,{useCallback as k,useMemo as P,useRef as ne}from"react";import{FlatList
37
37
  </S>
38
38
 
39
39
 
40
- {(O||y.length>0)&&<Q horizontal showsHorizontalScrollIndicator={!1}style={{marginBottom:6,maxHeight:30}}contentContainerStyle={{paddingHorizontal:8,flexDirection:"row",alignItems:"center",gap:6}}>
40
+ {(D||y.length>0)&&<Q horizontal showsHorizontalScrollIndicator={!1}style={{marginBottom:6,maxHeight:30}}contentContainerStyle={{paddingHorizontal:8,flexDirection:"row",alignItems:"center",gap:6}}>
41
41
  {te.map(e=>{const t=y.includes(e);return<H key={e}onPress={()=>{E(t?r=>r.replace(e,"").trim():r=>r?`${r} ${e}`.trim():e)}}>
42
42
  <S style={{paddingHorizontal:8,paddingVertical:3,borderRadius:6,backgroundColor:t?o.purple:`${o.purple}14`,borderWidth:1,borderColor:t?o.purple:`${o.purple}30`}}>
43
43
  <A style={{fontFamily:z.interBold,fontSize:10,color:t?o.white:o.purple}}>
@@ -50,7 +50,7 @@ import F,{useCallback as k,useMemo as P,useRef as ne}from"react";import{FlatList
50
50
 
51
51
  <S style={{flexDirection:"row",alignItems:"center",marginBottom:8,paddingHorizontal:8,gap:6}}>
52
52
  <Q horizontal showsHorizontalScrollIndicator={!1}style={{flex:1}}contentContainerStyle={{flexDirection:"row",alignItems:"center",gap:6,paddingRight:6}}>
53
- {re.map(e=>{const t=e.id==="all"?h.has("all"):h.has(e.id)&&!h.has("all"),r=e.color||o.purple,B=t?o.white:r,I=e.Icon;return<H key={e.id}onPress={()=>{e.id==="all"?R(new Set(["all"])):R(le=>{const L=new Set(le);return L.delete("all"),L.has(e.id)?L.delete(e.id):L.add(e.id),L.size===0&&L.add("all"),L})}}>
53
+ {re.map(e=>{const t=e.id==="all"?h.has("all"):h.has(e.id)&&!h.has("all"),r=e.color||o.purple,B=t?o.white:r,I=e.Icon;return<H testID={`inspector.console.filter.${e.id}`}key={e.id}onPress={()=>{e.id==="all"?R(new Set(["all"])):R(le=>{const L=new Set(le);return L.delete("all"),L.has(e.id)?L.delete(e.id):L.add(e.id),L.size===0&&L.add("all"),L})}}>
54
54
  <S style={{flexDirection:"row",alignItems:"center",paddingHorizontal:9,paddingVertical:4.5,borderRadius:8,backgroundColor:t?r:`${r}12`,borderWidth:1,borderColor:t?r:`${r}30`,gap:5}}>
55
55
  <I size={11}color={B}/>
56
56
  <A style={{fontFamily:z.interBold,fontSize:10.5,color:t?o.white:o.primaryBlack}}>
@@ -67,5 +67,5 @@ import F,{useCallback as k,useMemo as P,useRef as ne}from"react";import{FlatList
67
67
  </S>
68
68
  </S>
69
69
 
70
- <Se ref={U}data={$}keyExtractor={ee}ListHeaderComponent={oe}renderItem={J}getItemLayout={Z}initialNumToRender={10}maxToRenderPerBatch={8}windowSize={5}updateCellsBatchingPeriod={40}removeClippedSubviews={!0}renderToHardwareTextureAndroid={!0}showsVerticalScrollIndicator={!1}nestedScrollEnabled={!0}ListEmptyComponent={<Ve isSearch={y.length>0||!h.has("all")}searchQuery={y}customTitle={y.length>0?"No matching console logs":"No console logs"}onClearSearch={()=>{E(""),R(new Set(["all"]))}}/>}ListFooterComponent={w.length>0?<Ee count={$.length}totalCount={w.length}label="logs"loadMoreStep={Y}hasMore={$.length<w.length}onLoadMore={()=>M(e=>e+Y)}/>:null}style={{flex:1}}contentContainerStyle={[T.listContent,{flexGrow:1}]}keyboardShouldPersistTaps="handled"/>
70
+ <Se ref={U}data={W}keyExtractor={ee}ListHeaderComponent={oe}renderItem={J}getItemLayout={Z}initialNumToRender={10}maxToRenderPerBatch={8}windowSize={5}updateCellsBatchingPeriod={40}removeClippedSubviews={!0}renderToHardwareTextureAndroid={!0}showsVerticalScrollIndicator={!1}nestedScrollEnabled={!0}ListEmptyComponent={<Ve isSearch={y.length>0||!h.has("all")}searchQuery={y}customTitle={y.length>0?"No matching console logs":"No console logs"}onClearSearch={()=>{E(""),R(new Set(["all"]))}}/>}ListFooterComponent={w.length>0?<Ee count={W.length}totalCount={w.length}label="logs"loadMoreStep={Y}hasMore={W.length<w.length}onLoadMore={()=>M(e=>e+Y)}/>:null}style={{flex:1}}contentContainerStyle={[T.listContent,{flexGrow:1}]}keyboardShouldPersistTaps="handled"/>
71
71
  </S>});export default Ue;
@@ -60,7 +60,7 @@ import{useCallback as L,useEffect as X,useRef as d,useState as E}from"react";imp
60
60
  </F>
61
61
  </S>
62
62
  </s.View>:<s.View style={[Ce.fabWrapper,{transform:a.getTranslateTransform()}]}{...ze.panHandlers}>
63
- <F style={{alignItems:"center",justifyContent:"center"}}onPress={()=>{N.current||(u("light"),P(!0))}}hitSlop={10}>
63
+ <F testID="inspector.fab.launcher"style={{width:68,height:68,borderRadius:34,alignItems:"center",justifyContent:"center"}}onPress={()=>{N.current||(u("light"),P(!0))}}hitSlop={10}>
64
64
  <s.View style={[Ce.fabPulseRing,{transform:[{scale:Ve}]}]}/>
65
65
  <Se size={68}customIcon={Q}shape="circle"/>
66
66
  </F>
@@ -1,15 +1,15 @@
1
- import{useCallback as Z,useEffect as G,useRef as v,useState as j}from"react";import{Animated as n,Dimensions as Pe,PanResponder as De,Platform as N,StyleSheet as ee,Text as W,View as S}from"react-native";import Se from"react-native-linear-gradient";import{useInspector as Fe}from"./InspectorContext";import $ from"../TouchableScale";import{GripVerticalIcon as Be,ScreenshotCaptureIcon as Le,ScreenRecordIcon as Ae}from"../NetworkIcons";import{ScreenCapture as C,generateCaptureId as q}from"../../capture";import{triggerNativeHaptic as D}from"../../native/NativeInspector";import{showToast as b}from"../../helpers/toast";import{AppColors as i}from"../../styles/AppColors";import{AppFonts as ve}from"../../styles/AppFonts";import{useTranslation as Oe}from"../../i18n";import{MediaPreviewModal as Ee}from"./MediaPreviewModal";export const FloatingCaptureWidget=()=>{const{refreshMediaCount:x,captureFps:X,captureScale:Y,captureBitrate:B,captureMaxDurationSeconds:H,captureAudioMode:U,activeTab:be,settingsPage:xe,peekMode:Ge,previewMediaItem:z,setPreviewMediaItem:T}=Fe(),{t:s}=Oe(),[M,V]=j(!1),[Ie,L]=j(!1),[Re,A]=j(0),I=v(null),k=v(new n.Value(1)).current,F=v(new n.Value(0)).current,a=v(new n.ValueXY({x:0,y:0})).current,R=v({x:0,y:0});G(()=>{const e=a.x.addListener(o=>R.current.x=o.value),t=a.y.addListener(o=>R.current.y=o.value);return()=>{a.x.removeListener(e),a.y.removeListener(t)}},[a]);const P=v(!1),Ce=v(De.create({onStartShouldSetPanResponder:()=>!0,onStartShouldSetPanResponderCapture:()=>!1,onMoveShouldSetPanResponder:(e,t)=>Math.abs(t.dx)>2||Math.abs(t.dy)>2,onMoveShouldSetPanResponderCapture:(e,t)=>Math.abs(t.dx)>4||Math.abs(t.dy)>4,onPanResponderGrant:()=>{P.current=!0,a.setOffset({x:R.current.x,y:R.current.y}),a.setValue({x:0,y:0})},onPanResponderMove:n.event([null,{dx:a.x,dy:a.y}],{useNativeDriver:!1}),onPanResponderTerminationRequest:()=>!1,onShouldBlockNativeResponder:()=>!0,onPanResponderRelease:()=>{a.flattenOffset(),setTimeout(()=>{P.current=!1},100);const{width:e,height:t}=Pe.get("window"),o=e/2-20,J=-o,K=20,Q=-(t-140),O=R.current.x,E=R.current.y;if(O<J||O>o||E<Q||E>K){const Ve=Math.min(Math.max(O,J),o),ke=Math.min(Math.max(E,Q),K);n.spring(a,{toValue:{x:Ve,y:ke},friction:7,tension:50,useNativeDriver:!1}).start()}},onPanResponderTerminate:()=>{a.flattenOffset(),P.current=!1}})).current;G(()=>{C.isRecording().then(e=>{V(e)}).catch(()=>{})},[]),G(()=>{let e=null;return M?(A(0),I.current=setInterval(()=>{A(t=>t+1)},1e3),e=n.loop(n.sequence([n.timing(k,{toValue:1.15,duration:500,useNativeDriver:!0}),n.timing(k,{toValue:1,duration:500,useNativeDriver:!0})])),e.start()):(I.current&&(clearInterval(I.current),I.current=null),A(0),k.setValue(1)),()=>{I.current&&clearInterval(I.current),e&&e.stop()}},[M,k]);const Te=Z(async()=>{if(!P.current)try{D("light"),L(!0),await new Promise(t=>setTimeout(t,60));const e=await C.takeScreenshot({format:"png",quality:.9,hideInspector:!1});if(L(!1),n.sequence([n.timing(F,{toValue:.65,duration:70,useNativeDriver:!0}),n.timing(F,{toValue:0,duration:200,useNativeDriver:!0})]).start(),e){D("success");const t=q("screenshot",e.format||"png"),o={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};T(o),x?.().catch(()=>{}),b(s("header.screenshotCaptured","Screenshot captured"))}else b(s("header.screenshotFailed","Failed to capture screenshot"))}catch{L(!1),b(s("header.screenshotError","Error capturing screenshot"))}},[x,F,s]),_=Z(async()=>{if(!P.current)try{if(M){D("medium");const e=await C.stopRecording();if(V(!1),e){D("success");const t=q("video",e.format),o={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};T(o),x?.().catch(()=>{}),b(s("header.recordingSaved",{duration:(e.durationMs/1e3).toFixed(1),defaultValue:`Recording saved (${(e.durationMs/1e3).toFixed(1)}s)`}))}}else D("medium"),V(!0),await C.startRecording({fps:X,scale:Y,audioSource:U,bitrate:B>0?B:void 0,maxDurationSeconds:H})?b(s("header.recordingStarted","Recording started")):(V(!1),b(s("header.recordingStartFailed","Failed to start recording")))}catch{b(s("header.recordingError","Error during screen recording")),V(!1)}},[M,X,Y,B,H,U,x,s]),Me=e=>{const t=Math.floor(e/60),o=e%60;return`${t<10?"0":""}${t}:${o<10?"0":""}${o}`};return be==="media"||xe==="media"?null:<>
1
+ import{useCallback as Z,useEffect as G,useRef as b,useState as j}from"react";import{Animated as n,Dimensions as De,PanResponder as Fe,Platform as N,StyleSheet as ee,Text as W,View as S}from"react-native";import Se from"react-native-linear-gradient";import{useInspector as Be}from"./InspectorContext";import $ from"../TouchableScale";import{GripVerticalIcon as Le,ScreenshotCaptureIcon as Ae,ScreenRecordIcon as Oe}from"../NetworkIcons";import{ScreenCapture as C,generateCaptureId as q}from"../../capture";import{triggerNativeHaptic as D}from"../../native/NativeInspector";import{showToast as v}from"../../helpers/toast";import{AppColors as i}from"../../styles/AppColors";import{AppFonts as be}from"../../styles/AppFonts";import{useTranslation as Ee}from"../../i18n";import{MediaPreviewModal as Ge}from"./MediaPreviewModal";export const FloatingCaptureWidget=()=>{const{refreshMediaCount:x,captureFps:X,captureScale:Y,captureBitrate:B,captureMaxDurationSeconds:H,captureAudioMode:U,activeTab:ve,settingsPage:xe,peekMode:je,previewMediaItem:z,setPreviewMediaItem:T,isUpdatePopupVisible:Ie}=Be(),{t:s}=Ee(),[M,V]=j(!1),[Re,L]=j(!1),[Ce,A]=j(0),I=b(null),k=b(new n.Value(1)).current,F=b(new n.Value(0)).current,a=b(new n.ValueXY({x:0,y:0})).current,R=b({x:0,y:0});G(()=>{const e=a.x.addListener(o=>R.current.x=o.value),t=a.y.addListener(o=>R.current.y=o.value);return()=>{a.x.removeListener(e),a.y.removeListener(t)}},[a]);const P=b(!1),Te=b(Fe.create({onStartShouldSetPanResponder:()=>!0,onStartShouldSetPanResponderCapture:()=>!1,onMoveShouldSetPanResponder:(e,t)=>Math.abs(t.dx)>2||Math.abs(t.dy)>2,onMoveShouldSetPanResponderCapture:(e,t)=>Math.abs(t.dx)>4||Math.abs(t.dy)>4,onPanResponderGrant:()=>{P.current=!0,a.setOffset({x:R.current.x,y:R.current.y}),a.setValue({x:0,y:0})},onPanResponderMove:n.event([null,{dx:a.x,dy:a.y}],{useNativeDriver:!1}),onPanResponderTerminationRequest:()=>!1,onShouldBlockNativeResponder:()=>!0,onPanResponderRelease:()=>{a.flattenOffset(),setTimeout(()=>{P.current=!1},100);const{width:e,height:t}=De.get("window"),o=e/2-20,J=-o,K=20,Q=-(t-140),O=R.current.x,E=R.current.y;if(O<J||O>o||E<Q||E>K){const ke=Math.min(Math.max(O,J),o),Pe=Math.min(Math.max(E,Q),K);n.spring(a,{toValue:{x:ke,y:Pe},friction:7,tension:50,useNativeDriver:!1}).start()}},onPanResponderTerminate:()=>{a.flattenOffset(),P.current=!1}})).current;G(()=>{C.isRecording().then(e=>{V(e)}).catch(()=>{})},[]),G(()=>{let e=null;return M?(A(0),I.current=setInterval(()=>{A(t=>t+1)},1e3),e=n.loop(n.sequence([n.timing(k,{toValue:1.15,duration:500,useNativeDriver:!0}),n.timing(k,{toValue:1,duration:500,useNativeDriver:!0})])),e.start()):(I.current&&(clearInterval(I.current),I.current=null),A(0),k.setValue(1)),()=>{I.current&&clearInterval(I.current),e&&e.stop()}},[M,k]);const Me=Z(async()=>{if(!P.current)try{D("light"),L(!0),await new Promise(t=>setTimeout(t,60));const e=await C.takeScreenshot({format:"png",quality:.9,hideInspector:!1});if(L(!1),n.sequence([n.timing(F,{toValue:.65,duration:70,useNativeDriver:!0}),n.timing(F,{toValue:0,duration:200,useNativeDriver:!0})]).start(),e){D("success");const t=q("screenshot",e.format||"png"),o={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};T(o),x?.().catch(()=>{}),v(s("header.screenshotCaptured","Screenshot captured"))}else v(s("header.screenshotFailed","Failed to capture screenshot"))}catch{L(!1),v(s("header.screenshotError","Error capturing screenshot"))}},[x,F,s]),_=Z(async()=>{if(!P.current)try{if(M){D("medium");const e=await C.stopRecording();if(V(!1),e){D("success");const t=q("video",e.format),o={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};T(o),x?.().catch(()=>{}),v(s("header.recordingSaved",{duration:(e.durationMs/1e3).toFixed(1),defaultValue:`Recording saved (${(e.durationMs/1e3).toFixed(1)}s)`}))}}else D("medium"),V(!0),await C.startRecording({fps:X,scale:Y,audioSource:U,bitrate:B>0?B:void 0,maxDurationSeconds:H})?v(s("header.recordingStarted","Recording started")):(V(!1),v(s("header.recordingStartFailed","Failed to start recording")))}catch{v(s("header.recordingError","Error during screen recording")),V(!1)}},[M,X,Y,B,H,U,x,s]),Ve=e=>{const t=Math.floor(e/60),o=e%60;return`${t<10?"0":""}${t}:${o<10?"0":""}${o}`};return ve==="media"||xe==="media"||Ie?null:<>
2
2
 
3
3
  <n.View pointerEvents="none"style={[r.flashOverlay,{opacity:F}]}/>
4
4
 
5
- {!Ie&&!z&&<n.View{...Ce.panHandlers}style={[r.container,{transform:a.getTranslateTransform()}]}>
5
+ {!Re&&!z&&<n.View{...Te.panHandlers}style={[r.container,{transform:a.getTranslateTransform()}]}>
6
6
 
7
7
  {M?<S style={r.recordingShadowWrapper}>
8
8
  <$ onPress={_}style={r.recordingPillWrapper}>
9
9
  <Se colors={[i.rose600,i.rose700]}start={{x:0,y:0}}end={{x:1,y:0}}style={r.recordingPill}>
10
10
  <n.View style={[r.recordingDot,{transform:[{scale:k}]}]}/>
11
11
  <W style={r.recordingText}>
12
- REC {Me(Re)}
12
+ REC {Ve(Ce)}
13
13
  </W>
14
14
  <S style={r.stopIconBadge}>
15
15
  <S style={r.stopIconSquare}/>
@@ -19,9 +19,9 @@ import{useCallback as Z,useEffect as G,useRef as v,useState as j}from"react";imp
19
19
  </S>:<S style={r.dockShadowWrapper}>
20
20
  <Se colors={[i.navy900,i.navy800,i.navy900]}start={{x:0,y:0}}end={{x:1,y:0}}style={r.dockBar}>
21
21
 
22
- <$ onPress={Te}style={r.menuItemBtn}accessible={!0}accessibilityLabel="Take Screenshot">
22
+ <$ onPress={Me}style={r.menuItemBtn}accessible={!0}accessibilityLabel="Take Screenshot">
23
23
  <S style={[r.menuItemIconCircle,{backgroundColor:`${i.sky400}38`}]}>
24
- <Le size={14}color={i.sky400}/>
24
+ <Ae size={14}color={i.sky400}/>
25
25
  </S>
26
26
  <W style={r.menuItemText}>
27
27
  {s("header.screenshot","Screenshot")}
@@ -34,7 +34,7 @@ import{useCallback as Z,useEffect as G,useRef as v,useState as j}from"react";imp
34
34
 
35
35
  <$ onPress={_}style={r.menuItemBtn}accessible={!0}accessibilityLabel={s("header.recordScreen","Record Screen")}>
36
36
  <S style={[r.menuItemIconCircle,{backgroundColor:`${i.rose500}3D`}]}>
37
- <Ae size={14}color={i.rose400}/>
37
+ <Oe size={14}color={i.rose400}/>
38
38
  </S>
39
39
  <W style={r.menuItemText}>
40
40
  {s("header.record","Record")}
@@ -43,12 +43,12 @@ import{useCallback as Z,useEffect as G,useRef as v,useState as j}from"react";imp
43
43
 
44
44
 
45
45
  <S style={r.dragGripArea}>
46
- <Be size={14}color="rgba(255, 255, 255, 0.55)"/>
46
+ <Le size={14}color="rgba(255, 255, 255, 0.55)"/>
47
47
  </S>
48
48
  </Se>
49
49
  </S>}
50
50
  </n.View>}
51
51
 
52
52
 
53
- <Ee item={z}visible={!!z}onClose={()=>T(null)}onDelete={async e=>{await C.deleteMedia(e.uri),x?.().catch(()=>{}),T(null)}}onConvertToGif={async e=>{const t=await C.convertToGif(e.uri,{fps:12,width:480});if(t){x?.().catch(()=>{});const o=q("anim","gif");T({id:o,type:"gif",format:"gif",uri:t.uri,filename:t.uri.split("/").pop()||o,sizeBytes:t.sizeBytes,timestamp:t.timestamp,durationMs:t.durationMs})}}}/>
54
- </>};const r=ee.create({flashOverlay:{...ee.absoluteFillObject,backgroundColor:i.white,zIndex:999999},container:{position:"absolute",bottom:N.OS==="ios"?22:16,alignSelf:"center",alignItems:"center",justifyContent:"center",zIndex:999999,elevation:999999},dockShadowWrapper:{borderRadius:24,backgroundColor:"#0D1120",...N.select({ios:{shadowColor:i.black,shadowOffset:{width:0,height:6},shadowOpacity:.45,shadowRadius:14},android:{elevation:16}})},dockBar:{flexDirection:"row",alignItems:"center",borderRadius:24,overflow:"hidden"},dragGripArea:{paddingLeft:6,paddingRight:12,paddingVertical:10,alignItems:"center",justifyContent:"center"},dockDivider:{width:1,height:18,backgroundColor:"rgba(255, 255, 255, 0.14)"},menuItemBtn:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:7,paddingVertical:8.5,paddingHorizontal:12},menuItemIconCircle:{width:24,height:24,borderRadius:12,alignItems:"center",justifyContent:"center"},menuItemText:{fontFamily:ve.interSemiBold,fontSize:12,color:i.white,letterSpacing:.1},recordingShadowWrapper:{borderRadius:22,alignItems:"center",justifyContent:"center",...N.select({ios:{shadowColor:"#E11D48",shadowOffset:{width:0,height:4},shadowOpacity:.5,shadowRadius:12},android:{elevation:14}})},recordingPillWrapper:{borderRadius:22,overflow:"hidden"},recordingPill:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:8,height:38,paddingHorizontal:14,borderRadius:22,borderWidth:1.5,borderColor:"rgba(255, 255, 255, 0.45)"},recordingDot:{width:8,height:8,borderRadius:4,backgroundColor:"#FFFFFF"},recordingText:{fontFamily:ve.interBold,fontSize:12,color:i.white,letterSpacing:.4},stopIconBadge:{width:18,height:18,borderRadius:9,backgroundColor:"rgba(255, 255, 255, 0.28)",alignItems:"center",justifyContent:"center",marginLeft:3},stopIconSquare:{width:6,height:6,borderRadius:1.5,backgroundColor:i.white}});export default FloatingCaptureWidget;
53
+ <Ge item={z}visible={!!z}onClose={()=>T(null)}onDelete={async e=>{await C.deleteMedia(e.uri),x?.().catch(()=>{}),T(null)}}onConvertToGif={async e=>{const t=await C.convertToGif(e.uri,{fps:12,width:480});if(t){x?.().catch(()=>{});const o=q("anim","gif");T({id:o,type:"gif",format:"gif",uri:t.uri,filename:t.uri.split("/").pop()||o,sizeBytes:t.sizeBytes,timestamp:t.timestamp,durationMs:t.durationMs})}}}/>
54
+ </>};const r=ee.create({flashOverlay:{...ee.absoluteFillObject,backgroundColor:i.white,zIndex:999999},container:{position:"absolute",bottom:N.OS==="ios"?22:16,alignSelf:"center",alignItems:"center",justifyContent:"center",zIndex:999999,elevation:999999},dockShadowWrapper:{borderRadius:24,backgroundColor:"#0D1120",...N.select({ios:{shadowColor:i.black,shadowOffset:{width:0,height:6},shadowOpacity:.45,shadowRadius:14},android:{elevation:16}})},dockBar:{flexDirection:"row",alignItems:"center",borderRadius:24,overflow:"hidden"},dragGripArea:{paddingLeft:6,paddingRight:12,paddingVertical:10,alignItems:"center",justifyContent:"center"},dockDivider:{width:1,height:18,backgroundColor:"rgba(255, 255, 255, 0.14)"},menuItemBtn:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:7,paddingVertical:8.5,paddingHorizontal:12},menuItemIconCircle:{width:24,height:24,borderRadius:12,alignItems:"center",justifyContent:"center"},menuItemText:{fontFamily:be.interSemiBold,fontSize:12,color:i.white,letterSpacing:.1},recordingShadowWrapper:{borderRadius:22,alignItems:"center",justifyContent:"center",...N.select({ios:{shadowColor:"#E11D48",shadowOffset:{width:0,height:4},shadowOpacity:.5,shadowRadius:12},android:{elevation:14}})},recordingPillWrapper:{borderRadius:22,overflow:"hidden"},recordingPill:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:8,height:38,paddingHorizontal:14,borderRadius:22,borderWidth:1.5,borderColor:"rgba(255, 255, 255, 0.45)"},recordingDot:{width:8,height:8,borderRadius:4,backgroundColor:"#FFFFFF"},recordingText:{fontFamily:be.interBold,fontSize:12,color:i.white,letterSpacing:.4},stopIconBadge:{width:18,height:18,borderRadius:9,backgroundColor:"rgba(255, 255, 255, 0.28)",alignItems:"center",justifyContent:"center",marginLeft:3},stopIconSquare:{width:6,height:6,borderRadius:1.5,backgroundColor:i.white}});export default FloatingCaptureWidget;