/* Socket Lib - Built with esbuild */
var p=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var g=(e,n)=>{for(var s in n)p(e,s,{get:n[s],enumerable:!0})},m=(e,n,s,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of d(n))!u.call(e,r)&&r!==s&&p(e,r,{get:()=>n[r],enumerable:!(i=f(n,r))||i.enumerable});return e};var y=e=>m(p({},"__esModule",{value:!0}),e);var b={};g(b,{restoreWarnings:()=>v,setMaxEventTargetListeners:()=>x,suppressMaxListenersWarning:()=>W,suppressWarningType:()=>c,withSuppressedWarnings:()=>T});module.exports=y(b);const{apply:l}=Reflect;let t;const o=new Set;function a(){t||(t=process.emitWarning,process.emitWarning=(e,...n)=>{if(typeof e=="string"){for(const s of o)if(e.includes(s))return}else if(e&&typeof e=="object"){const s=e;if(s.name&&o.has(s.name))return}return l(t,process,[e,...n])})}function W(){o.add("MaxListenersExceededWarning"),a()}function c(e){o.add(e),a()}function x(e,n=10){if(!e)return;const i=Object.getOwnPropertySymbols(e).find(r=>r.description==="events.maxEventTargetListeners");i&&(e[i]=n)}function v(){t&&(process.emitWarning=t,t=void 0,o.clear())}async function T(e,n){const s=process.emitWarning;c(e);try{return await n()}finally{process.emitWarning=s}}0&&(module.exports={restoreWarnings,setMaxEventTargetListeners,suppressMaxListenersWarning,suppressWarningType,withSuppressedWarnings});
//# sourceMappingURL=suppress-warnings.js.map
