src/util/mosaicUtilities.ts