@performant-software/geospatial 1.2.0-beta.28 → 1.2.0-beta.29

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 (366) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs100.js +1 -1
  3. package/dist/index.cjs104.js +1 -1
  4. package/dist/index.cjs107.js +1 -1
  5. package/dist/index.cjs111.js +1 -1
  6. package/dist/index.cjs114.js +1 -1
  7. package/dist/index.cjs122.js +1 -1
  8. package/dist/index.cjs123.js +1 -1
  9. package/dist/index.cjs124.js +1 -1
  10. package/dist/index.cjs125.js +1 -1
  11. package/dist/index.cjs126.js +1 -1
  12. package/dist/index.cjs127.js +1 -1
  13. package/dist/index.cjs128.js +1 -1
  14. package/dist/index.cjs13.js +1 -1
  15. package/dist/index.cjs130.js +1 -1
  16. package/dist/index.cjs131.js +1 -1
  17. package/dist/index.cjs132.js +1 -1
  18. package/dist/index.cjs133.js +1 -1
  19. package/dist/index.cjs134.js +1 -1
  20. package/dist/index.cjs135.js +1 -1
  21. package/dist/index.cjs136.js +1 -1
  22. package/dist/index.cjs137.js +1 -1
  23. package/dist/index.cjs138.js +1 -1
  24. package/dist/index.cjs141.js +1 -1
  25. package/dist/index.cjs142.js +1 -1
  26. package/dist/index.cjs144.js +1 -1
  27. package/dist/index.cjs145.js +1 -1
  28. package/dist/index.cjs146.js +1 -1
  29. package/dist/index.cjs147.js +1 -1
  30. package/dist/index.cjs148.js +1 -1
  31. package/dist/index.cjs149.js +1 -1
  32. package/dist/index.cjs150.js +1 -1
  33. package/dist/index.cjs151.js +1 -1
  34. package/dist/index.cjs157.js +1 -1
  35. package/dist/index.cjs158.js +1 -1
  36. package/dist/index.cjs159.js +1 -1
  37. package/dist/index.cjs16.js +1 -1
  38. package/dist/index.cjs160.js +1 -1
  39. package/dist/index.cjs161.js +1 -1
  40. package/dist/index.cjs164.js +1 -1
  41. package/dist/index.cjs165.js +1 -1
  42. package/dist/index.cjs166.js +1 -1
  43. package/dist/index.cjs167.js +1 -1
  44. package/dist/index.cjs168.js +1 -1
  45. package/dist/index.cjs169.js +1 -1
  46. package/dist/index.cjs170.js +1 -1
  47. package/dist/index.cjs171.js +1 -1
  48. package/dist/index.cjs172.js +1 -1
  49. package/dist/index.cjs173.js +1 -1
  50. package/dist/index.cjs174.js +1 -1
  51. package/dist/index.cjs18.js +1 -1
  52. package/dist/index.cjs191.js +1 -1
  53. package/dist/index.cjs191.js.map +1 -1
  54. package/dist/index.cjs192.js +1 -1
  55. package/dist/index.cjs192.js.map +1 -1
  56. package/dist/index.cjs193.js +1 -1
  57. package/dist/index.cjs193.js.map +1 -1
  58. package/dist/index.cjs194.js +1 -1
  59. package/dist/index.cjs194.js.map +1 -1
  60. package/dist/index.cjs195.js +1 -1
  61. package/dist/index.cjs195.js.map +1 -1
  62. package/dist/index.cjs196.js +1 -1
  63. package/dist/index.cjs196.js.map +1 -1
  64. package/dist/index.cjs197.js +1 -1
  65. package/dist/index.cjs197.js.map +1 -1
  66. package/dist/index.cjs198.js +1 -1
  67. package/dist/index.cjs198.js.map +1 -1
  68. package/dist/index.cjs199.js +1 -1
  69. package/dist/index.cjs199.js.map +1 -1
  70. package/dist/index.cjs20.js +1 -1
  71. package/dist/index.cjs200.js +1 -1
  72. package/dist/index.cjs200.js.map +1 -1
  73. package/dist/index.cjs201.js +1 -1
  74. package/dist/index.cjs201.js.map +1 -1
  75. package/dist/index.cjs202.js +1 -1
  76. package/dist/index.cjs202.js.map +1 -1
  77. package/dist/index.cjs203.js +1 -1
  78. package/dist/index.cjs203.js.map +1 -1
  79. package/dist/index.cjs204.js +1 -1
  80. package/dist/index.cjs204.js.map +1 -1
  81. package/dist/index.cjs205.js +1 -1
  82. package/dist/index.cjs205.js.map +1 -1
  83. package/dist/index.cjs206.js +1 -1
  84. package/dist/index.cjs206.js.map +1 -1
  85. package/dist/index.cjs207.js +1 -1
  86. package/dist/index.cjs207.js.map +1 -1
  87. package/dist/index.cjs208.js +1 -1
  88. package/dist/index.cjs208.js.map +1 -1
  89. package/dist/index.cjs209.js +1 -1
  90. package/dist/index.cjs209.js.map +1 -1
  91. package/dist/index.cjs21.js +1 -1
  92. package/dist/index.cjs210.js +1 -1
  93. package/dist/index.cjs210.js.map +1 -1
  94. package/dist/index.cjs211.js +1 -1
  95. package/dist/index.cjs211.js.map +1 -1
  96. package/dist/index.cjs212.js +1 -1
  97. package/dist/index.cjs212.js.map +1 -1
  98. package/dist/index.cjs213.js +1 -1
  99. package/dist/index.cjs213.js.map +1 -1
  100. package/dist/index.cjs214.js +1 -1
  101. package/dist/index.cjs214.js.map +1 -1
  102. package/dist/index.cjs215.js +1 -1
  103. package/dist/index.cjs215.js.map +1 -1
  104. package/dist/index.cjs216.js +1 -1
  105. package/dist/index.cjs216.js.map +1 -1
  106. package/dist/index.cjs217.js +1 -1
  107. package/dist/index.cjs217.js.map +1 -1
  108. package/dist/index.cjs218.js +1 -1
  109. package/dist/index.cjs218.js.map +1 -1
  110. package/dist/index.cjs219.js +1 -1
  111. package/dist/index.cjs219.js.map +1 -1
  112. package/dist/index.cjs22.js +1 -1
  113. package/dist/index.cjs220.js +1 -1
  114. package/dist/index.cjs220.js.map +1 -1
  115. package/dist/index.cjs221.js +1 -1
  116. package/dist/index.cjs221.js.map +1 -1
  117. package/dist/index.cjs222.js +1 -1
  118. package/dist/index.cjs222.js.map +1 -1
  119. package/dist/index.cjs223.js +1 -1
  120. package/dist/index.cjs223.js.map +1 -1
  121. package/dist/index.cjs224.js +1 -1
  122. package/dist/index.cjs224.js.map +1 -1
  123. package/dist/index.cjs225.js +1 -1
  124. package/dist/index.cjs225.js.map +1 -1
  125. package/dist/index.cjs226.js +1 -1
  126. package/dist/index.cjs227.js +1 -1
  127. package/dist/index.cjs227.js.map +1 -1
  128. package/dist/index.cjs228.js +1 -1
  129. package/dist/index.cjs228.js.map +1 -1
  130. package/dist/index.cjs229.js +1 -1
  131. package/dist/index.cjs24.js +1 -1
  132. package/dist/index.cjs25.js +1 -1
  133. package/dist/index.cjs26.js +1 -1
  134. package/dist/index.cjs28.js +1 -1
  135. package/dist/index.cjs29.js +1 -1
  136. package/dist/index.cjs30.js +1 -1
  137. package/dist/index.cjs34.js +1 -1
  138. package/dist/index.cjs35.js +1 -1
  139. package/dist/index.cjs36.js +1 -1
  140. package/dist/index.cjs38.js +1 -1
  141. package/dist/index.cjs39.js +1 -1
  142. package/dist/index.cjs41.js +1 -1
  143. package/dist/index.cjs42.js +1 -1
  144. package/dist/index.cjs43.js +1 -1
  145. package/dist/index.cjs46.js +1 -1
  146. package/dist/index.cjs52.js +1 -1
  147. package/dist/index.cjs53.js +1 -9
  148. package/dist/index.cjs53.js.map +1 -1
  149. package/dist/index.cjs54.js +1 -19
  150. package/dist/index.cjs54.js.map +1 -1
  151. package/dist/index.cjs55.js +9 -1
  152. package/dist/index.cjs55.js.map +1 -1
  153. package/dist/index.cjs56.js +19 -1
  154. package/dist/index.cjs56.js.map +1 -1
  155. package/dist/index.cjs57.js +1 -1
  156. package/dist/index.cjs58.js +1 -1
  157. package/dist/index.cjs58.js.map +1 -1
  158. package/dist/index.cjs59.js +1 -1
  159. package/dist/index.cjs59.js.map +1 -1
  160. package/dist/index.cjs63.js +1 -1
  161. package/dist/index.cjs70.js +1 -1
  162. package/dist/index.cjs71.js +1 -1
  163. package/dist/index.cjs72.js +1 -1
  164. package/dist/index.cjs73.js +1 -1
  165. package/dist/index.cjs74.js +1 -1
  166. package/dist/index.cjs75.js +1 -1
  167. package/dist/index.cjs76.js +1 -1
  168. package/dist/index.cjs77.js +1 -1
  169. package/dist/index.cjs78.js +1 -1
  170. package/dist/index.cjs81.js +1 -1
  171. package/dist/index.cjs82.js +1 -1
  172. package/dist/index.cjs84.js +1 -1
  173. package/dist/index.cjs85.js +1 -1
  174. package/dist/index.cjs86.js +1 -1
  175. package/dist/index.cjs87.js +1 -1
  176. package/dist/index.cjs92.js +1 -1
  177. package/dist/index.cjs93.js +1 -1
  178. package/dist/index.cjs94.js +1 -1
  179. package/dist/index.cjs95.js +1 -1
  180. package/dist/index.cjs98.js +1 -1
  181. package/dist/index.cjs99.js +1 -1
  182. package/dist/index.es10.js +2 -2
  183. package/dist/index.es100.js +1 -1
  184. package/dist/index.es104.js +2 -2
  185. package/dist/index.es107.js +1 -1
  186. package/dist/index.es111.js +1 -1
  187. package/dist/index.es114.js +1 -1
  188. package/dist/index.es122.js +1 -1
  189. package/dist/index.es123.js +1 -1
  190. package/dist/index.es124.js +1 -1
  191. package/dist/index.es125.js +2 -2
  192. package/dist/index.es126.js +1 -1
  193. package/dist/index.es127.js +1 -1
  194. package/dist/index.es128.js +1 -1
  195. package/dist/index.es13.js +3 -3
  196. package/dist/index.es130.js +2 -2
  197. package/dist/index.es131.js +2 -2
  198. package/dist/index.es132.js +1 -1
  199. package/dist/index.es133.js +1 -1
  200. package/dist/index.es134.js +1 -1
  201. package/dist/index.es135.js +1 -1
  202. package/dist/index.es136.js +2 -2
  203. package/dist/index.es137.js +2 -2
  204. package/dist/index.es138.js +1 -1
  205. package/dist/index.es141.js +2 -2
  206. package/dist/index.es142.js +2 -2
  207. package/dist/index.es144.js +2 -2
  208. package/dist/index.es145.js +1 -1
  209. package/dist/index.es146.js +2 -2
  210. package/dist/index.es147.js +1 -1
  211. package/dist/index.es148.js +2 -2
  212. package/dist/index.es149.js +1 -1
  213. package/dist/index.es150.js +1 -1
  214. package/dist/index.es151.js +1 -1
  215. package/dist/index.es157.js +1 -1
  216. package/dist/index.es158.js +2 -2
  217. package/dist/index.es159.js +1 -1
  218. package/dist/index.es16.js +1 -1
  219. package/dist/index.es160.js +1 -1
  220. package/dist/index.es161.js +1 -1
  221. package/dist/index.es164.js +1 -1
  222. package/dist/index.es165.js +4 -4
  223. package/dist/index.es166.js +2 -2
  224. package/dist/index.es167.js +2 -2
  225. package/dist/index.es168.js +1 -1
  226. package/dist/index.es169.js +1 -1
  227. package/dist/index.es170.js +1 -1
  228. package/dist/index.es171.js +1 -1
  229. package/dist/index.es172.js +1 -1
  230. package/dist/index.es173.js +2 -2
  231. package/dist/index.es174.js +2 -2
  232. package/dist/index.es18.js +2 -2
  233. package/dist/index.es191.js +320 -7
  234. package/dist/index.es191.js.map +1 -1
  235. package/dist/index.es192.js +74 -4
  236. package/dist/index.es192.js.map +1 -1
  237. package/dist/index.es193.js +3 -4
  238. package/dist/index.es193.js.map +1 -1
  239. package/dist/index.es194.js +16 -3
  240. package/dist/index.es194.js.map +1 -1
  241. package/dist/index.es195.js +11 -3
  242. package/dist/index.es195.js.map +1 -1
  243. package/dist/index.es196.js +30 -8
  244. package/dist/index.es196.js.map +1 -1
  245. package/dist/index.es197.js +4 -21
  246. package/dist/index.es197.js.map +1 -1
  247. package/dist/index.es198.js +2 -22
  248. package/dist/index.es198.js.map +1 -1
  249. package/dist/index.es199.js +6 -12
  250. package/dist/index.es199.js.map +1 -1
  251. package/dist/index.es20.js +2 -2
  252. package/dist/index.es200.js +4 -16
  253. package/dist/index.es200.js.map +1 -1
  254. package/dist/index.es201.js +4 -6
  255. package/dist/index.es201.js.map +1 -1
  256. package/dist/index.es202.js +3 -9
  257. package/dist/index.es202.js.map +1 -1
  258. package/dist/index.es203.js +3 -7
  259. package/dist/index.es203.js.map +1 -1
  260. package/dist/index.es204.js +8 -21
  261. package/dist/index.es204.js.map +1 -1
  262. package/dist/index.es205.js +20 -8
  263. package/dist/index.es205.js.map +1 -1
  264. package/dist/index.es206.js +22 -9
  265. package/dist/index.es206.js.map +1 -1
  266. package/dist/index.es207.js +14 -4
  267. package/dist/index.es207.js.map +1 -1
  268. package/dist/index.es208.js +16 -10
  269. package/dist/index.es208.js.map +1 -1
  270. package/dist/index.es209.js +5 -8
  271. package/dist/index.es209.js.map +1 -1
  272. package/dist/index.es21.js +2 -2
  273. package/dist/index.es210.js +7 -21
  274. package/dist/index.es210.js.map +1 -1
  275. package/dist/index.es211.js +6 -11
  276. package/dist/index.es211.js.map +1 -1
  277. package/dist/index.es212.js +20 -17
  278. package/dist/index.es212.js.map +1 -1
  279. package/dist/index.es213.js +10 -4
  280. package/dist/index.es213.js.map +1 -1
  281. package/dist/index.es214.js +9 -18
  282. package/dist/index.es214.js.map +1 -1
  283. package/dist/index.es215.js +4 -12
  284. package/dist/index.es215.js.map +1 -1
  285. package/dist/index.es216.js +10 -3
  286. package/dist/index.es216.js.map +1 -1
  287. package/dist/index.es217.js +8 -4
  288. package/dist/index.es217.js.map +1 -1
  289. package/dist/index.es218.js +22 -320
  290. package/dist/index.es218.js.map +1 -1
  291. package/dist/index.es219.js +10 -73
  292. package/dist/index.es219.js.map +1 -1
  293. package/dist/index.es22.js +2 -2
  294. package/dist/index.es220.js +19 -3
  295. package/dist/index.es220.js.map +1 -1
  296. package/dist/index.es221.js +4 -16
  297. package/dist/index.es221.js.map +1 -1
  298. package/dist/index.es222.js +17 -10
  299. package/dist/index.es222.js.map +1 -1
  300. package/dist/index.es223.js +11 -30
  301. package/dist/index.es223.js.map +1 -1
  302. package/dist/index.es224.js +3 -4
  303. package/dist/index.es224.js.map +1 -1
  304. package/dist/index.es225.js +5 -2
  305. package/dist/index.es225.js.map +1 -1
  306. package/dist/index.es226.js +1 -1
  307. package/dist/index.es227.js +6 -4
  308. package/dist/index.es227.js.map +1 -1
  309. package/dist/index.es228.js +4 -6
  310. package/dist/index.es228.js.map +1 -1
  311. package/dist/index.es229.js +1 -1
  312. package/dist/index.es24.js +1 -1
  313. package/dist/index.es25.js +2 -2
  314. package/dist/index.es26.js +2 -2
  315. package/dist/index.es28.js +1 -1
  316. package/dist/index.es29.js +1 -1
  317. package/dist/index.es30.js +1 -1
  318. package/dist/index.es34.js +2 -2
  319. package/dist/index.es35.js +3 -3
  320. package/dist/index.es36.js +1 -1
  321. package/dist/index.es38.js +1 -1
  322. package/dist/index.es39.js +1 -1
  323. package/dist/index.es41.js +1 -1
  324. package/dist/index.es42.js +2 -2
  325. package/dist/index.es43.js +2 -2
  326. package/dist/index.es46.js +2 -2
  327. package/dist/index.es52.js +6 -2
  328. package/dist/index.es52.js.map +1 -1
  329. package/dist/index.es53.js +2 -30
  330. package/dist/index.es53.js.map +1 -1
  331. package/dist/index.es54.js +2 -602
  332. package/dist/index.es54.js.map +1 -1
  333. package/dist/index.es55.js +28 -105
  334. package/dist/index.es55.js.map +1 -1
  335. package/dist/index.es56.js +602 -10
  336. package/dist/index.es56.js.map +1 -1
  337. package/dist/index.es57.js +2 -6
  338. package/dist/index.es57.js.map +1 -1
  339. package/dist/index.es58.js +107 -2
  340. package/dist/index.es58.js.map +1 -1
  341. package/dist/index.es59.js +10 -2
  342. package/dist/index.es59.js.map +1 -1
  343. package/dist/index.es63.js +1 -1
  344. package/dist/index.es70.js +1 -1
  345. package/dist/index.es71.js +1 -1
  346. package/dist/index.es72.js +1 -1
  347. package/dist/index.es73.js +1 -1
  348. package/dist/index.es74.js +1 -1
  349. package/dist/index.es75.js +1 -1
  350. package/dist/index.es76.js +1 -1
  351. package/dist/index.es77.js +1 -1
  352. package/dist/index.es78.js +1 -1
  353. package/dist/index.es81.js +1 -1
  354. package/dist/index.es82.js +1 -1
  355. package/dist/index.es84.js +3 -3
  356. package/dist/index.es85.js +1 -1
  357. package/dist/index.es86.js +2 -2
  358. package/dist/index.es87.js +1 -1
  359. package/dist/index.es92.js +1 -1
  360. package/dist/index.es93.js +1 -1
  361. package/dist/index.es94.js +1 -1
  362. package/dist/index.es95.js +1 -1
  363. package/dist/index.es98.js +2 -2
  364. package/dist/index.es99.js +2 -2
  365. package/dist/style.css +1 -1
  366. package/package.json +1 -1
