// Объект стилей для handler'а, в котором находится иконка ресайза.
"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "getHandleStyles", {
    enumerable: true,
    get: function() {
        return getHandleStyles;
    }
});
function _define_property(obj, key, value) {
    if (key in obj) {
        Object.defineProperty(obj, key, {
            value: value,
            enumerable: true,
            configurable: true,
            writable: true
        });
    } else {
        obj[key] = value;
    }
    return obj;
}
function _object_spread(target) {
    for(var i = 1; i < arguments.length; i++){
        var source = arguments[i] != null ? arguments[i] : {};
        var ownKeys = Object.keys(source);
        if (typeof Object.getOwnPropertySymbols === "function") {
            ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
                return Object.getOwnPropertyDescriptor(source, sym).enumerable;
            }));
        }
        ownKeys.forEach(function(key) {
            _define_property(target, key, source[key]);
        });
    }
    return target;
}
var base = {
    width: 'auto',
    height: 'auto',
    lineHeight: '0'
};
var getHandleStyles = function getHandleStyles() {
    return {
        topRight: _object_spread({
            top: '0',
            right: '0',
            transform: 'translate(50%, -50%)'
        }, base),
        bottomRight: _object_spread({
            right: '0',
            bottom: '0',
            transform: 'translate(50%, 50%)'
        }, base),
        bottomLeft: _object_spread({
            bottom: '0',
            left: '0',
            transform: 'translate(-50%, 50%)'
        }, base),
        topLeft: _object_spread({
            top: '0',
            left: '0',
            transform: 'translate(-50%, -50%)'
        }, base)
    };
};
