dist/helper-js.es.js
function URLHelper(baseUrl) {
    var _this3 = this;

    _classCallCheck(this, URLHelper);

    _defineProperty(this, "baseUrl", '');

    _defineProperty(this, "search", {});

    var t = decodeURI(baseUrl).split('?');
    this.baseUrl = t[0];

    if (t[1]) {
      t[1].split('&').forEach(function (v) {
        var t2 = v.split('=');
        _this3.search[t2[0]] = t2[1] == null ? '' : decodeURIComponent(t2[1]);
      });
    }
  }
function URLHelper(baseUrl) {
    var _this3 = this;

    _classCallCheck(this, URLHelper);

    _defineProperty(this, "baseUrl", '');

    _defineProperty(this, "search", {});

    var t = decodeURI(baseUrl).split('?');
    this.baseUrl = t[0];

    if (t[1]) {
      t[1].split('&').forEach(function (v) {
        var t2 = v.split('=');
        _this3.search[t2[0]] = t2[1] == null ? '' : decodeURIComponent(t2[1]);
      });
    }
  }
function URLHelper ( baseUrl ) { var _this3 = this ; _classCallCheck ( this , URLHelper ) ; _defineProperty ( this , "baseUrl" , '' ) ; _defineProperty ( this , "search" , { } ) ; var t = decodeURI ( baseUrl ) . split ( '?' ) ; this . baseUrl = t [ 0 ] ; if ( t [ 1 ] ) { t [ 1 ] . split ( '&' ) . forEach ( function ( v ) { var t2 = v . split ( '=' ) ; _this3 . search [ t2 [ 0 ] ] = t2 [ 1 ] == null ? '' : decodeURIComponent ( t2 [ 1 ] ) ; } ) ; } }
protocol, hostname, port, pastname
protocol hostname port pastname