@performant-software/geospatial 2.2.10-beta.36 → 2.2.10-beta.38

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 (401) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs102.js +1 -1
  3. package/dist/index.cjs103.js +1 -1
  4. package/dist/index.cjs104.js +1 -1
  5. package/dist/index.cjs105.js +1 -1
  6. package/dist/index.cjs110.js +1 -1
  7. package/dist/index.cjs111.js +1 -1
  8. package/dist/index.cjs112.js +1 -1
  9. package/dist/index.cjs113.js +1 -1
  10. package/dist/index.cjs116.js +1 -1
  11. package/dist/index.cjs117.js +1 -1
  12. package/dist/index.cjs118.js +1 -1
  13. package/dist/index.cjs122.js +1 -1
  14. package/dist/index.cjs125.js +1 -1
  15. package/dist/index.cjs129.js +1 -1
  16. package/dist/index.cjs132.js +1 -1
  17. package/dist/index.cjs140.js +1 -1
  18. package/dist/index.cjs141.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.cjs148.js +1 -1
  25. package/dist/index.cjs149.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.cjs159.js +1 -1
  35. package/dist/index.cjs160.js +1 -1
  36. package/dist/index.cjs162.js +1 -1
  37. package/dist/index.cjs163.js +1 -1
  38. package/dist/index.cjs164.js +1 -1
  39. package/dist/index.cjs165.js +1 -1
  40. package/dist/index.cjs166.js +1 -1
  41. package/dist/index.cjs167.js +1 -1
  42. package/dist/index.cjs168.js +1 -1
  43. package/dist/index.cjs169.js +1 -1
  44. package/dist/index.cjs175.js +1 -1
  45. package/dist/index.cjs176.js +1 -1
  46. package/dist/index.cjs177.js +1 -1
  47. package/dist/index.cjs178.js +1 -1
  48. package/dist/index.cjs179.js +1 -1
  49. package/dist/index.cjs182.js +1 -1
  50. package/dist/index.cjs189.js +1 -1
  51. package/dist/index.cjs189.js.map +1 -1
  52. package/dist/index.cjs190.js +1 -1
  53. package/dist/index.cjs190.js.map +1 -1
  54. package/dist/index.cjs191.js +4 -1
  55. package/dist/index.cjs191.js.map +1 -1
  56. package/dist/index.cjs192.js +1 -4
  57. package/dist/index.cjs192.js.map +1 -1
  58. package/dist/index.cjs193.js +1 -1
  59. package/dist/index.cjs193.js.map +1 -1
  60. package/dist/index.cjs194.js +1 -1
  61. package/dist/index.cjs194.js.map +1 -1
  62. package/dist/index.cjs195.js +1 -1
  63. package/dist/index.cjs195.js.map +1 -1
  64. package/dist/index.cjs196.js +1 -1
  65. package/dist/index.cjs196.js.map +1 -1
  66. package/dist/index.cjs197.js +1 -1
  67. package/dist/index.cjs197.js.map +1 -1
  68. package/dist/index.cjs198.js +1 -1
  69. package/dist/index.cjs198.js.map +1 -1
  70. package/dist/index.cjs199.js +1 -1
  71. package/dist/index.cjs199.js.map +1 -1
  72. package/dist/index.cjs200.js +1 -1
  73. package/dist/index.cjs200.js.map +1 -1
  74. package/dist/index.cjs201.js +1 -1
  75. package/dist/index.cjs201.js.map +1 -1
  76. package/dist/index.cjs202.js +1 -1
  77. package/dist/index.cjs202.js.map +1 -1
  78. package/dist/index.cjs203.js +1 -1
  79. package/dist/index.cjs203.js.map +1 -1
  80. package/dist/index.cjs204.js +1 -1
  81. package/dist/index.cjs204.js.map +1 -1
  82. package/dist/index.cjs205.js +1 -1
  83. package/dist/index.cjs205.js.map +1 -1
  84. package/dist/index.cjs206.js +1 -1
  85. package/dist/index.cjs206.js.map +1 -1
  86. package/dist/index.cjs207.js +1 -1
  87. package/dist/index.cjs207.js.map +1 -1
  88. package/dist/index.cjs208.js +1 -1
  89. package/dist/index.cjs208.js.map +1 -1
  90. package/dist/index.cjs209.js +1 -1
  91. package/dist/index.cjs209.js.map +1 -1
  92. package/dist/index.cjs210.js +1 -1
  93. package/dist/index.cjs210.js.map +1 -1
  94. package/dist/index.cjs211.js +1 -1
  95. package/dist/index.cjs211.js.map +1 -1
  96. package/dist/index.cjs212.js +1 -1
  97. package/dist/index.cjs212.js.map +1 -1
  98. package/dist/index.cjs213.js +1 -1
  99. package/dist/index.cjs213.js.map +1 -1
  100. package/dist/index.cjs214.js +1 -1
  101. package/dist/index.cjs214.js.map +1 -1
  102. package/dist/index.cjs215.js +1 -1
  103. package/dist/index.cjs215.js.map +1 -1
  104. package/dist/index.cjs216.js +1 -1
  105. package/dist/index.cjs216.js.map +1 -1
  106. package/dist/index.cjs217.js +1 -1
  107. package/dist/index.cjs217.js.map +1 -1
  108. package/dist/index.cjs218.js +1 -1
  109. package/dist/index.cjs218.js.map +1 -1
  110. package/dist/index.cjs219.js +1 -1
  111. package/dist/index.cjs219.js.map +1 -1
  112. package/dist/index.cjs220.js +1 -1
  113. package/dist/index.cjs220.js.map +1 -1
  114. package/dist/index.cjs221.js +1 -1
  115. package/dist/index.cjs221.js.map +1 -1
  116. package/dist/index.cjs222.js +1 -1
  117. package/dist/index.cjs222.js.map +1 -1
  118. package/dist/index.cjs223.js +1 -1
  119. package/dist/index.cjs223.js.map +1 -1
  120. package/dist/index.cjs224.js +1 -1
  121. package/dist/index.cjs224.js.map +1 -1
  122. package/dist/index.cjs225.js +1 -1
  123. package/dist/index.cjs225.js.map +1 -1
  124. package/dist/index.cjs226.js +1 -1
  125. package/dist/index.cjs226.js.map +1 -1
  126. package/dist/index.cjs227.js +1 -1
  127. package/dist/index.cjs227.js.map +1 -1
  128. package/dist/index.cjs228.js +1 -1
  129. package/dist/index.cjs228.js.map +1 -1
  130. package/dist/index.cjs229.js +1 -1
  131. package/dist/index.cjs229.js.map +1 -1
  132. package/dist/index.cjs230.js +1 -1
  133. package/dist/index.cjs230.js.map +1 -1
  134. package/dist/index.cjs231.js +1 -1
  135. package/dist/index.cjs231.js.map +1 -1
  136. package/dist/index.cjs232.js +1 -1
  137. package/dist/index.cjs232.js.map +1 -1
  138. package/dist/index.cjs233.js +1 -1
  139. package/dist/index.cjs233.js.map +1 -1
  140. package/dist/index.cjs234.js +1 -1
  141. package/dist/index.cjs234.js.map +1 -1
  142. package/dist/index.cjs235.js +1 -1
  143. package/dist/index.cjs235.js.map +1 -1
  144. package/dist/index.cjs236.js +1 -1
  145. package/dist/index.cjs236.js.map +1 -1
  146. package/dist/index.cjs238.js +1 -1
  147. package/dist/index.cjs24.js +1 -1
  148. package/dist/index.cjs241.js +1 -1
  149. package/dist/index.cjs244.js +1 -1
  150. package/dist/index.cjs247.js +1 -1
  151. package/dist/index.cjs249.js +1 -1
  152. package/dist/index.cjs25.js +1 -1
  153. package/dist/index.cjs252.js +1 -1
  154. package/dist/index.cjs253.js +1 -1
  155. package/dist/index.cjs256.js +1 -1
  156. package/dist/index.cjs256.js.map +1 -1
  157. package/dist/index.cjs257.js +1 -1
  158. package/dist/index.cjs257.js.map +1 -1
  159. package/dist/index.cjs258.js +1 -1
  160. package/dist/index.cjs26.js +1 -1
  161. package/dist/index.cjs28.js +1 -1
  162. package/dist/index.cjs29.js +1 -1
  163. package/dist/index.cjs30.js +1 -1
  164. package/dist/index.cjs32.js +1 -1
  165. package/dist/index.cjs33.js +1 -1
  166. package/dist/index.cjs34.js +1 -1
  167. package/dist/index.cjs36.js +1 -1
  168. package/dist/index.cjs37.js +1 -1
  169. package/dist/index.cjs38.js +1 -1
  170. package/dist/index.cjs42.js +1 -1
  171. package/dist/index.cjs43.js +1 -1
  172. package/dist/index.cjs44.js +1 -1
  173. package/dist/index.cjs46.js +1 -1
  174. package/dist/index.cjs47.js +1 -1
  175. package/dist/index.cjs49.js +1 -1
  176. package/dist/index.cjs55.js +1 -1
  177. package/dist/index.cjs57.js +1 -1
  178. package/dist/index.cjs61.js +1 -1
  179. package/dist/index.cjs62.js +1 -1
  180. package/dist/index.cjs75.js +1 -1
  181. package/dist/index.cjs75.js.map +1 -1
  182. package/dist/index.cjs76.js +1 -1
  183. package/dist/index.cjs76.js.map +1 -1
  184. package/dist/index.cjs77.js +1 -1
  185. package/dist/index.cjs77.js.map +1 -1
  186. package/dist/index.cjs78.js +1 -1
  187. package/dist/index.cjs78.js.map +1 -1
  188. package/dist/index.cjs79.js +1 -1
  189. package/dist/index.cjs79.js.map +1 -1
  190. package/dist/index.cjs81.js +1 -1
  191. package/dist/index.cjs88.js +1 -1
  192. package/dist/index.cjs89.js +1 -1
  193. package/dist/index.cjs90.js +1 -1
  194. package/dist/index.cjs91.js +1 -1
  195. package/dist/index.cjs92.js +1 -1
  196. package/dist/index.cjs93.js +1 -1
  197. package/dist/index.cjs94.js +1 -1
  198. package/dist/index.cjs95.js +1 -1
  199. package/dist/index.cjs96.js +1 -1
  200. package/dist/index.cjs99.js +1 -1
  201. package/dist/index.es100.js +1 -1
  202. package/dist/index.es102.js +3 -3
  203. package/dist/index.es103.js +1 -1
  204. package/dist/index.es104.js +2 -2
  205. package/dist/index.es105.js +1 -1
  206. package/dist/index.es110.js +1 -1
  207. package/dist/index.es111.js +1 -1
  208. package/dist/index.es112.js +1 -1
  209. package/dist/index.es113.js +1 -1
  210. package/dist/index.es116.js +2 -2
  211. package/dist/index.es117.js +2 -2
  212. package/dist/index.es118.js +1 -1
  213. package/dist/index.es122.js +2 -2
  214. package/dist/index.es125.js +1 -1
  215. package/dist/index.es129.js +1 -1
  216. package/dist/index.es132.js +1 -1
  217. package/dist/index.es140.js +1 -1
  218. package/dist/index.es141.js +1 -1
  219. package/dist/index.es142.js +1 -1
  220. package/dist/index.es143.js +2 -2
  221. package/dist/index.es144.js +1 -1
  222. package/dist/index.es145.js +1 -1
  223. package/dist/index.es146.js +1 -1
  224. package/dist/index.es148.js +2 -2
  225. package/dist/index.es149.js +2 -2
  226. package/dist/index.es15.js +3 -3
  227. package/dist/index.es150.js +1 -1
  228. package/dist/index.es151.js +1 -1
  229. package/dist/index.es152.js +1 -1
  230. package/dist/index.es153.js +1 -1
  231. package/dist/index.es154.js +2 -2
  232. package/dist/index.es155.js +2 -2
  233. package/dist/index.es156.js +1 -1
  234. package/dist/index.es159.js +2 -2
  235. package/dist/index.es160.js +2 -2
  236. package/dist/index.es162.js +2 -2
  237. package/dist/index.es163.js +1 -1
  238. package/dist/index.es164.js +2 -2
  239. package/dist/index.es165.js +1 -1
  240. package/dist/index.es166.js +2 -2
  241. package/dist/index.es167.js +1 -1
  242. package/dist/index.es168.js +1 -1
  243. package/dist/index.es169.js +1 -1
  244. package/dist/index.es175.js +1 -1
  245. package/dist/index.es176.js +2 -2
  246. package/dist/index.es177.js +1 -1
  247. package/dist/index.es178.js +1 -1
  248. package/dist/index.es179.js +1 -1
  249. package/dist/index.es182.js +2 -2
  250. package/dist/index.es189.js +8 -2
  251. package/dist/index.es189.js.map +1 -1
  252. package/dist/index.es190.js +147 -7
  253. package/dist/index.es190.js.map +1 -1
  254. package/dist/index.es191.js +12188 -139
  255. package/dist/index.es191.js.map +1 -1
  256. package/dist/index.es192.js +3 -12199
  257. package/dist/index.es192.js.map +1 -1
  258. package/dist/index.es193.js +1 -1
  259. package/dist/index.es193.js.map +1 -1
  260. package/dist/index.es194.js +38 -3
  261. package/dist/index.es194.js.map +1 -1
  262. package/dist/index.es195.js +3 -38
  263. package/dist/index.es195.js.map +1 -1
  264. package/dist/index.es196.js +25 -3
  265. package/dist/index.es196.js.map +1 -1
  266. package/dist/index.es197.js +2 -25
  267. package/dist/index.es197.js.map +1 -1
  268. package/dist/index.es198.js +1 -0
  269. package/dist/index.es198.js.map +1 -1
  270. package/dist/index.es199.js +0 -1
  271. package/dist/index.es199.js.map +1 -1
  272. package/dist/index.es200.js +34 -2
  273. package/dist/index.es200.js.map +1 -1
  274. package/dist/index.es201.js +13 -32
  275. package/dist/index.es201.js.map +1 -1
  276. package/dist/index.es202.js +12 -11
  277. package/dist/index.es202.js.map +1 -1
  278. package/dist/index.es203.js +8 -13
  279. package/dist/index.es203.js.map +1 -1
  280. package/dist/index.es204.js +7 -8
  281. package/dist/index.es204.js.map +1 -1
  282. package/dist/index.es205.js +4 -7
  283. package/dist/index.es205.js.map +1 -1
  284. package/dist/index.es206.js +4 -5
  285. package/dist/index.es206.js.map +1 -1
  286. package/dist/index.es207.js +3 -4
  287. package/dist/index.es207.js.map +1 -1
  288. package/dist/index.es208.js +2 -2
  289. package/dist/index.es208.js.map +1 -1
  290. package/dist/index.es209.js +9 -3
  291. package/dist/index.es209.js.map +1 -1
  292. package/dist/index.es210.js +21 -8
  293. package/dist/index.es210.js.map +1 -1
  294. package/dist/index.es211.js +20 -20
  295. package/dist/index.es211.js.map +1 -1
  296. package/dist/index.es212.js +12 -20
  297. package/dist/index.es212.js.map +1 -1
  298. package/dist/index.es213.js +15 -12
  299. package/dist/index.es213.js.map +1 -1
  300. package/dist/index.es214.js +5 -16
  301. package/dist/index.es214.js.map +1 -1
  302. package/dist/index.es215.js +8 -5
  303. package/dist/index.es215.js.map +1 -1
  304. package/dist/index.es216.js +6 -8
  305. package/dist/index.es216.js.map +1 -1
  306. package/dist/index.es217.js +21 -6
  307. package/dist/index.es217.js.map +1 -1
  308. package/dist/index.es218.js +8 -20
  309. package/dist/index.es218.js.map +1 -1
  310. package/dist/index.es219.js +9 -10
  311. package/dist/index.es219.js.map +1 -1
  312. package/dist/index.es220.js +4 -9
  313. package/dist/index.es220.js.map +1 -1
  314. package/dist/index.es221.js +11 -4
  315. package/dist/index.es221.js.map +1 -1
  316. package/dist/index.es222.js +8 -10
  317. package/dist/index.es222.js.map +1 -1
  318. package/dist/index.es223.js +22 -8
  319. package/dist/index.es223.js.map +1 -1
  320. package/dist/index.es224.js +11 -22
  321. package/dist/index.es224.js.map +1 -1
  322. package/dist/index.es225.js +16 -9
  323. package/dist/index.es225.js.map +1 -1
  324. package/dist/index.es226.js +4 -19
  325. package/dist/index.es226.js.map +1 -1
  326. package/dist/index.es227.js +18 -4
  327. package/dist/index.es227.js.map +1 -1
  328. package/dist/index.es228.js +10 -16
  329. package/dist/index.es228.js.map +1 -1
  330. package/dist/index.es229.js +3 -11
  331. package/dist/index.es229.js.map +1 -1
  332. package/dist/index.es230.js +4 -3
  333. package/dist/index.es230.js.map +1 -1
  334. package/dist/index.es231.js +45 -4
  335. package/dist/index.es231.js.map +1 -1
  336. package/dist/index.es232.js +22 -45
  337. package/dist/index.es232.js.map +1 -1
  338. package/dist/index.es233.js +2 -23
  339. package/dist/index.es233.js.map +1 -1
  340. package/dist/index.es234.js +8 -3
  341. package/dist/index.es234.js.map +1 -1
  342. package/dist/index.es235.js +3 -6
  343. package/dist/index.es235.js.map +1 -1
  344. package/dist/index.es236.js +4 -6
  345. package/dist/index.es236.js.map +1 -1
  346. package/dist/index.es238.js +1 -1
  347. package/dist/index.es24.js +1 -1
  348. package/dist/index.es241.js +1 -1
  349. package/dist/index.es244.js +1 -1
  350. package/dist/index.es247.js +2 -2
  351. package/dist/index.es249.js +1 -1
  352. package/dist/index.es25.js +1 -1
  353. package/dist/index.es252.js +1 -1
  354. package/dist/index.es253.js +1 -1
  355. package/dist/index.es256.js +4 -15
  356. package/dist/index.es256.js.map +1 -1
  357. package/dist/index.es257.js +15 -4
  358. package/dist/index.es257.js.map +1 -1
  359. package/dist/index.es258.js +2 -2
  360. package/dist/index.es26.js +2 -2
  361. package/dist/index.es28.js +2 -2
  362. package/dist/index.es29.js +2 -2
  363. package/dist/index.es30.js +2 -2
  364. package/dist/index.es32.js +1 -1
  365. package/dist/index.es33.js +2 -2
  366. package/dist/index.es34.js +2 -2
  367. package/dist/index.es36.js +1 -1
  368. package/dist/index.es37.js +1 -1
  369. package/dist/index.es38.js +1 -1
  370. package/dist/index.es42.js +2 -2
  371. package/dist/index.es43.js +3 -3
  372. package/dist/index.es44.js +1 -1
  373. package/dist/index.es46.js +1 -1
  374. package/dist/index.es47.js +1 -1
  375. package/dist/index.es49.js +1 -1
  376. package/dist/index.es55.js +1 -1
  377. package/dist/index.es57.js +6 -6
  378. package/dist/index.es61.js +1 -1
  379. package/dist/index.es62.js +1 -1
  380. package/dist/index.es75.js +2 -28
  381. package/dist/index.es75.js.map +1 -1
  382. package/dist/index.es76.js +2 -51
  383. package/dist/index.es76.js.map +1 -1
  384. package/dist/index.es77.js +25 -62
  385. package/dist/index.es77.js.map +1 -1
  386. package/dist/index.es78.js +51 -2
  387. package/dist/index.es78.js.map +1 -1
  388. package/dist/index.es79.js +65 -2
  389. package/dist/index.es79.js.map +1 -1
  390. package/dist/index.es81.js +1 -1
  391. package/dist/index.es88.js +1 -1
  392. package/dist/index.es89.js +1 -1
  393. package/dist/index.es90.js +1 -1
  394. package/dist/index.es91.js +1 -1
  395. package/dist/index.es92.js +1 -1
  396. package/dist/index.es93.js +1 -1
  397. package/dist/index.es94.js +1 -1
  398. package/dist/index.es95.js +1 -1
  399. package/dist/index.es96.js +1 -1
  400. package/dist/index.es99.js +1 -1
  401. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.es236.js","sources":["../../../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":";AAGA,SAAwBA,EAAwBC,GAAiB;AAC/D,SAAO,SAASC,GAAY;AACtB,QAAAC,IAAeF,EAAgBC,CAAU;AAC7C,WAAO,OAAOC,KAAgB,YAAYA,KAAgB,KAAKA,KAAgBC;AAAA,EAAA;AAEnF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es236.js","sources":["../../../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"AACA,SAAwBA,EAAgBC,GAAK;AAC3C,SAAO,SAASC,GAAK;AACnB,WAAOA,KAAO,OAAO,SAASA,EAAID,CAAG;AAAA,EAAA;AAEzC;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  import { spherical as p, cartesian as x, cartesianNormalizeInPlace as z } from "./index.es239.js";
