import moment from 'moment' /** @constant @type {object} default orbs from https://astro-charts.com/blog/2018/how-customize-orbs-your-charts/ */ export const ASPECTS = { 'conjunction': { level: 'major', angle: 0, defaultOrb: 8 }, 'opposition': { level: 'major', angle: 180, defaultOrb: 8 }, 'trine': { level: 'major', angle: 120, defaultOrb: 8 }, 'square': { level: 'major', angle: 90, defaultOrb: 7 }, 'sextile': { level: 'major', angle: 60, defaultOrb: 6 }, 'quincunx': { level: 'minor', angle: 150, defaultOrb: 5 }, 'quintile': { level: 'minor', angle: 72, defaultOrb: 1 }, 'septile': { level: 'minor', angle: 51.5, defaultOrb: 1 }, 'semi-square': { level: 'minor', angle: 45, defaultOrb: 1 }, 'semi-sextile': { level: 'minor', angle: 30, defaultOrb: 1 } } export const BODIES = { 'sun': { label: 'Sun' }, 'moon': { label: 'Moon' }, 'mercury': { label: 'Mercury' }, 'venus': { label: 'Venus' }, 'mars': { label: 'Mars' }, 'jupiter': { label: 'Jupiter' }, 'saturn': { label: 'Saturn' }, 'uranus': { label: 'Uranus' }, 'neptune': { label: 'Neptune' }, 'pluto': { label: 'Pluto' }, 'chiron': { label: 'Chiron' }, 'sirius': { label: 'Sirius' } } export const POINTS = { 'northnode': { label: 'North Node' }, 'southnode': { label: 'South Node' }, lilith: { label: 'Lilith' } } export const ANGLES = { 'ascendant': { label: 'Ascendant' }, 'midheaven': { label: 'Midheaven' } } export const HOUSES = { '1': { label: 'First' } } export const SIGNS = [ // https://en.wikipedia.org/wiki/Zodiac#Table_of_dates // https://www.inaoep.mx/~frosales/html/zodiac/index.html { key: 'aries', startDate: { tropical: moment.utc([0, 2, 21, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 3, 15, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 3, 19, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([0, 3, 20, 0, 0, 0]).endOf('day'), sidereal: moment.utc([0, 4, 15, 0, 0, 0]).endOf('day'), astronomical: moment.utc([0, 4, 14, 0, 0, 0]).endOf('day') }, zodiacStart: 0, zodiacEnd: 30 }, { key: 'taurus', startDate: { tropical: moment.utc([0, 3, 21, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 4, 16, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 4, 15, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([0, 4, 20, 0, 0, 0]).endOf('day'), sidereal: moment.utc([0, 5, 15, 0, 0, 0]).endOf('day'), astronomical: moment.utc([0, 5, 21, 0, 0, 0]).endOf('day'), }, zodiacStart: 30, zodiacEnd: 60 }, { key: 'gemini', startDate: { tropical: moment.utc([0, 4, 21, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 5, 16, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 5, 22, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([0, 5, 21, 0, 0, 0]).endOf('day'), sidereal: moment.utc([0, 6, 16, 0, 0, 0]).endOf('day'), astronomical: moment.utc([0, 6, 20, 0, 0, 0]).endOf('day') }, zodiacStart: 60, zodiacEnd: 90 }, { key: 'cancer', startDate: { tropical: moment.utc([0, 5, 22, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 6, 17, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 6, 21, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([0, 6, 22, 0, 0, 0]).endOf('day'), sidereal: moment.utc([0, 7, 16, 0, 0, 0]).endOf('day'), astronomical: moment.utc([0, 7, 10, 0, 0, 0]).endOf('day') }, zodiacStart: 90, zodiacEnd: 120 }, { key: 'leo', startDate: { tropical: moment.utc([0, 6, 23, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 7, 17, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 7, 11, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([0, 7, 23, 0, 0, 0]).endOf('day'), sidereal: moment.utc([0, 8, 16, 0, 0, 0]).endOf('day'), astronomical: moment.utc([0, 9, 16, 0, 0, 0]).endOf('day') }, zodiacStart: 120, zodiacEnd: 150 }, { key: 'virgo', startDate: { tropical: moment.utc([0, 7, 24, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 8, 17, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 8, 17, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([0, 8, 22, 0, 0, 0]).endOf('day'), sidereal: moment.utc([0, 9, 17, 0, 0, 0]).endOf('day'), astronomical: moment.utc([0, 9, 31, 0, 0, 0]).endOf('day') }, zodiacStart: 150, zodiacEnd: 180 }, { key: 'libra', startDate: { tropical: moment.utc([0, 8, 23, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 9, 18, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 10, 1, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([0, 9, 23, 0, 0, 0]).endOf('day'), sidereal: moment.utc([0, 10, 16, 0, 0, 0]).endOf('day'), astronomical: moment.utc([0, 10, 23, 0, 0, 0]).endOf('day') }, zodiacStart: 180, zodiacEnd: 210 }, { key: 'scorpio', startDate: { tropical: moment.utc([0, 9, 24, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 10, 17, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 10, 23, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([0, 10, 22, 0, 0, 0]).endOf('day'), sidereal: moment.utc([0, 11, 16, 0, 0, 0]).endOf('day'), astronomical: moment.utc([0, 11, 30, 0, 0, 0]).endOf('day') }, zodiacStart: 210, zodiacEnd: 240 }, { key: 'ophiuchus', startDate: { astronomical: moment.utc([0, 11, 1, 0, 0, 0]).startOf('day') }, endDate: { astronomical: moment.utc([0, 11, 18, 0, 0, 0]).endOf('day') }, zodiacStart: -1, zodiacEnd: -1 }, { key: 'sagittarius', startDate: { tropical: moment.utc([0, 10, 23, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 11, 17, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 11, 19, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([0, 11, 22, 0, 0, 0]).endOf('day'), sidereal: moment.utc([1, 0, 15, 0, 0, 0]).endOf('day'), // add 1 year due to overlap astronomical: moment.utc([1, 0, 19, 0, 0, 0]).endOf('day') // add 1 year due to overlap }, zodiacStart: 240, zodiacEnd: 270 }, { key: 'capricorn', startDate: { tropical: moment.utc([0, 11, 23, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 0, 16, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 0, 20, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([1, 0, 20, 0, 0, 0]).endOf('day'), // add 1 year due to overlap sidereal: moment.utc([0, 1, 14, 0, 0, 0]).endOf('day'), astronomical: moment.utc([0, 1, 16, 0, 0, 0]).endOf('day') }, zodiacStart: 270, zodiacEnd: 300 }, { key: 'aquarius', startDate: { tropical: moment.utc([0, 0, 21, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 1, 15, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 1, 17, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([0, 1, 18, 0, 0, 0]).endOf('day'), sidereal: moment.utc([0, 2, 15, 0, 0, 0]).endOf('day'), astronomical: moment.utc([0, 2, 11, 0, 0, 0]).endOf('day') }, zodiacStart: 300, zodiacEnd: 330 }, { key: 'pisces', startDate: { tropical: moment.utc([0, 1, 19, 0, 0, 0]).startOf('day'), sidereal: moment.utc([0, 2, 16, 0, 0, 0]).startOf('day'), astronomical: moment.utc([0, 2, 12, 0, 0, 0]).startOf('day') }, endDate: { tropical: moment.utc([0, 2, 20, 0, 0, 0]).endOf('day'), sidereal: moment.utc([0, 3, 14, 0, 0, 0]).endOf('day'), astronomical: moment.utc([0, 3, 18, 0, 0, 0]).endOf('day') }, zodiacStart: 330, zodiacEnd: 0 } ]