@tamagui/react-native-web-lite 1.113.0 → 1.113.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 (243) hide show
  1. package/dist/esm/AccessibilityInfo/index.native.js +62 -58
  2. package/dist/esm/AccessibilityInfo/index.native.js.map +6 -1
  3. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js +55 -85
  4. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js.map +6 -1
  5. package/dist/esm/ActivityIndicator/index.native.js +90 -82
  6. package/dist/esm/ActivityIndicator/index.native.js.map +6 -1
  7. package/dist/esm/Alert/index.native.js +18 -14
  8. package/dist/esm/Alert/index.native.js.map +6 -1
  9. package/dist/esm/AppRegistry/AppContainer.native.js +26 -30
  10. package/dist/esm/AppRegistry/AppContainer.native.js.map +6 -1
  11. package/dist/esm/AppRegistry/__tests__/index-test.native.js +13 -13
  12. package/dist/esm/AppRegistry/__tests__/index-test.native.js.map +6 -1
  13. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js +34 -45
  14. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js.map +6 -1
  15. package/dist/esm/AppRegistry/index.native.js +55 -50
  16. package/dist/esm/AppRegistry/index.native.js.map +6 -1
  17. package/dist/esm/AppRegistry/renderApplication.native.js +27 -33
  18. package/dist/esm/AppRegistry/renderApplication.native.js.map +6 -1
  19. package/dist/esm/AppState/__tests__/index-test.native.js +10 -9
  20. package/dist/esm/AppState/__tests__/index-test.native.js.map +6 -1
  21. package/dist/esm/AppState/index.native.js +51 -45
  22. package/dist/esm/AppState/index.native.js.map +6 -1
  23. package/dist/esm/Appearance/index.native.js +24 -27
  24. package/dist/esm/Appearance/index.native.js.map +6 -1
  25. package/dist/esm/BackHandler/index.native.js +13 -11
  26. package/dist/esm/BackHandler/index.native.js.map +6 -1
  27. package/dist/esm/Clipboard/index.native.js +26 -21
  28. package/dist/esm/Clipboard/index.native.js.map +6 -1
  29. package/dist/esm/DeviceEmitter.native.js +5 -3
  30. package/dist/esm/DeviceEmitter.native.js.map +6 -1
  31. package/dist/esm/DeviceInfo/index.native.js +33 -41
  32. package/dist/esm/DeviceInfo/index.native.js.map +6 -1
  33. package/dist/esm/Dimensions/__tests__/index-test.native.js +8 -9
  34. package/dist/esm/Dimensions/__tests__/index-test.native.js.map +6 -1
  35. package/dist/esm/Dimensions/index.native.js +53 -49
  36. package/dist/esm/Dimensions/index.native.js.map +6 -1
  37. package/dist/esm/I18nManager/index.native.js +13 -10
  38. package/dist/esm/I18nManager/index.native.js.map +6 -1
  39. package/dist/esm/Image/index.native.js +149 -174
  40. package/dist/esm/Image/index.native.js.map +6 -1
  41. package/dist/esm/Image/types.native.js +1 -2
  42. package/dist/esm/Image/types.native.js.map +6 -1
  43. package/dist/esm/ImageBackground/__tests__/index-test.native.js +19 -27
  44. package/dist/esm/ImageBackground/__tests__/index-test.native.js.map +6 -1
  45. package/dist/esm/ImageBackground/index.native.js +33 -35
  46. package/dist/esm/ImageBackground/index.native.js.map +6 -1
  47. package/dist/esm/Keyboard/index.native.js +17 -13
  48. package/dist/esm/Keyboard/index.native.js.map +6 -1
  49. package/dist/esm/KeyboardAvoidingView/index.native.js +44 -34
  50. package/dist/esm/KeyboardAvoidingView/index.native.js.map +6 -1
  51. package/dist/esm/Linking/__tests__/index-test.native.js +9 -9
  52. package/dist/esm/Linking/__tests__/index-test.native.js.map +6 -1
  53. package/dist/esm/Linking/index.native.js +49 -42
  54. package/dist/esm/Linking/index.native.js.map +6 -1
  55. package/dist/esm/LogBox/index.native.js +12 -7
  56. package/dist/esm/LogBox/index.native.js.map +6 -1
  57. package/dist/esm/Modal/ModalAnimation.native.js +112 -89
  58. package/dist/esm/Modal/ModalAnimation.native.js.map +6 -1
  59. package/dist/esm/Modal/ModalContent.native.js +54 -52
  60. package/dist/esm/Modal/ModalContent.native.js.map +6 -1
  61. package/dist/esm/Modal/ModalFocusTrap.native.js +52 -49
  62. package/dist/esm/Modal/ModalFocusTrap.native.js.map +6 -1
  63. package/dist/esm/Modal/ModalPortal.native.js +11 -9
  64. package/dist/esm/Modal/ModalPortal.native.js.map +6 -1
  65. package/dist/esm/Modal/index.native.js +45 -53
  66. package/dist/esm/Modal/index.native.js.map +6 -1
  67. package/dist/esm/NativeModules/index.native.js +6 -5
  68. package/dist/esm/NativeModules/index.native.js.map +6 -1
  69. package/dist/esm/PanResponder/Alternative.js +122 -157
  70. package/dist/esm/PanResponder/Alternative.js.map +6 -1
  71. package/dist/esm/PanResponder/index.native.js +5 -3
  72. package/dist/esm/PanResponder/index.native.js.map +6 -1
  73. package/dist/esm/PixelRatio/index.native.js +59 -48
  74. package/dist/esm/PixelRatio/index.native.js.map +6 -1
  75. package/dist/esm/Pressable/index.native.js +67 -70
  76. package/dist/esm/Pressable/index.native.js.map +6 -1
  77. package/dist/esm/RefreshControl/index.native.js +6 -4
  78. package/dist/esm/RefreshControl/index.native.js.map +6 -1
  79. package/dist/esm/SafeAreaView/index.native.js +21 -24
  80. package/dist/esm/SafeAreaView/index.native.js.map +6 -1
  81. package/dist/esm/ScrollView/ScrollViewBase.native.js +50 -61
  82. package/dist/esm/ScrollView/ScrollViewBase.native.js.map +6 -1
  83. package/dist/esm/ScrollView/index.native.js +211 -183
  84. package/dist/esm/ScrollView/index.native.js.map +6 -1
  85. package/dist/esm/Share/index.native.js +36 -29
  86. package/dist/esm/Share/index.native.js.map +6 -1
  87. package/dist/esm/StatusBar/index.native.js +6 -3
  88. package/dist/esm/StatusBar/index.native.js.map +6 -1
  89. package/dist/esm/Text/index.native.js +100 -128
  90. package/dist/esm/Text/index.native.js.map +6 -1
  91. package/dist/esm/Text/types.native.js +1 -2
  92. package/dist/esm/Text/types.native.js.map +6 -1
  93. package/dist/esm/TextInput/__tests__/index-test.native.js +259 -445
  94. package/dist/esm/TextInput/__tests__/index-test.native.js.map +6 -1
  95. package/dist/esm/TextInput/index.native.js +157 -220
  96. package/dist/esm/TextInput/index.native.js.map +6 -1
  97. package/dist/esm/TextInput/types.native.js +1 -2
  98. package/dist/esm/TextInput/types.native.js.map +6 -1
  99. package/dist/esm/TouchableOpacity.native.js +67 -63
  100. package/dist/esm/TouchableOpacity.native.js.map +6 -1
  101. package/dist/esm/TouchableWithoutFeedback.native.js +45 -49
  102. package/dist/esm/TouchableWithoutFeedback.native.js.map +6 -1
  103. package/dist/esm/UnimplementedView.native.js +30 -22
  104. package/dist/esm/UnimplementedView.native.js.map +6 -1
  105. package/dist/esm/Vibration/index.native.js +14 -14
  106. package/dist/esm/Vibration/index.native.js.map +6 -1
  107. package/dist/esm/View/index.native.js +55 -84
  108. package/dist/esm/View/index.native.js.map +6 -1
  109. package/dist/esm/View/types.native.js +1 -2
  110. package/dist/esm/View/types.native.js.map +6 -1
  111. package/dist/esm/createElement/__tests__/index-test.native.js +195 -398
  112. package/dist/esm/createElement/__tests__/index-test.native.js.map +6 -1
  113. package/dist/esm/createElement/index.native.js +14 -16
  114. package/dist/esm/createElement/index.native.js.map +6 -1
  115. package/dist/esm/createReactDOMStyle.native.js +4 -2
  116. package/dist/esm/createReactDOMStyle.native.js.map +6 -1
  117. package/dist/esm/findNodeHandle.native.js +7 -4
  118. package/dist/esm/findNodeHandle.native.js.map +6 -1
  119. package/dist/esm/index.native.js +133 -55
  120. package/dist/esm/index.native.js.map +6 -1
  121. package/dist/esm/render/index.native.js +9 -4
  122. package/dist/esm/render/index.native.js.map +6 -1
  123. package/dist/esm/styleTypes.native.js +1 -2
  124. package/dist/esm/styleTypes.native.js.map +6 -1
  125. package/dist/esm/types.native.js +1 -2
  126. package/dist/esm/types.native.js.map +6 -1
  127. package/dist/esm/useColorScheme/index.native.js +7 -7
  128. package/dist/esm/useColorScheme/index.native.js.map +6 -1
  129. package/dist/esm/useLocaleContext/index.native.js +4 -2
  130. package/dist/esm/useLocaleContext/index.native.js.map +6 -1
  131. package/dist/esm/useWindowDimensions/index.native.js +9 -9
  132. package/dist/esm/useWindowDimensions/index.native.js.map +6 -1
  133. package/dist/esm/vendor/react-native/Animated/Animated.native.js +17 -16
  134. package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +6 -1
  135. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +99 -72
  136. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +6 -1
  137. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +436 -465
  138. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +6 -1
  139. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +91 -97
  140. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +6 -1
  141. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js +1 -2
  142. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js.map +6 -1
  143. package/dist/esm/vendor/react-native/Animated/Easing.native.js +231 -194
  144. package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +6 -1
  145. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +222 -206
  146. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +6 -1
  147. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +5 -3
  148. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +6 -1
  149. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +5 -3
  150. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +6 -1
  151. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js +5 -5
  152. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +6 -1
  153. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +37 -25
  154. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +6 -1
  155. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +54 -42
  156. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +6 -1
  157. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +72 -72
  158. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +6 -1
  159. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +60 -45
  160. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +6 -1
  161. package/dist/esm/vendor/react-native/Animated/bezier.native.js +20 -23
  162. package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +6 -1
  163. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +6 -4
  164. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js.map +6 -1
  165. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +13 -12
  166. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +6 -1
  167. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +6 -4
  168. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +6 -1
  169. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +6 -4
  170. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +6 -1
  171. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +11 -17
  172. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +6 -1
  173. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +55 -39
  174. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +6 -1
  175. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +197 -180
  176. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +6 -1
  177. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +51 -39
  178. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +6 -1
  179. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +57 -42
  180. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +6 -1
  181. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +116 -99
  182. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +6 -1
  183. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +50 -37
  184. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +6 -1
  185. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +55 -39
  186. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +6 -1
  187. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +89 -61
  188. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +6 -1
  189. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +70 -52
  190. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +6 -1
  191. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +68 -50
  192. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +6 -1
  193. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +55 -39
  194. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +6 -1
  195. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +53 -41
  196. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +6 -1
  197. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +57 -44
  198. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +6 -1
  199. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +99 -70
  200. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +6 -1
  201. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +82 -64
  202. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +6 -1
  203. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +53 -40
  204. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +6 -1
  205. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +58 -50
  206. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +6 -1
  207. package/dist/esm/vendor/react-native/FeatureFlags.native.js +10 -8
  208. package/dist/esm/vendor/react-native/FeatureFlags.native.js.map +6 -1
  209. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js +5 -3
  210. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +6 -1
  211. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js +55 -46
  212. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js.map +6 -1
  213. package/dist/esm/vendor/react-native/PanResponder/index.native.js +219 -224
  214. package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +6 -1
  215. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js +81 -58
  216. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +6 -1
  217. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +1 -2
  218. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +6 -1
  219. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +5 -2
  220. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +6 -1
  221. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +1 -2
  222. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +6 -1
  223. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +6 -5
  224. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +6 -1
  225. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js +5 -3
  226. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js.map +6 -1
  227. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js +1 -2
  228. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js.map +6 -1
  229. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js +33 -24
  230. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js.map +6 -1
  231. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js +51 -41
  232. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js.map +6 -1
  233. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js +16 -12
  234. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js.map +6 -1
  235. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js +26 -21
  236. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js.map +6 -1
  237. package/dist/esm/vendor/react-native/infoLog/index.native.js +6 -3
  238. package/dist/esm/vendor/react-native/infoLog/index.native.js.map +6 -1
  239. package/dist/esm/vendor/react-native/useRefEffect.native.js +8 -4
  240. package/dist/esm/vendor/react-native/useRefEffect.native.js.map +6 -1
  241. package/dist/esm/without-animated.native.js +115 -52
  242. package/dist/esm/without-animated.native.js.map +6 -1
  243. package/package.json +6 -6
