@performant-software/geospatial 2.3.3-beta.1 → 2.3.3-beta.3

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 (711) 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 -1
  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.cjs120.js +1 -1
  42. package/dist/index.cjs120.js.map +1 -1
  43. package/dist/index.cjs121.js +1 -1
  44. package/dist/index.cjs121.js.map +1 -1
  45. package/dist/index.cjs122.js +1 -1
  46. package/dist/index.cjs122.js.map +1 -1
  47. package/dist/index.cjs123.js +1 -1
  48. package/dist/index.cjs123.js.map +1 -1
  49. package/dist/index.cjs124.js +13 -1
  50. package/dist/index.cjs124.js.map +1 -1
  51. package/dist/index.cjs125.js +1 -1
  52. package/dist/index.cjs125.js.map +1 -1
  53. package/dist/index.cjs126.js +1 -1
  54. package/dist/index.cjs126.js.map +1 -1
  55. package/dist/index.cjs127.js +1 -1
  56. package/dist/index.cjs127.js.map +1 -1
  57. package/dist/index.cjs128.js +1 -1
  58. package/dist/index.cjs128.js.map +1 -1
  59. package/dist/index.cjs129.js +1 -1
  60. package/dist/index.cjs129.js.map +1 -1
  61. package/dist/index.cjs130.js +1 -1
  62. package/dist/index.cjs130.js.map +1 -1
  63. package/dist/index.cjs131.js +1 -1
  64. package/dist/index.cjs131.js.map +1 -1
  65. package/dist/index.cjs132.js +1 -1
  66. package/dist/index.cjs132.js.map +1 -1
  67. package/dist/index.cjs133.js +1 -1
  68. package/dist/index.cjs133.js.map +1 -1
  69. package/dist/index.cjs134.js +1 -1
  70. package/dist/index.cjs134.js.map +1 -1
  71. package/dist/index.cjs135.js +1 -1
  72. package/dist/index.cjs135.js.map +1 -1
  73. package/dist/index.cjs136.js +1 -13
  74. package/dist/index.cjs136.js.map +1 -1
  75. package/dist/index.cjs137.js +1 -1
  76. package/dist/index.cjs137.js.map +1 -1
  77. package/dist/index.cjs138.js +1 -1
  78. package/dist/index.cjs138.js.map +1 -1
  79. package/dist/index.cjs139.js +1 -1
  80. package/dist/index.cjs139.js.map +1 -1
  81. package/dist/index.cjs140.js +1 -1
  82. package/dist/index.cjs140.js.map +1 -1
  83. package/dist/index.cjs141.js +1 -1
  84. package/dist/index.cjs141.js.map +1 -1
  85. package/dist/index.cjs142.js +1 -1
  86. package/dist/index.cjs142.js.map +1 -1
  87. package/dist/index.cjs143.js +1 -1
  88. package/dist/index.cjs143.js.map +1 -1
  89. package/dist/index.cjs144.js +1 -1
  90. package/dist/index.cjs144.js.map +1 -1
  91. package/dist/index.cjs145.js +1 -1
  92. package/dist/index.cjs145.js.map +1 -1
  93. package/dist/index.cjs146.js +1 -1
  94. package/dist/index.cjs146.js.map +1 -1
  95. package/dist/index.cjs147.js +1 -1
  96. package/dist/index.cjs147.js.map +1 -1
  97. package/dist/index.cjs148.js +1 -1
  98. package/dist/index.cjs148.js.map +1 -1
  99. package/dist/index.cjs149.js +1 -1
  100. package/dist/index.cjs149.js.map +1 -1
  101. package/dist/index.cjs15.js +1 -1
  102. package/dist/index.cjs15.js.map +1 -1
  103. package/dist/index.cjs150.js +1 -1
  104. package/dist/index.cjs150.js.map +1 -1
  105. package/dist/index.cjs151.js +1 -1
  106. package/dist/index.cjs151.js.map +1 -1
  107. package/dist/index.cjs152.js +1 -1
  108. package/dist/index.cjs152.js.map +1 -1
  109. package/dist/index.cjs153.js +1 -1
  110. package/dist/index.cjs153.js.map +1 -1
  111. package/dist/index.cjs154.js +1 -1
  112. package/dist/index.cjs154.js.map +1 -1
  113. package/dist/index.cjs155.js +1 -1
  114. package/dist/index.cjs155.js.map +1 -1
  115. package/dist/index.cjs156.js +1 -1
  116. package/dist/index.cjs156.js.map +1 -1
  117. package/dist/index.cjs157.js +1 -1
  118. package/dist/index.cjs157.js.map +1 -1
  119. package/dist/index.cjs158.js +1 -1
  120. package/dist/index.cjs158.js.map +1 -1
  121. package/dist/index.cjs159.js +1 -1
  122. package/dist/index.cjs159.js.map +1 -1
  123. package/dist/index.cjs16.js +1 -1
  124. package/dist/index.cjs160.js +1 -1
  125. package/dist/index.cjs160.js.map +1 -1
  126. package/dist/index.cjs161.js +1 -1
  127. package/dist/index.cjs161.js.map +1 -1
  128. package/dist/index.cjs162.js +1 -1
  129. package/dist/index.cjs162.js.map +1 -1
  130. package/dist/index.cjs163.js +1 -1
  131. package/dist/index.cjs163.js.map +1 -1
  132. package/dist/index.cjs164.js +1 -1
  133. package/dist/index.cjs164.js.map +1 -1
  134. package/dist/index.cjs165.js +1 -1
  135. package/dist/index.cjs165.js.map +1 -1
  136. package/dist/index.cjs166.js +1 -1
  137. package/dist/index.cjs166.js.map +1 -1
  138. package/dist/index.cjs167.js +1 -1
  139. package/dist/index.cjs167.js.map +1 -1
  140. package/dist/index.cjs168.js +1 -1
  141. package/dist/index.cjs168.js.map +1 -1
  142. package/dist/index.cjs169.js +1 -1
  143. package/dist/index.cjs169.js.map +1 -1
  144. package/dist/index.cjs170.js +1 -1
  145. package/dist/index.cjs170.js.map +1 -1
  146. package/dist/index.cjs171.js +1 -1
  147. package/dist/index.cjs171.js.map +1 -1
  148. package/dist/index.cjs172.js +1 -1
  149. package/dist/index.cjs172.js.map +1 -1
  150. package/dist/index.cjs173.js +1 -1
  151. package/dist/index.cjs173.js.map +1 -1
  152. package/dist/index.cjs174.js +1 -1
  153. package/dist/index.cjs174.js.map +1 -1
  154. package/dist/index.cjs175.js +1 -1
  155. package/dist/index.cjs175.js.map +1 -1
  156. package/dist/index.cjs176.js +1 -1
  157. package/dist/index.cjs176.js.map +1 -1
  158. package/dist/index.cjs177.js +1 -1
  159. package/dist/index.cjs177.js.map +1 -1
  160. package/dist/index.cjs178.js +1 -1
  161. package/dist/index.cjs178.js.map +1 -1
  162. package/dist/index.cjs179.js +1 -1
  163. package/dist/index.cjs179.js.map +1 -1
  164. package/dist/index.cjs180.js +1 -1
  165. package/dist/index.cjs180.js.map +1 -1
  166. package/dist/index.cjs181.js +1 -1
  167. package/dist/index.cjs181.js.map +1 -1
  168. package/dist/index.cjs182.js +1 -1
  169. package/dist/index.cjs182.js.map +1 -1
  170. package/dist/index.cjs183.js +1 -1
  171. package/dist/index.cjs183.js.map +1 -1
  172. package/dist/index.cjs184.js +1 -1
  173. package/dist/index.cjs184.js.map +1 -1
  174. package/dist/index.cjs185.js +1 -1
  175. package/dist/index.cjs185.js.map +1 -1
  176. package/dist/index.cjs186.js +1 -1
  177. package/dist/index.cjs186.js.map +1 -1
  178. package/dist/index.cjs187.js +1 -1
  179. package/dist/index.cjs187.js.map +1 -1
  180. package/dist/index.cjs188.js +1 -1
  181. package/dist/index.cjs188.js.map +1 -1
  182. package/dist/index.cjs189.js +1 -1
  183. package/dist/index.cjs189.js.map +1 -1
  184. package/dist/index.cjs205.js +1 -1
  185. package/dist/index.cjs205.js.map +1 -1
  186. package/dist/index.cjs206.js +1 -1
  187. package/dist/index.cjs206.js.map +1 -1
  188. package/dist/index.cjs207.js +1 -1
  189. package/dist/index.cjs207.js.map +1 -1
  190. package/dist/index.cjs208.js +1 -1
  191. package/dist/index.cjs208.js.map +1 -1
  192. package/dist/index.cjs209.js +1 -1
  193. package/dist/index.cjs209.js.map +1 -1
  194. package/dist/index.cjs21.js +1 -1
  195. package/dist/index.cjs210.js +1 -1
  196. package/dist/index.cjs210.js.map +1 -1
  197. package/dist/index.cjs211.js +1 -1
  198. package/dist/index.cjs211.js.map +1 -1
  199. package/dist/index.cjs212.js +1 -1
  200. package/dist/index.cjs212.js.map +1 -1
  201. package/dist/index.cjs213.js +1 -1
  202. package/dist/index.cjs213.js.map +1 -1
  203. package/dist/index.cjs214.js +1 -1
  204. package/dist/index.cjs214.js.map +1 -1
  205. package/dist/index.cjs215.js +1 -1
  206. package/dist/index.cjs215.js.map +1 -1
  207. package/dist/index.cjs216.js +1 -1
  208. package/dist/index.cjs216.js.map +1 -1
  209. package/dist/index.cjs217.js +1 -1
  210. package/dist/index.cjs217.js.map +1 -1
  211. package/dist/index.cjs218.js +1 -1
  212. package/dist/index.cjs218.js.map +1 -1
  213. package/dist/index.cjs219.js +1 -1
  214. package/dist/index.cjs219.js.map +1 -1
  215. package/dist/index.cjs22.js +1 -1
  216. package/dist/index.cjs220.js +1 -1
  217. package/dist/index.cjs220.js.map +1 -1
  218. package/dist/index.cjs221.js +1 -1
  219. package/dist/index.cjs221.js.map +1 -1
  220. package/dist/index.cjs222.js +1 -1
  221. package/dist/index.cjs222.js.map +1 -1
  222. package/dist/index.cjs223.js +1 -1
  223. package/dist/index.cjs223.js.map +1 -1
  224. package/dist/index.cjs224.js +1 -1
  225. package/dist/index.cjs224.js.map +1 -1
  226. package/dist/index.cjs225.js +1 -1
  227. package/dist/index.cjs225.js.map +1 -1
  228. package/dist/index.cjs226.js +1 -1
  229. package/dist/index.cjs226.js.map +1 -1
  230. package/dist/index.cjs227.js +1 -1
  231. package/dist/index.cjs227.js.map +1 -1
  232. package/dist/index.cjs228.js +1 -1
  233. package/dist/index.cjs228.js.map +1 -1
  234. package/dist/index.cjs229.js +1 -1
  235. package/dist/index.cjs229.js.map +1 -1
  236. package/dist/index.cjs23.js +1 -1
  237. package/dist/index.cjs230.js +1 -1
  238. package/dist/index.cjs230.js.map +1 -1
  239. package/dist/index.cjs231.js +1 -1
  240. package/dist/index.cjs231.js.map +1 -1
  241. package/dist/index.cjs232.js +1 -1
  242. package/dist/index.cjs232.js.map +1 -1
  243. package/dist/index.cjs233.js +1 -1
  244. package/dist/index.cjs233.js.map +1 -1
  245. package/dist/index.cjs234.js +1 -1
  246. package/dist/index.cjs234.js.map +1 -1
  247. package/dist/index.cjs235.js +1 -1
  248. package/dist/index.cjs236.js +1 -1
  249. package/dist/index.cjs236.js.map +1 -1
  250. package/dist/index.cjs237.js +1 -1
  251. package/dist/index.cjs237.js.map +1 -1
  252. package/dist/index.cjs245.js +1 -1
  253. package/dist/index.cjs25.js +1 -1
  254. package/dist/index.cjs250.js +1 -1
  255. package/dist/index.cjs253.js +1 -1
  256. package/dist/index.cjs257.js +1 -1
  257. package/dist/index.cjs257.js.map +1 -1
  258. package/dist/index.cjs258.js +1 -1
  259. package/dist/index.cjs258.js.map +1 -1
  260. package/dist/index.cjs27.js +1 -1
  261. package/dist/index.cjs29.js +1 -1
  262. package/dist/index.cjs30.js +1 -1
  263. package/dist/index.cjs31.js +1 -1
  264. package/dist/index.cjs32.js +1 -1
  265. package/dist/index.cjs32.js.map +1 -1
  266. package/dist/index.cjs33.js +1 -1
  267. package/dist/index.cjs34.js +1 -1
  268. package/dist/index.cjs35.js +1 -1
  269. package/dist/index.cjs37.js +1 -1
  270. package/dist/index.cjs38.js +1 -1
  271. package/dist/index.cjs39.js +1 -1
  272. package/dist/index.cjs40.js +1 -1
  273. package/dist/index.cjs42.js +1 -1
  274. package/dist/index.cjs43.js +1 -1
  275. package/dist/index.cjs44.js +1 -1
  276. package/dist/index.cjs45.js +1 -1
  277. package/dist/index.cjs46.js +1 -1
  278. package/dist/index.cjs47.js +1 -1
  279. package/dist/index.cjs48.js +1 -1
  280. package/dist/index.cjs49.js +1 -1
  281. package/dist/index.cjs50.js +1 -1
  282. package/dist/index.cjs52.js +1 -1
  283. package/dist/index.cjs63.js +1 -1
  284. package/dist/index.cjs63.js.map +1 -1
  285. package/dist/index.cjs64.js +1 -1
  286. package/dist/index.cjs64.js.map +1 -1
  287. package/dist/index.cjs65.js +1 -1
  288. package/dist/index.cjs65.js.map +1 -1
  289. package/dist/index.cjs66.js +1 -1
  290. package/dist/index.cjs66.js.map +1 -1
  291. package/dist/index.cjs67.js +1 -1
  292. package/dist/index.cjs67.js.map +1 -1
  293. package/dist/index.cjs68.js +1 -1
  294. package/dist/index.cjs68.js.map +1 -1
  295. package/dist/index.cjs69.js +1 -1
  296. package/dist/index.cjs69.js.map +1 -1
  297. package/dist/index.cjs70.js +1 -1
  298. package/dist/index.cjs70.js.map +1 -1
  299. package/dist/index.cjs71.js +1 -1
  300. package/dist/index.cjs71.js.map +1 -1
  301. package/dist/index.cjs72.js +1 -1
  302. package/dist/index.cjs72.js.map +1 -1
  303. package/dist/index.cjs73.js +1 -1
  304. package/dist/index.cjs73.js.map +1 -1
  305. package/dist/index.cjs74.js +1 -1
  306. package/dist/index.cjs74.js.map +1 -1
  307. package/dist/index.cjs75.js +1 -1
  308. package/dist/index.cjs75.js.map +1 -1
  309. package/dist/index.cjs76.js +1 -1
  310. package/dist/index.cjs76.js.map +1 -1
  311. package/dist/index.cjs77.js +1 -1
  312. package/dist/index.cjs77.js.map +1 -1
  313. package/dist/index.cjs78.js +1 -1
  314. package/dist/index.cjs78.js.map +1 -1
  315. package/dist/index.cjs79.js +1 -1
  316. package/dist/index.cjs79.js.map +1 -1
  317. package/dist/index.cjs80.js +1 -1
  318. package/dist/index.cjs80.js.map +1 -1
  319. package/dist/index.cjs81.js +1 -1
  320. package/dist/index.cjs81.js.map +1 -1
  321. package/dist/index.cjs82.js +1 -1
  322. package/dist/index.cjs82.js.map +1 -1
  323. package/dist/index.cjs83.js +1 -1
  324. package/dist/index.cjs83.js.map +1 -1
  325. package/dist/index.cjs84.js +1 -1
  326. package/dist/index.cjs84.js.map +1 -1
  327. package/dist/index.cjs85.js +1 -1
  328. package/dist/index.cjs85.js.map +1 -1
  329. package/dist/index.cjs86.js +1 -1
  330. package/dist/index.cjs86.js.map +1 -1
  331. package/dist/index.cjs87.js +1 -1
  332. package/dist/index.cjs87.js.map +1 -1
  333. package/dist/index.cjs88.js +1 -1
  334. package/dist/index.cjs88.js.map +1 -1
  335. package/dist/index.cjs89.js +1 -1
  336. package/dist/index.cjs89.js.map +1 -1
  337. package/dist/index.cjs90.js +1 -1
  338. package/dist/index.cjs90.js.map +1 -1
  339. package/dist/index.cjs91.js +1 -1
  340. package/dist/index.cjs91.js.map +1 -1
  341. package/dist/index.cjs92.js +1 -1
  342. package/dist/index.cjs92.js.map +1 -1
  343. package/dist/index.cjs93.js +1 -1
  344. package/dist/index.cjs93.js.map +1 -1
  345. package/dist/index.cjs94.js +1 -1
  346. package/dist/index.cjs94.js.map +1 -1
  347. package/dist/index.cjs95.js +1 -1
  348. package/dist/index.cjs95.js.map +1 -1
  349. package/dist/index.cjs96.js +1 -1
  350. package/dist/index.cjs96.js.map +1 -1
  351. package/dist/index.cjs97.js +1 -1
  352. package/dist/index.cjs97.js.map +1 -1
  353. package/dist/index.cjs98.js +1 -1
  354. package/dist/index.cjs98.js.map +1 -1
  355. package/dist/index.cjs99.js +1 -1
  356. package/dist/index.cjs99.js.map +1 -1
  357. package/dist/index.es100.js +15 -3
  358. package/dist/index.es100.js.map +1 -1
  359. package/dist/index.es101.js +12 -3
  360. package/dist/index.es101.js.map +1 -1
  361. package/dist/index.es102.js +7 -3
  362. package/dist/index.es102.js.map +1 -1
  363. package/dist/index.es103.js +6 -9
  364. package/dist/index.es103.js.map +1 -1
  365. package/dist/index.es104.js +7 -4
  366. package/dist/index.es104.js.map +1 -1
  367. package/dist/index.es105.js +7 -5
  368. package/dist/index.es105.js.map +1 -1
  369. package/dist/index.es106.js +4 -6
  370. package/dist/index.es106.js.map +1 -1
  371. package/dist/index.es107.js +4 -10
  372. package/dist/index.es107.js.map +1 -1
  373. package/dist/index.es108.js +4 -12
  374. package/dist/index.es108.js.map +1 -1
  375. package/dist/index.es109.js +5 -11
  376. package/dist/index.es109.js.map +1 -1
  377. package/dist/index.es110.js +6 -85
  378. package/dist/index.es110.js.map +1 -1
  379. package/dist/index.es111.js +4 -3
  380. package/dist/index.es111.js.map +1 -1
  381. package/dist/index.es112.js +7 -14
  382. package/dist/index.es112.js.map +1 -1
  383. package/dist/index.es113.js +11 -10
  384. package/dist/index.es113.js.map +1 -1
  385. package/dist/index.es114.js +10 -6
  386. package/dist/index.es114.js.map +1 -1
  387. package/dist/index.es115.js +3 -6
  388. package/dist/index.es115.js.map +1 -1
  389. package/dist/index.es116.js +5 -6
  390. package/dist/index.es116.js.map +1 -1
  391. package/dist/index.es117.js +2 -7
  392. package/dist/index.es117.js.map +1 -1
  393. package/dist/index.es118.js +8 -4
  394. package/dist/index.es118.js.map +1 -1
  395. package/dist/index.es119.js +8 -4
  396. package/dist/index.es119.js.map +1 -1
  397. package/dist/index.es120.js +8 -4
  398. package/dist/index.es120.js.map +1 -1
  399. package/dist/index.es121.js +8 -6
  400. package/dist/index.es121.js.map +1 -1
  401. package/dist/index.es122.js +3 -6
  402. package/dist/index.es122.js.map +1 -1
  403. package/dist/index.es123.js +3 -3
  404. package/dist/index.es123.js.map +1 -1
  405. package/dist/index.es124.js +57 -7
  406. package/dist/index.es124.js.map +1 -1
  407. package/dist/index.es125.js +12 -11
  408. package/dist/index.es125.js.map +1 -1
  409. package/dist/index.es126.js +5 -10
  410. package/dist/index.es126.js.map +1 -1
  411. package/dist/index.es127.js +4 -2
  412. package/dist/index.es127.js.map +1 -1
  413. package/dist/index.es128.js +7 -4
  414. package/dist/index.es128.js.map +1 -1
  415. package/dist/index.es129.js +16 -2
  416. package/dist/index.es129.js.map +1 -1
  417. package/dist/index.es130.js +13 -7
  418. package/dist/index.es130.js.map +1 -1
  419. package/dist/index.es131.js +4 -7
  420. package/dist/index.es131.js.map +1 -1
  421. package/dist/index.es132.js +4 -6
  422. package/dist/index.es132.js.map +1 -1
  423. package/dist/index.es133.js +8 -8
  424. package/dist/index.es133.js.map +1 -1
  425. package/dist/index.es134.js +6 -3
  426. package/dist/index.es134.js.map +1 -1
  427. package/dist/index.es135.js +7 -4
  428. package/dist/index.es135.js.map +1 -1
  429. package/dist/index.es136.js +8 -57
  430. package/dist/index.es136.js.map +1 -1
  431. package/dist/index.es137.js +3 -14
  432. package/dist/index.es137.js.map +1 -1
  433. package/dist/index.es138.js +3 -6
  434. package/dist/index.es138.js.map +1 -1
  435. package/dist/index.es139.js +10 -5
  436. package/dist/index.es139.js.map +1 -1
  437. package/dist/index.es140.js +5 -9
  438. package/dist/index.es140.js.map +1 -1
  439. package/dist/index.es141.js +4 -17
  440. package/dist/index.es141.js.map +1 -1
  441. package/dist/index.es142.js +8 -13
  442. package/dist/index.es142.js.map +1 -1
  443. package/dist/index.es143.js +5 -4
  444. package/dist/index.es143.js.map +1 -1
  445. package/dist/index.es144.js +16 -5
  446. package/dist/index.es144.js.map +1 -1
  447. package/dist/index.es145.js +11 -8
  448. package/dist/index.es145.js.map +1 -1
  449. package/dist/index.es146.js +3 -7
  450. package/dist/index.es146.js.map +1 -1
  451. package/dist/index.es147.js +3 -7
  452. package/dist/index.es147.js.map +1 -1
  453. package/dist/index.es148.js +8 -8
  454. package/dist/index.es148.js.map +1 -1
  455. package/dist/index.es149.js +7 -3
  456. package/dist/index.es149.js.map +1 -1
  457. package/dist/index.es15.js +8 -8
  458. package/dist/index.es15.js.map +1 -1
  459. package/dist/index.es150.js +13 -3
  460. package/dist/index.es150.js.map +1 -1
  461. package/dist/index.es151.js +11 -9
  462. package/dist/index.es151.js.map +1 -1
  463. package/dist/index.es152.js +7 -5
  464. package/dist/index.es152.js.map +1 -1
  465. package/dist/index.es153.js +6 -4
  466. package/dist/index.es153.js.map +1 -1
  467. package/dist/index.es154.js +5 -8
  468. package/dist/index.es154.js.map +1 -1
  469. package/dist/index.es155.js +16 -5
  470. package/dist/index.es155.js.map +1 -1
  471. package/dist/index.es156.js +16 -16
  472. package/dist/index.es156.js.map +1 -1
  473. package/dist/index.es157.js +4 -11
  474. package/dist/index.es157.js.map +1 -1
  475. package/dist/index.es158.js +17 -3
  476. package/dist/index.es158.js.map +1 -1
  477. package/dist/index.es159.js +23 -3
  478. package/dist/index.es159.js.map +1 -1
  479. package/dist/index.es16.js +1 -1
  480. package/dist/index.es160.js +6 -9
  481. package/dist/index.es160.js.map +1 -1
  482. package/dist/index.es161.js +5 -7
  483. package/dist/index.es161.js.map +1 -1
  484. package/dist/index.es162.js +6 -13
  485. package/dist/index.es162.js.map +1 -1
  486. package/dist/index.es163.js +5 -13
  487. package/dist/index.es163.js.map +1 -1
  488. package/dist/index.es164.js +11 -6
  489. package/dist/index.es164.js.map +1 -1
  490. package/dist/index.es165.js +4 -4
  491. package/dist/index.es165.js.map +1 -1
  492. package/dist/index.es166.js +4 -5
  493. package/dist/index.es166.js.map +1 -1
  494. package/dist/index.es167.js +4 -16
  495. package/dist/index.es167.js.map +1 -1
  496. package/dist/index.es168.js +4 -16
  497. package/dist/index.es168.js.map +1 -1
  498. package/dist/index.es169.js +4 -4
  499. package/dist/index.es169.js.map +1 -1
  500. package/dist/index.es170.js +4 -16
  501. package/dist/index.es170.js.map +1 -1
  502. package/dist/index.es171.js +4 -22
  503. package/dist/index.es171.js.map +1 -1
  504. package/dist/index.es172.js +13 -6
  505. package/dist/index.es172.js.map +1 -1
  506. package/dist/index.es173.js +15 -5
  507. package/dist/index.es173.js.map +1 -1
  508. package/dist/index.es174.js +9 -6
  509. package/dist/index.es174.js.map +1 -1
  510. package/dist/index.es175.js +7 -5
  511. package/dist/index.es175.js.map +1 -1
  512. package/dist/index.es176.js +6 -11
  513. package/dist/index.es176.js.map +1 -1
  514. package/dist/index.es177.js +8 -5
  515. package/dist/index.es177.js.map +1 -1
  516. package/dist/index.es178.js +2 -5
  517. package/dist/index.es178.js.map +1 -1
  518. package/dist/index.es179.js +2 -5
  519. package/dist/index.es179.js.map +1 -1
  520. package/dist/index.es180.js +27 -4
  521. package/dist/index.es180.js.map +1 -1
  522. package/dist/index.es181.js +50 -4
  523. package/dist/index.es181.js.map +1 -1
  524. package/dist/index.es182.js +64 -4
  525. package/dist/index.es182.js.map +1 -1
  526. package/dist/index.es183.js +320 -4
  527. package/dist/index.es183.js.map +1 -1
  528. package/dist/index.es184.js +73 -11
  529. package/dist/index.es184.js.map +1 -1
  530. package/dist/index.es185.js +3 -15
  531. package/dist/index.es185.js.map +1 -1
  532. package/dist/index.es186.js +15 -8
  533. package/dist/index.es186.js.map +1 -1
  534. package/dist/index.es187.js +10 -6
  535. package/dist/index.es187.js.map +1 -1
  536. package/dist/index.es188.js +30 -6
  537. package/dist/index.es188.js.map +1 -1
  538. package/dist/index.es189.js +4 -8
  539. package/dist/index.es189.js.map +1 -1
  540. package/dist/index.es205.js +8 -2
  541. package/dist/index.es205.js.map +1 -1
  542. package/dist/index.es206.js +4 -45
  543. package/dist/index.es206.js.map +1 -1
  544. package/dist/index.es207.js +4 -23
  545. package/dist/index.es207.js.map +1 -1
  546. package/dist/index.es208.js +3 -8
  547. package/dist/index.es208.js.map +1 -1
  548. package/dist/index.es209.js +3 -5
  549. package/dist/index.es209.js.map +1 -1
  550. package/dist/index.es21.js +2 -2
  551. package/dist/index.es210.js +9 -4
  552. package/dist/index.es210.js.map +1 -1
  553. package/dist/index.es211.js +22 -3
  554. package/dist/index.es211.js.map +1 -1
  555. package/dist/index.es212.js +22 -3
  556. package/dist/index.es212.js.map +1 -1
  557. package/dist/index.es213.js +13 -8
  558. package/dist/index.es213.js.map +1 -1
  559. package/dist/index.es214.js +15 -20
  560. package/dist/index.es214.js.map +1 -1
  561. package/dist/index.es215.js +5 -21
  562. package/dist/index.es215.js.map +1 -1
  563. package/dist/index.es216.js +8 -13
  564. package/dist/index.es216.js.map +1 -1
  565. package/dist/index.es217.js +6 -16
  566. package/dist/index.es217.js.map +1 -1
  567. package/dist/index.es218.js +21 -5
  568. package/dist/index.es218.js.map +1 -1
  569. package/dist/index.es219.js +9 -8
  570. package/dist/index.es219.js.map +1 -1
  571. package/dist/index.es22.js +2 -2
  572. package/dist/index.es220.js +9 -7
  573. package/dist/index.es220.js.map +1 -1
  574. package/dist/index.es221.js +4 -22
  575. package/dist/index.es221.js.map +1 -1
  576. package/dist/index.es222.js +10 -9
  577. package/dist/index.es222.js.map +1 -1
  578. package/dist/index.es223.js +9 -9
  579. package/dist/index.es223.js.map +1 -1
  580. package/dist/index.es224.js +23 -4
  581. package/dist/index.es224.js.map +1 -1
  582. package/dist/index.es225.js +11 -10
  583. package/dist/index.es225.js.map +1 -1
  584. package/dist/index.es226.js +18 -8
  585. package/dist/index.es226.js.map +1 -1
  586. package/dist/index.es227.js +4 -23
  587. package/dist/index.es227.js.map +1 -1
  588. package/dist/index.es228.js +16 -10
  589. package/dist/index.es228.js.map +1 -1
  590. package/dist/index.es229.js +10 -17
  591. package/dist/index.es229.js.map +1 -1
  592. package/dist/index.es23.js +2 -2
  593. package/dist/index.es230.js +4 -4
  594. package/dist/index.es230.js.map +1 -1
  595. package/dist/index.es231.js +4 -17
  596. package/dist/index.es231.js.map +1 -1
  597. package/dist/index.es232.js +2 -12
  598. package/dist/index.es232.js.map +1 -1
  599. package/dist/index.es233.js +45 -3
  600. package/dist/index.es233.js.map +1 -1
  601. package/dist/index.es234.js +22 -4
  602. package/dist/index.es234.js.map +1 -1
  603. package/dist/index.es235.js +1 -1
  604. package/dist/index.es236.js +6 -4
  605. package/dist/index.es236.js.map +1 -1
  606. package/dist/index.es237.js +4 -6
  607. package/dist/index.es237.js.map +1 -1
  608. package/dist/index.es245.js +1 -1
  609. package/dist/index.es25.js +1 -1
  610. package/dist/index.es250.js +1 -1
  611. package/dist/index.es253.js +1 -1
  612. package/dist/index.es257.js +15 -4
  613. package/dist/index.es257.js.map +1 -1
  614. package/dist/index.es258.js +4 -15
  615. package/dist/index.es258.js.map +1 -1
  616. package/dist/index.es27.js +2 -2
  617. package/dist/index.es29.js +2 -2
  618. package/dist/index.es30.js +2 -2
  619. package/dist/index.es31.js +2 -2
  620. package/dist/index.es32.js +1 -1
  621. package/dist/index.es33.js +1 -1
  622. package/dist/index.es34.js +2 -2
  623. package/dist/index.es35.js +2 -2
  624. package/dist/index.es37.js +2 -2
  625. package/dist/index.es38.js +2 -2
  626. package/dist/index.es39.js +2 -2
  627. package/dist/index.es40.js +1 -1
  628. package/dist/index.es42.js +1 -1
  629. package/dist/index.es43.js +4 -4
  630. package/dist/index.es44.js +5 -5
  631. package/dist/index.es45.js +5 -5
  632. package/dist/index.es46.js +1 -1
  633. package/dist/index.es47.js +3 -3
  634. package/dist/index.es48.js +4 -4
  635. package/dist/index.es49.js +2 -2
  636. package/dist/index.es50.js +2 -2
  637. package/dist/index.es52.js +5 -5
  638. package/dist/index.es63.js +1 -1
  639. package/dist/index.es64.js +1 -1
  640. package/dist/index.es65.js +53 -105
  641. package/dist/index.es65.js.map +1 -1
  642. package/dist/index.es66.js +48 -12
  643. package/dist/index.es66.js.map +1 -1
  644. package/dist/index.es67.js +37 -55
  645. package/dist/index.es67.js.map +1 -1
  646. package/dist/index.es68.js +11 -47
  647. package/dist/index.es68.js.map +1 -1
  648. package/dist/index.es69.js +14 -38
  649. package/dist/index.es69.js.map +1 -1
  650. package/dist/index.es70.js +29 -11
  651. package/dist/index.es70.js.map +1 -1
  652. package/dist/index.es71.js +10 -10
  653. package/dist/index.es71.js.map +1 -1
  654. package/dist/index.es72.js +13 -29
  655. package/dist/index.es72.js.map +1 -1
  656. package/dist/index.es73.js +10 -12
  657. package/dist/index.es73.js.map +1 -1
  658. package/dist/index.es74.js +109 -14
  659. package/dist/index.es74.js.map +1 -1
  660. package/dist/index.es75.js +10 -11
  661. package/dist/index.es75.js.map +1 -1
  662. package/dist/index.es76.js +273 -28
  663. package/dist/index.es76.js.map +1 -1
  664. package/dist/index.es77.js +14 -50
  665. package/dist/index.es77.js.map +1 -1
  666. package/dist/index.es78.js +17 -63
  667. package/dist/index.es78.js.map +1 -1
  668. package/dist/index.es79.js +5 -2
  669. package/dist/index.es79.js.map +1 -1
  670. package/dist/index.es80.js +4 -2
  671. package/dist/index.es80.js.map +1 -1
  672. package/dist/index.es81.js +3 -320
  673. package/dist/index.es81.js.map +1 -1
  674. package/dist/index.es82.js +4 -74
  675. package/dist/index.es82.js.map +1 -1
  676. package/dist/index.es83.js +4 -3
  677. package/dist/index.es83.js.map +1 -1
  678. package/dist/index.es84.js +3 -16
  679. package/dist/index.es84.js.map +1 -1
  680. package/dist/index.es85.js +3 -11
  681. package/dist/index.es85.js.map +1 -1
  682. package/dist/index.es86.js +3 -31
  683. package/dist/index.es86.js.map +1 -1
  684. package/dist/index.es87.js +3 -5
  685. package/dist/index.es87.js.map +1 -1
  686. package/dist/index.es88.js +3 -273
  687. package/dist/index.es88.js.map +1 -1
  688. package/dist/index.es89.js +3 -15
  689. package/dist/index.es89.js.map +1 -1
  690. package/dist/index.es90.js +3 -19
  691. package/dist/index.es90.js.map +1 -1
  692. package/dist/index.es91.js +9 -4
  693. package/dist/index.es91.js.map +1 -1
  694. package/dist/index.es92.js +4 -4
  695. package/dist/index.es92.js.map +1 -1
  696. package/dist/index.es93.js +5 -3
  697. package/dist/index.es93.js.map +1 -1
  698. package/dist/index.es94.js +5 -4
  699. package/dist/index.es94.js.map +1 -1
  700. package/dist/index.es95.js +9 -3
  701. package/dist/index.es95.js.map +1 -1
  702. package/dist/index.es96.js +12 -3
  703. package/dist/index.es96.js.map +1 -1
  704. package/dist/index.es97.js +13 -3
  705. package/dist/index.es97.js.map +1 -1
  706. package/dist/index.es98.js +86 -3
  707. package/dist/index.es98.js.map +1 -1
  708. package/dist/index.es99.js +3 -3
  709. package/dist/index.es99.js.map +1 -1
  710. package/dist/style.css +1 -1
  711. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs69.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/popup.js"],"sourcesContent":["import { createPortal } from 'react-dom';\nimport { useImperativeHandle, useEffect, useMemo, useRef, useContext, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport { MapContext } from './map';\nimport { deepEqual } from '../utils/deep-equal';\n// Adapted from https://github.com/mapbox/mapbox-gl-js/blob/v1.13.0/src/ui/popup.js\nfunction getClassList(className) {\n return new Set(className ? className.trim().split(/\\s+/) : []);\n}\n/* eslint-disable complexity,max-statements */\nfunction Popup(props, ref) {\n const { map, mapLib } = useContext(MapContext);\n const container = useMemo(() => {\n return document.createElement('div');\n }, []);\n const thisRef = useRef({ props });\n thisRef.current.props = props;\n const popup = useMemo(() => {\n const options = { ...props };\n const pp = new mapLib.Popup(options);\n pp.setLngLat([props.longitude, props.latitude]);\n pp.once('open', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onOpen) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n return pp;\n }, []);\n useEffect(() => {\n const onClose = e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onClose) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n };\n popup.on('close', onClose);\n popup.setDOMContent(container).addTo(map.getMap());\n return () => {\n // https://github.com/visgl/react-map-gl/issues/1825\n // onClose should not be fired if the popup is removed by unmounting\n // When using React strict mode, the component is mounted twice.\n // Firing the onClose callback here would be a false signal to remove the component.\n popup.off('close', onClose);\n if (popup.isOpen()) {\n popup.remove();\n }\n };\n }, []);\n useEffect(() => {\n applyReactStyle(popup.getElement(), props.style);\n }, [props.style]);\n useImperativeHandle(ref, () => popup, []);\n if (popup.isOpen()) {\n if (popup.getLngLat().lng !== props.longitude || popup.getLngLat().lat !== props.latitude) {\n popup.setLngLat([props.longitude, props.latitude]);\n }\n if (props.offset && !deepEqual(popup.options.offset, props.offset)) {\n popup.setOffset(props.offset);\n }\n if (popup.options.anchor !== props.anchor || popup.options.maxWidth !== props.maxWidth) {\n popup.options.anchor = props.anchor;\n popup.setMaxWidth(props.maxWidth);\n }\n if (popup.options.className !== props.className) {\n const prevClassList = getClassList(popup.options.className);\n const nextClassList = getClassList(props.className);\n for (const c of prevClassList) {\n if (!nextClassList.has(c)) {\n popup.removeClassName(c);\n }\n }\n for (const c of nextClassList) {\n if (!prevClassList.has(c)) {\n popup.addClassName(c);\n }\n }\n popup.options.className = props.className;\n }\n }\n return createPortal(props.children, container);\n}\nexport default memo(forwardRef(Popup));\n//# sourceMappingURL=popup.js.map"],"names":["getClassList","className","Popup","props","ref","map","mapLib","useContext","MapContext","container","useMemo","thisRef","useRef","popup","options","pp","e","_a","_b","useEffect","onClose","applyReactStyle","useImperativeHandle","deepEqual","prevClassList","nextClassList","c","createPortal","memo","forwardRef"],"mappings":"uJAMA,SAASA,EAAaC,EAAW,CACtB,OAAA,IAAI,IAAIA,EAAYA,EAAU,OAAO,MAAM,KAAK,EAAI,CAAA,CAAE,CACjE,CAEA,SAASC,EAAMC,EAAOC,EAAK,CACvB,KAAM,CAAEC,IAAAA,EAAK,OAAAC,CAAO,EAAIC,aAAWC,EAAU,UAAA,EACvCC,EAAYC,EAAAA,QAAQ,IACf,SAAS,cAAc,KAAK,EACpC,CAAE,CAAA,EACCC,EAAUC,EAAAA,OAAO,CAA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AAQ,SAAWV,EAAM,QAAUU,EAAM,QAAQ,WAAaV,EAAM,YACpEU,EAAA,QAAQ,OAASV,EAAM,OACvBU,EAAA,YAAYV,EAAM,QAAQ,GAEhCU,EAAM,QAAQ,YAAcV,EAAM,WAAW,CAC7C,MAAMqB,EAAgBxB,EAAaa,EAAM,QAAQ,SAAS,EACpDY,EAAgBzB,EAAaG,EAAM,SAAS,EAClD,UAAWuB,KAAKF,EACPC,EAAc,IAAIC,CAAC,GACpBb,EAAM,gBAAgBa,CAAC,EAG/B,UAAWA,KAAKD,EACPD,EAAc,IAAIE,CAAC,GACpBb,EAAM,aAAaa,CAAC,EAGtBb,EAAA,QAAQ,UAAYV,EAAM,SACpC,CAEG,OAAAwB,eAAaxB,EAAM,SAAUM,CAAS,CACjD,CACemB,EAAAA,KAAKC,EAAAA,WAAW3B,CAAK,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs69.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,CACA,MAAeM,EAAAA,EAAAA,KAAKP,CAAiB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),i=require("./index.cjs85.js"),r=require("./index.cjs16.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 c=require("react"),d=require("./index.cjs187.js"),v=require("./index.cjs16.js");function _(n,u){const a=c.useRef({props:n}),l=v(({mapLib:s})=>{const r=new s.GeolocateControl(n),i=r._setupUI;return r._setupUI=t=>{r._container.hasChildNodes()||i(t)},r.on("geolocate",t=>{var e,o;(o=(e=a.current.props).onGeolocate)===null||o===void 0||o.call(e,t)}),r.on("error",t=>{var e,o;(o=(e=a.current.props).onError)===null||o===void 0||o.call(e,t)}),r.on("outofmaxbounds",t=>{var e,o;(o=(e=a.current.props).onOutOfMaxBounds)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationstart",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationStart)===null||o===void 0||o.call(e,t)}),r.on("trackuserlocationend",t=>{var e,o;(o=(e=a.current.props).onTrackUserLocationEnd)===null||o===void 0||o.call(e,t)}),r},{position:n.position});return a.current.props=n,c.useImperativeHandle(u,()=>l,[]),c.useEffect(()=>{d.applyReactStyle(l._container,n.style)},[n.style]),null}c.memo(c.forwardRef(_));
2
2
  //# sourceMappingURL=index.cjs70.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs70.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":"kGAGA,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.cjs70.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/geolocate-control.js"],"sourcesContent":["import { useImperativeHandle, useRef, useEffect, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction GeolocateControl(props, ref) {\n const thisRef = useRef({ props });\n const ctrl = useControl(({ mapLib }) => {\n const gc = new mapLib.GeolocateControl(props);\n // Hack: fix GeolocateControl reuse\n // When using React strict mode, the component is mounted twice.\n // GeolocateControl's UI creation is asynchronous. Removing and adding it back causes the UI to be initialized twice.\n // @ts-expect-error private method\n const setupUI = gc._setupUI;\n // @ts-expect-error private method\n gc._setupUI = args => {\n if (!gc._container.hasChildNodes()) {\n setupUI(args);\n }\n };\n gc.on('geolocate', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onGeolocate) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('error', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onError) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('outofmaxbounds', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onOutOfMaxBounds) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationstart', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationStart) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationend', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationEnd) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n return gc;\n }, { position: props.position });\n thisRef.current.props = props;\n useImperativeHandle(ref, () => ctrl, []);\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(forwardRef(GeolocateControl));\n//# sourceMappingURL=geolocate-control.js.map"],"names":["GeolocateControl","props","ref","thisRef","useRef","ctrl","useControl","mapLib","gc","setupUI","args","e","_a","_b","useImperativeHandle","useEffect","applyReactStyle","memo","forwardRef"],"mappings":"mGAGA,SAASA,EAAiBC,EAAOC,EAAK,CAClC,MAAMC,EAAUC,EAAAA,OAAO,CAAE,MAAAH,CAAO,CAAA,EAC1BI,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,CACpC,MAAMC,EAAK,IAAID,EAAO,iBAAiBN,CAAK,EAKtCQ,EAAUD,EAAG,SAEnB,OAAAA,EAAG,SAAmBE,GAAA,CACbF,EAAG,WAAW,iBACfC,EAAQC,CAAI,CAChB,EAEDF,EAAA,GAAG,YAAkBG,GAAA,CACpB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,eAAiB,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CACrG,EACEH,EAAA,GAAG,QAAcG,GAAA,CAChB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,WAAa,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CACjG,EACEH,EAAA,GAAG,iBAAuBG,GAAA,CACzB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,oBAAsB,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAC1G,EACEH,EAAA,GAAG,yBAA+BG,GAAA,CACjC,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,4BAA8B,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAClH,EACEH,EAAA,GAAG,uBAA6BG,GAAA,CAC/B,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,0BAA4B,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAChH,EACMH,CACR,EAAA,CAAE,SAAUP,EAAM,QAAU,CAAA,EAC/B,OAAAE,EAAQ,QAAQ,MAAQF,EACxBa,EAAAA,oBAAoBZ,EAAK,IAAMG,EAAM,CAAE,CAAA,EACvCU,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAX,EAAK,WAAYJ,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACegB,EAAAA,KAAKC,EAAAA,WAAWlB,CAAgB,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("react"),l=require("./index.cjs85.js"),c=require("./index.cjs16.js");function r(e){const n=c(({mapLib:o})=>new o.FullscreenControl({container:e.containerId&&document.getElementById(e.containerId)}),{position:e.position});return t.useEffect(()=>{l.applyReactStyle(n._controlContainer,e.style)},[e.style]),null}const i=t.memo(r);module.exports=i;
1
+ "use strict";const e=require("react"),i=require("./index.cjs187.js"),c=require("./index.cjs16.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}const r=e.memo(l);module.exports=r;
2
2
  //# sourceMappingURL=index.cjs71.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs71.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":"kGAGA,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,CACA,MAAeM,EAAAA,EAAAA,KAAKP,CAAiB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs71.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,CACA,MAAeM,EAAAA,EAAAA,KAAKP,CAAiB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("react"),d=require("./index.cjs85.js"),v=require("./index.cjs16.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 n=require("react"),a=require("./index.cjs187.js"),l=require("./index.cjs16.js");function r(t){const e=l(({mapLib:u})=>new u.ScaleControl(t),{position:t.position}),i=n.useRef(t),c=i.current;i.current=t;const{style:o}=t;return t.maxWidth!==void 0&&t.maxWidth!==c.maxWidth&&(e.options.maxWidth=t.maxWidth),t.unit!==void 0&&t.unit!==c.unit&&e.setUnit(t.unit),n.useEffect(()=>{a.applyReactStyle(e._container,o)},[o]),null}n.memo(r);
2
2
  //# sourceMappingURL=index.cjs72.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs72.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","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BZ,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.cjs72.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/scale-control.js"],"sourcesContent":["import { useEffect, useRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction ScaleControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.ScaleControl(props), {\n position: props.position\n });\n const propsRef = useRef(props);\n const prevProps = propsRef.current;\n propsRef.current = props;\n const { style } = props;\n if (props.maxWidth !== undefined && props.maxWidth !== prevProps.maxWidth) {\n ctrl.options.maxWidth = props.maxWidth;\n }\n if (props.unit !== undefined && props.unit !== prevProps.unit) {\n ctrl.setUnit(props.unit);\n }\n useEffect(() => {\n applyReactStyle(ctrl._container, style);\n }, [style]);\n return null;\n}\nexport default memo(ScaleControl);\n//# sourceMappingURL=scale-control.js.map"],"names":["ScaleControl","props","ctrl","useControl","mapLib","propsRef","useRef","prevProps","style","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAaC,EAAO,CACnB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,aAAaH,CAAK,EAAG,CACpE,SAAUA,EAAM,QAAA,CACnB,EACKI,EAAWC,SAAOL,CAAK,EACvBM,EAAYF,EAAS,QAC3BA,EAAS,QAAUJ,EACb,KAAA,CAAE,MAAAO,CAAU,EAAAP,EAClB,OAAIA,EAAM,WAAa,QAAaA,EAAM,WAAaM,EAAU,WACxDL,EAAA,QAAQ,SAAWD,EAAM,UAE9BA,EAAM,OAAS,QAAaA,EAAM,OAASM,EAAU,MAChDL,EAAA,QAAQD,EAAM,IAAI,EAE3BQ,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAR,EAAK,WAAYM,CAAK,CAAA,EACvC,CAACA,CAAK,CAAC,EACH,IACX,CACeG,OAAKX,CAAY","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),i=require("./index.cjs85.js"),c=require("./index.cjs16.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}const r=e.memo(l);module.exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs65.js");function c(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const s=c(o),u=s.createContext(null);function i(){var e;const n=(e=o.useContext(u))===null||e===void 0?void 0:e.maps,t=o.useContext(a.MapContext);return o.useMemo(()=>({...n,current:t==null?void 0:t.map}),[n,t])}exports.MountedMapsContext=u;exports.useMap=i;
2
2
  //# sourceMappingURL=index.cjs73.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs73.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":"kGAGA,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,CACA,MAAeM,EAAAA,EAAAA,KAAKP,CAAiB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs73.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","useMap","_a","maps","useContext","currentMap","MapContext","useMemo"],"mappings":"iaAGaA,EAAqBC,EAAM,cAAc,IAAI,EA8BnD,SAASC,GAAS,CACjB,IAAAC,EACE,MAAAC,GAAQD,EAAKE,EAAW,WAAAL,CAAkB,KAAO,MAAQG,IAAO,OAAS,OAASA,EAAG,KACrFG,EAAaD,aAAWE,EAAAA,UAAU,EAIjC,OAHiBC,EAAAA,QAAQ,KACrB,CAAE,GAAGJ,EAAM,QAASE,GAAe,KAAgC,OAASA,EAAW,GAAI,GACnG,CAACF,EAAME,CAAU,CAAC,CAEzB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("react"),a=require("./index.cjs85.js"),l=require("./index.cjs16.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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),s=require("./index.cjs75.js");var O=["attr","size","title"];function v(e,t){if(e==null)return{};var r=p(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function p(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(n){j(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function j(e,t,r){return t=P(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){var t=d(e,"string");return typeof t=="symbol"?t:String(t)}function d(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function b(e){return e&&e.map((t,r)=>l.createElement(t.tag,u({key:r},t.attr),b(t.child)))}function h(e){return t=>l.createElement(g,c({attr:u({},e.attr)},t),b(e.child))}function g(e){var t=r=>{var{attr:n,size:i,title:o}=e,y=v(e,O),f=i||r.size||"1em",a;return r.className&&(a=r.className),e.className&&(a=(a?a+" ":"")+e.className),l.createElement("svg",c({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,y,{className:a,style:u(u({color:e.color||r.color},r.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),o&&l.createElement("title",null,o),e.children)};return s.IconContext!==void 0?l.createElement(s.IconContext.Consumer,null,r=>t(r)):t(s.DefaultContext)}exports.GenIcon=h;exports.IconBase=g;
2
2
  //# sourceMappingURL=index.cjs74.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs74.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":"kGAGA,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.cjs74.js","sources":["../../../node_modules/react-icons/lib/iconBase.mjs"],"sourcesContent":["var _excluded = [\"attr\", \"size\", \"title\"];\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nimport React from \"react\";\nimport { IconContext, DefaultContext } from \"./iconContext.mjs\";\nfunction Tree2Element(tree) {\n return tree && tree.map((node, i) => /*#__PURE__*/React.createElement(node.tag, _objectSpread({\n key: i\n }, node.attr), Tree2Element(node.child)));\n}\nexport function GenIcon(data) {\n // eslint-disable-next-line react/display-name\n return props => /*#__PURE__*/React.createElement(IconBase, _extends({\n attr: _objectSpread({}, data.attr)\n }, props), Tree2Element(data.child));\n}\nexport function IconBase(props) {\n var elem = conf => {\n var {\n attr,\n size,\n title\n } = props,\n svgProps = _objectWithoutProperties(props, _excluded);\n var computedSize = size || conf.size || \"1em\";\n var className;\n if (conf.className) className = conf.className;\n if (props.className) className = (className ? className + \" \" : \"\") + props.className;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n stroke: \"currentColor\",\n fill: \"currentColor\",\n strokeWidth: \"0\"\n }, conf.attr, attr, svgProps, {\n className: className,\n style: _objectSpread(_objectSpread({\n color: props.color || conf.color\n }, conf.style), props.style),\n height: computedSize,\n width: computedSize,\n xmlns: \"http://www.w3.org/2000/svg\"\n }), title && /*#__PURE__*/React.createElement(\"title\", null, title), props.children);\n };\n return IconContext !== undefined ? /*#__PURE__*/React.createElement(IconContext.Consumer, null, conf => elem(conf)) : elem(DefaultContext);\n}"],"names":["_excluded","_objectWithoutProperties","source","excluded","target","_objectWithoutPropertiesLoose","key","sourceSymbolKeys","sourceKeys","i","_extends","ownKeys","r","t","o","_objectSpread","_defineProperty","obj","value","_toPropertyKey","arg","_toPrimitive","input","hint","prim","res","Tree2Element","tree","node","React","GenIcon","data","props","IconBase","elem","conf","attr","size","title","svgProps","computedSize","className","IconContext","DefaultContext"],"mappings":"uIAAA,IAAIA,EAAY,CAAC,OAAQ,OAAQ,OAAO,EACxC,SAASC,EAAyBC,EAAQC,EAAU,CAAE,GAAID,GAAU,KAAM,MAAO,GAAI,IAAIE,EAASC,EAA8BH,EAAQC,CAAQ,EAAOG,EAAK,EAAG,GAAI,OAAO,sBAAuB,CAAE,IAAIC,EAAmB,OAAO,sBAAsBL,CAAM,EAAG,IAAK,EAAI,EAAG,EAAIK,EAAiB,OAAQ,IAAOD,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T,EAAKmB,EAAK,IAAI,EAAGF,EAAaE,EAAK,KAAK,CAAC,CAAC,CAC1C,CACO,SAASE,EAAQC,EAAM,CAE5B,OAAOC,GAAsBH,EAAM,cAAcI,EAAUvB,EAAS,CAClE,KAAMK,EAAc,GAAIgB,EAAK,IAAI,CAClC,EAAEC,CAAK,EAAGN,EAAaK,EAAK,KAAK,CAAC,CACrC,CACO,SAASE,EAASD,EAAO,CAC9B,IAAIE,EAAOC,GAAQ,CACjB,GAAI,CACA,KAAAC,EACA,KAAAC,EACA,MAAAC,CACR,EAAUN,EACJO,EAAWtC,EAAyB+B,EAAOhC,CAAS,EAClDwC,EAAeH,GAAQF,EAAK,MAAQ,MACpCM,EACJ,OAAIN,EAAK,YAAWM,EAAYN,EAAK,WACjCH,EAAM,YAAWS,GAAaA,EAAYA,EAAY,IAAM,IAAMT,EAAM,WACxDH,EAAM,cAAc,MAAOnB,EAAS,CACtD,OAAQ,eACR,KAAM,eACN,YAAa,GACd,EAAEyB,EAAK,KAAMC,EAAMG,EAAU,CAC5B,UAAWE,EACX,MAAO1B,EAAcA,EAAc,CACjC,MAAOiB,EAAM,OAASG,EAAK,KAC5B,EAAEA,EAAK,KAAK,EAAGH,EAAM,KAAK,EAC3B,OAAQQ,EACR,MAAOA,EACP,MAAO,4BACb,CAAK,EAAGF,GAAsBT,EAAM,cAAc,QAAS,KAAMS,CAAK,EAAGN,EAAM,QAAQ,CACvF,EACE,OAAOU,EAAW,cAAK,OAAyBb,EAAM,cAAca,EAAW,YAAC,SAAU,KAAMP,GAAQD,EAAKC,CAAI,CAAC,EAAID,EAAKS,EAAc,cAAA,CAC3I","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs67.js");function c(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const s=c(o),u=s.createContext(null);function i(){var e;const n=(e=o.useContext(u))===null||e===void 0?void 0:e.maps,t=o.useContext(a.MapContext);return o.useMemo(()=>({...n,current:t==null?void 0:t.map}),[n,t])}exports.MountedMapsContext=u;exports.useMap=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");var t={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=e.createContext&&e.createContext(t);exports.DefaultContext=t;exports.IconContext=n;
2
2
  //# sourceMappingURL=index.cjs75.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs75.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","useMap","_a","maps","useContext","currentMap","MapContext","useMemo"],"mappings":"iaAGaA,EAAqBC,EAAM,cAAc,IAAI,EA8BnD,SAASC,GAAS,CACjB,IAAAC,EACE,MAAAC,GAAQD,EAAKE,EAAW,WAAAL,CAAkB,KAAO,MAAQG,IAAO,OAAS,OAASA,EAAG,KACrFG,EAAaD,aAAWE,EAAAA,UAAU,EAIjC,OAHiBC,EAAAA,QAAQ,KACrB,CAAE,GAAGJ,EAAM,QAASE,GAAe,KAAgC,OAASA,EAAW,GAAI,GACnG,CAACF,EAAME,CAAU,CAAC,CAEzB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs75.js","sources":["../../../node_modules/react-icons/lib/iconContext.mjs"],"sourcesContent":["import React from \"react\";\nexport var DefaultContext = {\n color: undefined,\n size: undefined,\n className: undefined,\n style: undefined,\n attr: undefined\n};\nexport var IconContext = React.createContext && /*#__PURE__*/React.createContext(DefaultContext);"],"names":["DefaultContext","IconContext","React"],"mappings":"yGACU,IAACA,EAAiB,CAC1B,MAAO,OACP,KAAM,OACN,UAAW,OACX,MAAO,OACP,KAAM,MACR,EACWC,EAAcC,EAAM,eAA8BA,EAAM,cAAcF,CAAc","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs205.js");function u(o,i){for(var n=0;n<i.length;n++){const e=i[n];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in o)){const s=Object.getOwnPropertyDescriptor(e,t);s&&Object.defineProperty(o,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var a=r.__exports.printMsg=function(){console.log("This is a message from the demo package")};const c=u({__proto__:null,default:r.__exports,printMsg:a},[r.__exports]);exports.default=r.__exports;exports.index=c;exports.printMsg=a;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const y=require("./index.cjs24.js"),h=require("./index.cjs78.js"),g=require("./index.cjs79.js"),x=require("./index.cjs80.js"),b=require("./index.cjs81.js"),k=require("./index.cjs82.js"),O=require("./index.cjs83.js"),A=require("./index.cjs84.js"),S=require("./index.cjs85.js"),E=require("./index.cjs86.js"),w=require("./index.cjs87.js"),B=require("./index.cjs88.js"),I=require("./index.cjs89.js"),j=require("./index.cjs90.js"),v=require("./index.cjs91.js"),N=require("./index.cjs92.js"),z=require("./index.cjs25.js"),M=require("./index.cjs27.js"),R=require("./index.cjs93.js"),W=require("./index.cjs94.js"),D=require("./index.cjs95.js"),F=require("./index.cjs96.js"),K=require("./index.cjs97.js"),V=require("./index.cjs98.js"),P=require("./index.cjs29.js"),T=require("./index.cjs30.js"),_=require("./index.cjs31.js"),L=require("./index.cjs99.js"),U=require("./index.cjs100.js"),C=require("./index.cjs101.js"),G=require("./index.cjs102.js"),H=require("./index.cjs103.js"),J=require("./index.cjs104.js"),n=require("./index.cjs105.js"),Q=require("./index.cjs106.js"),s=require("./index.cjs107.js"),X=require("./index.cjs108.js"),Y=require("./index.cjs109.js"),Z=require("./index.cjs110.js"),$=require("./index.cjs111.js"),ee=require("./index.cjs112.js"),re=require("./index.cjs113.js"),ie=require("./index.cjs114.js"),te=require("./index.cjs115.js"),ne=require("./index.cjs116.js"),se=require("./index.cjs117.js"),oe=require("./index.cjs32.js"),ce=require("./index.cjs118.js"),ue=require("./index.cjs119.js"),o=require("./index.cjs120.js"),qe=require("./index.cjs121.js"),ae=require("./index.cjs122.js"),de=require("./index.cjs123.js"),le=require("./index.cjs34.js"),pe=require("./index.cjs35.js"),fe=require("./index.cjs36.js"),me=require("./index.cjs124.js"),ye=require("./index.cjs125.js"),he=require("./index.cjs126.js"),ge=require("./index.cjs127.js"),xe=require("./index.cjs33.js"),be=require("./index.cjs37.js"),ke=require("./index.cjs38.js"),Oe=require("./index.cjs39.js"),Ae=require("./index.cjs128.js"),Se=require("./index.cjs40.js"),Ee=require("./index.cjs41.js"),we=require("./index.cjs129.js"),Be=require("./index.cjs130.js"),Ie=require("./index.cjs131.js"),je=require("./index.cjs132.js"),ve=require("./index.cjs133.js"),Ne=require("./index.cjs134.js"),ze=require("./index.cjs135.js"),Me=require("./index.cjs42.js"),Re=require("./index.cjs136.js"),We=require("./index.cjs137.js"),De=require("./index.cjs138.js"),Fe=require("./index.cjs139.js"),Ke=require("./index.cjs140.js"),Ve=require("./index.cjs141.js"),c=require("./index.cjs142.js"),Pe=require("./index.cjs143.js"),u=require("./index.cjs144.js"),q=require("./index.cjs145.js"),e=require("./index.cjs146.js"),a=require("./index.cjs147.js"),d=require("./index.cjs148.js"),Te=require("./index.cjs149.js"),l=require("./index.cjs150.js"),p=require("./index.cjs151.js"),r=require("./index.cjs152.js"),_e=require("./index.cjs43.js"),Le=require("./index.cjs153.js"),Ue=require("./index.cjs154.js"),Ce=require("./index.cjs155.js"),Ge=require("./index.cjs156.js"),He=require("./index.cjs157.js"),Je=require("./index.cjs158.js"),Qe=require("./index.cjs159.js"),Xe=require("./index.cjs160.js"),Ye=require("./index.cjs161.js"),Ze=require("./index.cjs162.js"),$e=require("./index.cjs163.js"),er=require("./index.cjs164.js"),rr=require("./index.cjs165.js"),ir=require("./index.cjs44.js"),tr=require("./index.cjs45.js"),i=require("./index.cjs166.js"),nr=require("./index.cjs167.js"),sr=require("./index.cjs168.js"),t=require("./index.cjs169.js"),or=require("./index.cjs170.js"),cr=require("./index.cjs171.js"),ur=require("./index.cjs46.js"),f=require("./index.cjs172.js"),qr=require("./index.cjs47.js"),ar=require("./index.cjs173.js"),dr=require("./index.cjs48.js"),m=require("./index.cjs174.js"),lr=require("./index.cjs49.js"),pr=require("./index.cjs175.js"),fr=require("./index.cjs176.js"),mr=require("./index.cjs177.js"),yr=require("./index.cjs77.js");require("./index.cjs50.js");const hr=require("./index.cjs28.js");exports.VERSION=y.VERSION;exports.restArguments=h;exports.isObject=g;exports.isNull=x;exports.isUndefined=b;exports.isBoolean=k;exports.isElement=O;exports.isString=A;exports.isNumber=S;exports.isDate=E;exports.isRegExp=w;exports.isError=B;exports.isSymbol=I;exports.isArrayBuffer=j;exports.isDataView=v;exports.isArray=N;exports.isFunction=z;exports.isArguments=M;exports.isFinite=R;exports.isNaN=W;exports.isTypedArray=D;exports.isEmpty=F;exports.isMatch=K;exports.isEqual=V;exports.isMap=P;exports.isWeakMap=T;exports.isSet=_;exports.isWeakSet=L;exports.keys=U;exports.allKeys=C;exports.values=G;exports.pairs=H;exports.invert=J;exports.functions=n;exports.methods=n;exports.extend=Q;exports.assign=s;exports.extendOwn=s;exports.defaults=X;exports.create=Y;exports.clone=Z;exports.tap=$;exports.get=ee;exports.has=re;exports.mapObject=ie;exports.identity=te;exports.constant=ne;exports.noop=se;exports.toPath=oe;exports.property=ce;exports.propertyOf=ue;exports.matcher=o;exports.matches=o;exports.times=qe;exports.random=ae;exports.now=de;exports.escape=le;exports.unescape=pe;exports.templateSettings=fe;exports.template=me;exports.result=ye;exports.uniqueId=he;exports.chain=ge;exports.iteratee=xe;exports.partial=be;exports.bind=ke;exports.bindAll=Oe;exports.memoize=Ae;exports.delay=Se;exports.defer=Ee;exports.throttle=we;exports.debounce=Be;exports.wrap=Ie;exports.negate=je;exports.compose=ve;exports.after=Ne;exports.before=ze;exports.once=Me;exports.findKey=Re;exports.findIndex=We;exports.findLastIndex=De;exports.sortedIndex=Fe;exports.indexOf=Ke;exports.lastIndexOf=Ve;exports.detect=c;exports.find=c;exports.findWhere=Pe;exports.each=u;exports.forEach=u;exports.collect=q;exports.map=q;exports.foldl=e;exports.inject=e;exports.reduce=e;exports.foldr=a;exports.reduceRight=a;exports.filter=d;exports.select=d;exports.reject=Te;exports.all=l;exports.every=l;exports.any=p;exports.some=p;exports.contains=r;exports.include=r;exports.includes=r;exports.invoke=_e;exports.pluck=Le;exports.where=Ue;exports.max=Ce;exports.min=Ge;exports.shuffle=He;exports.sample=Je;exports.sortBy=Qe;exports.groupBy=Xe;exports.indexBy=Ye;exports.countBy=Ze;exports.partition=$e;exports.toArray=er;exports.size=rr;exports.pick=ir;exports.omit=tr;exports.first=i;exports.head=i;exports.take=i;exports.initial=nr;exports.last=sr;exports.drop=t;exports.rest=t;exports.tail=t;exports.compact=or;exports.flatten=cr;exports.without=ur;exports.uniq=f;exports.unique=f;exports.union=qr;exports.intersection=ar;exports.difference=dr;exports.transpose=m;exports.unzip=m;exports.zip=lr;exports.object=pr;exports.range=fr;exports.chunk=mr;exports.mixin=yr;exports.default=hr;
2
2
  //# sourceMappingURL=index.cjs76.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs76.js","sources":["../../../node_modules/mapbox-gl/index.js"],"sourcesContent":["exports.printMsg = function() {\r\n console.log(\"This is a message from the demo package\");\r\n }"],"names":["printMsg","mapboxGl"],"mappings":"ueAAA,IAAAA,EAAAC,EAAAA,UAAA,SAAmB,UAAW,CAC1B,QAAQ,IAAI,yCAAyC,CACvD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs76.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";const u=require("react"),m=require("./index.cjs67.js"),L=require("./index.cjs87.js"),s=require("./index.cjs86.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 r=require("./index.cjs28.js"),s=require("./index.cjs144.js"),i=require("./index.cjs105.js"),c=require("./index.cjs24.js"),o=require("./index.cjs231.js");function p(e){return s(i(e),function(t){var u=r[t]=e[t];r.prototype[t]=function(){var n=[this._wrapped];return c.push.apply(n,arguments),o(this,u.apply(r,n))}}),r}module.exports=p;
2
2
  //# sourceMappingURL=index.cjs77.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs77.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":"gIAKA,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.cjs77.js","sources":["../../../node_modules/underscore/modules/mixin.js"],"sourcesContent":["import _ from './underscore.js';\nimport each from './each.js';\nimport functions from './functions.js';\nimport { push } from './_setup.js';\nimport chainResult from './_chainResult.js';\n\n// Add your own custom functions to the Underscore object.\nexport default function mixin(obj) {\n each(functions(obj), function(name) {\n var func = _[name] = obj[name];\n _.prototype[name] = function() {\n var args = [this._wrapped];\n push.apply(args, arguments);\n return chainResult(this, func.apply(_, args));\n };\n });\n return _;\n}\n"],"names":["mixin","obj","each","functions","name","func","_","args","push","chainResult"],"mappings":"4KAOA,SAAwBA,EAAMC,EAAK,CACjC,OAAAC,EAAKC,EAAUF,CAAG,EAAG,SAASG,EAAM,CAClC,IAAIC,EAAOC,EAAEF,CAAI,EAAIH,EAAIG,CAAI,EAC3BE,EAAA,UAAUF,CAAI,EAAI,UAAW,CACzB,IAAAG,EAAO,CAAC,KAAK,QAAQ,EACpBC,OAAAA,EAAAA,KAAA,MAAMD,EAAM,SAAS,EACnBE,EAAY,KAAMJ,EAAK,MAAMC,EAAGC,CAAI,CAAC,CAAA,CAC9C,CACD,EACMD,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("react"),f=require("./index.cjs67.js"),d=require("./index.cjs87.js"),y=require("./index.cjs86.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(s,r){return r=r==null?s.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),a=Array(t),e=0;e<t;e++)a[e]=arguments[e+r];switch(r){case 0:return s.call(this,a);case 1:return s.call(this,arguments[0],a);case 2:return s.call(this,arguments[0],arguments[1],a)}var l=Array(r+1);for(e=0;e<r;e++)l[e]=arguments[e];return l[r]=a,s.apply(this,l)}}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs78.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs78.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":"0ZAMA,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,EAA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/modules/restArguments.js"],"sourcesContent":["// Some functions take a variable number of arguments, or a few expected\n// arguments at the beginning and then a variable number of values to operate\n// on. This helper accumulates all remaining arguments past the function’s\n// argument length (or an explicit `startIndex`), into an array that becomes\n// the last argument. Similar to ES6’s \"rest parameter\".\nexport default function restArguments(func, startIndex) {\n startIndex = startIndex == null ? func.length - 1 : +startIndex;\n return function() {\n var length = Math.max(arguments.length - startIndex, 0),\n rest = Array(length),\n index = 0;\n for (; index < length; index++) {\n rest[index] = arguments[index + startIndex];\n }\n switch (startIndex) {\n case 0: return func.call(this, rest);\n case 1: return func.call(this, arguments[0], rest);\n case 2: return func.call(this, arguments[0], arguments[1], rest);\n }\n var args = Array(startIndex + 1);\n for (index = 0; index < startIndex; index++) {\n args[index] = arguments[index];\n }\n args[startIndex] = rest;\n return func.apply(this, args);\n };\n}\n"],"names":["restArguments","func","startIndex","length","rest","index","args"],"mappings":"aAKwB,SAAAA,EAAcC,EAAMC,EAAY,CACtD,OAAAA,EAAaA,GAAc,KAAOD,EAAK,OAAS,EAAI,CAACC,EAC9C,UAAW,CAIT,QAHHC,EAAS,KAAK,IAAI,UAAU,OAASD,EAAY,CAAC,EAClDE,EAAO,MAAMD,CAAM,EACnBE,EAAQ,EACLA,EAAQF,EAAQE,IACrBD,EAAKC,CAAK,EAAI,UAAUA,EAAQH,CAAU,EAE5C,OAAQA,EAAY,CAClB,IAAK,GAAU,OAAAD,EAAK,KAAK,KAAMG,CAAI,EACnC,IAAK,GAAG,OAAOH,EAAK,KAAK,KAAM,UAAU,CAAC,EAAGG,CAAI,EACjD,IAAK,GAAU,OAAAH,EAAK,KAAK,KAAM,UAAU,CAAC,EAAG,UAAU,CAAC,EAAGG,CAAI,CACjE,CACI,IAAAE,EAAO,MAAMJ,EAAa,CAAC,EAC/B,IAAKG,EAAQ,EAAGA,EAAQH,EAAYG,IAC7BC,EAAAD,CAAK,EAAI,UAAUA,CAAK,EAE/B,OAAAC,EAAKJ,CAAU,EAAIE,EACZH,EAAK,MAAM,KAAMK,CAAI,CAAA,CAEhC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";function c(t){var e=typeof t;return e==="function"||e==="object"&&!!t}module.exports=c;
2
2
  //# sourceMappingURL=index.cjs79.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs79.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs79.js","sources":["../../../node_modules/underscore/modules/isObject.js"],"sourcesContent":["// Is a given variable an object?\nexport default function isObject(obj) {\n var type = typeof obj;\n return type === 'function' || (type === 'object' && !!obj);\n}\n"],"names":["isObject","obj","type"],"mappings":"aACA,SAAwBA,EAASC,EAAK,CACpC,IAAIC,EAAO,OAAOD,EAClB,OAAOC,IAAS,YAAeA,IAAS,UAAY,CAAC,CAACD,CACxD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";function u(t){return t===null}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs80.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs80.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs80.js","sources":["../../../node_modules/underscore/modules/isNull.js"],"sourcesContent":["// Is a given value equal to null?\nexport default function isNull(obj) {\n return obj === null;\n}\n"],"names":["isNull","obj"],"mappings":"aACA,SAAwBA,EAAOC,EAAK,CAClC,OAAOA,IAAQ,IACjB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const d=require("./index.cjs206.js"),p=require("./index.cjs207.js"),u=require("./index.cjs86.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";function i(e){return e===void 0}module.exports=i;
2
2
  //# sourceMappingURL=index.cjs81.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs81.js","sources":["../../../node_modules/react-map-gl/dist/esm/mapbox/mapbox.js"],"sourcesContent":["import { transformToViewState, applyViewStateToTransform, cloneTransform, syncProjection } from '../utils/transform';\nimport { normalizeStyle } from '../utils/style-utils';\nimport { deepEqual } from '../utils/deep-equal';\nconst DEFAULT_STYLE = { version: 8, sources: {}, layers: [] };\nconst pointerEvents = {\n mousedown: 'onMouseDown',\n mouseup: 'onMouseUp',\n mouseover: 'onMouseOver',\n mousemove: 'onMouseMove',\n click: 'onClick',\n dblclick: 'onDblClick',\n mouseenter: 'onMouseEnter',\n mouseleave: 'onMouseLeave',\n mouseout: 'onMouseOut',\n contextmenu: 'onContextMenu',\n touchstart: 'onTouchStart',\n touchend: 'onTouchEnd',\n touchmove: 'onTouchMove',\n touchcancel: 'onTouchCancel'\n};\nconst cameraEvents = {\n movestart: 'onMoveStart',\n move: 'onMove',\n moveend: 'onMoveEnd',\n dragstart: 'onDragStart',\n drag: 'onDrag',\n dragend: 'onDragEnd',\n zoomstart: 'onZoomStart',\n zoom: 'onZoom',\n zoomend: 'onZoomEnd',\n rotatestart: 'onRotateStart',\n rotate: 'onRotate',\n rotateend: 'onRotateEnd',\n pitchstart: 'onPitchStart',\n pitch: 'onPitch',\n pitchend: 'onPitchEnd'\n};\nconst otherEvents = {\n wheel: 'onWheel',\n boxzoomstart: 'onBoxZoomStart',\n boxzoomend: 'onBoxZoomEnd',\n boxzoomcancel: 'onBoxZoomCancel',\n resize: 'onResize',\n load: 'onLoad',\n render: 'onRender',\n idle: 'onIdle',\n remove: 'onRemove',\n data: 'onData',\n styledata: 'onStyleData',\n sourcedata: 'onSourceData',\n error: 'onError'\n};\nconst settingNames = [\n 'minZoom',\n 'maxZoom',\n 'minPitch',\n 'maxPitch',\n 'maxBounds',\n 'projection',\n 'renderWorldCopies'\n];\nconst handlerNames = [\n 'scrollZoom',\n 'boxZoom',\n 'dragRotate',\n 'dragPan',\n 'keyboard',\n 'doubleClickZoom',\n 'touchZoomRotate',\n 'touchPitch'\n];\n/**\n * A wrapper for mapbox-gl's Map class\n */\nexport default class Mapbox {\n constructor(MapClass, props, container) {\n // mapboxgl.Map instance\n this._map = null;\n // Internal states\n this._internalUpdate = false;\n this._inRender = false;\n this._hoveredFeatures = null;\n this._deferredEvents = {\n move: false,\n zoom: false,\n pitch: false,\n rotate: false\n };\n this._onEvent = (e) => {\n // @ts-ignore\n const cb = this.props[otherEvents[e.type]];\n if (cb) {\n cb(e);\n }\n else if (e.type === 'error') {\n console.error(e.error); // eslint-disable-line\n }\n };\n this._onPointerEvent = (e) => {\n if (e.type === 'mousemove' || e.type === 'mouseout') {\n this._updateHover(e);\n }\n // @ts-ignore\n const cb = this.props[pointerEvents[e.type]];\n if (cb) {\n if (this.props.interactiveLayerIds && e.type !== 'mouseover' && e.type !== 'mouseout') {\n e.features = this._hoveredFeatures || this._queryRenderedFeatures(e.point);\n }\n cb(e);\n delete e.features;\n }\n };\n this._onCameraEvent = (e) => {\n if (!this._internalUpdate) {\n // @ts-ignore\n const cb = this.props[cameraEvents[e.type]];\n if (cb) {\n cb(e);\n }\n }\n if (e.type in this._deferredEvents) {\n this._deferredEvents[e.type] = false;\n }\n };\n this._MapClass = MapClass;\n this.props = props;\n this._initialize(container);\n }\n get map() {\n return this._map;\n }\n get transform() {\n return this._renderTransform;\n }\n setProps(props) {\n const oldProps = this.props;\n this.props = props;\n const settingsChanged = this._updateSettings(props, oldProps);\n if (settingsChanged) {\n this._createShadowTransform(this._map);\n }\n const sizeChanged = this._updateSize(props);\n const viewStateChanged = this._updateViewState(props, true);\n this._updateStyle(props, oldProps);\n this._updateStyleComponents(props, oldProps);\n this._updateHandlers(props, oldProps);\n // If 1) view state has changed to match props and\n // 2) the props change is not triggered by map events,\n // it's driven by an external state change. Redraw immediately\n if (settingsChanged || sizeChanged || (viewStateChanged && !this._map.isMoving())) {\n this.redraw();\n }\n }\n static reuse(props, container) {\n const that = Mapbox.savedMaps.pop();\n if (!that) {\n return null;\n }\n const map = that.map;\n // When reusing the saved map, we need to reparent the map(canvas) and other child nodes\n // intoto the new container from the props.\n // Step 1: reparenting child nodes from old container to new container\n const oldContainer = map.getContainer();\n container.className = oldContainer.className;\n while (oldContainer.childNodes.length > 0) {\n container.appendChild(oldContainer.childNodes[0]);\n }\n // Step 2: replace the internal container with new container from the react component\n // @ts-ignore\n map._container = container;\n // With maplibre-gl as mapLib, map uses ResizeObserver to observe when its container resizes.\n // When reusing the saved map, we need to disconnect the observer and observe the new container.\n // Step 3: telling the ResizeObserver to disconnect and observe the new container\n // @ts-ignore\n const resizeObserver = map._resizeObserver;\n if (resizeObserver) {\n resizeObserver.disconnect();\n resizeObserver.observe(container);\n }\n // Step 4: apply new props\n that.setProps({ ...props, styleDiffing: false });\n map.resize();\n const { initialViewState } = props;\n if (initialViewState) {\n if (initialViewState.bounds) {\n map.fitBounds(initialViewState.bounds, { ...initialViewState.fitBoundsOptions, duration: 0 });\n }\n else {\n that._updateViewState(initialViewState, false);\n }\n }\n // Simulate load event\n if (map.isStyleLoaded()) {\n map.fire('load');\n }\n else {\n map.once('styledata', () => map.fire('load'));\n }\n // Force reload\n // @ts-ignore\n map._update();\n return that;\n }\n /* eslint-disable complexity,max-statements */\n _initialize(container) {\n const { props } = this;\n const { mapStyle = DEFAULT_STYLE } = props;\n const mapOptions = {\n ...props,\n ...props.initialViewState,\n accessToken: props.mapboxAccessToken || getAccessTokenFromEnv() || null,\n container,\n style: normalizeStyle(mapStyle)\n };\n const viewState = mapOptions.initialViewState || mapOptions.viewState || mapOptions;\n Object.assign(mapOptions, {\n center: [viewState.longitude || 0, viewState.latitude || 0],\n zoom: viewState.zoom || 0,\n pitch: viewState.pitch || 0,\n bearing: viewState.bearing || 0\n });\n if (props.gl) {\n // eslint-disable-next-line\n const getContext = HTMLCanvasElement.prototype.getContext;\n // Hijack canvas.getContext to return our own WebGLContext\n // This will be called inside the mapboxgl.Map constructor\n // @ts-expect-error\n HTMLCanvasElement.prototype.getContext = () => {\n // Unhijack immediately\n HTMLCanvasElement.prototype.getContext = getContext;\n return props.gl;\n };\n }\n const map = new this._MapClass(mapOptions);\n // Props that are not part of constructor options\n if (viewState.padding) {\n map.setPadding(viewState.padding);\n }\n if (props.cursor) {\n map.getCanvas().style.cursor = props.cursor;\n }\n this._createShadowTransform(map);\n // Hack\n // Insert code into map's render cycle\n const renderMap = map._render;\n map._render = (arg) => {\n this._inRender = true;\n renderMap.call(map, arg);\n this._inRender = false;\n };\n const runRenderTaskQueue = map._renderTaskQueue.run;\n map._renderTaskQueue.run = (arg) => {\n runRenderTaskQueue.call(map._renderTaskQueue, arg);\n this._onBeforeRepaint();\n };\n map.on('render', () => this._onAfterRepaint());\n // Insert code into map's event pipeline\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const fireEvent = map.fire;\n map.fire = this._fireEvent.bind(this, fireEvent);\n // add listeners\n map.on('resize', () => {\n this._renderTransform.resize(map.transform.width, map.transform.height);\n });\n map.on('styledata', () => {\n this._updateStyleComponents(this.props, {});\n // Projection can be set in stylesheet\n syncProjection(map.transform, this._renderTransform);\n });\n map.on('sourcedata', () => this._updateStyleComponents(this.props, {}));\n for (const eventName in pointerEvents) {\n map.on(eventName, this._onPointerEvent);\n }\n for (const eventName in cameraEvents) {\n map.on(eventName, this._onCameraEvent);\n }\n for (const eventName in otherEvents) {\n map.on(eventName, this._onEvent);\n }\n this._map = map;\n }\n /* eslint-enable complexity,max-statements */\n recycle() {\n // Clean up unnecessary elements before storing for reuse.\n const container = this.map.getContainer();\n const children = container.querySelector('[mapboxgl-children]');\n children === null || children === void 0 ? void 0 : children.remove();\n Mapbox.savedMaps.push(this);\n }\n destroy() {\n this._map.remove();\n }\n // Force redraw the map now. Typically resize() and jumpTo() is reflected in the next\n // render cycle, which is managed by Mapbox's animation loop.\n // This removes the synchronization issue caused by requestAnimationFrame.\n redraw() {\n const map = this._map;\n // map._render will throw error if style does not exist\n // https://github.com/mapbox/mapbox-gl-js/blob/fb9fc316da14e99ff4368f3e4faa3888fb43c513\n // /src/ui/map.js#L1834\n if (!this._inRender && map.style) {\n // cancel the scheduled update\n if (map._frame) {\n map._frame.cancel();\n map._frame = null;\n }\n // the order is important - render() may schedule another update\n map._render();\n }\n }\n _createShadowTransform(map) {\n const renderTransform = cloneTransform(map.transform);\n map.painter.transform = renderTransform;\n this._renderTransform = renderTransform;\n }\n /* Trigger map resize if size is controlled\n @param {object} nextProps\n @returns {bool} true if size has changed\n */\n _updateSize(nextProps) {\n // Check if size is controlled\n const { viewState } = nextProps;\n if (viewState) {\n const map = this._map;\n if (viewState.width !== map.transform.width || viewState.height !== map.transform.height) {\n map.resize();\n return true;\n }\n }\n return false;\n }\n // Adapted from map.jumpTo\n /* Update camera to match props\n @param {object} nextProps\n @param {bool} triggerEvents - should fire camera events\n @returns {bool} true if anything is changed\n */\n _updateViewState(nextProps, triggerEvents) {\n if (this._internalUpdate) {\n return false;\n }\n const map = this._map;\n const tr = this._renderTransform;\n // Take a snapshot of the transform before mutation\n const { zoom, pitch, bearing } = tr;\n const isMoving = map.isMoving();\n if (isMoving) {\n // All movement of the camera is done relative to the sea level\n tr.cameraElevationReference = 'sea';\n }\n const changed = applyViewStateToTransform(tr, {\n ...transformToViewState(map.transform),\n ...nextProps\n });\n if (isMoving) {\n // Reset camera reference\n tr.cameraElevationReference = 'ground';\n }\n if (changed && triggerEvents) {\n const deferredEvents = this._deferredEvents;\n // Delay DOM control updates to the next render cycle\n deferredEvents.move = true;\n deferredEvents.zoom || (deferredEvents.zoom = zoom !== tr.zoom);\n deferredEvents.rotate || (deferredEvents.rotate = bearing !== tr.bearing);\n deferredEvents.pitch || (deferredEvents.pitch = pitch !== tr.pitch);\n }\n // Avoid manipulating the real transform when interaction/animation is ongoing\n // as it would interfere with Mapbox's handlers\n if (!isMoving) {\n applyViewStateToTransform(map.transform, nextProps);\n }\n return changed;\n }\n /* Update camera constraints and projection settings to match props\n @param {object} nextProps\n @param {object} currProps\n @returns {bool} true if anything is changed\n */\n _updateSettings(nextProps, currProps) {\n const map = this._map;\n let changed = false;\n for (const propName of settingNames) {\n if (propName in nextProps && !deepEqual(nextProps[propName], currProps[propName])) {\n changed = true;\n const setter = map[`set${propName[0].toUpperCase()}${propName.slice(1)}`];\n setter === null || setter === void 0 ? void 0 : setter.call(map, nextProps[propName]);\n }\n }\n return changed;\n }\n /* Update map style to match props\n @param {object} nextProps\n @param {object} currProps\n @returns {bool} true if style is changed\n */\n _updateStyle(nextProps, currProps) {\n if (nextProps.cursor !== currProps.cursor) {\n this._map.getCanvas().style.cursor = nextProps.cursor || '';\n }\n if (nextProps.mapStyle !== currProps.mapStyle) {\n const { mapStyle = DEFAULT_STYLE, styleDiffing = true } = nextProps;\n const options = {\n diff: styleDiffing\n };\n if ('localIdeographFontFamily' in nextProps) {\n // @ts-ignore Mapbox specific prop\n options.localIdeographFontFamily = nextProps.localIdeographFontFamily;\n }\n this._map.setStyle(normalizeStyle(mapStyle), options);\n return true;\n }\n return false;\n }\n /* Update fog, light and terrain to match props\n @param {object} nextProps\n @param {object} currProps\n @returns {bool} true if anything is changed\n */\n _updateStyleComponents(nextProps, currProps) {\n const map = this._map;\n let changed = false;\n if (map.isStyleLoaded()) {\n if ('light' in nextProps && map.setLight && !deepEqual(nextProps.light, currProps.light)) {\n changed = true;\n map.setLight(nextProps.light);\n }\n if ('fog' in nextProps && map.setFog && !deepEqual(nextProps.fog, currProps.fog)) {\n changed = true;\n map.setFog(nextProps.fog);\n }\n if ('terrain' in nextProps &&\n map.setTerrain &&\n !deepEqual(nextProps.terrain, currProps.terrain)) {\n if (!nextProps.terrain || map.getSource(nextProps.terrain.source)) {\n changed = true;\n map.setTerrain(nextProps.terrain);\n }\n }\n }\n return changed;\n }\n /* Update interaction handlers to match props\n @param {object} nextProps\n @param {object} currProps\n @returns {bool} true if anything is changed\n */\n _updateHandlers(nextProps, currProps) {\n var _a, _b;\n const map = this._map;\n let changed = false;\n for (const propName of handlerNames) {\n const newValue = (_a = nextProps[propName]) !== null && _a !== void 0 ? _a : true;\n const oldValue = (_b = currProps[propName]) !== null && _b !== void 0 ? _b : true;\n if (!deepEqual(newValue, oldValue)) {\n changed = true;\n if (newValue) {\n map[propName].enable(newValue);\n }\n else {\n map[propName].disable();\n }\n }\n }\n return changed;\n }\n _queryRenderedFeatures(point) {\n const map = this._map;\n const tr = map.transform;\n const { interactiveLayerIds = [] } = this.props;\n try {\n map.transform = this._renderTransform;\n return map.queryRenderedFeatures(point, {\n layers: interactiveLayerIds.filter(map.getLayer.bind(map))\n });\n }\n catch (_a) {\n // May fail if style is not loaded\n return [];\n }\n finally {\n map.transform = tr;\n }\n }\n _updateHover(e) {\n var _a;\n const { props } = this;\n const shouldTrackHoveredFeatures = props.interactiveLayerIds && (props.onMouseMove || props.onMouseEnter || props.onMouseLeave);\n if (shouldTrackHoveredFeatures) {\n const eventType = e.type;\n const wasHovering = ((_a = this._hoveredFeatures) === null || _a === void 0 ? void 0 : _a.length) > 0;\n const features = this._queryRenderedFeatures(e.point);\n const isHovering = features.length > 0;\n if (!isHovering && wasHovering) {\n e.type = 'mouseleave';\n this._onPointerEvent(e);\n }\n this._hoveredFeatures = features;\n if (isHovering && !wasHovering) {\n e.type = 'mouseenter';\n this._onPointerEvent(e);\n }\n e.type = eventType;\n }\n else {\n this._hoveredFeatures = null;\n }\n }\n _fireEvent(baseFire, event, properties) {\n const map = this._map;\n const tr = map.transform;\n const eventType = typeof event === 'string' ? event : event.type;\n if (eventType === 'move') {\n this._updateViewState(this.props, false);\n }\n if (eventType in cameraEvents) {\n if (typeof event === 'object') {\n event.viewState = transformToViewState(tr);\n }\n if (this._map.isMoving()) {\n // Replace map.transform with ours during the callbacks\n map.transform = this._renderTransform;\n baseFire.call(map, event, properties);\n map.transform = tr;\n return map;\n }\n }\n baseFire.call(map, event, properties);\n return map;\n }\n // All camera manipulations are complete, ready to repaint\n _onBeforeRepaint() {\n const map = this._map;\n // If there are camera changes driven by props, invoke camera events so that DOM controls are synced\n this._internalUpdate = true;\n for (const eventType in this._deferredEvents) {\n if (this._deferredEvents[eventType]) {\n map.fire(eventType);\n }\n }\n this._internalUpdate = false;\n const tr = this._map.transform;\n // Make sure camera matches the current props\n map.transform = this._renderTransform;\n this._onAfterRepaint = () => {\n // Mapbox transitions between non-mercator projection and mercator during render time\n // Copy it back to the other\n syncProjection(this._renderTransform, tr);\n // Restores camera state before render/load events are fired\n map.transform = tr;\n };\n }\n}\nMapbox.savedMaps = [];\n/**\n * Access token can be provided via one of:\n * mapboxAccessToken prop\n * access_token query parameter\n * MapboxAccessToken environment variable\n * REACT_APP_MAPBOX_ACCESS_TOKEN environment variable\n * @returns access token\n */\nfunction getAccessTokenFromEnv() {\n let accessToken = null;\n /* global location, process */\n if (typeof location !== 'undefined') {\n const match = /access_token=([^&\\/]*)/.exec(location.search);\n accessToken = match && match[1];\n }\n // Note: This depends on bundler plugins (e.g. webpack) importing environment correctly\n try {\n accessToken = accessToken || process.env.MapboxAccessToken;\n }\n catch (_a) {\n // ignore\n }\n try {\n accessToken = accessToken || process.env.REACT_APP_MAPBOX_ACCESS_TOKEN;\n }\n catch (_b) {\n // ignore\n }\n return accessToken;\n}\n//# sourceMappingURL=mapbox.js.map"],"names":["DEFAULT_STYLE","pointerEvents","cameraEvents","otherEvents","settingNames","handlerNames","Mapbox","MapClass","props","container","e","cb","oldProps","settingsChanged","sizeChanged","viewStateChanged","that","map","oldContainer","resizeObserver","initialViewState","mapStyle","mapOptions","getAccessTokenFromEnv","normalizeStyle","viewState","getContext","renderMap","arg","runRenderTaskQueue","fireEvent","syncProjection","eventName","children","renderTransform","cloneTransform","nextProps","triggerEvents","tr","zoom","pitch","bearing","isMoving","changed","applyViewStateToTransform","transformToViewState","deferredEvents","currProps","propName","deepEqual","setter","styleDiffing","options","_a","_b","newValue","oldValue","point","interactiveLayerIds","eventType","wasHovering","features","isHovering","baseFire","event","properties","accessToken","match"],"mappings":"+GAGMA,EAAgB,CAAE,QAAS,EAAG,QAAS,GAAI,OAAQ,CAAA,GACnDC,EAAgB,CAClB,UAAW,cACX,QAAS,YACT,UAA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EAAA,UAAYnB,uBAAqBP,CAAE,GAEzC,KAAK,KAAK,aAEVrB,EAAI,UAAY,KAAK,iBACZ8C,EAAA,KAAK9C,EAAK+C,EAAOC,CAAU,EACpChD,EAAI,UAAYqB,EACTrB,IAGN8C,EAAA,KAAK9C,EAAK+C,EAAOC,CAAU,EAC7BhD,EACX,CAEA,kBAAmB,CACf,MAAMA,EAAM,KAAK,KAEjB,KAAK,gBAAkB,GACZ,UAAA0C,KAAa,KAAK,gBACrB,KAAK,gBAAgBA,CAAS,GAC9B1C,EAAI,KAAK0C,CAAS,EAG1B,KAAK,gBAAkB,GACjB,MAAArB,EAAK,KAAK,KAAK,UAErBrB,EAAI,UAAY,KAAK,iBACrB,KAAK,gBAAkB,IAAM,CAGVc,EAAAA,eAAA,KAAK,iBAAkBO,CAAE,EAExCrB,EAAI,UAAYqB,CAAA,CAExB,CACJ,CACAhC,EAAO,UAAY,CAAA,EASnB,SAASiB,GAAwB,CAC7B,IAAI2C,EAAc,KAEd,GAAA,OAAO,SAAa,IAAa,CACjC,MAAMC,EAAQ,yBAAyB,KAAK,SAAS,MAAM,EAC7CD,EAAAC,GAASA,EAAM,CAAC,CAClC,CAEI,GAAA,CACcD,EAAAA,GAAe,QAAQ,IAAI,uBAElC,CAEX,CACI,GAAA,CACcA,EAAAA,GAAe,QAAQ,IAAI,mCAElC,CAEX,CACO,OAAAA,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs81.js","sources":["../../../node_modules/underscore/modules/isUndefined.js"],"sourcesContent":["// Is a given variable undefined?\nexport default function isUndefined(obj) {\n return obj === void 0;\n}\n"],"names":["isUndefined","obj"],"mappings":"aACA,SAAwBA,EAAYC,EAAK,CACvC,OAAOA,IAAQ,MACjB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const i=["setMaxBounds","setMinZoom","setMaxZoom","setMinPitch","setMaxPitch","setRenderWorldCopies","setProjection","setStyle","addSource","removeSource","addLayer","removeLayer","setLayerZoomRange","setFilter","setPaintProperty","setLayoutProperty","setLight","setTerrain","setFog","remove"];function u(e){if(!e)return null;const r=e.map,o={getMap:()=>r,getCenter:()=>e.transform.center,getZoom:()=>e.transform.zoom,getBearing:()=>e.transform.bearing,getPitch:()=>e.transform.pitch,getPadding:()=>e.transform.padding,getBounds:()=>e.transform.getBounds(),project:t=>{const s=r.transform;r.transform=e.transform;const n=r.project(t);return r.transform=s,n},unproject:t=>{const s=r.transform;r.transform=e.transform;const n=r.unproject(t);return r.transform=s,n},queryTerrainElevation:(t,s)=>{const n=r.transform;r.transform=e.transform;const f=r.queryTerrainElevation(t,s);return r.transform=n,f},queryRenderedFeatures:(t,s)=>{const n=r.transform;r.transform=e.transform;const f=r.queryRenderedFeatures(t,s);return r.transform=n,f}};for(const t of a(r))!(t in o)&&!i.includes(t)&&(o[t]=r[t].bind(r));return o}function a(e){const r=new Set;let o=e;for(;o;){for(const t of Object.getOwnPropertyNames(o))t[0]!=="_"&&typeof e[t]=="function"&&t!=="fire"&&t!=="setEventedParent"&&r.add(t);o=Object.getPrototypeOf(o)}return Array.from(r)}module.exports=u;
1
+ "use strict";const t=require("./index.cjs24.js");function r(e){return e===!0||e===!1||t.toString.call(e)==="[object Boolean]"}module.exports=r;
2
2
  //# sourceMappingURL=index.cjs82.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs82.js","sources":["../../../node_modules/react-map-gl/dist/esm/mapbox/create-ref.js"],"sourcesContent":["/** These methods may break the react binding if called directly */\nconst skipMethods = [\n 'setMaxBounds',\n 'setMinZoom',\n 'setMaxZoom',\n 'setMinPitch',\n 'setMaxPitch',\n 'setRenderWorldCopies',\n 'setProjection',\n 'setStyle',\n 'addSource',\n 'removeSource',\n 'addLayer',\n 'removeLayer',\n 'setLayerZoomRange',\n 'setFilter',\n 'setPaintProperty',\n 'setLayoutProperty',\n 'setLight',\n 'setTerrain',\n 'setFog',\n 'remove'\n];\nexport default function createRef(mapInstance) {\n if (!mapInstance) {\n return null;\n }\n const map = mapInstance.map;\n const result = {\n getMap: () => map,\n // Overwrite getters to use our shadow transform\n getCenter: () => mapInstance.transform.center,\n getZoom: () => mapInstance.transform.zoom,\n getBearing: () => mapInstance.transform.bearing,\n getPitch: () => mapInstance.transform.pitch,\n getPadding: () => mapInstance.transform.padding,\n getBounds: () => mapInstance.transform.getBounds(),\n project: (lnglat) => {\n const tr = map.transform;\n map.transform = mapInstance.transform;\n const result = map.project(lnglat);\n map.transform = tr;\n return result;\n },\n unproject: (point) => {\n const tr = map.transform;\n map.transform = mapInstance.transform;\n const result = map.unproject(point);\n map.transform = tr;\n return result;\n },\n // options diverge between mapbox and maplibre\n queryTerrainElevation: (lnglat, options) => {\n const tr = map.transform;\n map.transform = mapInstance.transform;\n const result = map.queryTerrainElevation(lnglat, options);\n map.transform = tr;\n return result;\n },\n queryRenderedFeatures: (geometry, options) => {\n const tr = map.transform;\n map.transform = mapInstance.transform;\n const result = map.queryRenderedFeatures(geometry, options);\n map.transform = tr;\n return result;\n }\n };\n for (const key of getMethodNames(map)) {\n // @ts-expect-error\n if (!(key in result) && !skipMethods.includes(key)) {\n result[key] = map[key].bind(map);\n }\n }\n return result;\n}\nfunction getMethodNames(obj) {\n const result = new Set();\n let proto = obj;\n while (proto) {\n for (const key of Object.getOwnPropertyNames(proto)) {\n if (key[0] !== '_' &&\n typeof obj[key] === 'function' &&\n key !== 'fire' &&\n key !== 'setEventedParent') {\n result.add(key);\n }\n }\n proto = Object.getPrototypeOf(proto);\n }\n return Array.from(result);\n}\n//# sourceMappingURL=create-ref.js.map"],"names":["skipMethods","createRef","mapInstance","map","result","lnglat","tr","point","options","geometry","key","getMethodNames","obj","proto"],"mappings":"aACA,MAAMA,EAAc,CAChB,eACA,aACA,aACA,cACA,cACA,uBACA,gBACA,WACA,YACA,eACA,WACA,cACA,oBACA,YACA,mBACA,oBACA,WACA,aACA,SACA,QACJ,EACA,SAAwBC,EAAUC,EAAa,CAC3C,GAAI,CAACA,EACM,OAAA,KA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AG,GAAM,YACpBA,IAAQ,QACRA,IAAQ,oBACRN,EAAO,IAAIM,CAAG,EAGdG,EAAA,OAAO,eAAeA,CAAK,CACvC,CACO,OAAA,MAAM,KAAKT,CAAM,CAC5B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs82.js","sources":["../../../node_modules/underscore/modules/isBoolean.js"],"sourcesContent":["import { toString } from './_setup.js';\n\n// Is a given value a boolean?\nexport default function isBoolean(obj) {\n return obj === true || obj === false || toString.call(obj) === '[object Boolean]';\n}\n"],"names":["isBoolean","obj","toString"],"mappings":"iDAGA,SAAwBA,EAAUC,EAAK,CACrC,OAAOA,IAAQ,IAAQA,IAAQ,IAASC,EAAAA,SAAS,KAAKD,CAAG,IAAM,kBACjE","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),t=typeof document<"u"?e.useLayoutEffect:e.useEffect;module.exports=t;
1
+ "use strict";function t(e){return!!(e&&e.nodeType===1)}module.exports=t;
2
2
  //# sourceMappingURL=index.cjs83.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs83.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/use-isomorphic-layout-effect.js"],"sourcesContent":["// From https://github.com/streamich/react-use/blob/master/src/useIsomorphicLayoutEffect.ts\n// useLayoutEffect but does not trigger warning in server-side rendering\nimport { useEffect, useLayoutEffect } from 'react';\nconst useIsomorphicLayoutEffect = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\nexport default useIsomorphicLayoutEffect;\n//# sourceMappingURL=use-isomorphic-layout-effect.js.map"],"names":["useIsomorphicLayoutEffect","useLayoutEffect","useEffect"],"mappings":"sCAGMA,EAA4B,OAAO,SAAa,IAAcC,kBAAkBC,EAAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs83.js","sources":["../../../node_modules/underscore/modules/isElement.js"],"sourcesContent":["// Is a given value a DOM element?\nexport default function isElement(obj) {\n return !!(obj && obj.nodeType === 1);\n}\n"],"names":["isElement","obj"],"mappings":"aACA,SAAwBA,EAAUC,EAAK,CACrC,MAAO,CAAC,EAAEA,GAAOA,EAAI,WAAa,EACpC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const o=["baseApiUrl","maxParallelImageRequests","workerClass","workerCount","workerUrl"];function a(e,l){for(const t of o)t in l&&(e[t]=l[t]);const{RTLTextPlugin:s="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js"}=l;s&&e.getRTLTextPluginStatus&&e.getRTLTextPluginStatus()==="unavailable"&&e.setRTLTextPlugin(s,t=>{t&&console.error(t)},!0)}module.exports=a;
1
+ "use strict";const t=require("./index.cjs205.js"),r=t("String");module.exports=r;
2
2
  //# sourceMappingURL=index.cjs84.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs84.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/set-globals.js"],"sourcesContent":["const globalSettings = [\n 'baseApiUrl',\n 'maxParallelImageRequests',\n 'workerClass',\n 'workerCount',\n 'workerUrl'\n];\nexport default function setGlobals(mapLib, props) {\n for (const key of globalSettings) {\n if (key in props) {\n mapLib[key] = props[key];\n }\n }\n const { RTLTextPlugin = 'https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js' } = props;\n if (RTLTextPlugin &&\n mapLib.getRTLTextPluginStatus &&\n mapLib.getRTLTextPluginStatus() === 'unavailable') {\n mapLib.setRTLTextPlugin(RTLTextPlugin, (error) => {\n if (error) {\n // eslint-disable-next-line\n console.error(error);\n }\n }, true);\n }\n}\n//# sourceMappingURL=set-globals.js.map"],"names":["globalSettings","setGlobals","mapLib","props","key","RTLTextPlugin","error"],"mappings":"aAAA,MAAMA,EAAiB,CACnB,aACA,2BACA,cACA,cACA,WACJ,EACwB,SAAAC,EAAWC,EAAQC,EAAO,CAC9C,UAAWC,KAAOJ,EACVI,KAAOD,IACAD,EAAAE,CAAG,EAAID,EAAMC,CAAG,GAGzB,KAAA,CAAE,cAAAC,EAAgB,6FAAkG,EAAAF,EACtHE,GACAH,EAAO,wBACPA,EAAO,2BAA6B,eAC7BA,EAAA,iBAAiBG,EAAgBC,GAAU,CAC1CA,GAEA,QAAQ,MAAMA,CAAK,GAExB,EAAI,CAEf","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs84.js","sources":["../../../node_modules/underscore/modules/isString.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('String');\n"],"names":["tagTester"],"mappings":"kDAEeA,EAAAA,EAAU,QAAQ","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=/box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;function r(n,t){if(!n||!t)return;const o=n.style;for(const e in t){const i=t[e];Number.isFinite(i)&&!l.test(e)?o[e]=`${i}px`:o[e]=i}}exports.applyReactStyle=r;
1
+ "use strict";const e=require("./index.cjs205.js"),r=e("Number");module.exports=r;
2
2
  //# sourceMappingURL=index.cjs85.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs85.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/apply-react-style.js"],"sourcesContent":["// This is a simplified version of\n// https://github.com/facebook/react/blob/4131af3e4bf52f3a003537ec95a1655147c81270/src/renderers/dom/shared/CSSPropertyOperations.js#L62\nconst unitlessNumber = /box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;\nexport function applyReactStyle(element, styles) {\n if (!element || !styles) {\n return;\n }\n const style = element.style;\n for (const key in styles) {\n const value = styles[key];\n if (Number.isFinite(value) && !unitlessNumber.test(key)) {\n style[key] = `${value}px`;\n }\n else {\n style[key] = value;\n }\n }\n}\n//# sourceMappingURL=apply-react-style.js.map"],"names":["unitlessNumber","applyReactStyle","element","styles","style","key","value"],"mappings":"gFAEA,MAAMA,EAAiB,0EACP,SAAAC,EAAgBC,EAASC,EAAQ,CACzC,GAAA,CAACD,GAAW,CAACC,EACb,OAEJ,MAAMC,EAAQF,EAAQ,MACtB,UAAWG,KAAOF,EAAQ,CAChB,MAAAG,EAAQH,EAAOE,CAAG,EACpB,OAAO,SAASC,CAAK,GAAK,CAACN,EAAe,KAAKK,CAAG,EAC5CD,EAAAC,CAAG,EAAI,GAAGC,CAAK,KAGrBF,EAAMC,CAAG,EAAIC,CAErB,CACJ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs85.js","sources":["../../../node_modules/underscore/modules/isNumber.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Number');\n"],"names":["tagTester"],"mappings":"kDAEeA,EAAAA,EAAU,QAAQ","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e,r){const t=Array.isArray(e)?e[0]:e?e.x:0,s=Array.isArray(e)?e[1]:e?e.y:0,n=Array.isArray(r)?r[0]:r?r.x:0,f=Array.isArray(r)?r[1]:r?r.y:0;return t===n&&s===f}function y(e,r){if(e===r)return!0;if(!e||!r)return!1;if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;for(let t=0;t<e.length;t++)if(!y(e[t],r[t]))return!1;return!0}else if(Array.isArray(r))return!1;if(typeof e=="object"&&typeof r=="object"){const t=Object.keys(e),s=Object.keys(r);if(t.length!==s.length)return!1;for(const n of t)if(!r.hasOwnProperty(n)||!y(e[n],r[n]))return!1;return!0}return!1}exports.arePointsEqual=i;exports.deepEqual=y;
1
+ "use strict";const t=require("./index.cjs205.js"),e=t("Date");module.exports=e;
2
2
  //# sourceMappingURL=index.cjs86.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs86.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/deep-equal.js"],"sourcesContent":["/**\n * Compare two points\n * @param a\n * @param b\n * @returns true if the points are equal\n */\nexport function arePointsEqual(a, b) {\n const ax = Array.isArray(a) ? a[0] : a ? a.x : 0;\n const ay = Array.isArray(a) ? a[1] : a ? a.y : 0;\n const bx = Array.isArray(b) ? b[0] : b ? b.x : 0;\n const by = Array.isArray(b) ? b[1] : b ? b.y : 0;\n return ax === bx && ay === by;\n}\n/* eslint-disable complexity */\n/**\n * Compare any two objects\n * @param a\n * @param b\n * @returns true if the objects are deep equal\n */\nexport function deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (!a || !b) {\n return false;\n }\n if (Array.isArray(a)) {\n if (!Array.isArray(b) || a.length !== b.length) {\n return false;\n }\n for (let i = 0; i < a.length; i++) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n else if (Array.isArray(b)) {\n return false;\n }\n if (typeof a === 'object' && typeof b === 'object') {\n const aKeys = Object.keys(a);\n const bKeys = Object.keys(b);\n if (aKeys.length !== bKeys.length) {\n return false;\n }\n for (const key of aKeys) {\n if (!b.hasOwnProperty(key)) {\n return false;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return false;\n}\n//# sourceMappingURL=deep-equal.js.map"],"names":["arePointsEqual","a","b","ax","ay","bx","by","deepEqual","i","aKeys","bKeys","key"],"mappings":"gFAMgB,SAAAA,EAAeC,EAAGC,EAAG,CAC3B,MAAAC,EAAK,MAAM,QAAQF,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCG,EAAK,MAAM,QAAQH,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCI,EAAK,MAAM,QAAQH,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCI,EAAK,MAAM,QAAQJ,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACxC,OAAAC,IAAOE,GAAMD,IAAOE,CAC/B,CAQgB,SAAAC,EAAUN,EAAGC,EAAG,CAC5B,GAAID,IAAMC,EACC,MAAA,GAEP,GAAA,CAACD,GAAK,CAACC,EACA,MAAA,GAEP,GAAA,MAAM,QAAQD,CAAC,EAAG,CACd,GAAA,CAAC,MAAM,QAAQC,CAAC,GAAKD,EAAE,SAAWC,EAAE,OAC7B,MAAA,GAEX,QAASM,EAAI,EAAGA,EAAIP,EAAE,OAAQO,IACtB,GAAA,CAACD,EAAUN,EAAEO,CAAC,EAAGN,EAAEM,CAAC,CAAC,EACd,MAAA,GAGR,MAAA,EAEF,SAAA,MAAM,QAAQN,CAAC,EACb,MAAA,GAEX,GAAI,OAAOD,GAAM,UAAY,OAAOC,GAAM,SAAU,CAC1C,MAAAO,EAAQ,OAAO,KAAKR,CAAC,EACrBS,EAAQ,OAAO,KAAKR,CAAC,EACvB,GAAAO,EAAM,SAAWC,EAAM,OAChB,MAAA,GAEX,UAAWC,KAAOF,EAIV,GAHA,CAACP,EAAE,eAAeS,CAAG,GAGrB,CAACJ,EAAUN,EAAEU,CAAG,EAAGT,EAAES,CAAG,CAAC,EAClB,MAAA,GAGR,MAAA,EACX,CACO,MAAA,EACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs86.js","sources":["../../../node_modules/underscore/modules/isDate.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Date');\n"],"names":["tagTester"],"mappings":"kDAEeA,EAAAA,EAAU,MAAM","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function s(r,t){if(!r)throw new Error(t)}module.exports=s;
1
+ "use strict";const e=require("./index.cjs205.js"),s=e("RegExp");module.exports=s;
2
2
  //# sourceMappingURL=index.cjs87.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs87.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/assert.js"],"sourcesContent":["export default function assert(condition, message) {\n if (!condition) {\n throw new Error(message);\n }\n}\n//# sourceMappingURL=assert.js.map"],"names":["assert","condition","message"],"mappings":"aAAwB,SAAAA,EAAOC,EAAWC,EAAS,CAC/C,GAAI,CAACD,EACK,MAAA,IAAI,MAAMC,CAAO,CAE/B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs87.js","sources":["../../../node_modules/underscore/modules/isRegExp.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('RegExp');\n"],"names":["tagTester"],"mappings":"kDAEeA,EAAAA,EAAU,QAAQ","x_google_ignoreList":[0]}