import { n as head_default, o as vue_exports } from "../ssr.js";
import { n as server_renderer_exports, t } from "./i18n-CXLOYfyq.js";
import { r as Slot_default } from "./AuthModal-BJdeGGae.js";
import { t as AppLayout_default } from "./AppLayout-DbhjYK6s.js";
import { t as AccessTokensForm_default } from "./AccessTokensForm-Cj5vy7Ph.js";
import { t as DeleteUserForm_default } from "./DeleteUserForm-da7HiZtw.js";
import { t as DigestPreferenceForm_default } from "./DigestPreferenceForm-CLSMkFxr.js";
import { t as NotificationPreferencesForm_default } from "./NotificationPreferencesForm-D5d3YZ_V.js";
import { t as ProfileDetailsForm_default } from "./ProfileDetailsForm-CVpUSBUN.js";
import { t as PushToggle_default } from "./PushToggle-D7dlU1yj.js";
import { t as UpdatePasswordForm_default } from "./UpdatePasswordForm-AdO5WYjZ.js";
import { t as UpdateProfileInformationForm_default } from "./UpdateProfileInformationForm-mh6q_W7G.js";
//#region resources/js/Pages/Profile/Edit.vue?vue&type=script&setup=true&lang.ts
var card = "rounded-c border border-line bg-surface p-6 sm:p-8";
var Edit_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue_exports.defineComponent)({
	__name: "Edit",
	__ssrInlineRender: true,
	props: {
		mustVerifyEmail: { type: Boolean },
		status: {}
	},
	setup(__props) {
		return (_ctx, _push, _parent, _attrs) => {
			_push(`<!--[-->`);
			_push((0, server_renderer_exports.ssrRenderComponent)((0, vue_exports.unref)(head_default), { title: (0, vue_exports.unref)(t)("Settings") }, null, _parent));
			_push((0, server_renderer_exports.ssrRenderComponent)(AppLayout_default, null, {
				default: (0, vue_exports.withCtx)((_, _push, _parent, _scopeId) => {
					if (_push) {
						_push(`<div class="mx-auto max-w-2xl"${_scopeId}><h1 class="mb-6 text-2xl font-extrabold tracking-tight text-ink"${_scopeId}>${(0, server_renderer_exports.ssrInterpolate)((0, vue_exports.unref)(t)("Settings"))}</h1><div class="space-y-5"${_scopeId}><div class="${(0, server_renderer_exports.ssrRenderClass)(card)}"${_scopeId}>`);
						_push((0, server_renderer_exports.ssrRenderComponent)(ProfileDetailsForm_default, null, null, _parent, _scopeId));
						_push(`</div><div class="${(0, server_renderer_exports.ssrRenderClass)(card)}"${_scopeId}>`);
						_push((0, server_renderer_exports.ssrRenderComponent)(UpdateProfileInformationForm_default, {
							"must-verify-email": __props.mustVerifyEmail,
							status: __props.status
						}, null, _parent, _scopeId));
						_push(`</div><div class="${(0, server_renderer_exports.ssrRenderClass)(card)}"${_scopeId}>`);
						_push((0, server_renderer_exports.ssrRenderComponent)(NotificationPreferencesForm_default, null, null, _parent, _scopeId));
						_push(`</div><div class="${(0, server_renderer_exports.ssrRenderClass)(card)}"${_scopeId}>`);
						_push((0, server_renderer_exports.ssrRenderComponent)(DigestPreferenceForm_default, null, null, _parent, _scopeId));
						_push(`</div><div class="${(0, server_renderer_exports.ssrRenderClass)(card)}"${_scopeId}>`);
						_push((0, server_renderer_exports.ssrRenderComponent)(PushToggle_default, null, null, _parent, _scopeId));
						_push(`</div><div class="${(0, server_renderer_exports.ssrRenderClass)(card)}"${_scopeId}>`);
						_push((0, server_renderer_exports.ssrRenderComponent)(UpdatePasswordForm_default, null, null, _parent, _scopeId));
						_push(`</div>`);
						_push((0, server_renderer_exports.ssrRenderComponent)(Slot_default, { name: "settings:account" }, null, _parent, _scopeId));
						_push(`<div class="${(0, server_renderer_exports.ssrRenderClass)(card)}"${_scopeId}>`);
						_push((0, server_renderer_exports.ssrRenderComponent)(AccessTokensForm_default, null, null, _parent, _scopeId));
						_push(`</div><div class="${(0, server_renderer_exports.ssrRenderClass)(card)}"${_scopeId}>`);
						_push((0, server_renderer_exports.ssrRenderComponent)(DeleteUserForm_default, null, null, _parent, _scopeId));
						_push(`</div></div></div>`);
					} else return [(0, vue_exports.createVNode)("div", { class: "mx-auto max-w-2xl" }, [(0, vue_exports.createVNode)("h1", { class: "mb-6 text-2xl font-extrabold tracking-tight text-ink" }, (0, vue_exports.toDisplayString)((0, vue_exports.unref)(t)("Settings")), 1), (0, vue_exports.createVNode)("div", { class: "space-y-5" }, [
						(0, vue_exports.createVNode)("div", { class: card }, [(0, vue_exports.createVNode)(ProfileDetailsForm_default)]),
						(0, vue_exports.createVNode)("div", { class: card }, [(0, vue_exports.createVNode)(UpdateProfileInformationForm_default, {
							"must-verify-email": __props.mustVerifyEmail,
							status: __props.status
						}, null, 8, ["must-verify-email", "status"])]),
						(0, vue_exports.createVNode)("div", { class: card }, [(0, vue_exports.createVNode)(NotificationPreferencesForm_default)]),
						(0, vue_exports.createVNode)("div", { class: card }, [(0, vue_exports.createVNode)(DigestPreferenceForm_default)]),
						(0, vue_exports.createVNode)("div", { class: card }, [(0, vue_exports.createVNode)(PushToggle_default)]),
						(0, vue_exports.createVNode)("div", { class: card }, [(0, vue_exports.createVNode)(UpdatePasswordForm_default)]),
						(0, vue_exports.createVNode)(Slot_default, { name: "settings:account" }),
						(0, vue_exports.createVNode)("div", { class: card }, [(0, vue_exports.createVNode)(AccessTokensForm_default)]),
						(0, vue_exports.createVNode)("div", { class: card }, [(0, vue_exports.createVNode)(DeleteUserForm_default)])
					])])];
				}),
				_: 1
			}, _parent));
			_push(`<!--]-->`);
		};
	}
});
//#endregion
//#region resources/js/Pages/Profile/Edit.vue
var _sfc_setup = Edit_vue_vue_type_script_setup_true_lang_default.setup;
Edit_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/Edit.vue");
	return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
var Edit_default = Edit_vue_vue_type_script_setup_true_lang_default;
//#endregion
export { Edit_default as default };
