@performant-software/geospatial 3.0.6-beta.9 → 3.0.7-beta.0

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 (336) hide show
  1. package/dist/index.cjs101.js +1 -1
  2. package/dist/index.cjs102.js +1 -1
  3. package/dist/index.cjs103.js +1 -1
  4. package/dist/index.cjs104.js +1 -1
  5. package/dist/index.cjs109.js +1 -1
  6. package/dist/index.cjs110.js +1 -1
  7. package/dist/index.cjs111.js +1 -1
  8. package/dist/index.cjs112.js +1 -1
  9. package/dist/index.cjs115.js +1 -1
  10. package/dist/index.cjs116.js +1 -1
  11. package/dist/index.cjs117.js +1 -1
  12. package/dist/index.cjs121.js +1 -1
  13. package/dist/index.cjs124.js +1 -1
  14. package/dist/index.cjs128.js +1 -1
  15. package/dist/index.cjs131.js +1 -1
  16. package/dist/index.cjs139.js +1 -1
  17. package/dist/index.cjs14.js +1 -1
  18. package/dist/index.cjs140.js +1 -1
  19. package/dist/index.cjs141.js +1 -1
  20. package/dist/index.cjs142.js +1 -1
  21. package/dist/index.cjs143.js +1 -1
  22. package/dist/index.cjs144.js +1 -1
  23. package/dist/index.cjs145.js +1 -1
  24. package/dist/index.cjs147.js +1 -1
  25. package/dist/index.cjs148.js +1 -1
  26. package/dist/index.cjs149.js +1 -1
  27. package/dist/index.cjs150.js +1 -1
  28. package/dist/index.cjs151.js +1 -1
  29. package/dist/index.cjs152.js +1 -1
  30. package/dist/index.cjs153.js +1 -1
  31. package/dist/index.cjs154.js +1 -1
  32. package/dist/index.cjs155.js +1 -1
  33. package/dist/index.cjs158.js +1 -1
  34. package/dist/index.cjs159.js +1 -1
  35. package/dist/index.cjs161.js +1 -1
  36. package/dist/index.cjs162.js +1 -1
  37. package/dist/index.cjs163.js +1 -1
  38. package/dist/index.cjs164.js +1 -1
  39. package/dist/index.cjs165.js +1 -1
  40. package/dist/index.cjs166.js +1 -1
  41. package/dist/index.cjs167.js +1 -1
  42. package/dist/index.cjs168.js +1 -1
  43. package/dist/index.cjs174.js +1 -1
  44. package/dist/index.cjs175.js +1 -1
  45. package/dist/index.cjs176.js +1 -1
  46. package/dist/index.cjs177.js +1 -1
  47. package/dist/index.cjs178.js +1 -1
  48. package/dist/index.cjs181.js +1 -1
  49. package/dist/index.cjs184.js +1 -1
  50. package/dist/index.cjs19.js +1 -1
  51. package/dist/index.cjs206.js +1 -1
  52. package/dist/index.cjs206.js.map +1 -1
  53. package/dist/index.cjs207.js +1 -1
  54. package/dist/index.cjs207.js.map +1 -1
  55. package/dist/index.cjs208.js +1 -1
  56. package/dist/index.cjs208.js.map +1 -1
  57. package/dist/index.cjs209.js +1 -1
  58. package/dist/index.cjs209.js.map +1 -1
  59. package/dist/index.cjs21.js +1 -1
  60. package/dist/index.cjs210.js +1 -1
  61. package/dist/index.cjs210.js.map +1 -1
  62. package/dist/index.cjs211.js +1 -1
  63. package/dist/index.cjs211.js.map +1 -1
  64. package/dist/index.cjs212.js +1 -1
  65. package/dist/index.cjs212.js.map +1 -1
  66. package/dist/index.cjs213.js +1 -1
  67. package/dist/index.cjs213.js.map +1 -1
  68. package/dist/index.cjs214.js +1 -1
  69. package/dist/index.cjs214.js.map +1 -1
  70. package/dist/index.cjs215.js +1 -1
  71. package/dist/index.cjs215.js.map +1 -1
  72. package/dist/index.cjs216.js +1 -1
  73. package/dist/index.cjs216.js.map +1 -1
  74. package/dist/index.cjs217.js +1 -1
  75. package/dist/index.cjs217.js.map +1 -1
  76. package/dist/index.cjs218.js +1 -1
  77. package/dist/index.cjs218.js.map +1 -1
  78. package/dist/index.cjs219.js +1 -1
  79. package/dist/index.cjs219.js.map +1 -1
  80. package/dist/index.cjs22.js +1 -1
  81. package/dist/index.cjs220.js +1 -1
  82. package/dist/index.cjs220.js.map +1 -1
  83. package/dist/index.cjs221.js +1 -1
  84. package/dist/index.cjs221.js.map +1 -1
  85. package/dist/index.cjs222.js +1 -1
  86. package/dist/index.cjs222.js.map +1 -1
  87. package/dist/index.cjs223.js +1 -1
  88. package/dist/index.cjs223.js.map +1 -1
  89. package/dist/index.cjs224.js +1 -1
  90. package/dist/index.cjs224.js.map +1 -1
  91. package/dist/index.cjs225.js +1 -1
  92. package/dist/index.cjs225.js.map +1 -1
  93. package/dist/index.cjs226.js +1 -1
  94. package/dist/index.cjs226.js.map +1 -1
  95. package/dist/index.cjs227.js +1 -1
  96. package/dist/index.cjs227.js.map +1 -1
  97. package/dist/index.cjs228.js +1 -1
  98. package/dist/index.cjs228.js.map +1 -1
  99. package/dist/index.cjs229.js +1 -1
  100. package/dist/index.cjs229.js.map +1 -1
  101. package/dist/index.cjs230.js +1 -1
  102. package/dist/index.cjs230.js.map +1 -1
  103. package/dist/index.cjs231.js +1 -1
  104. package/dist/index.cjs231.js.map +1 -1
  105. package/dist/index.cjs232.js +1 -1
  106. package/dist/index.cjs232.js.map +1 -1
  107. package/dist/index.cjs233.js +1 -1
  108. package/dist/index.cjs233.js.map +1 -1
  109. package/dist/index.cjs234.js +1 -1
  110. package/dist/index.cjs234.js.map +1 -1
  111. package/dist/index.cjs235.js +1 -1
  112. package/dist/index.cjs235.js.map +1 -1
  113. package/dist/index.cjs236.js +1 -1
  114. package/dist/index.cjs236.js.map +1 -1
  115. package/dist/index.cjs237.js +1 -1
  116. package/dist/index.cjs237.js.map +1 -1
  117. package/dist/index.cjs238.js +1 -1
  118. package/dist/index.cjs238.js.map +1 -1
  119. package/dist/index.cjs246.js +1 -1
  120. package/dist/index.cjs25.js +1 -1
  121. package/dist/index.cjs250.js +1 -1
  122. package/dist/index.cjs251.js +1 -1
  123. package/dist/index.cjs254.js +1 -1
  124. package/dist/index.cjs258.js +1 -1
  125. package/dist/index.cjs258.js.map +1 -1
  126. package/dist/index.cjs259.js +1 -1
  127. package/dist/index.cjs259.js.map +1 -1
  128. package/dist/index.cjs26.js +1 -1
  129. package/dist/index.cjs260.js +1 -1
  130. package/dist/index.cjs260.js.map +1 -1
  131. package/dist/index.cjs27.js +1 -1
  132. package/dist/index.cjs29.js +1 -1
  133. package/dist/index.cjs30.js +1 -1
  134. package/dist/index.cjs31.js +1 -1
  135. package/dist/index.cjs33.js +1 -1
  136. package/dist/index.cjs34.js +1 -1
  137. package/dist/index.cjs35.js +1 -1
  138. package/dist/index.cjs37.js +1 -1
  139. package/dist/index.cjs38.js +1 -1
  140. package/dist/index.cjs39.js +1 -1
  141. package/dist/index.cjs43.js +1 -1
  142. package/dist/index.cjs44.js +1 -1
  143. package/dist/index.cjs45.js +1 -1
  144. package/dist/index.cjs47.js +1 -1
  145. package/dist/index.cjs48.js +1 -1
  146. package/dist/index.cjs50.js +1 -1
  147. package/dist/index.cjs63.js +1 -1
  148. package/dist/index.cjs63.js.map +1 -1
  149. package/dist/index.cjs64.js +1 -1
  150. package/dist/index.cjs64.js.map +1 -1
  151. package/dist/index.cjs65.js +1 -1
  152. package/dist/index.cjs66.js +1 -1
  153. package/dist/index.cjs66.js.map +1 -1
  154. package/dist/index.cjs67.js +1 -1
  155. package/dist/index.cjs67.js.map +1 -1
  156. package/dist/index.cjs80.js +1 -1
  157. package/dist/index.cjs87.js +1 -1
  158. package/dist/index.cjs88.js +1 -1
  159. package/dist/index.cjs89.js +1 -1
  160. package/dist/index.cjs90.js +1 -1
  161. package/dist/index.cjs91.js +1 -1
  162. package/dist/index.cjs92.js +1 -1
  163. package/dist/index.cjs93.js +1 -1
  164. package/dist/index.cjs94.js +1 -1
  165. package/dist/index.cjs95.js +1 -1
  166. package/dist/index.cjs98.js +1 -1
  167. package/dist/index.cjs99.js +1 -1
  168. package/dist/index.es101.js +3 -3
  169. package/dist/index.es102.js +1 -1
  170. package/dist/index.es103.js +2 -2
  171. package/dist/index.es104.js +1 -1
  172. package/dist/index.es109.js +1 -1
  173. package/dist/index.es110.js +1 -1
  174. package/dist/index.es111.js +1 -1
  175. package/dist/index.es112.js +1 -1
  176. package/dist/index.es115.js +2 -2
  177. package/dist/index.es116.js +2 -2
  178. package/dist/index.es117.js +1 -1
  179. package/dist/index.es121.js +2 -2
  180. package/dist/index.es124.js +1 -1
  181. package/dist/index.es128.js +1 -1
  182. package/dist/index.es131.js +1 -1
  183. package/dist/index.es139.js +1 -1
  184. package/dist/index.es14.js +2 -2
  185. package/dist/index.es140.js +1 -1
  186. package/dist/index.es141.js +1 -1
  187. package/dist/index.es142.js +2 -2
  188. package/dist/index.es143.js +1 -1
  189. package/dist/index.es144.js +1 -1
  190. package/dist/index.es145.js +1 -1
  191. package/dist/index.es147.js +2 -2
  192. package/dist/index.es148.js +2 -2
  193. package/dist/index.es149.js +1 -1
  194. package/dist/index.es150.js +1 -1
  195. package/dist/index.es151.js +1 -1
  196. package/dist/index.es152.js +1 -1
  197. package/dist/index.es153.js +2 -2
  198. package/dist/index.es154.js +2 -2
  199. package/dist/index.es155.js +1 -1
  200. package/dist/index.es158.js +2 -2
  201. package/dist/index.es159.js +2 -2
  202. package/dist/index.es161.js +2 -2
  203. package/dist/index.es162.js +1 -1
  204. package/dist/index.es163.js +2 -2
  205. package/dist/index.es164.js +1 -1
  206. package/dist/index.es165.js +2 -2
  207. package/dist/index.es166.js +1 -1
  208. package/dist/index.es167.js +1 -1
  209. package/dist/index.es168.js +1 -1
  210. package/dist/index.es174.js +1 -1
  211. package/dist/index.es175.js +2 -2
  212. package/dist/index.es176.js +1 -1
  213. package/dist/index.es177.js +1 -1
  214. package/dist/index.es178.js +1 -1
  215. package/dist/index.es181.js +1 -1
  216. package/dist/index.es184.js +2 -2
  217. package/dist/index.es19.js +2 -2
  218. package/dist/index.es206.js +6 -44
  219. package/dist/index.es206.js.map +1 -1
  220. package/dist/index.es207.js +4 -22
  221. package/dist/index.es207.js.map +1 -1
  222. package/dist/index.es208.js +4 -8
  223. package/dist/index.es208.js.map +1 -1
  224. package/dist/index.es209.js +3 -5
  225. package/dist/index.es209.js.map +1 -1
  226. package/dist/index.es21.js +2 -2
  227. package/dist/index.es210.js +3 -4
  228. package/dist/index.es210.js.map +1 -1
  229. package/dist/index.es211.js +9 -3
  230. package/dist/index.es211.js.map +1 -1
  231. package/dist/index.es212.js +22 -3
  232. package/dist/index.es212.js.map +1 -1
  233. package/dist/index.es213.js +21 -8
  234. package/dist/index.es213.js.map +1 -1
  235. package/dist/index.es214.js +11 -19
  236. package/dist/index.es214.js.map +1 -1
  237. package/dist/index.es215.js +14 -19
  238. package/dist/index.es215.js.map +1 -1
  239. package/dist/index.es216.js +5 -13
  240. package/dist/index.es216.js.map +1 -1
  241. package/dist/index.es217.js +8 -16
  242. package/dist/index.es217.js.map +1 -1
  243. package/dist/index.es218.js +6 -5
  244. package/dist/index.es218.js.map +1 -1
  245. package/dist/index.es219.js +20 -7
  246. package/dist/index.es219.js.map +1 -1
  247. package/dist/index.es22.js +2 -2
  248. package/dist/index.es220.js +8 -5
  249. package/dist/index.es220.js.map +1 -1
  250. package/dist/index.es221.js +9 -22
  251. package/dist/index.es221.js.map +1 -1
  252. package/dist/index.es222.js +4 -10
  253. package/dist/index.es222.js.map +1 -1
  254. package/dist/index.es223.js +11 -9
  255. package/dist/index.es223.js.map +1 -1
  256. package/dist/index.es224.js +9 -4
  257. package/dist/index.es224.js.map +1 -1
  258. package/dist/index.es225.js +21 -9
  259. package/dist/index.es225.js.map +1 -1
  260. package/dist/index.es226.js +11 -8
  261. package/dist/index.es226.js.map +1 -1
  262. package/dist/index.es227.js +18 -22
  263. package/dist/index.es227.js.map +1 -1
  264. package/dist/index.es228.js +4 -12
  265. package/dist/index.es228.js.map +1 -1
  266. package/dist/index.es229.js +16 -17
  267. package/dist/index.es229.js.map +1 -1
  268. package/dist/index.es230.js +12 -4
  269. package/dist/index.es230.js.map +1 -1
  270. package/dist/index.es231.js +3 -17
  271. package/dist/index.es231.js.map +1 -1
  272. package/dist/index.es232.js +4 -11
  273. package/dist/index.es232.js.map +1 -1
  274. package/dist/index.es233.js +2 -4
  275. package/dist/index.es233.js.map +1 -1
  276. package/dist/index.es234.js +45 -4
  277. package/dist/index.es234.js.map +1 -1
  278. package/dist/index.es235.js +23 -2
  279. package/dist/index.es235.js.map +1 -1
  280. package/dist/index.es236.js +8 -3
  281. package/dist/index.es236.js.map +1 -1
  282. package/dist/index.es237.js +3 -6
  283. package/dist/index.es237.js.map +1 -1
  284. package/dist/index.es238.js +4 -6
  285. package/dist/index.es238.js.map +1 -1
  286. package/dist/index.es246.js +1 -1
  287. package/dist/index.es25.js +1 -1
  288. package/dist/index.es250.js +1 -1
  289. package/dist/index.es251.js +2 -2
  290. package/dist/index.es254.js +1 -1
  291. package/dist/index.es258.js +4 -70
  292. package/dist/index.es258.js.map +1 -1
  293. package/dist/index.es259.js +15 -4
  294. package/dist/index.es259.js.map +1 -1
  295. package/dist/index.es26.js +1 -1
  296. package/dist/index.es260.js +70 -15
  297. package/dist/index.es260.js.map +1 -1
  298. package/dist/index.es27.js +2 -2
  299. package/dist/index.es29.js +2 -2
  300. package/dist/index.es30.js +2 -2
  301. package/dist/index.es31.js +2 -2
  302. package/dist/index.es33.js +1 -1
  303. package/dist/index.es34.js +2 -2
  304. package/dist/index.es35.js +2 -2
  305. package/dist/index.es37.js +1 -1
  306. package/dist/index.es38.js +1 -1
  307. package/dist/index.es39.js +1 -1
  308. package/dist/index.es43.js +2 -2
  309. package/dist/index.es44.js +3 -3
  310. package/dist/index.es45.js +1 -1
  311. package/dist/index.es47.js +1 -1
  312. package/dist/index.es48.js +1 -1
  313. package/dist/index.es50.js +1 -1
  314. package/dist/index.es63.js +106 -5
  315. package/dist/index.es63.js.map +1 -1
  316. package/dist/index.es64.js +10 -2
  317. package/dist/index.es64.js.map +1 -1
  318. package/dist/index.es65.js +6 -2
  319. package/dist/index.es65.js.map +1 -1
  320. package/dist/index.es66.js +2 -107
  321. package/dist/index.es66.js.map +1 -1
  322. package/dist/index.es67.js +2 -10
  323. package/dist/index.es67.js.map +1 -1
  324. package/dist/index.es80.js +1 -1
  325. package/dist/index.es87.js +1 -1
  326. package/dist/index.es88.js +1 -1
  327. package/dist/index.es89.js +1 -1
  328. package/dist/index.es90.js +1 -1
  329. package/dist/index.es91.js +1 -1
  330. package/dist/index.es92.js +1 -1
  331. package/dist/index.es93.js +1 -1
  332. package/dist/index.es94.js +1 -1
  333. package/dist/index.es95.js +1 -1
  334. package/dist/index.es98.js +1 -1
  335. package/dist/index.es99.js +1 -1
  336. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("./index.cjs220.js"),c=require("./index.cjs230.js"),i=require("./index.cjs103.js");function k(r,e,n){e=a(e,n);for(var t=!c(r)&&i(r),f=(t||r).length,s=0;s<f;s++){var u=t?t[s]:s;if(e(r[u],u,r))return!0}return!1}module.exports=k;
