@tamagui/react-native-web-lite 1.125.6 → 1.125.8

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 (274) hide show
  1. package/dist/esm/AccessibilityInfo/index.native.js +58 -62
  2. package/dist/esm/AccessibilityInfo/index.native.js.map +1 -6
  3. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js +85 -55
  4. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js.map +1 -6
  5. package/dist/esm/ActivityIndicator/index.native.js +82 -90
  6. package/dist/esm/ActivityIndicator/index.native.js.map +1 -6
  7. package/dist/esm/Alert/index.native.js +14 -18
  8. package/dist/esm/Alert/index.native.js.map +1 -6
  9. package/dist/esm/AppRegistry/AppContainer.native.js +30 -26
  10. package/dist/esm/AppRegistry/AppContainer.native.js.map +1 -6
  11. package/dist/esm/AppRegistry/__tests__/index-test.native.js +13 -13
  12. package/dist/esm/AppRegistry/__tests__/index-test.native.js.map +1 -6
  13. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js +45 -34
  14. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js.map +1 -6
  15. package/dist/esm/AppRegistry/index.native.js +50 -55
  16. package/dist/esm/AppRegistry/index.native.js.map +1 -6
  17. package/dist/esm/AppRegistry/renderApplication.native.js +33 -27
  18. package/dist/esm/AppRegistry/renderApplication.native.js.map +1 -6
  19. package/dist/esm/AppState/__tests__/index-test.native.js +9 -10
  20. package/dist/esm/AppState/__tests__/index-test.native.js.map +1 -6
  21. package/dist/esm/AppState/index.native.js +45 -51
  22. package/dist/esm/AppState/index.native.js.map +1 -6
  23. package/dist/esm/Appearance/index.native.js +27 -24
  24. package/dist/esm/Appearance/index.native.js.map +1 -6
  25. package/dist/esm/BackHandler/index.native.js +11 -13
  26. package/dist/esm/BackHandler/index.native.js.map +1 -6
  27. package/dist/esm/Batchinator/index.native.js +19 -23
  28. package/dist/esm/Batchinator/index.native.js.map +1 -6
  29. package/dist/esm/Clipboard/index.native.js +21 -26
  30. package/dist/esm/Clipboard/index.native.js.map +1 -6
  31. package/dist/esm/DeviceEmitter.native.js +3 -5
  32. package/dist/esm/DeviceEmitter.native.js.map +1 -6
  33. package/dist/esm/DeviceInfo/index.native.js +41 -33
  34. package/dist/esm/DeviceInfo/index.native.js.map +1 -6
  35. package/dist/esm/Dimensions/__tests__/index-test.native.js +9 -8
  36. package/dist/esm/Dimensions/__tests__/index-test.native.js.map +1 -6
  37. package/dist/esm/Dimensions/index.native.js +49 -53
  38. package/dist/esm/Dimensions/index.native.js.map +1 -6
  39. package/dist/esm/FlatList.native.js +137 -131
  40. package/dist/esm/FlatList.native.js.map +1 -6
  41. package/dist/esm/I18nManager/index.native.js +10 -13
  42. package/dist/esm/I18nManager/index.native.js.map +1 -6
  43. package/dist/esm/Image/index.native.js +174 -149
  44. package/dist/esm/Image/index.native.js.map +1 -6
  45. package/dist/esm/Image/types.native.js +2 -1
  46. package/dist/esm/Image/types.native.js.map +1 -6
  47. package/dist/esm/ImageBackground/__tests__/index-test.native.js +27 -19
  48. package/dist/esm/ImageBackground/__tests__/index-test.native.js.map +1 -6
  49. package/dist/esm/ImageBackground/index.native.js +35 -33
  50. package/dist/esm/ImageBackground/index.native.js.map +1 -6
  51. package/dist/esm/InteractionManager/TaskQueue.native.js +46 -51
  52. package/dist/esm/InteractionManager/TaskQueue.native.js.map +1 -6
  53. package/dist/esm/InteractionManager/index.native.js +66 -60
  54. package/dist/esm/InteractionManager/index.native.js.map +1 -6
  55. package/dist/esm/Keyboard/index.native.js +13 -17
  56. package/dist/esm/Keyboard/index.native.js.map +1 -6
  57. package/dist/esm/KeyboardAvoidingView/index.native.js +34 -44
  58. package/dist/esm/KeyboardAvoidingView/index.native.js.map +1 -6
  59. package/dist/esm/Linking/__tests__/index-test.native.js +9 -9
  60. package/dist/esm/Linking/__tests__/index-test.native.js.map +1 -6
  61. package/dist/esm/Linking/index.native.js +42 -49
  62. package/dist/esm/Linking/index.native.js.map +1 -6
  63. package/dist/esm/LogBox/index.native.js +7 -12
  64. package/dist/esm/LogBox/index.native.js.map +1 -6
  65. package/dist/esm/Modal/ModalAnimation.native.js +89 -112
  66. package/dist/esm/Modal/ModalAnimation.native.js.map +1 -6
  67. package/dist/esm/Modal/ModalContent.native.js +52 -54
  68. package/dist/esm/Modal/ModalContent.native.js.map +1 -6
  69. package/dist/esm/Modal/ModalFocusTrap.native.js +49 -52
  70. package/dist/esm/Modal/ModalFocusTrap.native.js.map +1 -6
  71. package/dist/esm/Modal/ModalPortal.native.js +9 -11
  72. package/dist/esm/Modal/ModalPortal.native.js.map +1 -6
  73. package/dist/esm/Modal/index.native.js +53 -45
  74. package/dist/esm/Modal/index.native.js.map +1 -6
  75. package/dist/esm/NativeModules/index.native.js +5 -6
  76. package/dist/esm/NativeModules/index.native.js.map +1 -6
  77. package/dist/esm/PanResponder/Alternative.js +157 -122
  78. package/dist/esm/PanResponder/Alternative.js.map +1 -6
  79. package/dist/esm/PanResponder/index.native.js +3 -5
  80. package/dist/esm/PanResponder/index.native.js.map +1 -6
  81. package/dist/esm/PixelRatio/index.native.js +48 -59
  82. package/dist/esm/PixelRatio/index.native.js.map +1 -6
  83. package/dist/esm/Pressable/index.native.js +70 -67
  84. package/dist/esm/Pressable/index.native.js.map +1 -6
  85. package/dist/esm/RefreshControl/index.native.js +4 -6
  86. package/dist/esm/RefreshControl/index.native.js.map +1 -6
  87. package/dist/esm/SafeAreaView/index.native.js +24 -21
  88. package/dist/esm/SafeAreaView/index.native.js.map +1 -6
  89. package/dist/esm/ScrollView/ScrollViewBase.native.js +61 -50
  90. package/dist/esm/ScrollView/ScrollViewBase.native.js.map +1 -6
  91. package/dist/esm/ScrollView/index.native.js +183 -211
  92. package/dist/esm/ScrollView/index.native.js.map +1 -6
  93. package/dist/esm/Share/index.native.js +29 -36
  94. package/dist/esm/Share/index.native.js.map +1 -6
  95. package/dist/esm/StatusBar/index.native.js +3 -6
  96. package/dist/esm/StatusBar/index.native.js.map +1 -6
  97. package/dist/esm/Text/index.native.js +128 -100
  98. package/dist/esm/Text/index.native.js.map +1 -6
  99. package/dist/esm/Text/types.native.js +2 -1
  100. package/dist/esm/Text/types.native.js.map +1 -6
  101. package/dist/esm/TextInput/__tests__/index-test.native.js +445 -259
  102. package/dist/esm/TextInput/__tests__/index-test.native.js.map +1 -6
  103. package/dist/esm/TextInput/index.native.js +210 -147
  104. package/dist/esm/TextInput/index.native.js.map +1 -6
  105. package/dist/esm/TextInput/types.native.js +2 -1
  106. package/dist/esm/TextInput/types.native.js.map +1 -6
  107. package/dist/esm/TouchableOpacity.native.js +63 -67
  108. package/dist/esm/TouchableOpacity.native.js.map +1 -6
  109. package/dist/esm/TouchableWithoutFeedback.native.js +49 -45
  110. package/dist/esm/TouchableWithoutFeedback.native.js.map +1 -6
  111. package/dist/esm/UnimplementedView.native.js +22 -30
  112. package/dist/esm/UnimplementedView.native.js.map +1 -6
  113. package/dist/esm/Vibration/index.native.js +14 -14
  114. package/dist/esm/Vibration/index.native.js.map +1 -6
  115. package/dist/esm/View/index.native.js +84 -55
  116. package/dist/esm/View/index.native.js.map +1 -6
  117. package/dist/esm/View/types.native.js +2 -1
  118. package/dist/esm/View/types.native.js.map +1 -6
  119. package/dist/esm/createElement/__tests__/index-test.native.js +398 -195
  120. package/dist/esm/createElement/__tests__/index-test.native.js.map +1 -6
  121. package/dist/esm/createElement/index.native.js +18 -16
  122. package/dist/esm/createElement/index.native.js.map +1 -6
  123. package/dist/esm/createReactDOMStyle.native.js +2 -4
  124. package/dist/esm/createReactDOMStyle.native.js.map +1 -6
  125. package/dist/esm/index.native.js +47 -123
  126. package/dist/esm/index.native.js.map +1 -6
  127. package/dist/esm/render/index.native.js +6 -15
  128. package/dist/esm/render/index.native.js.map +1 -6
  129. package/dist/esm/styleTypes.native.js +2 -1
  130. package/dist/esm/styleTypes.native.js.map +1 -6
  131. package/dist/esm/types.native.js +2 -1
  132. package/dist/esm/types.native.js.map +1 -6
  133. package/dist/esm/useColorScheme/index.native.js +7 -7
  134. package/dist/esm/useColorScheme/index.native.js.map +1 -6
  135. package/dist/esm/useLocaleContext/index.native.js +2 -4
  136. package/dist/esm/useLocaleContext/index.native.js.map +1 -6
  137. package/dist/esm/useWindowDimensions/index.native.js +9 -9
  138. package/dist/esm/useWindowDimensions/index.native.js.map +1 -6
  139. package/dist/esm/vendor/react-native/Animated/Animated.native.js +16 -17
  140. package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +1 -6
  141. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +72 -99
  142. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +1 -6
  143. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +465 -436
  144. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +1 -6
  145. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +97 -91
  146. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +1 -6
  147. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js +2 -1
  148. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js.map +1 -6
  149. package/dist/esm/vendor/react-native/Animated/Easing.native.js +194 -231
  150. package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +1 -6
  151. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +206 -222
  152. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +1 -6
  153. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +3 -5
  154. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +1 -6
  155. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +3 -5
  156. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +1 -6
  157. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js +5 -5
  158. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +1 -6
  159. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +25 -37
  160. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +1 -6
  161. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +42 -54
  162. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +1 -6
  163. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +72 -72
  164. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +1 -6
  165. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +45 -60
  166. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +1 -6
  167. package/dist/esm/vendor/react-native/Animated/bezier.native.js +23 -20
  168. package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +1 -6
  169. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +4 -6
  170. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js.map +1 -6
  171. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +12 -13
  172. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +1 -6
  173. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +4 -6
  174. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +1 -6
  175. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +4 -6
  176. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +1 -6
  177. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +17 -11
  178. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +1 -6
  179. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +39 -55
  180. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +1 -6
  181. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +180 -197
  182. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +1 -6
  183. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +39 -51
  184. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +1 -6
  185. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +42 -57
  186. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +1 -6
  187. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +99 -116
  188. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +1 -6
  189. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +37 -50
  190. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +1 -6
  191. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +39 -55
  192. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +1 -6
  193. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +61 -89
  194. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +1 -6
  195. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +52 -70
  196. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +1 -6
  197. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +50 -68
  198. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +1 -6
  199. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +39 -55
  200. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +1 -6
  201. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +41 -53
  202. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +1 -6
  203. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +44 -57
  204. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +1 -6
  205. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +70 -99
  206. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +1 -6
  207. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +64 -82
  208. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +1 -6
  209. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +40 -53
  210. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +1 -6
  211. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +50 -58
  212. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +1 -6
  213. package/dist/esm/vendor/react-native/FeatureFlags.native.js +8 -10
  214. package/dist/esm/vendor/react-native/FeatureFlags.native.js.map +1 -6
  215. package/dist/esm/vendor/react-native/FillRateHelper/index.native.js +58 -59
  216. package/dist/esm/vendor/react-native/FillRateHelper/index.native.js.map +1 -6
  217. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js +3 -5
  218. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +1 -6
  219. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js +46 -55
  220. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js.map +1 -6
  221. package/dist/esm/vendor/react-native/PanResponder/index.native.js +224 -219
  222. package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +1 -6
  223. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js +58 -81
  224. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +1 -6
  225. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +2 -1
  226. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +1 -6
  227. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +2 -5
  228. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +1 -6
  229. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +2 -1
  230. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +1 -6
  231. package/dist/esm/vendor/react-native/Utilities/clamp.native.js +2 -4
  232. package/dist/esm/vendor/react-native/Utilities/clamp.native.js.map +1 -6
  233. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +5 -6
  234. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +1 -6
  235. package/dist/esm/vendor/react-native/ViewabilityHelper.native.js +127 -129
  236. package/dist/esm/vendor/react-native/ViewabilityHelper.native.js.map +1 -6
  237. package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js +51 -50
  238. package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js.map +1 -6
  239. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js +60 -73
  240. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +1 -6
  241. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js +96 -96
  242. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +1 -6
  243. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +57 -64
  244. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +1 -6
  245. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +105 -117
  246. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +1 -6
  247. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +35 -37
  248. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +1 -6
  249. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +2 -1
  250. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +1 -6
  251. package/dist/esm/vendor/react-native/VirtualizedList/index.native.js +817 -760
  252. package/dist/esm/vendor/react-native/VirtualizedList/index.native.js.map +1 -6
  253. package/dist/esm/vendor/react-native/deepDiffer/index.native.js +17 -29
  254. package/dist/esm/vendor/react-native/deepDiffer/index.native.js.map +1 -6
  255. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js +3 -5
  256. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js.map +1 -6
  257. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js +2 -1
  258. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js.map +1 -6
  259. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js +24 -33
  260. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js.map +1 -6
  261. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js +41 -51
  262. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js.map +1 -6
  263. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js +12 -16
  264. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js.map +1 -6
  265. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js +21 -26
  266. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js.map +1 -6
  267. package/dist/esm/vendor/react-native/infoLog/index.native.js +3 -6
  268. package/dist/esm/vendor/react-native/infoLog/index.native.js.map +1 -6
  269. package/dist/esm/vendor/react-native/useRefEffect.native.js +4 -8
  270. package/dist/esm/vendor/react-native/useRefEffect.native.js.map +1 -6
  271. package/dist/esm/without-animated.native.js +51 -112
  272. package/dist/esm/without-animated.native.js.map +1 -6
  273. package/package.json +6 -6
  274. package/src/vendor/react-native/Animated/NativeAnimatedHelper.js +1 -1
