"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("@ant-design/icons-vue/CheckCircleFilled"),i=require("@ant-design/icons-vue/CloseCircleFilled"),q=require("@ant-design/icons-vue/CloseOutlined"),s=require("@ant-design/icons-vue/ExclamationCircleFilled"),u=require("@ant-design/icons-vue/InfoCircleFilled"),V=require("@ant-design/icons-vue/LoadingOutlined"),$=require("../_util/classNames.js"),g=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 v(r,n){return n||e.createVNode("span",{class:`${r}-close-x`},[e.createVNode(q,{class:`${r}-close-icon`},null)])}e.createVNode(u,null,null),e.createVNode(t,null,null),e.createVNode(i,null,null),e.createVNode(s,null,null),e.createVNode(V,null,null);const I={success:t,info:u,error:i,warning:s};function m({prefixCls:r,icon:n,type:c,message:a,description:d,btn:o}){let l=null;if(n)l=e.createVNode("span",{class:`${r}-icon`},[g.renderHelper(n)]);else if(c){const N=I[c];l=e.createVNode(N,{class:`${r}-icon ${r}-icon-${c}`},null)}return e.createVNode("div",{class:$.default({[`${r}-with-icon`]:l}),role:"alert"},[l,e.createVNode("div",{class:`${r}-message`},[a]),e.createVNode("div",{class:`${r}-description`},[d]),o&&e.createVNode("div",{class:`${r}-btn`},[o])])}exports.PureContent=m;exports.getCloseIcon=v;