1
+ "use strict";const a=require("./index.cjs218.js"),c=require("./index.cjs228.js"),i=require("./index.cjs103.js");function k(r,e,n){e=a(e,n);for(var t=!c(r)&&i(r),f=(t||r).length,s=0;s<f;s++){var u=t?t[s]:s;if(e(r[u],u,r))return!0}return!1}module.exports=k;
2
2
  //# sourceMappingURL=index.cjs154.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs230.js"),n=require("./index.cjs105.js"),u=require("./index.cjs143.js");function c(e,r,i,t){return s(e)||(e=n(e)),(typeof i!="number"||t)&&(i=0),u(e,r,i)>=0}module.exports=c;
1
+ "use strict";const s=require("./index.cjs228.js"),n=require("./index.cjs105.js"),u=require("./index.cjs143.js");function c(e,r,i,t){return s(e)||(e=n(e)),(typeof i!="number"||t)&&(i=0),u(e,r,i)>=0}module.exports=c;
2
2
  //# sourceMappingURL=index.cjs155.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("./index.cjs230.js"),a=require("./index.cjs105.js"),m=require("./index.cjs220.js"),q=require("./index.cjs147.js");function I(n,u,s){var r=-1/0,f=-1/0,i,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:a(n);for(var e=0,c=n.length;e<c;e++)i=n[e],i!=null&&i>r&&(r=i)}else u=m(u,s),q(n,function(l,y,o){t=u(l,y,o),(t>f||t===-1/0&&r===-1/0)&&(r=l,f=t)});return r}module.exports=I;
