cu_data_in": "..\\..\\deps\\icu-tmp\\icudt70l.dat",
                 "icu_endianness": "l",
                 "icu_gyp_path": "tools/icu/icu-generic.gyp",
                 "icu_path": "deps/icu-small",
                 "icu_small": false,
                 "icu_ver_major": "70",
                 "is_debug": 0,
                 "llvm_version": "0.0",
                 "napi_build_version": "8",
                 "node_byteorder": "little",
                 "node_debug_lib": false,
                 "node_enable_d8": false,
                 "node_install_corepack": true,
                 "node_install_npm": true,
                 "node_library_files": [ "lib/assert.js",
                                         "lib/async_hooks.js",
                                         "lib/buffer.js",
                                         "lib/child_process.js",
                                         "lib/cluster.js",
                                         "lib/console.js",
                                         "lib/constants.js",
                                         "lib/crypto.js",
                                         "lib/dgram.js",
                                         "lib/diagnostics_channel.js",
                                         "lib/dns.js",
                                         "lib/domain.js",
                                         "lib/events.js",
                                         "lib/fs.js",
                                         "lib/http.js",
                                         "lib/http2.js",
                                         "lib/https.js",
                                         "lib/inspector.js",
                                         "lib/module.js",
                                         "lib/net.js",
                                         "lib/os.js",
                                         "lib/path.js",
                                         "lib/perf_hooks.js",
                                         "lib/process.js",
                                         "lib/punycode.js",
                                         "lib/querystring.js",
                                         "lib/readline.js",
                                         "lib/repl.js",
                                         "lib/stream.js",
                                         "lib/string_decoder.js",
                                         "lib/sys.js",
                                         "lib/timers.js",
                                         "lib/tls.js",
                                         "lib/trace_events.js",
                                         "lib/tty.js",
                                         "lib/url.js",
                                         "lib/util.js",
                                         "lib/v8.js",
                                         "lib/vm.js",
                                         "lib/wasi.js",
                                         "lib/worker_threads.js",
                                         "lib/zlib.js",
                                         "lib/_http_agent.js",
                                         "lib/_http_client.js",
                                         "lib/_http_common.js",
                                         "lib/_http_incoming.js",
                                         "lib/_http_outgoing.js",
                                         "lib/_http_server.js",
                                         "lib/_stream_duplex.js",
                                         "lib/_stream_passthrough.js",
                                         "lib/_stream_readable.js",
                                         "lib/_stream_transform.js",
                                         "lib/_stream_wrap.js",
                                         "lib/_stream_writable.js",
                                         "lib/_tls_common.js",
                                         "lib/_tls_wrap.js",
                                         "lib/assert/strict.js",
                                         "lib/dns/promises.js",
                                         "lib/fs/promises.js",
                                         "lib/internal/abort_controller.js",
                                         "lib/internal/assert.js",
                                         "lib/internal/async_hooks.js",
                                         "lib/internal/blob.js",
                                         "lib/internal/blocklist.js",
                                         "lib/internal/buffer.js",
                                         "lib/internal/child_process.js",
                                         "lib/internal/cli_table.js",
                                         "lib/internal/constants.js",
                                         "lib/internal/dgram.js",
                                         "lib/internal/dtrace.js",
                                         "lib/internal/encoding.js",
                                         "lib/internal/errors.js",
                                         "lib/internal/error_serdes.js",
                                         "lib/internal/event_target.js",
                                         "lib/internal/fixed_queue.js",
                                         "lib/internal/freelist.js",
                                         "lib/internal/freeze_intrinsics.js",
                                         "lib/internal/heap_utils.js",
                                         "lib/internal/histogram.js",
                                         "lib/internal/http.js",
                                         "lib/internal/idna.js",
                                         "lib/internal/inspector_async_hook.js",
                                         "lib/internal/js_stream_socket.js",
                                         "lib/internal/linkedlist.js",
                                         "lib/internal/net.js",
                                         "lib/internal/options.js",
                                         "lib/internal/priority_queue.js",
                                         "lib/internal/promise_hooks.js",
                                         "lib/internal/querystring.js",
                                         "lib/internal/repl.js",
                                         "lib/internal/socketaddress.js",
                                         "lib/internal/socket_list.js",
                                         "lib/internal/stream_base_commons.js",
                                         "lib/internal/timers.js",
                                         "lib/internal/trace_events_async_hooks.js",
                                         "lib/internal/tty.js",
                                         "lib/internal/url.js",
                                         "lib/internal/util.js",
                                         "lib/internal/v8_prof_polyfill.js",
                                         "lib/internal/v8_prof_processor.js",
                                         "lib/internal/validators.js",
                                         "lib/internal/watchdog.js",
                                         "lib/internal/worker.js",
                                         "lib/internal/assert/assertion_error.js",
                                         "lib/internal/assert/calltracker.js",
                                         "lib/internal/bootstrap/environment.js",
                                         "lib/internal/bootstrap/loaders.js",
                                         "lib/internal/bootstrap/node.js",
                                         "lib/internal/bootstrap/pre_execution.js",
                                         "lib/internal/bootstrap/switches/does_not_own_process_state.js",
                                         "lib/internal/bootstrap/switches/does_own_process_state.js",
                                         "lib/internal/bootstrap/switches/is_main_thread.js",
                                         "lib/internal/bootstrap/switches/is_not_main_thread.js",
                                         "lib/internal/child_process/serialization.js",
                                         "lib/internal/cluster/child.js",
                                         "lib/internal/cluster/primary.js",
                                         "lib/internal/cluster/round_robin_handle.js",
                                         "lib/internal/cluster/shared_handle.js",
                                         "lib/internal/cluster/utils.js",
                                         "lib/internal/cluster/worker.js",
                                         "lib/internal/console/constructor.js",
                                         "lib/internal/console/global.js",
                                         "lib/internal/crypto/aes.js",
                                         "lib/internal/crypto/certificate.js",
                                         "lib/internal/crypto/cipher.js",
                                         "lib/internal/crypto/diffiehellman.js",
                                         "lib/internal/crypto/dsa.js",
                                         "lib/internal/crypto/ec.js",
                                         "lib/internal/crypto/hash.js",
                                         "lib/internal/crypto/hashnames.js",
                                         "lib/internal/crypto/hkdf.js",
                                         "lib/internal/crypto/keygen.js",
                                         "lib/internal/crypto/keys.js",
                                         "lib/internal/crypto/mac.js",
                                         "lib/internal/crypto/pbkdf2.js",
                                         "lib/internal/crypto/random.js",
                                         "lib/internal/crypto/rsa.js",
                                         "lib/internal/crypto/scrypt.js",
                                         "lib/internal/crypto/sig.js",
                                         "lib/internal/crypto/util.js",
                                         "lib/internal/crypto/webcrypto.js",
                                         "lib/internal/crypto/x509.js",
                                         "lib/internal/debugger/inspect.js",
                                         "lib/internal/debugger/inspect_client.js",
                                         "lib/internal/debugger/inspect_repl.js",
                                         "lib/internal/dns/promises.js",
                                         "lib/internal/dns/utils.js",
                                         "lib/internal/fs/dir.js",
                                         "lib/internal/fs/promises.js",
                                         "lib/internal/fs/read_file_context.js",
                                         "lib/internal/fs/rimraf.js",
                                         "lib/internal/fs/streams.js",
                                         "lib/internal/fs/sync_write_stream.js",
                                         "lib/internal/fs/utils.js",
                                         "lib/internal/fs/watchers.js",
                                         "lib/internal/fs/cp/cp-sync.js",
                                         "lib/internal/fs/cp/cp.js",
                                         "lib/internal/http2/compat.js",
                                         "lib/internal/http2/core.js",
                                         "lib/internal/http2/util.js",
                                         "lib/internal/legacy/processbinding.js",
                                         "lib/internal/main/check_syntax.js",
                                         "lib/internal/main/eval_stdin.js",
                                         "lib/internal/main/eval_string.js",
                                         "lib/internal/main/inspect.js",
                                         "lib/internal/main/print_help.js",
                                         "lib/internal/main/prof_process.js",
                                         "lib/internal/main/repl.js",
                                         "lib/internal/main/run_main_module.js",
                                         "lib/internal/main/worker_thread.js",
                                         "lib/internal/modules/package_json_reader.js",
                                         "lib/internal/modules/run_main.js",
                                         "lib/internal/modules/cjs/helpers.js",
                                         "lib/internal/modules/cjs/loader.js",
                                         "lib/internal/modules/esm/assert.js",
                                         "lib/internal/modules/esm/create_dynamic_module.js",
                                         "lib/internal/modules/esm/get_format.js",
                                         "lib/internal/modules/esm/get_source.js",
                                         "lib/internal/modules/esm/handle_process_exit.js",
                                         "lib/internal/modules/esm/initialize_import_meta.js",
                                         "lib/internal/modules/esm/load.js",
                                         "lib/internal/modules/esm/loader.js",
                                         "lib/internal/modules/esm/module_job.js",
                                         "lib/internal/modules/esm/module_map.js",
                                         "lib/internal/modules/esm/resolve.js",
                                         "lib/internal/modules/esm/translators.js",
                                         "lib/internal/perf/event_loop_delay.js",
                                         "lib/internal/perf/event_loop_utilization.js",
                                         "lib/internal/perf/nodetiming.js",
                                         "lib/internal/perf/observe.js",
                                         "lib/internal/perf/performance.js",
                                         "lib/internal/perf/performance_entry.js",
                                         "lib/internal/perf/timerify.js",
                                         "lib/internal/perf/usertiming.js",
                                         "lib/internal/perf/utils.js",
                                         "lib/internal/per_context/domexception.js",
                                         "lib/internal/per_context/messageport.js",
                                         "lib/internal/per_context/primordials.js",
                                         "lib/internal/policy/manifest.js",
                                         "lib/internal/policy/sri.js",
                                         "lib/internal/process/esm_loader.js",
                                         "lib/internal/process/execution.js",
                                         "lib/internal/process/per_thread.js",
                                         "lib/internal/process/policy.js",
                                         "lib/internal/process/promises.js",
                                         "lib/internal/process/report.js",
                                         "lib/internal/process/signal.js",
                                         "lib/internal/process/task_queues.js",
                                         "lib/internal/process/warning.js",
                                         "lib/internal/process/worker_thread_only.js",
                                         "lib/internal/readline/callbacks.js",
                                         "lib/internal/readline/emitKeypressEvents.js",
                                         "lib/internal/readline/interface.js",
                                         "lib/internal/readline/utils.js",
                                         "lib/internal/repl/await.js",
                                         "lib/internal/repl/history.js",
                                         "lib/internal/repl/utils.js",
                                         "lib/internal/source_map/prepare_stack_trace.js",
                                         "lib/internal/source_map/source_map.js",
                                         "lib/internal/source_map/source_map_cache.js",
                                         "lib/internal/streams/add-abort-signal.js",
                                         "lib/internal/streams/buffer_list.js",
                                         "lib/internal/streams/compose.js",
                                         "lib/internal/streams/destroy.js",
                                         "lib/internal/streams/duplex.js",
                                         "lib/internal/streams/duplexify.js",
                                         "lib/internal/streams/end-of-stream.js",
                                         "lib/internal/streams/from.js",
                                         "lib/internal/streams/lazy_transform.js",
                                         "lib/internal/streams/legacy.js",
                                         "lib/internal/streams/operators.js",
                                         "lib/internal/streams/passthrough.js",
                                         "lib/internal/streams/pipeline.js",
                                         "lib/internal/streams/readable.js",
                                         "lib/internal/streams/state.js",
                                         "lib/internal/streams/transform.js",
                                         "lib/internal/streams/utils.js",
                                         "lib/internal/streams/writable.js",
                                         "lib/internal/test/binding.js",
                                         "lib/internal/test/transfer.js",
                                         "lib/internal/tls/parse-cert-string.js",
                                         "lib/internal/tls/secure-context.js",
                                         "lib/internal/tls/secure-pair.js",
                                         "lib/internal/util/comparisons.js",
                                         "lib/internal/util/debuglog.js",
                                         "lib/internal/util/inspect.js",
                                         "lib/internal/util/inspector.js",
                                         "lib/internal/util/iterable_weak_map.js",
                                         "lib/internal/util/types.js",
                                         "lib/internal/vm/module.js",
                                         "lib/internal/webstreams/adapters.js",
                                         "lib/internal/webstreams/encoding.js",
                                         "lib/internal/webstreams/queuingstrategies.js",
                                         "lib/internal/webstreams/readablestream.js",
                                         "lib/internal/webstreams/transfer.js",
                                         "lib/internal/webstreams/transformstream.js",
                                         "lib/internal/webstreams/util.js",
                                         "lib/internal/webstreams/writablestream.js",
                                         "lib/internal/worker/io.js",
                                         "lib/internal/worker/js_transferable.js",
                                         "lib/path/posix.js",
                                         "lib/path/win32.js",
                                         "lib/stream/consumers.js",
                                         "lib/stream/promises.js",
                                         "lib/stream/web.js",
                                         "lib/timers/promises.js",
                                         "lib/util/types.js"],
                 "node_module_version": 106,
                 "node_no_browser_globals": false,
                 "node_prefix": "/usr/local",
                 "node_release_urlbase": "",
                 "node_shared": false,
                 "node_shared_brotli": false,
                 "node_shared_cares": false,
                 "node_shared_http_parser": false,
                 "node_shared_libuv": false,
                 "node_shared_nghttp2": false,
                 "node_shared_nghttp3": false,
                 "node_shared_ngtcp2": false,
                 "node_shared_openssl": false,
                 "node_shared_zlib": false,
                 "node_tag": "",
                 "node_target_type": "executable",
                 "node_use_bundled_v8": true,
                 "node_use_dtrace": false,
                 "node_use_etw": true,
                 "node_use_node_code_cache": true,
                 "node_use_node_snapshot": true,
                 "node_use_openssl": true,
                 "node_use_v8_platform": true,
                 "node_with_ltcg": false,
                 "node_without_node_options": false,
                 "openssl_fips": "",
                 "openssl_is_fips": false,
                 "openssl_no_asm": 1,
                 "openssl_quic": true,
                 "ossfuzz": false,
                 "shlib_suffix": "so.93",
                 "target_arch": "x64",
                 "v8_enable_31bit_smis_on_64bit_arch": 1,
                 "v8_enable_gdbjit": 0,
                 "v8_enable_i18n_support": 1,
                 "v8_enable_inspector": 1,
                 "v8_enable_lite_mode": 0,
                 "v8_enable_object_print": 1,
                 "v8_enable_pointer_compression": 1,
                 "v8_enable_webassembly": 1,
                 "v8_no_strict_aliasing": 1,
                 "v8_optimized_debug": 1,
                 "v8_promise_internal_field_count": 1,
                 "v8_random_seed": 0,
                 "v8_trace_maps": 0,
                 "v8_use_siphash": 1,
                 "want_separate_host_toolset": 0}}!function(t){var e={};function __webpack_require__(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}__webpack_require__.m=t,__webpack_require__.c=e,__webpack_require__.d=function(t,e,r){__webpack_require__.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},__webpack_require__.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},__webpack_require__.t=function(t,e){if(1&e&&(t=__webpack_require__(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(__webpack_require__.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)__webpack_require__.d(r,n,function(e){return t[e]}.bind(null,n));return r},__webpack_require__.n=function(t){var e=t&&t.__esModule?function getDefault(){return t.default}:function getModuleExports(){return t};return __webpack_require__.d(e,"a",e),e},__webpack_require__.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s="./lib/asar/init.ts")}({"./lib/asar/fs-wrapper.ts":
/*!********************************!*\
  !*** ./lib/asar/fs-wrapper.ts ***!
  \********************************/
/*! no static exports found */function(t,e,r){"use strict";(function(t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.wrapFsWithAsar=void 0;const s=r(/*! buffer */"buffer"),i=r(/*! path */"path"),a=r(/*! util */"util"),o=t._linkedBinding("electron_common_asar"),c=r(/*! module */"module"),f=n.Promise,l=t.env.ELECTRON_NO_ASAR&&"browser"!==t.type&&"renderer"!==t.type,u=t.internalBinding;delete t.internalBinding;const nextTick=(e,r=[])=>{t.nextTick(()=>e(...r))},p=new Map,getOrCreateArchive=t=>{if(p.has(t))return p.get(t);try{const e=new o.Archive(t);return p.set(t,e),e}catch{return null}},h=/\.asar/i,splitPath=e=>{if(t.noAsar||l)return{isAsar:!1};let r=e;return s.Buffer.isBuffer(e)&&(r=e.toString()),"string"!=typeof r?{isAsar:!1}:h.test(r)?o.splitPath(i.normalize(r)):{isAsar:!1}};let _=0;const d=null!=t.getuid?t.getuid():0,y=null!=t.getgid?t.getgid():0,P=new Date,asarStatsToFsStats=function(t){const{Stats:e,constants:n}=r(/*! fs */"fs");let s=n.S_IROTH^n.S_IRGRP^n.S_IRUSR^n.S_IWUSR;return t.isFile?s^=n.S_IFREG:t.isDirectory?s^=n.S_IFDIR:t.isLink&&(s^=n.S_IFLNK),new e(1,s,1,d,y,0,void 0,++_,t.size,void 0,P.getTime(),P.getTime(),P.getTime(),P.getTime())},createError=(t,{asarPath:e,filePath:r}={})=>{let n;switch(t){case"NOT_FOUND":n=new Error(`ENOENT, ${r} not found in ${e}`),n.code="ENOENT",n.errno=-2;break;case"NOT_DIR":n=new Error("ENOTDIR, not a directory"),n.code="ENOTDIR",n.errno=-20;break;case"NO_ACCESS":n=new Error(`EACCES: permission denied, access '${r}'`),n.code="EACCES",n.errno=-13;break;case"INVALID_ARCHIVE":n=new Error(`Invalid package ${e}`);break;default:throw new Error(`Invalid error type "${t}" passed to createError.`)}return n},overrideAPISync=function(t,e,r,n=!1){null==r&&(r=0);const s=t[e],func=function(...t){const e=t[r],n=splitPath(e);if(!n.isAsar)return s.apply(this,t);const{asarPath:i,filePath:a}=n,o=getOrCreateArchive(i);if(!o)throw createError("INVALID_ARCHIVE",{asarPath:i});const c=o.copyFileOut(a);if(!c)throw createError("NOT_FOUND",{asarPath:i,filePath:a});return t[r]=c,s.apply(this,t)};if(n)return func;t[e]=func},overrideAPI=function(t,e,r){null==r&&(r=0);const n=t[e];t[e]=function(...s){const i=s[r],a=splitPath(i);if(!a.isAsar)return n.apply(this,s);const{asarPath:o,filePath:c}=a,f=s[s.length-1];if("function"!=typeof f)return overrideAPISync(t,e,r,!0).apply(this,s);const l=getOrCreateArchive(o);if(!l){const t=createError("INVALID_ARCHIVE",{asarPath:o});return void nextTick(f,[t])}const u=l.copyFileOut(c);if(u)return s[r]=u,n.apply(this,s);{const t=createError("NOT_FOUND",{asarPath:o,filePath:c});nextTick(f,[t])}},n[a.promisify.custom]&&(t[e][a.promisify.custom]=makePromiseFunction(n[a.promisify.custom],r)),t.promises&&t.promises[e]&&(t.promises[e]=makePromiseFunction(t.promises[e],r))};let A;function validateBufferIntegrity(e,n){if(!n)return;A=A||r(/*! crypto */"crypto");const s=A.createHash(n.algorithm).update(e).digest("hex");s!==n.hash&&(console.error(`ASAR Integrity Violation: got a hash mismatch (${s} vs ${n.hash})`),t.exit(1))}const makePromiseFunction=function(t,e){return function(...r){const n=r[e],s=splitPath(n);if(!s.isAsar)return t.apply(this,r);const{asarPath:i,filePath:a}=s,o=getOrCreateArchive(i);if(!o)return f.reject(createError("INVALID_ARCHIVE",{asarPath:i}));const c=o.copyFileOut(a);return c?(r[e]=c,t.apply(this,r)):f.reject(createError("NOT_FOUND",{asarPath:i,filePath:a}))}};e.wrapFsWithAsar=e=>{const n=new Map,logASARAccess=(s,i,a)=>{if(t.env.ELECTRON_LOG_ASAR_READS){if(!n.has(s)){const t=r(/*! path */"path"),i=`${t.basename(s,".asar")}-access-log.txt`,a=t.join(r(/*! os */"os").tmpdir(),i);n.set(s,e.openSync(a,"a"))}e.writeSync(n.get(s),`${a}: ${i}\n`)}},{lstatSync:o}=e;e.lstatSync=(t,e)=>{const r=splitPath(t);if(!r.isAsar)return o(t,e);const{asarPath:n,filePath:s}=r,i=getOrCreateArchive(n);if(!i)throw createError("INVALID_ARCHIVE",{asarPath:n});const a=i.stat(s);if(!a)throw createError("NOT_FOUND",{asarPath:n,filePath:s});return asarStatsToFsStats(a)};const{lstat:l}=e;e.lstat=function(t,e,r){const n=splitPath(t);if("function"==typeof e&&(r=e,e={}),!n.isAsar)return l(t,e,r);const{asarPath:s,filePath:i}=n,a=getOrCreateArchive(s);if(!a){const t=createError("INVALID_ARCHIVE",{asarPath:s});return void nextTick(r,[t])}const o=a.stat(i);if(!o){const t=createError("NOT_FOUND",{asarPath:s,filePath:i});return void nextTick(r,[t])}const c=asarStatsToFsStats(o);nextTick(r,[null,c])},e.promises.lstat=a.promisify(e.lstat);const{statSync:p}=e;e.statSync=(t,r)=>{const{isAsar:n}=splitPath(t);return n?e.lstatSync(t,r):p(t,r)};const{stat:h}=e;e.stat=(r,n,s)=>{const{isAsar:i}=splitPath(r);if("function"==typeof n&&(s=n,n={}),!i)return h(r,n,s);t.nextTick(()=>e.lstat(r,n,s))},e.promises.stat=a.promisify(e.stat);const wrapRealpathSync=function(t){return function(e,r){const n=splitPath(e);if(!n.isAsar)return t.apply(this,arguments);const{asarPath:s,filePath:a}=n,o=getOrCreateArchive(s);if(!o)throw createError("INVALID_ARCHIVE",{asarPath:s});const c=o.realpath(a);if(!1===c)throw createError("NOT_FOUND",{asarPath:s,filePath:a});return i.join(t(s,r),c)}},{realpathSync:_}=e;e.realpathSync=wrapRealpathSync(_),e.realpathSync.native=wrapRealpathSync(_.native);const wrapRealpath=function(t){return function(e,r,n){const s=splitPath(e);if(!s.isAsar)return t.apply(this,arguments);const{asarPath:a,filePath:o}=s;arguments.length<3&&(n=r,r={});const c=getOrCreateArchive(a);if(!c){const t=createError("INVALID_ARCHIVE",{asarPath:a});return void nextTick(n,[t])}const f=c.realpath(o);if(!1!==f)t(a,r,(t,e)=>{if(null===t){const t=i.join(e,f);n(null,t)}else n(t)});else{const t=createError("NOT_FOUND",{asarPath:a,filePath:o});nextTick(n,[t])}}},{realpath:d}=e;e.realpath=wrapRealpath(d),e.realpath.native=wrapRealpath(d.native),e.promises.realpath=a.promisify(e.realpath.native);const{exists:y}=e;e.exists=(t,e)=>{const r=splitPath(t);if(!r.isAsar)return y(t,e);const{asarPath:n,filePath:s}=r,i=getOrCreateArchive(n);if(!i){const t=createError("INVALID_ARCHIVE",{asarPath:n});return void nextTick(e,[t])}const a=!1!==i.stat(s);nextTick(e,[a])},e.exists[a.promisify.custom]=t=>{const e=splitPath(t);if(!e.isAsar)return y[a.promisify.custom](t);const{asarPath:r,filePath:n}=e,s=getOrCreateArchive(r);if(!s){const t=createError("INVALID_ARCHIVE",{asarPath:r});return f.reject(t)}return f.resolve(!1!==s.stat(n))};const{existsSync:P}=e;e.existsSync=t=>{const e=splitPath(t);if(!e.isAsar)return P(t);const{asarPath:r,filePath:n}=e,s=getOrCreateArchive(r);return!!s&&!1!==s.stat(n)};const{access:A}=e;e.access=function(t,r,n){const s=splitPath(t);if(!s.isAsar)return A.apply(this,arguments);const{asarPath:i,filePath:a}=s;"function"==typeof r&&(n=r,r=e.constants.F_OK);const o=getOrCreateArchive(i);if(!o){const t=createError("INVALID_ARCHIVE",{asarPath:i});return void nextTick(n,[t])}const c=o.getFileInfo(a);if(!c){const t=createError("NOT_FOUND",{asarPath:i,filePath:a});return void nextTick(n,[t])}if(c.unpacked){const t=o.copyFileOut(a);return e.access(t,r,n)}const f=o.stat(a);if(f)if(r&e.constants.W_OK){const t=createError("NO_ACCESS",{asarPath:i,filePath:a});nextTick(n,[t])}else nextTick(n);else{const t=createError("NOT_FOUND",{asarPath:i,filePath:a});nextTick(n,[t])}},e.promises.access=a.promisify(e.access);const{accessSync:I}=e;function fsReadFileAsar(t,r,n){const i=splitPath(t);if(i.isAsar){const{asarPath:t,filePath:a}=i;if("function"==typeof r)n=r,r={encoding:null};else if("string"==typeof r)r={encoding:r};else if(null==r)r={encoding:null};else if("object"!=typeof r)throw new TypeError("Bad arguments");const{encoding:o}=r,c=getOrCreateArchive(t);if(!c){const e=createError("INVALID_ARCHIVE",{asarPath:t});return void nextTick(n,[e])}const f=c.getFileInfo(a);if(!f){const e=createError("NOT_FOUND",{asarPath:t,filePath:a});return void nextTick(n,[e])}if(0===f.size)return void nextTick(n,[null,o?"":s.Buffer.alloc(0)]);if(f.unpacked){const t=c.copyFileOut(a);return e.readFile(t,r,n)}const l=s.Buffer.alloc(f.size),u=c.getFdAndValidateIntegrityLater();if(!(u>=0)){const e=createError("NOT_FOUND",{asarPath:t,filePath:a});return void nextTick(n,[e])}logASARAccess(t,a,f.offset),e.read(u,l,0,f.size,f.offset,t=>{validateBufferIntegrity(l,f.integrity),n(t,o?l.toString(o):l)})}}e.accessSync=function(t,r){const n=splitPath(t);if(!n.isAsar)return I.apply(this,arguments);const{asarPath:s,filePath:i}=n;null==r&&(r=e.constants.F_OK);const a=getOrCreateArchive(s);if(!a)throw createError("INVALID_ARCHIVE",{asarPath:s});const o=a.getFileInfo(i);if(!o)throw createError("NOT_FOUND",{asarPath:s,filePath:i});if(o.unpacked){const t=a.copyFileOut(i);return e.accessSync(t,r)}const c=a.stat(i);if(!c)throw createError("NOT_FOUND",{asarPath:s,filePath:i});if(r&e.constants.W_OK)throw createError("NO_ACCESS",{asarPath:s,filePath:i})};const{readFile:N}=e;e.readFile=function(t,e,r){const n=splitPath(t);return n.isAsar?fsReadFileAsar(t,e,r):N.apply(this,arguments)};const{readFile:O}=e.promises;e.promises.readFile=function(t,e){const r=splitPath(t);if(!r.isAsar)return O.apply(this,arguments);const n=a.promisify(fsReadFileAsar);return n(t,e)};const{readFileSync:g}=e;e.readFileSync=function(t,r){const n=splitPath(t);if(!n.isAsar)return g.apply(this,arguments);const{asarPath:i,filePath:a}=n,o=getOrCreateArchive(i);if(!o)throw createError("INVALID_ARCHIVE",{asarPath:i});const c=o.getFileInfo(a);if(!c)throw createError("NOT_FOUND",{asarPath:i,filePath:a});if(0===c.size)return r?"":s.Buffer.alloc(0);if(c.unpacked){const t=o.copyFileOut(a);return e.readFileSync(t,r)}if(r){if("string"==typeof r)r={encoding:r};else if("object"!=typeof r)throw new TypeError("Bad arguments")}else r={encoding:null};const{encoding:f}=r,l=s.Buffer.alloc(c.size),u=o.getFdAndValidateIntegrityLater();if(!(u>=0))throw createError("NOT_FOUND",{asarPath:i,filePath:a});return logASARAccess(i,a,c.offset),e.readSync(u,l,0,c.size,c.offset),validateBufferIntegrity(l,c.integrity),f?l.toString(f):l};const{readdir:w}=e;e.readdir=function(t,r={},n){const s=splitPath(t);if("function"==typeof r&&(n=r,r={}),!s.isAsar)return w.apply(this,arguments);const{asarPath:a,filePath:o}=s,c=getOrCreateArchive(a);if(!c){const t=createError("INVALID_ARCHIVE",{asarPath:a});return void nextTick(n,[t])}const f=c.readdir(o);if(f)if(r.withFileTypes){const t=[];for(const r of f){const s=i.join(o,r),f=c.stat(s);if(!f){const t=createError("NOT_FOUND",{asarPath:a,filePath:s});return void nextTick(n,[t])}f.isFile?t.push(new e.Dirent(r,e.constants.UV_DIRENT_FILE)):f.isDirectory?t.push(new e.Dirent(r,e.constants.UV_DIRENT_DIR)):f.isLink&&t.push(new e.Dirent(r,e.constants.UV_DIRENT_LINK))}nextTick(n,[null,t])}else nextTick(n,[null,f]);else{const t=createError("NOT_FOUND",{asarPath:a,filePath:o});nextTick(n,[t])}},e.promises.readdir=a.promisify(e.readdir);const{readdirSync:m}=e;e.readdirSync=function(t,r){const n=splitPath(t);if(!n.isAsar)return m.apply(this,arguments);const{asarPath:s,filePath:a}=n,o=getOrCreateArchive(s);if(!o)throw createError("INVALID_ARCHIVE",{asarPath:s});const c=o.readdir(a);if(!c)throw createError("NOT_FOUND",{asarPath:s,filePath:a});if(r&&r.withFileTypes){const t=[];for(const r of c){const n=i.join(a,r),c=o.stat(n);if(!c)throw createError("NOT_FOUND",{asarPath:s,filePath:n});c.isFile?t.push(new e.Dirent(r,e.constants.UV_DIRENT_FILE)):c.isDirectory?t.push(new e.Dirent(r,e.constants.UV_DIRENT_DIR)):c.isLink&&t.push(new e.Dirent(r,e.constants.UV_DIRENT_LINK))}return t}return c};const{internalModuleReadJSON:F}=u("fs");u("fs").internalModuleReadJSON=t=>{const r=splitPath(t);if(!r.isAsar)return F(t);const{asarPath:n,filePath:i}=r,a=getOrCreateArchive(n);if(!a)return[];const o=a.getFileInfo(i);if(!o)return[];if(0===o.size)return["",!1];if(o.unpacked){const t=a.copyFileOut(i),r=e.readFileSync(t,{encoding:"utf8"});return[r,r.length>0]}const c=s.Buffer.alloc(o.size),f=a.getFdAndValidateIntegrityLater();if(!(f>=0))return[];logASARAccess(n,i,o.offset),e.readSync(f,c,0,o.size,o.offset),validateBufferIntegrity(c,o.integrity);const l=c.toString("utf8");return[l,l.length>0]};const{internalModuleStat:S}=u("fs");if(u("fs").internalModuleStat=t=>{const e=splitPath(t);if(!e.isAsar)return S(t);const{asarPath:r,filePath:n}=e,s=getOrCreateArchive(r);if(!s)return-34;const i=s.stat(n);return i?i.isDirectory?1:0:-34},"win32"===t.platform){const{mkdir:t}=e;e.mkdir=(e,r,n)=>{"function"==typeof r&&(n=r,r={});const s=splitPath(e);if(s.isAsar&&s.filePath.length>0){const t=createError("NOT_DIR");nextTick(n,[t])}else t(e,r,n)},e.promises.mkdir=a.promisify(e.mkdir);const{mkdirSync:r}=e;e.mkdirSync=function(t,e){const n=splitPath(t);if(n.isAsar&&n.filePath.length)throw createError("NOT_DIR");return r(t,e)}}function invokeWithNoAsar(e){return function(){const r=t.noAsar;t.noAsar=!0;try{return e.apply(this,arguments)}finally{t.noAsar=r}}}overrideAPI(e,"copyFile"),overrideAPISync(e,"copyFileSync"),overrideAPI(e,"open"),overrideAPISync(t,"dlopen",1),overrideAPISync(c._extensions,".node",1),overrideAPISync(e,"openSync");const overrideChildProcess=t=>{const{exec:e,execSync:r}=t;t.exec=invokeWithNoAsar(e),t.exec[a.promisify.custom]=invokeWithNoAsar(e[a.promisify.custom]),t.execSync=invokeWithNoAsar(r),overrideAPI(t,"execFile"),overrideAPISync(t,"execFileSync")},D=new WeakSet;if(t.env.ELECTRON_EAGER_ASAR_HOOK_FOR_TESTING)overrideChildProcess(r(/*! child_process */"child_process"));else{const t=c._load;c._load=(e,...r)=>{const n=t(e,...r);if("child_process"===e&&!D.has(n)){D.add(n),overrideChildProcess(n)}return n}}}}).call(this,r(/*! @electron/internal/common/webpack-provider */"./lib/common/webpack-provider.ts").process,r(/*! @electron/internal/common/webpack-provider */"./lib/common/webpack-provider.ts")._global)},"./lib/asar/init.ts":
/*!**************************!*\
  !*** ./lib/asar/init.ts ***!
  \**************************/
/*! no static exports found */function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(0,r(/*! ./fs-wrapper */"./lib/asar/fs-wrapper.ts").wrapFsWithAsar)(r(/*! fs */"fs"))},"./lib/common/webpack-provider.ts":
/*!****************************************!*\
  !*** ./lib/common/webpack-provider.ts ***!
  \****************************************/
/*! no static exports found */function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Buffer=e.process=e._global=void 0;const n="undefined"!=typeof globalThis?globalThis.global:(self||window).global;e._global=n;const s=n.process;e.process=s;const i=n.Buffer;e.Buffer=i},buffer:
/*!*************************!*\
  !*** external "buffer" ***!
  \*************************/
/*! no static exports found */function(t,e){t.exports=require("buffer")},child_process:
/*!********************************!*\
  !*** external "child_process" ***!
  \********************************/
/*! no static exports found */function(t,e){t.exports=require("child_process")},crypto:
/*!*************************!*\
  !*** external "crypto" ***!
  \*************************/
/*! no static exports found */function(t,e){t.exports=require("crypto")},fs:
/*!*********************!*\
  !*** external "fs" ***!
  \*********************/
/*! no static exports found */function(t,e){t.exports=require("fs")},module:
/*!*************************!*\
  !*** external "module" ***!
  \*************************/
/*! no static exports found */function(t,e){t.exports=require("module")},os:
/*!*********************!*\
  !*** external "os" ***!
  \*********************/
/*! no static exports found */function(t,e){t.exports=require("os")},path:
/*!***********************!*\
  !*** external "path" ***!
  \***********************/
/*! no static exports found */function(t,e){t.exports=require("path")},util:
/*!***********************!*\
  !*** external "util" ***!
  \***********************/
/*! no static exports found */function(t,e){t.exports=require("util")}});