react-native-inapp-inspector 2.4.0 → 2.4.2

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 (231) hide show
  1. package/README.ar.md +163 -0
  2. package/README.de.md +163 -0
  3. package/README.es.md +164 -0
  4. package/README.fr.md +163 -0
  5. package/README.hi.md +163 -0
  6. package/README.ja.md +180 -0
  7. package/README.ko.md +163 -0
  8. package/README.md +340 -243
  9. package/README.pt-BR.md +163 -0
  10. package/README.ru.md +163 -0
  11. package/README.zh-CN.md +387 -0
  12. package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +82 -21
  13. package/assets/banner_dark.svg +186 -0
  14. package/assets/banner_light.svg +186 -0
  15. package/assets/icon_circle.svg +148 -0
  16. package/assets/icon_square.svg +369 -0
  17. package/assets/inapp_inspector_icon.gif +0 -0
  18. package/assets/inapp_inspector_icon_original.gif +0 -0
  19. package/assets/social_preview.png +0 -0
  20. package/assets/walkthrough.gif +0 -0
  21. package/dist/commonjs/components/AnimatedBrandOwl.d.ts +7 -0
  22. package/dist/commonjs/components/AnimatedBrandOwl.js +175 -0
  23. package/dist/commonjs/components/AppHeaderLogo.d.ts +1 -0
  24. package/dist/commonjs/components/AppHeaderLogo.js +7 -5
  25. package/dist/commonjs/components/BrandSquareIcon.d.ts +5 -0
  26. package/dist/commonjs/components/BrandSquareIcon.js +139 -0
  27. package/dist/commonjs/components/ConsoleLogCard.d.ts +2 -1
  28. package/dist/commonjs/components/ConsoleLogCard.js +23 -39
  29. package/dist/commonjs/components/Inspector/AboutModal.js +44 -54
  30. package/dist/commonjs/components/Inspector/AnalyticsTab.js +16 -16
  31. package/dist/commonjs/components/Inspector/ConfirmationModal.d.ts +13 -0
  32. package/dist/commonjs/components/Inspector/ConfirmationModal.js +32 -0
  33. package/dist/commonjs/components/Inspector/ConsoleTab.js +15 -15
  34. package/dist/commonjs/components/Inspector/CrashTab.js +25 -23
  35. package/dist/commonjs/components/Inspector/DebuggingTab.js +17 -17
  36. package/dist/commonjs/components/Inspector/FabLauncher.js +22 -30
  37. package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +2 -2
  38. package/dist/commonjs/components/Inspector/LanguageSelectorModal.d.ts +15 -0
  39. package/dist/commonjs/components/Inspector/LanguageSelectorModal.js +90 -0
  40. package/dist/commonjs/components/Inspector/MainScreen.js +46 -33
  41. package/dist/commonjs/components/Inspector/MediaGalleryTab.js +21 -19
  42. package/dist/commonjs/components/Inspector/MediaPreviewModal.js +85 -101
  43. package/dist/commonjs/components/Inspector/NetworkTab.js +50 -50
  44. package/dist/commonjs/components/Inspector/NpmUpdateToast.js +1 -1
  45. package/dist/commonjs/components/Inspector/PushCard.d.ts +3 -2
  46. package/dist/commonjs/components/Inspector/PushCard.js +5 -4
  47. package/dist/commonjs/components/Inspector/PushDetail.js +32 -23
  48. package/dist/commonjs/components/Inspector/PushTab.js +13 -13
  49. package/dist/commonjs/components/Inspector/ReduxDetail.js +32 -32
  50. package/dist/commonjs/components/Inspector/ReduxTab.js +14 -14
  51. package/dist/commonjs/components/Inspector/SettingsPanel.js +258 -139
  52. package/dist/commonjs/components/Inspector/SocketCard.d.ts +5 -0
  53. package/dist/commonjs/components/Inspector/SocketCard.js +116 -0
  54. package/dist/commonjs/components/Inspector/SocketDetail.d.ts +4 -0
  55. package/dist/commonjs/components/Inspector/SocketDetail.js +317 -0
  56. package/dist/commonjs/components/Inspector/SocketFilterModal.d.ts +13 -0
  57. package/dist/commonjs/components/Inspector/SocketFilterModal.js +69 -0
  58. package/dist/commonjs/components/Inspector/SocketTab.d.ts +3 -0
  59. package/dist/commonjs/components/Inspector/SocketTab.js +112 -0
  60. package/dist/commonjs/components/Inspector/StorageTab.js +34 -32
  61. package/dist/commonjs/components/Inspector/SupportModal.d.ts +7 -0
  62. package/dist/commonjs/components/Inspector/SupportModal.js +125 -0
  63. package/dist/commonjs/components/Inspector/SupportPage.d.ts +5 -0
  64. package/dist/commonjs/components/Inspector/SupportPage.js +227 -0
  65. package/dist/commonjs/components/Inspector/TabBar.js +24 -23
  66. package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +24 -24
  67. package/dist/commonjs/components/JsonViewer.js +7 -7
  68. package/dist/commonjs/components/LogCard.d.ts +3 -2
  69. package/dist/commonjs/components/LogCard.js +17 -14
  70. package/dist/commonjs/components/LogSyntaxHighlighter.js +5 -5
  71. package/dist/commonjs/components/ModuleErrorBoundary.js +2 -2
  72. package/dist/commonjs/components/NetworkIcons.d.ts +15 -0
  73. package/dist/commonjs/components/NetworkIcons.js +38 -3
  74. package/dist/commonjs/components/SegmentedTabs.js +1 -1
  75. package/dist/commonjs/constants/version.d.ts +1 -1
  76. package/dist/commonjs/constants/version.js +1 -1
  77. package/dist/commonjs/customHooks/socketLogger.d.ts +26 -0
  78. package/dist/commonjs/customHooks/socketLogger.js +2 -0
  79. package/dist/commonjs/helpers/index.js +3 -3
  80. package/dist/commonjs/helpers/memoryManager.d.ts +1 -0
  81. package/dist/commonjs/helpers/memoryManager.js +1 -1
  82. package/dist/commonjs/helpers/searchQueryParser.d.ts +1 -1
  83. package/dist/commonjs/helpers/searchQueryParser.js +5 -1
  84. package/dist/commonjs/helpers/settingsStore.d.ts +1 -0
  85. package/dist/commonjs/helpers/settingsStore.js +1 -1
  86. package/dist/commonjs/helpers/shareFormatter.d.ts +3 -1
  87. package/dist/commonjs/helpers/shareFormatter.js +8 -7
  88. package/dist/commonjs/i18n/index.d.ts +99 -1
  89. package/dist/commonjs/i18n/index.js +1 -1
  90. package/dist/commonjs/i18n/locales/ar.json +1 -1
  91. package/dist/commonjs/i18n/locales/bn.json +1 -0
  92. package/dist/commonjs/i18n/locales/de.json +1 -1
  93. package/dist/commonjs/i18n/locales/en.json +1 -1
  94. package/dist/commonjs/i18n/locales/es.json +1 -1
  95. package/dist/commonjs/i18n/locales/fr.json +1 -1
  96. package/dist/commonjs/i18n/locales/gu.json +1 -0
  97. package/dist/commonjs/i18n/locales/hi.json +1 -1
  98. package/dist/commonjs/i18n/locales/id.json +1 -0
  99. package/dist/commonjs/i18n/locales/it.json +1 -0
  100. package/dist/commonjs/i18n/locales/ja.json +1 -1
  101. package/dist/commonjs/i18n/locales/kn.json +1 -0
  102. package/dist/commonjs/i18n/locales/ko.json +1 -1
  103. package/dist/commonjs/i18n/locales/ml.json +1 -0
  104. package/dist/commonjs/i18n/locales/mr.json +1 -0
  105. package/dist/commonjs/i18n/locales/nl.json +1 -0
  106. package/dist/commonjs/i18n/locales/pa.json +1 -0
  107. package/dist/commonjs/i18n/locales/pl.json +1 -0
  108. package/dist/commonjs/i18n/locales/pt.json +1 -1
  109. package/dist/commonjs/i18n/locales/ru.json +1 -1
  110. package/dist/commonjs/i18n/locales/ta.json +1 -0
  111. package/dist/commonjs/i18n/locales/te.json +1 -0
  112. package/dist/commonjs/i18n/locales/tr.json +1 -0
  113. package/dist/commonjs/i18n/locales/vi.json +1 -0
  114. package/dist/commonjs/i18n/locales/zh.json +1 -1
  115. package/dist/commonjs/index.d.ts +13 -13
  116. package/dist/commonjs/index.js +5 -4
  117. package/dist/commonjs/native/NativeInspector.d.ts +1 -0
  118. package/dist/commonjs/socket.d.ts +4 -0
  119. package/dist/commonjs/socket.js +1 -0
  120. package/dist/commonjs/styles/index.d.ts +23 -0
  121. package/dist/commonjs/styles/index.js +1 -1
  122. package/dist/commonjs/types/enums.d.ts +40 -0
  123. package/dist/commonjs/types/enums.js +1 -1
  124. package/dist/commonjs/types/interfaces.d.ts +122 -1
  125. package/dist/esm/components/AnimatedBrandOwl.d.ts +7 -0
  126. package/dist/esm/components/AnimatedBrandOwl.js +175 -0
  127. package/dist/esm/components/AppHeaderLogo.d.ts +1 -0
  128. package/dist/esm/components/AppHeaderLogo.js +7 -5
  129. package/dist/esm/components/BrandSquareIcon.d.ts +5 -0
  130. package/dist/esm/components/BrandSquareIcon.js +139 -0
  131. package/dist/esm/components/ConsoleLogCard.d.ts +2 -1
  132. package/dist/esm/components/ConsoleLogCard.js +61 -77
  133. package/dist/esm/components/Inspector/AboutModal.js +85 -95
  134. package/dist/esm/components/Inspector/AnalyticsTab.js +31 -31
  135. package/dist/esm/components/Inspector/ConfirmationModal.d.ts +13 -0
  136. package/dist/esm/components/Inspector/ConfirmationModal.js +32 -0
  137. package/dist/esm/components/Inspector/ConsoleTab.js +49 -49
  138. package/dist/esm/components/Inspector/CrashTab.js +40 -38
  139. package/dist/esm/components/Inspector/DebuggingTab.js +29 -29
  140. package/dist/esm/components/Inspector/FabLauncher.js +50 -58
  141. package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +7 -7
  142. package/dist/esm/components/Inspector/LanguageSelectorModal.d.ts +15 -0
  143. package/dist/esm/components/Inspector/LanguageSelectorModal.js +90 -0
  144. package/dist/esm/components/Inspector/MainScreen.js +123 -110
  145. package/dist/esm/components/Inspector/MediaGalleryTab.js +64 -62
  146. package/dist/esm/components/Inspector/MediaPreviewModal.js +107 -123
  147. package/dist/esm/components/Inspector/NetworkTab.js +90 -90
  148. package/dist/esm/components/Inspector/NpmUpdateToast.js +1 -1
  149. package/dist/esm/components/Inspector/PushCard.d.ts +3 -2
  150. package/dist/esm/components/Inspector/PushCard.js +23 -22
  151. package/dist/esm/components/Inspector/PushDetail.js +34 -25
  152. package/dist/esm/components/Inspector/PushTab.js +25 -25
  153. package/dist/esm/components/Inspector/ReduxDetail.js +42 -42
  154. package/dist/esm/components/Inspector/ReduxTab.js +35 -35
  155. package/dist/esm/components/Inspector/SettingsPanel.js +495 -376
  156. package/dist/esm/components/Inspector/SocketCard.d.ts +5 -0
  157. package/dist/esm/components/Inspector/SocketCard.js +116 -0
  158. package/dist/esm/components/Inspector/SocketDetail.d.ts +4 -0
  159. package/dist/esm/components/Inspector/SocketDetail.js +317 -0
  160. package/dist/esm/components/Inspector/SocketFilterModal.d.ts +13 -0
  161. package/dist/esm/components/Inspector/SocketFilterModal.js +69 -0
  162. package/dist/esm/components/Inspector/SocketTab.d.ts +3 -0
  163. package/dist/esm/components/Inspector/SocketTab.js +112 -0
  164. package/dist/esm/components/Inspector/StorageTab.js +136 -134
  165. package/dist/esm/components/Inspector/SupportModal.d.ts +7 -0
  166. package/dist/esm/components/Inspector/SupportModal.js +125 -0
  167. package/dist/esm/components/Inspector/SupportPage.d.ts +5 -0
  168. package/dist/esm/components/Inspector/SupportPage.js +227 -0
  169. package/dist/esm/components/Inspector/TabBar.js +36 -35
  170. package/dist/esm/components/Inspector/UpdateAvailableModal.js +22 -22
  171. package/dist/esm/components/JsonViewer.js +55 -55
  172. package/dist/esm/components/LogCard.d.ts +3 -2
  173. package/dist/esm/components/LogCard.js +61 -58
  174. package/dist/esm/components/LogSyntaxHighlighter.js +5 -5
  175. package/dist/esm/components/ModuleErrorBoundary.js +23 -23
  176. package/dist/esm/components/NetworkIcons.d.ts +15 -0
  177. package/dist/esm/components/NetworkIcons.js +38 -3
  178. package/dist/esm/components/SegmentedTabs.js +7 -7
  179. package/dist/esm/constants/version.d.ts +1 -1
  180. package/dist/esm/constants/version.js +1 -1
  181. package/dist/esm/customHooks/socketLogger.d.ts +26 -0
  182. package/dist/esm/customHooks/socketLogger.js +2 -0
  183. package/dist/esm/helpers/index.js +3 -3
  184. package/dist/esm/helpers/memoryManager.d.ts +1 -0
  185. package/dist/esm/helpers/memoryManager.js +1 -1
  186. package/dist/esm/helpers/searchQueryParser.d.ts +1 -1
  187. package/dist/esm/helpers/searchQueryParser.js +5 -1
  188. package/dist/esm/helpers/settingsStore.d.ts +1 -0
  189. package/dist/esm/helpers/settingsStore.js +1 -1
  190. package/dist/esm/helpers/shareFormatter.d.ts +3 -1
  191. package/dist/esm/helpers/shareFormatter.js +8 -7
  192. package/dist/esm/i18n/index.d.ts +99 -1
  193. package/dist/esm/i18n/index.js +1 -1
  194. package/dist/esm/i18n/locales/ar.json +1 -1
  195. package/dist/esm/i18n/locales/bn.json +1 -0
  196. package/dist/esm/i18n/locales/de.json +1 -1
  197. package/dist/esm/i18n/locales/en.json +1 -1
  198. package/dist/esm/i18n/locales/es.json +1 -1
  199. package/dist/esm/i18n/locales/fr.json +1 -1
  200. package/dist/esm/i18n/locales/gu.json +1 -0
  201. package/dist/esm/i18n/locales/hi.json +1 -1
  202. package/dist/esm/i18n/locales/id.json +1 -0
  203. package/dist/esm/i18n/locales/it.json +1 -0
  204. package/dist/esm/i18n/locales/ja.json +1 -1
  205. package/dist/esm/i18n/locales/kn.json +1 -0
  206. package/dist/esm/i18n/locales/ko.json +1 -1
  207. package/dist/esm/i18n/locales/ml.json +1 -0
  208. package/dist/esm/i18n/locales/mr.json +1 -0
  209. package/dist/esm/i18n/locales/nl.json +1 -0
  210. package/dist/esm/i18n/locales/pa.json +1 -0
  211. package/dist/esm/i18n/locales/pl.json +1 -0
  212. package/dist/esm/i18n/locales/pt.json +1 -1
  213. package/dist/esm/i18n/locales/ru.json +1 -1
  214. package/dist/esm/i18n/locales/ta.json +1 -0
  215. package/dist/esm/i18n/locales/te.json +1 -0
  216. package/dist/esm/i18n/locales/tr.json +1 -0
  217. package/dist/esm/i18n/locales/vi.json +1 -0
  218. package/dist/esm/i18n/locales/zh.json +1 -1
  219. package/dist/esm/index.d.ts +13 -13
  220. package/dist/esm/index.js +8 -7
  221. package/dist/esm/native/NativeInspector.d.ts +1 -0
  222. package/dist/esm/socket.d.ts +4 -0
  223. package/dist/esm/socket.js +1 -0
  224. package/dist/esm/styles/index.d.ts +23 -0
  225. package/dist/esm/styles/index.js +1 -1
  226. package/dist/esm/types/enums.d.ts +40 -0
  227. package/dist/esm/types/enums.js +1 -1
  228. package/dist/esm/types/interfaces.d.ts +122 -1
  229. package/ios/NetworkInspectorModule.mm +102 -12
  230. package/package.json +204 -2
  231. package/src/native/NativeInspector.ts +8 -0