1
+ "use strict";const p=require("./index.cjs228.js"),a=require("./index.cjs105.js"),m=require("./index.cjs218.js"),q=require("./index.cjs147.js");function I(n,u,s){var r=-1/0,f=-1/0,i,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:a(n);for(var e=0,c=n.length;e<c;e++)i=n[e],i!=null&&i>r&&(r=i)}else u=m(u,s),q(n,function(l,y,o){t=u(l,y,o),(t>f||t===-1/0&&r===-1/0)&&(r=l,f=t)});return r}module.exports=I;
2
2
  //# sourceMappingURL=index.cjs158.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("./index.cjs230.js"),m=require("./index.cjs105.js"),q=require("./index.cjs220.js"),I=require("./index.cjs147.js");function a(n,u,s){var i=1/0,f=1/0,r,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:m(n);for(var e=0,c=n.length;e<c;e++)r=n[e],r!=null&&r<i&&(i=r)}else u=q(u,s),I(n,function(l,y,o){t=u(l,y,o),(t<f||t===1/0&&i===1/0)&&(i=l,f=t)});return i}module.exports=a;
1
+ "use strict";const p=require("./index.cjs228.js"),m=require("./index.cjs105.js"),q=require("./index.cjs218.js"),I=require("./index.cjs147.js");function a(n,u,s){var i=1/0,f=1/0,r,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:m(n);for(var e=0,c=n.length;e<c;e++)r=n[e],r!=null&&r<i&&(i=r)}else u=q(u,s),I(n,function(l,y,o){t=u(l,y,o),(t<f||t===1/0&&i===1/0)&&(i=l,f=t)});return i}module.exports=a;
2
2
  //# sourceMappingURL=index.cjs159.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs230.js"),h=require("./index.cjs105.js"),m=require("./index.cjs211.js"),i=require("./index.cjs125.js"),o=require("./index.cjs167.js");function q(r,t,l){if(t==null||l)return n(r)||(r=h(r)),r[i(r.length-1)];var e=o(r),s=m(e);t=Math.max(Math.min(t,s),0);for(var c=s-1,a=0;a<t;a++){var u=i(a,c),v=e[a];e[a]=e[u],e[u]=v}return e.slice(0,t)}module.exports=q;
