Liferay.Loader.define('sharing-web$dom-helpers@5.2.0/esm/width', ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import getWindow from './isWindow';
    import offset from './offset';
    export default function getWidth(node, client) {
      var win = getWindow(node);
      return win ? win.innerWidth : client ? node.clientWidth : offset(node).width;
    }
  }
});
//# sourceMappingURL=width.js.map