@performant-software/geospatial 3.1.5 → 3.1.6

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 (449) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs103.js +1 -1
  3. package/dist/index.cjs104.js +1 -1
  4. package/dist/index.cjs106.js +1 -1
  5. package/dist/index.cjs107.js +1 -1
  6. package/dist/index.cjs108.js +1 -1
  7. package/dist/index.cjs109.js +1 -1
  8. package/dist/index.cjs114.js +1 -1
  9. package/dist/index.cjs115.js +1 -1
  10. package/dist/index.cjs116.js +1 -1
  11. package/dist/index.cjs117.js +1 -1
  12. package/dist/index.cjs120.js +1 -1
  13. package/dist/index.cjs121.js +1 -1
  14. package/dist/index.cjs122.js +1 -1
  15. package/dist/index.cjs126.js +1 -1
  16. package/dist/index.cjs129.js +1 -1
  17. package/dist/index.cjs133.js +1 -1
  18. package/dist/index.cjs136.js +1 -1
  19. package/dist/index.cjs14.js +1 -1
  20. package/dist/index.cjs144.js +1 -1
  21. package/dist/index.cjs145.js +1 -1
  22. package/dist/index.cjs146.js +1 -1
  23. package/dist/index.cjs147.js +1 -1
  24. package/dist/index.cjs148.js +1 -1
  25. package/dist/index.cjs149.js +1 -1
  26. package/dist/index.cjs150.js +1 -1
  27. package/dist/index.cjs152.js +1 -1
  28. package/dist/index.cjs153.js +1 -1
  29. package/dist/index.cjs154.js +1 -1
  30. package/dist/index.cjs155.js +1 -1
  31. package/dist/index.cjs156.js +1 -1
  32. package/dist/index.cjs157.js +1 -1
  33. package/dist/index.cjs158.js +1 -1
  34. package/dist/index.cjs159.js +1 -1
  35. package/dist/index.cjs160.js +1 -1
  36. package/dist/index.cjs163.js +1 -1
  37. package/dist/index.cjs164.js +1 -1
  38. package/dist/index.cjs166.js +1 -1
  39. package/dist/index.cjs167.js +1 -1
  40. package/dist/index.cjs168.js +1 -1
  41. package/dist/index.cjs169.js +1 -1
  42. package/dist/index.cjs170.js +1 -1
  43. package/dist/index.cjs171.js +1 -1
  44. package/dist/index.cjs172.js +1 -1
  45. package/dist/index.cjs173.js +1 -1
  46. package/dist/index.cjs179.js +1 -1
  47. package/dist/index.cjs180.js +1 -1
  48. package/dist/index.cjs181.js +1 -1
  49. package/dist/index.cjs182.js +1 -1
  50. package/dist/index.cjs183.js +1 -1
  51. package/dist/index.cjs188.js +1 -1
  52. package/dist/index.cjs189.js +1 -1
  53. package/dist/index.cjs190.js +1 -1
  54. package/dist/index.cjs191.js +1 -1
  55. package/dist/index.cjs193.js +1 -1
  56. package/dist/index.cjs194.js +1 -1
  57. package/dist/index.cjs195.js +1 -1
  58. package/dist/index.cjs196.js +1 -1
  59. package/dist/index.cjs198.js +1 -1
  60. package/dist/index.cjs199.js +1 -1
  61. package/dist/index.cjs201.js +1 -1
  62. package/dist/index.cjs209.js +1 -7
  63. package/dist/index.cjs209.js.map +1 -1
  64. package/dist/index.cjs210.js +1 -1
  65. package/dist/index.cjs210.js.map +1 -1
  66. package/dist/index.cjs211.js +1 -1
  67. package/dist/index.cjs211.js.map +1 -1
  68. package/dist/index.cjs212.js +1 -1
  69. package/dist/index.cjs212.js.map +1 -1
  70. package/dist/index.cjs213.js +1 -1
  71. package/dist/index.cjs213.js.map +1 -1
  72. package/dist/index.cjs214.js +1 -1
  73. package/dist/index.cjs214.js.map +1 -1
  74. package/dist/index.cjs215.js +1 -1
  75. package/dist/index.cjs215.js.map +1 -1
  76. package/dist/index.cjs216.js +1 -1
  77. package/dist/index.cjs216.js.map +1 -1
  78. package/dist/index.cjs217.js +1 -1
  79. package/dist/index.cjs217.js.map +1 -1
  80. package/dist/index.cjs218.js +1 -1
  81. package/dist/index.cjs218.js.map +1 -1
  82. package/dist/index.cjs219.js +1 -1
  83. package/dist/index.cjs219.js.map +1 -1
  84. package/dist/index.cjs220.js +1 -1
  85. package/dist/index.cjs220.js.map +1 -1
  86. package/dist/index.cjs221.js +1 -1
  87. package/dist/index.cjs221.js.map +1 -1
  88. package/dist/index.cjs222.js +1 -1
  89. package/dist/index.cjs222.js.map +1 -1
  90. package/dist/index.cjs223.js +1 -1
  91. package/dist/index.cjs223.js.map +1 -1
  92. package/dist/index.cjs224.js +1 -1
  93. package/dist/index.cjs224.js.map +1 -1
  94. package/dist/index.cjs225.js +1 -1
  95. package/dist/index.cjs225.js.map +1 -1
  96. package/dist/index.cjs226.js +1 -1
  97. package/dist/index.cjs226.js.map +1 -1
  98. package/dist/index.cjs227.js +1 -1
  99. package/dist/index.cjs227.js.map +1 -1
  100. package/dist/index.cjs228.js +1 -1
  101. package/dist/index.cjs228.js.map +1 -1
  102. package/dist/index.cjs229.js +1 -1
  103. package/dist/index.cjs229.js.map +1 -1
  104. package/dist/index.cjs230.js +1 -1
  105. package/dist/index.cjs230.js.map +1 -1
  106. package/dist/index.cjs231.js +1 -1
  107. package/dist/index.cjs231.js.map +1 -1
  108. package/dist/index.cjs232.js +1 -1
  109. package/dist/index.cjs232.js.map +1 -1
  110. package/dist/index.cjs233.js +1 -1
  111. package/dist/index.cjs233.js.map +1 -1
  112. package/dist/index.cjs234.js +1 -1
  113. package/dist/index.cjs234.js.map +1 -1
  114. package/dist/index.cjs235.js +1 -1
  115. package/dist/index.cjs235.js.map +1 -1
  116. package/dist/index.cjs236.js +7 -1
  117. package/dist/index.cjs236.js.map +1 -1
  118. package/dist/index.cjs237.js +1 -1
  119. package/dist/index.cjs237.js.map +1 -1
  120. package/dist/index.cjs238.js +1 -1
  121. package/dist/index.cjs238.js.map +1 -1
  122. package/dist/index.cjs239.js +1 -1
  123. package/dist/index.cjs239.js.map +1 -1
  124. package/dist/index.cjs240.js +1 -1
  125. package/dist/index.cjs240.js.map +1 -1
  126. package/dist/index.cjs241.js +1 -1
  127. package/dist/index.cjs241.js.map +1 -1
  128. package/dist/index.cjs242.js +1 -1
  129. package/dist/index.cjs242.js.map +1 -1
  130. package/dist/index.cjs243.js +1 -1
  131. package/dist/index.cjs243.js.map +1 -1
  132. package/dist/index.cjs244.js +1 -1
  133. package/dist/index.cjs244.js.map +1 -1
  134. package/dist/index.cjs245.js +1 -1
  135. package/dist/index.cjs245.js.map +1 -1
  136. package/dist/index.cjs246.js +1 -1
  137. package/dist/index.cjs246.js.map +1 -1
  138. package/dist/index.cjs247.js +1 -1
  139. package/dist/index.cjs247.js.map +1 -1
  140. package/dist/index.cjs248.js +1 -1
  141. package/dist/index.cjs248.js.map +1 -1
  142. package/dist/index.cjs249.js +1 -1
  143. package/dist/index.cjs249.js.map +1 -1
  144. package/dist/index.cjs250.js +1 -1
  145. package/dist/index.cjs250.js.map +1 -1
  146. package/dist/index.cjs251.js +1 -1
  147. package/dist/index.cjs251.js.map +1 -1
  148. package/dist/index.cjs252.js +1 -1
  149. package/dist/index.cjs252.js.map +1 -1
  150. package/dist/index.cjs253.js +1 -1
  151. package/dist/index.cjs253.js.map +1 -1
  152. package/dist/index.cjs254.js +1 -1
  153. package/dist/index.cjs254.js.map +1 -1
  154. package/dist/index.cjs255.js +1 -1
  155. package/dist/index.cjs255.js.map +1 -1
  156. package/dist/index.cjs256.js +1 -1
  157. package/dist/index.cjs256.js.map +1 -1
  158. package/dist/index.cjs257.js +1 -1
  159. package/dist/index.cjs257.js.map +1 -1
  160. package/dist/index.cjs258.js +1 -1
  161. package/dist/index.cjs258.js.map +1 -1
  162. package/dist/index.cjs259.js +1 -1
  163. package/dist/index.cjs259.js.map +1 -1
  164. package/dist/index.cjs260.js +1 -1
  165. package/dist/index.cjs260.js.map +1 -1
  166. package/dist/index.cjs262.js +1 -1
  167. package/dist/index.cjs262.js.map +1 -1
  168. package/dist/index.cjs263.js +1 -1
  169. package/dist/index.cjs263.js.map +1 -1
  170. package/dist/index.cjs264.js +1 -1
  171. package/dist/index.cjs264.js.map +1 -1
  172. package/dist/index.cjs27.js +1 -1
  173. package/dist/index.cjs31.js +1 -1
  174. package/dist/index.cjs33.js +1 -1
  175. package/dist/index.cjs34.js +1 -1
  176. package/dist/index.cjs37.js +1 -1
  177. package/dist/index.cjs38.js +1 -1
  178. package/dist/index.cjs39.js +1 -1
  179. package/dist/index.cjs41.js +1 -1
  180. package/dist/index.cjs42.js +1 -1
  181. package/dist/index.cjs43.js +1 -1
  182. package/dist/index.cjs45.js +1 -1
  183. package/dist/index.cjs46.js +1 -1
  184. package/dist/index.cjs47.js +1 -1
  185. package/dist/index.cjs49.js +1 -1
  186. package/dist/index.cjs50.js +1 -1
  187. package/dist/index.cjs51.js +1 -1
  188. package/dist/index.cjs55.js +1 -1
  189. package/dist/index.cjs56.js +1 -1
  190. package/dist/index.cjs57.js +1 -1
  191. package/dist/index.cjs59.js +1 -1
  192. package/dist/index.cjs60.js +1 -1
  193. package/dist/index.cjs62.js +1 -1
  194. package/dist/index.cjs71.js +1 -1
  195. package/dist/index.cjs71.js.map +1 -1
  196. package/dist/index.cjs72.js +1 -1
  197. package/dist/index.cjs73.js +9 -1
  198. package/dist/index.cjs73.js.map +1 -1
  199. package/dist/index.cjs74.js +17 -1
  200. package/dist/index.cjs74.js.map +1 -1
  201. package/dist/index.cjs75.js +1 -1
  202. package/dist/index.cjs75.js.map +1 -1
  203. package/dist/index.cjs76.js +1 -9
  204. package/dist/index.cjs76.js.map +1 -1
  205. package/dist/index.cjs77.js +1 -17
  206. package/dist/index.cjs77.js.map +1 -1
  207. package/dist/index.cjs78.js +1 -743
  208. package/dist/index.cjs78.js.map +1 -1
  209. package/dist/index.cjs79.js +1 -1
  210. package/dist/index.cjs79.js.map +1 -1
  211. package/dist/index.cjs80.js +743 -1
  212. package/dist/index.cjs80.js.map +1 -1
  213. package/dist/index.cjs81.js +1 -1
  214. package/dist/index.cjs81.js.map +1 -1
  215. package/dist/index.cjs85.js +1 -1
  216. package/dist/index.cjs92.js +1 -1
  217. package/dist/index.cjs93.js +1 -1
  218. package/dist/index.cjs94.js +1 -1
  219. package/dist/index.cjs95.js +1 -1
  220. package/dist/index.cjs96.js +1 -1
  221. package/dist/index.cjs97.js +1 -1
  222. package/dist/index.cjs98.js +1 -1
  223. package/dist/index.cjs99.js +1 -1
  224. package/dist/index.es100.js +1 -1
  225. package/dist/index.es103.js +1 -1
  226. package/dist/index.es104.js +1 -1
  227. package/dist/index.es106.js +3 -3
  228. package/dist/index.es107.js +1 -1
  229. package/dist/index.es108.js +2 -2
  230. package/dist/index.es109.js +1 -1
  231. package/dist/index.es114.js +1 -1
  232. package/dist/index.es115.js +1 -1
  233. package/dist/index.es116.js +1 -1
  234. package/dist/index.es117.js +1 -1
  235. package/dist/index.es120.js +2 -2
  236. package/dist/index.es121.js +2 -2
  237. package/dist/index.es122.js +1 -1
  238. package/dist/index.es126.js +2 -2
  239. package/dist/index.es129.js +1 -1
  240. package/dist/index.es133.js +1 -1
  241. package/dist/index.es136.js +1 -1
  242. package/dist/index.es14.js +2 -2
  243. package/dist/index.es144.js +1 -1
  244. package/dist/index.es145.js +1 -1
  245. package/dist/index.es146.js +1 -1
  246. package/dist/index.es147.js +2 -2
  247. package/dist/index.es148.js +1 -1
  248. package/dist/index.es149.js +1 -1
  249. package/dist/index.es150.js +1 -1
  250. package/dist/index.es152.js +2 -2
  251. package/dist/index.es153.js +2 -2
  252. package/dist/index.es154.js +1 -1
  253. package/dist/index.es155.js +1 -1
  254. package/dist/index.es156.js +1 -1
  255. package/dist/index.es157.js +1 -1
  256. package/dist/index.es158.js +2 -2
  257. package/dist/index.es159.js +2 -2
  258. package/dist/index.es160.js +1 -1
  259. package/dist/index.es163.js +2 -2
  260. package/dist/index.es164.js +2 -2
  261. package/dist/index.es166.js +2 -2
  262. package/dist/index.es167.js +1 -1
  263. package/dist/index.es168.js +2 -2
  264. package/dist/index.es169.js +1 -1
  265. package/dist/index.es170.js +2 -2
  266. package/dist/index.es171.js +1 -1
  267. package/dist/index.es172.js +1 -1
  268. package/dist/index.es173.js +1 -1
  269. package/dist/index.es179.js +1 -1
  270. package/dist/index.es180.js +2 -2
  271. package/dist/index.es181.js +1 -1
  272. package/dist/index.es182.js +1 -1
  273. package/dist/index.es183.js +1 -1
  274. package/dist/index.es188.js +2 -2
  275. package/dist/index.es189.js +1 -1
  276. package/dist/index.es190.js +1 -1
  277. package/dist/index.es191.js +2 -2
  278. package/dist/index.es193.js +3 -3
  279. package/dist/index.es194.js +1 -1
  280. package/dist/index.es195.js +1 -1
  281. package/dist/index.es196.js +1 -1
  282. package/dist/index.es198.js +2 -2
  283. package/dist/index.es199.js +3 -3
  284. package/dist/index.es201.js +2 -2
  285. package/dist/index.es209.js +7 -7506
  286. package/dist/index.es209.js.map +1 -1
  287. package/dist/index.es210.js +5 -2
  288. package/dist/index.es210.js.map +1 -1
  289. package/dist/index.es211.js +4 -8
  290. package/dist/index.es211.js.map +1 -1
  291. package/dist/index.es212.js +3 -5
  292. package/dist/index.es212.js.map +1 -1
  293. package/dist/index.es213.js +3 -4
  294. package/dist/index.es213.js.map +1 -1
  295. package/dist/index.es214.js +9 -3
  296. package/dist/index.es214.js.map +1 -1
  297. package/dist/index.es215.js +19 -3
  298. package/dist/index.es215.js.map +1 -1
  299. package/dist/index.es216.js +20 -8
  300. package/dist/index.es216.js.map +1 -1
  301. package/dist/index.es217.js +10 -16
  302. package/dist/index.es217.js.map +1 -1
  303. package/dist/index.es218.js +12 -18
  304. package/dist/index.es218.js.map +1 -1
  305. package/dist/index.es219.js +5 -12
  306. package/dist/index.es219.js.map +1 -1
  307. package/dist/index.es220.js +7 -14
  308. package/dist/index.es220.js.map +1 -1
  309. package/dist/index.es221.js +6 -5
  310. package/dist/index.es221.js.map +1 -1
  311. package/dist/index.es222.js +20 -6
  312. package/dist/index.es222.js.map +1 -1
  313. package/dist/index.es223.js +8 -5
  314. package/dist/index.es223.js.map +1 -1
  315. package/dist/index.es224.js +9 -22
  316. package/dist/index.es224.js.map +1 -1
  317. package/dist/index.es225.js +4 -10
  318. package/dist/index.es225.js.map +1 -1
  319. package/dist/index.es226.js +11 -9
  320. package/dist/index.es226.js.map +1 -1
  321. package/dist/index.es227.js +8 -4
  322. package/dist/index.es227.js.map +1 -1
  323. package/dist/index.es228.js +19 -9
  324. package/dist/index.es228.js.map +1 -1
  325. package/dist/index.es229.js +10 -7
  326. package/dist/index.es229.js.map +1 -1
  327. package/dist/index.es230.js +17 -20
  328. package/dist/index.es230.js.map +1 -1
  329. package/dist/index.es231.js +4 -11
  330. package/dist/index.es231.js.map +1 -1
  331. package/dist/index.es232.js +16 -16
  332. package/dist/index.es232.js.map +1 -1
  333. package/dist/index.es233.js +12 -4
  334. package/dist/index.es233.js.map +1 -1
  335. package/dist/index.es234.js +3 -17
  336. package/dist/index.es234.js.map +1 -1
  337. package/dist/index.es235.js +4 -11
  338. package/dist/index.es235.js.map +1 -1
  339. package/dist/index.es236.js +7506 -3
  340. package/dist/index.es236.js.map +1 -1
  341. package/dist/index.es237.js +2 -5
  342. package/dist/index.es237.js.map +1 -1
  343. package/dist/index.es238.js +18 -22
  344. package/dist/index.es238.js.map +1 -1
  345. package/dist/index.es239.js +22 -16
  346. package/dist/index.es239.js.map +1 -1
  347. package/dist/index.es240.js +3 -31
  348. package/dist/index.es240.js.map +1 -1
  349. package/dist/index.es241.js +7 -21
  350. package/dist/index.es241.js.map +1 -1
  351. package/dist/index.es242.js +4 -73
  352. package/dist/index.es242.js.map +1 -1
  353. package/dist/index.es243.js +24 -20
  354. package/dist/index.es243.js.map +1 -1
  355. package/dist/index.es244.js +15 -39
  356. package/dist/index.es244.js.map +1 -1
  357. package/dist/index.es245.js +28 -47
  358. package/dist/index.es245.js.map +1 -1
  359. package/dist/index.es246.js +21 -7
  360. package/dist/index.es246.js.map +1 -1
  361. package/dist/index.es247.js +73 -19
  362. package/dist/index.es247.js.map +1 -1
  363. package/dist/index.es248.js +19 -64
  364. package/dist/index.es248.js.map +1 -1
  365. package/dist/index.es249.js +39 -41
  366. package/dist/index.es249.js.map +1 -1
  367. package/dist/index.es250.js +45 -59
  368. package/dist/index.es250.js.map +1 -1
  369. package/dist/index.es251.js +7 -8
  370. package/dist/index.es251.js.map +1 -1
  371. package/dist/index.es252.js +20 -3
  372. package/dist/index.es252.js.map +1 -1
  373. package/dist/index.es253.js +64 -11
  374. package/dist/index.es253.js.map +1 -1
  375. package/dist/index.es254.js +40 -57
  376. package/dist/index.es254.js.map +1 -1
  377. package/dist/index.es255.js +61 -47
  378. package/dist/index.es255.js.map +1 -1
  379. package/dist/index.es256.js +7 -19
  380. package/dist/index.es256.js.map +1 -1
  381. package/dist/index.es257.js +3 -22
  382. package/dist/index.es257.js.map +1 -1
  383. package/dist/index.es258.js +13 -3
  384. package/dist/index.es258.js.map +1 -1
  385. package/dist/index.es259.js +58 -6
  386. package/dist/index.es259.js.map +1 -1
  387. package/dist/index.es260.js +49 -5
  388. package/dist/index.es260.js.map +1 -1
  389. package/dist/index.es262.js +4 -15
  390. package/dist/index.es262.js.map +1 -1
  391. package/dist/index.es263.js +15 -69
  392. package/dist/index.es263.js.map +1 -1
  393. package/dist/index.es264.js +69 -4
  394. package/dist/index.es264.js.map +1 -1
  395. package/dist/index.es27.js +1 -1
  396. package/dist/index.es31.js +2 -2
  397. package/dist/index.es33.js +2 -2
  398. package/dist/index.es34.js +2 -2
  399. package/dist/index.es37.js +1 -1
  400. package/dist/index.es38.js +1 -1
  401. package/dist/index.es39.js +2 -2
  402. package/dist/index.es41.js +2 -2
  403. package/dist/index.es42.js +2 -2
  404. package/dist/index.es43.js +2 -2
  405. package/dist/index.es45.js +1 -1
  406. package/dist/index.es46.js +2 -2
  407. package/dist/index.es47.js +2 -2
  408. package/dist/index.es49.js +1 -1
  409. package/dist/index.es50.js +1 -1
  410. package/dist/index.es51.js +1 -1
  411. package/dist/index.es55.js +2 -2
  412. package/dist/index.es56.js +3 -3
  413. package/dist/index.es57.js +1 -1
  414. package/dist/index.es59.js +1 -1
  415. package/dist/index.es60.js +1 -1
  416. package/dist/index.es62.js +1 -1
  417. package/dist/index.es71.js +7 -1992
  418. package/dist/index.es71.js.map +1 -1
  419. package/dist/index.es72.js +2 -6
  420. package/dist/index.es72.js.map +1 -1
  421. package/dist/index.es73.js +26 -2
  422. package/dist/index.es73.js.map +1 -1
  423. package/dist/index.es74.js +588 -7
  424. package/dist/index.es74.js.map +1 -1
  425. package/dist/index.es75.js +1993 -2
  426. package/dist/index.es75.js.map +1 -1
  427. package/dist/index.es76.js +5 -25
  428. package/dist/index.es76.js.map +1 -1
  429. package/dist/index.es77.js +2 -589
  430. package/dist/index.es77.js.map +1 -1
  431. package/dist/index.es78.js +104 -21350
  432. package/dist/index.es78.js.map +1 -1
  433. package/dist/index.es79.js +10 -2
  434. package/dist/index.es79.js.map +1 -1
  435. package/dist/index.es80.js +21350 -104
  436. package/dist/index.es80.js.map +1 -1
  437. package/dist/index.es81.js +2 -10
  438. package/dist/index.es81.js.map +1 -1
  439. package/dist/index.es85.js +1 -1
  440. package/dist/index.es92.js +1 -1
  441. package/dist/index.es93.js +1 -1
  442. package/dist/index.es94.js +1 -1
  443. package/dist/index.es95.js +1 -1
  444. package/dist/index.es96.js +1 -1
  445. package/dist/index.es97.js +1 -1
  446. package/dist/index.es98.js +1 -1
  447. package/dist/index.es99.js +1 -1
  448. package/package.json +1 -1
  449. package/types/components/LocationMarker.js.flow +0 -82
