const e=require(`./index.cjs`),t=require(`./execAsync-BhfOTmGJ.cjs`);var n=e.r((n=>{Object.defineProperty(n,`__esModule`,{value:!0}),n.getMachineId=void 0;let r=require(`process`),i=t.t(),a=(e.n(),e.i(e.t));async function o(){let e=`%windir%\\System32\\REG.exe`;r.arch===`ia32`&&`PROCESSOR_ARCHITEW6432`in r.env&&(e=`%windir%\\sysnative\\cmd.exe /c `+e);try{let t=(await(0,i.execAsync)(`${e} QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid`)).stdout.split(`REG_SZ`);if(t.length===2)return t[1].trim()}catch(e){a.diag.debug(`error reading machine id: ${e}`)}}n.getMachineId=o}));Object.defineProperty(exports,`default`,{enumerable:!0,get:function(){return n()}});