@performant-software/geospatial 3.1.22-beta.7 → 3.1.22-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 (398) 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.cjs104.js +1 -1
  6. package/dist/index.cjs105.js +1 -1
  7. package/dist/index.cjs106.js +1 -1
  8. package/dist/index.cjs107.js +1 -1
  9. package/dist/index.cjs110.js +1 -1
  10. package/dist/index.cjs111.js +1 -1
  11. package/dist/index.cjs113.js +1 -1
  12. package/dist/index.cjs114.js +1 -1
  13. package/dist/index.cjs115.js +1 -1
  14. package/dist/index.cjs116.js +1 -1
  15. package/dist/index.cjs121.js +1 -1
  16. package/dist/index.cjs122.js +1 -1
  17. package/dist/index.cjs123.js +1 -1
  18. package/dist/index.cjs124.js +1 -1
  19. package/dist/index.cjs127.js +1 -1
  20. package/dist/index.cjs128.js +1 -1
  21. package/dist/index.cjs129.js +1 -1
  22. package/dist/index.cjs133.js +1 -1
  23. package/dist/index.cjs136.js +1 -1
  24. package/dist/index.cjs14.js +1 -1
  25. package/dist/index.cjs14.js.map +1 -1
  26. package/dist/index.cjs140.js +1 -1
  27. package/dist/index.cjs143.js +1 -1
  28. package/dist/index.cjs151.js +1 -1
  29. package/dist/index.cjs152.js +1 -1
  30. package/dist/index.cjs153.js +1 -1
  31. package/dist/index.cjs154.js +1 -1
  32. package/dist/index.cjs155.js +1 -1
  33. package/dist/index.cjs156.js +1 -1
  34. package/dist/index.cjs157.js +1 -1
  35. package/dist/index.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.cjs164.js +1 -1
  42. package/dist/index.cjs165.js +1 -1
  43. package/dist/index.cjs166.js +1 -1
  44. package/dist/index.cjs167.js +1 -1
  45. package/dist/index.cjs17.js +1 -1
  46. package/dist/index.cjs170.js +1 -1
  47. package/dist/index.cjs171.js +1 -1
  48. package/dist/index.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.cjs177.js +1 -1
  53. package/dist/index.cjs178.js +1 -1
  54. package/dist/index.cjs179.js +1 -1
  55. package/dist/index.cjs18.js +1 -1
  56. package/dist/index.cjs180.js +1 -1
  57. package/dist/index.cjs186.js +1 -1
  58. package/dist/index.cjs187.js +1 -1
  59. package/dist/index.cjs188.js +1 -1
  60. package/dist/index.cjs189.js +1 -1
  61. package/dist/index.cjs19.js +1 -1
  62. package/dist/index.cjs190.js +1 -1
  63. package/dist/index.cjs196.js +1 -1
  64. package/dist/index.cjs20.js +1 -1
  65. package/dist/index.cjs209.js +1 -1
  66. package/dist/index.cjs209.js.map +1 -1
  67. package/dist/index.cjs21.js +1 -1
  68. package/dist/index.cjs210.js +1 -1
  69. package/dist/index.cjs210.js.map +1 -1
  70. package/dist/index.cjs211.js +1 -1
  71. package/dist/index.cjs211.js.map +1 -1
  72. package/dist/index.cjs212.js +1 -1
  73. package/dist/index.cjs212.js.map +1 -1
  74. package/dist/index.cjs213.js +1 -1
  75. package/dist/index.cjs213.js.map +1 -1
  76. package/dist/index.cjs214.js +1 -1
  77. package/dist/index.cjs214.js.map +1 -1
  78. package/dist/index.cjs215.js +1 -1
  79. package/dist/index.cjs215.js.map +1 -1
  80. package/dist/index.cjs216.js +1 -1
  81. package/dist/index.cjs216.js.map +1 -1
  82. package/dist/index.cjs217.js +1 -1
  83. package/dist/index.cjs217.js.map +1 -1
  84. package/dist/index.cjs218.js +1 -1
  85. package/dist/index.cjs218.js.map +1 -1
  86. package/dist/index.cjs219.js +1 -1
  87. package/dist/index.cjs219.js.map +1 -1
  88. package/dist/index.cjs22.js +1 -1
  89. package/dist/index.cjs220.js +1 -1
  90. package/dist/index.cjs220.js.map +1 -1
  91. package/dist/index.cjs221.js +1 -1
  92. package/dist/index.cjs221.js.map +1 -1
  93. package/dist/index.cjs222.js +1 -1
  94. package/dist/index.cjs222.js.map +1 -1
  95. package/dist/index.cjs223.js +1 -1
  96. package/dist/index.cjs223.js.map +1 -1
  97. package/dist/index.cjs224.js +1 -1
  98. package/dist/index.cjs224.js.map +1 -1
  99. package/dist/index.cjs225.js +1 -1
  100. package/dist/index.cjs225.js.map +1 -1
  101. package/dist/index.cjs226.js +1 -1
  102. package/dist/index.cjs226.js.map +1 -1
  103. package/dist/index.cjs227.js +1 -1
  104. package/dist/index.cjs227.js.map +1 -1
  105. package/dist/index.cjs228.js +1 -1
  106. package/dist/index.cjs228.js.map +1 -1
  107. package/dist/index.cjs229.js +1 -1
  108. package/dist/index.cjs229.js.map +1 -1
  109. package/dist/index.cjs23.js +1 -1
  110. package/dist/index.cjs230.js +1 -1
  111. package/dist/index.cjs230.js.map +1 -1
  112. package/dist/index.cjs231.js +1 -1
  113. package/dist/index.cjs231.js.map +1 -1
  114. package/dist/index.cjs232.js +1 -1
  115. package/dist/index.cjs232.js.map +1 -1
  116. package/dist/index.cjs233.js +1 -1
  117. package/dist/index.cjs233.js.map +1 -1
  118. package/dist/index.cjs234.js +1 -1
  119. package/dist/index.cjs234.js.map +1 -1
  120. package/dist/index.cjs235.js +1 -1
  121. package/dist/index.cjs235.js.map +1 -1
  122. package/dist/index.cjs236.js +1 -1
  123. package/dist/index.cjs236.js.map +1 -1
  124. package/dist/index.cjs237.js +1 -1
  125. package/dist/index.cjs237.js.map +1 -1
  126. package/dist/index.cjs238.js +1 -1
  127. package/dist/index.cjs238.js.map +1 -1
  128. package/dist/index.cjs239.js +1 -1
  129. package/dist/index.cjs239.js.map +1 -1
  130. package/dist/index.cjs24.js +1 -1
  131. package/dist/index.cjs240.js +1 -1
  132. package/dist/index.cjs240.js.map +1 -1
  133. package/dist/index.cjs241.js +1 -1
  134. package/dist/index.cjs241.js.map +1 -1
  135. package/dist/index.cjs242.js +1 -1
  136. package/dist/index.cjs242.js.map +1 -1
  137. package/dist/index.cjs243.js +1 -1
  138. package/dist/index.cjs243.js.map +1 -1
  139. package/dist/index.cjs246.js +1 -1
  140. package/dist/index.cjs246.js.map +1 -1
  141. package/dist/index.cjs247.js +1 -1
  142. package/dist/index.cjs247.js.map +1 -1
  143. package/dist/index.cjs248.js +1 -1
  144. package/dist/index.cjs248.js.map +1 -1
  145. package/dist/index.cjs249.js +1 -1
  146. package/dist/index.cjs249.js.map +1 -1
  147. package/dist/index.cjs25.js +1 -1
  148. package/dist/index.cjs250.js +1 -1
  149. package/dist/index.cjs250.js.map +1 -1
  150. package/dist/index.cjs258.js +1 -1
  151. package/dist/index.cjs26.js +1 -1
  152. package/dist/index.cjs262.js +1 -1
  153. package/dist/index.cjs263.js +1 -1
  154. package/dist/index.cjs266.js +1 -1
  155. package/dist/index.cjs27.js +1 -1
  156. package/dist/index.cjs270.js +1 -1
  157. package/dist/index.cjs270.js.map +1 -1
  158. package/dist/index.cjs271.js +1 -1
  159. package/dist/index.cjs271.js.map +1 -1
  160. package/dist/index.cjs272.js +1 -1
  161. package/dist/index.cjs272.js.map +1 -1
  162. package/dist/index.cjs29.js +1 -1
  163. package/dist/index.cjs32.js +1 -1
  164. package/dist/index.cjs34.js +1 -1
  165. package/dist/index.cjs35.js +1 -1
  166. package/dist/index.cjs38.js +1 -1
  167. package/dist/index.cjs39.js +1 -1
  168. package/dist/index.cjs40.js +1 -1
  169. package/dist/index.cjs42.js +1 -1
  170. package/dist/index.cjs43.js +1 -1
  171. package/dist/index.cjs44.js +1 -1
  172. package/dist/index.cjs46.js +1 -1
  173. package/dist/index.cjs47.js +1 -1
  174. package/dist/index.cjs48.js +1 -1
  175. package/dist/index.cjs50.js +1 -1
  176. package/dist/index.cjs51.js +1 -1
  177. package/dist/index.cjs52.js +1 -1
  178. package/dist/index.cjs56.js +1 -1
  179. package/dist/index.cjs57.js +1 -1
  180. package/dist/index.cjs58.js +1 -1
  181. package/dist/index.cjs60.js +1 -1
  182. package/dist/index.cjs61.js +1 -1
  183. package/dist/index.cjs63.js +1 -1
  184. package/dist/index.cjs82.js +1 -743
  185. package/dist/index.cjs82.js.map +1 -1
  186. package/dist/index.cjs83.js +1 -1
  187. package/dist/index.cjs84.js +1 -1
  188. package/dist/index.cjs84.js.map +1 -1
  189. package/dist/index.cjs85.js +1 -1
  190. package/dist/index.cjs85.js.map +1 -1
  191. package/dist/index.cjs86.js +1 -1
  192. package/dist/index.cjs86.js.map +1 -1
  193. package/dist/index.cjs87.js +743 -1
  194. package/dist/index.cjs87.js.map +1 -1
  195. package/dist/index.cjs88.js +1 -1
  196. package/dist/index.cjs88.js.map +1 -1
  197. package/dist/index.cjs92.js +1 -1
  198. package/dist/index.cjs99.js +1 -1
  199. package/dist/index.es100.js +1 -1
  200. package/dist/index.es101.js +1 -1
  201. package/dist/index.es102.js +1 -1
  202. package/dist/index.es103.js +1 -1
  203. package/dist/index.es104.js +1 -1
  204. package/dist/index.es105.js +1 -1
  205. package/dist/index.es106.js +1 -1
  206. package/dist/index.es107.js +1 -1
  207. package/dist/index.es110.js +1 -1
  208. package/dist/index.es111.js +1 -1
  209. package/dist/index.es113.js +3 -3
  210. package/dist/index.es114.js +1 -1
  211. package/dist/index.es115.js +2 -2
  212. package/dist/index.es116.js +1 -1
  213. package/dist/index.es121.js +1 -1
  214. package/dist/index.es122.js +1 -1
  215. package/dist/index.es123.js +1 -1
  216. package/dist/index.es124.js +1 -1
  217. package/dist/index.es127.js +2 -2
  218. package/dist/index.es128.js +2 -2
  219. package/dist/index.es129.js +1 -1
  220. package/dist/index.es133.js +2 -2
  221. package/dist/index.es136.js +1 -1
  222. package/dist/index.es14.js +1 -1
  223. package/dist/index.es14.js.map +1 -1
  224. package/dist/index.es140.js +1 -1
  225. package/dist/index.es143.js +1 -1
  226. package/dist/index.es151.js +1 -1
  227. package/dist/index.es152.js +1 -1
  228. package/dist/index.es153.js +1 -1
  229. package/dist/index.es154.js +2 -2
  230. package/dist/index.es155.js +1 -1
  231. package/dist/index.es156.js +1 -1
  232. package/dist/index.es157.js +1 -1
  233. package/dist/index.es159.js +2 -2
  234. package/dist/index.es16.js +4 -4
  235. package/dist/index.es160.js +2 -2
  236. package/dist/index.es161.js +1 -1
  237. package/dist/index.es162.js +1 -1
  238. package/dist/index.es163.js +1 -1
  239. package/dist/index.es164.js +1 -1
  240. package/dist/index.es165.js +2 -2
  241. package/dist/index.es166.js +2 -2
  242. package/dist/index.es167.js +1 -1
  243. package/dist/index.es17.js +3 -3
  244. package/dist/index.es170.js +2 -2
  245. package/dist/index.es171.js +2 -2
  246. package/dist/index.es173.js +2 -2
  247. package/dist/index.es174.js +1 -1
  248. package/dist/index.es175.js +2 -2
  249. package/dist/index.es176.js +1 -1
  250. package/dist/index.es177.js +2 -2
  251. package/dist/index.es178.js +1 -1
  252. package/dist/index.es179.js +1 -1
  253. package/dist/index.es18.js +3 -3
  254. package/dist/index.es180.js +1 -1
  255. package/dist/index.es186.js +1 -1
  256. package/dist/index.es187.js +2 -2
  257. package/dist/index.es188.js +1 -1
  258. package/dist/index.es189.js +1 -1
  259. package/dist/index.es19.js +1 -1
  260. package/dist/index.es190.js +1 -1
  261. package/dist/index.es196.js +1 -1
  262. package/dist/index.es20.js +1 -1
  263. package/dist/index.es209.js +242 -7
  264. package/dist/index.es209.js.map +1 -1
  265. package/dist/index.es21.js +1 -1
  266. package/dist/index.es210.js +42 -4
  267. package/dist/index.es210.js.map +1 -1
  268. package/dist/index.es211.js +3 -4
  269. package/dist/index.es211.js.map +1 -1
  270. package/dist/index.es212.js +11 -3
  271. package/dist/index.es212.js.map +1 -1
  272. package/dist/index.es213.js +11 -3
  273. package/dist/index.es213.js.map +1 -1
  274. package/dist/index.es214.js +30 -8
  275. package/dist/index.es214.js.map +1 -1
  276. package/dist/index.es215.js +13 -18
  277. package/dist/index.es215.js.map +1 -1
  278. package/dist/index.es216.js +4 -20
  279. package/dist/index.es216.js.map +1 -1
  280. package/dist/index.es217.js +6 -11
  281. package/dist/index.es217.js.map +1 -1
  282. package/dist/index.es218.js +4 -14
  283. package/dist/index.es218.js.map +1 -1
  284. package/dist/index.es219.js +4 -6
  285. package/dist/index.es219.js.map +1 -1
  286. package/dist/index.es22.js +1 -1
  287. package/dist/index.es220.js +3 -8
  288. package/dist/index.es220.js.map +1 -1
  289. package/dist/index.es221.js +3 -7
  290. package/dist/index.es221.js.map +1 -1
  291. package/dist/index.es222.js +8 -21
  292. package/dist/index.es222.js.map +1 -1
  293. package/dist/index.es223.js +17 -8
  294. package/dist/index.es223.js.map +1 -1
  295. package/dist/index.es224.js +21 -9
  296. package/dist/index.es224.js.map +1 -1
  297. package/dist/index.es225.js +13 -4
  298. package/dist/index.es225.js.map +1 -1
  299. package/dist/index.es226.js +14 -10
  300. package/dist/index.es226.js.map +1 -1
  301. package/dist/index.es227.js +5 -7
  302. package/dist/index.es227.js.map +1 -1
  303. package/dist/index.es228.js +6 -19
  304. package/dist/index.es228.js.map +1 -1
  305. package/dist/index.es229.js +6 -10
  306. package/dist/index.es229.js.map +1 -1
  307. package/dist/index.es23.js +1 -1
  308. package/dist/index.es230.js +20 -16
  309. package/dist/index.es230.js.map +1 -1
  310. package/dist/index.es231.js +10 -4
  311. package/dist/index.es231.js.map +1 -1
  312. package/dist/index.es232.js +9 -18
  313. package/dist/index.es232.js.map +1 -1
  314. package/dist/index.es233.js +4 -12
  315. package/dist/index.es233.js.map +1 -1
  316. package/dist/index.es234.js +10 -3
  317. package/dist/index.es234.js.map +1 -1
  318. package/dist/index.es235.js +7 -4
  319. package/dist/index.es235.js.map +1 -1
  320. package/dist/index.es236.js +20 -242
  321. package/dist/index.es236.js.map +1 -1
  322. package/dist/index.es237.js +9 -41
  323. package/dist/index.es237.js.map +1 -1
  324. package/dist/index.es238.js +18 -3
  325. package/dist/index.es238.js.map +1 -1
  326. package/dist/index.es239.js +3 -10
  327. package/dist/index.es239.js.map +1 -1
  328. package/dist/index.es24.js +1 -1
  329. package/dist/index.es240.js +17 -10
  330. package/dist/index.es240.js.map +1 -1
  331. package/dist/index.es241.js +11 -30
  332. package/dist/index.es241.js.map +1 -1
  333. package/dist/index.es242.js +3 -13
  334. package/dist/index.es242.js.map +1 -1
  335. package/dist/index.es243.js +4 -4
  336. package/dist/index.es243.js.map +1 -1
  337. package/dist/index.es246.js +21 -3
  338. package/dist/index.es246.js.map +1 -1
  339. package/dist/index.es247.js +22 -5
  340. package/dist/index.es247.js.map +1 -1
  341. package/dist/index.es248.js +3 -8
  342. package/dist/index.es248.js.map +1 -1
  343. package/dist/index.es249.js +4 -19
  344. package/dist/index.es249.js.map +1 -1
  345. package/dist/index.es25.js +1 -1
  346. package/dist/index.es250.js +7 -22
  347. package/dist/index.es250.js.map +1 -1
  348. package/dist/index.es258.js +1 -1
  349. package/dist/index.es26.js +2 -2
  350. package/dist/index.es262.js +1 -1
  351. package/dist/index.es263.js +2 -2
  352. package/dist/index.es266.js +1 -1
  353. package/dist/index.es27.js +2 -2
  354. package/dist/index.es270.js +15 -4
  355. package/dist/index.es270.js.map +1 -1
  356. package/dist/index.es271.js +4 -69
  357. package/dist/index.es271.js.map +1 -1
  358. package/dist/index.es272.js +69 -15
  359. package/dist/index.es272.js.map +1 -1
  360. package/dist/index.es29.js +2 -2
  361. package/dist/index.es32.js +2 -2
  362. package/dist/index.es34.js +2 -2
  363. package/dist/index.es35.js +2 -2
  364. package/dist/index.es38.js +1 -1
  365. package/dist/index.es39.js +1 -1
  366. package/dist/index.es40.js +2 -2
  367. package/dist/index.es42.js +2 -2
  368. package/dist/index.es43.js +2 -2
  369. package/dist/index.es44.js +2 -2
  370. package/dist/index.es46.js +1 -1
  371. package/dist/index.es47.js +2 -2
  372. package/dist/index.es48.js +2 -2
  373. package/dist/index.es50.js +1 -1
  374. package/dist/index.es51.js +1 -1
  375. package/dist/index.es52.js +1 -1
  376. package/dist/index.es56.js +2 -2
  377. package/dist/index.es57.js +3 -3
  378. package/dist/index.es58.js +1 -1
  379. package/dist/index.es60.js +1 -1
  380. package/dist/index.es61.js +1 -1
  381. package/dist/index.es63.js +1 -1
  382. package/dist/index.es82.js +1954 -21313
  383. package/dist/index.es82.js.map +1 -1
  384. package/dist/index.es83.js +6 -2
  385. package/dist/index.es83.js.map +1 -1
  386. package/dist/index.es84.js +2 -1993
  387. package/dist/index.es84.js.map +1 -1
  388. package/dist/index.es85.js +105 -5
  389. package/dist/index.es85.js.map +1 -1
  390. package/dist/index.es86.js +10 -2
  391. package/dist/index.es86.js.map +1 -1
  392. package/dist/index.es87.js +21350 -104
  393. package/dist/index.es87.js.map +1 -1
  394. package/dist/index.es88.js +2 -10
  395. package/dist/index.es88.js.map +1 -1
  396. package/dist/index.es92.js +1 -1
  397. package/dist/index.es99.js +1 -1
  398. package/package.json +1 -1
