@performant-software/geospatial 2.1.0-beta.3 → 2.1.0-beta.30

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 (307) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs10.js.map +1 -1
  4. package/dist/index.cjs103.js +1 -1
  5. package/dist/index.cjs11.js +1 -1
  6. package/dist/index.cjs11.js.map +1 -1
  7. package/dist/index.cjs12.js +1 -1
  8. package/dist/index.cjs12.js.map +1 -1
  9. package/dist/index.cjs122.js +1 -1
  10. package/dist/index.cjs123.js +1 -1
  11. package/dist/index.cjs125.js +1 -1
  12. package/dist/index.cjs129.js +1 -1
  13. package/dist/index.cjs13.js +1 -1
  14. package/dist/index.cjs13.js.map +1 -1
  15. package/dist/index.cjs14.js +1 -1
  16. package/dist/index.cjs14.js.map +1 -1
  17. package/dist/index.cjs15.js +1 -1
  18. package/dist/index.cjs15.js.map +1 -1
  19. package/dist/index.cjs16.js +1 -1
  20. package/dist/index.cjs16.js.map +1 -1
  21. package/dist/index.cjs162.js +1 -1
  22. package/dist/index.cjs165.js +1 -1
  23. package/dist/index.cjs167.js +1 -1
  24. package/dist/index.cjs17.js +1 -1
  25. package/dist/index.cjs17.js.map +1 -1
  26. package/dist/index.cjs175.js +1 -1
  27. package/dist/index.cjs18.js +1 -1
  28. package/dist/index.cjs18.js.map +1 -1
  29. package/dist/index.cjs19.js +1 -1
  30. package/dist/index.cjs19.js.map +1 -1
  31. package/dist/index.cjs191.js +1 -1
  32. package/dist/index.cjs199.js +1 -1
  33. package/dist/index.cjs2.js +1 -1
  34. package/dist/index.cjs20.js +1 -1
  35. package/dist/index.cjs20.js.map +1 -1
  36. package/dist/index.cjs200.js +1 -1
  37. package/dist/index.cjs201.js +1 -1
  38. package/dist/index.cjs202.js +1 -1
  39. package/dist/index.cjs203.js +1 -1
  40. package/dist/index.cjs205.js +1 -1
  41. package/dist/index.cjs206.js +1 -1
  42. package/dist/index.cjs208.js +1 -1
  43. package/dist/index.cjs209.js +1 -1
  44. package/dist/index.cjs21.js +1 -1
  45. package/dist/index.cjs21.js.map +1 -1
  46. package/dist/index.cjs211.js +1 -1
  47. package/dist/index.cjs216.js +1 -1
  48. package/dist/index.cjs218.js +1 -1
  49. package/dist/index.cjs22.js +1 -1
  50. package/dist/index.cjs22.js.map +1 -1
  51. package/dist/index.cjs220.js +1 -1
  52. package/dist/index.cjs221.js +1 -1
  53. package/dist/index.cjs225.js +1 -1
  54. package/dist/index.cjs226.js +1 -1
  55. package/dist/index.cjs226.js.map +1 -1
  56. package/dist/index.cjs227.js +1 -1
  57. package/dist/index.cjs227.js.map +1 -1
  58. package/dist/index.cjs228.js +1 -1
  59. package/dist/index.cjs228.js.map +1 -1
  60. package/dist/index.cjs229.js +1 -1
  61. package/dist/index.cjs229.js.map +1 -1
  62. package/dist/index.cjs23.js +1 -1
  63. package/dist/index.cjs23.js.map +1 -1
  64. package/dist/index.cjs230.js +1 -1
  65. package/dist/index.cjs230.js.map +1 -1
  66. package/dist/index.cjs238.js +1 -1
  67. package/dist/index.cjs24.js +1 -1
  68. package/dist/index.cjs24.js.map +1 -1
  69. package/dist/index.cjs243.js +1 -1
  70. package/dist/index.cjs246.js +1 -1
  71. package/dist/index.cjs25.js +1 -1
  72. package/dist/index.cjs25.js.map +1 -1
  73. package/dist/index.cjs250.js +1 -1
  74. package/dist/index.cjs250.js.map +1 -1
  75. package/dist/index.cjs251.js +1 -1
  76. package/dist/index.cjs251.js.map +1 -1
  77. package/dist/index.cjs26.js +1 -1
  78. package/dist/index.cjs26.js.map +1 -1
  79. package/dist/index.cjs27.js +1 -1
  80. package/dist/index.cjs27.js.map +1 -1
  81. package/dist/index.cjs28.js +1 -1
  82. package/dist/index.cjs28.js.map +1 -1
  83. package/dist/index.cjs29.js +1 -1
  84. package/dist/index.cjs29.js.map +1 -1
  85. package/dist/index.cjs3.js +1 -1
  86. package/dist/index.cjs3.js.map +1 -1
  87. package/dist/index.cjs30.js +1 -1
  88. package/dist/index.cjs30.js.map +1 -1
  89. package/dist/index.cjs31.js +1 -1
  90. package/dist/index.cjs31.js.map +1 -1
  91. package/dist/index.cjs32.js +1 -1
  92. package/dist/index.cjs32.js.map +1 -1
  93. package/dist/index.cjs33.js +1 -1
  94. package/dist/index.cjs33.js.map +1 -1
  95. package/dist/index.cjs34.js +1 -1
  96. package/dist/index.cjs34.js.map +1 -1
  97. package/dist/index.cjs35.js +1 -1
  98. package/dist/index.cjs35.js.map +1 -1
  99. package/dist/index.cjs36.js +1 -1
  100. package/dist/index.cjs36.js.map +1 -1
  101. package/dist/index.cjs37.js +1 -1
  102. package/dist/index.cjs37.js.map +1 -1
  103. package/dist/index.cjs38.js +1 -1
  104. package/dist/index.cjs38.js.map +1 -1
  105. package/dist/index.cjs39.js +1 -1
  106. package/dist/index.cjs39.js.map +1 -1
  107. package/dist/index.cjs4.js +1 -1
  108. package/dist/index.cjs40.js +1 -1
  109. package/dist/index.cjs40.js.map +1 -1
  110. package/dist/index.cjs41.js +1 -1
  111. package/dist/index.cjs41.js.map +1 -1
  112. package/dist/index.cjs42.js +1 -1
  113. package/dist/index.cjs42.js.map +1 -1
  114. package/dist/index.cjs43.js +1 -1
  115. package/dist/index.cjs43.js.map +1 -1
  116. package/dist/index.cjs44.js +1 -1
  117. package/dist/index.cjs44.js.map +1 -1
  118. package/dist/index.cjs45.js +1 -1
  119. package/dist/index.cjs45.js.map +1 -1
  120. package/dist/index.cjs46.js +1 -1
  121. package/dist/index.cjs5.js +1 -1
  122. package/dist/index.cjs5.js.map +1 -1
  123. package/dist/index.cjs57.js +1 -1
  124. package/dist/index.cjs57.js.map +1 -1
  125. package/dist/index.cjs58.js +1 -1
  126. package/dist/index.cjs58.js.map +1 -1
  127. package/dist/index.cjs59.js +1 -1
  128. package/dist/index.cjs59.js.map +1 -1
  129. package/dist/index.cjs6.js +1 -1
  130. package/dist/index.cjs66.js +1 -1
  131. package/dist/index.cjs67.js +1 -1
  132. package/dist/index.cjs68.js +1 -1
  133. package/dist/index.cjs69.js +1 -1
  134. package/dist/index.cjs7.js +1 -1
  135. package/dist/index.cjs70.js +1 -1
  136. package/dist/index.cjs74.js +1 -1
  137. package/dist/index.cjs75.js +1 -1
  138. package/dist/index.cjs8.js +1 -1
  139. package/dist/index.cjs80.js +1 -1
  140. package/dist/index.cjs89.js +1 -1
  141. package/dist/index.cjs90.js +1 -1
  142. package/dist/index.cjs91.js +1 -1
  143. package/dist/index.cjs92.js +1 -1
  144. package/dist/index.cjs93.js +1 -1
  145. package/dist/index.cjs94.js +1 -1
  146. package/dist/index.cjs96.js +1 -1
  147. package/dist/index.cjs98.js +1 -1
  148. package/dist/index.cjs99.js +1 -1
  149. package/dist/index.es.js +8 -6
  150. package/dist/index.es.js.map +1 -1
  151. package/dist/index.es10.js +39 -2102
  152. package/dist/index.es10.js.map +1 -1
  153. package/dist/index.es103.js +1 -1
  154. package/dist/index.es11.js +2102 -19
  155. package/dist/index.es11.js.map +1 -1
  156. package/dist/index.es12.js +19 -12
  157. package/dist/index.es12.js.map +1 -1
  158. package/dist/index.es122.js +2 -2
  159. package/dist/index.es123.js +1 -1
  160. package/dist/index.es125.js +1 -1
  161. package/dist/index.es129.js +1 -1
  162. package/dist/index.es13.js +12 -6
  163. package/dist/index.es13.js.map +1 -1
  164. package/dist/index.es14.js +6 -5
  165. package/dist/index.es14.js.map +1 -1
  166. package/dist/index.es15.js +6 -28
  167. package/dist/index.es15.js.map +1 -1
  168. package/dist/index.es16.js +6 -8
  169. package/dist/index.es16.js.map +1 -1
  170. package/dist/index.es162.js +1 -1
  171. package/dist/index.es165.js +1 -1
  172. package/dist/index.es167.js +1 -1
  173. package/dist/index.es17.js +5 -5
  174. package/dist/index.es17.js.map +1 -1
  175. package/dist/index.es175.js +1 -1
  176. package/dist/index.es18.js +28 -10
  177. package/dist/index.es18.js.map +1 -1
  178. package/dist/index.es19.js +8 -17
  179. package/dist/index.es19.js.map +1 -1
  180. package/dist/index.es191.js +2 -2
  181. package/dist/index.es199.js +1 -1
  182. package/dist/index.es2.js +3 -3
  183. package/dist/index.es20.js +5 -5
  184. package/dist/index.es20.js.map +1 -1
  185. package/dist/index.es200.js +1 -1
  186. package/dist/index.es201.js +1 -1
  187. package/dist/index.es202.js +1 -1
  188. package/dist/index.es203.js +1 -1
  189. package/dist/index.es205.js +1 -1
  190. package/dist/index.es206.js +2 -2
  191. package/dist/index.es208.js +1 -1
  192. package/dist/index.es209.js +2 -2
  193. package/dist/index.es21.js +9 -4
  194. package/dist/index.es21.js.map +1 -1
  195. package/dist/index.es211.js +2 -2
  196. package/dist/index.es216.js +1 -1
  197. package/dist/index.es218.js +1 -1
  198. package/dist/index.es22.js +17 -5
  199. package/dist/index.es22.js.map +1 -1
  200. package/dist/index.es220.js +1 -1
  201. package/dist/index.es221.js +1 -1
  202. package/dist/index.es225.js +1 -1
  203. package/dist/index.es226.js +3 -46
  204. package/dist/index.es226.js.map +1 -1
  205. package/dist/index.es227.js +5 -22
  206. package/dist/index.es227.js.map +1 -1
  207. package/dist/index.es228.js +8 -3
  208. package/dist/index.es228.js.map +1 -1
  209. package/dist/index.es229.js +44 -6
  210. package/dist/index.es229.js.map +1 -1
  211. package/dist/index.es23.js +5 -7
  212. package/dist/index.es23.js.map +1 -1
  213. package/dist/index.es230.js +22 -5
  214. package/dist/index.es230.js.map +1 -1
  215. package/dist/index.es238.js +1 -1
  216. package/dist/index.es24.js +5 -7
  217. package/dist/index.es24.js.map +1 -1
  218. package/dist/index.es243.js +1 -1
  219. package/dist/index.es246.js +1 -1
  220. package/dist/index.es25.js +5 -4
  221. package/dist/index.es25.js.map +1 -1
  222. package/dist/index.es250.js +4 -15
  223. package/dist/index.es250.js.map +1 -1
  224. package/dist/index.es251.js +15 -4
  225. package/dist/index.es251.js.map +1 -1
  226. package/dist/index.es26.js +7 -4
  227. package/dist/index.es26.js.map +1 -1
  228. package/dist/index.es27.js +6 -6
  229. package/dist/index.es27.js.map +1 -1
  230. package/dist/index.es28.js +4 -15
  231. package/dist/index.es28.js.map +1 -1
  232. package/dist/index.es29.js +4 -12
  233. package/dist/index.es29.js.map +1 -1
  234. package/dist/index.es3.js +22 -63
  235. package/dist/index.es3.js.map +1 -1
  236. package/dist/index.es30.js +7 -15
  237. package/dist/index.es30.js.map +1 -1
  238. package/dist/index.es31.js +14 -6
  239. package/dist/index.es31.js.map +1 -1
  240. package/dist/index.es32.js +12 -5
  241. package/dist/index.es32.js.map +1 -1
  242. package/dist/index.es33.js +15 -4
  243. package/dist/index.es33.js.map +1 -1
  244. package/dist/index.es34.js +6 -17
  245. package/dist/index.es34.js.map +1 -1
  246. package/dist/index.es35.js +5 -18
  247. package/dist/index.es35.js.map +1 -1
  248. package/dist/index.es36.js +4 -14
  249. package/dist/index.es36.js.map +1 -1
  250. package/dist/index.es37.js +17 -5
  251. package/dist/index.es37.js.map +1 -1
  252. package/dist/index.es38.js +17 -6
  253. package/dist/index.es38.js.map +1 -1
  254. package/dist/index.es39.js +12 -8
  255. package/dist/index.es39.js.map +1 -1
  256. package/dist/index.es4.js +8 -8
  257. package/dist/index.es40.js +6 -4
  258. package/dist/index.es40.js.map +1 -1
  259. package/dist/index.es41.js +6 -18
  260. package/dist/index.es41.js.map +1 -1
  261. package/dist/index.es42.js +10 -6
  262. package/dist/index.es42.js.map +1 -1
  263. package/dist/index.es43.js +4 -6
  264. package/dist/index.es43.js.map +1 -1
  265. package/dist/index.es44.js +21 -1
  266. package/dist/index.es44.js.map +1 -1
  267. package/dist/index.es45.js +1 -39
  268. package/dist/index.es45.js.map +1 -1
  269. package/dist/index.es46.js +1 -1
  270. package/dist/index.es5.js +27 -19
  271. package/dist/index.es5.js.map +1 -1
  272. package/dist/index.es57.js +2 -107
  273. package/dist/index.es57.js.map +1 -1
  274. package/dist/index.es58.js +107 -10
  275. package/dist/index.es58.js.map +1 -1
  276. package/dist/index.es59.js +10 -2
  277. package/dist/index.es59.js.map +1 -1
  278. package/dist/index.es6.js +6 -6
  279. package/dist/index.es66.js +1 -1
  280. package/dist/index.es67.js +1 -1
  281. package/dist/index.es68.js +1 -1
  282. package/dist/index.es69.js +1 -1
  283. package/dist/index.es7.js +7 -7
  284. package/dist/index.es70.js +1 -1
  285. package/dist/index.es74.js +26 -26
  286. package/dist/index.es75.js +2 -2
  287. package/dist/index.es8.js +2 -2
  288. package/dist/index.es80.js +1 -1
  289. package/dist/index.es89.js +2 -2
  290. package/dist/index.es90.js +1 -1
  291. package/dist/index.es91.js +1 -1
  292. package/dist/index.es92.js +1 -1
  293. package/dist/index.es93.js +1 -1
  294. package/dist/index.es94.js +1 -1
  295. package/dist/index.es96.js +4 -4
  296. package/dist/index.es98.js +1 -1
  297. package/dist/index.es99.js +1 -1
  298. package/dist/style.css +1 -1
  299. package/package.json +2 -2
  300. package/src/components/GeoJsonLayer.js +10 -66
  301. package/src/components/LocationMarkers.js +51 -8
  302. package/src/index.js +1 -0
  303. package/src/utils/MapStyles.js +9 -3
  304. package/types/components/GeoJsonLayer.js.flow +10 -66
  305. package/types/components/LocationMarkers.js.flow +51 -8
  306. package/types/index.js.flow +1 -0
  307. package/types/utils/MapStyles.js.flow +9 -3
