@performant-software/geospatial 3.1.25-beta.1 → 3.1.25-beta.2

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 (1985) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs101.js +1 -1
  3. package/dist/index.cjs102.js +1 -1
  4. package/dist/index.cjs103.js +1 -1
  5. package/dist/index.cjs104.js +1 -1
  6. package/dist/index.cjs105.js +1 -1
  7. package/dist/index.cjs106.js +1 -1
  8. package/dist/index.cjs107.js +1 -1
  9. package/dist/index.cjs108.js +1 -1
  10. package/dist/index.cjs111.js +1 -1
  11. package/dist/index.cjs112.js +1 -1
  12. package/dist/index.cjs114.js +1 -1
  13. package/dist/index.cjs115.js +1 -1
  14. package/dist/index.cjs116.js +1 -1
  15. package/dist/index.cjs117.js +1 -1
  16. package/dist/index.cjs12.js +1 -1
  17. package/dist/index.cjs12.js.map +1 -1
  18. package/dist/index.cjs122.js +1 -1
  19. package/dist/index.cjs123.js +1 -1
  20. package/dist/index.cjs124.js +1 -1
  21. package/dist/index.cjs125.js +1 -1
  22. package/dist/index.cjs128.js +1 -1
  23. package/dist/index.cjs129.js +1 -1
  24. package/dist/index.cjs13.js +1 -1
  25. package/dist/index.cjs13.js.map +1 -1
  26. package/dist/index.cjs130.js +1 -1
  27. package/dist/index.cjs134.js +1 -1
  28. package/dist/index.cjs137.js +1 -1
  29. package/dist/index.cjs141.js +1 -1
  30. package/dist/index.cjs144.js +1 -1
  31. package/dist/index.cjs152.js +1 -1
  32. package/dist/index.cjs153.js +1 -1
  33. package/dist/index.cjs154.js +1 -1
  34. package/dist/index.cjs155.js +1 -1
  35. package/dist/index.cjs156.js +1 -1
  36. package/dist/index.cjs157.js +1 -1
  37. package/dist/index.cjs158.js +1 -1
  38. package/dist/index.cjs16.js +1 -1
  39. package/dist/index.cjs160.js +1 -1
  40. package/dist/index.cjs161.js +1 -1
  41. package/dist/index.cjs162.js +1 -1
  42. package/dist/index.cjs163.js +1 -1
  43. package/dist/index.cjs164.js +1 -1
  44. package/dist/index.cjs165.js +1 -1
  45. package/dist/index.cjs166.js +1 -1
  46. package/dist/index.cjs167.js +1 -1
  47. package/dist/index.cjs168.js +1 -1
  48. package/dist/index.cjs17.js +1 -1
  49. package/dist/index.cjs171.js +1 -1
  50. package/dist/index.cjs172.js +1 -1
  51. package/dist/index.cjs174.js +1 -1
  52. package/dist/index.cjs175.js +1 -1
  53. package/dist/index.cjs176.js +1 -1
  54. package/dist/index.cjs177.js +1 -1
  55. package/dist/index.cjs178.js +1 -1
  56. package/dist/index.cjs179.js +1 -1
  57. package/dist/index.cjs18.js +1 -1
  58. package/dist/index.cjs180.js +1 -1
  59. package/dist/index.cjs181.js +1 -1
  60. package/dist/index.cjs187.js +1 -1
  61. package/dist/index.cjs188.js +1 -1
  62. package/dist/index.cjs189.js +1 -1
  63. package/dist/index.cjs19.js +1 -1
  64. package/dist/index.cjs190.js +1 -1
  65. package/dist/index.cjs191.js +1 -1
  66. package/dist/index.cjs194.js +1 -1
  67. package/dist/index.cjs194.js.map +1 -1
  68. package/dist/index.cjs195.js +1 -1
  69. package/dist/index.cjs195.js.map +1 -1
  70. package/dist/index.cjs196.js +1 -1
  71. package/dist/index.cjs196.js.map +1 -1
  72. package/dist/index.cjs197.js +1 -1
  73. package/dist/index.cjs197.js.map +1 -1
  74. package/dist/index.cjs198.js +1 -1
  75. package/dist/index.cjs198.js.map +1 -1
  76. package/dist/index.cjs199.js +1 -1
  77. package/dist/index.cjs199.js.map +1 -1
  78. package/dist/index.cjs20.js +1 -1
  79. package/dist/index.cjs200.js +1 -1
  80. package/dist/index.cjs200.js.map +1 -1
  81. package/dist/index.cjs201.js +1 -1
  82. package/dist/index.cjs201.js.map +1 -1
  83. package/dist/index.cjs202.js +1 -1
  84. package/dist/index.cjs202.js.map +1 -1
  85. package/dist/index.cjs203.js +1 -1
  86. package/dist/index.cjs203.js.map +1 -1
  87. package/dist/index.cjs204.js +1 -1
  88. package/dist/index.cjs204.js.map +1 -1
  89. package/dist/index.cjs205.js +1 -1
  90. package/dist/index.cjs205.js.map +1 -1
  91. package/dist/index.cjs206.js +1 -1
  92. package/dist/index.cjs206.js.map +1 -1
  93. package/dist/index.cjs207.js +1 -1
  94. package/dist/index.cjs207.js.map +1 -1
  95. package/dist/index.cjs208.js +1 -1
  96. package/dist/index.cjs208.js.map +1 -1
  97. package/dist/index.cjs209.js +1 -1
  98. package/dist/index.cjs209.js.map +1 -1
  99. package/dist/index.cjs21.js +1 -1
  100. package/dist/index.cjs210.js +1 -1
  101. package/dist/index.cjs210.js.map +1 -1
  102. package/dist/index.cjs211.js +1 -1
  103. package/dist/index.cjs211.js.map +1 -1
  104. package/dist/index.cjs212.js +1 -1
  105. package/dist/index.cjs212.js.map +1 -1
  106. package/dist/index.cjs213.js +1 -1
  107. package/dist/index.cjs213.js.map +1 -1
  108. package/dist/index.cjs214.js +1 -1
  109. package/dist/index.cjs214.js.map +1 -1
  110. package/dist/index.cjs215.js +1 -1
  111. package/dist/index.cjs215.js.map +1 -1
  112. package/dist/index.cjs216.js +1 -1
  113. package/dist/index.cjs216.js.map +1 -1
  114. package/dist/index.cjs217.js +1 -1
  115. package/dist/index.cjs217.js.map +1 -1
  116. package/dist/index.cjs218.js +1 -1
  117. package/dist/index.cjs218.js.map +1 -1
  118. package/dist/index.cjs219.js +1 -1
  119. package/dist/index.cjs219.js.map +1 -1
  120. package/dist/index.cjs22.js +1 -1
  121. package/dist/index.cjs220.js +1 -1
  122. package/dist/index.cjs220.js.map +1 -1
  123. package/dist/index.cjs221.js +1 -1
  124. package/dist/index.cjs221.js.map +1 -1
  125. package/dist/index.cjs222.js +1 -1
  126. package/dist/index.cjs222.js.map +1 -1
  127. package/dist/index.cjs223.js +1 -1
  128. package/dist/index.cjs223.js.map +1 -1
  129. package/dist/index.cjs224.js +1 -1
  130. package/dist/index.cjs224.js.map +1 -1
  131. package/dist/index.cjs225.js +1 -1
  132. package/dist/index.cjs225.js.map +1 -1
  133. package/dist/index.cjs226.js +1 -1
  134. package/dist/index.cjs226.js.map +1 -1
  135. package/dist/index.cjs227.js +1 -1
  136. package/dist/index.cjs227.js.map +1 -1
  137. package/dist/index.cjs228.js +1 -1
  138. package/dist/index.cjs228.js.map +1 -1
  139. package/dist/index.cjs229.js +1 -1
  140. package/dist/index.cjs229.js.map +1 -1
  141. package/dist/index.cjs23.js +1 -1
  142. package/dist/index.cjs230.js +1 -1
  143. package/dist/index.cjs230.js.map +1 -1
  144. package/dist/index.cjs231.js +1 -1
  145. package/dist/index.cjs231.js.map +1 -1
  146. package/dist/index.cjs232.js +1 -1
  147. package/dist/index.cjs232.js.map +1 -1
  148. package/dist/index.cjs233.js +1 -1
  149. package/dist/index.cjs233.js.map +1 -1
  150. package/dist/index.cjs234.js +1 -1
  151. package/dist/index.cjs234.js.map +1 -1
  152. package/dist/index.cjs235.js +1 -1
  153. package/dist/index.cjs235.js.map +1 -1
  154. package/dist/index.cjs236.js +1 -1
  155. package/dist/index.cjs236.js.map +1 -1
  156. package/dist/index.cjs237.js +1 -1
  157. package/dist/index.cjs237.js.map +1 -1
  158. package/dist/index.cjs238.js +1 -1
  159. package/dist/index.cjs238.js.map +1 -1
  160. package/dist/index.cjs239.js +1 -1
  161. package/dist/index.cjs239.js.map +1 -1
  162. package/dist/index.cjs24.js +1 -1
  163. package/dist/index.cjs240.js +1 -1
  164. package/dist/index.cjs240.js.map +1 -1
  165. package/dist/index.cjs241.js +1 -1
  166. package/dist/index.cjs241.js.map +1 -1
  167. package/dist/index.cjs242.js +1 -1
  168. package/dist/index.cjs242.js.map +1 -1
  169. package/dist/index.cjs243.js +1 -1
  170. package/dist/index.cjs243.js.map +1 -1
  171. package/dist/index.cjs244.js +1 -1
  172. package/dist/index.cjs244.js.map +1 -1
  173. package/dist/index.cjs245.js +1 -7
  174. package/dist/index.cjs245.js.map +1 -1
  175. package/dist/index.cjs246.js +1 -1
  176. package/dist/index.cjs246.js.map +1 -1
  177. package/dist/index.cjs247.js +1 -1
  178. package/dist/index.cjs247.js.map +1 -1
  179. package/dist/index.cjs248.js +1 -1
  180. package/dist/index.cjs248.js.map +1 -1
  181. package/dist/index.cjs249.js +1 -1
  182. package/dist/index.cjs249.js.map +1 -1
  183. package/dist/index.cjs25.js +1 -1
  184. package/dist/index.cjs250.js +1 -1
  185. package/dist/index.cjs250.js.map +1 -1
  186. package/dist/index.cjs251.js +1 -1
  187. package/dist/index.cjs251.js.map +1 -1
  188. package/dist/index.cjs252.js +1 -1
  189. package/dist/index.cjs252.js.map +1 -1
  190. package/dist/index.cjs253.js +1 -1
  191. package/dist/index.cjs253.js.map +1 -1
  192. package/dist/index.cjs254.js +1 -1
  193. package/dist/index.cjs254.js.map +1 -1
  194. package/dist/index.cjs255.js +1 -1
  195. package/dist/index.cjs255.js.map +1 -1
  196. package/dist/index.cjs256.js +1 -1
  197. package/dist/index.cjs256.js.map +1 -1
  198. package/dist/index.cjs257.js +1 -1
  199. package/dist/index.cjs257.js.map +1 -1
  200. package/dist/index.cjs258.js +1 -1
  201. package/dist/index.cjs258.js.map +1 -1
  202. package/dist/index.cjs259.js +1 -1
  203. package/dist/index.cjs259.js.map +1 -1
  204. package/dist/index.cjs26.js +1 -1
  205. package/dist/index.cjs260.js +1 -1
  206. package/dist/index.cjs260.js.map +1 -1
  207. package/dist/index.cjs261.js +1 -1
  208. package/dist/index.cjs261.js.map +1 -1
  209. package/dist/index.cjs262.js +1 -1
  210. package/dist/index.cjs262.js.map +1 -1
  211. package/dist/index.cjs263.js +1 -1
  212. package/dist/index.cjs263.js.map +1 -1
  213. package/dist/index.cjs264.js +1 -1
  214. package/dist/index.cjs264.js.map +1 -1
  215. package/dist/index.cjs265.js +1 -1
  216. package/dist/index.cjs265.js.map +1 -1
  217. package/dist/index.cjs266.js +1 -1
  218. package/dist/index.cjs266.js.map +1 -1
  219. package/dist/index.cjs267.js +1 -1
  220. package/dist/index.cjs267.js.map +1 -1
  221. package/dist/index.cjs268.js +1 -1
  222. package/dist/index.cjs268.js.map +1 -1
  223. package/dist/index.cjs269.js +1 -1
  224. package/dist/index.cjs269.js.map +1 -1
  225. package/dist/index.cjs27.js +1 -1
  226. package/dist/index.cjs270.js +1 -1
  227. package/dist/index.cjs270.js.map +1 -1
  228. package/dist/index.cjs271.js +1 -1
  229. package/dist/index.cjs271.js.map +1 -1
  230. package/dist/index.cjs272.js +7 -1
  231. package/dist/index.cjs272.js.map +1 -1
  232. package/dist/index.cjs273.js +1 -1
  233. package/dist/index.cjs273.js.map +1 -1
  234. package/dist/index.cjs274.js +1 -1
  235. package/dist/index.cjs274.js.map +1 -1
  236. package/dist/index.cjs275.js +1 -1
  237. package/dist/index.cjs275.js.map +1 -1
  238. package/dist/index.cjs276.js +2 -0
  239. package/dist/index.cjs276.js.map +1 -0
  240. package/dist/index.cjs277.js +2 -0
  241. package/dist/index.cjs277.js.map +1 -0
  242. package/dist/index.cjs278.js +2 -0
  243. package/dist/index.cjs278.js.map +1 -0
  244. package/dist/index.cjs279.js +2 -0
  245. package/dist/index.cjs279.js.map +1 -0
  246. package/dist/index.cjs280.js +2 -0
  247. package/dist/index.cjs280.js.map +1 -0
  248. package/dist/index.cjs281.js +2 -0
  249. package/dist/index.cjs281.js.map +1 -0
  250. package/dist/index.cjs282.js +2 -0
  251. package/dist/index.cjs282.js.map +1 -0
  252. package/dist/index.cjs283.js +2 -0
  253. package/dist/index.cjs283.js.map +1 -0
  254. package/dist/index.cjs284.js +2 -0
  255. package/dist/index.cjs284.js.map +1 -0
  256. package/dist/index.cjs285.js +2 -0
  257. package/dist/index.cjs285.js.map +1 -0
  258. package/dist/index.cjs286.js +2 -0
  259. package/dist/index.cjs286.js.map +1 -0
  260. package/dist/index.cjs287.js +2 -0
  261. package/dist/index.cjs287.js.map +1 -0
  262. package/dist/index.cjs288.js +2 -0
  263. package/dist/index.cjs288.js.map +1 -0
  264. package/dist/index.cjs289.js +2 -0
  265. package/dist/index.cjs289.js.map +1 -0
  266. package/dist/index.cjs290.js +2 -0
  267. package/dist/index.cjs290.js.map +1 -0
  268. package/dist/index.cjs291.js +2 -0
  269. package/dist/index.cjs291.js.map +1 -0
  270. package/dist/index.cjs292.js +2 -0
  271. package/dist/index.cjs292.js.map +1 -0
  272. package/dist/index.cjs293.js +2 -0
  273. package/dist/index.cjs293.js.map +1 -0
  274. package/dist/index.cjs294.js +2 -0
  275. package/dist/index.cjs294.js.map +1 -0
  276. package/dist/index.cjs295.js +2 -0
  277. package/dist/index.cjs295.js.map +1 -0
  278. package/dist/index.cjs296.js +2 -0
  279. package/dist/index.cjs296.js.map +1 -0
  280. package/dist/index.cjs297.js +2 -0
  281. package/dist/index.cjs297.js.map +1 -0
  282. package/dist/index.cjs298.js +2 -0
  283. package/dist/index.cjs298.js.map +1 -0
  284. package/dist/index.cjs299.js +2 -0
  285. package/dist/index.cjs299.js.map +1 -0
  286. package/dist/index.cjs300.js +2 -0
  287. package/dist/index.cjs300.js.map +1 -0
  288. package/dist/index.cjs301.js +2 -0
  289. package/dist/index.cjs301.js.map +1 -0
  290. package/dist/index.cjs302.js +2 -0
  291. package/dist/index.cjs302.js.map +1 -0
  292. package/dist/index.cjs303.js +2 -0
  293. package/dist/index.cjs303.js.map +1 -0
  294. package/dist/index.cjs304.js +2 -0
  295. package/dist/index.cjs304.js.map +1 -0
  296. package/dist/index.cjs305.js +2 -0
  297. package/dist/index.cjs305.js.map +1 -0
  298. package/dist/index.cjs306.js +2 -0
  299. package/dist/index.cjs306.js.map +1 -0
  300. package/dist/index.cjs307.js +2 -0
  301. package/dist/index.cjs307.js.map +1 -0
  302. package/dist/index.cjs308.js +47 -0
  303. package/dist/index.cjs308.js.map +1 -0
  304. package/dist/index.cjs309.js +212 -0
  305. package/dist/index.cjs309.js.map +1 -0
  306. package/dist/index.cjs310.js +62 -0
  307. package/dist/index.cjs310.js.map +1 -0
  308. package/dist/index.cjs311.js +60 -0
  309. package/dist/index.cjs311.js.map +1 -0
  310. package/dist/index.cjs312.js +46 -0
  311. package/dist/index.cjs312.js.map +1 -0
  312. package/dist/index.cjs313.js +52 -0
  313. package/dist/index.cjs313.js.map +1 -0
  314. package/dist/index.cjs314.js +308 -0
  315. package/dist/index.cjs314.js.map +1 -0
  316. package/dist/index.cjs315.js +293 -0
  317. package/dist/index.cjs315.js.map +1 -0
  318. package/dist/index.cjs316.js +6 -0
  319. package/dist/index.cjs316.js.map +1 -0
  320. package/dist/index.cjs317.js +2 -0
  321. package/dist/index.cjs317.js.map +1 -0
  322. package/dist/index.cjs318.js +2 -0
  323. package/dist/index.cjs318.js.map +1 -0
  324. package/dist/index.cjs319.js +2 -0
  325. package/dist/index.cjs319.js.map +1 -0
  326. package/dist/index.cjs320.js +2 -0
  327. package/dist/index.cjs320.js.map +1 -0
  328. package/dist/index.cjs321.js +2 -0
  329. package/dist/index.cjs321.js.map +1 -0
  330. package/dist/index.cjs322.js +2 -0
  331. package/dist/index.cjs322.js.map +1 -0
  332. package/dist/index.cjs323.js +2 -0
  333. package/dist/index.cjs323.js.map +1 -0
  334. package/dist/index.cjs324.js +2 -0
  335. package/dist/index.cjs324.js.map +1 -0
  336. package/dist/index.cjs325.js +2 -0
  337. package/dist/index.cjs325.js.map +1 -0
  338. package/dist/index.cjs326.js +2 -0
  339. package/dist/index.cjs326.js.map +1 -0
  340. package/dist/index.cjs327.js +2 -0
  341. package/dist/index.cjs327.js.map +1 -0
  342. package/dist/index.cjs328.js +2 -0
  343. package/dist/index.cjs328.js.map +1 -0
  344. package/dist/index.cjs329.js +2 -0
  345. package/dist/index.cjs329.js.map +1 -0
  346. package/dist/index.cjs330.js +2 -0
  347. package/dist/index.cjs330.js.map +1 -0
  348. package/dist/index.cjs331.js +2 -0
  349. package/dist/index.cjs331.js.map +1 -0
  350. package/dist/index.cjs332.js +2 -0
  351. package/dist/index.cjs332.js.map +1 -0
  352. package/dist/index.cjs333.js +2 -0
  353. package/dist/index.cjs333.js.map +1 -0
  354. package/dist/index.cjs334.js +5 -0
  355. package/dist/index.cjs334.js.map +1 -0
  356. package/dist/index.cjs335.js +6 -0
  357. package/dist/index.cjs335.js.map +1 -0
  358. package/dist/index.cjs336.js +2 -0
  359. package/dist/index.cjs336.js.map +1 -0
  360. package/dist/index.cjs337.js +2 -0
  361. package/dist/index.cjs337.js.map +1 -0
  362. package/dist/index.cjs338.js +2 -0
  363. package/dist/index.cjs338.js.map +1 -0
  364. package/dist/index.cjs339.js +2 -0
  365. package/dist/index.cjs339.js.map +1 -0
  366. package/dist/index.cjs340.js +2 -0
  367. package/dist/index.cjs340.js.map +1 -0
  368. package/dist/index.cjs341.js +2 -0
  369. package/dist/index.cjs341.js.map +1 -0
  370. package/dist/index.cjs342.js +2 -0
  371. package/dist/index.cjs342.js.map +1 -0
  372. package/dist/index.cjs343.js +2 -0
  373. package/dist/index.cjs343.js.map +1 -0
  374. package/dist/index.cjs344.js +2 -0
  375. package/dist/index.cjs344.js.map +1 -0
  376. package/dist/index.cjs345.js +2 -0
  377. package/dist/index.cjs345.js.map +1 -0
  378. package/dist/index.cjs346.js +2 -0
  379. package/dist/index.cjs346.js.map +1 -0
  380. package/dist/index.cjs347.js +2 -0
  381. package/dist/index.cjs347.js.map +1 -0
  382. package/dist/index.cjs348.js +5 -0
  383. package/dist/index.cjs348.js.map +1 -0
  384. package/dist/index.cjs349.js +2 -0
  385. package/dist/index.cjs349.js.map +1 -0
  386. package/dist/index.cjs350.js +2 -0
  387. package/dist/index.cjs350.js.map +1 -0
  388. package/dist/index.cjs351.js +2 -0
  389. package/dist/index.cjs351.js.map +1 -0
  390. package/dist/index.cjs352.js +2 -0
  391. package/dist/index.cjs352.js.map +1 -0
  392. package/dist/index.cjs353.js +2 -0
  393. package/dist/index.cjs353.js.map +1 -0
  394. package/dist/index.cjs354.js +2 -0
  395. package/dist/index.cjs354.js.map +1 -0
  396. package/dist/index.cjs355.js +2 -0
  397. package/dist/index.cjs355.js.map +1 -0
  398. package/dist/index.cjs356.js +2 -0
  399. package/dist/index.cjs356.js.map +1 -0
  400. package/dist/index.cjs357.js +2 -0
  401. package/dist/index.cjs357.js.map +1 -0
  402. package/dist/index.cjs358.js +2 -0
  403. package/dist/index.cjs358.js.map +1 -0
  404. package/dist/index.cjs359.js +2 -0
  405. package/dist/index.cjs359.js.map +1 -0
  406. package/dist/index.cjs360.js +2 -0
  407. package/dist/index.cjs360.js.map +1 -0
  408. package/dist/index.cjs361.js +2 -0
  409. package/dist/index.cjs361.js.map +1 -0
  410. package/dist/index.cjs362.js +2 -0
  411. package/dist/index.cjs362.js.map +1 -0
  412. package/dist/index.cjs363.js +2 -0
  413. package/dist/index.cjs363.js.map +1 -0
  414. package/dist/index.cjs364.js +2 -0
  415. package/dist/index.cjs364.js.map +1 -0
  416. package/dist/index.cjs365.js +2 -0
  417. package/dist/index.cjs365.js.map +1 -0
  418. package/dist/index.cjs366.js +2 -0
  419. package/dist/index.cjs366.js.map +1 -0
  420. package/dist/index.cjs367.js +2 -0
  421. package/dist/index.cjs367.js.map +1 -0
  422. package/dist/index.cjs368.js +2 -0
  423. package/dist/index.cjs368.js.map +1 -0
  424. package/dist/index.cjs369.js +2 -0
  425. package/dist/index.cjs369.js.map +1 -0
  426. package/dist/index.cjs370.js +2 -0
  427. package/dist/index.cjs370.js.map +1 -0
  428. package/dist/index.cjs371.js +2 -0
  429. package/dist/index.cjs371.js.map +1 -0
  430. package/dist/index.cjs372.js +2 -0
  431. package/dist/index.cjs372.js.map +1 -0
  432. package/dist/index.cjs373.js +2 -0
  433. package/dist/index.cjs373.js.map +1 -0
  434. package/dist/index.cjs374.js +2 -0
  435. package/dist/index.cjs374.js.map +1 -0
  436. package/dist/index.cjs375.js +2 -0
  437. package/dist/index.cjs375.js.map +1 -0
  438. package/dist/index.cjs376.js +2 -0
  439. package/dist/index.cjs376.js.map +1 -0
  440. package/dist/index.cjs377.js +2 -0
  441. package/dist/index.cjs377.js.map +1 -0
  442. package/dist/index.cjs378.js +2 -0
  443. package/dist/index.cjs378.js.map +1 -0
  444. package/dist/index.cjs379.js +2 -0
  445. package/dist/index.cjs379.js.map +1 -0
  446. package/dist/index.cjs38.js +1 -1
  447. package/dist/index.cjs380.js +2 -0
  448. package/dist/index.cjs380.js.map +1 -0
  449. package/dist/index.cjs381.js +2 -0
  450. package/dist/index.cjs381.js.map +1 -0
  451. package/dist/index.cjs382.js +2 -0
  452. package/dist/index.cjs382.js.map +1 -0
  453. package/dist/index.cjs383.js +2 -0
  454. package/dist/index.cjs383.js.map +1 -0
  455. package/dist/index.cjs384.js +2 -0
  456. package/dist/index.cjs384.js.map +1 -0
  457. package/dist/index.cjs385.js +2 -0
  458. package/dist/index.cjs385.js.map +1 -0
  459. package/dist/index.cjs386.js +2 -0
  460. package/dist/index.cjs386.js.map +1 -0
  461. package/dist/index.cjs387.js +2 -0
  462. package/dist/index.cjs387.js.map +1 -0
  463. package/dist/index.cjs388.js +2 -0
  464. package/dist/index.cjs388.js.map +1 -0
  465. package/dist/index.cjs389.js +2 -0
  466. package/dist/index.cjs389.js.map +1 -0
  467. package/dist/index.cjs39.js +1 -1
  468. package/dist/index.cjs390.js +2 -0
  469. package/dist/index.cjs390.js.map +1 -0
  470. package/dist/index.cjs391.js +2 -0
  471. package/dist/index.cjs391.js.map +1 -0
  472. package/dist/index.cjs392.js +2 -0
  473. package/dist/index.cjs392.js.map +1 -0
  474. package/dist/index.cjs393.js +2 -0
  475. package/dist/index.cjs393.js.map +1 -0
  476. package/dist/index.cjs394.js +2 -0
  477. package/dist/index.cjs394.js.map +1 -0
  478. package/dist/index.cjs395.js +2 -0
  479. package/dist/index.cjs395.js.map +1 -0
  480. package/dist/index.cjs396.js +2 -0
  481. package/dist/index.cjs396.js.map +1 -0
  482. package/dist/index.cjs397.js +2 -0
  483. package/dist/index.cjs397.js.map +1 -0
  484. package/dist/index.cjs398.js +2 -0
  485. package/dist/index.cjs398.js.map +1 -0
  486. package/dist/index.cjs399.js +2 -0
  487. package/dist/index.cjs399.js.map +1 -0
  488. package/dist/index.cjs40.js +1 -1
  489. package/dist/index.cjs400.js +2 -0
  490. package/dist/index.cjs400.js.map +1 -0
  491. package/dist/index.cjs401.js +2 -0
  492. package/dist/index.cjs401.js.map +1 -0
  493. package/dist/index.cjs402.js +2 -0
  494. package/dist/index.cjs402.js.map +1 -0
  495. package/dist/index.cjs403.js +2 -0
  496. package/dist/index.cjs403.js.map +1 -0
  497. package/dist/index.cjs404.js +2 -0
  498. package/dist/index.cjs404.js.map +1 -0
  499. package/dist/index.cjs405.js +2 -0
  500. package/dist/index.cjs405.js.map +1 -0
  501. package/dist/index.cjs406.js +2 -0
  502. package/dist/index.cjs406.js.map +1 -0
  503. package/dist/index.cjs407.js +2 -0
  504. package/dist/index.cjs407.js.map +1 -0
  505. package/dist/index.cjs408.js +2 -0
  506. package/dist/index.cjs408.js.map +1 -0
  507. package/dist/index.cjs409.js +2 -0
  508. package/dist/index.cjs409.js.map +1 -0
  509. package/dist/index.cjs410.js +2 -0
  510. package/dist/index.cjs410.js.map +1 -0
  511. package/dist/index.cjs411.js +2 -0
  512. package/dist/index.cjs411.js.map +1 -0
  513. package/dist/index.cjs412.js +2 -0
  514. package/dist/index.cjs412.js.map +1 -0
  515. package/dist/index.cjs413.js +2 -0
  516. package/dist/index.cjs413.js.map +1 -0
  517. package/dist/index.cjs414.js +2 -0
  518. package/dist/index.cjs414.js.map +1 -0
  519. package/dist/index.cjs415.js +2 -0
  520. package/dist/index.cjs415.js.map +1 -0
  521. package/dist/index.cjs416.js +2 -0
  522. package/dist/index.cjs416.js.map +1 -0
  523. package/dist/index.cjs417.js +2 -0
  524. package/dist/index.cjs417.js.map +1 -0
  525. package/dist/index.cjs418.js +2 -0
  526. package/dist/index.cjs418.js.map +1 -0
  527. package/dist/index.cjs419.js +2 -0
  528. package/dist/index.cjs419.js.map +1 -0
  529. package/dist/index.cjs42.js +1 -1
  530. package/dist/index.cjs420.js +2 -0
  531. package/dist/index.cjs420.js.map +1 -0
  532. package/dist/index.cjs421.js +2 -0
  533. package/dist/index.cjs421.js.map +1 -0
  534. package/dist/index.cjs422.js +2 -0
  535. package/dist/index.cjs422.js.map +1 -0
  536. package/dist/index.cjs423.js +2 -0
  537. package/dist/index.cjs423.js.map +1 -0
  538. package/dist/index.cjs424.js +2 -0
  539. package/dist/index.cjs424.js.map +1 -0
  540. package/dist/index.cjs425.js +2 -0
  541. package/dist/index.cjs425.js.map +1 -0
  542. package/dist/index.cjs426.js +2 -0
  543. package/dist/index.cjs426.js.map +1 -0
  544. package/dist/index.cjs427.js +2 -0
  545. package/dist/index.cjs427.js.map +1 -0
  546. package/dist/index.cjs428.js +2 -0
  547. package/dist/index.cjs428.js.map +1 -0
  548. package/dist/index.cjs429.js +2 -0
  549. package/dist/index.cjs429.js.map +1 -0
  550. package/dist/index.cjs43.js +1 -1
  551. package/dist/index.cjs430.js +2 -0
  552. package/dist/index.cjs430.js.map +1 -0
  553. package/dist/index.cjs431.js +2 -0
  554. package/dist/index.cjs431.js.map +1 -0
  555. package/dist/index.cjs432.js +2 -0
  556. package/dist/index.cjs432.js.map +1 -0
  557. package/dist/index.cjs433.js +2 -0
  558. package/dist/index.cjs433.js.map +1 -0
  559. package/dist/index.cjs434.js +2 -0
  560. package/dist/index.cjs434.js.map +1 -0
  561. package/dist/index.cjs435.js +2 -0
  562. package/dist/index.cjs435.js.map +1 -0
  563. package/dist/index.cjs436.js +2 -0
  564. package/dist/index.cjs436.js.map +1 -0
  565. package/dist/index.cjs437.js +2 -0
  566. package/dist/index.cjs437.js.map +1 -0
  567. package/dist/index.cjs438.js +2 -0
  568. package/dist/index.cjs438.js.map +1 -0
  569. package/dist/index.cjs439.js +2 -0
  570. package/dist/index.cjs439.js.map +1 -0
  571. package/dist/index.cjs44.js +1 -1
  572. package/dist/index.cjs440.js +2 -0
  573. package/dist/index.cjs440.js.map +1 -0
  574. package/dist/index.cjs441.js +2 -0
  575. package/dist/index.cjs441.js.map +1 -0
  576. package/dist/index.cjs442.js +2 -0
  577. package/dist/index.cjs442.js.map +1 -0
  578. package/dist/index.cjs443.js +2 -0
  579. package/dist/index.cjs443.js.map +1 -0
  580. package/dist/index.cjs444.js +2 -0
  581. package/dist/index.cjs444.js.map +1 -0
  582. package/dist/index.cjs445.js +2 -0
  583. package/dist/index.cjs445.js.map +1 -0
  584. package/dist/index.cjs446.js +2 -0
  585. package/dist/index.cjs446.js.map +1 -0
  586. package/dist/index.cjs447.js +2 -0
  587. package/dist/index.cjs447.js.map +1 -0
  588. package/dist/index.cjs448.js +2 -0
  589. package/dist/index.cjs448.js.map +1 -0
  590. package/dist/index.cjs449.js +2 -0
  591. package/dist/index.cjs449.js.map +1 -0
  592. package/dist/index.cjs450.js +2 -0
  593. package/dist/index.cjs450.js.map +1 -0
  594. package/dist/index.cjs451.js +2 -0
  595. package/dist/index.cjs451.js.map +1 -0
  596. package/dist/index.cjs452.js +2 -0
  597. package/dist/index.cjs452.js.map +1 -0
  598. package/dist/index.cjs453.js +2 -0
  599. package/dist/index.cjs453.js.map +1 -0
  600. package/dist/index.cjs454.js +2 -0
  601. package/dist/index.cjs454.js.map +1 -0
  602. package/dist/index.cjs455.js +2 -0
  603. package/dist/index.cjs455.js.map +1 -0
  604. package/dist/index.cjs456.js +2 -0
  605. package/dist/index.cjs456.js.map +1 -0
  606. package/dist/index.cjs457.js +2 -0
  607. package/dist/index.cjs457.js.map +1 -0
  608. package/dist/index.cjs458.js +2 -0
  609. package/dist/index.cjs458.js.map +1 -0
  610. package/dist/index.cjs459.js +2 -0
  611. package/dist/index.cjs459.js.map +1 -0
  612. package/dist/index.cjs46.js +1 -1
  613. package/dist/index.cjs460.js +2 -0
  614. package/dist/index.cjs460.js.map +1 -0
  615. package/dist/index.cjs461.js +2 -0
  616. package/dist/index.cjs461.js.map +1 -0
  617. package/dist/index.cjs462.js +2 -0
  618. package/dist/index.cjs462.js.map +1 -0
  619. package/dist/index.cjs463.js +2 -0
  620. package/dist/index.cjs463.js.map +1 -0
  621. package/dist/index.cjs464.js +2 -0
  622. package/dist/index.cjs464.js.map +1 -0
  623. package/dist/index.cjs465.js +2 -0
  624. package/dist/index.cjs465.js.map +1 -0
  625. package/dist/index.cjs466.js +2 -0
  626. package/dist/index.cjs466.js.map +1 -0
  627. package/dist/index.cjs467.js +2 -0
  628. package/dist/index.cjs467.js.map +1 -0
  629. package/dist/index.cjs468.js +2 -0
  630. package/dist/index.cjs468.js.map +1 -0
  631. package/dist/index.cjs469.js +2 -0
  632. package/dist/index.cjs469.js.map +1 -0
  633. package/dist/index.cjs47.js +1 -1
  634. package/dist/index.cjs470.js +2 -0
  635. package/dist/index.cjs470.js.map +1 -0
  636. package/dist/index.cjs471.js +2 -0
  637. package/dist/index.cjs471.js.map +1 -0
  638. package/dist/index.cjs472.js +2 -0
  639. package/dist/index.cjs472.js.map +1 -0
  640. package/dist/index.cjs473.js +2 -0
  641. package/dist/index.cjs473.js.map +1 -0
  642. package/dist/index.cjs474.js +2 -0
  643. package/dist/index.cjs474.js.map +1 -0
  644. package/dist/index.cjs475.js +2 -0
  645. package/dist/index.cjs475.js.map +1 -0
  646. package/dist/index.cjs476.js +2 -0
  647. package/dist/index.cjs476.js.map +1 -0
  648. package/dist/index.cjs477.js +2 -0
  649. package/dist/index.cjs477.js.map +1 -0
  650. package/dist/index.cjs478.js +2 -0
  651. package/dist/index.cjs478.js.map +1 -0
  652. package/dist/index.cjs479.js +2 -0
  653. package/dist/index.cjs479.js.map +1 -0
  654. package/dist/index.cjs48.js +1 -1
  655. package/dist/index.cjs480.js +2 -0
  656. package/dist/index.cjs480.js.map +1 -0
  657. package/dist/index.cjs481.js +2 -0
  658. package/dist/index.cjs481.js.map +1 -0
  659. package/dist/index.cjs482.js +2 -0
  660. package/dist/index.cjs482.js.map +1 -0
  661. package/dist/index.cjs483.js +2 -0
  662. package/dist/index.cjs483.js.map +1 -0
  663. package/dist/index.cjs484.js +2 -0
  664. package/dist/index.cjs484.js.map +1 -0
  665. package/dist/index.cjs485.js +2 -0
  666. package/dist/index.cjs485.js.map +1 -0
  667. package/dist/index.cjs486.js +2 -0
  668. package/dist/index.cjs486.js.map +1 -0
  669. package/dist/index.cjs487.js +2 -0
  670. package/dist/index.cjs487.js.map +1 -0
  671. package/dist/index.cjs488.js +2 -0
  672. package/dist/index.cjs488.js.map +1 -0
  673. package/dist/index.cjs489.js +2 -0
  674. package/dist/index.cjs489.js.map +1 -0
  675. package/dist/index.cjs490.js +2 -0
  676. package/dist/index.cjs490.js.map +1 -0
  677. package/dist/index.cjs491.js +2 -0
  678. package/dist/index.cjs491.js.map +1 -0
  679. package/dist/index.cjs492.js +2 -0
  680. package/dist/index.cjs492.js.map +1 -0
  681. package/dist/index.cjs493.js +2 -0
  682. package/dist/index.cjs493.js.map +1 -0
  683. package/dist/index.cjs494.js +2 -0
  684. package/dist/index.cjs494.js.map +1 -0
  685. package/dist/index.cjs495.js +2 -0
  686. package/dist/index.cjs495.js.map +1 -0
  687. package/dist/index.cjs496.js +2 -0
  688. package/dist/index.cjs496.js.map +1 -0
  689. package/dist/index.cjs497.js +2 -0
  690. package/dist/index.cjs497.js.map +1 -0
  691. package/dist/index.cjs498.js +2 -0
  692. package/dist/index.cjs498.js.map +1 -0
  693. package/dist/index.cjs499.js +2 -0
  694. package/dist/index.cjs499.js.map +1 -0
  695. package/dist/index.cjs50.js +1 -1
  696. package/dist/index.cjs500.js +2 -0
  697. package/dist/index.cjs500.js.map +1 -0
  698. package/dist/index.cjs501.js +2 -0
  699. package/dist/index.cjs501.js.map +1 -0
  700. package/dist/index.cjs502.js +2 -0
  701. package/dist/index.cjs502.js.map +1 -0
  702. package/dist/index.cjs503.js +2 -0
  703. package/dist/index.cjs503.js.map +1 -0
  704. package/dist/index.cjs504.js +2 -0
  705. package/dist/index.cjs504.js.map +1 -0
  706. package/dist/index.cjs505.js +2 -0
  707. package/dist/index.cjs505.js.map +1 -0
  708. package/dist/index.cjs506.js +2 -0
  709. package/dist/index.cjs506.js.map +1 -0
  710. package/dist/index.cjs507.js +2 -0
  711. package/dist/index.cjs507.js.map +1 -0
  712. package/dist/index.cjs508.js +2 -0
  713. package/dist/index.cjs508.js.map +1 -0
  714. package/dist/index.cjs509.js +2 -0
  715. package/dist/index.cjs509.js.map +1 -0
  716. package/dist/index.cjs51.js +1 -1
  717. package/dist/index.cjs510.js +2 -0
  718. package/dist/index.cjs510.js.map +1 -0
  719. package/dist/index.cjs511.js +2 -0
  720. package/dist/index.cjs511.js.map +1 -0
  721. package/dist/index.cjs512.js +2 -0
  722. package/dist/index.cjs512.js.map +1 -0
  723. package/dist/index.cjs513.js +2 -0
  724. package/dist/index.cjs513.js.map +1 -0
  725. package/dist/index.cjs514.js +2 -0
  726. package/dist/index.cjs514.js.map +1 -0
  727. package/dist/index.cjs515.js +2 -0
  728. package/dist/index.cjs515.js.map +1 -0
  729. package/dist/index.cjs516.js +2 -0
  730. package/dist/index.cjs516.js.map +1 -0
  731. package/dist/index.cjs517.js +2 -0
  732. package/dist/index.cjs517.js.map +1 -0
  733. package/dist/index.cjs518.js +2 -0
  734. package/dist/index.cjs518.js.map +1 -0
  735. package/dist/index.cjs519.js +2 -0
  736. package/dist/index.cjs519.js.map +1 -0
  737. package/dist/index.cjs52.js +1 -1
  738. package/dist/index.cjs520.js +2 -0
  739. package/dist/index.cjs520.js.map +1 -0
  740. package/dist/index.cjs521.js +2 -0
  741. package/dist/index.cjs521.js.map +1 -0
  742. package/dist/index.cjs522.js +2 -0
  743. package/dist/index.cjs522.js.map +1 -0
  744. package/dist/index.cjs523.js +2 -0
  745. package/dist/index.cjs523.js.map +1 -0
  746. package/dist/index.cjs524.js +2 -0
  747. package/dist/index.cjs524.js.map +1 -0
  748. package/dist/index.cjs525.js +2 -0
  749. package/dist/index.cjs525.js.map +1 -0
  750. package/dist/index.cjs526.js +2 -0
  751. package/dist/index.cjs526.js.map +1 -0
  752. package/dist/index.cjs527.js +2 -0
  753. package/dist/index.cjs527.js.map +1 -0
  754. package/dist/index.cjs528.js +2 -0
  755. package/dist/index.cjs528.js.map +1 -0
  756. package/dist/index.cjs529.js +2 -0
  757. package/dist/index.cjs529.js.map +1 -0
  758. package/dist/index.cjs530.js +2 -0
  759. package/dist/index.cjs530.js.map +1 -0
  760. package/dist/index.cjs531.js +2 -0
  761. package/dist/index.cjs531.js.map +1 -0
  762. package/dist/index.cjs532.js +2 -0
  763. package/dist/index.cjs532.js.map +1 -0
  764. package/dist/index.cjs533.js +2 -0
  765. package/dist/index.cjs533.js.map +1 -0
  766. package/dist/index.cjs534.js +2 -0
  767. package/dist/index.cjs534.js.map +1 -0
  768. package/dist/index.cjs535.js +2 -0
  769. package/dist/index.cjs535.js.map +1 -0
  770. package/dist/index.cjs536.js +2 -0
  771. package/dist/index.cjs536.js.map +1 -0
  772. package/dist/index.cjs537.js +2 -0
  773. package/dist/index.cjs537.js.map +1 -0
  774. package/dist/index.cjs538.js +2 -0
  775. package/dist/index.cjs538.js.map +1 -0
  776. package/dist/index.cjs539.js +2 -0
  777. package/dist/index.cjs539.js.map +1 -0
  778. package/dist/index.cjs540.js +2 -0
  779. package/dist/index.cjs540.js.map +1 -0
  780. package/dist/index.cjs541.js +2 -0
  781. package/dist/index.cjs541.js.map +1 -0
  782. package/dist/index.cjs542.js +2 -0
  783. package/dist/index.cjs542.js.map +1 -0
  784. package/dist/index.cjs543.js +2 -0
  785. package/dist/index.cjs543.js.map +1 -0
  786. package/dist/index.cjs544.js +2 -0
  787. package/dist/index.cjs544.js.map +1 -0
  788. package/dist/index.cjs545.js +2 -0
  789. package/dist/index.cjs545.js.map +1 -0
  790. package/dist/index.cjs546.js +2 -0
  791. package/dist/index.cjs546.js.map +1 -0
  792. package/dist/index.cjs547.js +2 -0
  793. package/dist/index.cjs547.js.map +1 -0
  794. package/dist/index.cjs548.js +2 -0
  795. package/dist/index.cjs548.js.map +1 -0
  796. package/dist/index.cjs549.js +2 -0
  797. package/dist/index.cjs549.js.map +1 -0
  798. package/dist/index.cjs550.js +2 -0
  799. package/dist/index.cjs550.js.map +1 -0
  800. package/dist/index.cjs551.js +2 -0
  801. package/dist/index.cjs551.js.map +1 -0
  802. package/dist/index.cjs552.js +2 -0
  803. package/dist/index.cjs552.js.map +1 -0
  804. package/dist/index.cjs553.js +2 -0
  805. package/dist/index.cjs553.js.map +1 -0
  806. package/dist/index.cjs554.js +2 -0
  807. package/dist/index.cjs554.js.map +1 -0
  808. package/dist/index.cjs555.js +2 -0
  809. package/dist/index.cjs555.js.map +1 -0
  810. package/dist/index.cjs556.js +2 -0
  811. package/dist/index.cjs556.js.map +1 -0
  812. package/dist/index.cjs557.js +2 -0
  813. package/dist/index.cjs557.js.map +1 -0
  814. package/dist/index.cjs558.js +2 -0
  815. package/dist/index.cjs558.js.map +1 -0
  816. package/dist/index.cjs559.js +2 -0
  817. package/dist/index.cjs559.js.map +1 -0
  818. package/dist/index.cjs56.js +1 -1
  819. package/dist/index.cjs560.js +2 -0
  820. package/dist/index.cjs560.js.map +1 -0
  821. package/dist/index.cjs561.js +2 -0
  822. package/dist/index.cjs561.js.map +1 -0
  823. package/dist/index.cjs562.js +2 -0
  824. package/dist/index.cjs562.js.map +1 -0
  825. package/dist/index.cjs563.js +2 -0
  826. package/dist/index.cjs563.js.map +1 -0
  827. package/dist/index.cjs564.js +9 -0
  828. package/dist/index.cjs564.js.map +1 -0
  829. package/dist/index.cjs565.js +2 -0
  830. package/dist/index.cjs565.js.map +1 -0
  831. package/dist/index.cjs566.js +2 -0
  832. package/dist/index.cjs566.js.map +1 -0
  833. package/dist/index.cjs567.js +2 -0
  834. package/dist/index.cjs567.js.map +1 -0
  835. package/dist/index.cjs568.js +2 -0
  836. package/dist/index.cjs568.js.map +1 -0
  837. package/dist/index.cjs569.js +2 -0
  838. package/dist/index.cjs569.js.map +1 -0
  839. package/dist/index.cjs57.js +1 -1
  840. package/dist/index.cjs570.js +2 -0
  841. package/dist/index.cjs570.js.map +1 -0
  842. package/dist/index.cjs571.js +2 -0
  843. package/dist/index.cjs571.js.map +1 -0
  844. package/dist/index.cjs572.js +2 -0
  845. package/dist/index.cjs572.js.map +1 -0
  846. package/dist/index.cjs573.js +2 -0
  847. package/dist/index.cjs573.js.map +1 -0
  848. package/dist/index.cjs574.js +2 -0
  849. package/dist/index.cjs574.js.map +1 -0
  850. package/dist/index.cjs575.js +2 -0
  851. package/dist/index.cjs575.js.map +1 -0
  852. package/dist/index.cjs576.js +2 -0
  853. package/dist/index.cjs576.js.map +1 -0
  854. package/dist/index.cjs577.js +2 -0
  855. package/dist/index.cjs577.js.map +1 -0
  856. package/dist/index.cjs578.js +2 -0
  857. package/dist/index.cjs578.js.map +1 -0
  858. package/dist/index.cjs579.js +2 -0
  859. package/dist/index.cjs579.js.map +1 -0
  860. package/dist/index.cjs58.js +1 -1
  861. package/dist/index.cjs580.js +2 -0
  862. package/dist/index.cjs580.js.map +1 -0
  863. package/dist/index.cjs581.js +2 -0
  864. package/dist/index.cjs581.js.map +1 -0
  865. package/dist/index.cjs582.js +2 -0
  866. package/dist/index.cjs582.js.map +1 -0
  867. package/dist/index.cjs583.js +2 -0
  868. package/dist/index.cjs583.js.map +1 -0
  869. package/dist/index.cjs584.js +2 -0
  870. package/dist/index.cjs584.js.map +1 -0
  871. package/dist/index.cjs585.js +2 -0
  872. package/dist/index.cjs585.js.map +1 -0
  873. package/dist/index.cjs586.js +2 -0
  874. package/dist/index.cjs586.js.map +1 -0
  875. package/dist/index.cjs587.js +2 -0
  876. package/dist/index.cjs587.js.map +1 -0
  877. package/dist/index.cjs588.js +2 -0
  878. package/dist/index.cjs588.js.map +1 -0
  879. package/dist/index.cjs589.js +2 -0
  880. package/dist/index.cjs589.js.map +1 -0
  881. package/dist/index.cjs590.js +2 -0
  882. package/dist/index.cjs590.js.map +1 -0
  883. package/dist/index.cjs591.js +2 -0
  884. package/dist/index.cjs591.js.map +1 -0
  885. package/dist/index.cjs592.js +2 -0
  886. package/dist/index.cjs592.js.map +1 -0
  887. package/dist/index.cjs593.js +2 -0
  888. package/dist/index.cjs593.js.map +1 -0
  889. package/dist/index.cjs594.js +2 -0
  890. package/dist/index.cjs594.js.map +1 -0
  891. package/dist/index.cjs595.js +2 -0
  892. package/dist/index.cjs595.js.map +1 -0
  893. package/dist/index.cjs596.js +2 -0
  894. package/dist/index.cjs596.js.map +1 -0
  895. package/dist/index.cjs597.js +2 -0
  896. package/dist/index.cjs597.js.map +1 -0
  897. package/dist/index.cjs598.js +2 -0
  898. package/dist/index.cjs598.js.map +1 -0
  899. package/dist/index.cjs599.js +2 -0
  900. package/dist/index.cjs599.js.map +1 -0
  901. package/dist/index.cjs60.js +1 -1
  902. package/dist/index.cjs600.js +2 -0
  903. package/dist/index.cjs600.js.map +1 -0
  904. package/dist/index.cjs601.js +2 -0
  905. package/dist/index.cjs601.js.map +1 -0
  906. package/dist/index.cjs602.js +2 -0
  907. package/dist/index.cjs602.js.map +1 -0
  908. package/dist/index.cjs603.js +2 -0
  909. package/dist/index.cjs603.js.map +1 -0
  910. package/dist/index.cjs604.js +2 -0
  911. package/dist/index.cjs604.js.map +1 -0
  912. package/dist/index.cjs605.js +2 -0
  913. package/dist/index.cjs605.js.map +1 -0
  914. package/dist/index.cjs606.js +2 -0
  915. package/dist/index.cjs606.js.map +1 -0
  916. package/dist/index.cjs607.js +2 -0
  917. package/dist/index.cjs607.js.map +1 -0
  918. package/dist/index.cjs608.js +2 -0
  919. package/dist/index.cjs608.js.map +1 -0
  920. package/dist/index.cjs609.js +2 -0
  921. package/dist/index.cjs609.js.map +1 -0
  922. package/dist/index.cjs61.js +1 -1
  923. package/dist/index.cjs610.js +2 -0
  924. package/dist/index.cjs610.js.map +1 -0
  925. package/dist/index.cjs611.js +2 -0
  926. package/dist/index.cjs611.js.map +1 -0
  927. package/dist/index.cjs612.js +2 -0
  928. package/dist/index.cjs612.js.map +1 -0
  929. package/dist/index.cjs613.js +2 -0
  930. package/dist/index.cjs613.js.map +1 -0
  931. package/dist/index.cjs614.js +2 -0
  932. package/dist/index.cjs614.js.map +1 -0
  933. package/dist/index.cjs615.js +2 -0
  934. package/dist/index.cjs615.js.map +1 -0
  935. package/dist/index.cjs616.js +4 -0
  936. package/dist/index.cjs616.js.map +1 -0
  937. package/dist/index.cjs617.js +2 -0
  938. package/dist/index.cjs617.js.map +1 -0
  939. package/dist/index.cjs618.js +2 -0
  940. package/dist/index.cjs618.js.map +1 -0
  941. package/dist/index.cjs619.js +2 -0
  942. package/dist/index.cjs619.js.map +1 -0
  943. package/dist/index.cjs620.js +2 -0
  944. package/dist/index.cjs620.js.map +1 -0
  945. package/dist/index.cjs621.js +2 -0
  946. package/dist/index.cjs621.js.map +1 -0
  947. package/dist/index.cjs622.js +61 -0
  948. package/dist/index.cjs622.js.map +1 -0
  949. package/dist/index.cjs623.js +2 -0
  950. package/dist/index.cjs623.js.map +1 -0
  951. package/dist/index.cjs624.js +2 -0
  952. package/dist/index.cjs624.js.map +1 -0
  953. package/dist/index.cjs625.js +2 -0
  954. package/dist/index.cjs625.js.map +1 -0
  955. package/dist/index.cjs626.js +2 -0
  956. package/dist/index.cjs626.js.map +1 -0
  957. package/dist/index.cjs627.js +2 -0
  958. package/dist/index.cjs627.js.map +1 -0
  959. package/dist/index.cjs628.js +2 -0
  960. package/dist/index.cjs628.js.map +1 -0
  961. package/dist/index.cjs629.js +2 -0
  962. package/dist/index.cjs629.js.map +1 -0
  963. package/dist/index.cjs63.js +1 -1
  964. package/dist/index.cjs630.js +4 -0
  965. package/dist/index.cjs630.js.map +1 -0
  966. package/dist/index.cjs631.js +2 -0
  967. package/dist/index.cjs631.js.map +1 -0
  968. package/dist/index.cjs632.js +2 -0
  969. package/dist/index.cjs632.js.map +1 -0
  970. package/dist/index.cjs67.js +1 -1
  971. package/dist/index.cjs67.js.map +1 -1
  972. package/dist/index.cjs68.js +1 -440
  973. package/dist/index.cjs68.js.map +1 -1
  974. package/dist/index.cjs69.js +1 -1
  975. package/dist/index.cjs69.js.map +1 -1
  976. package/dist/index.cjs70.js.map +1 -1
  977. package/dist/index.cjs71.js +1 -1
  978. package/dist/index.cjs71.js.map +1 -1
  979. package/dist/index.cjs72.js +1 -1
  980. package/dist/index.cjs72.js.map +1 -1
  981. package/dist/index.cjs73.js +1 -1
  982. package/dist/index.cjs73.js.map +1 -1
  983. package/dist/index.cjs74.js +1 -1
  984. package/dist/index.cjs74.js.map +1 -1
  985. package/dist/index.cjs75.js +1 -1
  986. package/dist/index.cjs75.js.map +1 -1
  987. package/dist/index.cjs76.js +1 -1
  988. package/dist/index.cjs76.js.map +1 -1
  989. package/dist/index.cjs77.js +1 -1
  990. package/dist/index.cjs77.js.map +1 -1
  991. package/dist/index.cjs78.js.map +1 -1
  992. package/dist/index.cjs93.js +1 -1
  993. package/dist/index.es100.js +1 -1
  994. package/dist/index.es101.js +1 -1
  995. package/dist/index.es102.js +1 -1
  996. package/dist/index.es103.js +1 -1
  997. package/dist/index.es104.js +1 -1
  998. package/dist/index.es105.js +1 -1
  999. package/dist/index.es106.js +1 -1
  1000. package/dist/index.es107.js +1 -1
  1001. package/dist/index.es108.js +1 -1
  1002. package/dist/index.es111.js +1 -1
  1003. package/dist/index.es112.js +1 -1
  1004. package/dist/index.es114.js +3 -3
  1005. package/dist/index.es115.js +1 -1
  1006. package/dist/index.es116.js +2 -2
  1007. package/dist/index.es117.js +1 -1
  1008. package/dist/index.es12.js +6 -7
  1009. package/dist/index.es12.js.map +1 -1
  1010. package/dist/index.es122.js +1 -1
  1011. package/dist/index.es123.js +1 -1
  1012. package/dist/index.es124.js +1 -1
  1013. package/dist/index.es125.js +1 -1
  1014. package/dist/index.es128.js +2 -2
  1015. package/dist/index.es129.js +2 -2
  1016. package/dist/index.es13.js +8 -8
  1017. package/dist/index.es13.js.map +1 -1
  1018. package/dist/index.es130.js +1 -1
  1019. package/dist/index.es134.js +2 -2
  1020. package/dist/index.es137.js +1 -1
  1021. package/dist/index.es141.js +1 -1
  1022. package/dist/index.es144.js +1 -1
  1023. package/dist/index.es152.js +1 -1
  1024. package/dist/index.es153.js +1 -1
  1025. package/dist/index.es154.js +1 -1
  1026. package/dist/index.es155.js +2 -2
  1027. package/dist/index.es156.js +1 -1
  1028. package/dist/index.es157.js +1 -1
  1029. package/dist/index.es158.js +1 -1
  1030. package/dist/index.es16.js +4 -4
  1031. package/dist/index.es160.js +2 -2
  1032. package/dist/index.es161.js +2 -2
  1033. package/dist/index.es162.js +1 -1
  1034. package/dist/index.es163.js +1 -1
  1035. package/dist/index.es164.js +1 -1
  1036. package/dist/index.es165.js +1 -1
  1037. package/dist/index.es166.js +2 -2
  1038. package/dist/index.es167.js +2 -2
  1039. package/dist/index.es168.js +1 -1
  1040. package/dist/index.es17.js +3 -3
  1041. package/dist/index.es171.js +2 -2
  1042. package/dist/index.es172.js +2 -2
  1043. package/dist/index.es174.js +2 -2
  1044. package/dist/index.es175.js +1 -1
  1045. package/dist/index.es176.js +2 -2
  1046. package/dist/index.es177.js +1 -1
  1047. package/dist/index.es178.js +2 -2
  1048. package/dist/index.es179.js +1 -1
  1049. package/dist/index.es18.js +3 -3
  1050. package/dist/index.es180.js +1 -1
  1051. package/dist/index.es181.js +1 -1
  1052. package/dist/index.es187.js +1 -1
  1053. package/dist/index.es188.js +2 -2
  1054. package/dist/index.es189.js +1 -1
  1055. package/dist/index.es19.js +1 -1
  1056. package/dist/index.es190.js +1 -1
  1057. package/dist/index.es191.js +1 -1
  1058. package/dist/index.es194.js +28 -145
  1059. package/dist/index.es194.js.map +1 -1
  1060. package/dist/index.es195.js +201 -16
  1061. package/dist/index.es195.js.map +1 -1
  1062. package/dist/index.es196.js +8 -6
  1063. package/dist/index.es196.js.map +1 -1
  1064. package/dist/index.es197.js +7 -5
  1065. package/dist/index.es197.js.map +1 -1
  1066. package/dist/index.es198.js +7 -3
  1067. package/dist/index.es198.js.map +1 -1
  1068. package/dist/index.es199.js +2 -2
  1069. package/dist/index.es199.js.map +1 -1
  1070. package/dist/index.es20.js +1 -1
  1071. package/dist/index.es200.js +3 -38
  1072. package/dist/index.es200.js.map +1 -1
  1073. package/dist/index.es201.js +38 -3
  1074. package/dist/index.es201.js.map +1 -1
  1075. package/dist/index.es202.js +3 -25
  1076. package/dist/index.es202.js.map +1 -1
  1077. package/dist/index.es203.js +25 -2
  1078. package/dist/index.es203.js.map +1 -1
  1079. package/dist/index.es204.js +1 -2
  1080. package/dist/index.es204.js.map +1 -1
  1081. package/dist/index.es205.js +2 -1
  1082. package/dist/index.es205.js.map +1 -1
  1083. package/dist/index.es206.js +2 -33
  1084. package/dist/index.es206.js.map +1 -1
  1085. package/dist/index.es207.js +31 -13
  1086. package/dist/index.es207.js.map +1 -1
  1087. package/dist/index.es208.js +11 -12
  1088. package/dist/index.es208.js.map +1 -1
  1089. package/dist/index.es209.js +13 -8
  1090. package/dist/index.es209.js.map +1 -1
  1091. package/dist/index.es21.js +1 -1
  1092. package/dist/index.es210.js +8 -242
  1093. package/dist/index.es210.js.map +1 -1
  1094. package/dist/index.es211.js +60 -41
  1095. package/dist/index.es211.js.map +1 -1
  1096. package/dist/index.es212.js +63 -3
  1097. package/dist/index.es212.js.map +1 -1
  1098. package/dist/index.es213.js +36 -10
  1099. package/dist/index.es213.js.map +1 -1
  1100. package/dist/index.es214.js +476 -10
  1101. package/dist/index.es214.js.map +1 -1
  1102. package/dist/index.es215.js +164 -30
  1103. package/dist/index.es215.js.map +1 -1
  1104. package/dist/index.es216.js +71 -13
  1105. package/dist/index.es216.js.map +1 -1
  1106. package/dist/index.es217.js +49 -4
  1107. package/dist/index.es217.js.map +1 -1
  1108. package/dist/index.es218.js +379 -7
  1109. package/dist/index.es218.js.map +1 -1
  1110. package/dist/index.es219.js +18 -6
  1111. package/dist/index.es219.js.map +1 -1
  1112. package/dist/index.es22.js +1 -1
  1113. package/dist/index.es220.js +124 -4
  1114. package/dist/index.es220.js.map +1 -1
  1115. package/dist/index.es221.js +355 -3
  1116. package/dist/index.es221.js.map +1 -1
  1117. package/dist/index.es222.js +218 -3
  1118. package/dist/index.es222.js.map +1 -1
  1119. package/dist/index.es223.js +23 -9
  1120. package/dist/index.es223.js.map +1 -1
  1121. package/dist/index.es224.js +58 -18
  1122. package/dist/index.es224.js.map +1 -1
  1123. package/dist/index.es225.js +104 -19
  1124. package/dist/index.es225.js.map +1 -1
  1125. package/dist/index.es226.js +29 -13
  1126. package/dist/index.es226.js.map +1 -1
  1127. package/dist/index.es227.js +29 -15
  1128. package/dist/index.es227.js.map +1 -1
  1129. package/dist/index.es228.js +96 -5
  1130. package/dist/index.es228.js.map +1 -1
  1131. package/dist/index.es229.js +35 -8
  1132. package/dist/index.es229.js.map +1 -1
  1133. package/dist/index.es23.js +1 -1
  1134. package/dist/index.es230.js +18 -7
  1135. package/dist/index.es230.js.map +1 -1
  1136. package/dist/index.es231.js +52 -21
  1137. package/dist/index.es231.js.map +1 -1
  1138. package/dist/index.es232.js +7 -10
  1139. package/dist/index.es232.js.map +1 -1
  1140. package/dist/index.es233.js +527 -9
  1141. package/dist/index.es233.js.map +1 -1
  1142. package/dist/index.es234.js +26 -4
  1143. package/dist/index.es234.js.map +1 -1
  1144. package/dist/index.es235.js +7 -10
  1145. package/dist/index.es235.js.map +1 -1
  1146. package/dist/index.es236.js +4 -7
  1147. package/dist/index.es236.js.map +1 -1
  1148. package/dist/index.es237.js +4 -21
  1149. package/dist/index.es237.js.map +1 -1
  1150. package/dist/index.es238.js +3 -11
  1151. package/dist/index.es238.js.map +1 -1
  1152. package/dist/index.es239.js +3 -18
  1153. package/dist/index.es239.js.map +1 -1
  1154. package/dist/index.es24.js +1 -1
  1155. package/dist/index.es240.js +8 -3
  1156. package/dist/index.es240.js.map +1 -1
  1157. package/dist/index.es241.js +17 -16
  1158. package/dist/index.es241.js.map +1 -1
  1159. package/dist/index.es242.js +19 -10
  1160. package/dist/index.es242.js.map +1 -1
  1161. package/dist/index.es243.js +12 -3
  1162. package/dist/index.es243.js.map +1 -1
  1163. package/dist/index.es244.js +14 -4
  1164. package/dist/index.es244.js.map +1 -1
  1165. package/dist/index.es245.js +5 -7506
  1166. package/dist/index.es245.js.map +1 -1
  1167. package/dist/index.es246.js +8 -2
  1168. package/dist/index.es246.js.map +1 -1
  1169. package/dist/index.es247.js +6 -20
  1170. package/dist/index.es247.js.map +1 -1
  1171. package/dist/index.es248.js +21 -22
  1172. package/dist/index.es248.js.map +1 -1
  1173. package/dist/index.es249.js +8 -6
  1174. package/dist/index.es249.js.map +1 -1
  1175. package/dist/index.es25.js +1 -1
  1176. package/dist/index.es250.js +8 -5
  1177. package/dist/index.es250.js.map +1 -1
  1178. package/dist/index.es251.js +4 -3
  1179. package/dist/index.es251.js.map +1 -1
  1180. package/dist/index.es252.js +10 -24
  1181. package/dist/index.es252.js.map +1 -1
  1182. package/dist/index.es253.js +7 -16
  1183. package/dist/index.es253.js.map +1 -1
  1184. package/dist/index.es254.js +20 -30
  1185. package/dist/index.es254.js.map +1 -1
  1186. package/dist/index.es255.js +10 -21
  1187. package/dist/index.es255.js.map +1 -1
  1188. package/dist/index.es256.js +16 -73
  1189. package/dist/index.es256.js.map +1 -1
  1190. package/dist/index.es257.js +4 -21
  1191. package/dist/index.es257.js.map +1 -1
  1192. package/dist/index.es258.js +16 -39
  1193. package/dist/index.es258.js.map +1 -1
  1194. package/dist/index.es259.js +11 -49
  1195. package/dist/index.es259.js.map +1 -1
  1196. package/dist/index.es26.js +2 -2
  1197. package/dist/index.es260.js +3 -7
  1198. package/dist/index.es260.js.map +1 -1
  1199. package/dist/index.es261.js +4 -20
  1200. package/dist/index.es261.js.map +1 -1
  1201. package/dist/index.es262.js +242 -65
  1202. package/dist/index.es262.js.map +1 -1
  1203. package/dist/index.es263.js +40 -40
  1204. package/dist/index.es263.js.map +1 -1
  1205. package/dist/index.es264.js +3 -64
  1206. package/dist/index.es264.js.map +1 -1
  1207. package/dist/index.es265.js +9 -7
  1208. package/dist/index.es265.js.map +1 -1
  1209. package/dist/index.es266.js +10 -3
  1210. package/dist/index.es266.js.map +1 -1
  1211. package/dist/index.es267.js +29 -11
  1212. package/dist/index.es267.js.map +1 -1
  1213. package/dist/index.es268.js +12 -58
  1214. package/dist/index.es268.js.map +1 -1
  1215. package/dist/index.es269.js +4 -49
  1216. package/dist/index.es269.js.map +1 -1
  1217. package/dist/index.es27.js +2 -2
  1218. package/dist/index.es270.js +21 -14
  1219. package/dist/index.es270.js.map +1 -1
  1220. package/dist/index.es271.js +20 -2
  1221. package/dist/index.es271.js.map +1 -1
  1222. package/dist/index.es272.js +7506 -4
  1223. package/dist/index.es272.js.map +1 -1
  1224. package/dist/index.es273.js +2 -70
  1225. package/dist/index.es273.js.map +1 -1
  1226. package/dist/index.es274.js +3 -4
  1227. package/dist/index.es274.js.map +1 -1
  1228. package/dist/index.es275.js +268 -21
  1229. package/dist/index.es275.js.map +1 -1
  1230. package/dist/index.es276.js +11 -0
  1231. package/dist/index.es276.js.map +1 -0
  1232. package/dist/index.es277.js +9 -0
  1233. package/dist/index.es277.js.map +1 -0
  1234. package/dist/index.es278.js +24 -0
  1235. package/dist/index.es278.js.map +1 -0
  1236. package/dist/index.es279.js +26 -0
  1237. package/dist/index.es279.js.map +1 -0
  1238. package/dist/index.es280.js +28 -0
  1239. package/dist/index.es280.js.map +1 -0
  1240. package/dist/index.es281.js +20 -0
  1241. package/dist/index.es281.js.map +1 -0
  1242. package/dist/index.es282.js +34 -0
  1243. package/dist/index.es282.js.map +1 -0
  1244. package/dist/index.es283.js +25 -0
  1245. package/dist/index.es283.js.map +1 -0
  1246. package/dist/index.es284.js +78 -0
  1247. package/dist/index.es284.js.map +1 -0
  1248. package/dist/index.es285.js +24 -0
  1249. package/dist/index.es285.js.map +1 -0
  1250. package/dist/index.es286.js +44 -0
  1251. package/dist/index.es286.js.map +1 -0
  1252. package/dist/index.es287.js +53 -0
  1253. package/dist/index.es287.js.map +1 -0
  1254. package/dist/index.es288.js +11 -0
  1255. package/dist/index.es288.js.map +1 -0
  1256. package/dist/index.es289.js +24 -0
  1257. package/dist/index.es289.js.map +1 -0
  1258. package/dist/index.es290.js +69 -0
  1259. package/dist/index.es290.js.map +1 -0
  1260. package/dist/index.es291.js +46 -0
  1261. package/dist/index.es291.js.map +1 -0
  1262. package/dist/index.es292.js +67 -0
  1263. package/dist/index.es292.js.map +1 -0
  1264. package/dist/index.es293.js +12 -0
  1265. package/dist/index.es293.js.map +1 -0
  1266. package/dist/index.es294.js +7 -0
  1267. package/dist/index.es294.js.map +1 -0
  1268. package/dist/index.es295.js +16 -0
  1269. package/dist/index.es295.js.map +1 -0
  1270. package/dist/index.es296.js +63 -0
  1271. package/dist/index.es296.js.map +1 -0
  1272. package/dist/index.es297.js +53 -0
  1273. package/dist/index.es297.js.map +1 -0
  1274. package/dist/index.es298.js +418 -0
  1275. package/dist/index.es298.js.map +1 -0
  1276. package/dist/index.es299.js +80 -0
  1277. package/dist/index.es299.js.map +1 -0
  1278. package/dist/index.es300.js +246 -0
  1279. package/dist/index.es300.js.map +1 -0
  1280. package/dist/index.es301.js +33 -0
  1281. package/dist/index.es301.js.map +1 -0
  1282. package/dist/index.es302.js +157 -0
  1283. package/dist/index.es302.js.map +1 -0
  1284. package/dist/index.es303.js +21 -0
  1285. package/dist/index.es303.js.map +1 -0
  1286. package/dist/index.es304.js +17 -0
  1287. package/dist/index.es304.js.map +1 -0
  1288. package/dist/index.es305.js +565 -0
  1289. package/dist/index.es305.js.map +1 -0
  1290. package/dist/index.es306.js +354 -0
  1291. package/dist/index.es306.js.map +1 -0
  1292. package/dist/index.es307.js +67 -0
  1293. package/dist/index.es307.js.map +1 -0
  1294. package/dist/index.es308.js +50 -0
  1295. package/dist/index.es308.js.map +1 -0
  1296. package/dist/index.es309.js +215 -0
  1297. package/dist/index.es309.js.map +1 -0
  1298. package/dist/index.es310.js +65 -0
  1299. package/dist/index.es310.js.map +1 -0
  1300. package/dist/index.es311.js +63 -0
  1301. package/dist/index.es311.js.map +1 -0
  1302. package/dist/index.es312.js +49 -0
  1303. package/dist/index.es312.js.map +1 -0
  1304. package/dist/index.es313.js +55 -0
  1305. package/dist/index.es313.js.map +1 -0
  1306. package/dist/index.es314.js +329 -0
  1307. package/dist/index.es314.js.map +1 -0
  1308. package/dist/index.es315.js +314 -0
  1309. package/dist/index.es315.js.map +1 -0
  1310. package/dist/index.es316.js +259 -0
  1311. package/dist/index.es316.js.map +1 -0
  1312. package/dist/index.es317.js +60 -0
  1313. package/dist/index.es317.js.map +1 -0
  1314. package/dist/index.es318.js +218 -0
  1315. package/dist/index.es318.js.map +1 -0
  1316. package/dist/index.es319.js +204 -0
  1317. package/dist/index.es319.js.map +1 -0
  1318. package/dist/index.es320.js +20 -0
  1319. package/dist/index.es320.js.map +1 -0
  1320. package/dist/index.es321.js +30 -0
  1321. package/dist/index.es321.js.map +1 -0
  1322. package/dist/index.es322.js +204 -0
  1323. package/dist/index.es322.js.map +1 -0
  1324. package/dist/index.es323.js +9 -0
  1325. package/dist/index.es323.js.map +1 -0
  1326. package/dist/index.es324.js +89 -0
  1327. package/dist/index.es324.js.map +1 -0
  1328. package/dist/index.es325.js +62 -0
  1329. package/dist/index.es325.js.map +1 -0
  1330. package/dist/index.es326.js +17 -0
  1331. package/dist/index.es326.js.map +1 -0
  1332. package/dist/index.es327.js +107 -0
  1333. package/dist/index.es327.js.map +1 -0
  1334. package/dist/index.es328.js +19 -0
  1335. package/dist/index.es328.js.map +1 -0
  1336. package/dist/index.es329.js +30 -0
  1337. package/dist/index.es329.js.map +1 -0
  1338. package/dist/index.es330.js +132 -0
  1339. package/dist/index.es330.js.map +1 -0
  1340. package/dist/index.es331.js +20 -0
  1341. package/dist/index.es331.js.map +1 -0
  1342. package/dist/index.es332.js +8 -0
  1343. package/dist/index.es332.js.map +1 -0
  1344. package/dist/index.es333.js +69 -0
  1345. package/dist/index.es333.js.map +1 -0
  1346. package/dist/index.es334.js +164 -0
  1347. package/dist/index.es334.js.map +1 -0
  1348. package/dist/index.es335.js +142 -0
  1349. package/dist/index.es335.js.map +1 -0
  1350. package/dist/index.es336.js +31 -0
  1351. package/dist/index.es336.js.map +1 -0
  1352. package/dist/index.es337.js +6 -0
  1353. package/dist/index.es337.js.map +1 -0
  1354. package/dist/index.es338.js +8 -0
  1355. package/dist/index.es338.js.map +1 -0
  1356. package/dist/index.es339.js +73 -0
  1357. package/dist/index.es339.js.map +1 -0
  1358. package/dist/index.es340.js +19 -0
  1359. package/dist/index.es340.js.map +1 -0
  1360. package/dist/index.es341.js +65 -0
  1361. package/dist/index.es341.js.map +1 -0
  1362. package/dist/index.es342.js +47 -0
  1363. package/dist/index.es342.js.map +1 -0
  1364. package/dist/index.es343.js +25 -0
  1365. package/dist/index.es343.js.map +1 -0
  1366. package/dist/index.es344.js +11 -0
  1367. package/dist/index.es344.js.map +1 -0
  1368. package/dist/index.es345.js +40 -0
  1369. package/dist/index.es345.js.map +1 -0
  1370. package/dist/index.es346.js +132 -0
  1371. package/dist/index.es346.js.map +1 -0
  1372. package/dist/index.es347.js +48 -0
  1373. package/dist/index.es347.js.map +1 -0
  1374. package/dist/index.es348.js +223 -0
  1375. package/dist/index.es348.js.map +1 -0
  1376. package/dist/index.es349.js +40 -0
  1377. package/dist/index.es349.js.map +1 -0
  1378. package/dist/index.es350.js +286 -0
  1379. package/dist/index.es350.js.map +1 -0
  1380. package/dist/index.es351.js +63 -0
  1381. package/dist/index.es351.js.map +1 -0
  1382. package/dist/index.es352.js +54 -0
  1383. package/dist/index.es352.js.map +1 -0
  1384. package/dist/index.es353.js +251 -0
  1385. package/dist/index.es353.js.map +1 -0
  1386. package/dist/index.es354.js +30 -0
  1387. package/dist/index.es354.js.map +1 -0
  1388. package/dist/index.es355.js +7 -0
  1389. package/dist/index.es355.js.map +1 -0
  1390. package/dist/index.es356.js +7 -0
  1391. package/dist/index.es356.js.map +1 -0
  1392. package/dist/index.es357.js +28 -0
  1393. package/dist/index.es357.js.map +1 -0
  1394. package/dist/index.es358.js +261 -0
  1395. package/dist/index.es358.js.map +1 -0
  1396. package/dist/index.es359.js +108 -0
  1397. package/dist/index.es359.js.map +1 -0
  1398. package/dist/index.es360.js +206 -0
  1399. package/dist/index.es360.js.map +1 -0
  1400. package/dist/index.es361.js +45 -0
  1401. package/dist/index.es361.js.map +1 -0
  1402. package/dist/index.es362.js +18 -0
  1403. package/dist/index.es362.js.map +1 -0
  1404. package/dist/index.es363.js +11 -0
  1405. package/dist/index.es363.js.map +1 -0
  1406. package/dist/index.es364.js +64 -0
  1407. package/dist/index.es364.js.map +1 -0
  1408. package/dist/index.es365.js +50 -0
  1409. package/dist/index.es365.js.map +1 -0
  1410. package/dist/index.es366.js +45 -0
  1411. package/dist/index.es366.js.map +1 -0
  1412. package/dist/index.es367.js +92 -0
  1413. package/dist/index.es367.js.map +1 -0
  1414. package/dist/index.es368.js +89 -0
  1415. package/dist/index.es368.js.map +1 -0
  1416. package/dist/index.es369.js +57 -0
  1417. package/dist/index.es369.js.map +1 -0
  1418. package/dist/index.es370.js +61 -0
  1419. package/dist/index.es370.js.map +1 -0
  1420. package/dist/index.es371.js +58 -0
  1421. package/dist/index.es371.js.map +1 -0
  1422. package/dist/index.es372.js +147 -0
  1423. package/dist/index.es372.js.map +1 -0
  1424. package/dist/index.es373.js +58 -0
  1425. package/dist/index.es373.js.map +1 -0
  1426. package/dist/index.es374.js +85 -0
  1427. package/dist/index.es374.js.map +1 -0
  1428. package/dist/index.es375.js +9 -0
  1429. package/dist/index.es375.js.map +1 -0
  1430. package/dist/index.es376.js +48 -0
  1431. package/dist/index.es376.js.map +1 -0
  1432. package/dist/index.es377.js +13 -0
  1433. package/dist/index.es377.js.map +1 -0
  1434. package/dist/index.es378.js +35 -0
  1435. package/dist/index.es378.js.map +1 -0
  1436. package/dist/index.es379.js +31 -0
  1437. package/dist/index.es379.js.map +1 -0
  1438. package/dist/index.es38.js +1 -1
  1439. package/dist/index.es380.js +1360 -0
  1440. package/dist/index.es380.js.map +1 -0
  1441. package/dist/index.es381.js +9 -0
  1442. package/dist/index.es381.js.map +1 -0
  1443. package/dist/index.es382.js +12 -0
  1444. package/dist/index.es382.js.map +1 -0
  1445. package/dist/index.es383.js +10 -0
  1446. package/dist/index.es383.js.map +1 -0
  1447. package/dist/index.es384.js +120 -0
  1448. package/dist/index.es384.js.map +1 -0
  1449. package/dist/index.es385.js +105 -0
  1450. package/dist/index.es385.js.map +1 -0
  1451. package/dist/index.es386.js +23 -0
  1452. package/dist/index.es386.js.map +1 -0
  1453. package/dist/index.es387.js +95 -0
  1454. package/dist/index.es387.js.map +1 -0
  1455. package/dist/index.es388.js +68 -0
  1456. package/dist/index.es388.js.map +1 -0
  1457. package/dist/index.es389.js +16 -0
  1458. package/dist/index.es389.js.map +1 -0
  1459. package/dist/index.es39.js +1 -1
  1460. package/dist/index.es390.js +61 -0
  1461. package/dist/index.es390.js.map +1 -0
  1462. package/dist/index.es391.js +55 -0
  1463. package/dist/index.es391.js.map +1 -0
  1464. package/dist/index.es392.js +23 -0
  1465. package/dist/index.es392.js.map +1 -0
  1466. package/dist/index.es393.js +34 -0
  1467. package/dist/index.es393.js.map +1 -0
  1468. package/dist/index.es394.js +47 -0
  1469. package/dist/index.es394.js.map +1 -0
  1470. package/dist/index.es395.js +35 -0
  1471. package/dist/index.es395.js.map +1 -0
  1472. package/dist/index.es396.js +59 -0
  1473. package/dist/index.es396.js.map +1 -0
  1474. package/dist/index.es397.js +62 -0
  1475. package/dist/index.es397.js.map +1 -0
  1476. package/dist/index.es398.js +32 -0
  1477. package/dist/index.es398.js.map +1 -0
  1478. package/dist/index.es399.js +53 -0
  1479. package/dist/index.es399.js.map +1 -0
  1480. package/dist/index.es40.js +2 -2
  1481. package/dist/index.es400.js +128 -0
  1482. package/dist/index.es400.js.map +1 -0
  1483. package/dist/index.es401.js +44 -0
  1484. package/dist/index.es401.js.map +1 -0
  1485. package/dist/index.es402.js +29 -0
  1486. package/dist/index.es402.js.map +1 -0
  1487. package/dist/index.es403.js +37 -0
  1488. package/dist/index.es403.js.map +1 -0
  1489. package/dist/index.es404.js +28 -0
  1490. package/dist/index.es404.js.map +1 -0
  1491. package/dist/index.es405.js +69 -0
  1492. package/dist/index.es405.js.map +1 -0
  1493. package/dist/index.es406.js +49 -0
  1494. package/dist/index.es406.js.map +1 -0
  1495. package/dist/index.es407.js +27 -0
  1496. package/dist/index.es407.js.map +1 -0
  1497. package/dist/index.es408.js +48 -0
  1498. package/dist/index.es408.js.map +1 -0
  1499. package/dist/index.es409.js +19 -0
  1500. package/dist/index.es409.js.map +1 -0
  1501. package/dist/index.es410.js +38 -0
  1502. package/dist/index.es410.js.map +1 -0
  1503. package/dist/index.es411.js +49 -0
  1504. package/dist/index.es411.js.map +1 -0
  1505. package/dist/index.es412.js +35 -0
  1506. package/dist/index.es412.js.map +1 -0
  1507. package/dist/index.es413.js +37 -0
  1508. package/dist/index.es413.js.map +1 -0
  1509. package/dist/index.es414.js +29 -0
  1510. package/dist/index.es414.js.map +1 -0
  1511. package/dist/index.es415.js +68 -0
  1512. package/dist/index.es415.js.map +1 -0
  1513. package/dist/index.es416.js +105 -0
  1514. package/dist/index.es416.js.map +1 -0
  1515. package/dist/index.es417.js +27 -0
  1516. package/dist/index.es417.js.map +1 -0
  1517. package/dist/index.es418.js +111 -0
  1518. package/dist/index.es418.js.map +1 -0
  1519. package/dist/index.es419.js +50 -0
  1520. package/dist/index.es419.js.map +1 -0
  1521. package/dist/index.es42.js +2 -2
  1522. package/dist/index.es420.js +36 -0
  1523. package/dist/index.es420.js.map +1 -0
  1524. package/dist/index.es421.js +56 -0
  1525. package/dist/index.es421.js.map +1 -0
  1526. package/dist/index.es422.js +174 -0
  1527. package/dist/index.es422.js.map +1 -0
  1528. package/dist/index.es423.js +61 -0
  1529. package/dist/index.es423.js.map +1 -0
  1530. package/dist/index.es424.js +62 -0
  1531. package/dist/index.es424.js.map +1 -0
  1532. package/dist/index.es425.js +87 -0
  1533. package/dist/index.es425.js.map +1 -0
  1534. package/dist/index.es426.js +26 -0
  1535. package/dist/index.es426.js.map +1 -0
  1536. package/dist/index.es427.js +56 -0
  1537. package/dist/index.es427.js.map +1 -0
  1538. package/dist/index.es428.js +55 -0
  1539. package/dist/index.es428.js.map +1 -0
  1540. package/dist/index.es429.js +8 -0
  1541. package/dist/index.es429.js.map +1 -0
  1542. package/dist/index.es43.js +2 -2
  1543. package/dist/index.es430.js +8 -0
  1544. package/dist/index.es430.js.map +1 -0
  1545. package/dist/index.es431.js +23 -0
  1546. package/dist/index.es431.js.map +1 -0
  1547. package/dist/index.es432.js +7 -0
  1548. package/dist/index.es432.js.map +1 -0
  1549. package/dist/index.es433.js +11 -0
  1550. package/dist/index.es433.js.map +1 -0
  1551. package/dist/index.es434.js +10 -0
  1552. package/dist/index.es434.js.map +1 -0
  1553. package/dist/index.es435.js +7 -0
  1554. package/dist/index.es435.js.map +1 -0
  1555. package/dist/index.es436.js +5 -0
  1556. package/dist/index.es436.js.map +1 -0
  1557. package/dist/index.es437.js +9 -0
  1558. package/dist/index.es437.js.map +1 -0
  1559. package/dist/index.es438.js +13 -0
  1560. package/dist/index.es438.js.map +1 -0
  1561. package/dist/index.es439.js +8 -0
  1562. package/dist/index.es439.js.map +1 -0
  1563. package/dist/index.es44.js +2 -2
  1564. package/dist/index.es440.js +7 -0
  1565. package/dist/index.es440.js.map +1 -0
  1566. package/dist/index.es441.js +6 -0
  1567. package/dist/index.es441.js.map +1 -0
  1568. package/dist/index.es442.js +7 -0
  1569. package/dist/index.es442.js.map +1 -0
  1570. package/dist/index.es443.js +9 -0
  1571. package/dist/index.es443.js.map +1 -0
  1572. package/dist/index.es444.js +11 -0
  1573. package/dist/index.es444.js.map +1 -0
  1574. package/dist/index.es445.js +8 -0
  1575. package/dist/index.es445.js.map +1 -0
  1576. package/dist/index.es446.js +10 -0
  1577. package/dist/index.es446.js.map +1 -0
  1578. package/dist/index.es447.js +9 -0
  1579. package/dist/index.es447.js.map +1 -0
  1580. package/dist/index.es448.js +12 -0
  1581. package/dist/index.es448.js.map +1 -0
  1582. package/dist/index.es449.js +8 -0
  1583. package/dist/index.es449.js.map +1 -0
  1584. package/dist/index.es450.js +10 -0
  1585. package/dist/index.es450.js.map +1 -0
  1586. package/dist/index.es451.js +10 -0
  1587. package/dist/index.es451.js.map +1 -0
  1588. package/dist/index.es452.js +8 -0
  1589. package/dist/index.es452.js.map +1 -0
  1590. package/dist/index.es453.js +13 -0
  1591. package/dist/index.es453.js.map +1 -0
  1592. package/dist/index.es454.js +10 -0
  1593. package/dist/index.es454.js.map +1 -0
  1594. package/dist/index.es455.js +21 -0
  1595. package/dist/index.es455.js.map +1 -0
  1596. package/dist/index.es456.js +15 -0
  1597. package/dist/index.es456.js.map +1 -0
  1598. package/dist/index.es457.js +7 -0
  1599. package/dist/index.es457.js.map +1 -0
  1600. package/dist/index.es458.js +9 -0
  1601. package/dist/index.es458.js.map +1 -0
  1602. package/dist/index.es459.js +19 -0
  1603. package/dist/index.es459.js.map +1 -0
  1604. package/dist/index.es46.js +1 -1
  1605. package/dist/index.es460.js +11 -0
  1606. package/dist/index.es460.js.map +1 -0
  1607. package/dist/index.es461.js +44 -0
  1608. package/dist/index.es461.js.map +1 -0
  1609. package/dist/index.es462.js +80 -0
  1610. package/dist/index.es462.js.map +1 -0
  1611. package/dist/index.es463.js +108 -0
  1612. package/dist/index.es463.js.map +1 -0
  1613. package/dist/index.es464.js +34 -0
  1614. package/dist/index.es464.js.map +1 -0
  1615. package/dist/index.es465.js +25 -0
  1616. package/dist/index.es465.js.map +1 -0
  1617. package/dist/index.es466.js +14 -0
  1618. package/dist/index.es466.js.map +1 -0
  1619. package/dist/index.es467.js +721 -0
  1620. package/dist/index.es467.js.map +1 -0
  1621. package/dist/index.es468.js +26 -0
  1622. package/dist/index.es468.js.map +1 -0
  1623. package/dist/index.es469.js +24 -0
  1624. package/dist/index.es469.js.map +1 -0
  1625. package/dist/index.es47.js +2 -2
  1626. package/dist/index.es470.js +178 -0
  1627. package/dist/index.es470.js.map +1 -0
  1628. package/dist/index.es471.js +24 -0
  1629. package/dist/index.es471.js.map +1 -0
  1630. package/dist/index.es472.js +241 -0
  1631. package/dist/index.es472.js.map +1 -0
  1632. package/dist/index.es473.js +11 -0
  1633. package/dist/index.es473.js.map +1 -0
  1634. package/dist/index.es474.js +13 -0
  1635. package/dist/index.es474.js.map +1 -0
  1636. package/dist/index.es475.js +9 -0
  1637. package/dist/index.es475.js.map +1 -0
  1638. package/dist/index.es476.js +18 -0
  1639. package/dist/index.es476.js.map +1 -0
  1640. package/dist/index.es477.js +26 -0
  1641. package/dist/index.es477.js.map +1 -0
  1642. package/dist/index.es478.js +12 -0
  1643. package/dist/index.es478.js.map +1 -0
  1644. package/dist/index.es479.js +8 -0
  1645. package/dist/index.es479.js.map +1 -0
  1646. package/dist/index.es48.js +2 -2
  1647. package/dist/index.es480.js +118 -0
  1648. package/dist/index.es480.js.map +1 -0
  1649. package/dist/index.es481.js +90 -0
  1650. package/dist/index.es481.js.map +1 -0
  1651. package/dist/index.es482.js +78 -0
  1652. package/dist/index.es482.js.map +1 -0
  1653. package/dist/index.es483.js +13 -0
  1654. package/dist/index.es483.js.map +1 -0
  1655. package/dist/index.es484.js +158 -0
  1656. package/dist/index.es484.js.map +1 -0
  1657. package/dist/index.es485.js +160 -0
  1658. package/dist/index.es485.js.map +1 -0
  1659. package/dist/index.es486.js +18 -0
  1660. package/dist/index.es486.js.map +1 -0
  1661. package/dist/index.es487.js +19 -0
  1662. package/dist/index.es487.js.map +1 -0
  1663. package/dist/index.es488.js +9 -0
  1664. package/dist/index.es488.js.map +1 -0
  1665. package/dist/index.es489.js +10 -0
  1666. package/dist/index.es489.js.map +1 -0
  1667. package/dist/index.es490.js +10 -0
  1668. package/dist/index.es490.js.map +1 -0
  1669. package/dist/index.es491.js +29 -0
  1670. package/dist/index.es491.js.map +1 -0
  1671. package/dist/index.es492.js +9 -0
  1672. package/dist/index.es492.js.map +1 -0
  1673. package/dist/index.es493.js +43 -0
  1674. package/dist/index.es493.js.map +1 -0
  1675. package/dist/index.es494.js +10 -0
  1676. package/dist/index.es494.js.map +1 -0
  1677. package/dist/index.es495.js +11 -0
  1678. package/dist/index.es495.js.map +1 -0
  1679. package/dist/index.es496.js +9 -0
  1680. package/dist/index.es496.js.map +1 -0
  1681. package/dist/index.es497.js +9 -0
  1682. package/dist/index.es497.js.map +1 -0
  1683. package/dist/index.es498.js +6 -0
  1684. package/dist/index.es498.js.map +1 -0
  1685. package/dist/index.es499.js +42 -0
  1686. package/dist/index.es499.js.map +1 -0
  1687. package/dist/index.es50.js +1 -1
  1688. package/dist/index.es500.js +6 -0
  1689. package/dist/index.es500.js.map +1 -0
  1690. package/dist/index.es501.js +16 -0
  1691. package/dist/index.es501.js.map +1 -0
  1692. package/dist/index.es502.js +8 -0
  1693. package/dist/index.es502.js.map +1 -0
  1694. package/dist/index.es503.js +12 -0
  1695. package/dist/index.es503.js.map +1 -0
  1696. package/dist/index.es504.js +5 -0
  1697. package/dist/index.es504.js.map +1 -0
  1698. package/dist/index.es505.js +33 -0
  1699. package/dist/index.es505.js.map +1 -0
  1700. package/dist/index.es506.js +19 -0
  1701. package/dist/index.es506.js.map +1 -0
  1702. package/dist/index.es507.js +8 -0
  1703. package/dist/index.es507.js.map +1 -0
  1704. package/dist/index.es508.js +6 -0
  1705. package/dist/index.es508.js.map +1 -0
  1706. package/dist/index.es509.js +9 -0
  1707. package/dist/index.es509.js.map +1 -0
  1708. package/dist/index.es51.js +1 -1
  1709. package/dist/index.es510.js +9 -0
  1710. package/dist/index.es510.js.map +1 -0
  1711. package/dist/index.es511.js +9 -0
  1712. package/dist/index.es511.js.map +1 -0
  1713. package/dist/index.es512.js +7 -0
  1714. package/dist/index.es512.js.map +1 -0
  1715. package/dist/index.es513.js +7 -0
  1716. package/dist/index.es513.js.map +1 -0
  1717. package/dist/index.es514.js +7 -0
  1718. package/dist/index.es514.js.map +1 -0
  1719. package/dist/index.es515.js +7 -0
  1720. package/dist/index.es515.js.map +1 -0
  1721. package/dist/index.es516.js +7 -0
  1722. package/dist/index.es516.js.map +1 -0
  1723. package/dist/index.es517.js +18 -0
  1724. package/dist/index.es517.js.map +1 -0
  1725. package/dist/index.es518.js +11 -0
  1726. package/dist/index.es518.js.map +1 -0
  1727. package/dist/index.es519.js +7 -0
  1728. package/dist/index.es519.js.map +1 -0
  1729. package/dist/index.es52.js +1 -1
  1730. package/dist/index.es520.js +15 -0
  1731. package/dist/index.es520.js.map +1 -0
  1732. package/dist/index.es521.js +9 -0
  1733. package/dist/index.es521.js.map +1 -0
  1734. package/dist/index.es522.js +7 -0
  1735. package/dist/index.es522.js.map +1 -0
  1736. package/dist/index.es523.js +8 -0
  1737. package/dist/index.es523.js.map +1 -0
  1738. package/dist/index.es524.js +9 -0
  1739. package/dist/index.es524.js.map +1 -0
  1740. package/dist/index.es525.js +10 -0
  1741. package/dist/index.es525.js.map +1 -0
  1742. package/dist/index.es526.js +9 -0
  1743. package/dist/index.es526.js.map +1 -0
  1744. package/dist/index.es527.js +9 -0
  1745. package/dist/index.es527.js.map +1 -0
  1746. package/dist/index.es528.js +11 -0
  1747. package/dist/index.es528.js.map +1 -0
  1748. package/dist/index.es529.js +14 -0
  1749. package/dist/index.es529.js.map +1 -0
  1750. package/dist/index.es530.js +28 -0
  1751. package/dist/index.es530.js.map +1 -0
  1752. package/dist/index.es531.js +8 -0
  1753. package/dist/index.es531.js.map +1 -0
  1754. package/dist/index.es532.js +9 -0
  1755. package/dist/index.es532.js.map +1 -0
  1756. package/dist/index.es533.js +11 -0
  1757. package/dist/index.es533.js.map +1 -0
  1758. package/dist/index.es534.js +7 -0
  1759. package/dist/index.es534.js.map +1 -0
  1760. package/dist/index.es535.js +7 -0
  1761. package/dist/index.es535.js.map +1 -0
  1762. package/dist/index.es536.js +7 -0
  1763. package/dist/index.es536.js.map +1 -0
  1764. package/dist/index.es537.js +7 -0
  1765. package/dist/index.es537.js.map +1 -0
  1766. package/dist/index.es538.js +7 -0
  1767. package/dist/index.es538.js.map +1 -0
  1768. package/dist/index.es539.js +8 -0
  1769. package/dist/index.es539.js.map +1 -0
  1770. package/dist/index.es540.js +9 -0
  1771. package/dist/index.es540.js.map +1 -0
  1772. package/dist/index.es541.js +12 -0
  1773. package/dist/index.es541.js.map +1 -0
  1774. package/dist/index.es542.js +8 -0
  1775. package/dist/index.es542.js.map +1 -0
  1776. package/dist/index.es543.js +9 -0
  1777. package/dist/index.es543.js.map +1 -0
  1778. package/dist/index.es544.js +8 -0
  1779. package/dist/index.es544.js.map +1 -0
  1780. package/dist/index.es545.js +7 -0
  1781. package/dist/index.es545.js.map +1 -0
  1782. package/dist/index.es546.js +14 -0
  1783. package/dist/index.es546.js.map +1 -0
  1784. package/dist/index.es547.js +34 -0
  1785. package/dist/index.es547.js.map +1 -0
  1786. package/dist/index.es548.js +83 -0
  1787. package/dist/index.es548.js.map +1 -0
  1788. package/dist/index.es549.js +20 -0
  1789. package/dist/index.es549.js.map +1 -0
  1790. package/dist/index.es550.js +50 -0
  1791. package/dist/index.es550.js.map +1 -0
  1792. package/dist/index.es551.js +227 -0
  1793. package/dist/index.es551.js.map +1 -0
  1794. package/dist/index.es552.js +21 -0
  1795. package/dist/index.es552.js.map +1 -0
  1796. package/dist/index.es553.js +14 -0
  1797. package/dist/index.es553.js.map +1 -0
  1798. package/dist/index.es554.js +9 -0
  1799. package/dist/index.es554.js.map +1 -0
  1800. package/dist/index.es555.js +8 -0
  1801. package/dist/index.es555.js.map +1 -0
  1802. package/dist/index.es556.js +8 -0
  1803. package/dist/index.es556.js.map +1 -0
  1804. package/dist/index.es557.js +9 -0
  1805. package/dist/index.es557.js.map +1 -0
  1806. package/dist/index.es558.js +10 -0
  1807. package/dist/index.es558.js.map +1 -0
  1808. package/dist/index.es559.js +10 -0
  1809. package/dist/index.es559.js.map +1 -0
  1810. package/dist/index.es56.js +2 -2
  1811. package/dist/index.es560.js +10 -0
  1812. package/dist/index.es560.js.map +1 -0
  1813. package/dist/index.es561.js +10 -0
  1814. package/dist/index.es561.js.map +1 -0
  1815. package/dist/index.es562.js +17 -0
  1816. package/dist/index.es562.js.map +1 -0
  1817. package/dist/index.es563.js +12 -0
  1818. package/dist/index.es563.js.map +1 -0
  1819. package/dist/index.es564.js +3029 -0
  1820. package/dist/index.es564.js.map +1 -0
  1821. package/dist/index.es565.js +5 -0
  1822. package/dist/index.es565.js.map +1 -0
  1823. package/dist/index.es566.js +11 -0
  1824. package/dist/index.es566.js.map +1 -0
  1825. package/dist/index.es567.js +10 -0
  1826. package/dist/index.es567.js.map +1 -0
  1827. package/dist/index.es568.js +21 -0
  1828. package/dist/index.es568.js.map +1 -0
  1829. package/dist/index.es569.js +14 -0
  1830. package/dist/index.es569.js.map +1 -0
  1831. package/dist/index.es57.js +3 -3
  1832. package/dist/index.es570.js +8 -0
  1833. package/dist/index.es570.js.map +1 -0
  1834. package/dist/index.es571.js +7 -0
  1835. package/dist/index.es571.js.map +1 -0
  1836. package/dist/index.es572.js +7 -0
  1837. package/dist/index.es572.js.map +1 -0
  1838. package/dist/index.es573.js +21 -0
  1839. package/dist/index.es573.js.map +1 -0
  1840. package/dist/index.es574.js +8 -0
  1841. package/dist/index.es574.js.map +1 -0
  1842. package/dist/index.es575.js +8 -0
  1843. package/dist/index.es575.js.map +1 -0
  1844. package/dist/index.es576.js +7 -0
  1845. package/dist/index.es576.js.map +1 -0
  1846. package/dist/index.es577.js +7 -0
  1847. package/dist/index.es577.js.map +1 -0
  1848. package/dist/index.es578.js +18 -0
  1849. package/dist/index.es578.js.map +1 -0
  1850. package/dist/index.es579.js +10 -0
  1851. package/dist/index.es579.js.map +1 -0
  1852. package/dist/index.es58.js +1 -1
  1853. package/dist/index.es580.js +11 -0
  1854. package/dist/index.es580.js.map +1 -0
  1855. package/dist/index.es581.js +9 -0
  1856. package/dist/index.es581.js.map +1 -0
  1857. package/dist/index.es582.js +9 -0
  1858. package/dist/index.es582.js.map +1 -0
  1859. package/dist/index.es583.js +9 -0
  1860. package/dist/index.es583.js.map +1 -0
  1861. package/dist/index.es584.js +9 -0
  1862. package/dist/index.es584.js.map +1 -0
  1863. package/dist/index.es585.js +9 -0
  1864. package/dist/index.es585.js.map +1 -0
  1865. package/dist/index.es586.js +9 -0
  1866. package/dist/index.es586.js.map +1 -0
  1867. package/dist/index.es587.js +10 -0
  1868. package/dist/index.es587.js.map +1 -0
  1869. package/dist/index.es588.js +41 -0
  1870. package/dist/index.es588.js.map +1 -0
  1871. package/dist/index.es589.js +46 -0
  1872. package/dist/index.es589.js.map +1 -0
  1873. package/dist/index.es590.js +37 -0
  1874. package/dist/index.es590.js.map +1 -0
  1875. package/dist/index.es591.js +8 -0
  1876. package/dist/index.es591.js.map +1 -0
  1877. package/dist/index.es592.js +8 -0
  1878. package/dist/index.es592.js.map +1 -0
  1879. package/dist/index.es593.js +7 -0
  1880. package/dist/index.es593.js.map +1 -0
  1881. package/dist/index.es594.js +21 -0
  1882. package/dist/index.es594.js.map +1 -0
  1883. package/dist/index.es595.js +9 -0
  1884. package/dist/index.es595.js.map +1 -0
  1885. package/dist/index.es596.js +47 -0
  1886. package/dist/index.es596.js.map +1 -0
  1887. package/dist/index.es597.js +6 -0
  1888. package/dist/index.es597.js.map +1 -0
  1889. package/dist/index.es598.js +25 -0
  1890. package/dist/index.es598.js.map +1 -0
  1891. package/dist/index.es599.js +37 -0
  1892. package/dist/index.es599.js.map +1 -0
  1893. package/dist/index.es60.js +1 -1
  1894. package/dist/index.es600.js +174 -0
  1895. package/dist/index.es600.js.map +1 -0
  1896. package/dist/index.es601.js +31 -0
  1897. package/dist/index.es601.js.map +1 -0
  1898. package/dist/index.es602.js +7 -0
  1899. package/dist/index.es602.js.map +1 -0
  1900. package/dist/index.es603.js +13 -0
  1901. package/dist/index.es603.js.map +1 -0
  1902. package/dist/index.es604.js +9 -0
  1903. package/dist/index.es604.js.map +1 -0
  1904. package/dist/index.es605.js +8 -0
  1905. package/dist/index.es605.js.map +1 -0
  1906. package/dist/index.es606.js +9 -0
  1907. package/dist/index.es606.js.map +1 -0
  1908. package/dist/index.es607.js +6 -0
  1909. package/dist/index.es607.js.map +1 -0
  1910. package/dist/index.es608.js +7 -0
  1911. package/dist/index.es608.js.map +1 -0
  1912. package/dist/index.es609.js +8 -0
  1913. package/dist/index.es609.js.map +1 -0
  1914. package/dist/index.es61.js +1 -1
  1915. package/dist/index.es610.js +8 -0
  1916. package/dist/index.es610.js.map +1 -0
  1917. package/dist/index.es611.js +14 -0
  1918. package/dist/index.es611.js.map +1 -0
  1919. package/dist/index.es612.js +10 -0
  1920. package/dist/index.es612.js.map +1 -0
  1921. package/dist/index.es613.js +10 -0
  1922. package/dist/index.es613.js.map +1 -0
  1923. package/dist/index.es614.js +8 -0
  1924. package/dist/index.es614.js.map +1 -0
  1925. package/dist/index.es615.js +215 -0
  1926. package/dist/index.es615.js.map +1 -0
  1927. package/dist/index.es616.js +246 -0
  1928. package/dist/index.es616.js.map +1 -0
  1929. package/dist/index.es617.js +39 -0
  1930. package/dist/index.es617.js.map +1 -0
  1931. package/dist/index.es618.js +18 -0
  1932. package/dist/index.es618.js.map +1 -0
  1933. package/dist/index.es619.js +567 -0
  1934. package/dist/index.es619.js.map +1 -0
  1935. package/dist/index.es620.js +59 -0
  1936. package/dist/index.es620.js.map +1 -0
  1937. package/dist/index.es621.js +338 -0
  1938. package/dist/index.es621.js.map +1 -0
  1939. package/dist/index.es622.js +1103 -0
  1940. package/dist/index.es622.js.map +1 -0
  1941. package/dist/index.es623.js +41 -0
  1942. package/dist/index.es623.js.map +1 -0
  1943. package/dist/index.es624.js +39 -0
  1944. package/dist/index.es624.js.map +1 -0
  1945. package/dist/index.es625.js +51 -0
  1946. package/dist/index.es625.js.map +1 -0
  1947. package/dist/index.es626.js +65 -0
  1948. package/dist/index.es626.js.map +1 -0
  1949. package/dist/index.es627.js +11 -0
  1950. package/dist/index.es627.js.map +1 -0
  1951. package/dist/index.es628.js +6 -0
  1952. package/dist/index.es628.js.map +1 -0
  1953. package/dist/index.es629.js +298 -0
  1954. package/dist/index.es629.js.map +1 -0
  1955. package/dist/index.es63.js +1 -1
  1956. package/dist/index.es630.js +27 -0
  1957. package/dist/index.es630.js.map +1 -0
  1958. package/dist/index.es631.js +53 -0
  1959. package/dist/index.es631.js.map +1 -0
  1960. package/dist/index.es632.js +9 -0
  1961. package/dist/index.es632.js.map +1 -0
  1962. package/dist/index.es67.js +10 -6
  1963. package/dist/index.es67.js.map +1 -1
  1964. package/dist/index.es68.js +163 -13731
  1965. package/dist/index.es68.js.map +1 -1
  1966. package/dist/index.es69.js +1 -1
  1967. package/dist/index.es69.js.map +1 -1
  1968. package/dist/index.es70.js.map +1 -1
  1969. package/dist/index.es71.js +1 -1
  1970. package/dist/index.es71.js.map +1 -1
  1971. package/dist/index.es72.js +1 -1
  1972. package/dist/index.es72.js.map +1 -1
  1973. package/dist/index.es73.js +6 -6
  1974. package/dist/index.es73.js.map +1 -1
  1975. package/dist/index.es74.js +1 -1
  1976. package/dist/index.es74.js.map +1 -1
  1977. package/dist/index.es75.js +4 -4
  1978. package/dist/index.es75.js.map +1 -1
  1979. package/dist/index.es76.js +10 -10
  1980. package/dist/index.es76.js.map +1 -1
  1981. package/dist/index.es77.js +1 -1
  1982. package/dist/index.es77.js.map +1 -1
  1983. package/dist/index.es78.js.map +1 -1
  1984. package/dist/index.es93.js +1 -1
  1985. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs210.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/maplibre/maplibre.js"],"sourcesContent":["import { transformToViewState, applyViewStateToTransform } from \"../utils/transform.js\";\nimport { normalizeStyle } from \"../utils/style-utils.js\";\nimport { deepEqual } from \"../utils/deep-equal.js\";\nconst DEFAULT_STYLE = { version: 8, sources: {}, layers: [] };\nconst pointerEvents = {\n mousedown: 'onMouseDown',\n mouseup: 'onMouseUp',\n mouseover: 'onMouseOver',\n mousemove: 'onMouseMove',\n click: 'onClick',\n dblclick: 'onDblClick',\n mouseenter: 'onMouseEnter',\n mouseleave: 'onMouseLeave',\n mouseout: 'onMouseOut',\n contextmenu: 'onContextMenu',\n touchstart: 'onTouchStart',\n touchend: 'onTouchEnd',\n touchmove: 'onTouchMove',\n touchcancel: 'onTouchCancel'\n};\nconst cameraEvents = {\n movestart: 'onMoveStart',\n move: 'onMove',\n moveend: 'onMoveEnd',\n dragstart: 'onDragStart',\n drag: 'onDrag',\n dragend: 'onDragEnd',\n zoomstart: 'onZoomStart',\n zoom: 'onZoom',\n zoomend: 'onZoomEnd',\n rotatestart: 'onRotateStart',\n rotate: 'onRotate',\n rotateend: 'onRotateEnd',\n pitchstart: 'onPitchStart',\n pitch: 'onPitch',\n pitchend: 'onPitchEnd'\n};\nconst otherEvents = {\n wheel: 'onWheel',\n boxzoomstart: 'onBoxZoomStart',\n boxzoomend: 'onBoxZoomEnd',\n boxzoomcancel: 'onBoxZoomCancel',\n resize: 'onResize',\n load: 'onLoad',\n render: 'onRender',\n idle: 'onIdle',\n remove: 'onRemove',\n data: 'onData',\n styledata: 'onStyleData',\n sourcedata: 'onSourceData',\n error: 'onError'\n};\nconst settingNames = [\n 'minZoom',\n 'maxZoom',\n 'minPitch',\n 'maxPitch',\n 'maxBounds',\n 'projection',\n 'renderWorldCopies'\n];\nconst handlerNames = [\n 'scrollZoom',\n 'boxZoom',\n 'dragRotate',\n 'dragPan',\n 'keyboard',\n 'doubleClickZoom',\n 'touchZoomRotate',\n 'touchPitch'\n];\n/**\n * A wrapper for mapbox-gl's Map class\n */\nclass Maplibre {\n constructor(MapClass, props, container) {\n // mapboxgl.Map instance\n this._map = null;\n // Internal states\n this._internalUpdate = false;\n this._hoveredFeatures = null;\n this._propsedCameraUpdate = null;\n this._styleComponents = {};\n this._onEvent = (e) => {\n // @ts-ignore\n const cb = this.props[otherEvents[e.type]];\n if (cb) {\n cb(e);\n }\n else if (e.type === 'error') {\n console.error(e.error); // eslint-disable-line\n }\n };\n this._onCameraEvent = (e) => {\n if (this._internalUpdate) {\n return;\n }\n e.viewState = this._propsedCameraUpdate || transformToViewState(this._map.transform);\n // @ts-ignore\n const cb = this.props[cameraEvents[e.type]];\n if (cb) {\n cb(e);\n }\n };\n this._onCameraUpdate = (tr) => {\n if (this._internalUpdate) {\n return tr;\n }\n this._propsedCameraUpdate = transformToViewState(tr);\n return applyViewStateToTransform(tr, this.props);\n };\n this._onPointerEvent = (e) => {\n if (e.type === 'mousemove' || e.type === 'mouseout') {\n this._updateHover(e);\n }\n // @ts-ignore\n const cb = this.props[pointerEvents[e.type]];\n if (cb) {\n if (this.props.interactiveLayerIds && e.type !== 'mouseover' && e.type !== 'mouseout') {\n e.features = this._hoveredFeatures || this._queryRenderedFeatures(e.point);\n }\n cb(e);\n delete e.features;\n }\n };\n this._MapClass = MapClass;\n this.props = props;\n this._initialize(container);\n }\n get map() {\n return this._map;\n }\n setProps(props) {\n const oldProps = this.props;\n this.props = props;\n const settingsChanged = this._updateSettings(props, oldProps);\n const sizeChanged = this._updateSize(props);\n const viewStateChanged = this._updateViewState(props);\n this._updateStyle(props, oldProps);\n this._updateStyleComponents(props);\n this._updateHandlers(props, oldProps);\n // If 1) view state has changed to match props and\n // 2) the props change is not triggered by map events,\n // it's driven by an external state change. Redraw immediately\n if (settingsChanged || sizeChanged || (viewStateChanged && !this._map.isMoving())) {\n this.redraw();\n }\n }\n static reuse(props, container) {\n const that = Maplibre.savedMaps.pop();\n if (!that) {\n return null;\n }\n const map = that.map;\n // When reusing the saved map, we need to reparent the map(canvas) and other child nodes\n // intoto the new container from the props.\n // Step 1: reparenting child nodes from old container to new container\n const oldContainer = map.getContainer();\n container.className = oldContainer.className;\n while (oldContainer.childNodes.length > 0) {\n container.appendChild(oldContainer.childNodes[0]);\n }\n // Step 2: replace the internal container with new container from the react component\n // @ts-ignore\n map._container = container;\n // With maplibre-gl as mapLib, map uses ResizeObserver to observe when its container resizes.\n // When reusing the saved map, we need to disconnect the observer and observe the new container.\n // Step 3: telling the ResizeObserver to disconnect and observe the new container\n // @ts-ignore\n const resizeObserver = map._resizeObserver;\n if (resizeObserver) {\n resizeObserver.disconnect();\n resizeObserver.observe(container);\n }\n // Step 4: apply new props\n that.setProps({ ...props, styleDiffing: false });\n map.resize();\n const { initialViewState } = props;\n if (initialViewState) {\n if (initialViewState.bounds) {\n map.fitBounds(initialViewState.bounds, { ...initialViewState.fitBoundsOptions, duration: 0 });\n }\n else {\n that._updateViewState(initialViewState);\n }\n }\n // Simulate load event\n if (map.isStyleLoaded()) {\n map.fire('load');\n }\n else {\n map.once('style.load', () => map.fire('load'));\n }\n // Force reload\n // @ts-ignore\n map._update();\n return that;\n }\n /* eslint-disable complexity,max-statements */\n _initialize(container) {\n const { props } = this;\n const { mapStyle = DEFAULT_STYLE } = props;\n const mapOptions = {\n ...props,\n ...props.initialViewState,\n container,\n style: normalizeStyle(mapStyle)\n };\n const viewState = mapOptions.initialViewState || mapOptions.viewState || mapOptions;\n Object.assign(mapOptions, {\n center: [viewState.longitude || 0, viewState.latitude || 0],\n zoom: viewState.zoom || 0,\n pitch: viewState.pitch || 0,\n bearing: viewState.bearing || 0\n });\n if (props.gl) {\n // eslint-disable-next-line\n const getContext = HTMLCanvasElement.prototype.getContext;\n // Hijack canvas.getContext to return our own WebGLContext\n // This will be called inside the mapboxgl.Map constructor\n // @ts-expect-error\n HTMLCanvasElement.prototype.getContext = () => {\n // Unhijack immediately\n HTMLCanvasElement.prototype.getContext = getContext;\n return props.gl;\n };\n }\n const map = new this._MapClass(mapOptions);\n // Props that are not part of constructor options\n if (viewState.padding) {\n map.setPadding(viewState.padding);\n }\n if (props.cursor) {\n map.getCanvas().style.cursor = props.cursor;\n }\n // add listeners\n map.transformCameraUpdate = this._onCameraUpdate;\n map.on('style.load', () => {\n // Map style has changed, this would have wiped out all settings from props\n this._styleComponents = {\n light: map.getLight(),\n sky: map.getSky(),\n // @ts-ignore getProjection() does not exist in v4\n projection: map.getProjection?.(),\n terrain: map.getTerrain()\n };\n this._updateStyleComponents(this.props);\n });\n map.on('sourcedata', () => {\n // Some sources have loaded, we may need them to attach terrain\n this._updateStyleComponents(this.props);\n });\n for (const eventName in pointerEvents) {\n map.on(eventName, this._onPointerEvent);\n }\n for (const eventName in cameraEvents) {\n map.on(eventName, this._onCameraEvent);\n }\n for (const eventName in otherEvents) {\n map.on(eventName, this._onEvent);\n }\n this._map = map;\n }\n /* eslint-enable complexity,max-statements */\n recycle() {\n // Clean up unnecessary elements before storing for reuse.\n const container = this.map.getContainer();\n const children = container.querySelector('[mapboxgl-children]');\n children?.remove();\n Maplibre.savedMaps.push(this);\n }\n destroy() {\n this._map.remove();\n }\n // Force redraw the map now. Typically resize() and jumpTo() is reflected in the next\n // render cycle, which is managed by Mapbox's animation loop.\n // This removes the synchronization issue caused by requestAnimationFrame.\n redraw() {\n const map = this._map;\n // map._render will throw error if style does not exist\n // https://github.com/mapbox/mapbox-gl-js/blob/fb9fc316da14e99ff4368f3e4faa3888fb43c513\n // /src/ui/map.js#L1834\n if (map.style) {\n // cancel the scheduled update\n if (map._frame) {\n map._frame.cancel();\n map._frame = null;\n }\n // the order is important - render() may schedule another update\n map._render();\n }\n }\n /* Trigger map resize if size is controlled\n @param {object} nextProps\n @returns {bool} true if size has changed\n */\n _updateSize(nextProps) {\n // Check if size is controlled\n const { viewState } = nextProps;\n if (viewState) {\n const map = this._map;\n if (viewState.width !== map.transform.width || viewState.height !== map.transform.height) {\n map.resize();\n return true;\n }\n }\n return false;\n }\n // Adapted from map.jumpTo\n /* Update camera to match props\n @param {object} nextProps\n @param {bool} triggerEvents - should fire camera events\n @returns {bool} true if anything is changed\n */\n _updateViewState(nextProps) {\n const map = this._map;\n const tr = map.transform;\n const isMoving = map.isMoving();\n // Avoid manipulating the real transform when interaction/animation is ongoing\n // as it would interfere with Mapbox's handlers\n if (!isMoving) {\n const changes = applyViewStateToTransform(tr, nextProps);\n if (Object.keys(changes).length > 0) {\n this._internalUpdate = true;\n map.jumpTo(changes);\n this._internalUpdate = false;\n return true;\n }\n }\n return false;\n }\n /* Update camera constraints and projection settings to match props\n @param {object} nextProps\n @param {object} currProps\n @returns {bool} true if anything is changed\n */\n _updateSettings(nextProps, currProps) {\n const map = this._map;\n let changed = false;\n for (const propName of settingNames) {\n if (propName in nextProps && !deepEqual(nextProps[propName], currProps[propName])) {\n changed = true;\n const setter = map[`set${propName[0].toUpperCase()}${propName.slice(1)}`];\n setter?.call(map, nextProps[propName]);\n }\n }\n return changed;\n }\n /* Update map style to match props */\n _updateStyle(nextProps, currProps) {\n if (nextProps.cursor !== currProps.cursor) {\n this._map.getCanvas().style.cursor = nextProps.cursor || '';\n }\n if (nextProps.mapStyle !== currProps.mapStyle) {\n const { mapStyle = DEFAULT_STYLE, styleDiffing = true } = nextProps;\n const options = {\n diff: styleDiffing\n };\n if ('localIdeographFontFamily' in nextProps) {\n // @ts-ignore Mapbox specific prop\n options.localIdeographFontFamily = nextProps.localIdeographFontFamily;\n }\n this._map.setStyle(normalizeStyle(mapStyle), options);\n }\n }\n /* Update fog, light, projection and terrain to match props\n * These props are special because\n * 1. They can not be applied right away. Certain conditions (style loaded, source loaded, etc.) must be met\n * 2. They can be overwritten by mapStyle\n */\n _updateStyleComponents({ light, projection, sky, terrain }) {\n const map = this._map;\n const currProps = this._styleComponents;\n // We can safely manipulate map style once it's loaded\n if (map.style._loaded) {\n if (light && !deepEqual(light, currProps.light)) {\n currProps.light = light;\n map.setLight(light);\n }\n if (projection &&\n !deepEqual(projection, currProps.projection) &&\n projection !== currProps.projection?.type) {\n currProps.projection = typeof projection === 'string' ? { type: projection } : projection;\n // @ts-ignore setProjection does not exist in v4\n map.setProjection?.(currProps.projection);\n }\n if (sky && !deepEqual(sky, currProps.sky)) {\n currProps.sky = sky;\n map.setSky(sky);\n }\n if (terrain !== undefined && !deepEqual(terrain, currProps.terrain)) {\n if (!terrain || map.getSource(terrain.source)) {\n currProps.terrain = terrain;\n map.setTerrain(terrain);\n }\n }\n }\n }\n /* Update interaction handlers to match props */\n _updateHandlers(nextProps, currProps) {\n const map = this._map;\n for (const propName of handlerNames) {\n const newValue = nextProps[propName] ?? true;\n const oldValue = currProps[propName] ?? true;\n if (!deepEqual(newValue, oldValue)) {\n if (newValue) {\n map[propName].enable(newValue);\n }\n else {\n map[propName].disable();\n }\n }\n }\n }\n _queryRenderedFeatures(point) {\n const map = this._map;\n const { interactiveLayerIds = [] } = this.props;\n try {\n return map.queryRenderedFeatures(point, {\n layers: interactiveLayerIds.filter(map.getLayer.bind(map))\n });\n }\n catch {\n // May fail if style is not loaded\n return [];\n }\n }\n _updateHover(e) {\n const { props } = this;\n const shouldTrackHoveredFeatures = props.interactiveLayerIds && (props.onMouseMove || props.onMouseEnter || props.onMouseLeave);\n if (shouldTrackHoveredFeatures) {\n const eventType = e.type;\n const wasHovering = this._hoveredFeatures?.length > 0;\n const features = this._queryRenderedFeatures(e.point);\n const isHovering = features.length > 0;\n if (!isHovering && wasHovering) {\n e.type = 'mouseleave';\n this._onPointerEvent(e);\n }\n this._hoveredFeatures = features;\n if (isHovering && !wasHovering) {\n e.type = 'mouseenter';\n this._onPointerEvent(e);\n }\n e.type = eventType;\n }\n else {\n this._hoveredFeatures = null;\n }\n }\n}\nMaplibre.savedMaps = [];\nexport default Maplibre;\n//# sourceMappingURL=maplibre.js.map"],"names":["DEFAULT_STYLE","pointerEvents","cameraEvents","otherEvents","settingNames","handlerNames","Maplibre","MapClass","props","container","cb","transformToViewState","tr","applyViewStateToTransform","oldProps","settingsChanged","sizeChanged","viewStateChanged","that","map","oldContainer","resizeObserver","initialViewState","mapStyle","mapOptions","normalizeStyle","viewState","getContext","eventName","nextProps","changes","currProps","changed","propName","deepEqual","styleDiffing","options","light","projection","sky","terrain","newValue","oldValue","point","interactiveLayerIds","e","eventType","wasHovering","features","isHovering"],"mappings":"gHAGMA,EAAgB,CAAE,QAAS,EAAG,QAAS,CAAA,EAAI,OAAQ,EAAC,EACpDC,EAAgB,CAClB,UAAW,cACX,QAAS,YACT,UAAW,cACX,UAAW,cACX,MAAO,UACP,SAAU,aACV,WAAY,eACZ,WAAY,eACZ,SAAU,aACV,YAAa,gBACb,WAAY,eACZ,SAAU,aACV,UAAW,cACX,YAAa,eACjB,EACMC,EAAe,CACjB,UAAW,cACX,KAAM,SACN,QAAS,YACT,UAAW,cACX,KA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AQ,EAAE,OAAOQ,CAAQ,EAG7BtB,EAAIc,CAAQ,EAAE,QAAA,EAG1B,CACJ,CACA,uBAAuBU,EAAO,CAC1B,MAAMxB,EAAM,KAAK,KACX,CAAE,oBAAAyB,EAAsB,EAAC,EAAM,KAAK,MAC1C,GAAI,CACA,OAAOzB,EAAI,sBAAsBwB,EAAO,CACpC,OAAQC,EAAoB,OAAOzB,EAAI,SAAS,KAAKA,CAAG,CAAC,CAAA,CAC5D,CACL,MACM,CAEF,MAAO,CAAA,CACX,CACJ,CACA,aAAa0B,EAAG,CACZ,KAAM,CAAE,MAAArC,GAAU,KAElB,GADmCA,EAAM,sBAAwBA,EAAM,aAAeA,EAAM,cAAgBA,EAAM,cAClF,CAC5B,MAAMsC,EAAYD,EAAE,KACdE,EAAc,KAAK,kBAAkB,OAAS,EAC9CC,EAAW,KAAK,uBAAuBH,EAAE,KAAK,EAC9CI,EAAaD,EAAS,OAAS,EACjC,CAACC,GAAcF,IACfF,EAAE,KAAO,aACT,KAAK,gBAAgBA,CAAC,GAE1B,KAAK,iBAAmBG,EACpBC,GAAc,CAACF,IACfF,EAAE,KAAO,aACT,KAAK,gBAAgBA,CAAC,GAE1BA,EAAE,KAAOC,CACb,MAEI,KAAK,iBAAmB,IAEhC,CACJ,CACAxC,EAAS,UAAY,CAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs210.js","sources":["../../../node_modules/d3-geo/src/projection/equirectangular.js"],"sourcesContent":["import projection from \"./index\";\n\nexport function equirectangularRaw(lambda, phi) {\n return [lambda, phi];\n}\n\nequirectangularRaw.invert = equirectangularRaw;\n\nexport default function() {\n return projection(equirectangularRaw)\n .scale(152.63);\n}\n"],"names":["equirectangularRaw","lambda","phi"],"mappings":"oMAEO,SAASA,EAAmBC,EAAQC,EAAK,CAC9C,MAAO,CAACD,EAAQC,CAAG,CACrB,CAEAF,EAAmB,OAASA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const s=["setMaxBounds","setMinZoom","setMaxZoom","setMinPitch","setMaxPitch","setRenderWorldCopies","setProjection","setStyle","addSource","removeSource","addLayer","removeLayer","setLayerZoomRange","setFilter","setPaintProperty","setLayoutProperty","setLight","setTerrain","setFog","remove"];function n(r){if(!r)return null;const o=r.map,t={getMap:()=>o};for(const e of i(o))!(e in t)&&!s.includes(e)&&(t[e]=o[e].bind(o));return t}function i(r){const o=new Set;let t=r;for(;t;){for(const e of Object.getOwnPropertyNames(t))e[0]!=="_"&&typeof r[e]=="function"&&e!=="fire"&&e!=="setEventedParent"&&o.add(e);t=Object.getPrototypeOf(t)}return Array.from(o)}module.exports=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function a(e){if(!e)throw new Error("geojson is required");switch(e.type){case"Feature":return u(e);case"FeatureCollection":return s(e);case"Point":case"LineString":case"Polygon":case"MultiPoint":case"MultiLineString":case"MultiPolygon":case"GeometryCollection":return o(e);default:throw new Error("unknown GeoJSON type")}}function u(e){const t={type:"Feature"};return Object.keys(e).forEach(r=>{switch(r){case"type":case"properties":case"geometry":return;default:t[r]=e[r]}}),t.properties=c(e.properties),e.geometry==null?t.geometry=null:t.geometry=o(e.geometry),t}function c(e){const t={};return e&&Object.keys(e).forEach(r=>{const n=e[r];typeof n=="object"?n===null?t[r]=null:Array.isArray(n)?t[r]=n.map(l=>l):t[r]=c(n):t[r]=n}),t}function s(e){const t={type:"FeatureCollection"};return Object.keys(e).forEach(r=>{switch(r){case"type":case"features":return;default:t[r]=e[r]}}),t.features=e.features.map(r=>u(r)),t}function o(e){const t={type:e.type};return e.bbox&&(t.bbox=e.bbox),e.type==="GeometryCollection"?(t.geometries=e.geometries.map(r=>o(r)),t):(t.coordinates=i(e.coordinates),t)}function i(e){const t=e;return typeof t[0]!="object"?t.slice():t.map(r=>i(r))}exports.clone=a;exports.cloneProperties=c;
