(function(t,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(t=typeof globalThis<"u"?globalThis:t||self,n(t.cssTimeSort={}))})(this,function(t){"use strict";function n(e,s){const i=r(e),o=r(s);return i===o?/\d+ms$/i.test(e)?-1:1:i-o}function r(e){return/\d+ms$/i.test(e)?Number(e.slice(0,e.length-2)):/\d+s$/i.test(e)?Number(e.slice(0,e.length-1))*1e3:e.startsWith("var(")?Number.MAX_SAFE_INTEGER-1:Number.MAX_SAFE_INTEGER}t.compare=n,t.convert=r,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});