@performant-software/geospatial 2.1.0-beta.44 → 2.1.0-beta.45

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 (710) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs100.js.map +1 -1
  3. package/dist/index.cjs101.js +1 -1
  4. package/dist/index.cjs101.js.map +1 -1
  5. package/dist/index.cjs102.js +1 -1
  6. package/dist/index.cjs102.js.map +1 -1
  7. package/dist/index.cjs103.js +1 -1
  8. package/dist/index.cjs103.js.map +1 -1
  9. package/dist/index.cjs104.js +1 -1
  10. package/dist/index.cjs104.js.map +1 -1
  11. package/dist/index.cjs105.js +1 -1
  12. package/dist/index.cjs105.js.map +1 -1
  13. package/dist/index.cjs106.js +1 -1
  14. package/dist/index.cjs106.js.map +1 -1
  15. package/dist/index.cjs107.js +1 -1
  16. package/dist/index.cjs107.js.map +1 -1
  17. package/dist/index.cjs108.js +1 -1
  18. package/dist/index.cjs108.js.map +1 -1
  19. package/dist/index.cjs109.js +1 -1
  20. package/dist/index.cjs109.js.map +1 -1
  21. package/dist/index.cjs11.js +1 -1
  22. package/dist/index.cjs110.js +13 -1
  23. package/dist/index.cjs110.js.map +1 -1
  24. package/dist/index.cjs111.js +1 -1
  25. package/dist/index.cjs111.js.map +1 -1
  26. package/dist/index.cjs112.js +1 -1
  27. package/dist/index.cjs112.js.map +1 -1
  28. package/dist/index.cjs113.js +1 -1
  29. package/dist/index.cjs113.js.map +1 -1
  30. package/dist/index.cjs114.js +1 -1
  31. package/dist/index.cjs114.js.map +1 -1
  32. package/dist/index.cjs115.js +1 -1
  33. package/dist/index.cjs115.js.map +1 -1
  34. package/dist/index.cjs116.js +1 -1
  35. package/dist/index.cjs116.js.map +1 -1
  36. package/dist/index.cjs117.js +1 -1
  37. package/dist/index.cjs117.js.map +1 -1
  38. package/dist/index.cjs118.js +1 -1
  39. package/dist/index.cjs118.js.map +1 -1
  40. package/dist/index.cjs119.js +1 -1
  41. package/dist/index.cjs119.js.map +1 -1
  42. package/dist/index.cjs12.js +1 -1
  43. package/dist/index.cjs12.js.map +1 -1
  44. package/dist/index.cjs120.js +1 -1
  45. package/dist/index.cjs120.js.map +1 -1
  46. package/dist/index.cjs121.js +1 -1
  47. package/dist/index.cjs121.js.map +1 -1
  48. package/dist/index.cjs122.js +1 -13
  49. package/dist/index.cjs122.js.map +1 -1
  50. package/dist/index.cjs123.js +1 -1
  51. package/dist/index.cjs123.js.map +1 -1
  52. package/dist/index.cjs124.js +1 -1
  53. package/dist/index.cjs124.js.map +1 -1
  54. package/dist/index.cjs125.js +1 -1
  55. package/dist/index.cjs125.js.map +1 -1
  56. package/dist/index.cjs126.js +1 -1
  57. package/dist/index.cjs126.js.map +1 -1
  58. package/dist/index.cjs127.js +1 -1
  59. package/dist/index.cjs127.js.map +1 -1
  60. package/dist/index.cjs128.js +1 -1
  61. package/dist/index.cjs128.js.map +1 -1
  62. package/dist/index.cjs129.js +1 -1
  63. package/dist/index.cjs129.js.map +1 -1
  64. package/dist/index.cjs13.js +1 -1
  65. package/dist/index.cjs13.js.map +1 -1
  66. package/dist/index.cjs130.js +1 -1
  67. package/dist/index.cjs130.js.map +1 -1
  68. package/dist/index.cjs131.js +1 -1
  69. package/dist/index.cjs131.js.map +1 -1
  70. package/dist/index.cjs132.js +1 -1
  71. package/dist/index.cjs132.js.map +1 -1
  72. package/dist/index.cjs133.js +1 -1
  73. package/dist/index.cjs133.js.map +1 -1
  74. package/dist/index.cjs134.js +1 -1
  75. package/dist/index.cjs134.js.map +1 -1
  76. package/dist/index.cjs135.js +1 -1
  77. package/dist/index.cjs135.js.map +1 -1
  78. package/dist/index.cjs136.js +1 -1
  79. package/dist/index.cjs136.js.map +1 -1
  80. package/dist/index.cjs137.js +1 -1
  81. package/dist/index.cjs137.js.map +1 -1
  82. package/dist/index.cjs138.js +1 -1
  83. package/dist/index.cjs138.js.map +1 -1
  84. package/dist/index.cjs139.js +1 -1
  85. package/dist/index.cjs139.js.map +1 -1
  86. package/dist/index.cjs14.js +1 -1
  87. package/dist/index.cjs140.js +1 -1
  88. package/dist/index.cjs140.js.map +1 -1
  89. package/dist/index.cjs141.js +1 -1
  90. package/dist/index.cjs141.js.map +1 -1
  91. package/dist/index.cjs142.js +1 -1
  92. package/dist/index.cjs142.js.map +1 -1
  93. package/dist/index.cjs143.js +1 -1
  94. package/dist/index.cjs143.js.map +1 -1
  95. package/dist/index.cjs144.js +1 -1
  96. package/dist/index.cjs144.js.map +1 -1
  97. package/dist/index.cjs145.js +1 -1
  98. package/dist/index.cjs145.js.map +1 -1
  99. package/dist/index.cjs146.js +1 -1
  100. package/dist/index.cjs146.js.map +1 -1
  101. package/dist/index.cjs147.js +1 -1
  102. package/dist/index.cjs147.js.map +1 -1
  103. package/dist/index.cjs148.js +1 -1
  104. package/dist/index.cjs148.js.map +1 -1
  105. package/dist/index.cjs149.js +1 -1
  106. package/dist/index.cjs149.js.map +1 -1
  107. package/dist/index.cjs150.js +1 -1
  108. package/dist/index.cjs150.js.map +1 -1
  109. package/dist/index.cjs151.js +1 -1
  110. package/dist/index.cjs151.js.map +1 -1
  111. package/dist/index.cjs152.js +1 -1
  112. package/dist/index.cjs152.js.map +1 -1
  113. package/dist/index.cjs153.js +1 -1
  114. package/dist/index.cjs153.js.map +1 -1
  115. package/dist/index.cjs154.js +1 -1
  116. package/dist/index.cjs154.js.map +1 -1
  117. package/dist/index.cjs155.js +1 -1
  118. package/dist/index.cjs155.js.map +1 -1
  119. package/dist/index.cjs156.js +1 -1
  120. package/dist/index.cjs156.js.map +1 -1
  121. package/dist/index.cjs157.js +1 -1
  122. package/dist/index.cjs157.js.map +1 -1
  123. package/dist/index.cjs158.js +1 -1
  124. package/dist/index.cjs158.js.map +1 -1
  125. package/dist/index.cjs159.js +1 -1
  126. package/dist/index.cjs159.js.map +1 -1
  127. package/dist/index.cjs160.js +1 -1
  128. package/dist/index.cjs160.js.map +1 -1
  129. package/dist/index.cjs161.js +1 -1
  130. package/dist/index.cjs161.js.map +1 -1
  131. package/dist/index.cjs162.js +1 -1
  132. package/dist/index.cjs162.js.map +1 -1
  133. package/dist/index.cjs163.js +1 -1
  134. package/dist/index.cjs163.js.map +1 -1
  135. package/dist/index.cjs164.js +1 -1
  136. package/dist/index.cjs164.js.map +1 -1
  137. package/dist/index.cjs165.js +1 -1
  138. package/dist/index.cjs165.js.map +1 -1
  139. package/dist/index.cjs166.js +4 -1
  140. package/dist/index.cjs166.js.map +1 -1
  141. package/dist/index.cjs167.js +1 -1
  142. package/dist/index.cjs167.js.map +1 -1
  143. package/dist/index.cjs168.js +1 -1
  144. package/dist/index.cjs168.js.map +1 -1
  145. package/dist/index.cjs169.js +1 -1
  146. package/dist/index.cjs169.js.map +1 -1
  147. package/dist/index.cjs17.js +1 -1
  148. package/dist/index.cjs170.js +1 -1
  149. package/dist/index.cjs170.js.map +1 -1
  150. package/dist/index.cjs171.js +1 -1
  151. package/dist/index.cjs171.js.map +1 -1
  152. package/dist/index.cjs172.js +1 -1
  153. package/dist/index.cjs172.js.map +1 -1
  154. package/dist/index.cjs173.js +1 -1
  155. package/dist/index.cjs173.js.map +1 -1
  156. package/dist/index.cjs174.js +1 -1
  157. package/dist/index.cjs174.js.map +1 -1
  158. package/dist/index.cjs175.js +1 -1
  159. package/dist/index.cjs175.js.map +1 -1
  160. package/dist/index.cjs176.js +1 -1
  161. package/dist/index.cjs176.js.map +1 -1
  162. package/dist/index.cjs177.js +1 -1
  163. package/dist/index.cjs177.js.map +1 -1
  164. package/dist/index.cjs178.js +1 -4
  165. package/dist/index.cjs178.js.map +1 -1
  166. package/dist/index.cjs179.js +1 -1
  167. package/dist/index.cjs179.js.map +1 -1
  168. package/dist/index.cjs180.js +1 -1
  169. package/dist/index.cjs180.js.map +1 -1
  170. package/dist/index.cjs181.js +1 -1
  171. package/dist/index.cjs181.js.map +1 -1
  172. package/dist/index.cjs182.js +1 -1
  173. package/dist/index.cjs182.js.map +1 -1
  174. package/dist/index.cjs183.js +1 -1
  175. package/dist/index.cjs183.js.map +1 -1
  176. package/dist/index.cjs184.js +1 -1
  177. package/dist/index.cjs184.js.map +1 -1
  178. package/dist/index.cjs185.js +1 -1
  179. package/dist/index.cjs185.js.map +1 -1
  180. package/dist/index.cjs186.js +1 -1
  181. package/dist/index.cjs186.js.map +1 -1
  182. package/dist/index.cjs187.js +1 -1
  183. package/dist/index.cjs187.js.map +1 -1
  184. package/dist/index.cjs188.js +1 -1
  185. package/dist/index.cjs188.js.map +1 -1
  186. package/dist/index.cjs189.js +1 -1
  187. package/dist/index.cjs189.js.map +1 -1
  188. package/dist/index.cjs190.js +1 -1
  189. package/dist/index.cjs190.js.map +1 -1
  190. package/dist/index.cjs193.js +1 -1
  191. package/dist/index.cjs197.js +1 -1
  192. package/dist/index.cjs20.js +1 -1
  193. package/dist/index.cjs200.js +1 -1
  194. package/dist/index.cjs205.js +1 -1
  195. package/dist/index.cjs207.js +1 -1
  196. package/dist/index.cjs207.js.map +1 -1
  197. package/dist/index.cjs208.js +1 -1
  198. package/dist/index.cjs209.js +1 -1
  199. package/dist/index.cjs210.js +1 -1
  200. package/dist/index.cjs212.js +1 -1
  201. package/dist/index.cjs213.js +1 -1
  202. package/dist/index.cjs214.js +1 -1
  203. package/dist/index.cjs215.js +1 -1
  204. package/dist/index.cjs218.js +1 -1
  205. package/dist/index.cjs226.js +1 -1
  206. package/dist/index.cjs226.js.map +1 -1
  207. package/dist/index.cjs228.js +1 -1
  208. package/dist/index.cjs228.js.map +1 -1
  209. package/dist/index.cjs229.js +1 -1
  210. package/dist/index.cjs229.js.map +1 -1
  211. package/dist/index.cjs230.js +1 -1
  212. package/dist/index.cjs230.js.map +1 -1
  213. package/dist/index.cjs231.js +1 -1
  214. package/dist/index.cjs231.js.map +1 -1
  215. package/dist/index.cjs232.js +1 -1
  216. package/dist/index.cjs232.js.map +1 -1
  217. package/dist/index.cjs233.js +1 -1
  218. package/dist/index.cjs233.js.map +1 -1
  219. package/dist/index.cjs234.js +1 -1
  220. package/dist/index.cjs234.js.map +1 -1
  221. package/dist/index.cjs235.js +1 -1
  222. package/dist/index.cjs235.js.map +1 -1
  223. package/dist/index.cjs236.js +1 -1
  224. package/dist/index.cjs236.js.map +1 -1
  225. package/dist/index.cjs237.js +1 -1
  226. package/dist/index.cjs237.js.map +1 -1
  227. package/dist/index.cjs238.js +1 -1
  228. package/dist/index.cjs238.js.map +1 -1
  229. package/dist/index.cjs239.js +1 -1
  230. package/dist/index.cjs239.js.map +1 -1
  231. package/dist/index.cjs240.js +1 -1
  232. package/dist/index.cjs240.js.map +1 -1
  233. package/dist/index.cjs241.js +1 -1
  234. package/dist/index.cjs241.js.map +1 -1
  235. package/dist/index.cjs242.js +1 -1
  236. package/dist/index.cjs242.js.map +1 -1
  237. package/dist/index.cjs243.js +1 -1
  238. package/dist/index.cjs243.js.map +1 -1
  239. package/dist/index.cjs244.js +1 -1
  240. package/dist/index.cjs244.js.map +1 -1
  241. package/dist/index.cjs245.js +1 -1
  242. package/dist/index.cjs245.js.map +1 -1
  243. package/dist/index.cjs246.js +1 -1
  244. package/dist/index.cjs246.js.map +1 -1
  245. package/dist/index.cjs247.js +1 -1
  246. package/dist/index.cjs247.js.map +1 -1
  247. package/dist/index.cjs248.js +1 -1
  248. package/dist/index.cjs248.js.map +1 -1
  249. package/dist/index.cjs250.js +1 -1
  250. package/dist/index.cjs250.js.map +1 -1
  251. package/dist/index.cjs251.js +1 -1
  252. package/dist/index.cjs251.js.map +1 -1
  253. package/dist/index.cjs252.js +1 -1
  254. package/dist/index.cjs26.js +1 -1
  255. package/dist/index.cjs31.js +1 -1
  256. package/dist/index.cjs32.js +1 -1
  257. package/dist/index.cjs33.js +1 -1
  258. package/dist/index.cjs34.js +1 -1
  259. package/dist/index.cjs36.js +1 -1
  260. package/dist/index.cjs37.js +1 -1
  261. package/dist/index.cjs38.js +1 -1
  262. package/dist/index.cjs39.js +1 -1
  263. package/dist/index.cjs40.js +1 -1
  264. package/dist/index.cjs41.js +1 -1
  265. package/dist/index.cjs42.js +1 -1
  266. package/dist/index.cjs43.js +1 -1
  267. package/dist/index.cjs44.js +1 -1
  268. package/dist/index.cjs46.js +1 -1
  269. package/dist/index.cjs49.js +1 -1
  270. package/dist/index.cjs51.js +1 -1
  271. package/dist/index.cjs52.js +1 -1
  272. package/dist/index.cjs53.js +9 -1
  273. package/dist/index.cjs53.js.map +1 -1
  274. package/dist/index.cjs54.js +19 -1
  275. package/dist/index.cjs54.js.map +1 -1
  276. package/dist/index.cjs55.js +1 -9
  277. package/dist/index.cjs55.js.map +1 -1
  278. package/dist/index.cjs56.js +1 -19
  279. package/dist/index.cjs56.js.map +1 -1
  280. package/dist/index.cjs62.js +1 -1
  281. package/dist/index.cjs62.js.map +1 -1
  282. package/dist/index.cjs63.js +1 -1
  283. package/dist/index.cjs63.js.map +1 -1
  284. package/dist/index.cjs64.js +1 -1
  285. package/dist/index.cjs64.js.map +1 -1
  286. package/dist/index.cjs65.js +1 -1
  287. package/dist/index.cjs65.js.map +1 -1
  288. package/dist/index.cjs66.js +1 -1
  289. package/dist/index.cjs66.js.map +1 -1
  290. package/dist/index.cjs67.js +1 -1
  291. package/dist/index.cjs67.js.map +1 -1
  292. package/dist/index.cjs68.js +1 -1
  293. package/dist/index.cjs68.js.map +1 -1
  294. package/dist/index.cjs69.js +1 -1
  295. package/dist/index.cjs69.js.map +1 -1
  296. package/dist/index.cjs70.js +1 -1
  297. package/dist/index.cjs70.js.map +1 -1
  298. package/dist/index.cjs71.js +1 -1
  299. package/dist/index.cjs71.js.map +1 -1
  300. package/dist/index.cjs72.js +1 -1
  301. package/dist/index.cjs72.js.map +1 -1
  302. package/dist/index.cjs73.js +1 -1
  303. package/dist/index.cjs73.js.map +1 -1
  304. package/dist/index.cjs74.js +1 -1
  305. package/dist/index.cjs74.js.map +1 -1
  306. package/dist/index.cjs75.js +1 -1
  307. package/dist/index.cjs75.js.map +1 -1
  308. package/dist/index.cjs76.js +1 -1
  309. package/dist/index.cjs76.js.map +1 -1
  310. package/dist/index.cjs77.js +1 -1
  311. package/dist/index.cjs77.js.map +1 -1
  312. package/dist/index.cjs78.js +1 -1
  313. package/dist/index.cjs78.js.map +1 -1
  314. package/dist/index.cjs79.js +1 -1
  315. package/dist/index.cjs79.js.map +1 -1
  316. package/dist/index.cjs80.js +1 -1
  317. package/dist/index.cjs80.js.map +1 -1
  318. package/dist/index.cjs81.js +1 -1
  319. package/dist/index.cjs81.js.map +1 -1
  320. package/dist/index.cjs82.js +1 -1
  321. package/dist/index.cjs82.js.map +1 -1
  322. package/dist/index.cjs83.js +1 -1
  323. package/dist/index.cjs83.js.map +1 -1
  324. package/dist/index.cjs84.js +1 -1
  325. package/dist/index.cjs84.js.map +1 -1
  326. package/dist/index.cjs85.js +1 -1
  327. package/dist/index.cjs85.js.map +1 -1
  328. package/dist/index.cjs86.js +1 -1
  329. package/dist/index.cjs86.js.map +1 -1
  330. package/dist/index.cjs87.js +1 -1
  331. package/dist/index.cjs87.js.map +1 -1
  332. package/dist/index.cjs88.js +1 -1
  333. package/dist/index.cjs88.js.map +1 -1
  334. package/dist/index.cjs89.js +1 -1
  335. package/dist/index.cjs89.js.map +1 -1
  336. package/dist/index.cjs90.js +1 -1
  337. package/dist/index.cjs90.js.map +1 -1
  338. package/dist/index.cjs91.js +1 -1
  339. package/dist/index.cjs91.js.map +1 -1
  340. package/dist/index.cjs92.js +1 -1
  341. package/dist/index.cjs92.js.map +1 -1
  342. package/dist/index.cjs93.js +1 -1
  343. package/dist/index.cjs93.js.map +1 -1
  344. package/dist/index.cjs94.js +1 -1
  345. package/dist/index.cjs94.js.map +1 -1
  346. package/dist/index.cjs95.js +1 -1
  347. package/dist/index.cjs95.js.map +1 -1
  348. package/dist/index.cjs96.js +1 -1
  349. package/dist/index.cjs96.js.map +1 -1
  350. package/dist/index.cjs97.js +1 -1
  351. package/dist/index.cjs97.js.map +1 -1
  352. package/dist/index.cjs98.js +1 -1
  353. package/dist/index.cjs98.js.map +1 -1
  354. package/dist/index.cjs99.js +1 -1
  355. package/dist/index.cjs99.js.map +1 -1
  356. package/dist/index.es100.js +10 -6
  357. package/dist/index.es100.js.map +1 -1
  358. package/dist/index.es101.js +3 -6
  359. package/dist/index.es101.js.map +1 -1
  360. package/dist/index.es102.js +5 -6
  361. package/dist/index.es102.js.map +1 -1
  362. package/dist/index.es103.js +2 -7
  363. package/dist/index.es103.js.map +1 -1
  364. package/dist/index.es104.js +8 -4
  365. package/dist/index.es104.js.map +1 -1
  366. package/dist/index.es105.js +8 -4
  367. package/dist/index.es105.js.map +1 -1
  368. package/dist/index.es106.js +8 -4
  369. package/dist/index.es106.js.map +1 -1
  370. package/dist/index.es107.js +8 -6
  371. package/dist/index.es107.js.map +1 -1
  372. package/dist/index.es108.js +3 -6
  373. package/dist/index.es108.js.map +1 -1
  374. package/dist/index.es109.js +3 -3
  375. package/dist/index.es109.js.map +1 -1
  376. package/dist/index.es11.js +2 -2
  377. package/dist/index.es110.js +57 -7
  378. package/dist/index.es110.js.map +1 -1
  379. package/dist/index.es111.js +12 -11
  380. package/dist/index.es111.js.map +1 -1
  381. package/dist/index.es112.js +5 -10
  382. package/dist/index.es112.js.map +1 -1
  383. package/dist/index.es113.js +4 -2
  384. package/dist/index.es113.js.map +1 -1
  385. package/dist/index.es114.js +7 -4
  386. package/dist/index.es114.js.map +1 -1
  387. package/dist/index.es115.js +16 -2
  388. package/dist/index.es115.js.map +1 -1
  389. package/dist/index.es116.js +13 -7
  390. package/dist/index.es116.js.map +1 -1
  391. package/dist/index.es117.js +4 -7
  392. package/dist/index.es117.js.map +1 -1
  393. package/dist/index.es118.js +4 -6
  394. package/dist/index.es118.js.map +1 -1
  395. package/dist/index.es119.js +8 -8
  396. package/dist/index.es119.js.map +1 -1
  397. package/dist/index.es12.js +12 -12
  398. package/dist/index.es12.js.map +1 -1
  399. package/dist/index.es120.js +6 -3
  400. package/dist/index.es120.js.map +1 -1
  401. package/dist/index.es121.js +7 -4
  402. package/dist/index.es121.js.map +1 -1
  403. package/dist/index.es122.js +8 -57
  404. package/dist/index.es122.js.map +1 -1
  405. package/dist/index.es123.js +3 -14
  406. package/dist/index.es123.js.map +1 -1
  407. package/dist/index.es124.js +3 -6
  408. package/dist/index.es124.js.map +1 -1
  409. package/dist/index.es125.js +10 -5
  410. package/dist/index.es125.js.map +1 -1
  411. package/dist/index.es126.js +5 -9
  412. package/dist/index.es126.js.map +1 -1
  413. package/dist/index.es127.js +4 -17
  414. package/dist/index.es127.js.map +1 -1
  415. package/dist/index.es128.js +8 -13
  416. package/dist/index.es128.js.map +1 -1
  417. package/dist/index.es129.js +5 -4
  418. package/dist/index.es129.js.map +1 -1
  419. package/dist/index.es13.js +1 -1
  420. package/dist/index.es130.js +16 -5
  421. package/dist/index.es130.js.map +1 -1
  422. package/dist/index.es131.js +11 -8
  423. package/dist/index.es131.js.map +1 -1
  424. package/dist/index.es132.js +3 -7
  425. package/dist/index.es132.js.map +1 -1
  426. package/dist/index.es133.js +3 -7
  427. package/dist/index.es133.js.map +1 -1
  428. package/dist/index.es134.js +8 -8
  429. package/dist/index.es134.js.map +1 -1
  430. package/dist/index.es135.js +7 -3
  431. package/dist/index.es135.js.map +1 -1
  432. package/dist/index.es136.js +13 -3
  433. package/dist/index.es136.js.map +1 -1
  434. package/dist/index.es137.js +11 -9
  435. package/dist/index.es137.js.map +1 -1
  436. package/dist/index.es138.js +7 -5
  437. package/dist/index.es138.js.map +1 -1
  438. package/dist/index.es139.js +6 -4
  439. package/dist/index.es139.js.map +1 -1
  440. package/dist/index.es14.js +3 -3
  441. package/dist/index.es140.js +5 -8
  442. package/dist/index.es140.js.map +1 -1
  443. package/dist/index.es141.js +16 -5
  444. package/dist/index.es141.js.map +1 -1
  445. package/dist/index.es142.js +16 -16
  446. package/dist/index.es142.js.map +1 -1
  447. package/dist/index.es143.js +4 -11
  448. package/dist/index.es143.js.map +1 -1
  449. package/dist/index.es144.js +17 -3
  450. package/dist/index.es144.js.map +1 -1
  451. package/dist/index.es145.js +23 -3
  452. package/dist/index.es145.js.map +1 -1
  453. package/dist/index.es146.js +6 -9
  454. package/dist/index.es146.js.map +1 -1
  455. package/dist/index.es147.js +5 -7
  456. package/dist/index.es147.js.map +1 -1
  457. package/dist/index.es148.js +6 -13
  458. package/dist/index.es148.js.map +1 -1
  459. package/dist/index.es149.js +5 -13
  460. package/dist/index.es149.js.map +1 -1
  461. package/dist/index.es150.js +11 -6
  462. package/dist/index.es150.js.map +1 -1
  463. package/dist/index.es151.js +4 -4
  464. package/dist/index.es151.js.map +1 -1
  465. package/dist/index.es152.js +4 -5
  466. package/dist/index.es152.js.map +1 -1
  467. package/dist/index.es153.js +4 -16
  468. package/dist/index.es153.js.map +1 -1
  469. package/dist/index.es154.js +4 -16
  470. package/dist/index.es154.js.map +1 -1
  471. package/dist/index.es155.js +4 -4
  472. package/dist/index.es155.js.map +1 -1
  473. package/dist/index.es156.js +4 -16
  474. package/dist/index.es156.js.map +1 -1
  475. package/dist/index.es157.js +4 -22
  476. package/dist/index.es157.js.map +1 -1
  477. package/dist/index.es158.js +13 -6
  478. package/dist/index.es158.js.map +1 -1
  479. package/dist/index.es159.js +15 -5
  480. package/dist/index.es159.js.map +1 -1
  481. package/dist/index.es160.js +9 -6
  482. package/dist/index.es160.js.map +1 -1
  483. package/dist/index.es161.js +7 -5
  484. package/dist/index.es161.js.map +1 -1
  485. package/dist/index.es162.js +6 -11
  486. package/dist/index.es162.js.map +1 -1
  487. package/dist/index.es163.js +8 -5
  488. package/dist/index.es163.js.map +1 -1
  489. package/dist/index.es164.js +7 -4
  490. package/dist/index.es164.js.map +1 -1
  491. package/dist/index.es165.js +147 -4
  492. package/dist/index.es165.js.map +1 -1
  493. package/dist/index.es166.js +12196 -4
  494. package/dist/index.es166.js.map +1 -1
  495. package/dist/index.es167.js +3 -7
  496. package/dist/index.es167.js.map +1 -1
  497. package/dist/index.es168.js +3 -7
  498. package/dist/index.es168.js.map +1 -1
  499. package/dist/index.es169.js +35 -4
  500. package/dist/index.es169.js.map +1 -1
  501. package/dist/index.es17.js +2 -2
  502. package/dist/index.es170.js +3 -15
  503. package/dist/index.es170.js.map +1 -1
  504. package/dist/index.es171.js +22 -14
  505. package/dist/index.es171.js.map +1 -1
  506. package/dist/index.es172.js +2 -11
  507. package/dist/index.es172.js.map +1 -1
  508. package/dist/index.es173.js +3 -9
  509. package/dist/index.es173.js.map +1 -1
  510. package/dist/index.es174.js +2 -9
  511. package/dist/index.es174.js.map +1 -1
  512. package/dist/index.es175.js +31 -8
  513. package/dist/index.es175.js.map +1 -1
  514. package/dist/index.es176.js +13 -8
  515. package/dist/index.es176.js.map +1 -1
  516. package/dist/index.es177.js +13 -147
  517. package/dist/index.es177.js.map +1 -1
  518. package/dist/index.es178.js +9 -12197
  519. package/dist/index.es178.js.map +1 -1
  520. package/dist/index.es179.js +30 -3
  521. package/dist/index.es179.js.map +1 -1
  522. package/dist/index.es180.js +57 -3
  523. package/dist/index.es180.js.map +1 -1
  524. package/dist/index.es181.js +47 -37
  525. package/dist/index.es181.js.map +1 -1
  526. package/dist/index.es182.js +39 -3
  527. package/dist/index.es182.js.map +1 -1
  528. package/dist/index.es183.js +11 -24
  529. package/dist/index.es183.js.map +1 -1
  530. package/dist/index.es184.js +12 -2
  531. package/dist/index.es184.js.map +1 -1
  532. package/dist/index.es185.js +30 -3
  533. package/dist/index.es185.js.map +1 -1
  534. package/dist/index.es186.js +12 -2
  535. package/dist/index.es186.js.map +1 -1
  536. package/dist/index.es187.js +13 -33
  537. package/dist/index.es187.js.map +1 -1
  538. package/dist/index.es188.js +51 -13
  539. package/dist/index.es188.js.map +1 -1
  540. package/dist/index.es189.js +64 -13
  541. package/dist/index.es189.js.map +1 -1
  542. package/dist/index.es190.js +4 -9
  543. package/dist/index.es190.js.map +1 -1
  544. package/dist/index.es193.js +1 -1
  545. package/dist/index.es197.js +1 -1
  546. package/dist/index.es20.js +1 -1
  547. package/dist/index.es200.js +1 -1
  548. package/dist/index.es205.js +1 -1
  549. package/dist/index.es207.js +1 -1
  550. package/dist/index.es208.js +5 -5
  551. package/dist/index.es209.js +1 -1
  552. package/dist/index.es210.js +1 -1
  553. package/dist/index.es212.js +1 -1
  554. package/dist/index.es213.js +1 -1
  555. package/dist/index.es214.js +1 -1
  556. package/dist/index.es215.js +1 -1
  557. package/dist/index.es218.js +2 -2
  558. package/dist/index.es226.js +3 -8
  559. package/dist/index.es226.js.map +1 -1
  560. package/dist/index.es228.js +8 -3
  561. package/dist/index.es228.js.map +1 -1
  562. package/dist/index.es229.js +21 -42
  563. package/dist/index.es229.js.map +1 -1
  564. package/dist/index.es230.js +16 -22
  565. package/dist/index.es230.js.map +1 -1
  566. package/dist/index.es231.js +28 -22
  567. package/dist/index.es231.js.map +1 -1
  568. package/dist/index.es232.js +20 -15
  569. package/dist/index.es232.js.map +1 -1
  570. package/dist/index.es233.js +75 -30
  571. package/dist/index.es233.js.map +1 -1
  572. package/dist/index.es234.js +20 -21
  573. package/dist/index.es234.js.map +1 -1
  574. package/dist/index.es235.js +45 -72
  575. package/dist/index.es235.js.map +1 -1
  576. package/dist/index.es236.js +53 -19
  577. package/dist/index.es236.js.map +1 -1
  578. package/dist/index.es237.js +8 -48
  579. package/dist/index.es237.js.map +1 -1
  580. package/dist/index.es238.js +19 -53
  581. package/dist/index.es238.js.map +1 -1
  582. package/dist/index.es239.js +65 -8
  583. package/dist/index.es239.js.map +1 -1
  584. package/dist/index.es240.js +40 -18
  585. package/dist/index.es240.js.map +1 -1
  586. package/dist/index.es241.js +60 -60
  587. package/dist/index.es241.js.map +1 -1
  588. package/dist/index.es242.js +8 -42
  589. package/dist/index.es242.js.map +1 -1
  590. package/dist/index.es243.js +3 -65
  591. package/dist/index.es243.js.map +1 -1
  592. package/dist/index.es244.js +12 -8
  593. package/dist/index.es244.js.map +1 -1
  594. package/dist/index.es245.js +59 -3
  595. package/dist/index.es245.js.map +1 -1
  596. package/dist/index.es246.js +55 -11
  597. package/dist/index.es246.js.map +1 -1
  598. package/dist/index.es247.js +42 -56
  599. package/dist/index.es247.js.map +1 -1
  600. package/dist/index.es248.js +22 -56
  601. package/dist/index.es248.js.map +1 -1
  602. package/dist/index.es250.js +4 -15
  603. package/dist/index.es250.js.map +1 -1
  604. package/dist/index.es251.js +15 -4
  605. package/dist/index.es251.js.map +1 -1
  606. package/dist/index.es252.js +6 -6
  607. package/dist/index.es26.js +1 -1
  608. package/dist/index.es31.js +1 -1
  609. package/dist/index.es32.js +1 -1
  610. package/dist/index.es33.js +1 -1
  611. package/dist/index.es34.js +1 -1
  612. package/dist/index.es36.js +1 -1
  613. package/dist/index.es37.js +2 -2
  614. package/dist/index.es38.js +2 -2
  615. package/dist/index.es39.js +4 -4
  616. package/dist/index.es40.js +1 -1
  617. package/dist/index.es41.js +2 -2
  618. package/dist/index.es42.js +3 -3
  619. package/dist/index.es43.js +2 -2
  620. package/dist/index.es44.js +1 -1
  621. package/dist/index.es46.js +1 -1
  622. package/dist/index.es49.js +1 -1
  623. package/dist/index.es51.js +15 -15
  624. package/dist/index.es52.js +2 -6
  625. package/dist/index.es52.js.map +1 -1
  626. package/dist/index.es53.js +30 -2
  627. package/dist/index.es53.js.map +1 -1
  628. package/dist/index.es54.js +602 -2
  629. package/dist/index.es54.js.map +1 -1
  630. package/dist/index.es55.js +5 -29
  631. package/dist/index.es55.js.map +1 -1
  632. package/dist/index.es56.js +2 -602
  633. package/dist/index.es56.js.map +1 -1
  634. package/dist/index.es62.js +273 -28
  635. package/dist/index.es62.js.map +1 -1
  636. package/dist/index.es63.js +13 -53
  637. package/dist/index.es63.js.map +1 -1
  638. package/dist/index.es64.js +20 -47
  639. package/dist/index.es64.js.map +1 -1
  640. package/dist/index.es65.js +6 -38
  641. package/dist/index.es65.js.map +1 -1
  642. package/dist/index.es66.js +5 -11
  643. package/dist/index.es66.js.map +1 -1
  644. package/dist/index.es67.js +5 -11
  645. package/dist/index.es67.js.map +1 -1
  646. package/dist/index.es68.js +6 -29
  647. package/dist/index.es68.js.map +1 -1
  648. package/dist/index.es69.js +5 -11
  649. package/dist/index.es69.js.map +1 -1
  650. package/dist/index.es70.js +5 -14
  651. package/dist/index.es70.js.map +1 -1
  652. package/dist/index.es71.js +3 -51
  653. package/dist/index.es71.js.map +1 -1
  654. package/dist/index.es72.js +3 -65
  655. package/dist/index.es72.js.map +1 -1
  656. package/dist/index.es73.js +3 -4
  657. package/dist/index.es73.js.map +1 -1
  658. package/dist/index.es74.js +3 -273
  659. package/dist/index.es74.js.map +1 -1
  660. package/dist/index.es75.js +3 -15
  661. package/dist/index.es75.js.map +1 -1
  662. package/dist/index.es76.js +3 -19
  663. package/dist/index.es76.js.map +1 -1
  664. package/dist/index.es77.js +9 -4
  665. package/dist/index.es77.js.map +1 -1
  666. package/dist/index.es78.js +4 -4
  667. package/dist/index.es78.js.map +1 -1
  668. package/dist/index.es79.js +5 -3
  669. package/dist/index.es79.js.map +1 -1
  670. package/dist/index.es80.js +5 -4
  671. package/dist/index.es80.js.map +1 -1
  672. package/dist/index.es81.js +9 -3
  673. package/dist/index.es81.js.map +1 -1
  674. package/dist/index.es82.js +12 -3
  675. package/dist/index.es82.js.map +1 -1
  676. package/dist/index.es83.js +13 -3
  677. package/dist/index.es83.js.map +1 -1
  678. package/dist/index.es84.js +86 -3
  679. package/dist/index.es84.js.map +1 -1
  680. package/dist/index.es85.js +2 -2
  681. package/dist/index.es85.js.map +1 -1
  682. package/dist/index.es86.js +15 -3
  683. package/dist/index.es86.js.map +1 -1
  684. package/dist/index.es87.js +12 -3
  685. package/dist/index.es87.js.map +1 -1
  686. package/dist/index.es88.js +7 -3
  687. package/dist/index.es88.js.map +1 -1
  688. package/dist/index.es89.js +6 -9
  689. package/dist/index.es89.js.map +1 -1
  690. package/dist/index.es90.js +7 -4
  691. package/dist/index.es90.js.map +1 -1
  692. package/dist/index.es91.js +7 -5
  693. package/dist/index.es91.js.map +1 -1
  694. package/dist/index.es92.js +4 -6
  695. package/dist/index.es92.js.map +1 -1
  696. package/dist/index.es93.js +4 -10
  697. package/dist/index.es93.js.map +1 -1
  698. package/dist/index.es94.js +4 -12
  699. package/dist/index.es94.js.map +1 -1
  700. package/dist/index.es95.js +5 -11
  701. package/dist/index.es95.js.map +1 -1
  702. package/dist/index.es96.js +6 -85
  703. package/dist/index.es96.js.map +1 -1
  704. package/dist/index.es97.js +4 -3
  705. package/dist/index.es97.js.map +1 -1
  706. package/dist/index.es98.js +7 -14
  707. package/dist/index.es98.js.map +1 -1
  708. package/dist/index.es99.js +11 -10
  709. package/dist/index.es99.js.map +1 -1
  710. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs231.js");e();e();
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs225.js");function u(o,i){for(var n=0;n<i.length;n++){const e=i[n];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in o)){const s=Object.getOwnPropertyDescriptor(e,t);s&&Object.defineProperty(o,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var a=r.__exports.printMsg=function(){console.log("This is a message from the demo package")};const c=u({__proto__:null,default:r.__exports,printMsg:a},[r.__exports]);exports.default=r.__exports;exports.index=c;exports.printMsg=a;
2
2
  //# sourceMappingURL=index.cjs179.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs179.js","sources":["../../../node_modules/d3-geo/src/area.js"],"sourcesContent":["import adder from \"./adder\";\nimport {atan2, cos, quarterPi, radians, sin, tau} from \"./math\";\nimport noop from \"./noop\";\nimport stream from \"./stream\";\n\nexport var areaRingSum = adder();\n\nvar areaSum = adder(),\n lambda00,\n phi00,\n lambda0,\n cosPhi0,\n sinPhi0;\n\nexport var areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function() {\n areaRingSum.reset();\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function() {\n var areaRing = +areaRingSum;\n areaSum.add(areaRing < 0 ? tau + areaRing : areaRing);\n this.lineStart = this.lineEnd = this.point = noop;\n },\n sphere: function() {\n areaSum.add(tau);\n }\n};\n\nfunction areaRingStart() {\n areaStream.point = areaPointFirst;\n}\n\nfunction areaRingEnd() {\n areaPoint(lambda00, phi00);\n}\n\nfunction areaPointFirst(lambda, phi) {\n areaStream.point = areaPoint;\n lambda00 = lambda, phi00 = phi;\n lambda *= radians, phi *= radians;\n lambda0 = lambda, cosPhi0 = cos(phi = phi / 2 + quarterPi), sinPhi0 = sin(phi);\n}\n\nfunction areaPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n phi = phi / 2 + quarterPi; // half the angular distance from south pole\n\n // Spherical excess E for a spherical triangle with vertices: south pole,\n // previous point, current point. Uses a formula derived from Cagnoli’s\n // theorem. See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2).\n var dLambda = lambda - lambda0,\n sdLambda = dLambda >= 0 ? 1 : -1,\n adLambda = sdLambda * dLambda,\n cosPhi = cos(phi),\n sinPhi = sin(phi),\n k = sinPhi0 * sinPhi,\n u = cosPhi0 * cosPhi + k * cos(adLambda),\n v = k * sdLambda * sin(adLambda);\n areaRingSum.add(atan2(v, u));\n\n // Advance the previous points.\n lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi;\n}\n\nexport default function(object) {\n areaSum.reset();\n stream(object, areaStream);\n return areaSum * 2;\n}\n"],"names":["adder"],"mappings":"kDAKyBA,EAAM,EAEjBA,EAAM","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs179.js","sources":["../../../node_modules/mapbox-gl/index.js"],"sourcesContent":["exports.printMsg = function() {\r\n console.log(\"This is a message from the demo package\");\r\n }"],"names":["printMsg","mapboxGl"],"mappings":"ueAAA,IAAAA,EAAAC,EAAAA,UAAA,SAAmB,UAAW,CAC1B,QAAQ,IAAI,yCAAyC,CACvD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs231.js");require("./index.cjs179.js");e();
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react"),g=require("./index.cjs190.js"),m=require("./index.cjs218.js"),y=require("./index.cjs219.js"),E=require("./index.cjs220.js"),x=require("./index.cjs221.js");function w(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const t=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(u,i,t.get?t:{enumerable:!0,get:()=>e[i]})}}return u.default=e,Object.freeze(u)}const c=w(a),M=c.createContext(null);function L(e,u,i){const t=a.useContext(g.MountedMapsContext),[s,b]=a.useState(null),f=a.useRef(),{current:l}=a.useRef({mapLib:null,map:null});a.useEffect(()=>{const h=e.mapLib;let d=!0,r;return Promise.resolve(h||i).then(o=>{if(!d)return;if(!o)throw new Error("Invalid mapLib");const n="Map"in o?o:o.default;if(!n.Map)throw new Error("Invalid mapLib");if(x(n,e),!n.supported||n.supported(e))e.reuseMaps&&(r=m.reuse(e,f.current)),r||(r=new m(n.Map,e,f.current)),l.map=y(r),l.mapLib=n,b(r),t==null||t.onMapMount(l.map,e.id);else throw new Error("Map is not supported by this browser")}).catch(o=>{const{onError:n}=e;n?n({type:"error",target:null,originalEvent:null,error:o}):console.error(o)}),()=>{d=!1,r&&(t==null||t.onMapUnmount(e.id),e.reuseMaps?r.recycle():r.destroy())}},[]),E(()=>{s&&s.setProps(e)}),a.useImperativeHandle(u,()=>l.map,[s]);const p=a.useMemo(()=>({position:"relative",width:"100%",height:"100%",...e.style}),[e.style]),v={height:"100%"};return c.createElement("div",{id:e.id,ref:f,style:p},s&&c.createElement(M.Provider,{value:l},c.createElement("div",{"mapboxgl-children":"",style:v},e.children)))}exports.MapContext=M;exports.default=L;
2
2
  //# sourceMappingURL=index.cjs180.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs180.js","sources":["../../../node_modules/d3-geo/src/bounds.js"],"sourcesContent":["import adder from \"./adder\";\nimport {areaStream, areaRingSum} from \"./area\";\nimport {cartesian, cartesianCross, cartesianNormalizeInPlace, spherical} from \"./cartesian\";\nimport {abs, degrees, epsilon, radians} from \"./math\";\nimport stream from \"./stream\";\n\nvar lambda0, phi0, lambda1, phi1, // bounds\n lambda2, // previous lambda-coordinate\n lambda00, phi00, // first point\n p0, // previous 3D point\n deltaSum = adder(),\n ranges,\n range;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: boundsLineStart,\n lineEnd: boundsLineEnd,\n polygonStart: function() {\n boundsStream.point = boundsRingPoint;\n boundsStream.lineStart = boundsRingStart;\n boundsStream.lineEnd = boundsRingEnd;\n deltaSum.reset();\n areaStream.polygonStart();\n },\n polygonEnd: function() {\n areaStream.polygonEnd();\n boundsStream.point = boundsPoint;\n boundsStream.lineStart = boundsLineStart;\n boundsStream.lineEnd = boundsLineEnd;\n if (areaRingSum < 0) lambda0 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n else if (deltaSum > epsilon) phi1 = 90;\n else if (deltaSum < -epsilon) phi0 = -90;\n range[0] = lambda0, range[1] = lambda1;\n }\n};\n\nfunction boundsPoint(lambda, phi) {\n ranges.push(range = [lambda0 = lambda, lambda1 = lambda]);\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n}\n\nfunction linePoint(lambda, phi) {\n var p = cartesian([lambda * radians, phi * radians]);\n if (p0) {\n var normal = cartesianCross(p0, p),\n equatorial = [normal[1], -normal[0], 0],\n inflection = cartesianCross(equatorial, normal);\n cartesianNormalizeInPlace(inflection);\n inflection = spherical(inflection);\n var delta = lambda - lambda2,\n sign = delta > 0 ? 1 : -1,\n lambdai = inflection[0] * degrees * sign,\n phii,\n antimeridian = abs(delta) > 180;\n if (antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = inflection[1] * degrees;\n if (phii > phi1) phi1 = phii;\n } else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = -inflection[1] * degrees;\n if (phii < phi0) phi0 = phii;\n } else {\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n }\n if (antimeridian) {\n if (lambda < lambda2) {\n if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda;\n } else {\n if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda;\n }\n } else {\n if (lambda1 >= lambda0) {\n if (lambda < lambda0) lambda0 = lambda;\n if (lambda > lambda1) lambda1 = lambda;\n } else {\n if (lambda > lambda2) {\n if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda;\n } else {\n if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda;\n }\n }\n }\n } else {\n ranges.push(range = [lambda0 = lambda, lambda1 = lambda]);\n }\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n p0 = p, lambda2 = lambda;\n}\n\nfunction boundsLineStart() {\n boundsStream.point = linePoint;\n}\n\nfunction boundsLineEnd() {\n range[0] = lambda0, range[1] = lambda1;\n boundsStream.point = boundsPoint;\n p0 = null;\n}\n\nfunction boundsRingPoint(lambda, phi) {\n if (p0) {\n var delta = lambda - lambda2;\n deltaSum.add(abs(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta);\n } else {\n lambda00 = lambda, phi00 = phi;\n }\n areaStream.point(lambda, phi);\n linePoint(lambda, phi);\n}\n\nfunction boundsRingStart() {\n areaStream.lineStart();\n}\n\nfunction boundsRingEnd() {\n boundsRingPoint(lambda00, phi00);\n areaStream.lineEnd();\n if (abs(deltaSum) > epsilon) lambda0 = -(lambda1 = 180);\n range[0] = lambda0, range[1] = lambda1;\n p0 = null;\n}\n\n// Finds the left-right distance between two longitudes.\n// This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want\n// the distance between ±180° to be 360°.\nfunction angle(lambda0, lambda1) {\n return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1;\n}\n\nfunction rangeCompare(a, b) {\n return a[0] - b[0];\n}\n\nfunction rangeContains(range, x) {\n return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;\n}\n\nexport default function(feature) {\n var i, n, a, b, merged, deltaMax, delta;\n\n phi1 = lambda1 = -(lambda0 = phi0 = Infinity);\n ranges = [];\n stream(feature, boundsStream);\n\n // First, sort ranges by their minimum longitudes.\n if (n = ranges.length) {\n ranges.sort(rangeCompare);\n\n // Then, merge any ranges that overlap.\n for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) {\n b = ranges[i];\n if (rangeContains(a, b[0]) || rangeContains(a, b[1])) {\n if (angle(a[0], b[1]) > angle(a[0], a[1])) a[1] = b[1];\n if (angle(b[0], a[1]) > angle(a[0], a[1])) a[0] = b[0];\n } else {\n merged.push(a = b);\n }\n }\n\n // Finally, find the largest gap between the merged ranges.\n // The final bounding box will be the inverse of this gap.\n for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) {\n b = merged[i];\n if ((delta = angle(a[1], b[0])) > deltaMax) deltaMax = delta, lambda0 = b[0], lambda1 = a[1];\n }\n }\n\n ranges = range = null;\n\n return lambda0 === Infinity || phi0 === Infinity\n ? [[NaN, NaN], [NaN, NaN]]\n : [[lambda0, phi0], [lambda1, phi1]];\n}\n"],"names":["adder"],"mappings":"+EAUeA,EAAM","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs180.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/map.js"],"sourcesContent":["import * as React from 'react';\nimport { useState, useRef, useEffect, useContext, useMemo, useImperativeHandle } from 'react';\nimport { MountedMapsContext } from './use-map';\nimport Mapbox from '../mapbox/mapbox';\nimport createRef from '../mapbox/create-ref';\nimport useIsomorphicLayoutEffect from '../utils/use-isomorphic-layout-effect';\nimport setGlobals from '../utils/set-globals';\nexport const MapContext = React.createContext(null);\nexport default function Map(props, ref, defaultLib) {\n const mountedMapsContext = useContext(MountedMapsContext);\n const [mapInstance, setMapInstance] = useState(null);\n const containerRef = useRef();\n const { current: contextValue } = useRef({ mapLib: null, map: null });\n useEffect(() => {\n const mapLib = props.mapLib;\n let isMounted = true;\n let mapbox;\n Promise.resolve(mapLib || defaultLib)\n .then((module) => {\n if (!isMounted) {\n return;\n }\n if (!module) {\n throw new Error('Invalid mapLib');\n }\n const mapboxgl = 'Map' in module ? module : module.default;\n if (!mapboxgl.Map) {\n throw new Error('Invalid mapLib');\n }\n // workerUrl & workerClass may change the result of supported()\n // https://github.com/visgl/react-map-gl/discussions/2027\n setGlobals(mapboxgl, props);\n if (!mapboxgl.supported || mapboxgl.supported(props)) {\n if (props.reuseMaps) {\n mapbox = Mapbox.reuse(props, containerRef.current);\n }\n if (!mapbox) {\n mapbox = new Mapbox(mapboxgl.Map, props, containerRef.current);\n }\n contextValue.map = createRef(mapbox);\n contextValue.mapLib = mapboxgl;\n setMapInstance(mapbox);\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapMount(contextValue.map, props.id);\n }\n else {\n throw new Error('Map is not supported by this browser');\n }\n })\n .catch(error => {\n const { onError } = props;\n if (onError) {\n onError({\n type: 'error',\n target: null,\n originalEvent: null,\n error\n });\n }\n else {\n console.error(error); // eslint-disable-line\n }\n });\n return () => {\n isMounted = false;\n if (mapbox) {\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapUnmount(props.id);\n if (props.reuseMaps) {\n mapbox.recycle();\n }\n else {\n mapbox.destroy();\n }\n }\n };\n }, []);\n useIsomorphicLayoutEffect(() => {\n if (mapInstance) {\n mapInstance.setProps(props);\n }\n });\n useImperativeHandle(ref, () => contextValue.map, [mapInstance]);\n const style = useMemo(() => ({\n position: 'relative',\n width: '100%',\n height: '100%',\n ...props.style\n }), [props.style]);\n const CHILD_CONTAINER_STYLE = {\n height: '100%'\n };\n return (React.createElement(\"div\", { id: props.id, ref: containerRef, style: style }, mapInstance && (React.createElement(MapContext.Provider, { value: contextValue },\n React.createElement(\"div\", { \"mapboxgl-children\": \"\", style: CHILD_CONTAINER_STYLE }, props.children)))));\n}\n//# sourceMappingURL=map.js.map"],"names":["MapContext","React","Map","props","ref","defaultLib","mountedMapsContext","useContext","MountedMapsContext","mapInstance","setMapInstance","useState","containerRef","useRef","contextValue","useEffect","mapLib","isMounted","mapbox","module","mapboxgl","setGlobals","Mapbox","createRef","error","onError","useIsomorphicLayoutEffect","useImperativeHandle","style","useMemo","CHILD_CONTAINER_STYLE"],"mappings":"0jBAOaA,EAAaC,EAAM,cAAc,IAAI,EAC1B,SAAAC,EAAIC,EAAOC,EAAKC,EAAY,CAC1C,MAAAC,EAAqBC,aAAWC,EAAAA,kBAAkB,EAClD,CAACC,EAAaC,CAAc,EAAIC,WAAS,IAAI,EAC7CC,EAAeC,EAAAA,SACf,CAAE,QAASC,CAAA,EAAiBD,EAAA,OAAO,CAAE,OAAQ,KAAM,IAAK,IAAA,CAAM,EACpEE,EAAAA,UAAU,IAAM,CACZ,MAAMC,EAASb,EAAM,OACrB,IAAIc,EAAY,GACZC,EACJ,eAAQ,QAAQF,GAAUX,CAAU,EAC/B,KAAMc,GAAW,CAClB,GAAI,CAACF,EACD,OAEJ,GAAI,CAACE,EACK,MAAA,IAAI,MAAM,gBAAgB,EAEpC,MAAMC,EAAW,QAASD,EAASA,EAASA,EAAO,QAC/C,GAAA,CAACC,EAAS,IACJ,MAAA,IAAI,MAAM,gBAAgB,EAKpC,GADAC,EAAWD,EAAUjB,CAAK,EACtB,CAACiB,EAAS,WAAaA,EAAS,UAAUjB,CAAK,EAC3CA,EAAM,YACNe,EAASI,EAAO,MAAMnB,EAAOS,EAAa,OAAO,GAEhDM,IACDA,EAAS,IAAII,EAAOF,EAAS,IAAKjB,EAAOS,EAAa,OAAO,GAEpDE,EAAA,IAAMS,EAAUL,CAAM,EACnCJ,EAAa,OAASM,EACtBV,EAAeQ,CAAM,EACEZ,GAAA,MAAiDA,EAAmB,WAAWQ,EAAa,IAAKX,EAAM,EAAE,MAG1H,OAAA,IAAI,MAAM,sCAAsC,CAC1D,CACH,EACI,MAAeqB,GAAA,CACV,KAAA,CAAE,QAAAC,CAAY,EAAAtB,EAChBsB,EACQA,EAAA,CACJ,KAAM,QACN,OAAQ,KACR,cAAe,KACf,MAAAD,CAAA,CACH,EAGD,QAAQ,MAAMA,CAAK,CACvB,CACH,EACM,IAAM,CACGP,EAAA,GACRC,IACAZ,GAAuB,MAAiDA,EAAmB,aAAaH,EAAM,EAAE,EAC5GA,EAAM,UACNe,EAAO,QAAQ,EAGfA,EAAO,QAAQ,EAEvB,CAER,EAAG,CAAE,CAAA,EACLQ,EAA0B,IAAM,CACxBjB,GACAA,EAAY,SAASN,CAAK,CAC9B,CACH,EACDwB,EAAA,oBAAoBvB,EAAK,IAAMU,EAAa,IAAK,CAACL,CAAW,CAAC,EACxD,MAAAmB,EAAQC,EAAAA,QAAQ,KAAO,CACzB,SAAU,WACV,MAAO,OACP,OAAQ,OACR,GAAG1B,EAAM,KACT,GAAA,CAACA,EAAM,KAAK,CAAC,EACX2B,EAAwB,CAC1B,OAAQ,MAAA,EAEZ,OAAQ7B,EAAM,cAAc,MAAO,CAAE,GAAIE,EAAM,GAAI,IAAKS,EAAc,MAAAgB,CAAgB,EAAAnB,GAAgBR,EAAM,cAAcD,EAAW,SAAU,CAAE,MAAOc,CAAa,EACjKb,EAAM,cAAc,MAAO,CAAE,oBAAqB,GAAI,MAAO6B,CAAA,EAAyB3B,EAAM,QAAQ,CAAA,CAAG,CAC/G","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("./index.cjs244.js"),n=require("./index.cjs234.js");function R(o,t){return[o>n.pi?o-n.tau:o<-n.pi?o+n.tau:o,t]}R.invert=R;function P(o,t,r){return(o%=n.tau)?t||r?z(q(o),x(t,r)):q(o):t||r?x(t,r):R}function k(o){return function(t,r){return t+=o,[t>n.pi?t-n.tau:t<-n.pi?t+n.tau:t,r]}}function q(o){var t=k(o);return t.invert=k(-o),t}function x(o,t){var r=n.cos(o),y=n.sin(o),p=n.cos(t),D=n.sin(t);function g(i,s){var u=n.cos(s),c=n.cos(i)*u,e=n.sin(i)*u,f=n.sin(s),v=f*r+c*y;return[n.atan2(e*p-v*D,c*r-f*y),n.asin(v*p+e*D)]}return g.invert=function(i,s){var u=n.cos(s),c=n.cos(i)*u,e=n.sin(i)*u,f=n.sin(s),v=f*p-e*D;return[n.atan2(e*p+f*D,c*r+v*y),n.asin(v*r-c*y)]},g}exports.rotateRadians=P;
