physical-quantity 1.2.2 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/pq.es.js CHANGED
@@ -1,1028 +1,3182 @@
1
1
  /**
2
- * physical-quantity v1.2.0
2
+ * physical-quantity v1.3.0
3
3
  * A web component bundle to represent physical quantities with automated unit conversion.
4
4
  * @license MIT
5
5
  * @author E3d - Don Wen <don.wen@calcslive.com>
6
6
  */
7
- const THOUSAND = 1e3;
8
- const MILLION = 1e6;
9
- const BILLION = 1e9;
10
- const POUNDMASS_KG = 0.45359237;
11
- const GRAVITY_SI = 9.80665;
12
- const MILE_FOOT = 5280;
13
- const INCH_METER = 25.4 / 1e3;
14
- const FOOT_METER = 12 * INCH_METER;
15
- const NM_METER = 1852;
16
- const ACRE_FOOT2 = 66 * 660;
17
- const GALLON_UK_IMPERIAL_LITRE = 4.54609;
18
- const GALLON_US_LIQUID_IN3 = 231;
19
- const GALLON_US_DRY_IN3 = 268.8025;
20
- const PINT_GALLON = 1 / 8;
21
- const OUNCE_FLUID_PINT_UK_IMPERIAL = 1 / 20;
22
- const OUNCE_FLUID_PINT_US_LIQUID = 1 / 16;
23
- const BUSHEL_GALLON_UK_IMPERIAL = 8;
24
- const BUSHEL_GALLON_US_DRY = 8;
25
- const CUP_US_GALLON_LIQUID = 1 / 16;
26
- const CUP_LEGAL_ML_LIQUID = 240;
27
- const CUP_METRIC_ML_LIQUID = 250;
28
- const CUP_IMPERIAL_OUNCE_LIQUID = 10;
29
- const SLUG_KG = 14.59390294;
30
- const BTU_J = 1055.05585262;
31
- const CALORIE_IT_J = 4.1868;
32
- const CALORIE_TH_J = 4.184;
33
- const HP_W = 550 * POUNDMASS_KG * GRAVITY_SI * FOOT_METER;
34
- const ATM_PA = 101325;
35
- const TORR_ATM = 1 / 760;
36
- const MMHG_PA = 133.322387415;
37
- const J_EV = 624150974e10;
38
- const UNITS = {
39
- /* 901 */
40
- Length: [
41
- "m",
42
- "nano[nm]",
43
- "µm",
44
- "micron",
45
- "mm",
46
- "cm",
47
- "dm",
48
- "km",
49
- "in",
50
- "ft-in",
51
- "thou[mil, or thousandth of an inch]",
52
- // a thousandth is called a thou per wiki
53
- "ft",
54
- "yd",
55
- "mile",
56
- "NM[M, nmi, or nautical mile]"
57
- ],
58
- /* 902 */
59
- Mass: [
60
- "kg",
61
- "g",
62
- "mg",
63
- "µg",
64
- "oz",
65
- "lbm",
66
- "slug",
67
- "ton(US/short)",
68
- "ton(UK-Imperial/long)",
69
- "tonne"
70
- ],
71
- /* 903 */
72
- Time: ["s[second]", "s", "minute", "h", "h[hour]", "day", "week"],
73
- /* 904 */
74
- ElectricalCurrent: ["A", "Ampere[amp]", "mA", "µA", "kA", "MA", "esu/s"],
75
- /* 905 */
76
- Temperature: ["°K", "°C", "°F", "°Ra"],
77
- /* 906 */
78
- "Amount of Substance": ["mol", "mmol", "kmol"],
79
- /* 907 */
80
- "Luminous Intensity": [
81
- "cd[candela]",
82
- "lm/sr",
83
- "cp[candlepower]",
84
- "cp[candlepower(before 1948)]"
85
- ],
86
- /* 100 */
87
- Acceleration: ["m/s²", "m/min²", "mm/s²", "ft/s²", "ft/min²", "in/s²"],
88
- /* 1001 */
89
- "Gravitational Constant": ["m³/kg/s²", "N⋅m²/kg²", "dyn⋅cm²/g²"],
90
- /* 1010 */
91
- "Velocity (Angular)": [
92
- "rad/s",
93
- "rad/min",
94
- "rad/h",
95
- "deg°/s",
96
- "deg°/min",
97
- "deg°/h",
98
- "rpm[rev/min]",
99
- "rev/s"
100
- ],
101
- /* 1011 */
102
- "Acceleration (Angular)": ["rad/s²", "rad/min²", "deg°/s²", "deg°/min²"],
103
- /* 102 */
104
- Illuminance: [
105
- "lux",
106
- "lumen/m²",
107
- "lm/m²",
108
- "meter-candle",
109
- "phot",
110
- "foot-candle",
111
- "fc",
112
- "lumen/ft²",
113
- "lm/ft²"
114
- ],
115
- /* 103 */
116
- Frequency: ["Hz", "1/s", "1/min", "rpm", "1/hour", "mHz", "kHz", "MHz", "GHz"],
117
- /* 104 */
118
- Area: [
119
- "m²",
120
- "µm²",
121
- "mm²",
122
- "cm²",
123
- "km²",
124
- "hectare",
125
- "in²",
126
- "ft²",
127
- "yd²",
128
- "acre",
129
- "mile²"
130
- ],
131
- /* 105 */
132
- "Volume / Section Modulus": [
133
- "m³",
134
- "µm³",
135
- "mm³",
136
- "cm³",
137
- "L",
138
- "ml",
139
- "km³",
140
- "in³",
141
- "ft³",
142
- "yd³",
143
- "gal(UK-imperial)",
144
- "gal(US-liquid)",
145
- "gal(US-dry)",
146
- "pint(UK-imperial)",
147
- "pint(US-liquid)",
148
- "pint(US-dry)",
149
- "fluid ounce(UK-imperial)",
150
- "fluid ounce(US-liquid)",
151
- "bushel(UK-imperial)",
152
- "bushel(US-dry)",
153
- "cup(US-liquid)",
154
- "cup(Legal)",
155
- "cup(Metric)",
156
- "cup(Imperial)"
157
- ],
158
- /* 106 */
159
- "Polar Moment of Inertia": ["m⁴", "mm⁴", "cm⁴", "in⁴", "ft⁴"],
160
- /* 1060 */
161
- "Moment of Inertia": ["kg⋅m²", "g⋅cm²", "g⋅mm²", "lbm⋅ft²", "lbm⋅in²", "oz⋅in²"],
162
- /* 107 */
163
- Force: ["N", "kN", "MN", "kgf", "lb", "lbf", "kip[kilo pound]"],
164
- /* 108 */
165
- Angle: ["radian", "rad", "deg°", "revolution"],
166
- /* 1081 */
167
- "Solid Angle": ["sr[steradian]", "m²/m²"],
168
- /* 1090 */
169
- "BMI-Body Mass Index/Ballistic Coefficient": [
170
- "kg/m²",
171
- "g/cm²",
172
- "g/mm²",
173
- "tonne/m²",
174
- "lbm/yd²",
175
- "lbm/ft²",
176
- "lbm/in²",
177
- "oz/yd²",
178
- "oz/ft²",
179
- "oz/in²"
180
- ],
181
- /* 1091 */
182
- Density: ["kg/m³", "kg/L", "g/cm³", "g/mm³", "lbm/ft³", "lbm/in³"],
183
- /* 110 */
184
- Energy: [
185
- "J[Joule]",
186
- "kJ",
187
- "MJ",
188
- "GJ",
189
- "TNT Equivalent[kiloton]",
190
- "Btu",
191
- "MM Btu",
192
- "calorie(IT)",
193
- // 4.1868J
194
- "kilo-calorie(IT)",
195
- "calorie(TH)",
196
- // 4.184J
197
- "kilo-calorie(TH)",
198
- "HP Hour",
199
- "Wh",
200
- "kWh",
201
- "eV[electron-volt]"
202
- ],
203
- /* 111 */
204
- Power: [
205
- "W",
206
- "kW",
207
- "MW",
208
- "GW[Gigawatt]",
209
- "Btu/h",
210
- "Btu/minute",
211
- "MM Btu/h",
212
- "Btu(AC)",
213
- "calorie(IT)/second",
214
- "calorie(IT)/minute",
215
- "kilo-calorie(IT)/hour",
216
- "calorie(TH)/second",
217
- "calorie(TH)/minute",
218
- "kilo-calorie(TH)/hour",
219
- "lb-ft/second",
220
- "lb-ft/minute",
221
- "HP",
222
- "J/second",
223
- "J/minute",
224
- "J/h",
225
- "MJ/h",
226
- "kJ/minute"
227
- ],
228
- /* 112 */
229
- "Torque, Moment of Force": ["Nm", "kNm", "lb-in", "kip-in", "lb-ft", "oz-in", "oz-ft"],
230
- /* 1130 */
231
- "Pressure/Stress": [
232
- "Pa",
233
- "kPa",
234
- "MPa",
235
- "GPa",
236
- "bar",
237
- "mbar",
238
- "atm",
239
- "mm HG",
240
- "cm HG",
241
- "in HG",
242
- "mm W.C.",
243
- "m W.C.",
244
- "in W.C.",
245
- "psf",
246
- "psi",
247
- "ksi",
248
- "ksi[kip/in²]"
249
- ],
250
- /* 1131 */
251
- "Pressure Drop per Unit Length": [
252
- "Pa/m",
253
- "Pascal/m",
254
- "kPa/m",
255
- "MPa/km",
256
- "bar/m",
257
- "mbar/mm",
258
- "atm/m",
259
- "mm HG/m",
260
- "in HG/ft",
261
- "mm W.C./m",
262
- "m W.C./m",
263
- "in W.C./ft",
264
- "in W.C./100 ft",
265
- "psf/in",
266
- "psi/ft",
267
- "ksi/ft",
268
- "Torr/ft",
269
- "mTorr/m"
270
- ],
271
- /* 1132 */
272
- "Uniformly Distributed (Uniform Line) Load | Stiffness of Linear Spring": ["N/m", "N/mm", "kN/m", "lb/ft", "kips/ft", "lb/in"],
273
- // 1132
274
- /* 1133 */
275
- "Stiffness of Rotary Spring": [
276
- "N⋅m/rad",
277
- "N⋅m/deg°",
278
- "N⋅mm/rad",
279
- "N⋅mm/deg°",
280
- "lb-ft/rad",
281
- "lb-ft/deg°",
282
- "lb-in/rad",
283
- "lb-in/deg°"
284
- ],
285
- /* 114 */
286
- "Flow Rate (Volume)": [
287
- "m³/s",
288
- "m³/min",
289
- "m³/h",
290
- "L/s",
291
- "L/min",
292
- "L/h",
293
- "cm³/s",
294
- "cm³/min",
295
- "in³/s",
296
- "in³/min",
297
- "ft³/s",
298
- "CFM",
299
- "CFM[ft³/min]",
300
- "CFH",
301
- "CFH[ft³/h]",
302
- "yd³/min",
303
- "yd³/h",
304
- "gpm(US)",
305
- "gph(US)",
306
- "bushel(UK-imperial)/h",
307
- "bushel(US)/h"
308
- ],
309
- /* 115 */
310
- "Flow Rate (Mass)": [
311
- "kg/s",
312
- "kg/min",
313
- "kg/h",
314
- "g/s",
315
- "g/min",
316
- "g/h",
317
- "slug/s",
318
- "slug/min",
319
- "slug/h",
320
- "lbm/s",
321
- "lbm/min",
322
- "lbm/h",
323
- "oz/s",
324
- "oz/min",
325
- "oz/h",
326
- "tonne/h",
327
- "short ton/h",
328
- "long ton/h"
329
- ],
330
- /* 117 */
331
- "Speed / Velocity (Linear)": [
332
- "m/s",
333
- "mm/s",
334
- "km/s",
335
- "mm/min",
336
- "m/min",
337
- "km/min",
338
- "mm/h",
339
- "m/h",
340
- "km/h",
341
- "in/s",
342
- "fps",
343
- "fps[ft/second]",
344
- "fpm",
345
- // clear version
346
- "fpm[ft/minute]",
347
- // redundant version
348
- "mph[mile/h]",
349
- "knot[kn, kt, or nautical mile/h]"
350
- ],
351
- /* 118 */
352
- /* 119 */
353
- "Fuel Heat Value (Volume)": [
354
- "J/m³",
355
- "J/L",
356
- "kJ/L",
357
- "kJ/m³",
358
- "MJ/m³",
359
- "GJ/m³",
360
- "cal(IT)/L",
361
- // 4.1868J
362
- "kcal(IT)/m³",
363
- "cal(TH)/L",
364
- // 4.184J
365
- "kcal(TH)/m³",
366
- "Wh/L",
367
- "Wh/m³",
368
- "kWh/m³",
369
- "HP Hour/ft³",
370
- "Btu/gal(US)",
371
- "Btu/ft³",
372
- "MM Btu/ft³"
373
- ],
374
- /* 120 */
375
- "Fuel Heat Value (Mass)": [
376
- "J/kg",
377
- "J/g",
378
- "kJ/kg",
379
- "MJ/kg",
380
- "GJ/kg",
381
- "cal(IT)/g",
382
- "kcal(IT)/kg",
383
- "cal(TH)/g",
384
- "kcal(TH)/kg",
385
- "Wh/g",
386
- "Wh/kg",
387
- "kWh/kg",
388
- "HP Hour/lbm",
389
- "Btu/lbm",
390
- "MM Btu/lbm",
391
- "Btu/ton(short)"
392
- ],
393
- /* 121 */
394
- "Mass Heat Capacity": ["J/(kg·°K)", "J/(kg·°C)", "J/(g·°K)", "J/(g·°C)", "Btu/(lbm·°F)"],
395
- /* 122 */
396
- "Viscosity - Absolute/Dynamic(μ)": [
397
- "PI[Pa·s]",
398
- "N·s/m²",
399
- "kg/m/s",
400
- "P[Poise]",
401
- "cP",
402
- "lb·s/ft²",
403
- "lbm/ft/s"
404
- ],
405
- /* 123 */
406
- "Viscosity - Kinematic": [
407
- "m²/s",
408
- "m²/min",
409
- "m²/hr",
410
- "St[cm²/s]",
411
- "Stoke",
412
- "cm²/min",
413
- "cm²/hr",
414
- "cSt[mm²/s]",
415
- "mm²/min",
416
- "mm²/hr",
417
- "ft²/s",
418
- "ft²/min",
419
- "ft²/hr",
420
- "in²/s",
421
- "in²/min",
422
- "in²/hr"
423
- ],
424
- /* 1240 */
425
- "Linear Thermal Expansion Coefficient": ["1/°K", "1/°C", "1/°F", "1/°Ra"],
426
- /* 1241 */
427
- "Thermal Conductivity": ["W/(m⋅°K)", "W/(cm⋅°K)", "BTU/(h⋅ft⋅°F)", "BTU/(h⋅in⋅°F)"],
428
- // TODO:
429
- /* 125 */
430
- "Electrical Charge": [
431
- "C[coulomb]",
432
- "Ah",
433
- "ampere-hour",
434
- "mAh",
435
- "e[electron]",
436
- "faraday"
437
- ],
438
- /* 126 */
439
- "Electrical Potential Difference (Voltage)": [
440
- "V",
441
- "Volt",
442
- "joule/coulomb",
443
- "J/C",
444
- "µV",
445
- "mV",
446
- "kV",
447
- "MV"
448
- ],
449
- /* 127 */
450
- "Electrical Resistance(Impedance)": ["Ω[Ohm]", "µΩ", "mΩ", "kΩ", "MΩ"],
451
- /* 128 */
452
- "Electrical Capacitance": ["F[farad]", "pF", "nF", "µF", "mF"],
453
- /* 129 */
454
- "Electrical Inductance": ["H[henry]", "µH", "mH"],
455
- /* 130 */
456
- "Electrical Conductance": ["S[siemens]", "℧", "µS", "mS", "kS"],
457
- /* 131 */
458
- "Magnetic Flux": ["Wb[weber]", "nWb", "µWb", "mWb", "cWb", "dWb"],
459
- /* 132 */
460
- "Luminous Flux": ["lm[lumen]", "cd⋅sr"],
461
- /* 133 */
462
- "Magnetic Flux Density": ["T[tesla]", "Wb/m²", "µT", "G", "mT"],
463
- /* 134 */
464
- "Katalytic Activity": ["kat[katal]", "mol/s", "µkat", "mkat", "kkat", "Mkat"],
465
- /* 135 */
466
- Radioactivity: [
467
- "Bq[becquerel]",
468
- "1/s",
469
- "µBq",
470
- "mBq",
471
- "kBq",
472
- "MBq",
473
- "Rd[rutherford]",
474
- "Ci[curie]"
475
- ],
476
- /* 136 */
477
- "Absorbed Dose of Ionizing Radiation": ["Gy[gray]", "J/kg", "µGy", "mGy", "kGy", "MGy"],
478
- /* 137 */
479
- "Equivalent Dose of Ionizing Radiation": ["Sv[sievert]", "J/kg", "µSv", "mSv", "kSv", "MSv"],
480
- /* 138 */
481
- "Volumetric Displacement": [
482
- /** baseUnit does not need to be included here.
483
- * => Update: show baseUnit so user can tell it is based on volume/angle, instead of volume/cycle. 20221016
484
- */
485
- "m³/rad",
486
- "m³/rev",
487
- "L/rev",
488
- "cc/rev",
489
- "ft³/rev",
490
- "in³/rev",
491
- "gal(US-liquid)/rev"
492
- ],
493
- /* 139 */
494
- "Fuel Economy": [
495
- // 'm/m³',
496
- "km/L",
497
- "mpg(US)",
498
- "mile/gal(US-liquid)",
499
- "mpg(UK)",
500
- "mile/gal(UK-imperial)",
501
- "mile/L"
502
- ],
503
- /* 140 */
504
- "Fuel Consumption": [
505
- "m³/m",
506
- "L/km",
507
- "L/100km",
508
- "L/mile",
509
- "L/100mile",
510
- "gal(US-liquid)/mile",
511
- "gal(US-liquid)/100mile",
512
- "gal(UK-imperial)/mile",
513
- "gal(UK-imperial)/100mile"
514
- ],
515
- /* 141 */
516
- "New Energy Economy (MPGe)": [
517
- "m/J",
518
- "km/kWh",
519
- "km/MJ",
520
- "MPGe",
521
- "mile/MJ",
522
- "mile/kWh",
523
- "mile/MM Btu"
524
- ],
525
- /* 142 */
526
- "New Energy Consumption": [
527
- "J/m",
528
- "Wh/km",
529
- "Wh/mile",
530
- "kWh/km",
531
- "kWh/100km",
532
- "kWh/mile",
533
- "kWh/100mile",
534
- "MJ/km",
535
- "MJ/100km",
536
- "MJ/mile",
537
- "MJ/100mile",
538
- "MM Btu/km",
539
- "MM Btu/100km",
540
- "MM Btu/mile",
541
- "MM Btu/100mile"
542
- ],
543
- /* 143 */
544
- "Baud Rate": ["bit/s", "Bd", "kBd", "MBd", "GBd"],
545
- /* 144 */
546
- /* 145 */
547
- /* 146 */
548
- /* 147 */
549
- /* 148 */
550
- /* 149 */
551
- /* 150 */
552
- Currency: ["$", "¢", "$1K", "$1M", "$1B", "$1T"],
553
- /* 151 */
554
- "Impulse / Momentum": ["N·s", "Newton-second", "lb·s", "kg·m/s", "lbm·fps", "lbm·fpm"],
555
- /* 152 */
556
- "Digital Storage": [
557
- "bit",
558
- "kilobit",
559
- "kibibit",
560
- "megabit",
561
- "mebibit",
562
- "gigabit",
563
- "gibibit",
564
- "terabit",
565
- "tebibit",
566
- "petabit",
567
- "pebibit",
568
- "byte",
569
- "kilobyte",
570
- "kibibyte",
571
- "megabyte",
572
- "mebibyte",
573
- "gigabyte",
574
- "gibibyte",
575
- "terabyte",
576
- "tebibyte",
577
- "petabyte",
578
- "pebibyte"
579
- ],
580
- /* 153 */
581
- "Data Transfer Rate": [
582
- "bit/s",
583
- "kilobit/s",
584
- "kibibit/s",
585
- "megabit/s",
586
- "mebibit/s",
587
- "gigabit/s",
588
- "gibibit/s",
589
- "terabit/s",
590
- "tebibit/s",
591
- "petabit/s",
592
- "pebibit/s"
593
- ]
594
- /* 154 */
595
- /* */
7
+ const meta = {
8
+ warning: "DO NOT EDIT — generated by units-export.py from Excel master source. Regenerate: python .e3d/chat-logs/data/units-export.py --uom-data",
9
+ version: "2.0.29",
10
+ generated: {
11
+ timestamp: "2026-04-01T22:32:36.380733",
12
+ source: {
13
+ fileName: "constants_categories_units_full.xlsm",
14
+ lastModified: "2026-04-01T22:16:43.302987"
15
+ }
16
+ },
17
+ stats: {
18
+ totalCategories: 67,
19
+ totalUnits: 571
20
+ }
596
21
  };
597
- const CONVERSION_FACTORS = {
598
- /* 901 */
599
- Length: {
600
- "m": 1,
601
- "nano[nm]": 1 / BILLION,
602
- "µm": 1 / MILLION,
603
- "micron": 1 / MILLION,
604
- "mm": 1 / THOUSAND,
605
- "cm": 0.01,
606
- "dm": 0.1,
607
- "km": THOUSAND,
608
- "in": INCH_METER,
609
- "thou[mil, or thousandth of an inch]": INCH_METER / THOUSAND,
610
- // a thousandth is called a thou per wiki
611
- "ft-in": INCH_METER,
612
- "ft": FOOT_METER,
613
- "yd": 3 * FOOT_METER,
614
- "mile": MILE_FOOT * FOOT_METER,
615
- "NM[M, nmi, or nautical mile]": NM_METER
616
- },
617
- /* 902 */
618
- Mass: {
619
- "kg": 1,
620
- "g": 1e-3,
621
- "mg": 1 / MILLION,
622
- "µg": 1 / BILLION,
623
- "oz": 1 / 16 * POUNDMASS_KG,
624
- "lbm": POUNDMASS_KG,
625
- "slug": SLUG_KG,
626
- "ton(US/short)": 2e3 * POUNDMASS_KG,
627
- "ton(UK-Imperial/long)": 2240 * POUNDMASS_KG,
628
- "tonne": THOUSAND
629
- },
630
- /* 903 */
631
- Time: {
632
- /* ["s[second]", "s", "minute", "h", "h[hour]", "day", "week"], */
633
- "s[second]": 1,
634
- "s": 1,
635
- "minute": 60,
636
- "h": 3600,
637
- "h[hour]": 3600,
638
- "day": 3600 * 24,
639
- "week": 3600 * 24 * 7
640
- },
641
- /* 904 */
642
- ElectricalCurrent: {
643
- /* ["A", "Ampere[amp]", "mA", "µA", "kA", "MA", "esu/s"], */
644
- "A": 1,
645
- "Ampere[amp]": 1,
646
- "mA": 1e-3,
647
- "µA": 1e-6,
648
- "kA": THOUSAND,
649
- "MA": MILLION,
650
- "esu/s": 1 / 3e9
651
- },
652
- /* 905 */
653
- Temperature: {
654
- "°K": { c0: 1, c1: 0 },
655
- "°C": { c0: 1, c1: 273.15 },
656
- "°F": { c0: 5 / 9, c1: 255.3722222 },
657
- "°Ra": { c0: 5 / 9, c1: 0 }
658
- },
659
- /* 906 */
660
- "Amount of Substance": {
661
- "mol": 1,
662
- "mmol": 1e-3,
663
- "kmol": THOUSAND
664
- },
665
- /* 907 */
666
- "Luminous Intensity": {
667
- "cd[candela]": 1,
668
- "lm/sr": 1,
669
- "cp[candlepower]": 1,
670
- "cp[candlepower(before 1948)]": 0.981
671
- },
672
- /* 100 */
673
- Acceleration: {
674
- "m/s²": 1,
675
- "m/min²": 1 / 3600,
676
- "mm/s²": 1e-3,
677
- "ft/s²": FOOT_METER,
678
- "ft/min²": FOOT_METER / 3600,
679
- "in/s²": INCH_METER
680
- },
681
- /* 1001 */
682
- "Gravitational Constant": {
683
- "m³/kg/s²": 1,
684
- "N⋅m²/kg²": 1,
685
- "dyn⋅cm²/g²": THOUSAND
686
- },
687
- /* 1010 */
688
- "Velocity (Angular)": {
689
- "rad/s": 1,
690
- "rad/min": 1 / 60,
691
- "rad/h": 1 / 3600,
692
- "deg°/s": Math.PI / 180,
693
- "deg°/min": Math.PI / 180 / 60,
694
- "deg°/h": Math.PI / 180 / 3600,
695
- "rpm[rev/min]": 2 * Math.PI / 60,
696
- "rev/s": 2 * Math.PI
697
- },
698
- /* 1011 */
699
- "Acceleration (Angular)": {
700
- "rad/s²": 1,
701
- "rad/min²": 1 / 3600,
702
- "deg°/s²": Math.PI / 180,
703
- "deg°/min²": Math.PI / 180 / 3600
704
- },
705
- /* 102 */
706
- Illuminance: {
707
- "lux": 1,
708
- "lumen/m²": 1,
709
- "lm/m²": 1,
710
- "meter-candle": 1,
711
- "phot": 1e4,
712
- "foot-candle": 1 / Math.pow(FOOT_METER, 2),
713
- "fc": 1 / Math.pow(FOOT_METER, 2),
714
- "lumen/ft²": 1 / Math.pow(FOOT_METER, 2),
715
- "lm/ft²": 1 / Math.pow(FOOT_METER, 2)
716
- },
717
- /* 103 */
718
- Frequency: {
719
- "Hz": 1,
720
- "1/s": 1,
721
- "1/min": 1 / 60,
722
- "rpm": 1 / 60,
723
- "1/hour": 1 / 3600,
724
- "mHz": 1 / THOUSAND,
725
- "kHz": THOUSAND,
726
- "MHz": MILLION,
727
- "GHz": BILLION
728
- },
729
- /* 104 */
730
- Area: {
731
- "": 1,
732
- "µm²": Math.pow(1 / MILLION, 2),
733
- "mm²": Math.pow(1 / THOUSAND, 2),
734
- "cm²": Math.pow(1 / 100, 2),
735
- "km²": MILLION,
736
- "hectare": Math.pow(100, 2),
737
- "in²": Math.pow(INCH_METER, 2),
738
- "ft²": Math.pow(FOOT_METER, 2),
739
- "yd²": Math.pow(FOOT_METER * 3, 2),
740
- "acre": ACRE_FOOT2 * Math.pow(FOOT_METER, 2),
741
- "mile²": Math.pow(MILE_FOOT * FOOT_METER, 2)
742
- },
743
- /* 105 */
744
- "Volume / Section Modulus": {
745
- "m³": 1,
746
- "µm³": Math.pow(1 / MILLION, 3),
747
- "mm³": Math.pow(1 / THOUSAND, 3),
748
- "cm³": Math.pow(1 / 100, 3),
749
- "L": 1 / THOUSAND,
750
- "ml": 1 / MILLION,
751
- "km³": Math.pow(THOUSAND, 3),
752
- "in³": Math.pow(INCH_METER, 3),
753
- "ft³": Math.pow(FOOT_METER, 3),
754
- "yd³": Math.pow(FOOT_METER * 3, 3),
755
- "gal(UK-imperial)": GALLON_UK_IMPERIAL_LITRE * 1 / 1e3,
756
- "gal(US-liquid)": GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3),
757
- "gal(US-dry)": GALLON_US_DRY_IN3 * Math.pow(INCH_METER, 3),
758
- "pint(UK-imperial)": PINT_GALLON * GALLON_UK_IMPERIAL_LITRE * 1 / 1e3,
759
- "pint(US-liquid)": PINT_GALLON * GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3),
760
- "pint(US-dry)": PINT_GALLON * GALLON_US_DRY_IN3 * Math.pow(INCH_METER, 3),
761
- "fluid ounce(UK-imperial)": OUNCE_FLUID_PINT_UK_IMPERIAL * PINT_GALLON * GALLON_UK_IMPERIAL_LITRE / 1e3,
762
- "fluid ounce(US-liquid)": OUNCE_FLUID_PINT_US_LIQUID * PINT_GALLON * GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3),
763
- "bushel(UK-imperial)": BUSHEL_GALLON_UK_IMPERIAL * GALLON_UK_IMPERIAL_LITRE / 1e3,
764
- "bushel(US-dry)": BUSHEL_GALLON_US_DRY * GALLON_US_DRY_IN3 * Math.pow(INCH_METER, 3),
765
- "cup(US-liquid)": CUP_US_GALLON_LIQUID * GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3),
766
- "cup(Legal)": CUP_LEGAL_ML_LIQUID * Math.pow(0.01, 3),
767
- "cup(Metric)": CUP_METRIC_ML_LIQUID * Math.pow(0.01, 3),
768
- "cup(Imperial)": CUP_IMPERIAL_OUNCE_LIQUID * OUNCE_FLUID_PINT_UK_IMPERIAL * PINT_GALLON * GALLON_UK_IMPERIAL_LITRE / 1e3
769
- },
770
- /* 106 */
771
- "Polar Moment of Inertia": {
772
- "m⁴": 1,
773
- "mm⁴": 1e-12,
774
- "cm⁴": 1e-8,
775
- "in⁴": Math.pow(INCH_METER, 4),
776
- "ft⁴": Math.pow(FOOT_METER, 4)
777
- },
778
- /* 1060 */
779
- "Moment of Inertia": {
780
- "kg⋅m²": 1,
781
- "g⋅cm²": 1 / (THOUSAND * 1e4),
782
- "g⋅mm²": 1 / (THOUSAND * MILLION),
783
- "lbm⋅ft²": POUNDMASS_KG * Math.pow(FOOT_METER, 2),
784
- "lbm⋅in²": POUNDMASS_KG * Math.pow(INCH_METER, 2),
785
- "oz⋅in²": POUNDMASS_KG / 16 * Math.pow(INCH_METER, 2)
786
- },
787
- /* 107 */
788
- Force: {
789
- "N": 1,
790
- "kN": THOUSAND,
791
- "MN": MILLION,
792
- "kgf": GRAVITY_SI,
793
- "lb": POUNDMASS_KG * GRAVITY_SI,
794
- "lbf": POUNDMASS_KG * GRAVITY_SI,
795
- "kip[kilo pound]": THOUSAND * POUNDMASS_KG * GRAVITY_SI
796
- },
797
- /* 108 */
798
- Angle: {
799
- "radian": 1,
800
- "rad": 1,
801
- "deg°": Math.PI / 180,
802
- "revolution": Math.PI * 2
803
- },
804
- /* 1081 */
805
- "Solid Angle": {
806
- "sr[steradian]": 1,
807
- "m²/m²": 1
808
- },
809
- /* 1090 */
810
- "BMI-Body Mass Index/Ballistic Coefficient": {
811
- "kg/m²": 1,
812
- "g/cm²": 1 / THOUSAND / Math.pow(0.01, 2),
813
- "g/mm²": 1 / THOUSAND / Math.pow(1e-3, 2),
814
- "tonne/m²": THOUSAND,
815
- "lbm/yd²": POUNDMASS_KG / Math.pow(FOOT_METER * 3, 2),
816
- "lbm/ft²": POUNDMASS_KG / Math.pow(FOOT_METER, 2),
817
- "lbm/in²": POUNDMASS_KG / Math.pow(INCH_METER, 2),
818
- "oz/yd²": POUNDMASS_KG / 16 / Math.pow(3 * FOOT_METER, 2),
819
- "oz/ft²": POUNDMASS_KG / 16 / Math.pow(FOOT_METER, 2),
820
- "oz/in²": POUNDMASS_KG / 16 / Math.pow(INCH_METER, 2)
821
- },
822
- /* 1091 */
823
- Density: {
824
- "kg/m³": 1,
825
- "kg/L": 1e3,
826
- "g/cm³": 1 / 1e3 / Math.pow(0.01, 3),
827
- "g/mm³": 1 / 1e3 / Math.pow(1e-3, 3),
828
- "lbm/ft³": POUNDMASS_KG / Math.pow(FOOT_METER, 3),
829
- "lbm/in³": POUNDMASS_KG / Math.pow(INCH_METER, 3)
830
- },
831
- /* 110 */
832
- Energy: {
833
- "J[Joule]": 1,
834
- "kJ": THOUSAND,
835
- "MJ": MILLION,
836
- "GJ": BILLION,
837
- "TNT Equivalent[kiloton]": 1e9 * CALORIE_TH_J,
838
- // 1e9 = 1000000000.0,
839
- "Btu": BTU_J,
840
- "MM Btu": BTU_J * MILLION,
841
- "calorie(IT)": CALORIE_IT_J,
842
- // 4.1868J
843
- "kilo-calorie(IT)": CALORIE_IT_J * THOUSAND,
844
- "calorie(TH)": CALORIE_TH_J,
845
- // 4.184J
846
- "kilo-calorie(TH)": CALORIE_TH_J * 1e3,
847
- "HP Hour": HP_W * 3600,
848
- "Wh": 3600,
849
- "kWh": 3600 * THOUSAND,
850
- "eV{electron-volt]": 1 / J_EV
851
- },
852
- /* 111 */
853
- Power: {
854
- "W": 1,
855
- "kW": THOUSAND,
856
- "MW": MILLION,
857
- "GW[Gigawatt]": BILLION,
858
- "Btu/h": BTU_J / 3600,
859
- "Btu/minute": BTU_J / 60,
860
- "MM Btu/h": BTU_J * MILLION / 3600,
861
- "Btu(AC)": BTU_J / 3600,
862
- "calorie(IT)/second": CALORIE_IT_J,
863
- "calorie(IT)/minute": CALORIE_IT_J / 60,
864
- "kilo-calorie(IT)/hour": CALORIE_IT_J * THOUSAND / 3600,
865
- "calorie(TH)/second": CALORIE_TH_J,
866
- "calorie(TH)/minute": CALORIE_TH_J / 60,
867
- "kilo-calorie(TH)/hour": CALORIE_TH_J * THOUSAND / 3600,
868
- "lb-ft/second": POUNDMASS_KG * GRAVITY_SI * FOOT_METER,
869
- "lb-ft/minute": POUNDMASS_KG * GRAVITY_SI * FOOT_METER / 60,
870
- "HP": HP_W,
871
- "J/second": 1,
872
- "J/minute": 1 / 60,
873
- "J/h": 1 / 3600,
874
- "MJ/h": MILLION / 3600,
875
- "kJ/minute": THOUSAND / 60
876
- },
877
- /* 112 */
878
- "Torque, Moment of Force": {
879
- "Nm": 1,
880
- "kNm": THOUSAND,
881
- "lb-in": POUNDMASS_KG * GRAVITY_SI * INCH_METER,
882
- "kip-in": THOUSAND * POUNDMASS_KG * GRAVITY_SI * INCH_METER,
883
- "lb-ft": POUNDMASS_KG * GRAVITY_SI * FOOT_METER,
884
- "oz-in": POUNDMASS_KG / 16 * GRAVITY_SI * INCH_METER,
885
- "oz-ft": POUNDMASS_KG / 16 * GRAVITY_SI * FOOT_METER
886
- },
887
- /* 1130 */
888
- "Pressure/Stress": {
889
- "Pa": 1,
890
- "kPa": THOUSAND,
891
- "MPa": MILLION,
892
- "GPa": BILLION,
893
- "bar": 100 * THOUSAND,
894
- "mbar": 100,
895
- "atm": ATM_PA,
896
- "mm HG": MMHG_PA,
897
- "cm HG": MMHG_PA * 10,
898
- "in HG": MMHG_PA * 25.4,
899
- "mm W.C.": 1 / 1e3 * 1e3 * GRAVITY_SI,
900
- "m W.C.": 1 * 1e3 * GRAVITY_SI,
901
- "in W.C.": INCH_METER * 1e3 * GRAVITY_SI,
902
- "psf": POUNDMASS_KG * GRAVITY_SI / Math.pow(FOOT_METER, 2),
903
- "psi": POUNDMASS_KG * GRAVITY_SI / Math.pow(INCH_METER, 2),
904
- "ksi": POUNDMASS_KG * GRAVITY_SI / Math.pow(INCH_METER, 2) * THOUSAND,
905
- "ksi{kip/in²]": POUNDMASS_KG * GRAVITY_SI / Math.pow(INCH_METER, 2) * THOUSAND
906
- },
907
- /* 1131 */
908
- "Pressure Drop per Unit Length": {
909
- "Pa/m": 1,
910
- "Pascal/m": 1,
911
- "kPa/m": THOUSAND,
912
- "MPa/km": MILLION / THOUSAND,
913
- "bar/m": 1e5,
914
- "mbar/mm": 100 * THOUSAND,
915
- "atm/m": ATM_PA,
916
- "mm HG/m": MMHG_PA,
917
- "in HG/ft": MMHG_PA * 25.4 / FOOT_METER,
918
- "mm W.C./m": 1 / THOUSAND * THOUSAND * GRAVITY_SI,
919
- "m W.C./m": THOUSAND * GRAVITY_SI,
920
- "in W.C./ft": INCH_METER * THOUSAND * GRAVITY_SI / FOOT_METER,
921
- "in W.C./100 ft": INCH_METER * THOUSAND * GRAVITY_SI / FOOT_METER / 100,
922
- "psf/in": POUNDMASS_KG * GRAVITY_SI / Math.pow(FOOT_METER, 2) / INCH_METER,
923
- "psi/ft": POUNDMASS_KG * GRAVITY_SI / Math.pow(FOOT_METER, 2) / FOOT_METER,
924
- "ksi/ft": POUNDMASS_KG * GRAVITY_SI / Math.pow(FOOT_METER, 2) / FOOT_METER * THOUSAND,
925
- "Torr/ft": TORR_ATM * ATM_PA / FOOT_METER,
926
- "mTorr/m": TORR_ATM * ATM_PA / THOUSAND
927
- },
928
- /* 1132 */
929
- "Uniformly Distributed (Uniform Line) Load | Stiffness of Linear Spring": {
930
- "N/m": 1,
931
- "N/mm": THOUSAND,
932
- "kN/m": THOUSAND,
933
- "lb/ft": POUNDMASS_KG * GRAVITY_SI / FOOT_METER,
934
- "kips/ft": THOUSAND * POUNDMASS_KG * GRAVITY_SI / FOOT_METER,
935
- "lb/in": POUNDMASS_KG * GRAVITY_SI / INCH_METER
936
- },
937
- /* 1133 */
938
- "Stiffness of Rotary Spring": {
939
- "N⋅m/rad": 1,
940
- "N⋅m/deg°": 1 / Math.PI * 180,
941
- "N⋅mm/rad": 1 / THOUSAND,
942
- "N⋅mm/deg°": 1 / THOUSAND / Math.PI * 180,
943
- "lb-ft/rad": POUNDMASS_KG * GRAVITY_SI * FOOT_METER,
944
- "lb-ft/deg°": POUNDMASS_KG * GRAVITY_SI * FOOT_METER / (Math.PI / 180),
945
- "lb-in/rad": POUNDMASS_KG * GRAVITY_SI * INCH_METER,
946
- "lb-in/deg°": POUNDMASS_KG * GRAVITY_SI * INCH_METER / (Math.PI / 180)
947
- },
948
- /* 114 */
949
- "Flow Rate (Volume)": {
950
- "m³/s": 1,
951
- "m³/min": 1 / 60,
952
- "m³/h": 1 / 3600,
953
- "L/s": 1 / THOUSAND,
954
- "L/min": 1 / THOUSAND / 60,
955
- "L/h": 1 / THOUSAND / 3600,
956
- "cm³/s": 1e-6,
957
- "cm³/min": 1e-6 / 60,
958
- "in³/s": Math.pow(INCH_METER, 3),
959
- "in³/min": Math.pow(INCH_METER, 3) / 60,
960
- "ft³/s": Math.pow(FOOT_METER, 3),
961
- "CFM": Math.pow(FOOT_METER, 3) / 60,
962
- "CFM[ft³/min]": Math.pow(FOOT_METER, 3) / 60,
963
- "CFH": Math.pow(FOOT_METER, 3) / 3600,
964
- "CFH[ft³/h]": Math.pow(FOOT_METER, 3) / 3600,
965
- "yd³/min": Math.pow(FOOT_METER * 3, 3) / 60,
966
- "yd³/h": Math.pow(FOOT_METER * 3, 3) / 3600,
967
- "gpm(US)": GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3) / 60,
968
- "gph(US)": GALLON_US_LIQUID_IN3 * Math.pow(INCH_METER, 3) / 3600,
969
- "bushel(UK-imperial)/h": BUSHEL_GALLON_UK_IMPERIAL * GALLON_UK_IMPERIAL_LITRE / 1e3 / 3600,
970
- "bushel(US)/h": BUSHEL_GALLON_US_DRY * GALLON_US_DRY_IN3 * Math.pow(INCH_METER, 3) / 3600
971
- },
972
- /* 115 */
973
- "Flow Rate (Mass)": {
974
- "kg/s": 1,
975
- "kg/min": 1 / 60,
976
- "kg/h": 1 / 3600,
977
- "g/s": 1 / THOUSAND,
978
- "g/min": 1 / THOUSAND / 60,
979
- "g/h": 1 / THOUSAND / 3600,
980
- "slug/s": SLUG_KG,
981
- "slug/min": SLUG_KG / 60,
982
- "slug/h": SLUG_KG / 3600,
983
- "lbm/s": POUNDMASS_KG,
984
- "lbm/min": POUNDMASS_KG / 60,
985
- "lbm/h": POUNDMASS_KG / 3600,
986
- "oz/s": POUNDMASS_KG / 16,
987
- "oz/min": POUNDMASS_KG / 16 / 60,
988
- "oz/h": POUNDMASS_KG / 16 / 3600,
989
- "tonne/h": THOUSAND / 3600,
990
- "short ton/h": 2e3 * POUNDMASS_KG / 3600,
991
- "long ton/h": 2240 * POUNDMASS_KG / 3600
992
- },
993
- /* 117 */
994
- "Speed / Velocity (Linear)": {
995
- "m/s": 1,
996
- "mm/s": 1 / THOUSAND,
997
- "km/s": 1,
998
- "mm/min": 1 / THOUSAND / 60,
999
- "m/min": 1 / 60,
1000
- "km/min": THOUSAND / 60,
1001
- "mm/h": 1 / THOUSAND / 3600,
1002
- "m/h": 1 / 3600,
1003
- "km/h": THOUSAND / 3600,
1004
- "in/s": INCH_METER,
1005
- "fps": FOOT_METER,
1006
- "fps[ft/second]": FOOT_METER,
1007
- "fpm": FOOT_METER / 60,
1008
- // clear version
1009
- "fpm[ft/minute]": FOOT_METER / 60,
1010
- // redundant version
1011
- "mph[mile/h]": MILE_FOOT * FOOT_METER / 3600,
1012
- "knot[kn, kt, or nautical mile/h]": NM_METER / 3600
1013
- },
1014
- /* 126 */
1015
- "Electrical Potential Difference (Voltage)": {
1016
- "V": 1,
1017
- "Volt": 1,
1018
- "joule/coulomb": 1,
1019
- "J/C": 1,
1020
- "µV": 1 / MILLION,
1021
- "mV": 1 / THOUSAND,
1022
- "kV": THOUSAND,
1023
- "MV": MILLION
22
+ const categories = [
23
+ {
24
+ id: "900",
25
+ description: "Unitless"
26
+ },
27
+ {
28
+ id: "901",
29
+ description: "Length"
30
+ },
31
+ {
32
+ id: "902",
33
+ description: "Mass"
34
+ },
35
+ {
36
+ id: "903",
37
+ description: "Time"
38
+ },
39
+ {
40
+ id: "904",
41
+ description: "Electric Current"
42
+ },
43
+ {
44
+ id: "905",
45
+ description: "Temperature"
46
+ },
47
+ {
48
+ id: "906",
49
+ description: "Amount of Substance"
50
+ },
51
+ {
52
+ id: "907",
53
+ description: "Luminous Intensity"
54
+ },
55
+ {
56
+ id: "100",
57
+ description: "Acceleration"
58
+ },
59
+ {
60
+ id: "105",
61
+ description: "Gravitational Constant"
62
+ },
63
+ {
64
+ id: "110",
65
+ description: "Angle"
66
+ },
67
+ {
68
+ id: "115",
69
+ description: "Velocity Angular"
70
+ },
71
+ {
72
+ id: "120",
73
+ description: "Acceleration Angular"
74
+ },
75
+ {
76
+ id: "125",
77
+ description: "Illuminance"
78
+ },
79
+ {
80
+ id: "130",
81
+ description: "Frequency"
82
+ },
83
+ {
84
+ id: "135",
85
+ description: "Area"
86
+ },
87
+ {
88
+ id: "140",
89
+ description: "Volume / Section Modulus"
90
+ },
91
+ {
92
+ id: "145",
93
+ description: "Polar Moment of Inertia"
94
+ },
95
+ {
96
+ id: "150",
97
+ description: "Moment of Inertia"
98
+ },
99
+ {
100
+ id: "155",
101
+ description: "Force"
102
+ },
103
+ {
104
+ id: "160",
105
+ description: "Solid Angle"
106
+ },
107
+ {
108
+ id: "165",
109
+ description: "BMI-Body Mass Index/Ballistic Coefficient"
110
+ },
111
+ {
112
+ id: "170",
113
+ description: "Density"
114
+ },
115
+ {
116
+ id: "171",
117
+ description: "Linear Mass Density"
118
+ },
119
+ {
120
+ id: "175",
121
+ description: "Energy"
122
+ },
123
+ {
124
+ id: "180",
125
+ description: "Power"
126
+ },
127
+ {
128
+ id: "181",
129
+ description: "Apparent Power"
130
+ },
131
+ {
132
+ id: "182",
133
+ description: "Reactive Power"
134
+ },
135
+ {
136
+ id: "185",
137
+ description: "Torque, Moment of Force"
138
+ },
139
+ {
140
+ id: "190",
141
+ description: "Pressure/Stress/ShearModulus"
142
+ },
143
+ {
144
+ id: "195",
145
+ description: "Pressure Drop per Unit Length"
146
+ },
147
+ {
148
+ id: "200",
149
+ description: "Uniformly Distributed (Uniform Line) Load/Stiffness of Linear Spring"
150
+ },
151
+ {
152
+ id: "205",
153
+ description: "Stiffness of Rotary Spring"
154
+ },
155
+ {
156
+ id: "210",
157
+ description: "Flow Rate (Volume)"
158
+ },
159
+ {
160
+ id: "215",
161
+ description: "Flow Rate (Mass)"
162
+ },
163
+ {
164
+ id: "220",
165
+ description: "Speed / Velocity (Linear)"
166
+ },
167
+ {
168
+ id: "224",
169
+ description: "Energy per Unit Area | Heat Flux"
170
+ },
171
+ {
172
+ id: "225",
173
+ description: "Energy per Unit Volume | Volumetric Energy Density | Fuel Heat Value (Volume)"
174
+ },
175
+ {
176
+ id: "230",
177
+ description: "Energy per Unit Mass | Gravimetric Energy Density |Fuel Heat Value (Mass)"
178
+ },
179
+ {
180
+ id: "235",
181
+ description: "Mass Heat Capacity"
182
+ },
183
+ {
184
+ id: "240",
185
+ description: "Viscosity - Absolute/Dynamic(μ)"
186
+ },
187
+ {
188
+ id: "245",
189
+ description: "Viscosity - Kinematic"
190
+ },
191
+ {
192
+ id: "249",
193
+ description: "Temperature Difference"
194
+ },
195
+ {
196
+ id: "250",
197
+ description: "Linear Thermal Expansion Coefficient"
198
+ },
199
+ {
200
+ id: "255",
201
+ description: "Thermal Conductivity"
202
+ },
203
+ {
204
+ id: "260",
205
+ description: "Electrical Charge"
206
+ },
207
+ {
208
+ id: "265",
209
+ description: "Electrical Potential Difference (Voltage)"
210
+ },
211
+ {
212
+ id: "270",
213
+ description: "Electrical Resistance(Impedance)"
214
+ },
215
+ {
216
+ id: "275",
217
+ description: "Electrical Capacitance"
218
+ },
219
+ {
220
+ id: "280",
221
+ description: "Electrical Inductance"
222
+ },
223
+ {
224
+ id: "285",
225
+ description: "Electrical Conductance"
226
+ },
227
+ {
228
+ id: "290",
229
+ description: "Magnetic Flux"
230
+ },
231
+ {
232
+ id: "295",
233
+ description: "Luminous Flux"
234
+ },
235
+ {
236
+ id: "300",
237
+ description: "Magnetic Flux Density"
238
+ },
239
+ {
240
+ id: "305",
241
+ description: "Katalytic Activity"
242
+ },
243
+ {
244
+ id: "310",
245
+ description: "Radioactivity"
246
+ },
247
+ {
248
+ id: "315",
249
+ description: "Absorbed Dose of Ionizing Radiation"
250
+ },
251
+ {
252
+ id: "320",
253
+ description: "Equivalent Dose of Ionizing Radiation"
254
+ },
255
+ {
256
+ id: "325",
257
+ description: "Volumetric Displacement"
258
+ },
259
+ {
260
+ id: "330",
261
+ description: "Fuel Economy"
262
+ },
263
+ {
264
+ id: "335",
265
+ description: "Fuel Consumption"
266
+ },
267
+ {
268
+ id: "340",
269
+ description: "New Energy Economy (MPGe)"
270
+ },
271
+ {
272
+ id: "345",
273
+ description: "New Energy Consumption"
274
+ },
275
+ {
276
+ id: "355",
277
+ description: "Currency"
278
+ },
279
+ {
280
+ id: "360",
281
+ description: "Impulse / Momentum"
282
+ },
283
+ {
284
+ id: "365",
285
+ description: "Digital Storage"
286
+ },
287
+ {
288
+ id: "370",
289
+ description: "Data Transfer Rate"
290
+ }
291
+ ];
292
+ const units = [
293
+ {
294
+ unit: "ul",
295
+ categoryId: "900",
296
+ c0: 1
297
+ },
298
+ {
299
+ unit: "ea",
300
+ categoryId: "900",
301
+ c0: 1
302
+ },
303
+ {
304
+ unit: "%",
305
+ categoryId: "900",
306
+ c0: 0.01
307
+ },
308
+ {
309
+ unit: "",
310
+ categoryId: "900",
311
+ c0: 1e-3
312
+ },
313
+ {
314
+ unit: "m",
315
+ categoryId: "901",
316
+ c0: 1
317
+ },
318
+ {
319
+ unit: "cm",
320
+ categoryId: "901",
321
+ c0: 0.01
322
+ },
323
+ {
324
+ unit: "mm",
325
+ categoryId: "901",
326
+ c0: 1e-3
327
+ },
328
+ {
329
+ unit: "in",
330
+ categoryId: "901",
331
+ c0: 0.0254
332
+ },
333
+ {
334
+ unit: "nm",
335
+ categoryId: "901",
336
+ c0: 1e-9
337
+ },
338
+ {
339
+ unit: "µm",
340
+ categoryId: "901",
341
+ c0: 1e-6
342
+ },
343
+ {
344
+ unit: "dm",
345
+ categoryId: "901",
346
+ c0: 0.1
347
+ },
348
+ {
349
+ unit: "km",
350
+ categoryId: "901",
351
+ c0: 1e3
352
+ },
353
+ {
354
+ unit: "thou",
355
+ categoryId: "901",
356
+ c0: 254e-7
357
+ },
358
+ {
359
+ unit: "ft-in",
360
+ categoryId: "901",
361
+ c0: 0.0254
362
+ },
363
+ {
364
+ unit: "ft",
365
+ categoryId: "901",
366
+ c0: 0.30479999999999996
367
+ },
368
+ {
369
+ unit: "yd",
370
+ categoryId: "901",
371
+ c0: 0.9143999999999999
372
+ },
373
+ {
374
+ unit: "mi",
375
+ categoryId: "901",
376
+ c0: 1609.3439999999998
377
+ },
378
+ {
379
+ unit: "NM",
380
+ categoryId: "901",
381
+ c0: 1852
382
+ },
383
+ {
384
+ unit: "kg",
385
+ categoryId: "902",
386
+ c0: 1
387
+ },
388
+ {
389
+ unit: "g",
390
+ categoryId: "902",
391
+ c0: 1e-3
392
+ },
393
+ {
394
+ unit: "mg",
395
+ categoryId: "902",
396
+ c0: 1e-6
397
+ },
398
+ {
399
+ unit: "µg",
400
+ categoryId: "902",
401
+ c0: 1e-9
402
+ },
403
+ {
404
+ unit: "slug",
405
+ categoryId: "902",
406
+ c0: 14.59390294
407
+ },
408
+ {
409
+ unit: "blob",
410
+ categoryId: "902",
411
+ c0: 175.12683528
412
+ },
413
+ {
414
+ unit: "lbm",
415
+ categoryId: "902",
416
+ c0: 0.45359237
417
+ },
418
+ {
419
+ unit: "oz",
420
+ categoryId: "902",
421
+ c0: 0.028349523125
422
+ },
423
+ {
424
+ unit: "ton(US/short)",
425
+ categoryId: "902",
426
+ c0: 907.18474
427
+ },
428
+ {
429
+ unit: "ton(UK-Imperial/long)",
430
+ categoryId: "902",
431
+ c0: 1016.0469088000001
432
+ },
433
+ {
434
+ unit: "tonne",
435
+ categoryId: "902",
436
+ c0: 1e3
437
+ },
438
+ {
439
+ unit: "s",
440
+ categoryId: "903",
441
+ c0: 1
442
+ },
443
+ {
444
+ unit: "min",
445
+ categoryId: "903",
446
+ c0: 60
447
+ },
448
+ {
449
+ unit: "h",
450
+ categoryId: "903",
451
+ c0: 3600
452
+ },
453
+ {
454
+ unit: "d",
455
+ categoryId: "903",
456
+ c0: 86400
457
+ },
458
+ {
459
+ unit: "wk",
460
+ categoryId: "903",
461
+ c0: 604800
462
+ },
463
+ {
464
+ unit: "A",
465
+ categoryId: "904",
466
+ c0: 1
467
+ },
468
+ {
469
+ unit: "mA",
470
+ categoryId: "904",
471
+ c0: 1e-3
472
+ },
473
+ {
474
+ unit: "µA",
475
+ categoryId: "904",
476
+ c0: 1e-6
477
+ },
478
+ {
479
+ unit: "kA",
480
+ categoryId: "904",
481
+ c0: 1e3
482
+ },
483
+ {
484
+ unit: "MA",
485
+ categoryId: "904",
486
+ c0: 1e6
487
+ },
488
+ {
489
+ unit: "esu/s",
490
+ categoryId: "904",
491
+ c0: 3333333333333333e-25
492
+ },
493
+ {
494
+ unit: "K",
495
+ categoryId: "905",
496
+ c0: 1
497
+ },
498
+ {
499
+ unit: "°C",
500
+ categoryId: "905",
501
+ c0: 1,
502
+ c1: 273.15
503
+ },
504
+ {
505
+ unit: "°F",
506
+ categoryId: "905",
507
+ c0: 0.5555555555555556,
508
+ c1: 255.3722222
509
+ },
510
+ {
511
+ unit: "°Ra",
512
+ categoryId: "905",
513
+ c0: 0.5555555555555556,
514
+ c1: 0
515
+ },
516
+ {
517
+ unit: "mol",
518
+ categoryId: "906",
519
+ c0: 1
520
+ },
521
+ {
522
+ unit: "mmol",
523
+ categoryId: "906",
524
+ c0: 1e-3
525
+ },
526
+ {
527
+ unit: "kmol",
528
+ categoryId: "906",
529
+ c0: 1e3
530
+ },
531
+ {
532
+ unit: "molecular entity",
533
+ categoryId: "906",
534
+ c0: 16605390671738466e-40
535
+ },
536
+ {
537
+ unit: "cd",
538
+ categoryId: "907",
539
+ c0: 1
540
+ },
541
+ {
542
+ unit: "lm/sr",
543
+ categoryId: "907",
544
+ c0: 1
545
+ },
546
+ {
547
+ unit: "cp",
548
+ categoryId: "907",
549
+ c0: 1
550
+ },
551
+ {
552
+ unit: "cp(candlepower before 1948)",
553
+ categoryId: "907",
554
+ c0: 0.981
555
+ },
556
+ {
557
+ unit: "m/s²",
558
+ categoryId: "100",
559
+ c0: 1
560
+ },
561
+ {
562
+ unit: "m/min²",
563
+ categoryId: "100",
564
+ c0: 2777777777777778e-19
565
+ },
566
+ {
567
+ unit: "mm/s²",
568
+ categoryId: "100",
569
+ c0: 1e-3
570
+ },
571
+ {
572
+ unit: "ft/s²",
573
+ categoryId: "100",
574
+ c0: 0.30479999999999996
575
+ },
576
+ {
577
+ unit: "ft/min²",
578
+ categoryId: "100",
579
+ c0: 8466666666666666e-20
580
+ },
581
+ {
582
+ unit: "in/s²",
583
+ categoryId: "100",
584
+ c0: 0.0254
585
+ },
586
+ {
587
+ unit: "m³/kg/s²",
588
+ categoryId: "105",
589
+ c0: 1
590
+ },
591
+ {
592
+ unit: "N⋅m²/kg²",
593
+ categoryId: "105",
594
+ c0: 1
595
+ },
596
+ {
597
+ unit: "dyn⋅cm²/g²",
598
+ categoryId: "105",
599
+ c0: 1e3
600
+ },
601
+ {
602
+ unit: "rad",
603
+ categoryId: "110",
604
+ c0: 1
605
+ },
606
+ {
607
+ unit: "deg°",
608
+ categoryId: "110",
609
+ c0: 0.017453292519943295
610
+ },
611
+ {
612
+ unit: "rev",
613
+ categoryId: "110",
614
+ c0: 6.283185307179586
615
+ },
616
+ {
617
+ unit: "rad/s",
618
+ categoryId: "115",
619
+ c0: 1
620
+ },
621
+ {
622
+ unit: "rad/min",
623
+ categoryId: "115",
624
+ c0: 0.016666666666666666
625
+ },
626
+ {
627
+ unit: "rad/h",
628
+ categoryId: "115",
629
+ c0: 2777777777777778e-19
630
+ },
631
+ {
632
+ unit: "deg°/s",
633
+ categoryId: "115",
634
+ c0: 0.017453292519943295
635
+ },
636
+ {
637
+ unit: "deg°/min",
638
+ categoryId: "115",
639
+ c0: 2908882086657216e-19
640
+ },
641
+ {
642
+ unit: "deg°/h",
643
+ categoryId: "115",
644
+ c0: 484813681109536e-20
645
+ },
646
+ {
647
+ unit: "rev/min",
648
+ categoryId: "115",
649
+ c0: 0.10471975511965977
650
+ },
651
+ {
652
+ unit: "rev/s",
653
+ categoryId: "115",
654
+ c0: 6.283185307179586
655
+ },
656
+ {
657
+ unit: "rad/s²",
658
+ categoryId: "120",
659
+ c0: 1
660
+ },
661
+ {
662
+ unit: "rad/min²",
663
+ categoryId: "120",
664
+ c0: 2777777777777778e-19
665
+ },
666
+ {
667
+ unit: "deg°/s²",
668
+ categoryId: "120",
669
+ c0: 0.017453292519943295
670
+ },
671
+ {
672
+ unit: "deg°/min²",
673
+ categoryId: "120",
674
+ c0: 484813681109536e-20
675
+ },
676
+ {
677
+ unit: "lux",
678
+ categoryId: "125",
679
+ c0: 1
680
+ },
681
+ {
682
+ unit: "lm/m²",
683
+ categoryId: "125",
684
+ c0: 1
685
+ },
686
+ {
687
+ unit: "m·cd",
688
+ categoryId: "125",
689
+ c0: 1
690
+ },
691
+ {
692
+ unit: "ph",
693
+ categoryId: "125",
694
+ c0: 1e4
695
+ },
696
+ {
697
+ unit: "fc",
698
+ categoryId: "125",
699
+ c0: 10.763910416709725
700
+ },
701
+ {
702
+ unit: "lm/ft²",
703
+ categoryId: "125",
704
+ c0: 10.763910416709725
705
+ },
706
+ {
707
+ unit: "Hz",
708
+ categoryId: "130",
709
+ c0: 1
710
+ },
711
+ {
712
+ unit: "1/min",
713
+ categoryId: "130",
714
+ c0: 0.016666666666666666
715
+ },
716
+ {
717
+ unit: "cycle/min",
718
+ categoryId: "130",
719
+ c0: 0.016666666666666666
720
+ },
721
+ {
722
+ unit: "1/h",
723
+ categoryId: "130",
724
+ c0: 2777777777777778e-19
725
+ },
726
+ {
727
+ unit: "mHz",
728
+ categoryId: "130",
729
+ c0: 1e-3
730
+ },
731
+ {
732
+ unit: "kHz",
733
+ categoryId: "130",
734
+ c0: 1e3
735
+ },
736
+ {
737
+ unit: "MHz",
738
+ categoryId: "130",
739
+ c0: 1e6
740
+ },
741
+ {
742
+ unit: "GHz",
743
+ categoryId: "130",
744
+ c0: 1e9
745
+ },
746
+ {
747
+ unit: "m²",
748
+ categoryId: "135",
749
+ c0: 1
750
+ },
751
+ {
752
+ unit: "µm²",
753
+ categoryId: "135",
754
+ c0: 1e-12
755
+ },
756
+ {
757
+ unit: "mm²",
758
+ categoryId: "135",
759
+ c0: 1e-6
760
+ },
761
+ {
762
+ unit: "cm²",
763
+ categoryId: "135",
764
+ c0: 1e-4
765
+ },
766
+ {
767
+ unit: "km²",
768
+ categoryId: "135",
769
+ c0: 1e6
770
+ },
771
+ {
772
+ unit: "hectare",
773
+ categoryId: "135",
774
+ c0: 1e4
775
+ },
776
+ {
777
+ unit: "in²",
778
+ categoryId: "135",
779
+ c0: 64516e-8
780
+ },
781
+ {
782
+ unit: "ft²",
783
+ categoryId: "135",
784
+ c0: 0.09290303999999998
785
+ },
786
+ {
787
+ unit: "yd²",
788
+ categoryId: "135",
789
+ c0: 0.8361273599999998
790
+ },
791
+ {
792
+ unit: "acre",
793
+ categoryId: "135",
794
+ c0: 4046.8564223999992
795
+ },
796
+ {
797
+ unit: "mile²",
798
+ categoryId: "135",
799
+ c0: 2.5899881103359996e6
800
+ },
801
+ {
802
+ unit: "m³",
803
+ categoryId: "140",
804
+ c0: 1
805
+ },
806
+ {
807
+ unit: "µm³",
808
+ categoryId: "140",
809
+ c0: 9999999999999999e-34
810
+ },
811
+ {
812
+ unit: "mm³",
813
+ categoryId: "140",
814
+ c0: 1e-9
815
+ },
816
+ {
817
+ unit: "cm³",
818
+ categoryId: "140",
819
+ c0: 10000000000000002e-22
820
+ },
821
+ {
822
+ unit: "L",
823
+ categoryId: "140",
824
+ c0: 1e-3
825
+ },
826
+ {
827
+ unit: "km³",
828
+ categoryId: "140",
829
+ c0: 1e9
830
+ },
831
+ {
832
+ unit: "in³",
833
+ categoryId: "140",
834
+ c0: 16387064e-12
835
+ },
836
+ {
837
+ unit: "ft³",
838
+ categoryId: "140",
839
+ c0: 0.02831684659199999
840
+ },
841
+ {
842
+ unit: "yd³",
843
+ categoryId: "140",
844
+ c0: 0.7645548579839997
845
+ },
846
+ {
847
+ unit: "gal(UK-imperial)",
848
+ categoryId: "140",
849
+ c0: 454609e-8
850
+ },
851
+ {
852
+ unit: "gal(US-liquid)",
853
+ categoryId: "140",
854
+ c0: 0.0037854117839999997
855
+ },
856
+ {
857
+ unit: "gal(US-dry)",
858
+ categoryId: "140",
859
+ c0: 0.00440488377086
860
+ },
861
+ {
862
+ unit: "pint(UK-imperial)",
863
+ categoryId: "140",
864
+ c0: 56826125e-11
865
+ },
866
+ {
867
+ unit: "pint(US-liquid)",
868
+ categoryId: "140",
869
+ c0: 47317647299999996e-20
870
+ },
871
+ {
872
+ unit: "pint(US-dry)",
873
+ categoryId: "140",
874
+ c0: 5506104713575e-16
875
+ },
876
+ {
877
+ unit: "fluid ounce(UK-imperial)",
878
+ categoryId: "140",
879
+ c0: 284130625e-13
880
+ },
881
+ {
882
+ unit: "fluid ounce(US-liquid)",
883
+ categoryId: "140",
884
+ c0: 29573529562499998e-21
885
+ },
886
+ {
887
+ unit: "bushel(UK-imperial)",
888
+ categoryId: "140",
889
+ c0: 0.03636872
890
+ },
891
+ {
892
+ unit: "bushel(US-dry)",
893
+ categoryId: "140",
894
+ c0: 0.03523907016688
895
+ },
896
+ {
897
+ unit: "m⁴",
898
+ categoryId: "145",
899
+ c0: 1
900
+ },
901
+ {
902
+ unit: "mm⁴",
903
+ categoryId: "145",
904
+ c0: 1e-12
905
+ },
906
+ {
907
+ unit: "cm⁴",
908
+ categoryId: "145",
909
+ c0: 1e-8
910
+ },
911
+ {
912
+ unit: "in⁴",
913
+ categoryId: "145",
914
+ c0: 41623142559999997e-23
915
+ },
916
+ {
917
+ unit: "ft⁴",
918
+ categoryId: "145",
919
+ c0: 0.008630974841241597
920
+ },
921
+ {
922
+ unit: "kg⋅m²",
923
+ categoryId: "150",
924
+ c0: 1
925
+ },
926
+ {
927
+ unit: "g⋅cm²",
928
+ categoryId: "150",
929
+ c0: 10000000000000001e-23
930
+ },
931
+ {
932
+ unit: "g⋅mm²",
933
+ categoryId: "150",
934
+ c0: 9999999999999999e-25
935
+ },
936
+ {
937
+ unit: "lbm⋅ft²",
938
+ categoryId: "150",
939
+ c0: 0.04214011009380479
940
+ },
941
+ {
942
+ unit: "lbm⋅in²",
943
+ categoryId: "150",
944
+ c0: 2926396534292e-16
945
+ },
946
+ {
947
+ unit: "oz⋅in²",
948
+ categoryId: "150",
949
+ c0: 18289978339325e-18
950
+ },
951
+ {
952
+ unit: "N",
953
+ categoryId: "155",
954
+ c0: 1
955
+ },
956
+ {
957
+ unit: "kN",
958
+ categoryId: "155",
959
+ c0: 1e3
960
+ },
961
+ {
962
+ unit: "MN",
963
+ categoryId: "155",
964
+ c0: 1e6
965
+ },
966
+ {
967
+ unit: "kgf",
968
+ categoryId: "155",
969
+ c0: 9.80665
970
+ },
971
+ {
972
+ unit: "lbf",
973
+ categoryId: "155",
974
+ c0: 4.4482216152605
975
+ },
976
+ {
977
+ unit: "kip",
978
+ categoryId: "155",
979
+ c0: 4448.2216152605
980
+ },
981
+ {
982
+ unit: "sr",
983
+ categoryId: "160",
984
+ c0: 1
985
+ },
986
+ {
987
+ unit: "m²/m²",
988
+ categoryId: "160",
989
+ c0: 1
990
+ },
991
+ {
992
+ unit: "kg/m²",
993
+ categoryId: "165",
994
+ c0: 1
995
+ },
996
+ {
997
+ unit: "g/cm²",
998
+ categoryId: "165",
999
+ c0: 10
1000
+ },
1001
+ {
1002
+ unit: "g/mm²",
1003
+ categoryId: "165",
1004
+ c0: 1000.0000000000001
1005
+ },
1006
+ {
1007
+ unit: "tonne/m²",
1008
+ categoryId: "165",
1009
+ c0: 1e3
1010
+ },
1011
+ {
1012
+ unit: "lbm/yd²",
1013
+ categoryId: "165",
1014
+ c0: 0.5424919595981169
1015
+ },
1016
+ {
1017
+ unit: "lbm/ft²",
1018
+ categoryId: "165",
1019
+ c0: 4.882427636383052
1020
+ },
1021
+ {
1022
+ unit: "lbm/in²",
1023
+ categoryId: "165",
1024
+ c0: 703.0695796391593
1025
+ },
1026
+ {
1027
+ unit: "oz/yd²",
1028
+ categoryId: "165",
1029
+ c0: 0.03390574747488231
1030
+ },
1031
+ {
1032
+ unit: "oz/ft²",
1033
+ categoryId: "165",
1034
+ c0: 0.30515172727394074
1035
+ },
1036
+ {
1037
+ unit: "oz/in²",
1038
+ categoryId: "165",
1039
+ c0: 43.94184872744746
1040
+ },
1041
+ {
1042
+ unit: "kg/m³",
1043
+ categoryId: "170",
1044
+ c0: 1
1045
+ },
1046
+ {
1047
+ unit: "kg/L",
1048
+ categoryId: "170",
1049
+ c0: 1e3
1050
+ },
1051
+ {
1052
+ unit: "kg/mm³",
1053
+ categoryId: "170",
1054
+ c0: 9999999999999999e-7
1055
+ },
1056
+ {
1057
+ unit: "g/cm³",
1058
+ categoryId: "170",
1059
+ c0: 999.9999999999999
1060
+ },
1061
+ {
1062
+ unit: "g/mm³",
1063
+ categoryId: "170",
1064
+ c0: 1e6
1065
+ },
1066
+ {
1067
+ unit: "tonne/m³",
1068
+ categoryId: "170",
1069
+ c0: 1e3
1070
+ },
1071
+ {
1072
+ unit: "lbm/yd³",
1073
+ categoryId: "170",
1074
+ c0: 0.5932764212577832
1075
+ },
1076
+ {
1077
+ unit: "lbm/ft³",
1078
+ categoryId: "170",
1079
+ c0: 16.018463373960145
1080
+ },
1081
+ {
1082
+ unit: "lbm/in³",
1083
+ categoryId: "170",
1084
+ c0: 27679.904710203125
1085
+ },
1086
+ {
1087
+ unit: "lbm/gal(US)",
1088
+ categoryId: "170",
1089
+ c0: 119.82642731689664
1090
+ },
1091
+ {
1092
+ unit: "oz/yd³",
1093
+ categoryId: "170",
1094
+ c0: 0.03707977632861145
1095
+ },
1096
+ {
1097
+ unit: "oz/ft³",
1098
+ categoryId: "170",
1099
+ c0: 1.001153960872509
1100
+ },
1101
+ {
1102
+ unit: "oz/in³",
1103
+ categoryId: "170",
1104
+ c0: 1729.9940443876953
1105
+ },
1106
+ {
1107
+ unit: "oz/gal(US)",
1108
+ categoryId: "170",
1109
+ c0: 7.48915170730604
1110
+ },
1111
+ {
1112
+ unit: "kg/m",
1113
+ categoryId: "171",
1114
+ c0: 1
1115
+ },
1116
+ {
1117
+ unit: "g/cm",
1118
+ categoryId: "171",
1119
+ c0: 0.1
1120
+ },
1121
+ {
1122
+ unit: "g/mm",
1123
+ categoryId: "171",
1124
+ c0: 1
1125
+ },
1126
+ {
1127
+ unit: "g/km",
1128
+ categoryId: "171",
1129
+ c0: 1e-3
1130
+ },
1131
+ {
1132
+ unit: "denier",
1133
+ categoryId: "171",
1134
+ c0: 11111111111111112e-20
1135
+ },
1136
+ {
1137
+ unit: "decitex",
1138
+ categoryId: "171",
1139
+ c0: 1e-4
1140
+ },
1141
+ {
1142
+ unit: "lbm/ft",
1143
+ categoryId: "171",
1144
+ c0: 1.4881639435695542
1145
+ },
1146
+ {
1147
+ unit: "lbm/in",
1148
+ categoryId: "171",
1149
+ c0: 17.857967322834646
1150
+ },
1151
+ {
1152
+ unit: "lbm/yd",
1153
+ categoryId: "171",
1154
+ c0: 0.49605464785651804
1155
+ },
1156
+ {
1157
+ unit: "oz/ft",
1158
+ categoryId: "171",
1159
+ c0: 0.09301024647309714
1160
+ },
1161
+ {
1162
+ unit: "oz/in",
1163
+ categoryId: "171",
1164
+ c0: 1.1161229576771654
1165
+ },
1166
+ {
1167
+ unit: "J",
1168
+ categoryId: "175",
1169
+ c0: 1
1170
+ },
1171
+ {
1172
+ unit: "kJ",
1173
+ categoryId: "175",
1174
+ c0: 1e3
1175
+ },
1176
+ {
1177
+ unit: "MJ",
1178
+ categoryId: "175",
1179
+ c0: 1e6
1180
+ },
1181
+ {
1182
+ unit: "GJ",
1183
+ categoryId: "175",
1184
+ c0: 1e9
1185
+ },
1186
+ {
1187
+ unit: "kiloton",
1188
+ categoryId: "175",
1189
+ c0: 4184e6
1190
+ },
1191
+ {
1192
+ unit: "Btu",
1193
+ categoryId: "175",
1194
+ c0: 1055.05585262
1195
+ },
1196
+ {
1197
+ unit: "kBtu",
1198
+ categoryId: "175",
1199
+ c0: 105505585262e-5
1200
+ },
1201
+ {
1202
+ unit: "MMBtu",
1203
+ categoryId: "175",
1204
+ c0: 105505585262e-2
1205
+ },
1206
+ {
1207
+ unit: "calorie(IT)",
1208
+ categoryId: "175",
1209
+ c0: 4.1868
1210
+ },
1211
+ {
1212
+ unit: "kilo-calorie(IT)",
1213
+ categoryId: "175",
1214
+ c0: 4186.8
1215
+ },
1216
+ {
1217
+ unit: "calorie(TH)",
1218
+ categoryId: "175",
1219
+ c0: 4.184
1220
+ },
1221
+ {
1222
+ unit: "kilo-calorie(TH)",
1223
+ categoryId: "175",
1224
+ c0: 4184
1225
+ },
1226
+ {
1227
+ unit: "HP Hour",
1228
+ categoryId: "175",
1229
+ c0: 2684519537696172e-9
1230
+ },
1231
+ {
1232
+ unit: "Wh",
1233
+ categoryId: "175",
1234
+ c0: 3600
1235
+ },
1236
+ {
1237
+ unit: "kWh",
1238
+ categoryId: "175",
1239
+ c0: 36e5
1240
+ },
1241
+ {
1242
+ unit: "eV",
1243
+ categoryId: "175",
1244
+ c0: 16021764631580947e-35
1245
+ },
1246
+ {
1247
+ unit: "W",
1248
+ categoryId: "180",
1249
+ c0: 1
1250
+ },
1251
+ {
1252
+ unit: "kW",
1253
+ categoryId: "180",
1254
+ c0: 1e3
1255
+ },
1256
+ {
1257
+ unit: "MW",
1258
+ categoryId: "180",
1259
+ c0: 1e6
1260
+ },
1261
+ {
1262
+ unit: "GW",
1263
+ categoryId: "180",
1264
+ c0: 1e9
1265
+ },
1266
+ {
1267
+ unit: "Btu/h",
1268
+ categoryId: "180",
1269
+ c0: 0.2930710701722222
1270
+ },
1271
+ {
1272
+ unit: "Btu(AC)",
1273
+ categoryId: "180",
1274
+ c0: 0.2930710701722222
1275
+ },
1276
+ {
1277
+ unit: "Btu/min",
1278
+ categoryId: "180",
1279
+ c0: 17.584264210333334
1280
+ },
1281
+ {
1282
+ unit: "kBtu/h",
1283
+ categoryId: "180",
1284
+ c0: 17.584264210333334
1285
+ },
1286
+ {
1287
+ unit: "MMBtu/h",
1288
+ categoryId: "180",
1289
+ c0: 293071.0701722222
1290
+ },
1291
+ {
1292
+ unit: "MMBtu/yr",
1293
+ categoryId: "180",
1294
+ c0: 33.45560161783359
1295
+ },
1296
+ {
1297
+ unit: "TR",
1298
+ categoryId: "180",
1299
+ c0: 3516.8528420666667
1300
+ },
1301
+ {
1302
+ unit: "calorie(IT)/second",
1303
+ categoryId: "180",
1304
+ c0: 4.1868
1305
+ },
1306
+ {
1307
+ unit: "calorie(IT)/minute",
1308
+ categoryId: "180",
1309
+ c0: 0.06978
1310
+ },
1311
+ {
1312
+ unit: "kilo-calorie(IT)/hour",
1313
+ categoryId: "180",
1314
+ c0: 1.163
1315
+ },
1316
+ {
1317
+ unit: "calorie(TH)/second",
1318
+ categoryId: "180",
1319
+ c0: 4.184
1320
+ },
1321
+ {
1322
+ unit: "calorie(TH)/minute",
1323
+ categoryId: "180",
1324
+ c0: 0.06973333333333334
1325
+ },
1326
+ {
1327
+ unit: "kilo-calorie(TH)/hour",
1328
+ categoryId: "180",
1329
+ c0: 1.1622222222222223
1330
+ },
1331
+ {
1332
+ unit: "lb-ft/second",
1333
+ categoryId: "180",
1334
+ c0: 1.3558179483314001
1335
+ },
1336
+ {
1337
+ unit: "lb-ft/minute",
1338
+ categoryId: "180",
1339
+ c0: 0.022596965805523336
1340
+ },
1341
+ {
1342
+ unit: "HP",
1343
+ categoryId: "180",
1344
+ c0: 745.69987158227
1345
+ },
1346
+ {
1347
+ unit: "J/s",
1348
+ categoryId: "180",
1349
+ c0: 1
1350
+ },
1351
+ {
1352
+ unit: "J/min",
1353
+ categoryId: "180",
1354
+ c0: 0.016666666666666666
1355
+ },
1356
+ {
1357
+ unit: "J/h",
1358
+ categoryId: "180",
1359
+ c0: 2777777777777778e-19
1360
+ },
1361
+ {
1362
+ unit: "MJ/h",
1363
+ categoryId: "180",
1364
+ c0: 277.77777777777777
1365
+ },
1366
+ {
1367
+ unit: "kJ/min",
1368
+ categoryId: "180",
1369
+ c0: 16.666666666666668
1370
+ },
1371
+ {
1372
+ unit: "VA",
1373
+ categoryId: "181",
1374
+ c0: 1
1375
+ },
1376
+ {
1377
+ unit: "kVA",
1378
+ categoryId: "181",
1379
+ c0: 1e3
1380
+ },
1381
+ {
1382
+ unit: "MVA",
1383
+ categoryId: "181",
1384
+ c0: 1e6
1385
+ },
1386
+ {
1387
+ unit: "GVA",
1388
+ categoryId: "181",
1389
+ c0: 1e9
1390
+ },
1391
+ {
1392
+ unit: "mVA",
1393
+ categoryId: "181",
1394
+ c0: 1e-3
1395
+ },
1396
+ {
1397
+ unit: "VAr",
1398
+ categoryId: "182",
1399
+ c0: 1
1400
+ },
1401
+ {
1402
+ unit: "kVAr",
1403
+ categoryId: "182",
1404
+ c0: 1e3
1405
+ },
1406
+ {
1407
+ unit: "MVAr",
1408
+ categoryId: "182",
1409
+ c0: 1e6
1410
+ },
1411
+ {
1412
+ unit: "GVAr",
1413
+ categoryId: "182",
1414
+ c0: 1e9
1415
+ },
1416
+ {
1417
+ unit: "mVAr",
1418
+ categoryId: "182",
1419
+ c0: 1e-3
1420
+ },
1421
+ {
1422
+ unit: "Nm",
1423
+ categoryId: "185",
1424
+ c0: 1
1425
+ },
1426
+ {
1427
+ unit: "kNm",
1428
+ categoryId: "185",
1429
+ c0: 1e3
1430
+ },
1431
+ {
1432
+ unit: "lb-in",
1433
+ categoryId: "185",
1434
+ c0: 0.11298482902761668
1435
+ },
1436
+ {
1437
+ unit: "kip-in",
1438
+ categoryId: "185",
1439
+ c0: 112.98482902761668
1440
+ },
1441
+ {
1442
+ unit: "lb-ft",
1443
+ categoryId: "185",
1444
+ c0: 1.3558179483314001
1445
+ },
1446
+ {
1447
+ unit: "oz-in",
1448
+ categoryId: "185",
1449
+ c0: 0.007061551814226043
1450
+ },
1451
+ {
1452
+ unit: "oz-ft",
1453
+ categoryId: "185",
1454
+ c0: 0.08473862177071251
1455
+ },
1456
+ {
1457
+ unit: "Pa",
1458
+ categoryId: "190",
1459
+ c0: 1
1460
+ },
1461
+ {
1462
+ unit: "hPa",
1463
+ categoryId: "190",
1464
+ c0: 100
1465
+ },
1466
+ {
1467
+ unit: "kPa",
1468
+ categoryId: "190",
1469
+ c0: 1e3
1470
+ },
1471
+ {
1472
+ unit: "MPa",
1473
+ categoryId: "190",
1474
+ c0: 1e6
1475
+ },
1476
+ {
1477
+ unit: "GPa",
1478
+ categoryId: "190",
1479
+ c0: 1e9
1480
+ },
1481
+ {
1482
+ unit: "bar",
1483
+ categoryId: "190",
1484
+ c0: 1e5
1485
+ },
1486
+ {
1487
+ unit: "mbar",
1488
+ categoryId: "190",
1489
+ c0: 100
1490
+ },
1491
+ {
1492
+ unit: "kgf/m²",
1493
+ categoryId: "190",
1494
+ c0: 9.80665
1495
+ },
1496
+ {
1497
+ unit: "kgf/cm²",
1498
+ categoryId: "190",
1499
+ c0: 98066.49999999999
1500
+ },
1501
+ {
1502
+ unit: "atm",
1503
+ categoryId: "190",
1504
+ c0: 101325
1505
+ },
1506
+ {
1507
+ unit: "mm HG",
1508
+ categoryId: "190",
1509
+ c0: 133.322387415
1510
+ },
1511
+ {
1512
+ unit: "cm HG",
1513
+ categoryId: "190",
1514
+ c0: 1333.22387415
1515
+ },
1516
+ {
1517
+ unit: "in HG",
1518
+ categoryId: "190",
1519
+ c0: 3386.388640341
1520
+ },
1521
+ {
1522
+ unit: "mm W.C.",
1523
+ categoryId: "190",
1524
+ c0: 9.80665
1525
+ },
1526
+ {
1527
+ unit: "m W.C.",
1528
+ categoryId: "190",
1529
+ c0: 9806.65
1530
+ },
1531
+ {
1532
+ unit: "in W.C.",
1533
+ categoryId: "190",
1534
+ c0: 249.08890999999997
1535
+ },
1536
+ {
1537
+ unit: "psf",
1538
+ categoryId: "190",
1539
+ c0: 47.88025898033585
1540
+ },
1541
+ {
1542
+ unit: "psi",
1543
+ categoryId: "190",
1544
+ c0: 6894.757293168361
1545
+ },
1546
+ {
1547
+ unit: "ozf/in²",
1548
+ categoryId: "190",
1549
+ c0: 430.92233082302255
1550
+ },
1551
+ {
1552
+ unit: "ksi",
1553
+ categoryId: "190",
1554
+ c0: 6894757293168361e-9
1555
+ },
1556
+ {
1557
+ unit: "Torr",
1558
+ categoryId: "190",
1559
+ c0: 133.32236842105263
1560
+ },
1561
+ {
1562
+ unit: "mTorr",
1563
+ categoryId: "190",
1564
+ c0: 0.13332236842105263
1565
+ },
1566
+ {
1567
+ unit: "Pa/m",
1568
+ categoryId: "195",
1569
+ c0: 1
1570
+ },
1571
+ {
1572
+ unit: "kPa/m",
1573
+ categoryId: "195",
1574
+ c0: 1e3
1575
+ },
1576
+ {
1577
+ unit: "MPa/km",
1578
+ categoryId: "195",
1579
+ c0: 1e3
1580
+ },
1581
+ {
1582
+ unit: "bar/m",
1583
+ categoryId: "195",
1584
+ c0: 1e5
1585
+ },
1586
+ {
1587
+ unit: "mbar/mm",
1588
+ categoryId: "195",
1589
+ c0: 1e5
1590
+ },
1591
+ {
1592
+ unit: "atm/m",
1593
+ categoryId: "195",
1594
+ c0: 101325
1595
+ },
1596
+ {
1597
+ unit: "mm HG/m",
1598
+ categoryId: "195",
1599
+ c0: 133.322387415
1600
+ },
1601
+ {
1602
+ unit: "in HG/ft",
1603
+ categoryId: "195",
1604
+ c0: 11110.198951250002
1605
+ },
1606
+ {
1607
+ unit: "mm W.C./m",
1608
+ categoryId: "195",
1609
+ c0: 9.80665
1610
+ },
1611
+ {
1612
+ unit: "m W.C./m",
1613
+ categoryId: "195",
1614
+ c0: 9806.65
1615
+ },
1616
+ {
1617
+ unit: "in W.C./ft",
1618
+ categoryId: "195",
1619
+ c0: 817.2208333333333
1620
+ },
1621
+ {
1622
+ unit: "in W.C./100 ft",
1623
+ categoryId: "195",
1624
+ c0: 8.172208333333334
1625
+ },
1626
+ {
1627
+ unit: "psf/in",
1628
+ categoryId: "195",
1629
+ c0: 1885.0495661549548
1630
+ },
1631
+ {
1632
+ unit: "psi/ft",
1633
+ categoryId: "195",
1634
+ c0: 22620.594793859455
1635
+ },
1636
+ {
1637
+ unit: "ksi/ft",
1638
+ categoryId: "195",
1639
+ c0: 22620594793859456e-9
1640
+ },
1641
+ {
1642
+ unit: "Torr/ft",
1643
+ categoryId: "195",
1644
+ c0: 437.40934521342734
1645
+ },
1646
+ {
1647
+ unit: "mTorr/m",
1648
+ categoryId: "195",
1649
+ c0: 0.13332236842105263
1650
+ },
1651
+ {
1652
+ unit: "N/m",
1653
+ categoryId: "200",
1654
+ c0: 1
1655
+ },
1656
+ {
1657
+ unit: "N/mm",
1658
+ categoryId: "200",
1659
+ c0: 1e3
1660
+ },
1661
+ {
1662
+ unit: "kN/m",
1663
+ categoryId: "200",
1664
+ c0: 1e3
1665
+ },
1666
+ {
1667
+ unit: "lb/ft",
1668
+ categoryId: "200",
1669
+ c0: 14.593902937206366
1670
+ },
1671
+ {
1672
+ unit: "kips/ft",
1673
+ categoryId: "200",
1674
+ c0: 14593.902937206365
1675
+ },
1676
+ {
1677
+ unit: "lb/in",
1678
+ categoryId: "200",
1679
+ c0: 175.12683524647636
1680
+ },
1681
+ {
1682
+ unit: "N⋅m/rad",
1683
+ categoryId: "205",
1684
+ c0: 1
1685
+ },
1686
+ {
1687
+ unit: "N⋅m/deg°",
1688
+ categoryId: "205",
1689
+ c0: 57.29577951308232
1690
+ },
1691
+ {
1692
+ unit: "N⋅mm/rad",
1693
+ categoryId: "205",
1694
+ c0: 1e-3
1695
+ },
1696
+ {
1697
+ unit: "N⋅mm/deg°",
1698
+ categoryId: "205",
1699
+ c0: 0.057295779513082325
1700
+ },
1701
+ {
1702
+ unit: "lb-ft/rad",
1703
+ categoryId: "205",
1704
+ c0: 1.3558179483314001
1705
+ },
1706
+ {
1707
+ unit: "lb-ft/deg°",
1708
+ categoryId: "205",
1709
+ c0: 77.68264622747554
1710
+ },
1711
+ {
1712
+ unit: "lb-in/rad",
1713
+ categoryId: "205",
1714
+ c0: 0.11298482902761668
1715
+ },
1716
+ {
1717
+ unit: "lb-in/deg°",
1718
+ categoryId: "205",
1719
+ c0: 6.473553852289629
1720
+ },
1721
+ {
1722
+ unit: "m³/s",
1723
+ categoryId: "210",
1724
+ c0: 1
1725
+ },
1726
+ {
1727
+ unit: "m³/min",
1728
+ categoryId: "210",
1729
+ c0: 0.016666666666666666
1730
+ },
1731
+ {
1732
+ unit: "m³/h",
1733
+ categoryId: "210",
1734
+ c0: 2777777777777778e-19
1735
+ },
1736
+ {
1737
+ unit: "L/s",
1738
+ categoryId: "210",
1739
+ c0: 1e-3
1740
+ },
1741
+ {
1742
+ unit: "L/min",
1743
+ categoryId: "210",
1744
+ c0: 16666666666666667e-21
1745
+ },
1746
+ {
1747
+ unit: "L/h",
1748
+ categoryId: "210",
1749
+ c0: 27777777777777776e-23
1750
+ },
1751
+ {
1752
+ unit: "cm³/s",
1753
+ categoryId: "210",
1754
+ c0: 1e-6
1755
+ },
1756
+ {
1757
+ unit: "cm³/min",
1758
+ categoryId: "210",
1759
+ c0: 16666666666666667e-24
1760
+ },
1761
+ {
1762
+ unit: "mm³/s",
1763
+ categoryId: "210",
1764
+ c0: 1e-9
1765
+ },
1766
+ {
1767
+ unit: "in³/s",
1768
+ categoryId: "210",
1769
+ c0: 16387064e-12
1770
+ },
1771
+ {
1772
+ unit: "in³/min",
1773
+ categoryId: "210",
1774
+ c0: 27311773333333333e-23
1775
+ },
1776
+ {
1777
+ unit: "ft³/s",
1778
+ categoryId: "210",
1779
+ c0: 0.02831684659199999
1780
+ },
1781
+ {
1782
+ unit: "CFM",
1783
+ categoryId: "210",
1784
+ c0: 4719474431999998e-19
1785
+ },
1786
+ {
1787
+ unit: "CFH",
1788
+ categoryId: "210",
1789
+ c0: 7865790719999997e-21
1790
+ },
1791
+ {
1792
+ unit: "yd³/min",
1793
+ categoryId: "210",
1794
+ c0: 0.012742580966399995
1795
+ },
1796
+ {
1797
+ unit: "yd³/h",
1798
+ categoryId: "210",
1799
+ c0: 21237634943999993e-20
1800
+ },
1801
+ {
1802
+ unit: "gpm(US)",
1803
+ categoryId: "210",
1804
+ c0: 6309019639999999e-20
1805
+ },
1806
+ {
1807
+ unit: "bushel(UK-imperial)/h",
1808
+ categoryId: "210",
1809
+ c0: 10102422222222223e-21
1810
+ },
1811
+ {
1812
+ unit: "bushel(US)/h",
1813
+ categoryId: "210",
1814
+ c0: 9788630601911111e-21
1815
+ },
1816
+ {
1817
+ unit: "kg/s",
1818
+ categoryId: "215",
1819
+ c0: 1
1820
+ },
1821
+ {
1822
+ unit: "kg/min",
1823
+ categoryId: "215",
1824
+ c0: 0.016666666666666666
1825
+ },
1826
+ {
1827
+ unit: "kg/h",
1828
+ categoryId: "215",
1829
+ c0: 2777777777777778e-19
1830
+ },
1831
+ {
1832
+ unit: "g/s",
1833
+ categoryId: "215",
1834
+ c0: 1e-3
1835
+ },
1836
+ {
1837
+ unit: "g/min",
1838
+ categoryId: "215",
1839
+ c0: 16666666666666667e-21
1840
+ },
1841
+ {
1842
+ unit: "g/h",
1843
+ categoryId: "215",
1844
+ c0: 27777777777777776e-23
1845
+ },
1846
+ {
1847
+ unit: "slug/s",
1848
+ categoryId: "215",
1849
+ c0: 14.59390294
1850
+ },
1851
+ {
1852
+ unit: "slug/min",
1853
+ categoryId: "215",
1854
+ c0: 0.24323171566666665
1855
+ },
1856
+ {
1857
+ unit: "slug/h",
1858
+ categoryId: "215",
1859
+ c0: 0.004053861927777778
1860
+ },
1861
+ {
1862
+ unit: "lbm/s",
1863
+ categoryId: "215",
1864
+ c0: 0.45359237
1865
+ },
1866
+ {
1867
+ unit: "lbm/min",
1868
+ categoryId: "215",
1869
+ c0: 0.007559872833333333
1870
+ },
1871
+ {
1872
+ unit: "lbm/h",
1873
+ categoryId: "215",
1874
+ c0: 12599788055555556e-20
1875
+ },
1876
+ {
1877
+ unit: "oz/s",
1878
+ categoryId: "215",
1879
+ c0: 0.028349523125
1880
+ },
1881
+ {
1882
+ unit: "oz/min",
1883
+ categoryId: "215",
1884
+ c0: 47249205208333334e-20
1885
+ },
1886
+ {
1887
+ unit: "oz/h",
1888
+ categoryId: "215",
1889
+ c0: 7874867534722223e-21
1890
+ },
1891
+ {
1892
+ unit: "tonne/h",
1893
+ categoryId: "215",
1894
+ c0: 0.2777777777777778
1895
+ },
1896
+ {
1897
+ unit: "short ton/h",
1898
+ categoryId: "215",
1899
+ c0: 0.2519957611111111
1900
+ },
1901
+ {
1902
+ unit: "long ton/h",
1903
+ categoryId: "215",
1904
+ c0: 0.2822352524444445
1905
+ },
1906
+ {
1907
+ unit: "m/s",
1908
+ categoryId: "220",
1909
+ c0: 1
1910
+ },
1911
+ {
1912
+ unit: "mm/s",
1913
+ categoryId: "220",
1914
+ c0: 1e-3
1915
+ },
1916
+ {
1917
+ unit: "km/s",
1918
+ categoryId: "220",
1919
+ c0: 1e3
1920
+ },
1921
+ {
1922
+ unit: "mm/min",
1923
+ categoryId: "220",
1924
+ c0: 16666666666666667e-21
1925
+ },
1926
+ {
1927
+ unit: "m/min",
1928
+ categoryId: "220",
1929
+ c0: 0.016666666666666666
1930
+ },
1931
+ {
1932
+ unit: "km/min",
1933
+ categoryId: "220",
1934
+ c0: 16.666666666666668
1935
+ },
1936
+ {
1937
+ unit: "mm/h",
1938
+ categoryId: "220",
1939
+ c0: 27777777777777776e-23
1940
+ },
1941
+ {
1942
+ unit: "m/h",
1943
+ categoryId: "220",
1944
+ c0: 2777777777777778e-19
1945
+ },
1946
+ {
1947
+ unit: "km/h",
1948
+ categoryId: "220",
1949
+ c0: 0.2777777777777778
1950
+ },
1951
+ {
1952
+ unit: "in/s",
1953
+ categoryId: "220",
1954
+ c0: 0.0254
1955
+ },
1956
+ {
1957
+ unit: "fps",
1958
+ categoryId: "220",
1959
+ c0: 0.30479999999999996
1960
+ },
1961
+ {
1962
+ unit: "ft/s",
1963
+ categoryId: "220",
1964
+ c0: 0.30479999999999996
1965
+ },
1966
+ {
1967
+ unit: "fpm",
1968
+ categoryId: "220",
1969
+ c0: 0.0050799999999999994
1970
+ },
1971
+ {
1972
+ unit: "mph",
1973
+ categoryId: "220",
1974
+ c0: 0.44703999999999994
1975
+ },
1976
+ {
1977
+ unit: "knot",
1978
+ categoryId: "220",
1979
+ c0: 0.5144444444444445
1980
+ },
1981
+ {
1982
+ unit: "J/m²",
1983
+ categoryId: "224",
1984
+ c0: 1
1985
+ },
1986
+ {
1987
+ unit: "kJ/m²",
1988
+ categoryId: "224",
1989
+ c0: 1e3
1990
+ },
1991
+ {
1992
+ unit: "cal/cm²",
1993
+ categoryId: "224",
1994
+ c0: 41840000000000003e-20
1995
+ },
1996
+ {
1997
+ unit: "kcal/m²",
1998
+ categoryId: "224",
1999
+ c0: 4184
2000
+ },
2001
+ {
2002
+ unit: "Wh/m²",
2003
+ categoryId: "224",
2004
+ c0: 3600
2005
+ },
2006
+ {
2007
+ unit: "kWh/m²",
2008
+ categoryId: "224",
2009
+ c0: 36e5
2010
+ },
2011
+ {
2012
+ unit: "Btu/yd²",
2013
+ categoryId: "224",
2014
+ c0: 1261.8362980252198
2015
+ },
2016
+ {
2017
+ unit: "Btu/ft²",
2018
+ categoryId: "224",
2019
+ c0: 11356.526682226979
2020
+ },
2021
+ {
2022
+ unit: "Btu/in²",
2023
+ categoryId: "224",
2024
+ c0: 1.6353398422406844e6
2025
+ },
2026
+ {
2027
+ unit: "J/m³",
2028
+ categoryId: "225",
2029
+ c0: 1
2030
+ },
2031
+ {
2032
+ unit: "J/L",
2033
+ categoryId: "225",
2034
+ c0: 1e3
2035
+ },
2036
+ {
2037
+ unit: "kJ/L",
2038
+ categoryId: "225",
2039
+ c0: 1e6
2040
+ },
2041
+ {
2042
+ unit: "kJ/m³",
2043
+ categoryId: "225",
2044
+ c0: 1e3
2045
+ },
2046
+ {
2047
+ unit: "MJ/m³",
2048
+ categoryId: "225",
2049
+ c0: 1e6
2050
+ },
2051
+ {
2052
+ unit: "GJ/m³",
2053
+ categoryId: "225",
2054
+ c0: 1e9
2055
+ },
2056
+ {
2057
+ unit: "cal(IT)/L",
2058
+ categoryId: "225",
2059
+ c0: 4186.8
2060
+ },
2061
+ {
2062
+ unit: "kcal(IT)/m³",
2063
+ categoryId: "225",
2064
+ c0: 4186.8
2065
+ },
2066
+ {
2067
+ unit: "cal(TH)/L",
2068
+ categoryId: "225",
2069
+ c0: 4184
2070
+ },
2071
+ {
2072
+ unit: "kcal(TH)/m³",
2073
+ categoryId: "225",
2074
+ c0: 4184
2075
+ },
2076
+ {
2077
+ unit: "Wh/L",
2078
+ categoryId: "225",
2079
+ c0: 36e5
2080
+ },
2081
+ {
2082
+ unit: "Wh/m³",
2083
+ categoryId: "225",
2084
+ c0: 3600
2085
+ },
2086
+ {
2087
+ unit: "kWh/m³",
2088
+ categoryId: "225",
2089
+ c0: 36e5
2090
+ },
2091
+ {
2092
+ unit: "HP Hour/ft³",
2093
+ categoryId: "225",
2094
+ c0: 9480291278106497e-8
2095
+ },
2096
+ {
2097
+ unit: "Btu/gal(US)",
2098
+ categoryId: "225",
2099
+ c0: 278716.2699391016
2100
+ },
2101
+ {
2102
+ unit: "Btu/ft³",
2103
+ categoryId: "225",
2104
+ c0: 37258.9458078313
2105
+ },
2106
+ {
2107
+ unit: "MMBtu/ft³",
2108
+ categoryId: "225",
2109
+ c0: 372589458078313e-4
2110
+ },
2111
+ {
2112
+ unit: "J/kg",
2113
+ categoryId: "230",
2114
+ c0: 1
2115
+ },
2116
+ {
2117
+ unit: "J/g",
2118
+ categoryId: "230",
2119
+ c0: 1e3
2120
+ },
2121
+ {
2122
+ unit: "kJ/kg",
2123
+ categoryId: "230",
2124
+ c0: 1e3
2125
+ },
2126
+ {
2127
+ unit: "MJ/kg",
2128
+ categoryId: "230",
2129
+ c0: 1e6
2130
+ },
2131
+ {
2132
+ unit: "GJ/kg",
2133
+ categoryId: "230",
2134
+ c0: 1e9
2135
+ },
2136
+ {
2137
+ unit: "cal(IT)/g",
2138
+ categoryId: "230",
2139
+ c0: 4186.8
2140
+ },
2141
+ {
2142
+ unit: "kcal(IT)/kg",
2143
+ categoryId: "230",
2144
+ c0: 4186.8
2145
+ },
2146
+ {
2147
+ unit: "cal(TH)/g",
2148
+ categoryId: "230",
2149
+ c0: 4184
2150
+ },
2151
+ {
2152
+ unit: "kcal(TH)/kg",
2153
+ categoryId: "230",
2154
+ c0: 4184
2155
+ },
2156
+ {
2157
+ unit: "Wh/g",
2158
+ categoryId: "230",
2159
+ c0: 36e5
2160
+ },
2161
+ {
2162
+ unit: "Wh/kg",
2163
+ categoryId: "230",
2164
+ c0: 3600
2165
+ },
2166
+ {
2167
+ unit: "kWh/kg",
2168
+ categoryId: "230",
2169
+ c0: 36e5
2170
+ },
2171
+ {
2172
+ unit: "HP Hour/lbm",
2173
+ categoryId: "230",
2174
+ c0: 5918352501599998e-9
2175
+ },
2176
+ {
2177
+ unit: "Btu/lbm",
2178
+ categoryId: "230",
2179
+ c0: 2326
2180
+ },
2181
+ {
2182
+ unit: "MMBtu/lbm",
2183
+ categoryId: "230",
2184
+ c0: 2326e6
2185
+ },
2186
+ {
2187
+ unit: "Btu/ton(short)",
2188
+ categoryId: "230",
2189
+ c0: 1.163
2190
+ },
2191
+ {
2192
+ unit: "J/(kg·K)",
2193
+ categoryId: "235",
2194
+ c0: 1
2195
+ },
2196
+ {
2197
+ unit: "J/(kg·°C)",
2198
+ categoryId: "235",
2199
+ c0: 1
2200
+ },
2201
+ {
2202
+ unit: "J/(g·K)",
2203
+ categoryId: "235",
2204
+ c0: 1e3
2205
+ },
2206
+ {
2207
+ unit: "J/(g·°C)",
2208
+ categoryId: "235",
2209
+ c0: 1e3
2210
+ },
2211
+ {
2212
+ unit: "Btu/(lbm·°F)",
2213
+ categoryId: "235",
2214
+ c0: 4186.799999999999
2215
+ },
2216
+ {
2217
+ unit: "Pa·s",
2218
+ categoryId: "240",
2219
+ c0: 1
2220
+ },
2221
+ {
2222
+ unit: "N·s/m²",
2223
+ categoryId: "240",
2224
+ c0: 1
2225
+ },
2226
+ {
2227
+ unit: "kg/m/s",
2228
+ categoryId: "240",
2229
+ c0: 1
2230
+ },
2231
+ {
2232
+ unit: "P",
2233
+ categoryId: "240",
2234
+ c0: 0.1
2235
+ },
2236
+ {
2237
+ unit: "cP",
2238
+ categoryId: "240",
2239
+ c0: 1e-3
2240
+ },
2241
+ {
2242
+ unit: "lb·s/ft²",
2243
+ categoryId: "240",
2244
+ c0: 47.88025898033585
2245
+ },
2246
+ {
2247
+ unit: "lbm/ft/s",
2248
+ categoryId: "240",
2249
+ c0: 1.4881639435695542
2250
+ },
2251
+ {
2252
+ unit: "m²/s",
2253
+ categoryId: "245",
2254
+ c0: 1
2255
+ },
2256
+ {
2257
+ unit: "m²/min",
2258
+ categoryId: "245",
2259
+ c0: 0.016666666666666666
2260
+ },
2261
+ {
2262
+ unit: "m²/hr",
2263
+ categoryId: "245",
2264
+ c0: 2777777777777778e-19
2265
+ },
2266
+ {
2267
+ unit: "St",
2268
+ categoryId: "245",
2269
+ c0: 1e-4
2270
+ },
2271
+ {
2272
+ unit: "cm²/min",
2273
+ categoryId: "245",
2274
+ c0: 16666666666666667e-22
2275
+ },
2276
+ {
2277
+ unit: "cm²/hr",
2278
+ categoryId: "245",
2279
+ c0: 2777777777777778e-23
2280
+ },
2281
+ {
2282
+ unit: "cSt",
2283
+ categoryId: "245",
2284
+ c0: 1e-6
2285
+ },
2286
+ {
2287
+ unit: "mm²/min",
2288
+ categoryId: "245",
2289
+ c0: 16666666666666667e-24
2290
+ },
2291
+ {
2292
+ unit: "mm²/hr",
2293
+ categoryId: "245",
2294
+ c0: 27777777777777777e-26
2295
+ },
2296
+ {
2297
+ unit: "ft²/s",
2298
+ categoryId: "245",
2299
+ c0: 0.09290303999999998
2300
+ },
2301
+ {
2302
+ unit: "ft²/min",
2303
+ categoryId: "245",
2304
+ c0: 0.0015483839999999997
2305
+ },
2306
+ {
2307
+ unit: "ft²/hr",
2308
+ categoryId: "245",
2309
+ c0: 25806399999999994e-21
2310
+ },
2311
+ {
2312
+ unit: "in²/s",
2313
+ categoryId: "245",
2314
+ c0: 64516e-8
2315
+ },
2316
+ {
2317
+ unit: "in²/min",
2318
+ categoryId: "245",
2319
+ c0: 10752666666666666e-21
2320
+ },
2321
+ {
2322
+ unit: "in²/hr",
2323
+ categoryId: "245",
2324
+ c0: 17921111111111112e-23
2325
+ },
2326
+ {
2327
+ unit: "ΔK",
2328
+ categoryId: "249",
2329
+ c0: 1
2330
+ },
2331
+ {
2332
+ unit: "Δ°C",
2333
+ categoryId: "249",
2334
+ c0: 1
2335
+ },
2336
+ {
2337
+ unit: "Δ°F",
2338
+ categoryId: "249",
2339
+ c0: 0.5555555555555556
2340
+ },
2341
+ {
2342
+ unit: "Δ°Ra",
2343
+ categoryId: "249",
2344
+ c0: 0.5555555555555556
2345
+ },
2346
+ {
2347
+ unit: "1/K",
2348
+ categoryId: "250",
2349
+ c0: 1
2350
+ },
2351
+ {
2352
+ unit: "1/°C",
2353
+ categoryId: "250",
2354
+ c0: 1
2355
+ },
2356
+ {
2357
+ unit: "1/°F",
2358
+ categoryId: "250",
2359
+ c0: 1.8
2360
+ },
2361
+ {
2362
+ unit: "1/°Ra",
2363
+ categoryId: "250",
2364
+ c0: 1.8
2365
+ },
2366
+ {
2367
+ unit: "W/(m⋅K)",
2368
+ categoryId: "255",
2369
+ c0: 1
2370
+ },
2371
+ {
2372
+ unit: "W/(cm⋅K)",
2373
+ categoryId: "255",
2374
+ c0: 100
2375
+ },
2376
+ {
2377
+ unit: "BTU/(h⋅ft⋅°F)",
2378
+ categoryId: "255",
2379
+ c0: 1.7307346663713914
2380
+ },
2381
+ {
2382
+ unit: "BTU/(h⋅in⋅°F)",
2383
+ categoryId: "255",
2384
+ c0: 20.76881599645669
2385
+ },
2386
+ {
2387
+ unit: "A⋅s",
2388
+ categoryId: "260",
2389
+ c0: 1
2390
+ },
2391
+ {
2392
+ unit: "C",
2393
+ categoryId: "260",
2394
+ c0: 1
2395
+ },
2396
+ {
2397
+ unit: "Ah",
2398
+ categoryId: "260",
2399
+ c0: 3600
2400
+ },
2401
+ {
2402
+ unit: "mAh",
2403
+ categoryId: "260",
2404
+ c0: 3.6
2405
+ },
2406
+ {
2407
+ unit: "e",
2408
+ categoryId: "260",
2409
+ c0: 1602307322544464e-34
2410
+ },
2411
+ {
2412
+ unit: "faraday",
2413
+ categoryId: "260",
2414
+ c0: 96493.20237141484
2415
+ },
2416
+ {
2417
+ unit: "V",
2418
+ categoryId: "265",
2419
+ c0: 1
2420
+ },
2421
+ {
2422
+ unit: "µV",
2423
+ categoryId: "265",
2424
+ c0: 1e-6
2425
+ },
2426
+ {
2427
+ unit: "mV",
2428
+ categoryId: "265",
2429
+ c0: 1e-3
2430
+ },
2431
+ {
2432
+ unit: "kV",
2433
+ categoryId: "265",
2434
+ c0: 1e3
2435
+ },
2436
+ {
2437
+ unit: "MV",
2438
+ categoryId: "265",
2439
+ c0: 1e6
2440
+ },
2441
+ {
2442
+ unit: "J/C",
2443
+ categoryId: "265",
2444
+ c0: 1
2445
+ },
2446
+ {
2447
+ unit: "Ω",
2448
+ categoryId: "270",
2449
+ c0: 1
2450
+ },
2451
+ {
2452
+ unit: "µΩ",
2453
+ categoryId: "270",
2454
+ c0: 1e-6
2455
+ },
2456
+ {
2457
+ unit: "mΩ",
2458
+ categoryId: "270",
2459
+ c0: 1e-3
2460
+ },
2461
+ {
2462
+ unit: "kΩ",
2463
+ categoryId: "270",
2464
+ c0: 1e3
2465
+ },
2466
+ {
2467
+ unit: "MΩ",
2468
+ categoryId: "270",
2469
+ c0: 1e6
2470
+ },
2471
+ {
2472
+ unit: "F",
2473
+ categoryId: "275",
2474
+ c0: 1
2475
+ },
2476
+ {
2477
+ unit: "pF",
2478
+ categoryId: "275",
2479
+ c0: 1e-12
2480
+ },
2481
+ {
2482
+ unit: "nF",
2483
+ categoryId: "275",
2484
+ c0: 1e-9
2485
+ },
2486
+ {
2487
+ unit: "µF",
2488
+ categoryId: "275",
2489
+ c0: 1e-6
2490
+ },
2491
+ {
2492
+ unit: "mF",
2493
+ categoryId: "275",
2494
+ c0: 1e-3
2495
+ },
2496
+ {
2497
+ unit: "H",
2498
+ categoryId: "280",
2499
+ c0: 1
2500
+ },
2501
+ {
2502
+ unit: "µH",
2503
+ categoryId: "280",
2504
+ c0: 1e-6
2505
+ },
2506
+ {
2507
+ unit: "mH",
2508
+ categoryId: "280",
2509
+ c0: 1e-3
2510
+ },
2511
+ {
2512
+ unit: "S",
2513
+ categoryId: "285",
2514
+ c0: 1
2515
+ },
2516
+ {
2517
+ unit: "℧",
2518
+ categoryId: "285",
2519
+ c0: 1
2520
+ },
2521
+ {
2522
+ unit: "µS",
2523
+ categoryId: "285",
2524
+ c0: 1e-6
2525
+ },
2526
+ {
2527
+ unit: "mS",
2528
+ categoryId: "285",
2529
+ c0: 1e-3
2530
+ },
2531
+ {
2532
+ unit: "kS",
2533
+ categoryId: "285",
2534
+ c0: 1e3
2535
+ },
2536
+ {
2537
+ unit: "Wb",
2538
+ categoryId: "290",
2539
+ c0: 1
2540
+ },
2541
+ {
2542
+ unit: "nWb",
2543
+ categoryId: "290",
2544
+ c0: 1e-9
2545
+ },
2546
+ {
2547
+ unit: "µWb",
2548
+ categoryId: "290",
2549
+ c0: 1e-6
2550
+ },
2551
+ {
2552
+ unit: "mWb",
2553
+ categoryId: "290",
2554
+ c0: 1e-3
2555
+ },
2556
+ {
2557
+ unit: "cWb",
2558
+ categoryId: "290",
2559
+ c0: 0.01
2560
+ },
2561
+ {
2562
+ unit: "dWb",
2563
+ categoryId: "290",
2564
+ c0: 0.1
2565
+ },
2566
+ {
2567
+ unit: "lm",
2568
+ categoryId: "295",
2569
+ c0: 1
2570
+ },
2571
+ {
2572
+ unit: "cd⋅sr",
2573
+ categoryId: "295",
2574
+ c0: 1
2575
+ },
2576
+ {
2577
+ unit: "T",
2578
+ categoryId: "300",
2579
+ c0: 1
2580
+ },
2581
+ {
2582
+ unit: "Wb/m²",
2583
+ categoryId: "300",
2584
+ c0: 1
2585
+ },
2586
+ {
2587
+ unit: "µT",
2588
+ categoryId: "300",
2589
+ c0: 1e-6
2590
+ },
2591
+ {
2592
+ unit: "G",
2593
+ categoryId: "300",
2594
+ c0: 1e-4
2595
+ },
2596
+ {
2597
+ unit: "mT",
2598
+ categoryId: "300",
2599
+ c0: 1e-3
2600
+ },
2601
+ {
2602
+ unit: "kat",
2603
+ categoryId: "305",
2604
+ c0: 1
2605
+ },
2606
+ {
2607
+ unit: "mol/s",
2608
+ categoryId: "305",
2609
+ c0: 1
2610
+ },
2611
+ {
2612
+ unit: "µkat",
2613
+ categoryId: "305",
2614
+ c0: 1e-6
2615
+ },
2616
+ {
2617
+ unit: "mkat",
2618
+ categoryId: "305",
2619
+ c0: 1e-3
2620
+ },
2621
+ {
2622
+ unit: "kkat",
2623
+ categoryId: "305",
2624
+ c0: 1e3
2625
+ },
2626
+ {
2627
+ unit: "Mkat",
2628
+ categoryId: "305",
2629
+ c0: 1e6
2630
+ },
2631
+ {
2632
+ unit: "Bq",
2633
+ categoryId: "310",
2634
+ c0: 1
2635
+ },
2636
+ {
2637
+ unit: "µBq",
2638
+ categoryId: "310",
2639
+ c0: 1e-6
2640
+ },
2641
+ {
2642
+ unit: "mBq",
2643
+ categoryId: "310",
2644
+ c0: 1e-3
2645
+ },
2646
+ {
2647
+ unit: "kBq",
2648
+ categoryId: "310",
2649
+ c0: 1e3
2650
+ },
2651
+ {
2652
+ unit: "MBq",
2653
+ categoryId: "310",
2654
+ c0: 1e6
2655
+ },
2656
+ {
2657
+ unit: "Rd",
2658
+ categoryId: "310",
2659
+ c0: 1e6
2660
+ },
2661
+ {
2662
+ unit: "Ci",
2663
+ categoryId: "310",
2664
+ c0: 37e9
2665
+ },
2666
+ {
2667
+ unit: "Gy",
2668
+ categoryId: "315",
2669
+ c0: 1
2670
+ },
2671
+ {
2672
+ unit: "µGy",
2673
+ categoryId: "315",
2674
+ c0: 1e-6
2675
+ },
2676
+ {
2677
+ unit: "mGy",
2678
+ categoryId: "315",
2679
+ c0: 1e-3
2680
+ },
2681
+ {
2682
+ unit: "kGy",
2683
+ categoryId: "315",
2684
+ c0: 1e3
2685
+ },
2686
+ {
2687
+ unit: "MGy",
2688
+ categoryId: "315",
2689
+ c0: 1e6
2690
+ },
2691
+ {
2692
+ unit: "Sv",
2693
+ categoryId: "320",
2694
+ c0: 1
2695
+ },
2696
+ {
2697
+ unit: "µSv",
2698
+ categoryId: "320",
2699
+ c0: 1e-6
2700
+ },
2701
+ {
2702
+ unit: "mSv",
2703
+ categoryId: "320",
2704
+ c0: 1e-3
2705
+ },
2706
+ {
2707
+ unit: "kSv",
2708
+ categoryId: "320",
2709
+ c0: 1e3
2710
+ },
2711
+ {
2712
+ unit: "MSv",
2713
+ categoryId: "320",
2714
+ c0: 1e6
2715
+ },
2716
+ {
2717
+ unit: "m³/rad",
2718
+ categoryId: "325",
2719
+ c0: 1
2720
+ },
2721
+ {
2722
+ unit: "m³/rev",
2723
+ categoryId: "325",
2724
+ c0: 0.15915494309189535
2725
+ },
2726
+ {
2727
+ unit: "L/rev",
2728
+ categoryId: "325",
2729
+ c0: 15915494309189535e-20
2730
+ },
2731
+ {
2732
+ unit: "cc/rev",
2733
+ categoryId: "325",
2734
+ c0: 15915494309189532e-23
2735
+ },
2736
+ {
2737
+ unit: "ft³/rev",
2738
+ categoryId: "325",
2739
+ c0: 0.004506766107891689
2740
+ },
2741
+ {
2742
+ unit: "in³/rev",
2743
+ categoryId: "325",
2744
+ c0: 2608082238363247e-21
2745
+ },
2746
+ {
2747
+ unit: "gal(US-liquid)/rev",
2748
+ categoryId: "325",
2749
+ c0: 60246699706191e-17
2750
+ },
2751
+ {
2752
+ unit: "m/m³",
2753
+ categoryId: "330",
2754
+ c0: 1
2755
+ },
2756
+ {
2757
+ unit: "km/L",
2758
+ categoryId: "330",
2759
+ c0: 1e6
2760
+ },
2761
+ {
2762
+ unit: "mpg(US)",
2763
+ categoryId: "330",
2764
+ c0: 425143.707430272
2765
+ },
2766
+ {
2767
+ unit: "mpg(UK)",
2768
+ categoryId: "330",
2769
+ c0: 354006.1899346471
2770
+ },
2771
+ {
2772
+ unit: "mile/L",
2773
+ categoryId: "330",
2774
+ c0: 1.6093439999999998e6
2775
+ },
2776
+ {
2777
+ unit: "m³/m",
2778
+ categoryId: "335",
2779
+ c0: 1
2780
+ },
2781
+ {
2782
+ unit: "L/km",
2783
+ categoryId: "335",
2784
+ c0: 1e-6
2785
+ },
2786
+ {
2787
+ unit: "L/100km",
2788
+ categoryId: "335",
2789
+ c0: 1e-8
2790
+ },
2791
+ {
2792
+ unit: "L/mile",
2793
+ categoryId: "335",
2794
+ c0: 6213711922373341e-22
2795
+ },
2796
+ {
2797
+ unit: "L/100mile",
2798
+ categoryId: "335",
2799
+ c0: 62137119223733416e-25
2800
+ },
2801
+ {
2802
+ unit: "gal(US-liquid)/mile",
2803
+ categoryId: "335",
2804
+ c0: 23521458333333333e-22
2805
+ },
2806
+ {
2807
+ unit: "gal(US-liquid)/100mile",
2808
+ categoryId: "335",
2809
+ c0: 23521458333333335e-24
2810
+ },
2811
+ {
2812
+ unit: "gal(UK-imperial)/mile",
2813
+ categoryId: "335",
2814
+ c0: 2824809363318222e-21
2815
+ },
2816
+ {
2817
+ unit: "gal(UK-imperial)/100mile",
2818
+ categoryId: "335",
2819
+ c0: 2824809363318222e-23
2820
+ },
2821
+ {
2822
+ unit: "m/J",
2823
+ categoryId: "340",
2824
+ c0: 1
2825
+ },
2826
+ {
2827
+ unit: "km/kWh",
2828
+ categoryId: "340",
2829
+ c0: 2777777777777778e-19
2830
+ },
2831
+ {
2832
+ unit: "km/MJ",
2833
+ categoryId: "340",
2834
+ c0: 1e-3
2835
+ },
2836
+ {
2837
+ unit: "MPGe",
2838
+ categoryId: "340",
2839
+ c0: 13267469084913437e-21
2840
+ },
2841
+ {
2842
+ unit: "mile/MJ",
2843
+ categoryId: "340",
2844
+ c0: 0.0016093439999999997
2845
+ },
2846
+ {
2847
+ unit: "mile/kWh",
2848
+ categoryId: "340",
2849
+ c0: 44703999999999995e-20
2850
+ },
2851
+ {
2852
+ unit: "mile/MMBtu",
2853
+ categoryId: "340",
2854
+ c0: 1525363795673515e-21
2855
+ },
2856
+ {
2857
+ unit: "J/m",
2858
+ categoryId: "345",
2859
+ c0: 1
2860
+ },
2861
+ {
2862
+ unit: "Wh/km",
2863
+ categoryId: "345",
2864
+ c0: 3.6
2865
+ },
2866
+ {
2867
+ unit: "Wh/mile",
2868
+ categoryId: "345",
2869
+ c0: 2.2369362920544025
2870
+ },
2871
+ {
2872
+ unit: "kWh/km",
2873
+ categoryId: "345",
2874
+ c0: 3600
2875
+ },
2876
+ {
2877
+ unit: "kWh/100km",
2878
+ categoryId: "345",
2879
+ c0: 36
2880
+ },
2881
+ {
2882
+ unit: "kWh/mile",
2883
+ categoryId: "345",
2884
+ c0: 2236.9362920544027
2885
+ },
2886
+ {
2887
+ unit: "kWh/100mile",
2888
+ categoryId: "345",
2889
+ c0: 22.369362920544027
2890
+ },
2891
+ {
2892
+ unit: "MJ/km",
2893
+ categoryId: "345",
2894
+ c0: 1e3
2895
+ },
2896
+ {
2897
+ unit: "MJ/100km",
2898
+ categoryId: "345",
2899
+ c0: 10
2900
+ },
2901
+ {
2902
+ unit: "MJ/mile",
2903
+ categoryId: "345",
2904
+ c0: 621.3711922373341
2905
+ },
2906
+ {
2907
+ unit: "MJ/100mile",
2908
+ categoryId: "345",
2909
+ c0: 6.213711922373341
2910
+ },
2911
+ {
2912
+ unit: "MMBtu/km",
2913
+ categoryId: "345",
2914
+ c0: 105505585262e-5
2915
+ },
2916
+ {
2917
+ unit: "MMBtu/100km",
2918
+ categoryId: "345",
2919
+ c0: 10550.5585262
2920
+ },
2921
+ {
2922
+ unit: "MMBtu/mile",
2923
+ categoryId: "345",
2924
+ c0: 655581.3130194664
2925
+ },
2926
+ {
2927
+ unit: "MMBtu/100mile",
2928
+ categoryId: "345",
2929
+ c0: 6555.813130194665
2930
+ },
2931
+ {
2932
+ unit: "$",
2933
+ categoryId: "355",
2934
+ c0: 1
2935
+ },
2936
+ {
2937
+ unit: "¢",
2938
+ categoryId: "355",
2939
+ c0: 0.01
2940
+ },
2941
+ {
2942
+ unit: "$1K",
2943
+ categoryId: "355",
2944
+ c0: 1e3
2945
+ },
2946
+ {
2947
+ unit: "$1M",
2948
+ categoryId: "355",
2949
+ c0: 1e6
2950
+ },
2951
+ {
2952
+ unit: "$1B",
2953
+ categoryId: "355",
2954
+ c0: 1e9
2955
+ },
2956
+ {
2957
+ unit: "$1T",
2958
+ categoryId: "355",
2959
+ c0: 1e12
2960
+ },
2961
+ {
2962
+ unit: "N·s",
2963
+ categoryId: "360",
2964
+ c0: 1
2965
+ },
2966
+ {
2967
+ unit: "lb·s",
2968
+ categoryId: "360",
2969
+ c0: 4.4482216152605
2970
+ },
2971
+ {
2972
+ unit: "kg·m/s",
2973
+ categoryId: "360",
2974
+ c0: 1
2975
+ },
2976
+ {
2977
+ unit: "lbm·fps",
2978
+ categoryId: "360",
2979
+ c0: 0.138254954376
2980
+ },
2981
+ {
2982
+ unit: "lbm·fpm",
2983
+ categoryId: "360",
2984
+ c0: 0.0023042492396
2985
+ },
2986
+ {
2987
+ unit: "bit",
2988
+ categoryId: "365",
2989
+ c0: 1
2990
+ },
2991
+ {
2992
+ unit: "kilobit",
2993
+ categoryId: "365",
2994
+ c0: 1e3
2995
+ },
2996
+ {
2997
+ unit: "kibibit",
2998
+ categoryId: "365",
2999
+ c0: 1024
3000
+ },
3001
+ {
3002
+ unit: "megabit",
3003
+ categoryId: "365",
3004
+ c0: 1e6
3005
+ },
3006
+ {
3007
+ unit: "mebibit",
3008
+ categoryId: "365",
3009
+ c0: 1048576
3010
+ },
3011
+ {
3012
+ unit: "gigabit",
3013
+ categoryId: "365",
3014
+ c0: 1e9
3015
+ },
3016
+ {
3017
+ unit: "gibibit",
3018
+ categoryId: "365",
3019
+ c0: 1073741824
3020
+ },
3021
+ {
3022
+ unit: "terabit",
3023
+ categoryId: "365",
3024
+ c0: 1e12
3025
+ },
3026
+ {
3027
+ unit: "tebibit",
3028
+ categoryId: "365",
3029
+ c0: 1099511627776
3030
+ },
3031
+ {
3032
+ unit: "petabit",
3033
+ categoryId: "365",
3034
+ c0: 1e15
3035
+ },
3036
+ {
3037
+ unit: "pebibit",
3038
+ categoryId: "365",
3039
+ c0: 1125899906842624
3040
+ },
3041
+ {
3042
+ unit: "byte",
3043
+ categoryId: "365",
3044
+ c0: 8
3045
+ },
3046
+ {
3047
+ unit: "kilobyte",
3048
+ categoryId: "365",
3049
+ c0: 8e3
3050
+ },
3051
+ {
3052
+ unit: "kibibyte",
3053
+ categoryId: "365",
3054
+ c0: 8192
3055
+ },
3056
+ {
3057
+ unit: "megabyte",
3058
+ categoryId: "365",
3059
+ c0: 8e6
3060
+ },
3061
+ {
3062
+ unit: "mebibyte",
3063
+ categoryId: "365",
3064
+ c0: 8388608
3065
+ },
3066
+ {
3067
+ unit: "gigabyte",
3068
+ categoryId: "365",
3069
+ c0: 8e9
3070
+ },
3071
+ {
3072
+ unit: "gibibyte",
3073
+ categoryId: "365",
3074
+ c0: 8589934592
3075
+ },
3076
+ {
3077
+ unit: "terabyte",
3078
+ categoryId: "365",
3079
+ c0: 8e12
3080
+ },
3081
+ {
3082
+ unit: "tebibyte",
3083
+ categoryId: "365",
3084
+ c0: 8796093022208
3085
+ },
3086
+ {
3087
+ unit: "petabyte",
3088
+ categoryId: "365",
3089
+ c0: 8e15
3090
+ },
3091
+ {
3092
+ unit: "pebibyte",
3093
+ categoryId: "365",
3094
+ c0: 9007199254740992
3095
+ },
3096
+ {
3097
+ unit: "bit/s",
3098
+ categoryId: "370",
3099
+ c0: 1
3100
+ },
3101
+ {
3102
+ unit: "kilobit/s",
3103
+ categoryId: "370",
3104
+ c0: 1e3
3105
+ },
3106
+ {
3107
+ unit: "kibibit/s",
3108
+ categoryId: "370",
3109
+ c0: 1024
3110
+ },
3111
+ {
3112
+ unit: "megabit/s",
3113
+ categoryId: "370",
3114
+ c0: 1e6
3115
+ },
3116
+ {
3117
+ unit: "mebibit/s",
3118
+ categoryId: "370",
3119
+ c0: 1048576
3120
+ },
3121
+ {
3122
+ unit: "gigabit/s",
3123
+ categoryId: "370",
3124
+ c0: 1e9
3125
+ },
3126
+ {
3127
+ unit: "gibibit/s",
3128
+ categoryId: "370",
3129
+ c0: 1073741824
3130
+ },
3131
+ {
3132
+ unit: "terabit/s",
3133
+ categoryId: "370",
3134
+ c0: 1099511627776
3135
+ },
3136
+ {
3137
+ unit: "tebibit/s",
3138
+ categoryId: "370",
3139
+ c0: 1099511627776
3140
+ },
3141
+ {
3142
+ unit: "petabit/s",
3143
+ categoryId: "370",
3144
+ c0: 1e15
3145
+ },
3146
+ {
3147
+ unit: "pebibit/s",
3148
+ categoryId: "370",
3149
+ c0: 1125899906842624
1024
3150
  }
3151
+ ];
3152
+ const data = {
3153
+ meta,
3154
+ categories,
3155
+ units
1025
3156
  };
3157
+ const grouped = /* @__PURE__ */ new Map();
3158
+ for (const u of data.units) {
3159
+ if (!grouped.has(u.categoryId))
3160
+ grouped.set(u.categoryId, []);
3161
+ grouped.get(u.categoryId).push(u);
3162
+ }
3163
+ const UNITS = {};
3164
+ const CONVERSION_FACTORS = {};
3165
+ for (const cat of data.categories) {
3166
+ const units2 = grouped.get(cat.id) ?? [];
3167
+ const key = cat.description;
3168
+ const isAffine = units2.some((u) => u.c1 != null);
3169
+ UNITS[key] = units2.map((u) => u.unit);
3170
+ if (isAffine) {
3171
+ CONVERSION_FACTORS[key] = Object.fromEntries(
3172
+ units2.map((u) => [u.unit, { c0: u.c0, c1: u.c1 ?? 0 }])
3173
+ );
3174
+ } else {
3175
+ CONVERSION_FACTORS[key] = Object.fromEntries(
3176
+ units2.map((u) => [u.unit, u.c0])
3177
+ );
3178
+ }
3179
+ }
1026
3180
  const getUnitCategory = (unit) => {
1027
3181
  console.log("getUnitCategory called with unit:", unit);
1028
3182
  if (!unit) {
@@ -1666,69 +3820,6 @@ class UcQtyTriplet extends HTMLElement {
1666
3820
  this.updateDropdownWidth();
1667
3821
  }
1668
3822
  }
1669
- class NewComponent1 extends HTMLElement {
1670
- constructor() {
1671
- super();
1672
- this.attachShadow({ mode: "open" });
1673
- this.count = 0;
1674
- }
1675
- connectedCallback() {
1676
- this.render();
1677
- this.attachEventListeners();
1678
- }
1679
- render() {
1680
- this.shadowRoot.innerHTML = `
1681
- <style>
1682
- :host {
1683
- display: inline-block;
1684
- font-family: Arial, sans-serif;
1685
- }
1686
- .counter {
1687
- display: flex;
1688
- align-items: center;
1689
- gap: 10px;
1690
- padding: 10px;
1691
- border: 1px solid #ccc;
1692
- border-radius: 5px;
1693
- }
1694
- button {
1695
- font-size: 16px;
1696
- background-color: blue;
1697
- color: red;
1698
- padding: 5px 10px;
1699
- cursor: pointer;
1700
- }
1701
- .count {
1702
- font-size: 18px;
1703
- font-weight: bold;
1704
- }
1705
- </style>
1706
- <div class="counter">
1707
- <button class="decrement">-</button>
1708
- <span class="count">${this.count}</span>
1709
- <button class="increment">+</button>
1710
- </div>
1711
- `;
1712
- }
1713
- attachEventListeners() {
1714
- const incrementBtn = this.shadowRoot.querySelector(".increment");
1715
- const decrementBtn = this.shadowRoot.querySelector(".decrement");
1716
- incrementBtn.addEventListener("click", () => this.increment());
1717
- decrementBtn.addEventListener("click", () => this.decrement());
1718
- }
1719
- increment() {
1720
- this.count++;
1721
- this.updateCount();
1722
- }
1723
- decrement() {
1724
- this.count--;
1725
- this.updateCount();
1726
- }
1727
- updateCount() {
1728
- const countElement = this.shadowRoot.querySelector(".count");
1729
- countElement.textContent = this.count;
1730
- }
1731
- }
1732
3823
  const defineCustomElement = (name, component) => {
1733
3824
  if (typeof window !== "undefined" && !customElements.get(name)) {
1734
3825
  customElements.define(name, component);
@@ -1739,9 +3830,7 @@ defineCustomElement("uc-qty", class extends PhysicalQuantity {
1739
3830
  });
1740
3831
  defineCustomElement("uc-qty-pair", UcQtyPair);
1741
3832
  defineCustomElement("uc-qty-triplet", UcQtyTriplet);
1742
- defineCustomElement("new-component-1", NewComponent1);
1743
3833
  export {
1744
- NewComponent1,
1745
3834
  PhysicalQuantity,
1746
3835
  UcQtyPair,
1747
3836
  UcQtyTriplet