2
2
  //# sourceMappingURL=index.cjs211.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs211.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/maplibre/create-ref.js"],"sourcesContent":["/** These methods may break the react binding if called directly */\nconst skipMethods = [\n 'setMaxBounds',\n 'setMinZoom',\n 'setMaxZoom',\n 'setMinPitch',\n 'setMaxPitch',\n 'setRenderWorldCopies',\n 'setProjection',\n 'setStyle',\n 'addSource',\n 'removeSource',\n 'addLayer',\n 'removeLayer',\n 'setLayerZoomRange',\n 'setFilter',\n 'setPaintProperty',\n 'setLayoutProperty',\n 'setLight',\n 'setTerrain',\n 'setFog',\n 'remove'\n];\nexport default function createRef(mapInstance) {\n if (!mapInstance) {\n return null;\n }\n const map = mapInstance.map;\n const result = {\n getMap: () => map\n };\n for (const key of getMethodNames(map)) {\n // @ts-expect-error\n if (!(key in result) && !skipMethods.includes(key)) {\n result[key] = map[key].bind(map);\n }\n }\n return result;\n}\nfunction getMethodNames(obj) {\n const result = new Set();\n let proto = obj;\n while (proto) {\n for (const key of Object.getOwnPropertyNames(proto)) {\n if (key[0] !== '_' &&\n typeof obj[key] === 'function' &&\n key !== 'fire' &&\n key !== 'setEventedParent') {\n result.add(key);\n }\n }\n proto = Object.getPrototypeOf(proto);\n }\n return Array.from(result);\n}\n//# sourceMappingURL=create-ref.js.map"],"names":["skipMethods","createRef","mapInstance","map","result","key","getMethodNames","obj","proto"],"mappings":"aACA,MAAMA,EAAc,CAChB,eACA,aACA,aACA,cACA,cACA,uBACA,gBACA,WACA,YACA,eACA,WACA,cACA,oBACA,YACA,mBACA,oBACA,WACA,aACA,SACA,QACJ,EACA,SAAwBC,EAAUC,EAAa,CAC3C,GAAI,CAACA,EACD,OAAO,KAEX,MAAMC,EAAMD,EAAY,IAClBE,EAAS,CACX,OAAQ,IAAMD,CAAA,EAElB,UAAWE,KAAOC,EAAeH,CAAG,EAE5B,EAAEE,KAAOD,IAAW,CAACJ,EAAY,SAASK,CAAG,IAC7CD,EAAOC,CAAG,EAAIF,EAAIE,CAAG,EAAE,KAAKF,CAAG,GAGvC,OAAOC,CACX,CACA,SAASE,EAAeC,EAAK,CACzB,MAAMH,MAAa,IACnB,IAAII,EAAQD,EACZ,KAAOC,GAAO,CACV,UAAWH,KAAO,OAAO,oBAAoBG,CAAK,EAC1CH,EAAI,CAAC,IAAM,KACX,OAAOE,EAAIF,CAAG,GAAM,YACpBA,IAAQ,QACRA,IAAQ,oBACRD,EAAO,IAAIC,CAAG,EAGtBG,EAAQ,OAAO,eAAeA,CAAK,CACvC,CACA,OAAO,MAAM,KAAKJ,CAAM,CAC5B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs211.js","sources":["../../../node_modules/@turf/clone/dist/esm/index.js"],"sourcesContent":["// index.ts\nfunction clone(geojson) {\n if (!geojson) {\n throw new Error(\"geojson is required\");\n }\n switch (geojson.type) {\n case \"Feature\":\n return cloneFeature(geojson);\n case \"FeatureCollection\":\n return cloneFeatureCollection(geojson);\n case \"Point\":\n case \"LineString\":\n case \"Polygon\":\n case \"MultiPoint\":\n case \"MultiLineString\":\n case \"MultiPolygon\":\n case \"GeometryCollection\":\n return cloneGeometry(geojson);\n default:\n throw new Error(\"unknown GeoJSON type\");\n }\n}\nfunction cloneFeature(geojson) {\n const cloned = { type: \"Feature\" };\n Object.keys(geojson).forEach((key) => {\n switch (key) {\n case \"type\":\n case \"properties\":\n case \"geometry\":\n return;\n default:\n cloned[key] = geojson[key];\n }\n });\n cloned.properties = cloneProperties(geojson.properties);\n if (geojson.geometry == null) {\n cloned.geometry = null;\n } else {\n cloned.geometry = cloneGeometry(geojson.geometry);\n }\n return cloned;\n}\nfunction cloneProperties(properties) {\n const cloned = {};\n if (!properties) {\n return cloned;\n }\n Object.keys(properties).forEach((key) => {\n const value = properties[key];\n if (typeof value === \"object\") {\n if (value === null) {\n cloned[key] = null;\n } else if (Array.isArray(value)) {\n cloned[key] = value.map((item) => {\n return item;\n });\n } else {\n cloned[key] = cloneProperties(value);\n }\n } else {\n cloned[key] = value;\n }\n });\n return cloned;\n}\nfunction cloneFeatureCollection(geojson) {\n const cloned = { type: \"FeatureCollection\" };\n Object.keys(geojson).forEach((key) => {\n switch (key) {\n case \"type\":\n case \"features\":\n return;\n default:\n cloned[key] = geojson[key];\n }\n });\n cloned.features = geojson.features.map((feature) => {\n return cloneFeature(feature);\n });\n return cloned;\n}\nfunction cloneGeometry(geometry) {\n const geom = { type: geometry.type };\n if (geometry.bbox) {\n geom.bbox = geometry.bbox;\n }\n if (geometry.type === \"GeometryCollection\") {\n geom.geometries = geometry.geometries.map((g) => {\n return cloneGeometry(g);\n });\n return geom;\n }\n geom.coordinates = deepSlice(geometry.coordinates);\n return geom;\n}\nfunction deepSlice(coords) {\n const cloned = coords;\n if (typeof cloned[0] !== \"object\") {\n return cloned.slice();\n }\n return cloned.map((coord) => {\n return deepSlice(coord);\n });\n}\nvar index_default = clone;\nexport {\n clone,\n cloneProperties,\n index_default as default\n};\n//# sourceMappingURL=index.js.map"],"names":["clone","geojson","cloneFeature","cloneFeatureCollection","cloneGeometry","cloned","key","cloneProperties","properties","value","item","feature","geometry","geom","g","deepSlice","coords","coord"],"mappings":"gFACA,SAASA,EAAMC,EAAS,CACtB,GAAI,CAACA,EACH,MAAM,IAAI,MAAM,qBAAqB,EAEvC,OAAQA,EAAQ,KAAA,CACd,IAAK,UACH,OAAOC,EAAaD,CAAO,EAC7B,IAAK,oBACH,OAAOE,EAAuBF,CAAO,EACvC,IAAK,QACL,IAAK,aACL,IAAK,UACL,IAAK,aACL,IAAK,kBACL,IAAK,eACL,IAAK,qBACH,OAAOG,EAAcH,CAAO,EAC9B,QACE,MAAM,IAAI,MAAM,sBAAsB,CAAA,CAE5C,CACA,SAASC,EAAaD,EAAS,CAC7B,MAAMI,EAAS,CAAE,KAAM,SAAA,EACvB,cAAO,KAAKJ,CAAO,EAAE,QAASK,GAAQ,CACpC,OAAQA,EAAA,CACN,IAAK,OACL,IAAK,aACL,IAAK,WACH,OACF,QACED,EAAOC,CAAG,EAAIL,EAAQK,CAAG,CAAA,CAE/B,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ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),t=typeof document<"u"?e.useLayoutEffect:e.useEffect;module.exports=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs211.js"),f=require("./index.cjs196.js"),c=require("./index.cjs195.js"),u=require("./index.cjs194.js"),y=require("./index.cjs67.js");function C(e,t={}){var r,i;if(t=t||{},!y.isObject(t))throw new Error("options is invalid");const o=(r=t.mutate)!=null?r:!1,n=(i=t.reverse)!=null?i:!1;if(!e)throw new Error("<geojson> is required");if(typeof n!="boolean")throw new Error("<reverse> must be a boolean");if(typeof o!="boolean")throw new Error("<mutate> must be a boolean");!o&&e.type!=="Point"&&e.type!=="MultiPoint"&&(e=m.clone(e));const w=[];switch(e.type){case"GeometryCollection":return c.geomEach(e,function(l){a(l,n)}),e;case"FeatureCollection":return c.featureEach(e,function(l){const b=a(l,n);c.featureEach(b,function(s){w.push(s)})}),y.featureCollection(w)}return a(e,n)}function a(e,t){switch(e.type==="Feature"?e.geometry.type:e.type){case"GeometryCollection":return c.geomEach(e,function(i){a(i,t)}),e;case"LineString":return d(u.getCoords(e),t),e;case"Polygon":return h(u.getCoords(e),t),e;case"MultiLineString":return u.getCoords(e).forEach(function(i){d(i,t)}),e;case"MultiPolygon":return u.getCoords(e).forEach(function(i){h(i,t)}),e;case"Point":case"MultiPoint":return e}}function d(e,t){f.booleanClockwise(e)===t&&e.reverse()}function h(e,t){f.booleanClockwise(e[0])!==t&&e[0].reverse();for(let r=1;r<e.length;r++)f.booleanClockwise(e[r])===t&&e[r].reverse()}exports.rewind=C;