1
+ "use strict";const o=require("react"),y=require("react-dom"),k=require("./index.cjs222.js"),D=require("./index.cjs180.js"),P=require("./index.cjs223.js");function q(n){const g=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const c in n)if(c!=="default"){const s=Object.getOwnPropertyDescriptor(n,c);Object.defineProperty(g,c,s.get?s:{enumerable:!0,get:()=>n[c]})}}return g.default=n,Object.freeze(g)}const O=q(o);function A(n,g){const{map:c,mapLib:s}=o.useContext(D.MapContext),u=o.useRef({props:n});u.current.props=n;const t=o.useMemo(()=>{let _=!1;O.Children.forEach(n.children,r=>{r&&(_=!0)});const h={...n,element:_?document.createElement("div"):null},i=new s.Marker(h);return i.setLngLat([n.longitude,n.latitude]),i.getElement().addEventListener("click",r=>{var a,e;(e=(a=u.current.props).onClick)===null||e===void 0||e.call(a,{type:"click",target:i,originalEvent:r})}),i.on("dragstart",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDragStart)===null||e===void 0||e.call(a,l)}),i.on("drag",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDrag)===null||e===void 0||e.call(a,l)}),i.on("dragend",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDragEnd)===null||e===void 0||e.call(a,l)}),i},[]);o.useEffect(()=>(t.addTo(c.getMap()),()=>{t.remove()}),[]);const{longitude:f,latitude:m,offset:d,style:p,draggable:v=!1,popup:L=null,rotation:b=0,rotationAlignment:E="auto",pitchAlignment:R="auto"}=n;return o.useEffect(()=>{k.applyReactStyle(t.getElement(),p)},[p]),o.useImperativeHandle(g,()=>t,[]),(t.getLngLat().lng!==f||t.getLngLat().lat!==m)&&t.setLngLat([f,m]),d&&!P.arePointsEqual(t.getOffset(),d)&&t.setOffset(d),t.isDraggable()!==v&&t.setDraggable(v),t.getRotation()!==b&&t.setRotation(b),t.getRotationAlignment()!==E&&t.setRotationAlignment(E),t.getPitchAlignment()!==R&&t.setPitchAlignment(R),t.getPopup()!==L&&t.setPopup(L),y.createPortal(n.children,t.getElement())}o.memo(o.forwardRef(A));
2
2
  //# sourceMappingURL=index.cjs181.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs181.js","sources":["../../../node_modules/d3-geo/src/rotation.js"],"sourcesContent":["import compose from \"./compose\";\nimport {asin, atan2, cos, degrees, pi, radians, sin, tau} from \"./math\";\n\nfunction rotationIdentity(lambda, phi) {\n return [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n}\n\nrotationIdentity.invert = rotationIdentity;\n\nexport function rotateRadians(deltaLambda, deltaPhi, deltaGamma) {\n return (deltaLambda %= tau) ? (deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma))\n : rotationLambda(deltaLambda))\n : (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma)\n : rotationIdentity);\n}\n\nfunction forwardRotationLambda(deltaLambda) {\n return function(lambda, phi) {\n return lambda += deltaLambda, [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n };\n}\n\nfunction rotationLambda(deltaLambda) {\n var rotation = forwardRotationLambda(deltaLambda);\n rotation.invert = forwardRotationLambda(-deltaLambda);\n return rotation;\n}\n\nfunction rotationPhiGamma(deltaPhi, deltaGamma) {\n var cosDeltaPhi = cos(deltaPhi),\n sinDeltaPhi = sin(deltaPhi),\n cosDeltaGamma = cos(deltaGamma),\n sinDeltaGamma = sin(deltaGamma);\n\n function rotation(lambda, phi) {\n var cosPhi = cos(phi),\n x = cos(lambda) * cosPhi,\n y = sin(lambda) * cosPhi,\n z = sin(phi),\n k = z * cosDeltaPhi + x * sinDeltaPhi;\n return [\n atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi),\n asin(k * cosDeltaGamma + y * sinDeltaGamma)\n ];\n }\n\n rotation.invert = function(lambda, phi) {\n var cosPhi = cos(phi),\n x = cos(lambda) * cosPhi,\n y = sin(lambda) * cosPhi,\n z = sin(phi),\n k = z * cosDeltaGamma - y * sinDeltaGamma;\n return [\n atan2(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi),\n asin(k * cosDeltaPhi - x * sinDeltaPhi)\n ];\n };\n\n return rotation;\n}\n\nexport default function(rotate) {\n rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);\n\n function forward(coordinates) {\n coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n }\n\n forward.invert = function(coordinates) {\n coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n };\n\n return forward;\n}\n"],"names":["rotationIdentity","lambda","phi","pi","tau","rotateRadians","deltaLambda","deltaPhi","deltaGamma","compose","rotationLambda","rotationPhiGamma","forwardRotationLambda","rotation","cosDeltaPhi","cos","sinDeltaPhi","sin","cosDeltaGamma","sinDeltaGamma","cosPhi","x","y","z","k","atan2","asin"],"mappings":"oJAGA,SAASA,EAAiBC,EAAQC,EAAK,CAC9B,MAAA,CAACD,EAASE,KAAKF,EAASG,EAAAA,IAAMH,EAAS,CAACE,EAAAA,GAAKF,EAASG,EAAAA,IAAMH,EAAQC,CAAG,CAChF,CAEAF,EAAiB,OAASA,EAEV,SAAAK,EAAcC,EAAaC,EAAUC,EAAY,CACvD,OAAAF,GAAeF,OAAQG,GAAYC,EAAaC,EAAQC,EAAeJ,CAAW,EAAGK,EAAiBJ,EAAUC,CAAU,CAAC,EAC/HE,EAAeJ,CAAW,EACzBC,GAAYC,EAAaG,EAAiBJ,EAAUC,CAAU,EAC/DR,CACN,CAEA,SAASY,EAAsBN,EAAa,CACnC,OAAA,SAASL,EAAQC,EAAK,CAC3B,OAAOD,GAAUK,EAAa,CAACL,EAASE,EAAAA,GAAKF,EAASG,EAAAA,IAAMH,EAAS,CAACE,EAAA,GAAKF,EAASG,EAAA,IAAMH,EAAQC,CAAG,CAAA,CAEzG,CAEA,SAASQ,EAAeJ,EAAa,CAC/B,IAAAO,EAAWD,EAAsBN,CAAW,EACvC,OAAAO,EAAA,OAASD,EAAsB,CAACN,CAAW,EAC7CO,CACT,CAEA,SAASF,EAAiBJ,EAAUC,EAAY,CAC9C,IAAIM,EAAcC,EAAAA,IAAIR,CAAQ,EAC1BS,EAAcC,EAAI,IAAAV,CAAQ,EAC1BW,EAAgBH,EAAAA,IAAIP,CAAU,EAC9BW,EAAgBF,MAAIT,CAAU,EAEzB,SAAAK,EAASZ,EAAQC,EAAK,CACzB,IAAAkB,EAASL,MAAIb,CAAG,EAChBmB,EAAIN,EAAI,IAAAd,CAAM,EAAImB,EAClBE,EAAIL,MAAIhB,CAAM,EAAImB,EAClBG,EAAIN,EAAAA,IAAIf,CAAG,EACXsB,EAAID,EAAIT,EAAcO,EAAIL,EACvB,MAAA,CACLS,QAAMH,EAAIJ,EAAgBM,EAAIL,EAAeE,EAAIP,EAAcS,EAAIP,CAAW,EAC9EU,EAAAA,KAAKF,EAAIN,EAAgBI,EAAIH,CAAa,CAAA,CAE9C,CAES,OAAAN,EAAA,OAAS,SAASZ,EAAQC,EAAK,CAClC,IAAAkB,EAASL,MAAIb,CAAG,EAChBmB,EAAIN,EAAI,IAAAd,CAAM,EAAImB,EAClBE,EAAIL,MAAIhB,CAAM,EAAImB,EAClBG,EAAIN,EAAAA,IAAIf,CAAG,EACXsB,EAAID,EAAIL,EAAgBI,EAAIH,EACzB,MAAA,CACLM,QAAMH,EAAIJ,EAAgBK,EAAIJ,EAAeE,EAAIP,EAAcU,EAAIR,CAAW,EAC9EU,EAAAA,KAAKF,EAAIV,EAAcO,EAAIL,CAAW,CAAA,CACxC,EAGKH,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs181.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/marker.js"],"sourcesContent":["/* global document */\nimport * as React from 'react';\nimport { createPortal } from 'react-dom';\nimport { useImperativeHandle, useEffect, useMemo, useRef, useContext, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport { MapContext } from './map';\nimport { arePointsEqual } from '../utils/deep-equal';\n/* eslint-disable complexity,max-statements */\nfunction Marker(props, ref) {\n const { map, mapLib } = useContext(MapContext);\n const thisRef = useRef({ props });\n thisRef.current.props = props;\n const marker = useMemo(() => {\n let hasChildren = false;\n React.Children.forEach(props.children, el => {\n if (el) {\n hasChildren = true;\n }\n });\n const options = {\n ...props,\n element: hasChildren ? document.createElement('div') : null\n };\n const mk = new mapLib.Marker(options);\n mk.setLngLat([props.longitude, props.latitude]);\n mk.getElement().addEventListener('click', (e) => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onClick) === null || _b === void 0 ? void 0 : _b.call(_a, {\n type: 'click',\n target: mk,\n originalEvent: e\n });\n });\n mk.on('dragstart', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDragStart) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n mk.on('drag', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDrag) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n mk.on('dragend', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDragEnd) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n return mk;\n }, []);\n useEffect(() => {\n marker.addTo(map.getMap());\n return () => {\n marker.remove();\n };\n }, []);\n const { longitude, latitude, offset, style, draggable = false, popup = null, rotation = 0, rotationAlignment = 'auto', pitchAlignment = 'auto' } = props;\n useEffect(() => {\n applyReactStyle(marker.getElement(), style);\n }, [style]);\n useImperativeHandle(ref, () => marker, []);\n if (marker.getLngLat().lng !== longitude || marker.getLngLat().lat !== latitude) {\n marker.setLngLat([longitude, latitude]);\n }\n if (offset && !arePointsEqual(marker.getOffset(), offset)) {\n marker.setOffset(offset);\n }\n if (marker.isDraggable() !== draggable) {\n marker.setDraggable(draggable);\n }\n if (marker.getRotation() !== rotation) {\n marker.setRotation(rotation);\n }\n if (marker.getRotationAlignment() !== rotationAlignment) {\n marker.setRotationAlignment(rotationAlignment);\n }\n if (marker.getPitchAlignment() !== pitchAlignment) {\n marker.setPitchAlignment(pitchAlignment);\n }\n if (marker.getPopup() !== popup) {\n marker.setPopup(popup);\n }\n return createPortal(props.children, marker.getElement());\n}\nexport default memo(forwardRef(Marker));\n//# sourceMappingURL=marker.js.map"],"names":["Marker","props","ref","map","mapLib","useContext","MapContext","thisRef","useRef","marker","useMemo","hasChildren","React","el","options","mk","e","_a","_b","evt","useEffect","longitude","latitude","offset","style","draggable","popup","rotation","rotationAlignment","pitchAlignment","applyReactStyle","useImperativeHandle","arePointsEqual","createPortal","memo","forwardRef"],"mappings":"obAQA,SAASA,EAAOC,EAAOC,EAAK,CACxB,KAAM,CAAEC,IAAAA,EAAK,OAAAC,CAAO,EAAIC,aAAWC,EAAU,UAAA,EACvCC,EAAUC,EAAAA,OAAO,CAAE,MAAAP,CAAO,CAAA,EAChCM,EAAQ,QAAQ,MAAQN,EAClB,MAAAQ,EAASC,EAAAA,QAAQ,IAAM,CACzB,IAAIC,EAAc,GAClBC,EAAM,SAAS,QAAQX,EAAM,SAAgBY,GAAA,CACrCA,IACcF,EAAA,GAClB,CACH,EACD,MAAMG,EAAU,CACZ,GAAGb,EACH,QAASU,EAAc,SAAS,cAAc,KAAK,EAAI,IAAA,EAErDI,EAAK,IAAIX,EAAO,OAAOU,CAAO,EACpC,OAAAC,EAAG,UAAU,CAACd,EAAM,UAAWA,EAAM,QAAQ,CAAC,EAC9Cc,EAAG,WAAW,EAAE,iBAAiB,QAAUC,GAAM,CAC7C,IAAIC,EAAIC,GACPA,GAAMD,EAAKV,EAAQ,QAAQ,OAAO,WAAa,MAAQW,IAAO,QAAkBA,EAAG,KAAKD,EAAI,CACzF,KAAM,QACN,OAAQF,EACR,cAAeC,CAAA,CAClB,CAAA,CACJ,EACED,EAAA,GAAG,YAAkBC,GAAA,CACpB,IAAIC,EAAIC,EACR,MAAMC,EAAMH,EACRG,EAAA,OAASV,EAAO,aACnBS,GAAMD,EAAKV,EAAQ,QAAQ,OAAO,eAAiB,MAAQW,IAAO,QAAkBA,EAAG,KAAKD,EAAIE,CAAG,CAAA,CACvG,EACEJ,EAAA,GAAG,OAAaC,GAAA,CACf,IAAIC,EAAIC,EACR,MAAMC,EAAMH,EACRG,EAAA,OAASV,EAAO,aACnBS,GAAMD,EAAKV,EAAQ,QAAQ,OAAO,UAAY,MAAQW,IAAO,QAAkBA,EAAG,KAAKD,EAAIE,CAAG,CAAA,CAClG,EACEJ,EAAA,GAAG,UAAgBC,GAAA,CAClB,IAAIC,EAAIC,EACR,MAAMC,EAAMH,EACRG,EAAA,OAASV,EAAO,aACnBS,GAAMD,EAAKV,EAAQ,QAAQ,OAAO,aAAe,MAAQW,IAAO,QAAkBA,EAAG,KAAKD,EAAIE,CAAG,CAAA,CACrG,EACMJ,CACX,EAAG,CAAE,CAAA,EACLK,EAAAA,UAAU,KACCX,EAAA,MAAMN,EAAI,OAAQ,CAAA,EAClB,IAAM,CACTM,EAAO,OAAO,CAAA,GAEnB,CAAE,CAAA,EACL,KAAM,CAAE,UAAAY,EAAW,SAAAC,EAAU,OAAAC,EAAQ,MAAAC,EAAO,UAAAC,EAAY,GAAO,MAAAC,EAAQ,KAAM,SAAAC,EAAW,EAAG,kBAAAC,EAAoB,OAAQ,eAAAC,EAAiB,MAAW,EAAA5B,EACnJmB,OAAAA,EAAAA,UAAU,IAAM,CACIU,EAAAA,gBAAArB,EAAO,WAAW,EAAGe,CAAK,CAAA,EAC3C,CAACA,CAAK,CAAC,EACVO,EAAAA,oBAAoB7B,EAAK,IAAMO,EAAQ,CAAE,CAAA,GACrCA,EAAO,UAAY,EAAA,MAAQY,GAAaZ,EAAO,UAAA,EAAY,MAAQa,IACnEb,EAAO,UAAU,CAACY,EAAWC,CAAQ,CAAC,EAEtCC,GAAU,CAACS,EAAA,eAAevB,EAAO,UAAU,EAAGc,CAAM,GACpDd,EAAO,UAAUc,CAAM,EAEvBd,EAAO,YAAY,IAAMgB,GACzBhB,EAAO,aAAagB,CAAS,EAE7BhB,EAAO,YAAY,IAAMkB,GACzBlB,EAAO,YAAYkB,CAAQ,EAE3BlB,EAAO,qBAAqB,IAAMmB,GAClCnB,EAAO,qBAAqBmB,CAAiB,EAE7CnB,EAAO,kBAAkB,IAAMoB,GAC/BpB,EAAO,kBAAkBoB,CAAc,EAEvCpB,EAAO,SAAS,IAAMiB,GACtBjB,EAAO,SAASiB,CAAK,EAElBO,EAAAA,aAAahC,EAAM,SAAUQ,EAAO,WAAY,CAAA,CAC3D,CACeyB,EAAAA,KAAKC,EAAAA,WAAWnC,CAAM,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs253.js"),r=require("./index.cjs254.js");r(e);