1
+ "use strict";const n=require("./index.cjs228.js"),h=require("./index.cjs105.js"),m=require("./index.cjs209.js"),i=require("./index.cjs125.js"),o=require("./index.cjs167.js");function q(r,t,l){if(t==null||l)return n(r)||(r=h(r)),r[i(r.length-1)];var e=o(r),s=m(e);t=Math.max(Math.min(t,s),0);for(var c=s-1,a=0;a<t;a++){var u=i(a,c),v=e[a];e[a]=e[u],e[u]=v}return e.slice(0,t)}module.exports=q;
2
2
  //# sourceMappingURL=index.cjs161.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs220.js"),a=require("./index.cjs156.js"),d=require("./index.cjs148.js");function f(u,t,c){var o=0;return t=s(t,c),a(d(u,function(i,n,r){return{value:i,index:o++,criteria:t(i,n,r)}}).sort(function(i,n){var r=i.criteria,e=n.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(r<e||e===void 0)return-1}return i.index-n.index}),"value")}module.exports=f;
1
+ "use strict";const s=require("./index.cjs218.js"),a=require("./index.cjs156.js"),d=require("./index.cjs148.js");function f(u,t,c){var o=0;return t=s(t,c),a(d(u,function(i,n,r){return{value:i,index:o++,criteria:t(i,n,r)}}).sort(function(i,n){var r=i.criteria,e=n.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(r<e||e===void 0)return-1}return i.index-n.index}),"value")}module.exports=f;
2
2
  //# sourceMappingURL=index.cjs162.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs232.js"),i=require("./index.cjs209.js"),n=c(function(o,r,s){i(o,s)?o[s].push(r):o[s]=[r]});module.exports=n;
