function e(t){return t===null||typeof t!="object"?!1:!Array.isArray(t)&&Object.getPrototypeOf(t)===Object.prototype}function n(t){if(t==null)return t;if(Array.isArray(t))return t.map(n);if(typeof t!="object")return typeof t=="number"||typeof t=="boolean"?String(t):t;if(t instanceof Date)return t.toISOString();if(!e(t))return String(t);const r={};for(const[i,o]of Object.entries(t))r[i]=n(o);return r}export{n as deepStringify};