@@ -1,76 +1,99 @@
1
1
  var TouchHistoryMath = {
2
- /**
3
- * This code is optimized and not intended to look beautiful. This allows
4
- * computing of touch centroids that have moved after `touchesChangedAfter`
5
- * timeStamp. You can compute the current centroid involving all touches
6
- * moves after `touchesChangedAfter`, or you can compute the previous
7
- * centroid of all touches that were moved after `touchesChangedAfter`.
8
- *
9
- * @param {TouchHistoryMath} touchHistory Standard Responder touch track
10
- * data.
11
- * @param {number} touchesChangedAfter timeStamp after which moved touches
12
- * are considered "actively moving" - not just "active".
13
- * @param {boolean} isXAxis Consider `x` dimension vs. `y` dimension.
14
- * @param {boolean} ofCurrent Compute current centroid for actively moving
15
- * touches vs. previous centroid of now actively moving touches.
16
- * @return {number} value of centroid in specified dimension.
17
- */
18
- centroidDimension: function (touchHistory, touchesChangedAfter, isXAxis, ofCurrent) {
19
- var touchBank = touchHistory.touchBank,
20
- total = 0,
21
- count = 0,
22
- oneTouchData = touchHistory.numberActiveTouches === 1 ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch] : null;
23
- if (oneTouchData !== null) oneTouchData.touchActive && oneTouchData.currentTimeStamp > touchesChangedAfter && (total += ofCurrent && isXAxis ? oneTouchData.currentPageX : ofCurrent && !isXAxis ? oneTouchData.currentPageY : !ofCurrent && isXAxis ? oneTouchData.previousPageX : oneTouchData.previousPageY, count = 1);else for (var i = 0; i < touchBank.length; i++) {
2
+ /**
3
+ * This code is optimized and not intended to look beautiful. This allows
4
+ * computing of touch centroids that have moved after `touchesChangedAfter`
5
+ * timeStamp. You can compute the current centroid involving all touches
6
+ * moves after `touchesChangedAfter`, or you can compute the previous
7
+ * centroid of all touches that were moved after `touchesChangedAfter`.
8
+ *
9
+ * @param {TouchHistoryMath} touchHistory Standard Responder touch track
10
+ * data.
11
+ * @param {number} touchesChangedAfter timeStamp after which moved touches
12
+ * are considered "actively moving" - not just "active".
13
+ * @param {boolean} isXAxis Consider `x` dimension vs. `y` dimension.
14
+ * @param {boolean} ofCurrent Compute current centroid for actively moving
15
+ * touches vs. previous centroid of now actively moving touches.
16
+ * @return {number} value of centroid in specified dimension.
17
+ */
18
+ centroidDimension: function(touchHistory, touchesChangedAfter, isXAxis, ofCurrent) {
19
+ var touchBank = touchHistory.touchBank, total = 0, count = 0, oneTouchData = touchHistory.numberActiveTouches === 1 ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch] : null;
20
+ if (oneTouchData !== null)
21
+ oneTouchData.touchActive && oneTouchData.currentTimeStamp > touchesChangedAfter && (total += ofCurrent && isXAxis ? oneTouchData.currentPageX : ofCurrent && !isXAxis ? oneTouchData.currentPageY : !ofCurrent && isXAxis ? oneTouchData.previousPageX : oneTouchData.previousPageY, count = 1);
22
+ else
23
+ for (var i = 0; i < touchBank.length; i++) {
24
24
  var touchTrack = touchBank[i];
25
25
  if (touchTrack != null && touchTrack.touchActive && touchTrack.currentTimeStamp >= touchesChangedAfter) {
26
26
  var toAdd = void 0;
27
27
  ofCurrent && isXAxis ? toAdd = touchTrack.currentPageX : ofCurrent && !isXAxis ? toAdd = touchTrack.currentPageY : !ofCurrent && isXAxis ? toAdd = touchTrack.previousPageX : toAdd = touchTrack.previousPageY, total += toAdd, count++;
28
28
  }
29
29
  }
30
- return count > 0 ? total / count : TouchHistoryMath.noCentroid;
31
- },
32
- currentCentroidXOfTouchesChangedAfter: function (touchHistory, touchesChangedAfter) {
33
- return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, !0,
30
+ return count > 0 ? total / count : TouchHistoryMath.noCentroid;
31
+ },
32
+ currentCentroidXOfTouchesChangedAfter: function(touchHistory, touchesChangedAfter) {
33
+ return TouchHistoryMath.centroidDimension(
34
+ touchHistory,
35
+ touchesChangedAfter,
36
+ !0,
34
37
  // isXAxis
35
- !0);
36
- },
37
- // ofCurrent
38
- currentCentroidYOfTouchesChangedAfter: function (touchHistory, touchesChangedAfter) {
39
- return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, !1,
38
+ !0
39
+ );
40
+ },
41
+ // ofCurrent
42
+ currentCentroidYOfTouchesChangedAfter: function(touchHistory, touchesChangedAfter) {
43
+ return TouchHistoryMath.centroidDimension(
44
+ touchHistory,
45
+ touchesChangedAfter,
46
+ !1,
40
47
  // isXAxis
41
- !0);
42
- },
43
- // ofCurrent
44
- previousCentroidXOfTouchesChangedAfter: function (touchHistory, touchesChangedAfter) {
45
- return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, !0,
48
+ !0
49
+ );
50
+ },
51
+ // ofCurrent
52
+ previousCentroidXOfTouchesChangedAfter: function(touchHistory, touchesChangedAfter) {
53
+ return TouchHistoryMath.centroidDimension(
54
+ touchHistory,
55
+ touchesChangedAfter,
56
+ !0,
46
57
  // isXAxis
47
- !1);
48
- },
49
- // ofCurrent
50
- previousCentroidYOfTouchesChangedAfter: function (touchHistory, touchesChangedAfter) {
51
- return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, !1,
58
+ !1
59
+ );
60
+ },
61
+ // ofCurrent
62
+ previousCentroidYOfTouchesChangedAfter: function(touchHistory, touchesChangedAfter) {
63
+ return TouchHistoryMath.centroidDimension(
64
+ touchHistory,
65
+ touchesChangedAfter,
66
+ !1,
52
67
  // isXAxis
53
- !1);
54
- },
55
- // ofCurrent
56
- currentCentroidX: function (touchHistory) {
57
- return TouchHistoryMath.centroidDimension(touchHistory, 0,
68
+ !1
69
+ );
70
+ },
71
+ // ofCurrent
72
+ currentCentroidX: function(touchHistory) {
73
+ return TouchHistoryMath.centroidDimension(
74
+ touchHistory,
75
+ 0,
58
76
  // touchesChangedAfter
59
77
  !0,
60
78
  // isXAxis
61
- !0);
62
- },
63
- // ofCurrent
64
- currentCentroidY: function (touchHistory) {
65
- return TouchHistoryMath.centroidDimension(touchHistory, 0,
79
+ !0
80
+ );
81
+ },
82
+ // ofCurrent
83
+ currentCentroidY: function(touchHistory) {
84
+ return TouchHistoryMath.centroidDimension(
85
+ touchHistory,
86
+ 0,
66
87
  // touchesChangedAfter
67
88
  !1,
68
89
  // isXAxis
69
- !0);
70
- },
71
- // ofCurrent
72
- noCentroid: -1
90
+ !0
91
+ );
73
92
  },
