ghost 6.54.0 → 6.55.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.
- package/components/ghost-storage-base-3.0.0.tgz +0 -0
- package/components/tryghost-adapter-base-cache-0.2.0.tgz +0 -0
- package/components/tryghost-adapter-base-scheduling-0.2.0.tgz +0 -0
- package/components/tryghost-adapter-base-sso-0.1.1.tgz +0 -0
- package/components/tryghost-custom-field-types-0.0.0.tgz +0 -0
- package/components/tryghost-kg-default-cards-10.3.3.tgz +0 -0
- package/core/boot.js +3 -6
- package/core/built/admin/assets/{account-migration-DLvVA5yq.js → account-migration-sjHLx5dy.js} +1 -1
- package/core/built/admin/assets/activitypub/{account-migration-DHbZcxGM.js → account-migration-DoYXtnZ8.js} +4 -4
- package/core/built/admin/assets/activitypub/activitypub.js +2 -2
- package/core/built/admin/assets/activitypub/{bluesky-sharing-zfxUey_L.js → bluesky-sharing-Bxeh6MKW.js} +4 -4
- package/core/built/admin/assets/activitypub/{dist-BqkDUQxJ2.js → dist-ByFmDSNP2.js} +64 -63
- package/core/built/admin/assets/activitypub/{dist-Ba_QxHHl.js → dist-D8sFfdpC.js} +2 -2
- package/core/built/admin/assets/activitypub/{domain-CmwSZLHK.js → domain-CWueFW6q.js} +5 -5
- package/core/built/admin/assets/activitypub/{edit-profile-CXdwNmVG.js → edit-profile-BGxPU7N5.js} +3 -3
- package/core/built/admin/assets/activitypub/{explore-DfbjzGM1.js → explore-DBK-u0Ch.js} +3 -3
- package/core/built/admin/assets/activitypub/{feed-DSEBJOqf.js → feed-Bcir5RQZ.js} +3 -3
- package/core/built/admin/assets/activitypub/{field-CY7XVcx6.js → field-BV-CIT3d.js} +2 -2
- package/core/built/admin/assets/activitypub/{inbox-DtQ0kytT.js → inbox-yC0nfvzl.js} +4 -4
- package/core/built/admin/assets/activitypub/{label-Dw96GQ7u.js → label-DTRS9TDk.js} +2 -2
- package/core/built/admin/assets/activitypub/layout-qx-bUL1k.js +1 -0
- package/core/built/admin/assets/activitypub/{moderation-Dg_-I-8C.js → moderation-Dwl9t0pb.js} +4 -4
- package/core/built/admin/assets/activitypub/{note-Cy1-uKMY.js → note-B-zKsZ7r.js} +3 -3
- package/core/built/admin/assets/activitypub/{notifications-B_fvoLIM.js → notifications-DjJZD54t.js} +3 -3
- package/core/built/admin/assets/activitypub/{preferences-ByJseZp6.js → preferences-CoU8vs6d.js} +6 -6
- package/core/built/admin/assets/activitypub/{profile-BFtbnIjz.js → profile-BAsaJekx.js} +6 -6
- package/core/built/admin/assets/activitypub/{routes-Dh3xXfce.js → routes-CLH3OVTP.js} +28 -25
- package/core/built/admin/assets/activitypub/{settings-DTgqJPxM.js → settings-DA6pNJ-Q.js} +3 -3
- package/core/built/admin/assets/activitypub/{site-CdL9ZLqm.js → site-CQD42Pw5.js} +2 -2
- package/core/built/admin/assets/activitypub/{tabs-ogqwoBlb.js → tabs-Cg0saow1.js} +7 -7
- package/core/built/admin/assets/activitypub/{use-reply-chain-data-CxonteFD.js → use-reply-chain-data-Br4aOWOh.js} +2 -2
- package/core/built/admin/assets/audience-DjEWNhp3.js +1 -0
- package/core/built/admin/assets/{automated-emails-Cn87L5Md.js → automated-emails-DRy7qY-J.js} +2 -2
- package/core/built/admin/assets/{automations-BP_aHamJ.js → automations-Bx3VcFIL.js} +1 -1
- package/core/built/admin/assets/{automations-B7-y3dXt.js → automations-DhKeS_U5.js} +1 -1
- package/core/built/admin/assets/{bluesky-sharing-Bh36XPh4.js → bluesky-sharing-ClMd0-Ft.js} +1 -1
- package/core/built/admin/assets/{breadcrumb-D34YWnaw.js → breadcrumb-BD0U2ygg.js} +1 -1
- package/core/built/admin/assets/{chart-helpers-DbklaJw9.js → chart-helpers-fjQKRVyY.js} +1 -1
- package/core/built/admin/assets/checkbox-CWa28lgO.js +1 -0
- package/core/built/admin/assets/{chunk.962.b73442b07be930bb5d85.js → chunk.211.6f7328d63c41536451b3.js} +737 -559
- package/core/built/admin/assets/{chunk.962.b73442b07be930bb5d85.js.LICENSE.txt → chunk.211.6f7328d63c41536451b3.js.LICENSE.txt} +2 -0
- package/core/built/admin/assets/{chunk.589.096f4d0bb775e5229aa9.js → chunk.481.6c7395a49484bb4583aa.js} +41 -38
- package/core/built/admin/assets/chunk.524.cffd399783a519e404a9.js +25 -0
- package/core/built/admin/assets/chunk.582.eebf0d0b2d202bb746a5.js +27 -0
- package/core/built/admin/assets/code-editor-view-CCr0rBWS.js +1 -0
- package/core/built/admin/assets/comments-DyUSMUdj.js +1 -0
- package/core/built/admin/assets/{date-range-select-B5vSsrpx.js → date-range-select-BFp58EMk.js} +1 -1
- package/core/built/admin/assets/{disabled-sources-indicator-NkOIoMue.js → disabled-sources-indicator-CUxMfiPa.js} +1 -1
- package/core/built/admin/assets/dist-2Tnz2Yfq.js +1 -0
- package/core/built/admin/assets/dist-CjY-f5Z1.js +1 -0
- package/core/built/admin/assets/dist-DIC8yz5C.js +1 -0
- package/core/built/admin/assets/domain-C0bV2UV8.js +1 -0
- package/core/built/admin/assets/dropzone-DlK-K2DQ.js +5 -0
- package/core/built/admin/assets/{edit-profile-rvDGrS8J.js → edit-profile-BKT-REJw.js} +1 -1
- package/core/built/admin/assets/editor-Dp865O-4.js +8 -0
- package/core/built/admin/assets/{explore-BZAZOg5X.js → explore-ClUpJZOp.js} +1 -1
- package/core/built/admin/assets/{feed-CFV8xDw9.js → feed-DF92dUMP.js} +1 -1
- package/core/built/admin/assets/field-Do7lieBA.js +1 -0
- package/core/built/admin/assets/{filter-sources-Fx8wiYYw.js → filter-sources-BV2rnpfA.js} +1 -1
- package/core/built/admin/assets/filters-CUXJ2Nm9.js +1 -0
- package/core/built/admin/assets/{filters-CGX_pf2N.js → filters-DfbIWc_l.js} +1 -1
- package/core/built/admin/assets/{ghost-3063eae29e6c9cc6d6e7131928a27da0.css → ghost-a9c788f6f0b1ea6cf0f14ca4b13f4496.css} +1 -1
- package/core/built/admin/assets/{ghost-b1dce91ad3232cc259ee5fbbf9526243.js → ghost-c4057474943effc568c5659ccc4909d7.js} +407 -406
- package/core/built/admin/assets/{ghost-dark-c8d0ab7f515b2010c173e23e9b32ea8a.css → ghost-dark-db36d795d21c61426837df40af270966.css} +1 -1
- package/core/built/admin/assets/gift-link-modal-f9VIMNDv.js +1 -0
- package/core/built/admin/assets/{gift-links-nBxJjZiQ.js → gift-links-CsUhefWG.js} +1 -1
- package/core/built/admin/assets/growth-B3I6gNLm.js +1 -0
- package/core/built/admin/assets/{Growth-CSaHoSVD.js → growth-CVw1My4S.js} +2 -2
- package/core/built/admin/assets/{hooks-BApwwBE0.js → hooks-CixO01lL.js} +1 -1
- package/core/built/admin/assets/{inbox-BRp1_aaC.js → inbox-CFBSu4Ed.js} +12 -12
- package/core/built/admin/assets/index-9Cw8z3rA.css +1 -0
- package/core/built/admin/assets/index-BGG7NckO.js +67 -0
- package/core/built/admin/assets/input-group-BSgG_lVw.js +1 -0
- package/core/built/admin/assets/input-surface-BpAjZXY5.js +1 -0
- package/core/built/admin/assets/koenig-lexical/koenig-lexical.js +974 -937
- package/core/built/admin/assets/koenig-lexical/koenig-lexical.umd.js +28 -28
- package/core/built/admin/assets/koenig-lexical/style.css +1 -1
- package/core/built/admin/assets/{koenig-lexical-CM7UFNdL.js → koenig-lexical-f8vHRYvz.js} +28 -28
- package/core/built/admin/assets/{kpi-card-BrGH6FsT.js → kpi-card-DSap9rAy.js} +1 -1
- package/core/built/admin/assets/{kpi-card-CIGyijjx.js → kpi-card-DU0rn9Cj.js} +1 -1
- package/core/built/admin/assets/{kpi-helpers-_HRRsklE.js → kpi-helpers-Dz33AV6h.js} +1 -1
- package/core/built/admin/assets/{kpi-tabs-BSvh9eoq.js → kpi-tabs-BtTTrKvJ.js} +1 -1
- package/core/built/admin/assets/{label-BOR9XdKl.js → label-DS8Mi6G5.js} +1 -1
- package/core/built/admin/assets/label-picker-1DvSuLA1.js +1 -0
- package/core/built/admin/assets/labels-CDSUt4J_.js +1 -0
- package/core/built/admin/assets/layout-yQEi2qDM.js +1 -0
- package/core/built/admin/assets/{link-helpers-tOlxmuH5.js → link-helpers-7EYqvvHs.js} +1 -1
- package/core/built/admin/assets/member-custom-fields-yOMHyAg9.js +1 -0
- package/core/built/admin/assets/member-detail-BAq7gDaa.js +1 -0
- package/core/built/admin/assets/members-CQpVFJu4.js +10 -0
- package/core/built/admin/assets/modals-ReORvWnu.js +31 -0
- package/core/built/admin/assets/moderation-DySbgyUS.js +1 -0
- package/core/built/admin/assets/newsletter-CJQvtHqN.js +1 -0
- package/core/built/admin/assets/{Newsletters-C5cs6FGo.js → newsletters-B3QQXfGT.js} +1 -1
- package/core/built/admin/assets/{newsletters-D1jbtV-h.js → newsletters-BXJbJgA-.js} +1 -1
- package/core/built/admin/assets/note-C8kxrz6w.js +1 -0
- package/core/built/admin/assets/notifications-CgtSfX7t.js +1 -0
- package/core/built/admin/assets/{offers-CrY6nSRR.js → offers-DEniVRD5.js} +1 -1
- package/core/built/admin/assets/onboarding-route-4qtziA9d.js +1 -0
- package/core/built/admin/assets/overview-Bf2sbznq.js +1 -0
- package/core/built/admin/assets/overview-CBfePxcr.js +1 -0
- package/core/built/admin/assets/{page-header-C0jVxtS8.js → page-header-B3Wb9Jqv.js} +1 -1
- package/core/built/admin/assets/{pages-BbNWFcGj.js → pages-B4goRPUn.js} +1 -1
- package/core/built/admin/assets/{post-analytics-Iw7dk1mT.js → post-analytics-We-ko5Cb.js} +1 -1
- package/core/built/admin/assets/post-analytics-header-Bmc9su6q.js +1 -0
- package/core/built/admin/assets/post-analytics-provider-B6UynTGb.js +1 -0
- package/core/built/admin/assets/{post-share-modal-DBfKl2GZ.js → post-share-modal-DFfO93_0.js} +1 -1
- package/core/built/admin/assets/{posts-EWpZIjkr.js → posts-DhXE7b6r.js} +1 -1
- package/core/built/admin/assets/{preferences-D4EANGoc.js → preferences-DJPfHEGu.js} +2 -2
- package/core/built/admin/assets/profile-DqBQp-gT.js +1 -0
- package/core/built/admin/assets/{referrers-BCfFYSHc.js → referrers-pmJT4k3-.js} +1 -1
- package/core/built/admin/assets/select-C5_xEt5b.js +1 -0
- package/core/built/admin/assets/settings-BwiVIXau.js +4 -0
- package/core/built/admin/assets/{settings-Bz3RZRmE.js → settings-WXNeWyU1.js} +1 -1
- package/core/built/admin/assets/shade-app-B3heOAfz-CGXQwWeO.js +3 -0
- package/core/built/admin/assets/{share-modal-CkdTTMJd.js → share-modal-DsgW3wbg.js} +1 -1
- package/core/built/admin/assets/social-urls-BQPFEk1_.js +8 -0
- package/core/built/admin/assets/{sort-button-DZp9Y2r1.js → sort-button-Bb_FCl7e.js} +1 -1
- package/core/built/admin/assets/{source-icon-CHr9qJ2Y.js → source-icon-BeaRxUn9.js} +1 -1
- package/core/built/admin/assets/{stats-DGoXZxWE.js → stats-Bjj_kmJ1.js} +1 -1
- package/core/built/admin/assets/{stats-view-D2-1L0ms.js → stats-view-BxPbW6K1.js} +1 -1
- package/core/built/admin/assets/{step-1-RdahbwyG.js → step-1-B1e3-1F8.js} +1 -1
- package/core/built/admin/assets/{step-2-D83PeRwd.js → step-2-C5WaeBJo.js} +1 -1
- package/core/built/admin/assets/{step-3-p_Op4wv4.js → step-3-B46iVPwu.js} +2 -2
- package/core/built/admin/assets/switch-z5Y6Uzt6.js +1 -0
- package/core/built/admin/assets/{table-B8LgTQJZ.js → table-CB-4_HBJ.js} +1 -1
- package/core/built/admin/assets/tabs-CCEgKYzq.js +1 -0
- package/core/built/admin/assets/{tags-B4l891z2.js → tags-Cg2VJGmG.js} +1 -1
- package/core/built/admin/assets/textarea-Bjccvh_E.js +1 -0
- package/core/built/admin/assets/{tiers-BgYLWRJv.js → tiers-DYsa4DCo.js} +1 -1
- package/core/built/admin/assets/{toggle-group-DNXDkAwf.js → toggle-group-b3IlxvhV.js} +1 -1
- package/core/built/admin/assets/{topic-filter-DZGjEcz3.js → topic-filter-DAFT87tQ.js} +1 -1
- package/core/built/admin/assets/{use-analytics-data-CaT8RirX.js → use-analytics-data-S0FTd43s.js} +1 -1
- package/core/built/admin/assets/use-filter-params-Gpoq2E1L.js +1 -0
- package/core/built/admin/assets/{use-growth-stats-9Db2CuJe.js → use-growth-stats-CIaiHOVb.js} +1 -1
- package/core/built/admin/assets/{use-post-referrers-BV54YcQS.js → use-post-referrers-Cq2vBPrA.js} +1 -1
- package/core/built/admin/assets/{use-reply-chain-data-DuYZGDan.js → use-reply-chain-data-DBDRtGu-.js} +1 -1
- package/core/built/admin/assets/{use-simple-pagination-8fTua9Nt.js → use-simple-pagination-CjYNxdwe.js} +1 -1
- package/core/built/admin/assets/{use-tinybird-query-Dz156HvZ.js → use-tinybird-query-falHAtuK.js} +1 -1
- package/core/built/admin/assets/{use-tinybird-token-C9RUdL_n.js → use-tinybird-token-D7-8ND1y.js} +1 -1
- package/core/built/admin/assets/{users-CcSCQFcQ.js → users-Dkv8NQZe.js} +1 -1
- package/core/built/admin/assets/{virtual-list-BCvP0YF-.js → virtual-list-CvnC9zF2.js} +1 -1
- package/core/built/admin/assets/web-B_5GZRvH.js +1 -0
- package/core/built/admin/assets/web-jFYWCKDn.js +2 -0
- package/core/built/admin/index.html +14 -10
- package/core/frontend/services/proxy.js +10 -1
- package/core/frontend/services/routing/router-manager.js +14 -14
- package/core/frontend/services/routing/static-routes-router.js +8 -10
- package/core/server/adapters/storage/LocalFilesStorage.js +13 -11
- package/core/server/adapters/storage/LocalFilesStorage.ts +24 -0
- package/core/server/adapters/storage/LocalImagesStorage.js +14 -12
- package/core/server/adapters/storage/LocalImagesStorage.ts +24 -0
- package/core/server/adapters/storage/LocalMediaStorage.js +13 -11
- package/core/server/adapters/storage/LocalMediaStorage.ts +24 -0
- package/core/server/adapters/storage/LocalStorageBase.js +107 -167
- package/core/server/adapters/storage/LocalStorageBase.ts +342 -0
- package/core/server/adapters/storage/utils.js +36 -50
- package/core/server/adapters/storage/utils.ts +60 -0
- package/core/server/api/endpoints/automation-action-links.js +68 -0
- package/core/server/api/endpoints/automation-action-links.ts +46 -0
- package/core/server/api/endpoints/db.js +6 -0
- package/core/server/api/endpoints/index.js +4 -0
- package/core/server/api/endpoints/members.js +25 -28
- package/core/server/api/endpoints/pages.js +6 -1
- package/core/server/api/endpoints/posts.js +11 -2
- package/core/server/api/endpoints/settings.js +0 -2
- package/core/server/api/endpoints/utils/serializers/output/mappers/comments.js +4 -1
- package/core/server/api/endpoints/utils/serializers/output/members.js +18 -87
- package/core/server/api/endpoints/utils/serializers/output/utils/url.js +11 -1
- package/core/server/data/exporter/export-filename.js +2 -1
- package/core/server/data/importer/importers/data/revue-subscriber-importer.js +6 -10
- package/core/server/data/importer/importers/json-to-html.js +24 -4
- package/core/server/data/migrations/versions/6.55/2026-07-27-11-25-44-add-to-hash-to-redirects.js +51 -0
- package/core/server/data/migrations/versions/6.55/2026-07-28-12-08-00-remove-routes-hash-from-settings.js +5 -0
- package/core/server/data/schema/commands.js +5 -0
- package/core/server/data/schema/default-settings/default-settings.json +0 -4
- package/core/server/data/schema/schema.js +5 -1
- package/core/server/lib/image/image-size.js +3 -17
- package/core/server/lib/image/image-utils.js +15 -1
- package/core/server/lib/request-external.js +1 -1
- package/core/server/models/user.js +46 -70
- package/core/server/services/auth/session/session-service.js +28 -1
- package/core/server/services/automations/automations-api.js +21 -6
- package/core/server/services/automations/automations-api.ts +25 -6
- package/core/server/services/automations/automations-repository.ts +19 -0
- package/core/server/services/automations/database-automations-repository.js +116 -28
- package/core/server/services/automations/database-automations-repository.ts +118 -9
- package/core/server/services/automations/database-date.js +10 -0
- package/core/server/services/automations/database-date.ts +5 -0
- package/core/server/services/automations/poll.js +5 -2
- package/core/server/services/automations/poll.ts +7 -2
- package/core/server/services/automations/scheduler-poll-time.js +40 -0
- package/core/server/services/automations/scheduler-poll-time.ts +38 -0
- package/core/server/services/automations/service.js +15 -3
- package/core/server/services/automations/service.ts +16 -3
- package/core/server/services/comments/comments-service-emails.js +14 -8
- package/core/server/services/comments/comments-service.js +9 -4
- package/core/server/services/email-rendering/partials/email-wrapper.hbs +3 -1
- package/core/server/services/email-service/email-service-wrapper.js +6 -1
- package/core/server/services/email-service/email-templates/partials/styles.hbs +8 -0
- package/core/server/services/email-service/newsletter-email-event-storage.js +41 -10
- package/core/server/services/lib/dynamic-redirect-manager.js +12 -3
- package/core/server/services/link-redirection/link-redirect-repository.js +41 -4
- package/core/server/services/link-redirection/link-redirect.js +2 -0
- package/core/server/services/link-redirection/link-redirect.ts +3 -1
- package/core/server/services/link-redirection/link-redirects-service.js +38 -2
- package/core/server/services/link-tracking/click-event.js +3 -0
- package/core/server/services/link-tracking/index.js +38 -6
- package/core/server/services/link-tracking/link-click-repository.js +30 -9
- package/core/server/services/link-tracking/link-click-tracking-service.js +44 -3
- package/core/server/services/member-attribution/outbound-link-tagger.js +3 -1
- package/core/server/services/member-welcome-emails/member-welcome-email-renderer.js +19 -4
- package/core/server/services/member-welcome-emails/service.js +11 -3
- package/core/server/services/members/{importer → import-export}/config.js +4 -9
- package/core/server/services/members/{importer → import-export}/config.ts +4 -9
- package/core/server/services/members/import-export/csv/formula.js +16 -0
- package/core/server/services/members/import-export/csv/formula.ts +14 -0
- package/core/server/services/members/import-export/csv/index.js +12 -0
- package/core/server/services/members/import-export/csv/index.ts +3 -0
- package/core/server/services/members/import-export/csv/parse.js +64 -0
- package/core/server/services/members/import-export/csv/parse.ts +69 -0
- package/core/server/services/members/import-export/csv/serialize.js +13 -0
- package/core/server/services/members/import-export/csv/serialize.ts +18 -0
- package/core/server/services/members/import-export/export/exporter.js +202 -0
- package/core/server/services/members/import-export/export/exporter.ts +325 -0
- package/core/server/services/members/import-export/import/completion-email.js +84 -0
- package/core/server/services/members/import-export/import/completion-email.ts +141 -0
- package/core/server/services/members/import-export/import/importer.js +297 -0
- package/core/server/services/members/import-export/import/importer.ts +468 -0
- package/core/server/services/members/import-export/import/reader.js +32 -0
- package/core/server/services/members/import-export/import/reader.ts +33 -0
- package/core/server/services/members/import-export/import/row.js +33 -0
- package/core/server/services/members/import-export/import/row.ts +52 -0
- package/core/server/services/members/import-export/import/spool.js +30 -0
- package/core/server/services/members/import-export/import/spool.ts +38 -0
- package/core/server/services/members/import-export/index.js +99 -0
- package/core/server/services/members/import-export/index.ts +137 -0
- package/core/server/services/members/members-api/controllers/router-controller.js +7 -0
- package/core/server/services/members/service.js +25 -20
- package/core/server/services/members-custom-fields/values-service.js +19 -7
- package/core/server/services/members-custom-fields/values-service.ts +19 -7
- package/core/server/services/mentions/service.js +5 -1
- package/core/server/services/posts/posts-exporter.js +6 -4
- package/core/server/services/posts/posts-service.js +2 -2
- package/core/server/services/route-settings/activation-bridge.js +59 -49
- package/core/server/services/route-settings/activation-bridge.ts +91 -51
- package/core/server/services/route-settings/dynamic-routing-service.js +22 -51
- package/core/server/services/route-settings/index.js +1 -16
- package/core/server/services/settings/settings-service.js +0 -18
- package/core/server/services/themes/storage.js +9 -0
- package/core/server/services/themes/theme-storage.js +1 -1
- package/core/server/services/url/url-service-facade.js +1 -1
- package/core/server/services/url/url-service-facade.ts +8 -1
- package/core/server/web/api/endpoints/admin/routes.js +1 -0
- package/core/shared/config/defaults.json +2 -1
- package/core/shared/express.js +6 -1
- package/core/shared/labs.js +2 -1
- package/package.json +11 -11
- package/pnpm-lock.yaml +18 -18
- package/pnpm-workspace.yaml +8 -7
- package/components/tryghost-adapter-base-scheduling-0.1.1.tgz +0 -0
- package/core/built/admin/assets/Overview-j4NaeUNm.js +0 -1
- package/core/built/admin/assets/Web-_fD935OX.js +0 -2
- package/core/built/admin/assets/activitypub/layout-IdVq3lRy.js +0 -1
- package/core/built/admin/assets/audience-BKRdsFmy.js +0 -1
- package/core/built/admin/assets/checkbox-DA4-1UiI.js +0 -1
- package/core/built/admin/assets/chunk.524.45e0875f41b71e46e849.js +0 -25
- package/core/built/admin/assets/chunk.582.51defd4b009f0de8d4d5.js +0 -27
- package/core/built/admin/assets/code-editor-view-BKBrkffZ.js +0 -1
- package/core/built/admin/assets/comments-CzVNIT8b.js +0 -1
- package/core/built/admin/assets/constants-c-JNF9c2.js +0 -1
- package/core/built/admin/assets/dist-CT46_f_J.js +0 -1
- package/core/built/admin/assets/domain-B7_n5nfx.js +0 -1
- package/core/built/admin/assets/dropzone-DcuJEEUf.js +0 -5
- package/core/built/admin/assets/editor-BCiIyFjm.js +0 -8
- package/core/built/admin/assets/field-BW-M2Zwp.js +0 -1
- package/core/built/admin/assets/filters-DtcXMZDU.js +0 -1
- package/core/built/admin/assets/gift-link-modal-Bk8qpnMw.js +0 -1
- package/core/built/admin/assets/growth-Ck2s3JjR.js +0 -1
- package/core/built/admin/assets/index-BBf502Wg.js +0 -69
- package/core/built/admin/assets/index-BCCZKxP2.css +0 -1
- package/core/built/admin/assets/input-group-DjuYnNCd.js +0 -1
- package/core/built/admin/assets/label-picker-BdNAWuUX.js +0 -1
- package/core/built/admin/assets/labels-Cyayfd-e.js +0 -1
- package/core/built/admin/assets/layout-Bw4GnxXp.js +0 -1
- package/core/built/admin/assets/member-custom-fields-DvFyamLu.js +0 -1
- package/core/built/admin/assets/member-detail-Cg2vTqvJ.js +0 -1
- package/core/built/admin/assets/members-DsPxYAVm.js +0 -10
- package/core/built/admin/assets/modals-Bf_fyvHZ.js +0 -31
- package/core/built/admin/assets/moderation-Dlp7M5sa.js +0 -1
- package/core/built/admin/assets/multi-select-combobox-CH1o8XXQ.js +0 -1
- package/core/built/admin/assets/newsletter-CQ5CAYUI.js +0 -1
- package/core/built/admin/assets/note-BrAZ7Z0o.js +0 -1
- package/core/built/admin/assets/notifications-BnbHLOPC.js +0 -1
- package/core/built/admin/assets/onboarding-route-eU146kuA.js +0 -1
- package/core/built/admin/assets/overview-BpbaK-xu.js +0 -1
- package/core/built/admin/assets/post-analytics-header-D9pJ4iNm.js +0 -1
- package/core/built/admin/assets/post-analytics-provider-BDqcfBor.js +0 -1
- package/core/built/admin/assets/profile-dJ44Bn_W.js +0 -1
- package/core/built/admin/assets/select--2uVN9_-.js +0 -1
- package/core/built/admin/assets/settings-SD9bxIpt.js +0 -4
- package/core/built/admin/assets/social-urls-BvFZwYcE.js +0 -8
- package/core/built/admin/assets/switch-qp518gFQ.js +0 -1
- package/core/built/admin/assets/tabs-D3ZOYkM7.js +0 -1
- package/core/built/admin/assets/textarea-CTlb3Uu6.js +0 -1
- package/core/built/admin/assets/use-filter-params-DeQ8sX4N.js +0 -1
- package/core/built/admin/assets/web-DTZnnUGr.js +0 -1
- package/core/server/services/mail/templates/newsletter.html +0 -876
- package/core/server/services/members/csv/index.js +0 -10
- package/core/server/services/members/csv/index.ts +0 -3
- package/core/server/services/members/csv/parse.js +0 -94
- package/core/server/services/members/csv/parse.ts +0 -111
- package/core/server/services/members/csv/types.js +0 -2
- package/core/server/services/members/csv/types.ts +0 -39
- package/core/server/services/members/csv/unparse.js +0 -69
- package/core/server/services/members/csv/unparse.ts +0 -79
- package/core/server/services/members/exporter/query.js +0 -233
- package/core/server/services/members/importer/index.js +0 -30
- package/core/server/services/members/importer/labels.js +0 -125
- package/core/server/services/members/importer/members-csv-importer.js +0 -520
- package/core/server/services/route-settings/default-settings-manager.js +0 -63
- package/core/server/services/route-settings/route-settings.js +0 -170
- package/core/server/services/route-settings/settings-loader.js +0 -60
- package/core/server/services/route-settings/settings-path-manager.js +0 -47
- package/core/server/services/route-settings/validate.js +0 -440
- /package/core/server/services/members/{importer → import-export/import}/email-template.js +0 -0
- /package/core/server/services/members/{importer/members-csv-importer-stripe-utils.js → import-export/import/stripe-utils.js} +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/core/boot.js
CHANGED
|
@@ -304,11 +304,6 @@ async function initDynamicRouting() {
|
|
|
304
304
|
urlService: urlService.facade
|
|
305
305
|
});
|
|
306
306
|
|
|
307
|
-
const getRoutesHash = () => routeSettingsModule.service.getCurrentHash();
|
|
308
|
-
|
|
309
|
-
const settings = require('./server/services/settings/settings-service');
|
|
310
|
-
await settings.syncRoutesHash(getRoutesHash);
|
|
311
|
-
|
|
312
307
|
debug('End: Dynamic Routing');
|
|
313
308
|
}
|
|
314
309
|
|
|
@@ -366,6 +361,7 @@ async function initServices({ghostServer} = {}) {
|
|
|
366
361
|
const {withErrorCapture} = require('./server/adapters/scheduling/error-capture');
|
|
367
362
|
|
|
368
363
|
const urlUtils = require('./shared/url-utils').default;
|
|
364
|
+
const settingsCache = require('./shared/settings-cache');
|
|
369
365
|
const internalKeys = require('./server/services/internal-keys').default;
|
|
370
366
|
|
|
371
367
|
// Initialize things that other services depend on first.
|
|
@@ -410,7 +406,8 @@ async function initServices({ghostServer} = {}) {
|
|
|
410
406
|
domainEvents,
|
|
411
407
|
apiUrl,
|
|
412
408
|
schedulerAdapter,
|
|
413
|
-
internalKeys
|
|
409
|
+
internalKeys,
|
|
410
|
+
siteUuid: settingsCache.get('site_uuid')
|
|
414
411
|
})
|
|
415
412
|
]);
|
|
416
413
|
|
package/core/built/admin/assets/{account-migration-DLvVA5yq.js → account-migration-sjHLx5dy.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-Bb3IsNbi.js";import{t as n}from"./jsx-runtime-DX3WBWVO.js";import{i as r,o as i,r as a,t as o}from"./field-
|
|
1
|
+
import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-Bb3IsNbi.js";import{t as n}from"./jsx-runtime-DX3WBWVO.js";import{i as r,o as i,r as a,t as o}from"./field-Do7lieBA.js";import{B as s,Ir as c,Nt as l,Yi as u,ir as d,js as f,mt as p,or as m,rr as h,vt as g}from"./index-BGG7NckO.js";import"./layout-yQEi2qDM.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}=p(`index`),w=g(`index`),T=l(`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)(s,{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)(f,{children:`Account migration`})}),(0,v.jsx)(`div`,{className:`mt-3 text-base text-gray-800 dark:text-gray-600`,children:(0,v.jsxs)(`p`,{children:[`You can move your followers from another social web account (eg. `,(0,v.jsx)(`a`,{className:`underline hover:text-black dark:hover:text-white`,href:`https://docs.joinmastodon.org/user/moving/#move`,rel:`noopener noreferrer`,target:`_blank`,children:`Mastodon`}),`) to this one by creating an account alias. This action is harmless and reversible. The account migration is initiated from the old account.`]})}),(0,v.jsx)(`form`,{className:`mt-10`,onSubmit:I,children:(0,v.jsxs)(o,{"data-invalid":O?!0:void 0,children:[(0,v.jsx)(i,{htmlFor:`account-migration-source-handle`,children:`Old account handle`}),(0,v.jsx)(a,{id:`account-migration-source-handle-description`,children:`Specify the username@domain of the account you want to move from`}),(0,v.jsxs)(`div`,{className:`flex flex-col gap-3 sm:flex-row`,children:[(0,v.jsx)(m,{"aria-describedby":O?`account-migration-source-handle-error`:`account-migration-source-handle-description`,"aria-invalid":O?!0:void 0,autoComplete:`off`,className:`sm:flex-1`,id:`account-migration-source-handle`,placeholder:`username@domain`,value:E,"data-1p-ignore":!0,onChange:e=>D(e.target.value)}),(0,v.jsxs)(c,{className:`relative h-9 text-sm sm:w-auto`,disabled:w.isPending,type:`submit`,children:[(0,v.jsx)(`span`,{className:w.isPending?`invisible`:void 0,children:`Create alias`}),w.isPending&&(0,v.jsxs)(`span`,{className:`absolute inset-0 flex items-center justify-center`,children:[(0,v.jsx)(h,{color:`light`,size:`sm`}),(0,v.jsx)(`span`,{className:`sr-only`,children:`Creating alias...`})]})]})]}),O&&(0,v.jsx)(r,{id:`account-migration-source-handle-error`,children:O}),A&&(0,v.jsx)(r,{id:`account-migration-alias-error`,children:A})]})}),F&&(0,v.jsxs)(`div`,{className:`mt-10`,"data-testid":`account-migration-aliases`,children:[(0,v.jsx)(`div`,{className:`pb-3`,children:(0,v.jsx)(i,{asChild:!0,children:(0,v.jsx)(`div`,{children:`Account aliases`})})}),n?(0,v.jsx)(`div`,{className:`border-t border-gray-200 py-4 dark:border-gray-950`,children:(0,v.jsx)(d,{className:`h-5 w-48`})}):t?(0,v.jsxs)(`div`,{className:`flex items-center justify-between gap-4 border-t border-gray-200 py-4 text-sm text-gray-700 dark:border-gray-950 dark:text-gray-600`,children:[(0,v.jsx)(`span`,{children:`Could not load account aliases.`}),(0,v.jsx)(c,{className:`px-0 font-medium`,variant:`link`,onClick:()=>C(),children:`Retry`})]}):(0,v.jsx)(`div`,{className:`divide-y divide-gray-200 border-t border-gray-200 dark:divide-gray-950 dark:border-gray-950`,children:P.map(e=>(0,v.jsxs)(`div`,{className:`flex items-center justify-between gap-4 py-4`,children:[(0,v.jsx)(`div`,{className:`min-w-0 truncate text-base text-black dark:text-white`,children:x(e.apId)}),(0,v.jsx)(c,{className:`shrink-0 px-0 font-medium text-gray-700 hover:text-red dark:text-gray-600 dark:hover:text-red`,disabled:M===e.apId,variant:`link`,onClick:()=>L(e.apId),children:M===e.apId?(0,v.jsx)(h,{size:`sm`}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(u,{size:15}),` Unlink`]})})]},e.apId))})]})]})})};export{C as default};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { T as e, d as t } from "./_react-D4KM8XEu.js";
|
|
2
2
|
import { S as n } from "./chunk-KS7C4IRE-D4HEcEwi.js";
|
|
3
|
-
import { D as r, O as i, a, mt as o } from "./routes-
|
|
3
|
+
import { D as r, O as i, a, mt as o } from "./routes-CLH3OVTP.js";
|
|
4
4
|
import { r as s } from "./use-navigate-with-base-path-CAwXTmqH.js";
|
|
5
5
|
import { D as c, n as l, o as u, q as d } from "./use-activity-pub-queries-VzbN99u_.js";
|
|
6
6
|
import { u as f } from "./content-formatters-BpQARh28.js";
|
|
7
|
-
import { i as p, n as m, r as h, t as g } from "./field-
|
|
8
|
-
import "./layout-
|
|
7
|
+
import { i as p, n as m, r as h, t as g } from "./field-BV-CIT3d.js";
|
|
8
|
+
import "./layout-qx-bUL1k.js";
|
|
9
9
|
//#region src/views/preferences/components/account-migration.tsx
|
|
10
10
|
t();
|
|
11
11
|
var _ = n(), v = /^@?[^@\s]+@[^@\s]+$/;
|
|
@@ -173,4 +173,4 @@ var S = () => {
|
|
|
173
173
|
//#endregion
|
|
174
174
|
export { S as default };
|
|
175
175
|
|
|
176
|
-
//# sourceMappingURL=account-migration-
|
|
176
|
+
//# sourceMappingURL=account-migration-DoYXtnZ8.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.shade-activitypub{animation-name:none}@keyframes bump{0%{transform:scale(1)}50%{transform:scale(.9)}to{transform:scale(1)}}@keyframes slideUp{0%{opacity:1;transform:translate(0,0)}50%{opacity:0;transform:translateY(-100%)}51%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translate(0,0)}}@keyframes slideDown{0%{opacity:1;transform:translate(0,0)}50%{opacity:0;transform:translateY(100%)}51%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translate(0,0)}}.animate-slide-up{will-change:transform, opacity;animation:.3s ease-in-out slideUp;display:inline-block}.animate-slide-down{will-change:transform, opacity;animation:.3s ease-in-out slideDown;display:inline-block}button.ap-action-button:active svg{animation:.3s ease-in-out bump}.ap-red-heart path{fill:#fb2d8d}.ap-note-content a,.ap-profile-content a,.ap-note-content-large a{color:#00a4eb!important}.ap-note-content a:hover,.ap-profile-content a:hover,.ap-note-content-large a:hover{text-decoration:underline!important}.ap-note-content span.invisible,.ap-profile-content span.invisible,.ap-note-content-large span.invisible{display:none}.ap-note-content a:not(.hashtag) span.ellipsis:after,.ap-profile-content a:not(.hashtag) span.ellipsis:after,.ap-note-content-large a:not(.hashtag) span.ellipsis:after,.ap-likes .ellipsis:after{content:"…"}.ap-note-content>*+*{margin-top:1.2rem!important}.ap-note-content-large>*+*{margin-top:1.65rem!important}.ap-note-content>h1+*,.ap-note-content>h2+*,.ap-note-content>h3+*{margin-top:.6rem!important}.ap-note-content-large>h1+*,.ap-note-content-large>h2+*,.ap-note-content-large>h3+*{margin-top:.8rem!important}.ap-note-content figure,.ap-note-content-large figure{display:none}.ap-note-content ul,.ap-note-content-large ul{padding-left:1rem!important;list-style-type:"-"!important}.ap-note-content ol,.ap-note-content-large ol{padding-left:1.7rem!important;list-style:auto!important}.ap-note-content li{padding-left:.4rem!important;font-size:1.4rem!important}.ap-note-content-large li{padding-left:.4rem!important;font-size:1.6rem!important}.ap-note-content h2,.ap-note-content h3,.ap-note-content h4,.ap-note-content h5{font-size:1.4rem!important;font-weight:600!important;line-height:1.375!important}.ap-note-content-large h2,.ap-note-content-large h3,.ap-note-content-large h4,.ap-note-content-large h5{font-size:1.6rem!important}.ap-note-content blockquote,.ap-note-content-large blockquote{border-left:2px solid #e5e9ed;padding-left:.8rem;margin:.6rem 0!important}.ap-note-content blockquote p{font-size:1.4rem;font-weight:400}.ap-note-content-large blockquote p{font-size:1.6rem;font-weight:400}.ap-note-content code,.ap-note-content-large code{color:#15171a;background-color:#f9fafb!important;font-size:1.3rem!important}.ap-note-content-large code{font-size:1.5rem!important}.ap-note-content mark,.ap-note-content-large mark{color:#15171a;background-color:#0000!important}.ap-likes .invisible{width:0;height:0;font-size:0;line-height:0;display:inline-block;position:absolute}.ap-textarea{field-sizing:content}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import { S as e, g as t, r as n } from "./chunk-KS7C4IRE-D4HEcEwi.js";
|
|
3
|
-
import { Z as r, t as i, xt as a } from "./routes-
|
|
3
|
+
import { Z as r, t as i, xt as a } from "./routes-CLH3OVTP.js";
|
|
4
4
|
import { o } from "./use-navigate-with-base-path-CAwXTmqH.js";
|
|
5
5
|
import { C as s } from "./use-activity-pub-queries-VzbN99u_.js";
|
|
6
6
|
//#region src/app.tsx
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { T as e, d as t, g as n, v as r, w as i } from "./_react-D4KM8XEu.js";
|
|
2
2
|
import { S as a } from "./chunk-KS7C4IRE-D4HEcEwi.js";
|
|
3
3
|
import { o } from "./users-BLeiOTHc.js";
|
|
4
|
-
import { A as s, D as c, F as l, G as u, I as d, J as f, L as p, M as m, N as h, P as g, U as _, X as ee, Y as te, a as v, ht as y, j as b } from "./routes-
|
|
4
|
+
import { A as s, D as c, F as l, G as u, I as d, J as f, L as p, M as m, N as h, P as g, U as _, X as ee, Y as te, a as v, ht as y, j as b } from "./routes-CLH3OVTP.js";
|
|
5
5
|
import { i as x, r as S } from "./use-navigate-with-base-path-CAwXTmqH.js";
|
|
6
6
|
import { J as C, a as w, d as T, g as E, m as D, q as O } from "./use-activity-pub-queries-VzbN99u_.js";
|
|
7
7
|
import { c as k, p as A } from "./content-formatters-BpQARh28.js";
|
|
8
8
|
import { t as j } from "./copy-D9UWIAan.js";
|
|
9
|
-
import { t as M } from "./edit-profile-
|
|
10
|
-
import "./layout-
|
|
9
|
+
import { t as M } from "./edit-profile-BGxPU7N5.js";
|
|
10
|
+
import "./layout-qx-bUL1k.js";
|
|
11
11
|
//#region src/views/preferences/components/bluesky-sharing.tsx
|
|
12
12
|
t();
|
|
13
13
|
var N = a(), ne = 5e3, P = 12, F = () => {
|
|
@@ -243,4 +243,4 @@ var N = a(), ne = 5e3, P = 12, F = () => {
|
|
|
243
243
|
//#endregion
|
|
244
244
|
export { F as default };
|
|
245
245
|
|
|
246
|
-
//# sourceMappingURL=bluesky-sharing-
|
|
246
|
+
//# sourceMappingURL=bluesky-sharing-Bxeh6MKW.js.map
|
|
@@ -33,27 +33,27 @@ var f = String.raw, p = (() => {
|
|
|
33
33
|
} catch {
|
|
34
34
|
return !1;
|
|
35
35
|
}
|
|
36
|
-
})(), x = "round(nearest, calc(var(--number-flow-mask-height, 0.25em) / 2), 1px)", S = `calc(${x} * 2)`, C = "var(--number-flow-mask-width, 0.5em)", w = `calc(${C} / var(--scale-x))`, T = "#000 0, transparent 71%", E = f`:host{display:inline-block;direction:ltr;white-space:nowrap;isolation:isolate;line-height:1}.number,.number__inner{display:inline-block;transform-origin:left top}:host([data-will-change]) :is(.number,.number__inner,.section,.digit,.digit__num,.symbol){will-change:transform}.number{--scale-x:calc(1 + var(${_}) / var(--width));transform:translateX(var(${v})) scaleX(var(--scale-x));margin:0 calc(-1 * ${C});position:relative;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 ${w},#000 calc(100% - ${w}),transparent ),linear-gradient(to bottom,transparent 0,#000 ${S},#000 calc(100% - ${S}),transparent 100% ),radial-gradient(at bottom right,${T}),radial-gradient(at bottom left,${T}),radial-gradient(at top left,${T}),radial-gradient(at top right,${T});-webkit-mask-size:100% calc(100% - ${S} * 2),calc(100% - ${w} * 2) 100%,${w} ${S},${w} ${S},${w} ${S},${w} ${S};-webkit-mask-position:center,center,top left,top right,bottom right,bottom left;-webkit-mask-repeat:no-repeat}.number__inner{padding:${x} ${C};transform:scaleX(calc(1 / var(--scale-x))) translateX(calc(-1 * var(${v})))}:host > :not(.number){z-index:5}.section,.symbol{display:inline-block;position:relative;isolation:isolate}.section::after{content:'\200b';display:inline-block}.section--justify-left{transform-origin:center left}.section--justify-right{transform-origin:center right}.section > [inert],.symbol > [inert]{margin:0 !important;position:absolute !important;z-index:-1}.digit{display:inline-block;position:relative;--c:var(--current) + var(${y})}.digit__num,.number .section::after{padding:${x} 0}.digit__num{display:inline-block;--offset-raw:mod(var(--length) + var(--n) - mod(var(--c),var(--length)),var(--length));--offset:calc( var(--offset-raw) - var(--length) * round(down,var(--offset-raw) / (var(--length) / 2),1) );--y:clamp(-100%,var(--offset) * 100%,100%);transform:translateY(var(--y))}.digit__num[inert]{position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(var(--y))}.digit:not(.is-spinning) .digit__num[inert]{display:none}.symbol__value{display:inline-block;mix-blend-mode:plus-lighter;white-space:pre}.section--justify-left .symbol > [inert]{left:0}.section--justify-right .symbol > [inert]{right:0}.animate-presence{opacity:calc(1 + var(${g}))}`, D = typeof HTMLElement < "u" ? HTMLElement : class {}, O = f`:host{display:inline-block;direction:ltr;white-space:nowrap;line-height:1}span{display:inline-block}:host([data-will-change]) span{will-change:transform}.number,.digit{padding:${x} 0}.symbol{white-space:pre}`,
|
|
36
|
+
})(), x = "round(nearest, calc(var(--number-flow-mask-height, 0.25em) / 2), 1px)", S = `calc(${x} * 2)`, C = "var(--number-flow-mask-width, 0.5em)", w = `calc(${C} / var(--scale-x))`, T = "#000 0, transparent 71%", E = f`:host{display:inline-block;direction:ltr;white-space:nowrap;isolation:isolate;line-height:1}.number,.number__inner{display:inline-block;transform-origin:left top}:host([data-will-change]) :is(.number,.number__inner,.section,.digit,.digit__num,.symbol){will-change:transform}.number{--scale-x:calc(1 + var(${_}) / var(--width));transform:translateX(var(${v})) scaleX(var(--scale-x));margin:0 calc(-1 * ${C});position:relative;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 ${w},#000 calc(100% - ${w}),transparent ),linear-gradient(to bottom,transparent 0,#000 ${S},#000 calc(100% - ${S}),transparent 100% ),radial-gradient(at bottom right,${T}),radial-gradient(at bottom left,${T}),radial-gradient(at top left,${T}),radial-gradient(at top right,${T});-webkit-mask-size:100% calc(100% - ${S} * 2),calc(100% - ${w} * 2) 100%,${w} ${S},${w} ${S},${w} ${S},${w} ${S};-webkit-mask-position:center,center,top left,top right,bottom right,bottom left;-webkit-mask-repeat:no-repeat}.number__inner{padding:${x} ${C};transform:scaleX(calc(1 / var(--scale-x))) translateX(calc(-1 * var(${v})))}:host > :not(.number){z-index:5}.section,.symbol{display:inline-block;position:relative;isolation:isolate}.section::after{content:'\200b';display:inline-block}.section--justify-left{transform-origin:center left}.section--justify-right{transform-origin:center right}.section > [inert],.symbol > [inert]{margin:0 !important;position:absolute !important;z-index:-1}.digit{display:inline-block;position:relative;--c:var(--current) + var(${y})}.digit__num,.number .section::after{padding:${x} 0}.digit__num{display:inline-block;--offset-raw:mod(var(--length) + var(--n) - mod(var(--c),var(--length)),var(--length));--offset:calc( var(--offset-raw) - var(--length) * round(down,var(--offset-raw) / (var(--length) / 2),1) );--y:clamp(-100%,var(--offset) * 100%,100%);transform:translateY(var(--y))}.digit__num[inert]{position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(var(--y))}.digit:not(.is-spinning) .digit__num[inert]{display:none}.symbol__value{display:inline-block;mix-blend-mode:plus-lighter;white-space:pre}.section--justify-left .symbol > [inert]{left:0}.section--justify-right .symbol > [inert]{right:0}.animate-presence{opacity:calc(1 + var(${g}))}`, D = typeof HTMLElement < "u" ? HTMLElement : class {}, O = f`:host{display:inline-block;direction:ltr;white-space:nowrap;line-height:1}span{display:inline-block}:host([data-will-change]) span{will-change:transform}.number,.digit{padding:${x} 0}.symbol{white-space:pre}`, k = (e = "") => f`:where(number-flow${e}){line-height:1}number-flow${e} > span{font-kerning:none;display:inline-block;padding:${S} 0}`, ee = (e, t) => e == null ? t : t == null ? e : Math.max(e, t), A = /* @__PURE__ */ new WeakMap(), j = {
|
|
37
37
|
onUpdate(e, t, n) {
|
|
38
|
-
if (
|
|
38
|
+
if (A.set(n, void 0), !n.computedTrend) return;
|
|
39
39
|
let r = t.integer.concat(t.fraction).filter((e) => e.type === "integer" || e.type === "fraction"), i = e.integer.concat(e.fraction).filter((e) => e.type === "integer" || e.type === "fraction"), a = r.find((e) => !i.find((t) => t.pos === e.pos && t.value === e.value)), o = i.find((e) => !r.find((t) => e.pos === t.pos && e.value === t.value));
|
|
40
|
-
|
|
40
|
+
A.set(n, ee(a?.pos, o?.pos));
|
|
41
41
|
},
|
|
42
42
|
getDelta(e, t, n) {
|
|
43
|
-
let r = e - t, i =
|
|
43
|
+
let r = e - t, i = A.get(n.flow);
|
|
44
44
|
if (!r && i != null && i >= n.pos) return n.length * n.flow.computedTrend;
|
|
45
45
|
}
|
|
46
|
-
},
|
|
46
|
+
}, M = (e, t, n) => {
|
|
47
47
|
let r = document.createElement(e), [i, a] = Array.isArray(t) ? [void 0, t] : [t, n];
|
|
48
48
|
return i && Object.assign(r, i), a?.forEach((e) => r.appendChild(e)), r;
|
|
49
|
-
},
|
|
49
|
+
}, N = (e, t) => t === "left" ? e.offsetLeft : ((e.offsetParent instanceof HTMLElement ? e.offsetParent : null)?.offsetWidth ?? 0) - e.offsetWidth - e.offsetLeft, te = (e) => e.offsetWidth > 0 && e.offsetHeight > 0, ne = (e, t) => {
|
|
50
50
|
typeof HTMLElement < "u" && typeof customElements < "u" && !customElements.get(e) && customElements.define(e, t);
|
|
51
51
|
};
|
|
52
|
-
function
|
|
52
|
+
function re(e, t, { reverse: n = !1 } = {}) {
|
|
53
53
|
let r = e.length;
|
|
54
54
|
for (let i = n ? r - 1 : 0; n ? i >= 0 : i < r; n ? i-- : i++) t(e[i], i);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function P(e, t, n, r) {
|
|
57
57
|
let i = t.formatToParts(e);
|
|
58
58
|
n && i.unshift({
|
|
59
59
|
type: "prefix",
|
|
@@ -108,9 +108,9 @@ function N(e, t, n, r) {
|
|
|
108
108
|
value: typeof e == "string" ? parseFloat(e) : e
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var F = m && p && b, I = class extends D {
|
|
112
112
|
constructor() {
|
|
113
|
-
super(), this.created = !1, this.batched = !1;
|
|
113
|
+
super(), this.created = !1, this.batched = !1, this._preUpdated = !1;
|
|
114
114
|
let { animated: e, ...t } = this.constructor.defaultProps;
|
|
115
115
|
this._animated = this.computedAnimated = e, Object.assign(this, t);
|
|
116
116
|
}
|
|
@@ -123,11 +123,11 @@ var P = m && p && b, F = class extends D {
|
|
|
123
123
|
}
|
|
124
124
|
set data(e) {
|
|
125
125
|
var t, n;
|
|
126
|
-
if (e == null) return;
|
|
126
|
+
if (e == null || e === this._data) return;
|
|
127
127
|
let { pre: r, integer: i, fraction: a, post: o, value: s } = e;
|
|
128
128
|
if (this.created) {
|
|
129
129
|
let c = this._data;
|
|
130
|
-
this._data = e, this.computedTrend = typeof this.trend == "function" ? this.trend(c.value, s) : this.trend, this.computedAnimated =
|
|
130
|
+
this._data = e, this.computedTrend = typeof this.trend == "function" ? this.trend(c.value, s) : this.trend, this.computedAnimated = F && this._animated && (!this.respectMotionPreference || !((t = h) != null && t.matches)) && te(this) && this.ownerDocument.visibilityState === "visible", (n = this.plugins) == null || n.forEach((t) => t.onUpdate?.call(t, e, c, this)), this.batched || this.willUpdate(), this._pre.update(r), this._num.update({
|
|
131
131
|
integer: i,
|
|
132
132
|
fraction: a
|
|
133
133
|
}), this._post.update(o), this.batched || this.didUpdate();
|
|
@@ -137,10 +137,10 @@ var P = m && p && b, F = class extends D {
|
|
|
137
137
|
this._internals ??= this.attachInternals(), this._internals.role = "img";
|
|
138
138
|
} catch {}
|
|
139
139
|
let t = document.createElement("style");
|
|
140
|
-
this.nonce && (t.nonce = this.nonce), t.textContent = E, this.shadowRoot.appendChild(t), this._pre = new
|
|
140
|
+
this.nonce && (t.nonce = this.nonce), t.textContent = E, this.shadowRoot.appendChild(t), this._pre = new z(this, r, {
|
|
141
141
|
justify: "right",
|
|
142
142
|
part: "left"
|
|
143
|
-
}), this.shadowRoot.appendChild(this._pre.el), this._num = new
|
|
143
|
+
}), this.shadowRoot.appendChild(this._pre.el), this._num = new ie(this, i, a), this.shadowRoot.appendChild(this._num.el), this._post = new z(this, o, {
|
|
144
144
|
justify: "left",
|
|
145
145
|
part: "right"
|
|
146
146
|
}), this.shadowRoot.appendChild(this._post.el), this.created = !0;
|
|
@@ -150,10 +150,11 @@ var P = m && p && b, F = class extends D {
|
|
|
150
150
|
} catch {}
|
|
151
151
|
}
|
|
152
152
|
willUpdate() {
|
|
153
|
-
|
|
153
|
+
var e;
|
|
154
|
+
this._preUpdated = F && this._animated && (!this.respectMotionPreference || !((e = h) != null && e.matches)) && this.ownerDocument.visibilityState === "visible", this._preUpdated && (this._pre.willUpdate(), this._num.willUpdate(), this._post.willUpdate());
|
|
154
155
|
}
|
|
155
156
|
didUpdate() {
|
|
156
|
-
if (!this.computedAnimated) return;
|
|
157
|
+
if (!this.computedAnimated || !this._preUpdated) return;
|
|
157
158
|
this._abortAnimationsFinish ? this._abortAnimationsFinish.abort() : this.dispatchEvent(new Event("animationsstart")), this._pre.didUpdate(), this._num.didUpdate(), this._post.didUpdate();
|
|
158
159
|
let e = new AbortController();
|
|
159
160
|
Promise.all(this.shadowRoot.getAnimations().map((e) => e.finished)).then(() => {
|
|
@@ -161,7 +162,7 @@ var P = m && p && b, F = class extends D {
|
|
|
161
162
|
}), this._abortAnimationsFinish = e;
|
|
162
163
|
}
|
|
163
164
|
};
|
|
164
|
-
|
|
165
|
+
I.defaultProps = {
|
|
165
166
|
transformTiming: {
|
|
166
167
|
duration: 900,
|
|
167
168
|
easing: "linear(0,.005,.019,.039,.066,.096,.129,.165,.202,.24,.278,.316,.354,.39,.426,.461,.494,.526,.557,.586,.614,.64,.665,.689,.711,.731,.751,.769,.786,.802,.817,.831,.844,.856,.867,.877,.887,.896,.904,.912,.919,.925,.931,.937,.942,.947,.951,.955,.959,.962,.965,.968,.971,.973,.976,.978,.98,.981,.983,.984,.986,.987,.988,.989,.99,.991,.992,.992,.993,.994,.994,.995,.995,.996,.996,.9963,.9967,.9969,.9972,.9975,.9977,.9979,.9981,.9982,.9984,.9985,.9987,.9988,.9989,1)"
|
|
@@ -177,15 +178,15 @@ F.defaultProps = {
|
|
|
177
178
|
plugins: void 0,
|
|
178
179
|
digits: void 0
|
|
179
180
|
};
|
|
180
|
-
var
|
|
181
|
+
var ie = class {
|
|
181
182
|
constructor(e, t, n, { className: r, ...i } = {}) {
|
|
182
|
-
this.flow = e, this._integer = new
|
|
183
|
+
this.flow = e, this._integer = new R(e, t, {
|
|
183
184
|
justify: "right",
|
|
184
185
|
part: "integer"
|
|
185
|
-
}), this._fraction = new
|
|
186
|
+
}), this._fraction = new R(e, n, {
|
|
186
187
|
justify: "left",
|
|
187
188
|
part: "fraction"
|
|
188
|
-
}), this._inner =
|
|
189
|
+
}), this._inner = M("span", { className: "number__inner" }, [this._integer.el, this._fraction.el]), this.el = M("span", {
|
|
189
190
|
...i,
|
|
190
191
|
part: "number",
|
|
191
192
|
className: `number ${r ?? ""}`
|
|
@@ -209,22 +210,22 @@ var ae = class {
|
|
|
209
210
|
composite: "accumulate"
|
|
210
211
|
});
|
|
211
212
|
}
|
|
212
|
-
},
|
|
213
|
+
}, L = class {
|
|
213
214
|
constructor(e, t, { justify: n, className: r, ...i }, a) {
|
|
214
215
|
this.flow = e, this.children = /* @__PURE__ */ new Map(), this.onCharRemove = (e) => () => {
|
|
215
216
|
this.children.delete(e);
|
|
216
217
|
}, this.justify = n;
|
|
217
218
|
let o = t.map((e) => this.addChar(e).el);
|
|
218
|
-
this.el =
|
|
219
|
+
this.el = M("span", {
|
|
219
220
|
...i,
|
|
220
221
|
className: `section section--justify-${n} ${r ?? ""}`
|
|
221
222
|
}, a ? a(o) : o);
|
|
222
223
|
}
|
|
223
224
|
addChar(e, { startDigitsAtZero: t = !1, ...n } = {}) {
|
|
224
|
-
let r = e.type === "integer" || e.type === "fraction" ? new
|
|
225
|
+
let r = e.type === "integer" || e.type === "fraction" ? new H(this, e.type, t ? 0 : e.value, e.pos, {
|
|
225
226
|
...n,
|
|
226
227
|
onRemove: this.onCharRemove(e.key)
|
|
227
|
-
}) : new
|
|
228
|
+
}) : new U(this, e.type, e.value, {
|
|
228
229
|
...n,
|
|
229
230
|
onRemove: this.onCharRemove(e.key)
|
|
230
231
|
});
|
|
@@ -235,14 +236,14 @@ var ae = class {
|
|
|
235
236
|
}
|
|
236
237
|
pop(e) {
|
|
237
238
|
e.forEach((e) => {
|
|
238
|
-
e.el.style.top = `${e.el.offsetTop}px`, e.el.style[this.justify] = `${
|
|
239
|
+
e.el.style.top = `${e.el.offsetTop}px`, e.el.style[this.justify] = `${N(e.el, this.justify)}px`;
|
|
239
240
|
}), e.forEach((e) => {
|
|
240
241
|
e.el.setAttribute("inert", ""), e.present = !1;
|
|
241
242
|
});
|
|
242
243
|
}
|
|
243
244
|
addNewAndUpdateExisting(e) {
|
|
244
245
|
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = this.justify === "left", i = r ? "prepend" : "append";
|
|
245
|
-
if (
|
|
246
|
+
if (re(e, (e) => {
|
|
246
247
|
let r;
|
|
247
248
|
this.children.has(e.key) ? (r = this.children.get(e.key), n.set(e, r), this.unpop(r), r.present = !0) : (r = this.addChar(e, {
|
|
248
249
|
startDigitsAtZero: !0,
|
|
@@ -273,23 +274,23 @@ var ae = class {
|
|
|
273
274
|
composite: "accumulate"
|
|
274
275
|
});
|
|
275
276
|
}
|
|
276
|
-
},
|
|
277
|
+
}, R = class extends L {
|
|
277
278
|
update(e) {
|
|
278
279
|
let t = /* @__PURE__ */ new Map();
|
|
279
280
|
this.children.forEach((n, r) => {
|
|
280
281
|
e.find((e) => e.key === r) || t.set(r, n), this.unpop(n);
|
|
281
282
|
}), this.addNewAndUpdateExisting(e), t.forEach((e) => {
|
|
282
|
-
e instanceof
|
|
283
|
+
e instanceof H && e.update(0);
|
|
283
284
|
}), this.pop(t);
|
|
284
285
|
}
|
|
285
|
-
},
|
|
286
|
+
}, z = class extends L {
|
|
286
287
|
update(e) {
|
|
287
288
|
let t = /* @__PURE__ */ new Map();
|
|
288
289
|
this.children.forEach((n, r) => {
|
|
289
290
|
e.find((e) => e.key === r) || t.set(r, n);
|
|
290
291
|
}), this.pop(t), this.addNewAndUpdateExisting(e);
|
|
291
292
|
}
|
|
292
|
-
},
|
|
293
|
+
}, B = class {
|
|
293
294
|
constructor(e, t, { onRemove: n, animateIn: r = !1 } = {}) {
|
|
294
295
|
this.flow = e, this.el = t, this._present = !0, this._remove = () => {
|
|
295
296
|
var e;
|
|
@@ -314,16 +315,16 @@ var ae = class {
|
|
|
314
315
|
}), e ? this.flow.removeEventListener("animationsfinish", this._remove) : this.flow.addEventListener("animationsfinish", this._remove, { once: !0 });
|
|
315
316
|
}
|
|
316
317
|
}
|
|
317
|
-
},
|
|
318
|
+
}, V = class extends B {
|
|
318
319
|
constructor(e, t, n, r) {
|
|
319
320
|
super(e.flow, n, r), this.section = e, this.value = t, this.el = n;
|
|
320
321
|
}
|
|
321
|
-
},
|
|
322
|
+
}, H = class extends V {
|
|
322
323
|
constructor(e, t, n, r, i) {
|
|
323
324
|
let a = (e.flow.digits?.[r]?.max ?? 9) + 1, o = Array.from({ length: a }).map((e, t) => {
|
|
324
|
-
let r =
|
|
325
|
+
let r = M("span", { className: "digit__num" }, [document.createTextNode(String(t))]);
|
|
325
326
|
return t !== n && r.setAttribute("inert", ""), r.style.setProperty("--n", String(t)), r;
|
|
326
|
-
}), s =
|
|
327
|
+
}), s = M("span", {
|
|
327
328
|
part: `digit ${t}-digit`,
|
|
328
329
|
className: "digit"
|
|
329
330
|
}, o);
|
|
@@ -360,18 +361,18 @@ var ae = class {
|
|
|
360
361
|
let e = this.value - this._prevValue, t = this.flow.computedTrend || Math.sign(e);
|
|
361
362
|
return t < 0 && this.value > this._prevValue ? this.value - this.length - this._prevValue : t > 0 && this.value < this._prevValue ? this.length - this._prevValue + this.value : e;
|
|
362
363
|
}
|
|
363
|
-
},
|
|
364
|
+
}, U = class extends V {
|
|
364
365
|
constructor(e, t, n, r) {
|
|
365
|
-
let i =
|
|
366
|
+
let i = M("span", {
|
|
366
367
|
className: "symbol__value",
|
|
367
368
|
textContent: n
|
|
368
369
|
});
|
|
369
|
-
super(e, n,
|
|
370
|
+
super(e, n, M("span", {
|
|
370
371
|
part: `symbol ${t}`,
|
|
371
372
|
className: "symbol"
|
|
372
373
|
}, [i]), r), this.type = t, this._children = /* @__PURE__ */ new Map(), this._onChildRemove = (e) => () => {
|
|
373
374
|
this._children.delete(e);
|
|
374
|
-
}, this._children.set(n, new
|
|
375
|
+
}, this._children.set(n, new B(this.flow, i, { onRemove: this._onChildRemove(n) }));
|
|
375
376
|
}
|
|
376
377
|
willUpdate(e) {
|
|
377
378
|
if (this.type === "decimal") return;
|
|
@@ -385,11 +386,11 @@ var ae = class {
|
|
|
385
386
|
let n = this._children.get(e);
|
|
386
387
|
if (n) n.present = !0;
|
|
387
388
|
else {
|
|
388
|
-
let t =
|
|
389
|
+
let t = M("span", {
|
|
389
390
|
className: "symbol__value",
|
|
390
391
|
textContent: e
|
|
391
392
|
});
|
|
392
|
-
this.el.appendChild(t), this._children.set(e, new
|
|
393
|
+
this.el.appendChild(t), this._children.set(e, new B(this.flow, t, {
|
|
393
394
|
animateIn: !0,
|
|
394
395
|
onRemove: this._onChildRemove(e)
|
|
395
396
|
}));
|
|
@@ -405,22 +406,22 @@ var ae = class {
|
|
|
405
406
|
composite: "accumulate"
|
|
406
407
|
});
|
|
407
408
|
}
|
|
408
|
-
},
|
|
409
|
+
}, W = (e) => [
|
|
409
410
|
O,
|
|
410
|
-
|
|
411
|
+
k(e),
|
|
411
412
|
E
|
|
412
|
-
],
|
|
413
|
+
], G = parseInt(e.match(/^(\d+)\./)?.[1]) >= 19, K = ["data", "digits"], q = class extends I {
|
|
413
414
|
attributeChangedCallback(e, t, n) {
|
|
414
415
|
this[e] = JSON.parse(n);
|
|
415
416
|
}
|
|
416
417
|
};
|
|
417
|
-
|
|
418
|
-
var
|
|
419
|
-
function
|
|
418
|
+
q.observedAttributes = G ? [] : K, ne("number-flow-react", q);
|
|
419
|
+
var J = {};
|
|
420
|
+
function ae(e) {
|
|
420
421
|
return e;
|
|
421
422
|
}
|
|
422
|
-
var
|
|
423
|
-
function
|
|
423
|
+
var Y = G ? ae : JSON.stringify;
|
|
424
|
+
function X(e) {
|
|
424
425
|
let { transformTiming: t, spinTiming: n, opacityTiming: r, animated: i, respectMotionPreference: a, trend: o, plugins: s, ...c } = e;
|
|
425
426
|
return [{
|
|
426
427
|
transformTiming: t,
|
|
@@ -432,17 +433,17 @@ function Y(e) {
|
|
|
432
433
|
plugins: s
|
|
433
434
|
}, c];
|
|
434
435
|
}
|
|
435
|
-
var
|
|
436
|
+
var oe = class extends c {
|
|
436
437
|
updateProperties(e) {
|
|
437
438
|
if (!this.el) return;
|
|
438
439
|
this.el.batched = !this.props.isolate;
|
|
439
|
-
let [t] =
|
|
440
|
+
let [t] = X(this.props);
|
|
440
441
|
Object.entries(t).forEach(([e, t]) => {
|
|
441
|
-
this.el[e] = t ??
|
|
442
|
+
this.el[e] = t ?? q.defaultProps[e];
|
|
442
443
|
}), e?.onAnimationsStart && this.el.removeEventListener("animationsstart", e.onAnimationsStart), this.props.onAnimationsStart && this.el.addEventListener("animationsstart", this.props.onAnimationsStart), e?.onAnimationsFinish && this.el.removeEventListener("animationsfinish", e.onAnimationsFinish), this.props.onAnimationsFinish && this.el.addEventListener("animationsfinish", this.props.onAnimationsFinish);
|
|
443
444
|
}
|
|
444
445
|
componentDidMount() {
|
|
445
|
-
this.updateProperties(),
|
|
446
|
+
this.updateProperties(), G && this.el && (this.el.digits = this.props.digits, this.el.data = this.props.data);
|
|
446
447
|
}
|
|
447
448
|
getSnapshotBeforeUpdate(e) {
|
|
448
449
|
if (this.updateProperties(e), e.data !== this.props.data) {
|
|
@@ -458,7 +459,7 @@ var se = class extends c {
|
|
|
458
459
|
this.props.innerRef && (this.props.innerRef.current = e), this.el = e;
|
|
459
460
|
}
|
|
460
461
|
render() {
|
|
461
|
-
let [e, { innerRef: t, className: n, data: r, nonce: i, willChange: a, isolate: o, group: c, digits: l, onAnimationsStart: u, onAnimationsFinish: d, ...f }] =
|
|
462
|
+
let [e, { innerRef: t, className: n, data: r, nonce: i, willChange: a, isolate: o, group: c, digits: l, onAnimationsStart: u, onAnimationsFinish: d, ...f }] = X(this.props);
|
|
462
463
|
return /*#__PURE__*/ s("number-flow-react", {
|
|
463
464
|
ref: this.handleRef,
|
|
464
465
|
"data-will-change": a ? "" : void 0,
|
|
@@ -467,25 +468,25 @@ var se = class extends c {
|
|
|
467
468
|
...f,
|
|
468
469
|
dangerouslySetInnerHTML: { __html: "" },
|
|
469
470
|
suppressHydrationWarning: !0,
|
|
470
|
-
digits:
|
|
471
|
-
data:
|
|
471
|
+
digits: Y(l),
|
|
472
|
+
data: Y(r)
|
|
472
473
|
});
|
|
473
474
|
}
|
|
474
475
|
constructor(e) {
|
|
475
476
|
super(e), this.handleRef = this.handleRef.bind(this);
|
|
476
477
|
}
|
|
477
|
-
},
|
|
478
|
+
}, se = /*#__PURE__*/ l(function({ value: e, locales: t, format: a, prefix: o, suffix: c, ...l }, u) {
|
|
478
479
|
i(u, () => f.current, []);
|
|
479
480
|
let f = d(void 0), p = r(Z);
|
|
480
481
|
p?.useRegister(f);
|
|
481
|
-
let m = n(() => t ? JSON.stringify(t) : "", [t]), h = n(() => a ? JSON.stringify(a) : "", [a]), g = n(() =>
|
|
482
|
+
let m = n(() => t ? JSON.stringify(t) : "", [t]), h = n(() => a ? JSON.stringify(a) : "", [a]), g = n(() => P(e, J[`${m}:${h}`] ??= new Intl.NumberFormat(t, a), o, c), [
|
|
482
483
|
e,
|
|
483
484
|
m,
|
|
484
485
|
h,
|
|
485
486
|
o,
|
|
486
487
|
c
|
|
487
488
|
]);
|
|
488
|
-
return /*#__PURE__*/ s(
|
|
489
|
+
return /*#__PURE__*/ s(oe, {
|
|
489
490
|
...l,
|
|
490
491
|
group: p,
|
|
491
492
|
data: g,
|
|
@@ -515,14 +516,14 @@ function ce({ children: e }) {
|
|
|
515
516
|
return /*#__PURE__*/ s(Z.Provider, { value: a }, e);
|
|
516
517
|
}
|
|
517
518
|
//#endregion
|
|
518
|
-
//#region ../../node_modules/.pnpm/@number-flow+react@0.6.
|
|
519
|
+
//#region ../../node_modules/.pnpm/@number-flow+react@0.6.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@number-flow/react/dist/index.mjs
|
|
519
520
|
o();
|
|
520
|
-
var le =
|
|
521
|
+
var le = W("-react"), Q = () => t(() => () => {}, () => F, () => !1), $ = () => t((e) => (h?.addEventListener("change", e), () => h?.removeEventListener("change", e)), () => h.matches, () => !1);
|
|
521
522
|
function ue({ respectMotionPreference: e = !0 } = {}) {
|
|
522
523
|
let t = Q(), n = $();
|
|
523
524
|
return t && (!e || !n);
|
|
524
525
|
}
|
|
525
526
|
//#endregion
|
|
526
|
-
export {
|
|
527
|
+
export { q as NumberFlowElement, ce as NumberFlowGroup, j as continuous, se as default, le as styles, ue as useCanAnimate, Q as useIsSupported, $ as usePrefersReducedMotion };
|
|
527
528
|
|
|
528
|
-
//# sourceMappingURL=dist-
|
|
529
|
+
//# sourceMappingURL=dist-ByFmDSNP2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as e, _ as t, c as n, d as r, g as i, u as a, v as o, w as s } from "./_react-D4KM8XEu.js";
|
|
2
2
|
import { S as c } from "./chunk-KS7C4IRE-D4HEcEwi.js";
|
|
3
|
-
import { dt as l, ft as u, st as d } from "./routes-
|
|
3
|
+
import { dt as l, ft as u, st as d } from "./routes-CLH3OVTP.js";
|
|
4
4
|
import { f, m as p } from "./use-navigate-with-base-path-CAwXTmqH.js";
|
|
5
5
|
import { a as m, c as h, i as g } from "./avatar-B3DEDB1l.js";
|
|
6
6
|
//#region ../../node_modules/.pnpm/@radix-ui+react-collection@1.1.11_@types+react-dom@18.3.7_@types+react@18.3.31__@types+_d63a01f8f2419583266dd4480c0aa94b/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
@@ -212,4 +212,4 @@ var B = j, V = P;
|
|
|
212
212
|
//#endregion
|
|
213
213
|
export { v as a, b as i, B as n, O as r, V as t };
|
|
214
214
|
|
|
215
|
-
//# sourceMappingURL=dist-
|
|
215
|
+
//# sourceMappingURL=dist-D8sFfdpC.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { T as e, a as t, d as n, v as r, w as i } from "./_react-D4KM8XEu.js";
|
|
2
2
|
import { S as a } from "./chunk-KS7C4IRE-D4HEcEwi.js";
|
|
3
|
-
import { D as o, O as s, a as ee } from "./routes-
|
|
3
|
+
import { D as o, O as s, a as ee } from "./routes-CLH3OVTP.js";
|
|
4
4
|
import { r as c, y as l } from "./use-navigate-with-base-path-CAwXTmqH.js";
|
|
5
5
|
import { B as te, H as ne, a as re, q as ie, r as ae, z as oe } from "./use-activity-pub-queries-VzbN99u_.js";
|
|
6
6
|
import { d as se, u } from "./content-formatters-BpQARh28.js";
|
|
7
7
|
import { t as ce } from "./copy-D9UWIAan.js";
|
|
8
|
-
import { a as le, i as ue, n as de, r as fe, t as pe } from "./site-
|
|
9
|
-
import { i as d, r as f, t as p } from "./field-
|
|
10
|
-
import "./layout-
|
|
8
|
+
import { a as le, i as ue, n as de, r as fe, t as pe } from "./site-CQD42Pw5.js";
|
|
9
|
+
import { i as d, r as f, t as p } from "./field-BV-CIT3d.js";
|
|
10
|
+
import "./layout-qx-bUL1k.js";
|
|
11
11
|
import { n as me, t as m } from "./social-web-handle-251Wqk4d.js";
|
|
12
12
|
//#region ../shade/es/components/primitives/types.js
|
|
13
13
|
var h = {
|
|
@@ -466,4 +466,4 @@ var x = () => {
|
|
|
466
466
|
//#endregion
|
|
467
467
|
export { x as default };
|
|
468
468
|
|
|
469
|
-
//# sourceMappingURL=domain-
|
|
469
|
+
//# sourceMappingURL=domain-CWueFW6q.js.map
|
package/core/built/admin/assets/activitypub/{edit-profile-CXdwNmVG.js → edit-profile-BGxPU7N5.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { T as e, _ as t, a as n, c as r, d as i, u as a, w as o, y as s } from "./_react-D4KM8XEu.js";
|
|
2
2
|
import { S as c } from "./chunk-KS7C4IRE-D4HEcEwi.js";
|
|
3
3
|
import { o as l } from "./users-BLeiOTHc.js";
|
|
4
|
-
import { D as u, O as d, W as f, d as p, k as m, l as h, mt as g, p as _, pt as v, q as y } from "./routes-
|
|
4
|
+
import { D as u, O as d, W as f, d as p, k as m, l as h, mt as g, p as _, pt as v, q as y } from "./routes-CLH3OVTP.js";
|
|
5
5
|
import { d as b, r as x, y as S } from "./use-navigate-with-base-path-CAwXTmqH.js";
|
|
6
6
|
import { B as ee, t as te } from "./use-activity-pub-queries-VzbN99u_.js";
|
|
7
|
-
import { t as C } from "./label-
|
|
7
|
+
import { t as C } from "./label-DTRS9TDk.js";
|
|
8
8
|
import { t as w } from "./social-web-handle-251Wqk4d.js";
|
|
9
9
|
//#region ../../node_modules/.pnpm/react-hook-form@7.80.0_react@18.3.1/node_modules/react-hook-form/dist/index.esm.mjs
|
|
10
10
|
var T = c();
|
|
@@ -4514,4 +4514,4 @@ var Fs = (e) => {
|
|
|
4514
4514
|
//#endregion
|
|
4515
4515
|
export { Ls as t };
|
|
4516
4516
|
|
|
4517
|
-
//# sourceMappingURL=edit-profile-
|
|
4517
|
+
//# sourceMappingURL=edit-profile-BGxPU7N5.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as e, d as t, v as n } from "./_react-D4KM8XEu.js";
|
|
2
2
|
import { S as r, d as i } from "./chunk-KS7C4IRE-D4HEcEwi.js";
|
|
3
|
-
import { D as a, a as o, b as s, x as c } from "./routes-
|
|
3
|
+
import { D as a, a as o, b as s, x as c } from "./routes-CLH3OVTP.js";
|
|
4
4
|
import { g as l, r as u, t as d } from "./use-navigate-with-base-path-CAwXTmqH.js";
|
|
5
5
|
import { Y as f, _ as p, a as m } from "./use-activity-pub-queries-VzbN99u_.js";
|
|
6
6
|
import { t as h } from "./x-C8tAnXly.js";
|
|
7
7
|
import { c as g, i as _, o as v, s as y, u as b } from "./content-formatters-BpQARh28.js";
|
|
8
8
|
import { n as x } from "./onboarding-D6rcBdPe.js";
|
|
9
9
|
import "./onboarding-BFDkzeR2.js";
|
|
10
|
-
import "./layout-
|
|
10
|
+
import "./layout-qx-bUL1k.js";
|
|
11
11
|
import { t as S } from "./topic-filter-DLHBZT93.js";
|
|
12
12
|
var C = l("sprout", [
|
|
13
13
|
["path", {
|
|
@@ -175,4 +175,4 @@ var w = r(), T = ({ profile: e, update: t, isLoading: n, onOpenChange: r }) => {
|
|
|
175
175
|
//#endregion
|
|
176
176
|
export { E as default };
|
|
177
177
|
|
|
178
|
-
//# sourceMappingURL=explore-
|
|
178
|
+
//# sourceMappingURL=explore-DBK-u0Ch.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { T as e, d as t, v as n, w as r } from "./_react-D4KM8XEu.js";
|
|
2
2
|
import { S as i } from "./chunk-KS7C4IRE-D4HEcEwi.js";
|
|
3
|
-
import { D as a, _t as o, a as s, b as c, c as l, i as u, m as d, n as f, r as p, vt as m, x as h } from "./routes-
|
|
3
|
+
import { D as a, _t as o, a as s, b as c, c as l, i as u, m as d, n as f, r as p, vt as m, x as h } from "./routes-CLH3OVTP.js";
|
|
4
4
|
import { r as g, t as _ } from "./use-navigate-with-base-path-CAwXTmqH.js";
|
|
5
5
|
import { G as v, N as y, V as b, W as x, Y as S, v as C } from "./use-activity-pub-queries-VzbN99u_.js";
|
|
6
6
|
import { i as w, t as T } from "./x-C8tAnXly.js";
|
|
7
7
|
import { c as E, u as D } from "./content-formatters-BpQARh28.js";
|
|
8
8
|
import { t as O } from "./hash-BC9Q0N4c.js";
|
|
9
9
|
import { t as k } from "./separator-BI1FLsYM.js";
|
|
10
|
-
import "./layout-
|
|
10
|
+
import "./layout-qx-bUL1k.js";
|
|
11
11
|
//#region src/views/feed/components/feed-input.tsx
|
|
12
12
|
var A = i(), j = ({ user: e }) => /* @__PURE__ */ (0, A.jsx)(l, { children: /* @__PURE__ */ (0, A.jsxs)("div", {
|
|
13
13
|
className: "relative my-5 w-full hover:cursor-pointer",
|
|
@@ -254,4 +254,4 @@ var P = () => {
|
|
|
254
254
|
//#endregion
|
|
255
255
|
export { P as default };
|
|
256
256
|
|
|
257
|
-
//# sourceMappingURL=feed-
|
|
257
|
+
//# sourceMappingURL=feed-Bcir5RQZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as e, d as t } from "./_react-D4KM8XEu.js";
|
|
2
2
|
import { S as n } from "./chunk-KS7C4IRE-D4HEcEwi.js";
|
|
3
3
|
import { _ as r, y as i } from "./use-navigate-with-base-path-CAwXTmqH.js";
|
|
4
|
-
import { t as a } from "./label-
|
|
4
|
+
import { t as a } from "./label-DTRS9TDk.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-
|
|
62
|
+
//# sourceMappingURL=field-BV-CIT3d.js.map
|