ghost 6.62.0 → 6.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (439) hide show
  1. package/components/tryghost-adapter-base-jobs-0.0.0.tgz +0 -0
  2. package/components/tryghost-adapter-base-scheduling-0.2.3.tgz +0 -0
  3. package/components/tryghost-adapter-base-sso-0.1.3.tgz +0 -0
  4. package/components/tryghost-admin-api-schema-0.0.0.tgz +0 -0
  5. package/components/tryghost-checkout-0.0.0.tgz +0 -0
  6. package/components/tryghost-i18n-0.0.0.tgz +0 -0
  7. package/components/tryghost-kg-card-factory-5.2.4.tgz +0 -0
  8. package/components/tryghost-kg-clean-basic-html-4.3.4.tgz +0 -0
  9. package/components/tryghost-kg-converters-1.2.5.tgz +0 -0
  10. package/components/tryghost-kg-default-cards-10.3.5.tgz +0 -0
  11. package/components/tryghost-kg-default-nodes-2.2.1.tgz +0 -0
  12. package/components/tryghost-kg-default-transforms-1.3.4.tgz +0 -0
  13. package/components/tryghost-kg-html-to-lexical-1.4.0.tgz +0 -0
  14. package/components/tryghost-kg-lexical-html-renderer-1.5.0.tgz +0 -0
  15. package/components/tryghost-kg-markdown-html-renderer-7.2.4.tgz +0 -0
  16. package/components/tryghost-kg-utils-1.1.4.tgz +0 -0
  17. package/components/tryghost-limit-service-0.0.0.tgz +0 -0
  18. package/components/tryghost-metafield-types-0.0.0.tgz +0 -0
  19. package/content/themes/source/package.json +2 -2
  20. package/content/themes/source/partials/post-card.hbs +1 -1
  21. package/core/boot.js +7 -5
  22. package/core/built/admin/assets/{about-Dyae_UT6.js → about-C1C3s5-g.js} +1 -1
  23. package/core/built/admin/assets/accordion-CxGsDKwa.js +1 -0
  24. package/core/built/admin/assets/{account-migration-CESa0mnX.js → account-migration-CbUhW6gk.js} +1 -1
  25. package/core/built/admin/assets/activitypub/{account-migration-By69CgCp.js → account-migration-KA6Jjf9L.js} +7 -7
  26. package/core/built/admin/assets/activitypub/activitypub.js +3 -3
  27. package/core/built/admin/assets/activitypub/{avatar-DLPL3Abs.js → avatar-DVJF5bxP.js} +2 -2
  28. package/core/built/admin/assets/activitypub/{avatar-flipboard-C9iDY-QV.js → avatar-flipboard-csQaNeYK.js} +2 -2
  29. package/core/built/admin/assets/activitypub/{bluesky-sharing-BJcPMrDd.js → bluesky-sharing-C7nTDMvw.js} +9 -9
  30. package/core/built/admin/assets/activitypub/{content-formatters-3rTHg3mp.js → content-formatters-CLcjaBwV.js} +4 -4
  31. package/core/built/admin/assets/activitypub/{copy-DIAOQoCZ.js → copy-DcOh8kXw.js} +2 -2
  32. package/core/built/admin/assets/activitypub/{domain-DUR4xSkV.js → domain-fZ-X8i4-.js} +9 -9
  33. package/core/built/admin/assets/activitypub/{edit-profile-BqtfzxCp.js → edit-profile-BqMLQV88.js} +6 -6
  34. package/core/built/admin/assets/activitypub/{explore-BxuJd-J4.js → explore-B4yPoP8E.js} +10 -10
  35. package/core/built/admin/assets/activitypub/{feed-BM1TcksA.js → feed-BRC_mvAe.js} +9 -9
  36. package/core/built/admin/assets/activitypub/{field-Dn7HHx2-.js → field-COacNgOt.js} +3 -3
  37. package/core/built/admin/assets/activitypub/{hash-Bm3WxYN4.js → hash-C7u-irQQ.js} +2 -2
  38. package/core/built/admin/assets/activitypub/{inbox-CCjkuow2.js → inbox-BW-yvUoN.js} +10 -10
  39. package/core/built/admin/assets/activitypub/{inbox-d8oJRTf4.js → inbox-CbTTdDQ3.js} +2 -2
  40. package/core/built/admin/assets/activitypub/{label-1AA_s9Fa.js → label-kPMmYI7l.js} +3 -3
  41. package/core/built/admin/assets/activitypub/layout-BL4_jtuV.js +1 -0
  42. package/core/built/admin/assets/activitypub/{moderation-CnmxEB8w.js → moderation-CuidJzc0.js} +10 -10
  43. package/core/built/admin/assets/activitypub/{note-ZKc_Bnba.js → note-CAMRRSqD.js} +7 -7
  44. package/core/built/admin/assets/activitypub/{notifications-CB2tJZau.js → notifications-BmNlXGgp.js} +9 -9
  45. package/core/built/admin/assets/activitypub/{onboarding-BsJ9E5qf.js → onboarding-Bqg7fh_L.js} +2 -2
  46. package/core/built/admin/assets/activitypub/{onboarding-CSUJJIlh.js → onboarding-Dmun9jr_.js} +2 -2
  47. package/core/built/admin/assets/activitypub/{preferences-0-JZnUkI.js → preferences--oH19wf9.js} +11 -11
  48. package/core/built/admin/assets/activitypub/{profile-C35cFIhM.js → profile-DH_tQx2D.js} +14 -14
  49. package/core/built/admin/assets/activitypub/{reply-DYK5vVqb.js → reply-Cap9PxSH.js} +2 -2
  50. package/core/built/admin/assets/activitypub/{routes-BD4vscyc.js → routes-DdyY9uFF.js} +30 -30
  51. package/core/built/admin/assets/activitypub/{separator-BbQqTm-p.js → separator-CAxxu8VV.js} +3 -3
  52. package/core/built/admin/assets/activitypub/{settings-BsMROdqh.js → settings-B6EEcVkW.js} +6 -6
  53. package/core/built/admin/assets/activitypub/{site-O0RL9YCN.js → site-BYps63oh.js} +2 -2
  54. package/core/built/admin/assets/activitypub/{step-1-BMSx7c_X.js → step-1-CKjR2KAm.js} +6 -6
  55. package/core/built/admin/assets/activitypub/{step-2-DtPQzlTH.js → step-2-B6PKfOUQ.js} +6 -6
  56. package/core/built/admin/assets/activitypub/{step-3-CLlOZTyt.js → step-3-C-qBbcUo.js} +11 -11
  57. package/core/built/admin/assets/activitypub/{tabs-Dxk-b9M-.js → tabs-DLhZtVde.js} +6 -6
  58. package/core/built/admin/assets/activitypub/{topic-filter-5yZH6tId.js → topic-filter-DsUOuu0k.js} +3 -3
  59. package/core/built/admin/assets/activitypub/{use-activity-pub-queries-CV50qe03.js → use-activity-pub-queries-CX9snsLs.js} +3 -3
  60. package/core/built/admin/assets/activitypub/{use-navigate-with-base-path-Bmk5h4lW.js → use-navigate-with-base-path-DsJTGDSS.js} +988 -959
  61. package/core/built/admin/assets/activitypub/{use-reply-chain-data-Cbvzgjzd.js → use-reply-chain-data-AJi9zkzm.js} +5 -5
  62. package/core/built/admin/assets/activitypub/{users-BjcoP_HC.js → users-inweyKL5.js} +186 -160
  63. package/core/built/admin/assets/activitypub/{x-DbQZOLiI.js → x-DR8AT3-4.js} +2 -2
  64. package/core/built/admin/assets/{add-integration-modal-BlF6rs_f.js → add-integration-modal-BT_onDJy.js} +1 -1
  65. package/core/built/admin/assets/{add-newsletter-modal-CglVQqah.js → add-newsletter-modal-Cx1kQpiY.js} +1 -1
  66. package/core/built/admin/assets/{add-recommendation-modal-wz7BsuaG.js → add-recommendation-modal-B5nvAhvr.js} +1 -1
  67. package/core/built/admin/assets/{analytics-C4HE1gBg.js → analytics-DjoJWPI7.js} +1 -1
  68. package/core/built/admin/assets/{announcement-bar-modal-Ci4zz8jO.js → announcement-bar-modal-Dwd0EGFP.js} +1 -1
  69. package/core/built/admin/assets/{api-keys-3-0vJC3Y.js → api-keys-BGPzLHzA.js} +1 -1
  70. package/core/built/admin/assets/{api-keys-Ck-Yteiv.js → api-keys-BoeacM-s.js} +1 -1
  71. package/core/built/admin/assets/{audience-CtbA54Sn.js → audience-ceV3XVHq.js} +1 -1
  72. package/core/built/admin/assets/automated-emails-BLesE41L.js +1 -0
  73. package/core/built/admin/assets/{automations-sAcJ1334.js → automations-BN4u3GR8.js} +1 -1
  74. package/core/built/admin/assets/automations-C-ZTUwW3.js +1 -0
  75. package/core/built/admin/assets/{bluesky-sharing-BEtJ_gL_.js → bluesky-sharing-vzh-oPXL.js} +1 -1
  76. package/core/built/admin/assets/{breadcrumb-zUrZrBtW.js → breadcrumb-CaLk2b7D.js} +1 -1
  77. package/core/built/admin/assets/{button-eNMKQWXr.js → button-Dvcv1QSR.js} +1 -1
  78. package/core/built/admin/assets/calendar-Bl9RLcZX.js +1 -0
  79. package/core/built/admin/assets/{chart-helpers-CfBKt0vT.js → chart-helpers-FHywU0pj.js} +1 -1
  80. package/core/built/admin/assets/{checkbox-CgOn_tKW.js → checkbox-BtayFtjg.js} +1 -1
  81. package/core/built/admin/assets/chunk.254.035b85ec456ebbd7336b.js +440 -0
  82. package/core/built/admin/assets/{chunk.524.a697dee88db67fdf6021.js → chunk.524.e6975095fccdf22d90f8.js} +5 -5
  83. package/core/built/admin/assets/{chunk.582.5ed5d124cfca9c259b9c.js → chunk.582.98b485f9b2802f540897.js} +6 -6
  84. package/core/built/admin/assets/{chunk.492.f24d855d7e3f3aad261c.js → chunk.901.4ccc639821020230bcca.js} +9949 -7921
  85. package/core/built/admin/assets/{code-editor-view-K2wI-I5f.js → code-editor-view-C3ZfoF1X.js} +1 -1
  86. package/core/built/admin/assets/{code-editor-view-BYNoAoNV.js → code-editor-view-CAyRWy1s.js} +1 -1
  87. package/core/built/admin/assets/{color-picker-Ddw80xX6.js → color-picker-G4kGR7rp.js} +1 -1
  88. package/core/built/admin/assets/{color-picker-field-D9nUhvA7.js → color-picker-field-DQFVTNnT.js} +1 -1
  89. package/core/built/admin/assets/{combobox-w9j8PPQT.js → combobox-BnYzgEB4.js} +1 -1
  90. package/core/built/admin/assets/{command-BfpHORBv.js → command-C_vyTikI.js} +1 -1
  91. package/core/built/admin/assets/comments-aBrxfnZf.js +1 -0
  92. package/core/built/admin/assets/{config-DOMQDZGZ.js → config-kSHvwdTG.js} +1 -1
  93. package/core/built/admin/assets/{confirmation-context-CBM8G0Vj.js → confirmation-context-DwXX_Y5h.js} +1 -1
  94. package/core/built/admin/assets/{content-api-modal-TXRz3U7S.js → content-api-modal-D2G0nJP6.js} +1 -1
  95. package/core/built/admin/assets/{context-menu-_QMdd3kp.js → context-menu-DOVB6yaz.js} +1 -1
  96. package/core/built/admin/assets/{copy-field-6N01S07E.js → copy-field-DCJwh9qf.js} +1 -1
  97. package/core/built/admin/assets/{create-ghost-browse-value-source-qIBymvvf.js → create-ghost-browse-value-source-5C53jJaX.js} +1 -1
  98. package/core/built/admin/assets/custom-field-type-option-BAuW0F-E.js +1 -0
  99. package/core/built/admin/assets/{custom-integration-modal-DmNquxUV.js → custom-integration-modal-AbJGVyKc.js} +1 -1
  100. package/core/built/admin/assets/{date-range-select-uvz_DtPh.js → date-range-select-BY3K-ukj.js} +1 -1
  101. package/core/built/admin/assets/design-and-theme-modal-BvEy4_pC.js +2 -0
  102. package/core/built/admin/assets/{dirty-confirm-dialog-BZ1iytEd.js → dirty-confirm-dialog-DVPuGz3U.js} +1 -1
  103. package/core/built/admin/assets/{disabled-sources-indicator-DMRrxsiJ.js → disabled-sources-indicator-Cy7Zp4c8.js} +1 -1
  104. package/core/built/admin/assets/{domain-BNYrt0aD.js → domain-Dl61QGuk.js} +1 -1
  105. package/core/built/admin/assets/{dropzone-D7nFdAe5.js → dropzone-Dtz5Rmjt.js} +4 -4
  106. package/core/built/admin/assets/edit-profile-DNJSMDwm.js +1 -0
  107. package/core/built/admin/assets/editor-DbAen9zf.js +8 -0
  108. package/core/built/admin/assets/editor-screen-BFWThIai.js +26 -0
  109. package/core/built/admin/assets/email-sending-status-context-CWDOD1FN.js +1 -0
  110. package/core/built/admin/assets/email-sending-status-provider-DCPkDICt.js +1 -0
  111. package/core/built/admin/assets/emails-vFMk4yYl.js +1 -0
  112. package/core/built/admin/assets/{embed-signup-form-modal-Ds6mPEi5.js → embed-signup-form-modal-DGqsORxS.js} +1 -1
  113. package/core/built/admin/assets/{explore-UY10Egsp.js → explore-nnRr1Fja.js} +1 -1
  114. package/core/built/admin/assets/feature-flag-overrides-context-DQjdJFAk.js +1 -0
  115. package/core/built/admin/assets/{feature-image-placeholder-D1iF_8bc.js → feature-image-placeholder-BrIHmPs8.js} +1 -1
  116. package/core/built/admin/assets/{feed-81C8mJWR.js → feed-BNUcNu-W.js} +1 -1
  117. package/core/built/admin/assets/feedback-DJ4Zb9rZ.js +1 -0
  118. package/core/built/admin/assets/{field-Dihp5p18.js → field-C93_Mg6j.js} +1 -1
  119. package/core/built/admin/assets/filter-sources-CGJb4C5r.js +1 -0
  120. package/core/built/admin/assets/{filters-DirqNXjH.js → filters--kKP-EC8.js} +1 -1
  121. package/core/built/admin/assets/filters-DxA_a4FP.js +1 -0
  122. package/core/built/admin/assets/{first-promoter-modal-CT6MxYZb.js → first-promoter-modal-BYDtrz2S.js} +1 -1
  123. package/core/built/admin/assets/focus-koenig-editor-on-bottom-click-BbSnGOtK.js +1 -0
  124. package/core/built/admin/assets/{ghost-8eabfc1ece81b03cf7b90780d31487e8.css → ghost-8fd5bb799356bbefb254210ba7e1236d.css} +1 -1
  125. package/core/built/admin/assets/{ghost-c2848508292937415f20f5a830eea59e.js → ghost-b4e8a403baba61905cd7560e30b9732d.js} +43 -27
  126. package/core/built/admin/assets/{ghost-dark-a7bebe2c561f55369dcf29f4c820f7ff.css → ghost-dark-cac0cb2d5bb78e9bd14d8d1c2768ed45.css} +1 -1
  127. package/core/built/admin/assets/{gift-link-modal-CQVAye17.js → gift-link-modal-B7u5bD4e.js} +1 -1
  128. package/core/built/admin/assets/{gift-links-DLDS7ljO.js → gift-links-CfLSnst2.js} +1 -1
  129. package/core/built/admin/assets/growth-Cd1uO9d2.js +1 -0
  130. package/core/built/admin/assets/growth-aG32xfdE.js +3 -0
  131. package/core/built/admin/assets/{history-modal-CFd1Hvx6.js → history-modal-Df8lW8h-.js} +1 -1
  132. package/core/built/admin/assets/hooks-Cy_-oZ4o.js +2 -0
  133. package/core/built/admin/assets/{html-field-CJBCLTvv.js → html-field-DA4eU7eq.js} +1 -1
  134. package/core/built/admin/assets/{images-scfkWZiK.js → images-KXmyO3Ss.js} +1 -1
  135. package/core/built/admin/assets/{inbox-Mcp4DXZN.js → inbox-gJHG7_xd.js} +6 -6
  136. package/core/built/admin/assets/index-BHHXtR5C.css +2 -0
  137. package/core/built/admin/assets/index-CgMCwsxN.js +4 -0
  138. package/core/built/admin/assets/index.es-CY6-yuw9.js +1 -0
  139. package/core/built/admin/assets/{input-group-CMhe2DvY.js → input-group-BE8rM2y1.js} +1 -1
  140. package/core/built/admin/assets/{integrations-Bjbu86Z0.js → integrations-B4kuRBFY.js} +1 -1
  141. package/core/built/admin/assets/{invite-user-modal-DfheMXs0.js → invite-user-modal-B4CuNcx4.js} +1 -1
  142. package/core/built/admin/assets/koenig-lexical/koenig-lexical.js +2 -2
  143. package/core/built/admin/assets/koenig-lexical/koenig-lexical.umd.js +2 -2
  144. package/core/built/admin/assets/{koenig-lexical-DBSqAuiI.js → koenig-lexical-CGXb0F8o.js} +2 -2
  145. package/core/built/admin/assets/koenig-loader-BeM5rFPX.js +2 -0
  146. package/core/built/admin/assets/{kpi-card-DBRMfGOW.js → kpi-card-B21aToe8.js} +1 -1
  147. package/core/built/admin/assets/{kpi-card-DFafD1qq.js → kpi-card-pz6Wv4Ae.js} +1 -1
  148. package/core/built/admin/assets/{kpi-helpers-Cv8i8hns.js → kpi-helpers-Dq5jelmP.js} +1 -1
  149. package/core/built/admin/assets/{kpi-tabs-BJItvLYm.js → kpi-tabs-DEZHpKUt.js} +1 -1
  150. package/core/built/admin/assets/{label-BnSCvffu.js → label-OLCzze8N.js} +1 -1
  151. package/core/built/admin/assets/label-picker-BigOvMPV.js +1 -0
  152. package/core/built/admin/assets/{labels-CH3Kn8RV.js → labels-Dr0SgUQD.js} +1 -1
  153. package/core/built/admin/assets/layout-DUTL8SH5.js +1 -0
  154. package/core/built/admin/assets/lib-7QPTI0FS.js +1 -0
  155. package/core/built/admin/assets/link-helpers-BRAg9SCj.js +1 -0
  156. package/core/built/admin/assets/links-BDHPTlyj.js +1 -0
  157. package/core/built/admin/assets/{member-custom-fields-DDQV6QeG.js → member-custom-fields-TRTHCAz9.js} +1 -1
  158. package/core/built/admin/assets/member-detail-b6dRwc3C.js +1 -0
  159. package/core/built/admin/assets/members-Czt5lJSc.js +4 -0
  160. package/core/built/admin/assets/{moderation-AgCIEso4.js → moderation-ZWefD9uH.js} +1 -1
  161. package/core/built/admin/assets/{multi-select-combobox-BcITkUVr.js → multi-select-combobox-CT13MTo-.js} +1 -1
  162. package/core/built/admin/assets/navigation-modal-C8FEhBK5.js +1 -0
  163. package/core/built/admin/assets/newsletter-5VYW4RyJ.js +1 -0
  164. package/core/built/admin/assets/newsletter-detail-modal-ChjC0ZqH.js +1 -0
  165. package/core/built/admin/assets/{newsletter-emails-DKzwafuh.js → newsletter-emails-DZH6I-PY.js} +1 -1
  166. package/core/built/admin/assets/{newsletters-BRBb_uQC.js → newsletters-DOC9KBcX.js} +1 -1
  167. package/core/built/admin/assets/newsletters-Rq1M3GD-.js +1 -0
  168. package/core/built/admin/assets/{note-DyGHtS9a.js → note-DIV-Pojr.js} +1 -1
  169. package/core/built/admin/assets/{notifications-ZgWniKna.js → notifications-s20-H49V.js} +1 -1
  170. package/core/built/admin/assets/{offers-9J1CSiLy.js → offers--e2nGvkW.js} +1 -1
  171. package/core/built/admin/assets/{offers-container-modal-B-E8TIWr.js → offers-container-modal-BmG5M5Tv.js} +1 -1
  172. package/core/built/admin/assets/onboarding-CUuy9unR.js +1 -0
  173. package/core/built/admin/assets/{onboarding-CzIsre-d.js → onboarding-pXyct0Jm.js} +1 -1
  174. package/core/built/admin/assets/{onboarding-route-CaavZulg.js → onboarding-route-CK4pcXoR.js} +1 -1
  175. package/core/built/admin/assets/overview-CaPsciMs.js +1 -0
  176. package/core/built/admin/assets/overview-a8GfcsKX.js +1 -0
  177. package/core/built/admin/assets/{page-header-De0VzKBi.js → page-header-DM_KyoFI.js} +1 -1
  178. package/core/built/admin/assets/{pagemenu-B5KKCpbA.js → pagemenu-vgZVUVKR.js} +1 -1
  179. package/core/built/admin/assets/pages-CjDY2CBI.js +1 -0
  180. package/core/built/admin/assets/pages-route-BzKZYdV5.js +1 -0
  181. package/core/built/admin/assets/{pintura-modal-BZ2J9w3n.js → pintura-modal-DExCF1ii.js} +1 -1
  182. package/core/built/admin/assets/{portal-frame-B6Hr9wHc.js → portal-frame-Cqanidq4.js} +1 -1
  183. package/core/built/admin/assets/portal-modal-oinBgA27.js +1 -0
  184. package/core/built/admin/assets/post-analytics-C5oJ1dWV.js +1 -0
  185. package/core/built/admin/assets/post-analytics-header-OATo3X_r.js +1 -0
  186. package/core/built/admin/assets/post-analytics-provider-tOpIVGT5.js +1 -0
  187. package/core/built/admin/assets/post-helpers-C88JBa4D.js +1 -0
  188. package/core/built/admin/assets/post-share-modal-DvhC1XgV.js +1 -0
  189. package/core/built/admin/assets/post-utils-DKF4mfuo.js +1 -0
  190. package/core/built/admin/assets/posts-list-screen-o4ZjbgS3.js +2 -0
  191. package/core/built/admin/assets/posts-pCPrhQeR.js +1 -0
  192. package/core/built/admin/assets/posts-route-9F--xdIb.js +1 -0
  193. package/core/built/admin/assets/{preferences-C5YJLp74.js → preferences--vNubsqD.js} +2 -2
  194. package/core/built/admin/assets/{preview-modal-BfeFqi5y.js → preview-modal-YYbzlYdO.js} +1 -1
  195. package/core/built/admin/assets/profile-BllKV3dR.js +1 -0
  196. package/core/built/admin/assets/radio-group-DL8GI8rt.js +1 -0
  197. package/core/built/admin/assets/{referrers-CnhCMWCs.js → referrers-D8oHPmDB.js} +1 -1
  198. package/core/built/admin/assets/router-provider-BSvTXgZY.js +1 -0
  199. package/core/built/admin/assets/schemas-BoYdB6YU.js +64 -0
  200. package/core/built/admin/assets/{select-cb0t_TAJ.js → select-v5YbA3Mw.js} +1 -1
  201. package/core/built/admin/assets/settings-PEsZupw1.js +4 -0
  202. package/core/built/admin/assets/{settings-breadcrumbs-DLzbRRSt.js → settings-breadcrumbs-NwPnCTC7.js} +1 -1
  203. package/core/built/admin/assets/{settings-DZqxR0Da.js → settings-u_s1CRkr.js} +1 -1
  204. package/core/built/admin/assets/{share-modal-D2-Bz1_I.js → share-modal-SskCmVGL.js} +1 -1
  205. package/core/built/admin/assets/{slack-modal-DYDTUria.js → slack-modal-XxSJiYgo.js} +1 -1
  206. package/core/built/admin/assets/{sort-button-VVeQjjbu.js → sort-button-Cx1KtINE.js} +1 -1
  207. package/core/built/admin/assets/{source-icon-Ck5_5Kgq.js → source-icon-Bdp9Im_5.js} +1 -1
  208. package/core/built/admin/assets/stats-D9PDLS3x.js +1 -0
  209. package/core/built/admin/assets/stats-view-W2g6Jsd-.js +1 -0
  210. package/core/built/admin/assets/{step-1-CsaBjeN4.js → step-1-BQYzvBzr.js} +1 -1
  211. package/core/built/admin/assets/{step-2-D2vnxOOM.js → step-2-xES32xJV.js} +1 -1
  212. package/core/built/admin/assets/{step-3-wBoLdGEb.js → step-3-DA_XK5kW.js} +2 -2
  213. package/core/built/admin/assets/{stripe-button-CDgLz0S0.js → stripe-button-CVsLHelt.js} +1 -1
  214. package/core/built/admin/assets/{stripe-connect-modal-CSjMJetP.js → stripe-connect-modal-ClmLOMGS.js} +1 -1
  215. package/core/built/admin/assets/style-Wd9nQubI.css +1 -0
  216. package/core/built/admin/assets/{table-Do6iQ83Q.js → table-BenqVupI.js} +1 -1
  217. package/core/built/admin/assets/{tabs-D2yWLMp_.js → tabs-eBBlxPp8.js} +1 -1
  218. package/core/built/admin/assets/tag-detail-Ce8Se2qd.js +2 -0
  219. package/core/built/admin/assets/tag-picker-C3UR-uJ-.js +1 -0
  220. package/core/built/admin/assets/tags-B-kJxCs7.js +1 -0
  221. package/core/built/admin/assets/{tags-zTFiKRpb.js → tags-ChfdwJyS.js} +1 -1
  222. package/core/built/admin/assets/{testimonials-modal-CtnZBJKl.js → testimonials-modal-9Q6fT06V.js} +1 -1
  223. package/core/built/admin/assets/tier-detail-modal-CDyYdqK7.js +1 -0
  224. package/core/built/admin/assets/tiers-BCpIOGQr.js +1 -0
  225. package/core/built/admin/assets/{toggle-group-ByUJsxwD.js → toggle-group-CviIkyok.js} +1 -1
  226. package/core/built/admin/assets/{topic-filter-BgC3g5_v.js → topic-filter-I2jCBGxm.js} +1 -1
  227. package/core/built/admin/assets/{transistor-modal-Drr0SNfo.js → transistor-modal-p53u3W8y.js} +1 -1
  228. package/core/built/admin/assets/{trend-badge-6ye93YAW.js → trend-badge-CideVzQd.js} +1 -1
  229. package/core/built/admin/assets/{unsplash-modal-p6AoQoWp.js → unsplash-modal-DY8UcKcE.js} +1 -1
  230. package/core/built/admin/assets/{use-analytics-data-CWCMAESo.js → use-analytics-data-DAIGcr2f.js} +1 -1
  231. package/core/built/admin/assets/{use-check-theme-limit-error-Cw3WQHy8.js → use-check-theme-limit-error-DRUjK4YM.js} +1 -1
  232. package/core/built/admin/assets/use-filter-params-JkZhIS8L.js +1 -0
  233. package/core/built/admin/assets/{use-filterable-api-CzXcpUh8.js → use-filterable-api-BVEVMrhZ.js} +1 -1
  234. package/core/built/admin/assets/{use-growth-stats-DCVG3s9w.js → use-growth-stats-937CUj6j.js} +1 -1
  235. package/core/built/admin/assets/use-host-limits-D0Dv3tKA.js +1 -0
  236. package/core/built/admin/assets/{use-limiter-D2WRRx0H.js → use-limiter-CohWfzvK.js} +1 -1
  237. package/core/built/admin/assets/{use-navigate-with-base-path-BHPA228f.js → use-navigate-with-base-path-BkxcPj5l.js} +1 -1
  238. package/core/built/admin/assets/use-pintura-config-xgytjU35.js +1 -0
  239. package/core/built/admin/assets/{use-pintura-editor-BfN1UwzH.js → use-pintura-editor-CaV1mbfO.js} +1 -1
  240. package/core/built/admin/assets/{use-post-referrers-Czg47m8s.js → use-post-referrers-BCQI7fDg.js} +1 -1
  241. package/core/built/admin/assets/{use-reply-chain-data-ns0caK8k.js → use-reply-chain-data-CYRhoaxY.js} +1 -1
  242. package/core/built/admin/assets/{use-router-history-entry-uldn7zJO.js → use-router-history-entry-NOKcd--l.js} +1 -1
  243. package/core/built/admin/assets/{use-setting-group-DpcuCUDg.js → use-setting-group-bLKMwoBT.js} +1 -1
  244. package/core/built/admin/assets/{use-settings-navigation-CZjGrhsp.js → use-settings-navigation-B-qrriKD.js} +1 -1
  245. package/core/built/admin/assets/{use-simple-pagination-DzJWobPR.js → use-simple-pagination-CNPd6Rf6.js} +1 -1
  246. package/core/built/admin/assets/use-staff-users-pRIMIyiW.js +1 -0
  247. package/core/built/admin/assets/{use-tinybird-query-CSnGXzZh.js → use-tinybird-query-CmdbCS9X.js} +1 -1
  248. package/core/built/admin/assets/{use-tinybird-token-DTOKRR7e.js → use-tinybird-token-KLne235s.js} +1 -1
  249. package/core/built/admin/assets/{use-unsaved-changes-guard-CBzs-KPi.js → use-unsaved-changes-guard-7-ug0JdH.js} +1 -1
  250. package/core/built/admin/assets/use-upgrade-route-Dm_qqKr0.js +1 -0
  251. package/core/built/admin/assets/{use-url-input-DFr8lCbS.js → use-url-input-fvp-TpPx.js} +1 -1
  252. package/core/built/admin/assets/user-detail-modal-D3KlGYv-.js +1 -0
  253. package/core/built/admin/assets/{users-Cg-OeGzC.js → users-DVNWrqg9.js} +1 -1
  254. package/core/built/admin/assets/{vendor-5753232c7d6ffb3c44e1eb0a02133953.js → vendor-2dd263291938d407802568d3357ec69e.js} +19 -17
  255. package/core/built/admin/assets/{virtual-list-BW-padMe.js → virtual-list-CZ3RK2Yf.js} +1 -1
  256. package/core/built/admin/assets/{web-C1v33ehA.js → web-ClEJsCAj.js} +2 -2
  257. package/core/built/admin/assets/web-X9rdnrtq.js +1 -0
  258. package/core/built/admin/assets/{zapier-modal-BBFfI6Ml.js → zapier-modal-DfVhV17j.js} +1 -1
  259. package/core/built/admin/index.html +19 -18
  260. package/core/server/adapters/jobs/InMemoryJobsBackend.js +74 -29
  261. package/core/server/api/endpoints/authentication.js +1 -2
  262. package/core/server/api/endpoints/authors-public.js +15 -5
  263. package/core/server/api/endpoints/emails.js +13 -0
  264. package/core/server/api/endpoints/index.js +8 -0
  265. package/core/server/api/endpoints/member-metafields-members.js +23 -0
  266. package/core/server/api/endpoints/member-metafields.js +33 -20
  267. package/core/server/api/endpoints/members-account.js +42 -0
  268. package/core/server/api/endpoints/newsletters-public.js +10 -1
  269. package/core/server/api/endpoints/pages-public.js +15 -5
  270. package/core/server/api/endpoints/posts-public.js +15 -5
  271. package/core/server/api/endpoints/tags-public.js +22 -3
  272. package/core/server/api/endpoints/tiers-checkout-config.js +2 -2
  273. package/core/server/api/endpoints/tiers-public.js +38 -1
  274. package/core/server/api/endpoints/users.js +2 -2
  275. package/core/server/api/endpoints/utils/api-filter-utils.js +170 -3
  276. package/core/server/api/endpoints/utils/public-cache-keys.js +3 -0
  277. package/core/server/api/endpoints/utils/serializers/input/authors.js +2 -0
  278. package/core/server/api/endpoints/utils/serializers/input/members.js +16 -2
  279. package/core/server/api/endpoints/utils/serializers/input/pages.js +2 -0
  280. package/core/server/api/endpoints/utils/serializers/input/posts.js +2 -0
  281. package/core/server/api/endpoints/utils/serializers/input/tags.js +2 -0
  282. package/core/server/api/endpoints/utils/serializers/output/emails.js +7 -0
  283. package/core/server/api/endpoints/utils/serializers/output/index.js +4 -0
  284. package/core/server/api/endpoints/utils/serializers/output/member-metafields.js +3 -3
  285. package/core/server/api/endpoints/utils/serializers/output/members-account.js +19 -0
  286. package/core/server/api/endpoints/utils/serializers/output/members-csv-transform.js +1 -1
  287. package/core/server/api/endpoints/utils/serializers/output/tiers.js +10 -2
  288. package/core/server/api/endpoints/utils/serializers/output/users.js +0 -10
  289. package/core/server/data/exporter/table-lists.js +3 -3
  290. package/core/server/data/migrations/versions/6.53/2026-07-15-20-22-53-add-members-custom-field-values.js +1 -1
  291. package/core/server/data/migrations/versions/6.57/2026-08-04-18-00-00-store-custom-field-values-as-leaf-rows.js +10 -1
  292. package/core/server/data/migrations/versions/6.63/2026-09-03-10-07-03-rename-custom-field-tables-to-metafields.js +169 -0
  293. package/core/server/data/migrations/versions/6.63/2026-09-03-11-03-31-remove-member-custom-field-read-permissions.js +30 -0
  294. package/core/server/data/schema/fixtures/fixtures.json +0 -11
  295. package/core/server/data/schema/lib/default-index-name.js +8 -11
  296. package/core/server/data/schema/schema.js +18 -18
  297. package/core/server/data/seeders/README.md +48 -0
  298. package/core/server/data/tinybird/pipes/mv_hits.pipe +86 -50
  299. package/core/server/lib/db-types/count.js +16 -0
  300. package/core/server/lib/validate-password.js +81 -120
  301. package/core/server/models/action.js +4 -4
  302. package/core/server/models/base/plugins/filtered-collection.js +16 -0
  303. package/core/server/models/member.js +6 -6
  304. package/core/server/models/user.js +1 -1
  305. package/core/server/services/automations/automations-api.js +1 -1
  306. package/core/server/services/automations/database-automations-repository.js +11 -4
  307. package/core/server/services/email-service/CONTEXT.md +37 -0
  308. package/core/server/services/email-service/README.md +42 -0
  309. package/core/server/services/email-service/batch-sending-service.js +2 -0
  310. package/core/server/services/email-service/email-controller.js +18 -2
  311. package/core/server/services/email-service/email-service-wrapper.js +3 -0
  312. package/core/server/services/email-service/sending-status-schema.js +21 -0
  313. package/core/server/services/email-service/sending-status-serializers.js +33 -0
  314. package/core/server/services/email-service/sending-status-service.js +47 -0
  315. package/core/server/services/email-service/sending-status.js +111 -0
  316. package/core/server/services/email-suppression-list/email-suppression-list.js +0 -33
  317. package/core/server/services/email-suppression-list/mailgun-email-suppression-list.js +6 -7
  318. package/core/server/services/gifts/README.md +2 -2
  319. package/core/server/services/gifts/constants.js +1 -1
  320. package/core/server/services/gifts/gift-service.js +19 -57
  321. package/core/server/services/gifts/index.js +0 -2
  322. package/core/server/services/jobs-service/index.js +8 -0
  323. package/core/server/services/jobs-service/jobs-service.js +52 -3
  324. package/core/server/services/jobs-service/register-job-handlers.js +13 -2
  325. package/core/server/services/members/account-service.js +98 -0
  326. package/core/server/services/members/api.js +4 -4
  327. package/core/server/services/members/import-export/export/exporter.js +20 -20
  328. package/core/server/services/members/import-export/import/completion-email.js +6 -6
  329. package/core/server/services/members/import-export/import/importer.js +13 -13
  330. package/core/server/services/members/import-export/index.js +7 -7
  331. package/core/server/services/members/members-api/members-api.js +26 -6
  332. package/core/server/services/members/members-api/repositories/member-repository.js +4 -4
  333. package/core/server/services/members/members-api/services/member-bread-service.js +45 -39
  334. package/core/server/services/members/members-ssr.js +18 -0
  335. package/core/server/services/members/middleware.js +95 -81
  336. package/core/server/services/members/service.js +70 -42
  337. package/core/server/services/members/utils.js +9 -0
  338. package/core/server/services/members-metafields/access.js +28 -0
  339. package/core/server/services/{members-custom-fields → members-metafields}/actions.js +5 -5
  340. package/core/server/services/members-metafields/bindings-service.js +147 -0
  341. package/core/server/services/{members-custom-fields → members-metafields}/codec.js +4 -4
  342. package/core/server/services/{members-custom-fields → members-metafields}/config.js +1 -1
  343. package/core/server/services/{members-custom-fields → members-metafields}/definitions-service.js +17 -23
  344. package/core/server/services/{members-custom-fields → members-metafields}/filter.js +9 -9
  345. package/core/server/services/{members-custom-fields → members-metafields}/index.js +16 -7
  346. package/core/server/services/{members-custom-fields → members-metafields}/key.js +1 -1
  347. package/core/server/services/{members-custom-fields → members-metafields}/models.js +4 -4
  348. package/core/server/services/members-metafields/namespaces.js +34 -0
  349. package/core/server/services/{members-custom-fields → members-metafields}/queries.js +1 -1
  350. package/core/server/services/{members-custom-fields → members-metafields}/schema.js +16 -12
  351. package/core/server/services/{members-custom-fields → members-metafields}/serializers.js +6 -6
  352. package/core/server/services/{members-custom-fields → members-metafields}/values-service.js +32 -22
  353. package/core/server/services/mentions/mention-sending-service.js +26 -9
  354. package/core/server/services/mentions/send-webmentions-job.js +18 -0
  355. package/core/server/services/mentions/service.js +1 -31
  356. package/core/server/services/stripe/services/webhook/checkout-session-event-service.js +2 -2
  357. package/core/server/services/stripe/stripe-service.js +4 -4
  358. package/core/server/services/tier-checkout-config/codec.js +2 -2
  359. package/core/server/services/tier-checkout-config/index.js +2 -1
  360. package/core/server/services/tier-checkout-config/models.js +2 -2
  361. package/core/server/services/tier-checkout-config/queries.js +8 -8
  362. package/core/server/services/tier-checkout-config/serializers.js +57 -0
  363. package/core/server/services/tier-checkout-config/service.js +1 -1
  364. package/core/server/services/tiers/service.js +3 -3
  365. package/core/server/services/url/router-filter.js +8 -10
  366. package/core/server/services/users.js +1 -19
  367. package/core/server/web/api/endpoints/admin/routes.js +1 -0
  368. package/core/server/web/members/account/index.js +2 -0
  369. package/core/server/web/members/account/routes.js +46 -0
  370. package/core/server/web/members/app.js +4 -18
  371. package/core/shared/config/defaults.json +1 -1
  372. package/core/shared/labs.js +4 -2
  373. package/package.json +22 -22
  374. package/pnpm-lock.yaml +513 -571
  375. package/pnpm-workspace.yaml +12 -12
  376. package/components/tryghost-custom-field-types-0.0.0.tgz +0 -0
  377. package/core/built/admin/assets/activitypub/layout-2-0bw6HN.js +0 -1
  378. package/core/built/admin/assets/automated-emails-D5VVMND9.js +0 -1
  379. package/core/built/admin/assets/automations-CzKt5fb8.js +0 -1
  380. package/core/built/admin/assets/chunk.598.7e056fabb47ce7dbd73f.js +0 -366
  381. package/core/built/admin/assets/comments-BLmCmyCs.js +0 -1
  382. package/core/built/admin/assets/custom-field-type-option-BddFlJFa.js +0 -1
  383. package/core/built/admin/assets/design-and-theme-modal-BSmo12Op.js +0 -2
  384. package/core/built/admin/assets/edit-profile-C5Asm4LA.js +0 -1
  385. package/core/built/admin/assets/editor-REokrzci.js +0 -8
  386. package/core/built/admin/assets/filter-sources-BO9xUPj7.js +0 -1
  387. package/core/built/admin/assets/filters-CRUWecfY.js +0 -1
  388. package/core/built/admin/assets/growth-BWIu-6xj.js +0 -3
  389. package/core/built/admin/assets/growth-DU29oxeA.js +0 -1
  390. package/core/built/admin/assets/hooks-CuEZV2-q.js +0 -2
  391. package/core/built/admin/assets/index-6MkPdCtr.js +0 -4
  392. package/core/built/admin/assets/index-Bn7QhcZu.css +0 -2
  393. package/core/built/admin/assets/index.es-CNnuNH0d.js +0 -1
  394. package/core/built/admin/assets/koenig-loader-aFQNlJlD.js +0 -2
  395. package/core/built/admin/assets/label-picker-KVoo91sh.js +0 -1
  396. package/core/built/admin/assets/layout-Bjv2Ll-5.js +0 -1
  397. package/core/built/admin/assets/link-helpers-MVDdnFCY.js +0 -1
  398. package/core/built/admin/assets/member-detail-CdJF6Agw.js +0 -1
  399. package/core/built/admin/assets/members-DjQbq9Z2.js +0 -4
  400. package/core/built/admin/assets/navigation-modal-BkT7b1M2.js +0 -1
  401. package/core/built/admin/assets/newsletter-BMMAuvgq.js +0 -1
  402. package/core/built/admin/assets/newsletter-detail-modal-0SCJ7Zpm.js +0 -1
  403. package/core/built/admin/assets/newsletters-DhNigJUh.js +0 -1
  404. package/core/built/admin/assets/onboarding-qg8Akovm.js +0 -1
  405. package/core/built/admin/assets/overview-BW8GLeYi.js +0 -1
  406. package/core/built/admin/assets/overview-BkXZNzaZ.js +0 -1
  407. package/core/built/admin/assets/pages-jgaFm69d.js +0 -1
  408. package/core/built/admin/assets/pages-route-CIUAQxtY.js +0 -1
  409. package/core/built/admin/assets/portal-modal-D4ceei3t.js +0 -1
  410. package/core/built/admin/assets/post-analytics-header-BYCsT0GP.js +0 -1
  411. package/core/built/admin/assets/post-analytics-ot7f6pih.js +0 -1
  412. package/core/built/admin/assets/post-analytics-provider-Bo1gmYaP.js +0 -1
  413. package/core/built/admin/assets/post-helpers-C5OQMBoi.js +0 -1
  414. package/core/built/admin/assets/post-share-modal-C-PaYZ_e.js +0 -1
  415. package/core/built/admin/assets/posts-DuGazgTb.js +0 -1
  416. package/core/built/admin/assets/posts-list-screen-CBGGgjjj.js +0 -2
  417. package/core/built/admin/assets/posts-route-D6xmS7Vf.js +0 -1
  418. package/core/built/admin/assets/profile-B8mx2yAu.js +0 -1
  419. package/core/built/admin/assets/radio-group-DczlLKOn.js +0 -1
  420. package/core/built/admin/assets/router-provider-B0gZyiGJ.js +0 -1
  421. package/core/built/admin/assets/schemas-DppqmpeJ.js +0 -64
  422. package/core/built/admin/assets/settings-DvfTNdHQ.js +0 -4
  423. package/core/built/admin/assets/stats-Rjmk5owg.js +0 -1
  424. package/core/built/admin/assets/stats-view-BGGmkmgv.js +0 -1
  425. package/core/built/admin/assets/tag-detail-BhXlOsCa.js +0 -2
  426. package/core/built/admin/assets/tags-ldukRApe.js +0 -1
  427. package/core/built/admin/assets/tier-detail-modal-BOs8e_G8.js +0 -1
  428. package/core/built/admin/assets/tiers-Nd_z4BZY.js +0 -1
  429. package/core/built/admin/assets/use-filter-params-BIni9taJ.js +0 -1
  430. package/core/built/admin/assets/use-host-limits-DZtR08oa.js +0 -1
  431. package/core/built/admin/assets/use-pintura-config-h-J0Lvta.js +0 -1
  432. package/core/built/admin/assets/use-staff-users-Csipb-O0.js +0 -1
  433. package/core/built/admin/assets/use-upgrade-route-DhRSo7at.js +0 -1
  434. package/core/built/admin/assets/user-detail-modal-B_iUClI6.js +0 -1
  435. package/core/built/admin/assets/web-C4BKzn2T.js +0 -1
  436. package/core/server/services/email-suppression-list/in-memory-email-suppression-list.js +0 -39
  437. package/core/server/services/members-custom-fields/bindings-service.js +0 -120
  438. /package/core/built/admin/assets/{chunk.492.f24d855d7e3f3aad261c.js.LICENSE.txt → chunk.901.4ccc639821020230bcca.js.LICENSE.txt} +0 -0
  439. /package/core/server/services/{members-custom-fields → members-metafields}/storage.js +0 -0
