"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapSystem = wrapSystem;
const _1 = require("../Class/$");
function wrapSystem(system, _system) {
    const system_ = new (class System extends _1.$ {
        constructor() {
            super(...arguments);
            this.__ = ['S', 'EE'];
        }
        intercept(opt, handler) {
            return system.intercept(opt, handler);
        }
        start(bundle) {
            return system.start(bundle);
        }
        addListener(event, listener) {
            return system.addListener(event, listener);
        }
    })(_system);
    return system_;
}
//# sourceMappingURL=System.js.map