@@ -1,22 +1,25 @@
1
- import c from "./index.es194.js";
2
- import { slice as m } from "./index.es15.js";
3
- import p from "./index.es80.js";
4
- function M(o, l, u) {
5
- return function(t, f, e) {
6
- var r = 0, n = c(t);
7
- if (typeof e == "number")
8
- o > 0 ? r = e >= 0 ? e : Math.max(e + n, r) : n = e >= 0 ? Math.min(e + 1, n) : e + n + 1;
9
- else if (u && e && n)
10
- return e = u(t, f), t[e] === f ? e : -1;
11
- if (f !== f)
12
- return e = l(m.call(t, r, n), p), e >= 0 ? e + r : -1;
13
- for (e = o > 0 ? r : n - 1; e >= 0 && e < n; e += o)
14
- if (t[e] === f)
15
- return e;
16
- return -1;
1
+ function a(r, e, l) {
2
+ if (e === void 0)
3
+ return r;
4
+ switch (l ?? 3) {
5
+ case 1:
6
+ return function(n) {
7
+ return r.call(e, n);
8
+ };
9
+ case 3:
10
+ return function(n, u, i) {
11
+ return r.call(e, n, u, i);
12
+ };
13
+ case 4:
14
+ return function(n, u, i, t) {
15
+ return r.call(e, n, u, i, t);
16
+ };
17
+ }
18
+ return function() {
19
+ return r.apply(e, arguments);
17
20
  };
18
21
  }
19
22
  export {
20
- M as default
23
+ a as default
21
24
  };
22
25
  //# sourceMappingURL=index.es212.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es212.js","sources":["../../../node_modules/underscore/modules/_createIndexFinder.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport { slice } from './_setup.js';\nimport isNaN from './isNaN.js';\n\n// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions.\nexport default function createIndexFinder(dir, predicateFind, sortedIndex) {\n return function(array, item, idx) {\n var i = 0, length = getLength(array);\n if (typeof idx == 'number') {\n if (dir > 0) {\n i = idx >= 0 ? idx : Math.max(idx + length, i);\n } else {\n length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1;\n }\n } else if (sortedIndex && idx && length) {\n idx = sortedIndex(array, item);\n return array[idx] === item ? idx : -1;\n }\n if (item !== item) {\n idx = predicateFind(slice.call(array, i, length), isNaN);\n return idx >= 0 ? idx + i : -1;\n }\n for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) {\n if (array[idx] === item) return idx;\n }\n return -1;\n };\n}\n"],"names":["createIndexFinder","dir","predicateFind","sortedIndex","array","item","idx","i","length","getLength","slice","isNaN"],"mappings":";;;AAKwB,SAAAA,EAAkBC,GAAKC,GAAeC,GAAa;AAClE,SAAA,SAASC,GAAOC,GAAMC,GAAK;AAChC,QAAIC,IAAI,GAAGC,IAASC,EAAUL,CAAK;AAC/B,QAAA,OAAOE,KAAO;AAChB,MAAIL,IAAM,IACRM,IAAID,KAAO,IAAIA,IAAM,KAAK,IAAIA,IAAME,GAAQD,CAAC,IAEpCC,IAAAF,KAAO,IAAI,KAAK,IAAIA,IAAM,GAAGE,CAAM,IAAIF,IAAME,IAAS;AAAA,aAExDL,KAAeG,KAAOE;AACzB,aAAAF,IAAAH,EAAYC,GAAOC,CAAI,GACtBD,EAAME,CAAG,MAAMD,IAAOC,IAAM;AAErC,QAAID,MAASA;AACX,aAAAC,IAAMJ,EAAcQ,EAAM,KAAKN,GAAOG,GAAGC,CAAM,GAAGG,CAAK,GAChDL,KAAO,IAAIA,IAAMC,IAAI;AAEzB,SAAAD,IAAML,IAAM,IAAIM,IAAIC,IAAS,GAAGF,KAAO,KAAKA,IAAME,GAAQF,KAAOL;AAChE,UAAAG,EAAME,CAAG,MAAMD;AAAa,eAAAC;AAE3B,WAAA;AAAA,EAAA;AAEX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es212.js","sources":["../../../node_modules/underscore/modules/_optimizeCb.js"],"sourcesContent":["// Internal function that returns an efficient (for current engines) version\n// of the passed-in callback, to be repeatedly applied in other Underscore\n// functions.\nexport default function optimizeCb(func, context, argCount) {\n if (context === void 0) return func;\n switch (argCount == null ? 3 : argCount) {\n case 1: return function(value) {\n return func.call(context, value);\n };\n // The 2-argument case is omitted because we’re not using it.\n case 3: return function(value, index, collection) {\n return func.call(context, value, index, collection);\n };\n case 4: return function(accumulator, value, index, collection) {\n return func.call(context, accumulator, value, index, collection);\n };\n }\n return function() {\n return func.apply(context, arguments);\n };\n}\n"],"names":["optimizeCb","func","context","argCount","value","index","collection","accumulator"],"mappings":"AAGwB,SAAAA,EAAWC,GAAMC,GAASC,GAAU;AAC1D,MAAID,MAAY;AAAe,WAAAD;AACvB,UAAAE,KAAmB,GAAc;AAAA,IACvC,KAAK;AAAG,aAAO,SAASC,GAAO;AACtB,eAAAH,EAAK,KAAKC,GAASE,CAAK;AAAA,MAAA;AAAA,IAGjC,KAAK;AAAU,aAAA,SAASA,GAAOC,GAAOC,GAAY;AAChD,eAAOL,EAAK,KAAKC,GAASE,GAAOC,GAAOC,CAAU;AAAA,MAAA;AAAA,IAEpD,KAAK;AAAG,aAAO,SAASC,GAAaH,GAAOC,GAAOC,GAAY;AAC7D,eAAOL,EAAK,KAAKC,GAASK,GAAaH,GAAOC,GAAOC,CAAU;AAAA,MAAA;AAAA,EAEnE;AACA,SAAO,WAAW;AACT,WAAAL,EAAK,MAAMC,GAAS,SAAS;AAAA,EAAA;AAExC;","x_google_ignoreList":[0]}
@@ -1,7 +1,13 @@
1
- import e from "./index.es228.js";
2
- import r from "./index.es194.js";
3
- const i = e(r);
1
+ import u from "./index.es86.js";
2
+ function n(r) {
3
+ var c = function(e) {
4
+ return r[e];
5
+ }, a = "(?:" + u(r).join("|") + ")", p = RegExp(a), t = RegExp(a, "g");
6
+ return function(e) {
7
+ return e = e == null ? "" : "" + e, p.test(e) ? e.replace(t, c) : e;
8
+ };
9
+ }
4
10
  export {
5
- i as default
11
+ n as default
6
12
  };
7
13
  //# sourceMappingURL=index.es213.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es213.js","sources":["../../../node_modules/underscore/modules/_isArrayLike.js"],"sourcesContent":["import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getLength from './_getLength.js';\n\n// Internal helper for collection methods to determine whether a collection\n// should be iterated as an array or as an object.\n// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength\n// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094\nexport default createSizePropertyCheck(getLength);\n"],"names":["isArrayLike","createSizePropertyCheck","getLength"],"mappings":";;AAOA,MAAeA,IAAAC,EAAwBC,CAAS;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es213.js","sources":["../../../node_modules/underscore/modules/_createEscaper.js"],"sourcesContent":["import keys from './keys.js';\n\n// Internal helper to generate functions for escaping and unescaping strings\n// to/from HTML interpolation.\nexport default function createEscaper(map) {\n var escaper = function(match) {\n return map[match];\n };\n // Regexes for identifying a key that needs to be escaped.\n var source = '(?:' + keys(map).join('|') + ')';\n var testRegexp = RegExp(source);\n var replaceRegexp = RegExp(source, 'g');\n return function(string) {\n string = string == null ? '' : '' + string;\n return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string;\n };\n}\n"],"names":["createEscaper","map","escaper","match","source","keys","testRegexp","replaceRegexp","string"],"mappings":";AAIA,SAAwBA,EAAcC,GAAK;AACrC,MAAAC,IAAU,SAASC,GAAO;AAC5B,WAAOF,EAAIE,CAAK;AAAA,EAAA,GAGdC,IAAS,QAAQC,EAAKJ,CAAG,EAAE,KAAK,GAAG,IAAI,KACvCK,IAAa,OAAOF,CAAM,GAC1BG,IAAgB,OAAOH,GAAQ,GAAG;AACtC,SAAO,SAASI,GAAQ;AACb,WAAAA,IAAAA,KAAU,OAAO,KAAK,KAAKA,GAC7BF,EAAW,KAAKE,CAAM,IAAIA,EAAO,QAAQD,GAAeL,CAAO,IAAIM;AAAA,EAAA;AAE9E;","x_google_ignoreList":[0]}
@@ -1,21 +1,12 @@
1
- import p from "./index.es213.js";
2
- import s from "./index.es86.js";
3
- import g from "./index.es204.js";
4
- function k(i) {
5
- var l = function(r, a, n, f) {
6
- var e = !p(r) && s(r), u = (e || r).length, t = i > 0 ? 0 : u - 1;
7
- for (f || (n = r[e ? e[t] : t], t += i); t >= 0 && t < u; t += i) {
8
- var c = e ? e[t] : t;
9
- n = a(n, r[c], c, r);
10
- }
11
- return n;
12
- };
13
- return function(r, a, n, f) {
14
- var e = arguments.length >= 3;
15
- return l(r, g(a, f, 4), n, e);
16
- };
17
- }
1
+ const t = {
2
+ "&": "&amp;",
3
+ "<": "&lt;",
4
+ ">": "&gt;",
5
+ '"': "&quot;",
6
+ "'": "&#x27;",
7
+ "`": "&#x60;"
8
+ };
18
9
  export {
19
- k as default
10
+ t as default
20
11
  };
21
12
  //# sourceMappingURL=index.es214.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es214.js","sources":["../../../node_modules/underscore/modules/_createReduce.js"],"sourcesContent":["import isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// Internal helper to create a reducing function, iterating left or right.\nexport default function createReduce(dir) {\n // Wrap code that reassigns argument variables in a separate function than\n // the one that accesses `arguments.length` to avoid a perf hit. (#1991)\n var reducer = function(obj, iteratee, memo, initial) {\n var _keys = !isArrayLike(obj) && keys(obj),\n length = (_keys || obj).length,\n index = dir > 0 ? 0 : length - 1;\n if (!initial) {\n memo = obj[_keys ? _keys[index] : index];\n index += dir;\n }\n for (; index >= 0 && index < length; index += dir) {\n var currentKey = _keys ? _keys[index] : index;\n memo = iteratee(memo, obj[currentKey], currentKey, obj);\n }\n return memo;\n };\n\n return function(obj, iteratee, memo, context) {\n var initial = arguments.length >= 3;\n return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial);\n };\n}\n"],"names":["createReduce","dir","reducer","obj","iteratee","memo","initial","_keys","isArrayLike","keys","length","index","currentKey","context","optimizeCb"],"mappings":";;;AAKA,SAAwBA,EAAaC,GAAK;AAGxC,MAAIC,IAAU,SAASC,GAAKC,GAAUC,GAAMC,GAAS;AACnD,QAAIC,IAAQ,CAACC,EAAYL,CAAG,KAAKM,EAAKN,CAAG,GACrCO,KAAUH,KAASJ,GAAK,QACxBQ,IAAQV,IAAM,IAAI,IAAIS,IAAS;AAKnC,SAJKJ,MACHD,IAAOF,EAAII,IAAQA,EAAMI,CAAK,IAAIA,CAAK,GAC9BA,KAAAV,IAEJU,KAAS,KAAKA,IAAQD,GAAQC,KAASV,GAAK;AACjD,UAAIW,IAAaL,IAAQA,EAAMI,CAAK,IAAIA;AACxC,MAAAN,IAAOD,EAASC,GAAMF,EAAIS,CAAU,GAAGA,GAAYT,CAAG;AAAA,IACxD;AACO,WAAAE;AAAA,EAAA;AAGT,SAAO,SAASF,GAAKC,GAAUC,GAAMQ,GAAS;AACxC,QAAAP,IAAU,UAAU,UAAU;AAC3B,WAAAJ,EAAQC,GAAKW,EAAWV,GAAUS,GAAS,CAAC,GAAGR,GAAMC,CAAO;AAAA,EAAA;AAEvE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es214.js","sources":["../../../node_modules/underscore/modules/_escapeMap.js"],"sourcesContent":["// Internal list of HTML entities for escaping.\nexport default {\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#x27;',\n '`': '&#x60;'\n};\n"],"names":["escapeMap"],"mappings":"AACA,MAAeA,IAAA;AAAA,EACb,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AACP;","x_google_ignoreList":[0]}
@@ -1,15 +1,7 @@
1
- import i from "./index.es203.js";
2
- import a from "./index.es130.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
- };
11
- }
1
+ import e from "./index.es90.js";
2
+ import p from "./index.es214.js";
3
+ const r = e(p);
12
4
  export {
13
- g as default
5
+ r as default
14
6
  };
