"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./abberation.cjs"),l=require("./astrometry.cjs"),D=require("./common.cjs"),E=require("./conjunction.cjs"),o=require("./constants.cjs"),q=require("./constellations.cjs"),S=require("./coordinates.cjs"),s=require("./earth.cjs"),L=require("./eclipse.cjs"),M=require("./ecliptic.cjs"),T=require("./epoch-BuLOjzKu.cjs"),N=require("./humanize.cjs"),g=require("./iers.cjs"),m=require("./maths.cjs"),e=require("./moon.cjs"),A=require("./night.cjs"),H=require("./nutation.cjs"),R=require("./observation.cjs"),b=require("./utilities-HBcnbrPA.cjs"),O=require("./optics.cjs"),I=require("./orbit.cjs"),t=require("./planets.cjs"),v=require("./precession.cjs"),P=require("./projection.cjs"),f=require("./q.cjs"),p=require("./refraction.cjs"),J=require("./seeing.cjs"),i=require("./sun.cjs"),y=require("./temporal.cjs"),c=require("./transit.cjs"),h=require("./twilight.cjs");// @license Copyright © 2021-2024 observerly const G=(u,a=.167)=>{let n=0;return typeof u!="number"&&u.elevation&&(n=u.elevation),typeof u=="number"&&(n=u),b.convertRadiansToDegrees(Math.sqrt(2*(1-a)*n/o.EARTH_RADIUS))};// @license Copyright © 2021-2024 observerly const C=(u,a)=>{let n=0,r=0;for(let d=0;dg.LEAP_SECONDS[d].unix&&(n=g.LEAP_SECONDS[d].dtai),u>=g.LEAP_SECONDS[d].unix);d++)r=g.LEAP_SECONDS[d].dtai;return r-n};class B extends Date{getInternationalAtomicTime(){const a=new Date("1972-01-01T00:00:00.000+00:00").getTime();let n=0;const r=super.getTime();return rL.EclipseType});exports.getLunarEclipse=L.getLunarEclipse;exports.getSolarEclipse=L.getSolarEclipse;exports.isLunarEclipse=L.isLunarEclipse;exports.isSolarEclipse=L.isSolarEclipse;exports.getEclipticPlane=M.getEclipticPlane;exports.getJulianDate=T.getJulianDate;exports.getModifiedJulianDate=T.getModifiedJulianDate;exports.getNumberOfCenturiesSinceJ2000=T.getNumberOfCenturiesSinceJ2000;exports.formatDegreeToDMSHumanized=N.formatDegreeToDMSHumanized;exports.formatDegreeToHMSHumanized=N.formatDegreeToHMSHumanized;exports.CURRENT_EXPIRY_UNIX_TIMESTAMP=g.CURRENT_EXPIRY_UNIX_TIMESTAMP;exports.LEAP_SECONDS=g.LEAP_SECONDS;exports.interpolate=m.interpolate;exports.interpolateGeodesic=m.interpolateGeodesic;exports.interpolateRank2DArray=m.interpolateRank2DArray;exports.interpolateRank2DGeodesicCoordinateArray=m.interpolateRank2DGeodesicCoordinateArray;exports.LUNAR_SYNODIC_MONTH=e.LUNAR_SYNODIC_MONTH;exports.LUNATION_BASE_JULIAN_DAY=e.LUNATION_BASE_JULIAN_DAY;exports.Phases=e.Phases;exports.getLunarAge=e.getLunarAge;exports.getLunarAngularDiameter=e.getLunarAngularDiameter;exports.getLunarAnnualEquationCorrection=e.getLunarAnnualEquationCorrection;exports.getLunarArgumentOfLatitude=e.getLunarArgumentOfLatitude;exports.getLunarBrownLunationNumber=e.getLunarBrownLunationNumber;exports.getLunarCorrectedEclipticLongitudeOfTheAscendingNode=e.getLunarCorrectedEclipticLongitudeOfTheAscendingNode;exports.getLunarDistance=e.getLunarDistance;exports.getLunarEclipticCoordinate=e.getLunarEclipticCoordinate;exports.getLunarEclipticLatitude=e.getLunarEclipticLatitude;exports.getLunarEclipticLongitude=e.getLunarEclipticLongitude;exports.getLunarElongation=e.getLunarElongation;exports.getLunarEquatorialCoordinate=e.getLunarEquatorialCoordinate;exports.getLunarEvectionCorrection=e.getLunarEvectionCorrection;exports.getLunarIllumination=e.getLunarIllumination;exports.getLunarMeanAnomaly=e.getLunarMeanAnomaly;exports.getLunarMeanAnomalyCorrection=e.getLunarMeanAnomalyCorrection;exports.getLunarMeanEclipticLongitude=e.getLunarMeanEclipticLongitude;exports.getLunarMeanEclipticLongitudeOfTheAscendingNode=e.getLunarMeanEclipticLongitudeOfTheAscendingNode;exports.getLunarMeanGeometricLongitude=e.getLunarMeanGeometricLongitude;exports.getLunarPhase=e.getLunarPhase;exports.getLunarPhaseAngle=e.getLunarPhaseAngle;exports.getLunarTrueAnomaly=e.getLunarTrueAnomaly;exports.getLunarTrueEclipticLongitude=e.getLunarTrueEclipticLongitude;exports.getNextFullMoon=e.getNextFullMoon;exports.getNextNewMoon=e.getNextNewMoon;exports.isBlueMoon=e.isBlueMoon;exports.isFullMoon=e.isFullMoon;exports.isNewMoon=e.isNewMoon;exports.names=e.names;exports.getGeneralizedSolarTransit=A.getGeneralizedSolarTransit;exports.getNight=A.getNight;exports.getSolarTransit=A.getSolarTransit;exports.isNight=A.isNight;exports.getCorrectionToEquatorialForNutation=H.getCorrectionToEquatorialForNutation;exports.Observation=R.Observation;exports.getFieldOfView=O.getFieldOfView;exports.getFocalRatio=O.getFocalRatio;exports.getFOrbitalParameter=I.getFOrbitalParameter;exports.getPlanetaryEquationOfCenter=t.getPlanetaryEquationOfCenter;exports.getPlanetaryGeocentricEclipticCoordinate=t.getPlanetaryGeocentricEclipticCoordinate;exports.getPlanetaryHeliocentricDistance=t.getPlanetaryHeliocentricDistance;exports.getPlanetaryHeliocentricEclipticLatitude=t.getPlanetaryHeliocentricEclipticLatitude;exports.getPlanetaryHeliocentricEclipticLongitude=t.getPlanetaryHeliocentricEclipticLongitude;exports.getPlanetaryMeanAnomaly=t.getPlanetaryMeanAnomaly;exports.getPlanetaryPositions=t.getPlanetaryPositions;exports.getPlanetaryTrueAnomaly=t.getPlanetaryTrueAnomaly;exports.jupiter=t.jupiter;exports.mars=t.mars;exports.mercury=t.mercury;exports.neptune=t.neptune;exports.planets=t.planets;exports.saturn=t.saturn;exports.uranus=t.uranus;exports.venus=t.venus;exports.getCorrectionToEquatorialForPrecessionOfEquinoxes=v.getCorrectionToEquatorialForPrecessionOfEquinoxes;exports.convertHorizontalToStereo=P.convertHorizontalToStereo;exports.convertStereoToHorizontal=P.convertStereoToHorizontal;exports.getQIndex=f.getQIndex;exports.q=f.q;exports.getAirmass=p.getAirmass;exports.getCorrectionToHorizontalForRefraction=p.getCorrectionToHorizontalForRefraction;exports.getRefraction=p.getRefraction;exports.getAirmassPickering=J.getAirmassPickering;exports.SOLAR_TROPICAL_YEAR=i.SOLAR_TROPICAL_YEAR;exports.getHeliocentricJulianDate=i.getHeliocentricJulianDate;exports.getSolarAngularDiameter=i.getSolarAngularDiameter;exports.getSolarDistance=i.getSolarDistance;exports.getSolarEclipticCoordinate=i.getSolarEclipticCoordinate;exports.getSolarEclipticLongitude=i.getSolarEclipticLongitude;exports.getSolarEquationOfCenter=i.getSolarEquationOfCenter;exports.getSolarEquatorialCoordinate=i.getSolarEquatorialCoordinate;exports.getSolarMeanAnomaly=i.getSolarMeanAnomaly;exports.getSolarMeanGeometricLongitude=i.getSolarMeanGeometricLongitude;exports.getSolarTrueAnomaly=i.getSolarTrueAnomaly;exports.getSolarTrueGeometricLongitude=i.getSolarTrueGeometricLongitude;exports.convertGreenwhichSiderealTimeToUniversalTime=y.convertGreenwhichSiderealTimeToUniversalTime;exports.convertJulianDateToUTC=y.convertJulianDateToUTC;exports.convertLocalSiderealTimeToGreenwhichSiderealTime=y.convertLocalSiderealTimeToGreenwhichSiderealTime;exports.doesBodyRiseOrSet=c.doesBodyRiseOrSet;exports.getBodyNextRise=c.getBodyNextRise;exports.getBodyNextSet=c.getBodyNextSet;exports.getBodyTransit=c.getBodyTransit;exports.isBodyAboveHorizon=c.isBodyAboveHorizon;exports.isBodyCircumpolar=c.isBodyCircumpolar;exports.isBodyVisible=c.isBodyVisible;exports.isBodyVisibleForNight=c.isBodyVisibleForNight;exports.isTransitInstance=c.isTransitInstance;Object.defineProperty(exports,"Twilight",{enumerable:!0,get:()=>h.Twilight});exports.getTwilightBandsForDay=h.getTwilightBandsForDay;exports.DateTime=B;exports.getLocalHorizon=G; //# sourceMappingURL=index.cjs.map