/* Socket Lib - Built with esbuild */
var f=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var m=(t,n)=>{for(var r in n)f(t,r,{get:n[r],enumerable:!0})},N=(t,n,r,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of y(n))!P.call(t,i)&&i!==r&&f(t,i,{get:()=>n[i],enumerable:!(e=d(n,i))||e.enumerable});return t};var S=t=>N(f({},"__esModule",{value:!0}),t);var b={};m(b,{createEnvProxy:()=>k,envAsBoolean:()=>a,envAsNumber:()=>w,envAsString:()=>C,findCaseInsensitiveEnvKey:()=>u});module.exports=S(b);const A=Number,E=Number.isFinite,O=Number.parseInt,c=String,g=new Set(["APPDATA","COMSPEC","HOME","LOCALAPPDATA","PATH","PATHEXT","PROGRAMFILES","SYSTEMROOT","TEMP","TMP","USERPROFILE","WINDIR"]);function k(t,n){return new Proxy({},{get(r,e){if(typeof e!="string")return;if(n&&e in n)return n[e];if(e in t)return t[e];const i=e.toUpperCase();if(g.has(i)){if(n){const o=u(n,i);if(o!==void 0)return n[o]}const s=u(t,i);if(s!==void 0)return t[s]}},ownKeys(r){return[...new Set([...Object.keys(t),...n?Object.keys(n):[]])]},getOwnPropertyDescriptor(r,e){if(typeof e!="string")return;const i=this.get?.(r,e,r);return i!==void 0?{enumerable:!0,configurable:!0,writable:!0,value:i}:void 0},has(r,e){if(typeof e!="string")return!1;if(n&&e in n||e in t)return!0;const i=e.toUpperCase();return!!(g.has(i)&&(n&&u(n,i)!==void 0||u(t,i)!==void 0))},set(r,e,i){return typeof e=="string"&&n?(n[e]=i,!0):!1}})}function a(t,n=!1){if(typeof t=="string"){const r=t.trim();return r==="1"||r.toLowerCase()==="true"}return t==null?!!n:!!t}function w(t,n=0){const r=O(String(t),10);return(E(r)?r:A(n))||0}function C(t,n=""){return typeof t=="string"?t.trim():t==null?n===""?n:c(n).trim():c(t).trim()}function u(t,n){const r=n.length;for(const e of Object.keys(t))if(e.length===r&&e.toUpperCase()===n)return e}0&&(module.exports={createEnvProxy,envAsBoolean,envAsNumber,envAsString,findCaseInsensitiveEnvKey});
//# sourceMappingURL=env.js.map