@@ -0,0 +1,175 @@
1
+ "use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(r,t,e,o){o===void 0&&(o=e);var i=Object.getOwnPropertyDescriptor(t,e);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(r,o,i)}):(function(r,t,e,o){o===void 0&&(o=e),r[o]=t[e]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}):function(r,t){r.default=t}),__importStar=this&&this.__importStar||(function(){var r=function(t){return r=Object.getOwnPropertyNames||function(e){var o=[];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[o.length]=i);return o},r(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var o=r(t),i=0;i<o.length;i++)o[i]!=="default"&&__createBinding(e,t,o[i]);return __setModuleDefault(e,t),e}})();Object.defineProperty(exports,"__esModule",{value:!0}),exports.AnimatedBrandOwl=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),react_native_svg_1=__importStar(require("react-native-svg")),AnimatedBrandOwl=({size:r=64,shape:t="square"})=>{const e=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current;(0,react_1.useEffect)(()=>{const n=react_native_1.Animated.loop(react_native_1.Animated.sequence([react_native_1.Animated.timing(e,{toValue:1,duration:2200,easing:react_native_1.Easing.inOut(react_native_1.Easing.sin),useNativeDriver:!0}),react_native_1.Animated.timing(e,{toValue:0,duration:2200,easing:react_native_1.Easing.inOut(react_native_1.Easing.sin),useNativeDriver:!0})]));return n.start(),()=>n.stop()},[e]);const o=e.interpolate({inputRange:[0,1],outputRange:[0,-8]}),i=e.interpolate({inputRange:[0,.5,1],outputRange:["0deg","-1.8deg","0deg"]}),a=t==="square",l=a?Math.round(r*.2265):r/2;return<react_native_1.View style={[styles.container,{width:r,height:r,borderRadius:l}]}>
2
+ <react_native_1.Animated.View style={[styles.animatedLayer,{transform:[{translateY:o},{rotate:i}]}]}>
3
+ <react_native_svg_1.default width={r}height={r}viewBox="0 0 256 256"fill="none">
4
+ <react_native_svg_1.Defs>
5
+
6
+ <react_native_svg_1.LinearGradient id="owl_beam"x1="70"y1="74"x2="194"y2="187"gradientUnits="userSpaceOnUse">
7
+ <react_native_svg_1.Stop offset="0"stopColor="#5EEAD4"/>
8
+ <react_native_svg_1.Stop offset="0.5"stopColor="#38BDF8"/>
9
+ <react_native_svg_1.Stop offset="1"stopColor="#A78BFA"/>
10
+ </react_native_svg_1.LinearGradient>
11
+
12
+
13
+ <react_native_svg_1.RadialGradient id="owl_halo"cx="0.5"cy="0.45"r="0.55">
14
+ <react_native_svg_1.Stop offset="0"stopColor="#38BDF8"stopOpacity={.25}/>
15
+ <react_native_svg_1.Stop offset="1"stopColor="#38BDF8"stopOpacity={0}/>
16
+ </react_native_svg_1.RadialGradient>
17
+
18
+
19
+ <react_native_svg_1.LinearGradient id="owl_body"x1="78"y1="60"x2="178"y2="186"gradientUnits="userSpaceOnUse">
20
+ <react_native_svg_1.Stop offset="0"stopColor="#24345F"/>
21
+ <react_native_svg_1.Stop offset="1"stopColor="#121B35"/>
22
+ </react_native_svg_1.LinearGradient>
23
+
24
+
25
+ <react_native_svg_1.LinearGradient id="owl_beak"x1="120"y1="151"x2="136"y2="168"gradientUnits="userSpaceOnUse">
26
+ <react_native_svg_1.Stop offset="0"stopColor="#FCD34D"/>
27
+ <react_native_svg_1.Stop offset="1"stopColor="#FB923C"/>
28
+ </react_native_svg_1.LinearGradient>
29
+
30
+
31
+ <react_native_svg_1.RadialGradient id="owl_iris"cx="0.42"cy="0.38"r="0.72">
32
+ <react_native_svg_1.Stop offset="0"stopColor="#FDE68A"/>
33
+ <react_native_svg_1.Stop offset="0.5"stopColor="#FBBF24"/>
34
+ <react_native_svg_1.Stop offset="1"stopColor="#F59E0B"/>
35
+ </react_native_svg_1.RadialGradient>
36
+
37
+
38
+ <react_native_svg_1.RadialGradient id="owl_blush"cx="0.5"cy="0.5"r="0.5">
39
+ <react_native_svg_1.Stop offset="0"stopColor="#FB7185"stopOpacity={.6}/>
40
+ <react_native_svg_1.Stop offset="1"stopColor="#FB7185"stopOpacity={0}/>
41
+ </react_native_svg_1.RadialGradient>
42
+
43
+
44
+ <react_native_svg_1.LinearGradient id="owl_wing"x1="70"y1="120"x2="190"y2="206"gradientUnits="userSpaceOnUse">
45
+ <react_native_svg_1.Stop offset="0"stopColor="#1D2A4F"/>
46
+ <react_native_svg_1.Stop offset="1"stopColor="#0F1735"/>
47
+ </react_native_svg_1.LinearGradient>
48
+
49
+
50
+ <react_native_svg_1.LinearGradient id="owl_faceplate"x1="70"y1="72"x2="186"y2="152"gradientUnits="userSpaceOnUse">
51
+ <react_native_svg_1.Stop offset="0"stopColor="#3B528D"/>
52
+ <react_native_svg_1.Stop offset="1"stopColor="#223358"/>
53
+ </react_native_svg_1.LinearGradient>
54
+
55
+
56
+ <react_native_svg_1.RadialGradient id="owl_lensglass"cx="0.4"cy="0.32"r="0.75">
57
+ <react_native_svg_1.Stop offset="0"stopColor="#7DE8FF"stopOpacity={.25}/>
58
+ <react_native_svg_1.Stop offset="0.7"stopColor="#7DE8FF"stopOpacity={.06}/>
59
+ <react_native_svg_1.Stop offset="1"stopColor="#7DE8FF"stopOpacity={0}/>
60
+ </react_native_svg_1.RadialGradient>
61
+
62
+
63
+ <react_native_svg_1.LinearGradient id="owl_belly"x1="94"y1="126"x2="162"y2="212"gradientUnits="userSpaceOnUse">
64
+ <react_native_svg_1.Stop offset="0"stopColor="#384F88"/>
65
+ <react_native_svg_1.Stop offset="1"stopColor="#20305C"/>
66
+ </react_native_svg_1.LinearGradient>
67
+
68
+
69
+ <react_native_svg_1.LinearGradient id="owl_tile"x1="30"y1="30"x2="210"y2="222"gradientUnits="userSpaceOnUse">
70
+ <react_native_svg_1.Stop offset="0"stopColor="#141B33"/>
71
+ <react_native_svg_1.Stop offset="1"stopColor="#0A0E1C"/>
72
+ </react_native_svg_1.LinearGradient>
73
+
74
+
75
+ <react_native_svg_1.LinearGradient id="owl_edge"x1="14"y1="22"x2="220"y2="228"gradientUnits="userSpaceOnUse">
76
+ <react_native_svg_1.Stop offset="0"stopColor="#3A4E7A"/>
77
+ <react_native_svg_1.Stop offset="1"stopColor="#1A2238"/>
78
+ </react_native_svg_1.LinearGradient>
79
+ </react_native_svg_1.Defs>
80
+
81
+
82
+ {a?<>
83
+ <react_native_svg_1.Rect x={8}y={8}width={240}height={240}rx={58}fill="url(#owl_tile)"/>
84
+ <react_native_svg_1.Rect x={8.6}y={8.6}width={238.8}height={238.8}rx={57.4}fill="none"stroke="url(#owl_edge)"strokeOpacity={.75}strokeWidth={1.6}/>
85
+ <react_native_svg_1.Circle cx={128}cy={128}r={104}fill="url(#owl_halo)"/>
86
+ </>:<>
87
+ <react_native_svg_1.Circle cx={128}cy={128}r={122}fill="url(#owl_tile)"/>
88
+ <react_native_svg_1.Circle cx={128}cy={128}r={121.4}fill="none"stroke="url(#owl_edge)"strokeOpacity={.75}strokeWidth={1.6}/>
89
+ <react_native_svg_1.Circle cx={128}cy={128}r={105}fill="url(#owl_halo)"/>
90
+ </>}
91
+
92
+
93
+ <react_native_svg_1.G transform={a?"translate(128 128) scale(1.16) translate(-128 -134)":"translate(128 132) scale(1.08) translate(-128 -134)"}>
94
+
95
+ <react_native_svg_1.Path d="M74 124 C58 154 60 190 86 204 C79 176 77 148 88 126 Z"fill="url(#owl_wing)"stroke="url(#owl_beam)"strokeWidth={2.5}strokeOpacity={.5}/>
96
+ <react_native_svg_1.Path d="M182 124 C198 154 196 190 170 204 C177 176 179 148 168 126 Z"fill="url(#owl_wing)"stroke="url(#owl_beam)"strokeWidth={2.5}strokeOpacity={.5}/>
97
+
98
+
99
+ <react_native_svg_1.Path d="M62 150 C58 104 70 70 90 58 L98 42 L116 62 Q128 57 140 62 L158 42 L166 58 C186 70 198 104 194 150 C198 180 184 204 152 212 C140 216 116 216 104 212 C72 204 58 180 62 150 Z"fill="url(#owl_body)"stroke="url(#owl_beam)"strokeWidth={4}strokeLinejoin="round"/>
100
+
101
+
102
+ <react_native_svg_1.Path d="M99 48 L114 62 L104 63 L98 55 Z"fill="#080F22"opacity={.55}/>
103
+ <react_native_svg_1.Path d="M157 48 L142 62 L152 63 L158 55 Z"fill="#080F22"opacity={.55}/>
104
+
105
+
106
+ <react_native_svg_1.G stroke="#22325A"strokeWidth={2.2}fill="none"strokeLinecap="round"opacity={.75}>
107
+ <react_native_svg_1.Path d="M80 138 q-5 26 3 50"/>
108
+ <react_native_svg_1.Path d="M90 134 q-4 26 3 48"/>
109
+ <react_native_svg_1.Path d="M176 138 q5 26 -3 50"/>
110
+ <react_native_svg_1.Path d="M166 134 q4 26 -3 48"/>
111
+ </react_native_svg_1.G>
112
+
113
+
114
+ <react_native_svg_1.Path d="M128 126 C151 126 164 148 162 174 C160 198 146 212 128 212 C110 212 96 198 94 174 C92 148 105 126 128 126 Z"fill="url(#owl_belly)"/>
115
+
116
+
117
+ <react_native_svg_1.G stroke="#4A659E"strokeWidth={2.3}fill="none"strokeLinecap="round"opacity={.45}>
118
+ <react_native_svg_1.Path d="M110 154 Q118 162 126 154"/>
119
+ <react_native_svg_1.Path d="M126 154 Q134 162 142 154"/>
120
+ <react_native_svg_1.Path d="M142 154 Q150 162 158 154"/>
121
+ <react_native_svg_1.Path d="M102 172 Q110 180 118 172"/>
122
+ <react_native_svg_1.Path d="M150 172 Q158 180 166 172"/>
123
+ <react_native_svg_1.Path d="M112 190 Q120 198 128 190"/>
124
+ <react_native_svg_1.Path d="M128 190 Q136 198 144 190"/>
125
+ </react_native_svg_1.G>
126
+
127
+
128
+ <react_native_svg_1.Rect x={107}y={161}width={42}height={32}rx={9}fill="#0A1020"stroke="url(#owl_beam)"strokeWidth={2}strokeOpacity={.8}/>
129
+ <react_native_svg_1.G stroke="#7DD3FC"strokeWidth={3}strokeLinecap="round"strokeLinejoin="round"fill="none">
130
+ <react_native_svg_1.Path d="M122 170 L115 177 L122 184"/>
131
+ <react_native_svg_1.Path d="M134 170 L141 177 L134 184"/>
132
+ <react_native_svg_1.Path d="M130 168 L126 186"/>
133
+ </react_native_svg_1.G>
134
+
135
+
136
+ <react_native_svg_1.Path d="M128 92 C148 70 186 78 186 108 C186 134 160 152 128 152 C96 152 70 134 70 108 C70 78 108 70 128 92 Z"fill="url(#owl_faceplate)"stroke="#52709E"strokeWidth={2.6}strokeOpacity={.7}/>
137
+ <react_native_svg_1.Path d="M128 96 L128 120"stroke="#52709E"strokeWidth={2}strokeLinecap="round"strokeOpacity={.45}/>
138
+
139
+
140
+ <react_native_svg_1.G stroke="url(#owl_beak)"strokeWidth={5}strokeLinecap="round"fill="none">
141
+ <react_native_svg_1.Path d="M111 209 L105 224 M111 209 L111 226 M111 209 L117 224"/>
142
+ <react_native_svg_1.Path d="M145 209 L139 224 M145 209 L145 226 M145 209 L151 224"/>
143
+ </react_native_svg_1.G>
144
+
145
+
146
+ <react_native_svg_1.Circle cx={153}cy={107}r={17}fill="url(#owl_iris)"stroke="#1A1205"strokeWidth={2.2}/>
147
+ <react_native_svg_1.Circle cx={153}cy={108}r={8.2}fill="#0A0E18"/>
148
+ <react_native_svg_1.Circle cx={156.2}cy={104}r={3.1}fill="#FFFFFF"opacity={.95}/>
149
+ <react_native_svg_1.Circle cx={149.6}cy={111}r={1.6}fill="#FFFFFF"opacity={.7}/>
150
+
151
+
152
+ <react_native_svg_1.Path d="M123.5 123 Q128 121 132.5 123 Q131 132 128 134.5 Q125 132 123.5 123 Z"fill="url(#owl_beak)"/>
153
+
154
+
155
+ <react_native_svg_1.Circle cx={95}cy={103}r={20}fill="url(#owl_iris)"stroke="#1A1205"strokeWidth={2.6}/>
156
+ <react_native_svg_1.Circle cx={95}cy={104}r={10}fill="#0A0E18"/>
157
+ <react_native_svg_1.Circle cx={98.6}cy={100}r={3.4}fill="#FFFFFF"opacity={.95}/>
158
+ <react_native_svg_1.Circle cx={91}cy={107}r={1.8}fill="#FFFFFF"opacity={.7}/>
159
+ <react_native_svg_1.Circle cx={95}cy={103}r={28}fill="url(#owl_lensglass)"/>
160
+ <react_native_svg_1.Path d="M77 87 A28 28 0 0 1 106 79"fill="none"stroke="#FFFFFF"strokeWidth={4}strokeLinecap="round"strokeOpacity={.5}/>
161
+
162
+
163
+ <react_native_svg_1.Line x1={75}y1={123}x2={54}y2={147}stroke="#0A0F1C"strokeWidth={14}strokeLinecap="round"/>
164
+ <react_native_svg_1.Line x1={75}y1={123}x2={54}y2={147}stroke="url(#owl_beam)"strokeWidth={8.5}strokeLinecap="round"/>
165
+
166
+
167
+ <react_native_svg_1.Circle cx={95}cy={103}r={28}fill="none"stroke="url(#owl_beam)"strokeWidth={7}/>
168
+
169
+
170
+ <react_native_svg_1.Ellipse cx={83}cy={127}rx={9}ry={6}fill="url(#owl_blush)"/>
171
+ <react_native_svg_1.Ellipse cx={167}cy={122}rx={9}ry={6}fill="url(#owl_blush)"/>
172
+ </react_native_svg_1.G>
173
+ </react_native_svg_1.default>
174
+ </react_native_1.Animated.View>
175
+ </react_native_1.View>};exports.AnimatedBrandOwl=AnimatedBrandOwl;const styles=react_native_1.StyleSheet.create({container:{overflow:"visible",alignItems:"center",justifyContent:"center",backgroundColor:"transparent"},animatedLayer:{width:"100%",height:"100%",alignItems:"center",justifyContent:"center"}});exports.default=exports.AnimatedBrandOwl;
@@ -3,6 +3,7 @@ import { ImageSourcePropType } from 'react-native';
3
3
  interface AppHeaderLogoProps {
4
4
  size?: number;
5
5
  customIcon?: ImageSourcePropType | null;
6
+ shape?: 'square' | 'circle';
6
7
  }
