@performant-software/geospatial 2.2.15 → 2.2.16

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 (303) hide show
  1. package/dist/index.cjs100.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.cjs105.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.cjs113.js +1 -1
  10. package/dist/index.cjs116.js +1 -1
  11. package/dist/index.cjs117.js +1 -1
  12. package/dist/index.cjs118.js +1 -1
  13. package/dist/index.cjs122.js +1 -1
  14. package/dist/index.cjs125.js +1 -1
  15. package/dist/index.cjs129.js +1 -1
  16. package/dist/index.cjs132.js +1 -1
  17. package/dist/index.cjs140.js +1 -1
  18. package/dist/index.cjs141.js +1 -1
  19. package/dist/index.cjs142.js +1 -1
  20. package/dist/index.cjs143.js +1 -1
  21. package/dist/index.cjs144.js +1 -1
  22. package/dist/index.cjs145.js +1 -1
  23. package/dist/index.cjs146.js +1 -1
  24. package/dist/index.cjs148.js +1 -1
  25. package/dist/index.cjs149.js +1 -1
  26. package/dist/index.cjs150.js +1 -1
  27. package/dist/index.cjs151.js +1 -1
  28. package/dist/index.cjs152.js +1 -1
  29. package/dist/index.cjs153.js +1 -1
  30. package/dist/index.cjs154.js +1 -1
  31. package/dist/index.cjs155.js +1 -1
  32. package/dist/index.cjs156.js +1 -1
  33. package/dist/index.cjs159.js +1 -1
  34. package/dist/index.cjs160.js +1 -1
  35. package/dist/index.cjs162.js +1 -1
  36. package/dist/index.cjs163.js +1 -1
  37. package/dist/index.cjs164.js +1 -1
  38. package/dist/index.cjs165.js +1 -1
  39. package/dist/index.cjs166.js +1 -1
  40. package/dist/index.cjs167.js +1 -1
  41. package/dist/index.cjs168.js +1 -1
  42. package/dist/index.cjs169.js +1 -1
  43. package/dist/index.cjs175.js +1 -1
  44. package/dist/index.cjs176.js +1 -1
  45. package/dist/index.cjs177.js +1 -1
  46. package/dist/index.cjs178.js +1 -1
  47. package/dist/index.cjs179.js +1 -1
  48. package/dist/index.cjs182.js +1 -1
  49. package/dist/index.cjs204.js +1 -1
  50. package/dist/index.cjs204.js.map +1 -1
  51. package/dist/index.cjs205.js +1 -1
  52. package/dist/index.cjs205.js.map +1 -1
  53. package/dist/index.cjs206.js +1 -1
  54. package/dist/index.cjs206.js.map +1 -1
  55. package/dist/index.cjs207.js +1 -1
  56. package/dist/index.cjs207.js.map +1 -1
  57. package/dist/index.cjs208.js +1 -1
  58. package/dist/index.cjs208.js.map +1 -1
  59. package/dist/index.cjs209.js +1 -1
  60. package/dist/index.cjs209.js.map +1 -1
  61. package/dist/index.cjs210.js +1 -1
  62. package/dist/index.cjs210.js.map +1 -1
  63. package/dist/index.cjs211.js +1 -1
  64. package/dist/index.cjs211.js.map +1 -1
  65. package/dist/index.cjs212.js +1 -1
  66. package/dist/index.cjs212.js.map +1 -1
  67. package/dist/index.cjs213.js +1 -1
  68. package/dist/index.cjs213.js.map +1 -1
  69. package/dist/index.cjs214.js +1 -1
  70. package/dist/index.cjs214.js.map +1 -1
  71. package/dist/index.cjs215.js +1 -1
  72. package/dist/index.cjs215.js.map +1 -1
  73. package/dist/index.cjs216.js +1 -1
  74. package/dist/index.cjs216.js.map +1 -1
  75. package/dist/index.cjs217.js +1 -1
  76. package/dist/index.cjs217.js.map +1 -1
  77. package/dist/index.cjs218.js +1 -1
  78. package/dist/index.cjs218.js.map +1 -1
  79. package/dist/index.cjs219.js +1 -1
  80. package/dist/index.cjs219.js.map +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.cjs24.js +1 -1
  116. package/dist/index.cjs244.js +1 -1
  117. package/dist/index.cjs248.js +1 -1
  118. package/dist/index.cjs249.js +1 -1
  119. package/dist/index.cjs25.js +1 -1
  120. package/dist/index.cjs257.js +1 -1
  121. package/dist/index.cjs257.js.map +1 -1
  122. package/dist/index.cjs258.js +1 -1
  123. package/dist/index.cjs258.js.map +1 -1
  124. package/dist/index.cjs26.js +1 -1
  125. package/dist/index.cjs28.js +1 -1
  126. package/dist/index.cjs29.js +1 -1
  127. package/dist/index.cjs30.js +1 -1
  128. package/dist/index.cjs32.js +1 -1
  129. package/dist/index.cjs33.js +1 -1
  130. package/dist/index.cjs34.js +1 -1
  131. package/dist/index.cjs36.js +1 -1
  132. package/dist/index.cjs37.js +1 -1
  133. package/dist/index.cjs38.js +1 -1
  134. package/dist/index.cjs42.js +1 -1
  135. package/dist/index.cjs43.js +1 -1
  136. package/dist/index.cjs44.js +1 -1
  137. package/dist/index.cjs46.js +1 -1
  138. package/dist/index.cjs47.js +1 -1
  139. package/dist/index.cjs49.js +1 -1
  140. package/dist/index.cjs77.js +1 -1
  141. package/dist/index.cjs81.js +1 -1
  142. package/dist/index.cjs88.js +1 -1
  143. package/dist/index.cjs89.js +1 -1
  144. package/dist/index.cjs90.js +1 -1
  145. package/dist/index.cjs91.js +1 -1
  146. package/dist/index.cjs92.js +1 -1
  147. package/dist/index.cjs93.js +1 -1
  148. package/dist/index.cjs94.js +1 -1
  149. package/dist/index.cjs95.js +1 -1
  150. package/dist/index.cjs96.js +1 -1
  151. package/dist/index.cjs99.js +1 -1
  152. package/dist/index.es100.js +1 -1
  153. package/dist/index.es102.js +3 -3
  154. package/dist/index.es103.js +1 -1
  155. package/dist/index.es104.js +2 -2
  156. package/dist/index.es105.js +1 -1
  157. package/dist/index.es110.js +1 -1
  158. package/dist/index.es111.js +1 -1
  159. package/dist/index.es112.js +1 -1
  160. package/dist/index.es113.js +1 -1
  161. package/dist/index.es116.js +2 -2
  162. package/dist/index.es117.js +2 -2
  163. package/dist/index.es118.js +1 -1
  164. package/dist/index.es122.js +2 -2
  165. package/dist/index.es125.js +1 -1
  166. package/dist/index.es129.js +1 -1
  167. package/dist/index.es132.js +1 -1
  168. package/dist/index.es140.js +1 -1
  169. package/dist/index.es141.js +1 -1
  170. package/dist/index.es142.js +1 -1
  171. package/dist/index.es143.js +2 -2
  172. package/dist/index.es144.js +1 -1
  173. package/dist/index.es145.js +1 -1
  174. package/dist/index.es146.js +1 -1
  175. package/dist/index.es148.js +2 -2
  176. package/dist/index.es149.js +2 -2
  177. package/dist/index.es150.js +1 -1
  178. package/dist/index.es151.js +1 -1
  179. package/dist/index.es152.js +1 -1
  180. package/dist/index.es153.js +1 -1
  181. package/dist/index.es154.js +2 -2
  182. package/dist/index.es155.js +2 -2
  183. package/dist/index.es156.js +1 -1
  184. package/dist/index.es159.js +2 -2
  185. package/dist/index.es160.js +2 -2
  186. package/dist/index.es162.js +2 -2
  187. package/dist/index.es163.js +1 -1
  188. package/dist/index.es164.js +2 -2
  189. package/dist/index.es165.js +1 -1
  190. package/dist/index.es166.js +2 -2
  191. package/dist/index.es167.js +1 -1
  192. package/dist/index.es168.js +1 -1
  193. package/dist/index.es169.js +1 -1
  194. package/dist/index.es175.js +1 -1
  195. package/dist/index.es176.js +2 -2
  196. package/dist/index.es177.js +1 -1
  197. package/dist/index.es178.js +1 -1
  198. package/dist/index.es179.js +1 -1
  199. package/dist/index.es182.js +2 -2
  200. package/dist/index.es204.js +46 -2
  201. package/dist/index.es204.js.map +1 -1
  202. package/dist/index.es205.js +22 -7
  203. package/dist/index.es205.js.map +1 -1
  204. package/dist/index.es206.js +2 -5
  205. package/dist/index.es206.js.map +1 -1
  206. package/dist/index.es207.js +8 -4
  207. package/dist/index.es207.js.map +1 -1
  208. package/dist/index.es208.js +5 -3
  209. package/dist/index.es208.js.map +1 -1
  210. package/dist/index.es209.js +4 -3
  211. package/dist/index.es209.js.map +1 -1
  212. package/dist/index.es210.js +3 -9
  213. package/dist/index.es210.js.map +1 -1
  214. package/dist/index.es211.js +3 -22
  215. package/dist/index.es211.js.map +1 -1
  216. package/dist/index.es212.js +8 -21
  217. package/dist/index.es212.js.map +1 -1
  218. package/dist/index.es213.js +19 -11
  219. package/dist/index.es213.js.map +1 -1
  220. package/dist/index.es214.js +19 -14
  221. package/dist/index.es214.js.map +1 -1
  222. package/dist/index.es215.js +13 -5
  223. package/dist/index.es215.js.map +1 -1
  224. package/dist/index.es216.js +16 -8
  225. package/dist/index.es216.js.map +1 -1
  226. package/dist/index.es217.js +5 -6
  227. package/dist/index.es217.js.map +1 -1
  228. package/dist/index.es218.js +7 -20
  229. package/dist/index.es218.js.map +1 -1
  230. package/dist/index.es219.js +5 -8
  231. package/dist/index.es219.js.map +1 -1
  232. package/dist/index.es220.js +22 -9
  233. package/dist/index.es220.js.map +1 -1
  234. package/dist/index.es221.js +10 -4
  235. package/dist/index.es221.js.map +1 -1
  236. package/dist/index.es222.js +9 -11
  237. package/dist/index.es222.js.map +1 -1
  238. package/dist/index.es223.js +4 -9
  239. package/dist/index.es223.js.map +1 -1
  240. package/dist/index.es224.js +9 -21
  241. package/dist/index.es224.js.map +1 -1
  242. package/dist/index.es225.js +8 -11
  243. package/dist/index.es225.js.map +1 -1
  244. package/dist/index.es226.js +22 -18
  245. package/dist/index.es226.js.map +1 -1
  246. package/dist/index.es227.js +12 -4
  247. package/dist/index.es227.js.map +1 -1
  248. package/dist/index.es228.js +17 -16
  249. package/dist/index.es228.js.map +1 -1
  250. package/dist/index.es229.js +4 -12
  251. package/dist/index.es229.js.map +1 -1
  252. package/dist/index.es230.js +17 -3
  253. package/dist/index.es230.js.map +1 -1
  254. package/dist/index.es231.js +11 -4
  255. package/dist/index.es231.js.map +1 -1
  256. package/dist/index.es232.js +3 -45
  257. package/dist/index.es232.js.map +1 -1
  258. package/dist/index.es233.js +4 -22
  259. package/dist/index.es233.js.map +1 -1
  260. package/dist/index.es234.js +3 -6
  261. package/dist/index.es234.js.map +1 -1
  262. package/dist/index.es235.js +4 -6
  263. package/dist/index.es235.js.map +1 -1
  264. package/dist/index.es236.js +8 -3
  265. package/dist/index.es236.js.map +1 -1
  266. package/dist/index.es24.js +1 -1
  267. package/dist/index.es244.js +1 -1
  268. package/dist/index.es248.js +1 -1
  269. package/dist/index.es249.js +2 -2
  270. package/dist/index.es25.js +1 -1
  271. package/dist/index.es257.js +70 -4
  272. package/dist/index.es257.js.map +1 -1
  273. package/dist/index.es258.js +4 -70
  274. package/dist/index.es258.js.map +1 -1
  275. package/dist/index.es26.js +2 -2
  276. package/dist/index.es28.js +2 -2
  277. package/dist/index.es29.js +2 -2
  278. package/dist/index.es30.js +2 -2
  279. package/dist/index.es32.js +1 -1
  280. package/dist/index.es33.js +2 -2
  281. package/dist/index.es34.js +2 -2
  282. package/dist/index.es36.js +1 -1
  283. package/dist/index.es37.js +1 -1
  284. package/dist/index.es38.js +1 -1
  285. package/dist/index.es42.js +2 -2
  286. package/dist/index.es43.js +3 -3
  287. package/dist/index.es44.js +1 -1
  288. package/dist/index.es46.js +1 -1
  289. package/dist/index.es47.js +1 -1
  290. package/dist/index.es49.js +1 -1
  291. package/dist/index.es77.js +1 -1
  292. package/dist/index.es81.js +1 -1
  293. package/dist/index.es88.js +1 -1
  294. package/dist/index.es89.js +1 -1
  295. package/dist/index.es90.js +1 -1
  296. package/dist/index.es91.js +1 -1
  297. package/dist/index.es92.js +1 -1
  298. package/dist/index.es93.js +1 -1
  299. package/dist/index.es94.js +1 -1
  300. package/dist/index.es95.js +1 -1
  301. package/dist/index.es96.js +1 -1
  302. package/dist/index.es99.js +1 -1
  303. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs219.js"),s=require("./index.cjs221.js"),c=e(s);module.exports=c;
