@oxyhq/services 29.0.0 → 30.0.0

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 (1759) hide show
  1. package/package.json +4 -3
  2. package/src/ui/components/FollowTargetButton.tsx +31 -27
  3. package/src/ui/components/OxyAuthChooser.tsx +2 -2
  4. package/src/ui/components/OxyConsentScreen.tsx +7 -2
  5. package/src/ui/components/OxyProvider.tsx +23 -26
  6. package/src/ui/components/authChooser/TroubleDisclosure.tsx +26 -11
  7. package/src/ui/screens/AccountMembersScreen.tsx +2 -2
  8. package/src/ui/screens/AccountSettingsScreen.tsx +1 -1
  9. package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
  10. package/src/ui/screens/ChangeAvatarScreen.tsx +1 -1
  11. package/src/ui/screens/ConnectedAppsScreen.tsx +1 -1
  12. package/src/ui/screens/FileManagementScreen.tsx +2 -2
  13. package/src/ui/screens/HistoryViewScreen.tsx +2 -2
  14. package/src/ui/screens/ManageAccountScreen.tsx +3 -3
  15. package/src/ui/screens/PremiumSubscriptionScreen.tsx +2 -2
  16. package/src/ui/screens/trust/TrustCenterScreen.tsx +2 -2
  17. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +1 -1
  18. package/src/ui/screens/trust/TrustRulesScreen.tsx +1 -1
  19. package/lib/commonjs/assets/OxyLogo.svg +0 -1
  20. package/lib/commonjs/assets/assets/OxyLogo.svg +0 -1
  21. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +0 -60
  22. package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +0 -1
  23. package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +0 -39
  24. package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
  25. package/lib/commonjs/assets/icons/OxyServices.js +0 -51
  26. package/lib/commonjs/assets/icons/OxyServices.js.map +0 -1
  27. package/lib/commonjs/assets/icons/logo_OxyServices.svg +0 -1
  28. package/lib/commonjs/assets/illustrations/HighFive.js +0 -58
  29. package/lib/commonjs/assets/illustrations/HighFive.js.map +0 -1
  30. package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +0 -1
  31. package/lib/commonjs/index.js +0 -1038
  32. package/lib/commonjs/index.js.map +0 -1
  33. package/lib/commonjs/notifications/deviceNotifications.js +0 -443
  34. package/lib/commonjs/notifications/deviceNotifications.js.map +0 -1
  35. package/lib/commonjs/package.json +0 -1
  36. package/lib/commonjs/ui/boot/runProviderColdBoot.js +0 -205
  37. package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +0 -1
  38. package/lib/commonjs/ui/client.js +0 -142
  39. package/lib/commonjs/ui/client.js.map +0 -1
  40. package/lib/commonjs/ui/components/AvatarCameraBadge.js +0 -43
  41. package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +0 -1
  42. package/lib/commonjs/ui/components/FollowButton.js +0 -255
  43. package/lib/commonjs/ui/components/FollowButton.js.map +0 -1
  44. package/lib/commonjs/ui/components/FollowTargetButton.js +0 -363
  45. package/lib/commonjs/ui/components/FollowTargetButton.js.map +0 -1
  46. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +0 -178
  47. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +0 -1
  48. package/lib/commonjs/ui/components/OxyAuthChooser.js +0 -493
  49. package/lib/commonjs/ui/components/OxyAuthChooser.js.map +0 -1
  50. package/lib/commonjs/ui/components/OxyAuthPrompt.js +0 -124
  51. package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +0 -1
  52. package/lib/commonjs/ui/components/OxyConsentScreen.js +0 -497
  53. package/lib/commonjs/ui/components/OxyConsentScreen.js.map +0 -1
  54. package/lib/commonjs/ui/components/OxyOAuthCallback.js +0 -44
  55. package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +0 -1
  56. package/lib/commonjs/ui/components/OxyPayButton.js +0 -66
  57. package/lib/commonjs/ui/components/OxyPayButton.js.map +0 -1
  58. package/lib/commonjs/ui/components/OxyProvider.js +0 -317
  59. package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
  60. package/lib/commonjs/ui/components/OxySignInButton.js +0 -321
  61. package/lib/commonjs/ui/components/OxySignInButton.js.map +0 -1
  62. package/lib/commonjs/ui/components/OxySignInRequestSurface.js +0 -147
  63. package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +0 -1
  64. package/lib/commonjs/ui/components/ProfileButton.js +0 -342
  65. package/lib/commonjs/ui/components/ProfileButton.js.map +0 -1
  66. package/lib/commonjs/ui/components/ProfileSummaryCard.js +0 -79
  67. package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +0 -1
  68. package/lib/commonjs/ui/components/RequireOxyAuth.js +0 -296
  69. package/lib/commonjs/ui/components/RequireOxyAuth.js.map +0 -1
  70. package/lib/commonjs/ui/components/SettingsIcon.js +0 -45
  71. package/lib/commonjs/ui/components/SettingsIcon.js.map +0 -1
  72. package/lib/commonjs/ui/components/SurfaceHeaderAction.js +0 -63
  73. package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +0 -1
  74. package/lib/commonjs/ui/components/SurfaceScreen.js +0 -257
  75. package/lib/commonjs/ui/components/SurfaceScreen.js.map +0 -1
  76. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +0 -667
  77. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +0 -1
  78. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +0 -108
  79. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +0 -1
  80. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +0 -106
  81. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +0 -1
  82. package/lib/commonjs/ui/components/authChooser/SignUpView.js +0 -188
  83. package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +0 -1
  84. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +0 -61
  85. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +0 -1
  86. package/lib/commonjs/ui/components/authChooser/primitives.js +0 -183
  87. package/lib/commonjs/ui/components/authChooser/primitives.js.map +0 -1
  88. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +0 -161
  89. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +0 -1
  90. package/lib/commonjs/ui/components/authChooser/signInProgress.js +0 -59
  91. package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +0 -1
  92. package/lib/commonjs/ui/components/authChooser/styles.js +0 -219
  93. package/lib/commonjs/ui/components/authChooser/styles.js.map +0 -1
  94. package/lib/commonjs/ui/components/authChooser/types.js +0 -81
  95. package/lib/commonjs/ui/components/authChooser/types.js.map +0 -1
  96. package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js +0 -50
  97. package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js.map +0 -1
  98. package/lib/commonjs/ui/components/feedback/constants.js +0 -59
  99. package/lib/commonjs/ui/components/feedback/constants.js.map +0 -1
  100. package/lib/commonjs/ui/components/feedback/types.js +0 -6
  101. package/lib/commonjs/ui/components/feedback/types.js.map +0 -1
  102. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +0 -52
  103. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +0 -1
  104. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +0 -61
  105. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +0 -1
  106. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +0 -125
  107. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
  108. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +0 -431
  109. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +0 -1
  110. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +0 -172
  111. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +0 -1
  112. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +0 -64
  113. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +0 -1
  114. package/lib/commonjs/ui/components/internal/PinInput.js +0 -118
  115. package/lib/commonjs/ui/components/internal/PinInput.js.map +0 -1
  116. package/lib/commonjs/ui/components/logo/LogoIcon.js +0 -61
  117. package/lib/commonjs/ui/components/logo/LogoIcon.js.map +0 -1
  118. package/lib/commonjs/ui/components/logo/LogoText.js +0 -48
  119. package/lib/commonjs/ui/components/logo/LogoText.js.map +0 -1
  120. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +0 -133
  121. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +0 -1
  122. package/lib/commonjs/ui/components/oauthNavigation.js +0 -83
  123. package/lib/commonjs/ui/components/oauthNavigation.js.map +0 -1
  124. package/lib/commonjs/ui/components/passkeyHubPopup.js +0 -33
  125. package/lib/commonjs/ui/components/passkeyHubPopup.js.map +0 -1
  126. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +0 -327
  127. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +0 -1
  128. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +0 -105
  129. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +0 -1
  130. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +0 -149
  131. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +0 -1
  132. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +0 -84
  133. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +0 -1
  134. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +0 -195
  135. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +0 -1
  136. package/lib/commonjs/ui/components/payment/constants.js +0 -53
  137. package/lib/commonjs/ui/components/payment/constants.js.map +0 -1
  138. package/lib/commonjs/ui/components/payment/paymentStyles.js +0 -401
  139. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +0 -1
  140. package/lib/commonjs/ui/components/payment/types.js +0 -6
  141. package/lib/commonjs/ui/components/payment/types.js.map +0 -1
  142. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +0 -223
  143. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
  144. package/lib/commonjs/ui/components/styles/overlay.js +0 -83
  145. package/lib/commonjs/ui/components/styles/overlay.js.map +0 -1
  146. package/lib/commonjs/ui/components/styles/shadow.js +0 -127
  147. package/lib/commonjs/ui/components/styles/shadow.js.map +0 -1
  148. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +0 -83
  149. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +0 -1
  150. package/lib/commonjs/ui/components/utils/hasTouchHandler.js +0 -13
  151. package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +0 -1
  152. package/lib/commonjs/ui/components/utils/roundLayoutSize.js +0 -9
  153. package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +0 -1
  154. package/lib/commonjs/ui/components/utils/splitStyles.js +0 -50
  155. package/lib/commonjs/ui/components/utils/splitStyles.js.map +0 -1
  156. package/lib/commonjs/ui/constants/spacing.js +0 -50
  157. package/lib/commonjs/ui/constants/spacing.js.map +0 -1
  158. package/lib/commonjs/ui/context/OxyContext.js +0 -1199
  159. package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
  160. package/lib/commonjs/ui/context/commitSessionFlow.js +0 -104
  161. package/lib/commonjs/ui/context/commitSessionFlow.js.map +0 -1
  162. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +0 -306
  163. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +0 -1
  164. package/lib/commonjs/ui/context/oxyContextHelpers.js +0 -35
  165. package/lib/commonjs/ui/context/oxyContextHelpers.js.map +0 -1
  166. package/lib/commonjs/ui/context/oxyContextTypes.js +0 -6
  167. package/lib/commonjs/ui/context/oxyContextTypes.js.map +0 -1
  168. package/lib/commonjs/ui/context/passkeyFlow.js +0 -118
  169. package/lib/commonjs/ui/context/passkeyFlow.js.map +0 -1
  170. package/lib/commonjs/ui/context/useOxyAccountGraph.js +0 -100
  171. package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +0 -1
  172. package/lib/commonjs/ui/hooks/accountDialogSnapshot.js +0 -42
  173. package/lib/commonjs/ui/hooks/accountDialogSnapshot.js.map +0 -1
  174. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +0 -182
  175. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +0 -1
  176. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +0 -40
  177. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +0 -1
  178. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +0 -675
  179. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +0 -1
  180. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +0 -197
  181. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +0 -1
  182. package/lib/commonjs/ui/hooks/queries/paymentTypes.js +0 -2
  183. package/lib/commonjs/ui/hooks/queries/paymentTypes.js.map +0 -1
  184. package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -222
  185. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +0 -1
  186. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +0 -326
  187. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +0 -1
  188. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +0 -49
  189. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +0 -1
  190. package/lib/commonjs/ui/hooks/queries/useFileQueries.js +0 -129
  191. package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +0 -1
  192. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +0 -145
  193. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +0 -1
  194. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +0 -93
  195. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +0 -1
  196. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +0 -170
  197. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +0 -1
  198. package/lib/commonjs/ui/hooks/queries/userCache.js +0 -440
  199. package/lib/commonjs/ui/hooks/queries/userCache.js.map +0 -1
  200. package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +0 -31
  201. package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +0 -1
  202. package/lib/commonjs/ui/hooks/queryClient.js +0 -208
  203. package/lib/commonjs/ui/hooks/queryClient.js.map +0 -1
  204. package/lib/commonjs/ui/hooks/useAssets.js +0 -227
  205. package/lib/commonjs/ui/hooks/useAssets.js.map +0 -1
  206. package/lib/commonjs/ui/hooks/useAsyncAction.js +0 -95
  207. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +0 -1
  208. package/lib/commonjs/ui/hooks/useAuth.js +0 -127
  209. package/lib/commonjs/ui/hooks/useAuth.js.map +0 -1
  210. package/lib/commonjs/ui/hooks/useAvatarPicker.js +0 -106
  211. package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +0 -1
  212. package/lib/commonjs/ui/hooks/useDeviceManagement.js +0 -73
  213. package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +0 -1
  214. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +0 -57
  215. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +0 -1
  216. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +0 -71
  217. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +0 -1
  218. package/lib/commonjs/ui/hooks/useFileFiltering.js +0 -76
  219. package/lib/commonjs/ui/hooks/useFileFiltering.js.map +0 -1
  220. package/lib/commonjs/ui/hooks/useFollow.js +0 -331
  221. package/lib/commonjs/ui/hooks/useFollow.js.map +0 -1
  222. package/lib/commonjs/ui/hooks/useFollow.types.js +0 -6
  223. package/lib/commonjs/ui/hooks/useFollow.types.js.map +0 -1
  224. package/lib/commonjs/ui/hooks/useFollowTarget.js +0 -160
  225. package/lib/commonjs/ui/hooks/useFollowTarget.js.map +0 -1
  226. package/lib/commonjs/ui/hooks/useI18n.js +0 -41
  227. package/lib/commonjs/ui/hooks/useI18n.js.map +0 -1
  228. package/lib/commonjs/ui/hooks/useLanguageManagement.js +0 -193
  229. package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +0 -1
  230. package/lib/commonjs/ui/hooks/useMutationStatus.js +0 -86
  231. package/lib/commonjs/ui/hooks/useMutationStatus.js.map +0 -1
  232. package/lib/commonjs/ui/hooks/useOnlineStatus.js +0 -34
  233. package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +0 -1
  234. package/lib/commonjs/ui/hooks/useOxyEvent.js +0 -28
  235. package/lib/commonjs/ui/hooks/useOxyEvent.js.map +0 -1
  236. package/lib/commonjs/ui/hooks/useProfileEditing.js +0 -134
  237. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +0 -1
  238. package/lib/commonjs/ui/hooks/useQueryClient.js +0 -20
  239. package/lib/commonjs/ui/hooks/useQueryClient.js.map +0 -1
  240. package/lib/commonjs/ui/hooks/useReduceMotion.js +0 -57
  241. package/lib/commonjs/ui/hooks/useReduceMotion.js.map +0 -1
  242. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +0 -163
  243. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +0 -1
  244. package/lib/commonjs/ui/hooks/useSessionManagement.js +0 -183
  245. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +0 -1
  246. package/lib/commonjs/ui/hooks/useSettingToggle.js +0 -132
  247. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +0 -1
  248. package/lib/commonjs/ui/hooks/useStorage.js +0 -45
  249. package/lib/commonjs/ui/hooks/useStorage.js.map +0 -1
  250. package/lib/commonjs/ui/hooks/useSurfaceHeader.js +0 -142
  251. package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +0 -1
  252. package/lib/commonjs/ui/index.js +0 -183
  253. package/lib/commonjs/ui/index.js.map +0 -1
  254. package/lib/commonjs/ui/isFrontend.js +0 -10
  255. package/lib/commonjs/ui/isFrontend.js.map +0 -1
  256. package/lib/commonjs/ui/navigation/accountDialogManager.js +0 -105
  257. package/lib/commonjs/ui/navigation/accountDialogManager.js.map +0 -1
  258. package/lib/commonjs/ui/navigation/bottomSheetManager.js +0 -62
  259. package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +0 -1
  260. package/lib/commonjs/ui/navigation/routes.js +0 -110
  261. package/lib/commonjs/ui/navigation/routes.js.map +0 -1
  262. package/lib/commonjs/ui/navigation/surfaceBackBridge.js +0 -68
  263. package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +0 -1
  264. package/lib/commonjs/ui/navigation/surfaceNavStack.js +0 -146
  265. package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +0 -1
  266. package/lib/commonjs/ui/navigation/surfaceRegistry.js +0 -147
  267. package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +0 -1
  268. package/lib/commonjs/ui/navigation/surfaces.js +0 -339
  269. package/lib/commonjs/ui/navigation/surfaces.js.map +0 -1
  270. package/lib/commonjs/ui/oauth/browserAuthTransport.js +0 -170
  271. package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +0 -1
  272. package/lib/commonjs/ui/oauth/completeOAuthCode.js +0 -78
  273. package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +0 -1
  274. package/lib/commonjs/ui/oauth/oauthHandshake.js +0 -53
  275. package/lib/commonjs/ui/oauth/oauthHandshake.js.map +0 -1
  276. package/lib/commonjs/ui/oauth/oauthPopup.js +0 -276
  277. package/lib/commonjs/ui/oauth/oauthPopup.js.map +0 -1
  278. package/lib/commonjs/ui/oauth/oauthPopupMessages.js +0 -141
  279. package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +0 -1
  280. package/lib/commonjs/ui/oauth/types.js +0 -2
  281. package/lib/commonjs/ui/oauth/types.js.map +0 -1
  282. package/lib/commonjs/ui/runtime/createOxyRuntime.js +0 -433
  283. package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +0 -1
  284. package/lib/commonjs/ui/runtime/index.js +0 -63
  285. package/lib/commonjs/ui/runtime/index.js.map +0 -1
  286. package/lib/commonjs/ui/runtime/runtimeContext.js +0 -83
  287. package/lib/commonjs/ui/runtime/runtimeContext.js.map +0 -1
  288. package/lib/commonjs/ui/runtime/types.js +0 -6
  289. package/lib/commonjs/ui/runtime/types.js.map +0 -1
  290. package/lib/commonjs/ui/runtime/useRuntimeSnapshot.js +0 -57
  291. package/lib/commonjs/ui/runtime/useRuntimeSnapshot.js.map +0 -1
  292. package/lib/commonjs/ui/screens/AccountMembersScreen.js +0 -443
  293. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +0 -1
  294. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +0 -264
  295. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +0 -1
  296. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +0 -184
  297. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +0 -1
  298. package/lib/commonjs/ui/screens/AppInfoScreen.js +0 -373
  299. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
  300. package/lib/commonjs/ui/screens/AvatarCropScreen.js +0 -987
  301. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +0 -1
  302. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +0 -306
  303. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +0 -1
  304. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +0 -169
  305. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +0 -1
  306. package/lib/commonjs/ui/screens/CreateAccountScreen.js +0 -387
  307. package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +0 -1
  308. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +0 -546
  309. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +0 -1
  310. package/lib/commonjs/ui/screens/EditProfileScreen.js +0 -167
  311. package/lib/commonjs/ui/screens/EditProfileScreen.js.map +0 -1
  312. package/lib/commonjs/ui/screens/FAQScreen.js +0 -162
  313. package/lib/commonjs/ui/screens/FAQScreen.js.map +0 -1
  314. package/lib/commonjs/ui/screens/FeedbackScreen.js +0 -592
  315. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +0 -1
  316. package/lib/commonjs/ui/screens/FileManagementScreen.js +0 -1529
  317. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
  318. package/lib/commonjs/ui/screens/FollowersListScreen.js +0 -17
  319. package/lib/commonjs/ui/screens/FollowersListScreen.js.map +0 -1
  320. package/lib/commonjs/ui/screens/FollowingListScreen.js +0 -17
  321. package/lib/commonjs/ui/screens/FollowingListScreen.js.map +0 -1
  322. package/lib/commonjs/ui/screens/HelpSupportScreen.js +0 -123
  323. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +0 -1
  324. package/lib/commonjs/ui/screens/HistoryViewScreen.js +0 -165
  325. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +0 -1
  326. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +0 -235
  327. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +0 -1
  328. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +0 -127
  329. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +0 -1
  330. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +0 -188
  331. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +0 -1
  332. package/lib/commonjs/ui/screens/ManageAccountScreen.js +0 -647
  333. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +0 -1
  334. package/lib/commonjs/ui/screens/NotificationsScreen.js +0 -150
  335. package/lib/commonjs/ui/screens/NotificationsScreen.js.map +0 -1
  336. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +0 -278
  337. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +0 -1
  338. package/lib/commonjs/ui/screens/PreferencesScreen.js +0 -194
  339. package/lib/commonjs/ui/screens/PreferencesScreen.js.map +0 -1
  340. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +0 -958
  341. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
  342. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +0 -501
  343. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +0 -1
  344. package/lib/commonjs/ui/screens/ProfileScreen.js +0 -473
  345. package/lib/commonjs/ui/screens/ProfileScreen.js.map +0 -1
  346. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +0 -132
  347. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +0 -1
  348. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +0 -138
  349. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +0 -1
  350. package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -61
  351. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
  352. package/lib/commonjs/ui/screens/UserListScreen.js +0 -301
  353. package/lib/commonjs/ui/screens/UserListScreen.js.map +0 -1
  354. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +0 -467
  355. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +0 -1
  356. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +0 -64
  357. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +0 -1
  358. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +0 -121
  359. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +0 -1
  360. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +0 -552
  361. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +0 -1
  362. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +0 -85
  363. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +0 -1
  364. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +0 -506
  365. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +0 -1
  366. package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js +0 -44
  367. package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +0 -1
  368. package/lib/commonjs/ui/screens/fileManagement/shared.js +0 -79
  369. package/lib/commonjs/ui/screens/fileManagement/shared.js.map +0 -1
  370. package/lib/commonjs/ui/screens/linkFormat.js +0 -38
  371. package/lib/commonjs/ui/screens/linkFormat.js.map +0 -1
  372. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +0 -94
  373. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +0 -1
  374. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +0 -185
  375. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +0 -1
  376. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +0 -86
  377. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +0 -1
  378. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +0 -222
  379. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +0 -1
  380. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +0 -512
  381. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +0 -1
  382. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +0 -92
  383. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +0 -1
  384. package/lib/commonjs/ui/server.js +0 -85
  385. package/lib/commonjs/ui/server.js.map +0 -1
  386. package/lib/commonjs/ui/session/authStore.js +0 -75
  387. package/lib/commonjs/ui/session/authStore.js.map +0 -1
  388. package/lib/commonjs/ui/session/backgroundSession.js +0 -258
  389. package/lib/commonjs/ui/session/backgroundSession.js.map +0 -1
  390. package/lib/commonjs/ui/session/createSessionClient.js +0 -58
  391. package/lib/commonjs/ui/session/createSessionClient.js.map +0 -1
  392. package/lib/commonjs/ui/session/identityBinding.js +0 -95
  393. package/lib/commonjs/ui/session/identityBinding.js.map +0 -1
  394. package/lib/commonjs/ui/session/index.js +0 -78
  395. package/lib/commonjs/ui/session/index.js.map +0 -1
  396. package/lib/commonjs/ui/session/nativeSecureStorage.js +0 -90
  397. package/lib/commonjs/ui/session/nativeSecureStorage.js.map +0 -1
  398. package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js +0 -306
  399. package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js.map +0 -1
  400. package/lib/commonjs/ui/session/tokenTransport.js +0 -75
  401. package/lib/commonjs/ui/session/tokenTransport.js.map +0 -1
  402. package/lib/commonjs/ui/session/useBackgroundSessionSync.js +0 -81
  403. package/lib/commonjs/ui/session/useBackgroundSessionSync.js.map +0 -1
  404. package/lib/commonjs/ui/stores/assetStore.js +0 -225
  405. package/lib/commonjs/ui/stores/assetStore.js.map +0 -1
  406. package/lib/commonjs/ui/stores/authStore.js +0 -169
  407. package/lib/commonjs/ui/stores/authStore.js.map +0 -1
  408. package/lib/commonjs/ui/stores/followStore.js +0 -551
  409. package/lib/commonjs/ui/stores/followStore.js.map +0 -1
  410. package/lib/commonjs/ui/stores/followTargetStore.js +0 -152
  411. package/lib/commonjs/ui/stores/followTargetStore.js.map +0 -1
  412. package/lib/commonjs/ui/stores/resetSessionScopedStores.js +0 -21
  413. package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +0 -1
  414. package/lib/commonjs/ui/types/fileManagement.js +0 -6
  415. package/lib/commonjs/ui/types/fileManagement.js.map +0 -1
  416. package/lib/commonjs/ui/types/navigation.js +0 -6
  417. package/lib/commonjs/ui/types/navigation.js.map +0 -1
  418. package/lib/commonjs/ui/types/surfaceScreen.js +0 -6
  419. package/lib/commonjs/ui/types/surfaceScreen.js.map +0 -1
  420. package/lib/commonjs/ui/utils/avatarUtils.js +0 -43
  421. package/lib/commonjs/ui/utils/avatarUtils.js.map +0 -1
  422. package/lib/commonjs/ui/utils/colorUtils.js +0 -49
  423. package/lib/commonjs/ui/utils/colorUtils.js.map +0 -1
  424. package/lib/commonjs/ui/utils/commonsStoreLinks.js +0 -42
  425. package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +0 -1
  426. package/lib/commonjs/ui/utils/deliveryPlatform.js +0 -58
  427. package/lib/commonjs/ui/utils/deliveryPlatform.js.map +0 -1
  428. package/lib/commonjs/ui/utils/deviceCredential.js +0 -23
  429. package/lib/commonjs/ui/utils/deviceCredential.js.map +0 -1
  430. package/lib/commonjs/ui/utils/errorHandlers.js +0 -137
  431. package/lib/commonjs/ui/utils/errorHandlers.js.map +0 -1
  432. package/lib/commonjs/ui/utils/fileManagement.js +0 -147
  433. package/lib/commonjs/ui/utils/fileManagement.js.map +0 -1
  434. package/lib/commonjs/ui/utils/iconNames.js +0 -133
  435. package/lib/commonjs/ui/utils/iconNames.js.map +0 -1
  436. package/lib/commonjs/ui/utils/isWebBrowser.js +0 -13
  437. package/lib/commonjs/ui/utils/isWebBrowser.js.map +0 -1
  438. package/lib/commonjs/ui/utils/netConnectivity.js +0 -28
  439. package/lib/commonjs/ui/utils/netConnectivity.js.map +0 -1
  440. package/lib/commonjs/ui/utils/oauthReturn.js +0 -126
  441. package/lib/commonjs/ui/utils/oauthReturn.js.map +0 -1
  442. package/lib/commonjs/ui/utils/sessionHelpers.js +0 -61
  443. package/lib/commonjs/ui/utils/sessionHelpers.js.map +0 -1
  444. package/lib/commonjs/ui/utils/storageHelpers.js +0 -119
  445. package/lib/commonjs/ui/utils/storageHelpers.js.map +0 -1
  446. package/lib/commonjs/ui/utils/userUtils.js +0 -69
  447. package/lib/commonjs/ui/utils/userUtils.js.map +0 -1
  448. package/lib/commonjs/utils/hookUtils.js +0 -421
  449. package/lib/commonjs/utils/hookUtils.js.map +0 -1
  450. package/lib/commonjs/webauthn/passkeyClient.js +0 -39
  451. package/lib/commonjs/webauthn/passkeyClient.js.map +0 -1
  452. package/lib/commonjs/webauthn/passkeyClient.native.js +0 -34
  453. package/lib/commonjs/webauthn/passkeyClient.native.js.map +0 -1
  454. package/lib/commonjs/webauthn/passkeyClient.web.js +0 -57
  455. package/lib/commonjs/webauthn/passkeyClient.web.js.map +0 -1
  456. package/lib/module/assets/OxyLogo.svg +0 -1
  457. package/lib/module/assets/assets/OxyLogo.svg +0 -1
  458. package/lib/module/assets/assets/icons/OxyServices.tsx +0 -60
  459. package/lib/module/assets/assets/icons/logo_OxyServices.svg +0 -1
  460. package/lib/module/assets/assets/illustrations/HighFive.tsx +0 -39
  461. package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +0 -1
  462. package/lib/module/assets/icons/OxyServices.js +0 -45
  463. package/lib/module/assets/icons/OxyServices.js.map +0 -1
  464. package/lib/module/assets/icons/logo_OxyServices.svg +0 -1
  465. package/lib/module/assets/illustrations/HighFive.js +0 -53
  466. package/lib/module/assets/illustrations/HighFive.js.map +0 -1
  467. package/lib/module/assets/lottie/welcomeheader_background_op1.json +0 -1
  468. package/lib/module/index.js +0 -230
  469. package/lib/module/index.js.map +0 -1
  470. package/lib/module/notifications/deviceNotifications.js +0 -433
  471. package/lib/module/notifications/deviceNotifications.js.map +0 -1
  472. package/lib/module/package.json +0 -1
  473. package/lib/module/ui/boot/runProviderColdBoot.js +0 -199
  474. package/lib/module/ui/boot/runProviderColdBoot.js.map +0 -1
  475. package/lib/module/ui/client.js +0 -38
  476. package/lib/module/ui/client.js.map +0 -1
  477. package/lib/module/ui/components/AvatarCameraBadge.js +0 -40
  478. package/lib/module/ui/components/AvatarCameraBadge.js.map +0 -1
  479. package/lib/module/ui/components/FollowButton.js +0 -251
  480. package/lib/module/ui/components/FollowButton.js.map +0 -1
  481. package/lib/module/ui/components/FollowTargetButton.js +0 -357
  482. package/lib/module/ui/components/FollowTargetButton.js.map +0 -1
  483. package/lib/module/ui/components/OxyAccountDialogScreen.js +0 -173
  484. package/lib/module/ui/components/OxyAccountDialogScreen.js.map +0 -1
  485. package/lib/module/ui/components/OxyAuthChooser.js +0 -490
  486. package/lib/module/ui/components/OxyAuthChooser.js.map +0 -1
  487. package/lib/module/ui/components/OxyAuthPrompt.js +0 -118
  488. package/lib/module/ui/components/OxyAuthPrompt.js.map +0 -1
  489. package/lib/module/ui/components/OxyConsentScreen.js +0 -491
  490. package/lib/module/ui/components/OxyConsentScreen.js.map +0 -1
  491. package/lib/module/ui/components/OxyOAuthCallback.js +0 -40
  492. package/lib/module/ui/components/OxyOAuthCallback.js.map +0 -1
  493. package/lib/module/ui/components/OxyPayButton.js +0 -62
  494. package/lib/module/ui/components/OxyPayButton.js.map +0 -1
  495. package/lib/module/ui/components/OxyProvider.js +0 -314
  496. package/lib/module/ui/components/OxyProvider.js.map +0 -1
  497. package/lib/module/ui/components/OxySignInButton.js +0 -316
  498. package/lib/module/ui/components/OxySignInButton.js.map +0 -1
  499. package/lib/module/ui/components/OxySignInRequestSurface.js +0 -141
  500. package/lib/module/ui/components/OxySignInRequestSurface.js.map +0 -1
  501. package/lib/module/ui/components/ProfileButton.js +0 -336
  502. package/lib/module/ui/components/ProfileButton.js.map +0 -1
  503. package/lib/module/ui/components/ProfileSummaryCard.js +0 -74
  504. package/lib/module/ui/components/ProfileSummaryCard.js.map +0 -1
  505. package/lib/module/ui/components/RequireOxyAuth.js +0 -292
  506. package/lib/module/ui/components/RequireOxyAuth.js.map +0 -1
  507. package/lib/module/ui/components/SettingsIcon.js +0 -40
  508. package/lib/module/ui/components/SettingsIcon.js.map +0 -1
  509. package/lib/module/ui/components/SurfaceHeaderAction.js +0 -58
  510. package/lib/module/ui/components/SurfaceHeaderAction.js.map +0 -1
  511. package/lib/module/ui/components/SurfaceScreen.js +0 -252
  512. package/lib/module/ui/components/SurfaceScreen.js.map +0 -1
  513. package/lib/module/ui/components/authChooser/AccountsMenuView.js +0 -663
  514. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +0 -1
  515. package/lib/module/ui/components/authChooser/SignInEntryView.js +0 -103
  516. package/lib/module/ui/components/authChooser/SignInEntryView.js.map +0 -1
  517. package/lib/module/ui/components/authChooser/SignInRequestView.js +0 -101
  518. package/lib/module/ui/components/authChooser/SignInRequestView.js.map +0 -1
  519. package/lib/module/ui/components/authChooser/SignUpView.js +0 -184
  520. package/lib/module/ui/components/authChooser/SignUpView.js.map +0 -1
  521. package/lib/module/ui/components/authChooser/TroubleDisclosure.js +0 -57
  522. package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +0 -1
  523. package/lib/module/ui/components/authChooser/primitives.js +0 -176
  524. package/lib/module/ui/components/authChooser/primitives.js.map +0 -1
  525. package/lib/module/ui/components/authChooser/requestSurfaces.js +0 -151
  526. package/lib/module/ui/components/authChooser/requestSurfaces.js.map +0 -1
  527. package/lib/module/ui/components/authChooser/signInProgress.js +0 -55
  528. package/lib/module/ui/components/authChooser/signInProgress.js.map +0 -1
  529. package/lib/module/ui/components/authChooser/styles.js +0 -216
  530. package/lib/module/ui/components/authChooser/styles.js.map +0 -1
  531. package/lib/module/ui/components/authChooser/types.js +0 -77
  532. package/lib/module/ui/components/authChooser/types.js.map +0 -1
  533. package/lib/module/ui/components/authChooser/useUsernameAvailability.js +0 -46
  534. package/lib/module/ui/components/authChooser/useUsernameAvailability.js.map +0 -1
  535. package/lib/module/ui/components/feedback/constants.js +0 -55
  536. package/lib/module/ui/components/feedback/constants.js.map +0 -1
  537. package/lib/module/ui/components/feedback/types.js +0 -4
  538. package/lib/module/ui/components/feedback/types.js.map +0 -1
  539. package/lib/module/ui/components/feedback/useFeedbackForm.js +0 -47
  540. package/lib/module/ui/components/feedback/useFeedbackForm.js.map +0 -1
  541. package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -55
  542. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +0 -1
  543. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +0 -119
  544. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +0 -1
  545. package/lib/module/ui/components/fileManagement/FileViewer.js +0 -425
  546. package/lib/module/ui/components/fileManagement/FileViewer.js.map +0 -1
  547. package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -166
  548. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +0 -1
  549. package/lib/module/ui/components/icon/FAIRWalletIcon.js +0 -59
  550. package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +0 -1
  551. package/lib/module/ui/components/internal/PinInput.js +0 -113
  552. package/lib/module/ui/components/internal/PinInput.js.map +0 -1
  553. package/lib/module/ui/components/logo/LogoIcon.js +0 -55
  554. package/lib/module/ui/components/logo/LogoIcon.js.map +0 -1
  555. package/lib/module/ui/components/logo/LogoText.js +0 -42
  556. package/lib/module/ui/components/logo/LogoText.js.map +0 -1
  557. package/lib/module/ui/components/modals/DeleteAccountModal.js +0 -127
  558. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +0 -1
  559. package/lib/module/ui/components/oauthNavigation.js +0 -80
  560. package/lib/module/ui/components/oauthNavigation.js.map +0 -1
  561. package/lib/module/ui/components/passkeyHubPopup.js +0 -29
  562. package/lib/module/ui/components/passkeyHubPopup.js.map +0 -1
  563. package/lib/module/ui/components/payment/PaymentDetailsStep.js +0 -322
  564. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +0 -1
  565. package/lib/module/ui/components/payment/PaymentMethodStep.js +0 -100
  566. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +0 -1
  567. package/lib/module/ui/components/payment/PaymentReviewStep.js +0 -144
  568. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +0 -1
  569. package/lib/module/ui/components/payment/PaymentSuccessStep.js +0 -79
  570. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +0 -1
  571. package/lib/module/ui/components/payment/PaymentSummaryStep.js +0 -190
  572. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +0 -1
  573. package/lib/module/ui/components/payment/constants.js +0 -47
  574. package/lib/module/ui/components/payment/constants.js.map +0 -1
  575. package/lib/module/ui/components/payment/paymentStyles.js +0 -396
  576. package/lib/module/ui/components/payment/paymentStyles.js.map +0 -1
  577. package/lib/module/ui/components/payment/types.js +0 -4
  578. package/lib/module/ui/components/payment/types.js.map +0 -1
  579. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +0 -216
  580. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +0 -1
  581. package/lib/module/ui/components/styles/overlay.js +0 -80
  582. package/lib/module/ui/components/styles/overlay.js.map +0 -1
  583. package/lib/module/ui/components/styles/shadow.js +0 -123
  584. package/lib/module/ui/components/styles/shadow.js.map +0 -1
  585. package/lib/module/ui/components/surfaces/ActionSheetSurface.js +0 -78
  586. package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +0 -1
  587. package/lib/module/ui/components/utils/hasTouchHandler.js +0 -9
  588. package/lib/module/ui/components/utils/hasTouchHandler.js.map +0 -1
  589. package/lib/module/ui/components/utils/roundLayoutSize.js +0 -4
  590. package/lib/module/ui/components/utils/roundLayoutSize.js.map +0 -1
  591. package/lib/module/ui/components/utils/splitStyles.js +0 -46
  592. package/lib/module/ui/components/utils/splitStyles.js.map +0 -1
  593. package/lib/module/ui/constants/spacing.js +0 -45
  594. package/lib/module/ui/constants/spacing.js.map +0 -1
  595. package/lib/module/ui/context/OxyContext.js +0 -1191
  596. package/lib/module/ui/context/OxyContext.js.map +0 -1
  597. package/lib/module/ui/context/commitSessionFlow.js +0 -100
  598. package/lib/module/ui/context/commitSessionFlow.js.map +0 -1
  599. package/lib/module/ui/context/hooks/useAuthOperations.js +0 -301
  600. package/lib/module/ui/context/hooks/useAuthOperations.js.map +0 -1
  601. package/lib/module/ui/context/oxyContextHelpers.js +0 -29
  602. package/lib/module/ui/context/oxyContextHelpers.js.map +0 -1
  603. package/lib/module/ui/context/oxyContextTypes.js +0 -4
  604. package/lib/module/ui/context/oxyContextTypes.js.map +0 -1
  605. package/lib/module/ui/context/passkeyFlow.js +0 -111
  606. package/lib/module/ui/context/passkeyFlow.js.map +0 -1
  607. package/lib/module/ui/context/useOxyAccountGraph.js +0 -96
  608. package/lib/module/ui/context/useOxyAccountGraph.js.map +0 -1
  609. package/lib/module/ui/hooks/accountDialogSnapshot.js +0 -38
  610. package/lib/module/ui/hooks/accountDialogSnapshot.js.map +0 -1
  611. package/lib/module/ui/hooks/mutations/mutationFactory.js +0 -178
  612. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +0 -1
  613. package/lib/module/ui/hooks/mutations/mutationKeys.js +0 -36
  614. package/lib/module/ui/hooks/mutations/mutationKeys.js.map +0 -1
  615. package/lib/module/ui/hooks/mutations/useAccountMutations.js +0 -666
  616. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +0 -1
  617. package/lib/module/ui/hooks/mutations/useServicesMutations.js +0 -189
  618. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +0 -1
  619. package/lib/module/ui/hooks/queries/paymentTypes.js +0 -2
  620. package/lib/module/ui/hooks/queries/paymentTypes.js.map +0 -1
  621. package/lib/module/ui/hooks/queries/queryKeys.js +0 -207
  622. package/lib/module/ui/hooks/queries/queryKeys.js.map +0 -1
  623. package/lib/module/ui/hooks/queries/useAccountQueries.js +0 -315
  624. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +0 -1
  625. package/lib/module/ui/hooks/queries/useAuthMethods.js +0 -45
  626. package/lib/module/ui/hooks/queries/useAuthMethods.js.map +0 -1
  627. package/lib/module/ui/hooks/queries/useFileQueries.js +0 -120
  628. package/lib/module/ui/hooks/queries/useFileQueries.js.map +0 -1
  629. package/lib/module/ui/hooks/queries/usePaymentQueries.js +0 -137
  630. package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +0 -1
  631. package/lib/module/ui/hooks/queries/useSecurityQueries.js +0 -86
  632. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +0 -1
  633. package/lib/module/ui/hooks/queries/useServicesQueries.js +0 -161
  634. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +0 -1
  635. package/lib/module/ui/hooks/queries/userCache.js +0 -433
  636. package/lib/module/ui/hooks/queries/userCache.js.map +0 -1
  637. package/lib/module/ui/hooks/queries/userCacheRelationship.js +0 -27
  638. package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +0 -1
  639. package/lib/module/ui/hooks/queryClient.js +0 -201
  640. package/lib/module/ui/hooks/queryClient.js.map +0 -1
  641. package/lib/module/ui/hooks/useAssets.js +0 -221
  642. package/lib/module/ui/hooks/useAssets.js.map +0 -1
  643. package/lib/module/ui/hooks/useAsyncAction.js +0 -89
  644. package/lib/module/ui/hooks/useAsyncAction.js.map +0 -1
  645. package/lib/module/ui/hooks/useAuth.js +0 -123
  646. package/lib/module/ui/hooks/useAuth.js.map +0 -1
  647. package/lib/module/ui/hooks/useAvatarPicker.js +0 -103
  648. package/lib/module/ui/hooks/useAvatarPicker.js.map +0 -1
  649. package/lib/module/ui/hooks/useDeviceManagement.js +0 -68
  650. package/lib/module/ui/hooks/useDeviceManagement.js.map +0 -1
  651. package/lib/module/ui/hooks/useDeviceSwitcher.js +0 -53
  652. package/lib/module/ui/hooks/useDeviceSwitcher.js.map +0 -1
  653. package/lib/module/ui/hooks/useFileDownloadUrl.js +0 -66
  654. package/lib/module/ui/hooks/useFileDownloadUrl.js.map +0 -1
  655. package/lib/module/ui/hooks/useFileFiltering.js +0 -72
  656. package/lib/module/ui/hooks/useFileFiltering.js.map +0 -1
  657. package/lib/module/ui/hooks/useFollow.js +0 -324
  658. package/lib/module/ui/hooks/useFollow.js.map +0 -1
  659. package/lib/module/ui/hooks/useFollow.types.js +0 -4
  660. package/lib/module/ui/hooks/useFollow.types.js.map +0 -1
  661. package/lib/module/ui/hooks/useFollowTarget.js +0 -156
  662. package/lib/module/ui/hooks/useFollowTarget.js.map +0 -1
  663. package/lib/module/ui/hooks/useI18n.js +0 -38
  664. package/lib/module/ui/hooks/useI18n.js.map +0 -1
  665. package/lib/module/ui/hooks/useLanguageManagement.js +0 -185
  666. package/lib/module/ui/hooks/useLanguageManagement.js.map +0 -1
  667. package/lib/module/ui/hooks/useMutationStatus.js +0 -82
  668. package/lib/module/ui/hooks/useMutationStatus.js.map +0 -1
  669. package/lib/module/ui/hooks/useOnlineStatus.js +0 -30
  670. package/lib/module/ui/hooks/useOnlineStatus.js.map +0 -1
  671. package/lib/module/ui/hooks/useOxyEvent.js +0 -25
  672. package/lib/module/ui/hooks/useOxyEvent.js.map +0 -1
  673. package/lib/module/ui/hooks/useProfileEditing.js +0 -129
  674. package/lib/module/ui/hooks/useProfileEditing.js.map +0 -1
  675. package/lib/module/ui/hooks/useQueryClient.js +0 -15
  676. package/lib/module/ui/hooks/useQueryClient.js.map +0 -1
  677. package/lib/module/ui/hooks/useReduceMotion.js +0 -53
  678. package/lib/module/ui/hooks/useReduceMotion.js.map +0 -1
  679. package/lib/module/ui/hooks/useResolvedFileUrls.js +0 -157
  680. package/lib/module/ui/hooks/useResolvedFileUrls.js.map +0 -1
  681. package/lib/module/ui/hooks/useSessionManagement.js +0 -178
  682. package/lib/module/ui/hooks/useSessionManagement.js.map +0 -1
  683. package/lib/module/ui/hooks/useSettingToggle.js +0 -126
  684. package/lib/module/ui/hooks/useSettingToggle.js.map +0 -1
  685. package/lib/module/ui/hooks/useStorage.js +0 -40
  686. package/lib/module/ui/hooks/useStorage.js.map +0 -1
  687. package/lib/module/ui/hooks/useSurfaceHeader.js +0 -138
  688. package/lib/module/ui/hooks/useSurfaceHeader.js.map +0 -1
  689. package/lib/module/ui/index.js +0 -48
  690. package/lib/module/ui/index.js.map +0 -1
  691. package/lib/module/ui/isFrontend.js +0 -6
  692. package/lib/module/ui/isFrontend.js.map +0 -1
  693. package/lib/module/ui/navigation/accountDialogManager.js +0 -94
  694. package/lib/module/ui/navigation/accountDialogManager.js.map +0 -1
  695. package/lib/module/ui/navigation/bottomSheetManager.js +0 -56
  696. package/lib/module/ui/navigation/bottomSheetManager.js.map +0 -1
  697. package/lib/module/ui/navigation/routes.js +0 -104
  698. package/lib/module/ui/navigation/routes.js.map +0 -1
  699. package/lib/module/ui/navigation/surfaceBackBridge.js +0 -63
  700. package/lib/module/ui/navigation/surfaceBackBridge.js.map +0 -1
  701. package/lib/module/ui/navigation/surfaceNavStack.js +0 -143
  702. package/lib/module/ui/navigation/surfaceNavStack.js.map +0 -1
  703. package/lib/module/ui/navigation/surfaceRegistry.js +0 -141
  704. package/lib/module/ui/navigation/surfaceRegistry.js.map +0 -1
  705. package/lib/module/ui/navigation/surfaces.js +0 -325
  706. package/lib/module/ui/navigation/surfaces.js.map +0 -1
  707. package/lib/module/ui/oauth/browserAuthTransport.js +0 -167
  708. package/lib/module/ui/oauth/browserAuthTransport.js.map +0 -1
  709. package/lib/module/ui/oauth/completeOAuthCode.js +0 -75
  710. package/lib/module/ui/oauth/completeOAuthCode.js.map +0 -1
  711. package/lib/module/ui/oauth/oauthHandshake.js +0 -50
  712. package/lib/module/ui/oauth/oauthHandshake.js.map +0 -1
  713. package/lib/module/ui/oauth/oauthPopup.js +0 -268
  714. package/lib/module/ui/oauth/oauthPopup.js.map +0 -1
  715. package/lib/module/ui/oauth/oauthPopupMessages.js +0 -135
  716. package/lib/module/ui/oauth/oauthPopupMessages.js.map +0 -1
  717. package/lib/module/ui/oauth/types.js +0 -2
  718. package/lib/module/ui/oauth/types.js.map +0 -1
  719. package/lib/module/ui/runtime/createOxyRuntime.js +0 -430
  720. package/lib/module/ui/runtime/createOxyRuntime.js.map +0 -1
  721. package/lib/module/ui/runtime/index.js +0 -15
  722. package/lib/module/ui/runtime/index.js.map +0 -1
  723. package/lib/module/ui/runtime/runtimeContext.js +0 -75
  724. package/lib/module/ui/runtime/runtimeContext.js.map +0 -1
  725. package/lib/module/ui/runtime/types.js +0 -4
  726. package/lib/module/ui/runtime/types.js.map +0 -1
  727. package/lib/module/ui/runtime/useRuntimeSnapshot.js +0 -52
  728. package/lib/module/ui/runtime/useRuntimeSnapshot.js.map +0 -1
  729. package/lib/module/ui/screens/AccountMembersScreen.js +0 -438
  730. package/lib/module/ui/screens/AccountMembersScreen.js.map +0 -1
  731. package/lib/module/ui/screens/AccountSettingsScreen.js +0 -260
  732. package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
  733. package/lib/module/ui/screens/AccountVerificationScreen.js +0 -179
  734. package/lib/module/ui/screens/AccountVerificationScreen.js.map +0 -1
  735. package/lib/module/ui/screens/AppInfoScreen.js +0 -368
  736. package/lib/module/ui/screens/AppInfoScreen.js.map +0 -1
  737. package/lib/module/ui/screens/AvatarCropScreen.js +0 -984
  738. package/lib/module/ui/screens/AvatarCropScreen.js.map +0 -1
  739. package/lib/module/ui/screens/ChangeAvatarScreen.js +0 -303
  740. package/lib/module/ui/screens/ChangeAvatarScreen.js.map +0 -1
  741. package/lib/module/ui/screens/ConnectedAppsScreen.js +0 -164
  742. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +0 -1
  743. package/lib/module/ui/screens/CreateAccountScreen.js +0 -382
  744. package/lib/module/ui/screens/CreateAccountScreen.js.map +0 -1
  745. package/lib/module/ui/screens/EditProfileFieldScreen.js +0 -541
  746. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +0 -1
  747. package/lib/module/ui/screens/EditProfileScreen.js +0 -162
  748. package/lib/module/ui/screens/EditProfileScreen.js.map +0 -1
  749. package/lib/module/ui/screens/FAQScreen.js +0 -157
  750. package/lib/module/ui/screens/FAQScreen.js.map +0 -1
  751. package/lib/module/ui/screens/FeedbackScreen.js +0 -590
  752. package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
  753. package/lib/module/ui/screens/FileManagementScreen.js +0 -1525
  754. package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
  755. package/lib/module/ui/screens/FollowersListScreen.js +0 -12
  756. package/lib/module/ui/screens/FollowersListScreen.js.map +0 -1
  757. package/lib/module/ui/screens/FollowingListScreen.js +0 -12
  758. package/lib/module/ui/screens/FollowingListScreen.js.map +0 -1
  759. package/lib/module/ui/screens/HelpSupportScreen.js +0 -118
  760. package/lib/module/ui/screens/HelpSupportScreen.js.map +0 -1
  761. package/lib/module/ui/screens/HistoryViewScreen.js +0 -160
  762. package/lib/module/ui/screens/HistoryViewScreen.js.map +0 -1
  763. package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -229
  764. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +0 -1
  765. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +0 -122
  766. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +0 -1
  767. package/lib/module/ui/screens/LegalDocumentsScreen.js +0 -185
  768. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +0 -1
  769. package/lib/module/ui/screens/ManageAccountScreen.js +0 -642
  770. package/lib/module/ui/screens/ManageAccountScreen.js.map +0 -1
  771. package/lib/module/ui/screens/NotificationsScreen.js +0 -145
  772. package/lib/module/ui/screens/NotificationsScreen.js.map +0 -1
  773. package/lib/module/ui/screens/PaymentGatewayScreen.js +0 -273
  774. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +0 -1
  775. package/lib/module/ui/screens/PreferencesScreen.js +0 -189
  776. package/lib/module/ui/screens/PreferencesScreen.js.map +0 -1
  777. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +0 -953
  778. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
  779. package/lib/module/ui/screens/PrivacySettingsScreen.js +0 -496
  780. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +0 -1
  781. package/lib/module/ui/screens/ProfileScreen.js +0 -468
  782. package/lib/module/ui/screens/ProfileScreen.js.map +0 -1
  783. package/lib/module/ui/screens/SavesCollectionsScreen.js +0 -127
  784. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +0 -1
  785. package/lib/module/ui/screens/SearchSettingsScreen.js +0 -133
  786. package/lib/module/ui/screens/SearchSettingsScreen.js.map +0 -1
  787. package/lib/module/ui/screens/UserLinksScreen.js +0 -57
  788. package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
  789. package/lib/module/ui/screens/UserListScreen.js +0 -296
  790. package/lib/module/ui/screens/UserListScreen.js.map +0 -1
  791. package/lib/module/ui/screens/WelcomeNewUserScreen.js +0 -462
  792. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +0 -1
  793. package/lib/module/ui/screens/fileManagement/FileLibraryError.js +0 -59
  794. package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +0 -1
  795. package/lib/module/ui/screens/fileManagement/FileListSection.js +0 -116
  796. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +0 -1
  797. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +0 -548
  798. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +0 -1
  799. package/lib/module/ui/screens/fileManagement/UploadBar.js +0 -80
  800. package/lib/module/ui/screens/fileManagement/UploadBar.js.map +0 -1
  801. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +0 -502
  802. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +0 -1
  803. package/lib/module/ui/screens/fileManagement/photoGridLayout.js +0 -39
  804. package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +0 -1
  805. package/lib/module/ui/screens/fileManagement/shared.js +0 -70
  806. package/lib/module/ui/screens/fileManagement/shared.js.map +0 -1
  807. package/lib/module/ui/screens/linkFormat.js +0 -31
  808. package/lib/module/ui/screens/linkFormat.js.map +0 -1
  809. package/lib/module/ui/screens/trust/TrustAboutScreen.js +0 -89
  810. package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +0 -1
  811. package/lib/module/ui/screens/trust/TrustCenterScreen.js +0 -180
  812. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +0 -1
  813. package/lib/module/ui/screens/trust/TrustFAQScreen.js +0 -81
  814. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +0 -1
  815. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +0 -217
  816. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +0 -1
  817. package/lib/module/ui/screens/trust/TrustRewardsScreen.js +0 -507
  818. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +0 -1
  819. package/lib/module/ui/screens/trust/TrustRulesScreen.js +0 -90
  820. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +0 -1
  821. package/lib/module/ui/server.js +0 -55
  822. package/lib/module/ui/server.js.map +0 -1
  823. package/lib/module/ui/session/authStore.js +0 -70
  824. package/lib/module/ui/session/authStore.js.map +0 -1
  825. package/lib/module/ui/session/backgroundSession.js +0 -252
  826. package/lib/module/ui/session/backgroundSession.js.map +0 -1
  827. package/lib/module/ui/session/createSessionClient.js +0 -55
  828. package/lib/module/ui/session/createSessionClient.js.map +0 -1
  829. package/lib/module/ui/session/identityBinding.js +0 -89
  830. package/lib/module/ui/session/identityBinding.js.map +0 -1
  831. package/lib/module/ui/session/index.js +0 -21
  832. package/lib/module/ui/session/index.js.map +0 -1
  833. package/lib/module/ui/session/nativeSecureStorage.js +0 -88
  834. package/lib/module/ui/session/nativeSecureStorage.js.map +0 -1
  835. package/lib/module/ui/session/sharedDeviceCredentialStore.js +0 -302
  836. package/lib/module/ui/session/sharedDeviceCredentialStore.js.map +0 -1
  837. package/lib/module/ui/session/tokenTransport.js +0 -71
  838. package/lib/module/ui/session/tokenTransport.js.map +0 -1
  839. package/lib/module/ui/session/useBackgroundSessionSync.js +0 -76
  840. package/lib/module/ui/session/useBackgroundSessionSync.js.map +0 -1
  841. package/lib/module/ui/stores/assetStore.js +0 -212
  842. package/lib/module/ui/stores/assetStore.js.map +0 -1
  843. package/lib/module/ui/stores/authStore.js +0 -165
  844. package/lib/module/ui/stores/authStore.js.map +0 -1
  845. package/lib/module/ui/stores/followStore.js +0 -546
  846. package/lib/module/ui/stores/followStore.js.map +0 -1
  847. package/lib/module/ui/stores/followTargetStore.js +0 -143
  848. package/lib/module/ui/stores/followTargetStore.js.map +0 -1
  849. package/lib/module/ui/stores/resetSessionScopedStores.js +0 -18
  850. package/lib/module/ui/stores/resetSessionScopedStores.js.map +0 -1
  851. package/lib/module/ui/types/fileManagement.js +0 -4
  852. package/lib/module/ui/types/fileManagement.js.map +0 -1
  853. package/lib/module/ui/types/navigation.js +0 -4
  854. package/lib/module/ui/types/navigation.js.map +0 -1
  855. package/lib/module/ui/types/surfaceScreen.js +0 -4
  856. package/lib/module/ui/types/surfaceScreen.js.map +0 -1
  857. package/lib/module/ui/utils/avatarUtils.js +0 -40
  858. package/lib/module/ui/utils/avatarUtils.js.map +0 -1
  859. package/lib/module/ui/utils/colorUtils.js +0 -13
  860. package/lib/module/ui/utils/colorUtils.js.map +0 -1
  861. package/lib/module/ui/utils/commonsStoreLinks.js +0 -37
  862. package/lib/module/ui/utils/commonsStoreLinks.js.map +0 -1
  863. package/lib/module/ui/utils/deliveryPlatform.js +0 -55
  864. package/lib/module/ui/utils/deliveryPlatform.js.map +0 -1
  865. package/lib/module/ui/utils/deviceCredential.js +0 -18
  866. package/lib/module/ui/utils/deviceCredential.js.map +0 -1
  867. package/lib/module/ui/utils/errorHandlers.js +0 -129
  868. package/lib/module/ui/utils/errorHandlers.js.map +0 -1
  869. package/lib/module/ui/utils/fileManagement.js +0 -140
  870. package/lib/module/ui/utils/fileManagement.js.map +0 -1
  871. package/lib/module/ui/utils/iconNames.js +0 -124
  872. package/lib/module/ui/utils/iconNames.js.map +0 -1
  873. package/lib/module/ui/utils/isWebBrowser.js +0 -11
  874. package/lib/module/ui/utils/isWebBrowser.js.map +0 -1
  875. package/lib/module/ui/utils/netConnectivity.js +0 -23
  876. package/lib/module/ui/utils/netConnectivity.js.map +0 -1
  877. package/lib/module/ui/utils/oauthReturn.js +0 -122
  878. package/lib/module/ui/utils/oauthReturn.js.map +0 -1
  879. package/lib/module/ui/utils/sessionHelpers.js +0 -55
  880. package/lib/module/ui/utils/sessionHelpers.js.map +0 -1
  881. package/lib/module/ui/utils/storageHelpers.js +0 -111
  882. package/lib/module/ui/utils/storageHelpers.js.map +0 -1
  883. package/lib/module/ui/utils/userUtils.js +0 -63
  884. package/lib/module/ui/utils/userUtils.js.map +0 -1
  885. package/lib/module/utils/hookUtils.js +0 -403
  886. package/lib/module/utils/hookUtils.js.map +0 -1
  887. package/lib/module/webauthn/passkeyClient.js +0 -33
  888. package/lib/module/webauthn/passkeyClient.js.map +0 -1
  889. package/lib/module/webauthn/passkeyClient.native.js +0 -28
  890. package/lib/module/webauthn/passkeyClient.native.js.map +0 -1
  891. package/lib/module/webauthn/passkeyClient.web.js +0 -52
  892. package/lib/module/webauthn/passkeyClient.web.js.map +0 -1
  893. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +0 -24
  894. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +0 -1
  895. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts +0 -8
  896. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +0 -1
  897. package/lib/typescript/commonjs/index.d.ts +0 -108
  898. package/lib/typescript/commonjs/index.d.ts.map +0 -1
  899. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +0 -192
  900. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +0 -1
  901. package/lib/typescript/commonjs/package.json +0 -1
  902. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +0 -60
  903. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +0 -1
  904. package/lib/typescript/commonjs/ui/client.d.ts +0 -29
  905. package/lib/typescript/commonjs/ui/client.d.ts.map +0 -1
  906. package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts +0 -4
  907. package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +0 -1
  908. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +0 -39
  909. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +0 -1
  910. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts +0 -158
  911. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +0 -1
  912. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +0 -40
  913. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +0 -1
  914. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +0 -54
  915. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +0 -1
  916. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +0 -59
  917. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +0 -1
  918. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts +0 -45
  919. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +0 -1
  920. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +0 -11
  921. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +0 -1
  922. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts +0 -29
  923. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +0 -1
  924. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +0 -40
  925. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +0 -1
  926. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +0 -113
  927. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +0 -1
  928. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +0 -108
  929. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +0 -1
  930. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +0 -59
  931. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +0 -1
  932. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +0 -33
  933. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +0 -1
  934. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts +0 -55
  935. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +0 -1
  936. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +0 -15
  937. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +0 -1
  938. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +0 -16
  939. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +0 -1
  940. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +0 -23
  941. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +0 -1
  942. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +0 -45
  943. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +0 -1
  944. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +0 -34
  945. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
  946. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +0 -34
  947. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +0 -1
  948. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +0 -34
  949. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +0 -1
  950. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +0 -36
  951. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +0 -1
  952. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +0 -67
  953. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +0 -1
  954. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +0 -63
  955. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +0 -1
  956. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +0 -26
  957. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +0 -1
  958. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +0 -209
  959. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +0 -1
  960. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +0 -141
  961. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +0 -1
  962. package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts +0 -16
  963. package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts.map +0 -1
  964. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts +0 -5
  965. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +0 -1
  966. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts +0 -46
  967. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +0 -1
  968. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts +0 -9
  969. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +0 -1
  970. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
  971. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
  972. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +0 -24
  973. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +0 -1
  974. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +0 -16
  975. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +0 -1
  976. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +0 -14
  977. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +0 -1
  978. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts +0 -9
  979. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +0 -1
  980. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +0 -23
  981. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +0 -1
  982. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +0 -22
  983. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +0 -1
  984. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +0 -22
  985. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +0 -1
  986. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +0 -26
  987. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +0 -1
  988. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +0 -43
  989. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts.map +0 -1
  990. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +0 -23
  991. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +0 -1
  992. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +0 -21
  993. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +0 -1
  994. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +0 -14
  995. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +0 -1
  996. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +0 -16
  997. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +0 -1
  998. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +0 -10
  999. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +0 -1
  1000. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +0 -15
  1001. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +0 -1
  1002. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts +0 -7
  1003. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +0 -1
  1004. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +0 -389
  1005. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +0 -1
  1006. package/lib/typescript/commonjs/ui/components/payment/types.d.ts +0 -40
  1007. package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +0 -1
  1008. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -28
  1009. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +0 -1
  1010. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +0 -6
  1011. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +0 -1
  1012. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +0 -3
  1013. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +0 -1
  1014. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts +0 -38
  1015. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +0 -1
  1016. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts +0 -6
  1017. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +0 -1
  1018. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts +0 -2
  1019. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +0 -1
  1020. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts +0 -20
  1021. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +0 -1
  1022. package/lib/typescript/commonjs/ui/constants/spacing.d.ts +0 -33
  1023. package/lib/typescript/commonjs/ui/constants/spacing.d.ts.map +0 -1
  1024. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +0 -38
  1025. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +0 -1
  1026. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +0 -39
  1027. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +0 -1
  1028. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +0 -70
  1029. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +0 -1
  1030. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +0 -5
  1031. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +0 -1
  1032. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +0 -219
  1033. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +0 -1
  1034. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +0 -96
  1035. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +0 -1
  1036. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +0 -30
  1037. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +0 -1
  1038. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts +0 -15
  1039. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts.map +0 -1
  1040. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +0 -87
  1041. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
  1042. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +0 -30
  1043. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
  1044. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +0 -301
  1045. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +0 -1
  1046. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +0 -23
  1047. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +0 -1
  1048. package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +0 -138
  1049. package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts.map +0 -1
  1050. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +0 -137
  1051. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +0 -1
  1052. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +0 -87
  1053. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +0 -1
  1054. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +0 -212
  1055. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +0 -1
  1056. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +0 -50
  1057. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +0 -1
  1058. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +0 -64
  1059. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +0 -1
  1060. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +0 -25
  1061. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +0 -1
  1062. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +0 -44
  1063. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +0 -1
  1064. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +0 -173
  1065. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +0 -1
  1066. package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
  1067. package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
  1068. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +0 -66
  1069. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +0 -1
  1070. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +0 -35
  1071. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +0 -1
  1072. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts +0 -51
  1073. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +0 -1
  1074. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +0 -109
  1075. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +0 -1
  1076. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +0 -34
  1077. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +0 -1
  1078. package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts +0 -27
  1079. package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +0 -1
  1080. package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts +0 -49
  1081. package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts.map +0 -1
  1082. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +0 -19
  1083. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +0 -1
  1084. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +0 -29
  1085. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +0 -1
  1086. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +0 -108
  1087. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +0 -1
  1088. package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +0 -35
  1089. package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +0 -1
  1090. package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts +0 -50
  1091. package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts.map +0 -1
  1092. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +0 -18
  1093. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +0 -1
  1094. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +0 -69
  1095. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +0 -1
  1096. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +0 -23
  1097. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +0 -1
  1098. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +0 -14
  1099. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +0 -1
  1100. package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts +0 -8
  1101. package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts.map +0 -1
  1102. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +0 -42
  1103. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +0 -1
  1104. package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +0 -7
  1105. package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +0 -1
  1106. package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts +0 -14
  1107. package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts.map +0 -1
  1108. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +0 -48
  1109. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +0 -1
  1110. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +0 -46
  1111. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +0 -1
  1112. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts +0 -57
  1113. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +0 -1
  1114. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +0 -16
  1115. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +0 -1
  1116. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +0 -45
  1117. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +0 -1
  1118. package/lib/typescript/commonjs/ui/index.d.ts +0 -38
  1119. package/lib/typescript/commonjs/ui/index.d.ts.map +0 -1
  1120. package/lib/typescript/commonjs/ui/isFrontend.d.ts +0 -3
  1121. package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +0 -1
  1122. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +0 -54
  1123. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +0 -1
  1124. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +0 -34
  1125. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +0 -1
  1126. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +0 -20
  1127. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +0 -1
  1128. package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts +0 -16
  1129. package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts.map +0 -1
  1130. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +0 -75
  1131. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +0 -1
  1132. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +0 -194
  1133. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +0 -1
  1134. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +0 -110
  1135. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +0 -1
  1136. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +0 -56
  1137. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +0 -1
  1138. package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts +0 -49
  1139. package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +0 -1
  1140. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +0 -50
  1141. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +0 -1
  1142. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +0 -83
  1143. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +0 -1
  1144. package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts +0 -67
  1145. package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +0 -1
  1146. package/lib/typescript/commonjs/ui/oauth/types.d.ts +0 -176
  1147. package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +0 -1
  1148. package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts +0 -144
  1149. package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +0 -1
  1150. package/lib/typescript/commonjs/ui/runtime/index.d.ts +0 -16
  1151. package/lib/typescript/commonjs/ui/runtime/index.d.ts.map +0 -1
  1152. package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts +0 -43
  1153. package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts.map +0 -1
  1154. package/lib/typescript/commonjs/ui/runtime/types.d.ts +0 -89
  1155. package/lib/typescript/commonjs/ui/runtime/types.d.ts.map +0 -1
  1156. package/lib/typescript/commonjs/ui/runtime/useRuntimeSnapshot.d.ts +0 -23
  1157. package/lib/typescript/commonjs/ui/runtime/useRuntimeSnapshot.d.ts.map +0 -1
  1158. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts +0 -10
  1159. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +0 -1
  1160. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts +0 -12
  1161. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
  1162. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts +0 -5
  1163. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +0 -1
  1164. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts +0 -5
  1165. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +0 -1
  1166. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +0 -58
  1167. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +0 -1
  1168. package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts +0 -38
  1169. package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +0 -1
  1170. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts +0 -5
  1171. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +0 -1
  1172. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts +0 -11
  1173. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +0 -1
  1174. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +0 -13
  1175. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +0 -1
  1176. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts +0 -14
  1177. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +0 -1
  1178. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +0 -5
  1179. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +0 -1
  1180. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +0 -5
  1181. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +0 -1
  1182. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts +0 -5
  1183. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +0 -1
  1184. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +0 -12
  1185. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +0 -1
  1186. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +0 -12
  1187. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +0 -1
  1188. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts +0 -5
  1189. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +0 -1
  1190. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts +0 -5
  1191. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +0 -1
  1192. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts +0 -7
  1193. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +0 -1
  1194. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -5
  1195. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +0 -1
  1196. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts +0 -5
  1197. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +0 -1
  1198. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +0 -13
  1199. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +0 -1
  1200. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts +0 -5
  1201. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +0 -1
  1202. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +0 -15
  1203. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +0 -1
  1204. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts +0 -5
  1205. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +0 -1
  1206. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
  1207. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
  1208. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts +0 -5
  1209. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +0 -1
  1210. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts +0 -9
  1211. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +0 -1
  1212. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts +0 -5
  1213. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
  1214. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts +0 -5
  1215. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +0 -1
  1216. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +0 -15
  1217. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +0 -1
  1218. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +0 -18
  1219. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +0 -1
  1220. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +0 -14
  1221. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +0 -1
  1222. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +0 -23
  1223. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +0 -1
  1224. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +0 -40
  1225. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +0 -1
  1226. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +0 -43
  1227. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +0 -1
  1228. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +0 -25
  1229. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +0 -1
  1230. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +0 -51
  1231. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +0 -1
  1232. package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts +0 -37
  1233. package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +0 -1
  1234. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +0 -38
  1235. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +0 -1
  1236. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts +0 -23
  1237. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +0 -1
  1238. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts +0 -5
  1239. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +0 -1
  1240. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts +0 -5
  1241. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +0 -1
  1242. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts +0 -5
  1243. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +0 -1
  1244. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts +0 -5
  1245. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +0 -1
  1246. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts +0 -5
  1247. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +0 -1
  1248. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts +0 -5
  1249. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +0 -1
  1250. package/lib/typescript/commonjs/ui/server.d.ts +0 -35
  1251. package/lib/typescript/commonjs/ui/server.d.ts.map +0 -1
  1252. package/lib/typescript/commonjs/ui/session/authStore.d.ts +0 -76
  1253. package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +0 -1
  1254. package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts +0 -42
  1255. package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts.map +0 -1
  1256. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +0 -40
  1257. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +0 -1
  1258. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +0 -66
  1259. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +0 -1
  1260. package/lib/typescript/commonjs/ui/session/index.d.ts +0 -20
  1261. package/lib/typescript/commonjs/ui/session/index.d.ts.map +0 -1
  1262. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +0 -25
  1263. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +0 -1
  1264. package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts +0 -32
  1265. package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts.map +0 -1
  1266. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +0 -33
  1267. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +0 -1
  1268. package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts +0 -23
  1269. package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts.map +0 -1
  1270. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +0 -54
  1271. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +0 -1
  1272. package/lib/typescript/commonjs/ui/stores/authStore.d.ts +0 -61
  1273. package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +0 -1
  1274. package/lib/typescript/commonjs/ui/stores/followStore.d.ts +0 -30
  1275. package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +0 -1
  1276. package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts +0 -84
  1277. package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts.map +0 -1
  1278. package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +0 -10
  1279. package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
  1280. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts +0 -51
  1281. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +0 -1
  1282. package/lib/typescript/commonjs/ui/types/navigation.d.ts +0 -153
  1283. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +0 -1
  1284. package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts +0 -38
  1285. package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +0 -1
  1286. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +0 -16
  1287. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +0 -1
  1288. package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts +0 -10
  1289. package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +0 -1
  1290. package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts +0 -24
  1291. package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +0 -1
  1292. package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts +0 -33
  1293. package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts.map +0 -1
  1294. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +0 -8
  1295. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +0 -1
  1296. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +0 -35
  1297. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +0 -1
  1298. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +0 -55
  1299. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +0 -1
  1300. package/lib/typescript/commonjs/ui/utils/iconNames.d.ts +0 -112
  1301. package/lib/typescript/commonjs/ui/utils/iconNames.d.ts.map +0 -1
  1302. package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts +0 -9
  1303. package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts.map +0 -1
  1304. package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +0 -17
  1305. package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +0 -1
  1306. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +0 -48
  1307. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +0 -1
  1308. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +0 -48
  1309. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +0 -1
  1310. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +0 -28
  1311. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +0 -1
  1312. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +0 -23
  1313. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +0 -1
  1314. package/lib/typescript/commonjs/utils/hookUtils.d.ts +0 -102
  1315. package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +0 -1
  1316. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts +0 -20
  1317. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts.map +0 -1
  1318. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts +0 -15
  1319. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts.map +0 -1
  1320. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts +0 -36
  1321. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts.map +0 -1
  1322. package/lib/typescript/module/assets/icons/OxyServices.d.ts +0 -24
  1323. package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +0 -1
  1324. package/lib/typescript/module/assets/illustrations/HighFive.d.ts +0 -8
  1325. package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +0 -1
  1326. package/lib/typescript/module/index.d.ts +0 -108
  1327. package/lib/typescript/module/index.d.ts.map +0 -1
  1328. package/lib/typescript/module/notifications/deviceNotifications.d.ts +0 -192
  1329. package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +0 -1
  1330. package/lib/typescript/module/package.json +0 -1
  1331. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +0 -60
  1332. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +0 -1
  1333. package/lib/typescript/module/ui/client.d.ts +0 -29
  1334. package/lib/typescript/module/ui/client.d.ts.map +0 -1
  1335. package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts +0 -4
  1336. package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +0 -1
  1337. package/lib/typescript/module/ui/components/FollowButton.d.ts +0 -39
  1338. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +0 -1
  1339. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts +0 -158
  1340. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +0 -1
  1341. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +0 -40
  1342. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +0 -1
  1343. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +0 -54
  1344. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +0 -1
  1345. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +0 -59
  1346. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +0 -1
  1347. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts +0 -45
  1348. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +0 -1
  1349. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +0 -11
  1350. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +0 -1
  1351. package/lib/typescript/module/ui/components/OxyPayButton.d.ts +0 -29
  1352. package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +0 -1
  1353. package/lib/typescript/module/ui/components/OxyProvider.d.ts +0 -40
  1354. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +0 -1
  1355. package/lib/typescript/module/ui/components/OxySignInButton.d.ts +0 -113
  1356. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +0 -1
  1357. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +0 -108
  1358. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +0 -1
  1359. package/lib/typescript/module/ui/components/ProfileButton.d.ts +0 -59
  1360. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +0 -1
  1361. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +0 -33
  1362. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +0 -1
  1363. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts +0 -55
  1364. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +0 -1
  1365. package/lib/typescript/module/ui/components/SettingsIcon.d.ts +0 -15
  1366. package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +0 -1
  1367. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +0 -16
  1368. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +0 -1
  1369. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +0 -23
  1370. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +0 -1
  1371. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +0 -45
  1372. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +0 -1
  1373. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +0 -34
  1374. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +0 -1
  1375. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +0 -34
  1376. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +0 -1
  1377. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +0 -34
  1378. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +0 -1
  1379. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +0 -36
  1380. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +0 -1
  1381. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +0 -67
  1382. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +0 -1
  1383. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +0 -63
  1384. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +0 -1
  1385. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +0 -26
  1386. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +0 -1
  1387. package/lib/typescript/module/ui/components/authChooser/styles.d.ts +0 -209
  1388. package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +0 -1
  1389. package/lib/typescript/module/ui/components/authChooser/types.d.ts +0 -141
  1390. package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +0 -1
  1391. package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts +0 -16
  1392. package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts.map +0 -1
  1393. package/lib/typescript/module/ui/components/feedback/constants.d.ts +0 -5
  1394. package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +0 -1
  1395. package/lib/typescript/module/ui/components/feedback/types.d.ts +0 -46
  1396. package/lib/typescript/module/ui/components/feedback/types.d.ts.map +0 -1
  1397. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +0 -9
  1398. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +0 -1
  1399. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
  1400. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
  1401. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +0 -24
  1402. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +0 -1
  1403. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +0 -16
  1404. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +0 -1
  1405. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +0 -14
  1406. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +0 -1
  1407. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts +0 -9
  1408. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +0 -1
  1409. package/lib/typescript/module/ui/components/internal/PinInput.d.ts +0 -23
  1410. package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +0 -1
  1411. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +0 -22
  1412. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +0 -1
  1413. package/lib/typescript/module/ui/components/logo/LogoText.d.ts +0 -22
  1414. package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +0 -1
  1415. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +0 -26
  1416. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +0 -1
  1417. package/lib/typescript/module/ui/components/oauthNavigation.d.ts +0 -43
  1418. package/lib/typescript/module/ui/components/oauthNavigation.d.ts.map +0 -1
  1419. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +0 -23
  1420. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +0 -1
  1421. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +0 -21
  1422. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +0 -1
  1423. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +0 -14
  1424. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +0 -1
  1425. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +0 -16
  1426. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +0 -1
  1427. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +0 -10
  1428. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +0 -1
  1429. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +0 -15
  1430. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +0 -1
  1431. package/lib/typescript/module/ui/components/payment/constants.d.ts +0 -7
  1432. package/lib/typescript/module/ui/components/payment/constants.d.ts.map +0 -1
  1433. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +0 -389
  1434. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +0 -1
  1435. package/lib/typescript/module/ui/components/payment/types.d.ts +0 -40
  1436. package/lib/typescript/module/ui/components/payment/types.d.ts.map +0 -1
  1437. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -28
  1438. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +0 -1
  1439. package/lib/typescript/module/ui/components/styles/overlay.d.ts +0 -6
  1440. package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +0 -1
  1441. package/lib/typescript/module/ui/components/styles/shadow.d.ts +0 -3
  1442. package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +0 -1
  1443. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts +0 -38
  1444. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +0 -1
  1445. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts +0 -6
  1446. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +0 -1
  1447. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts +0 -2
  1448. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +0 -1
  1449. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts +0 -20
  1450. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +0 -1
  1451. package/lib/typescript/module/ui/constants/spacing.d.ts +0 -33
  1452. package/lib/typescript/module/ui/constants/spacing.d.ts.map +0 -1
  1453. package/lib/typescript/module/ui/context/OxyContext.d.ts +0 -38
  1454. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +0 -1
  1455. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +0 -39
  1456. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +0 -1
  1457. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +0 -70
  1458. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +0 -1
  1459. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +0 -5
  1460. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +0 -1
  1461. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +0 -219
  1462. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +0 -1
  1463. package/lib/typescript/module/ui/context/passkeyFlow.d.ts +0 -96
  1464. package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +0 -1
  1465. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +0 -30
  1466. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +0 -1
  1467. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts +0 -15
  1468. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts.map +0 -1
  1469. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +0 -87
  1470. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +0 -1
  1471. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +0 -30
  1472. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +0 -1
  1473. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +0 -301
  1474. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +0 -1
  1475. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +0 -23
  1476. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +0 -1
  1477. package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +0 -138
  1478. package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts.map +0 -1
  1479. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +0 -137
  1480. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +0 -1
  1481. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +0 -87
  1482. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +0 -1
  1483. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +0 -212
  1484. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +0 -1
  1485. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +0 -50
  1486. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +0 -1
  1487. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +0 -64
  1488. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +0 -1
  1489. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +0 -25
  1490. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +0 -1
  1491. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +0 -44
  1492. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +0 -1
  1493. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +0 -173
  1494. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +0 -1
  1495. package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +0 -9
  1496. package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +0 -1
  1497. package/lib/typescript/module/ui/hooks/queryClient.d.ts +0 -66
  1498. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +0 -1
  1499. package/lib/typescript/module/ui/hooks/useAssets.d.ts +0 -35
  1500. package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +0 -1
  1501. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts +0 -51
  1502. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +0 -1
  1503. package/lib/typescript/module/ui/hooks/useAuth.d.ts +0 -109
  1504. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +0 -1
  1505. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +0 -34
  1506. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +0 -1
  1507. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +0 -27
  1508. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +0 -1
  1509. package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts +0 -49
  1510. package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts.map +0 -1
  1511. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +0 -19
  1512. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +0 -1
  1513. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +0 -29
  1514. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +0 -1
  1515. package/lib/typescript/module/ui/hooks/useFollow.d.ts +0 -108
  1516. package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +0 -1
  1517. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +0 -35
  1518. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +0 -1
  1519. package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts +0 -50
  1520. package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts.map +0 -1
  1521. package/lib/typescript/module/ui/hooks/useI18n.d.ts +0 -18
  1522. package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +0 -1
  1523. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +0 -69
  1524. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +0 -1
  1525. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +0 -23
  1526. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +0 -1
  1527. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +0 -14
  1528. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +0 -1
  1529. package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts +0 -8
  1530. package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts.map +0 -1
  1531. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +0 -42
  1532. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +0 -1
  1533. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +0 -7
  1534. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +0 -1
  1535. package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts +0 -14
  1536. package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts.map +0 -1
  1537. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +0 -48
  1538. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +0 -1
  1539. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +0 -46
  1540. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +0 -1
  1541. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts +0 -57
  1542. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +0 -1
  1543. package/lib/typescript/module/ui/hooks/useStorage.d.ts +0 -16
  1544. package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +0 -1
  1545. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +0 -45
  1546. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +0 -1
  1547. package/lib/typescript/module/ui/index.d.ts +0 -38
  1548. package/lib/typescript/module/ui/index.d.ts.map +0 -1
  1549. package/lib/typescript/module/ui/isFrontend.d.ts +0 -3
  1550. package/lib/typescript/module/ui/isFrontend.d.ts.map +0 -1
  1551. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +0 -54
  1552. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +0 -1
  1553. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +0 -34
  1554. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +0 -1
  1555. package/lib/typescript/module/ui/navigation/routes.d.ts +0 -20
  1556. package/lib/typescript/module/ui/navigation/routes.d.ts.map +0 -1
  1557. package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts +0 -16
  1558. package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts.map +0 -1
  1559. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +0 -75
  1560. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +0 -1
  1561. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +0 -194
  1562. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +0 -1
  1563. package/lib/typescript/module/ui/navigation/surfaces.d.ts +0 -110
  1564. package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +0 -1
  1565. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +0 -56
  1566. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +0 -1
  1567. package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts +0 -49
  1568. package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +0 -1
  1569. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +0 -50
  1570. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +0 -1
  1571. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +0 -83
  1572. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +0 -1
  1573. package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts +0 -67
  1574. package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +0 -1
  1575. package/lib/typescript/module/ui/oauth/types.d.ts +0 -176
  1576. package/lib/typescript/module/ui/oauth/types.d.ts.map +0 -1
  1577. package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts +0 -144
  1578. package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +0 -1
  1579. package/lib/typescript/module/ui/runtime/index.d.ts +0 -16
  1580. package/lib/typescript/module/ui/runtime/index.d.ts.map +0 -1
  1581. package/lib/typescript/module/ui/runtime/runtimeContext.d.ts +0 -43
  1582. package/lib/typescript/module/ui/runtime/runtimeContext.d.ts.map +0 -1
  1583. package/lib/typescript/module/ui/runtime/types.d.ts +0 -89
  1584. package/lib/typescript/module/ui/runtime/types.d.ts.map +0 -1
  1585. package/lib/typescript/module/ui/runtime/useRuntimeSnapshot.d.ts +0 -23
  1586. package/lib/typescript/module/ui/runtime/useRuntimeSnapshot.d.ts.map +0 -1
  1587. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts +0 -10
  1588. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +0 -1
  1589. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +0 -12
  1590. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
  1591. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +0 -5
  1592. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +0 -1
  1593. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +0 -5
  1594. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +0 -1
  1595. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +0 -58
  1596. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +0 -1
  1597. package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts +0 -38
  1598. package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +0 -1
  1599. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts +0 -5
  1600. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +0 -1
  1601. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts +0 -11
  1602. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +0 -1
  1603. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +0 -13
  1604. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +0 -1
  1605. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts +0 -14
  1606. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +0 -1
  1607. package/lib/typescript/module/ui/screens/FAQScreen.d.ts +0 -5
  1608. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +0 -1
  1609. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +0 -5
  1610. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +0 -1
  1611. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts +0 -5
  1612. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +0 -1
  1613. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +0 -12
  1614. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +0 -1
  1615. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +0 -12
  1616. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +0 -1
  1617. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +0 -5
  1618. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +0 -1
  1619. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +0 -5
  1620. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +0 -1
  1621. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +0 -7
  1622. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +0 -1
  1623. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -5
  1624. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +0 -1
  1625. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +0 -5
  1626. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +0 -1
  1627. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +0 -13
  1628. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +0 -1
  1629. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts +0 -5
  1630. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +0 -1
  1631. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +0 -15
  1632. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +0 -1
  1633. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts +0 -5
  1634. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +0 -1
  1635. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
  1636. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
  1637. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts +0 -5
  1638. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +0 -1
  1639. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +0 -9
  1640. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +0 -1
  1641. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +0 -5
  1642. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
  1643. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +0 -5
  1644. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +0 -1
  1645. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +0 -15
  1646. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +0 -1
  1647. package/lib/typescript/module/ui/screens/UserListScreen.d.ts +0 -18
  1648. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +0 -1
  1649. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +0 -14
  1650. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +0 -1
  1651. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +0 -23
  1652. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +0 -1
  1653. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +0 -40
  1654. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +0 -1
  1655. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +0 -43
  1656. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +0 -1
  1657. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +0 -25
  1658. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +0 -1
  1659. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +0 -51
  1660. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +0 -1
  1661. package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts +0 -37
  1662. package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +0 -1
  1663. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +0 -38
  1664. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +0 -1
  1665. package/lib/typescript/module/ui/screens/linkFormat.d.ts +0 -23
  1666. package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +0 -1
  1667. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts +0 -5
  1668. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +0 -1
  1669. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts +0 -5
  1670. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +0 -1
  1671. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts +0 -5
  1672. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +0 -1
  1673. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts +0 -5
  1674. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +0 -1
  1675. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts +0 -5
  1676. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +0 -1
  1677. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts +0 -5
  1678. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +0 -1
  1679. package/lib/typescript/module/ui/server.d.ts +0 -35
  1680. package/lib/typescript/module/ui/server.d.ts.map +0 -1
  1681. package/lib/typescript/module/ui/session/authStore.d.ts +0 -76
  1682. package/lib/typescript/module/ui/session/authStore.d.ts.map +0 -1
  1683. package/lib/typescript/module/ui/session/backgroundSession.d.ts +0 -42
  1684. package/lib/typescript/module/ui/session/backgroundSession.d.ts.map +0 -1
  1685. package/lib/typescript/module/ui/session/createSessionClient.d.ts +0 -40
  1686. package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +0 -1
  1687. package/lib/typescript/module/ui/session/identityBinding.d.ts +0 -66
  1688. package/lib/typescript/module/ui/session/identityBinding.d.ts.map +0 -1
  1689. package/lib/typescript/module/ui/session/index.d.ts +0 -20
  1690. package/lib/typescript/module/ui/session/index.d.ts.map +0 -1
  1691. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +0 -25
  1692. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +0 -1
  1693. package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts +0 -32
  1694. package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts.map +0 -1
  1695. package/lib/typescript/module/ui/session/tokenTransport.d.ts +0 -33
  1696. package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +0 -1
  1697. package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts +0 -23
  1698. package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts.map +0 -1
  1699. package/lib/typescript/module/ui/stores/assetStore.d.ts +0 -54
  1700. package/lib/typescript/module/ui/stores/assetStore.d.ts.map +0 -1
  1701. package/lib/typescript/module/ui/stores/authStore.d.ts +0 -61
  1702. package/lib/typescript/module/ui/stores/authStore.d.ts.map +0 -1
  1703. package/lib/typescript/module/ui/stores/followStore.d.ts +0 -30
  1704. package/lib/typescript/module/ui/stores/followStore.d.ts.map +0 -1
  1705. package/lib/typescript/module/ui/stores/followTargetStore.d.ts +0 -84
  1706. package/lib/typescript/module/ui/stores/followTargetStore.d.ts.map +0 -1
  1707. package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +0 -10
  1708. package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +0 -1
  1709. package/lib/typescript/module/ui/types/fileManagement.d.ts +0 -51
  1710. package/lib/typescript/module/ui/types/fileManagement.d.ts.map +0 -1
  1711. package/lib/typescript/module/ui/types/navigation.d.ts +0 -153
  1712. package/lib/typescript/module/ui/types/navigation.d.ts.map +0 -1
  1713. package/lib/typescript/module/ui/types/surfaceScreen.d.ts +0 -38
  1714. package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +0 -1
  1715. package/lib/typescript/module/ui/utils/avatarUtils.d.ts +0 -16
  1716. package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +0 -1
  1717. package/lib/typescript/module/ui/utils/colorUtils.d.ts +0 -10
  1718. package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +0 -1
  1719. package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts +0 -24
  1720. package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +0 -1
  1721. package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts +0 -33
  1722. package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts.map +0 -1
  1723. package/lib/typescript/module/ui/utils/deviceCredential.d.ts +0 -8
  1724. package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +0 -1
  1725. package/lib/typescript/module/ui/utils/errorHandlers.d.ts +0 -35
  1726. package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +0 -1
  1727. package/lib/typescript/module/ui/utils/fileManagement.d.ts +0 -55
  1728. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +0 -1
  1729. package/lib/typescript/module/ui/utils/iconNames.d.ts +0 -112
  1730. package/lib/typescript/module/ui/utils/iconNames.d.ts.map +0 -1
  1731. package/lib/typescript/module/ui/utils/isWebBrowser.d.ts +0 -9
  1732. package/lib/typescript/module/ui/utils/isWebBrowser.d.ts.map +0 -1
  1733. package/lib/typescript/module/ui/utils/netConnectivity.d.ts +0 -17
  1734. package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +0 -1
  1735. package/lib/typescript/module/ui/utils/oauthReturn.d.ts +0 -48
  1736. package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +0 -1
  1737. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +0 -48
  1738. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +0 -1
  1739. package/lib/typescript/module/ui/utils/storageHelpers.d.ts +0 -28
  1740. package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +0 -1
  1741. package/lib/typescript/module/ui/utils/userUtils.d.ts +0 -23
  1742. package/lib/typescript/module/ui/utils/userUtils.d.ts.map +0 -1
  1743. package/lib/typescript/module/utils/hookUtils.d.ts +0 -102
  1744. package/lib/typescript/module/utils/hookUtils.d.ts.map +0 -1
  1745. package/lib/typescript/module/webauthn/passkeyClient.d.ts +0 -20
  1746. package/lib/typescript/module/webauthn/passkeyClient.d.ts.map +0 -1
  1747. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts +0 -15
  1748. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts.map +0 -1
  1749. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts +0 -36
  1750. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts.map +0 -1
  1751. package/lib/typescript/nativewind-env.d.ts +0 -1
  1752. package/lib/typescript/types/expo-crypto.d.ts +0 -29
  1753. package/lib/typescript/types/expo-document-picker.d.ts +0 -36
  1754. package/lib/typescript/types/expo-haptics.d.ts +0 -42
  1755. package/lib/typescript/types/expo-image-picker.d.ts +0 -35
  1756. package/lib/typescript/types/expo-secure-store.d.ts +0 -22
  1757. package/lib/typescript/types/express.d.ts +0 -24
  1758. package/lib/typescript/types/react-native-classname.d.ts +0 -39
  1759. package/lib/typescript/types/react-native-web-style.d.ts +0 -27