1
+ "use strict";const g=require("react-dom"),a=require("react"),h=require("./index.cjs222.js"),L=require("./index.cjs180.js"),v=require("./index.cjs223.js");function f(e){return new Set(e?e.trim().split(/\s+/):[])}function C(e,r){const{map:m,mapLib:d}=a.useContext(L.MapContext),u=a.useMemo(()=>document.createElement("div"),[]),c=a.useRef({props:e});c.current.props=e;const t=a.useMemo(()=>{const s={...e},o=new d.Popup(s);return o.setLngLat([e.longitude,e.latitude]),o.once("open",n=>{var i,l;(l=(i=c.current.props).onOpen)===null||l===void 0||l.call(i,n)}),o},[]);if(a.useEffect(()=>{const s=o=>{var n,i;(i=(n=c.current.props).onClose)===null||i===void 0||i.call(n,o)};return t.on("close",s),t.setDOMContent(u).addTo(m.getMap()),()=>{t.off("close",s),t.isOpen()&&t.remove()}},[]),a.useEffect(()=>{h.applyReactStyle(t.getElement(),e.style)},[e.style]),a.useImperativeHandle(r,()=>t,[]),t.isOpen()&&((t.getLngLat().lng!==e.longitude||t.getLngLat().lat!==e.latitude)&&t.setLngLat([e.longitude,e.latitude]),e.offset&&!v.deepEqual(t.options.offset,e.offset)&&t.setOffset(e.offset),(t.options.anchor!==e.anchor||t.options.maxWidth!==e.maxWidth)&&(t.options.anchor=e.anchor,t.setMaxWidth(e.maxWidth)),t.options.className!==e.className)){const s=f(t.options.className),o=f(e.className);for(const n of s)o.has(n)||t.removeClassName(n);for(const n of o)s.has(n)||t.addClassName(n);t.options.className=e.className}return g.createPortal(e.children,u)}a.memo(a.forwardRef(C));
2
2
  //# sourceMappingURL=index.cjs182.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs182.js","sources":["../../../node_modules/d3-geo/node_modules/d3-array/src/bisect.js"],"sourcesContent":["import ascending from \"./ascending\";\nimport bisector from \"./bisector\";\n\nvar ascendingBisect = bisector(ascending);\nexport var bisectRight = ascendingBisect.right;\nexport var bisectLeft = ascendingBisect.left;\nexport default bisectRight;\n"],"names":["bisector","ascending"],"mappings":"iFAGsBA,EAASC,CAAS","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs182.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/popup.js"],"sourcesContent":["import { createPortal } from 'react-dom';\nimport { useImperativeHandle, useEffect, useMemo, useRef, useContext, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport { MapContext } from './map';\nimport { deepEqual } from '../utils/deep-equal';\n// Adapted from https://github.com/mapbox/mapbox-gl-js/blob/v1.13.0/src/ui/popup.js\nfunction getClassList(className) {\n return new Set(className ? className.trim().split(/\\s+/) : []);\n}\n/* eslint-disable complexity,max-statements */\nfunction Popup(props, ref) {\n const { map, mapLib } = useContext(MapContext);\n const container = useMemo(() => {\n return document.createElement('div');\n }, []);\n const thisRef = useRef({ props });\n thisRef.current.props = props;\n const popup = useMemo(() => {\n const options = { ...props };\n const pp = new mapLib.Popup(options);\n pp.setLngLat([props.longitude, props.latitude]);\n pp.once('open', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onOpen) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n return pp;\n }, []);\n useEffect(() => {\n const onClose = e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onClose) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n };\n popup.on('close', onClose);\n popup.setDOMContent(container).addTo(map.getMap());\n return () => {\n // https://github.com/visgl/react-map-gl/issues/1825\n // onClose should not be fired if the popup is removed by unmounting\n // When using React strict mode, the component is mounted twice.\n // Firing the onClose callback here would be a false signal to remove the component.\n popup.off('close', onClose);\n if (popup.isOpen()) {\n popup.remove();\n }\n };\n }, []);\n useEffect(() => {\n applyReactStyle(popup.getElement(), props.style);\n }, [props.style]);\n useImperativeHandle(ref, () => popup, []);\n if (popup.isOpen()) {\n if (popup.getLngLat().lng !== props.longitude || popup.getLngLat().lat !== props.latitude) {\n popup.setLngLat([props.longitude, props.latitude]);\n }\n if (props.offset && !deepEqual(popup.options.offset, props.offset)) {\n popup.setOffset(props.offset);\n }\n if (popup.options.anchor !== props.anchor || popup.options.maxWidth !== props.maxWidth) {\n popup.options.anchor = props.anchor;\n popup.setMaxWidth(props.maxWidth);\n }\n if (popup.options.className !== props.className) {\n const prevClassList = getClassList(popup.options.className);\n const nextClassList = getClassList(props.className);\n for (const c of prevClassList) {\n if (!nextClassList.has(c)) {\n popup.removeClassName(c);\n }\n }\n for (const c of nextClassList) {\n if (!prevClassList.has(c)) {\n popup.addClassName(c);\n }\n }\n popup.options.className = props.className;\n }\n }\n return createPortal(props.children, container);\n}\nexport default memo(forwardRef(Popup));\n//# sourceMappingURL=popup.js.map"],"names":["getClassList","className","Popup","props","ref","map","mapLib","useContext","MapContext","container","useMemo","thisRef","useRef","popup","options","pp","e","_a","_b","useEffect","onClose","applyReactStyle","useImperativeHandle","deepEqual","prevClassList","nextClassList","c","createPortal","memo","forwardRef"],"mappings":"0JAMA,SAASA,EAAaC,EAAW,CACtB,OAAA,IAAI,IAAIA,EAAYA,EAAU,OAAO,MAAM,KAAK,EAAI,CAAA,CAAE,CACjE,CAEA,SAASC,EAAMC,EAAOC,EAAK,CACvB,KAAM,CAAEC,IAAAA,EAAK,OAAAC,CAAO,EAAIC,aAAWC,EAAU,UAAA,EACvCC,EAAYC,EAAAA,QAAQ,IACf,SAAS,cAAc,KAAK,EACpC,CAAE,CAAA,EACCC,EAAUC,EAAAA,OAAO,CAAE,MAAAT,CAAO,CAAA,EAChCQ,EAAQ,QAAQ,MAAQR,EAClB,MAAAU,EAAQH,EAAAA,QAAQ,IAAM,CAClB,MAAAI,EAAU,CAAE,GAAGX,GACfY,EAAK,IAAIT,EAAO,MAAMQ,CAAO,EACnC,OAAAC,EAAG,UAAU,CAACZ,EAAM,UAAWA,EAAM,QAAQ,CAAC,EAC3CY,EAAA,KAAK,OAAaC,GAAA,CACjB,IAAIC,EAAIC,GACPA,GAAMD,EAAKN,EAAQ,QAAQ,OAAO,UAAY,MAAQO,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAChG,EACMD,CACX,EAAG,CAAE,CAAA,EAuBD,GAtBJI,EAAAA,UAAU,IAAM,CACZ,MAAMC,EAAeJ,GAAA,CACjB,IAAIC,EAAIC,GACPA,GAAMD,EAAKN,EAAQ,QAAQ,OAAO,WAAa,MAAQO,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,EAE5F,OAAAH,EAAA,GAAG,QAASO,CAAO,EACzBP,EAAM,cAAcJ,CAAS,EAAE,MAAMJ,EAAI,QAAQ,EAC1C,IAAM,CAKHQ,EAAA,IAAI,QAASO,CAAO,EACtBP,EAAM,UACNA,EAAM,OAAO,CACjB,CAER,EAAG,CAAE,CAAA,EACLM,EAAAA,UAAU,IAAM,CACZE,EAAAA,gBAAgBR,EAAM,WAAc,EAAAV,EAAM,KAAK,CAAA,EAChD,CAACA,EAAM,KAAK,CAAC,EAChBmB,EAAAA,oBAAoBlB,EAAK,IAAMS,EAAO,CAAE,CAAA,EACpCA,EAAM,YACFA,EAAM,YAAY,MAAQV,EAAM,WAAaU,EAAM,UAAU,EAAE,MAAQV,EAAM,WAC7EU,EAAM,UAAU,CAACV,EAAM,UAAWA,EAAM,QAAQ,CAAC,EAEjDA,EAAM,QAAU,CAACoB,YAAUV,EAAM,QAAQ,OAAQV,EAAM,MAAM,GACvDU,EAAA,UAAUV,EAAM,MAAM,GAE5BU,EAAM,QAAQ,SAAWV,EAAM,QAAUU,EAAM,QAAQ,WAAaV,EAAM,YACpEU,EAAA,QAAQ,OAASV,EAAM,OACvBU,EAAA,YAAYV,EAAM,QAAQ,GAEhCU,EAAM,QAAQ,YAAcV,EAAM,WAAW,CAC7C,MAAMqB,EAAgBxB,EAAaa,EAAM,QAAQ,SAAS,EACpDY,EAAgBzB,EAAaG,EAAM,SAAS,EAClD,UAAWuB,KAAKF,EACPC,EAAc,IAAIC,CAAC,GACpBb,EAAM,gBAAgBa,CAAC,EAG/B,UAAWA,KAAKD,EACPD,EAAc,IAAIE,CAAC,GACpBb,EAAM,aAAaa,CAAC,EAGtBb,EAAA,QAAQ,UAAYV,EAAM,SACpC,CAEG,OAAAwB,eAAaxB,EAAM,SAAUM,CAAS,CACjD,CACemB,EAAAA,KAAKC,EAAAA,WAAW3B,CAAK,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const Q=require("./index.cjs231.js"),e=require("./index.cjs233.js"),r=require("./index.cjs234.js");var w=Q();function R(x,g){var a=g[0],i=g[1],O=[r.sin(a),-r.cos(a),0],v=0,y=0;w.reset();for(var f=0,P=x.length;f<P;++f)if(q=(t=x[f]).length)for(var t,q,n=t[q-1],C=n[0],B=n[1]/2+r.quarterPi,E=r.sin(B),F=r.cos(B),z=0;z<q;++z,C=I,E=H,F=J,n=c){var c=t[z],I=c[0],G=c[1]/2+r.quarterPi,H=r.sin(G),J=r.cos(G),s=I-C,N=s>=0?1:-1,l=N*s,o=l>r.pi,K=E*H;if(w.add(r.atan2(K*N*r.sin(l),F*J+K*r.cos(l))),v+=o?s+N*r.tau:s,o^C>=a^I>=a){var u=e.cartesianCross(e.cartesian(n),e.cartesian(c));e.cartesianNormalizeInPlace(u);var L=e.cartesianCross(O,u);e.cartesianNormalizeInPlace(L);var M=(o^s>=0?-1:1)*r.asin(L[2]);(i>M||i===M&&(u[0]||u[1]))&&(y+=o^s>=0?1:-1)}}return(v<-r.epsilon||v<r.epsilon&&w<-r.epsilon)^y&1}module.exports=R;
