ghost 6.54.0 → 6.54.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 (238) hide show
  1. package/components/ghost-storage-base-3.0.0.tgz +0 -0
  2. package/components/tryghost-adapter-base-cache-0.2.0.tgz +0 -0
  3. package/components/tryghost-adapter-base-scheduling-0.2.0.tgz +0 -0
  4. package/components/tryghost-adapter-base-sso-0.1.1.tgz +0 -0
  5. package/components/tryghost-kg-default-nodes-2.1.3.tgz +0 -0
  6. package/core/built/admin/assets/Growth-BTP1LthE.js +3 -0
  7. package/core/built/admin/assets/Newsletters-CSEX0myc.js +1 -0
  8. package/core/built/admin/assets/Overview-BjACEsJF.js +1 -0
  9. package/core/built/admin/assets/Web-CxxxjCcv.js +2 -0
  10. package/core/built/admin/assets/{account-migration-DLvVA5yq.js → account-migration-BklF2I_I.js} +1 -1
  11. package/core/built/admin/assets/activitypub/{account-migration-DHbZcxGM.js → account-migration-CNovr6W-.js} +4 -4
  12. package/core/built/admin/assets/activitypub/activitypub.js +2 -2
  13. package/core/built/admin/assets/activitypub/{bluesky-sharing-zfxUey_L.js → bluesky-sharing-Ceslb1_M.js} +4 -4
  14. package/core/built/admin/assets/activitypub/{dist-BqkDUQxJ2.js → dist-ByFmDSNP2.js} +64 -63
  15. package/core/built/admin/assets/activitypub/{dist-Ba_QxHHl.js → dist-DHAjBcV3.js} +2 -2
  16. package/core/built/admin/assets/activitypub/{domain-CmwSZLHK.js → domain-C1qQvJ8C.js} +5 -5
  17. package/core/built/admin/assets/activitypub/{edit-profile-CXdwNmVG.js → edit-profile-BcH-jEfM.js} +3 -3
  18. package/core/built/admin/assets/activitypub/{explore-DfbjzGM1.js → explore-AxwBh9dI.js} +3 -3
  19. package/core/built/admin/assets/activitypub/{feed-DSEBJOqf.js → feed-BaOlbh7a.js} +3 -3
  20. package/core/built/admin/assets/activitypub/{field-CY7XVcx6.js → field-B7mYYQpN.js} +2 -2
  21. package/core/built/admin/assets/activitypub/{inbox-DtQ0kytT.js → inbox-vXez-5uJ.js} +4 -4
  22. package/core/built/admin/assets/activitypub/{label-Dw96GQ7u.js → label-Chv5T8bw.js} +2 -2
  23. package/core/built/admin/assets/activitypub/layout-CziktJXo.js +1 -0
  24. package/core/built/admin/assets/activitypub/{moderation-Dg_-I-8C.js → moderation-DtSM2i1I.js} +4 -4
  25. package/core/built/admin/assets/activitypub/{note-Cy1-uKMY.js → note-Dckp4S-2.js} +3 -3
  26. package/core/built/admin/assets/activitypub/{notifications-B_fvoLIM.js → notifications-CG5T22vg.js} +3 -3
  27. package/core/built/admin/assets/activitypub/{preferences-ByJseZp6.js → preferences-D_799jdl.js} +6 -6
  28. package/core/built/admin/assets/activitypub/{profile-BFtbnIjz.js → profile-D2JfXBQl.js} +6 -6
  29. package/core/built/admin/assets/activitypub/{routes-Dh3xXfce.js → routes-CCHe2dQp.js} +28 -25
  30. package/core/built/admin/assets/activitypub/{settings-DTgqJPxM.js → settings-kx-9Enkz.js} +3 -3
  31. package/core/built/admin/assets/activitypub/{site-CdL9ZLqm.js → site-x4_IjVJ0.js} +2 -2
  32. package/core/built/admin/assets/activitypub/{tabs-ogqwoBlb.js → tabs-CyPRQQ1N.js} +3 -3
  33. package/core/built/admin/assets/activitypub/{use-reply-chain-data-CxonteFD.js → use-reply-chain-data-BAB6fNGt.js} +2 -2
  34. package/core/built/admin/assets/{audience-BKRdsFmy.js → audience-X_XsZivI.js} +1 -1
  35. package/core/built/admin/assets/{automated-emails-Cn87L5Md.js → automated-emails-of1MvVsv.js} +1 -1
  36. package/core/built/admin/assets/{automations-BP_aHamJ.js → automations-DRFjW5fw.js} +1 -1
  37. package/core/built/admin/assets/{bluesky-sharing-Bh36XPh4.js → bluesky-sharing-BbbjWdzs.js} +1 -1
  38. package/core/built/admin/assets/{breadcrumb-D34YWnaw.js → breadcrumb-B-M9Ip_2.js} +1 -1
  39. package/core/built/admin/assets/{chart-helpers-DbklaJw9.js → chart-helpers-xiSsW8r0.js} +1 -1
  40. package/core/built/admin/assets/checkbox-EhJKHFdZ.js +1 -0
  41. package/core/built/admin/assets/{chunk.962.b73442b07be930bb5d85.js → chunk.211.6f7328d63c41536451b3.js} +737 -559
  42. package/core/built/admin/assets/{chunk.962.b73442b07be930bb5d85.js.LICENSE.txt → chunk.211.6f7328d63c41536451b3.js.LICENSE.txt} +2 -0
  43. package/core/built/admin/assets/{chunk.589.096f4d0bb775e5229aa9.js → chunk.361.3cdb584b973959e52ccc.js} +3 -3
  44. package/core/built/admin/assets/chunk.524.8365cd9280405c0f6216.js +25 -0
  45. package/core/built/admin/assets/chunk.582.61d078937e6102769f2c.js +27 -0
  46. package/core/built/admin/assets/code-editor-view-CZtJFGhR.js +1 -0
  47. package/core/built/admin/assets/comments-CvyXxOyN.js +1 -0
  48. package/core/built/admin/assets/{date-range-select-B5vSsrpx.js → date-range-select-CTlyo8zW.js} +1 -1
  49. package/core/built/admin/assets/{disabled-sources-indicator-NkOIoMue.js → disabled-sources-indicator-qs2GfLvl.js} +1 -1
  50. package/core/built/admin/assets/dist-2Tnz2Yfq.js +1 -0
  51. package/core/built/admin/assets/dist-CjY-f5Z1.js +1 -0
  52. package/core/built/admin/assets/dist-DIC8yz5C.js +1 -0
  53. package/core/built/admin/assets/{domain-B7_n5nfx.js → domain-CPNXKVOV.js} +1 -1
  54. package/core/built/admin/assets/dropzone-BmCXnw6J.js +5 -0
  55. package/core/built/admin/assets/{edit-profile-rvDGrS8J.js → edit-profile-SGrJve5M.js} +1 -1
  56. package/core/built/admin/assets/editor-BOG2YPUm.js +8 -0
  57. package/core/built/admin/assets/{explore-BZAZOg5X.js → explore-CUYLv9G9.js} +1 -1
  58. package/core/built/admin/assets/{feed-CFV8xDw9.js → feed-CPdJMttL.js} +1 -1
  59. package/core/built/admin/assets/{field-BW-M2Zwp.js → field-D0XISCK2.js} +1 -1
  60. package/core/built/admin/assets/{filter-sources-Fx8wiYYw.js → filter-sources-Bieps75g.js} +1 -1
  61. package/core/built/admin/assets/{filters-CGX_pf2N.js → filters-CuB-A7ma.js} +1 -1
  62. package/core/built/admin/assets/filters-bXkkWro8.js +1 -0
  63. package/core/built/admin/assets/{ghost-b1dce91ad3232cc259ee5fbbf9526243.js → ghost-05f9a7182ed56903dba05878a5b8422b.js} +290 -289
  64. package/core/built/admin/assets/{gift-link-modal-Bk8qpnMw.js → gift-link-modal-su8MsRdg.js} +1 -1
  65. package/core/built/admin/assets/{growth-Ck2s3JjR.js → growth-Ba6S5FQX.js} +1 -1
  66. package/core/built/admin/assets/{inbox-BRp1_aaC.js → inbox-Xx1CdnfO.js} +8 -8
  67. package/core/built/admin/assets/index-D8PbzuT9.css +1 -0
  68. package/core/built/admin/assets/index-ukW_0Uie.js +67 -0
  69. package/core/built/admin/assets/input-group-CGOXcy4l.js +1 -0
  70. package/core/built/admin/assets/input-surface-BpAjZXY5.js +1 -0
  71. package/core/built/admin/assets/{koenig-lexical-CM7UFNdL.js → koenig-lexical-B61IALf5.js} +1 -1
  72. package/core/built/admin/assets/{kpi-card-CIGyijjx.js → kpi-card-BlZaG1Lo.js} +1 -1
  73. package/core/built/admin/assets/{kpi-card-BrGH6FsT.js → kpi-card-DCdlyaSS.js} +1 -1
  74. package/core/built/admin/assets/{kpi-helpers-_HRRsklE.js → kpi-helpers-DpAuS1Nb.js} +1 -1
  75. package/core/built/admin/assets/{kpi-tabs-BSvh9eoq.js → kpi-tabs-Dme44bQS.js} +1 -1
  76. package/core/built/admin/assets/{label-BOR9XdKl.js → label-dSs5aepE.js} +1 -1
  77. package/core/built/admin/assets/{label-picker-BdNAWuUX.js → label-picker-Uq91atex.js} +1 -1
  78. package/core/built/admin/assets/layout-WUcz6tu1.js +1 -0
  79. package/core/built/admin/assets/{member-custom-fields-DvFyamLu.js → member-custom-fields-NCzrMuba.js} +1 -1
  80. package/core/built/admin/assets/member-detail-DPWDtYnN.js +1 -0
  81. package/core/built/admin/assets/{members-DsPxYAVm.js → members-B9rO7qr4.js} +2 -2
  82. package/core/built/admin/assets/modals-CxRaan1J.js +31 -0
  83. package/core/built/admin/assets/{moderation-Dlp7M5sa.js → moderation-D8zon60E.js} +1 -1
  84. package/core/built/admin/assets/{multi-select-combobox-CH1o8XXQ.js → multi-select-combobox-1wYm3nle.js} +1 -1
  85. package/core/built/admin/assets/newsletter-DbYMRxRS.js +1 -0
  86. package/core/built/admin/assets/{note-BrAZ7Z0o.js → note-PiWPnnrh.js} +1 -1
  87. package/core/built/admin/assets/{notifications-BnbHLOPC.js → notifications-DEgqqB9G.js} +1 -1
  88. package/core/built/admin/assets/{onboarding-route-eU146kuA.js → onboarding-route-BzF6HeVn.js} +1 -1
  89. package/core/built/admin/assets/{overview-BpbaK-xu.js → overview-DixLeIqY.js} +1 -1
  90. package/core/built/admin/assets/{page-header-C0jVxtS8.js → page-header-op0eN36I.js} +1 -1
  91. package/core/built/admin/assets/{post-analytics-Iw7dk1mT.js → post-analytics-WwRDEnrV.js} +1 -1
  92. package/core/built/admin/assets/post-analytics-header-DsMoLx0R.js +1 -0
  93. package/core/built/admin/assets/{post-analytics-provider-BDqcfBor.js → post-analytics-provider-BJCPLMIb.js} +1 -1
  94. package/core/built/admin/assets/{post-share-modal-DBfKl2GZ.js → post-share-modal-Dx-MEjhI.js} +1 -1
  95. package/core/built/admin/assets/preferences-D7-j6A4C.js +5 -0
  96. package/core/built/admin/assets/profile-Dl69QPp0.js +1 -0
  97. package/core/built/admin/assets/select-C1qDZnW4.js +1 -0
  98. package/core/built/admin/assets/settings-BbmC_Iqq.js +4 -0
  99. package/core/built/admin/assets/{settings-Bz3RZRmE.js → settings-H6HxFgfI.js} +1 -1
  100. package/core/built/admin/assets/shade-app-B3heOAfz-CGXQwWeO.js +3 -0
  101. package/core/built/admin/assets/{share-modal-CkdTTMJd.js → share-modal-BJCadJyp.js} +1 -1
  102. package/core/built/admin/assets/social-urls-BPL1nADp.js +8 -0
  103. package/core/built/admin/assets/{sort-button-DZp9Y2r1.js → sort-button-DyYlfYp7.js} +1 -1
  104. package/core/built/admin/assets/{source-icon-CHr9qJ2Y.js → source-icon-_ubRDbg_.js} +1 -1
  105. package/core/built/admin/assets/{stats-DGoXZxWE.js → stats-BQZMGMvn.js} +1 -1
  106. package/core/built/admin/assets/{stats-view-D2-1L0ms.js → stats-view-Doei-qCX.js} +1 -1
  107. package/core/built/admin/assets/{step-1-RdahbwyG.js → step-1-IKiLBPoC.js} +1 -1
  108. package/core/built/admin/assets/{step-2-D83PeRwd.js → step-2-jJ41PsDN.js} +1 -1
  109. package/core/built/admin/assets/{step-3-p_Op4wv4.js → step-3-CaqFAEqf.js} +2 -2
  110. package/core/built/admin/assets/switch-t-WyENU2.js +1 -0
  111. package/core/built/admin/assets/{table-B8LgTQJZ.js → table-DxUL78jU.js} +1 -1
  112. package/core/built/admin/assets/{tabs-D3ZOYkM7.js → tabs-BQcJQ1ke.js} +1 -1
  113. package/core/built/admin/assets/{tags-B4l891z2.js → tags-CNujGwkT.js} +1 -1
  114. package/core/built/admin/assets/textarea-Bjccvh_E.js +1 -0
  115. package/core/built/admin/assets/{toggle-group-DNXDkAwf.js → toggle-group-BeEpQ69p.js} +1 -1
  116. package/core/built/admin/assets/{topic-filter-DZGjEcz3.js → topic-filter-Bb5MOD-1.js} +1 -1
  117. package/core/built/admin/assets/{use-analytics-data-CaT8RirX.js → use-analytics-data-Cds6XDjg.js} +1 -1
  118. package/core/built/admin/assets/use-filter-params-DjXkhO54.js +1 -0
  119. package/core/built/admin/assets/{use-growth-stats-9Db2CuJe.js → use-growth-stats-D8uf98-G.js} +1 -1
  120. package/core/built/admin/assets/{use-post-referrers-BV54YcQS.js → use-post-referrers-CRtgyuXB.js} +1 -1
  121. package/core/built/admin/assets/{use-reply-chain-data-DuYZGDan.js → use-reply-chain-data-DbKYX50v.js} +1 -1
  122. package/core/built/admin/assets/{use-simple-pagination-8fTua9Nt.js → use-simple-pagination-DC01kpo0.js} +1 -1
  123. package/core/built/admin/assets/{use-tinybird-query-Dz156HvZ.js → use-tinybird-query-C7bQRJWw.js} +1 -1
  124. package/core/built/admin/assets/{use-tinybird-token-C9RUdL_n.js → use-tinybird-token-Az4tam7_.js} +1 -1
  125. package/core/built/admin/assets/{virtual-list-BCvP0YF-.js → virtual-list-Dhuh9fGx.js} +1 -1
  126. package/core/built/admin/assets/web-LtHNiNBV.js +1 -0
  127. package/core/built/admin/index.html +11 -7
  128. package/core/frontend/services/proxy.js +11 -1
  129. package/core/server/adapters/storage/LocalFilesStorage.js +13 -11
  130. package/core/server/adapters/storage/LocalFilesStorage.ts +24 -0
  131. package/core/server/adapters/storage/LocalImagesStorage.js +14 -12
  132. package/core/server/adapters/storage/LocalImagesStorage.ts +24 -0
  133. package/core/server/adapters/storage/LocalMediaStorage.js +13 -11
  134. package/core/server/adapters/storage/LocalMediaStorage.ts +24 -0
  135. package/core/server/adapters/storage/LocalStorageBase.js +107 -167
  136. package/core/server/adapters/storage/LocalStorageBase.ts +342 -0
  137. package/core/server/adapters/storage/utils.js +36 -50
  138. package/core/server/adapters/storage/utils.ts +60 -0
  139. package/core/server/api/endpoints/db.js +6 -0
  140. package/core/server/api/endpoints/members.js +25 -28
  141. package/core/server/api/endpoints/pages.js +6 -1
  142. package/core/server/api/endpoints/posts.js +11 -2
  143. package/core/server/api/endpoints/utils/serializers/output/mappers/comments.js +4 -1
  144. package/core/server/api/endpoints/utils/serializers/output/members.js +18 -87
  145. package/core/server/data/exporter/export-filename.js +2 -1
  146. package/core/server/data/importer/importers/data/revue-subscriber-importer.js +6 -10
  147. package/core/server/data/importer/importers/json-to-html.js +24 -4
  148. package/core/server/lib/image/image-size.js +3 -17
  149. package/core/server/lib/image/image-utils.js +15 -1
  150. package/core/server/lib/request-external.js +1 -1
  151. package/core/server/models/user.js +46 -70
  152. package/core/server/services/auth/session/session-service.js +28 -1
  153. package/core/server/services/automations/automations-api.js +6 -6
  154. package/core/server/services/automations/automations-api.ts +6 -6
  155. package/core/server/services/automations/automations-repository.ts +1 -0
  156. package/core/server/services/automations/database-automations-repository.js +7 -2
  157. package/core/server/services/automations/database-automations-repository.ts +8 -2
  158. package/core/server/services/comments/comments-service-emails.js +4 -1
  159. package/core/server/services/members/{importer → import-export}/config.js +4 -9
  160. package/core/server/services/members/{importer → import-export}/config.ts +4 -9
  161. package/core/server/services/members/{csv → import-export/csv}/index.js +3 -3
  162. package/core/server/services/members/import-export/csv/index.ts +2 -0
  163. package/core/server/services/members/import-export/csv/parse.js +64 -0
  164. package/core/server/services/members/import-export/csv/parse.ts +69 -0
  165. package/core/server/services/members/import-export/csv/serialize.js +13 -0
  166. package/core/server/services/members/import-export/csv/serialize.ts +18 -0
  167. package/core/server/services/members/import-export/export/exporter.js +202 -0
  168. package/core/server/services/members/import-export/export/exporter.ts +325 -0
  169. package/core/server/services/members/import-export/import/completion-email.js +65 -0
  170. package/core/server/services/members/import-export/import/completion-email.ts +119 -0
  171. package/core/server/services/members/import-export/import/importer.js +276 -0
  172. package/core/server/services/members/import-export/import/importer.ts +430 -0
  173. package/core/server/services/members/import-export/import/reader.js +32 -0
  174. package/core/server/services/members/import-export/import/reader.ts +33 -0
  175. package/core/server/services/members/import-export/import/row.js +33 -0
  176. package/core/server/services/members/import-export/import/row.ts +52 -0
  177. package/core/server/services/members/import-export/import/spool.js +30 -0
  178. package/core/server/services/members/import-export/import/spool.ts +38 -0
  179. package/core/server/services/members/import-export/index.js +90 -0
  180. package/core/server/services/members/import-export/index.ts +118 -0
  181. package/core/server/services/members/members-api/controllers/router-controller.js +7 -0
  182. package/core/server/services/members/service.js +17 -19
  183. package/core/server/services/posts/posts-exporter.js +6 -4
  184. package/core/server/services/posts/posts-service.js +2 -2
  185. package/core/server/services/themes/storage.js +9 -0
  186. package/core/server/services/themes/theme-storage.js +1 -1
  187. package/core/shared/config/defaults.json +2 -1
  188. package/core/shared/express.js +6 -1
  189. package/core/shared/labs.js +2 -1
  190. package/package.json +9 -9
  191. package/pnpm-lock.yaml +17 -17
  192. package/pnpm-workspace.yaml +7 -7
  193. package/components/tryghost-adapter-base-scheduling-0.1.1.tgz +0 -0
  194. package/core/built/admin/assets/Growth-CSaHoSVD.js +0 -3
  195. package/core/built/admin/assets/Newsletters-C5cs6FGo.js +0 -1
  196. package/core/built/admin/assets/Overview-j4NaeUNm.js +0 -1
  197. package/core/built/admin/assets/Web-_fD935OX.js +0 -2
  198. package/core/built/admin/assets/activitypub/layout-IdVq3lRy.js +0 -1
  199. package/core/built/admin/assets/checkbox-DA4-1UiI.js +0 -1
  200. package/core/built/admin/assets/chunk.524.45e0875f41b71e46e849.js +0 -25
  201. package/core/built/admin/assets/chunk.582.51defd4b009f0de8d4d5.js +0 -27
  202. package/core/built/admin/assets/code-editor-view-BKBrkffZ.js +0 -1
  203. package/core/built/admin/assets/comments-CzVNIT8b.js +0 -1
  204. package/core/built/admin/assets/dist-CT46_f_J.js +0 -1
  205. package/core/built/admin/assets/dropzone-DcuJEEUf.js +0 -5
  206. package/core/built/admin/assets/editor-BCiIyFjm.js +0 -8
  207. package/core/built/admin/assets/filters-DtcXMZDU.js +0 -1
  208. package/core/built/admin/assets/index-BBf502Wg.js +0 -69
  209. package/core/built/admin/assets/index-BCCZKxP2.css +0 -1
  210. package/core/built/admin/assets/input-group-DjuYnNCd.js +0 -1
  211. package/core/built/admin/assets/layout-Bw4GnxXp.js +0 -1
  212. package/core/built/admin/assets/member-detail-Cg2vTqvJ.js +0 -1
  213. package/core/built/admin/assets/modals-Bf_fyvHZ.js +0 -31
  214. package/core/built/admin/assets/newsletter-CQ5CAYUI.js +0 -1
  215. package/core/built/admin/assets/post-analytics-header-D9pJ4iNm.js +0 -1
  216. package/core/built/admin/assets/preferences-D4EANGoc.js +0 -5
  217. package/core/built/admin/assets/profile-dJ44Bn_W.js +0 -1
  218. package/core/built/admin/assets/select--2uVN9_-.js +0 -1
  219. package/core/built/admin/assets/settings-SD9bxIpt.js +0 -4
  220. package/core/built/admin/assets/social-urls-BvFZwYcE.js +0 -8
  221. package/core/built/admin/assets/switch-qp518gFQ.js +0 -1
  222. package/core/built/admin/assets/textarea-CTlb3Uu6.js +0 -1
  223. package/core/built/admin/assets/use-filter-params-DeQ8sX4N.js +0 -1
  224. package/core/built/admin/assets/web-DTZnnUGr.js +0 -1
  225. package/core/server/services/mail/templates/newsletter.html +0 -876
  226. package/core/server/services/members/csv/index.ts +0 -3
  227. package/core/server/services/members/csv/parse.js +0 -94
  228. package/core/server/services/members/csv/parse.ts +0 -111
  229. package/core/server/services/members/csv/types.js +0 -2
  230. package/core/server/services/members/csv/types.ts +0 -39
  231. package/core/server/services/members/csv/unparse.js +0 -69
  232. package/core/server/services/members/csv/unparse.ts +0 -79
  233. package/core/server/services/members/exporter/query.js +0 -233
  234. package/core/server/services/members/importer/index.js +0 -30
  235. package/core/server/services/members/importer/labels.js +0 -125
  236. package/core/server/services/members/importer/members-csv-importer.js +0 -520
  237. /package/core/server/services/members/{importer → import-export/import}/email-template.js +0 -0
  238. /package/core/server/services/members/{importer/members-csv-importer-stripe-utils.js → import-export/import/stripe-utils.js} +0 -0