2
2
  //# sourceMappingURL=index.cjs212.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs212.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/use-isomorphic-layout-effect.js"],"sourcesContent":["// From https://github.com/streamich/react-use/blob/master/src/useIsomorphicLayoutEffect.ts\n// useLayoutEffect but does not trigger warning in server-side rendering\nimport { useEffect, useLayoutEffect } from 'react';\nconst useIsomorphicLayoutEffect = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\nexport default useIsomorphicLayoutEffect;\n//# sourceMappingURL=use-isomorphic-layout-effect.js.map"],"names":["useIsomorphicLayoutEffect","useLayoutEffect","useEffect"],"mappings":"sCAGMA,EAA4B,OAAO,SAAa,IAAcC,kBAAkBC,EAAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs212.js","sources":["../../../node_modules/@turf/rewind/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { clone } from \"@turf/clone\";\nimport { booleanClockwise } from \"@turf/boolean-clockwise\";\nimport { geomEach, featureEach } from \"@turf/meta\";\nimport { getCoords } from \"@turf/invariant\";\nimport { featureCollection, isObject } from \"@turf/helpers\";\nfunction rewind(geojson, options = {}) {\n var _a, _b;\n options = options || {};\n if (!isObject(options)) throw new Error(\"options is invalid\");\n const mutate = (_a = options.mutate) != null ? _a : false;\n const reverse = (_b = options.reverse) != null ? _b : false;\n if (!geojson) throw new Error(\"<geojson> is required\");\n if (typeof reverse !== \"boolean\")\n throw new Error(\"<reverse> must be a boolean\");\n if (typeof mutate !== \"boolean\")\n throw new Error(\"<mutate> must be a boolean\");\n if (!mutate && geojson.type !== \"Point\" && geojson.type !== \"MultiPoint\") {\n geojson = clone(geojson);\n }\n const results = [];\n switch (geojson.type) {\n case \"GeometryCollection\":\n geomEach(geojson, function(geometry) {\n rewindFeature(geometry, reverse);\n });\n return geojson;\n case \"FeatureCollection\":\n featureEach(geojson, function(feature) {\n const rewoundFeature = rewindFeature(feature, reverse);\n featureEach(rewoundFeature, function(result) {\n results.push(result);\n });\n });\n return featureCollection(results);\n }\n return rewindFeature(geojson, reverse);\n}\nfunction rewindFeature(geojson, reverse) {\n const type = geojson.type === \"Feature\" ? geojson.geometry.type : geojson.type;\n switch (type) {\n case \"GeometryCollection\":\n geomEach(geojson, function(geometry) {\n rewindFeature(geometry, reverse);\n });\n return geojson;\n case \"LineString\":\n rewindLineString(getCoords(geojson), reverse);\n return geojson;\n case \"Polygon\":\n rewindPolygon(getCoords(geojson), reverse);\n return geojson;\n case \"MultiLineString\":\n getCoords(geojson).forEach(function(lineCoords) {\n rewindLineString(lineCoords, reverse);\n });\n return geojson;\n case \"MultiPolygon\":\n getCoords(geojson).forEach(function(lineCoords) {\n rewindPolygon(lineCoords, reverse);\n });\n return geojson;\n case \"Point\":\n case \"MultiPoint\":\n return geojson;\n }\n}\nfunction rewindLineString(coords, reverse) {\n if (booleanClockwise(coords) === reverse) coords.reverse();\n}\nfunction rewindPolygon(coords, reverse) {\n if (booleanClockwise(coords[0]) !== reverse) {\n coords[0].reverse();\n }\n for (let i = 1; i < coords.length; i++) {\n if (booleanClockwise(coords[i]) === reverse) {\n coords[i].reverse();\n }\n }\n}\nvar index_default = rewind;\nexport {\n index_default as default,\n rewind\n};\n//# sourceMappingURL=index.js.map"],"names":["rewind","geojson","options","_a","_b","isObject","mutate","reverse","clone","results","geomEach","geometry","rewindFeature","featureEach","feature","rewoundFeature","result","featureCollection","rewindLineString","getCoords","rewindPolygon","lineCoords","coords","booleanClockwise","i"],"mappings":"gPAMA,SAASA,EAAOC,EAASC,EAAU,GAAI,CACrC,IAAIC,EAAIC,EAER,GADAF,EAAUA,GAAW,CAAA,EACjB,CAACG,EAAAA,SAASH,CAAO,EAAG,MAAM,IAAI,MAAM,oBAAoB,EAC5D,MAAMI,GAAUH,EAAKD,EAAQ,SAAW,KAAOC,EAAK,GAC9CI,GAAWH,EAAKF,EAAQ,UAAY,KAAOE,EAAK,GACtD,GAAI,CAACH,EAAS,MAAM,IAAI,MAAM,uBAAuB,EACrD,GAAI,OAAOM,GAAY,UACrB,MAAM,IAAI,MAAM,6BAA6B,EAC/C,GAAI,OAAOD,GAAW,UACpB,MAAM,IAAI,MAAM,4BAA4B,EAC1C,CAACA,GAAUL,EAAQ,OAAS,SAAWA,EAAQ,OAAS,eAC1DA,EAAUO,EAAAA,MAAMP,CAAO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E,QAAA,EAEZ,QAASE,EAAI,EAAGA,EAAIF,EAAO,OAAQE,IAC7BD,EAAAA,iBAAiBD,EAAOE,CAAC,CAAC,IAAMjB,GAClCe,EAAOE,CAAC,EAAE,QAAA,CAGhB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function g(e,u){const{RTLTextPlugin:t,maxParallelImageRequests:l,workerCount:s,workerUrl:r}=u;if(t&&e.getRTLTextPluginStatus&&e.getRTLTextPluginStatus()==="unavailable"){const{pluginUrl:n,lazy:i=!0}=typeof t=="string"?{pluginUrl:t}:t;e.setRTLTextPlugin(n,o=>{o&&console.error(o)},i)}l!==void 0&&e.setMaxParallelImageRequests(l),s!==void 0&&e.setWorkerCount(s),r!==void 0&&e.setWorkerUrl(r)}module.exports=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={IMAGEINFOSADDED:"imageinfosadded",WARPEDMAPADDED:"warpedmapadded",WARPEDMAPREMOVED:"warpedmapremoved",WARPEDMAPENTERED:"warpedmapentered",WARPEDMAPLEFT:"warpedmapleft",IMAGELOADED:"imageloaded",TILEFETCHED:"tilefetched",TILEFETCHERROR:"tilefetcherror",TILESFROMSPRITETILE:"tilesfromspritetile",MAPTILELOADED:"maptileloaded",MAPTILESLOADEDFROMSPRITES:"maptilesloadedfromsprites",MAPTILEDELETED:"maptiledeleted",FIRSTMAPTILELOADED:"firstmaptileloaded",ALLREQUESTEDTILESLOADED:"allrequestedtilesloaded",TEXTURESUPDATED:"texturesupdated",CLEARED:"cleared",PREPARECHANGE:"preparechange",IMMEDIATECHANGE:"immediatechange",ANIMATEDCHANGE:"animatedchange",CHANGED:"changed",ERROR:"error"},a=class extends Event{data;error;constructor(e,E){super(e),this.data=E}},t=class extends a{error;constructor(e,E){super(r.ERROR,E),this.error=e}};exports.WarpedMapErrorEvent=t;exports.WarpedMapEvent=a;exports.WarpedMapEventType=r;