Binary file
@@ -2,7 +2,7 @@
2
2
  "name": "source",
3
3
  "description": "A default theme for the Ghost publishing platform",
4
4
  "demo": "https://source.ghost.io",
5
- "version": "1.7.3",
5
+ "version": "1.7.4",
6
6
  "engines": {
7
7
  "ghost": ">=5.0.0",
8
8
  "node": ">=22.12.0"
@@ -20,7 +20,7 @@
20
20
  "ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then git push --follow-tags; else echo \"Uncommitted changes found.\" && exit 1; fi",
21
21
  "postship": "git fetch && gulp release"
22
22
  },
23
- "packageManager": "pnpm@11.24.0",
23
+ "packageManager": "pnpm@11.25.0",
24
24
  "author": {
25
25
  "name": "Ghost Foundation",
26
26
  "email": "hello@ghost.org",
@@ -9,7 +9,7 @@
9
9
  {{img_url feature_image size="l" format="webp"}} 960w,
10
10
  {{img_url feature_image size="xl" format="webp"}} 1200w,
11
11
  {{img_url feature_image size="xxl" format="webp"}} 2000w"
12
- sizes="{{#if imageSizes}}{{imageSizes}}{{else}}320px{{/if}}"
12
+ sizes="{{#if imageSizes}}{{imageSizes}}{{else}}{{#if lazyLoad}}auto, (max-width: 1199px) 100vw, 980px{{else}}320px{{/if}}{{/if}}"
13
13
  src="{{img_url feature_image size="m"}}"
14
14
  alt="{{#if feature_image_alt}}{{feature_image_alt}}{{else}}{{title}}{{/if}}"
15
15
  {{#if lazyLoad}}loading="lazy"{{/if}}
package/core/boot.js CHANGED
@@ -130,11 +130,11 @@ async function initCore({ ghostServer, config }) {
130
130
  giftLinksService.init();
131
131
  debug('End: Gift Links Service');
132
132
 
133
- // Member custom fields service: knex-backed, wired once the DB is ready.
134
- debug('Begin: Member Custom Fields Service');
135
- const memberCustomFieldsService = require('./server/services/members-custom-fields');
136
- memberCustomFieldsService.init();
137
- debug('End: Member Custom Fields Service');
133
+ // Member metafields service: knex-backed, wired once the DB is ready.
134
+ debug('Begin: Member Metafields Service');
135
+ const memberMetafieldsService = require('./server/services/members-metafields');
136
+ memberMetafieldsService.init();
137
+ debug('End: Member Metafields Service');
138
138
 
139
139
  if (ghostServer) {
140
140
  // Job Service allows parts of Ghost to run in the background
@@ -690,12 +690,14 @@ async function bootGhost({ backend = true, frontend = true, server = true } = {}
690
690
  memberJobs.init();
691
691
  assert(gifts.service, 'Gift service should be initialized');
692
692
  assert(mentionsService.controller, 'Mentions controller should be initialized');
693
+ assert(mentionsService.sendingService, 'Mentions sending service should be initialized');
693
694
  registerJobHandlers({
694
695
  jobsService,
695
696
  memberJobs,
696
697
  giftService: gifts.service,
697
698
  mediaInliner: mediaInliner.getInstance(),
698
699
  mentionsController: mentionsService.controller,
700
+ mentionsSendingService: mentionsService.sendingService,
699
701
  });
700
702
  await jobsService.start();
701
703
  debug('End: Register job handlers');
@@ -1 +1 @@
1
- import{o as e,t}from"./rolldown-runtime-DAXXjFlN.js";import{t as n}from"./jsx-runtime-DX3WBWVO.js";import{Kn as r,Rn as i,mr as a}from"./button-eNMKQWXr.js";import{o,t as s}from"./use-settings-navigation-CZjGrhsp.js";import{n as c}from"./components-CwL6a6As-B0E0-NBJ.js";import{Un as l}from"./index-6MkPdCtr.js";import{n as u}from"./global-data-context-gAMDH9u1.js";import{s as d}from"./zapier-modal-BBFfI6Ml.js";var f=t(((e,t)=>{t.exports=typeof process==`object`&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error(`SEMVER`,...e):()=>{}})),p=t(((e,t)=>{var n=`2.0.0`,r=256;t.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:r-6,MAX_SAFE_INTEGER:2**53-1||9007199254740991,RELEASE_TYPES:[`major`,`premajor`,`minor`,`preminor`,`patch`,`prepatch`,`prerelease`],SEMVER_SPEC_VERSION:n,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}})),m=t(((e,t)=>{var{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=p(),a=f();e=t.exports={};var o=e.re=[],s=e.safeRe=[],c=e.src=[],l=e.safeSrc=[],u=e.t={},d=0,m=`[a-zA-Z0-9-]`,h=[[`\\s`,1],[`\\d`,i],[m,r]],g=e=>{for(let[t,n]of h)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},_=(e,t,n)=>{let r=g(t),i=d++;a(e,i,t),u[e]=i,c[i]=t,l[i]=r,o[i]=new RegExp(t,n?`g`:void 0),s[i]=new RegExp(r,n?`g`:void 0)};_(`NUMERICIDENTIFIER`,`0|[1-9]\\d*`),_(`NUMERICIDENTIFIERLOOSE`,`\\d+`),_(`NONNUMERICIDENTIFIER`,`\\d*[a-zA-Z-]${m}*`),_(`MAINVERSION`,`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),_(`MAINVERSIONLOOSE`,`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),_(`PRERELEASEIDENTIFIER`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIER]})`),_(`PRERELEASEIDENTIFIERLOOSE`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIERLOOSE]})`),_(`PRERELEASE`,`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),_(`PRERELEASELOOSE`,`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),_(`BUILDIDENTIFIER`,`${m}+`),_(`BUILD`,`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),_(`FULLPLAIN`,`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),_(`FULL`,`^${c[u.FULLPLAIN]}$`),_(`LOOSEPLAIN`,`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),_(`LOOSE`,`^${c[u.LOOSEPLAIN]}$`),_(`GTLT`,`((?:<|>)?=?)`),_(`XRANGEIDENTIFIERLOOSE`,`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),_(`XRANGEIDENTIFIER`,`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),_(`XRANGEPLAIN`,`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),_(`XRANGEPLAINLOOSE`,`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),_(`XRANGE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),_(`XRANGELOOSE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),_(`COERCEPLAIN`,`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),_(`COERCE`,`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),_(`COERCEFULL`,c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?(?:${c[u.BUILD]})?(?:$|[^\\d])`),_(`COERCERTL`,c[u.COERCE],!0),_(`COERCERTLFULL`,c[u.COERCEFULL],!0),_(`LONETILDE`,`(?:~>?)`),_(`TILDETRIM`,`(\\s*)${c[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace=`$1~`,_(`TILDE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),_(`TILDELOOSE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),_(`LONECARET`,`(?:\\^)`),_(`CARETTRIM`,`(\\s*)${c[u.LONECARET]}\\s+`,!0),e.caretTrimReplace=`$1^`,_(`CARET`,`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),_(`CARETLOOSE`,`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),_(`COMPARATORLOOSE`,`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),_(`COMPARATOR`,`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),_(`COMPARATORTRIM`,`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace=`$1$2$3`,_(`HYPHENRANGE`,`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),_(`HYPHENRANGELOOSE`,`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),_(`STAR`,`(<|>)?=?\\s*\\*`),_(`GTE0`,`^\\s*>=\\s*0\\.0\\.0\\s*$`),_(`GTE0PRE`,`^\\s*>=\\s*0\\.0\\.0-0\\s*$`)})),h=t(((e,t)=>{var n=Object.freeze({loose:!0}),r=Object.freeze({});t.exports=e=>e?typeof e==`object`?e:n:r})),g=t(((e,t)=>{var n=/^[0-9]+$/,r=(e,t)=>{if(typeof e==`number`&&typeof t==`number`)return e===t?0:e<t?-1:1;let r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}})),_=t(((e,t)=>{var n=f(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=p(),{safeRe:a,t:o}=m(),s=h(),{compareIdentifiers:c}=g(),l=(e,t)=>{let n=t.split(`.`);if(n.length>e.length)return!1;for(let t=0;t<n.length;t++)if(c(e[t],n[t])!==0)return!1;return!0};t.exports=class e{constructor(t,c){if(c=s(c),t instanceof e){if(t.loose===!!c.loose&&t.includePrerelease===!!c.includePrerelease)return t;t=t.version}else if(typeof t!=`string`)throw TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>r)throw TypeError(`version is longer than ${r} characters`);n(`SemVer`,t,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let l=t.trim().match(c.loose?a[o.LOOSE]:a[o.FULL]);if(!l)throw TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+l[1],this.minor=+l[2],this.patch=+l[3],this.major>i||this.major<0)throw TypeError(`Invalid major version`);if(this.minor>i||this.minor<0)throw TypeError(`Invalid minor version`);if(this.patch>i||this.patch<0)throw TypeError(`Invalid patch version`);l[4]?this.prerelease=l[4].split(`.`).map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=l[5]?l[5].split(`.`):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(`.`)}`),this.version}toString(){return this.version}compare(t){if(n(`SemVer.compare`,this.version,this.options,t),!(t instanceof e)){if(typeof t==`string`&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:+(this.patch>t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let e=this.prerelease[r],i=t.prerelease[r];if(n(`prerelease compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let e=this.build[r],i=t.build[r];if(n(`build compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}inc(e,t,n){if(e.startsWith(`pre`)){if(!t&&n===!1)throw Error(`invalid increment argument: identifier is empty`);if(t){let e=`-${t}`.match(this.options.loose?a[o.PRERELEASELOOSE]:a[o.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case`premajor`:this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(`pre`,t,n);break;case`preminor`:this.prerelease.length=0,this.patch=0,this.minor++,this.inc(`pre`,t,n);break;case`prepatch`:this.prerelease.length=0,this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`prerelease`:this.prerelease.length===0&&this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`release`:if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case`major`:(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case`minor`:(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case`patch`:this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case`pre`:{let e=+!!Number(n);if(this.prerelease.length===0)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]==`number`&&(this.prerelease[r]++,r=-2);if(r===-1){if(t===this.prerelease.join(`.`)&&n===!1)throw Error(`invalid increment argument: identifier already exists`);this.prerelease.push(e)}}if(t){let r=[t,e];if(n===!1&&(r=[t]),l(this.prerelease,t)){let e=this.prerelease[t.split(`.`).length];isNaN(e)&&(this.prerelease=r)}else this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(`.`)}`),this}}})),v=e(t(((e,t)=>{var n=_();t.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}}))(),1);function y(e){if(!e)return``;let t=e.indexOf(`+`),n=t===-1?``:e.slice(t+1),r=t===-1?e:e.slice(0,t);if(n&&n!==`moya`){let e=n.split(`.`),t=e[e.length-1];if(t&&/^[0-9a-f]{7,40}$/.test(t))return`https://github.com/TryGhost/Ghost/commit/${t}`}try{let e=(0,v.default)(r,{includePrerelease:!0})?.prerelease;if(e&&e.length>0){let t=String(e[0]).split(`-`)[1];return t?.startsWith(`g`)?`https://github.com/TryGhost/Ghost/commit/${t.slice(1)}`:``}}catch{return``}return`https://github.com/TryGhost/Ghost/releases/tag/v${r}`}function b(e,t){let n=!!e.match?.(/production/i);return!!(n&&t!==`mysql8`||!n&&t===`mysql5`)}var x=n();function S({label:e,version:t}){let n=y(t);return(0,x.jsxs)(`div`,{children:[(0,x.jsxs)(`strong`,{children:[e,`:`]}),` `,n?(0,x.jsx)(`a`,{className:`text-green`,href:n,rel:`noopener noreferrer`,target:`_blank`,children:t}):t]})}function C(){let{updateRoute:e}=s(),t=u().config,n=d();function f(){return new Date().getFullYear()}function p(){return!!t.enableDeveloperExperiments}function m(){return!t.hostSettings?.siteId}return(0,x.jsx)(o,{cancelLabel:``,footer:(0,x.jsx)(x.Fragment,{}),topRightContent:`close`,width:540,onClose:()=>{e(``)},children:(0,x.jsxs)(`div`,{className:`flex flex-col gap-4 pb-7`,children:[(0,x.jsx)(c,{className:`h-auto w-[120px] dark:invert`}),(0,x.jsxs)(`div`,{className:`mt-3 flex flex-col gap-1.5`,children:[n?.message&&(0,x.jsxs)(`div`,{className:`gh-prose-links mb-4 rounded-sm border border-green p-5`,children:[(0,x.jsx)(`strong`,{children:`Update available!`}),(0,x.jsx)(`div`,{dangerouslySetInnerHTML:{__html:n.message}})]}),(0,x.jsx)(S,{label:`Version`,version:t.version}),m()&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(`div`,{children:[(0,x.jsx)(`strong`,{children:`Environment:`}),` `,t.environment]}),(0,x.jsxs)(`div`,{children:[(0,x.jsx)(`strong`,{children:`Database:`}),` `,t.database]}),(0,x.jsxs)(`div`,{children:[(0,x.jsx)(`strong`,{children:`Mail:`}),` `,t.mail?t.mail:`Native`]})]}),p()&&(0,x.jsxs)(`div`,{children:[(0,x.jsx)(`strong`,{children:`Developer experiments:`}),` Enabled`]}),m()&&b(t.environment,t.database)&&(0,x.jsxs)(`div`,{className:`text-red-500 dark:text-red-400`,children:[`You are running an unsupported database in production. Please`,` `,(0,x.jsx)(`a`,{href:`https://docs.ghost.org/faq/supported-databases/`,rel:`noopener noreferrer`,target:`_blank`,children:`upgrade to MySQL 8`}),`.`]})]}),(0,x.jsx)(l,{}),(0,x.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,x.jsxs)(`a`,{className:`flex items-center gap-2 hover:text-gray-900 dark:hover:text-gray-400`,href:`https://docs.ghost.org/`,rel:`noopener noreferrer`,target:`_blank`,children:[(0,x.jsx)(a,{className:`size-4`}),` User documentation`]}),(0,x.jsxs)(`a`,{className:`flex items-center gap-2 hover:text-gray-900 dark:hover:text-gray-400`,href:`https://forum.ghost.org/`,rel:`noopener noreferrer`,target:`_blank`,children:[(0,x.jsx)(r,{className:`size-4`}),` Get help with Ghost`]}),(0,x.jsxs)(`a`,{className:`flex items-center gap-2 hover:text-gray-900 dark:hover:text-gray-400`,href:`https://docs.ghost.org/contributing/`,rel:`noopener noreferrer`,target:`_blank`,children:[(0,x.jsx)(i,{className:`size-4`}),` Get involved`]})]}),(0,x.jsx)(l,{}),(0,x.jsxs)(`p`,{className:`max-w-[460px] text-sm`,children:[`Copyright © 2013 – `,f(),` Ghost Foundation, released under the`,` `,(0,x.jsx)(`a`,{className:`text-green`,href:`https://github.com/TryGhost/Ghost/blob/main/LICENSE`,rel:`noopener noreferrer`,target:`_blank`,children:`MIT license`}),`.`,` `,(0,x.jsx)(`a`,{className:`text-green`,href:`https://ghost.org/`,rel:`noopener noreferrer`,target:`_blank`,children:`Ghost`}),` `,`is a registered trademark of`,` `,(0,x.jsx)(`a`,{className:`text-green`,href:`https://ghost.org/trademark/`,rel:`noopener noreferrer`,target:`_blank`,children:`Ghost Foundation Ltd`}),`.`]})]})})}export{C as default};
1
+ import{o as e,t}from"./rolldown-runtime-DAXXjFlN.js";import{t as n}from"./jsx-runtime-DX3WBWVO.js";import{Bn as r,Jn as i,gr as a}from"./button-Dvcv1QSR.js";import{o,t as s}from"./use-settings-navigation-B-qrriKD.js";import{n as c}from"./components-CwL6a6As-B0E0-NBJ.js";import{qn as l}from"./index-CgMCwsxN.js";import{n as u}from"./global-data-context-gAMDH9u1.js";import{s as d}from"./zapier-modal-DfVhV17j.js";var f=t(((e,t)=>{t.exports=typeof process==`object`&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error(`SEMVER`,...e):()=>{}})),p=t(((e,t)=>{var n=`2.0.0`,r=256;t.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:r-6,MAX_SAFE_INTEGER:2**53-1||9007199254740991,RELEASE_TYPES:[`major`,`premajor`,`minor`,`preminor`,`patch`,`prepatch`,`prerelease`],SEMVER_SPEC_VERSION:n,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}})),m=t(((e,t)=>{var{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=p(),a=f();e=t.exports={};var o=e.re=[],s=e.safeRe=[],c=e.src=[],l=e.safeSrc=[],u=e.t={},d=0,m=`[a-zA-Z0-9-]`,h=[[`\\s`,1],[`\\d`,i],[m,r]],g=e=>{for(let[t,n]of h)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},_=(e,t,n)=>{let r=g(t),i=d++;a(e,i,t),u[e]=i,c[i]=t,l[i]=r,o[i]=new RegExp(t,n?`g`:void 0),s[i]=new RegExp(r,n?`g`:void 0)};_(`NUMERICIDENTIFIER`,`0|[1-9]\\d*`),_(`NUMERICIDENTIFIERLOOSE`,`\\d+`),_(`NONNUMERICIDENTIFIER`,`\\d*[a-zA-Z-]${m}*`),_(`MAINVERSION`,`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),_(`MAINVERSIONLOOSE`,`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),_(`PRERELEASEIDENTIFIER`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIER]})`),_(`PRERELEASEIDENTIFIERLOOSE`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIERLOOSE]})`),_(`PRERELEASE`,`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),_(`PRERELEASELOOSE`,`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),_(`BUILDIDENTIFIER`,`${m}+`),_(`BUILD`,`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),_(`FULLPLAIN`,`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),_(`FULL`,`^${c[u.FULLPLAIN]}$`),_(`LOOSEPLAIN`,`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),_(`LOOSE`,`^${c[u.LOOSEPLAIN]}$`),_(`GTLT`,`((?:<|>)?=?)`),_(`XRANGEIDENTIFIERLOOSE`,`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),_(`XRANGEIDENTIFIER`,`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),_(`XRANGEPLAIN`,`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),_(`XRANGEPLAINLOOSE`,`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),_(`XRANGE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),_(`XRANGELOOSE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),_(`COERCEPLAIN`,`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),_(`COERCE`,`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),_(`COERCEFULL`,c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?(?:${c[u.BUILD]})?(?:$|[^\\d])`),_(`COERCERTL`,c[u.COERCE],!0),_(`COERCERTLFULL`,c[u.COERCEFULL],!0),_(`LONETILDE`,`(?:~>?)`),_(`TILDETRIM`,`(\\s*)${c[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace=`$1~`,_(`TILDE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),_(`TILDELOOSE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),_(`LONECARET`,`(?:\\^)`),_(`CARETTRIM`,`(\\s*)${c[u.LONECARET]}\\s+`,!0),e.caretTrimReplace=`$1^`,_(`CARET`,`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),_(`CARETLOOSE`,`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),_(`COMPARATORLOOSE`,`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),_(`COMPARATOR`,`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),_(`COMPARATORTRIM`,`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace=`$1$2$3`,_(`HYPHENRANGE`,`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),_(`HYPHENRANGELOOSE`,`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),_(`STAR`,`(<|>)?=?\\s*\\*`),_(`GTE0`,`^\\s*>=\\s*0\\.0\\.0\\s*$`),_(`GTE0PRE`,`^\\s*>=\\s*0\\.0\\.0-0\\s*$`)})),h=t(((e,t)=>{var n=Object.freeze({loose:!0}),r=Object.freeze({});t.exports=e=>e?typeof e==`object`?e:n:r})),g=t(((e,t)=>{var n=/^[0-9]+$/,r=(e,t)=>{if(typeof e==`number`&&typeof t==`number`)return e===t?0:e<t?-1:1;let r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}})),_=t(((e,t)=>{var n=f(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=p(),{safeRe:a,t:o}=m(),s=h(),{compareIdentifiers:c}=g(),l=(e,t)=>{let n=t.split(`.`);if(n.length>e.length)return!1;for(let t=0;t<n.length;t++)if(c(e[t],n[t])!==0)return!1;return!0};t.exports=class e{constructor(t,c){if(c=s(c),t instanceof e){if(t.loose===!!c.loose&&t.includePrerelease===!!c.includePrerelease)return t;t=t.version}else if(typeof t!=`string`)throw TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>r)throw TypeError(`version is longer than ${r} characters`);n(`SemVer`,t,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let l=t.trim().match(c.loose?a[o.LOOSE]:a[o.FULL]);if(!l)throw TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+l[1],this.minor=+l[2],this.patch=+l[3],this.major>i||this.major<0)throw TypeError(`Invalid major version`);if(this.minor>i||this.minor<0)throw TypeError(`Invalid minor version`);if(this.patch>i||this.patch<0)throw TypeError(`Invalid patch version`);l[4]?this.prerelease=l[4].split(`.`).map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=l[5]?l[5].split(`.`):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(`.`)}`),this.version}toString(){return this.version}compare(t){if(n(`SemVer.compare`,this.version,this.options,t),!(t instanceof e)){if(typeof t==`string`&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:+(this.patch>t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let e=this.prerelease[r],i=t.prerelease[r];if(n(`prerelease compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let e=this.build[r],i=t.build[r];if(n(`build compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}inc(e,t,n){if(e.startsWith(`pre`)){if(!t&&n===!1)throw Error(`invalid increment argument: identifier is empty`);if(t){let e=`-${t}`.match(this.options.loose?a[o.PRERELEASELOOSE]:a[o.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case`premajor`:this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(`pre`,t,n);break;case`preminor`:this.prerelease.length=0,this.patch=0,this.minor++,this.inc(`pre`,t,n);break;case`prepatch`:this.prerelease.length=0,this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`prerelease`:this.prerelease.length===0&&this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`release`:if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case`major`:(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case`minor`:(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case`patch`:this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case`pre`:{let e=+!!Number(n);if(this.prerelease.length===0)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]==`number`&&(this.prerelease[r]++,r=-2);if(r===-1){if(t===this.prerelease.join(`.`)&&n===!1)throw Error(`invalid increment argument: identifier already exists`);this.prerelease.push(e)}}if(t){let r=[t,e];if(n===!1&&(r=[t]),l(this.prerelease,t)){let e=this.prerelease[t.split(`.`).length];isNaN(e)&&(this.prerelease=r)}else this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(`.`)}`),this}}})),v=e(t(((e,t)=>{var n=_();t.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}}))(),1);function y(e){if(!e)return``;let t=e.indexOf(`+`),n=t===-1?``:e.slice(t+1),r=t===-1?e:e.slice(0,t);if(n&&n!==`moya`){let e=n.split(`.`),t=e[e.length-1];if(t&&/^[0-9a-f]{7,40}$/.test(t))return`https://github.com/TryGhost/Ghost/commit/${t}`}try{let e=(0,v.default)(r,{includePrerelease:!0})?.prerelease;if(e&&e.length>0){let t=String(e[0]).split(`-`)[1];return t?.startsWith(`g`)?`https://github.com/TryGhost/Ghost/commit/${t.slice(1)}`:``}}catch{return``}return`https://github.com/TryGhost/Ghost/releases/tag/v${r}`}function b(e,t){let n=!!e.match?.(/production/i);return!!(n&&t!==`mysql8`||!n&&t===`mysql5`)}var x=n();function S({label:e,version:t}){let n=y(t);return(0,x.jsxs)(`div`,{children:[(0,x.jsxs)(`strong`,{children:[e,`:`]}),` `,n?(0,x.jsx)(`a`,{className:`text-green`,href:n,rel:`noopener noreferrer`,target:`_blank`,children:t}):t]})}function C(){let{updateRoute:e}=s(),t=u().config,n=d();function f(){return new Date().getFullYear()}function p(){return!!t.enableDeveloperExperiments}function m(){return!t.hostSettings?.siteId}return(0,x.jsx)(o,{cancelLabel:``,footer:(0,x.jsx)(x.Fragment,{}),topRightContent:`close`,width:540,onClose:()=>{e(``)},children:(0,x.jsxs)(`div`,{className:`flex flex-col gap-4 pb-7`,children:[(0,x.jsx)(c,{className:`h-auto w-[120px] dark:invert`}),(0,x.jsxs)(`div`,{className:`mt-3 flex flex-col gap-1.5`,children:[n?.message&&(0,x.jsxs)(`div`,{className:`gh-prose-links mb-4 rounded-sm border border-green p-5`,children:[(0,x.jsx)(`strong`,{children:`Update available!`}),(0,x.jsx)(`div`,{dangerouslySetInnerHTML:{__html:n.message}})]}),(0,x.jsx)(S,{label:`Version`,version:t.version}),m()&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(`div`,{children:[(0,x.jsx)(`strong`,{children:`Environment:`}),` `,t.environment]}),(0,x.jsxs)(`div`,{children:[(0,x.jsx)(`strong`,{children:`Database:`}),` `,t.database]}),(0,x.jsxs)(`div`,{children:[(0,x.jsx)(`strong`,{children:`Mail:`}),` `,t.mail?t.mail:`Native`]})]}),p()&&(0,x.jsxs)(`div`,{children:[(0,x.jsx)(`strong`,{children:`Developer experiments:`}),` Enabled`]}),m()&&b(t.environment,t.database)&&(0,x.jsxs)(`div`,{className:`text-red-500 dark:text-red-400`,children:[`You are running an unsupported database in production. Please`,` `,(0,x.jsx)(`a`,{href:`https://docs.ghost.org/faq/supported-databases/`,rel:`noopener noreferrer`,target:`_blank`,children:`upgrade to MySQL 8`}),`.`]})]}),(0,x.jsx)(l,{}),(0,x.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,x.jsxs)(`a`,{className:`flex items-center gap-2 hover:text-gray-900 dark:hover:text-gray-400`,href:`https://docs.ghost.org/`,rel:`noopener noreferrer`,target:`_blank`,children:[(0,x.jsx)(a,{className:`size-4`}),` User documentation`]}),(0,x.jsxs)(`a`,{className:`flex items-center gap-2 hover:text-gray-900 dark:hover:text-gray-400`,href:`https://forum.ghost.org/`,rel:`noopener noreferrer`,target:`_blank`,children:[(0,x.jsx)(i,{className:`size-4`}),` Get help with Ghost`]}),(0,x.jsxs)(`a`,{className:`flex items-center gap-2 hover:text-gray-900 dark:hover:text-gray-400`,href:`https://docs.ghost.org/contributing/`,rel:`noopener noreferrer`,target:`_blank`,children:[(0,x.jsx)(r,{className:`size-4`}),` Get involved`]})]}),(0,x.jsx)(l,{}),(0,x.jsxs)(`p`,{className:`max-w-[460px] text-sm`,children:[`Copyright © 2013 – `,f(),` Ghost Foundation, released under the`,` `,(0,x.jsx)(`a`,{className:`text-green`,href:`https://github.com/TryGhost/Ghost/blob/main/LICENSE`,rel:`noopener noreferrer`,target:`_blank`,children:`MIT license`}),`.`,` `,(0,x.jsx)(`a`,{className:`text-green`,href:`https://ghost.org/`,rel:`noopener noreferrer`,target:`_blank`,children:`Ghost`}),` `,`is a registered trademark of`,` `,(0,x.jsx)(`a`,{className:`text-green`,href:`https://ghost.org/trademark/`,rel:`noopener noreferrer`,target:`_blank`,children:`Ghost Foundation Ltd`}),`.`]})]})})}export{C as default};
@@ -0,0 +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{a as r,l as i}from"./dist-B3keLvjj.js";import{l as a,u as o,v as s,x as c}from"./shade-app-CcS3f8MZ-vwURazk8.js";import{a as l,r as u,t as d}from"./dist-8YJUlf3B.js";import{tr as f}from"./button-Dvcv1QSR.js";import{n as p,t as m}from"./dist-Dgt2cr6a.js";var h=e(t(),1),g=n(),_=`Collapsible`,[v,y]=l(_),[b,x]=v(_),S=h.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:o,onOpenChange:c,...l}=e,[d,f]=a({prop:r,defaultProp:i??!1,onChange:c,caller:_});return(0,g.jsx)(b,{scope:n,disabled:o,contentId:s(),open:d,onOpenToggle:h.useCallback(()=>f(e=>!e),[f]),children:(0,g.jsx)(u.div,{"data-state":D(d),"data-disabled":o?``:void 0,...l,ref:t})})});S.displayName=_;var C=`CollapsibleTrigger`,w=h.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=x(C,n);return(0,g.jsx)(u.button,{type:`button`,"aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":D(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled,...r,ref:t,onClick:c(e.onClick,i.onOpenToggle)})});w.displayName=C;var T=`CollapsibleContent`,E=h.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=x(T,e.__scopeCollapsible);return(0,g.jsx)(o,{present:n||i.open,children:({present:e})=>(0,g.jsx)(ee,{...r,ref:t,present:e})})});E.displayName=T;var ee=h.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:i,children:a,...o}=e,s=x(T,n),[c,l]=h.useState(i),f=h.useRef(null),p=r(t,f),m=h.useRef(0),_=m.current,v=h.useRef(0),y=v.current,b=s.open||c,S=h.useRef(b),C=h.useRef(void 0);return h.useEffect(()=>{let e=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(e)},[]),d(()=>{let e=f.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();m.current=t.height,v.current=t.width,S.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),l(i)}},[s.open,i]),(0,g.jsx)(u.div,{"data-state":D(s.open),"data-disabled":s.disabled?``:void 0,id:s.contentId,hidden:!b,...o,ref:p,style:{"--radix-collapsible-content-height":_?`${_}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:b&&a})});function D(e){return e?`open`:`closed`}var te=S,ne=w,re=E,O=`Accordion`,ie=[`Home`,`End`,`ArrowDown`,`ArrowUp`,`ArrowLeft`,`ArrowRight`],[k,ae,A]=p(O),[j,oe]=l(O,[A,y]),M=y(),N=h.forwardRef((e,t)=>{let{type:n,...r}=e,i=r,a=r;return(0,g.jsx)(k.Provider,{scope:e.__scopeAccordion,children:n===`multiple`?(0,g.jsx)(ue,{...a,ref:t}):(0,g.jsx)(le,{...i,ref:t})})});N.displayName=O;var[P,se]=j(O),[F,ce]=j(O,{collapsible:!1}),le=h.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:o=!1,...s}=e,[c,l]=a({prop:n,defaultProp:r??``,onChange:i,caller:O});return(0,g.jsx)(P,{scope:e.__scopeAccordion,value:h.useMemo(()=>c?[c]:[],[c]),onItemOpen:l,onItemClose:h.useCallback(()=>o&&l(``),[o,l]),children:(0,g.jsx)(F,{scope:e.__scopeAccordion,collapsible:o,children:(0,g.jsx)(L,{...s,ref:t})})})}),ue=h.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},...o}=e,[s,c]=a({prop:n,defaultProp:r??[],onChange:i,caller:O}),l=h.useCallback(e=>c((t=[])=>[...t,e]),[c]),u=h.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,g.jsx)(P,{scope:e.__scopeAccordion,value:s,onItemOpen:l,onItemClose:u,children:(0,g.jsx)(F,{scope:e.__scopeAccordion,collapsible:!0,children:(0,g.jsx)(L,{...o,ref:t})})})}),[de,I]=j(O),L=h.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:i,dir:a,orientation:o=`vertical`,...s}=e,l=r(h.useRef(null),t),d=ae(n),f=m(a)===`ltr`,p=c(e.onKeyDown,e=>{if(!ie.includes(e.key))return;let t=e.target,n=d().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(r===-1)return;e.preventDefault();let a=r,s=i-1,c=()=>{a=r+1,a>s&&(a=0)},l=()=>{a=r-1,a<0&&(a=s)};switch(e.key){case`Home`:a=0;break;case`End`:a=s;break;case`ArrowRight`:o===`horizontal`&&(f?c():l());break;case`ArrowDown`:o===`vertical`&&c();break;case`ArrowLeft`:o===`horizontal`&&(f?l():c());break;case`ArrowUp`:o===`vertical`&&l();break}n[a%i].ref.current?.focus()});return(0,g.jsx)(de,{scope:n,disabled:i,direction:a,orientation:o,children:(0,g.jsx)(k.Slot,{scope:n,children:(0,g.jsx)(u.div,{...s,"data-orientation":o,ref:l,onKeyDown:i?void 0:p})})})}),R=`AccordionItem`,[fe,z]=j(R),B=h.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...i}=e,a=I(R,n),o=se(R,n),c=M(n),l=s(),u=r&&o.value.includes(r)||!1,d=a.disabled||e.disabled;return(0,g.jsx)(fe,{scope:n,open:u,disabled:d,triggerId:l,children:(0,g.jsx)(te,{"data-orientation":a.orientation,"data-state":q(u),...c,...i,ref:t,disabled:d,open:u,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})})});B.displayName=R;var V=`AccordionHeader`,H=h.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=I(O,n),a=z(V,n);return(0,g.jsx)(u.h3,{"data-orientation":i.orientation,"data-state":q(a.open),"data-disabled":a.disabled?``:void 0,...r,ref:t})});H.displayName=V;var U=`AccordionTrigger`,W=h.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=I(O,n),a=z(U,n),o=ce(U,n),s=M(n);return(0,g.jsx)(k.ItemSlot,{scope:n,children:(0,g.jsx)(ne,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...r,ref:t})})});W.displayName=U;var G=`AccordionContent`,K=h.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=I(O,n),a=z(G,n),o=M(n);return(0,g.jsx)(re,{role:`region`,"aria-labelledby":a.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":`var(--radix-collapsible-content-height)`,"--radix-accordion-content-width":`var(--radix-collapsible-content-width)`,...e.style}})});K.displayName=G;function q(e){return e?`open`:`closed`}var pe=N,me=B,J=H,Y=W,X=K,he=pe,Z=h.forwardRef(({className:e,...t},n)=>(0,g.jsx)(me,{ref:n,className:i(`border-b`,e),...t}));Z.displayName=`AccordionItem`;var Q=h.forwardRef(({className:e,children:t,...n},r)=>(0,g.jsx)(J,{className:`flex`,children:(0,g.jsxs)(Y,{ref:r,className:i(`flex flex-1 items-center justify-between py-4 text-left text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180`,e),...n,children:[t,(0,g.jsx)(f,{className:`size-4 shrink-0 text-muted-foreground transition-transform duration-200`})]})}));Q.displayName=Y.displayName;var $=h.forwardRef(({className:e,children:t,...n},r)=>(0,g.jsx)(X,{ref:r,className:`overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down`,...n,children:(0,g.jsx)(`div`,{className:i(`pt-0 pb-4`,e),children:t})}));$.displayName=X.displayName;export{Q as i,$ as n,Z as r,he as t};
@@ -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{n as r}from"./heading-Dh5SFVjL.js";import{D as i,t as a}from"./button-eNMKQWXr.js";import{t as o}from"./skeleton-Ce9GgUpf.js";import{i as s,o as c,r as l,t as u}from"./field-Dihp5p18.js";import{$n as d,Qn as f,Zt as p,ht as m,pn as h,qt as g}from"./index-6MkPdCtr.js";import"./layout-Bjv2Ll-5.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}=g(`index`),w=p(`index`),T=h(`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)(m,{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)(r,{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)(u,{"data-invalid":O?!0:void 0,children:[(0,v.jsx)(c,{htmlFor:`account-migration-source-handle`,children:`Old account handle`}),(0,v.jsx)(l,{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)(d,{"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)(a,{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)(f,{color:`light`,size:`sm`}),(0,v.jsx)(`span`,{className:`sr-only`,children:`Creating alias...`})]})]})]}),O&&(0,v.jsx)(s,{id:`account-migration-source-handle-error`,children:O}),A&&(0,v.jsx)(s,{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)(c,{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)(o,{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)(a,{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)(a,{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)(f,{size:`sm`}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(i,{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{n as r}from"./heading-Dh5SFVjL.js";import{D as i,t as a}from"./button-Dvcv1QSR.js";import{t as o}from"./skeleton-Ce9GgUpf.js";import{i as s,o as c,r as l,t as u}from"./field-C93_Mg6j.js";import{Zt as d,_n as f,nr as p,rr as m,tn as h,vt as g}from"./index-CgMCwsxN.js";import"./layout-DUTL8SH5.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=h(`index`),T=f(`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)(g,{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)(r,{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)(u,{"data-invalid":O?!0:void 0,children:[(0,v.jsx)(c,{htmlFor:`account-migration-source-handle`,children:`Old account handle`}),(0,v.jsx)(l,{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)(a,{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)(p,{color:`light`,size:`sm`}),(0,v.jsx)(`span`,{className:`sr-only`,children:`Creating alias...`})]})]})]}),O&&(0,v.jsx)(s,{id:`account-migration-source-handle-error`,children:O}),A&&(0,v.jsx)(s,{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)(c,{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)(o,{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)(a,{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)(a,{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)(p,{size:`sm`}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(i,{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-Ck3O4oo2.js";
3
- import { r } from "./use-navigate-with-base-path-Bmk5h4lW.js";
4
- import { O as i, Y as a, n as o, o as s } from "./use-activity-pub-queries-CV50qe03.js";
5
- import { N as c, P as l, a as u, lt as d } from "./routes-BD4vscyc.js";
6
- import { u as f } from "./content-formatters-3rTHg3mp.js";
7
- import { i as p, n as m, r as h, t as g } from "./field-Dn7HHx2-.js";
8
- import "./layout-2-0bw6HN.js";
3
+ import { r } from "./use-navigate-with-base-path-DsJTGDSS.js";
4
+ import { O as i, Y as a, n as o, o as s } from "./use-activity-pub-queries-CX9snsLs.js";
5
+ import { N as c, P as l, a as u, lt as d } from "./routes-DdyY9uFF.js";
6
+ import { u as f } from "./content-formatters-CLcjaBwV.js";
7
+ import { i as p, n as m, r as h, t as g } from "./field-COacNgOt.js";
8
+ import "./layout-BL4_jtuV.js";
9
9
  //#region src/views/preferences/components/account-migration.tsx
10
10
  t();
11
11
  var _ = n(), v = /^@?[^@\s]+@[^@\s]+$/;
@@ -174,4 +174,4 @@ var S = () => {
174
174
  //#endregion
175
175
  export { S as default };
176
176
 
177
- //# sourceMappingURL=account-migration-By69CgCp.js.map
177
+ //# sourceMappingURL=account-migration-KA6Jjf9L.js.map
@@ -1,8 +1,8 @@
1
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-Ck3O4oo2.js";
3
- import { p as r } from "./use-navigate-with-base-path-Bmk5h4lW.js";
4
- import { C as i } from "./use-activity-pub-queries-CV50qe03.js";
5
- import { Ft as a, _t as o, o as s, t as c } from "./routes-BD4vscyc.js";
3
+ import { p as r } from "./use-navigate-with-base-path-DsJTGDSS.js";
4
+ import { C as i } from "./use-activity-pub-queries-CX9snsLs.js";
5
+ import { Ft as a, _t as o, o as s, t as c } from "./routes-DdyY9uFF.js";
6
6
  //#region src/app.tsx
7
7
  var l = e(), u = ({ framework: e, activityPubEnabled: i }) => i === !1 ? null : /* @__PURE__ */ (0, l.jsx)(t, {
8
8
  ...e,
@@ -1,6 +1,6 @@
1
1
  import { S as e, T as t, _ as n, c as r, d as i, u as a, v as o, w as s, x as c } from "./_react-D4KM8XEu.js";
2
2
  import { S as l, h as u } from "./chunk-KS7C4IRE-Ck3O4oo2.js";
3
- import { S as d, c as f, o as p, y as m } from "./use-navigate-with-base-path-Bmk5h4lW.js";
3
+ import { S as d, c as f, o as p, y as m } from "./use-navigate-with-base-path-DsJTGDSS.js";
4
4
  //#region ../../node_modules/.pnpm/@radix-ui+react-context@1.1.4_@types+react@18.3.31_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.mjs
5
5
  i();
6
6
  var h = l();
@@ -258,4 +258,4 @@ H.displayName = A.displayName;
258
258
  //#endregion
259
259
  export { S as a, v as c, C as i, y as l, B as n, x as o, z as r, b as s, H as t, g as u };
260
260
 
261
- //# sourceMappingURL=avatar-DLPL3Abs.js.map
261
+ //# sourceMappingURL=avatar-DVJF5bxP.js.map
@@ -1,6 +1,6 @@
1
1
  import { d as e } from "./_react-D4KM8XEu.js";
2
2
  import { S as t } from "./chunk-KS7C4IRE-Ck3O4oo2.js";
3
- import { o as n } from "./use-navigate-with-base-path-Bmk5h4lW.js";
3
+ import { o as n } from "./use-navigate-with-base-path-DsJTGDSS.js";
4
4
  var r = n("repeat", [
5
5
  ["path", {
6
6
  d: "m17 2 4 4-4 4",
@@ -29,4 +29,4 @@ var i = t(), a = ({ children: e }) => /* @__PURE__ */ (0, i.jsx)("div", {
29
29
  //#endregion
30
30
  export { a as n, r, o as t };
31
31
 
32
- //# sourceMappingURL=avatar-flipboard-C9iDY-QV.js.map
32
+ //# sourceMappingURL=avatar-flipboard-csQaNeYK.js.map
@@ -1,13 +1,13 @@
1
1
  import { T as e, d as t, g as n, v as ee, w as r } from "./_react-D4KM8XEu.js";
2
2
  import { S as i } from "./chunk-KS7C4IRE-Ck3O4oo2.js";
3
- import { o as a } from "./users-BjcoP_HC.js";
4
- import { i as o, r as s } from "./use-navigate-with-base-path-Bmk5h4lW.js";
5
- import { X as c, Y as l, a as u, d, g as f, m as p } from "./use-activity-pub-queries-CV50qe03.js";
6
- import { B as m, H as h, L as g, N as _, Q as te, R as v, U as y, V as b, W as x, X as S, a as C, nt as w, rt as T, tt as E, ut as D, z as O } from "./routes-BD4vscyc.js";
7
- import { c as k, p as A } from "./content-formatters-3rTHg3mp.js";
8
- import { t as j } from "./copy-DIAOQoCZ.js";
9
- import { t as M } from "./edit-profile-BqtfzxCp.js";
10
- import "./layout-2-0bw6HN.js";
3
+ import { o as a } from "./users-inweyKL5.js";
4
+ import { i as o, r as s } from "./use-navigate-with-base-path-DsJTGDSS.js";
5
+ import { X as c, Y as l, a as u, d, g as f, m as p } from "./use-activity-pub-queries-CX9snsLs.js";
6
+ import { B as m, H as h, L as g, N as _, Q as te, R as v, U as y, V as b, W as x, X as S, a as C, nt as w, rt as T, tt as E, ut as D, z as O } from "./routes-DdyY9uFF.js";
7
+ import { c as k, p as A } from "./content-formatters-CLcjaBwV.js";
8
+ import { t as j } from "./copy-DcOh8kXw.js";
9
+ import { t as M } from "./edit-profile-BqMLQV88.js";
10
+ import "./layout-BL4_jtuV.js";
11
11
  //#region src/views/preferences/components/bluesky-sharing.tsx
12
12
  t();
13
13
  var N = i(), ne = 5e3, P = 12, F = () => {
@@ -246,4 +246,4 @@ var N = i(), ne = 5e3, P = 12, F = () => {
246
246
  //#endregion
247
247
  export { F as default };
248
248
 
249
- //# sourceMappingURL=bluesky-sharing-BJcPMrDd.js.map
249
+ //# sourceMappingURL=bluesky-sharing-C7nTDMvw.js.map
@@ -1,8 +1,8 @@
1
1
  import { S as e, T as t, a as n, d as r, v as i } from "./_react-D4KM8XEu.js";
2
2
  import { S as a } from "./chunk-KS7C4IRE-Ck3O4oo2.js";
3
- import { o } from "./users-BjcoP_HC.js";
4
- import { C as s, o as c, r as l, t as u, y as d } from "./use-navigate-with-base-path-Bmk5h4lW.js";
5
- import { R as ee, y as te } from "./use-activity-pub-queries-CV50qe03.js";
3
+ import { o } from "./users-inweyKL5.js";
4
+ import { C as s, o as c, r as l, t as u, y as d } from "./use-navigate-with-base-path-DsJTGDSS.js";
5
+ import { R as ee, y as te } from "./use-activity-pub-queries-CX9snsLs.js";
6
6
  var f = c("check", [["path", {
7
7
  d: "M20 6 9 17l-5-5",
8
8
  key: "1gmf2c"
@@ -1061,4 +1061,4 @@ var pt = (e) => {
1061
1061
  //#endregion
1062
1062
  export { ft as a, x as c, m as d, p as f, pt as i, v as l, ut as n, z as o, f as p, R as r, H as s, mt as t, g as u };
1063
1063
 
1064
- //# sourceMappingURL=content-formatters-3rTHg3mp.js.map
1064
+ //# sourceMappingURL=content-formatters-CLcjaBwV.js.map
@@ -1,4 +1,4 @@
1
- import { o as e } from "./use-navigate-with-base-path-Bmk5h4lW.js";
1
+ import { o as e } from "./use-navigate-with-base-path-DsJTGDSS.js";
2
2
  var t = e("copy", [["rect", {
3
3
  width: "14",
4
4
  height: "14",
@@ -14,4 +14,4 @@ var t = e("copy", [["rect", {
14
14
  //#endregion
15
15
  export { t };
16
16
 
17
- //# sourceMappingURL=copy-DIAOQoCZ.js.map
17
+ //# sourceMappingURL=copy-DcOh8kXw.js.map
@@ -1,14 +1,14 @@
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-Ck3O4oo2.js";
3
- import { r as o, y as s } from "./use-navigate-with-base-path-Bmk5h4lW.js";
4
- import { B as c, V as ee, W as te, Y as ne, a as re, r as ie } from "./use-activity-pub-queries-CV50qe03.js";
5
- import { N as l, P as u, a as ae, bt as oe, vt as se, xt as ce, yt as le } from "./routes-BD4vscyc.js";
6
- import { d as ue, u as d } from "./content-formatters-3rTHg3mp.js";
7
- import { t as de } from "./copy-DIAOQoCZ.js";
8
- import { i as f, r as p, t as m } from "./field-Dn7HHx2-.js";
9
- import "./layout-2-0bw6HN.js";
3
+ import { r as o, y as s } from "./use-navigate-with-base-path-DsJTGDSS.js";
4
+ import { B as c, V as ee, W as te, Y as ne, a as re, r as ie } from "./use-activity-pub-queries-CX9snsLs.js";
5
+ import { N as l, P as u, a as ae, bt as oe, vt as se, xt as ce, yt as le } from "./routes-DdyY9uFF.js";
6
+ import { d as ue, u as d } from "./content-formatters-CLcjaBwV.js";
7
+ import { t as de } from "./copy-DcOh8kXw.js";
8
+ import { i as f, r as p, t as m } from "./field-COacNgOt.js";
9
+ import "./layout-BL4_jtuV.js";
10
10
  import { n as fe, t as h } from "./social-web-handle-251Wqk4d.js";
11
- import { t as pe } from "./site-O0RL9YCN.js";
11
+ import { t as pe } from "./site-BYps63oh.js";
12
12
  //#region ../shade/es/components/primitives/types.js
13
13
  var g = {
14
14
  none: "gap-0",
@@ -466,4 +466,4 @@ var x = () => {
466
466
  //#endregion
467
467
  export { x as default };
468
468
 
469
- //# sourceMappingURL=domain-DUR4xSkV.js.map
469
+ //# sourceMappingURL=domain-fZ-X8i4-.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-Ck3O4oo2.js";
3
- import { o as l } from "./users-BjcoP_HC.js";
4
- import { r as u, s as d, y as f } from "./use-navigate-with-base-path-Bmk5h4lW.js";
5
- import { V as p, t as m } from "./use-activity-pub-queries-CV50qe03.js";
6
- import { F as h, I as g, N as _, P as v, Z as y, ct as b, et as x, f as ee, lt as S, m as te, u as C } from "./routes-BD4vscyc.js";
7
- import { t as w } from "./label-1AA_s9Fa.js";
3
+ import { o as l } from "./users-inweyKL5.js";
4
+ import { r as u, s as d, y as f } from "./use-navigate-with-base-path-DsJTGDSS.js";
5
+ import { V as p, t as m } from "./use-activity-pub-queries-CX9snsLs.js";
6
+ import { F as h, I as g, N as _, P as v, Z as y, ct as b, et as x, f as ee, lt as S, m as te, u as C } from "./routes-DdyY9uFF.js";
7
+ import { t as w } from "./label-kPMmYI7l.js";
8
8
  import { t as ne } 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 Is = (e) => {
4514
4514
  //#endregion
4515
4515
  export { Rs as t };
4516
4516
 
4517
- //# sourceMappingURL=edit-profile-BqtfzxCp.js.map
4517
+ //# sourceMappingURL=edit-profile-BqMLQV88.js.map
@@ -1,14 +1,14 @@
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-Ck3O4oo2.js";
3
- import { o as a, r as o, t as s } from "./use-navigate-with-base-path-Bmk5h4lW.js";
4
- import { Z as c, _ as l, a as u } from "./use-activity-pub-queries-CV50qe03.js";
5
- import { D as d, E as f, N as p, a as m } from "./routes-BD4vscyc.js";
6
- import { t as h } from "./x-DbQZOLiI.js";
7
- import { c as g, i as _, o as v, s as y, u as b } from "./content-formatters-3rTHg3mp.js";
8
- import { n as x } from "./onboarding-CSUJJIlh.js";
9
- import "./onboarding-BsJ9E5qf.js";
10
- import "./layout-2-0bw6HN.js";
11
- import { t as S } from "./topic-filter-5yZH6tId.js";
3
+ import { o as a, r as o, t as s } from "./use-navigate-with-base-path-DsJTGDSS.js";
4
+ import { Z as c, _ as l, a as u } from "./use-activity-pub-queries-CX9snsLs.js";
5
+ import { D as d, E as f, N as p, a as m } from "./routes-DdyY9uFF.js";
6
+ import { t as h } from "./x-DR8AT3-4.js";
7
+ import { c as g, i as _, o as v, s as y, u as b } from "./content-formatters-CLcjaBwV.js";
8
+ import { n as x } from "./onboarding-Dmun9jr_.js";
9
+ import "./onboarding-Bqg7fh_L.js";
10
+ import "./layout-BL4_jtuV.js";
11
+ import { t as S } from "./topic-filter-DsUOuu0k.js";
12
12
  var C = a("sprout", [
13
13
  ["path", {
14
14
  d: "M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3",
@@ -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-BxuJd-J4.js.map
178
+ //# sourceMappingURL=explore-B4yPoP8E.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-Ck3O4oo2.js";
3
- import { r as a, t as o } from "./use-navigate-with-base-path-Bmk5h4lW.js";
4
- import { K as s, P as c, U as l, Z as u, q as d, v as f } from "./use-activity-pub-queries-CV50qe03.js";
5
- import { D as p, E as m, N as h, a as g, ft as _, g as v, i as y, l as b, n as x, pt as S, r as C } from "./routes-BD4vscyc.js";
6
- import { i as w, t as T } from "./x-DbQZOLiI.js";
7
- import { c as E, u as D } from "./content-formatters-3rTHg3mp.js";
8
- import { t as O } from "./hash-Bm3WxYN4.js";
9
- import { t as k } from "./separator-BbQqTm-p.js";
10
- import "./layout-2-0bw6HN.js";
3
+ import { r as a, t as o } from "./use-navigate-with-base-path-DsJTGDSS.js";
4
+ import { K as s, P as c, U as l, Z as u, q as d, v as f } from "./use-activity-pub-queries-CX9snsLs.js";
5
+ import { D as p, E as m, N as h, a as g, ft as _, g as v, i as y, l as b, n as x, pt as S, r as C } from "./routes-DdyY9uFF.js";
6
+ import { i as w, t as T } from "./x-DR8AT3-4.js";
7
+ import { c as E, u as D } from "./content-formatters-CLcjaBwV.js";
8
+ import { t as O } from "./hash-C7u-irQQ.js";
9
+ import { t as k } from "./separator-CAxxu8VV.js";
10
+ import "./layout-BL4_jtuV.js";
11
11
  //#region src/views/feed/components/feed-input.tsx
12
12
  var A = i(), j = ({ user: e }) => /* @__PURE__ */ (0, A.jsx)(b, { children: /* @__PURE__ */ (0, A.jsxs)("div", {
13
13
  className: "relative my-5 w-full hover:cursor-pointer",
@@ -255,4 +255,4 @@ var P = () => {
255
255
  //#endregion
256
256
  export { P as default };
257
257
 
258
- //# sourceMappingURL=feed-BM1TcksA.js.map
258
+ //# sourceMappingURL=feed-BRC_mvAe.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-Ck3O4oo2.js";
3
- import { d as r, y as i } from "./use-navigate-with-base-path-Bmk5h4lW.js";
4
- import { t as a } from "./label-1AA_s9Fa.js";
3
+ import { d as r, y as i } from "./use-navigate-with-base-path-DsJTGDSS.js";
4
+ import { t as a } from "./label-kPMmYI7l.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-Dn7HHx2-.js.map
62
+ //# sourceMappingURL=field-COacNgOt.js.map
@@ -1,4 +1,4 @@
1
- import { o as e } from "./use-navigate-with-base-path-Bmk5h4lW.js";
1
+ import { o as e } from "./use-navigate-with-base-path-DsJTGDSS.js";
2
2
  var t = e("hash", [
3
3
  ["line", {
4
4
  x1: "4",
@@ -32,4 +32,4 @@ var t = e("hash", [
32
32
  //#endregion
33
33
  export { t };
34
34
 
35
- //# sourceMappingURL=hash-Bm3WxYN4.js.map
35
+ //# sourceMappingURL=hash-C7u-irQQ.js.map
@@ -1,14 +1,14 @@
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-Ck3O4oo2.js";
3
- import { o as u, r as d, t as f, w as p, y as m } from "./use-navigate-with-base-path-Bmk5h4lW.js";
4
- import { F as h, K as g, b as _, h as v, q as y } from "./use-activity-pub-queries-CV50qe03.js";
5
- import { $ as b, C as x, D as S, E as ee, J as C, K as w, N as T, O as E, Pt as D, Q as O, S as k, T as te, X as ne, Y as re, _ as ie, a as ae, g as A, h as oe, n as se, nt as ce, s as le, tt as j, v as ue, w as de, x as fe, y as pe } from "./routes-BD4vscyc.js";
6
- import { a as me, c as he, f as M, i as N, l as ge, n as P, r as F, t as I, u as L } from "./content-formatters-3rTHg3mp.js";
7
- import { t as R } from "./inbox-d8oJRTf4.js";
8
- import { i as _e, n as ve, r as ye, t as be } from "./use-reply-chain-data-Cbvzgjzd.js";
9
- import { t as xe } from "./separator-BbQqTm-p.js";
10
- import "./layout-2-0bw6HN.js";
11
- import { t as z } from "./topic-filter-5yZH6tId.js";
3
+ import { o as u, r as d, t as f, w as p, y as m } from "./use-navigate-with-base-path-DsJTGDSS.js";
4
+ import { F as h, K as g, b as _, h as v, q as y } from "./use-activity-pub-queries-CX9snsLs.js";
5
+ import { $ as b, C as x, D as S, E as ee, J as C, K as w, N as T, O as E, Pt as D, Q as O, S as k, T as te, X as ne, Y as re, _ as ie, a as ae, g as A, h as oe, n as se, nt as ce, s as le, tt as j, v as ue, w as de, x as fe, y as pe } from "./routes-DdyY9uFF.js";
6
+ import { a as me, c as he, f as M, i as N, l as ge, n as P, r as F, t as I, u as L } from "./content-formatters-CLcjaBwV.js";
7
+ import { t as R } from "./inbox-CbTTdDQ3.js";
8
+ import { i as _e, n as ve, r as ye, t as be } from "./use-reply-chain-data-AJi9zkzm.js";
9
+ import { t as xe } from "./separator-CAxxu8VV.js";
10
+ import "./layout-BL4_jtuV.js";
11
+ import { t as z } from "./topic-filter-DsUOuu0k.js";
12
12
  var B = u("minus", [["path", {
13
13
  d: "M5 12h14",
14
14
  key: "1ays0h"
@@ -1281,4 +1281,4 @@ var Ct = () => {
1281
1281
  //#endregion
1282
1282
  export { Ct as default };
1283
1283
 
1284
- //# sourceMappingURL=inbox-CCjkuow2.js.map
1284
+ //# sourceMappingURL=inbox-BW-yvUoN.js.map
@@ -1,4 +1,4 @@
1
- import { o as e } from "./use-navigate-with-base-path-Bmk5h4lW.js";
1
+ import { o as e } from "./use-navigate-with-base-path-DsJTGDSS.js";
2
2
  var t = e("inbox", [["polyline", {
3
3
  points: "22 12 16 12 14 15 10 15 8 12 2 12",
4
4
  key: "o97t9d"
@@ -9,4 +9,4 @@ var t = e("inbox", [["polyline", {
9
9
  //#endregion
10
10
  export { t };
11
11
 
12
- //# sourceMappingURL=inbox-d8oJRTf4.js.map
12
+ //# sourceMappingURL=inbox-CbTTdDQ3.js.map
@@ -1,7 +1,7 @@
1
1
  import { d as e, u as t } from "./_react-D4KM8XEu.js";
2
2
  import { S as n } from "./chunk-KS7C4IRE-Ck3O4oo2.js";
3
- import { d as r, y as i } from "./use-navigate-with-base-path-Bmk5h4lW.js";
4
- import { j as a } from "./routes-BD4vscyc.js";
3
+ import { d as r, y as i } from "./use-navigate-with-base-path-DsJTGDSS.js";
4
+ import { j as a } from "./routes-DdyY9uFF.js";
5
5
  //#region ../shade/es/components/ui/label.js
6
6
  e();
7
7
  var o = n(), s = r("text-control leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), c = t(({ className: e, ...t }, n) => /* @__PURE__ */ (0, o.jsx)(a, {
@@ -13,4 +13,4 @@ c.displayName = a.displayName;
13
13
  //#endregion
14
14
  export { c as t };
15
15
 
16
- //# sourceMappingURL=label-1AA_s9Fa.js.map
16
+ //# sourceMappingURL=label-kPMmYI7l.js.map
@@ -0,0 +1 @@
1
+ import "./routes-DdyY9uFF.js";
@@ -1,14 +1,14 @@
1
1
  import { S as e, T as t, d as n, u as r, v as i, w as a } from "./_react-D4KM8XEu.js";
2
2
  import { S as o } from "./chunk-KS7C4IRE-Ck3O4oo2.js";
3
- import { o as s } from "./users-BjcoP_HC.js";
4
- import { d as c, r as l, t as u, u as d, y as f } from "./use-navigate-with-base-path-Bmk5h4lW.js";
5
- import { D as p, H as m, I as h, L as g, Y as _, c as v, l as y, s as b, u as ee } from "./use-activity-pub-queries-CV50qe03.js";
6
- import { A as x, At as S, C as te, E as ne, Nt as C, St as w, a as re, c as T, k as E, mt as D } from "./routes-BD4vscyc.js";
7
- import { c as O, u as k } from "./avatar-DLPL3Abs.js";
8
- import { c as ie, u as A } from "./content-formatters-3rTHg3mp.js";
9
- import { i as j, n as M, r as N, t as P } from "./tabs-Dxk-b9M-.js";
10
- import { a as F, i as I, n as L, r as ae, t as oe } from "./settings-BsMROdqh.js";
11
- import "./layout-2-0bw6HN.js";
3
+ import { o as s } from "./users-inweyKL5.js";
4
+ import { d as c, r as l, t as u, u as d, y as f } from "./use-navigate-with-base-path-DsJTGDSS.js";
5
+ import { D as p, H as m, I as h, L as g, Y as _, c as v, l as y, s as b, u as ee } from "./use-activity-pub-queries-CX9snsLs.js";
6
+ import { A as x, At as S, C as te, E as ne, Nt as C, St as w, a as re, c as T, k as E, mt as D } from "./routes-DdyY9uFF.js";
7
+ import { c as O, u as k } from "./avatar-DVJF5bxP.js";
8
+ import { c as ie, u as A } from "./content-formatters-CLcjaBwV.js";
9
+ import { i as j, n as M, r as N, t as P } from "./tabs-DLhZtVde.js";
10
+ import { a as F, i as I, n as L, r as ae, t as oe } from "./settings-B6EEcVkW.js";
11
+ import "./layout-BL4_jtuV.js";
12
12
  //#region ../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.2_@types+react@18.3.31_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.mjs
13
13
  n();
14
14
  function R(t) {
@@ -337,4 +337,4 @@ var de = () => {
337
337
  //#endregion
338
338
  export { de as default };
339
339
 
340
- //# sourceMappingURL=moderation-CnmxEB8w.js.map
340
+ //# sourceMappingURL=moderation-CuidJzc0.js.map