/* * Extracted from browser-delivered Turbopack chunk: 5d5b47876e53e564.da1ba52a93.js * Module id: 653993 * For reading/searching only; this factory depends on the original Turbopack runtime. */ const moduleFactory = (e) => { "use strict"; var t = e.i(358379), r = e.i(669873), n = e.i(762213), o = e.i(808155), a = e.i(95649), i = e.i(158921), l = e.i(264458); e.i(556781); var s = e.i(789126), c = e.i(556957), u = e.i(995650); e.i(6177); var d = e.i(707464), f = e.i(142068), m = e.i(817856), p = e.i(117394), h = e.i(570860); let g = (0, p.genStyleHooks)( "Message", (e) => ((e) => { let { componentCls: t, iconCls: r, boxShadow: n, colorText: o, colorSuccess: a, colorError: i, colorWarning: l, colorInfo: s, fontSizeLG: c, motionEaseInOutCirc: u, motionDurationSlow: f, marginXS: p, paddingXS: h, borderRadiusLG: g, zIndexPopup: b, contentPadding: v, contentBg: _, } = e, y = `${t}-notice`, x = new d.Keyframes("MessageMoveIn", { "0%": { padding: 0, transform: "translateY(-100%)", opacity: 0 }, "100%": { padding: h, transform: "translateY(0)", opacity: 1 }, }), C = new d.Keyframes("MessageMoveOut", { "0%": { maxHeight: e.height, padding: h, opacity: 1 }, "100%": { maxHeight: 0, padding: 0, opacity: 0 }, }), E = { padding: h, textAlign: "center", [`${t}-custom-content`]: { display: "flex", alignItems: "center", }, [`${t}-custom-content > ${r}`]: { marginInlineEnd: p, fontSize: c, }, [`${y}-content`]: { display: "inline-block", padding: v, background: _, borderRadius: g, boxShadow: n, pointerEvents: "all", }, [`${t}-success > ${r}`]: { color: a }, [`${t}-error > ${r}`]: { color: i }, [`${t}-warning > ${r}`]: { color: l }, [`${t}-info > ${r}, ${t}-loading > ${r}`]: { color: s }, }; return [ { [t]: Object.assign(Object.assign({}, (0, m.resetComponent)(e)), { color: o, position: "fixed", top: p, width: "100%", pointerEvents: "none", zIndex: b, [`${t}-move-up`]: { animationFillMode: "forwards" }, [` ${t}-move-up-appear, ${t}-move-up-enter `]: { animationName: x, animationDuration: f, animationPlayState: "paused", animationTimingFunction: u, }, [` ${t}-move-up-appear${t}-move-up-appear-active, ${t}-move-up-enter${t}-move-up-enter-active `]: { animationPlayState: "running" }, [`${t}-move-up-leave`]: { animationName: C, animationDuration: f, animationPlayState: "paused", animationTimingFunction: u, }, [`${t}-move-up-leave${t}-move-up-leave-active`]: { animationPlayState: "running", }, "&-rtl": { direction: "rtl", span: { direction: "rtl" } }, }), }, { [t]: { [`${y}-wrapper`]: Object.assign({}, E) } }, { [`${t}-notice-pure-panel`]: Object.assign(Object.assign({}, E), { padding: 0, textAlign: "start", }), }, ]; })((0, h.mergeToken)(e, { height: 150 })), (e) => ({ zIndexPopup: e.zIndexPopupBase + f.CONTAINER_MAX_OFFSET + 10, contentBg: e.colorBgElevated, contentPadding: `${(e.controlHeightLG - e.fontSize * e.lineHeight) / 2}px ${e.paddingSM}px`, }), ); e.s(["default", 0, g], 653993); var b = function (e, t) { var r = {}; for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && 0 > t.indexOf(n) && (r[n] = e[n]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++) 0 > t.indexOf(n[o]) && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]); return r; }; let v = { info: t.createElement(a.default, null), success: t.createElement(r.default, null), error: t.createElement(n.default, null), warning: t.createElement(o.default, null), loading: t.createElement(i.default, null), }, _ = ({ prefixCls: e, type: r, icon: n, children: o }) => t.createElement( "div", { className: (0, l.default)(`${e}-custom-content`, `${e}-${r}`) }, n || v[r], t.createElement("span", null, o), ); e.s( [ "PureContent", 0, _, "default", 0, (e) => { let { prefixCls: r, className: n, type: o, icon: a, content: i } = e, d = b(e, ["prefixCls", "className", "type", "icon", "content"]), { getPrefixCls: f } = t.useContext(c.ConfigContext), m = r || f("message"), p = (0, u.default)(m), [h, v, y] = g(m, p); return h( t.createElement( s.Notice, Object.assign({}, d, { prefixCls: m, className: (0, l.default)(n, v, `${m}-notice-pure-panel`, y, p), eventKey: "pure", duration: null, content: t.createElement( _, { prefixCls: m, type: o, icon: a }, i, ), }), ), ); }, ], 643861, ); }; export default moduleFactory;