var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var f=(o,e)=>{for(var n in e)a(o,n,{get:e[n],enumerable:!0})},w=(o,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of l(e))!c.call(o,r)&&r!==n&&a(o,r,{get:()=>e[r],enumerable:!(s=p(e,r))||s.enumerable});return o};var d=o=>w(a({},"__esModule",{value:!0}),o);var u={};f(u,{openBrowser:()=>b});module.exports=d(u);var i=require("child_process"),m=require("os");function b(o){return new Promise((e,n)=>{let s=(0,m.platform)(),r;switch(s){case"darwin":r=`open "${o}"`;break;case"win32":r=`start "" "${o}"`;break;case"linux":r=`xdg-open "${o}"`;break;default:return n(new Error(`Unsupported platform: ${s}`))}(0,i.exec)(r,t=>{t?(console.error("Error opening browser:",t),console.log("Please manually open the URL in your browser:",o),n(t)):e()})})}0&&(module.exports={openBrowser});
