(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"4.2.860"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="42f1a3c1-3327-4edb-a201-0f9a9a8fff42",e._sentryDebugIdIdentifier="sentry-dbid-42f1a3c1-3327-4edb-a201-0f9a9a8fff42")})()}catch{}const c=(e,n="")=>`data:${n};base64,${e.toString("base64")}`,u=e=>Array.isArray(e),d=e=>typeof e=="string",g=e=>typeof e=="object"&&e!==null,l=e=>g(e)&&e.type==="Buffer"&&(u(e.data)||d(e.data)),a=e=>e instanceof Error,b=(e,n)=>JSON.stringify(e,(s,r)=>a(r)?{message:r.message,name:r.name,cause:r.cause}:typeof r=="bigint"?r.toString():l(r)?c(Buffer.from(r.data)):r,n);class y{constructor(n,s=[]){this.content=n,this.exclusions=s}toOriginal(){return this.content}toRedactedString(n,s=!1){const{exclusions:r}=this,t=s?n:this.content;switch(typeof t){case"boolean":return`boolean:${t}`;case"string":return`string:string[${t.length}]`;case"bigint":return`bigint:${t}`;case"function":return`function:${t}`;case"number":return`number:${t}`;case"undefined":return"undefined:undefined";case"symbol":return"symbol:symbol";case"object":return t===null?"object:null":Array.isArray(t)&&t.length>0?t.map(o=>this.toRedactedString(o,!0)):t instanceof Date?`object:${t.toISOString()}`:t instanceof RegExp?`object:${t.source}`:JSON.stringify(Object.entries(t).reduce((o,[i,f])=>({...o,[i]:r.includes(i)?n:this.toRedactedString(f,!0)}),{}));default:return"unknown"}}}const p=e=>a(e)?String(e):b(e),S=e=>logger.log(`[AppStart] ${e}`),h=Object.freeze(Object.defineProperty({__proto__:null,RedactedContent:y,logAppStart:S,stringifyForLogMessage:p},Symbol.toStringTag,{value:"Module"}));export{y as R,p as a,h as b,S as l,b as s};
//# sourceMappingURL=logger-D_9t6p_W.mjs.map