@@ -1,8 +1,5 @@
1
- import a from "./index.es40.js";
2
- function r(t, n) {
3
- return t._chain ? a(n).chain() : n;
4
- }
1
+ var s = { exports: {} };
5
2
  export {
6
- r as default
3
+ s as __module
7
4
  };
8
5
  //# sourceMappingURL=index.es237.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es237.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
+ {"version":3,"file":"index.es237.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,28 +1,24 @@
1
- function f() {
2
- return new i();
1
+ import { deepEqual as a } from "./index.es206.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
+ };
3
11
  }
4
- function i() {
5
- this.reset();
6
- }
7
- i.prototype = {
8
- constructor: i,
9
- reset: function() {
10
- this.s = // rounded value
11
- this.t = 0;
12
- },
13
- add: function(t) {
14
- u(s, t, this.t), u(this, s.s, this.s), this.s ? this.t += s.t : this.s = s.t;
15
- },
16
- valueOf: function() {
17
- return this.s;
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);
18
17
  }
19
- };
20
- var s = new i();
21
- function u(t, n, e) {
22
- var r = t.s = n + e, o = r - n, h = r - o;
23
- t.t = n - h + (e - o);
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;
24
19
  }
25
20
  export {
26
- f as default
21
+ c as applyViewStateToTransform,
22
+ g as transformToViewState
27
23
  };