1
+ "use strict";const e=require("./index.cjs221.js"),s=require("./index.cjs223.js"),c=e(s);module.exports=c;
2
2
  //# sourceMappingURL=index.cjs34.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("./index.cjs82.js"),h=require("./index.cjs223.js"),i=require("./index.cjs27.js");var a=l(function(o,e){var c=a.placeholder,s=function(){for(var t=0,u=e.length,n=Array(u),r=0;r<u;r++)n[r]=e[r]===c?arguments[t++]:e[r];for(;t<arguments.length;)n.push(arguments[t++]);return h(o,s,this,this,n)};return s});a.placeholder=i;module.exports=a;
1
+ "use strict";const l=require("./index.cjs82.js"),h=require("./index.cjs225.js"),i=require("./index.cjs27.js");var a=l(function(o,e){var c=a.placeholder,s=function(){for(var t=0,u=e.length,n=Array(u),r=0;r<u;r++)n[r]=e[r]===c?arguments[t++]:e[r];for(;t<arguments.length;)n.push(arguments[t++]);return h(o,s,this,this,n)};return s});a.placeholder=i;module.exports=a;
2
2
  //# sourceMappingURL=index.cjs36.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs82.js"),i=require("./index.cjs24.js"),c=require("./index.cjs223.js"),s=e(function(n,r,o){if(!i(n))throw new TypeError("Bind must be called on a function");var t=e(function(u){return c(n,t,r,this,o.concat(u))});return t});module.exports=s;
