import{__exports as e}from"../../../../_virtual/drawContent.mjs";var o;function n(){if(o)return e;o=1,Object.defineProperty(e,"__esModule",{value:!0}),e.drawContent=void 0;return e.drawContent=e=>{const{contents:o,separatorGetter:n,drawSeparator:t,spanningCellManager:r,rowIndex:l,elementType:a}=e,i=o.length,s=[];return t(0,i)&&s.push(n(0,i)),o.forEach((e,o)=>{if(a&&"border"!==a&&"row"!==a||s.push(e),"cell"===a&&void 0===l&&s.push(e),"cell"===a&&void 0!==l){const n=null==r?void 0:r.getContainingRange({col:o,row:l});n&&o!==n.topLeft.col||s.push(e)}if(o+1<i&&t(o+1,i)){const e=n(o+1,i);if("cell"===a&&void 0!==l){const n={col:o+1,row:l},t=null==r?void 0:r.getContainingRange(n);t&&t.topLeft.col!==n.col||s.push(e)}else s.push(e)}}),t(i,i)&&s.push(n(i,i)),s.join("")},e}export{n as __require};