74
- TouchHistoryMath_default = TouchHistoryMath;
75
- export { TouchHistoryMath_default as default };
76
- //# sourceMappingURL=index.native.js.map
93
+ // ofCurrent
94
+ noCentroid: -1
95
+ }, TouchHistoryMath_default = TouchHistoryMath;
96
+ export {
97
+ TouchHistoryMath_default as default
98
+ };
99
+ //# sourceMappingURL=index.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["TouchHistoryMath","centroidDimension","touchHistory","touchesChangedAfter","isXAxis","ofCurrent","touchBank","total","count","oneTouchData","numberActiveTouches","indexOfSingleActiveTouch","touchActive","currentTimeStamp","currentPageX","currentPageY","previousPageX","previousPageY","i","length","touchTrack","toAdd","noCentroid","currentCentroidXOfTouchesChangedAfter","currentCentroidYOfTouchesChangedAfter","previousCentroidXOfTouchesChangedAfter","previousCentroidYOfTouchesChangedAfter","currentCentroidX","currentCentroidY","TouchHistoryMath_default","default"],"sources":["../../../../../src/vendor/react-native/TouchHistoryMath/index.tsx"],"sourcesContent":[null],"mappings":"AASA,IAAAA,gBAAM;IAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IAiBvBC,iBAAA,EAAmB,SAAAA,CAAUC,YAAA,EAAcC,mBAAA,EAAqBC,OAAA,EAASC,SAAA,EAAW;MAClF,IAAAC,SAAM,GAAAJ,YAAY,CAAAI,SAAa;QAAAC,KAAA;QAAAC,KAAA;QAAAC,YAAA,GAAAP,YAAA,CAAAQ,mBAAA,SAAAR,YAAA,CAAAI,SAAA,CAAAJ,YAAA,CAAAS,wBAAA;MAC/B,IAAIF,YACA,SAAQ,EAEZA,YAAM,CAAAG,WACJ,IAAAH,YAAa,CAAAI,gBAAwB,GACjCV,mBAAa,KAAUI,KAAA,IAAAF,SAAa,IAAAD,OAAA,GAAAK,YACpC,CAAAK,YAAA,GAAAT,SAAA,KAAAD,OAAA,GAAAK,YAAA,CAAAM,YAAA,IAAAV,SAAA,IAAAD,OAAA,GAAAK,YAAA,CAAAO,aAAA,GAAAP,YAAA,CAAAQ,aAAA,EAAAT,KAAA,WAIF,SAAAU,CAAA,GAAa,GAAAA,CAAA,GAAAZ,SACb,CAAAa,MAAA,EAAAD,CAAA,EAAa;QAUL,IAAAE,UAAA,GAAAd,SAAA,CAAAY,CAAA;QAGV,IAAAE,UAAgB,IAAI,QAAAA,UAAkB,CAAAR,WAAK,IAAAQ,UAAA,CAAAP,gBAAA,IAAAV,mBAAA;UACzC,IAAMkB,KAAA,QAAa;UACnBhB,SACE,IAAAD,OAAe,GAAAiB,KAEf,GAAAD,UAAW,CAAAN,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vendor/react-native/TouchHistoryMath/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/TouchHistoryMath/index.tsx"],
4
+ "mappings": "AASA,IAAMA,mBAAmB;;;;;;;;;;;;;;;;;EAiBvBC,mBAAmB,SAAUC,cAAcC,qBAAqBC,SAASC,WAAS;AAChF,QAAMC,YAAYJ,aAAaI,WAC3BC,QAAQ,GACRC,QAAQ,GAENC,eACJP,aAAaQ,wBAAwB,IACjCR,aAAaI,UAAUJ,aAAaS,wBAAwB,IAC5D;AAEN,QAAIF,iBAAiB;AACnB,MACEA,aAAaG,eACbH,aAAaI,mBAAmBV,wBAEhCI,SACEF,aAAaD,UACTK,aAAaK,eACbT,aAAa,CAACD,UACdK,aAAaM,eACb,CAACV,aAAaD,UACdK,aAAaO,gBACbP,aAAaQ,eACnBT,QAAQ;;AAGV,eAASU,IAAI,GAAGA,IAAIZ,UAAUa,QAAQD,KAAK;AACzC,YAAME,aAAad,UAAUY,CAAAA;AAC7B,YACEE,cAAe,QAEfA,WAAWR,eACXQ,WAAWP,oBAAoBV,qBAC/B;AACA,cAAIkB,QAAAA;AACJ,UAAIhB,aAAaD,UACfiB,QAAQD,WAAWN,eACVT,aAAa,CAACD,UACvBiB,QAAQD,WAAWL,eACV,CAACV,aAAaD,UACvBiB,QAAQD,WAAWJ,gBAEnBK,QAAQD,WAAWH,eAErBV,SAASc,OACTb;QACF;MACF;AAEF,WAAOA,QAAQ,IAAID,QAAQC,QAAQR,iBAAiBsB;EACtD;EAEAC,uCAAuC,SAAUrB,cAAcC,qBAAmB;AAChF,WAAOH,iBAAiBC;MACtBC;MACAC;MACA;;MACA;IAAA;EAEJ;;EAEAqB,uCAAuC,SAAUtB,cAAcC,qBAAmB;AAChF,WAAOH,iBAAiBC;MACtBC;MACAC;MACA;;MACA;IAAA;EAEJ;;EAEAsB,wCAAwC,SAAUvB,cAAcC,qBAAmB;AACjF,WAAOH,iBAAiBC;MACtBC;MACAC;MACA;;MACA;IAAA;EAEJ;;EAEAuB,wCAAwC,SAAUxB,cAAcC,qBAAmB;AACjF,WAAOH,iBAAiBC;MACtBC;MACAC;MACA;;MACA;IAAA;EAEJ;;EAEAwB,kBAAkB,SAAUzB,cAAY;AACtC,WAAOF,iBAAiBC;MACtBC;MACA;;MACA;;MACA;IAAA;EAEJ;;EAEA0B,kBAAkB,SAAU1B,cAAY;AACtC,WAAOF,iBAAiBC;MACtBC;MACA;;MACA;;MACA;IAAA;EAEJ;;EAEAoB,YAAY;AACd,GAEA,2BAAetB;",
5
+ "names": ["TouchHistoryMath", "centroidDimension", "touchHistory", "touchesChangedAfter", "isXAxis", "ofCurrent", "touchBank", "total", "count", "oneTouchData", "numberActiveTouches", "indexOfSingleActiveTouch", "touchActive", "currentTimeStamp", "currentPageX", "currentPageY", "previousPageX", "previousPageY", "i", "length", "touchTrack", "toAdd", "noCentroid", "currentCentroidXOfTouchesChangedAfter", "currentCentroidYOfTouchesChangedAfter", "previousCentroidXOfTouchesChangedAfter", "previousCentroidYOfTouchesChangedAfter", "currentCentroidX", "currentCentroidY"]
6
+ }
@@ -1,2 +1 @@
1
-
2
- //# sourceMappingURL=RCTExport.native.js.map
1
+ //# sourceMappingURL=RCTExport.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "mappings": "",
5
+ "names": []
6
+ }
@@ -4,5 +4,8 @@ function get(name) {
4
4
  function getEnforcing(name) {
5
5
  return null;
6
6
  }
7
- export { get, getEnforcing };
8
- //# sourceMappingURL=TurboModuleRegistry.native.js.map
7
+ export {
8
+ get,
9
+ getEnforcing
10
+ };
11
+ //# sourceMappingURL=TurboModuleRegistry.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["get","name","getEnforcing"],"sources":["../../../../../src/vendor/react-native/TurboModule/TurboModuleRegistry.js"],"sourcesContent":[null],"mappings":"AAWO,SAASA,IAAIC,IAAA,EAAM;EACxB,OAAO;AACT;AACO,SAASC,aAAaD,IAAA,EAAM;EACjC,OAAO;AACT","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/vendor/react-native/TurboModule/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/TurboModule/TurboModuleRegistry.js"],
4
+ "mappings": "AAWO,SAASA,IAAIC,MAAI;AACtB,SAAO;AACT;AACO,SAASC,aAAaD,MAAI;AAC/B,SAAO;AACT;",
5
+ "names": ["get", "name", "getEnforcing"]
6
+ }
@@ -1,2 +1 @@
1
-
2
- //# sourceMappingURL=CoreEventTypes.native.js.map
1
+ //# sourceMappingURL=CoreEventTypes.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "mappings": "",
5
+ "names": []
6
+ }
@@ -1,11 +1,12 @@
1
1
  function setAndForwardRef(_ref) {
2
- var getForwardedRef = _ref.getForwardedRef,
3
- setLocalRef = _ref.setLocalRef;
4
- return function (ref) {
2
+ var getForwardedRef = _ref.getForwardedRef, setLocalRef = _ref.setLocalRef;
3
+ return function(ref) {
5
4
  var forwardedRef = getForwardedRef();
6
5
  setLocalRef(ref), typeof forwardedRef == "function" ? forwardedRef(ref) : typeof forwardedRef == "object" && forwardedRef != null && (forwardedRef.current = ref);
7
6
  };
8
7
  }
9
8
  var setAndForwardRef_default = setAndForwardRef;
10
- export { setAndForwardRef_default as default };
11
- //# sourceMappingURL=setAndForwardRef.native.js.map
9
+ export {
10
+ setAndForwardRef_default as default
11
+ };
12
+ //# sourceMappingURL=setAndForwardRef.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["setAndForwardRef","_ref","getForwardedRef","setLocalRef","ref","forwardedRef","current","setAndForwardRef_default"],"sources":["../../../../../src/vendor/react-native/Utilities/setAndForwardRef.js"],"sourcesContent":[null],"mappings":"AAyCA,SAASA,iBAAiBC,IAAA,EAAM;EAC9B,IAAIC,eAAA,GAAkBD,IAAA,CAAKC,eAAA;IACzBC,WAAA,GAAcF,IAAA,CAAKE,WAAA;EACrB,OAAO,UAAoBC,GAAA,EAAK;IAC9B,IAAIC,YAAA,GAAeH,eAAA,CAAgB;IACnCC,WAAA,CAAYC,GAAG,GAEX,OAAOC,YAAA,IAAiB,aAE1BA,YAAA,CAAaD,GAAG,IACP,OAAOC,YAAA,IAAiB,YAAYA,YAAA,IAAgB,SAE7DA,YAAA,CAAaC,OAAA,GAAUF,GAAA;EAE3B;AACF;AAEA,IAAOG,wBAAA,GAAQP,gBAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/vendor/react-native/Utilities/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/Utilities/setAndForwardRef.js"],
4
+ "mappings": "AAyCA,SAASA,iBAAiBC,MAAI;AAC5B,MAAIC,kBAAkBD,KAAKC,iBACzBC,cAAcF,KAAKE;AACrB,SAAO,SAAoBC,KAAG;AAC5B,QAAIC,eAAeH,gBAAAA;AACnBC,gBAAYC,GAAAA,GAER,OAAOC,gBAAiB,aAE1BA,aAAaD,GAAAA,IACJ,OAAOC,gBAAiB,YAAYA,gBAAgB,SAE7DA,aAAaC,UAAUF;EAE3B;AACF;AAEA,IAAA,2BAAeJ;",
5
+ "names": ["setAndForwardRef", "_ref", "getForwardedRef", "setLocalRef", "ref", "forwardedRef", "current"]
6
+ }
@@ -1,4 +1,6 @@
1
- import EventEmitter from "./_EventEmitter.native.js";
1
+ import EventEmitter from "./_EventEmitter";
2
2
  var EventEmitter_default = EventEmitter;
