"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=e=>{const{componentCls:o,marginXXS:r,fontSizeIcon:t,tableHeaderIconColor:n,tableHeaderIconColorHover:l}=e;return{[`${o}-wrapper`]:{[`${o}-thead th${o}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[`
          &${o}-cell-fix-left:hover,
          &${o}-cell-fix-right:hover
        `]:{background:e.tableFixedHeaderSortActiveBg}},[`${o}-thead th${o}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${o}-column-sort`]:{background:e.tableBodySortBg},[`${o}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${o}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${o}-column-sorter`]:{marginInlineStart:r,color:n,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:t,"&.active":{color:e.colorPrimary}},[`${o}-column-sorter-up + ${o}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${o}-column-sorters:hover ${o}-column-sorter`]:{color:l}}}};exports.default=a;
