@math.gl/earth 0.0.0-stage → 5.0.0-alpha.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/README.md +14 -2
  2. package/dist/geoid/create-geoid-from-grid.d.ts +15 -0
  3. package/dist/geoid/create-geoid-from-grid.d.ts.map +1 -0
  4. package/dist/geoid/create-geoid-from-grid.js +38 -0
  5. package/dist/geoid/create-geoid-from-grid.js.map +1 -0
  6. package/dist/geoid/geoid.d.ts +60 -0
  7. package/dist/geoid/geoid.d.ts.map +1 -0
  8. package/dist/geoid/geoid.js +261 -0
  9. package/dist/geoid/geoid.js.map +1 -0
  10. package/dist/geoid/index.cjs +727 -0
  11. package/dist/geoid/index.cjs.map +6 -0
  12. package/dist/geoid/index.d.ts +5 -0
  13. package/dist/geoid/index.d.ts.map +1 -0
  14. package/dist/geoid/index.js +7 -0
  15. package/dist/geoid/index.js.map +1 -0
  16. package/dist/geoid/parse-pgm.d.ts +12 -0
  17. package/dist/geoid/parse-pgm.d.ts.map +1 -0
  18. package/dist/geoid/parse-pgm.js +183 -0
  19. package/dist/geoid/parse-pgm.js.map +1 -0
  20. package/dist/index.cjs +2646 -0
  21. package/dist/index.cjs.map +6 -0
  22. package/dist/index.d.ts +4 -0
  23. package/dist/index.d.ts.map +1 -0
  24. package/dist/index.js +7 -0
  25. package/dist/index.js.map +1 -0
  26. package/dist/sun/astronomy.cjs +1729 -0
  27. package/dist/sun/astronomy.cjs.map +6 -0
  28. package/dist/sun/astronomy.d.ts +359 -0
  29. package/dist/sun/astronomy.d.ts.map +1 -0
  30. package/dist/sun/astronomy.js +181 -0
  31. package/dist/sun/astronomy.js.map +1 -0
  32. package/dist/sun/celestial.d.ts +4 -0
  33. package/dist/sun/celestial.d.ts.map +1 -0
  34. package/dist/sun/celestial.js +18 -0
  35. package/dist/sun/celestial.js.map +1 -0
  36. package/dist/sun/cloud-lighting.d.ts +49 -0
  37. package/dist/sun/cloud-lighting.d.ts.map +1 -0
  38. package/dist/sun/cloud-lighting.js +121 -0
  39. package/dist/sun/cloud-lighting.js.map +1 -0
  40. package/dist/sun/cloud-spectral.d.ts +3 -0
  41. package/dist/sun/cloud-spectral.d.ts.map +1 -0
  42. package/dist/sun/cloud-spectral.js +45 -0
  43. package/dist/sun/cloud-spectral.js.map +1 -0
  44. package/dist/sun/data/bright-stars.d.ts +3 -0
  45. package/dist/sun/data/bright-stars.d.ts.map +1 -0
  46. package/dist/sun/data/bright-stars.js +7015 -0
  47. package/dist/sun/data/bright-stars.js.map +1 -0
  48. package/dist/sun/data/sunlight.d.ts +2 -0
  49. package/dist/sun/data/sunlight.d.ts.map +1 -0
  50. package/dist/sun/data/sunlight.js +970 -0
  51. package/dist/sun/data/sunlight.js.map +1 -0
  52. package/dist/sun/index.cjs +1744 -0
  53. package/dist/sun/index.cjs.map +6 -0
  54. package/dist/sun/index.d.ts +23 -0
  55. package/dist/sun/index.d.ts.map +1 -0
  56. package/dist/sun/index.js +17 -0
  57. package/dist/sun/index.js.map +1 -0
  58. package/dist/sun/moon-appearance.d.ts +25 -0
  59. package/dist/sun/moon-appearance.d.ts.map +1 -0
  60. package/dist/sun/moon-appearance.js +50 -0
  61. package/dist/sun/moon-appearance.js.map +1 -0
  62. package/dist/sun/moon-sky-brightness.d.ts +7 -0
  63. package/dist/sun/moon-sky-brightness.d.ts.map +1 -0
  64. package/dist/sun/moon-sky-brightness.js +50 -0
  65. package/dist/sun/moon-sky-brightness.js.map +1 -0
  66. package/dist/sun/moon.d.ts +26 -0
  67. package/dist/sun/moon.d.ts.map +1 -0
  68. package/dist/sun/moon.js +74 -0
  69. package/dist/sun/moon.js.map +1 -0
  70. package/dist/sun/moonlight.d.ts +23 -0
  71. package/dist/sun/moonlight.d.ts.map +1 -0
  72. package/dist/sun/moonlight.js +48 -0
  73. package/dist/sun/moonlight.js.map +1 -0
  74. package/dist/sun/planet-position.d.ts +63 -0
  75. package/dist/sun/planet-position.d.ts.map +1 -0
  76. package/dist/sun/planet-position.js +189 -0
  77. package/dist/sun/planet-position.js.map +1 -0
  78. package/dist/sun/planet-times.d.ts +41 -0
  79. package/dist/sun/planet-times.d.ts.map +1 -0
  80. package/dist/sun/planet-times.js +86 -0
  81. package/dist/sun/planet-times.js.map +1 -0
  82. package/dist/sun/planet-visibility.d.ts +39 -0
  83. package/dist/sun/planet-visibility.d.ts.map +1 -0
  84. package/dist/sun/planet-visibility.js +82 -0
  85. package/dist/sun/planet-visibility.js.map +1 -0
  86. package/dist/sun/planets.cjs +411 -0
  87. package/dist/sun/planets.cjs.map +6 -0
  88. package/dist/sun/planets.d.ts +7 -0
  89. package/dist/sun/planets.d.ts.map +1 -0
  90. package/dist/sun/planets.js +7 -0
  91. package/dist/sun/planets.js.map +1 -0
  92. package/dist/sun/sky-brightness.d.ts +32 -0
  93. package/dist/sun/sky-brightness.d.ts.map +1 -0
  94. package/dist/sun/sky-brightness.js +108 -0
  95. package/dist/sun/sky-brightness.js.map +1 -0
  96. package/dist/sun/sky-events.d.ts +16 -0
  97. package/dist/sun/sky-events.d.ts.map +1 -0
  98. package/dist/sun/sky-events.js +60 -0
  99. package/dist/sun/sky-events.js.map +1 -0
  100. package/dist/sun/sky-globe.d.ts +15 -0
  101. package/dist/sun/sky-globe.d.ts.map +1 -0
  102. package/dist/sun/sky-globe.js +51 -0
  103. package/dist/sun/sky-globe.js.map +1 -0
  104. package/dist/sun/sky-lighting.d.ts +27 -0
  105. package/dist/sun/sky-lighting.d.ts.map +1 -0
  106. package/dist/sun/sky-lighting.js +88 -0
  107. package/dist/sun/sky-lighting.js.map +1 -0
  108. package/dist/sun/sky-observer.d.ts +22 -0
  109. package/dist/sun/sky-observer.d.ts.map +1 -0
  110. package/dist/sun/sky-observer.js +57 -0
  111. package/dist/sun/sky-observer.js.map +1 -0
  112. package/dist/sun/sky-time.d.ts +9 -0
  113. package/dist/sun/sky-time.d.ts.map +1 -0
  114. package/dist/sun/sky-time.js +38 -0
  115. package/dist/sun/sky-time.js.map +1 -0
  116. package/dist/sun/star-galactic.d.ts +15 -0
  117. package/dist/sun/star-galactic.d.ts.map +1 -0
  118. package/dist/sun/star-galactic.js +98 -0
  119. package/dist/sun/star-galactic.js.map +1 -0
  120. package/dist/sun/star-milky-way.d.ts +14 -0
  121. package/dist/sun/star-milky-way.d.ts.map +1 -0
  122. package/dist/sun/star-milky-way.js +32 -0
  123. package/dist/sun/star-milky-way.js.map +1 -0
  124. package/dist/sun/star-render.d.ts +38 -0
  125. package/dist/sun/star-render.d.ts.map +1 -0
  126. package/dist/sun/star-render.js +98 -0
  127. package/dist/sun/star-render.js.map +1 -0
  128. package/dist/sun/star-types.d.ts +60 -0
  129. package/dist/sun/star-types.d.ts.map +1 -0
  130. package/dist/sun/star-types.js +5 -0
  131. package/dist/sun/star-types.js.map +1 -0
  132. package/dist/sun/starfield.d.ts +13 -0
  133. package/dist/sun/starfield.d.ts.map +1 -0
  134. package/dist/sun/starfield.js +86 -0
  135. package/dist/sun/starfield.js.map +1 -0
  136. package/dist/sun/stars.cjs +7519 -0
  137. package/dist/sun/stars.cjs.map +6 -0
  138. package/dist/sun/stars.d.ts +26 -0
  139. package/dist/sun/stars.d.ts.map +1 -0
  140. package/dist/sun/stars.js +188 -0
  141. package/dist/sun/stars.js.map +1 -0
  142. package/dist/sun/suncalc.d.ts +26 -0
  143. package/dist/sun/suncalc.d.ts.map +1 -0
  144. package/dist/sun/suncalc.js +94 -0
  145. package/dist/sun/suncalc.js.map +1 -0
  146. package/dist/sun/sunlight.d.ts +25 -0
  147. package/dist/sun/sunlight.d.ts.map +1 -0
  148. package/dist/sun/sunlight.js +76 -0
  149. package/dist/sun/sunlight.js.map +1 -0
  150. package/dist/timezone/index.cjs +205 -0
  151. package/dist/timezone/index.cjs.map +6 -0
  152. package/dist/timezone/index.d.ts +6 -0
  153. package/dist/timezone/index.d.ts.map +1 -0
  154. package/dist/timezone/index.js +8 -0
  155. package/dist/timezone/index.js.map +1 -0
  156. package/dist/timezone/instant.d.ts +4 -0
  157. package/dist/timezone/instant.d.ts.map +1 -0
  158. package/dist/timezone/instant.js +20 -0
  159. package/dist/timezone/instant.js.map +1 -0
  160. package/dist/timezone/local-date-time.d.ts +4 -0
  161. package/dist/timezone/local-date-time.d.ts.map +1 -0
  162. package/dist/timezone/local-date-time.js +34 -0
  163. package/dist/timezone/local-date-time.js.map +1 -0
  164. package/dist/timezone/lookup-async.d.ts +3 -0
  165. package/dist/timezone/lookup-async.d.ts.map +1 -0
  166. package/dist/timezone/lookup-async.js +14 -0
  167. package/dist/timezone/lookup-async.js.map +1 -0
  168. package/dist/timezone/lookup.cjs +83 -0
  169. package/dist/timezone/lookup.cjs.map +6 -0
  170. package/dist/timezone/lookup.d.ts +3 -0
  171. package/dist/timezone/lookup.d.ts.map +1 -0
  172. package/dist/timezone/lookup.js +18 -0
  173. package/dist/timezone/lookup.js.map +1 -0
  174. package/dist/timezone/temporal.cjs +5696 -0
  175. package/dist/timezone/temporal.cjs.map +6 -0
  176. package/dist/timezone/temporal.d.ts +9 -0
  177. package/dist/timezone/temporal.d.ts.map +1 -0
  178. package/dist/timezone/temporal.js +60 -0
  179. package/dist/timezone/temporal.js.map +1 -0
  180. package/dist/timezone/timezone-label.d.ts +5 -0
  181. package/dist/timezone/timezone-label.d.ts.map +1 -0
  182. package/dist/timezone/timezone-label.js +27 -0
  183. package/dist/timezone/timezone-label.js.map +1 -0
  184. package/dist/timezone/timezone-offset.d.ts +3 -0
  185. package/dist/timezone/timezone-offset.d.ts.map +1 -0
  186. package/dist/timezone/timezone-offset.js +22 -0
  187. package/dist/timezone/timezone-offset.js.map +1 -0
  188. package/dist/timezone/types.d.ts +23 -0
  189. package/dist/timezone/types.d.ts.map +1 -0
  190. package/dist/timezone/types.js +5 -0
  191. package/dist/timezone/types.js.map +1 -0
  192. package/dist/timezone/vendor/temporal/runtime.d.ts +3 -0
  193. package/dist/timezone/vendor/temporal/runtime.d.ts.map +1 -0
  194. package/dist/timezone/vendor/temporal/runtime.js +5649 -0
  195. package/dist/timezone/vendor/temporal/runtime.js.map +1 -0
  196. package/dist/timezone/vendor/temporal/types.d.ts +939 -0
  197. package/dist/timezone/vendor/temporal/types.d.ts.map +1 -0
  198. package/dist/timezone/vendor/temporal/types.js +4 -0
  199. package/dist/timezone/vendor/temporal/types.js.map +1 -0
  200. package/dist/timezone/vendor/tz-lookup/runtime.d.ts +3 -0
  201. package/dist/timezone/vendor/tz-lookup/runtime.d.ts.map +1 -0
  202. package/dist/timezone/vendor/tz-lookup/runtime.js +53 -0
  203. package/dist/timezone/vendor/tz-lookup/runtime.js.map +1 -0
  204. package/geoid/data/README.md +28 -0
  205. package/geoid/data/geoid-egm96-hi.pgm +0 -0
  206. package/geoid/data/geoid-egm96-low.pgm +0 -0
  207. package/geoid/data/geoid-manifest.json +22 -0
  208. package/package.json +91 -4
  209. package/src/geoid/create-geoid-from-grid.ts +51 -0
  210. package/src/geoid/geoid.ts +297 -0
  211. package/src/geoid/index.ts +8 -0
  212. package/src/geoid/parse-pgm.ts +189 -0
  213. package/src/index.ts +7 -0
  214. package/src/sun/astronomy.ts +272 -0
  215. package/src/sun/celestial.ts +22 -0
  216. package/src/sun/cloud-lighting.ts +198 -0
  217. package/src/sun/cloud-spectral.ts +54 -0
  218. package/src/sun/data/bright-stars.ts +7024 -0
  219. package/src/sun/data/sunlight.ts +969 -0
  220. package/src/sun/index.ts +43 -0
  221. package/src/sun/moon-appearance.ts +81 -0
  222. package/src/sun/moon-sky-brightness.ts +64 -0
  223. package/src/sun/moon.ts +122 -0
  224. package/src/sun/moonlight.ts +88 -0
  225. package/src/sun/planet-position.ts +305 -0
  226. package/src/sun/planet-times.ts +142 -0
  227. package/src/sun/planet-visibility.ts +143 -0
  228. package/src/sun/planets.ts +18 -0
  229. package/src/sun/sky-brightness.ts +148 -0
  230. package/src/sun/sky-events.ts +66 -0
  231. package/src/sun/sky-globe.ts +72 -0
  232. package/src/sun/sky-lighting.ts +118 -0
  233. package/src/sun/sky-observer.ts +66 -0
  234. package/src/sun/sky-time.ts +42 -0
  235. package/src/sun/star-galactic.ts +111 -0
  236. package/src/sun/star-milky-way.ts +61 -0
  237. package/src/sun/star-render.ts +149 -0
  238. package/src/sun/star-types.ts +66 -0
  239. package/src/sun/starfield.ts +100 -0
  240. package/src/sun/stars.ts +260 -0
  241. package/src/sun/suncalc.ts +141 -0
  242. package/src/sun/sunlight.ts +112 -0
  243. package/src/timezone/index.ts +9 -0
  244. package/src/timezone/instant.ts +21 -0
  245. package/src/timezone/local-date-time.ts +40 -0
  246. package/src/timezone/lookup-async.ts +15 -0
  247. package/src/timezone/lookup.ts +21 -0
  248. package/src/timezone/temporal.ts +81 -0
  249. package/src/timezone/timezone-label.ts +30 -0
  250. package/src/timezone/timezone-offset.ts +21 -0
  251. package/src/timezone/types.ts +30 -0
  252. package/src/timezone/vendor/temporal/JSBI-LICENSE.txt +179 -0
  253. package/src/timezone/vendor/temporal/LICENSE.txt +16 -0
  254. package/src/timezone/vendor/temporal/README.md +23 -0
  255. package/src/timezone/vendor/temporal/runtime.ts +5070 -0
  256. package/src/timezone/vendor/temporal/types.ts +1146 -0
  257. package/src/timezone/vendor/tz-lookup/LICENSE.txt +119 -0
  258. package/src/timezone/vendor/tz-lookup/README.md +22 -0
  259. package/src/timezone/vendor/tz-lookup/runtime.ts +53 -0
  260. package/sun/LICENSE-BRIGHT-STARS +21 -0
  261. package/sun/LICENSE-HOSEK-WILKIE +30 -0
  262. package/sun/LICENSE-SUNCALC +24 -0
  263. package/timezone/data/LICENSE-ODbL.txt +538 -0
  264. package/timezone/data/README.md +50 -0
  265. package/timezone/data/manifest.json +37 -0
  266. package/timezone/data/timezone-geometry-hi.json +1 -0
  267. package/timezone/data/timezone-geometry-hi.parquet +0 -0
  268. package/timezone/data/timezone-geometry-low.json +1 -0
  269. package/timezone/data/timezone-geometry-low.parquet +0 -0
