@performant-software/geospatial 3.0.6-beta.15 → 3.0.6-beta.2

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 (475) hide show
  1. package/dist/index.cjs101.js +1 -1
  2. package/dist/index.cjs102.js +1 -1
  3. package/dist/index.cjs104.js +1 -1
  4. package/dist/index.cjs105.js +1 -1
  5. package/dist/index.cjs106.js +1 -1
  6. package/dist/index.cjs107.js +1 -1
  7. package/dist/index.cjs112.js +1 -1
  8. package/dist/index.cjs113.js +1 -1
  9. package/dist/index.cjs114.js +1 -1
  10. package/dist/index.cjs115.js +1 -1
  11. package/dist/index.cjs118.js +1 -1
  12. package/dist/index.cjs119.js +1 -1
  13. package/dist/index.cjs120.js +1 -1
  14. package/dist/index.cjs124.js +1 -1
  15. package/dist/index.cjs127.js +1 -1
  16. package/dist/index.cjs131.js +1 -1
  17. package/dist/index.cjs134.js +1 -1
  18. package/dist/index.cjs14.js +1 -1
  19. package/dist/index.cjs142.js +1 -1
  20. package/dist/index.cjs143.js +1 -1
  21. package/dist/index.cjs144.js +1 -1
  22. package/dist/index.cjs145.js +1 -1
  23. package/dist/index.cjs146.js +1 -1
  24. package/dist/index.cjs147.js +1 -1
  25. package/dist/index.cjs148.js +1 -1
  26. package/dist/index.cjs15.js +1 -1
  27. package/dist/index.cjs150.js +1 -1
  28. package/dist/index.cjs151.js +1 -1
  29. package/dist/index.cjs152.js +1 -1
  30. package/dist/index.cjs153.js +1 -1
  31. package/dist/index.cjs154.js +1 -1
  32. package/dist/index.cjs155.js +1 -1
  33. package/dist/index.cjs156.js +1 -1
  34. package/dist/index.cjs157.js +1 -1
  35. package/dist/index.cjs158.js +1 -1
  36. package/dist/index.cjs16.js +1 -1
  37. package/dist/index.cjs161.js +1 -1
  38. package/dist/index.cjs162.js +1 -1
  39. package/dist/index.cjs164.js +1 -1
  40. package/dist/index.cjs165.js +1 -1
  41. package/dist/index.cjs166.js +1 -1
  42. package/dist/index.cjs167.js +1 -1
  43. package/dist/index.cjs168.js +1 -1
  44. package/dist/index.cjs169.js +1 -1
  45. package/dist/index.cjs17.js +1 -1
  46. package/dist/index.cjs170.js +1 -1
  47. package/dist/index.cjs171.js +1 -1
  48. package/dist/index.cjs177.js +1 -1
  49. package/dist/index.cjs178.js +1 -1
  50. package/dist/index.cjs179.js +1 -1
  51. package/dist/index.cjs180.js +1 -1
  52. package/dist/index.cjs181.js +1 -1
  53. package/dist/index.cjs184.js +1 -1
  54. package/dist/index.cjs184.js.map +1 -1
  55. package/dist/index.cjs185.js +1 -1
  56. package/dist/index.cjs185.js.map +1 -1
  57. package/dist/index.cjs186.js +4 -1
  58. package/dist/index.cjs186.js.map +1 -1
  59. package/dist/index.cjs187.js +1 -1
  60. package/dist/index.cjs187.js.map +1 -1
  61. package/dist/index.cjs188.js +1 -1
  62. package/dist/index.cjs188.js.map +1 -1
  63. package/dist/index.cjs189.js +1 -1
  64. package/dist/index.cjs189.js.map +1 -1
  65. package/dist/index.cjs19.js +1 -1
  66. package/dist/index.cjs190.js +1 -1
  67. package/dist/index.cjs190.js.map +1 -1
  68. package/dist/index.cjs191.js +1 -1
  69. package/dist/index.cjs191.js.map +1 -1
  70. package/dist/index.cjs192.js +1 -1
  71. package/dist/index.cjs192.js.map +1 -1
  72. package/dist/index.cjs193.js +1 -4
  73. package/dist/index.cjs193.js.map +1 -1
  74. package/dist/index.cjs194.js +1 -1
  75. package/dist/index.cjs194.js.map +1 -1
  76. package/dist/index.cjs195.js +1 -1
  77. package/dist/index.cjs195.js.map +1 -1
  78. package/dist/index.cjs196.js +1 -1
  79. package/dist/index.cjs196.js.map +1 -1
  80. package/dist/index.cjs197.js +1 -1
  81. package/dist/index.cjs197.js.map +1 -1
  82. package/dist/index.cjs198.js +1 -1
  83. package/dist/index.cjs198.js.map +1 -1
  84. package/dist/index.cjs199.js +1 -1
  85. package/dist/index.cjs199.js.map +1 -1
  86. package/dist/index.cjs200.js +1 -1
  87. package/dist/index.cjs200.js.map +1 -1
  88. package/dist/index.cjs201.js +1 -1
  89. package/dist/index.cjs201.js.map +1 -1
  90. package/dist/index.cjs202.js +1 -1
  91. package/dist/index.cjs202.js.map +1 -1
  92. package/dist/index.cjs203.js +1 -1
  93. package/dist/index.cjs203.js.map +1 -1
  94. package/dist/index.cjs204.js +1 -1
  95. package/dist/index.cjs204.js.map +1 -1
  96. package/dist/index.cjs205.js +1 -1
  97. package/dist/index.cjs205.js.map +1 -1
  98. package/dist/index.cjs207.js +1 -1
  99. package/dist/index.cjs207.js.map +1 -1
  100. package/dist/index.cjs208.js +1 -1
  101. package/dist/index.cjs208.js.map +1 -1
  102. package/dist/index.cjs209.js +1 -1
  103. package/dist/index.cjs209.js.map +1 -1
  104. package/dist/index.cjs21.js +1 -1
  105. package/dist/index.cjs210.js +1 -1
  106. package/dist/index.cjs210.js.map +1 -1
  107. package/dist/index.cjs211.js +1 -1
  108. package/dist/index.cjs211.js.map +1 -1
  109. package/dist/index.cjs212.js +1 -1
  110. package/dist/index.cjs212.js.map +1 -1
  111. package/dist/index.cjs213.js +1 -1
  112. package/dist/index.cjs213.js.map +1 -1
  113. package/dist/index.cjs214.js +1 -1
  114. package/dist/index.cjs214.js.map +1 -1
  115. package/dist/index.cjs215.js +1 -1
  116. package/dist/index.cjs215.js.map +1 -1
  117. package/dist/index.cjs216.js +1 -1
  118. package/dist/index.cjs216.js.map +1 -1
  119. package/dist/index.cjs217.js +1 -1
  120. package/dist/index.cjs217.js.map +1 -1
  121. package/dist/index.cjs218.js +1 -1
  122. package/dist/index.cjs218.js.map +1 -1
  123. package/dist/index.cjs219.js +1 -1
  124. package/dist/index.cjs219.js.map +1 -1
  125. package/dist/index.cjs22.js +1 -1
  126. package/dist/index.cjs220.js +1 -1
  127. package/dist/index.cjs220.js.map +1 -1
  128. package/dist/index.cjs221.js +1 -1
  129. package/dist/index.cjs221.js.map +1 -1
  130. package/dist/index.cjs222.js +1 -1
  131. package/dist/index.cjs222.js.map +1 -1
  132. package/dist/index.cjs223.js +1 -1
  133. package/dist/index.cjs223.js.map +1 -1
  134. package/dist/index.cjs224.js +1 -1
  135. package/dist/index.cjs224.js.map +1 -1
  136. package/dist/index.cjs225.js +1 -1
  137. package/dist/index.cjs225.js.map +1 -1
  138. package/dist/index.cjs226.js +1 -1
  139. package/dist/index.cjs226.js.map +1 -1
  140. package/dist/index.cjs227.js +1 -1
  141. package/dist/index.cjs227.js.map +1 -1
  142. package/dist/index.cjs228.js +1 -1
  143. package/dist/index.cjs228.js.map +1 -1
  144. package/dist/index.cjs229.js +1 -1
  145. package/dist/index.cjs229.js.map +1 -1
  146. package/dist/index.cjs230.js +1 -1
  147. package/dist/index.cjs230.js.map +1 -1
  148. package/dist/index.cjs231.js +1 -1
  149. package/dist/index.cjs231.js.map +1 -1
  150. package/dist/index.cjs232.js +1 -1
  151. package/dist/index.cjs232.js.map +1 -1
  152. package/dist/index.cjs233.js +1 -1
  153. package/dist/index.cjs233.js.map +1 -1
  154. package/dist/index.cjs234.js +1 -1
  155. package/dist/index.cjs234.js.map +1 -1
  156. package/dist/index.cjs235.js +1 -1
  157. package/dist/index.cjs235.js.map +1 -1
  158. package/dist/index.cjs236.js +1 -1
  159. package/dist/index.cjs237.js +1 -1
  160. package/dist/index.cjs237.js.map +1 -1
  161. package/dist/index.cjs238.js +1 -1
  162. package/dist/index.cjs238.js.map +1 -1
  163. package/dist/index.cjs240.js +1 -1
  164. package/dist/index.cjs243.js +1 -1
  165. package/dist/index.cjs249.js +1 -1
  166. package/dist/index.cjs25.js +1 -1
  167. package/dist/index.cjs255.js +1 -1
  168. package/dist/index.cjs260.js +1 -1
  169. package/dist/index.cjs27.js +1 -1
  170. package/dist/index.cjs29.js +1 -1
  171. package/dist/index.cjs30.js +1 -1
  172. package/dist/index.cjs31.js +1 -1
  173. package/dist/index.cjs33.js +1 -1
  174. package/dist/index.cjs34.js +1 -1
  175. package/dist/index.cjs35.js +1 -1
  176. package/dist/index.cjs37.js +1 -1
  177. package/dist/index.cjs38.js +1 -1
  178. package/dist/index.cjs39.js +1 -1
  179. package/dist/index.cjs43.js +1 -1
  180. package/dist/index.cjs44.js +1 -1
  181. package/dist/index.cjs45.js +1 -1
  182. package/dist/index.cjs47.js +1 -1
  183. package/dist/index.cjs48.js +1 -1
  184. package/dist/index.cjs50.js +1 -1
  185. package/dist/index.cjs52.js +1 -1
  186. package/dist/index.cjs57.js +1 -1
  187. package/dist/index.cjs59.js +1 -1
  188. package/dist/index.cjs60.js +1 -1
  189. package/dist/index.cjs61.js +1 -9
  190. package/dist/index.cjs61.js.map +1 -1
  191. package/dist/index.cjs62.js +1 -19
  192. package/dist/index.cjs62.js.map +1 -1
  193. package/dist/index.cjs63.js +9 -1
  194. package/dist/index.cjs63.js.map +1 -1
  195. package/dist/index.cjs64.js +19 -1
  196. package/dist/index.cjs64.js.map +1 -1
  197. package/dist/index.cjs65.js +1 -1
  198. package/dist/index.cjs65.js.map +1 -1
  199. package/dist/index.cjs66.js +1 -1
  200. package/dist/index.cjs66.js.map +1 -1
  201. package/dist/index.cjs67.js +1 -1
  202. package/dist/index.cjs67.js.map +1 -1
  203. package/dist/index.cjs68.js +1 -1
  204. package/dist/index.cjs68.js.map +1 -1
  205. package/dist/index.cjs69.js +1 -1
  206. package/dist/index.cjs69.js.map +1 -1
  207. package/dist/index.cjs70.js +1 -1
  208. package/dist/index.cjs70.js.map +1 -1
  209. package/dist/index.cjs71.js +1 -1
  210. package/dist/index.cjs71.js.map +1 -1
  211. package/dist/index.cjs72.js +1 -1
  212. package/dist/index.cjs72.js.map +1 -1
  213. package/dist/index.cjs73.js +1 -1
  214. package/dist/index.cjs73.js.map +1 -1
  215. package/dist/index.cjs74.js +1 -1
  216. package/dist/index.cjs74.js.map +1 -1
  217. package/dist/index.cjs75.js +1 -1
  218. package/dist/index.cjs75.js.map +1 -1
  219. package/dist/index.cjs76.js +1 -1
  220. package/dist/index.cjs76.js.map +1 -1
  221. package/dist/index.cjs78.js +1 -1
  222. package/dist/index.cjs79.js +1 -1
  223. package/dist/index.cjs80.js +1 -1
  224. package/dist/index.cjs80.js.map +1 -1
  225. package/dist/index.cjs81.js +1 -1
  226. package/dist/index.cjs81.js.map +1 -1
  227. package/dist/index.cjs83.js +1 -1
  228. package/dist/index.cjs90.js +1 -1
  229. package/dist/index.cjs91.js +1 -1
  230. package/dist/index.cjs92.js +1 -1
  231. package/dist/index.cjs93.js +1 -1
  232. package/dist/index.cjs94.js +1 -1
  233. package/dist/index.cjs95.js +1 -1
  234. package/dist/index.cjs96.js +1 -1
  235. package/dist/index.cjs97.js +1 -1
  236. package/dist/index.cjs98.js +1 -1
  237. package/dist/index.es101.js +1 -1
  238. package/dist/index.es102.js +1 -1
  239. package/dist/index.es104.js +3 -3
  240. package/dist/index.es105.js +1 -1
  241. package/dist/index.es106.js +2 -2
  242. package/dist/index.es107.js +1 -1
  243. package/dist/index.es112.js +1 -1
  244. package/dist/index.es113.js +1 -1
  245. package/dist/index.es114.js +1 -1
  246. package/dist/index.es115.js +1 -1
  247. package/dist/index.es118.js +2 -2
  248. package/dist/index.es119.js +2 -2
  249. package/dist/index.es120.js +1 -1
  250. package/dist/index.es124.js +2 -2
  251. package/dist/index.es127.js +1 -1
  252. package/dist/index.es131.js +1 -1
  253. package/dist/index.es134.js +1 -1
  254. package/dist/index.es14.js +2 -2
  255. package/dist/index.es142.js +1 -1
  256. package/dist/index.es143.js +1 -1
  257. package/dist/index.es144.js +1 -1
  258. package/dist/index.es145.js +2 -2
  259. package/dist/index.es146.js +1 -1
  260. package/dist/index.es147.js +1 -1
  261. package/dist/index.es148.js +1 -1
  262. package/dist/index.es15.js +5 -5
  263. package/dist/index.es150.js +2 -2
  264. package/dist/index.es151.js +2 -2
  265. package/dist/index.es152.js +1 -1
  266. package/dist/index.es153.js +1 -1
  267. package/dist/index.es154.js +1 -1
  268. package/dist/index.es155.js +1 -1
  269. package/dist/index.es156.js +2 -2
  270. package/dist/index.es157.js +2 -2
  271. package/dist/index.es158.js +1 -1
  272. package/dist/index.es16.js +1 -1
  273. package/dist/index.es161.js +2 -2
  274. package/dist/index.es162.js +2 -2
  275. package/dist/index.es164.js +2 -2
  276. package/dist/index.es165.js +1 -1
  277. package/dist/index.es166.js +2 -2
  278. package/dist/index.es167.js +1 -1
  279. package/dist/index.es168.js +2 -2
  280. package/dist/index.es169.js +1 -1
  281. package/dist/index.es17.js +3 -3
  282. package/dist/index.es170.js +1 -1
  283. package/dist/index.es171.js +1 -1
  284. package/dist/index.es177.js +1 -1
  285. package/dist/index.es178.js +2 -2
  286. package/dist/index.es179.js +1 -1
  287. package/dist/index.es180.js +1 -1
  288. package/dist/index.es181.js +1 -1
  289. package/dist/index.es184.js +7 -320
  290. package/dist/index.es184.js.map +1 -1
  291. package/dist/index.es185.js +144 -71
  292. package/dist/index.es185.js.map +1 -1
  293. package/dist/index.es186.js +12197 -3
  294. package/dist/index.es186.js.map +1 -1
  295. package/dist/index.es187.js +3 -18
  296. package/dist/index.es187.js.map +1 -1
  297. package/dist/index.es188.js +3 -13
  298. package/dist/index.es188.js.map +1 -1
  299. package/dist/index.es189.js +33 -28
  300. package/dist/index.es189.js.map +1 -1
  301. package/dist/index.es19.js +2 -2
  302. package/dist/index.es190.js +3 -7
  303. package/dist/index.es190.js.map +1 -1
  304. package/dist/index.es191.js +22 -7
  305. package/dist/index.es191.js.map +1 -1
  306. package/dist/index.es192.js +2 -150
  307. package/dist/index.es192.js.map +1 -1
  308. package/dist/index.es193.js +3 -12199
  309. package/dist/index.es193.js.map +1 -1
  310. package/dist/index.es194.js +0 -1
  311. package/dist/index.es194.js.map +1 -1
  312. package/dist/index.es195.js +34 -3
  313. package/dist/index.es195.js.map +1 -1
  314. package/dist/index.es196.js +13 -36
  315. package/dist/index.es196.js.map +1 -1
  316. package/dist/index.es197.js +16 -3
  317. package/dist/index.es197.js.map +1 -1
  318. package/dist/index.es198.js +8 -22
  319. package/dist/index.es198.js.map +1 -1
  320. package/dist/index.es199.js +323 -2
  321. package/dist/index.es199.js.map +1 -1
  322. package/dist/index.es200.js +77 -3
  323. package/dist/index.es200.js.map +1 -1
  324. package/dist/index.es201.js +5 -2
  325. package/dist/index.es201.js.map +1 -1
  326. package/dist/index.es202.js +15 -31
  327. package/dist/index.es202.js.map +1 -1
  328. package/dist/index.es203.js +11 -13
  329. package/dist/index.es203.js.map +1 -1
  330. package/dist/index.es204.js +30 -13
  331. package/dist/index.es204.js.map +1 -1
  332. package/dist/index.es205.js +4 -8
  333. package/dist/index.es205.js.map +1 -1
  334. package/dist/index.es207.js +6 -44
  335. package/dist/index.es207.js.map +1 -1
  336. package/dist/index.es208.js +4 -22
  337. package/dist/index.es208.js.map +1 -1
  338. package/dist/index.es209.js +4 -8
  339. package/dist/index.es209.js.map +1 -1
  340. package/dist/index.es21.js +2 -2
  341. package/dist/index.es210.js +3 -5
  342. package/dist/index.es210.js.map +1 -1
  343. package/dist/index.es211.js +3 -4
  344. package/dist/index.es211.js.map +1 -1
  345. package/dist/index.es212.js +9 -3
  346. package/dist/index.es212.js.map +1 -1
  347. package/dist/index.es213.js +22 -3
  348. package/dist/index.es213.js.map +1 -1
  349. package/dist/index.es214.js +21 -8
  350. package/dist/index.es214.js.map +1 -1
  351. package/dist/index.es215.js +11 -19
  352. package/dist/index.es215.js.map +1 -1
  353. package/dist/index.es216.js +14 -19
  354. package/dist/index.es216.js.map +1 -1
  355. package/dist/index.es217.js +5 -13
  356. package/dist/index.es217.js.map +1 -1
  357. package/dist/index.es218.js +8 -16
  358. package/dist/index.es218.js.map +1 -1
  359. package/dist/index.es219.js +6 -5
  360. package/dist/index.es219.js.map +1 -1
  361. package/dist/index.es22.js +2 -2
  362. package/dist/index.es220.js +20 -7
  363. package/dist/index.es220.js.map +1 -1
  364. package/dist/index.es221.js +8 -5
  365. package/dist/index.es221.js.map +1 -1
  366. package/dist/index.es222.js +9 -22
  367. package/dist/index.es222.js.map +1 -1
  368. package/dist/index.es223.js +4 -10
  369. package/dist/index.es223.js.map +1 -1
  370. package/dist/index.es224.js +11 -9
  371. package/dist/index.es224.js.map +1 -1
  372. package/dist/index.es225.js +9 -4
  373. package/dist/index.es225.js.map +1 -1
  374. package/dist/index.es226.js +21 -9
  375. package/dist/index.es226.js.map +1 -1
  376. package/dist/index.es227.js +11 -8
  377. package/dist/index.es227.js.map +1 -1
  378. package/dist/index.es228.js +18 -22
  379. package/dist/index.es228.js.map +1 -1
  380. package/dist/index.es229.js +4 -12
  381. package/dist/index.es229.js.map +1 -1
  382. package/dist/index.es230.js +16 -17
  383. package/dist/index.es230.js.map +1 -1
  384. package/dist/index.es231.js +12 -4
  385. package/dist/index.es231.js.map +1 -1
  386. package/dist/index.es232.js +3 -17
  387. package/dist/index.es232.js.map +1 -1
  388. package/dist/index.es233.js +4 -11
  389. package/dist/index.es233.js.map +1 -1
  390. package/dist/index.es234.js +6 -2
  391. package/dist/index.es234.js.map +1 -1
  392. package/dist/index.es235.js +5 -4
  393. package/dist/index.es235.js.map +1 -1
  394. package/dist/index.es236.js +1 -1
  395. package/dist/index.es237.js +44 -4
  396. package/dist/index.es237.js.map +1 -1
  397. package/dist/index.es238.js +22 -7
  398. package/dist/index.es238.js.map +1 -1
  399. package/dist/index.es240.js +1 -1
  400. package/dist/index.es243.js +1 -1
  401. package/dist/index.es249.js +2 -2
  402. package/dist/index.es25.js +1 -1
  403. package/dist/index.es255.js +1 -1
  404. package/dist/index.es260.js +2 -2
  405. package/dist/index.es27.js +2 -2
  406. package/dist/index.es29.js +2 -2
  407. package/dist/index.es30.js +2 -2
  408. package/dist/index.es31.js +2 -2
  409. package/dist/index.es33.js +1 -1
  410. package/dist/index.es34.js +2 -2
  411. package/dist/index.es35.js +2 -2
  412. package/dist/index.es37.js +1 -1
  413. package/dist/index.es38.js +1 -1
  414. package/dist/index.es39.js +1 -1
  415. package/dist/index.es43.js +2 -2
  416. package/dist/index.es44.js +3 -3
  417. package/dist/index.es45.js +1 -1
  418. package/dist/index.es47.js +1 -1
  419. package/dist/index.es48.js +1 -1
  420. package/dist/index.es50.js +1 -1
  421. package/dist/index.es52.js +5 -5
  422. package/dist/index.es57.js +1 -1
  423. package/dist/index.es59.js +11 -11
  424. package/dist/index.es60.js +6 -2
  425. package/dist/index.es60.js.map +1 -1
  426. package/dist/index.es61.js +2 -30
  427. package/dist/index.es61.js.map +1 -1
  428. package/dist/index.es62.js +2 -602
  429. package/dist/index.es62.js.map +1 -1
  430. package/dist/index.es63.js +29 -5
  431. package/dist/index.es63.js.map +1 -1
  432. package/dist/index.es64.js +602 -2
  433. package/dist/index.es64.js.map +1 -1
  434. package/dist/index.es65.js +107 -2
  435. package/dist/index.es65.js.map +1 -1
  436. package/dist/index.es66.js +10 -55
  437. package/dist/index.es66.js.map +1 -1
  438. package/dist/index.es67.js +4 -48
  439. package/dist/index.es67.js.map +1 -1
  440. package/dist/index.es68.js +55 -37
  441. package/dist/index.es68.js.map +1 -1
  442. package/dist/index.es69.js +47 -11
  443. package/dist/index.es69.js.map +1 -1
  444. package/dist/index.es70.js +38 -14
  445. package/dist/index.es70.js.map +1 -1
  446. package/dist/index.es71.js +11 -29
  447. package/dist/index.es71.js.map +1 -1
  448. package/dist/index.es72.js +10 -10
  449. package/dist/index.es72.js.map +1 -1
  450. package/dist/index.es73.js +29 -13
  451. package/dist/index.es73.js.map +1 -1
  452. package/dist/index.es74.js +12 -10
  453. package/dist/index.es74.js.map +1 -1
  454. package/dist/index.es75.js +14 -4
  455. package/dist/index.es75.js.map +1 -1
  456. package/dist/index.es76.js +11 -2
  457. package/dist/index.es76.js.map +1 -1
  458. package/dist/index.es78.js +3 -3
  459. package/dist/index.es79.js +3 -3
  460. package/dist/index.es80.js +2 -107
  461. package/dist/index.es80.js.map +1 -1
  462. package/dist/index.es81.js +2 -10
  463. package/dist/index.es81.js.map +1 -1
  464. package/dist/index.es83.js +1 -1
  465. package/dist/index.es90.js +1 -1
  466. package/dist/index.es91.js +1 -1
  467. package/dist/index.es92.js +1 -1
  468. package/dist/index.es93.js +1 -1
  469. package/dist/index.es94.js +1 -1
  470. package/dist/index.es95.js +1 -1
  471. package/dist/index.es96.js +1 -1
  472. package/dist/index.es97.js +1 -1
  473. package/dist/index.es98.js +1 -1
  474. package/dist/style.css +1 -1
  475. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs65.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs65.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,EAAMC,EAAiB,CAAC,EAAO,EAAAJ,EAAS,QAAQG,CAAG,GAAK,IAAkB,OAAO,UAAU,qBAAqB,KAAKJ,EAAQI,CAAG,IAAaF,EAAOE,CAAG,EAAIJ,EAAOI,CAAG,EAAI,CAAG,OAAOF,CAAS,CAC5e,SAASC,EAA8BH,EAAQC,EAAU,CAAE,GAAID,GAAU,KAAM,MAAO,CAAE,EAAE,IAAIE,EAAS,CAAE,EAAMI,EAAa,OAAO,KAAKN,CAAM,EAAOI,EAAKG,EAAG,IAAKA,EAAI,EAAGA,EAAID,EAAW,OAAQC,IAAOH,EAAME,EAAWC,CAAC,EAAO,EAAAN,EAAS,QAAQG,CAAG,GAAK,KAAaF,EAAOE,CAAG,EAAIJ,EAAOI,CAAG,GAAK,OAAOF,CAAS,CACnT,SAASM,GAAW,CAAE,OAAAA,EAAW,OAAO,OAAS,OAAO,OAAO,KAAM,EAAG,SAAUN,EAAQ,CAAE,QAASK,EAAI,EAAGA,EAAI,UAAU,OAAQA,IAAK,CAAE,IAAIP,EAAS,UAAUO,CAA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,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.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react"),g=require("./index.cjs74.js"),m=require("./index.cjs184.js"),y=require("./index.cjs185.js"),E=require("./index.cjs186.js"),x=require("./index.cjs187.js");function w(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const t=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(u,i,t.get?t:{enumerable:!0,get:()=>e[i]})}}return u.default=e,Object.freeze(u)}const c=w(a),M=c.createContext(null);function L(e,u,i){const t=a.useContext(g.MountedMapsContext),[s,b]=a.useState(null),f=a.useRef(),{current:l}=a.useRef({mapLib:null,map:null});a.useEffect(()=>{const h=e.mapLib;let d=!0,r;return Promise.resolve(h||i).then(o=>{if(!d)return;if(!o)throw new Error("Invalid mapLib");const n="Map"in o?o:o.default;if(!n.Map)throw new Error("Invalid mapLib");if(x(n,e),!n.supported||n.supported(e))e.reuseMaps&&(r=m.reuse(e,f.current)),r||(r=new m(n.Map,e,f.current)),l.map=y(r),l.mapLib=n,b(r),t==null||t.onMapMount(l.map,e.id);else throw new Error("Map is not supported by this browser")}).catch(o=>{const{onError:n}=e;n?n({type:"error",target:null,originalEvent:null,error:o}):console.error(o)}),()=>{d=!1,r&&(t==null||t.onMapUnmount(e.id),e.reuseMaps?r.recycle():r.destroy())}},[]),E(()=>{s&&s.setProps(e)}),a.useImperativeHandle(u,()=>l.map,[s]);const p=a.useMemo(()=>({position:"relative",width:"100%",height:"100%",...e.style}),[e.style]),v={height:"100%"};return c.createElement("div",{id:e.id,ref:f,style:p},s&&c.createElement(M.Provider,{value:l},c.createElement("div",{"mapboxgl-children":"",style:v},e.children)))}exports.MapContext=M;exports.default=L;
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.cjs66.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs66.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/map.js"],"sourcesContent":["import * as React from 'react';\nimport { useState, useRef, useEffect, useContext, useMemo, useImperativeHandle } from 'react';\nimport { MountedMapsContext } from './use-map';\nimport Mapbox from '../mapbox/mapbox';\nimport createRef from '../mapbox/create-ref';\nimport useIsomorphicLayoutEffect from '../utils/use-isomorphic-layout-effect';\nimport setGlobals from '../utils/set-globals';\nexport const MapContext = React.createContext(null);\nexport default function Map(props, ref, defaultLib) {\n const mountedMapsContext = useContext(MountedMapsContext);\n const [mapInstance, setMapInstance] = useState(null);\n const containerRef = useRef();\n const { current: contextValue } = useRef({ mapLib: null, map: null });\n useEffect(() => {\n const mapLib = props.mapLib;\n let isMounted = true;\n let mapbox;\n Promise.resolve(mapLib || defaultLib)\n .then((module) => {\n if (!isMounted) {\n return;\n }\n if (!module) {\n throw new Error('Invalid mapLib');\n }\n const mapboxgl = 'Map' in module ? module : module.default;\n if (!mapboxgl.Map) {\n throw new Error('Invalid mapLib');\n }\n // workerUrl & workerClass may change the result of supported()\n // https://github.com/visgl/react-map-gl/discussions/2027\n setGlobals(mapboxgl, props);\n if (!mapboxgl.supported || mapboxgl.supported(props)) {\n if (props.reuseMaps) {\n mapbox = Mapbox.reuse(props, containerRef.current);\n }\n if (!mapbox) {\n mapbox = new Mapbox(mapboxgl.Map, props, containerRef.current);\n }\n contextValue.map = createRef(mapbox);\n contextValue.mapLib = mapboxgl;\n setMapInstance(mapbox);\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapMount(contextValue.map, props.id);\n }\n else {\n throw new Error('Map is not supported by this browser');\n }\n })\n .catch(error => {\n const { onError } = props;\n if (onError) {\n onError({\n type: 'error',\n target: null,\n originalEvent: null,\n error\n });\n }\n else {\n console.error(error); // eslint-disable-line\n }\n });\n return () => {\n isMounted = false;\n if (mapbox) {\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapUnmount(props.id);\n if (props.reuseMaps) {\n mapbox.recycle();\n }\n else {\n mapbox.destroy();\n }\n }\n };\n }, []);\n useIsomorphicLayoutEffect(() => {\n if (mapInstance) {\n mapInstance.setProps(props);\n }\n });\n useImperativeHandle(ref, () => contextValue.map, [mapInstance]);\n const style = useMemo(() => ({\n position: 'relative',\n width: '100%',\n height: '100%',\n ...props.style\n }), [props.style]);\n const CHILD_CONTAINER_STYLE = {\n height: '100%'\n };\n return (React.createElement(\"div\", { id: props.id, ref: containerRef, style: style }, mapInstance && (React.createElement(MapContext.Provider, { value: contextValue },\n React.createElement(\"div\", { \"mapboxgl-children\": \"\", style: CHILD_CONTAINER_STYLE }, props.children)))));\n}\n//# sourceMappingURL=map.js.map"],"names":["MapContext","React","Map","props","ref","defaultLib","mountedMapsContext","useContext","MountedMapsContext","mapInstance","setMapInstance","useState","containerRef","useRef","contextValue","useEffect","mapLib","isMounted","mapbox","module","mapboxgl","setGlobals","Mapbox","createRef","error","onError","useIsomorphicLayoutEffect","useImperativeHandle","style","useMemo","CHILD_CONTAINER_STYLE"],"mappings":"yjBAOaA,EAAaC,EAAM,cAAc,IAAI,EAC1B,SAAAC,EAAIC,EAAOC,EAAKC,EAAY,CAC1C,MAAAC,EAAqBC,aAAWC,EAAA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AAY,SAASN,CAAK,CAC9B,CACH,EACDwB,EAAA,oBAAoBvB,EAAK,IAAMU,EAAa,IAAK,CAACL,CAAW,CAAC,EACxD,MAAAmB,EAAQC,EAAAA,QAAQ,KAAO,CACzB,SAAU,WACV,MAAO,OACP,OAAQ,OACR,GAAG1B,EAAM,KACT,GAAA,CAACA,EAAM,KAAK,CAAC,EACX2B,EAAwB,CAC1B,OAAQ,MAAA,EAEZ,OAAQ7B,EAAM,cAAc,MAAO,CAAE,GAAIE,EAAM,GAAI,IAAKS,EAAc,MAAAgB,CAAgB,EAAAnB,GAAgBR,EAAM,cAAcD,EAAW,SAAU,CAAE,MAAOc,CAAa,EACjKb,EAAM,cAAc,MAAO,CAAE,oBAAqB,GAAI,MAAO6B,CAAA,EAAyB3B,EAAM,QAAQ,CAAA,CAAG,CAC/G","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs66.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";const o=require("react"),y=require("react-dom"),k=require("./index.cjs188.js"),D=require("./index.cjs66.js"),P=require("./index.cjs189.js");function q(n){const g=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const c in n)if(c!=="default"){const s=Object.getOwnPropertyDescriptor(n,c);Object.defineProperty(g,c,s.get?s:{enumerable:!0,get:()=>n[c]})}}return g.default=n,Object.freeze(g)}const O=q(o);function A(n,g){const{map:c,mapLib:s}=o.useContext(D.MapContext),u=o.useRef({props:n});u.current.props=n;const t=o.useMemo(()=>{let _=!1;O.Children.forEach(n.children,r=>{r&&(_=!0)});const h={...n,element:_?document.createElement("div"):null},i=new s.Marker(h);return i.setLngLat([n.longitude,n.latitude]),i.getElement().addEventListener("click",r=>{var a,e;(e=(a=u.current.props).onClick)===null||e===void 0||e.call(a,{type:"click",target:i,originalEvent:r})}),i.on("dragstart",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDragStart)===null||e===void 0||e.call(a,l)}),i.on("drag",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDrag)===null||e===void 0||e.call(a,l)}),i.on("dragend",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDragEnd)===null||e===void 0||e.call(a,l)}),i},[]);o.useEffect(()=>(t.addTo(c.getMap()),()=>{t.remove()}),[]);const{longitude:f,latitude:m,offset:d,style:p,draggable:v=!1,popup:L=null,rotation:b=0,rotationAlignment:E="auto",pitchAlignment:R="auto"}=n;return o.useEffect(()=>{k.applyReactStyle(t.getElement(),p)},[p]),o.useImperativeHandle(g,()=>t,[]),(t.getLngLat().lng!==f||t.getLngLat().lat!==m)&&t.setLngLat([f,m]),d&&!P.arePointsEqual(t.getOffset(),d)&&t.setOffset(d),t.isDraggable()!==v&&t.setDraggable(v),t.getRotation()!==b&&t.setRotation(b),t.getRotationAlignment()!==E&&t.setRotationAlignment(E),t.getPitchAlignment()!==R&&t.setPitchAlignment(R),t.getPopup()!==L&&t.setPopup(L),y.createPortal(n.children,t.getElement())}o.memo(o.forwardRef(A));
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
2
2
  //# sourceMappingURL=index.cjs67.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs67.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/marker.js"],"sourcesContent":["/* global document */\nimport * as React from 'react';\nimport { createPortal } from 'react-dom';\nimport { useImperativeHandle, useEffect, useMemo, useRef, useContext, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport { MapContext } from './map';\nimport { arePointsEqual } from '../utils/deep-equal';\n/* eslint-disable complexity,max-statements */\nfunction Marker(props, ref) {\n const { map, mapLib } = useContext(MapContext);\n const thisRef = useRef({ props });\n thisRef.current.props = props;\n const marker = useMemo(() => {\n let hasChildren = false;\n React.Children.forEach(props.children, el => {\n if (el) {\n hasChildren = true;\n }\n });\n const options = {\n ...props,\n element: hasChildren ? document.createElement('div') : null\n };\n const mk = new mapLib.Marker(options);\n mk.setLngLat([props.longitude, props.latitude]);\n mk.getElement().addEventListener('click', (e) => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onClick) === null || _b === void 0 ? void 0 : _b.call(_a, {\n type: 'click',\n target: mk,\n originalEvent: e\n });\n });\n mk.on('dragstart', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDragStart) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n mk.on('drag', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDrag) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n mk.on('dragend', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDragEnd) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n return mk;\n }, []);\n useEffect(() => {\n marker.addTo(map.getMap());\n return () => {\n marker.remove();\n };\n }, []);\n const { longitude, latitude, offset, style, draggable = false, popup = null, rotation = 0, rotationAlignment = 'auto', pitchAlignment = 'auto' } = props;\n useEffect(() => {\n applyReactStyle(marker.getElement(), style);\n }, [style]);\n useImperativeHandle(ref, () => marker, []);\n if (marker.getLngLat().lng !== longitude || marker.getLngLat().lat !== latitude) {\n marker.setLngLat([longitude, latitude]);\n }\n if (offset && !arePointsEqual(marker.getOffset(), offset)) {\n marker.setOffset(offset);\n }\n if (marker.isDraggable() !== draggable) {\n marker.setDraggable(draggable);\n }\n if (marker.getRotation() !== rotation) {\n marker.setRotation(rotation);\n }\n if (marker.getRotationAlignment() !== rotationAlignment) {\n marker.setRotationAlignment(rotationAlignment);\n }\n if (marker.getPitchAlignment() !== pitchAlignment) {\n marker.setPitchAlignment(pitchAlignment);\n }\n if (marker.getPopup() !== popup) {\n marker.setPopup(popup);\n }\n return createPortal(props.children, marker.getElement());\n}\nexport default memo(forwardRef(Marker));\n//# sourceMappingURL=marker.js.map"],"names":["Marker","props","ref","map","mapLib","useContext","MapContext","thisRef","useRef","marker","useMemo","hasChildren","React","el","options","mk","e","_a","_b","evt","useEffect","longitude","latitude","offset","style","draggable","popup","rotation","rotationAlignment","pitchAlignment","applyReactStyle","useImperativeHandle","arePointsEqual","createPortal","memo","forwardRef"],"mappings":"mbAQA,SAASA,EAAOC,EAAOC,EAAK,CACxB,KAAM,CAAEC,IAAAA,EAAK,OAAAC,CAAO,EAAIC,aAAWC,EAAU,UAAA,EACvCC,EAAUC,EAAAA,OAAO,CAAE,MAAAP,CAAO,CAAA,EAChCM,EAAQ,QAAQ,MAAQN,EAClB,MAAAQ,EAASC,EAAAA,QAAQ,IAAM,CACzB,IAAIC,EAAc,GAClBC,EAAM,SAAS,QAAQX,EAAM,SAAgBY,GAAA,CACrCA,IACcF,EAAA,GAClB,CACH,EACD,MAAMG,EAAU,CACZ,GAAGb,EACH,QAASU,EAAc,SAAS,cAAc,KAAK,EAAI,IAAA,EAErDI,EAAK,IAAIX,EAAO,OAAOU,CAAO,EACpC,OAAAC,EAAG,UAAU,CAACd,EAAM,UAAWA,EAAM,QAAQ,CAAC,EAC9Cc,EAAG,WAAW,EAAE,iBAAiB,QAAUC,GAAM,CAC7C,IAAIC,EAAIC,GACPA,GAAMD,EAAKV,EAAQ,QAAQ,OAAO,WAAa,MAAQW,IAAO,QAAkBA,EAAG,KAAKD,EAA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AQa,IACnEb,EAAO,UAAU,CAACY,EAAWC,CAAQ,CAAC,EAEtCC,GAAU,CAACS,EAAA,eAAevB,EAAO,UAAU,EAAGc,CAAM,GACpDd,EAAO,UAAUc,CAAM,EAEvBd,EAAO,YAAY,IAAMgB,GACzBhB,EAAO,aAAagB,CAAS,EAE7BhB,EAAO,YAAY,IAAMkB,GACzBlB,EAAO,YAAYkB,CAAQ,EAE3BlB,EAAO,qBAAqB,IAAMmB,GAClCnB,EAAO,qBAAqBmB,CAAiB,EAE7CnB,EAAO,kBAAkB,IAAMoB,GAC/BpB,EAAO,kBAAkBoB,CAAc,EAEvCpB,EAAO,SAAS,IAAMiB,GACtBjB,EAAO,SAASiB,CAAK,EAElBO,EAAAA,aAAahC,EAAM,SAAUQ,EAAO,WAAY,CAAA,CAC3D,CACeyB,EAAAA,KAAKC,EAAAA,WAAWnC,CAAM,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs67.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";const g=require("react-dom"),a=require("react"),h=require("./index.cjs188.js"),L=require("./index.cjs66.js"),v=require("./index.cjs189.js");function f(e){return new Set(e?e.trim().split(/\s+/):[])}function C(e,r){const{map:m,mapLib:d}=a.useContext(L.MapContext),u=a.useMemo(()=>document.createElement("div"),[]),c=a.useRef({props:e});c.current.props=e;const t=a.useMemo(()=>{const s={...e},o=new d.Popup(s);return o.setLngLat([e.longitude,e.latitude]),o.once("open",n=>{var i,l;(l=(i=c.current.props).onOpen)===null||l===void 0||l.call(i,n)}),o},[]);if(a.useEffect(()=>{const s=o=>{var n,i;(i=(n=c.current.props).onClose)===null||i===void 0||i.call(n,o)};return t.on("close",s),t.setDOMContent(u).addTo(m.getMap()),()=>{t.off("close",s),t.isOpen()&&t.remove()}},[]),a.useEffect(()=>{h.applyReactStyle(t.getElement(),e.style)},[e.style]),a.useImperativeHandle(r,()=>t,[]),t.isOpen()&&((t.getLngLat().lng!==e.longitude||t.getLngLat().lat!==e.latitude)&&t.setLngLat([e.longitude,e.latitude]),e.offset&&!v.deepEqual(t.options.offset,e.offset)&&t.setOffset(e.offset),(t.options.anchor!==e.anchor||t.options.maxWidth!==e.maxWidth)&&(t.options.anchor=e.anchor,t.setMaxWidth(e.maxWidth)),t.options.className!==e.className)){const s=f(t.options.className),o=f(e.className);for(const n of s)o.has(n)||t.removeClassName(n);for(const n of o)s.has(n)||t.addClassName(n);t.options.className=e.className}return g.createPortal(e.children,u)}a.memo(a.forwardRef(C));
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react"),g=require("./index.cjs76.js"),m=require("./index.cjs199.js"),y=require("./index.cjs200.js"),E=require("./index.cjs201.js"),x=require("./index.cjs202.js");function w(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const t=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(u,i,t.get?t:{enumerable:!0,get:()=>e[i]})}}return u.default=e,Object.freeze(u)}const c=w(a),M=c.createContext(null);function L(e,u,i){const t=a.useContext(g.MountedMapsContext),[s,b]=a.useState(null),f=a.useRef(),{current:l}=a.useRef({mapLib:null,map:null});a.useEffect(()=>{const h=e.mapLib;let d=!0,r;return Promise.resolve(h||i).then(o=>{if(!d)return;if(!o)throw new Error("Invalid mapLib");const n="Map"in o?o:o.default;if(!n.Map)throw new Error("Invalid mapLib");if(x(n,e),!n.supported||n.supported(e))e.reuseMaps&&(r=m.reuse(e,f.current)),r||(r=new m(n.Map,e,f.current)),l.map=y(r),l.mapLib=n,b(r),t==null||t.onMapMount(l.map,e.id);else throw new Error("Map is not supported by this browser")}).catch(o=>{const{onError:n}=e;n?n({type:"error",target:null,originalEvent:null,error:o}):console.error(o)}),()=>{d=!1,r&&(t==null||t.onMapUnmount(e.id),e.reuseMaps?r.recycle():r.destroy())}},[]),E(()=>{s&&s.setProps(e)}),a.useImperativeHandle(u,()=>l.map,[s]);const p=a.useMemo(()=>({position:"relative",width:"100%",height:"100%",...e.style}),[e.style]),v={height:"100%"};return c.createElement("div",{id:e.id,ref:f,style:p},s&&c.createElement(M.Provider,{value:l},c.createElement("div",{"mapboxgl-children":"",style:v},e.children)))}exports.MapContext=M;exports.default=L;
2
2
  //# sourceMappingURL=index.cjs68.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs68.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":"yJAMA,SAASA,EAAaC,EAAW,CACtB,OAAA,IAAI,IAAIA,EAAYA,EAAU,OAAO,MAAM,KAAK,EAAI,CAAA,CAAE,CACjE,CAEA,SAASC,EAAMC,EAAOC,EAAK,CACvB,KAAM,CAAEC,IAAAA,EAAK,OAAAC,CAAO,EAAIC,aAAWC,EAAU,UAAA,EACvCC,EAAYC,EAAAA,QAAQ,IACf,SAAS,cAAc,KAAK,EACpC,CAAE,CAAA,EACCC,EAAUC,EAAAA,OAAO,CAAE,MAAAT,CAAO,CAAA,EAChCQ,EAAQ,QAAQ,MAAQR,EAClB,MAAAU,EAAQH,EAAAA,QAAQ,IAAM,CAClB,MAAAI,EAAU,CAAE,GAAGX,GACfY,EAAK,IAAIT,EAAO,MAAMQ,C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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.cjs68.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/map.js"],"sourcesContent":["import * as React from 'react';\nimport { useState, useRef, useEffect, useContext, useMemo, useImperativeHandle } from 'react';\nimport { MountedMapsContext } from './use-map';\nimport Mapbox from '../mapbox/mapbox';\nimport createRef from '../mapbox/create-ref';\nimport useIsomorphicLayoutEffect from '../utils/use-isomorphic-layout-effect';\nimport setGlobals from '../utils/set-globals';\nexport const MapContext = React.createContext(null);\nexport default function Map(props, ref, defaultLib) {\n const mountedMapsContext = useContext(MountedMapsContext);\n const [mapInstance, setMapInstance] = useState(null);\n const containerRef = useRef();\n const { current: contextValue } = useRef({ mapLib: null, map: null });\n useEffect(() => {\n const mapLib = props.mapLib;\n let isMounted = true;\n let mapbox;\n Promise.resolve(mapLib || defaultLib)\n .then((module) => {\n if (!isMounted) {\n return;\n }\n if (!module) {\n throw new Error('Invalid mapLib');\n }\n const mapboxgl = 'Map' in module ? module : module.default;\n if (!mapboxgl.Map) {\n throw new Error('Invalid mapLib');\n }\n // workerUrl & workerClass may change the result of supported()\n // https://github.com/visgl/react-map-gl/discussions/2027\n setGlobals(mapboxgl, props);\n if (!mapboxgl.supported || mapboxgl.supported(props)) {\n if (props.reuseMaps) {\n mapbox = Mapbox.reuse(props, containerRef.current);\n }\n if (!mapbox) {\n mapbox = new Mapbox(mapboxgl.Map, props, containerRef.current);\n }\n contextValue.map = createRef(mapbox);\n contextValue.mapLib = mapboxgl;\n setMapInstance(mapbox);\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapMount(contextValue.map, props.id);\n }\n else {\n throw new Error('Map is not supported by this browser');\n }\n })\n .catch(error => {\n const { onError } = props;\n if (onError) {\n onError({\n type: 'error',\n target: null,\n originalEvent: null,\n error\n });\n }\n else {\n console.error(error); // eslint-disable-line\n }\n });\n return () => {\n isMounted = false;\n if (mapbox) {\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapUnmount(props.id);\n if (props.reuseMaps) {\n mapbox.recycle();\n }\n else {\n mapbox.destroy();\n }\n }\n };\n }, []);\n useIsomorphicLayoutEffect(() => {\n if (mapInstance) {\n mapInstance.setProps(props);\n }\n });\n useImperativeHandle(ref, () => contextValue.map, [mapInstance]);\n const style = useMemo(() => ({\n position: 'relative',\n width: '100%',\n height: '100%',\n ...props.style\n }), [props.style]);\n const CHILD_CONTAINER_STYLE = {\n height: '100%'\n };\n return (React.createElement(\"div\", { id: props.id, ref: containerRef, style: style }, mapInstance && (React.createElement(MapContext.Provider, { value: contextValue },\n React.createElement(\"div\", { \"mapboxgl-children\": \"\", style: CHILD_CONTAINER_STYLE }, props.children)))));\n}\n//# sourceMappingURL=map.js.map"],"names":["MapContext","React","Map","props","ref","defaultLib","mountedMapsContext","useContext","MountedMapsContext","mapInstance","setMapInstance","useState","containerRef","useRef","contextValue","useEffect","mapLib","isMounted","mapbox","module","mapboxgl","setGlobals","Mapbox","createRef","error","onError","useIsomorphicLayoutEffect","useImperativeHandle","style","useMemo","CHILD_CONTAINER_STYLE"],"mappings":"yjBAOaA,EAAaC,EAAM,cAAc,IAAI,EAC1B,SAAAC,EAAIC,EAAOC,EAAKC,EAAY,CAC1C,MAAAC,EAAqBC,aAAWC,EAAAA,kBAAkB,EAClD,CAACC,EAAaC,CAAc,EAAIC,WAA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oBvB,EAAK,IAAMU,EAAa,IAAK,CAACL,CAAW,CAAC,EACxD,MAAAmB,EAAQC,EAAAA,QAAQ,KAAO,CACzB,SAAU,WACV,MAAO,OACP,OAAQ,OACR,GAAG1B,EAAM,KACT,GAAA,CAACA,EAAM,KAAK,CAAC,EACX2B,EAAwB,CAC1B,OAAQ,MAAA,EAEZ,OAAQ7B,EAAM,cAAc,MAAO,CAAE,GAAIE,EAAM,GAAI,IAAKS,EAAc,MAAAgB,CAAgB,EAAAnB,GAAgBR,EAAM,cAAcD,EAAW,SAAU,CAAE,MAAOc,CAAa,EACjKb,EAAM,cAAc,MAAO,CAAE,oBAAqB,GAAI,MAAO6B,CAAA,EAAyB3B,EAAM,QAAQ,CAAA,CAAG,CAC/G","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),i=require("./index.cjs188.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 o=require("react"),y=require("react-dom"),k=require("./index.cjs203.js"),D=require("./index.cjs68.js"),P=require("./index.cjs204.js");function q(n){const g=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const c in n)if(c!=="default"){const s=Object.getOwnPropertyDescriptor(n,c);Object.defineProperty(g,c,s.get?s:{enumerable:!0,get:()=>n[c]})}}return g.default=n,Object.freeze(g)}const O=q(o);function A(n,g){const{map:c,mapLib:s}=o.useContext(D.MapContext),u=o.useRef({props:n});u.current.props=n;const t=o.useMemo(()=>{let _=!1;O.Children.forEach(n.children,r=>{r&&(_=!0)});const h={...n,element:_?document.createElement("div"):null},i=new s.Marker(h);return i.setLngLat([n.longitude,n.latitude]),i.getElement().addEventListener("click",r=>{var a,e;(e=(a=u.current.props).onClick)===null||e===void 0||e.call(a,{type:"click",target:i,originalEvent:r})}),i.on("dragstart",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDragStart)===null||e===void 0||e.call(a,l)}),i.on("drag",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDrag)===null||e===void 0||e.call(a,l)}),i.on("dragend",r=>{var a,e;const l=r;l.lngLat=t.getLngLat(),(e=(a=u.current.props).onDragEnd)===null||e===void 0||e.call(a,l)}),i},[]);o.useEffect(()=>(t.addTo(c.getMap()),()=>{t.remove()}),[]);const{longitude:f,latitude:m,offset:d,style:p,draggable:v=!1,popup:L=null,rotation:b=0,rotationAlignment:E="auto",pitchAlignment:R="auto"}=n;return o.useEffect(()=>{k.applyReactStyle(t.getElement(),p)},[p]),o.useImperativeHandle(g,()=>t,[]),(t.getLngLat().lng!==f||t.getLngLat().lat!==m)&&t.setLngLat([f,m]),d&&!P.arePointsEqual(t.getOffset(),d)&&t.setOffset(d),t.isDraggable()!==v&&t.setDraggable(v),t.getRotation()!==b&&t.setRotation(b),t.getRotationAlignment()!==E&&t.setRotationAlignment(E),t.getPitchAlignment()!==R&&t.setPitchAlignment(R),t.getPopup()!==L&&t.setPopup(L),y.createPortal(n.children,t.getElement())}o.memo(o.forwardRef(A));
2
2
  //# sourceMappingURL=index.cjs69.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs69.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/attribution-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction AttributionControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.AttributionControl(props), {\n position: props.position\n });\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(AttributionControl);\n//# sourceMappingURL=attribution-control.js.map"],"names":["AttributionControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAmBC,EAAO,CACzB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,mBAAmBH,CAAK,EAAG,CAC1E,SAAUA,EAAM,QAAA,CACnB,EACDI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,WAAYD,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACeM,OAAKP,CAAkB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs69.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/marker.js"],"sourcesContent":["/* global document */\nimport * as React from 'react';\nimport { createPortal } from 'react-dom';\nimport { useImperativeHandle, useEffect, useMemo, useRef, useContext, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport { MapContext } from './map';\nimport { arePointsEqual } from '../utils/deep-equal';\n/* eslint-disable complexity,max-statements */\nfunction Marker(props, ref) {\n const { map, mapLib } = useContext(MapContext);\n const thisRef = useRef({ props });\n thisRef.current.props = props;\n const marker = useMemo(() => {\n let hasChildren = false;\n React.Children.forEach(props.children, el => {\n if (el) {\n hasChildren = true;\n }\n });\n const options = {\n ...props,\n element: hasChildren ? document.createElement('div') : null\n };\n const mk = new mapLib.Marker(options);\n mk.setLngLat([props.longitude, props.latitude]);\n mk.getElement().addEventListener('click', (e) => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onClick) === null || _b === void 0 ? void 0 : _b.call(_a, {\n type: 'click',\n target: mk,\n originalEvent: e\n });\n });\n mk.on('dragstart', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDragStart) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n mk.on('drag', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDrag) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n mk.on('dragend', e => {\n var _a, _b;\n const evt = e;\n evt.lngLat = marker.getLngLat();\n (_b = (_a = thisRef.current.props).onDragEnd) === null || _b === void 0 ? void 0 : _b.call(_a, evt);\n });\n return mk;\n }, []);\n useEffect(() => {\n marker.addTo(map.getMap());\n return () => {\n marker.remove();\n };\n }, []);\n const { longitude, latitude, offset, style, draggable = false, popup = null, rotation = 0, rotationAlignment = 'auto', pitchAlignment = 'auto' } = props;\n useEffect(() => {\n applyReactStyle(marker.getElement(), style);\n }, [style]);\n useImperativeHandle(ref, () => marker, []);\n if (marker.getLngLat().lng !== longitude || marker.getLngLat().lat !== latitude) {\n marker.setLngLat([longitude, latitude]);\n }\n if (offset && !arePointsEqual(marker.getOffset(), offset)) {\n marker.setOffset(offset);\n }\n if (marker.isDraggable() !== draggable) {\n marker.setDraggable(draggable);\n }\n if (marker.getRotation() !== rotation) {\n marker.setRotation(rotation);\n }\n if (marker.getRotationAlignment() !== rotationAlignment) {\n marker.setRotationAlignment(rotationAlignment);\n }\n if (marker.getPitchAlignment() !== pitchAlignment) {\n marker.setPitchAlignment(pitchAlignment);\n }\n if (marker.getPopup() !== popup) {\n marker.setPopup(popup);\n }\n return createPortal(props.children, marker.getElement());\n}\nexport default memo(forwardRef(Marker));\n//# sourceMappingURL=marker.js.map"],"names":["Marker","props","ref","map","mapLib","useContext","MapContext","thisRef","useRef","marker","useMemo","hasChildren","React","el","options","mk","e","_a","_b","evt","useEffect","longitude","latitude","offset","style","draggable","popup","rotation","rotationAlignment","pitchAlignment","applyReactStyle","useImperativeHandle","arePointsEqual","createPortal","memo","forwardRef"],"mappings":"mbAQA,SAASA,EAAOC,EAAOC,EAAK,CACxB,KAAM,CAAEC,IAAAA,EAAK,OAAAC,CAAO,EAAIC,aAAWC,EAAU,UAAA,EACvCC,EAAUC,EAAAA,OAAO,CAAE,MAAAP,CAAO,CAAA,EAChCM,EAAQ,QAAQ,MAAQN,EAClB,MAAAQ,EAASC,EAAAA,QAAQ,IAAM,CACzB,IAAIC,EAAc,GAClBC,EAAM,SAAS,QAAQX,EAAM,SAAgBY,GAAA,CAC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AC,EAAQ,MAAAC,EAAO,UAAAC,EAAY,GAAO,MAAAC,EAAQ,KAAM,SAAAC,EAAW,EAAG,kBAAAC,EAAoB,OAAQ,eAAAC,EAAiB,MAAW,EAAA5B,EACnJmB,OAAAA,EAAAA,UAAU,IAAM,CACIU,EAAAA,gBAAArB,EAAO,WAAW,EAAGe,CAAK,CAAA,EAC3C,CAACA,CAAK,CAAC,EACVO,EAAAA,oBAAoB7B,EAAK,IAAMO,EAAQ,CAAE,CAAA,GACrCA,EAAO,UAAY,EAAA,MAAQY,GAAaZ,EAAO,UAAA,EAAY,MAAQa,IACnEb,EAAO,UAAU,CAACY,EAAWC,CAAQ,CAAC,EAEtCC,GAAU,CAACS,EAAA,eAAevB,EAAO,UAAU,EAAGc,CAAM,GACpDd,EAAO,UAAUc,CAAM,EAEvBd,EAAO,YAAY,IAAMgB,GACzBhB,EAAO,aAAagB,CAAS,EAE7BhB,EAAO,YAAY,IAAMkB,GACzBlB,EAAO,YAAYkB,CAAQ,EAE3BlB,EAAO,qBAAqB,IAAMmB,GAClCnB,EAAO,qBAAqBmB,CAAiB,EAE7CnB,EAAO,kBAAkB,IAAMoB,GAC/BpB,EAAO,kBAAkBoB,CAAc,EAEvCpB,EAAO,SAAS,IAAMiB,GACtBjB,EAAO,SAASiB,CAAK,EAElBO,EAAAA,aAAahC,EAAM,SAAUQ,EAAO,WAAY,CAAA,CAC3D,CACeyB,EAAAA,KAAKC,EAAAA,WAAWnC,CAAM,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("react"),l=require("./index.cjs188.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 g=require("react-dom"),a=require("react"),h=require("./index.cjs203.js"),L=require("./index.cjs68.js"),v=require("./index.cjs204.js");function f(e){return new Set(e?e.trim().split(/\s+/):[])}function C(e,r){const{map:m,mapLib:d}=a.useContext(L.MapContext),u=a.useMemo(()=>document.createElement("div"),[]),c=a.useRef({props:e});c.current.props=e;const t=a.useMemo(()=>{const s={...e},o=new d.Popup(s);return o.setLngLat([e.longitude,e.latitude]),o.once("open",n=>{var i,l;(l=(i=c.current.props).onOpen)===null||l===void 0||l.call(i,n)}),o},[]);if(a.useEffect(()=>{const s=o=>{var n,i;(i=(n=c.current.props).onClose)===null||i===void 0||i.call(n,o)};return t.on("close",s),t.setDOMContent(u).addTo(m.getMap()),()=>{t.off("close",s),t.isOpen()&&t.remove()}},[]),a.useEffect(()=>{h.applyReactStyle(t.getElement(),e.style)},[e.style]),a.useImperativeHandle(r,()=>t,[]),t.isOpen()&&((t.getLngLat().lng!==e.longitude||t.getLngLat().lat!==e.latitude)&&t.setLngLat([e.longitude,e.latitude]),e.offset&&!v.deepEqual(t.options.offset,e.offset)&&t.setOffset(e.offset),(t.options.anchor!==e.anchor||t.options.maxWidth!==e.maxWidth)&&(t.options.anchor=e.anchor,t.setMaxWidth(e.maxWidth)),t.options.className!==e.className)){const s=f(t.options.className),o=f(e.className);for(const n of s)o.has(n)||t.removeClassName(n);for(const n of o)s.has(n)||t.addClassName(n);t.options.className=e.className}return g.createPortal(e.children,u)}a.memo(a.forwardRef(C));
2
2
  //# sourceMappingURL=index.cjs70.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs70.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
+ {"version":3,"file":"index.cjs70.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":"yJAMA,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,QA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,QAAQ,OAAQV,EAAM,MAAM,GACvDU,EAAA,UAAUV,EAAM,MAAM,GAE5BU,EAAM,QAAQ,SAAWV,EAAM,QAAUU,EAAM,QAAQ,WAAaV,EAAM,YACpEU,EAAA,QAAQ,OAASV,EAAM,OACvBU,EAAA,YAAYV,EAAM,QAAQ,GAEhCU,EAAM,QAAQ,YAAcV,EAAM,WAAW,CAC7C,MAAMqB,EAAgBxB,EAAaa,EAAM,QAAQ,SAAS,EACpDY,EAAgBzB,EAAaG,EAAM,SAAS,EAClD,UAAWuB,KAAKF,EACPC,EAAc,IAAIC,CAAC,GACpBb,EAAM,gBAAgBa,CAAC,EAG/B,UAAWA,KAAKD,EACPD,EAAc,IAAIE,CAAC,GACpBb,EAAM,aAAaa,CAAC,EAGtBb,EAAA,QAAQ,UAAYV,EAAM,SACpC,CAEG,OAAAwB,eAAaxB,EAAM,SAAUM,CAAS,CACjD,CACemB,EAAAA,KAAKC,EAAAA,WAAW3B,CAAK,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("react"),d=require("./index.cjs188.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 e=require("react"),i=require("./index.cjs203.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);
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/geolocate-control.js"],"sourcesContent":["import { useImperativeHandle, useRef, useEffect, forwardRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction GeolocateControl(props, ref) {\n const thisRef = useRef({ props });\n const ctrl = useControl(({ mapLib }) => {\n const gc = new mapLib.GeolocateControl(props);\n // Hack: fix GeolocateControl reuse\n // When using React strict mode, the component is mounted twice.\n // GeolocateControl's UI creation is asynchronous. Removing and adding it back causes the UI to be initialized twice.\n // @ts-expect-error private method\n const setupUI = gc._setupUI;\n // @ts-expect-error private method\n gc._setupUI = args => {\n if (!gc._container.hasChildNodes()) {\n setupUI(args);\n }\n };\n gc.on('geolocate', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onGeolocate) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('error', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onError) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('outofmaxbounds', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onOutOfMaxBounds) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationstart', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationStart) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n gc.on('trackuserlocationend', e => {\n var _a, _b;\n (_b = (_a = thisRef.current.props).onTrackUserLocationEnd) === null || _b === void 0 ? void 0 : _b.call(_a, e);\n });\n return gc;\n }, { position: props.position });\n thisRef.current.props = props;\n useImperativeHandle(ref, () => ctrl, []);\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(forwardRef(GeolocateControl));\n//# sourceMappingURL=geolocate-control.js.map"],"names":["GeolocateControl","props","ref","thisRef","useRef","ctrl","useControl","mapLib","gc","setupUI","args","e","_a","_b","useImperativeHandle","useEffect","applyReactStyle","memo","forwardRef"],"mappings":"mGAGA,SAASA,EAAiBC,EAAOC,EAAK,CAClC,MAAMC,EAAUC,EAAAA,OAAO,CAAE,MAAAH,CAAO,CAAA,EAC1BI,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,CACpC,MAAMC,EAAK,IAAID,EAAO,iBAAiBN,CAAK,EAKtCQ,EAAUD,EAAG,SAEnB,OAAAA,EAAG,SAAmBE,GAAA,CACbF,EAAG,WAAW,iBACfC,EAAQC,CAAI,CAChB,EAEDF,EAAA,GAAG,YAAkBG,GAAA,CACpB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,eAAiB,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CACrG,EACEH,EAAA,GAAG,QAAcG,GAAA,CAChB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,WAAa,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CACjG,EACEH,EAAA,GAAG,iBAAuBG,GAAA,CACzB,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,oBAAsB,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAC1G,EACEH,EAAA,GAAG,yBAA+BG,GAAA,CACjC,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,4BAA8B,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAClH,EACEH,EAAA,GAAG,uBAA6BG,GAAA,CAC/B,IAAIC,EAAIC,GACPA,GAAMD,EAAKT,EAAQ,QAAQ,OAAO,0BAA4B,MAAQU,IAAO,QAAkBA,EAAG,KAAKD,EAAID,CAAC,CAAA,CAChH,EACMH,CACR,EAAA,CAAE,SAAUP,EAAM,QAAU,CAAA,EAC/B,OAAAE,EAAQ,QAAQ,MAAQF,EACxBa,EAAAA,oBAAoBZ,EAAK,IAAMG,EAAM,CAAE,CAAA,EACvCU,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAX,EAAK,WAAYJ,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACegB,EAAAA,KAAKC,EAAAA,WAAWlB,CAAgB,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs71.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/attribution-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction AttributionControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.AttributionControl(props), {\n position: props.position\n });\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(AttributionControl);\n//# sourceMappingURL=attribution-control.js.map"],"names":["AttributionControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAmBC,EAAO,CACzB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,mBAAmBH,CAAK,EAAG,CAC1E,SAAUA,EAAM,QAAA,CACnB,EACDI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,WAAYD,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACeM,OAAKP,CAAkB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),i=require("./index.cjs188.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";const t=require("react"),l=require("./index.cjs203.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;
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/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
+ {"version":3,"file":"index.cjs72.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 n=require("react"),a=require("./index.cjs188.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";const c=require("react"),d=require("./index.cjs203.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.cjs73.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs73.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/scale-control.js"],"sourcesContent":["import { useEffect, useRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction ScaleControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.ScaleControl(props), {\n position: props.position\n });\n const propsRef = useRef(props);\n const prevProps = propsRef.current;\n propsRef.current = props;\n const { style } = props;\n if (props.maxWidth !== undefined && props.maxWidth !== prevProps.maxWidth) {\n ctrl.options.maxWidth = props.maxWidth;\n }\n if (props.unit !== undefined && props.unit !== prevProps.unit) {\n ctrl.setUnit(props.unit);\n }\n useEffect(() => {\n applyReactStyle(ctrl._container, style);\n }, [style]);\n return null;\n}\nexport default memo(ScaleControl);\n//# sourceMappingURL=scale-control.js.map"],"names":["ScaleControl","props","ctrl","useControl","mapLib","propsRef","useRef","prevProps","style","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAaC,EAAO,CACnB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,aAAaH,CAAK,EAAG,CACpE,SAAUA,EAAM,QAAA,CACnB,EACKI,EAAWC,SAAOL,CAAK,EACvBM,EAAYF,EAAS,QAC3BA,EAAS,QAAUJ,EACb,KAAA,CAAE,MAAAO,CAAU,EAAAP,EAClB,OAAIA,EAAM,WAAa,QAAaA,EAAM,WAAaM,EAAU,WACxDL,EAAA,QAAQ,SAAWD,EAAM,UAE9BA,EAAM,OAAS,QAAaA,EAAM,OAASM,EAAU,MAChDL,EAAA,QAAQD,EAAM,IAAI,EAE3BQ,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAR,EAAK,WAAYM,CAAK,CAAA,EACvC,CAACA,CAAK,CAAC,EACH,IACX,CACeG,OAAKX,CAAY","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs73.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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs66.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";const e=require("react"),i=require("./index.cjs203.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.cjs74.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs74.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.cjs74.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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";const n=require("react"),a=require("./index.cjs203.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.cjs75.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs75.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs75.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/scale-control.js"],"sourcesContent":["import { useEffect, useRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction ScaleControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.ScaleControl(props), {\n position: props.position\n });\n const propsRef = useRef(props);\n const prevProps = propsRef.current;\n propsRef.current = props;\n const { style } = props;\n if (props.maxWidth !== undefined && props.maxWidth !== prevProps.maxWidth) {\n ctrl.options.maxWidth = props.maxWidth;\n }\n if (props.unit !== undefined && props.unit !== prevProps.unit) {\n ctrl.setUnit(props.unit);\n }\n useEffect(() => {\n applyReactStyle(ctrl._container, style);\n }, [style]);\n return null;\n}\nexport default memo(ScaleControl);\n//# sourceMappingURL=scale-control.js.map"],"names":["ScaleControl","props","ctrl","useControl","mapLib","propsRef","useRef","prevProps","style","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAaC,EAAO,CACnB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,aAAaH,CAAK,EAAG,CACpE,SAAUA,EAAM,QAAA,CACnB,EACKI,EAAWC,SAAOL,CAAK,EACvBM,EAAYF,EAAS,QAC3BA,EAAS,QAAUJ,EACb,KAAA,CAAE,MAAAO,CAAU,EAAAP,EAClB,OAAIA,EAAM,WAAa,QAAaA,EAAM,WAAaM,EAAU,WACxDL,EAAA,QAAQ,SAAWD,EAAM,UAE9BA,EAAM,OAAS,QAAaA,EAAM,OAASM,EAAU,MAChDL,EAAA,QAAQD,EAAM,IAAI,EAE3BQ,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAR,EAAK,WAAYM,CAAK,CAAA,EACvC,CAACA,CAAK,CAAC,EACH,IACX,CACeG,OAAKX,CAAY","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs68.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.cjs76.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs76.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs76.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 u=require("react"),m=require("./index.cjs66.js"),L=require("./index.cjs190.js"),s=require("./index.cjs189.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 u=require("react"),m=require("./index.cjs68.js"),L=require("./index.cjs205.js"),s=require("./index.cjs204.js");function q(t,e,a,o){if(L(a.id===o.id,"layer id changed"),L(a.type===o.type,"layer type changed"),a.type==="custom"||o.type==="custom")return;const{layout:r={},paint:i={},filter:y,minzoom:f,maxzoom:l,beforeId:d}=a;if(d!==o.beforeId&&t.moveLayer(e,d),r!==o.layout){const c=o.layout||{};for(const n in r)s.deepEqual(r[n],c[n])||t.setLayoutProperty(e,n,r[n]);for(const n in c)r.hasOwnProperty(n)||t.setLayoutProperty(e,n,void 0)}if(i!==o.paint){const c=o.paint||{};for(const n in i)s.deepEqual(i[n],c[n])||t.setPaintProperty(e,n,i[n]);for(const n in c)i.hasOwnProperty(n)||t.setPaintProperty(e,n,void 0)}s.deepEqual(y,o.filter)||t.setFilter(e,y),(f!==o.minzoom||l!==o.maxzoom)&&t.setLayerZoomRange(e,f,l)}function g(t,e,a){if(t.style&&t.style._loaded&&(!("source"in a)||t.getSource(a.source))){const o={...a,id:e};delete o.beforeId,t.addLayer(o,a.beforeId)}}let x=0;function h(t){const e=u.useContext(m.MapContext).map.getMap(),a=u.useRef(t),[,o]=u.useState(0),r=u.useMemo(()=>t.id||`jsx-layer-${x++}`,[]);if(u.useEffect(()=>{if(e){const y=()=>o(f=>f+1);return e.on("styledata",y),y(),()=>{e.off("styledata",y),e.style&&e.style._loaded&&e.getLayer(r)&&e.removeLayer(r)}}},[e]),e&&e.style&&e.getLayer(r))try{q(e,r,t,a.current)}catch(y){console.warn(y)}else g(e,r,t);return a.current=t,null}module.exports=h;
2
2
  //# sourceMappingURL=index.cjs78.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("react"),f=require("./index.cjs66.js"),d=require("./index.cjs190.js"),y=require("./index.cjs189.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";const l=require("react"),f=require("./index.cjs68.js"),d=require("./index.cjs205.js"),y=require("./index.cjs204.js");function g(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const S=g(l);let m=0;function b(t,e,n){if(t.style&&t.style._loaded){const o={...n};return delete o.id,delete o.children,t.addSource(e,o),t.getSource(e)}return null}function h(t,e,n){d(e.id===n.id,"source id changed"),d(e.type===n.type,"source type changed");let o="",c=0;for(const r in e)r!=="children"&&r!=="id"&&!y.deepEqual(n[r],e[r])&&(o=r,c++);if(!c)return;const a=e.type;if(a==="geojson")t.setData(e.data);else if(a==="image")t.updateImage({url:e.url,coordinates:e.coordinates});else if("setCoordinates"in t&&c===1&&o==="coordinates")t.setCoordinates(e.coordinates);else if("setUrl"in t)switch(o){case"url":t.setUrl(e.url);break;case"tiles":t.setTiles(e.tiles);break}else console.warn(`Unable to update <Source> prop: ${o}`)}function C(t){const e=l.useContext(f.MapContext).map.getMap(),n=l.useRef(t),[,o]=l.useState(0),c=l.useMemo(()=>t.id||`jsx-source-${m++}`,[]);l.useEffect(()=>{if(e){const r=()=>setTimeout(()=>o(i=>i+1),0);return e.on("styledata",r),r(),()=>{var i;if(e.off("styledata",r),e.style&&e.style._loaded&&e.getSource(c)){const u=(i=e.getStyle())===null||i===void 0?void 0:i.layers;if(u)for(const s of u)s.source===c&&e.removeLayer(s.id);e.removeSource(c)}}}},[e]);let a=e&&e.style&&e.getSource(c);return a?h(a,t,n.current):a=b(e,c,t),n.current=t,a&&S.Children.map(t.children,r=>r&&l.cloneElement(r,{source:c}))||null}module.exports=C;
2
2
  //# sourceMappingURL=index.cjs79.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),s=require("./index.cjs81.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs80.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs80.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,EAAMC,EAAiB,CAAC,EAAO,EAAAJ,EAAS,QAAQG,CAAG,GAAK,IAAkB,OAAO,UAAU,qBAAqB,KAAKJ,EAAQI,CAAG,IAAaF,EAAOE,CAAG,EAAIJ,EAAOI,CAAG,EAAI,CAAG,OAAOF,CAAS,CAC5e,SAASC,EAA8BH,EAAQC,EAAU,CAAE,GAAID,GAAU,KAAM,MAAO,CAAE,EAAE,IAAIE,EAAS,CAAE,EAAMI,EAAa,OAAO,KAAKN,CAAM,EAAOI,EAAKG,EAAG,IAAKA,EAAI,EAAGA,EAAID,EAAW,OAAQC,IAAOH,EAAME,EAAWC,CAAC,EAAO,EAAAN,EAAS,QAAQG,CAAG,GAAK,KAAaF,EAAOE,CAAG,EAAIJ,EAAOI,CAAG,GAAK,OAAOF,CAAS,CACnT,SAASM,GAAW,CAAE,OAAAA,EAAW,OAAO,OAAS,OAAO,OAAO,KAAM,EAAG,SAAUN,EA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AAQ,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
+ {"version":3,"file":"index.cjs80.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs81.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs81.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
+ {"version":3,"file":"index.cjs81.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs28.js"),s=require("./index.cjs150.js"),i=require("./index.cjs111.js"),c=require("./index.cjs24.js"),o=require("./index.cjs235.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;
1
+ "use strict";const r=require("./index.cjs28.js"),s=require("./index.cjs150.js"),i=require("./index.cjs111.js"),c=require("./index.cjs24.js"),o=require("./index.cjs233.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.cjs83.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs209.js"),r=t("String");module.exports=r;
1
+ "use strict";const t=require("./index.cjs207.js"),r=t("String");module.exports=r;
2
2
  //# sourceMappingURL=index.cjs90.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs209.js"),r=e("Number");module.exports=r;
1
+ "use strict";const e=require("./index.cjs207.js"),r=e("Number");module.exports=r;
2
2
  //# sourceMappingURL=index.cjs91.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs209.js"),e=t("Date");module.exports=e;
1
+ "use strict";const t=require("./index.cjs207.js"),e=t("Date");module.exports=e;
2
2
  //# sourceMappingURL=index.cjs92.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs209.js"),s=e("RegExp");module.exports=s;
1
+ "use strict";const e=require("./index.cjs207.js"),s=e("RegExp");module.exports=s;
2
2
  //# sourceMappingURL=index.cjs93.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs209.js"),s=r("Error");module.exports=s;
1
+ "use strict";const r=require("./index.cjs207.js"),s=r("Error");module.exports=s;
2
2
  //# sourceMappingURL=index.cjs94.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs209.js"),t=s("Symbol");module.exports=t;
1
+ "use strict";const s=require("./index.cjs207.js"),t=s("Symbol");module.exports=t;
2
2
  //# sourceMappingURL=index.cjs95.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs209.js"),e=r("ArrayBuffer");module.exports=e;
1
+ "use strict";const r=require("./index.cjs207.js"),e=r("ArrayBuffer");module.exports=e;
2
2
  //# sourceMappingURL=index.cjs96.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs209.js"),r=require("./index.cjs25.js"),i=require("./index.cjs96.js"),s=require("./index.cjs26.js");var a=t("DataView");function n(e){return e!=null&&r(e.getInt8)&&i(e.buffer)}const u=s.hasStringTagBug?n:a;module.exports=u;
1
+ "use strict";const t=require("./index.cjs207.js"),r=require("./index.cjs25.js"),i=require("./index.cjs96.js"),s=require("./index.cjs26.js");var a=t("DataView");function n(e){return e!=null&&r(e.getInt8)&&i(e.buffer)}const u=s.hasStringTagBug?n:a;module.exports=u;
2
2
  //# sourceMappingURL=index.cjs97.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs24.js"),e=require("./index.cjs209.js"),s=r.nativeIsArray||e("Array");module.exports=s;
1
+ "use strict";const r=require("./index.cjs24.js"),e=require("./index.cjs207.js"),s=r.nativeIsArray||e("Array");module.exports=s;
2
2
  //# sourceMappingURL=index.cjs98.js.map
@@ -1,7 +1,7 @@
1
1
  import { supportsArrayBuffer as i, nativeIsView as t, toString as a } from "./index.es24.js";
2
2
  import e from "./index.es97.js";
3
3
  import o from "./index.es122.js";
4
- import n from "./index.es211.js";
4
+ import n from "./index.es209.js";
5
5
  var s = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;
6
6
  function f(r) {
7
7
  return t ? t(r) && !e(r) : n(r) && s.test(a.call(r));
@@ -1,4 +1,4 @@
1
- import e from "./index.es212.js";
1
+ import e from "./index.es210.js";
2
2
  import i from "./index.es98.js";
3
3
  import m from "./index.es90.js";
4
4
  import n from "./index.es27.js";
@@ -1,13 +1,13 @@
1
1
  import m from "./index.es28.js";
2
2
  import { toString as g, SymbolProto as h } from "./index.es24.js";
3
- import j from "./index.es213.js";
3
+ import j from "./index.es211.js";
4
4
  import D from "./index.es101.js";
5
5
  import y from "./index.es25.js";
6
6
  import { hasStringTagBug as V } from "./index.es26.js";
7
7
  import v from "./index.es97.js";
8
8
  import w from "./index.es106.js";
9
- import q from "./index.es210.js";
10
- import d from "./index.es214.js";
9
+ import q from "./index.es208.js";
10
+ import d from "./index.es212.js";
11
11
  var B = "[object DataView]";
12
12
  function c(e, r, f, n) {
13
13
  if (e === r)
@@ -1,4 +1,4 @@
1
- import e from "./index.es209.js";
1
+ import e from "./index.es207.js";
2
2
  const a = e("WeakSet");
3
3
  export {
4
4
  a as default
@@ -1,7 +1,7 @@
1
1
  import e from "./index.es85.js";
2
2
  import { nativeKeys as f, hasEnumBug as m } from "./index.es24.js";
3
- import n from "./index.es210.js";
4
- import o from "./index.es216.js";
3
+ import n from "./index.es208.js";
4
+ import o from "./index.es214.js";
5
5
  function c(r) {
6
6
  if (!e(r))
7
7
  return [];
@@ -1,6 +1,6 @@
1
1
  import e from "./index.es85.js";
2
2
  import { hasEnumBug as f } from "./index.es24.js";
3
- import i from "./index.es216.js";
3
+ import i from "./index.es214.js";
4
4
  function s(r) {
5
5
  if (!e(r))
6
6
  return [];