(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[66],{

/***/ "./node_modules/arduino-ide-extension/lib/browser/menu/arduino-menus.js":
/*!******************************************************************************!*\
  !*** ./node_modules/arduino-ide-extension/lib/browser/menu/arduino-menus.js ***!
  \******************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __read = (this && this.__read) || function (o, n) {
    var m = typeof Symbol === "function" && o[Symbol.iterator];
    if (!m) return o;
    var i = m.call(o), r, ar = [], e;
    try {
        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
    }
    catch (error) { e = { error: error }; }
    finally {
        try {
            if (r && !r.done && (m = i["return"])) m.call(i);
        }
        finally { if (e) throw e.error; }
    }
    return ar;
};
var __spread = (this && this.__spread) || function () {
    for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
    return ar;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.unregisterSubmenu = exports.ArduinoMenus = void 0;
var os_1 = __webpack_require__(/*! @theia/core/lib/common/os */ "./node_modules/@theia/core/lib/common/os.js");
var common_frontend_contribution_1 = __webpack_require__(/*! @theia/core/lib/browser/common-frontend-contribution */ "./node_modules/@theia/core/lib/browser/common-frontend-contribution.js");
var menu_1 = __webpack_require__(/*! @theia/core/lib/common/menu */ "./node_modules/@theia/core/lib/common/menu.js");
var ArduinoMenus;
(function (ArduinoMenus) {
    // Main menu
    // -- File
    ArduinoMenus.FILE__SKETCH_GROUP = __spread(common_frontend_contribution_1.CommonMenus.FILE, ['0_sketch']);
    ArduinoMenus.FILE__PRINT_GROUP = __spread(common_frontend_contribution_1.CommonMenus.FILE, ['1_print']);
    // XXX: on macOS, the settings group is not under `File`
    ArduinoMenus.FILE__SETTINGS_GROUP = __spread((os_1.isOSX ? menu_1.MAIN_MENU_BAR : common_frontend_contribution_1.CommonMenus.FILE), ['2_settings']);
    ArduinoMenus.FILE__QUIT_GROUP = __spread(common_frontend_contribution_1.CommonMenus.FILE, ['3_quit']);
    // -- File / Open Recent
    ArduinoMenus.FILE__OPEN_RECENT_SUBMENU = __spread(ArduinoMenus.FILE__SKETCH_GROUP, ['0_open_recent']);
    // -- File / Sketchbook
    ArduinoMenus.FILE__SKETCHBOOK_SUBMENU = __spread(ArduinoMenus.FILE__SKETCH_GROUP, ['1_sketchbook']);
    // -- File / Examples
    ArduinoMenus.FILE__EXAMPLES_SUBMENU = __spread(ArduinoMenus.FILE__SKETCH_GROUP, ['2_examples']);
    ArduinoMenus.EXAMPLES__BUILT_IN_GROUP = __spread(ArduinoMenus.FILE__EXAMPLES_SUBMENU, ['0_built_ins']);
    ArduinoMenus.EXAMPLES__ANY_BOARD_GROUP = __spread(ArduinoMenus.FILE__EXAMPLES_SUBMENU, ['1_any_board']);
    ArduinoMenus.EXAMPLES__CURRENT_BOARD_GROUP = __spread(ArduinoMenus.FILE__EXAMPLES_SUBMENU, ['2_current_board']);
    ArduinoMenus.EXAMPLES__USER_LIBS_GROUP = __spread(ArduinoMenus.FILE__EXAMPLES_SUBMENU, ['3_user_libs']);
    // -- Edit
    // `Copy`, `Copy to Forum`, `Paste`, etc.
    // Note: `1_undo` is the first group from Theia, we start with `2`
    ArduinoMenus.EDIT__TEXT_CONTROL_GROUP = __spread(common_frontend_contribution_1.CommonMenus.EDIT, ['2_text_control']);
    // `Comment/Uncomment`, etc.
    ArduinoMenus.EDIT__CODE_CONTROL_GROUP = __spread(common_frontend_contribution_1.CommonMenus.EDIT, ['3_code_control']);
    ArduinoMenus.EDIT__FONT_CONTROL_GROUP = __spread(common_frontend_contribution_1.CommonMenus.EDIT, ['4_font_control']);
    ArduinoMenus.EDIT__FIND_GROUP = __spread(common_frontend_contribution_1.CommonMenus.EDIT, ['5_find']);
    // -- Sketch
    ArduinoMenus.SKETCH = __spread(menu_1.MAIN_MENU_BAR, ['3_sketch']);
    ArduinoMenus.SKETCH__MAIN_GROUP = __spread(ArduinoMenus.SKETCH, ['0_main']);
    ArduinoMenus.SKETCH__UTILS_GROUP = __spread(ArduinoMenus.SKETCH, ['1_utils']);
    // -- Tools
    ArduinoMenus.TOOLS = __spread(menu_1.MAIN_MENU_BAR, ['4_tools']);
    // `Auto Format`, `Library Manager...`, `Boards Manager...`
    ArduinoMenus.TOOLS__MAIN_GROUP = __spread(ArduinoMenus.TOOLS, ['0_main']);
    // `Board`, `Port`, and `Get Board Info`.
    ArduinoMenus.TOOLS__BOARD_SELECTION_GROUP = __spread(ArduinoMenus.TOOLS, ['2_board_selection']);
    // Core settings, such as `Processor` and `Programmers` for the board and `Burn Bootloader`
    ArduinoMenus.TOOLS__BOARD_SETTINGS_GROUP = __spread(ArduinoMenus.TOOLS, ['3_board_settings']);
    // -- Help
    // `Getting Started`, `Environment`, `Troubleshooting`, etc.
    ArduinoMenus.HELP__MAIN_GROUP = __spread(common_frontend_contribution_1.CommonMenus.HELP, ['0_main']);
    // `Find in reference`, `FAQ`, etc.
    ArduinoMenus.HELP__FIND_GROUP = __spread(common_frontend_contribution_1.CommonMenus.HELP, ['1_find']);
    // `Advanced Mode`.
    // XXX: this will be removed.
    ArduinoMenus.HELP__CONTROL_GROUP = __spread(common_frontend_contribution_1.CommonMenus.HELP, ['2_control']);
    // `About` group
    // XXX: on macOS, the about group is not under `Help`
    ArduinoMenus.HELP__ABOUT_GROUP = __spread((os_1.isOSX ? menu_1.MAIN_MENU_BAR : common_frontend_contribution_1.CommonMenus.HELP), ['999_about']);
    // ------------
    // Context menus
    // -- Open
    ArduinoMenus.OPEN_SKETCH__CONTEXT = ['arduino-open-sketch--context'];
    ArduinoMenus.OPEN_SKETCH__CONTEXT__OPEN_GROUP = __spread(ArduinoMenus.OPEN_SKETCH__CONTEXT, ['0_open']);
    ArduinoMenus.OPEN_SKETCH__CONTEXT__RECENT_GROUP = __spread(ArduinoMenus.OPEN_SKETCH__CONTEXT, ['1_recent']);
    ArduinoMenus.OPEN_SKETCH__CONTEXT__EXAMPLES_GROUP = __spread(ArduinoMenus.OPEN_SKETCH__CONTEXT, ['2_examples']);
    // -- Sketch control
    ArduinoMenus.SKETCH_CONTROL__CONTEXT = ['arduino-sketch-control--context'];
    // `New Tab`, `Rename`, `Delete`
    ArduinoMenus.SKETCH_CONTROL__CONTEXT__MAIN_GROUP = __spread(ArduinoMenus.SKETCH_CONTROL__CONTEXT, ['0_main']);
    // `Previous Tab`, `Next Tab`
    ArduinoMenus.SKETCH_CONTROL__CONTEXT__NAVIGATION_GROUP = __spread(ArduinoMenus.SKETCH_CONTROL__CONTEXT, ['1_navigation']);
    // Sketch files opened in editors
    ArduinoMenus.SKETCH_CONTROL__CONTEXT__RESOURCES_GROUP = __spread(ArduinoMenus.SKETCH_CONTROL__CONTEXT, ['2_resources']);
})(ArduinoMenus = exports.ArduinoMenus || (exports.ArduinoMenus = {}));
/**
 * This is a hack. It removes a submenu with all its children if any.
 * Theia cannot dispose submenu entries with a proper API: https://github.com/eclipse-theia/theia/issues/7299
 */
function unregisterSubmenu(menuPath, menuRegistry) {
    if (menuPath.length < 2) {
        throw new Error("Expected at least two item as a menu-path. Got " + JSON.stringify(menuPath) + " instead.");
    }
    var toRemove = menuPath[menuPath.length - 1];
    var parentMenuPath = menuPath.slice(0, menuPath.length - 1);
    // This is unsafe. Calling `getMenu` with a non-existing menu-path will result in a new menu creation.
    // https://github.com/eclipse-theia/theia/issues/7300
    var parent = menuRegistry.getMenu(parentMenuPath);
    var index = parent.children.findIndex(function (_a) {
        var id = _a.id;
        return id === toRemove;
    });
    if (index === -1) {
        throw new Error("Could not find menu with menu-path: " + JSON.stringify(menuPath) + ".");
    }
    parent.children.splice(index, 1);
}
exports.unregisterSubmenu = unregisterSubmenu;


/***/ }),

