import"../../theme/internal.mjs";import g from"../../theme/util/genComponentStyleHook.mjs";const m=t=>{const{componentCls:n,iconCls:r,zIndexPopup:l,colorText:i,colorWarning:a,marginXS:e,fontSize:o,fontWeightStrong:p,lineHeight:s}=t;return{[n]:{zIndex:l,[`${n}-inner-content`]:{color:i},[`${n}-message`]:{position:"relative",marginBottom:e,color:i,fontSize:o,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${n}-message-icon ${r}`]:{color:a,fontSize:o,flex:"none",lineHeight:1,paddingTop:(Math.round(o*s)-o)/2},"&-title":{flex:"auto",marginInlineStart:e},"&-title-only":{fontWeight:p}},[`${n}-description`]:{position:"relative",marginInlineStart:o+e,marginBottom:e,color:i,fontSize:o},[`${n}-buttons`]:{textAlign:"end",button:{marginInlineStart:e}}}}},f=g("Popconfirm",t=>m(t),t=>{const{zIndexPopupBase:n}=t;return{zIndexPopup:n+60}});export{f as default};