1
+ "use strict";const e=require("react"),i=require("./index.cjs222.js"),r=require("./index.cjs13.js");function c(t){const n=r(({mapLib:o})=>new o.AttributionControl(t),{position:t.position});return e.useEffect(()=>{i.applyReactStyle(n._container,t.style)},[t.style]),null}e.memo(c);
2
2
  //# sourceMappingURL=index.cjs183.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs183.js","sources":["../../../node_modules/d3-geo/src/polygonContains.js"],"sourcesContent":["import adder from \"./adder\";\nimport {cartesian, cartesianCross, cartesianNormalizeInPlace} from \"./cartesian\";\nimport {asin, atan2, cos, epsilon, pi, quarterPi, sin, tau} from \"./math\";\n\nvar sum = adder();\n\nexport default function(polygon, point) {\n var lambda = point[0],\n phi = point[1],\n normal = [sin(lambda), -cos(lambda), 0],\n angle = 0,\n winding = 0;\n\n sum.reset();\n\n for (var i = 0, n = polygon.length; i < n; ++i) {\n if (!(m = (ring = polygon[i]).length)) continue;\n var ring,\n m,\n point0 = ring[m - 1],\n lambda0 = point0[0],\n phi0 = point0[1] / 2 + quarterPi,\n sinPhi0 = sin(phi0),\n cosPhi0 = cos(phi0);\n\n for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) {\n var point1 = ring[j],\n lambda1 = point1[0],\n phi1 = point1[1] / 2 + quarterPi,\n sinPhi1 = sin(phi1),\n cosPhi1 = cos(phi1),\n delta = lambda1 - lambda0,\n sign = delta >= 0 ? 1 : -1,\n absDelta = sign * delta,\n antimeridian = absDelta > pi,\n k = sinPhi0 * sinPhi1;\n\n sum.add(atan2(k * sign * sin(absDelta), cosPhi0 * cosPhi1 + k * cos(absDelta)));\n angle += antimeridian ? delta + sign * tau : delta;\n\n // Are the longitudes either side of the point’s meridian (lambda),\n // and are the latitudes smaller than the parallel (phi)?\n if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) {\n var arc = cartesianCross(cartesian(point0), cartesian(point1));\n cartesianNormalizeInPlace(arc);\n var intersection = cartesianCross(normal, arc);\n cartesianNormalizeInPlace(intersection);\n var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * asin(intersection[2]);\n if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) {\n winding += antimeridian ^ delta >= 0 ? 1 : -1;\n }\n }\n }\n }\n\n // First, determine whether the South pole is inside or outside:\n //\n // It is inside if:\n // * the polygon winds around it in a clockwise direction.\n // * the polygon does not (cumulatively) wind around it, but has a negative\n // (counter-clockwise) area.\n //\n // Second, count the (signed) number of times a segment crosses a lambda\n // from the point to the South pole. If it is zero, then the point is the\n // same side as the South pole.\n\n return (angle < -epsilon || angle < epsilon && sum < -epsilon) ^ (winding & 1);\n}\n"],"names":["sum","adder","polygonContains","polygon","point","lambda","phi","normal","sin","cos","angle","winding","i","n","m","ring","point0","lambda0","phi0","quarterPi","sinPhi0","cosPhi0","j","lambda1","sinPhi1","cosPhi1","point1","phi1","delta","sign","absDelta","antimeridian","pi","k","atan2","tau","arc","cartesianCross","cartesian","cartesianNormalizeInPlace","intersection","phiArc","asin","epsilon"],"mappings":"gHAIA,IAAIA,EAAMC,EAAM,EAEhB,SAAAC,EAAwBC,EAASC,EAAO,CAClC,IAAAC,EAASD,EAAM,CAAC,EAChBE,EAAMF,EAAM,CAAC,EACbG,EAAS,CAACC,EAAAA,IAAIH,CAAM,EAAG,CAACI,MAAIJ,CAAM,EAAG,CAAC,EACtCK,EAAQ,EACRC,EAAU,EAEdX,EAAI,MAAM,EAED,QAAAY,EAAI,EAAGC,EAAIV,EAAQ,OAAQS,EAAIC,EAAG,EAAED,EAC3C,GAAME,GAAKC,EAAOZ,EAAQS,CAAC,GAAG,OAS9B,QARIG,EACAD,EACAE,EAASD,EAAKD,EAAI,CAAC,EACnBG,EAAUD,EAAO,CAAC,EAClBE,EAAOF,EAAO,CAAC,EAAI,EAAIG,EAAAA,UACvBC,EAAUZ,MAAIU,CAAI,EAClBG,EAAUZ,EAAA,IAAIS,CAAI,EAEbI,EAAI,EAAGA,EAAIR,EAAG,EAAEQ,EAAGL,EAAUM,EAASH,EAAUI,EAASH,EAAUI,EAAST,EAASU,EAAQ,CACpG,IAAIA,EAASX,EAAKO,CAAC,EACfC,EAAUG,EAAO,CAAC,EAClBC,EAAOD,EAAO,CAAC,EAAI,EAAIP,YACvBK,EAAUhB,EAAAA,IAAImB,CAAI,EAClBF,EAAUhB,EAAA,IAAIkB,CAAI,EAClBC,EAAQL,EAAUN,EAClBY,EAAOD,GAAS,EAAI,EAAI,GACxBE,EAAWD,EAAOD,EAClBG,EAAeD,EAAWE,EAAAA,GAC1BC,EAAIb,EAAUI,EAOlB,GALAxB,EAAI,IAAIkC,EAAAA,MAAMD,EAAIJ,EAAOrB,EAAAA,IAAIsB,CAAQ,EAAGT,EAAUI,EAAUQ,EAAIxB,EAAI,IAAAqB,CAAQ,CAAC,CAAC,EACrEpB,GAAAqB,EAAeH,EAAQC,EAAOM,EAAAA,IAAMP,EAIzCG,EAAed,GAAWZ,EAASkB,GAAWlB,EAAQ,CACxD,IAAI+B,EAAMC,EAAAA,eAAeC,EAAA,UAAUtB,CAAM,EAAGsB,EAAA,UAAUZ,CAAM,CAAC,EAC7Da,EAAA,0BAA0BH,CAAG,EACzB,IAAAI,EAAeH,EAAAA,eAAe9B,EAAQ6B,CAAG,EAC7CG,EAAA,0BAA0BC,CAAY,EAClC,IAAAC,GAAUV,EAAeH,GAAS,EAAI,GAAK,GAAKc,EAAA,KAAKF,EAAa,CAAC,CAAC,GACpElC,EAAMmC,GAAUnC,IAAQmC,IAAWL,EAAI,CAAC,GAAKA,EAAI,CAAC,MACzCzB,GAAAoB,EAAeH,GAAS,EAAI,EAAI,GAE/C,CACF,CAcM,OAAAlB,EAAQ,CAACiC,EAAAA,SAAWjC,EAAQiC,WAAW3C,EAAM,CAAC2C,EAAAA,SAAYhC,EAAU,CAC9E","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs183.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/attribution-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction AttributionControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.AttributionControl(props), {\n position: props.position\n });\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(AttributionControl);\n//# sourceMappingURL=attribution-control.js.map"],"names":["AttributionControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAmBC,EAAO,CACzB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,mBAAmBH,CAAK,EAAG,CAC1E,SAAUA,EAAM,QAAA,CACnB,EACDI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,WAAYD,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACeM,OAAKP,CAAkB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs231.js");e();