7
8
  export declare const AppHeaderLogo: React.FC<AppHeaderLogoProps>;
8
9
  export default AppHeaderLogo;
@@ -1,5 +1,7 @@
1
- "use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.AppHeaderLogo=void 0;const react_1=__importDefault(require("react")),react_native_1=require("react-native"),BrandCircleIcon_1=__importDefault(require("./BrandCircleIcon")),AppHeaderLogo=({size:e=52,customIcon:t})=>{const r=Math.round(e*.23);if(t){if(react_1.default.isValidElement(t)){const n=react_1.default.cloneElement(t,{size:e,width:e,height:e});return<react_native_1.View style={[logoStyles.container,{width:e,height:e,borderRadius:r}]}>
2
- {n}
3
- </react_native_1.View>}return<react_native_1.View style={[logoStyles.imageContainer,{width:e,height:e,borderRadius:r}]}>
4
- <react_native_1.Image source={t}style={[logoStyles.image,{borderRadius:r}]}resizeMode="cover"/>
5
- </react_native_1.View>}return<BrandCircleIcon_1.default size={e}/>};exports.AppHeaderLogo=AppHeaderLogo;const logoStyles=react_native_1.StyleSheet.create({container:{overflow:"hidden",alignItems:"center",justifyContent:"center",backgroundColor:"transparent"},imageContainer:{overflow:"hidden",backgroundColor:"transparent",alignItems:"center",justifyContent:"center"},image:{width:"100%",height:"100%"}});exports.default=exports.AppHeaderLogo;
1
+ "use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.AppHeaderLogo=void 0;const react_1=__importDefault(require("react")),react_native_1=require("react-native"),BRAND_GIF_LOGO=require("../../../assets/inapp_inspector_icon.gif"),AppHeaderLogo=({size:e=64,customIcon:r,shape:a="square"})=>{const t=a==="circle"?e/2:Math.round(e*.2265);if(r){if(react_1.default.isValidElement(r)){const i=react_1.default.cloneElement(r,{size:e,width:e,height:e});return<react_native_1.View style={[logoStyles.container,{width:e,height:e,borderRadius:t}]}>
2
+ {i}
3
+ </react_native_1.View>}return<react_native_1.View style={[logoStyles.imageContainer,{width:e,height:e,borderRadius:t}]}>
4
+ <react_native_1.Image source={r}style={[logoStyles.image,{borderRadius:t}]}resizeMode="cover"/>
5
+ </react_native_1.View>}return<react_native_1.View style={[logoStyles.imageContainer,{width:e,height:e,borderRadius:t}]}>
6
+ <react_native_1.Image source={BRAND_GIF_LOGO}style={[logoStyles.image,{borderRadius:t}]}resizeMode="cover"/>
7
+ </react_native_1.View>};exports.AppHeaderLogo=AppHeaderLogo;const logoStyles=react_native_1.StyleSheet.create({container:{overflow:"hidden",alignItems:"center",justifyContent:"center",backgroundColor:"transparent"},imageContainer:{overflow:"hidden",backgroundColor:"transparent",alignItems:"center",justifyContent:"center"},image:{width:"100%",height:"100%"}});exports.default=exports.AppHeaderLogo;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const BrandSquareIcon: ({ size }: {
3
+ size?: number;
4
+ }) => React.JSX.Element;
5
+ export default BrandSquareIcon;
@@ -0,0 +1,139 @@
1
+ "use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(t,e,i,r){r===void 0&&(r=i);var o=Object.getOwnPropertyDescriptor(e,i);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,r,o)}):(function(t,e,i,r){r===void 0&&(r=i),t[r]=e[i]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),__importStar=this&&this.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(i){var r=[];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[r.length]=o);return r},t(e)};return function(e){if(e&&e.__esModule)return e;var i={};if(e!=null)for(var r=t(e),o=0;o<r.length;o++)r[o]!=="default"&&__createBinding(i,e,r[o]);return __setModuleDefault(i,e),i}})(),__importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.BrandSquareIcon=void 0;const react_1=__importDefault(require("react")),react_native_svg_1=__importStar(require("react-native-svg")),BrandSquareIcon=({size:t=56})=><react_native_svg_1.default width={t}height={t}viewBox="0 0 256 256"fill="none">
2
+ <react_native_svg_1.Defs>
3
+ <react_native_svg_1.LinearGradient id="sq_tile"x1="30"y1="30"x2="210"y2="222"gradientUnits="userSpaceOnUse">
4
+ <react_native_svg_1.Stop offset="0"stopColor="#141B33"/>
5
+ <react_native_svg_1.Stop offset="1"stopColor="#0A0E1C"/>
6
+ </react_native_svg_1.LinearGradient>
7
+ <react_native_svg_1.LinearGradient id="sq_edge"x1="14"y1="22"x2="220"y2="228"gradientUnits="userSpaceOnUse">
8
+ <react_native_svg_1.Stop offset="0"stopColor="#3A4E7A"/>
9
+ <react_native_svg_1.Stop offset="1"stopColor="#1A2238"/>
10
+ </react_native_svg_1.LinearGradient>
11
+ <react_native_svg_1.LinearGradient id="sq_beam"x1="70"y1="74"x2="194"y2="187"gradientUnits="userSpaceOnUse">
12
+ <react_native_svg_1.Stop offset="0"stopColor="#5EEAD4"/>
13
+ <react_native_svg_1.Stop offset="0.5"stopColor="#38BDF8"/>
14
+ <react_native_svg_1.Stop offset="1"stopColor="#A78BFA"/>
15
+ </react_native_svg_1.LinearGradient>
16
+ <react_native_svg_1.RadialGradient id="sq_halo"cx="0.5"cy="0.45"r="0.55">
17
+ <react_native_svg_1.Stop offset="0"stopColor="#38BDF8"stopOpacity={.12}/>
18
+ <react_native_svg_1.Stop offset="1"stopColor="#38BDF8"stopOpacity={0}/>
19
+ </react_native_svg_1.RadialGradient>
20
+ <react_native_svg_1.LinearGradient id="sq_owlbody"x1="78"y1="60"x2="178"y2="186"gradientUnits="userSpaceOnUse">
21
+ <react_native_svg_1.Stop offset="0"stopColor="#202E55"/>
22
+ <react_native_svg_1.Stop offset="1"stopColor="#10182F"/>
23
+ </react_native_svg_1.LinearGradient>
24
+ <react_native_svg_1.LinearGradient id="sq_beak"x1="120"y1="151"x2="136"y2="168"gradientUnits="userSpaceOnUse">
25
+ <react_native_svg_1.Stop offset="0"stopColor="#FCD34D"/>
26
+ <react_native_svg_1.Stop offset="1"stopColor="#FB923C"/>
27
+ </react_native_svg_1.LinearGradient>
28
+ <react_native_svg_1.RadialGradient id="sq_iris"cx="0.42"cy="0.38"r="0.72">
29
+ <react_native_svg_1.Stop offset="0"stopColor="#FDE68A"/>
30
+ <react_native_svg_1.Stop offset="0.5"stopColor="#FBBF24"/>
31
+ <react_native_svg_1.Stop offset="1"stopColor="#F59E0B"/>
32
+ </react_native_svg_1.RadialGradient>
33
+ <react_native_svg_1.RadialGradient id="sq_blush"cx="0.5"cy="0.5"r="0.5">
34
+ <react_native_svg_1.Stop offset="0"stopColor="#FB7185"stopOpacity={.5}/>
35
+ <react_native_svg_1.Stop offset="1"stopColor="#FB7185"stopOpacity={0}/>
36
+ </react_native_svg_1.RadialGradient>
37
+ <react_native_svg_1.LinearGradient id="sq_wing"x1="70"y1="120"x2="190"y2="206"gradientUnits="userSpaceOnUse">
38
+ <react_native_svg_1.Stop offset="0"stopColor="#1A2545"/>
39
+ <react_native_svg_1.Stop offset="1"stopColor="#0E1530"/>
40
+ </react_native_svg_1.LinearGradient>
41
+ <react_native_svg_1.LinearGradient id="sq_faceplate"x1="70"y1="72"x2="186"y2="152"gradientUnits="userSpaceOnUse">
42
+ <react_native_svg_1.Stop offset="0"stopColor="#35497E"/>
43
+ <react_native_svg_1.Stop offset="1"stopColor="#1E2D4D"/>
44
+ </react_native_svg_1.LinearGradient>
45
+ <react_native_svg_1.RadialGradient id="sq_lensglass"cx="0.4"cy="0.32"r="0.75">
46
+ <react_native_svg_1.Stop offset="0"stopColor="#7DE8FF"stopOpacity={.22}/>
47
+ <react_native_svg_1.Stop offset="0.7"stopColor="#7DE8FF"stopOpacity={.05}/>
48
+ <react_native_svg_1.Stop offset="1"stopColor="#7DE8FF"stopOpacity={0}/>
49
+ </react_native_svg_1.RadialGradient>
50
+ <react_native_svg_1.LinearGradient id="sq_belly"x1="94"y1="126"x2="162"y2="212"gradientUnits="userSpaceOnUse">
51
+ <react_native_svg_1.Stop offset="0"stopColor="#33477A"/>
52
+ <react_native_svg_1.Stop offset="1"stopColor="#1D2B53"/>
53
+ </react_native_svg_1.LinearGradient>
54
+ </react_native_svg_1.Defs>
55
+
56
+
57
+ <react_native_svg_1.Rect x={8}y={8}width={240}height={240}rx={58}fill="url(#sq_tile)"/>
58
+ <react_native_svg_1.Rect x={8.6}y={8.6}width={238.8}height={238.8}rx={57.4}fill="none"stroke="url(#sq_edge)"strokeOpacity={.6}/>
59
+ <react_native_svg_1.Circle cx={128}cy={128}r={104}fill="url(#sq_halo)"/>
60
+
61
+
62
+ <react_native_svg_1.G transform="translate(128 128) scale(1.16) translate(-128 -134)">
63
+
64
+ <react_native_svg_1.Path d="M74 124 C58 154 60 190 86 204 C79 176 77 148 88 126 Z"fill="url(#sq_wing)"stroke="url(#sq_beam)"strokeWidth={2.5}strokeOpacity={.45}/>
65
+
66
+ <react_native_svg_1.Path d="M182 124 C198 154 196 190 170 204 C177 176 179 148 168 126 Z"fill="url(#sq_wing)"stroke="url(#sq_beam)"strokeWidth={2.5}strokeOpacity={.45}/>
67
+
68
+ <react_native_svg_1.Path d="M62 150 C58 104 70 70 90 58 L98 42 L116 62 Q128 57 140 62 L158 42 L166 58 C186 70 198 104 194 150 C198 180 184 204 152 212 C140 216 116 216 104 212 C72 204 58 180 62 150 Z"fill="url(#sq_owlbody)"stroke="url(#sq_beam)"strokeWidth={4}strokeLinejoin="round"/>
69
+
70
+
71
+ <react_native_svg_1.Path d="M99 48 L114 62 L104 63 L98 55 Z"fill="#080F22"opacity={.5}/>
72
+ <react_native_svg_1.Path d="M157 48 L142 62 L152 63 L158 55 Z"fill="#080F22"opacity={.5}/>
73
+
74
+
75
+ <react_native_svg_1.G stroke="#22325A"strokeWidth={2.2}fill="none"strokeLinecap="round"opacity={.75}>
76
+ <react_native_svg_1.Path d="M80 138 q-5 26 3 50"/>
77
+ <react_native_svg_1.Path d="M90 134 q-4 26 3 48"/>
78
+ <react_native_svg_1.Path d="M176 138 q5 26 -3 50"/>
79
+ <react_native_svg_1.Path d="M166 134 q4 26 -3 48"/>
80
+ </react_native_svg_1.G>
81
+
82
+
83
+ <react_native_svg_1.Path d="M128 126 C151 126 164 148 162 174 C160 198 146 212 128 212 C110 212 96 198 94 174 C92 148 105 126 128 126 Z"fill="url(#sq_belly)"/>
84
+
85
+
86
+ <react_native_svg_1.G stroke="#3E588C"strokeWidth={2.3}fill="none"strokeLinecap="round"opacity={.4}>
87
+ <react_native_svg_1.Path d="M110 154 Q118 162 126 154"/>
88
+ <react_native_svg_1.Path d="M126 154 Q134 162 142 154"/>
89
+ <react_native_svg_1.Path d="M142 154 Q150 162 158 154"/>
90
+ <react_native_svg_1.Path d="M102 172 Q110 180 118 172"/>
91
+ <react_native_svg_1.Path d="M150 172 Q158 180 166 172"/>
92
+ <react_native_svg_1.Path d="M112 190 Q120 198 128 190"/>
93
+ <react_native_svg_1.Path d="M128 190 Q136 198 144 190"/>
94
+ </react_native_svg_1.G>
95
+
96
+
97
+ <react_native_svg_1.Rect x={107}y={161}width={42}height={32}rx={9}fill="#0C1426"stroke="url(#sq_beam)"strokeWidth={2}strokeOpacity={.7}/>
98
+ <react_native_svg_1.G stroke="#8FD0EC"strokeWidth={3}strokeLinecap="round"strokeLinejoin="round"fill="none">
99
+ <react_native_svg_1.Path d="M122 170 L115 177 L122 184"/>
100
+ <react_native_svg_1.Path d="M134 170 L141 177 L134 184"/>
101
+ <react_native_svg_1.Path d="M130 168 L126 186"/>
102
+ </react_native_svg_1.G>
103
+
104
+
105
+ <react_native_svg_1.Path d="M128 92 C148 70 186 78 186 108 C186 134 160 152 128 152 C96 152 70 134 70 108 C70 78 108 70 128 92 Z"fill="url(#sq_faceplate)"stroke="#52709E"strokeWidth={2.6}strokeOpacity={.7}/>
106
+
107
+ <react_native_svg_1.Path d="M128 96 L128 120"stroke="#52709E"strokeWidth={2}strokeLinecap="round"strokeOpacity={.45}/>
108
+
109
+
110
+ <react_native_svg_1.G stroke="url(#sq_beak)"strokeWidth={5}strokeLinecap="round"fill="none">
111
+ <react_native_svg_1.Path d="M111 209 L105 224 M111 209 L111 226 M111 209 L117 224"/>
112
+ <react_native_svg_1.Path d="M145 209 L139 224 M145 209 L145 226 M145 209 L151 224"/>
113
+ </react_native_svg_1.G>
114
+
115
+
116
+ <react_native_svg_1.Circle cx={153}cy={107}r={17}fill="url(#sq_iris)"stroke="#1A1205"strokeWidth={2.2}/>
117
+ <react_native_svg_1.Circle cx={153}cy={108}r={8.2}fill="#0A0E18"/>
118
+ <react_native_svg_1.Circle cx={156.2}cy={104}r={3.1}fill="#ffffff"opacity={.95}/>
119
+ <react_native_svg_1.Circle cx={149.6}cy={111}r={1.6}fill="#ffffff"opacity={.7}/>
120
+
121
+
122
+ <react_native_svg_1.Path d="M123.5 123 Q128 121 132.5 123 Q131 132 128 134.5 Q125 132 123.5 123 Z"fill="url(#sq_beak)"/>
123
+
124
+
125
+ <react_native_svg_1.Circle cx={95}cy={103}r={20}fill="url(#sq_iris)"stroke="#1A1205"strokeWidth={2.6}/>
126
+ <react_native_svg_1.Circle cx={95}cy={104}r={10}fill="#0A0E18"/>
127
+ <react_native_svg_1.Circle cx={98.6}cy={100}r={3.4}fill="#ffffff"opacity={.95}/>
128
+ <react_native_svg_1.Circle cx={91}cy={107}r={1.8}fill="#ffffff"opacity={.7}/>
129
+ <react_native_svg_1.Circle cx={95}cy={103}r={28}fill="url(#sq_lensglass)"/>
130
+ <react_native_svg_1.Path d="M77 87 A28 28 0 0 1 106 79"fill="none"stroke="#ffffff"strokeWidth={4}strokeLinecap="round"strokeOpacity={.5}/>
131
+ <react_native_svg_1.Line x1={75}y1={123}x2={54}y2={147}stroke="#0A0F1C"strokeWidth={14}strokeLinecap="round"/>
132
+ <react_native_svg_1.Line x1={75}y1={123}x2={54}y2={147}stroke="url(#sq_beam)"strokeWidth={8.5}strokeLinecap="round"/>
133
+ <react_native_svg_1.Circle cx={95}cy={103}r={28}fill="none"stroke="url(#sq_beam)"strokeWidth={7}/>
134
+
135
+
136
+ <react_native_svg_1.Ellipse cx={83}cy={127}rx={9}ry={6}fill="url(#sq_blush)"/>
137
+ <react_native_svg_1.Ellipse cx={167}cy={122}rx={9}ry={6}fill="url(#sq_blush)"/>
138
+ </react_native_svg_1.G>
139
+ </react_native_svg_1.default>;exports.BrandSquareIcon=BrandSquareIcon,exports.default=exports.BrandSquareIcon;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ConsoleLogCardProps } from '../types';
3
3
  export declare const ConsoleLogCard: React.NamedExoticComponent<ConsoleLogCardProps>;
