@performant-software/geospatial 2.2.5-beta.0 → 2.2.5-beta.1

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 (606) 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.cjs110.js +1 -1
  22. package/dist/index.cjs110.js.map +1 -1
  23. package/dist/index.cjs111.js +1 -1
  24. package/dist/index.cjs111.js.map +1 -1
  25. package/dist/index.cjs112.js +1 -13
  26. package/dist/index.cjs112.js.map +1 -1
  27. package/dist/index.cjs113.js +1 -1
  28. package/dist/index.cjs113.js.map +1 -1
  29. package/dist/index.cjs114.js +1 -1
  30. package/dist/index.cjs114.js.map +1 -1
  31. package/dist/index.cjs115.js +1 -1
  32. package/dist/index.cjs115.js.map +1 -1
  33. package/dist/index.cjs116.js +1 -1
  34. package/dist/index.cjs116.js.map +1 -1
  35. package/dist/index.cjs117.js +1 -1
  36. package/dist/index.cjs117.js.map +1 -1
  37. package/dist/index.cjs118.js +1 -1
  38. package/dist/index.cjs118.js.map +1 -1
  39. package/dist/index.cjs119.js +1 -1
  40. package/dist/index.cjs119.js.map +1 -1
  41. package/dist/index.cjs12.js +1 -1
  42. package/dist/index.cjs120.js +1 -1
  43. package/dist/index.cjs120.js.map +1 -1
  44. package/dist/index.cjs121.js +1 -1
  45. package/dist/index.cjs121.js.map +1 -1
  46. package/dist/index.cjs122.js +1 -1
  47. package/dist/index.cjs122.js.map +1 -1
  48. package/dist/index.cjs123.js +1 -1
  49. package/dist/index.cjs123.js.map +1 -1
  50. package/dist/index.cjs124.js +13 -1
  51. package/dist/index.cjs124.js.map +1 -1
  52. package/dist/index.cjs125.js +1 -1
  53. package/dist/index.cjs125.js.map +1 -1
  54. package/dist/index.cjs126.js +1 -1
  55. package/dist/index.cjs126.js.map +1 -1
  56. package/dist/index.cjs127.js +1 -1
  57. package/dist/index.cjs127.js.map +1 -1
  58. package/dist/index.cjs128.js +1 -1
  59. package/dist/index.cjs128.js.map +1 -1
  60. package/dist/index.cjs129.js +1 -1
  61. package/dist/index.cjs129.js.map +1 -1
  62. package/dist/index.cjs13.js +1 -1
  63. package/dist/index.cjs13.js.map +1 -1
  64. package/dist/index.cjs130.js +1 -1
  65. package/dist/index.cjs130.js.map +1 -1
  66. package/dist/index.cjs131.js +1 -1
  67. package/dist/index.cjs131.js.map +1 -1
  68. package/dist/index.cjs132.js +1 -1
  69. package/dist/index.cjs132.js.map +1 -1
  70. package/dist/index.cjs133.js +1 -1
  71. package/dist/index.cjs133.js.map +1 -1
  72. package/dist/index.cjs134.js +1 -1
  73. package/dist/index.cjs134.js.map +1 -1
  74. package/dist/index.cjs135.js +1 -1
  75. package/dist/index.cjs135.js.map +1 -1
  76. package/dist/index.cjs136.js +1 -1
  77. package/dist/index.cjs136.js.map +1 -1
  78. package/dist/index.cjs137.js +1 -1
  79. package/dist/index.cjs137.js.map +1 -1
  80. package/dist/index.cjs138.js +1 -1
  81. package/dist/index.cjs138.js.map +1 -1
  82. package/dist/index.cjs139.js +1 -1
  83. package/dist/index.cjs139.js.map +1 -1
  84. package/dist/index.cjs14.js +1 -1
  85. package/dist/index.cjs14.js.map +1 -1
  86. package/dist/index.cjs140.js +1 -1
  87. package/dist/index.cjs140.js.map +1 -1
  88. package/dist/index.cjs141.js +1 -1
  89. package/dist/index.cjs141.js.map +1 -1
  90. package/dist/index.cjs142.js +1 -1
  91. package/dist/index.cjs142.js.map +1 -1
  92. package/dist/index.cjs143.js +1 -1
  93. package/dist/index.cjs143.js.map +1 -1
  94. package/dist/index.cjs144.js +1 -1
  95. package/dist/index.cjs144.js.map +1 -1
  96. package/dist/index.cjs145.js +1 -1
  97. package/dist/index.cjs145.js.map +1 -1
  98. package/dist/index.cjs146.js +1 -1
  99. package/dist/index.cjs146.js.map +1 -1
  100. package/dist/index.cjs147.js +1 -1
  101. package/dist/index.cjs147.js.map +1 -1
  102. package/dist/index.cjs148.js +1 -1
  103. package/dist/index.cjs148.js.map +1 -1
  104. package/dist/index.cjs149.js +1 -1
  105. package/dist/index.cjs149.js.map +1 -1
  106. package/dist/index.cjs15.js +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 +1 -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.cjs18.js +1 -1
  165. package/dist/index.cjs19.js +1 -1
  166. package/dist/index.cjs193.js +1 -1
  167. package/dist/index.cjs20.js +1 -1
  168. package/dist/index.cjs203.js +1 -1
  169. package/dist/index.cjs204.js +1 -1
  170. package/dist/index.cjs205.js +1 -1
  171. package/dist/index.cjs207.js +1 -1
  172. package/dist/index.cjs207.js.map +1 -1
  173. package/dist/index.cjs210.js +1 -1
  174. package/dist/index.cjs215.js +1 -1
  175. package/dist/index.cjs215.js.map +1 -1
  176. package/dist/index.cjs217.js +1 -1
  177. package/dist/index.cjs217.js.map +1 -1
  178. package/dist/index.cjs218.js +1 -1
  179. package/dist/index.cjs219.js +1 -1
  180. package/dist/index.cjs220.js +1 -1
  181. package/dist/index.cjs222.js +1 -1
  182. package/dist/index.cjs223.js +1 -1
  183. package/dist/index.cjs224.js +1 -1
  184. package/dist/index.cjs224.js.map +1 -1
  185. package/dist/index.cjs225.js +1 -1
  186. package/dist/index.cjs228.js +1 -1
  187. package/dist/index.cjs228.js.map +1 -1
  188. package/dist/index.cjs229.js +1 -1
  189. package/dist/index.cjs229.js.map +1 -1
  190. package/dist/index.cjs23.js +1 -1
  191. package/dist/index.cjs230.js +1 -1
  192. package/dist/index.cjs230.js.map +1 -1
  193. package/dist/index.cjs231.js +1 -1
  194. package/dist/index.cjs231.js.map +1 -1
  195. package/dist/index.cjs232.js +1 -1
  196. package/dist/index.cjs232.js.map +1 -1
  197. package/dist/index.cjs240.js +1 -1
  198. package/dist/index.cjs245.js +1 -1
  199. package/dist/index.cjs248.js +1 -1
  200. package/dist/index.cjs252.js +1 -1
  201. package/dist/index.cjs252.js.map +1 -1
  202. package/dist/index.cjs253.js +1 -1
  203. package/dist/index.cjs253.js.map +1 -1
  204. package/dist/index.cjs29.js +1 -1
  205. package/dist/index.cjs34.js +1 -1
  206. package/dist/index.cjs35.js +1 -1
  207. package/dist/index.cjs36.js +1 -1
  208. package/dist/index.cjs37.js +1 -1
  209. package/dist/index.cjs39.js +1 -1
  210. package/dist/index.cjs40.js +1 -1
  211. package/dist/index.cjs41.js +1 -1
  212. package/dist/index.cjs41.js.map +1 -1
  213. package/dist/index.cjs42.js +1 -1
  214. package/dist/index.cjs43.js +1 -1
  215. package/dist/index.cjs44.js +1 -1
  216. package/dist/index.cjs45.js +1 -1
  217. package/dist/index.cjs46.js +1 -1
  218. package/dist/index.cjs47.js +1 -1
  219. package/dist/index.cjs54.js +1 -1
  220. package/dist/index.cjs55.js +9 -1
  221. package/dist/index.cjs55.js.map +1 -1
  222. package/dist/index.cjs56.js +19 -1
  223. package/dist/index.cjs56.js.map +1 -1
  224. package/dist/index.cjs57.js +1 -9
  225. package/dist/index.cjs57.js.map +1 -1
  226. package/dist/index.cjs58.js +1 -19
  227. package/dist/index.cjs58.js.map +1 -1
  228. package/dist/index.cjs59.js +1 -1
  229. package/dist/index.cjs59.js.map +1 -1
  230. package/dist/index.cjs60.js +1 -1
  231. package/dist/index.cjs60.js.map +1 -1
  232. package/dist/index.cjs61.js +1 -1
  233. package/dist/index.cjs61.js.map +1 -1
  234. package/dist/index.cjs64.js +1 -1
  235. package/dist/index.cjs64.js.map +1 -1
  236. package/dist/index.cjs65.js +1 -1
  237. package/dist/index.cjs65.js.map +1 -1
  238. package/dist/index.cjs66.js +1 -1
  239. package/dist/index.cjs66.js.map +1 -1
  240. package/dist/index.cjs67.js +1 -1
  241. package/dist/index.cjs67.js.map +1 -1
  242. package/dist/index.cjs68.js +1 -1
  243. package/dist/index.cjs68.js.map +1 -1
  244. package/dist/index.cjs69.js +1 -1
  245. package/dist/index.cjs69.js.map +1 -1
  246. package/dist/index.cjs70.js +1 -1
  247. package/dist/index.cjs70.js.map +1 -1
  248. package/dist/index.cjs71.js +1 -1
  249. package/dist/index.cjs71.js.map +1 -1
  250. package/dist/index.cjs72.js +1 -1
  251. package/dist/index.cjs72.js.map +1 -1
  252. package/dist/index.cjs73.js +1 -1
  253. package/dist/index.cjs73.js.map +1 -1
  254. package/dist/index.cjs74.js +1 -1
  255. package/dist/index.cjs74.js.map +1 -1
  256. package/dist/index.cjs75.js +1 -1
  257. package/dist/index.cjs75.js.map +1 -1
  258. package/dist/index.cjs76.js +1 -1
  259. package/dist/index.cjs76.js.map +1 -1
  260. package/dist/index.cjs77.js +1 -1
  261. package/dist/index.cjs77.js.map +1 -1
  262. package/dist/index.cjs78.js +1 -1
  263. package/dist/index.cjs78.js.map +1 -1
  264. package/dist/index.cjs79.js +1 -1
  265. package/dist/index.cjs79.js.map +1 -1
  266. package/dist/index.cjs80.js +1 -1
  267. package/dist/index.cjs80.js.map +1 -1
  268. package/dist/index.cjs81.js +1 -1
  269. package/dist/index.cjs81.js.map +1 -1
  270. package/dist/index.cjs82.js +1 -1
  271. package/dist/index.cjs82.js.map +1 -1
  272. package/dist/index.cjs83.js +1 -1
  273. package/dist/index.cjs83.js.map +1 -1
  274. package/dist/index.cjs84.js +1 -1
  275. package/dist/index.cjs84.js.map +1 -1
  276. package/dist/index.cjs85.js +1 -1
  277. package/dist/index.cjs85.js.map +1 -1
  278. package/dist/index.cjs86.js +1 -1
  279. package/dist/index.cjs86.js.map +1 -1
  280. package/dist/index.cjs87.js +1 -1
  281. package/dist/index.cjs87.js.map +1 -1
  282. package/dist/index.cjs88.js +1 -1
  283. package/dist/index.cjs88.js.map +1 -1
  284. package/dist/index.cjs89.js +1 -1
  285. package/dist/index.cjs89.js.map +1 -1
  286. package/dist/index.cjs90.js +1 -1
  287. package/dist/index.cjs90.js.map +1 -1
  288. package/dist/index.cjs91.js +1 -1
  289. package/dist/index.cjs91.js.map +1 -1
  290. package/dist/index.cjs92.js +1 -1
  291. package/dist/index.cjs92.js.map +1 -1
  292. package/dist/index.cjs93.js +1 -1
  293. package/dist/index.cjs93.js.map +1 -1
  294. package/dist/index.cjs94.js +1 -1
  295. package/dist/index.cjs94.js.map +1 -1
  296. package/dist/index.cjs95.js +1 -1
  297. package/dist/index.cjs95.js.map +1 -1
  298. package/dist/index.cjs96.js +1 -1
  299. package/dist/index.cjs96.js.map +1 -1
  300. package/dist/index.cjs97.js +1 -1
  301. package/dist/index.cjs97.js.map +1 -1
  302. package/dist/index.cjs98.js +1 -1
  303. package/dist/index.cjs98.js.map +1 -1
  304. package/dist/index.cjs99.js +1 -1
  305. package/dist/index.cjs99.js.map +1 -1
  306. package/dist/index.es100.js +14 -7
  307. package/dist/index.es100.js.map +1 -1
  308. package/dist/index.es101.js +10 -11
  309. package/dist/index.es101.js.map +1 -1
  310. package/dist/index.es102.js +6 -10
  311. package/dist/index.es102.js.map +1 -1
  312. package/dist/index.es103.js +6 -3
  313. package/dist/index.es103.js.map +1 -1
  314. package/dist/index.es104.js +6 -5
  315. package/dist/index.es104.js.map +1 -1
  316. package/dist/index.es105.js +7 -2
  317. package/dist/index.es105.js.map +1 -1
  318. package/dist/index.es106.js +4 -8
  319. package/dist/index.es106.js.map +1 -1
  320. package/dist/index.es107.js +4 -8
  321. package/dist/index.es107.js.map +1 -1
  322. package/dist/index.es108.js +4 -8
  323. package/dist/index.es108.js.map +1 -1
  324. package/dist/index.es109.js +6 -8
  325. package/dist/index.es109.js.map +1 -1
  326. package/dist/index.es110.js +6 -3
  327. package/dist/index.es110.js.map +1 -1
  328. package/dist/index.es111.js +3 -3
  329. package/dist/index.es111.js.map +1 -1
  330. package/dist/index.es112.js +7 -57
  331. package/dist/index.es112.js.map +1 -1
  332. package/dist/index.es113.js +11 -12
  333. package/dist/index.es113.js.map +1 -1
  334. package/dist/index.es114.js +10 -5
  335. package/dist/index.es114.js.map +1 -1
  336. package/dist/index.es115.js +2 -4
  337. package/dist/index.es115.js.map +1 -1
  338. package/dist/index.es116.js +4 -7
  339. package/dist/index.es116.js.map +1 -1
  340. package/dist/index.es117.js +2 -16
  341. package/dist/index.es117.js.map +1 -1
  342. package/dist/index.es118.js +7 -13
  343. package/dist/index.es118.js.map +1 -1
  344. package/dist/index.es119.js +7 -4
  345. package/dist/index.es119.js.map +1 -1
  346. package/dist/index.es12.js +2 -2
  347. package/dist/index.es120.js +6 -4
  348. package/dist/index.es120.js.map +1 -1
  349. package/dist/index.es121.js +8 -8
  350. package/dist/index.es121.js.map +1 -1
  351. package/dist/index.es122.js +3 -6
  352. package/dist/index.es122.js.map +1 -1
  353. package/dist/index.es123.js +4 -7
  354. package/dist/index.es123.js.map +1 -1
  355. package/dist/index.es124.js +57 -8
  356. package/dist/index.es124.js.map +1 -1
  357. package/dist/index.es125.js +14 -3
  358. package/dist/index.es125.js.map +1 -1
  359. package/dist/index.es126.js +6 -3
  360. package/dist/index.es126.js.map +1 -1
  361. package/dist/index.es127.js +5 -10
  362. package/dist/index.es127.js.map +1 -1
  363. package/dist/index.es128.js +9 -5
  364. package/dist/index.es128.js.map +1 -1
  365. package/dist/index.es129.js +17 -4
  366. package/dist/index.es129.js.map +1 -1
  367. package/dist/index.es13.js +12 -12
  368. package/dist/index.es13.js.map +1 -1
  369. package/dist/index.es130.js +13 -8
  370. package/dist/index.es130.js.map +1 -1
  371. package/dist/index.es131.js +4 -5
  372. package/dist/index.es131.js.map +1 -1
  373. package/dist/index.es132.js +5 -16
  374. package/dist/index.es132.js.map +1 -1
  375. package/dist/index.es133.js +8 -11
  376. package/dist/index.es133.js.map +1 -1
  377. package/dist/index.es134.js +7 -3
  378. package/dist/index.es134.js.map +1 -1
  379. package/dist/index.es135.js +7 -3
  380. package/dist/index.es135.js.map +1 -1
  381. package/dist/index.es136.js +8 -8
  382. package/dist/index.es136.js.map +1 -1
  383. package/dist/index.es137.js +3 -7
  384. package/dist/index.es137.js.map +1 -1
  385. package/dist/index.es138.js +3 -13
  386. package/dist/index.es138.js.map +1 -1
  387. package/dist/index.es139.js +9 -11
  388. package/dist/index.es139.js.map +1 -1
  389. package/dist/index.es14.js +1 -1
  390. package/dist/index.es140.js +5 -7
  391. package/dist/index.es140.js.map +1 -1
  392. package/dist/index.es141.js +4 -6
  393. package/dist/index.es141.js.map +1 -1
  394. package/dist/index.es142.js +8 -5
  395. package/dist/index.es142.js.map +1 -1
  396. package/dist/index.es143.js +5 -16
  397. package/dist/index.es143.js.map +1 -1
  398. package/dist/index.es144.js +16 -16
  399. package/dist/index.es144.js.map +1 -1
  400. package/dist/index.es145.js +11 -4
  401. package/dist/index.es145.js.map +1 -1
  402. package/dist/index.es146.js +3 -17
  403. package/dist/index.es146.js.map +1 -1
  404. package/dist/index.es147.js +3 -23
  405. package/dist/index.es147.js.map +1 -1
  406. package/dist/index.es148.js +9 -6
  407. package/dist/index.es148.js.map +1 -1
  408. package/dist/index.es149.js +7 -5
  409. package/dist/index.es149.js.map +1 -1
  410. package/dist/index.es15.js +3 -3
  411. package/dist/index.es150.js +13 -6
  412. package/dist/index.es150.js.map +1 -1
  413. package/dist/index.es151.js +13 -5
  414. package/dist/index.es151.js.map +1 -1
  415. package/dist/index.es152.js +6 -11
  416. package/dist/index.es152.js.map +1 -1
  417. package/dist/index.es153.js +4 -4
  418. package/dist/index.es153.js.map +1 -1
  419. package/dist/index.es154.js +5 -4
  420. package/dist/index.es154.js.map +1 -1
  421. package/dist/index.es155.js +16 -4
  422. package/dist/index.es155.js.map +1 -1
  423. package/dist/index.es156.js +16 -4
  424. package/dist/index.es156.js.map +1 -1
  425. package/dist/index.es157.js +4 -4
  426. package/dist/index.es157.js.map +1 -1
  427. package/dist/index.es158.js +16 -4
  428. package/dist/index.es158.js.map +1 -1
  429. package/dist/index.es159.js +22 -4
  430. package/dist/index.es159.js.map +1 -1
  431. package/dist/index.es160.js +6 -13
  432. package/dist/index.es160.js.map +1 -1
  433. package/dist/index.es161.js +5 -15
  434. package/dist/index.es161.js.map +1 -1
  435. package/dist/index.es162.js +6 -9
  436. package/dist/index.es162.js.map +1 -1
  437. package/dist/index.es163.js +5 -7
  438. package/dist/index.es163.js.map +1 -1
  439. package/dist/index.es164.js +11 -6
  440. package/dist/index.es164.js.map +1 -1
  441. package/dist/index.es165.js +5 -8
  442. package/dist/index.es165.js.map +1 -1
  443. package/dist/index.es166.js +4 -27
  444. package/dist/index.es166.js.map +1 -1
  445. package/dist/index.es167.js +4 -54
  446. package/dist/index.es167.js.map +1 -1
  447. package/dist/index.es168.js +6 -47
  448. package/dist/index.es168.js.map +1 -1
  449. package/dist/index.es169.js +6 -38
  450. package/dist/index.es169.js.map +1 -1
  451. package/dist/index.es17.js +2 -2
  452. package/dist/index.es170.js +6 -11
  453. package/dist/index.es170.js.map +1 -1
  454. package/dist/index.es171.js +6 -11
  455. package/dist/index.es171.js.map +1 -1
  456. package/dist/index.es172.js +14 -29
  457. package/dist/index.es172.js.map +1 -1
  458. package/dist/index.es173.js +16 -11
  459. package/dist/index.es173.js.map +1 -1
  460. package/dist/index.es174.js +10 -13
  461. package/dist/index.es174.js.map +1 -1
  462. package/dist/index.es175.js +6 -50
  463. package/dist/index.es175.js.map +1 -1
  464. package/dist/index.es176.js +6 -64
  465. package/dist/index.es176.js.map +1 -1
  466. package/dist/index.es177.js +9 -4
  467. package/dist/index.es177.js.map +1 -1
  468. package/dist/index.es18.js +2 -2
  469. package/dist/index.es19.js +2 -2
  470. package/dist/index.es193.js +2 -2
  471. package/dist/index.es20.js +2 -2
  472. package/dist/index.es203.js +1 -1
  473. package/dist/index.es204.js +1 -1
  474. package/dist/index.es205.js +1 -1
  475. package/dist/index.es207.js +1 -1
  476. package/dist/index.es210.js +1 -1
  477. package/dist/index.es215.js +1 -1
  478. package/dist/index.es217.js +1 -1
  479. package/dist/index.es218.js +5 -5
  480. package/dist/index.es219.js +1 -1
  481. package/dist/index.es220.js +1 -1
  482. package/dist/index.es222.js +1 -1
  483. package/dist/index.es223.js +1 -1
  484. package/dist/index.es224.js +1 -1
  485. package/dist/index.es225.js +1 -1
  486. package/dist/index.es228.js +6 -44
  487. package/dist/index.es228.js.map +1 -1
  488. package/dist/index.es229.js +45 -22
  489. package/dist/index.es229.js.map +1 -1
  490. package/dist/index.es23.js +1 -1
  491. package/dist/index.es230.js +23 -3
  492. package/dist/index.es230.js.map +1 -1
  493. package/dist/index.es231.js +3 -6
  494. package/dist/index.es231.js.map +1 -1
  495. package/dist/index.es232.js +4 -6
  496. package/dist/index.es232.js.map +1 -1
  497. package/dist/index.es240.js +1 -1
  498. package/dist/index.es245.js +1 -1
  499. package/dist/index.es248.js +1 -1
  500. package/dist/index.es252.js +4 -15
  501. package/dist/index.es252.js.map +1 -1
  502. package/dist/index.es253.js +15 -4
  503. package/dist/index.es253.js.map +1 -1
  504. package/dist/index.es29.js +1 -1
  505. package/dist/index.es34.js +1 -1
  506. package/dist/index.es35.js +1 -1
  507. package/dist/index.es36.js +1 -1
  508. package/dist/index.es37.js +1 -1
  509. package/dist/index.es39.js +1 -1
  510. package/dist/index.es40.js +2 -2
  511. package/dist/index.es41.js +2 -2
  512. package/dist/index.es42.js +4 -4
  513. package/dist/index.es43.js +1 -1
  514. package/dist/index.es44.js +2 -2
  515. package/dist/index.es45.js +3 -3
  516. package/dist/index.es46.js +2 -2
  517. package/dist/index.es47.js +1 -1
  518. package/dist/index.es54.js +2 -6
  519. package/dist/index.es54.js.map +1 -1
  520. package/dist/index.es55.js +30 -2
  521. package/dist/index.es55.js.map +1 -1
  522. package/dist/index.es56.js +602 -2
  523. package/dist/index.es56.js.map +1 -1
  524. package/dist/index.es57.js +5 -29
  525. package/dist/index.es57.js.map +1 -1
  526. package/dist/index.es58.js +2 -602
  527. package/dist/index.es58.js.map +1 -1
  528. package/dist/index.es59.js +2 -107
  529. package/dist/index.es59.js.map +1 -1
  530. package/dist/index.es60.js +107 -10
  531. package/dist/index.es60.js.map +1 -1
  532. package/dist/index.es61.js +10 -2
  533. package/dist/index.es61.js.map +1 -1
  534. package/dist/index.es64.js +28 -273
  535. package/dist/index.es64.js.map +1 -1
  536. package/dist/index.es65.js +53 -13
  537. package/dist/index.es65.js.map +1 -1
  538. package/dist/index.es66.js +47 -20
  539. package/dist/index.es66.js.map +1 -1
  540. package/dist/index.es67.js +38 -6
  541. package/dist/index.es67.js.map +1 -1
  542. package/dist/index.es68.js +11 -5
  543. package/dist/index.es68.js.map +1 -1
  544. package/dist/index.es69.js +11 -5
  545. package/dist/index.es69.js.map +1 -1
  546. package/dist/index.es70.js +29 -6
  547. package/dist/index.es70.js.map +1 -1
  548. package/dist/index.es71.js +11 -5
  549. package/dist/index.es71.js.map +1 -1
  550. package/dist/index.es72.js +14 -5
  551. package/dist/index.es72.js.map +1 -1
  552. package/dist/index.es73.js +51 -3
  553. package/dist/index.es73.js.map +1 -1
  554. package/dist/index.es74.js +65 -3
  555. package/dist/index.es74.js.map +1 -1
  556. package/dist/index.es75.js +4 -3
  557. package/dist/index.es75.js.map +1 -1
  558. package/dist/index.es76.js +273 -3
  559. package/dist/index.es76.js.map +1 -1
  560. package/dist/index.es77.js +15 -3
  561. package/dist/index.es77.js.map +1 -1
  562. package/dist/index.es78.js +19 -3
  563. package/dist/index.es78.js.map +1 -1
  564. package/dist/index.es79.js +4 -9
  565. package/dist/index.es79.js.map +1 -1
  566. package/dist/index.es80.js +4 -4
  567. package/dist/index.es80.js.map +1 -1
  568. package/dist/index.es81.js +3 -5
  569. package/dist/index.es81.js.map +1 -1
  570. package/dist/index.es82.js +4 -5
  571. package/dist/index.es82.js.map +1 -1
  572. package/dist/index.es83.js +3 -9
  573. package/dist/index.es83.js.map +1 -1
  574. package/dist/index.es84.js +3 -12
  575. package/dist/index.es84.js.map +1 -1
  576. package/dist/index.es85.js +3 -13
  577. package/dist/index.es85.js.map +1 -1
  578. package/dist/index.es86.js +3 -86
  579. package/dist/index.es86.js.map +1 -1
  580. package/dist/index.es87.js +2 -2
  581. package/dist/index.es87.js.map +1 -1
  582. package/dist/index.es88.js +3 -15
  583. package/dist/index.es88.js.map +1 -1
  584. package/dist/index.es89.js +3 -12
  585. package/dist/index.es89.js.map +1 -1
  586. package/dist/index.es90.js +3 -7
  587. package/dist/index.es90.js.map +1 -1
  588. package/dist/index.es91.js +9 -6
  589. package/dist/index.es91.js.map +1 -1
  590. package/dist/index.es92.js +4 -7
  591. package/dist/index.es92.js.map +1 -1
  592. package/dist/index.es93.js +5 -7
  593. package/dist/index.es93.js.map +1 -1
  594. package/dist/index.es94.js +6 -4
  595. package/dist/index.es94.js.map +1 -1
  596. package/dist/index.es95.js +10 -4
  597. package/dist/index.es95.js.map +1 -1
  598. package/dist/index.es96.js +12 -4
  599. package/dist/index.es96.js.map +1 -1
  600. package/dist/index.es97.js +11 -5
  601. package/dist/index.es97.js.map +1 -1
  602. package/dist/index.es98.js +85 -6
  603. package/dist/index.es98.js.map +1 -1
  604. package/dist/index.es99.js +3 -4
  605. package/dist/index.es99.js.map +1 -1
  606. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),i=require("./index.cjs197.js"),r=require("./index.cjs14.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);
1
+ "use strict";const e=require("./index.cjs148.js");function r(t){return e(t,Boolean)}module.exports=r;
2
2
  //# sourceMappingURL=index.cjs170.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs170.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
+ {"version":3,"file":"index.cjs170.js","sources":["../../../node_modules/underscore/modules/compact.js"],"sourcesContent":["import filter from './filter.js';\n\n// Trim out all falsy values from an array.\nexport default function compact(array) {\n return filter(array, Boolean);\n}\n"],"names":["compact","array","filter"],"mappings":"kDAGA,SAAwBA,EAAQC,EAAO,CAC9B,OAAAC,EAAOD,EAAO,OAAO,CAC9B","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("react"),c=require("./index.cjs197.js"),l=require("./index.cjs14.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);
1
+ "use strict";const n=require("./index.cjs220.js");function r(t,e){return n(t,e,!1)}module.exports=r;
2
2
  //# sourceMappingURL=index.cjs171.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs171.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
+ {"version":3,"file":"index.cjs171.js","sources":["../../../node_modules/underscore/modules/flatten.js"],"sourcesContent":["import _flatten from './_flatten.js';\n\n// Flatten out an array, either recursively (by default), or up to `depth`.\n// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively.\nexport default function flatten(array, depth) {\n return _flatten(array, depth, false);\n}\n"],"names":["flatten","array","depth","_flatten"],"mappings":"kDAIwB,SAAAA,EAAQC,EAAOC,EAAO,CACrC,OAAAC,EAASF,EAAOC,EAAO,EAAK,CACrC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("react"),d=require("./index.cjs197.js"),v=require("./index.cjs14.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(_));
1
+ "use strict";const p=require("./index.cjs82.js"),_=require("./index.cjs213.js"),b=require("./index.cjs204.js"),g=require("./index.cjs152.js");function i(o,h,s,r){p(h)||(r=s,s=h,h=!1),s!=null&&(s=_(s,r));for(var f=[],q=[],u=0,l=b(o);u<l;u++){var n=o[u],c=s?s(n,u,o):n;h&&!s?((!u||q!==c)&&f.push(n),q=c):s?g(q,c)||(q.push(c),f.push(n)):g(f,n)||f.push(n)}return f}module.exports=i;
2
2
  //# sourceMappingURL=index.cjs172.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs172.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
+ {"version":3,"file":"index.cjs172.js","sources":["../../../node_modules/underscore/modules/uniq.js"],"sourcesContent":["import isBoolean from './isBoolean.js';\nimport cb from './_cb.js';\nimport getLength from './_getLength.js';\nimport contains from './contains.js';\n\n// Produce a duplicate-free version of the array. If the array has already\n// been sorted, you have the option of using a faster algorithm.\n// The faster algorithm will not work with an iteratee if the iteratee\n// is not a one-to-one function, so providing an iteratee will disable\n// the faster algorithm.\nexport default function uniq(array, isSorted, iteratee, context) {\n if (!isBoolean(isSorted)) {\n context = iteratee;\n iteratee = isSorted;\n isSorted = false;\n }\n if (iteratee != null) iteratee = cb(iteratee, context);\n var result = [];\n var seen = [];\n for (var i = 0, length = getLength(array); i < length; i++) {\n var value = array[i],\n computed = iteratee ? iteratee(value, i, array) : value;\n if (isSorted && !iteratee) {\n if (!i || seen !== computed) result.push(value);\n seen = computed;\n } else if (iteratee) {\n if (!contains(seen, computed)) {\n seen.push(computed);\n result.push(value);\n }\n } else if (!contains(result, value)) {\n result.push(value);\n }\n }\n return result;\n}\n"],"names":["uniq","array","isSorted","iteratee","context","isBoolean","cb","result","seen","i","length","getLength","value","computed","contains"],"mappings":"8IAUA,SAAwBA,EAAKC,EAAOC,EAAUC,EAAUC,EAAS,CAC1DC,EAAUH,CAAQ,IACXE,EAAAD,EACCA,EAAAD,EACAA,EAAA,IAETC,GAAY,OAAiBA,EAAAG,EAAGH,EAAUC,CAAO,GAG5C,QAFLG,EAAS,CAAA,EACTC,EAAO,CAAA,EACFC,EAAI,EAAGC,EAASC,EAAUV,CAAK,EAAGQ,EAAIC,EAAQD,IAAK,CACtD,IAAAG,EAAQX,EAAMQ,CAAC,EACfI,EAAWV,EAAWA,EAASS,EAAOH,EAAGR,CAAK,EAAIW,EAClDV,GAAY,CAACC,IACX,CAACM,GAAKD,IAASK,IAAUN,EAAO,KAAKK,CAAK,EACvCJ,EAAAK,GACEV,EACJW,EAASN,EAAMK,CAAQ,IAC1BL,EAAK,KAAKK,CAAQ,EAClBN,EAAO,KAAKK,CAAK,GAETE,EAASP,EAAQK,CAAK,GAChCL,EAAO,KAAKK,CAAK,CAErB,CACO,OAAAL,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),i=require("./index.cjs197.js"),c=require("./index.cjs14.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);
1
+ "use strict";const c=require("./index.cjs204.js"),o=require("./index.cjs152.js");function g(s){for(var e=[],u=arguments.length,n=0,a=c(s);n<a;n++){var t=s[n];if(!o(e,t)){var r;for(r=1;r<u&&o(arguments[r],t);r++);r===u&&e.push(t)}}return e}module.exports=g;
2
2
  //# sourceMappingURL=index.cjs173.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs173.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
+ {"version":3,"file":"index.cjs173.js","sources":["../../../node_modules/underscore/modules/intersection.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport contains from './contains.js';\n\n// Produce an array that contains every item shared between all the\n// passed-in arrays.\nexport default function intersection(array) {\n var result = [];\n var argsLength = arguments.length;\n for (var i = 0, length = getLength(array); i < length; i++) {\n var item = array[i];\n if (contains(result, item)) continue;\n var j;\n for (j = 1; j < argsLength; j++) {\n if (!contains(arguments[j], item)) break;\n }\n if (j === argsLength) result.push(item);\n }\n return result;\n}\n"],"names":["intersection","array","result","argsLength","i","length","getLength","item","contains","j"],"mappings":"iFAKA,SAAwBA,EAAaC,EAAO,CAGjC,QAFLC,EAAS,CAAA,EACTC,EAAa,UAAU,OAClBC,EAAI,EAAGC,EAASC,EAAUL,CAAK,EAAGG,EAAIC,EAAQD,IAAK,CACtD,IAAAG,EAAON,EAAMG,CAAC,EACd,GAAA,CAAAI,EAASN,EAAQK,CAAI,EACrB,KAAAE,EACJ,IAAKA,EAAI,EAAGA,EAAIN,GACTK,EAAS,UAAUC,CAAC,EAAGF,CAAI,EADNE,IAC1B,CAEEA,IAAMN,GAAYD,EAAO,KAAKK,CAAI,EACxC,CACO,OAAAL,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("react"),a=require("./index.cjs197.js"),l=require("./index.cjs14.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);
1
+ "use strict";const n=require("./index.cjs155.js"),s=require("./index.cjs204.js"),c=require("./index.cjs153.js");function o(t){for(var e=t&&n(t,s).length||0,u=Array(e),r=0;r<e;r++)u[r]=c(t,r);return u}module.exports=o;
2
2
  //# sourceMappingURL=index.cjs174.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs174.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
+ {"version":3,"file":"index.cjs174.js","sources":["../../../node_modules/underscore/modules/unzip.js"],"sourcesContent":["import max from './max.js';\nimport getLength from './_getLength.js';\nimport pluck from './pluck.js';\n\n// Complement of zip. Unzip accepts an array of arrays and groups\n// each array's elements on shared indices.\nexport default function unzip(array) {\n var length = (array && max(array, getLength).length) || 0;\n var result = Array(length);\n\n for (var index = 0; index < length; index++) {\n result[index] = pluck(array, index);\n }\n return result;\n}\n"],"names":["unzip","array","length","max","getLength","result","index","pluck"],"mappings":"gHAMA,SAAwBA,EAAMC,EAAO,CAInC,QAHIC,EAAUD,GAASE,EAAIF,EAAOG,CAAS,EAAE,QAAW,EACpDC,EAAS,MAAMH,CAAM,EAEhBI,EAAQ,EAAGA,EAAQJ,EAAQI,IAClCD,EAAOC,CAAK,EAAIC,EAAMN,EAAOK,CAAK,EAE7B,OAAAD,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const u=require("react"),m=require("./index.cjs167.js"),L=require("./index.cjs199.js"),s=require("./index.cjs198.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;
1
+ "use strict";const c=require("./index.cjs204.js");function u(r,n){for(var t={},e=0,o=c(r);e<o;e++)n?t[r[e]]=n[e]:t[r[e][0]]=r[e][1];return t}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs175.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs175.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
+ {"version":3,"file":"index.cjs175.js","sources":["../../../node_modules/underscore/modules/object.js"],"sourcesContent":["import getLength from './_getLength.js';\n\n// Converts lists into objects. Pass either a single array of `[key, value]`\n// pairs, or two parallel arrays of the same length -- one of keys, and one of\n// the corresponding values. Passing by pairs is the reverse of `_.pairs`.\nexport default function object(list, values) {\n var result = {};\n for (var i = 0, length = getLength(list); i < length; i++) {\n if (values) {\n result[list[i]] = values[i];\n } else {\n result[list[i][0]] = list[i][1];\n }\n }\n return result;\n}\n"],"names":["object","list","values","result","i","length","getLength"],"mappings":"kDAKwB,SAAAA,EAAOC,EAAMC,EAAQ,CAElC,QADLC,EAAS,CAAA,EACJC,EAAI,EAAGC,EAASC,EAAUL,CAAI,EAAGG,EAAIC,EAAQD,IAChDF,EACFC,EAAOF,EAAKG,CAAC,CAAC,EAAIF,EAAOE,CAAC,EAEnBD,EAAAF,EAAKG,CAAC,EAAE,CAAC,CAAC,EAAIH,EAAKG,CAAC,EAAE,CAAC,EAG3B,OAAAD,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("react"),f=require("./index.cjs167.js"),d=require("./index.cjs199.js"),y=require("./index.cjs198.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;
1
+ "use strict";function u(n,r,a){r==null&&(r=n||0,n=0),a||(a=r<n?-1:1);for(var f=Math.max(Math.ceil((r-n)/a),0),l=Array(f),e=0;e<f;e++,n+=a)l[e]=n;return l}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs176.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs176.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
+ {"version":3,"file":"index.cjs176.js","sources":["../../../node_modules/underscore/modules/range.js"],"sourcesContent":["// Generate an integer Array containing an arithmetic progression. A port of\n// the native Python `range()` function. See\n// [the Python documentation](https://docs.python.org/library/functions.html#range).\nexport default function range(start, stop, step) {\n if (stop == null) {\n stop = start || 0;\n start = 0;\n }\n if (!step) {\n step = stop < start ? -1 : 1;\n }\n\n var length = Math.max(Math.ceil((stop - start) / step), 0);\n var range = Array(length);\n\n for (var idx = 0; idx < length; idx++, start += step) {\n range[idx] = start;\n }\n\n return range;\n}\n"],"names":["range","start","stop","step","length","idx"],"mappings":"aAGwB,SAAAA,EAAMC,EAAOC,EAAMC,EAAM,CAC3CD,GAAQ,OACVA,EAAOD,GAAS,EACRA,EAAA,GAELE,IACIA,EAAAD,EAAOD,EAAQ,GAAK,GAM7B,QAHIG,EAAS,KAAK,IAAI,KAAK,MAAMF,EAAOD,GAASE,CAAI,EAAG,CAAC,EACrDH,EAAQ,MAAMI,CAAM,EAEfC,EAAM,EAAGA,EAAMD,EAAQC,IAAOJ,GAASE,EAC9CH,EAAMK,CAAG,EAAIJ,EAGRD,OAAAA,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");require("./index.cjs167.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;
1
+ "use strict";const u=require("./index.cjs21.js");function i(r,e){if(e==null||e<1)return[];for(var t=[],l=0,s=r.length;l<s;)t.push(u.slice.call(r,l,l+=e));return t}module.exports=i;
2
2
  //# sourceMappingURL=index.cjs177.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs177.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
+ {"version":3,"file":"index.cjs177.js","sources":["../../../node_modules/underscore/modules/chunk.js"],"sourcesContent":["import { slice } from './_setup.js';\n\n// Chunk a single array into multiple arrays, each containing `count` or fewer\n// items.\nexport default function chunk(array, count) {\n if (count == null || count < 1) return [];\n var result = [];\n var i = 0, length = array.length;\n while (i < length) {\n result.push(slice.call(array, i, i += count));\n }\n return result;\n}\n"],"names":["chunk","array","count","result","i","length","slice"],"mappings":"iDAIwB,SAAAA,EAAMC,EAAOC,EAAO,CACtC,GAAAA,GAAS,MAAQA,EAAQ,EAAG,MAAO,GAGvC,QAFIC,EAAS,CAAA,EACTC,EAAI,EAAGC,EAASJ,EAAM,OACnBG,EAAIC,GACTF,EAAO,KAAKG,EAAAA,MAAM,KAAKL,EAAOG,EAAGA,GAAKF,CAAK,CAAC,EAEvC,OAAAC,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs59.js");require("./index.cjs60.js");function c(t){return a.GenIcon({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"m14.12 10.163 1.715.858c.22.11.22.424 0 .534L8.267 15.34a.598.598 0 0 1-.534 0L.165 11.555a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.66zM7.733.063a.598.598 0 0 1 .534 0l7.568 3.784a.3.3 0 0 1 0 .535L8.267 8.165a.598.598 0 0 1-.534 0L.165 4.382a.299.299 0 0 1 0-.535L7.733.063z"},child:[]},{tag:"path",attr:{d:"m14.12 6.576 1.715.858c.22.11.22.424 0 .534l-7.568 3.784a.598.598 0 0 1-.534 0L.165 7.968a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.659z"},child:[]}]})(t)}exports.BsStack=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs60.js");require("./index.cjs61.js");function c(t){return a.GenIcon({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"m14.12 10.163 1.715.858c.22.11.22.424 0 .534L8.267 15.34a.598.598 0 0 1-.534 0L.165 11.555a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.66zM7.733.063a.598.598 0 0 1 .534 0l7.568 3.784a.3.3 0 0 1 0 .535L8.267 8.165a.598.598 0 0 1-.534 0L.165 4.382a.299.299 0 0 1 0-.535L7.733.063z"},child:[]},{tag:"path",attr:{d:"m14.12 6.576 1.715.858c.22.11.22.424 0 .534l-7.568 3.784a.598.598 0 0 1-.534 0L.165 7.968a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.659z"},child:[]}]})(t)}exports.BsStack=c;
2
2
  //# sourceMappingURL=index.cjs18.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs59.js");require("./index.cjs60.js");function r(e){return t.GenIcon({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M416 128 192 384l-96-96"},child:[]}]})(e)}exports.IoCheckmarkOutline=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs60.js");require("./index.cjs61.js");function r(e){return t.GenIcon({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M416 128 192 384l-96-96"},child:[]}]})(e)}exports.IoCheckmarkOutline=r;
2
2
  //# sourceMappingURL=index.cjs19.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const d=require("./index.cjs228.js"),p=require("./index.cjs229.js"),u=require("./index.cjs198.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.cjs229.js"),p=require("./index.cjs230.js"),u=require("./index.cjs198.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.cjs193.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs64.js"),i=require("./index.cjs65.js");var e=i(r);e._=e;module.exports=e;
1
+ "use strict";const r=require("./index.cjs76.js"),i=require("./index.cjs77.js");var e=i(r);e._=e;module.exports=e;
2
2
  //# sourceMappingURL=index.cjs20.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs232.js"),t=require("./index.cjs205.js"),r=e(t);module.exports=r;
1
+ "use strict";const e=require("./index.cjs228.js"),t=require("./index.cjs205.js"),r=e(t);module.exports=r;
2
2
  //# sourceMappingURL=index.cjs203.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs231.js"),e=t("length");module.exports=e;
1
+ "use strict";const t=require("./index.cjs232.js"),e=t("length");module.exports=e;
2
2
  //# sourceMappingURL=index.cjs204.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs231.js"),e=t("byteLength");module.exports=e;
1
+ "use strict";const t=require("./index.cjs232.js"),e=t("byteLength");module.exports=e;
2
2
  //# sourceMappingURL=index.cjs205.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs204.js"),i=require("./index.cjs22.js"),h=require("./index.cjs89.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.cjs204.js"),i=require("./index.cjs22.js"),h=require("./index.cjs101.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.cjs207.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs207.js","sources":["../../../node_modules/underscore/modules/_methodFingerprint.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport isFunction from './isFunction.js';\nimport allKeys from './allKeys.js';\n\n// Since the regular `Object.prototype.toString` type tests don't work for\n// some types in IE 11, we use a fingerprinting heuristic instead, based\n// on the methods. It's not great, but it's the best we got.\n// The fingerprint method lists are defined below.\nexport function ie11fingerprint(methods) {\n var length = getLength(methods);\n return function(obj) {\n if (obj == null) return false;\n // `Map`, `WeakMap` and `Set` have no enumerable keys.\n var keys = allKeys(obj);\n if (getLength(keys)) return false;\n for (var i = 0; i < length; i++) {\n if (!isFunction(obj[methods[i]])) return false;\n }\n // If we are testing against `WeakMap`, we need to ensure that\n // `obj` doesn't have a `forEach` method in order to distinguish\n // it from a regular `Map`.\n return methods !== weakMapMethods || !isFunction(obj[forEachName]);\n };\n}\n\n// In the interest of compact minification, we write\n// each string in the fingerprints only once.\nvar forEachName = 'forEach',\n hasName = 'has',\n commonInit = ['clear', 'delete'],\n mapTail = ['get', hasName, 'set'];\n\n// `Map`, `WeakMap` and `Set` each have slightly different\n// combinations of the above sublists.\nexport var mapMethods = commonInit.concat(forEachName, mapTail),\n weakMapMethods = commonInit.concat(mapTail),\n setMethods = ['add'].concat(commonInit, forEachName, hasName);\n"],"names":["ie11fingerprint","methods","length","getLength","obj","keys","allKeys","i","isFunction","weakMapMethods","forEachName","hasName","commonInit","mapTail","mapMethods","setMethods"],"mappings":"iLAQO,SAASA,EAAgBC,EAAS,CACnC,IAAAC,EAASC,EAAUF,CAAO,EAC9B,OAAO,SAASG,EAAK,CACnB,GAAIA,GAAO,KAAa,MAAA,GAEpB,IAAAC,EAAOC,EAAQF,CAAG,EACtB,GAAID,EAAUE,CAAI,EAAU,MAAA,GAC5B,QAASE,EAAI,EAAGA,EAAIL,EAAQK,IAC1B,GAAI,CAACC,EAAWJ,EAAIH,EAAQM,CAAC,CAAC,CAAC,EAAU,MAAA,GAK3C,OAAON,IAAYQ,GAAkB,CAACD,EAAWJ,EAAIM,CAAW,CAAC,CAAA,CAErE,CAIA,IAAIA,EAAc,UACdC,EAAU,MACVC,EAAa,CAAC,QAAS,QAAQ,EAC/BC,EAAU,CAAC,MAAOF,EAAS,KAAK,EAIzBG,EAAaF,EAAW,OAAOF,EAAaG,CAAO,EAC1DJ,EAAiBG,EAAW,OAAOC,CAAO,EAC1CE,EAAa,CAAC,KAAK,EAAE,OAAOH,EAAYF,EAAaC,CAAO","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs207.js","sources":["../../../node_modules/underscore/modules/_methodFingerprint.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport isFunction from './isFunction.js';\nimport allKeys from './allKeys.js';\n\n// Since the regular `Object.prototype.toString` type tests don't work for\n// some types in IE 11, we use a fingerprinting heuristic instead, based\n// on the methods. It's not great, but it's the best we got.\n// The fingerprint method lists are defined below.\nexport function ie11fingerprint(methods) {\n var length = getLength(methods);\n return function(obj) {\n if (obj == null) return false;\n // `Map`, `WeakMap` and `Set` have no enumerable keys.\n var keys = allKeys(obj);\n if (getLength(keys)) return false;\n for (var i = 0; i < length; i++) {\n if (!isFunction(obj[methods[i]])) return false;\n }\n // If we are testing against `WeakMap`, we need to ensure that\n // `obj` doesn't have a `forEach` method in order to distinguish\n // it from a regular `Map`.\n return methods !== weakMapMethods || !isFunction(obj[forEachName]);\n };\n}\n\n// In the interest of compact minification, we write\n// each string in the fingerprints only once.\nvar forEachName = 'forEach',\n hasName = 'has',\n commonInit = ['clear', 'delete'],\n mapTail = ['get', hasName, 'set'];\n\n// `Map`, `WeakMap` and `Set` each have slightly different\n// combinations of the above sublists.\nexport var mapMethods = commonInit.concat(forEachName, mapTail),\n weakMapMethods = commonInit.concat(mapTail),\n setMethods = ['add'].concat(commonInit, forEachName, hasName);\n"],"names":["ie11fingerprint","methods","length","getLength","obj","keys","allKeys","i","isFunction","weakMapMethods","forEachName","hasName","commonInit","mapTail","mapMethods","setMethods"],"mappings":"kLAQO,SAASA,EAAgBC,EAAS,CACnC,IAAAC,EAASC,EAAUF,CAAO,EAC9B,OAAO,SAASG,EAAK,CACnB,GAAIA,GAAO,KAAa,MAAA,GAEpB,IAAAC,EAAOC,EAAQF,CAAG,EACtB,GAAID,EAAUE,CAAI,EAAU,MAAA,GAC5B,QAASE,EAAI,EAAGA,EAAIL,EAAQK,IAC1B,GAAI,CAACC,EAAWJ,EAAIH,EAAQM,CAAC,CAAC,CAAC,EAAU,MAAA,GAK3C,OAAON,IAAYQ,GAAkB,CAACD,EAAWJ,EAAIM,CAAW,CAAC,CAAA,CAErE,CAIA,IAAIA,EAAc,UACdC,EAAU,MACVC,EAAa,CAAC,QAAS,QAAQ,EAC/BC,EAAU,CAAC,MAAOF,EAAS,KAAK,EAIzBG,EAAaF,EAAW,OAAOF,EAAaG,CAAO,EAC1DJ,EAAiBG,EAAW,OAAOC,CAAO,EAC1CE,EAAa,CAAC,KAAK,EAAE,OAAOH,EAAYF,EAAaC,CAAO","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const u=require("./index.cjs67.js"),t=require("./index.cjs21.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.cjs79.js"),t=require("./index.cjs21.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.cjs210.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("./index.cjs88.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.cjs100.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.cjs215.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs215.js","sources":["../../../node_modules/underscore/modules/_createEscaper.js"],"sourcesContent":["import keys from './keys.js';\n\n// Internal helper to generate functions for escaping and unescaping strings\n// to/from HTML interpolation.\nexport default function createEscaper(map) {\n var escaper = function(match) {\n return map[match];\n };\n // Regexes for identifying a key that needs to be escaped.\n var source = '(?:' + keys(map).join('|') + ')';\n var testRegexp = RegExp(source);\n var replaceRegexp = RegExp(source, 'g');\n return function(string) {\n string = string == null ? '' : '' + string;\n return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string;\n };\n}\n"],"names":["createEscaper","map","escaper","match","source","keys","testRegexp","replaceRegexp","string"],"mappings":"iDAIA,SAAwBA,EAAcC,EAAK,CACrC,IAAAC,EAAU,SAASC,EAAO,CAC5B,OAAOF,EAAIE,CAAK,CAAA,EAGdC,EAAS,MAAQC,EAAKJ,CAAG,EAAE,KAAK,GAAG,EAAI,IACvCK,EAAa,OAAOF,CAAM,EAC1BG,EAAgB,OAAOH,EAAQ,GAAG,EACtC,OAAO,SAASI,EAAQ,CACb,OAAAA,EAAAA,GAAU,KAAO,GAAK,GAAKA,EAC7BF,EAAW,KAAKE,CAAM,EAAIA,EAAO,QAAQD,EAAeL,CAAO,EAAIM,CAAA,CAE9E","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs215.js","sources":["../../../node_modules/underscore/modules/_createEscaper.js"],"sourcesContent":["import keys from './keys.js';\n\n// Internal helper to generate functions for escaping and unescaping strings\n// to/from HTML interpolation.\nexport default function createEscaper(map) {\n var escaper = function(match) {\n return map[match];\n };\n // Regexes for identifying a key that needs to be escaped.\n var source = '(?:' + keys(map).join('|') + ')';\n var testRegexp = RegExp(source);\n var replaceRegexp = RegExp(source, 'g');\n return function(string) {\n string = string == null ? '' : '' + string;\n return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string;\n };\n}\n"],"names":["createEscaper","map","escaper","match","source","keys","testRegexp","replaceRegexp","string"],"mappings":"kDAIA,SAAwBA,EAAcC,EAAK,CACrC,IAAAC,EAAU,SAASC,EAAO,CAC5B,OAAOF,EAAIE,CAAK,CAAA,EAGdC,EAAS,MAAQC,EAAKJ,CAAG,EAAE,KAAK,GAAG,EAAI,IACvCK,EAAa,OAAOF,CAAM,EAC1BG,EAAgB,OAAOH,EAAQ,GAAG,EACtC,OAAO,SAASI,EAAQ,CACb,OAAAA,EAAAA,GAAU,KAAO,GAAK,GAAKA,EAC7BF,EAAW,KAAKE,CAAM,EAAIA,EAAO,QAAQD,EAAeL,CAAO,EAAIM,CAAA,CAE9E","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs92.js"),s=require("./index.cjs216.js"),r=e(s);module.exports=r;
1
+ "use strict";const e=require("./index.cjs104.js"),s=require("./index.cjs216.js"),r=e(s);module.exports=r;
2
2
  //# sourceMappingURL=index.cjs217.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs217.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
+ {"version":3,"file":"index.cjs217.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,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs103.js"),n=require("./index.cjs22.js"),s=require("./index.cjs67.js"),c=require("./index.cjs80.js"),o=require("./index.cjs108.js"),u=require("./index.cjs106.js"),q=require("./index.cjs214.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.cjs115.js"),n=require("./index.cjs22.js"),s=require("./index.cjs79.js"),c=require("./index.cjs92.js"),o=require("./index.cjs120.js"),u=require("./index.cjs118.js"),q=require("./index.cjs214.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.cjs218.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("./index.cjs210.js"),o=require("./index.cjs67.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.cjs210.js"),o=require("./index.cjs79.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.cjs219.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("./index.cjs204.js"),l=require("./index.cjs223.js"),x=require("./index.cjs80.js"),L=require("./index.cjs24.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.cjs204.js"),l=require("./index.cjs223.js"),x=require("./index.cjs92.js"),L=require("./index.cjs24.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.cjs220.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const o=require("./index.cjs204.js"),l=require("./index.cjs21.js"),h=require("./index.cjs82.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.cjs204.js"),l=require("./index.cjs21.js"),h=require("./index.cjs94.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.cjs222.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs232.js"),r=require("./index.cjs204.js"),t=e(r);module.exports=t;
1
+ "use strict";const e=require("./index.cjs228.js"),r=require("./index.cjs204.js"),t=e(r);module.exports=t;
2
2
  //# sourceMappingURL=index.cjs223.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const g=require("./index.cjs223.js"),l=require("./index.cjs88.js"),v=require("./index.cjs214.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.cjs223.js"),l=require("./index.cjs100.js"),v=require("./index.cjs214.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.cjs224.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs224.js","sources":["../../../node_modules/underscore/modules/_createReduce.js"],"sourcesContent":["import isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// Internal helper to create a reducing function, iterating left or right.\nexport default function createReduce(dir) {\n // Wrap code that reassigns argument variables in a separate function than\n // the one that accesses `arguments.length` to avoid a perf hit. (#1991)\n var reducer = function(obj, iteratee, memo, initial) {\n var _keys = !isArrayLike(obj) && keys(obj),\n length = (_keys || obj).length,\n index = dir > 0 ? 0 : length - 1;\n if (!initial) {\n memo = obj[_keys ? _keys[index] : index];\n index += dir;\n }\n for (; index >= 0 && index < length; index += dir) {\n var currentKey = _keys ? _keys[index] : index;\n memo = iteratee(memo, obj[currentKey], currentKey, obj);\n }\n return memo;\n };\n\n return function(obj, iteratee, memo, context) {\n var initial = arguments.length >= 3;\n return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial);\n };\n}\n"],"names":["createReduce","dir","reducer","obj","iteratee","memo","initial","_keys","isArrayLike","keys","length","index","currentKey","context","optimizeCb"],"mappings":"+GAKA,SAAwBA,EAAaC,EAAK,CAGxC,IAAIC,EAAU,SAASC,EAAKC,EAAUC,EAAMC,EAAS,CACnD,IAAIC,EAAQ,CAACC,EAAYL,CAAG,GAAKM,EAAKN,CAAG,EACrCO,GAAUH,GAASJ,GAAK,OACxBQ,EAAQV,EAAM,EAAI,EAAIS,EAAS,EAKnC,IAJKJ,IACHD,EAAOF,EAAII,EAAQA,EAAMI,CAAK,EAAIA,CAAK,EAC9BA,GAAAV,GAEJU,GAAS,GAAKA,EAAQD,EAAQC,GAASV,EAAK,CACjD,IAAIW,EAAaL,EAAQA,EAAMI,CAAK,EAAIA,EACxCN,EAAOD,EAASC,EAAMF,EAAIS,CAAU,EAAGA,EAAYT,CAAG,CACxD,CACO,OAAAE,CAAA,EAGT,OAAO,SAASF,EAAKC,EAAUC,EAAMQ,EAAS,CACxC,IAAAP,EAAU,UAAU,QAAU,EAC3B,OAAAJ,EAAQC,EAAKW,EAAWV,EAAUS,EAAS,CAAC,EAAGR,EAAMC,CAAO,CAAA,CAEvE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs224.js","sources":["../../../node_modules/underscore/modules/_createReduce.js"],"sourcesContent":["import isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// Internal helper to create a reducing function, iterating left or right.\nexport default function createReduce(dir) {\n // Wrap code that reassigns argument variables in a separate function than\n // the one that accesses `arguments.length` to avoid a perf hit. (#1991)\n var reducer = function(obj, iteratee, memo, initial) {\n var _keys = !isArrayLike(obj) && keys(obj),\n length = (_keys || obj).length,\n index = dir > 0 ? 0 : length - 1;\n if (!initial) {\n memo = obj[_keys ? _keys[index] : index];\n index += dir;\n }\n for (; index >= 0 && index < length; index += dir) {\n var currentKey = _keys ? _keys[index] : index;\n memo = iteratee(memo, obj[currentKey], currentKey, obj);\n }\n return memo;\n };\n\n return function(obj, iteratee, memo, context) {\n var initial = arguments.length >= 3;\n return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial);\n };\n}\n"],"names":["createReduce","dir","reducer","obj","iteratee","memo","initial","_keys","isArrayLike","keys","length","index","currentKey","context","optimizeCb"],"mappings":"gHAKA,SAAwBA,EAAaC,EAAK,CAGxC,IAAIC,EAAU,SAASC,EAAKC,EAAUC,EAAMC,EAAS,CACnD,IAAIC,EAAQ,CAACC,EAAYL,CAAG,GAAKM,EAAKN,CAAG,EACrCO,GAAUH,GAASJ,GAAK,OACxBQ,EAAQV,EAAM,EAAI,EAAIS,EAAS,EAKnC,IAJKJ,IACHD,EAAOF,EAAII,EAAQA,EAAMI,CAAK,EAAIA,CAAK,EAC9BA,GAAAV,GAEJU,GAAS,GAAKA,EAAQD,EAAQC,GAASV,EAAK,CACjD,IAAIW,EAAaL,EAAQA,EAAMI,CAAK,EAAIA,EACxCN,EAAOD,EAASC,EAAMF,EAAIS,CAAU,EAAGA,EAAYT,CAAG,CACxD,CACO,OAAAE,CAAA,EAGT,OAAO,SAASF,EAAKC,EAAUC,EAAMQ,EAAS,CACxC,IAAAP,EAAU,UAAU,QAAU,EAC3B,OAAAJ,EAAQC,EAAKW,EAAWV,EAAUS,EAAS,CAAC,EAAGR,EAAMC,CAAO,CAAA,CAEvE","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const f=require("./index.cjs213.js"),p=require("./index.cjs132.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.cjs213.js"),p=require("./index.cjs144.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.cjs225.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs198.js");function a(n){const i=n.clone();return i.pixelsToGLUnits=n.pixelsToGLUnits,i}function r(n,i){if(!n.getProjection)return;const e=n.getProjection(),o=i.getProjection();c.deepEqual(e,o)||i.setProjection(e)}function s(n){return{longitude:n.center.lng,latitude:n.center.lat,zoom:n.zoom,pitch:n.pitch,bearing:n.bearing,padding:n.padding}}function d(n,i){const e=i.viewState||i;let o=!1;if("longitude"in e&&"latitude"in e){const t=n.center;n.center=new t.constructor(e.longitude,e.latitude),o=o||t!==n.center}if("zoom"in e){const t=n.zoom;n.zoom=e.zoom,o=o||t!==n.zoom}if("bearing"in e){const t=n.bearing;n.bearing=e.bearing,o=o||t!==n.bearing}if("pitch"in e){const t=n.pitch;n.pitch=e.pitch,o=o||t!==n.pitch}return e.padding&&!n.isPaddingEqual(e.padding)&&(o=!0,n.padding=e.padding),o}exports.applyViewStateToTransform=d;exports.cloneTransform=a;exports.syncProjection=r;exports.transformToViewState=s;
1
+ "use strict";const n=require("./index.cjs21.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
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/transform.js"],"sourcesContent":["import { deepEqual } from './deep-equal';\n/**\n * Make a copy of a transform\n * @param tr\n */\nexport function cloneTransform(tr) {\n const newTransform = tr.clone();\n // Work around mapbox bug - this value is not assigned in clone(), only in resize()\n newTransform.pixelsToGLUnits = tr.pixelsToGLUnits;\n return newTransform;\n}\n/**\n * Copy projection from one transform to another. This only applies to mapbox-gl transforms\n * @param src the transform to copy projection settings from\n * @param dest to transform to copy projection settings to\n */\nexport function syncProjection(src, dest) {\n if (!src.getProjection) {\n return;\n }\n const srcProjection = src.getProjection();\n const destProjection = dest.getProjection();\n if (!deepEqual(srcProjection, destProjection)) {\n dest.setProjection(srcProjection);\n }\n}\n/**\n * Capture a transform's current state\n * @param transform\n * @returns descriptor of the view state\n */\nexport function transformToViewState(tr) {\n return {\n longitude: tr.center.lng,\n latitude: tr.center.lat,\n zoom: tr.zoom,\n pitch: tr.pitch,\n bearing: tr.bearing,\n padding: tr.padding\n };\n}\n/* eslint-disable complexity */\n/**\n * Mutate a transform to match the given view state\n * @param transform\n * @param viewState\n * @returns true if the transform has changed\n */\nexport function applyViewStateToTransform(tr, props) {\n const v = props.viewState || props;\n let changed = false;\n if ('longitude' in v && 'latitude' in v) {\n const center = tr.center;\n // @ts-ignore\n tr.center = new center.constructor(v.longitude, v.latitude);\n changed = changed || center !== tr.center;\n }\n if ('zoom' in v) {\n const zoom = tr.zoom;\n tr.zoom = v.zoom;\n changed = changed || zoom !== tr.zoom;\n }\n if ('bearing' in v) {\n const bearing = tr.bearing;\n tr.bearing = v.bearing;\n changed = changed || bearing !== tr.bearing;\n }\n if ('pitch' in v) {\n const pitch = tr.pitch;\n tr.pitch = v.pitch;\n changed = changed || pitch !== tr.pitch;\n }\n if (v.padding && !tr.isPaddingEqual(v.padding)) {\n changed = true;\n tr.padding = v.padding;\n }\n return changed;\n}\n//# sourceMappingURL=transform.js.map"],"names":["cloneTransform","tr","newTransform","syncProjection","src","dest","srcProjection","destProjection","deepEqual","transformToViewState","applyViewStateToTransform","props","v","changed","center","zoom","bearing","pitch"],"mappings":"qHAKO,SAASA,EAAeC,EAAI,CACzB,MAAAC,EAAeD,EAAG,QAExB,OAAAC,EAAa,gBAAkBD,EAAG,gBAC3BC,CACX,CAMgB,SAAAC,EAAeC,EAAKC,EAAM,CAClC,GAAA,CAACD,EAAI,cACL,OAEE,MAAAE,EAAgBF,EAAI,gBACpBG,EAAiBF,EAAK,gBACvBG,EAAA,UAAUF,EAAeC,CAAc,GACxCF,EAAK,cAAcC,CAAa,CAExC,CAMO,SAASG,EAAqBR,EAAI,CAC9B,MAAA,CACH,UAAWA,EAAG,OAAO,IACrB,SAAUA,EAAG,OAAO,IACpB,KAAMA,EAAG,KACT,MAAOA,EAAG,MACV,QAASA,EAAG,QACZ,QAASA,EAAG,OAAA,CAEpB,CAQgB,SAAAS,EAA0BT,EAAIU,EAAO,CAC3C,MAAAC,EAAID,EAAM,WAAaA,EAC7B,IAAIE,EAAU,GACV,GAAA,cAAeD,GAAK,aAAcA,EAAG,CACrC,MAAME,EAASb,EAAG,OAElBA,EAAG,OAAS,IAAIa,EAAO,YAAYF,EAAE,UAAWA,EAAE,QAAQ,EAChDC,EAAAA,GAAWC,IAAWb,EAAG,MACvC,CACA,GAAI,SAAUW,EAAG,CACb,MAAMG,EAAOd,EAAG,KAChBA,EAAG,KAAOW,EAAE,KACFC,EAAAA,GAAWE,IAASd,EAAG,IACrC,CACA,GAAI,YAAaW,EAAG,CAChB,MAAMI,EAAUf,EAAG,QACnBA,EAAG,QAAUW,EAAE,QACLC,EAAAA,GAAWG,IAAYf,EAAG,OACxC,CACA,GAAI,UAAWW,EAAG,CACd,MAAMK,EAAQhB,EAAG,MACjBA,EAAG,MAAQW,EAAE,MACHC,EAAAA,GAAWI,IAAUhB,EAAG,KACtC,CACA,OAAIW,EAAE,SAAW,CAACX,EAAG,eAAeW,EAAE,OAAO,IAC/BC,EAAA,GACVZ,EAAG,QAAUW,EAAE,SAEZC,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs228.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,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function c(e){if(!e)return null;if(typeof e=="string"||("toJS"in e&&(e=e.toJS()),!e.layers))return e;const t={};for(const r of e.layers)t[r.id]=r;const f=e.layers.map(r=>{let n=null;"interactive"in r&&(n=Object.assign({},r),delete n.interactive);const o=t[r.ref];if(o){n=n||Object.assign({},r),delete n.ref;for(const i of a)i in o&&(n[i]=o[i])}return n||r});return{...e,layers:f}}exports.normalizeStyle=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs198.js");function a(n){const i=n.clone();return i.pixelsToGLUnits=n.pixelsToGLUnits,i}function r(n,i){if(!n.getProjection)return;const e=n.getProjection(),o=i.getProjection();c.deepEqual(e,o)||i.setProjection(e)}function s(n){return{longitude:n.center.lng,latitude:n.center.lat,zoom:n.zoom,pitch:n.pitch,bearing:n.bearing,padding:n.padding}}function d(n,i){const e=i.viewState||i;let o=!1;if("longitude"in e&&"latitude"in e){const t=n.center;n.center=new t.constructor(e.longitude,e.latitude),o=o||t!==n.center}if("zoom"in e){const t=n.zoom;n.zoom=e.zoom,o=o||t!==n.zoom}if("bearing"in e){const t=n.bearing;n.bearing=e.bearing,o=o||t!==n.bearing}if("pitch"in e){const t=n.pitch;n.pitch=e.pitch,o=o||t!==n.pitch}return e.padding&&!n.isPaddingEqual(e.padding)&&(o=!0,n.padding=e.padding),o}exports.applyViewStateToTransform=d;exports.cloneTransform=a;exports.syncProjection=r;exports.transformToViewState=s;
2
2
  //# sourceMappingURL=index.cjs229.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/style-utils.js"],"sourcesContent":["const refProps = ['type', 'source', 'source-layer', 'minzoom', 'maxzoom', 'filter', 'layout'];\n// Prepare a map style object for diffing\n// If immutable - convert to plain object\n// Work around some issues in older styles that would fail Mapbox's diffing\nexport function normalizeStyle(style) {\n if (!style) {\n return null;\n }\n if (typeof style === 'string') {\n return style;\n }\n if ('toJS' in style) {\n style = style.toJS();\n }\n if (!style.layers) {\n return style;\n }\n const layerIndex = {};\n for (const layer of style.layers) {\n layerIndex[layer.id] = layer;\n }\n const layers = style.layers.map(layer => {\n let normalizedLayer = null;\n if ('interactive' in layer) {\n normalizedLayer = Object.assign({}, layer);\n // Breaks style diffing :(\n // @ts-ignore legacy field not typed\n delete normalizedLayer.interactive;\n }\n // Style diffing doesn't work with refs so expand them out manually before diffing.\n // @ts-ignore legacy field not typed\n const layerRef = layerIndex[layer.ref];\n if (layerRef) {\n normalizedLayer = normalizedLayer || Object.assign({}, layer);\n // @ts-ignore\n delete normalizedLayer.ref;\n // https://github.com/mapbox/mapbox-gl-js/blob/master/src/style-spec/deref.js\n for (const propName of refProps) {\n if (propName in layerRef) {\n normalizedLayer[propName] = layerRef[propName];\n }\n }\n }\n return normalizedLayer || layer;\n });\n // Do not mutate the style object provided by the user\n return { ...style, layers };\n}\n//# sourceMappingURL=style-utils.js.map"],"names":["refProps","normalizeStyle","style","layerIndex","layer","layers","normalizedLayer","layerRef","propName"],"mappings":"gFAAA,MAAMA,EAAW,CAAC,OAAQ,SAAU,eAAgB,UAAW,UAAW,SAAU,QAAQ,EAIrF,SAASC,EAAeC,EAAO,CAClC,GAAI,CAACA,EACM,OAAA,KAQP,GANA,OAAOA,GAAU,WAGjB,SAAUA,IACVA,EAAQA,EAAM,QAEd,CAACA,EAAM,QACA,OAAAA,EAEX,MAAMC,EAAa,CAAA,EACR,UAAAC,KAASF,EAAM,OACXC,EAAAC,EAAM,EAAE,EAAIA,EAE3B,MAAMC,EAASH,EAAM,OAAO,IAAaE,GAAA,CACrC,IAAIE,EAAkB,KAClB,gBAAiBF,IACjBE,EAAkB,OAAO,OAAO,CAAC,EAAGF,CAAK,EAGzC,OAAOE,EAAgB,aAIrB,MAAAC,EAAWJ,EAAWC,EAAM,GAAG,EACrC,GAAIG,EAAU,CACVD,EAAkBA,GAAmB,OAAO,OAAO,GAAIF,CAAK,EAE5D,OAAOE,EAAgB,IAEvB,UAAWE,KAAYR,EACfQ,KAAYD,IACID,EAAAE,CAAQ,EAAID,EAASC,CAAQ,EAGzD,CACA,OAAOF,GAAmBF,CAAA,CAC7B,EAEM,MAAA,CAAE,GAAGF,EAAO,OAAAG,EACvB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/transform.js"],"sourcesContent":["import { deepEqual } from './deep-equal';\n/**\n * Make a copy of a transform\n * @param tr\n */\nexport function cloneTransform(tr) {\n const newTransform = tr.clone();\n // Work around mapbox bug - this value is not assigned in clone(), only in resize()\n newTransform.pixelsToGLUnits = tr.pixelsToGLUnits;\n return newTransform;\n}\n/**\n * Copy projection from one transform to another. This only applies to mapbox-gl transforms\n * @param src the transform to copy projection settings from\n * @param dest to transform to copy projection settings to\n */\nexport function syncProjection(src, dest) {\n if (!src.getProjection) {\n return;\n }\n const srcProjection = src.getProjection();\n const destProjection = dest.getProjection();\n if (!deepEqual(srcProjection, destProjection)) {\n dest.setProjection(srcProjection);\n }\n}\n/**\n * Capture a transform's current state\n * @param transform\n * @returns descriptor of the view state\n */\nexport function transformToViewState(tr) {\n return {\n longitude: tr.center.lng,\n latitude: tr.center.lat,\n zoom: tr.zoom,\n pitch: tr.pitch,\n bearing: tr.bearing,\n padding: tr.padding\n };\n}\n/* eslint-disable complexity */\n/**\n * Mutate a transform to match the given view state\n * @param transform\n * @param viewState\n * @returns true if the transform has changed\n */\nexport function applyViewStateToTransform(tr, props) {\n const v = props.viewState || props;\n let changed = false;\n if ('longitude' in v && 'latitude' in v) {\n const center = tr.center;\n // @ts-ignore\n tr.center = new center.constructor(v.longitude, v.latitude);\n changed = changed || center !== tr.center;\n }\n if ('zoom' in v) {\n const zoom = tr.zoom;\n tr.zoom = v.zoom;\n changed = changed || zoom !== tr.zoom;\n }\n if ('bearing' in v) {\n const bearing = tr.bearing;\n tr.bearing = v.bearing;\n changed = changed || bearing !== tr.bearing;\n }\n if ('pitch' in v) {\n const pitch = tr.pitch;\n tr.pitch = v.pitch;\n changed = changed || pitch !== tr.pitch;\n }\n if (v.padding && !tr.isPaddingEqual(v.padding)) {\n changed = true;\n tr.padding = v.padding;\n }\n return changed;\n}\n//# sourceMappingURL=transform.js.map"],"names":["cloneTransform","tr","newTransform","syncProjection","src","dest","srcProjection","destProjection","deepEqual","transformToViewState","applyViewStateToTransform","props","v","changed","center","zoom","bearing","pitch"],"mappings":"qHAKO,SAASA,EAAeC,EAAI,CACzB,MAAAC,EAAeD,EAAG,QAExB,OAAAC,EAAa,gBAAkBD,EAAG,gBAC3BC,CACX,CAMgB,SAAAC,EAAeC,EAAKC,EAAM,CAClC,GAAA,CAACD,EAAI,cACL,OAEE,MAAAE,EAAgBF,EAAI,gBACpBG,EAAiBF,EAAK,gBACvBG,EAAA,UAAUF,EAAeC,CAAc,GACxCF,EAAK,cAAcC,CAAa,CAExC,CAMO,SAASG,EAAqBR,EAAI,CAC9B,MAAA,CACH,UAAWA,EAAG,OAAO,IACrB,SAAUA,EAAG,OAAO,IACpB,KAAMA,EAAG,KACT,MAAOA,EAAG,MACV,QAASA,EAAG,QACZ,QAASA,EAAG,OAAA,CAEpB,CAQgB,SAAAS,EAA0BT,EAAIU,EAAO,CAC3C,MAAAC,EAAID,EAAM,WAAaA,EAC7B,IAAIE,EAAU,GACV,GAAA,cAAeD,GAAK,aAAcA,EAAG,CACrC,MAAME,EAASb,EAAG,OAElBA,EAAG,OAAS,IAAIa,EAAO,YAAYF,EAAE,UAAWA,EAAE,QAAQ,EAChDC,EAAAA,GAAWC,IAAWb,EAAG,MACvC,CACA,GAAI,SAAUW,EAAG,CACb,MAAMG,EAAOd,EAAG,KAChBA,EAAG,KAAOW,EAAE,KACFC,EAAAA,GAAWE,IAASd,EAAG,IACrC,CACA,GAAI,YAAaW,EAAG,CAChB,MAAMI,EAAUf,EAAG,QACnBA,EAAG,QAAUW,EAAE,QACLC,EAAAA,GAAWG,IAAYf,EAAG,OACxC,CACA,GAAI,UAAWW,EAAG,CACd,MAAMK,EAAQhB,EAAG,MACjBA,EAAG,MAAQW,EAAE,MACHC,EAAAA,GAAWI,IAAUhB,EAAG,KACtC,CACA,OAAIW,EAAE,SAAW,CAACX,EAAG,eAAeW,EAAE,OAAO,IAC/BC,EAAA,GACVZ,EAAG,QAAUW,EAAE,SAEZC,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs21.js"),e=require("./index.cjs230.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.cjs21.js"),e=require("./index.cjs231.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.cjs23.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs201.js"),e=t("Object");module.exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function c(e){if(!e)return null;if(typeof e=="string"||("toJS"in e&&(e=e.toJS()),!e.layers))return e;const t={};for(const r of e.layers)t[r.id]=r;const f=e.layers.map(r=>{let n=null;"interactive"in r&&(n=Object.assign({},r),delete n.interactive);const o=t[r.ref];if(o){n=n||Object.assign({},r),delete n.ref;for(const i of a)i in o&&(n[i]=o[i])}return n||r});return{...e,layers:f}}exports.normalizeStyle=c;
2
2
  //# sourceMappingURL=index.cjs230.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs230.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
+ {"version":3,"file":"index.cjs230.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/style-utils.js"],"sourcesContent":["const refProps = ['type', 'source', 'source-layer', 'minzoom', 'maxzoom', 'filter', 'layout'];\n// Prepare a map style object for diffing\n// If immutable - convert to plain object\n// Work around some issues in older styles that would fail Mapbox's diffing\nexport function normalizeStyle(style) {\n if (!style) {\n return null;\n }\n if (typeof style === 'string') {\n return style;\n }\n if ('toJS' in style) {\n style = style.toJS();\n }\n if (!style.layers) {\n return style;\n }\n const layerIndex = {};\n for (const layer of style.layers) {\n layerIndex[layer.id] = layer;\n }\n const layers = style.layers.map(layer => {\n let normalizedLayer = null;\n if ('interactive' in layer) {\n normalizedLayer = Object.assign({}, layer);\n // Breaks style diffing :(\n // @ts-ignore legacy field not typed\n delete normalizedLayer.interactive;\n }\n // Style diffing doesn't work with refs so expand them out manually before diffing.\n // @ts-ignore legacy field not typed\n const layerRef = layerIndex[layer.ref];\n if (layerRef) {\n normalizedLayer = normalizedLayer || Object.assign({}, layer);\n // @ts-ignore\n delete normalizedLayer.ref;\n // https://github.com/mapbox/mapbox-gl-js/blob/master/src/style-spec/deref.js\n for (const propName of refProps) {\n if (propName in layerRef) {\n normalizedLayer[propName] = layerRef[propName];\n }\n }\n }\n return normalizedLayer || layer;\n });\n // Do not mutate the style object provided by the user\n return { ...style, layers };\n}\n//# sourceMappingURL=style-utils.js.map"],"names":["refProps","normalizeStyle","style","layerIndex","layer","layers","normalizedLayer","layerRef","propName"],"mappings":"gFAAA,MAAMA,EAAW,CAAC,OAAQ,SAAU,eAAgB,UAAW,UAAW,SAAU,QAAQ,EAIrF,SAASC,EAAeC,EAAO,CAClC,GAAI,CAACA,EACM,OAAA,KAQP,GANA,OAAOA,GAAU,WAGjB,SAAUA,IACVA,EAAQA,EAAM,QAEd,CAACA,EAAM,QACA,OAAAA,EAEX,MAAMC,EAAa,CAAA,EACR,UAAAC,KAASF,EAAM,OACXC,EAAAC,EAAM,EAAE,EAAIA,EAE3B,MAAMC,EAASH,EAAM,OAAO,IAAaE,GAAA,CACrC,IAAIE,EAAkB,KAClB,gBAAiBF,IACjBE,EAAkB,OAAO,OAAO,CAAC,EAAGF,CAAK,EAGzC,OAAOE,EAAgB,aAIrB,MAAAC,EAAWJ,EAAWC,EAAM,GAAG,EACrC,GAAIG,EAAU,CACVD,EAAkBA,GAAmB,OAAO,OAAO,GAAIF,CAAK,EAE5D,OAAOE,EAAgB,IAEvB,UAAWE,KAAYR,EACfQ,KAAYD,IACID,EAAAE,CAAQ,EAAID,EAASC,CAAQ,EAGzD,CACA,OAAOF,GAAmBF,CAAA,CAC7B,EAEM,MAAA,CAAE,GAAGF,EAAO,OAAAG,EACvB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function n(t){return function(r){return r==null?void 0:r[t]}}module.exports=n;
1
+ "use strict";const t=require("./index.cjs201.js"),e=t("Object");module.exports=e;
2
2
  //# sourceMappingURL=index.cjs231.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs231.js","sources":["../../../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"aACA,SAAwBA,EAAgBC,EAAK,CAC3C,OAAO,SAASC,EAAK,CACnB,OAAOA,GAAO,KAAO,OAASA,EAAID,CAAG,CAAA,CAEzC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs231.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 n=require("./index.cjs21.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";function n(t){return function(r){return r==null?void 0:r[t]}}module.exports=n;
2
2
  //# sourceMappingURL=index.cjs232.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs232.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.cjs232.js","sources":["../../../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"aACA,SAAwBA,EAAgBC,EAAK,CAC3C,OAAO,SAASC,EAAK,CACnB,OAAOA,GAAO,KAAO,OAASA,EAAID,CAAG,CAAA,CAEzC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const A=require("./index.cjs253.js");function d(h,v,f,o){this.x=h,this.z=v,this.o=f,this.e=o,this.v=!1,this.n=this.p=null}function B(h,v,f,o,n){var x=[],s=[],l,z;if(h.forEach(function(w){if(!((g=w.length-1)<=0)){var g,u=w[0],q=w[g],t;if(A(u,q)){for(n.lineStart(),l=0;l<g;++l)n.point((u=w[l])[0],u[1]);n.lineEnd();return}x.push(t=new d(u,w,null,!0)),s.push(t.o=new d(u,null,t,!1)),x.push(t=new d(q,w,null,!1)),s.push(t.o=new d(q,null,t,!0))}}),!!x.length){for(s.sort(v),P(x),P(s),l=0,z=s.length;l<z;++l)s[l].e=f=!f;for(var k=x[0],p,E;;){for(var i=k,e=!0;i.v;)if((i=i.n)===k)return;p=i.z,n.lineStart();do{if(i.v=i.o.v=!0,i.e){if(e)for(l=0,z=p.length;l<z;++l)n.point((E=p[l])[0],E[1]);else o(i.x,i.n.x,1,n);i=i.n}else{if(e)for(p=i.p.z,l=p.length-1;l>=0;--l)n.point((E=p[l])[0],E[1]);else o(i.x,i.p.x,-1,n);i=i.p}i=i.o,p=i.z,e=!e}while(!i.v);n.lineEnd()}}}function P(h){if(v=h.length){for(var v,f=0,o=h[0],n;++f<v;)o.n=n=h[f],n.p=o,o=n;o.n=n=h[0],n.p=o}}module.exports=B;
1
+ "use strict";const A=require("./index.cjs252.js");function d(h,v,f,o){this.x=h,this.z=v,this.o=f,this.e=o,this.v=!1,this.n=this.p=null}function B(h,v,f,o,n){var x=[],s=[],l,z;if(h.forEach(function(w){if(!((g=w.length-1)<=0)){var g,u=w[0],q=w[g],t;if(A(u,q)){for(n.lineStart(),l=0;l<g;++l)n.point((u=w[l])[0],u[1]);n.lineEnd();return}x.push(t=new d(u,w,null,!0)),s.push(t.o=new d(u,null,t,!1)),x.push(t=new d(q,w,null,!1)),s.push(t.o=new d(q,null,t,!0))}}),!!x.length){for(s.sort(v),P(x),P(s),l=0,z=s.length;l<z;++l)s[l].e=f=!f;for(var k=x[0],p,E;;){for(var i=k,e=!0;i.v;)if((i=i.n)===k)return;p=i.z,n.lineStart();do{if(i.v=i.o.v=!0,i.e){if(e)for(l=0,z=p.length;l<z;++l)n.point((E=p[l])[0],E[1]);else o(i.x,i.n.x,1,n);i=i.n}else{if(e)for(p=i.p.z,l=p.length-1;l>=0;--l)n.point((E=p[l])[0],E[1]);else o(i.x,i.p.x,-1,n);i=i.p}i=i.o,p=i.z,e=!e}while(!i.v);n.lineEnd()}}}function P(h){if(v=h.length){for(var v,f=0,o=h[0],n;++f<v;)o.n=n=h[f],n.p=o,o=n;o.n=n=h[0],n.p=o}}module.exports=B;
2
2
  //# sourceMappingURL=index.cjs240.js.map