text: export var QueryParams = (function () {
      function QueryParams() {
          this.data = {};
      }
      /**
       * @param {?} url
       * @return {?}
       */
      QueryParams.prototype.parseUrl = function (url) {
          if (url) {
              var /** @type {?} */ startIndex = url.indexOf('?');
              if (startIndex > -1) {
                  var /** @type {?} */ queries = url.slice(startIndex + 1).split('&');
                  for (var /** @type {?} */ i = 0; i < queries.length; i++) {
                      if (queries[i].indexOf('=') > 0) {
                          var /** @type {?} */ split = queries[i].split('=');
                          if (split.length > 1) {
                              this.data[split[0].toLowerCase()] = split[1].split('#')[0];
                          }
                      }
                  }
              }
          }
      };
      /**
       * @param {?} key
       * @return {?}
       */
      QueryParams.prototype.get = function (key) {
          return this.data[key.toLowerCase()];
      };
      return QueryParams;
  }());
  function QueryParams_tsickle_Closure_declarations() {
      /** @type {?} */
      QueryParams.prototype.data;
  }
  //# sourceMappingURL=query-params.js.map