28
24
  //# sourceMappingURL=index.es238.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es238.js","sources":["../../../node_modules/d3-geo/src/adder.js"],"sourcesContent":["// Adds floating point numbers with twice the normal precision.\n// Reference: J. R. Shewchuk, Adaptive Precision Floating-Point Arithmetic and\n// Fast Robust Geometric Predicates, Discrete & Computational Geometry 18(3)\n// 305–363 (1997).\n// Code adapted from GeographicLib by Charles F. F. Karney,\n// http://geographiclib.sourceforge.net/\n\nexport default function() {\n return new Adder;\n}\n\nfunction Adder() {\n this.reset();\n}\n\nAdder.prototype = {\n constructor: Adder,\n reset: function() {\n this.s = // rounded value\n this.t = 0; // exact error\n },\n add: function(y) {\n add(temp, y, this.t);\n add(this, temp.s, this.s);\n if (this.s) this.t += temp.t;\n else this.s = temp.t;\n },\n valueOf: function() {\n return this.s;\n }\n};\n\nvar temp = new Adder;\n\nfunction add(adder, a, b) {\n var x = adder.s = a + b,\n bv = x - a,\n av = x - bv;\n adder.t = (a - av) + (b - bv);\n}\n"],"names":["adder","Adder","y","add","temp","a","b","x","bv","av"],"mappings":"AAOA,SAAAA,IAA0B;AACxB,SAAO,IAAIC,EAAA;AACb;AAEA,SAASA,IAAQ;AACf,OAAK,MAAA;AACP;AAEAA,EAAM,YAAY;AAAA,EAChB,aAAaA;AAAA,EACb,OAAO,WAAW;AAChB,SAAK;AAAA,IACL,KAAK,IAAI;AAAA,EACX;AAAA,EACA,KAAK,SAASC,GAAG;AACf,IAAAC,EAAIC,GAAMF,GAAG,KAAK,CAAC,GACnBC,EAAI,MAAMC,EAAK,GAAG,KAAK,CAAC,GACpB,KAAK,IAAG,KAAK,KAAKA,EAAK,IACtB,KAAK,IAAIA,EAAK;AAAA,EACrB;AAAA,EACA,SAAS,WAAW;AAClB,WAAO,KAAK;AAAA,EACd;AACF;AAEA,IAAIA,IAAO,IAAIH,EAAA;AAEf,SAASE,EAAIH,GAAOK,GAAGC,GAAG;AACxB,MAAIC,IAAIP,EAAM,IAAIK,IAAIC,GAClBE,IAAKD,IAAIF,GACTI,IAAKF,IAAIC;AACb,EAAAR,EAAM,IAAKK,IAAII,KAAOH,IAAIE;AAC5B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es238.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,20 +1,26 @@
1
- import { spherical as p, cartesian as x, cartesianNormalizeInPlace as z } from "./index.es240.js";
2
- import { tau as l, acos as I, epsilon as N, cos as v, sin as R } from "./index.es241.js";
3
- import "./index.es191.js";
4
- function g(m, r, e, c, a, s) {
5
- if (e) {
6
- var u = v(r), o = R(r), n = c * e;
7
- a == null ? (a = r + c * l, s = r - n / 2) : (a = h(u, a), s = h(u, s), (c > 0 ? a < s : a > s) && (a += c * l));
8
- for (var i, f = a; c > 0 ? f > s : f < s; f -= n)
9
- i = p([u, -o * v(f), -o * R(f)]), m.point(i[0], i[1]);
10
- }
11
- }
12
- function h(m, r) {
13
- r = x(r), r[0] -= m, z(r);
14
- var e = I(-r[1]);
15
- return ((-r[2] < 0 ? -e : e) + l - N) % l;
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 };
16
22
  }
17
23
  export {
18
- g as circleStream
24
+ c as normalizeStyle
19
25
  };
