UNPKG

@observerly/astrometry

Version:

observerly's lightweight, zero-dependency, type safe astrometry library written in Typescript for calculating the position of celestial objects in the sky.

4 lines (3 loc) 2.2 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});// @license Copyright © 2021-2024 observerly const e=new Date(2024,12,28).getTime(),n=()=>(Date.now()>e&&console.warn("The current IERS leap seconds table is out of date. Please update it."),[{ntp:2272060800,unix:63072e6,dtai:10,when:new Date(63072e6)},{ntp:2287785600,unix:787968e5,dtai:11,when:new Date(787968e5)},{ntp:2303683200,unix:946944e5,dtai:12,when:new Date(946944e5)},{ntp:2335219200,unix:1262304e5,dtai:13,when:new Date(1262304e5)},{ntp:2366755200,unix:1577664e5,dtai:14,when:new Date(1577664e5)},{ntp:2398291200,unix:1893024e5,dtai:15,when:new Date(1893024e5)},{ntp:2429913600,unix:2209248e5,dtai:16,when:new Date(2209248e5)},{ntp:2461449600,unix:2524608e5,dtai:17,when:new Date(2524608e5)},{ntp:2492985600,unix:2839968e5,dtai:18,when:new Date(2839968e5)},{ntp:2524521600,unix:3155328e5,dtai:19,when:new Date(3155328e5)},{ntp:2571782400,unix:3627936e5,dtai:20,when:new Date(3627936e5)},{ntp:2603318400,unix:3943296e5,dtai:21,when:new Date(3943296e5)},{ntp:2634854400,unix:4258656e5,dtai:22,when:new Date(4258656e5)},{ntp:2698012800,unix:489024e6,dtai:23,when:new Date(489024e6)},{ntp:2776982400,unix:5679936e5,dtai:24,when:new Date(5679936e5)},{ntp:2840140800,unix:631152e6,dtai:25,when:new Date(631152e6)},{ntp:2871676800,unix:662688e6,dtai:26,when:new Date(662688e6)},{ntp:2918937600,unix:7099488e5,dtai:27,when:new Date(7099488e5)},{ntp:2950473600,unix:7414848e5,dtai:28,when:new Date(7414848e5)},{ntp:2982009600,unix:7730208e5,dtai:29,when:new Date(7730208e5)},{ntp:3029443200,unix:8204544e5,dtai:30,when:new Date(8204544e5)},{ntp:3076704e3,unix:8677152e5,dtai:31,when:new Date(8677152e5)},{ntp:3124137600,unix:9151488e5,dtai:32,when:new Date(9151488e5)},{ntp:3345062400,unix:11360736e5,dtai:33,when:new Date(11360736e5)},{ntp:3439756800,unix:1230768e6,dtai:34,when:new Date(1230768e6)},{ntp:3550089600,unix:13411008e5,dtai:35,when:new Date(13411008e5)},{ntp:3644697600,unix:14357088e5,dtai:36,when:new Date(14357088e5)},{ntp:3692217600,unix:14832288e5,dtai:37,when:new Date(14832288e5)}]),t=n();exports.CURRENT_EXPIRY_UNIX_TIMESTAMP=e;exports.LEAP_SECONDS=t; //# sourceMappingURL=iers.cjs.map