1
+ "use strict";const t=require("react"),c=require("./index.cjs222.js"),l=require("./index.cjs13.js");function r(e){const n=l(({mapLib:o})=>new o.FullscreenControl({container:e.containerId&&document.getElementById(e.containerId)}),{position:e.position});return t.useEffect(()=>{c.applyReactStyle(n._controlContainer,e.style)},[e.style]),null}t.memo(r);
2
2
  //# sourceMappingURL=index.cjs184.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs184.js","sources":["../../../node_modules/d3-geo/src/length.js"],"sourcesContent":["import adder from \"./adder\";\nimport {abs, atan2, cos, radians, sin, sqrt} from \"./math\";\nimport noop from \"./noop\";\nimport stream from \"./stream\";\n\nvar lengthSum = adder(),\n lambda0,\n sinPhi0,\n cosPhi0;\n\nvar lengthStream = {\n sphere: noop,\n point: noop,\n lineStart: lengthLineStart,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop\n};\n\nfunction lengthLineStart() {\n lengthStream.point = lengthPointFirst;\n lengthStream.lineEnd = lengthLineEnd;\n}\n\nfunction lengthLineEnd() {\n lengthStream.point = lengthStream.lineEnd = noop;\n}\n\nfunction lengthPointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n lambda0 = lambda, sinPhi0 = sin(phi), cosPhi0 = cos(phi);\n lengthStream.point = lengthPoint;\n}\n\nfunction lengthPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var sinPhi = sin(phi),\n cosPhi = cos(phi),\n delta = abs(lambda - lambda0),\n cosDelta = cos(delta),\n sinDelta = sin(delta),\n x = cosPhi * sinDelta,\n y = cosPhi0 * sinPhi - sinPhi0 * cosPhi * cosDelta,\n z = sinPhi0 * sinPhi + cosPhi0 * cosPhi * cosDelta;\n lengthSum.add(atan2(sqrt(x * x + y * y), z));\n lambda0 = lambda, sinPhi0 = sinPhi, cosPhi0 = cosPhi;\n}\n\nexport default function(object) {\n lengthSum.reset();\n stream(object, lengthStream);\n return +lengthSum;\n}\n"],"names":["adder"],"mappings":"kDAKgBA,EACZ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs184.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/fullscreen-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction FullscreenControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.FullscreenControl({\n container: props.containerId && document.getElementById(props.containerId)\n }), { position: props.position });\n useEffect(() => {\n applyReactStyle(ctrl._controlContainer, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(FullscreenControl);\n//# sourceMappingURL=fullscreen-control.js.map"],"names":["FullscreenControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAkBC,EAAO,CACxB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,kBAAkB,CACjE,UAAWH,EAAM,aAAe,SAAS,eAAeA,EAAM,WAAW,CAC5E,CAAA,EAAG,CAAE,SAAUA,EAAM,QAAU,CAAA,EAChCI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,kBAAmBD,EAAM,KAAK,CAAA,EACpD,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACeM,OAAKP,CAAiB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs231.js");e();e();
1
+ "use strict";const c=require("react"),d=require("./index.cjs222.js"),v=require("./index.cjs13.js");function _(n,u){const a=c.useRef({props:n}),l=v(({mapLib:s})=>{const r=new s.GeolocateControl(n),i=r._setupUI;return r._setupUI=t=>{r._container.hasChildNodes()||i(t)},r.on("geolocate",t=>{var e,o;(o=(e=a.current.props).onGeolocate)===null||o===void 0||o.call(e,t)}),r.on("error",t=>{var e,o;(o=(e=a.current.props).onError)===null||o===void 0||o.call(e,t)}),r.on("outofmaxbounds",t=>{var e,o;(o=(e=a.current.props).onOutOfMaxBounds)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationstart",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationStart)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationend",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationEnd)===null||o===void 0||o.call(e,t)}),r},{position:n.position});return a.current.props=n,c.useImperativeHandle(u,()=>l,[]),c.useEffect(()=>{d.applyReactStyle(l._container,n.style)},[n.style]),null}c.memo(c.forwardRef(_));
2
2
  //# sourceMappingURL=index.cjs185.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs185.js","sources":["../../../node_modules/d3-geo/src/path/area.js"],"sourcesContent":["import adder from \"../adder\";\nimport {abs} from \"../math\";\nimport noop from \"../noop\";\n\nvar areaSum = adder(),\n areaRingSum = adder(),\n x00,\n y00,\n x0,\n y0;\n\nvar areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function() {\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function() {\n areaStream.lineStart = areaStream.lineEnd = areaStream.point = noop;\n areaSum.add(abs(areaRingSum));\n areaRingSum.reset();\n },\n result: function() {\n var area = areaSum / 2;\n areaSum.reset();\n return area;\n }\n};\n\nfunction areaRingStart() {\n areaStream.point = areaPointFirst;\n}\n\nfunction areaPointFirst(x, y) {\n areaStream.point = areaPoint;\n x00 = x0 = x, y00 = y0 = y;\n}\n\nfunction areaPoint(x, y) {\n areaRingSum.add(y0 * x - x0 * y);\n x0 = x, y0 = y;\n}\n\nfunction areaRingEnd() {\n areaPoint(x00, y00);\n}\n\nexport default areaStream;\n"],"names":["adder"],"mappings":"kDAIcA,EACV,EAAcA,EACd","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs185.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/geolocate-control.js"],"sourcesContent":["import { useImperativeHandle, useRef, useEffect, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction GeolocateControl(props, ref) {\n const thisRef = useRef({ props });\n const ctrl = useControl(({ mapLib }) => {\n const gc = new mapLib.GeolocateControl(props);\n // Hack: fix GeolocateControl reuse\n // When using React strict mode, the component is mounted twice.\n // GeolocateControl's UI creation is asynchronous. Removing and adding it back causes the UI to be initialized twice.\n // @ts-expect-error private method\n const setupUI = gc._setupUI;\n // @ts-expect-error private method\n gc._setupUI = args => {\n if (!gc._container.hasChildNodes()) {\n setupUI(args);\n }\n };\n gc.on('geolocate', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onGeolocate) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('error', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onError) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('outofmaxbounds', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onOutOfMaxBounds) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationstart', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationStart) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationend', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationEnd) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n return gc;\n }, { position: props.position });\n thisRef.current.props = props;\n useImperativeHandle(ref, () => ctrl, []);\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(forwardRef(GeolocateControl));\n//# sourceMappingURL=geolocate-control.js.map"],"names":["GeolocateControl","props","ref","thisRef","useRef","ctrl","useControl","mapLib","gc","setupUI","args","e","_a","_b","useImperativeHandle","useEffect","applyReactStyle","memo","forwardRef"],"mappings":"mGAGA,SAASA,EAAiBC,EAAOC,EAAK,CAClC,MAAMC,EAAUC,EAAAA,OAAO,CAAE,MAAAH,CAAO,CAAA,EAC1BI,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,CACpC,MAAMC,EAAK,IAAID,EAAO,iBAAiBN,CAAK,EAKtCQ,EAAUD,EAAG,SAEnB,OAAAA,EAAG,SAAmBE,GAAA,CACbF,EAAG,WAAW,iBACfC,EAAQC,CAAI,CAChB,EAEDF,EAAA,GAAG,YAAkBG,GAAA,CACpB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,eAAiB,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CACrG,EACEH,EAAA,GAAG,QAAcG,GAAA,CAChB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,WAAa,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CACjG,EACEH,EAAA,GAAG,iBAAuBG,GAAA,CACzB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,oBAAsB,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAC1G,EACEH,EAAA,GAAG,yBAA+BG,GAAA,CACjC,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,4BAA8B,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAClH,EACEH,EAAA,GAAG,uBAA6BG,GAAA,CAC/B,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,0BAA4B,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAChH,EACMH,CACR,EAAA,CAAE,SAAUP,EAAM,QAAU,CAAA,EAC/B,OAAAE,EAAQ,QAAQ,MAAQF,EACxBa,EAAAA,oBAAoBZ,EAAK,IAAMG,EAAM,CAAE,CAAA,EACvCU,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAX,EAAK,WAAYJ,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACegB,EAAAA,KAAKC,EAAAA,WAAWlB,CAAgB,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs231.js");e();
