(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[1591],{134281(module,__unused_webpack_exports,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";var e=1e3*60;var s=1e3*60*60;var r=1e3*60*60*24;var a=1e3*60*60*24*7;var n=1e3*60*60*24*365.25;function t(t){if((t=String(t)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!c)return;var i=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*n;case"weeks":case"week":case"w":return i*a;case"days":case"day":case"d":return i*r;case"hours":case"hour":case"hrs":case"hr":case"h":return i*s;case"minutes":case"minute":case"mins":case"min":case"m":return i*e;case"seconds":case"second":case"secs":case"sec":case"s":return i*1e3;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return undefined}}function c(a){var n=Math.abs(a);return n>=r?Math.round(a/r)+"d":(0,n>=s)?Math.round(a/s)+"h":(0,n>=e)?Math.round(a/e)+"m":(0,n>=1e3)?Math.round(a/1e3)+"s":(0,a+"ms")}function i(a){var n=Math.abs(a);return n>=r?o(a,n,r,"day"):(0,n>=s)?o(a,n,s,"hour"):(0,n>=e)?o(a,n,e,"minute"):(0,n>=1e3)?o(a,n,1e3,"second"):(0,a+" ms")}function o(e,s,r,a){return Math.round(e/r)+" "+a+(s>=r*1.5?"s":"")}module.exports=function(e,s){s=s||{};var r=typeof e;if(r==="string"&&e.length>0)return t(e);if(r==="number"&&isFinite(e))return s.long?i(e):c(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}}}).call(__webpack_require__._LM_("mocha>ms",{module,__webpack_require__}))()}}]);