export var getWithBlock = function (block, isIcon) {
    if (isIcon === void 0) { isIcon = false; }
    var iconWidth = isIcon ? 16 + 8 : 0;
    var paddingLeftRight = 32;
    return block.offsetWidth - iconWidth - paddingLeftRight;
};