1
+ "use strict";const e=require("./index.cjs82.js"),i=require("./index.cjs24.js"),c=require("./index.cjs225.js"),s=e(function(n,r,o){if(!i(n))throw new TypeError("Bind must be called on a function");var t=e(function(u){return c(n,t,r,this,o.concat(u))});return t});module.exports=s;
2
2
  //# sourceMappingURL=index.cjs37.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs82.js"),s=require("./index.cjs224.js"),l=require("./index.cjs37.js"),u=i(function(n,r){r=s(r,!1,!1);var e=r.length;if(e<1)throw new Error("bindAll must be passed function names");for(;e--;){var t=r[e];n[t]=l(n[t],n)}return n});module.exports=u;
1
+ "use strict";const i=require("./index.cjs82.js"),s=require("./index.cjs226.js"),l=require("./index.cjs37.js"),u=i(function(n,r){r=s(r,!1,!1);var e=r.length;if(e<1)throw new Error("bindAll must be passed function names");for(;e--;){var t=r[e];n[t]=l(n[t],n)}return n});module.exports=u;
2
2
  //# sourceMappingURL=index.cjs38.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs82.js"),c=require("./index.cjs24.js"),l=require("./index.cjs149.js"),f=require("./index.cjs216.js"),q=require("./index.cjs215.js"),v=t(function(s,e,o){var i,u;return c(e)?u=e:(e=q(e),i=e.slice(0,-1),e=e[e.length-1]),l(s,function(r){var n=u;if(!n){if(i&&i.length&&(r=f(r,i)),r==null)return;n=r[e]}return n==null?n:n.apply(r,o)})});module.exports=v;