/***/ "./node_modules/arduino-ide-extension/lib/common/main-menu-manager.js":
/*!****************************************************************************!*\
  !*** ./node_modules/arduino-ide-extension/lib/common/main-menu-manager.js ***!
  \****************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.MainMenuManager = void 0;
exports.MainMenuManager = Symbol('MainMenuManager');


/***/ }),

/***/ "./node_modules/arduino-ide-extension/lib/electron-browser/electron-window-service.js":
/*!********************************************************************************************!*\
  !*** ./node_modules/arduino-ide-extension/lib/electron-browser/electron-window-service.js ***!
  \********************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ElectronWindowService = void 0;
var inversify_1 = __webpack_require__(/*! inversify */ "./node_modules/inversify/lib/inversify.js");
var electron_1 = __webpack_require__(/*! electron */ "electron");
var frontend_application_state_1 = __webpack_require__(/*! @theia/core/lib/browser/frontend-application-state */ "./node_modules/@theia/core/lib/browser/frontend-application-state.js");
var connection_status_service_1 = __webpack_require__(/*! @theia/core/lib/browser/connection-status-service */ "./node_modules/@theia/core/lib/browser/connection-status-service.js");
var electron_window_service_1 = __webpack_require__(/*! @theia/core/lib/electron-browser/window/electron-window-service */ "./node_modules/@theia/core/lib/electron-browser/window/electron-window-service.js");
var splash_service_1 = __webpack_require__(/*! ../electron-common/splash-service */ "./node_modules/arduino-ide-extension/lib/electron-common/splash-service.js");
var ElectronWindowService = /** @class */ (function (_super) {
    __extends(ElectronWindowService, _super);
    function ElectronWindowService() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElectronWindowService.prototype.init = function () {
        var _this = this;
        this.appStateService.reachedAnyState('initialized_layout').then(function () { return _this.splashService.requestClose(); });
    };
    ElectronWindowService.prototype.shouldUnload = function () {
        var offline = this.connectionStatusService.currentStatus === connection_status_service_1.ConnectionStatus.OFFLINE;
        var detail = offline
            ? 'Could not save the sketch. Please copy your unsaved work into your favorite text editor, and restart the IDE.'
            : 'Any unsaved changes will not be saved.';
        var electronWindow = electron_1.remote.getCurrentWindow();
        var response = electron_1.remote.dialog.showMessageBoxSync(electronWindow, {
            type: 'question',
            buttons: ['Yes', 'No'],
            title: 'Confirm',
            message: 'Are you sure you want to close the sketch?',
            detail: detail
        });
        return response === 0; // 'Yes', close the window.
    };
    __decorate([
        inversify_1.inject(connection_status_service_1.ConnectionStatusService),
        __metadata("design:type", Object)
    ], ElectronWindowService.prototype, "connectionStatusService", void 0);
    __decorate([
        inversify_1.inject(splash_service_1.SplashService),
        __metadata("design:type", Object)
    ], ElectronWindowService.prototype, "splashService", void 0);
    __decorate([
        inversify_1.inject(frontend_application_state_1.FrontendApplicationStateService),
        __metadata("design:type", frontend_application_state_1.FrontendApplicationStateService)
    ], ElectronWindowService.prototype, "appStateService", void 0);
    __decorate([
        inversify_1.postConstruct(),
        __metadata("design:type", Function),
        __metadata("design:paramtypes", []),
        __metadata("design:returntype", void 0)
    ], ElectronWindowService.prototype, "init", null);
    ElectronWindowService = __decorate([
        inversify_1.injectable()
    ], ElectronWindowService);
    return ElectronWindowService;
}(electron_window_service_1.ElectronWindowService));
exports.ElectronWindowService = ElectronWindowService;