@@ -1 +1 @@
1
- import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-Bb3IsNbi.js";import{t as n}from"./jsx-runtime-DX3WBWVO.js";import{i as r,o as i,r as a,t as o}from"./field-BW-M2Zwp.js";import{Ir as s,R as c,Vs as l,er as u,ft as d,gt as f,jt as p,rr as m,ta as h,tr as g}from"./index-BBf502Wg.js";import"./layout-Bw4GnxXp.js";var _=e(t(),1),v=n(),y=/^@?[^@\s]+@[^@\s]+$/;function b(e){let t=e.trim();return t.startsWith(`@`)?t:`@${t}`}function x(e){try{let t=new URL(e),n=t.pathname.match(/^\/users\/([^/]+)\/?$/);return n?`${decodeURIComponent(n[1])}@${t.hostname}`:`${t.hostname}${t.pathname}`}catch{return e}}function S(e){if(typeof e==`object`&&e&&`statusCode`in e&&typeof e.statusCode==`number`){if(e.statusCode===400)return`Enter a valid handle, like old@mastodon.social.`;if(e.statusCode===404)return`Could not find that profile. Check the handle and try again.`}return`Something went wrong, please try again.`}var C=()=>{let{data:e,isError:t,isLoading:n,refetch:C}=d(`index`),w=f(`index`),T=p(`index`),[E,D]=(0,_.useState)(``),[O,k]=(0,_.useState)(null),[A,j]=(0,_.useState)(null),[M,N]=(0,_.useState)(null),P=[...e?.aliases??[]].reverse(),F=n||t||P.length>0,I=async e=>{e.preventDefault();let t=E.trim();if(!y.test(t)){k(`Enter a valid handle, like old@mastodon.social.`);return}k(null),j(null);try{let e=b(t);await w.mutateAsync(e),D(``)}catch(e){k(S(e))}},L=async e=>{j(null),N(e);try{await T.mutateAsync(e)}catch{j(`Could not remove migration profile.`)}finally{N(null)}};return(0,v.jsx)(c,{children:(0,v.jsxs)(`div`,{className:`mx-auto max-w-[620px] py-[min(4vh,48px)]`,children:[(0,v.jsx)(`div`,{className:`flex items-center justify-between gap-8`,children:(0,v.jsx)(l,{children:`Account migration`})}),(0,v.jsx)(`div`,{className:`mt-3 text-base text-gray-800 dark:text-gray-600`,children:(0,v.jsxs)(`p`,{children:[`You can move your followers from another social web account (eg. `,(0,v.jsx)(`a`,{className:`underline hover:text-black dark:hover:text-white`,href:`https://docs.joinmastodon.org/user/moving/#move`,rel:`noopener noreferrer`,target:`_blank`,children:`Mastodon`}),`) to this one by creating an account alias. This action is harmless and reversible. The account migration is initiated from the old account.`]})}),(0,v.jsx)(`form`,{className:`mt-10`,onSubmit:I,children:(0,v.jsxs)(o,{"data-invalid":O?!0:void 0,children:[(0,v.jsx)(i,{htmlFor:`account-migration-source-handle`,children:`Old account handle`}),(0,v.jsx)(a,{id:`account-migration-source-handle-description`,children:`Specify the username@domain of the account you want to move from`}),(0,v.jsxs)(`div`,{className:`flex flex-col gap-3 sm:flex-row`,children:[(0,v.jsx)(m,{"aria-describedby":O?`account-migration-source-handle-error`:`account-migration-source-handle-description`,"aria-invalid":O?!0:void 0,autoComplete:`off`,className:`sm:flex-1`,id:`account-migration-source-handle`,placeholder:`username@domain`,value:E,"data-1p-ignore":!0,onChange:e=>D(e.target.value)}),(0,v.jsxs)(s,{className:`relative h-9 text-sm sm:w-auto`,disabled:w.isPending,type:`submit`,children:[(0,v.jsx)(`span`,{className:w.isPending?`invisible`:void 0,children:`Create alias`}),w.isPending&&(0,v.jsxs)(`span`,{className:`absolute inset-0 flex items-center justify-center`,children:[(0,v.jsx)(u,{color:`light`,size:`sm`}),(0,v.jsx)(`span`,{className:`sr-only`,children:`Creating alias...`})]})]})]}),O&&(0,v.jsx)(r,{id:`account-migration-source-handle-error`,children:O}),A&&(0,v.jsx)(r,{id:`account-migration-alias-error`,children:A})]})}),F&&(0,v.jsxs)(`div`,{className:`mt-10`,"data-testid":`account-migration-aliases`,children:[(0,v.jsx)(`div`,{className:`pb-3`,children:(0,v.jsx)(i,{asChild:!0,children:(0,v.jsx)(`div`,{children:`Account aliases`})})}),n?(0,v.jsx)(`div`,{className:`border-t border-gray-200 py-4 dark:border-gray-950`,children:(0,v.jsx)(g,{className:`h-5 w-48`})}):t?(0,v.jsxs)(`div`,{className:`flex items-center justify-between gap-4 border-t border-gray-200 py-4 text-sm text-gray-700 dark:border-gray-950 dark:text-gray-600`,children:[(0,v.jsx)(`span`,{children:`Could not load account aliases.`}),(0,v.jsx)(s,{className:`px-0 font-medium`,variant:`link`,onClick:()=>C(),children:`Retry`})]}):(0,v.jsx)(`div`,{className:`divide-y divide-gray-200 border-t border-gray-200 dark:divide-gray-950 dark:border-gray-950`,children:P.map(e=>(0,v.jsxs)(`div`,{className:`flex items-center justify-between gap-4 py-4`,children:[(0,v.jsx)(`div`,{className:`min-w-0 truncate text-base text-black dark:text-white`,children:x(e.apId)}),(0,v.jsx)(s,{className:`shrink-0 px-0 font-medium text-gray-700 hover:text-red dark:text-gray-600 dark:hover:text-red`,disabled:M===e.apId,variant:`link`,onClick:()=>L(e.apId),children:M===e.apId?(0,v.jsx)(u,{size:`sm`}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(h,{size:15}),` Unlink`]})})]},e.apId))})]})]})})};export{C as default};
1
+ import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-Bb3IsNbi.js";import{t as n}from"./jsx-runtime-DX3WBWVO.js";import{i as r,o as i,r as a,t as o}from"./field-D0XISCK2.js";import{Ki as s,Nr as c,Os as l,R as u,er as d,ft as f,gt as p,jt as m,rr as h,tr as g}from"./index-ukW_0Uie.js";import"./layout-WUcz6tu1.js";var _=e(t(),1),v=n(),y=/^@?[^@\s]+@[^@\s]+$/;function b(e){let t=e.trim();return t.startsWith(`@`)?t:`@${t}`}function x(e){try{let t=new URL(e),n=t.pathname.match(/^\/users\/([^/]+)\/?$/);return n?`${decodeURIComponent(n[1])}@${t.hostname}`:`${t.hostname}${t.pathname}`}catch{return e}}function S(e){if(typeof e==`object`&&e&&`statusCode`in e&&typeof e.statusCode==`number`){if(e.statusCode===400)return`Enter a valid handle, like old@mastodon.social.`;if(e.statusCode===404)return`Could not find that profile. Check the handle and try again.`}return`Something went wrong, please try again.`}var C=()=>{let{data:e,isError:t,isLoading:n,refetch:C}=f(`index`),w=p(`index`),T=m(`index`),[E,D]=(0,_.useState)(``),[O,k]=(0,_.useState)(null),[A,j]=(0,_.useState)(null),[M,N]=(0,_.useState)(null),P=[...e?.aliases??[]].reverse(),F=n||t||P.length>0,I=async e=>{e.preventDefault();let t=E.trim();if(!y.test(t)){k(`Enter a valid handle, like old@mastodon.social.`);return}k(null),j(null);try{let e=b(t);await w.mutateAsync(e),D(``)}catch(e){k(S(e))}},L=async e=>{j(null),N(e);try{await T.mutateAsync(e)}catch{j(`Could not remove migration profile.`)}finally{N(null)}};return(0,v.jsx)(u,{children:(0,v.jsxs)(`div`,{className:`mx-auto max-w-[620px] py-[min(4vh,48px)]`,children:[(0,v.jsx)(`div`,{className:`flex items-center justify-between gap-8`,children:(0,v.jsx)(l,{children:`Account migration`})}),(0,v.jsx)(`div`,{className:`mt-3 text-base text-gray-800 dark:text-gray-600`,children:(0,v.jsxs)(`p`,{children:[`You can move your followers from another social web account (eg. `,(0,v.jsx)(`a`,{className:`underline hover:text-black dark:hover:text-white`,href:`https://docs.joinmastodon.org/user/moving/#move`,rel:`noopener noreferrer`,target:`_blank`,children:`Mastodon`}),`) to this one by creating an account alias. This action is harmless and reversible. The account migration is initiated from the old account.`]})}),(0,v.jsx)(`form`,{className:`mt-10`,onSubmit:I,children:(0,v.jsxs)(o,{"data-invalid":O?!0:void 0,children:[(0,v.jsx)(i,{htmlFor:`account-migration-source-handle`,children:`Old account handle`}),(0,v.jsx)(a,{id:`account-migration-source-handle-description`,children:`Specify the username@domain of the account you want to move from`}),(0,v.jsxs)(`div`,{className:`flex flex-col gap-3 sm:flex-row`,children:[(0,v.jsx)(h,{"aria-describedby":O?`account-migration-source-handle-error`:`account-migration-source-handle-description`,"aria-invalid":O?!0:void 0,autoComplete:`off`,className:`sm:flex-1`,id:`account-migration-source-handle`,placeholder:`username@domain`,value:E,"data-1p-ignore":!0,onChange:e=>D(e.target.value)}),(0,v.jsxs)(c,{className:`relative h-9 text-sm sm:w-auto`,disabled:w.isPending,type:`submit`,children:[(0,v.jsx)(`span`,{className:w.isPending?`invisible`:void 0,children:`Create alias`}),w.isPending&&(0,v.jsxs)(`span`,{className:`absolute inset-0 flex items-center justify-center`,children:[(0,v.jsx)(d,{color:`light`,size:`sm`}),(0,v.jsx)(`span`,{className:`sr-only`,children:`Creating alias...`})]})]})]}),O&&(0,v.jsx)(r,{id:`account-migration-source-handle-error`,children:O}),A&&(0,v.jsx)(r,{id:`account-migration-alias-error`,children:A})]})}),F&&(0,v.jsxs)(`div`,{className:`mt-10`,"data-testid":`account-migration-aliases`,children:[(0,v.jsx)(`div`,{className:`pb-3`,children:(0,v.jsx)(i,{asChild:!0,children:(0,v.jsx)(`div`,{children:`Account aliases`})})}),n?(0,v.jsx)(`div`,{className:`border-t border-gray-200 py-4 dark:border-gray-950`,children:(0,v.jsx)(g,{className:`h-5 w-48`})}):t?(0,v.jsxs)(`div`,{className:`flex items-center justify-between gap-4 border-t border-gray-200 py-4 text-sm text-gray-700 dark:border-gray-950 dark:text-gray-600`,children:[(0,v.jsx)(`span`,{children:`Could not load account aliases.`}),(0,v.jsx)(c,{className:`px-0 font-medium`,variant:`link`,onClick:()=>C(),children:`Retry`})]}):(0,v.jsx)(`div`,{className:`divide-y divide-gray-200 border-t border-gray-200 dark:divide-gray-950 dark:border-gray-950`,children:P.map(e=>(0,v.jsxs)(`div`,{className:`flex items-center justify-between gap-4 py-4`,children:[(0,v.jsx)(`div`,{className:`min-w-0 truncate text-base text-black dark:text-white`,children:x(e.apId)}),(0,v.jsx)(c,{className:`shrink-0 px-0 font-medium text-gray-700 hover:text-red dark:text-gray-600 dark:hover:text-red`,disabled:M===e.apId,variant:`link`,onClick:()=>L(e.apId),children:M===e.apId?(0,v.jsx)(d,{size:`sm`}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(s,{size:15}),` Unlink`]})})]},e.apId))})]})]})})};export{C as default};
@@ -1,11 +1,11 @@
1
1
  import { T as e, d as t } from "./_react-D4KM8XEu.js";