1
+ "use strict";const t=require("./index.cjs82.js"),c=require("./index.cjs24.js"),l=require("./index.cjs149.js"),f=require("./index.cjs218.js"),q=require("./index.cjs217.js"),v=t(function(s,e,o){var i,u;return c(e)?u=e:(e=q(e),i=e.slice(0,-1),e=e[e.length-1]),l(s,function(r){var n=u;if(!n){if(i&&i.length&&(r=f(r,i)),r==null)return;n=r[e]}return n==null?n:n.apply(r,o)})});module.exports=v;
2
2
  //# sourceMappingURL=index.cjs42.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("./index.cjs82.js"),f=require("./index.cjs24.js"),a=require("./index.cjs218.js"),o=require("./index.cjs105.js"),q=require("./index.cjs230.js"),g=require("./index.cjs224.js"),p=l(function(t,r){var n={},e=r[0];if(t==null)return n;f(e)?(r.length>1&&(e=a(e,r[1])),r=o(t)):(e=q,r=g(r,!1,!1),t=Object(t));for(var i=0,s=r.length;i<s;i++){var u=r[i],c=t[u];e(c,u,t)&&(n[u]=c)}return n});module.exports=p;
1
+ "use strict";const l=require("./index.cjs82.js"),f=require("./index.cjs24.js"),a=require("./index.cjs220.js"),o=require("./index.cjs105.js"),q=require("./index.cjs232.js"),g=require("./index.cjs226.js"),p=l(function(t,r){var n={},e=r[0];if(t==null)return n;f(e)?(r.length>1&&(e=a(e,r[1])),r=o(t)):(e=q,r=g(r,!1,!1),t=Object(t));for(var i=0,s=r.length;i<s;i++){var u=r[i],c=t[u];e(c,u,t)&&(n[u]=c)}return n});module.exports=p;
2
2
  //# sourceMappingURL=index.cjs43.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs82.js"),o=require("./index.cjs24.js"),u=require("./index.cjs136.js"),s=require("./index.cjs149.js"),a=require("./index.cjs224.js"),f=require("./index.cjs156.js"),q=require("./index.cjs43.js"),l=c(function(n,t){var e=t[0],r;return o(e)?(e=u(e),t.length>1&&(r=t[1])):(t=s(a(t,!1,!1),String),e=function(g,i){return!f(t,i)}),q(n,e,r)});module.exports=l;
1
+ "use strict";const c=require("./index.cjs82.js"),o=require("./index.cjs24.js"),u=require("./index.cjs136.js"),s=require("./index.cjs149.js"),a=require("./index.cjs226.js"),f=require("./index.cjs156.js"),q=require("./index.cjs43.js"),l=c(function(n,t){var e=t[0],r;return o(e)?(e=u(e),t.length>1&&(r=t[1])):(t=s(a(t,!1,!1),String),e=function(g,i){return!f(t,i)}),q(n,e,r)});module.exports=l;
2
2
  //# sourceMappingURL=index.cjs44.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs82.js"),r=require("./index.cjs176.js"),n=require("./index.cjs224.js"),u=e(function(t){return r(n(t,!0,!0))});module.exports=u;
1
+ "use strict";const e=require("./index.cjs82.js"),r=require("./index.cjs176.js"),n=require("./index.cjs226.js"),u=e(function(t){return r(n(t,!0,!0))});module.exports=u;
2
2
  //# sourceMappingURL=index.cjs46.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs82.js"),u=require("./index.cjs224.js"),c=require("./index.cjs152.js"),i=require("./index.cjs156.js"),o=n(function(r,e){return e=u(e,!0,!0),c(r,function(t){return!i(e,t)})});module.exports=o;