/***/ }),

/***/ "./node_modules/arduino-ide-extension/lib/electron-browser/theia/core/electron-main-menu-factory.js":
/*!**********************************************************************************************************!*\
  !*** ./node_modules/arduino-ide-extension/lib/electron-browser/theia/core/electron-main-menu-factory.js ***!
  \**********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __read = (this && this.__read) || function (o, n) {
    var m = typeof Symbol === "function" && o[Symbol.iterator];
    if (!m) return o;
    var i = m.call(o), r, ar = [], e;
    try {
        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
    }
    catch (error) { e = { error: error }; }
    finally {
        try {
            if (r && !r.done && (m = i["return"])) m.call(i);
        }
        finally { if (e) throw e.error; }
    }
    return ar;
};
var __spread = (this && this.__spread) || function () {
    for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
    return ar;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ElectronMainMenuFactory = void 0;
var inversify_1 = __webpack_require__(/*! inversify */ "./node_modules/inversify/lib/inversify.js");
var electron_1 = __webpack_require__(/*! electron */ "electron");
var electron_main_menu_factory_1 = __webpack_require__(/*! @theia/core/lib/electron-browser/menu/electron-main-menu-factory */ "./node_modules/@theia/core/lib/electron-browser/menu/electron-main-menu-factory.js");
var arduino_menus_1 = __webpack_require__(/*! ../../../browser/menu/arduino-menus */ "./node_modules/arduino-ide-extension/lib/browser/menu/arduino-menus.js");
var ElectronMainMenuFactory = /** @class */ (function (_super) {
    __extends(ElectronMainMenuFactory, _super);
    function ElectronMainMenuFactory() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElectronMainMenuFactory.prototype.createMenuBar = function () {
        this._toggledCommands.clear(); // https://github.com/eclipse-theia/theia/issues/8977
        return _super.prototype.createMenuBar.call(this);
    };
    ElectronMainMenuFactory.prototype.acceleratorFor = function (keybinding) {
        var _this = this;
        // TODO: https://github.com/eclipse-theia/theia/issues/8207
        return this.keybindingRegistry.resolveKeybinding(keybinding)
            .map(function (binding) { return _this.keybindingRegistry.acceleratorForKeyCode(binding, '+'); })
            .join('')
            .replace('←', 'Left')
            .replace('→', 'Right');
    };
    ElectronMainMenuFactory.prototype.createOSXMenu = function () {
        var submenu = _super.prototype.createOSXMenu.call(this).submenu;
        var label = 'Arduino Pro IDE';
        if (!!submenu && !(submenu instanceof electron_1.remote.Menu)) {
            var _a = __read(submenu), rest = _a.slice(2);
            var about = this.fillMenuTemplate([], this.menuProvider.getMenu(arduino_menus_1.ArduinoMenus.HELP__ABOUT_GROUP));
            var settings = this.fillMenuTemplate([], this.menuProvider.getMenu(arduino_menus_1.ArduinoMenus.FILE__SETTINGS_GROUP));
            return {
                label: label,
                submenu: __spread(about, [
                    { type: 'separator' }
                ], settings, [
                    { type: 'separator' }
                ], rest)
            };
        }
        return { label: label, submenu: submenu };
    };
    ElectronMainMenuFactory = __decorate([
        inversify_1.injectable()
    ], ElectronMainMenuFactory);
    return ElectronMainMenuFactory;
}(electron_main_menu_factory_1.ElectronMainMenuFactory));
exports.ElectronMainMenuFactory = ElectronMainMenuFactory;


