@performant-software/geospatial 3.1.18-beta.8 → 3.1.18-beta.9

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 (463) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs101.js +1 -1
  3. package/dist/index.cjs102.js +1 -1
  4. package/dist/index.cjs103.js +1 -1
  5. package/dist/index.cjs106.js +1 -1
  6. package/dist/index.cjs107.js +1 -1
  7. package/dist/index.cjs109.js +1 -1
  8. package/dist/index.cjs110.js +1 -1
  9. package/dist/index.cjs111.js +1 -1
  10. package/dist/index.cjs112.js +1 -1
  11. package/dist/index.cjs117.js +1 -1
  12. package/dist/index.cjs118.js +1 -1
  13. package/dist/index.cjs119.js +1 -1
  14. package/dist/index.cjs120.js +1 -1
  15. package/dist/index.cjs123.js +1 -1
  16. package/dist/index.cjs124.js +1 -1
  17. package/dist/index.cjs125.js +1 -1
  18. package/dist/index.cjs129.js +1 -1
  19. package/dist/index.cjs13.js +1 -1
  20. package/dist/index.cjs13.js.map +1 -1
  21. package/dist/index.cjs132.js +1 -1
  22. package/dist/index.cjs136.js +1 -1
  23. package/dist/index.cjs139.js +1 -1
  24. package/dist/index.cjs147.js +1 -1
  25. package/dist/index.cjs148.js +1 -1
  26. package/dist/index.cjs149.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.cjs155.js +1 -1
  32. package/dist/index.cjs156.js +1 -1
  33. package/dist/index.cjs157.js +1 -1
  34. package/dist/index.cjs158.js +1 -1
  35. package/dist/index.cjs159.js +1 -1
  36. package/dist/index.cjs16.js +1 -1
  37. package/dist/index.cjs160.js +1 -1
  38. package/dist/index.cjs161.js +1 -1
  39. package/dist/index.cjs162.js +1 -1
  40. package/dist/index.cjs163.js +1 -1
  41. package/dist/index.cjs166.js +1 -1
  42. package/dist/index.cjs167.js +1 -1
  43. package/dist/index.cjs169.js +1 -1
  44. package/dist/index.cjs17.js +1 -1
  45. package/dist/index.cjs170.js +1 -1
  46. package/dist/index.cjs171.js +1 -1
  47. package/dist/index.cjs172.js +1 -1
  48. package/dist/index.cjs173.js +1 -1
  49. package/dist/index.cjs174.js +1 -1
  50. package/dist/index.cjs175.js +1 -1
  51. package/dist/index.cjs176.js +1 -1
  52. package/dist/index.cjs18.js +1 -1
  53. package/dist/index.cjs182.js +1 -1
  54. package/dist/index.cjs183.js +1 -1
  55. package/dist/index.cjs184.js +1 -1
  56. package/dist/index.cjs185.js +1 -1
  57. package/dist/index.cjs186.js +1 -1
  58. package/dist/index.cjs189.js +1 -1
  59. package/dist/index.cjs189.js.map +1 -1
  60. package/dist/index.cjs19.js +1 -1
  61. package/dist/index.cjs190.js +1 -1
  62. package/dist/index.cjs190.js.map +1 -1
  63. package/dist/index.cjs191.js +1 -1
  64. package/dist/index.cjs191.js.map +1 -1
  65. package/dist/index.cjs192.js +1 -1
  66. package/dist/index.cjs192.js.map +1 -1
  67. package/dist/index.cjs193.js +1 -1
  68. package/dist/index.cjs193.js.map +1 -1
  69. package/dist/index.cjs194.js +1 -1
  70. package/dist/index.cjs194.js.map +1 -1
  71. package/dist/index.cjs195.js +1 -1
  72. package/dist/index.cjs195.js.map +1 -1
  73. package/dist/index.cjs196.js +1 -1
  74. package/dist/index.cjs196.js.map +1 -1
  75. package/dist/index.cjs197.js +1 -1
  76. package/dist/index.cjs197.js.map +1 -1
  77. package/dist/index.cjs198.js +1 -1
  78. package/dist/index.cjs198.js.map +1 -1
  79. package/dist/index.cjs199.js +1 -1
  80. package/dist/index.cjs199.js.map +1 -1
  81. package/dist/index.cjs20.js +1 -1
  82. package/dist/index.cjs200.js +1 -1
  83. package/dist/index.cjs200.js.map +1 -1
  84. package/dist/index.cjs201.js +1 -1
  85. package/dist/index.cjs201.js.map +1 -1
  86. package/dist/index.cjs202.js +1 -1
  87. package/dist/index.cjs202.js.map +1 -1
  88. package/dist/index.cjs203.js +1 -1
  89. package/dist/index.cjs203.js.map +1 -1
  90. package/dist/index.cjs204.js +1 -1
  91. package/dist/index.cjs204.js.map +1 -1
  92. package/dist/index.cjs205.js +1 -1
  93. package/dist/index.cjs205.js.map +1 -1
  94. package/dist/index.cjs206.js +1 -1
  95. package/dist/index.cjs206.js.map +1 -1
  96. package/dist/index.cjs207.js +1 -1
  97. package/dist/index.cjs207.js.map +1 -1
  98. package/dist/index.cjs208.js +1 -1
  99. package/dist/index.cjs208.js.map +1 -1
  100. package/dist/index.cjs209.js +1 -1
  101. package/dist/index.cjs209.js.map +1 -1
  102. package/dist/index.cjs21.js +1 -1
  103. package/dist/index.cjs210.js +1 -1
  104. package/dist/index.cjs210.js.map +1 -1
  105. package/dist/index.cjs211.js +1 -1
  106. package/dist/index.cjs211.js.map +1 -1
  107. package/dist/index.cjs212.js +1 -1
  108. package/dist/index.cjs212.js.map +1 -1
  109. package/dist/index.cjs213.js +1 -1
  110. package/dist/index.cjs213.js.map +1 -1
  111. package/dist/index.cjs214.js +1 -1
  112. package/dist/index.cjs214.js.map +1 -1
  113. package/dist/index.cjs215.js +1 -1
  114. package/dist/index.cjs215.js.map +1 -1
  115. package/dist/index.cjs216.js +1 -1
  116. package/dist/index.cjs216.js.map +1 -1
  117. package/dist/index.cjs217.js +1 -1
  118. package/dist/index.cjs217.js.map +1 -1
  119. package/dist/index.cjs218.js +1 -1
  120. package/dist/index.cjs218.js.map +1 -1
  121. package/dist/index.cjs219.js +1 -1
  122. package/dist/index.cjs219.js.map +1 -1
  123. package/dist/index.cjs22.js +1 -1
  124. package/dist/index.cjs220.js +1 -1
  125. package/dist/index.cjs220.js.map +1 -1
  126. package/dist/index.cjs221.js +1 -1
  127. package/dist/index.cjs221.js.map +1 -1
  128. package/dist/index.cjs222.js +1 -1
  129. package/dist/index.cjs222.js.map +1 -1
  130. package/dist/index.cjs223.js +1 -1
  131. package/dist/index.cjs223.js.map +1 -1
  132. package/dist/index.cjs224.js +1 -1
  133. package/dist/index.cjs224.js.map +1 -1
  134. package/dist/index.cjs225.js +1 -1
  135. package/dist/index.cjs225.js.map +1 -1
  136. package/dist/index.cjs226.js +1 -1
  137. package/dist/index.cjs226.js.map +1 -1
  138. package/dist/index.cjs227.js +1 -1
  139. package/dist/index.cjs227.js.map +1 -1
  140. package/dist/index.cjs228.js +1 -1
  141. package/dist/index.cjs228.js.map +1 -1
  142. package/dist/index.cjs229.js +1 -1
  143. package/dist/index.cjs229.js.map +1 -1
  144. package/dist/index.cjs23.js +1 -1
  145. package/dist/index.cjs230.js +1 -1
  146. package/dist/index.cjs230.js.map +1 -1
  147. package/dist/index.cjs231.js +1 -1
  148. package/dist/index.cjs231.js.map +1 -1
  149. package/dist/index.cjs232.js +1 -1
  150. package/dist/index.cjs232.js.map +1 -1
  151. package/dist/index.cjs233.js +1 -1
  152. package/dist/index.cjs233.js.map +1 -1
  153. package/dist/index.cjs234.js +1 -1
  154. package/dist/index.cjs234.js.map +1 -1
  155. package/dist/index.cjs235.js +1 -1
  156. package/dist/index.cjs235.js.map +1 -1
  157. package/dist/index.cjs236.js +1 -1
  158. package/dist/index.cjs236.js.map +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.cjs239.js +1 -1
  164. package/dist/index.cjs239.js.map +1 -1
  165. package/dist/index.cjs24.js +1 -1
  166. package/dist/index.cjs242.js +1 -1
  167. package/dist/index.cjs242.js.map +1 -1
  168. package/dist/index.cjs243.js +1 -1
  169. package/dist/index.cjs243.js.map +1 -1
  170. package/dist/index.cjs244.js +1 -1
  171. package/dist/index.cjs244.js.map +1 -1
  172. package/dist/index.cjs245.js +1 -1
  173. package/dist/index.cjs245.js.map +1 -1
  174. package/dist/index.cjs246.js +1 -1
  175. package/dist/index.cjs246.js.map +1 -1
  176. package/dist/index.cjs248.js +1 -1
  177. package/dist/index.cjs25.js +1 -1
  178. package/dist/index.cjs251.js +1 -1
  179. package/dist/index.cjs252.js +1 -1
  180. package/dist/index.cjs254.js +1 -1
  181. package/dist/index.cjs257.js +1 -1
  182. package/dist/index.cjs258.js +1 -1
  183. package/dist/index.cjs259.js +1 -1
  184. package/dist/index.cjs26.js +1 -1
  185. package/dist/index.cjs262.js +1 -1
  186. package/dist/index.cjs263.js +1 -1
  187. package/dist/index.cjs265.js +1 -1
  188. package/dist/index.cjs265.js.map +1 -1
  189. package/dist/index.cjs266.js +1 -1
  190. package/dist/index.cjs266.js.map +1 -1
  191. package/dist/index.cjs267.js +1 -1
  192. package/dist/index.cjs267.js.map +1 -1
  193. package/dist/index.cjs268.js +1 -1
  194. package/dist/index.cjs268.js.map +1 -1
  195. package/dist/index.cjs27.js +1 -1
  196. package/dist/index.cjs34.js +1 -1
  197. package/dist/index.cjs35.js +1 -1
  198. package/dist/index.cjs38.js +1 -1
  199. package/dist/index.cjs39.js +1 -1
  200. package/dist/index.cjs40.js +1 -1
  201. package/dist/index.cjs42.js +1 -1
  202. package/dist/index.cjs43.js +1 -1
  203. package/dist/index.cjs44.js +1 -1
  204. package/dist/index.cjs46.js +1 -1
  205. package/dist/index.cjs47.js +1 -1
  206. package/dist/index.cjs48.js +1 -1
  207. package/dist/index.cjs50.js +1 -1
  208. package/dist/index.cjs51.js +1 -1
  209. package/dist/index.cjs52.js +1 -1
  210. package/dist/index.cjs56.js +1 -1
  211. package/dist/index.cjs57.js +1 -1
  212. package/dist/index.cjs58.js +1 -1
  213. package/dist/index.cjs60.js +1 -1
  214. package/dist/index.cjs61.js +1 -1
  215. package/dist/index.cjs63.js +1 -1
  216. package/dist/index.cjs69.js +1 -1
  217. package/dist/index.cjs71.js +1 -1
  218. package/dist/index.cjs72.js +1 -1
  219. package/dist/index.cjs82.js +1 -1
  220. package/dist/index.cjs82.js.map +1 -1
  221. package/dist/index.cjs83.js +1 -1
  222. package/dist/index.cjs83.js.map +1 -1
  223. package/dist/index.cjs84.js +1 -1
  224. package/dist/index.cjs84.js.map +1 -1
  225. package/dist/index.cjs88.js +1 -1
  226. package/dist/index.cjs95.js +1 -1
  227. package/dist/index.cjs96.js +1 -1
  228. package/dist/index.cjs97.js +1 -1
  229. package/dist/index.cjs98.js +1 -1
  230. package/dist/index.cjs99.js +1 -1
  231. package/dist/index.es100.js +1 -1
  232. package/dist/index.es101.js +1 -1
  233. package/dist/index.es102.js +1 -1
  234. package/dist/index.es103.js +1 -1
  235. package/dist/index.es106.js +1 -1
  236. package/dist/index.es107.js +1 -1
  237. package/dist/index.es109.js +3 -3
  238. package/dist/index.es110.js +1 -1
  239. package/dist/index.es111.js +2 -2
  240. package/dist/index.es112.js +1 -1
  241. package/dist/index.es117.js +1 -1
  242. package/dist/index.es118.js +1 -1
  243. package/dist/index.es119.js +1 -1
  244. package/dist/index.es120.js +1 -1
  245. package/dist/index.es123.js +2 -2
  246. package/dist/index.es124.js +2 -2
  247. package/dist/index.es125.js +1 -1
  248. package/dist/index.es129.js +2 -2
  249. package/dist/index.es13.js +25 -26
  250. package/dist/index.es13.js.map +1 -1
  251. package/dist/index.es132.js +1 -1
  252. package/dist/index.es136.js +1 -1
  253. package/dist/index.es139.js +1 -1
  254. package/dist/index.es147.js +1 -1
  255. package/dist/index.es148.js +1 -1
  256. package/dist/index.es149.js +1 -1
  257. package/dist/index.es150.js +2 -2
  258. package/dist/index.es151.js +1 -1
  259. package/dist/index.es152.js +1 -1
  260. package/dist/index.es153.js +1 -1
  261. package/dist/index.es155.js +2 -2
  262. package/dist/index.es156.js +2 -2
  263. package/dist/index.es157.js +1 -1
  264. package/dist/index.es158.js +1 -1
  265. package/dist/index.es159.js +1 -1
  266. package/dist/index.es16.js +4 -4
  267. package/dist/index.es160.js +1 -1
  268. package/dist/index.es161.js +2 -2
  269. package/dist/index.es162.js +2 -2
  270. package/dist/index.es163.js +1 -1
  271. package/dist/index.es166.js +2 -2
  272. package/dist/index.es167.js +2 -2
  273. package/dist/index.es169.js +2 -2
  274. package/dist/index.es17.js +3 -3
  275. package/dist/index.es170.js +1 -1
  276. package/dist/index.es171.js +2 -2
  277. package/dist/index.es172.js +1 -1
  278. package/dist/index.es173.js +2 -2
  279. package/dist/index.es174.js +1 -1
  280. package/dist/index.es175.js +1 -1
  281. package/dist/index.es176.js +1 -1
  282. package/dist/index.es18.js +3 -3
  283. package/dist/index.es182.js +1 -1
  284. package/dist/index.es183.js +2 -2
  285. package/dist/index.es184.js +1 -1
  286. package/dist/index.es185.js +1 -1
  287. package/dist/index.es186.js +1 -1
  288. package/dist/index.es189.js +12 -146
  289. package/dist/index.es189.js.map +1 -1
  290. package/dist/index.es19.js +1 -1
  291. package/dist/index.es190.js +147 -6
  292. package/dist/index.es190.js.map +1 -1
  293. package/dist/index.es191.js +7 -5
  294. package/dist/index.es191.js.map +1 -1
  295. package/dist/index.es192.js +7 -3
  296. package/dist/index.es192.js.map +1 -1
  297. package/dist/index.es193.js +1 -1
  298. package/dist/index.es193.js.map +1 -1
  299. package/dist/index.es194.js +3 -38
  300. package/dist/index.es194.js.map +1 -1
  301. package/dist/index.es195.js +38 -3
  302. package/dist/index.es195.js.map +1 -1
  303. package/dist/index.es196.js +3 -25
  304. package/dist/index.es196.js.map +1 -1
  305. package/dist/index.es197.js +25 -2
  306. package/dist/index.es197.js.map +1 -1
  307. package/dist/index.es198.js +0 -1
  308. package/dist/index.es198.js.map +1 -1
  309. package/dist/index.es199.js +1 -0
  310. package/dist/index.es199.js.map +1 -1
  311. package/dist/index.es20.js +1 -1
  312. package/dist/index.es200.js +2 -33
  313. package/dist/index.es200.js.map +1 -1
  314. package/dist/index.es201.js +31 -13
  315. package/dist/index.es201.js.map +1 -1
  316. package/dist/index.es202.js +11 -12
  317. package/dist/index.es202.js.map +1 -1
  318. package/dist/index.es203.js +13 -8
  319. package/dist/index.es203.js.map +1 -1
  320. package/dist/index.es204.js +8 -13
  321. package/dist/index.es204.js.map +1 -1
  322. package/dist/index.es205.js +242 -7
  323. package/dist/index.es205.js.map +1 -1
  324. package/dist/index.es206.js +42 -4
  325. package/dist/index.es206.js.map +1 -1
  326. package/dist/index.es207.js +3 -4
  327. package/dist/index.es207.js.map +1 -1
  328. package/dist/index.es208.js +11 -3
  329. package/dist/index.es208.js.map +1 -1
  330. package/dist/index.es209.js +11 -3
  331. package/dist/index.es209.js.map +1 -1
  332. package/dist/index.es21.js +1 -1
  333. package/dist/index.es210.js +30 -8
  334. package/dist/index.es210.js.map +1 -1
  335. package/dist/index.es211.js +13 -18
  336. package/dist/index.es211.js.map +1 -1
  337. package/dist/index.es212.js +4 -20
  338. package/dist/index.es212.js.map +1 -1
  339. package/dist/index.es213.js +6 -11
  340. package/dist/index.es213.js.map +1 -1
  341. package/dist/index.es214.js +4 -14
  342. package/dist/index.es214.js.map +1 -1
  343. package/dist/index.es215.js +4 -6
  344. package/dist/index.es215.js.map +1 -1
  345. package/dist/index.es216.js +3 -8
  346. package/dist/index.es216.js.map +1 -1
  347. package/dist/index.es217.js +3 -7
  348. package/dist/index.es217.js.map +1 -1
  349. package/dist/index.es218.js +8 -21
  350. package/dist/index.es218.js.map +1 -1
  351. package/dist/index.es219.js +17 -8
  352. package/dist/index.es219.js.map +1 -1
  353. package/dist/index.es22.js +1 -1
  354. package/dist/index.es220.js +21 -9
  355. package/dist/index.es220.js.map +1 -1
  356. package/dist/index.es221.js +13 -4
  357. package/dist/index.es221.js.map +1 -1
  358. package/dist/index.es222.js +14 -10
  359. package/dist/index.es222.js.map +1 -1
  360. package/dist/index.es223.js +5 -7
  361. package/dist/index.es223.js.map +1 -1
  362. package/dist/index.es224.js +6 -19
  363. package/dist/index.es224.js.map +1 -1
  364. package/dist/index.es225.js +6 -10
  365. package/dist/index.es225.js.map +1 -1
  366. package/dist/index.es226.js +20 -16
  367. package/dist/index.es226.js.map +1 -1
  368. package/dist/index.es227.js +10 -4
  369. package/dist/index.es227.js.map +1 -1
  370. package/dist/index.es228.js +9 -18
  371. package/dist/index.es228.js.map +1 -1
  372. package/dist/index.es229.js +4 -12
  373. package/dist/index.es229.js.map +1 -1
  374. package/dist/index.es23.js +1 -1
  375. package/dist/index.es230.js +10 -3
  376. package/dist/index.es230.js.map +1 -1
  377. package/dist/index.es231.js +7 -4
  378. package/dist/index.es231.js.map +1 -1
  379. package/dist/index.es232.js +20 -242
  380. package/dist/index.es232.js.map +1 -1
  381. package/dist/index.es233.js +9 -41
  382. package/dist/index.es233.js.map +1 -1
  383. package/dist/index.es234.js +18 -3
  384. package/dist/index.es234.js.map +1 -1
  385. package/dist/index.es235.js +3 -10
  386. package/dist/index.es235.js.map +1 -1
  387. package/dist/index.es236.js +17 -10
  388. package/dist/index.es236.js.map +1 -1
  389. package/dist/index.es237.js +11 -30
  390. package/dist/index.es237.js.map +1 -1
  391. package/dist/index.es238.js +3 -13
  392. package/dist/index.es238.js.map +1 -1
  393. package/dist/index.es239.js +4 -4
  394. package/dist/index.es239.js.map +1 -1
  395. package/dist/index.es24.js +1 -1
  396. package/dist/index.es242.js +6 -3
  397. package/dist/index.es242.js.map +1 -1
  398. package/dist/index.es243.js +3 -8
  399. package/dist/index.es243.js.map +1 -1
  400. package/dist/index.es244.js +19 -4
  401. package/dist/index.es244.js.map +1 -1
  402. package/dist/index.es245.js +22 -20
  403. package/dist/index.es245.js.map +1 -1
  404. package/dist/index.es246.js +7 -22
  405. package/dist/index.es246.js.map +1 -1
  406. package/dist/index.es248.js +1 -1
  407. package/dist/index.es25.js +1 -1
  408. package/dist/index.es251.js +1 -1
  409. package/dist/index.es252.js +1 -1
  410. package/dist/index.es254.js +1 -1
  411. package/dist/index.es257.js +2 -2
  412. package/dist/index.es258.js +1 -1
  413. package/dist/index.es259.js +2 -2
  414. package/dist/index.es26.js +2 -2
  415. package/dist/index.es262.js +1 -1
  416. package/dist/index.es263.js +1 -1
  417. package/dist/index.es265.js +2 -69
  418. package/dist/index.es265.js.map +1 -1
  419. package/dist/index.es266.js +15 -4
  420. package/dist/index.es266.js.map +1 -1
  421. package/dist/index.es267.js +4 -15
  422. package/dist/index.es267.js.map +1 -1
  423. package/dist/index.es268.js +69 -2
  424. package/dist/index.es268.js.map +1 -1
  425. package/dist/index.es27.js +2 -2
  426. package/dist/index.es34.js +2 -2
  427. package/dist/index.es35.js +2 -2
  428. package/dist/index.es38.js +1 -1
  429. package/dist/index.es39.js +1 -1
  430. package/dist/index.es40.js +2 -2
  431. package/dist/index.es42.js +2 -2
  432. package/dist/index.es43.js +2 -2
  433. package/dist/index.es44.js +2 -2
  434. package/dist/index.es46.js +1 -1
  435. package/dist/index.es47.js +2 -2
  436. package/dist/index.es48.js +2 -2
  437. package/dist/index.es50.js +1 -1
  438. package/dist/index.es51.js +1 -1
  439. package/dist/index.es52.js +1 -1
  440. package/dist/index.es56.js +2 -2
  441. package/dist/index.es57.js +3 -3
  442. package/dist/index.es58.js +1 -1
  443. package/dist/index.es60.js +1 -1
  444. package/dist/index.es61.js +1 -1
  445. package/dist/index.es63.js +1 -1
  446. package/dist/index.es69.js +1 -1
  447. package/dist/index.es71.js +6 -6
  448. package/dist/index.es72.js +1 -1
  449. package/dist/index.es82.js +11 -105
  450. package/dist/index.es82.js.map +1 -1
  451. package/dist/index.es83.js +106 -10
  452. package/dist/index.es83.js.map +1 -1
  453. package/dist/index.es84.js +10 -12
  454. package/dist/index.es84.js.map +1 -1
  455. package/dist/index.es88.js +1 -1
  456. package/dist/index.es95.js +1 -1
  457. package/dist/index.es96.js +1 -1
  458. package/dist/index.es97.js +1 -1
  459. package/dist/index.es98.js +1 -1
  460. package/dist/index.es99.js +1 -1
  461. package/package.json +1 -1
  462. package/src/utils/Map.js +3 -9
  463. package/types/utils/Map.js.flow +3 -9
