import { a as usePage, n as head_default, o as vue_exports, r as link_default, s as router } from "../ssr.js";
import { t as Editor_default } from "./Editor-buEABZ1h.js";
import { n as server_renderer_exports, t } from "./i18n-CXLOYfyq.js";
import { r as Slot_default } from "./AuthModal-BJdeGGae.js";
import { n as Avatar_default, t as AppLayout_default } from "./AppLayout-VvVFrkTb.js";
import { t as ReadingScrubber_default } from "./ReadingScrubber-CapzFbEm.js";
//#region resources/js/Pages/Profile/Show.vue?vue&type=script&setup=true&lang.ts
var Show_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue_exports.defineComponent)({
	__name: "Show",
	__ssrInlineRender: true,
	props: {
		profile: {},
		stats: {},
		recentTopics: {},
		wall: {}
	},
	setup(__props) {
		const props = __props;
		const page = usePage();
		const loggedIn = (0, vue_exports.computed)(() => !!page.props.auth?.user);
		const editor = (0, vue_exports.ref)(null);
		const posting = (0, vue_exports.ref)(false);
		function postToWall() {
			if (!editor.value || editor.value.isEmpty()) return;
			posting.value = true;
			router.post(`/u/${props.profile.id}/wall`, { body_html: editor.value.getHTML() }, {
				preserveScroll: true,
				onSuccess: () => editor.value?.clear(),
				onFinish: () => posting.value = false
			});
		}
		function removePost(id) {
			router.delete(`/profile-posts/${id}`, { preserveScroll: true });
		}
		function message() {
			router.post("/messages", { user_id: props.profile.id });
		}
		return (_ctx, _push, _parent, _attrs) => {
			_push(`<!--[-->`);
			_push((0, server_renderer_exports.ssrRenderComponent)((0, vue_exports.unref)(head_default), { title: __props.profile.name }, null, _parent));
			_push((0, server_renderer_exports.ssrRenderComponent)(AppLayout_default, null, {
				default: (0, vue_exports.withCtx)((_, _push, _parent, _scopeId) => {
					if (_push) {
						_push((0, server_renderer_exports.ssrRenderComponent)(ReadingScrubber_default, null, null, _parent, _scopeId));
						_push(`<div class="mx-auto max-w-[920px]"${_scopeId}><div class="overflow-hidden rounded-c border border-line bg-surface"${_scopeId}><div class="${(0, server_renderer_exports.ssrRenderClass)([__props.profile.cover ? "" : "q-grad", "h-44 w-full"])}"${_scopeId}>`);
						if (__props.profile.cover) _push(`<img${(0, server_renderer_exports.ssrRenderAttr)("src", __props.profile.cover)} alt="" class="h-44 w-full object-cover"${_scopeId}>`);
						else _push(`<!---->`);
						_push(`</div><div class="px-6 pb-5"${_scopeId}><div class="-mt-12 flex items-end justify-between"${_scopeId}><div class="w-fit ring-4 ring-surface" style="${(0, server_renderer_exports.ssrRenderStyle)({ borderRadius: "var(--c-avatar-radius, 9999px)" })}"${_scopeId}>`);
						_push((0, server_renderer_exports.ssrRenderComponent)(Avatar_default, {
							avatar: {
								initials: __props.profile.initials,
								color: __props.profile.color,
								avatar: __props.profile.avatar,
								staff: __props.profile.staff
							},
							size: 112,
							badge: ""
						}, null, _parent, _scopeId));
						_push(`</div>`);
						if (__props.profile.isSelf) _push((0, server_renderer_exports.ssrRenderComponent)((0, vue_exports.unref)(link_default), {
							href: "/profile",
							class: "rounded-lg border border-line bg-surface px-4 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2"
						}, {
							default: (0, vue_exports.withCtx)((_, _push, _parent, _scopeId) => {
								if (_push) _push(`${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)("Edit profile"))}`);
								else return [(0, vue_exports.createTextVNode)((0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("Edit profile")), 1)];
							}),
							_: 1
						}, _parent, _scopeId));
						else if (loggedIn.value) _push(`<button type="button" class="rounded-lg bg-primary px-4 py-2 text-sm font-semibold text-white hover:bg-primary-600"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)("Message"))}</button>`);
						else _push(`<!---->`);
						_push(`</div><div class="mt-3 flex items-center gap-2"${_scopeId}><h1 class="text-2xl font-extrabold tracking-tight"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)(__props.profile.name)}</h1>`);
						if (__props.profile.isAdmin) _push(`<span class="rounded-full bg-primary px-2.5 py-0.5 text-xs font-bold uppercase tracking-wide text-white shadow-sm"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)("Admin"))}</span>`);
						else if (__props.profile.trust) _push(`<span class="${(0, server_renderer_exports.ssrRenderClass)([__props.profile.trust.level >= 4 ? "bg-amber-400/20 text-amber-500" : __props.profile.trust.level >= 1 ? "bg-primary/15 text-primary" : "bg-ink/10 text-ink-muted", "rounded-full px-2 py-0.5 text-xs font-bold"])}"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)(__props.profile.trust.level >= 4 ? "★ " : "")}${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)(__props.profile.trust.label))}</span>`);
						else _push(`<!---->`);
						_push(`</div>`);
						if (__props.profile.bio) _push(`<p class="mt-1 text-ink-2"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)(__props.profile.bio)}</p>`);
						else _push(`<!---->`);
						_push(`<div class="mt-3 flex flex-wrap gap-4 text-sm text-ink-muted"${_scopeId}><span${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)("Joined {joined}", { joined: __props.profile.joined }))}</span><span${_scopeId}><strong class="text-ink"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)(__props.stats.topics)}</strong> ${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)("topics"))}</span><span${_scopeId}><strong class="text-ink"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)(__props.stats.posts)}</strong> ${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)("posts"))}</span></div>`);
						if (__props.profile.fediHandle) _push(`<a${(0, server_renderer_exports.ssrRenderAttr)("href", __props.profile.fediUrl || void 0)} target="_blank" rel="noopener me" class="mt-2 inline-flex items-center gap-1.5 text-sm font-medium text-primary hover:underline"${(0, server_renderer_exports.ssrRenderAttr)("title", (0, vue_exports.unref)(t)("Follow on the fediverse"))}${_scopeId}><span${_scopeId}>🌐</span><span${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)(__props.profile.fediHandle)}</span></a>`);
						else _push(`<!---->`);
						_push(`</div></div>`);
						_push((0, server_renderer_exports.ssrRenderComponent)(Slot_default, {
							name: "profile:below",
							ctx: { userId: __props.profile.id }
						}, null, _parent, _scopeId));
						_push(`<div class="mt-6 grid gap-6 md:grid-cols-[1fr_280px]"${_scopeId}><div${_scopeId}><h2 class="mb-3 text-sm font-bold uppercase tracking-wide text-ink-muted"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)("Profile wall"))}</h2>`);
						if (loggedIn.value) {
							_push(`<div class="mb-4 rounded-c border border-line bg-surface p-3"${_scopeId}>`);
							_push((0, server_renderer_exports.ssrRenderComponent)(Editor_default, {
								ref_key: "editor",
								ref: editor,
								placeholder: (0, vue_exports.unref)(t)("Write something…")
							}, null, _parent, _scopeId));
							_push(`<div class="mt-2 flex justify-end"${_scopeId}><button type="button"${(0, server_renderer_exports.ssrIncludeBooleanAttr)(posting.value) ? " disabled" : ""} class="rounded-lg bg-primary px-4 py-2 text-sm font-semibold text-white hover:bg-primary-600 disabled:opacity-60"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)(posting.value ? (0, vue_exports.unref)(t)("Posting…") : (0, vue_exports.unref)(t)("Post"))}</button></div></div>`);
						} else _push(`<!---->`);
						_push(`<div class="space-y-3"${_scopeId}><!--[-->`);
						(0, server_renderer_exports.ssrRenderList)(__props.wall, (p) => {
							_push(`<div class="rounded-c border border-line bg-surface p-4"${_scopeId}><div class="flex items-center gap-2"${_scopeId}>`);
							_push((0, server_renderer_exports.ssrRenderComponent)((0, vue_exports.unref)(link_default), { href: p.author.url }, {
								default: (0, vue_exports.withCtx)((_, _push, _parent, _scopeId) => {
									if (_push) _push((0, server_renderer_exports.ssrRenderComponent)(Avatar_default, {
										avatar: p.author,
										size: 36
									}, null, _parent, _scopeId));
									else return [(0, vue_exports.createVNode)(Avatar_default, {
										avatar: p.author,
										size: 36
									}, null, 8, ["avatar"])];
								}),
								_: 2
							}, _parent, _scopeId));
							_push(`<div class="min-w-0 flex-1"${_scopeId}>`);
							_push((0, server_renderer_exports.ssrRenderComponent)((0, vue_exports.unref)(link_default), {
								href: p.author.url,
								class: "text-sm font-bold hover:underline"
							}, {
								default: (0, vue_exports.withCtx)((_, _push, _parent, _scopeId) => {
									if (_push) _push(`${(0, server_renderer_exports.ssrInterpolate)(p.author.name)}`);
									else return [(0, vue_exports.createTextVNode)((0, vue_exports.toDisplayString)(p.author.name), 1)];
								}),
								_: 2
							}, _parent, _scopeId));
							_push(`<div class="text-xs text-ink-muted"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)(p.createdAt)}</div></div>`);
							if (p.canDelete) _push(`<button type="button" class="text-ink-muted hover:text-red-500"${(0, server_renderer_exports.ssrRenderAttr)("aria-label", (0, vue_exports.unref)(t)("Delete"))}${_scopeId}><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"${_scopeId}><path d="M3 6h18M8 6V4h8v2M19 6l-1 14H6L5 6"${_scopeId}></path></svg></button>`);
							else _push(`<!---->`);
							_push(`</div><div class="prose-convoro mt-2 text-ink-2"${_scopeId}>${p.html ?? ""}</div></div>`);
						});
						_push(`<!--]-->`);
						if (!__props.wall.length) _push(`<p class="rounded-c border border-dashed border-line p-6 text-center text-sm text-ink-muted"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)("No wall posts yet."))}</p>`);
						else _push(`<!---->`);
						_push(`</div></div><aside${_scopeId}><h2 class="mb-3 text-sm font-bold uppercase tracking-wide text-ink-muted"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)("Recent topics"))}</h2><div class="rounded-c border border-line bg-surface"${_scopeId}><!--[-->`);
						(0, server_renderer_exports.ssrRenderList)(__props.recentTopics, (t, i) => {
							_push((0, server_renderer_exports.ssrRenderComponent)((0, vue_exports.unref)(link_default), {
								key: i,
								href: t.url,
								class: "block border-b border-line/60 px-4 py-3 last:border-0 hover:bg-surface-2"
							}, {
								default: (0, vue_exports.withCtx)((_, _push, _parent, _scopeId) => {
									if (_push) _push(`<div class="text-sm font-semibold text-ink line-clamp-1"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)(t.title)}</div><div class="text-xs text-ink-muted"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)(t.when)}</div>`);
									else return [(0, vue_exports.createVNode)("div", { class: "text-sm font-semibold text-ink line-clamp-1" }, (0, vue_exports.toDisplayString)(t.title), 1), (0, vue_exports.createVNode)("div", { class: "text-xs text-ink-muted" }, (0, vue_exports.toDisplayString)(t.when), 1)];
								}),
								_: 2
							}, _parent, _scopeId));
						});
						_push(`<!--]-->`);
						if (!__props.recentTopics.length) _push(`<p class="px-4 py-6 text-center text-sm text-ink-muted"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)("No topics yet."))}</p>`);
						else _push(`<!---->`);
						_push(`</div></aside></div></div>`);
					} else return [(0, vue_exports.createVNode)(ReadingScrubber_default), (0, vue_exports.createVNode)("div", { class: "mx-auto max-w-[920px]" }, [
						(0, vue_exports.createVNode)("div", { class: "overflow-hidden rounded-c border border-line bg-surface" }, [(0, vue_exports.createVNode)("div", { class: ["h-44 w-full", __props.profile.cover ? "" : "q-grad"] }, [__props.profile.cover ? ((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("img", {
							key: 0,
							src: __props.profile.cover,
							alt: "",
							class: "h-44 w-full object-cover"
						}, null, 8, ["src"])) : (0, vue_exports.createCommentVNode)("", true)], 2), (0, vue_exports.createVNode)("div", { class: "px-6 pb-5" }, [
							(0, vue_exports.createVNode)("div", { class: "-mt-12 flex items-end justify-between" }, [(0, vue_exports.createVNode)("div", {
								class: "w-fit ring-4 ring-surface",
								style: { borderRadius: "var(--c-avatar-radius, 9999px)" }
							}, [(0, vue_exports.createVNode)(Avatar_default, {
								avatar: {
									initials: __props.profile.initials,
									color: __props.profile.color,
									avatar: __props.profile.avatar,
									staff: __props.profile.staff
								},
								size: 112,
								badge: ""
							}, null, 8, ["avatar"])]), __props.profile.isSelf ? ((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)((0, vue_exports.unref)(link_default), {
								key: 0,
								href: "/profile",
								class: "rounded-lg border border-line bg-surface px-4 py-2 text-sm font-semibold text-ink-2 hover:bg-surface-2"
							}, {
								default: (0, vue_exports.withCtx)(() => [(0, vue_exports.createTextVNode)((0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("Edit profile")), 1)]),
								_: 1
							})) : loggedIn.value ? ((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("button", {
								key: 1,
								type: "button",
								class: "rounded-lg bg-primary px-4 py-2 text-sm font-semibold text-white hover:bg-primary-600",
								onClick: message
							}, (0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("Message")), 1)) : (0, vue_exports.createCommentVNode)("", true)]),
							(0, vue_exports.createVNode)("div", { class: "mt-3 flex items-center gap-2" }, [(0, vue_exports.createVNode)("h1", { class: "text-2xl font-extrabold tracking-tight" }, (0, vue_exports.toDisplayString)(__props.profile.name), 1), __props.profile.isAdmin ? ((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("span", {
								key: 0,
								class: "rounded-full bg-primary px-2.5 py-0.5 text-xs font-bold uppercase tracking-wide text-white shadow-sm"
							}, (0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("Admin")), 1)) : __props.profile.trust ? ((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("span", {
								key: 1,
								class: ["rounded-full px-2 py-0.5 text-xs font-bold", __props.profile.trust.level >= 4 ? "bg-amber-400/20 text-amber-500" : __props.profile.trust.level >= 1 ? "bg-primary/15 text-primary" : "bg-ink/10 text-ink-muted"]
							}, (0, vue_exports.toDisplayString)(__props.profile.trust.level >= 4 ? "★ " : "") + (0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)(__props.profile.trust.label)), 3)) : (0, vue_exports.createCommentVNode)("", true)]),
							__props.profile.bio ? ((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("p", {
								key: 0,
								class: "mt-1 text-ink-2"
							}, (0, vue_exports.toDisplayString)(__props.profile.bio), 1)) : (0, vue_exports.createCommentVNode)("", true),
							(0, vue_exports.createVNode)("div", { class: "mt-3 flex flex-wrap gap-4 text-sm text-ink-muted" }, [
								(0, vue_exports.createVNode)("span", null, (0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("Joined {joined}", { joined: __props.profile.joined })), 1),
								(0, vue_exports.createVNode)("span", null, [(0, vue_exports.createVNode)("strong", { class: "text-ink" }, (0, vue_exports.toDisplayString)(__props.stats.topics), 1), (0, vue_exports.createTextVNode)(" " + (0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("topics")), 1)]),
								(0, vue_exports.createVNode)("span", null, [(0, vue_exports.createVNode)("strong", { class: "text-ink" }, (0, vue_exports.toDisplayString)(__props.stats.posts), 1), (0, vue_exports.createTextVNode)(" " + (0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("posts")), 1)])
							]),
							__props.profile.fediHandle ? ((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("a", {
								key: 1,
								href: __props.profile.fediUrl || void 0,
								target: "_blank",
								rel: "noopener me",
								class: "mt-2 inline-flex items-center gap-1.5 text-sm font-medium text-primary hover:underline",
								title: (0, vue_exports.unref)(t)("Follow on the fediverse")
							}, [(0, vue_exports.createVNode)("span", null, "🌐"), (0, vue_exports.createVNode)("span", null, (0, vue_exports.toDisplayString)(__props.profile.fediHandle), 1)], 8, ["href", "title"])) : (0, vue_exports.createCommentVNode)("", true)
						])]),
						(0, vue_exports.createVNode)(Slot_default, {
							name: "profile:below",
							ctx: { userId: __props.profile.id }
						}, null, 8, ["ctx"]),
						(0, vue_exports.createVNode)("div", { class: "mt-6 grid gap-6 md:grid-cols-[1fr_280px]" }, [(0, vue_exports.createVNode)("div", null, [
							(0, vue_exports.createVNode)("h2", { class: "mb-3 text-sm font-bold uppercase tracking-wide text-ink-muted" }, (0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("Profile wall")), 1),
							loggedIn.value ? ((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("div", {
								key: 0,
								class: "mb-4 rounded-c border border-line bg-surface p-3"
							}, [(0, vue_exports.createVNode)(Editor_default, {
								ref_key: "editor",
								ref: editor,
								placeholder: (0, vue_exports.unref)(t)("Write something…")
							}, null, 8, ["placeholder"]), (0, vue_exports.createVNode)("div", { class: "mt-2 flex justify-end" }, [(0, vue_exports.createVNode)("button", {
								type: "button",
								disabled: posting.value,
								class: "rounded-lg bg-primary px-4 py-2 text-sm font-semibold text-white hover:bg-primary-600 disabled:opacity-60",
								onClick: postToWall
							}, (0, vue_exports.toDisplayString)(posting.value ? (0, vue_exports.unref)(t)("Posting…") : (0, vue_exports.unref)(t)("Post")), 9, ["disabled"])])])) : (0, vue_exports.createCommentVNode)("", true),
							(0, vue_exports.createVNode)("div", { class: "space-y-3" }, [((0, vue_exports.openBlock)(true), (0, vue_exports.createBlock)(vue_exports.Fragment, null, (0, vue_exports.renderList)(__props.wall, (p) => {
								return (0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("div", {
									key: p.id,
									class: "rounded-c border border-line bg-surface p-4"
								}, [(0, vue_exports.createVNode)("div", { class: "flex items-center gap-2" }, [
									(0, vue_exports.createVNode)((0, vue_exports.unref)(link_default), { href: p.author.url }, {
										default: (0, vue_exports.withCtx)(() => [(0, vue_exports.createVNode)(Avatar_default, {
											avatar: p.author,
											size: 36
										}, null, 8, ["avatar"])]),
										_: 2
									}, 1032, ["href"]),
									(0, vue_exports.createVNode)("div", { class: "min-w-0 flex-1" }, [(0, vue_exports.createVNode)((0, vue_exports.unref)(link_default), {
										href: p.author.url,
										class: "text-sm font-bold hover:underline"
									}, {
										default: (0, vue_exports.withCtx)(() => [(0, vue_exports.createTextVNode)((0, vue_exports.toDisplayString)(p.author.name), 1)]),
										_: 2
									}, 1032, ["href"]), (0, vue_exports.createVNode)("div", { class: "text-xs text-ink-muted" }, (0, vue_exports.toDisplayString)(p.createdAt), 1)]),
									p.canDelete ? ((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("button", {
										key: 0,
										type: "button",
										class: "text-ink-muted hover:text-red-500",
										"aria-label": (0, vue_exports.unref)(t)("Delete"),
										onClick: ($event) => removePost(p.id)
									}, [((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("svg", {
										width: "16",
										height: "16",
										viewBox: "0 0 24 24",
										fill: "none",
										stroke: "currentColor",
										"stroke-width": "2",
										"stroke-linecap": "round"
									}, [(0, vue_exports.createVNode)("path", { d: "M3 6h18M8 6V4h8v2M19 6l-1 14H6L5 6" })]))], 8, ["aria-label", "onClick"])) : (0, vue_exports.createCommentVNode)("", true)
								]), (0, vue_exports.createVNode)("div", {
									class: "prose-convoro mt-2 text-ink-2",
									innerHTML: p.html
								}, null, 8, ["innerHTML"])]);
							}), 128)), !__props.wall.length ? ((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("p", {
								key: 0,
								class: "rounded-c border border-dashed border-line p-6 text-center text-sm text-ink-muted"
							}, (0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("No wall posts yet.")), 1)) : (0, vue_exports.createCommentVNode)("", true)])
						]), (0, vue_exports.createVNode)("aside", null, [(0, vue_exports.createVNode)("h2", { class: "mb-3 text-sm font-bold uppercase tracking-wide text-ink-muted" }, (0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("Recent topics")), 1), (0, vue_exports.createVNode)("div", { class: "rounded-c border border-line bg-surface" }, [((0, vue_exports.openBlock)(true), (0, vue_exports.createBlock)(vue_exports.Fragment, null, (0, vue_exports.renderList)(__props.recentTopics, (t, i) => {
							return (0, vue_exports.openBlock)(), (0, vue_exports.createBlock)((0, vue_exports.unref)(link_default), {
								key: i,
								href: t.url,
								class: "block border-b border-line/60 px-4 py-3 last:border-0 hover:bg-surface-2"
							}, {
								default: (0, vue_exports.withCtx)(() => [(0, vue_exports.createVNode)("div", { class: "text-sm font-semibold text-ink line-clamp-1" }, (0, vue_exports.toDisplayString)(t.title), 1), (0, vue_exports.createVNode)("div", { class: "text-xs text-ink-muted" }, (0, vue_exports.toDisplayString)(t.when), 1)]),
								_: 2
							}, 1032, ["href"]);
						}), 128)), !__props.recentTopics.length ? ((0, vue_exports.openBlock)(), (0, vue_exports.createBlock)("p", {
							key: 0,
							class: "px-4 py-6 text-center text-sm text-ink-muted"
						}, (0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("No topics yet.")), 1)) : (0, vue_exports.createCommentVNode)("", true)])])])
					])];
				}),
				_: 1
			}, _parent));
			_push(`<!--]-->`);
		};
	}
});
//#endregion
//#region resources/js/Pages/Profile/Show.vue
var _sfc_setup = Show_vue_vue_type_script_setup_true_lang_default.setup;
Show_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
	const ssrContext = (0, vue_exports.useSSRContext)();
	(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Pages/Profile/Show.vue");
	return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
var Show_default = Show_vue_vue_type_script_setup_true_lang_default;
//#endregion
export { Show_default as default };