2
2
  import { S as n } from "./chunk-KS7C4IRE-D4HEcEwi.js";
3
- import { D as r, O as i, a, mt as o } from "./routes-Dh3xXfce.js";
3
+ import { D as r, O as i, a, mt as o } from "./routes-CCHe2dQp.js";
4
4
  import { r as s } from "./use-navigate-with-base-path-CAwXTmqH.js";
5
5
  import { D as c, n as l, o as u, q as d } from "./use-activity-pub-queries-VzbN99u_.js";
6
6
  import { u as f } from "./content-formatters-BpQARh28.js";
7
- import { i as p, n as m, r as h, t as g } from "./field-CY7XVcx6.js";
8
- import "./layout-IdVq3lRy.js";
7
+ import { i as p, n as m, r as h, t as g } from "./field-B7mYYQpN.js";
8
+ import "./layout-CziktJXo.js";
9
9
  //#region src/views/preferences/components/account-migration.tsx
10
10
  t();
11
11
  var _ = n(), v = /^@?[^@\s]+@[^@\s]+$/;
@@ -173,4 +173,4 @@ var S = () => {
173
173
  //#endregion
174
174
  export { S as default };
175
175
 
176
- //# sourceMappingURL=account-migration-DHbZcxGM.js.map
176
+ //# sourceMappingURL=account-migration-CNovr6W-.js.map
@@ -1,6 +1,6 @@
1
- (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.admin-x-base.shade-activitypub{animation-name:none}@keyframes bump{0%{transform:scale(1)}50%{transform:scale(.9)}to{transform:scale(1)}}@keyframes slideUp{0%{opacity:1;transform:translate(0,0)}50%{opacity:0;transform:translateY(-100%)}51%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translate(0,0)}}@keyframes slideDown{0%{opacity:1;transform:translate(0,0)}50%{opacity:0;transform:translateY(100%)}51%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translate(0,0)}}.animate-slide-up{will-change:transform, opacity;animation:.3s ease-in-out slideUp;display:inline-block}.animate-slide-down{will-change:transform, opacity;animation:.3s ease-in-out slideDown;display:inline-block}button.ap-action-button:active svg{animation:.3s ease-in-out bump}.ap-red-heart path{fill:#fb2d8d}.ap-note-content a,.ap-profile-content a,.ap-note-content-large a{color:#00a4eb!important}.ap-note-content a:hover,.ap-profile-content a:hover,.ap-note-content-large a:hover{text-decoration:underline!important}.ap-note-content span.invisible,.ap-profile-content span.invisible,.ap-note-content-large span.invisible{display:none}.ap-note-content a:not(.hashtag) span.ellipsis:after,.ap-profile-content a:not(.hashtag) span.ellipsis:after,.ap-note-content-large a:not(.hashtag) span.ellipsis:after,.ap-likes .ellipsis:after{content:"…"}.ap-note-content>*+*{margin-top:1.2rem!important}.ap-note-content-large>*+*{margin-top:1.65rem!important}.ap-note-content>h1+*,.ap-note-content>h2+*,.ap-note-content>h3+*{margin-top:.6rem!important}.ap-note-content-large>h1+*,.ap-note-content-large>h2+*,.ap-note-content-large>h3+*{margin-top:.8rem!important}.ap-note-content figure,.ap-note-content-large figure{display:none}.ap-note-content ul,.ap-note-content-large ul{padding-left:1rem!important;list-style-type:"-"!important}.ap-note-content ol,.ap-note-content-large ol{padding-left:1.7rem!important;list-style:auto!important}.ap-note-content li{padding-left:.4rem!important;font-size:1.4rem!important}.ap-note-content-large li{padding-left:.4rem!important;font-size:1.6rem!important}.ap-note-content h2,.ap-note-content h3,.ap-note-content h4,.ap-note-content h5{font-size:1.4rem!important;font-weight:600!important;line-height:1.375!important}.ap-note-content-large h2,.ap-note-content-large h3,.ap-note-content-large h4,.ap-note-content-large h5{font-size:1.6rem!important}.ap-note-content blockquote,.ap-note-content-large blockquote{border-left:2px solid #e5e9ed;padding-left:.8rem;margin:.6rem 0!important}.ap-note-content blockquote p{font-size:1.4rem;font-weight:400}.ap-note-content-large blockquote p{font-size:1.6rem;font-weight:400}.ap-note-content code,.ap-note-content-large code{color:#15171a;background-color:#f9fafb!important;font-size:1.3rem!important}.ap-note-content-large code{font-size:1.5rem!important}.ap-note-content mark,.ap-note-content-large mark{color:#15171a;background-color:#0000!important}.ap-likes .invisible{width:0;height:0;font-size:0;line-height:0;display:inline-block;position:absolute}.ap-textarea{field-sizing:content}
1
+ (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.shade-activitypub{animation-name:none}@keyframes bump{0%{transform:scale(1)}50%{transform:scale(.9)}to{transform:scale(1)}}@keyframes slideUp{0%{opacity:1;transform:translate(0,0)}50%{opacity:0;transform:translateY(-100%)}51%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translate(0,0)}}@keyframes slideDown{0%{opacity:1;transform:translate(0,0)}50%{opacity:0;transform:translateY(100%)}51%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translate(0,0)}}.animate-slide-up{will-change:transform, opacity;animation:.3s ease-in-out slideUp;display:inline-block}.animate-slide-down{will-change:transform, opacity;animation:.3s ease-in-out slideDown;display:inline-block}button.ap-action-button:active svg{animation:.3s ease-in-out bump}.ap-red-heart path{fill:#fb2d8d}.ap-note-content a,.ap-profile-content a,.ap-note-content-large a{color:#00a4eb!important}.ap-note-content a:hover,.ap-profile-content a:hover,.ap-note-content-large a:hover{text-decoration:underline!important}.ap-note-content span.invisible,.ap-profile-content span.invisible,.ap-note-content-large span.invisible{display:none}.ap-note-content a:not(.hashtag) span.ellipsis:after,.ap-profile-content a:not(.hashtag) span.ellipsis:after,.ap-note-content-large a:not(.hashtag) span.ellipsis:after,.ap-likes .ellipsis:after{content:"…"}.ap-note-content>*+*{margin-top:1.2rem!important}.ap-note-content-large>*+*{margin-top:1.65rem!important}.ap-note-content>h1+*,.ap-note-content>h2+*,.ap-note-content>h3+*{margin-top:.6rem!important}.ap-note-content-large>h1+*,.ap-note-content-large>h2+*,.ap-note-content-large>h3+*{margin-top:.8rem!important}.ap-note-content figure,.ap-note-content-large figure{display:none}.ap-note-content ul,.ap-note-content-large ul{padding-left:1rem!important;list-style-type:"-"!important}.ap-note-content ol,.ap-note-content-large ol{padding-left:1.7rem!important;list-style:auto!important}.ap-note-content li{padding-left:.4rem!important;font-size:1.4rem!important}.ap-note-content-large li{padding-left:.4rem!important;font-size:1.6rem!important}.ap-note-content h2,.ap-note-content h3,.ap-note-content h4,.ap-note-content h5{font-size:1.4rem!important;font-weight:600!important;line-height:1.375!important}.ap-note-content-large h2,.ap-note-content-large h3,.ap-note-content-large h4,.ap-note-content-large h5{font-size:1.6rem!important}.ap-note-content blockquote,.ap-note-content-large blockquote{border-left:2px solid #e5e9ed;padding-left:.8rem;margin:.6rem 0!important}.ap-note-content blockquote p{font-size:1.4rem;font-weight:400}.ap-note-content-large blockquote p{font-size:1.6rem;font-weight:400}.ap-note-content code,.ap-note-content-large code{color:#15171a;background-color:#f9fafb!important;font-size:1.3rem!important}.ap-note-content-large code{font-size:1.5rem!important}.ap-note-content mark,.ap-note-content-large mark{color:#15171a;background-color:#0000!important}.ap-likes .invisible{width:0;height:0;font-size:0;line-height:0;display:inline-block;position:absolute}.ap-textarea{field-sizing:content}
2
2
  /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import { S as e, g as t, r as n } from "./chunk-KS7C4IRE-D4HEcEwi.js";
3
- import { Z as r, t as i, xt as a } from "./routes-Dh3xXfce.js";
3
+ import { Z as r, t as i, xt as a } from "./routes-CCHe2dQp.js";
4
4
  import { o } from "./use-navigate-with-base-path-CAwXTmqH.js";
5
5
  import { C as s } from "./use-activity-pub-queries-VzbN99u_.js";
6
6
  //#region src/app.tsx
@@ -1,13 +1,13 @@
1
1
  import { T as e, d as t, g as n, v as r, w as i } from "./_react-D4KM8XEu.js";
2
2
  import { S as a } from "./chunk-KS7C4IRE-D4HEcEwi.js";
3
3
  import { o } from "./users-BLeiOTHc.js";
4
- import { A as s, D as c, F as l, G as u, I as d, J as f, L as p, M as m, N as h, P as g, U as _, X as ee, Y as te, a as v, ht as y, j as b } from "./routes-Dh3xXfce.js";
4
+ import { A as s, D as c, F as l, G as u, I as d, J as f, L as p, M as m, N as h, P as g, U as _, X as ee, Y as te, a as v, ht as y, j as b } from "./routes-CCHe2dQp.js";
5
5
  import { i as x, r as S } from "./use-navigate-with-base-path-CAwXTmqH.js";
6
6
  import { J as C, a as w, d as T, g as E, m as D, q as O } from "./use-activity-pub-queries-VzbN99u_.js";
7
7
  import { c as k, p as A } from "./content-formatters-BpQARh28.js";
8
8
  import { t as j } from "./copy-D9UWIAan.js";
9
- import { t as M } from "./edit-profile-CXdwNmVG.js";
10
- import "./layout-IdVq3lRy.js";
9
+ import { t as M } from "./edit-profile-BcH-jEfM.js";
10
+ import "./layout-CziktJXo.js";
11
11
  //#region src/views/preferences/components/bluesky-sharing.tsx
12
12
  t();
13
13
  var N = a(), ne = 5e3, P = 12, F = () => {
@@ -243,4 +243,4 @@ var N = a(), ne = 5e3, P = 12, F = () => {
243
243
  //#endregion
244
244
  export { F as default };
245
245
 
246
- //# sourceMappingURL=bluesky-sharing-zfxUey_L.js.map
246
+ //# sourceMappingURL=bluesky-sharing-Ceslb1_M.js.map
@@ -33,27 +33,27 @@ var f = String.raw, p = (() => {
33
33
  } catch {
34
34
  return !1;
35
35
  }
36
- })(), x = "round(nearest, calc(var(--number-flow-mask-height, 0.25em) / 2), 1px)", S = `calc(${x} * 2)`, C = "var(--number-flow-mask-width, 0.5em)", w = `calc(${C} / var(--scale-x))`, T = "#000 0, transparent 71%", E = f`:host{display:inline-block;direction:ltr;white-space:nowrap;isolation:isolate;line-height:1}.number,.number__inner{display:inline-block;transform-origin:left top}:host([data-will-change]) :is(.number,.number__inner,.section,.digit,.digit__num,.symbol){will-change:transform}.number{--scale-x:calc(1 + var(${_}) / var(--width));transform:translateX(var(${v})) scaleX(var(--scale-x));margin:0 calc(-1 * ${C});position:relative;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 ${w},#000 calc(100% - ${w}),transparent ),linear-gradient(to bottom,transparent 0,#000 ${S},#000 calc(100% - ${S}),transparent 100% ),radial-gradient(at bottom right,${T}),radial-gradient(at bottom left,${T}),radial-gradient(at top left,${T}),radial-gradient(at top right,${T});-webkit-mask-size:100% calc(100% - ${S} * 2),calc(100% - ${w} * 2) 100%,${w} ${S},${w} ${S},${w} ${S},${w} ${S};-webkit-mask-position:center,center,top left,top right,bottom right,bottom left;-webkit-mask-repeat:no-repeat}.number__inner{padding:${x} ${C};transform:scaleX(calc(1 / var(--scale-x))) translateX(calc(-1 * var(${v})))}:host > :not(.number){z-index:5}.section,.symbol{display:inline-block;position:relative;isolation:isolate}.section::after{content:'\200b';display:inline-block}.section--justify-left{transform-origin:center left}.section--justify-right{transform-origin:center right}.section > [inert],.symbol > [inert]{margin:0 !important;position:absolute !important;z-index:-1}.digit{display:inline-block;position:relative;--c:var(--current) + var(${y})}.digit__num,.number .section::after{padding:${x} 0}.digit__num{display:inline-block;--offset-raw:mod(var(--length) + var(--n) - mod(var(--c),var(--length)),var(--length));--offset:calc( var(--offset-raw) - var(--length) * round(down,var(--offset-raw) / (var(--length) / 2),1) );--y:clamp(-100%,var(--offset) * 100%,100%);transform:translateY(var(--y))}.digit__num[inert]{position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(var(--y))}.digit:not(.is-spinning) .digit__num[inert]{display:none}.symbol__value{display:inline-block;mix-blend-mode:plus-lighter;white-space:pre}.section--justify-left .symbol > [inert]{left:0}.section--justify-right .symbol > [inert]{right:0}.animate-presence{opacity:calc(1 + var(${g}))}`, D = typeof HTMLElement < "u" ? HTMLElement : class {}, O = f`:host{display:inline-block;direction:ltr;white-space:nowrap;line-height:1}span{display:inline-block}:host([data-will-change]) span{will-change:transform}.number,.digit{padding:${x} 0}.symbol{white-space:pre}`, ee = (e = "") => f`:where(number-flow${e}){line-height:1}number-flow${e} > span{font-kerning:none;display:inline-block;padding:${S} 0}`, te = (e, t) => e == null ? t : t == null ? e : Math.max(e, t), k = /* @__PURE__ */ new WeakMap(), A = {
36
+ })(), x = "round(nearest, calc(var(--number-flow-mask-height, 0.25em) / 2), 1px)", S = `calc(${x} * 2)`, C = "var(--number-flow-mask-width, 0.5em)", w = `calc(${C} / var(--scale-x))`, T = "#000 0, transparent 71%", E = f`:host{display:inline-block;direction:ltr;white-space:nowrap;isolation:isolate;line-height:1}.number,.number__inner{display:inline-block;transform-origin:left top}:host([data-will-change]) :is(.number,.number__inner,.section,.digit,.digit__num,.symbol){will-change:transform}.number{--scale-x:calc(1 + var(${_}) / var(--width));transform:translateX(var(${v})) scaleX(var(--scale-x));margin:0 calc(-1 * ${C});position:relative;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 ${w},#000 calc(100% - ${w}),transparent ),linear-gradient(to bottom,transparent 0,#000 ${S},#000 calc(100% - ${S}),transparent 100% ),radial-gradient(at bottom right,${T}),radial-gradient(at bottom left,${T}),radial-gradient(at top left,${T}),radial-gradient(at top right,${T});-webkit-mask-size:100% calc(100% - ${S} * 2),calc(100% - ${w} * 2) 100%,${w} ${S},${w} ${S},${w} ${S},${w} ${S};-webkit-mask-position:center,center,top left,top right,bottom right,bottom left;-webkit-mask-repeat:no-repeat}.number__inner{padding:${x} ${C};transform:scaleX(calc(1 / var(--scale-x))) translateX(calc(-1 * var(${v})))}:host > :not(.number){z-index:5}.section,.symbol{display:inline-block;position:relative;isolation:isolate}.section::after{content:'\200b';display:inline-block}.section--justify-left{transform-origin:center left}.section--justify-right{transform-origin:center right}.section > [inert],.symbol > [inert]{margin:0 !important;position:absolute !important;z-index:-1}.digit{display:inline-block;position:relative;--c:var(--current) + var(${y})}.digit__num,.number .section::after{padding:${x} 0}.digit__num{display:inline-block;--offset-raw:mod(var(--length) + var(--n) - mod(var(--c),var(--length)),var(--length));--offset:calc( var(--offset-raw) - var(--length) * round(down,var(--offset-raw) / (var(--length) / 2),1) );--y:clamp(-100%,var(--offset) * 100%,100%);transform:translateY(var(--y))}.digit__num[inert]{position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(var(--y))}.digit:not(.is-spinning) .digit__num[inert]{display:none}.symbol__value{display:inline-block;mix-blend-mode:plus-lighter;white-space:pre}.section--justify-left .symbol > [inert]{left:0}.section--justify-right .symbol > [inert]{right:0}.animate-presence{opacity:calc(1 + var(${g}))}`, D = typeof HTMLElement < "u" ? HTMLElement : class {}, O = f`:host{display:inline-block;direction:ltr;white-space:nowrap;line-height:1}span{display:inline-block}:host([data-will-change]) span{will-change:transform}.number,.digit{padding:${x} 0}.symbol{white-space:pre}`, k = (e = "") => f`:where(number-flow${e}){line-height:1}number-flow${e} > span{font-kerning:none;display:inline-block;padding:${S} 0}`, ee = (e, t) => e == null ? t : t == null ? e : Math.max(e, t), A = /* @__PURE__ */ new WeakMap(), j = {
37
37
  onUpdate(e, t, n) {
38
- if (k.set(n, void 0), !n.computedTrend) return;
38
+ if (A.set(n, void 0), !n.computedTrend) return;
39
39
  let r = t.integer.concat(t.fraction).filter((e) => e.type === "integer" || e.type === "fraction"), i = e.integer.concat(e.fraction).filter((e) => e.type === "integer" || e.type === "fraction"), a = r.find((e) => !i.find((t) => t.pos === e.pos && t.value === e.value)), o = i.find((e) => !r.find((t) => e.pos === t.pos && e.value === t.value));
40
- k.set(n, te(a?.pos, o?.pos));
40
+ A.set(n, ee(a?.pos, o?.pos));
41
41
  },
42
42
  getDelta(e, t, n) {
43
- let r = e - t, i = k.get(n.flow);
43
+ let r = e - t, i = A.get(n.flow);
44
44
  if (!r && i != null && i >= n.pos) return n.length * n.flow.computedTrend;
45
45
  }
46
- }, j = (e, t, n) => {
46
+ }, M = (e, t, n) => {
47
47
  let r = document.createElement(e), [i, a] = Array.isArray(t) ? [void 0, t] : [t, n];
48
48
  return i && Object.assign(r, i), a?.forEach((e) => r.appendChild(e)), r;
49
- }, M = (e, t) => t === "left" ? e.offsetLeft : ((e.offsetParent instanceof HTMLElement ? e.offsetParent : null)?.offsetWidth ?? 0) - e.offsetWidth - e.offsetLeft, ne = (e) => e.offsetWidth > 0 && e.offsetHeight > 0, re = (e, t) => {
49
+ }, N = (e, t) => t === "left" ? e.offsetLeft : ((e.offsetParent instanceof HTMLElement ? e.offsetParent : null)?.offsetWidth ?? 0) - e.offsetWidth - e.offsetLeft, te = (e) => e.offsetWidth > 0 && e.offsetHeight > 0, ne = (e, t) => {
50
50
  typeof HTMLElement < "u" && typeof customElements < "u" && !customElements.get(e) && customElements.define(e, t);
51
51
  };
52
- function ie(e, t, { reverse: n = !1 } = {}) {
52
+ function re(e, t, { reverse: n = !1 } = {}) {
53
53
  let r = e.length;
54
54
  for (let i = n ? r - 1 : 0; n ? i >= 0 : i < r; n ? i-- : i++) t(e[i], i);
55
55
  }
56
- function N(e, t, n, r) {
56
+ function P(e, t, n, r) {
57
57
  let i = t.formatToParts(e);
58
58
  n && i.unshift({
59
59
  type: "prefix",
@@ -108,9 +108,9 @@ function N(e, t, n, r) {
108
108
  value: typeof e == "string" ? parseFloat(e) : e
109
109
  };
110
110
  }
111
- var P = m && p && b, F = class extends D {
111
+ var F = m && p && b, I = class extends D {
112
112
  constructor() {
113
- super(), this.created = !1, this.batched = !1;
113
+ super(), this.created = !1, this.batched = !1, this._preUpdated = !1;
114
114
  let { animated: e, ...t } = this.constructor.defaultProps;
115
115
  this._animated = this.computedAnimated = e, Object.assign(this, t);
116
116
  }
@@ -123,11 +123,11 @@ var P = m && p && b, F = class extends D {
123
123
  }
124
124
  set data(e) {
125
125
  var t, n;
126
- if (e == null) return;
126
+ if (e == null || e === this._data) return;
127
127
  let { pre: r, integer: i, fraction: a, post: o, value: s } = e;
128
128
  if (this.created) {
129
129
  let c = this._data;
130
- this._data = e, this.computedTrend = typeof this.trend == "function" ? this.trend(c.value, s) : this.trend, this.computedAnimated = P && this._animated && (!this.respectMotionPreference || !((t = h) != null && t.matches)) && ne(this) && this.ownerDocument.visibilityState === "visible", (n = this.plugins) == null || n.forEach((t) => t.onUpdate?.call(t, e, c, this)), this.batched || this.willUpdate(), this._pre.update(r), this._num.update({
130
+ this._data = e, this.computedTrend = typeof this.trend == "function" ? this.trend(c.value, s) : this.trend, this.computedAnimated = F && this._animated && (!this.respectMotionPreference || !((t = h) != null && t.matches)) && te(this) && this.ownerDocument.visibilityState === "visible", (n = this.plugins) == null || n.forEach((t) => t.onUpdate?.call(t, e, c, this)), this.batched || this.willUpdate(), this._pre.update(r), this._num.update({
131
131
  integer: i,
132
132
  fraction: a
133
133
  }), this._post.update(o), this.batched || this.didUpdate();
@@ -137,10 +137,10 @@ var P = m && p && b, F = class extends D {
137
137
  this._internals ??= this.attachInternals(), this._internals.role = "img";
138
138
  } catch {}
139
139
  let t = document.createElement("style");
140
- this.nonce && (t.nonce = this.nonce), t.textContent = E, this.shadowRoot.appendChild(t), this._pre = new R(this, r, {
140
+ this.nonce && (t.nonce = this.nonce), t.textContent = E, this.shadowRoot.appendChild(t), this._pre = new z(this, r, {
141
141
  justify: "right",
142
142
  part: "left"
143
- }), this.shadowRoot.appendChild(this._pre.el), this._num = new ae(this, i, a), this.shadowRoot.appendChild(this._num.el), this._post = new R(this, o, {
143
+ }), this.shadowRoot.appendChild(this._pre.el), this._num = new ie(this, i, a), this.shadowRoot.appendChild(this._num.el), this._post = new z(this, o, {
144
144
  justify: "left",
145
145
  part: "right"
146
146
  }), this.shadowRoot.appendChild(this._post.el), this.created = !0;
@@ -150,10 +150,11 @@ var P = m && p && b, F = class extends D {
150
150
  } catch {}
151
151
  }
152
152
  willUpdate() {
153
- this._pre.willUpdate(), this._num.willUpdate(), this._post.willUpdate();
153
+ var e;
154
+ this._preUpdated = F && this._animated && (!this.respectMotionPreference || !((e = h) != null && e.matches)) && this.ownerDocument.visibilityState === "visible", this._preUpdated && (this._pre.willUpdate(), this._num.willUpdate(), this._post.willUpdate());
154
155
  }
155
156
  didUpdate() {
156
- if (!this.computedAnimated) return;
157
+ if (!this.computedAnimated || !this._preUpdated) return;
157
158
  this._abortAnimationsFinish ? this._abortAnimationsFinish.abort() : this.dispatchEvent(new Event("animationsstart")), this._pre.didUpdate(), this._num.didUpdate(), this._post.didUpdate();
158
159
  let e = new AbortController();
159
160
  Promise.all(this.shadowRoot.getAnimations().map((e) => e.finished)).then(() => {
@@ -161,7 +162,7 @@ var P = m && p && b, F = class extends D {
161
162
  }), this._abortAnimationsFinish = e;
162
163
  }
163
164
  };
164
- F.defaultProps = {
165
+ I.defaultProps = {
165
166
  transformTiming: {
166
167
  duration: 900,
167
168
  easing: "linear(0,.005,.019,.039,.066,.096,.129,.165,.202,.24,.278,.316,.354,.39,.426,.461,.494,.526,.557,.586,.614,.64,.665,.689,.711,.731,.751,.769,.786,.802,.817,.831,.844,.856,.867,.877,.887,.896,.904,.912,.919,.925,.931,.937,.942,.947,.951,.955,.959,.962,.965,.968,.971,.973,.976,.978,.98,.981,.983,.984,.986,.987,.988,.989,.99,.991,.992,.992,.993,.994,.994,.995,.995,.996,.996,.9963,.9967,.9969,.9972,.9975,.9977,.9979,.9981,.9982,.9984,.9985,.9987,.9988,.9989,1)"
@@ -177,15 +178,15 @@ F.defaultProps = {
177
178
  plugins: void 0,
178
179
  digits: void 0
179
180
  };
180
- var ae = class {
181
+ var ie = class {
181
182
  constructor(e, t, n, { className: r, ...i } = {}) {
182
- this.flow = e, this._integer = new L(e, t, {
183
+ this.flow = e, this._integer = new R(e, t, {
183
184
  justify: "right",
184
185
  part: "integer"
185
- }), this._fraction = new L(e, n, {
186
+ }), this._fraction = new R(e, n, {
186
187
  justify: "left",
187
188
  part: "fraction"
188
- }), this._inner = j("span", { className: "number__inner" }, [this._integer.el, this._fraction.el]), this.el = j("span", {
189
+ }), this._inner = M("span", { className: "number__inner" }, [this._integer.el, this._fraction.el]), this.el = M("span", {
189
190
  ...i,
190
191
  part: "number",
191
192
  className: `number ${r ?? ""}`
@@ -209,22 +210,22 @@ var ae = class {
209
210
  composite: "accumulate"
210
211
  });
211
212
  }
212
- }, I = class {
213
+ }, L = class {
213
214
  constructor(e, t, { justify: n, className: r, ...i }, a) {
214
215
  this.flow = e, this.children = /* @__PURE__ */ new Map(), this.onCharRemove = (e) => () => {
215
216
  this.children.delete(e);
216
217
  }, this.justify = n;
217
218
  let o = t.map((e) => this.addChar(e).el);
218
- this.el = j("span", {
219
+ this.el = M("span", {
219
220
  ...i,
220
221
  className: `section section--justify-${n} ${r ?? ""}`
221
222
  }, a ? a(o) : o);
222
223
  }
223
224
  addChar(e, { startDigitsAtZero: t = !1, ...n } = {}) {
224
- let r = e.type === "integer" || e.type === "fraction" ? new V(this, e.type, t ? 0 : e.value, e.pos, {
225
+ let r = e.type === "integer" || e.type === "fraction" ? new H(this, e.type, t ? 0 : e.value, e.pos, {
225
226
  ...n,
226
227
  onRemove: this.onCharRemove(e.key)
227
- }) : new H(this, e.type, e.value, {
228
+ }) : new U(this, e.type, e.value, {
228
229
  ...n,
229
230
  onRemove: this.onCharRemove(e.key)
230
231
  });
@@ -235,14 +236,14 @@ var ae = class {
235
236
  }
236
237
  pop(e) {
237
238
  e.forEach((e) => {
238
- e.el.style.top = `${e.el.offsetTop}px`, e.el.style[this.justify] = `${M(e.el, this.justify)}px`;
239
+ e.el.style.top = `${e.el.offsetTop}px`, e.el.style[this.justify] = `${N(e.el, this.justify)}px`;
239
240
  }), e.forEach((e) => {
240
241
  e.el.setAttribute("inert", ""), e.present = !1;
241
242
  });
242
243
  }
243
244
  addNewAndUpdateExisting(e) {
244
245
  let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = this.justify === "left", i = r ? "prepend" : "append";
245
- if (ie(e, (e) => {
246
+ if (re(e, (e) => {
246
247
  let r;
247
248
  this.children.has(e.key) ? (r = this.children.get(e.key), n.set(e, r), this.unpop(r), r.present = !0) : (r = this.addChar(e, {
248
249
  startDigitsAtZero: !0,
@@ -273,23 +274,23 @@ var ae = class {
273
274
  composite: "accumulate"
274
275
  });
275
276
  }
276
- }, L = class extends I {
277
+ }, R = class extends L {
277
278
  update(e) {
278
279
  let t = /* @__PURE__ */ new Map();
279
280
  this.children.forEach((n, r) => {
280
281
  e.find((e) => e.key === r) || t.set(r, n), this.unpop(n);
281
282
  }), this.addNewAndUpdateExisting(e), t.forEach((e) => {
282
- e instanceof V && e.update(0);
283
+ e instanceof H && e.update(0);
283
284
  }), this.pop(t);
284
285
  }
285
- }, R = class extends I {
286
+ }, z = class extends L {
286
287
  update(e) {
287
288
  let t = /* @__PURE__ */ new Map();
288
289
  this.children.forEach((n, r) => {
289
290
  e.find((e) => e.key === r) || t.set(r, n);
290
291
  }), this.pop(t), this.addNewAndUpdateExisting(e);
291
292
  }
292
- }, z = class {
293
+ }, B = class {
293
294
  constructor(e, t, { onRemove: n, animateIn: r = !1 } = {}) {
294
295
  this.flow = e, this.el = t, this._present = !0, this._remove = () => {
295
296
  var e;
@@ -314,16 +315,16 @@ var ae = class {
314
315
  }), e ? this.flow.removeEventListener("animationsfinish", this._remove) : this.flow.addEventListener("animationsfinish", this._remove, { once: !0 });
315
316
  }
316
317
  }
317
- }, B = class extends z {
318
+ }, V = class extends B {
318
319
  constructor(e, t, n, r) {
319
320
  super(e.flow, n, r), this.section = e, this.value = t, this.el = n;
320
321
  }
321
- }, V = class extends B {
322
+ }, H = class extends V {
322
323
  constructor(e, t, n, r, i) {
323
324
  let a = (e.flow.digits?.[r]?.max ?? 9) + 1, o = Array.from({ length: a }).map((e, t) => {
324
- let r = j("span", { className: "digit__num" }, [document.createTextNode(String(t))]);
325
+ let r = M("span", { className: "digit__num" }, [document.createTextNode(String(t))]);
325
326
  return t !== n && r.setAttribute("inert", ""), r.style.setProperty("--n", String(t)), r;
326
- }), s = j("span", {
327
+ }), s = M("span", {
327
328
  part: `digit ${t}-digit`,
328
329
  className: "digit"
329
330
  }, o);
@@ -360,18 +361,18 @@ var ae = class {
360
361
  let e = this.value - this._prevValue, t = this.flow.computedTrend || Math.sign(e);
361
362
  return t < 0 && this.value > this._prevValue ? this.value - this.length - this._prevValue : t > 0 && this.value < this._prevValue ? this.length - this._prevValue + this.value : e;
362
363
  }
363
- }, H = class extends B {
364
+ }, U = class extends V {
364
365
  constructor(e, t, n, r) {
365
- let i = j("span", {
366
+ let i = M("span", {
366
367
  className: "symbol__value",
367
368
  textContent: n
368
369
  });
369
- super(e, n, j("span", {
370
+ super(e, n, M("span", {
370
371
  part: `symbol ${t}`,
371
372
  className: "symbol"
372
373
  }, [i]), r), this.type = t, this._children = /* @__PURE__ */ new Map(), this._onChildRemove = (e) => () => {
373
374
  this._children.delete(e);
374
- }, this._children.set(n, new z(this.flow, i, { onRemove: this._onChildRemove(n) }));
375
+ }, this._children.set(n, new B(this.flow, i, { onRemove: this._onChildRemove(n) }));
375
376
  }
376
377
  willUpdate(e) {
377
378
  if (this.type === "decimal") return;
@@ -385,11 +386,11 @@ var ae = class {
385
386
  let n = this._children.get(e);
386
387
  if (n) n.present = !0;
387
388
  else {
388
- let t = j("span", {
389
+ let t = M("span", {
389
390
  className: "symbol__value",
390
391
  textContent: e
391
392
  });
392
- this.el.appendChild(t), this._children.set(e, new z(this.flow, t, {
393
+ this.el.appendChild(t), this._children.set(e, new B(this.flow, t, {
393
394
  animateIn: !0,
394
395
  onRemove: this._onChildRemove(e)
395
396
  }));
@@ -405,22 +406,22 @@ var ae = class {
405
406
  composite: "accumulate"
406
407
  });
407
408
  }
408
- }, U = (e) => [
409
+ }, W = (e) => [
409
410
  O,
410
- ee(e),
411
+ k(e),
411
412
  E
412
- ], W = parseInt(e.match(/^(\d+)\./)?.[1]) >= 19, G = ["data", "digits"], K = class extends F {
413
+ ], G = parseInt(e.match(/^(\d+)\./)?.[1]) >= 19, K = ["data", "digits"], q = class extends I {
413
414
  attributeChangedCallback(e, t, n) {
414
415
  this[e] = JSON.parse(n);
415
416
  }
416
417
  };
417
- K.observedAttributes = W ? [] : G, re("number-flow-react", K);
418
- var q = {};
419
- function oe(e) {
418
+ q.observedAttributes = G ? [] : K, ne("number-flow-react", q);
419
+ var J = {};
420
+ function ae(e) {
420
421
  return e;
421
422
  }
422
- var J = W ? oe : JSON.stringify;
423
- function Y(e) {
423
+ var Y = G ? ae : JSON.stringify;
424
+ function X(e) {
424
425
  let { transformTiming: t, spinTiming: n, opacityTiming: r, animated: i, respectMotionPreference: a, trend: o, plugins: s, ...c } = e;
425
426
  return [{
426
427
  transformTiming: t,
@@ -432,17 +433,17 @@ function Y(e) {
432
433
  plugins: s
433
434
  }, c];
434
435
  }
435
- var se = class extends c {
436
+ var oe = class extends c {
436
437
  updateProperties(e) {
437
438
  if (!this.el) return;
438
439
  this.el.batched = !this.props.isolate;
439
- let [t] = Y(this.props);
440
+ let [t] = X(this.props);
440
441
  Object.entries(t).forEach(([e, t]) => {
441
- this.el[e] = t ?? K.defaultProps[e];
442
+ this.el[e] = t ?? q.defaultProps[e];
442
443
  }), e?.onAnimationsStart && this.el.removeEventListener("animationsstart", e.onAnimationsStart), this.props.onAnimationsStart && this.el.addEventListener("animationsstart", this.props.onAnimationsStart), e?.onAnimationsFinish && this.el.removeEventListener("animationsfinish", e.onAnimationsFinish), this.props.onAnimationsFinish && this.el.addEventListener("animationsfinish", this.props.onAnimationsFinish);
443
444
  }
444
445
  componentDidMount() {
445
- this.updateProperties(), W && this.el && (this.el.digits = this.props.digits, this.el.data = this.props.data);
446
+ this.updateProperties(), G && this.el && (this.el.digits = this.props.digits, this.el.data = this.props.data);
446
447
  }
447
448
  getSnapshotBeforeUpdate(e) {
448
449
  if (this.updateProperties(e), e.data !== this.props.data) {
@@ -458,7 +459,7 @@ var se = class extends c {
458
459
  this.props.innerRef && (this.props.innerRef.current = e), this.el = e;
459
460
  }
460
461
  render() {
461
- let [e, { innerRef: t, className: n, data: r, nonce: i, willChange: a, isolate: o, group: c, digits: l, onAnimationsStart: u, onAnimationsFinish: d, ...f }] = Y(this.props);
462
+ let [e, { innerRef: t, className: n, data: r, nonce: i, willChange: a, isolate: o, group: c, digits: l, onAnimationsStart: u, onAnimationsFinish: d, ...f }] = X(this.props);
462
463
  return /*#__PURE__*/ s("number-flow-react", {
463
464
  ref: this.handleRef,
464
465
  "data-will-change": a ? "" : void 0,
@@ -467,25 +468,25 @@ var se = class extends c {
467
468
  ...f,
468
469
  dangerouslySetInnerHTML: { __html: "" },
469
470
  suppressHydrationWarning: !0,
470
- digits: J(l),
471
- data: J(r)
471
+ digits: Y(l),
472
+ data: Y(r)
472
473
  });
473
474
  }
474
475
  constructor(e) {
475
476
  super(e), this.handleRef = this.handleRef.bind(this);
476
477
  }
477
- }, X = /*#__PURE__*/ l(function({ value: e, locales: t, format: a, prefix: o, suffix: c, ...l }, u) {
478
+ }, se = /*#__PURE__*/ l(function({ value: e, locales: t, format: a, prefix: o, suffix: c, ...l }, u) {
478
479
  i(u, () => f.current, []);
479
480
  let f = d(void 0), p = r(Z);
480
481
  p?.useRegister(f);
481
- let m = n(() => t ? JSON.stringify(t) : "", [t]), h = n(() => a ? JSON.stringify(a) : "", [a]), g = n(() => N(e, q[`${m}:${h}`] ??= new Intl.NumberFormat(t, a), o, c), [
482
+ let m = n(() => t ? JSON.stringify(t) : "", [t]), h = n(() => a ? JSON.stringify(a) : "", [a]), g = n(() => P(e, J[`${m}:${h}`] ??= new Intl.NumberFormat(t, a), o, c), [
482
483
  e,
483
484
  m,
484
485
  h,
485
486
  o,
486
487
  c
487
488
  ]);
488
- return /*#__PURE__*/ s(se, {
489
+ return /*#__PURE__*/ s(oe, {
489
490
  ...l,
490
491
  group: p,
491
492
  data: g,
@@ -515,14 +516,14 @@ function ce({ children: e }) {
515
516
  return /*#__PURE__*/ s(Z.Provider, { value: a }, e);
516
517
  }
517
518
  //#endregion
518
- //#region ../../node_modules/.pnpm/@number-flow+react@0.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@number-flow/react/dist/index.mjs
519
+ //#region ../../node_modules/.pnpm/@number-flow+react@0.6.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@number-flow/react/dist/index.mjs
519
520
  o();
520
- var le = U("-react"), Q = () => t(() => () => {}, () => P, () => !1), $ = () => t((e) => (h?.addEventListener("change", e), () => h?.removeEventListener("change", e)), () => h.matches, () => !1);
521
+ var le = W("-react"), Q = () => t(() => () => {}, () => F, () => !1), $ = () => t((e) => (h?.addEventListener("change", e), () => h?.removeEventListener("change", e)), () => h.matches, () => !1);
521
522
  function ue({ respectMotionPreference: e = !0 } = {}) {
522
523
  let t = Q(), n = $();
523
524
  return t && (!e || !n);
524
525
  }
525
526
  //#endregion
526
- export { K as NumberFlowElement, ce as NumberFlowGroup, A as continuous, X as default, le as styles, ue as useCanAnimate, Q as useIsSupported, $ as usePrefersReducedMotion };
527
+ export { q as NumberFlowElement, ce as NumberFlowGroup, j as continuous, se as default, le as styles, ue as useCanAnimate, Q as useIsSupported, $ as usePrefersReducedMotion };
527
528
 
528
- //# sourceMappingURL=dist-BqkDUQxJ2.js.map
529
+ //# sourceMappingURL=dist-ByFmDSNP2.js.map
@@ -1,6 +1,6 @@
1
1
  import { T as e, _ as t, c as n, d as r, g as i, u as a, v as o, w as s } from "./_react-D4KM8XEu.js";
2
2
  import { S as c } from "./chunk-KS7C4IRE-D4HEcEwi.js";
3
- import { dt as l, ft as u, st as d } from "./routes-Dh3xXfce.js";
3
+ import { dt as l, ft as u, st as d } from "./routes-CCHe2dQp.js";
4
4
  import { f, m as p } from "./use-navigate-with-base-path-CAwXTmqH.js";
5
5
  import { a as m, c as h, i as g } from "./avatar-B3DEDB1l.js";
6
6
  //#region ../../node_modules/.pnpm/@radix-ui+react-collection@1.1.11_@types+react-dom@18.3.7_@types+react@18.3.31__@types+_d63a01f8f2419583266dd4480c0aa94b/node_modules/@radix-ui/react-collection/dist/index.mjs
@@ -212,4 +212,4 @@ var B = j, V = P;
212
212
  //#endregion
213
213
  export { v as a, b as i, B as n, O as r, V as t };
214
214
 
215
- //# sourceMappingURL=dist-Ba_QxHHl.js.map
215
+ //# sourceMappingURL=dist-DHAjBcV3.js.map
@@ -1,13 +1,13 @@
1
1
  import { T as e, a as t, d as n, v as r, w as i } from "./_react-D4KM8XEu.js";
2
2
  import { S as a } from "./chunk-KS7C4IRE-D4HEcEwi.js";
3
- import { D as o, O as s, a as ee } from "./routes-Dh3xXfce.js";
3
+ import { D as o, O as s, a as ee } from "./routes-CCHe2dQp.js";
4
4
  import { r as c, y as l } from "./use-navigate-with-base-path-CAwXTmqH.js";
5
5
  import { B as te, H as ne, a as re, q as ie, r as ae, z as oe } from "./use-activity-pub-queries-VzbN99u_.js";
6
6
  import { d as se, u } from "./content-formatters-BpQARh28.js";
7
7
  import { t as ce } from "./copy-D9UWIAan.js";
8
- import { a as le, i as ue, n as de, r as fe, t as pe } from "./site-CdL9ZLqm.js";
9
- import { i as d, r as f, t as p } from "./field-CY7XVcx6.js";
10
- import "./layout-IdVq3lRy.js";
8
+ import { a as le, i as ue, n as de, r as fe, t as pe } from "./site-x4_IjVJ0.js";
9
+ import { i as d, r as f, t as p } from "./field-B7mYYQpN.js";
10
+ import "./layout-CziktJXo.js";
11
11
  import { n as me, t as m } from "./social-web-handle-251Wqk4d.js";
12
12
  //#region ../shade/es/components/primitives/types.js
13
13
  var h = {
@@ -466,4 +466,4 @@ var x = () => {
466
466
  //#endregion
467
467
  export { x as default };
468
468
 
469
- //# sourceMappingURL=domain-CmwSZLHK.js.map
469
+ //# sourceMappingURL=domain-C1qQvJ8C.js.map
@@ -1,10 +1,10 @@
1
1
  import { T as e, _ as t, a as n, c as r, d as i, u as a, w as o, y as s } from "./_react-D4KM8XEu.js";
2
2
  import { S as c } from "./chunk-KS7C4IRE-D4HEcEwi.js";
3
3
  import { o as l } from "./users-BLeiOTHc.js";
4
- import { D as u, O as d, W as f, d as p, k as m, l as h, mt as g, p as _, pt as v, q as y } from "./routes-Dh3xXfce.js";
4
+ import { D as u, O as d, W as f, d as p, k as m, l as h, mt as g, p as _, pt as v, q as y } from "./routes-CCHe2dQp.js";
5
5
  import { d as b, r as x, y as S } from "./use-navigate-with-base-path-CAwXTmqH.js";
6
6
  import { B as ee, t as te } from "./use-activity-pub-queries-VzbN99u_.js";
7
- import { t as C } from "./label-Dw96GQ7u.js";
7
+ import { t as C } from "./label-Chv5T8bw.js";
8
8
  import { t as w } from "./social-web-handle-251Wqk4d.js";
9
9
  //#region ../../node_modules/.pnpm/react-hook-form@7.80.0_react@18.3.1/node_modules/react-hook-form/dist/index.esm.mjs
10
10
  var T = c();
@@ -4514,4 +4514,4 @@ var Fs = (e) => {
4514
4514
  //#endregion
4515
4515
  export { Ls as t };
4516
4516
 
4517
- //# sourceMappingURL=edit-profile-CXdwNmVG.js.map
4517
+ //# sourceMappingURL=edit-profile-BcH-jEfM.js.map
@@ -1,13 +1,13 @@
1
1
  import { a as e, d as t, v as n } from "./_react-D4KM8XEu.js";
2
2
  import { S as r, d as i } from "./chunk-KS7C4IRE-D4HEcEwi.js";
3
- import { D as a, a as o, b as s, x as c } from "./routes-Dh3xXfce.js";
3
+ import { D as a, a as o, b as s, x as c } from "./routes-CCHe2dQp.js";
4
4
  import { g as l, r as u, t as d } from "./use-navigate-with-base-path-CAwXTmqH.js";
5
5
  import { Y as f, _ as p, a as m } from "./use-activity-pub-queries-VzbN99u_.js";
6
6
  import { t as h } from "./x-C8tAnXly.js";
7
7
  import { c as g, i as _, o as v, s as y, u as b } from "./content-formatters-BpQARh28.js";
8
8
  import { n as x } from "./onboarding-D6rcBdPe.js";
9
9
  import "./onboarding-BFDkzeR2.js";
10
- import "./layout-IdVq3lRy.js";
10
+ import "./layout-CziktJXo.js";
11
11
  import { t as S } from "./topic-filter-DLHBZT93.js";
12
12
  var C = l("sprout", [
13
13
  ["path", {
@@ -175,4 +175,4 @@ var w = r(), T = ({ profile: e, update: t, isLoading: n, onOpenChange: r }) => {
175
175
  //#endregion
176
176
  export { E as default };
177
177
 
178
- //# sourceMappingURL=explore-DfbjzGM1.js.map
178
+ //# sourceMappingURL=explore-AxwBh9dI.js.map
@@ -1,13 +1,13 @@
1
1
  import { T as e, d as t, v as n, w as r } from "./_react-D4KM8XEu.js";
2
2
  import { S as i } from "./chunk-KS7C4IRE-D4HEcEwi.js";
3
- import { D as a, _t as o, a as s, b as c, c as l, i as u, m as d, n as f, r as p, vt as m, x as h } from "./routes-Dh3xXfce.js";
3
+ import { D as a, _t as o, a as s, b as c, c as l, i as u, m as d, n as f, r as p, vt as m, x as h } from "./routes-CCHe2dQp.js";
4
4
  import { r as g, t as _ } from "./use-navigate-with-base-path-CAwXTmqH.js";
5
5
  import { G as v, N as y, V as b, W as x, Y as S, v as C } from "./use-activity-pub-queries-VzbN99u_.js";
6
6
  import { i as w, t as T } from "./x-C8tAnXly.js";
7
7
  import { c as E, u as D } from "./content-formatters-BpQARh28.js";
8
8
  import { t as O } from "./hash-BC9Q0N4c.js";
9
9
  import { t as k } from "./separator-BI1FLsYM.js";
10
- import "./layout-IdVq3lRy.js";
10
+ import "./layout-CziktJXo.js";
11
11
  //#region src/views/feed/components/feed-input.tsx
12
12
  var A = i(), j = ({ user: e }) => /* @__PURE__ */ (0, A.jsx)(l, { children: /* @__PURE__ */ (0, A.jsxs)("div", {
13
13
  className: "relative my-5 w-full hover:cursor-pointer",
@@ -254,4 +254,4 @@ var P = () => {
254
254
  //#endregion
255
255
  export { P as default };
256
256
 
257
- //# sourceMappingURL=feed-DSEBJOqf.js.map
257
+ //# sourceMappingURL=feed-BaOlbh7a.js.map
@@ -1,7 +1,7 @@
1
1
  import { S as e, d as t } from "./_react-D4KM8XEu.js";
2
2
  import { S as n } from "./chunk-KS7C4IRE-D4HEcEwi.js";
3
3
  import { _ as r, y as i } from "./use-navigate-with-base-path-CAwXTmqH.js";
4
- import { t as a } from "./label-Dw96GQ7u.js";
4
+ import { t as a } from "./label-Chv5T8bw.js";
5
5
  //#region ../shade/es/components/ui/field.js
6
6
  t();
7
7
  var o = n(), s = r("group/field flex w-full gap-2 data-[invalid=true]:text-destructive", {
@@ -59,4 +59,4 @@ function d({ className: t, children: n, errors: r, ...a }) {
59
59
  //#endregion
60
60
  export { l as i, u as n, d as r, c as t };
61
61
 
62
- //# sourceMappingURL=field-CY7XVcx6.js.map
62
+ //# sourceMappingURL=field-B7mYYQpN.js.map
@@ -1,13 +1,13 @@
1
1
  import { A as e, S as t, T as n, a as r, d as i, g as a, v as o, w as s } from "./_react-D4KM8XEu.js";
2
2
  import { S as c, d as l } from "./chunk-KS7C4IRE-D4HEcEwi.js";
3
- import { D as u, G as d, H as f, J as p, K as m, S as h, St as g, U as _, V as v, Y as ee, _ as te, a as y, b, g as x, m as S, n as C, o as w, v as ne, x as T, y as E, z as D } from "./routes-Dh3xXfce.js";
3
+ import { D as u, G as d, H as f, J as p, K as m, S as h, St as g, U as _, V as v, Y as ee, _ as te, a as y, b, g as x, m as S, n as C, o as w, v as ne, x as T, y as E, z as D } from "./routes-CCHe2dQp.js";
4
4
  import { T as re, g as ie, r as O, t as ae, y as oe } from "./use-navigate-with-base-path-CAwXTmqH.js";
5
5
  import { G as k, P as se, W as ce, b as A, h as le } from "./use-activity-pub-queries-VzbN99u_.js";
6
6
  import { a as j, c as ue, f as M, i as de, l as fe, n as N, r as P, t as pe, u as F } from "./content-formatters-BpQARh28.js";
7
7
  import { t as I } from "./inbox-DQ4ZnC1m.js";
8
- import { i as me, n as he, r as ge, t as _e } from "./use-reply-chain-data-CxonteFD.js";
8
+ import { i as me, n as he, r as ge, t as _e } from "./use-reply-chain-data-BAB6fNGt.js";
9
9
  import { t as L } from "./separator-BI1FLsYM.js";
10
- import "./layout-IdVq3lRy.js";
10
+ import "./layout-CziktJXo.js";
11
11
  import { t as R } from "./topic-filter-DLHBZT93.js";
12
12
  var z = ie("minus", [["path", {
13
13
  d: "M5 12h14",
@@ -1218,4 +1218,4 @@ var ht = () => {
1218
1218
  //#endregion
1219
1219
  export { ht as default };
1220
1220
 
1221
- //# sourceMappingURL=inbox-DtQ0kytT.js.map
1221
+ //# sourceMappingURL=inbox-vXez-5uJ.js.map
@@ -1,6 +1,6 @@
1
1
  import { d as e, u as t } from "./_react-D4KM8XEu.js";
2
2
  import { S as n } from "./chunk-KS7C4IRE-D4HEcEwi.js";
3
- import { T as r } from "./routes-Dh3xXfce.js";
3
+ import { T as r } from "./routes-CCHe2dQp.js";
4
4
  import { _ as i, y as a } from "./use-navigate-with-base-path-CAwXTmqH.js";
5
5
  //#region ../shade/es/components/ui/label.js
6
6
  e();
@@ -13,4 +13,4 @@ c.displayName = r.displayName;
13
13
  //#endregion
14
14
  export { c as t };
15
15
 
16
- //# sourceMappingURL=label-Dw96GQ7u.js.map
16
+ //# sourceMappingURL=label-Chv5T8bw.js.map
@@ -0,0 +1 @@
1
+ import "./routes-CCHe2dQp.js";