20
26
  //# sourceMappingURL=index.es239.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es239.js","sources":["../../../node_modules/d3-geo/src/circle.js"],"sourcesContent":["import {cartesian, cartesianNormalizeInPlace, spherical} from \"./cartesian\";\nimport constant from \"./constant\";\nimport {acos, cos, degrees, epsilon, radians, sin, tau} from \"./math\";\nimport {rotateRadians} from \"./rotation\";\n\n// Generates a circle centered at [0°, 0°], with a given radius and precision.\nexport function circleStream(stream, radius, delta, direction, t0, t1) {\n if (!delta) return;\n var cosRadius = cos(radius),\n sinRadius = sin(radius),\n step = direction * delta;\n if (t0 == null) {\n t0 = radius + direction * tau;\n t1 = radius - step / 2;\n } else {\n t0 = circleRadius(cosRadius, t0);\n t1 = circleRadius(cosRadius, t1);\n if (direction > 0 ? t0 < t1 : t0 > t1) t0 += direction * tau;\n }\n for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {\n point = spherical([cosRadius, -sinRadius * cos(t), -sinRadius * sin(t)]);\n stream.point(point[0], point[1]);\n }\n}\n\n// Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].\nfunction circleRadius(cosRadius, point) {\n point = cartesian(point), point[0] -= cosRadius;\n cartesianNormalizeInPlace(point);\n var radius = acos(-point[1]);\n return ((-point[2] < 0 ? -radius : radius) + tau - epsilon) % tau;\n}\n\nexport default function() {\n var center = constant([0, 0]),\n radius = constant(90),\n precision = constant(6),\n ring,\n rotate,\n stream = {point: point};\n\n function point(x, y) {\n ring.push(x = rotate(x, y));\n x[0] *= degrees, x[1] *= degrees;\n }\n\n function circle() {\n var c = center.apply(this, arguments),\n r = radius.apply(this, arguments) * radians,\n p = precision.apply(this, arguments) * radians;\n ring = [];\n rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;\n circleStream(stream, r, p, 1);\n c = {type: \"Polygon\", coordinates: [ring]};\n ring = rotate = null;\n return c;\n }\n\n circle.center = function(_) {\n return arguments.length ? (center = typeof _ === \"function\" ? _ : constant([+_[0], +_[1]]), circle) : center;\n };\n\n circle.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), circle) : radius;\n };\n\n circle.precision = function(_) {\n return arguments.length ? (precision = typeof _ === \"function\" ? _ : constant(+_), circle) : precision;\n };\n\n return circle;\n}\n"],"names":["circleStream","stream","radius","delta","direction","t0","t1","cosRadius","cos","sinRadius","sin","step","tau","circleRadius","point","t","spherical","cartesian","cartesianNormalizeInPlace","acos","epsilon"],"mappings":";;;AAMO,SAASA,EAAaC,GAAQC,GAAQC,GAAOC,GAAWC,GAAIC,GAAI;AACrE,MAAKH,GACL;AAAA,QAAII,IAAYC,EAAIN,CAAM,GACtBO,IAAYC,EAAIR,CAAM,GACtBS,IAAOP,IAAYD;AACvB,IAAIE,KAAM,QACRA,IAAKH,IAASE,IAAYQ,GAC1BN,IAAKJ,IAASS,IAAO,MAErBN,IAAKQ,EAAaN,GAAWF,CAAE,GAC/BC,IAAKO,EAAaN,GAAWD,CAAE,IAC3BF,IAAY,IAAIC,IAAKC,IAAKD,IAAKC,YAAUF,IAAYQ;AAE3D,aAASE,GAAOC,IAAIV,GAAID,IAAY,IAAIW,IAAIT,IAAKS,IAAIT,GAAIS,KAAKJ;AAC5D,MAAAG,IAAQE,EAAU,CAACT,GAAW,CAACE,IAAYD,EAAIO,CAAC,GAAG,CAACN,IAAYC,EAAIK,CAAC,CAAC,CAAC,GACvEd,EAAO,MAAMa,EAAM,CAAC,GAAGA,EAAM,CAAC,CAAC;AAAA;AAEnC;AAGA,SAASD,EAAaN,GAAWO,GAAO;AACtC,EAAAA,IAAQG,EAAUH,CAAK,GAAGA,EAAM,CAAC,KAAKP,GACtCW,EAA0BJ,CAAK;AAC/B,MAAIZ,IAASiB,EAAK,CAACL,EAAM,CAAC,CAAC;AAC3B,WAAS,CAACA,EAAM,CAAC,IAAI,IAAI,CAACZ,IAASA,KAAUU,IAAMQ,KAAWR;AAChE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es239.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,34 +1,6 @@
1
- import { sin as c, cos as o, sqrt as e, atan2 as u, asin as s } from "./index.es241.js";
2
- function f(n) {
3
- return [u(n[1], n[0]), s(n[2])];
4
- }
5
- function l(n) {
6
- var r = n[0], t = n[1], i = o(t);
7
- return [i * o(r), i * c(r), c(t)];
8
- }
9
- function m(n, r) {
10
- return n[0] * r[0] + n[1] * r[1] + n[2] * r[2];
11
- }
12
- function p(n, r) {
13
- return [n[1] * r[2] - n[2] * r[1], n[2] * r[0] - n[0] * r[2], n[0] * r[1] - n[1] * r[0]];
14
- }
15
- function P(n, r) {
16
- n[0] += r[0], n[1] += r[1], n[2] += r[2];
17
- }
18
- function h(n, r) {
19
- return [n[0] * r, n[1] * r, n[2] * r];
20
- }
21
- function I(n) {
22
- var r = e(n[0] * n[0] + n[1] * n[1] + n[2] * n[2]);
23
- n[0] /= r, n[1] /= r, n[2] /= r;
24
- }
1
+ import t from "./index.es209.js";
2
+ const a = t("Object");
25
3
  export {
26
- l as cartesian,
27
- P as cartesianAddInPlace,
28
- p as cartesianCross,
29
- m as cartesianDot,
30
- I as cartesianNormalizeInPlace,
31
- h as cartesianScale,
32
- f as spherical
4
+ a as default
33
5
  };
34
6
  //# sourceMappingURL=index.es240.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es240.js","sources":["../../../node_modules/d3-geo/src/cartesian.js"],"sourcesContent":["import {asin, atan2, cos, sin, sqrt} from \"./math\";\n\nexport function spherical(cartesian) {\n return [atan2(cartesian[1], cartesian[0]), asin(cartesian[2])];\n}\n\nexport function cartesian(spherical) {\n var lambda = spherical[0], phi = spherical[1], cosPhi = cos(phi);\n return [cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi)];\n}\n\nexport function cartesianDot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n}\n\nexport function cartesianCross(a, b) {\n return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];\n}\n\n// TODO return a\nexport function cartesianAddInPlace(a, b) {\n a[0] += b[0], a[1] += b[1], a[2] += b[2];\n}\n\nexport function cartesianScale(vector, k) {\n return [vector[0] * k, vector[1] * k, vector[2] * k];\n}\n\n// TODO return d\nexport function cartesianNormalizeInPlace(d) {\n var l = sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);\n d[0] /= l, d[1] /= l, d[2] /= l;\n}\n"],"names":["spherical","cartesian","atan2","asin","lambda","phi","cosPhi","cos","sin","cartesianDot","a","b","cartesianCross","cartesianAddInPlace","cartesianScale","vector","k","cartesianNormalizeInPlace","d","l","sqrt"],"mappings":";AAEO,SAASA,EAAUC,GAAW;AACnC,SAAO,CAACC,EAAMD,EAAU,CAAC,GAAGA,EAAU,CAAC,CAAC,GAAGE,EAAKF,EAAU,CAAC,CAAC,CAAC;AAC/D;AAEO,SAASA,EAAUD,GAAW;AACnC,MAAII,IAASJ,EAAU,CAAC,GAAGK,IAAML,EAAU,CAAC,GAAGM,IAASC,EAAIF,CAAG;AAC/D,SAAO,CAACC,IAASC,EAAIH,CAAM,GAAGE,IAASE,EAAIJ,CAAM,GAAGI,EAAIH,CAAG,CAAC;AAC9D;AAEO,SAASI,EAAaC,GAAGC,GAAG;AACjC,SAAOD,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC;AAC/C;AAEO,SAASC,EAAeF,GAAGC,GAAG;AACnC,SAAO,CAACD,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC,GAAGD,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC,GAAGD,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC,CAAC;AACzF;AAGO,SAASE,EAAoBH,GAAGC,GAAG;AACxC,EAAAD,EAAE,CAAC,KAAKC,EAAE,CAAC,GAAGD,EAAE,CAAC,KAAKC,EAAE,CAAC,GAAGD,EAAE,CAAC,KAAKC,EAAE,CAAC;AACzC;AAEO,SAASG,EAAeC,GAAQC,GAAG;AACxC,SAAO,CAACD,EAAO,CAAC,IAAIC,GAAGD,EAAO,CAAC,IAAIC,GAAGD,EAAO,CAAC,IAAIC,CAAC;AACrD;AAGO,SAASC,EAA0BC,GAAG;AAC3C,MAAIC,IAAIC,EAAKF,EAAE,CAAC,IAAIA,EAAE,CAAC,IAAIA,EAAE,CAAC,IAAIA,EAAE,CAAC,IAAIA,EAAE,CAAC,IAAIA,EAAE,CAAC,CAAC;AACpD,EAAAA,EAAE,CAAC,KAAKC,GAAGD,EAAE,CAAC,KAAKC,GAAGD,EAAE,CAAC,KAAKC;AAChC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es240.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,25 +1,11 @@
1
- var n = 1e-6, r = Math.PI, t = r / 2, s = r / 4, v = r * 2, i = 180 / r, h = r / 180, e = Math.abs, M = Math.atan, o = Math.atan2, c = Math.cos, u = Math.sin, f = Math.sqrt;
2
- function p(a) {
3
- return a > 1 ? 0 : a < -1 ? r : Math.acos(a);
4
- }
5
- function q(a) {
6
- return a > 1 ? t : a < -1 ? -t : Math.asin(a);
1
+ import { MAX_ARRAY_INDEX as o } from "./index.es36.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
7
  }
8
8
  export {
9
- e as abs,
10
- p as acos,
11
- q as asin,
12
- M as atan,
13
- o as atan2,
14
- c as cos,
15
- i as degrees,
16
- n as epsilon,
17
- t as halfPi,
18
- r as pi,
19
- s as quarterPi,
20
- h as radians,
21
- u as sin,
22
- f as sqrt,
23
- v as tau
9
+ u as default
24
10
  };
25
11
  //# sourceMappingURL=index.es241.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es241.js","sources":["../../../node_modules/d3-geo/src/math.js"],"sourcesContent":["export var epsilon = 1e-6;\nexport var epsilon2 = 1e-12;\nexport var pi = Math.PI;\nexport var halfPi = pi / 2;\nexport var quarterPi = pi / 4;\nexport var tau = pi * 2;\n\nexport var degrees = 180 / pi;\nexport var radians = pi / 180;\n\nexport var abs = Math.abs;\nexport var atan = Math.atan;\nexport var atan2 = Math.atan2;\nexport var cos = Math.cos;\nexport var ceil = Math.ceil;\nexport var exp = Math.exp;\nexport var floor = Math.floor;\nexport var log = Math.log;\nexport var pow = Math.pow;\nexport var sin = Math.sin;\nexport var sign = Math.sign || function(x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\nexport var sqrt = Math.sqrt;\nexport var tan = Math.tan;\n\nexport function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n}\n\nexport function asin(x) {\n return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);\n}\n\nexport function haversin(x) {\n return (x = sin(x / 2)) * x;\n}\n"],"names":["epsilon","pi","halfPi","quarterPi","tau","degrees","radians","abs","atan","atan2","cos","sin","sqrt","acos","x","asin"],"mappings":"AAAO,IAAIA,IAAU,MAEVC,IAAK,KAAK,IACVC,IAASD,IAAK,GACdE,IAAYF,IAAK,GACjBG,IAAMH,IAAK,GAEXI,IAAU,MAAMJ,GAChBK,IAAUL,IAAK,KAEfM,IAAM,KAAK,KACXC,IAAO,KAAK,MACZC,IAAQ,KAAK,OACbC,IAAM,KAAK,KAMXC,IAAM,KAAK,KAEXC,IAAO,KAAK;AAGhB,SAASC,EAAKC,GAAG;AACtB,SAAOA,IAAI,IAAI,IAAIA,IAAI,KAAKb,IAAK,KAAK,KAAKa,CAAC;AAC9C;AAEO,SAASC,EAAKD,GAAG;AACtB,SAAOA,IAAI,IAAIZ,IAASY,IAAI,KAAK,CAACZ,IAAS,KAAK,KAAKY,CAAC;AACxD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es241.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,78 +1,9 @@