@@ -1,5 +1,5 @@
1
- import v from "./index.es217.js";
2
- import g from "./index.es208.js";
1
+ import v from "./index.es225.js";
2
+ import g from "./index.es216.js";
3
3
  function a(h, n, o, t) {
4
4
  o = v(o, t, 1);
5
5
  for (var u = o(n), r = 0, f = g(h); r < f; ) {
@@ -1,6 +1,6 @@
1
1
  import e from "./index.es150.js";
2
2
  import r from "./index.es148.js";
3
- import o from "./index.es226.js";
3
+ import o from "./index.es234.js";
4
4
  const f = o(1, r, e);
5
5
  export {
6
6
  f as default
@@ -1,5 +1,5 @@
1
1
  import e from "./index.es149.js";
2
- import t from "./index.es226.js";
2
+ import t from "./index.es234.js";
3
3
  const n = t(-1, e);
4
4
  export {
5
5
  n as default
@@ -1,4 +1,4 @@
1
- import d from "./index.es227.js";
1
+ import d from "./index.es235.js";
2
2
  import o from "./index.es148.js";
3
3
  import t from "./index.es147.js";
4
4
  function y(r, e, f) {
@@ -1,5 +1,5 @@
1
- import p from "./index.es218.js";
2
- import t from "./index.es227.js";
1
+ import p from "./index.es226.js";
2
+ import t from "./index.es235.js";
3
3
  import h from "./index.es111.js";
4
4
  function u(f, i, l) {
5
5
  i = p(i, l);
@@ -1,5 +1,5 @@
1
- import l from "./index.es217.js";
2
- import k from "./index.es227.js";
1
+ import l from "./index.es225.js";
2
+ import k from "./index.es235.js";
3
3
  import u from "./index.es111.js";
4
4
  function h(r, a, t) {
5
5
  a = l(a, t);
@@ -1,4 +1,4 @@
1
- import e from "./index.es228.js";
1
+ import e from "./index.es236.js";
2
2
  const t = e(1);
3
3
  export {
4
4
  t as default
@@ -1,4 +1,4 @@
1
- import e from "./index.es228.js";
1
+ import e from "./index.es236.js";
2
2
  const r = e(-1);
3
3
  export {
4
4
  r as default
@@ -1,4 +1,4 @@
1
- import m from "./index.es217.js";
1
+ import m from "./index.es225.js";
2
2
  import s from "./index.es155.js";
3
3
  function l(t, r, n) {
4
4
  var f = [];
@@ -1,10 +1,10 @@
1
1
  import * as i from "react";
2
2
  import { useContext as b, useState as E, useRef as s, useEffect as v, useImperativeHandle as L, useMemo as x } from "react";
3
3
  import { MountedMapsContext as y } from "./index.es28.js";
4
- import u from "./index.es232.js";
5
- import I from "./index.es233.js";
6
- import w from "./index.es234.js";
7
- import C from "./index.es235.js";
4
+ import u from "./index.es205.js";
5
+ import I from "./index.es206.js";
6
+ import w from "./index.es207.js";
7
+ import C from "./index.es208.js";
8
8
  const g = i.createContext(null);
9
9
  function R(e, f) {
10
10
  const c = b(y), [o, M] = E(null), l = s(), { current: a } = s({ mapLib: null, map: null });
@@ -1,6 +1,6 @@
1
1
  import o from "./index.es159.js";
2
2
  import f from "./index.es143.js";
3
- import m from "./index.es217.js";
3
+ import m from "./index.es225.js";
4
4
  function a(r, t, e) {
5
5
  return o(r, f(m(t)), e);
6
6
  }
@@ -1,5 +1,5 @@
1
- import e from "./index.es217.js";
2
- import l from "./index.es227.js";
1
+ import e from "./index.es225.js";
2
+ import l from "./index.es235.js";
3
3
  import u from "./index.es111.js";
4
4
  function g(r, t, o) {
5
5
  t = e(t, o);
@@ -1,5 +1,5 @@
1
- import l from "./index.es217.js";
2
- import u from "./index.es227.js";
1
+ import l from "./index.es225.js";
2
+ import u from "./index.es235.js";
3
3
  import e from "./index.es111.js";
4
4
  function h(r, t, s) {
5
5
  t = l(t, s);
@@ -1,4 +1,4 @@
1
- import e from "./index.es227.js";
1
+ import e from "./index.es235.js";
2
2
  import a from "./index.es113.js";
3
3
  import m from "./index.es151.js";
4
4
  function u(i, t, r, f) {
@@ -1,6 +1,6 @@
1
- import c from "./index.es227.js";
1
+ import c from "./index.es235.js";
2
2
  import s from "./index.es113.js";
3
- import e from "./index.es217.js";
3
+ import e from "./index.es225.js";
4
4
  import I from "./index.es155.js";
5
5
  function g(n, f, o) {
6
6
  var r = -1 / 0, u = -1 / 0, i, l;
@@ -1,6 +1,6 @@
1
- import s from "./index.es227.js";
1
+ import s from "./index.es235.js";
2
2
  import a from "./index.es113.js";
3
- import e from "./index.es217.js";
3
+ import e from "./index.es225.js";
4
4
  import I from "./index.es155.js";
5
5
  function k(n, f, o) {
6
6
  var i = 1 / 0, u = 1 / 0, r, l;
@@ -1,6 +1,6 @@
1
- import s from "./index.es227.js";
1
+ import s from "./index.es235.js";
2
2
  import v from "./index.es113.js";
3
- import u from "./index.es208.js";
3
+ import u from "./index.es216.js";
4
4
  import o from "./index.es133.js";
5
5
  import h from "./index.es175.js";
6
6
  function M(r, a, e) {
@@ -1,10 +1,10 @@
1
1
  import * as k from "react";
2
2
  import { memo as A, forwardRef as D, useContext as N, useRef as b, useMemo as y, useEffect as h, useImperativeHandle as M } from "react";
3
3
  import { createPortal as w } from "react-dom";
4
- import { applyReactStyle as x } from "./index.es236.js";
4
+ import { applyReactStyle as x } from "./index.es209.js";
5
5
  import { MapContext as O } from "./index.es16.js";
6
- import { arePointsEqual as S } from "./index.es237.js";
7
- import { compareClassNames as q } from "./index.es238.js";
6
+ import { arePointsEqual as S } from "./index.es210.js";
7
+ import { compareClassNames as q } from "./index.es211.js";
8
8
  A(D((e, E) => {
9
9
  const { map: v, mapLib: R } = N(O), r = b({ props: e }), t = y(() => {
10
10
  let i = !1;
@@ -1,4 +1,4 @@
1
- import c from "./index.es217.js";
1
+ import c from "./index.es225.js";
2
2
  import d from "./index.es164.js";
3
3
  import e from "./index.es156.js";
4
4
  function x(u, t, f) {
@@ -1,5 +1,5 @@
1
- import r from "./index.es229.js";
2
- import i from "./index.es206.js";
1
+ import r from "./index.es237.js";
2
+ import i from "./index.es214.js";
3
3
  const n = r(function(o, f, p) {
4
4
  i(o, p) ? o[p].push(f) : o[p] = [f];
5
5
  });
@@ -1,4 +1,4 @@
1
- import r from "./index.es229.js";
1
+ import r from "./index.es237.js";
2
2
  const f = r(function(o, t, n) {
3
3
  o[n] = t;
4
4
  });
@@ -1,5 +1,5 @@
1
- import t from "./index.es229.js";
2
- import a from "./index.es206.js";
1
+ import t from "./index.es237.js";
2
+ import a from "./index.es214.js";
3
3
  const p = t(function(o, i, f) {
4
4
  a(o, f) ? o[f]++ : o[f] = 1;
5
5
  });
@@ -1,4 +1,4 @@
1
- import p from "./index.es229.js";
1
+ import p from "./index.es237.js";
2
2
  const i = p(function(t, o, r) {
3
3
  t[r ? 0 : 1].push(o);
4
4
  }, !0);
@@ -1,7 +1,7 @@
1
1
  import f from "./index.es103.js";
2
2
  import { slice as t } from "./index.es37.js";
3
3
  import i from "./index.es95.js";
4
- import m from "./index.es227.js";
4
+ import m from "./index.es235.js";
5
5
  import u from "./index.es156.js";
6
6
  import e from "./index.es126.js";
7
7
  import o from "./index.es113.js";
@@ -1,4 +1,4 @@
1
- import e from "./index.es227.js";
1
+ import e from "./index.es235.js";
2
2
  import t from "./index.es111.js";
3
3
  function f(r) {
4
4
  return r == null ? 0 : e(r) ? r.length : t(r).length;
@@ -1,9 +1,9 @@
1
1
  import { createPortal as u } from "react-dom";
2
2
  import { memo as d, forwardRef as g, useContext as h, useMemo as i, useRef as L, useEffect as s, useImperativeHandle as C } from "react";
3
- import { applyReactStyle as x } from "./index.es236.js";
3
+ import { applyReactStyle as x } from "./index.es209.js";
4
4
  import { MapContext as M } from "./index.es16.js";
5
- import { deepEqual as N } from "./index.es237.js";
6
- import { compareClassNames as O } from "./index.es238.js";
5
+ import { deepEqual as N } from "./index.es210.js";
6
+ import { compareClassNames as O } from "./index.es211.js";
7
7
  d(g((e, m) => {
8
8
  const { map: l, mapLib: r } = h(M), c = i(() => document.createElement("div"), []), a = L({ props: e }), t = i(() => {
9
9
  const n = { ...e }, o = new r.Popup(n);
@@ -1,4 +1,4 @@
1
- import f from "./index.es224.js";
1
+ import f from "./index.es232.js";
2
2
  function n(t, e) {
3
3
  return f(t, e, !1);
4
4
  }
@@ -1,6 +1,6 @@
1
1
  import b from "./index.es93.js";
2
- import q from "./index.es217.js";
3
- import B from "./index.es208.js";
2
+ import q from "./index.es225.js";
3
+ import B from "./index.es216.js";
4
4
  import r from "./index.es163.js";
5
5
  function w(l, p, f, g) {
6
6
  b(p) || (g = f, f = p, p = !1), f != null && (f = q(f, g));
@@ -1,4 +1,4 @@
1
- import u from "./index.es208.js";
1
+ import u from "./index.es216.js";
2
2
  import f from "./index.es163.js";
3
3
  function v(o) {
4
4
  for (var t = [], a = arguments.length, n = 0, s = u(o); n < s; n++) {
@@ -1,5 +1,5 @@
1
1
  import f from "./index.es166.js";
2
- import p from "./index.es208.js";
2
+ import p from "./index.es216.js";
3
3
  import u from "./index.es164.js";
4
4
  function n(t) {
5
5
  for (var o = t && f(t, p).length || 0, m = Array(o), r = 0; r < o; r++)
@@ -1,4 +1,4 @@
1
- import n from "./index.es208.js";
1
+ import n from "./index.es216.js";
2
2
  function u(e, t) {
3
3
  for (var o = {}, r = 0, f = n(e); r < f; r++)
4
4
  t ? o[e[r]] = t[r] : o[e[r][0]] = e[r][1];
@@ -1,151 +1,17 @@
1
- function b(e, o, f) {
2
- if (e !== null)
3
- for (var r, i, a, u, c, t, s, y = 0, l = 0, h, p = e.type, C = p === "FeatureCollection", G = p === "Feature", w = C ? e.features.length : 1, P = 0; P < w; P++) {
4
- s = C ? e.features[P].geometry : G ? e.geometry : e, h = s ? s.type === "GeometryCollection" : !1, c = h ? s.geometries.length : 1;
5
- for (var M = 0; M < c; M++) {
6
- var n = 0, g = 0;
7
- if (u = h ? s.geometries[M] : s, u !== null) {
8
- t = u.coordinates;
9
- var v = u.type;
10
- switch (y = 0, v) {
11
- case null:
12
- break;
13
- case "Point":
14
- if (o(
15
- t,
16
- l,
17
- P,
18
- n,
19
- g
20
- ) === !1)
21
- return !1;
22
- l++, n++;
23
- break;
24
- case "LineString":
25
- case "MultiPoint":
26
- for (r = 0; r < t.length; r++) {
27
- if (o(
28
- t[r],
29
- l,
30
- P,
31
- n,
32
- g
33
- ) === !1)
34
- return !1;
35
- l++, v === "MultiPoint" && n++;
36
- }
37
- v === "LineString" && n++;
38
- break;
39
- case "Polygon":
40
- case "MultiLineString":
41
- for (r = 0; r < t.length; r++) {
42
- for (i = 0; i < t[r].length - y; i++) {
43
- if (o(
44
- t[r][i],
45
- l,
46
- P,
47
- n,
48
- g
49
- ) === !1)
50
- return !1;
51
- l++;
52
- }
53
- v === "MultiLineString" && n++, v === "Polygon" && g++;
54
- }
55
- v === "Polygon" && n++;
56
- break;
57
- case "MultiPolygon":
58
- for (r = 0; r < t.length; r++) {
59
- for (g = 0, i = 0; i < t[r].length; i++) {
60
- for (a = 0; a < t[r][i].length - y; a++) {
61
- if (o(
62
- t[r][i][a],
63
- l,
64
- P,
65
- n,
66
- g
67
- ) === !1)
68
- return !1;
69
- l++;
70
- }
71
- g++;
72
- }
73
- n++;
74
- }
75
- break;
76
- case "GeometryCollection":
77
- for (r = 0; r < u.geometries.length; r++)
78
- if (b(u.geometries[r], o) === !1)
79
- return !1;
80
- break;
81
- default:
82
- throw new Error("Unknown Geometry Type");
83
- }
84
- }
85
- }
86
- }
87
- }
88
- function S(e, o) {
89
- if (e.type === "Feature")
90
- o(e, 0);
91
- else if (e.type === "FeatureCollection")
92
- for (var f = 0; f < e.features.length && o(e.features[f], f) !== !1; f++)
93
- ;
94
- }
95
- function k(e, o) {
96
- var f, r, i, a, u, c, t, s, y, l, h = 0, p = e.type === "FeatureCollection", C = e.type === "Feature", G = p ? e.features.length : 1;
97
- for (f = 0; f < G; f++) {
98
- for (c = p ? e.features[f].geometry : C ? e.geometry : e, s = p ? e.features[f].properties : C ? e.properties : {}, y = p ? e.features[f].bbox : C ? e.bbox : void 0, l = p ? e.features[f].id : C ? e.id : void 0, t = c ? c.type === "GeometryCollection" : !1, u = t ? c.geometries.length : 1, i = 0; i < u; i++) {
99
- if (a = t ? c.geometries[i] : c, a === null) {
100
- if (o(
101
- null,
102
- h,
103
- s,
104
- y,
105
- l
106
- ) === !1)
107
- return !1;
108
- continue;
109
- }
110
- switch (a.type) {
111
- case "Point":
112
- case "LineString":
113
- case "MultiPoint":
114
- case "Polygon":
115
- case "MultiLineString":
116
- case "MultiPolygon": {
117
- if (o(
118
- a,
119
- h,
120
- s,
121
- y,
122
- l
123
- ) === !1)
124
- return !1;
125
- break;
126
- }
127
- case "GeometryCollection": {
128
- for (r = 0; r < a.geometries.length; r++)
129
- if (o(
130
- a.geometries[r],
131
- h,
132
- s,
133
- y,
134
- l
135
- ) === !1)
136
- return !1;
137
- break;
138
- }
139
- default:
140
- throw new Error("Unknown Geometry Type");
141
- }
142
- }
143
- h++;
1
+ function e(r) {
2
+ if (!r)
3
+ throw new Error("coord is required");
4
+ if (!Array.isArray(r)) {
5
+ if (r.type === "Feature" && r.geometry !== null && r.geometry.type === "Point")
6
+ return [...r.geometry.coordinates];
7
+ if (r.type === "Point")
8
+ return [...r.coordinates];
144
9
  }
10
+ if (Array.isArray(r) && r.length >= 2 && !Array.isArray(r[0]) && !Array.isArray(r[1]))
11
+ return [...r];
12
+ throw new Error("coord must be GeoJSON Point or an Array of numbers");
145
13
  }
146
14
  export {
147
- b as coordEach,
148
- S as featureEach,
149
- k as geomEach
15
+ e as getCoord
150
16
  };
151
17
  //# sourceMappingURL=index.es189.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es189.js","sources":["../../../node_modules/@turf/meta/dist/esm/index.js"],"sourcesContent":["// index.js\nimport { feature, point, lineString, isObject } from \"@turf/helpers\";\nfunction coordEach(geojson, callback, excludeWrapCoord) {\n if (geojson === null) return;\n var j, k, l, geometry, stopG, coords, geometryMaybeCollection, wrapShrink = 0, coordIndex = 0, isGeometryCollection, type = geojson.type, isFeatureCollection = type === \"FeatureCollection\", isFeature = type === \"Feature\", stop = isFeatureCollection ? geojson.features.length : 1;\n for (var featureIndex = 0; featureIndex < stop; featureIndex++) {\n geometryMaybeCollection = isFeatureCollection ? geojson.features[featureIndex].geometry : isFeature ? geojson.geometry : geojson;\n isGeometryCollection = geometryMaybeCollection ? geometryMaybeCollection.type === \"GeometryCollection\" : false;\n stopG = isGeometryCollection ? geometryMaybeCollection.geometries.length : 1;\n for (var geomIndex = 0; geomIndex < stopG; geomIndex++) {\n var multiFeatureIndex = 0;\n var geometryIndex = 0;\n geometry = isGeometryCollection ? geometryMaybeCollection.geometries[geomIndex] : geometryMaybeCollection;\n if (geometry === null) continue;\n coords = geometry.coordinates;\n var geomType = geometry.type;\n wrapShrink = excludeWrapCoord && (geomType === \"Polygon\" || geomType === \"MultiPolygon\") ? 1 : 0;\n switch (geomType) {\n case null:\n break;\n case \"Point\":\n if (callback(\n coords,\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n multiFeatureIndex++;\n break;\n case \"LineString\":\n case \"MultiPoint\":\n for (j = 0; j < coords.length; j++) {\n if (callback(\n coords[j],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n if (geomType === \"MultiPoint\") multiFeatureIndex++;\n }\n if (geomType === \"LineString\") multiFeatureIndex++;\n break;\n case \"Polygon\":\n case \"MultiLineString\":\n for (j = 0; j < coords.length; j++) {\n for (k = 0; k < coords[j].length - wrapShrink; k++) {\n if (callback(\n coords[j][k],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n }\n if (geomType === \"MultiLineString\") multiFeatureIndex++;\n if (geomType === \"Polygon\") geometryIndex++;\n }\n if (geomType === \"Polygon\") multiFeatureIndex++;\n break;\n case \"MultiPolygon\":\n for (j = 0; j < coords.length; j++) {\n geometryIndex = 0;\n for (k = 0; k < coords[j].length; k++) {\n for (l = 0; l < coords[j][k].length - wrapShrink; l++) {\n if (callback(\n coords[j][k][l],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n }\n geometryIndex++;\n }\n multiFeatureIndex++;\n }\n break;\n case \"GeometryCollection\":\n for (j = 0; j < geometry.geometries.length; j++)\n if (coordEach(geometry.geometries[j], callback, excludeWrapCoord) === false)\n return false;\n break;\n default:\n throw new Error(\"Unknown Geometry Type\");\n }\n }\n }\n}\nfunction coordReduce(geojson, callback, initialValue, excludeWrapCoord) {\n var previousValue = initialValue;\n coordEach(\n geojson,\n function(currentCoord, coordIndex, featureIndex, multiFeatureIndex, geometryIndex) {\n if (coordIndex === 0 && initialValue === void 0)\n previousValue = currentCoord;\n else\n previousValue = callback(\n previousValue,\n currentCoord,\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n );\n },\n excludeWrapCoord\n );\n return previousValue;\n}\nfunction propEach(geojson, callback) {\n var i;\n switch (geojson.type) {\n case \"FeatureCollection\":\n for (i = 0; i < geojson.features.length; i++) {\n if (callback(geojson.features[i].properties, i) === false) break;\n }\n break;\n case \"Feature\":\n callback(geojson.properties, 0);\n break;\n }\n}\nfunction propReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n propEach(geojson, function(currentProperties, featureIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentProperties;\n else\n previousValue = callback(previousValue, currentProperties, featureIndex);\n });\n return previousValue;\n}\nfunction featureEach(geojson, callback) {\n if (geojson.type === \"Feature\") {\n callback(geojson, 0);\n } else if (geojson.type === \"FeatureCollection\") {\n for (var i = 0; i < geojson.features.length; i++) {\n if (callback(geojson.features[i], i) === false) break;\n }\n }\n}\nfunction featureReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n featureEach(geojson, function(currentFeature, featureIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentFeature;\n else previousValue = callback(previousValue, currentFeature, featureIndex);\n });\n return previousValue;\n}\nfunction coordAll(geojson) {\n var coords = [];\n coordEach(geojson, function(coord) {\n coords.push(coord);\n });\n return coords;\n}\nfunction geomEach(geojson, callback) {\n var i, j, g, geometry, stopG, geometryMaybeCollection, isGeometryCollection, featureProperties, featureBBox, featureId, featureIndex = 0, isFeatureCollection = geojson.type === \"FeatureCollection\", isFeature = geojson.type === \"Feature\", stop = isFeatureCollection ? geojson.features.length : 1;\n for (i = 0; i < stop; i++) {\n geometryMaybeCollection = isFeatureCollection ? geojson.features[i].geometry : isFeature ? geojson.geometry : geojson;\n featureProperties = isFeatureCollection ? geojson.features[i].properties : isFeature ? geojson.properties : {};\n featureBBox = isFeatureCollection ? geojson.features[i].bbox : isFeature ? geojson.bbox : void 0;\n featureId = isFeatureCollection ? geojson.features[i].id : isFeature ? geojson.id : void 0;\n isGeometryCollection = geometryMaybeCollection ? geometryMaybeCollection.type === \"GeometryCollection\" : false;\n stopG = isGeometryCollection ? geometryMaybeCollection.geometries.length : 1;\n for (g = 0; g < stopG; g++) {\n geometry = isGeometryCollection ? geometryMaybeCollection.geometries[g] : geometryMaybeCollection;\n if (geometry === null) {\n if (callback(\n null,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n continue;\n }\n switch (geometry.type) {\n case \"Point\":\n case \"LineString\":\n case \"MultiPoint\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\": {\n if (callback(\n geometry,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n break;\n }\n case \"GeometryCollection\": {\n for (j = 0; j < geometry.geometries.length; j++) {\n if (callback(\n geometry.geometries[j],\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n }\n break;\n }\n default:\n throw new Error(\"Unknown Geometry Type\");\n }\n }\n featureIndex++;\n }\n}\nfunction geomReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n geomEach(\n geojson,\n function(currentGeometry, featureIndex, featureProperties, featureBBox, featureId) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentGeometry;\n else\n previousValue = callback(\n previousValue,\n currentGeometry,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n );\n }\n );\n return previousValue;\n}\nfunction flattenEach(geojson, callback) {\n geomEach(geojson, function(geometry, featureIndex, properties, bbox, id) {\n var type = geometry === null ? null : geometry.type;\n switch (type) {\n case null:\n case \"Point\":\n case \"LineString\":\n case \"Polygon\":\n if (callback(\n feature(geometry, properties, { bbox, id }),\n featureIndex,\n 0\n ) === false)\n return false;\n return;\n }\n var geomType;\n switch (type) {\n case \"MultiPoint\":\n geomType = \"Point\";\n break;\n case \"MultiLineString\":\n geomType = \"LineString\";\n break;\n case \"MultiPolygon\":\n geomType = \"Polygon\";\n break;\n }\n for (var multiFeatureIndex = 0; multiFeatureIndex < geometry.coordinates.length; multiFeatureIndex++) {\n var coordinate = geometry.coordinates[multiFeatureIndex];\n var geom = {\n type: geomType,\n coordinates: coordinate\n };\n if (callback(feature(geom, properties), featureIndex, multiFeatureIndex) === false)\n return false;\n }\n });\n}\nfunction flattenReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n flattenEach(\n geojson,\n function(currentFeature, featureIndex, multiFeatureIndex) {\n if (featureIndex === 0 && multiFeatureIndex === 0 && initialValue === void 0)\n previousValue = currentFeature;\n else\n previousValue = callback(\n previousValue,\n currentFeature,\n featureIndex,\n multiFeatureIndex\n );\n }\n );\n return previousValue;\n}\nfunction segmentEach(geojson, callback) {\n flattenEach(geojson, function(feature2, featureIndex, multiFeatureIndex) {\n var segmentIndex = 0;\n if (!feature2.geometry) return;\n var type = feature2.geometry.type;\n if (type === \"Point\" || type === \"MultiPoint\") return;\n var previousCoords;\n var previousFeatureIndex = 0;\n var previousMultiIndex = 0;\n var prevGeomIndex = 0;\n if (coordEach(\n feature2,\n function(currentCoord, coordIndex, featureIndexCoord, multiPartIndexCoord, geometryIndex) {\n if (previousCoords === void 0 || featureIndex > previousFeatureIndex || multiPartIndexCoord > previousMultiIndex || geometryIndex > prevGeomIndex) {\n previousCoords = currentCoord;\n previousFeatureIndex = featureIndex;\n previousMultiIndex = multiPartIndexCoord;\n prevGeomIndex = geometryIndex;\n segmentIndex = 0;\n return;\n }\n var currentSegment = lineString(\n [previousCoords, currentCoord],\n feature2.properties\n );\n if (callback(\n currentSegment,\n featureIndex,\n multiFeatureIndex,\n geometryIndex,\n segmentIndex\n ) === false)\n return false;\n segmentIndex++;\n previousCoords = currentCoord;\n }\n ) === false)\n return false;\n });\n}\nfunction segmentReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n var started = false;\n segmentEach(\n geojson,\n function(currentSegment, featureIndex, multiFeatureIndex, geometryIndex, segmentIndex) {\n if (started === false && initialValue === void 0)\n previousValue = currentSegment;\n else\n previousValue = callback(\n previousValue,\n currentSegment,\n featureIndex,\n multiFeatureIndex,\n geometryIndex,\n segmentIndex\n );\n started = true;\n }\n );\n return previousValue;\n}\nfunction lineEach(geojson, callback) {\n if (!geojson) throw new Error(\"geojson is required\");\n flattenEach(geojson, function(feature2, featureIndex, multiFeatureIndex) {\n if (feature2.geometry === null) return;\n var type = feature2.geometry.type;\n var coords = feature2.geometry.coordinates;\n switch (type) {\n case \"LineString\":\n if (callback(feature2, featureIndex, multiFeatureIndex, 0, 0) === false)\n return false;\n break;\n case \"Polygon\":\n for (var geometryIndex = 0; geometryIndex < coords.length; geometryIndex++) {\n if (callback(\n lineString(coords[geometryIndex], feature2.properties),\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n }\n break;\n }\n });\n}\nfunction lineReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n lineEach(\n geojson,\n function(currentLine, featureIndex, multiFeatureIndex, geometryIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentLine;\n else\n previousValue = callback(\n previousValue,\n currentLine,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n );\n }\n );\n return previousValue;\n}\nfunction findSegment(geojson, options) {\n options = options || {};\n if (!isObject(options)) throw new Error(\"options is invalid\");\n var featureIndex = options.featureIndex || 0;\n var multiFeatureIndex = options.multiFeatureIndex || 0;\n var geometryIndex = options.geometryIndex || 0;\n var segmentIndex = options.segmentIndex || 0;\n var properties = options.properties;\n var geometry;\n switch (geojson.type) {\n case \"FeatureCollection\":\n if (featureIndex < 0)\n featureIndex = geojson.features.length + featureIndex;\n properties = properties || geojson.features[featureIndex].properties;\n geometry = geojson.features[featureIndex].geometry;\n break;\n case \"Feature\":\n properties = properties || geojson.properties;\n geometry = geojson.geometry;\n break;\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\":\n geometry = geojson;\n break;\n default:\n throw new Error(\"geojson is invalid\");\n }\n if (geometry === null) return null;\n var coords = geometry.coordinates;\n switch (geometry.type) {\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n if (segmentIndex < 0) segmentIndex = coords.length + segmentIndex - 1;\n return lineString(\n [coords[segmentIndex], coords[segmentIndex + 1]],\n properties,\n options\n );\n case \"Polygon\":\n if (geometryIndex < 0) geometryIndex = coords.length + geometryIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[geometryIndex].length + segmentIndex - 1;\n return lineString(\n [\n coords[geometryIndex][segmentIndex],\n coords[geometryIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n case \"MultiLineString\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[multiFeatureIndex].length + segmentIndex - 1;\n return lineString(\n [\n coords[multiFeatureIndex][segmentIndex],\n coords[multiFeatureIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n case \"MultiPolygon\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (geometryIndex < 0)\n geometryIndex = coords[multiFeatureIndex].length + geometryIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[multiFeatureIndex][geometryIndex].length - segmentIndex - 1;\n return lineString(\n [\n coords[multiFeatureIndex][geometryIndex][segmentIndex],\n coords[multiFeatureIndex][geometryIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n }\n throw new Error(\"geojson is invalid\");\n}\nfunction findPoint(geojson, options) {\n options = options || {};\n if (!isObject(options)) throw new Error(\"options is invalid\");\n var featureIndex = options.featureIndex || 0;\n var multiFeatureIndex = options.multiFeatureIndex || 0;\n var geometryIndex = options.geometryIndex || 0;\n var coordIndex = options.coordIndex || 0;\n var properties = options.properties;\n var geometry;\n switch (geojson.type) {\n case \"FeatureCollection\":\n if (featureIndex < 0)\n featureIndex = geojson.features.length + featureIndex;\n properties = properties || geojson.features[featureIndex].properties;\n geometry = geojson.features[featureIndex].geometry;\n break;\n case \"Feature\":\n properties = properties || geojson.properties;\n geometry = geojson.geometry;\n break;\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\":\n geometry = geojson;\n break;\n default:\n throw new Error(\"geojson is invalid\");\n }\n if (geometry === null) return null;\n var coords = geometry.coordinates;\n switch (geometry.type) {\n case \"Point\":\n return point(coords, properties, options);\n case \"MultiPoint\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n return point(coords[multiFeatureIndex], properties, options);\n case \"LineString\":\n if (coordIndex < 0) coordIndex = coords.length + coordIndex;\n return point(coords[coordIndex], properties, options);\n case \"Polygon\":\n if (geometryIndex < 0) geometryIndex = coords.length + geometryIndex;\n if (coordIndex < 0)\n coordIndex = coords[geometryIndex].length + coordIndex;\n return point(coords[geometryIndex][coordIndex], properties, options);\n case \"MultiLineString\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (coordIndex < 0)\n coordIndex = coords[multiFeatureIndex].length + coordIndex;\n return point(coords[multiFeatureIndex][coordIndex], properties, options);\n case \"MultiPolygon\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (geometryIndex < 0)\n geometryIndex = coords[multiFeatureIndex].length + geometryIndex;\n if (coordIndex < 0)\n coordIndex = coords[multiFeatureIndex][geometryIndex].length - coordIndex;\n return point(\n coords[multiFeatureIndex][geometryIndex][coordIndex],\n properties,\n options\n );\n }\n throw new Error(\"geojson is invalid\");\n}\nexport {\n coordAll,\n coordEach,\n coordReduce,\n featureEach,\n featureReduce,\n findPoint,\n findSegment,\n flattenEach,\n flattenReduce,\n geomEach,\n geomReduce,\n lineEach,\n lineReduce,\n propEach,\n propReduce,\n segmentEach,\n segmentReduce\n};\n//# sourceMappingURL=index.js.map"],"names":["coordEach","geojson","callback","excludeWrapCoord","j","k","l","geometry","stopG","coords","geometryMaybeCollection","wrapShrink","coordIndex","isGeometryCollection","type","isFeatureCollection","isFeature","stop","featureIndex","geomIndex","multiFeatureIndex","geometryIndex","geomType","featureEach","i","geomEach","g","featureProperties","featureBBox","featureId"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es189.js","sources":["../../../node_modules/@turf/invariant/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { isNumber } from \"@turf/helpers\";\nfunction getCoord(coord) {\n if (!coord) {\n throw new Error(\"coord is required\");\n }\n if (!Array.isArray(coord)) {\n if (coord.type === \"Feature\" && coord.geometry !== null && coord.geometry.type === \"Point\") {\n return [...coord.geometry.coordinates];\n }\n if (coord.type === \"Point\") {\n return [...coord.coordinates];\n }\n }\n if (Array.isArray(coord) && coord.length >= 2 && !Array.isArray(coord[0]) && !Array.isArray(coord[1])) {\n return [...coord];\n }\n throw new Error(\"coord must be GeoJSON Point or an Array of numbers\");\n}\nfunction getCoords(coords) {\n if (Array.isArray(coords)) {\n return coords;\n }\n if (coords.type === \"Feature\") {\n if (coords.geometry !== null) {\n return coords.geometry.coordinates;\n }\n } else {\n if (coords.coordinates) {\n return coords.coordinates;\n }\n }\n throw new Error(\n \"coords must be GeoJSON Feature, Geometry Object or an Array\"\n );\n}\nfunction containsNumber(coordinates) {\n if (coordinates.length > 1 && isNumber(coordinates[0]) && isNumber(coordinates[1])) {\n return true;\n }\n if (Array.isArray(coordinates[0]) && coordinates[0].length) {\n return containsNumber(coordinates[0]);\n }\n throw new Error(\"coordinates must only contain numbers\");\n}\nfunction geojsonType(value, type, name) {\n if (!type || !name) {\n throw new Error(\"type and name required\");\n }\n if (!value || value.type !== type) {\n throw new Error(\n \"Invalid input to \" + name + \": must be a \" + type + \", given \" + value.type\n );\n }\n}\nfunction featureOf(feature, type, name) {\n if (!feature) {\n throw new Error(\"No feature passed\");\n }\n if (!name) {\n throw new Error(\".featureOf() requires a name\");\n }\n if (!feature || feature.type !== \"Feature\" || !feature.geometry) {\n throw new Error(\n \"Invalid input to \" + name + \", Feature with geometry required\"\n );\n }\n if (!feature.geometry || feature.geometry.type !== type) {\n throw new Error(\n \"Invalid input to \" + name + \": must be a \" + type + \", given \" + feature.geometry.type\n );\n }\n}\nfunction collectionOf(featureCollection, type, name) {\n if (!featureCollection) {\n throw new Error(\"No featureCollection passed\");\n }\n if (!name) {\n throw new Error(\".collectionOf() requires a name\");\n }\n if (!featureCollection || featureCollection.type !== \"FeatureCollection\") {\n throw new Error(\n \"Invalid input to \" + name + \", FeatureCollection required\"\n );\n }\n for (const feature of featureCollection.features) {\n if (!feature || feature.type !== \"Feature\" || !feature.geometry) {\n throw new Error(\n \"Invalid input to \" + name + \", Feature with geometry required\"\n );\n }\n if (!feature.geometry || feature.geometry.type !== type) {\n throw new Error(\n \"Invalid input to \" + name + \": must be a \" + type + \", given \" + feature.geometry.type\n );\n }\n }\n}\nfunction getGeom(geojson) {\n if (geojson.type === \"Feature\") {\n return geojson.geometry;\n }\n return geojson;\n}\nfunction getType(geojson, _name) {\n if (geojson.type === \"FeatureCollection\") {\n return \"FeatureCollection\";\n }\n if (geojson.type === \"GeometryCollection\") {\n return \"GeometryCollection\";\n }\n if (geojson.type === \"Feature\" && geojson.geometry !== null) {\n return geojson.geometry.type;\n }\n return geojson.type;\n}\nexport {\n collectionOf,\n containsNumber,\n featureOf,\n geojsonType,\n getCoord,\n getCoords,\n getGeom,\n getType\n};\n//# sourceMappingURL=index.js.map"],"names":["getCoord","coord"],"mappings":"AAEA,SAASA,EAASC,GAAO;AACvB,MAAI,CAACA;AACH,UAAM,IAAI,MAAM,mBAAmB;AAErC,MAAI,CAAC,MAAM,QAAQA,CAAK,GAAG;AACzB,QAAIA,EAAM,SAAS,aAAaA,EAAM,aAAa,QAAQA,EAAM,SAAS,SAAS;AACjF,aAAO,CAAC,GAAGA,EAAM,SAAS,WAAW;AAEvC,QAAIA,EAAM,SAAS;AACjB,aAAO,CAAC,GAAGA,EAAM,WAAW;AAAA,EAEhC;AACA,MAAI,MAAM,QAAQA,CAAK,KAAKA,EAAM,UAAU,KAAK,CAAC,MAAM,QAAQA,EAAM,CAAC,CAAC,KAAK,CAAC,MAAM,QAAQA,EAAM,CAAC,CAAC;AAClG,WAAO,CAAC,GAAGA,CAAK;AAElB,QAAM,IAAI,MAAM,oDAAoD;AACtE;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  import { memo as i, useEffect as r } from "react";
2
- import { applyReactStyle as e } from "./index.es236.js";
2
+ import { applyReactStyle as e } from "./index.es209.js";
3
3
  import { useControl as l } from "./index.es30.js";
4
4
  function m(t) {
5
5
  const o = l(({ mapLib: n }) => new n.AttributionControl(t), {