text: "use strict";
  
  sap.ui.define("babel/test/test/fixtures/exports-multi-name/actual", ["babel/test/test/fixtures/exports-multi-name/Router"], function (MobileRouter) {
    var _default = {};
    var Route = sap.ui.base.Object.extend("babel.test.test.fixtures.exports-multi-name.actual", {
      constructor: function constructor(name, path, control) {
        this.name = name;
        this.path = path;
        this.control = control;
      }
    });
    var RouterBuilder = sap.ui.base.Object.extend("babel.test.test.fixtures.exports-multi-name.actual", {
      construct: function construct(component, routes, mountId) {
        this.component = component;
        this.routes = routes;
        this.mountId = mountId;
  
        this._doCheck();
      },
      _doCheck: function _doCheck() {},
      _buildRoutes: function _buildRoutes() {
        this.routes.map(function (v) {
          return {
            pattern: v.path,
            name: v.name,
            target: v.target
          };
        });
      },
      _buildTargets: function _buildTargets() {
        return this.routes.reduce(function (pre, cur) {
          pre[cur.name] = cur;
          return pre;
        }, {});
      },
      build: function build() {
        return new MobileRouter(this._buildRoutes(), {
          viewType: "JS",
          controlId: this.mountId,
          controlAggregation: "pages"
        }, this.component, this._buildTargets());
      }
    });
  
    RouterBuilder.newBuilder = function (component, routes, mountId) {
      return new RouterBuilder(component, routes, mountId);
    };
  
    _default = Object.assign({
      RouterBuilder: RouterBuilder,
      Route: Route
    }, _default);
    return _default;
  })