4
- export default ConsoleLogCard;
4
+ export declare const MemoizedConsoleLogCard: React.MemoExoticComponent<React.NamedExoticComponent<ConsoleLogCardProps>>;
5
+ export default MemoizedConsoleLogCard;
@@ -1,15 +1,15 @@
1
- "use strict";var __importDefault=this&&this.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ConsoleLogCard=void 0;const react_1=__importDefault(require("react")),i18n_1=require("../i18n"),react_native_1=require("react-native"),AppColors_1=require("../styles/AppColors"),AppFonts_1=require("../styles/AppFonts"),helpers_1=require("../helpers"),TouchableScale_1=__importDefault(require("./TouchableScale")),LogSyntaxHighlighter_1=__importDefault(require("./LogSyntaxHighlighter")),NetworkIcons_1=require("./NetworkIcons"),InspectorContext_1=require("./Inspector/InspectorContext"),getLogMessageWithBadges=(g,o,f,w,I)=>{if(!g)return null;const l=/^((?:\[[^\]]+\]\s*)+)/,T=g.match(l);if(T){const r=T[1],E=g.substring(r.length),t=r.match(/\[[^\]]+\]/g)||[],S=b=>{const e=b.replace(/[\[\]]/g,"").trim().toUpperCase();return e==="AXIOS"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.ZapIcon,label:"AXIOS"}:e==="API"||e==="FETCH"||e==="HTTP"||e==="REST"||e==="NETWORK"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.GlobeIcon,label:e}:e==="GRAPHQL"||e==="GQL"||e==="APOLLO"||e==="MUTATION"||e==="QUERY"?{color:AppColors_1.AppColors.pink500,Icon:NetworkIcons_1.AtomIcon,label:e}:e==="WS"||e==="WEBSOCKET"||e==="SOCKET"||e==="SOCKET.IO"||e==="REALTIME"?{color:AppColors_1.AppColors.cyan600,Icon:NetworkIcons_1.SignalIcon,label:e}:e==="REDUX"||e==="STORE"||e==="STATE"||e==="ZUSTAND"||e==="MOBX"||e==="RECOIL"||e==="ACTION"||e==="DISPATCH"?{color:AppColors_1.AppColors.violet600,Icon:NetworkIcons_1.AtomIcon,label:e}:e==="ANALYTICS"||e==="FIREBASE"||e==="GA4"||e==="GA"||e==="SEGMENT"||e==="MIXPANEL"||e==="POSTHOG"||e==="TRACK"||e==="EVENT"?{color:AppColors_1.AppColors.teal600,Icon:NetworkIcons_1.BarChartIcon,label:e}:e==="AUTH"||e==="TOKEN"||e==="SESSION"||e==="JWT"||e==="LOGIN"||e==="LOGOUT"||e==="USER"?{color:AppColors_1.AppColors.amber600,Icon:NetworkIcons_1.KeyIcon,label:e}:e==="SECURITY"||e==="SHIELD"||e==="PERMISSION"||e==="PERMISSIONS"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.ShieldAlertIcon,label:e}:e==="NAV"||e==="NAVIGATION"||e==="ROUTE"||e==="SCREEN"||e==="ROUTER"||e==="DEEPLINK"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.MapPinIcon,label:e}:e==="STORAGE"||e==="ASYNCSTORAGE"||e==="MMKV"||e==="SQLITE"||e==="DB"||e==="DATABASE"||e==="REALM"||e==="CACHE"?{color:AppColors_1.AppColors.purple500,Icon:NetworkIcons_1.StorageIcon,label:e}:e==="PERF"||e==="RENDER"||e==="PERFORMANCE"||e==="FPS"||e==="MEMORY"?{color:AppColors_1.AppColors.violet500,Icon:NetworkIcons_1.PerformanceIcon,label:e}:e==="INIT"||e==="BOOT"||e==="STARTUP"||e==="LIFECYCLE"||e==="MOUNT"||e==="UNMOUNT"?{color:AppColors_1.AppColors.blue600,Icon:NetworkIcons_1.ZapIcon,label:e}:e==="SYNC"||e==="REFRESH"||e==="BACKGROUND"||e==="JOB"||e==="WORKER"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.RefreshCcwIcon,label:e}:e==="PUSH"||e==="NOTIF"||e==="NOTIFICATION"||e==="FCM"||e==="APNS"?{color:AppColors_1.AppColors.darkOrange,Icon:NetworkIcons_1.FlameIcon,label:e}:e==="PAY"||e==="PAYMENT"||e==="STRIPE"||e==="IAP"||e==="BILLING"||e==="CHECKOUT"||e==="CART"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.MoneyIcon,label:e}:e==="DEVICE"||e==="HARDWARE"||e==="BLE"||e==="BLUETOOTH"||e==="NFC"||e==="SENSOR"?{color:AppColors_1.AppColors.slate600,Icon:NetworkIcons_1.ChipIcon,label:e}:e==="LOCATION"||e==="GPS"||e==="GEO"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.MapPinIcon,label:e}:e==="APP"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.SmartphoneIcon,label:"APP"}:e==="UI"||e==="VIEW"||e==="THEME"||e==="STYLE"||e==="LAYOUT"?{color:AppColors_1.AppColors.pink600,Icon:NetworkIcons_1.LayoutIcon,label:e}:e==="TEST"||e==="MOCK"||e==="SPEC"?{color:AppColors_1.AppColors.emerald500,Icon:NetworkIcons_1.FlaskIcon,label:"TEST"}:e==="SAMPLE"||e==="BATCH"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.DiceIcon,label:e}:e==="CONFIG"||e==="ENV"||e==="SETTINGS"?{color:AppColors_1.AppColors.slate700,Icon:NetworkIcons_1.SettingsIcon,label:e}:e==="DEBUG"||e==="TRACE"?{color:AppColors_1.AppColors.purpleText,Icon:NetworkIcons_1.TerminalIcon,label:e}:e==="INFO"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.InfoCircleIcon,label:"INFO"}:e==="SUCCESS"||e==="OK"||e==="DONE"||e==="PASSED"?{color:AppColors_1.AppColors.green600,Icon:NetworkIcons_1.CircleCheckIcon,label:e}:e==="WARN"||e==="WARNING"?{color:AppColors_1.AppColors.amber600,Icon:NetworkIcons_1.AlertTriangleIcon,label:"WARN"}:e==="ERROR"||e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?{color:AppColors_1.AppColors.red600,Icon:NetworkIcons_1.BugIcon,label:e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?e:"ERROR"}:{color:AppColors_1.AppColors.slate600,Icon:NetworkIcons_1.TagIcon,label:e}};return<react_native_1.View style={{flexDirection:"column",gap:2}}>
1
+ "use strict";var __importDefault=this&&this.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MemoizedConsoleLogCard=exports.ConsoleLogCard=void 0;const react_1=__importDefault(require("react")),i18n_1=require("../i18n"),react_native_1=require("react-native"),AppColors_1=require("../styles/AppColors"),AppFonts_1=require("../styles/AppFonts"),helpers_1=require("../helpers"),TouchableScale_1=__importDefault(require("./TouchableScale")),LogSyntaxHighlighter_1=__importDefault(require("./LogSyntaxHighlighter")),NetworkIcons_1=require("./NetworkIcons"),InspectorContext_1=require("./Inspector/InspectorContext"),getLogMessageWithBadges=(l,o,p,C,g)=>{if(!l)return null;const u=/^((?:\[[^\]]+\]\s*)+)/,t=l.match(u);if(t){const c=t[1],r=l.substring(c.length),A=c.match(/\[[^\]]+\]/g)||[],s=d=>{const e=d.replace(/[\[\]]/g,"").trim().toUpperCase();return e==="AXIOS"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.ZapIcon,label:"AXIOS"}:e==="API"||e==="FETCH"||e==="HTTP"||e==="REST"||e==="NETWORK"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.GlobeIcon,label:e}:e==="GRAPHQL"||e==="GQL"||e==="APOLLO"||e==="MUTATION"||e==="QUERY"?{color:AppColors_1.AppColors.pink500,Icon:NetworkIcons_1.AtomIcon,label:e}:e==="WS"||e==="WEBSOCKET"||e==="SOCKET"||e==="SOCKET.IO"||e==="REALTIME"?{color:AppColors_1.AppColors.cyan600,Icon:NetworkIcons_1.SignalIcon,label:e}:e==="REDUX"||e==="STORE"||e==="STATE"||e==="ZUSTAND"||e==="MOBX"||e==="RECOIL"||e==="ACTION"||e==="DISPATCH"?{color:AppColors_1.AppColors.violet600,Icon:NetworkIcons_1.AtomIcon,label:e}:e==="ANALYTICS"||e==="FIREBASE"||e==="GA4"||e==="GA"||e==="SEGMENT"||e==="MIXPANEL"||e==="POSTHOG"||e==="TRACK"||e==="EVENT"?{color:AppColors_1.AppColors.teal600,Icon:NetworkIcons_1.BarChartIcon,label:e}:e==="AUTH"||e==="TOKEN"||e==="SESSION"||e==="JWT"||e==="LOGIN"||e==="LOGOUT"||e==="USER"?{color:AppColors_1.AppColors.amber600,Icon:NetworkIcons_1.KeyIcon,label:e}:e==="SECURITY"||e==="SHIELD"||e==="PERMISSION"||e==="PERMISSIONS"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.ShieldAlertIcon,label:e}:e==="NAV"||e==="NAVIGATION"||e==="ROUTE"||e==="SCREEN"||e==="ROUTER"||e==="DEEPLINK"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.MapPinIcon,label:e}:e==="STORAGE"||e==="ASYNCSTORAGE"||e==="MMKV"||e==="SQLITE"||e==="DB"||e==="DATABASE"||e==="REALM"||e==="CACHE"?{color:AppColors_1.AppColors.purple500,Icon:NetworkIcons_1.StorageIcon,label:e}:e==="PERF"||e==="RENDER"||e==="PERFORMANCE"||e==="FPS"||e==="MEMORY"?{color:AppColors_1.AppColors.violet500,Icon:NetworkIcons_1.PerformanceIcon,label:e}:e==="INIT"||e==="BOOT"||e==="STARTUP"||e==="LIFECYCLE"||e==="MOUNT"||e==="UNMOUNT"?{color:AppColors_1.AppColors.blue600,Icon:NetworkIcons_1.ZapIcon,label:e}:e==="SYNC"||e==="REFRESH"||e==="BACKGROUND"||e==="JOB"||e==="WORKER"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.RefreshCcwIcon,label:e}:e==="PUSH"||e==="NOTIF"||e==="NOTIFICATION"||e==="FCM"||e==="APNS"?{color:AppColors_1.AppColors.darkOrange,Icon:NetworkIcons_1.FlameIcon,label:e}:e==="PAY"||e==="PAYMENT"||e==="STRIPE"||e==="IAP"||e==="BILLING"||e==="CHECKOUT"||e==="CART"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.MoneyIcon,label:e}:e==="DEVICE"||e==="HARDWARE"||e==="BLE"||e==="BLUETOOTH"||e==="NFC"||e==="SENSOR"?{color:AppColors_1.AppColors.slate600,Icon:NetworkIcons_1.ChipIcon,label:e}:e==="LOCATION"||e==="GPS"||e==="GEO"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.MapPinIcon,label:e}:e==="APP"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.SmartphoneIcon,label:"APP"}:e==="UI"||e==="VIEW"||e==="THEME"||e==="STYLE"||e==="LAYOUT"?{color:AppColors_1.AppColors.pink600,Icon:NetworkIcons_1.LayoutIcon,label:e}:e==="TEST"||e==="MOCK"||e==="SPEC"?{color:AppColors_1.AppColors.emerald500,Icon:NetworkIcons_1.FlaskIcon,label:"TEST"}:e==="SAMPLE"||e==="BATCH"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.DiceIcon,label:e}:e==="CONFIG"||e==="ENV"||e==="SETTINGS"?{color:AppColors_1.AppColors.slate700,Icon:NetworkIcons_1.SettingsIcon,label:e}:e==="DEBUG"||e==="TRACE"?{color:AppColors_1.AppColors.purpleText,Icon:NetworkIcons_1.TerminalIcon,label:e}:e==="INFO"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.InfoCircleIcon,label:"INFO"}:e==="SUCCESS"||e==="OK"||e==="DONE"||e==="PASSED"?{color:AppColors_1.AppColors.green600,Icon:NetworkIcons_1.CircleCheckIcon,label:e}:e==="WARN"||e==="WARNING"?{color:AppColors_1.AppColors.amber600,Icon:NetworkIcons_1.AlertTriangleIcon,label:"WARN"}:e==="ERROR"||e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?{color:AppColors_1.AppColors.red600,Icon:NetworkIcons_1.BugIcon,label:e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?e:"ERROR"}:{color:AppColors_1.AppColors.slate600,Icon:NetworkIcons_1.TagIcon,label:e}};return<react_native_1.View style={{flexDirection:"column",gap:2}}>
2
2
  <react_native_1.View style={{flexDirection:"row",gap:4,overflow:"hidden"}}>
