@oxyhq/services 30.0.0 → 30.0.1

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 (1742) hide show
  1. package/lib/commonjs/assets/OxyLogo.svg +1 -0
  2. package/lib/commonjs/assets/assets/OxyLogo.svg +1 -0
  3. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +60 -0
  4. package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
  5. package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +39 -0
  6. package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
  7. package/lib/commonjs/assets/icons/OxyServices.js +51 -0
  8. package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
  9. package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
  10. package/lib/commonjs/assets/illustrations/HighFive.js +58 -0
  11. package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -0
  12. package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +1 -0
  13. package/lib/commonjs/index.js +1038 -0
  14. package/lib/commonjs/index.js.map +1 -0
  15. package/lib/commonjs/notifications/deviceNotifications.js +443 -0
  16. package/lib/commonjs/notifications/deviceNotifications.js.map +1 -0
  17. package/lib/commonjs/package.json +1 -0
  18. package/lib/commonjs/ui/boot/runProviderColdBoot.js +205 -0
  19. package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -0
  20. package/lib/commonjs/ui/client.js +142 -0
  21. package/lib/commonjs/ui/client.js.map +1 -0
  22. package/lib/commonjs/ui/components/AvatarCameraBadge.js +43 -0
  23. package/lib/commonjs/ui/components/AvatarCameraBadge.js.map +1 -0
  24. package/lib/commonjs/ui/components/FollowButton.js +255 -0
  25. package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
  26. package/lib/commonjs/ui/components/FollowTargetButton.js +351 -0
  27. package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -0
  28. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +178 -0
  29. package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -0
  30. package/lib/commonjs/ui/components/OxyAuthChooser.js +493 -0
  31. package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -0
  32. package/lib/commonjs/ui/components/OxyAuthPrompt.js +124 -0
  33. package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -0
  34. package/lib/commonjs/ui/components/OxyConsentScreen.js +502 -0
  35. package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -0
  36. package/lib/commonjs/ui/components/OxyOAuthCallback.js +44 -0
  37. package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -0
  38. package/lib/commonjs/ui/components/OxyPayButton.js +66 -0
  39. package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -0
  40. package/lib/commonjs/ui/components/OxyProvider.js +314 -0
  41. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
  42. package/lib/commonjs/ui/components/OxySignInButton.js +321 -0
  43. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -0
  44. package/lib/commonjs/ui/components/OxySignInRequestSurface.js +147 -0
  45. package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -0
  46. package/lib/commonjs/ui/components/ProfileButton.js +342 -0
  47. package/lib/commonjs/ui/components/ProfileButton.js.map +1 -0
  48. package/lib/commonjs/ui/components/ProfileSummaryCard.js +79 -0
  49. package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -0
  50. package/lib/commonjs/ui/components/RequireOxyAuth.js +296 -0
  51. package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -0
  52. package/lib/commonjs/ui/components/SettingsIcon.js +45 -0
  53. package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -0
  54. package/lib/commonjs/ui/components/SurfaceHeaderAction.js +63 -0
  55. package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -0
  56. package/lib/commonjs/ui/components/SurfaceScreen.js +257 -0
  57. package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -0
  58. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +667 -0
  59. package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -0
  60. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +108 -0
  61. package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +1 -0
  62. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js +106 -0
  63. package/lib/commonjs/ui/components/authChooser/SignInRequestView.js.map +1 -0
  64. package/lib/commonjs/ui/components/authChooser/SignUpView.js +188 -0
  65. package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +1 -0
  66. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js +77 -0
  67. package/lib/commonjs/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
  68. package/lib/commonjs/ui/components/authChooser/primitives.js +183 -0
  69. package/lib/commonjs/ui/components/authChooser/primitives.js.map +1 -0
  70. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +161 -0
  71. package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -0
  72. package/lib/commonjs/ui/components/authChooser/signInProgress.js +59 -0
  73. package/lib/commonjs/ui/components/authChooser/signInProgress.js.map +1 -0
  74. package/lib/commonjs/ui/components/authChooser/styles.js +219 -0
  75. package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -0
  76. package/lib/commonjs/ui/components/authChooser/types.js +81 -0
  77. package/lib/commonjs/ui/components/authChooser/types.js.map +1 -0
  78. package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js +50 -0
  79. package/lib/commonjs/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
  80. package/lib/commonjs/ui/components/feedback/constants.js +59 -0
  81. package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
  82. package/lib/commonjs/ui/components/feedback/types.js +6 -0
  83. package/lib/commonjs/ui/components/feedback/types.js.map +1 -0
  84. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +52 -0
  85. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -0
  86. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +61 -0
  87. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -0
  88. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +125 -0
  89. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
  90. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +431 -0
  91. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -0
  92. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +172 -0
  93. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -0
  94. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +64 -0
  95. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -0
  96. package/lib/commonjs/ui/components/internal/PinInput.js +118 -0
  97. package/lib/commonjs/ui/components/internal/PinInput.js.map +1 -0
  98. package/lib/commonjs/ui/components/logo/LogoIcon.js +61 -0
  99. package/lib/commonjs/ui/components/logo/LogoIcon.js.map +1 -0
  100. package/lib/commonjs/ui/components/logo/LogoText.js +48 -0
  101. package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -0
  102. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +133 -0
  103. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -0
  104. package/lib/commonjs/ui/components/oauthNavigation.js +83 -0
  105. package/lib/commonjs/ui/components/oauthNavigation.js.map +1 -0
  106. package/lib/commonjs/ui/components/passkeyHubPopup.js +33 -0
  107. package/lib/commonjs/ui/components/passkeyHubPopup.js.map +1 -0
  108. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +327 -0
  109. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -0
  110. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +105 -0
  111. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -0
  112. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +149 -0
  113. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
  114. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +84 -0
  115. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  116. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +195 -0
  117. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  118. package/lib/commonjs/ui/components/payment/constants.js +53 -0
  119. package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
  120. package/lib/commonjs/ui/components/payment/paymentStyles.js +401 -0
  121. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -0
  122. package/lib/commonjs/ui/components/payment/types.js +6 -0
  123. package/lib/commonjs/ui/components/payment/types.js.map +1 -0
  124. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +223 -0
  125. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
  126. package/lib/commonjs/ui/components/styles/overlay.js +83 -0
  127. package/lib/commonjs/ui/components/styles/overlay.js.map +1 -0
  128. package/lib/commonjs/ui/components/styles/shadow.js +127 -0
  129. package/lib/commonjs/ui/components/styles/shadow.js.map +1 -0
  130. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +83 -0
  131. package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
  132. package/lib/commonjs/ui/components/utils/hasTouchHandler.js +13 -0
  133. package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -0
  134. package/lib/commonjs/ui/components/utils/roundLayoutSize.js +9 -0
  135. package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -0
  136. package/lib/commonjs/ui/components/utils/splitStyles.js +50 -0
  137. package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -0
  138. package/lib/commonjs/ui/constants/spacing.js +50 -0
  139. package/lib/commonjs/ui/constants/spacing.js.map +1 -0
  140. package/lib/commonjs/ui/context/OxyContext.js +1199 -0
  141. package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
  142. package/lib/commonjs/ui/context/commitSessionFlow.js +104 -0
  143. package/lib/commonjs/ui/context/commitSessionFlow.js.map +1 -0
  144. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +306 -0
  145. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
  146. package/lib/commonjs/ui/context/oxyContextHelpers.js +35 -0
  147. package/lib/commonjs/ui/context/oxyContextHelpers.js.map +1 -0
  148. package/lib/commonjs/ui/context/oxyContextTypes.js +6 -0
  149. package/lib/commonjs/ui/context/oxyContextTypes.js.map +1 -0
  150. package/lib/commonjs/ui/context/passkeyFlow.js +118 -0
  151. package/lib/commonjs/ui/context/passkeyFlow.js.map +1 -0
  152. package/lib/commonjs/ui/context/useOxyAccountGraph.js +100 -0
  153. package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -0
  154. package/lib/commonjs/ui/hooks/accountDialogSnapshot.js +42 -0
  155. package/lib/commonjs/ui/hooks/accountDialogSnapshot.js.map +1 -0
  156. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +182 -0
  157. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -0
  158. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +40 -0
  159. package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +1 -0
  160. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +675 -0
  161. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -0
  162. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +197 -0
  163. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -0
  164. package/lib/commonjs/ui/hooks/queries/paymentTypes.js +2 -0
  165. package/lib/commonjs/ui/hooks/queries/paymentTypes.js.map +1 -0
  166. package/lib/commonjs/ui/hooks/queries/queryKeys.js +222 -0
  167. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -0
  168. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +326 -0
  169. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -0
  170. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +49 -0
  171. package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -0
  172. package/lib/commonjs/ui/hooks/queries/useFileQueries.js +129 -0
  173. package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -0
  174. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +145 -0
  175. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -0
  176. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +93 -0
  177. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -0
  178. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +170 -0
  179. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -0
  180. package/lib/commonjs/ui/hooks/queries/userCache.js +440 -0
  181. package/lib/commonjs/ui/hooks/queries/userCache.js.map +1 -0
  182. package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js +31 -0
  183. package/lib/commonjs/ui/hooks/queries/userCacheRelationship.js.map +1 -0
  184. package/lib/commonjs/ui/hooks/queryClient.js +208 -0
  185. package/lib/commonjs/ui/hooks/queryClient.js.map +1 -0
  186. package/lib/commonjs/ui/hooks/useAssets.js +227 -0
  187. package/lib/commonjs/ui/hooks/useAssets.js.map +1 -0
  188. package/lib/commonjs/ui/hooks/useAsyncAction.js +95 -0
  189. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
  190. package/lib/commonjs/ui/hooks/useAuth.js +127 -0
  191. package/lib/commonjs/ui/hooks/useAuth.js.map +1 -0
  192. package/lib/commonjs/ui/hooks/useAvatarPicker.js +106 -0
  193. package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -0
  194. package/lib/commonjs/ui/hooks/useDeviceManagement.js +73 -0
  195. package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -0
  196. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +57 -0
  197. package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -0
  198. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +71 -0
  199. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -0
  200. package/lib/commonjs/ui/hooks/useFileFiltering.js +76 -0
  201. package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -0
  202. package/lib/commonjs/ui/hooks/useFollow.js +331 -0
  203. package/lib/commonjs/ui/hooks/useFollow.js.map +1 -0
  204. package/lib/commonjs/ui/hooks/useFollow.types.js +6 -0
  205. package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
  206. package/lib/commonjs/ui/hooks/useFollowTarget.js +160 -0
  207. package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -0
  208. package/lib/commonjs/ui/hooks/useI18n.js +41 -0
  209. package/lib/commonjs/ui/hooks/useI18n.js.map +1 -0
  210. package/lib/commonjs/ui/hooks/useLanguageManagement.js +193 -0
  211. package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -0
  212. package/lib/commonjs/ui/hooks/useMutationStatus.js +86 -0
  213. package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -0
  214. package/lib/commonjs/ui/hooks/useOnlineStatus.js +34 -0
  215. package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -0
  216. package/lib/commonjs/ui/hooks/useOxyEvent.js +28 -0
  217. package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -0
  218. package/lib/commonjs/ui/hooks/useProfileEditing.js +134 -0
  219. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -0
  220. package/lib/commonjs/ui/hooks/useQueryClient.js +20 -0
  221. package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -0
  222. package/lib/commonjs/ui/hooks/useReduceMotion.js +57 -0
  223. package/lib/commonjs/ui/hooks/useReduceMotion.js.map +1 -0
  224. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js +163 -0
  225. package/lib/commonjs/ui/hooks/useResolvedFileUrls.js.map +1 -0
  226. package/lib/commonjs/ui/hooks/useSessionManagement.js +183 -0
  227. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -0
  228. package/lib/commonjs/ui/hooks/useSettingToggle.js +132 -0
  229. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -0
  230. package/lib/commonjs/ui/hooks/useStorage.js +45 -0
  231. package/lib/commonjs/ui/hooks/useStorage.js.map +1 -0
  232. package/lib/commonjs/ui/hooks/useSurfaceHeader.js +142 -0
  233. package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -0
  234. package/lib/commonjs/ui/index.js +183 -0
  235. package/lib/commonjs/ui/index.js.map +1 -0
  236. package/lib/commonjs/ui/isFrontend.js +10 -0
  237. package/lib/commonjs/ui/isFrontend.js.map +1 -0
  238. package/lib/commonjs/ui/navigation/accountDialogManager.js +105 -0
  239. package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -0
  240. package/lib/commonjs/ui/navigation/bottomSheetManager.js +62 -0
  241. package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -0
  242. package/lib/commonjs/ui/navigation/routes.js +110 -0
  243. package/lib/commonjs/ui/navigation/routes.js.map +1 -0
  244. package/lib/commonjs/ui/navigation/surfaceBackBridge.js +68 -0
  245. package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -0
  246. package/lib/commonjs/ui/navigation/surfaceNavStack.js +146 -0
  247. package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -0
  248. package/lib/commonjs/ui/navigation/surfaceRegistry.js +147 -0
  249. package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -0
  250. package/lib/commonjs/ui/navigation/surfaces.js +339 -0
  251. package/lib/commonjs/ui/navigation/surfaces.js.map +1 -0
  252. package/lib/commonjs/ui/oauth/browserAuthTransport.js +170 -0
  253. package/lib/commonjs/ui/oauth/browserAuthTransport.js.map +1 -0
  254. package/lib/commonjs/ui/oauth/completeOAuthCode.js +78 -0
  255. package/lib/commonjs/ui/oauth/completeOAuthCode.js.map +1 -0
  256. package/lib/commonjs/ui/oauth/oauthHandshake.js +53 -0
  257. package/lib/commonjs/ui/oauth/oauthHandshake.js.map +1 -0
  258. package/lib/commonjs/ui/oauth/oauthPopup.js +276 -0
  259. package/lib/commonjs/ui/oauth/oauthPopup.js.map +1 -0
  260. package/lib/commonjs/ui/oauth/oauthPopupMessages.js +141 -0
  261. package/lib/commonjs/ui/oauth/oauthPopupMessages.js.map +1 -0
  262. package/lib/commonjs/ui/oauth/types.js +2 -0
  263. package/lib/commonjs/ui/oauth/types.js.map +1 -0
  264. package/lib/commonjs/ui/runtime/createOxyRuntime.js +433 -0
  265. package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -0
  266. package/lib/commonjs/ui/runtime/index.js +63 -0
  267. package/lib/commonjs/ui/runtime/index.js.map +1 -0
  268. package/lib/commonjs/ui/runtime/runtimeContext.js +83 -0
  269. package/lib/commonjs/ui/runtime/runtimeContext.js.map +1 -0
  270. package/lib/commonjs/ui/runtime/types.js +6 -0
  271. package/lib/commonjs/ui/runtime/types.js.map +1 -0
  272. package/lib/commonjs/ui/runtime/useRuntimeSnapshot.js +57 -0
  273. package/lib/commonjs/ui/runtime/useRuntimeSnapshot.js.map +1 -0
  274. package/lib/commonjs/ui/screens/AccountMembersScreen.js +443 -0
  275. package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -0
  276. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +264 -0
  277. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -0
  278. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +184 -0
  279. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -0
  280. package/lib/commonjs/ui/screens/AppInfoScreen.js +373 -0
  281. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
  282. package/lib/commonjs/ui/screens/AvatarCropScreen.js +987 -0
  283. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -0
  284. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +306 -0
  285. package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -0
  286. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +169 -0
  287. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -0
  288. package/lib/commonjs/ui/screens/CreateAccountScreen.js +387 -0
  289. package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -0
  290. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +546 -0
  291. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -0
  292. package/lib/commonjs/ui/screens/EditProfileScreen.js +167 -0
  293. package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -0
  294. package/lib/commonjs/ui/screens/FAQScreen.js +162 -0
  295. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
  296. package/lib/commonjs/ui/screens/FeedbackScreen.js +592 -0
  297. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -0
  298. package/lib/commonjs/ui/screens/FileManagementScreen.js +1529 -0
  299. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
  300. package/lib/commonjs/ui/screens/FollowersListScreen.js +17 -0
  301. package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -0
  302. package/lib/commonjs/ui/screens/FollowingListScreen.js +17 -0
  303. package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -0
  304. package/lib/commonjs/ui/screens/HelpSupportScreen.js +123 -0
  305. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -0
  306. package/lib/commonjs/ui/screens/HistoryViewScreen.js +165 -0
  307. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -0
  308. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +235 -0
  309. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -0
  310. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +127 -0
  311. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
  312. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +188 -0
  313. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -0
  314. package/lib/commonjs/ui/screens/ManageAccountScreen.js +647 -0
  315. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -0
  316. package/lib/commonjs/ui/screens/NotificationsScreen.js +150 -0
  317. package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -0
  318. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +278 -0
  319. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -0
  320. package/lib/commonjs/ui/screens/PreferencesScreen.js +194 -0
  321. package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -0
  322. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +958 -0
  323. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  324. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +501 -0
  325. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -0
  326. package/lib/commonjs/ui/screens/ProfileScreen.js +473 -0
  327. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
  328. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +132 -0
  329. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -0
  330. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +138 -0
  331. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -0
  332. package/lib/commonjs/ui/screens/UserLinksScreen.js +61 -0
  333. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -0
  334. package/lib/commonjs/ui/screens/UserListScreen.js +301 -0
  335. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -0
  336. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +467 -0
  337. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -0
  338. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +64 -0
  339. package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
  340. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +121 -0
  341. package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -0
  342. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +552 -0
  343. package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
  344. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +85 -0
  345. package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -0
  346. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +506 -0
  347. package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
  348. package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js +44 -0
  349. package/lib/commonjs/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
  350. package/lib/commonjs/ui/screens/fileManagement/shared.js +79 -0
  351. package/lib/commonjs/ui/screens/fileManagement/shared.js.map +1 -0
  352. package/lib/commonjs/ui/screens/linkFormat.js +38 -0
  353. package/lib/commonjs/ui/screens/linkFormat.js.map +1 -0
  354. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +94 -0
  355. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -0
  356. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +185 -0
  357. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -0
  358. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +86 -0
  359. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -0
  360. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +222 -0
  361. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
  362. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +512 -0
  363. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
  364. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +92 -0
  365. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -0
  366. package/lib/commonjs/ui/server.js +85 -0
  367. package/lib/commonjs/ui/server.js.map +1 -0
  368. package/lib/commonjs/ui/session/authStore.js +75 -0
  369. package/lib/commonjs/ui/session/authStore.js.map +1 -0
  370. package/lib/commonjs/ui/session/backgroundSession.js +258 -0
  371. package/lib/commonjs/ui/session/backgroundSession.js.map +1 -0
  372. package/lib/commonjs/ui/session/createSessionClient.js +58 -0
  373. package/lib/commonjs/ui/session/createSessionClient.js.map +1 -0
  374. package/lib/commonjs/ui/session/identityBinding.js +95 -0
  375. package/lib/commonjs/ui/session/identityBinding.js.map +1 -0
  376. package/lib/commonjs/ui/session/index.js +78 -0
  377. package/lib/commonjs/ui/session/index.js.map +1 -0
  378. package/lib/commonjs/ui/session/nativeSecureStorage.js +90 -0
  379. package/lib/commonjs/ui/session/nativeSecureStorage.js.map +1 -0
  380. package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js +306 -0
  381. package/lib/commonjs/ui/session/sharedDeviceCredentialStore.js.map +1 -0
  382. package/lib/commonjs/ui/session/tokenTransport.js +75 -0
  383. package/lib/commonjs/ui/session/tokenTransport.js.map +1 -0
  384. package/lib/commonjs/ui/session/useBackgroundSessionSync.js +81 -0
  385. package/lib/commonjs/ui/session/useBackgroundSessionSync.js.map +1 -0
  386. package/lib/commonjs/ui/stores/assetStore.js +225 -0
  387. package/lib/commonjs/ui/stores/assetStore.js.map +1 -0
  388. package/lib/commonjs/ui/stores/authStore.js +169 -0
  389. package/lib/commonjs/ui/stores/authStore.js.map +1 -0
  390. package/lib/commonjs/ui/stores/followStore.js +551 -0
  391. package/lib/commonjs/ui/stores/followStore.js.map +1 -0
  392. package/lib/commonjs/ui/stores/followTargetStore.js +152 -0
  393. package/lib/commonjs/ui/stores/followTargetStore.js.map +1 -0
  394. package/lib/commonjs/ui/stores/resetSessionScopedStores.js +21 -0
  395. package/lib/commonjs/ui/stores/resetSessionScopedStores.js.map +1 -0
  396. package/lib/commonjs/ui/types/fileManagement.js +6 -0
  397. package/lib/commonjs/ui/types/fileManagement.js.map +1 -0
  398. package/lib/commonjs/ui/types/navigation.js +6 -0
  399. package/lib/commonjs/ui/types/navigation.js.map +1 -0
  400. package/lib/commonjs/ui/types/surfaceScreen.js +6 -0
  401. package/lib/commonjs/ui/types/surfaceScreen.js.map +1 -0
  402. package/lib/commonjs/ui/utils/avatarUtils.js +43 -0
  403. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -0
  404. package/lib/commonjs/ui/utils/colorUtils.js +49 -0
  405. package/lib/commonjs/ui/utils/colorUtils.js.map +1 -0
  406. package/lib/commonjs/ui/utils/commonsStoreLinks.js +42 -0
  407. package/lib/commonjs/ui/utils/commonsStoreLinks.js.map +1 -0
  408. package/lib/commonjs/ui/utils/deliveryPlatform.js +58 -0
  409. package/lib/commonjs/ui/utils/deliveryPlatform.js.map +1 -0
  410. package/lib/commonjs/ui/utils/deviceCredential.js +23 -0
  411. package/lib/commonjs/ui/utils/deviceCredential.js.map +1 -0
  412. package/lib/commonjs/ui/utils/errorHandlers.js +137 -0
  413. package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -0
  414. package/lib/commonjs/ui/utils/fileManagement.js +147 -0
  415. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -0
  416. package/lib/commonjs/ui/utils/iconNames.js +133 -0
  417. package/lib/commonjs/ui/utils/iconNames.js.map +1 -0
  418. package/lib/commonjs/ui/utils/isWebBrowser.js +13 -0
  419. package/lib/commonjs/ui/utils/isWebBrowser.js.map +1 -0
  420. package/lib/commonjs/ui/utils/netConnectivity.js +28 -0
  421. package/lib/commonjs/ui/utils/netConnectivity.js.map +1 -0
  422. package/lib/commonjs/ui/utils/oauthReturn.js +126 -0
  423. package/lib/commonjs/ui/utils/oauthReturn.js.map +1 -0
  424. package/lib/commonjs/ui/utils/sessionHelpers.js +61 -0
  425. package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -0
  426. package/lib/commonjs/ui/utils/storageHelpers.js +119 -0
  427. package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -0
  428. package/lib/commonjs/ui/utils/userUtils.js +69 -0
  429. package/lib/commonjs/ui/utils/userUtils.js.map +1 -0
  430. package/lib/commonjs/utils/hookUtils.js +421 -0
  431. package/lib/commonjs/utils/hookUtils.js.map +1 -0
  432. package/lib/commonjs/webauthn/passkeyClient.js +39 -0
  433. package/lib/commonjs/webauthn/passkeyClient.js.map +1 -0
  434. package/lib/commonjs/webauthn/passkeyClient.native.js +34 -0
  435. package/lib/commonjs/webauthn/passkeyClient.native.js.map +1 -0
  436. package/lib/commonjs/webauthn/passkeyClient.web.js +57 -0
  437. package/lib/commonjs/webauthn/passkeyClient.web.js.map +1 -0
  438. package/lib/module/assets/OxyLogo.svg +1 -0
  439. package/lib/module/assets/assets/OxyLogo.svg +1 -0
  440. package/lib/module/assets/assets/icons/OxyServices.tsx +60 -0
  441. package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
  442. package/lib/module/assets/assets/illustrations/HighFive.tsx +39 -0
  443. package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
  444. package/lib/module/assets/icons/OxyServices.js +45 -0
  445. package/lib/module/assets/icons/OxyServices.js.map +1 -0
  446. package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
  447. package/lib/module/assets/illustrations/HighFive.js +53 -0
  448. package/lib/module/assets/illustrations/HighFive.js.map +1 -0
  449. package/lib/module/assets/lottie/welcomeheader_background_op1.json +1 -0
  450. package/lib/module/index.js +230 -0
  451. package/lib/module/index.js.map +1 -0
  452. package/lib/module/notifications/deviceNotifications.js +433 -0
  453. package/lib/module/notifications/deviceNotifications.js.map +1 -0
  454. package/lib/module/package.json +1 -0
  455. package/lib/module/ui/boot/runProviderColdBoot.js +199 -0
  456. package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -0
  457. package/lib/module/ui/client.js +38 -0
  458. package/lib/module/ui/client.js.map +1 -0
  459. package/lib/module/ui/components/AvatarCameraBadge.js +40 -0
  460. package/lib/module/ui/components/AvatarCameraBadge.js.map +1 -0
  461. package/lib/module/ui/components/FollowButton.js +251 -0
  462. package/lib/module/ui/components/FollowButton.js.map +1 -0
  463. package/lib/module/ui/components/FollowTargetButton.js +345 -0
  464. package/lib/module/ui/components/FollowTargetButton.js.map +1 -0
  465. package/lib/module/ui/components/OxyAccountDialogScreen.js +173 -0
  466. package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -0
  467. package/lib/module/ui/components/OxyAuthChooser.js +490 -0
  468. package/lib/module/ui/components/OxyAuthChooser.js.map +1 -0
  469. package/lib/module/ui/components/OxyAuthPrompt.js +118 -0
  470. package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -0
  471. package/lib/module/ui/components/OxyConsentScreen.js +496 -0
  472. package/lib/module/ui/components/OxyConsentScreen.js.map +1 -0
  473. package/lib/module/ui/components/OxyOAuthCallback.js +40 -0
  474. package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -0
  475. package/lib/module/ui/components/OxyPayButton.js +62 -0
  476. package/lib/module/ui/components/OxyPayButton.js.map +1 -0
  477. package/lib/module/ui/components/OxyProvider.js +311 -0
  478. package/lib/module/ui/components/OxyProvider.js.map +1 -0
  479. package/lib/module/ui/components/OxySignInButton.js +316 -0
  480. package/lib/module/ui/components/OxySignInButton.js.map +1 -0
  481. package/lib/module/ui/components/OxySignInRequestSurface.js +141 -0
  482. package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -0
  483. package/lib/module/ui/components/ProfileButton.js +336 -0
  484. package/lib/module/ui/components/ProfileButton.js.map +1 -0
  485. package/lib/module/ui/components/ProfileSummaryCard.js +74 -0
  486. package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -0
  487. package/lib/module/ui/components/RequireOxyAuth.js +292 -0
  488. package/lib/module/ui/components/RequireOxyAuth.js.map +1 -0
  489. package/lib/module/ui/components/SettingsIcon.js +40 -0
  490. package/lib/module/ui/components/SettingsIcon.js.map +1 -0
  491. package/lib/module/ui/components/SurfaceHeaderAction.js +58 -0
  492. package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -0
  493. package/lib/module/ui/components/SurfaceScreen.js +252 -0
  494. package/lib/module/ui/components/SurfaceScreen.js.map +1 -0
  495. package/lib/module/ui/components/authChooser/AccountsMenuView.js +663 -0
  496. package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -0
  497. package/lib/module/ui/components/authChooser/SignInEntryView.js +103 -0
  498. package/lib/module/ui/components/authChooser/SignInEntryView.js.map +1 -0
  499. package/lib/module/ui/components/authChooser/SignInRequestView.js +101 -0
  500. package/lib/module/ui/components/authChooser/SignInRequestView.js.map +1 -0
  501. package/lib/module/ui/components/authChooser/SignUpView.js +184 -0
  502. package/lib/module/ui/components/authChooser/SignUpView.js.map +1 -0
  503. package/lib/module/ui/components/authChooser/TroubleDisclosure.js +73 -0
  504. package/lib/module/ui/components/authChooser/TroubleDisclosure.js.map +1 -0
  505. package/lib/module/ui/components/authChooser/primitives.js +176 -0
  506. package/lib/module/ui/components/authChooser/primitives.js.map +1 -0
  507. package/lib/module/ui/components/authChooser/requestSurfaces.js +151 -0
  508. package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -0
  509. package/lib/module/ui/components/authChooser/signInProgress.js +55 -0
  510. package/lib/module/ui/components/authChooser/signInProgress.js.map +1 -0
  511. package/lib/module/ui/components/authChooser/styles.js +216 -0
  512. package/lib/module/ui/components/authChooser/styles.js.map +1 -0
  513. package/lib/module/ui/components/authChooser/types.js +77 -0
  514. package/lib/module/ui/components/authChooser/types.js.map +1 -0
  515. package/lib/module/ui/components/authChooser/useUsernameAvailability.js +46 -0
  516. package/lib/module/ui/components/authChooser/useUsernameAvailability.js.map +1 -0
  517. package/lib/module/ui/components/feedback/constants.js +55 -0
  518. package/lib/module/ui/components/feedback/constants.js.map +1 -0
  519. package/lib/module/ui/components/feedback/types.js +4 -0
  520. package/lib/module/ui/components/feedback/types.js.map +1 -0
  521. package/lib/module/ui/components/feedback/useFeedbackForm.js +47 -0
  522. package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -0
  523. package/lib/module/ui/components/fileManagement/AnimatedButton.js +55 -0
  524. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -0
  525. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +119 -0
  526. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
  527. package/lib/module/ui/components/fileManagement/FileViewer.js +425 -0
  528. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -0
  529. package/lib/module/ui/components/fileManagement/UploadPreview.js +166 -0
  530. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -0
  531. package/lib/module/ui/components/icon/FAIRWalletIcon.js +59 -0
  532. package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -0
  533. package/lib/module/ui/components/internal/PinInput.js +113 -0
  534. package/lib/module/ui/components/internal/PinInput.js.map +1 -0
  535. package/lib/module/ui/components/logo/LogoIcon.js +55 -0
  536. package/lib/module/ui/components/logo/LogoIcon.js.map +1 -0
  537. package/lib/module/ui/components/logo/LogoText.js +42 -0
  538. package/lib/module/ui/components/logo/LogoText.js.map +1 -0
  539. package/lib/module/ui/components/modals/DeleteAccountModal.js +127 -0
  540. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -0
  541. package/lib/module/ui/components/oauthNavigation.js +80 -0
  542. package/lib/module/ui/components/oauthNavigation.js.map +1 -0
  543. package/lib/module/ui/components/passkeyHubPopup.js +29 -0
  544. package/lib/module/ui/components/passkeyHubPopup.js.map +1 -0
  545. package/lib/module/ui/components/payment/PaymentDetailsStep.js +322 -0
  546. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -0
  547. package/lib/module/ui/components/payment/PaymentMethodStep.js +100 -0
  548. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -0
  549. package/lib/module/ui/components/payment/PaymentReviewStep.js +144 -0
  550. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
  551. package/lib/module/ui/components/payment/PaymentSuccessStep.js +79 -0
  552. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  553. package/lib/module/ui/components/payment/PaymentSummaryStep.js +190 -0
  554. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  555. package/lib/module/ui/components/payment/constants.js +47 -0
  556. package/lib/module/ui/components/payment/constants.js.map +1 -0
  557. package/lib/module/ui/components/payment/paymentStyles.js +396 -0
  558. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
  559. package/lib/module/ui/components/payment/types.js +4 -0
  560. package/lib/module/ui/components/payment/types.js.map +1 -0
  561. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +216 -0
  562. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
  563. package/lib/module/ui/components/styles/overlay.js +80 -0
  564. package/lib/module/ui/components/styles/overlay.js.map +1 -0
  565. package/lib/module/ui/components/styles/shadow.js +123 -0
  566. package/lib/module/ui/components/styles/shadow.js.map +1 -0
  567. package/lib/module/ui/components/surfaces/ActionSheetSurface.js +78 -0
  568. package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -0
  569. package/lib/module/ui/components/utils/hasTouchHandler.js +9 -0
  570. package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -0
  571. package/lib/module/ui/components/utils/roundLayoutSize.js +4 -0
  572. package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -0
  573. package/lib/module/ui/components/utils/splitStyles.js +46 -0
  574. package/lib/module/ui/components/utils/splitStyles.js.map +1 -0
  575. package/lib/module/ui/constants/spacing.js +45 -0
  576. package/lib/module/ui/constants/spacing.js.map +1 -0
  577. package/lib/module/ui/context/OxyContext.js +1191 -0
  578. package/lib/module/ui/context/OxyContext.js.map +1 -0
  579. package/lib/module/ui/context/commitSessionFlow.js +100 -0
  580. package/lib/module/ui/context/commitSessionFlow.js.map +1 -0
  581. package/lib/module/ui/context/hooks/useAuthOperations.js +301 -0
  582. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -0
  583. package/lib/module/ui/context/oxyContextHelpers.js +29 -0
  584. package/lib/module/ui/context/oxyContextHelpers.js.map +1 -0
  585. package/lib/module/ui/context/oxyContextTypes.js +4 -0
  586. package/lib/module/ui/context/oxyContextTypes.js.map +1 -0
  587. package/lib/module/ui/context/passkeyFlow.js +111 -0
  588. package/lib/module/ui/context/passkeyFlow.js.map +1 -0
  589. package/lib/module/ui/context/useOxyAccountGraph.js +96 -0
  590. package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -0
  591. package/lib/module/ui/hooks/accountDialogSnapshot.js +38 -0
  592. package/lib/module/ui/hooks/accountDialogSnapshot.js.map +1 -0
  593. package/lib/module/ui/hooks/mutations/mutationFactory.js +178 -0
  594. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -0
  595. package/lib/module/ui/hooks/mutations/mutationKeys.js +36 -0
  596. package/lib/module/ui/hooks/mutations/mutationKeys.js.map +1 -0
  597. package/lib/module/ui/hooks/mutations/useAccountMutations.js +666 -0
  598. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -0
  599. package/lib/module/ui/hooks/mutations/useServicesMutations.js +189 -0
  600. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -0
  601. package/lib/module/ui/hooks/queries/paymentTypes.js +2 -0
  602. package/lib/module/ui/hooks/queries/paymentTypes.js.map +1 -0
  603. package/lib/module/ui/hooks/queries/queryKeys.js +207 -0
  604. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -0
  605. package/lib/module/ui/hooks/queries/useAccountQueries.js +315 -0
  606. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -0
  607. package/lib/module/ui/hooks/queries/useAuthMethods.js +45 -0
  608. package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -0
  609. package/lib/module/ui/hooks/queries/useFileQueries.js +120 -0
  610. package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -0
  611. package/lib/module/ui/hooks/queries/usePaymentQueries.js +137 -0
  612. package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -0
  613. package/lib/module/ui/hooks/queries/useSecurityQueries.js +86 -0
  614. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -0
  615. package/lib/module/ui/hooks/queries/useServicesQueries.js +161 -0
  616. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -0
  617. package/lib/module/ui/hooks/queries/userCache.js +433 -0
  618. package/lib/module/ui/hooks/queries/userCache.js.map +1 -0
  619. package/lib/module/ui/hooks/queries/userCacheRelationship.js +27 -0
  620. package/lib/module/ui/hooks/queries/userCacheRelationship.js.map +1 -0
  621. package/lib/module/ui/hooks/queryClient.js +201 -0
  622. package/lib/module/ui/hooks/queryClient.js.map +1 -0
  623. package/lib/module/ui/hooks/useAssets.js +221 -0
  624. package/lib/module/ui/hooks/useAssets.js.map +1 -0
  625. package/lib/module/ui/hooks/useAsyncAction.js +89 -0
  626. package/lib/module/ui/hooks/useAsyncAction.js.map +1 -0
  627. package/lib/module/ui/hooks/useAuth.js +123 -0
  628. package/lib/module/ui/hooks/useAuth.js.map +1 -0
  629. package/lib/module/ui/hooks/useAvatarPicker.js +103 -0
  630. package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -0
  631. package/lib/module/ui/hooks/useDeviceManagement.js +68 -0
  632. package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -0
  633. package/lib/module/ui/hooks/useDeviceSwitcher.js +53 -0
  634. package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -0
  635. package/lib/module/ui/hooks/useFileDownloadUrl.js +66 -0
  636. package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
  637. package/lib/module/ui/hooks/useFileFiltering.js +72 -0
  638. package/lib/module/ui/hooks/useFileFiltering.js.map +1 -0
  639. package/lib/module/ui/hooks/useFollow.js +324 -0
  640. package/lib/module/ui/hooks/useFollow.js.map +1 -0
  641. package/lib/module/ui/hooks/useFollow.types.js +4 -0
  642. package/lib/module/ui/hooks/useFollow.types.js.map +1 -0
  643. package/lib/module/ui/hooks/useFollowTarget.js +156 -0
  644. package/lib/module/ui/hooks/useFollowTarget.js.map +1 -0
  645. package/lib/module/ui/hooks/useI18n.js +38 -0
  646. package/lib/module/ui/hooks/useI18n.js.map +1 -0
  647. package/lib/module/ui/hooks/useLanguageManagement.js +185 -0
  648. package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -0
  649. package/lib/module/ui/hooks/useMutationStatus.js +82 -0
  650. package/lib/module/ui/hooks/useMutationStatus.js.map +1 -0
  651. package/lib/module/ui/hooks/useOnlineStatus.js +30 -0
  652. package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -0
  653. package/lib/module/ui/hooks/useOxyEvent.js +25 -0
  654. package/lib/module/ui/hooks/useOxyEvent.js.map +1 -0
  655. package/lib/module/ui/hooks/useProfileEditing.js +129 -0
  656. package/lib/module/ui/hooks/useProfileEditing.js.map +1 -0
  657. package/lib/module/ui/hooks/useQueryClient.js +15 -0
  658. package/lib/module/ui/hooks/useQueryClient.js.map +1 -0
  659. package/lib/module/ui/hooks/useReduceMotion.js +53 -0
  660. package/lib/module/ui/hooks/useReduceMotion.js.map +1 -0
  661. package/lib/module/ui/hooks/useResolvedFileUrls.js +157 -0
  662. package/lib/module/ui/hooks/useResolvedFileUrls.js.map +1 -0
  663. package/lib/module/ui/hooks/useSessionManagement.js +178 -0
  664. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -0
  665. package/lib/module/ui/hooks/useSettingToggle.js +126 -0
  666. package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
  667. package/lib/module/ui/hooks/useStorage.js +40 -0
  668. package/lib/module/ui/hooks/useStorage.js.map +1 -0
  669. package/lib/module/ui/hooks/useSurfaceHeader.js +138 -0
  670. package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -0
  671. package/lib/module/ui/index.js +48 -0
  672. package/lib/module/ui/index.js.map +1 -0
  673. package/lib/module/ui/isFrontend.js +6 -0
  674. package/lib/module/ui/isFrontend.js.map +1 -0
  675. package/lib/module/ui/navigation/accountDialogManager.js +94 -0
  676. package/lib/module/ui/navigation/accountDialogManager.js.map +1 -0
  677. package/lib/module/ui/navigation/bottomSheetManager.js +56 -0
  678. package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -0
  679. package/lib/module/ui/navigation/routes.js +104 -0
  680. package/lib/module/ui/navigation/routes.js.map +1 -0
  681. package/lib/module/ui/navigation/surfaceBackBridge.js +63 -0
  682. package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -0
  683. package/lib/module/ui/navigation/surfaceNavStack.js +143 -0
  684. package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -0
  685. package/lib/module/ui/navigation/surfaceRegistry.js +141 -0
  686. package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -0
  687. package/lib/module/ui/navigation/surfaces.js +325 -0
  688. package/lib/module/ui/navigation/surfaces.js.map +1 -0
  689. package/lib/module/ui/oauth/browserAuthTransport.js +167 -0
  690. package/lib/module/ui/oauth/browserAuthTransport.js.map +1 -0
  691. package/lib/module/ui/oauth/completeOAuthCode.js +75 -0
  692. package/lib/module/ui/oauth/completeOAuthCode.js.map +1 -0
  693. package/lib/module/ui/oauth/oauthHandshake.js +50 -0
  694. package/lib/module/ui/oauth/oauthHandshake.js.map +1 -0
  695. package/lib/module/ui/oauth/oauthPopup.js +268 -0
  696. package/lib/module/ui/oauth/oauthPopup.js.map +1 -0
  697. package/lib/module/ui/oauth/oauthPopupMessages.js +135 -0
  698. package/lib/module/ui/oauth/oauthPopupMessages.js.map +1 -0
  699. package/lib/module/ui/oauth/types.js +2 -0
  700. package/lib/module/ui/oauth/types.js.map +1 -0
  701. package/lib/module/ui/runtime/createOxyRuntime.js +430 -0
  702. package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -0
  703. package/lib/module/ui/runtime/index.js +15 -0
  704. package/lib/module/ui/runtime/index.js.map +1 -0
  705. package/lib/module/ui/runtime/runtimeContext.js +75 -0
  706. package/lib/module/ui/runtime/runtimeContext.js.map +1 -0
  707. package/lib/module/ui/runtime/types.js +4 -0
  708. package/lib/module/ui/runtime/types.js.map +1 -0
  709. package/lib/module/ui/runtime/useRuntimeSnapshot.js +52 -0
  710. package/lib/module/ui/runtime/useRuntimeSnapshot.js.map +1 -0
  711. package/lib/module/ui/screens/AccountMembersScreen.js +438 -0
  712. package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -0
  713. package/lib/module/ui/screens/AccountSettingsScreen.js +260 -0
  714. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
  715. package/lib/module/ui/screens/AccountVerificationScreen.js +179 -0
  716. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -0
  717. package/lib/module/ui/screens/AppInfoScreen.js +368 -0
  718. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -0
  719. package/lib/module/ui/screens/AvatarCropScreen.js +984 -0
  720. package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -0
  721. package/lib/module/ui/screens/ChangeAvatarScreen.js +303 -0
  722. package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -0
  723. package/lib/module/ui/screens/ConnectedAppsScreen.js +164 -0
  724. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -0
  725. package/lib/module/ui/screens/CreateAccountScreen.js +382 -0
  726. package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -0
  727. package/lib/module/ui/screens/EditProfileFieldScreen.js +541 -0
  728. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -0
  729. package/lib/module/ui/screens/EditProfileScreen.js +162 -0
  730. package/lib/module/ui/screens/EditProfileScreen.js.map +1 -0
  731. package/lib/module/ui/screens/FAQScreen.js +157 -0
  732. package/lib/module/ui/screens/FAQScreen.js.map +1 -0
  733. package/lib/module/ui/screens/FeedbackScreen.js +590 -0
  734. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
  735. package/lib/module/ui/screens/FileManagementScreen.js +1525 -0
  736. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
  737. package/lib/module/ui/screens/FollowersListScreen.js +12 -0
  738. package/lib/module/ui/screens/FollowersListScreen.js.map +1 -0
  739. package/lib/module/ui/screens/FollowingListScreen.js +12 -0
  740. package/lib/module/ui/screens/FollowingListScreen.js.map +1 -0
  741. package/lib/module/ui/screens/HelpSupportScreen.js +118 -0
  742. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -0
  743. package/lib/module/ui/screens/HistoryViewScreen.js +160 -0
  744. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -0
  745. package/lib/module/ui/screens/LanguageSelectorScreen.js +229 -0
  746. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
  747. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +122 -0
  748. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -0
  749. package/lib/module/ui/screens/LegalDocumentsScreen.js +185 -0
  750. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -0
  751. package/lib/module/ui/screens/ManageAccountScreen.js +642 -0
  752. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -0
  753. package/lib/module/ui/screens/NotificationsScreen.js +145 -0
  754. package/lib/module/ui/screens/NotificationsScreen.js.map +1 -0
  755. package/lib/module/ui/screens/PaymentGatewayScreen.js +273 -0
  756. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -0
  757. package/lib/module/ui/screens/PreferencesScreen.js +189 -0
  758. package/lib/module/ui/screens/PreferencesScreen.js.map +1 -0
  759. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +953 -0
  760. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  761. package/lib/module/ui/screens/PrivacySettingsScreen.js +496 -0
  762. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
  763. package/lib/module/ui/screens/ProfileScreen.js +468 -0
  764. package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
  765. package/lib/module/ui/screens/SavesCollectionsScreen.js +127 -0
  766. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -0
  767. package/lib/module/ui/screens/SearchSettingsScreen.js +133 -0
  768. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -0
  769. package/lib/module/ui/screens/UserLinksScreen.js +57 -0
  770. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -0
  771. package/lib/module/ui/screens/UserListScreen.js +296 -0
  772. package/lib/module/ui/screens/UserListScreen.js.map +1 -0
  773. package/lib/module/ui/screens/WelcomeNewUserScreen.js +462 -0
  774. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -0
  775. package/lib/module/ui/screens/fileManagement/FileLibraryError.js +59 -0
  776. package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -0
  777. package/lib/module/ui/screens/fileManagement/FileListSection.js +116 -0
  778. package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -0
  779. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +548 -0
  780. package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
  781. package/lib/module/ui/screens/fileManagement/UploadBar.js +80 -0
  782. package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -0
  783. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +502 -0
  784. package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
  785. package/lib/module/ui/screens/fileManagement/photoGridLayout.js +39 -0
  786. package/lib/module/ui/screens/fileManagement/photoGridLayout.js.map +1 -0
  787. package/lib/module/ui/screens/fileManagement/shared.js +70 -0
  788. package/lib/module/ui/screens/fileManagement/shared.js.map +1 -0
  789. package/lib/module/ui/screens/linkFormat.js +31 -0
  790. package/lib/module/ui/screens/linkFormat.js.map +1 -0
  791. package/lib/module/ui/screens/trust/TrustAboutScreen.js +89 -0
  792. package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -0
  793. package/lib/module/ui/screens/trust/TrustCenterScreen.js +180 -0
  794. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -0
  795. package/lib/module/ui/screens/trust/TrustFAQScreen.js +81 -0
  796. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -0
  797. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +217 -0
  798. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -0
  799. package/lib/module/ui/screens/trust/TrustRewardsScreen.js +507 -0
  800. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -0
  801. package/lib/module/ui/screens/trust/TrustRulesScreen.js +90 -0
  802. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -0
  803. package/lib/module/ui/server.js +55 -0
  804. package/lib/module/ui/server.js.map +1 -0
  805. package/lib/module/ui/session/authStore.js +70 -0
  806. package/lib/module/ui/session/authStore.js.map +1 -0
  807. package/lib/module/ui/session/backgroundSession.js +252 -0
  808. package/lib/module/ui/session/backgroundSession.js.map +1 -0
  809. package/lib/module/ui/session/createSessionClient.js +55 -0
  810. package/lib/module/ui/session/createSessionClient.js.map +1 -0
  811. package/lib/module/ui/session/identityBinding.js +89 -0
  812. package/lib/module/ui/session/identityBinding.js.map +1 -0
  813. package/lib/module/ui/session/index.js +21 -0
  814. package/lib/module/ui/session/index.js.map +1 -0
  815. package/lib/module/ui/session/nativeSecureStorage.js +88 -0
  816. package/lib/module/ui/session/nativeSecureStorage.js.map +1 -0
  817. package/lib/module/ui/session/sharedDeviceCredentialStore.js +302 -0
  818. package/lib/module/ui/session/sharedDeviceCredentialStore.js.map +1 -0
  819. package/lib/module/ui/session/tokenTransport.js +71 -0
  820. package/lib/module/ui/session/tokenTransport.js.map +1 -0
  821. package/lib/module/ui/session/useBackgroundSessionSync.js +76 -0
  822. package/lib/module/ui/session/useBackgroundSessionSync.js.map +1 -0
  823. package/lib/module/ui/stores/assetStore.js +212 -0
  824. package/lib/module/ui/stores/assetStore.js.map +1 -0
  825. package/lib/module/ui/stores/authStore.js +165 -0
  826. package/lib/module/ui/stores/authStore.js.map +1 -0
  827. package/lib/module/ui/stores/followStore.js +546 -0
  828. package/lib/module/ui/stores/followStore.js.map +1 -0
  829. package/lib/module/ui/stores/followTargetStore.js +143 -0
  830. package/lib/module/ui/stores/followTargetStore.js.map +1 -0
  831. package/lib/module/ui/stores/resetSessionScopedStores.js +18 -0
  832. package/lib/module/ui/stores/resetSessionScopedStores.js.map +1 -0
  833. package/lib/module/ui/types/fileManagement.js +4 -0
  834. package/lib/module/ui/types/fileManagement.js.map +1 -0
  835. package/lib/module/ui/types/navigation.js +4 -0
  836. package/lib/module/ui/types/navigation.js.map +1 -0
  837. package/lib/module/ui/types/surfaceScreen.js +4 -0
  838. package/lib/module/ui/types/surfaceScreen.js.map +1 -0
  839. package/lib/module/ui/utils/avatarUtils.js +40 -0
  840. package/lib/module/ui/utils/avatarUtils.js.map +1 -0
  841. package/lib/module/ui/utils/colorUtils.js +13 -0
  842. package/lib/module/ui/utils/colorUtils.js.map +1 -0
  843. package/lib/module/ui/utils/commonsStoreLinks.js +37 -0
  844. package/lib/module/ui/utils/commonsStoreLinks.js.map +1 -0
  845. package/lib/module/ui/utils/deliveryPlatform.js +55 -0
  846. package/lib/module/ui/utils/deliveryPlatform.js.map +1 -0
  847. package/lib/module/ui/utils/deviceCredential.js +18 -0
  848. package/lib/module/ui/utils/deviceCredential.js.map +1 -0
  849. package/lib/module/ui/utils/errorHandlers.js +129 -0
  850. package/lib/module/ui/utils/errorHandlers.js.map +1 -0
  851. package/lib/module/ui/utils/fileManagement.js +140 -0
  852. package/lib/module/ui/utils/fileManagement.js.map +1 -0
  853. package/lib/module/ui/utils/iconNames.js +124 -0
  854. package/lib/module/ui/utils/iconNames.js.map +1 -0
  855. package/lib/module/ui/utils/isWebBrowser.js +11 -0
  856. package/lib/module/ui/utils/isWebBrowser.js.map +1 -0
  857. package/lib/module/ui/utils/netConnectivity.js +23 -0
  858. package/lib/module/ui/utils/netConnectivity.js.map +1 -0
  859. package/lib/module/ui/utils/oauthReturn.js +122 -0
  860. package/lib/module/ui/utils/oauthReturn.js.map +1 -0
  861. package/lib/module/ui/utils/sessionHelpers.js +55 -0
  862. package/lib/module/ui/utils/sessionHelpers.js.map +1 -0
  863. package/lib/module/ui/utils/storageHelpers.js +111 -0
  864. package/lib/module/ui/utils/storageHelpers.js.map +1 -0
  865. package/lib/module/ui/utils/userUtils.js +63 -0
  866. package/lib/module/ui/utils/userUtils.js.map +1 -0
  867. package/lib/module/utils/hookUtils.js +403 -0
  868. package/lib/module/utils/hookUtils.js.map +1 -0
  869. package/lib/module/webauthn/passkeyClient.js +33 -0
  870. package/lib/module/webauthn/passkeyClient.js.map +1 -0
  871. package/lib/module/webauthn/passkeyClient.native.js +28 -0
  872. package/lib/module/webauthn/passkeyClient.native.js.map +1 -0
  873. package/lib/module/webauthn/passkeyClient.web.js +52 -0
  874. package/lib/module/webauthn/passkeyClient.web.js.map +1 -0
  875. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +24 -0
  876. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -0
  877. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts +8 -0
  878. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +1 -0
  879. package/lib/typescript/commonjs/index.d.ts +108 -0
  880. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  881. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts +192 -0
  882. package/lib/typescript/commonjs/notifications/deviceNotifications.d.ts.map +1 -0
  883. package/lib/typescript/commonjs/package.json +1 -0
  884. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +60 -0
  885. package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -0
  886. package/lib/typescript/commonjs/ui/client.d.ts +29 -0
  887. package/lib/typescript/commonjs/ui/client.d.ts.map +1 -0
  888. package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts +4 -0
  889. package/lib/typescript/commonjs/ui/components/AvatarCameraBadge.d.ts.map +1 -0
  890. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts +39 -0
  891. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -0
  892. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts +158 -0
  893. package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -0
  894. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts +40 -0
  895. package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
  896. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts +54 -0
  897. package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -0
  898. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts +59 -0
  899. package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -0
  900. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts +45 -0
  901. package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -0
  902. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +11 -0
  903. package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -0
  904. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts +29 -0
  905. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -0
  906. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +40 -0
  907. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -0
  908. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +113 -0
  909. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -0
  910. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts +108 -0
  911. package/lib/typescript/commonjs/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
  912. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +59 -0
  913. package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -0
  914. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +33 -0
  915. package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -0
  916. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts +55 -0
  917. package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -0
  918. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +15 -0
  919. package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -0
  920. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +16 -0
  921. package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
  922. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +23 -0
  923. package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -0
  924. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +45 -0
  925. package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
  926. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts +34 -0
  927. package/lib/typescript/commonjs/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
  928. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts +34 -0
  929. package/lib/typescript/commonjs/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
  930. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts +34 -0
  931. package/lib/typescript/commonjs/ui/components/authChooser/SignUpView.d.ts.map +1 -0
  932. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts +38 -0
  933. package/lib/typescript/commonjs/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
  934. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts +67 -0
  935. package/lib/typescript/commonjs/ui/components/authChooser/primitives.d.ts.map +1 -0
  936. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts +63 -0
  937. package/lib/typescript/commonjs/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
  938. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts +26 -0
  939. package/lib/typescript/commonjs/ui/components/authChooser/signInProgress.d.ts.map +1 -0
  940. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +209 -0
  941. package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -0
  942. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +141 -0
  943. package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -0
  944. package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
  945. package/lib/typescript/commonjs/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
  946. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts +5 -0
  947. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +1 -0
  948. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts +46 -0
  949. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +1 -0
  950. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts +9 -0
  951. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
  952. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
  953. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
  954. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
  955. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
  956. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +16 -0
  957. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
  958. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +14 -0
  959. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
  960. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
  961. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
  962. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +23 -0
  963. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +1 -0
  964. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +22 -0
  965. package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +1 -0
  966. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +22 -0
  967. package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -0
  968. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +26 -0
  969. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
  970. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts +43 -0
  971. package/lib/typescript/commonjs/ui/components/oauthNavigation.d.ts.map +1 -0
  972. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts +23 -0
  973. package/lib/typescript/commonjs/ui/components/passkeyHubPopup.d.ts.map +1 -0
  974. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
  975. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
  976. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +14 -0
  977. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
  978. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +16 -0
  979. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
  980. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
  981. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
  982. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
  983. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
  984. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts +7 -0
  985. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +1 -0
  986. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +389 -0
  987. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -0
  988. package/lib/typescript/commonjs/ui/components/payment/types.d.ts +40 -0
  989. package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -0
  990. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
  991. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
  992. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +6 -0
  993. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -0
  994. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +3 -0
  995. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +1 -0
  996. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
  997. package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
  998. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts +6 -0
  999. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
  1000. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts +2 -0
  1001. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
  1002. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts +20 -0
  1003. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +1 -0
  1004. package/lib/typescript/commonjs/ui/constants/spacing.d.ts +33 -0
  1005. package/lib/typescript/commonjs/ui/constants/spacing.d.ts.map +1 -0
  1006. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +38 -0
  1007. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -0
  1008. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts +39 -0
  1009. package/lib/typescript/commonjs/ui/context/commitSessionFlow.d.ts.map +1 -0
  1010. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts +70 -0
  1011. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
  1012. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +5 -0
  1013. package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +1 -0
  1014. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +219 -0
  1015. package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -0
  1016. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts +96 -0
  1017. package/lib/typescript/commonjs/ui/context/passkeyFlow.d.ts.map +1 -0
  1018. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +30 -0
  1019. package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -0
  1020. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts +15 -0
  1021. package/lib/typescript/commonjs/ui/hooks/accountDialogSnapshot.d.ts.map +1 -0
  1022. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +87 -0
  1023. package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
  1024. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +30 -0
  1025. package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
  1026. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +301 -0
  1027. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
  1028. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
  1029. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
  1030. package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts +138 -0
  1031. package/lib/typescript/commonjs/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
  1032. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +137 -0
  1033. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -0
  1034. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +87 -0
  1035. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
  1036. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts +212 -0
  1037. package/lib/typescript/commonjs/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
  1038. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts +50 -0
  1039. package/lib/typescript/commonjs/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
  1040. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts +64 -0
  1041. package/lib/typescript/commonjs/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
  1042. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
  1043. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
  1044. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +44 -0
  1045. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
  1046. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts +173 -0
  1047. package/lib/typescript/commonjs/ui/hooks/queries/userCache.d.ts.map +1 -0
  1048. package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
  1049. package/lib/typescript/commonjs/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
  1050. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +66 -0
  1051. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -0
  1052. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +35 -0
  1053. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -0
  1054. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts +51 -0
  1055. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +1 -0
  1056. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +109 -0
  1057. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -0
  1058. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +34 -0
  1059. package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -0
  1060. package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts +27 -0
  1061. package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +1 -0
  1062. package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts +49 -0
  1063. package/lib/typescript/commonjs/ui/hooks/useDeviceSwitcher.d.ts.map +1 -0
  1064. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +19 -0
  1065. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
  1066. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts +29 -0
  1067. package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +1 -0
  1068. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts +108 -0
  1069. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +1 -0
  1070. package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts +35 -0
  1071. package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +1 -0
  1072. package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts +50 -0
  1073. package/lib/typescript/commonjs/ui/hooks/useFollowTarget.d.ts.map +1 -0
  1074. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts +18 -0
  1075. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -0
  1076. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +69 -0
  1077. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -0
  1078. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +23 -0
  1079. package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -0
  1080. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +14 -0
  1081. package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -0
  1082. package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts +8 -0
  1083. package/lib/typescript/commonjs/ui/hooks/useOxyEvent.d.ts.map +1 -0
  1084. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +42 -0
  1085. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -0
  1086. package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts +7 -0
  1087. package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +1 -0
  1088. package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts +14 -0
  1089. package/lib/typescript/commonjs/ui/hooks/useReduceMotion.d.ts.map +1 -0
  1090. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts +48 -0
  1091. package/lib/typescript/commonjs/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
  1092. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +46 -0
  1093. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -0
  1094. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts +57 -0
  1095. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +1 -0
  1096. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts +16 -0
  1097. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +1 -0
  1098. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +45 -0
  1099. package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
  1100. package/lib/typescript/commonjs/ui/index.d.ts +38 -0
  1101. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -0
  1102. package/lib/typescript/commonjs/ui/isFrontend.d.ts +3 -0
  1103. package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +1 -0
  1104. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +54 -0
  1105. package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -0
  1106. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts +34 -0
  1107. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +1 -0
  1108. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +20 -0
  1109. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -0
  1110. package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts +16 -0
  1111. package/lib/typescript/commonjs/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
  1112. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +75 -0
  1113. package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -0
  1114. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +194 -0
  1115. package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -0
  1116. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +110 -0
  1117. package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -0
  1118. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts +56 -0
  1119. package/lib/typescript/commonjs/ui/oauth/browserAuthTransport.d.ts.map +1 -0
  1120. package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts +49 -0
  1121. package/lib/typescript/commonjs/ui/oauth/completeOAuthCode.d.ts.map +1 -0
  1122. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts +50 -0
  1123. package/lib/typescript/commonjs/ui/oauth/oauthHandshake.d.ts.map +1 -0
  1124. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts +83 -0
  1125. package/lib/typescript/commonjs/ui/oauth/oauthPopup.d.ts.map +1 -0
  1126. package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts +67 -0
  1127. package/lib/typescript/commonjs/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
  1128. package/lib/typescript/commonjs/ui/oauth/types.d.ts +176 -0
  1129. package/lib/typescript/commonjs/ui/oauth/types.d.ts.map +1 -0
  1130. package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts +144 -0
  1131. package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.d.ts.map +1 -0
  1132. package/lib/typescript/commonjs/ui/runtime/index.d.ts +16 -0
  1133. package/lib/typescript/commonjs/ui/runtime/index.d.ts.map +1 -0
  1134. package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts +43 -0
  1135. package/lib/typescript/commonjs/ui/runtime/runtimeContext.d.ts.map +1 -0
  1136. package/lib/typescript/commonjs/ui/runtime/types.d.ts +89 -0
  1137. package/lib/typescript/commonjs/ui/runtime/types.d.ts.map +1 -0
  1138. package/lib/typescript/commonjs/ui/runtime/useRuntimeSnapshot.d.ts +23 -0
  1139. package/lib/typescript/commonjs/ui/runtime/useRuntimeSnapshot.d.ts.map +1 -0
  1140. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts +10 -0
  1141. package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -0
  1142. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts +12 -0
  1143. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
  1144. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts +5 -0
  1145. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
  1146. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts +5 -0
  1147. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -0
  1148. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +58 -0
  1149. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -0
  1150. package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts +38 -0
  1151. package/lib/typescript/commonjs/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
  1152. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts +5 -0
  1153. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
  1154. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts +11 -0
  1155. package/lib/typescript/commonjs/ui/screens/CreateAccountScreen.d.ts.map +1 -0
  1156. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts +13 -0
  1157. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
  1158. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts +14 -0
  1159. package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -0
  1160. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +5 -0
  1161. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -0
  1162. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +5 -0
  1163. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -0
  1164. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts +5 -0
  1165. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -0
  1166. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +12 -0
  1167. package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +1 -0
  1168. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +12 -0
  1169. package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +1 -0
  1170. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts +5 -0
  1171. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -0
  1172. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts +5 -0
  1173. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -0
  1174. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts +7 -0
  1175. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
  1176. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
  1177. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
  1178. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts +5 -0
  1179. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
  1180. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +13 -0
  1181. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -0
  1182. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts +5 -0
  1183. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -0
  1184. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +15 -0
  1185. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
  1186. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts +5 -0
  1187. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +1 -0
  1188. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
  1189. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
  1190. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts +5 -0
  1191. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
  1192. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts +9 -0
  1193. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -0
  1194. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts +5 -0
  1195. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
  1196. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts +5 -0
  1197. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
  1198. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +15 -0
  1199. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -0
  1200. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +18 -0
  1201. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -0
  1202. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
  1203. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
  1204. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
  1205. package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
  1206. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +40 -0
  1207. package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
  1208. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
  1209. package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
  1210. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +25 -0
  1211. package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
  1212. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
  1213. package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
  1214. package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
  1215. package/lib/typescript/commonjs/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
  1216. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +38 -0
  1217. package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +1 -0
  1218. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts +23 -0
  1219. package/lib/typescript/commonjs/ui/screens/linkFormat.d.ts.map +1 -0
  1220. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
  1221. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
  1222. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
  1223. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
  1224. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
  1225. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
  1226. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
  1227. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
  1228. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
  1229. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
  1230. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
  1231. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
  1232. package/lib/typescript/commonjs/ui/server.d.ts +35 -0
  1233. package/lib/typescript/commonjs/ui/server.d.ts.map +1 -0
  1234. package/lib/typescript/commonjs/ui/session/authStore.d.ts +76 -0
  1235. package/lib/typescript/commonjs/ui/session/authStore.d.ts.map +1 -0
  1236. package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts +42 -0
  1237. package/lib/typescript/commonjs/ui/session/backgroundSession.d.ts.map +1 -0
  1238. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +40 -0
  1239. package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts.map +1 -0
  1240. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts +66 -0
  1241. package/lib/typescript/commonjs/ui/session/identityBinding.d.ts.map +1 -0
  1242. package/lib/typescript/commonjs/ui/session/index.d.ts +20 -0
  1243. package/lib/typescript/commonjs/ui/session/index.d.ts.map +1 -0
  1244. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts +25 -0
  1245. package/lib/typescript/commonjs/ui/session/nativeSecureStorage.d.ts.map +1 -0
  1246. package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts +32 -0
  1247. package/lib/typescript/commonjs/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -0
  1248. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts +33 -0
  1249. package/lib/typescript/commonjs/ui/session/tokenTransport.d.ts.map +1 -0
  1250. package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts +23 -0
  1251. package/lib/typescript/commonjs/ui/session/useBackgroundSessionSync.d.ts.map +1 -0
  1252. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +54 -0
  1253. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -0
  1254. package/lib/typescript/commonjs/ui/stores/authStore.d.ts +61 -0
  1255. package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +1 -0
  1256. package/lib/typescript/commonjs/ui/stores/followStore.d.ts +30 -0
  1257. package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +1 -0
  1258. package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts +84 -0
  1259. package/lib/typescript/commonjs/ui/stores/followTargetStore.d.ts.map +1 -0
  1260. package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts +10 -0
  1261. package/lib/typescript/commonjs/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
  1262. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts +51 -0
  1263. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +1 -0
  1264. package/lib/typescript/commonjs/ui/types/navigation.d.ts +153 -0
  1265. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -0
  1266. package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts +38 -0
  1267. package/lib/typescript/commonjs/ui/types/surfaceScreen.d.ts.map +1 -0
  1268. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +16 -0
  1269. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -0
  1270. package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts +10 -0
  1271. package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +1 -0
  1272. package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts +24 -0
  1273. package/lib/typescript/commonjs/ui/utils/commonsStoreLinks.d.ts.map +1 -0
  1274. package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts +33 -0
  1275. package/lib/typescript/commonjs/ui/utils/deliveryPlatform.d.ts.map +1 -0
  1276. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +8 -0
  1277. package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +1 -0
  1278. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts +35 -0
  1279. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +1 -0
  1280. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +55 -0
  1281. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -0
  1282. package/lib/typescript/commonjs/ui/utils/iconNames.d.ts +112 -0
  1283. package/lib/typescript/commonjs/ui/utils/iconNames.d.ts.map +1 -0
  1284. package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts +9 -0
  1285. package/lib/typescript/commonjs/ui/utils/isWebBrowser.d.ts.map +1 -0
  1286. package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts +17 -0
  1287. package/lib/typescript/commonjs/ui/utils/netConnectivity.d.ts.map +1 -0
  1288. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +48 -0
  1289. package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +1 -0
  1290. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +48 -0
  1291. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -0
  1292. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +28 -0
  1293. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -0
  1294. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +23 -0
  1295. package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -0
  1296. package/lib/typescript/commonjs/utils/hookUtils.d.ts +102 -0
  1297. package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +1 -0
  1298. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts +20 -0
  1299. package/lib/typescript/commonjs/webauthn/passkeyClient.d.ts.map +1 -0
  1300. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts +15 -0
  1301. package/lib/typescript/commonjs/webauthn/passkeyClient.native.d.ts.map +1 -0
  1302. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts +36 -0
  1303. package/lib/typescript/commonjs/webauthn/passkeyClient.web.d.ts.map +1 -0
  1304. package/lib/typescript/module/assets/icons/OxyServices.d.ts +24 -0
  1305. package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -0
  1306. package/lib/typescript/module/assets/illustrations/HighFive.d.ts +8 -0
  1307. package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +1 -0
  1308. package/lib/typescript/module/index.d.ts +108 -0
  1309. package/lib/typescript/module/index.d.ts.map +1 -0
  1310. package/lib/typescript/module/notifications/deviceNotifications.d.ts +192 -0
  1311. package/lib/typescript/module/notifications/deviceNotifications.d.ts.map +1 -0
  1312. package/lib/typescript/module/package.json +1 -0
  1313. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +60 -0
  1314. package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -0
  1315. package/lib/typescript/module/ui/client.d.ts +29 -0
  1316. package/lib/typescript/module/ui/client.d.ts.map +1 -0
  1317. package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts +4 -0
  1318. package/lib/typescript/module/ui/components/AvatarCameraBadge.d.ts.map +1 -0
  1319. package/lib/typescript/module/ui/components/FollowButton.d.ts +39 -0
  1320. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -0
  1321. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts +158 -0
  1322. package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -0
  1323. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts +40 -0
  1324. package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -0
  1325. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts +54 -0
  1326. package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -0
  1327. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts +59 -0
  1328. package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -0
  1329. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts +45 -0
  1330. package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -0
  1331. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +11 -0
  1332. package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -0
  1333. package/lib/typescript/module/ui/components/OxyPayButton.d.ts +29 -0
  1334. package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -0
  1335. package/lib/typescript/module/ui/components/OxyProvider.d.ts +40 -0
  1336. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -0
  1337. package/lib/typescript/module/ui/components/OxySignInButton.d.ts +113 -0
  1338. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -0
  1339. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts +108 -0
  1340. package/lib/typescript/module/ui/components/OxySignInRequestSurface.d.ts.map +1 -0
  1341. package/lib/typescript/module/ui/components/ProfileButton.d.ts +59 -0
  1342. package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -0
  1343. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +33 -0
  1344. package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -0
  1345. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts +55 -0
  1346. package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -0
  1347. package/lib/typescript/module/ui/components/SettingsIcon.d.ts +15 -0
  1348. package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -0
  1349. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +16 -0
  1350. package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -0
  1351. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +23 -0
  1352. package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -0
  1353. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +45 -0
  1354. package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -0
  1355. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts +34 -0
  1356. package/lib/typescript/module/ui/components/authChooser/SignInEntryView.d.ts.map +1 -0
  1357. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts +34 -0
  1358. package/lib/typescript/module/ui/components/authChooser/SignInRequestView.d.ts.map +1 -0
  1359. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts +34 -0
  1360. package/lib/typescript/module/ui/components/authChooser/SignUpView.d.ts.map +1 -0
  1361. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts +38 -0
  1362. package/lib/typescript/module/ui/components/authChooser/TroubleDisclosure.d.ts.map +1 -0
  1363. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts +67 -0
  1364. package/lib/typescript/module/ui/components/authChooser/primitives.d.ts.map +1 -0
  1365. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts +63 -0
  1366. package/lib/typescript/module/ui/components/authChooser/requestSurfaces.d.ts.map +1 -0
  1367. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts +26 -0
  1368. package/lib/typescript/module/ui/components/authChooser/signInProgress.d.ts.map +1 -0
  1369. package/lib/typescript/module/ui/components/authChooser/styles.d.ts +209 -0
  1370. package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -0
  1371. package/lib/typescript/module/ui/components/authChooser/types.d.ts +141 -0
  1372. package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -0
  1373. package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts +16 -0
  1374. package/lib/typescript/module/ui/components/authChooser/useUsernameAvailability.d.ts.map +1 -0
  1375. package/lib/typescript/module/ui/components/feedback/constants.d.ts +5 -0
  1376. package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +1 -0
  1377. package/lib/typescript/module/ui/components/feedback/types.d.ts +46 -0
  1378. package/lib/typescript/module/ui/components/feedback/types.d.ts.map +1 -0
  1379. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +9 -0
  1380. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
  1381. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +17 -0
  1382. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -0
  1383. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +24 -0
  1384. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
  1385. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +16 -0
  1386. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
  1387. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +14 -0
  1388. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
  1389. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
  1390. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
  1391. package/lib/typescript/module/ui/components/internal/PinInput.d.ts +23 -0
  1392. package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +1 -0
  1393. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +22 -0
  1394. package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +1 -0
  1395. package/lib/typescript/module/ui/components/logo/LogoText.d.ts +22 -0
  1396. package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -0
  1397. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +26 -0
  1398. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
  1399. package/lib/typescript/module/ui/components/oauthNavigation.d.ts +43 -0
  1400. package/lib/typescript/module/ui/components/oauthNavigation.d.ts.map +1 -0
  1401. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts +23 -0
  1402. package/lib/typescript/module/ui/components/passkeyHubPopup.d.ts.map +1 -0
  1403. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
  1404. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
  1405. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +14 -0
  1406. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
  1407. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +16 -0
  1408. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
  1409. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
  1410. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
  1411. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
  1412. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
  1413. package/lib/typescript/module/ui/components/payment/constants.d.ts +7 -0
  1414. package/lib/typescript/module/ui/components/payment/constants.d.ts.map +1 -0
  1415. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +389 -0
  1416. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -0
  1417. package/lib/typescript/module/ui/components/payment/types.d.ts +40 -0
  1418. package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -0
  1419. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +28 -0
  1420. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
  1421. package/lib/typescript/module/ui/components/styles/overlay.d.ts +6 -0
  1422. package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -0
  1423. package/lib/typescript/module/ui/components/styles/shadow.d.ts +3 -0
  1424. package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +1 -0
  1425. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts +38 -0
  1426. package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -0
  1427. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts +6 -0
  1428. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
  1429. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts +2 -0
  1430. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
  1431. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts +20 -0
  1432. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +1 -0
  1433. package/lib/typescript/module/ui/constants/spacing.d.ts +33 -0
  1434. package/lib/typescript/module/ui/constants/spacing.d.ts.map +1 -0
  1435. package/lib/typescript/module/ui/context/OxyContext.d.ts +38 -0
  1436. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -0
  1437. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts +39 -0
  1438. package/lib/typescript/module/ui/context/commitSessionFlow.d.ts.map +1 -0
  1439. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +70 -0
  1440. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
  1441. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +5 -0
  1442. package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +1 -0
  1443. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +219 -0
  1444. package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -0
  1445. package/lib/typescript/module/ui/context/passkeyFlow.d.ts +96 -0
  1446. package/lib/typescript/module/ui/context/passkeyFlow.d.ts.map +1 -0
  1447. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +30 -0
  1448. package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -0
  1449. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts +15 -0
  1450. package/lib/typescript/module/ui/hooks/accountDialogSnapshot.d.ts.map +1 -0
  1451. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +87 -0
  1452. package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -0
  1453. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +30 -0
  1454. package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
  1455. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +301 -0
  1456. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
  1457. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
  1458. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
  1459. package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts +138 -0
  1460. package/lib/typescript/module/ui/hooks/queries/paymentTypes.d.ts.map +1 -0
  1461. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +137 -0
  1462. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -0
  1463. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +87 -0
  1464. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
  1465. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts +212 -0
  1466. package/lib/typescript/module/ui/hooks/queries/useAuthMethods.d.ts.map +1 -0
  1467. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts +50 -0
  1468. package/lib/typescript/module/ui/hooks/queries/useFileQueries.d.ts.map +1 -0
  1469. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts +64 -0
  1470. package/lib/typescript/module/ui/hooks/queries/usePaymentQueries.d.ts.map +1 -0
  1471. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +25 -0
  1472. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
  1473. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +44 -0
  1474. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
  1475. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts +173 -0
  1476. package/lib/typescript/module/ui/hooks/queries/userCache.d.ts.map +1 -0
  1477. package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts +9 -0
  1478. package/lib/typescript/module/ui/hooks/queries/userCacheRelationship.d.ts.map +1 -0
  1479. package/lib/typescript/module/ui/hooks/queryClient.d.ts +66 -0
  1480. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -0
  1481. package/lib/typescript/module/ui/hooks/useAssets.d.ts +35 -0
  1482. package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -0
  1483. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts +51 -0
  1484. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +1 -0
  1485. package/lib/typescript/module/ui/hooks/useAuth.d.ts +109 -0
  1486. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -0
  1487. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +34 -0
  1488. package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -0
  1489. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +27 -0
  1490. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +1 -0
  1491. package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts +49 -0
  1492. package/lib/typescript/module/ui/hooks/useDeviceSwitcher.d.ts.map +1 -0
  1493. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +19 -0
  1494. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
  1495. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts +29 -0
  1496. package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +1 -0
  1497. package/lib/typescript/module/ui/hooks/useFollow.d.ts +108 -0
  1498. package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +1 -0
  1499. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +35 -0
  1500. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +1 -0
  1501. package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts +50 -0
  1502. package/lib/typescript/module/ui/hooks/useFollowTarget.d.ts.map +1 -0
  1503. package/lib/typescript/module/ui/hooks/useI18n.d.ts +18 -0
  1504. package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -0
  1505. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +69 -0
  1506. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -0
  1507. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +23 -0
  1508. package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -0
  1509. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +14 -0
  1510. package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -0
  1511. package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts +8 -0
  1512. package/lib/typescript/module/ui/hooks/useOxyEvent.d.ts.map +1 -0
  1513. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +42 -0
  1514. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -0
  1515. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +7 -0
  1516. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +1 -0
  1517. package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts +14 -0
  1518. package/lib/typescript/module/ui/hooks/useReduceMotion.d.ts.map +1 -0
  1519. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts +48 -0
  1520. package/lib/typescript/module/ui/hooks/useResolvedFileUrls.d.ts.map +1 -0
  1521. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +46 -0
  1522. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -0
  1523. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts +57 -0
  1524. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +1 -0
  1525. package/lib/typescript/module/ui/hooks/useStorage.d.ts +16 -0
  1526. package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +1 -0
  1527. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +45 -0
  1528. package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -0
  1529. package/lib/typescript/module/ui/index.d.ts +38 -0
  1530. package/lib/typescript/module/ui/index.d.ts.map +1 -0
  1531. package/lib/typescript/module/ui/isFrontend.d.ts +3 -0
  1532. package/lib/typescript/module/ui/isFrontend.d.ts.map +1 -0
  1533. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +54 -0
  1534. package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -0
  1535. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +34 -0
  1536. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -0
  1537. package/lib/typescript/module/ui/navigation/routes.d.ts +20 -0
  1538. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -0
  1539. package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts +16 -0
  1540. package/lib/typescript/module/ui/navigation/surfaceBackBridge.d.ts.map +1 -0
  1541. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +75 -0
  1542. package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -0
  1543. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +194 -0
  1544. package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -0
  1545. package/lib/typescript/module/ui/navigation/surfaces.d.ts +110 -0
  1546. package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -0
  1547. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts +56 -0
  1548. package/lib/typescript/module/ui/oauth/browserAuthTransport.d.ts.map +1 -0
  1549. package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts +49 -0
  1550. package/lib/typescript/module/ui/oauth/completeOAuthCode.d.ts.map +1 -0
  1551. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts +50 -0
  1552. package/lib/typescript/module/ui/oauth/oauthHandshake.d.ts.map +1 -0
  1553. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts +83 -0
  1554. package/lib/typescript/module/ui/oauth/oauthPopup.d.ts.map +1 -0
  1555. package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts +67 -0
  1556. package/lib/typescript/module/ui/oauth/oauthPopupMessages.d.ts.map +1 -0
  1557. package/lib/typescript/module/ui/oauth/types.d.ts +176 -0
  1558. package/lib/typescript/module/ui/oauth/types.d.ts.map +1 -0
  1559. package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts +144 -0
  1560. package/lib/typescript/module/ui/runtime/createOxyRuntime.d.ts.map +1 -0
  1561. package/lib/typescript/module/ui/runtime/index.d.ts +16 -0
  1562. package/lib/typescript/module/ui/runtime/index.d.ts.map +1 -0
  1563. package/lib/typescript/module/ui/runtime/runtimeContext.d.ts +43 -0
  1564. package/lib/typescript/module/ui/runtime/runtimeContext.d.ts.map +1 -0
  1565. package/lib/typescript/module/ui/runtime/types.d.ts +89 -0
  1566. package/lib/typescript/module/ui/runtime/types.d.ts.map +1 -0
  1567. package/lib/typescript/module/ui/runtime/useRuntimeSnapshot.d.ts +23 -0
  1568. package/lib/typescript/module/ui/runtime/useRuntimeSnapshot.d.ts.map +1 -0
  1569. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts +10 -0
  1570. package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -0
  1571. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +12 -0
  1572. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
  1573. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +5 -0
  1574. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
  1575. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +5 -0
  1576. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -0
  1577. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +58 -0
  1578. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -0
  1579. package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts +38 -0
  1580. package/lib/typescript/module/ui/screens/ChangeAvatarScreen.d.ts.map +1 -0
  1581. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts +5 -0
  1582. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -0
  1583. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts +11 -0
  1584. package/lib/typescript/module/ui/screens/CreateAccountScreen.d.ts.map +1 -0
  1585. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts +13 -0
  1586. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -0
  1587. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts +14 -0
  1588. package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -0
  1589. package/lib/typescript/module/ui/screens/FAQScreen.d.ts +5 -0
  1590. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -0
  1591. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +5 -0
  1592. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -0
  1593. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts +5 -0
  1594. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -0
  1595. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +12 -0
  1596. package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +1 -0
  1597. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +12 -0
  1598. package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +1 -0
  1599. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +5 -0
  1600. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -0
  1601. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +5 -0
  1602. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -0
  1603. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +7 -0
  1604. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
  1605. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +5 -0
  1606. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -0
  1607. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +5 -0
  1608. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
  1609. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +13 -0
  1610. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -0
  1611. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts +5 -0
  1612. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -0
  1613. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +15 -0
  1614. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
  1615. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts +5 -0
  1616. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -0
  1617. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
  1618. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
  1619. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts +5 -0
  1620. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
  1621. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +9 -0
  1622. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -0
  1623. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +5 -0
  1624. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
  1625. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +5 -0
  1626. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
  1627. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +15 -0
  1628. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -0
  1629. package/lib/typescript/module/ui/screens/UserListScreen.d.ts +18 -0
  1630. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -0
  1631. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +14 -0
  1632. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
  1633. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +23 -0
  1634. package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts.map +1 -0
  1635. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +40 -0
  1636. package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
  1637. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +43 -0
  1638. package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
  1639. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +25 -0
  1640. package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
  1641. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +51 -0
  1642. package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
  1643. package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts +37 -0
  1644. package/lib/typescript/module/ui/screens/fileManagement/photoGridLayout.d.ts.map +1 -0
  1645. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +38 -0
  1646. package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +1 -0
  1647. package/lib/typescript/module/ui/screens/linkFormat.d.ts +23 -0
  1648. package/lib/typescript/module/ui/screens/linkFormat.d.ts.map +1 -0
  1649. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts +5 -0
  1650. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -0
  1651. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts +5 -0
  1652. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -0
  1653. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts +5 -0
  1654. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -0
  1655. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts +5 -0
  1656. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -0
  1657. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts +5 -0
  1658. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -0
  1659. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts +5 -0
  1660. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -0
  1661. package/lib/typescript/module/ui/server.d.ts +35 -0
  1662. package/lib/typescript/module/ui/server.d.ts.map +1 -0
  1663. package/lib/typescript/module/ui/session/authStore.d.ts +76 -0
  1664. package/lib/typescript/module/ui/session/authStore.d.ts.map +1 -0
  1665. package/lib/typescript/module/ui/session/backgroundSession.d.ts +42 -0
  1666. package/lib/typescript/module/ui/session/backgroundSession.d.ts.map +1 -0
  1667. package/lib/typescript/module/ui/session/createSessionClient.d.ts +40 -0
  1668. package/lib/typescript/module/ui/session/createSessionClient.d.ts.map +1 -0
  1669. package/lib/typescript/module/ui/session/identityBinding.d.ts +66 -0
  1670. package/lib/typescript/module/ui/session/identityBinding.d.ts.map +1 -0
  1671. package/lib/typescript/module/ui/session/index.d.ts +20 -0
  1672. package/lib/typescript/module/ui/session/index.d.ts.map +1 -0
  1673. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts +25 -0
  1674. package/lib/typescript/module/ui/session/nativeSecureStorage.d.ts.map +1 -0
  1675. package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts +32 -0
  1676. package/lib/typescript/module/ui/session/sharedDeviceCredentialStore.d.ts.map +1 -0
  1677. package/lib/typescript/module/ui/session/tokenTransport.d.ts +33 -0
  1678. package/lib/typescript/module/ui/session/tokenTransport.d.ts.map +1 -0
  1679. package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts +23 -0
  1680. package/lib/typescript/module/ui/session/useBackgroundSessionSync.d.ts.map +1 -0
  1681. package/lib/typescript/module/ui/stores/assetStore.d.ts +54 -0
  1682. package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -0
  1683. package/lib/typescript/module/ui/stores/authStore.d.ts +61 -0
  1684. package/lib/typescript/module/ui/stores/authStore.d.ts.map +1 -0
  1685. package/lib/typescript/module/ui/stores/followStore.d.ts +30 -0
  1686. package/lib/typescript/module/ui/stores/followStore.d.ts.map +1 -0
  1687. package/lib/typescript/module/ui/stores/followTargetStore.d.ts +84 -0
  1688. package/lib/typescript/module/ui/stores/followTargetStore.d.ts.map +1 -0
  1689. package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts +10 -0
  1690. package/lib/typescript/module/ui/stores/resetSessionScopedStores.d.ts.map +1 -0
  1691. package/lib/typescript/module/ui/types/fileManagement.d.ts +51 -0
  1692. package/lib/typescript/module/ui/types/fileManagement.d.ts.map +1 -0
  1693. package/lib/typescript/module/ui/types/navigation.d.ts +153 -0
  1694. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -0
  1695. package/lib/typescript/module/ui/types/surfaceScreen.d.ts +38 -0
  1696. package/lib/typescript/module/ui/types/surfaceScreen.d.ts.map +1 -0
  1697. package/lib/typescript/module/ui/utils/avatarUtils.d.ts +16 -0
  1698. package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -0
  1699. package/lib/typescript/module/ui/utils/colorUtils.d.ts +10 -0
  1700. package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +1 -0
  1701. package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts +24 -0
  1702. package/lib/typescript/module/ui/utils/commonsStoreLinks.d.ts.map +1 -0
  1703. package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts +33 -0
  1704. package/lib/typescript/module/ui/utils/deliveryPlatform.d.ts.map +1 -0
  1705. package/lib/typescript/module/ui/utils/deviceCredential.d.ts +8 -0
  1706. package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +1 -0
  1707. package/lib/typescript/module/ui/utils/errorHandlers.d.ts +35 -0
  1708. package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +1 -0
  1709. package/lib/typescript/module/ui/utils/fileManagement.d.ts +55 -0
  1710. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -0
  1711. package/lib/typescript/module/ui/utils/iconNames.d.ts +112 -0
  1712. package/lib/typescript/module/ui/utils/iconNames.d.ts.map +1 -0
  1713. package/lib/typescript/module/ui/utils/isWebBrowser.d.ts +9 -0
  1714. package/lib/typescript/module/ui/utils/isWebBrowser.d.ts.map +1 -0
  1715. package/lib/typescript/module/ui/utils/netConnectivity.d.ts +17 -0
  1716. package/lib/typescript/module/ui/utils/netConnectivity.d.ts.map +1 -0
  1717. package/lib/typescript/module/ui/utils/oauthReturn.d.ts +48 -0
  1718. package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +1 -0
  1719. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +48 -0
  1720. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -0
  1721. package/lib/typescript/module/ui/utils/storageHelpers.d.ts +28 -0
  1722. package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -0
  1723. package/lib/typescript/module/ui/utils/userUtils.d.ts +23 -0
  1724. package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -0
  1725. package/lib/typescript/module/utils/hookUtils.d.ts +102 -0
  1726. package/lib/typescript/module/utils/hookUtils.d.ts.map +1 -0
  1727. package/lib/typescript/module/webauthn/passkeyClient.d.ts +20 -0
  1728. package/lib/typescript/module/webauthn/passkeyClient.d.ts.map +1 -0
  1729. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts +15 -0
  1730. package/lib/typescript/module/webauthn/passkeyClient.native.d.ts.map +1 -0
  1731. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts +36 -0
  1732. package/lib/typescript/module/webauthn/passkeyClient.web.d.ts.map +1 -0
  1733. package/lib/typescript/nativewind-env.d.ts +1 -0
  1734. package/lib/typescript/types/expo-crypto.d.ts +29 -0
  1735. package/lib/typescript/types/expo-document-picker.d.ts +36 -0
  1736. package/lib/typescript/types/expo-haptics.d.ts +42 -0
  1737. package/lib/typescript/types/expo-image-picker.d.ts +35 -0
  1738. package/lib/typescript/types/expo-secure-store.d.ts +22 -0
  1739. package/lib/typescript/types/express.d.ts +24 -0
  1740. package/lib/typescript/types/react-native-classname.d.ts +39 -0
  1741. package/lib/typescript/types/react-native-web-style.d.ts +27 -0
  1742. package/package.json +1 -1