@@ -1,34 +1,15 @@
1
- function i(e, r) {
2
- const t = Array.isArray(e) ? e[0] : e ? e.x : 0, s = Array.isArray(e) ? e[1] : e ? e.y : 0, n = Array.isArray(r) ? r[0] : r ? r.x : 0, f = Array.isArray(r) ? r[1] : r ? r.y : 0;
3
- return t === n && s === f;
4
- }
5
- function y(e, r) {
6
- if (e === r)
7
- return !0;
8
- if (!e || !r)
9
- return !1;
10
- if (Array.isArray(e)) {
11
- if (!Array.isArray(r) || e.length !== r.length)
12
- return !1;
13
- for (let t = 0; t < e.length; t++)
14
- if (!y(e[t], r[t]))
15
- return !1;
16
- return !0;
17
- } else if (Array.isArray(r))
18
- return !1;
19
- if (typeof e == "object" && typeof r == "object") {
20
- const t = Object.keys(e), s = Object.keys(r);
21
- if (t.length !== s.length)
22
- return !1;
23
- for (const n of t)
24
- if (!r.hasOwnProperty(n) || !y(e[n], r[n]))
25
- return !1;
26
- return !0;
27
- }
28
- return !1;
1
+ import i from "./index.es229.js";
2
+ import a from "./index.es159.js";
3
+ function g(f, t) {
4
+ return function(n, r, c) {
5
+ var o = t ? [[], []] : {};
6
+ return r = i(r, c), a(n, function(u, m) {
7
+ var p = r(u, m, n);
8
+ f(o, u, p);
9
+ }), o;
10
+ };
29
11
  }
30
12
  export {
31
- i as arePointsEqual,
32
- y as deepEqual
13
+ g as default
33
14
  };
34
15
  //# sourceMappingURL=index.es241.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es241.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/deep-equal.js"],"sourcesContent":["/**\n * Compare two points\n * @param a\n * @param b\n * @returns true if the points are equal\n */\nexport function arePointsEqual(a, b) {\n const ax = Array.isArray(a) ? a[0] : a ? a.x : 0;\n const ay = Array.isArray(a) ? a[1] : a ? a.y : 0;\n const bx = Array.isArray(b) ? b[0] : b ? b.x : 0;\n const by = Array.isArray(b) ? b[1] : b ? b.y : 0;\n return ax === bx && ay === by;\n}\n/* eslint-disable complexity */\n/**\n * Compare any two objects\n * @param a\n * @param b\n * @returns true if the objects are deep equal\n */\nexport function deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (!a || !b) {\n return false;\n }\n if (Array.isArray(a)) {\n if (!Array.isArray(b) || a.length !== b.length) {\n return false;\n }\n for (let i = 0; i < a.length; i++) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n else if (Array.isArray(b)) {\n return false;\n }\n if (typeof a === 'object' && typeof b === 'object') {\n const aKeys = Object.keys(a);\n const bKeys = Object.keys(b);\n if (aKeys.length !== bKeys.length) {\n return false;\n }\n for (const key of aKeys) {\n if (!b.hasOwnProperty(key)) {\n return false;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return false;\n}\n//# sourceMappingURL=deep-equal.js.map"],"names":["arePointsEqual","a","b","ax","ay","bx","by","deepEqual","i","aKeys","bKeys","key"],"mappings":"AAMO,SAASA,EAAeC,GAAGC,GAAG;AACjC,QAAMC,IAAK,MAAM,QAAQF,CAAC,IAAIA,EAAE,CAAC,IAAIA,IAAIA,EAAE,IAAI,GACzCG,IAAK,MAAM,QAAQH,CAAC,IAAIA,EAAE,CAAC,IAAIA,IAAIA,EAAE,IAAI,GACzCI,IAAK,MAAM,QAAQH,CAAC,IAAIA,EAAE,CAAC,IAAIA,IAAIA,EAAE,IAAI,GACzCI,IAAK,MAAM,QAAQJ,CAAC,IAAIA,EAAE,CAAC,IAAIA,IAAIA,EAAE,IAAI;AAC/C,SAAOC,MAAOE,KAAMD,MAAOE;AAC/B;AAQO,SAASC,EAAUN,GAAGC,GAAG;AAC5B,MAAID,MAAMC;AACN,WAAO;AAEX,MAAI,CAACD,KAAK,CAACC;AACP,WAAO;AAEX,MAAI,MAAM,QAAQD,CAAC,GAAG;AAClB,QAAI,CAAC,MAAM,QAAQC,CAAC,KAAKD,EAAE,WAAWC,EAAE;AACpC,aAAO;AAEX,aAASM,IAAI,GAAGA,IAAIP,EAAE,QAAQO;AAC1B,UAAI,CAACD,EAAUN,EAAEO,CAAC,GAAGN,EAAEM,CAAC,CAAC;AACrB,eAAO;AAGf,WAAO;AAAA,EACX,WACS,MAAM,QAAQN,CAAC;AACpB,WAAO;AAEX,MAAI,OAAOD,KAAM,YAAY,OAAOC,KAAM,UAAU;AAChD,UAAMO,IAAQ,OAAO,KAAKR,CAAC,GACrBS,IAAQ,OAAO,KAAKR,CAAC;AAC3B,QAAIO,EAAM,WAAWC,EAAM;AACvB,aAAO;AAEX,eAAWC,KAAOF;AAId,UAHI,CAACP,EAAE,eAAeS,CAAG,KAGrB,CAACJ,EAAUN,EAAEU,CAAG,GAAGT,EAAES,CAAG,CAAC;AACzB,eAAO;AAGf,WAAO;AAAA,EACX;AACA,SAAO;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es241.js","sources":["../node_modules/underscore/modules/_group.js"],"sourcesContent":["import cb from './_cb.js';\nimport each from './each.js';\n\n// An internal function used for aggregate \"group by\" operations.\nexport default function group(behavior, partition) {\n return function(obj, iteratee, context) {\n var result = partition ? [[], []] : {};\n iteratee = cb(iteratee, context);\n each(obj, function(value, index) {\n var key = iteratee(value, index, obj);\n behavior(result, value, key);\n });\n return result;\n };\n}\n"],"names":["group","behavior","partition","obj","iteratee","context","result","cb","each","value","index","key"],"mappings":";;AAIA,SAAwBA,EAAMC,GAAUC,GAAW;AACjD,SAAO,SAASC,GAAKC,GAAUC,GAAS;AACtC,QAAIC,IAASJ,IAAY,CAAC,CAAA,GAAI,CAAA,CAAE,IAAI,CAAA;AACpC,WAAAE,IAAWG,EAAGH,GAAUC,CAAO,GAC/BG,EAAKL,GAAK,SAASM,GAAOC,GAAO;AAC/B,UAAIC,IAAMP,EAASK,GAAOC,GAAOP,CAAG;AACpC,MAAAF,EAASK,GAAQG,GAAOE,CAAG;AAAA,IAC7B,CAAC,GACML;AAAA,EACT;AACF;","x_google_ignoreList":[0]}
@@ -1,17 +1,7 @@
1
- function c(t, o) {
2
- if (t === o)
3
- return null;
4
- const f = r(t), i = r(o), n = [];
5
- for (const s of i)
6
- f.has(s) || n.push(s);
7
- for (const s of f)
8
- i.has(s) || n.push(s);
9
- return n.length === 0 ? null : n;
10
- }
11
- function r(t) {
12
- return new Set(t ? t.trim().split(/\s+/) : []);
1
+ function u(t, e, n) {
2
+ return e in n;
13
3
  }
14
4
  export {
15
- c as compareClassNames
5
+ u as default
16
6
  };
17
7
  //# sourceMappingURL=index.es242.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es242.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/compare-class-names.js"],"sourcesContent":["/** Compare two classNames string and return the difference */\nexport function compareClassNames(prevClassName, nextClassName) {\n if (prevClassName === nextClassName) {\n return null;\n }\n const prevClassList = getClassList(prevClassName);\n const nextClassList = getClassList(nextClassName);\n const diff = [];\n for (const c of nextClassList) {\n if (!prevClassList.has(c)) {\n diff.push(c);\n }\n }\n for (const c of prevClassList) {\n if (!nextClassList.has(c)) {\n diff.push(c);\n }\n }\n return diff.length === 0 ? null : diff;\n}\nfunction getClassList(className) {\n return new Set(className ? className.trim().split(/\\s+/) : []);\n}\n//# sourceMappingURL=compare-class-names.js.map"],"names":["compareClassNames","prevClassName","nextClassName","prevClassList","getClassList","nextClassList","diff","c","className"],"mappings":"AACO,SAASA,EAAkBC,GAAeC,GAAe;AAC5D,MAAID,MAAkBC;AAClB,WAAO;AAEX,QAAMC,IAAgBC,EAAaH,CAAa,GAC1CI,IAAgBD,EAAaF,CAAa,GAC1CI,IAAO,CAAA;AACb,aAAWC,KAAKF;AACZ,IAAKF,EAAc,IAAII,CAAC,KACpBD,EAAK,KAAKC,CAAC;AAGnB,aAAWA,KAAKJ;AACZ,IAAKE,EAAc,IAAIE,CAAC,KACpBD,EAAK,KAAKC,CAAC;AAGnB,SAAOD,EAAK,WAAW,IAAI,OAAOA;AACtC;AACA,SAASF,EAAaI,GAAW;AAC7B,SAAO,IAAI,IAAIA,IAAYA,EAAU,KAAA,EAAO,MAAM,KAAK,IAAI,EAAE;AACjE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es242.js","sources":["../node_modules/underscore/modules/_keyInObj.js"],"sourcesContent":["// Internal `_.pick` helper function to determine whether `key` is an enumerable\n// property name of `obj`.\nexport default function keyInObj(value, key, obj) {\n return key in obj;\n}\n"],"names":["keyInObj","value","key","obj"],"mappings":"AAEA,SAAwBA,EAASC,GAAOC,GAAKC,GAAK;AAChD,SAAOD,KAAOC;AAChB;","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
- function e(r, t) {
2
- if (!r)
3
- throw new Error(t);
1
+ import a from "./index.es41.js";
2
+ function r(t, n) {
3
+ return t._chain ? a(n).chain() : n;
4
4
  }
5
5
  export {
6
- e as default
6
+ r as default
7
7
  };
8
8
  //# sourceMappingURL=index.es243.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es243.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/assert.js"],"sourcesContent":["export default function assert(condition, message) {\n if (!condition) {\n throw new Error(message);\n }\n}\n//# sourceMappingURL=assert.js.map"],"names":["assert","condition","message"],"mappings":"AAAA,SAAwBA,EAAOC,GAAWC,GAAS;AAC/C,MAAI,CAACD;AACD,UAAM,IAAI,MAAMC,CAAO;AAE/B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es243.js","sources":["../node_modules/underscore/modules/_chainResult.js"],"sourcesContent":["import _ from './underscore.js';\n\n// Helper function to continue chaining intermediate results.\nexport default function chainResult(instance, obj) {\n return instance._chain ? _(obj).chain() : obj;\n}\n"],"names":["chainResult","instance","obj","_"],"mappings":";AAGA,SAAwBA,EAAYC,GAAUC,GAAK;AACjD,SAAOD,EAAS,SAASE,EAAED,CAAG,EAAE,UAAUA;AAC5C;","x_google_ignoreList":[0]}
@@ -1,6 +1,24 @@
1
- import t from "./index.es209.js";
2
- const a = t("Object");
1
+ import { deepEqual as a } from "./index.es214.js";
2
+ function g(i) {
3
+ return {
4
+ longitude: i.center.lng,
5
+ latitude: i.center.lat,
6
+ zoom: i.zoom,
7
+ pitch: i.pitch,
8
+ bearing: i.bearing,
9
+ padding: i.padding
10
+ };
11
+ }
12
+ function c(i, t) {
13
+ const n = t.viewState || t, e = {};
14
+ if ("longitude" in n && "latitude" in n && (n.longitude !== i.center.lng || n.latitude !== i.center.lat)) {
15
+ const o = i.center.constructor;
16
+ e.center = new o(n.longitude, n.latitude);
17
+ }
18
+ return "zoom" in n && n.zoom !== i.zoom && (e.zoom = n.zoom), "bearing" in n && n.bearing !== i.bearing && (e.bearing = n.bearing), "pitch" in n && n.pitch !== i.pitch && (e.pitch = n.pitch), n.padding && i.padding && !a(n.padding, i.padding) && (e.padding = n.padding), e;
19
+ }
3
20
  export {
4
- a as default
21
+ c as applyViewStateToTransform,
22
+ g as transformToViewState
5
23
  };
6
24
  //# sourceMappingURL=index.es246.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es246.js","sources":["../node_modules/underscore/modules/_hasObjectTag.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n"],"names":["hasObjectTag","tagTester"],"mappings":";AAEA,MAAAA,IAAeC,EAAU,QAAQ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es246.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/transform.js"],"sourcesContent":["import { deepEqual } from \"./deep-equal.js\";\n/**\n * Capture a transform's current state\n * @param transform\n * @returns descriptor of the view state\n */\nexport function transformToViewState(tr) {\n return {\n longitude: tr.center.lng,\n latitude: tr.center.lat,\n zoom: tr.zoom,\n pitch: tr.pitch,\n bearing: tr.bearing,\n padding: tr.padding\n };\n}\n/* eslint-disable complexity */\n/**\n * Applies requested view state to a transform\n * @returns an object containing detected changes\n */\nexport function applyViewStateToTransform(\n/** An object that describes Maplibre's camera state */\ntr, \n/** Props from Map component */\nprops) {\n const v = props.viewState || props;\n const changes = {};\n if ('longitude' in v &&\n 'latitude' in v &&\n (v.longitude !== tr.center.lng || v.latitude !== tr.center.lat)) {\n const LngLat = tr.center.constructor;\n // @ts-expect-error we should not import LngLat class from maplibre-gl because we don't know the source of mapLib\n changes.center = new LngLat(v.longitude, v.latitude);\n }\n if ('zoom' in v && v.zoom !== tr.zoom) {\n changes.zoom = v.zoom;\n }\n if ('bearing' in v && v.bearing !== tr.bearing) {\n changes.bearing = v.bearing;\n }\n if ('pitch' in v && v.pitch !== tr.pitch) {\n changes.pitch = v.pitch;\n }\n if (v.padding && tr.padding && !deepEqual(v.padding, tr.padding)) {\n changes.padding = v.padding;\n }\n return changes;\n}\n//# sourceMappingURL=transform.js.map"],"names":["transformToViewState","tr","applyViewStateToTransform","props","v","changes","LngLat","deepEqual"],"mappings":";AAMO,SAASA,EAAqBC,GAAI;AACrC,SAAO;AAAA,IACH,WAAWA,EAAG,OAAO;AAAA,IACrB,UAAUA,EAAG,OAAO;AAAA,IACpB,MAAMA,EAAG;AAAA,IACT,OAAOA,EAAG;AAAA,IACV,SAASA,EAAG;AAAA,IACZ,SAASA,EAAG;AAAA,EAAA;AAEpB;AAMO,SAASC,EAEhBD,GAEAE,GAAO;AACH,QAAMC,IAAID,EAAM,aAAaA,GACvBE,IAAU,CAAA;AAChB,MAAI,eAAeD,KACf,cAAcA,MACbA,EAAE,cAAcH,EAAG,OAAO,OAAOG,EAAE,aAAaH,EAAG,OAAO,MAAM;AACjE,UAAMK,IAASL,EAAG,OAAO;AAEzB,IAAAI,EAAQ,SAAS,IAAIC,EAAOF,EAAE,WAAWA,EAAE,QAAQ;AAAA,EACvD;AACA,SAAI,UAAUA,KAAKA,EAAE,SAASH,EAAG,SAC7BI,EAAQ,OAAOD,EAAE,OAEjB,aAAaA,KAAKA,EAAE,YAAYH,EAAG,YACnCI,EAAQ,UAAUD,EAAE,UAEpB,WAAWA,KAAKA,EAAE,UAAUH,EAAG,UAC/BI,EAAQ,QAAQD,EAAE,QAElBA,EAAE,WAAWH,EAAG,WAAW,CAACM,EAAUH,EAAE,SAASH,EAAG,OAAO,MAC3DI,EAAQ,UAAUD,EAAE,UAEjBC;AACX;","x_google_ignoreList":[0]}
@@ -1,9 +1,26 @@
1
- function t(r) {
2
- return function(n) {
3
- return n?.[r];
4
- };
1
+ const a = ["type", "source", "source-layer", "minzoom", "maxzoom", "filter", "layout"];
2
+ function c(r) {
3
+ if (!r)
4
+ return null;
5
+ if (typeof r == "string" || ("toJS" in r && (r = r.toJS()), !r.layers))
6
+ return r;
7
+ const t = {};
8
+ for (const e of r.layers)
9
+ t[e.id] = e;
10
+ const f = r.layers.map((e) => {
11
+ let n = null;
12
+ "interactive" in e && (n = Object.assign({}, e), delete n.interactive);
13
+ const o = t[e.ref];
14
+ if (o) {
15
+ n = n || Object.assign({}, e), delete n.ref;
16
+ for (const i of a)
17
+ i in o && (n[i] = o[i]);
18
+ }
19
+ return n || e;
20
+ });
21
+ return { ...r, layers: f };
5
22
  }
6
23
  export {
7
- t as default
24
+ c as normalizeStyle
8
25
  };
9
26
  //# sourceMappingURL=index.es247.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es247.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,WAA8BA,IAAID,CAAG;AAAA,EACvC;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es247.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/style-utils.js"],"sourcesContent":["const refProps = ['type', 'source', 'source-layer', 'minzoom', 'maxzoom', 'filter', 'layout'];\n// Prepare a map style object for diffing\n// If immutable - convert to plain object\n// Work around some issues in older styles that would fail Mapbox's diffing\nexport function normalizeStyle(style) {\n if (!style) {\n return null;\n }\n if (typeof style === 'string') {\n return style;\n }\n if ('toJS' in style) {\n style = style.toJS();\n }\n if (!style.layers) {\n return style;\n }\n const layerIndex = {};\n for (const layer of style.layers) {\n layerIndex[layer.id] = layer;\n }\n const layers = style.layers.map(layer => {\n let normalizedLayer = null;\n if ('interactive' in layer) {\n normalizedLayer = Object.assign({}, layer);\n // Breaks style diffing :(\n // @ts-ignore legacy field not typed\n delete normalizedLayer.interactive;\n }\n // Style diffing doesn't work with refs so expand them out manually before diffing.\n // @ts-ignore legacy field not typed\n const layerRef = layerIndex[layer.ref];\n if (layerRef) {\n normalizedLayer = normalizedLayer || Object.assign({}, layer);\n // @ts-ignore\n delete normalizedLayer.ref;\n // https://github.com/mapbox/mapbox-gl-js/blob/master/src/style-spec/deref.js\n for (const propName of refProps) {\n if (propName in layerRef) {\n normalizedLayer[propName] = layerRef[propName];\n }\n }\n }\n return normalizedLayer || layer;\n });\n // Do not mutate the style object provided by the user\n return { ...style, layers };\n}\n//# sourceMappingURL=style-utils.js.map"],"names":["refProps","normalizeStyle","style","layerIndex","layer","layers","normalizedLayer","layerRef","propName"],"mappings":"AAAA,MAAMA,IAAW,CAAC,QAAQ,UAAU,gBAAgB,WAAW,WAAW,UAAU,QAAQ;AAIrF,SAASC,EAAeC,GAAO;AAClC,MAAI,CAACA;AACD,WAAO;AAQX,MANI,OAAOA,KAAU,aAGjB,UAAUA,MACVA,IAAQA,EAAM,KAAA,IAEd,CAACA,EAAM;AACP,WAAOA;AAEX,QAAMC,IAAa,CAAA;AACnB,aAAWC,KAASF,EAAM;AACtB,IAAAC,EAAWC,EAAM,EAAE,IAAIA;AAE3B,QAAMC,IAASH,EAAM,OAAO,IAAI,CAAAE,MAAS;AACrC,QAAIE,IAAkB;AACtB,IAAI,iBAAiBF,MACjBE,IAAkB,OAAO,OAAO,CAAA,GAAIF,CAAK,GAGzC,OAAOE,EAAgB;AAI3B,UAAMC,IAAWJ,EAAWC,EAAM,GAAG;AACrC,QAAIG,GAAU;AACV,MAAAD,IAAkBA,KAAmB,OAAO,OAAO,CAAA,GAAIF,CAAK,GAE5D,OAAOE,EAAgB;AAEvB,iBAAWE,KAAYR;AACnB,QAAIQ,KAAYD,MACZD,EAAgBE,CAAQ,IAAID,EAASC,CAAQ;AAAA,IAGzD;AACA,WAAOF,KAAmBF;AAAA,EAC9B,CAAC;AAED,SAAO,EAAE,GAAGF,GAAO,QAAAG,EAAA;AACvB;","x_google_ignoreList":[0]}
@@ -1,11 +1,6 @@
1
- import { MAX_ARRAY_INDEX as o } from "./index.es37.js";
2
- function u(e) {
3
- return function(t) {
4
- var r = e(t);
5
- return typeof r == "number" && r >= 0 && r <= o;
6
- };
7
- }
1
+ import t from "./index.es217.js";
2
+ const a = t("Object");
8
3
  export {
9
- u as default
4
+ a as default
10
5
  };
11
6
  //# sourceMappingURL=index.es248.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es248.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;AAC1B,QAAIC,IAAeF,EAAgBC,CAAU;AAC7C,WAAO,OAAOC,KAAgB,YAAYA,KAAgB,KAAKA,KAAgBC;AAAA,EACjF;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es248.js","sources":["../node_modules/underscore/modules/_hasObjectTag.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n"],"names":["hasObjectTag","tagTester"],"mappings":";AAEA,MAAAA,IAAeC,EAAU,QAAQ;","x_google_ignoreList":[0]}
@@ -1,24 +1,9 @@
1
- import { deepEqual as a } from "./index.es241.js";
2
- function g(i) {
3
- return {
4
- longitude: i.center.lng,
5
- latitude: i.center.lat,
6
- zoom: i.zoom,
7
- pitch: i.pitch,
8
- bearing: i.bearing,
9
- padding: i.padding
1
+ function t(r) {
2
+ return function(n) {
3
+ return n?.[r];
10
4
  };
11
5
  }
12
- function c(i, t) {
13
- const n = t.viewState || t, e = {};
14
- if ("longitude" in n && "latitude" in n && (n.longitude !== i.center.lng || n.latitude !== i.center.lat)) {
15
- const o = i.center.constructor;
16
- e.center = new o(n.longitude, n.latitude);
17
- }
18
- return "zoom" in n && n.zoom !== i.zoom && (e.zoom = n.zoom), "bearing" in n && n.bearing !== i.bearing && (e.bearing = n.bearing), "pitch" in n && n.pitch !== i.pitch && (e.pitch = n.pitch), n.padding && i.padding && !a(n.padding, i.padding) && (e.padding = n.padding), e;
19
- }
20
6
  export {
21
- c as applyViewStateToTransform,
22
- g as transformToViewState
7
+ t as default
23
8
  };
24
9
  //# sourceMappingURL=index.es249.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es249.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/transform.js"],"sourcesContent":["import { deepEqual } from \"./deep-equal.js\";\n/**\n * Capture a transform's current state\n * @param transform\n * @returns descriptor of the view state\n */\nexport function transformToViewState(tr) {\n return {\n longitude: tr.center.lng,\n latitude: tr.center.lat,\n zoom: tr.zoom,\n pitch: tr.pitch,\n bearing: tr.bearing,\n padding: tr.padding\n };\n}\n/* eslint-disable complexity */\n/**\n * Applies requested view state to a transform\n * @returns an object containing detected changes\n */\nexport function applyViewStateToTransform(\n/** An object that describes Maplibre's camera state */\ntr, \n/** Props from Map component */\nprops) {\n const v = props.viewState || props;\n const changes = {};\n if ('longitude' in v &&\n 'latitude' in v &&\n (v.longitude !== tr.center.lng || v.latitude !== tr.center.lat)) {\n const LngLat = tr.center.constructor;\n // @ts-expect-error we should not import LngLat class from maplibre-gl because we don't know the source of mapLib\n changes.center = new LngLat(v.longitude, v.latitude);\n }\n if ('zoom' in v && v.zoom !== tr.zoom) {\n changes.zoom = v.zoom;\n }\n if ('bearing' in v && v.bearing !== tr.bearing) {\n changes.bearing = v.bearing;\n }\n if ('pitch' in v && v.pitch !== tr.pitch) {\n changes.pitch = v.pitch;\n }\n if (v.padding && tr.padding && !deepEqual(v.padding, tr.padding)) {\n changes.padding = v.padding;\n }\n return changes;\n}\n//# sourceMappingURL=transform.js.map"],"names":["transformToViewState","tr","applyViewStateToTransform","props","v","changes","LngLat","deepEqual"],"mappings":";AAMO,SAASA,EAAqBC,GAAI;AACrC,SAAO;AAAA,IACH,WAAWA,EAAG,OAAO;AAAA,IACrB,UAAUA,EAAG,OAAO;AAAA,IACpB,MAAMA,EAAG;AAAA,IACT,OAAOA,EAAG;AAAA,IACV,SAASA,EAAG;AAAA,IACZ,SAASA,EAAG;AAAA,EAAA;AAEpB;AAMO,SAASC,EAEhBD,GAEAE,GAAO;AACH,QAAMC,IAAID,EAAM,aAAaA,GACvBE,IAAU,CAAA;AAChB,MAAI,eAAeD,KACf,cAAcA,MACbA,EAAE,cAAcH,EAAG,OAAO,OAAOG,EAAE,aAAaH,EAAG,OAAO,MAAM;AACjE,UAAMK,IAASL,EAAG,OAAO;AAEzB,IAAAI,EAAQ,SAAS,IAAIC,EAAOF,EAAE,WAAWA,EAAE,QAAQ;AAAA,EACvD;AACA,SAAI,UAAUA,KAAKA,EAAE,SAASH,EAAG,SAC7BI,EAAQ,OAAOD,EAAE,OAEjB,aAAaA,KAAKA,EAAE,YAAYH,EAAG,YACnCI,EAAQ,UAAUD,EAAE,UAEpB,WAAWA,KAAKA,EAAE,UAAUH,EAAG,UAC/BI,EAAQ,QAAQD,EAAE,QAElBA,EAAE,WAAWH,EAAG,WAAW,CAACM,EAAUH,EAAE,SAASH,EAAG,OAAO,MAC3DI,EAAQ,UAAUD,EAAE,UAEjBC;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es249.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,WAA8BA,IAAID,CAAG;AAAA,EACvC;AACF;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  import { memo as e, useEffect as l } from "react";
2
- import { applyReactStyle as r } from "./index.es240.js";
2
+ import { applyReactStyle as r } from "./index.es213.js";
3
3
  import { useControl as i } from "./index.es30.js";
4
4
  function m(o) {
5
5
  const t = i(({ mapLib: n }) => new n.LogoControl(o), { position: o.position });
@@ -1,26 +1,11 @@
1
- const a = ["type", "source", "source-layer", "minzoom", "maxzoom", "filter", "layout"];
2
- function c(r) {
3
- if (!r)
4
- return null;
5
- if (typeof r == "string" || ("toJS" in r && (r = r.toJS()), !r.layers))
6
- return r;
7
- const t = {};
8
- for (const e of r.layers)
9
- t[e.id] = e;
10
- const f = r.layers.map((e) => {
11
- let n = null;
12
- "interactive" in e && (n = Object.assign({}, e), delete n.interactive);
13
- const o = t[e.ref];
14
- if (o) {
15
- n = n || Object.assign({}, e), delete n.ref;
16
- for (const i of a)
17
- i in o && (n[i] = o[i]);
18
- }
19
- return n || e;
20
- });
21
- return { ...r, layers: f };
1
+ import { MAX_ARRAY_INDEX as o } from "./index.es37.js";
2
+ function u(e) {
3
+ return function(t) {
4
+ var r = e(t);
5
+ return typeof r == "number" && r >= 0 && r <= o;
6
+ };
22
7
  }
23
8
  export {
24
- c as normalizeStyle
9
+ u as default
25
10
  };
26
11
  //# sourceMappingURL=index.es250.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es250.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/style-utils.js"],"sourcesContent":["const refProps = ['type', 'source', 'source-layer', 'minzoom', 'maxzoom', 'filter', 'layout'];\n// Prepare a map style object for diffing\n// If immutable - convert to plain object\n// Work around some issues in older styles that would fail Mapbox's diffing\nexport function normalizeStyle(style) {\n if (!style) {\n return null;\n }\n if (typeof style === 'string') {\n return style;\n }\n if ('toJS' in style) {\n style = style.toJS();\n }\n if (!style.layers) {\n return style;\n }\n const layerIndex = {};\n for (const layer of style.layers) {\n layerIndex[layer.id] = layer;\n }\n const layers = style.layers.map(layer => {\n let normalizedLayer = null;\n if ('interactive' in layer) {\n normalizedLayer = Object.assign({}, layer);\n // Breaks style diffing :(\n // @ts-ignore legacy field not typed\n delete normalizedLayer.interactive;\n }\n // Style diffing doesn't work with refs so expand them out manually before diffing.\n // @ts-ignore legacy field not typed\n const layerRef = layerIndex[layer.ref];\n if (layerRef) {\n normalizedLayer = normalizedLayer || Object.assign({}, layer);\n // @ts-ignore\n delete normalizedLayer.ref;\n // https://github.com/mapbox/mapbox-gl-js/blob/master/src/style-spec/deref.js\n for (const propName of refProps) {\n if (propName in layerRef) {\n normalizedLayer[propName] = layerRef[propName];\n }\n }\n }\n return normalizedLayer || layer;\n });\n // Do not mutate the style object provided by the user\n return { ...style, layers };\n}\n//# sourceMappingURL=style-utils.js.map"],"names":["refProps","normalizeStyle","style","layerIndex","layer","layers","normalizedLayer","layerRef","propName"],"mappings":"AAAA,MAAMA,IAAW,CAAC,QAAQ,UAAU,gBAAgB,WAAW,WAAW,UAAU,QAAQ;AAIrF,SAASC,EAAeC,GAAO;AAClC,MAAI,CAACA;AACD,WAAO;AAQX,MANI,OAAOA,KAAU,aAGjB,UAAUA,MACVA,IAAQA,EAAM,KAAA,IAEd,CAACA,EAAM;AACP,WAAOA;AAEX,QAAMC,IAAa,CAAA;AACnB,aAAWC,KAASF,EAAM;AACtB,IAAAC,EAAWC,EAAM,EAAE,IAAIA;AAE3B,QAAMC,IAASH,EAAM,OAAO,IAAI,CAAAE,MAAS;AACrC,QAAIE,IAAkB;AACtB,IAAI,iBAAiBF,MACjBE,IAAkB,OAAO,OAAO,CAAA,GAAIF,CAAK,GAGzC,OAAOE,EAAgB;AAI3B,UAAMC,IAAWJ,EAAWC,EAAM,GAAG;AACrC,QAAIG,GAAU;AACV,MAAAD,IAAkBA,KAAmB,OAAO,OAAO,CAAA,GAAIF,CAAK,GAE5D,OAAOE,EAAgB;AAEvB,iBAAWE,KAAYR;AACnB,QAAIQ,KAAYD,MACZD,EAAgBE,CAAQ,IAAID,EAASC,CAAQ;AAAA,IAGzD;AACA,WAAOF,KAAmBF;AAAA,EAC9B,CAAC;AAED,SAAO,EAAE,GAAGF,GAAO,QAAAG,EAAA;AACvB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es250.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;AAC1B,QAAIC,IAAeF,EAAgBC,CAAU;AAC7C,WAAO,OAAOC,KAAgB,YAAYA,KAAgB,KAAKA,KAAgBC;AAAA,EACjF;AACF;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import a from "./index.es270.js";
1
+ import a from "./index.es271.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
  }
@@ -1,8 +1,8 @@
1
1
  import * as d from "react";
2
2
  import { useContext as s, useRef as f, useState as y, useMemo as m, useEffect as g, cloneElement as S } from "react";
3
3
  import { MapContext as h } from "./index.es16.js";
4
- import u from "./index.es243.js";
5
- import { deepEqual as C } from "./index.es241.js";
4
+ import u from "./index.es216.js";
5
+ import { deepEqual as C } from "./index.es214.js";
6
6
  let b = 0;
7
7
  function k(t, e, a) {
8
8
  if (t.style && t.style._loaded) {
@@ -1,4 +1,4 @@
1
- import L from "./index.es271.js";
1
+ import L from "./index.es272.js";
2
2
  import { pi as f, halfPi as A, abs as N, epsilon as l, atan as P, sin as v, cos as S } from "./index.es254.js";
3
3
  const j = L(
4
4
  function() {
@@ -1,8 +1,8 @@
1
1
  import { cartesian as Q, cartesianCross as T, cartesianDot as R, cartesianScale as g, cartesianAddInPlace as y, spherical as U } from "./index.es253.js";
2
2
  import { circleStream as $ } from "./index.es252.js";
3
3
  import { pi as v, cos as F, epsilon as x, abs as G, sqrt as b } from "./index.es254.js";
4
- import J from "./index.es270.js";
5
- import m from "./index.es271.js";
4
+ import J from "./index.es271.js";
5
+ import m from "./index.es272.js";
6
6
  function fn(S, V) {
7
7
  var A = F(S), C = A > 0, W = G(A) > x;
8
8
  function X(n, i, o, e) {
@@ -1,5 +1,5 @@
1
1
  import c from "./index.es268.js";
2
- import n from "./index.es272.js";
2
+ import n from "./index.es270.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,7 +1,7 @@
1
1
  import { useContext as m, useRef as L, useState as g, useMemo as x, useEffect as h } from "react";
2
2
  import { MapContext as b } from "./index.es16.js";
3
- import d from "./index.es243.js";
4
- import { deepEqual as l } from "./index.es241.js";
3
+ import d from "./index.es216.js";
4
+ import { deepEqual as l } from "./index.es214.js";
5
5
  function k(t, e, a, o) {
6
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
7
  return;
@@ -1,8 +1,19 @@
1
- import { abs as n, epsilon as r } from "./index.es254.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.es269.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.es270.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es270.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.es270.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;AACjB,QAAIC,IAAS,CAAC,CAACP,GAAIC,CAAE,GAAG,CAACC,GAAIC,CAAE,CAAC;AAChC,WAAAD,IAAKC,IAAK,EAAEF,IAAKD,IAAK,QACfO;AAAA,EACT;AACF;AAEA,SAASF,EAAYG,GAAGC,GAAG;AACzB,EAAID,IAAIR,MAAIA,IAAKQ,IACbA,IAAIN,MAAIA,IAAKM,IACbC,IAAIR,MAAIA,IAAKQ,IACbA,IAAIN,MAAIA,IAAKM;AACnB;","x_google_ignoreList":[0]}
@@ -1,73 +1,8 @@
1
- import A from "./index.es256.js";
2
- import D from "./index.es258.js";
3
- import { halfPi as S, epsilon as R } from "./index.es254.js";
4
- import F from "./index.es201.js";
5
- import "./index.es200.js";
6
- import G from "./index.es259.js";
7
- function T(e, p, m, v) {
8
- return function(g, n) {
9
- var d = p(n), j = g.invert(v[0], v[1]), h = A(), c = p(h), l = !1, a, f, u, r = {
10
- point: y,
11
- lineStart: x,
12
- lineEnd: s,
13
- polygonStart: function() {
14
- r.point = B, r.lineStart = w, r.lineEnd = z, f = [], a = [];
15
- },
16
- polygonEnd: function() {
17
- r.point = y, r.lineStart = x, r.lineEnd = s, f = G(f);
18
- var o = F(a, j);
19
- f.length ? (l || (n.polygonStart(), l = !0), D(f, J, o, m, n)) : o && (l || (n.polygonStart(), l = !0), n.lineStart(), m(null, null, 1, n), n.lineEnd()), l && (n.polygonEnd(), l = !1), f = a = null;
20
- },
21
- sphere: function() {
22
- n.polygonStart(), n.lineStart(), m(null, null, 1, n), n.lineEnd(), n.polygonEnd();
23
- }
24
- };
25
- function y(o, t) {
26
- var i = g(o, t);
27
- e(o = i[0], t = i[1]) && n.point(o, t);
28
- }
29
- function q(o, t) {
30
- var i = g(o, t);
31
- d.point(i[0], i[1]);
32
- }
33
- function x() {
34
- r.point = q, d.lineStart();
35
- }
36
- function s() {
37
- r.point = y, d.lineEnd();
38
- }
39
- function B(o, t) {
40
- u.push([o, t]);
41
- var i = g(o, t);
42
- c.point(i[0], i[1]);
43
- }
44
- function w() {
45
- c.lineStart(), u = [];
46
- }
47
- function z() {
48
- B(u[0][0], u[0][1]), c.lineEnd();
49
- var o = c.clean(), t = h.result(), i, I = t.length, P, E, C;
50
- if (u.pop(), a.push(u), u = null, !!I) {
51
- if (o & 1) {
52
- if (E = t[0], (P = E.length - 1) > 0) {
53
- for (l || (n.polygonStart(), l = !0), n.lineStart(), i = 0; i < P; ++i) n.point((C = E[i])[0], C[1]);
54
- n.lineEnd();
55
- }
56
- return;
57
- }
58
- I > 1 && o & 2 && t.push(t.pop().concat(t.shift())), f.push(t.filter(H));
59
- }
60
- }
61
- return r;
62
- };
63
- }
64
- function H(e) {
65
- return e.length > 1;
66
- }
67
- function J(e, p) {
68
- return ((e = e.x)[0] < 0 ? e[1] - S - R : S - e[1]) - ((p = p.x)[0] < 0 ? p[1] - S - R : S - p[1]);
1
+ import { abs as n, epsilon as r } from "./index.es254.js";
2
+ function i(o, t) {
3
+ return n(o[0] - t[0]) < r && n(o[1] - t[1]) < r;
69
4
  }
70
5
  export {
71
- T as default
6
+ i as default
72
7
  };
73
8
  //# sourceMappingURL=index.es271.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es271.js","sources":["../../../node_modules/d3-geo/src/clip/index.js"],"sourcesContent":["import clipBuffer from \"./buffer\";\nimport clipPolygon from \"./polygon\";\nimport {epsilon, halfPi} from \"../math\";\nimport polygonContains from \"../polygonContains\";\nimport {merge} from \"d3-array\";\n\nexport default function(pointVisible, clipLine, interpolate, start) {\n return function(rotate, sink) {\n var line = clipLine(sink),\n rotatedStart = rotate.invert(start[0], start[1]),\n ringBuffer = clipBuffer(),\n ringSink = clipLine(ringBuffer),\n polygonStarted = false,\n polygon,\n segments,\n ring;\n\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function() {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = merge(segments);\n var startInside = polygonContains(polygon, rotatedStart);\n if (segments.length) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n clipPolygon(segments, compareIntersection, startInside, interpolate, sink);\n } else if (startInside) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted) sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function() {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n\n function point(lambda, phi) {\n var point = rotate(lambda, phi);\n if (pointVisible(lambda = point[0], phi = point[1])) sink.point(lambda, phi);\n }\n\n function pointLine(lambda, phi) {\n var point = rotate(lambda, phi);\n line.point(point[0], point[1]);\n }\n\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n var point = rotate(lambda, phi);\n ringSink.point(point[0], point[1]);\n }\n\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n\n var clean = ringSink.clean(),\n ringSegments = ringBuffer.result(),\n i, n = ringSegments.length, m,\n segment,\n point;\n\n ring.pop();\n polygon.push(ring);\n ring = null;\n\n if (!n) return;\n\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n\n segments.push(ringSegments.filter(validSegment));\n }\n\n return clip;\n };\n}\n\nfunction validSegment(segment) {\n return segment.length > 1;\n}\n\n// Intersections are sorted along the clip edge. For both antimeridian cutting\n// and circle clipping, the same comparison is used.\nfunction compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n}\n"],"names":["clip","pointVisible","clipLine","interpolate","start","rotate","sink","line","rotatedStart","ringBuffer","clipBuffer","ringSink","polygonStarted","polygon","segments","ring","point","lineStart","lineEnd","pointRing","ringStart","ringEnd","merge","startInside","polygonContains","clipPolygon","compareIntersection","lambda","phi","pointLine","clean","ringSegments","n","m","segment","validSegment","a","b","halfPi","epsilon"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es271.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,19 +1,73 @@
1
- import r from "./index.es269.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 A from "./index.es256.js";
2
+ import D from "./index.es258.js";
3
+ import { halfPi as S, epsilon as R } from "./index.es254.js";
4
+ import F from "./index.es201.js";
5
+ import "./index.es200.js";
6
+ import G from "./index.es259.js";
7
+ function T(e, p, m, v) {
8
+ return function(g, n) {
9
+ var d = p(n), j = g.invert(v[0], v[1]), h = A(), c = p(h), l = !1, a, f, u, r = {
10
+ point: y,
11
+ lineStart: x,
12
+ lineEnd: s,
13
+ polygonStart: function() {
14
+ r.point = B, r.lineStart = w, r.lineEnd = z, f = [], a = [];
15
+ },
16
+ polygonEnd: function() {
17
+ r.point = y, r.lineStart = x, r.lineEnd = s, f = G(f);
18
+ var o = F(a, j);
19
+ f.length ? (l || (n.polygonStart(), l = !0), D(f, J, o, m, n)) : o && (l || (n.polygonStart(), l = !0), n.lineStart(), m(null, null, 1, n), n.lineEnd()), l && (n.polygonEnd(), l = !1), f = a = null;
20
+ },
21
+ sphere: function() {
22
+ n.polygonStart(), n.lineStart(), m(null, null, 1, n), n.lineEnd(), n.polygonEnd();
23
+ }
24
+ };
25
+ function y(o, t) {
26
+ var i = g(o, t);
27
+ e(o = i[0], t = i[1]) && n.point(o, t);
28
+ }
29
+ function q(o, t) {
30
+ var i = g(o, t);
31
+ d.point(i[0], i[1]);
32
+ }
33
+ function x() {
34
+ r.point = q, d.lineStart();
35
+ }
36
+ function s() {
37
+ r.point = y, d.lineEnd();
38
+ }
39
+ function B(o, t) {
40
+ u.push([o, t]);
41
+ var i = g(o, t);
42
+ c.point(i[0], i[1]);
43
+ }
44
+ function w() {
45
+ c.lineStart(), u = [];
46
+ }
47
+ function z() {
48
+ B(u[0][0], u[0][1]), c.lineEnd();
49
+ var o = c.clean(), t = h.result(), i, I = t.length, P, E, C;
50
+ if (u.pop(), a.push(u), u = null, !!I) {
51
+ if (o & 1) {
52
+ if (E = t[0], (P = E.length - 1) > 0) {
53
+ for (l || (n.polygonStart(), l = !0), n.lineStart(), i = 0; i < P; ++i) n.point((C = E[i])[0], C[1]);
54
+ n.lineEnd();
55
+ }
56
+ return;
57
+ }
58
+ I > 1 && o & 2 && t.push(t.pop().concat(t.shift())), f.push(t.filter(H));
59
+ }
60
+ }
61
+ return r;
62
+ };
63
+ }
64
+ function H(e) {
65
+ return e.length > 1;
66
+ }
67
+ function J(e, p) {
68
+ return ((e = e.x)[0] < 0 ? e[1] - S - R : S - e[1]) - ((p = p.x)[0] < 0 ? p[1] - S - R : S - p[1]);
15
69
  }
16
70
  export {
17
- d as default
71
+ T as default
18
72
  };
19
73
  //# sourceMappingURL=index.es272.js.map