2
2
  import { tau as l, cos as v, sin as R, acos as I, epsilon as N } from "./index.es240.js";
3
- import "./index.es195.js";
3
+ import "./index.es194.js";
4
4
  function g(m, r, e, c, a, s) {
5
5
  if (e) {
6
6
  var u = v(r), o = R(r), n = c * e;
@@ -1,4 +1,4 @@
1
- import e from "./index.es205.js";
1
+ import e from "./index.es204.js";
2
2
  import { root as t } from "./index.es23.js";
3
3
  var o = e("Function"), i = t.document && t.document.childNodes;
4
4
  typeof /./ != "function" && typeof Int8Array != "object" && typeof i != "function" && (o = function(n) {
@@ -2,7 +2,7 @@ import { abs as q, epsilon as z } from "./index.es240.js";
2
2
  import X from "./index.es242.js";
3
3
  import Y from "./index.es243.js";
4
4
  import Z from "./index.es244.js";
5
- import "./index.es196.js";
5
+ import "./index.es195.js";
6
6
  import $ from "./index.es245.js";
7
7
  var S = 1e9, B = -S;
8
8
  function en(c, _, E, u) {
@@ -1,4 +1,4 @@
1
- import a from "./index.es257.js";
1
+ import a from "./index.es256.js";
2
2
  function g(f, v, h, o) {
3
3
  this.x = f, this.z = v, this.o = h, this.e = o, this.v = !1, this.n = this.p = null;
4
4
  }
@@ -4,8 +4,8 @@ import { clipExtent as F } from "./index.es241.js";
4
4
  import H from "./index.es250.js";
5
5
  import T from "./index.es251.js";
6
6
  import { degrees as i, radians as n, sqrt as I } from "./index.es240.js";
7
- import { rotateRadians as J } from "./index.es195.js";
8
- import { transformer as K } from "./index.es201.js";
7
+ import { rotateRadians as J } from "./index.es194.js";
8
+ import { transformer as K } from "./index.es200.js";
9
9
  import { fitExtent as N, fitSize as O } from "./index.es252.js";
10
10
  import w from "./index.es253.js";
11
11
  var Q = K({
@@ -1,7 +1,7 @@
1
1
  import { cartesian as Q, cartesianCross as T, cartesianDot as R, cartesianScale as g, cartesianAddInPlace as y, spherical as U } from "./index.es239.js";
2
2
  import { circleStream as $ } from "./index.es238.js";
3
3
  import { pi as v, cos as F, epsilon as x, abs as G, sqrt as b } from "./index.es240.js";
4
- import J from "./index.es257.js";
4
+ import J from "./index.es256.js";
5
5
  import m from "./index.es258.js";
6
6
  function fn(S, V) {
7
7
  var A = F(S), C = A > 0, W = G(A) > x;
@@ -1,5 +1,5 @@
1
1
  import { supportsDataView as e } from "./index.es23.js";
2
- import a from "./index.es234.js";
2
+ import a from "./index.es235.js";
3
3
  var p = e && a(new DataView(new ArrayBuffer(8))), i = typeof Map < "u" && a(/* @__PURE__ */ new Map());
4
4
  export {
5
5
  p as hasStringTagBug,
@@ -1,5 +1,5 @@
1
1
  import c from "./index.es254.js";
2
- import n from "./index.es256.js";
2
+ import n from "./index.es257.js";
3
3
  function S(l, a, r) {
4
4
  var f = a[1][0] - a[0][0], m = a[1][1] - a[0][1], i = l.clipExtent && l.clipExtent();
5
5
  l.scale(150).translate([0, 0]), i != null && l.clipExtent(null), c(r, l.stream(n));
@@ -1,6 +1,6 @@
1
1
  import { cartesian as J } from "./index.es239.js";
2
2
  import { abs as B, cos as K, radians as O, sqrt as Q, asin as R, epsilon as H, atan2 as U } from "./index.es240.js";
3
- import { transformer as V } from "./index.es201.js";
3
+ import { transformer as V } from "./index.es200.js";
4
4
  var I = 16, W = K(30 * O);
5
5
  function h(e, t) {
6
6
  return +t ? Y(e, t) : X(e);
@@ -1,19 +1,8 @@
1
- import r from "./index.es255.js";
2
- var o = 1 / 0, f = o, t = -o, a = t, d = {
3
- point: u,
4
- lineStart: r,
5
- lineEnd: r,
6
- polygonStart: r,
7
- polygonEnd: r,
8
- result: function() {
9
- var n = [[o, f], [t, a]];
10
- return t = a = -(f = o = 1 / 0), n;
11
- }
12
- };
13
- function u(n, i) {
14
- n < o && (o = n), n > t && (t = n), i < f && (f = i), i > a && (a = i);
1
+ import { abs as n, epsilon as r } from "./index.es240.js";
2
+ function i(o, t) {
3
+ return n(o[0] - t[0]) < r && n(o[1] - t[1]) < r;
15
4
  }
16
5
  export {
17
- d as default
6
+ i as default
18
7
  };
19
8
  //# sourceMappingURL=index.es256.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es256.js","sources":["../../../node_modules/d3-geo/src/path/bounds.js"],"sourcesContent":["import noop from \"../noop\";\n\nvar x0 = Infinity,\n y0 = x0,\n x1 = -x0,\n y1 = x1;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function() {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n};\n\nfunction boundsPoint(x, y) {\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n}\n\nexport default boundsStream;\n"],"names":["x0","y0","x1","y1","boundsStream","boundsPoint","noop","bounds","x","y"],"mappings":";AAEA,IAAIA,IAAK,OACLC,IAAKD,GACLE,IAAK,CAACF,GACNG,IAAKD,GAELE,IAAe;AAAA,EACjB,OAAOC;AAAA,EACP,WAAWC;AAAA,EACX,SAASA;AAAA,EACT,cAAcA;AAAA,EACd,YAAYA;AAAA,EACZ,QAAQ,WAAW;AACb,QAAAC,IAAS,CAAC,CAACP,GAAIC,CAAE,GAAG,CAACC,GAAIC,CAAE,CAAC;AAC3B,WAAAD,IAAAC,IAAK,EAAEF,IAAKD,IAAK,QACfO;AAAA,EACT;AACF;AAEA,SAASF,EAAYG,GAAGC,GAAG;AACzB,EAAID,IAAIR,MAASA,IAAAQ,IACbA,IAAIN,MAASA,IAAAM,IACbC,IAAIR,MAASA,IAAAQ,IACbA,IAAIN,MAASA,IAAAM;AACnB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es256.js","sources":["../../../node_modules/d3-geo/src/pointEqual.js"],"sourcesContent":["import {abs, epsilon} from \"./math\";\n\nexport default function(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n}\n"],"names":["pointEqual","a","b","abs","epsilon"],"mappings":";AAEA,SAAAA,EAAwBC,GAAGC,GAAG;AAC5B,SAAOC,EAAIF,EAAE,CAAC,IAAIC,EAAE,CAAC,CAAC,IAAIE,KAAWD,EAAIF,EAAE,CAAC,IAAIC,EAAE,CAAC,CAAC,IAAIE;AAC1D;","x_google_ignoreList":[0]}
@@ -1,8 +1,19 @@
1
- import { abs as n, epsilon as r } from "./index.es240.js";
2
- function i(o, t) {
3
- return n(o[0] - t[0]) < r && n(o[1] - t[1]) < r;
1
+ import r from "./index.es255.js";
2
+ var o = 1 / 0, f = o, t = -o, a = t, d = {
3
+ point: u,
4
+ lineStart: r,
5
+ lineEnd: r,
6
+ polygonStart: r,
7
+ polygonEnd: r,
8
+ result: function() {
9
+ var n = [[o, f], [t, a]];
10
+ return t = a = -(f = o = 1 / 0), n;
11
+ }
12
+ };
13
+ function u(n, i) {
14
+ n < o && (o = n), n > t && (t = n), i < f && (f = i), i > a && (a = i);
4
15
  }
5
16
  export {
6
- i as default
17
+ d as default
7
18
  };
8
19
  //# sourceMappingURL=index.es257.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es257.js","sources":["../../../node_modules/d3-geo/src/pointEqual.js"],"sourcesContent":["import {abs, epsilon} from \"./math\";\n\nexport default function(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n}\n"],"names":["pointEqual","a","b","abs","epsilon"],"mappings":";AAEA,SAAAA,EAAwBC,GAAGC,GAAG;AAC5B,SAAOC,EAAIF,EAAE,CAAC,IAAIC,EAAE,CAAC,CAAC,IAAIE,KAAWD,EAAIF,EAAE,CAAC,IAAIC,EAAE,CAAC,CAAC,IAAIE;AAC1D;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es257.js","sources":["../../../node_modules/d3-geo/src/path/bounds.js"],"sourcesContent":["import noop from \"../noop\";\n\nvar x0 = Infinity,\n y0 = x0,\n x1 = -x0,\n y1 = x1;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function() {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n};\n\nfunction boundsPoint(x, y) {\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n}\n\nexport default boundsStream;\n"],"names":["x0","y0","x1","y1","boundsStream","boundsPoint","noop","bounds","x","y"],"mappings":";AAEA,IAAIA,IAAK,OACLC,IAAKD,GACLE,IAAK,CAACF,GACNG,IAAKD,GAELE,IAAe;AAAA,EACjB,OAAOC;AAAA,EACP,WAAWC;AAAA,EACX,SAASA;AAAA,EACT,cAAcA;AAAA,EACd,YAAYA;AAAA,EACZ,QAAQ,WAAW;AACb,QAAAC,IAAS,CAAC,CAACP,GAAIC,CAAE,GAAG,CAACC,GAAIC,CAAE,CAAC;AAC3B,WAAAD,IAAAC,IAAK,EAAEF,IAAKD,IAAK,QACfO;AAAA,EACT;AACF;AAEA,SAASF,EAAYG,GAAGC,GAAG;AACzB,EAAID,IAAIR,MAASA,IAAAQ,IACbA,IAAIN,MAASA,IAAAM,IACbC,IAAIR,MAASA,IAAAQ,IACbA,IAAIN,MAASA,IAAAM;AACnB;","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
1
  import A from "./index.es242.js";
2
2
  import D from "./index.es244.js";
3
3
  import { halfPi as S, epsilon as R } from "./index.es240.js";
4
- import F from "./index.es197.js";
5
- import "./index.es196.js";
4
+ import F from "./index.es196.js";
5
+ import "./index.es195.js";
6
6
  import G from "./index.es245.js";
7
7
  function T(e, p, m, v) {
8
8
  return function(g, n) {
@@ -1,5 +1,5 @@
1
- import e from "./index.es205.js";
2
- import n from "./index.es206.js";
1
+ import e from "./index.es204.js";
2
+ import n from "./index.es205.js";
3
3
  var t = e("Arguments");
4
4
  (function() {
5
5
  t(arguments) || (t = function(r) {
@@ -1,6 +1,6 @@
1
- import r from "./index.es205.js";
1
+ import r from "./index.es204.js";
2
2
  import { isIE11 as t } from "./index.es25.js";
3
- import { ie11fingerprint as o, mapMethods as i } from "./index.es211.js";
3
+ import { ie11fingerprint as o, mapMethods as i } from "./index.es210.js";
4
4
  const a = t ? o(i) : r("Map");
5
5
  export {
6
6
  a as default
@@ -1,6 +1,6 @@
1
- import e from "./index.es205.js";
1
+ import e from "./index.es204.js";
2
2
  import { isIE11 as r } from "./index.es25.js";
3
- import { ie11fingerprint as t, weakMapMethods as a } from "./index.es211.js";
3
+ import { ie11fingerprint as t, weakMapMethods as a } from "./index.es210.js";
4
4
  const m = r ? t(a) : e("WeakMap");
5
5
  export {
6
6
  m as default
@@ -1,6 +1,6 @@
1
- import t from "./index.es205.js";
1
+ import t from "./index.es204.js";
2
2
  import { isIE11 as e } from "./index.es25.js";
3
- import { ie11fingerprint as r, setMethods as o } from "./index.es211.js";
3
+ import { ie11fingerprint as r, setMethods as o } from "./index.es210.js";
4
4
  const f = e ? r(o) : t("Set");
5
5
  export {
6
6
  f as default
@@ -1,5 +1,5 @@
1
1
  import r from "./index.es27.js";
2
- import i from "./index.es222.js";
2
+ import i from "./index.es221.js";
3
3
  function a(e, t) {
4
4
  return i(e, t, 1 / 0);
5
5
  }
@@ -1,5 +1,5 @@
1
- import e from "./index.es219.js";
2
- import a from "./index.es220.js";
1
+ import e from "./index.es218.js";
2
+ import a from "./index.es219.js";
3
3
  const o = e(a);
4
4
  export {
5
5
  o as default
@@ -1,5 +1,5 @@
1
- import e from "./index.es219.js";
2
- import a from "./index.es221.js";
1
+ import e from "./index.es218.js";
2
+ import a from "./index.es220.js";
3
3
  const o = e(a);
4
4
  export {
5
5
  o as default
@@ -1,5 +1,5 @@
1
1
  import m from "./index.es82.js";
2
- import p from "./index.es223.js";
2
+ import p from "./index.es222.js";
3
3
  import s from "./index.es27.js";
4
4
  var l = m(function(u, e) {
5
5
  var h = l.placeholder, o = function() {
@@ -1,6 +1,6 @@
1
1
  import o from "./index.es82.js";
2
2
  import u from "./index.es24.js";
3
- import c from "./index.es223.js";
3
+ import c from "./index.es222.js";
4
4
  const a = o(function(t, r, e) {
5
5
  if (!u(t))
6
6
  throw new TypeError("Bind must be called on a function");
@@ -1,5 +1,5 @@
1
1
  import i from "./index.es82.js";
2
- import f from "./index.es224.js";
2
+ import f from "./index.es223.js";
3
3
  import l from "./index.es37.js";
4
4
  const s = i(function(r, t) {
5
5
  t = f(t, !1, !1);
@@ -1,8 +1,8 @@
1
1
  import u from "./index.es82.js";
2
2
  import l from "./index.es24.js";
3
3
  import t from "./index.es149.js";
4
- import s from "./index.es216.js";
5
- import d from "./index.es215.js";
4
+ import s from "./index.es215.js";
5
+ import d from "./index.es214.js";
6
6
  const k = u(function(f, r, m) {
7
7
  var e, n;
8
8
  return l(r) ? n = r : (r = d(r), e = r.slice(0, -1), r = r[r.length - 1]), t(f, function(i) {
@@ -1,9 +1,9 @@
1
1
  import l from "./index.es82.js";
2
2
  import a from "./index.es24.js";
3
- import p from "./index.es218.js";
3
+ import p from "./index.es217.js";
4
4
  import u from "./index.es105.js";
5
- import c from "./index.es230.js";
6
- import g from "./index.es224.js";
5
+ import c from "./index.es229.js";
6
+ import g from "./index.es223.js";
7
7
  const z = l(function(t, r) {
8
8
  var i = {}, f = r[0];
9
9
  if (t == null)
@@ -2,7 +2,7 @@ import n from "./index.es82.js";
2
2
  import f from "./index.es24.js";
3
3
  import e from "./index.es136.js";
4
4
  import a from "./index.es149.js";
5
- import p from "./index.es224.js";
5
+ import p from "./index.es223.js";
6
6
  import u from "./index.es156.js";
7
7
  import c from "./index.es43.js";
8
8
  const F = n(function(i, t) {
@@ -1,6 +1,6 @@
1
1
  import r from "./index.es82.js";
2
2
  import o from "./index.es176.js";
3
- import n from "./index.es224.js";
3
+ import n from "./index.es223.js";
4
4
  const f = r(function(t) {
5
5
  return o(n(t, !0, !0));
6
6
  });
@@ -1,5 +1,5 @@
1
1
  import n from "./index.es82.js";
2
- import e from "./index.es224.js";
2
+ import e from "./index.es223.js";
3
3
  import f from "./index.es152.js";
4
4
  import i from "./index.es156.js";
5
5
  const a = n(function(t, r) {
@@ -1,7 +1,7 @@
1
1
  import i from "./index.es27.js";
2
2
  import p from "./index.es148.js";
3
3
  import { ArrayProto as e } from "./index.es23.js";
4
- import s from "./index.es231.js";
4
+ import s from "./index.es230.js";
5
5
  p(["pop", "push", "reverse", "shift", "sort", "splice", "unshift"], function(r) {
6
6
  var o = e[r];
7
7
  i.prototype[r] = function() {
@@ -1,4 +1,4 @@
1
- import { coordEach as u } from "./index.es191.js";
1
+ import { coordEach as u } from "./index.es190.js";
2
2
  function n(t) {
3
3
  var i = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
4
4
  return u(t, function(f) {
@@ -1,6 +1,7 @@
1
- import O from "./index.es190.js";
2
- import { GeoJSONReader as q, BufferOp as A, GeoJSONWriter as F } from "./index.es192.js";
3
- import { featureEach as v, geomEach as d } from "./index.es191.js";
1
+ import O from "./index.es189.js";
2
+ import { GeoJSONReader as q, BufferOp as A, GeoJSONWriter as F } from "./index.es191.js";
3
+ import { featureEach as v, geomEach as d } from "./index.es190.js";
4
+ import "./index.es192.js";
4
5
  import "./index.es193.js";
5
6
  import "./index.es194.js";
6
7
  import "./index.es195.js";
@@ -10,9 +11,8 @@ import "./index.es198.js";
10
11
  import "./index.es199.js";
11
12
  import "./index.es200.js";
12
13
  import "./index.es201.js";
13
- import "./index.es202.js";
14
- import R from "./index.es203.js";
15
- import "./index.es204.js";
14
+ import R from "./index.es202.js";
15
+ import "./index.es203.js";
16
16
  import { featureCollection as c, radiansToLength as g, lengthToRadians as B, feature as J, earthRadius as S } from "./index.es53.js";
17
17
  function Y(r, e, t) {
18
18
  t = t || {};
@@ -1,4 +1,4 @@
1
- import { __exports as t } from "./index.es78.js";
1
+ import { __exports as t } from "./index.es75.js";
2
2
  import R from "react";
3
3
  var p;
4
4
  function v() {
@@ -1,4 +1,4 @@
1
- import { __exports as y } from "./index.es79.js";
1
+ import { __exports as y } from "./index.es76.js";
2
2
  import te from "react";
3
3
  var hr;
4
4
  function oe() {
@@ -1,31 +1,5 @@
1
- import { __exports as a } from "./index.es189.js";
2
- function i(r, s) {
3
- for (var o = 0; o < s.length; o++) {
4
- const e = s[o];
5
- if (typeof e != "string" && !Array.isArray(e)) {
6
- for (const t in e)
7
- if (t !== "default" && !(t in r)) {
8
- const n = Object.getOwnPropertyDescriptor(e, t);
9
- n && Object.defineProperty(r, t, n.get ? n : {
10
- enumerable: !0,
11
- get: () => e[t]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var f = a.printMsg = function() {
19
- console.log("This is a message from the demo package");
20
- };
21
- const p = /* @__PURE__ */ i({
22
- __proto__: null,
23
- default: a,
24
- printMsg: f
25
- }, [a]);
1
+ var r = {};
26
2
  export {
27
- a as default,
28
- p as i,
29
- f as printMsg
3
+ r as __exports
30
4
  };
31
5
  //# sourceMappingURL=index.es75.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es75.js","sources":["../../../node_modules/mapbox-gl/index.js"],"sourcesContent":["exports.printMsg = function() {\r\n console.log(\"This is a message from the demo package\");\r\n }"],"names":["printMsg","mapboxGl"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,IAAAC,EAAA,WAAmB,WAAW;AAC1B,UAAQ,IAAI,yCAAyC;AACvD;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es75.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,54 +1,5 @@
1
- import { useContext as m, useRef as L, useState as g, useMemo as x, useEffect as h } from "react";
2
- import { MapContext as b } from "./index.es66.js";
3
- import d from "./index.es188.js";
4
- import { deepEqual as l } from "./index.es187.js";
5
- function k(t, e, a, o) {
6
- if (d(a.id === o.id, "layer id changed"), d(a.type === o.type, "layer type changed"), a.type === "custom" || o.type === "custom")
7
- return;
8
- const { layout: r = {}, paint: i = {}, filter: y, minzoom: c, maxzoom: u, beforeId: s } = a;
9
- if (s !== o.beforeId && t.moveLayer(e, s), r !== o.layout) {
10
- const f = o.layout || {};
11
- for (const n in r)
12
- l(r[n], f[n]) || t.setLayoutProperty(e, n, r[n]);
13
- for (const n in f)
14
- r.hasOwnProperty(n) || t.setLayoutProperty(e, n, void 0);
15
- }
16
- if (i !== o.paint) {
17
- const f = o.paint || {};
18
- for (const n in i)
19
- l(i[n], f[n]) || t.setPaintProperty(e, n, i[n]);
20
- for (const n in f)
21
- i.hasOwnProperty(n) || t.setPaintProperty(e, n, void 0);
22
- }
23
- l(y, o.filter) || t.setFilter(e, y), (c !== o.minzoom || u !== o.maxzoom) && t.setLayerZoomRange(e, c, u);
24
- }
25
- function z(t, e, a) {
26
- if (t.style && t.style._loaded && (!("source" in a) || t.getSource(a.source))) {
27
- const o = { ...a, id: e };
28
- delete o.beforeId, t.addLayer(o, a.beforeId);
29
- }
30
- }
31
- let I = 0;
32
- function S(t) {
33
- const e = m(b).map.getMap(), a = L(t), [, o] = g(0), r = x(() => t.id || `jsx-layer-${I++}`, []);
34
- if (h(() => {
35
- if (e) {
36
- const y = () => o((c) => c + 1);
37
- return e.on("styledata", y), y(), () => {
38
- e.off("styledata", y), e.style && e.style._loaded && e.getLayer(r) && e.removeLayer(r);
39
- };
40
- }
41
- }, [e]), e && e.style && e.getLayer(r))
42
- try {
43
- k(e, r, t, a.current);
44
- } catch (y) {
45
- console.warn(y);
46
- }
47
- else
48
- z(e, r, t);
49
- return a.current = t, null;
50
- }
1
+ var e = {};
51
2
  export {
52
- S as default
3
+ e as __exports
53
4
  };
54
5
  //# sourceMappingURL=index.es76.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es76.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/layer.js"],"sourcesContent":["import { useContext, useEffect, useMemo, useState, useRef } from 'react';\nimport { MapContext } from './map';\nimport assert from '../utils/assert';\nimport { deepEqual } from '../utils/deep-equal';\n/* eslint-disable complexity, max-statements */\nfunction updateLayer(map, id, props, prevProps) {\n assert(props.id === prevProps.id, 'layer id changed');\n assert(props.type === prevProps.type, 'layer type changed');\n if (props.type === 'custom' || prevProps.type === 'custom') {\n return;\n }\n const { layout = {}, paint = {}, filter, minzoom, maxzoom, beforeId } = props;\n if (beforeId !== prevProps.beforeId) {\n map.moveLayer(id, beforeId);\n }\n if (layout !== prevProps.layout) {\n const prevLayout = prevProps.layout || {};\n for (const key in layout) {\n if (!deepEqual(layout[key], prevLayout[key])) {\n map.setLayoutProperty(id, key, layout[key]);\n }\n }\n for (const key in prevLayout) {\n if (!layout.hasOwnProperty(key)) {\n map.setLayoutProperty(id, key, undefined);\n }\n }\n }\n if (paint !== prevProps.paint) {\n const prevPaint = prevProps.paint || {};\n for (const key in paint) {\n if (!deepEqual(paint[key], prevPaint[key])) {\n map.setPaintProperty(id, key, paint[key]);\n }\n }\n for (const key in prevPaint) {\n if (!paint.hasOwnProperty(key)) {\n map.setPaintProperty(id, key, undefined);\n }\n }\n }\n if (!deepEqual(filter, prevProps.filter)) {\n map.setFilter(id, filter);\n }\n if (minzoom !== prevProps.minzoom || maxzoom !== prevProps.maxzoom) {\n map.setLayerZoomRange(id, minzoom, maxzoom);\n }\n}\nfunction createLayer(map, id, props) {\n // @ts-ignore\n if (map.style && map.style._loaded && (!('source' in props) || map.getSource(props.source))) {\n const options = { ...props, id };\n delete options.beforeId;\n // @ts-ignore\n map.addLayer(options, props.beforeId);\n }\n}\n/* eslint-enable complexity, max-statements */\nlet layerCounter = 0;\nfunction Layer(props) {\n const map = useContext(MapContext).map.getMap();\n const propsRef = useRef(props);\n const [, setStyleLoaded] = useState(0);\n const id = useMemo(() => props.id || `jsx-layer-${layerCounter++}`, []);\n useEffect(() => {\n if (map) {\n const forceUpdate = () => setStyleLoaded(version => version + 1);\n map.on('styledata', forceUpdate);\n forceUpdate();\n return () => {\n map.off('styledata', forceUpdate);\n // @ts-ignore\n if (map.style && map.style._loaded && map.getLayer(id)) {\n map.removeLayer(id);\n }\n };\n }\n return undefined;\n }, [map]);\n // @ts-ignore\n const layer = map && map.style && map.getLayer(id);\n if (layer) {\n try {\n updateLayer(map, id, props, propsRef.current);\n }\n catch (error) {\n console.warn(error); // eslint-disable-line\n }\n }\n else {\n createLayer(map, id, props);\n }\n // Store last rendered props\n propsRef.current = props;\n return null;\n}\nexport default Layer;\n//# sourceMappingURL=layer.js.map"],"names":["updateLayer","map","id","props","prevProps","assert","layout","paint","filter","minzoom","maxzoom","beforeId","prevLayout","key","deepEqual","prevPaint","createLayer","options","layerCounter","Layer","useContext","MapContext","propsRef","useRef","setStyleLoaded","useState","useMemo","useEffect","forceUpdate","version","error"],"mappings":";;;;AAKA,SAASA,EAAYC,GAAKC,GAAIC,GAAOC,GAAW;AAG5C,MAFAC,EAAOF,EAAM,OAAOC,EAAU,IAAI,kBAAkB,GACpDC,EAAOF,EAAM,SAASC,EAAU,MAAM,oBAAoB,GACtDD,EAAM,SAAS,YAAYC,EAAU,SAAS;AAC9C;AAEE,QAAA,EAAE,QAAAE,IAAS,IAAI,OAAAC,IAAQ,CAAC,GAAG,QAAAC,GAAQ,SAAAC,GAAS,SAAAC,GAAS,UAAAC,EAAa,IAAAR;AAIpE,MAHAQ,MAAaP,EAAU,YACnBH,EAAA,UAAUC,GAAIS,CAAQ,GAE1BL,MAAWF,EAAU,QAAQ;AACvB,UAAAQ,IAAaR,EAAU,UAAU;AACvC,eAAWS,KAAOP;AACV,MAACQ,EAAUR,EAAOO,CAAG,GAAGD,EAAWC,CAAG,CAAC,KACvCZ,EAAI,kBAAkBC,GAAIW,GAAKP,EAAOO,CAAG,CAAC;AAGlD,eAAWA,KAAOD;AACd,MAAKN,EAAO,eAAeO,CAAG,KACtBZ,EAAA,kBAAkBC,GAAIW,GAAK,MAAS;AAAA,EAGpD;AACI,MAAAN,MAAUH,EAAU,OAAO;AACrB,UAAAW,IAAYX,EAAU,SAAS;AACrC,eAAWS,KAAON;AACV,MAACO,EAAUP,EAAMM,CAAG,GAAGE,EAAUF,CAAG,CAAC,KACrCZ,EAAI,iBAAiBC,GAAIW,GAAKN,EAAMM,CAAG,CAAC;AAGhD,eAAWA,KAAOE;AACd,MAAKR,EAAM,eAAeM,CAAG,KACrBZ,EAAA,iBAAiBC,GAAIW,GAAK,MAAS;AAAA,EAGnD;AACA,EAAKC,EAAUN,GAAQJ,EAAU,MAAM,KAC/BH,EAAA,UAAUC,GAAIM,CAAM,IAExBC,MAAYL,EAAU,WAAWM,MAAYN,EAAU,YACnDH,EAAA,kBAAkBC,GAAIO,GAASC,CAAO;AAElD;AACA,SAASM,EAAYf,GAAKC,GAAIC,GAAO;AAEjC,MAAIF,EAAI,SAASA,EAAI,MAAM,YAAY,EAAE,YAAYE,MAAUF,EAAI,UAAUE,EAAM,MAAM,IAAI;AACzF,UAAMc,IAAU,EAAE,GAAGd,GAAO,IAAAD,EAAG;AAC/B,WAAOe,EAAQ,UAEXhB,EAAA,SAASgB,GAASd,EAAM,QAAQ;AAAA,EACxC;AACJ;AAEA,IAAIe,IAAe;AACnB,SAASC,EAAMhB,GAAO;AAClB,QAAMF,IAAMmB,EAAWC,CAAU,EAAE,IAAI,OAAO,GACxCC,IAAWC,EAAOpB,CAAK,GACvB,GAAGqB,CAAc,IAAIC,EAAS,CAAC,GAC/BvB,IAAKwB,EAAQ,MAAMvB,EAAM,MAAM,aAAae,GAAc,IAAI,CAAA,CAAE;AAkBtE,MAjBAS,EAAU,MAAM;AACZ,QAAI1B,GAAK;AACL,YAAM2B,IAAc,MAAMJ,EAAe,CAAAK,MAAWA,IAAU,CAAC;AAC3D,aAAA5B,EAAA,GAAG,aAAa2B,CAAW,GACnBA,KACL,MAAM;AACL,QAAA3B,EAAA,IAAI,aAAa2B,CAAW,GAE5B3B,EAAI,SAASA,EAAI,MAAM,WAAWA,EAAI,SAASC,CAAE,KACjDD,EAAI,YAAYC,CAAE;AAAA,MACtB;AAAA,IAER;AAAA,EACO,GACR,CAACD,CAAG,CAAC,GAEMA,KAAOA,EAAI,SAASA,EAAI,SAASC,CAAE;AAEzC,QAAA;AACA,MAAAF,EAAYC,GAAKC,GAAIC,GAAOmB,EAAS,OAAO;AAAA,aAEzCQ,GAAO;AACV,cAAQ,KAAKA,CAAK;AAAA,IACtB;AAAA;AAGY,IAAAd,EAAAf,GAAKC,GAAIC,CAAK;AAG9B,SAAAmB,EAAS,UAAUnB,GACZ;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es76.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,68 +1,31 @@
1
- import * as u from "react";
2
- import { useContext as f, useRef as y, useState as m, useMemo as g, useEffect as S, cloneElement as h } from "react";
3
- import { MapContext as C } from "./index.es66.js";
4
- import s from "./index.es188.js";
5
- import { deepEqual as v } from "./index.es187.js";
6
- let x = 0;
7
- function U(t, e, a) {
8
- if (t.style && t.style._loaded) {
9
- const n = { ...a };
10
- return delete n.id, delete n.children, t.addSource(e, n), t.getSource(e);
11
- }
12
- return null;
13
- }
14
- function b(t, e, a) {
15
- s(e.id === a.id, "source id changed"), s(e.type === a.type, "source type changed");
16
- let n = "", r = 0;
17
- for (const o in e)
18
- o !== "children" && o !== "id" && !v(a[o], e[o]) && (n = o, r++);
19
- if (!r)
20
- return;
21
- const l = e.type;
22
- if (l === "geojson")
23
- t.setData(e.data);
24
- else if (l === "image")
25
- t.updateImage({
26
- url: e.url,
27
- coordinates: e.coordinates
28
- });
29
- else if ("setCoordinates" in t && r === 1 && n === "coordinates")
30
- t.setCoordinates(e.coordinates);
31
- else if ("setUrl" in t)
32
- switch (n) {
33
- case "url":
34
- t.setUrl(e.url);
35
- break;
36
- case "tiles":
37
- t.setTiles(e.tiles);
38
- break;
39
- }
40
- else
41
- console.warn(`Unable to update <Source> prop: ${n}`);
42
- }
43
- function R(t) {
44
- const e = f(C).map.getMap(), a = y(t), [, n] = m(0), r = g(() => t.id || `jsx-source-${x++}`, []);
45
- S(() => {
46
- if (e) {
47
- const o = () => setTimeout(() => n((i) => i + 1), 0);
48
- return e.on("styledata", o), o(), () => {
49
- var i;
50
- if (e.off("styledata", o), e.style && e.style._loaded && e.getSource(r)) {
51
- const c = (i = e.getStyle()) === null || i === void 0 ? void 0 : i.layers;
52
- if (c)
53
- for (const d of c)
54
- d.source === r && e.removeLayer(d.id);
55
- e.removeSource(r);
1
+ import { __exports as a } from "./index.es233.js";
2
+ function i(r, s) {
3
+ for (var o = 0; o < s.length; o++) {
4
+ const e = s[o];
5
+ if (typeof e != "string" && !Array.isArray(e)) {
6
+ for (const t in e)
7
+ if (t !== "default" && !(t in r)) {
8
+ const n = Object.getOwnPropertyDescriptor(e, t);
9
+ n && Object.defineProperty(r, t, n.get ? n : {
10
+ enumerable: !0,
11
+ get: () => e[t]
12
+ });
56
13
  }
57
- };
58
14
  }
59
- }, [e]);
60
- let l = e && e.style && e.getSource(r);
61
- return l ? b(l, t, a.current) : l = U(e, r, t), a.current = t, l && u.Children.map(t.children, (o) => o && h(o, {
62
- source: r
63
- })) || null;
15
+ }
16
+ return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
64
17
  }
18
+ var f = a.printMsg = function() {
19
+ console.log("This is a message from the demo package");
20
+ };
21
+ const p = /* @__PURE__ */ i({
22
+ __proto__: null,
23
+ default: a,
24
+ printMsg: f
25
+ }, [a]);
65
26
  export {
66
- R as default
27
+ a as default,
28
+ p as i,
29
+ f as printMsg
67
30
  };
68
31
  //# sourceMappingURL=index.es77.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es77.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/source.js"],"sourcesContent":["import * as React from 'react';\nimport { useContext, useEffect, useMemo, useState, useRef } from 'react';\nimport { cloneElement } from 'react';\nimport { MapContext } from './map';\nimport assert from '../utils/assert';\nimport { deepEqual } from '../utils/deep-equal';\nlet sourceCounter = 0;\nfunction createSource(map, id, props) {\n // @ts-ignore\n if (map.style && map.style._loaded) {\n const options = { ...props };\n delete options.id;\n delete options.children;\n // @ts-ignore\n map.addSource(id, options);\n return map.getSource(id);\n }\n return null;\n}\n/* eslint-disable complexity */\nfunction updateSource(source, props, prevProps) {\n assert(props.id === prevProps.id, 'source id changed');\n assert(props.type === prevProps.type, 'source type changed');\n let changedKey = '';\n let changedKeyCount = 0;\n for (const key in props) {\n if (key !== 'children' && key !== 'id' && !deepEqual(prevProps[key], props[key])) {\n changedKey = key;\n changedKeyCount++;\n }\n }\n if (!changedKeyCount) {\n return;\n }\n const type = props.type;\n if (type === 'geojson') {\n source.setData(props.data);\n }\n else if (type === 'image') {\n source.updateImage({\n url: props.url,\n coordinates: props.coordinates\n });\n }\n else if ('setCoordinates' in source && changedKeyCount === 1 && changedKey === 'coordinates') {\n source.setCoordinates(props.coordinates);\n }\n else if ('setUrl' in source) {\n // Added in 1.12.0:\n // vectorTileSource.setTiles\n // vectorTileSource.setUrl\n switch (changedKey) {\n case 'url':\n source.setUrl(props.url);\n break;\n case 'tiles':\n source.setTiles(props.tiles);\n break;\n default:\n }\n }\n else {\n // eslint-disable-next-line\n console.warn(`Unable to update <Source> prop: ${changedKey}`);\n }\n}\n/* eslint-enable complexity */\nfunction Source(props) {\n const map = useContext(MapContext).map.getMap();\n const propsRef = useRef(props);\n const [, setStyleLoaded] = useState(0);\n const id = useMemo(() => props.id || `jsx-source-${sourceCounter++}`, []);\n useEffect(() => {\n if (map) {\n /* global setTimeout */\n const forceUpdate = () => setTimeout(() => setStyleLoaded(version => version + 1), 0);\n map.on('styledata', forceUpdate);\n forceUpdate();\n return () => {\n var _a;\n map.off('styledata', forceUpdate);\n // @ts-ignore\n if (map.style && map.style._loaded && map.getSource(id)) {\n // Parent effects are destroyed before child ones, see\n // https://github.com/facebook/react/issues/16728\n // Source can only be removed after all child layers are removed\n const allLayers = (_a = map.getStyle()) === null || _a === void 0 ? void 0 : _a.layers;\n if (allLayers) {\n for (const layer of allLayers) {\n // @ts-ignore (2339) source does not exist on all layer types\n if (layer.source === id) {\n map.removeLayer(layer.id);\n }\n }\n }\n map.removeSource(id);\n }\n };\n }\n return undefined;\n }, [map]);\n // @ts-ignore\n let source = map && map.style && map.getSource(id);\n if (source) {\n updateSource(source, props, propsRef.current);\n }\n else {\n source = createSource(map, id, props);\n }\n propsRef.current = props;\n return ((source &&\n React.Children.map(props.children, child => child &&\n cloneElement(child, {\n source: id\n }))) ||\n null);\n}\nexport default Source;\n//# sourceMappingURL=source.js.map"],"names":["sourceCounter","createSource","map","id","props","options","updateSource","source","prevProps","assert","changedKey","changedKeyCount","key","deepEqual","type","Source","useContext","MapContext","propsRef","useRef","setStyleLoaded","useState","useMemo","useEffect","forceUpdate","version","_a","allLayers","layer","React","child","cloneElement"],"mappings":";;;;;AAMA,IAAIA,IAAgB;AACpB,SAASC,EAAaC,GAAKC,GAAIC,GAAO;AAElC,MAAIF,EAAI,SAASA,EAAI,MAAM,SAAS;AAC1B,UAAAG,IAAU,EAAE,GAAGD;AACrB,kBAAOC,EAAQ,IACf,OAAOA,EAAQ,UAEXH,EAAA,UAAUC,GAAIE,CAAO,GAClBH,EAAI,UAAUC,CAAE;AAAA,EAC3B;AACO,SAAA;AACX;AAEA,SAASG,EAAaC,GAAQH,GAAOI,GAAW;AAC5C,EAAAC,EAAOL,EAAM,OAAOI,EAAU,IAAI,mBAAmB,GACrDC,EAAOL,EAAM,SAASI,EAAU,MAAM,qBAAqB;AAC3D,MAAIE,IAAa,IACbC,IAAkB;AACtB,aAAWC,KAAOR;AACd,IAAIQ,MAAQ,cAAcA,MAAQ,QAAQ,CAACC,EAAUL,EAAUI,CAAG,GAAGR,EAAMQ,CAAG,CAAC,MAC9DF,IAAAE,GACbD;AAGR,MAAI,CAACA;AACD;AAEJ,QAAMG,IAAOV,EAAM;AACnB,MAAIU,MAAS;AACF,IAAAP,EAAA,QAAQH,EAAM,IAAI;AAAA,WAEpBU,MAAS;AACd,IAAAP,EAAO,YAAY;AAAA,MACf,KAAKH,EAAM;AAAA,MACX,aAAaA,EAAM;AAAA,IAAA,CACtB;AAAA,WAEI,oBAAoBG,KAAUI,MAAoB,KAAKD,MAAe;AACpE,IAAAH,EAAA,eAAeH,EAAM,WAAW;AAAA,WAElC,YAAYG;AAIjB,YAAQG,GAAY;AAAA,MAChB,KAAK;AACM,QAAAH,EAAA,OAAOH,EAAM,GAAG;AACvB;AAAA,MACJ,KAAK;AACM,QAAAG,EAAA,SAASH,EAAM,KAAK;AAC3B;AAAA,IAER;AAAA;AAIQ,YAAA,KAAK,mCAAmCM,CAAU,EAAE;AAEpE;AAEA,SAASK,EAAOX,GAAO;AACnB,QAAMF,IAAMc,EAAWC,CAAU,EAAE,IAAI,OAAO,GACxCC,IAAWC,EAAOf,CAAK,GACvB,GAAGgB,CAAc,IAAIC,EAAS,CAAC,GAC/BlB,IAAKmB,EAAQ,MAAMlB,EAAM,MAAM,cAAcJ,GAAe,IAAI,CAAA,CAAE;AACxE,EAAAuB,EAAU,MAAM;AACZ,QAAIrB,GAAK;AAEC,YAAAsB,IAAc,MAAM,WAAW,MAAMJ,EAAe,CAAWK,MAAAA,IAAU,CAAC,GAAG,CAAC;AAChF,aAAAvB,EAAA,GAAG,aAAasB,CAAW,GACnBA,KACL,MAAM;AACL,YAAAE;AAGA,YAFAxB,EAAA,IAAI,aAAasB,CAAW,GAE5BtB,EAAI,SAASA,EAAI,MAAM,WAAWA,EAAI,UAAUC,CAAE,GAAG;AAI/C,gBAAAwB,KAAaD,IAAKxB,EAAI,SAAA,OAAgB,QAAQwB,MAAO,SAAS,SAASA,EAAG;AAChF,cAAIC;AACA,uBAAWC,KAASD;AAEZ,cAAAC,EAAM,WAAWzB,KACbD,EAAA,YAAY0B,EAAM,EAAE;AAIpC,UAAA1B,EAAI,aAAaC,CAAE;AAAA,QACvB;AAAA,MAAA;AAAA,IAER;AAAA,EACO,GACR,CAACD,CAAG,CAAC;AAER,MAAIK,IAASL,KAAOA,EAAI,SAASA,EAAI,UAAUC,CAAE;AACjD,SAAII,IACaD,EAAAC,GAAQH,GAAOc,EAAS,OAAO,IAGnCX,IAAAN,EAAaC,GAAKC,GAAIC,CAAK,GAExCc,EAAS,UAAUd,GACVG,KACLsB,EAAM,SAAS,IAAIzB,EAAM,UAAU,CAAA0B,MAASA,KACxCC,EAAaD,GAAO;AAAA,IAChB,QAAQ3B;AAAA,EAAA,CACX,CAAC,KACN;AACR;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es77.js","sources":["../../../node_modules/mapbox-gl/index.js"],"sourcesContent":["exports.printMsg = function() {\r\n console.log(\"This is a message from the demo package\");\r\n }"],"names":["printMsg","mapboxGl"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,IAAAC,EAAA,WAAmB,WAAW;AAC1B,UAAQ,IAAI,yCAAyC;AACvD;;;;;;","x_google_ignoreList":[0]}