"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get BgCodeBlockParameterSizes () {
        return BgCodeBlockParameterSizes;
    },
    get BgCodeBlockTypeName () {
        return BgCodeBlockTypeName;
    },
    get BgCodeBlockTypes () {
        return BgCodeBlockTypes;
    },
    get BgCodeChecksumTypeSize () {
        return BgCodeChecksumTypeSize;
    },
    get BgCodeChecksumTypes () {
        return BgCodeChecksumTypes;
    },
    get BgCodeCompression () {
        return BgCodeCompression;
    },
    get BgCodeCompressionInfo () {
        return BgCodeCompressionInfo;
    },
    get BgCodeCompressionName () {
        return BgCodeCompressionName;
    },
    get BgCodeThumbnailFormatExtension () {
        return BgCodeThumbnailFormatExtension;
    },
    get BgCodeThumbnailFormatName () {
        return BgCodeThumbnailFormatName;
    },
    get BgCodeThumbnailFormats () {
        return BgCodeThumbnailFormats;
    },
    get GcodeEncodingTypes () {
        return GcodeEncodingTypes;
    }
});
const BgCodeBlockTypes = {
    FileMetadata: 0,
    PrinterMetadata: 3,
    Thumbnail: 5,
    PrintMetadata: 4,
    SlicerMetadata: 2,
    GCode: 1
};
const BgCodeBlockTypeName = {
    [BgCodeBlockTypes.FileMetadata]: "FileMetadata",
    [BgCodeBlockTypes.GCode]: "GCode",
    [BgCodeBlockTypes.SlicerMetadata]: "SlicerMetadata",
    [BgCodeBlockTypes.PrinterMetadata]: "PrinterMetadata",
    [BgCodeBlockTypes.PrintMetadata]: "PrintMetadata",
    [BgCodeBlockTypes.Thumbnail]: "Thumbnail"
};
const BgCodeBlockParameterSizes = {
    [BgCodeBlockTypes.FileMetadata]: 2,
    [BgCodeBlockTypes.GCode]: 2,
    [BgCodeBlockTypes.SlicerMetadata]: 2,
    [BgCodeBlockTypes.PrinterMetadata]: 2,
    [BgCodeBlockTypes.PrintMetadata]: 2,
    [BgCodeBlockTypes.Thumbnail]: 6
};
const BgCodeCompression = {
    None: 0,
    Deflate: 1,
    Heatshrink_11_4: 2,
    Heatshrink_12_4: 3
};
const BgCodeCompressionInfo = {
    0: {
        kind: "none"
    },
    1: {
        kind: "deflate"
    },
    2: {
        kind: "heatshrink",
        window: 11,
        lookahead: 4
    },
    3: {
        kind: "heatshrink",
        window: 12,
        lookahead: 4
    }
};
const BgCodeCompressionName = {
    0: "None",
    1: "Deflate",
    2: "Heatshrink(11,4)",
    3: "Heatshrink(12,4)"
};
const BgCodeChecksumTypes = {
    None: 0,
    Crc32: 1
};
const BgCodeChecksumTypeSize = {
    [BgCodeChecksumTypes.None]: 0,
    [BgCodeChecksumTypes.Crc32]: 4
};
const BgCodeThumbnailFormats = {
    PNG: 0,
    JPG: 1,
    QOI: 2
};
const BgCodeThumbnailFormatName = {
    [BgCodeThumbnailFormats.PNG]: "PNG",
    [BgCodeThumbnailFormats.JPG]: "JPG",
    [BgCodeThumbnailFormats.QOI]: "QOI"
};
const BgCodeThumbnailFormatExtension = {
    [BgCodeThumbnailFormats.PNG]: "png",
    [BgCodeThumbnailFormats.JPG]: "jpg",
    [BgCodeThumbnailFormats.QOI]: "qoi"
};
const GcodeEncodingTypes = {
    None: 0,
    MeatPack: 1,
    MeatPackKeepingComments: 2
};

//# sourceMappingURL=bgcode.types.js.map