1
+ "use strict";const n=require("./index.cjs82.js"),u=require("./index.cjs226.js"),c=require("./index.cjs152.js"),i=require("./index.cjs156.js"),o=n(function(r,e){return e=u(e,!0,!0),c(r,function(t){return!i(e,t)})});module.exports=o;
2
2
  //# sourceMappingURL=index.cjs47.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const o=require("./index.cjs27.js"),s=require("./index.cjs148.js"),i=require("./index.cjs23.js"),n=require("./index.cjs231.js");s(["pop","push","reverse","shift","sort","splice","unshift"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(e.apply(t,arguments),(r==="shift"||r==="splice")&&t.length===0&&delete t[0]),n(this,t)}});s(["concat","join","slice"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(t=e.apply(t,arguments)),n(this,t)}});module.exports=o;
1
+ "use strict";const o=require("./index.cjs27.js"),s=require("./index.cjs148.js"),i=require("./index.cjs23.js"),n=require("./index.cjs233.js");s(["pop","push","reverse","shift","sort","splice","unshift"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(e.apply(t,arguments),(r==="shift"||r==="splice")&&t.length===0&&delete t[0]),n(this,t)}});s(["concat","join","slice"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(t=e.apply(t,arguments)),n(this,t)}});module.exports=o;
2
2
  //# sourceMappingURL=index.cjs49.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs204.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.cjs206.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.cjs77.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs27.js"),s=require("./index.cjs148.js"),i=require("./index.cjs109.js"),c=require("./index.cjs23.js"),o=require("./index.cjs231.js");function p(e){return s(i(e),function(t){var u=r[t]=e[t];r.prototype[t]=function(){var n=[this._wrapped];return c.push.apply(n,arguments),o(this,u.apply(r,n))}}),r}module.exports=p;
1
+ "use strict";const r=require("./index.cjs27.js"),s=require("./index.cjs148.js"),i=require("./index.cjs109.js"),c=require("./index.cjs23.js"),o=require("./index.cjs233.js");function p(e){return s(i(e),function(t){var u=r[t]=e[t];r.prototype[t]=function(){var n=[this._wrapped];return c.push.apply(n,arguments),o(this,u.apply(r,n))}}),r}module.exports=p;
2
2
  //# sourceMappingURL=index.cjs81.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs205.js"),r=t("String");module.exports=r;
1
+ "use strict";const t=require("./index.cjs207.js"),r=t("String");module.exports=r;
2
2
  //# sourceMappingURL=index.cjs88.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs205.js"),r=e("Number");module.exports=r;
1
+ "use strict";const e=require("./index.cjs207.js"),r=e("Number");module.exports=r;
2
2
  //# sourceMappingURL=index.cjs89.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs205.js"),e=t("Date");module.exports=e;
1
+ "use strict";const t=require("./index.cjs207.js"),e=t("Date");module.exports=e;
2
2
  //# sourceMappingURL=index.cjs90.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs205.js"),s=e("RegExp");module.exports=s;
1
+ "use strict";const e=require("./index.cjs207.js"),s=e("RegExp");module.exports=s;
2
2
  //# sourceMappingURL=index.cjs91.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs205.js"),s=r("Error");module.exports=s;
1
+ "use strict";const r=require("./index.cjs207.js"),s=r("Error");module.exports=s;
2
2
  //# sourceMappingURL=index.cjs92.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs205.js"),t=s("Symbol");module.exports=t;
1
+ "use strict";const s=require("./index.cjs207.js"),t=s("Symbol");module.exports=t;
2
2
  //# sourceMappingURL=index.cjs93.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs205.js"),e=r("ArrayBuffer");module.exports=e;
1
+ "use strict";const r=require("./index.cjs207.js"),e=r("ArrayBuffer");module.exports=e;
2
2
  //# sourceMappingURL=index.cjs94.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs205.js"),r=require("./index.cjs24.js"),i=require("./index.cjs94.js"),s=require("./index.cjs25.js");var a=t("DataView");function n(e){return e!=null&&r(e.getInt8)&&i(e.buffer)}const u=s.hasStringTagBug?n:a;module.exports=u;
1
+ "use strict";const t=require("./index.cjs207.js"),r=require("./index.cjs24.js"),i=require("./index.cjs94.js"),s=require("./index.cjs25.js");var a=t("DataView");function n(e){return e!=null&&r(e.getInt8)&&i(e.buffer)}const u=s.hasStringTagBug?n:a;module.exports=u;
2
2
  //# sourceMappingURL=index.cjs95.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs23.js"),e=require("./index.cjs205.js"),s=r.nativeIsArray||e("Array");module.exports=s;
1
+ "use strict";const r=require("./index.cjs23.js"),e=require("./index.cjs207.js"),s=r.nativeIsArray||e("Array");module.exports=s;
2
2
  //# sourceMappingURL=index.cjs96.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs23.js"),r=require("./index.cjs95.js"),i=require("./index.cjs120.js"),s=require("./index.cjs207.js");var n=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function a(t){return e.nativeIsView?e.nativeIsView(t)&&!r(t):s(t)&&n.test(e.toString.call(t))}const u=e.supportsArrayBuffer?a:i(!1);module.exports=u;