2
2
  //# sourceMappingURL=index.cjs213.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs213.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/set-globals.js"],"sourcesContent":["export default function setGlobals(mapLib, props) {\n const { RTLTextPlugin, maxParallelImageRequests, workerCount, workerUrl } = props;\n if (RTLTextPlugin &&\n mapLib.getRTLTextPluginStatus &&\n mapLib.getRTLTextPluginStatus() === 'unavailable') {\n const { pluginUrl, lazy = true } = typeof RTLTextPlugin === 'string' ? { pluginUrl: RTLTextPlugin } : RTLTextPlugin;\n mapLib.setRTLTextPlugin(pluginUrl, (error) => {\n if (error) {\n // eslint-disable-next-line\n console.error(error);\n }\n }, lazy);\n }\n if (maxParallelImageRequests !== undefined) {\n mapLib.setMaxParallelImageRequests(maxParallelImageRequests);\n }\n if (workerCount !== undefined) {\n mapLib.setWorkerCount(workerCount);\n }\n if (workerUrl !== undefined) {\n mapLib.setWorkerUrl(workerUrl);\n }\n}\n//# sourceMappingURL=set-globals.js.map"],"names":["setGlobals","mapLib","props","RTLTextPlugin","maxParallelImageRequests","workerCount","workerUrl","pluginUrl","lazy","error"],"mappings":"aAAA,SAAwBA,EAAWC,EAAQC,EAAO,CAC9C,KAAM,CAAE,cAAAC,EAAe,yBAAAC,EAA0B,YAAAC,EAAa,UAAAC,GAAcJ,EAC5E,GAAIC,GACAF,EAAO,wBACPA,EAAO,uBAAA,IAA6B,cAAe,CACnD,KAAM,CAAE,UAAAM,EAAW,KAAAC,EAAO,IAAS,OAAOL,GAAkB,SAAW,CAAE,UAAWA,CAAA,EAAkBA,EACtGF,EAAO,iBAAiBM,EAAYE,GAAU,CACtCA,GAEA,QAAQ,MAAMA,CAAK,CAE3B,EAAGD,CAAI,CACX,CACIJ,IAA6B,QAC7BH,EAAO,4BAA4BG,CAAwB,EAE3DC,IAAgB,QAChBJ,EAAO,eAAeI,CAAW,EAEjCC,IAAc,QACdL,EAAO,aAAaK,CAAS,CAErC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs213.js","sources":["../../../node_modules/@allmaps/render/dist/shared/events.js"],"sourcesContent":["//#region src/shared/events.ts\nvar WarpedMapEventType = {\n\tIMAGEINFOSADDED: \"imageinfosadded\",\n\tWARPEDMAPADDED: \"warpedmapadded\",\n\tWARPEDMAPREMOVED: \"warpedmapremoved\",\n\tWARPEDMAPENTERED: \"warpedmapentered\",\n\tWARPEDMAPLEFT: \"warpedmapleft\",\n\tIMAGELOADED: \"imageloaded\",\n\tTILEFETCHED: \"tilefetched\",\n\tTILEFETCHERROR: \"tilefetcherror\",\n\tTILESFROMSPRITETILE: \"tilesfromspritetile\",\n\tMAPTILELOADED: \"maptileloaded\",\n\tMAPTILESLOADEDFROMSPRITES: \"maptilesloadedfromsprites\",\n\tMAPTILEDELETED: \"maptiledeleted\",\n\tFIRSTMAPTILELOADED: \"firstmaptileloaded\",\n\tALLREQUESTEDTILESLOADED: \"allrequestedtilesloaded\",\n\tTEXTURESUPDATED: \"texturesupdated\",\n\tCLEARED: \"cleared\",\n\tPREPARECHANGE: \"preparechange\",\n\tIMMEDIATECHANGE: \"immediatechange\",\n\tANIMATEDCHANGE: \"animatedchange\",\n\tCHANGED: \"changed\",\n\tERROR: \"error\"\n};\nvar WarpedMapEvent = class extends Event {\n\tdata;\n\terror;\n\tconstructor(type, data) {\n\t\tsuper(type);\n\t\tthis.data = data;\n\t}\n};\nvar WarpedMapErrorEvent = class extends WarpedMapEvent {\n\terror;\n\tconstructor(error, data) {\n\t\tsuper(WarpedMapEventType.ERROR, data);\n\t\tthis.error = error;\n\t}\n};\n//#endregion\nexport { WarpedMapErrorEvent, WarpedMapEvent, WarpedMapEventType };\n\n//# sourceMappingURL=events.js.map"],"names":["WarpedMapEventType","WarpedMapEvent","type","data","WarpedMapErrorEvent","error"],"mappings":"gFACA,IAAIA,EAAqB,CACxB,gBAAiB,kBACjB,eAAgB,iBAChB,iBAAkB,mBAClB,iBAAkB,mBAClB,cAAe,gBACf,YAAa,cACb,YAAa,cACb,eAAgB,iBAChB,oBAAqB,sBACrB,cAAe,gBACf,0BAA2B,4BAC3B,eAAgB,iBAChB,mBAAoB,qBACpB,wBAAyB,0BACzB,gBAAiB,kBACjB,QAAS,UACT,cAAe,gBACf,gBAAiB,kBACjB,eAAgB,iBAChB,QAAS,UACT,MAAO,OACR,EACIC,EAAiB,cAAc,KAAM,CACxC,KACA,MACA,YAAYC,EAAMC,EAAM,CACvB,MAAMD,CAAI,EACV,KAAK,KAAOC,CACb,CACD,EACIC,EAAsB,cAAcH,CAAe,CACtD,MACA,YAAYI,EAAOF,EAAM,CACxB,MAAMH,EAAmB,MAAOG,CAAI,EACpC,KAAK,MAAQE,CACd,CACD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=/box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;function r(n,t){if(!n||!t)return;const o=n.style;for(const e in t){const i=t[e];Number.isFinite(i)&&!l.test(e)?o[e]=`${i}px`:o[e]=i}}exports.applyReactStyle=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("./index.cjs299.js"),u=require("./index.cjs213.js"),T=require("./index.cjs320.js"),o=require("./index.cjs215.js"),d=require("./index.cjs321.js"),p=require("./index.cjs275.js"),n=require("./index.cjs216.js"),i=require("./index.cjs217.js"),M=require("./index.cjs318.js"),a=require("./index.cjs225.js");require("./index.cjs229.js");require("./index.cjs230.js");const P=require("./index.cjs322.js");require("./index.cjs232.js");const c=require("./index.cjs323.js");var h={gcps:[],resourceMask:[],transformationType:"polynomial",internalProjection:a.webMercatorProjection,projection:a.webMercatorProjection,visible:!0,anticipateVisibility:!1,overviewTilesMaxResolution:void 0,overviewTilesSelection:"lowest",applyMask:!0,distortionMeasure:void 0},b={minOffsetRatio:.01,maxDepth:5,differentHandedness:!0},l={...h,...b};function v(){return(m,e,t,r)=>new f(m,e,t,r)}var f=class k extends EventTarget{mapId;georeferencedMap;defaultOptions;georeferencedMapOptions;listOptions;mapOptions;options;fetchingImageInfo;image;tileSize;abortController;mixed=!1;visible;previousVisible;visibilityOpacity;previousVisibilityOpacity;applyMask;previousApplyMask;applyMaskOpacity;previousApplyMaskOpacity;gcps;projectedGcps;resourcePoints;geoPoints;projectedGeoPoints;projectedGeoTransformedResourcePoints;projectedGeoPreviousTransformedResourcePoints;resourceFullMask;resourceFullMaskBbox;resourceFullMaskRectangle;resourceMask;resourceMaskBbox;resourceMaskRectangle;resourceAppliedMask;resourceAppliedMaskBbox;resourceAppliedMaskRectangle;transformationType;previousTransformationType;internalProjection;previousInternalProjection;projection;projectedTransformer;projectedPreviousTransformer;projectedTransformerCache;projectedTransformerDoubleCache;geoFullMask;geoFullMaskBbox;geoFullMaskRectangle;geoMask;geoMaskBbox;geoMaskRectangle;geoAppliedMask;geoAppliedMaskBbox;geoAppliedMaskRectangle;projectedGeoFullMask;projectedGeoFullMaskBbox;projectedGeoFullMaskRectangle;projectedGeoMask;projectedGeoMaskBbox;projectedGeoMaskRectangle;projectedGeoAppliedMask;projectedGeoAppliedMaskBbox;projectedGeoAppliedMaskRectangle;resourceToProjectedGeoScale;distortionMeasure;previousDistortionMeasure;tileZoomLevelForViewport;overviewTileZoomLevelForViewport;projectedGeoBufferedViewportRectangleForViewport;projectedGeoBufferedViewportRectangleBboxForViewport;resourceBufferedViewportRingForViewport;resourceBufferedViewportRingBboxForViewport;resourceBufferedViewportRingBboxAndResourceMaskBboxIntersectionForViewport;fetchableTilesForViewport=[];overviewFetchableTilesForViewport=[];constructor(e,t,r={},s={}){super(),this.mapId=e,this.georeferencedMap=t,this.projectedTransformerCache=new Map,this.projectedTransformerDoubleCache=new Map,this.fetchingImageInfo=!1,this.mapOptions=s,this.listOptions=r,this.georeferencedMapOptions={transformationType:t.transformation?.type,internalProjection:t.resourceCrs,gcps:t.gcps,resourceMask:t.resourceMask},this.setDefaultOptions(),this.applyOptions({stage:"init"})}static getDefaultOptions(){return h}static getDefaultWithoutGeoreferencedMapOptions(){return n.omit(h,["transformationType","internalProjection","resourceMask","gcps"])}getResourceAppliedMask(e){return e===void 0?this.resourceAppliedMask:e?this.resourceMask:this.resourceFullMask}getGeoAppliedMask(e){return e===void 0?this.geoAppliedMask:e?this.geoMask:this.geoFullMask}getProjectedGeoAppliedMask(e){return e===void 0?this.projectedGeoAppliedMask:e?this.projectedGeoMask:this.projectedGeoFullMask}getDefaultAndGeoreferencedMapOptions(){return i.mergeOptionsUnlessUndefined(this.defaultOptions,this.georeferencedMapOptions)}getResourceToViewportScale(e){return o.rectanglesToScale(this.resourceMaskRectangle,this.projectedGeoMaskRectangle.map(t=>j.applyHomogeneousTransform(e.projectedGeoToViewportHomogeneousTransform,t)))}getResourceToCanvasScale(e){return this.getResourceToViewportScale(e)/e.devicePixelRatio}getReferenceScale(){return this.getProjectedTransformer("helmert").getToGeoTransformation().getMeasures().scale}getProjectedTransformer(e,t){const r=i.mergeOptionsUnlessUndefined(l,{projection:this.projection,internalProjection:this.internalProjection},t);return e=e??this.transformationType,d.getPropertyFromDoubleCacheOrComputation(this.projectedTransformerDoubleCache,e,this.projection.definition,()=>{const s=d.getPropertyFromCacheOrComputation(this.projectedTransformerCache,e,()=>new M.ProjectedGcpTransformer(this.gcps,e,n.omit(r,["projection"])));return M.ProjectedGcpTransformer.setProjection(c(s),r.projection)})}setDefaultOptions(){this.defaultOptions=k.getDefaultOptions()}setListOptions(e,t){return this.setMapAndListOptions(void 0,e,t)}setMapOptions(e,t){return this.setMapAndListOptions(e,void 0,t)}setMapAndListOptions(e,t,r){const s=[];return e!==void 0&&Object.keys(e).length>0&&(this.mapOptions=i.mergeOptions(this.mapOptions,e),s.push(...Object.keys(e))),t!==void 0&&Object.keys(t).length>0&&(this.listOptions=i.mergeOptions(this.listOptions,t),s.push(...Object.keys(t))),this.applyOptions(i.mergePartialOptions(r,{optionKeysPossiblyChanged:s}))}applyOptions(e){const t=i.mergeOptionsUnlessUndefined(this.defaultOptions,this.georeferencedMapOptions,this.listOptions,this.mapOptions),r=e?.optionKeysPossiblyChanged?.filter(g=>e.optionKeysToOmit?!e.optionKeysToOmit.includes(g):!0),s=n.objectDifference(t,this.options,r);return this.options=i.mergeOptions(this.options,s),e?.stage=="init"?(this.visible=this.options.visible,this.previousVisible=this.visible,this.visibilityOpacity=this.visible?1:0,this.previousVisibilityOpacity=this.visibilityOpacity,this.applyMask=this.options.applyMask,this.previousApplyMask=this.applyMask,this.applyMaskOpacity=this.applyMask?0:1,this.previousApplyMaskOpacity=this.applyMaskOpacity,this.gcps=this.options.gcps,this.resourceFullMask=this.getResourceFullMask(),this.resourceMask=this.georeferencedMap.resourceMask,this.resourceAppliedMask=this.applyMask?this.resourceMask:this.resourceFullMask,this.updateResourceMaskProperties(),this.transformationType=this.options.transformationType,this.previousTransformationType=this.transformationType,this.internalProjection=this.options.internalProjection,this.previousInternalProjection=this.internalProjection,this.projection=this.options.projection,this.updateProjectedTransformerProperties()):("visible"in s&&(this.visible=this.options.visible,this.visibilityOpacity=this.visible?1:0),"gcps"in s&&this.setGcps(this.options.gcps),("resourceMask"in s||"applyMask"in s)&&(this.applyMask=this.options.applyMask,this.applyMaskOpacity=this.applyMask?0:1,this.setResourceMask()),"transformationType"in s&&this.setTransformationType(this.options.transformationType),"internalProjection"in s&&this.setInternalProjection(this.options.internalProjection),"projection"in s&&this.setProjection(this.options.projection),("distortionMeasure"in s||"distortionMeasures"in s)&&this.setDistortionMeasure(this.options.distortionMeasure)),s}shouldRenderMap(e){return this.options.visible!==!1||this.previousVisible!==!1}shouldRenderLines(){return this.options.visible!==!1||this.previousVisible!==!1}shouldRenderPoints(){return this.options.visible!==!1||this.previousVisible!==!1}setGcps(e){this.gcps=e,this.clearProjectedTransformerCaches(),this.updateProjectedTransformerProperties()}setResourceMask(){this.resourceFullMask=this.getResourceFullMask(),this.resourceMask=this.options.resourceMask,this.resourceAppliedMask=this.applyMask?this.resourceMask:this.resourceFullMask,this.updateResourceMaskProperties(),this.updateGeoMaskProperties(),this.updateProjectedGeoMaskProperties()}setTransformationType(e){this.transformationType=e,this.previousTransformationType||(this.previousTransformationType=this.transformationType),this.updateProjectedTransformerProperties()}setDistortionMeasure(e){this.distortionMeasure=e}setInternalProjection(e){this.internalProjection=e||l.internalProjection||a.webMercatorProjection,this.previousInternalProjection||(this.previousInternalProjection=this.internalProjection),this.clearProjectedTransformerCaches(),this.updateProjectedTransformerProperties()}setProjection(e){this.projection=e||l.projection||a.webMercatorProjection,this.updateProjectedTransformerProperties()}setTileZoomLevelForViewport(e){this.tileZoomLevelForViewport=e}setOverviewTileZoomLevelForViewport(e){this.overviewTileZoomLevelForViewport=e}setProjectedGeoBufferedViewportRectangleForViewport(e){this.projectedGeoBufferedViewportRectangleForViewport=e,this.projectedGeoBufferedViewportRectangleBboxForViewport=e?o.computeBbox(e):void 0}setResourceBufferedViewportRingForViewport(e){this.resourceBufferedViewportRingForViewport=e,this.resourceBufferedViewportRingBboxForViewport=e?o.computeBbox(e):void 0}setResourceBufferedViewportRingBboxAndResourceAppliedMaskBboxIntersectionForViewport(e){this.resourceBufferedViewportRingBboxAndResourceMaskBboxIntersectionForViewport=e}setFetchableTilesForViewport(e){this.fetchableTilesForViewport=e}setOverviewFetchableTilesForViewport(e){this.overviewFetchableTilesForViewport=e}resetForViewport(){this.setTileZoomLevelForViewport(),this.setOverviewTileZoomLevelForViewport(),this.setProjectedGeoBufferedViewportRectangleForViewport(),this.setResourceBufferedViewportRingForViewport(),this.setFetchableTilesForViewport([]),this.setOverviewFetchableTilesForViewport([])}resetPrevious(){this.mixed=!1,this.previousVisible=this.visible,this.previousVisibilityOpacity=this.visibilityOpacity,this.previousApplyMask=this.applyMask,this.previousApplyMaskOpacity=this.applyMaskOpacity,this.previousTransformationType=this.transformationType,this.previousDistortionMeasure=this.distortionMeasure,this.previousInternalProjection=this.internalProjection,this.projectedPreviousTransformer=c(this.projectedTransformer),this.projectedGeoPreviousTransformedResourcePoints=this.projectedGeoTransformedResourcePoints}mixPreviousAndNew(e){this.mixed=!0,this.previousVisible=this.visible,this.previousVisibilityOpacity=p.mixNumbers(this.visibilityOpacity,this.previousVisibilityOpacity,e),this.previousApplyMask=this.applyMask,this.previousApplyMaskOpacity=p.mixNumbers(this.applyMaskOpacity,this.previousApplyMaskOpacity,e),this.previousTransformationType=this.transformationType,this.previousDistortionMeasure=this.distortionMeasure,this.previousInternalProjection=this.internalProjection,this.projectedPreviousTransformer=c(this.projectedTransformer),this.projectedGeoPreviousTransformedResourcePoints=p.mixLineStrings(this.projectedGeoTransformedResourcePoints,this.projectedGeoPreviousTransformedResourcePoints,e)}hasImage(){return this.image!==void 0}async loadImage(e){try{const t=this.georeferencedMap.resource.id;if(e&&e.has(t))this.image=e.get(t);else{this.fetchingImageInfo=!0,this.abortController=new AbortController;const r=this.abortController.signal,s=await T.fetchImageInfo(t,{signal:r},this.options.fetchFn);this.abortController=void 0,this.image=P.Image.parse(s),e&&e.set(t,this.image)}this.tileSize=[Math.max(...this.image.tileZoomLevels.map(r=>r.width)),Math.max(...this.image.tileZoomLevels.map(r=>r.height))],this.dispatchEvent(new u.WarpedMapEvent(u.WarpedMapEventType.IMAGELOADED))}catch(t){throw this.fetchingImageInfo=!1,t}finally{this.fetchingImageInfo=!1}}updateResourceMaskProperties(){this.resourceFullMaskBbox=o.computeBbox(this.resourceFullMask),this.resourceFullMaskRectangle=o.bboxToRectangle(this.resourceFullMaskBbox),this.resourceMaskBbox=o.computeBbox(this.resourceMask),this.resourceMaskRectangle=o.bboxToRectangle(this.resourceMaskBbox),this.resourceAppliedMaskBbox=o.computeBbox(this.resourceAppliedMask),this.resourceAppliedMaskRectangle=o.bboxToRectangle(this.resourceAppliedMaskBbox)}getResourceFullMask(){const e=this.georeferencedMap.resource.width,t=this.georeferencedMap.resource.height;return e&&t?o.sizeToRectangle([e,t]):o.bboxToRectangle(o.computeBbox(this.georeferencedMap.resourceMask))}updateGeoMaskProperties(){this.updateFullGeoMask(),this.updateGeoMask(),this.updateAppliedGeoMask()}updateProjectedGeoMaskProperties(){this.updateProjectedFullGeoMask(),this.updateProjectedGeoMask(),this.updateProjectedAppliedGeoMask(),this.updateResourceToProjectedGeoScale()}updateProjectedTransformerProperties(){this.updateProjectedTransformer(),this.updateGeoMaskProperties(),this.updateProjectedGeoMaskProperties(),this.updateGcpsProperties()}updateProjectedTransformer(){this.projectedTransformer=this.getProjectedTransformer(this.transformationType),this.projectedPreviousTransformer||(this.projectedPreviousTransformer=this.projectedTransformer)}updateFullGeoMask(){this.geoFullMask=this.projectedTransformer.transformToGeo([this.resourceFullMask])[0],this.geoFullMaskBbox=o.computeBbox(this.geoFullMask),this.geoFullMaskRectangle=this.projectedTransformer.transformToGeo([this.resourceFullMaskRectangle],{maxDepth:0})[0]}updateGeoMask(){this.geoMask=this.projectedTransformer.transformToGeo([this.resourceMask])[0],this.geoMaskBbox=o.computeBbox(this.geoMask),this.geoMaskRectangle=this.projectedTransformer.transformToGeo([this.resourceMaskRectangle],{maxDepth:0})[0]}updateAppliedGeoMask(){this.geoAppliedMask=this.applyMask?this.geoMask:this.geoFullMask,this.geoAppliedMaskBbox=this.applyMask?this.geoMaskBbox:this.geoFullMaskBbox,this.geoAppliedMaskRectangle=this.applyMask?this.geoMaskRectangle:this.geoFullMaskRectangle}updateProjectedFullGeoMask(){this.projectedGeoFullMask=this.projectedTransformer.transformToProjectedGeo([this.resourceFullMask])[0],this.projectedGeoFullMaskBbox=o.computeBbox(this.projectedGeoFullMask),this.projectedGeoFullMaskRectangle=this.projectedTransformer.transformToProjectedGeo([this.resourceFullMaskRectangle],{maxDepth:0})[0]}updateProjectedGeoMask(){this.projectedGeoMask=this.projectedTransformer.transformToProjectedGeo([this.resourceMask])[0],this.projectedGeoMaskBbox=o.computeBbox(this.projectedGeoMask),this.projectedGeoMaskRectangle=this.projectedTransformer.transformToProjectedGeo([this.resourceMaskRectangle],{maxDepth:0})[0]}updateProjectedAppliedGeoMask(){this.projectedGeoAppliedMask=this.applyMask?this.projectedGeoMask:this.projectedGeoFullMask,this.projectedGeoAppliedMaskBbox=this.applyMask?this.projectedGeoMaskBbox:this.projectedGeoFullMaskBbox,this.projectedGeoAppliedMaskRectangle=this.applyMask?this.projectedGeoMaskRectangle:this.projectedGeoFullMaskRectangle}updateResourceToProjectedGeoScale(){this.resourceToProjectedGeoScale=o.rectanglesToScale(this.resourceMaskRectangle,this.projectedGeoMaskRectangle)}updateGcpsProperties(){this.projectedGcps=this.gcps.map(({resource:e,geo:t})=>({resource:e,geo:this.projectedTransformer.lonLatToProjection(t)})),this.resourcePoints=this.gcps.map(e=>e.resource),this.geoPoints=this.gcps.map(e=>e.geo),this.projectedGeoPoints=this.projectedGcps.map(e=>e.geo),this.projectedGeoTransformedResourcePoints=this.gcps.map(e=>this.projectedTransformer.transformToProjectedGeo(e.resource)),this.projectedGeoPreviousTransformedResourcePoints||(this.projectedGeoPreviousTransformedResourcePoints=this.projectedGeoTransformedResourcePoints)}clearProjectedTransformerCaches(){this.projectedTransformerCache=new Map,this.projectedTransformerDoubleCache=new Map}destroy(){this.abortController&&this.abortController.abort()}};exports.WarpedMap=f;exports.createWarpedMapFactory=v;