1
+ "use strict";const c=require("./index.cjs230.js"),i=require("./index.cjs207.js"),n=c(function(o,r,s){i(o,s)?o[s].push(r):o[s]=[r]});module.exports=n;
2
2
  //# sourceMappingURL=index.cjs163.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const o=require("./index.cjs232.js"),r=o(function(t,e,n){t[n]=e});module.exports=r;
1
+ "use strict";const o=require("./index.cjs230.js"),r=o(function(t,e,n){t[n]=e});module.exports=r;
2
2
  //# sourceMappingURL=index.cjs164.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs232.js"),s=require("./index.cjs209.js"),t=n(function(o,e,c){s(o,c)?o[c]++:o[c]=1});module.exports=t;
1
+ "use strict";const n=require("./index.cjs230.js"),s=require("./index.cjs207.js"),t=n(function(o,e,c){s(o,c)?o[c]++:o[c]=1});module.exports=t;
2
2
  //# sourceMappingURL=index.cjs165.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs232.js"),u=s(function(t,r,o){t[o?0:1].push(r)},!0);module.exports=u;
1
+ "use strict";const s=require("./index.cjs230.js"),u=s(function(t,r,o){t[o?0:1].push(r)},!0);module.exports=u;
2
2
  //# sourceMappingURL=index.cjs166.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs95.js"),u=require("./index.cjs24.js"),t=require("./index.cjs87.js"),i=require("./index.cjs230.js"),f=require("./index.cjs148.js"),n=require("./index.cjs118.js"),s=require("./index.cjs105.js");var c=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function d(r){return r?e(r)?u.slice.call(r):t(r)?r.match(c):i(r)?f(r,n):s(r):[]}module.exports=d;
1
+ "use strict";const e=require("./index.cjs95.js"),u=require("./index.cjs24.js"),t=require("./index.cjs87.js"),i=require("./index.cjs228.js"),f=require("./index.cjs148.js"),n=require("./index.cjs118.js"),s=require("./index.cjs105.js");var c=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function d(r){return r?e(r)?u.slice.call(r):t(r)?r.match(c):i(r)?f(r,n):s(r):[]}module.exports=d;
2
2
  //# sourceMappingURL=index.cjs167.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs230.js"),t=require("./index.cjs103.js");function n(e){return e==null?0:r(e)?e.length:t(e).length}module.exports=n;
1
+ "use strict";const r=require("./index.cjs228.js"),t=require("./index.cjs103.js");function n(e){return e==null?0:r(e)?e.length:t(e).length}module.exports=n;
2
2
  //# sourceMappingURL=index.cjs168.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs227.js");function r(t,e){return n(t,e,!1)}module.exports=r;
1
+ "use strict";const n=require("./index.cjs225.js");function r(t,e){return n(t,e,!1)}module.exports=r;
2
2
  //# sourceMappingURL=index.cjs174.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("./index.cjs85.js"),_=require("./index.cjs220.js"),b=require("./index.cjs211.js"),g=require("./index.cjs155.js");function i(o,h,s,r){p(h)||(r=s,s=h,h=!1),s!=null&&(s=_(s,r));for(var f=[],q=[],u=0,l=b(o);u<l;u++){var n=o[u],c=s?s(n,u,o):n;h&&!s?((!u||q!==c)&&f.push(n),q=c):s?g(q,c)||(q.push(c),f.push(n)):g(f,n)||f.push(n)}return f}module.exports=i;
1
+ "use strict";const p=require("./index.cjs85.js"),_=require("./index.cjs218.js"),b=require("./index.cjs209.js"),g=require("./index.cjs155.js");function i(o,h,s,r){p(h)||(r=s,s=h,h=!1),s!=null&&(s=_(s,r));for(var f=[],q=[],u=0,l=b(o);u<l;u++){var n=o[u],c=s?s(n,u,o):n;h&&!s?((!u||q!==c)&&f.push(n),q=c):s?g(q,c)||(q.push(c),f.push(n)):g(f,n)||f.push(n)}return f}module.exports=i;
2
2
  //# sourceMappingURL=index.cjs175.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs211.js"),o=require("./index.cjs155.js");function g(s){for(var e=[],u=arguments.length,n=0,a=c(s);n<a;n++){var t=s[n];if(!o(e,t)){var r;for(r=1;r<u&&o(arguments[r],t);r++);r===u&&e.push(t)}}return e}module.exports=g;
1
+ "use strict";const c=require("./index.cjs209.js"),o=require("./index.cjs155.js");function g(s){for(var e=[],u=arguments.length,n=0,a=c(s);n<a;n++){var t=s[n];if(!o(e,t)){var r;for(r=1;r<u&&o(arguments[r],t);r++);r===u&&e.push(t)}}return e}module.exports=g;
2
2
  //# sourceMappingURL=index.cjs176.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs158.js"),s=require("./index.cjs211.js"),c=require("./index.cjs156.js");function o(t){for(var e=t&&n(t,s).length||0,u=Array(e),r=0;r<e;r++)u[r]=c(t,r);return u}module.exports=o;
1
+ "use strict";const n=require("./index.cjs158.js"),s=require("./index.cjs209.js"),c=require("./index.cjs156.js");function o(t){for(var e=t&&n(t,s).length||0,u=Array(e),r=0;r<e;r++)u[r]=c(t,r);return u}module.exports=o;
2
2
  //# sourceMappingURL=index.cjs177.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs211.js");function u(r,n){for(var t={},e=0,o=c(r);e<o;e++)n?t[r[e]]=n[e]:t[r[e][0]]=r[e][1];return t}module.exports=u;