1
+ "use strict";const e=require("./index.cjs23.js"),r=require("./index.cjs95.js"),i=require("./index.cjs120.js"),s=require("./index.cjs209.js");var n=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function a(t){return e.nativeIsView?e.nativeIsView(t)&&!r(t):s(t)&&n.test(e.toString.call(t))}const u=e.supportsArrayBuffer?a:i(!1);module.exports=u;
2
2
  //# sourceMappingURL=index.cjs99.js.map
@@ -1,4 +1,4 @@
1
- import e from "./index.es208.js";
1
+ import e from "./index.es210.js";
2
2
  import i from "./index.es96.js";
3
3
  import m from "./index.es88.js";
4
4
  import n from "./index.es26.js";
@@ -1,13 +1,13 @@
1
1
  import m from "./index.es27.js";
2
2
  import { toString as g, SymbolProto as h } from "./index.es23.js";
3
- import j from "./index.es209.js";
3
+ import j from "./index.es211.js";
4
4
  import D from "./index.es99.js";
5
5
  import y from "./index.es24.js";
6
6
  import { hasStringTagBug as V } from "./index.es25.js";
7
7
  import v from "./index.es95.js";
8
8
  import w from "./index.es104.js";
9
- import q from "./index.es206.js";
10
- import d from "./index.es210.js";
9
+ import q from "./index.es208.js";
10
+ import d from "./index.es212.js";
11
11
  var B = "[object DataView]";
