Liferay.Loader.define("data-engine-taglib$react-router-dom@5.3.4/modules/utils/locationUtils", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import { createLocation } from "history";

    export const resolveToLocation = (to, currentLocation) => typeof to === "function" ? to(currentLocation) : to;

    export const normalizeToLocation = (to, currentLocation) => {
      return typeof to === "string" ? createLocation(to, null, null, currentLocation) : to;
    };
  }
});
//# sourceMappingURL=locationUtils.js.map