function advanceActivatedRoute(route) {
      if (route.snapshot) {
          if (!shallowEqual(route.snapshot.queryParams, route._futureSnapshot.queryParams)) {
              ((route.queryParams)).next(route._futureSnapshot.queryParams);
          }
          if (route.snapshot.fragment !== route._futureSnapshot.fragment) {
              ((route.fragment)).next(route._futureSnapshot.fragment);
          }
          if (!shallowEqual(route.snapshot.params, route._futureSnapshot.params)) {
              ((route.params)).next(route._futureSnapshot.params);
          }
          if (!shallowEqualArrays(route.snapshot.url, route._futureSnapshot.url)) {
              ((route.url)).next(route._futureSnapshot.url);
          }
          if (!equalParamsAndUrlSegments(route.snapshot, route._futureSnapshot)) {
              ((route.data)).next(route._futureSnapshot.data);
          }
          route.snapshot = route._futureSnapshot;
      }
      else {
          route.snapshot = route._futureSnapshot;
          // this is for resolved data
          ((route.data)).next(route._futureSnapshot.data);
      }
  }
/**
   *  The expectation is that the activate route is created with the right set of parameters.
    * So we push new values into the observables only when they are not the initial values.
    * And we detect that by checking if the snapshot field is set.
   * @param {?} route
   * @return {?}
   */
The expectation is that the activate route is created with the right set of parameters.
So we push new values into the observables only when they are not the initial values.
And we detect that by checking if the snapshot field is set.
@param {?} route
@return {?}
The expectation is that the activate route is created with the right set of parameters . So we push new values into the observables only when they are not the initial values . And we detect that by checking if the snapshot field is set . @param { ? } route @return { ? }
function advanceActivatedRoute(route) {
      if (route.snapshot) {
          if (!shallowEqual(route.snapshot.queryParams, route._futureSnapshot.queryParams)) {
              ((route.queryParams)).next(route._futureSnapshot.queryParams);
          }
          if (route.snapshot.fragment !== route._futureSnapshot.fragment) {
              ((route.fragment)).next(route._futureSnapshot.fragment);
          }
          if (!shallowEqual(route.snapshot.params, route._futureSnapshot.params)) {
              ((route.params)).next(route._futureSnapshot.params);
          }
          if (!shallowEqualArrays(route.snapshot.url, route._futureSnapshot.url)) {
              ((route.url)).next(route._futureSnapshot.url);
          }
          if (!equalParamsAndUrlSegments(route.snapshot, route._futureSnapshot)) {
              ((route.data)).next(route._futureSnapshot.data);
          }
          route.snapshot = route._futureSnapshot;
      }
      else {
          route.snapshot = route._futureSnapshot;
          ((route.data)).next(route._futureSnapshot.data);
      }
  }
function advanceActivatedRoute ( route ) { if ( route . snapshot ) { if ( ! shallowEqual ( route . snapshot . queryParams , route . _futureSnapshot . queryParams ) ) { ( ( route . queryParams ) ) . next ( route . _futureSnapshot . queryParams ) ; } if ( route . snapshot . fragment !== route . _futureSnapshot . fragment ) { ( ( route . fragment ) ) . next ( route . _futureSnapshot . fragment ) ; } if ( ! shallowEqual ( route . snapshot . params , route . _futureSnapshot . params ) ) { ( ( route . params ) ) . next ( route . _futureSnapshot . params ) ; } if ( ! shallowEqualArrays ( route . snapshot . url , route . _futureSnapshot . url ) ) { ( ( route . url ) ) . next ( route . _futureSnapshot . url ) ; } if ( ! equalParamsAndUrlSegments ( route . snapshot , route . _futureSnapshot ) ) { ( ( route . data ) ) . next ( route . _futureSnapshot . data ) ; } route . snapshot = route . _futureSnapshot ; } else { route . snapshot = route . _futureSnapshot ; ( ( route . data ) ) . next ( route . _futureSnapshot . data ) ; } }
The expectation is that the activate route is created with the right set of parameters.
The expectation is that the activate route is created with the right set of parameters .
// this is for resolved data