const e=require("../../style/operationUnit.js");var t=t=>{let{componentCls:n,antCls:r,controlInteractiveSize:i,motionDurationSlow:a,lineWidth:o,paddingXS:s,lineType:c,tableBorderColor:l,tableExpandIconBg:u,tableExpandColumnWidth:d,borderRadius:f,fontSize:p,fontSizeSM:m,lineHeight:h,tablePaddingVertical:g,tablePaddingHorizontal:_,tableExpandedRowBg:v,paddingXXS:y}=t,b=i/2-o,x=b*2+o*3,S=`${o}px ${c} ${l}`,C=y-o;return{[`${n}-wrapper`]:{[`${n}-expand-icon-col`]:{width:d},[`${n}-row-expand-icon-cell`]:{textAlign:`center`,[`${n}-row-expand-icon`]:{display:`inline-flex`,float:`none`,verticalAlign:`sub`}},[`${n}-row-indent`]:{height:1,float:`left`},[`${n}-row-expand-icon`]:{...e.operationUnit(t),position:`relative`,float:`left`,boxSizing:`border-box`,width:x,height:x,padding:0,color:`inherit`,lineHeight:`${x}px`,background:u,border:S,borderRadius:f,transform:`scale(${i/x})`,transition:`all ${a}`,userSelect:`none`,"&:focus, &:hover, &:active":{borderColor:`currentcolor`},"&::before, &::after":{position:`absolute`,background:`currentcolor`,transition:`transform ${a} ease-out`,content:`""`},"&::before":{top:b,insetInlineEnd:C,insetInlineStart:C,height:o},"&::after":{top:C,bottom:C,insetInlineStart:b,width:o,transform:`rotate(90deg)`},"&-collapsed::before":{transform:`rotate(-180deg)`},"&-collapsed::after":{transform:`rotate(0deg)`},"&-spaced":{"&::before, &::after":{display:`none`,content:`none`},background:`transparent`,border:0,visibility:`hidden`}},[`${n}-row-indent + ${n}-row-expand-icon`]:{marginTop:(p*h-o*3)/2-Math.ceil((m*1.4-o*3)/2),marginInlineEnd:s},[`tr${n}-expanded-row`]:{"&, &:hover":{"> td":{background:v}},[`${r}-descriptions-view`]:{display:`flex`,table:{flex:`auto`,width:`auto`}}},[`${n}-expanded-row-fixed`]:{position:`relative`,margin:`-${g}px -${_}px`,padding:`${g}px ${_}px`}}}};exports.default=t;