12
12
  function c(e, r, f, n) {
13
13
  if (e === r)
@@ -1,4 +1,4 @@
1
- import e from "./index.es205.js";
1
+ import e from "./index.es207.js";
2
2
  const a = e("WeakSet");
3
3
  export {
4
4
  a as default
@@ -1,7 +1,7 @@
1
1
  import e from "./index.es83.js";
2
2
  import { nativeKeys as f, hasEnumBug as m } from "./index.es23.js";
3
- import n from "./index.es206.js";
4
- import o from "./index.es212.js";
3
+ import n from "./index.es208.js";
4
+ import o from "./index.es214.js";
5
5
  function c(r) {
6
6
  if (!e(r))
7
7
  return [];
@@ -1,6 +1,6 @@
1
1
  import e from "./index.es83.js";
2
2
  import { hasEnumBug as f } from "./index.es23.js";
3
- import i from "./index.es212.js";
3
+ import i from "./index.es214.js";
4
4
  function s(r) {
5
5
  if (!e(r))
6
6
  return [];
@@ -1,4 +1,4 @@
1
- import e from "./index.es213.js";
1
+ import e from "./index.es215.js";
2
2
  import r from "./index.es105.js";
3
3
  const s = e(r);
4
4
  export {
@@ -1,4 +1,4 @@
1
- import e from "./index.es213.js";
1
+ import e from "./index.es215.js";
2
2
  import r from "./index.es104.js";
3
3
  const s = e(r);
4
4
  export {
@@ -1,4 +1,4 @@
1
- import e from "./index.es213.js";
1
+ import e from "./index.es215.js";
2
2
  import r from "./index.es105.js";
3
3
  const s = e(r, !0);
4
4
  export {
@@ -1,4 +1,4 @@
1
- import a from "./index.es214.js";
1
+ import a from "./index.es216.js";
2
2
  import f from "./index.es111.js";
3
3
  function i(t, e) {
4
4
  var r = a(t);
@@ -1,5 +1,5 @@
1
- import f from "./index.es215.js";
2
- import i from "./index.es216.js";
1
+ import f from "./index.es217.js";
2
+ import i from "./index.es218.js";
3
3
  import m from "./index.es85.js";
4
4
  function d(e, r, o) {
5
5
  var t = i(e, f(r));
@@ -1,5 +1,5 @@
1
- import n from "./index.es206.js";
2
- import o from "./index.es215.js";
1
+ import n from "./index.es208.js";
2
+ import o from "./index.es217.js";
3
3
  function s(t, r) {
4
4
  r = o(r);
5
5
  for (var a = r.length, f = 0; f < a; f++) {
@@ -1,4 +1,4 @@
1
- import t from "./index.es217.js";
1
+ import t from "./index.es219.js";
2
2
  import v from "./index.es104.js";
3
3
  function k(r, f, l) {
4
4
  f = t(f, l);
@@ -1,5 +1,5 @@
1
- import o from "./index.es216.js";
2
- import e from "./index.es215.js";
1
+ import o from "./index.es218.js";
2
+ import e from "./index.es217.js";
3
3
  function u(r) {
4
4
  return r = e(r), function(t) {
5
5
  return o(t, r);
@@ -1,4 +1,4 @@
1
- import t from "./index.es218.js";
1
+ import t from "./index.es220.js";
2
2
  function c(m, a, f) {
3
3
  var o = Array(Math.max(0, m));
4
4
  a = t(a, f, 1);
@@ -1,5 +1,5 @@
1
1
  import v from "./index.es24.js";
2
- import f from "./index.es215.js";
2
+ import f from "./index.es217.js";
3
3
  function d(r, n, e) {
4
4
  n = f(n);
5
5
  var i = n.length;
@@ -1,4 +1,4 @@
1
- import m from "./index.es206.js";
1
+ import m from "./index.es208.js";
2
2
  function o(c, t) {
3
3
  var a = function(i) {
4
4
  var e = a.cache, r = "" + (t ? t.apply(this, arguments) : i);
@@ -1,4 +1,4 @@
1
- import y from "./index.es217.js";
1
+ import y from "./index.es219.js";
2
2
  import k from "./index.es104.js";
3
3
  function a(f, n, e) {
4
4
  n = y(n, e);
@@ -1,4 +1,4 @@
1
- import e from "./index.es225.js";
1
+ import e from "./index.es227.js";
2
2
  const r = e(1);
3
3
  export {
4
4
  r as default
@@ -1,4 +1,4 @@
1
- import e from "./index.es225.js";
1
+ import e from "./index.es227.js";
2
2
  const d = e(-1);
3
3
  export {
4
4
  d as default
@@ -1,5 +1,5 @@
1
- import v from "./index.es217.js";
2
- import g from "./index.es208.js";
1
+ import v from "./index.es219.js";
2
+ import g from "./index.es210.js";
3
3
  function a(h, n, o, t) {
4
4
  o = v(o, t, 1);
5
5
  for (var u = o(n), r = 0, f = g(h); r < f; ) {
@@ -1,6 +1,6 @@
1
1
  import e from "./index.es143.js";
2
2
  import r from "./index.es141.js";
3
- import o from "./index.es226.js";
3
+ import o from "./index.es228.js";
4
4
  const f = o(1, r, e);
5
5
  export {
6
6
  f as default
@@ -1,5 +1,5 @@
1
1
  import e from "./index.es142.js";
2
- import t from "./index.es226.js";
2
+ import t from "./index.es228.js";
3
3
  const n = t(-1, e);
4
4
  export {
5
5
  n as default
@@ -1,4 +1,4 @@
1
- import d from "./index.es227.js";
1
+ import d from "./index.es229.js";
2
2
  import o from "./index.es141.js";
3
3
  import t from "./index.es140.js";
4
4
  function y(r, e, f) {
@@ -1,5 +1,5 @@
1
- import p from "./index.es218.js";
2
- import t from "./index.es227.js";
1
+ import p from "./index.es220.js";
2
+ import t from "./index.es229.js";
3
3
  import h from "./index.es104.js";
4
4
  function u(f, i, l) {
5
5
  i = p(i, l);
@@ -1,5 +1,5 @@
1
- import l from "./index.es217.js";
2
- import k from "./index.es227.js";
1
+ import l from "./index.es219.js";
2
+ import k from "./index.es229.js";
3
3
  import u from "./index.es104.js";
4
4
  function h(r, a, t) {
5
5
  a = l(a, t);
@@ -1,4 +1,4 @@
1
- import e from "./index.es228.js";
1
+ import e from "./index.es230.js";
2
2
  const t = e(1);
3
3
  export {
4
4
  t as default
@@ -1,4 +1,4 @@
1
- import e from "./index.es228.js";
1
+ import e from "./index.es230.js";
2
2
  const r = e(-1);
3
3
  export {
4
4
  r as default
@@ -1,4 +1,4 @@
1
- import m from "./index.es217.js";
1
+ import m from "./index.es219.js";
2
2
  import s from "./index.es148.js";
3
3
  function l(t, r, n) {
4
4
  var f = [];
@@ -1,6 +1,6 @@
1
1
  import o from "./index.es152.js";
2
2
  import f from "./index.es136.js";
3
- import m from "./index.es217.js";
3
+ import m from "./index.es219.js";
4
4
  function a(r, t, e) {
5
5
  return o(r, f(m(t)), e);
6
6
  }
@@ -1,5 +1,5 @@
1
- import e from "./index.es217.js";
2
- import l from "./index.es227.js";
1
+ import e from "./index.es219.js";
2
+ import l from "./index.es229.js";
3
3
  import u from "./index.es104.js";
4
4
  function g(r, t, o) {
5
5
  t = e(t, o);
@@ -1,5 +1,5 @@
1
- import l from "./index.es217.js";
2
- import u from "./index.es227.js";
1
+ import l from "./index.es219.js";
2
+ import u from "./index.es229.js";
3
3
  import e from "./index.es104.js";
4
4
  function h(r, t, s) {
5
5
  t = l(t, s);
@@ -1,4 +1,4 @@
1
- import e from "./index.es227.js";
1
+ import e from "./index.es229.js";
2
2
  import a from "./index.es106.js";
3
3
  import m from "./index.es144.js";
4
4
  function u(i, t, r, f) {
@@ -1,6 +1,6 @@
1
- import c from "./index.es227.js";
1
+ import c from "./index.es229.js";
2
2
  import s from "./index.es106.js";
3
- import e from "./index.es217.js";
3
+ import e from "./index.es219.js";
4
4
  import I from "./index.es148.js";
5
5
  function g(n, f, o) {
6
6
  var r = -1 / 0, u = -1 / 0, i, l;
@@ -1,6 +1,6 @@
1
- import s from "./index.es227.js";
1
+ import s from "./index.es229.js";
2
2
  import a from "./index.es106.js";
3
- import e from "./index.es217.js";
3
+ import e from "./index.es219.js";
4
4
  import I from "./index.es148.js";
5
5
  function k(n, f, o) {
6
6
  var i = 1 / 0, u = 1 / 0, r, l;
@@ -1,6 +1,6 @@
1
- import s from "./index.es227.js";
1
+ import s from "./index.es229.js";
2
2
  import v from "./index.es106.js";
3
- import u from "./index.es208.js";
3
+ import u from "./index.es210.js";
4
4
  import o from "./index.es126.js";
5
5
  import h from "./index.es168.js";
6
6
  function M(r, a, e) {
@@ -1,4 +1,4 @@
1
- import c from "./index.es217.js";
1
+ import c from "./index.es219.js";
2
2
  import d from "./index.es157.js";
3
3
  import e from "./index.es149.js";
4
4
  function x(u, t, f) {
@@ -1,5 +1,5 @@
1
- import r from "./index.es229.js";
2
- import i from "./index.es206.js";
1
+ import r from "./index.es231.js";
2
+ import i from "./index.es208.js";
3
3
  const n = r(function(o, f, p) {
4
4
  i(o, p) ? o[p].push(f) : o[p] = [f];
5
5
  });
@@ -1,4 +1,4 @@
1
- import r from "./index.es229.js";
1
+ import r from "./index.es231.js";
2
2
  const f = r(function(o, t, n) {
3
3
  o[n] = t;
4
4
  });
@@ -1,5 +1,5 @@
1
- import t from "./index.es229.js";
2
- import a from "./index.es206.js";
1
+ import t from "./index.es231.js";
2
+ import a from "./index.es208.js";
3
3
  const p = t(function(o, i, f) {
4
4
  a(o, f) ? o[f]++ : o[f] = 1;
5
5
  });
@@ -1,4 +1,4 @@
1
- import p from "./index.es229.js";
1
+ import p from "./index.es231.js";
2
2
  const i = p(function(t, o, r) {
3
3
  t[r ? 0 : 1].push(o);
4
4
  }, !0);
@@ -1,7 +1,7 @@
1
1
  import f from "./index.es96.js";
2
2
  import { slice as t } from "./index.es23.js";
3
3
  import i from "./index.es88.js";
4
- import m from "./index.es227.js";
4
+ import m from "./index.es229.js";
5
5
  import u from "./index.es149.js";
6
6
  import e from "./index.es119.js";
7
7
  import o from "./index.es106.js";
@@ -1,4 +1,4 @@
1
- import e from "./index.es227.js";
1
+ import e from "./index.es229.js";
2
2
  import t from "./index.es104.js";
3
3
  function f(r) {
4
4
  return r == null ? 0 : e(r) ? r.length : t(r).length;
@@ -1,4 +1,4 @@
1
- import f from "./index.es224.js";
1
+ import f from "./index.es226.js";
2
2
  function n(t, e) {
3
3
  return f(t, e, !1);
4
4
  }
@@ -1,6 +1,6 @@
1
1
  import b from "./index.es86.js";
2
- import q from "./index.es217.js";
3
- import B from "./index.es208.js";
2
+ import q from "./index.es219.js";
3
+ import B from "./index.es210.js";
4
4
  import r from "./index.es156.js";
5
5
  function w(l, p, f, g) {
6
6
  b(p) || (g = f, f = p, p = !1), f != null && (f = q(f, g));
@@ -1,4 +1,4 @@
1
- import u from "./index.es208.js";
1
+ import u from "./index.es210.js";
2
2
  import f from "./index.es156.js";
3
3
  function v(o) {
4
4
  for (var t = [], a = arguments.length, n = 0, s = u(o); n < s; n++) {
@@ -1,5 +1,5 @@
1
1
  import f from "./index.es159.js";
2
- import p from "./index.es208.js";
2
+ import p from "./index.es210.js";
3
3
  import u from "./index.es157.js";
4
4
  function n(t) {
5
5
  for (var o = t && f(t, p).length || 0, m = Array(o), r = 0; r < o; r++)
@@ -1,4 +1,4 @@
1
- import n from "./index.es208.js";
1
+ import n from "./index.es210.js";
2
2
  function u(e, t) {
3
3
  for (var o = {}, r = 0, f = n(e); r < f; r++)
4
4
  t ? o[e[r]] = t[r] : o[e[r][0]] = e[r][1];
@@ -1,5 +1,5 @@
1
- import { syncProjection as f, cloneTransform as T, applyViewStateToTransform as p, transformToViewState as _ } from "./index.es232.js";
2
- import { normalizeStyle as v } from "./index.es233.js";
1
+ import { syncProjection as f, cloneTransform as T, applyViewStateToTransform as p, transformToViewState as _ } from "./index.es204.js";
2
+ import { normalizeStyle as v } from "./index.es205.js";
3
3
  import { deepEqual as h } from "./index.es187.js";
4
4
  const g = { version: 8, sources: {}, layers: [] }, y = {
5
5
  mousedown: "onMouseDown",
@@ -1,5 +1,49 @@
1
- var a = {};
1
+ import { deepEqual as c } from "./index.es187.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
+ }
2
43
  export {
3
- a as __exports
44
+ s as applyViewStateToTransform,
45
+ g as cloneTransform,
46
+ r as syncProjection,
47
+ d as transformToViewState
4
48
  };
5
49
  //# sourceMappingURL=index.es204.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es204.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index.es204.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]}