@@ -1,18 +1,16 @@
1
1
  import normalizeColor from "@tamagui/normalize-css-color";
2
2
  import { invariant } from "@tamagui/react-native-web-internals";
3
- import NativeAnimatedHelper from "../NativeAnimatedHelper";
4
- import AnimatedWithChildren from "./AnimatedWithChildren";
3
+ import NativeAnimatedHelper from "../NativeAnimatedHelper.native.js";
4
+ import AnimatedWithChildren from "./AnimatedWithChildren.native.js";
5
5
  function _assert_this_initialized(self) {
6
- if (self === void 0)
7
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8
7
  return self;
9
8
  }
10
9
  function _call_super(_this, derived, args) {
11
10
  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));
12
11
  }
13
12
  function _class_call_check(instance, Constructor) {
14
- if (!(instance instanceof Constructor))
15
- throw new TypeError("Cannot call a class as a function");
13
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
16
14
  }
17
15
  function _defineProperties(target, props) {
18
16
  for (var i = 0; i < props.length; i++) {
@@ -24,7 +22,7 @@ function _create_class(Constructor, protoProps, staticProps) {
24
22
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
25
23
  }
26
24
  function _get(target, property, receiver) {
27
- return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function(target2, property2, receiver2) {
25
+ return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function (target2, property2, receiver2) {
28
26
  var base = _super_prop_base(target2, property2);
29
27
  if (base) {
30
28
  var desc = Object.getOwnPropertyDescriptor(base, property2);
@@ -33,13 +31,12 @@ function _get(target, property, receiver) {
33
31
  }, _get(target, property, receiver || target);
34
32
  }
35
33
  function _get_prototype_of(o) {
36
- return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
34
+ return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function (o2) {
37
35
  return o2.__proto__ || Object.getPrototypeOf(o2);
38
36
  }, _get_prototype_of(o);
39
37
  }
40
38
  function _inherits(subClass, superClass) {
41
- if (typeof superClass != "function" && superClass !== null)
42
- throw new TypeError("Super expression must either be null or a function");
39
+ if (typeof superClass != "function" && superClass !== null) throw new TypeError("Super expression must either be null or a function");
43
40
  subClass.prototype = Object.create(superClass && superClass.prototype, {
44
41
  constructor: {
45
42
  value: subClass,
@@ -52,41 +49,41 @@ function _possible_constructor_return(self, call) {
52
49
  return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
53
50
  }
54
51
  function _set_prototype_of(o, p) {
55
- return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
52
+ return _set_prototype_of = Object.setPrototypeOf || function (o2, p2) {
56
53
  return o2.__proto__ = p2, o2;
57
54
  }, _set_prototype_of(o, p);
58
55
  }
59
56
  function _super_prop_base(object, property) {
60
- for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null); )
61
- ;
57
+ for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null););
62
58
  return object;
63
59
  }
64
60
  function _type_of(obj) {
65
61
  "@swc/helpers - typeof";
62
+
66
63
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
67
64
  }
68
65
  function _is_native_reflect_construct() {
69
66
  try {
70
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
71
- }));
72
- } catch {
73
- }
74
- return (_is_native_reflect_construct = function() {
67
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
68
+ } catch {}
69
+ return (_is_native_reflect_construct = function () {
75
70
  return !!result;
76
71
  })();
77
72
  }
78
- var __DEV__ = process.env.NODE_ENV !== "production", linear = function(t) {
79
- return t;
80
- };
73
+ var __DEV__ = process.env.NODE_ENV !== "production",
74
+ linear = function (t) {
75
+ return t;
76
+ };
81
77
  function createInterpolation(config) {
82
- if (config.outputRange && typeof config.outputRange[0] == "string")
83
- return createInterpolationFromStringOutputRange(config);
84
- var outputRange = config.outputRange, inputRange = config.inputRange;
78
+ if (config.outputRange && typeof config.outputRange[0] == "string") return createInterpolationFromStringOutputRange(config);
79
+ var outputRange = config.outputRange,
80
+ inputRange = config.inputRange;
85
81
  __DEV__ && (checkInfiniteRange("outputRange", outputRange), checkInfiniteRange("inputRange", inputRange), checkValidInputRange(inputRange), invariant(inputRange.length === outputRange.length, "inputRange (" + inputRange.length + ") and outputRange (" + outputRange.length + ") must have the same length"));
86
- var easing = config.easing || linear, extrapolateLeft = "extend";
82
+ var easing = config.easing || linear,
83
+ extrapolateLeft = "extend";
87
84
  config.extrapolateLeft !== void 0 ? extrapolateLeft = config.extrapolateLeft : config.extrapolate !== void 0 && (extrapolateLeft = config.extrapolate);
88
85
  var extrapolateRight = "extend";
89
- return config.extrapolateRight !== void 0 ? extrapolateRight = config.extrapolateRight : config.extrapolate !== void 0 && (extrapolateRight = config.extrapolate), function(input) {
86
+ return config.extrapolateRight !== void 0 ? extrapolateRight = config.extrapolateRight : config.extrapolate !== void 0 && (extrapolateRight = config.extrapolate), function (input) {
90
87
  invariant(typeof input == "number", "Cannot interpolation an input which is not a number");
91
88
  var range = findRange(input, inputRange);
92
89
  return interpolate(input, inputRange[range], inputRange[range + 1], outputRange[range], outputRange[range + 1], easing, extrapolateLeft, extrapolateRight);
@@ -95,46 +92,47 @@ function createInterpolation(config) {
95
92
  function interpolate(input, inputMin, inputMax, outputMin, outputMax, easing, extrapolateLeft, extrapolateRight) {
96
93
  var result = input;
97
94
  if (result < inputMin) {
98
- if (extrapolateLeft === "identity")
99
- return result;
95
+ if (extrapolateLeft === "identity") return result;
100
96
  extrapolateLeft === "clamp" && (result = inputMin);
101
97
  }
102
98
  if (result > inputMax) {
103
- if (extrapolateRight === "identity")
104
- return result;
99
+ if (extrapolateRight === "identity") return result;
105
100
  extrapolateRight === "clamp" && (result = inputMax);
106
101
  }
107
102
  return outputMin === outputMax ? outputMin : inputMin === inputMax ? input <= inputMin ? outputMin : outputMax : (inputMin === -1 / 0 ? result = -result : inputMax === 1 / 0 ? result = result - inputMin : result = (result - inputMin) / (inputMax - inputMin), result = easing(result), outputMin === -1 / 0 ? result = -result : outputMax === 1 / 0 ? result = result + outputMin : result = result * (outputMax - outputMin) + outputMin, result);
108
103
  }
109
104
  function colorToRgba(input) {
110
105
  var normalizedColor = normalizeColor(input);
111
- if (normalizedColor === null || typeof normalizedColor != "number")
112
- return input;
106
+ if (normalizedColor === null || typeof normalizedColor != "number") return input;
113
107
  normalizedColor = normalizedColor || 0;
114
- var r = (normalizedColor & 4278190080) >>> 24, g = (normalizedColor & 16711680) >>> 16, b = (normalizedColor & 65280) >>> 8, a = (normalizedColor & 255) / 255;
108
+ var r = (normalizedColor & 4278190080) >>> 24,
109
+ g = (normalizedColor & 16711680) >>> 16,
110
+ b = (normalizedColor & 65280) >>> 8,
111
+ a = (normalizedColor & 255) / 255;
115
112
  return "rgba(" + r + ", " + g + ", " + b + ", " + a + ")";
116
113
  }
117
114
  var stringShapeRegex = /[+-]?(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?/g;
118
115
  function createInterpolationFromStringOutputRange(config) {
119
116
  var outputRange = config.outputRange;
120
117
  invariant(outputRange.length >= 2, "Bad output range"), outputRange = outputRange.map(colorToRgba), checkPattern(outputRange);
121
- var outputRanges = outputRange[0].match(stringShapeRegex).map(function() {
118
+ var outputRanges = outputRange[0].match(stringShapeRegex).map(function () {
122
119
  return [];
123
120
  });
124
- outputRange.forEach(function(value) {
125
- value.match(stringShapeRegex).forEach(function(number, i) {
121
+ outputRange.forEach(function (value) {
122
+ value.match(stringShapeRegex).forEach(function (number, i) {
126
123
  outputRanges[i].push(+number);
127
124
  });
128
125
  });
129
- var interpolations = outputRange[0].match(stringShapeRegex).map(function(value, i) {
130
- return createInterpolation({
131
- ...config,
132
- outputRange: outputRanges[i]
133
- });
134
- }), shouldRound = isRgbOrRgba(outputRange[0]);
135
- return function(input) {
126
+ var interpolations = outputRange[0].match(stringShapeRegex).map(function (value, i) {
127
+ return createInterpolation({
128
+ ...config,
129
+ outputRange: outputRanges[i]
130
+ });
131
+ }),
132
+ shouldRound = isRgbOrRgba(outputRange[0]);
133
+ return function (input) {
136
134
  var i = 0;
137
- return outputRange[0].replace(stringShapeRegex, function() {
135
+ return outputRange[0].replace(stringShapeRegex, function () {
138
136
  var val = +interpolations[i++](input);
139
137
  return shouldRound && (val = i < 4 ? Math.round(val) : Math.round(val * 1e3) / 1e3), String(val);
140
138
  });
@@ -144,94 +142,79 @@ function isRgbOrRgba(range) {
144
142
  return typeof range == "string" && range.startsWith("rgb");
145
143
  }
146
144
  function checkPattern(arr) {
147
- for (var pattern = arr[0].replace(stringShapeRegex, ""), i = 1; i < arr.length; ++i)
148
- invariant(pattern === arr[i].replace(stringShapeRegex, ""), "invalid pattern " + arr[0] + " and " + arr[i]);
145
+ for (var pattern = arr[0].replace(stringShapeRegex, ""), i = 1; i < arr.length; ++i) invariant(pattern === arr[i].replace(stringShapeRegex, ""), "invalid pattern " + arr[0] + " and " + arr[i]);
149
146
  }
150
147
  function findRange(input, inputRange) {
151
148
  var i;
152
- for (i = 1; i < inputRange.length - 1 && !(inputRange[i] >= input); ++i)
153
- ;
149
+ for (i = 1; i < inputRange.length - 1 && !(inputRange[i] >= input); ++i);
154
150
  return i - 1;
155
151
  }
156
152
  function checkValidInputRange(arr) {
157
153
  invariant(arr.length >= 2, "inputRange must have at least 2 elements");
158
- for (var message = "inputRange must be monotonically non-decreasing " + String(arr), i = 1; i < arr.length; ++i)
159
- invariant(arr[i] >= arr[i - 1], message);
154
+ for (var message = "inputRange must be monotonically non-decreasing " + String(arr), i = 1; i < arr.length; ++i) invariant(arr[i] >= arr[i - 1], message);
160
155
  }
161
156
  function checkInfiniteRange(name, arr) {
162
- invariant(arr.length >= 2, name + " must have at least 2 elements"), invariant(
163
- arr.length !== 2 || arr[0] !== -1 / 0 || arr[1] !== 1 / 0,
164
- /* $FlowFixMe[incompatible-type] (>=0.13.0) - In the addition expression
165
- * below this comment, one or both of the operands may be something that
166
- * doesn't cleanly convert to a string, like undefined, null, and object,
167
- * etc. If you really mean this implicit string conversion, you can do
168
- * something like String(myThing) */
169
- name + "cannot be ]-infinity;+infinity[ " + arr
170
- );
171
- }
172
- var AnimatedInterpolation = /* @__PURE__ */ function(AnimatedWithChildren2) {
157
+ invariant(arr.length >= 2, name + " must have at least 2 elements"), invariant(arr.length !== 2 || arr[0] !== -1 / 0 || arr[1] !== 1 / 0,
158
+ /* $FlowFixMe[incompatible-type] (>=0.13.0) - In the addition expression
159
+ * below this comment, one or both of the operands may be something that
160
+ * doesn't cleanly convert to a string, like undefined, null, and object,
161
+ * etc. If you really mean this implicit string conversion, you can do
162
+ * something like String(myThing) */
163
+ name + "cannot be ]-infinity;+infinity[ " + arr);
164
+ }
165
+ var AnimatedInterpolation = /* @__PURE__ */function (AnimatedWithChildren2) {
173
166
  _inherits(AnimatedInterpolation2, AnimatedWithChildren2);
174
167
  function AnimatedInterpolation2(parent, config) {
175
168
  _class_call_check(this, AnimatedInterpolation2);
176
169
  var _this;
177
170
  return _this = _call_super(this, AnimatedInterpolation2), _this._parent = parent, _this._config = config, _this._interpolation = createInterpolation(config), _this;
178
171
  }
179
- return _create_class(AnimatedInterpolation2, [
180
- {
181
- key: "__makeNative",
182
- value: function(platformConfig) {
183
- this._parent.__makeNative(platformConfig), _get(_get_prototype_of(AnimatedInterpolation2.prototype), "__makeNative", this).call(this, platformConfig);
184
- }
185
- },
186
- {
187
- key: "__getValue",
188
- value: function() {
189
- var parentValue = this._parent.__getValue();
190
- return invariant(typeof parentValue == "number", "Cannot interpolate an input which is not a number."), this._interpolation(parentValue);
191
- }
192
- },
193
- {
194
- key: "interpolate",
195
- value: function(config) {
196
- return new AnimatedInterpolation2(this, config);
197
- }
198
- },
199
- {
200
- key: "__attach",
201
- value: function() {
202
- this._parent.__addChild(this);
203
- }
204
- },
205
- {
206
- key: "__detach",
207
- value: function() {
208
- this._parent.__removeChild(this), _get(_get_prototype_of(AnimatedInterpolation2.prototype), "__detach", this).call(this);
209
- }
210
- },
211
- {
212
- key: "__transformDataType",
213
- value: function(range) {
214
- return range.map(NativeAnimatedHelper.transformDataType);
215
- }
216
- },
217
- {
218
- key: "__getNativeConfig",
219
- value: function() {
220
- return __DEV__ && NativeAnimatedHelper.validateInterpolation(this._config), {
221
- inputRange: this._config.inputRange,
222
- // Only the `outputRange` can contain strings so we don't need to transform `inputRange` here
223
- outputRange: this.__transformDataType(this._config.outputRange),
224
- extrapolateLeft: this._config.extrapolateLeft || this._config.extrapolate || "extend",
225
- extrapolateRight: this._config.extrapolateRight || this._config.extrapolate || "extend",
226
- type: "interpolation"
227
- };
228
- }
172
+ return _create_class(AnimatedInterpolation2, [{
173
+ key: "__makeNative",
174
+ value: function (platformConfig) {
175
+ this._parent.__makeNative(platformConfig), _get(_get_prototype_of(AnimatedInterpolation2.prototype), "__makeNative", this).call(this, platformConfig);
176
+ }
177
+ }, {
178
+ key: "__getValue",
179
+ value: function () {
180
+ var parentValue = this._parent.__getValue();
181
+ return invariant(typeof parentValue == "number", "Cannot interpolate an input which is not a number."), this._interpolation(parentValue);
182
+ }
183
+ }, {
184
+ key: "interpolate",
185
+ value: function (config) {
186
+ return new AnimatedInterpolation2(this, config);
187
+ }
188
+ }, {
189
+ key: "__attach",
190
+ value: function () {
191
+ this._parent.__addChild(this);
192
+ }
193
+ }, {
194
+ key: "__detach",
195
+ value: function () {
196
+ this._parent.__removeChild(this), _get(_get_prototype_of(AnimatedInterpolation2.prototype), "__detach", this).call(this);
197
+ }
198
+ }, {
199
+ key: "__transformDataType",
200
+ value: function (range) {
201
+ return range.map(NativeAnimatedHelper.transformDataType);
202
+ }
203
+ }, {
204
+ key: "__getNativeConfig",
205
+ value: function () {
206
+ return __DEV__ && NativeAnimatedHelper.validateInterpolation(this._config), {
207
+ inputRange: this._config.inputRange,
208
+ // Only the `outputRange` can contain strings so we don't need to transform `inputRange` here
209
+ outputRange: this.__transformDataType(this._config.outputRange),
210
+ extrapolateLeft: this._config.extrapolateLeft || this._config.extrapolate || "extend",
211
+ extrapolateRight: this._config.extrapolateRight || this._config.extrapolate || "extend",
212
+ type: "interpolation"
213
+ };
229
214
  }
230
- ]), AnimatedInterpolation2;
215
+ }]), AnimatedInterpolation2;
231
216
  }(AnimatedWithChildren);
232
217
  AnimatedInterpolation.__createInterpolation = createInterpolation;
233
218
  var AnimatedInterpolation_default = AnimatedInterpolation;
234
- export {
235
- AnimatedInterpolation_default as default
236
- };
237
- //# sourceMappingURL=AnimatedInterpolation.js.map
219
+ export { AnimatedInterpolation_default as default };
220
+ //# sourceMappingURL=AnimatedInterpolation.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../src/vendor/react-native/Animated/nodes/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/Animated/nodes/AnimatedInterpolation.js"],
4
- "mappings": "AAaA,OAAOA,oBAAoB;AAC3B,SAASC,iBAAiB;AAE1B,OAAOC,0BAA0B;AACjC,OAAOC,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjC,IAAIC,UAAUC,QAAQC,IAAIC,aAAa,cAEnCC,SAAS,SAACC,GAAAA;SAAMA;;AAMpB,SAASC,oBAAoBC,QAAM;AACjC,MAAIA,OAAOC,eAAe,OAAOD,OAAOC,YAAY,CAAA,KAAO;AACzD,WAAOC,yCAAyCF,MAAAA;AAGlD,MAAIC,cAAcD,OAAOC,aACrBE,aAAaH,OAAOG;AAExB,EAAIV,YACFW,mBAAmB,eAAeH,WAAAA,GAClCG,mBAAmB,cAAcD,UAAAA,GACjCE,qBAAqBF,UAAAA,GACrBb,UACEa,WAAWG,WAAWL,YAAYK,QAClC,iBACEH,WAAWG,SACX,wBACAL,YAAYK,SACZ,6BAAA;AAIN,MAAIC,SAASP,OAAOO,UAAUV,QAC1BW,kBAAkB;AAEtB,EAAIR,OAAOQ,oBAAoBC,SAC7BD,kBAAkBR,OAAOQ,kBAChBR,OAAOU,gBAAgBD,WAChCD,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A,kBAZEN,uBAAAA,SAAAA,GAYIK,gBAAN,IAAK,EAAA,KAAA,MAAcC,cAAAA;MACrB;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,YAAIC,cAAc,KAAKN,QAAQK,WAAU;AAEzCpE,yBACE,OAAOqE,eAAgB,UACvB,oDAAA,GAEK,KAAKJ,eAAeI,WAAAA;MAC7B;;;MAEA5C,KAAAA;aAAAA,SAAYf,QAAM;AAChB,eAAO,IA1BLmD,uBA0B+B,MAAMnD,MAAAA;MACzC;;;MAEA4D,KAAAA;aAAAA,WAAAA;AACE,aAAKP,QAAQQ,WAAW,IAAI;MAC9B;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,aAAKT,QAAQU,cAAc,IAAI,GAE/B,KAAA,kBApCEZ,uBAAAA,SAAAA,GAoCIW,YAAN,IAAK,EAAA,KAAA,IAAA;MACP;;;MAEAE,KAAAA;aAAAA,SAAoBnD,OAAK;AACvB,eAAOA,MAAMgB,IAAItC,qBAAqB0E,iBAAiB;MACzD;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,eAAIzE,WACFF,qBAAqB4E,sBAAsB,KAAKb,OAAO,GAGlD;UACLnD,YAAY,KAAKmD,QAAQnD;;UAEzBF,aAAa,KAAK+D,oBAAoB,KAAKV,QAAQrD,WAAW;UAC9DO,iBACE,KAAK8C,QAAQ9C,mBAAmB,KAAK8C,QAAQ5C,eAAe;UAC9DC,kBACE,KAAK2C,QAAQ3C,oBAAoB,KAAK2C,QAAQ5C,eAAe;UAC/D0D,MAAM;QACR;MACF;;MA1DIjB;EAA8B3D,oBAAAA;AA6DpC2D,sBAAsBkB,wBAAwBtE;AAC9C,IAAA,gCAAeoD;",
5
- "names": ["normalizeColor", "invariant", "NativeAnimatedHelper", "AnimatedWithChildren", "__DEV__", "process", "env", "NODE_ENV", "linear", "t", "createInterpolation", "config", "outputRange", "createInterpolationFromStringOutputRange", "inputRange", "checkInfiniteRange", "checkValidInputRange", "length", "easing", "extrapolateLeft", "undefined", "extrapolate", "extrapolateRight", "input", "range", "findRange", "interpolate", "inputMin", "inputMax", "outputMin", "outputMax", "result", "Infinity", "colorToRgba", "normalizedColor", "r", "g", "b", "a", "stringShapeRegex", "map", "checkPattern", "outputRanges", "match", "forEach", "value", "number", "i", "push", "interpolations", "shouldRound", "isRgbOrRgba", "replace", "val", "Math", "round", "String", "startsWith", "arr", "pattern", "message", "name", "AnimatedInterpolation", "parent", "_parent", "_config", "_interpolation", "__makeNative", "platformConfig", "__getValue", "parentValue", "__attach", "__addChild", "__detach", "__removeChild", "__transformDataType", "transformDataType", "__getNativeConfig", "validateInterpolation", "type", "__createInterpolation"]
6
- }
1
+ {"version":3,"names":["normalizeColor","invariant","NativeAnimatedHelper","AnimatedWithChildren","_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","_get","property","receiver","get","target2","property2","receiver2","base","_super_prop_base","desc","getOwnPropertyDescriptor","call","value","o","setPrototypeOf","getPrototypeOf","o2","__proto__","_inherits","subClass","superClass","create","_set_prototype_of","_type_of","p","p2","object","hasOwnProperty","obj","Symbol","result","Boolean","valueOf","__DEV__","process","env","NODE_ENV","linear","t","createInterpolation","config","outputRange","createInterpolationFromStringOutputRange","inputRange","checkInfiniteRange","checkValidInputRange","easing","extrapolateLeft","extrapolate","extrapolateRight","input","range","findRange","interpolate","inputMin","inputMax","outputMin","outputMax","colorToRgba","normalizedColor","r","g","b","a","stringShapeRegex","map","checkPattern","outputRanges","match","forEach","number","push","interpolations","shouldRound","isRgbOrRgba","replace","val","Math","round","String","startsWith","arr","pattern"],"sources":["../../../../../../src/vendor/react-native/Animated/nodes/AnimatedInterpolation.js"],"sourcesContent":[null],"mappings":"AAaA,OAAOA,cAAA,MAAoB;AAC3B,SAASC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F,MAAA,IAAAD,CAAA,EACFxB,SAAA,CAAAuH,OAAA,KAAAD,GAAA,CAAA9F,CAAA,EAAAwF,OAAA,CAAAX,gBAAA,4BAAAiB,GAAA,gBAAAA,GAAA,CAAA9F,CAAA;AAEA;AACA,SAAOiE,UAAAF,KAAA,EAAAP,UAAQ","ignoreList":[]}
@@ -1,16 +1,14 @@
1
- import AnimatedInterpolation from "./AnimatedInterpolation";
2
- import AnimatedWithChildren from "./AnimatedWithChildren";
1
+ import AnimatedInterpolation from "./AnimatedInterpolation.native.js";
2
+ import AnimatedWithChildren from "./AnimatedWithChildren.native.js";
3
3
  function _assert_this_initialized(self) {
4
- if (self === void 0)
5
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6
5
  return self;
7
6
  }
8
7
  function _call_super(_this, derived, args) {
9
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));
10
9
  }
11
10
  function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor))
13
- throw new TypeError("Cannot call a class as a function");
11
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
14
12
  }
15
13
  function _defineProperties(target, props) {
16
14
  for (var i = 0; i < props.length; i++) {
@@ -22,7 +20,7 @@ function _create_class(Constructor, protoProps, staticProps) {
22
20
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
23
21
  }
24
22
  function _get(target, property, receiver) {
25
- return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function(target2, property2, receiver2) {
23
+ return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function (target2, property2, receiver2) {
26
24
  var base = _super_prop_base(target2, property2);
27
25
  if (base) {
28
26
  var desc = Object.getOwnPropertyDescriptor(base, property2);
@@ -31,13 +29,12 @@ function _get(target, property, receiver) {
31
29
  }, _get(target, property, receiver || target);
32
30
  }
33
31
  function _get_prototype_of(o) {
34
- return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
32
+ return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function (o2) {
35
33
  return o2.__proto__ || Object.getPrototypeOf(o2);
36
34
  }, _get_prototype_of(o);
37
35
  }
38
36
  function _inherits(subClass, superClass) {
39
- if (typeof superClass != "function" && superClass !== null)
40
- throw new TypeError("Super expression must either be null or a function");
37
+ if (typeof superClass != "function" && superClass !== null) throw new TypeError("Super expression must either be null or a function");
41
38
  subClass.prototype = Object.create(superClass && superClass.prototype, {
42
39
  constructor: {
43
40
  value: subClass,
@@ -50,80 +47,70 @@ function _possible_constructor_return(self, call) {
50
47
  return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
51
48
  }
52
49
  function _set_prototype_of(o, p) {
53
- return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
50
+ return _set_prototype_of = Object.setPrototypeOf || function (o2, p2) {
54
51
  return o2.__proto__ = p2, o2;
55
52
  }, _set_prototype_of(o, p);
56
53
  }
57
54
  function _super_prop_base(object, property) {
58
- for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null); )
59
- ;
55
+ for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null););
60
56
  return object;
61
57
  }
62
58
  function _type_of(obj) {
63
59
  "@swc/helpers - typeof";
60
+
64
61
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
65
62
  }
66
63
  function _is_native_reflect_construct() {
67
64
  try {
68
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
69
- }));
70
- } catch {
71
- }
72
- return (_is_native_reflect_construct = function() {
65
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
66
+ } catch {}
67
+ return (_is_native_reflect_construct = function () {
73
68
  return !!result;
74
69
  })();
75
70
  }
76
- var AnimatedModulo = /* @__PURE__ */ function(AnimatedWithChildren2) {
77
- _inherits(AnimatedModulo2, AnimatedWithChildren2);
78
- function AnimatedModulo2(a, modulus) {
79
- _class_call_check(this, AnimatedModulo2);
80
- var _this;
81
- return _this = _call_super(this, AnimatedModulo2), _this._a = a, _this._modulus = modulus, _this;
82
- }
83
- return _create_class(AnimatedModulo2, [
84
- {
71
+ var AnimatedModulo = /* @__PURE__ */function (AnimatedWithChildren2) {
72
+ _inherits(AnimatedModulo2, AnimatedWithChildren2);
73
+ function AnimatedModulo2(a, modulus) {
74
+ _class_call_check(this, AnimatedModulo2);
75
+ var _this;
76
+ return _this = _call_super(this, AnimatedModulo2), _this._a = a, _this._modulus = modulus, _this;
77
+ }
78
+ return _create_class(AnimatedModulo2, [{
85
79
  key: "__makeNative",
86
- value: function(platformConfig) {
80
+ value: function (platformConfig) {
87
81
  this._a.__makeNative(platformConfig), _get(_get_prototype_of(AnimatedModulo2.prototype), "__makeNative", this).call(this, platformConfig);
88
82
  }
89
- },
90
- {
83
+ }, {
91
84
  key: "__getValue",
92
- value: function() {
85
+ value: function () {
93
86
  return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus;
94
87
  }
95
- },
96
- {
88
+ }, {
97
89
  key: "interpolate",
98
- value: function(config) {
90
+ value: function (config) {
99
91
  return new AnimatedInterpolation(this, config);
100
92
  }
101
- },
102
- {
93
+ }, {
103
94
  key: "__attach",
104
- value: function() {
95
+ value: function () {
105
96
  this._a.__addChild(this);
106
97
  }
107
- },
108
- {
98
+ }, {
109
99
  key: "__detach",
110
- value: function() {
100
+ value: function () {
111
101
  this._a.__removeChild(this), _get(_get_prototype_of(AnimatedModulo2.prototype), "__detach", this).call(this);
112
102
  }
113
- },
114
- {
103
+ }, {
115
104
  key: "__getNativeConfig",
116
- value: function() {
105
+ value: function () {
117
106
  return {
118
107
  type: "modulus",
119
108
  input: this._a.__getNativeTag(),
120
109
  modulus: this._modulus
121
110
  };
122
111
  }
123
- }
124
- ]), AnimatedModulo2;
125
- }(AnimatedWithChildren), AnimatedModulo_default = AnimatedModulo;
126
- export {
127
- AnimatedModulo_default as default
128
- };
129
- //# sourceMappingURL=AnimatedModulo.js.map
112
+ }]), AnimatedModulo2;
113
+ }(AnimatedWithChildren),
114
+ AnimatedModulo_default = AnimatedModulo;
115
+ export { AnimatedModulo_default as default };
116
+ //# sourceMappingURL=AnimatedModulo.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../src/vendor/react-native/Animated/nodes/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/Animated/nodes/AnimatedModulo.js"],
4
- "mappings": "AAWA,OAAOA,2BAA2B;AAClC,OAAOC,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjC,IAAMC,iBAAN,yBAAAD,uBAAA;YAAMC,iBAAAA,qBAAAA;WAAAA,gBACQC,GAAGC,SAAO;4BADlBF,eAAAA;;mBAEF,YAAA,MAFEA,eAAAA,GAGF,MAAKG,KAAKF,GACV,MAAKG,WAAWF;;uBAJdF,iBAAAA;;MAOJK,KAAAA;aAAAA,SAAaC,gBAAc;AACzB,aAAKH,GAAGE,aAAaC,cAAAA,GAErB,KAAA,kBAVEN,gBAAAA,SAAAA,GAUIK,gBAAN,IAAK,EAAA,KAAA,MAAcC,cAAAA;MACrB;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,gBAAS,KAAKJ,GAAGI,WAAU,IAAK,KAAKH,WAAY,KAAKA,YAAY,KAAKA;MACzE;;;MAEAI,KAAAA;aAAAA,SAAYC,QAAM;AAChB,eAAO,IAAIX,sBAAsB,MAAMW,MAAAA;MACzC;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,aAAKP,GAAGQ,WAAW,IAAI;MACzB;;;MAEAC,KAAAA;aAAAA,WAAAA;AACE,aAAKT,GAAGU,cAAc,IAAI,GAE1B,KAAA,kBA5BEb,gBAAAA,SAAAA,GA4BIY,YAAN,IAAK,EAAA,KAAA,IAAA;MACP;;;MAEAE,KAAAA;aAAAA,WAAAA;AACE,eAAO;UACLC,MAAM;UACNC,OAAO,KAAKb,GAAGc,eAAc;UAC7Bf,SAAS,KAAKE;QAChB;MACF;;MArCIJ;EAAuBD,oBAAAA,GAwC7B,yBAAeC;",
5
- "names": ["AnimatedInterpolation", "AnimatedWithChildren", "AnimatedModulo", "a", "modulus", "_a", "_modulus", "__makeNative", "platformConfig", "__getValue", "interpolate", "config", "__attach", "__addChild", "__detach", "__removeChild", "__getNativeConfig", "type", "input", "__getNativeTag"]
6
- }
1
+ {"version":3,"names":["AnimatedInterpolation","AnimatedWithChildren","_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","_get","property","receiver","get","target2","property2","receiver2","base","_super_prop_base","desc","getOwnPropertyDescriptor","call","value"],"sources":["../../../../../../src/vendor/react-native/Animated/nodes/AnimatedModulo.js"],"sourcesContent":[null],"mappings":"AAWA,OAAOA,qBAAA,MAA2B;AAClC,OAAOC,oBAAA,MAA0B;AAEjC,SAAMC,wBAAuBA,CAAAC,IAAA;EAC3B,IAAAA,IAAA,KAAY,KAAG,GACb,MAAM,IACNC,cACA,4DAAgB;EAClB,OAAAD,IAAA;AAAA;AAGE,SAAKE,WAAGA,CAAAC,KAAa,EAAAC,OAAA,EAAAC,IAAc,EAEnC;EACF,OAAAD,OAAA,GAAAE,iBAAA,CAAAF,OAAA,GAAAG,4BAAA,CAAAJ,KAAA,EAAAK,4BAAA,KAAAC,OAAA,CAAAC,SAAA,CAAAN,OAAA,EAAAC,IAAA,QAAAC,iBAAA,CA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