physical-quantity 1.1.80 → 1.1.86
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/README.md +30 -7
- package/dist/pq.es.js +1 -1
- package/dist/pq.umd.js +238 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
# Physical
|
|
1
|
+
# Web Components for Physical Quantities with Built-in Unit Conversion
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
This package introduces three custom HTML elements designed for expressing and manipulating physical quantities with seamless unit conversion:
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
`<physical-quantity>` (alias: `<uc-qty>`) A versatile component for single quantities, featuring a value input and a unit dropdown. It automatically handles conversions within the same unit category.
|
|
8
|
+
|
|
9
|
+
`<uc-qty-pair>` Represents a pair of physical quantities sharing the same unit. It displays two values and a unit dropdown, enabling simultaneous conversion of both quantities.
|
|
10
|
+
|
|
11
|
+
`<uc-qty-triplet>` Designed for triplets of physical quantities with a common unit. It presents three values and a unit dropdown, facilitating synchronized conversion across all three quantities.
|
|
12
|
+
|
|
13
|
+
These web components offer:
|
|
14
|
+
- Self-contained unit conversion
|
|
15
|
+
- A clean, compact user interface
|
|
16
|
+
- Elimination of redundant dual units
|
|
17
|
+
- Seamless integration across various websites and platforms
|
|
18
|
+
|
|
19
|
+
By leveraging these custom elements, developers can easily incorporate sophisticated physical quantity handling and unit conversion into their web applications, enhancing user experience and data presentation.
|
|
8
20
|
|
|
9
21
|
## Features
|
|
10
22
|
|
|
@@ -28,7 +40,7 @@ It is a new HTML element for expressing physical quantities, featuring self-cont
|
|
|
28
40
|
|
|
29
41
|
## Installation
|
|
30
42
|
|
|
31
|
-
You can install the `physical-quantity`
|
|
43
|
+
You can install the `physical-quantity` package using npm:
|
|
32
44
|
|
|
33
45
|
```bash
|
|
34
46
|
npm install physical-quantity
|
|
@@ -50,7 +62,7 @@ Include the following script tag in your HTML file:
|
|
|
50
62
|
```
|
|
51
63
|
|
|
52
64
|
### Using the Component
|
|
53
|
-
Add the
|
|
65
|
+
Add the `<physical-quantity>`, `<uc-qty>`, `<uc-qty-pair>`, or `<uc-qty-triplet>` tag to your HTML file:
|
|
54
66
|
```html
|
|
55
67
|
<physical-quantity value="25.4" unit="mm" decimal-places="4"></physical-quantity>
|
|
56
68
|
<uc-qty value="25.4" unit="mm" decimal-places="4"></uc-qty>
|
|
@@ -79,6 +91,10 @@ Add the `physical-quantity` or `uc-qty` tag to your HTML file:
|
|
|
79
91
|
<physical-quantity value="2'-3" unit="ft-in" ></physical-quantity><br>
|
|
80
92
|
<physical-quantity value="10" unit="kgf" ></physical-quantity>
|
|
81
93
|
<physical-quantity value="10" unit="Volt" ></physical-quantity>
|
|
94
|
+
|
|
95
|
+
<uc-qty-pair values="10,20" unit="cm"></uc-qty-pair><br>
|
|
96
|
+
|
|
97
|
+
triplet values="10x20x30" unit="cm" =><uc-qty-triplet values="10x20x30" unit="cm"></uc-qty-triplet><br>
|
|
82
98
|
```
|
|
83
99
|
[Above Rendered in Web Browser](https://v2-docs.donwen.com/demo/pq-samples.html)
|
|
84
100
|
|
|
@@ -95,7 +111,10 @@ Here's an example of how to use the component in an HTML file:
|
|
|
95
111
|
</head>
|
|
96
112
|
<body>
|
|
97
113
|
<physical-quantity value="25.4" unit="mm"></physical-quantity>
|
|
98
|
-
<uc-qty value="25.4" unit="mm" decimal-places="4"></uc-qty>
|
|
114
|
+
<uc-qty value="25.4" unit="mm" decimal-places="4"></uc-qty> <br>
|
|
115
|
+
<uc-qty-pair values="10,20" unit="cm"></uc-qty-pair><br>
|
|
116
|
+
|
|
117
|
+
<uc-qty-triplet values="10x20x30" unit="cm"></uc-qty-triplet><br>
|
|
99
118
|
|
|
100
119
|
<script src="node_modules/physical-quantity/src/pq.es.js"></script>
|
|
101
120
|
</body>
|
|
@@ -115,7 +134,9 @@ Here's an example of how to use the component in an HTML file:
|
|
|
115
134
|
<body>
|
|
116
135
|
<physical-quantity value="25.4" unit="mm"></physical-quantity>
|
|
117
136
|
<physical-quantity value="1500" unit="psf" decimal-places=4></physical-quantity> <br>
|
|
118
|
-
<uc-qty value="2" unit="lbm" decimal-places="2"></uc-qty>
|
|
137
|
+
<uc-qty value="2" unit="lbm" decimal-places="2"></uc-qty> <br>
|
|
138
|
+
<uc-qty-pair values="10,20" unit="cm"></uc-qty-pair><br>
|
|
139
|
+
<uc-qty-triplet values="10x20x30" unit="cm"></uc-qty-triplet><br>
|
|
119
140
|
|
|
120
141
|
</body>
|
|
121
142
|
</html>
|
|
@@ -261,6 +282,8 @@ Contributions are welcome! Please contact the developer for any bugs, features,
|
|
|
261
282
|
## Change Log
|
|
262
283
|
| Version | Date | Description |
|
|
263
284
|
|---|---|---|
|
|
285
|
+
| v1.1.85 |20241015| Bug fixes. |
|
|
286
|
+
| v1.1.81 |20241014| Added uc-qty-pair & uc-qty-triplet. |
|
|
264
287
|
| v1.1.80 |20241013| Minor bug fixes. |
|
|
265
288
|
| v1.1.75 |20241010| Added more ounces and cups for volume. |
|
|
266
289
|
| v1.1.70 |20240810| Fine-tuned style. Checked usage of PQ element in Vue 3 app. Works with both unpkg and npm installation. |
|
package/dist/pq.es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x15cd(){const _0x5ae430=['decimalPlaces','rev/s','1/hour','pebibit','atm/m','m³/s','gibibit','lb-ft/minute','tebibit','kg/m³','kcal(IT)/kg','km/kWh','J/(g·°K)','1/min','mBq','bit/s','MJ/h','lbf','tonne','$1M','oz-ft','Ci[curie]','gal(UK-imperial)','gal(US-liquid)/100mile','kilo-calorie(TH)/hour','rad/min','lb·s/ft²','mm\x20HG','value','mpg(US)','block','body','m/s','W/(m⋅°K)','g/h','selected','N·s/m²','Btu/ton(short)','week','m²/hr','µBq','J/h','ft-in','mouseover','mbar','J/L','cd[candela]','MHz','</option>','hidden','replace','Pascal/m','MPa','cm\x20HG','atm','unit','gph(US)','calorie(IT)/minute','MJ/100km','m³/kg/s²','F[farad]','3237806usSVNs','J/minute','mile/MJ','ampere-hour','L/min','bushel(UK-imperial)','MPa/km','joule/coulomb','ft²','sr[steradian]','trim','km³','26700VGxaHg','deg°/h','tonne/m²','mm\x20HG/m','in²/min','lbm/h','in\x20HG/ft','NM[M,\x20nmi,\x20or\x20nautical\x20mile]','kBd','MJ/mile','byte','Btu/minute','mbar/mm','BTU/(h⋅in⋅°F)','MM\x20Btu/lbm','attachEventListeners','bind','Btu/lbm','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','km/min','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.value\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','P[Poise]','W[watt]','calorie(IT)/second','rpm','bar/m','bushel(US)/h','Stoke','cWb','target',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x20Custom\x20arrow\x20styles\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container::after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27▼\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.7em;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20right:\x200.3em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateX(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2012px;\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container:hover\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20underline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22value\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','lbm/yd²','kcal(IT)/m³','match','cp[candlepower(before\x201948)]','km/s','S[siemens]','ft/s²','deg°','lbm⋅ft²','ton(UK-Imperial/long)','open','m³/rad','°Ra','bar','T[tesla]','m/J','join','Sv[sievert]','Wh/kg','mkat','formatValue','mol','absolute','1512690QKGhSt','minute','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/*\x20height:\x201.1em;\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select::-ms-expand\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20','9276152gQohtM','in³/s','tebibit/s','Gy[gray]','m\x20W.C.','gibibyte','µm²','convertValue','kWh/100km','lm/ft²','>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','radian','mGy','mSv','mile²','tebibyte','rad','in³/rev','change','376878OHAJOX','mpg(UK)','L/100mile','mm²','render','m³/min','lbm·fps','kg/m²','gal(UK-imperial)/mile','mile/MM\x20Btu','km/L','deg°/min','CFH','Custom','m/min²','cm³','7AYfMGT','mph[mile/h]','kcal(TH)/kg','L/100km','day','in³','in\x20W.C./ft','cup(Legal)','dyn⋅cm²/g²','mmol','mm³','m³/m','ft²/s','petabit','kSv','mHz','in³/min','kgf','nWb','mm/min','J/(kg·°K)','select','.unit-container','µSv','1/°F','textContent','lbm/ft²','GBd','handleUnitContainerMouseOver','parseFeetInchesValue','kilo-calorie(IT)/hour','\x22\x20width=\x2212\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','tooltipTimeout','Wh/L','MM\x20Btu/100mile','deg°/s','Btu/h','L/mile','J/g','J[Joule]','kg/L','display','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','inputValue','g/cm³','mebibyte','kg⋅m²','cc/rev',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20','removeEventListeners','floor','span','mm\x20W.C.','kilo-calorie(TH)','deg°/min²','HP\x20Hour/lbm','H[henry]','kat[katal]','.tooltip','Wb[weber]','yd³','MSv','MJ/m³','visibility','kibibyte','J/C','kJ/m³','MM\x20Btu/ft³','addEventListener','pint(UK-imperial)','km/MJ','mTorr/m','J/kg','handleUnitContainerMouseOut','observedAttributes','CFM','knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]','lb-ft','formatFeetInchesValue','unitConversion','psf','mouseout','megabyte','kGy','querySelector','lumen/ft²','g/cm²','cm³/s','revolution','bit','kWh/m³','J/(kg·°C)','width','kilobit/s','updateDropdownWidth','fluid\x20ounce(US-liquid)','lm[lumen]','split','Ω[Ohm]','psf/in','in\x20W.C./100\x20ft','getUnitCategory','lb-ft/deg°','cm³/min','mol/s','s[second]','Btu/gal(US)','gibibit/s','in²/hr','Ampere[amp]','oz/h','calculateTotalInches','removeChild','MM\x20Btu/h','slug/h','Wh/m³','lbm/min','mm/h','HP\x20Hour','gigabit','kilo-calorie(IT)','g/min','get','slug/s','ft³','kg/h','kNm','terabyte','lb-in/deg°','faraday','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22tooltip\x22\x20href=\x22https://v2-docs.donwen.com/daily-calculations/unit-converter.html\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22Unit\x20Converter\x20for\x20All\x20Categories\x22\x20target=\x22_blank\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22','lbm/ft/s','m³/rev','lbm/in²','style','1/s','show-unit-arrow','Btu','kBq','acre','gal(US-liquid)/mile','lbm','megabit','kWh/kg','gal(US-dry)','kN/m','kHz','pint(US-dry)','kWh','ft³/s','St[cm²/s]','e[electron]','N⋅m/rad','cm⁴','lm/sr','63FjOJVA','kcal(TH)/m³','lb-ft/rad','Btu/ft³','lbm·fpm','oz/ft²','Torr/ft','48rlVOEc','attributeChangedCallback','tonne/h','lb/ft','pebibyte','g/mm²','define','mm/s²','m³/h','Wh/g','rad/h','pebibit/s','cup(Imperial)','<option\x20value=\x22','includes','mile/L','km/h','calorie(IT)','cm²/hr','dWb','J/(g·°C)','attachShadow','slug','L/km','cal(TH)/g','rad/s²','handleUnitChange','ft⁴','ft/min²','mAh','mebibit','4572568kRFFQY','offsetWidth','kips/ft',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20','rad/min²','cal(TH)/L','removeEventListener','psi/ft','ft²/min','max','unitCategory','mile/kWh','N·s','kWh/100mile','petabyte','showUnitArrow','nano[nm]','1525JCFWbK','MM\x20Btu/km','bushel(UK-imperial)/h','in/s²','m/min','map','in⁴','getAttribute','e3dLogoUrl','calorie(TH)/second','µkat','pow','J/m','$1K','createElement','cup(Metric)','shadowRoot','kkat','lbm/s','mm\x20W.C./m','mm/s','CFM[ft³/min]','tagName','Btu/(lbm·°F)','thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]','h[hour]','bushel(US-dry)','kWh/km','cm²/min','HP\x20Hour/ft³','oz/min','20jsbzjg','N⋅mm/rad','auto','kJ/minute','555063pIwNbB','oz/s','physical-quantity','calorie(TH)/minute','fps[ft/second]','innerHTML','GHz','toString','mile','lm/m²','terabit/s','MM\x20Btu/100km','kibibit','g⋅cm²','L/s','parseValue','MM\x20Btu/mile','W/(cm⋅°K)','font','cal(IT)/g','µm³','abs','g/s','kilobyte','fpm[ft/minute]','g/mm³','m/s²','1/°Ra','oz⋅in²','none','kip-in','deg°/s²','pint(US-liquid)','short\x20ton/h','micron','MPGe','cp[candlepower]','kg/min','meter-candle','MBq','phot','mebibit/s','kg/s','1/16\x22','yd³/h','MJ/kg','Wh/km','petabit/s','Volt','decimal-places','GJ/kg','mWb','C[coulomb]','units','gal(US-liquid)','cal(IT)/L'];_0x15cd=function(){return _0x5ae430;};return _0x15cd();}const _0x150759=_0x370f;(function(_0x33ab85,_0x5286c1){const _0x242c54=_0x370f,_0x588c57=_0x33ab85();while(!![]){try{const _0x179045=parseInt(_0x242c54(0x1e2))/0x1+-parseInt(_0x242c54(0x1de))/0x2*(-parseInt(_0x242c54(0x2b0))/0x3)+-parseInt(_0x242c54(0x1ae))/0x4+-parseInt(_0x242c54(0x1bf))/0x5*(-parseInt(_0x242c54(0x263))/0x6)+parseInt(_0x242c54(0xed))/0x7*(-parseInt(_0x242c54(0x29d))/0x8)+-parseInt(_0x242c54(0x188))/0x9*(-parseInt(_0x242c54(0x299))/0xa)+-parseInt(_0x242c54(0x257))/0xb*(parseInt(_0x242c54(0x18f))/0xc);if(_0x179045===_0x5286c1)break;else _0x588c57['push'](_0x588c57['shift']());}catch(_0x4f8dbc){_0x588c57['push'](_0x588c57['shift']());}}}(_0x15cd,0xb6793));const i=0.45359237,a=9.80665,N=0x14a0,n=25.4/0x3e8,e=0xc*n,w=0x73c,E=0x42*0x294,u=4.54609,d=0xe7,U=268.8025,p=0x1/0x8,H=0x1/0x14,W=0x1/0x10,O=0x8,C=0x8,F=0x1/0x10,_=0xf0,B=0xfa,J=0xa,I=14.59390294,f=1055.05585262,M=4.1868,g=4.184,D=0x226*i*a*e,L=0x18bcd,v=0x1/0x2f8,b=133.322387415,G=0x569e4c0a22d73800,R={'Length':['m',_0x150759(0x1be),'µm',_0x150759(0x204),'mm','cm','dm','km','in',_0x150759(0x244),_0x150759(0x1d7),'ft','yd',_0x150759(0x1ea),_0x150759(0x26a)],'Mass':['kg','g','mg','µg','oz',_0x150759(0x17a),_0x150759(0x1a5),'ton(US/short)',_0x150759(0x28b),_0x150759(0x22c)],'Time':[_0x150759(0x156),'s',_0x150759(0x29a),'h',_0x150759(0x1d8),_0x150759(0xf1),_0x150759(0x240)],'ElectricalCurrent':['A',_0x150759(0x15a),'mA','µA','kA','MA','esu/s'],'Temperature':['°K','°C','°F',_0x150759(0x28e)],'Amount\x20of\x20Substance':[_0x150759(0x297),_0x150759(0xf6),'kmol'],'Luminous\x20Intensity':[_0x150759(0x248),_0x150759(0x187),_0x150759(0x206),_0x150759(0x285)],'Acceleration':[_0x150759(0x1fc),_0x150759(0xeb),_0x150759(0x196),_0x150759(0x288),_0x150759(0x1ab),_0x150759(0x1c2)],'Gravitational\x20Constant':[_0x150759(0x255),'N⋅m²/kg²',_0x150759(0xf5)],'Velocity\x20(Angular)':['rad/s',_0x150759(0x233),_0x150759(0x199),_0x150759(0x110),_0x150759(0xe8),_0x150759(0x264),'rpm[rev/min]',_0x150759(0x21b)],'Acceleration\x20(Angular)':[_0x150759(0x1a8),_0x150759(0x1b2),_0x150759(0x201),_0x150759(0x123)],'Illuminance':['lux','lumen/m²',_0x150759(0x1eb),_0x150759(0x208),_0x150759(0x20a),'foot-candle','fc',_0x150759(0x142),_0x150759(0x2a6)],'Frequency':['Hz',_0x150759(0x174),_0x150759(0x227),_0x150759(0x27b),_0x150759(0x21c),_0x150759(0xfc),_0x150759(0x17f),_0x150759(0x249),_0x150759(0x1e8)],'Area':['m²',_0x150759(0x2a3),_0x150759(0x2b3),'cm²','km²','hectare','in²',_0x150759(0x25f),'yd²',_0x150759(0x178),_0x150759(0x2ab)],'Volume\x20/\x20Section\x20Modulus':['m³',_0x150759(0x1f6),_0x150759(0xf7),_0x150759(0xec),'L','mL',_0x150759(0x262),_0x150759(0xf2),_0x150759(0x169),_0x150759(0x129),_0x150759(0x230),_0x150759(0x218),_0x150759(0x17d),_0x150759(0x132),_0x150759(0x202),_0x150759(0x180),'fluid\x20ounce(UK-imperial)',_0x150759(0x14c),_0x150759(0x25c),_0x150759(0x1d9),'cup(US-liquid)',_0x150759(0xf4),_0x150759(0x1ce),_0x150759(0x19b)],'Polar\x20Moment\x20of\x20Inertia':['m⁴','mm⁴',_0x150759(0x186),_0x150759(0x1c5),_0x150759(0x1aa)],'Moment\x20of\x20Inertia':[_0x150759(0x11b),_0x150759(0x1ef),'g⋅mm²',_0x150759(0x28a),'lbm⋅in²',_0x150759(0x1fe)],'Force':['N','kN','MN',_0x150759(0xfe),'lb',_0x150759(0x22b),'kip[kilo\x20pound]'],'Angle':[_0x150759(0x2a8),_0x150759(0x2ad),_0x150759(0x289),_0x150759(0x145)],'Solid\x20Angle':[_0x150759(0x260),'m²/m²'],'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':[_0x150759(0xe4),_0x150759(0x143),_0x150759(0x194),_0x150759(0x265),_0x150759(0x282),_0x150759(0x107),_0x150759(0x172),'oz/yd²',_0x150759(0x18d),'oz/in²'],'Density':[_0x150759(0x223),_0x150759(0x115),_0x150759(0x119),_0x150759(0x1fb),'lbm/ft³','lbm/in³'],'Energy':[_0x150759(0x114),'kJ','MJ','GJ','TNT\x20Equivalent[kiloton]',_0x150759(0x176),'MM\x20Btu',_0x150759(0x1a0),_0x150759(0x165),'calorie(TH)',_0x150759(0x122),_0x150759(0x163),'Wh',_0x150759(0x181),'eV[electron-volt]'],'Power':[_0x150759(0x279),'kW','MW','GW[Gigawatt]',_0x150759(0x111),_0x150759(0x26e),_0x150759(0x15e),_0x150759(0x27a),_0x150759(0x253),_0x150759(0x10b),_0x150759(0x1c8),_0x150759(0x1e5),_0x150759(0x232),'lb-ft/second',_0x150759(0x221),'HP','J/second',_0x150759(0x258),_0x150759(0x243),_0x150759(0x22a),_0x150759(0x1e1)],'Torque,\x20Moment\x20of\x20Force':['Nm',_0x150759(0x16b),'lb-in',_0x150759(0x200),_0x150759(0x13a),'oz-in',_0x150759(0x22e)],'Pressure/Stress':['Pa','kPa',_0x150759(0x24e),'GPa',_0x150759(0x28f),_0x150759(0x246),_0x150759(0x250),_0x150759(0x235),_0x150759(0x24f),'in\x20HG',_0x150759(0x121),_0x150759(0x2a1),'in\x20W.C.',_0x150759(0x13d),'psi','ksi','ksi[kip/in²]'],'Pressure\x20Drop\x20per\x20Unit\x20Length':['Pa/m',_0x150759(0x24d),'kPa/m',_0x150759(0x25d),_0x150759(0x27c),_0x150759(0x26f),_0x150759(0x21e),_0x150759(0x266),_0x150759(0x269),_0x150759(0x1d2),'m\x20W.C./m',_0x150759(0xf3),_0x150759(0x151),_0x150759(0x150),_0x150759(0x1b5),'ksi/ft',_0x150759(0x18e),_0x150759(0x134)],'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':['N/m','N/mm',_0x150759(0x17e),_0x150759(0x192),_0x150759(0x1b0),'lb/in'],'Stiffness\x20of\x20Rotary\x20Spring':[_0x150759(0x185),'N⋅m/deg°',_0x150759(0x1df),'N⋅mm/deg°',_0x150759(0x18a),_0x150759(0x153),'lb-in/rad',_0x150759(0x16d)],'Flow\x20Rate\x20(Volume)':[_0x150759(0x21f),_0x150759(0xe2),_0x150759(0x197),_0x150759(0x1f0),_0x150759(0x25b),'L/h',_0x150759(0x144),_0x150759(0x154),_0x150759(0x29e),_0x150759(0xfd),_0x150759(0x182),_0x150759(0x138),_0x150759(0x1d4),_0x150759(0xe9),'CFH[ft³/h]','yd³/min',_0x150759(0x20e),'gpm(US)',_0x150759(0x252),_0x150759(0x1c1),_0x150759(0x27d)],'Flow\x20Rate\x20(Mass)':[_0x150759(0x20c),_0x150759(0x207),_0x150759(0x16a),_0x150759(0x1f8),_0x150759(0x166),_0x150759(0x23c),_0x150759(0x168),'slug/min',_0x150759(0x15f),_0x150759(0x1d1),_0x150759(0x161),_0x150759(0x268),_0x150759(0x1e3),_0x150759(0x1dd),_0x150759(0x15b),_0x150759(0x191),_0x150759(0x203),'long\x20ton/h'],'Speed\x20/\x20Velocity\x20(Linear)':[_0x150759(0x23a),_0x150759(0x1d3),_0x150759(0x286),_0x150759(0x100),_0x150759(0x1c3),_0x150759(0x276),_0x150759(0x162),'m/h',_0x150759(0x19f),'in/s','fps',_0x150759(0x1e6),'fpm',_0x150759(0x1fa),_0x150759(0xee),_0x150759(0x139)],'Fuel\x20Heat\x20Value\x20(Volume)':['J/m³',_0x150759(0x247),'kJ/L',_0x150759(0x12f),_0x150759(0x12b),'GJ/m³',_0x150759(0x219),_0x150759(0x283),_0x150759(0x1b3),_0x150759(0x189),_0x150759(0x10e),_0x150759(0x160),_0x150759(0x147),_0x150759(0x1dc),_0x150759(0x157),_0x150759(0x18b),_0x150759(0x130)],'Fuel\x20Heat\x20Value\x20(Mass)':[_0x150759(0x135),_0x150759(0x113),'kJ/kg',_0x150759(0x20f),_0x150759(0x214),_0x150759(0x1f5),_0x150759(0x224),_0x150759(0x1a7),_0x150759(0xef),_0x150759(0x198),_0x150759(0x294),_0x150759(0x17c),_0x150759(0x124),_0x150759(0x274),_0x150759(0x271),_0x150759(0x23f)],'Mass\x20Heat\x20Capacity':[_0x150759(0x101),_0x150759(0x148),_0x150759(0x226),_0x150759(0x1a3),_0x150759(0x1d6)],'Viscosity\x20-\x20Absolute/Dynamic(μ)':['PI[Pa·s]',_0x150759(0x23e),'kg/m/s',_0x150759(0x278),'cP',_0x150759(0x234),_0x150759(0x170)],'Viscosity\x20-\x20Kinematic':['m²/s','m²/min',_0x150759(0x241),_0x150759(0x183),_0x150759(0x27e),_0x150759(0x1db),_0x150759(0x1a1),'cSt[mm²/s]','mm²/min','mm²/hr',_0x150759(0xf9),_0x150759(0x1b6),'ft²/hr','in²/s',_0x150759(0x267),_0x150759(0x159)],'Linear\x20Thermal\x20Expansion\x20Coefficient':['1/°K','1/°C',_0x150759(0x105),_0x150759(0x1fd)],'Thermal\x20Conductivity':[_0x150759(0x23b),_0x150759(0x1f3),'BTU/(h⋅ft⋅°F)',_0x150759(0x270)],'Electrical\x20Charge':[_0x150759(0x216),'Ah',_0x150759(0x25a),_0x150759(0x1ac),_0x150759(0x184),_0x150759(0x16e)],'Electrical\x20Potential\x20Difference\x20(Voltage)':['V',_0x150759(0x212),_0x150759(0x25e),_0x150759(0x12e),'µV','mV','kV','MV'],'Electrical\x20Resistance(Impedance)':[_0x150759(0x14f),'µΩ','mΩ','kΩ','MΩ'],'Electrical\x20Capacitance':[_0x150759(0x256),'pF','nF','µF','mF'],'Electrical\x20Inductance':[_0x150759(0x125),'µH','mH'],'Electrical\x20Conductance':[_0x150759(0x287),'℧','µS','mS','kS'],'Magnetic\x20Flux':[_0x150759(0x128),_0x150759(0xff),'µWb',_0x150759(0x215),_0x150759(0x27f),_0x150759(0x1a2)],'Luminous\x20Flux':[_0x150759(0x14d),'cd⋅sr'],'Magnetic\x20Flux\x20Density':[_0x150759(0x290),'Wb/m²','µT','G','mT'],'Katalytic\x20Activity':[_0x150759(0x126),_0x150759(0x155),_0x150759(0x1c9),_0x150759(0x295),_0x150759(0x1d0),'Mkat'],'Radioactivity':['Bq[becquerel]','1/s',_0x150759(0x242),_0x150759(0x228),_0x150759(0x177),_0x150759(0x209),'Rd[rutherford]',_0x150759(0x22f)],'Absorbed\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x150759(0x2a0),_0x150759(0x135),'µGy',_0x150759(0x2a9),_0x150759(0x140),'MGy'],'Equivalent\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x150759(0x293),_0x150759(0x135),_0x150759(0x104),_0x150759(0x2aa),_0x150759(0xfb),_0x150759(0x12a)],'Volumetric\x20Displacement':[_0x150759(0x28d),_0x150759(0x171),'L/rev',_0x150759(0x11c),'ft³/rev',_0x150759(0x2ae),'gal(US-liquid)/rev'],'Fuel\x20Economy':[_0x150759(0xe7),_0x150759(0x237),'mile/gal(US-liquid)',_0x150759(0x2b1),'mile/gal(UK-imperial)',_0x150759(0x19e)],'Fuel\x20Consumption':[_0x150759(0xf8),_0x150759(0x1a6),_0x150759(0xf0),_0x150759(0x112),_0x150759(0x2b2),_0x150759(0x179),_0x150759(0x231),_0x150759(0xe5),'gal(UK-imperial)/100mile'],'New\x20Energy\x20Economy\x20(MPGe)':[_0x150759(0x291),_0x150759(0x225),_0x150759(0x133),_0x150759(0x205),_0x150759(0x259),_0x150759(0x1b9),_0x150759(0xe6)],'New\x20Energy\x20Consumption':[_0x150759(0x1cb),_0x150759(0x210),'Wh/mile',_0x150759(0x1da),_0x150759(0x2a5),'kWh/mile',_0x150759(0x1bb),'MJ/km',_0x150759(0x254),_0x150759(0x26c),'MJ/100mile',_0x150759(0x1c0),_0x150759(0x1ed),_0x150759(0x1f2),_0x150759(0x10f)],'Baud\x20Rate':['bit/s','Bd',_0x150759(0x26b),'MBd',_0x150759(0x108)],'Currency':['$','¢',_0x150759(0x1cc),_0x150759(0x22d),'$1B','$1T'],'Impulse\x20/\x20Momentum':[_0x150759(0x1ba),'Newton-second','lb·s','kg·m/s',_0x150759(0xe3),_0x150759(0x18c)],'Digital\x20Storage':[_0x150759(0x146),'kilobit',_0x150759(0x1ee),_0x150759(0x17b),_0x150759(0x1ad),_0x150759(0x164),_0x150759(0x220),'terabit',_0x150759(0x222),_0x150759(0xfa),_0x150759(0x21d),_0x150759(0x26d),_0x150759(0x1f9),_0x150759(0x12d),_0x150759(0x13f),_0x150759(0x11a),'gigabyte',_0x150759(0x2a2),_0x150759(0x16c),_0x150759(0x2ac),_0x150759(0x1bc),_0x150759(0x193)],'Data\x20Transfer\x20Rate':[_0x150759(0x229),_0x150759(0x14a),'kibibit/s','megabit/s',_0x150759(0x20b),'gigabit/s',_0x150759(0x158),_0x150759(0x1ec),_0x150759(0x29f),_0x150759(0x211),_0x150759(0x19a)]},V={'Length':{'m':0x1,'nano[nm]':0x1/0x3b9aca00,'µm':0x1/0xf4240,'micron':0x1/0xf4240,'mm':0x1/0x3e8,'cm':0.01,'dm':0.1,'km':0x3e8,'in':n,'thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]':n/0x3e8,'ft-in':n,'ft':e,'yd':0x3*e,'mile':N*e,'NM[M,\x20nmi,\x20or\x20nautical\x20mile]':w},'Mass':{'kg':0x1,'g':0.001,'mg':0x1/0xf4240,'µg':0x1/0x3b9aca00,'oz':0x1/0x10*i,'lbm':i,'slug':I,'ton(US/short)':0x7d0*i,'ton(UK-Imperial/long)':0x8c0*i,'tonne':0x3e8},'Time':{'s[second]':0x1,'s':0x1,'minute':0x3c,'h':0xe10,'h[hour]':0xe10,'day':0xe10*0x18,'week':0xe10*0x18*0x7},'ElectricalCurrent':{'A':0x1,'Ampere[amp]':0x1,'mA':0.001,'µA':0.000001,'kA':0x3e8,'MA':0xf4240,'esu/s':0x1/0xb2d05e00},'Temperature':{'°K':{'c0':0x1,'c1':0x0},'°C':{'c0':0x1,'c1':273.15},'°F':{'c0':0x5/0x9,'c1':255.3722222},'°Ra':{'c0':0x5/0x9,'c1':0x0}},'Amount\x20of\x20Substance':{'mol':0x1,'mmol':0.001,'kmol':0x3e8},'Luminous\x20Intensity':{'cd[candela]':0x1,'lm/sr':0x1,'cp[candlepower]':0x1,'cp[candlepower(before\x201948)]':0.981},'Acceleration':{'m/s²':0x1,'m/min²':0x1/0xe10,'mm/s²':0.001,'ft/s²':e,'ft/min²':e/0xe10,'in/s²':n},'Gravitational\x20Constant':{'m³/kg/s²':0x1,'N⋅m²/kg²':0x1,'dyn⋅cm²/g²':0x3e8},'Velocity\x20(Angular)':{'rad/s':0x1,'rad/min':0x1/0x3c,'rad/h':0x1/0xe10,'deg°/s':Math['PI']/0xb4,'deg°/min':Math['PI']/0xb4/0x3c,'deg°/h':Math['PI']/0xb4/0xe10,'rpm[rev/min]':0x2*Math['PI']/0x3c,'rev/s':0x2*Math['PI']},'Acceleration\x20(Angular)':{'rad/s²':0x1,'rad/min²':0x1/0xe10,'deg°/s²':Math['PI']/0xb4,'deg°/min²':Math['PI']/0xb4/0xe10},'Illuminance':{'lux':0x1,'lumen/m²':0x1,'lm/m²':0x1,'meter-candle':0x1,'phot':0x2710,'foot-candle':0x1/Math[_0x150759(0x1ca)](e,0x2),'fc':0x1/Math[_0x150759(0x1ca)](e,0x2),'lumen/ft²':0x1/Math[_0x150759(0x1ca)](e,0x2),'lm/ft²':0x1/Math[_0x150759(0x1ca)](e,0x2)},'Frequency':{'Hz':0x1,'1/s':0x1,'1/min':0x1/0x3c,'rpm':0x1/0x3c,'1/hour':0x1/0xe10,'mHz':0x1/0x3e8,'kHz':0x3e8,'MHz':0xf4240,'GHz':0x3b9aca00},'Area':{'m²':0x1,'µm²':Math[_0x150759(0x1ca)](0x1/0xf4240,0x2),'mm²':Math[_0x150759(0x1ca)](0x1/0x3e8,0x2),'cm²':Math[_0x150759(0x1ca)](0x1/0x64,0x2),'km²':0xf4240,'hectare':Math[_0x150759(0x1ca)](0x64,0x2),'in²':Math[_0x150759(0x1ca)](n,0x2),'ft²':Math[_0x150759(0x1ca)](e,0x2),'yd²':Math[_0x150759(0x1ca)](e*0x3,0x2),'acre':E*Math[_0x150759(0x1ca)](e,0x2),'mile²':Math[_0x150759(0x1ca)](N*e,0x2)},'Volume\x20/\x20Section\x20Modulus':{'m³':0x1,'µm³':Math['pow'](0x1/0xf4240,0x3),'mm³':Math[_0x150759(0x1ca)](0x1/0x3e8,0x3),'cm³':Math['pow'](0x1/0x64,0x3),'L':0x1/0x3e8,'mL':0x1/0xf4240,'km³':Math[_0x150759(0x1ca)](0x3e8,0x3),'in³':Math[_0x150759(0x1ca)](n,0x3),'ft³':Math[_0x150759(0x1ca)](e,0x3),'yd³':Math[_0x150759(0x1ca)](e*0x3,0x3),'gal(UK-imperial)':u*0x1/0x3e8,'gal(US-liquid)':d*Math[_0x150759(0x1ca)](n,0x3),'gal(US-dry)':U*Math[_0x150759(0x1ca)](n,0x3),'pint(UK-imperial)':p*u*0x1/0x3e8,'pint(US-liquid)':p*d*Math[_0x150759(0x1ca)](n,0x3),'pint(US-dry)':p*U*Math[_0x150759(0x1ca)](n,0x3),'fluid\x20ounce(UK-imperial)':H*p*u/0x3e8,'fluid\x20ounce(US-liquid)':W*p*d*Math[_0x150759(0x1ca)](n,0x3),'bushel(UK-imperial)':O*u/0x3e8,'bushel(US-dry)':C*U*Math[_0x150759(0x1ca)](n,0x3),'cup(US-liquid)':F*d*Math[_0x150759(0x1ca)](n,0x3),'cup(Legal)':_*Math[_0x150759(0x1ca)](0.01,0x3),'cup(Metric)':B*Math['pow'](0.01,0x3),'cup(Imperial)':J*H*p*u/0x3e8},'Polar\x20Moment\x20of\x20Inertia':{'m⁴':0x1,'mm⁴':1e-12,'cm⁴':1e-8,'in⁴':Math['pow'](n,0x4),'ft⁴':Math[_0x150759(0x1ca)](e,0x4)},'Moment\x20of\x20Inertia':{'kg⋅m²':0x1,'g⋅cm²':0x1/(0x3e8*0x2710),'g⋅mm²':0x1/(0x3e8*0xf4240),'lbm⋅ft²':i*Math[_0x150759(0x1ca)](e,0x2),'lbm⋅in²':i*Math['pow'](n,0x2),'oz⋅in²':i/0x10*Math[_0x150759(0x1ca)](n,0x2)},'Force':{'N':0x1,'kN':0x3e8,'MN':0xf4240,'kgf':a,'lb':i*a,'lbf':i*a,'kip[kilo\x20pound]':0x3e8*i*a},'Angle':{'radian':0x1,'rad':0x1,'deg°':Math['PI']/0xb4,'revolution':Math['PI']*0x2},'Solid\x20Angle':{'sr[steradian]':0x1,'m²/m²':0x1},'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':{'kg/m²':0x1,'g/cm²':0x1/0x3e8/Math[_0x150759(0x1ca)](0.01,0x2),'g/mm²':0x1/0x3e8/Math[_0x150759(0x1ca)](0.001,0x2),'tonne/m²':0x3e8,'lbm/yd²':i/Math['pow'](e*0x3,0x2),'lbm/ft²':i/Math[_0x150759(0x1ca)](e,0x2),'lbm/in²':i/Math[_0x150759(0x1ca)](n,0x2),'oz/yd²':i/0x10/Math['pow'](0x3*e,0x2),'oz/ft²':i/0x10/Math[_0x150759(0x1ca)](e,0x2),'oz/in²':i/0x10/Math[_0x150759(0x1ca)](n,0x2)},'Density':{'kg/m³':0x1,'kg/L':0x3e8,'g/cm³':0x1/0x3e8/Math[_0x150759(0x1ca)](0.01,0x3),'g/mm³':0x1/0x3e8/Math[_0x150759(0x1ca)](0.001,0x3),'lbm/ft³':i/Math['pow'](e,0x3),'lbm/in³':i/Math[_0x150759(0x1ca)](n,0x3)},'Energy':{'J[Joule]':0x1,'kJ':0x3e8,'MJ':0xf4240,'GJ':0x3b9aca00,'TNT\x20Equivalent[kiloton]':0x3b9aca00*g,'Btu':f,'MM\x20Btu':f*0xf4240,'calorie(IT)':M,'kilo-calorie(IT)':M*0x3e8,'calorie(TH)':g,'kilo-calorie(TH)':g*0x3e8,'HP\x20Hour':D*0xe10,'Wh':0xe10,'kWh':0xe10*0x3e8,'eV{electron-volt]':0x1/G},'Power':{'W[watt]':0x1,'kW':0x3e8,'MW':0xf4240,'GW[Gigawatt]':0x3b9aca00,'Btu/h':f/0xe10,'Btu/minute':f/0x3c,'MM\x20Btu/h':f*0xf4240/0xe10,'calorie(IT)/second':M,'calorie(IT)/minute':M/0x3c,'kilo-calorie(IT)/hour':M*0x3e8/0xe10,'calorie(TH)/second':g,'calorie(TH)/minute':g/0x3c,'kilo-calorie(TH)/hour':g*0x3e8/0xe10,'lb-ft/second':i*a*e,'lb-ft/minute':i*a*e/0x3c,'HP':D,'J/second':0x1,'J/minute':0x1/0x3c,'J/h':0x1/0xe10,'MJ/h':0xf4240/0xe10,'kJ/minute':0x3e8/0x3c},'Torque,\x20Moment\x20of\x20Force':{'Nm':0x1,'kNm':0x3e8,'lb-in':i*a*n,'kip-in':0x3e8*i*a*n,'lb-ft':i*a*e,'oz-in':i/0x10*a*n,'oz-ft':i/0x10*a*e},'Pressure/Stress':{'Pa':0x1,'kPa':0x3e8,'MPa':0xf4240,'GPa':0x3b9aca00,'bar':0x64*0x3e8,'mbar':0x64,'atm':L,'mm\x20HG':b,'cm\x20HG':b*0xa,'in\x20HG':b*25.4,'mm\x20W.C.':0x1/0x3e8*0x3e8*a,'m\x20W.C.':0x1*0x3e8*a,'in\x20W.C.':n*0x3e8*a,'psf':i*a/Math[_0x150759(0x1ca)](e,0x2),'psi':i*a/Math['pow'](n,0x2),'ksi':i*a/Math[_0x150759(0x1ca)](n,0x2)*0x3e8,'ksi{kip/in²]':i*a/Math['pow'](n,0x2)*0x3e8},'Pressure\x20Drop\x20per\x20Unit\x20Length':{'Pa/m':0x1,'Pascal/m':0x1,'kPa/m':0x3e8,'MPa/km':0xf4240/0x3e8,'bar/m':0x186a0,'mbar/mm':0x64*0x3e8,'atm/m':L,'mm\x20HG/m':b,'in\x20HG/ft':b*25.4/e,'mm\x20W.C./m':0x1/0x3e8*0x3e8*a,'m\x20W.C./m':0x3e8*a,'in\x20W.C./ft':n*0x3e8*a/e,'in\x20W.C./100\x20ft':n*0x3e8*a/e/0x64,'psf/in':i*a/Math[_0x150759(0x1ca)](e,0x2)/n,'psi/ft':i*a/Math[_0x150759(0x1ca)](e,0x2)/e,'ksi/ft':i*a/Math[_0x150759(0x1ca)](e,0x2)/e*0x3e8,'Torr/ft':v*L/e,'mTorr/m':v*L/0x3e8},'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':{'N/m':0x1,'N/mm':0x3e8,'kN/m':0x3e8,'lb/ft':i*a/e,'kips/ft':0x3e8*i*a/e,'lb/in':i*a/n},'Stiffness\x20of\x20Rotary\x20Spring':{'N⋅m/rad':0x1,'N⋅m/deg°':0x1/Math['PI']*0xb4,'N⋅mm/rad':0x1/0x3e8,'N⋅mm/deg°':0x1/0x3e8/Math['PI']*0xb4,'lb-ft/rad':i*a*e,'lb-ft/deg°':i*a*e/(Math['PI']/0xb4),'lb-in/rad':i*a*n,'lb-in/deg°':i*a*n/(Math['PI']/0xb4)},'Flow\x20Rate\x20(Volume)':{'m³/s':0x1,'m³/min':0x1/0x3c,'m³/h':0x1/0xe10,'L/s':0x1/0x3e8,'L/min':0x1/0x3e8/0x3c,'L/h':0x1/0x3e8/0xe10,'cm³/s':0.000001,'cm³/min':0.000001/0x3c,'in³/s':Math[_0x150759(0x1ca)](n,0x3),'in³/min':Math['pow'](n,0x3)/0x3c,'ft³/s':Math[_0x150759(0x1ca)](e,0x3),'CFM':Math[_0x150759(0x1ca)](e,0x3)/0x3c,'CFM[ft³/min]':Math[_0x150759(0x1ca)](e,0x3)/0x3c,'CFH':Math[_0x150759(0x1ca)](e,0x3)/0xe10,'CFH[ft³/h]':Math[_0x150759(0x1ca)](e,0x3)/0xe10,'yd³/min':Math[_0x150759(0x1ca)](e*0x3,0x3)/0x3c,'yd³/h':Math[_0x150759(0x1ca)](e*0x3,0x3)/0xe10,'gpm(US)':d*Math[_0x150759(0x1ca)](n,0x3)/0x3c,'gph(US)':d*Math['pow'](n,0x3)/0xe10,'bushel(UK-imperial)/h':O*u/0x3e8/0xe10,'bushel(US)/h':C*U*Math[_0x150759(0x1ca)](n,0x3)/0xe10},'Flow\x20Rate\x20(Mass)':{'kg/s':0x1,'kg/min':0x1/0x3c,'kg/h':0x1/0xe10,'g/s':0x1/0x3e8,'g/min':0x1/0x3e8/0x3c,'g/h':0x1/0x3e8/0xe10,'slug/s':I,'slug/min':I/0x3c,'slug/h':I/0xe10,'lbm/s':i,'lbm/min':i/0x3c,'lbm/h':i/0xe10,'oz/s':i/0x10,'oz/min':i/0x10/0x3c,'oz/h':i/0x10/0xe10,'tonne/h':0x3e8/0xe10,'short\x20ton/h':0x7d0*i/0xe10,'long\x20ton/h':0x8c0*i/0xe10},'Speed\x20/\x20Velocity\x20(Linear)':{'m/s':0x1,'mm/s':0x1/0x3e8,'km/s':0x1,'mm/min':0x1/0x3e8/0x3c,'m/min':0x1/0x3c,'km/min':0x3e8/0x3c,'mm/h':0x1/0x3e8/0xe10,'m/h':0x1/0xe10,'km/h':0x3e8/0xe10,'in/s':n,'fps':e,'fps[ft/second]':e,'fpm':e/0x3c,'fpm[ft/minute]':e/0x3c,'mph[mile/h]':N*e/0xe10,'knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]':w/0xe10},'Electrical\x20Potential\x20Difference\x20(Voltage)':{'V':0x1,'Volt':0x1,'joule/coulomb':0x1,'J/C':0x1,'µV':0x1/0xf4240,'mV':0x1/0x3e8,'kV':0x3e8,'MV':0xf4240}};class P extends HTMLElement{constructor(){const _0x3ab389=_0x150759;super(),this[_0x3ab389(0x1a4)]({'mode':_0x3ab389(0x28c)}),this[_0x3ab389(0x10d)]=null,this[_0x3ab389(0x1c7)]='https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/shared%2Fassets%2Fimages%2Fe3d-logo2.png?alt=media&token=7064f466-6168-4b8a-b921-4e86115cb492';}['connectedCallback'](){const _0x2a192f=_0x150759;this['units']=R,this['unitConversion']=V,this['unit']=this[_0x2a192f(0x1c6)](_0x2a192f(0x251))||'mm',this[_0x2a192f(0x1b8)]=this[_0x2a192f(0x152)](this[_0x2a192f(0x251)]),this[_0x2a192f(0x118)]=this[_0x2a192f(0x1c6)]('value'),this[_0x2a192f(0x236)]=this[_0x2a192f(0x1f1)](this[_0x2a192f(0x118)],this[_0x2a192f(0x251)]),this[_0x2a192f(0x21a)]=parseInt(this[_0x2a192f(0x1c6)](_0x2a192f(0x213)))||0x2,this[_0x2a192f(0x1bd)]=!this['hasAttribute'](_0x2a192f(0x175))||this[_0x2a192f(0x1c6)]('show-unit-arrow')==='true',this[_0x2a192f(0xe1)](),this[_0x2a192f(0x272)]();}['disconnectedCallback'](){this['removeEventListeners']();}static get[_0x150759(0x137)](){const _0x33a468=_0x150759;return[_0x33a468(0x236),_0x33a468(0x251),_0x33a468(0x213),'show-unit-arrow'];}[_0x150759(0x190)](_0x313b2d,_0x324cd,_0x353c8e){const _0x56c644=_0x150759;if(_0x313b2d==='value')this[_0x56c644(0x118)]=_0x353c8e,this[_0x56c644(0x236)]=this[_0x56c644(0x1f1)](_0x353c8e,this[_0x56c644(0x251)]);else{if(_0x313b2d===_0x56c644(0x251)){const _0x17d9cd=this['unit'];this[_0x56c644(0x251)]=_0x353c8e,this['unitCategory']=this[_0x56c644(0x152)](_0x353c8e),_0x17d9cd!==_0x353c8e&&(this[_0x56c644(0x236)]=this[_0x56c644(0x2a4)](this['value'],_0x17d9cd,_0x353c8e));}else _0x313b2d===_0x56c644(0x213)?this[_0x56c644(0x21a)]=parseInt(_0x353c8e)||0x2:_0x313b2d===_0x56c644(0x175)&&(this[_0x56c644(0x1bd)]=_0x353c8e===null||_0x353c8e==='true');}this[_0x56c644(0xe1)]();}[_0x150759(0x1f1)](_0x382980,_0x387730){const _0x51d552=_0x150759;return _0x387730===_0x51d552(0x244)?this[_0x51d552(0x10a)](_0x382980):parseFloat(_0x382980);}[_0x150759(0x10a)](_0x39c83c){const _0x102bfe=_0x150759,_0x4b748a=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,_0x3e190a=/(\d+)\'/,_0x4742dc=/(\d+)/;let _0x17ae78=_0x39c83c[_0x102bfe(0x284)](_0x4b748a);if(_0x17ae78){const _0x1cef04=parseInt(_0x17ae78[0x1])||0x0,_0x3f1686=parseInt(_0x17ae78[0x3])||0x0,_0x3d0686=parseInt(_0x17ae78[0x5])||0x0,_0x47536c=parseInt(_0x17ae78[0x6])||0x1;return this[_0x102bfe(0x15c)](_0x1cef04,_0x3f1686,_0x3d0686,_0x47536c);}if(_0x17ae78=_0x39c83c[_0x102bfe(0x284)](_0x3e190a),_0x17ae78){const _0x339931=parseInt(_0x17ae78[0x1])||0x0;return this[_0x102bfe(0x15c)](_0x339931,0x0,0x0,0x1);}if(_0x17ae78=_0x39c83c[_0x102bfe(0x284)](_0x4742dc),_0x17ae78){const _0x24939=parseInt(_0x17ae78[0x1])||0x0;return this[_0x102bfe(0x15c)](0x0,_0x24939,0x0,0x1);}return parseFloat(_0x39c83c);}[_0x150759(0x15c)](_0x398942,_0x21ec88,_0x5971c9,_0x3ceb73){return _0x398942*0xc+_0x21ec88+_0x5971c9/_0x3ceb73;}['formatFeetInchesValue'](_0x137858,_0x50fbde=_0x150759(0x20d)){const _0x27c16d=_0x150759;if(_0x137858<0x0)return'-'+this[_0x27c16d(0x13b)](-_0x137858,_0x50fbde);const _0x4af0e=parseInt(_0x50fbde[_0x27c16d(0x14e)]('/')[0x1][_0x27c16d(0x24c)]('\x22',''));let _0x433163=Math[_0x27c16d(0x11f)](_0x137858/0xc),_0x22d254=Math['floor'](_0x137858%0xc);const _0x26134e=_0x137858-Math[_0x27c16d(0x11f)](_0x137858);let _0x2c4725='';if(_0x26134e>0x0&&_0x50fbde!==0x0){let _0x3eb664=Math['round'](_0x26134e*_0x4af0e);const _0x53418c=(_0x3e9cc3,_0x54c854)=>_0x54c854?_0x53418c(_0x54c854,_0x3e9cc3%_0x54c854):_0x3e9cc3,_0x1d8126=_0x53418c(_0x3eb664,_0x4af0e);_0x2c4725='\x20'+_0x3eb664/_0x1d8126+'/'+_0x4af0e/_0x1d8126,_0x2c4725['trim']()==='1/1'&&(_0x22d254++,_0x22d254>=0xc&&(_0x433163++,_0x22d254-=0xc),_0x2c4725='');}let _0x24a74a='';return _0x433163>0x0&&(_0x24a74a+=_0x433163+'\x27'),_0x433163>0x0&&(_0x22d254>0x0||_0x2c4725!=='')&&(_0x24a74a+='-'),_0x22d254>0x0&&(_0x24a74a+=''+_0x22d254),_0x2c4725!==''&&(_0x24a74a+=_0x2c4725),(_0x22d254>0x0||_0x2c4725!=='')&&(_0x24a74a+='\x22'),_0x24a74a[_0x27c16d(0x261)]();}[_0x150759(0x152)](_0x223a70){const _0x25891e=_0x150759;for(const _0x56bfb9 in this[_0x25891e(0x217)])if(this[_0x25891e(0x217)][_0x56bfb9][_0x25891e(0x19d)](_0x223a70))return _0x56bfb9;return this['units']['Custom']=this[_0x25891e(0x217)]['Custom']||[],this[_0x25891e(0x217)][_0x25891e(0xea)]['push'](_0x223a70),this['unitConversion'][_0x25891e(0xea)]=this[_0x25891e(0x13c)][_0x25891e(0xea)]||{},this[_0x25891e(0x13c)][_0x25891e(0xea)][_0x223a70]=0x1,_0x25891e(0xea);}[_0x150759(0x1a9)](_0x1333a1){const _0x348106=_0x150759;if(_0x1333a1[_0x348106(0x280)][_0x348106(0x1d5)]==='SELECT'){const _0x238cca=_0x1333a1['target']['value'];this[_0x348106(0x236)]=this[_0x348106(0x2a4)](this['value'],this[_0x348106(0x251)],_0x238cca),this[_0x348106(0x251)]=_0x238cca,this[_0x348106(0xe1)]();}this[_0x348106(0x14b)]();}[_0x150759(0x2a4)](_0xd3be9e,_0x546ec5,_0x1090c6){const _0x20774a=_0x150759;if(this['unitCategory']!=='Temperature'){const _0x275123=this[_0x20774a(0x13c)][this['unitCategory']][_0x546ec5]/this[_0x20774a(0x13c)][this[_0x20774a(0x1b8)]][_0x1090c6];return _0xd3be9e*_0x275123;}else{const _0x4a0179=this['unitConversion'][this[_0x20774a(0x1b8)]][_0x546ec5]['c0'],_0x4a764e=this[_0x20774a(0x13c)][this[_0x20774a(0x1b8)]][_0x546ec5]['c1'],_0x4ce3c9=this[_0x20774a(0x13c)][this[_0x20774a(0x1b8)]][_0x1090c6]['c0'],_0x56a183=this['unitConversion'][this[_0x20774a(0x1b8)]][_0x1090c6]['c1'];return(_0xd3be9e*_0x4a0179+_0x4a764e-_0x56a183)/_0x4ce3c9;}}[_0x150759(0x296)](_0x5b09d8){const _0x46b745=_0x150759;let _0x289c5c;if(Number['isInteger'](_0x5b09d8)?_0x289c5c=_0x5b09d8[_0x46b745(0x1e9)]():_0x289c5c=_0x5b09d8['toFixed'](this['decimalPlaces'])[_0x46b745(0x24c)](/\.?0+$/,''),Math[_0x46b745(0x1f7)](parseFloat(_0x289c5c))>=0x3e8){const _0x218cc6=_0x289c5c[_0x46b745(0x14e)]('.');_0x218cc6[0x0]=_0x218cc6[0x0][_0x46b745(0x24c)](/\B(?=(\d{3})+(?!\d))/g,','),_0x289c5c=_0x218cc6['join']('.');}return _0x289c5c;}[_0x150759(0xe1)](){const _0xfbfc4c=_0x150759;this[_0xfbfc4c(0x1cf)][_0xfbfc4c(0x1e7)]=_0xfbfc4c(0x277)+(this[_0xfbfc4c(0x1bd)]?'auto':_0xfbfc4c(0x1ff))+_0xfbfc4c(0x11d)+(this['showUnitArrow']?_0xfbfc4c(0x1e0):'none')+_0xfbfc4c(0x1b1)+(this[_0xfbfc4c(0x1bd)]?_0xfbfc4c(0x1e0):'none')+_0xfbfc4c(0x29c)+(this['showUnitArrow']?_0xfbfc4c(0x238):_0xfbfc4c(0x1ff))+_0xfbfc4c(0x281)+(this[_0xfbfc4c(0x251)]==='ft-in'?this[_0xfbfc4c(0x13b)](this[_0xfbfc4c(0x236)]):this[_0xfbfc4c(0x296)](this[_0xfbfc4c(0x236)]))+_0xfbfc4c(0x275)+(this[_0xfbfc4c(0x217)][this[_0xfbfc4c(0x1b8)]]||[this[_0xfbfc4c(0x251)]])[_0xfbfc4c(0x1c4)](_0x2d330a=>_0xfbfc4c(0x19c)+_0x2d330a+'\x22\x20'+(_0x2d330a===this[_0xfbfc4c(0x251)]?_0xfbfc4c(0x23d):'')+_0xfbfc4c(0x2a7)+_0x2d330a+_0xfbfc4c(0x24a))[_0xfbfc4c(0x292)]('')+_0xfbfc4c(0x117)+(this[_0xfbfc4c(0x1bd)]&&this[_0xfbfc4c(0x1b8)]!==_0xfbfc4c(0xea)?_0xfbfc4c(0x16f)+this['e3dLogoUrl']+_0xfbfc4c(0x10c):'')+_0xfbfc4c(0x29b),this[_0xfbfc4c(0x14b)]();}['updateDropdownWidth'](){const _0x4df6b9=_0x150759,_0x253836=this[_0x4df6b9(0x1cf)][_0x4df6b9(0x141)](_0x4df6b9(0x102));if(!_0x253836)return;const _0x172476=document[_0x4df6b9(0x1cd)](_0x4df6b9(0x120));_0x172476[_0x4df6b9(0x173)][_0x4df6b9(0x12c)]=_0x4df6b9(0x24b),_0x172476[_0x4df6b9(0x173)]['position']=_0x4df6b9(0x298),_0x172476[_0x4df6b9(0x173)]['whiteSpace']='nowrap',_0x172476[_0x4df6b9(0x173)][_0x4df6b9(0x1f4)]=window['getComputedStyle'](_0x253836)[_0x4df6b9(0x1f4)],document['body']['appendChild'](_0x172476),_0x172476[_0x4df6b9(0x106)]=this['unit'];const _0x534545=_0x172476[_0x4df6b9(0x1af)];document[_0x4df6b9(0x239)][_0x4df6b9(0x15d)](_0x172476);const _0x5c6bab=this[_0x4df6b9(0x1bd)]?0x10:0x6,_0x2a0389=this[_0x4df6b9(0x1bd)]?0x8:0x0;let _0x40895a=_0x534545+_0x5c6bab+_0x2a0389+0x2;_0x40895a=Math[_0x4df6b9(0x1b7)](_0x40895a,0x1e),_0x253836[_0x4df6b9(0x173)][_0x4df6b9(0x149)]=_0x40895a+'px';}[_0x150759(0x272)](){const _0x5fa932=_0x150759;this[_0x5fa932(0x1cf)][_0x5fa932(0x131)](_0x5fa932(0x2af),this[_0x5fa932(0x1a9)][_0x5fa932(0x273)](this));const _0x23bb36=this[_0x5fa932(0x1cf)][_0x5fa932(0x141)](_0x5fa932(0x103));_0x23bb36&&(_0x23bb36[_0x5fa932(0x131)](_0x5fa932(0x245),this[_0x5fa932(0x109)][_0x5fa932(0x273)](this)),_0x23bb36[_0x5fa932(0x131)]('mouseout',this[_0x5fa932(0x136)]['bind'](this)));}[_0x150759(0x11e)](){const _0x534303=_0x150759;this[_0x534303(0x1cf)][_0x534303(0x1b4)]('change',this[_0x534303(0x1a9)][_0x534303(0x273)](this));const _0x5efd3d=this[_0x534303(0x1cf)][_0x534303(0x141)](_0x534303(0x103));_0x5efd3d&&(_0x5efd3d['removeEventListener'](_0x534303(0x245),this[_0x534303(0x109)][_0x534303(0x273)](this)),_0x5efd3d[_0x534303(0x1b4)](_0x534303(0x13e),this['handleUnitContainerMouseOut']['bind'](this)));}[_0x150759(0x109)](){const _0x23c7f4=_0x150759,_0x2398a8=this['shadowRoot']['querySelector'](_0x23c7f4(0x127));_0x2398a8&&(this[_0x23c7f4(0x10d)]=setTimeout(()=>{const _0x633f09=_0x23c7f4;_0x2398a8[_0x633f09(0x173)][_0x633f09(0x116)]=_0x633f09(0x238);},0x3e8));}[_0x150759(0x136)](){const _0x1a46ab=_0x150759,_0xee33dd=this[_0x1a46ab(0x1cf)]['querySelector']('.tooltip');_0xee33dd&&(setTimeout(()=>{const _0x418d22=_0x1a46ab;_0xee33dd['style']['display']=_0x418d22(0x1ff);},0x7d0),clearTimeout(this[_0x1a46ab(0x10d)]));}}typeof window<'u'&&(customElements['get'](_0x150759(0x1e4))||customElements[_0x150759(0x195)](_0x150759(0x1e4),P),customElements[_0x150759(0x167)]('uc-qty')||customElements[_0x150759(0x195)]('uc-qty',class extends P{}));function _0x370f(_0x5be6c9,_0x1ab894){const _0x15cd61=_0x15cd();return _0x370f=function(_0x370f58,_0x189df3){_0x370f58=_0x370f58-0xe1;let _0x318352=_0x15cd61[_0x370f58];return _0x318352;},_0x370f(_0x5be6c9,_0x1ab894);}export{P as PhysicalQuantity,P as default};
|
|
1
|
+
const _0x263b8b=_0x4ebc;(function(_0x39b7d1,_0x58432f){const _0x5aa91f=_0x4ebc,_0x1e98f1=_0x39b7d1();while(!![]){try{const _0x5ee331=-parseInt(_0x5aa91f(0x206))/0x1*(parseInt(_0x5aa91f(0x263))/0x2)+-parseInt(_0x5aa91f(0x265))/0x3*(parseInt(_0x5aa91f(0x386))/0x4)+parseInt(_0x5aa91f(0x30f))/0x5+parseInt(_0x5aa91f(0x362))/0x6+-parseInt(_0x5aa91f(0x2cc))/0x7*(-parseInt(_0x5aa91f(0x1d0))/0x8)+parseInt(_0x5aa91f(0x298))/0x9*(parseInt(_0x5aa91f(0x2de))/0xa)+parseInt(_0x5aa91f(0x296))/0xb*(-parseInt(_0x5aa91f(0x1f9))/0xc);if(_0x5ee331===_0x58432f)break;else _0x1e98f1['push'](_0x1e98f1['shift']());}catch(_0xb20d9d){_0x1e98f1['push'](_0x1e98f1['shift']());}}}(_0x2c2a,0xb3918));const o=0.45359237,r=9.80665,v=0x14a0,l=25.4/0x3e8,n=0xc*l,W=0x73c,V=0x42*0x294,d=4.54609,p=0xe7,I=268.8025,g=0x1/0x8,F=0x1/0x14,G=0x1/0x10,_=0x8,B=0x8,q=0x1/0x10,z=0xf0,K=0xfa,Q=0xa,T=14.59390294,M=1055.05585262,w=4.1868,f=4.184,R=0x226*o*r*n,N=0x18bcd,$=0x1/0x2f8,y=133.322387415,j=0x569e4c0a22d73800,U={'Length':['m','nano[nm]','µm',_0x263b8b(0x395),'mm','cm','dm','km','in',_0x263b8b(0x365),_0x263b8b(0x2c2),'ft','yd',_0x263b8b(0x2a7),_0x263b8b(0x2fa)],'Mass':['kg','g','mg','µg','oz','lbm','slug',_0x263b8b(0x208),_0x263b8b(0x1f3),_0x263b8b(0x2a5)],'Time':[_0x263b8b(0x2f8),'s',_0x263b8b(0x3b6),'h',_0x263b8b(0x338),_0x263b8b(0x217),_0x263b8b(0x385)],'ElectricalCurrent':['A',_0x263b8b(0x322),'mA','µA','kA','MA',_0x263b8b(0x1e9)],'Temperature':['°K','°C','°F',_0x263b8b(0x399)],'Amount\x20of\x20Substance':[_0x263b8b(0x1ea),_0x263b8b(0x38f),'kmol'],'Luminous\x20Intensity':[_0x263b8b(0x2d2),'lm/sr','cp[candlepower]',_0x263b8b(0x1ee)],'Acceleration':[_0x263b8b(0x2ab),'m/min²',_0x263b8b(0x1e4),_0x263b8b(0x1d1),'ft/min²','in/s²'],'Gravitational\x20Constant':[_0x263b8b(0x390),_0x263b8b(0x389),_0x263b8b(0x209)],'Velocity\x20(Angular)':['rad/s',_0x263b8b(0x2ac),_0x263b8b(0x268),_0x263b8b(0x3a7),_0x263b8b(0x388),_0x263b8b(0x1fd),'rpm[rev/min]',_0x263b8b(0x331)],'Acceleration\x20(Angular)':[_0x263b8b(0x1ec),_0x263b8b(0x271),_0x263b8b(0x364),_0x263b8b(0x391)],'Illuminance':['lux','lumen/m²','lm/m²',_0x263b8b(0x22d),'phot',_0x263b8b(0x23b),'fc',_0x263b8b(0x1ff),_0x263b8b(0x1e2)],'Frequency':['Hz',_0x263b8b(0x2f1),_0x263b8b(0x22e),_0x263b8b(0x32b),_0x263b8b(0x335),_0x263b8b(0x341),_0x263b8b(0x211),_0x263b8b(0x24c),_0x263b8b(0x222)],'Area':['m²',_0x263b8b(0x1e7),_0x263b8b(0x2ce),_0x263b8b(0x226),_0x263b8b(0x370),_0x263b8b(0x34f),_0x263b8b(0x394),_0x263b8b(0x2a1),_0x263b8b(0x266),_0x263b8b(0x33b),_0x263b8b(0x213)],'Volume\x20/\x20Section\x20Modulus':['m³',_0x263b8b(0x1c4),_0x263b8b(0x224),'cm³','L','mL',_0x263b8b(0x255),_0x263b8b(0x1de),'ft³',_0x263b8b(0x348),_0x263b8b(0x1fe),_0x263b8b(0x2f2),_0x263b8b(0x1c8),'pint(UK-imperial)','pint(US-liquid)',_0x263b8b(0x2e3),_0x263b8b(0x28e),_0x263b8b(0x2e0),_0x263b8b(0x305),_0x263b8b(0x3a1),_0x263b8b(0x1f4),_0x263b8b(0x371),_0x263b8b(0x2ba),_0x263b8b(0x228)],'Polar\x20Moment\x20of\x20Inertia':['m⁴','mm⁴',_0x263b8b(0x2e1),_0x263b8b(0x1cc),_0x263b8b(0x363)],'Moment\x20of\x20Inertia':['kg⋅m²',_0x263b8b(0x294),'g⋅mm²',_0x263b8b(0x2fc),_0x263b8b(0x32e),_0x263b8b(0x3ae)],'Force':['N','kN','MN',_0x263b8b(0x231),'lb',_0x263b8b(0x372),_0x263b8b(0x2a0)],'Angle':['radian',_0x263b8b(0x3b3),'deg°',_0x263b8b(0x2fe)],'Solid\x20Angle':['sr[steradian]',_0x263b8b(0x30c)],'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':['kg/m²',_0x263b8b(0x38b),_0x263b8b(0x34d),_0x263b8b(0x25a),_0x263b8b(0x278),_0x263b8b(0x327),_0x263b8b(0x1f5),_0x263b8b(0x29f),_0x263b8b(0x35c),_0x263b8b(0x25b)],'Density':[_0x263b8b(0x313),'kg/L',_0x263b8b(0x233),_0x263b8b(0x26e),'lbm/ft³',_0x263b8b(0x3a3)],'Energy':['J[Joule]','kJ','MJ','GJ',_0x263b8b(0x2c4),_0x263b8b(0x3b4),_0x263b8b(0x2be),'calorie(IT)','kilo-calorie(IT)',_0x263b8b(0x1d4),_0x263b8b(0x36f),_0x263b8b(0x2bc),'Wh',_0x263b8b(0x2e4),'eV[electron-volt]'],'Power':[_0x263b8b(0x299),'kW','MW',_0x263b8b(0x1cb),'Btu/h',_0x263b8b(0x26a),_0x263b8b(0x321),_0x263b8b(0x343),_0x263b8b(0x22b),_0x263b8b(0x349),'calorie(TH)/second',_0x263b8b(0x396),_0x263b8b(0x28d),_0x263b8b(0x2b8),_0x263b8b(0x1d3),'HP','J/second',_0x263b8b(0x3b5),_0x263b8b(0x28c),_0x263b8b(0x269),'kJ/minute'],'Torque,\x20Moment\x20of\x20Force':['Nm',_0x263b8b(0x3a2),'lb-in',_0x263b8b(0x1be),_0x263b8b(0x24e),_0x263b8b(0x33f),'oz-ft'],'Pressure/Stress':['Pa',_0x263b8b(0x27a),'MPa',_0x263b8b(0x1c3),_0x263b8b(0x273),_0x263b8b(0x290),_0x263b8b(0x24d),_0x263b8b(0x328),'cm\x20HG',_0x263b8b(0x247),_0x263b8b(0x36c),_0x263b8b(0x2fb),_0x263b8b(0x373),'psf','psi',_0x263b8b(0x3ad),_0x263b8b(0x32d)],'Pressure\x20Drop\x20per\x20Unit\x20Length':[_0x263b8b(0x1e5),_0x263b8b(0x27c),_0x263b8b(0x295),_0x263b8b(0x342),'bar/m',_0x263b8b(0x2f9),_0x263b8b(0x1c2),'mm\x20HG/m',_0x263b8b(0x1fb),_0x263b8b(0x237),_0x263b8b(0x274),_0x263b8b(0x1bf),_0x263b8b(0x2d9),_0x263b8b(0x359),_0x263b8b(0x31c),'ksi/ft',_0x263b8b(0x249),'mTorr/m'],'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':[_0x263b8b(0x30a),_0x263b8b(0x38a),_0x263b8b(0x374),_0x263b8b(0x3a6),_0x263b8b(0x29a),_0x263b8b(0x28b)],'Stiffness\x20of\x20Rotary\x20Spring':[_0x263b8b(0x2f3),_0x263b8b(0x318),_0x263b8b(0x37d),_0x263b8b(0x39f),_0x263b8b(0x2b3),_0x263b8b(0x292),_0x263b8b(0x2bf),'lb-in/deg°'],'Flow\x20Rate\x20(Volume)':[_0x263b8b(0x2dd),_0x263b8b(0x207),_0x263b8b(0x200),_0x263b8b(0x21e),_0x263b8b(0x283),'L/h','cm³/s',_0x263b8b(0x25c),_0x263b8b(0x2df),_0x263b8b(0x316),'ft³/s',_0x263b8b(0x39e),_0x263b8b(0x29d),'CFH',_0x263b8b(0x25d),_0x263b8b(0x2c9),'yd³/h',_0x263b8b(0x1cf),_0x263b8b(0x37c),'bushel(UK-imperial)/h',_0x263b8b(0x3b9)],'Flow\x20Rate\x20(Mass)':[_0x263b8b(0x1d5),_0x263b8b(0x344),_0x263b8b(0x33d),'g/s','g/min',_0x263b8b(0x354),_0x263b8b(0x393),'slug/min',_0x263b8b(0x340),_0x263b8b(0x315),_0x263b8b(0x1bc),'lbm/h',_0x263b8b(0x38c),_0x263b8b(0x2f6),_0x263b8b(0x2f7),_0x263b8b(0x309),_0x263b8b(0x29e),_0x263b8b(0x31d)],'Speed\x20/\x20Velocity\x20(Linear)':['m/s',_0x263b8b(0x215),_0x263b8b(0x280),_0x263b8b(0x333),_0x263b8b(0x39a),_0x263b8b(0x31f),_0x263b8b(0x1ef),_0x263b8b(0x205),'km/h',_0x263b8b(0x1c7),_0x263b8b(0x3ab),_0x263b8b(0x308),_0x263b8b(0x345),'fpm[ft/minute]',_0x263b8b(0x270),_0x263b8b(0x210)],'Fuel\x20Heat\x20Value\x20(Volume)':['J/m³',_0x263b8b(0x248),_0x263b8b(0x332),_0x263b8b(0x36d),_0x263b8b(0x29b),'GJ/m³','cal(IT)/L',_0x263b8b(0x1f8),_0x263b8b(0x375),_0x263b8b(0x1ce),_0x263b8b(0x21d),_0x263b8b(0x250),'kWh/m³',_0x263b8b(0x227),_0x263b8b(0x32f),_0x263b8b(0x1e1),_0x263b8b(0x257)],'Fuel\x20Heat\x20Value\x20(Mass)':['J/kg','J/g','kJ/kg','MJ/kg',_0x263b8b(0x243),_0x263b8b(0x2a2),_0x263b8b(0x2dc),'cal(TH)/g','kcal(TH)/kg',_0x263b8b(0x378),_0x263b8b(0x2e9),_0x263b8b(0x1fc),_0x263b8b(0x23c),_0x263b8b(0x286),_0x263b8b(0x238),_0x263b8b(0x1eb)],'Mass\x20Heat\x20Capacity':[_0x263b8b(0x32c),'J/(kg·°C)','J/(g·°K)',_0x263b8b(0x2ea),'Btu/(lbm·°F)'],'Viscosity\x20-\x20Absolute/Dynamic(μ)':[_0x263b8b(0x2aa),'N·s/m²',_0x263b8b(0x2b6),_0x263b8b(0x3b0),'cP',_0x263b8b(0x398),'lbm/ft/s'],'Viscosity\x20-\x20Kinematic':[_0x263b8b(0x27e),'m²/min','m²/hr',_0x263b8b(0x339),_0x263b8b(0x35f),_0x263b8b(0x2a3),_0x263b8b(0x2ef),'cSt[mm²/s]',_0x263b8b(0x23d),_0x263b8b(0x34a),_0x263b8b(0x2c8),_0x263b8b(0x2f5),_0x263b8b(0x20d),_0x263b8b(0x229),_0x263b8b(0x1da),_0x263b8b(0x387)],'Linear\x20Thermal\x20Expansion\x20Coefficient':['1/°K','1/°C','1/°F',_0x263b8b(0x21c)],'Thermal\x20Conductivity':[_0x263b8b(0x2fd),_0x263b8b(0x2a8),_0x263b8b(0x384),_0x263b8b(0x27d)],'Electrical\x20Charge':[_0x263b8b(0x1c6),'Ah',_0x263b8b(0x272),'mAh',_0x263b8b(0x24b),'faraday'],'Electrical\x20Potential\x20Difference\x20(Voltage)':['V','Volt',_0x263b8b(0x22c),_0x263b8b(0x30d),'µV','mV','kV','MV'],'Electrical\x20Resistance(Impedance)':['Ω[Ohm]','µΩ','mΩ','kΩ','MΩ'],'Electrical\x20Capacitance':['F[farad]','pF','nF','µF','mF'],'Electrical\x20Inductance':[_0x263b8b(0x259),'µH','mH'],'Electrical\x20Conductance':[_0x263b8b(0x1d2),'℧','µS','mS','kS'],'Magnetic\x20Flux':[_0x263b8b(0x352),_0x263b8b(0x379),_0x263b8b(0x2db),_0x263b8b(0x34c),_0x263b8b(0x21b),_0x263b8b(0x23e)],'Luminous\x20Flux':['lm[lumen]',_0x263b8b(0x1d9)],'Magnetic\x20Flux\x20Density':[_0x263b8b(0x353),_0x263b8b(0x36e),'µT','G','mT'],'Katalytic\x20Activity':['kat[katal]',_0x263b8b(0x2b9),'µkat','mkat',_0x263b8b(0x201),_0x263b8b(0x2ae)],'Radioactivity':[_0x263b8b(0x30b),_0x263b8b(0x2f1),_0x263b8b(0x304),_0x263b8b(0x376),_0x263b8b(0x351),_0x263b8b(0x34e),_0x263b8b(0x2d1),_0x263b8b(0x20f)],'Absorbed\x20Dose\x20of\x20Ionizing\x20Radiation':['Gy[gray]',_0x263b8b(0x33c),'µGy',_0x263b8b(0x301),'kGy','MGy'],'Equivalent\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x263b8b(0x2cb),_0x263b8b(0x33c),'µSv',_0x263b8b(0x33a),_0x263b8b(0x264),_0x263b8b(0x39b)],'Volumetric\x20Displacement':[_0x263b8b(0x26b),_0x263b8b(0x39d),_0x263b8b(0x326),_0x263b8b(0x1f7),_0x263b8b(0x236),'in³/rev',_0x263b8b(0x317)],'Fuel\x20Economy':['km/L',_0x263b8b(0x35e),_0x263b8b(0x336),_0x263b8b(0x2e7),_0x263b8b(0x252),'mile/L'],'Fuel\x20Consumption':[_0x263b8b(0x2d3),'L/km','L/100km',_0x263b8b(0x25f),_0x263b8b(0x369),_0x263b8b(0x3ac),_0x263b8b(0x366),_0x263b8b(0x24a),_0x263b8b(0x39c)],'New\x20Energy\x20Economy\x20(MPGe)':[_0x263b8b(0x2f4),_0x263b8b(0x303),_0x263b8b(0x1e6),_0x263b8b(0x27f),_0x263b8b(0x1fa),_0x263b8b(0x307),'mile/MM\x20Btu'],'New\x20Energy\x20Consumption':[_0x263b8b(0x293),_0x263b8b(0x314),'Wh/mile','kWh/km',_0x263b8b(0x3a8),'kWh/mile',_0x263b8b(0x285),_0x263b8b(0x30e),'MJ/100km','MJ/mile',_0x263b8b(0x1dc),'MM\x20Btu/km',_0x263b8b(0x324),_0x263b8b(0x1cd),_0x263b8b(0x23a)],'Baud\x20Rate':['bit/s','Bd',_0x263b8b(0x311),_0x263b8b(0x3aa),_0x263b8b(0x2b7)],'Currency':['$','¢','$1K',_0x263b8b(0x2da),_0x263b8b(0x3a4),_0x263b8b(0x288)],'Impulse\x20/\x20Momentum':['N·s',_0x263b8b(0x302),_0x263b8b(0x37f),_0x263b8b(0x368),_0x263b8b(0x1e3),_0x263b8b(0x300)],'Digital\x20Storage':[_0x263b8b(0x202),_0x263b8b(0x37b),_0x263b8b(0x22f),'megabit','mebibit',_0x263b8b(0x2d7),_0x263b8b(0x358),'terabit','tebibit',_0x263b8b(0x367),'pebibit','byte',_0x263b8b(0x2cd),_0x263b8b(0x2d5),_0x263b8b(0x232),_0x263b8b(0x1c0),_0x263b8b(0x2d4),_0x263b8b(0x26c),_0x263b8b(0x35b),'tebibyte',_0x263b8b(0x357),_0x263b8b(0x31a)],'Data\x20Transfer\x20Rate':['bit/s',_0x263b8b(0x256),_0x263b8b(0x239),_0x263b8b(0x235),_0x263b8b(0x251),_0x263b8b(0x21f),_0x263b8b(0x3a5),_0x263b8b(0x1d8),_0x263b8b(0x297),'petabit/s',_0x263b8b(0x1df)]},b={'Length':{'m':0x1,'nano[nm]':0x1/0x3b9aca00,'µm':0x1/0xf4240,'micron':0x1/0xf4240,'mm':0x1/0x3e8,'cm':0.01,'dm':0.1,'km':0x3e8,'in':l,'thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]':l/0x3e8,'ft-in':l,'ft':n,'yd':0x3*n,'mile':v*n,'NM[M,\x20nmi,\x20or\x20nautical\x20mile]':W},'Mass':{'kg':0x1,'g':0.001,'mg':0x1/0xf4240,'µg':0x1/0x3b9aca00,'oz':0x1/0x10*o,'lbm':o,'slug':T,'ton(US/short)':0x7d0*o,'ton(UK-Imperial/long)':0x8c0*o,'tonne':0x3e8},'Time':{'s[second]':0x1,'s':0x1,'minute':0x3c,'h':0xe10,'h[hour]':0xe10,'day':0xe10*0x18,'week':0xe10*0x18*0x7},'ElectricalCurrent':{'A':0x1,'Ampere[amp]':0x1,'mA':0.001,'µA':0.000001,'kA':0x3e8,'MA':0xf4240,'esu/s':0x1/0xb2d05e00},'Temperature':{'°K':{'c0':0x1,'c1':0x0},'°C':{'c0':0x1,'c1':273.15},'°F':{'c0':0x5/0x9,'c1':255.3722222},'°Ra':{'c0':0x5/0x9,'c1':0x0}},'Amount\x20of\x20Substance':{'mol':0x1,'mmol':0.001,'kmol':0x3e8},'Luminous\x20Intensity':{'cd[candela]':0x1,'lm/sr':0x1,'cp[candlepower]':0x1,'cp[candlepower(before\x201948)]':0.981},'Acceleration':{'m/s²':0x1,'m/min²':0x1/0xe10,'mm/s²':0.001,'ft/s²':n,'ft/min²':n/0xe10,'in/s²':l},'Gravitational\x20Constant':{'m³/kg/s²':0x1,'N⋅m²/kg²':0x1,'dyn⋅cm²/g²':0x3e8},'Velocity\x20(Angular)':{'rad/s':0x1,'rad/min':0x1/0x3c,'rad/h':0x1/0xe10,'deg°/s':Math['PI']/0xb4,'deg°/min':Math['PI']/0xb4/0x3c,'deg°/h':Math['PI']/0xb4/0xe10,'rpm[rev/min]':0x2*Math['PI']/0x3c,'rev/s':0x2*Math['PI']},'Acceleration\x20(Angular)':{'rad/s²':0x1,'rad/min²':0x1/0xe10,'deg°/s²':Math['PI']/0xb4,'deg°/min²':Math['PI']/0xb4/0xe10},'Illuminance':{'lux':0x1,'lumen/m²':0x1,'lm/m²':0x1,'meter-candle':0x1,'phot':0x2710,'foot-candle':0x1/Math['pow'](n,0x2),'fc':0x1/Math[_0x263b8b(0x275)](n,0x2),'lumen/ft²':0x1/Math[_0x263b8b(0x275)](n,0x2),'lm/ft²':0x1/Math[_0x263b8b(0x275)](n,0x2)},'Frequency':{'Hz':0x1,'1/s':0x1,'1/min':0x1/0x3c,'rpm':0x1/0x3c,'1/hour':0x1/0xe10,'mHz':0x1/0x3e8,'kHz':0x3e8,'MHz':0xf4240,'GHz':0x3b9aca00},'Area':{'m²':0x1,'µm²':Math[_0x263b8b(0x275)](0x1/0xf4240,0x2),'mm²':Math['pow'](0x1/0x3e8,0x2),'cm²':Math[_0x263b8b(0x275)](0x1/0x64,0x2),'km²':0xf4240,'hectare':Math['pow'](0x64,0x2),'in²':Math[_0x263b8b(0x275)](l,0x2),'ft²':Math[_0x263b8b(0x275)](n,0x2),'yd²':Math[_0x263b8b(0x275)](n*0x3,0x2),'acre':V*Math['pow'](n,0x2),'mile²':Math[_0x263b8b(0x275)](v*n,0x2)},'Volume\x20/\x20Section\x20Modulus':{'m³':0x1,'µm³':Math[_0x263b8b(0x275)](0x1/0xf4240,0x3),'mm³':Math[_0x263b8b(0x275)](0x1/0x3e8,0x3),'cm³':Math[_0x263b8b(0x275)](0x1/0x64,0x3),'L':0x1/0x3e8,'mL':0x1/0xf4240,'km³':Math[_0x263b8b(0x275)](0x3e8,0x3),'in³':Math[_0x263b8b(0x275)](l,0x3),'ft³':Math[_0x263b8b(0x275)](n,0x3),'yd³':Math[_0x263b8b(0x275)](n*0x3,0x3),'gal(UK-imperial)':d*0x1/0x3e8,'gal(US-liquid)':p*Math[_0x263b8b(0x275)](l,0x3),'gal(US-dry)':I*Math[_0x263b8b(0x275)](l,0x3),'pint(UK-imperial)':g*d*0x1/0x3e8,'pint(US-liquid)':g*p*Math['pow'](l,0x3),'pint(US-dry)':g*I*Math[_0x263b8b(0x275)](l,0x3),'fluid\x20ounce(UK-imperial)':F*g*d/0x3e8,'fluid\x20ounce(US-liquid)':G*g*p*Math['pow'](l,0x3),'bushel(UK-imperial)':_*d/0x3e8,'bushel(US-dry)':B*I*Math[_0x263b8b(0x275)](l,0x3),'cup(US-liquid)':q*p*Math[_0x263b8b(0x275)](l,0x3),'cup(Legal)':z*Math[_0x263b8b(0x275)](0.01,0x3),'cup(Metric)':K*Math[_0x263b8b(0x275)](0.01,0x3),'cup(Imperial)':Q*F*g*d/0x3e8},'Polar\x20Moment\x20of\x20Inertia':{'m⁴':0x1,'mm⁴':1e-12,'cm⁴':1e-8,'in⁴':Math[_0x263b8b(0x275)](l,0x4),'ft⁴':Math[_0x263b8b(0x275)](n,0x4)},'Moment\x20of\x20Inertia':{'kg⋅m²':0x1,'g⋅cm²':0x1/(0x3e8*0x2710),'g⋅mm²':0x1/(0x3e8*0xf4240),'lbm⋅ft²':o*Math[_0x263b8b(0x275)](n,0x2),'lbm⋅in²':o*Math[_0x263b8b(0x275)](l,0x2),'oz⋅in²':o/0x10*Math['pow'](l,0x2)},'Force':{'N':0x1,'kN':0x3e8,'MN':0xf4240,'kgf':r,'lb':o*r,'lbf':o*r,'kip[kilo\x20pound]':0x3e8*o*r},'Angle':{'radian':0x1,'rad':0x1,'deg°':Math['PI']/0xb4,'revolution':Math['PI']*0x2},'Solid\x20Angle':{'sr[steradian]':0x1,'m²/m²':0x1},'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':{'kg/m²':0x1,'g/cm²':0x1/0x3e8/Math[_0x263b8b(0x275)](0.01,0x2),'g/mm²':0x1/0x3e8/Math[_0x263b8b(0x275)](0.001,0x2),'tonne/m²':0x3e8,'lbm/yd²':o/Math[_0x263b8b(0x275)](n*0x3,0x2),'lbm/ft²':o/Math[_0x263b8b(0x275)](n,0x2),'lbm/in²':o/Math[_0x263b8b(0x275)](l,0x2),'oz/yd²':o/0x10/Math['pow'](0x3*n,0x2),'oz/ft²':o/0x10/Math[_0x263b8b(0x275)](n,0x2),'oz/in²':o/0x10/Math[_0x263b8b(0x275)](l,0x2)},'Density':{'kg/m³':0x1,'kg/L':0x3e8,'g/cm³':0x1/0x3e8/Math[_0x263b8b(0x275)](0.01,0x3),'g/mm³':0x1/0x3e8/Math[_0x263b8b(0x275)](0.001,0x3),'lbm/ft³':o/Math[_0x263b8b(0x275)](n,0x3),'lbm/in³':o/Math[_0x263b8b(0x275)](l,0x3)},'Energy':{'J[Joule]':0x1,'kJ':0x3e8,'MJ':0xf4240,'GJ':0x3b9aca00,'TNT\x20Equivalent[kiloton]':0x3b9aca00*f,'Btu':M,'MM\x20Btu':M*0xf4240,'calorie(IT)':w,'kilo-calorie(IT)':w*0x3e8,'calorie(TH)':f,'kilo-calorie(TH)':f*0x3e8,'HP\x20Hour':R*0xe10,'Wh':0xe10,'kWh':0xe10*0x3e8,'eV{electron-volt]':0x1/j},'Power':{'W[watt]':0x1,'kW':0x3e8,'MW':0xf4240,'GW[Gigawatt]':0x3b9aca00,'Btu/h':M/0xe10,'Btu/minute':M/0x3c,'MM\x20Btu/h':M*0xf4240/0xe10,'calorie(IT)/second':w,'calorie(IT)/minute':w/0x3c,'kilo-calorie(IT)/hour':w*0x3e8/0xe10,'calorie(TH)/second':f,'calorie(TH)/minute':f/0x3c,'kilo-calorie(TH)/hour':f*0x3e8/0xe10,'lb-ft/second':o*r*n,'lb-ft/minute':o*r*n/0x3c,'HP':R,'J/second':0x1,'J/minute':0x1/0x3c,'J/h':0x1/0xe10,'MJ/h':0xf4240/0xe10,'kJ/minute':0x3e8/0x3c},'Torque,\x20Moment\x20of\x20Force':{'Nm':0x1,'kNm':0x3e8,'lb-in':o*r*l,'kip-in':0x3e8*o*r*l,'lb-ft':o*r*n,'oz-in':o/0x10*r*l,'oz-ft':o/0x10*r*n},'Pressure/Stress':{'Pa':0x1,'kPa':0x3e8,'MPa':0xf4240,'GPa':0x3b9aca00,'bar':0x64*0x3e8,'mbar':0x64,'atm':N,'mm\x20HG':y,'cm\x20HG':y*0xa,'in\x20HG':y*25.4,'mm\x20W.C.':0x1/0x3e8*0x3e8*r,'m\x20W.C.':0x1*0x3e8*r,'in\x20W.C.':l*0x3e8*r,'psf':o*r/Math[_0x263b8b(0x275)](n,0x2),'psi':o*r/Math['pow'](l,0x2),'ksi':o*r/Math['pow'](l,0x2)*0x3e8,'ksi{kip/in²]':o*r/Math['pow'](l,0x2)*0x3e8},'Pressure\x20Drop\x20per\x20Unit\x20Length':{'Pa/m':0x1,'Pascal/m':0x1,'kPa/m':0x3e8,'MPa/km':0xf4240/0x3e8,'bar/m':0x186a0,'mbar/mm':0x64*0x3e8,'atm/m':N,'mm\x20HG/m':y,'in\x20HG/ft':y*25.4/n,'mm\x20W.C./m':0x1/0x3e8*0x3e8*r,'m\x20W.C./m':0x3e8*r,'in\x20W.C./ft':l*0x3e8*r/n,'in\x20W.C./100\x20ft':l*0x3e8*r/n/0x64,'psf/in':o*r/Math[_0x263b8b(0x275)](n,0x2)/l,'psi/ft':o*r/Math[_0x263b8b(0x275)](n,0x2)/n,'ksi/ft':o*r/Math[_0x263b8b(0x275)](n,0x2)/n*0x3e8,'Torr/ft':$*N/n,'mTorr/m':$*N/0x3e8},'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':{'N/m':0x1,'N/mm':0x3e8,'kN/m':0x3e8,'lb/ft':o*r/n,'kips/ft':0x3e8*o*r/n,'lb/in':o*r/l},'Stiffness\x20of\x20Rotary\x20Spring':{'N⋅m/rad':0x1,'N⋅m/deg°':0x1/Math['PI']*0xb4,'N⋅mm/rad':0x1/0x3e8,'N⋅mm/deg°':0x1/0x3e8/Math['PI']*0xb4,'lb-ft/rad':o*r*n,'lb-ft/deg°':o*r*n/(Math['PI']/0xb4),'lb-in/rad':o*r*l,'lb-in/deg°':o*r*l/(Math['PI']/0xb4)},'Flow\x20Rate\x20(Volume)':{'m³/s':0x1,'m³/min':0x1/0x3c,'m³/h':0x1/0xe10,'L/s':0x1/0x3e8,'L/min':0x1/0x3e8/0x3c,'L/h':0x1/0x3e8/0xe10,'cm³/s':0.000001,'cm³/min':0.000001/0x3c,'in³/s':Math[_0x263b8b(0x275)](l,0x3),'in³/min':Math[_0x263b8b(0x275)](l,0x3)/0x3c,'ft³/s':Math[_0x263b8b(0x275)](n,0x3),'CFM':Math[_0x263b8b(0x275)](n,0x3)/0x3c,'CFM[ft³/min]':Math['pow'](n,0x3)/0x3c,'CFH':Math[_0x263b8b(0x275)](n,0x3)/0xe10,'CFH[ft³/h]':Math['pow'](n,0x3)/0xe10,'yd³/min':Math['pow'](n*0x3,0x3)/0x3c,'yd³/h':Math[_0x263b8b(0x275)](n*0x3,0x3)/0xe10,'gpm(US)':p*Math[_0x263b8b(0x275)](l,0x3)/0x3c,'gph(US)':p*Math[_0x263b8b(0x275)](l,0x3)/0xe10,'bushel(UK-imperial)/h':_*d/0x3e8/0xe10,'bushel(US)/h':B*I*Math['pow'](l,0x3)/0xe10},'Flow\x20Rate\x20(Mass)':{'kg/s':0x1,'kg/min':0x1/0x3c,'kg/h':0x1/0xe10,'g/s':0x1/0x3e8,'g/min':0x1/0x3e8/0x3c,'g/h':0x1/0x3e8/0xe10,'slug/s':T,'slug/min':T/0x3c,'slug/h':T/0xe10,'lbm/s':o,'lbm/min':o/0x3c,'lbm/h':o/0xe10,'oz/s':o/0x10,'oz/min':o/0x10/0x3c,'oz/h':o/0x10/0xe10,'tonne/h':0x3e8/0xe10,'short\x20ton/h':0x7d0*o/0xe10,'long\x20ton/h':0x8c0*o/0xe10},'Speed\x20/\x20Velocity\x20(Linear)':{'m/s':0x1,'mm/s':0x1/0x3e8,'km/s':0x1,'mm/min':0x1/0x3e8/0x3c,'m/min':0x1/0x3c,'km/min':0x3e8/0x3c,'mm/h':0x1/0x3e8/0xe10,'m/h':0x1/0xe10,'km/h':0x3e8/0xe10,'in/s':l,'fps':n,'fps[ft/second]':n,'fpm':n/0x3c,'fpm[ft/minute]':n/0x3c,'mph[mile/h]':v*n/0xe10,'knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]':W/0xe10},'Electrical\x20Potential\x20Difference\x20(Voltage)':{'V':0x1,'Volt':0x1,'joule/coulomb':0x1,'J/C':0x1,'µV':0x1/0xf4240,'mV':0x1/0x3e8,'kV':0x3e8,'MV':0xf4240}},k=_0x1578fc=>{const _0x30c3c8=_0x263b8b;if(console['log']('getUnitCategory\x20called\x20with\x20unit:',_0x1578fc),!_0x1578fc)return console[_0x30c3c8(0x22a)](_0x30c3c8(0x2b1)),'Custom';for(const _0x42b297 in U)if(U[_0x42b297][_0x30c3c8(0x2a9)](_0x1578fc))return console[_0x30c3c8(0x214)](_0x30c3c8(0x34b)+_0x1578fc+':',_0x42b297),_0x42b297;return console[_0x30c3c8(0x22a)](_0x30c3c8(0x35d)+_0x1578fc),_0x30c3c8(0x346);},u=(_0x5b2777,_0x49d57e,_0xf389dc,_0x35fcc7)=>{const _0x4a4481=_0x263b8b;if(_0x49d57e===_0x4a4481(0x365)&&_0xf389dc!==_0x4a4481(0x365))return Y(_0x5b2777,_0xf389dc);if(_0x49d57e!==_0x4a4481(0x365)&&_0xf389dc==='ft-in')return X(_0x5b2777,_0x49d57e);if(_0x35fcc7!=='Temperature'){const _0x5dfa80=b[_0x35fcc7][_0x49d57e]/b[_0x35fcc7][_0xf389dc];return _0x5b2777*_0x5dfa80;}else{const _0x14c4ee=b[_0x35fcc7][_0x49d57e]['c0'],_0x274f76=b[_0x35fcc7][_0x49d57e]['c1'],_0x3effbd=b[_0x35fcc7][_0xf389dc]['c0'],_0x2eee5e=b[_0x35fcc7][_0xf389dc]['c1'];return(_0x5b2777*_0x14c4ee+_0x274f76-_0x2eee5e)/_0x3effbd;}},O=(_0x132be9,_0x1719ed)=>{const _0x53942b=_0x263b8b;let _0x231eb8;if(Number[_0x53942b(0x282)](_0x132be9)?_0x231eb8=_0x132be9['toString']():_0x231eb8=_0x132be9['toFixed'](_0x1719ed)[_0x53942b(0x3a0)](/\.?0+$/,''),Math[_0x53942b(0x281)](parseFloat(_0x231eb8))>=0x3e8){const _0x18d45f=_0x231eb8[_0x53942b(0x26f)]('.');_0x18d45f[0x0]=_0x18d45f[0x0]['replace'](/\B(?=(\d{3})+(?!\d))/g,','),_0x231eb8=_0x18d45f[_0x53942b(0x323)]('.');}return _0x231eb8;},D=_0x441cc4=>{const _0xfc5d4c=_0x263b8b,_0x5ce41f=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,_0x2a0d00=/(\d+)\'/,_0x7d6215=/(\d+)/;let _0x2edae6=_0x441cc4[_0xfc5d4c(0x2d0)](_0x5ce41f);if(_0x2edae6){const _0x2130e7=parseInt(_0x2edae6[0x1])||0x0,_0x556498=parseInt(_0x2edae6[0x3])||0x0,_0xe2f2c1=parseInt(_0x2edae6[0x5])||0x0,_0x5005b9=parseInt(_0x2edae6[0x6])||0x1;return H(_0x2130e7,_0x556498,_0xe2f2c1,_0x5005b9);}if(_0x2edae6=_0x441cc4[_0xfc5d4c(0x2d0)](_0x2a0d00),_0x2edae6){const _0x1473dd=parseInt(_0x2edae6[0x1])||0x0;return H(_0x1473dd,0x0,0x0,0x1);}if(_0x2edae6=_0x441cc4[_0xfc5d4c(0x2d0)](_0x7d6215),_0x2edae6){const _0x1820d4=parseInt(_0x2edae6[0x1])||0x0;return H(0x0,_0x1820d4,0x0,0x1);}return parseFloat(_0x441cc4);},H=(_0x3076d2,_0x2cf8a7,_0x34b840,_0x1d5c5f)=>_0x3076d2*0xc+_0x2cf8a7+_0x34b840/_0x1d5c5f,C=(_0x33eab4,_0x328fa8=_0x263b8b(0x3b8))=>{const _0x36a4e1=_0x263b8b;if(_0x33eab4<0x0)return'-'+C(-_0x33eab4,_0x328fa8);const _0x21f8e6=parseInt(_0x328fa8[_0x36a4e1(0x26f)]('/')[0x1][_0x36a4e1(0x3a0)]('\x22',''));let _0x8a8977=Math[_0x36a4e1(0x329)](_0x33eab4/0xc),_0x197020=Math[_0x36a4e1(0x329)](_0x33eab4%0xc);const _0x11ccdf=_0x33eab4-Math[_0x36a4e1(0x329)](_0x33eab4);let _0x15947e='';if(_0x11ccdf>0x0&&_0x328fa8!==0x0){let _0x5799f3=Math['round'](_0x11ccdf*_0x21f8e6);const _0x535bb0=(_0x202a6b,_0x3ecba6)=>_0x3ecba6?_0x535bb0(_0x3ecba6,_0x202a6b%_0x3ecba6):_0x202a6b,_0x29a308=_0x535bb0(_0x5799f3,_0x21f8e6);_0x15947e='\x20'+_0x5799f3/_0x29a308+'/'+_0x21f8e6/_0x29a308,_0x15947e[_0x36a4e1(0x1f6)]()==='1/1'&&(_0x197020++,_0x197020>=0xc&&(_0x8a8977++,_0x197020-=0xc),_0x15947e='');}let _0x212259='';return _0x8a8977>0x0&&(_0x212259+=_0x8a8977+'\x27'),_0x8a8977>0x0&&(_0x197020>0x0||_0x15947e!=='')&&(_0x212259+='-'),_0x197020>0x0&&(_0x212259+=''+_0x197020),_0x15947e!==''&&(_0x212259+=_0x15947e),(_0x197020>0x0||_0x15947e!=='')&&(_0x212259+='\x22'),_0x212259['trim']();},Y=(_0x36a8c3,_0x24a74e)=>{const _0x1bc328=_0x263b8b,_0x4e31fc=_0x36a8c3*0.0254;return u(_0x4e31fc,'m',_0x24a74e,_0x1bc328(0x360));},X=(_0x4b73e6,_0x477929)=>u(_0x4b73e6,_0x477929,'m',_0x263b8b(0x360))/0.0254;function _0x2c2a(){const _0x4f7d6b=['formatPairValue','mouseout','GJ/kg','new-component-1','createElement','position','in\x20HG','J/L','Torr/ft','gal(UK-imperial)/mile','e[electron]','MHz','atm','lb-ft','parseValue','Wh/m³','mebibit/s','mile/gal(UK-imperial)','comma','innerHTML','km³','kilobit/s','MM\x20Btu/ft³','define','H[henry]','tonne/m²','oz/in²','cm³/min','CFH[ft³/h]','attributeChangedCallback\x20called:\x20','L/mile','decimal-places','removeEventListeners','show-unit-arrow','110lDLwft','kSv','150nsHphg','yd²','updateUnitCategory','rad/h','MJ/h','Btu/minute','m³/rad','gibibyte','selected','g/mm³','split','mph[mile/h]','rad/min²','ampere-hour','bar','m\x20W.C./m','pow',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x20Custom\x20arrow\x20styles\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container::after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27▼\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.7em;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20right:\x200.3em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateX(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2012px;\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container:hover\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20underline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22value\x22>','<option\x20value=\x22','lbm/yd²',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20','kPa','.tooltip','Pascal/m','BTU/(h⋅in⋅°F)','m²/s','MPGe','km/s','abs','isInteger','L/min','uc-qty-triplet','kWh/100mile','Btu/lbm','click','$1T','tagName','visibility','lb/in','J/h','kilo-calorie(TH)/hour','fluid\x20ounce(UK-imperial)','shadowRoot','mbar','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22increment\x22>+</button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','lb-ft/deg°','J/m','g⋅cm²','kPa/m','11oUojbq','tebibit/s','9WsmeFy','W[watt]','kips/ft','MJ/m³','updateDropdownWidth','CFM[ft³/min]','short\x20ton/h','oz/yd²','kip[kilo\x20pound]','ft²','cal(IT)/g','cm²/min','</span>\x20x\x20','tonne','mouseover','mile','W/(cm⋅°K)','includes','PI[Pa·s]','m/s²','rad/min','select','Mkat','attachShadow','</span>\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','Unit\x20is\x20undefined\x20or\x20null','https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/shared%2Fassets%2Fimages%2Fe3d-logo2.png?alt=media&token=7064f466-6168-4b8a-b921-4e86115cb492','lb-ft/rad','bind','values','kg/m/s','GBd','lb-ft/second','mol/s','cup(Metric)','handleUnitContainerMouseOver','HP\x20Hour','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.value\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','MM\x20Btu','lb-in/rad','handleUnitContainerMouseOut','render','thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]','change','TNT\x20Equivalent[kiloton]','PhysicalQuantity\x20constructor\x20called','get','observedAttributes','ft²/s','yd³/min','removeEventListener','Sv[sievert]','7zvkzoX','kilobyte','mm²','whiteSpace','match','Rd[rutherford]','cd[candela]','m³/m','gigabyte','kibibyte','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','gigabit','handleUnitChange','in\x20W.C./100\x20ft','$1M','µWb','kcal(IT)/kg','m³/s','13431030dcwtwr','in³/s','fluid\x20ounce(US-liquid)','cm⁴','block','pint(US-dry)','kWh','Converted\x20value:','handleUnitChange:','mpg(UK)','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity-pair\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.values\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','Wh/kg','J/(g·°C)','display','SELECT','appendChild','textContent','cm²/hr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20','1/s','gal(US-liquid)','N⋅m/rad','m/J','ft²/min','oz/min','oz/h','s[second]','mbar/mm','NM[M,\x20nmi,\x20or\x20nautical\x20mile]','m\x20W.C.','lbm⋅ft²','W/(m⋅°K)','revolution','uc-qty-pair','lbm·fpm','mGy','Newton-second','km/kWh','µBq','bushel(UK-imperial)','updateCount','mile/kWh','fps[ft/second]','tonne/h','N/m','Bq[becquerel]','m²/m²','J/C','MJ/km','3131730lELcVs','max','kBd','Show\x20unit\x20arrow:','kg/m³','Wh/km','lbm/s','in³/min','gal(US-liquid)/rev','N⋅m/deg°','style','pebibyte',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/*\x20height:\x201.1em;\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select::-ms-expand\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20','psi/ft','long\x20ton/h','inputValue','km/min','>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MM\x20Btu/h','Ampere[amp]','join','MM\x20Btu/100km','open','L/rev','lbm/ft²','mm\x20HG','floor',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22quantity-triplet\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','rpm','J/(kg·°K)','ksi[kip/in²]','lbm⋅in²','Btu/gal(US)','e3dLogoUrl','rev/s','kJ/L','mm/min','Initial\x20inputValue:','1/hour','mile/gal(US-liquid)','Empty\x20string\x20value,\x20returning\x200','h[hour]','St[cm²/s]','mSv','acre','J/kg','kg/h','addEventListener','oz-in','slug/h','mHz','MPa/km','calorie(IT)/second','kg/min','fpm','Custom','getComputedStyle','yd³','kilo-calorie(IT)/hour','mm²/hr','Category\x20found\x20for\x20unit\x20','mWb','g/mm²','MBq','hectare','span','kBq','Wb[weber]','T[tesla]','g/h','parseValue\x20called\x20with:','count','petabyte','gibibit','psf/in','decimalPlaces','terabyte','oz/ft²','No\x20category\x20found\x20for\x20unit:\x20','mpg(US)','Stoke','Length','New\x20decimal\x20places:','7843278ScZzlV','ft⁴','deg°/s²','ft-in','gal(US-liquid)/100mile','petabit','kg·m/s','L/100mile','removeChild','body','mm\x20W.C.','kJ/m³','Wb/m²','kilo-calorie(TH)','km²','cup(Legal)','lbf','in\x20W.C.','kN/m','cal(TH)/L','mBq','Initial\x20unit:','Wh/g','nWb','string','kilobit','gph(US)','N⋅mm/rad','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22values\x22>','lb·s','\x20<span\x20class=\x22unit-text\x22>','hidden','auto','showUnitArrow','BTU/(h⋅ft⋅°F)','week','45388JqJMMX','in²/hr','deg°/min','N⋅m²/kg²','N/mm','g/cm²','oz/s','endsWith','tooltipTimeout','mmol','m³/kg/s²','deg°/min²',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity-pair\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22values\x22>(','slug/s','in²','micron','calorie(TH)/minute','</option>','lb·s/ft²','°Ra','m/min','MSv','gal(UK-imperial)/100mile','m³/rev','CFM','N⋅mm/deg°','replace','bushel(US-dry)','kNm','lbm/in³','$1B','gibibit/s','lb/ft','deg°/s','kWh/100km','.unit-container','MBd','fps','gal(US-liquid)/mile','ksi','oz⋅in²','none','P[Poise]','absolute','unitCategory','rad','Btu','J/minute','minute','value','1/16\x22','bushel(US)/h','lbm/min','Initial\x20state:','kip-in','in\x20W.C./ft','mebibyte','updateUnitCategory\x20called\x20with\x20unit:','atm/m','GPa','µm³','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x0a\x20\x20\x20\x20','C[coulomb]','in/s','gal(US-dry)','true','map','GW[Gigawatt]','in⁴','MM\x20Btu/mile','kcal(TH)/m³','gpm(US)','4814968WiwTNP','ft/s²','S[siemens]','lb-ft/minute','calorie(TH)','kg/s','startsWith','nowrap','terabit/s','cd⋅sr','in²/min','Unit\x20category\x20changed,\x20keeping\x20original\x20value','MJ/100mile','attachEventListeners','in³','pebibit/s','parseTripletValues','Btu/ft³','lm/ft²','lbm·fps','mm/s²','Pa/m','km/MJ','µm²','slice','esu/s','mol','Btu/ton(short)','rad/s²','hasAttribute','cp[candlepower(before\x201948)]','mm/h','attributeChangedCallback','width','font','ton(UK-Imperial/long)','cup(US-liquid)','lbm/in²','trim','cc/rev','kcal(IT)/m³','25339632IOnzel','mile/MJ','in\x20HG/ft','kWh/kg','deg°/h','gal(UK-imperial)','lumen/ft²','m³/h','kkat','bit','formatTriplet',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20','m/h','8437yKEAkl','m³/min','ton(US/short)','dyn⋅cm²/g²','.decrement','offsetWidth','format','ft²/hr','unit','Ci[curie]','knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]','kHz','formatTripletValue','mile²','log','mm/s','uc-qty','day','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity-triplet\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.values\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-text,\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container,\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','hasParentheses','.count','cWb','1/°Ra','Wh/L','L/s','gigabit/s','target','querySelector','GHz','\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</span>\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20','mm³','\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','cm²','HP\x20Hour/ft³','cup(Imperial)','in²/s','warn','calorie(IT)/minute','joule/coulomb','meter-candle','1/min','kibibit','space','kgf','megabyte','g/cm³','connectedCallback','megabit/s','ft³/rev','mm\x20W.C./m','MM\x20Btu/lbm','kibibit/s','MM\x20Btu/100mile','foot-candle','HP\x20Hour/lbm','mm²/min','dWb','getAttribute','decrement'];_0x2c2a=function(){return _0x4f7d6b;};return _0x2c2a();}class J extends HTMLElement{constructor(){const _0xcffd73=_0x263b8b;super(),this[_0xcffd73(0x2af)]({'mode':'open'}),this[_0xcffd73(0x38e)]=null,this[_0xcffd73(0x3b2)]='',this[_0xcffd73(0x330)]=_0xcffd73(0x2b2),this[_0xcffd73(0x20e)]='',this[_0xcffd73(0x3b7)]=0x0,console['log'](_0xcffd73(0x2c5));}[_0x263b8b(0x234)](){const _0x455ed6=_0x263b8b;console[_0x455ed6(0x214)]('connectedCallback\x20called'),this['unit']=this['getAttribute'](_0x455ed6(0x20e))||'mm',console['log'](_0x455ed6(0x377),this['unit']),this[_0x455ed6(0x267)](),this[_0x455ed6(0x31e)]=this[_0x455ed6(0x23f)]('value')||'0',console[_0x455ed6(0x214)](_0x455ed6(0x334),this[_0x455ed6(0x31e)]),this[_0x455ed6(0x3b7)]=this[_0x455ed6(0x24f)](this[_0x455ed6(0x31e)],this[_0x455ed6(0x20e)]),console[_0x455ed6(0x214)]('Parsed\x20value:',this['value']),this[_0x455ed6(0x35a)]=parseInt(this['getAttribute'](_0x455ed6(0x260)))||0x2,this[_0x455ed6(0x383)]=!this['hasAttribute'](_0x455ed6(0x262))||this[_0x455ed6(0x23f)]('show-unit-arrow')===_0x455ed6(0x1c9),console[_0x455ed6(0x214)](_0x455ed6(0x1bd),{'unit':this[_0x455ed6(0x20e)],'value':this[_0x455ed6(0x3b7)],'unitCategory':this['unitCategory'],'decimalPlaces':this[_0x455ed6(0x35a)],'showUnitArrow':this['showUnitArrow']}),this['render'](),this[_0x455ed6(0x1dd)]();}['disconnectedCallback'](){const _0x14eeb4=_0x263b8b;this[_0x14eeb4(0x261)]();}static get['observedAttributes'](){const _0x2a37a3=_0x263b8b;return[_0x2a37a3(0x3b7),'unit',_0x2a37a3(0x260),_0x2a37a3(0x262)];}['attributeChangedCallback'](_0x390623,_0x35c7e1,_0x3f4a5d){const _0x6d9cde=_0x263b8b;if(console['log'](_0x6d9cde(0x25e)+_0x390623,{'oldValue':_0x35c7e1,'newValue':_0x3f4a5d}),_0x390623===_0x6d9cde(0x3b7))this[_0x6d9cde(0x31e)]=_0x3f4a5d||'0',this[_0x6d9cde(0x3b7)]=this[_0x6d9cde(0x24f)](this[_0x6d9cde(0x31e)],this[_0x6d9cde(0x20e)]),console[_0x6d9cde(0x214)]('New\x20value\x20parsed:',this[_0x6d9cde(0x3b7)]);else{if(_0x390623===_0x6d9cde(0x20e)){const _0x393eef=this['unit'],_0x3d6703=this[_0x6d9cde(0x3b2)];this[_0x6d9cde(0x20e)]=_0x3f4a5d||'mm',this['updateUnitCategory'](),_0x393eef!==this['unit']&&(_0x3d6703===this['unitCategory']?(console[_0x6d9cde(0x214)]('Converting\x20value:',{'from':_0x393eef,'to':this['unit'],'value':this['value'],'unitCategory':this['unitCategory']}),this[_0x6d9cde(0x3b7)]=u({'value':this[_0x6d9cde(0x3b7)],'fromUnit':_0x393eef,'toUnit':this[_0x6d9cde(0x20e)],'unitCategory':this['unitCategory']})):console[_0x6d9cde(0x214)](_0x6d9cde(0x1db)),console[_0x6d9cde(0x214)]('New\x20value:',this[_0x6d9cde(0x3b7)]));}else _0x390623===_0x6d9cde(0x260)?(this[_0x6d9cde(0x35a)]=parseInt(_0x3f4a5d)||0x2,console[_0x6d9cde(0x214)](_0x6d9cde(0x361),this[_0x6d9cde(0x35a)])):_0x390623===_0x6d9cde(0x262)&&(this['showUnitArrow']=_0x3f4a5d===null||_0x3f4a5d===_0x6d9cde(0x1c9),console[_0x6d9cde(0x214)](_0x6d9cde(0x312),this[_0x6d9cde(0x383)]));}this['render']();}[_0x263b8b(0x267)](){const _0x583b30=_0x263b8b;console[_0x583b30(0x214)](_0x583b30(0x1c1),this[_0x583b30(0x20e)]),this[_0x583b30(0x3b2)]=k(this[_0x583b30(0x20e)]),console[_0x583b30(0x214)]('Updated\x20unit\x20category:',this[_0x583b30(0x3b2)]);}[_0x263b8b(0x24f)](_0x23a36,_0x264a0e){const _0x5df9c5=_0x263b8b;if(console[_0x5df9c5(0x214)](_0x5df9c5(0x355),{'value':_0x23a36,'unit':_0x264a0e}),typeof _0x23a36==_0x5df9c5(0x37a)&&_0x23a36[_0x5df9c5(0x1f6)]()==='')return console['log'](_0x5df9c5(0x337)),0x0;const _0x56aa58=_0x264a0e===_0x5df9c5(0x365)?D(_0x23a36):parseFloat(_0x23a36)||0x0;return console['log']('Parsed\x20value:',_0x56aa58),_0x56aa58;}['formatDisplayValue'](){const _0x4f6a1d=_0x263b8b;return this['unit']===_0x4f6a1d(0x365)?C(this[_0x4f6a1d(0x3b7)]):O(this[_0x4f6a1d(0x3b7)],this[_0x4f6a1d(0x35a)]);}['handleUnitChange'](_0x16f533){const _0xa6fc6f=_0x263b8b;if(_0x16f533[_0xa6fc6f(0x220)]['tagName']==='SELECT'){const _0x461c52=_0x16f533[_0xa6fc6f(0x220)][_0xa6fc6f(0x3b7)];console[_0xa6fc6f(0x214)](_0xa6fc6f(0x2e6),{'from':this[_0xa6fc6f(0x20e)],'to':_0x461c52,'value':this['value'],'unitCategory':this[_0xa6fc6f(0x3b2)]}),this[_0xa6fc6f(0x3b7)]=u(this[_0xa6fc6f(0x3b7)],this['unit'],_0x461c52,this[_0xa6fc6f(0x3b2)]),console[_0xa6fc6f(0x214)](_0xa6fc6f(0x2e5),this[_0xa6fc6f(0x3b7)]),this[_0xa6fc6f(0x20e)]=_0x461c52,this['updateUnitCategory'](),this[_0xa6fc6f(0x2c1)]();}this[_0xa6fc6f(0x29c)]();}[_0x263b8b(0x2c1)](){const _0x122b0c=_0x263b8b,_0x54fbdc=this['formatDisplayValue']();this[_0x122b0c(0x28f)]['innerHTML']=_0x122b0c(0x2bd)+(this['showUnitArrow']?'auto':_0x122b0c(0x3af))+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20'+(this[_0x122b0c(0x383)]?_0x122b0c(0x382):_0x122b0c(0x3af))+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20'+(this[_0x122b0c(0x383)]?_0x122b0c(0x382):_0x122b0c(0x3af))+_0x122b0c(0x31b)+(this[_0x122b0c(0x383)]?'block':'none')+_0x122b0c(0x276)+_0x54fbdc+'</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(U[this[_0x122b0c(0x3b2)]]||[this[_0x122b0c(0x20e)]])[_0x122b0c(0x1ca)](_0x13ad68=>_0x122b0c(0x277)+_0x13ad68+'\x22\x20'+(_0x13ad68===this[_0x122b0c(0x20e)]?_0x122b0c(0x26d):'')+_0x122b0c(0x320)+_0x13ad68+_0x122b0c(0x397))[_0x122b0c(0x323)]('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(this['showUnitArrow']&&this['unitCategory']!==_0x122b0c(0x346)?'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22tooltip\x22\x20href=\x22https://v2-docs.donwen.com/daily-calculations/unit-converter.html\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22Unit\x20Converter\x20for\x20All\x20Categories\x22\x20target=\x22_blank\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22'+this[_0x122b0c(0x330)]+'\x22\x20width=\x2212\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20':'')+_0x122b0c(0x1c5),this[_0x122b0c(0x29c)]();}[_0x263b8b(0x29c)](){const _0x4224af=_0x263b8b,_0x718e58=this[_0x4224af(0x28f)][_0x4224af(0x221)](_0x4224af(0x2ad));if(!_0x718e58)return;const _0x3d59e3=document['createElement'](_0x4224af(0x350));_0x3d59e3[_0x4224af(0x319)]['visibility']='hidden',_0x3d59e3[_0x4224af(0x319)][_0x4224af(0x246)]=_0x4224af(0x3b1),_0x3d59e3[_0x4224af(0x319)][_0x4224af(0x2cf)]='nowrap',_0x3d59e3[_0x4224af(0x319)][_0x4224af(0x1f2)]=window[_0x4224af(0x347)](_0x718e58)[_0x4224af(0x1f2)],document[_0x4224af(0x36b)][_0x4224af(0x2ed)](_0x3d59e3),_0x3d59e3['textContent']=this['unit'];const _0x3883ba=_0x3d59e3[_0x4224af(0x20b)];document[_0x4224af(0x36b)][_0x4224af(0x36a)](_0x3d59e3);const _0x23f357=this[_0x4224af(0x383)]?0x10:0x6,_0x4bf35b=this[_0x4224af(0x383)]?0x8:0x0;let _0x48ed2a=_0x3883ba+_0x23f357+_0x4bf35b+0x2;_0x48ed2a=Math[_0x4224af(0x310)](_0x48ed2a,0x1e),_0x718e58[_0x4224af(0x319)]['width']=_0x48ed2a+'px';}[_0x263b8b(0x1dd)](){const _0x73c47f=_0x263b8b;this[_0x73c47f(0x28f)][_0x73c47f(0x33e)](_0x73c47f(0x2c3),this['handleUnitChange'][_0x73c47f(0x2b4)](this));const _0x41c2b4=this[_0x73c47f(0x28f)]['querySelector']('.unit-container');_0x41c2b4&&(_0x41c2b4[_0x73c47f(0x33e)]('mouseover',this[_0x73c47f(0x2bb)]['bind'](this)),_0x41c2b4[_0x73c47f(0x33e)](_0x73c47f(0x242),this[_0x73c47f(0x2c0)][_0x73c47f(0x2b4)](this)));}[_0x263b8b(0x261)](){const _0x28bf77=_0x263b8b;this[_0x28bf77(0x28f)][_0x28bf77(0x2ca)](_0x28bf77(0x2c3),this[_0x28bf77(0x2d8)][_0x28bf77(0x2b4)](this));const _0x35a3af=this['shadowRoot'][_0x28bf77(0x221)](_0x28bf77(0x3a9));_0x35a3af&&(_0x35a3af['removeEventListener'](_0x28bf77(0x2a6),this[_0x28bf77(0x2bb)][_0x28bf77(0x2b4)](this)),_0x35a3af[_0x28bf77(0x2ca)](_0x28bf77(0x242),this[_0x28bf77(0x2c0)][_0x28bf77(0x2b4)](this)));}['handleUnitContainerMouseOver'](){const _0x16a24a=_0x263b8b,_0x217d28=this[_0x16a24a(0x28f)][_0x16a24a(0x221)](_0x16a24a(0x27b));_0x217d28&&(this['tooltipTimeout']=setTimeout(()=>{const _0x4fd738=_0x16a24a;_0x217d28['style'][_0x4fd738(0x2eb)]=_0x4fd738(0x2e2);},0x3e8));}['handleUnitContainerMouseOut'](){const _0x31bbfb=_0x263b8b,_0x9b9f4d=this['shadowRoot'][_0x31bbfb(0x221)](_0x31bbfb(0x27b));_0x9b9f4d&&(setTimeout(()=>{const _0x254468=_0x31bbfb;_0x9b9f4d[_0x254468(0x319)][_0x254468(0x2eb)]='none';},0x7d0),clearTimeout(this[_0x31bbfb(0x38e)]));}}function _0x4ebc(_0x331730,_0x28ae81){const _0x2c2a29=_0x2c2a();return _0x4ebc=function(_0x4ebcaf,_0x4f5557){_0x4ebcaf=_0x4ebcaf-0x1bc;let _0x54da6d=_0x2c2a29[_0x4ebcaf];return _0x54da6d;},_0x4ebc(_0x331730,_0x28ae81);}class Z extends HTMLElement{constructor(){const _0x2df503=_0x263b8b;super(),this['attachShadow']({'mode':_0x2df503(0x325)}),this[_0x2df503(0x2b5)]=[],this[_0x2df503(0x20e)]='',this[_0x2df503(0x3b2)]='',this[_0x2df503(0x35a)]=0x2,this[_0x2df503(0x383)]=!0x0;}[_0x263b8b(0x234)](){const _0x82a9f1=_0x263b8b;this[_0x82a9f1(0x20e)]=this[_0x82a9f1(0x23f)]('unit')||'cm',this['values']=this['getAttribute'](_0x82a9f1(0x2b5))[_0x82a9f1(0x26f)](',')[_0x82a9f1(0x1ca)](Number)[_0x82a9f1(0x1ca)](_0x48701a=>this['parseValue'](_0x48701a,this[_0x82a9f1(0x20e)])),this[_0x82a9f1(0x3b2)]=k(this[_0x82a9f1(0x20e)]),this[_0x82a9f1(0x35a)]=parseInt(this[_0x82a9f1(0x23f)](_0x82a9f1(0x260)))||0x2,this[_0x82a9f1(0x383)]=!this['hasAttribute'](_0x82a9f1(0x262))||this['getAttribute'](_0x82a9f1(0x262))===_0x82a9f1(0x1c9),this[_0x82a9f1(0x2c1)](),this[_0x82a9f1(0x1dd)]();}static get[_0x263b8b(0x2c7)](){const _0x70fb6b=_0x263b8b;return[_0x70fb6b(0x2b5),'unit',_0x70fb6b(0x260),_0x70fb6b(0x262)];}[_0x263b8b(0x1f0)](_0x1b3f09,_0x35cc0c,_0x1705f9){const _0x29216b=_0x263b8b;if(_0x1b3f09===_0x29216b(0x2b5))this[_0x29216b(0x2b5)]=_0x1705f9['split'](',')[_0x29216b(0x1ca)](Number)[_0x29216b(0x1ca)](_0x4698b1=>this[_0x29216b(0x24f)](_0x4698b1,this[_0x29216b(0x20e)]));else{if(_0x1b3f09===_0x29216b(0x20e)){const _0x569941=this[_0x29216b(0x20e)];this[_0x29216b(0x20e)]=_0x1705f9,this['unitCategory']=k(_0x1705f9),_0x569941!==_0x1705f9&&(this[_0x29216b(0x2b5)]=this[_0x29216b(0x2b5)][_0x29216b(0x1ca)](_0x16a6ea=>u(_0x16a6ea,_0x569941,_0x1705f9,this[_0x29216b(0x3b2)])));}else _0x1b3f09===_0x29216b(0x260)?this['decimalPlaces']=parseInt(_0x1705f9)||0x2:_0x1b3f09==='show-unit-arrow'&&(this['showUnitArrow']=_0x1705f9===null||_0x1705f9==='true');}this[_0x29216b(0x2c1)]();}[_0x263b8b(0x2c1)](){const _0x285e8f=_0x263b8b,_0x43ce22=this['values']['map'](_0x98f8ee=>this[_0x285e8f(0x241)](_0x98f8ee));this[_0x285e8f(0x28f)][_0x285e8f(0x254)]=_0x285e8f(0x2e8)+(this[_0x285e8f(0x383)]?_0x285e8f(0x382):_0x285e8f(0x3af))+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20'+(this[_0x285e8f(0x383)]?'auto':_0x285e8f(0x3af))+_0x285e8f(0x279)+(this[_0x285e8f(0x383)]?_0x285e8f(0x382):_0x285e8f(0x3af))+_0x285e8f(0x392)+_0x43ce22['join'](',\x20')+')</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(U[this[_0x285e8f(0x3b2)]]||[this[_0x285e8f(0x20e)]])[_0x285e8f(0x1ca)](_0x870052=>'<option\x20value=\x22'+_0x870052+'\x22\x20'+(_0x870052===this[_0x285e8f(0x20e)]?_0x285e8f(0x26d):'')+_0x285e8f(0x320)+_0x870052+_0x285e8f(0x397))['join']('')+_0x285e8f(0x2f0),this[_0x285e8f(0x29c)]();}[_0x263b8b(0x29c)](){const _0x1602f0=_0x263b8b,_0x347319=this[_0x1602f0(0x28f)][_0x1602f0(0x221)](_0x1602f0(0x2ad));if(!_0x347319)return;const _0x39100d=document[_0x1602f0(0x245)](_0x1602f0(0x350));_0x39100d[_0x1602f0(0x319)][_0x1602f0(0x28a)]=_0x1602f0(0x381),_0x39100d[_0x1602f0(0x319)]['position']=_0x1602f0(0x3b1),_0x39100d[_0x1602f0(0x319)][_0x1602f0(0x2cf)]=_0x1602f0(0x1d7),_0x39100d[_0x1602f0(0x319)][_0x1602f0(0x1f2)]=window[_0x1602f0(0x347)](_0x347319)[_0x1602f0(0x1f2)],document['body'][_0x1602f0(0x2ed)](_0x39100d),_0x39100d[_0x1602f0(0x2ee)]=this['unit'];const _0xd5ab75=_0x39100d[_0x1602f0(0x20b)];document[_0x1602f0(0x36b)][_0x1602f0(0x36a)](_0x39100d);const _0x238686=this['showUnitArrow']?0x10:0x6,_0x38f9ea=this[_0x1602f0(0x383)]?0x8:0x0;let _0x204838=_0xd5ab75+_0x238686+_0x38f9ea+0x2;_0x204838=Math[_0x1602f0(0x310)](_0x204838,0x1e),_0x347319[_0x1602f0(0x319)]['width']=_0x204838+'px';}[_0x263b8b(0x1dd)](){const _0x9bf273=_0x263b8b;this['shadowRoot'][_0x9bf273(0x33e)](_0x9bf273(0x2c3),this['handleUnitChange'][_0x9bf273(0x2b4)](this));}['parseValue'](_0x5f40e8,_0x75e277){const _0x4c5ca0=_0x263b8b;return _0x75e277===_0x4c5ca0(0x365)?D(_0x5f40e8):parseFloat(_0x5f40e8);}['formatPairValue'](_0x225282){const _0x404938=_0x263b8b;return this[_0x404938(0x20e)]===_0x404938(0x365)?C(_0x225282):O(_0x225282,this[_0x404938(0x35a)]);}[_0x263b8b(0x2d8)](_0x1e00ad){const _0x1f7885=_0x263b8b;if(_0x1e00ad[_0x1f7885(0x220)][_0x1f7885(0x289)]===_0x1f7885(0x2ec)){const _0x50f4fc=_0x1e00ad[_0x1f7885(0x220)][_0x1f7885(0x3b7)];this[_0x1f7885(0x2b5)]=this[_0x1f7885(0x2b5)][_0x1f7885(0x1ca)](_0x563ccd=>u(_0x563ccd,this[_0x1f7885(0x20e)],_0x50f4fc,this['unitCategory'])),this[_0x1f7885(0x20e)]=_0x50f4fc,this['render']();}this[_0x1f7885(0x29c)]();}}class tt extends HTMLElement{constructor(){const _0x5f0ce0=_0x263b8b;super(),this[_0x5f0ce0(0x2af)]({'mode':_0x5f0ce0(0x325)}),this[_0x5f0ce0(0x2b5)]=[],this[_0x5f0ce0(0x20e)]='',this['unitCategory']='',this[_0x5f0ce0(0x35a)]=0x2,this[_0x5f0ce0(0x383)]=!0x0,this[_0x5f0ce0(0x20c)]='',this[_0x5f0ce0(0x219)]=!0x1;}[_0x263b8b(0x234)](){const _0x2bfea6=_0x263b8b;this[_0x2bfea6(0x20e)]=this['getAttribute'](_0x2bfea6(0x20e))||'cm',this[_0x2bfea6(0x1e0)](this[_0x2bfea6(0x23f)]('values')),this[_0x2bfea6(0x3b2)]=k(this[_0x2bfea6(0x20e)]),this[_0x2bfea6(0x35a)]=parseInt(this[_0x2bfea6(0x23f)](_0x2bfea6(0x260)))||0x2,this['showUnitArrow']=!this[_0x2bfea6(0x1ed)](_0x2bfea6(0x262))||this[_0x2bfea6(0x23f)](_0x2bfea6(0x262))===_0x2bfea6(0x1c9),this[_0x2bfea6(0x2c1)](),this[_0x2bfea6(0x1dd)]();}static get['observedAttributes'](){const _0x53237d=_0x263b8b;return[_0x53237d(0x2b5),_0x53237d(0x20e),'decimal-places',_0x53237d(0x262)];}[_0x263b8b(0x1f0)](_0x5c1591,_0x11ac47,_0x2be346){const _0xf986da=_0x263b8b;if(_0x5c1591==='values')this[_0xf986da(0x1e0)](_0x2be346);else{if(_0x5c1591==='unit'){const _0xcb0fdc=this['unit'];this['unit']=_0x2be346,this[_0xf986da(0x3b2)]=k(_0x2be346),_0xcb0fdc!==_0x2be346&&(this['values']=this[_0xf986da(0x2b5)][_0xf986da(0x1ca)](_0x35a6b7=>u(_0x35a6b7,_0xcb0fdc,_0x2be346,this['unitCategory'])));}else _0x5c1591===_0xf986da(0x260)?this[_0xf986da(0x35a)]=parseInt(_0x2be346)||0x2:_0x5c1591===_0xf986da(0x262)&&(this[_0xf986da(0x383)]=_0x2be346===null||_0x2be346==='true');}this[_0xf986da(0x2c1)]();}[_0x263b8b(0x24f)](_0x392619,_0x2721e4){return _0x2721e4==='ft-in'?D(_0x392619):parseFloat(_0x392619);}[_0x263b8b(0x1e0)](_0x5e6391){const _0x2e2a54=_0x263b8b;this[_0x2e2a54(0x20c)]='',this[_0x2e2a54(0x219)]=_0x5e6391[_0x2e2a54(0x1d6)]('(')&&_0x5e6391[_0x2e2a54(0x38d)](')'),this[_0x2e2a54(0x219)]&&(_0x5e6391=_0x5e6391[_0x2e2a54(0x1e8)](0x1,-0x1)),_0x5e6391[_0x2e2a54(0x2a9)]('x')?(this['values']=_0x5e6391[_0x2e2a54(0x26f)]('x')[_0x2e2a54(0x1ca)](_0x5e9250=>this[_0x2e2a54(0x24f)](_0x5e9250,this[_0x2e2a54(0x20e)])),this[_0x2e2a54(0x20c)]='x'):_0x5e6391['includes'](',')?(this[_0x2e2a54(0x2b5)]=_0x5e6391[_0x2e2a54(0x26f)](',')[_0x2e2a54(0x1ca)](_0x302f5e=>_0x302f5e[_0x2e2a54(0x1f6)]())[_0x2e2a54(0x1ca)](_0x5a524d=>this[_0x2e2a54(0x24f)](_0x5a524d,this['unit'])),this['format']=_0x2e2a54(0x253)):(this[_0x2e2a54(0x2b5)]=_0x5e6391[_0x2e2a54(0x26f)](/\s+/)[_0x2e2a54(0x1ca)](_0x4e6862=>this[_0x2e2a54(0x24f)](_0x4e6862,this[_0x2e2a54(0x20e)])),this[_0x2e2a54(0x20c)]=_0x2e2a54(0x230));}[_0x263b8b(0x212)](_0x4f070b){const _0x2a5bb4=_0x263b8b;return this['unit']===_0x2a5bb4(0x365)?C(_0x4f070b):O(_0x4f070b,this['decimalPlaces']);}[_0x263b8b(0x203)](_0x442cef){const _0x24f9f0=_0x263b8b;let _0x27c08d='';const _0x3f7507=_0x442cef[_0x24f9f0(0x1ca)](_0x51adc6=>this[_0x24f9f0(0x212)](_0x51adc6));return this[_0x24f9f0(0x20c)]==='x'?_0x27c08d=_0x3f7507[0x0]+_0x24f9f0(0x380)+this['unit']+_0x24f9f0(0x2a4)+_0x3f7507[0x1]+_0x24f9f0(0x380)+this['unit']+_0x24f9f0(0x2a4)+_0x3f7507[0x2]:this['format']===_0x24f9f0(0x253)?_0x27c08d=_0x3f7507[_0x24f9f0(0x323)](',\x20'):_0x27c08d=_0x3f7507[_0x24f9f0(0x323)]('\x20'),_0x27c08d;}['render'](){const _0x2661df=_0x263b8b,_0x4f8b87=this[_0x2661df(0x203)](this['values']);this[_0x2661df(0x28f)][_0x2661df(0x254)]=_0x2661df(0x218)+(this[_0x2661df(0x383)]?_0x2661df(0x382):'none')+_0x2661df(0x204)+(this[_0x2661df(0x383)]?_0x2661df(0x382):_0x2661df(0x3af))+_0x2661df(0x279)+(this['showUnitArrow']?'auto':'none')+_0x2661df(0x32a)+(this[_0x2661df(0x219)]?'(':'')+_0x2661df(0x37e)+_0x4f8b87+_0x2661df(0x2b0)+(this[_0x2661df(0x219)]&&this[_0x2661df(0x20c)]!=='x'?')':'')+_0x2661df(0x225)+(U[this[_0x2661df(0x3b2)]]||[this[_0x2661df(0x20e)]])[_0x2661df(0x1ca)](_0x2816e7=>_0x2661df(0x277)+_0x2816e7+'\x22\x20'+(_0x2816e7===this[_0x2661df(0x20e)]?'selected':'')+_0x2661df(0x320)+_0x2816e7+_0x2661df(0x397))[_0x2661df(0x323)]('')+_0x2661df(0x2d6)+(this[_0x2661df(0x219)]&&this['format']==='x'?')':'')+_0x2661df(0x223),this['updateDropdownWidth']();}['updateDropdownWidth'](){const _0x5c0d7a=_0x263b8b,_0x315728=this[_0x5c0d7a(0x28f)]['querySelector'](_0x5c0d7a(0x2ad));if(!_0x315728)return;const _0x1a3200=document[_0x5c0d7a(0x245)](_0x5c0d7a(0x350));_0x1a3200[_0x5c0d7a(0x319)]['visibility']=_0x5c0d7a(0x381),_0x1a3200[_0x5c0d7a(0x319)][_0x5c0d7a(0x246)]=_0x5c0d7a(0x3b1),_0x1a3200[_0x5c0d7a(0x319)][_0x5c0d7a(0x2cf)]=_0x5c0d7a(0x1d7),_0x1a3200[_0x5c0d7a(0x319)][_0x5c0d7a(0x1f2)]=window['getComputedStyle'](_0x315728)['font'],document[_0x5c0d7a(0x36b)]['appendChild'](_0x1a3200),_0x1a3200['textContent']=this['unit'];const _0x28a518=_0x1a3200['offsetWidth'];document['body']['removeChild'](_0x1a3200);const _0x521504=this[_0x5c0d7a(0x383)]?0x10:0x6,_0x5ef3cb=this['showUnitArrow']?0x8:0x0;let _0x25c334=_0x28a518+_0x521504+_0x5ef3cb+0x2;_0x25c334=Math[_0x5c0d7a(0x310)](_0x25c334,0x1e),_0x315728[_0x5c0d7a(0x319)][_0x5c0d7a(0x1f1)]=_0x25c334+'px';}[_0x263b8b(0x1dd)](){const _0x2aa810=_0x263b8b;this[_0x2aa810(0x28f)]['addEventListener'](_0x2aa810(0x2c3),this[_0x2aa810(0x2d8)][_0x2aa810(0x2b4)](this));}['handleUnitChange'](_0x173f8f){const _0x3a1031=_0x263b8b;if(_0x173f8f[_0x3a1031(0x220)][_0x3a1031(0x289)]==='SELECT'){const _0x233027=_0x173f8f[_0x3a1031(0x220)]['value'];this['values']=this['values'][_0x3a1031(0x1ca)](_0x4f3bfc=>u(_0x4f3bfc,this[_0x3a1031(0x20e)],_0x233027,this[_0x3a1031(0x3b2)])),this['unit']=_0x233027,this[_0x3a1031(0x2c1)]();}this[_0x3a1031(0x29c)]();}}class et extends HTMLElement{constructor(){const _0x354871=_0x263b8b;super(),this[_0x354871(0x2af)]({'mode':_0x354871(0x325)}),this[_0x354871(0x356)]=0x0;}[_0x263b8b(0x234)](){const _0xb84ef2=_0x263b8b;this['render'](),this[_0xb84ef2(0x1dd)]();}[_0x263b8b(0x2c1)](){const _0x19e1b9=_0x263b8b;this['shadowRoot']['innerHTML']='\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20Arial,\x20sans-serif;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.counter\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x201px\x20solid\x20#ccc;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20button\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2016px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.count\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2018px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22counter\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22decrement\x22>-</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22count\x22>'+this['count']+_0x19e1b9(0x291);}['attachEventListeners'](){const _0x2f7b20=_0x263b8b,_0x8c9443=this[_0x2f7b20(0x28f)][_0x2f7b20(0x221)]('.increment'),_0x40f0d5=this[_0x2f7b20(0x28f)][_0x2f7b20(0x221)](_0x2f7b20(0x20a));_0x8c9443[_0x2f7b20(0x33e)](_0x2f7b20(0x287),()=>this['increment']()),_0x40f0d5['addEventListener'](_0x2f7b20(0x287),()=>this[_0x2f7b20(0x240)]());}['increment'](){const _0x4205c3=_0x263b8b;this[_0x4205c3(0x356)]++,this[_0x4205c3(0x306)]();}[_0x263b8b(0x240)](){const _0x471c98=_0x263b8b;this[_0x471c98(0x356)]--,this[_0x471c98(0x306)]();}[_0x263b8b(0x306)](){const _0x8d1397=_0x263b8b,_0x3d9fea=this[_0x8d1397(0x28f)][_0x8d1397(0x221)](_0x8d1397(0x21a));_0x3d9fea[_0x8d1397(0x2ee)]=this['count'];}}const L=(_0x5a6d39,_0x3f63c5)=>{const _0x7a837f=_0x263b8b;typeof window<'u'&&!customElements[_0x7a837f(0x2c6)](_0x5a6d39)&&customElements[_0x7a837f(0x258)](_0x5a6d39,_0x3f63c5);};L('physical-quantity',J),L(_0x263b8b(0x216),class extends J{}),L(_0x263b8b(0x2ff),Z),L(_0x263b8b(0x284),tt),L(_0x263b8b(0x244),et);export{et as NewComponent1,J as PhysicalQuantity,Z as UcQtyPair,tt as UcQtyTriplet};
|
package/dist/pq.umd.js
CHANGED
|
@@ -1 +1,238 @@
|
|
|
1
|
-
function _0x2360(_0x5474bc,_0x25e99a){const _0x20280c=_0x2028();return _0x2360=function(_0x236064,_0x20e706){_0x236064=_0x236064-0xc6;let _0x16f508=_0x20280c[_0x236064];return _0x16f508;},_0x2360(_0x5474bc,_0x25e99a);}function _0x2028(){const _0x1f7826=['psf/in','GJ/kg','removeEventListener',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20','e3dLogoUrl','kgf','J/(kg·°C)','MJ/100mile','rpm[rev/min]','m/min²','km/min','lbm/min','Custom','L/min','GPa','$1K','slug/h','long\x20ton/h','MHz','gal(UK-imperial)/100mile','m³/s','Wh/mile','esu/s','in²/hr','m²/hr','CFH[ft³/h]','auto','tooltipTimeout','gal(US-liquid)/100mile','in²','bushel(UK-imperial)/h','Btu/h','kcal(IT)/kg','revolution','cd[candela]','deg°','W[watt]','kPa','mkat','kibibit','lm[lumen]','in⁴','gibibit/s','St[cm²/s]','offsetWidth','km/L','2262XdpPgU','oz/yd²','L/100mile','psf','g/mm²','gigabit','mm²/min','2761704EomKYK','mm/min','ft/s²','mm⁴','Mkat','e[electron]','µSv','J/m','in\x20W.C.','lbm/ft²','m/s','mm/s','parseFeetInchesValue','calorie(IT)/second','body','mebibit','Volt','mmol','km/kWh','kips/ft','ksi','lbm/h','4803264OEjFmu',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/*\x20height:\x201.1em;\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select::-ms-expand\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20','foot-candle','split','lbf','bushel(UK-imperial)','cc/rev','mm/h','pebibit','Pa/m','render','cal(TH)/L','C[coulomb]','select','J/(kg·°K)','week','m/min','1/°K','short\x20ton/h','micron','addEventListener','<option\x20value=\x22','kN/m','lb-ft','max','mile','thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]','observedAttributes',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20','atm/m','kWh/mile','cm³','ft²/s','mm²','gibibit','atm','tebibit/s','attachShadow','314322ouBcVs','rev/s','gigabit/s','Btu','1/min','cm²','bushel(US-dry)','minute','showUnitArrow','calculateTotalInches','.tooltip','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mGy','mBq','connectedCallback','lm/sr','MM\x20Btu/lbm','lumen/ft²','inputValue','\x22\x20width=\x2212\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','m/s²','kWh/100mile','removeChild','handleUnitChange','attachEventListeners','ksi[kip/in²]','rad/s²','kWh/100km','shadowRoot','lb-ft/rad','m/J','Btu/lbm','Wh/km','kWh/m³','lbm/ft³','ft/min²','define','m²/min','formatFeetInchesValue','kJ/kg','m²/s','kBq','kibibit/s','J/C','slug/min','petabit/s','querySelector','convertValue','gal(US-liquid)','handleUnitContainerMouseOver','mHz','bind','PhysicalQuantity','Sv[sievert]','parseValue','decimal-places','MGy','J/g','g/cm³','kcal(TH)/kg','value','mol','F[farad]','ft²/hr','in³/s','MJ/km','mSv','kJ/m³','tonne/m²','amd','lb-in/rad','in²/min','get','megabit','J/(g·°K)','rpm','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.value\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','oz-in','font','ft³/rev','oz-ft','</option>','oz/ft²','psi','kkat','lm/m²','unitCategory','cm³/s','TNT\x20Equivalent[kiloton]','rad/min²','attributeChangedCallback','rad/min','physical-quantity','MJ/h','slug/s','target','$1B','m³/m','byte','NM[M,\x20nmi,\x20or\x20nautical\x20mile]','getAttribute','updateDropdownWidth','unit','mile/kWh','gal(UK-imperial)/mile','gal(US-liquid)/rev','bushel(US)/h','MM\x20Btu/mile','mm\x20HG/m','slug','kilo-calorie(TH)/hour','ft-in','1/s','getUnitCategory','H[henry]','block','.unit-container','Wb/m²','mbar/mm','terabit/s','lbm·fps','Temperature','31933638XpQiJh','mpg(UK)','mm²/hr','terabit','g/min','kJ/L','yd²','µm³','true','isInteger','kg⋅m²','cm⁴','Ampere[amp]','pow','MJ/m³','deg°/s²','lb-ft/minute','mouseover','lbm/in²','kip[kilo\x20pound]','appendChild','mm\x20W.C./m','kg/m²','km/s','exports','kcal(TH)/m³','kJ/minute','mile/L','sr[steradian]','m³/rad','in²/s','cal(IT)/L','kg/h','fps[ft/second]','ft³/s','hectare','MPGe','mile/gal(US-liquid)','cSt[mm²/s]','bar/m','7304BLsSzj','cm³/min','MSv','lb-in/deg°','MM\x20Btu/ft³','µm²','mm³','unitConversion','mouseout','N/m','Wh/m³','56305REkKBH','lbm','toString','mbar','whiteSpace','km³','gpm(US)','m³/kg/s²','N⋅m/deg°','yd³/min','lbm⋅in²','J/kg','N⋅m²/kg²','cup(US-liquid)','mile/MM\x20Btu','mile/gal(UK-imperial)','map','1/°Ra','pint(UK-imperial)','J/h','g/s','m\x20W.C./m','in\x20HG','Btu/(lbm·°F)','1/1',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x20Custom\x20arrow\x20styles\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container::after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27▼\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.7em;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20right:\x200.3em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateX(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2012px;\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container:hover\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20underline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22value\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','J[Joule]','1/hour','petabyte','lux','lb-in','mm\x20HG','cal(TH)/g','object','tagName','km/MJ','textContent','HP\x20Hour/lbm','lb·s','282VdvcXW','kg·m/s','m²/m²','kg/m³','acre','$1M','J/L','day','mpg(US)','cal(IT)/g','eV[electron-volt]','SELECT','style','toStringTag','ft²','S[siemens]','L/rev','kPa/m','cp[candlepower]','s[second]','ampere-hour','fluid\x20ounce(US-liquid)','g⋅cm²','hidden','mWb','MJ/mile','nowrap','knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]','round','lbm/yd²','g/cm²','ton(US/short)','createElement','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22tooltip\x22\x20href=\x22https://v2-docs.donwen.com/daily-calculations/unit-converter.html\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22Unit\x20Converter\x20for\x20All\x20Categories\x22\x20target=\x22_blank\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22','formatValue','match','lbm/in³','MM\x20Btu/h','kibibyte','m³/rev','none','includes','pebibyte','trim','tebibit','g/mm³','lumen/m²','ft⁴','N/mm','handleUnitContainerMouseOut','Bq[becquerel]','GHz','lb-ft/second','hasAttribute','pebibit/s','default','mAh','MPa/km','deg°/min²','kGy','in³/min','disconnectedCallback','bit','meter-candle','uc-qty','units','selected','kg/L','abs','Wh/L','calorie(TH)/minute','1/16\x22','ksi/ft','$1T','ft²/min','lb/in','display','fpm[ft/minute]','show-unit-arrow','tonne','kmol','Gy[gray]','replace','CFM[ft³/min]','bit/s','removeEventListeners','MJ/kg','kBd','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20','Ω[Ohm]','L/km','cup(Metric)','Pascal/m','floor','deg°/min','N⋅m/rad','5448562pHjHmh','P[Poise]','gibibyte','pint(US-liquid)','mph[mile/h]','cm\x20HG','fpm','kilobit/s','m/h','rad/s','kip-in','gigabyte','terabyte','decimalPlaces','mm\x20W.C.','Btu/ton(short)','HP\x20Hour/ft³','deg°/h','change','oz/in²','in/s²','BTU/(h⋅ft⋅°F)','phot','yd³/h','HP\x20Hour','GJ/m³','defineProperties','gal(US-dry)','N⋅mm/rad','J/minute','Btu/gal(US)','megabyte','Module','megabit/s','1/°F','CFM','getComputedStyle'];_0x2028=function(){return _0x1f7826;};return _0x2028();}(function(_0x5a9d7e,_0x34422c){const _0x437914=_0x2360,_0x310c57=_0x5a9d7e();while(!![]){try{const _0x1b1f4e=parseInt(_0x437914(0x17d))/0x1+-parseInt(_0x437914(0x141))/0x2+-parseInt(_0x437914(0x13a))/0x3*(parseInt(_0x437914(0x21f))/0x4)+parseInt(_0x437914(0x22a))/0x5*(-parseInt(_0x437914(0x251))/0x6)+parseInt(_0x437914(0xe7))/0x7+-parseInt(_0x437914(0x157))/0x8+parseInt(_0x437914(0x1f7))/0x9;if(_0x1b1f4e===_0x34422c)break;else _0x310c57['push'](_0x310c57['shift']());}catch(_0x2ad851){_0x310c57['push'](_0x310c57['shift']());}}}(_0x2028,0xb7f83),function(_0x58492f,_0x5e9dc7){const _0x39975d=_0x2360;typeof exports==_0x39975d(0x24b)&&typeof module<'u'?_0x5e9dc7(exports):typeof define=='function'&&define[_0x39975d(0x1c2)]?define([_0x39975d(0x20f)],_0x5e9dc7):(_0x58492f=typeof globalThis<'u'?globalThis:_0x58492f||self,_0x5e9dc7(_0x58492f['PhysicalQuantity']={}));}(this,function(_0x5942a2){'use strict';const _0x2977de=_0x2360;const _0x2d25ed=0.45359237,_0x3e0b36=9.80665,_0x1b9db8=0x14a0,_0x573b33=25.4/0x3e8,_0x311ad4=0xc*_0x573b33,_0x20aa42=0x73c,_0x6884d2=0x42*0x294,_0x27c08f=4.54609,_0x913e3f=0xe7,_0x55ef1d=268.8025,_0x1dcf9f=0x1/0x8,_0x52fe83=0x1/0x14,_0xe32905=0x1/0x10,_0x2d509=0x8,_0x3d0d81=0x8,_0x5cac35=0x1/0x10,_0xaef8f9=0xf0,_0x5ba836=0xfa,_0x551d31=0xa,_0x36fcfe=14.59390294,_0x43b884=1055.05585262,_0x376c86=4.1868,_0x31e9bd=4.184,_0x463e91=0x226*_0x2d25ed*_0x3e0b36*_0x311ad4,_0x27e754=0x18bcd,_0x365d75=0x1/0x2f8,_0x51c47f=133.322387415,_0xa23b54=0x569e4c0a22d73800,_0x40aa08={'Length':['m','nano[nm]','µm',_0x2977de(0x16a),'mm','cm','dm','km','in',_0x2977de(0x1ec),_0x2977de(0x171),'ft','yd',_0x2977de(0x170),_0x2977de(0x1e0)],'Mass':['kg','g','mg','µg','oz',_0x2977de(0x22b),_0x2977de(0x1ea),_0x2977de(0x270),'ton(UK-Imperial/long)',_0x2977de(0xd6)],'Time':[_0x2977de(0x264),'s',_0x2977de(0x184),'h','h[hour]',_0x2977de(0x258),_0x2977de(0x166)],'ElectricalCurrent':['A',_0x2977de(0x203),'mA','µA','kA','MA',_0x2977de(0x122)],'Temperature':['°K','°C','°F','°Ra'],'Amount\x20of\x20Substance':[_0x2977de(0x1ba),_0x2977de(0x152),_0x2977de(0xd7)],'Luminous\x20Intensity':[_0x2977de(0x12e),_0x2977de(0x18c),_0x2977de(0x263),'cp[candlepower(before\x201948)]'],'Acceleration':[_0x2977de(0x191),_0x2977de(0x115),'mm/s²',_0x2977de(0x143),_0x2977de(0x1a0),_0x2977de(0xfb)],'Gravitational\x20Constant':[_0x2977de(0x231),_0x2977de(0x236),'dyn⋅cm²/g²'],'Velocity\x20(Angular)':[_0x2977de(0xf0),_0x2977de(0x1d8),'rad/h','deg°/s',_0x2977de(0xe5),_0x2977de(0xf8),_0x2977de(0x114),_0x2977de(0x17e)],'Acceleration\x20(Angular)':[_0x2977de(0x197),_0x2977de(0x1d6),_0x2977de(0x206),_0x2977de(0x28b)],'Illuminance':[_0x2977de(0x247),_0x2977de(0x27f),_0x2977de(0x1d2),_0x2977de(0xc6),_0x2977de(0xfd),_0x2977de(0x159),'fc',_0x2977de(0x18e),'lm/ft²'],'Frequency':['Hz',_0x2977de(0x1ed),_0x2977de(0x181),_0x2977de(0x1c8),_0x2977de(0x245),_0x2977de(0x1af),'kHz',_0x2977de(0x11e),_0x2977de(0x284)],'Area':['m²',_0x2977de(0x224),_0x2977de(0x178),_0x2977de(0x182),'km²',_0x2977de(0x21a),_0x2977de(0x129),_0x2977de(0x25f),_0x2977de(0x1fd),_0x2977de(0x255),'mile²'],'Volume\x20/\x20Section\x20Modulus':['m³',_0x2977de(0x1fe),_0x2977de(0x225),_0x2977de(0x176),'L','mL',_0x2977de(0x22f),'in³','ft³','yd³','gal(UK-imperial)',_0x2977de(0x1ad),_0x2977de(0x102),_0x2977de(0x23c),_0x2977de(0xea),'pint(US-dry)','fluid\x20ounce(UK-imperial)',_0x2977de(0x266),_0x2977de(0x15c),_0x2977de(0x183),_0x2977de(0x237),'cup(Legal)',_0x2977de(0xe2),'cup(Imperial)'],'Polar\x20Moment\x20of\x20Inertia':['m⁴',_0x2977de(0x144),_0x2977de(0x202),_0x2977de(0x135),_0x2977de(0x280)],'Moment\x20of\x20Inertia':[_0x2977de(0x201),_0x2977de(0x267),'g⋅mm²','lbm⋅ft²',_0x2977de(0x234),'oz⋅in²'],'Force':['N','kN','MN',_0x2977de(0x111),'lb',_0x2977de(0x15b),_0x2977de(0x20a)],'Angle':['radian','rad',_0x2977de(0x12f),_0x2977de(0x12d)],'Solid\x20Angle':[_0x2977de(0x213),_0x2977de(0x253)],'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':[_0x2977de(0x20d),_0x2977de(0x26f),_0x2977de(0x13e),_0x2977de(0x1c1),_0x2977de(0x26e),_0x2977de(0x14a),_0x2977de(0x209),_0x2977de(0x13b),_0x2977de(0x1cf),_0x2977de(0xfa)],'Density':[_0x2977de(0x254),_0x2977de(0xca),_0x2977de(0x1b7),_0x2977de(0x27e),_0x2977de(0x19f),_0x2977de(0x275)],'Energy':[_0x2977de(0x244),'kJ','MJ','GJ',_0x2977de(0x1d5),_0x2977de(0x180),'MM\x20Btu','calorie(IT)','kilo-calorie(IT)','calorie(TH)','kilo-calorie(TH)',_0x2977de(0xff),'Wh','kWh',_0x2977de(0x25b)],'Power':[_0x2977de(0x130),'kW','MW','GW[Gigawatt]',_0x2977de(0x12b),'Btu/minute',_0x2977de(0x276),_0x2977de(0x14e),'calorie(IT)/minute','kilo-calorie(IT)/hour','calorie(TH)/second',_0x2977de(0xcd),_0x2977de(0x1eb),_0x2977de(0x285),_0x2977de(0x207),'HP','J/second',_0x2977de(0x104),_0x2977de(0x23d),_0x2977de(0x1da),_0x2977de(0x211)],'Torque,\x20Moment\x20of\x20Force':['Nm','kNm',_0x2977de(0x248),_0x2977de(0xf1),_0x2977de(0x16e),_0x2977de(0x1ca),_0x2977de(0x1cd)],'Pressure/Stress':['Pa',_0x2977de(0x131),'MPa',_0x2977de(0x11a),'bar',_0x2977de(0x22d),_0x2977de(0x17a),_0x2977de(0x249),_0x2977de(0xec),_0x2977de(0x240),_0x2977de(0xf5),'m\x20W.C.',_0x2977de(0x149),_0x2977de(0x13d),_0x2977de(0x1d0),_0x2977de(0x155),_0x2977de(0x196)],'Pressure\x20Drop\x20per\x20Unit\x20Length':[_0x2977de(0x160),_0x2977de(0xe3),_0x2977de(0x262),_0x2977de(0x28a),_0x2977de(0x21e),_0x2977de(0x1f3),_0x2977de(0x174),_0x2977de(0x1e9),'in\x20HG/ft',_0x2977de(0x20c),_0x2977de(0x23f),'in\x20W.C./ft','in\x20W.C./100\x20ft',_0x2977de(0x10c),'psi/ft',_0x2977de(0xcf),'Torr/ft','mTorr/m'],'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':[_0x2977de(0x228),_0x2977de(0x281),_0x2977de(0x16d),'lb/ft',_0x2977de(0x154),_0x2977de(0xd2)],'Stiffness\x20of\x20Rotary\x20Spring':[_0x2977de(0xe6),_0x2977de(0x232),_0x2977de(0x103),'N⋅mm/deg°',_0x2977de(0x19a),'lb-ft/deg°',_0x2977de(0x1c3),_0x2977de(0x222)],'Flow\x20Rate\x20(Volume)':[_0x2977de(0x120),'m³/min','m³/h','L/s',_0x2977de(0x119),'L/h',_0x2977de(0x1d4),_0x2977de(0x220),_0x2977de(0x1bd),_0x2977de(0x28d),_0x2977de(0x219),_0x2977de(0x10a),_0x2977de(0xda),'CFH',_0x2977de(0x125),_0x2977de(0x233),_0x2977de(0xfe),_0x2977de(0x230),'gph(US)',_0x2977de(0x12a),_0x2977de(0x1e7)],'Flow\x20Rate\x20(Mass)':['kg/s','kg/min',_0x2977de(0x217),_0x2977de(0x23e),_0x2977de(0x1fb),'g/h',_0x2977de(0x1db),_0x2977de(0x1a9),_0x2977de(0x11c),'lbm/s',_0x2977de(0x117),_0x2977de(0x156),'oz/s','oz/min','oz/h','tonne/h',_0x2977de(0x169),_0x2977de(0x11d)],'Speed\x20/\x20Velocity\x20(Linear)':[_0x2977de(0x14b),_0x2977de(0x14c),_0x2977de(0x20e),_0x2977de(0x142),_0x2977de(0x167),_0x2977de(0x116),_0x2977de(0x15e),_0x2977de(0xef),'km/h','in/s','fps',_0x2977de(0x218),_0x2977de(0xed),_0x2977de(0xd4),_0x2977de(0xeb),_0x2977de(0x26c)],'Fuel\x20Heat\x20Value\x20(Volume)':['J/m³',_0x2977de(0x257),_0x2977de(0x1fc),_0x2977de(0x1c0),_0x2977de(0x205),_0x2977de(0x100),_0x2977de(0x216),'kcal(IT)/m³',_0x2977de(0x162),_0x2977de(0x210),_0x2977de(0xcc),_0x2977de(0x229),_0x2977de(0x19e),_0x2977de(0xf7),_0x2977de(0x105),'Btu/ft³',_0x2977de(0x223)],'Fuel\x20Heat\x20Value\x20(Mass)':[_0x2977de(0x235),_0x2977de(0x1b6),_0x2977de(0x1a4),_0x2977de(0xdd),_0x2977de(0x10d),_0x2977de(0x25a),_0x2977de(0x12c),_0x2977de(0x24a),_0x2977de(0x1b8),'Wh/g','Wh/kg','kWh/kg',_0x2977de(0x24f),_0x2977de(0x19c),_0x2977de(0x18d),_0x2977de(0xf6)],'Mass\x20Heat\x20Capacity':[_0x2977de(0x165),_0x2977de(0x112),_0x2977de(0x1c7),'J/(g·°C)',_0x2977de(0x241)],'Viscosity\x20-\x20Absolute/Dynamic(μ)':['PI[Pa·s]','N·s/m²','kg/m/s',_0x2977de(0xe8),'cP','lb·s/ft²','lbm/ft/s'],'Viscosity\x20-\x20Kinematic':[_0x2977de(0x1a5),_0x2977de(0x1a2),_0x2977de(0x124),_0x2977de(0x137),'Stoke','cm²/min','cm²/hr',_0x2977de(0x21d),_0x2977de(0x140),_0x2977de(0x1f9),_0x2977de(0x177),_0x2977de(0xd1),_0x2977de(0x1bc),_0x2977de(0x215),_0x2977de(0x1c4),_0x2977de(0x123)],'Linear\x20Thermal\x20Expansion\x20Coefficient':[_0x2977de(0x168),'1/°C',_0x2977de(0x109),_0x2977de(0x23b)],'Thermal\x20Conductivity':['W/(m⋅°K)','W/(cm⋅°K)',_0x2977de(0xfc),'BTU/(h⋅in⋅°F)'],'Electrical\x20Charge':[_0x2977de(0x163),'Ah',_0x2977de(0x265),_0x2977de(0x289),_0x2977de(0x146),'faraday'],'Electrical\x20Potential\x20Difference\x20(Voltage)':['V',_0x2977de(0x151),'joule/coulomb',_0x2977de(0x1a8),'µV','mV','kV','MV'],'Electrical\x20Resistance(Impedance)':[_0x2977de(0xe0),'µΩ','mΩ','kΩ','MΩ'],'Electrical\x20Capacitance':[_0x2977de(0x1bb),'pF','nF','µF','mF'],'Electrical\x20Inductance':[_0x2977de(0x1ef),'µH','mH'],'Electrical\x20Conductance':[_0x2977de(0x260),'℧','µS','mS','kS'],'Magnetic\x20Flux':['Wb[weber]','nWb','µWb',_0x2977de(0x269),'cWb','dWb'],'Luminous\x20Flux':[_0x2977de(0x134),'cd⋅sr'],'Magnetic\x20Flux\x20Density':['T[tesla]',_0x2977de(0x1f2),'µT','G','mT'],'Katalytic\x20Activity':['kat[katal]','mol/s','µkat',_0x2977de(0x132),_0x2977de(0x1d1),_0x2977de(0x145)],'Radioactivity':[_0x2977de(0x283),_0x2977de(0x1ed),'µBq',_0x2977de(0x18a),_0x2977de(0x1a6),'MBq','Rd[rutherford]','Ci[curie]'],'Absorbed\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x2977de(0xd8),_0x2977de(0x235),'µGy',_0x2977de(0x189),_0x2977de(0x28c),_0x2977de(0x1b5)],'Equivalent\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x2977de(0x1b2),'J/kg',_0x2977de(0x147),_0x2977de(0x1bf),'kSv',_0x2977de(0x221)],'Volumetric\x20Displacement':[_0x2977de(0x214),_0x2977de(0x278),_0x2977de(0x261),_0x2977de(0x15d),_0x2977de(0x1cc),'in³/rev',_0x2977de(0x1e6)],'Fuel\x20Economy':[_0x2977de(0x139),_0x2977de(0x259),_0x2977de(0x21c),_0x2977de(0x1f8),_0x2977de(0x239),_0x2977de(0x212)],'Fuel\x20Consumption':[_0x2977de(0x1de),_0x2977de(0xe1),'L/100km','L/mile',_0x2977de(0x13c),'gal(US-liquid)/mile',_0x2977de(0x128),_0x2977de(0x1e5),_0x2977de(0x11f)],'New\x20Energy\x20Economy\x20(MPGe)':[_0x2977de(0x19b),_0x2977de(0x153),_0x2977de(0x24d),_0x2977de(0x21b),'mile/MJ',_0x2977de(0x1e4),_0x2977de(0x238)],'New\x20Energy\x20Consumption':[_0x2977de(0x148),_0x2977de(0x19d),_0x2977de(0x121),'kWh/km',_0x2977de(0x198),_0x2977de(0x175),_0x2977de(0x192),_0x2977de(0x1be),'MJ/100km',_0x2977de(0x26a),_0x2977de(0x113),'MM\x20Btu/km','MM\x20Btu/100km',_0x2977de(0x1e8),'MM\x20Btu/100mile'],'Baud\x20Rate':[_0x2977de(0xdb),'Bd',_0x2977de(0xde),'MBd','GBd'],'Currency':['$','¢',_0x2977de(0x11b),_0x2977de(0x256),_0x2977de(0x1dd),_0x2977de(0xd0)],'Impulse\x20/\x20Momentum':['N·s','Newton-second',_0x2977de(0x250),_0x2977de(0x252),_0x2977de(0x1f5),'lbm·fpm'],'Digital\x20Storage':[_0x2977de(0x28f),'kilobit',_0x2977de(0x133),_0x2977de(0x1c6),_0x2977de(0x150),_0x2977de(0x13f),_0x2977de(0x179),_0x2977de(0x1fa),_0x2977de(0x27d),'petabit',_0x2977de(0x15f),_0x2977de(0x1df),'kilobyte',_0x2977de(0x277),_0x2977de(0x106),'mebibyte',_0x2977de(0xf2),_0x2977de(0xe9),_0x2977de(0xf3),'tebibyte',_0x2977de(0x246),_0x2977de(0x27b)],'Data\x20Transfer\x20Rate':['bit/s',_0x2977de(0xee),_0x2977de(0x1a7),_0x2977de(0x108),'mebibit/s',_0x2977de(0x17f),_0x2977de(0x136),_0x2977de(0x1f4),_0x2977de(0x17b),_0x2977de(0x1aa),_0x2977de(0x287)]},_0x56019d={'Length':{'m':0x1,'nano[nm]':0x1/0x3b9aca00,'µm':0x1/0xf4240,'micron':0x1/0xf4240,'mm':0x1/0x3e8,'cm':0.01,'dm':0.1,'km':0x3e8,'in':_0x573b33,'thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]':_0x573b33/0x3e8,'ft-in':_0x573b33,'ft':_0x311ad4,'yd':0x3*_0x311ad4,'mile':_0x1b9db8*_0x311ad4,'NM[M,\x20nmi,\x20or\x20nautical\x20mile]':_0x20aa42},'Mass':{'kg':0x1,'g':0.001,'mg':0x1/0xf4240,'µg':0x1/0x3b9aca00,'oz':0x1/0x10*_0x2d25ed,'lbm':_0x2d25ed,'slug':_0x36fcfe,'ton(US/short)':0x7d0*_0x2d25ed,'ton(UK-Imperial/long)':0x8c0*_0x2d25ed,'tonne':0x3e8},'Time':{'s[second]':0x1,'s':0x1,'minute':0x3c,'h':0xe10,'h[hour]':0xe10,'day':0xe10*0x18,'week':0xe10*0x18*0x7},'ElectricalCurrent':{'A':0x1,'Ampere[amp]':0x1,'mA':0.001,'µA':0.000001,'kA':0x3e8,'MA':0xf4240,'esu/s':0x1/0xb2d05e00},'Temperature':{'°K':{'c0':0x1,'c1':0x0},'°C':{'c0':0x1,'c1':273.15},'°F':{'c0':0x5/0x9,'c1':255.3722222},'°Ra':{'c0':0x5/0x9,'c1':0x0}},'Amount\x20of\x20Substance':{'mol':0x1,'mmol':0.001,'kmol':0x3e8},'Luminous\x20Intensity':{'cd[candela]':0x1,'lm/sr':0x1,'cp[candlepower]':0x1,'cp[candlepower(before\x201948)]':0.981},'Acceleration':{'m/s²':0x1,'m/min²':0x1/0xe10,'mm/s²':0.001,'ft/s²':_0x311ad4,'ft/min²':_0x311ad4/0xe10,'in/s²':_0x573b33},'Gravitational\x20Constant':{'m³/kg/s²':0x1,'N⋅m²/kg²':0x1,'dyn⋅cm²/g²':0x3e8},'Velocity\x20(Angular)':{'rad/s':0x1,'rad/min':0x1/0x3c,'rad/h':0x1/0xe10,'deg°/s':Math['PI']/0xb4,'deg°/min':Math['PI']/0xb4/0x3c,'deg°/h':Math['PI']/0xb4/0xe10,'rpm[rev/min]':0x2*Math['PI']/0x3c,'rev/s':0x2*Math['PI']},'Acceleration\x20(Angular)':{'rad/s²':0x1,'rad/min²':0x1/0xe10,'deg°/s²':Math['PI']/0xb4,'deg°/min²':Math['PI']/0xb4/0xe10},'Illuminance':{'lux':0x1,'lumen/m²':0x1,'lm/m²':0x1,'meter-candle':0x1,'phot':0x2710,'foot-candle':0x1/Math[_0x2977de(0x204)](_0x311ad4,0x2),'fc':0x1/Math[_0x2977de(0x204)](_0x311ad4,0x2),'lumen/ft²':0x1/Math['pow'](_0x311ad4,0x2),'lm/ft²':0x1/Math['pow'](_0x311ad4,0x2)},'Frequency':{'Hz':0x1,'1/s':0x1,'1/min':0x1/0x3c,'rpm':0x1/0x3c,'1/hour':0x1/0xe10,'mHz':0x1/0x3e8,'kHz':0x3e8,'MHz':0xf4240,'GHz':0x3b9aca00},'Area':{'m²':0x1,'µm²':Math[_0x2977de(0x204)](0x1/0xf4240,0x2),'mm²':Math[_0x2977de(0x204)](0x1/0x3e8,0x2),'cm²':Math['pow'](0x1/0x64,0x2),'km²':0xf4240,'hectare':Math[_0x2977de(0x204)](0x64,0x2),'in²':Math[_0x2977de(0x204)](_0x573b33,0x2),'ft²':Math[_0x2977de(0x204)](_0x311ad4,0x2),'yd²':Math[_0x2977de(0x204)](_0x311ad4*0x3,0x2),'acre':_0x6884d2*Math[_0x2977de(0x204)](_0x311ad4,0x2),'mile²':Math[_0x2977de(0x204)](_0x1b9db8*_0x311ad4,0x2)},'Volume\x20/\x20Section\x20Modulus':{'m³':0x1,'µm³':Math['pow'](0x1/0xf4240,0x3),'mm³':Math[_0x2977de(0x204)](0x1/0x3e8,0x3),'cm³':Math[_0x2977de(0x204)](0x1/0x64,0x3),'L':0x1/0x3e8,'mL':0x1/0xf4240,'km³':Math['pow'](0x3e8,0x3),'in³':Math[_0x2977de(0x204)](_0x573b33,0x3),'ft³':Math[_0x2977de(0x204)](_0x311ad4,0x3),'yd³':Math[_0x2977de(0x204)](_0x311ad4*0x3,0x3),'gal(UK-imperial)':_0x27c08f*0x1/0x3e8,'gal(US-liquid)':_0x913e3f*Math[_0x2977de(0x204)](_0x573b33,0x3),'gal(US-dry)':_0x55ef1d*Math[_0x2977de(0x204)](_0x573b33,0x3),'pint(UK-imperial)':_0x1dcf9f*_0x27c08f*0x1/0x3e8,'pint(US-liquid)':_0x1dcf9f*_0x913e3f*Math[_0x2977de(0x204)](_0x573b33,0x3),'pint(US-dry)':_0x1dcf9f*_0x55ef1d*Math[_0x2977de(0x204)](_0x573b33,0x3),'fluid\x20ounce(UK-imperial)':_0x52fe83*_0x1dcf9f*_0x27c08f/0x3e8,'fluid\x20ounce(US-liquid)':_0xe32905*_0x1dcf9f*_0x913e3f*Math[_0x2977de(0x204)](_0x573b33,0x3),'bushel(UK-imperial)':_0x2d509*_0x27c08f/0x3e8,'bushel(US-dry)':_0x3d0d81*_0x55ef1d*Math[_0x2977de(0x204)](_0x573b33,0x3),'cup(US-liquid)':_0x5cac35*_0x913e3f*Math[_0x2977de(0x204)](_0x573b33,0x3),'cup(Legal)':_0xaef8f9*Math[_0x2977de(0x204)](0.01,0x3),'cup(Metric)':_0x5ba836*Math[_0x2977de(0x204)](0.01,0x3),'cup(Imperial)':_0x551d31*_0x52fe83*_0x1dcf9f*_0x27c08f/0x3e8},'Polar\x20Moment\x20of\x20Inertia':{'m⁴':0x1,'mm⁴':1e-12,'cm⁴':1e-8,'in⁴':Math['pow'](_0x573b33,0x4),'ft⁴':Math[_0x2977de(0x204)](_0x311ad4,0x4)},'Moment\x20of\x20Inertia':{'kg⋅m²':0x1,'g⋅cm²':0x1/(0x3e8*0x2710),'g⋅mm²':0x1/(0x3e8*0xf4240),'lbm⋅ft²':_0x2d25ed*Math[_0x2977de(0x204)](_0x311ad4,0x2),'lbm⋅in²':_0x2d25ed*Math['pow'](_0x573b33,0x2),'oz⋅in²':_0x2d25ed/0x10*Math[_0x2977de(0x204)](_0x573b33,0x2)},'Force':{'N':0x1,'kN':0x3e8,'MN':0xf4240,'kgf':_0x3e0b36,'lb':_0x2d25ed*_0x3e0b36,'lbf':_0x2d25ed*_0x3e0b36,'kip[kilo\x20pound]':0x3e8*_0x2d25ed*_0x3e0b36},'Angle':{'radian':0x1,'rad':0x1,'deg°':Math['PI']/0xb4,'revolution':Math['PI']*0x2},'Solid\x20Angle':{'sr[steradian]':0x1,'m²/m²':0x1},'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':{'kg/m²':0x1,'g/cm²':0x1/0x3e8/Math[_0x2977de(0x204)](0.01,0x2),'g/mm²':0x1/0x3e8/Math[_0x2977de(0x204)](0.001,0x2),'tonne/m²':0x3e8,'lbm/yd²':_0x2d25ed/Math[_0x2977de(0x204)](_0x311ad4*0x3,0x2),'lbm/ft²':_0x2d25ed/Math[_0x2977de(0x204)](_0x311ad4,0x2),'lbm/in²':_0x2d25ed/Math[_0x2977de(0x204)](_0x573b33,0x2),'oz/yd²':_0x2d25ed/0x10/Math[_0x2977de(0x204)](0x3*_0x311ad4,0x2),'oz/ft²':_0x2d25ed/0x10/Math[_0x2977de(0x204)](_0x311ad4,0x2),'oz/in²':_0x2d25ed/0x10/Math[_0x2977de(0x204)](_0x573b33,0x2)},'Density':{'kg/m³':0x1,'kg/L':0x3e8,'g/cm³':0x1/0x3e8/Math[_0x2977de(0x204)](0.01,0x3),'g/mm³':0x1/0x3e8/Math['pow'](0.001,0x3),'lbm/ft³':_0x2d25ed/Math[_0x2977de(0x204)](_0x311ad4,0x3),'lbm/in³':_0x2d25ed/Math[_0x2977de(0x204)](_0x573b33,0x3)},'Energy':{'J[Joule]':0x1,'kJ':0x3e8,'MJ':0xf4240,'GJ':0x3b9aca00,'TNT\x20Equivalent[kiloton]':0x3b9aca00*_0x31e9bd,'Btu':_0x43b884,'MM\x20Btu':_0x43b884*0xf4240,'calorie(IT)':_0x376c86,'kilo-calorie(IT)':_0x376c86*0x3e8,'calorie(TH)':_0x31e9bd,'kilo-calorie(TH)':_0x31e9bd*0x3e8,'HP\x20Hour':_0x463e91*0xe10,'Wh':0xe10,'kWh':0xe10*0x3e8,'eV{electron-volt]':0x1/_0xa23b54},'Power':{'W[watt]':0x1,'kW':0x3e8,'MW':0xf4240,'GW[Gigawatt]':0x3b9aca00,'Btu/h':_0x43b884/0xe10,'Btu/minute':_0x43b884/0x3c,'MM\x20Btu/h':_0x43b884*0xf4240/0xe10,'calorie(IT)/second':_0x376c86,'calorie(IT)/minute':_0x376c86/0x3c,'kilo-calorie(IT)/hour':_0x376c86*0x3e8/0xe10,'calorie(TH)/second':_0x31e9bd,'calorie(TH)/minute':_0x31e9bd/0x3c,'kilo-calorie(TH)/hour':_0x31e9bd*0x3e8/0xe10,'lb-ft/second':_0x2d25ed*_0x3e0b36*_0x311ad4,'lb-ft/minute':_0x2d25ed*_0x3e0b36*_0x311ad4/0x3c,'HP':_0x463e91,'J/second':0x1,'J/minute':0x1/0x3c,'J/h':0x1/0xe10,'MJ/h':0xf4240/0xe10,'kJ/minute':0x3e8/0x3c},'Torque,\x20Moment\x20of\x20Force':{'Nm':0x1,'kNm':0x3e8,'lb-in':_0x2d25ed*_0x3e0b36*_0x573b33,'kip-in':0x3e8*_0x2d25ed*_0x3e0b36*_0x573b33,'lb-ft':_0x2d25ed*_0x3e0b36*_0x311ad4,'oz-in':_0x2d25ed/0x10*_0x3e0b36*_0x573b33,'oz-ft':_0x2d25ed/0x10*_0x3e0b36*_0x311ad4},'Pressure/Stress':{'Pa':0x1,'kPa':0x3e8,'MPa':0xf4240,'GPa':0x3b9aca00,'bar':0x64*0x3e8,'mbar':0x64,'atm':_0x27e754,'mm\x20HG':_0x51c47f,'cm\x20HG':_0x51c47f*0xa,'in\x20HG':_0x51c47f*25.4,'mm\x20W.C.':0x1/0x3e8*0x3e8*_0x3e0b36,'m\x20W.C.':0x1*0x3e8*_0x3e0b36,'in\x20W.C.':_0x573b33*0x3e8*_0x3e0b36,'psf':_0x2d25ed*_0x3e0b36/Math['pow'](_0x311ad4,0x2),'psi':_0x2d25ed*_0x3e0b36/Math[_0x2977de(0x204)](_0x573b33,0x2),'ksi':_0x2d25ed*_0x3e0b36/Math[_0x2977de(0x204)](_0x573b33,0x2)*0x3e8,'ksi{kip/in²]':_0x2d25ed*_0x3e0b36/Math[_0x2977de(0x204)](_0x573b33,0x2)*0x3e8},'Pressure\x20Drop\x20per\x20Unit\x20Length':{'Pa/m':0x1,'Pascal/m':0x1,'kPa/m':0x3e8,'MPa/km':0xf4240/0x3e8,'bar/m':0x186a0,'mbar/mm':0x64*0x3e8,'atm/m':_0x27e754,'mm\x20HG/m':_0x51c47f,'in\x20HG/ft':_0x51c47f*25.4/_0x311ad4,'mm\x20W.C./m':0x1/0x3e8*0x3e8*_0x3e0b36,'m\x20W.C./m':0x3e8*_0x3e0b36,'in\x20W.C./ft':_0x573b33*0x3e8*_0x3e0b36/_0x311ad4,'in\x20W.C./100\x20ft':_0x573b33*0x3e8*_0x3e0b36/_0x311ad4/0x64,'psf/in':_0x2d25ed*_0x3e0b36/Math['pow'](_0x311ad4,0x2)/_0x573b33,'psi/ft':_0x2d25ed*_0x3e0b36/Math['pow'](_0x311ad4,0x2)/_0x311ad4,'ksi/ft':_0x2d25ed*_0x3e0b36/Math[_0x2977de(0x204)](_0x311ad4,0x2)/_0x311ad4*0x3e8,'Torr/ft':_0x365d75*_0x27e754/_0x311ad4,'mTorr/m':_0x365d75*_0x27e754/0x3e8},'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':{'N/m':0x1,'N/mm':0x3e8,'kN/m':0x3e8,'lb/ft':_0x2d25ed*_0x3e0b36/_0x311ad4,'kips/ft':0x3e8*_0x2d25ed*_0x3e0b36/_0x311ad4,'lb/in':_0x2d25ed*_0x3e0b36/_0x573b33},'Stiffness\x20of\x20Rotary\x20Spring':{'N⋅m/rad':0x1,'N⋅m/deg°':0x1/Math['PI']*0xb4,'N⋅mm/rad':0x1/0x3e8,'N⋅mm/deg°':0x1/0x3e8/Math['PI']*0xb4,'lb-ft/rad':_0x2d25ed*_0x3e0b36*_0x311ad4,'lb-ft/deg°':_0x2d25ed*_0x3e0b36*_0x311ad4/(Math['PI']/0xb4),'lb-in/rad':_0x2d25ed*_0x3e0b36*_0x573b33,'lb-in/deg°':_0x2d25ed*_0x3e0b36*_0x573b33/(Math['PI']/0xb4)},'Flow\x20Rate\x20(Volume)':{'m³/s':0x1,'m³/min':0x1/0x3c,'m³/h':0x1/0xe10,'L/s':0x1/0x3e8,'L/min':0x1/0x3e8/0x3c,'L/h':0x1/0x3e8/0xe10,'cm³/s':0.000001,'cm³/min':0.000001/0x3c,'in³/s':Math[_0x2977de(0x204)](_0x573b33,0x3),'in³/min':Math[_0x2977de(0x204)](_0x573b33,0x3)/0x3c,'ft³/s':Math[_0x2977de(0x204)](_0x311ad4,0x3),'CFM':Math[_0x2977de(0x204)](_0x311ad4,0x3)/0x3c,'CFM[ft³/min]':Math['pow'](_0x311ad4,0x3)/0x3c,'CFH':Math[_0x2977de(0x204)](_0x311ad4,0x3)/0xe10,'CFH[ft³/h]':Math[_0x2977de(0x204)](_0x311ad4,0x3)/0xe10,'yd³/min':Math[_0x2977de(0x204)](_0x311ad4*0x3,0x3)/0x3c,'yd³/h':Math[_0x2977de(0x204)](_0x311ad4*0x3,0x3)/0xe10,'gpm(US)':_0x913e3f*Math[_0x2977de(0x204)](_0x573b33,0x3)/0x3c,'gph(US)':_0x913e3f*Math['pow'](_0x573b33,0x3)/0xe10,'bushel(UK-imperial)/h':_0x2d509*_0x27c08f/0x3e8/0xe10,'bushel(US)/h':_0x3d0d81*_0x55ef1d*Math[_0x2977de(0x204)](_0x573b33,0x3)/0xe10},'Flow\x20Rate\x20(Mass)':{'kg/s':0x1,'kg/min':0x1/0x3c,'kg/h':0x1/0xe10,'g/s':0x1/0x3e8,'g/min':0x1/0x3e8/0x3c,'g/h':0x1/0x3e8/0xe10,'slug/s':_0x36fcfe,'slug/min':_0x36fcfe/0x3c,'slug/h':_0x36fcfe/0xe10,'lbm/s':_0x2d25ed,'lbm/min':_0x2d25ed/0x3c,'lbm/h':_0x2d25ed/0xe10,'oz/s':_0x2d25ed/0x10,'oz/min':_0x2d25ed/0x10/0x3c,'oz/h':_0x2d25ed/0x10/0xe10,'tonne/h':0x3e8/0xe10,'short\x20ton/h':0x7d0*_0x2d25ed/0xe10,'long\x20ton/h':0x8c0*_0x2d25ed/0xe10},'Speed\x20/\x20Velocity\x20(Linear)':{'m/s':0x1,'mm/s':0x1/0x3e8,'km/s':0x1,'mm/min':0x1/0x3e8/0x3c,'m/min':0x1/0x3c,'km/min':0x3e8/0x3c,'mm/h':0x1/0x3e8/0xe10,'m/h':0x1/0xe10,'km/h':0x3e8/0xe10,'in/s':_0x573b33,'fps':_0x311ad4,'fps[ft/second]':_0x311ad4,'fpm':_0x311ad4/0x3c,'fpm[ft/minute]':_0x311ad4/0x3c,'mph[mile/h]':_0x1b9db8*_0x311ad4/0xe10,'knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]':_0x20aa42/0xe10},'Electrical\x20Potential\x20Difference\x20(Voltage)':{'V':0x1,'Volt':0x1,'joule/coulomb':0x1,'J/C':0x1,'µV':0x1/0xf4240,'mV':0x1/0x3e8,'kV':0x3e8,'MV':0xf4240}};class _0x202fd9 extends HTMLElement{constructor(){const _0x11be63=_0x2977de;super(),this[_0x11be63(0x17c)]({'mode':'open'}),this['tooltipTimeout']=null,this[_0x11be63(0x110)]='https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/shared%2Fassets%2Fimages%2Fe3d-logo2.png?alt=media&token=7064f466-6168-4b8a-b921-4e86115cb492';}[_0x2977de(0x18b)](){const _0x5d5faf=_0x2977de;this['units']=_0x40aa08,this[_0x5d5faf(0x226)]=_0x56019d,this['unit']=this[_0x5d5faf(0x1e1)]('unit')||'mm',this['unitCategory']=this[_0x5d5faf(0x1ee)](this[_0x5d5faf(0x1e3)]),this['inputValue']=this[_0x5d5faf(0x1e1)]('value'),this[_0x5d5faf(0x1b9)]=this[_0x5d5faf(0x1b3)](this['inputValue'],this[_0x5d5faf(0x1e3)]),this[_0x5d5faf(0xf4)]=parseInt(this[_0x5d5faf(0x1e1)](_0x5d5faf(0x1b4)))||0x2,this[_0x5d5faf(0x185)]=!this[_0x5d5faf(0x286)](_0x5d5faf(0xd5))||this[_0x5d5faf(0x1e1)](_0x5d5faf(0xd5))==='true',this[_0x5d5faf(0x161)](),this['attachEventListeners']();}[_0x2977de(0x28e)](){const _0x469e61=_0x2977de;this[_0x469e61(0xdc)]();}static get[_0x2977de(0x172)](){const _0x5a48d1=_0x2977de;return[_0x5a48d1(0x1b9),_0x5a48d1(0x1e3),_0x5a48d1(0x1b4),_0x5a48d1(0xd5)];}[_0x2977de(0x1d7)](_0x3d9d2d,_0x275a94,_0x21dd47){const _0x35b57e=_0x2977de;if(_0x3d9d2d===_0x35b57e(0x1b9))this[_0x35b57e(0x18f)]=_0x21dd47,this[_0x35b57e(0x1b9)]=this[_0x35b57e(0x1b3)](_0x21dd47,this[_0x35b57e(0x1e3)]);else{if(_0x3d9d2d===_0x35b57e(0x1e3)){const _0x421105=this[_0x35b57e(0x1e3)];this[_0x35b57e(0x1e3)]=_0x21dd47,this[_0x35b57e(0x1d3)]=this[_0x35b57e(0x1ee)](_0x21dd47),_0x421105!==_0x21dd47&&(this[_0x35b57e(0x1b9)]=this['convertValue'](this[_0x35b57e(0x1b9)],_0x421105,_0x21dd47));}else _0x3d9d2d===_0x35b57e(0x1b4)?this[_0x35b57e(0xf4)]=parseInt(_0x21dd47)||0x2:_0x3d9d2d===_0x35b57e(0xd5)&&(this[_0x35b57e(0x185)]=_0x21dd47===null||_0x21dd47===_0x35b57e(0x1ff));}this['render']();}[_0x2977de(0x1b3)](_0x458100,_0x25bf1d){const _0x1a43cc=_0x2977de;return _0x25bf1d===_0x1a43cc(0x1ec)?this[_0x1a43cc(0x14d)](_0x458100):parseFloat(_0x458100);}[_0x2977de(0x14d)](_0xf3b0c7){const _0x44f86a=_0x2977de,_0x43be11=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,_0x4bbb79=/(\d+)\'/,_0x4bb909=/(\d+)/;let _0x42dfde=_0xf3b0c7[_0x44f86a(0x274)](_0x43be11);if(_0x42dfde){const _0x10b118=parseInt(_0x42dfde[0x1])||0x0,_0x4d6136=parseInt(_0x42dfde[0x3])||0x0,_0x2f78c0=parseInt(_0x42dfde[0x5])||0x0,_0xb20067=parseInt(_0x42dfde[0x6])||0x1;return this['calculateTotalInches'](_0x10b118,_0x4d6136,_0x2f78c0,_0xb20067);}if(_0x42dfde=_0xf3b0c7[_0x44f86a(0x274)](_0x4bbb79),_0x42dfde){const _0x65c9b7=parseInt(_0x42dfde[0x1])||0x0;return this['calculateTotalInches'](_0x65c9b7,0x0,0x0,0x1);}if(_0x42dfde=_0xf3b0c7['match'](_0x4bb909),_0x42dfde){const _0x1b554f=parseInt(_0x42dfde[0x1])||0x0;return this['calculateTotalInches'](0x0,_0x1b554f,0x0,0x1);}return parseFloat(_0xf3b0c7);}[_0x2977de(0x186)](_0x276a93,_0x438a3b,_0x31cb3c,_0x24cbd6){return _0x276a93*0xc+_0x438a3b+_0x31cb3c/_0x24cbd6;}[_0x2977de(0x1a3)](_0x4b1039,_0xfe5764=_0x2977de(0xce)){const _0x1c4749=_0x2977de;if(_0x4b1039<0x0)return'-'+this['formatFeetInchesValue'](-_0x4b1039,_0xfe5764);const _0xd4bd4f=parseInt(_0xfe5764[_0x1c4749(0x15a)]('/')[0x1][_0x1c4749(0xd9)]('\x22',''));let _0x4fe7b7=Math[_0x1c4749(0xe4)](_0x4b1039/0xc),_0x2d2aaa=Math[_0x1c4749(0xe4)](_0x4b1039%0xc);const _0x1fd01c=_0x4b1039-Math[_0x1c4749(0xe4)](_0x4b1039);let _0x9f7472='';if(_0x1fd01c>0x0&&_0xfe5764!==0x0){let _0x25cf21=Math[_0x1c4749(0x26d)](_0x1fd01c*_0xd4bd4f);const _0x5bfe45=(_0x2b1289,_0x5b5620)=>_0x5b5620?_0x5bfe45(_0x5b5620,_0x2b1289%_0x5b5620):_0x2b1289,_0x1da582=_0x5bfe45(_0x25cf21,_0xd4bd4f);_0x9f7472='\x20'+_0x25cf21/_0x1da582+'/'+_0xd4bd4f/_0x1da582,_0x9f7472['trim']()===_0x1c4749(0x242)&&(_0x2d2aaa++,_0x2d2aaa>=0xc&&(_0x4fe7b7++,_0x2d2aaa-=0xc),_0x9f7472='');}let _0x289ebd='';return _0x4fe7b7>0x0&&(_0x289ebd+=_0x4fe7b7+'\x27'),_0x4fe7b7>0x0&&(_0x2d2aaa>0x0||_0x9f7472!=='')&&(_0x289ebd+='-'),_0x2d2aaa>0x0&&(_0x289ebd+=''+_0x2d2aaa),_0x9f7472!==''&&(_0x289ebd+=_0x9f7472),(_0x2d2aaa>0x0||_0x9f7472!=='')&&(_0x289ebd+='\x22'),_0x289ebd[_0x1c4749(0x27c)]();}[_0x2977de(0x1ee)](_0x144f90){const _0x19f239=_0x2977de;for(const _0x41b572 in this[_0x19f239(0xc8)])if(this[_0x19f239(0xc8)][_0x41b572][_0x19f239(0x27a)](_0x144f90))return _0x41b572;return this['units'][_0x19f239(0x118)]=this[_0x19f239(0xc8)][_0x19f239(0x118)]||[],this[_0x19f239(0xc8)][_0x19f239(0x118)]['push'](_0x144f90),this[_0x19f239(0x226)][_0x19f239(0x118)]=this[_0x19f239(0x226)][_0x19f239(0x118)]||{},this[_0x19f239(0x226)]['Custom'][_0x144f90]=0x1,_0x19f239(0x118);}['handleUnitChange'](_0x33d62f){const _0x180eae=_0x2977de;if(_0x33d62f[_0x180eae(0x1dc)][_0x180eae(0x24c)]===_0x180eae(0x25c)){const _0x524a41=_0x33d62f[_0x180eae(0x1dc)][_0x180eae(0x1b9)];this['value']=this[_0x180eae(0x1ac)](this[_0x180eae(0x1b9)],this[_0x180eae(0x1e3)],_0x524a41),this[_0x180eae(0x1e3)]=_0x524a41,this['render']();}this['updateDropdownWidth']();}[_0x2977de(0x1ac)](_0x4e5c52,_0x1d462a,_0x4b92c7){const _0x24d2fe=_0x2977de;if(this[_0x24d2fe(0x1d3)]!==_0x24d2fe(0x1f6)){const _0x2c2953=this[_0x24d2fe(0x226)][this['unitCategory']][_0x1d462a]/this[_0x24d2fe(0x226)][this[_0x24d2fe(0x1d3)]][_0x4b92c7];return _0x4e5c52*_0x2c2953;}else{const _0x382e1c=this[_0x24d2fe(0x226)][this['unitCategory']][_0x1d462a]['c0'],_0x3fb405=this['unitConversion'][this['unitCategory']][_0x1d462a]['c1'],_0x618594=this['unitConversion'][this[_0x24d2fe(0x1d3)]][_0x4b92c7]['c0'],_0x41345c=this['unitConversion'][this[_0x24d2fe(0x1d3)]][_0x4b92c7]['c1'];return(_0x4e5c52*_0x382e1c+_0x3fb405-_0x41345c)/_0x618594;}}[_0x2977de(0x273)](_0x23d768){const _0x1fbc84=_0x2977de;let _0x4a9d52;if(Number[_0x1fbc84(0x200)](_0x23d768)?_0x4a9d52=_0x23d768[_0x1fbc84(0x22c)]():_0x4a9d52=_0x23d768['toFixed'](this[_0x1fbc84(0xf4)])[_0x1fbc84(0xd9)](/\.?0+$/,''),Math[_0x1fbc84(0xcb)](parseFloat(_0x4a9d52))>=0x3e8){const _0x48b8b2=_0x4a9d52[_0x1fbc84(0x15a)]('.');_0x48b8b2[0x0]=_0x48b8b2[0x0][_0x1fbc84(0xd9)](/\B(?=(\d{3})+(?!\d))/g,','),_0x4a9d52=_0x48b8b2['join']('.');}return _0x4a9d52;}[_0x2977de(0x161)](){const _0x30f8f4=_0x2977de;this[_0x30f8f4(0x199)]['innerHTML']=_0x30f8f4(0x1c9)+(this[_0x30f8f4(0x185)]?_0x30f8f4(0x126):'none')+_0x30f8f4(0x10f)+(this[_0x30f8f4(0x185)]?'auto':_0x30f8f4(0x279))+_0x30f8f4(0x173)+(this[_0x30f8f4(0x185)]?_0x30f8f4(0x126):'none')+_0x30f8f4(0x158)+(this[_0x30f8f4(0x185)]?_0x30f8f4(0x1f0):'none')+_0x30f8f4(0x243)+(this[_0x30f8f4(0x1e3)]===_0x30f8f4(0x1ec)?this[_0x30f8f4(0x1a3)](this[_0x30f8f4(0x1b9)]):this[_0x30f8f4(0x273)](this[_0x30f8f4(0x1b9)]))+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(this['units'][this[_0x30f8f4(0x1d3)]]||[this['unit']])[_0x30f8f4(0x23a)](_0x159763=>_0x30f8f4(0x16c)+_0x159763+'\x22\x20'+(_0x159763===this[_0x30f8f4(0x1e3)]?_0x30f8f4(0xc9):'')+'>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x159763+_0x30f8f4(0x1ce))['join']('')+_0x30f8f4(0x188)+(this['showUnitArrow']&&this[_0x30f8f4(0x1d3)]!==_0x30f8f4(0x118)?_0x30f8f4(0x272)+this[_0x30f8f4(0x110)]+_0x30f8f4(0x190):'')+_0x30f8f4(0xdf),this[_0x30f8f4(0x1e2)]();}[_0x2977de(0x1e2)](){const _0x1c7b56=_0x2977de,_0x550591=this[_0x1c7b56(0x199)][_0x1c7b56(0x1ab)](_0x1c7b56(0x164));if(!_0x550591)return;const _0x1d4a34=document[_0x1c7b56(0x271)]('span');_0x1d4a34[_0x1c7b56(0x25d)]['visibility']=_0x1c7b56(0x268),_0x1d4a34[_0x1c7b56(0x25d)]['position']='absolute',_0x1d4a34[_0x1c7b56(0x25d)][_0x1c7b56(0x22e)]=_0x1c7b56(0x26b),_0x1d4a34[_0x1c7b56(0x25d)][_0x1c7b56(0x1cb)]=window[_0x1c7b56(0x10b)](_0x550591)[_0x1c7b56(0x1cb)],document[_0x1c7b56(0x14f)][_0x1c7b56(0x20b)](_0x1d4a34),_0x1d4a34[_0x1c7b56(0x24e)]=this['unit'];const _0x44e0d5=_0x1d4a34[_0x1c7b56(0x138)];document[_0x1c7b56(0x14f)][_0x1c7b56(0x193)](_0x1d4a34);const _0x4b7287=this[_0x1c7b56(0x185)]?0x10:0x6,_0x343f42=this[_0x1c7b56(0x185)]?0x8:0x0;let _0x2361fb=_0x44e0d5+_0x4b7287+_0x343f42+0x2;_0x2361fb=Math[_0x1c7b56(0x16f)](_0x2361fb,0x1e),_0x550591[_0x1c7b56(0x25d)]['width']=_0x2361fb+'px';}[_0x2977de(0x195)](){const _0x24739a=_0x2977de;this[_0x24739a(0x199)][_0x24739a(0x16b)](_0x24739a(0xf9),this[_0x24739a(0x194)][_0x24739a(0x1b0)](this));const _0x3981c9=this['shadowRoot'][_0x24739a(0x1ab)](_0x24739a(0x1f1));_0x3981c9&&(_0x3981c9[_0x24739a(0x16b)](_0x24739a(0x208),this['handleUnitContainerMouseOver'][_0x24739a(0x1b0)](this)),_0x3981c9[_0x24739a(0x16b)](_0x24739a(0x227),this[_0x24739a(0x282)][_0x24739a(0x1b0)](this)));}['removeEventListeners'](){const _0x4b5993=_0x2977de;this[_0x4b5993(0x199)]['removeEventListener'](_0x4b5993(0xf9),this[_0x4b5993(0x194)]['bind'](this));const _0x3bf376=this[_0x4b5993(0x199)][_0x4b5993(0x1ab)](_0x4b5993(0x1f1));_0x3bf376&&(_0x3bf376['removeEventListener'](_0x4b5993(0x208),this[_0x4b5993(0x1ae)][_0x4b5993(0x1b0)](this)),_0x3bf376[_0x4b5993(0x10e)]('mouseout',this[_0x4b5993(0x282)][_0x4b5993(0x1b0)](this)));}[_0x2977de(0x1ae)](){const _0x15722c=_0x2977de,_0x22f591=this[_0x15722c(0x199)]['querySelector'](_0x15722c(0x187));_0x22f591&&(this[_0x15722c(0x127)]=setTimeout(()=>{const _0x5767d8=_0x15722c;_0x22f591[_0x5767d8(0x25d)][_0x5767d8(0xd3)]=_0x5767d8(0x1f0);},0x3e8));}['handleUnitContainerMouseOut'](){const _0x2b6814=_0x2977de,_0x3f00d7=this['shadowRoot'][_0x2b6814(0x1ab)](_0x2b6814(0x187));_0x3f00d7&&(setTimeout(()=>{const _0x571f1b=_0x2b6814;_0x3f00d7['style'][_0x571f1b(0xd3)]='none';},0x7d0),clearTimeout(this[_0x2b6814(0x127)]));}}typeof window<'u'&&(customElements[_0x2977de(0x1c5)](_0x2977de(0x1d9))||customElements[_0x2977de(0x1a1)]('physical-quantity',_0x202fd9),customElements[_0x2977de(0x1c5)](_0x2977de(0xc7))||customElements[_0x2977de(0x1a1)]('uc-qty',class extends _0x202fd9{})),_0x5942a2[_0x2977de(0x1b1)]=_0x202fd9,_0x5942a2[_0x2977de(0x288)]=_0x202fd9,Object[_0x2977de(0x101)](_0x5942a2,{'__esModule':{'value':!0x0},[Symbol[_0x2977de(0x25e)]]:{'value':_0x2977de(0x107)}});}));
|
|
1
|
+
(function(u,A){typeof exports=="object"&&typeof module<"u"?A(exports):typeof define=="function"&&define.amd?define(["exports"],A):(u=typeof globalThis<"u"?globalThis:u||self,A(u.PQWebComponents={}))})(this,function(u){"use strict";const o=.45359237,r=9.80665,H=5280,a=25.4/1e3,n=12*a,W=1852,Q=66*660,p=4.54609,g=231,I=268.8025,f=1/8,F=1/20,j=1/16,_=8,B=8,Y=1/16,X=240,Z=250,tt=10,N=14.59390294,w=1055.05585262,y=4.1868,b=4.184,R=550*o*r*n,C=101325,$=1/760,U=133.322387415,et=624150974e10,k={Length:["m","nano[nm]","µm","micron","mm","cm","dm","km","in","ft-in","thou[mil, or thousandth of an inch]","ft","yd","mile","NM[M, nmi, or nautical mile]"],Mass:["kg","g","mg","µg","oz","lbm","slug","ton(US/short)","ton(UK-Imperial/long)","tonne"],Time:["s[second]","s","minute","h","h[hour]","day","week"],ElectricalCurrent:["A","Ampere[amp]","mA","µA","kA","MA","esu/s"],Temperature:["°K","°C","°F","°Ra"],"Amount of Substance":["mol","mmol","kmol"],"Luminous Intensity":["cd[candela]","lm/sr","cp[candlepower]","cp[candlepower(before 1948)]"],Acceleration:["m/s²","m/min²","mm/s²","ft/s²","ft/min²","in/s²"],"Gravitational Constant":["m³/kg/s²","N⋅m²/kg²","dyn⋅cm²/g²"],"Velocity (Angular)":["rad/s","rad/min","rad/h","deg°/s","deg°/min","deg°/h","rpm[rev/min]","rev/s"],"Acceleration (Angular)":["rad/s²","rad/min²","deg°/s²","deg°/min²"],Illuminance:["lux","lumen/m²","lm/m²","meter-candle","phot","foot-candle","fc","lumen/ft²","lm/ft²"],Frequency:["Hz","1/s","1/min","rpm","1/hour","mHz","kHz","MHz","GHz"],Area:["m²","µm²","mm²","cm²","km²","hectare","in²","ft²","yd²","acre","mile²"],"Volume / Section Modulus":["m³","µm³","mm³","cm³","L","mL","km³","in³","ft³","yd³","gal(UK-imperial)","gal(US-liquid)","gal(US-dry)","pint(UK-imperial)","pint(US-liquid)","pint(US-dry)","fluid ounce(UK-imperial)","fluid ounce(US-liquid)","bushel(UK-imperial)","bushel(US-dry)","cup(US-liquid)","cup(Legal)","cup(Metric)","cup(Imperial)"],"Polar Moment of Inertia":["m⁴","mm⁴","cm⁴","in⁴","ft⁴"],"Moment of Inertia":["kg⋅m²","g⋅cm²","g⋅mm²","lbm⋅ft²","lbm⋅in²","oz⋅in²"],Force:["N","kN","MN","kgf","lb","lbf","kip[kilo pound]"],Angle:["radian","rad","deg°","revolution"],"Solid Angle":["sr[steradian]","m²/m²"],"BMI-Body Mass Index/Ballistic Coefficient":["kg/m²","g/cm²","g/mm²","tonne/m²","lbm/yd²","lbm/ft²","lbm/in²","oz/yd²","oz/ft²","oz/in²"],Density:["kg/m³","kg/L","g/cm³","g/mm³","lbm/ft³","lbm/in³"],Energy:["J[Joule]","kJ","MJ","GJ","TNT Equivalent[kiloton]","Btu","MM Btu","calorie(IT)","kilo-calorie(IT)","calorie(TH)","kilo-calorie(TH)","HP Hour","Wh","kWh","eV[electron-volt]"],Power:["W[watt]","kW","MW","GW[Gigawatt]","Btu/h","Btu/minute","MM Btu/h","calorie(IT)/second","calorie(IT)/minute","kilo-calorie(IT)/hour","calorie(TH)/second","calorie(TH)/minute","kilo-calorie(TH)/hour","lb-ft/second","lb-ft/minute","HP","J/second","J/minute","J/h","MJ/h","kJ/minute"],"Torque, Moment of Force":["Nm","kNm","lb-in","kip-in","lb-ft","oz-in","oz-ft"],"Pressure/Stress":["Pa","kPa","MPa","GPa","bar","mbar","atm","mm HG","cm HG","in HG","mm W.C.","m W.C.","in W.C.","psf","psi","ksi","ksi[kip/in²]"],"Pressure Drop per Unit Length":["Pa/m","Pascal/m","kPa/m","MPa/km","bar/m","mbar/mm","atm/m","mm HG/m","in HG/ft","mm W.C./m","m W.C./m","in W.C./ft","in W.C./100 ft","psf/in","psi/ft","ksi/ft","Torr/ft","mTorr/m"],"Uniformly Distributed (Uniform Line) Load | Stiffness of Linear Spring":["N/m","N/mm","kN/m","lb/ft","kips/ft","lb/in"],"Stiffness of Rotary Spring":["N⋅m/rad","N⋅m/deg°","N⋅mm/rad","N⋅mm/deg°","lb-ft/rad","lb-ft/deg°","lb-in/rad","lb-in/deg°"],"Flow Rate (Volume)":["m³/s","m³/min","m³/h","L/s","L/min","L/h","cm³/s","cm³/min","in³/s","in³/min","ft³/s","CFM","CFM[ft³/min]","CFH","CFH[ft³/h]","yd³/min","yd³/h","gpm(US)","gph(US)","bushel(UK-imperial)/h","bushel(US)/h"],"Flow Rate (Mass)":["kg/s","kg/min","kg/h","g/s","g/min","g/h","slug/s","slug/min","slug/h","lbm/s","lbm/min","lbm/h","oz/s","oz/min","oz/h","tonne/h","short ton/h","long ton/h"],"Speed / Velocity (Linear)":["m/s","mm/s","km/s","mm/min","m/min","km/min","mm/h","m/h","km/h","in/s","fps","fps[ft/second]","fpm","fpm[ft/minute]","mph[mile/h]","knot[kn, kt, or nautical mile/h]"],"Fuel Heat Value (Volume)":["J/m³","J/L","kJ/L","kJ/m³","MJ/m³","GJ/m³","cal(IT)/L","kcal(IT)/m³","cal(TH)/L","kcal(TH)/m³","Wh/L","Wh/m³","kWh/m³","HP Hour/ft³","Btu/gal(US)","Btu/ft³","MM Btu/ft³"],"Fuel Heat Value (Mass)":["J/kg","J/g","kJ/kg","MJ/kg","GJ/kg","cal(IT)/g","kcal(IT)/kg","cal(TH)/g","kcal(TH)/kg","Wh/g","Wh/kg","kWh/kg","HP Hour/lbm","Btu/lbm","MM Btu/lbm","Btu/ton(short)"],"Mass Heat Capacity":["J/(kg·°K)","J/(kg·°C)","J/(g·°K)","J/(g·°C)","Btu/(lbm·°F)"],"Viscosity - Absolute/Dynamic(μ)":["PI[Pa·s]","N·s/m²","kg/m/s","P[Poise]","cP","lb·s/ft²","lbm/ft/s"],"Viscosity - Kinematic":["m²/s","m²/min","m²/hr","St[cm²/s]","Stoke","cm²/min","cm²/hr","cSt[mm²/s]","mm²/min","mm²/hr","ft²/s","ft²/min","ft²/hr","in²/s","in²/min","in²/hr"],"Linear Thermal Expansion Coefficient":["1/°K","1/°C","1/°F","1/°Ra"],"Thermal Conductivity":["W/(m⋅°K)","W/(cm⋅°K)","BTU/(h⋅ft⋅°F)","BTU/(h⋅in⋅°F)"],"Electrical Charge":["C[coulomb]","Ah","ampere-hour","mAh","e[electron]","faraday"],"Electrical Potential Difference (Voltage)":["V","Volt","joule/coulomb","J/C","µV","mV","kV","MV"],"Electrical Resistance(Impedance)":["Ω[Ohm]","µΩ","mΩ","kΩ","MΩ"],"Electrical Capacitance":["F[farad]","pF","nF","µF","mF"],"Electrical Inductance":["H[henry]","µH","mH"],"Electrical Conductance":["S[siemens]","℧","µS","mS","kS"],"Magnetic Flux":["Wb[weber]","nWb","µWb","mWb","cWb","dWb"],"Luminous Flux":["lm[lumen]","cd⋅sr"],"Magnetic Flux Density":["T[tesla]","Wb/m²","µT","G","mT"],"Katalytic Activity":["kat[katal]","mol/s","µkat","mkat","kkat","Mkat"],Radioactivity:["Bq[becquerel]","1/s","µBq","mBq","kBq","MBq","Rd[rutherford]","Ci[curie]"],"Absorbed Dose of Ionizing Radiation":["Gy[gray]","J/kg","µGy","mGy","kGy","MGy"],"Equivalent Dose of Ionizing Radiation":["Sv[sievert]","J/kg","µSv","mSv","kSv","MSv"],"Volumetric Displacement":["m³/rad","m³/rev","L/rev","cc/rev","ft³/rev","in³/rev","gal(US-liquid)/rev"],"Fuel Economy":["km/L","mpg(US)","mile/gal(US-liquid)","mpg(UK)","mile/gal(UK-imperial)","mile/L"],"Fuel Consumption":["m³/m","L/km","L/100km","L/mile","L/100mile","gal(US-liquid)/mile","gal(US-liquid)/100mile","gal(UK-imperial)/mile","gal(UK-imperial)/100mile"],"New Energy Economy (MPGe)":["m/J","km/kWh","km/MJ","MPGe","mile/MJ","mile/kWh","mile/MM Btu"],"New Energy Consumption":["J/m","Wh/km","Wh/mile","kWh/km","kWh/100km","kWh/mile","kWh/100mile","MJ/km","MJ/100km","MJ/mile","MJ/100mile","MM Btu/km","MM Btu/100km","MM Btu/mile","MM Btu/100mile"],"Baud Rate":["bit/s","Bd","kBd","MBd","GBd"],Currency:["$","¢","$1K","$1M","$1B","$1T"],"Impulse / Momentum":["N·s","Newton-second","lb·s","kg·m/s","lbm·fps","lbm·fpm"],"Digital Storage":["bit","kilobit","kibibit","megabit","mebibit","gigabit","gibibit","terabit","tebibit","petabit","pebibit","byte","kilobyte","kibibyte","megabyte","mebibyte","gigabyte","gibibyte","terabyte","tebibyte","petabyte","pebibyte"],"Data Transfer Rate":["bit/s","kilobit/s","kibibit/s","megabit/s","mebibit/s","gigabit/s","gibibit/s","terabit/s","tebibit/s","petabit/s","pebibit/s"]},M={Length:{m:1,"nano[nm]":1/1e9,µm:1/1e6,micron:1/1e6,mm:1/1e3,cm:.01,dm:.1,km:1e3,in:a,"thou[mil, or thousandth of an inch]":a/1e3,"ft-in":a,ft:n,yd:3*n,mile:H*n,"NM[M, nmi, or nautical mile]":W},Mass:{kg:1,g:.001,mg:1/1e6,µg:1/1e9,oz:1/16*o,lbm:o,slug:N,"ton(US/short)":2e3*o,"ton(UK-Imperial/long)":2240*o,tonne:1e3},Time:{"s[second]":1,s:1,minute:60,h:3600,"h[hour]":3600,day:3600*24,week:3600*24*7},ElectricalCurrent:{A:1,"Ampere[amp]":1,mA:.001,µA:1e-6,kA:1e3,MA:1e6,"esu/s":1/3e9},Temperature:{"°K":{c0:1,c1:0},"°C":{c0:1,c1:273.15},"°F":{c0:5/9,c1:255.3722222},"°Ra":{c0:5/9,c1:0}},"Amount of Substance":{mol:1,mmol:.001,kmol:1e3},"Luminous Intensity":{"cd[candela]":1,"lm/sr":1,"cp[candlepower]":1,"cp[candlepower(before 1948)]":.981},Acceleration:{"m/s²":1,"m/min²":1/3600,"mm/s²":.001,"ft/s²":n,"ft/min²":n/3600,"in/s²":a},"Gravitational Constant":{"m³/kg/s²":1,"N⋅m²/kg²":1,"dyn⋅cm²/g²":1e3},"Velocity (Angular)":{"rad/s":1,"rad/min":1/60,"rad/h":1/3600,"deg°/s":Math.PI/180,"deg°/min":Math.PI/180/60,"deg°/h":Math.PI/180/3600,"rpm[rev/min]":2*Math.PI/60,"rev/s":2*Math.PI},"Acceleration (Angular)":{"rad/s²":1,"rad/min²":1/3600,"deg°/s²":Math.PI/180,"deg°/min²":Math.PI/180/3600},Illuminance:{lux:1,"lumen/m²":1,"lm/m²":1,"meter-candle":1,phot:1e4,"foot-candle":1/Math.pow(n,2),fc:1/Math.pow(n,2),"lumen/ft²":1/Math.pow(n,2),"lm/ft²":1/Math.pow(n,2)},Frequency:{Hz:1,"1/s":1,"1/min":1/60,rpm:1/60,"1/hour":1/3600,mHz:1/1e3,kHz:1e3,MHz:1e6,GHz:1e9},Area:{"m²":1,"µm²":Math.pow(1/1e6,2),"mm²":Math.pow(1/1e3,2),"cm²":Math.pow(1/100,2),"km²":1e6,hectare:Math.pow(100,2),"in²":Math.pow(a,2),"ft²":Math.pow(n,2),"yd²":Math.pow(n*3,2),acre:Q*Math.pow(n,2),"mile²":Math.pow(H*n,2)},"Volume / Section Modulus":{"m³":1,"µm³":Math.pow(1/1e6,3),"mm³":Math.pow(1/1e3,3),"cm³":Math.pow(1/100,3),L:1/1e3,mL:1/1e6,"km³":Math.pow(1e3,3),"in³":Math.pow(a,3),"ft³":Math.pow(n,3),"yd³":Math.pow(n*3,3),"gal(UK-imperial)":p*1/1e3,"gal(US-liquid)":g*Math.pow(a,3),"gal(US-dry)":I*Math.pow(a,3),"pint(UK-imperial)":f*p*1/1e3,"pint(US-liquid)":f*g*Math.pow(a,3),"pint(US-dry)":f*I*Math.pow(a,3),"fluid ounce(UK-imperial)":F*f*p/1e3,"fluid ounce(US-liquid)":j*f*g*Math.pow(a,3),"bushel(UK-imperial)":_*p/1e3,"bushel(US-dry)":B*I*Math.pow(a,3),"cup(US-liquid)":Y*g*Math.pow(a,3),"cup(Legal)":X*Math.pow(.01,3),"cup(Metric)":Z*Math.pow(.01,3),"cup(Imperial)":tt*F*f*p/1e3},"Polar Moment of Inertia":{"m⁴":1,"mm⁴":1e-12,"cm⁴":1e-8,"in⁴":Math.pow(a,4),"ft⁴":Math.pow(n,4)},"Moment of Inertia":{"kg⋅m²":1,"g⋅cm²":1/(1e3*1e4),"g⋅mm²":1/(1e3*1e6),"lbm⋅ft²":o*Math.pow(n,2),"lbm⋅in²":o*Math.pow(a,2),"oz⋅in²":o/16*Math.pow(a,2)},Force:{N:1,kN:1e3,MN:1e6,kgf:r,lb:o*r,lbf:o*r,"kip[kilo pound]":1e3*o*r},Angle:{radian:1,rad:1,"deg°":Math.PI/180,revolution:Math.PI*2},"Solid Angle":{"sr[steradian]":1,"m²/m²":1},"BMI-Body Mass Index/Ballistic Coefficient":{"kg/m²":1,"g/cm²":1/1e3/Math.pow(.01,2),"g/mm²":1/1e3/Math.pow(.001,2),"tonne/m²":1e3,"lbm/yd²":o/Math.pow(n*3,2),"lbm/ft²":o/Math.pow(n,2),"lbm/in²":o/Math.pow(a,2),"oz/yd²":o/16/Math.pow(3*n,2),"oz/ft²":o/16/Math.pow(n,2),"oz/in²":o/16/Math.pow(a,2)},Density:{"kg/m³":1,"kg/L":1e3,"g/cm³":1/1e3/Math.pow(.01,3),"g/mm³":1/1e3/Math.pow(.001,3),"lbm/ft³":o/Math.pow(n,3),"lbm/in³":o/Math.pow(a,3)},Energy:{"J[Joule]":1,kJ:1e3,MJ:1e6,GJ:1e9,"TNT Equivalent[kiloton]":1e9*b,Btu:w,"MM Btu":w*1e6,"calorie(IT)":y,"kilo-calorie(IT)":y*1e3,"calorie(TH)":b,"kilo-calorie(TH)":b*1e3,"HP Hour":R*3600,Wh:3600,kWh:3600*1e3,"eV{electron-volt]":1/et},Power:{"W[watt]":1,kW:1e3,MW:1e6,"GW[Gigawatt]":1e9,"Btu/h":w/3600,"Btu/minute":w/60,"MM Btu/h":w*1e6/3600,"calorie(IT)/second":y,"calorie(IT)/minute":y/60,"kilo-calorie(IT)/hour":y*1e3/3600,"calorie(TH)/second":b,"calorie(TH)/minute":b/60,"kilo-calorie(TH)/hour":b*1e3/3600,"lb-ft/second":o*r*n,"lb-ft/minute":o*r*n/60,HP:R,"J/second":1,"J/minute":1/60,"J/h":1/3600,"MJ/h":1e6/3600,"kJ/minute":1e3/60},"Torque, Moment of Force":{Nm:1,kNm:1e3,"lb-in":o*r*a,"kip-in":1e3*o*r*a,"lb-ft":o*r*n,"oz-in":o/16*r*a,"oz-ft":o/16*r*n},"Pressure/Stress":{Pa:1,kPa:1e3,MPa:1e6,GPa:1e9,bar:100*1e3,mbar:100,atm:C,"mm HG":U,"cm HG":U*10,"in HG":U*25.4,"mm W.C.":1/1e3*1e3*r,"m W.C.":1*1e3*r,"in W.C.":a*1e3*r,psf:o*r/Math.pow(n,2),psi:o*r/Math.pow(a,2),ksi:o*r/Math.pow(a,2)*1e3,"ksi{kip/in²]":o*r/Math.pow(a,2)*1e3},"Pressure Drop per Unit Length":{"Pa/m":1,"Pascal/m":1,"kPa/m":1e3,"MPa/km":1e6/1e3,"bar/m":1e5,"mbar/mm":100*1e3,"atm/m":C,"mm HG/m":U,"in HG/ft":U*25.4/n,"mm W.C./m":1/1e3*1e3*r,"m W.C./m":1e3*r,"in W.C./ft":a*1e3*r/n,"in W.C./100 ft":a*1e3*r/n/100,"psf/in":o*r/Math.pow(n,2)/a,"psi/ft":o*r/Math.pow(n,2)/n,"ksi/ft":o*r/Math.pow(n,2)/n*1e3,"Torr/ft":$*C/n,"mTorr/m":$*C/1e3},"Uniformly Distributed (Uniform Line) Load | Stiffness of Linear Spring":{"N/m":1,"N/mm":1e3,"kN/m":1e3,"lb/ft":o*r/n,"kips/ft":1e3*o*r/n,"lb/in":o*r/a},"Stiffness of Rotary Spring":{"N⋅m/rad":1,"N⋅m/deg°":1/Math.PI*180,"N⋅mm/rad":1/1e3,"N⋅mm/deg°":1/1e3/Math.PI*180,"lb-ft/rad":o*r*n,"lb-ft/deg°":o*r*n/(Math.PI/180),"lb-in/rad":o*r*a,"lb-in/deg°":o*r*a/(Math.PI/180)},"Flow Rate (Volume)":{"m³/s":1,"m³/min":1/60,"m³/h":1/3600,"L/s":1/1e3,"L/min":1/1e3/60,"L/h":1/1e3/3600,"cm³/s":1e-6,"cm³/min":1e-6/60,"in³/s":Math.pow(a,3),"in³/min":Math.pow(a,3)/60,"ft³/s":Math.pow(n,3),CFM:Math.pow(n,3)/60,"CFM[ft³/min]":Math.pow(n,3)/60,CFH:Math.pow(n,3)/3600,"CFH[ft³/h]":Math.pow(n,3)/3600,"yd³/min":Math.pow(n*3,3)/60,"yd³/h":Math.pow(n*3,3)/3600,"gpm(US)":g*Math.pow(a,3)/60,"gph(US)":g*Math.pow(a,3)/3600,"bushel(UK-imperial)/h":_*p/1e3/3600,"bushel(US)/h":B*I*Math.pow(a,3)/3600},"Flow Rate (Mass)":{"kg/s":1,"kg/min":1/60,"kg/h":1/3600,"g/s":1/1e3,"g/min":1/1e3/60,"g/h":1/1e3/3600,"slug/s":N,"slug/min":N/60,"slug/h":N/3600,"lbm/s":o,"lbm/min":o/60,"lbm/h":o/3600,"oz/s":o/16,"oz/min":o/16/60,"oz/h":o/16/3600,"tonne/h":1e3/3600,"short ton/h":2e3*o/3600,"long ton/h":2240*o/3600},"Speed / Velocity (Linear)":{"m/s":1,"mm/s":1/1e3,"km/s":1,"mm/min":1/1e3/60,"m/min":1/60,"km/min":1e3/60,"mm/h":1/1e3/3600,"m/h":1/3600,"km/h":1e3/3600,"in/s":a,fps:n,"fps[ft/second]":n,fpm:n/60,"fpm[ft/minute]":n/60,"mph[mile/h]":H*n/3600,"knot[kn, kt, or nautical mile/h]":W/3600},"Electrical Potential Difference (Voltage)":{V:1,Volt:1,"joule/coulomb":1,"J/C":1,µV:1/1e6,mV:1/1e3,kV:1e3,MV:1e6}},L=l=>{if(console.log("getUnitCategory called with unit:",l),!l)return console.warn("Unit is undefined or null"),"Custom";for(const t in k)if(k[t].includes(l))return console.log(`Category found for unit ${l}:`,t),t;return console.warn(`No category found for unit: ${l}`),"Custom"},d=(l,t,e,i)=>{if(t==="ft-in"&&e!=="ft-in")return it(l,e);if(t!=="ft-in"&&e==="ft-in")return nt(l,t);if(i!=="Temperature"){const s=M[i][t]/M[i][e];return l*s}else{const s=M[i][t].c0,m=M[i][t].c1,c=M[i][e].c0,h=M[i][e].c1;return(l*s+m-h)/c}},O=(l,t)=>{let e;if(Number.isInteger(l)?e=l.toString():e=l.toFixed(t).replace(/\.?0+$/,""),Math.abs(parseFloat(e))>=1e3){const i=e.split(".");i[0]=i[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e=i.join(".")}return e},P=l=>{const t=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,e=/(\d+)\'/,i=/(\d+)/;let s=l.match(t);if(s){const m=parseInt(s[1])||0,c=parseInt(s[3])||0,h=parseInt(s[5])||0,v=parseInt(s[6])||1;return D(m,c,h,v)}if(s=l.match(e),s){const m=parseInt(s[1])||0;return D(m,0,0,1)}if(s=l.match(i),s){const m=parseInt(s[1])||0;return D(0,m,0,1)}return parseFloat(l)},D=(l,t,e,i)=>l*12+t+e/i,S=(l,t='1/16"')=>{if(l<0)return`-${S(-l,t)}`;const e=parseInt(t.split("/")[1].replace('"',""));let i=Math.floor(l/12),s=Math.floor(l%12);const m=l-Math.floor(l);let c="";if(m>0&&t!==0){let v=Math.round(m*e);const q=(K,x)=>x?q(x,K%x):K,z=q(v,e);c=` ${v/z}/${e/z}`,c.trim()==="1/1"&&(s++,s>=12&&(i++,s-=12),c="")}let h="";return i>0&&(h+=`${i}'`),i>0&&(s>0||c!=="")&&(h+="-"),s>0&&(h+=`${s}`),c!==""&&(h+=c),(s>0||c!=="")&&(h+='"'),h.trim()},it=(l,t)=>{const e=l*.0254;return d(e,"m",t,"Length")},nt=(l,t)=>d(l,t,"m","Length")/.0254;class E extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.tooltipTimeout=null,this.unitCategory="",this.e3dLogoUrl="https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/shared%2Fassets%2Fimages%2Fe3d-logo2.png?alt=media&token=7064f466-6168-4b8a-b921-4e86115cb492",this.unit="",this.value=0,console.log("PhysicalQuantity constructor called")}connectedCallback(){console.log("connectedCallback called"),this.unit=this.getAttribute("unit")||"mm",console.log("Initial unit:",this.unit),this.updateUnitCategory(),this.inputValue=this.getAttribute("value")||"0",console.log("Initial inputValue:",this.inputValue),this.value=this.parseValue(this.inputValue,this.unit),console.log("Parsed value:",this.value),this.decimalPlaces=parseInt(this.getAttribute("decimal-places"))||2,this.showUnitArrow=!this.hasAttribute("show-unit-arrow")||this.getAttribute("show-unit-arrow")==="true",console.log("Initial state:",{unit:this.unit,value:this.value,unitCategory:this.unitCategory,decimalPlaces:this.decimalPlaces,showUnitArrow:this.showUnitArrow}),this.render(),this.attachEventListeners()}disconnectedCallback(){this.removeEventListeners()}static get observedAttributes(){return["value","unit","decimal-places","show-unit-arrow"]}attributeChangedCallback(t,e,i){if(console.log(`attributeChangedCallback called: ${t}`,{oldValue:e,newValue:i}),t==="value")this.inputValue=i||"0",this.value=this.parseValue(this.inputValue,this.unit),console.log("New value parsed:",this.value);else if(t==="unit"){const s=this.unit,m=this.unitCategory;this.unit=i||"mm",this.updateUnitCategory(),s!==this.unit&&(m===this.unitCategory?(console.log("Converting value:",{from:s,to:this.unit,value:this.value,unitCategory:this.unitCategory}),this.value=d({value:this.value,fromUnit:s,toUnit:this.unit,unitCategory:this.unitCategory})):console.log("Unit category changed, keeping original value"),console.log("New value:",this.value))}else t==="decimal-places"?(this.decimalPlaces=parseInt(i)||2,console.log("New decimal places:",this.decimalPlaces)):t==="show-unit-arrow"&&(this.showUnitArrow=i===null||i==="true",console.log("Show unit arrow:",this.showUnitArrow));this.render()}updateUnitCategory(){console.log("updateUnitCategory called with unit:",this.unit),this.unitCategory=L(this.unit),console.log("Updated unit category:",this.unitCategory)}parseValue(t,e){if(console.log("parseValue called with:",{value:t,unit:e}),typeof t=="string"&&t.trim()==="")return console.log("Empty string value, returning 0"),0;const i=e==="ft-in"?P(t):parseFloat(t)||0;return console.log("Parsed value:",i),i}formatDisplayValue(){return this.unit==="ft-in"?S(this.value):O(this.value,this.decimalPlaces)}handleUnitChange(t){if(t.target.tagName==="SELECT"){const e=t.target.value;console.log("handleUnitChange:",{from:this.unit,to:e,value:this.value,unitCategory:this.unitCategory}),this.value=d(this.value,this.unit,e,this.unitCategory),console.log("Converted value:",this.value),this.unit=e,this.updateUnitCategory(),this.render()}this.updateDropdownWidth()}render(){const t=this.formatDisplayValue();this.shadowRoot.innerHTML=`
|
|
2
|
+
<style>
|
|
3
|
+
:host {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: baseline;
|
|
6
|
+
vertical-align: baseline;
|
|
7
|
+
}
|
|
8
|
+
.quantity {
|
|
9
|
+
display: inline-flex;
|
|
10
|
+
align-items: baseline;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
.value {
|
|
14
|
+
margin-right: 2px;
|
|
15
|
+
margin-left: 2px;
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
.unit-container {
|
|
19
|
+
position: relative;
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
align-items: baseline;
|
|
22
|
+
}
|
|
23
|
+
.unit-container select {
|
|
24
|
+
appearance: ${this.showUnitArrow?"auto":"none"};
|
|
25
|
+
-webkit-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
26
|
+
-moz-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
27
|
+
border-radius: 0.15em;
|
|
28
|
+
border: none;
|
|
29
|
+
margin: 0;
|
|
30
|
+
padding: 0 0.1em 0 0.2em;
|
|
31
|
+
color: blue;
|
|
32
|
+
background-color: lightgray;
|
|
33
|
+
font-family: inherit;
|
|
34
|
+
font-size: 0.9em;
|
|
35
|
+
line-height: normal;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
text-align: left;
|
|
38
|
+
text-align-last: center;
|
|
39
|
+
/* height: 1.1em; */
|
|
40
|
+
vertical-align: baseline;
|
|
41
|
+
min-width: 2.5em;
|
|
42
|
+
}
|
|
43
|
+
.unit-container select::-ms-expand {
|
|
44
|
+
display: ${this.showUnitArrow?"block":"none"};
|
|
45
|
+
}
|
|
46
|
+
/* Custom arrow styles */
|
|
47
|
+
/*
|
|
48
|
+
.unit-container::after {
|
|
49
|
+
content: '▼';
|
|
50
|
+
font-size: 0.7em;
|
|
51
|
+
color: red;
|
|
52
|
+
position: absolute;
|
|
53
|
+
right: 0.3em;
|
|
54
|
+
top: 50%;
|
|
55
|
+
transform: translateY(-50%);
|
|
56
|
+
pointer-events: none;
|
|
57
|
+
}
|
|
58
|
+
*/
|
|
59
|
+
.tooltip {
|
|
60
|
+
position: absolute;
|
|
61
|
+
bottom: 100%;
|
|
62
|
+
left: 50%;
|
|
63
|
+
transform: translateX(-50%);
|
|
64
|
+
padding: 0;
|
|
65
|
+
display: none;
|
|
66
|
+
font-size: 12px;
|
|
67
|
+
pointer-events: none;
|
|
68
|
+
}
|
|
69
|
+
.unit-container:hover .tooltip {
|
|
70
|
+
display: block;
|
|
71
|
+
}
|
|
72
|
+
.tooltip a {
|
|
73
|
+
text-decoration: none;
|
|
74
|
+
color: blue;
|
|
75
|
+
}
|
|
76
|
+
.tooltip a:hover {
|
|
77
|
+
text-decoration: underline;
|
|
78
|
+
}
|
|
79
|
+
</style>
|
|
80
|
+
|
|
81
|
+
<div class="quantity">
|
|
82
|
+
<span class="value">${t}</span>
|
|
83
|
+
<div class="unit-container">
|
|
84
|
+
<select>
|
|
85
|
+
${(k[this.unitCategory]||[this.unit]).map(e=>`<option value="${e}" ${e===this.unit?"selected":""}>
|
|
86
|
+
${e}</option>`).join("")}
|
|
87
|
+
</select>
|
|
88
|
+
|
|
89
|
+
${this.showUnitArrow&&this.unitCategory!=="Custom"?`
|
|
90
|
+
<a class="tooltip" href="https://v2-docs.donwen.com/daily-calculations/unit-converter.html"
|
|
91
|
+
title="Unit Converter for All Categories" target="_blank">
|
|
92
|
+
<img src="${this.e3dLogoUrl}" width="12" />
|
|
93
|
+
</a>
|
|
94
|
+
`:""}
|
|
95
|
+
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
`,this.updateDropdownWidth()}updateDropdownWidth(){const t=this.shadowRoot.querySelector("select");if(!t)return;const e=document.createElement("span");e.style.visibility="hidden",e.style.position="absolute",e.style.whiteSpace="nowrap",e.style.font=window.getComputedStyle(t).font,document.body.appendChild(e),e.textContent=this.unit;const i=e.offsetWidth;document.body.removeChild(e);const s=this.showUnitArrow?16:6,m=this.showUnitArrow?8:0;let h=i+s+m+2;h=Math.max(h,30),t.style.width=`${h}px`}attachEventListeners(){this.shadowRoot.addEventListener("change",this.handleUnitChange.bind(this));const t=this.shadowRoot.querySelector(".unit-container");t&&(t.addEventListener("mouseover",this.handleUnitContainerMouseOver.bind(this)),t.addEventListener("mouseout",this.handleUnitContainerMouseOut.bind(this)))}removeEventListeners(){this.shadowRoot.removeEventListener("change",this.handleUnitChange.bind(this));const t=this.shadowRoot.querySelector(".unit-container");t&&(t.removeEventListener("mouseover",this.handleUnitContainerMouseOver.bind(this)),t.removeEventListener("mouseout",this.handleUnitContainerMouseOut.bind(this)))}handleUnitContainerMouseOver(){const t=this.shadowRoot.querySelector(".tooltip");t&&(this.tooltipTimeout=setTimeout(()=>{t.style.display="block"},1e3))}handleUnitContainerMouseOut(){const t=this.shadowRoot.querySelector(".tooltip");t&&(setTimeout(()=>{t.style.display="none"},2e3),clearTimeout(this.tooltipTimeout))}}class J extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.values=[],this.unit="",this.unitCategory="",this.decimalPlaces=2,this.showUnitArrow=!0}connectedCallback(){this.unit=this.getAttribute("unit")||"cm",this.values=this.getAttribute("values").split(",").map(Number).map(t=>this.parseValue(t,this.unit)),this.unitCategory=L(this.unit),this.decimalPlaces=parseInt(this.getAttribute("decimal-places"))||2,this.showUnitArrow=!this.hasAttribute("show-unit-arrow")||this.getAttribute("show-unit-arrow")==="true",this.render(),this.attachEventListeners()}static get observedAttributes(){return["values","unit","decimal-places","show-unit-arrow"]}attributeChangedCallback(t,e,i){if(t==="values")this.values=i.split(",").map(Number).map(s=>this.parseValue(s,this.unit));else if(t==="unit"){const s=this.unit;this.unit=i,this.unitCategory=L(i),s!==i&&(this.values=this.values.map(m=>d(m,s,i,this.unitCategory)))}else t==="decimal-places"?this.decimalPlaces=parseInt(i)||2:t==="show-unit-arrow"&&(this.showUnitArrow=i===null||i==="true");this.render()}render(){const t=this.values.map(e=>this.formatPairValue(e));this.shadowRoot.innerHTML=`
|
|
99
|
+
<style>
|
|
100
|
+
:host {
|
|
101
|
+
display: inline-flex;
|
|
102
|
+
align-items: baseline;
|
|
103
|
+
vertical-align: baseline;
|
|
104
|
+
}
|
|
105
|
+
.quantity-pair {
|
|
106
|
+
display: inline-flex;
|
|
107
|
+
align-items: baseline;
|
|
108
|
+
position: relative;
|
|
109
|
+
}
|
|
110
|
+
.values {
|
|
111
|
+
margin-right: 2px;
|
|
112
|
+
margin-left: 2px;
|
|
113
|
+
position: relative;
|
|
114
|
+
}
|
|
115
|
+
.unit-container {
|
|
116
|
+
position: relative;
|
|
117
|
+
display: inline-flex;
|
|
118
|
+
align-items: baseline;
|
|
119
|
+
}
|
|
120
|
+
.unit-container select {
|
|
121
|
+
appearance: ${this.showUnitArrow?"auto":"none"};
|
|
122
|
+
-webkit-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
123
|
+
-moz-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
124
|
+
border-radius: 0.15em;
|
|
125
|
+
border: none;
|
|
126
|
+
margin: 0;
|
|
127
|
+
padding: 0 0.1em 0 0.2em;
|
|
128
|
+
color: blue;
|
|
129
|
+
background-color: lightgray;
|
|
130
|
+
font-family: inherit;
|
|
131
|
+
font-size: 0.9em;
|
|
132
|
+
line-height: normal;
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
text-align: left;
|
|
135
|
+
text-align-last: center;
|
|
136
|
+
vertical-align: baseline;
|
|
137
|
+
min-width: 2.5em;
|
|
138
|
+
}
|
|
139
|
+
</style>
|
|
140
|
+
|
|
141
|
+
<div class="quantity-pair">
|
|
142
|
+
<span class="values">(${t.join(", ")})</span>
|
|
143
|
+
<div class="unit-container">
|
|
144
|
+
<select>
|
|
145
|
+
${(k[this.unitCategory]||[this.unit]).map(e=>`<option value="${e}" ${e===this.unit?"selected":""}>
|
|
146
|
+
${e}</option>`).join("")}
|
|
147
|
+
</select>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
`,this.updateDropdownWidth()}updateDropdownWidth(){const t=this.shadowRoot.querySelector("select");if(!t)return;const e=document.createElement("span");e.style.visibility="hidden",e.style.position="absolute",e.style.whiteSpace="nowrap",e.style.font=window.getComputedStyle(t).font,document.body.appendChild(e),e.textContent=this.unit;const i=e.offsetWidth;document.body.removeChild(e);const s=this.showUnitArrow?16:6,m=this.showUnitArrow?8:0;let h=i+s+m+2;h=Math.max(h,30),t.style.width=`${h}px`}attachEventListeners(){this.shadowRoot.addEventListener("change",this.handleUnitChange.bind(this))}parseValue(t,e){return e==="ft-in"?P(t):parseFloat(t)}formatPairValue(t){return this.unit==="ft-in"?S(t):O(t,this.decimalPlaces)}handleUnitChange(t){if(t.target.tagName==="SELECT"){const e=t.target.value;this.values=this.values.map(i=>d(i,this.unit,e,this.unitCategory)),this.unit=e,this.render()}this.updateDropdownWidth()}}class V extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.values=[],this.unit="",this.unitCategory="",this.decimalPlaces=2,this.showUnitArrow=!0,this.format="",this.hasParentheses=!1}connectedCallback(){this.unit=this.getAttribute("unit")||"cm",this.parseTripletValues(this.getAttribute("values")),this.unitCategory=L(this.unit),this.decimalPlaces=parseInt(this.getAttribute("decimal-places"))||2,this.showUnitArrow=!this.hasAttribute("show-unit-arrow")||this.getAttribute("show-unit-arrow")==="true",this.render(),this.attachEventListeners()}static get observedAttributes(){return["values","unit","decimal-places","show-unit-arrow"]}attributeChangedCallback(t,e,i){if(t==="values")this.parseTripletValues(i);else if(t==="unit"){const s=this.unit;this.unit=i,this.unitCategory=L(i),s!==i&&(this.values=this.values.map(m=>d(m,s,i,this.unitCategory)))}else t==="decimal-places"?this.decimalPlaces=parseInt(i)||2:t==="show-unit-arrow"&&(this.showUnitArrow=i===null||i==="true");this.render()}parseValue(t,e){return e==="ft-in"?P(t):parseFloat(t)}parseTripletValues(t){this.format="",this.hasParentheses=t.startsWith("(")&&t.endsWith(")"),this.hasParentheses&&(t=t.slice(1,-1)),t.includes("x")?(this.values=t.split("x").map(e=>this.parseValue(e,this.unit)),this.format="x"):t.includes(",")?(this.values=t.split(",").map(e=>e.trim()).map(e=>this.parseValue(e,this.unit)),this.format="comma"):(this.values=t.split(/\s+/).map(e=>this.parseValue(e,this.unit)),this.format="space")}formatTripletValue(t){return this.unit==="ft-in"?S(t):O(t,this.decimalPlaces)}formatTriplet(t){let e="";const i=t.map(s=>this.formatTripletValue(s));return this.format==="x"?e=`${i[0]} <span class="unit-text">${this.unit}</span> x ${i[1]} <span class="unit-text">${this.unit}</span> x ${i[2]}`:this.format==="comma"?e=i.join(", "):e=i.join(" "),e}render(){const t=this.formatTriplet(this.values);this.shadowRoot.innerHTML=`
|
|
151
|
+
<style>
|
|
152
|
+
:host {
|
|
153
|
+
display: inline-flex;
|
|
154
|
+
align-items: baseline;
|
|
155
|
+
vertical-align: baseline;
|
|
156
|
+
}
|
|
157
|
+
.quantity-triplet {
|
|
158
|
+
display: inline-flex;
|
|
159
|
+
align-items: baseline;
|
|
160
|
+
position: relative;
|
|
161
|
+
}
|
|
162
|
+
.values {
|
|
163
|
+
margin-right: 2px;
|
|
164
|
+
position: relative;
|
|
165
|
+
}
|
|
166
|
+
.unit-text,
|
|
167
|
+
.unit-container,
|
|
168
|
+
.unit-container select {
|
|
169
|
+
color: blue;
|
|
170
|
+
background-color: lightgray;
|
|
171
|
+
font-family: inherit;
|
|
172
|
+
font-size: 0.9em;
|
|
173
|
+
line-height: normal;
|
|
174
|
+
border-radius: 0.15em;
|
|
175
|
+
padding: 0 0.2em;
|
|
176
|
+
}
|
|
177
|
+
.unit-container {
|
|
178
|
+
position: relative;
|
|
179
|
+
display: inline-flex;
|
|
180
|
+
align-items: baseline;
|
|
181
|
+
}
|
|
182
|
+
.unit-container select {
|
|
183
|
+
appearance: ${this.showUnitArrow?"auto":"none"};
|
|
184
|
+
-webkit-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
185
|
+
-moz-appearance: ${this.showUnitArrow?"auto":"none"};
|
|
186
|
+
border: none;
|
|
187
|
+
margin: 0;
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
text-align: left;
|
|
190
|
+
text-align-last: center;
|
|
191
|
+
min-width: 2.5em;
|
|
192
|
+
}
|
|
193
|
+
</style>
|
|
194
|
+
|
|
195
|
+
<span class="quantity-triplet">
|
|
196
|
+
${this.hasParentheses?"(":""}
|
|
197
|
+
<span class="values">${t}</span>
|
|
198
|
+
${this.hasParentheses&&this.format!=="x"?")":""}
|
|
199
|
+
<div class="unit-container">
|
|
200
|
+
<select>
|
|
201
|
+
${(k[this.unitCategory]||[this.unit]).map(e=>`<option value="${e}" ${e===this.unit?"selected":""}>
|
|
202
|
+
${e}</option>`).join("")}
|
|
203
|
+
</select>
|
|
204
|
+
</div>
|
|
205
|
+
${this.hasParentheses&&this.format==="x"?")":""}
|
|
206
|
+
</span>
|
|
207
|
+
`,this.updateDropdownWidth()}updateDropdownWidth(){const t=this.shadowRoot.querySelector("select");if(!t)return;const e=document.createElement("span");e.style.visibility="hidden",e.style.position="absolute",e.style.whiteSpace="nowrap",e.style.font=window.getComputedStyle(t).font,document.body.appendChild(e),e.textContent=this.unit;const i=e.offsetWidth;document.body.removeChild(e);const s=this.showUnitArrow?16:6,m=this.showUnitArrow?8:0;let h=i+s+m+2;h=Math.max(h,30),t.style.width=`${h}px`}attachEventListeners(){this.shadowRoot.addEventListener("change",this.handleUnitChange.bind(this))}handleUnitChange(t){if(t.target.tagName==="SELECT"){const e=t.target.value;this.values=this.values.map(i=>d(i,this.unit,e,this.unitCategory)),this.unit=e,this.render()}this.updateDropdownWidth()}}class G extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.count=0}connectedCallback(){this.render(),this.attachEventListeners()}render(){this.shadowRoot.innerHTML=`
|
|
208
|
+
<style>
|
|
209
|
+
:host {
|
|
210
|
+
display: inline-block;
|
|
211
|
+
font-family: Arial, sans-serif;
|
|
212
|
+
}
|
|
213
|
+
.counter {
|
|
214
|
+
display: flex;
|
|
215
|
+
align-items: center;
|
|
216
|
+
gap: 10px;
|
|
217
|
+
padding: 10px;
|
|
218
|
+
border: 1px solid #ccc;
|
|
219
|
+
border-radius: 5px;
|
|
220
|
+
}
|
|
221
|
+
button {
|
|
222
|
+
font-size: 16px;
|
|
223
|
+
background-color: blue;
|
|
224
|
+
color: red;
|
|
225
|
+
padding: 5px 10px;
|
|
226
|
+
cursor: pointer;
|
|
227
|
+
}
|
|
228
|
+
.count {
|
|
229
|
+
font-size: 18px;
|
|
230
|
+
font-weight: bold;
|
|
231
|
+
}
|
|
232
|
+
</style>
|
|
233
|
+
<div class="counter">
|
|
234
|
+
<button class="decrement">-</button>
|
|
235
|
+
<span class="count">${this.count}</span>
|
|
236
|
+
<button class="increment">+</button>
|
|
237
|
+
</div>
|
|
238
|
+
`}attachEventListeners(){const t=this.shadowRoot.querySelector(".increment"),e=this.shadowRoot.querySelector(".decrement");t.addEventListener("click",()=>this.increment()),e.addEventListener("click",()=>this.decrement())}increment(){this.count++,this.updateCount()}decrement(){this.count--,this.updateCount()}updateCount(){const t=this.shadowRoot.querySelector(".count");t.textContent=this.count}}const T=(l,t)=>{typeof window<"u"&&!customElements.get(l)&&customElements.define(l,t)};T("physical-quantity",E),T("uc-qty",class extends E{}),T("uc-qty-pair",J),T("uc-qty-triplet",V),T("new-component-1",G),u.NewComponent1=G,u.PhysicalQuantity=E,u.UcQtyPair=J,u.UcQtyTriplet=V,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "physical-quantity",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "A web component to represent
|
|
3
|
+
"version": "1.1.86",
|
|
4
|
+
"description": "A web component bundle to represent physical quantities with automated unit conversion.",
|
|
5
5
|
"main": "dist/pq.umd.js",
|
|
6
6
|
"module": "dist/pq.es.js",
|
|
7
7
|
"exports": {
|