1
+ "use strict";const c=require("./index.cjs209.js");function u(r,n){for(var t={},e=0,o=c(r);e<o;e++)n?t[r[e]]=n[e]:t[r[e][0]]=r[e][1];return t}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs178.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs235.js");function u(o,i){for(var n=0;n<i.length;n++){const e=i[n];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in o)){const s=Object.getOwnPropertyDescriptor(e,t);s&&Object.defineProperty(o,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var a=r.__exports.printMsg=function(){console.log("This is a message from the demo package")};const c=u({__proto__:null,default:r.__exports,printMsg:a},[r.__exports]);exports.default=r.__exports;exports.index=c;exports.printMsg=a;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs233.js");function u(o,i){for(var n=0;n<i.length;n++){const e=i[n];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in o)){const s=Object.getOwnPropertyDescriptor(e,t);s&&Object.defineProperty(o,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var a=r.__exports.printMsg=function(){console.log("This is a message from the demo package")};const c=u({__proto__:null,default:r.__exports,printMsg:a},[r.__exports]);exports.default=r.__exports;exports.index=c;exports.printMsg=a;
2
2
  //# sourceMappingURL=index.cjs181.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const d=require("./index.cjs206.js"),p=require("./index.cjs207.js"),u=require("./index.cjs189.js"),_={version:8,sources:{},layers:[]},v={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},f={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},g={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},y=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],S=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class m{constructor(e,o,n){this._map=null,this._internalUpdate=!1,this._inRender=!1,this._hoveredFeatures=null,this._deferredEvents={move:!1,zoom:!1,pitch:!1,rotate:!1},this._onEvent=t=>{const r=this.props[g[t.type]];r?r(t):t.type==="error"&&console.error(t.error)},this._onPointerEvent=t=>{(t.type==="mousemove"||t.type==="mouseout")&&this._updateHover(t);const r=this.props[v[t.type]];r&&(this.props.interactiveLayerIds&&t.type!=="mouseover"&&t.type!=="mouseout"&&(t.features=this._hoveredFeatures||this._queryRenderedFeatures(t.point)),r(t),delete t.features)},this._onCameraEvent=t=>{if(!this._internalUpdate){const r=this.props[f[t.type]];r&&r(t)}t.type in this._deferredEvents&&(this._deferredEvents[t.type]=!1)},this._MapClass=e,this.props=o,this._initialize(n)}get map(){return this._map}get transform(){return this._renderTransform}setProps(e){const o=this.props;this.props=e;const n=this._updateSettings(e,o);n&&this._createShadowTransform(this._map);const t=this._updateSize(e),r=this._updateViewState(e,!0);this._updateStyle(e,o),this._updateStyleComponents(e,o),this._updateHandlers(e,o),(n||t||r&&!this._map.isMoving())&&this.redraw()}static reuse(e,o){const n=m.savedMaps.pop();if(!n)return null;const t=n.map,r=t.getContainer();for(o.className=r.className;r.childNodes.length>0;)o.appendChild(r.childNodes[0]);t._container=o;const s=t._resizeObserver;s&&(s.disconnect(),s.observe(o)),n.setProps({...e,styleDiffing:!1}),t.resize();const{initialViewState:i}=e;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}_initialize(e){const{props:o}=this,{mapStyle:n=_}=o,t={...o,...o.initialViewState,accessToken:o.mapboxAccessToken||E()||null,container:e,style:p.normalizeStyle(n)},r=t.initialViewState||t.viewState||t;if(Object.assign(t,{center:[r.longitude||0,r.latitude||0],zoom:r.zoom||0,pitch:r.pitch||0,bearing:r.bearing||0}),o.gl){const a=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=a,o.gl)}const s=new this._MapClass(t);r.padding&&s.setPadding(r.padding),o.cursor&&(s.getCanvas().style.cursor=o.cursor),this._createShadowTransform(s);const i=s._render;s._render=a=>{this._inRender=!0,i.call(s,a),this._inRender=!1};const c=s._renderTaskQueue.run;s._renderTaskQueue.run=a=>{c.call(s._renderTaskQueue,a),this._onBeforeRepaint()},s.on("render",()=>this._onAfterRepaint());const h=s.fire;s.fire=this._fireEvent.bind(this,h),s.on("resize",()=>{this._renderTransform.resize(s.transform.width,s.transform.height)}),s.on("styledata",()=>{this._updateStyleComponents(this.props,{}),d.syncProjection(s.transform,this._renderTransform)}),s.on("sourcedata",()=>this._updateStyleComponents(this.props,{}));for(const a in v)s.on(a,this._onPointerEvent);for(const a in f)s.on(a,this._onCameraEvent);for(const a in g)s.on(a,this._onEvent);this._map=s}recycle(){const o=this.map.getContainer().querySelector("[mapboxgl-children]");o==null||o.remove(),m.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){const e=this._map;!this._inRender&&e.style&&(e._frame&&(e._frame.cancel(),e._frame=null),e._render())}_createShadowTransform(e){const o=d.cloneTransform(e.transform);e.painter.transform=o,this._renderTransform=o}_updateSize(e){const{viewState:o}=e;if(o){const n=this._map;if(o.width!==n.transform.width||o.height!==n.transform.height)return n.resize(),!0}return!1}_updateViewState(e,o){if(this._internalUpdate)return!1;const n=this._map,t=this._renderTransform,{zoom:r,pitch:s,bearing:i}=t,c=n.isMoving();c&&(t.cameraElevationReference="sea");const h=d.applyViewStateToTransform(t,{...d.transformToViewState(n.transform),...e});if(c&&(t.cameraElevationReference="ground"),h&&o){const a=this._deferredEvents;a.move=!0,a.zoom||(a.zoom=r!==t.zoom),a.rotate||(a.rotate=i!==t.bearing),a.pitch||(a.pitch=s!==t.pitch)}return c||d.applyViewStateToTransform(n.transform,e),h}_updateSettings(e,o){const n=this._map;let t=!1;for(const r of y)if(r in e&&!u.deepEqual(e[r],o[r])){t=!0;const s=n[`set${r[0].toUpperCase()}${r.slice(1)}`];s==null||s.call(n,e[r])}return t}_updateStyle(e,o){if(e.cursor!==o.cursor&&(this._map.getCanvas().style.cursor=e.cursor||""),e.mapStyle!==o.mapStyle){const{mapStyle:n=_,styleDiffing:t=!0}=e,r={diff:t};return"localIdeographFontFamily"in e&&(r.localIdeographFontFamily=e.localIdeographFontFamily),this._map.setStyle(p.normalizeStyle(n),r),!0}return!1}_updateStyleComponents(e,o){const n=this._map;let t=!1;return n.isStyleLoaded()&&("light"in e&&n.setLight&&!u.deepEqual(e.light,o.light)&&(t=!0,n.setLight(e.light)),"fog"in e&&n.setFog&&!u.deepEqual(e.fog,o.fog)&&(t=!0,n.setFog(e.fog)),"terrain"in e&&n.setTerrain&&!u.deepEqual(e.terrain,o.terrain)&&(!e.terrain||n.getSource(e.terrain.source))&&(t=!0,n.setTerrain(e.terrain))),t}_updateHandlers(e,o){var n,t;const r=this._map;let s=!1;for(const i of S){const c=(n=e[i])!==null&&n!==void 0?n:!0,h=(t=o[i])!==null&&t!==void 0?t:!0;u.deepEqual(c,h)||(s=!0,c?r[i].enable(c):r[i].disable())}return s}_queryRenderedFeatures(e){const o=this._map,n=o.transform,{interactiveLayerIds:t=[]}=this.props;try{return o.transform=this._renderTransform,o.queryRenderedFeatures(e,{layers:t.filter(o.getLayer.bind(o))})}catch{return[]}finally{o.transform=n}}_updateHover(e){var o;const{props:n}=this;if(n.interactiveLayerIds&&(n.onMouseMove||n.onMouseEnter||n.onMouseLeave)){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;!c&&s&&(e.type="mouseleave",this._onPointerEvent(e)),this._hoveredFeatures=i,c&&!s&&(e.type="mouseenter",this._onPointerEvent(e)),e.type=r}else this._hoveredFeatures=null}_fireEvent(e,o,n){const t=this._map,r=t.transform,s=typeof o=="string"?o:o.type;return s==="move"&&this._updateViewState(this.props,!1),s in f&&(typeof o=="object"&&(o.viewState=d.transformToViewState(r)),this._map.isMoving())?(t.transform=this._renderTransform,e.call(t,o,n),t.transform=r,t):(e.call(t,o,n),t)}_onBeforeRepaint(){const e=this._map;this._internalUpdate=!0;for(const n in this._deferredEvents)this._deferredEvents[n]&&e.fire(n);this._internalUpdate=!1;const o=this._map.transform;e.transform=this._renderTransform,this._onAfterRepaint=()=>{d.syncProjection(this._renderTransform,o),e.transform=o}}}m.savedMaps=[];function E(){let l=null;if(typeof location<"u"){const e=/access_token=([^&\/]*)/.exec(location.search);l=e&&e[1]}try{l=l||process.env.MapboxAccessToken}catch{}try{l=l||process.env.REACT_APP_MAPBOX_ACCESS_TOKEN}catch{}return l}module.exports=m;
1
+ "use strict";const d=require("./index.cjs234.js"),p=require("./index.cjs235.js"),u=require("./index.cjs189.js"),_={version:8,sources:{},layers:[]},v={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},f={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},g={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},y=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],S=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class m{constructor(e,o,n){this._map=null,this._internalUpdate=!1,this._inRender=!1,this._hoveredFeatures=null,this._deferredEvents={move:!1,zoom:!1,pitch:!1,rotate:!1},this._onEvent=t=>{const r=this.props[g[t.type]];r?r(t):t.type==="error"&&console.error(t.error)},this._onPointerEvent=t=>{(t.type==="mousemove"||t.type==="mouseout")&&this._updateHover(t);const r=this.props[v[t.type]];r&&(this.props.interactiveLayerIds&&t.type!=="mouseover"&&t.type!=="mouseout"&&(t.features=this._hoveredFeatures||this._queryRenderedFeatures(t.point)),r(t),delete t.features)},this._onCameraEvent=t=>{if(!this._internalUpdate){const r=this.props[f[t.type]];r&&r(t)}t.type in this._deferredEvents&&(this._deferredEvents[t.type]=!1)},this._MapClass=e,this.props=o,this._initialize(n)}get map(){return this._map}get transform(){return this._renderTransform}setProps(e){const o=this.props;this.props=e;const n=this._updateSettings(e,o);n&&this._createShadowTransform(this._map);const t=this._updateSize(e),r=this._updateViewState(e,!0);this._updateStyle(e,o),this._updateStyleComponents(e,o),this._updateHandlers(e,o),(n||t||r&&!this._map.isMoving())&&this.redraw()}static reuse(e,o){const n=m.savedMaps.pop();if(!n)return null;const t=n.map,r=t.getContainer();for(o.className=r.className;r.childNodes.length>0;)o.appendChild(r.childNodes[0]);t._container=o;const s=t._resizeObserver;s&&(s.disconnect(),s.observe(o)),n.setProps({...e,styleDiffing:!1}),t.resize();const{initialViewState:i}=e;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}_initialize(e){const{props:o}=this,{mapStyle:n=_}=o,t={...o,...o.initialViewState,accessToken:o.mapboxAccessToken||E()||null,container:e,style:p.normalizeStyle(n)},r=t.initialViewState||t.viewState||t;if(Object.assign(t,{center:[r.longitude||0,r.latitude||0],zoom:r.zoom||0,pitch:r.pitch||0,bearing:r.bearing||0}),o.gl){const a=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=a,o.gl)}const s=new this._MapClass(t);r.padding&&s.setPadding(r.padding),o.cursor&&(s.getCanvas().style.cursor=o.cursor),this._createShadowTransform(s);const i=s._render;s._render=a=>{this._inRender=!0,i.call(s,a),this._inRender=!1};const c=s._renderTaskQueue.run;s._renderTaskQueue.run=a=>{c.call(s._renderTaskQueue,a),this._onBeforeRepaint()},s.on("render",()=>this._onAfterRepaint());const h=s.fire;s.fire=this._fireEvent.bind(this,h),s.on("resize",()=>{this._renderTransform.resize(s.transform.width,s.transform.height)}),s.on("styledata",()=>{this._updateStyleComponents(this.props,{}),d.syncProjection(s.transform,this._renderTransform)}),s.on("sourcedata",()=>this._updateStyleComponents(this.props,{}));for(const a in v)s.on(a,this._onPointerEvent);for(const a in f)s.on(a,this._onCameraEvent);for(const a in g)s.on(a,this._onEvent);this._map=s}recycle(){const o=this.map.getContainer().querySelector("[mapboxgl-children]");o==null||o.remove(),m.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){const e=this._map;!this._inRender&&e.style&&(e._frame&&(e._frame.cancel(),e._frame=null),e._render())}_createShadowTransform(e){const o=d.cloneTransform(e.transform);e.painter.transform=o,this._renderTransform=o}_updateSize(e){const{viewState:o}=e;if(o){const n=this._map;if(o.width!==n.transform.width||o.height!==n.transform.height)return n.resize(),!0}return!1}_updateViewState(e,o){if(this._internalUpdate)return!1;const n=this._map,t=this._renderTransform,{zoom:r,pitch:s,bearing:i}=t,c=n.isMoving();c&&(t.cameraElevationReference="sea");const h=d.applyViewStateToTransform(t,{...d.transformToViewState(n.transform),...e});if(c&&(t.cameraElevationReference="ground"),h&&o){const a=this._deferredEvents;a.move=!0,a.zoom||(a.zoom=r!==t.zoom),a.rotate||(a.rotate=i!==t.bearing),a.pitch||(a.pitch=s!==t.pitch)}return c||d.applyViewStateToTransform(n.transform,e),h}_updateSettings(e,o){const n=this._map;let t=!1;for(const r of y)if(r in e&&!u.deepEqual(e[r],o[r])){t=!0;const s=n[`set${r[0].toUpperCase()}${r.slice(1)}`];s==null||s.call(n,e[r])}return t}_updateStyle(e,o){if(e.cursor!==o.cursor&&(this._map.getCanvas().style.cursor=e.cursor||""),e.mapStyle!==o.mapStyle){const{mapStyle:n=_,styleDiffing:t=!0}=e,r={diff:t};return"localIdeographFontFamily"in e&&(r.localIdeographFontFamily=e.localIdeographFontFamily),this._map.setStyle(p.normalizeStyle(n),r),!0}return!1}_updateStyleComponents(e,o){const n=this._map;let t=!1;return n.isStyleLoaded()&&("light"in e&&n.setLight&&!u.deepEqual(e.light,o.light)&&(t=!0,n.setLight(e.light)),"fog"in e&&n.setFog&&!u.deepEqual(e.fog,o.fog)&&(t=!0,n.setFog(e.fog)),"terrain"in e&&n.setTerrain&&!u.deepEqual(e.terrain,o.terrain)&&(!e.terrain||n.getSource(e.terrain.source))&&(t=!0,n.setTerrain(e.terrain))),t}_updateHandlers(e,o){var n,t;const r=this._map;let s=!1;for(const i of S){const c=(n=e[i])!==null&&n!==void 0?n:!0,h=(t=o[i])!==null&&t!==void 0?t:!0;u.deepEqual(c,h)||(s=!0,c?r[i].enable(c):r[i].disable())}return s}_queryRenderedFeatures(e){const o=this._map,n=o.transform,{interactiveLayerIds:t=[]}=this.props;try{return o.transform=this._renderTransform,o.queryRenderedFeatures(e,{layers:t.filter(o.getLayer.bind(o))})}catch{return[]}finally{o.transform=n}}_updateHover(e){var o;const{props:n}=this;if(n.interactiveLayerIds&&(n.onMouseMove||n.onMouseEnter||n.onMouseLeave)){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;!c&&s&&(e.type="mouseleave",this._onPointerEvent(e)),this._hoveredFeatures=i,c&&!s&&(e.type="mouseenter",this._onPointerEvent(e)),e.type=r}else this._hoveredFeatures=null}_fireEvent(e,o,n){const t=this._map,r=t.transform,s=typeof o=="string"?o:o.type;return s==="move"&&this._updateViewState(this.props,!1),s in f&&(typeof o=="object"&&(o.viewState=d.transformToViewState(r)),this._map.isMoving())?(t.transform=this._renderTransform,e.call(t,o,n),t.transform=r,t):(e.call(t,o,n),t)}_onBeforeRepaint(){const e=this._map;this._internalUpdate=!0;for(const n in this._deferredEvents)this._deferredEvents[n]&&e.fire(n);this._internalUpdate=!1;const o=this._map.transform;e.transform=this._renderTransform,this._onAfterRepaint=()=>{d.syncProjection(this._renderTransform,o),e.transform=o}}}m.savedMaps=[];function E(){let l=null;if(typeof location<"u"){const e=/access_token=([^&\/]*)/.exec(location.search);l=e&&e[1]}try{l=l||process.env.MapboxAccessToken}catch{}try{l=l||process.env.REACT_APP_MAPBOX_ACCESS_TOKEN}catch{}return l}module.exports=m;
2
2
  //# sourceMappingURL=index.cjs184.js.map