import{o as e,t}from"./chunk-C94x7I9S.mjs";import{n,t as r}from"./esm-BS2W3Uzl.mjs";import{t as i}from"./execAsync-DunQtInX.mjs";var a=t((t=>{Object.defineProperty(t,`__esModule`,{value:!0}),t.getMachineId=void 0;let a=i(),o=(n(),e(r));async function s(){try{let e=(await(0,a.execAsync)(`ioreg -rd1 -c "IOPlatformExpertDevice"`)).stdout.split(`
`).find(e=>e.includes(`IOPlatformUUID`));if(!e)return;let t=e.split(`" = "`);if(t.length===2)return t[1].slice(0,-1)}catch(e){o.diag.debug(`error reading machine id: ${e}`)}}t.getMachineId=s}));export default a();export{};
//# sourceMappingURL=getMachineId-darwin-BNCkZc-0.mjs.map