@@ -1,5 +1,5 @@
1
1
  import f from "./index.es90.js";
2
- import { slice as t } from "./index.es15.js";
2
+ import { slice as t } from "./index.es18.js";
3
3
  import i from "./index.es82.js";
4
4
  import m from "./index.es221.js";
5
5
  import u from "./index.es143.js";
@@ -1,4 +1,4 @@
1
- import { slice as e } from "./index.es15.js";
1
+ import { slice as e } from "./index.es18.js";
2
2
  function a(l, t, i) {
3
3
  return e.call(l, 0, Math.max(0, l.length - (t == null || i ? 1 : t)));
4
4
  }
@@ -1,4 +1,4 @@
1
- import { slice as e } from "./index.es15.js";
1
+ import { slice as e } from "./index.es18.js";
2
2
  function u(r, l, t) {
3
3
  return e.call(r, l == null || t ? 1 : l);
4
4
  }
@@ -1,8 +1,8 @@
1
- import { supportsDataView as e } from "./index.es15.js";
2
- import a from "./index.es228.js";
3
- var p = e && a(new DataView(new ArrayBuffer(8))), i = typeof Map < "u" && a(/* @__PURE__ */ new Map());
1
+ import * as i from "./index.es74.js";
2
+ import m from "./index.es75.js";
3
+ var r = m(i);
4
+ r._ = r;
4
5
  export {
5
- p as hasStringTagBug,
6
- i as isIE11
6
+ r as default
7
7
  };