/***/ }),

/***/ "./node_modules/arduino-ide-extension/lib/electron-browser/theia/core/electron-menu-contribution.js":
/*!**********************************************************************************************************!*\
  !*** ./node_modules/arduino-ide-extension/lib/electron-browser/theia/core/electron-menu-contribution.js ***!
  \**********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ElectronMenuContribution = void 0;
var inversify_1 = __webpack_require__(/*! inversify */ "./node_modules/inversify/lib/inversify.js");
var electron_menu_contribution_1 = __webpack_require__(/*! @theia/core/lib/electron-browser/menu/electron-menu-contribution */ "./node_modules/@theia/core/lib/electron-browser/menu/electron-menu-contribution.js");
var ElectronMenuContribution = /** @class */ (function (_super) {
    __extends(ElectronMenuContribution, _super);
    function ElectronMenuContribution() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ElectronMenuContribution.prototype.hideTopPanel = function () {
        // NOOP
        // We reuse the `div` for the Arduino toolbar.
    };
    ElectronMenuContribution.prototype.update = function () {
        this.setMenu();
    };
    ElectronMenuContribution.prototype.registerCommands = function (registry) {
        _super.prototype.registerCommands.call(this, registry);
        registry.unregisterCommand(electron_menu_contribution_1.ElectronCommands.CLOSE_WINDOW);
    };
    ElectronMenuContribution.prototype.registerMenus = function (registry) {
        _super.prototype.registerMenus.call(this, registry);
        registry.unregisterMenuAction(electron_menu_contribution_1.ElectronCommands.CLOSE_WINDOW);
    };
    ElectronMenuContribution.prototype.registerKeybindings = function (registry) {
        _super.prototype.registerKeybindings.call(this, registry);
        registry.unregisterKeybinding(electron_menu_contribution_1.ElectronCommands.CLOSE_WINDOW.id);
        registry.unregisterKeybinding(electron_menu_contribution_1.ElectronCommands.ZOOM_IN.id);
        registry.unregisterKeybinding(electron_menu_contribution_1.ElectronCommands.ZOOM_OUT.id);
    };
    ElectronMenuContribution = __decorate([
        inversify_1.injectable()
    ], ElectronMenuContribution);
    return ElectronMenuContribution;
}(electron_menu_contribution_1.ElectronMenuContribution));
exports.ElectronMenuContribution = ElectronMenuContribution;