2
2
  //# sourceMappingURL=index.cjs214.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs214.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/apply-react-style.js"],"sourcesContent":["// This is a simplified version of\n// https://github.com/facebook/react/blob/4131af3e4bf52f3a003537ec95a1655147c81270/src/renderers/dom/shared/CSSPropertyOperations.js#L62\nconst unitlessNumber = /box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;\nexport function applyReactStyle(element, styles) {\n if (!element || !styles) {\n return;\n }\n const style = element.style;\n for (const key in styles) {\n const value = styles[key];\n if (Number.isFinite(value) && !unitlessNumber.test(key)) {\n style[key] = `${value}px`;\n }\n else {\n style[key] = value;\n }\n }\n}\n//# sourceMappingURL=apply-react-style.js.map"],"names":["unitlessNumber","applyReactStyle","element","styles","style","key","value"],"mappings":"gFAEA,MAAMA,EAAiB,0EAChB,SAASC,EAAgBC,EAASC,EAAQ,CAC7C,GAAI,CAACD,GAAW,CAACC,EACb,OAEJ,MAAMC,EAAQF,EAAQ,MACtB,UAAWG,KAAOF,EAAQ,CACtB,MAAMG,EAAQH,EAAOE,CAAG,EACpB,OAAO,SAASC,CAAK,GAAK,CAACN,EAAe,KAAKK,CAAG,EAClDD,EAAMC,CAAG,EAAI,GAAGC,CAAK,KAGrBF,EAAMC,CAAG,EAAIC,CAErB,CACJ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs214.js","sources":["../../../node_modules/@allmaps/render/dist/maps/WarpedMap.js"],"sourcesContent":["import { applyHomogeneousTransform } from \"../shared/homogeneous-transform.js\";\nimport { WarpedMapEvent, WarpedMapEventType } from \"../shared/events.js\";\nimport { bboxToRectangle, computeBbox, fetchImageInfo, getPropertyFromCacheOrComputation, getPropertyFromDoubleCacheOrComputation, mergeOptions, mergeOptionsUnlessUndefined, mergePartialOptions, mixLineStrings, mixNumbers, objectDifference, omit, rectanglesToScale, sizeToRectangle } from \"@allmaps/stdlib\";\nimport { ProjectedGcpTransformer, webMercatorProjection } from \"@allmaps/project\";\nimport { Image } from \"@allmaps/iiif-parser\";\nimport { cloneDeep } from \"lodash-es\";\n//#region src/maps/WarpedMap.ts\nvar DEFAULT_WARPED_MAP_OPTIONS = {\n\tgcps: [],\n\tresourceMask: [],\n\ttransformationType: \"polynomial\",\n\tinternalProjection: webMercatorProjection,\n\tprojection: webMercatorProjection,\n\tvisible: true,\n\tanticipateVisibility: false,\n\toverviewTilesMaxResolution: void 0,\n\toverviewTilesSelection: \"lowest\",\n\tapplyMask: true,\n\tdistortionMeasure: void 0\n};\nvar DEFAULT_SPECIFIC_PROJECTED_GCP_TRANSFORMER_OPTIONS = {\n\tminOffsetRatio: .01,\n\tmaxDepth: 5,\n\tdifferentHandedness: true\n};\nvar DEFAULT_PROJECTED_GCP_TRANSFORMER_OPTIONS = {\n\t...DEFAULT_WARPED_MAP_OPTIONS,\n\t...DEFAULT_SPECIFIC_PROJECTED_GCP_TRANSFORMER_OPTIONS\n};\nfunction createWarpedMapFactory() {\n\treturn ((mapId, georeferencedMap, listOptions, mapOptions) => new WarpedMap(mapId, georeferencedMap, listOptions, mapOptions));\n}\n/**\n* Class for warped maps.\n* This class describes how a georeferenced map is warped using a specific transformation.\n*\n* @param mapId - ID of the map\n* @param georeferencedMap - Georeferenced map used to construct the WarpedMap\n* @param defaultOptions - Default options\n* @param georeferencedMapOptions - Options from georeferenced map\n* @param listOptions - Options from warped map list\n* @param mapOptions - Options specific to this map\n* @param options - Result of merging default, georeferenced map, list and specific map options\n* @param fetchingImageInfo - Whether the image information is loading\n* @param image - Parsed IIIF image\n* @param tileSize - Size of the tiles\n* @param mixed - Whether the options were last set by mixing previous and new properties, i.e. when rerendering during an ongoing animation\n* @param visible - Visibility of the map\n* @param previousVisible - Previous visible\n* @param visibilityOpacity - Opacity linked to visibility of the map\n* @param previousVisibilityOpacity - Opacity linked to previous visibility of the map\n* @param applyMask - Apply the mask\n* @param previousApplyMask - Previous applyMask\n* @param applyMaskOpacity - Opacity for the triangles outside the mask, linked to appling of the mask\n* @param previousApplyMaskOpacity - Opacity for the triangles outside the mask, linked to previous appling of the mask\n* @param gcps - Ground control points used for warping this map, from resource coordinates to geospatial coordinates\n* @param projectedGcps - Projected ground control points, from resource coordinates to projected geospatial coordinates\n* @param resourcePoints - The resource coordinates of the ground control points\n* @param geoPoints - The geospatial coordinates of the ground control points\n* @param projectedGeoPoints - The projected geospatial coordinates of the projected ground control points\n* @param projectedGeoTransformedResourcePoints - The resource coordinates of the ground control points, transformed to projected geospatial coordinates using the projected transformer\n* @param projectedGeoPreviousTransformedResourcePoints - The projectedGeoTransformedResourcePoints of the previous transformation type, used during transformation transitions\n* @param resourceFullMask - Resource full mask (describing the entire extent of the image)\n* @param resourceFullMaskBbox - Bbox of the resource full mask\n* @param resourceFullMaskRectangle - Rectangle of the resource full mask bbox\n* @param resourceAppliedMask - Resource applied mask. In case 'applyMask' is true, this is the resourceMask. In case 'applyMask' is false, this is the resourceFullMask.\n* @param resourceAppliedMaskBbox - Bbox of the resourceAppliedMask\n* @param resourceAppliedMaskRectangle - Rectangle of the resourceAppliedMaskBbox\n* @param resourceMask - Resource mask\n* @param resourceMaskBbox - Bbox of the resourceMask\n* @param resourceMaskRectangle - Rectangle of the resourceMaskBbox\n* @param transformationType - Transformation type used in the transfomer. This is loaded from the georeference annotation.\n* @param previousTransformationType - Previous transformation type\n* @param internalProjection - Internal projection used in the projected transformer\n* @param previousInternalProjection - Previous internal projection\n* @param projection - Projection of the projected geospatial coordinates space\n* @param projectedTransformer - Transformer used for warping this map from resource coordinates to projected geospatial coordinates\n* @param projectedPreviousTransformer - Previous transformer used for warping this map from resource coordinates to projected geospatial coordinates\n* @param geoFullMask - resourceMask in geospatial coordinates\n* @param geoFullMaskBbox - Bbox of the geoFullMask\n* @param geoFullMaskRectangle - resourceFullMaskRectangle in geospatial coordinates\n* @param geoMask - resourceMask in geospatial coordinates\n* @param geoMaskBbox - Bbox of the geoMask\n* @param geoMaskRectangle - resourceMaskRectangle in geospatial coordinates\n* @param geoAppliedMask - resourceAppliedMask in geospatial coordinates\n* @param geoAppliedMaskBbox - Bbox of the geoFullMask\n* @param geoAppliedMaskRectangle - resourceAppliedMaskRectangle in geospatial coordinates\n* @param projectedGeoFullMask - resourceFullMask in projected geospatial coordinates\n* @param projectedGeoFullMaskBbox - Bbox of the projectedGeoFullMask\n* @param projectedGeoFullMaskRectangle - resourceFullMaskRectangle in projected geospatial coordinates\n* @param projectedGeoMask - resourceMask in projected geospatial coordinates\n* @param projectedGeoMaskBbox - Bbox of the projectedGeoMask\n* @param projectedGeoMaskRectangle - resourceMaskRectanglee in projected geospatial coordinates\n* @param projectedGeoAppliedMask - resourceAppliedMask in projected geospatial coordinates\n* @param projectedGeoAppliedMaskBbox - Bbox of the projectedGeoAppliedMask\n* @param projectedGeoAppliedMaskRectangle - resourceAppliedMaskRectangle in projected geospatial coordinates\n* @param resourceToProjectedGeoScale - Scale of the warped map, in resource pixels per projected geospatial coordinates\n* @param distortionMeasure - Distortion measure displayed for this map\n* @param previousDistortionMeasure - Previous distortion measure displayed for this map\n* @param tileZoomLevelForViewport - The tile zoom level, for the current viewport\n* @param overviewTileZoomLevelForViewport - The overview tile zoom level, for the current viewport\n* @param projectedGeoBufferedViewportRectangleForViewport - The (buffered) viewport in projected geospatial coordinates, for the current viewport\n* @param projectedGeoBufferedViewportRectangleBboxForViewport - Bbox of the projectedGeoBufferedViewportRectangle\n* @param resourceBufferedViewportRingForViewport - The (buffered) viewport transformed back to resource coordinates, for the current viewport\n* @param resourceBufferedViewportRingBboxForViewport - Bbox of the resourceViewportRing\n* @param resourceBufferedViewportRingBboxAndResourceMaskBboxIntersectionForViewport - The intersection of the bbox of the (buffered) viewport transformed back to resource coordinates and the bbox of the resource mask, for the current viewport\n* @param fetchableTilesForViewport - The fetchable tiles for displaying this map, for the current viewport\n* @param overviewFetchableTilesForViewport - The overview fetchable tiles, for the current viewport\n*/\nvar WarpedMap = class WarpedMap extends EventTarget {\n\tmapId;\n\tgeoreferencedMap;\n\tdefaultOptions;\n\tgeoreferencedMapOptions;\n\tlistOptions;\n\tmapOptions;\n\toptions;\n\tfetchingImageInfo;\n\timage;\n\ttileSize;\n\tabortController;\n\tmixed = false;\n\tvisible;\n\tpreviousVisible;\n\tvisibilityOpacity;\n\tpreviousVisibilityOpacity;\n\tapplyMask;\n\tpreviousApplyMask;\n\tapplyMaskOpacity;\n\tpreviousApplyMaskOpacity;\n\tgcps;\n\tprojectedGcps;\n\tresourcePoints;\n\tgeoPoints;\n\tprojectedGeoPoints;\n\tprojectedGeoTransformedResourcePoints;\n\tprojectedGeoPreviousTransformedResourcePoints;\n\tresourceFullMask;\n\tresourceFullMaskBbox;\n\tresourceFullMaskRectangle;\n\tresourceMask;\n\tresourceMaskBbox;\n\tresourceMaskRectangle;\n\tresourceAppliedMask;\n\tresourceAppliedMaskBbox;\n\tresourceAppliedMaskRectangle;\n\ttransformationType;\n\tpreviousTransformationType;\n\tinternalProjection;\n\tpreviousInternalProjection;\n\tprojection;\n\tprojectedTransformer;\n\tprojectedPreviousTransformer;\n\tprojectedTransformerCache;\n\tprojectedTransformerDoubleCache;\n\tgeoFullMask;\n\tgeoFullMaskBbox;\n\tgeoFullMaskRectangle;\n\tgeoMask;\n\tgeoMaskBbox;\n\tgeoMaskRectangle;\n\tgeoAppliedMask;\n\tgeoAppliedMaskBbox;\n\tgeoAppliedMaskRectangle;\n\tprojectedGeoFullMask;\n\tprojectedGeoFullMaskBbox;\n\tprojectedGeoFullMaskRectangle;\n\tprojectedGeoMask;\n\tprojectedGeoMaskBbox;\n\tprojectedGeoMaskRectangle;\n\tprojectedGeoAppliedMask;\n\tprojectedGeoAppliedMaskBbox;\n\tprojectedGeoAppliedMaskRectangle;\n\tresourceToProjectedGeoScale;\n\tdistortionMeasure;\n\tpreviousDistortionMeasure;\n\ttileZoomLevelForViewport;\n\toverviewTileZoomLevelForViewport;\n\tprojectedGeoBufferedViewportRectangleForViewport;\n\tprojectedGeoBufferedViewportRectangleBboxForViewport;\n\tresourceBufferedViewportRingForViewport;\n\tresourceBufferedViewportRingBboxForViewport;\n\tresourceBufferedViewportRingBboxAndResourceMaskBboxIntersectionForViewport;\n\tfetchableTilesForViewport = [];\n\toverviewFetchableTilesForViewport = [];\n\t/**\n\t* Creates an instance of WarpedMap.\n\t*\n\t* @param mapId - ID of the map\n\t* @param georeferencedMap - Georeferenced map used to construct the WarpedMap\n\t* @param options - options\n\t*/\n\tconstructor(mapId, georeferencedMap, listOptions = {}, mapOptions = {}) {\n\t\tsuper();\n\t\tthis.mapId = mapId;\n\t\tthis.georeferencedMap = georeferencedMap;\n\t\tthis.projectedTransformerCache = /* @__PURE__ */ new Map();\n\t\tthis.projectedTransformerDoubleCache = /* @__PURE__ */ new Map();\n\t\tthis.fetchingImageInfo = false;\n\t\tthis.mapOptions = mapOptions;\n\t\tthis.listOptions = listOptions;\n\t\tthis.georeferencedMapOptions = {\n\t\t\ttransformationType: georeferencedMap.transformation?.type,\n\t\t\tinternalProjection: georeferencedMap.resourceCrs,\n\t\t\tgcps: georeferencedMap.gcps,\n\t\t\tresourceMask: georeferencedMap.resourceMask\n\t\t};\n\t\tthis.setDefaultOptions();\n\t\tthis.applyOptions({ stage: \"init\" });\n\t}\n\t/**\n\t* Get default options\n\t*/\n\tstatic getDefaultOptions() {\n\t\treturn DEFAULT_WARPED_MAP_OPTIONS;\n\t}\n\t/**\n\t* Get default options without the options overwritten by the georeferenced map\n\t*/\n\tstatic getDefaultWithoutGeoreferencedMapOptions() {\n\t\treturn omit(DEFAULT_WARPED_MAP_OPTIONS, [\n\t\t\t\"transformationType\",\n\t\t\t\"internalProjection\",\n\t\t\t\"resourceMask\",\n\t\t\t\"gcps\"\n\t\t]);\n\t}\n\t/**\n\t* Get the resource applied mask, mask or full mask, based on an input option.\n\t*/\n\tgetResourceAppliedMask(applyMask) {\n\t\tif (applyMask === void 0) return this.resourceAppliedMask;\n\t\telse if (applyMask) return this.resourceMask;\n\t\telse return this.resourceFullMask;\n\t}\n\t/**\n\t* Get the geo applied mask, mask or full mask, based on an input option.\n\t*/\n\tgetGeoAppliedMask(applyMask) {\n\t\tif (applyMask === void 0) return this.geoAppliedMask;\n\t\telse if (applyMask) return this.geoMask;\n\t\telse return this.geoFullMask;\n\t}\n\t/**\n\t* Get the projected geo applied mask, mask or full mask, based on an input option.\n\t*/\n\tgetProjectedGeoAppliedMask(applyMask) {\n\t\tif (applyMask === void 0) return this.projectedGeoAppliedMask;\n\t\telse if (applyMask) return this.projectedGeoMask;\n\t\telse return this.projectedGeoFullMask;\n\t}\n\t/**\n\t* Get default and georeferenced map options\n\t*/\n\tgetDefaultAndGeoreferencedMapOptions() {\n\t\treturn mergeOptionsUnlessUndefined(this.defaultOptions, this.georeferencedMapOptions);\n\t}\n\t/**\n\t* Get scale of the warped map, in resource pixels per viewport pixels.\n\t*\n\t* @param viewport - the current viewport\n\t* @returns\n\t*/\n\tgetResourceToViewportScale(viewport) {\n\t\treturn rectanglesToScale(this.resourceMaskRectangle, this.projectedGeoMaskRectangle.map((point) => {\n\t\t\treturn applyHomogeneousTransform(viewport.projectedGeoToViewportHomogeneousTransform, point);\n\t\t}));\n\t}\n\t/**\n\t* Get scale of the warped map, in resource pixels per canvas pixels.\n\t*\n\t* @param viewport - the current viewport\n\t* @returns\n\t*/\n\tgetResourceToCanvasScale(viewport) {\n\t\treturn this.getResourceToViewportScale(viewport) / viewport.devicePixelRatio;\n\t}\n\t/**\n\t* Get the reference scaling from the forward transformation of the projected Helmert transformer\n\t*\n\t* @returns\n\t*/\n\tgetReferenceScale() {\n\t\treturn this.getProjectedTransformer(\"helmert\").getToGeoTransformation().getMeasures().scale;\n\t}\n\t/**\n\t* Get a projected transformer of the given transformation type.\n\t*\n\t* Uses cashed projected transformers by transformation type,\n\t* and only computes a new projected transformer if none found.\n\t*\n\t* Returns a projected transformer in the current projection,\n\t* even if the cached transformer was computed in a different projection.\n\t*\n\t* Default settings apply for the options.\n\t*\n\t* @params transformationType - the transformation type\n\t* @params partialProjectedGcpTransformerOptions - options\n\t* @returns A projected transformer\n\t*/\n\tgetProjectedTransformer(transformationType, partialProjectedGcpTransformerOptions) {\n\t\tconst options = mergeOptionsUnlessUndefined(DEFAULT_PROJECTED_GCP_TRANSFORMER_OPTIONS, {\n\t\t\tprojection: this.projection,\n\t\t\tinternalProjection: this.internalProjection\n\t\t}, partialProjectedGcpTransformerOptions);\n\t\ttransformationType = transformationType ?? this.transformationType;\n\t\treturn getPropertyFromDoubleCacheOrComputation(this.projectedTransformerDoubleCache, transformationType, this.projection.definition, () => {\n\t\t\tconst projectedTransformer = getPropertyFromCacheOrComputation(this.projectedTransformerCache, transformationType, () => new ProjectedGcpTransformer(this.gcps, transformationType, omit(options, [\"projection\"])));\n\t\t\treturn ProjectedGcpTransformer.setProjection(cloneDeep(projectedTransformer), options.projection);\n\t\t});\n\t}\n\t/**\n\t* Set the defaultOptions\n\t*/\n\tsetDefaultOptions() {\n\t\tthis.defaultOptions = WarpedMap.getDefaultOptions();\n\t}\n\t/**\n\t* Set the list options\n\t*\n\t* @param listOptions - list options\n\t* @param animationOptions - Animation options\n\t*/\n\tsetListOptions(listOptions, animationOptions) {\n\t\treturn this.setMapAndListOptions(void 0, listOptions, animationOptions);\n\t}\n\t/**\n\t* Set the map-specific options\n\t*\n\t* @param mapOptions - Map-specific options\n\t* @param animationOptions - Animation options\n\t*/\n\tsetMapOptions(mapOptions, animationOptions) {\n\t\treturn this.setMapAndListOptions(mapOptions, void 0, animationOptions);\n\t}\n\t/**\n\t* Set the map-specific options, and the list options\n\t*\n\t* @param mapOptions - Map-specific options\n\t* @param listOptions - list options\n\t* @param animationOptions - Animation options\n\t*/\n\tsetMapAndListOptions(mapOptions, listOptions, animationOptions) {\n\t\tconst optionKeysPossiblyChanged = [];\n\t\tif (mapOptions !== void 0 && Object.keys(mapOptions).length > 0) {\n\t\t\tthis.mapOptions = mergeOptions(this.mapOptions, mapOptions);\n\t\t\toptionKeysPossiblyChanged.push(...Object.keys(mapOptions));\n\t\t}\n\t\tif (listOptions !== void 0 && Object.keys(listOptions).length > 0) {\n\t\t\tthis.listOptions = mergeOptions(this.listOptions, listOptions);\n\t\t\toptionKeysPossiblyChanged.push(...Object.keys(listOptions));\n\t\t}\n\t\treturn this.applyOptions(mergePartialOptions(animationOptions, { optionKeysPossiblyChanged }));\n\t}\n\tapplyOptions(animationOptions) {\n\t\tconst options = mergeOptionsUnlessUndefined(this.defaultOptions, this.georeferencedMapOptions, this.listOptions, this.mapOptions);\n\t\tconst optionKeysToConsider = animationOptions?.optionKeysPossiblyChanged?.filter((k) => animationOptions.optionKeysToOmit ? !animationOptions.optionKeysToOmit.includes(k) : true);\n\t\tconst changedOptions = objectDifference(options, this.options, optionKeysToConsider);\n\t\tthis.options = mergeOptions(this.options, changedOptions);\n\t\tif (animationOptions?.stage == \"init\") {\n\t\t\tthis.visible = this.options.visible;\n\t\t\tthis.previousVisible = this.visible;\n\t\t\tthis.visibilityOpacity = this.visible ? 1 : 0;\n\t\t\tthis.previousVisibilityOpacity = this.visibilityOpacity;\n\t\t\tthis.applyMask = this.options.applyMask;\n\t\t\tthis.previousApplyMask = this.applyMask;\n\t\t\tthis.applyMaskOpacity = this.applyMask ? 0 : 1;\n\t\t\tthis.previousApplyMaskOpacity = this.applyMaskOpacity;\n\t\t\tthis.gcps = this.options.gcps;\n\t\t\tthis.resourceFullMask = this.getResourceFullMask();\n\t\t\tthis.resourceMask = this.georeferencedMap.resourceMask;\n\t\t\tthis.resourceAppliedMask = this.applyMask ? this.resourceMask : this.resourceFullMask;\n\t\t\tthis.updateResourceMaskProperties();\n\t\t\tthis.transformationType = this.options.transformationType;\n\t\t\tthis.previousTransformationType = this.transformationType;\n\t\t\tthis.internalProjection = this.options.internalProjection;\n\t\t\tthis.previousInternalProjection = this.internalProjection;\n\t\t\tthis.projection = this.options.projection;\n\t\t\tthis.updateProjectedTransformerProperties();\n\t\t} else {\n\t\t\tif (\"visible\" in changedOptions) {\n\t\t\t\tthis.visible = this.options.visible;\n\t\t\t\tthis.visibilityOpacity = this.visible ? 1 : 0;\n\t\t\t}\n\t\t\tif (\"gcps\" in changedOptions) this.setGcps(this.options.gcps);\n\t\t\tif (\"resourceMask\" in changedOptions || \"applyMask\" in changedOptions) {\n\t\t\t\tthis.applyMask = this.options.applyMask;\n\t\t\t\tthis.applyMaskOpacity = this.applyMask ? 0 : 1;\n\t\t\t\tthis.setResourceMask();\n\t\t\t}\n\t\t\tif (\"transformationType\" in changedOptions) this.setTransformationType(this.options.transformationType);\n\t\t\tif (\"internalProjection\" in changedOptions) this.setInternalProjection(this.options.internalProjection);\n\t\t\tif (\"projection\" in changedOptions) this.setProjection(this.options.projection);\n\t\t\tif (\"distortionMeasure\" in changedOptions || \"distortionMeasures\" in changedOptions) this.setDistortionMeasure(this.options.distortionMeasure);\n\t\t}\n\t\treturn changedOptions;\n\t}\n\tshouldRenderMap(_partialOptions) {\n\t\treturn this.options.visible !== false || this.previousVisible !== false;\n\t}\n\tshouldRenderLines() {\n\t\treturn this.options.visible !== false || this.previousVisible !== false;\n\t}\n\tshouldRenderPoints() {\n\t\treturn this.options.visible !== false || this.previousVisible !== false;\n\t}\n\t/**\n\t* Update the ground control points loaded from a georeferenced map to new ground control points.\n\t*\n\t* @param gcps\n\t*/\n\tsetGcps(gcps) {\n\t\tthis.gcps = gcps;\n\t\tthis.clearProjectedTransformerCaches();\n\t\tthis.updateProjectedTransformerProperties();\n\t}\n\t/**\n\t* Update the resource mask loaded from a georeferenced map to a new mask.\n\t*\n\t* @param resourceMask\n\t*/\n\tsetResourceMask() {\n\t\tthis.resourceFullMask = this.getResourceFullMask();\n\t\tthis.resourceMask = this.options.resourceMask;\n\t\tthis.resourceAppliedMask = this.applyMask ? this.resourceMask : this.resourceFullMask;\n\t\tthis.updateResourceMaskProperties();\n\t\tthis.updateGeoMaskProperties();\n\t\tthis.updateProjectedGeoMaskProperties();\n\t}\n\t/**\n\t* Set the transformationType\n\t*\n\t* @param transformationType\n\t*/\n\tsetTransformationType(transformationType) {\n\t\tthis.transformationType = transformationType;\n\t\tif (!this.previousTransformationType) this.previousTransformationType = this.transformationType;\n\t\tthis.updateProjectedTransformerProperties();\n\t}\n\t/**\n\t* Set the distortionMeasure\n\t*\n\t* @param distortionMeasure - the disortion measure\n\t*/\n\tsetDistortionMeasure(distortionMeasure) {\n\t\tthis.distortionMeasure = distortionMeasure;\n\t}\n\t/**\n\t* Set the internal projection\n\t*\n\t* @param projection - the internal projection\n\t*/\n\tsetInternalProjection(projection) {\n\t\tthis.internalProjection = projection || DEFAULT_PROJECTED_GCP_TRANSFORMER_OPTIONS.internalProjection || webMercatorProjection;\n\t\tif (!this.previousInternalProjection) this.previousInternalProjection = this.internalProjection;\n\t\tthis.clearProjectedTransformerCaches();\n\t\tthis.updateProjectedTransformerProperties();\n\t}\n\t/**\n\t* Set the projection\n\t*\n\t* @param projection - the projection\n\t*/\n\tsetProjection(projection) {\n\t\tthis.projection = projection || DEFAULT_PROJECTED_GCP_TRANSFORMER_OPTIONS.projection || webMercatorProjection;\n\t\tthis.updateProjectedTransformerProperties();\n\t}\n\t/**\n\t* Set the tile zoom level for the current viewport\n\t*\n\t* @param tileZoomLevel - tile zoom level for the current viewport\n\t*/\n\tsetTileZoomLevelForViewport(tileZoomLevel) {\n\t\tthis.tileZoomLevelForViewport = tileZoomLevel;\n\t}\n\t/**\n\t* Set the overview tile zoom level for the current viewport\n\t*\n\t* @param tileZoomLevel - tile zoom level for the current viewport\n\t*/\n\tsetOverviewTileZoomLevelForViewport(tileZoomLevel) {\n\t\tthis.overviewTileZoomLevelForViewport = tileZoomLevel;\n\t}\n\t/**\n\t* Set projectedGeoBufferedViewportRectangle for the current viewport\n\t*\n\t* @param projectedGeoBufferedViewportRectangle\n\t*/\n\tsetProjectedGeoBufferedViewportRectangleForViewport(projectedGeoBufferedViewportRectangle) {\n\t\tthis.projectedGeoBufferedViewportRectangleForViewport = projectedGeoBufferedViewportRectangle;\n\t\tthis.projectedGeoBufferedViewportRectangleBboxForViewport = projectedGeoBufferedViewportRectangle ? computeBbox(projectedGeoBufferedViewportRectangle) : void 0;\n\t}\n\t/**\n\t* Set resourceBufferedViewportRing for the current viewport\n\t*\n\t* @param resourceBufferedViewportRing\n\t*/\n\tsetResourceBufferedViewportRingForViewport(resourceBufferedViewportRing) {\n\t\tthis.resourceBufferedViewportRingForViewport = resourceBufferedViewportRing;\n\t\tthis.resourceBufferedViewportRingBboxForViewport = resourceBufferedViewportRing ? computeBbox(resourceBufferedViewportRing) : void 0;\n\t}\n\t/**\n\t* Set resourceBufferedViewportRingBboxAndResourceAppliedMaskBboxIntersection for the current viewport\n\t*\n\t* @param resourceBufferedViewportRingBboxAndResourceAppliedMaskBboxIntersection\n\t*/\n\tsetResourceBufferedViewportRingBboxAndResourceAppliedMaskBboxIntersectionForViewport(resourceBufferedViewportRingBboxAndResourceAppliedMaskBboxIntersection) {\n\t\tthis.resourceBufferedViewportRingBboxAndResourceMaskBboxIntersectionForViewport = resourceBufferedViewportRingBboxAndResourceAppliedMaskBboxIntersection;\n\t}\n\t/**\n\t* Set tiles for the current viewport\n\t*\n\t* @param fetchableTiles\n\t*/\n\tsetFetchableTilesForViewport(fetchableTiles) {\n\t\tthis.fetchableTilesForViewport = fetchableTiles;\n\t}\n\t/**\n\t* Set overview tiles for the current viewport\n\t*\n\t* @param overviewFetchableTiles\n\t*/\n\tsetOverviewFetchableTilesForViewport(overviewFetchableTiles) {\n\t\tthis.overviewFetchableTilesForViewport = overviewFetchableTiles;\n\t}\n\t/**\n\t* Reset the properties for the current values\n\t*/\n\tresetForViewport() {\n\t\tthis.setTileZoomLevelForViewport();\n\t\tthis.setOverviewTileZoomLevelForViewport();\n\t\tthis.setProjectedGeoBufferedViewportRectangleForViewport();\n\t\tthis.setResourceBufferedViewportRingForViewport();\n\t\tthis.setFetchableTilesForViewport([]);\n\t\tthis.setOverviewFetchableTilesForViewport([]);\n\t}\n\t/**\n\t* Reset previous transform properties to new ones (when completing an animation).\n\t*/\n\tresetPrevious() {\n\t\tthis.mixed = false;\n\t\tthis.previousVisible = this.visible;\n\t\tthis.previousVisibilityOpacity = this.visibilityOpacity;\n\t\tthis.previousApplyMask = this.applyMask;\n\t\tthis.previousApplyMaskOpacity = this.applyMaskOpacity;\n\t\tthis.previousTransformationType = this.transformationType;\n\t\tthis.previousDistortionMeasure = this.distortionMeasure;\n\t\tthis.previousInternalProjection = this.internalProjection;\n\t\tthis.projectedPreviousTransformer = cloneDeep(this.projectedTransformer);\n\t\tthis.projectedGeoPreviousTransformedResourcePoints = this.projectedGeoTransformedResourcePoints;\n\t}\n\t/**\n\t* Mix previous transform properties with new ones (when changing an ongoing animation).\n\t*\n\t* @param t - animation progress\n\t*/\n\tmixPreviousAndNew(t) {\n\t\tthis.mixed = true;\n\t\tthis.previousVisible = this.visible;\n\t\tthis.previousVisibilityOpacity = mixNumbers(this.visibilityOpacity, this.previousVisibilityOpacity, t);\n\t\tthis.previousApplyMask = this.applyMask;\n\t\tthis.previousApplyMaskOpacity = mixNumbers(this.applyMaskOpacity, this.previousApplyMaskOpacity, t);\n\t\tthis.previousTransformationType = this.transformationType;\n\t\tthis.previousDistortionMeasure = this.distortionMeasure;\n\t\tthis.previousInternalProjection = this.internalProjection;\n\t\tthis.projectedPreviousTransformer = cloneDeep(this.projectedTransformer);\n\t\tthis.projectedGeoPreviousTransformedResourcePoints = mixLineStrings(this.projectedGeoTransformedResourcePoints, this.projectedGeoPreviousTransformedResourcePoints, t);\n\t}\n\t/**\n\t* Check if this instance has parsed image\n\t*\n\t* @returns\n\t*/\n\thasImage() {\n\t\treturn this.image !== void 0;\n\t}\n\t/**\n\t* Load the parsed image from cache, or fetch and parse the image info to create it\n\t*\n\t* @returns\n\t*/\n\tasync loadImage(imagesById) {\n\t\ttry {\n\t\t\tconst resourceId = this.georeferencedMap.resource.id;\n\t\t\tif (imagesById && imagesById.has(resourceId)) this.image = imagesById.get(resourceId);\n\t\t\telse {\n\t\t\t\tthis.fetchingImageInfo = true;\n\t\t\t\tthis.abortController = new AbortController();\n\t\t\t\tconst signal = this.abortController.signal;\n\t\t\t\tconst imageInfo = await fetchImageInfo(resourceId, { signal }, this.options.fetchFn);\n\t\t\t\tthis.abortController = void 0;\n\t\t\t\tthis.image = Image.parse(imageInfo);\n\t\t\t\tif (imagesById) imagesById.set(resourceId, this.image);\n\t\t\t}\n\t\t\tthis.tileSize = [Math.max(...this.image.tileZoomLevels.map((size) => size.width)), Math.max(...this.image.tileZoomLevels.map((size) => size.height))];\n\t\t\tthis.dispatchEvent(new WarpedMapEvent(WarpedMapEventType.IMAGELOADED));\n\t\t} catch (err) {\n\t\t\tthis.fetchingImageInfo = false;\n\t\t\tthrow err;\n\t\t} finally {\n\t\t\tthis.fetchingImageInfo = false;\n\t\t}\n\t}\n\tupdateResourceMaskProperties() {\n\t\tthis.resourceFullMaskBbox = computeBbox(this.resourceFullMask);\n\t\tthis.resourceFullMaskRectangle = bboxToRectangle(this.resourceFullMaskBbox);\n\t\tthis.resourceMaskBbox = computeBbox(this.resourceMask);\n\t\tthis.resourceMaskRectangle = bboxToRectangle(this.resourceMaskBbox);\n\t\tthis.resourceAppliedMaskBbox = computeBbox(this.resourceAppliedMask);\n\t\tthis.resourceAppliedMaskRectangle = bboxToRectangle(this.resourceAppliedMaskBbox);\n\t}\n\tgetResourceFullMask() {\n\t\tconst resourceWidth = this.georeferencedMap.resource.width;\n\t\tconst resourceHeight = this.georeferencedMap.resource.height;\n\t\tif (resourceWidth && resourceHeight) return sizeToRectangle([resourceWidth, resourceHeight]);\n\t\telse return bboxToRectangle(computeBbox(this.georeferencedMap.resourceMask));\n\t}\n\tupdateGeoMaskProperties() {\n\t\tthis.updateFullGeoMask();\n\t\tthis.updateGeoMask();\n\t\tthis.updateAppliedGeoMask();\n\t}\n\tupdateProjectedGeoMaskProperties() {\n\t\tthis.updateProjectedFullGeoMask();\n\t\tthis.updateProjectedGeoMask();\n\t\tthis.updateProjectedAppliedGeoMask();\n\t\tthis.updateResourceToProjectedGeoScale();\n\t}\n\tupdateProjectedTransformerProperties() {\n\t\tthis.updateProjectedTransformer();\n\t\tthis.updateGeoMaskProperties();\n\t\tthis.updateProjectedGeoMaskProperties();\n\t\tthis.updateGcpsProperties();\n\t}\n\tupdateProjectedTransformer() {\n\t\tthis.projectedTransformer = this.getProjectedTransformer(this.transformationType);\n\t\tif (!this.projectedPreviousTransformer) this.projectedPreviousTransformer = this.projectedTransformer;\n\t}\n\tupdateFullGeoMask() {\n\t\tthis.geoFullMask = this.projectedTransformer.transformToGeo([this.resourceFullMask])[0];\n\t\tthis.geoFullMaskBbox = computeBbox(this.geoFullMask);\n\t\tthis.geoFullMaskRectangle = this.projectedTransformer.transformToGeo([this.resourceFullMaskRectangle], { maxDepth: 0 })[0];\n\t}\n\tupdateGeoMask() {\n\t\tthis.geoMask = this.projectedTransformer.transformToGeo([this.resourceMask])[0];\n\t\tthis.geoMaskBbox = computeBbox(this.geoMask);\n\t\tthis.geoMaskRectangle = this.projectedTransformer.transformToGeo([this.resourceMaskRectangle], { maxDepth: 0 })[0];\n\t}\n\tupdateAppliedGeoMask() {\n\t\tthis.geoAppliedMask = this.applyMask ? this.geoMask : this.geoFullMask;\n\t\tthis.geoAppliedMaskBbox = this.applyMask ? this.geoMaskBbox : this.geoFullMaskBbox;\n\t\tthis.geoAppliedMaskRectangle = this.applyMask ? this.geoMaskRectangle : this.geoFullMaskRectangle;\n\t}\n\tupdateProjectedFullGeoMask() {\n\t\tthis.projectedGeoFullMask = this.projectedTransformer.transformToProjectedGeo([this.resourceFullMask])[0];\n\t\tthis.projectedGeoFullMaskBbox = computeBbox(this.projectedGeoFullMask);\n\t\tthis.projectedGeoFullMaskRectangle = this.projectedTransformer.transformToProjectedGeo([this.resourceFullMaskRectangle], { maxDepth: 0 })[0];\n\t}\n\tupdateProjectedGeoMask() {\n\t\tthis.projectedGeoMask = this.projectedTransformer.transformToProjectedGeo([this.resourceMask])[0];\n\t\tthis.projectedGeoMaskBbox = computeBbox(this.projectedGeoMask);\n\t\tthis.projectedGeoMaskRectangle = this.projectedTransformer.transformToProjectedGeo([this.resourceMaskRectangle], { maxDepth: 0 })[0];\n\t}\n\tupdateProjectedAppliedGeoMask() {\n\t\tthis.projectedGeoAppliedMask = this.applyMask ? this.projectedGeoMask : this.projectedGeoFullMask;\n\t\tthis.projectedGeoAppliedMaskBbox = this.applyMask ? this.projectedGeoMaskBbox : this.projectedGeoFullMaskBbox;\n\t\tthis.projectedGeoAppliedMaskRectangle = this.applyMask ? this.projectedGeoMaskRectangle : this.projectedGeoFullMaskRectangle;\n\t}\n\tupdateResourceToProjectedGeoScale() {\n\t\tthis.resourceToProjectedGeoScale = rectanglesToScale(this.resourceMaskRectangle, this.projectedGeoMaskRectangle);\n\t}\n\tupdateGcpsProperties() {\n\t\tthis.projectedGcps = this.gcps.map(({ resource, geo }) => ({\n\t\t\tresource,\n\t\t\tgeo: this.projectedTransformer.lonLatToProjection(geo)\n\t\t}));\n\t\tthis.resourcePoints = this.gcps.map((gcp) => gcp.resource);\n\t\tthis.geoPoints = this.gcps.map((gcp) => gcp.geo);\n\t\tthis.projectedGeoPoints = this.projectedGcps.map((projectedGcp) => projectedGcp.geo);\n\t\tthis.projectedGeoTransformedResourcePoints = this.gcps.map((projectedGcp) => this.projectedTransformer.transformToProjectedGeo(projectedGcp.resource));\n\t\tif (!this.projectedGeoPreviousTransformedResourcePoints) this.projectedGeoPreviousTransformedResourcePoints = this.projectedGeoTransformedResourcePoints;\n\t}\n\tclearProjectedTransformerCaches() {\n\t\tthis.projectedTransformerCache = /* @__PURE__ */ new Map();\n\t\tthis.projectedTransformerDoubleCache = /* @__PURE__ */ new Map();\n\t}\n\tdestroy() {\n\t\tif (this.abortController) this.abortController.abort();\n\t}\n};\n//#endregion\nexport { WarpedMap, createWarpedMapFactory };\n\n//# sourceMappingURL=WarpedMap.js.map"],"names":["DEFAULT_WARPED_MAP_OPTIONS","webMercatorProjection","DEFAULT_SPECIFIC_PROJECTED_GCP_TRANSFORMER_OPTIONS","DEFAULT_PROJECTED_GCP_TRANSFORMER_OPTIONS","createWarpedMapFactory","mapId","georeferencedMap","listOptions","mapOptions","WarpedMap","omit","applyMask","mergeOptionsUnlessUndefined","viewport","rectanglesToScale","point","applyHomogeneousTransform","transformationType","partialProjectedGcpTransformerOptions","options","getPropertyFromDoubleCacheOrComputation","projectedTransformer","getPropertyFromCacheOrComputation","ProjectedGcpTransformer","cloneDeep","animationOptions","optionKeysPossiblyChanged","mergeOptions","mergePartialOptions","optionKeysToConsider","k","changedOptions","objectDifference","_partialOptions","gcps","distortionMeasure","projection","tileZoomLevel","projectedGeoBufferedViewportRectangle","computeBbox","resourceBufferedViewportRing","resourceBufferedViewportRingBboxAndResourceAppliedMaskBboxIntersection","fetchableTiles","overviewFetchableTiles","t","mixNumbers","mixLineStrings","imagesById","resourceId","signal","imageInfo","fetchImageInfo","Image","size","WarpedMapEvent","WarpedMapEventType","err","bboxToRectangle","resourceWidth","resourceHeight","sizeToRectangle","resource","geo","gcp","projectedGcp"],"mappings":"6iBAOA,IAAIA,EAA6B,CAChC,KAAM,CAAA,EACN,aAAc,CAAA,EACd,mBAAoB,aACpB,mBAAoBC,EAAAA,sBACpB,WAAYA,EAAAA,sBACZ,QAAS,GACT,qBAAsB,GACtB,2BAA4B,OAC5B,uBAAwB,SACxB,UAAW,GACX,kBAAmB,MACpB,EACIC,EAAqD,CACxD,eAAgB,IAChB,SAAU,EACV,oBAAqB,EACtB,EACIC,EAA4C,CAC/C,GAAGH,EACH,GAAGE,CACJ,EACA,SAASE,GAAyB,CACjC,MAAQ,CAACC,EAAOC,EAAkBC,EAAaC,IAAe,IAAIC,EAAUJ,EAAOC,EAAkBC,EAAaC,CAAU,CAC7H,CA8EA,IAAIC,EAAY,MAAMA,UAAkB,WAAY,CACnD,MACA,iBACA,eACA,wBACA,YACA,WACA,QACA,kBACA,MACA,SACA,gBACA,MAAQ,GACR,QACA,gBACA,kBACA,0BACA,UACA,kBACA,iBACA,yBACA,KACA,cACA,eACA,UACA,mBACA,sCACA,8CACA,iBACA,qBACA,0BACA,aACA,iBACA,sBACA,oBACA,wBACA,6BACA,mBACA,2BACA,mBACA,2BACA,WACA,qBACA,6BACA,0BACA,gCACA,YACA,gBACA,qBACA,QACA,YACA,iBACA,eACA,mBACA,wBACA,qBACA,yBACA,8BACA,iBACA,qBACA,0BACA,wBACA,4BACA,iCACA,4BACA,kBACA,0BACA,yBACA,iCACA,iDACA,qDACA,wCACA,4CACA,2EACA,0BAA4B,CAAA,EAC5B,kCAAoC,CAAA,EAQpC,YAAYJ,EAAOC,EAAkBC,EAAc,CAAA,EAAIC,EAAa,GAAI,CACvE,MAAA,EACA,KAAK,MAAQH,EACb,KAAK,iBAAmBC,EACxB,KAAK,8BAAgD,IACrD,KAAK,oCAAsD,IAC3D,KAAK,kBAAo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YAAY,CAAC,EAAE,CAAC,EAChG,KAAK,qBAAuBA,cAAY,KAAK,gBAAgB,EAC7D,KAAK,0BAA4B,KAAK,qBAAqB,wBAAwB,CAAC,KAAK,qBAAqB,EAAG,CAAE,SAAU,CAAA,CAAG,EAAE,CAAC,CACpI,CACA,+BAAgC,CAC/B,KAAK,wBAA0B,KAAK,UAAY,KAAK,iBAAmB,KAAK,qBAC7E,KAAK,4BAA8B,KAAK,UAAY,KAAK,qBAAuB,KAAK,yBACrF,KAAK,iCAAmC,KAAK,UAAY,KAAK,0BAA4B,KAAK,6BAChG,CACA,mCAAoC,CACnC,KAAK,4BAA8BzB,EAAAA,kBAAkB,KAAK,sBAAuB,KAAK,yBAAyB,CAChH,CACA,sBAAuB,CACtB,KAAK,cAAgB,KAAK,KAAK,IAAI,CAAC,CAAE,SAAA+C,EAAU,IAAAC,MAAW,CAC1D,SAAAD,EACA,IAAK,KAAK,qBAAqB,mBAAmBC,CAAG,CAAA,EACpD,EACF,KAAK,eAAiB,KAAK,KAAK,IAAKC,GAAQA,EAAI,QAAQ,EACzD,KAAK,UAAY,KAAK,KAAK,IAAKA,GAAQA,EAAI,GAAG,EAC/C,KAAK,mBAAqB,KAAK,cAAc,IAAKC,GAAiBA,EAAa,GAAG,EACnF,KAAK,sCAAwC,KAAK,KAAK,IAAKA,GAAiB,KAAK,qBAAqB,wBAAwBA,EAAa,QAAQ,CAAC,EAChJ,KAAK,gDAA+C,KAAK,8CAAgD,KAAK,sCACpH,CACA,iCAAkC,CACjC,KAAK,8BAAgD,IACrD,KAAK,oCAAsD,GAC5D,CACA,SAAU,CACL,KAAK,iBAAiB,KAAK,gBAAgB,MAAA,CAChD,CACD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e,r){const t=Array.isArray(e)?e[0]:e?e.x:0,s=Array.isArray(e)?e[1]:e?e.y:0,n=Array.isArray(r)?r[0]:r?r.x:0,f=Array.isArray(r)?r[1]:r?r.y:0;return t===n&&s===f}function y(e,r){if(e===r)return!0;if(!e||!r)return!1;if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;for(let t=0;t<e.length;t++)if(!y(e[t],r[t]))return!1;return!0}else if(Array.isArray(r))return!1;if(typeof e=="object"&&typeof r=="object"){const t=Object.keys(e),s=Object.keys(r);if(t.length!==s.length)return!1;for(const n of t)if(!r.hasOwnProperty(n)||!y(e[n],r[n]))return!1;return!0}return!1}exports.arePointsEqual=i;exports.deepEqual=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const G=require("./index.cjs329.js"),B=require("./index.cjs216.js"),f=require("./index.cjs330.js"),r=require("./index.cjs275.js");function p(n){let t=Number.POSITIVE_INFINITY,e=Number.NEGATIVE_INFINITY;for(const o of n)t===void 0?o>=o&&(t=e=o):(t>o&&(t=o),e<o&&(e=o));return[t,e]}function y(n){let t;if(r.isGeometry(n))t=r.geometryToPoints(n);else if(f.isGeojsonGeometry(n))t=f.geojsonGeometryToPoints(n);else throw new Error("Unsupported Geometry");const e=t.map(u=>u[0]),o=t.map(u=>u[1]),[c,i]=p(e),[T,a]=p(o);return[c,T,i,a]}function q(n,t){let e;if(r.isGeometry(n))e=r.geometryToPoints(n);else if(f.isGeojsonGeometry(n))e=f.geojsonGeometryToPoints(n);else throw new Error("Unsupported Geometry");const o=r.midPoint(...e),c=r.rotatePoints(e,t,o),i=y(c),T=I(i),a=l(i),u=r.rotatePoint(T,-t,o),d=m(a,u),h=s(d),S=r.rotatePoints(h,-t,u);return{center:u,size:a,bbox:d,rectangle:h,rotatedRectangle:S}}function E(...n){if(n.length!==0)return[Math.min(...n.map(t=>t[0])),Math.min(...n.map(t=>t[1])),Math.max(...n.map(t=>t[2])),Math.max(...n.map(t=>t[3]))]}function R(n,t){const e=n[2]>=t[0]&&t[2]>=n[0],o=n[3]>=t[1]&&t[3]>=n[1];return e&&o}function A(n,t){const e=Math.max(n[0],t[0]),o=Math.min(n[2],t[2]),c=Math.max(n[1],t[1]),i=Math.min(n[3],t[3]);if(e<o&&c<i)return[e,c,o,i]}function w(n,t){return R([n[0],n[1],n[0],n[1]],t)}function g(n){const t=s(y(n));return r.isEqualPointArray(t,n)||r.isEqualPointArray(t,B.rotateArray(n,1))||r.isEqualPointArray(t,B.rotateArray(n,2))||r.isEqualPointArray(t,B.rotateArray(n,3))}function N(n){return n.length==1&&g(n[0])}function x(n,t,e){return e===void 0&&(e=t),[n[0]-t,n[1]-e,n[2]+t,n[3]+e]}function Y(n,t){if(!t||t===1)return n;const e=l(n);return x(n,...e.map(o=>o*(t-1)/2))}function s(n){return[[n[0],n[1]],[n[2],n[1]],[n[2],n[3]],[n[0],n[3]]]}function j(n){return[s(n)]}function C(n){return[[n[0],n[1]],[n[2],n[3]]]}function I(n){return[(n[0]+n[2])/2,(n[1]+n[3])/2]}function l(n){return[n[2]-n[0],n[3]-n[1]]}function P(n){return[.5*(r.distance(n[0],n[1])+r.distance(n[2],n[3])),.5*(r.distance(n[1],n[2])+r.distance(n[3],n[0]))]}function X(n){if(n.length!==0)return G(n)}function M(n,t,e){if(e==="contain")return n[0]/n[1]>=t[0]/t[1]?n[0]/t[0]:n[1]/t[1];if(e==="cover")return n[0]/n[1]>=t[0]/t[1]?n[1]/t[1]:n[0]/t[0];if(!e||e=="equal")return Math.sqrt(n[0]*n[1]/(t[0]*t[1]));throw new Error("Unknown fit")}function O(n,t){const e=I(n);let o=l(n);return o=v(o,t),m(o,e)}function v(n,t){return[n[0]*t,n[1]*t]}function U(n){return n[0]*n[1]}function F(n){return[n[0]/2,n[1]/2]}function m(n,t){return t?[t[0]-n[0]/2,t[1]-n[1]/2,t[0]+n[0]/2,t[1]+n[1]/2]:[0,0,...n]}function H(n,t){return s(m(n,t))}function L(n,t,e){return M(P(n),P(t),e)}exports.bboxToCenter=I;exports.bboxToLine=C;exports.bboxToPolygon=j;exports.bboxToRectangle=s;exports.bboxToSize=l;exports.bufferBbox=x;exports.bufferBboxByRatio=Y;exports.combineBboxes=E;exports.computeBbox=y;exports.computeMinMax=p;exports.computeRotatedBboxProperties=q;exports.convexHull=X;exports.doBboxesIntersect=R;exports.intersectBboxes=A;exports.pointInBbox=w;exports.polygonIsBboxRectangle=N;exports.rectangleToSize=P;exports.rectanglesToScale=L;exports.ringIsBboxRectangle=g;exports.scaleBbox=O;exports.scaleSize=v;exports.sizeToBbox=m;exports.sizeToCenter=F;exports.sizeToRectangle=H;exports.sizeToResolution=U;exports.sizesToScale=M;
