<script>
const SPACE = '\u0020';
const spaces = {
lodash: '_',
zero: '〇',
space: '\u0020',
no_break_space: '\u00a0',
en_quad: '\u2000',
em_quad: '\u2001',
en_space: '\u2002',
em_space: '\u2003',
three_per_em_space: '\u2004',
four_per_em_space: '\u2005',
six_per_em_space: '\u2006',
figure_space: '\u2007',
punctuation_space: '\u2008',
thin_space: '\u2009',
hair_space: ' \u200a',
narrow_no_break_space: '\u202f',
ideographic_space: '\u3000'
};
let halfSpaceKey = 'no_break_space';
let fullSpaceKey = 'ideographic_space';
$: HALF_SPACE = spaces[halfSpaceKey];
$: FULL_SPACE = spaces[fullSpaceKey];
import EAW from 'eastasianwidth';
function isFullWidthChar(char) {
return EAW.characterLength(char) == 2;
}
// let fullText = (EMPTY_CELL).repeat(20) //