UNPKG

@pillowfication/eorzea-weather

Version:
1,145 lines (1,049 loc) 35.5 kB
const WEATHER_BLIZZARDS = 'blizzards'; const WEATHER_CLEAR_SKIES = 'clearSkies'; const WEATHER_CLOUDS = 'clouds'; const WEATHER_DUST_STORMS = 'dustStorms'; const WEATHER_FAIR_SKIES = 'fairSkies'; const WEATHER_FOG = 'fog'; const WEATHER_GALES = 'gales'; const WEATHER_GLOOM = 'gloom'; const WEATHER_HEAT_WAVES = 'heatWaves'; const WEATHER_RAIN = 'rain'; const WEATHER_SHOWERS = 'showers'; const WEATHER_SNOW = 'snow'; const WEATHER_THUNDER = 'thunder'; const WEATHER_THUNDERSTORMS = 'thunderstorms'; const WEATHER_UMBRAL_STATIC = 'umbralStatic'; const WEATHER_UMBRAL_WIND = 'umbralWind'; const WEATHER_WIND = 'wind'; var weathers = /*#__PURE__*/Object.freeze({ __proto__: null, WEATHER_BLIZZARDS: WEATHER_BLIZZARDS, WEATHER_CLEAR_SKIES: WEATHER_CLEAR_SKIES, WEATHER_CLOUDS: WEATHER_CLOUDS, WEATHER_DUST_STORMS: WEATHER_DUST_STORMS, WEATHER_FAIR_SKIES: WEATHER_FAIR_SKIES, WEATHER_FOG: WEATHER_FOG, WEATHER_GALES: WEATHER_GALES, WEATHER_GLOOM: WEATHER_GLOOM, WEATHER_HEAT_WAVES: WEATHER_HEAT_WAVES, WEATHER_RAIN: WEATHER_RAIN, WEATHER_SHOWERS: WEATHER_SHOWERS, WEATHER_SNOW: WEATHER_SNOW, WEATHER_THUNDER: WEATHER_THUNDER, WEATHER_THUNDERSTORMS: WEATHER_THUNDERSTORMS, WEATHER_UMBRAL_STATIC: WEATHER_UMBRAL_STATIC, WEATHER_UMBRAL_WIND: WEATHER_UMBRAL_WIND, WEATHER_WIND: WEATHER_WIND }); const REGION_EUREKA = 'eureka'; const REGION_GYR_ABANIA = 'gyrAbania'; const REGION_ISHGARD_AND_SURROUNDING_AREAS = 'ishgardAndSurroundingAreas'; const REGION_LA_NOSCEA = 'laNoscea'; const REGION_NORVRANDT = 'norvrandt'; const REGION_OTHERS = 'others'; const REGION_THANALAN = 'thanalan'; const REGION_THE_BLACK_SHROUD = 'theBlackShroud'; const REGION_THE_FAR_EAST = 'theFarEast'; var REGIONS = /*#__PURE__*/Object.freeze({ __proto__: null, REGION_EUREKA: REGION_EUREKA, REGION_GYR_ABANIA: REGION_GYR_ABANIA, REGION_ISHGARD_AND_SURROUNDING_AREAS: REGION_ISHGARD_AND_SURROUNDING_AREAS, REGION_LA_NOSCEA: REGION_LA_NOSCEA, REGION_NORVRANDT: REGION_NORVRANDT, REGION_OTHERS: REGION_OTHERS, REGION_THANALAN: REGION_THANALAN, REGION_THE_BLACK_SHROUD: REGION_THE_BLACK_SHROUD, REGION_THE_FAR_EAST: REGION_THE_FAR_EAST }); const ZONE_AMH_ARAENG = 'amhAraeng'; const ZONE_AZYS_LLA = 'azysLla'; const ZONE_CENTRAL_SHROUD = 'centralShroud'; const ZONE_CENTRAL_THANALAN = 'centralThanalan'; const ZONE_COERTHAS_CENTRAL_HIGHLANDS = 'coerthasCentralHighlands'; const ZONE_COERTHAS_WESTERN_HIGHLANDS = 'coerthasWesternHighlands'; const ZONE_EAST_SHROUD = 'eastShroud'; const ZONE_EASTERN_LA_NOSCEA = 'easternLaNoscea'; const ZONE_EASTERN_THANALAN = 'easternThanalan'; const ZONE_EULMORE = 'eulmore'; const ZONE_EUREKA_ANEMOS = 'eurekaAnemos'; const ZONE_EUREKA_HYDATOS = 'eurekaHydatos'; const ZONE_EUREKA_PAGOS = 'eurekaPagos'; const ZONE_EUREKA_PYROS = 'eurekaPyros'; const ZONE_GRIDANIA = 'gridania'; const ZONE_IDYLLSHIRE = 'idyllshire'; const ZONE_IL_MHEG = 'ilMheg'; const ZONE_ISHGARD = 'ishgard'; const ZONE_KHOLUSIA = 'kholusia'; const ZONE_KUGANE = 'kugane'; const ZONE_LAKELAND = 'lakeland'; const ZONE_LIMSA_LOMINSA = 'limsaLominsa'; const ZONE_LOWER_LA_NOSCEA = 'lowerLaNoscea'; const ZONE_MIDDLE_LA_NOSCEA = 'middleLaNoscea'; const ZONE_MIST = 'mist'; const ZONE_MOR_DHONA = 'morDhona'; const ZONE_NORTH_SHROUD = 'northShroud'; const ZONE_NORTHERN_THANALAN = 'northernThanalan'; const ZONE_OUTER_LA_NOSCEA = 'outerLaNoscea'; const ZONE_RHALGRS_REACH = 'rhalgrsReach'; const ZONE_SHIROGANE = 'shirogane'; const ZONE_SOUTH_SHROUD = 'southShroud'; const ZONE_SOUTHERN_THANALAN = 'southernThanalan'; const ZONE_THE_AZIM_STEPPE = 'theAzimSteppe'; const ZONE_THE_BOZJAN_SOUTHERN_FRONT = 'theBozjanSouthernFront'; const ZONE_THE_CHURNING_MISTS = 'theChurningMists'; const ZONE_THE_CRYSTARIUM = 'theCrystarium'; const ZONE_THE_DIADEM = 'theDiadem'; const ZONE_THE_DRAVANIAN_FORELANDS = 'theDravanianForelands'; const ZONE_THE_DRAVANIAN_HINTERLANDS = 'theDravanianHinterlands'; const ZONE_THE_FRINGES = 'theFringes'; const ZONE_THE_GOBLET = 'theGoblet'; const ZONE_THE_LAVENDER_BEDS = 'theLavenderBeds'; const ZONE_THE_LOCHS = 'theLochs'; const ZONE_THE_PEAKS = 'thePeaks'; const ZONE_THE_RAKTIKA_GREATWOOD = 'theRaktikaGreatwood'; const ZONE_THE_RUBY_SEA = 'theRubySea'; const ZONE_THE_SEA_OF_CLOUDS = 'theSeaOfClouds'; const ZONE_THE_TEMPEST = 'theTempest'; const ZONE_ULDAH = 'uldah'; const ZONE_UPPER_LA_NOSCEA = 'upperLaNoscea'; const ZONE_WESTERN_LA_NOSCEA = 'westernLaNoscea'; const ZONE_WESTERN_THANALAN = 'westernThanalan'; const ZONE_WOLVES_DEN_PIER = 'wolvesDenPier'; const ZONE_YANXIA = 'yanxia'; var ZONES = /*#__PURE__*/Object.freeze({ __proto__: null, ZONE_AMH_ARAENG: ZONE_AMH_ARAENG, ZONE_AZYS_LLA: ZONE_AZYS_LLA, ZONE_CENTRAL_SHROUD: ZONE_CENTRAL_SHROUD, ZONE_CENTRAL_THANALAN: ZONE_CENTRAL_THANALAN, ZONE_COERTHAS_CENTRAL_HIGHLANDS: ZONE_COERTHAS_CENTRAL_HIGHLANDS, ZONE_COERTHAS_WESTERN_HIGHLANDS: ZONE_COERTHAS_WESTERN_HIGHLANDS, ZONE_EAST_SHROUD: ZONE_EAST_SHROUD, ZONE_EASTERN_LA_NOSCEA: ZONE_EASTERN_LA_NOSCEA, ZONE_EASTERN_THANALAN: ZONE_EASTERN_THANALAN, ZONE_EULMORE: ZONE_EULMORE, ZONE_EUREKA_ANEMOS: ZONE_EUREKA_ANEMOS, ZONE_EUREKA_HYDATOS: ZONE_EUREKA_HYDATOS, ZONE_EUREKA_PAGOS: ZONE_EUREKA_PAGOS, ZONE_EUREKA_PYROS: ZONE_EUREKA_PYROS, ZONE_GRIDANIA: ZONE_GRIDANIA, ZONE_IDYLLSHIRE: ZONE_IDYLLSHIRE, ZONE_IL_MHEG: ZONE_IL_MHEG, ZONE_ISHGARD: ZONE_ISHGARD, ZONE_KHOLUSIA: ZONE_KHOLUSIA, ZONE_KUGANE: ZONE_KUGANE, ZONE_LAKELAND: ZONE_LAKELAND, ZONE_LIMSA_LOMINSA: ZONE_LIMSA_LOMINSA, ZONE_LOWER_LA_NOSCEA: ZONE_LOWER_LA_NOSCEA, ZONE_MIDDLE_LA_NOSCEA: ZONE_MIDDLE_LA_NOSCEA, ZONE_MIST: ZONE_MIST, ZONE_MOR_DHONA: ZONE_MOR_DHONA, ZONE_NORTH_SHROUD: ZONE_NORTH_SHROUD, ZONE_NORTHERN_THANALAN: ZONE_NORTHERN_THANALAN, ZONE_OUTER_LA_NOSCEA: ZONE_OUTER_LA_NOSCEA, ZONE_RHALGRS_REACH: ZONE_RHALGRS_REACH, ZONE_SHIROGANE: ZONE_SHIROGANE, ZONE_SOUTH_SHROUD: ZONE_SOUTH_SHROUD, ZONE_SOUTHERN_THANALAN: ZONE_SOUTHERN_THANALAN, ZONE_THE_AZIM_STEPPE: ZONE_THE_AZIM_STEPPE, ZONE_THE_BOZJAN_SOUTHERN_FRONT: ZONE_THE_BOZJAN_SOUTHERN_FRONT, ZONE_THE_CHURNING_MISTS: ZONE_THE_CHURNING_MISTS, ZONE_THE_CRYSTARIUM: ZONE_THE_CRYSTARIUM, ZONE_THE_DIADEM: ZONE_THE_DIADEM, ZONE_THE_DRAVANIAN_FORELANDS: ZONE_THE_DRAVANIAN_FORELANDS, ZONE_THE_DRAVANIAN_HINTERLANDS: ZONE_THE_DRAVANIAN_HINTERLANDS, ZONE_THE_FRINGES: ZONE_THE_FRINGES, ZONE_THE_GOBLET: ZONE_THE_GOBLET, ZONE_THE_LAVENDER_BEDS: ZONE_THE_LAVENDER_BEDS, ZONE_THE_LOCHS: ZONE_THE_LOCHS, ZONE_THE_PEAKS: ZONE_THE_PEAKS, ZONE_THE_RAKTIKA_GREATWOOD: ZONE_THE_RAKTIKA_GREATWOOD, ZONE_THE_RUBY_SEA: ZONE_THE_RUBY_SEA, ZONE_THE_SEA_OF_CLOUDS: ZONE_THE_SEA_OF_CLOUDS, ZONE_THE_TEMPEST: ZONE_THE_TEMPEST, ZONE_ULDAH: ZONE_ULDAH, ZONE_UPPER_LA_NOSCEA: ZONE_UPPER_LA_NOSCEA, ZONE_WESTERN_LA_NOSCEA: ZONE_WESTERN_LA_NOSCEA, ZONE_WESTERN_THANALAN: ZONE_WESTERN_THANALAN, ZONE_WOLVES_DEN_PIER: ZONE_WOLVES_DEN_PIER, ZONE_YANXIA: ZONE_YANXIA }); // https://www.reddit.com/r/ffxiv/comments/33tqok/cloudy_with_a_chance_of_garlok_predicting_eorzean/ var calculateForecastTarget = (lDate) => { const unixtime = Math.floor(lDate / 1000); const bell = unixtime / 175; const increment = ((bell + 8) - (bell % 8)) % 24; const totalDays = ((unixtime / 4200) << 32) >>> 0; const calcBase = (totalDays * 0x64) + increment; const step1 = ((calcBase << 0xB) ^ calcBase) >>> 0; const step2 = ((step1 >>> 8) ^ step1) >>> 0; return step2 % 0x64 }; const amhAraeng = [ { c: 45, w: WEATHER_FAIR_SKIES }, { c: 60, w: WEATHER_CLOUDS }, { c: 70, w: WEATHER_DUST_STORMS }, { c: 80, w: WEATHER_HEAT_WAVES }, { c: 100, w: WEATHER_CLEAR_SKIES } ]; const azysLla = [ { c: 35, w: WEATHER_FAIR_SKIES }, { c: 70, w: WEATHER_CLOUDS }, { c: 100, w: WEATHER_THUNDER } ]; const centralShroud = [ { c: 5, w: WEATHER_THUNDER }, { c: 20, w: WEATHER_RAIN }, { c: 30, w: WEATHER_FOG }, { c: 40, w: WEATHER_CLOUDS }, { c: 55, w: WEATHER_FAIR_SKIES }, { c: 85, w: WEATHER_CLEAR_SKIES }, { c: 100, w: WEATHER_FAIR_SKIES } ]; const centralThanalan = [ { c: 15, w: WEATHER_DUST_STORMS }, { c: 55, w: WEATHER_CLEAR_SKIES }, { c: 75, w: WEATHER_FAIR_SKIES }, { c: 85, w: WEATHER_CLOUDS }, { c: 95, w: WEATHER_FOG }, { c: 100, w: WEATHER_RAIN } ]; const coerthasCentralHighlands = [ { c: 20, w: WEATHER_BLIZZARDS }, { c: 60, w: WEATHER_SNOW }, { c: 70, w: WEATHER_FAIR_SKIES }, { c: 75, w: WEATHER_CLEAR_SKIES }, { c: 90, w: WEATHER_CLOUDS }, { c: 100, w: WEATHER_FOG } ]; const coerthasWesternHighlands = [ { c: 20, w: WEATHER_BLIZZARDS }, { c: 60, w: WEATHER_SNOW }, { c: 70, w: WEATHER_FAIR_SKIES }, { c: 75, w: WEATHER_CLEAR_SKIES }, { c: 90, w: WEATHER_CLOUDS }, { c: 100, w: WEATHER_FOG } ]; const eastShroud = [ { c: 5, w: WEATHER_THUNDER }, { c: 20, w: WEATHER_RAIN }, { c: 30, w: WEATHER_FOG }, { c: 40, w: WEATHER_CLOUDS }, { c: 55, w: WEATHER_FAIR_SKIES }, { c: 85, w: WEATHER_CLEAR_SKIES }, { c: 100, w: WEATHER_FAIR_SKIES } ]; const easternLaNoscea = [ { c: 5, w: WEATHER_FOG }, { c: 50, w: WEATHER_CLEAR_SKIES }, { c: 80, w: WEATHER_FAIR_SKIES }, { c: 90, w: WEATHER_CLOUDS }, { c: 95, w: WEATHER_RAIN }, { c: 100, w: WEATHER_SHOWERS } ]; const easternThanalan = [ { c: 40, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 70, w: WEATHER_CLOUDS }, { c: 80, w: WEATHER_FOG }, { c: 85, w: WEATHER_RAIN }, { c: 100, w: WEATHER_SHOWERS } ]; const eulmore = [ { c: 10, w: WEATHER_GALES }, { c: 20, w: WEATHER_RAIN }, { c: 30, w: WEATHER_FOG }, { c: 45, w: WEATHER_CLOUDS }, { c: 85, w: WEATHER_FAIR_SKIES }, { c: 100, w: WEATHER_CLEAR_SKIES } ]; const eurekaAnemos = [ { c: 30, w: WEATHER_FAIR_SKIES }, { c: 60, w: WEATHER_GALES }, { c: 90, w: WEATHER_SHOWERS }, { c: 100, w: WEATHER_SNOW } ]; const eurekaHydatos = [ { c: 12, w: WEATHER_FAIR_SKIES }, { c: 34, w: WEATHER_SHOWERS }, { c: 56, w: WEATHER_GLOOM }, { c: 78, w: WEATHER_THUNDERSTORMS }, { c: 100, w: WEATHER_SNOW } ]; const eurekaPagos = [ { c: 10, w: WEATHER_FAIR_SKIES }, { c: 28, w: WEATHER_FOG }, { c: 46, w: WEATHER_HEAT_WAVES }, { c: 64, w: WEATHER_SNOW }, { c: 82, w: WEATHER_THUNDER }, { c: 100, w: WEATHER_BLIZZARDS } ]; const eurekaPyros = [ { c: 10, w: WEATHER_FAIR_SKIES }, { c: 28, w: WEATHER_HEAT_WAVES }, { c: 46, w: WEATHER_THUNDER }, { c: 64, w: WEATHER_BLIZZARDS }, { c: 82, w: WEATHER_UMBRAL_WIND }, { c: 100, w: WEATHER_SNOW } ]; const gridania = [ { c: 5, w: WEATHER_RAIN }, { c: 20, w: WEATHER_RAIN }, { c: 30, w: WEATHER_FOG }, { c: 40, w: WEATHER_CLOUDS }, { c: 55, w: WEATHER_FAIR_SKIES }, { c: 85, w: WEATHER_CLEAR_SKIES }, { c: 100, w: WEATHER_FAIR_SKIES } ]; const idyllshire = [ { c: 10, w: WEATHER_CLOUDS }, { c: 20, w: WEATHER_FOG }, { c: 30, w: WEATHER_RAIN }, { c: 40, w: WEATHER_SHOWERS }, { c: 70, w: WEATHER_CLEAR_SKIES }, { c: 100, w: WEATHER_FAIR_SKIES } ]; const ilMheg = [ { c: 10, w: WEATHER_RAIN }, { c: 20, w: WEATHER_FOG }, { c: 35, w: WEATHER_CLOUDS }, { c: 45, w: WEATHER_THUNDERSTORMS }, { c: 60, w: WEATHER_CLEAR_SKIES }, { c: 100, w: WEATHER_FAIR_SKIES } ]; const ishgard = [ { c: 60, w: WEATHER_SNOW }, { c: 70, w: WEATHER_FAIR_SKIES }, { c: 75, w: WEATHER_CLEAR_SKIES }, { c: 90, w: WEATHER_CLOUDS }, { c: 100, w: WEATHER_FOG } ]; const kholusia = [ { c: 10, w: WEATHER_GALES }, { c: 20, w: WEATHER_RAIN }, { c: 30, w: WEATHER_FOG }, { c: 45, w: WEATHER_CLOUDS }, { c: 85, w: WEATHER_FAIR_SKIES }, { c: 100, w: WEATHER_CLEAR_SKIES } ]; const kugane = [ { c: 10, w: WEATHER_RAIN }, { c: 20, w: WEATHER_FOG }, { c: 40, w: WEATHER_CLOUDS }, { c: 80, w: WEATHER_FAIR_SKIES }, { c: 100, w: WEATHER_CLEAR_SKIES } ]; const lakeland = [ { c: 20, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 75, w: WEATHER_CLOUDS }, { c: 85, w: WEATHER_FOG }, { c: 95, w: WEATHER_RAIN }, { c: 100, w: WEATHER_THUNDERSTORMS } ]; const limsaLominsa = [ { c: 20, w: WEATHER_CLOUDS }, { c: 50, w: WEATHER_CLEAR_SKIES }, { c: 80, w: WEATHER_FAIR_SKIES }, { c: 90, w: WEATHER_FOG }, { c: 100, w: WEATHER_RAIN } ]; const lowerLaNoscea = [ { c: 20, w: WEATHER_CLOUDS }, { c: 50, w: WEATHER_CLEAR_SKIES }, { c: 70, w: WEATHER_FAIR_SKIES }, { c: 80, w: WEATHER_WIND }, { c: 90, w: WEATHER_FOG }, { c: 100, w: WEATHER_RAIN } ]; const middleLaNoscea = [ { c: 20, w: WEATHER_CLOUDS }, { c: 50, w: WEATHER_CLEAR_SKIES }, { c: 70, w: WEATHER_FAIR_SKIES }, { c: 80, w: WEATHER_WIND }, { c: 90, w: WEATHER_FOG }, { c: 100, w: WEATHER_RAIN } ]; const mist = [ { c: 20, w: WEATHER_CLOUDS }, { c: 50, w: WEATHER_CLEAR_SKIES }, { c: 70, w: WEATHER_FAIR_SKIES }, { c: 80, w: WEATHER_FAIR_SKIES }, { c: 90, w: WEATHER_FOG }, { c: 100, w: WEATHER_RAIN } ]; const morDhona = [ { c: 15, w: WEATHER_CLOUDS }, { c: 30, w: WEATHER_FOG }, { c: 60, w: WEATHER_GLOOM }, { c: 75, w: WEATHER_CLEAR_SKIES }, { c: 100, w: WEATHER_FAIR_SKIES } ]; const northShroud = [ { c: 5, w: WEATHER_FOG }, { c: 10, w: WEATHER_SHOWERS }, { c: 25, w: WEATHER_RAIN }, { c: 30, w: WEATHER_FOG }, { c: 40, w: WEATHER_CLOUDS }, { c: 70, w: WEATHER_FAIR_SKIES }, { c: 100, w: WEATHER_CLEAR_SKIES } ]; const northernThanalan = [ { c: 5, w: WEATHER_CLEAR_SKIES }, { c: 20, w: WEATHER_FAIR_SKIES }, { c: 50, w: WEATHER_CLOUDS }, { c: 100, w: WEATHER_FOG } ]; const outerLaNoscea = [ { c: 30, w: WEATHER_CLEAR_SKIES }, { c: 50, w: WEATHER_FAIR_SKIES }, { c: 70, w: WEATHER_CLOUDS }, { c: 85, w: WEATHER_FOG }, { c: 100, w: WEATHER_RAIN } ]; const rhalgrsReach = [ { c: 15, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 80, w: WEATHER_CLOUDS }, { c: 90, w: WEATHER_FOG }, { c: 100, w: WEATHER_THUNDER } ]; const shirogane = [ { c: 10, w: WEATHER_RAIN }, { c: 20, w: WEATHER_FOG }, { c: 40, w: WEATHER_CLOUDS }, { c: 80, w: WEATHER_FAIR_SKIES }, { c: 100, w: WEATHER_CLEAR_SKIES } ]; const southShroud = [ { c: 5, w: WEATHER_FOG }, { c: 10, w: WEATHER_THUNDERSTORMS }, { c: 25, w: WEATHER_THUNDER }, { c: 30, w: WEATHER_FOG }, { c: 40, w: WEATHER_CLOUDS }, { c: 70, w: WEATHER_FAIR_SKIES }, { c: 100, w: WEATHER_CLEAR_SKIES } ]; const southernThanalan = [ { c: 20, w: WEATHER_HEAT_WAVES }, { c: 60, w: WEATHER_CLEAR_SKIES }, { c: 80, w: WEATHER_FAIR_SKIES }, { c: 90, w: WEATHER_CLOUDS }, { c: 100, w: WEATHER_FOG } ]; const theAzimSteppe = [ { c: 5, w: WEATHER_GALES }, { c: 10, w: WEATHER_WIND }, { c: 17, w: WEATHER_RAIN }, { c: 25, w: WEATHER_FOG }, { c: 35, w: WEATHER_CLOUDS }, { c: 75, w: WEATHER_FAIR_SKIES }, { c: 100, w: WEATHER_CLEAR_SKIES } ]; const theBozjanSouthernFront = [ { c: 53, w: WEATHER_FAIR_SKIES }, { c: 65, w: WEATHER_RAIN }, { c: 77, w: WEATHER_WIND }, { c: 89, w: WEATHER_THUNDER }, { c: 100, w: WEATHER_DUST_STORMS } ]; const theChurningMists = [ { c: 10, w: WEATHER_CLOUDS }, { c: 20, w: WEATHER_GALES }, { c: 40, w: WEATHER_UMBRAL_STATIC }, { c: 70, w: WEATHER_CLEAR_SKIES }, { c: 100, w: WEATHER_FAIR_SKIES } ]; const theCrystarium = [ { c: 20, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 75, w: WEATHER_CLOUDS }, { c: 85, w: WEATHER_FOG }, { c: 95, w: WEATHER_RAIN }, { c: 100, w: WEATHER_THUNDERSTORMS } ]; const theDiadem = [ { c: 30, w: WEATHER_FAIR_SKIES }, { c: 60, w: WEATHER_FOG }, { c: 90, w: WEATHER_WIND }, { c: 100, w: WEATHER_UMBRAL_WIND } ]; const theDravanianForelands = [ { c: 10, w: WEATHER_CLOUDS }, { c: 20, w: WEATHER_FOG }, { c: 30, w: WEATHER_THUNDER }, { c: 40, w: WEATHER_DUST_STORMS }, { c: 70, w: WEATHER_CLEAR_SKIES }, { c: 100, w: WEATHER_FAIR_SKIES } ]; const theDravanianHinterlands = [ { c: 10, w: WEATHER_CLOUDS }, { c: 20, w: WEATHER_FOG }, { c: 30, w: WEATHER_RAIN }, { c: 40, w: WEATHER_SHOWERS }, { c: 70, w: WEATHER_CLEAR_SKIES }, { c: 100, w: WEATHER_FAIR_SKIES } ]; const theFringes = [ { c: 15, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 80, w: WEATHER_CLOUDS }, { c: 90, w: WEATHER_FOG }, { c: 100, w: WEATHER_THUNDER } ]; const theGoblet = [ { c: 40, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 85, w: WEATHER_CLOUDS }, { c: 95, w: WEATHER_FOG }, { c: 100, w: WEATHER_RAIN } ]; const theLavenderBeds = [ { c: 5, w: WEATHER_CLOUDS }, { c: 20, w: WEATHER_RAIN }, { c: 30, w: WEATHER_FOG }, { c: 40, w: WEATHER_CLOUDS }, { c: 55, w: WEATHER_FAIR_SKIES }, { c: 85, w: WEATHER_CLEAR_SKIES }, { c: 100, w: WEATHER_FAIR_SKIES } ]; const theLochs = [ { c: 20, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 80, w: WEATHER_CLOUDS }, { c: 90, w: WEATHER_FOG }, { c: 100, w: WEATHER_THUNDERSTORMS } ]; const thePeaks = [ { c: 10, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 75, w: WEATHER_CLOUDS }, { c: 85, w: WEATHER_FOG }, { c: 95, w: WEATHER_WIND }, { c: 100, w: WEATHER_DUST_STORMS } ]; const theRaktikaGreatwood = [ { c: 10, w: WEATHER_FOG }, { c: 20, w: WEATHER_RAIN }, { c: 30, w: WEATHER_UMBRAL_WIND }, { c: 45, w: WEATHER_CLEAR_SKIES }, { c: 85, w: WEATHER_FAIR_SKIES }, { c: 100, w: WEATHER_CLOUDS } ]; const theRubySea = [ { c: 10, w: WEATHER_THUNDER }, { c: 20, w: WEATHER_WIND }, { c: 35, w: WEATHER_CLOUDS }, { c: 75, w: WEATHER_FAIR_SKIES }, { c: 100, w: WEATHER_CLEAR_SKIES } ]; const theSeaOfClouds = [ { c: 30, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 70, w: WEATHER_CLOUDS }, { c: 80, w: WEATHER_FOG }, { c: 90, w: WEATHER_WIND }, { c: 100, w: WEATHER_UMBRAL_WIND } ]; const theTempest = [ { c: 20, w: WEATHER_CLOUDS }, { c: 80, w: WEATHER_FAIR_SKIES }, { c: 100, w: WEATHER_CLEAR_SKIES } ]; const uldah = [ { c: 40, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 85, w: WEATHER_CLOUDS }, { c: 95, w: WEATHER_FOG }, { c: 100, w: WEATHER_RAIN } ]; const upperLaNoscea = [ { c: 30, w: WEATHER_CLEAR_SKIES }, { c: 50, w: WEATHER_FAIR_SKIES }, { c: 70, w: WEATHER_CLOUDS }, { c: 80, w: WEATHER_FOG }, { c: 90, w: WEATHER_THUNDER }, { c: 100, w: WEATHER_THUNDERSTORMS } ]; const westernLaNoscea = [ { c: 10, w: WEATHER_FOG }, { c: 40, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 80, w: WEATHER_CLOUDS }, { c: 90, w: WEATHER_WIND }, { c: 100, w: WEATHER_GALES } ]; const westernThanalan = [ { c: 40, w: WEATHER_CLEAR_SKIES }, { c: 60, w: WEATHER_FAIR_SKIES }, { c: 85, w: WEATHER_CLOUDS }, { c: 95, w: WEATHER_FOG }, { c: 100, w: WEATHER_RAIN } ]; const wolvesDenPier = [ { c: 20, w: WEATHER_CLOUDS }, { c: 50, w: WEATHER_CLEAR_SKIES }, { c: 80, w: WEATHER_FAIR_SKIES }, { c: 90, w: WEATHER_FOG }, { c: 100, w: WEATHER_THUNDERSTORMS } ]; const yanxia = [ { c: 5, w: WEATHER_SHOWERS }, { c: 15, w: WEATHER_RAIN }, { c: 25, w: WEATHER_FOG }, { c: 40, w: WEATHER_CLOUDS }, { c: 80, w: WEATHER_FAIR_SKIES }, { c: 100, w: WEATHER_CLEAR_SKIES } ]; var chances = /*#__PURE__*/Object.freeze({ __proto__: null, amhAraeng: amhAraeng, azysLla: azysLla, centralShroud: centralShroud, centralThanalan: centralThanalan, coerthasCentralHighlands: coerthasCentralHighlands, coerthasWesternHighlands: coerthasWesternHighlands, eastShroud: eastShroud, easternLaNoscea: easternLaNoscea, easternThanalan: easternThanalan, eulmore: eulmore, eurekaAnemos: eurekaAnemos, eurekaHydatos: eurekaHydatos, eurekaPagos: eurekaPagos, eurekaPyros: eurekaPyros, gridania: gridania, idyllshire: idyllshire, ilMheg: ilMheg, ishgard: ishgard, kholusia: kholusia, kugane: kugane, lakeland: lakeland, limsaLominsa: limsaLominsa, lowerLaNoscea: lowerLaNoscea, middleLaNoscea: middleLaNoscea, mist: mist, morDhona: morDhona, northShroud: northShroud, northernThanalan: northernThanalan, outerLaNoscea: outerLaNoscea, rhalgrsReach: rhalgrsReach, shirogane: shirogane, southShroud: southShroud, southernThanalan: southernThanalan, theAzimSteppe: theAzimSteppe, theBozjanSouthernFront: theBozjanSouthernFront, theChurningMists: theChurningMists, theCrystarium: theCrystarium, theDiadem: theDiadem, theDravanianForelands: theDravanianForelands, theDravanianHinterlands: theDravanianHinterlands, theFringes: theFringes, theGoblet: theGoblet, theLavenderBeds: theLavenderBeds, theLochs: theLochs, thePeaks: thePeaks, theRaktikaGreatwood: theRaktikaGreatwood, theRubySea: theRubySea, theSeaOfClouds: theSeaOfClouds, theTempest: theTempest, uldah: uldah, upperLaNoscea: upperLaNoscea, westernLaNoscea: westernLaNoscea, westernThanalan: westernThanalan, wolvesDenPier: wolvesDenPier, yanxia: yanxia }); var en = { "weathers.blizzards": "Blizzards", "weathers.clearSkies": "Clear Skies", "weathers.clouds": "Clouds", "weathers.dustStorms": "Dust Storms", "weathers.fairSkies": "Fair Skies", "weathers.fog": "Fog", "weathers.gales": "Gales", "weathers.gloom": "Gloom", "weathers.heatWaves": "Heat Waves", "weathers.rain": "Rain", "weathers.showers": "Showers", "weathers.snow": "Snow", "weathers.thunder": "Thunder", "weathers.thunderstorms": "Thunderstorms", "weathers.umbralStatic": "Umbral Static", "weathers.umbralWind": "Umbral Wind", "weathers.wind": "Wind", "regions.eureka": "Eureka", "regions.gyrAbania": "Gyr Abania", "regions.ishgardAndSurroundingAreas": "Ishgard and Surrounding Areas", "regions.laNoscea": "La Noscea", "regions.norvrandt": "Norvrandt", "regions.others": "Others", "regions.thanalan": "Thanalan", "regions.theBlackShroud": "The Black Shroud", "regions.theFarEast": "The Far East", "zones.amhAraeng": "Amh Araeng", "zones.azysLla": "Azys Lla", "zones.centralShroud": "Central Shroud", "zones.centralThanalan": "Central Thanalan", "zones.coerthasCentralHighlands": "Coerthas Central Highlands", "zones.coerthasWesternHighlands": "Coerthas Western Highlands", "zones.eastShroud": "East Shroud", "zones.easternLaNoscea": "Eastern La Noscea", "zones.easternThanalan": "Eastern Thanalan", "zones.eulmore": "Eulmore", "zones.eurekaAnemos": "Eureka Anemos", "zones.eurekaHydatos": "Eureka Hydatos", "zones.eurekaPagos": "Eureka Pagos", "zones.eurekaPyros": "Eureka Pyros", "zones.gridania": "Gridania", "zones.idyllshire": "Idyllshire", "zones.ilMheg": "Il Mheg", "zones.ishgard": "Ishgard", "zones.kholusia": "Kholusia", "zones.kugane": "Kugane", "zones.lakeland": "Lakeland", "zones.limsaLominsa": "Limsa Lominsa", "zones.lowerLaNoscea": "Lower La Noscea", "zones.middleLaNoscea": "Middle La Noscea", "zones.mist": "Mist", "zones.morDhona": "Mor Dhona", "zones.northShroud": "North Shroud", "zones.northernThanalan": "Northern Thanalan", "zones.outerLaNoscea": "Outer La Noscea", "zones.rhalgrsReach": "Rhalgr's Reach", "zones.shirogane": "Shirogane", "zones.southShroud": "South Shroud", "zones.southernThanalan": "Southern Thanalan", "zones.theAzimSteppe": "The Azim Steppe", "zones.theBozjanSouthernFront": "The Bozjan Southern Front", "zones.theChurningMists": "The Churning Mists", "zones.theCrystarium": "The Crystarium", "zones.theDiadem": "The Diadem", "zones.theDravanianForelands": "The Dravanian Forelands", "zones.theDravanianHinterlands": "The Dravanian Hinterlands", "zones.theFringes": "The Fringes", "zones.theGoblet": "The Goblet", "zones.theLavenderBeds": "The Lavender Beds", "zones.theLochs": "The Lochs", "zones.thePeaks": "The Peaks", "zones.theRaktikaGreatwood": "The Rak'tika Greatwood", "zones.theRubySea": "The Ruby Sea", "zones.theSeaOfClouds": "The Sea of Clouds", "zones.theTempest": "The Tempest", "zones.uldah": "Ul'dah", "zones.upperLaNoscea": "Upper La Noscea", "zones.westernLaNoscea": "Western La Noscea", "zones.westernThanalan": "Western Thanalan", "zones.wolvesDenPier": "Wolves' Den Pier", "zones.yanxia": "Yanxia" }; var ja = { "weathers.blizzards": "吹雪", "weathers.clearSkies": "快晴", "weathers.clouds": "曇り", "weathers.dustStorms": "砂塵", "weathers.fairSkies": "晴れ", "weathers.fog": "霧", "weathers.gales": "暴風", "weathers.gloom": "妖霧", "weathers.heatWaves": "灼熱波", "weathers.rain": "雨", "weathers.showers": "暴雨", "weathers.snow": "雪", "weathers.thunder": "雷", "weathers.thunderstorms": "雷雨", "weathers.umbralStatic": "放電", "weathers.umbralWind": "霊風", "weathers.wind": "風", "regions.eureka": "Eureka", "regions.gyrAbania": "Gyr Abania", "regions.ishgardAndSurroundingAreas": "Ishgard and Surrounding Areas", "regions.laNoscea": "La Noscea", "regions.norvrandt": "Norvrandt", "regions.others": "Others", "regions.thanalan": "Thanalan", "regions.theBlackShroud": "The Black Shroud", "regions.theFarEast": "The Far East", "zones.amhAraeng": "アム・アレーン", "zones.azysLla": "アジス・ラー", "zones.centralShroud": "黒衣森:中央森林", "zones.centralThanalan": "中央ザナラーン", "zones.coerthasCentralHighlands": "クルザス中央高地", "zones.coerthasWesternHighlands": "クルザス西部高地", "zones.eastShroud": "黒衣森:東部森林", "zones.easternLaNoscea": "東ラノシア", "zones.easternThanalan": "東ザナラーン", "zones.eulmore": "ユールモア", "zones.eurekaAnemos": "エウレカ:アネモス帯", "zones.eurekaHydatos": "エウレカ:ヒュダトス帯", "zones.eurekaPagos": "エウレカ:パゴス帯", "zones.eurekaPyros": "エウレカ:ピューロス帯", "zones.gridania": "グリダニア", "zones.idyllshire": "イデルシャイア", "zones.ilMheg": "妖精郷イル・メグ", "zones.ishgard": "イシュガルド", "zones.kholusia": "コルシア島", "zones.kugane": "クガネ", "zones.lakeland": "レイクランド", "zones.limsaLominsa": "リムサ・ロミンサ", "zones.lowerLaNoscea": "低地ラノシア", "zones.middleLaNoscea": "中央ラノシア", "zones.mist": "ミスト・ヴィレッジ", "zones.morDhona": "モードゥナ", "zones.northernThanalan": "北ザナラーン", "zones.northShroud": "黒衣森:北部森林", "zones.outerLaNoscea": "外地ラノシア", "zones.rhalgrsReach": "ラールガーズリーチ", "zones.shirogane": "シロガネ", "zones.southShroud": "黒衣森:南部森林", "zones.southernThanalan": "南ザナラーン", "zones.theAzimSteppe": "アジムステップ", "zones.theBozjanSouthernFront": "The Bozjan Southern Front", "zones.theChurningMists": "ドラヴァニア雲海", "zones.theCrystarium": "クリスタリウム", "zones.theDiadem": "ディアデム諸島", "zones.theDravanianForelands": "高地ドラヴァニア", "zones.theDravanianHinterlands": "低地ドラヴァニア", "zones.theFringes": "ギラバニア辺境地帯", "zones.theGoblet": "ゴブレットビュート", "zones.theLavenderBeds": "ラベンダーベッド", "zones.theLochs": "ギラバニア湖畔地帯", "zones.thePeaks": "ギラバニア山岳地帯", "zones.theRaktikaGreatwood": "ラケティカ大森林", "zones.theRubySea": "紅玉海", "zones.theSeaOfClouds": "アバラシア雲海", "zones.theTempest": "テンペスト", "zones.uldah": "ウルダハ", "zones.upperLaNoscea": "高地ラノシア", "zones.westernLaNoscea": "西ラノシア", "zones.westernThanalan": "西ザナラーン", "zones.wolvesDenPier": "ウルヴズジェイル係船場", "zones.yanxia": "ヤンサ" }; var locales = /*#__PURE__*/Object.freeze({ __proto__: null, en: en, ja: ja }); const DEFAULT_LOCALE = 'en'; function toUpperSnake (str) { return str.replace(/[A-Z]/g, (w) => `_${w}`).toUpperCase() } class EorzeaWeather { constructor ({ locale = DEFAULT_LOCALE } = {}) { this.locale = locale; } getWeather (zoneId, date = Date.now()) { EorzeaWeather.validateZone(zoneId); const weatherId = this._getWeather(zoneId, date); return this.translateWeather(weatherId) } _getWeather (zoneId, date = Date.now()) { const weatherChance = calculateForecastTarget(date); for (const { c: chance, w: weather } of chances[zoneId]) { if (chance > weatherChance) { return weather } } } getWeatherChance (date = Date.now()) { return calculateForecastTarget(date) } translateWeather (weatherId) { return locales[this.locale][`weathers.${weatherId}`] } translateRegion (regionId) { return locales[this.locale][`regions.${regionId}`] } translateZone (zoneId) { return locales[this.locale][`zones.${zoneId}`] } static validateRegion (regionId) { if (!regionId || !REGIONS[`REGION_${toUpperSnake(regionId)}`]) { throw new TypeError(`'${regionId}' is undefined region ID.`) } } static validateZone (zoneId) { if (!zoneId || !ZONES[`ZONE_${toUpperSnake(zoneId)}`]) { throw new TypeError(`'${zoneId}' is undefined zone ID.`) } } static translateWeather (weatherId, locale) { return locales[locale][`weathers.${weatherId}`] } static translateRegion (regionId, locale) { return locales[locale][`regions.${regionId}`] } static translateZone (zoneId, locale) { return locales[locale][`zones.${zoneId}`] } } const eureka = [ ZONE_EUREKA_ANEMOS, ZONE_EUREKA_PAGOS, ZONE_EUREKA_PYROS, ZONE_EUREKA_HYDATOS ]; const gyrAbania = [ ZONE_RHALGRS_REACH, ZONE_THE_FRINGES, ZONE_THE_PEAKS, ZONE_THE_LOCHS ]; const ishgardAndSurroundingAreas = [ ZONE_ISHGARD, ZONE_COERTHAS_CENTRAL_HIGHLANDS, ZONE_COERTHAS_WESTERN_HIGHLANDS, ZONE_THE_SEA_OF_CLOUDS, ZONE_AZYS_LLA, ZONE_IDYLLSHIRE, ZONE_THE_DRAVANIAN_FORELANDS, ZONE_THE_DRAVANIAN_HINTERLANDS, ZONE_THE_CHURNING_MISTS ]; const laNoscea = [ ZONE_LIMSA_LOMINSA, ZONE_MIDDLE_LA_NOSCEA, ZONE_LOWER_LA_NOSCEA, ZONE_EASTERN_LA_NOSCEA, ZONE_WESTERN_LA_NOSCEA, ZONE_UPPER_LA_NOSCEA, ZONE_OUTER_LA_NOSCEA, ZONE_WOLVES_DEN_PIER ]; const norvrandt = [ ZONE_THE_CRYSTARIUM, ZONE_EULMORE, ZONE_LAKELAND, ZONE_KHOLUSIA, ZONE_AMH_ARAENG, ZONE_IL_MHEG, ZONE_THE_RAKTIKA_GREATWOOD, ZONE_THE_TEMPEST ]; const others = [ ZONE_MOR_DHONA, ZONE_MIST, ZONE_THE_LAVENDER_BEDS, ZONE_THE_GOBLET, ZONE_SHIROGANE, ZONE_THE_DIADEM, ZONE_THE_BOZJAN_SOUTHERN_FRONT ]; const thanalan = [ ZONE_ULDAH, ZONE_WESTERN_THANALAN, ZONE_CENTRAL_THANALAN, ZONE_EASTERN_THANALAN, ZONE_SOUTHERN_THANALAN, ZONE_NORTHERN_THANALAN // ZONE_GOLD_SAUCER ]; const theBlackShroud = [ ZONE_GRIDANIA, ZONE_CENTRAL_SHROUD, ZONE_EAST_SHROUD, ZONE_SOUTH_SHROUD, ZONE_NORTH_SHROUD ]; const theFarEast = [ ZONE_KUGANE, ZONE_THE_RUBY_SEA, ZONE_YANXIA, ZONE_THE_AZIM_STEPPE // ZONE_THE_DOMAN_ENCLAVE ]; var regions = /*#__PURE__*/Object.freeze({ __proto__: null, eureka: eureka, gyrAbania: gyrAbania, ishgardAndSurroundingAreas: ishgardAndSurroundingAreas, laNoscea: laNoscea, norvrandt: norvrandt, others: others, thanalan: thanalan, theBlackShroud: theBlackShroud, theFarEast: theFarEast }); EorzeaWeather.WEATHER_BLIZZARDS = WEATHER_BLIZZARDS; EorzeaWeather.WEATHER_CLEAR_SKIES = WEATHER_CLEAR_SKIES; EorzeaWeather.WEATHER_CLOUDS = WEATHER_CLOUDS; EorzeaWeather.WEATHER_DUST_STORMS = WEATHER_DUST_STORMS; EorzeaWeather.WEATHER_FAIR_SKIES = WEATHER_FAIR_SKIES; EorzeaWeather.WEATHER_FOG = WEATHER_FOG; EorzeaWeather.WEATHER_GALES = WEATHER_GALES; EorzeaWeather.WEATHER_GLOOM = WEATHER_GLOOM; EorzeaWeather.WEATHER_HEAT_WAVES = WEATHER_HEAT_WAVES; EorzeaWeather.WEATHER_RAIN = WEATHER_RAIN; EorzeaWeather.WEATHER_SHOWERS = WEATHER_SHOWERS; EorzeaWeather.WEATHER_SNOW = WEATHER_SNOW; EorzeaWeather.WEATHER_THUNDER = WEATHER_THUNDER; EorzeaWeather.WEATHER_THUNDERSTORMS = WEATHER_THUNDERSTORMS; EorzeaWeather.WEATHER_UMBRAL_STATIC = WEATHER_UMBRAL_STATIC; EorzeaWeather.WEATHER_UMBRAL_WIND = WEATHER_UMBRAL_WIND; EorzeaWeather.WEATHER_WIND = WEATHER_WIND; EorzeaWeather.REGION_EUREKA = REGION_EUREKA; EorzeaWeather.REGION_GYR_ABANIA = REGION_GYR_ABANIA; EorzeaWeather.REGION_ISHGARD_AND_SURROUNDING_AREAS = REGION_ISHGARD_AND_SURROUNDING_AREAS; EorzeaWeather.REGION_LA_NOSCEA = REGION_LA_NOSCEA; EorzeaWeather.REGION_NORVRANDT = REGION_NORVRANDT; EorzeaWeather.REGION_OTHERS = REGION_OTHERS; EorzeaWeather.REGION_THANALAN = REGION_THANALAN; EorzeaWeather.REGION_THE_BLACK_SHROUD = REGION_THE_BLACK_SHROUD; EorzeaWeather.REGION_THE_FAR_EAST = REGION_THE_FAR_EAST; EorzeaWeather.ZONE_AMH_ARAENG = ZONE_AMH_ARAENG; EorzeaWeather.ZONE_AZYS_LLA = ZONE_AZYS_LLA; EorzeaWeather.ZONE_CENTRAL_SHROUD = ZONE_CENTRAL_SHROUD; EorzeaWeather.ZONE_CENTRAL_THANALAN = ZONE_CENTRAL_THANALAN; EorzeaWeather.ZONE_COERTHAS_CENTRAL_HIGHLANDS = ZONE_COERTHAS_CENTRAL_HIGHLANDS; EorzeaWeather.ZONE_COERTHAS_WESTERN_HIGHLANDS = ZONE_COERTHAS_WESTERN_HIGHLANDS; EorzeaWeather.ZONE_EAST_SHROUD = ZONE_EAST_SHROUD; EorzeaWeather.ZONE_EASTERN_LA_NOSCEA = ZONE_EASTERN_LA_NOSCEA; EorzeaWeather.ZONE_EASTERN_THANALAN = ZONE_EASTERN_THANALAN; EorzeaWeather.ZONE_EULMORE = ZONE_EULMORE; EorzeaWeather.ZONE_EUREKA_ANEMOS = ZONE_EUREKA_ANEMOS; EorzeaWeather.ZONE_EUREKA_HYDATOS = ZONE_EUREKA_HYDATOS; EorzeaWeather.ZONE_EUREKA_PAGOS = ZONE_EUREKA_PAGOS; EorzeaWeather.ZONE_EUREKA_PYROS = ZONE_EUREKA_PYROS; EorzeaWeather.ZONE_GRIDANIA = ZONE_GRIDANIA; EorzeaWeather.ZONE_IDYLLSHIRE = ZONE_IDYLLSHIRE; EorzeaWeather.ZONE_IL_MHEG = ZONE_IL_MHEG; EorzeaWeather.ZONE_ISHGARD = ZONE_ISHGARD; EorzeaWeather.ZONE_KHOLUSIA = ZONE_KHOLUSIA; EorzeaWeather.ZONE_KUGANE = ZONE_KUGANE; EorzeaWeather.ZONE_LAKELAND = ZONE_LAKELAND; EorzeaWeather.ZONE_LIMSA_LOMINSA = ZONE_LIMSA_LOMINSA; EorzeaWeather.ZONE_LOWER_LA_NOSCEA = ZONE_LOWER_LA_NOSCEA; EorzeaWeather.ZONE_MIDDLE_LA_NOSCEA = ZONE_MIDDLE_LA_NOSCEA; EorzeaWeather.ZONE_MIST = ZONE_MIST; EorzeaWeather.ZONE_MOR_DHONA = ZONE_MOR_DHONA; EorzeaWeather.ZONE_NORTH_SHROUD = ZONE_NORTH_SHROUD; EorzeaWeather.ZONE_NORTHERN_THANALAN = ZONE_NORTHERN_THANALAN; EorzeaWeather.ZONE_OUTER_LA_NOSCEA = ZONE_OUTER_LA_NOSCEA; EorzeaWeather.ZONE_RHALGRS_REACH = ZONE_RHALGRS_REACH; EorzeaWeather.ZONE_SHIROGANE = ZONE_SHIROGANE; EorzeaWeather.ZONE_SOUTH_SHROUD = ZONE_SOUTH_SHROUD; EorzeaWeather.ZONE_SOUTHERN_THANALAN = ZONE_SOUTHERN_THANALAN; EorzeaWeather.ZONE_THE_AZIM_STEPPE = ZONE_THE_AZIM_STEPPE; EorzeaWeather.ZONE_THE_CHURNING_MISTS = ZONE_THE_CHURNING_MISTS; EorzeaWeather.ZONE_THE_CRYSTARIUM = ZONE_THE_CRYSTARIUM; EorzeaWeather.ZONE_THE_DIADEM = ZONE_THE_DIADEM; EorzeaWeather.ZONE_THE_DRAVANIAN_FORELANDS = ZONE_THE_DRAVANIAN_FORELANDS; EorzeaWeather.ZONE_THE_DRAVANIAN_HINTERLANDS = ZONE_THE_DRAVANIAN_HINTERLANDS; EorzeaWeather.ZONE_THE_FRINGES = ZONE_THE_FRINGES; EorzeaWeather.ZONE_THE_GOBLET = ZONE_THE_GOBLET; EorzeaWeather.ZONE_THE_LAVENDER_BEDS = ZONE_THE_LAVENDER_BEDS; EorzeaWeather.ZONE_THE_LOCHS = ZONE_THE_LOCHS; EorzeaWeather.ZONE_THE_PEAKS = ZONE_THE_PEAKS; EorzeaWeather.ZONE_THE_RAKTIKA_GREATWOOD = ZONE_THE_RAKTIKA_GREATWOOD; EorzeaWeather.ZONE_THE_RUBY_SEA = ZONE_THE_RUBY_SEA; EorzeaWeather.ZONE_THE_SEA_OF_CLOUDS = ZONE_THE_SEA_OF_CLOUDS; EorzeaWeather.ZONE_THE_TEMPEST = ZONE_THE_TEMPEST; EorzeaWeather.ZONE_ULDAH = ZONE_ULDAH; EorzeaWeather.ZONE_UPPER_LA_NOSCEA = ZONE_UPPER_LA_NOSCEA; EorzeaWeather.ZONE_WESTERN_LA_NOSCEA = ZONE_WESTERN_LA_NOSCEA; EorzeaWeather.ZONE_WESTERN_THANALAN = ZONE_WESTERN_THANALAN; EorzeaWeather.ZONE_WOLVES_DEN_PIER = ZONE_WOLVES_DEN_PIER; EorzeaWeather.ZONE_YANXIA = ZONE_YANXIA; export default EorzeaWeather; export { REGIONS, weathers as WEATHERS, ZONES, chances, regions };