15
7
  //# sourceMappingURL=index.es215.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es215.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":";;AAIwB,SAAAA,EAAMC,GAAUC,GAAW;AAC1C,SAAA,SAASC,GAAKC,GAAUC,GAAS;AAClC,QAAAC,IAASJ,IAAY,CAAC,IAAI,CAAE,CAAA,IAAI,CAAA;AACzB,WAAAE,IAAAG,EAAGH,GAAUC,CAAO,GAC1BG,EAAAL,GAAK,SAASM,GAAOC,GAAO;AAC/B,UAAIC,IAAMP,EAASK,GAAOC,GAAOP,CAAG;AAC3B,MAAAF,EAAAK,GAAQG,GAAOE,CAAG;AAAA,IAAA,CAC5B,GACML;AAAA,EAAA;AAEX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es215.js","sources":["../../../node_modules/underscore/modules/_unescapeMap.js"],"sourcesContent":["import invert from './invert.js';\nimport escapeMap from './_escapeMap.js';\n\n// Internal list of HTML entities for unescaping.\nexport default invert(escapeMap);\n"],"names":["unescapeMap","invert","escapeMap"],"mappings":";;AAIA,MAAeA,IAAAC,EAAOC,CAAS;","x_google_ignoreList":[0]}
@@ -1,7 +1,14 @@
1
- function u(t, e, n) {
2
- return e in n;
1
+ import o from "./index.es101.js";
2
+ import m from "./index.es16.js";
3
+ import f from "./index.es65.js";
4
+ import p from "./index.es78.js";
5
+ import n from "./index.es106.js";
6
+ import e from "./index.es104.js";
7
+ import s from "./index.es212.js";
8
+ function x(r, t, i) {
9
+ return r == null ? o : m(r) ? s(r, t, i) : f(r) && !p(r) ? n(r) : e(r);
3
10
  }
4
11
  export {
5
- u as default
12
+ x as default
6
13
  };
7
14
  //# sourceMappingURL=index.es216.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es216.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":"AAEwB,SAAAA,EAASC,GAAOC,GAAKC,GAAK;AAChD,SAAOD,KAAOC;AAChB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es216.js","sources":["../../../node_modules/underscore/modules/_baseIteratee.js"],"sourcesContent":["import identity from './identity.js';\nimport isFunction from './isFunction.js';\nimport isObject from './isObject.js';\nimport isArray from './isArray.js';\nimport matcher from './matcher.js';\nimport property from './property.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// An internal function to generate callbacks that can be applied to each\n// element in a collection, returning the desired result — either `_.identity`,\n// an arbitrary callback, a property matcher, or a property accessor.\nexport default function baseIteratee(value, context, argCount) {\n if (value == null) return identity;\n if (isFunction(value)) return optimizeCb(value, context, argCount);\n if (isObject(value) && !isArray(value)) return matcher(value);\n return property(value);\n}\n"],"names":["baseIteratee","value","context","argCount","identity","isFunction","optimizeCb","isObject","isArray","matcher","property"],"mappings":";;;;;;;AAWwB,SAAAA,EAAaC,GAAOC,GAASC,GAAU;AAC7D,SAAIF,KAAS,OAAaG,IACtBC,EAAWJ,CAAK,IAAUK,EAAWL,GAAOC,GAASC,CAAQ,IAC7DI,EAASN,CAAK,KAAK,CAACO,EAAQP,CAAK,IAAUQ,EAAQR,CAAK,IACrDS,EAAST,CAAK;AACvB;","x_google_ignoreList":[0]}
@@ -1,8 +1,12 @@
1
- import a from "./index.es19.js";
2
- function r(t, n) {
3
- return t._chain ? a(n).chain() : n;
1
+ import i from "./index.es208.js";
2
+ import n from "./index.es65.js";
3
+ function u(t, a, f, o, e) {
4
+ if (!(o instanceof a))
5
+ return t.apply(f, e);
6
+ var r = i(t.prototype), p = t.apply(r, e);
7
+ return n(p) ? p : r;
4
8
  }
5
9
  export {
6
- r as default
10
+ u as default
7
11
  };
8
12
  //# sourceMappingURL=index.es217.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es217.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":";AAGwB,SAAAA,EAAYC,GAAUC,GAAK;AACjD,SAAOD,EAAS,SAASE,EAAED,CAAG,EAAE,MAAU,IAAAA;AAC5C;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es217.js","sources":["../../../node_modules/underscore/modules/_executeBound.js"],"sourcesContent":["import baseCreate from './_baseCreate.js';\nimport isObject from './isObject.js';\n\n// Internal function to execute `sourceFunc` bound to `context` with optional\n// `args`. Determines whether to execute a function as a constructor or as a\n// normal function.\nexport default function executeBound(sourceFunc, boundFunc, context, callingContext, args) {\n if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args);\n var self = baseCreate(sourceFunc.prototype);\n var result = sourceFunc.apply(self, args);\n if (isObject(result)) return result;\n return self;\n}\n"],"names":["executeBound","sourceFunc","boundFunc","context","callingContext","args","self","baseCreate","result","isObject"],"mappings":";;AAMA,SAAwBA,EAAaC,GAAYC,GAAWC,GAASC,GAAgBC,GAAM;AACzF,MAAI,EAAED,aAA0BF;AAAmB,WAAAD,EAAW,MAAME,GAASE,CAAI;AAC7E,MAAAC,IAAOC,EAAWN,EAAW,SAAS,GACtCO,IAASP,EAAW,MAAMK,GAAMD,CAAI;AACxC,SAAII,EAASD,CAAM,IAAUA,IACtBF;AACT;","x_google_ignoreList":[0]}
@@ -1,324 +1,26 @@
1
- import { syncProjection as f, cloneTransform as T, applyViewStateToTransform as p, transformToViewState as _ } from "./index.es229.js";
2
- import { normalizeStyle as v } from "./index.es230.js";
3
- import { deepEqual as h } from "./index.es223.js";
4
- const g = { version: 8, sources: {}, layers: [] }, y = {
5
- mousedown: "onMouseDown",
6
- mouseup: "onMouseUp",
7
- mouseover: "onMouseOver",
8
- mousemove: "onMouseMove",
9
- click: "onClick",
10
- dblclick: "onDblClick",
11
- mouseenter: "onMouseEnter",
12
- mouseleave: "onMouseLeave",
13
- mouseout: "onMouseOut",
14
- contextmenu: "onContextMenu",
15
- touchstart: "onTouchStart",
16
- touchend: "onTouchEnd",
17
- touchmove: "onTouchMove",
18
- touchcancel: "onTouchCancel"
19
- }, u = {
20
- movestart: "onMoveStart",
21
- move: "onMove",
22
- moveend: "onMoveEnd",
23
- dragstart: "onDragStart",
24
- drag: "onDrag",
25
- dragend: "onDragEnd",
26
- zoomstart: "onZoomStart",
27
- zoom: "onZoom",
28
- zoomend: "onZoomEnd",
29
- rotatestart: "onRotateStart",
30
- rotate: "onRotate",
31
- rotateend: "onRotateEnd",
32
- pitchstart: "onPitchStart",
33
- pitch: "onPitch",
34
- pitchend: "onPitchEnd"
35
- }, S = {
36
- wheel: "onWheel",
37
- boxzoomstart: "onBoxZoomStart",
38
- boxzoomend: "onBoxZoomEnd",
39
- boxzoomcancel: "onBoxZoomCancel",
40
- resize: "onResize",
41
- load: "onLoad",
42
- render: "onRender",
43
- idle: "onIdle",
44
- remove: "onRemove",
45
- data: "onData",
46
- styledata: "onStyleData",
47
- sourcedata: "onSourceData",
48
- error: "onError"
49
- }, E = [
50
- "minZoom",
51
- "maxZoom",
52
- "minPitch",
53
- "maxPitch",
54
- "maxBounds",
55
- "projection",
56
- "renderWorldCopies"
57
- ], C = [
58
- "scrollZoom",
59
- "boxZoom",
60
- "dragRotate",
61
- "dragPan",
62
- "keyboard",
63
- "doubleClickZoom",
64
- "touchZoomRotate",
65
- "touchPitch"
66
- ];
67
- class m {
68
- constructor(e, o, n) {
69
- this._map = null, this._internalUpdate = !1, this._inRender = !1, this._hoveredFeatures = null, this._deferredEvents = {
70
- move: !1,
71
- zoom: !1,
72
- pitch: !1,
73
- rotate: !1
74
- }, this._onEvent = (t) => {
75
- const r = this.props[S[t.type]];
76
- r ? r(t) : t.type === "error" && console.error(t.error);
77
- }, this._onPointerEvent = (t) => {
78
- (t.type === "mousemove" || t.type === "mouseout") && this._updateHover(t);
79
- const r = this.props[y[t.type]];
80
- r && (this.props.interactiveLayerIds && t.type !== "mouseover" && t.type !== "mouseout" && (t.features = this._hoveredFeatures || this._queryRenderedFeatures(t.point)), r(t), delete t.features);
81
- }, this._onCameraEvent = (t) => {
82
- if (!this._internalUpdate) {
83
- const r = this.props[u[t.type]];
84
- r && r(t);
85
- }
86
- t.type in this._deferredEvents && (this._deferredEvents[t.type] = !1);
87
- }, this._MapClass = e, this.props = o, this._initialize(n);
88
- }
89
- get map() {
90
- return this._map;
91
- }
92
- get transform() {
93
- return this._renderTransform;
94
- }
95
- setProps(e) {
96
- const o = this.props;
97
- this.props = e;
98
- const n = this._updateSettings(e, o);
99
- n && this._createShadowTransform(this._map);
100
- const t = this._updateSize(e), r = this._updateViewState(e, !0);
101
- this._updateStyle(e, o), this._updateStyleComponents(e, o), this._updateHandlers(e, o), (n || t || r && !this._map.isMoving()) && this.redraw();
102
- }
103
- static reuse(e, o) {
104
- const n = m.savedMaps.pop();
105
- if (!n)
106
- return null;
107
- const t = n.map, r = t.getContainer();
108
- for (o.className = r.className; r.childNodes.length > 0; )
109
- o.appendChild(r.childNodes[0]);
110
- t._container = o;
111
- const s = t._resizeObserver;
112
- s && (s.disconnect(), s.observe(o)), n.setProps({ ...e, styleDiffing: !1 }), t.resize();
113
- const { initialViewState: i } = e;
114
- return i && (i.bounds ? t.fitBounds(i.bounds, { ...i.fitBoundsOptions, duration: 0 }) : n._updateViewState(i, !1)), t.isStyleLoaded() ? t.fire("load") : t.once("styledata", () => t.fire("load")), t._update(), n;
115
- }
116
- /* eslint-disable complexity,max-statements */
117
- _initialize(e) {
118
- const { props: o } = this, { mapStyle: n = g } = o, t = {
119
- ...o,
120
- ...o.initialViewState,
121
- accessToken: o.mapboxAccessToken || M() || null,
122
- container: e,
123
- style: v(n)
124
- }, r = t.initialViewState || t.viewState || t;
125
- if (Object.assign(t, {
126
- center: [r.longitude || 0, r.latitude || 0],
127
- zoom: r.zoom || 0,
128
- pitch: r.pitch || 0,
129
- bearing: r.bearing || 0
130
- }), o.gl) {
131
- const a = HTMLCanvasElement.prototype.getContext;
132
- HTMLCanvasElement.prototype.getContext = () => (HTMLCanvasElement.prototype.getContext = a, o.gl);
133
- }
134
- const s = new this._MapClass(t);
135
- r.padding && s.setPadding(r.padding), o.cursor && (s.getCanvas().style.cursor = o.cursor), this._createShadowTransform(s);
136
- const i = s._render;
137
- s._render = (a) => {
138
- this._inRender = !0, i.call(s, a), this._inRender = !1;
139
- };
140
- const c = s._renderTaskQueue.run;
141
- s._renderTaskQueue.run = (a) => {
142
- c.call(s._renderTaskQueue, a), this._onBeforeRepaint();
143
- }, s.on("render", () => this._onAfterRepaint());
144
- const l = s.fire;
145
- s.fire = this._fireEvent.bind(this, l), s.on("resize", () => {
146
- this._renderTransform.resize(s.transform.width, s.transform.height);
147
- }), s.on("styledata", () => {
148
- this._updateStyleComponents(this.props, {}), f(s.transform, this._renderTransform);
149
- }), s.on("sourcedata", () => this._updateStyleComponents(this.props, {}));
150
- for (const a in y)
151
- s.on(a, this._onPointerEvent);
152
- for (const a in u)
153
- s.on(a, this._onCameraEvent);
154
- for (const a in S)
155
- s.on(a, this._onEvent);
156
- this._map = s;
157
- }
158
- /* eslint-enable complexity,max-statements */
159
- recycle() {
160
- const o = this.map.getContainer().querySelector("[mapboxgl-children]");
161
- o == null || o.remove(), m.savedMaps.push(this);
162
- }
163
- destroy() {
164
- this._map.remove();
165
- }
166
- // Force redraw the map now. Typically resize() and jumpTo() is reflected in the next
167
- // render cycle, which is managed by Mapbox's animation loop.
168
- // This removes the synchronization issue caused by requestAnimationFrame.
169
- redraw() {
170
- const e = this._map;
171
- !this._inRender && e.style && (e._frame && (e._frame.cancel(), e._frame = null), e._render());
172
- }
173
- _createShadowTransform(e) {
174
- const o = T(e.transform);
175
- e.painter.transform = o, this._renderTransform = o;
176
- }
177
- /* Trigger map resize if size is controlled
178
- @param {object} nextProps
179
- @returns {bool} true if size has changed
180
- */
181
- _updateSize(e) {
182
- const { viewState: o } = e;
183
- if (o) {
184
- const n = this._map;
185
- if (o.width !== n.transform.width || o.height !== n.transform.height)
186
- return n.resize(), !0;
187
- }
188
- return !1;
189
- }
190
- // Adapted from map.jumpTo
191
- /* Update camera to match props
192
- @param {object} nextProps
193
- @param {bool} triggerEvents - should fire camera events
194
- @returns {bool} true if anything is changed
195
- */
196
- _updateViewState(e, o) {
197
- if (this._internalUpdate)
198
- return !1;
199
- const n = this._map, t = this._renderTransform, { zoom: r, pitch: s, bearing: i } = t, c = n.isMoving();
200
- c && (t.cameraElevationReference = "sea");
201
- const l = p(t, {
202
- ..._(n.transform),
203
- ...e
204
- });
205
- if (c && (t.cameraElevationReference = "ground"), l && o) {
206
- const a = this._deferredEvents;
207
- a.move = !0, a.zoom || (a.zoom = r !== t.zoom), a.rotate || (a.rotate = i !== t.bearing), a.pitch || (a.pitch = s !== t.pitch);
208
- }
209
- return c || p(n.transform, e), l;
210
- }
211
- /* Update camera constraints and projection settings to match props
212
- @param {object} nextProps
213
- @param {object} currProps
214
- @returns {bool} true if anything is changed
215
- */
216
- _updateSettings(e, o) {
217
- const n = this._map;
218
- let t = !1;
219
- for (const r of E)
220
- if (r in e && !h(e[r], o[r])) {
221
- t = !0;
222
- const s = n[`set${r[0].toUpperCase()}${r.slice(1)}`];
223
- s == null || s.call(n, e[r]);
224
- }
225
- return t;
226
- }
227
- /* Update map style to match props
228
- @param {object} nextProps
229
- @param {object} currProps
230
- @returns {bool} true if style is changed
231
- */
232
- _updateStyle(e, o) {
233
- if (e.cursor !== o.cursor && (this._map.getCanvas().style.cursor = e.cursor || ""), e.mapStyle !== o.mapStyle) {
234
- const { mapStyle: n = g, styleDiffing: t = !0 } = e, r = {
235
- diff: t
236
- };
237
- return "localIdeographFontFamily" in e && (r.localIdeographFontFamily = e.localIdeographFontFamily), this._map.setStyle(v(n), r), !0;
238
- }
239
- return !1;
240
- }
241
- /* Update fog, light and terrain to match props
242
- @param {object} nextProps
243
- @param {object} currProps
244
- @returns {bool} true if anything is changed
245
- */
246
- _updateStyleComponents(e, o) {
247
- const n = this._map;
248
- let t = !1;
249
- return n.isStyleLoaded() && ("light" in e && n.setLight && !h(e.light, o.light) && (t = !0, n.setLight(e.light)), "fog" in e && n.setFog && !h(e.fog, o.fog) && (t = !0, n.setFog(e.fog)), "terrain" in e && n.setTerrain && !h(e.terrain, o.terrain) && (!e.terrain || n.getSource(e.terrain.source)) && (t = !0, n.setTerrain(e.terrain))), t;
250
- }
251
- /* Update interaction handlers to match props
252
- @param {object} nextProps
253
- @param {object} currProps
254
- @returns {bool} true if anything is changed
255
- */
256
- _updateHandlers(e, o) {
257
- var n, t;
258
- const r = this._map;
259
- let s = !1;
260
- for (const i of C) {
261
- const c = (n = e[i]) !== null && n !== void 0 ? n : !0, l = (t = o[i]) !== null && t !== void 0 ? t : !0;
262
- h(c, l) || (s = !0, c ? r[i].enable(c) : r[i].disable());
263
- }
264
- return s;
265
- }
266
- _queryRenderedFeatures(e) {
267
- const o = this._map, n = o.transform, { interactiveLayerIds: t = [] } = this.props;
268
- try {
269
- return o.transform = this._renderTransform, o.queryRenderedFeatures(e, {
270
- layers: t.filter(o.getLayer.bind(o))
271
- });
272
- } catch {
273
- return [];
274
- } finally {
275
- o.transform = n;
276
- }
277
- }
278
- _updateHover(e) {
279
- var o;
280
- const { props: n } = this;
281
- if (n.interactiveLayerIds && (n.onMouseMove || n.onMouseEnter || n.onMouseLeave)) {
282
- const r = e.type, s = ((o = this._hoveredFeatures) === null || o === void 0 ? void 0 : o.length) > 0, i = this._queryRenderedFeatures(e.point), c = i.length > 0;
283
- !c && s && (e.type = "mouseleave", this._onPointerEvent(e)), this._hoveredFeatures = i, c && !s && (e.type = "mouseenter", this._onPointerEvent(e)), e.type = r;
284
- } else
285
- this._hoveredFeatures = null;
286
- }
287
- _fireEvent(e, o, n) {
288
- const t = this._map, r = t.transform, s = typeof o == "string" ? o : o.type;
289
- return s === "move" && this._updateViewState(this.props, !1), s in u && (typeof o == "object" && (o.viewState = _(r)), this._map.isMoving()) ? (t.transform = this._renderTransform, e.call(t, o, n), t.transform = r, t) : (e.call(t, o, n), t);
290
- }
291
- // All camera manipulations are complete, ready to repaint
292
- _onBeforeRepaint() {
293
- const e = this._map;
294
- this._internalUpdate = !0;
295
- for (const n in this._deferredEvents)
296
- this._deferredEvents[n] && e.fire(n);
297
- this._internalUpdate = !1;
298
- const o = this._map.transform;
299
- e.transform = this._renderTransform, this._onAfterRepaint = () => {
300
- f(this._renderTransform, o), e.transform = o;
301
- };
302
- }
303
- }
304
- m.savedMaps = [];
305
- function M() {
306
- let d = null;
307
- if (typeof location < "u") {
308
- const e = /access_token=([^&\/]*)/.exec(location.search);
309
- d = e && e[1];
310
- }
311
- try {
312
- d = d || process.env.MapboxAccessToken;
313
- } catch {
314
- }
315
- try {
316
- d = d || process.env.REACT_APP_MAPBOX_ACCESS_TOKEN;
317
- } catch {
318
- }
319
- return d;
1
+ import l from "./index.es202.js";
2
+ import y from "./index.es221.js";
3
+ import A from "./index.es78.js";
4
+ import c from "./index.es18.js";
5
+ function x(n, i, s, r) {
6
+ if (r = r || [], !i && i !== 0)
7
+ i = 1 / 0;
8
+ else if (i <= 0)
9
+ return r.concat(n);
10
+ for (var m = r.length, e = 0, a = l(n); e < a; e++) {
11
+ var f = n[e];
12
+ if (y(f) && (A(f) || c(f)))
13
+ if (i > 1)
14
+ x(f, i - 1, s, r), m = r.length;
15
+ else
16
+ for (var g = 0, o = f.length; g < o; )
17
+ r[m++] = f[g++];
18
+ else
19
+ s || (r[m++] = f);
20
+ }
21
+ return r;
320
22
  }
321
23
  export {
322
- m as default
24
+ x as default
323
25
  };
324
26
  //# sourceMappingURL=index.es218.js.map