Comparing version 1.1.2 to 1.1.3
@@ -606,18 +606,2 @@ /** | ||
}; | ||
'imperial kenning': { | ||
ratio: number; | ||
difference: number | undefined; | ||
}; | ||
'imperial kennings': { | ||
ratio: number; | ||
difference: number | undefined; | ||
}; | ||
kenning: { | ||
ratio: number; | ||
difference: number | undefined; | ||
}; | ||
impkenning: { | ||
ratio: number; | ||
difference: number | undefined; | ||
}; | ||
'imperial peck': { | ||
@@ -624,0 +608,0 @@ ratio: number; |
@@ -764,49 +764,46 @@ 'use strict'; | ||
in3: /*#__PURE__*/ratioer(1.6e-1), | ||
'measurement ton': /*#__PURE__*/ratioer(1.2), | ||
'measurement tons': /*#__PURE__*/ratioer(1.2), | ||
MTON: /*#__PURE__*/ratioer(1.2), | ||
'measurement ton': /*#__PURE__*/ratioer(1.133), | ||
'measurement tons': /*#__PURE__*/ratioer(1.133), | ||
MTON: /*#__PURE__*/ratioer(1.133), | ||
//#endregion | ||
//#region Imperial | ||
'imperial barrel': /*#__PURE__*/ratioer(160), | ||
'imperial barrels': /*#__PURE__*/ratioer(160), | ||
'imp bbl': /*#__PURE__*/ratioer(160), | ||
impbbl: /*#__PURE__*/ratioer(160), | ||
kilderkin: /*#__PURE__*/ratioer(160), | ||
kilderkins: /*#__PURE__*/ratioer(160), | ||
firkin: /*#__PURE__*/ratioer(160), | ||
firkins: /*#__PURE__*/ratioer(160), | ||
'imperial bushel': /*#__PURE__*/ratioer(160), | ||
'imperial bushels': /*#__PURE__*/ratioer(160), | ||
'imp bsh': /*#__PURE__*/ratioer(160), | ||
'imp bu': /*#__PURE__*/ratioer(160), | ||
impbsh: /*#__PURE__*/ratioer(160), | ||
impbu: /*#__PURE__*/ratioer(160), | ||
'imperial kenning': /*#__PURE__*/ratioer(18), | ||
'imperial kennings': /*#__PURE__*/ratioer(18), | ||
kenning: /*#__PURE__*/ratioer(18), | ||
impkenning: /*#__PURE__*/ratioer(18), | ||
'imperial peck': /*#__PURE__*/ratioer(9.1), | ||
'imperial pecks': /*#__PURE__*/ratioer(9.1), | ||
pk: /*#__PURE__*/ratioer(9.1), | ||
imppk: /*#__PURE__*/ratioer(9.1), | ||
'imperial quart': /*#__PURE__*/ratioer(1.1), | ||
'imperial quarts': /*#__PURE__*/ratioer(1.1), | ||
'imp qt': /*#__PURE__*/ratioer(1.1), | ||
impqt: /*#__PURE__*/ratioer(1.1), | ||
'imperial gallon': /*#__PURE__*/ratioer(1 / 219.9692), | ||
'imperial gallons': /*#__PURE__*/ratioer(1 / 219.9692), | ||
'imp gal': /*#__PURE__*/ratioer(1 / 219.9692), | ||
impgal: /*#__PURE__*/ratioer(1 / 219.9692), | ||
'imperial pint': /*#__PURE__*/ratioer(0.57), | ||
'imperial pints': /*#__PURE__*/ratioer(0.57), | ||
'imp pt': /*#__PURE__*/ratioer(0.57), | ||
imppt: /*#__PURE__*/ratioer(0.57), | ||
gill: /*#__PURE__*/ratioer(4.8), | ||
gills: /*#__PURE__*/ratioer(4.8), | ||
gi: /*#__PURE__*/ratioer(4.8), | ||
impgi: /*#__PURE__*/ratioer(4.8), | ||
'imperial fluid ounce': /*#__PURE__*/ratioer(123), | ||
'imperial fluid ounces': /*#__PURE__*/ratioer(123), | ||
'imp fl oz': /*#__PURE__*/ratioer(123), | ||
impoz: /*#__PURE__*/ratioer(123), | ||
// https://en.wikipedia.org/wiki/Imperial_units#Volume | ||
'imperial barrel': /*#__PURE__*/ratioer(0.16), | ||
'imperial barrels': /*#__PURE__*/ratioer(0.16), | ||
'imp bbl': /*#__PURE__*/ratioer(0.16), | ||
impbbl: /*#__PURE__*/ratioer(0.16), | ||
kilderkin: /*#__PURE__*/ratioer(0.08318), | ||
kilderkins: /*#__PURE__*/ratioer(0.08318), | ||
firkin: /*#__PURE__*/ratioer(0.041), | ||
firkins: /*#__PURE__*/ratioer(0.041), | ||
'imperial bushel': /*#__PURE__*/ratioer(0.03636872), | ||
'imperial bushels': /*#__PURE__*/ratioer(0.03636872), | ||
'imp bsh': /*#__PURE__*/ratioer(0.03636872), | ||
'imp bu': /*#__PURE__*/ratioer(0.03636872), | ||
impbsh: /*#__PURE__*/ratioer(0.03636872), | ||
impbu: /*#__PURE__*/ratioer(0.03636872), | ||
'imperial peck': /*#__PURE__*/ratioer(0.00909218), | ||
'imperial pecks': /*#__PURE__*/ratioer(0.00909218), | ||
pk: /*#__PURE__*/ratioer(0.00909218), | ||
imppk: /*#__PURE__*/ratioer(0.00909218), | ||
'imperial quart': /*#__PURE__*/ratioer(0.0011365225e12), | ||
'imperial quarts': /*#__PURE__*/ratioer(0.0011365225e12), | ||
'imp qt': /*#__PURE__*/ratioer(0.0011365225e12), | ||
impqt: /*#__PURE__*/ratioer(0.0011365225e12), | ||
'imperial gallon': /*#__PURE__*/ratioer(0.00454609e12), | ||
'imperial gallons': /*#__PURE__*/ratioer(0.00454609e12), | ||
'imp gal': /*#__PURE__*/ratioer(0.00454609e12), | ||
impgal: /*#__PURE__*/ratioer(0.00454609e12), | ||
'imperial pint': /*#__PURE__*/ratioer(0.00056826125e12), | ||
'imperial pints': /*#__PURE__*/ratioer(0.00056826125e12), | ||
'imp pt': /*#__PURE__*/ratioer(0.00056826125e12), | ||
imppt: /*#__PURE__*/ratioer(0.00056826125e12), | ||
gill: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
gills: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
gi: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
impgi: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
'imperial fluid ounce': /*#__PURE__*/ratioer(2.84130625e7), | ||
'imperial fluid ounces': /*#__PURE__*/ratioer(2.84130625e7), | ||
'imp fl oz': /*#__PURE__*/ratioer(2.84130625e7), | ||
impoz: /*#__PURE__*/ratioer(2.84130625e7), | ||
//#endregion | ||
@@ -813,0 +810,0 @@ //#region US customary liquid measure |
@@ -1,2 +0,2 @@ | ||
"use strict";function e(e,i){if(!e)throw new Error("convert: Invariant failed")}Object.defineProperty(exports,"__esModule",{value:!0});var i=function(e,i){return{ratio:e,difference:i}},t={bit:i(1),bits:i(1),b:i(1),unibit:i(1),unibits:i(1),millibit:i(.001),millibits:i(.001),centibit:i(.01),centibits:i(.01),decibit:i(.1),decibits:i(.1),crumb:i(2),crumbs:i(2),dibit:i(2),dibits:i(2),triad:i(3),triads:i(3),triade:i(3),triades:i(3),tribit:i(3),tribits:i(3),nibble:i(4),nibbles:i(4),tetrad:i(4),tetrads:i(4),tetrade:i(4),tetrades:i(4),quadbit:i(4),quadbits:i(4),semioctet:i(4),semioctets:i(4),halfbyte:i(4),halfbytes:i(4),quartet:i(4),quartets:i(4),pentad:i(5),pentads:i(5),hexad:i(6),hexads:i(6),hexade:i(6),hexades:i(6),sextet:i(6),sextets:i(6),heptad:i(7),heptads:i(7),heptade:i(7),heptades:i(7),byte:i(8),bytes:i(8),B:i(8),octect:i(8),octects:i(8),octad:i(8),octads:i(8),octade:i(8),octades:i(8),decabit:i(10),decabits:i(10),declet:i(10),decle:i(10),deckle:i(10),slab:i(12),slabs:i(12),hextet:i(16),hextets:i(16),catena:i(24),catenas:i(24),hectobit:i(100),hectobits:i(100),hbit:i(100),kilobit:i(1e3),kilobits:i(1e3),kbit:i(1e3),kibibit:i(1024),kibibits:i(1024),Kibit:i(1024),kilobyte:i(8e3),kilobytes:i(8e3),kB:i(8e3),kibibyte:i(8192),kibibytes:i(8192),KiB:i(8192),megabit:i(1e6),megabits:i(1e6),Mbit:i(1e6),mebibit:i(1048576),mebibits:i(1048576),Mibit:i(1048576),megabyte:i(8e6),megabytes:i(8e6),MB:i(8e6),mebibyte:i(8388608),mebibytes:i(8388608),MiB:i(8388608),gigabit:i(1e9),gigabits:i(1e9),Gbit:i(1e9),gibibit:i(1073741824),gibibits:i(1073741824),Gibit:i(1073741824),gigabyte:i(8e9),gigabytes:i(8e9),GB:i(8e9),gibibyte:i(8589934592),gibibytes:i(8589934592),GiB:i(8589934592),terabit:i(1e12),terabits:i(1e12),Tbit:i(1e12),tebibit:i(1099511627776),tebibits:i(1099511627776),Tibit:i(1099511627776),terabyte:i(8e12),terabytes:i(8e12),TB:i(8e12),tebibyte:i(8796093022208),tebibytes:i(8796093022208),TiB:i(8796093022208),petabit:i(1e15),petabits:i(1e15),Pbit:i(1e15),pebibit:i(0x4000000000000),pebibits:i(0x4000000000000),Pibit:i(0x4000000000000),petabyte:i(1e15),petabytes:i(1e15),PB:i(1e15),pebibyte:i(9007199254740992),pebibytes:i(9007199254740992),PiB:i(9007199254740992)},r={meter:i(1),meters:i(1),metre:i(1),metres:i(1),m:i(1),petameter:i(1e15),petametre:i(1e15),petameters:i(1e15),petametres:i(1e15),Pm:i(1e15),terameter:i(1e12),terametre:i(1e12),terameters:i(1e12),terametres:i(1e12),Tm:i(1e12),gigameter:i(1e9),gigametre:i(1e9),gigameters:i(1e9),gigametres:i(1e9),Gm:i(1e9),megameter:i(1e6),megametre:i(1e6),megameters:i(1e6),megametres:i(1e6),Mm:i(1e6),kilometer:i(1e3),kilometre:i(1e3),kilometers:i(1e3),kilometres:i(1e3),km:i(1e3),hectometer:i(100),hectometre:i(100),hectometers:i(100),hectometres:i(100),hm:i(100),decameter:i(10),decametre:i(10),decameters:i(10),decametres:i(10),dam:i(10),decimeter:i(.1),decimetre:i(.1),decimeters:i(.1),decimetres:i(.1),dm:i(.1),centimeter:i(.01),centimetre:i(.01),centimeters:i(.01),centimetres:i(.01),cm:i(.01),millimeter:i(.001),millimetre:i(.001),millimeters:i(.001),millimetres:i(.001),mm:i(.001),micrometer:i(1e-7),micrometre:i(1e-7),micrometers:i(1e-7),micrometres:i(1e-7),"μm":i(1e-7),nanometer:i(1e-9),nanometre:i(1e-9),nanometers:i(1e-9),nanometres:i(1e-9),nm:i(1e-9),picometer:i(1e-12),picometre:i(1e-12),picometers:i(1e-12),picometres:i(1e-12),pm:i(1e-12),femtometer:i(1e-15),femtometre:i(1e-15),femtometers:i(1e-15),femtometres:i(1e-15),fm:i(1e-15),foot:i(.3048),feet:i(.3048),ft:i(.3048),inch:i(.0254),inches:i(.0254),in:i(.0254),yard:i(.9144),yards:i(.9144),yd:i(.9144),mile:i(1609.344),miles:i(1609.344),mi:i(1609.344),"nautical mile":i(1852),"nautical miles":i(1852),M:i(1852),NM:i(1852),nmi:i(1852)},a={kilogram:i(1e3),kilograms:i(1e3),kg:i(1e3),gram:i(1),grams:i(1),g:i(1),decagram:i(10),decagrams:i(10),dag:i(10),hectogram:i(100),hectograms:i(100),hg:i(100),megagram:i(1e6),megagrams:i(1e6),Mg:i(1e6),tonne:i(1e6),tonnes:i(1e6),"metric ton":i(1e6),"metric tons":i(1e6),t:i(1e6),gigagram:i(1e9),gigagrams:i(1e9),Gg:i(1e9),teragram:i(1e12),teragrams:i(1e12),Tg:i(1e12),petagram:i(1e15),petagrams:i(1e15),Pg:i(1e15),exagram:i(1e18),exagrams:i(1e18),Eg:i(1e18),zettagram:i(1e21),zettagrams:i(1e21),Zg:i(1e21),yottagram:i(1e24),yottagrams:i(1e24),Yg:i(1e24),decigram:i(.1),decigrams:i(.1),dg:i(.1),centigram:i(.01),centigrams:i(.01),cg:i(.01),milligram:i(.001),milligrams:i(.001),mg:i(.001),microgram:i(1e-6),micrograms:i(1e-6),"µg":i(1e-6),nanogram:i(1e-9),nanograms:i(1e-9),ng:i(1e-9),picogram:i(1e-12),picograms:i(1e-12),pg:i(1e-12),femtogram:i(1e-15),femtograms:i(1e-15),fg:i(1e-15),attogram:i(1e-18),attograms:i(1e-18),ag:i(1e-18),zeptogram:i(1e-21),zeptograms:i(1e-21),zg:i(1e-21),yoctogram:i(1e-24),yoctograms:i(1e-24),yg:i(1e-24),pound:i(453.59237),pounds:i(453.59237),lb:i(453.59237),stone:i(453.59237*14),stones:i(453.59237*14),st:i(453.59237*14),ounce:i(28.349523125),ounces:i(28.349523125),oz:i(28.349523125),"℥":i(28.349523125),"short ton":i(907184.74),"short tons":i(907184.74),"us ton":i(907184.74),"us tons":i(907184.74),"long ton":i(453.59237*2240),"long tons":i(453.59237*2240),"imperial ton":i(453.59237*2240),"imperial tons":i(453.59237*2240),"displacement ton":i(453.59237*2240),"displacement tons":i(453.59237*2240)},s={pascal:i(1),pascals:i(1),Pa:i(1),femtopascal:i(1e-15),femtopascals:i(1e-15),fPa:i(1e-15),picopascal:i(1e-12),picopascals:i(1e-12),pPa:i(1e-12),nanopascal:i(1e-9),nanopascals:i(1e-9),nPa:i(1e-9),micropascal:i(1e-6),micropascals:i(1e-6),"μPa":i(1e-6),millipascal:i(.001),millipascals:i(.001),mPa:i(.001),centipascal:i(.01),centipascals:i(.01),cPa:i(.01),decipascal:i(.1),decipascals:i(.1),dPa:i(.1),decapascal:i(10),decapascals:i(10),daPa:i(10),hectopascal:i(100),hectopascals:i(100),hPa:i(100),kilopascal:i(1e3),kilopascals:i(1e3),kPa:i(1e3),megapascal:i(1e6),megapascals:i(1e6),MPa:i(1e6),gigapascal:i(1e9),gigapascals:i(1e9),GPa:i(1e9),terapascal:i(1e12),terapascals:i(1e12),TPa:i(1e12),petapascal:i(1e15),petapascals:i(1e15),PPa:i(1e15),bar:i(1e5),femtobar:i(1e-15),femtobars:i(1e-15),fbar:i(1e-15),picobar:i(1e-12),picobars:i(1e-12),pbar:i(1e-12),nanobar:i(1e-9),nanobars:i(1e-9),nbar:i(1e-9),microbar:i(1e-6),microbars:i(1e-6),"μbar":i(1e-6),millibar:i(.001),millibars:i(.001),mbar:i(.001),centibar:i(.01),centibars:i(.01),cbar:i(.01),decibar:i(.1),decibars:i(.1),dbar:i(.1),decabar:i(10),decabars:i(10),dabar:i(10),hectobar:i(100),hectobars:i(100),hbar:i(100),kilobar:i(1e3),kilobars:i(1e3),kbar:i(1e3),megabar:i(1e6),megabars:i(1e6),Mbar:i(1e6),gigabar:i(1e9),gigabars:i(1e9),Gbar:i(1e9),terabar:i(1e12),terabars:i(1e12),Tbar:i(1e12),petabar:i(1e15),petabars:i(1e15),Pbar:i(1e15),torr:i(101325/760),millitorr:i(101325/760/1e3),millitorrs:i(101325/760/1e3),mTorr:i(101325/760/1e3),atmosphere:i(101325),atmospheres:i(101325),atm:i(101325)},c={kelvin:i(1),kelvins:i(1),K:i(1),fahrenheit:i(5/9,273.15-32),F:i(5/9,273.15-32),celsius:i(1,273.15),C:i(1,273.15),rankine:i(5/9),R:i(5/9),delisle:i(-2/3,373.15),De:i(-2/3,373.15)},m={second:i(1),seconds:i(1),s:i(1),century:i(3155695200),centuries:i(3155695200),c:i(3155695200),day:i(86400),days:i(86400),d:i(86400),decade:i(315569520),decades:i(315569520),dec:i(315569520),fortnight:i(1209600),fortnights:i(1209600),fn:i(1209600),helek:i(3+1/3),halakim:i(3+1/3),hour:i(3600),hours:i(3600),h:i(3600),jiffy:i(1/60),jiffies:i(1/60),j:i(1/60),ja:i(.01),ke:i(900),millennium:i(31556952e3),millennia:i(31556952e3),milliday:i(86.4),millidays:i(86.4),md:i(86.4),minute:i(60),minutes:i(60),min:i(60),moment:i(90),moments:i(90),month:i(2592e3),months:i(2592e3),mo:i(2592e3),shake:i(1e-8),shakes:i(1e-8),sigma:i(1e-6),sigmas:i(1e-6),svedberg:i(1e-13),svedbergs:i(1e-13),S:i(1e-13),week:i(604800),weeks:i(604800),wk:i(604800),year:i(31536e3),years:i(31536e3),a:i(31536e3),y:i(31536e3),yr:i(31536e3),petasecond:i(1e15),petaseconds:i(1e15),Ps:i(1e15),terasecond:i(1e12),teraseconds:i(1e12),Ts:i(1e12),gigasecond:i(1e9),gigaseconds:i(1e9),Gs:i(1e9),megasecond:i(1e6),megaseconds:i(1e6),Ms:i(1e6),kilosecond:i(1e3),kiloseconds:i(1e3),ks:i(1e3),hectosecond:i(100),hectoseconds:i(100),hs:i(100),decasecond:i(10),decaseconds:i(10),das:i(10),decisecond:i(.1),deciseconds:i(.1),ds:i(.1),centisecond:i(.01),centiseconds:i(.01),cs:i(.01),millisecond:i(.001),milliseconds:i(.001),ms:i(.001),microsecond:i(1e-7),microseconds:i(1e-7),"μs":i(1e-7),nanosecond:i(1e-9),nanoseconds:i(1e-9),ns:i(1e-9),picosecond:i(1e-12),picoseconds:i(1e-12),ps:i(1e-12),femtosecond:i(1e-15),femtoseconds:i(1e-15),fs:i(1e-15)},l={"cubic meter":i(1),"cubic meters":i(1),"cubic metre":i(1),"cubic metres":i(1),"m³":i(1),m3:i(1),"cubic kilometer":i(1e3),"cubic kilometre":i(1e3),"cubic kilometers":i(1e3),"cubic kilometres":i(1e3),"km³":i(1e3),km3:i(1e3),"cubic hectometer":i(1e6),"cubic hectometre":i(1e6),"cubic hectometers":i(1e6),"cubic hectometres":i(1e6),"hm³":i(1e6),hm3:i(1e6),"cubic decameter":i(10),"cubic decametre":i(10),"cubic decameters":i(10),"cubic decametres":i(10),"dam³":i(10),dam3:i(10),"cubic decimeter":i(.1),"cubic decimetre":i(.1),"cubic decimeters":i(.1),"cubic decimetres":i(.1),"dm³":i(.1),dm3:i(.1),"cubic centimeter":i(.01),"cubic centimetre":i(.01),"cubic centimeters":i(.01),"cubic centimetres":i(.01),"cm³":i(.01),cc:i(.01),cm3:i(.01),"cubic millimeter":i(.001),"cubic millimetre":i(.001),"cubic millimeters":i(.001),"cubic millimetres":i(.001),"mm³":i(.001),mm3:i(.001),gigaliter:i(1e6),gigalitre:i(1e6),gigaliters:i(1e6),gigalitres:i(1e6),Gl:i(1e6),GL:i(1e6),megaliter:i(1e6),megalitre:i(1e6),megaliters:i(1e6),megalitres:i(1e6),Ml:i(1e6),ML:i(1e6),kiloliter:i(1e3),kilolitre:i(1e3),kiloliters:i(1e3),kilolitres:i(1e3),kl:i(1e3),kL:i(1e3),hectoliter:i(1e5),hectolitre:i(1e5),hectoliters:i(1e5),hectolitres:i(1e5),hl:i(1e5),hL:i(1e5),decaliter:i(1e4),decalitre:i(1e4),decaliters:i(1e4),decalitres:i(1e4),dal:i(1e4),daL:i(1e4),liter:i(.001),litre:i(.001),liters:i(.001),litres:i(.001),l:i(.001),L:i(.001),deciliter:i(1e-4),decilitre:i(1e-4),deciliters:i(1e-4),decilitres:i(1e-4),dl:i(1e-4),dL:i(1e-4),centiliter:i(1e5),centilitre:i(1e5),centiliters:i(1e5),centilitres:i(1e5),cl:i(1e5),cL:i(1e5),milliliter:i(1e6),millilitre:i(1e6),milliliters:i(1e6),millilitres:i(1e6),ml:i(1e6),mL:i(1e6),microliter:i(1e9),microlitre:i(1e9),microliters:i(1e9),microlitres:i(1e9),"μl":i(1e9),"μL":i(1e9),stere:i(1),steres:i(1),"cubic mile":i(4200),"cubic miles":i(4200),"cu mi":i(4200),cumi:i(4200),mi3:i(4200),"acre-foot":i(1233.48183754752),"acre-feet":i(1233.48183754752),"ac⋅ft":i(1233.48183754752),"ac ft":i(1233.48183754752),"cubic yard":i(.76),"cubic yards":i(.76),"cu yd":i(.76),cuyd:i(.76),yd3:i(.76),"cubic foot":i(.028),"cubic feet":i(.028),"cu ft":i(.028),cuft:i(.028),ft3:i(.028),cufoot:i(.028),foot3:i(.028),"board foot":i(.002359737),"board feet":i(.002359737),"cubic inch":i(.16),"cubic inches":i(.16),"cu in":i(.16),cuin:i(.16),in3:i(.16),"measurement ton":i(1.2),"measurement tons":i(1.2),MTON:i(1.2),"imperial barrel":i(160),"imperial barrels":i(160),"imp bbl":i(160),impbbl:i(160),kilderkin:i(160),kilderkins:i(160),firkin:i(160),firkins:i(160),"imperial bushel":i(160),"imperial bushels":i(160),"imp bsh":i(160),"imp bu":i(160),impbsh:i(160),impbu:i(160),"imperial kenning":i(18),"imperial kennings":i(18),kenning:i(18),impkenning:i(18),"imperial peck":i(9.1),"imperial pecks":i(9.1),pk:i(9.1),imppk:i(9.1),"imperial quart":i(1.1),"imperial quarts":i(1.1),"imp qt":i(1.1),impqt:i(1.1),"imperial gallon":i(1/219.9692),"imperial gallons":i(1/219.9692),"imp gal":i(1/219.9692),impgal:i(1/219.9692),"imperial pint":i(.57),"imperial pints":i(.57),"imp pt":i(.57),imppt:i(.57),gill:i(4.8),gills:i(4.8),gi:i(4.8),impgi:i(4.8),"imperial fluid ounce":i(123),"imperial fluid ounces":i(123),"imp fl oz":i(123),impoz:i(123),"US barrel":i(.164),"US barrels":i(.164),"US bbl":i(.164),"U.S. bbl":i(.164),USbbl:i(.164),usbbl:i(.164),"U.S.bbl":i(.164),barrel:i(1/6.2898),barrels:i(1/6.2898),bbl:i(1/6.2898),oilbbl:i(1/6.2898),"US beer barrel":i(.117),"US beer barrels":i(.117),USbeerbbl:i(.117),usbeerbbl:i(.117),"U.S.beerbbl":i(.117),"US gallon":i(1/264.1721),"US gallons":i(1/264.1721),"US gal":i(1/264.1721),"U.S. gal":i(1/264.1721),USgal:i(1/264.1721),usgal:i(1/264.1721),"U.S.gal":i(1/264.1721),"US quart":i(.000946352946),"US quarts":i(.000946352946),"US qt":i(.000946352946),"U.S. qt":i(.000946352946),USqt:i(.000946352946),usqt:i(.000946352946),"U.S.qt":i(.000946352946),"US pint":i(473176473),"US pints":i(473176473),"US pt":i(473176473),"U.S. pt":i(473176473),USpt:i(473176473),uspt:i(473176473),"U.S.pt":i(473176473),"US gill":i(118e6),"US gills":i(118e6),USgi:i(118e6),usgi:i(118e6),"U.S.gi":i(118e6),"US fluid ounce":i(29573529.5625),"US fluid ounces":i(29573529.5625),"US fl oz":i(29573529.5625),USoz:i(29573529.5625),USflox:i(29573529.5625),usoz:i(29573529.5625),usfloz:i(29573529.5625),"U.S.oz":i(29573529.5625),"U.S.floz":i(29573529.5625),"US dry barrel":i(.12),"US dry barrels":i(.12),"US dry bbl":i(.12),"U.S. dry bbl":i(.12),USdrybbl:i(.12),usdrybbl:i(.12),drybbl:i(.12),"U.S.drybbl":i(.12),"US bushel":i(.0352391),"US bushels":i(.0352391),"US bsh":i(.0352391),"U.S. bsh":i(.0352391),USbsh:i(.0352391),usbsh:i(.0352391),"U.S.bsh":i(.0352391),"US bu":i(.0352391),"U.S. bu":i(.0352391),USbu:i(.0352391),usbu:i(.0352391),"U.S.bu":i(.0352391),"US kenning":i(.12),"US kennings":i(.12),"U.S. kenning":i(.12),USkenning:i(.12),"U.S.kenning":i(.12),uskenning:i(.12),"US peck":i(.00909218),"US pk":i(.00909218),"U.S. pk":i(.00909218),Uspk:i(.00909218),uspk:i(.00909218),"U.S.pk":i(.00909218),"US dry gallon":i(.00440488377086),"US dry gal":i(.00440488377086),"U.S. dry gal":i(.00440488377086),USdrygal:i(.00440488377086),usdrygal:i(.00440488377086),drygal:i(.00440488377086),"U.S.drygal":i(.00440488377086),"US dry quart":i(.000946352946),"US dry qt":i(.000946352946),"U.S. dry qt":i(.000946352946),USdryqt:i(.000946352946),usdryqt:i(.000946352946),dryqt:i(.000946352946),"U.S.dryqt":i(.000946352946),"US dry pint":i(33.6003125),"US dry pt":i(33.6003125),"U.S. dry pt":i(33.6003125),USdrypt:i(33.6003125),"U.S.drypt":i(33.6003125),usdrypt:i(33.6003125),drypt:i(33.6003125)},b=[t,r,a,s,c,m,l];function o(i,t){var r,a,s=i[t];return s||e(!1),(a={}).difference=null!=(r=s.difference)?r:0,a.ratio=s.ratio,a}exports.conversions={__proto__:null,data:t,length:r,mass:a,pressure:s,temperature:c,time:m,volume:l},exports.convert=function(i){return{from:function(t){var r=b.find((function(e){return e[t]}));r||e(!1);var a=o(r,t);return{to:function(e){if(e===t)return i;var s=o(r,e),c=a.ratio/s.ratio;return"bigint"==typeof i?i*BigInt(c)+(BigInt(a.difference)-BigInt(s.difference)):i*c+(a.difference-s.difference)}}}}}; | ||
"use strict";function e(e,i){if(!e)throw new Error("convert: Invariant failed")}Object.defineProperty(exports,"__esModule",{value:!0});var i=function(e,i){return{ratio:e,difference:i}},t={bit:i(1),bits:i(1),b:i(1),unibit:i(1),unibits:i(1),millibit:i(.001),millibits:i(.001),centibit:i(.01),centibits:i(.01),decibit:i(.1),decibits:i(.1),crumb:i(2),crumbs:i(2),dibit:i(2),dibits:i(2),triad:i(3),triads:i(3),triade:i(3),triades:i(3),tribit:i(3),tribits:i(3),nibble:i(4),nibbles:i(4),tetrad:i(4),tetrads:i(4),tetrade:i(4),tetrades:i(4),quadbit:i(4),quadbits:i(4),semioctet:i(4),semioctets:i(4),halfbyte:i(4),halfbytes:i(4),quartet:i(4),quartets:i(4),pentad:i(5),pentads:i(5),hexad:i(6),hexads:i(6),hexade:i(6),hexades:i(6),sextet:i(6),sextets:i(6),heptad:i(7),heptads:i(7),heptade:i(7),heptades:i(7),byte:i(8),bytes:i(8),B:i(8),octect:i(8),octects:i(8),octad:i(8),octads:i(8),octade:i(8),octades:i(8),decabit:i(10),decabits:i(10),declet:i(10),decle:i(10),deckle:i(10),slab:i(12),slabs:i(12),hextet:i(16),hextets:i(16),catena:i(24),catenas:i(24),hectobit:i(100),hectobits:i(100),hbit:i(100),kilobit:i(1e3),kilobits:i(1e3),kbit:i(1e3),kibibit:i(1024),kibibits:i(1024),Kibit:i(1024),kilobyte:i(8e3),kilobytes:i(8e3),kB:i(8e3),kibibyte:i(8192),kibibytes:i(8192),KiB:i(8192),megabit:i(1e6),megabits:i(1e6),Mbit:i(1e6),mebibit:i(1048576),mebibits:i(1048576),Mibit:i(1048576),megabyte:i(8e6),megabytes:i(8e6),MB:i(8e6),mebibyte:i(8388608),mebibytes:i(8388608),MiB:i(8388608),gigabit:i(1e9),gigabits:i(1e9),Gbit:i(1e9),gibibit:i(1073741824),gibibits:i(1073741824),Gibit:i(1073741824),gigabyte:i(8e9),gigabytes:i(8e9),GB:i(8e9),gibibyte:i(8589934592),gibibytes:i(8589934592),GiB:i(8589934592),terabit:i(1e12),terabits:i(1e12),Tbit:i(1e12),tebibit:i(1099511627776),tebibits:i(1099511627776),Tibit:i(1099511627776),terabyte:i(8e12),terabytes:i(8e12),TB:i(8e12),tebibyte:i(8796093022208),tebibytes:i(8796093022208),TiB:i(8796093022208),petabit:i(1e15),petabits:i(1e15),Pbit:i(1e15),pebibit:i(0x4000000000000),pebibits:i(0x4000000000000),Pibit:i(0x4000000000000),petabyte:i(1e15),petabytes:i(1e15),PB:i(1e15),pebibyte:i(9007199254740992),pebibytes:i(9007199254740992),PiB:i(9007199254740992)},r={meter:i(1),meters:i(1),metre:i(1),metres:i(1),m:i(1),petameter:i(1e15),petametre:i(1e15),petameters:i(1e15),petametres:i(1e15),Pm:i(1e15),terameter:i(1e12),terametre:i(1e12),terameters:i(1e12),terametres:i(1e12),Tm:i(1e12),gigameter:i(1e9),gigametre:i(1e9),gigameters:i(1e9),gigametres:i(1e9),Gm:i(1e9),megameter:i(1e6),megametre:i(1e6),megameters:i(1e6),megametres:i(1e6),Mm:i(1e6),kilometer:i(1e3),kilometre:i(1e3),kilometers:i(1e3),kilometres:i(1e3),km:i(1e3),hectometer:i(100),hectometre:i(100),hectometers:i(100),hectometres:i(100),hm:i(100),decameter:i(10),decametre:i(10),decameters:i(10),decametres:i(10),dam:i(10),decimeter:i(.1),decimetre:i(.1),decimeters:i(.1),decimetres:i(.1),dm:i(.1),centimeter:i(.01),centimetre:i(.01),centimeters:i(.01),centimetres:i(.01),cm:i(.01),millimeter:i(.001),millimetre:i(.001),millimeters:i(.001),millimetres:i(.001),mm:i(.001),micrometer:i(1e-7),micrometre:i(1e-7),micrometers:i(1e-7),micrometres:i(1e-7),"μm":i(1e-7),nanometer:i(1e-9),nanometre:i(1e-9),nanometers:i(1e-9),nanometres:i(1e-9),nm:i(1e-9),picometer:i(1e-12),picometre:i(1e-12),picometers:i(1e-12),picometres:i(1e-12),pm:i(1e-12),femtometer:i(1e-15),femtometre:i(1e-15),femtometers:i(1e-15),femtometres:i(1e-15),fm:i(1e-15),foot:i(.3048),feet:i(.3048),ft:i(.3048),inch:i(.0254),inches:i(.0254),in:i(.0254),yard:i(.9144),yards:i(.9144),yd:i(.9144),mile:i(1609.344),miles:i(1609.344),mi:i(1609.344),"nautical mile":i(1852),"nautical miles":i(1852),M:i(1852),NM:i(1852),nmi:i(1852)},a={kilogram:i(1e3),kilograms:i(1e3),kg:i(1e3),gram:i(1),grams:i(1),g:i(1),decagram:i(10),decagrams:i(10),dag:i(10),hectogram:i(100),hectograms:i(100),hg:i(100),megagram:i(1e6),megagrams:i(1e6),Mg:i(1e6),tonne:i(1e6),tonnes:i(1e6),"metric ton":i(1e6),"metric tons":i(1e6),t:i(1e6),gigagram:i(1e9),gigagrams:i(1e9),Gg:i(1e9),teragram:i(1e12),teragrams:i(1e12),Tg:i(1e12),petagram:i(1e15),petagrams:i(1e15),Pg:i(1e15),exagram:i(1e18),exagrams:i(1e18),Eg:i(1e18),zettagram:i(1e21),zettagrams:i(1e21),Zg:i(1e21),yottagram:i(1e24),yottagrams:i(1e24),Yg:i(1e24),decigram:i(.1),decigrams:i(.1),dg:i(.1),centigram:i(.01),centigrams:i(.01),cg:i(.01),milligram:i(.001),milligrams:i(.001),mg:i(.001),microgram:i(1e-6),micrograms:i(1e-6),"µg":i(1e-6),nanogram:i(1e-9),nanograms:i(1e-9),ng:i(1e-9),picogram:i(1e-12),picograms:i(1e-12),pg:i(1e-12),femtogram:i(1e-15),femtograms:i(1e-15),fg:i(1e-15),attogram:i(1e-18),attograms:i(1e-18),ag:i(1e-18),zeptogram:i(1e-21),zeptograms:i(1e-21),zg:i(1e-21),yoctogram:i(1e-24),yoctograms:i(1e-24),yg:i(1e-24),pound:i(453.59237),pounds:i(453.59237),lb:i(453.59237),stone:i(453.59237*14),stones:i(453.59237*14),st:i(453.59237*14),ounce:i(28.349523125),ounces:i(28.349523125),oz:i(28.349523125),"℥":i(28.349523125),"short ton":i(907184.74),"short tons":i(907184.74),"us ton":i(907184.74),"us tons":i(907184.74),"long ton":i(453.59237*2240),"long tons":i(453.59237*2240),"imperial ton":i(453.59237*2240),"imperial tons":i(453.59237*2240),"displacement ton":i(453.59237*2240),"displacement tons":i(453.59237*2240)},s={pascal:i(1),pascals:i(1),Pa:i(1),femtopascal:i(1e-15),femtopascals:i(1e-15),fPa:i(1e-15),picopascal:i(1e-12),picopascals:i(1e-12),pPa:i(1e-12),nanopascal:i(1e-9),nanopascals:i(1e-9),nPa:i(1e-9),micropascal:i(1e-6),micropascals:i(1e-6),"μPa":i(1e-6),millipascal:i(.001),millipascals:i(.001),mPa:i(.001),centipascal:i(.01),centipascals:i(.01),cPa:i(.01),decipascal:i(.1),decipascals:i(.1),dPa:i(.1),decapascal:i(10),decapascals:i(10),daPa:i(10),hectopascal:i(100),hectopascals:i(100),hPa:i(100),kilopascal:i(1e3),kilopascals:i(1e3),kPa:i(1e3),megapascal:i(1e6),megapascals:i(1e6),MPa:i(1e6),gigapascal:i(1e9),gigapascals:i(1e9),GPa:i(1e9),terapascal:i(1e12),terapascals:i(1e12),TPa:i(1e12),petapascal:i(1e15),petapascals:i(1e15),PPa:i(1e15),bar:i(1e5),femtobar:i(1e-15),femtobars:i(1e-15),fbar:i(1e-15),picobar:i(1e-12),picobars:i(1e-12),pbar:i(1e-12),nanobar:i(1e-9),nanobars:i(1e-9),nbar:i(1e-9),microbar:i(1e-6),microbars:i(1e-6),"μbar":i(1e-6),millibar:i(.001),millibars:i(.001),mbar:i(.001),centibar:i(.01),centibars:i(.01),cbar:i(.01),decibar:i(.1),decibars:i(.1),dbar:i(.1),decabar:i(10),decabars:i(10),dabar:i(10),hectobar:i(100),hectobars:i(100),hbar:i(100),kilobar:i(1e3),kilobars:i(1e3),kbar:i(1e3),megabar:i(1e6),megabars:i(1e6),Mbar:i(1e6),gigabar:i(1e9),gigabars:i(1e9),Gbar:i(1e9),terabar:i(1e12),terabars:i(1e12),Tbar:i(1e12),petabar:i(1e15),petabars:i(1e15),Pbar:i(1e15),torr:i(101325/760),millitorr:i(101325/760/1e3),millitorrs:i(101325/760/1e3),mTorr:i(101325/760/1e3),atmosphere:i(101325),atmospheres:i(101325),atm:i(101325)},c={kelvin:i(1),kelvins:i(1),K:i(1),fahrenheit:i(5/9,273.15-32),F:i(5/9,273.15-32),celsius:i(1,273.15),C:i(1,273.15),rankine:i(5/9),R:i(5/9),delisle:i(-2/3,373.15),De:i(-2/3,373.15)},m={second:i(1),seconds:i(1),s:i(1),century:i(3155695200),centuries:i(3155695200),c:i(3155695200),day:i(86400),days:i(86400),d:i(86400),decade:i(315569520),decades:i(315569520),dec:i(315569520),fortnight:i(1209600),fortnights:i(1209600),fn:i(1209600),helek:i(3+1/3),halakim:i(3+1/3),hour:i(3600),hours:i(3600),h:i(3600),jiffy:i(1/60),jiffies:i(1/60),j:i(1/60),ja:i(.01),ke:i(900),millennium:i(31556952e3),millennia:i(31556952e3),milliday:i(86.4),millidays:i(86.4),md:i(86.4),minute:i(60),minutes:i(60),min:i(60),moment:i(90),moments:i(90),month:i(2592e3),months:i(2592e3),mo:i(2592e3),shake:i(1e-8),shakes:i(1e-8),sigma:i(1e-6),sigmas:i(1e-6),svedberg:i(1e-13),svedbergs:i(1e-13),S:i(1e-13),week:i(604800),weeks:i(604800),wk:i(604800),year:i(31536e3),years:i(31536e3),a:i(31536e3),y:i(31536e3),yr:i(31536e3),petasecond:i(1e15),petaseconds:i(1e15),Ps:i(1e15),terasecond:i(1e12),teraseconds:i(1e12),Ts:i(1e12),gigasecond:i(1e9),gigaseconds:i(1e9),Gs:i(1e9),megasecond:i(1e6),megaseconds:i(1e6),Ms:i(1e6),kilosecond:i(1e3),kiloseconds:i(1e3),ks:i(1e3),hectosecond:i(100),hectoseconds:i(100),hs:i(100),decasecond:i(10),decaseconds:i(10),das:i(10),decisecond:i(.1),deciseconds:i(.1),ds:i(.1),centisecond:i(.01),centiseconds:i(.01),cs:i(.01),millisecond:i(.001),milliseconds:i(.001),ms:i(.001),microsecond:i(1e-7),microseconds:i(1e-7),"μs":i(1e-7),nanosecond:i(1e-9),nanoseconds:i(1e-9),ns:i(1e-9),picosecond:i(1e-12),picoseconds:i(1e-12),ps:i(1e-12),femtosecond:i(1e-15),femtoseconds:i(1e-15),fs:i(1e-15)},l={"cubic meter":i(1),"cubic meters":i(1),"cubic metre":i(1),"cubic metres":i(1),"m³":i(1),m3:i(1),"cubic kilometer":i(1e3),"cubic kilometre":i(1e3),"cubic kilometers":i(1e3),"cubic kilometres":i(1e3),"km³":i(1e3),km3:i(1e3),"cubic hectometer":i(1e6),"cubic hectometre":i(1e6),"cubic hectometers":i(1e6),"cubic hectometres":i(1e6),"hm³":i(1e6),hm3:i(1e6),"cubic decameter":i(10),"cubic decametre":i(10),"cubic decameters":i(10),"cubic decametres":i(10),"dam³":i(10),dam3:i(10),"cubic decimeter":i(.1),"cubic decimetre":i(.1),"cubic decimeters":i(.1),"cubic decimetres":i(.1),"dm³":i(.1),dm3:i(.1),"cubic centimeter":i(.01),"cubic centimetre":i(.01),"cubic centimeters":i(.01),"cubic centimetres":i(.01),"cm³":i(.01),cc:i(.01),cm3:i(.01),"cubic millimeter":i(.001),"cubic millimetre":i(.001),"cubic millimeters":i(.001),"cubic millimetres":i(.001),"mm³":i(.001),mm3:i(.001),gigaliter:i(1e6),gigalitre:i(1e6),gigaliters:i(1e6),gigalitres:i(1e6),Gl:i(1e6),GL:i(1e6),megaliter:i(1e6),megalitre:i(1e6),megaliters:i(1e6),megalitres:i(1e6),Ml:i(1e6),ML:i(1e6),kiloliter:i(1e3),kilolitre:i(1e3),kiloliters:i(1e3),kilolitres:i(1e3),kl:i(1e3),kL:i(1e3),hectoliter:i(1e5),hectolitre:i(1e5),hectoliters:i(1e5),hectolitres:i(1e5),hl:i(1e5),hL:i(1e5),decaliter:i(1e4),decalitre:i(1e4),decaliters:i(1e4),decalitres:i(1e4),dal:i(1e4),daL:i(1e4),liter:i(.001),litre:i(.001),liters:i(.001),litres:i(.001),l:i(.001),L:i(.001),deciliter:i(1e-4),decilitre:i(1e-4),deciliters:i(1e-4),decilitres:i(1e-4),dl:i(1e-4),dL:i(1e-4),centiliter:i(1e5),centilitre:i(1e5),centiliters:i(1e5),centilitres:i(1e5),cl:i(1e5),cL:i(1e5),milliliter:i(1e6),millilitre:i(1e6),milliliters:i(1e6),millilitres:i(1e6),ml:i(1e6),mL:i(1e6),microliter:i(1e9),microlitre:i(1e9),microliters:i(1e9),microlitres:i(1e9),"μl":i(1e9),"μL":i(1e9),stere:i(1),steres:i(1),"cubic mile":i(4200),"cubic miles":i(4200),"cu mi":i(4200),cumi:i(4200),mi3:i(4200),"acre-foot":i(1233.48183754752),"acre-feet":i(1233.48183754752),"ac⋅ft":i(1233.48183754752),"ac ft":i(1233.48183754752),"cubic yard":i(.76),"cubic yards":i(.76),"cu yd":i(.76),cuyd:i(.76),yd3:i(.76),"cubic foot":i(.028),"cubic feet":i(.028),"cu ft":i(.028),cuft:i(.028),ft3:i(.028),cufoot:i(.028),foot3:i(.028),"board foot":i(.002359737),"board feet":i(.002359737),"cubic inch":i(.16),"cubic inches":i(.16),"cu in":i(.16),cuin:i(.16),in3:i(.16),"measurement ton":i(1.133),"measurement tons":i(1.133),MTON:i(1.133),"imperial barrel":i(.16),"imperial barrels":i(.16),"imp bbl":i(.16),impbbl:i(.16),kilderkin:i(.08318),kilderkins:i(.08318),firkin:i(.041),firkins:i(.041),"imperial bushel":i(.03636872),"imperial bushels":i(.03636872),"imp bsh":i(.03636872),"imp bu":i(.03636872),impbsh:i(.03636872),impbu:i(.03636872),"imperial peck":i(.00909218),"imperial pecks":i(.00909218),pk:i(.00909218),imppk:i(.00909218),"imperial quart":i(1136522500),"imperial quarts":i(1136522500),"imp qt":i(1136522500),impqt:i(1136522500),"imperial gallon":i(454609e4),"imperial gallons":i(454609e4),"imp gal":i(454609e4),impgal:i(454609e4),"imperial pint":i(568261250),"imperial pints":i(568261250),"imp pt":i(568261250),imppt:i(568261250),gill:i(142065312.5),gills:i(142065312.5),gi:i(142065312.5),impgi:i(142065312.5),"imperial fluid ounce":i(28413062.5),"imperial fluid ounces":i(28413062.5),"imp fl oz":i(28413062.5),impoz:i(28413062.5),"US barrel":i(.164),"US barrels":i(.164),"US bbl":i(.164),"U.S. bbl":i(.164),USbbl:i(.164),usbbl:i(.164),"U.S.bbl":i(.164),barrel:i(1/6.2898),barrels:i(1/6.2898),bbl:i(1/6.2898),oilbbl:i(1/6.2898),"US beer barrel":i(.117),"US beer barrels":i(.117),USbeerbbl:i(.117),usbeerbbl:i(.117),"U.S.beerbbl":i(.117),"US gallon":i(1/264.1721),"US gallons":i(1/264.1721),"US gal":i(1/264.1721),"U.S. gal":i(1/264.1721),USgal:i(1/264.1721),usgal:i(1/264.1721),"U.S.gal":i(1/264.1721),"US quart":i(.000946352946),"US quarts":i(.000946352946),"US qt":i(.000946352946),"U.S. qt":i(.000946352946),USqt:i(.000946352946),usqt:i(.000946352946),"U.S.qt":i(.000946352946),"US pint":i(473176473),"US pints":i(473176473),"US pt":i(473176473),"U.S. pt":i(473176473),USpt:i(473176473),uspt:i(473176473),"U.S.pt":i(473176473),"US gill":i(118e6),"US gills":i(118e6),USgi:i(118e6),usgi:i(118e6),"U.S.gi":i(118e6),"US fluid ounce":i(29573529.5625),"US fluid ounces":i(29573529.5625),"US fl oz":i(29573529.5625),USoz:i(29573529.5625),USflox:i(29573529.5625),usoz:i(29573529.5625),usfloz:i(29573529.5625),"U.S.oz":i(29573529.5625),"U.S.floz":i(29573529.5625),"US dry barrel":i(.12),"US dry barrels":i(.12),"US dry bbl":i(.12),"U.S. dry bbl":i(.12),USdrybbl:i(.12),usdrybbl:i(.12),drybbl:i(.12),"U.S.drybbl":i(.12),"US bushel":i(.0352391),"US bushels":i(.0352391),"US bsh":i(.0352391),"U.S. bsh":i(.0352391),USbsh:i(.0352391),usbsh:i(.0352391),"U.S.bsh":i(.0352391),"US bu":i(.0352391),"U.S. bu":i(.0352391),USbu:i(.0352391),usbu:i(.0352391),"U.S.bu":i(.0352391),"US kenning":i(.12),"US kennings":i(.12),"U.S. kenning":i(.12),USkenning:i(.12),"U.S.kenning":i(.12),uskenning:i(.12),"US peck":i(.00909218),"US pk":i(.00909218),"U.S. pk":i(.00909218),Uspk:i(.00909218),uspk:i(.00909218),"U.S.pk":i(.00909218),"US dry gallon":i(.00440488377086),"US dry gal":i(.00440488377086),"U.S. dry gal":i(.00440488377086),USdrygal:i(.00440488377086),usdrygal:i(.00440488377086),drygal:i(.00440488377086),"U.S.drygal":i(.00440488377086),"US dry quart":i(.000946352946),"US dry qt":i(.000946352946),"U.S. dry qt":i(.000946352946),USdryqt:i(.000946352946),usdryqt:i(.000946352946),dryqt:i(.000946352946),"U.S.dryqt":i(.000946352946),"US dry pint":i(33.6003125),"US dry pt":i(33.6003125),"U.S. dry pt":i(33.6003125),USdrypt:i(33.6003125),"U.S.drypt":i(33.6003125),usdrypt:i(33.6003125),drypt:i(33.6003125)},b=[t,r,a,s,c,m,l];function o(i,t){var r,a,s=i[t];return s||e(!1),(a={}).difference=null!=(r=s.difference)?r:0,a.ratio=s.ratio,a}exports.conversions={__proto__:null,data:t,length:r,mass:a,pressure:s,temperature:c,time:m,volume:l},exports.convert=function(i){return{from:function(t){var r=b.find((function(e){return e[t]}));r||e(!1);var a=o(r,t);return{to:function(e){if(e===t)return i;var s=o(r,e),c=a.ratio/s.ratio;return"bigint"==typeof i?i*BigInt(c)+(BigInt(a.difference)-BigInt(s.difference)):i*c+(a.difference-s.difference)}}}}}; | ||
//# sourceMappingURL=convert.cjs.production.min.js.map |
@@ -762,49 +762,46 @@ var prefix = 'convert: Invariant failed'; | ||
in3: /*#__PURE__*/ratioer(1.6e-1), | ||
'measurement ton': /*#__PURE__*/ratioer(1.2), | ||
'measurement tons': /*#__PURE__*/ratioer(1.2), | ||
MTON: /*#__PURE__*/ratioer(1.2), | ||
'measurement ton': /*#__PURE__*/ratioer(1.133), | ||
'measurement tons': /*#__PURE__*/ratioer(1.133), | ||
MTON: /*#__PURE__*/ratioer(1.133), | ||
//#endregion | ||
//#region Imperial | ||
'imperial barrel': /*#__PURE__*/ratioer(160), | ||
'imperial barrels': /*#__PURE__*/ratioer(160), | ||
'imp bbl': /*#__PURE__*/ratioer(160), | ||
impbbl: /*#__PURE__*/ratioer(160), | ||
kilderkin: /*#__PURE__*/ratioer(160), | ||
kilderkins: /*#__PURE__*/ratioer(160), | ||
firkin: /*#__PURE__*/ratioer(160), | ||
firkins: /*#__PURE__*/ratioer(160), | ||
'imperial bushel': /*#__PURE__*/ratioer(160), | ||
'imperial bushels': /*#__PURE__*/ratioer(160), | ||
'imp bsh': /*#__PURE__*/ratioer(160), | ||
'imp bu': /*#__PURE__*/ratioer(160), | ||
impbsh: /*#__PURE__*/ratioer(160), | ||
impbu: /*#__PURE__*/ratioer(160), | ||
'imperial kenning': /*#__PURE__*/ratioer(18), | ||
'imperial kennings': /*#__PURE__*/ratioer(18), | ||
kenning: /*#__PURE__*/ratioer(18), | ||
impkenning: /*#__PURE__*/ratioer(18), | ||
'imperial peck': /*#__PURE__*/ratioer(9.1), | ||
'imperial pecks': /*#__PURE__*/ratioer(9.1), | ||
pk: /*#__PURE__*/ratioer(9.1), | ||
imppk: /*#__PURE__*/ratioer(9.1), | ||
'imperial quart': /*#__PURE__*/ratioer(1.1), | ||
'imperial quarts': /*#__PURE__*/ratioer(1.1), | ||
'imp qt': /*#__PURE__*/ratioer(1.1), | ||
impqt: /*#__PURE__*/ratioer(1.1), | ||
'imperial gallon': /*#__PURE__*/ratioer(1 / 219.9692), | ||
'imperial gallons': /*#__PURE__*/ratioer(1 / 219.9692), | ||
'imp gal': /*#__PURE__*/ratioer(1 / 219.9692), | ||
impgal: /*#__PURE__*/ratioer(1 / 219.9692), | ||
'imperial pint': /*#__PURE__*/ratioer(0.57), | ||
'imperial pints': /*#__PURE__*/ratioer(0.57), | ||
'imp pt': /*#__PURE__*/ratioer(0.57), | ||
imppt: /*#__PURE__*/ratioer(0.57), | ||
gill: /*#__PURE__*/ratioer(4.8), | ||
gills: /*#__PURE__*/ratioer(4.8), | ||
gi: /*#__PURE__*/ratioer(4.8), | ||
impgi: /*#__PURE__*/ratioer(4.8), | ||
'imperial fluid ounce': /*#__PURE__*/ratioer(123), | ||
'imperial fluid ounces': /*#__PURE__*/ratioer(123), | ||
'imp fl oz': /*#__PURE__*/ratioer(123), | ||
impoz: /*#__PURE__*/ratioer(123), | ||
// https://en.wikipedia.org/wiki/Imperial_units#Volume | ||
'imperial barrel': /*#__PURE__*/ratioer(0.16), | ||
'imperial barrels': /*#__PURE__*/ratioer(0.16), | ||
'imp bbl': /*#__PURE__*/ratioer(0.16), | ||
impbbl: /*#__PURE__*/ratioer(0.16), | ||
kilderkin: /*#__PURE__*/ratioer(0.08318), | ||
kilderkins: /*#__PURE__*/ratioer(0.08318), | ||
firkin: /*#__PURE__*/ratioer(0.041), | ||
firkins: /*#__PURE__*/ratioer(0.041), | ||
'imperial bushel': /*#__PURE__*/ratioer(0.03636872), | ||
'imperial bushels': /*#__PURE__*/ratioer(0.03636872), | ||
'imp bsh': /*#__PURE__*/ratioer(0.03636872), | ||
'imp bu': /*#__PURE__*/ratioer(0.03636872), | ||
impbsh: /*#__PURE__*/ratioer(0.03636872), | ||
impbu: /*#__PURE__*/ratioer(0.03636872), | ||
'imperial peck': /*#__PURE__*/ratioer(0.00909218), | ||
'imperial pecks': /*#__PURE__*/ratioer(0.00909218), | ||
pk: /*#__PURE__*/ratioer(0.00909218), | ||
imppk: /*#__PURE__*/ratioer(0.00909218), | ||
'imperial quart': /*#__PURE__*/ratioer(0.0011365225e12), | ||
'imperial quarts': /*#__PURE__*/ratioer(0.0011365225e12), | ||
'imp qt': /*#__PURE__*/ratioer(0.0011365225e12), | ||
impqt: /*#__PURE__*/ratioer(0.0011365225e12), | ||
'imperial gallon': /*#__PURE__*/ratioer(0.00454609e12), | ||
'imperial gallons': /*#__PURE__*/ratioer(0.00454609e12), | ||
'imp gal': /*#__PURE__*/ratioer(0.00454609e12), | ||
impgal: /*#__PURE__*/ratioer(0.00454609e12), | ||
'imperial pint': /*#__PURE__*/ratioer(0.00056826125e12), | ||
'imperial pints': /*#__PURE__*/ratioer(0.00056826125e12), | ||
'imp pt': /*#__PURE__*/ratioer(0.00056826125e12), | ||
imppt: /*#__PURE__*/ratioer(0.00056826125e12), | ||
gill: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
gills: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
gi: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
impgi: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
'imperial fluid ounce': /*#__PURE__*/ratioer(2.84130625e7), | ||
'imperial fluid ounces': /*#__PURE__*/ratioer(2.84130625e7), | ||
'imp fl oz': /*#__PURE__*/ratioer(2.84130625e7), | ||
impoz: /*#__PURE__*/ratioer(2.84130625e7), | ||
//#endregion | ||
@@ -811,0 +808,0 @@ //#region US customary liquid measure |
@@ -766,49 +766,46 @@ (function (global, factory) { | ||
in3: /*#__PURE__*/ratioer(1.6e-1), | ||
'measurement ton': /*#__PURE__*/ratioer(1.2), | ||
'measurement tons': /*#__PURE__*/ratioer(1.2), | ||
MTON: /*#__PURE__*/ratioer(1.2), | ||
'measurement ton': /*#__PURE__*/ratioer(1.133), | ||
'measurement tons': /*#__PURE__*/ratioer(1.133), | ||
MTON: /*#__PURE__*/ratioer(1.133), | ||
//#endregion | ||
//#region Imperial | ||
'imperial barrel': /*#__PURE__*/ratioer(160), | ||
'imperial barrels': /*#__PURE__*/ratioer(160), | ||
'imp bbl': /*#__PURE__*/ratioer(160), | ||
impbbl: /*#__PURE__*/ratioer(160), | ||
kilderkin: /*#__PURE__*/ratioer(160), | ||
kilderkins: /*#__PURE__*/ratioer(160), | ||
firkin: /*#__PURE__*/ratioer(160), | ||
firkins: /*#__PURE__*/ratioer(160), | ||
'imperial bushel': /*#__PURE__*/ratioer(160), | ||
'imperial bushels': /*#__PURE__*/ratioer(160), | ||
'imp bsh': /*#__PURE__*/ratioer(160), | ||
'imp bu': /*#__PURE__*/ratioer(160), | ||
impbsh: /*#__PURE__*/ratioer(160), | ||
impbu: /*#__PURE__*/ratioer(160), | ||
'imperial kenning': /*#__PURE__*/ratioer(18), | ||
'imperial kennings': /*#__PURE__*/ratioer(18), | ||
kenning: /*#__PURE__*/ratioer(18), | ||
impkenning: /*#__PURE__*/ratioer(18), | ||
'imperial peck': /*#__PURE__*/ratioer(9.1), | ||
'imperial pecks': /*#__PURE__*/ratioer(9.1), | ||
pk: /*#__PURE__*/ratioer(9.1), | ||
imppk: /*#__PURE__*/ratioer(9.1), | ||
'imperial quart': /*#__PURE__*/ratioer(1.1), | ||
'imperial quarts': /*#__PURE__*/ratioer(1.1), | ||
'imp qt': /*#__PURE__*/ratioer(1.1), | ||
impqt: /*#__PURE__*/ratioer(1.1), | ||
'imperial gallon': /*#__PURE__*/ratioer(1 / 219.9692), | ||
'imperial gallons': /*#__PURE__*/ratioer(1 / 219.9692), | ||
'imp gal': /*#__PURE__*/ratioer(1 / 219.9692), | ||
impgal: /*#__PURE__*/ratioer(1 / 219.9692), | ||
'imperial pint': /*#__PURE__*/ratioer(0.57), | ||
'imperial pints': /*#__PURE__*/ratioer(0.57), | ||
'imp pt': /*#__PURE__*/ratioer(0.57), | ||
imppt: /*#__PURE__*/ratioer(0.57), | ||
gill: /*#__PURE__*/ratioer(4.8), | ||
gills: /*#__PURE__*/ratioer(4.8), | ||
gi: /*#__PURE__*/ratioer(4.8), | ||
impgi: /*#__PURE__*/ratioer(4.8), | ||
'imperial fluid ounce': /*#__PURE__*/ratioer(123), | ||
'imperial fluid ounces': /*#__PURE__*/ratioer(123), | ||
'imp fl oz': /*#__PURE__*/ratioer(123), | ||
impoz: /*#__PURE__*/ratioer(123), | ||
// https://en.wikipedia.org/wiki/Imperial_units#Volume | ||
'imperial barrel': /*#__PURE__*/ratioer(0.16), | ||
'imperial barrels': /*#__PURE__*/ratioer(0.16), | ||
'imp bbl': /*#__PURE__*/ratioer(0.16), | ||
impbbl: /*#__PURE__*/ratioer(0.16), | ||
kilderkin: /*#__PURE__*/ratioer(0.08318), | ||
kilderkins: /*#__PURE__*/ratioer(0.08318), | ||
firkin: /*#__PURE__*/ratioer(0.041), | ||
firkins: /*#__PURE__*/ratioer(0.041), | ||
'imperial bushel': /*#__PURE__*/ratioer(0.03636872), | ||
'imperial bushels': /*#__PURE__*/ratioer(0.03636872), | ||
'imp bsh': /*#__PURE__*/ratioer(0.03636872), | ||
'imp bu': /*#__PURE__*/ratioer(0.03636872), | ||
impbsh: /*#__PURE__*/ratioer(0.03636872), | ||
impbu: /*#__PURE__*/ratioer(0.03636872), | ||
'imperial peck': /*#__PURE__*/ratioer(0.00909218), | ||
'imperial pecks': /*#__PURE__*/ratioer(0.00909218), | ||
pk: /*#__PURE__*/ratioer(0.00909218), | ||
imppk: /*#__PURE__*/ratioer(0.00909218), | ||
'imperial quart': /*#__PURE__*/ratioer(0.0011365225e12), | ||
'imperial quarts': /*#__PURE__*/ratioer(0.0011365225e12), | ||
'imp qt': /*#__PURE__*/ratioer(0.0011365225e12), | ||
impqt: /*#__PURE__*/ratioer(0.0011365225e12), | ||
'imperial gallon': /*#__PURE__*/ratioer(0.00454609e12), | ||
'imperial gallons': /*#__PURE__*/ratioer(0.00454609e12), | ||
'imp gal': /*#__PURE__*/ratioer(0.00454609e12), | ||
impgal: /*#__PURE__*/ratioer(0.00454609e12), | ||
'imperial pint': /*#__PURE__*/ratioer(0.00056826125e12), | ||
'imperial pints': /*#__PURE__*/ratioer(0.00056826125e12), | ||
'imp pt': /*#__PURE__*/ratioer(0.00056826125e12), | ||
imppt: /*#__PURE__*/ratioer(0.00056826125e12), | ||
gill: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
gills: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
gi: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
impgi: /*#__PURE__*/ratioer(0.0001420653125e12), | ||
'imperial fluid ounce': /*#__PURE__*/ratioer(2.84130625e7), | ||
'imperial fluid ounces': /*#__PURE__*/ratioer(2.84130625e7), | ||
'imp fl oz': /*#__PURE__*/ratioer(2.84130625e7), | ||
impoz: /*#__PURE__*/ratioer(2.84130625e7), | ||
//#endregion | ||
@@ -815,0 +812,0 @@ //#region US customary liquid measure |
@@ -1,2 +0,2 @@ | ||
!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i((e=e||self).convert={})}(this,(function(e){"use strict";function i(e,i){if(!e)throw new Error("convert: Invariant failed")}var t=function(e,i){return{ratio:e,difference:i}},r={bit:t(1),bits:t(1),b:t(1),unibit:t(1),unibits:t(1),millibit:t(.001),millibits:t(.001),centibit:t(.01),centibits:t(.01),decibit:t(.1),decibits:t(.1),crumb:t(2),crumbs:t(2),dibit:t(2),dibits:t(2),triad:t(3),triads:t(3),triade:t(3),triades:t(3),tribit:t(3),tribits:t(3),nibble:t(4),nibbles:t(4),tetrad:t(4),tetrads:t(4),tetrade:t(4),tetrades:t(4),quadbit:t(4),quadbits:t(4),semioctet:t(4),semioctets:t(4),halfbyte:t(4),halfbytes:t(4),quartet:t(4),quartets:t(4),pentad:t(5),pentads:t(5),hexad:t(6),hexads:t(6),hexade:t(6),hexades:t(6),sextet:t(6),sextets:t(6),heptad:t(7),heptads:t(7),heptade:t(7),heptades:t(7),byte:t(8),bytes:t(8),B:t(8),octect:t(8),octects:t(8),octad:t(8),octads:t(8),octade:t(8),octades:t(8),decabit:t(10),decabits:t(10),declet:t(10),decle:t(10),deckle:t(10),slab:t(12),slabs:t(12),hextet:t(16),hextets:t(16),catena:t(24),catenas:t(24),hectobit:t(100),hectobits:t(100),hbit:t(100),kilobit:t(1e3),kilobits:t(1e3),kbit:t(1e3),kibibit:t(1024),kibibits:t(1024),Kibit:t(1024),kilobyte:t(8e3),kilobytes:t(8e3),kB:t(8e3),kibibyte:t(8192),kibibytes:t(8192),KiB:t(8192),megabit:t(1e6),megabits:t(1e6),Mbit:t(1e6),mebibit:t(1048576),mebibits:t(1048576),Mibit:t(1048576),megabyte:t(8e6),megabytes:t(8e6),MB:t(8e6),mebibyte:t(8388608),mebibytes:t(8388608),MiB:t(8388608),gigabit:t(1e9),gigabits:t(1e9),Gbit:t(1e9),gibibit:t(1073741824),gibibits:t(1073741824),Gibit:t(1073741824),gigabyte:t(8e9),gigabytes:t(8e9),GB:t(8e9),gibibyte:t(8589934592),gibibytes:t(8589934592),GiB:t(8589934592),terabit:t(1e12),terabits:t(1e12),Tbit:t(1e12),tebibit:t(1099511627776),tebibits:t(1099511627776),Tibit:t(1099511627776),terabyte:t(8e12),terabytes:t(8e12),TB:t(8e12),tebibyte:t(8796093022208),tebibytes:t(8796093022208),TiB:t(8796093022208),petabit:t(1e15),petabits:t(1e15),Pbit:t(1e15),pebibit:t(0x4000000000000),pebibits:t(0x4000000000000),Pibit:t(0x4000000000000),petabyte:t(1e15),petabytes:t(1e15),PB:t(1e15),pebibyte:t(9007199254740992),pebibytes:t(9007199254740992),PiB:t(9007199254740992)},a={meter:t(1),meters:t(1),metre:t(1),metres:t(1),m:t(1),petameter:t(1e15),petametre:t(1e15),petameters:t(1e15),petametres:t(1e15),Pm:t(1e15),terameter:t(1e12),terametre:t(1e12),terameters:t(1e12),terametres:t(1e12),Tm:t(1e12),gigameter:t(1e9),gigametre:t(1e9),gigameters:t(1e9),gigametres:t(1e9),Gm:t(1e9),megameter:t(1e6),megametre:t(1e6),megameters:t(1e6),megametres:t(1e6),Mm:t(1e6),kilometer:t(1e3),kilometre:t(1e3),kilometers:t(1e3),kilometres:t(1e3),km:t(1e3),hectometer:t(100),hectometre:t(100),hectometers:t(100),hectometres:t(100),hm:t(100),decameter:t(10),decametre:t(10),decameters:t(10),decametres:t(10),dam:t(10),decimeter:t(.1),decimetre:t(.1),decimeters:t(.1),decimetres:t(.1),dm:t(.1),centimeter:t(.01),centimetre:t(.01),centimeters:t(.01),centimetres:t(.01),cm:t(.01),millimeter:t(.001),millimetre:t(.001),millimeters:t(.001),millimetres:t(.001),mm:t(.001),micrometer:t(1e-7),micrometre:t(1e-7),micrometers:t(1e-7),micrometres:t(1e-7),"μm":t(1e-7),nanometer:t(1e-9),nanometre:t(1e-9),nanometers:t(1e-9),nanometres:t(1e-9),nm:t(1e-9),picometer:t(1e-12),picometre:t(1e-12),picometers:t(1e-12),picometres:t(1e-12),pm:t(1e-12),femtometer:t(1e-15),femtometre:t(1e-15),femtometers:t(1e-15),femtometres:t(1e-15),fm:t(1e-15),foot:t(.3048),feet:t(.3048),ft:t(.3048),inch:t(.0254),inches:t(.0254),in:t(.0254),yard:t(.9144),yards:t(.9144),yd:t(.9144),mile:t(1609.344),miles:t(1609.344),mi:t(1609.344),"nautical mile":t(1852),"nautical miles":t(1852),M:t(1852),NM:t(1852),nmi:t(1852)},s={kilogram:t(1e3),kilograms:t(1e3),kg:t(1e3),gram:t(1),grams:t(1),g:t(1),decagram:t(10),decagrams:t(10),dag:t(10),hectogram:t(100),hectograms:t(100),hg:t(100),megagram:t(1e6),megagrams:t(1e6),Mg:t(1e6),tonne:t(1e6),tonnes:t(1e6),"metric ton":t(1e6),"metric tons":t(1e6),t:t(1e6),gigagram:t(1e9),gigagrams:t(1e9),Gg:t(1e9),teragram:t(1e12),teragrams:t(1e12),Tg:t(1e12),petagram:t(1e15),petagrams:t(1e15),Pg:t(1e15),exagram:t(1e18),exagrams:t(1e18),Eg:t(1e18),zettagram:t(1e21),zettagrams:t(1e21),Zg:t(1e21),yottagram:t(1e24),yottagrams:t(1e24),Yg:t(1e24),decigram:t(.1),decigrams:t(.1),dg:t(.1),centigram:t(.01),centigrams:t(.01),cg:t(.01),milligram:t(.001),milligrams:t(.001),mg:t(.001),microgram:t(1e-6),micrograms:t(1e-6),"µg":t(1e-6),nanogram:t(1e-9),nanograms:t(1e-9),ng:t(1e-9),picogram:t(1e-12),picograms:t(1e-12),pg:t(1e-12),femtogram:t(1e-15),femtograms:t(1e-15),fg:t(1e-15),attogram:t(1e-18),attograms:t(1e-18),ag:t(1e-18),zeptogram:t(1e-21),zeptograms:t(1e-21),zg:t(1e-21),yoctogram:t(1e-24),yoctograms:t(1e-24),yg:t(1e-24),pound:t(453.59237),pounds:t(453.59237),lb:t(453.59237),stone:t(453.59237*14),stones:t(453.59237*14),st:t(453.59237*14),ounce:t(28.349523125),ounces:t(28.349523125),oz:t(28.349523125),"℥":t(28.349523125),"short ton":t(907184.74),"short tons":t(907184.74),"us ton":t(907184.74),"us tons":t(907184.74),"long ton":t(453.59237*2240),"long tons":t(453.59237*2240),"imperial ton":t(453.59237*2240),"imperial tons":t(453.59237*2240),"displacement ton":t(453.59237*2240),"displacement tons":t(453.59237*2240)},c={pascal:t(1),pascals:t(1),Pa:t(1),femtopascal:t(1e-15),femtopascals:t(1e-15),fPa:t(1e-15),picopascal:t(1e-12),picopascals:t(1e-12),pPa:t(1e-12),nanopascal:t(1e-9),nanopascals:t(1e-9),nPa:t(1e-9),micropascal:t(1e-6),micropascals:t(1e-6),"μPa":t(1e-6),millipascal:t(.001),millipascals:t(.001),mPa:t(.001),centipascal:t(.01),centipascals:t(.01),cPa:t(.01),decipascal:t(.1),decipascals:t(.1),dPa:t(.1),decapascal:t(10),decapascals:t(10),daPa:t(10),hectopascal:t(100),hectopascals:t(100),hPa:t(100),kilopascal:t(1e3),kilopascals:t(1e3),kPa:t(1e3),megapascal:t(1e6),megapascals:t(1e6),MPa:t(1e6),gigapascal:t(1e9),gigapascals:t(1e9),GPa:t(1e9),terapascal:t(1e12),terapascals:t(1e12),TPa:t(1e12),petapascal:t(1e15),petapascals:t(1e15),PPa:t(1e15),bar:t(1e5),femtobar:t(1e-15),femtobars:t(1e-15),fbar:t(1e-15),picobar:t(1e-12),picobars:t(1e-12),pbar:t(1e-12),nanobar:t(1e-9),nanobars:t(1e-9),nbar:t(1e-9),microbar:t(1e-6),microbars:t(1e-6),"μbar":t(1e-6),millibar:t(.001),millibars:t(.001),mbar:t(.001),centibar:t(.01),centibars:t(.01),cbar:t(.01),decibar:t(.1),decibars:t(.1),dbar:t(.1),decabar:t(10),decabars:t(10),dabar:t(10),hectobar:t(100),hectobars:t(100),hbar:t(100),kilobar:t(1e3),kilobars:t(1e3),kbar:t(1e3),megabar:t(1e6),megabars:t(1e6),Mbar:t(1e6),gigabar:t(1e9),gigabars:t(1e9),Gbar:t(1e9),terabar:t(1e12),terabars:t(1e12),Tbar:t(1e12),petabar:t(1e15),petabars:t(1e15),Pbar:t(1e15),torr:t(101325/760),millitorr:t(101325/760/1e3),millitorrs:t(101325/760/1e3),mTorr:t(101325/760/1e3),atmosphere:t(101325),atmospheres:t(101325),atm:t(101325)},m={kelvin:t(1),kelvins:t(1),K:t(1),fahrenheit:t(5/9,273.15-32),F:t(5/9,273.15-32),celsius:t(1,273.15),C:t(1,273.15),rankine:t(5/9),R:t(5/9),delisle:t(-2/3,373.15),De:t(-2/3,373.15)},l={second:t(1),seconds:t(1),s:t(1),century:t(3155695200),centuries:t(3155695200),c:t(3155695200),day:t(86400),days:t(86400),d:t(86400),decade:t(315569520),decades:t(315569520),dec:t(315569520),fortnight:t(1209600),fortnights:t(1209600),fn:t(1209600),helek:t(3+1/3),halakim:t(3+1/3),hour:t(3600),hours:t(3600),h:t(3600),jiffy:t(1/60),jiffies:t(1/60),j:t(1/60),ja:t(.01),ke:t(900),millennium:t(31556952e3),millennia:t(31556952e3),milliday:t(86.4),millidays:t(86.4),md:t(86.4),minute:t(60),minutes:t(60),min:t(60),moment:t(90),moments:t(90),month:t(2592e3),months:t(2592e3),mo:t(2592e3),shake:t(1e-8),shakes:t(1e-8),sigma:t(1e-6),sigmas:t(1e-6),svedberg:t(1e-13),svedbergs:t(1e-13),S:t(1e-13),week:t(604800),weeks:t(604800),wk:t(604800),year:t(31536e3),years:t(31536e3),a:t(31536e3),y:t(31536e3),yr:t(31536e3),petasecond:t(1e15),petaseconds:t(1e15),Ps:t(1e15),terasecond:t(1e12),teraseconds:t(1e12),Ts:t(1e12),gigasecond:t(1e9),gigaseconds:t(1e9),Gs:t(1e9),megasecond:t(1e6),megaseconds:t(1e6),Ms:t(1e6),kilosecond:t(1e3),kiloseconds:t(1e3),ks:t(1e3),hectosecond:t(100),hectoseconds:t(100),hs:t(100),decasecond:t(10),decaseconds:t(10),das:t(10),decisecond:t(.1),deciseconds:t(.1),ds:t(.1),centisecond:t(.01),centiseconds:t(.01),cs:t(.01),millisecond:t(.001),milliseconds:t(.001),ms:t(.001),microsecond:t(1e-7),microseconds:t(1e-7),"μs":t(1e-7),nanosecond:t(1e-9),nanoseconds:t(1e-9),ns:t(1e-9),picosecond:t(1e-12),picoseconds:t(1e-12),ps:t(1e-12),femtosecond:t(1e-15),femtoseconds:t(1e-15),fs:t(1e-15)},b={"cubic meter":t(1),"cubic meters":t(1),"cubic metre":t(1),"cubic metres":t(1),"m³":t(1),m3:t(1),"cubic kilometer":t(1e3),"cubic kilometre":t(1e3),"cubic kilometers":t(1e3),"cubic kilometres":t(1e3),"km³":t(1e3),km3:t(1e3),"cubic hectometer":t(1e6),"cubic hectometre":t(1e6),"cubic hectometers":t(1e6),"cubic hectometres":t(1e6),"hm³":t(1e6),hm3:t(1e6),"cubic decameter":t(10),"cubic decametre":t(10),"cubic decameters":t(10),"cubic decametres":t(10),"dam³":t(10),dam3:t(10),"cubic decimeter":t(.1),"cubic decimetre":t(.1),"cubic decimeters":t(.1),"cubic decimetres":t(.1),"dm³":t(.1),dm3:t(.1),"cubic centimeter":t(.01),"cubic centimetre":t(.01),"cubic centimeters":t(.01),"cubic centimetres":t(.01),"cm³":t(.01),cc:t(.01),cm3:t(.01),"cubic millimeter":t(.001),"cubic millimetre":t(.001),"cubic millimeters":t(.001),"cubic millimetres":t(.001),"mm³":t(.001),mm3:t(.001),gigaliter:t(1e6),gigalitre:t(1e6),gigaliters:t(1e6),gigalitres:t(1e6),Gl:t(1e6),GL:t(1e6),megaliter:t(1e6),megalitre:t(1e6),megaliters:t(1e6),megalitres:t(1e6),Ml:t(1e6),ML:t(1e6),kiloliter:t(1e3),kilolitre:t(1e3),kiloliters:t(1e3),kilolitres:t(1e3),kl:t(1e3),kL:t(1e3),hectoliter:t(1e5),hectolitre:t(1e5),hectoliters:t(1e5),hectolitres:t(1e5),hl:t(1e5),hL:t(1e5),decaliter:t(1e4),decalitre:t(1e4),decaliters:t(1e4),decalitres:t(1e4),dal:t(1e4),daL:t(1e4),liter:t(.001),litre:t(.001),liters:t(.001),litres:t(.001),l:t(.001),L:t(.001),deciliter:t(1e-4),decilitre:t(1e-4),deciliters:t(1e-4),decilitres:t(1e-4),dl:t(1e-4),dL:t(1e-4),centiliter:t(1e5),centilitre:t(1e5),centiliters:t(1e5),centilitres:t(1e5),cl:t(1e5),cL:t(1e5),milliliter:t(1e6),millilitre:t(1e6),milliliters:t(1e6),millilitres:t(1e6),ml:t(1e6),mL:t(1e6),microliter:t(1e9),microlitre:t(1e9),microliters:t(1e9),microlitres:t(1e9),"μl":t(1e9),"μL":t(1e9),stere:t(1),steres:t(1),"cubic mile":t(4200),"cubic miles":t(4200),"cu mi":t(4200),cumi:t(4200),mi3:t(4200),"acre-foot":t(1233.48183754752),"acre-feet":t(1233.48183754752),"ac⋅ft":t(1233.48183754752),"ac ft":t(1233.48183754752),"cubic yard":t(.76),"cubic yards":t(.76),"cu yd":t(.76),cuyd:t(.76),yd3:t(.76),"cubic foot":t(.028),"cubic feet":t(.028),"cu ft":t(.028),cuft:t(.028),ft3:t(.028),cufoot:t(.028),foot3:t(.028),"board foot":t(.002359737),"board feet":t(.002359737),"cubic inch":t(.16),"cubic inches":t(.16),"cu in":t(.16),cuin:t(.16),in3:t(.16),"measurement ton":t(1.2),"measurement tons":t(1.2),MTON:t(1.2),"imperial barrel":t(160),"imperial barrels":t(160),"imp bbl":t(160),impbbl:t(160),kilderkin:t(160),kilderkins:t(160),firkin:t(160),firkins:t(160),"imperial bushel":t(160),"imperial bushels":t(160),"imp bsh":t(160),"imp bu":t(160),impbsh:t(160),impbu:t(160),"imperial kenning":t(18),"imperial kennings":t(18),kenning:t(18),impkenning:t(18),"imperial peck":t(9.1),"imperial pecks":t(9.1),pk:t(9.1),imppk:t(9.1),"imperial quart":t(1.1),"imperial quarts":t(1.1),"imp qt":t(1.1),impqt:t(1.1),"imperial gallon":t(1/219.9692),"imperial gallons":t(1/219.9692),"imp gal":t(1/219.9692),impgal:t(1/219.9692),"imperial pint":t(.57),"imperial pints":t(.57),"imp pt":t(.57),imppt:t(.57),gill:t(4.8),gills:t(4.8),gi:t(4.8),impgi:t(4.8),"imperial fluid ounce":t(123),"imperial fluid ounces":t(123),"imp fl oz":t(123),impoz:t(123),"US barrel":t(.164),"US barrels":t(.164),"US bbl":t(.164),"U.S. bbl":t(.164),USbbl:t(.164),usbbl:t(.164),"U.S.bbl":t(.164),barrel:t(1/6.2898),barrels:t(1/6.2898),bbl:t(1/6.2898),oilbbl:t(1/6.2898),"US beer barrel":t(.117),"US beer barrels":t(.117),USbeerbbl:t(.117),usbeerbbl:t(.117),"U.S.beerbbl":t(.117),"US gallon":t(1/264.1721),"US gallons":t(1/264.1721),"US gal":t(1/264.1721),"U.S. gal":t(1/264.1721),USgal:t(1/264.1721),usgal:t(1/264.1721),"U.S.gal":t(1/264.1721),"US quart":t(.000946352946),"US quarts":t(.000946352946),"US qt":t(.000946352946),"U.S. qt":t(.000946352946),USqt:t(.000946352946),usqt:t(.000946352946),"U.S.qt":t(.000946352946),"US pint":t(473176473),"US pints":t(473176473),"US pt":t(473176473),"U.S. pt":t(473176473),USpt:t(473176473),uspt:t(473176473),"U.S.pt":t(473176473),"US gill":t(118e6),"US gills":t(118e6),USgi:t(118e6),usgi:t(118e6),"U.S.gi":t(118e6),"US fluid ounce":t(29573529.5625),"US fluid ounces":t(29573529.5625),"US fl oz":t(29573529.5625),USoz:t(29573529.5625),USflox:t(29573529.5625),usoz:t(29573529.5625),usfloz:t(29573529.5625),"U.S.oz":t(29573529.5625),"U.S.floz":t(29573529.5625),"US dry barrel":t(.12),"US dry barrels":t(.12),"US dry bbl":t(.12),"U.S. dry bbl":t(.12),USdrybbl:t(.12),usdrybbl:t(.12),drybbl:t(.12),"U.S.drybbl":t(.12),"US bushel":t(.0352391),"US bushels":t(.0352391),"US bsh":t(.0352391),"U.S. bsh":t(.0352391),USbsh:t(.0352391),usbsh:t(.0352391),"U.S.bsh":t(.0352391),"US bu":t(.0352391),"U.S. bu":t(.0352391),USbu:t(.0352391),usbu:t(.0352391),"U.S.bu":t(.0352391),"US kenning":t(.12),"US kennings":t(.12),"U.S. kenning":t(.12),USkenning:t(.12),"U.S.kenning":t(.12),uskenning:t(.12),"US peck":t(.00909218),"US pk":t(.00909218),"U.S. pk":t(.00909218),Uspk:t(.00909218),uspk:t(.00909218),"U.S.pk":t(.00909218),"US dry gallon":t(.00440488377086),"US dry gal":t(.00440488377086),"U.S. dry gal":t(.00440488377086),USdrygal:t(.00440488377086),usdrygal:t(.00440488377086),drygal:t(.00440488377086),"U.S.drygal":t(.00440488377086),"US dry quart":t(.000946352946),"US dry qt":t(.000946352946),"U.S. dry qt":t(.000946352946),USdryqt:t(.000946352946),usdryqt:t(.000946352946),dryqt:t(.000946352946),"U.S.dryqt":t(.000946352946),"US dry pint":t(33.6003125),"US dry pt":t(33.6003125),"U.S. dry pt":t(33.6003125),USdrypt:t(33.6003125),"U.S.drypt":t(33.6003125),usdrypt:t(33.6003125),drypt:t(33.6003125)},o=[r,a,s,c,m,l,b];function n(e,t){var r,a,s=e[t];return s||i(!1),(a={}).difference=null!=(r=s.difference)?r:0,a.ratio=s.ratio,a}e.conversions={__proto__:null,data:r,length:a,mass:s,pressure:c,temperature:m,time:l,volume:b},e.convert=function(e){return{from:function(t){var r=o.find((function(e){return e[t]}));r||i(!1);var a=n(r,t);return{to:function(i){if(i===t)return e;var s=n(r,i),c=a.ratio/s.ratio;return"bigint"==typeof e?e*BigInt(c)+(BigInt(a.difference)-BigInt(s.difference)):e*c+(a.difference-s.difference)}}}}},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i((e=e||self).convert={})}(this,(function(e){"use strict";function i(e,i){if(!e)throw new Error("convert: Invariant failed")}var t=function(e,i){return{ratio:e,difference:i}},r={bit:t(1),bits:t(1),b:t(1),unibit:t(1),unibits:t(1),millibit:t(.001),millibits:t(.001),centibit:t(.01),centibits:t(.01),decibit:t(.1),decibits:t(.1),crumb:t(2),crumbs:t(2),dibit:t(2),dibits:t(2),triad:t(3),triads:t(3),triade:t(3),triades:t(3),tribit:t(3),tribits:t(3),nibble:t(4),nibbles:t(4),tetrad:t(4),tetrads:t(4),tetrade:t(4),tetrades:t(4),quadbit:t(4),quadbits:t(4),semioctet:t(4),semioctets:t(4),halfbyte:t(4),halfbytes:t(4),quartet:t(4),quartets:t(4),pentad:t(5),pentads:t(5),hexad:t(6),hexads:t(6),hexade:t(6),hexades:t(6),sextet:t(6),sextets:t(6),heptad:t(7),heptads:t(7),heptade:t(7),heptades:t(7),byte:t(8),bytes:t(8),B:t(8),octect:t(8),octects:t(8),octad:t(8),octads:t(8),octade:t(8),octades:t(8),decabit:t(10),decabits:t(10),declet:t(10),decle:t(10),deckle:t(10),slab:t(12),slabs:t(12),hextet:t(16),hextets:t(16),catena:t(24),catenas:t(24),hectobit:t(100),hectobits:t(100),hbit:t(100),kilobit:t(1e3),kilobits:t(1e3),kbit:t(1e3),kibibit:t(1024),kibibits:t(1024),Kibit:t(1024),kilobyte:t(8e3),kilobytes:t(8e3),kB:t(8e3),kibibyte:t(8192),kibibytes:t(8192),KiB:t(8192),megabit:t(1e6),megabits:t(1e6),Mbit:t(1e6),mebibit:t(1048576),mebibits:t(1048576),Mibit:t(1048576),megabyte:t(8e6),megabytes:t(8e6),MB:t(8e6),mebibyte:t(8388608),mebibytes:t(8388608),MiB:t(8388608),gigabit:t(1e9),gigabits:t(1e9),Gbit:t(1e9),gibibit:t(1073741824),gibibits:t(1073741824),Gibit:t(1073741824),gigabyte:t(8e9),gigabytes:t(8e9),GB:t(8e9),gibibyte:t(8589934592),gibibytes:t(8589934592),GiB:t(8589934592),terabit:t(1e12),terabits:t(1e12),Tbit:t(1e12),tebibit:t(1099511627776),tebibits:t(1099511627776),Tibit:t(1099511627776),terabyte:t(8e12),terabytes:t(8e12),TB:t(8e12),tebibyte:t(8796093022208),tebibytes:t(8796093022208),TiB:t(8796093022208),petabit:t(1e15),petabits:t(1e15),Pbit:t(1e15),pebibit:t(0x4000000000000),pebibits:t(0x4000000000000),Pibit:t(0x4000000000000),petabyte:t(1e15),petabytes:t(1e15),PB:t(1e15),pebibyte:t(9007199254740992),pebibytes:t(9007199254740992),PiB:t(9007199254740992)},a={meter:t(1),meters:t(1),metre:t(1),metres:t(1),m:t(1),petameter:t(1e15),petametre:t(1e15),petameters:t(1e15),petametres:t(1e15),Pm:t(1e15),terameter:t(1e12),terametre:t(1e12),terameters:t(1e12),terametres:t(1e12),Tm:t(1e12),gigameter:t(1e9),gigametre:t(1e9),gigameters:t(1e9),gigametres:t(1e9),Gm:t(1e9),megameter:t(1e6),megametre:t(1e6),megameters:t(1e6),megametres:t(1e6),Mm:t(1e6),kilometer:t(1e3),kilometre:t(1e3),kilometers:t(1e3),kilometres:t(1e3),km:t(1e3),hectometer:t(100),hectometre:t(100),hectometers:t(100),hectometres:t(100),hm:t(100),decameter:t(10),decametre:t(10),decameters:t(10),decametres:t(10),dam:t(10),decimeter:t(.1),decimetre:t(.1),decimeters:t(.1),decimetres:t(.1),dm:t(.1),centimeter:t(.01),centimetre:t(.01),centimeters:t(.01),centimetres:t(.01),cm:t(.01),millimeter:t(.001),millimetre:t(.001),millimeters:t(.001),millimetres:t(.001),mm:t(.001),micrometer:t(1e-7),micrometre:t(1e-7),micrometers:t(1e-7),micrometres:t(1e-7),"μm":t(1e-7),nanometer:t(1e-9),nanometre:t(1e-9),nanometers:t(1e-9),nanometres:t(1e-9),nm:t(1e-9),picometer:t(1e-12),picometre:t(1e-12),picometers:t(1e-12),picometres:t(1e-12),pm:t(1e-12),femtometer:t(1e-15),femtometre:t(1e-15),femtometers:t(1e-15),femtometres:t(1e-15),fm:t(1e-15),foot:t(.3048),feet:t(.3048),ft:t(.3048),inch:t(.0254),inches:t(.0254),in:t(.0254),yard:t(.9144),yards:t(.9144),yd:t(.9144),mile:t(1609.344),miles:t(1609.344),mi:t(1609.344),"nautical mile":t(1852),"nautical miles":t(1852),M:t(1852),NM:t(1852),nmi:t(1852)},s={kilogram:t(1e3),kilograms:t(1e3),kg:t(1e3),gram:t(1),grams:t(1),g:t(1),decagram:t(10),decagrams:t(10),dag:t(10),hectogram:t(100),hectograms:t(100),hg:t(100),megagram:t(1e6),megagrams:t(1e6),Mg:t(1e6),tonne:t(1e6),tonnes:t(1e6),"metric ton":t(1e6),"metric tons":t(1e6),t:t(1e6),gigagram:t(1e9),gigagrams:t(1e9),Gg:t(1e9),teragram:t(1e12),teragrams:t(1e12),Tg:t(1e12),petagram:t(1e15),petagrams:t(1e15),Pg:t(1e15),exagram:t(1e18),exagrams:t(1e18),Eg:t(1e18),zettagram:t(1e21),zettagrams:t(1e21),Zg:t(1e21),yottagram:t(1e24),yottagrams:t(1e24),Yg:t(1e24),decigram:t(.1),decigrams:t(.1),dg:t(.1),centigram:t(.01),centigrams:t(.01),cg:t(.01),milligram:t(.001),milligrams:t(.001),mg:t(.001),microgram:t(1e-6),micrograms:t(1e-6),"µg":t(1e-6),nanogram:t(1e-9),nanograms:t(1e-9),ng:t(1e-9),picogram:t(1e-12),picograms:t(1e-12),pg:t(1e-12),femtogram:t(1e-15),femtograms:t(1e-15),fg:t(1e-15),attogram:t(1e-18),attograms:t(1e-18),ag:t(1e-18),zeptogram:t(1e-21),zeptograms:t(1e-21),zg:t(1e-21),yoctogram:t(1e-24),yoctograms:t(1e-24),yg:t(1e-24),pound:t(453.59237),pounds:t(453.59237),lb:t(453.59237),stone:t(453.59237*14),stones:t(453.59237*14),st:t(453.59237*14),ounce:t(28.349523125),ounces:t(28.349523125),oz:t(28.349523125),"℥":t(28.349523125),"short ton":t(907184.74),"short tons":t(907184.74),"us ton":t(907184.74),"us tons":t(907184.74),"long ton":t(453.59237*2240),"long tons":t(453.59237*2240),"imperial ton":t(453.59237*2240),"imperial tons":t(453.59237*2240),"displacement ton":t(453.59237*2240),"displacement tons":t(453.59237*2240)},c={pascal:t(1),pascals:t(1),Pa:t(1),femtopascal:t(1e-15),femtopascals:t(1e-15),fPa:t(1e-15),picopascal:t(1e-12),picopascals:t(1e-12),pPa:t(1e-12),nanopascal:t(1e-9),nanopascals:t(1e-9),nPa:t(1e-9),micropascal:t(1e-6),micropascals:t(1e-6),"μPa":t(1e-6),millipascal:t(.001),millipascals:t(.001),mPa:t(.001),centipascal:t(.01),centipascals:t(.01),cPa:t(.01),decipascal:t(.1),decipascals:t(.1),dPa:t(.1),decapascal:t(10),decapascals:t(10),daPa:t(10),hectopascal:t(100),hectopascals:t(100),hPa:t(100),kilopascal:t(1e3),kilopascals:t(1e3),kPa:t(1e3),megapascal:t(1e6),megapascals:t(1e6),MPa:t(1e6),gigapascal:t(1e9),gigapascals:t(1e9),GPa:t(1e9),terapascal:t(1e12),terapascals:t(1e12),TPa:t(1e12),petapascal:t(1e15),petapascals:t(1e15),PPa:t(1e15),bar:t(1e5),femtobar:t(1e-15),femtobars:t(1e-15),fbar:t(1e-15),picobar:t(1e-12),picobars:t(1e-12),pbar:t(1e-12),nanobar:t(1e-9),nanobars:t(1e-9),nbar:t(1e-9),microbar:t(1e-6),microbars:t(1e-6),"μbar":t(1e-6),millibar:t(.001),millibars:t(.001),mbar:t(.001),centibar:t(.01),centibars:t(.01),cbar:t(.01),decibar:t(.1),decibars:t(.1),dbar:t(.1),decabar:t(10),decabars:t(10),dabar:t(10),hectobar:t(100),hectobars:t(100),hbar:t(100),kilobar:t(1e3),kilobars:t(1e3),kbar:t(1e3),megabar:t(1e6),megabars:t(1e6),Mbar:t(1e6),gigabar:t(1e9),gigabars:t(1e9),Gbar:t(1e9),terabar:t(1e12),terabars:t(1e12),Tbar:t(1e12),petabar:t(1e15),petabars:t(1e15),Pbar:t(1e15),torr:t(101325/760),millitorr:t(101325/760/1e3),millitorrs:t(101325/760/1e3),mTorr:t(101325/760/1e3),atmosphere:t(101325),atmospheres:t(101325),atm:t(101325)},m={kelvin:t(1),kelvins:t(1),K:t(1),fahrenheit:t(5/9,273.15-32),F:t(5/9,273.15-32),celsius:t(1,273.15),C:t(1,273.15),rankine:t(5/9),R:t(5/9),delisle:t(-2/3,373.15),De:t(-2/3,373.15)},l={second:t(1),seconds:t(1),s:t(1),century:t(3155695200),centuries:t(3155695200),c:t(3155695200),day:t(86400),days:t(86400),d:t(86400),decade:t(315569520),decades:t(315569520),dec:t(315569520),fortnight:t(1209600),fortnights:t(1209600),fn:t(1209600),helek:t(3+1/3),halakim:t(3+1/3),hour:t(3600),hours:t(3600),h:t(3600),jiffy:t(1/60),jiffies:t(1/60),j:t(1/60),ja:t(.01),ke:t(900),millennium:t(31556952e3),millennia:t(31556952e3),milliday:t(86.4),millidays:t(86.4),md:t(86.4),minute:t(60),minutes:t(60),min:t(60),moment:t(90),moments:t(90),month:t(2592e3),months:t(2592e3),mo:t(2592e3),shake:t(1e-8),shakes:t(1e-8),sigma:t(1e-6),sigmas:t(1e-6),svedberg:t(1e-13),svedbergs:t(1e-13),S:t(1e-13),week:t(604800),weeks:t(604800),wk:t(604800),year:t(31536e3),years:t(31536e3),a:t(31536e3),y:t(31536e3),yr:t(31536e3),petasecond:t(1e15),petaseconds:t(1e15),Ps:t(1e15),terasecond:t(1e12),teraseconds:t(1e12),Ts:t(1e12),gigasecond:t(1e9),gigaseconds:t(1e9),Gs:t(1e9),megasecond:t(1e6),megaseconds:t(1e6),Ms:t(1e6),kilosecond:t(1e3),kiloseconds:t(1e3),ks:t(1e3),hectosecond:t(100),hectoseconds:t(100),hs:t(100),decasecond:t(10),decaseconds:t(10),das:t(10),decisecond:t(.1),deciseconds:t(.1),ds:t(.1),centisecond:t(.01),centiseconds:t(.01),cs:t(.01),millisecond:t(.001),milliseconds:t(.001),ms:t(.001),microsecond:t(1e-7),microseconds:t(1e-7),"μs":t(1e-7),nanosecond:t(1e-9),nanoseconds:t(1e-9),ns:t(1e-9),picosecond:t(1e-12),picoseconds:t(1e-12),ps:t(1e-12),femtosecond:t(1e-15),femtoseconds:t(1e-15),fs:t(1e-15)},b={"cubic meter":t(1),"cubic meters":t(1),"cubic metre":t(1),"cubic metres":t(1),"m³":t(1),m3:t(1),"cubic kilometer":t(1e3),"cubic kilometre":t(1e3),"cubic kilometers":t(1e3),"cubic kilometres":t(1e3),"km³":t(1e3),km3:t(1e3),"cubic hectometer":t(1e6),"cubic hectometre":t(1e6),"cubic hectometers":t(1e6),"cubic hectometres":t(1e6),"hm³":t(1e6),hm3:t(1e6),"cubic decameter":t(10),"cubic decametre":t(10),"cubic decameters":t(10),"cubic decametres":t(10),"dam³":t(10),dam3:t(10),"cubic decimeter":t(.1),"cubic decimetre":t(.1),"cubic decimeters":t(.1),"cubic decimetres":t(.1),"dm³":t(.1),dm3:t(.1),"cubic centimeter":t(.01),"cubic centimetre":t(.01),"cubic centimeters":t(.01),"cubic centimetres":t(.01),"cm³":t(.01),cc:t(.01),cm3:t(.01),"cubic millimeter":t(.001),"cubic millimetre":t(.001),"cubic millimeters":t(.001),"cubic millimetres":t(.001),"mm³":t(.001),mm3:t(.001),gigaliter:t(1e6),gigalitre:t(1e6),gigaliters:t(1e6),gigalitres:t(1e6),Gl:t(1e6),GL:t(1e6),megaliter:t(1e6),megalitre:t(1e6),megaliters:t(1e6),megalitres:t(1e6),Ml:t(1e6),ML:t(1e6),kiloliter:t(1e3),kilolitre:t(1e3),kiloliters:t(1e3),kilolitres:t(1e3),kl:t(1e3),kL:t(1e3),hectoliter:t(1e5),hectolitre:t(1e5),hectoliters:t(1e5),hectolitres:t(1e5),hl:t(1e5),hL:t(1e5),decaliter:t(1e4),decalitre:t(1e4),decaliters:t(1e4),decalitres:t(1e4),dal:t(1e4),daL:t(1e4),liter:t(.001),litre:t(.001),liters:t(.001),litres:t(.001),l:t(.001),L:t(.001),deciliter:t(1e-4),decilitre:t(1e-4),deciliters:t(1e-4),decilitres:t(1e-4),dl:t(1e-4),dL:t(1e-4),centiliter:t(1e5),centilitre:t(1e5),centiliters:t(1e5),centilitres:t(1e5),cl:t(1e5),cL:t(1e5),milliliter:t(1e6),millilitre:t(1e6),milliliters:t(1e6),millilitres:t(1e6),ml:t(1e6),mL:t(1e6),microliter:t(1e9),microlitre:t(1e9),microliters:t(1e9),microlitres:t(1e9),"μl":t(1e9),"μL":t(1e9),stere:t(1),steres:t(1),"cubic mile":t(4200),"cubic miles":t(4200),"cu mi":t(4200),cumi:t(4200),mi3:t(4200),"acre-foot":t(1233.48183754752),"acre-feet":t(1233.48183754752),"ac⋅ft":t(1233.48183754752),"ac ft":t(1233.48183754752),"cubic yard":t(.76),"cubic yards":t(.76),"cu yd":t(.76),cuyd:t(.76),yd3:t(.76),"cubic foot":t(.028),"cubic feet":t(.028),"cu ft":t(.028),cuft:t(.028),ft3:t(.028),cufoot:t(.028),foot3:t(.028),"board foot":t(.002359737),"board feet":t(.002359737),"cubic inch":t(.16),"cubic inches":t(.16),"cu in":t(.16),cuin:t(.16),in3:t(.16),"measurement ton":t(1.133),"measurement tons":t(1.133),MTON:t(1.133),"imperial barrel":t(.16),"imperial barrels":t(.16),"imp bbl":t(.16),impbbl:t(.16),kilderkin:t(.08318),kilderkins:t(.08318),firkin:t(.041),firkins:t(.041),"imperial bushel":t(.03636872),"imperial bushels":t(.03636872),"imp bsh":t(.03636872),"imp bu":t(.03636872),impbsh:t(.03636872),impbu:t(.03636872),"imperial peck":t(.00909218),"imperial pecks":t(.00909218),pk:t(.00909218),imppk:t(.00909218),"imperial quart":t(1136522500),"imperial quarts":t(1136522500),"imp qt":t(1136522500),impqt:t(1136522500),"imperial gallon":t(454609e4),"imperial gallons":t(454609e4),"imp gal":t(454609e4),impgal:t(454609e4),"imperial pint":t(568261250),"imperial pints":t(568261250),"imp pt":t(568261250),imppt:t(568261250),gill:t(142065312.5),gills:t(142065312.5),gi:t(142065312.5),impgi:t(142065312.5),"imperial fluid ounce":t(28413062.5),"imperial fluid ounces":t(28413062.5),"imp fl oz":t(28413062.5),impoz:t(28413062.5),"US barrel":t(.164),"US barrels":t(.164),"US bbl":t(.164),"U.S. bbl":t(.164),USbbl:t(.164),usbbl:t(.164),"U.S.bbl":t(.164),barrel:t(1/6.2898),barrels:t(1/6.2898),bbl:t(1/6.2898),oilbbl:t(1/6.2898),"US beer barrel":t(.117),"US beer barrels":t(.117),USbeerbbl:t(.117),usbeerbbl:t(.117),"U.S.beerbbl":t(.117),"US gallon":t(1/264.1721),"US gallons":t(1/264.1721),"US gal":t(1/264.1721),"U.S. gal":t(1/264.1721),USgal:t(1/264.1721),usgal:t(1/264.1721),"U.S.gal":t(1/264.1721),"US quart":t(.000946352946),"US quarts":t(.000946352946),"US qt":t(.000946352946),"U.S. qt":t(.000946352946),USqt:t(.000946352946),usqt:t(.000946352946),"U.S.qt":t(.000946352946),"US pint":t(473176473),"US pints":t(473176473),"US pt":t(473176473),"U.S. pt":t(473176473),USpt:t(473176473),uspt:t(473176473),"U.S.pt":t(473176473),"US gill":t(118e6),"US gills":t(118e6),USgi:t(118e6),usgi:t(118e6),"U.S.gi":t(118e6),"US fluid ounce":t(29573529.5625),"US fluid ounces":t(29573529.5625),"US fl oz":t(29573529.5625),USoz:t(29573529.5625),USflox:t(29573529.5625),usoz:t(29573529.5625),usfloz:t(29573529.5625),"U.S.oz":t(29573529.5625),"U.S.floz":t(29573529.5625),"US dry barrel":t(.12),"US dry barrels":t(.12),"US dry bbl":t(.12),"U.S. dry bbl":t(.12),USdrybbl:t(.12),usdrybbl:t(.12),drybbl:t(.12),"U.S.drybbl":t(.12),"US bushel":t(.0352391),"US bushels":t(.0352391),"US bsh":t(.0352391),"U.S. bsh":t(.0352391),USbsh:t(.0352391),usbsh:t(.0352391),"U.S.bsh":t(.0352391),"US bu":t(.0352391),"U.S. bu":t(.0352391),USbu:t(.0352391),usbu:t(.0352391),"U.S.bu":t(.0352391),"US kenning":t(.12),"US kennings":t(.12),"U.S. kenning":t(.12),USkenning:t(.12),"U.S.kenning":t(.12),uskenning:t(.12),"US peck":t(.00909218),"US pk":t(.00909218),"U.S. pk":t(.00909218),Uspk:t(.00909218),uspk:t(.00909218),"U.S.pk":t(.00909218),"US dry gallon":t(.00440488377086),"US dry gal":t(.00440488377086),"U.S. dry gal":t(.00440488377086),USdrygal:t(.00440488377086),usdrygal:t(.00440488377086),drygal:t(.00440488377086),"U.S.drygal":t(.00440488377086),"US dry quart":t(.000946352946),"US dry qt":t(.000946352946),"U.S. dry qt":t(.000946352946),USdryqt:t(.000946352946),usdryqt:t(.000946352946),dryqt:t(.000946352946),"U.S.dryqt":t(.000946352946),"US dry pint":t(33.6003125),"US dry pt":t(33.6003125),"U.S. dry pt":t(33.6003125),USdrypt:t(33.6003125),"U.S.drypt":t(33.6003125),usdrypt:t(33.6003125),drypt:t(33.6003125)},o=[r,a,s,c,m,l,b];function n(e,t){var r,a,s=e[t];return s||i(!1),(a={}).difference=null!=(r=s.difference)?r:0,a.ratio=s.ratio,a}e.conversions={__proto__:null,data:r,length:a,mass:s,pressure:c,temperature:m,time:l,volume:b},e.convert=function(e){return{from:function(t){var r=o.find((function(e){return e[t]}));r||i(!1);var a=n(r,t);return{to:function(i){if(i===t)return e;var s=n(r,i),c=a.ratio/s.ratio;return"bigint"==typeof e?e*BigInt(c)+(BigInt(a.difference)-BigInt(s.difference)):e*c+(a.difference-s.difference)}}}}},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=convert.umd.production.min.js.map |
@@ -7,2 +7,3 @@ { | ||
}, | ||
"description": "The smallest & fastest library for really easy, totally type-safe unit conversions in TypeScript & JavaScript", | ||
"devDependencies": { | ||
@@ -79,3 +80,3 @@ "@size-limit/preset-small-lib": "4.9.1", | ||
"typings": "dist/index.d.ts", | ||
"version": "1.1.2" | ||
"version": "1.1.3" | ||
} |
# Convert | ||
A small library for really easy, totally type-safe unit conversions in JavaScript & TypeScript. | ||
The [smallest](https://bundlephobia.com/result?p=convert) & [fastest](https://github.com/pizzafox/js-unit-conversion-benchmarks) library for really easy, totally type-safe unit conversions in TypeScript & JavaScript. | ||
@@ -73,3 +73,5 @@ [](https://bundlephobia.com/result?p=convert) | ||
All of them are bad because they aren't as small as this and many aren't as simple to use. | ||
All of them are bad because they aren't as small and are slower than convert. | ||
Benchmarks of popular unit conversion libraries, including convert are [available here](https://github.com/pizzafox/js-unit-conversion-benchmarks). | ||
Convert is the fastest, taking less than a microsecond for most conversions (that's a little bit under 2 million per second). | ||
@@ -76,0 +78,0 @@ [](https://bundlephobia.com/result?p=convert) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
564141
96
6293