Liferay.Loader.define("portal-workflow-metrics-web@2.0.46/js/shared/components/router/queryString.es", ['module', 'exports', 'require', 'portal-workflow-metrics-web$qs'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.stringify = exports.parse = void 0;

    var _qs = _interopRequireDefault(require("portal-workflow-metrics-web$qs"));

    function _interopRequireDefault(obj) {
      return obj && obj.__esModule ? obj : { default: obj };
    }

    /**
     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
     *
     * The contents of this file are subject to the terms of the Liferay Enterprise
     * Subscription License ("License"). You may not use this file except in
     * compliance with the License. You can obtain a copy of the License by
     * contacting Liferay, Inc. See the License for the specific language governing
     * permissions and limitations under the License, including but not limited to
     * distribution rights of the Software.
     */
    var options = {
      allowDots: true,
      arrayFormat: 'bracket'
    };

    var parse = function parse() {
      var query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
      return query.length ? _qs.default.parse(query.substr(1), options) : {};
    };

    exports.parse = parse;

    var stringify = function stringify(query) {
      return query ? "?".concat(_qs.default.stringify(query, options)) : '';
    };

    exports.stringify = stringify;
    //# sourceMappingURL=queryString.es.js.map
  }
});
//# sourceMappingURL=queryString.es.js.map