@@ -1,324 +0,0 @@
1
- "use strict";
2
-
3
- import { useCallback, useMemo, useState } from 'react';
4
- import { useQuery, useQueryClient } from '@tanstack/react-query';
5
- import { useFollowStore } from "../stores/followStore.js";
6
- import { useOxy } from "../context/OxyContext.js";
7
- import { useShallow } from 'zustand/react/shallow';
8
- import { queryKeys } from "./queries/queryKeys.js";
9
- import { patchCachedUserRelationship } from "./queries/userCacheRelationship.js";
10
-
11
- /**
12
- * useFollow — Hook for follow state management.
13
- *
14
- * Performance fixes:
15
- * 1. Uses granular Zustand selectors instead of subscribing to the entire store.
16
- * The old `useFollowStore()` caused every component using this hook to re-render
17
- * on ANY store change (any user's follow status, loading state, error, or count).
18
- * 2. Callbacks depend on primitive values (userId, isFollowing) not object references,
19
- * so they remain stable across renders.
20
- * 3. Store action methods are accessed via getState() in callbacks to avoid
21
- * subscribing to the action functions themselves (they never change but including
22
- * them in selectors would cause unnecessary selector recalculations).
23
- */
24
- export const useFollow = userId => {
25
- const queryClient = useQueryClient();
26
- const {
27
- oxyServices,
28
- canUsePrivateApi
29
- } = useOxy();
30
- const userIds = useMemo(() => Array.isArray(userId) ? userId : userId ? [userId] : [], [userId]);
31
- const isSingleUser = typeof userId === 'string';
32
- // Narrowed single-user id for use in closures (callbacks/queryFn) where TS
33
- // can't carry the `isSingleUser` boolean back to a `string` narrowing.
34
- const singleUserId = typeof userId === 'string' ? userId : undefined;
35
-
36
- // Granular Zustand selectors — only re-render when THIS user's data changes
37
- const isFollowing = useFollowStore(useCallback(s => isSingleUser && userId ? s.followingUsers[userId] ?? false : false, [isSingleUser, userId]));
38
- const isLoading = useFollowStore(useCallback(s => isSingleUser && userId ? s.loadingUsers[userId] ?? false : false, [isSingleUser, userId]));
39
- const error = useFollowStore(useCallback(s => isSingleUser && userId ? s.errors[userId] ?? null : null, [isSingleUser, userId]));
40
- const followerCount = useFollowStore(useCallback(s => isSingleUser && userId ? s.followerCounts[userId] ?? null : null, [isSingleUser, userId]));
41
- const followingCount = useFollowStore(useCallback(s => isSingleUser && userId ? s.followingCounts[userId] ?? null : null, [isSingleUser, userId]));
42
- const isLoadingCounts = useFollowStore(useCallback(s => isSingleUser && userId ? s.loadingCounts[userId] ?? false : false, [isSingleUser, userId]));
43
-
44
- // For multi-user mode, subscribe to a FLAT snapshot of the per-user fields.
45
- // `useShallow` only compares one level deep, so the selector must NOT return a
46
- // nested object — a freshly allocated `{ isFollowing, isLoading, error }` per
47
- // user would never shallow-compare equal, making `useSyncExternalStore`
48
- // resubscribe every render and loop until React throws "Maximum update depth
49
- // exceeded". Keeping the snapshot flat lets the shallow compare cache it; the
50
- // nested `followData` shape is then assembled in a `useMemo` below.
51
- const followFlat = useFollowStore(useShallow(s => {
52
- if (isSingleUser) return {};
53
- const flat = {};
54
- for (const uid of userIds) {
55
- flat[`${uid}:isFollowing`] = s.followingUsers[uid] ?? false;
56
- flat[`${uid}:isLoading`] = s.loadingUsers[uid] ?? false;
57
- flat[`${uid}:error`] = s.errors[uid] ?? null;
58
- }
59
- return flat;
60
- }));
61
- const followData = useMemo(() => {
62
- const data = {};
63
- if (isSingleUser) return data;
64
- for (const uid of userIds) {
65
- data[uid] = {
66
- isFollowing: Boolean(followFlat[`${uid}:isFollowing`]),
67
- isLoading: Boolean(followFlat[`${uid}:isLoading`]),
68
- error: followFlat[`${uid}:error`] ?? null
69
- };
70
- }
71
- return data;
72
- }, [isSingleUser, userIds, followFlat]);
73
-
74
- // Multi-user aggregate selectors
75
- const multiUserLoadingState = useFollowStore(useShallow(s => {
76
- if (isSingleUser) return {
77
- isAnyLoading: false,
78
- hasAnyError: false,
79
- allFollowing: true,
80
- allNotFollowing: true
81
- };
82
- return {
83
- isAnyLoading: userIds.some(uid => s.loadingUsers[uid]),
84
- hasAnyError: userIds.some(uid => !!s.errors[uid]),
85
- allFollowing: userIds.every(uid => s.followingUsers[uid]),
86
- allNotFollowing: userIds.every(uid => !s.followingUsers[uid])
87
- };
88
- }));
89
-
90
- // Stable callbacks that depend on primitives, not object references.
91
- // Store actions are accessed via getState() to avoid subscribing to them.
92
- const toggleFollow = useCallback(async () => {
93
- if (!isSingleUser || !userId) throw new Error('toggleFollow is only available for single user mode');
94
- if (!canUsePrivateApi) throw new Error('Authentication is required to follow users');
95
- const currentlyFollowing = useFollowStore.getState().followingUsers[userId] ?? false;
96
- const accepted = await useFollowStore.getState().toggleFollowUser(userId, oxyServices, currentlyFollowing);
97
- if (accepted) patchCachedUserRelationship(queryClient, userId, !currentlyFollowing);
98
- }, [isSingleUser, userId, canUsePrivateApi, oxyServices, queryClient]);
99
- const setFollowStatus = useCallback(following => {
100
- if (!isSingleUser || !userId) throw new Error('setFollowStatus is only available for single user mode');
101
- useFollowStore.getState().setFollowingStatus(userId, following);
102
- }, [isSingleUser, userId]);
103
- const fetchStatus = useCallback(async () => {
104
- if (!isSingleUser || !userId) throw new Error('fetchStatus is only available for single user mode');
105
- if (!canUsePrivateApi) return;
106
- useFollowStore.getState().resolveFollowStatuses([userId], oxyServices);
107
- }, [isSingleUser, userId, canUsePrivateApi, oxyServices]);
108
- const clearError = useCallback(() => {
109
- if (!isSingleUser || !userId) throw new Error('clearError is only available for single user mode');
110
- useFollowStore.getState().clearFollowError(userId);
111
- }, [isSingleUser, userId]);
112
- const fetchUserCounts = useCallback(async () => {
113
- if (!isSingleUser || !userId) throw new Error('fetchUserCounts is only available for single user mode');
114
- await useFollowStore.getState().fetchUserCounts(userId, oxyServices);
115
- }, [isSingleUser, userId, oxyServices]);
116
- const setFollowerCount = useCallback(count => {
117
- if (!isSingleUser || !userId) throw new Error('setFollowerCount is only available for single user mode');
118
- useFollowStore.getState().setFollowerCount(userId, count);
119
- }, [isSingleUser, userId]);
120
- const setFollowingCount = useCallback(count => {
121
- if (!isSingleUser || !userId) throw new Error('setFollowingCount is only available for single user mode');
122
- useFollowStore.getState().setFollowingCount(userId, count);
123
- }, [isSingleUser, userId]);
124
-
125
- // Auto-fetch counts for single-user mode via React Query instead of a manual
126
- // useEffect. The Zustand store remains the canonical home for count values
127
- // (it is also written by toggleFollowUser / updateCountsFromFollowAction), so
128
- // components keep reading `followerCount` / `followingCount` through the
129
- // granular selectors above — this query only owns the FETCH lifecycle
130
- // (dedup, caching, retry/backoff). It stays disabled until the counts are
131
- // actually missing, reproducing the old effect's `(followerCount === null ||
132
- // followingCount === null)` gate without a render-phase side effect. The
133
- // store action does the network call and writes the counts; the query simply
134
- // surfaces the resolved pair as its cached data.
135
- useQuery({
136
- queryKey: singleUserId ? queryKeys.follow.counts(singleUserId) : queryKeys.follow.all,
137
- queryFn: async () => {
138
- if (!singleUserId) return null;
139
- await useFollowStore.getState().fetchUserCounts(singleUserId, oxyServices);
140
- const state = useFollowStore.getState();
141
- return {
142
- followers: state.followerCounts[singleUserId] ?? null,
143
- following: state.followingCounts[singleUserId] ?? null
144
- };
145
- },
146
- enabled: !!singleUserId && (followerCount === null || followingCount === null)
147
- });
148
-
149
- // Multi-user callbacks
150
- const toggleFollowForUser = useCallback(async targetUserId => {
151
- if (!canUsePrivateApi) throw new Error('Authentication is required to follow users');
152
- const currentState = useFollowStore.getState().followingUsers[targetUserId] ?? false;
153
- const accepted = await useFollowStore.getState().toggleFollowUser(targetUserId, oxyServices, currentState);
154
- if (accepted) patchCachedUserRelationship(queryClient, targetUserId, !currentState);
155
- }, [canUsePrivateApi, oxyServices, queryClient]);
156
- const setFollowStatusForUser = useCallback((targetUserId, following) => {
157
- useFollowStore.getState().setFollowingStatus(targetUserId, following);
158
- }, []);
159
- const fetchStatusForUser = useCallback(async targetUserId => {
160
- if (!canUsePrivateApi) return;
161
- useFollowStore.getState().resolveFollowStatuses([targetUserId], oxyServices);
162
- }, [canUsePrivateApi, oxyServices]);
163
-
164
- // Resolve EVERY member's status in ONE micro-batched bulk call (never N
165
- // single requests). Ids already known/seeded are skipped by the resolver.
166
- const fetchAllStatuses = useCallback(async () => {
167
- if (!canUsePrivateApi) return;
168
- useFollowStore.getState().resolveFollowStatuses(userIds, oxyServices);
169
- }, [canUsePrivateApi, userIds, oxyServices]);
170
-
171
- // Bulk follow — follows ALL users in ONE network call (never unfollows).
172
- const followAllUsers = useCallback(async () => {
173
- if (!canUsePrivateApi) throw new Error('Authentication is required to follow users');
174
- return useFollowStore.getState().followManyUsers(userIds, oxyServices);
175
- }, [canUsePrivateApi, userIds, oxyServices]);
176
-
177
- // Bulk unfollow — unfollows ALL users in ONE network call (idempotent; never follows).
178
- const unfollowAllUsers = useCallback(async () => {
179
- if (!canUsePrivateApi) throw new Error('Authentication is required to unfollow users');
180
- return useFollowStore.getState().unfollowManyUsers(userIds, oxyServices);
181
- }, [canUsePrivateApi, userIds, oxyServices]);
182
- const clearErrorForUser = useCallback(targetUserId => {
183
- useFollowStore.getState().clearFollowError(targetUserId);
184
- }, []);
185
- const updateCountsFromFollowAction = useCallback((targetUserId, action, counts) => {
186
- const currentUserId = oxyServices.getCurrentUserId() || undefined;
187
- useFollowStore.getState().updateCountsFromFollowAction(targetUserId, action, counts, currentUserId);
188
- }, [oxyServices]);
189
- if (isSingleUser && userId) {
190
- return {
191
- isFollowing,
192
- isLoading,
193
- error,
194
- toggleFollow,
195
- setFollowStatus,
196
- fetchStatus,
197
- clearError,
198
- followerCount,
199
- followingCount,
200
- isLoadingCounts,
201
- fetchUserCounts,
202
- setFollowerCount,
203
- setFollowingCount
204
- };
205
- }
206
- return {
207
- followData,
208
- toggleFollowForUser,
209
- setFollowStatusForUser,
210
- fetchStatusForUser,
211
- fetchAllStatuses,
212
- followAllUsers,
213
- unfollowAllUsers,
214
- clearErrorForUser,
215
- isAnyLoading: multiUserLoadingState.isAnyLoading,
216
- hasAnyError: multiUserLoadingState.hasAnyError,
217
- allFollowing: multiUserLoadingState.allFollowing,
218
- allNotFollowing: multiUserLoadingState.allNotFollowing
219
- };
220
- };
221
-
222
- /**
223
- * useFollowForButton — Lightweight follow hook for FollowButton in list contexts.
224
- *
225
- * Unlike useFollow, this hook:
226
- * - Accepts oxyServices directly (no useOxy() context subscription)
227
- * - Only subscribes to the specific user's follow and loading state
228
- * - Returns only what FollowButton needs (no counts, no multi-user)
229
- */
230
- export const useFollowForButton = (userId, oxyServices, initiallyFollowing) => {
231
- // Seed the store synchronously on the FIRST render (before paint) when the
232
- // caller provided a definite `initiallyFollowing` and the store has no entry
233
- // yet. This makes the first paint show the correct label (no post-mount
234
- // "Follow → Following" correction) and marks the id KNOWN so the batched
235
- // resolver skips it. An OMITTED `initiallyFollowing` leaves the id UNKNOWN,
236
- // so the batched resolver fetches its real status. The useState lazy
237
- // initializer runs exactly once per mount; `setFollowStatuses` is
238
- // seed-only-if-absent, so it never clobbers a live value.
239
- useState(() => {
240
- if (initiallyFollowing === undefined) return null;
241
- const store = useFollowStore.getState();
242
- if (!Object.prototype.hasOwnProperty.call(store.followingUsers, userId)) {
243
- store.setFollowStatuses({
244
- [userId]: initiallyFollowing
245
- });
246
- }
247
- return null;
248
- });
249
- const isFollowing = useFollowStore(useCallback(s => s.followingUsers[userId] ?? false, [userId]));
250
- // Tri-state: a present key (seeded or fetched) is a DEFINITE status; a missing
251
- // key is UNKNOWN. The button renders a neutral/disabled state while unknown.
252
- const isKnown = useFollowStore(useCallback(s => Object.prototype.hasOwnProperty.call(s.followingUsers, userId), [userId]));
253
- const isLoading = useFollowStore(useCallback(s => s.loadingUsers[userId] ?? false, [userId]));
254
- const error = useFollowStore(useCallback(s => s.errors[userId] ?? null, [userId]));
255
- const toggleFollow = useCallback(async () => {
256
- const currentlyFollowing = useFollowStore.getState().followingUsers[userId] ?? false;
257
- return useFollowStore.getState().toggleFollowUser(userId, oxyServices, currentlyFollowing);
258
- }, [userId, oxyServices]);
259
-
260
- // Enqueue this id into the micro-batched resolver — every button that enqueues
261
- // in the same tick coalesces into ONE bulk `getFollowStatuses` call. Known /
262
- // seeded / in-flight ids are skipped by the resolver, so this is a no-op for
263
- // them.
264
- const resolveStatus = useCallback(() => {
265
- useFollowStore.getState().resolveFollowStatuses([userId], oxyServices);
266
- }, [userId, oxyServices]);
267
- const setFollowStatus = useCallback(following => {
268
- useFollowStore.getState().setFollowingStatus(userId, following);
269
- }, [userId]);
270
- const clearError = useCallback(() => {
271
- useFollowStore.getState().clearFollowError(userId);
272
- }, [userId]);
273
- return {
274
- isFollowing,
275
- isKnown,
276
- isLoading,
277
- error,
278
- toggleFollow,
279
- resolveStatus,
280
- setFollowStatus,
281
- clearError
282
- };
283
- };
284
-
285
- /**
286
- * useSeedFollowStatuses — returns a stable callback that bulk-seeds follow
287
- * statuses into the store (seed-only-if-absent; never clobbers a live value).
288
- *
289
- * Wire this at the app root to seed from `oxyServices.getViewerGraph()
290
- * .followingIds` (map each followed id → `true`) so a page of `FollowButton`s
291
- * paints the correct label on first render with ZERO follow-status network
292
- * calls — the batched resolver then skips every seeded id.
293
- */
294
- export const useSeedFollowStatuses = () => useCallback(statuses => {
295
- useFollowStore.getState().setFollowStatuses(statuses);
296
- }, []);
297
-
298
- // Convenience hook for just follower counts
299
- export const useFollowerCounts = userId => {
300
- const {
301
- oxyServices
302
- } = useOxy();
303
- const followerCount = useFollowStore(useCallback(s => s.followerCounts[userId] ?? null, [userId]));
304
- const followingCount = useFollowStore(useCallback(s => s.followingCounts[userId] ?? null, [userId]));
305
- const isLoadingCounts = useFollowStore(useCallback(s => s.loadingCounts[userId] ?? false, [userId]));
306
- const fetchUserCounts = useCallback(async () => {
307
- await useFollowStore.getState().fetchUserCounts(userId, oxyServices);
308
- }, [userId, oxyServices]);
309
- const setFollowerCount = useCallback(count => {
310
- useFollowStore.getState().setFollowerCount(userId, count);
311
- }, [userId]);
312
- const setFollowingCount = useCallback(count => {
313
- useFollowStore.getState().setFollowingCount(userId, count);
314
- }, [userId]);
315
- return {
316
- followerCount,
317
- followingCount,
318
- isLoadingCounts,
319
- fetchUserCounts,
320
- setFollowerCount,
321
- setFollowingCount
322
- };
323
- };
324
- //# sourceMappingURL=useFollow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useCallback","useMemo","useState","useQuery","useQueryClient","useFollowStore","useOxy","useShallow","queryKeys","patchCachedUserRelationship","useFollow","userId","queryClient","oxyServices","canUsePrivateApi","userIds","Array","isArray","isSingleUser","singleUserId","undefined","isFollowing","s","followingUsers","isLoading","loadingUsers","error","errors","followerCount","followerCounts","followingCount","followingCounts","isLoadingCounts","loadingCounts","followFlat","flat","uid","followData","data","Boolean","multiUserLoadingState","isAnyLoading","hasAnyError","allFollowing","allNotFollowing","some","every","toggleFollow","Error","currentlyFollowing","getState","accepted","toggleFollowUser","setFollowStatus","following","setFollowingStatus","fetchStatus","resolveFollowStatuses","clearError","clearFollowError","fetchUserCounts","setFollowerCount","count","setFollowingCount","queryKey","follow","counts","all","queryFn","state","followers","enabled","toggleFollowForUser","targetUserId","currentState","setFollowStatusForUser","fetchStatusForUser","fetchAllStatuses","followAllUsers","followManyUsers","unfollowAllUsers","unfollowManyUsers","clearErrorForUser","updateCountsFromFollowAction","action","currentUserId","getCurrentUserId","useFollowForButton","initiallyFollowing","store","Object","prototype","hasOwnProperty","call","setFollowStatuses","isKnown","resolveStatus","useSeedFollowStatuses","statuses","useFollowerCounts"],"sourceRoot":"../../../../src","sources":["ui/hooks/useFollow.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACtD,SAASC,QAAQ,EAAEC,cAAc,QAAQ,uBAAuB;AAChE,SAASC,cAAc,QAAQ,0BAAuB;AACtD,SAASC,MAAM,QAAQ,0BAAuB;AAE9C,SAASC,UAAU,QAAQ,uBAAuB;AAClD,SAASC,SAAS,QAAQ,wBAAqB;AAC/C,SAASC,2BAA2B,QAAQ,oCAAiC;;AAE7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,SAAS,GAAIC,MAA0B,IAAK;EACvD,MAAMC,WAAW,GAAGR,cAAc,CAAC,CAAC;EACpC,MAAM;IAAES,WAAW;IAAEC;EAAiB,CAAC,GAAGR,MAAM,CAAC,CAAC;EAClD,MAAMS,OAAO,GAAGd,OAAO,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AC,CAChE,CAAC;EACD,MAAMqB,eAAe,GAAG3B,cAAc,CACpCL,WAAW,CAAEsB,CAAC,IAAKA,CAAC,CAACW,aAAa,CAACtB,MAAM,CAAC,IAAI,KAAK,EAAE,CAACA,MAAM,CAAC,CAC/D,CAAC;EAED,MAAMiD,eAAe,GAAG5D,WAAW,CAAC,YAAY;IAC9C,MAAMK,cAAc,CAAC6C,QAAQ,CAAC,CAAC,CAACU,eAAe,CAACjD,MAAM,EAAEE,WAAW,CAAC;EACtE,CAAC,EAAE,CAACF,MAAM,EAAEE,WAAW,CAAC,CAAC;EAEzB,MAAMgD,gBAAgB,GAAG7D,WAAW,CAAE8D,KAAa,IAAK;IACtDzD,cAAc,CAAC6C,QAAQ,CAAC,CAAC,CAACW,gBAAgB,CAAClD,MAAM,EAAEmD,KAAK,CAAC;EAC3D,CAAC,EAAE,CAACnD,MAAM,CAAC,CAAC;EAEZ,MAAMoD,iBAAiB,GAAG/D,WAAW,CAAE8D,KAAa,IAAK;IACvDzD,cAAc,CAAC6C,QAAQ,CAAC,CAAC,CAACa,iBAAiB,CAACpD,MAAM,EAAEmD,KAAK,CAAC;EAC5D,CAAC,EAAE,CAACnD,MAAM,CAAC,CAAC;EAEZ,OAAO;IACLiB,aAAa;IACbE,cAAc;IACdE,eAAe;IACf4B,eAAe;IACfC,gBAAgB;IAChBE;EACF,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export {};
4
- //# sourceMappingURL=useFollow.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["ui/hooks/useFollow.types.ts"],"mappings":"","ignoreList":[]}
@@ -1,156 +0,0 @@
1
- "use strict";
2
-
3
- /**
4
- * `useFollowTarget` — the one hook every application uses to follow anything.
5
- *
6
- * Wraps the `/v2/follows` SDK methods with the store above, an optimistic
7
- * update, and a rollback. Nothing in here knows what kind of thing it is
8
- * following, which is the property that lets an application the SDK has never
9
- * heard of use it without a release of this package.
10
- *
11
- * ## Optimism, and its one limit
12
- *
13
- * A follow flips the button immediately and rolls back if the server refuses,
14
- * because the round trip is long enough to feel like a bug otherwise. But an
15
- * optimistic follow has no relationship id until the server answers, and every
16
- * other operation addresses the relationship — so those stay disabled for the
17
- * width of one request rather than being sent with a guessed id.
18
- */
19
-
20
- import { useCallback, useEffect } from 'react';
21
- import { useOxy } from "../context/OxyContext.js";
22
- import { isCompleteFollowStatus, isFollowedGlobally, UNKNOWN_FOLLOW_STATUS, useFollowTargetStore, withApplicationMode } from "../stores/followTargetStore.js";
23
- export function useFollowTarget(targetId, options) {
24
- const {
25
- oxyServices,
26
- canUsePrivateApi
27
- } = useOxy();
28
- const status = useFollowTargetStore(useCallback(s => targetId ? s.statuses[targetId] : undefined, [targetId]));
29
- const isPending = useFollowTargetStore(useCallback(s => targetId ? s.pending[targetId] ?? false : false, [targetId]));
30
- const error = useFollowTargetStore(useCallback(s => targetId ? s.errors[targetId] : undefined, [targetId]));
31
- const initialStatus = options?.initialStatus;
32
-
33
- // A caller that already knows the status — a follow list, a feed payload —
34
- // seeds it rather than making this hook re-ask once per rendered row.
35
- useEffect(() => {
36
- if (!targetId || !initialStatus) return;
37
- const store = useFollowTargetStore.getState();
38
- if (!store.statuses[targetId]) store.setStatus(targetId, initialStatus);
39
- }, [targetId, initialStatus]);
40
- const refresh = useCallback(async () => {
41
- // Gated on `canUsePrivateApi`, not on `isAuthenticated`: during the session
42
- // cold boot the second is true well before the first, and a read sent in
43
- // that window 401s and would leave the button stuck reporting an error the
44
- // user cannot act on.
45
- if (!targetId || !canUsePrivateApi) return;
46
- try {
47
- const next = await oxyServices.getFollowTargetStatus(targetId);
48
- useFollowTargetStore.getState().setStatus(targetId, next);
49
- useFollowTargetStore.getState().setError(targetId, undefined);
50
- } catch (e) {
51
- const store = useFollowTargetStore.getState();
52
- const message = e instanceof Error ? e.message : 'Could not read follow status';
53
- // Leave `isUnknown` false so the button stays interactive and can retry.
54
- // A failed read is not the same as "never asked" — disabling forever would
55
- // strand the user with no affordance when the network blips.
56
- if (!store.statuses[targetId]) {
57
- store.setStatus(targetId, UNKNOWN_FOLLOW_STATUS);
58
- }
59
- store.setError(targetId, message);
60
- }
61
- }, [targetId, canUsePrivateApi, oxyServices]);
62
- useEffect(() => {
63
- if (!targetId || !canUsePrivateApi) return;
64
- const existing = useFollowTargetStore.getState().statuses[targetId];
65
- if (existing && isCompleteFollowStatus(existing)) return;
66
- void refresh();
67
- }, [targetId, canUsePrivateApi, refresh]);
68
-
69
- /**
70
- * Run a mutation optimistically: show `optimistic` at once, keep the previous
71
- * value, and put it back if the server refuses. Every mutation below goes
72
- * through this so the rollback cannot be forgotten in one of them.
73
- */
74
- const mutate = useCallback(async (optimistic, run, failureMessage) => {
75
- if (!targetId) return false;
76
- const store = useFollowTargetStore.getState();
77
- const previous = store.statuses[targetId];
78
- store.setStatus(targetId, optimistic);
79
- store.setPending(targetId, true);
80
- store.setError(targetId, undefined);
81
- try {
82
- const settled = await run();
83
- if (settled) useFollowTargetStore.getState().setStatus(targetId, settled);
84
- return true;
85
- } catch (e) {
86
- const s = useFollowTargetStore.getState();
87
- // Back to what was true, not to a guess. Clearing the entry instead
88
- // would make the next render ask again and flash the wrong state.
89
- if (previous) s.setStatus(targetId, previous);
90
- s.setError(targetId, e instanceof Error ? e.message : failureMessage);
91
- return false;
92
- } finally {
93
- useFollowTargetStore.getState().setPending(targetId, false);
94
- }
95
- }, [targetId]);
96
- const current = status ?? UNKNOWN_FOLLOW_STATUS;
97
- const follow = useCallback(async opts => {
98
- if (!targetId) return false;
99
- return mutate({
100
- ...withApplicationMode({
101
- ...current,
102
- globalState: 'active'
103
- }, current.applicationMode),
104
- ...(opts?.expiresIn ? {
105
- expiresAt: new Date(Date.now() + opts.expiresIn * 1000).toISOString()
106
- } : {})
107
- },
108
- // The server returns the whole resulting status, so store it rather
109
- // than reconstructing one: `effectiveState`'s derivation lives there,
110
- // and a client recomputing it is a second implementation of one rule.
111
- async () => (await oxyServices.followTarget(targetId, opts)).status, 'Could not follow');
112
- }, [targetId, current, mutate, oxyServices]);
113
- const unfollow = useCallback(async () => {
114
- const relationshipId = current.relationshipId;
115
- if (!targetId || !relationshipId) return false;
116
- return mutate({
117
- ...UNKNOWN_FOLLOW_STATUS
118
- }, async () => {
119
- await oxyServices.unfollowTarget(relationshipId);
120
- return {
121
- ...UNKNOWN_FOLLOW_STATUS
122
- };
123
- }, 'Could not unfollow');
124
- }, [targetId, current.relationshipId, mutate, oxyServices]);
125
- const disableHere = useCallback(async () => {
126
- const relationshipId = current.relationshipId;
127
- if (!targetId || !relationshipId) return false;
128
- const optimistic = withApplicationMode(current, 'disabled');
129
- return mutate(optimistic, async () => {
130
- await oxyServices.setFollowApplicationMode(relationshipId, 'disabled');
131
- return optimistic;
132
- }, 'Could not change this app’s setting for this follow');
133
- }, [targetId, current, mutate, oxyServices]);
134
- const enableHere = useCallback(async () => {
135
- const relationshipId = current.relationshipId;
136
- if (!targetId || !relationshipId) return false;
137
- const optimistic = withApplicationMode(current, 'inherit');
138
- return mutate(optimistic, async () => {
139
- await oxyServices.restoreFollowInheritance(relationshipId);
140
- return optimistic;
141
- }, 'Could not change this app’s setting for this follow');
142
- }, [targetId, current, mutate, oxyServices]);
143
- return {
144
- status: current,
145
- isFollowing: isFollowedGlobally(current),
146
- isUnknown: status === undefined,
147
- isPending,
148
- error,
149
- follow,
150
- unfollow,
151
- disableHere,
152
- enableHere,
153
- refresh
154
- };
155
- }
156
- //# sourceMappingURL=useFollowTarget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useCallback","useEffect","useOxy","isCompleteFollowStatus","isFollowedGlobally","UNKNOWN_FOLLOW_STATUS","useFollowTargetStore","withApplicationMode","useFollowTarget","targetId","options","oxyServices","canUsePrivateApi","status","s","statuses","undefined","isPending","pending","error","errors","initialStatus","store","getState","setStatus","refresh","next","getFollowTargetStatus","setError","e","message","Error","existing","mutate","optimistic","run","failureMessage","previous","setPending","settled","current","follow","opts","globalState","applicationMode","expiresIn","expiresAt","Date","now","toISOString","followTarget","unfollow","relationshipId","unfollowTarget","disableHere","setFollowApplicationMode","enableHere","restoreFollowInheritance","isFollowing","isUnknown"],"sourceRoot":"../../../../src","sources":["ui/hooks/useFollowTarget.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,EAAEC,SAAS,QAAQ,OAAO;AAE9C,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,SACEC,sBAAsB,EACtBC,kBAAkB,EAClBC,qBAAqB,EACrBC,oBAAoB,EACpBC,mBAAmB,QACd,gCAA6B;AA8BpC,OAAO,SAASC,eAAeA,CAC7BC,QAA4B,EAC5BC,OAA0C,EACnB;EACvB,MAAM;IAAEC,WAAW;IAAEC;EAAiB,CAAC,GAAGV,MAAM,CAAC,CAAC;EAElD,MAAMW,MAAM,GAAGP,oBAAoB,CACjCN,WAAW,CAAEc,CAAC,IAAML,QAAQ,GAAGK,CAAC,CAACC,QAAQ,CAACN,QAAQ,CAAC,GAAGO,SAAU,EAAE,CAACP,QAAQ,CAAC,CAC9E,CAAC;EACD,MAAMQ,SAAS,GAAGX,oBAAoB,CACpCN,WAAW,CAAEc,CAAC,IAAML,QAAQ,GAAIK,CAAC,CAACI,OAAO,CAACT,QAAQ,CAAC,IAAI,KAAK,GAAI,KAAM,EAAE,CAACA,QAAQ,CAAC,CACpF,CAAC;EACD,MAAMU,KAAK,GAAGb,oBAAoB,CAChCN,WAAW,CAAEc,CAAC,IAAML,QAAQ,GAAGK,CAAC,CAACM,MAAM,CAACX,QAAQ,CAAC,GAAGO,SAAU,EAAE,CAACP,QAAQ,CAAC,CAC5E,CAAC;EAED,MAAMY,aAAa,GAAGX,OAAO,EAAEW,aAAa;;EAE5C;EACA;EACApB,SAAS,CAAC,MAAM;IACd,IAAI,CAACQ,QAAQ,IAAI,CAACY,aAAa,EAAE;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 +0,0 @@
1
- "use strict";
2
-
3
- import { useMemo } from 'react';
4
- import { useOptionalOxy } from "../context/OxyContext.js";
5
- import { translate } from '@oxyhq/core';
6
-
7
- /**
8
- * The locale `@oxyhq/core`'s translator falls back to. Mirrors its own
9
- * `FALLBACK`, so a surface rendered without a provider reads the same strings
10
- * an unrecognised locale would.
11
- */
12
- const FALLBACK_LOCALE = 'en-US';
13
-
14
- /**
15
- * Display copy for SDK surfaces.
16
- *
17
- * This is the ONE hook that reads the runtime optionally. The locale is display
18
- * metadata, not session state — ADR 0004 lists it among the things that come off
19
- * the central value entirely — and purely presentational surfaces
20
- * (`OxyConsentScreen`, `OxySignInRequestSurface`) are rendered outside a
21
- * provider on purpose: `packages/auth`'s production-bundle probe builds the real
22
- * Vite bundle and renders the surface standalone to prove every element beneath
23
- * it links. Throwing there would report a linkage failure that is not one.
24
- *
25
- * Anything that reads or mutates session state uses `useOxy()`, which throws.
26
- */
27
- export function useI18n() {
28
- const oxy = useOptionalOxy();
29
- const currentLanguage = oxy?.currentLanguage ?? FALLBACK_LOCALE;
30
- const t = useMemo(() => {
31
- return (key, vars) => translate(currentLanguage, key, vars);
32
- }, [currentLanguage]);
33
- return {
34
- t,
35
- locale: currentLanguage
36
- };
37
- }
38
- //# sourceMappingURL=useI18n.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useMemo","useOptionalOxy","translate","FALLBACK_LOCALE","useI18n","oxy","currentLanguage","t","key","vars","locale"],"sourceRoot":"../../../../src","sources":["ui/hooks/useI18n.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,cAAc,QAAQ,0BAAuB;AACtD,SAASC,SAAS,QAAQ,aAAa;;AAEvC;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,GAAG,OAAO;;AAE/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAAA,EAAG;EACxB,MAAMC,GAAG,GAAGJ,cAAc,CAAC,CAAC;EAC5B,MAAMK,eAAe,GAAGD,GAAG,EAAEC,eAAe,IAAIH,eAAe;EAC/D,MAAMI,CAAC,GAAGP,OAAO,CAAC,MAAM;IACtB,OAAO,CAACQ,GAAW,EAAEC,IAAsC,KAAKP,SAAS,CAACI,eAAe,EAAEE,GAAG,EAAEC,IAAI,CAAC;EACvG,CAAC,EAAE,CAACH,eAAe,CAAC,CAAC;EACrB,OAAO;IAAEC,CAAC;IAAEG,MAAM,EAAEJ;EAAgB,CAAC;AACvC","ignoreList":[]}