/***/ }),

/***/ "./node_modules/arduino-ide-extension/lib/electron-browser/theia/core/electron-menu-module.js":
/*!****************************************************************************************************!*\
  !*** ./node_modules/arduino-ide-extension/lib/electron-browser/theia/core/electron-menu-module.js ***!
  \****************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var inversify_1 = __webpack_require__(/*! inversify */ "./node_modules/inversify/lib/inversify.js");
var window_service_1 = __webpack_require__(/*! @theia/core/lib/browser/window/window-service */ "./node_modules/@theia/core/lib/browser/window/window-service.js");
var electron_main_menu_factory_1 = __webpack_require__(/*! @theia/core/lib/electron-browser/menu/electron-main-menu-factory */ "./node_modules/@theia/core/lib/electron-browser/menu/electron-main-menu-factory.js");
var electron_menu_contribution_1 = __webpack_require__(/*! @theia/core/lib/electron-browser/menu/electron-menu-contribution */ "./node_modules/@theia/core/lib/electron-browser/menu/electron-menu-contribution.js");
var electron_ipc_connection_provider_1 = __webpack_require__(/*! @theia/core/lib/electron-browser/messaging/electron-ipc-connection-provider */ "./node_modules/@theia/core/lib/electron-browser/messaging/electron-ipc-connection-provider.js");
var splash_service_1 = __webpack_require__(/*! ../../../electron-common/splash-service */ "./node_modules/arduino-ide-extension/lib/electron-common/splash-service.js");
var main_menu_manager_1 = __webpack_require__(/*! ../../../common/main-menu-manager */ "./node_modules/arduino-ide-extension/lib/common/main-menu-manager.js");
var electron_window_service_1 = __webpack_require__(/*! ../../electron-window-service */ "./node_modules/arduino-ide-extension/lib/electron-browser/electron-window-service.js");
var electron_main_menu_factory_2 = __webpack_require__(/*! ./electron-main-menu-factory */ "./node_modules/arduino-ide-extension/lib/electron-browser/theia/core/electron-main-menu-factory.js");
var electron_menu_contribution_2 = __webpack_require__(/*! ./electron-menu-contribution */ "./node_modules/arduino-ide-extension/lib/electron-browser/theia/core/electron-menu-contribution.js");
exports.default = new inversify_1.ContainerModule(function (bind, unbind, isBound, rebind) {
    bind(electron_menu_contribution_2.ElectronMenuContribution).toSelf().inSingletonScope();
    bind(main_menu_manager_1.MainMenuManager).toService(electron_menu_contribution_2.ElectronMenuContribution);
    rebind(electron_menu_contribution_1.ElectronMenuContribution).to(electron_menu_contribution_2.ElectronMenuContribution);
    bind(electron_main_menu_factory_2.ElectronMainMenuFactory).toSelf().inRequestScope();
    rebind(electron_main_menu_factory_1.ElectronMainMenuFactory).toService(electron_main_menu_factory_2.ElectronMainMenuFactory);
    bind(electron_window_service_1.ElectronWindowService).toSelf().inSingletonScope();
    rebind(window_service_1.WindowService).toService(electron_window_service_1.ElectronWindowService);
    bind(splash_service_1.SplashService).toDynamicValue(function (context) { return electron_ipc_connection_provider_1.ElectronIpcConnectionProvider.createProxy(context.container, splash_service_1.splashServicePath); }).inSingletonScope();
});


/***/ }),

/***/ "./node_modules/arduino-ide-extension/lib/electron-common/splash-service.js":
/*!**********************************************************************************!*\
  !*** ./node_modules/arduino-ide-extension/lib/electron-common/splash-service.js ***!
  \**********************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.SplashService = exports.splashServicePath = void 0;
exports.splashServicePath = '/services/splash-service';
exports.SplashService = Symbol('SplashService');


/***/ })

}]);
//# sourceMappingURL=66.bundle.js.map