@@ -0,0 +1,984 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * AvatarCropScreen
5
+ *
6
+ * Flagship-grade circular crop editor presented after the user picks an image
7
+ * but before the avatar is uploaded. Inspired by iOS Photos, Google Photos and
8
+ * Instagram crop tools.
9
+ *
10
+ * Reached ONLY by navigating within a `ChangeAvatar` surface, so the panel
11
+ * morphs from the source list into the editor. The surface owns the chrome: this
12
+ * screen declares its title and its "Use photo" action through `useSurfaceHeader`
13
+ * and renders no bar of its own — the nav bar's back arrow is Cancel, and it
14
+ * returns to the source list.
15
+ *
16
+ * Architecture:
17
+ * - A dark crop stage, independent of theme, so photos always read well, inset
18
+ * inside the surface's own themed panel.
19
+ * - Circular viewport with white ring and a 3x3 rule-of-thirds grid that
20
+ * appears during gestures and fades after 800ms.
21
+ * - Floating zoom chip during pinch.
22
+ * - Pan + pinch via Gesture Handler, transform driven by Reanimated.
23
+ * - Reduced-motion aware entrance animation.
24
+ * - Haptics on milestones via dynamically imported expo-haptics (optional).
25
+ *
26
+ * `expo-image-manipulator` and `expo-haptics` are optional peer dependencies —
27
+ * loaded with `await import(...)`. A missing manipulator surfaces a clear
28
+ * error; missing haptics simply degrades silently.
29
+ */
30
+
31
+ import { useCallback, useMemo, useRef, useState } from 'react';
32
+ import { View, Text, StyleSheet, ActivityIndicator, Image, Platform, AccessibilityInfo, Pressable } from 'react-native';
33
+ import { Gesture, GestureDetector } from 'react-native-gesture-handler';
34
+ import Animated, { Easing, runOnJS, useAnimatedStyle, useSharedValue, withDelay, withSpring, withTiming } from 'react-native-reanimated';
35
+ import { useQuery, keepPreviousData } from '@tanstack/react-query';
36
+ import { useTheme } from '@oxyhq/bloom/theme';
37
+ import { logger } from '@oxyhq/core';
38
+ import { useOxy } from "../context/OxyContext.js";
39
+ import { useI18n } from "../hooks/useI18n.js";
40
+ import { useReduceMotion } from "../hooks/useReduceMotion.js";
41
+ import { useSurfaceHeader } from "../hooks/useSurfaceHeader.js";
42
+ import { toast } from '@oxyhq/bloom/toast';
43
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
44
+ /** Component name used in `logger` context for filtered diagnostics. */
45
+ const LOG_COMPONENT = 'AvatarCropScreen';
46
+
47
+ /** Final crop result handed back to the caller. */
48
+
49
+ /** Side length (in dp) of the crop viewport. The output is always 512x512px. */
50
+ const VIEWPORT_SIZE = 320;
51
+ const OUTPUT_SIZE = 512;
52
+ const MIN_SCALE = 1;
53
+ const MAX_SCALE = 4;
54
+ /** Zoom increment per +/- button press (web, where there is no pinch). */
55
+ const ZOOM_STEP = 0.5;
56
+ /** Tween duration for a button-driven zoom (collapses to 0 under reduce-motion). */
57
+ const ZOOM_BUTTON_DURATION_MS = 180;
58
+ /** Duration (ms) that the rule-of-thirds grid lingers after a gesture ends. */
59
+ const GRID_FADE_DELAY_MS = 800;
60
+ const GRID_FADE_DURATION_MS = 220;
61
+ /** Duration the zoom chip stays visible after a pinch ends. */
62
+ const ZOOM_CHIP_FADE_DELAY_MS = 600;
63
+ const ZOOM_CHIP_FADE_DURATION_MS = 200;
64
+ /** Stage color is fixed independent of theme so the photo always reads well. */
65
+ const CANVAS_BG = '#000000';
66
+ /** Corner radius of the dark stage block inside the surface's themed panel. */
67
+ const STAGE_RADIUS = 24;
68
+ const RING_COLOR = '#ffffff';
69
+ const RING_WIDTH = 2;
70
+ const REMOTE_HTTP_URI_PATTERN = /^https?:\/\//i;
71
+
72
+ /**
73
+ * Clamp the translation so the image edges never leave the viewport at any
74
+ * scale. Worklet-friendly (pure function, no closures over JS state) so the
75
+ * gesture handlers can reuse it without re-creating the closure each render.
76
+ */
77
+ function clampTranslation(tx, ty, s, baseW, baseH) {
78
+ 'worklet';
79
+
80
+ const scaledW = baseW * s;
81
+ const scaledH = baseH * s;
82
+ const maxX = Math.max(0, (scaledW - VIEWPORT_SIZE) / 2);
83
+ const maxY = Math.max(0, (scaledH - VIEWPORT_SIZE) / 2);
84
+ return {
85
+ tx: Math.min(Math.max(tx, -maxX), maxX),
86
+ ty: Math.min(Math.max(ty, -maxY), maxY)
87
+ };
88
+ }
89
+ /**
90
+ * Measure an image's intrinsic size via `Image.getSize`, wrapped as a Promise so
91
+ * it can be a React Query `queryFn` (no component state / effects). Rejects on a
92
+ * platform failure or degenerate dimensions so the query surfaces `isError`.
93
+ * Mirrors the `measurePhotoDimensions` helper the photo grid uses.
94
+ */
95
+ function measureImageSize(uri) {
96
+ return new Promise((resolve, reject) => {
97
+ Image.getSize(uri, (width, height) => {
98
+ if (!Number.isFinite(width) || !Number.isFinite(height) || width <= 0 || height <= 0) {
99
+ reject(new Error('Image reported invalid dimensions'));
100
+ return;
101
+ }
102
+ resolve({
103
+ width,
104
+ height
105
+ });
106
+ }, () => reject(new Error('Image measurement failed')));
107
+ });
108
+ }
109
+
110
+ /**
111
+ * Lazy-loaded reference to the expo-image-manipulator module. The module is an
112
+ * optional peer dep, so we resolve it on demand and surface a clean error
113
+ * upstream if the consuming app has not installed it.
114
+ */
115
+
116
+ async function loadImageManipulator() {
117
+ try {
118
+ const mod = await import('expo-image-manipulator');
119
+ if (!mod || typeof mod.manipulateAsync !== 'function') {
120
+ throw new Error('expo-image-manipulator did not export manipulateAsync');
121
+ }
122
+ return mod;
123
+ } catch (err) {
124
+ const message = err instanceof Error ? err.message : String(err);
125
+ throw new Error(`expo-image-manipulator is required for avatar cropping but is not installed: ${message}`);
126
+ }
127
+ }
128
+ function isCanvasLoadFailure(err) {
129
+ return Platform.OS === 'web' && typeof HTMLCanvasElement !== 'undefined' && err instanceof HTMLCanvasElement;
130
+ }
131
+ const SENSITIVE_URI_PATTERN = /\b(?:file|content|ph|assets-library):\/\/\S+|\/(?:data|var|private|storage|sdcard|tmp)\/\S+/gi;
132
+ function sanitizeImageErrorMessage(message) {
133
+ return message.replace(SENSITIVE_URI_PATTERN, '[redacted-uri]');
134
+ }
135
+ function normalizeCropError(err) {
136
+ if (isCanvasLoadFailure(err)) {
137
+ return new Error('Image could not be loaded for cropping');
138
+ }
139
+ if (err instanceof Error) {
140
+ return new Error(sanitizeImageErrorMessage(err.message || 'Failed to crop image'));
141
+ }
142
+ if (typeof err === 'string' && err.trim()) {
143
+ return new Error(sanitizeImageErrorMessage(err.trim()));
144
+ }
145
+ return new Error('Failed to crop image');
146
+ }
147
+ async function prepareImageForManipulator(uri) {
148
+ if (Platform.OS !== 'web' || !REMOTE_HTTP_URI_PATTERN.test(uri)) {
149
+ return {
150
+ uri
151
+ };
152
+ }
153
+ let response;
154
+ try {
155
+ response = await fetch(uri);
156
+ } catch (err) {
157
+ const message = err instanceof Error ? err.message : String(err);
158
+ throw new Error(`Image could not be loaded for cropping: ${message}`);
159
+ }
160
+ if (!response.ok) {
161
+ throw new Error(`Image could not be loaded for cropping (${response.status})`);
162
+ }
163
+ const blob = await response.blob();
164
+ if (blob.size <= 0) {
165
+ throw new Error('Image could not be loaded for cropping');
166
+ }
167
+ const contentType = response.headers.get('content-type') || blob.type;
168
+ if (contentType && !contentType.toLowerCase().startsWith('image/')) {
169
+ throw new Error('Selected file is not an image');
170
+ }
171
+ const objectUrl = URL.createObjectURL(blob);
172
+ return {
173
+ uri: objectUrl,
174
+ cleanup: () => URL.revokeObjectURL(objectUrl)
175
+ };
176
+ }
177
+
178
+ /**
179
+ * Haptic feedback wrapper. `expo-haptics` is an optional dependency — when not
180
+ * installed (or on web), all calls degrade silently. We resolve the module once
181
+ * and cache the promise so subsequent calls don't repeat the dynamic import.
182
+ */
183
+
184
+ let hapticsModulePromise = null;
185
+ function getHaptics() {
186
+ if (Platform.OS === 'web') return Promise.resolve(null);
187
+ if (hapticsModulePromise) return hapticsModulePromise;
188
+ hapticsModulePromise = (async () => {
189
+ try {
190
+ const mod = await import('expo-haptics');
191
+ if (!mod || typeof mod.impactAsync !== 'function') return null;
192
+ return mod;
193
+ } catch {
194
+ return null;
195
+ }
196
+ })();
197
+ return hapticsModulePromise;
198
+ }
199
+ async function hapticImpact(style) {
200
+ const h = await getHaptics();
201
+ if (!h) return;
202
+ const styleEnum = style === 'heavy' ? h.ImpactFeedbackStyle.Heavy : style === 'medium' ? h.ImpactFeedbackStyle.Medium : h.ImpactFeedbackStyle.Light;
203
+ try {
204
+ await h.impactAsync(styleEnum);
205
+ } catch {
206
+ // Silent — haptics are non-critical UX polish.
207
+ }
208
+ }
209
+ async function hapticNotification(type) {
210
+ const h = await getHaptics();
211
+ if (!h) return;
212
+ const typeEnum = type === 'error' ? h.NotificationFeedbackType.Error : type === 'warning' ? h.NotificationFeedbackType.Warning : h.NotificationFeedbackType.Success;
213
+ try {
214
+ await h.notificationAsync(typeEnum);
215
+ } catch {
216
+ // Silent.
217
+ }
218
+ }
219
+ async function hapticSelection() {
220
+ const h = await getHaptics();
221
+ if (!h) return;
222
+ try {
223
+ await h.selectionAsync();
224
+ } catch {
225
+ // Silent.
226
+ }
227
+ }
228
+ const AvatarCropScreen = ({
229
+ dismiss,
230
+ goBack,
231
+ imageUri,
232
+ imageFileId,
233
+ sourceWidth,
234
+ sourceHeight
235
+ }) => {
236
+ const theme = useTheme();
237
+ const {
238
+ t
239
+ } = useI18n();
240
+ const {
241
+ oxyServices
242
+ } = useOxy();
243
+ // Reactive OS reduce-motion preference (useSyncExternalStore, no effect). Pins
244
+ // the entrance spring off. Declared before `entrance` so its initial rest value
245
+ // is correct under reduce-motion.
246
+ const reduceMotion = useReduceMotion();
247
+
248
+ // The "My Oxy files" source hands us a file ID instead of a ready URL. Its
249
+ // download URL is usually private, so it must be resolved through the SDK
250
+ // (which throws on failure). Resolving it HERE — not in the source list — is
251
+ // what keeps the list from lingering on screen for the round-trip: this screen
252
+ // shows its own spinner on the dark canvas while the URL resolves. A React
253
+ // Query read (not an effect) so it stays declarative and cached.
254
+ const shouldResolveFile = !imageUri && !!imageFileId;
255
+ const sourceQuery = useQuery({
256
+ queryKey: ['avatarCropSource', imageFileId],
257
+ enabled: shouldResolveFile,
258
+ staleTime: Number.POSITIVE_INFINITY,
259
+ retry: false,
260
+ queryFn: async () => {
261
+ if (!imageFileId) {
262
+ throw new Error('No file id to resolve for cropping');
263
+ }
264
+ const resolved = await oxyServices.assetGetUrl(imageFileId);
265
+ if (!resolved?.url) {
266
+ throw new Error('No download URL returned for the selected image');
267
+ }
268
+ return resolved.url;
269
+ }
270
+ });
271
+
272
+ // The URL the cropper actually loads: the passed `imageUri`, else the URL the
273
+ // file-ID query resolved. While it resolves, `effectiveUri` is undefined and
274
+ // the stage shows its own spinner (never the empty state).
275
+ const effectiveUri = imageUri ?? sourceQuery.data;
276
+ const isResolvingSource = shouldResolveFile && !sourceQuery.data && !sourceQuery.isError;
277
+ const sourceErrorMessage = sourceQuery.isError ? t('changeAvatar.errors.loadImageFailed') || 'Could not load the selected image' : null;
278
+
279
+ // Natural size of the source image. Known up front (device/camera sources pass
280
+ // the dimensions) OR measured lazily from `effectiveUri` via a React Query read
281
+ // (no effect) — the same Image.getSize→useQuery pattern the photo grid uses.
282
+ const hasPassedDimensions = !!(sourceWidth && sourceHeight);
283
+ const measureQuery = useQuery({
284
+ queryKey: ['avatarCropMeasure', effectiveUri],
285
+ enabled: !!effectiveUri && !hasPassedDimensions,
286
+ queryFn: () => {
287
+ if (!effectiveUri) {
288
+ throw new Error('No image to measure');
289
+ }
290
+ return measureImageSize(effectiveUri);
291
+ },
292
+ staleTime: Number.POSITIVE_INFINITY,
293
+ retry: false,
294
+ placeholderData: keepPreviousData
295
+ });
296
+ const naturalSize = useMemo(() => {
297
+ if (sourceWidth && sourceHeight) return {
298
+ width: sourceWidth,
299
+ height: sourceHeight
300
+ };
301
+ return measureQuery.data ?? null;
302
+ }, [sourceWidth, sourceHeight, measureQuery.data]);
303
+ /** Measurement failed (bad dimensions / getSize error) — surfaced via the empty UI. */
304
+ const measureErrorMessage = measureQuery.isError ? t('editProfile.toasts.cropMeasureFailed') || 'Could not measure the image' : null;
305
+ const [isProcessing, setIsProcessing] = useState(false);
306
+ const [zoomLabel, setZoomLabel] = useState('1.0');
307
+ /** True when scale != MIN_SCALE OR translate != 0 — used to reveal the reset link. */
308
+ const [isModified, setIsModified] = useState(false);
309
+
310
+ // Shared values for the active gesture transform.
311
+ const scale = useSharedValue(MIN_SCALE);
312
+ const translateX = useSharedValue(0);
313
+ const translateY = useSharedValue(0);
314
+
315
+ // Entrance scale of the crop circle (pulse-in on mount).
316
+ const entrance = useSharedValue(reduceMotion ? 1 : 0.95);
317
+ /** 0..1 opacity for the rule-of-thirds grid and zoom chip. */
318
+ const gridOpacity = useSharedValue(0);
319
+ const zoomChipOpacity = useSharedValue(0);
320
+
321
+ // Refs that mirror the latest committed shared values so the JS-side
322
+ // confirm handler can read them without an extra `useSharedValue → react`
323
+ // bridge. Updated by `runOnJS(commit*)` from the gesture worklets.
324
+ const committedScale = useRef(MIN_SCALE);
325
+ const committedTranslateX = useRef(0);
326
+ const committedTranslateY = useRef(0);
327
+
328
+ // Saved start values for relative gesture math.
329
+ const savedScale = useSharedValue(MIN_SCALE);
330
+ const savedTranslateX = useSharedValue(0);
331
+ const savedTranslateY = useSharedValue(0);
332
+
333
+ // Track whether we've already announced a min/max bound during the current
334
+ // pinch so selection haptics don't fire on every frame.
335
+ const hitMinRef = useRef(false);
336
+ const hitMaxRef = useRef(false);
337
+
338
+ // The image is rendered at "cover" relative to the viewport. We compute
339
+ // `baseScale` so 1.0x means the image exactly covers the square; everything
340
+ // larger than that is user-zoom.
341
+ const baseFit = useMemo(() => {
342
+ if (!naturalSize) return null;
343
+ const ratio = naturalSize.width / naturalSize.height;
344
+ // Cover: the smaller dimension matches the viewport.
345
+ if (ratio >= 1) {
346
+ // Landscape — height fills viewport
347
+ return {
348
+ width: VIEWPORT_SIZE * ratio,
349
+ height: VIEWPORT_SIZE
350
+ };
351
+ }
352
+ return {
353
+ width: VIEWPORT_SIZE,
354
+ height: VIEWPORT_SIZE / ratio
355
+ };
356
+ }, [naturalSize]);
357
+
358
+ // Entrance pulse, driven from the crop frame's ref callback (fires on mount)
359
+ // rather than an effect — the media-cleanup `startEntrance` pattern. Reduce
360
+ // motion pins the frame at rest; otherwise it springs in from 0.95→1. The
361
+ // callback depends on `reduceMotion`, so if that preference resolves/flips the
362
+ // callback re-runs with the node and re-pins (snap to 1) — matching the old
363
+ // effect that snapped the entrance to rest when reduce-motion turned on.
364
+ const startEntrance = useCallback(node => {
365
+ if (!node) return; // unmount
366
+ if (reduceMotion) {
367
+ entrance.value = 1;
368
+ return;
369
+ }
370
+ entrance.value = withSpring(1, {
371
+ damping: 14,
372
+ stiffness: 180,
373
+ mass: 0.9
374
+ });
375
+ }, [entrance, reduceMotion]);
376
+ const commitTransform = useCallback((s, tx, ty) => {
377
+ committedScale.current = s;
378
+ committedTranslateX.current = tx;
379
+ committedTranslateY.current = ty;
380
+ const modified = Math.abs(s - MIN_SCALE) > 0.001 || Math.abs(tx) > 0.5 || Math.abs(ty) > 0.5;
381
+ setIsModified(modified);
382
+ setZoomLabel(s.toFixed(1));
383
+ }, []);
384
+
385
+ /** Show the rule-of-thirds grid; called from gesture worklets via runOnJS-free path. */
386
+ const showGrid = useCallback(() => {
387
+ gridOpacity.value = withTiming(1, {
388
+ duration: 120,
389
+ easing: Easing.out(Easing.quad)
390
+ });
391
+ }, [gridOpacity]);
392
+ const hideGrid = useCallback(() => {
393
+ gridOpacity.value = withDelay(GRID_FADE_DELAY_MS, withTiming(0, {
394
+ duration: GRID_FADE_DURATION_MS,
395
+ easing: Easing.in(Easing.quad)
396
+ }));
397
+ }, [gridOpacity]);
398
+ const showZoomChip = useCallback(() => {
399
+ zoomChipOpacity.value = withTiming(1, {
400
+ duration: 100
401
+ });
402
+ }, [zoomChipOpacity]);
403
+ const hideZoomChip = useCallback(() => {
404
+ zoomChipOpacity.value = withDelay(ZOOM_CHIP_FADE_DELAY_MS, withTiming(0, {
405
+ duration: ZOOM_CHIP_FADE_DURATION_MS
406
+ }));
407
+ }, [zoomChipOpacity]);
408
+
409
+ /** Dev-only ping fired once per gesture start so we can confirm in logs. */
410
+ const logGestureStart = useCallback(kind => {
411
+ logger.debug(`gesture start: ${kind}`, {
412
+ component: LOG_COMPONENT
413
+ });
414
+ }, []);
415
+ const panGesture = useMemo(() => Gesture.Pan().minDistance(2).onStart(() => {
416
+ 'worklet';
417
+
418
+ savedTranslateX.value = translateX.value;
419
+ savedTranslateY.value = translateY.value;
420
+ runOnJS(showGrid)();
421
+ runOnJS(logGestureStart)('pan');
422
+ }).onUpdate(event => {
423
+ 'worklet';
424
+
425
+ if (!baseFit) return;
426
+ const next = clampTranslation(savedTranslateX.value + event.translationX, savedTranslateY.value + event.translationY, scale.value, baseFit.width, baseFit.height);
427
+ translateX.value = next.tx;
428
+ translateY.value = next.ty;
429
+ }).onEnd(() => {
430
+ 'worklet';
431
+
432
+ runOnJS(commitTransform)(scale.value, translateX.value, translateY.value);
433
+ runOnJS(hideGrid)();
434
+ }), [baseFit, commitTransform, hideGrid, logGestureStart, savedTranslateX, savedTranslateY, scale, showGrid, translateX, translateY]);
435
+
436
+ /** Imperative helpers invoked from worklets via runOnJS. Stable refs. */
437
+ const resetPinchBounds = useCallback(() => {
438
+ hitMinRef.current = false;
439
+ hitMaxRef.current = false;
440
+ }, []);
441
+ const updateZoomLabel = useCallback(s => {
442
+ setZoomLabel(s.toFixed(1));
443
+ }, []);
444
+ const notifyMinBoundHit = useCallback(() => {
445
+ if (hitMinRef.current) return;
446
+ hitMinRef.current = true;
447
+ void hapticSelection();
448
+ }, []);
449
+ const notifyMaxBoundHit = useCallback(() => {
450
+ if (hitMaxRef.current) return;
451
+ hitMaxRef.current = true;
452
+ void hapticSelection();
453
+ }, []);
454
+ const pinchGesture = useMemo(() => Gesture.Pinch().onStart(() => {
455
+ 'worklet';
456
+
457
+ savedScale.value = scale.value;
458
+ runOnJS(showGrid)();
459
+ runOnJS(showZoomChip)();
460
+ runOnJS(resetPinchBounds)();
461
+ runOnJS(logGestureStart)('pinch');
462
+ }).onUpdate(event => {
463
+ 'worklet';
464
+
465
+ if (!baseFit) return;
466
+ const raw = savedScale.value * event.scale;
467
+ const nextScale = Math.min(MAX_SCALE, Math.max(MIN_SCALE, raw));
468
+ scale.value = nextScale;
469
+ // Re-clamp translation since the bounds depend on scale.
470
+ const clamped = clampTranslation(translateX.value, translateY.value, nextScale, baseFit.width, baseFit.height);
471
+ translateX.value = clamped.tx;
472
+ translateY.value = clamped.ty;
473
+ runOnJS(updateZoomLabel)(nextScale);
474
+ // Selection haptic on first frame at min/max.
475
+ if (nextScale <= MIN_SCALE + 0.001 && raw < MIN_SCALE) {
476
+ runOnJS(notifyMinBoundHit)();
477
+ } else if (nextScale >= MAX_SCALE - 0.001 && raw > MAX_SCALE) {
478
+ runOnJS(notifyMaxBoundHit)();
479
+ }
480
+ }).onEnd(() => {
481
+ 'worklet';
482
+
483
+ runOnJS(commitTransform)(scale.value, translateX.value, translateY.value);
484
+ runOnJS(hideGrid)();
485
+ runOnJS(hideZoomChip)();
486
+ }), [baseFit, commitTransform, hideGrid, hideZoomChip, logGestureStart, notifyMaxBoundHit, notifyMinBoundHit, resetPinchBounds, savedScale, scale, showGrid, showZoomChip, translateX, translateY, updateZoomLabel]);
487
+ const composedGesture = useMemo(() => Gesture.Simultaneous(panGesture, pinchGesture), [panGesture, pinchGesture]);
488
+
489
+ // Deps list every shared value the mapper reads so it re-runs on web (RN-Web
490
+ // has no worklets plugin — a mapper omitting its driver SVs freezes at the
491
+ // first frame, which would leave the button-driven zoom stuck). Native
492
+ // auto-tracks and ignores the extra deps, so this is safe cross-platform.
493
+ const imageAnimatedStyle = useAnimatedStyle(() => ({
494
+ transform: [{
495
+ translateX: translateX.value
496
+ }, {
497
+ translateY: translateY.value
498
+ }, {
499
+ scale: scale.value
500
+ }]
501
+ }), [translateX, translateY, scale]);
502
+
503
+ // `[entrance]` in deps so the ref-callback-driven entrance spring ticks on
504
+ // RN-Web (no worklets plugin); native auto-tracks and ignores the extra dep.
505
+ const cropFrameAnimatedStyle = useAnimatedStyle(() => ({
506
+ transform: [{
507
+ scale: entrance.value
508
+ }]
509
+ }), [entrance]);
510
+ const gridAnimatedStyle = useAnimatedStyle(() => ({
511
+ opacity: gridOpacity.value
512
+ }));
513
+ const zoomChipAnimatedStyle = useAnimatedStyle(() => ({
514
+ opacity: zoomChipOpacity.value
515
+ }));
516
+ const resetTransform = useCallback(() => {
517
+ const duration = reduceMotion ? 0 : 220;
518
+ scale.value = withTiming(MIN_SCALE, {
519
+ duration
520
+ });
521
+ translateX.value = withTiming(0, {
522
+ duration
523
+ });
524
+ translateY.value = withTiming(0, {
525
+ duration
526
+ });
527
+ commitTransform(MIN_SCALE, 0, 0);
528
+ void hapticImpact('light');
529
+ AccessibilityInfo.announceForAccessibility(t('editProfile.crop.a11yResetAnnouncement') || 'Crop reset');
530
+ }, [commitTransform, reduceMotion, scale, t, translateX, translateY]);
531
+
532
+ /**
533
+ * Web zoom controls. A desktop pointer has no pinch, so the +/- buttons drive
534
+ * the SAME `scale` shared value the pinch gesture does — clamped to the same
535
+ * bounds, with translation re-clamped through the shared {@link clampTranslation}
536
+ * helper so the image never leaves the viewport. Native keeps pinch (the
537
+ * buttons are hidden there). Reduced motion collapses the tween to an instant
538
+ * set. Reads the committed transform (refs) at press time, never during render.
539
+ */
540
+ const applyZoom = useCallback(direction => {
541
+ if (!baseFit || isProcessing) return;
542
+ const current = committedScale.current;
543
+ const target = Math.min(MAX_SCALE, Math.max(MIN_SCALE, current + direction * ZOOM_STEP));
544
+ if (Math.abs(target - current) < 0.001) {
545
+ // Already at the bound — a soft selection tick, no transform change.
546
+ void hapticSelection();
547
+ return;
548
+ }
549
+ const clamped = clampTranslation(committedTranslateX.current, committedTranslateY.current, target, baseFit.width, baseFit.height);
550
+ const duration = reduceMotion ? 0 : ZOOM_BUTTON_DURATION_MS;
551
+ scale.value = withTiming(target, {
552
+ duration
553
+ });
554
+ translateX.value = withTiming(clamped.tx, {
555
+ duration
556
+ });
557
+ translateY.value = withTiming(clamped.ty, {
558
+ duration
559
+ });
560
+ commitTransform(target, clamped.tx, clamped.ty);
561
+ void hapticImpact('light');
562
+ // Mirror the pinch's transient chrome so the buttons feel identical.
563
+ showGrid();
564
+ hideGrid();
565
+ showZoomChip();
566
+ hideZoomChip();
567
+ }, [baseFit, commitTransform, hideGrid, hideZoomChip, isProcessing, reduceMotion, scale, showGrid, showZoomChip, translateX, translateY]);
568
+
569
+ /**
570
+ * Convert the on-screen transform into pixel-space crop coordinates
571
+ * relative to the source image, then invoke expo-image-manipulator to
572
+ * crop + resize to 512x512 JPEG.
573
+ */
574
+ const handleConfirm = useCallback(async () => {
575
+ // Dev-only breadcrumb. Avoid logging `imageUri` so on-device file
576
+ // paths don't leak into breadcrumb sinks that surface debug output.
577
+ logger.debug('handleConfirm start', {
578
+ component: LOG_COMPONENT
579
+ }, {
580
+ hasBaseFit: !!baseFit,
581
+ hasNaturalSize: !!naturalSize,
582
+ committedScale: committedScale.current,
583
+ committedTranslateX: committedTranslateX.current,
584
+ committedTranslateY: committedTranslateY.current
585
+ });
586
+ if (!effectiveUri || !baseFit || !naturalSize) {
587
+ toast.error(t('editProfile.toasts.cropNotReady') || 'Image not ready yet');
588
+ return;
589
+ }
590
+ setIsProcessing(true);
591
+ let preparedImageCleanup;
592
+ try {
593
+ const {
594
+ manipulateAsync,
595
+ SaveFormat
596
+ } = await loadImageManipulator();
597
+ const s = committedScale.current;
598
+ const tx = committedTranslateX.current;
599
+ const ty = committedTranslateY.current;
600
+
601
+ // Visible viewport in *displayed image* pixel space (with scale applied):
602
+ // The viewport is centered on the image origin, then offset by (-tx, -ty).
603
+ const scaledImageWidth = baseFit.width * s;
604
+ const scaledImageHeight = baseFit.height * s;
605
+
606
+ // Top-left of viewport in displayed-pixel space:
607
+ const viewportLeft = (scaledImageWidth - VIEWPORT_SIZE) / 2 - tx;
608
+ const viewportTop = (scaledImageHeight - VIEWPORT_SIZE) / 2 - ty;
609
+
610
+ // Convert to source-image pixel space:
611
+ const sourcePerDisplay = naturalSize.width / scaledImageWidth;
612
+ const cropX = Math.max(0, viewportLeft * sourcePerDisplay);
613
+ const cropY = Math.max(0, viewportTop * sourcePerDisplay);
614
+ const cropSize = Math.min(naturalSize.width - cropX, naturalSize.height - cropY, VIEWPORT_SIZE * sourcePerDisplay);
615
+ if (!Number.isFinite(cropSize) || cropSize <= 0) {
616
+ throw new Error('Computed crop region is invalid');
617
+ }
618
+
619
+ // Dev-only crop coordinates. We log the derived crop region but
620
+ // never the input URI — paths are PII-adjacent on some platforms.
621
+ logger.debug('manipulateAsync input', {
622
+ component: LOG_COMPONENT
623
+ }, {
624
+ cropX,
625
+ cropY,
626
+ cropSize,
627
+ outputSize: OUTPUT_SIZE
628
+ });
629
+ const preparedImage = await prepareImageForManipulator(effectiveUri);
630
+ preparedImageCleanup = preparedImage.cleanup;
631
+ const result = await manipulateAsync(preparedImage.uri, [{
632
+ crop: {
633
+ originX: cropX,
634
+ originY: cropY,
635
+ width: cropSize,
636
+ height: cropSize
637
+ }
638
+ }, {
639
+ resize: {
640
+ width: OUTPUT_SIZE,
641
+ height: OUTPUT_SIZE
642
+ }
643
+ }], {
644
+ format: SaveFormat.JPEG,
645
+ compress: 0.85
646
+ });
647
+
648
+ // Log only the result's dimensions, never the on-disk URI.
649
+ logger.debug('manipulateAsync result', {
650
+ component: LOG_COMPONENT
651
+ }, {
652
+ width: result.width,
653
+ height: result.height
654
+ });
655
+ void hapticNotification('success');
656
+
657
+ // Resolve the surface's present() promise with the cropped JPEG and
658
+ // close it. The awaiting caller (`useAvatarPicker`) handles the
659
+ // upload + any success toast.
660
+ dismiss?.({
661
+ uri: result.uri,
662
+ width: result.width,
663
+ height: result.height,
664
+ mime: 'image/jpeg'
665
+ });
666
+ } catch (err) {
667
+ const normalizedError = normalizeCropError(err);
668
+ logger.error('handleConfirm failed', normalizedError, {
669
+ component: LOG_COMPONENT
670
+ });
671
+ void hapticNotification('error');
672
+ toast.error(normalizedError.message || t('editProfile.toasts.cropFailed') || 'Failed to crop image');
673
+ } finally {
674
+ preparedImageCleanup?.();
675
+ setIsProcessing(false);
676
+ }
677
+ }, [baseFit, effectiveUri, naturalSize, dismiss, t]);
678
+
679
+ /**
680
+ * The surface's "Use photo" CTA, declared through the Dialog header's
681
+ * `primaryAction` (a real Bloom Button with a loading spinner + disabled
682
+ * state) — the standardized trailing action, no bespoke node. Memoized so the
683
+ * header does not thrash.
684
+ */
685
+ const donePrimaryAction = useMemo(() => ({
686
+ label: t('editProfile.crop.confirm'),
687
+ onPress: () => void handleConfirm(),
688
+ disabled: isProcessing || !baseFit,
689
+ loading: isProcessing
690
+ }), [t, handleConfirm, isProcessing, baseFit]);
691
+
692
+ // No bar of our own: the surface owns the chrome. `goBack` pops back to the
693
+ // ChangeAvatar source list (and dismisses the surface if this is somehow the
694
+ // root frame), which is exactly Cancel.
695
+ useSurfaceHeader({
696
+ title: t('editProfile.crop.title'),
697
+ largeTitle: false,
698
+ primaryAction: donePrimaryAction,
699
+ onBack: goBack
700
+ });
701
+ const styles = useMemo(() => StyleSheet.create({
702
+ container: {
703
+ backgroundColor: theme.colors.background
704
+ },
705
+ stage: {
706
+ backgroundColor: CANVAS_BG,
707
+ borderRadius: STAGE_RADIUS,
708
+ overflow: 'hidden',
709
+ // Top padding clears the zoom chip, which floats 44dp above
710
+ // the crop frame and would otherwise be clipped by `overflow`.
711
+ paddingTop: 60,
712
+ paddingBottom: 28,
713
+ paddingHorizontal: 16,
714
+ alignItems: 'center',
715
+ justifyContent: 'center'
716
+ },
717
+ cropFrame: {
718
+ width: VIEWPORT_SIZE,
719
+ height: VIEWPORT_SIZE,
720
+ alignItems: 'center',
721
+ justifyContent: 'center'
722
+ },
723
+ viewport: {
724
+ width: VIEWPORT_SIZE,
725
+ height: VIEWPORT_SIZE,
726
+ overflow: 'hidden',
727
+ borderRadius: VIEWPORT_SIZE / 2,
728
+ backgroundColor: '#1a1a1a',
729
+ alignItems: 'center',
730
+ justifyContent: 'center'
731
+ },
732
+ image: {
733
+ width: baseFit?.width ?? VIEWPORT_SIZE,
734
+ height: baseFit?.height ?? VIEWPORT_SIZE
735
+ },
736
+ // Outer mask: large square that overlays the canvas, with a
737
+ // round transparent cutout in the middle. We achieve this with
738
+ // four edge boxes around the circle (top/bottom/left/right) so
739
+ // there's no need for SVG. Each box is 50% black.
740
+ ringOverlay: {
741
+ position: 'absolute',
742
+ width: VIEWPORT_SIZE,
743
+ height: VIEWPORT_SIZE,
744
+ borderRadius: VIEWPORT_SIZE / 2,
745
+ borderWidth: RING_WIDTH,
746
+ borderColor: RING_COLOR,
747
+ // Subtle inner shadow approximated with a thin secondary border.
748
+ ...Platform.select({
749
+ web: {
750
+ boxShadow: 'inset 0 0 14px rgba(0,0,0,0.45)'
751
+ },
752
+ default: {}
753
+ })
754
+ },
755
+ gridOverlay: {
756
+ position: 'absolute',
757
+ width: VIEWPORT_SIZE,
758
+ height: VIEWPORT_SIZE,
759
+ borderRadius: VIEWPORT_SIZE / 2,
760
+ overflow: 'hidden',
761
+ pointerEvents: 'none'
762
+ },
763
+ gridLineH: {
764
+ position: 'absolute',
765
+ left: 0,
766
+ right: 0,
767
+ height: StyleSheet.hairlineWidth,
768
+ backgroundColor: 'rgba(255,255,255,0.45)'
769
+ },
770
+ gridLineV: {
771
+ position: 'absolute',
772
+ top: 0,
773
+ bottom: 0,
774
+ width: StyleSheet.hairlineWidth,
775
+ backgroundColor: 'rgba(255,255,255,0.45)'
776
+ },
777
+ zoomChip: {
778
+ position: 'absolute',
779
+ top: -44,
780
+ alignSelf: 'center',
781
+ paddingHorizontal: 12,
782
+ paddingVertical: 6,
783
+ borderRadius: 999,
784
+ backgroundColor: 'rgba(0,0,0,0.7)',
785
+ minWidth: 56,
786
+ alignItems: 'center',
787
+ justifyContent: 'center'
788
+ },
789
+ zoomChipText: {
790
+ color: '#ffffff',
791
+ fontFamily: Platform.select({
792
+ ios: 'Menlo',
793
+ android: 'monospace',
794
+ default: 'ui-monospace, SFMono-Regular, Menlo, monospace'
795
+ }),
796
+ fontSize: 12,
797
+ letterSpacing: 0.2
798
+ },
799
+ helperBlock: {
800
+ paddingTop: 16,
801
+ alignItems: 'center',
802
+ gap: 8
803
+ },
804
+ helper: {
805
+ fontSize: 13,
806
+ lineHeight: 18,
807
+ color: theme.colors.textSecondary,
808
+ textAlign: 'center',
809
+ maxWidth: 320
810
+ },
811
+ resetLink: {
812
+ paddingHorizontal: 12,
813
+ paddingVertical: 6
814
+ },
815
+ resetLinkText: {
816
+ fontSize: 13,
817
+ color: theme.colors.primary,
818
+ textDecorationLine: 'underline'
819
+ },
820
+ emptyState: {
821
+ alignItems: 'center',
822
+ justifyContent: 'center',
823
+ paddingVertical: 48
824
+ },
825
+ emptyLabel: {
826
+ fontSize: 14,
827
+ color: theme.colors.textSecondary,
828
+ textAlign: 'center'
829
+ }
830
+ }), [baseFit, theme]);
831
+
832
+ // Reset link reveal — only show when the image is not at the default
833
+ // transform. Use derived display state to avoid mounting/unmounting jank.
834
+ const resetLinkOpacity = isModified ? 1 : 0;
835
+
836
+ // Zoom-button state is derived from `zoomLabel` (reactive state, set on every
837
+ // commit) rather than the committed-scale ref, so it stays correct across
838
+ // renders without reading mutable state during render. The +/- pair is web-only
839
+ // (native has pinch).
840
+ const currentZoom = Number.parseFloat(zoomLabel) || MIN_SCALE;
841
+ const canZoomOut = currentZoom > MIN_SCALE + 0.001;
842
+ const canZoomIn = currentZoom < MAX_SCALE - 0.001;
843
+ const showZoomControls = Platform.OS === 'web';
844
+ const zoomOutDisabled = !canZoomOut || !baseFit || isProcessing;
845
+ const zoomInDisabled = !canZoomIn || !baseFit || isProcessing;
846
+
847
+ // No source at all (and none resolving), a resolution failure, or a
848
+ // measurement failure — render a minimal empty state. While a file ID is still
849
+ // resolving, fall THROUGH to the stage so its own spinner shows, not this.
850
+ // The surface's nav bar (back = cancel) is the only chrome needed here.
851
+ if (!effectiveUri && !isResolvingSource || sourceErrorMessage || measureErrorMessage) {
852
+ const emptyMessage = sourceErrorMessage ? sourceErrorMessage : measureErrorMessage ? measureErrorMessage : t('editProfile.crop.noImage');
853
+ return /*#__PURE__*/_jsx(View, {
854
+ style: styles.container,
855
+ className: "px-screen-margin pb-space-24",
856
+ children: /*#__PURE__*/_jsx(View, {
857
+ style: styles.emptyState,
858
+ children: /*#__PURE__*/_jsx(Text, {
859
+ style: styles.emptyLabel,
860
+ children: emptyMessage
861
+ })
862
+ })
863
+ });
864
+ }
865
+ return /*#__PURE__*/_jsxs(View, {
866
+ style: styles.container,
867
+ className: "px-screen-margin pb-space-24",
868
+ children: [/*#__PURE__*/_jsxs(View, {
869
+ style: styles.stage,
870
+ children: [/*#__PURE__*/_jsxs(Animated.View, {
871
+ ref: startEntrance,
872
+ style: [styles.cropFrame, cropFrameAnimatedStyle],
873
+ accessible: true,
874
+ accessibilityRole: "image",
875
+ accessibilityLabel: t('editProfile.crop.a11yImage'),
876
+ children: [/*#__PURE__*/_jsx(GestureDetector, {
877
+ gesture: composedGesture,
878
+ children: /*#__PURE__*/_jsx(View, {
879
+ style: styles.viewport,
880
+ children: baseFit && effectiveUri ? /*#__PURE__*/_jsx(Animated.Image, {
881
+ source: {
882
+ uri: effectiveUri
883
+ },
884
+ style: [styles.image, imageAnimatedStyle],
885
+ resizeMode: "cover"
886
+ }) : /*#__PURE__*/_jsx(ActivityIndicator, {
887
+ color: "#ffffff"
888
+ })
889
+ })
890
+ }), /*#__PURE__*/_jsx(View, {
891
+ pointerEvents: "none",
892
+ style: styles.ringOverlay
893
+ }), /*#__PURE__*/_jsxs(Animated.View, {
894
+ pointerEvents: "none",
895
+ style: [styles.gridOverlay, gridAnimatedStyle],
896
+ children: [/*#__PURE__*/_jsx(View, {
897
+ style: [styles.gridLineH, {
898
+ top: VIEWPORT_SIZE / 3
899
+ }]
900
+ }), /*#__PURE__*/_jsx(View, {
901
+ style: [styles.gridLineH, {
902
+ top: VIEWPORT_SIZE * 2 / 3
903
+ }]
904
+ }), /*#__PURE__*/_jsx(View, {
905
+ style: [styles.gridLineV, {
906
+ left: VIEWPORT_SIZE / 3
907
+ }]
908
+ }), /*#__PURE__*/_jsx(View, {
909
+ style: [styles.gridLineV, {
910
+ left: VIEWPORT_SIZE * 2 / 3
911
+ }]
912
+ })]
913
+ }), /*#__PURE__*/_jsx(Animated.View, {
914
+ pointerEvents: "none",
915
+ style: [styles.zoomChip, zoomChipAnimatedStyle],
916
+ children: /*#__PURE__*/_jsx(Text, {
917
+ style: styles.zoomChipText,
918
+ children: t('editProfile.crop.zoom', {
919
+ value: zoomLabel
920
+ })
921
+ })
922
+ })]
923
+ }), showZoomControls ? /*#__PURE__*/_jsx(View, {
924
+ className: "absolute bottom-4 left-0 right-0 items-center",
925
+ pointerEvents: "box-none",
926
+ children: /*#__PURE__*/_jsxs(View, {
927
+ className: "flex-row overflow-hidden rounded-full bg-black/70",
928
+ children: [/*#__PURE__*/_jsx(Pressable, {
929
+ accessibilityRole: "button",
930
+ accessibilityLabel: t('editProfile.crop.zoomOut'),
931
+ accessibilityState: {
932
+ disabled: zoomOutDisabled
933
+ },
934
+ disabled: zoomOutDisabled,
935
+ onPress: () => applyZoom(-1),
936
+ className: `h-10 w-[52px] items-center justify-center active:bg-white/10${zoomOutDisabled ? ' opacity-40' : ''}`,
937
+ children: /*#__PURE__*/_jsx(Text, {
938
+ className: "text-white text-[22px] font-medium leading-[24px]",
939
+ children: '−'
940
+ })
941
+ }), /*#__PURE__*/_jsx(View, {
942
+ className: "w-px self-stretch bg-white/25"
943
+ }), /*#__PURE__*/_jsx(Pressable, {
944
+ accessibilityRole: "button",
945
+ accessibilityLabel: t('editProfile.crop.zoomIn'),
946
+ accessibilityState: {
947
+ disabled: zoomInDisabled
948
+ },
949
+ disabled: zoomInDisabled,
950
+ onPress: () => applyZoom(1),
951
+ className: `h-10 w-[52px] items-center justify-center active:bg-white/10${zoomInDisabled ? ' opacity-40' : ''}`,
952
+ children: /*#__PURE__*/_jsx(Text, {
953
+ className: "text-white text-[22px] font-medium leading-[24px]",
954
+ children: '+'
955
+ })
956
+ })]
957
+ })
958
+ }) : null]
959
+ }), /*#__PURE__*/_jsxs(View, {
960
+ style: styles.helperBlock,
961
+ children: [/*#__PURE__*/_jsx(Text, {
962
+ style: styles.helper,
963
+ children: t('editProfile.crop.helper')
964
+ }), /*#__PURE__*/_jsx(Pressable, {
965
+ accessibilityLabel: t('editProfile.crop.a11yReset'),
966
+ accessibilityRole: "button",
967
+ accessibilityState: {
968
+ disabled: !isModified || isProcessing
969
+ },
970
+ onPress: resetTransform,
971
+ disabled: !isModified || isProcessing,
972
+ style: [styles.resetLink, {
973
+ opacity: isProcessing ? 0.3 : resetLinkOpacity
974
+ }],
975
+ children: /*#__PURE__*/_jsx(Text, {
976
+ style: styles.resetLinkText,
977
+ children: t('editProfile.crop.resetToCenter')
978
+ })
979
+ })]
980
+ })]
981
+ });
982
+ };
983
+ export default AvatarCropScreen;
984
+ //# sourceMappingURL=AvatarCropScreen.js.map