2
2
  //# sourceMappingURL=index.cjs215.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs215.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/deep-equal.js"],"sourcesContent":["/**\n * Compare two points\n * @param a\n * @param b\n * @returns true if the points are equal\n */\nexport function arePointsEqual(a, b) {\n const ax = Array.isArray(a) ? a[0] : a ? a.x : 0;\n const ay = Array.isArray(a) ? a[1] : a ? a.y : 0;\n const bx = Array.isArray(b) ? b[0] : b ? b.x : 0;\n const by = Array.isArray(b) ? b[1] : b ? b.y : 0;\n return ax === bx && ay === by;\n}\n/* eslint-disable complexity */\n/**\n * Compare any two objects\n * @param a\n * @param b\n * @returns true if the objects are deep equal\n */\nexport function deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (!a || !b) {\n return false;\n }\n if (Array.isArray(a)) {\n if (!Array.isArray(b) || a.length !== b.length) {\n return false;\n }\n for (let i = 0; i < a.length; i++) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n else if (Array.isArray(b)) {\n return false;\n }\n if (typeof a === 'object' && typeof b === 'object') {\n const aKeys = Object.keys(a);\n const bKeys = Object.keys(b);\n if (aKeys.length !== bKeys.length) {\n return false;\n }\n for (const key of aKeys) {\n if (!b.hasOwnProperty(key)) {\n return false;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return false;\n}\n//# sourceMappingURL=deep-equal.js.map"],"names":["arePointsEqual","a","b","ax","ay","bx","by","deepEqual","i","aKeys","bKeys","key"],"mappings":"gFAMO,SAASA,EAAeC,EAAGC,EAAG,CACjC,MAAMC,EAAK,MAAM,QAAQF,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCG,EAAK,MAAM,QAAQH,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCI,EAAK,MAAM,QAAQH,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCI,EAAK,MAAM,QAAQJ,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EAC/C,OAAOC,IAAOE,GAAMD,IAAOE,CAC/B,CAQO,SAASC,EAAUN,EAAGC,EAAG,CAC5B,GAAID,IAAMC,EACN,MAAO,GAEX,GAAI,CAACD,GAAK,CAACC,EACP,MAAO,GAEX,GAAI,MAAM,QAAQD,CAAC,EAAG,CAClB,GAAI,CAAC,MAAM,QAAQC,CAAC,GAAKD,EAAE,SAAWC,EAAE,OACpC,MAAO,GAEX,QAASM,EAAI,EAAGA,EAAIP,EAAE,OAAQO,IAC1B,GAAI,CAACD,EAAUN,EAAEO,CAAC,EAAGN,EAAEM,CAAC,CAAC,EACrB,MAAO,GAGf,MAAO,EACX,SACS,MAAM,QAAQN,CAAC,EACpB,MAAO,GAEX,GAAI,OAAOD,GAAM,UAAY,OAAOC,GAAM,SAAU,CAChD,MAAMO,EAAQ,OAAO,KAAKR,CAAC,EACrBS,EAAQ,OAAO,KAAKR,CAAC,EAC3B,GAAIO,EAAM,SAAWC,EAAM,OACvB,MAAO,GAEX,UAAWC,KAAOF,EAId,GAHI,CAACP,EAAE,eAAeS,CAAG,GAGrB,CAACJ,EAAUN,EAAEU,CAAG,EAAGT,EAAES,CAAG,CAAC,EACzB,MAAO,GAGf,MAAO,EACX,CACA,MAAO,EACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs215.js","sources":["../../../node_modules/@allmaps/stdlib/dist/bbox.js"],"sourcesContent":["import monotoneChainConvexHull from 'monotone-chain-convex-hull';\nimport { rotateArray } from './main.js';\nimport { isGeojsonGeometry, geojsonGeometryToPoints } from './geojson.js';\nimport { distance, isGeometry, geometryToPoints, rotatePoints, rotatePoint, midPoint, isEqualPointArray } from './geometry.js';\nexport const MIN_POINT_LNG_LAT_PROJECTION = [-180, -90];\nexport const MAX_POINT_LNG_LAT_PROJECTION = [180, 90];\nexport const MIN_POINT_WEBMERCATOR_PROJECTION = [\n -20037508.34, -20048966.1\n];\nexport const MAX_POINT_WEBMERCATOR_PROJECTION = [\n 20037508.34, 20048966.1\n];\n// Compute\nexport function computeMinMax(values) {\n let min = Number.POSITIVE_INFINITY;\n let max = Number.NEGATIVE_INFINITY;\n for (const value of values) {\n if (min === undefined) {\n if (value >= value)\n min = max = value;\n }\n else {\n if (min > value)\n min = value;\n if (max < value)\n max = value;\n }\n }\n return [min, max];\n}\nexport function clipValue(value, min, max) {\n return Math.max(Math.min(value, max), min);\n}\nexport function clipPoint(point, min, max) {\n return [\n clipValue(point[0], min[0], max[0]),\n clipValue(point[1], min[1], max[1])\n ];\n}\nexport function clipPointLngLatProjection(point) {\n return clipPoint(point, MIN_POINT_LNG_LAT_PROJECTION, MAX_POINT_LNG_LAT_PROJECTION);\n}\nexport function clipPointWebMercatorProjection(point) {\n return clipPoint(point, MIN_POINT_WEBMERCATOR_PROJECTION, MAX_POINT_WEBMERCATOR_PROJECTION);\n}\n// Note: bbox order is minX, minY, maxX, maxY\nexport function computeBbox(geometry) {\n let points;\n if (isGeometry(geometry)) {\n points = geometryToPoints(geometry);\n }\n else if (isGeojsonGeometry(geometry)) {\n points = geojsonGeometryToPoints(geometry);\n }\n else {\n throw new Error(`Unsupported Geometry`);\n }\n const xs = points.map((point) => point[0]);\n const ys = points.map((point) => point[1]);\n const [minX, maxX] = computeMinMax(xs);\n const [minY, maxY] = computeMinMax(ys);\n return [minX, minY, maxX, maxY];\n}\n// Takes angle in radians\nexport function computeRotatedBboxProperties(geometry, angle) {\n let points;\n if (isGeometry(geometry)) {\n points = geometryToPoints(geometry);\n }\n else if (isGeojsonGeometry(geometry)) {\n points = geojsonGeometryToPoints(geometry);\n }\n else {\n throw new Error(`Unsupported Geometry`);\n }\n // Note: approach similar to Viewport.fromSizeAndProjectedGeoPolygon()\n // Initially pivot around midpoint\n const pivot = midPoint(...points);\n // Rotate points around the pivot and compute bbox and it's center\n const rotatedPoints = rotatePoints(points, angle, pivot);\n const rotatedPointsBbox = computeBbox(rotatedPoints);\n const rotatedPointsBboxCenter = bboxToCenter(rotatedPointsBbox);\n const size = bboxToSize(rotatedPointsBbox);\n // Rotate center back around pivot and construct final 'bbox'\n // (but actually rectangle, since bbox must be horizontal)\n // around center, using same width and height as rotated bbox\n const center = rotatePoint(rotatedPointsBboxCenter, -angle, pivot);\n const bbox = sizeToBbox(size, center);\n const rectangle = bboxToRectangle(bbox);\n const rotatedRectangle = rotatePoints(rectangle, -angle, center);\n return { center, size, bbox, rectangle, rotatedRectangle };\n}\nexport function combineBboxes(...bboxes) {\n if (bboxes.length === 0) {\n return undefined;\n }\n return [\n Math.min(...bboxes.map((bbox) => bbox[0])),\n Math.min(...bboxes.map((bbox) => bbox[1])),\n Math.max(...bboxes.map((bbox) => bbox[2])),\n Math.max(...bboxes.map((bbox) => bbox[3]))\n ];\n}\nexport function doBboxesIntersect(bbox0, bbox1) {\n const isOverlappingInX = bbox0[2] >= bbox1[0] && bbox1[2] >= bbox0[0];\n const isOverlappingInY = bbox0[3] >= bbox1[1] && bbox1[3] >= bbox0[1];\n return isOverlappingInX && isOverlappingInY;\n}\nexport function intersectBboxes(bbox0, bbox1) {\n const minX = Math.max(bbox0[0], bbox1[0]);\n const maxX = Math.min(bbox0[2], bbox1[2]);\n const minY = Math.max(bbox0[1], bbox1[1]);\n const maxY = Math.min(bbox0[3], bbox1[3]);\n if (minX < maxX && minY < maxY) {\n return [minX, minY, maxX, maxY];\n }\n else {\n return undefined;\n }\n}\nexport function pointInBbox(point, bbox) {\n return doBboxesIntersect([point[0], point[1], point[0], point[1]], bbox);\n}\nexport function ringIsBboxRectangle(ring) {\n const rectangle = bboxToRectangle(computeBbox(ring));\n return (isEqualPointArray(rectangle, ring) ||\n isEqualPointArray(rectangle, rotateArray(ring, 1)) ||\n isEqualPointArray(rectangle, rotateArray(ring, 2)) ||\n isEqualPointArray(rectangle, rotateArray(ring, 3)));\n}\nexport function polygonIsBboxRectangle(polygon) {\n return polygon.length == 1 && ringIsBboxRectangle(polygon[0]);\n}\nexport function bufferBbox(bbox, dist0, dist1) {\n if (dist1 === undefined) {\n dist1 = dist0;\n }\n return [bbox[0] - dist0, bbox[1] - dist1, bbox[2] + dist0, bbox[3] + dist1];\n}\n// Ratio 2 adds half the current width (or height) both left and right of the current (width or height)\n// so the total width (or height) goes * 2 and the total surface goes * 4\nexport function bufferBboxByRatio(bbox, ratio) {\n if (!ratio || ratio === 1) {\n return bbox;\n }\n const size = bboxToSize(bbox);\n return bufferBbox(bbox, ...size.map((widthOrHeigth) => (widthOrHeigth * (ratio - 1)) / 2));\n}\n// Transform\n// Returns a rectangle with four points, starting from lower left and going anti-clockwise.\nexport function bboxToRectangle(bbox) {\n return [\n [bbox[0], bbox[1]],\n [bbox[2], bbox[1]],\n [bbox[2], bbox[3]],\n [bbox[0], bbox[3]]\n ];\n}\nexport function bboxToPolygon(bbox) {\n return [bboxToRectangle(bbox)];\n}\nexport function bboxToLine(bbox) {\n return [\n [bbox[0], bbox[1]],\n [bbox[2], bbox[3]]\n ];\n}\nexport function bboxToDiameter(bbox) {\n return distance(...bboxToLine(bbox));\n}\nexport function geometryToDiameter(geometry) {\n return distance(...bboxToLine(computeBbox(geometry)));\n}\nexport function bboxToCenter(bbox) {\n return [(bbox[0] + bbox[2]) / 2, (bbox[1] + bbox[3]) / 2];\n}\nexport function bboxToSize(bbox) {\n return [bbox[2] - bbox[0], bbox[3] - bbox[1]];\n}\nexport function bboxToResolution(bbox) {\n return sizeToResolution(bboxToSize(bbox));\n}\n// Approximate results for quadrilaterals, exact for rectangles (e.g. coming from bboxes).\n// A more precise result would require a minimal-covering-rectangle algorithm\n// Or computing and comparing rectangle surfaces\nexport function rectangleToSize(rectangle) {\n return [\n 0.5 *\n (distance(rectangle[0], rectangle[1]) +\n distance(rectangle[2], rectangle[3])),\n 0.5 *\n (distance(rectangle[1], rectangle[2]) +\n distance(rectangle[3], rectangle[0]))\n ];\n}\n// Convex hull\nexport function convexHull(points) {\n if (points.length === 0) {\n return undefined;\n }\n return monotoneChainConvexHull(points);\n}\n// Sizes and Scales\n/**\n * Compute a scale from two sizes\n *\n * For unspecified 'fit', the scale is computed based on the surface area derived from the sizes.\n *\n * For specified 'fit':\n *\n * Example for square rectangles bbox0 '*' and bbox1 '.':\n *\n * 'contain' where '*' contains '.'\n * (in the first size0 is relatively wider)\n *\n * ****\n * * *\n * **....** ....\n * * . . * . .\n * **....** ....\n * * *\n * ****\n *\n *\n * 'cover' where '*' is covered by '.'\n * (in the first size0 is relatively wider)\n *\n * ....\n * . .\n * ..****.. ****\n * . * * . * *\n * ..****.. ****\n * . .\n * ....\n *\n * 'equal' where '*' is of equal area as '.'\n * (in the first size0 is relatively wider)\n *\n * **** ....\n * .*..*. *.**.*\n * .* *. *. .*\n * .*..*. *.**.*\n * **** ....\n *\n * @export\n * @param size0 - first size\n * @param size1 - second size\n * @param fit - fit\n */\nexport function sizesToScale(size0, size1, fit) {\n if (fit === 'contain') {\n return size0[0] / size0[1] >= size1[0] / size1[1] // size0 is relatively wider\n ? size0[0] / size1[0]\n : size0[1] / size1[1];\n }\n else if (fit === 'cover') {\n return size0[0] / size0[1] >= size1[0] / size1[1] // size0 is relatively wider\n ? size0[1] / size1[1]\n : size0[0] / size1[0];\n }\n else if (!fit || fit == 'equal') {\n return Math.sqrt((size0[0] * size0[1]) / (size1[0] * size1[1]));\n }\n else {\n throw new Error('Unknown fit');\n }\n}\nexport function scaleBbox(bbox, scale) {\n const center = bboxToCenter(bbox);\n let size = bboxToSize(bbox);\n size = scaleSize(size, scale);\n return sizeToBbox(size, center);\n}\nexport function scaleSize(size, scale) {\n return [size[0] * scale, size[1] * scale];\n}\nexport function sizeToResolution(size) {\n return size[0] * size[1];\n}\nexport function sizeToCenter(size) {\n return [size[0] / 2, size[1] / 2];\n}\nexport function sizeToBbox(size, center) {\n // Note: passing no center not the same as passing center [0, 0]\n if (center) {\n return [\n center[0] - size[0] / 2,\n center[1] - size[1] / 2,\n center[0] + size[0] / 2,\n center[1] + size[1] / 2\n ];\n }\n else {\n return [0, 0, ...size];\n }\n}\nexport function sizeToRectangle(size, center) {\n return bboxToRectangle(sizeToBbox(size, center));\n}\nexport function bboxesToScale(bbox0, bbox1, fit) {\n return sizesToScale(bboxToSize(bbox0), bboxToSize(bbox1), fit);\n}\nexport function rectanglesToScale(rectangle0, rectangle1, fit) {\n return sizesToScale(rectangleToSize(rectangle0), rectangleToSize(rectangle1), fit);\n}\n"],"names":["computeMinMax","values","min","max","value","computeBbox","geometry","points","isGeometry","geometryToPoints","isGeojsonGeometry","geojsonGeometryToPoints","xs","point","ys","minX","maxX","minY","maxY","computeRotatedBboxProperties","angle","pivot","midPoint","rotatedPoints","rotatePoints","rotatedPointsBbox","rotatedPointsBboxCenter","bboxToCenter","size","bboxToSize","center","rotatePoint","bbox","sizeToBbox","rectangle","bboxToRectangle","rotatedRectangle","combineBboxes","bboxes","doBboxesIntersect","bbox0","bbox1","isOverlappingInX","isOverlappingInY","intersectBboxes","pointInBbox","ringIsBboxRectangle","ring","isEqualPointArray","rotateArray","polygonIsBboxRectangle","polygon","bufferBbox","dist0","dist1","bufferBboxByRatio","ratio","widthOrHeigth","bboxToPolygon","bboxToLine","rectangleToSize","distance","convexHull","monotoneChainConvexHull","sizesToScale","size0","size1","fit","scaleBbox","scale","scaleSize","sizeToResolution","sizeToCenter","sizeToRectangle","rectanglesToScale","rectangle0","rectangle1"],"mappings":"kNAaO,SAASA,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MF,EAAM,CAAC,EAAIA,EAAM,CAAC,GAAMC,EAAM,CAAC,EAAIA,EAAM,CAAC,EAAE,EAG9D,MAAM,IAAI,MAAM,aAAa,CAErC,CACO,SAASE,EAAUpC,EAAMqC,EAAO,CACnC,MAAMvC,EAASH,EAAaK,CAAI,EAChC,IAAIJ,EAAOC,EAAWG,CAAI,EAC1B,OAAAJ,EAAO0C,EAAU1C,EAAMyC,CAAK,EACrBpC,EAAWL,EAAME,CAAM,CAClC,CACO,SAASwC,EAAU1C,EAAMyC,EAAO,CACnC,MAAO,CAACzC,EAAK,CAAC,EAAIyC,EAAOzC,EAAK,CAAC,EAAIyC,CAAK,CAC5C,CACO,SAASE,EAAiB3C,EAAM,CACnC,OAAOA,EAAK,CAAC,EAAIA,EAAK,CAAC,CAC3B,CACO,SAAS4C,EAAa5C,EAAM,CAC/B,MAAO,CAACA,EAAK,CAAC,EAAI,EAAGA,EAAK,CAAC,EAAI,CAAC,CACpC,CACO,SAASK,EAAWL,EAAME,EAAQ,CAErC,OAAIA,EACO,CACHA,EAAO,CAAC,EAAIF,EAAK,CAAC,EAAI,EACtBE,EAAO,CAAC,EAAIF,EAAK,CAAC,EAAI,EACtBE,EAAO,CAAC,EAAIF,EAAK,CAAC,EAAI,EACtBE,EAAO,CAAC,EAAIF,EAAK,CAAC,EAAI,CAAA,EAInB,CAAC,EAAG,EAAG,GAAGA,CAAI,CAE7B,CACO,SAAS6C,EAAgB7C,EAAME,EAAQ,CAC1C,OAAOK,EAAgBF,EAAWL,EAAME,CAAM,CAAC,CACnD,CAIO,SAAS4C,EAAkBC,EAAYC,EAAYT,EAAK,CAC3D,OAAOH,EAAaJ,EAAgBe,CAAU,EAAGf,EAAgBgB,CAAU,EAAGT,CAAG,CACrF","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(t,o){if(t===o)return null;const e=i(t),r=i(o),n=[];for(const s of r)e.has(s)||n.push(s);for(const s of e)r.has(s)||n.push(s);return n.length===0?null:n}function i(t){return new Set(t?t.trim().split(/\s+/):[])}exports.compareClassNames=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs323.js"),c=require("./index.cjs332.js");function s(e){return e*(Math.PI/180)}function h(e){return e*(180/Math.PI)}function g(e){return Math.atan2(e[1][1]-e[0][1],e[1][0]-e[0][0])}function p(...e){if(e.length==0)throw new Error("Can't compute mean of empty array");return Math.atan2(e.reduce((t,r)=>t+Math.sin(r),0)/e.length,e.reduce((t,r)=>t+Math.cos(r),0)/e.length)}function d(e,t){return Array.from({length:e.length},(r,n)=>e[(n+t)%e.length])}function M(e,t,r=(n,o)=>n==o){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1;return!0}function y(e,t){for(let r=0;r<t.length;r++)if(e.indexOf(t[r])===-1)return!1;return!0}function m(e,t){return!e||!t||e.size!==t.size?!1:[...e].every(r=>t.has(r))}function q(e,t,r){const n={};if(r&&r.length===0)return n;const o=new Map;let f=e?Object.keys(e):[];r&&(f=f.filter(u=>r.includes(u)));const a=t?Object.keys(t):[];for(const u of a)Object.prototype.hasOwnProperty.call(t,u)&&o.set(u,t[u]);for(const u of f){if(!Object.prototype.hasOwnProperty.call(e,u))continue;const i=e[u];(!o.has(u)||!c(i,o.get(u)))&&(n[u]=i)}return n}function A(e,t){const r=l(e);for(const n of t)delete r[n];return r}exports.angle=g;exports.angularMean=p;exports.degreesToRadians=s;exports.equalSet=m;exports.isEqualArray=M;exports.objectDifference=q;exports.omit=A;exports.radiansToDegrees=h;exports.rotateArray=d;exports.subSetArray=y;