3
- {t.slice(0,2).map((b,e)=>{const u=S(b),C=u.Icon;return<react_native_1.View key={e}style={[styles.prefixTag,{backgroundColor:`${u.color}12`,borderColor:`${u.color}30`}]}>
4
- <C color={u.color}size={8.5}/>
5
- <react_native_1.Text style={[styles.prefixTagText,{color:u.color}]}>
6
- {u.label}
3
+ {A.slice(0,2).map((d,e)=>{const n=s(d),I=n.Icon;return<react_native_1.View key={e}style={[styles.prefixTag,{backgroundColor:`${n.color}12`,borderColor:`${n.color}30`}]}>
4
+ <I color={n.color}size={8.5}/>
5
+ <react_native_1.Text style={[styles.prefixTagText,{color:n.color}]}>
6
+ {n.label}
7
7
  </react_native_1.Text>
8
8
  </react_native_1.View>})}
9
9
  </react_native_1.View>
10
- <LogSyntaxHighlighter_1.default text={E}search={o}style={f}numberOfLines={1}detectLinks={!1}/>
11
- </react_native_1.View>}return<LogSyntaxHighlighter_1.default text={g}search={o}style={f}numberOfLines={I||2}detectLinks={!1}/>};exports.ConsoleLogCard=react_1.default.memo(function({item:o,searchStr:f=""}){const{setSelectedLog:w}=(0,InspectorContext_1.useInspector)(),{t:I}=(0,i18n_1.useTranslation)(),l=(0,helpers_1.getJsonContent)(o.message),T=o.message.toLowerCase().includes("[analytics error]"),r=react_1.default.useMemo(()=>{const C=(0,helpers_1.getCleanCallerDisplay)(o.caller);if(!C)return null;const A=(0,helpers_1.parseStackLine)(o.caller,!0);return{...A,display:C.display,fileName:C.fileName,lineNumber:C.lineNumber||A.lineNumber}},[o.caller]),t=(()=>{const C=(o.type||"log").toLowerCase(),A=(o.sourceMethod||C).toLowerCase();return T||C==="error"||A==="error"?{badgeColor:AppColors_1.AppColors.errorColor,border:AppColors_1.AppColors.errorColor,badgeBg:`${AppColors_1.AppColors.errorColor}18`,badgeText:AppColors_1.AppColors.errorColor,label:"ERROR",cardBg:AppColors_1.AppColors.errorCardBg,statusPillBg:`${AppColors_1.AppColors.errorColor}14`,statusPillBorder:`${AppColors_1.AppColors.errorColor}33`,statusPillText:AppColors_1.AppColors.errorColor,StatusIcon:NetworkIcons_1.CircleXIcon}:C==="warn"||A==="warn"?{badgeColor:AppColors_1.AppColors.darkOrange,border:AppColors_1.AppColors.darkOrange,badgeBg:`${AppColors_1.AppColors.darkOrange}18`,badgeText:AppColors_1.AppColors.darkOrange,label:"WARN",cardBg:AppColors_1.AppColors.warnCardBg,statusPillBg:`${AppColors_1.AppColors.darkOrange}14`,statusPillBorder:`${AppColors_1.AppColors.darkOrange}33`,statusPillText:AppColors_1.AppColors.darkOrange,StatusIcon:NetworkIcons_1.CircleAlertIcon}:C==="debug"||A==="debug"?{badgeColor:AppColors_1.AppColors.purple,border:AppColors_1.AppColors.purple,badgeBg:`${AppColors_1.AppColors.purple}18`,badgeText:AppColors_1.AppColors.purple,label:"DEBUG",cardBg:AppColors_1.AppColors.purpleTintBg,statusPillBg:`${AppColors_1.AppColors.purple}14`,statusPillBorder:`${AppColors_1.AppColors.purple}33`,statusPillText:AppColors_1.AppColors.purple,StatusIcon:NetworkIcons_1.ZapIcon}:A==="info"||C==="info"&&A!=="log"?{badgeColor:AppColors_1.AppColors.sky600,border:AppColors_1.AppColors.sky600,badgeBg:`${AppColors_1.AppColors.sky600}18`,badgeText:AppColors_1.AppColors.sky600,label:"INFO",cardBg:AppColors_1.AppColors.blueTintBg,statusPillBg:`${AppColors_1.AppColors.sky600}14`,statusPillBorder:`${AppColors_1.AppColors.sky600}33`,statusPillText:AppColors_1.AppColors.sky600,StatusIcon:NetworkIcons_1.InfoCircleIcon}:{badgeColor:AppColors_1.AppColors.brandPurple,border:AppColors_1.AppColors.brandPurple,badgeBg:`${AppColors_1.AppColors.brandPurple}15`,badgeText:AppColors_1.AppColors.brandPurple,label:"LOG",cardBg:AppColors_1.AppColors.white,statusPillBg:`${AppColors_1.AppColors.brandPurple}12`,statusPillBorder:`${AppColors_1.AppColors.brandPurple}2E`,statusPillText:AppColors_1.AppColors.brandPurple,StatusIcon:NetworkIcons_1.CircleCheckIcon}})(),S=t.StatusIcon,b=l?(0,helpers_1.getJsonPreviewText)(l.data):null,e=()=>{w(o)},u=("sourceMethod"in o?o.sourceMethod:void 0)||o.type||"log";return<react_native_1.View style={styles.container}>
12
- <TouchableScale_1.default onPress={e}style={[styles.card,{borderLeftWidth:3.5,borderLeftColor:t.border,backgroundColor:t.cardBg}]}>
10
+ <LogSyntaxHighlighter_1.default text={r}search={o}style={p}numberOfLines={1}detectLinks={!1}/>
11
+ </react_native_1.View>}return<LogSyntaxHighlighter_1.default text={l}search={o}style={p}numberOfLines={g||2}detectLinks={!1}/>};exports.ConsoleLogCard=react_1.default.memo(function({item:o,searchStr:p="",onPress:C}){const{setSelectedLog:g}=(0,InspectorContext_1.useInspector)(),{t:u}=(0,i18n_1.useTranslation)(),t=(0,helpers_1.getJsonContent)(o.message),c=o.message.toLowerCase().includes("[analytics error]"),r=react_1.default.useMemo(()=>{const a=(0,helpers_1.getCleanCallerDisplay)(o.caller);if(!a)return null;const i=(0,helpers_1.parseStackLine)(o.caller,!0);return{...i,display:a.display,fileName:a.fileName,lineNumber:a.lineNumber||i.lineNumber}},[o.caller]),s=(()=>{const a=(o.type||"log").toLowerCase(),i=(o.sourceMethod||a).toLowerCase();return c||a==="error"||i==="error"?{badgeColor:AppColors_1.AppColors.errorColor,border:AppColors_1.AppColors.errorColor,badgeBg:`${AppColors_1.AppColors.errorColor}18`,badgeText:AppColors_1.AppColors.errorColor,label:"ERROR",cardBg:AppColors_1.AppColors.errorCardBg,statusPillBg:`${AppColors_1.AppColors.errorColor}14`,statusPillBorder:`${AppColors_1.AppColors.errorColor}33`,statusPillText:AppColors_1.AppColors.errorColor,StatusIcon:NetworkIcons_1.CircleXIcon}:a==="warn"||i==="warn"?{badgeColor:AppColors_1.AppColors.darkOrange,border:AppColors_1.AppColors.darkOrange,badgeBg:`${AppColors_1.AppColors.darkOrange}18`,badgeText:AppColors_1.AppColors.darkOrange,label:"WARN",cardBg:AppColors_1.AppColors.warnCardBg,statusPillBg:`${AppColors_1.AppColors.darkOrange}14`,statusPillBorder:`${AppColors_1.AppColors.darkOrange}33`,statusPillText:AppColors_1.AppColors.darkOrange,StatusIcon:NetworkIcons_1.CircleAlertIcon}:a==="debug"||i==="debug"?{badgeColor:AppColors_1.AppColors.purple,border:AppColors_1.AppColors.purple,badgeBg:`${AppColors_1.AppColors.purple}18`,badgeText:AppColors_1.AppColors.purple,label:"DEBUG",cardBg:AppColors_1.AppColors.purpleTintBg,statusPillBg:`${AppColors_1.AppColors.purple}14`,statusPillBorder:`${AppColors_1.AppColors.purple}33`,statusPillText:AppColors_1.AppColors.purple,StatusIcon:NetworkIcons_1.ZapIcon}:i==="info"||a==="info"&&i!=="log"?{badgeColor:AppColors_1.AppColors.sky600,border:AppColors_1.AppColors.sky600,badgeBg:`${AppColors_1.AppColors.sky600}18`,badgeText:AppColors_1.AppColors.sky600,label:"INFO",cardBg:AppColors_1.AppColors.blueTintBg,statusPillBg:`${AppColors_1.AppColors.sky600}14`,statusPillBorder:`${AppColors_1.AppColors.sky600}33`,statusPillText:AppColors_1.AppColors.sky600,StatusIcon:NetworkIcons_1.InfoCircleIcon}:{badgeColor:AppColors_1.AppColors.brandPurple,border:AppColors_1.AppColors.brandPurple,badgeBg:`${AppColors_1.AppColors.brandPurple}15`,badgeText:AppColors_1.AppColors.brandPurple,label:"LOG",cardBg:AppColors_1.AppColors.white,statusPillBg:`${AppColors_1.AppColors.brandPurple}12`,statusPillBorder:`${AppColors_1.AppColors.brandPurple}2E`,statusPillText:AppColors_1.AppColors.brandPurple,StatusIcon:NetworkIcons_1.CircleCheckIcon}})(),d=s.StatusIcon,e=t?(0,helpers_1.getJsonPreviewText)(t.data):null,n=()=>{C?C(o):g(o)},I=("sourceMethod"in o?o.sourceMethod:void 0)||o.type||"log";return<react_native_1.View style={styles.container}>
12
+ <TouchableScale_1.default onPress={n}style={[styles.card,{borderLeftWidth:3.5,borderLeftColor:s.border,backgroundColor:s.cardBg}]}>
13
13
  <react_native_1.View style={styles.cardBody}>
14
14
 
15
15
  <react_native_1.View style={styles.cardHeaderRow}>
@@ -19,21 +19,14 @@
19
19
  </react_native_1.Text>
20
20
 
21
21
 
22
- <react_native_1.View style={[styles.methodBadge,{backgroundColor:t.badgeColor}]}>
23
- <react_native_1.Text style={styles.methodBadgeText}>{t.label}</react_native_1.Text>
22
+ <react_native_1.View style={[styles.methodBadge,{backgroundColor:s.badgeColor}]}>
23
+ <react_native_1.Text style={styles.methodBadgeText}>{s.label}</react_native_1.Text>
24
24
  </react_native_1.View>
25
25
 
26
26
 
27
- <react_native_1.View style={[styles.chip,{backgroundColor:`${t.badgeColor}12`,borderColor:`${t.badgeColor}2E`}]}>
28
- <react_native_1.Text style={[styles.chipText,{color:t.badgeColor}]}numberOfLines={1}>
29
- console.{u}
30
- </react_native_1.Text>
31
- </react_native_1.View>
32
-
33
-
34
- {l&&<react_native_1.View style={[styles.chip,{backgroundColor:`${AppColors_1.AppColors.teal600}14`,borderColor:`${AppColors_1.AppColors.teal600}33`}]}>
27
+ {t&&<react_native_1.View style={[styles.chip,{backgroundColor:`${AppColors_1.AppColors.teal600}12`,borderColor:`${AppColors_1.AppColors.teal600}2E`}]}>
35
28
  <react_native_1.Text style={[styles.chipText,{color:AppColors_1.AppColors.teal600}]}>
36
- {Array.isArray(l.data)?`Array[${l.data.length}]`:`Object{${Object.keys(l.data).length}}`}
29
+ {Array.isArray(t.data)?`Array[${t.data.length}]`:`Object{${Object.keys(t.data).length}}`}
37
30
  </react_native_1.Text>
38
31
  </react_native_1.View>}
39
32
 
@@ -47,22 +40,16 @@
47
40
 
48
41
 
49
42
  <react_native_1.View style={styles.cardHeaderRight}>
50
- <react_native_1.View style={[styles.statusPill,{backgroundColor:t.statusPillBg,borderColor:t.statusPillBorder}]}>
51
- <S color={t.statusPillText}size={9.5}/>
52
- <react_native_1.Text style={[styles.statusPillText,{color:t.statusPillText}]}>
53
- {t.label}
54
- </react_native_1.Text>
55
- </react_native_1.View>
56
- <NetworkIcons_1.ForwardChevronIcon color={AppColors_1.AppColors.grayTextWeak}size={13}/>
43
+ <NetworkIcons_1.ForwardChevronIcon color={AppColors_1.AppColors.slate400}size={13}/>
57
44
  </react_native_1.View>
58
45
  </react_native_1.View>
59
46
 
60
47
 
61
48
  <react_native_1.View style={styles.messageBox}>
62
- {l?<react_native_1.View style={styles.jsonPreviewRow}>
63
- {l.header?<LogSyntaxHighlighter_1.default text={l.header}search={f}style={styles.messageText}detectLinks={!1}numberOfLines={1}/>:null}
64
- {b&&<LogSyntaxHighlighter_1.default text={b.text.replace(/\s+/g," ")}search={f}style={styles.jsonPreviewText}detectLinks={!1}numberOfLines={l.header?2:3}/>}
65
- </react_native_1.View>:getLogMessageWithBadges(o.message,f,styles.messageText,styles.highlight,3)}
49
+ {t?<react_native_1.View style={styles.jsonPreviewRow}>
50
+ {t.header?<LogSyntaxHighlighter_1.default text={t.header}search={p}style={styles.messageText}detectLinks={!1}numberOfLines={1}/>:null}
51
+ {e&&<LogSyntaxHighlighter_1.default text={e.text.replace(/\s+/g," ")}search={p}style={styles.jsonPreviewText}detectLinks={!1}numberOfLines={t.header?2:3}/>}
52
+ </react_native_1.View>:getLogMessageWithBadges(o.message,p,styles.messageText,styles.highlight,3)}
66
53
  </react_native_1.View>
67
54
 
68
55
 
@@ -75,7 +62,7 @@
75
62
  </react_native_1.Text>
76
63
  </react_native_1.View>
77
64
 
78
- {r&&<react_native_1.Pressable onPress={C=>{C.stopPropagation?.(),(0,helpers_1.openInVSCode)(r.rawFilePath||r.fullPath||r.fileName,r.lineNumber,r.columnNumber)}}hitSlop={8}style={styles.callerChip}>
65
+ {r&&<react_native_1.Pressable onPress={a=>{a.stopPropagation?.(),(0,helpers_1.openInVSCode)(r.rawFilePath||r.fullPath||r.fileName,r.lineNumber,r.columnNumber)}}hitSlop={8}style={styles.callerChip}>
79
66
  {r.fileExt&&r.fileExt!=="other"&&<react_native_1.View style={[styles.extBadge,{backgroundColor:r.fileExt==="tsx"||r.fileExt==="ts"?`${AppColors_1.AppColors.brandPurple}22`:`${AppColors_1.AppColors.teal600}22`}]}>
80
67
  <react_native_1.Text style={[styles.extBadgeText,{color:r.fileExt==="tsx"||r.fileExt==="ts"?AppColors_1.AppColors.brandPurple:AppColors_1.AppColors.teal600}]}>
81
68
  {r.fileExt.toUpperCase()}
@@ -89,23 +76,20 @@
89
76
  </react_native_1.View>
90
77
 
91
78
  <react_native_1.View style={styles.footerRight}>
92
- {l&&<react_native_1.View style={styles.metaStatChip}>
79
+ {t&&<react_native_1.View style={styles.metaStatChip}>
93
80
  <NetworkIcons_1.SizeIcon color={AppColors_1.AppColors.purple}size={8.5}/>
94
81
  <react_native_1.Text style={styles.metaStatText}>
95
- {(0,helpers_1.getSize)(l.data)}
82
+ {(0,helpers_1.getSize)(t.data)}
96
83
  </react_native_1.Text>
97
84
  </react_native_1.View>}
98
85
 
99
- {T&&<react_native_1.View style={[styles.chip,{backgroundColor:`${AppColors_1.AppColors.skyBlue}15`,borderColor:`${AppColors_1.AppColors.skyBlue}30`}]}>
86
+ {c&&<react_native_1.View style={[styles.chip,{backgroundColor:`${AppColors_1.AppColors.skyBlue}15`,borderColor:`${AppColors_1.AppColors.skyBlue}30`}]}>
100
87
  <react_native_1.Text style={[styles.chipText,{color:AppColors_1.AppColors.skyBlue}]}>
101
- {I("console.analyticsBadge")||"ANALYTICS"}
88
+ {u("console.analyticsBadge")||"ANALYTICS"}
102
89
  </react_native_1.Text>
103
90
  </react_native_1.View>}
104
91
  </react_native_1.View>
105
92
  </react_native_1.View>
106
-
107
-
108
- <react_native_1.View style={[styles.bottomAccentBar,{backgroundColor:`${t.border}35`}]}/>
109
93
  </react_native_1.View>
110
94
  </TouchableScale_1.default>
111
- </react_native_1.View>});const styles=react_native_1.StyleSheet.create({container:{paddingHorizontal:8,paddingVertical:4,height:148,justifyContent:"center"},card:{height:140,alignSelf:"stretch",borderRadius:10,overflow:"hidden",borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,shadowColor:AppColors_1.AppColors.shadowColorString},cardBody:{height:"100%",paddingHorizontal:12,paddingTop:10,paddingBottom:8,justifyContent:"space-between"},cardHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:22,minHeight:22,maxHeight:22},cardHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,marginRight:8,gap:6,minWidth:0,overflow:"hidden"},cardHeaderRight:{flexDirection:"row",alignItems:"center",gap:6,flexShrink:0},serialNumber:{fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.grayTextWeak,fontSize:10},methodBadge:{paddingHorizontal:7,paddingVertical:2.5,borderRadius:5,alignItems:"center",justifyContent:"center"},methodBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,lineHeight:12,letterSpacing:.5,color:AppColors_1.AppColors.white},chip:{paddingHorizontal:6,paddingVertical:2,borderRadius:4,borderWidth:1},chipText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9,lineHeight:12},dupBadge:{backgroundColor:`${AppColors_1.AppColors.purple}14`,borderColor:`${AppColors_1.AppColors.purple}2E`,borderWidth:1,paddingHorizontal:4.5,paddingVertical:1,borderRadius:3.5},dupBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,color:AppColors_1.AppColors.purple},statusPill:{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:7,paddingVertical:2.5,borderRadius:6,borderWidth:1,flexShrink:0},statusPillText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13},messageBox:{backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:7,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,paddingHorizontal:10,paddingVertical:6,height:68,minHeight:68,maxHeight:68,justifyContent:"center",gap:2,overflow:"hidden"},messageText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:AppColors_1.AppColors.primaryBlack,lineHeight:17},highlight:{backgroundColor:AppColors_1.AppColors.yellowHighlight,color:AppColors_1.AppColors.primaryBlack,borderRadius:2},jsonPreviewRow:{flexDirection:"column",justifyContent:"center",gap:2},jsonPreviewText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.teal700,lineHeight:15},cardFooterRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:18,minHeight:18,maxHeight:18,gap:6},footerLeft:{flexDirection:"row",alignItems:"center",gap:6,flex:1,minWidth:0,overflow:"hidden"},footerRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},cardDateRow:{flexDirection:"row",alignItems:"center",gap:3.5},cardDateText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.slate400},callerChip:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:AppColors_1.AppColors.skySoftBg,borderColor:AppColors_1.AppColors.skySoftBorder,borderWidth:1,paddingHorizontal:5,paddingVertical:1.5,borderRadius:4,flexShrink:1,minWidth:0},extBadge:{borderRadius:3,paddingHorizontal:3,paddingVertical:.5},extBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:7.5},callerChipText:{color:AppColors_1.AppColors.skySoftText,fontSize:9,lineHeight:12,fontFamily:AppFonts_1.AppFonts.interBold},metaStatChip:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:AppColors_1.AppColors.violetSoftBg,borderColor:AppColors_1.AppColors.violetSoftBorder,borderWidth:1,paddingHorizontal:5.5,paddingVertical:1.5,borderRadius:4},metaStatText:{fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.violetSoftText,fontSize:9,lineHeight:12},prefixTag:{flexDirection:"row",alignItems:"center",gap:2.5,paddingHorizontal:5,paddingVertical:1.5,borderRadius:3.5,borderWidth:1},prefixTagText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,letterSpacing:.3},bottomAccentBar:{height:2.5,width:"100%",borderRadius:1.5,marginTop:2}});exports.default=exports.ConsoleLogCard;
95
+ </react_native_1.View>});const styles=react_native_1.StyleSheet.create({container:{paddingHorizontal:8,paddingVertical:4,height:148,justifyContent:"center"},card:{height:140,alignSelf:"stretch",borderRadius:10,overflow:"hidden",borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,shadowColor:AppColors_1.AppColors.shadowColorString},cardBody:{height:"100%",paddingHorizontal:12,paddingTop:10,paddingBottom:8,justifyContent:"space-between"},cardHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:22,minHeight:22,maxHeight:22},cardHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,marginRight:8,gap:6,minWidth:0,overflow:"hidden"},cardHeaderRight:{flexDirection:"row",alignItems:"center",gap:6,flexShrink:0},serialNumber:{fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.grayTextWeak,fontSize:10},methodBadge:{paddingHorizontal:7,paddingVertical:2.5,borderRadius:5,alignItems:"center",justifyContent:"center"},methodBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,lineHeight:12,letterSpacing:.5,color:AppColors_1.AppColors.white},chip:{paddingHorizontal:6,paddingVertical:2,borderRadius:4,borderWidth:1},chipText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9,lineHeight:12},dupBadge:{backgroundColor:`${AppColors_1.AppColors.purple}14`,borderColor:`${AppColors_1.AppColors.purple}2E`,borderWidth:1,paddingHorizontal:4.5,paddingVertical:1,borderRadius:3.5},dupBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,color:AppColors_1.AppColors.purple},statusPill:{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:7,paddingVertical:2.5,borderRadius:6,borderWidth:1,flexShrink:0},statusPillText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13},messageBox:{backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:7,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,paddingHorizontal:10,paddingVertical:6,height:68,minHeight:68,maxHeight:68,justifyContent:"center",gap:2,overflow:"hidden"},messageText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:AppColors_1.AppColors.primaryBlack,lineHeight:17},highlight:{backgroundColor:AppColors_1.AppColors.yellowHighlight,color:AppColors_1.AppColors.primaryBlack,borderRadius:2},jsonPreviewRow:{flexDirection:"column",justifyContent:"center",gap:2},jsonPreviewText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.teal700,lineHeight:15},cardFooterRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:18,minHeight:18,maxHeight:18,gap:6},footerLeft:{flexDirection:"row",alignItems:"center",gap:6,flex:1,minWidth:0,overflow:"hidden"},footerRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},cardDateRow:{flexDirection:"row",alignItems:"center",gap:3.5},cardDateText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.slate400},callerChip:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:AppColors_1.AppColors.skySoftBg,borderColor:AppColors_1.AppColors.skySoftBorder,borderWidth:1,paddingHorizontal:5,paddingVertical:1.5,borderRadius:4,flexShrink:1,minWidth:0},extBadge:{borderRadius:3,paddingHorizontal:3,paddingVertical:.5},extBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:7.5},callerChipText:{color:AppColors_1.AppColors.skySoftText,fontSize:9,lineHeight:12,fontFamily:AppFonts_1.AppFonts.interBold},metaStatChip:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:AppColors_1.AppColors.violetSoftBg,borderColor:AppColors_1.AppColors.violetSoftBorder,borderWidth:1,paddingHorizontal:5.5,paddingVertical:1.5,borderRadius:4},metaStatText:{fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.violetSoftText,fontSize:9,lineHeight:12},prefixTag:{flexDirection:"row",alignItems:"center",gap:2.5,paddingHorizontal:5,paddingVertical:1.5,borderRadius:3.5,borderWidth:1},prefixTagText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,letterSpacing:.3},bottomAccentBar:{height:2.5,width:"100%",borderRadius:1.5,marginTop:2}});function areConsoleLogPropsEqual(l,o){return l.item===o.item&&l.searchStr===o.searchStr&&l.onPress===o.onPress}exports.MemoizedConsoleLogCard=react_1.default.memo(exports.ConsoleLogCard,areConsoleLogPropsEqual),exports.default=exports.MemoizedConsoleLogCard;