"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "getRatioBasedOnPlacement", {
    enumerable: true,
    get: function() {
        return getRatioBasedOnPlacement;
    }
});
const getRatioBasedOnPlacement = (placement)=>{
    switch(placement){
        case 'center':
            {
                return [
                    2,
                    2
                ];
            }
        case 'top':
        case 'bottom':
            {
                return [
                    2,
                    1
                ];
            }
        case 'left':
        case 'right':
            {
                return [
                    1,
                    2
                ];
            }
        case 'top-left':
        case 'top-right':
        case 'bottom-left':
        case 'bottom-right':
            {
                return [
                    1,
                    1
                ];
            }
        default:
            {
                return [
                    2,
                    2
                ];
            }
    }
};