2
2
  //# sourceMappingURL=index.cjs216.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs216.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/compare-class-names.js"],"sourcesContent":["/** Compare two classNames string and return the difference */\nexport function compareClassNames(prevClassName, nextClassName) {\n if (prevClassName === nextClassName) {\n return null;\n }\n const prevClassList = getClassList(prevClassName);\n const nextClassList = getClassList(nextClassName);\n const diff = [];\n for (const c of nextClassList) {\n if (!prevClassList.has(c)) {\n diff.push(c);\n }\n }\n for (const c of prevClassList) {\n if (!nextClassList.has(c)) {\n diff.push(c);\n }\n }\n return diff.length === 0 ? null : diff;\n}\nfunction getClassList(className) {\n return new Set(className ? className.trim().split(/\\s+/) : []);\n}\n//# sourceMappingURL=compare-class-names.js.map"],"names":["compareClassNames","prevClassName","nextClassName","prevClassList","getClassList","nextClassList","diff","c","className"],"mappings":"gFACO,SAASA,EAAkBC,EAAeC,EAAe,CAC5D,GAAID,IAAkBC,EAClB,OAAO,KAEX,MAAMC,EAAgBC,EAAaH,CAAa,EAC1CI,EAAgBD,EAAaF,CAAa,EAC1CI,EAAO,CAAA,EACb,UAAWC,KAAKF,EACPF,EAAc,IAAII,CAAC,GACpBD,EAAK,KAAKC,CAAC,EAGnB,UAAWA,KAAKJ,EACPE,EAAc,IAAIE,CAAC,GACpBD,EAAK,KAAKC,CAAC,EAGnB,OAAOD,EAAK,SAAW,EAAI,KAAOA,CACtC,CACA,SAASF,EAAaI,EAAW,CAC7B,OAAO,IAAI,IAAIA,EAAYA,EAAU,KAAA,EAAO,MAAM,KAAK,EAAI,EAAE,CACjE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs216.js","sources":["../../../node_modules/@allmaps/stdlib/dist/main.js"],"sourcesContent":["import { isEqual, cloneDeep } from 'lodash-es';\nexport function degreesToRadians(degrees) {\n return degrees * (Math.PI / 180);\n}\nexport function radiansToDegrees(radians) {\n return radians * (180 / Math.PI);\n}\n// Returns angle in radians\nexport function angle(line) {\n return Math.atan2(line[1][1] - line[0][1], line[1][0] - line[0][0]);\n}\n// Takes and returns angle in radians\nexport function angularMean(...angles) {\n if (angles.length == 0) {\n throw new Error(\"Can't compute mean of empty array\");\n }\n return Math.atan2(angles.reduce((sum, angle) => sum + Math.sin(angle), 0) / angles.length, angles.reduce((sum, angle) => sum + Math.cos(angle), 0) / angles.length);\n}\n// Define vanilla groupBy function, since official one is only baseline 2024\n// See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/groupBy\n// Vanilla code from https://stackoverflow.com/a/62765924/2386673\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function groupBy(arr, key) {\n return arr.reduce((groups, item) => {\n ;\n (groups[key(item)] ||= []).push(item);\n return groups;\n }, {});\n}\n// From rotateArray([a, b, c, d], 1) => [b, c, d, a]\nexport function rotateArray(array, offset) {\n return Array.from({ length: array.length }, (_, i) => array[(i + offset) % array.length]);\n}\nexport function isEqualArray(array0, array1, isEqualObject = (t0, t1) => t0 == t1) {\n if (array0 === array1)\n return true;\n if (!array0 || !array1)\n return false;\n if (array0.length !== array1.length) {\n return false;\n }\n for (let i = 0; i < array0.length; i++) {\n if (!isEqualObject(array0[i], array1[i])) {\n return false;\n }\n }\n return true;\n}\n// Returns objects in array0 that are not in array1\nexport function arrayDifference(array0, array1, isEqualObject = (t0, t1) => t0 == t1) {\n const result = [];\n for (let i = 0; i < array0.length; i++) {\n let found = false;\n for (let j = 0; j < array1.length; j++) {\n if (isEqualObject(array0[i], array1[j])) {\n found = true;\n break;\n }\n }\n if (!found) {\n result.push(array0[i]);\n }\n }\n return result;\n}\nexport function arrayUnique(array, isEqualObject = (t0, t1) => t0 == t1) {\n const result = [];\n for (let i = 0; i < array.length; i++) {\n let found = false;\n for (let j = 0; j < i; j++) {\n if (isEqualObject(array[i], array[j])) {\n found = true;\n break;\n }\n }\n if (!found) {\n result.push(array[i]);\n }\n }\n return result;\n}\nexport function arrayRepeated(array, isEqualObject = (t0, t1) => t0 == t1) {\n const result = [];\n for (let i = 0; i < array.length; i++) {\n let found = false;\n for (let j = 0; j < i; j++) {\n if (isEqualObject(array[i], array[j])) {\n found = true;\n break;\n }\n }\n if (found) {\n result.push({ item: array[i], index: i });\n }\n }\n return result;\n}\nexport function arrayContains(array, object, isEqualObject = (t0, t1) => t0 == t1) {\n for (let i = 0; i < array.length; i++) {\n if (isEqualObject(array[i], object)) {\n return { item: array[i], index: i };\n }\n }\n return undefined;\n}\n// TODO: replace with Set subset once available\n// Note: this checks equality of the object\n// which is only a good idea for primitive types (string, number), not JSON objects\nexport function subSetArray(arr1, arr2) {\n for (let i = 0; i < arr2.length; i++) {\n if (arr1.indexOf(arr2[i]) === -1) {\n return false;\n }\n }\n return true;\n}\n// TODO: Replace with Set equality once available\n// Note: this checks equality of the object\n// which is only a good idea for primitive types (string, number), not JSON objects\nexport function equalSet(set1, set2) {\n if (!set1 || !set2) {\n return false;\n }\n if (set1.size !== set2.size) {\n return false;\n }\n return [...set1].every((x) => set2.has(x));\n}\n// Compare two objects, and return an object with all (key, value) pairs from the new object\n// that are (deeply) different from the base object\nexport function objectDifference(newObject, baseObject, objectKeysPossiblyChanged) {\n const result = {};\n if (objectKeysPossiblyChanged && objectKeysPossiblyChanged.length === 0) {\n return result;\n }\n const baseEntries = new Map();\n let newKeys = newObject ? Object.keys(newObject) : [];\n if (objectKeysPossiblyChanged) {\n newKeys = newKeys.filter((k) => objectKeysPossiblyChanged.includes(k));\n }\n const baseKeys = baseObject ? Object.keys(baseObject) : [];\n for (const key of baseKeys) {\n if (Object.prototype.hasOwnProperty.call(baseObject, key)) {\n baseEntries.set(key, baseObject[key]);\n }\n }\n for (const key of newKeys) {\n if (!Object.prototype.hasOwnProperty.call(newObject, key))\n continue;\n const newVal = newObject[key];\n if (!baseEntries.has(key) || !isEqual(newVal, baseEntries.get(key))) {\n result[key] = newVal;\n }\n }\n return result;\n}\n// export function objectOmitDifference(\n// newObject: object,\n// baseObject: object\n// ): object {\n// const keysToOmit = Object.keys(objectDifference(newObject, baseObject))\n// return pick(newObject, keysToOmit)\n// }\n// Basic omit function as replacement for lodash omit, since it will be removed in v5\n// See: https://github.com/lodash/lodash/issues/2930#issuecomment-272298477\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function omit(object, keys) {\n const result = cloneDeep(object);\n for (const key of keys) {\n delete result[key];\n }\n return result;\n}\nexport function isValidHttpUrl(string) {\n let url;\n try {\n url = new URL(string);\n }\n catch (_) {\n return false;\n }\n return url.protocol === 'http:' || url.protocol === 'https:';\n}\nexport function camelCaseToWords(string) {\n const result = string.replace(/([A-Z])/g, ' $1');\n return result.charAt(0).toUpperCase() + result.slice(1);\n}\n"],"names":["degreesToRadians","degrees","radiansToDegrees","radians","angle","line","angularMean","angles","sum","rotateArray","array","offset","_","i","isEqualArray","array0","array1","isEqualObject","t0","t1","subSetArray","arr1","arr2","equalSet","set1","set2","x","objectDifference","newObject","baseObject","objectKeysPossiblyChanged","result","baseEntries","newKeys","k","baseKeys","key","newVal","isEqual","omit","object","keys","cloneDeep"],"mappings":"oJACO,SAASA,EAAiBC,EAAS,CACtC,OAAOA,GAAW,KAAK,GAAK,IAChC,CACO,SAASC,EAAiBC,EAAS,CACtC,OAAOA,GAAW,IAAM,KAAK,GACjC,CAEO,SAASC,EAAMC,EAAM,CACxB,OAAO,KAAK,MAAMA,EAAK,CAAC,EAAE,CAAC,EAAIA,EAAK,CAAC,EAAE,CAAC,EAAGA,EAAK,CAAC,EAAE,CAAC,EAAIA,EAAK,CAAC,EAAE,CAAC,CAAC,CACtE,CAEO,SAASC,KAAeC,EAAQ,CACnC,GAAIA,EAAO,QAAU,EACjB,MAAM,IAAI,MAAM,mCAAmC,EAEvD,OAAO,KAAK,MAAMA,EAAO,OAAO,CAACC,EAAKJ,IAAUI,EAAM,KAAK,IAAIJ,CAAK,EAAG,CAAC,EAAIG,EAAO,OAAQA,EAAO,OAAO,CAACC,EAAKJ,IAAUI,EAAM,KAAK,IAAIJ,CAAK,EAAG,CAAC,EAAIG,EAAO,MAAM,CACtK,CAaO,SAASE,EAAYC,EAAOC,EAAQ,CACvC,OAAO,MAAM,KAAK,CAAE,OAAQD,EAAM,MAAA,EAAU,CAACE,EAAGC,IAAMH,GAAOG,EAA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,EAAUQ,CAAG,GACxB,CAACJ,EAAY,IAAII,CAAG,GAAK,CAACE,EAAQD,EAAQL,EAAY,IAAII,CAAG,CAAC,KAC9DL,EAAOK,CAAG,EAAIC,EAEtB,CACA,OAAON,CACX,CAWO,SAASQ,EAAKC,EAAQC,EAAM,CAC/B,MAAMV,EAASW,EAAUF,CAAM,EAC/B,UAAWJ,KAAOK,EACd,OAAOV,EAAOK,CAAG,EAErB,OAAOL,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function s(r,t){if(!r)throw new Error(t)}module.exports=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function l(n,...e){const r=e.length;if(r===0)return n;if(r===1){const t=e[0];return t==null?n:{...n,...t}}let i=!1;for(let t=0;t<r;t++)if(e[t]!=null){i=!0;break}return i?{...n,...f(...e)}:n}function f(...n){const e=n.filter(r=>r!=null);return e.length===0?{}:e.length===1?e[0]:Object.assign({},...e)}function u(...n){const e={};for(let r=0;r<n.length;r++){const i=n[r];if(i)for(const t in i){const o=i[t];o!==void 0&&(e[t]=o)}}return e}function s(n,...e){return{...n,...u(...e)}}function d(n){if(n!==void 0)return n.reduce((e,r)=>(e[r]=void 0,e),{})}exports.mergeOptions=l;exports.mergeOptionsUnlessUndefined=s;exports.mergePartialOptions=f;exports.optionKeysToUndefinedOptions=d;exports.removeUndefinedOptions=u;
2
2
  //# sourceMappingURL=index.cjs217.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs217.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/assert.js"],"sourcesContent":["export default function assert(condition, message) {\n if (!condition) {\n throw new Error(message);\n }\n}\n//# sourceMappingURL=assert.js.map"],"names":["assert","condition","message"],"mappings":"aAAA,SAAwBA,EAAOC,EAAWC,EAAS,CAC/C,GAAI,CAACD,EACD,MAAM,IAAI,MAAMC,CAAO,CAE/B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs217.js","sources":["../../../node_modules/@allmaps/stdlib/dist/options.js"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nexport function mergeOptions(baseOptions, ...additionalPartialOptions) {\n // A specific function for merging options:\n // - Assure the output extends the type of the first element (e.g. default options)\n // - Speedup: spreading is a little expensive, so it checks if necessary first\n // (e.g. it was previously executed for every point in transform,\n // where this was a 50% speed increase when transforming a lot of points\n // - Allow additionalOptions to be undefined, which simplifies handing over a simple spread\n const len = additionalPartialOptions.length;\n // Fast path: no additional options\n if (len === 0) {\n return baseOptions;\n }\n // Fast path: single additional option (most common case)\n // Avoids the mergePartialOptions call and its internal spread\n if (len === 1) {\n const only = additionalPartialOptions[0];\n if (only == null)\n return baseOptions;\n return { ...baseOptions, ...only };\n }\n let hasAdditional = false;\n for (let i = 0; i < len; i++) {\n if (additionalPartialOptions[i] != null) {\n hasAdditional = true;\n break;\n }\n }\n if (!hasAdditional)\n return baseOptions;\n return {\n ...baseOptions,\n ...mergePartialOptions(...additionalPartialOptions)\n };\n}\nexport function mergePartialOptions(...partialOptions) {\n const definedPartialOptionsArray = partialOptions.filter((partialOptions) => partialOptions !== undefined && partialOptions !== null);\n if (definedPartialOptionsArray.length === 0) {\n return {};\n }\n else if (definedPartialOptionsArray.length === 1) {\n return definedPartialOptionsArray[0];\n }\n else {\n // This spreads out eacht of the partialOptions\n return Object.assign({}, ...definedPartialOptionsArray);\n }\n}\nexport function removeUndefinedOptions(...optionsArray) {\n const mergedOptions = {};\n for (let i = 0; i < optionsArray.length; i++) {\n const options = optionsArray[i];\n if (!options)\n continue;\n for (const key in options) {\n const value = options[key];\n if (value !== undefined) {\n mergedOptions[key] = value;\n }\n }\n }\n return mergedOptions;\n}\n// Note: not using Exclude here like we do in removeUndefinedOptions,\n// since TypeScript often inferes too strict types\nexport function mergeOptionsUnlessUndefined(baseOptions, ...additionalOptions) {\n return {\n ...baseOptions,\n ...removeUndefinedOptions(...additionalOptions)\n };\n}\nexport function mergeTwoOptionsUnlessUndefined(baseOptions, additionalOption) {\n if (!additionalOption || Object.keys(additionalOption).length === 0) {\n return baseOptions;\n }\n // Build a filtered copy, excluding omitted keys and undefined values\n const filtered = {};\n for (const key in additionalOption) {\n if (additionalOption[key] !== undefined) {\n filtered[key] = additionalOption[key];\n }\n }\n return {\n ...baseOptions,\n ...filtered\n };\n}\nexport function optionKeysToUndefinedOptions(optionKeys) {\n if (optionKeys === undefined) {\n return undefined;\n }\n return optionKeys.reduce((acc, curr) => ((acc[curr] = undefined), acc), {});\n}\nexport function optionKeysByMapIdToUndefinedOptionsByMapId(optionKeysByMapId) {\n if (optionKeysByMapId === undefined) {\n return undefined;\n }\n const optionsByMapId = new Map();\n for (const mapId of optionKeysByMapId.keys()) {\n const optionKeys = optionKeysByMapId.get(mapId);\n optionsByMapId.set(mapId, optionKeysToUndefinedOptions(optionKeys));\n }\n return optionsByMapId;\n}\n"],"names":["mergeOptions","baseOptions","additionalPartialOptions","len","only","hasAdditional","i","mergePartialOptions","partialOptions","definedPartialOptionsArray","removeUndefinedOptions","optionsArray","mergedOptions","options","key","value","mergeOptionsUnlessUndefined","additionalOptions","optionKeysToUndefinedOptions","optionKeys","acc","curr"],"mappings":"gFACO,SAASA,EAAaC,KAAgBC,EAA0B,CAOnE,MAAMC,EAAMD,EAAyB,OAErC,GAAIC,IAAQ,EACR,OAAOF,EAIX,GAAIE,IAAQ,EAAG,CACX,MAAMC,EAAOF,EAAyB,CAAC,EACvC,OAAIE,GAAQ,KACDH,EACJ,CAAE,GAAGA,EAAa,GAAGG,CAAA,CAChC,CACA,IAAIC,EAAgB,GACpB,QAASC,EAAI,EAAGA,EAAIH,EAAKG,IACrB,GAAIJ,EAAyBI,CAAC,GAAK,KAAM,CACrCD,EAAgB,GAChB,KACJ,CAEJ,OAAKA,EAEE,CACH,GAAGJ,EACH,GAAGM,EAAoB,GAAGL,CAAwB,CAAA,EAH3CD,CAKf,CACO,SAASM,KAAuBC,EAAgB,CACnD,MAAMC,EAA6BD,EAAe,OAAQA,GAAmDA,GAAmB,IAAI,EACpI,OAAIC,EAA2B,SAAW,EAC/B,CAAA,EAEFA,EAA2B,SAAW,EACpCA,EAA2B,CAAC,EAI5B,OAAO,OAAO,CAAA,EAAI,GAAGA,CAA0B,CAE9D,CACO,SAASC,KAA0BC,EAAc,CACpD,MAAMC,EAAgB,CAAA,EACtB,QAASN,EAAI,EAAGA,EAAIK,EAAa,OAAQL,IAAK,CAC1C,MAAMO,EAAUF,EAAaL,CAAC,EAC9B,GAAKO,EAEL,UAAWC,KAAOD,EAAS,CACvB,MAAME,EAAQF,EAAQC,CAAG,EACrBC,IAAU,SACVH,EAAcE,CAAG,EAAIC,EAE7B,CACJ,CACA,OAAOH,CACX,CAGO,SAASI,EAA4Bf,KAAgBgB,EAAmB,CAC3E,MAAO,CACH,GAAGhB,EACH,GAAGS,EAAuB,GAAGO,CAAiB,CAAA,CAEtD,CAiBO,SAASC,EAA6BC,EAAY,CACrD,GAAIA,IAAe,OAGnB,OAAOA,EAAW,OAAO,CAACC,EAAKC,KAAWD,EAAIC,CAAI,EAAI,OAAYD,GAAM,CAAA,CAAE,CAC9E","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs37.js");function u(t){var r="[object "+t+"]";return function(e){return n.toString.call(e)===r}}module.exports=u;