8
8
  //# sourceMappingURL=index.es17.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es17.js","sources":["../../../node_modules/underscore/modules/_stringTagBug.js"],"sourcesContent":["import { supportsDataView } from './_setup.js';\nimport hasObjectTag from './_hasObjectTag.js';\n\n// In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`.\n// In IE 11, the most common among them, this problem also applies to\n// `Map`, `WeakMap` and `Set`.\nexport var hasStringTagBug = (\n supportsDataView && hasObjectTag(new DataView(new ArrayBuffer(8)))\n ),\n isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map));\n"],"names":["hasStringTagBug","supportsDataView","hasObjectTag","isIE11"],"mappings":";;AAMO,IAAIA,IACLC,KAAoBC,EAAa,IAAI,SAAS,IAAI,YAAY,CAAC,CAAC,CAAC,GAEnEC,IAAU,OAAO,MAAQ,OAAeD,sBAAiB,IAAG,CAAA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es17.js","sources":["../../../node_modules/underscore/modules/index-default.js"],"sourcesContent":["// Default Export\n// ==============\n// In this module, we mix our bundled exports into the `_` object and export\n// the result. This is analogous to setting `module.exports = _` in CommonJS.\n// Hence, this module is also the entry point of our UMD bundle and the package\n// entry point for CommonJS and AMD users. In other words, this is (the source\n// of) the module you are interfacing with when you do any of the following:\n//\n// ```js\n// // CommonJS\n// var _ = require('underscore');\n//\n// // AMD\n// define(['underscore'], function(_) {...});\n//\n// // UMD in the browser\n// // _ is available as a global variable\n// ```\nimport * as allExports from './index.js';\nimport { mixin } from './index.js';\n\n// Add all of the Underscore functions to the wrapper object.\nvar _ = mixin(allExports);\n// Legacy Node.js API.\n_._ = _;\n// Export the Underscore API.\nexport default _;\n"],"names":["_","mixin","allExports"],"mappings":";;AAsBI,IAAAA,IAAIC,EAAMC,CAAU;AAExBF,EAAE,IAAIA;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { slice as n } from "./index.es15.js";
