const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
let _pisell_materials = require("@pisell/materials");
//#region src/pro/Login2.0/steps/EmailLinkExpired.tsx
/**
* 邮件链接已过期页面 - 对应图2
*/
function EmailLinkExpired({ onBackToRegistration, onGoToLogin }) {
	return /* @__PURE__ */ react.default.createElement("div", { className: "register-step-container email-link-expired-page" }, /* @__PURE__ */ react.default.createElement("div", { className: "register-step-content" }, /* @__PURE__ */ react.default.createElement("h2", { className: "email-link-result-title" }, _pisell_utils.locales.getText("pisell-register2-link-expired-title")), /* @__PURE__ */ react.default.createElement("p", { className: "email-link-result-desc" }, _pisell_utils.locales.getText("pisell-register2-link-expired-desc")), /* @__PURE__ */ react.default.createElement(_pisell_materials.Button, {
		type: "primary",
		size: "large",
		block: true,
		onClick: onBackToRegistration,
		className: "register-submit-btn"
	}, _pisell_utils.locales.getText("pisell-register2-back-to-registration")), /* @__PURE__ */ react.default.createElement("div", { className: "register-footer-prompt" }, /* @__PURE__ */ react.default.createElement("span", { className: "prompt-text" }, _pisell_utils.locales.getText("pisell-register2-have-account"), " "), /* @__PURE__ */ react.default.createElement("button", {
		className: "prompt-link",
		onClick: onGoToLogin
	}, _pisell_utils.locales.getText("pisell-register2-login-link")))));
}
//#endregion
exports.default = EmailLinkExpired;
