"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.shouldAddDefaultWrappedWidth = void 0;
var _wrappedLayouts = require("../ui/MediaSingle/wrappedLayouts");
var shouldAddDefaultWrappedWidth = exports.shouldAddDefaultWrappedWidth = function shouldAddDefaultWrappedWidth(layout, width, lineLength) {
  return _wrappedLayouts.wrappedLayouts.indexOf(layout) > -1 && lineLength && width && width > 0.5 * lineLength;
};