1
+ "use strict";const e=require("react"),i=require("./index.cjs222.js"),c=require("./index.cjs13.js");function l(t){const n=c(({mapLib:o})=>new o.NavigationControl(t),{position:t.position});return e.useEffect(()=>{i.applyReactStyle(n._container,t.style)},[t.style]),null}e.memo(l);
2
2
  //# sourceMappingURL=index.cjs186.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs186.js","sources":["../../../node_modules/d3-geo/src/path/measure.js"],"sourcesContent":["import adder from \"../adder\";\nimport {sqrt} from \"../math\";\nimport noop from \"../noop\";\n\nvar lengthSum = adder(),\n lengthRing,\n x00,\n y00,\n x0,\n y0;\n\nvar lengthStream = {\n point: noop,\n lineStart: function() {\n lengthStream.point = lengthPointFirst;\n },\n lineEnd: function() {\n if (lengthRing) lengthPoint(x00, y00);\n lengthStream.point = noop;\n },\n polygonStart: function() {\n lengthRing = true;\n },\n polygonEnd: function() {\n lengthRing = null;\n },\n result: function() {\n var length = +lengthSum;\n lengthSum.reset();\n return length;\n }\n};\n\nfunction lengthPointFirst(x, y) {\n lengthStream.point = lengthPoint;\n x00 = x0 = x, y00 = y0 = y;\n}\n\nfunction lengthPoint(x, y) {\n x0 -= x, y0 -= y;\n lengthSum.add(sqrt(x0 * x0 + y0 * y0));\n x0 = x, y0 = y;\n}\n\nexport default lengthStream;\n"],"names":["adder"],"mappings":"kDAIgBA,EAAM","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs186.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/navigation-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction NavigationControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.NavigationControl(props), {\n position: props.position\n });\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(NavigationControl);\n//# sourceMappingURL=navigation-control.js.map"],"names":["NavigationControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAkBC,EAAO,CACxB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,kBAAkBH,CAAK,EAAG,CACzE,SAAUA,EAAM,QAAA,CACnB,EACDI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,WAAYD,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACeM,OAAKP,CAAiB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(t){return function(n){var r=new o;for(var e in t)r[e]=t[e];return r.stream=n,r}}function o(){}o.prototype={constructor:o,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};exports.transformer=i;
1
+ "use strict";const n=require("react"),a=require("./index.cjs222.js"),l=require("./index.cjs13.js");function r(t){const e=l(({mapLib:u})=>new u.ScaleControl(t),{position:t.position}),i=n.useRef(t),c=i.current;i.current=t;const{style:o}=t;return t.maxWidth!==void 0&&t.maxWidth!==c.maxWidth&&(e.options.maxWidth=t.maxWidth),t.unit!==void 0&&t.unit!==c.unit&&e.setUnit(t.unit),n.useEffect(()=>{a.applyReactStyle(e._container,o)},[o]),null}n.memo(r);
2
2
  //# sourceMappingURL=index.cjs187.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs187.js","sources":["../../../node_modules/d3-geo/src/transform.js"],"sourcesContent":["export default function(methods) {\n return {\n stream: transformer(methods)\n };\n}\n\nexport function transformer(methods) {\n return function(stream) {\n var s = new TransformStream;\n for (var key in methods) s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n}\n\nfunction TransformStream() {}\n\nTransformStream.prototype = {\n constructor: TransformStream,\n point: function(x, y) { this.stream.point(x, y); },\n sphere: function() { this.stream.sphere(); },\n lineStart: function() { this.stream.lineStart(); },\n lineEnd: function() { this.stream.lineEnd(); },\n polygonStart: function() { this.stream.polygonStart(); },\n polygonEnd: function() { this.stream.polygonEnd(); }\n};\n"],"names":["transformer","methods","stream","s","TransformStream","key","x","y"],"mappings":"gFAMO,SAASA,EAAYC,EAAS,CACnC,OAAO,SAASC,EAAQ,CACtB,IAAIC,EAAI,IAAIC,EACZ,QAASC,KAAOJ,EAAWE,EAAAE,CAAG,EAAIJ,EAAQI,CAAG,EAC7C,OAAAF,EAAE,OAASD,EACJC,CAAA,CAEX,CAEA,SAASC,GAAkB,CAAC,CAE5BA,EAAgB,UAAY,CAC1B,YAAaA,EACb,MAAO,SAASE,EAAGC,EAAG,CAAO,KAAA,OAAO,MAAMD,EAAGC,CAAC,CAAG,EACjD,OAAQ,UAAW,CAAE,KAAK,OAAO,QAAU,EAC3C,UAAW,UAAW,CAAE,KAAK,OAAO,WAAa,EACjD,QAAS,UAAW,CAAE,KAAK,OAAO,SAAW,EAC7C,aAAc,UAAW,CAAE,KAAK,OAAO,cAAgB,EACvD,WAAY,UAAW,CAAE,KAAK,OAAO,YAAc,CACrD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs187.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/scale-control.js"],"sourcesContent":["import { useEffect, useRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction ScaleControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.ScaleControl(props), {\n position: props.position\n });\n const propsRef = useRef(props);\n const prevProps = propsRef.current;\n propsRef.current = props;\n const { style } = props;\n if (props.maxWidth !== undefined && props.maxWidth !== prevProps.maxWidth) {\n ctrl.options.maxWidth = props.maxWidth;\n }\n if (props.unit !== undefined && props.unit !== prevProps.unit) {\n ctrl.setUnit(props.unit);\n }\n useEffect(() => {\n applyReactStyle(ctrl._container, style);\n }, [style]);\n return null;\n}\nexport default memo(ScaleControl);\n//# sourceMappingURL=scale-control.js.map"],"names":["ScaleControl","props","ctrl","useControl","mapLib","propsRef","useRef","prevProps","style","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAaC,EAAO,CACnB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,aAAaH,CAAK,EAAG,CACpE,SAAUA,EAAM,QAAA,CACnB,EACKI,EAAWC,SAAOL,CAAK,EACvBM,EAAYF,EAAS,QAC3BA,EAAS,QAAUJ,EACb,KAAA,CAAE,MAAAO,CAAU,EAAAP,EAClB,OAAIA,EAAM,WAAa,QAAaA,EAAM,WAAaM,EAAU,WACxDL,EAAA,QAAQ,SAAWD,EAAM,UAE9BA,EAAM,OAAS,QAAaA,EAAM,OAASM,EAAU,MAChDL,EAAA,QAAQD,EAAM,IAAI,EAE3BQ,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAR,EAAK,WAAYM,CAAK,CAAA,EACvC,CAACA,CAAK,CAAC,EACH,IACX,CACeG,OAAKX,CAAY","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs234.js"),a=require("./index.cjs240.js");require("./index.cjs183.js");require("./index.cjs182.js");require("./index.cjs181.js");require("./index.cjs187.js");var t=a.azimuthalRaw(function(r){return e.sqrt(2/(1+r))});t.invert=a.azimuthalInvert(function(r){return 2*e.asin(r/2)});exports.azimuthalEqualAreaRaw=t;
1
+ "use strict";const u=require("react"),m=require("./index.cjs180.js"),L=require("./index.cjs224.js"),s=require("./index.cjs223.js");function q(t,e,a,o){if(L(a.id===o.id,"layer id changed"),L(a.type===o.type,"layer type changed"),a.type==="custom"||o.type==="custom")return;const{layout:r={},paint:i={},filter:y,minzoom:f,maxzoom:l,beforeId:d}=a;if(d!==o.beforeId&&t.moveLayer(e,d),r!==o.layout){const c=o.layout||{};for(const n in r)s.deepEqual(r[n],c[n])||t.setLayoutProperty(e,n,r[n]);for(const n in c)r.hasOwnProperty(n)||t.setLayoutProperty(e,n,void 0)}if(i!==o.paint){const c=o.paint||{};for(const n in i)s.deepEqual(i[n],c[n])||t.setPaintProperty(e,n,i[n]);for(const n in c)i.hasOwnProperty(n)||t.setPaintProperty(e,n,void 0)}s.deepEqual(y,o.filter)||t.setFilter(e,y),(f!==o.minzoom||l!==o.maxzoom)&&t.setLayerZoomRange(e,f,l)}function g(t,e,a){if(t.style&&t.style._loaded&&(!("source"in a)||t.getSource(a.source))){const o={...a,id:e};delete o.beforeId,t.addLayer(o,a.beforeId)}}let x=0;function h(t){const e=u.useContext(m.MapContext).map.getMap(),a=u.useRef(t),[,o]=u.useState(0),r=u.useMemo(()=>t.id||`jsx-layer-${x++}`,[]);if(u.useEffect(()=>{if(e){const y=()=>o(f=>f+1);return e.on("styledata",y),y(),()=>{e.off("styledata",y),e.style&&e.style._loaded&&e.getLayer(r)&&e.removeLayer(r)}}},[e]),e&&e.style&&e.getLayer(r))try{q(e,r,t,a.current)}catch(y){console.warn(y)}else g(e,r,t);return a.current=t,null}module.exports=h;
2
2
  //# sourceMappingURL=index.cjs188.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs188.js","sources":["../../../node_modules/d3-geo/src/projection/azimuthalEqualArea.js"],"sourcesContent":["import {asin, sqrt} from \"../math\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal\";\nimport projection from \"./index\";\n\nexport var azimuthalEqualAreaRaw = azimuthalRaw(function(cxcy) {\n return sqrt(2 / (1 + cxcy));\n});\n\nazimuthalEqualAreaRaw.invert = azimuthalInvert(function(z) {\n return 2 * asin(z / 2);\n});\n\nexport default function() {\n return projection(azimuthalEqualAreaRaw)\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n}\n"],"names":["azimuthalEqualAreaRaw","azimuthalRaw","cxcy","sqrt","azimuthalInvert","z","asin"],"mappings":"wQAIW,IAAAA,EAAwBC,EAAAA,aAAa,SAASC,EAAM,CACtD,OAAAC,EAAA,KAAK,GAAK,EAAID,EAAK,CAC5B,CAAC,EAEDF,EAAsB,OAASI,kBAAgB,SAASC,EAAG,CAClD,MAAA,GAAIC,EAAAA,KAAKD,EAAI,CAAC,CACvB,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs188.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/layer.js"],"sourcesContent":["import { useContext, useEffect, useMemo, useState, useRef } from 'react';\nimport { MapContext } from './map';\nimport assert from '../utils/assert';\nimport { deepEqual } from '../utils/deep-equal';\n/* eslint-disable complexity, max-statements */\nfunction updateLayer(map, id, props, prevProps) {\n assert(props.id === prevProps.id, 'layer id changed');\n assert(props.type === prevProps.type, 'layer type changed');\n if (props.type === 'custom' || prevProps.type === 'custom') {\n return;\n }\n const { layout = {}, paint = {}, filter, minzoom, maxzoom, beforeId } = props;\n if (beforeId !== prevProps.beforeId) {\n map.moveLayer(id, beforeId);\n }\n if (layout !== prevProps.layout) {\n const prevLayout = prevProps.layout || {};\n for (const key in layout) {\n if (!deepEqual(layout[key], prevLayout[key])) {\n map.setLayoutProperty(id, key, layout[key]);\n }\n }\n for (const key in prevLayout) {\n if (!layout.hasOwnProperty(key)) {\n map.setLayoutProperty(id, key, undefined);\n }\n }\n }\n if (paint !== prevProps.paint) {\n const prevPaint = prevProps.paint || {};\n for (const key in paint) {\n if (!deepEqual(paint[key], prevPaint[key])) {\n map.setPaintProperty(id, key, paint[key]);\n }\n }\n for (const key in prevPaint) {\n if (!paint.hasOwnProperty(key)) {\n map.setPaintProperty(id, key, undefined);\n }\n }\n }\n if (!deepEqual(filter, prevProps.filter)) {\n map.setFilter(id, filter);\n }\n if (minzoom !== prevProps.minzoom || maxzoom !== prevProps.maxzoom) {\n map.setLayerZoomRange(id, minzoom, maxzoom);\n }\n}\nfunction createLayer(map, id, props) {\n // @ts-ignore\n if (map.style && map.style._loaded && (!('source' in props) || map.getSource(props.source))) {\n const options = { ...props, id };\n delete options.beforeId;\n // @ts-ignore\n map.addLayer(options, props.beforeId);\n }\n}\n/* eslint-enable complexity, max-statements */\nlet layerCounter = 0;\nfunction Layer(props) {\n const map = useContext(MapContext).map.getMap();\n const propsRef = useRef(props);\n const [, setStyleLoaded] = useState(0);\n const id = useMemo(() => props.id || `jsx-layer-${layerCounter++}`, []);\n useEffect(() => {\n if (map) {\n const forceUpdate = () => setStyleLoaded(version => version + 1);\n map.on('styledata', forceUpdate);\n forceUpdate();\n return () => {\n map.off('styledata', forceUpdate);\n // @ts-ignore\n if (map.style && map.style._loaded && map.getLayer(id)) {\n map.removeLayer(id);\n }\n };\n }\n return undefined;\n }, [map]);\n // @ts-ignore\n const layer = map && map.style && map.getLayer(id);\n if (layer) {\n try {\n updateLayer(map, id, props, propsRef.current);\n }\n catch (error) {\n console.warn(error); // eslint-disable-line\n }\n }\n else {\n createLayer(map, id, props);\n }\n // Store last rendered props\n propsRef.current = props;\n return null;\n}\nexport default Layer;\n//# sourceMappingURL=layer.js.map"],"names":["updateLayer","map","id","props","prevProps","assert","layout","paint","filter","minzoom","maxzoom","beforeId","prevLayout","key","deepEqual","prevPaint","createLayer","options","layerCounter","Layer","useContext","MapContext","propsRef","useRef","setStyleLoaded","useState","useMemo","useEffect","forceUpdate","version","error"],"mappings":"mIAKA,SAASA,EAAYC,EAAKC,EAAIC,EAAOC,EAAW,CAG5C,GAFAC,EAAOF,EAAM,KAAOC,EAAU,GAAI,kBAAkB,EACpDC,EAAOF,EAAM,OAASC,EAAU,KAAM,oBAAoB,EACtDD,EAAM,OAAS,UAAYC,EAAU,OAAS,SAC9C,OAEE,KAAA,CAAE,OAAAE,EAAS,GAAI,MAAAC,EAAQ,CAAC,EAAG,OAAAC,EAAQ,QAAAC,EAAS,QAAAC,EAAS,SAAAC,CAAa,EAAAR,EAIpE,GAHAQ,IAAaP,EAAU,UACnBH,EAAA,UAAUC,EAAIS,CAAQ,EAE1BL,IAAWF,EAAU,OAAQ,CACvB,MAAAQ,EAAaR,EAAU,QAAU,GACvC,UAAWS,KAAOP,EACTQ,YAAUR,EAAOO,CAAG,EAAGD,EAAWC,CAAG,CAAC,GACvCZ,EAAI,kBAAkBC,EAAIW,EAAKP,EAAOO,CAAG,CAAC,EAGlD,UAAWA,KAAOD,EACTN,EAAO,eAAeO,CAAG,GACtBZ,EAAA,kBAAkBC,EAAIW,EAAK,MAAS,CAGpD,CACI,GAAAN,IAAUH,EAAU,MAAO,CACrB,MAAAW,EAAYX,EAAU,OAAS,GACrC,UAAWS,KAAON,EACTO,YAAUP,EAAMM,CAAG,EAAGE,EAAUF,CAAG,CAAC,GACrCZ,EAAI,iBAAiBC,EAAIW,EAAKN,EAAMM,CAAG,CAAC,EAGhD,UAAWA,KAAOE,EACTR,EAAM,eAAeM,CAAG,GACrBZ,EAAA,iBAAiBC,EAAIW,EAAK,MAAS,CAGnD,CACKC,EAAAA,UAAUN,EAAQJ,EAAU,MAAM,GAC/BH,EAAA,UAAUC,EAAIM,CAAM,GAExBC,IAAYL,EAAU,SAAWM,IAAYN,EAAU,UACnDH,EAAA,kBAAkBC,EAAIO,EAASC,CAAO,CAElD,CACA,SAASM,EAAYf,EAAKC,EAAIC,EAAO,CAEjC,GAAIF,EAAI,OAASA,EAAI,MAAM,UAAY,EAAE,WAAYE,IAAUF,EAAI,UAAUE,EAAM,MAAM,GAAI,CACzF,MAAMc,EAAU,CAAE,GAAGd,EAAO,GAAAD,CAAG,EAC/B,OAAOe,EAAQ,SAEXhB,EAAA,SAASgB,EAASd,EAAM,QAAQ,CACxC,CACJ,CAEA,IAAIe,EAAe,EACnB,SAASC,EAAMhB,EAAO,CAClB,MAAMF,EAAMmB,EAAAA,WAAWC,EAAAA,UAAU,EAAE,IAAI,OAAO,EACxCC,EAAWC,SAAOpB,CAAK,EACvB,EAAGqB,CAAc,EAAIC,WAAS,CAAC,EAC/BvB,EAAKwB,EAAAA,QAAQ,IAAMvB,EAAM,IAAM,aAAae,GAAc,GAAI,CAAA,CAAE,EAkBtE,GAjBAS,EAAAA,UAAU,IAAM,CACZ,GAAI1B,EAAK,CACL,MAAM2B,EAAc,IAAMJ,EAAeK,GAAWA,EAAU,CAAC,EAC3D5B,OAAAA,EAAA,GAAG,YAAa2B,CAAW,EACnBA,IACL,IAAM,CACL3B,EAAA,IAAI,YAAa2B,CAAW,EAE5B3B,EAAI,OAASA,EAAI,MAAM,SAAWA,EAAI,SAASC,CAAE,GACjDD,EAAI,YAAYC,CAAE,CACtB,CAER,CACO,EACR,CAACD,CAAG,CAAC,EAEMA,GAAOA,EAAI,OAASA,EAAI,SAASC,CAAE,EAEzC,GAAA,CACAF,EAAYC,EAAKC,EAAIC,EAAOmB,EAAS,OAAO,QAEzCQ,EAAO,CACV,QAAQ,KAAKA,CAAK,CACtB,MAGYd,EAAAf,EAAKC,EAAIC,CAAK,EAG9B,OAAAmB,EAAS,QAAUnB,EACZ,IACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./index.cjs234.js"),i=require("./index.cjs240.js"),u=require("./index.cjs241.js");var e=i.azimuthalRaw(function(t){return(t=a.acos(t))&&t/a.sin(t)});e.invert=i.azimuthalInvert(function(t){return t});function n(){return u.default(e).scale(79.4188).clipAngle(180-.001)}exports.azimuthalEquidistantRaw=e;exports.default=n;
