@tryghost/activitypub 3.0.7 → 3.0.8
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/dist/activitypub.js +6 -3
- package/dist/{at-sign-DjgaOOtV.mjs → at-sign-Fsk3x72r.mjs} +2 -2
- package/dist/{at-sign-DjgaOOtV.mjs.map → at-sign-Fsk3x72r.mjs.map} +1 -1
- package/dist/{avatar-flipboard-8NioODS5.mjs → avatar-flipboard-C10JfFS_.mjs} +2 -2
- package/dist/{avatar-flipboard-8NioODS5.mjs.map → avatar-flipboard-C10JfFS_.mjs.map} +1 -1
- package/dist/{bluesky-sharing-B4oF-0BN.mjs → bluesky-sharing-C1xeGSL6.mjs} +4 -4
- package/dist/{bluesky-sharing-B4oF-0BN.mjs.map → bluesky-sharing-C1xeGSL6.mjs.map} +1 -1
- package/dist/{copy-BxgO1lWX.mjs → copy-C1fElSkQ.mjs} +2 -2
- package/dist/{copy-BxgO1lWX.mjs.map → copy-C1fElSkQ.mjs.map} +1 -1
- package/dist/{deleted-feed-item-Ct4Zc7u3.mjs → deleted-feed-item-Bun4tY2_.mjs} +2 -2
- package/dist/{deleted-feed-item-Ct4Zc7u3.mjs.map → deleted-feed-item-Bun4tY2_.mjs.map} +1 -1
- package/dist/{edit-profile-DVsYbpNY.mjs → edit-profile-CYh00FZ7.mjs} +1211 -1121
- package/dist/edit-profile-CYh00FZ7.mjs.map +1 -0
- package/dist/{feed-D0aeoOOJ.mjs → feed-BxUqmcN9.mjs} +4 -4
- package/dist/{feed-D0aeoOOJ.mjs.map → feed-BxUqmcN9.mjs.map} +1 -1
- package/dist/{hash-B-J30lCU.mjs → hash-CNgwAx-U.mjs} +2 -2
- package/dist/{hash-B-J30lCU.mjs.map → hash-CNgwAx-U.mjs.map} +1 -1
- package/dist/{inbox-BrLsHadF.mjs → inbox-DqNqII4a.mjs} +2 -2
- package/dist/{inbox-BrLsHadF.mjs.map → inbox-DqNqII4a.mjs.map} +1 -1
- package/dist/{index-_vEj3NfZ.mjs → index--Q6orQkb.mjs} +7960 -8593
- package/dist/index--Q6orQkb.mjs.map +1 -0
- package/dist/{index-DyFr7l3O.mjs → index-BueIufRq.mjs} +2450 -2838
- package/dist/index-BueIufRq.mjs.map +1 -0
- package/dist/{index-DnpX9U7J.mjs → index-C3KJXzZE.mjs} +32 -32
- package/dist/{index-DnpX9U7J.mjs.map → index-C3KJXzZE.mjs.map} +1 -1
- package/dist/{index-BftxScf5.mjs → index-C9pnotJK.mjs} +24 -24
- package/dist/{index-BftxScf5.mjs.map → index-C9pnotJK.mjs.map} +1 -1
- package/dist/{index-BMm_mIRT.mjs → index-CJJXnqq1.mjs} +3 -3
- package/dist/{index-BMm_mIRT.mjs.map → index-CJJXnqq1.mjs.map} +1 -1
- package/dist/{index-WlK4xdmR.mjs → index-CONoLlDU.mjs} +2 -2
- package/dist/{index-WlK4xdmR.mjs.map → index-CONoLlDU.mjs.map} +1 -1
- package/dist/{index-DL7eG3Ac.mjs → index-Dvh9q3jy.mjs} +18 -18
- package/dist/{index-DL7eG3Ac.mjs.map → index-Dvh9q3jy.mjs.map} +1 -1
- package/dist/{index-BdcW7GlH.mjs → index-jhjmoHwu.mjs} +36 -36
- package/dist/{index-BdcW7GlH.mjs.map → index-jhjmoHwu.mjs.map} +1 -1
- package/dist/{moderation-KWQp9gQj.mjs → moderation-CYhwUFi2.mjs} +3 -3
- package/dist/{moderation-KWQp9gQj.mjs.map → moderation-CYhwUFi2.mjs.map} +1 -1
- package/dist/{note-CfQDRkeT.mjs → note-COVa8CMw.mjs} +4 -4
- package/dist/{note-CfQDRkeT.mjs.map → note-COVa8CMw.mjs.map} +1 -1
- package/dist/{reply-BrWarBVQ.mjs → reply-BHpKVBxx.mjs} +2 -2
- package/dist/{reply-BrWarBVQ.mjs.map → reply-BHpKVBxx.mjs.map} +1 -1
- package/dist/separator-DP7q5sFH.mjs +116 -0
- package/dist/separator-DP7q5sFH.mjs.map +1 -0
- package/dist/{settings-CCnMmVaW.mjs → settings-3n7zo_3K.mjs} +3 -3
- package/dist/{settings-CCnMmVaW.mjs.map → settings-3n7zo_3K.mjs.map} +1 -1
- package/dist/{step-1-HGv6537o.mjs → step-1-BmUukywZ.mjs} +3 -3
- package/dist/{step-1-HGv6537o.mjs.map → step-1-BmUukywZ.mjs.map} +1 -1
- package/dist/{step-2-hqeY_dIc.mjs → step-2-C--I3xxp.mjs} +7 -7
- package/dist/{step-2-hqeY_dIc.mjs.map → step-2-C--I3xxp.mjs.map} +1 -1
- package/dist/{step-3-8yg4QPpr.mjs → step-3-0Deh5N9c.mjs} +7 -7
- package/dist/{step-3-8yg4QPpr.mjs.map → step-3-0Deh5N9c.mjs.map} +1 -1
- package/dist/{tabs-BZytpdZ9.mjs → tabs-D_vmoLBo.mjs} +35 -35
- package/dist/{tabs-BZytpdZ9.mjs.map → tabs-D_vmoLBo.mjs.map} +1 -1
- package/dist/{topic-filter-1kNAxvyr.mjs → topic-filter-DJMrhH-c.mjs} +2 -2
- package/dist/{topic-filter-1kNAxvyr.mjs.map → topic-filter-DJMrhH-c.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/edit-profile-DVsYbpNY.mjs.map +0 -1
- package/dist/index-DyFr7l3O.mjs.map +0 -1
- package/dist/index-_vEj3NfZ.mjs.map +0 -1
- package/dist/separator-nDV4oVPB.mjs +0 -39
- package/dist/separator-nDV4oVPB.mjs.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { a6 as
|
|
2
|
-
import { u as je, D as Ce, A as ze, S as Sn } from "./deleted-feed-item-
|
|
3
|
-
import { T as Se } from "./topic-filter-
|
|
4
|
-
import { S as _e } from "./separator-
|
|
5
|
-
import { I as _n } from "./inbox-
|
|
1
|
+
import { a6 as Xn, R as Q, j as n, s as In, b as y, e as L, ba as Pn, bb as Fn, B as $, bE as ne, bc as Ln, bF as ee, c as U, bG as te, W as jn, d as Rn, bH as un, S as N, P as ae, A as oe, h as re, g as Cn, r as ie, aa as de, aT as ce, k as hn, F as cn, i as sn, bI as se, ab as le, a as ge, u as pe, l as ue, L as he, D as me, n as ke, o as fe, p as be, bJ as xe, bK as ve, bL as ye, av as zn, aw as we } from "./index--Q6orQkb.mjs";
|
|
2
|
+
import { u as je, D as Ce, A as ze, S as Sn } from "./deleted-feed-item-Bun4tY2_.mjs";
|
|
3
|
+
import { T as Se } from "./topic-filter-DJMrhH-c.mjs";
|
|
4
|
+
import { S as _e } from "./separator-DP7q5sFH.mjs";
|
|
5
|
+
import { I as _n } from "./inbox-DqNqII4a.mjs";
|
|
6
6
|
/**
|
|
7
7
|
* @license lucide-react v0.553.0 - ISC
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
const Ee = [["path", { d: "M5 12h14", key: "1ays0h" }]], Ne =
|
|
12
|
+
const Ee = [["path", { d: "M5 12h14", key: "1ays0h" }]], Ne = Xn("minus", Ee), Tn = Q.forwardRef(({ children: a, className: r, ...t }, i) => /* @__PURE__ */ n.jsx(
|
|
13
13
|
"div",
|
|
14
14
|
{
|
|
15
15
|
ref: i,
|
|
@@ -1876,10 +1876,10 @@ html.has-light-text .gh-paid-content-notice {
|
|
|
1876
1876
|
.kg-button-card a.kg-btn-accent {
|
|
1877
1877
|
background-color: var(--ghost-accent-color);
|
|
1878
1878
|
color: #fff;
|
|
1879
|
-
}`,
|
|
1879
|
+
}`, Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1880
1880
|
__proto__: null,
|
|
1881
1881
|
default: Je
|
|
1882
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1882
|
+
}, Symbol.toStringTag, { value: "Module" })), Xe = `.kg-callout-card,
|
|
1883
1883
|
.kg-callout-card * {
|
|
1884
1884
|
box-sizing: border-box;
|
|
1885
1885
|
}
|
|
@@ -1948,7 +1948,7 @@ html.has-light-text .gh-paid-content-notice {
|
|
|
1948
1948
|
margin-top: 1em;
|
|
1949
1949
|
}`, nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1950
1950
|
__proto__: null,
|
|
1951
|
-
default:
|
|
1951
|
+
default: Xe
|
|
1952
1952
|
}, Symbol.toStringTag, { value: "Module" })), et = `.kg-collection-card {
|
|
1953
1953
|
width: 100%;
|
|
1954
1954
|
margin-top: 6vmin;
|
|
@@ -4196,7 +4196,7 @@ a.kg-cta-button {
|
|
|
4196
4196
|
`, wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4197
4197
|
__proto__: null,
|
|
4198
4198
|
default: yt
|
|
4199
|
-
}, Symbol.toStringTag, { value: "Module" })), jt = /* @__PURE__ */ Object.assign({ "../../ghost/core/core/frontend/src/cards/js/audio.js": Ae, "../../ghost/core/core/frontend/src/cards/js/gallery.js": De, "../../ghost/core/core/frontend/src/cards/js/toggle.js": qe, "../../ghost/core/core/frontend/src/cards/js/video.js": Ue }), Ct = /* @__PURE__ */ Object.assign({ "../../ghost/core/core/frontend/src/cards/css/audio.css": Ke, "../../ghost/core/core/frontend/src/cards/css/blockquote.css": Ye, "../../ghost/core/core/frontend/src/cards/css/bookmark.css": Ze, "../../ghost/core/core/frontend/src/cards/css/button.css":
|
|
4199
|
+
}, Symbol.toStringTag, { value: "Module" })), jt = /* @__PURE__ */ Object.assign({ "../../ghost/core/core/frontend/src/cards/js/audio.js": Ae, "../../ghost/core/core/frontend/src/cards/js/gallery.js": De, "../../ghost/core/core/frontend/src/cards/js/toggle.js": qe, "../../ghost/core/core/frontend/src/cards/js/video.js": Ue }), Ct = /* @__PURE__ */ Object.assign({ "../../ghost/core/core/frontend/src/cards/css/audio.css": Ke, "../../ghost/core/core/frontend/src/cards/css/blockquote.css": Ye, "../../ghost/core/core/frontend/src/cards/css/bookmark.css": Ze, "../../ghost/core/core/frontend/src/cards/css/button.css": Ge, "../../ghost/core/core/frontend/src/cards/css/callout.css": nt, "../../ghost/core/core/frontend/src/cards/css/collection.css": tt, "../../ghost/core/core/frontend/src/cards/css/cta.css": ot, "../../ghost/core/core/frontend/src/cards/css/file.css": it, "../../ghost/core/core/frontend/src/cards/css/gallery.css": ct, "../../ghost/core/core/frontend/src/cards/css/header.css": lt, "../../ghost/core/core/frontend/src/cards/css/header_v2.css": pt, "../../ghost/core/core/frontend/src/cards/css/nft.css": ht, "../../ghost/core/core/frontend/src/cards/css/product.css": kt, "../../ghost/core/core/frontend/src/cards/css/signup.css": bt, "../../ghost/core/core/frontend/src/cards/css/toggle.css": vt, "../../ghost/core/core/frontend/src/cards/css/video.css": wt }), zt = Object.values(jt).map((a) => a.default).join(`
|
|
4200
4200
|
|
|
4201
4201
|
`), St = Object.values(Ct).map((a) => a.default).join(`
|
|
4202
4202
|
|
|
@@ -4465,7 +4465,7 @@ a.kg-cta-button {
|
|
|
4465
4465
|
}
|
|
4466
4466
|
)
|
|
4467
4467
|
] }) });
|
|
4468
|
-
}, Nn = () => /* @__PURE__ */ n.jsx("div", { className: "h-px bg-black/[8%] dark:bg-gray-950" }),
|
|
4468
|
+
}, Nn = () => /* @__PURE__ */ n.jsx("div", { className: "h-px bg-black/[8%] dark:bg-gray-950" }), X = /* @__PURE__ */ new Map(), Et = ({
|
|
4469
4469
|
postId: a = null,
|
|
4470
4470
|
onClose: r
|
|
4471
4471
|
}) => {
|
|
@@ -4580,16 +4580,16 @@ a.kg-cta-button {
|
|
|
4580
4580
|
const M = K.contentDocument;
|
|
4581
4581
|
if (!M || !M.documentElement)
|
|
4582
4582
|
return;
|
|
4583
|
-
const V = k.scrollTop,
|
|
4583
|
+
const V = k.scrollTop, G = on.map((P) => M.getElementById(P.id)).filter((P) => P !== null).map((P) => ({
|
|
4584
4584
|
element: P,
|
|
4585
4585
|
id: P.id,
|
|
4586
4586
|
top: P.offsetTop
|
|
4587
4587
|
}));
|
|
4588
|
-
if (!
|
|
4588
|
+
if (!G.length)
|
|
4589
4589
|
return;
|
|
4590
4590
|
const D = 100;
|
|
4591
4591
|
let x = null;
|
|
4592
|
-
for (const P of
|
|
4592
|
+
for (const P of G)
|
|
4593
4593
|
if (P.top - D <= V)
|
|
4594
4594
|
x = P;
|
|
4595
4595
|
else
|
|
@@ -4606,11 +4606,11 @@ a.kg-cta-button {
|
|
|
4606
4606
|
return L(() => {
|
|
4607
4607
|
const e = s.current;
|
|
4608
4608
|
return () => {
|
|
4609
|
-
e && a &&
|
|
4609
|
+
e && a && X.set(a, e.scrollTop);
|
|
4610
4610
|
};
|
|
4611
4611
|
}, [a]), L(() => {
|
|
4612
4612
|
if (!J && !O && a && s.current) {
|
|
4613
|
-
const e =
|
|
4613
|
+
const e = X.get(a);
|
|
4614
4614
|
e !== void 0 && e > 0 && setTimeout(() => {
|
|
4615
4615
|
s.current && (s.current.scrollTop = e);
|
|
4616
4616
|
}, 100);
|
|
@@ -4761,7 +4761,7 @@ a.kg-cta-button {
|
|
|
4761
4761
|
O && /* @__PURE__ */ n.jsx(hn, { size: "lg" }),
|
|
4762
4762
|
/* @__PURE__ */ n.jsxs("div", { ref: Bn, className: "mx-auto w-full", style: { maxWidth: W }, children: [
|
|
4763
4763
|
nn.map((e, w) => {
|
|
4764
|
-
const k = w === nn.length - 1, C = e.mainReply.id, M = _.has(C), V = A.has(C),
|
|
4764
|
+
const k = w === nn.length - 1, C = e.mainReply.id, M = _.has(C), V = A.has(C), G = f.has(C), D = e.chain.length > 0;
|
|
4765
4765
|
return /* @__PURE__ */ n.jsxs(Q.Fragment, { children: [
|
|
4766
4766
|
/* @__PURE__ */ n.jsx(
|
|
4767
4767
|
cn,
|
|
@@ -4780,7 +4780,7 @@ a.kg-cta-button {
|
|
|
4780
4780
|
type: "Note",
|
|
4781
4781
|
onClick: () => {
|
|
4782
4782
|
const x = s.current;
|
|
4783
|
-
x && a &&
|
|
4783
|
+
x && a && X.set(a, x.scrollTop), rn(`/notes/${encodeURIComponent(e.mainReply.id)}`);
|
|
4784
4784
|
},
|
|
4785
4785
|
onDelete: gn
|
|
4786
4786
|
}
|
|
@@ -4802,14 +4802,14 @@ a.kg-cta-button {
|
|
|
4802
4802
|
type: "Note",
|
|
4803
4803
|
onClick: () => {
|
|
4804
4804
|
const x = s.current;
|
|
4805
|
-
x && a &&
|
|
4805
|
+
x && a && X.set(a, x.scrollTop), rn(`/notes/${encodeURIComponent(e.chain[0].id)}`);
|
|
4806
4806
|
},
|
|
4807
4807
|
onDelete: gn
|
|
4808
4808
|
},
|
|
4809
4809
|
e.chain[0].id
|
|
4810
4810
|
),
|
|
4811
4811
|
D && M && e.chain.slice(1).map((x, P) => {
|
|
4812
|
-
const dn = P === e.chain.slice(1).length - 1, Jn = an && an(w),
|
|
4812
|
+
const dn = P === e.chain.slice(1).length - 1, Jn = an && an(w), Gn = dn && Jn;
|
|
4813
4813
|
return /* @__PURE__ */ n.jsx(
|
|
4814
4814
|
cn,
|
|
4815
4815
|
{
|
|
@@ -4818,7 +4818,7 @@ a.kg-cta-button {
|
|
|
4818
4818
|
commentCount: x.object.replyCount ?? 0,
|
|
4819
4819
|
isChainContinuation: !0,
|
|
4820
4820
|
isPending: sn(x.id),
|
|
4821
|
-
last: dn && !
|
|
4821
|
+
last: dn && !Gn,
|
|
4822
4822
|
layout: "reply",
|
|
4823
4823
|
likeCount: x.object.likeCount ?? 0,
|
|
4824
4824
|
object: x.object,
|
|
@@ -4827,7 +4827,7 @@ a.kg-cta-button {
|
|
|
4827
4827
|
type: "Note",
|
|
4828
4828
|
onClick: () => {
|
|
4829
4829
|
const wn = s.current;
|
|
4830
|
-
wn && a &&
|
|
4830
|
+
wn && a && X.set(a, wn.scrollTop), rn(`/notes/${encodeURIComponent(x.id)}`);
|
|
4831
4831
|
},
|
|
4832
4832
|
onDelete: gn
|
|
4833
4833
|
},
|
|
@@ -4844,7 +4844,7 @@ a.kg-cta-button {
|
|
|
4844
4844
|
D && M && V && an && an(w) && /* @__PURE__ */ n.jsx(
|
|
4845
4845
|
Sn,
|
|
4846
4846
|
{
|
|
4847
|
-
loading:
|
|
4847
|
+
loading: G,
|
|
4848
4848
|
variant: "loadMore",
|
|
4849
4849
|
onClick: () => $n(C, w)
|
|
4850
4850
|
}
|
|
@@ -4991,4 +4991,4 @@ a.kg-cta-button {
|
|
|
4991
4991
|
export {
|
|
4992
4992
|
Tt as default
|
|
4993
4993
|
};
|
|
4994
|
-
//# sourceMappingURL=index-
|
|
4994
|
+
//# sourceMappingURL=index-C9pnotJK.mjs.map
|