-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlength.js
1 lines (1 loc) · 2.02 KB
/
length.js
1
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";var r;function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.r(e);var u=(o(r={m:1,fm:Math.pow(10,-15),pm:Math.pow(10,-12),a:Math.pow(10,-10),nm:Math.pow(10,-9),um:Math.pow(10,-6),mm:Math.pow(10,-3),cm:Math.pow(10,-2),dm:Math.pow(10,-1),dam:Math.pow(10,1),hm:Math.pow(10,2),km:Math.pow(10,3),nmi:1852,in:.0254,ft:.3048,yd:.9144,ftm:1.8288,fth:1.85,mi:1609.344,ld:384402e3,au:149597870700,ly:9460730472580800,pc:648e3/Math.PI*149597870700,mil:254e-7,ha:.1016,sp:.2286,miu:1609.347219,nma:1853.184,ch:20.1168,li:.201168,bc:.008467,rd:5.0292,fur:201.168,pi:.004233,pia:.004217,pif:.004512,pt:352778e-9,ptp:352778e-9,ptd:352778e-9,ptm:375e-6,pta:.0003514598},"au",149597870691),o(r,"cho",109.09),o(r,"chr",.30303),o(r,"bu",1.666667),o(r,"chi",.3333333),o(r,"cun",.03333333),o(r,"fen",.003333333),o(r,"hao",3333333e-11),o(r,"hu",3.333333e-7),r),i=Object.keys(u);function a(t){return i.indexOf(t)>-1}n.d(e,"isUnit",function(){return a});window.c={length:function(t,e,n){return!(!a(e)||!a(n))&&t*u[e]/u[n]},isUnit:a,validUnits:function(){return i}};e.default=c}]);