1
+ "use strict";const l=require("react"),f=require("./index.cjs180.js"),d=require("./index.cjs224.js"),y=require("./index.cjs223.js");function g(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const S=g(l);let m=0;function b(t,e,n){if(t.style&&t.style._loaded){const o={...n};return delete o.id,delete o.children,t.addSource(e,o),t.getSource(e)}return null}function h(t,e,n){d(e.id===n.id,"source id changed"),d(e.type===n.type,"source type changed");let o="",c=0;for(const r in e)r!=="children"&&r!=="id"&&!y.deepEqual(n[r],e[r])&&(o=r,c++);if(!c)return;const a=e.type;if(a==="geojson")t.setData(e.data);else if(a==="image")t.updateImage({url:e.url,coordinates:e.coordinates});else if("setCoordinates"in t&&c===1&&o==="coordinates")t.setCoordinates(e.coordinates);else if("setUrl"in t)switch(o){case"url":t.setUrl(e.url);break;case"tiles":t.setTiles(e.tiles);break}else console.warn(`Unable to update <Source> prop: ${o}`)}function C(t){const e=l.useContext(f.MapContext).map.getMap(),n=l.useRef(t),[,o]=l.useState(0),c=l.useMemo(()=>t.id||`jsx-source-${m++}`,[]);l.useEffect(()=>{if(e){const r=()=>setTimeout(()=>o(i=>i+1),0);return e.on("styledata",r),r(),()=>{var i;if(e.off("styledata",r),e.style&&e.style._loaded&&e.getSource(c)){const u=(i=e.getStyle())===null||i===void 0?void 0:i.layers;if(u)for(const s of u)s.source===c&&e.removeLayer(s.id);e.removeSource(c)}}}},[e]);let a=e&&e.style&&e.getSource(c);return a?h(a,t,n.current):a=b(e,c,t),n.current=t,a&&S.Children.map(t.children,r=>r&&l.cloneElement(r,{source:c}))||null}module.exports=C;
2
2
  //# sourceMappingURL=index.cjs189.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs189.js","sources":["../../../node_modules/d3-geo/src/projection/azimuthalEquidistant.js"],"sourcesContent":["import {acos, sin} from \"../math\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal\";\nimport projection from \"./index\";\n\nexport var azimuthalEquidistantRaw = azimuthalRaw(function(c) {\n return (c = acos(c)) && c / sin(c);\n});\n\nazimuthalEquidistantRaw.invert = azimuthalInvert(function(z) {\n return z;\n});\n\nexport default function() {\n return projection(azimuthalEquidistantRaw)\n .scale(79.4188)\n .clipAngle(180 - 1e-3);\n}\n"],"names":["azimuthalEquidistantRaw","azimuthalRaw","c","acos","sin","azimuthalInvert","z","geoAzimuthalEquidistant","projection"],"mappings":"+MAIW,IAAAA,EAA0BC,EAAAA,aAAa,SAASC,EAAG,CAC5D,OAAQA,EAAIC,OAAKD,CAAC,IAAMA,EAAIE,EAAAA,IAAIF,CAAC,CACnC,CAAC,EAEDF,EAAwB,OAASK,kBAAgB,SAASC,EAAG,CACpD,OAAAA,CACT,CAAC,EAEyB,SAAAC,GAAA,CACjB,OAAAC,EAAA,QAAWR,CAAuB,EACpC,MAAM,OAAO,EACb,UAAU,IAAM,IAAI,CAC3B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs189.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/source.js"],"sourcesContent":["import * as React from 'react';\nimport { useContext, useEffect, useMemo, useState, useRef } from 'react';\nimport { cloneElement } from 'react';\nimport { MapContext } from './map';\nimport assert from '../utils/assert';\nimport { deepEqual } from '../utils/deep-equal';\nlet sourceCounter = 0;\nfunction createSource(map, id, props) {\n // @ts-ignore\n if (map.style && map.style._loaded) {\n const options = { ...props };\n delete options.id;\n delete options.children;\n // @ts-ignore\n map.addSource(id, options);\n return map.getSource(id);\n }\n return null;\n}\n/* eslint-disable complexity */\nfunction updateSource(source, props, prevProps) {\n assert(props.id === prevProps.id, 'source id changed');\n assert(props.type === prevProps.type, 'source type changed');\n let changedKey = '';\n let changedKeyCount = 0;\n for (const key in props) {\n if (key !== 'children' && key !== 'id' && !deepEqual(prevProps[key], props[key])) {\n changedKey = key;\n changedKeyCount++;\n }\n }\n if (!changedKeyCount) {\n return;\n }\n const type = props.type;\n if (type === 'geojson') {\n source.setData(props.data);\n }\n else if (type === 'image') {\n source.updateImage({\n url: props.url,\n coordinates: props.coordinates\n });\n }\n else if ('setCoordinates' in source && changedKeyCount === 1 && changedKey === 'coordinates') {\n source.setCoordinates(props.coordinates);\n }\n else if ('setUrl' in source) {\n // Added in 1.12.0:\n // vectorTileSource.setTiles\n // vectorTileSource.setUrl\n switch (changedKey) {\n case 'url':\n source.setUrl(props.url);\n break;\n case 'tiles':\n source.setTiles(props.tiles);\n break;\n default:\n }\n }\n else {\n // eslint-disable-next-line\n console.warn(`Unable to update <Source> prop: ${changedKey}`);\n }\n}\n/* eslint-enable complexity */\nfunction Source(props) {\n const map = useContext(MapContext).map.getMap();\n const propsRef = useRef(props);\n const [, setStyleLoaded] = useState(0);\n const id = useMemo(() => props.id || `jsx-source-${sourceCounter++}`, []);\n useEffect(() => {\n if (map) {\n /* global setTimeout */\n const forceUpdate = () => setTimeout(() => setStyleLoaded(version => version + 1), 0);\n map.on('styledata', forceUpdate);\n forceUpdate();\n return () => {\n var _a;\n map.off('styledata', forceUpdate);\n // @ts-ignore\n if (map.style && map.style._loaded && map.getSource(id)) {\n // Parent effects are destroyed before child ones, see\n // https://github.com/facebook/react/issues/16728\n // Source can only be removed after all child layers are removed\n const allLayers = (_a = map.getStyle()) === null || _a === void 0 ? void 0 : _a.layers;\n if (allLayers) {\n for (const layer of allLayers) {\n // @ts-ignore (2339) source does not exist on all layer types\n if (layer.source === id) {\n map.removeLayer(layer.id);\n }\n }\n }\n map.removeSource(id);\n }\n };\n }\n return undefined;\n }, [map]);\n // @ts-ignore\n let source = map && map.style && map.getSource(id);\n if (source) {\n updateSource(source, props, propsRef.current);\n }\n else {\n source = createSource(map, id, props);\n }\n propsRef.current = props;\n return ((source &&\n React.Children.map(props.children, child => child &&\n cloneElement(child, {\n source: id\n }))) ||\n null);\n}\nexport default Source;\n//# sourceMappingURL=source.js.map"],"names":["sourceCounter","createSource","map","id","props","options","updateSource","source","prevProps","assert","changedKey","changedKeyCount","key","deepEqual","type","Source","useContext","MapContext","propsRef","useRef","setStyleLoaded","useState","useMemo","useEffect","forceUpdate","version","_a","allLayers","layer","React","child","cloneElement"],"mappings":"6ZAMA,IAAIA,EAAgB,EACpB,SAASC,EAAaC,EAAKC,EAAIC,EAAO,CAElC,GAAIF,EAAI,OAASA,EAAI,MAAM,QAAS,CAC1B,MAAAG,EAAU,CAAE,GAAGD,GACrB,cAAOC,EAAQ,GACf,OAAOA,EAAQ,SAEXH,EAAA,UAAUC,EAAIE,CAAO,EAClBH,EAAI,UAAUC,CAAE,CAC3B,CACO,OAAA,IACX,CAEA,SAASG,EAAaC,EAAQH,EAAOI,EAAW,CAC5CC,EAAOL,EAAM,KAAOI,EAAU,GAAI,mBAAmB,EACrDC,EAAOL,EAAM,OAASI,EAAU,KAAM,qBAAqB,EAC3D,IAAIE,EAAa,GACbC,EAAkB,EACtB,UAAWC,KAAOR,EACVQ,IAAQ,YAAcA,IAAQ,MAAQ,CAACC,EAAAA,UAAUL,EAAUI,CAAG,EAAGR,EAAMQ,CAAG,CAAC,IAC9DF,EAAAE,EACbD,KAGR,GAAI,CAACA,EACD,OAEJ,MAAMG,EAAOV,EAAM,KACnB,GAAIU,IAAS,UACFP,EAAA,QAAQH,EAAM,IAAI,UAEpBU,IAAS,QACdP,EAAO,YAAY,CACf,IAAKH,EAAM,IACX,YAAaA,EAAM,WAAA,CACtB,UAEI,mBAAoBG,GAAUI,IAAoB,GAAKD,IAAe,cACpEH,EAAA,eAAeH,EAAM,WAAW,UAElC,WAAYG,EAIjB,OAAQG,EAAY,CAChB,IAAK,MACMH,EAAA,OAAOH,EAAM,GAAG,EACvB,MACJ,IAAK,QACMG,EAAA,SAASH,EAAM,KAAK,EAC3B,KAER,MAIQ,QAAA,KAAK,mCAAmCM,CAAU,EAAE,CAEpE,CAEA,SAASK,EAAOX,EAAO,CACnB,MAAMF,EAAMc,EAAAA,WAAWC,EAAAA,UAAU,EAAE,IAAI,OAAO,EACxCC,EAAWC,SAAOf,CAAK,EACvB,EAAGgB,CAAc,EAAIC,WAAS,CAAC,EAC/BlB,EAAKmB,EAAAA,QAAQ,IAAMlB,EAAM,IAAM,cAAcJ,GAAe,GAAI,CAAA,CAAE,EACxEuB,EAAAA,UAAU,IAAM,CACZ,GAAIrB,EAAK,CAEC,MAAAsB,EAAc,IAAM,WAAW,IAAMJ,EAA0BK,GAAAA,EAAU,CAAC,EAAG,CAAC,EAChFvB,OAAAA,EAAA,GAAG,YAAasB,CAAW,EACnBA,IACL,IAAM,CACL,IAAAE,EAGA,GAFAxB,EAAA,IAAI,YAAasB,CAAW,EAE5BtB,EAAI,OAASA,EAAI,MAAM,SAAWA,EAAI,UAAUC,CAAE,EAAG,CAI/C,MAAAwB,GAAaD,EAAKxB,EAAI,SAAA,KAAgB,MAAQwB,IAAO,OAAS,OAASA,EAAG,OAChF,GAAIC,EACA,UAAWC,KAASD,EAEZC,EAAM,SAAWzB,GACbD,EAAA,YAAY0B,EAAM,EAAE,EAIpC1B,EAAI,aAAaC,CAAE,CACvB,CAAA,CAER,CACO,EACR,CAACD,CAAG,CAAC,EAER,IAAIK,EAASL,GAAOA,EAAI,OAASA,EAAI,UAAUC,CAAE,EACjD,OAAII,EACaD,EAAAC,EAAQH,EAAOc,EAAS,OAAO,EAGnCX,EAAAN,EAAaC,EAAKC,EAAIC,CAAK,EAExCc,EAAS,QAAUd,EACVG,GACLsB,EAAM,SAAS,IAAIzB,EAAM,SAAU0B,GAASA,GACxCC,EAAAA,aAAaD,EAAO,CAChB,OAAQ3B,CAAA,CACX,CAAC,GACN,IACR","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index.cjs183.js");require("./index.cjs182.js");require("./index.cjs181.js");require("./index.cjs187.js");function e(r,u){return[r,u]}e.invert=e;exports.equirectangularRaw=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");require("./index.cjs180.js");function c(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const a=c(r),u=a.createContext(null);exports.MountedMapsContext=u;
2
2
  //# sourceMappingURL=index.cjs190.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs190.js","sources":["../../../node_modules/d3-geo/src/projection/equirectangular.js"],"sourcesContent":["import projection from \"./index\";\n\nexport function equirectangularRaw(lambda, phi) {\n return [lambda, phi];\n}\n\nequirectangularRaw.invert = equirectangularRaw;\n\nexport default function() {\n return projection(equirectangularRaw)\n .scale(152.63);\n}\n"],"names":["equirectangularRaw","lambda","phi"],"mappings":"oMAEgB,SAAAA,EAAmBC,EAAQC,EAAK,CACvC,MAAA,CAACD,EAAQC,CAAG,CACrB,CAEAF,EAAmB,OAASA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs190.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/use-map.js"],"sourcesContent":["import * as React from 'react';\nimport { useState, useCallback, useMemo, useContext } from 'react';\nimport { MapContext } from './map';\nexport const MountedMapsContext = React.createContext(null);\nexport const MapProvider = props => {\n const [maps, setMaps] = useState({});\n const onMapMount = useCallback((map, id = 'default') => {\n setMaps(currMaps => {\n if (id === 'current') {\n throw new Error(\"'current' cannot be used as map id\");\n }\n if (currMaps[id]) {\n throw new Error(`Multiple maps with the same id: ${id}`);\n }\n return { ...currMaps, [id]: map };\n });\n }, []);\n const onMapUnmount = useCallback((id = 'default') => {\n setMaps(currMaps => {\n if (currMaps[id]) {\n const nextMaps = { ...currMaps };\n delete nextMaps[id];\n return nextMaps;\n }\n return currMaps;\n });\n }, []);\n return (React.createElement(MountedMapsContext.Provider, { value: {\n maps,\n onMapMount,\n onMapUnmount\n } }, props.children));\n};\nexport function useMap() {\n var _a;\n const maps = (_a = useContext(MountedMapsContext)) === null || _a === void 0 ? void 0 : _a.maps;\n const currentMap = useContext(MapContext);\n const mapsWithCurrent = useMemo(() => {\n return { ...maps, current: currentMap === null || currentMap === void 0 ? void 0 : currentMap.map };\n }, [maps, currentMap]);\n return mapsWithCurrent;\n}\n//# sourceMappingURL=use-map.js.map"],"names":["MountedMapsContext","React"],"mappings":"gaAGaA,EAAqBC,EAAM,cAAc,IAAI","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs226.js"),t=require("./index.cjs195.js"),r=e(t);module.exports=r;
1
+ "use strict";const e=require("./index.cjs228.js"),t=require("./index.cjs195.js"),r=e(t);module.exports=r;
2
2
  //# sourceMappingURL=index.cjs193.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs194.js"),i=require("./index.cjs19.js"),h=require("./index.cjs99.js");function d(t){var f=s(t);return function(e){if(e==null)return!1;var l=h(e);if(s(l))return!1;for(var r=0;r<f;r++)if(!i(e[t[r]]))return!1;return t!==u||!i(e[a])}}var a="forEach",o="has",n=["clear","delete"],c=["get",o,"set"],M=n.concat(a,c),u=n.concat(c),g=["add"].concat(n,a,o);exports.ie11fingerprint=d;exports.mapMethods=M;exports.setMethods=g;exports.weakMapMethods=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs194.js"),i=require("./index.cjs19.js"),h=require("./index.cjs87.js");function d(t){var f=s(t);return function(e){if(e==null)return!1;var l=h(e);if(s(l))return!1;for(var r=0;r<f;r++)if(!i(e[t[r]]))return!1;return t!==u||!i(e[a])}}var a="forEach",o="has",n=["clear","delete"],c=["get",o,"set"],M=n.concat(a,c),u=n.concat(c),g=["add"].concat(n,a,o);exports.ie11fingerprint=d;exports.mapMethods=M;exports.setMethods=g;exports.weakMapMethods=u;
2
2
  //# sourceMappingURL=index.cjs197.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs18.js"),e=require("./index.cjs228.js");var t=a.supportsDataView&&e(new DataView(new ArrayBuffer(8))),r=typeof Map<"u"&&e(new Map);exports.hasStringTagBug=t;exports.isIE11=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs18.js"),e=require("./index.cjs226.js");var t=a.supportsDataView&&e(new DataView(new ArrayBuffer(8))),r=typeof Map<"u"&&e(new Map);exports.hasStringTagBug=t;exports.isIE11=r;
2
2
  //# sourceMappingURL=index.cjs20.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const u=require("./index.cjs77.js"),t=require("./index.cjs18.js");function i(){return function(){}}function s(e){if(!u(e))return{};if(t.nativeCreate)return t.nativeCreate(e);var r=i();r.prototype=e;var n=new r;return r.prototype=null,n}module.exports=s;
1
+ "use strict";const u=require("./index.cjs65.js"),t=require("./index.cjs18.js");function i(){return function(){}}function s(e){if(!u(e))return{};if(t.nativeCreate)return t.nativeCreate(e);var r=i();r.prototype=e;var n=new r;return r.prototype=null,n}module.exports=s;
2
2
  //# sourceMappingURL=index.cjs200.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("./index.cjs98.js");function n(r){var t=function(e){return r[e]},c="(?:"+p(r).join("|")+")",u=RegExp(c),a=RegExp(c,"g");return function(e){return e=e==null?"":""+e,u.test(e)?e.replace(a,t):e}}module.exports=n;
1
+ "use strict";const p=require("./index.cjs86.js");function n(r){var t=function(e){return r[e]},c="(?:"+p(r).join("|")+")",u=RegExp(c),a=RegExp(c,"g");return function(e){return e=e==null?"":""+e,u.test(e)?e.replace(a,t):e}}module.exports=n;
2
2
  //# sourceMappingURL=index.cjs205.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs102.js"),s=require("./index.cjs206.js"),r=e(s);module.exports=r;
1
+ "use strict";const e=require("./index.cjs90.js"),s=require("./index.cjs206.js"),r=e(s);module.exports=r;
2
2
  //# sourceMappingURL=index.cjs207.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs207.js","sources":["../../../node_modules/underscore/modules/_unescapeMap.js"],"sourcesContent":["import invert from './invert.js';\nimport escapeMap from './_escapeMap.js';\n\n// Internal list of HTML entities for unescaping.\nexport default invert(escapeMap);\n"],"names":["unescapeMap","invert","escapeMap"],"mappings":"iFAIeA,EAAAC,EAAOC,CAAS","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs207.js","sources":["../../../node_modules/underscore/modules/_unescapeMap.js"],"sourcesContent":["import invert from './invert.js';\nimport escapeMap from './_escapeMap.js';\n\n// Internal list of HTML entities for unescaping.\nexport default invert(escapeMap);\n"],"names":["unescapeMap","invert","escapeMap"],"mappings":"gFAIeA,EAAAC,EAAOC,CAAS","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs113.js"),n=require("./index.cjs19.js"),s=require("./index.cjs77.js"),c=require("./index.cjs90.js"),o=require("./index.cjs118.js"),u=require("./index.cjs116.js"),q=require("./index.cjs204.js");function f(r,t,e){return r==null?i:n(r)?q(r,t,e):s(r)&&!c(r)?o(r):u(r)}module.exports=f;
1
+ "use strict";const i=require("./index.cjs101.js"),n=require("./index.cjs19.js"),s=require("./index.cjs65.js"),c=require("./index.cjs78.js"),o=require("./index.cjs106.js"),u=require("./index.cjs104.js"),q=require("./index.cjs204.js");function f(r,t,e){return r==null?i:n(r)?q(r,t,e):s(r)&&!c(r)?o(r):u(r)}module.exports=f;
2
2
  //# sourceMappingURL=index.cjs208.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("./index.cjs200.js"),o=require("./index.cjs77.js");function u(e,n,p,s,t){if(!(s instanceof n))return e.apply(p,t);var r=a(e.prototype),i=e.apply(r,t);return o(i)?i:r}module.exports=u;
1
+ "use strict";const a=require("./index.cjs200.js"),o=require("./index.cjs65.js");function u(e,n,p,s,t){if(!(s instanceof n))return e.apply(p,t);var r=a(e.prototype),i=e.apply(r,t);return o(i)?i:r}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs209.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("./index.cjs194.js"),l=require("./index.cjs213.js"),x=require("./index.cjs90.js"),L=require("./index.cjs21.js");function q(i,n,c,r){if(r=r||[],!n&&n!==0)n=1/0;else if(n<=0)return r.concat(i);for(var s=r.length,f=0,y=a(i);f<y;f++){var e=i[f];if(l(e)&&(x(e)||L(e)))if(n>1)q(e,n-1,c,r),s=r.length;else for(var g=0,A=e.length;g<A;)r[s++]=e[g++];else c||(r[s++]=e)}return r}module.exports=q;
1
+ "use strict";const a=require("./index.cjs194.js"),l=require("./index.cjs213.js"),x=require("./index.cjs78.js"),L=require("./index.cjs21.js");function q(i,n,c,r){if(r=r||[],!n&&n!==0)n=1/0;else if(n<=0)return r.concat(i);for(var s=r.length,f=0,y=a(i);f<y;f++){var e=i[f];if(l(e)&&(x(e)||L(e)))if(n>1)q(e,n-1,c,r),s=r.length;else for(var g=0,A=e.length;g<A;)r[s++]=e[g++];else c||(r[s++]=e)}return r}module.exports=q;
2
2
  //# sourceMappingURL=index.cjs210.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const o=require("./index.cjs194.js"),l=require("./index.cjs18.js"),h=require("./index.cjs92.js");function g(s,f,c){return function(t,u,e){var r=0,n=o(t);if(typeof e=="number")s>0?r=e>=0?e:Math.max(e+n,r):n=e>=0?Math.min(e+1,n):e+n+1;else if(c&&e&&n)return e=c(t,u),t[e]===u?e:-1;if(u!==u)return e=f(l.slice.call(t,r,n),h),e>=0?e+r:-1;for(e=s>0?r:n-1;e>=0&&e<n;e+=s)if(t[e]===u)return e;return-1}}module.exports=g;
1
+ "use strict";const o=require("./index.cjs194.js"),l=require("./index.cjs18.js"),h=require("./index.cjs80.js");function g(s,f,c){return function(t,u,e){var r=0,n=o(t);if(typeof e=="number")s>0?r=e>=0?e:Math.max(e+n,r):n=e>=0?Math.min(e+1,n):e+n+1;else if(c&&e&&n)return e=c(t,u),t[e]===u?e:-1;if(u!==u)return e=f(l.slice.call(t,r,n),h),e>=0?e+r:-1;for(e=s>0?r:n-1;e>=0&&e<n;e+=s)if(t[e]===u)return e;return-1}}module.exports=g;
2
2
  //# sourceMappingURL=index.cjs212.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs226.js"),r=require("./index.cjs194.js"),t=e(r);module.exports=t;
1
+ "use strict";const e=require("./index.cjs228.js"),r=require("./index.cjs194.js"),t=e(r);module.exports=t;
2
2
  //# sourceMappingURL=index.cjs213.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const g=require("./index.cjs213.js"),l=require("./index.cjs98.js"),v=require("./index.cjs204.js");function h(i){var f=function(e,u,n,s){var t=!g(e)&&l(e),c=(t||e).length,r=i>0?0:c-1;for(s||(n=e[t?t[r]:r],r+=i);r>=0&&r<c;r+=i){var a=t?t[r]:r;n=u(n,e[a],a,e)}return n};return function(e,u,n,s){var t=arguments.length>=3;return f(e,v(u,s,4),n,t)}}module.exports=h;
1
+ "use strict";const g=require("./index.cjs213.js"),l=require("./index.cjs86.js"),v=require("./index.cjs204.js");function h(i){var f=function(e,u,n,s){var t=!g(e)&&l(e),c=(t||e).length,r=i>0?0:c-1;for(s||(n=e[t?t[r]:r],r+=i);r>=0&&r<c;r+=i){var a=t?t[r]:r;n=u(n,e[a],a,e)}return n};return function(e,u,n,s){var t=arguments.length>=3;return f(e,v(u,s,4),n,t)}}module.exports=h;
2
2
  //# sourceMappingURL=index.cjs214.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const f=require("./index.cjs203.js"),p=require("./index.cjs142.js");function q(t,o){return function(n,r,s){var u=o?[[],[]]:{};return r=f(r,s),p(n,function(c,e){var i=r(c,e,n);t(u,c,i)}),u}}module.exports=q;
1
+ "use strict";const f=require("./index.cjs203.js"),p=require("./index.cjs130.js");function q(t,o){return function(n,r,s){var u=o?[[],[]]:{};return r=f(r,s),p(n,function(c,e){var i=r(c,e,n);t(u,c,i)}),u}}module.exports=q;
2
2
  //# sourceMappingURL=index.cjs215.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const d=require("./index.cjs229.js"),p=require("./index.cjs230.js"),u=require("./index.cjs223.js"),_={version:8,sources:{},layers:[]},v={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},f={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},g={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},y=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],S=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class m{constructor(e,o,n){this._map=null,this._internalUpdate=!1,this._inRender=!1,this._hoveredFeatures=null,this._deferredEvents={move:!1,zoom:!1,pitch:!1,rotate:!1},this._onEvent=t=>{const r=this.props[g[t.type]];r?r(t):t.type==="error"&&console.error(t.error)},this._onPointerEvent=t=>{(t.type==="mousemove"||t.type==="mouseout")&&this._updateHover(t);const r=this.props[v[t.type]];r&&(this.props.interactiveLayerIds&&t.type!=="mouseover"&&t.type!=="mouseout"&&(t.features=this._hoveredFeatures||this._queryRenderedFeatures(t.point)),r(t),delete t.features)},this._onCameraEvent=t=>{if(!this._internalUpdate){const r=this.props[f[t.type]];r&&r(t)}t.type in this._deferredEvents&&(this._deferredEvents[t.type]=!1)},this._MapClass=e,this.props=o,this._initialize(n)}get map(){return this._map}get transform(){return this._renderTransform}setProps(e){const o=this.props;this.props=e;const n=this._updateSettings(e,o);n&&this._createShadowTransform(this._map);const t=this._updateSize(e),r=this._updateViewState(e,!0);this._updateStyle(e,o),this._updateStyleComponents(e,o),this._updateHandlers(e,o),(n||t||r&&!this._map.isMoving())&&this.redraw()}static reuse(e,o){const n=m.savedMaps.pop();if(!n)return null;const t=n.map,r=t.getContainer();for(o.className=r.className;r.childNodes.length>0;)o.appendChild(r.childNodes[0]);t._container=o;const s=t._resizeObserver;s&&(s.disconnect(),s.observe(o)),n.setProps({...e,styleDiffing:!1}),t.resize();const{initialViewState:i}=e;return i&&(i.bounds?t.fitBounds(i.bounds,{...i.fitBoundsOptions,duration:0}):n._updateViewState(i,!1)),t.isStyleLoaded()?t.fire("load"):t.once("styledata",()=>t.fire("load")),t._update(),n}_initialize(e){const{props:o}=this,{mapStyle:n=_}=o,t={...o,...o.initialViewState,accessToken:o.mapboxAccessToken||E()||null,container:e,style:p.normalizeStyle(n)},r=t.initialViewState||t.viewState||t;if(Object.assign(t,{center:[r.longitude||0,r.latitude||0],zoom:r.zoom||0,pitch:r.pitch||0,bearing:r.bearing||0}),o.gl){const a=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=a,o.gl)}const s=new this._MapClass(t);r.padding&&s.setPadding(r.padding),o.cursor&&(s.getCanvas().style.cursor=o.cursor),this._createShadowTransform(s);const i=s._render;s._render=a=>{this._inRender=!0,i.call(s,a),this._inRender=!1};const c=s._renderTaskQueue.run;s._renderTaskQueue.run=a=>{c.call(s._renderTaskQueue,a),this._onBeforeRepaint()},s.on("render",()=>this._onAfterRepaint());const h=s.fire;s.fire=this._fireEvent.bind(this,h),s.on("resize",()=>{this._renderTransform.resize(s.transform.width,s.transform.height)}),s.on("styledata",()=>{this._updateStyleComponents(this.props,{}),d.syncProjection(s.transform,this._renderTransform)}),s.on("sourcedata",()=>this._updateStyleComponents(this.props,{}));for(const a in v)s.on(a,this._onPointerEvent);for(const a in f)s.on(a,this._onCameraEvent);for(const a in g)s.on(a,this._onEvent);this._map=s}recycle(){const o=this.map.getContainer().querySelector("[mapboxgl-children]");o==null||o.remove(),m.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){const e=this._map;!this._inRender&&e.style&&(e._frame&&(e._frame.cancel(),e._frame=null),e._render())}_createShadowTransform(e){const o=d.cloneTransform(e.transform);e.painter.transform=o,this._renderTransform=o}_updateSize(e){const{viewState:o}=e;if(o){const n=this._map;if(o.width!==n.transform.width||o.height!==n.transform.height)return n.resize(),!0}return!1}_updateViewState(e,o){if(this._internalUpdate)return!1;const n=this._map,t=this._renderTransform,{zoom:r,pitch:s,bearing:i}=t,c=n.isMoving();c&&(t.cameraElevationReference="sea");const h=d.applyViewStateToTransform(t,{...d.transformToViewState(n.transform),...e});if(c&&(t.cameraElevationReference="ground"),h&&o){const a=this._deferredEvents;a.move=!0,a.zoom||(a.zoom=r!==t.zoom),a.rotate||(a.rotate=i!==t.bearing),a.pitch||(a.pitch=s!==t.pitch)}return c||d.applyViewStateToTransform(n.transform,e),h}_updateSettings(e,o){const n=this._map;let t=!1;for(const r of y)if(r in e&&!u.deepEqual(e[r],o[r])){t=!0;const s=n[`set${r[0].toUpperCase()}${r.slice(1)}`];s==null||s.call(n,e[r])}return t}_updateStyle(e,o){if(e.cursor!==o.cursor&&(this._map.getCanvas().style.cursor=e.cursor||""),e.mapStyle!==o.mapStyle){const{mapStyle:n=_,styleDiffing:t=!0}=e,r={diff:t};return"localIdeographFontFamily"in e&&(r.localIdeographFontFamily=e.localIdeographFontFamily),this._map.setStyle(p.normalizeStyle(n),r),!0}return!1}_updateStyleComponents(e,o){const n=this._map;let t=!1;return n.isStyleLoaded()&&("light"in e&&n.setLight&&!u.deepEqual(e.light,o.light)&&(t=!0,n.setLight(e.light)),"fog"in e&&n.setFog&&!u.deepEqual(e.fog,o.fog)&&(t=!0,n.setFog(e.fog)),"terrain"in e&&n.setTerrain&&!u.deepEqual(e.terrain,o.terrain)&&(!e.terrain||n.getSource(e.terrain.source))&&(t=!0,n.setTerrain(e.terrain))),t}_updateHandlers(e,o){var n,t;const r=this._map;let s=!1;for(const i of S){const c=(n=e[i])!==null&&n!==void 0?n:!0,h=(t=o[i])!==null&&t!==void 0?t:!0;u.deepEqual(c,h)||(s=!0,c?r[i].enable(c):r[i].disable())}return s}_queryRenderedFeatures(e){const o=this._map,n=o.transform,{interactiveLayerIds:t=[]}=this.props;try{return o.transform=this._renderTransform,o.queryRenderedFeatures(e,{layers:t.filter(o.getLayer.bind(o))})}catch{return[]}finally{o.transform=n}}_updateHover(e){var o;const{props:n}=this;if(n.interactiveLayerIds&&(n.onMouseMove||n.onMouseEnter||n.onMouseLeave)){const r=e.type,s=((o=this._hoveredFeatures)===null||o===void 0?void 0:o.length)>0,i=this._queryRenderedFeatures(e.point),c=i.length>0;!c&&s&&(e.type="mouseleave",this._onPointerEvent(e)),this._hoveredFeatures=i,c&&!s&&(e.type="mouseenter",this._onPointerEvent(e)),e.type=r}else this._hoveredFeatures=null}_fireEvent(e,o,n){const t=this._map,r=t.transform,s=typeof o=="string"?o:o.type;return s==="move"&&this._updateViewState(this.props,!1),s in f&&(typeof o=="object"&&(o.viewState=d.transformToViewState(r)),this._map.isMoving())?(t.transform=this._renderTransform,e.call(t,o,n),t.transform=r,t):(e.call(t,o,n),t)}_onBeforeRepaint(){const e=this._map;this._internalUpdate=!0;for(const n in this._deferredEvents)this._deferredEvents[n]&&e.fire(n);this._internalUpdate=!1;const o=this._map.transform;e.transform=this._renderTransform,this._onAfterRepaint=()=>{d.syncProjection(this._renderTransform,o),e.transform=o}}}m.savedMaps=[];function E(){let l=null;if(typeof location<"u"){const e=/access_token=([^&\/]*)/.exec(location.search);l=e&&e[1]}try{l=l||process.env.MapboxAccessToken}catch{}try{l=l||process.env.REACT_APP_MAPBOX_ACCESS_TOKEN}catch{}return l}module.exports=m;
1
+ "use strict";const d=require("./index.cjs247.js"),p=require("./index.cjs248.js"),u=require("./index.cjs223.js"),_={version:8,sources:{},layers:[]},v={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},f={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},g={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},y=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],S=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class m{constructor(e,o,n){this._map=null,this._internalUpdate=!1,this._inRender=!1,this._hoveredFeatures=null,this._deferredEvents={move:!1,zoom:!1,pitch:!1,rotate:!1},this._onEvent=t=>{const r=this.props[g[t.type]];r?r(t):t.type==="error"&&console.error(t.error)},this._onPointerEvent=t=>{(t.type==="mousemove"||t.type==="mouseout")&&this._updateHover(t);const r=this.props[v[t.type]];r&&(this.props.interactiveLayerIds&&t.type!=="mouseover"&&t.type!=="mouseout"&&(t.features=this._hoveredFeatures||this._queryRenderedFeatures(t.point)),r(t),delete t.features)},this._onCameraEvent=t=>{if(!this._internalUpdate){const r=this.props[f[t.type]];r&&r(t)}t.type in this._deferredEvents&&(this._deferredEvents[t.type]=!1)},this._MapClass=e,this.props=o,this._initialize(n)}get map(){return this._map}get transform(){return this._renderTransform}setProps(e){const o=this.props;this.props=e;const n=this._updateSettings(e,o);n&&this._createShadowTransform(this._map);const t=this._updateSize(e),r=this._updateViewState(e,!0);this._updateStyle(e,o),this._updateStyleComponents(e,o),this._updateHandlers(e,o),(n||t||r&&!this._map.isMoving())&&this.redraw()}static reuse(e,o){const n=m.savedMaps.pop();if(!n)return null;const t=n.map,r=t.getContainer();for(o.className=r.className;r.childNodes.length>0;)o.appendChild(r.childNodes[0]);t._container=o;const s=t._resizeObserver;s&&(s.disconnect(),s.observe(o)),n.setProps({...e,styleDiffing:!1}),t.resize();const{initialViewState:i}=e;return i&&(i.bounds?t.fitBounds(i.bounds,{...i.fitBoundsOptions,duration:0}):n._updateViewState(i,!1)),t.isStyleLoaded()?t.fire("load"):t.once("styledata",()=>t.fire("load")),t._update(),n}_initialize(e){const{props:o}=this,{mapStyle:n=_}=o,t={...o,...o.initialViewState,accessToken:o.mapboxAccessToken||E()||null,container:e,style:p.normalizeStyle(n)},r=t.initialViewState||t.viewState||t;if(Object.assign(t,{center:[r.longitude||0,r.latitude||0],zoom:r.zoom||0,pitch:r.pitch||0,bearing:r.bearing||0}),o.gl){const a=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=a,o.gl)}const s=new this._MapClass(t);r.padding&&s.setPadding(r.padding),o.cursor&&(s.getCanvas().style.cursor=o.cursor),this._createShadowTransform(s);const i=s._render;s._render=a=>{this._inRender=!0,i.call(s,a),this._inRender=!1};const c=s._renderTaskQueue.run;s._renderTaskQueue.run=a=>{c.call(s._renderTaskQueue,a),this._onBeforeRepaint()},s.on("render",()=>this._onAfterRepaint());const h=s.fire;s.fire=this._fireEvent.bind(this,h),s.on("resize",()=>{this._renderTransform.resize(s.transform.width,s.transform.height)}),s.on("styledata",()=>{this._updateStyleComponents(this.props,{}),d.syncProjection(s.transform,this._renderTransform)}),s.on("sourcedata",()=>this._updateStyleComponents(this.props,{}));for(const a in v)s.on(a,this._onPointerEvent);for(const a in f)s.on(a,this._onCameraEvent);for(const a in g)s.on(a,this._onEvent);this._map=s}recycle(){const o=this.map.getContainer().querySelector("[mapboxgl-children]");o==null||o.remove(),m.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){const e=this._map;!this._inRender&&e.style&&(e._frame&&(e._frame.cancel(),e._frame=null),e._render())}_createShadowTransform(e){const o=d.cloneTransform(e.transform);e.painter.transform=o,this._renderTransform=o}_updateSize(e){const{viewState:o}=e;if(o){const n=this._map;if(o.width!==n.transform.width||o.height!==n.transform.height)return n.resize(),!0}return!1}_updateViewState(e,o){if(this._internalUpdate)return!1;const n=this._map,t=this._renderTransform,{zoom:r,pitch:s,bearing:i}=t,c=n.isMoving();c&&(t.cameraElevationReference="sea");const h=d.applyViewStateToTransform(t,{...d.transformToViewState(n.transform),...e});if(c&&(t.cameraElevationReference="ground"),h&&o){const a=this._deferredEvents;a.move=!0,a.zoom||(a.zoom=r!==t.zoom),a.rotate||(a.rotate=i!==t.bearing),a.pitch||(a.pitch=s!==t.pitch)}return c||d.applyViewStateToTransform(n.transform,e),h}_updateSettings(e,o){const n=this._map;let t=!1;for(const r of y)if(r in e&&!u.deepEqual(e[r],o[r])){t=!0;const s=n[`set${r[0].toUpperCase()}${r.slice(1)}`];s==null||s.call(n,e[r])}return t}_updateStyle(e,o){if(e.cursor!==o.cursor&&(this._map.getCanvas().style.cursor=e.cursor||""),e.mapStyle!==o.mapStyle){const{mapStyle:n=_,styleDiffing:t=!0}=e,r={diff:t};return"localIdeographFontFamily"in e&&(r.localIdeographFontFamily=e.localIdeographFontFamily),this._map.setStyle(p.normalizeStyle(n),r),!0}return!1}_updateStyleComponents(e,o){const n=this._map;let t=!1;return n.isStyleLoaded()&&("light"in e&&n.setLight&&!u.deepEqual(e.light,o.light)&&(t=!0,n.setLight(e.light)),"fog"in e&&n.setFog&&!u.deepEqual(e.fog,o.fog)&&(t=!0,n.setFog(e.fog)),"terrain"in e&&n.setTerrain&&!u.deepEqual(e.terrain,o.terrain)&&(!e.terrain||n.getSource(e.terrain.source))&&(t=!0,n.setTerrain(e.terrain))),t}_updateHandlers(e,o){var n,t;const r=this._map;let s=!1;for(const i of S){const c=(n=e[i])!==null&&n!==void 0?n:!0,h=(t=o[i])!==null&&t!==void 0?t:!0;u.deepEqual(c,h)||(s=!0,c?r[i].enable(c):r[i].disable())}return s}_queryRenderedFeatures(e){const o=this._map,n=o.transform,{interactiveLayerIds:t=[]}=this.props;try{return o.transform=this._renderTransform,o.queryRenderedFeatures(e,{layers:t.filter(o.getLayer.bind(o))})}catch{return[]}finally{o.transform=n}}_updateHover(e){var o;const{props:n}=this;if(n.interactiveLayerIds&&(n.onMouseMove||n.onMouseEnter||n.onMouseLeave)){const r=e.type,s=((o=this._hoveredFeatures)===null||o===void 0?void 0:o.length)>0,i=this._queryRenderedFeatures(e.point),c=i.length>0;!c&&s&&(e.type="mouseleave",this._onPointerEvent(e)),this._hoveredFeatures=i,c&&!s&&(e.type="mouseenter",this._onPointerEvent(e)),e.type=r}else this._hoveredFeatures=null}_fireEvent(e,o,n){const t=this._map,r=t.transform,s=typeof o=="string"?o:o.type;return s==="move"&&this._updateViewState(this.props,!1),s in f&&(typeof o=="object"&&(o.viewState=d.transformToViewState(r)),this._map.isMoving())?(t.transform=this._renderTransform,e.call(t,o,n),t.transform=r,t):(e.call(t,o,n),t)}_onBeforeRepaint(){const e=this._map;this._internalUpdate=!0;for(const n in this._deferredEvents)this._deferredEvents[n]&&e.fire(n);this._internalUpdate=!1;const o=this._map.transform;e.transform=this._renderTransform,this._onAfterRepaint=()=>{d.syncProjection(this._renderTransform,o),e.transform=o}}}m.savedMaps=[];function E(){let l=null;if(typeof location<"u"){const e=/access_token=([^&\/]*)/.exec(location.search);l=e&&e[1]}try{l=l||process.env.MapboxAccessToken}catch{}try{l=l||process.env.REACT_APP_MAPBOX_ACCESS_TOKEN}catch{}return l}module.exports=m;
2
2
  //# sourceMappingURL=index.cjs218.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs18.js");function u(r){return function(t){var e=r(t);return typeof e=="number"&&e>=0&&e<=n.MAX_ARRAY_INDEX}}module.exports=u;
1
+ "use strict";const t=require("./index.cjs191.js"),e=t("Object");module.exports=e;
2
2
  //# sourceMappingURL=index.cjs226.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs226.js","sources":["../../../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":"iDAGA,SAAwBA,EAAwBC,EAAiB,CAC/D,OAAO,SAASC,EAAY,CACtB,IAAAC,EAAeF,EAAgBC,CAAU,EAC7C,OAAO,OAAOC,GAAgB,UAAYA,GAAgB,GAAKA,GAAgBC,iBAAA,CAEnF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs226.js","sources":["../../../node_modules/underscore/modules/_hasObjectTag.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n"],"names":["tagTester"],"mappings":"kDAEeA,EAAAA,EAAU,QAAQ","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs191.js"),e=t("Object");module.exports=e;
1
+ "use strict";const n=require("./index.cjs18.js");function u(r){return function(t){var e=r(t);return typeof e=="number"&&e>=0&&e<=n.MAX_ARRAY_INDEX}}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs228.js.map