3
- export { EventEmitter_default as default };
4
- //# sourceMappingURL=EventEmitter.native.js.map
3
+ export {
4
+ EventEmitter_default as default
5
+ };
6
+ //# sourceMappingURL=EventEmitter.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["EventEmitter","EventEmitter_default"],"sources":["../../../../../src/vendor/react-native/emitter/EventEmitter.js"],"sourcesContent":[null],"mappings":"AAWA,OAAOA,YAAA,MAAkB;AACzB,IAAOC,oBAAA,GAAQD,YAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/vendor/react-native/emitter/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/emitter/EventEmitter.js"],
4
+ "mappings": "AAWA,OAAOA,kBAAkB;AACzB,IAAA,uBAAeA;",
5
+ "names": ["EventEmitter"]
6
+ }
@@ -1,2 +1 @@
1
-
2
- //# sourceMappingURL=EventSubscription.native.js.map
1
+ //# sourceMappingURL=EventSubscription.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "mappings": "",
5
+ "names": []
6
+ }
@@ -1,13 +1,15 @@
1
- import _EventSubscription from "./_EventSubscription.native.js";
1
+ import _EventSubscription from "./_EventSubscription";
2
2
  function _assert_this_initialized(self) {
3
- if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3
+ if (self === void 0)
4
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
5
  return self;
5
6
  }
