(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:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="75ecb6b6-bca7-42cb-802a-ce18a538eb2f",e._sentryDebugIdIdentifier="sentry-dbid-75ecb6b6-bca7-42cb-802a-ce18a538eb2f")})()}catch{}var a=1e3,t=a*60,c=t*60,s=c*24,o=s*7,f=s*365.25,b=function(e,r){r=r||{};var n=typeof e;if(n==="string"&&e.length>0)return l(e);if(n==="number"&&isFinite(e))return r.long?h(e):y(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function l(e){if(e=String(e),!(e.length>100)){var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(r){var n=parseFloat(r[1]),u=(r[2]||"ms").toLowerCase();switch(u){case"years":case"year":case"yrs":case"yr":case"y":return n*f;case"weeks":case"week":case"w":return n*o;case"days":case"day":case"d":return n*s;case"hours":case"hour":case"hrs":case"hr":case"h":return n*c;case"minutes":case"minute":case"mins":case"min":case"m":return n*t;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function y(e){var r=Math.abs(e);return r>=s?Math.round(e/s)+"d":r>=c?Math.round(e/c)+"h":r>=t?Math.round(e/t)+"m":r>=a?Math.round(e/a)+"s":e+"ms"}function h(e){var r=Math.abs(e);return r>=s?i(e,r,s,"day"):r>=c?i(e,r,c,"hour"):r>=t?i(e,r,t,"minute"):r>=a?i(e,r,a,"second"):e+" ms"}function i(e,r,n,u){var d=r>=n*1.5;return Math.round(e/n)+" "+u+(d?"s":"")}export{b as m};
//# sourceMappingURL=index-TMqJG_F-.mjs.map