@@ -0,0 +1,1744 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // dist/sun/index.js
20
+ var index_exports = {};
21
+ __export(index_exports, {
22
+ SKY_GLOBE_EARTH_RADIUS: () => SKY_GLOBE_EARTH_RADIUS,
23
+ createSkyAtmosphere: () => createSkyAtmosphere,
24
+ createSkyObserver: () => createSkyObserver,
25
+ getCloudLighting: () => getCloudLighting,
26
+ getMoonAppearance: () => getMoonAppearance,
27
+ getMoonDirection: () => getMoonDirection,
28
+ getMoonIllumination: () => getMoonIllumination,
29
+ getMoonLight: () => getMoonLight,
30
+ getMoonPosition: () => getMoonPosition,
31
+ getScatteredMoonLuminance: () => getScatteredMoonLuminance,
32
+ getSkyAirMass: () => getSkyAirMass,
33
+ getSkyContrastThreshold: () => getSkyContrastThreshold,
34
+ getSkyDirection: () => getSkyDirection,
35
+ getSkyGlobePosition: () => getSkyGlobePosition,
36
+ getSkyGlobeRotation: () => getSkyGlobeRotation,
37
+ getSkyHorizonAltitude: () => getSkyHorizonAltitude,
38
+ getSkyLighting: () => getSkyLighting,
39
+ getSkyLuminance: () => getSkyLuminance,
40
+ getSkyTransmission: () => getSkyTransmission,
41
+ getStarfieldRotation: () => getStarfieldRotation,
42
+ getSunDirection: () => getSunDirection,
43
+ getSunLight: () => getSunLight,
44
+ getSunPosition: () => getSunPosition,
45
+ reverseSkyDirection: () => reverseSkyDirection,
46
+ searchSkyVisibility: () => searchSkyVisibility,
47
+ skyDirectionToGlobe: () => skyDirectionToGlobe,
48
+ skyRotationToGlobe: () => skyRotationToGlobe
49
+ });
50
+ module.exports = __toCommonJS(index_exports);
51
+
52
+ // dist/sun/suncalc.js
53
+ var DEGREES_TO_RADIANS = Math.PI / 180;
54
+ var DAY_IN_MS = 1e3 * 60 * 60 * 24;
55
+ var JD1970 = 2440588;
56
+ var JD2000 = 2451545;
57
+ var e = DEGREES_TO_RADIANS * 23.4397;
58
+ var M0 = 357.5291;
59
+ var M1 = 0.98560028;
60
+ var THETA0 = 280.147;
61
+ var THETA1 = 360.9856235;
62
+ function getSunPosition(timestamp, latitude, longitude) {
63
+ const longitudeWestInRadians = DEGREES_TO_RADIANS * -longitude;
64
+ const phi = DEGREES_TO_RADIANS * latitude;
65
+ const d = toDays(timestamp);
66
+ const c = getSunCoords(d);
67
+ const H = getSiderealTime(d, longitudeWestInRadians) - c.rightAscension;
68
+ return {
69
+ azimuth: getAzimuth(H, phi, c.declination),
70
+ altitude: getAltitude(H, phi, c.declination)
71
+ };
72
+ }
73
+ function getSunDirection(timestamp, latitude, longitude) {
74
+ const { azimuth, altitude } = getSunPosition(timestamp, latitude, longitude);
75
+ return [
76
+ Math.sin(azimuth) * Math.cos(altitude),
77
+ Math.cos(azimuth) * Math.cos(altitude),
78
+ -Math.sin(altitude)
79
+ ];
80
+ }
81
+ function toJulianDay(timestamp) {
82
+ const ts = typeof timestamp === "number" ? timestamp : timestamp.getTime();
83
+ return ts / DAY_IN_MS - 0.5 + JD1970;
84
+ }
85
+ function toDays(timestamp) {
86
+ return toJulianDay(timestamp) - JD2000;
87
+ }
88
+ function getRightAscension(eclipticLongitude, b) {
89
+ const lambda = eclipticLongitude;
90
+ return Math.atan2(Math.sin(lambda) * Math.cos(e) - Math.tan(b) * Math.sin(e), Math.cos(lambda));
91
+ }
92
+ function getDeclination(eclipticLongitude, b) {
93
+ const lambda = eclipticLongitude;
94
+ return Math.asin(Math.sin(b) * Math.cos(e) + Math.cos(b) * Math.sin(e) * Math.sin(lambda));
95
+ }
96
+ function getAzimuth(hourAngle, latitudeInRadians, declination) {
97
+ const H = hourAngle;
98
+ const phi = latitudeInRadians;
99
+ const delta = declination;
100
+ return Math.atan2(Math.sin(H), Math.cos(H) * Math.sin(phi) - Math.tan(delta) * Math.cos(phi));
101
+ }
102
+ function getAltitude(hourAngle, latitudeInRadians, declination) {
103
+ const H = hourAngle;
104
+ const phi = latitudeInRadians;
105
+ const delta = declination;
106
+ return Math.asin(Math.sin(phi) * Math.sin(delta) + Math.cos(phi) * Math.cos(delta) * Math.cos(H));
107
+ }
108
+ function getSiderealTime(dates, longitudeWestInRadians) {
109
+ return DEGREES_TO_RADIANS * (THETA0 + THETA1 * dates) - longitudeWestInRadians;
110
+ }
111
+ function getSolarMeanAnomaly(days) {
112
+ return DEGREES_TO_RADIANS * (M0 + M1 * days);
113
+ }
114
+ function getEclipticLongitude(meanAnomaly) {
115
+ const M = meanAnomaly;
116
+ const C = DEGREES_TO_RADIANS * (1.9148 * Math.sin(M) + 0.02 * Math.sin(2 * M) + 3e-4 * Math.sin(3 * M));
117
+ const P = DEGREES_TO_RADIANS * 102.9372;
118
+ return M + C + P + Math.PI;
119
+ }
120
+ function getSunCoords(dates) {
121
+ const M = getSolarMeanAnomaly(dates);
122
+ const L = getEclipticLongitude(M);
123
+ return {
124
+ declination: getDeclination(L, 0),
125
+ rightAscension: getRightAscension(L, 0)
126
+ };
127
+ }
128
+
129
+ // dist/sun/celestial.js
130
+ function validateObserver(timestamp, latitude, longitude) {
131
+ const milliseconds = typeof timestamp === "number" ? timestamp : timestamp.getTime();
132
+ if (!Number.isFinite(milliseconds) || !Number.isFinite(new Date(milliseconds).getTime())) {
133
+ throw new RangeError("Timestamp must be a valid Date or milliseconds since Unix epoch");
134
+ }
135
+ validateRange("Latitude", latitude, -90, 90);
136
+ validateRange("Longitude", longitude, -Number.MAX_VALUE, Number.MAX_VALUE);
137
+ }
138
+ function validateRange(name, value, minimum, maximum) {
139
+ if (!Number.isFinite(value) || value < minimum || value > maximum) {
140
+ throw new RangeError(`${name} must be finite and between ${minimum} and ${maximum}`);
141
+ }
142
+ }
143
+
144
+ // dist/sun/starfield.js
145
+ function getLocalSiderealTime(timestamp, longitude) {
146
+ validateObserver(timestamp, 0, longitude);
147
+ const days = toDays(timestamp);
148
+ const midnight = Math.floor(days + 0.5) - 0.5;
149
+ const hours = (days - midnight) * 24;
150
+ const centuries = days / 36525;
151
+ const siderealHours = 6.697375 + 0.065709824279 * midnight + 1.0027379 * hours + 258e-7 * centuries * centuries;
152
+ const angle = siderealHours % 24 * Math.PI / 12 + longitude % 360 * Math.PI / 180;
153
+ return (angle % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
154
+ }
155
+ function getStarfieldRotation(timestamp, latitude, longitude, options = {}) {
156
+ validateObserver(timestamp, latitude, longitude);
157
+ const { epoch = "J2000" } = options;
158
+ if (epoch !== "J2000" && epoch !== "date") {
159
+ throw new RangeError("Starfield epoch must be J2000 or date");
160
+ }
161
+ const sidereal = getLocalSiderealTime(timestamp, longitude);
162
+ const phi = latitude * Math.PI / 180;
163
+ const sinTime = Math.sin(sidereal);
164
+ const cosTime = Math.cos(sidereal);
165
+ const sinLatitude = Math.sin(phi);
166
+ const cosLatitude = Math.cos(phi);
167
+ const local = [
168
+ -sinTime,
169
+ -sinLatitude * cosTime,
170
+ cosLatitude * cosTime,
171
+ cosTime,
172
+ -sinLatitude * sinTime,
173
+ cosLatitude * sinTime,
174
+ 0,
175
+ cosLatitude,
176
+ sinLatitude
177
+ ];
178
+ if (epoch === "date")
179
+ return local;
180
+ const t = toDays(timestamp) / 36525;
181
+ const arcsecondsToRadians = Math.PI / (180 * 3600);
182
+ const zeta = t * (2306.2181 + t * (0.30188 + t * 0.017998)) * arcsecondsToRadians;
183
+ const theta = t * (2004.3109 + t * (-0.42665 - t * 0.041833)) * arcsecondsToRadians;
184
+ const z = t * (2306.2181 + t * (1.09468 + t * 0.018203)) * arcsecondsToRadians;
185
+ const middle = [
186
+ Math.cos(theta),
187
+ 0,
188
+ Math.sin(theta),
189
+ 0,
190
+ 1,
191
+ 0,
192
+ -Math.sin(theta),
193
+ 0,
194
+ Math.cos(theta)
195
+ ];
196
+ const precession = multiply(multiply(rotationZ(z), middle), rotationZ(zeta));
197
+ return multiply(local, precession);
198
+ }
199
+ function rotationZ(angle) {
200
+ const c = Math.cos(angle);
201
+ const s = Math.sin(angle);
202
+ return [c, s, 0, -s, c, 0, 0, 0, 1];
203
+ }
204
+ function multiply(a, b) {
205
+ const result = new Array(9);
206
+ for (let column = 0; column < 3; column++) {
207
+ for (let row = 0; row < 3; row++) {
208
+ result[column * 3 + row] = a[row] * b[column * 3] + a[row + 3] * b[column * 3 + 1] + a[row + 6] * b[column * 3 + 2];
209
+ }
210
+ }
211
+ return result;
212
+ }
213
+
214
+ // dist/sun/moon.js
215
+ function getMoonPosition(timestamp, latitude, longitude) {
216
+ validateObserver(timestamp, latitude, longitude);
217
+ const phi = latitude * Math.PI / 180;
218
+ const moon = getMoonCoords(toDays(timestamp));
219
+ const hourAngle = getLocalSiderealTime(timestamp, longitude) - moon.rightAscension;
220
+ const altitudeSine = Math.sin(phi) * Math.sin(moon.declination) + Math.cos(phi) * Math.cos(moon.declination) * Math.cos(hourAngle);
221
+ const geocentricAltitude = Math.asin(Math.max(-1, Math.min(1, altitudeSine)));
222
+ const horizontal = moon.distance * Math.cos(geocentricAltitude);
223
+ const vertical = moon.distance * Math.sin(geocentricAltitude) - 6378.14;
224
+ return {
225
+ azimuth: getAzimuth(hourAngle, phi, moon.declination),
226
+ altitude: Math.atan2(vertical, horizontal),
227
+ distance: Math.hypot(horizontal, vertical),
228
+ parallacticAngle: Math.atan2(Math.sin(hourAngle), Math.tan(phi) * Math.cos(moon.declination) - Math.sin(moon.declination) * Math.cos(hourAngle))
229
+ };
230
+ }
231
+ function getMoonDirection(timestamp, latitude, longitude) {
232
+ const { azimuth, altitude } = getMoonPosition(timestamp, latitude, longitude);
233
+ return [
234
+ Math.sin(azimuth) * Math.cos(altitude),
235
+ Math.cos(azimuth) * Math.cos(altitude),
236
+ -Math.sin(altitude)
237
+ ];
238
+ }
239
+ function getMoonIllumination(timestamp) {
240
+ validateObserver(timestamp, 0, 0);
241
+ const days = toDays(timestamp);
242
+ const sun = getSunCoords(days);
243
+ const moon = getMoonCoords(days);
244
+ const separationCosine = Math.sin(sun.declination) * Math.sin(moon.declination) + Math.cos(sun.declination) * Math.cos(moon.declination) * Math.cos(sun.rightAscension - moon.rightAscension);
245
+ const separation = Math.acos(Math.max(-1, Math.min(1, separationCosine)));
246
+ const sunDistance = 149598e3;
247
+ const phaseAngle = Math.atan2(sunDistance * Math.sin(separation), moon.distance - sunDistance * Math.cos(separation));
248
+ const angle = Math.atan2(Math.cos(sun.declination) * Math.sin(sun.rightAscension - moon.rightAscension), Math.sin(sun.declination) * Math.cos(moon.declination) - Math.cos(sun.declination) * Math.sin(moon.declination) * Math.cos(sun.rightAscension - moon.rightAscension));
249
+ return {
250
+ fraction: (1 + Math.cos(phaseAngle)) / 2,
251
+ phase: 0.5 + 0.5 * phaseAngle * (angle < 0 ? -1 : 1) / Math.PI,
252
+ angle,
253
+ phaseAngle
254
+ };
255
+ }
256
+ function getMoonCoords(days) {
257
+ const radians = Math.PI / 180;
258
+ const meanLongitude = radians * (218.316 + 13.176396 * days);
259
+ const anomaly = radians * (134.963 + 13.064993 * days);
260
+ const argumentOfLatitude = radians * (93.272 + 13.22935 * days);
261
+ const longitude = meanLongitude + radians * 6.289 * Math.sin(anomaly);
262
+ const latitude = radians * 5.128 * Math.sin(argumentOfLatitude);
263
+ return {
264
+ rightAscension: getRightAscension(longitude, latitude),
265
+ declination: getDeclination(longitude, latitude),
266
+ distance: 385001 - 20905 * Math.cos(anomaly)
267
+ };
268
+ }
269
+
270
+ // dist/sun/moonlight.js
271
+ function getMoonLight(altitude, options = {}) {
272
+ const { phaseAngle = 0, distance = 384400, aerosolOpticalDepth = 0.1, pressure = 1013.25, cloudCover = 0, cloudOpticalDepth = 10 } = options;
273
+ validateRange("Moon altitude", altitude, -Math.PI / 2, Math.PI / 2);
274
+ validateRange("Phase angle", phaseAngle, 0, Math.PI);
275
+ validateRange("Moon distance", distance, 1737.4, Number.MAX_VALUE);
276
+ validateRange("Aerosol optical depth", aerosolOpticalDepth, 0, Number.MAX_VALUE);
277
+ validateRange("Pressure", pressure, 0, 1100);
278
+ validateRange("Cloud cover", cloudCover, 0, 1);
279
+ validateRange("Cloud optical depth", cloudOpticalDepth, 0, Number.MAX_VALUE);
280
+ const radius = Math.asin(1737.4 / distance);
281
+ if (altitude <= -radius || phaseAngle === Math.PI)
282
+ return { color: [0, 0, 0], intensity: 0 };
283
+ const phaseDegrees = phaseAngle * 180 / Math.PI;
284
+ const magnitudeDifference = 0.026 * phaseDegrees + 4e-9 * Math.pow(phaseDegrees, 4);
285
+ const phaseBrightness = Math.min(Math.pow(10, -0.4 * magnitudeDifference), (1 + Math.cos(phaseAngle)) / 2);
286
+ const elevation = Math.max(0, altitude);
287
+ const airMass = 1 / (Math.sin(elevation) + 0.50572 * Math.pow(elevation * 180 / Math.PI + 6.07995, -1.6364));
288
+ const diskHeight = Math.min(1, altitude / radius);
289
+ const visibility = (Math.acos(-diskHeight) + diskHeight * Math.sqrt(1 - diskHeight * diskHeight)) / Math.PI;
290
+ const cloudTransmission = 1 - cloudCover + cloudCover * Math.exp(-cloudOpticalDepth / Math.max(0.05, Math.sin(elevation)));
291
+ const scale = phaseBrightness * Math.pow(384400 / distance, 2) * visibility * cloudTransmission;
292
+ const channels = [0.68, 0.55, 0.44].map((wavelength) => scale * Math.exp(-airMass * (8735e-6 * Math.pow(wavelength, -4.08) * pressure / 1013.25 + aerosolOpticalDepth * Math.pow(wavelength / 0.55, -1.3))));
293
+ const intensity = Math.max(...channels);
294
+ return {
295
+ color: intensity > 0 ? [channels[0] / intensity, channels[1] / intensity, channels[2] / intensity] : [0, 0, 0],
296
+ intensity
297
+ };
298
+ }
299
+
300
+ // dist/sun/data/sunlight.js
301
+ var SUNLIGHT_DATA = [
302
+ [
303
+ [16.0841732, 2.38692098, 0, 3.84706859, 3.50971532, 2.71941777],
304
+ [29.6328593, 6.67553103, 0, 4.69359787, 4.8297756, 4.05828118],
305
+ [43.6177737, 12.9221792, 0, 5.30651504, 6.03709506, 5.72331263],
306
+ [56.4318509, 20.2624988, 0.563628306, 5.72827362, 7.0565125, 7.37120092],
307
+ [67.4696183, 27.8949807, 2.50982369, 6.05900461, 7.94085903, 8.92689762],
308
+ [76.7913516, 35.3349055, 5.1734078, 6.33584313, 8.7200718, 10.3778562],
309
+ [84.5553874, 42.2636381, 8.37761488, 6.57527327, 9.4136928, 11.7267384],
310
+ [91.0819731, 48.6350964, 11.8923363, 6.78572347, 10.0357941, 12.9806193],
311
+ [96.5645804, 54.3994253, 15.5697955, 6.97221498, 10.5971374, 14.147659],
312
+ [101.239452, 59.5776551, 19.3020672, 7.13823706, 11.1062519, 15.2359273],
313
+ [105.214189, 64.2293175, 22.9672208, 7.28652727, 11.5700449, 16.2529746],
314
+ [108.642226, 68.4090759, 26.5409668, 7.41939616, 11.9941883, 17.2056917],
315
+ [111.632747, 72.1770266, 30.0011035, 7.53886071, 12.3833849, 18.1002908],
316
+ [114.24552, 75.5823986, 33.2957306, 7.64670023, 12.7415635, 18.9423341],
317
+ [116.5477, 78.6568096, 36.4247457, 7.74448302, 13.0720283, 19.736784],
318
+ [118.596487, 81.4432883, 39.396221, 7.83358389, 13.3775749, 20.4880568],
319
+ [120.420216, 83.9747187, 42.2091498, 7.91520007, 13.6605824, 21.2000765],
320
+ [122.059191, 86.2913455, 44.8786019, 7.99036742, 13.9230882, 21.8763244],
321
+ [123.528272, 88.417275, 47.3888907, 8.05997734, 14.1668467, 22.5198837],
322
+ [124.858603, 90.3792643, 49.7605477, 8.12479357, 14.3933784, 23.13348],
323
+ [126.076781, 92.1753283, 51.9972503, 8.18546839, 14.6040091, 23.7195165],
324
+ [127.20054, 93.8319873, 54.1157957, 8.2425577, 14.7999023, 24.2801063],
325
+ [128.22204, 95.3594295, 56.1150724, 8.29653471, 14.9820861, 24.817101],
326
+ [129.154838, 96.7754516, 58.0111094, 8.34780207, 15.1514747, 25.3321166],
327
+ [130.013029, 98.0917209, 59.800021, 8.39670244, 15.3088873, 25.8265579],
328
+ [130.807358, 99.3202613, 61.4810335, 8.4435276, 15.4550628, 26.3016397],
329
+ [131.545333, 100.470519, 63.071334, 8.48852622, 15.5906733, 26.7584077],
330
+ [132.231268, 101.544727, 64.5815757, 8.53191033, 15.7163342, 27.1977573],
331
+ [132.874234, 102.554371, 66.0233752, 8.57386083, 15.8326136, 27.6204513],
332
+ [133.473391, 103.501048, 67.3935679, 8.614532, 15.9400402, 28.0271365],
333
+ [134.026949, 104.384689, 68.6892467, 8.65405534, 16.0391091, 28.4183585],
334
+ [134.542639, 105.214738, 69.9218369, 8.69254265, 16.130288, 28.7945766],
335
+ [135.024856, 105.996042, 71.0922451, 8.73008864, 16.2140213, 29.1561767],
336
+ [135.476961, 106.733598, 72.2018116, 8.76677314, 16.2907342, 29.5034835],
337
+ [135.901987, 107.433049, 73.2585825, 8.8026628, 16.3608358, 29.8367716],
338
+ [136.304002, 108.093721, 74.2651196, 8.83781266, 16.4247219, 30.156276],
339
+ [136.68757, 108.715543, 75.2241692, 8.87226734, 16.4827769, 30.4622008],
340
+ [137.055993, 109.304235, 76.1418029, 8.90606217, 16.5353762, 30.7547282],
341
+ [137.40523, 109.861961, 77.0186292, 8.93922398, 16.5828868, 31.0340256],
342
+ [137.730581, 110.390041, 77.8545721, 8.9717719, 16.6256691, 31.3002524],
343
+ [138.033908, 110.892586, 78.6557823, 9.0037181, 16.6640777, 31.5535657],
344
+ [138.3197, 111.370923, 79.4232026, 9.03506791, 16.6984611, 31.7941254],
345
+ [138.590824, 111.824527, 80.1538061, 9.06582134, 16.7291642, 32.022099],
346
+ [138.849893, 112.253885, 80.8466896, 9.09597162, 16.7565253, 32.2376645],
347
+ [139.097495, 112.662594, 81.5080769, 9.12550807, 16.7808803, 32.4410146],
348
+ [139.333702, 113.051849, 82.1398709, 9.15441411, 16.8025592, 32.6323581],
349
+ [139.558583, 113.422595, 82.7434732, 9.18266804, 16.8218866, 32.8119227],
350
+ [139.773757, 113.777125, 83.321769, 9.21024647, 16.8391859, 32.9799563],
351
+ [139.980424, 114.11702, 83.8770737, 9.23711684, 16.8547694, 33.1367278],
352
+ [140.177029, 114.441233, 84.4089408, 9.26324765, 16.8689496, 33.282528],
353
+ [140.362013, 114.748715, 84.9169221, 9.28860268, 16.8820325, 33.4176699],
354
+ [140.535634, 115.040613, 85.4033904, 9.31313499, 16.89431, 33.5424891],
355
+ [140.700183, 115.319291, 85.8708644, 9.3368078, 16.9060819, 33.6573417],
356
+ [140.856818, 115.585267, 86.3187376, 9.35957107, 16.9176302, 33.762606],
357
+ [141.006713, 115.839045, 86.7463815, 9.38136452, 16.9292233, 33.8586814],
358
+ [141.151461, 116.082082, 87.1551456, 9.40215039, 16.9411453, 33.9459837],
359
+ [141.291491, 116.315978, 87.5483182, 9.42186751, 16.9536522, 34.0249491],
360
+ [141.42545, 116.539693, 87.9250504, 9.44043687, 16.9669783, 34.0960319],
361
+ [141.551904, 116.752126, 88.2843956, 9.45782365, 16.9813891, 34.1596966],
362
+ [141.669681, 116.952606, 88.6260534, 9.47397126, 16.997122, 34.216423],
363
+ [141.780472, 117.143929, 88.9543295, 9.48876998, 17.0143625, 34.2667084],
364
+ [141.885412, 117.326511, 89.2690281, 9.50217183, 17.033338, 34.3110527],
365
+ [141.985221, 117.499955, 89.568636, 9.51415692, 17.0542857, 34.3499605],
366
+ [142.080616, 117.663867, 89.8516398, 9.52462139, 17.0773661, 34.3839515],
367
+ [142.172644, 117.819053, 90.1188786, 9.53342609, 17.1027036, 34.413553],
368
+ [142.261754, 117.967567, 90.374317, 9.54057169, 17.1305156, 34.4392786],
369
+ [142.347041, 118.108875, 90.6174526, 9.54605339, 17.1609989, 34.4616425],
370
+ [142.427552, 118.242356, 90.8476242, 9.54976096, 17.1942593, 34.4811683],
371
+ [142.502328, 118.367388, 91.0641706, 9.55148127, 17.2303197, 34.4983856],
372
+ [142.572034, 118.485225, 91.2693797, 9.55121391, 17.2693379, 34.5137949],
373
+ [142.638314, 118.597653, 91.4659524, 9.54903236, 17.3115024, 34.5278818],
374
+ [142.700809, 118.704061, 91.6523915, 9.54491586, 17.356917, 34.5411319],
375
+ [142.759182, 118.803816, 91.8271916, 9.53874512, 17.4056027, 34.5540281],
376
+ [142.813096, 118.896285, 91.9888474, 9.53020524, 17.4574392, 34.5670539],
377
+ [142.863236, 118.982641, 92.1394785, 9.51928205, 17.5124848, 34.5806476],
378
+ [142.910963, 119.065315, 92.2838559, 9.50620125, 17.5709236, 34.5952106],
379
+ [142.95578, 119.143164, 92.4196909, 9.4910589, 17.6328287, 34.6111368],
380
+ [142.997116, 119.214963, 92.5445258, 9.47390189, 17.698215, 34.6288028],
381
+ [143.034405, 119.279485, 92.6559031, 9.45473551, 17.7670444, 34.6485627],
382
+ [143.067727, 119.336587, 92.7530391, 9.43349101, 17.8392067, 34.6707456],
383
+ [143.100489, 119.391924, 92.8445576, 9.40983892, 17.9144112, 34.6956561],
384
+ [143.13169, 119.444276, 92.929906, 9.38333236, 17.9922754, 34.7235529],
385
+ [143.159467, 119.491024, 93.0064727, 9.35466302, 18.0730392, 34.7546105],
386
+ [143.18196, 119.529552, 93.0716461, 9.32433088, 18.1567759, 34.7889819],
387
+ [143.197307, 119.557242, 93.1228145, 9.29277418, 18.2434675, 34.8267854],
388
+ [143.207154, 119.576636, 93.1636292, 9.26046603, 18.3330547, 34.8680983],
389
+ [143.216146, 119.594505, 93.202071, 9.22794939, 18.4254494, 34.9129518],
390
+ [143.223855, 119.610128, 93.236262, 9.19586546, 18.5205401, 34.9613286],
391
+ [143.229774, 119.62265, 93.2641849, 9.1649838, 18.6181959, 35.0131585],
392
+ [143.233398, 119.631216, 93.2838226, 9.13623789, 18.7182701, 35.0683157],
393
+ [143.234218, 119.634971, 93.2931578, 9.11076908, 18.8206024, 35.1266144]
394
+ ],
395
+ [
396
+ [7.83726564, 1.08944361, 0, 3.81608675, 3.47022685, 2.66339443],
397
+ [20.5600366, 4.49218788, 0, 4.86427281, 4.82502643, 4.02519236],
398
+ [34.5977858, 10.0541891, 0, 5.63841389, 6.11846154, 5.7026495],
399
+ [47.7752494, 16.9218894, 0.467333289, 6.19754694, 7.23532488, 7.37028972],
400
+ [59.3280045, 24.2694953, 2.18268639, 6.64356362, 8.2157021, 8.95026419],
401
+ [69.1401448, 31.5418927, 4.634931, 7.01826465, 9.08620813, 10.4307656],
402
+ [77.423443, 38.4131523, 7.63215632, 7.34263048, 9.8655771, 11.8145365],
403
+ [84.4075331, 44.7805435, 10.9774327, 7.62887297, 10.5679933, 13.1079233],
404
+ [90.3181733, 50.580641, 14.5175909, 7.88502035, 11.2046895, 14.3179123],
405
+ [95.3480692, 55.8423119, 18.1255624, 8.11685568, 11.7847831, 15.4512716],
406
+ [99.6964674, 60.57996, 21.7112885, 8.32879615, 12.315773, 16.5143208],
407
+ [103.453728, 64.8544545, 25.2158184, 8.52432149, 12.8038743, 17.5128971],
408
+ [106.719639, 68.7239199, 28.6095768, 8.70620342, 13.2542635, 18.4523755],
409
+ [109.576746, 72.2242284, 31.8667065, 8.87664544, 13.671268, 19.3377009],
410
+ [112.107451, 75.3982144, 34.9779508, 9.03738068, 14.0585167, 20.173418],
411
+ [114.375777, 78.2912526, 37.9484652, 9.18974871, 14.4190619, 20.9636965],
412
+ [116.394943, 80.9227373, 40.7495142, 9.33476055, 14.7554784, 21.712353],
413
+ [118.209649, 83.3329323, 43.3996449, 9.47315534, 15.0699453, 22.42287],
414
+ [119.845755, 85.5402716, 45.9078709, 9.60545059, 15.3643125, 23.0984136],
415
+ [121.332859, 87.5750692, 48.2885189, 9.73198649, 15.6401567, 23.7418511],
416
+ [122.678368, 89.4450723, 50.5322247, 9.85296481, 15.8988275, 24.3557679],
417
+ [123.906405, 91.1752428, 52.6568555, 9.96848276, 16.1414856, 24.9424853],
418
+ [125.034963, 92.7794713, 54.663165, 10.0785621, 16.3691352, 25.5040774],
419
+ [126.080976, 94.2775661, 56.5655656, 10.1831739, 16.5826514, 26.0423894],
420
+ [127.047243, 95.6700061, 58.3656072, 10.2822594, 16.7828027, 26.5590545],
421
+ [127.94106, 96.9626302, 60.0685749, 10.3757477, 16.9702708, 27.0555118],
422
+ [128.771851, 98.1696397, 61.6850131, 10.4635691, 17.1456666, 27.5330231],
423
+ [129.538823, 99.2929155, 63.2137971, 10.5456677, 17.3095442, 27.9926893],
424
+ [130.250901, 100.342904, 64.665972, 10.6220093, 17.4624128, 28.4354666],
425
+ [130.91437, 101.328064, 66.0446277, 10.692589, 17.6047462, 28.8621815],
426
+ [131.533835, 102.255617, 67.3511428, 10.7574357, 17.7369913, 29.2735453],
427
+ [132.115084, 103.132811, 68.5949763, 10.816616, 17.8595753, 29.6701675],
428
+ [132.660695, 103.960114, 69.7783087, 10.8702354, 17.9729102, 30.0525688],
429
+ [133.173774, 104.739663, 70.9043488, 10.9184404, 18.0773994, 30.4211925],
430
+ [133.658828, 105.478773, 71.9805905, 10.9614165, 18.1734388, 30.7764159],
431
+ [134.116036, 106.17661, 73.0061241, 10.9993897, 18.2614229, 31.1185598],
432
+ [134.545994, 106.832461, 73.9807255, 11.0326211, 18.3417431, 31.4478981],
433
+ [134.953097, 107.452078, 74.911706, 11.0614089, 18.4147936, 31.7646657],
434
+ [135.338021, 108.039506, 75.8003222, 11.0860811, 18.4809683, 32.0690664],
435
+ [135.700788, 108.598204, 76.6466607, 11.1069952, 18.540664, 32.3612796],
436
+ [136.044305, 109.133239, 77.4560881, 11.1245341, 18.5942815, 32.6414659],
437
+ [136.370219, 109.64402, 78.2307217, 11.1390979, 18.6422181, 32.9097736],
438
+ [136.678721, 110.127652, 78.9697221, 11.1511099, 18.6848838, 33.1663418],
439
+ [136.970778, 110.582892, 79.6735722, 11.1609954, 18.7226739, 33.4113065],
440
+ [137.248979, 111.014625, 80.3469589, 11.169198, 18.7560013, 33.6448027],
441
+ [137.513253, 111.425301, 80.9918251, 11.1761563, 18.7852664, 33.8669683],
442
+ [137.763296, 111.817, 81.6097832, 11.1823046, 18.8108641, 34.0779472],
443
+ [137.999811, 112.192427, 82.2049683, 11.1880873, 18.8332132, 34.2778897],
444
+ [138.224708, 112.552605, 82.7792158, 11.1939074, 18.8526809, 34.4669584],
445
+ [138.439022, 112.896552, 83.3288595, 11.2001814, 18.8696764, 34.6453244],
446
+ [138.643789, 113.223271, 83.850224, 11.2072982, 18.8845914, 34.8131725],
447
+ [138.840232, 113.534661, 84.3441215, 11.2155884, 18.8977549, 34.9707039],
448
+ [139.028831, 113.832957, 84.8155548, 11.2254182, 18.9095931, 35.1181284],
449
+ [139.209364, 114.117262, 85.2665728, 11.2370731, 18.9204438, 35.2556751],
450
+ [139.381623, 114.38666, 85.6992126, 11.2507758, 18.9305886, 35.3835913],
451
+ [139.546845, 114.641488, 86.1167417, 11.2668136, 18.9404715, 35.5021291],
452
+ [139.706697, 114.884321, 86.5209101, 11.2853455, 18.9503803, 35.6115647],
453
+ [139.859304, 115.115956, 86.9087602, 11.3064346, 18.9605005, 35.7121954],
454
+ [140.002675, 115.337142, 87.2772286, 11.3302684, 18.9712935, 35.8043151],
455
+ [140.135127, 115.548875, 87.6239756, 11.3569078, 18.9830756, 35.8882402],
456
+ [140.258651, 115.753192, 87.9535703, 11.3861988, 18.9958589, 35.9643201],
457
+ [140.375029, 115.949455, 88.2678659, 11.4181542, 19.0100115, 36.0328934],
458
+ [140.485589, 116.136431, 88.5674559, 11.4528189, 19.026032, 36.0943024],
459
+ [140.591661, 116.312889, 88.8529338, 11.4899289, 19.0439511, 36.1489302],
460
+ [140.694693, 116.479228, 89.1263987, 11.529087, 19.0636263, 36.1971813],
461
+ [140.794832, 116.638213, 89.3902436, 11.5702616, 19.0856262, 36.2394243],
462
+ [140.890837, 116.789482, 89.6426177, 11.6133393, 19.1104492, 36.2760412],
463
+ [140.98143, 116.932589, 89.8815371, 11.6578684, 19.1380516, 36.307457],
464
+ [141.065332, 117.067085, 90.1050179, 11.7031034, 19.1679013, 36.334134],
465
+ [141.143013, 117.19457, 90.3148996, 11.7488306, 19.2004755, 36.3564782],
466
+ [141.216392, 117.316833, 90.5149648, 11.7949625, 19.2365459, 36.3748855],
467
+ [141.285573, 117.432676, 90.7043868, 11.8411193, 19.2763999, 36.389789],
468
+ [141.350668, 117.540896, 90.8823342, 11.8866521, 19.3198505, 36.401657],
469
+ [141.411789, 117.64029, 91.0479753, 11.9304518, 19.3658235, 36.411013],
470
+ [141.470041, 117.731963, 91.2037474, 11.9721096, 19.4145648, 36.4183065],
471
+ [141.526543, 117.819107, 91.3537977, 12.0117059, 19.4673051, 36.4239385],
472
+ [141.580126, 117.900758, 91.4954485, 12.0489659, 19.5246196, 36.4283546],
473
+ [141.629543, 117.975846, 91.6258549, 12.0834609, 19.5867936, 36.4320211],
474
+ [141.673547, 118.043302, 91.7421716, 12.1146338, 19.6538499, 36.4354193],
475
+ [141.711692, 118.10313, 91.8435226, 12.1417406, 19.7253943, 36.4390476],
476
+ [141.748045, 118.160735, 91.939786, 12.1634981, 19.7997807, 36.4434513],
477
+ [141.782136, 118.215055, 92.0299293, 12.1784101, 19.8746752, 36.4491785],
478
+ [141.812506, 118.263648, 92.110482, 12.1871116, 19.9524433, 36.4565553],
479
+ [141.837693, 118.304075, 92.1779732, 12.1897001, 20.0343822, 36.4659531],
480
+ [141.856235, 118.333897, 92.2289322, 12.1860031, 20.1212464, 36.4777557],
481
+ [141.869762, 118.355708, 92.2676483, 12.1757526, 20.2136152, 36.4923391],
482
+ [141.882361, 118.376046, 92.3041269, 12.1586287, 20.3119768, 36.5100651],
483
+ [141.8934, 118.39387, 92.3363282, 12.1342812, 20.4167655, 36.5312776],
484
+ [141.902191, 118.408026, 92.3620522, 12.1023446, 20.5283813, 36.5562998],
485
+ [141.908046, 118.417362, 92.3790989, 12.0624492, 20.6472031, 36.5854323],
486
+ [141.910278, 118.420723, 92.3852683, 12.0142303, 20.7735973, 36.6189518]
487
+ ],
488
+ [
489
+ [2.40292506, 0.300215519, 0, 3.77294854, 3.35985232, 2.6191313],
490
+ [11.2617248, 2.33974907, 0, 4.99591265, 4.77280973, 3.96559359],
491
+ [23.600513, 6.65463654, 0, 6.00764021, 6.22361301, 5.67789213],
492
+ [36.2946001, 12.5707631, 0.344739502, 6.78706882, 7.50951342, 7.39036078],
493
+ [47.9414527, 19.2800654, 1.7415165, 7.42813893, 8.64366679, 9.01024351],
494
+ [58.1335077, 26.1340936, 3.85230487, 7.97687756, 9.65152177, 10.5240948],
495
+ [66.9269682, 32.8088799, 6.54015724, 8.45929483, 10.5553859, 11.9368582],
496
+ [74.4350222, 39.0656458, 9.62386154, 8.89149681, 11.3731552, 13.2578454],
497
+ [80.8746489, 44.8548317, 12.9320258, 9.28417335, 12.1189192, 14.4966897],
498
+ [86.4268214, 50.1719911, 16.3480144, 9.64482802, 12.803754, 15.6621595],
499
+ [91.2101315, 55.0040194, 19.7861357, 9.97896972, 13.4364048, 16.7619027],
500
+ [95.3904387, 59.3899613, 23.1730794, 10.2907842, 14.0238219, 17.8024976],
501
+ [99.0757131, 63.380147, 26.4710769, 10.5835298, 14.5715703, 18.7895903],
502
+ [102.299089, 67.0175341, 29.6542238, 10.8597811, 15.0841398, 19.7280423],
503
+ [105.161706, 70.3265388, 32.7093377, 11.1215864, 15.5651795, 20.6220615],
504
+ [107.734482, 73.3458745, 35.6383881, 11.3705746, 16.0176775, 21.4753102],
505
+ [110.032263, 76.1091902, 38.4148822, 11.6080321, 16.4440978, 22.2909926],
506
+ [112.103256, 78.6542129, 41.0539543, 11.834962, 16.8464866, 23.0719237],
507
+ [113.979348, 80.993574, 43.561091, 12.0521314, 17.2265554, 23.8205848],
508
+ [115.691864, 83.1565764, 45.9485328, 12.2601111, 17.5857466, 24.539167],
509
+ [117.250644, 85.1427696, 48.1989648, 12.4593097, 17.9252851, 25.2296077],
510
+ [118.681123, 86.9793716, 50.3302679, 12.6500039, 18.2462211, 25.8936198],
511
+ [119.991953, 88.6842666, 52.3485287, 12.8323652, 18.5494633, 26.532717],
512
+ [121.201598, 90.277986, 54.2679654, 13.0064834, 18.8358073, 27.1482357],
513
+ [122.317411, 91.7619413, 56.0880639, 13.1723877, 19.1059586, 27.7413541],
514
+ [123.348147, 93.1411958, 57.8142924, 13.330065, 19.3605514, 28.3131099],
515
+ [124.305757, 94.4319089, 59.4554263, 13.4794759, 19.6001647, 28.8644157],
516
+ [125.19442, 95.6437999, 61.0047106, 13.6205687, 19.8253357, 29.3960743],
517
+ [126.02387, 96.7900415, 62.4712976, 13.7532909, 20.0365703, 29.908792],
518
+ [126.799094, 97.8670318, 63.8655993, 13.8775992, 20.2343528, 30.4031912],
519
+ [127.52398, 98.8703346, 65.1964994, 13.9934675, 20.4191527, 30.879822],
520
+ [128.205421, 99.8120357, 66.4712341, 14.1008938, 20.5914318, 31.3391731],
521
+ [128.846372, 100.69847, 67.6854916, 14.1999049, 20.7516474, 31.7816812],
522
+ [129.451173, 101.535355, 68.8376967, 14.290561, 20.900258, 32.2077398],
523
+ [130.025624, 102.328452, 69.9377646, 14.3729575, 21.0377234, 32.6177069],
524
+ [130.565147, 103.079001, 70.9852814, 14.4472282, 21.1645103, 33.0119114],
525
+ [131.065441, 103.788716, 71.9799273, 14.513545, 21.2810884, 33.3906596],
526
+ [131.531964, 104.46318, 72.9285461, 14.5721195, 21.3879367, 33.7542393],
527
+ [131.97215, 105.103866, 73.8343026, 14.6232014, 21.4855382, 34.1029246],
528
+ [132.392945, 105.711572, 74.6994209, 14.6670786, 21.5743825, 34.436979],
529
+ [132.798863, 106.291304, 75.5286717, 14.704076, 21.6549663, 34.7566581],
530
+ [133.187208, 106.844055, 76.3237776, 14.7345519, 21.7277835, 35.0622124],
531
+ [133.553977, 107.36805, 77.0845958, 14.7588996, 21.7933436, 35.3538882],
532
+ [133.896837, 107.862801, 77.8130692, 14.7775396, 21.8521383, 35.6319301],
533
+ [134.220357, 108.332679, 78.5146828, 14.7909235, 21.90468, 35.8965808],
534
+ [134.527483, 108.780405, 79.1865364, 14.7995251, 21.9514648, 36.1480833],
535
+ [134.820812, 109.208404, 79.8250937, 14.8038392, 21.9929804, 36.3866809],
536
+ [135.102801, 109.62003, 80.4311701, 14.8043841, 22.0297433, 36.6126171],
537
+ [135.373651, 110.016109, 81.0102667, 14.8016828, 22.0622036, 36.8261381],
538
+ [135.632348, 110.394468, 81.5641095, 14.7962792, 22.090863, 37.0274902],
539
+ [135.877877, 110.752915, 82.0943776, 14.7887222, 22.1162001, 37.2169221],
540
+ [136.111807, 111.092869, 82.6040928, 14.7795503, 22.1386137, 37.394686],
541
+ [136.335945, 111.417597, 83.0946852, 14.7693266, 22.1586242, 37.5610332],
542
+ [136.549312, 111.727102, 83.5650647, 14.7585902, 22.17664, 37.7162195],
543
+ [136.750908, 112.021386, 84.0141534, 14.7478582, 22.1929999, 37.8605046],
544
+ [136.940872, 112.301543, 84.4434311, 14.7376817, 22.2082449, 37.9941444],
545
+ [137.12145, 112.569743, 84.8567206, 14.7285571, 22.222721, 38.1174017],
546
+ [137.293316, 112.825919, 85.2525619, 14.7209322, 22.2366483, 38.2305434],
547
+ [137.457102, 113.069946, 85.629345, 14.715319, 22.2505889, 38.333829],
548
+ [137.613604, 113.302079, 85.9860903, 14.7121672, 22.2649235, 38.4275228],
549
+ [137.764401, 113.525235, 86.3270897, 14.7118014, 22.2796592, 38.5118985],
550
+ [137.909014, 113.739025, 86.6531521, 14.7146362, 22.2952416, 38.5872177],
551
+ [138.046535, 113.942222, 86.9638845, 14.7211136, 22.3122719, 38.6537373],
552
+ [138.176059, 114.1336, 87.258894, 14.7314821, 22.3307767, 38.7117257],
553
+ [138.297893, 114.313614, 87.5395756, 14.7458836, 22.3505742, 38.7614524],
554
+ [138.414114, 114.485095, 87.8089762, 14.7647045, 22.372342, 38.8031623],
555
+ [138.524523, 114.648007, 88.0661956, 14.7882912, 22.3966607, 38.8370982],
556
+ [138.628854, 114.802181, 88.310196, 14.8167371, 22.4234512, 38.8635114],
557
+ [138.726841, 114.947446, 88.5399398, 14.8498665, 22.4520545, 38.8826578],
558
+ [138.819468, 115.08542, 88.7578234, 14.8879067, 22.4830097, 38.8947587],
559
+ [138.907934, 115.217756, 88.9668554, 14.9312149, 22.5171827, 38.9000221],
560
+ [138.991748, 115.343318, 89.1653283, 14.979905, 22.5548471, 38.8986618],
561
+ [139.070408, 115.460979, 89.3515104, 15.0338114, 22.5957138, 38.8908952],
562
+ [139.143408, 115.569616, 89.5236703, 15.0922186, 22.6384803, 38.8769492],
563
+ [139.21161, 115.670566, 89.683978, 15.1550313, 22.6833774, 38.8570189],
564
+ [139.276871, 115.767061, 89.837567, 15.222698, 22.7317356, 38.8312867],
565
+ [139.338372, 115.857771, 89.9820848, 15.2953107, 22.7841126, 38.7999571],
566
+ [139.395236, 115.941234, 90.1149953, 15.3727733, 22.8407302, 38.7632504],
567
+ [139.446584, 116.015987, 90.2337623, 15.4547924, 22.9015244, 38.7214031],
568
+ [139.492331, 116.081648, 90.3377212, 15.5407455, 22.965998, 38.6746656],
569
+ [139.536548, 116.143901, 90.436482, 15.6290462, 23.0323667, 38.623296],
570
+ [139.578378, 116.20216, 90.5289661, 15.7173986, 23.0982414, 38.5675337],
571
+ [139.615944, 116.254491, 90.6117597, 15.8067536, 23.1662482, 38.5076037],
572
+ [139.647366, 116.298957, 90.6814493, 15.8973892, 23.2378199, 38.4437349],
573
+ [139.670769, 116.333626, 90.7346213, 15.9891949, 23.3137863, 38.3761404],
574
+ [139.688159, 116.361012, 90.7755229, 16.0818898, 23.3947659, 38.3050036],
575
+ [139.704505, 116.386754, 90.8139672, 16.1750479, 23.4812532, 38.2304681],
576
+ [139.718888, 116.409637, 90.8479654, 16.2680868, 23.5736559, 38.1526308],
577
+ [139.730299, 116.428331, 90.8753512, 16.360242, 23.6723177, 38.0715391],
578
+ [139.737726, 116.441505, 90.8939581, 16.4505331, 23.7775367, 37.9871904],
579
+ [139.740162, 116.447831, 90.9016197, 16.5377267, 23.8895857, 37.8995359]
580
+ ],
581
+ [
582
+ [0.342773515, 0.0356861703, 0, 3.57686702, 3.18747754, 2.50047659],
583
+ [4.17349167, 0.796395661, 0, 5.02775311, 4.66090322, 3.85991552],
584
+ [12.5674132, 3.36366262, 0, 6.35901155, 6.31057897, 5.60608875],
585
+ [23.0508312, 7.69292503, 0.206090322, 7.47351166, 7.8234635, 7.38229143],
586
+ [33.7393385, 13.1837044, 1.20033813, 8.43382312, 9.17767824, 9.07468885],
587
+ [43.7043805, 19.1768586, 2.84912333, 9.27929607, 10.392714, 10.663981],
588
+ [52.6114077, 25.2755216, 5.08412319, 10.035937, 11.4909769, 12.1530232],
589
+ [60.5033836, 31.1999196, 7.73422645, 10.7219602, 12.4918694, 13.5502983],
590
+ [67.4105775, 36.8214853, 10.6806078, 11.3506393, 13.4111921, 14.865179],
591
+ [73.4690651, 42.0536046, 13.7863895, 11.9319155, 14.261596, 16.1064988],
592
+ [78.780283, 46.8991228, 16.9629813, 12.4733827, 15.0531754, 17.2821707],
593
+ [83.4653366, 51.3595535, 20.1428977, 12.9809275, 15.7939948, 18.3991487],
594
+ [87.6265611, 55.4623455, 23.2841782, 13.4591623, 16.4905175, 19.4634939],
595
+ [91.3329745, 59.2371914, 26.3438672, 13.911727, 17.1479414, 20.4804652],
596
+ [94.6429834, 62.7027077, 29.3000518, 14.3415046, 17.7704629, 21.4546085],
597
+ [97.6176845, 65.8927791, 32.1478683, 14.7507792, 18.3614813, 22.3898381],
598
+ [100.298487, 68.818489, 34.8717494, 15.1413541, 18.9237599, 23.2895103],
599
+ [102.734036, 71.5180286, 37.481393, 15.5146437, 19.4595518, 24.1564902],
600
+ [104.941329, 74.0137848, 39.9616394, 15.8717457, 19.9707002, 24.9932132],
601
+ [106.958503, 76.3329965, 42.3270155, 16.2134994, 20.458718, 25.80174],
602
+ [108.808517, 78.475942, 44.5741293, 16.5405346, 20.9248516, 26.5838087],
603
+ [110.517474, 80.4685613, 46.7168094, 16.8533124, 21.3701324, 27.3408807],
604
+ [112.082401, 82.3238148, 48.751769, 17.1521603, 21.7954191, 28.0741827],
605
+ [113.520121, 84.0628366, 50.6923171, 17.4373022, 22.2014322, 28.784744],
606
+ [114.854657, 85.6849452, 52.5349219, 17.7088842, 22.5887819, 29.4734298],
607
+ [116.108906, 87.193894, 54.2809901, 17.9669973, 22.9579921, 30.1409698],
608
+ [117.284071, 88.6073501, 55.9421572, 18.2116966, 23.30952, 30.7879832],
609
+ [118.36577, 89.9339686, 57.5171483, 18.4430179, 23.6437722, 31.4150004],
610
+ [119.364377, 91.1853883, 59.0147721, 18.6609914, 23.9611187, 32.0224811],
611
+ [120.296825, 92.3652706, 60.4423845, 18.8656542, 24.2619044, 32.6108296],
612
+ [121.176426, 93.4775127, 61.8072209, 19.0570586, 24.5464585, 33.1804076],
613
+ [122.008649, 94.5321864, 63.1173701, 19.2352819, 24.8151031, 33.7315441],
614
+ [122.792343, 95.5269304, 64.3656482, 19.4004298, 25.0681583, 34.2645446],
615
+ [123.528977, 96.4605694, 65.5472651, 19.5526443, 25.3059501, 34.7796973],
616
+ [124.22654, 97.3424552, 66.6729055, 19.6921032, 25.5288116, 35.2772782],
617
+ [124.883104, 98.1775622, 67.7466452, 19.8190267, 25.7370904, 35.7575554],
618
+ [125.496769, 98.9706774, 68.7721764, 19.9336732, 25.9311462, 36.2207916],
619
+ [126.073501, 99.7271058, 69.754968, 20.0363453, 26.1113586, 36.6672465],
620
+ [126.618699, 100.446678, 70.6958158, 20.1273841, 26.2781227, 37.0971777],
621
+ [127.137209, 101.128719, 71.5949876, 20.2071716, 26.4318538, 37.5108414],
622
+ [127.633067, 101.778431, 72.458571, 20.2761298, 26.5729884, 37.9084925],
623
+ [128.10611, 102.397814, 73.2874335, 20.3347114, 26.701975, 38.2903852],
624
+ [128.555047, 102.985625, 74.0786322, 20.383414, 26.8192951, 38.6567705],
625
+ [128.980032, 103.542317, 74.831444, 20.4227523, 26.9254271, 39.0078983],
626
+ [129.385336, 104.073013, 75.5521229, 20.4532865, 27.0208902, 39.3440133],
627
+ [129.771079, 104.578357, 76.2419694, 20.4755923, 27.1062033, 39.6653566],
628
+ [130.137024, 105.058539, 76.9017351, 20.4902667, 27.1818948, 39.9721643],
629
+ [130.484995, 105.514963, 77.5344779, 20.4979501, 27.2485442, 40.264663],
630
+ [130.817404, 105.95051, 78.14293, 20.4992601, 27.3066752, 40.5430758],
631
+ [131.133824, 106.366972, 78.7260041, 20.4948693, 27.3568896, 40.8076129],
632
+ [131.433806, 106.766146, 79.2825928, 20.4854508, 27.399782, 41.0584755],
633
+ [131.718682, 107.151474, 79.8149892, 20.471641, 27.4358747, 41.2958591],
634
+ [131.990574, 107.523471, 80.3263933, 20.4541657, 27.4658492, 41.5199381],
635
+ [132.249814, 107.879237, 80.8163984, 20.4336866, 27.4902768, 41.7308815],
636
+ [132.496754, 108.215855, 81.284612, 20.4108273, 27.5096649, 41.9288499],
637
+ [132.732456, 108.533074, 81.7327118, 20.3863395, 27.5247764, 42.1139744],
638
+ [132.958459, 108.835375, 82.1640507, 20.3608506, 27.5361633, 42.2863852],
639
+ [133.174606, 109.12345, 82.5775105, 20.3349085, 27.5442444, 42.4462065],
640
+ [133.380707, 109.39788, 82.9718505, 20.3092628, 27.5498615, 42.5935214],
641
+ [133.57695, 109.65953, 83.3464785, 20.2845411, 27.5536591, 42.7284107],
642
+ [133.765659, 109.910872, 83.705728, 20.2611364, 27.5558452, 42.850966],
643
+ [133.946586, 110.151675, 84.0499465, 20.2396944, 27.5571697, 42.9612308],
644
+ [134.118722, 110.381059, 84.3782084, 20.2209364, 27.5585925, 43.0592206],
645
+ [134.281058, 110.598147, 84.6895886, 20.2052268, 27.5603855, 43.1449775],
646
+ [134.434172, 110.804009, 84.9853264, 20.192797, 27.5625642, 43.218543],
647
+ [134.580649, 111.001665, 85.2690577, 20.1843695, 27.5662233, 43.2798797],
648
+ [134.719886, 111.189954, 85.5398725, 20.18059, 27.5723638, 43.3289415],
649
+ [134.851178, 111.367569, 85.7967105, 20.181702, 27.5811654, 43.3657177],
650
+ [134.973824, 111.5332, 86.0385114, 20.1876005, 27.5920502, 43.3902287],
651
+ [135.088713, 111.688286, 86.2681078, 20.1988634, 27.6059788, 43.4023923],
652
+ [135.197715, 111.835615, 86.488761, 20.2162365, 27.6243739, 43.4020892],
653
+ [135.300761, 111.974754, 86.6981598, 20.2401019, 27.6479115, 43.3892358],
654
+ [135.397801, 112.105246, 86.8939757, 20.2704988, 27.6765162, 43.3637864],
655
+ [135.488784, 112.226635, 87.0738801, 20.3068698, 27.7086836, 43.3257748],
656
+ [135.575529, 112.34047, 87.2397745, 20.349528, 27.7449621, 43.2751148],
657
+ [135.660212, 112.449507, 87.3975233, 20.3994016, 27.7874893, 43.2116323],
658
+ [135.740484, 112.55233, 87.5453823, 20.4569633, 27.837398, 43.13522],
659
+ [135.81391, 112.647437, 87.6814251, 20.5224898, 27.8953876, 43.0458058],
660
+ [135.878053, 112.733322, 87.8037248, 20.5961011, 27.9617644, 42.943351],
661
+ [135.931717, 112.809803, 87.9121773, 20.6776887, 28.0361737, 42.8278616],
662
+ [135.98101, 112.883688, 88.0161789, 20.7664409, 28.1161615, 42.6994625],
663
+ [136.026288, 112.95357, 88.1140726, 20.86125, 28.1980168, 42.5583351],
664
+ [136.066454, 113.016346, 88.2018748, 20.9639305, 28.2859919, 42.4041793],
665
+ [136.10041, 113.068914, 88.2756015, 21.0756666, 28.3826621, 42.2367434],
666
+ [136.127058, 113.108172, 88.331269, 21.1973424, 28.4897413, 42.0557549],
667
+ [136.14837, 113.137405, 88.3734989, 21.3297525, 28.6086642, 41.8608647],
668
+ [136.168301, 113.164779, 88.4133157, 21.4736317, 28.7406975, 41.6516191],
669
+ [136.186001, 113.188876, 88.448481, 21.6296507, 28.8869735, 41.4274381],
670
+ [136.200539, 113.208123, 88.476573, 21.7984006, 29.0484992, 41.1875959],
671
+ [136.21098, 113.220943, 88.4951697, 21.9803737, 29.2261589, 40.9312026],
672
+ [136.216391, 113.225761, 88.5018489, 22.1759461, 29.4207166, 40.6571843]
673
+ ],
674
+ [
675
+ [0.0256924181, 0.00211444891, 0, 3.38399857, 2.99895881, 2.4689462],
676
+ [1.32667927, 0.22991503, 0, 4.93502151, 4.52467403, 3.77046301],
677
+ [6.24879153, 1.57569969, 0, 6.57524518, 6.34849248, 5.55010952],
678
+ [14.0354851, 4.49813265, 0.119519401, 8.01807639, 8.06161997, 7.38594747],
679
+ [23.0144142, 8.71667938, 0.796125362, 9.28749235, 9.60853244, 9.1393177],
680
+ [32.0438388, 13.7052932, 2.05484597, 10.4203965, 11.0069466, 10.7834911],
681
+ [40.5518478, 19.0646916, 3.8613791, 11.4448716, 12.2815392, 12.3204335],
682
+ [48.3402136, 24.463943, 6.10558636, 12.3814147, 13.4534656, 13.7600941],
683
+ [55.3569881, 29.724193, 8.67394922, 13.2452719, 14.5393632, 15.1139207],
684
+ [61.6372647, 34.7656578, 11.4711052, 14.0480526, 15.5521191, 16.3927272],
685
+ [67.2558953, 39.494234, 14.3784906, 14.7987689, 16.5017809, 17.6060733],
686
+ [72.2656089, 43.907339, 17.3285475, 15.5045176, 17.3962901, 18.7621901],
687
+ [76.7483722, 48.0197403, 20.2765383, 16.1709458, 18.2420181, 19.8680911],
688
+ [80.7968242, 51.8418108, 23.1726563, 16.802577, 19.0441483, 20.9297315],
689
+ [84.4442471, 55.3802595, 26.0016386, 17.4030498, 19.8069483, 21.9521633],
690
+ [87.74293, 58.6600701, 28.7586595, 17.9752944, 20.5339653, 22.9396724],
691
+ [90.7450721, 61.6973583, 31.4065634, 18.5216683, 21.2281699, 23.8958922],
692
+ [93.4956164, 64.5237854, 33.9534991, 19.0440633, 21.892064, 24.8238977],
693
+ [95.9961519, 67.1481806, 36.3932276, 19.5439897, 22.5277624, 25.7262828],
694
+ [98.2879782, 69.5970806, 38.7354534, 20.0226477, 23.137059, 26.6052245],
695
+ [100.391248, 71.8692247, 40.9691337, 20.4809828, 23.7214765, 27.4625362],
696
+ [102.334878, 73.9898799, 43.1069549, 20.9197371, 24.282312, 28.2997141],
697
+ [104.128984, 75.9695839, 45.1402039, 21.3394867, 24.8206689, 29.1179761],
698
+ [105.795472, 77.8282264, 47.0790637, 21.7406804, 25.337491, 29.9182964],
699
+ [107.342204, 79.5684359, 48.9274684, 22.1236641, 25.8335837, 30.7014362],
700
+ [108.778892, 81.1964434, 50.6921788, 22.4887109, 26.3096416, 31.4679706],
701
+ [110.120817, 82.7274063, 52.3790931, 22.8360363, 26.7662613, 32.2183131],
702
+ [111.374722, 84.1669971, 53.9807216, 23.165821, 27.2039664, 32.9527379],
703
+ [112.5545, 85.5283155, 55.5058969, 23.4782195, 27.6232124, 33.6713997],
704
+ [113.660285, 86.8124378, 56.9613964, 23.7733772, 28.0244108, 34.3743524],
705
+ [114.690958, 88.0192756, 58.3526228, 24.0514338, 28.4079272, 35.0615648],
706
+ [115.658293, 89.159921, 59.6878962, 24.3125362, 28.7741059, 35.7329371],
707
+ [116.567624, 90.2386512, 60.9618463, 24.5568381, 29.1232595, 36.3883129],
708
+ [117.423444, 91.2600826, 62.1708542, 24.7845092, 29.4556985, 37.0274934],
709
+ [118.231755, 92.231514, 63.3243338, 24.995733, 29.7717093, 37.6502465],
710
+ [118.997807, 93.1531711, 64.4273663, 25.190713, 30.0715905, 38.2563193],
711
+ [119.727754, 94.0260569, 65.4851957, 25.3696702, 30.3556221, 38.8454442],
712
+ [120.427949, 94.8574929, 66.5042245, 25.5328464, 30.624103, 39.4173496],
713
+ [121.092564, 95.6480336, 67.4804554, 25.6805034, 30.8773227, 39.9717646],
714
+ [121.714468, 96.3970402, 68.4087891, 25.8129249, 31.1155821, 40.5084262],
715
+ [122.296726, 97.109022, 69.2933098, 25.9304168, 31.339197, 41.0270851],
716
+ [122.847024, 97.7875125, 70.1396528, 26.033312, 31.5484646, 41.527507],
717
+ [123.370618, 98.4338345, 70.9504442, 26.1219669, 31.7437381, 42.009483],
718
+ [123.872725, 99.050515, 71.7294223, 26.1967772, 31.9253163, 42.4728217],
719
+ [124.354994, 99.6416672, 72.4804102, 26.258167, 32.0935744, 42.9173651],
720
+ [124.815335, 100.206249, 73.2011517, 26.3066096, 32.2488548, 43.3429787],
721
+ [125.251512, 100.742823, 73.8889542, 26.3426302, 32.3915043, 43.7495557],
722
+ [125.664341, 101.253292, 74.5450989, 26.3667966, 32.5219605, 44.1370297],
723
+ [126.057831, 101.741533, 75.1744814, 26.3797665, 32.6405427, 44.5053462],
724
+ [126.433091, 102.20739, 75.7778782, 26.3822433, 32.7477175, 44.8544992],
725
+ [126.791225, 102.650684, 76.3560612, 26.3750135, 32.8439333, 45.1845071],
726
+ [127.13475, 103.073201, 76.9125407, 26.3589696, 32.9295411, 45.4953973],
727
+ [127.464756, 103.477479, 77.4491504, 26.3350349, 33.0051485, 45.7872633],
728
+ [127.780006, 103.864165, 77.963643, 26.3042497, 33.0712141, 46.0601951],
729
+ [128.079245, 104.233898, 78.4537605, 26.2677422, 33.128152, 46.3142921],
730
+ [128.363257, 104.588672, 78.9202376, 26.2266378, 33.1767288, 46.5497375],
731
+ [128.635282, 104.930668, 79.3677995, 26.1821709, 33.2174699, 46.7666836],
732
+ [128.894696, 105.25839, 79.7961546, 26.1356354, 33.250805, 46.9652713],
733
+ [129.14078, 105.570255, 80.2048362, 26.0882502, 33.2776707, 47.1457579],
734
+ [129.373165, 105.865307, 80.5938468, 26.0412816, 33.2988031, 47.3083678],
735
+ [129.594561, 106.147666, 80.966958, 25.9960438, 33.3145531, 47.4532384],
736
+ [129.805651, 106.417657, 81.324597, 25.9537079, 33.3258639, 47.580643],
737
+ [130.006432, 106.674379, 81.6662246, 25.9153682, 33.3338789, 47.690908],
738
+ [130.196904, 106.91693, 81.9913015, 25.8821425, 33.3391325, 47.7842077],
739
+ [130.378213, 107.146265, 82.3015602, 25.8550693, 33.3420046, 47.860662],
740
+ [130.5523, 107.365535, 82.6005473, 25.8349688, 33.3438405, 47.9206318],
741
+ [130.718336, 107.574206, 82.8864709, 25.8225975, 33.3458806, 47.9644487],
742
+ [130.875402, 107.771611, 83.1573686, 25.818685, 33.3486983, 47.9922494],
743
+ [131.022578, 107.957079, 83.4112776, 25.823881, 33.3523161, 48.0039879],
744
+ [131.161097, 108.132518, 83.6508725, 25.8386334, 33.3579938, 47.9999436],
745
+ [131.293105, 108.30031, 83.8802818, 25.8633191, 33.367304, 47.9804747],
746
+ [131.418157, 108.459346, 84.0975847, 25.8982945, 33.3812166, 47.9457442],
747
+ [131.535788, 108.608495, 84.3008387, 25.9438598, 33.4001411, 47.8957162],
748
+ [131.645533, 108.746624, 84.4881015, 26.000211, 33.4234727, 47.8299999],
749
+ [131.749319, 108.875347, 84.6613426, 26.0674613, 33.4521283, 47.7486372],
750
+ [131.85006, 108.99844, 84.8260139, 26.1457765, 33.4881435, 47.6520099],
751
+ [131.945339, 109.114312, 84.9805349, 26.2353586, 33.5328232, 47.5402654],
752
+ [132.032627, 109.221265, 85.1231377, 26.3364444, 33.5871917, 47.4134616],
753
+ [132.109395, 109.317597, 85.252054, 26.4493047, 33.6520441, 47.2715955],
754
+ [132.174569, 109.403174, 85.367437, 26.574205, 33.7277694, 47.1145584],
755
+ [132.235411, 109.485968, 85.4791105, 26.7111738, 33.8133438, 46.9418064],
756
+ [132.291783, 109.564279, 85.5847968, 26.8599117, 33.9068876, 46.7525496],
757
+ [132.341799, 109.634394, 85.6797278, 27.0211714, 34.0120167, 46.5479635],
758
+ [132.383571, 109.692603, 85.7591354, 27.1957099, 34.1311093, 46.3289033],
759
+ [132.415211, 109.735193, 85.8182515, 27.3842602, 34.265846, 46.0960619],
760
+ [132.439452, 109.765921, 85.8619999, 27.5875301, 34.4175858, 45.8500669],
761
+ [132.462297, 109.794485, 85.9029413, 27.8061443, 34.5874228, 45.5914612],
762
+ [132.482469, 109.819462, 85.9389591, 28.0405823, 34.7762014, 45.320665],
763
+ [132.498596, 109.839257, 85.9677375, 28.2911202, 34.9845273, 45.0379369],
764
+ [132.509308, 109.852275, 85.986961, 28.557785, 35.2127857, 44.7433438],
765
+ [132.513234, 109.856922, 85.994314, 28.840326, 35.4611664, 44.4367435]
766
+ ],
767
+ [
768
+ [0.00105168546, 705673637e-13, 0, 3.25304403, 2.90819177, 2.44196989],
769
+ [0.479060494, 0.0753169605, 0, 4.82793803, 4.42627407, 3.71700504],
770
+ [3.5928081, 0.866025535, 0, 6.66627146, 6.33657704, 5.4852161],
771
+ [9.6407631, 2.99494443, 0.0770589106, 8.31358141, 8.17535941, 7.33557449],
772
+ [17.3412955, 6.40853898, 0.588504033, 9.77116069, 9.85264258, 9.11757639],
773
+ [25.5079459, 10.7076678, 1.61532575, 11.0756961, 11.3739999, 10.7970498],
774
+ [33.5281203, 15.5032931, 3.16473882, 12.2579658, 12.7603201, 12.3714334],
775
+ [41.08186, 20.4944747, 5.14658018, 13.3413028, 14.0326146, 13.8481646],
776
+ [47.9949932, 25.4602948, 7.47643291, 14.3433282, 15.2089127, 15.2375633],
777
+ [54.2823998, 30.2699588, 10.0400283, 15.2774987, 16.3040333, 16.5502418],
778
+ [59.9754564, 34.8698175, 12.7470533, 16.1542109, 17.3300284, 17.7961527],
779
+ [65.1240101, 39.2075928, 15.5288951, 16.9815665, 18.2967054, 18.9842713],
780
+ [69.7856166, 43.2765182, 18.3393767, 17.7659157, 19.2120761, 20.1225279],
781
+ [73.9834056, 47.091762, 21.1304572, 18.5122476, 20.0827121, 21.2178388],
782
+ [77.7959661, 50.6494355, 23.8655401, 19.2244849, 20.9140188, 22.2761706],
783
+ [81.2857764, 53.9682679, 26.5300976, 19.9057059, 21.7104458, 23.3026171],
784
+ [84.4560139, 57.0483326, 29.1139101, 20.5583183, 22.4756512, 24.301476],
785
+ [87.3562309, 59.9206798, 31.6204925, 21.1841989, 23.2126322, 25.2763255],
786
+ [90.0160183, 62.6029428, 34.0307878, 21.7848001, 23.9238304, 26.2300971],
787
+ [92.4706869, 65.1178493, 36.3529227, 22.3612453, 24.6112189, 27.1651451],
788
+ [94.7326993, 67.4609942, 38.5664059, 22.9143943, 25.2763746, 28.0833138],
789
+ [96.8311018, 69.6563068, 40.6844002, 23.4449126, 25.9205407, 28.9859991],
790
+ [98.7702971, 71.7081639, 42.7080074, 23.9533091, 26.5446791, 29.8742081],
791
+ [100.572137, 73.6353371, 44.648118, 24.4399896, 27.1495172, 30.7486123],
792
+ [102.247625, 75.4432071, 46.5019216, 24.9052741, 27.735587, 31.6095985],
793
+ [103.809457, 77.1392773, 48.2719395, 25.349441, 28.3032613, 32.4573134],
794
+ [105.270888, 78.7376302, 49.9659331, 25.7727287, 28.852783, 33.2917059],
795
+ [106.633136, 80.2435059, 51.5785345, 26.1753746, 29.3842934, 34.1125631],
796
+ [107.908673, 81.6698285, 53.1195263, 26.5576027, 29.8978542, 34.919544],
797
+ [109.106647, 83.0176653, 54.591095, 26.9196622, 30.3934698, 35.7122084],
798
+ [110.235082, 84.2871265, 55.9934385, 27.2618016, 30.8711027, 36.4900429],
799
+ [111.303599, 85.4896986, 57.3354826, 27.5843112, 31.3306925, 37.2524825],
800
+ [112.309847, 86.6275063, 58.6182277, 27.8874824, 31.7721642, 37.9989311],
801
+ [113.25299, 87.7032096, 59.8435654, 28.1716586, 32.1954462, 38.728777],
802
+ [114.142815, 88.725155, 61.0185565, 28.4371792, 32.6004719, 39.4414078],
803
+ [114.984193, 89.6953645, 62.1435316, 28.6844405, 32.9871975, 40.1362213],
804
+ [115.781972, 90.616198, 63.2196111, 28.9138286, 33.3555978, 40.8126363],
805
+ [116.542034, 91.4941294, 64.2540609, 29.1257818, 33.7056835, 41.4700995],
806
+ [117.263754, 92.3304631, 65.2452944, 29.3207333, 34.037495, 42.1080922],
807
+ [117.945778, 93.1257337, 66.1903863, 29.4991429, 34.3511128, 42.7261351],
808
+ [118.592205, 93.885997, 67.0936847, 29.6614951, 34.6466616, 43.3237915],
809
+ [119.207026, 94.6124991, 67.9594799, 29.8082504, 34.9242978, 43.9006698],
810
+ [119.792093, 95.3028803, 68.7892586, 29.9399426, 35.1842434, 44.4564247],
811
+ [120.350706, 95.9566298, 69.5857714, 30.0570343, 35.4267355, 44.990757],
812
+ [120.887266, 96.5795501, 70.3532859, 30.1600775, 35.6520895, 45.5034147],
813
+ [121.398381, 97.1738294, 71.0903504, 30.2495805, 35.8606444, 45.9941899],
814
+ [121.880174, 97.741224, 71.7950965, 30.3260584, 36.0527783, 46.4629176],
815
+ [122.332744, 98.2848023, 72.4699277, 30.3901065, 36.2289615, 46.9094767],
816
+ [122.761676, 98.8066017, 73.1190406, 30.4422147, 36.389624, 47.3337794],
817
+ [123.16988, 99.3058751, 73.7410932, 30.4829984, 36.535322, 47.7357784],
818
+ [123.560222, 99.7818747, 74.3347048, 30.513051, 36.6666319, 48.1154572],
819
+ [123.935375, 100.237115, 74.9021143, 30.5329158, 36.784077, 48.4728208],
820
+ [124.295705, 100.674274, 75.4468694, 30.5432974, 36.8883986, 48.807912],
821
+ [124.640577, 101.092214, 75.9689376, 30.5448175, 36.980239, 49.120784],
822
+ [124.969349, 101.489807, 76.4682894, 30.5381127, 37.0602004, 49.4115003],
823
+ [125.283002, 101.867862, 76.9467264, 30.5239715, 37.1292069, 49.6801594],
824
+ [125.584209, 102.229852, 77.4074058, 30.5031028, 37.18797, 49.9268483],
825
+ [125.872518, 102.575952, 77.8494296, 30.4762465, 37.2370804, 50.1516461],
826
+ [126.147384, 102.906238, 78.2717895, 30.4442767, 37.277635, 50.3546688],
827
+ [126.408703, 103.221277, 78.6741936, 30.4080283, 37.3105314, 50.5360092],
828
+ [126.659759, 103.524579, 79.0614881, 30.3683663, 37.3361987, 50.6957136],
829
+ [126.900352, 103.815603, 79.4333324, 30.3262432, 37.3557001, 50.8338626],
830
+ [127.129332, 104.092746, 79.787906, 30.2825895, 37.3703569, 50.9505348],
831
+ [127.345551, 104.354407, 80.1233879, 30.2383914, 37.3807274, 51.045729],
832
+ [127.54983, 104.60147, 80.4407032, 30.1947514, 37.3870875, 51.1194001],
833
+ [127.745421, 104.837971, 80.7444956, 30.1526483, 37.3909538, 51.1715595],
834
+ [127.931509, 105.062981, 81.0340467, 30.1130181, 37.3937536, 51.2021719],
835
+ [128.107163, 105.275409, 81.3084753, 30.0769566, 37.3959728, 51.2110993],
836
+ [128.27145, 105.474168, 81.5669002, 30.0458043, 37.3971964, 51.1981114],
837
+ [128.426157, 105.661057, 81.8121353, 30.0205229, 37.3987896, 51.1630453],
838
+ [128.573786, 105.839005, 82.0473875, 30.0018457, 37.4026776, 51.1057128],
839
+ [128.713321, 106.00733, 82.2706717, 29.9906479, 37.4099127, 51.025817],
840
+ [128.843717, 106.165331, 82.4799697, 29.9880296, 37.4206278, 50.9229622],
841
+ [128.963925, 106.312307, 82.6732634, 29.9956539, 37.4331463, 50.7966298],
842
+ [129.075516, 106.450347, 82.8525283, 30.0144809, 37.4482419, 50.6463942],
843
+ [129.182, 106.583062, 83.0232607, 30.0447912, 37.4687059, 50.471884],
844
+ [129.281939, 106.70828, 83.1837589, 30.0872221, 37.4961532, 50.2726567],
845
+ [129.373759, 106.823687, 83.3321278, 30.1426372, 37.5317053, 50.0482683],
846
+ [129.455887, 106.926969, 83.4664727, 30.2121818, 37.5760162, 49.7983157],
847
+ [129.527962, 107.017476, 83.5870062, 30.2974715, 37.6288693, 49.5224672],
848
+ [129.596313, 107.103581, 83.7046784, 30.4013902, 37.6870903, 49.2204512],
849
+ [129.660257, 107.18433, 83.8165301, 30.5278157, 37.7454186, 48.8921333],
850
+ [129.717594, 107.256703, 83.9168371, 30.6766598, 37.8095151, 48.537789],
851
+ [129.766124, 107.317679, 83.999875, 30.8485272, 37.8828663, 48.1577081],
852
+ [129.803646, 107.364237, 84.0599196, 31.0443039, 37.967761, 47.7521944],
853
+ [129.833049, 107.399963, 84.102344, 31.2647982, 38.0660381, 47.3215329],
854
+ [129.860785, 107.433461, 84.1415762, 31.5106197, 38.1792064, 46.8659349],
855
+ [129.885394, 107.463081, 84.1757626, 31.782115, 38.3084744, 46.385486],
856
+ [129.905296, 107.487051, 84.2027833, 32.0793401, 38.4547597, 45.8801068],
857
+ [129.918908, 107.503598, 84.2205181, 32.4020635, 38.6186998, 45.3495352],
858
+ [129.924648, 107.510951, 84.2268472, 32.749794, 38.80067, 44.7933307]
859
+ ],
860
+ [
861
+ [405853752e-14, 0, 0, 3.05028298, 2.79434874, 2.39217544],
862
+ [0.0886879878, 0.0119673113, 0, 4.65847962, 4.27487961, 3.63836426],
863
+ [1.4423367, 0.322087606, 0, 6.71038976, 6.29074293, 5.39990504],
864
+ [5.18314327, 1.52988604, 0.03890516, 8.62914501, 8.26585328, 7.26415896],
865
+ [10.8528905, 3.86018715, 0.35763822, 10.3416077, 10.0760595, 9.07028442],
866
+ [17.5271855, 7.12427019, 1.08476481, 11.880001, 11.7245939, 10.7799144],
867
+ [24.5129237, 11.036208, 2.27385726, 13.2787014, 13.234647, 12.3890417],
868
+ [31.3784097, 15.3084437, 3.88270817, 14.5643363, 14.6290253, 13.9046373],
869
+ [37.9168741, 19.7071275, 5.84031062, 15.7570132, 15.9265642, 15.3367778],
870
+ [44.0288436, 24.115119, 8.0594193, 16.8721577, 17.1422762, 16.6957995],
871
+ [49.6695552, 28.4057669, 10.4538615, 17.9218361, 18.2881715, 17.991312],
872
+ [54.8438044, 32.5274089, 12.9630213, 18.9156308, 19.3740137, 19.23193],
873
+ [59.5905257, 36.4594133, 15.5419532, 19.8612265, 20.4078772, 20.4252741],
874
+ [63.9638263, 40.1852607, 18.1389537, 20.7648141, 21.3965297, 21.5780543],
875
+ [67.967879, 43.698582, 20.7143321, 21.6313832, 22.3456908, 22.6961662],
876
+ [71.6377216, 47.0109306, 23.249686, 22.4649411, 23.2602076, 23.7847735],
877
+ [75.005165, 50.1166113, 25.7260944, 23.2686826, 24.1441799, 24.8483729],
878
+ [78.1139956, 53.0383025, 28.144051, 24.0451277, 25.0010551, 25.8908441],
879
+ [80.9847407, 55.7722042, 30.4712649, 24.7962303, 25.8337029, 26.9154901],
880
+ [83.649483, 58.3427912, 32.718066, 25.5234757, 26.6444815, 27.9250713],
881
+ [86.1052703, 60.7577696, 34.882673, 26.2279532, 27.4352931, 28.9218387],
882
+ [88.3835168, 63.0369243, 36.973269, 26.9104316, 28.2076385, 29.9075661],
883
+ [90.5015218, 65.1776869, 38.9783242, 27.5714066, 28.9626619, 30.8835847],
884
+ [92.4818195, 67.1970968, 40.9070787, 28.2111645, 29.7012009, 31.8508184],
885
+ [94.3323787, 69.0987769, 42.754703, 28.8298104, 30.4238217, 32.8098209],
886
+ [96.0653792, 70.8892349, 44.520389, 29.4273244, 31.130865, 33.7608139],
887
+ [97.6936551, 72.5816219, 46.2134037, 30.0035747, 31.822473, 34.7037251],
888
+ [99.2168422, 74.1776327, 47.8313188, 30.5583698, 32.498631, 35.6382265],
889
+ [100.649213, 75.690263, 49.3827057, 31.091457, 33.1591863, 36.5637715],
890
+ [101.996451, 77.1217049, 50.8690936, 31.6025754, 33.8038867, 37.47963],
891
+ [103.26223, 78.4723574, 52.2911528, 32.0914388, 34.4323894, 38.384923],
892
+ [104.458217, 79.7532098, 53.6574462, 32.5577929, 35.0443003, 39.2786532],
893
+ [105.586153, 80.9685382, 54.9653195, 33.0013812, 35.6391697, 40.159735],
894
+ [106.648423, 82.1229637, 56.21331, 33.4220121, 36.216537, 41.0270203],
895
+ [107.654037, 83.2237108, 57.4095454, 33.8195039, 36.7759105, 41.8793235],
896
+ [108.606812, 84.2716536, 58.5564201, 34.1937648, 37.3168198, 42.7154423],
897
+ [109.510748, 85.2686279, 59.6568225, 34.5447215, 37.8387815, 43.5341771],
898
+ [110.372007, 86.2225729, 60.7173437, 34.8724012, 38.3413551, 44.3343473],
899
+ [111.191415, 87.1319744, 61.7352478, 35.1768685, 38.8241081, 45.1148059],
900
+ [111.969157, 87.9938884, 62.70661, 35.4582694, 39.2866499, 45.8744511],
901
+ [112.712228, 88.813012, 63.6363554, 35.7168347, 39.7286398, 46.6122372],
902
+ [113.421373, 89.594228, 64.5284059, 35.9528197, 40.1497425, 47.3271811],
903
+ [114.092872, 90.3396146, 65.3830155, 36.1666343, 40.54974, 48.0183716],
904
+ [114.724971, 91.0525083, 66.2018406, 36.3586526, 40.9283683, 48.6849698],
905
+ [115.324051, 91.7372537, 66.9896052, 36.529429, 41.2855181, 49.3262178],
906
+ [115.894325, 92.3921123, 67.7461501, 36.6795166, 41.6210671, 49.9414358],
907
+ [116.439607, 93.0149009, 68.470919, 36.8095323, 41.9349365, 50.5300244],
908
+ [116.963875, 93.6070717, 69.1670245, 36.9202622, 42.2272323, 51.0914695],
909
+ [117.46789, 94.17331, 69.837829, 37.0123857, 42.4978991, 51.6253276],
910
+ [117.950157, 94.7146584, 70.481205, 37.0868112, 42.747159, 52.1312413],
911
+ [118.40917, 95.2321291, 71.0949781, 37.1444542, 42.9752347, 52.6089256],
912
+ [118.847531, 95.7285701, 71.6806911, 37.1861743, 43.1821999, 53.0581552],
913
+ [119.268272, 96.2057996, 72.2424964, 37.2131191, 43.3686015, 53.4787925],
914
+ [119.669809, 96.6629257, 72.7815709, 37.2263129, 43.5347372, 53.8707462],
915
+ [120.050562, 97.0990535, 73.2990924, 37.2267945, 43.6808256, 54.2339729],
916
+ [120.411386, 97.5159135, 73.7977489, 37.2158922, 43.8077443, 54.5685156],
917
+ [120.756227, 97.9173249, 74.2799512, 37.194765, 43.9159241, 54.8744337],
918
+ [121.084993, 98.3013969, 74.7436118, 37.1645695, 44.0055948, 55.1518098],
919
+ [121.397427, 98.666084, 75.1865356, 37.1267644, 44.0779612, 55.4008166],
920
+ [121.693566, 99.0099438, 75.6074515, 37.0826821, 44.1338394, 55.621627],
921
+ [121.975953, 99.337011, 76.0122023, 37.0335444, 44.1732483, 55.814381],
922
+ [122.245605, 99.6489011, 76.4006048, 36.9808388, 44.1973791, 55.9793036],
923
+ [122.502991, 99.9461658, 76.770628, 36.9260631, 44.207848, 56.1166491],
924
+ [122.748579, 100.229357, 77.120241, 36.870557, 44.2050008, 56.2265901],
925
+ [122.984273, 100.500586, 77.4502718, 36.8157168, 44.1888145, 56.3092706],
926
+ [123.212359, 100.762365, 77.7656197, 36.763074, 44.1613205, 56.3649422],
927
+ [123.430708, 101.012699, 78.0659046, 36.7140473, 44.1243711, 56.3938164],
928
+ [123.637113, 101.249474, 78.3505656, 36.6700026, 44.0783744, 56.3959892],
929
+ [123.829365, 101.470579, 78.6190423, 36.6323951, 44.0224747, 56.3714579],
930
+ [124.00927, 101.677798, 78.8741091, 36.6026046, 43.958586, 56.3203277],
931
+ [124.180514, 101.875006, 79.1187613, 36.5818151, 43.8894149, 56.2426796],
932
+ [124.342248, 102.061556, 79.3511682, 36.5711576, 43.8163604, 56.1384599],
933
+ [124.493556, 102.236773, 79.569478, 36.5718225, 43.7395369, 56.0074935],
934
+ [124.63352, 102.399989, 79.771839, 36.5853183, 43.6566023, 55.8494595],
935
+ [124.763882, 102.553743, 79.9606163, 36.6127544, 43.568788, 55.6641433],
936
+ [124.888361, 102.702147, 80.1414058, 36.6547201, 43.4801018, 55.451369],
937
+ [125.00539, 102.842287, 80.311753, 36.7119334, 43.3928592, 55.2108507],
938
+ [125.113295, 102.971109, 80.4690029, 36.785236, 43.3086954, 54.9422784],
939
+ [125.210403, 103.08556, 80.6105007, 36.8756974, 43.2286352, 54.6453728],
940
+ [125.296499, 103.184493, 80.7357849, 36.9848292, 43.1525822, 54.3199334],
941
+ [125.37914, 103.277552, 80.8560731, 37.1153065, 43.0765995, 53.965862],
942
+ [125.457008, 103.364245, 80.9694361, 37.2708906, 42.9941644, 53.5832692],
943
+ [125.526921, 103.441752, 81.0711612, 37.4523398, 42.9131585, 53.1726406],
944
+ [125.585701, 103.507255, 81.1565351, 37.6610341, 42.8384389, 52.7345007],
945
+ [125.630168, 103.557935, 81.2208449, 37.8986616, 42.7731927, 52.2694112],
946
+ [125.66399, 103.597702, 81.2694281, 38.1668812, 42.7199421, 51.7779209],
947
+ [125.695854, 103.635148, 81.3151878, 38.4671523, 42.6807179, 51.2604869],
948
+ [125.724007, 103.668369, 81.3555744, 38.8006009, 42.6571156, 50.7173949],
949
+ [125.746526, 103.695304, 81.3878276, 39.1679185, 42.6503275, 50.1486914],
950
+ [125.76149, 103.71389, 81.4091869, 39.5693001, 42.6611773, 49.5541392],
951
+ [125.766976, 103.722064, 81.416892, 40.0044226, 42.6901617, 48.9332024]
952
+ ],
953
+ [
954
+ [0, 0, 0, 2.8363167, 2.65482859, 2.34797976],
955
+ [0.0056571388, 551260227e-12, 0, 4.41200613, 4.0657188, 3.52216554],
956
+ [0.322801992, 0.0635599163, 0, 6.68008019, 6.13495074, 5.2342881],
957
+ [1.86636762, 0.505578476, 0.0124445771, 8.88820353, 8.24274368, 7.08903788],
958
+ [5.01856177, 1.67350096, 0.157574787, 10.8799095, 10.2065095, 8.91165653],
959
+ [9.4312063, 3.63896106, 0.562040124, 12.6726247, 12.0079406, 10.6529054],
960
+ [14.6147898, 6.29872952, 1.31684183, 14.3066552, 13.6644575, 12.3026064],
961
+ [20.131644, 9.45638332, 2.43421144, 15.8157186, 15.1986084, 13.865003],
962
+ [25.7116731, 12.9283244, 3.88465469, 17.224029, 16.6304589, 15.3494227],
963
+ [31.142653, 16.5600867, 5.60974291, 18.5488134, 17.9764323, 16.7663516],
964
+ [36.3728567, 20.2459108, 7.55006661, 19.8028956, 19.2498325, 18.1258031],
965
+ [41.3156517, 23.8977597, 9.64546965, 20.9964072, 20.4616199, 19.4367308],
966
+ [45.9528026, 27.4698471, 11.8506128, 22.1377596, 21.6210509, 20.7069137],
967
+ [50.3036418, 30.9353362, 14.1133917, 23.2341515, 22.736118, 21.9430389],
968
+ [54.3625771, 34.2609853, 16.4009462, 24.29182, 23.8138253, 23.1508482],
969
+ [58.1509653, 37.4405917, 18.6962017, 25.3161608, 24.8603471, 24.3352843],
970
+ [61.6591076, 40.4689575, 20.9596571, 26.3117925, 25.8811158, 25.5006147],
971
+ [64.9246215, 43.3586415, 23.1903011, 27.2825997, 26.8808709, 26.6505249],
972
+ [67.9881549, 46.089592, 25.3736358, 28.2317708, 27.8636866, 27.7881842],
973
+ [70.8699249, 48.6811976, 27.5120352, 29.1618442, 28.832998, 28.9162905],
974
+ [73.5473139, 51.138386, 29.5838755, 30.0747523, 29.7916222, 30.0371001],
975
+ [76.0501173, 53.4769401, 31.5965232, 30.9718796, 30.741791, 31.1524487],
976
+ [78.3847821, 55.687948, 33.5381206, 31.8541114, 31.6851787, 32.2637683],
977
+ [80.5713324, 57.7859855, 35.4154575, 32.7218999, 32.622947, 33.3721028],
978
+ [82.6241562, 59.7726051, 37.224081, 33.5753089, 33.5557778, 34.4781253],
979
+ [84.5580789, 61.6514264, 38.9632863, 34.4140832, 34.4839268, 35.5821574],
980
+ [86.3842338, 63.4356618, 40.6397272, 35.2376844, 35.4072571, 36.684191],
981
+ [88.1038164, 65.129116, 42.2484976, 36.0453603, 36.3252979, 37.7839136],
982
+ [89.7319958, 66.7435415, 43.7968376, 36.8361676, 37.2372727, 38.8807341],
983
+ [91.2697303, 68.2796073, 45.2863002, 37.6090431, 38.1421622, 39.9738133],
984
+ [92.7154404, 69.7371688, 46.7175411, 38.3628079, 39.0387216, 41.0620915],
985
+ [94.082139, 71.1271234, 48.0983101, 39.0962456, 39.9255498, 42.1443208],
986
+ [95.3767938, 72.4502501, 49.4244926, 39.8080824, 40.8010888, 43.2190926],
987
+ [96.6069069, 73.708778, 50.6938719, 40.4970779, 41.6637042, 44.2848705],
988
+ [97.7805411, 74.9116895, 51.91477, 41.1619769, 42.5116612, 45.3400135],
989
+ [98.8944442, 76.0575518, 53.0868035, 41.8016171, 43.3432192, 46.3828092],
990
+ [99.9466107, 77.1454111, 54.2097876, 42.4148543, 44.1565851, 47.4114913],
991
+ [100.946853, 78.1831395, 55.2898998, 43.0006763, 44.9500136, 48.4242712],
992
+ [101.897488, 79.1738478, 56.3283781, 43.5581312, 45.7217611, 49.4193509],
993
+ [102.799231, 80.1195431, 57.3255252, 44.086395, 46.4701488, 50.3949474],
994
+ [103.657137, 81.026325, 58.2863495, 44.5847849, 47.1935844, 51.3493103],
995
+ [104.475164, 81.8953852, 59.2121943, 45.0526782, 47.8905009, 52.2807257],
996
+ [105.25518, 82.7248738, 60.1014823, 45.4897143, 48.5595394, 53.1875533],
997
+ [106.000097, 83.5149633, 60.9551361, 45.8955043, 49.1993021, 54.0681972],
998
+ [106.714331, 84.271704, 61.7792745, 46.2699807, 49.8086703, 54.9211641],
999
+ [107.397529, 84.9960434, 62.571328, 46.6131056, 50.3865493, 55.7450259],
1000
+ [108.049018, 85.6884101, 63.3279956, 46.9249735, 50.9319644, 56.5384382],
1001
+ [108.671973, 86.3519404, 64.0499716, 47.2060203, 51.4442724, 57.3001851],
1002
+ [109.270065, 86.989723, 64.7426513, 47.4564937, 51.9226489, 58.0290779],
1003
+ [109.84134, 87.6006236, 65.4080705, 47.6771119, 52.3667444, 58.724087],
1004
+ [110.3838, 88.1834765, 66.0482449, 47.8686346, 52.7762682, 59.3842577],
1005
+ [110.899439, 88.7408507, 66.6672442, 48.0316821, 53.1507831, 60.0086563],
1006
+ [111.392382, 89.276147, 67.2661159, 48.1675509, 53.4905945, 60.5965717],
1007
+ [111.863233, 89.7886747, 67.8418178, 48.2772472, 53.7957094, 61.147273],
1008
+ [112.312588, 90.277766, 68.391312, 48.3617508, 54.0660952, 61.6600574],
1009
+ [112.742584, 90.7452194, 68.9150422, 48.4228522, 54.3026893, 62.1345022],
1010
+ [113.155977, 91.1948424, 69.4183923, 48.4618398, 54.5058582, 62.570075],
1011
+ [113.551734, 91.6253409, 69.9010152, 48.4798537, 54.6757618, 62.9662097],
1012
+ [113.928721, 92.0352514, 70.362379, 48.4790833, 54.8139133, 63.3227197],
1013
+ [114.286381, 92.4237338, 70.8026059, 48.4612886, 54.9213251, 63.6393053],
1014
+ [114.628823, 92.7950399, 71.2263971, 48.4275092, 54.9980152, 63.9154022],
1015
+ [114.956569, 93.1501724, 71.6334652, 48.3799289, 55.0455652, 64.1508795],
1016
+ [115.268993, 93.4889657, 72.022147, 48.3210383, 55.0660862, 64.3457575],
1017
+ [115.565475, 93.8112543, 72.3907792, 48.2521933, 55.0600787, 64.4996066],
1018
+ [115.847703, 94.1190186, 72.7403599, 48.1745164, 55.0276286, 64.6118777],
1019
+ [116.119273, 94.4156725, 73.0754151, 48.0907665, 54.9713663, 64.6827192],
1020
+ [116.378417, 94.6992061, 73.3953437, 48.003415, 54.8936349, 64.7121779],
1021
+ [116.62319, 94.9674585, 73.6993719, 47.913776, 54.7949911, 64.6997919],
1022
+ [116.851651, 95.2182687, 73.986726, 47.8222906, 54.6745004, 64.6447021],
1023
+ [117.065536, 95.4539134, 74.2608431, 47.7313276, 54.5345142, 64.54692],
1024
+ [117.268717, 95.6786333, 74.5250352, 47.6435928, 54.3782103, 64.4066221],
1025
+ [117.460819, 95.8912656, 74.7763179, 47.560729, 54.2071379, 64.2235154],
1026
+ [117.641462, 96.0906224, 75.0116732, 47.4834401, 54.021307, 63.9969106],
1027
+ [117.810262, 96.2755153, 75.2280831, 47.4108693, 53.8179161, 63.7255096],
1028
+ [117.970103, 96.4481801, 75.427633, 47.3443154, 53.5982337, 63.4090388],
1029
+ [118.125038, 96.6132647, 75.6173334, 47.2865312, 53.3665581, 63.0478711],
1030
+ [118.271603, 96.768739, 75.7952822, 47.2390585, 53.1251667, 62.6419086],
1031
+ [118.406189, 96.9124055, 75.9593403, 47.2029475, 52.8755149, 62.1909341],
1032
+ [118.525192, 97.0420666, 76.1073687, 47.1788858, 52.6183471, 61.6947169],
1033
+ [118.627095, 97.1575208, 76.2393867, 47.1669945, 52.3531585, 61.1530121],
1034
+ [118.722319, 97.2689947, 76.3666283, 47.1654197, 52.0752401, 60.5652356],
1035
+ [118.810668, 97.3743806, 76.4867664, 47.1711141, 51.7771022, 59.930934],
1036
+ [118.88943, 97.4690092, 76.5946891, 47.188915, 51.4669693, 59.2522455],
1037
+ [118.955893, 97.5482113, 76.6852844, 47.2219122, 51.1496148, 58.5307521],
1038
+ [119.007345, 97.6073177, 76.7534406, 47.2721579, 50.8278645, 57.7677586],
1039
+ [119.047927, 97.6512789, 76.8047795, 47.3411206, 50.5036941, 56.964415],
1040
+ [119.086385, 97.6925246, 76.85302, 47.4296743, 50.1784191, 56.1216844],
1041
+ [119.120541, 97.7288243, 76.895569, 47.5380323, 49.8527652, 55.2402999],
1042
+ [119.148066, 97.7577523, 76.9295846, 47.6656935, 49.5269238, 54.3207359],
1043
+ [119.166635, 97.7768828, 76.9522246, 47.8114239, 49.200618, 53.363206],
1044
+ [119.17392, 97.7837901, 76.960647, 47.9732789, 48.8731812, 52.367691]
1045
+ ],
1046
+ [
1047
+ [0, 0, 0, 2.64906018, 2.53803189, 2.29871964],
1048
+ [61420619e-12, 0, 0, 4.09650079, 3.81102215, 3.36459219],
1049
+ [0.027871758, 0.00451721436, 0, 6.47707316, 5.83819582, 4.96315804],
1050
+ [0.346451215, 0.0811476053, 0.00176569509, 8.90513546, 7.99528004, 6.76111144],
1051
+ [1.40830183, 0.421206796, 0.0404985592, 11.1433155, 10.0505797, 8.57222615],
1052
+ [3.39063724, 1.19989354, 0.190798277, 13.1728514, 11.9576985, 10.3296819],
1053
+ [6.22150112, 2.4956712, 0.536384445, 15.0201548, 13.7222119, 12.0122069],
1054
+ [9.67666966, 4.26731131, 1.12771874, 16.7185703, 15.364092, 13.6186876],
1055
+ [13.5377724, 6.44077455, 1.98074455, 18.2979029, 16.905046, 15.1567168],
1056
+ [17.624263, 8.90789386, 3.08736121, 19.7822681, 18.3644491, 16.6369421],
1057
+ [21.7567836, 11.5810689, 4.40553086, 21.1906279, 19.7584581, 18.0702802],
1058
+ [25.8707742, 14.371115, 5.90864796, 22.5379566, 21.1002488, 19.4666478],
1059
+ [29.9194457, 17.2206494, 7.56850123, 23.8363244, 22.4005643, 20.8345089],
1060
+ [33.8316256, 20.0846596, 9.32001738, 25.0957086, 23.6682645, 22.1808408],
1061
+ [37.5935001, 22.9242516, 11.1452183, 26.3245437, 24.9107759, 23.5112961],
1062
+ [41.2057745, 25.7221006, 13.0319472, 27.5300687, 26.1344248, 24.8304323],
1063
+ [44.6280451, 28.4498326, 14.943299, 28.7185356, 27.3446667, 26.1419413],
1064
+ [47.8782093, 31.1084815, 16.8737855, 29.8953324, 28.5462396, 27.4488443],
1065
+ [50.9634702, 33.6645777, 18.7853663, 31.0650515, 29.7432554, 28.7536422],
1066
+ [53.9000213, 36.1292735, 20.6801811, 32.2315351, 30.9392592, 30.0584206],
1067
+ [56.6773762, 38.497261, 22.5385617, 33.3979029, 32.1372562, 31.3649163],
1068
+ [59.3152606, 40.7787529, 24.364606, 34.5665815, 33.3397351, 32.6745544],
1069
+ [61.8048527, 42.9643292, 26.1507842, 35.7393266, 34.5486697, 33.9884636],
1070
+ [64.1622618, 45.0647078, 27.9024568, 36.917258, 35.7655379, 35.3074815],
1071
+ [66.3934713, 47.0742328, 29.6081336, 38.1008851, 36.9913164, 36.6321498],
1072
+ [68.5053278, 48.9924702, 31.2626344, 39.2901512, 38.2265088, 37.9627138],
1073
+ [70.5112416, 50.8294394, 32.8709408, 40.4844627, 39.4711398, 39.2991174],
1074
+ [72.4153676, 52.581091, 34.4244557, 41.6827425, 40.7247985, 40.6410095],
1075
+ [74.231581, 54.2560661, 35.9291165, 42.8834601, 41.9866319, 41.9877458],
1076
+ [75.9589038, 55.8597378, 37.3848494, 44.0846934, 43.2554062, 43.3384078],
1077
+ [77.5952205, 57.396374, 38.789819, 45.2841557, 44.5294942, 44.6918095],
1078
+ [79.1533969, 58.8738588, 40.1503252, 46.4792672, 45.8069597, 46.0465286],
1079
+ [80.6358798, 60.2892879, 41.465214, 47.667174, 47.0855283, 47.4009146],
1080
+ [82.0458222, 61.642136, 42.7353131, 48.8448309, 48.3627023, 48.7531306],
1081
+ [83.392484, 62.941677, 43.9670742, 50.009008, 49.635703, 50.1011562],
1082
+ [84.6764145, 64.1857029, 45.1541598, 51.1563848, 50.901621, 51.4428392],
1083
+ [85.8987166, 65.3725718, 46.2910382, 52.2835451, 52.1573283, 52.7758893],
1084
+ [87.0676885, 66.5103775, 47.3848733, 53.3870739, 53.399647, 54.097935],
1085
+ [88.1849002, 67.6006826, 48.438656, 54.4635552, 54.6252687, 55.4065157],
1086
+ [89.2508738, 68.6437617, 49.454003, 55.5096429, 55.8308663, 56.699122],
1087
+ [90.273052, 69.6453434, 50.4353817, 56.5221016, 57.0131348, 57.9732178],
1088
+ [91.252655, 70.6074197, 51.3836144, 57.4977985, 58.1686925, 59.2262195],
1089
+ [92.1862742, 71.5286633, 52.2973456, 58.4338391, 59.2944035, 60.4555968],
1090
+ [93.0732469, 72.4098286, 53.1772628, 59.3274476, 60.3869601, 61.6587548],
1091
+ [93.921341, 73.2569279, 54.0285658, 60.1761747, 61.4434421, 62.8332062],
1092
+ [94.7318562, 74.0698508, 54.849612, 60.9777726, 62.4608838, 63.9764437],
1093
+ [95.5054095, 74.8479168, 55.6381747, 61.7302733, 63.4364543, 65.0859951],
1094
+ [96.2446896, 75.5938417, 56.3961838, 62.4321101, 64.3678259, 66.1595499],
1095
+ [96.9534538, 76.3115333, 57.1277709, 63.0818735, 65.2523088, 67.194671],
1096
+ [97.6328122, 77.0001938, 57.8320732, 63.6786509, 66.0879846, 68.1891779],
1097
+ [98.2838695, 77.659018, 58.5081743, 64.2218236, 66.8729979, 69.1409107],
1098
+ [98.9107336, 78.2909044, 59.1591015, 64.7109895, 67.6052321, 70.047608],
1099
+ [99.5152935, 78.8990526, 59.7877763, 65.1463607, 68.283808, 70.9074485],
1100
+ [100.094863, 79.4825218, 60.3922746, 65.5282934, 68.9073393, 71.7184254],
1101
+ [100.646726, 80.040359, 60.9706948, 65.8574148, 69.4743983, 72.4785066],
1102
+ [101.171595, 80.5744984, 61.5239296, 66.1350157, 69.9851661, 73.186261],
1103
+ [101.674977, 81.0892882, 62.0564819, 66.3624054, 70.4389046, 73.8399142],
1104
+ [102.156609, 81.5828931, 62.5680925, 66.5410685, 70.8345991, 74.4375851],
1105
+ [102.616053, 82.0533092, 63.0583354, 66.6732212, 71.1734445, 74.9782428],
1106
+ [103.053501, 82.4992388, 63.5275143, 66.7610757, 71.455856, 75.4605698],
1107
+ [103.473955, 82.9254622, 63.9809139, 66.8066679, 71.6807611, 75.882697],
1108
+ [103.877106, 83.3333387, 64.4174615, 66.8127375, 71.8496074, 76.2437431],
1109
+ [104.261267, 83.7229272, 64.8344736, 66.7822972, 71.9646734, 76.5431592],
1110
+ [104.624754, 84.0942865, 65.2292669, 66.7178773, 72.0258232, 76.7795168],
1111
+ [104.968929, 84.4497989, 65.602359, 66.6219194, 72.032416, 76.9512728],
1112
+ [105.298763, 84.7930181, 65.959088, 66.4977105, 71.9877012, 77.0583616],
1113
+ [105.613016, 85.1215322, 66.2994588, 66.3483858, 71.8944936, 77.1005625],
1114
+ [105.91024, 85.4327366, 66.6232422, 66.1764084, 71.7530253, 77.0767944],
1115
+ [106.18899, 85.7240271, 66.9302092, 65.9836318, 71.5614856, 76.9854324],
1116
+ [106.451926, 85.9981334, 67.2240229, 65.7728287, 71.3229193, 76.8265772],
1117
+ [106.702935, 86.2600308, 67.5077259, 65.5468547, 71.0415368, 76.6006646],
1118
+ [106.940709, 86.5080452, 67.7779957, 65.3078144, 70.7192186, 76.3073867],
1119
+ [107.16389, 86.740485, 68.0315154, 65.0570553, 70.3557203, 75.9459029],
1120
+ [107.371118, 86.9556584, 68.2649681, 64.7946875, 69.9469557, 75.5145995],
1121
+ [107.565278, 87.1560882, 68.4806637, 64.5219225, 69.4946265, 75.0136301],
1122
+ [107.751879, 87.3474917, 68.6862084, 64.2408042, 69.0046227, 74.4441005],
1123
+ [107.927809, 87.527596, 68.8792526, 63.9525039, 68.4799943, 73.8063718],
1124
+ [108.089752, 87.693918, 69.0571867, 63.6577595, 67.9226721, 73.1006615],
1125
+ [108.234392, 87.8439745, 69.2174013, 63.3569549, 67.3336505, 72.3272551],
1126
+ [108.360805, 87.9775659, 69.3595663, 63.049961, 66.7122698, 71.4865946],
1127
+ [108.48114, 88.1064573, 69.4955565, 62.7350171, 66.0521796, 70.579058],
1128
+ [108.593947, 88.2282702, 69.6234914, 62.4092086, 65.343293, 69.6057245],
1129
+ [108.694794, 88.337695, 69.7385942, 62.0758096, 64.5970418, 68.5706731],
1130
+ [108.779247, 88.429422, 69.8360879, 61.7369936, 63.8201014, 67.4773671],
1131
+ [108.842874, 88.4981414, 69.9111956, 61.394309, 63.0164715, 66.3290502],
1132
+ [108.891141, 88.5494811, 69.9696126, 61.0490072, 62.1889843, 65.12885],
1133
+ [108.936734, 88.597589, 70.0246085, 60.7020014, 61.3395712, 63.8796858],
1134
+ [108.976987, 88.6399548, 70.0733921, 60.3537733, 60.4693721, 62.5841562],
1135
+ [109.009023, 88.6738461, 70.1129164, 60.0042862, 59.578831, 61.2444517],
1136
+ [109.029963, 88.6965307, 70.1401342, 59.6529319, 58.6678109, 59.8623144],
1137
+ [109.036929, 88.7052765, 70.1519985, 59.2985267, 57.7357279, 58.4390538]
1138
+ ],
1139
+ [
1140
+ [0, 0, 0, 2.47418826, 2.43960093, 2.23357585],
1141
+ [93422693e-16, 134257374e-18, 0, 3.72208607, 3.50228136, 3.14083969],
1142
+ [51182525e-11, 506045797e-13, 0, 5.87128028, 5.2457408, 4.49201651],
1143
+ [0.0222852265, 0.00408966615, 957469873e-13, 8.24624049, 7.22222241, 6.10180333],
1144
+ [0.173359339, 0.0434415839, 0.00446238122, 10.5464543, 9.19938137, 7.80474379],
1145
+ [0.626714368, 0.19230864, 0.0322517179, 12.6997873, 11.1065993, 9.51973011],
1146
+ [1.5216464, 0.540257916, 0.121028812, 14.7081567, 12.9289531, 11.2067468],
1147
+ [2.88831175, 1.14734315, 0.316581265, 16.5940549, 14.6720092, 12.8490383],
1148
+ [4.69745829, 2.04107895, 0.653481098, 18.3818077, 16.3479124, 14.4431757],
1149
+ [6.87167793, 3.20550442, 1.15461237, 20.0921341, 17.9697425, 15.9930155],
1150
+ [9.31816533, 4.60694243, 1.8158937, 21.7414013, 19.5493633, 17.5059826],
1151
+ [11.958848, 6.20381917, 2.63513746, 23.3422901, 21.0967856, 18.9908259],
1152
+ [14.7371171, 7.96462781, 3.60833733, 24.9047103, 22.6201786, 20.4563177],
1153
+ [17.5951734, 9.85352566, 4.70612953, 26.4366058, 24.1261278, 21.9105558],
1154
+ [20.4703096, 11.8213, 5.90610347, 27.9445717, 25.6199619, 23.3606419],
1155
+ [23.3314808, 13.8423653, 7.19738794, 29.4342973, 27.1060635, 24.8125859],
1156
+ [26.1597202, 15.8933706, 8.55440347, 30.9108682, 28.5881333, 26.2713395],
1157
+ [28.952114, 17.9689189, 9.97431483, 32.3789667, 30.0693979, 27.7408932],
1158
+ [31.6737083, 20.0286388, 11.4217249, 33.8429919, 31.5527616, 29.2243968],
1159
+ [34.3289888, 22.0743148, 12.8974878, 35.307131, 33.0409123, 30.7242802],
1160
+ [36.8856362, 24.083148, 14.3826696, 36.7753829, 34.5363818, 32.2423574],
1161
+ [39.3543917, 26.059667, 15.8790035, 38.2515648, 36.0415816, 33.7799149],
1162
+ [41.7408839, 27.9905305, 17.3628965, 39.739284, 37.5588019, 35.3377729],
1163
+ [44.0585236, 29.8803571, 18.8332498, 41.2419145, 39.0902064, 36.9163355],
1164
+ [46.2869627, 31.7202661, 20.2893576, 42.7625399, 40.637795, 38.5156154],
1165
+ [48.4164954, 33.5068721, 21.7328519, 44.3039193, 42.20338, 40.1352607],
1166
+ [50.4613792, 35.2443533, 23.1603844, 45.8684162, 43.7885305, 41.7745584],
1167
+ [52.4192397, 36.9223175, 24.5548274, 47.4579665, 45.3945462, 43.4324548],
1168
+ [54.298144, 38.546563, 25.9204793, 49.0740012, 47.0223934, 45.1075513],
1169
+ [56.1037533, 40.1186965, 27.2549085, 50.7174288, 48.6726907, 46.798133],
1170
+ [57.8415851, 41.6390319, 28.5529084, 52.3885549, 50.3456391, 48.5021617],
1171
+ [59.5198839, 43.114418, 29.8197523, 54.0870914, 52.0410323, 50.2173229],
1172
+ [61.1312385, 44.5388653, 31.0533857, 55.8120727, 53.7581778, 51.9410143],
1173
+ [62.6713093, 45.9084326, 32.2528876, 57.5619024, 55.4959443, 53.6704161],
1174
+ [64.1511828, 47.2312425, 33.4229368, 59.3342634, 57.2526665, 55.4024684],
1175
+ [65.5705903, 48.5070569, 34.5599066, 61.1262102, 59.0262389, 57.1339673],
1176
+ [66.9297327, 49.7359283, 35.6610476, 62.9340764, 60.8140025, 58.8615254],
1177
+ [68.2374174, 50.9240176, 36.7320622, 64.7535992, 62.6128739, 60.5816836],
1178
+ [69.4925387, 52.0706089, 37.7711402, 66.5798574, 64.419248, 62.2908726],
1179
+ [70.6923851, 53.1739091, 38.7750858, 68.4073709, 66.2290908, 63.9854916],
1180
+ [71.8406538, 54.2389595, 39.7469533, 70.2301526, 68.0379728, 65.6619403],
1181
+ [72.9434456, 55.2676115, 40.6892572, 72.041673, 69.8409627, 67.3165645],
1182
+ [74.0050229, 56.2580905, 41.601957, 73.8351332, 71.6329705, 68.9458617],
1183
+ [75.0314837, 57.2109271, 42.4868101, 75.6032254, 73.4083045, 70.546218],
1184
+ [76.0277801, 58.132092, 43.3480249, 77.338581, 75.1613017, 72.1142653],
1185
+ [76.9866242, 59.0199662, 44.1820812, 79.0335415, 76.8858605, 73.6465996],
1186
+ [77.8999804, 59.8722967, 44.984876, 80.6803591, 78.5756578, 75.139893],
1187
+ [78.7674326, 60.6914308, 45.7574192, 82.2715107, 80.2246469, 76.591129],
1188
+ [79.5978885, 61.4818517, 46.5045614, 83.7992234, 81.8259847, 77.9970269],
1189
+ [80.3941353, 62.2422644, 47.2255178, 85.2562865, 83.3735311, 79.3547818],
1190
+ [81.1589128, 62.9713235, 47.9194705, 86.6356785, 84.8609807, 80.6615857],
1191
+ [81.8961983, 63.6715623, 48.5891877, 87.9304622, 86.2813875, 81.9144103],
1192
+ [82.607498, 64.346542, 49.2373258, 89.1347874, 87.6294066, 83.1109836],
1193
+ [83.2914483, 64.9957956, 49.8621364, 90.2428933, 88.8987918, 84.2486315],
1194
+ [83.9466973, 65.6188574, 50.4618898, 91.2494826, 90.0830374, 85.3245941],
1195
+ [84.5753575, 66.2178427, 51.0378098, 92.1507744, 91.1781688, 86.3370712],
1196
+ [85.1823176, 66.7967128, 51.5942302, 92.9430405, 92.1786946, 87.2835889],
1197
+ [85.7653315, 67.3535552, 52.1299202, 93.6230579, 93.0785459, 88.1614532],
1198
+ [86.321907, 67.8863118, 52.6434591, 94.1896249, 93.8756437, 88.9692572],
1199
+ [86.8505235, 68.3938187, 53.134066, 94.6418067, 94.5667212, 89.7050147],
1200
+ [87.3577622, 68.8817351, 53.6060856, 94.9785365, 95.1457465, 90.365845],
1201
+ [87.8441042, 69.3504471, 54.0602388, 95.2010154, 95.6116918, 90.9502984],
1202
+ [88.3081076, 69.7986081, 54.4960196, 95.3117049, 95.9656501, 91.4572609],
1203
+ [88.7483308, 70.2248718, 54.912922, 95.3123464, 96.204166, 91.884271],
1204
+ [89.1663385, 70.6311075, 55.3133349, 95.2050556, 96.3228795, 92.2287221],
1205
+ [89.5672608, 71.0223617, 55.7014215, 94.9949893, 96.3261636, 92.4899256],
1206
+ [89.950035, 71.3965471, 56.0740578, 94.687672, 96.2182094, 92.666817],
1207
+ [90.3134015, 71.7513533, 56.4278971, 94.2875491, 95.9980791, 92.7571749],
1208
+ [90.6561007, 72.0844698, 56.7595927, 93.7981602, 95.6606146, 92.758193],
1209
+ [90.9820497, 72.3989069, 57.0720318, 93.226497, 95.2122845, 92.6691084],
1210
+ [91.2955558, 72.6996155, 57.3709833, 92.5806572, 94.6631223, 92.4893723],
1211
+ [91.5934138, 72.9848654, 57.6545329, 91.8674471, 94.0185613, 92.2175087],
1212
+ [91.872394, 73.2528874, 57.920757, 91.0923238, 93.2797307, 91.8515133],
1213
+ [92.1292669, 73.5019125, 58.1677319, 90.2580005, 92.4393963, 91.388813],
1214
+ [92.3667497, 73.7349667, 58.3982627, 89.3710055, 91.5046043, 90.8286476],
1215
+ [92.5929508, 73.9584585, 58.6187343, 88.4407495, 90.4927464, 90.1709903],
1216
+ [92.8052928, 74.1692797, 58.8264981, 87.4745301, 89.4148141, 89.4151041],
1217
+ [93.0009221, 74.3641067, 59.0186768, 86.4785804, 88.2792453, 88.5602299],
1218
+ [93.1769851, 74.5396161, 59.1923934, 85.4580683, 87.0922365, 87.6058792],
1219
+ [93.3333361, 74.695268, 59.3474268, 84.4164233, 85.8561187, 86.5520379],
1220
+ [93.4838626, 74.8453256, 59.4972802, 83.3520907, 84.5606906, 85.3993215],
1221
+ [93.6258555, 74.9870566, 59.6390703, 82.2597685, 83.188502, 84.1496264],
1222
+ [93.7531351, 75.1141767, 59.766502, 81.150066, 81.7694836, 82.8061398],
1223
+ [93.8595216, 75.2204015, 59.8732803, 80.0295133, 80.3221544, 81.3717774],
1224
+ [93.9388354, 75.2994468, 59.9531102, 78.9019843, 78.8587095, 79.8494402],
1225
+ [93.9978147, 75.3580317, 60.012661, 77.7697819, 77.388532, 78.2419627],
1226
+ [94.0530948, 75.4128886, 60.0685497, 76.6337981, 75.9188775, 76.5519566],
1227
+ [94.1017278, 75.4611196, 60.1177678, 75.4935696, 74.4551295, 74.7816515],
1228
+ [94.1404755, 75.499528, 60.1570128, 74.3473392, 73.0009445, 72.9327724],
1229
+ [94.1660995, 75.5249173, 60.1829823, 73.192156, 71.5583704, 71.0064786],
1230
+ [94.1753613, 75.5340909, 60.1923738, 72.024017, 70.1279596, 69.0033701]
1231
+ ]
1232
+ ];
1233
+
1234
+ // dist/sun/sunlight.js
1235
+ var SUN_RADIUS = 0.255 * Math.PI / 180;
1236
+ var REFERENCE_IRRADIANCE = Math.max(...SUNLIGHT_DATA[0][90].slice(0, 3));
1237
+ function getSunLight(altitude, options = {}) {
1238
+ const { turbidity = 3, cloudCover = 0, cloudOpticalDepth = 10 } = options;
1239
+ validateRange2("Sun altitude", altitude, -Math.PI / 2, Math.PI / 2);
1240
+ validateRange2("Turbidity", turbidity, 1, 10);
1241
+ validateRange2("Cloud cover", cloudCover, 0, 1);
1242
+ validateRange2("Cloud optical depth", cloudOpticalDepth, 0, Number.MAX_VALUE);
1243
+ if (altitude <= -SUN_RADIUS) {
1244
+ return { color: [0, 0, 0], intensity: 0, diffuse: { color: [0, 0, 0], intensity: 0 } };
1245
+ }
1246
+ const elevation = Math.max(0, altitude);
1247
+ const degrees = elevation * 180 / Math.PI;
1248
+ const altitudeIndex = Math.min(89, Math.floor(degrees));
1249
+ const altitudeFraction = degrees - altitudeIndex;
1250
+ const turbidityIndex = Math.min(8, Math.floor(turbidity) - 1);
1251
+ const turbidityFraction = turbidity - turbidityIndex - 1;
1252
+ const sample = (channel) => {
1253
+ const lower = SUNLIGHT_DATA[turbidityIndex];
1254
+ const upper = SUNLIGHT_DATA[turbidityIndex + 1];
1255
+ const low = interpolate(lower[altitudeIndex][channel], lower[altitudeIndex + 1][channel], altitudeFraction);
1256
+ const high = interpolate(upper[altitudeIndex][channel], upper[altitudeIndex + 1][channel], altitudeFraction);
1257
+ return interpolate(low, high, turbidityFraction) / REFERENCE_IRRADIANCE;
1258
+ };
1259
+ const diskHeight = Math.min(1, altitude / SUN_RADIUS);
1260
+ const visibility = (Math.acos(-diskHeight) + diskHeight * Math.sqrt(1 - diskHeight * diskHeight)) / Math.PI;
1261
+ const mu = Math.sin(elevation);
1262
+ const cloudTransmission = Math.exp(-cloudOpticalDepth / Math.max(0.05, mu));
1263
+ const directTransmission = 1 - cloudCover + cloudCover * cloudTransmission;
1264
+ const diffuseTransmission = 1 / (1 + 0.12 * cloudOpticalDepth);
1265
+ const direct = [0, 0, 0];
1266
+ const diffuse = [0, 0, 0];
1267
+ for (let channel = 0; channel < 3; channel++) {
1268
+ const beam = sample(channel) * visibility;
1269
+ const sky = sample(channel + 3) * visibility;
1270
+ direct[channel] = beam * directTransmission;
1271
+ diffuse[channel] = (1 - cloudCover) * sky + cloudCover * diffuseTransmission * (sky + beam * mu * (1 - cloudTransmission));
1272
+ }
1273
+ return { ...normalize(direct), diffuse: normalize(diffuse) };
1274
+ }
1275
+ function interpolate(a, b, fraction) {
1276
+ return a + (b - a) * fraction;
1277
+ }
1278
+ function normalize(rgb2) {
1279
+ const intensity = Math.max(...rgb2);
1280
+ return {
1281
+ color: intensity > 0 ? [rgb2[0] / intensity, rgb2[1] / intensity, rgb2[2] / intensity] : [0, 0, 0],
1282
+ intensity
1283
+ };
1284
+ }
1285
+ function validateRange2(name, value, minimum, maximum) {
1286
+ if (!Number.isFinite(value) || value < minimum || value > maximum) {
1287
+ throw new RangeError(`${name} must be finite and between ${minimum} and ${maximum}`);
1288
+ }
1289
+ }
1290
+
1291
+ // dist/sun/sky-observer.js
1292
+ function getSkyHorizonAltitude(azimuth, profile = []) {
1293
+ validateRange("Azimuth", azimuth, -Number.MAX_VALUE, Number.MAX_VALUE);
1294
+ const tau = 2 * Math.PI;
1295
+ const wrap = (angle2) => (angle2 % tau + tau) % tau;
1296
+ const points = profile.map((point) => {
1297
+ validateRange("Horizon azimuth", point.azimuth, -Number.MAX_VALUE, Number.MAX_VALUE);
1298
+ validateRange("Horizon altitude", point.altitude, -Math.PI / 2, Math.PI / 2);
1299
+ return { azimuth: wrap(point.azimuth), altitude: point.altitude };
1300
+ }).sort((a, b) => a.azimuth - b.azimuth);
1301
+ if (points.length === 0)
1302
+ return 0;
1303
+ if (points.length === 1)
1304
+ return points[0].altitude;
1305
+ if (points.some((point, i) => i > 0 && point.azimuth === points[i - 1].azimuth))
1306
+ throw new RangeError("Horizon azimuths must be distinct modulo 2PI");
1307
+ const angle = wrap(azimuth);
1308
+ const index = points.findIndex((point) => point.azimuth > angle);
1309
+ const upper = index < 0 ? { ...points[0], azimuth: points[0].azimuth + tau } : points[index];
1310
+ const lower = index === 0 ? { ...points[points.length - 1], azimuth: points[points.length - 1].azimuth - tau } : points[index < 0 ? points.length - 1 : index - 1];
1311
+ const t = (angle - lower.azimuth) / (upper.azimuth - lower.azimuth);
1312
+ return lower.altitude + t * (upper.altitude - lower.altitude);
1313
+ }
1314
+ function createSkyObserver(options) {
1315
+ const { latitude, longitude, elevation = 0 } = options;
1316
+ validateRange("Latitude", latitude, -90, 90);
1317
+ validateRange("Longitude", longitude, -Number.MAX_VALUE, Number.MAX_VALUE);
1318
+ validateRange("Elevation", elevation, -1e3, 1e5);
1319
+ return Object.freeze({ latitude, longitude: (longitude % 360 + 540) % 360 - 180, elevation });
1320
+ }
1321
+ function getSkyDirection(altitude, azimuth) {
1322
+ validateRange("Altitude", altitude, -Math.PI / 2, Math.PI / 2);
1323
+ validateRange("Azimuth", azimuth, -Number.MAX_VALUE, Number.MAX_VALUE);
1324
+ return [
1325
+ -Math.cos(altitude) * Math.sin(azimuth),
1326
+ -Math.cos(altitude) * Math.cos(azimuth),
1327
+ Math.sin(altitude)
1328
+ ];
1329
+ }
1330
+ function reverseSkyDirection(direction) {
1331
+ if (direction.length !== 3 || direction.some((value) => !Number.isFinite(value)) || Math.hypot(...direction) === 0)
1332
+ throw new RangeError("Direction must be a finite nonzero three-vector");
1333
+ return [-direction[0], -direction[1], -direction[2]];
1334
+ }
1335
+
1336
+ // dist/sun/sky-brightness.js
1337
+ function createSkyAtmosphere(options = {}) {
1338
+ const { pressure = 1013.25, aerosolOpticalDepth = 0.1, cloudCover = 0, cloudOpticalDepth = 10, darkSkyLuminance = 2e-4, lightPollutionLuminance = 0 } = options;
1339
+ const atmosphere = {
1340
+ pressure,
1341
+ aerosolOpticalDepth,
1342
+ cloudCover,
1343
+ cloudOpticalDepth,
1344
+ darkSkyLuminance,
1345
+ lightPollutionLuminance
1346
+ };
1347
+ validateRange("Pressure", atmosphere.pressure, 0, 1100);
1348
+ validateRange("Aerosol optical depth", atmosphere.aerosolOpticalDepth, 0, 10);
1349
+ validateRange("Cloud cover", atmosphere.cloudCover, 0, 1);
1350
+ validateRange("Cloud optical depth", atmosphere.cloudOpticalDepth, 0, 1e3);
1351
+ validateRange("Dark sky luminance", atmosphere.darkSkyLuminance, 0, 100);
1352
+ validateRange("Light pollution luminance", atmosphere.lightPollutionLuminance, 0, 100);
1353
+ return Object.freeze(atmosphere);
1354
+ }
1355
+ function getSkyAirMass(altitude) {
1356
+ validateRange("Altitude", altitude, -Math.PI / 2, Math.PI / 2);
1357
+ const a = Math.max(0, altitude);
1358
+ return 1 / (Math.sin(a) + 0.50572 * Math.pow(a * 180 / Math.PI + 6.07995, -1.6364));
1359
+ }
1360
+ function getSkyTransmission(altitude, options = {}) {
1361
+ const a = createSkyAtmosphere(options);
1362
+ const tau = 8735e-6 * Math.pow(0.55, -4.08) * a.pressure / 1013.25 + a.aerosolOpticalDepth;
1363
+ return Math.exp(-getSkyAirMass(altitude) * tau) * (1 - a.cloudCover + a.cloudCover * Math.exp(-a.cloudOpticalDepth / Math.max(0.05, Math.sin(altitude))));
1364
+ }
1365
+ function getSkyLuminance(sunAltitude, viewAltitude, sunSeparation, options = {}) {
1366
+ validateRange("Sun altitude", sunAltitude, -Math.PI / 2, Math.PI / 2);
1367
+ validateRange("View altitude", viewAltitude, -Math.PI / 2, Math.PI / 2);
1368
+ validateRange("Sun separation", sunSeparation, 0, Math.PI);
1369
+ const a = createSkyAtmosphere(options);
1370
+ const degrees = sunAltitude * 180 / Math.PI;
1371
+ if (a.pressure === 0)
1372
+ return a.darkSkyLuminance + a.lightPollutionLuminance;
1373
+ const fit = (depression) => Math.pow(10, (12.58 - (11.84 + 1.518 * (depression - 5) - 0.057 * Math.pow(depression - 5, 2))) / 2.5) * a.pressure / 743;
1374
+ let zenith;
1375
+ if (degrees >= -5) {
1376
+ zenith = fit(5) * Math.exp((degrees + 5) * Math.log(3e3 / fit(5)) / 5);
1377
+ if (degrees > 0)
1378
+ zenith = 3e3 + 7e3 * Math.sin(sunAltitude);
1379
+ } else if (degrees >= -15)
1380
+ zenith = fit(-degrees);
1381
+ else {
1382
+ const t = Math.min(1, (-degrees - 15) / 3);
1383
+ const smooth = t * t * (3 - 2 * t);
1384
+ zenith = fit(15) * (1 - smooth) + a.darkSkyLuminance * smooth;
1385
+ }
1386
+ const night = a.darkSkyLuminance + a.lightPollutionLuminance;
1387
+ const daylightWeight = Math.max(0, Math.min(1, (degrees + 15) / 10));
1388
+ const g = 0.8;
1389
+ const phase = (angle) => (1 - g * g) / Math.pow(1 + g * g - 2 * g * Math.cos(angle), 1.5);
1390
+ const scattering = (angle) => 1 + Math.cos(angle) ** 2 + 0.1 * (1 + a.aerosolOpticalDepth * 10) * phase(angle);
1391
+ const directional = scattering(sunSeparation) / scattering(Math.PI / 2 - sunAltitude);
1392
+ const horizon = 1 + daylightWeight * Math.max(0, getSkyAirMass(viewAltitude) - 1) * 0.08;
1393
+ const clear = night + Math.max(0, zenith - a.darkSkyLuminance) * (1 - daylightWeight + daylightWeight * directional) * horizon;
1394
+ const cloudTransmission = 1 / (1 + 0.12 * a.cloudOpticalDepth);
1395
+ const cloudy = a.darkSkyLuminance + a.lightPollutionLuminance * (1 + a.cloudOpticalDepth * 0.1) + Math.max(0, zenith - a.darkSkyLuminance) * cloudTransmission;
1396
+ return clear * (1 - a.cloudCover) + cloudy * a.cloudCover;
1397
+ }
1398
+ function getSkyContrastThreshold(backgroundLuminance, solidAngle, observerFactor = 2) {
1399
+ validateRange("Background luminance", backgroundLuminance, 0, Number.MAX_VALUE);
1400
+ validateRange("Solid angle", solidAngle, Number.MIN_VALUE, 4 * Math.PI);
1401
+ validateRange("Observer factor", observerFactor, 1, 100);
1402
+ const b = Math.max(1e-5, backgroundLuminance);
1403
+ const r = b <= 0.0708 ? Math.pow(6505e-7 * Math.pow(b, -0.25) - 8461e-7, 2) : Math.pow(1772e-7 * Math.pow(b, -0.25) + 7167e-8, 2);
1404
+ const largeTarget = b < 0.354 ? 7633e-6 * Math.pow(b, -0.25) - 7174e-6 : 272e-5;
1405
+ const q = b < 0.193 ? 0.6 : b < 3.4 ? 0.8861 + 0.4 * Math.log10(b) : 1.146 - 0.0885 * Math.log10(b);
1406
+ const exponent = Math.max(0.2, q);
1407
+ return observerFactor * Math.pow(Math.pow(r / solidAngle, exponent) + Math.pow(largeTarget, exponent), 1 / exponent);
1408
+ }
1409
+
1410
+ // dist/sun/moon-sky-brightness.js
1411
+ function getScatteredMoonLuminance(phaseAngle, moonAltitude, viewAltitude, separation, options = {}) {
1412
+ validateRange("Phase angle", phaseAngle, 0, Math.PI);
1413
+ validateRange("Moon altitude", moonAltitude, -Math.PI / 2, Math.PI / 2);
1414
+ validateRange("View altitude", viewAltitude, -Math.PI / 2, Math.PI / 2);
1415
+ validateRange("Moon separation", separation, 0, Math.PI);
1416
+ const atmosphere = createSkyAtmosphere(options);
1417
+ const distance = options.distance ?? 384400;
1418
+ validateRange("Moon distance", distance, 1737.4, Number.MAX_VALUE);
1419
+ const k = options.extinction ?? 1.085736 * (8735e-6 * 0.55 ** -4.08 * atmosphere.pressure / 1013.25 + atmosphere.aerosolOpticalDepth);
1420
+ validateRange("Extinction", k, 0, 20);
1421
+ const radius = Math.asin(1737.4 / distance);
1422
+ if (moonAltitude <= -radius || viewAltitude < 0 || phaseAngle === Math.PI)
1423
+ return 0;
1424
+ const h = Math.max(-1, Math.min(1, moonAltitude / radius));
1425
+ const visibleFraction = (Math.acos(-h) + h * Math.sqrt(1 - h * h)) / Math.PI;
1426
+ const degrees = phaseAngle * 180 / Math.PI;
1427
+ const brightness = Math.min(10 ** (-0.4 * (0.026 * degrees + 4e-9 * degrees ** 4)), (1 + Math.cos(phaseAngle)) / 2) * 10 ** (-0.4 * 3.84);
1428
+ const rho = Math.max(0.25, separation * 180 / Math.PI);
1429
+ const scattering = 10 ** 5.36 * (1.06 + Math.cos(separation) ** 2) + (rho < 10 ? 62e6 / rho ** 2 : 10 ** (6.15 - rho / 40));
1430
+ const x = (altitude) => 1 / Math.sqrt(1 - 0.96 * Math.cos(altitude) ** 2);
1431
+ const clouds = 1 - atmosphere.cloudCover + atmosphere.cloudCover * Math.exp(-atmosphere.cloudOpticalDepth / Math.max(0.05, Math.sin(moonAltitude)));
1432
+ return scattering * brightness * 10 ** (-0.4 * k * x(moonAltitude)) * (1 - 10 ** (-0.4 * k * x(viewAltitude))) * (384400 / distance) ** 2 * clouds * visibleFraction * 1e-5 / Math.PI;
1433
+ }
1434
+
1435
+ // dist/sun/moon-appearance.js
1436
+ function getMoonAppearance(moonAltitude, sunAltitude, options) {
1437
+ const { phaseAngle, sunSeparation, distance = 384400, observerFactor = 2, horizonAltitude = 0 } = options;
1438
+ validateRange("Moon altitude", moonAltitude, -Math.PI / 2, Math.PI / 2);
1439
+ validateRange("Phase angle", phaseAngle, 0, Math.PI);
1440
+ validateRange("Moon distance", distance, 1737.4, Number.MAX_VALUE);
1441
+ validateRange("Horizon altitude", horizonAltitude, -Math.PI / 2, Math.PI / 2);
1442
+ const backgroundLuminance = getSkyLuminance(sunAltitude, moonAltitude, sunSeparation, options) + getScatteredMoonLuminance(phaseAngle, moonAltitude, moonAltitude, 0, { ...options, distance });
1443
+ const radius = Math.asin(1737.4 / distance);
1444
+ const illuminatedFraction = (1 + Math.cos(phaseAngle)) / 2;
1445
+ const degrees = phaseAngle * 180 / Math.PI;
1446
+ const phaseBrightness = Math.min(Math.pow(10, -0.4 * (0.026 * degrees + 4e-9 * degrees ** 4)), illuminatedFraction);
1447
+ const h = Math.max(-1, Math.min(1, (moonAltitude - horizonAltitude) / radius));
1448
+ const visibleDiskFraction = (Math.acos(-h) + h * Math.sqrt(1 - h * h)) / Math.PI;
1449
+ const illuminance = Math.pow(10, -0.4 * 1.26) * phaseBrightness * (384400 / distance) ** 2 * getSkyTransmission(moonAltitude, options) * visibleDiskFraction;
1450
+ const solidAngle = 2 * Math.PI * (1 - Math.cos(radius)) * illuminatedFraction * visibleDiskFraction;
1451
+ const diskLuminance = solidAngle > 0 ? illuminance / solidAngle : 0;
1452
+ const contrast = diskLuminance / Math.max(1e-5, backgroundLuminance);
1453
+ const contrastThreshold = getSkyContrastThreshold(backgroundLuminance, Math.max(1e-15, solidAngle), observerFactor);
1454
+ const ratio = contrast / contrastThreshold;
1455
+ const t = Math.max(0, Math.min(1, (Math.log2(Math.max(1e-30, ratio)) + 1) / 2));
1456
+ return {
1457
+ illuminance,
1458
+ horizontalIlluminance: illuminance * Math.max(0, Math.sin(moonAltitude)),
1459
+ backgroundLuminance,
1460
+ diskLuminance,
1461
+ contrast,
1462
+ contrastThreshold,
1463
+ illuminatedFraction,
1464
+ visibleDiskFraction,
1465
+ visible: ratio >= 1 && illuminance > 0,
1466
+ fade: t * t * (3 - 2 * t)
1467
+ };
1468
+ }
1469
+
1470
+ // dist/sun/sky-lighting.js
1471
+ function getSkyLighting(sunAltitude, moonAltitude, options) {
1472
+ const atmosphere = createSkyAtmosphere(options);
1473
+ const sunlight = getSunLight(sunAltitude, {
1474
+ turbidity: Math.min(10, 1 + 20 * atmosphere.aerosolOpticalDepth),
1475
+ cloudCover: atmosphere.cloudCover,
1476
+ cloudOpticalDepth: atmosphere.cloudOpticalDepth
1477
+ });
1478
+ const moonlight = getMoonLight(moonAltitude, {
1479
+ ...atmosphere,
1480
+ phaseAngle: options.moonPhaseAngle,
1481
+ distance: options.moonDistance
1482
+ });
1483
+ const appearance = getMoonAppearance(moonAltitude, sunAltitude, {
1484
+ ...atmosphere,
1485
+ phaseAngle: options.moonPhaseAngle,
1486
+ distance: options.moonDistance,
1487
+ sunSeparation: options.moonSunSeparation
1488
+ });
1489
+ const reference2 = Math.max(...SUNLIGHT_DATA[0][90].slice(0, 3));
1490
+ const directSunIlluminance = sunlight.intensity * reference2 * 683 * (0.2126 * sunlight.color[0] + 0.7152 * sunlight.color[1] + 0.0722 * sunlight.color[2]);
1491
+ let diffuseSkyIlluminance = 0;
1492
+ let diffuseMoonIlluminance = 0;
1493
+ for (let i = 0; i < 8; i++) {
1494
+ const u = (i + 0.5) / 8;
1495
+ const altitude = Math.asin(u);
1496
+ for (let j = 0; j < 16; j++) {
1497
+ const azimuth = (j + 0.5) * 2 * Math.PI / 16;
1498
+ const separation = Math.acos(Math.max(-1, Math.min(1, u * Math.sin(sunAltitude) + Math.cos(altitude) * Math.cos(sunAltitude) * Math.cos(azimuth))));
1499
+ diffuseSkyIlluminance += getSkyLuminance(sunAltitude, altitude, separation, atmosphere) * u * 2 * Math.PI / 128;
1500
+ const moonSeparation = Math.acos(Math.max(-1, Math.min(1, u * Math.sin(moonAltitude) + Math.cos(altitude) * Math.cos(moonAltitude) * Math.cos(azimuth))));
1501
+ diffuseMoonIlluminance += getScatteredMoonLuminance(options.moonPhaseAngle, moonAltitude, altitude, moonSeparation, {
1502
+ ...atmosphere,
1503
+ distance: options.moonDistance
1504
+ }) * u * 2 * Math.PI / 128;
1505
+ }
1506
+ }
1507
+ const twilightColor = [0.65, 0.75, 1];
1508
+ const daylight = Math.max(0, Math.min(1, (sunAltitude * 180 / Math.PI + 5) / 5));
1509
+ const diffuseSkyColor = twilightColor.map((value, i) => ((1 - daylight) * value + daylight * sunlight.diffuse.color[i]) * (1 - atmosphere.cloudCover) + atmosphere.cloudCover);
1510
+ const peak = Math.max(...diffuseSkyColor);
1511
+ return {
1512
+ sun: {
1513
+ ...sunlight,
1514
+ illuminance: directSunIlluminance,
1515
+ horizontalIlluminance: directSunIlluminance * Math.max(0, Math.sin(sunAltitude))
1516
+ },
1517
+ moon: {
1518
+ ...moonlight,
1519
+ illuminance: appearance.illuminance,
1520
+ horizontalIlluminance: appearance.horizontalIlluminance
1521
+ },
1522
+ diffuseSkyIlluminance: diffuseSkyIlluminance + diffuseMoonIlluminance,
1523
+ diffuseMoonIlluminance,
1524
+ // RGB tint is an illustrative rendering approximation, separate from V-band photometry.
1525
+ diffuseSkyColor: diffuseSkyColor.map((value) => value / peak),
1526
+ photometricUnits: "lux"
1527
+ };
1528
+ }
1529
+
1530
+ // dist/sun/sky-events.js
1531
+ function searchSkyVisibility(start, end, visible, options = {}) {
1532
+ const first = new Date(start).getTime(), last = new Date(end).getTime();
1533
+ validateRange("Start time", first, -864e13, 864e13);
1534
+ validateRange("End time", last, first + 1, 864e13);
1535
+ const sampleSeconds = options.sampleSeconds ?? 30;
1536
+ const transitionSeconds = options.transitionSeconds ?? 1;
1537
+ validateRange("Sample seconds", sampleSeconds, 0.1, 3600);
1538
+ validateRange("Transition seconds", transitionSeconds, 1e-3, sampleSeconds);
1539
+ if ((last - first) / (sampleSeconds * 1e3) > 1e5)
1540
+ throw new RangeError("Search would exceed 100000 samples");
1541
+ const intervals = [];
1542
+ const cache = /* @__PURE__ */ new Map();
1543
+ const at = (time2) => {
1544
+ if (!cache.has(time2)) {
1545
+ const state2 = visible(time2);
1546
+ if (typeof state2 !== "boolean")
1547
+ throw new TypeError("Visibility predicate must return boolean");
1548
+ cache.set(time2, state2);
1549
+ }
1550
+ return cache.get(time2);
1551
+ };
1552
+ let time = first, state = at(first), active = state ? first : null;
1553
+ while (time < last) {
1554
+ const next = Math.min(last, time + sampleSeconds * 1e3), after = at(next);
1555
+ if (state !== after) {
1556
+ let lower = time, upper = next;
1557
+ while (upper - lower > transitionSeconds * 1e3) {
1558
+ const middle = (lower + upper) / 2;
1559
+ if (at(middle) === state)
1560
+ lower = middle;
1561
+ else
1562
+ upper = middle;
1563
+ }
1564
+ const transition = (lower + upper) / 2;
1565
+ if (after)
1566
+ active = transition;
1567
+ else {
1568
+ intervals.push({
1569
+ start: active,
1570
+ end: transition,
1571
+ startClipped: active === first,
1572
+ endClipped: false
1573
+ });
1574
+ active = null;
1575
+ }
1576
+ }
1577
+ time = next;
1578
+ state = after;
1579
+ }
1580
+ if (active !== null)
1581
+ intervals.push({ start: active, end: last, startClipped: active === first, endClipped: true });
1582
+ return { intervals, evaluations: cache.size, sampleSeconds, transitionSeconds };
1583
+ }
1584
+
1585
+ // dist/sun/sky-globe.js
1586
+ var SKY_GLOBE_EARTH_RADIUS = 6370972;
1587
+ function getSkyGlobeRotation(observer) {
1588
+ const { latitude, longitude } = createSkyObserver(observer);
1589
+ const phi = latitude * Math.PI / 180;
1590
+ const lambda = longitude * Math.PI / 180;
1591
+ const s = Math.sin(lambda), c = Math.cos(lambda), sp = Math.sin(phi), cp = Math.cos(phi);
1592
+ return [c, s, 0, -s * sp, c * sp, cp, s * cp, -c * cp, sp];
1593
+ }
1594
+ function skyDirectionToGlobe(direction, observer) {
1595
+ reverseSkyDirection(direction);
1596
+ const m = getSkyGlobeRotation(observer);
1597
+ return [0, 1, 2].map((row) => m[row] * direction[0] + m[row + 3] * direction[1] + m[row + 6] * direction[2]);
1598
+ }
1599
+ function getSkyGlobePosition(direction, observer, distance) {
1600
+ validateRange("Rendering distance", distance, Number.MIN_VALUE, Number.MAX_VALUE);
1601
+ const location = createSkyObserver(observer);
1602
+ const ray = skyDirectionToGlobe(direction, location);
1603
+ const length = Math.hypot(...ray);
1604
+ const up = skyDirectionToGlobe([0, 0, 1], location);
1605
+ const position = ray.map((value, i) => value / length * distance + up[i] * (SKY_GLOBE_EARTH_RADIUS + location.elevation));
1606
+ const radius = Math.hypot(...position);
1607
+ if (!Number.isFinite(radius) || radius === 0)
1608
+ throw new RangeError("Sky position must have finite nonzero radius");
1609
+ return [
1610
+ Math.atan2(position[0], -position[1]) * 180 / Math.PI,
1611
+ Math.atan2(position[2], Math.hypot(position[0], position[1])) * 180 / Math.PI,
1612
+ radius - SKY_GLOBE_EARTH_RADIUS
1613
+ ];
1614
+ }
1615
+ function skyRotationToGlobe(rotation, observer) {
1616
+ if (rotation.length !== 9 || rotation.some((value) => !Number.isFinite(value)))
1617
+ throw new RangeError("Rotation must contain nine finite values");
1618
+ return [0, 3, 6].flatMap((offset) => skyDirectionToGlobe(rotation.slice(offset, offset + 3), observer));
1619
+ }
1620
+
1621
+ // dist/sun/cloud-spectral.js
1622
+ var samples = Array.from({ length: 41 }, (_, i) => {
1623
+ const nm = 380 + 10 * i;
1624
+ const wavelength = nm * 1e-9;
1625
+ const power = 1 / (wavelength ** 5 * Math.expm1(0.01438776877 / (5778 * wavelength)));
1626
+ const weight = i === 0 || i === 40 ? 0.5 : 1;
1627
+ const lobe = (center, left, right) => Math.exp(-0.5 * ((nm - center) * (nm < center ? left : right)) ** 2);
1628
+ const matching = [
1629
+ 0.362 * lobe(442, 0.0624, 0.0374) + 1.056 * lobe(599.8, 0.0264, 0.0323) - 0.065 * lobe(501.1, 0.049, 0.0382),
1630
+ 0.821 * lobe(568.8, 0.0213, 0.0247) + 0.286 * lobe(530.9, 0.0613, 0.0322),
1631
+ 1.217 * lobe(437, 0.0845, 0.0278) + 0.681 * lobe(459, 0.0385, 0.0725)
1632
+ ];
1633
+ return { wavelength: nm / 1e3, xyz: matching.map((value) => value * power * weight) };
1634
+ });
1635
+ var referenceXYZ = [0, 1, 2].map((axis) => samples.reduce((sum, sample) => sum + sample.xyz[axis], 0));
1636
+ var reference = Math.max(...rgb(referenceXYZ));
1637
+ function getCloudSunSpectrum(molecularColumn, aerosolColumn, pressure, aerosolOpticalDepth, angstromExponent) {
1638
+ const xyz = [0, 0, 0];
1639
+ for (const sample of samples) {
1640
+ const rayleigh = 8735e-6 * sample.wavelength ** -4.08 * pressure / 1013.25;
1641
+ const aerosol = aerosolOpticalDepth * (sample.wavelength / 0.55) ** -angstromExponent;
1642
+ const transmission = Math.exp(-rayleigh * molecularColumn - aerosol * aerosolColumn);
1643
+ for (let axis = 0; axis < 3; axis++)
1644
+ xyz[axis] += transmission * sample.xyz[axis];
1645
+ }
1646
+ return rgb(xyz).map((value) => Math.max(0, value / reference));
1647
+ }
1648
+ function rgb([x, y, z]) {
1649
+ return [
1650
+ 3.2406 * x - 1.5372 * y - 0.4986 * z,
1651
+ -0.9689 * x + 1.8758 * y + 0.0415 * z,
1652
+ 0.0557 * x - 0.204 * y + 1.057 * z
1653
+ ];
1654
+ }
1655
+
1656
+ // dist/sun/cloud-lighting.js
1657
+ var EARTH_RADIUS = 6371e3;
1658
+ var ATMOSPHERE_TOP = 1e5;
1659
+ var RAYLEIGH_HEIGHT = 8e3;
1660
+ var AEROSOL_HEIGHT = 1200;
1661
+ var SUN_RADIUS2 = 0.266 * Math.PI / 180;
1662
+ var REFERENCE_ILLUMINANCE = 11e4;
1663
+ function getCloudLighting(sunAltitude, options = {}) {
1664
+ validateRange("Sun altitude", sunAltitude, -Math.PI / 2, Math.PI / 2);
1665
+ const atmosphere = createSkyAtmosphere(options);
1666
+ const { cloudAltitude = 2e3, angstromExponent = 1.3, sunOpticalDepth = 0, viewOpticalDepth = 0, sunSeparation = Math.PI / 2, asymmetry = 0.7, singleScatteringAlbedo = 0.999, integrationSteps = 512 } = options;
1667
+ validateRange("Cloud altitude", cloudAltitude, 0, 5e4);
1668
+ validateRange("Angstrom exponent", angstromExponent, 0, 4);
1669
+ validateRange("Sun optical depth", sunOpticalDepth, 0, 1e3);
1670
+ validateRange("View optical depth", viewOpticalDepth, 0, 1e3);
1671
+ validateRange("Sun separation", sunSeparation, 0, Math.PI);
1672
+ validateRange("Asymmetry", asymmetry, -0.95, 0.95);
1673
+ validateRange("Single-scattering albedo", singleScatteringAlbedo, 0, 1);
1674
+ validateRange("Integration steps", integrationSteps, 32, 2048);
1675
+ if (!Number.isInteger(integrationSteps) || integrationSteps % 2)
1676
+ throw new RangeError("Integration steps must be an even integer");
1677
+ const radius = EARTH_RADIUS + cloudAltitude;
1678
+ const horizonAltitude = -Math.acos(EARTH_RADIUS / radius);
1679
+ const diskHeight = sunAltitude <= horizonAltitude - SUN_RADIUS2 ? -1 : sunAltitude >= horizonAltitude + SUN_RADIUS2 ? 1 : (sunAltitude - horizonAltitude) / SUN_RADIUS2;
1680
+ const theta = Math.acos(-diskHeight);
1681
+ const segmentArea = theta < 0.01 ? theta ** 3 * (2 / 3 - 2 * theta ** 2 / 15 + 4 * theta ** 4 / 315) : theta - Math.sin(theta) * Math.cos(theta);
1682
+ const sunVisibleFraction = Math.max(0, Math.min(1, segmentArea / Math.PI));
1683
+ const centroid = segmentArea > 0 ? 2 / 3 * Math.sin(theta) ** 3 / segmentArea : 0;
1684
+ const rayAltitude = Math.max(horizonAltitude, sunAltitude + centroid * SUN_RADIUS2);
1685
+ let rayleighAirMass = 0, aerosolAirMass = 0;
1686
+ const directRGB = [0, 0, 0];
1687
+ if (sunVisibleFraction > 0) {
1688
+ const mu = Math.sin(rayAltitude);
1689
+ const top = EARTH_RADIUS + ATMOSPHERE_TOP;
1690
+ const rayLength = -radius * mu + Math.sqrt((radius * mu) ** 2 + top * top - radius * radius);
1691
+ const step = rayLength / integrationSteps;
1692
+ for (let i = 0; i <= integrationSteps; i++) {
1693
+ const s = i * step;
1694
+ const radialSquared = radius * radius + 2 * radius * mu * s + s * s;
1695
+ const height = Math.max(0, (radialSquared - EARTH_RADIUS ** 2) / (Math.sqrt(radialSquared) + EARTH_RADIUS));
1696
+ const weight = i === 0 || i === integrationSteps ? 1 : i % 2 ? 4 : 2;
1697
+ rayleighAirMass += weight * Math.exp(-height / RAYLEIGH_HEIGHT);
1698
+ aerosolAirMass += weight * Math.exp(-height / AEROSOL_HEIGHT);
1699
+ }
1700
+ rayleighAirMass *= step / (3 * RAYLEIGH_HEIGHT);
1701
+ aerosolAirMass *= step / (3 * AEROSOL_HEIGHT);
1702
+ const spectrum = getCloudSunSpectrum(rayleighAirMass, aerosolAirMass, atmosphere.pressure, atmosphere.aerosolOpticalDepth, angstromExponent);
1703
+ const transmission = sunVisibleFraction * Math.exp(-sunOpticalDepth);
1704
+ for (let channel = 0; channel < 3; channel++)
1705
+ directRGB[channel] = spectrum[channel] * transmission;
1706
+ }
1707
+ const skyLuminance = getSkyLuminance(sunAltitude, Math.PI / 2, Math.PI / 2 - sunAltitude, atmosphere);
1708
+ const skyIrradiance = Math.PI * skyLuminance / REFERENCE_ILLUMINANCE;
1709
+ const sky = getSunLight(Math.max(0, sunAltitude), {
1710
+ turbidity: Math.min(10, 1 + 20 * atmosphere.aerosolOpticalDepth)
1711
+ }).diffuse.color;
1712
+ const daylight = smoothstep(-5 * Math.PI / 180, 0, sunAltitude);
1713
+ const diffuseRGB = [0.45, 0.65, 1].map((twilight, i) => {
1714
+ const tint = (twilight * (1 - daylight) + sky[i] * daylight) * (1 - atmosphere.cloudCover) + atmosphere.cloudCover;
1715
+ return skyIrradiance * tint;
1716
+ });
1717
+ const phaseFunction = (1 - asymmetry * asymmetry) / (4 * Math.PI * (1 + asymmetry * asymmetry - 2 * asymmetry * Math.cos(sunSeparation)) ** 1.5);
1718
+ const opacity = -Math.expm1(-atmosphere.cloudOpticalDepth);
1719
+ const throughput = singleScatteringAlbedo * opacity * Math.exp(-viewOpticalDepth);
1720
+ const scatteredRGB = directRGB.map((value, i) => throughput * (value * phaseFunction + diffuseRGB[i] / (2 * Math.PI)));
1721
+ return {
1722
+ direct: normalize2(directRGB),
1723
+ diffuse: normalize2(diffuseRGB),
1724
+ scattered: normalize2(scatteredRGB),
1725
+ sunVisibleFraction,
1726
+ horizonAltitude,
1727
+ rayleighAirMass,
1728
+ aerosolAirMass,
1729
+ phaseFunction,
1730
+ opacity
1731
+ };
1732
+ }
1733
+ function normalize2(rgb2) {
1734
+ const intensity = Math.max(...rgb2);
1735
+ return {
1736
+ color: intensity > 0 ? rgb2.map((value) => value / intensity) : [0, 0, 0],
1737
+ intensity
1738
+ };
1739
+ }
1740
+ function smoothstep(lower, upper, value) {
1741
+ const t = Math.max(0, Math.min(1, (value - lower) / (upper - lower)));
1742
+ return t * t * (3 - 2 * t);
1743
+ }
1744
+ //# sourceMappingURL=index.cjs.map