6
7
  function _call_super(_this, derived, args) {
7
8
  return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
8
9
  }
9
10
  function _class_call_check(instance, Constructor) {
10
- if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
11
+ if (!(instance instanceof Constructor))
12
+ throw new TypeError("Cannot call a class as a function");
11
13
  }
12
14
  function _defineProperties(target, props) {
13
15
  for (var i = 0; i < props.length; i++) {
@@ -19,12 +21,13 @@ function _create_class(Constructor, protoProps, staticProps) {
19
21
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
20
22
  }
21
23
  function _get_prototype_of(o) {
22
- return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function (o2) {
24
+ return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
23
25
  return o2.__proto__ || Object.getPrototypeOf(o2);
24
26
  }, _get_prototype_of(o);
25
27
  }
26
28
  function _inherits(subClass, superClass) {
27
- if (typeof superClass != "function" && superClass !== null) throw new TypeError("Super expression must either be null or a function");
29
+ if (typeof superClass != "function" && superClass !== null)
30
+ throw new TypeError("Super expression must either be null or a function");
28
31
  subClass.prototype = Object.create(superClass && superClass.prototype, {
29
32
  constructor: {
30
33
  value: subClass,
@@ -37,31 +40,35 @@ function _possible_constructor_return(self, call) {
37
40
  return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
38
41
  }
39
42
  function _set_prototype_of(o, p) {
40
- return _set_prototype_of = Object.setPrototypeOf || function (o2, p2) {
43
+ return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
41
44
  return o2.__proto__ = p2, o2;
42
45
  }, _set_prototype_of(o, p);
43
46
  }
44
47
  function _type_of(obj) {
45
48
  "@swc/helpers - typeof";
46
-
47
49
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
48
50
  }
49
51
  function _is_native_reflect_construct() {
50
52
  try {
51
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
52
- } catch {}
53
- return (_is_native_reflect_construct = function () {
53
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
54
+ }));
55
+ } catch {
56
+ }
57
+ return (_is_native_reflect_construct = function() {
54
58
  return !!result;
55
59
  })();
56
60
  }
57
- var EmitterSubscription = /* @__PURE__ */function (_EventSubscription2) {
58
- _inherits(EmitterSubscription2, _EventSubscription2);
59
- function EmitterSubscription2(emitter, subscriber, listener, context) {
60
- _class_call_check(this, EmitterSubscription2);
61
- var _this;
62
- return _this = _call_super(this, EmitterSubscription2, [subscriber]), _this.emitter = emitter, _this.listener = listener, _this.context = context, _this;
63
- }
64
- return _create_class(EmitterSubscription2, [{
61
+ var EmitterSubscription = /* @__PURE__ */ function(_EventSubscription2) {
62
+ _inherits(EmitterSubscription2, _EventSubscription2);
63
+ function EmitterSubscription2(emitter, subscriber, listener, context) {
64
+ _class_call_check(this, EmitterSubscription2);
65
+ var _this;
66
+ return _this = _call_super(this, EmitterSubscription2, [
67
+ subscriber
68
+ ]), _this.emitter = emitter, _this.listener = listener, _this.context = context, _this;
69
+ }
70
+ return _create_class(EmitterSubscription2, [
71
+ {
65
72
  /**
66
73
  * Removes this subscription from the emitter that registered it.
67
74
  * Note: we're overriding the `remove()` method of _EventSubscription here
@@ -69,11 +76,13 @@ var EmitterSubscription = /* @__PURE__ */function (_EventSubscription2) {
69
76
  * for removing the subscription lies with the EventEmitter.
70
77
  */
71
78
  key: "remove",
72
- value: function () {
79
+ value: function() {
73
80
  this.emitter.removeSubscription(this);
74
81
  }
75
- }]), EmitterSubscription2;
76
- }(_EventSubscription),
77
- EmitterSubscription_default = EmitterSubscription;
78
- export { EmitterSubscription_default as default };
79
- //# sourceMappingURL=_EmitterSubscription.native.js.map
82
+ }
83
+ ]), EmitterSubscription2;
84
+ }(_EventSubscription), EmitterSubscription_default = EmitterSubscription;
85
+ export {
86
+ EmitterSubscription_default as default
87
+ };
88
+ //# sourceMappingURL=_EmitterSubscription.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["_EventSubscription","_assert_this_initialized","self","ReferenceError","_call_super","_this","derived","args","_get_prototype_of","_possible_constructor_return","_is_native_reflect_construct","Reflect","construct","constructor","apply","_class_call_check","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_create_class","protoProps","staticProps","prototype","o","setPrototypeOf","getPrototypeOf","o2","__proto__"],"sources":["../../../../../src/vendor/react-native/emitter/_EmitterSubscription.js"],"sourcesContent":[null],"mappings":"AAWA,OAAOA,kBAAA,MAAwB;AAK/B,SAAMC,yBAA4BC,IAA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EAEA,GAAO9B,iBAAA,CAAA2B,CAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/vendor/react-native/emitter/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/emitter/_EmitterSubscription.js"],
4
+ "mappings": "AAWA,OAAOA,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAK/B,IAAMC,sBAAN,yBAAAD,qBAAA;YAAMC,sBAAAA,mBAAAA;WAAAA,qBAWQC,SAASC,YAAYC,UAAUC,SAAO;4BAX9CJ,oBAAAA;;mBAYF,YAAA,MAZEA,sBAAAA;MAYIE;QACN,MAAKD,UAAUA,SACf,MAAKE,WAAWA,UAChB,MAAKC,UAAUA;;uBAfbJ,sBAAAA;;;;;;;;MAwBJK,KAAAA;aAAAA,WAAAA;AACE,aAAKJ,QAAQK,mBAAmB,IAAI;MACtC;;MA1BIN;EAA4BD,kBAAAA,GA6BlC,8BAAeC;",
5
+ "names": ["_EventSubscription", "EmitterSubscription", "emitter", "subscriber", "listener", "context", "remove", "removeSubscription"]
6
+ }
@@ -1,8 +1,9 @@
1
1
  import { invariant } from "@tamagui/react-native-web-internals";
2
- import EmitterSubscription from "./_EmitterSubscription.native.js";
3
- import EventSubscriptionVendor from "./_EventSubscriptionVendor.native.js";
2
+ import EmitterSubscription from "./_EmitterSubscription";
3
+ import EventSubscriptionVendor from "./_EventSubscriptionVendor";
4
4
  function _class_call_check(instance, Constructor) {
5
- if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
5
+ if (!(instance instanceof Constructor))
6
+ throw new TypeError("Cannot call a class as a function");
6
7
  }
7
8
  function _defineProperties(target, props) {
8
9
  for (var i = 0; i < props.length; i++) {
@@ -13,17 +14,16 @@ function _defineProperties(target, props) {
13
14
  function _create_class(Constructor, protoProps, staticProps) {
14
15
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
15
16
  }
16
- var sparseFilterPredicate = function () {
17
- return !0;
18
- },
19
- EventEmitter = /* @__PURE__ */function () {
20
- "use strict";
21
-
22
- function EventEmitter2() {
23
- var subscriber = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : new EventSubscriptionVendor();
24
- _class_call_check(this, EventEmitter2), this._subscriber = subscriber;
25
- }
26
- return _create_class(EventEmitter2, [{
17
+ var sparseFilterPredicate = function() {
18
+ return !0;
19
+ }, EventEmitter = /* @__PURE__ */ function() {
20
+ "use strict";
21
+ function EventEmitter2() {
22
+ var subscriber = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : new EventSubscriptionVendor();
23
+ _class_call_check(this, EventEmitter2), this._subscriber = subscriber;
24
+ }
25
+ return _create_class(EventEmitter2, [
26
+ {
27
27
  /**
28
28
  * Adds a listener to be invoked when events of the specified type are
29
29
  * emitted. An optional calling context may be provided. The data arguments
@@ -39,10 +39,11 @@ var sparseFilterPredicate = function () {
39
39
  * listener
40
40
  */
41
41
  key: "addListener",
42
- value: function (eventType, listener, context) {
42
+ value: function(eventType, listener, context) {
43
43
  return this._subscriber.addSubscription(eventType, new EmitterSubscription(this, this._subscriber, listener, context));
44
44
  }
45
- }, {
45
+ },
46
+ {
46
47
  /**
47
48
  * Removes all of the registered listeners, including those registered as
48
49
  * listener maps.
@@ -51,18 +52,20 @@ var sparseFilterPredicate = function () {
51
52
  * listeners to remove
52
53
  */
53
54
  key: "removeAllListeners",
54
- value: function (eventType) {
55
+ value: function(eventType) {
55
56
  this._subscriber.removeAllSubscriptions(eventType);
56
57
  }
57
- }, {
58
+ },
59
+ {
58
60
  /**
59
61
  * @deprecated Use `remove` on the EventSubscription from `addListener`.
60
62
  */
61
63
  key: "removeSubscription",
62
- value: function (subscription) {
64
+ value: function(subscription) {
63
65
  invariant(subscription.emitter === this, "Subscription does not belong to this emitter."), this._subscriber.removeSubscription(subscription);
64
66
  }
65
- }, {
67
+ },
68
+ {
66
69
  /**
67
70
  * Returns the number of listeners that are currently registered for the given
68
71
  * event.
@@ -71,16 +74,18 @@ var sparseFilterPredicate = function () {
71
74
  * @returns {number}
72
75
  */
73
76
  key: "listenerCount",
74
- value: function (eventType) {
77
+ value: function(eventType) {
75
78
  var subscriptions = this._subscriber.getSubscriptionsForType(eventType);
76
- return subscriptions ?
77
- // We filter out missing entries because the array is sparse.
78
- // "callbackfn is called only for elements of the array which actually
79
- // exist; it is not called for missing elements of the array."
80
- // https://www.ecma-international.org/ecma-262/9.0/index.html#sec-array.prototype.filter
81
- subscriptions.filter(sparseFilterPredicate).length : 0;
79
+ return subscriptions ? (
80
+ // We filter out missing entries because the array is sparse.
81
+ // "callbackfn is called only for elements of the array which actually
82
+ // exist; it is not called for missing elements of the array."
83
+ // https://www.ecma-international.org/ecma-262/9.0/index.html#sec-array.prototype.filter
84
+ subscriptions.filter(sparseFilterPredicate).length
85
+ ) : 0;
82
86
  }
83
- }, {
87
+ },
88
+ {
84
89
  /**
85
90
  * Emits an event of the given type with the given data. All handlers of that
86
91
  * particular type will be notified.
@@ -96,31 +101,36 @@ var sparseFilterPredicate = function () {
96
101
  * emitter.emit('someEvent', 'abc'); // logs 'abc'
97
102
  */
98
103
  key: "emit",
99
- value: function (eventType) {
104
+ value: function(eventType) {
100
105
  var subscriptions = this._subscriber.getSubscriptionsForType(eventType);
101
106
  if (subscriptions) {
102
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) args[_key - 1] = arguments[_key];
107
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++)
108
+ args[_key - 1] = arguments[_key];
103
109
  for (var i = 0, l = subscriptions.length; i < l; i++) {
104
110
  var subscription = subscriptions[i];
105
111
  subscription && subscription.listener && subscription.listener.apply(subscription.context, args);
106
112
  }
107
113
  }
108
114
  }
109
- }, {
115
+ },
116
+ {
110
117
  /**
111
118
  * @deprecated Use `remove` on the EventSubscription from `addListener`.
112
119
  */
113
120
  key: "removeListener",
114
- value: function (eventType, listener) {
121
+ value: function(eventType, listener) {
115
122
  console.error("EventEmitter.removeListener('" + eventType + "', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`.");
116
123
  var subscriptions = this._subscriber.getSubscriptionsForType(eventType);
117
- if (subscriptions) for (var i = 0, l = subscriptions.length; i < l; i++) {
118
- var subscription = subscriptions[i];
119
- subscription && subscription.listener === listener && subscription.remove();
120
- }
124
+ if (subscriptions)
125
+ for (var i = 0, l = subscriptions.length; i < l; i++) {
126
+ var subscription = subscriptions[i];
127
+ subscription && subscription.listener === listener && subscription.remove();
128
+ }
121
129
  }
122
- }]), EventEmitter2;
123
- }(),
124
- EventEmitter_default = EventEmitter;
125
- export { EventEmitter_default as default };
126
- //# sourceMappingURL=_EventEmitter.native.js.map
130
+ }
131
+ ]), EventEmitter2;
132
+ }(), EventEmitter_default = EventEmitter;
133
+ export {
134
+ EventEmitter_default as default
135
+ };
136
+ //# sourceMappingURL=_EventEmitter.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["invariant","EmitterSubscription","EventSubscriptionVendor","_class_call_check","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_create_class","protoProps","staticProps","prototype","sparseFilterPredicate","EventEmitter","EventEmitter2","subscriber","arguments","_subscriber","value","eventType","listener","context","addSubscription","removeAllSubscriptions","subscription","emitter","removeSubscription","subscriptions","getSubscriptionsForType","filter","_len","args","Array","_key","l"],"sources":["../../../../../src/vendor/react-native/emitter/_EventEmitter.js"],"sourcesContent":[null],"mappings":"AAUA,SAASA,SAAA,QAAiB;AAE1B,OAAOC,mBAAA,MAAyB;AAChC,OAAOC,uBAAA,MAA6B;AAEpC,SAAIC,kBAAAC,QAA8B,EAAAC,WAAA;EAelC,IAAM,EAAAD,QAAA,YAAaC,WAAA,aAAAC,SAAA;AAAA;AAAA,SAAAC,kBAAAC,MAAA,EAAA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AA;MAAA;IAAA;MAAA;AAAA;AAUE;MAEAZ,GAAA,EAAO;MAAAW,KAAA,WAAAA,CAAAM,YAAA;QAAAnC,SAAA,CAAAmC,YAAA,CAAAC,OAAA,kEAAAR,WAAA,CAAAS,kBAAA,CAAAF,YAAA;MAAA;IAAA,GAIyC;MAElD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;MAAAjB,GAAA;MAAAW,KAAA,WAAAA,CAAAC,SAAA;QAAA,IAAAQ,aAAA,QAAAV,WAAA,CAAAW,uBAAA,CAAAT,SAAA;QAAA,OAAAQ,aAAA;QAAA;QAAA;QAAA;QAAA;QAgBKA,aAAW,CAAAE,MAAA,CAAAjB,qBAAA,EAAAZ,MAAA,GACV;MAEJ;IACE,GAKE;MAGF;AACE;AAEA;AACwD;AAE1D;AACF;AACF;AAAA;AAAA;AAAA;AASE;AAAQ;AAGJ;AAKJ;MAEAO,GAAI;MACFW,KAAA,WAAAA,CAAgBC,SAAI;QAClB,IAAIQ,aAAA,GAAe,KAAAV,WAAe,CAAAW,uBAAA,CAAAT,SAAA;QAG9B,IAAAQ,aAAgB;UAGtB,SAAAG,IAAA,GAAAd,SAAA,CAAAhB,MAAA,EAAA+B,IAAA,OAAAC,KAAA,CAAAF,IAAA,OAAAA,IAAA,WAAAG,IAAA,MAAAA,IAAA,GAAAH,IAAA,EAAAG,IAAA,IAEJF,IAAA,CAAAE,IAAA,QAAAjB,SAAA,CAAAiB,IAAA;UACF,SAAAlC,CAAA,MAAAmC,CAAA,GAAAP,aAAA,CAAA3B,MAAA,EAAAD,CAAA,GAAAmC,CAAA,EAAAnC,CAAA;YAEO,IAAAyB,YAAQ,GAAAG,aAAA,CAAA5B,CAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/vendor/react-native/emitter/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/emitter/_EventEmitter.js"],
4
+ "mappings": "AAUA,SAASA,iBAAiB;AAE1B,OAAOC,yBA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AK;AACpD,gBAAIb,eAAeG,cAAcU,CAAAA;AAEjC,YAAIb,gBAAgBA,aAAaN,YAC/BM,aAAaN,SAASqB,MAAMf,aAAaL,SAASe,IAAAA;UAEtD;QACF;MACF;;;;;;MAKAM,KAAAA;aAAAA,SACEvB,WACAC,UAAQ;AAERuB,gBAAQC,MACN,kCACEzB,YACA,gIAEA;AAGJ,YAAIU,gBAAgB,KAAKZ,YAAYa,wBAAwBX,SAAAA;AAE7D,YAAIU;AACF,mBAASU,IAAI,GAAGC,IAAIX,cAAcG,QAAQO,IAAIC,GAAGD,KAAK;AACpD,gBAAIb,eAAeG,cAAcU,CAAAA;AAGjC,YAAIb,gBAAgBA,aAAaN,aAAaA,YAC5CM,aAAamB,OAAM;UAEvB;MAEJ;;MA5II9B;KA+IN,uBAAeA;",
5
+ "names": ["invariant", "EmitterSubscription", "EventSubscriptionVendor", "sparseFilterPredicate", "EventEmitter", "subscriber", "_subscriber", "addListener", "eventType", "listener", "context", "addSubscription", "removeAllListeners", "removeAllSubscriptions", "removeSubscription", "subscription", "emitter", "listenerCount", "subscriptions", "getSubscriptionsForType", "filter", "length", "emit", "_len", "arguments", "args", "Array", "_key", "i", "l", "apply", "removeListener", "console", "error", "remove"]
6
+ }
@@ -1,5 +1,6 @@
1
1
  function _class_call_check(instance, Constructor) {
2
- if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
2
+ if (!(instance instanceof Constructor))
3
+ throw new TypeError("Cannot call a class as a function");
3
4
  }
4
5
  function _defineProperties(target, props) {
5
6
  for (var i = 0; i < props.length; i++) {
@@ -10,20 +11,23 @@ function _defineProperties(target, props) {
10
11
  function _create_class(Constructor, protoProps, staticProps) {
11
12
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
12
13
  }
13
- var _EventSubscription = /* @__PURE__ */function () {
14
- function _EventSubscription2(subscriber) {
15
- _class_call_check(this, _EventSubscription2), this.subscriber = subscriber;
16
- }
17
- return _create_class(_EventSubscription2, [{
14
+ var _EventSubscription = /* @__PURE__ */ function() {
15
+ function _EventSubscription2(subscriber) {
16
+ _class_call_check(this, _EventSubscription2), this.subscriber = subscriber;
17
+ }
18
+ return _create_class(_EventSubscription2, [
19
+ {
18
20
  /**
19
21
  * Removes this subscription from the subscriber that controls it.
20
22
  */
21
23
  key: "remove",
22
- value: function () {
24
+ value: function() {
23
25
  this.subscriber.removeSubscription(this);
24
26
  }
25
- }]), _EventSubscription2;
26
- }(),
27
- EventSubscription_default = _EventSubscription;
28
- export { EventSubscription_default as default };
29
- //# sourceMappingURL=_EventSubscription.native.js.map
27
+ }
28
+ ]), _EventSubscription2;
29
+ }(), EventSubscription_default = _EventSubscription;
30
+ export {
31
+ EventSubscription_default as default
32
+ };
33
+ //# sourceMappingURL=_EventSubscription.js.map