"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("@antsoo-lib/icons"),u=require("../_util/classNames.js"),d=require("../_util/util.js");require("../config-provider/context.js");require("../empty/index.js");require("../_util/cssinjs/StyleContext.js");require("../_util/cssinjs/transformers/legacyLogicalProperties.js");require("../theme/internal.js");function N(l,n){return n||e.createVNode("span",{class:`${l}-close-x`},[e.createVNode(c.CloseOutlined,{class:`${l}-close-icon`},null)])}e.createVNode(c.InfoCircleFilled,null,null),e.createVNode(c.CheckCircleFilled,null,null),e.createVNode(c.CloseCircleFilled,null,null),e.createVNode(c.ExclamationCircleFilled,null,null),e.createVNode(c.LoadingOutlined,null,null);const V={success:c.CheckCircleFilled,info:c.InfoCircleFilled,error:c.CloseCircleFilled,warning:c.ExclamationCircleFilled};function C({prefixCls:l,icon:n,type:r,message:t,description:s,btn:i}){let o=null;if(n)o=e.createVNode("span",{class:`${l}-icon`},[d.renderHelper(n)]);else if(r){const a=V[r];o=e.createVNode(a,{class:`${l}-icon ${l}-icon-${r}`},null)}return e.createVNode("div",{class:u.default({[`${l}-with-icon`]:o}),role:"alert"},[o,e.createVNode("div",{class:`${l}-message`},[t]),e.createVNode("div",{class:`${l}-description`},[s]),i&&e.createVNode("div",{class:`${l}-btn`},[i])])}exports.PureContent=C;exports.getCloseIcon=N;