1
+ import { slice as n } from "./index.es18.js";
2
2
  function h(r, l) {
3
3
  if (l == null || l < 1)
4
4
  return [];
@@ -1,13 +1,31 @@
1
- import e from "./index.es199.js";
2
- import n from "./index.es200.js";
3
- var t = e("Arguments");
4
- (function() {
5
- t(arguments) || (t = function(r) {
6
- return n(r, "callee");
7
- });
8
- })();
9
- const o = t;
1
+ var o = "1.13.6", a = typeof self == "object" && self.self === self && self || typeof global == "object" && global.global === global && global || Function("return this")() || {}, r = Array.prototype, e = Object.prototype, i = typeof Symbol < "u" ? Symbol.prototype : null, n = r.push, s = r.slice, l = e.toString, p = e.hasOwnProperty, t = typeof ArrayBuffer < "u", y = typeof DataView < "u", f = Array.isArray, u = Object.keys, b = Object.create, v = t && ArrayBuffer.isView, g = isNaN, A = isFinite, c = !{ toString: null }.propertyIsEnumerable("toString"), O = [
2
+ "valueOf",
3
+ "isPrototypeOf",
4
+ "toString",
5
+ "propertyIsEnumerable",
6
+ "hasOwnProperty",
7
+ "toLocaleString"
8
+ ], S = Math.pow(2, 53) - 1;
10
9
  export {
11
- o as default
10
+ r as ArrayProto,
11
+ S as MAX_ARRAY_INDEX,
12
+ e as ObjProto,
13
+ i as SymbolProto,
14
+ o as VERSION,
15
+ A as _isFinite,
16
+ g as _isNaN,
17
+ c as hasEnumBug,
18
+ p as hasOwnProperty,
19
+ b as nativeCreate,
20
+ f as nativeIsArray,
21
+ v as nativeIsView,
22
+ u as nativeKeys,
23
+ O as nonEnumerableProps,
24
+ n as push,
25
+ a as root,
26
+ s as slice,
27
+ t as supportsArrayBuffer,
28
+ y as supportsDataView,
29
+ l as toString
12
30
  };
13
31
  //# sourceMappingURL=index.es18.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es18.js","sources":["../../../node_modules/underscore/modules/isArguments.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport has from './_has.js';\n\nvar isArguments = tagTester('Arguments');\n\n// Define a fallback version of the method in browsers (ahem, IE < 9), where\n// there isn't any inspectable \"Arguments\" type.\n(function() {\n if (!isArguments(arguments)) {\n isArguments = function(obj) {\n return has(obj, 'callee');\n };\n }\n}());\n\nexport default isArguments;\n"],"names":["isArguments","tagTester","obj","has","isArguments$1"],"mappings":";;AAGA,IAAIA,IAAcC,EAAU,WAAW;AAAA,CAItC,WAAW;AACN,EAACD,EAAY,SAAS,MACxBA,IAAc,SAASE,GAAK;AACnB,WAAAC,EAAID,GAAK,QAAQ;AAAA,EAAA;AAG9B;AAEA,MAAAE,IAAeJ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es18.js","sources":["../../../node_modules/underscore/modules/_setup.js"],"sourcesContent":["// Current version.\nexport var VERSION = '1.13.6';\n\n// Establish the root object, `window` (`self`) in the browser, `global`\n// on the server, or `this` in some virtual machines. We use `self`\n// instead of `window` for `WebWorker` support.\nexport var root = (typeof self == 'object' && self.self === self && self) ||\n (typeof global == 'object' && global.global === global && global) ||\n Function('return this')() ||\n {};\n\n// Save bytes in the minified (but not gzipped) version:\nexport var ArrayProto = Array.prototype, ObjProto = Object.prototype;\nexport var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null;\n\n// Create quick reference variables for speed access to core prototypes.\nexport var push = ArrayProto.push,\n slice = ArrayProto.slice,\n toString = ObjProto.toString,\n hasOwnProperty = ObjProto.hasOwnProperty;\n\n// Modern feature detection.\nexport var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined',\n supportsDataView = typeof DataView !== 'undefined';\n\n// All **ECMAScript 5+** native function implementations that we hope to use\n// are declared here.\nexport var nativeIsArray = Array.isArray,\n nativeKeys = Object.keys,\n nativeCreate = Object.create,\n nativeIsView = supportsArrayBuffer && ArrayBuffer.isView;\n\n// Create references to these builtin functions because we override them.\nexport var _isNaN = isNaN,\n _isFinite = isFinite;\n\n// Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed.\nexport var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString');\nexport var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString',\n 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString'];\n\n// The largest integer that can be represented exactly.\nexport var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;\n"],"names":["VERSION","root","ArrayProto","ObjProto","SymbolProto","push","slice","toString","hasOwnProperty","supportsArrayBuffer","supportsDataView","nativeIsArray","nativeKeys","nativeCreate","nativeIsView","_isNaN","_isFinite","hasEnumBug","nonEnumerableProps","MAX_ARRAY_INDEX"],"mappings":"AACO,IAAIA,IAAU,UAKVC,IAAQ,OAAO,QAAQ,YAAY,KAAK,SAAS,QAAQ,QACzD,OAAO,UAAU,YAAY,OAAO,WAAW,UAAU,UAC1D,SAAS,aAAa,EAAA,KACtB,CAAC,GAGAC,IAAa,MAAM,WAAWC,IAAW,OAAO,WAChDC,IAAc,OAAO,SAAW,MAAc,OAAO,YAAY,MAGjEC,IAAOH,EAAW,MACzBI,IAAQJ,EAAW,OACnBK,IAAWJ,EAAS,UACpBK,IAAiBL,EAAS,gBAGnBM,IAAsB,OAAO,cAAgB,KACpDC,IAAmB,OAAO,WAAa,KAIhCC,IAAgB,MAAM,SAC7BC,IAAa,OAAO,MACpBC,IAAe,OAAO,QACtBC,IAAeL,KAAuB,YAAY,QAG3CM,IAAS,OAChBC,IAAY,UAGLC,IAAa,CAAC,EAAC,UAAU,KAAI,EAAE,qBAAqB,UAAU,GAC9DC,IAAqB;AAAA,EAAC;AAAA,EAAW;AAAA,EAAiB;AAAA,EAC3D;AAAA,EAAwB;AAAA,EAAkB;AAAgB,GAGjDC,IAAkB,KAAK,IAAI,GAAG,EAAE,IAAI;","x_google_ignoreList":[0]}
@@ -1,20 +1,11 @@
1
- import { VERSION as e } from "./index.es15.js";
2
- function t(r) {
3
- if (r instanceof t)
4
- return r;
5
- if (!(this instanceof t))
6
- return new t(r);
7
- this._wrapped = r;
8
- }
9
- t.VERSION = e;
10
- t.prototype.value = function() {
11
- return this._wrapped;
12
- };
13
- t.prototype.valueOf = t.prototype.toJSON = t.prototype.value;
14
- t.prototype.toString = function() {
15
- return String(this._wrapped);
16
- };
1
+ import e from "./index.es199.js";
2
+ import { root as t } from "./index.es18.js";
3
+ var o = e("Function"), i = t.document && t.document.childNodes;
4
+ typeof /./ != "function" && typeof Int8Array != "object" && typeof i != "function" && (o = function(n) {
5
+ return typeof n == "function" || !1;
6
+ });
7
+ const c = o;
17
8
  export {
18
- t as default
9
+ c as default
19
10
  };
20
11
  //# sourceMappingURL=index.es19.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es19.js","sources":["../../../node_modules/underscore/modules/underscore.js"],"sourcesContent":["import { VERSION } from './_setup.js';\n\n// If Underscore is called as a function, it returns a wrapped object that can\n// be used OO-style. This wrapper holds altered versions of all functions added\n// through `_.mixin`. Wrapped objects may be chained.\nexport default function _(obj) {\n if (obj instanceof _) return obj;\n if (!(this instanceof _)) return new _(obj);\n this._wrapped = obj;\n}\n\n_.VERSION = VERSION;\n\n// Extracts the result from a wrapped and chained object.\n_.prototype.value = function() {\n return this._wrapped;\n};\n\n// Provide unwrapping proxies for some methods used in engine operations\n// such as arithmetic and JSON stringification.\n_.prototype.valueOf = _.prototype.toJSON = _.prototype.value;\n\n_.prototype.toString = function() {\n return String(this._wrapped);\n};\n"],"names":["_","obj","VERSION"],"mappings":";AAKA,SAAwBA,EAAEC,GAAK;AAC7B,MAAIA,aAAeD;AAAU,WAAAC;AAC7B,MAAI,EAAE,gBAAgBD;AAAW,WAAA,IAAIA,EAAEC,CAAG;AAC1C,OAAK,WAAWA;AAClB;AAEAD,EAAE,UAAUE;AAGZF,EAAE,UAAU,QAAQ,WAAW;AAC7B,SAAO,KAAK;AACd;AAIAA,EAAE,UAAU,UAAUA,EAAE,UAAU,SAASA,EAAE,UAAU;AAEvDA,EAAE,UAAU,WAAW,WAAW;AACzB,SAAA,OAAO,KAAK,QAAQ;AAC7B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es19.js","sources":["../../../node_modules/underscore/modules/isFunction.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { root } from './_setup.js';\n\nvar isFunction = tagTester('Function');\n\n// Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old\n// v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236).\nvar nodelist = root.document && root.document.childNodes;\nif (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') {\n isFunction = function(obj) {\n return typeof obj == 'function' || false;\n };\n}\n\nexport default isFunction;\n"],"names":["isFunction","tagTester","nodelist","root","obj","isFunction$1"],"mappings":";;AAGA,IAAIA,IAAaC,EAAU,UAAU,GAIjCC,IAAWC,EAAK,YAAYA,EAAK,SAAS;AAC1C,OAAO,OAAO,cAAc,OAAO,aAAa,YAAY,OAAOD,KAAY,eACjFF,IAAa,SAASI,GAAK;AAClB,SAAA,OAAOA,KAAO,cAAc;AAAA;AAIvC,MAAAC,IAAeL;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
- import { syncProjection as f, cloneTransform as T, applyViewStateToTransform as p, transformToViewState as _ } from "./index.es226.js";
2
- import { normalizeStyle as v } from "./index.es227.js";
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
3
  import { deepEqual as h } from "./index.es196.js";
4
4
  const g = { version: 8, sources: {}, layers: [] }, y = {
5
5
  mousedown: "onMouseDown",
@@ -1,4 +1,4 @@
1
- import { toString as n } from "./index.es15.js";
1
+ import { toString as n } from "./index.es18.js";
2
2
  function a(t) {
3
3
  var r = "[object " + t + "]";
4
4
  return function(e) {
package/dist/index.es2.js CHANGED
@@ -1,7 +1,7 @@
1
- import a from "./index.es10.js";
1
+ import a from "./index.es11.js";
2
2
  import { forwardRef as n, useImperativeHandle as d } from "react";
3
- import "./index.es11.js";
4
- import f from "./index.es12.js";
3
+ import "./index.es12.js";
4
+ import f from "./index.es13.js";
5
5
  const c = n((e, r) => {
6
6
  const o = f(
7
7
  () => new a(e),
@@ -1,8 +1,8 @@
1
- import r from "./index.es199.js";
2
- import { isIE11 as t } from "./index.es17.js";
3
- import { ie11fingerprint as o, mapMethods as i } from "./index.es205.js";
4
- const a = t ? o(i) : r("Map");
1
+ import { supportsDataView as e } from "./index.es18.js";
2
+ import a from "./index.es226.js";
3
+ var p = e && a(new DataView(new ArrayBuffer(8))), i = typeof Map < "u" && a(/* @__PURE__ */ new Map());
5
4
  export {
6
- a as default
5
+ p as hasStringTagBug,
6
+ i as isIE11
7
7
  };
8
8
  //# sourceMappingURL=index.es20.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es20.js","sources":["../../../node_modules/underscore/modules/isMap.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, mapMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map');\n"],"names":["isMap","isIE11","ie11fingerprint","mapMethods","tagTester"],"mappings":";;;AAIA,MAAeA,IAAAC,IAASC,EAAgBC,CAAU,IAAIC,EAAU,KAAK;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es20.js","sources":["../../../node_modules/underscore/modules/_stringTagBug.js"],"sourcesContent":["import { supportsDataView } from './_setup.js';\nimport hasObjectTag from './_hasObjectTag.js';\n\n// In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`.\n// In IE 11, the most common among them, this problem also applies to\n// `Map`, `WeakMap` and `Set`.\nexport var hasStringTagBug = (\n supportsDataView && hasObjectTag(new DataView(new ArrayBuffer(8)))\n ),\n isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map));\n"],"names":["hasStringTagBug","supportsDataView","hasObjectTag","isIE11"],"mappings":";;AAMO,IAAIA,IACLC,KAAoBC,EAAa,IAAI,SAAS,IAAI,YAAY,CAAC,CAAC,CAAC,GAEnEC,IAAU,OAAO,MAAQ,OAAeD,sBAAiB,IAAG,CAAA;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { hasOwnProperty as a } from "./index.es15.js";
1
+ import { hasOwnProperty as a } from "./index.es18.js";
2
2
  function n(r, t) {
3
3
  return r != null && a.call(r, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import e from "./index.es229.js";
1
+ import e from "./index.es228.js";
2
2
  import t from "./index.es203.js";
3
3
  const f = e(t);
4
4
  export {
@@ -1,4 +1,4 @@
1
- import t from "./index.es230.js";
1
+ import t from "./index.es227.js";
2
2
  const o = t("length");
3
3
  export {
4
4
  o as default
@@ -1,4 +1,4 @@
1
- import t from "./index.es230.js";
1
+ import t from "./index.es227.js";
2
2
  const o = t("byteLength");
3
3
  export {
4
4
  o as default
@@ -1,5 +1,5 @@
1
1
  import o from "./index.es202.js";
2
- import f from "./index.es16.js";
2
+ import f from "./index.es19.js";
3
3
  import m from "./index.es99.js";
4
4
  function v(e) {
5
5
  var l = o(e);
@@ -1,5 +1,5 @@
1
- import { ObjProto as p, nonEnumerableProps as a } from "./index.es15.js";
2
- import i from "./index.es16.js";
1
+ import { ObjProto as p, nonEnumerableProps as a } from "./index.es18.js";
2
+ import i from "./index.es19.js";
3
3
  import f from "./index.es200.js";
4
4
  function e(n) {
5
5
  for (var r = {}, c = n.length, o = 0; o < c; ++o)
@@ -1,5 +1,5 @@
1
1
  import o from "./index.es77.js";
2
- import { nativeCreate as e } from "./index.es15.js";
2
+ import { nativeCreate as e } from "./index.es18.js";
3
3
  function u() {
4
4
  return function() {
5
5
  };
@@ -1,5 +1,5 @@
1
- import o from "./index.es19.js";
2
- import "./index.es23.js";
1
+ import o from "./index.es22.js";
2
+ import "./index.es26.js";
3
3
  function e(t) {
4
4
  return o.toPath(t);
5
5
  }
@@ -1,8 +1,13 @@
1
1
  import e from "./index.es199.js";
2
- import { isIE11 as r } from "./index.es17.js";
3
- import { ie11fingerprint as t, weakMapMethods as a } from "./index.es205.js";
4
- const m = r ? t(a) : e("WeakMap");
2
+ import n from "./index.es200.js";
3
+ var t = e("Arguments");
4
+ (function() {
5
+ t(arguments) || (t = function(r) {
6
+ return n(r, "callee");
7
+ });
8
+ })();
9
+ const o = t;
5
10
  export {
6
- m as default
11
+ o as default
7
12
  };
8
13
  //# sourceMappingURL=index.es21.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es21.js","sources":["../../../node_modules/underscore/modules/isWeakMap.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, weakMapMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap');\n"],"names":["isWeakMap","isIE11","ie11fingerprint","weakMapMethods","tagTester"],"mappings":";;;AAIA,MAAeA,IAAAC,IAASC,EAAgBC,CAAc,IAAIC,EAAU,SAAS;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es21.js","sources":["../../../node_modules/underscore/modules/isArguments.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport has from './_has.js';\n\nvar isArguments = tagTester('Arguments');\n\n// Define a fallback version of the method in browsers (ahem, IE < 9), where\n// there isn't any inspectable \"Arguments\" type.\n(function() {\n if (!isArguments(arguments)) {\n isArguments = function(obj) {\n return has(obj, 'callee');\n };\n }\n}());\n\nexport default isArguments;\n"],"names":["isArguments","tagTester","obj","has","isArguments$1"],"mappings":";;AAGA,IAAIA,IAAcC,EAAU,WAAW;AAAA,CAItC,WAAW;AACN,EAACD,EAAY,SAAS,MACxBA,IAAc,SAASE,GAAK;AACnB,WAAAC,EAAID,GAAK,QAAQ;AAAA,EAAA;AAG9B;AAEA,MAAAE,IAAeJ;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
- import t from "./index.es19.js";
1
+ import t from "./index.es22.js";
2
2
  import o from "./index.es216.js";
3
- import a from "./index.es24.js";
3
+ import a from "./index.es27.js";
4
4
  function n(e, r, i) {
5
5
  return t.iteratee !== a ? t.iteratee(e, r) : o(e, r, i);
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import o from "./index.es113.js";
2
- import m from "./index.es16.js";
2
+ import m from "./index.es19.js";
3
3
  import f from "./index.es77.js";
4
4
  import p from "./index.es90.js";
5
5
  import n from "./index.es118.js";
@@ -1,7 +1,7 @@
1
1
  import l from "./index.es202.js";
2
2
  import y from "./index.es221.js";
3
3
  import A from "./index.es90.js";
4
- import c from "./index.es18.js";
4
+ import c from "./index.es21.js";
5
5
  function x(n, i, s, r) {
6
6
  if (r = r || [], !i && i !== 0)
7
7
  i = 1 / 0;
@@ -1,8 +1,20 @@
1
- import t from "./index.es199.js";
2
- import { isIE11 as e } from "./index.es17.js";
3
- import { ie11fingerprint as r, setMethods as o } from "./index.es205.js";
4
- const f = e ? r(o) : t("Set");
1
+ import { VERSION as e } from "./index.es18.js";
2
+ function t(r) {
3
+ if (r instanceof t)
4
+ return r;
5
+ if (!(this instanceof t))
6
+ return new t(r);
7
+ this._wrapped = r;
8
+ }
9
+ t.VERSION = e;
10
+ t.prototype.value = function() {
11
+ return this._wrapped;
12
+ };
13
+ t.prototype.valueOf = t.prototype.toJSON = t.prototype.value;
14
+ t.prototype.toString = function() {
15
+ return String(this._wrapped);
16
+ };
5
17
  export {
6
- f as default
18
+ t as default
7
19
  };
8
20
  //# sourceMappingURL=index.es22.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es22.js","sources":["../../../node_modules/underscore/modules/isSet.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, setMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(setMethods) : tagTester('Set');\n"],"names":["isSet","isIE11","ie11fingerprint","setMethods","tagTester"],"mappings":";;;AAIA,MAAeA,IAAAC,IAASC,EAAgBC,CAAU,IAAIC,EAAU,KAAK;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es22.js","sources":["../../../node_modules/underscore/modules/underscore.js"],"sourcesContent":["import { VERSION } from './_setup.js';\n\n// If Underscore is called as a function, it returns a wrapped object that can\n// be used OO-style. This wrapper holds altered versions of all functions added\n// through `_.mixin`. Wrapped objects may be chained.\nexport default function _(obj) {\n if (obj instanceof _) return obj;\n if (!(this instanceof _)) return new _(obj);\n this._wrapped = obj;\n}\n\n_.VERSION = VERSION;\n\n// Extracts the result from a wrapped and chained object.\n_.prototype.value = function() {\n return this._wrapped;\n};\n\n// Provide unwrapping proxies for some methods used in engine operations\n// such as arithmetic and JSON stringification.\n_.prototype.valueOf = _.prototype.toJSON = _.prototype.value;\n\n_.prototype.toString = function() {\n return String(this._wrapped);\n};\n"],"names":["_","obj","VERSION"],"mappings":";AAKA,SAAwBA,EAAEC,GAAK;AAC7B,MAAIA,aAAeD;AAAU,WAAAC;AAC7B,MAAI,EAAE,gBAAgBD;AAAW,WAAA,IAAIA,EAAEC,CAAG;AAC1C,OAAK,WAAWA;AAClB;AAEAD,EAAE,UAAUE;AAGZF,EAAE,UAAU,QAAQ,WAAW;AAC7B,SAAO,KAAK;AACd;AAIAA,EAAE,UAAU,UAAUA,EAAE,UAAU,SAASA,EAAE,UAAU;AAEvDA,EAAE,UAAU,WAAW,WAAW;AACzB,SAAA,OAAO,KAAK,QAAQ;AAC7B;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  import c from "./index.es202.js";
2
- import { slice as m } from "./index.es15.js";
2
+ import { slice as m } from "./index.es18.js";
3
3
  import p from "./index.es92.js";
4
4
  function M(o, l, u) {
5
5
  return function(t, f, e) {
@@ -1,4 +1,4 @@
1
- import e from "./index.es229.js";
1
+ import e from "./index.es228.js";
2
2
  import r from "./index.es202.js";
3
3
  const i = e(r);
4
4
  export {
@@ -1,4 +1,4 @@
1
- import a from "./index.es19.js";
1
+ import a from "./index.es22.js";
2
2
  function r(t, n) {
3
3
  return t._chain ? a(n).chain() : n;
4
4
  }
@@ -1,49 +1,6 @@
1
- import { deepEqual as c } from "./index.es196.js";
2
- function g(n) {
3
- const o = n.clone();
4
- return o.pixelsToGLUnits = n.pixelsToGLUnits, o;
5
- }
6
- function r(n, o) {
7
- if (!n.getProjection)
8
- return;
9
- const i = n.getProjection(), e = o.getProjection();
10
- c(i, e) || o.setProjection(i);
11
- }
12
- function d(n) {
13
- return {
14
- longitude: n.center.lng,
15
- latitude: n.center.lat,
16
- zoom: n.zoom,
17
- pitch: n.pitch,
18
- bearing: n.bearing,
19
- padding: n.padding
20
- };
21
- }
22
- function s(n, o) {
23
- const i = o.viewState || o;
24
- let e = !1;
25
- if ("longitude" in i && "latitude" in i) {
26
- const t = n.center;
27
- n.center = new t.constructor(i.longitude, i.latitude), e = e || t !== n.center;
28
- }
29
- if ("zoom" in i) {
30
- const t = n.zoom;
31
- n.zoom = i.zoom, e = e || t !== n.zoom;
32
- }
33
- if ("bearing" in i) {
34
- const t = n.bearing;
35
- n.bearing = i.bearing, e = e || t !== n.bearing;
36
- }
37
- if ("pitch" in i) {
38
- const t = n.pitch;
39
- n.pitch = i.pitch, e = e || t !== n.pitch;
40
- }
41
- return i.padding && !n.isPaddingEqual(i.padding) && (e = !0, n.padding = i.padding), e;
42
- }
1
+ import t from "./index.es199.js";
2
+ const a = t("Object");
43
3
  export {
44
- s as applyViewStateToTransform,
45
- g as cloneTransform,
46
- r as syncProjection,
47
- d as transformToViewState
4
+ a as default
48
5
  };
49
6
  //# sourceMappingURL=index.es226.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es226.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/transform.js"],"sourcesContent":["import { deepEqual } from './deep-equal';\n/**\n * Make a copy of a transform\n * @param tr\n */\nexport function cloneTransform(tr) {\n const newTransform = tr.clone();\n // Work around mapbox bug - this value is not assigned in clone(), only in resize()\n newTransform.pixelsToGLUnits = tr.pixelsToGLUnits;\n return newTransform;\n}\n/**\n * Copy projection from one transform to another. This only applies to mapbox-gl transforms\n * @param src the transform to copy projection settings from\n * @param dest to transform to copy projection settings to\n */\nexport function syncProjection(src, dest) {\n if (!src.getProjection) {\n return;\n }\n const srcProjection = src.getProjection();\n const destProjection = dest.getProjection();\n if (!deepEqual(srcProjection, destProjection)) {\n dest.setProjection(srcProjection);\n }\n}\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 * Mutate a transform to match the given view state\n * @param transform\n * @param viewState\n * @returns true if the transform has changed\n */\nexport function applyViewStateToTransform(tr, props) {\n const v = props.viewState || props;\n let changed = false;\n if ('longitude' in v && 'latitude' in v) {\n const center = tr.center;\n // @ts-ignore\n tr.center = new center.constructor(v.longitude, v.latitude);\n changed = changed || center !== tr.center;\n }\n if ('zoom' in v) {\n const zoom = tr.zoom;\n tr.zoom = v.zoom;\n changed = changed || zoom !== tr.zoom;\n }\n if ('bearing' in v) {\n const bearing = tr.bearing;\n tr.bearing = v.bearing;\n changed = changed || bearing !== tr.bearing;\n }\n if ('pitch' in v) {\n const pitch = tr.pitch;\n tr.pitch = v.pitch;\n changed = changed || pitch !== tr.pitch;\n }\n if (v.padding && !tr.isPaddingEqual(v.padding)) {\n changed = true;\n tr.padding = v.padding;\n }\n return changed;\n}\n//# sourceMappingURL=transform.js.map"],"names":["cloneTransform","tr","newTransform","syncProjection","src","dest","srcProjection","destProjection","deepEqual","transformToViewState","applyViewStateToTransform","props","v","changed","center","zoom","bearing","pitch"],"mappings":";AAKO,SAASA,EAAeC,GAAI;AACzB,QAAAC,IAAeD,EAAG;AAExB,SAAAC,EAAa,kBAAkBD,EAAG,iBAC3BC;AACX;AAMgB,SAAAC,EAAeC,GAAKC,GAAM;AAClC,MAAA,CAACD,EAAI;AACL;AAEE,QAAAE,IAAgBF,EAAI,iBACpBG,IAAiBF,EAAK;AAC5B,EAAKG,EAAUF,GAAeC,CAAc,KACxCF,EAAK,cAAcC,CAAa;AAExC;AAMO,SAASG,EAAqBR,GAAI;AAC9B,SAAA;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;AAQgB,SAAAS,EAA0BT,GAAIU,GAAO;AAC3C,QAAAC,IAAID,EAAM,aAAaA;AAC7B,MAAIE,IAAU;AACV,MAAA,eAAeD,KAAK,cAAcA,GAAG;AACrC,UAAME,IAASb,EAAG;AAElB,IAAAA,EAAG,SAAS,IAAIa,EAAO,YAAYF,EAAE,WAAWA,EAAE,QAAQ,GAChDC,IAAAA,KAAWC,MAAWb,EAAG;AAAA,EACvC;AACA,MAAI,UAAUW,GAAG;AACb,UAAMG,IAAOd,EAAG;AAChB,IAAAA,EAAG,OAAOW,EAAE,MACFC,IAAAA,KAAWE,MAASd,EAAG;AAAA,EACrC;AACA,MAAI,aAAaW,GAAG;AAChB,UAAMI,IAAUf,EAAG;AACnB,IAAAA,EAAG,UAAUW,EAAE,SACLC,IAAAA,KAAWG,MAAYf,EAAG;AAAA,EACxC;AACA,MAAI,WAAWW,GAAG;AACd,UAAMK,IAAQhB,EAAG;AACjB,IAAAA,EAAG,QAAQW,EAAE,OACHC,IAAAA,KAAWI,MAAUhB,EAAG;AAAA,EACtC;AACA,SAAIW,EAAE,WAAW,CAACX,EAAG,eAAeW,EAAE,OAAO,MAC/BC,IAAA,IACVZ,EAAG,UAAUW,EAAE,UAEZC;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es226.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,MAAeA,IAAAC,EAAU,QAAQ;","x_google_ignoreList":[0]}
@@ -1,26 +1,9 @@
1
- const a = ["type", "source", "source-layer", "minzoom", "maxzoom", "filter", "layout"];
2
- function c(r) {
3
- if (!r)
4
- return null;
5
- if (typeof r == "string" || ("toJS" in r && (r = r.toJS()), !r.layers))
6
- return r;
7
- const t = {};
8
- for (const e of r.layers)
9
- t[e.id] = e;
10
- const f = r.layers.map((e) => {
11
- let n = null;
12
- "interactive" in e && (n = Object.assign({}, e), delete n.interactive);
13
- const o = t[e.ref];
14
- if (o) {
15
- n = n || Object.assign({}, e), delete n.ref;
16
- for (const i of a)
17
- i in o && (n[i] = o[i]);
18
- }
19
- return n || e;
20
- });
21
- return { ...r, layers: f };
1
+ function t(r) {
2
+ return function(n) {
3
+ return n == null ? void 0 : n[r];
4
+ };
22
5
  }
23
6
  export {
24
- c as normalizeStyle
7
+ t as default
25
8
  };
26
9
  //# sourceMappingURL=index.es227.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es227.js","sources":["../../../node_modules/react-map-gl/dist/esm/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;AACM,WAAA;AAQP,MANA,OAAOA,KAAU,aAGjB,UAAUA,MACVA,IAAQA,EAAM,SAEd,CAACA,EAAM;AACA,WAAAA;AAEX,QAAMC,IAAa,CAAA;AACR,aAAAC,KAASF,EAAM;AACX,IAAAC,EAAAC,EAAM,EAAE,IAAIA;AAE3B,QAAMC,IAASH,EAAM,OAAO,IAAI,CAASE,MAAA;AACrC,QAAIE,IAAkB;AACtB,IAAI,iBAAiBF,MACjBE,IAAkB,OAAO,OAAO,CAAC,GAAGF,CAAK,GAGzC,OAAOE,EAAgB;AAIrB,UAAAC,IAAWJ,EAAWC,EAAM,GAAG;AACrC,QAAIG,GAAU;AACV,MAAAD,IAAkBA,KAAmB,OAAO,OAAO,IAAIF,CAAK,GAE5D,OAAOE,EAAgB;AAEvB,iBAAWE,KAAYR;AACnB,QAAIQ,KAAYD,MACID,EAAAE,CAAQ,IAAID,EAASC,CAAQ;AAAA,IAGzD;AACA,WAAOF,KAAmBF;AAAA,EAAA,CAC7B;AAEM,SAAA,EAAE,GAAGF,GAAO,QAAAG;AACvB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es227.js","sources":["../../../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"AACA,SAAwBA,EAAgBC,GAAK;AAC3C,SAAO,SAASC,GAAK;AACnB,WAAOA,KAAO,OAAO,SAASA,EAAID,CAAG;AAAA,EAAA;AAEzC;","x_google_ignoreList":[0]}
@@ -1,6 +1,11 @@
1
- import t from "./index.es199.js";
2
- const a = t("Object");
1
+ import { MAX_ARRAY_INDEX as o } from "./index.es18.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
+ }
3
8
  export {
4
- a as default
9
+ u as default
5
10
  };
6
11
  //# sourceMappingURL=index.es228.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es228.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,MAAeA,IAAAC,EAAU,QAAQ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es228.js","sources":["../../../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":";AAGA,SAAwBA,EAAwBC,GAAiB;AAC/D,SAAO,SAASC,GAAY;AACtB,QAAAC,IAAeF,EAAgBC,CAAU;AAC7C,WAAO,OAAOC,KAAgB,YAAYA,KAAgB,KAAKA,KAAgBC;AAAA,EAAA;AAEnF;","x_google_ignoreList":[0]}
@@ -1,11 +1,49 @@
1
- import { MAX_ARRAY_INDEX as o } from "./index.es15.js";
2
- function u(e) {
3
- return function(t) {
4
- var r = e(t);
5
- return typeof r == "number" && r >= 0 && r <= o;
1
+ import { deepEqual as c } from "./index.es196.js";
2
+ function g(n) {
3
+ const o = n.clone();
4
+ return o.pixelsToGLUnits = n.pixelsToGLUnits, o;
5
+ }
6
+ function r(n, o) {
7
+ if (!n.getProjection)
8
+ return;
9
+ const i = n.getProjection(), e = o.getProjection();
10
+ c(i, e) || o.setProjection(i);
11
+ }
12
+ function d(n) {
13
+ return {
14
+ longitude: n.center.lng,
15
+ latitude: n.center.lat,
16
+ zoom: n.zoom,
17
+ pitch: n.pitch,
18
+ bearing: n.bearing,
19
+ padding: n.padding
6
20
  };
7
21
  }
22
+ function s(n, o) {
23
+ const i = o.viewState || o;
24
+ let e = !1;
25
+ if ("longitude" in i && "latitude" in i) {
26
+ const t = n.center;
27
+ n.center = new t.constructor(i.longitude, i.latitude), e = e || t !== n.center;
28
+ }
29
+ if ("zoom" in i) {
30
+ const t = n.zoom;
31
+ n.zoom = i.zoom, e = e || t !== n.zoom;
32
+ }
33
+ if ("bearing" in i) {
34
+ const t = n.bearing;
35
+ n.bearing = i.bearing, e = e || t !== n.bearing;
36
+ }
37
+ if ("pitch" in i) {
38
+ const t = n.pitch;
39
+ n.pitch = i.pitch, e = e || t !== n.pitch;
40
+ }
41
+ return i.padding && !n.isPaddingEqual(i.padding) && (e = !0, n.padding = i.padding), e;
42
+ }
8
43
  export {
9
- u as default
44
+ s as applyViewStateToTransform,
45
+ g as cloneTransform,
46
+ r as syncProjection,
47
+ d as transformToViewState
10
48
  };
11
49
  //# sourceMappingURL=index.es229.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es229.js","sources":["../../../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":";AAGA,SAAwBA,EAAwBC,GAAiB;AAC/D,SAAO,SAASC,GAAY;AACtB,QAAAC,IAAeF,EAAgBC,CAAU;AAC7C,WAAO,OAAOC,KAAgB,YAAYA,KAAgB,KAAKA,KAAgBC;AAAA,EAAA;AAEnF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es229.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/transform.js"],"sourcesContent":["import { deepEqual } from './deep-equal';\n/**\n * Make a copy of a transform\n * @param tr\n */\nexport function cloneTransform(tr) {\n const newTransform = tr.clone();\n // Work around mapbox bug - this value is not assigned in clone(), only in resize()\n newTransform.pixelsToGLUnits = tr.pixelsToGLUnits;\n return newTransform;\n}\n/**\n * Copy projection from one transform to another. This only applies to mapbox-gl transforms\n * @param src the transform to copy projection settings from\n * @param dest to transform to copy projection settings to\n */\nexport function syncProjection(src, dest) {\n if (!src.getProjection) {\n return;\n }\n const srcProjection = src.getProjection();\n const destProjection = dest.getProjection();\n if (!deepEqual(srcProjection, destProjection)) {\n dest.setProjection(srcProjection);\n }\n}\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 * Mutate a transform to match the given view state\n * @param transform\n * @param viewState\n * @returns true if the transform has changed\n */\nexport function applyViewStateToTransform(tr, props) {\n const v = props.viewState || props;\n let changed = false;\n if ('longitude' in v && 'latitude' in v) {\n const center = tr.center;\n // @ts-ignore\n tr.center = new center.constructor(v.longitude, v.latitude);\n changed = changed || center !== tr.center;\n }\n if ('zoom' in v) {\n const zoom = tr.zoom;\n tr.zoom = v.zoom;\n changed = changed || zoom !== tr.zoom;\n }\n if ('bearing' in v) {\n const bearing = tr.bearing;\n tr.bearing = v.bearing;\n changed = changed || bearing !== tr.bearing;\n }\n if ('pitch' in v) {\n const pitch = tr.pitch;\n tr.pitch = v.pitch;\n changed = changed || pitch !== tr.pitch;\n }\n if (v.padding && !tr.isPaddingEqual(v.padding)) {\n changed = true;\n tr.padding = v.padding;\n }\n return changed;\n}\n//# sourceMappingURL=transform.js.map"],"names":["cloneTransform","tr","newTransform","syncProjection","src","dest","srcProjection","destProjection","deepEqual","transformToViewState","applyViewStateToTransform","props","v","changed","center","zoom","bearing","pitch"],"mappings":";AAKO,SAASA,EAAeC,GAAI;AACzB,QAAAC,IAAeD,EAAG;AAExB,SAAAC,EAAa,kBAAkBD,EAAG,iBAC3BC;AACX;AAMgB,SAAAC,EAAeC,GAAKC,GAAM;AAClC,MAAA,CAACD,EAAI;AACL;AAEE,QAAAE,IAAgBF,EAAI,iBACpBG,IAAiBF,EAAK;AAC5B,EAAKG,EAAUF,GAAeC,CAAc,KACxCF,EAAK,cAAcC,CAAa;AAExC;AAMO,SAASG,EAAqBR,GAAI;AAC9B,SAAA;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;AAQgB,SAAAS,EAA0BT,GAAIU,GAAO;AAC3C,QAAAC,IAAID,EAAM,aAAaA;AAC7B,MAAIE,IAAU;AACV,MAAA,eAAeD,KAAK,cAAcA,GAAG;AACrC,UAAME,IAASb,EAAG;AAElB,IAAAA,EAAG,SAAS,IAAIa,EAAO,YAAYF,EAAE,WAAWA,EAAE,QAAQ,GAChDC,IAAAA,KAAWC,MAAWb,EAAG;AAAA,EACvC;AACA,MAAI,UAAUW,GAAG;AACb,UAAMG,IAAOd,EAAG;AAChB,IAAAA,EAAG,OAAOW,EAAE,MACFC,IAAAA,KAAWE,MAASd,EAAG;AAAA,EACrC;AACA,MAAI,aAAaW,GAAG;AAChB,UAAMI,IAAUf,EAAG;AACnB,IAAAA,EAAG,UAAUW,EAAE,SACLC,IAAAA,KAAWG,MAAYf,EAAG;AAAA,EACxC;AACA,MAAI,WAAWW,GAAG;AACd,UAAMK,IAAQhB,EAAG;AACjB,IAAAA,EAAG,QAAQW,EAAE,OACHC,IAAAA,KAAWI,MAAUhB,EAAG;AAAA,EACtC;AACA,SAAIW,EAAE,WAAW,CAACX,EAAG,eAAeW,EAAE,OAAO,MAC/BC,IAAA,IACVZ,EAAG,UAAUW,EAAE,UAEZC;AACX;","x_google_ignoreList":[0]}