"use strict";function getProcessEnv(){var o,e;return null!==(e=null!==(o=null===global||void 0===global?void 0:global.fullEnv)&&void 0!==o?o:null===process||void 0===process?void 0:process.env)&&void 0!==e?e:{}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isWin=exports.isWebIDE=exports.isDevtools=void 0,exports.getProcessEnv=getProcessEnv,exports.isElectron=isElectron,exports.isDevtools=(null===process||void 0===process?void 0:process.__nwjs)&&window.nw&&"wechatwebdevtools"===nw.App.manifest.appname,exports.isWebIDE="undefined"!=typeof WEBIDE_WEBPECK_DEFINE_PLUGIN;let isWebWin=!1;function isElectron(){var o;return"1"===(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.ELECTRON_RUN_AS_NODE)||!0===(null===global||void 0===global?void 0:global.BACKEND)}exports.isWin=exports.isWebIDE?isWebWin:"win32"===process.platform;