1
+ "use strict";const M=require("./index.cjs471.js"),C=require("./index.cjs472.js");class D{constructor(t,s){this.W=t,this.bs=s}add(t){const s=this.W,n=t/s|0,e=t%s;return this.bs[n]|=1<<e,this}delete(t){const s=this.W,n=t/s|0,e=t%s;return this.bs[n]&=~(1<<e),this}set(t,s){const n=this.W,e=t/n|0,r=1<<t%n;return this.bs[e]^=(-s^this.bs[e])&r,s}has(t){const s=this.W,n=t/s|0,e=t%s;return!!(this.bs[n]&1<<e)}forEach(t){const s=this.W,n=this.bs,e=n.length;for(let i=0;i<e;i++){let r=0;for(;n[i]&&r<s;)n[i]&1<<r&&t(i*s+r),r++}return this}}class j extends D{constructor(t){const n=new Uint8Array(Math.ceil(t/8)).fill(0);super(8,n)}}function b(h){return h%3===2?h-2:h+1}function w(h){return h%3===0?h+2:h-1}const v=2**32-1;class W{constructor(t,s){if(!t||typeof t!="object"||!t.triangles||!t.halfedges||!t.coords)throw new Error("Expected an object with Delaunator output");if(t.triangles.length%3||t.halfedges.length!==t.triangles.length||t.coords.length%2)throw new Error("Delaunator output appears inconsistent");if(t.triangles.length<3)throw new Error("No edges in triangulation");this.del=t;const n=t.coords.length>>1,e=t.triangles.length;this.vertMap=new Uint32Array(n).fill(v),this.flips=new j(e),this.consd=new j(e);const i=t.triangles,r=this.vertMap;for(let o=0;o<e;o++){const c=i[o];r[c]===v&&this.updateVert(o)}s&&this.constrainAll(s)}constrainOne(t,s){const{triangles:n,halfedges:e}=this.del,i=this.vertMap,r=this.consd,o=i[t];if(o===v||i[s]===v)throw new Error("Cannot constrain between points that are not triangulated");let c=o;do{const f=n[c],g=b(c);if(f===s)return this.protect(c);const d=w(c),m=n[d];if(m===s)return this.protect(g),g;if(this.intersectSegments(t,s,m,f)){c=d;break}c=e[g]}while(c!==-1&&c!==o);let l=c,a=-1;for(;c!==-1;){const f=e[c],g=w(c),d=w(f),m=b(f);if(f===-1)throw new Error("Constraining edge exited the hull");if(r.has(c))throw new Error("Edge intersects already constrained edge");if(this.isCollinear(t,s,n[c])||this.isCollinear(t,s,n[f]))throw new Error("Constraining edge intersects point");if(!this.intersectSegments(n[c],n[f],n[g],n[d])){if(a===-1&&(a=c),n[d]===s){if(c===a)throw new Error("Infinite loop: non-convex quadrilateral");c=a,a=-1;continue}if(this.intersectSegments(t,s,n[d],n[f]))c=d;else if(this.intersectSegments(t,s,n[m],n[d]))c=m;else if(a===c)throw new Error("Infinite loop: no further intersect after non-convex");continue}if(this.flipDiagonal(c),this.intersectSegments(t,s,n[g],n[d])&&(a===-1&&(a=g),a===g))throw new Error("Infinite loop: flipped diagonal still intersects");n[d]===s?(l=d,c=a,a=-1):this.intersectSegments(t,s,n[m],n[d])&&(c=m)}const u=this.flips;this.protect(l);do{var E=0;u.forEach(f=>{u.delete(f);const g=e[f];g!==-1&&(u.delete(g),this.isDelaunay(f)||(this.flipDiagonal(f),E++))})}while(E>0);return this.findEdge(t,s)}delaunify(t=!1){const s=this.del.halfedges,n=this.flips,e=this.consd,i=s.length;do{var r=0;for(let o=0;o<i;o++){if(e.has(o))continue;n.delete(o);const c=s[o];c!==-1&&(n.delete(c),this.isDelaunay(o)||(this.flipDiagonal(o),r++))}}while(t&&r>0);return this}constrainAll(t){const s=t.length;for(let n=0;n<s;n++){const e=t[n];this.constrainOne(e[0],e[1])}return this}isConstrained(t){return this.consd.has(t)}findEdge(t,s){const n=this.vertMap[s],e=this.del.triangles,i=this.del.halfedges;let r=n,o=-1;do{if(e[r]===t)return r;o=b(r),r=i[o]}while(r!==-1&&r!==n);return e[b(o)]===t?-o:1/0}untriangulatedPoints(){const t=[],s=this.vertMap,n=s.length;for(let e=0;e<n;e++)s[e]===v&&t.push(e);return t}protect(t){const s=this.del.halfedges[t],n=this.flips,e=this.consd;return n.delete(t),e.add(t),s!==-1?(n.delete(s),e.add(s),s):-t}markFlip(t){const s=this.del.halfedges,n=this.flips;if(this.consd.has(t))return!1;const i=s[t];return i!==-1&&(n.add(t),n.add(i)),!0}flipDiagonal(t){const s=this.del.triangles,n=this.del.halfedges,e=this.flips,i=this.consd,r=n[t],o=w(t),c=b(t),l=w(r),a=b(r),u=n[o],E=n[l];if(i.has(t))throw new Error("Trying to flip a constrained edge");return s[t]=s[l],n[t]=E,e.set(t,e.has(l))||i.set(t,i.has(l)),E!==-1&&(n[E]=t),n[o]=l,s[r]=s[o],n[r]=u,e.set(r,e.has(o))||i.set(r,i.has(o)),u!==-1&&(n[u]=r),n[l]=o,this.markFlip(t),this.markFlip(c),this.markFlip(r),this.markFlip(a),e.add(o),i.delete(o),e.add(l),i.delete(l),this.updateVert(t),this.updateVert(c),this.updateVert(r),this.updateVert(a),o}isDelaunay(t){const s=this.del.triangles,e=this.del.halfedges[t];if(e===-1)return!0;const i=s[w(t)],r=s[t],o=s[b(t)],c=s[w(e)];return!this.inCircle(i,r,o,c)}updateVert(t){const s=this.del.triangles,n=this.del.halfedges,e=this.vertMap,i=s[t];let r=w(t),o=n[r];for(;o!==-1&&o!==t;)r=w(o),o=n[r];return e[i]=r,r}intersectSegments(t,s,n,e){const i=this.del.coords;return t===n||t===e||s===n||s===e?!1:p(i[t*2],i[t*2+1],i[s*2],i[s*2+1],i[n*2],i[n*2+1],i[e*2],i[e*2+1])}inCircle(t,s,n,e){const i=this.del.coords;return C.incircle(i[t*2],i[t*2+1],i[s*2],i[s*2+1],i[n*2],i[n*2+1],i[e*2],i[e*2+1])<0}isCollinear(t,s,n){const e=this.del.coords;return M.orient2d(e[t*2],e[t*2+1],e[s*2],e[s*2+1],e[n*2],e[n*2+1])===0}}W.intersectSegments=p;function p(h,t,s,n,e,i,r,o){const c=M.orient2d(h,t,e,i,r,o),l=M.orient2d(s,n,e,i,r,o);if(c>0&&l>0||c<0&&l<0)return!1;const a=M.orient2d(e,i,h,t,s,n),u=M.orient2d(r,o,h,t,s,n);return a>0&&u>0||a<0&&u<0?!1:c===0&&l===0&&a===0&&u===0?!(Math.max(e,r)<Math.min(h,s)||Math.max(h,s)<Math.min(e,r)||Math.max(i,o)<Math.min(t,n)||Math.max(t,n)<Math.min(i,o)):!0}module.exports=W;
2
2
  //# sourceMappingURL=index.cjs218.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs218.js","sources":["../node_modules/underscore/modules/_tagTester.js"],"sourcesContent":["import { toString } from './_setup.js';\n\n// Internal function for creating a `toString`-based type tester.\nexport default function tagTester(name) {\n var tag = '[object ' + name + ']';\n return function(obj) {\n return toString.call(obj) === tag;\n };\n}\n"],"names":["tagTester","name","tag","obj","toString"],"mappings":"iDAGA,SAAwBA,EAAUC,EAAM,CACtC,IAAIC,EAAM,WAAaD,EAAO,IAC9B,OAAO,SAASE,EAAK,CACnB,OAAOC,WAAS,KAAKD,CAAG,IAAMD,CAChC,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs218.js","sources":["../../../node_modules/@kninnug/constrainautor/lib/Constrainautor.mjs"],"sourcesContent":["import { incircle, orient2d } from 'robust-predicates';\n\n/**\n * A set of numbers, stored as bits in a typed array. The amount of numbers /\n * the maximum number that can be stored is limited by the length, which is\n * fixed at construction time.\n */\nclass BitSet {\n constructor(W, bs) {\n this.W = W;\n this.bs = bs;\n }\n /**\n * Add a number to the set.\n *\n * @param idx The number to add. Must be 0 <= idx < len.\n * @return this.\n */\n add(idx) {\n const W = this.W;\n const byte = (idx / W) | 0;\n const bit = idx % W;\n this.bs[byte] |= 1 << bit;\n return this;\n }\n /**\n * Delete a number from the set.\n *\n * @param idx The number to delete. Must be 0 <= idx < len.\n * @return this.\n */\n delete(idx) {\n const W = this.W;\n const byte = (idx / W) | 0;\n const bit = idx % W;\n this.bs[byte] &= ~(1 << bit);\n return this;\n }\n /**\n * Add or delete a number in the set, depending on the second argument.\n *\n * @param idx The number to add or delete. Must be 0 <= idx < len.\n * @param val If true, add the number, otherwise delete.\n * @return val.\n */\n set(idx, val) {\n const W = this.W;\n const byte = (idx / W) | 0;\n const bit = idx % W;\n const m = 1 << bit;\n //this.bs[byte] = set ? this.bs[byte] | m : this.bs[byte] & ~m;\n this.bs[byte] ^= (-val ^ this.bs[byte]) & m; // -set == set * 255\n return val;\n }\n /**\n * Whether the number is in the set.\n *\n * @param idx The number to test. Must be 0 <= idx < len.\n * @return True if the number is in the set.\n */\n has(idx) {\n const W = this.W;\n const byte = (idx / W) | 0;\n const bit = idx % W;\n return !!(this.bs[byte] & (1 << bit));\n }\n /**\n * Iterate over the numbers that are in the set. The callback is invoked\n * with each number that is set. It is allowed to change the BitSet during\n * iteration. If it deletes a number that has not been iterated over, that\n * number will not show up in a later call. If it adds a number during\n * iteration, that number may or may not show up in a later call.\n *\n * @param fn The function to call for each number.\n * @return this.\n */\n forEach(fn) {\n const W = this.W;\n const bs = this.bs;\n const len = bs.length;\n for (let byte = 0; byte < len; byte++) {\n let bit = 0;\n // bs[byte] may change during iteration\n while (bs[byte] && bit < W) {\n if (bs[byte] & (1 << bit)) {\n fn(byte * W + bit);\n }\n bit++;\n }\n }\n return this;\n }\n}\n/**\n * A bit set using 8 bits per cell.\n */\nclass BitSet8 extends BitSet {\n /**\n * Create a bit set.\n *\n * @param len The length of the bit set, limiting the maximum value that\n * can be stored in it to len - 1.\n */\n constructor(len) {\n const W = 8;\n const bs = new Uint8Array(Math.ceil(len / W)).fill(0);\n super(W, bs);\n }\n}\n\nfunction nextEdge(e) { return (e % 3 === 2) ? e - 2 : e + 1; }\nfunction prevEdge(e) { return (e % 3 === 0) ? e + 2 : e - 1; }\nconst U32NIL = 2 ** 32 - 1; // Max value of a Uint32Array: use as a sentinel for not yet defined \n/**\n * Constrain a triangulation from Delaunator, using (parts of) the algorithm\n * in \"A fast algorithm for generating constrained Delaunay triangulations\" by\n * S. W. Sloan.\n */\nclass Constrainautor {\n /**\n * Make a Constrainautor.\n *\n * @param del The triangulation output from Delaunator.\n * @param edges If provided, constrain these edges as by constrainAll.\n */\n constructor(del, edges) {\n if (!del || typeof del !== 'object' || !del.triangles || !del.halfedges || !del.coords) {\n throw new Error(\"Expected an object with Delaunator output\");\n }\n if (del.triangles.length % 3 || del.halfedges.length !== del.triangles.length || del.coords.length % 2) {\n throw new Error(\"Delaunator output appears inconsistent\");\n }\n if (del.triangles.length < 3) {\n throw new Error(\"No edges in triangulation\");\n }\n this.del = del;\n const numPoints = del.coords.length >> 1;\n const numEdges = del.triangles.length;\n // Map every vertex id to the right-most edge that points to that vertex.\n this.vertMap = new Uint32Array(numPoints).fill(U32NIL);\n // Keep track of edges flipped while constraining\n this.flips = new BitSet8(numEdges);\n // Keep track of constrained edges\n this.consd = new BitSet8(numEdges);\n const triangles = del.triangles;\n const vm = this.vertMap;\n for (let e = 0; e < numEdges; e++) {\n const v = triangles[e];\n if (vm[v] === U32NIL) {\n this.updateVert(e);\n }\n }\n if (edges) {\n this.constrainAll(edges);\n }\n }\n /**\n * Constrain the triangulation such that there is an edge between p1 and p2.\n *\n * @param segP1 The index of one segment end-point in the coords array.\n * @param segP2 The index of the other segment end-point in the coords array.\n * @return The id of the edge that points from p1 to p2. If the\n * constrained edge lies on the hull and points in the opposite\n * direction (p2 to p1), the negative of its id is returned.\n */\n constrainOne(segP1, segP2) {\n const { triangles, halfedges } = this.del;\n const vm = this.vertMap;\n const consd = this.consd;\n const start = vm[segP1];\n if (start === U32NIL || vm[segP2] === U32NIL) {\n throw new Error(`Cannot constrain between points that are not triangulated`);\n }\n // Loop over the edges touching segP1\n let edg = start;\n do {\n // edg points toward segP1, so its start-point is opposite it\n const p4 = triangles[edg];\n const nxt = nextEdge(edg);\n // already constrained, but in reverse order\n if (p4 === segP2) {\n return this.protect(edg);\n }\n // The edge opposite segP1\n const opp = prevEdge(edg);\n const p3 = triangles[opp];\n // already constrained\n if (p3 === segP2) {\n this.protect(nxt);\n return nxt;\n }\n // edge opposite segP1 intersects constraint\n if (this.intersectSegments(segP1, segP2, p3, p4)) {\n edg = opp;\n break;\n }\n const adj = halfedges[nxt];\n // The next edge pointing to segP1\n edg = adj;\n } while (edg !== -1 && edg !== start);\n let conEdge = edg;\n // Walk through the triangulation looking for further intersecting\n // edges and flip them. If an intersecting edge cannot be flipped,\n // assign its id to `rescan` and restart from there, until there are\n // no more intersects.\n let rescan = -1;\n while (edg !== -1) {\n // edg is the intersecting half-edge in the triangle we came from\n // adj is now the opposite half-edge in the adjacent triangle, which\n // is away from segP1.\n const adj = halfedges[edg];\n // cross diagonal\n const bot = prevEdge(edg);\n const top = prevEdge(adj);\n const rgt = nextEdge(adj);\n if (adj === -1) {\n throw new Error(\"Constraining edge exited the hull\");\n }\n if (consd.has(edg)) { // || consd.has(adj) // assume consd is consistent\n throw new Error(\"Edge intersects already constrained edge\");\n }\n if (this.isCollinear(segP1, segP2, triangles[edg]) ||\n this.isCollinear(segP1, segP2, triangles[adj])) {\n throw new Error(\"Constraining edge intersects point\");\n }\n const convex = this.intersectSegments(triangles[edg], triangles[adj], triangles[bot], triangles[top]);\n // The quadrilateral formed by the two triangles adjoing edg is not\n // convex, so the edge can't be flipped. Continue looking for the\n // next intersecting edge and restart at this one later.\n if (!convex) {\n if (rescan === -1) {\n rescan = edg;\n }\n if (triangles[top] === segP2) {\n if (edg === rescan) {\n throw new Error(\"Infinite loop: non-convex quadrilateral\");\n }\n edg = rescan;\n rescan = -1;\n continue;\n }\n // Look for the next intersect\n if (this.intersectSegments(segP1, segP2, triangles[top], triangles[adj])) {\n edg = top;\n }\n else if (this.intersectSegments(segP1, segP2, triangles[rgt], triangles[top])) {\n edg = rgt;\n }\n else if (rescan === edg) {\n throw new Error(\"Infinite loop: no further intersect after non-convex\");\n }\n continue;\n }\n this.flipDiagonal(edg);\n // The new edge might still intersect, which will be fixed in the\n // next rescan.\n if (this.intersectSegments(segP1, segP2, triangles[bot], triangles[top])) {\n if (rescan === -1) {\n rescan = bot;\n }\n if (rescan === bot) {\n throw new Error(\"Infinite loop: flipped diagonal still intersects\");\n }\n }\n // Reached the other segment end-point? Start the rescan.\n if (triangles[top] === segP2) {\n conEdge = top;\n edg = rescan;\n rescan = -1;\n // Otherwise, for the next edge that intersects. Because we just\n // flipped, it's either edg again, or rgt.\n }\n else if (this.intersectSegments(segP1, segP2, triangles[rgt], triangles[top])) {\n edg = rgt;\n }\n }\n const flips = this.flips;\n this.protect(conEdge);\n do {\n // need to use var to scope it outside the loop, but re-initialize\n // to 0 each iteration\n var flipped = 0;\n flips.forEach(edg => {\n flips.delete(edg);\n const adj = halfedges[edg];\n if (adj === -1) {\n return;\n }\n flips.delete(adj);\n if (!this.isDelaunay(edg)) {\n this.flipDiagonal(edg);\n flipped++;\n }\n });\n } while (flipped > 0);\n return this.findEdge(segP1, segP2);\n }\n /**\n * Fix the Delaunay condition. It is no longer necessary to call this\n * method after constraining (many) edges, since constrainOne will do it\n * after each.\n *\n * @param deep If true, keep checking & flipping edges until all\n * edges are Delaunay, otherwise only check the edges once.\n * @return The triangulation object.\n */\n delaunify(deep = false) {\n const halfedges = this.del.halfedges;\n const flips = this.flips;\n const consd = this.consd;\n const len = halfedges.length;\n do {\n var flipped = 0;\n for (let edg = 0; edg < len; edg++) {\n if (consd.has(edg)) {\n continue;\n }\n flips.delete(edg);\n const adj = halfedges[edg];\n if (adj === -1) {\n continue;\n }\n flips.delete(adj);\n if (!this.isDelaunay(edg)) {\n this.flipDiagonal(edg);\n flipped++;\n }\n }\n } while (deep && flipped > 0);\n return this;\n }\n /**\n * Call constrainOne on each edge, and delaunify afterwards.\n *\n * @param edges The edges to constrain: each element is an array with\n * [p1, p2] which are indices into the points array originally\n * supplied to Delaunator.\n * @return The triangulation object.\n */\n constrainAll(edges) {\n const len = edges.length;\n for (let i = 0; i < len; i++) {\n const e = edges[i];\n this.constrainOne(e[0], e[1]);\n }\n return this;\n }\n /**\n * Whether an edge is a constrained edge.\n *\n * @param edg The edge id.\n * @return True if the edge is constrained.\n */\n isConstrained(edg) {\n return this.consd.has(edg);\n }\n /**\n * Find the edge that points from p1 -> p2. If there is only an edge from\n * p2 -> p1 (i.e. it is on the hull), returns the negative id of it.\n *\n * @param p1 The index of the first point into the points array.\n * @param p2 The index of the second point into the points array.\n * @return The id of the edge that points from p1 -> p2, or the negative\n * id of the edge that goes from p2 -> p1, or Infinity if there is\n * no edge between p1 and p2.\n */\n findEdge(p1, p2) {\n const start1 = this.vertMap[p2];\n const triangles = this.del.triangles;\n const halfedges = this.del.halfedges;\n let edg = start1;\n let prv = -1;\n // Walk around p2, iterating over the edges pointing to it\n do {\n if (triangles[edg] === p1) {\n return edg;\n }\n prv = nextEdge(edg);\n edg = halfedges[prv];\n } while (edg !== -1 && edg !== start1);\n // Did not find p1 -> p2, the only option is that it is on the hull on\n // the 'left-hand' side, pointing p2 -> p1 (or there is no edge)\n if (triangles[nextEdge(prv)] === p1) {\n return -prv;\n }\n return Infinity;\n }\n /**\n * Find points that are not triangulated. Trying to constrain an edge\n * between two points either of which are not triangulated, will result in\n * an error being thrown from constrainOne.\n *\n * @return An array of ids of points that have no incoming edges.\n */\n untriangulatedPoints() {\n const ret = [];\n const vm = this.vertMap;\n const numPoints = vm.length;\n for (let i = 0; i < numPoints; i++) {\n if (vm[i] === U32NIL) {\n ret.push(i);\n }\n }\n return ret;\n }\n /**\n * Mark an edge as constrained, i.e. should not be touched by `delaunify`.\n *\n * @private\n * @param edg The edge id.\n * @return If edg has an adjacent, returns that, otherwise -edg.\n */\n protect(edg) {\n const adj = this.del.halfedges[edg];\n const flips = this.flips;\n const consd = this.consd;\n flips.delete(edg);\n consd.add(edg);\n if (adj !== -1) {\n flips.delete(adj);\n consd.add(adj);\n return adj;\n }\n return -edg;\n }\n /**\n * Mark an edge as flipped, unless it is already marked as constrained.\n *\n * @private\n * @param edg The edge id.\n * @return True if edg was not constrained.\n */\n markFlip(edg) {\n const halfedges = this.del.halfedges;\n const flips = this.flips;\n const consd = this.consd;\n if (consd.has(edg)) {\n return false;\n }\n const adj = halfedges[edg];\n if (adj !== -1) {\n flips.add(edg);\n flips.add(adj);\n }\n return true;\n }\n /**\n * Flip the edge shared by two triangles.\n *\n * @private\n * @param edg The edge shared by the two triangles, must have an\n * adjacent half-edge.\n * @return The new diagonal.\n */\n flipDiagonal(edg) {\n // Flip a diagonal\n // top edg\n // o <----- o o <------ o \n // | ^ \\ ^ | ^ / ^\n // lft| \\ \\ | lft| / / |\n // | \\ \\adj | | bot/ / |\n // | edg\\ \\ | | / /top |\n // | \\ \\ |rgt | / / |rgt\n // v \\ v | v / v |\n // o -----> o o ------> o \n // bot adj\n const triangles = this.del.triangles;\n const halfedges = this.del.halfedges;\n const flips = this.flips;\n const consd = this.consd;\n const adj = halfedges[edg];\n const bot = prevEdge(edg);\n const lft = nextEdge(edg);\n const top = prevEdge(adj);\n const rgt = nextEdge(adj);\n const adjBot = halfedges[bot];\n const adjTop = halfedges[top];\n if (consd.has(edg)) { // || consd.has(adj) // assume consd is consistent\n throw new Error(\"Trying to flip a constrained edge\");\n }\n // move *edg to *top\n triangles[edg] = triangles[top];\n halfedges[edg] = adjTop;\n if (!flips.set(edg, flips.has(top))) {\n consd.set(edg, consd.has(top));\n }\n if (adjTop !== -1) {\n halfedges[adjTop] = edg;\n }\n halfedges[bot] = top;\n // move *adj to *bot\n triangles[adj] = triangles[bot];\n halfedges[adj] = adjBot;\n if (!flips.set(adj, flips.has(bot))) {\n consd.set(adj, consd.has(bot));\n }\n if (adjBot !== -1) {\n halfedges[adjBot] = adj;\n }\n halfedges[top] = bot;\n this.markFlip(edg);\n this.markFlip(lft);\n this.markFlip(adj);\n this.markFlip(rgt);\n // mark flips unconditionally\n flips.add(bot);\n consd.delete(bot);\n flips.add(top);\n consd.delete(top);\n this.updateVert(edg);\n this.updateVert(lft);\n this.updateVert(adj);\n this.updateVert(rgt);\n return bot;\n }\n /**\n * Whether the two triangles sharing edg conform to the Delaunay condition.\n * As a shortcut, if the given edge has no adjacent (is on the hull), it is\n * certainly Delaunay.\n *\n * @private\n * @param edg The edge shared by the triangles to test.\n * @return True if they are Delaunay.\n */\n isDelaunay(edg) {\n const triangles = this.del.triangles;\n const halfedges = this.del.halfedges;\n const adj = halfedges[edg];\n if (adj === -1) {\n return true;\n }\n const p1 = triangles[prevEdge(edg)];\n const p2 = triangles[edg];\n const p3 = triangles[nextEdge(edg)];\n const px = triangles[prevEdge(adj)];\n return !this.inCircle(p1, p2, p3, px);\n }\n /**\n * Update the vertex -> incoming edge map.\n *\n * @private\n * @param start The id of an *outgoing* edge.\n * @return The id of the right-most incoming edge.\n */\n updateVert(start) {\n const triangles = this.del.triangles;\n const halfedges = this.del.halfedges;\n const vm = this.vertMap;\n const v = triangles[start];\n // When iterating over incoming edges around a vertex, we do so in\n // clockwise order ('going left'). If the vertex lies on the hull, two\n // of the edges will have no opposite, leaving a gap. If the starting\n // incoming edge is not the right-most, we will miss edges between it\n // and the gap. So walk counter-clockwise until we find an edge on the\n // hull, or get back to where we started.\n let inc = prevEdge(start);\n let adj = halfedges[inc];\n while (adj !== -1 && adj !== start) {\n inc = prevEdge(adj);\n adj = halfedges[inc];\n }\n vm[v] = inc;\n return inc;\n }\n /**\n * Whether the segment between [p1, p2] intersects with [p3, p4]. When the\n * segments share an end-point (e.g. p1 == p3 etc.), they are not considered\n * intersecting.\n *\n * @private\n * @param p1 The index of point 1 into this.del.coords.\n * @param p2 The index of point 2 into this.del.coords.\n * @param p3 The index of point 3 into this.del.coords.\n * @param p4 The index of point 4 into this.del.coords.\n * @return True if the segments intersect.\n */\n intersectSegments(p1, p2, p3, p4) {\n const pts = this.del.coords;\n // If the segments share one of the end-points, they cannot intersect\n // (provided the input is properly segmented, and the triangulation is\n // correct), but intersectSegments will say that they do. We can catch\n // it here already.\n if (p1 === p3 || p1 === p4 || p2 === p3 || p2 === p4) {\n return false;\n }\n return intersectSegments(pts[p1 * 2], pts[p1 * 2 + 1], pts[p2 * 2], pts[p2 * 2 + 1], pts[p3 * 2], pts[p3 * 2 + 1], pts[p4 * 2], pts[p4 * 2 + 1]);\n }\n /**\n * Whether point px is in the circumcircle of the triangle formed by p1, p2,\n * and p3 (which are in counter-clockwise order).\n *\n * @param p1 The index of point 1 into this.del.coords.\n * @param p2 The index of point 2 into this.del.coords.\n * @param p3 The index of point 3 into this.del.coords.\n * @param px The index of point x into this.del.coords.\n * @return True if (px, py) is in the circumcircle.\n */\n inCircle(p1, p2, p3, px) {\n const pts = this.del.coords;\n return incircle(pts[p1 * 2], pts[p1 * 2 + 1], pts[p2 * 2], pts[p2 * 2 + 1], pts[p3 * 2], pts[p3 * 2 + 1], pts[px * 2], pts[px * 2 + 1]) < 0.0;\n }\n /**\n * Whether point p1, p2, and p are collinear.\n *\n * @private\n * @param p1 The index of segment point 1 into this.del.coords.\n * @param p2 The index of segment point 2 into this.del.coords.\n * @param p The index of the point p into this.del.coords.\n * @return True if the points are collinear.\n */\n isCollinear(p1, p2, p) {\n const pts = this.del.coords;\n return orient2d(pts[p1 * 2], pts[p1 * 2 + 1], pts[p2 * 2], pts[p2 * 2 + 1], pts[p * 2], pts[p * 2 + 1]) === 0.0;\n }\n}\nConstrainautor.intersectSegments = intersectSegments;\n/**\n * Compute if two line segments [p1, p2] and [p3, p4] intersect.\n *\n * @name Constrainautor.intersectSegments\n * @source https://github.com/mikolalysenko/robust-segment-intersect\n * @param p1x The x coordinate of point 1 of the first segment.\n * @param p1y The y coordinate of point 1 of the first segment.\n * @param p2x The x coordinate of point 2 of the first segment.\n * @param p2y The y coordinate of point 2 of the first segment.\n * @param p3x The x coordinate of point 1 of the second segment.\n * @param p3y The y coordinate of point 1 of the second segment.\n * @param p4x The x coordinate of point 2 of the second segment.\n * @param p4y The y coordinate of point 2 of the second segment.\n * @return True if the line segments intersect.\n */\nfunction intersectSegments(p1x, p1y, p2x, p2y, p3x, p3y, p4x, p4y) {\n const x0 = orient2d(p1x, p1y, p3x, p3y, p4x, p4y);\n const y0 = orient2d(p2x, p2y, p3x, p3y, p4x, p4y);\n if ((x0 > 0 && y0 > 0) || (x0 < 0 && y0 < 0)) {\n return false;\n }\n const x1 = orient2d(p3x, p3y, p1x, p1y, p2x, p2y);\n const y1 = orient2d(p4x, p4y, p1x, p1y, p2x, p2y);\n if ((x1 > 0 && y1 > 0) || (x1 < 0 && y1 < 0)) {\n return false;\n }\n //Check for degenerate collinear case\n if (x0 === 0 && y0 === 0 && x1 === 0 && y1 === 0) {\n return !(Math.max(p3x, p4x) < Math.min(p1x, p2x) ||\n Math.max(p1x, p2x) < Math.min(p3x, p4x) ||\n Math.max(p3y, p4y) < Math.min(p1y, p2y) ||\n Math.max(p1y, p2y) < Math.min(p3y, p4y));\n }\n return true;\n}\n\nexport { Constrainautor as default };\n"],"names":["BitSet","W","bs","idx","byte","bit","val","m","fn","len","BitSet8","nextEdge","e","prevEdge","U32NIL","Constrainautor","del","edges","numPoints","numEdges","triangles","vm","v","segP1","segP2","halfedges","consd","start","edg","p4","nxt","opp","p3","conEdge","rescan","adj","bot","top","rgt","flips","flipped","deep","i","p1","p2","start1","prv","ret","lft","adjBot","adjTop","px","inc","pts","intersectSegments","incircle","p","orient2d","p1x","p1y","p2x","p2y","p3x","p3y","p4x","p4y","x0","y0","x1","y1"],"mappings":"iFAOA,MAAMA,CAAO,CACT,YAAYC,EAAGC,EAAI,CACf,KAAK,EAAID,EACT,KAAK,GAAKC,CACd,CAOA,IAAIC,EAAK,CACL,MAAMF,EAAI,KAAK,EACTG,EAAQD,EAAMF,EAAK,EACnBI,EAAMF,EAAMF,EAClB,YAAK,GAAGG,CAAI,GAAK,GAAKC,EACf,IACX,CAOA,OAAOF,EAAK,CACR,MAAMF,EAAI,KAAK,EACTG,EAAQD,EAAMF,EAAK,EACnBI,EAAMF,EAAMF,EAClB,YAAK,GAAGG,CAAI,GAAK,EAAE,GAAKC,GACjB,IACX,CAQA,IAAIF,EAAKG,EAAK,CACV,MAAML,EAAI,KAAK,EACTG,EAAQD,EAAMF,EAAK,EAEnBM,EAAI,GADEJ,EAAMF,EAGlB,YAAK,GAAGG,CAAI,IAAM,CAACE,EAAM,KAAK,GAAGF,CAAI,GAAKG,EACnCD,CACX,CAOA,IAAIH,EAAK,CACL,MAAMF,EAAI,KAAK,EACTG,EAAQD,EAAMF,EAAK,EACnBI,EAAMF,EAAMF,EAClB,MAAO,CAAC,EAAE,KAAK,GAAGG,CAAI,EAAK,GAAKC,EACpC,CAWA,QAAQG,EAAI,CACR,MAAMP,EAAI,KAAK,EACTC,EAAK,KAAK,GACVO,EAAMP,EAAG,OACf,QAASE,EAAO,EAAGA,EAAOK,EAAKL,IAAQ,CACnC,IAAIC,EAAM,EAEV,KAAOH,EAAGE,CAAI,GAAKC,EAAMJ,GACjBC,EAAGE,CAAI,EAAK,GAAKC,GACjBG,EAAGJ,EAAOH,EAAII,CAAG,EAErBA,GAER,CACA,OAAO,IACX,CACJ,CAIA,MAAMK,UAAgBV,CAAO,CAOzB,YAAYS,EAAK,CAEb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