1
- import { abs as q, epsilon as z } from "./index.es241.js";
2
- import X from "./index.es243.js";
3
- import Y from "./index.es244.js";
4
- import Z from "./index.es245.js";
5
- import "./index.es192.js";
6
- import $ from "./index.es246.js";
7
- var S = 1e9, B = -S;
8
- function en(c, _, E, u) {
9
- function A(i, n) {
10
- return c <= i && i <= E && _ <= n && n <= u;
11
- }
12
- function C(i, n, l, o) {
13
- var f = 0, s = 0;
14
- if (i == null || (f = d(i, l)) !== (s = d(n, l)) || D(i, n) < 0 ^ l > 0)
15
- do
16
- o.point(f === 0 || f === 3 ? c : E, f > 1 ? u : _);
17
- while ((f = (f + l + 4) % 4) !== s);
18
- else
19
- o.point(n[0], n[1]);
20
- }
21
- function d(i, n) {
22
- return q(i[0] - c) < z ? n > 0 ? 0 : 3 : q(i[0] - E) < z ? n > 0 ? 2 : 1 : q(i[1] - _) < z ? n > 0 ? 1 : 0 : n > 0 ? 3 : 2;
23
- }
24
- function O(i, n) {
25
- return D(i.x, n.x);
26
- }
27
- function D(i, n) {
28
- var l = d(i, 1), o = d(n, 1);
29
- return l !== o ? l - o : l === 0 ? n[1] - i[1] : l === 1 ? i[0] - n[0] : l === 2 ? i[1] - n[1] : n[0] - i[0];
30
- }
31
- return function(i) {
32
- var n = i, l = X(), o, f, s, F, G, H, I, P, v, L, w, k = {
33
- point: J,
34
- lineStart: U,
35
- lineEnd: V,
36
- polygonStart: R,
37
- polygonEnd: T
38
- };
39
- function J(t, e) {
40
- A(t, e) && n.point(t, e);
41
- }
42
- function Q() {
43
- for (var t = 0, e = 0, r = f.length; e < r; ++e)
44
- for (var p = f[e], a = 1, W = p.length, g = p[0], M, m, N = g[0], h = g[1]; a < W; ++a)
45
- M = N, m = h, g = p[a], N = g[0], h = g[1], m <= u ? h > u && (N - M) * (u - m) > (h - m) * (c - M) && ++t : h <= u && (N - M) * (u - m) < (h - m) * (c - M) && --t;
46
- return t;
47
- }
48
- function R() {
49
- n = l, o = [], f = [], w = !0;
50
- }
51
- function T() {
52
- var t = Q(), e = w && t, r = (o = $(o)).length;
53
- (e || r) && (i.polygonStart(), e && (i.lineStart(), C(null, null, 1, i), i.lineEnd()), r && Z(o, O, t, C, i), i.polygonEnd()), n = i, o = f = s = null;
54
- }
55
- function U() {
56
- k.point = K, f && f.push(s = []), L = !0, v = !1, I = P = NaN;
57
- }
58
- function V() {
59
- o && (K(F, G), H && v && l.rejoin(), o.push(l.result())), k.point = J, v && n.lineEnd();
60
- }
61
- function K(t, e) {
62
- var r = A(t, e);
63
- if (f && s.push([t, e]), L)
64
- F = t, G = e, H = r, L = !1, r && (n.lineStart(), n.point(t, e));
65
- else if (r && v) n.point(t, e);
66
- else {
67
- var p = [I = Math.max(B, Math.min(S, I)), P = Math.max(B, Math.min(S, P))], a = [t = Math.max(B, Math.min(S, t)), e = Math.max(B, Math.min(S, e))];
68
- Y(p, a, c, _, E, u) ? (v || (n.lineStart(), n.point(p[0], p[1])), n.point(a[0], a[1]), r || n.lineEnd(), w = !1) : r && (n.lineStart(), n.point(t, e), w = !1);
69
- }
70
- I = t, P = e, v = r;
71
- }
72
- return k;
1
+ function t(r) {
2
+ return function(n) {
3
+ return n?.[r];
73
4
  };
74
5
  }
75
6
  export {
76
- en as clipExtent
7
+ t as default
77
8
  };
78
9
  //# sourceMappingURL=index.es242.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es242.js","sources":["../../../node_modules/d3-geo/src/clip/extent.js"],"sourcesContent":["import {abs, epsilon} from \"../math\";\nimport clipBuffer from \"./buffer\";\nimport clipLine from \"./line\";\nimport clipPolygon from \"./polygon\";\nimport {merge} from \"d3-array\";\n\nvar clipMax = 1e9, clipMin = -clipMax;\n\n// TODO Use d3-polygon’s polygonContains here for the ring check?\n// TODO Eliminate duplicate buffering in clipBuffer and polygon.push?\n\nexport function clipExtent(x0, y0, x1, y1) {\n\n function visible(x, y) {\n return x0 <= x && x <= x1 && y0 <= y && y <= y1;\n }\n\n function interpolate(from, to, direction, stream) {\n var a = 0, a1 = 0;\n if (from == null\n || (a = corner(from, direction)) !== (a1 = corner(to, direction))\n || comparePoint(from, to) < 0 ^ direction > 0) {\n do stream.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);\n while ((a = (a + direction + 4) % 4) !== a1);\n } else {\n stream.point(to[0], to[1]);\n }\n }\n\n function corner(p, direction) {\n return abs(p[0] - x0) < epsilon ? direction > 0 ? 0 : 3\n : abs(p[0] - x1) < epsilon ? direction > 0 ? 2 : 1\n : abs(p[1] - y0) < epsilon ? direction > 0 ? 1 : 0\n : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon\n }\n\n function compareIntersection(a, b) {\n return comparePoint(a.x, b.x);\n }\n\n function comparePoint(a, b) {\n var ca = corner(a, 1),\n cb = corner(b, 1);\n return ca !== cb ? ca - cb\n : ca === 0 ? b[1] - a[1]\n : ca === 1 ? a[0] - b[0]\n : ca === 2 ? a[1] - b[1]\n : b[0] - a[0];\n }\n\n return function(stream) {\n var activeStream = stream,\n bufferStream = clipBuffer(),\n segments,\n polygon,\n ring,\n x__, y__, v__, // first point\n x_, y_, v_, // previous point\n first,\n clean;\n\n var clipStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: polygonStart,\n polygonEnd: polygonEnd\n };\n\n function point(x, y) {\n if (visible(x, y)) activeStream.point(x, y);\n }\n\n function polygonInside() {\n var winding = 0;\n\n for (var i = 0, n = polygon.length; i < n; ++i) {\n for (var ring = polygon[i], j = 1, m = ring.length, point = ring[0], a0, a1, b0 = point[0], b1 = point[1]; j < m; ++j) {\n a0 = b0, a1 = b1, point = ring[j], b0 = point[0], b1 = point[1];\n if (a1 <= y1) { if (b1 > y1 && (b0 - a0) * (y1 - a1) > (b1 - a1) * (x0 - a0)) ++winding; }\n else { if (b1 <= y1 && (b0 - a0) * (y1 - a1) < (b1 - a1) * (x0 - a0)) --winding; }\n }\n }\n\n return winding;\n }\n\n // Buffer geometry within a polygon and then clip it en masse.\n function polygonStart() {\n activeStream = bufferStream, segments = [], polygon = [], clean = true;\n }\n\n function polygonEnd() {\n var startInside = polygonInside(),\n cleanInside = clean && startInside,\n visible = (segments = merge(segments)).length;\n if (cleanInside || visible) {\n stream.polygonStart();\n if (cleanInside) {\n stream.lineStart();\n interpolate(null, null, 1, stream);\n stream.lineEnd();\n }\n if (visible) {\n clipPolygon(segments, compareIntersection, startInside, interpolate, stream);\n }\n stream.polygonEnd();\n }\n activeStream = stream, segments = polygon = ring = null;\n }\n\n function lineStart() {\n clipStream.point = linePoint;\n if (polygon) polygon.push(ring = []);\n first = true;\n v_ = false;\n x_ = y_ = NaN;\n }\n\n // TODO rather than special-case polygons, simply handle them separately.\n // Ideally, coincident intersection points should be jittered to avoid\n // clipping issues.\n function lineEnd() {\n if (segments) {\n linePoint(x__, y__);\n if (v__ && v_) bufferStream.rejoin();\n segments.push(bufferStream.result());\n }\n clipStream.point = point;\n if (v_) activeStream.lineEnd();\n }\n\n function linePoint(x, y) {\n var v = visible(x, y);\n if (polygon) ring.push([x, y]);\n if (first) {\n x__ = x, y__ = y, v__ = v;\n first = false;\n if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n }\n } else {\n if (v && v_) activeStream.point(x, y);\n else {\n var a = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))],\n b = [x = Math.max(clipMin, Math.min(clipMax, x)), y = Math.max(clipMin, Math.min(clipMax, y))];\n if (clipLine(a, b, x0, y0, x1, y1)) {\n if (!v_) {\n activeStream.lineStart();\n activeStream.point(a[0], a[1]);\n }\n activeStream.point(b[0], b[1]);\n if (!v) activeStream.lineEnd();\n clean = false;\n } else if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n clean = false;\n }\n }\n }\n x_ = x, y_ = y, v_ = v;\n }\n\n return clipStream;\n };\n}\n\nexport default function() {\n var x0 = 0,\n y0 = 0,\n x1 = 960,\n y1 = 500,\n cache,\n cacheStream,\n clip;\n\n return clip = {\n stream: function(stream) {\n return cache && cacheStream === stream ? cache : cache = clipExtent(x0, y0, x1, y1)(cacheStream = stream);\n },\n extent: function(_) {\n return arguments.length ? (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1], cache = cacheStream = null, clip) : [[x0, y0], [x1, y1]];\n }\n };\n}\n"],"names":["clipMax","clipMin","clipExtent","x0","y0","x1","y1","visible","x","y","interpolate","from","to","direction","stream","a","a1","corner","comparePoint","p","abs","epsilon","compareIntersection","b","ca","cb","activeStream","bufferStream","clipBuffer","segments","polygon","ring","x__","y__","v__","x_","y_","v_","first","clean","clipStream","point","lineStart","lineEnd","polygonStart","polygonEnd","polygonInside","winding","i","n","j","m","a0","b0","b1","startInside","cleanInside","merge","clipPolygon","linePoint","v","clipLine"],"mappings":";;;;;;AAMA,IAAIA,IAAU,KAAKC,IAAU,CAACD;AAKvB,SAASE,GAAWC,GAAIC,GAAIC,GAAIC,GAAI;AAEzC,WAASC,EAAQC,GAAGC,GAAG;AACrB,WAAON,KAAMK,KAAKA,KAAKH,KAAMD,KAAMK,KAAKA,KAAKH;AAAA,EAC/C;AAEA,WAASI,EAAYC,GAAMC,GAAIC,GAAWC,GAAQ;AAChD,QAAIC,IAAI,GAAGC,IAAK;AAChB,QAAIL,KAAQ,SACJI,IAAIE,EAAON,GAAME,CAAS,QAAQG,IAAKC,EAAOL,GAAIC,CAAS,MAC5DK,EAAaP,GAAMC,CAAE,IAAI,IAAIC,IAAY;AAC9C;AAAG,QAAAC,EAAO,MAAMC,MAAM,KAAKA,MAAM,IAAIZ,IAAKE,GAAIU,IAAI,IAAIT,IAAKF,CAAE;AAAA,cACrDW,KAAKA,IAAIF,IAAY,KAAK,OAAOG;AAAA;AAEzC,MAAAF,EAAO,MAAMF,EAAG,CAAC,GAAGA,EAAG,CAAC,CAAC;AAAA,EAE7B;AAEA,WAASK,EAAOE,GAAGN,GAAW;AAC5B,WAAOO,EAAID,EAAE,CAAC,IAAIhB,CAAE,IAAIkB,IAAUR,IAAY,IAAI,IAAI,IAChDO,EAAID,EAAE,CAAC,IAAId,CAAE,IAAIgB,IAAUR,IAAY,IAAI,IAAI,IAC/CO,EAAID,EAAE,CAAC,IAAIf,CAAE,IAAIiB,IAAUR,IAAY,IAAI,IAAI,IAC/CA,IAAY,IAAI,IAAI;AAAA,EAC5B;AAEA,WAASS,EAAoBP,GAAGQ,GAAG;AACjC,WAAOL,EAAaH,EAAE,GAAGQ,EAAE,CAAC;AAAA,EAC9B;AAEA,WAASL,EAAaH,GAAGQ,GAAG;AAC1B,QAAIC,IAAKP,EAAOF,GAAG,CAAC,GAChBU,IAAKR,EAAOM,GAAG,CAAC;AACpB,WAAOC,MAAOC,IAAKD,IAAKC,IAClBD,MAAO,IAAID,EAAE,CAAC,IAAIR,EAAE,CAAC,IACrBS,MAAO,IAAIT,EAAE,CAAC,IAAIQ,EAAE,CAAC,IACrBC,MAAO,IAAIT,EAAE,CAAC,IAAIQ,EAAE,CAAC,IACrBA,EAAE,CAAC,IAAIR,EAAE,CAAC;AAAA,EAClB;AAEA,SAAO,SAASD,GAAQ;AACtB,QAAIY,IAAeZ,GACfa,IAAeC,EAAA,GACfC,GACAC,GACAC,GACAC,GAAKC,GAAKC,GACVC,GAAIC,GAAIC,GACRC,GACAC,GAEAC,IAAa;AAAA,MACf,OAAAC;AAAA,MACA,WAAAC;AAAA,MACA,SAAAC;AAAA,MACA,cAAAC;AAAA,MACA,YAAAC;AAAA,IAAA;AAGF,aAASJ,EAAMjC,GAAGC,GAAG;AACnB,MAAIF,EAAQC,GAAGC,CAAC,KAAGiB,EAAa,MAAMlB,GAAGC,CAAC;AAAA,IAC5C;AAEA,aAASqC,IAAgB;AAGvB,eAFIC,IAAU,GAELC,IAAI,GAAGC,IAAInB,EAAQ,QAAQkB,IAAIC,GAAG,EAAED;AAC3C,iBAASjB,IAAOD,EAAQkB,CAAC,GAAGE,IAAI,GAAGC,IAAIpB,EAAK,QAAQU,IAAQV,EAAK,CAAC,GAAGqB,GAAIpC,GAAIqC,IAAKZ,EAAM,CAAC,GAAGa,IAAKb,EAAM,CAAC,GAAGS,IAAIC,GAAG,EAAED;AAClH,UAAAE,IAAKC,GAAIrC,IAAKsC,GAAIb,IAAQV,EAAKmB,CAAC,GAAGG,IAAKZ,EAAM,CAAC,GAAGa,IAAKb,EAAM,CAAC,GAC1DzB,KAAMV,IAAUgD,IAAKhD,MAAO+C,IAAKD,MAAO9C,IAAKU,MAAOsC,IAAKtC,MAAOb,IAAKiD,MAAK,EAAEL,IACrEO,KAAMhD,MAAO+C,IAAKD,MAAO9C,IAAKU,MAAOsC,IAAKtC,MAAOb,IAAKiD,MAAK,EAAEL;AAI5E,aAAOA;AAAA,IACT;AAGA,aAASH,IAAe;AACtB,MAAAlB,IAAeC,GAAcE,IAAW,CAAA,GAAIC,IAAU,CAAA,GAAIS,IAAQ;AAAA,IACpE;AAEA,aAASM,IAAa;AACpB,UAAIU,IAAcT,KACdU,IAAcjB,KAASgB,GACvBhD,KAAWsB,IAAW4B,EAAM5B,CAAQ,GAAG;AAC3C,OAAI2B,KAAejD,OACjBO,EAAO,aAAA,GACH0C,MACF1C,EAAO,UAAA,GACPJ,EAAY,MAAM,MAAM,GAAGI,CAAM,GACjCA,EAAO,QAAA,IAELP,KACFmD,EAAY7B,GAAUP,GAAqBiC,GAAa7C,GAAaI,CAAM,GAE7EA,EAAO,WAAA,IAETY,IAAeZ,GAAQe,IAAWC,IAAUC,IAAO;AAAA,IACrD;AAEA,aAASW,IAAY;AACnB,MAAAF,EAAW,QAAQmB,GACf7B,KAASA,EAAQ,KAAKC,IAAO,CAAA,CAAE,GACnCO,IAAQ,IACRD,IAAK,IACLF,IAAKC,IAAK;AAAA,IACZ;AAKA,aAASO,IAAU;AACjB,MAAId,MACF8B,EAAU3B,GAAKC,CAAG,GACdC,KAAOG,KAAIV,EAAa,OAAA,GAC5BE,EAAS,KAAKF,EAAa,QAAQ,IAErCa,EAAW,QAAQC,GACfJ,OAAiB,QAAA;AAAA,IACvB;AAEA,aAASsB,EAAUnD,GAAGC,GAAG;AACvB,UAAImD,IAAIrD,EAAQC,GAAGC,CAAC;AAEpB,UADIqB,KAASC,EAAK,KAAK,CAACvB,GAAGC,CAAC,CAAC,GACzB6B;AACF,QAAAN,IAAMxB,GAAGyB,IAAMxB,GAAGyB,IAAM0B,GACxBtB,IAAQ,IACJsB,MACFlC,EAAa,UAAA,GACbA,EAAa,MAAMlB,GAAGC,CAAC;AAAA,eAGrBmD,KAAKvB,EAAI,CAAAX,EAAa,MAAMlB,GAAGC,CAAC;AAAA,WAC/B;AACH,YAAIM,IAAI,CAACoB,IAAK,KAAK,IAAIlC,GAAS,KAAK,IAAID,GAASmC,CAAE,CAAC,GAAGC,IAAK,KAAK,IAAInC,GAAS,KAAK,IAAID,GAASoC,CAAE,CAAC,CAAC,GACjGb,IAAI,CAACf,IAAI,KAAK,IAAIP,GAAS,KAAK,IAAID,GAASQ,CAAC,CAAC,GAAGC,IAAI,KAAK,IAAIR,GAAS,KAAK,IAAID,GAASS,CAAC,CAAC,CAAC;AACjG,QAAIoD,EAAS9C,GAAGQ,GAAGpB,GAAIC,GAAIC,GAAIC,CAAE,KAC1B+B,MACHX,EAAa,UAAA,GACbA,EAAa,MAAMX,EAAE,CAAC,GAAGA,EAAE,CAAC,CAAC,IAE/BW,EAAa,MAAMH,EAAE,CAAC,GAAGA,EAAE,CAAC,CAAC,GACxBqC,KAAGlC,EAAa,QAAA,GACrBa,IAAQ,MACCqB,MACTlC,EAAa,UAAA,GACbA,EAAa,MAAMlB,GAAGC,CAAC,GACvB8B,IAAQ;AAAA,MAEZ;AAEF,MAAAJ,IAAK3B,GAAG4B,IAAK3B,GAAG4B,IAAKuB;AAAA,IACvB;AAEA,WAAOpB;AAAA,EACT;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es242.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,24 +1,28 @@
1
- import o from "./index.es261.js";
2
- function e() {
3
- var n = [], t;
4
- return {
5
- point: function(i, u) {
6
- t.push([i, u]);
7
- },
8
- lineStart: function() {
9
- n.push(t = []);
10
- },
11
- lineEnd: o,
12
- rejoin: function() {
13
- n.length > 1 && n.push(n.pop().concat(n.shift()));
14
- },
15
- result: function() {
16
- var i = n;
17
- return n = [], t = null, i;
18
- }
19
- };
1
+ function f() {
2
+ return new i();
3
+ }
4
+ function i() {
5
+ this.reset();
6
+ }
7
+ i.prototype = {
8
+ constructor: i,
9
+ reset: function() {
10
+ this.s = // rounded value
11
+ this.t = 0;
12
+ },
13
+ add: function(t) {
14
+ u(s, t, this.t), u(this, s.s, this.s), this.s ? this.t += s.t : this.s = s.t;
15
+ },
16
+ valueOf: function() {
17
+ return this.s;
18
+ }
19
+ };
20
+ var s = new i();
21
+ function u(t, n, e) {
22
+ var r = t.s = n + e, o = r - n, h = r - o;
23
+ t.t = n - h + (e - o);
20
24
  }
21
25
  export {
22
- e as default
26
+ f as default
23
27
  };
24
28
  //# sourceMappingURL=index.es243.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es243.js","sources":["../../../node_modules/d3-geo/src/clip/buffer.js"],"sourcesContent":["import noop from \"../noop\";\n\nexport default function() {\n var lines = [],\n line;\n return {\n point: function(x, y) {\n line.push([x, y]);\n },\n lineStart: function() {\n lines.push(line = []);\n },\n lineEnd: noop,\n rejoin: function() {\n if (lines.length > 1) lines.push(lines.pop().concat(lines.shift()));\n },\n result: function() {\n var result = lines;\n lines = [];\n line = null;\n return result;\n }\n };\n}\n"],"names":["clipBuffer","lines","line","x","y","noop","result"],"mappings":";AAEA,SAAAA,IAA0B;AACxB,MAAIC,IAAQ,CAAA,GACRC;AACJ,SAAO;AAAA,IACL,OAAO,SAASC,GAAGC,GAAG;AACpB,MAAAF,EAAK,KAAK,CAACC,GAAGC,CAAC,CAAC;AAAA,IAClB;AAAA,IACA,WAAW,WAAW;AACpB,MAAAH,EAAM,KAAKC,IAAO,EAAE;AAAA,IACtB;AAAA,IACA,SAASG;AAAA,IACT,QAAQ,WAAW;AACjB,MAAIJ,EAAM,SAAS,KAAGA,EAAM,KAAKA,EAAM,IAAA,EAAM,OAAOA,EAAM,MAAA,CAAO,CAAC;AAAA,IACpE;AAAA,IACA,QAAQ,WAAW;AACjB,UAAIK,IAASL;AACb,aAAAA,IAAQ,CAAA,GACRC,IAAO,MACAI;AAAA,IACT;AAAA,EAAA;AAEJ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es243.js","sources":["../../../node_modules/d3-geo/src/adder.js"],"sourcesContent":["// Adds floating point numbers with twice the normal precision.\n// Reference: J. R. Shewchuk, Adaptive Precision Floating-Point Arithmetic and\n// Fast Robust Geometric Predicates, Discrete & Computational Geometry 18(3)\n// 305–363 (1997).\n// Code adapted from GeographicLib by Charles F. F. Karney,\n// http://geographiclib.sourceforge.net/\n\nexport default function() {\n return new Adder;\n}\n\nfunction Adder() {\n this.reset();\n}\n\nAdder.prototype = {\n constructor: Adder,\n reset: function() {\n this.s = // rounded value\n this.t = 0; // exact error\n },\n add: function(y) {\n add(temp, y, this.t);\n add(this, temp.s, this.s);\n if (this.s) this.t += temp.t;\n else this.s = temp.t;\n },\n valueOf: function() {\n return this.s;\n }\n};\n\nvar temp = new Adder;\n\nfunction add(adder, a, b) {\n var x = adder.s = a + b,\n bv = x - a,\n av = x - bv;\n adder.t = (a - av) + (b - bv);\n}\n"],"names":["adder","Adder","y","add","temp","a","b","x","bv","av"],"mappings":"AAOA,SAAAA,IAA0B;AACxB,SAAO,IAAIC,EAAA;AACb;AAEA,SAASA,IAAQ;AACf,OAAK,MAAA;AACP;AAEAA,EAAM,YAAY;AAAA,EAChB,aAAaA;AAAA,EACb,OAAO,WAAW;AAChB,SAAK;AAAA,IACL,KAAK,IAAI;AAAA,EACX;AAAA,EACA,KAAK,SAASC,GAAG;AACf,IAAAC,EAAIC,GAAMF,GAAG,KAAK,CAAC,GACnBC,EAAI,MAAMC,EAAK,GAAG,KAAK,CAAC,GACpB,KAAK,IAAG,KAAK,KAAKA,EAAK,IACtB,KAAK,IAAIA,EAAK;AAAA,EACrB;AAAA,EACA,SAAS,WAAW;AAClB,WAAO,KAAK;AAAA,EACd;AACF;AAEA,IAAIA,IAAO,IAAIH,EAAA;AAEf,SAASE,EAAIH,GAAOK,GAAGC,GAAG;AACxB,MAAIC,IAAIP,EAAM,IAAIK,IAAIC,GAClBE,IAAKD,IAAIF,GACTI,IAAKF,IAAIC;AACb,EAAAR,EAAM,IAAKK,IAAII,KAAOH,IAAIE;AAC5B;","x_google_ignoreList":[0]}
@@ -1,44 +1,20 @@
1
- function p(l, s, x, d, y, a) {
2
- var n = l[0], u = l[1], c = s[0], o = s[1], f = 0, r = 1, e = c - n, t = o - u, i;
3
- if (i = x - n, !(!e && i > 0)) {
4
- if (i /= e, e < 0) {
5
- if (i < f) return;
6
- i < r && (r = i);
7
- } else if (e > 0) {
8
- if (i > r) return;
9
- i > f && (f = i);
10
- }
11
- if (i = y - n, !(!e && i < 0)) {
12
- if (i /= e, e < 0) {
13
- if (i > r) return;
14
- i > f && (f = i);
15
- } else if (e > 0) {
16
- if (i < f) return;
17
- i < r && (r = i);
18
- }
19
- if (i = d - u, !(!t && i > 0)) {
20
- if (i /= t, t < 0) {
21
- if (i < f) return;
22
- i < r && (r = i);
23
- } else if (t > 0) {
24
- if (i > r) return;
25
- i > f && (f = i);
26
- }
27
- if (i = a - u, !(!t && i < 0)) {
28
- if (i /= t, t < 0) {
29
- if (i > r) return;
30
- i > f && (f = i);
31
- } else if (t > 0) {
32
- if (i < f) return;
33
- i < r && (r = i);
34
- }
35
- return f > 0 && (l[0] = n + f * e, l[1] = u + f * t), r < 1 && (s[0] = n + r * e, s[1] = u + r * t), !0;
36
- }
37
- }
38
- }
1
+ import { spherical as p, cartesian as x, cartesianNormalizeInPlace as z } from "./index.es245.js";
2
+ import { tau as l, acos as I, epsilon as N, cos as v, sin as R } from "./index.es246.js";
3
+ import "./index.es191.js";
4
+ function g(m, r, e, c, a, s) {
5
+ if (e) {
6
+ var u = v(r), o = R(r), n = c * e;
7
+ a == null ? (a = r + c * l, s = r - n / 2) : (a = h(u, a), s = h(u, s), (c > 0 ? a < s : a > s) && (a += c * l));
8
+ for (var i, f = a; c > 0 ? f > s : f < s; f -= n)
9
+ i = p([u, -o * v(f), -o * R(f)]), m.point(i[0], i[1]);
39
10
  }
40
11
  }
12
+ function h(m, r) {
13
+ r = x(r), r[0] -= m, z(r);
14
+ var e = I(-r[1]);
15
+ return ((-r[2] < 0 ? -e : e) + l - N) % l;
16
+ }
41
17
  export {
42
- p as default
18
+ g as circleStream
43
19
  };
44
20
  //# sourceMappingURL=index.es244.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es244.js","sources":["../../../node_modules/d3-geo/src/clip/line.js"],"sourcesContent":["export default function(a, b, x0, y0, x1, y1) {\n var ax = a[0],\n ay = a[1],\n bx = b[0],\n by = b[1],\n t0 = 0,\n t1 = 1,\n dx = bx - ax,\n dy = by - ay,\n r;\n\n r = x0 - ax;\n if (!dx && r > 0) return;\n r /= dx;\n if (dx < 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n } else if (dx > 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n }\n\n r = x1 - ax;\n if (!dx && r < 0) return;\n r /= dx;\n if (dx < 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n } else if (dx > 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n }\n\n r = y0 - ay;\n if (!dy && r > 0) return;\n r /= dy;\n if (dy < 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n } else if (dy > 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n }\n\n r = y1 - ay;\n if (!dy && r < 0) return;\n r /= dy;\n if (dy < 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n } else if (dy > 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n }\n\n if (t0 > 0) a[0] = ax + t0 * dx, a[1] = ay + t0 * dy;\n if (t1 < 1) b[0] = ax + t1 * dx, b[1] = ay + t1 * dy;\n return true;\n}\n"],"names":["clipLine","a","b","x0","y0","x1","y1","ax","ay","bx","by","t0","t1","dx","dy","r"],"mappings":"AAAA,SAAAA,EAAwBC,GAAGC,GAAGC,GAAIC,GAAIC,GAAIC,GAAI;AAC5C,MAAIC,IAAKN,EAAE,CAAC,GACRO,IAAKP,EAAE,CAAC,GACRQ,IAAKP,EAAE,CAAC,GACRQ,IAAKR,EAAE,CAAC,GACRS,IAAK,GACLC,IAAK,GACLC,IAAKJ,IAAKF,GACVO,IAAKJ,IAAKF,GACVO;AAGJ,MADAA,IAAIZ,IAAKI,GACL,GAACM,KAAME,IAAI,IAEf;AAAA,QADAA,KAAKF,GACDA,IAAK,GAAG;AACV,UAAIE,IAAIJ,EAAI;AACZ,MAAII,IAAIH,MAAIA,IAAKG;AAAA,IACnB,WAAWF,IAAK,GAAG;AACjB,UAAIE,IAAIH,EAAI;AACZ,MAAIG,IAAIJ,MAAIA,IAAKI;AAAA,IACnB;AAGA,QADAA,IAAIV,IAAKE,GACL,GAACM,KAAME,IAAI,IAEf;AAAA,UADAA,KAAKF,GACDA,IAAK,GAAG;AACV,YAAIE,IAAIH,EAAI;AACZ,QAAIG,IAAIJ,MAAIA,IAAKI;AAAA,MACnB,WAAWF,IAAK,GAAG;AACjB,YAAIE,IAAIJ,EAAI;AACZ,QAAII,IAAIH,MAAIA,IAAKG;AAAA,MACnB;AAGA,UADAA,IAAIX,IAAKI,GACL,GAACM,KAAMC,IAAI,IAEf;AAAA,YADAA,KAAKD,GACDA,IAAK,GAAG;AACV,cAAIC,IAAIJ,EAAI;AACZ,UAAII,IAAIH,MAAIA,IAAKG;AAAA,QACnB,WAAWD,IAAK,GAAG;AACjB,cAAIC,IAAIH,EAAI;AACZ,UAAIG,IAAIJ,MAAIA,IAAKI;AAAA,QACnB;AAGA,YADAA,IAAIT,IAAKE,GACL,GAACM,KAAMC,IAAI,IAEf;AAAA,cADAA,KAAKD,GACDA,IAAK,GAAG;AACV,gBAAIC,IAAIH,EAAI;AACZ,YAAIG,IAAIJ,MAAIA,IAAKI;AAAA,UACnB,WAAWD,IAAK,GAAG;AACjB,gBAAIC,IAAIJ,EAAI;AACZ,YAAII,IAAIH,MAAIA,IAAKG;AAAA,UACnB;AAEA,iBAAIJ,IAAK,MAAGV,EAAE,CAAC,IAAIM,IAAKI,IAAKE,GAAIZ,EAAE,CAAC,IAAIO,IAAKG,IAAKG,IAC9CF,IAAK,MAAGV,EAAE,CAAC,IAAIK,IAAKK,IAAKC,GAAIX,EAAE,CAAC,IAAIM,IAAKI,IAAKE,IAC3C;AAAA;AAAA;AAAA;AAAA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es244.js","sources":["../../../node_modules/d3-geo/src/circle.js"],"sourcesContent":["import {cartesian, cartesianNormalizeInPlace, spherical} from \"./cartesian\";\nimport constant from \"./constant\";\nimport {acos, cos, degrees, epsilon, radians, sin, tau} from \"./math\";\nimport {rotateRadians} from \"./rotation\";\n\n// Generates a circle centered at [0°, 0°], with a given radius and precision.\nexport function circleStream(stream, radius, delta, direction, t0, t1) {\n if (!delta) return;\n var cosRadius = cos(radius),\n sinRadius = sin(radius),\n step = direction * delta;\n if (t0 == null) {\n t0 = radius + direction * tau;\n t1 = radius - step / 2;\n } else {\n t0 = circleRadius(cosRadius, t0);\n t1 = circleRadius(cosRadius, t1);\n if (direction > 0 ? t0 < t1 : t0 > t1) t0 += direction * tau;\n }\n for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {\n point = spherical([cosRadius, -sinRadius * cos(t), -sinRadius * sin(t)]);\n stream.point(point[0], point[1]);\n }\n}\n\n// Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].\nfunction circleRadius(cosRadius, point) {\n point = cartesian(point), point[0] -= cosRadius;\n cartesianNormalizeInPlace(point);\n var radius = acos(-point[1]);\n return ((-point[2] < 0 ? -radius : radius) + tau - epsilon) % tau;\n}\n\nexport default function() {\n var center = constant([0, 0]),\n radius = constant(90),\n precision = constant(6),\n ring,\n rotate,\n stream = {point: point};\n\n function point(x, y) {\n ring.push(x = rotate(x, y));\n x[0] *= degrees, x[1] *= degrees;\n }\n\n function circle() {\n var c = center.apply(this, arguments),\n r = radius.apply(this, arguments) * radians,\n p = precision.apply(this, arguments) * radians;\n ring = [];\n rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;\n circleStream(stream, r, p, 1);\n c = {type: \"Polygon\", coordinates: [ring]};\n ring = rotate = null;\n return c;\n }\n\n circle.center = function(_) {\n return arguments.length ? (center = typeof _ === \"function\" ? _ : constant([+_[0], +_[1]]), circle) : center;\n };\n\n circle.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), circle) : radius;\n };\n\n circle.precision = function(_) {\n return arguments.length ? (precision = typeof _ === \"function\" ? _ : constant(+_), circle) : precision;\n };\n\n return circle;\n}\n"],"names":["circleStream","stream","radius","delta","direction","t0","t1","cosRadius","cos","sinRadius","sin","step","tau","circleRadius","point","t","spherical","cartesian","cartesianNormalizeInPlace","acos","epsilon"],"mappings":";;;AAMO,SAASA,EAAaC,GAAQC,GAAQC,GAAOC,GAAWC,GAAIC,GAAI;AACrE,MAAKH,GACL;AAAA,QAAII,IAAYC,EAAIN,CAAM,GACtBO,IAAYC,EAAIR,CAAM,GACtBS,IAAOP,IAAYD;AACvB,IAAIE,KAAM,QACRA,IAAKH,IAASE,IAAYQ,GAC1BN,IAAKJ,IAASS,IAAO,MAErBN,IAAKQ,EAAaN,GAAWF,CAAE,GAC/BC,IAAKO,EAAaN,GAAWD,CAAE,IAC3BF,IAAY,IAAIC,IAAKC,IAAKD,IAAKC,YAAUF,IAAYQ;AAE3D,aAASE,GAAOC,IAAIV,GAAID,IAAY,IAAIW,IAAIT,IAAKS,IAAIT,GAAIS,KAAKJ;AAC5D,MAAAG,IAAQE,EAAU,CAACT,GAAW,CAACE,IAAYD,EAAIO,CAAC,GAAG,CAACN,IAAYC,EAAIK,CAAC,CAAC,CAAC,GACvEd,EAAO,MAAMa,EAAM,CAAC,GAAGA,EAAM,CAAC,CAAC;AAAA;AAEnC;AAGA,SAASD,EAAaN,GAAWO,GAAO;AACtC,EAAAA,IAAQG,EAAUH,CAAK,GAAGA,EAAM,CAAC,KAAKP,GACtCW,EAA0BJ,CAAK;AAC/B,MAAIZ,IAASiB,EAAK,CAACL,EAAM,CAAC,CAAC;AAC3B,WAAS,CAACA,EAAM,CAAC,IAAI,IAAI,CAACZ,IAASA,KAAUU,IAAMQ,KAAWR;AAChE;","x_google_ignoreList":[0]}
@@ -1,53 +1,34 @@
1
- import a from "./index.es264.js";
2
- function g(f, v, h, o) {
3
- this.x = f, this.z = v, this.o = h, this.e = o, this.v = !1, this.n = this.p = null;
1
+ import { sin as c, cos as o, sqrt as e, atan2 as u, asin as s } from "./index.es246.js";
2
+ function f(n) {
3
+ return [u(n[1], n[0]), s(n[2])];
4
4
  }
5
- function B(f, v, h, o, n) {
6
- var s = [], w = [], l, E;
7
- if (f.forEach(function(x) {
8
- if (!((e = x.length - 1) <= 0)) {
9
- var e, z = x[0], k = x[e], t;
10
- if (a(z, k)) {
11
- for (n.lineStart(), l = 0; l < e; ++l) n.point((z = x[l])[0], z[1]);
12
- n.lineEnd();
13
- return;
14
- }
15
- s.push(t = new g(z, x, null, !0)), w.push(t.o = new g(z, null, t, !1)), s.push(t = new g(k, x, null, !1)), w.push(t.o = new g(k, null, t, !0));
16
- }
17
- }), !!s.length) {
18
- for (w.sort(v), P(s), P(w), l = 0, E = w.length; l < E; ++l)
19
- w[l].e = h = !h;
20
- for (var q = s[0], p, d; ; ) {
21
- for (var i = q, u = !0; i.v; ) if ((i = i.n) === q) return;
22
- p = i.z, n.lineStart();
23
- do {
24
- if (i.v = i.o.v = !0, i.e) {
25
- if (u)
26
- for (l = 0, E = p.length; l < E; ++l) n.point((d = p[l])[0], d[1]);
27
- else
28
- o(i.x, i.n.x, 1, n);
29
- i = i.n;
30
- } else {
31
- if (u)
32
- for (p = i.p.z, l = p.length - 1; l >= 0; --l) n.point((d = p[l])[0], d[1]);
33
- else
34
- o(i.x, i.p.x, -1, n);
35
- i = i.p;
36
- }
37
- i = i.o, p = i.z, u = !u;
38
- } while (!i.v);
39
- n.lineEnd();
40
- }
41
- }
5
+ function l(n) {
6
+ var r = n[0], t = n[1], i = o(t);
7
+ return [i * o(r), i * c(r), c(t)];
42
8
  }
43
- function P(f) {
44
- if (v = f.length) {
45
- for (var v, h = 0, o = f[0], n; ++h < v; )
46
- o.n = n = f[h], n.p = o, o = n;
47
- o.n = n = f[0], n.p = o;
48
- }
9
+ function m(n, r) {
10
+ return n[0] * r[0] + n[1] * r[1] + n[2] * r[2];
11
+ }
12
+ function p(n, r) {
13
+ return [n[1] * r[2] - n[2] * r[1], n[2] * r[0] - n[0] * r[2], n[0] * r[1] - n[1] * r[0]];
14
+ }
15
+ function P(n, r) {
16
+ n[0] += r[0], n[1] += r[1], n[2] += r[2];
17
+ }
18
+ function h(n, r) {
19
+ return [n[0] * r, n[1] * r, n[2] * r];
20
+ }
21
+ function I(n) {
22
+ var r = e(n[0] * n[0] + n[1] * n[1] + n[2] * n[2]);
23
+ n[0] /= r, n[1] /= r, n[2] /= r;
49
24
  }
50
25
  export {
51
- B as default
26
+ l as cartesian,
27
+ P as cartesianAddInPlace,
28
+ p as cartesianCross,
29
+ m as cartesianDot,
30
+ I as cartesianNormalizeInPlace,
31
+ h as cartesianScale,
32
+ f as spherical
52
33
  };
53
34
  //# sourceMappingURL=index.es245.js.map