@performant-software/core-data 1.2.0-beta.27 → 1.2.0-beta.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2979) hide show
  1. package/dist/index.cjs.js +2 -0
  2. package/dist/index.cjs.js.map +1 -0
  3. package/dist/index.cjs10.js +2 -0
  4. package/dist/index.cjs10.js.map +1 -0
  5. package/dist/index.cjs100.js +2 -0
  6. package/dist/index.cjs100.js.map +1 -0
  7. package/dist/index.cjs101.js +2 -0
  8. package/dist/index.cjs101.js.map +1 -0
  9. package/dist/index.cjs102.js +2 -0
  10. package/dist/index.cjs102.js.map +1 -0
  11. package/dist/index.cjs103.js +2 -0
  12. package/dist/index.cjs103.js.map +1 -0
  13. package/dist/index.cjs104.js +2 -0
  14. package/dist/index.cjs104.js.map +1 -0
  15. package/dist/index.cjs105.js +2 -0
  16. package/dist/index.cjs105.js.map +1 -0
  17. package/dist/index.cjs106.js +2 -0
  18. package/dist/index.cjs106.js.map +1 -0
  19. package/dist/index.cjs107.js +7 -0
  20. package/dist/index.cjs107.js.map +1 -0
  21. package/dist/index.cjs108.js +7 -0
  22. package/dist/index.cjs108.js.map +1 -0
  23. package/dist/index.cjs109.js +2 -0
  24. package/dist/index.cjs109.js.map +1 -0
  25. package/dist/index.cjs11.js +2 -0
  26. package/dist/index.cjs11.js.map +1 -0
  27. package/dist/index.cjs110.js +7 -0
  28. package/dist/index.cjs110.js.map +1 -0
  29. package/dist/index.cjs111.js +7 -0
  30. package/dist/index.cjs111.js.map +1 -0
  31. package/dist/index.cjs112.js +7 -0
  32. package/dist/index.cjs112.js.map +1 -0
  33. package/dist/index.cjs113.js +7 -0
  34. package/dist/index.cjs113.js.map +1 -0
  35. package/dist/index.cjs114.js +2 -0
  36. package/dist/index.cjs114.js.map +1 -0
  37. package/dist/index.cjs115.js +10 -0
  38. package/dist/index.cjs115.js.map +1 -0
  39. package/dist/index.cjs116.js +20 -0
  40. package/dist/index.cjs116.js.map +1 -0
  41. package/dist/index.cjs117.js +2 -0
  42. package/dist/index.cjs117.js.map +1 -0
  43. package/dist/index.cjs118.js +2 -0
  44. package/dist/index.cjs118.js.map +1 -0
  45. package/dist/index.cjs119.js +2 -0
  46. package/dist/index.cjs119.js.map +1 -0
  47. package/dist/index.cjs12.js +2 -0
  48. package/dist/index.cjs12.js.map +1 -0
  49. package/dist/index.cjs120.js +2 -0
  50. package/dist/index.cjs120.js.map +1 -0
  51. package/dist/index.cjs121.js +2 -0
  52. package/dist/index.cjs121.js.map +1 -0
  53. package/dist/index.cjs122.js +2 -0
  54. package/dist/index.cjs122.js.map +1 -0
  55. package/dist/index.cjs123.js +2 -0
  56. package/dist/index.cjs123.js.map +1 -0
  57. package/dist/index.cjs124.js +2 -0
  58. package/dist/index.cjs124.js.map +1 -0
  59. package/dist/index.cjs125.js +2 -0
  60. package/dist/index.cjs125.js.map +1 -0
  61. package/dist/index.cjs126.js +2 -0
  62. package/dist/index.cjs126.js.map +1 -0
  63. package/dist/index.cjs127.js +2 -0
  64. package/dist/index.cjs127.js.map +1 -0
  65. package/dist/index.cjs128.js +2 -0
  66. package/dist/index.cjs128.js.map +1 -0
  67. package/dist/index.cjs129.js +2 -0
  68. package/dist/index.cjs129.js.map +1 -0
  69. package/dist/index.cjs13.js +2 -0
  70. package/dist/index.cjs13.js.map +1 -0
  71. package/dist/index.cjs130.js +2 -0
  72. package/dist/index.cjs130.js.map +1 -0
  73. package/dist/index.cjs131.js +2 -0
  74. package/dist/index.cjs131.js.map +1 -0
  75. package/dist/index.cjs132.js +2 -0
  76. package/dist/index.cjs132.js.map +1 -0
  77. package/dist/index.cjs133.js +2 -0
  78. package/dist/index.cjs133.js.map +1 -0
  79. package/dist/index.cjs134.js +2 -0
  80. package/dist/index.cjs134.js.map +1 -0
  81. package/dist/index.cjs135.js +2 -0
  82. package/dist/index.cjs135.js.map +1 -0
  83. package/dist/index.cjs136.js +2 -0
  84. package/dist/index.cjs136.js.map +1 -0
  85. package/dist/index.cjs137.js +9 -0
  86. package/dist/index.cjs137.js.map +1 -0
  87. package/dist/index.cjs138.js +27 -0
  88. package/dist/index.cjs138.js.map +1 -0
  89. package/dist/index.cjs139.js +2 -0
  90. package/dist/index.cjs139.js.map +1 -0
  91. package/dist/index.cjs14.js +2 -0
  92. package/dist/index.cjs14.js.map +1 -0
  93. package/dist/index.cjs140.js +2 -0
  94. package/dist/index.cjs140.js.map +1 -0
  95. package/dist/index.cjs141.js +2 -0
  96. package/dist/index.cjs141.js.map +1 -0
  97. package/dist/index.cjs142.js +2 -0
  98. package/dist/index.cjs142.js.map +1 -0
  99. package/dist/index.cjs143.js +8 -0
  100. package/dist/index.cjs143.js.map +1 -0
  101. package/dist/index.cjs144.js +2 -0
  102. package/dist/index.cjs144.js.map +1 -0
  103. package/dist/index.cjs145.js +2 -0
  104. package/dist/index.cjs145.js.map +1 -0
  105. package/dist/index.cjs146.js +2 -0
  106. package/dist/index.cjs146.js.map +1 -0
  107. package/dist/index.cjs147.js +2 -0
  108. package/dist/index.cjs147.js.map +1 -0
  109. package/dist/index.cjs148.js +2 -0
  110. package/dist/index.cjs148.js.map +1 -0
  111. package/dist/index.cjs149.js +2 -0
  112. package/dist/index.cjs149.js.map +1 -0
  113. package/dist/index.cjs15.js +2 -0
  114. package/dist/index.cjs15.js.map +1 -0
  115. package/dist/index.cjs150.js +2 -0
  116. package/dist/index.cjs150.js.map +1 -0
  117. package/dist/index.cjs151.js +2 -0
  118. package/dist/index.cjs151.js.map +1 -0
  119. package/dist/index.cjs152.js +2 -0
  120. package/dist/index.cjs152.js.map +1 -0
  121. package/dist/index.cjs153.js +2 -0
  122. package/dist/index.cjs153.js.map +1 -0
  123. package/dist/index.cjs154.js +2 -0
  124. package/dist/index.cjs154.js.map +1 -0
  125. package/dist/index.cjs155.js +2 -0
  126. package/dist/index.cjs155.js.map +1 -0
  127. package/dist/index.cjs156.js +2 -0
  128. package/dist/index.cjs156.js.map +1 -0
  129. package/dist/index.cjs157.js +2 -0
  130. package/dist/index.cjs157.js.map +1 -0
  131. package/dist/index.cjs158.js +2 -0
  132. package/dist/index.cjs158.js.map +1 -0
  133. package/dist/index.cjs159.js +7 -0
  134. package/dist/index.cjs159.js.map +1 -0
  135. package/dist/index.cjs16.js +2 -0
  136. package/dist/index.cjs16.js.map +1 -0
  137. package/dist/index.cjs160.js +2 -0
  138. package/dist/index.cjs160.js.map +1 -0
  139. package/dist/index.cjs161.js +3 -0
  140. package/dist/index.cjs161.js.map +1 -0
  141. package/dist/index.cjs162.js +4 -0
  142. package/dist/index.cjs162.js.map +1 -0
  143. package/dist/index.cjs163.js +2 -0
  144. package/dist/index.cjs163.js.map +1 -0
  145. package/dist/index.cjs164.js +2 -0
  146. package/dist/index.cjs164.js.map +1 -0
  147. package/dist/index.cjs165.js +9 -0
  148. package/dist/index.cjs165.js.map +1 -0
  149. package/dist/index.cjs166.js +14 -0
  150. package/dist/index.cjs166.js.map +1 -0
  151. package/dist/index.cjs167.js +2 -0
  152. package/dist/index.cjs167.js.map +1 -0
  153. package/dist/index.cjs168.js +18 -0
  154. package/dist/index.cjs168.js.map +1 -0
  155. package/dist/index.cjs169.js +2 -0
  156. package/dist/index.cjs169.js.map +1 -0
  157. package/dist/index.cjs17.js +2 -0
  158. package/dist/index.cjs17.js.map +1 -0
  159. package/dist/index.cjs170.js +2 -0
  160. package/dist/index.cjs170.js.map +1 -0
  161. package/dist/index.cjs171.js +2 -0
  162. package/dist/index.cjs171.js.map +1 -0
  163. package/dist/index.cjs172.js +2 -0
  164. package/dist/index.cjs172.js.map +1 -0
  165. package/dist/index.cjs173.js +2 -0
  166. package/dist/index.cjs173.js.map +1 -0
  167. package/dist/index.cjs174.js +2 -0
  168. package/dist/index.cjs174.js.map +1 -0
  169. package/dist/index.cjs175.js +2 -0
  170. package/dist/index.cjs175.js.map +1 -0
  171. package/dist/index.cjs176.js +2 -0
  172. package/dist/index.cjs176.js.map +1 -0
  173. package/dist/index.cjs177.js +2 -0
  174. package/dist/index.cjs177.js.map +1 -0
  175. package/dist/index.cjs178.js +2 -0
  176. package/dist/index.cjs178.js.map +1 -0
  177. package/dist/index.cjs179.js +2 -0
  178. package/dist/index.cjs179.js.map +1 -0
  179. package/dist/index.cjs18.js +2 -0
  180. package/dist/index.cjs18.js.map +1 -0
  181. package/dist/index.cjs180.js +2 -0
  182. package/dist/index.cjs180.js.map +1 -0
  183. package/dist/index.cjs181.js +2 -0
  184. package/dist/index.cjs181.js.map +1 -0
  185. package/dist/index.cjs182.js +2 -0
  186. package/dist/index.cjs182.js.map +1 -0
  187. package/dist/index.cjs183.js +2 -0
  188. package/dist/index.cjs183.js.map +1 -0
  189. package/dist/index.cjs184.js +2 -0
  190. package/dist/index.cjs184.js.map +1 -0
  191. package/dist/index.cjs185.js +2 -0
  192. package/dist/index.cjs185.js.map +1 -0
  193. package/dist/index.cjs186.js +2 -0
  194. package/dist/index.cjs186.js.map +1 -0
  195. package/dist/index.cjs187.js +2 -0
  196. package/dist/index.cjs187.js.map +1 -0
  197. package/dist/index.cjs188.js +2 -0
  198. package/dist/index.cjs188.js.map +1 -0
  199. package/dist/index.cjs189.js +2 -0
  200. package/dist/index.cjs189.js.map +1 -0
  201. package/dist/index.cjs19.js +2 -0
  202. package/dist/index.cjs19.js.map +1 -0
  203. package/dist/index.cjs190.js +2 -0
  204. package/dist/index.cjs190.js.map +1 -0
  205. package/dist/index.cjs191.js +2 -0
  206. package/dist/index.cjs191.js.map +1 -0
  207. package/dist/index.cjs192.js +2 -0
  208. package/dist/index.cjs192.js.map +1 -0
  209. package/dist/index.cjs193.js +2 -0
  210. package/dist/index.cjs193.js.map +1 -0
  211. package/dist/index.cjs194.js +2 -0
  212. package/dist/index.cjs194.js.map +1 -0
  213. package/dist/index.cjs195.js +2 -0
  214. package/dist/index.cjs195.js.map +1 -0
  215. package/dist/index.cjs196.js +2 -0
  216. package/dist/index.cjs196.js.map +1 -0
  217. package/dist/index.cjs197.js +2 -0
  218. package/dist/index.cjs197.js.map +1 -0
  219. package/dist/index.cjs198.js +2 -0
  220. package/dist/index.cjs198.js.map +1 -0
  221. package/dist/index.cjs199.js +2 -0
  222. package/dist/index.cjs199.js.map +1 -0
  223. package/dist/index.cjs2.js +2 -0
  224. package/dist/index.cjs2.js.map +1 -0
  225. package/dist/index.cjs20.js +7 -0
  226. package/dist/index.cjs20.js.map +1 -0
  227. package/dist/index.cjs200.js +2 -0
  228. package/dist/index.cjs200.js.map +1 -0
  229. package/dist/index.cjs201.js +2 -0
  230. package/dist/index.cjs201.js.map +1 -0
  231. package/dist/index.cjs202.js +2 -0
  232. package/dist/index.cjs202.js.map +1 -0
  233. package/dist/index.cjs203.js +2 -0
  234. package/dist/index.cjs203.js.map +1 -0
  235. package/dist/index.cjs204.js +2 -0
  236. package/dist/index.cjs204.js.map +1 -0
  237. package/dist/index.cjs205.js +2 -0
  238. package/dist/index.cjs205.js.map +1 -0
  239. package/dist/index.cjs206.js +2 -0
  240. package/dist/index.cjs206.js.map +1 -0
  241. package/dist/index.cjs207.js +2 -0
  242. package/dist/index.cjs207.js.map +1 -0
  243. package/dist/index.cjs208.js +2 -0
  244. package/dist/index.cjs208.js.map +1 -0
  245. package/dist/index.cjs209.js +2 -0
  246. package/dist/index.cjs209.js.map +1 -0
  247. package/dist/index.cjs21.js +7 -0
  248. package/dist/index.cjs21.js.map +1 -0
  249. package/dist/index.cjs210.js +2 -0
  250. package/dist/index.cjs210.js.map +1 -0
  251. package/dist/index.cjs211.js +2 -0
  252. package/dist/index.cjs211.js.map +1 -0
  253. package/dist/index.cjs212.js +2 -0
  254. package/dist/index.cjs212.js.map +1 -0
  255. package/dist/index.cjs213.js +2 -0
  256. package/dist/index.cjs213.js.map +1 -0
  257. package/dist/index.cjs214.js +2 -0
  258. package/dist/index.cjs214.js.map +1 -0
  259. package/dist/index.cjs215.js +2 -0
  260. package/dist/index.cjs215.js.map +1 -0
  261. package/dist/index.cjs216.js +2 -0
  262. package/dist/index.cjs216.js.map +1 -0
  263. package/dist/index.cjs217.js +2 -0
  264. package/dist/index.cjs217.js.map +1 -0
  265. package/dist/index.cjs218.js +2 -0
  266. package/dist/index.cjs218.js.map +1 -0
  267. package/dist/index.cjs219.js +2 -0
  268. package/dist/index.cjs219.js.map +1 -0
  269. package/dist/index.cjs22.js +2 -0
  270. package/dist/index.cjs22.js.map +1 -0
  271. package/dist/index.cjs220.js +2 -0
  272. package/dist/index.cjs220.js.map +1 -0
  273. package/dist/index.cjs221.js +2 -0
  274. package/dist/index.cjs221.js.map +1 -0
  275. package/dist/index.cjs222.js +2 -0
  276. package/dist/index.cjs222.js.map +1 -0
  277. package/dist/index.cjs223.js +2 -0
  278. package/dist/index.cjs223.js.map +1 -0
  279. package/dist/index.cjs224.js +2 -0
  280. package/dist/index.cjs224.js.map +1 -0
  281. package/dist/index.cjs225.js +2 -0
  282. package/dist/index.cjs225.js.map +1 -0
  283. package/dist/index.cjs226.js +2 -0
  284. package/dist/index.cjs226.js.map +1 -0
  285. package/dist/index.cjs227.js +2 -0
  286. package/dist/index.cjs227.js.map +1 -0
  287. package/dist/index.cjs228.js +2 -0
  288. package/dist/index.cjs228.js.map +1 -0
  289. package/dist/index.cjs229.js +2 -0
  290. package/dist/index.cjs229.js.map +1 -0
  291. package/dist/index.cjs23.js +2 -0
  292. package/dist/index.cjs23.js.map +1 -0
  293. package/dist/index.cjs230.js +2 -0
  294. package/dist/index.cjs230.js.map +1 -0
  295. package/dist/index.cjs231.js +2 -0
  296. package/dist/index.cjs231.js.map +1 -0
  297. package/dist/index.cjs232.js +2 -0
  298. package/dist/index.cjs232.js.map +1 -0
  299. package/dist/index.cjs233.js +2 -0
  300. package/dist/index.cjs233.js.map +1 -0
  301. package/dist/index.cjs234.js +2 -0
  302. package/dist/index.cjs234.js.map +1 -0
  303. package/dist/index.cjs235.js +2 -0
  304. package/dist/index.cjs235.js.map +1 -0
  305. package/dist/index.cjs236.js +14 -0
  306. package/dist/index.cjs236.js.map +1 -0
  307. package/dist/index.cjs237.js +2 -0
  308. package/dist/index.cjs237.js.map +1 -0
  309. package/dist/index.cjs238.js +2 -0
  310. package/dist/index.cjs238.js.map +1 -0
  311. package/dist/index.cjs239.js +2 -0
  312. package/dist/index.cjs239.js.map +1 -0
  313. package/dist/index.cjs24.js +2 -0
  314. package/dist/index.cjs24.js.map +1 -0
  315. package/dist/index.cjs240.js +2 -0
  316. package/dist/index.cjs240.js.map +1 -0
  317. package/dist/index.cjs241.js +2 -0
  318. package/dist/index.cjs241.js.map +1 -0
  319. package/dist/index.cjs242.js +2 -0
  320. package/dist/index.cjs242.js.map +1 -0
  321. package/dist/index.cjs243.js +2 -0
  322. package/dist/index.cjs243.js.map +1 -0
  323. package/dist/index.cjs244.js +2 -0
  324. package/dist/index.cjs244.js.map +1 -0
  325. package/dist/index.cjs245.js +2 -0
  326. package/dist/index.cjs245.js.map +1 -0
  327. package/dist/index.cjs246.js +2 -0
  328. package/dist/index.cjs246.js.map +1 -0
  329. package/dist/index.cjs247.js +2 -0
  330. package/dist/index.cjs247.js.map +1 -0
  331. package/dist/index.cjs248.js +2 -0
  332. package/dist/index.cjs248.js.map +1 -0
  333. package/dist/index.cjs249.js +2 -0
  334. package/dist/index.cjs249.js.map +1 -0
  335. package/dist/index.cjs25.js +2 -0
  336. package/dist/index.cjs25.js.map +1 -0
  337. package/dist/index.cjs250.js +2 -0
  338. package/dist/index.cjs250.js.map +1 -0
  339. package/dist/index.cjs251.js +2 -0
  340. package/dist/index.cjs251.js.map +1 -0
  341. package/dist/index.cjs252.js +2 -0
  342. package/dist/index.cjs252.js.map +1 -0
  343. package/dist/index.cjs253.js +2 -0
  344. package/dist/index.cjs253.js.map +1 -0
  345. package/dist/index.cjs254.js +2 -0
  346. package/dist/index.cjs254.js.map +1 -0
  347. package/dist/index.cjs255.js +2 -0
  348. package/dist/index.cjs255.js.map +1 -0
  349. package/dist/index.cjs256.js +2 -0
  350. package/dist/index.cjs256.js.map +1 -0
  351. package/dist/index.cjs257.js +2 -0
  352. package/dist/index.cjs257.js.map +1 -0
  353. package/dist/index.cjs258.js +2 -0
  354. package/dist/index.cjs258.js.map +1 -0
  355. package/dist/index.cjs259.js +2 -0
  356. package/dist/index.cjs259.js.map +1 -0
  357. package/dist/index.cjs26.js +2 -0
  358. package/dist/index.cjs26.js.map +1 -0
  359. package/dist/index.cjs260.js +2 -0
  360. package/dist/index.cjs260.js.map +1 -0
  361. package/dist/index.cjs261.js +2 -0
  362. package/dist/index.cjs261.js.map +1 -0
  363. package/dist/index.cjs262.js +2 -0
  364. package/dist/index.cjs262.js.map +1 -0
  365. package/dist/index.cjs263.js +2 -0
  366. package/dist/index.cjs263.js.map +1 -0
  367. package/dist/index.cjs264.js +2 -0
  368. package/dist/index.cjs264.js.map +1 -0
  369. package/dist/index.cjs265.js +2 -0
  370. package/dist/index.cjs265.js.map +1 -0
  371. package/dist/index.cjs266.js +2 -0
  372. package/dist/index.cjs266.js.map +1 -0
  373. package/dist/index.cjs267.js +2 -0
  374. package/dist/index.cjs267.js.map +1 -0
  375. package/dist/index.cjs268.js +2 -0
  376. package/dist/index.cjs268.js.map +1 -0
  377. package/dist/index.cjs269.js +2 -0
  378. package/dist/index.cjs269.js.map +1 -0
  379. package/dist/index.cjs27.js +2 -0
  380. package/dist/index.cjs27.js.map +1 -0
  381. package/dist/index.cjs270.js +2 -0
  382. package/dist/index.cjs270.js.map +1 -0
  383. package/dist/index.cjs271.js +2 -0
  384. package/dist/index.cjs271.js.map +1 -0
  385. package/dist/index.cjs272.js +2 -0
  386. package/dist/index.cjs272.js.map +1 -0
  387. package/dist/index.cjs273.js +2 -0
  388. package/dist/index.cjs273.js.map +1 -0
  389. package/dist/index.cjs274.js +2 -0
  390. package/dist/index.cjs274.js.map +1 -0
  391. package/dist/index.cjs275.js +2 -0
  392. package/dist/index.cjs275.js.map +1 -0
  393. package/dist/index.cjs276.js +2 -0
  394. package/dist/index.cjs276.js.map +1 -0
  395. package/dist/index.cjs277.js +2 -0
  396. package/dist/index.cjs277.js.map +1 -0
  397. package/dist/index.cjs278.js +2 -0
  398. package/dist/index.cjs278.js.map +1 -0
  399. package/dist/index.cjs279.js +2 -0
  400. package/dist/index.cjs279.js.map +1 -0
  401. package/dist/index.cjs28.js +2 -0
  402. package/dist/index.cjs28.js.map +1 -0
  403. package/dist/index.cjs280.js +2 -0
  404. package/dist/index.cjs280.js.map +1 -0
  405. package/dist/index.cjs281.js +2 -0
  406. package/dist/index.cjs281.js.map +1 -0
  407. package/dist/index.cjs282.js +2 -0
  408. package/dist/index.cjs282.js.map +1 -0
  409. package/dist/index.cjs283.js +2 -0
  410. package/dist/index.cjs283.js.map +1 -0
  411. package/dist/index.cjs284.js +2 -0
  412. package/dist/index.cjs284.js.map +1 -0
  413. package/dist/index.cjs285.js +2 -0
  414. package/dist/index.cjs285.js.map +1 -0
  415. package/dist/index.cjs286.js +2 -0
  416. package/dist/index.cjs286.js.map +1 -0
  417. package/dist/index.cjs287.js +2 -0
  418. package/dist/index.cjs287.js.map +1 -0
  419. package/dist/index.cjs288.js +2 -0
  420. package/dist/index.cjs288.js.map +1 -0
  421. package/dist/index.cjs289.js +2 -0
  422. package/dist/index.cjs289.js.map +1 -0
  423. package/dist/index.cjs29.js +2 -0
  424. package/dist/index.cjs29.js.map +1 -0
  425. package/dist/index.cjs290.js +2 -0
  426. package/dist/index.cjs290.js.map +1 -0
  427. package/dist/index.cjs291.js +2 -0
  428. package/dist/index.cjs291.js.map +1 -0
  429. package/dist/index.cjs292.js +2 -0
  430. package/dist/index.cjs292.js.map +1 -0
  431. package/dist/index.cjs293.js +2 -0
  432. package/dist/index.cjs293.js.map +1 -0
  433. package/dist/index.cjs294.js +2 -0
  434. package/dist/index.cjs294.js.map +1 -0
  435. package/dist/index.cjs295.js +2 -0
  436. package/dist/index.cjs295.js.map +1 -0
  437. package/dist/index.cjs296.js +2 -0
  438. package/dist/index.cjs296.js.map +1 -0
  439. package/dist/index.cjs297.js +2 -0
  440. package/dist/index.cjs297.js.map +1 -0
  441. package/dist/index.cjs298.js +2 -0
  442. package/dist/index.cjs298.js.map +1 -0
  443. package/dist/index.cjs299.js +2 -0
  444. package/dist/index.cjs299.js.map +1 -0
  445. package/dist/index.cjs3.js +2 -0
  446. package/dist/index.cjs3.js.map +1 -0
  447. package/dist/index.cjs30.js +2 -0
  448. package/dist/index.cjs30.js.map +1 -0
  449. package/dist/index.cjs300.js +2 -0
  450. package/dist/index.cjs300.js.map +1 -0
  451. package/dist/index.cjs301.js +2 -0
  452. package/dist/index.cjs301.js.map +1 -0
  453. package/dist/index.cjs302.js +2 -0
  454. package/dist/index.cjs302.js.map +1 -0
  455. package/dist/index.cjs303.js +2 -0
  456. package/dist/index.cjs303.js.map +1 -0
  457. package/dist/index.cjs304.js +2 -0
  458. package/dist/index.cjs304.js.map +1 -0
  459. package/dist/index.cjs305.js +2 -0
  460. package/dist/index.cjs305.js.map +1 -0
  461. package/dist/index.cjs306.js +2 -0
  462. package/dist/index.cjs306.js.map +1 -0
  463. package/dist/index.cjs307.js +2 -0
  464. package/dist/index.cjs307.js.map +1 -0
  465. package/dist/index.cjs308.js +2 -0
  466. package/dist/index.cjs308.js.map +1 -0
  467. package/dist/index.cjs309.js +2 -0
  468. package/dist/index.cjs309.js.map +1 -0
  469. package/dist/index.cjs31.js +2 -0
  470. package/dist/index.cjs31.js.map +1 -0
  471. package/dist/index.cjs310.js +581 -0
  472. package/dist/index.cjs310.js.map +1 -0
  473. package/dist/index.cjs311.js +2 -0
  474. package/dist/index.cjs311.js.map +1 -0
  475. package/dist/index.cjs312.js +2 -0
  476. package/dist/index.cjs312.js.map +1 -0
  477. package/dist/index.cjs313.js +2 -0
  478. package/dist/index.cjs313.js.map +1 -0
  479. package/dist/index.cjs314.js +2 -0
  480. package/dist/index.cjs314.js.map +1 -0
  481. package/dist/index.cjs315.js +2 -0
  482. package/dist/index.cjs315.js.map +1 -0
  483. package/dist/index.cjs316.js +2 -0
  484. package/dist/index.cjs316.js.map +1 -0
  485. package/dist/index.cjs317.js +2 -0
  486. package/dist/index.cjs317.js.map +1 -0
  487. package/dist/index.cjs318.js +2 -0
  488. package/dist/index.cjs318.js.map +1 -0
  489. package/dist/index.cjs319.js +2 -0
  490. package/dist/index.cjs319.js.map +1 -0
  491. package/dist/index.cjs32.js +2 -0
  492. package/dist/index.cjs32.js.map +1 -0
  493. package/dist/index.cjs320.js +2 -0
  494. package/dist/index.cjs320.js.map +1 -0
  495. package/dist/index.cjs321.js +2 -0
  496. package/dist/index.cjs321.js.map +1 -0
  497. package/dist/index.cjs322.js +2 -0
  498. package/dist/index.cjs322.js.map +1 -0
  499. package/dist/index.cjs323.js +2 -0
  500. package/dist/index.cjs323.js.map +1 -0
  501. package/dist/index.cjs324.js +7 -0
  502. package/dist/index.cjs324.js.map +1 -0
  503. package/dist/index.cjs325.js +7 -0
  504. package/dist/index.cjs325.js.map +1 -0
  505. package/dist/index.cjs326.js +2 -0
  506. package/dist/index.cjs326.js.map +1 -0
  507. package/dist/index.cjs327.js +2 -0
  508. package/dist/index.cjs327.js.map +1 -0
  509. package/dist/index.cjs328.js +2 -0
  510. package/dist/index.cjs328.js.map +1 -0
  511. package/dist/index.cjs329.js +2 -0
  512. package/dist/index.cjs329.js.map +1 -0
  513. package/dist/index.cjs33.js +2 -0
  514. package/dist/index.cjs33.js.map +1 -0
  515. package/dist/index.cjs330.js +2 -0
  516. package/dist/index.cjs330.js.map +1 -0
  517. package/dist/index.cjs331.js +2 -0
  518. package/dist/index.cjs331.js.map +1 -0
  519. package/dist/index.cjs332.js +2 -0
  520. package/dist/index.cjs332.js.map +1 -0
  521. package/dist/index.cjs333.js +2 -0
  522. package/dist/index.cjs333.js.map +1 -0
  523. package/dist/index.cjs334.js +2 -0
  524. package/dist/index.cjs334.js.map +1 -0
  525. package/dist/index.cjs335.js +2 -0
  526. package/dist/index.cjs335.js.map +1 -0
  527. package/dist/index.cjs336.js +2 -0
  528. package/dist/index.cjs336.js.map +1 -0
  529. package/dist/index.cjs337.js +7 -0
  530. package/dist/index.cjs337.js.map +1 -0
  531. package/dist/index.cjs338.js +2 -0
  532. package/dist/index.cjs338.js.map +1 -0
  533. package/dist/index.cjs339.js +2 -0
  534. package/dist/index.cjs339.js.map +1 -0
  535. package/dist/index.cjs34.js +2 -0
  536. package/dist/index.cjs34.js.map +1 -0
  537. package/dist/index.cjs340.js +2 -0
  538. package/dist/index.cjs340.js.map +1 -0
  539. package/dist/index.cjs341.js +2 -0
  540. package/dist/index.cjs341.js.map +1 -0
  541. package/dist/index.cjs342.js +2 -0
  542. package/dist/index.cjs342.js.map +1 -0
  543. package/dist/index.cjs343.js +2 -0
  544. package/dist/index.cjs343.js.map +1 -0
  545. package/dist/index.cjs344.js +2 -0
  546. package/dist/index.cjs344.js.map +1 -0
  547. package/dist/index.cjs345.js +2 -0
  548. package/dist/index.cjs345.js.map +1 -0
  549. package/dist/index.cjs346.js +2 -0
  550. package/dist/index.cjs346.js.map +1 -0
  551. package/dist/index.cjs347.js +2 -0
  552. package/dist/index.cjs347.js.map +1 -0
  553. package/dist/index.cjs348.js +2 -0
  554. package/dist/index.cjs348.js.map +1 -0
  555. package/dist/index.cjs349.js +3 -0
  556. package/dist/index.cjs349.js.map +1 -0
  557. package/dist/index.cjs35.js +2 -0
  558. package/dist/index.cjs35.js.map +1 -0
  559. package/dist/index.cjs350.js +5 -0
  560. package/dist/index.cjs350.js.map +1 -0
  561. package/dist/index.cjs351.js +3 -0
  562. package/dist/index.cjs351.js.map +1 -0
  563. package/dist/index.cjs352.js +2 -0
  564. package/dist/index.cjs352.js.map +1 -0
  565. package/dist/index.cjs353.js +2 -0
  566. package/dist/index.cjs353.js.map +1 -0
  567. package/dist/index.cjs354.js +3 -0
  568. package/dist/index.cjs354.js.map +1 -0
  569. package/dist/index.cjs355.js +2 -0
  570. package/dist/index.cjs355.js.map +1 -0
  571. package/dist/index.cjs356.js +2 -0
  572. package/dist/index.cjs356.js.map +1 -0
  573. package/dist/index.cjs357.js +2 -0
  574. package/dist/index.cjs357.js.map +1 -0
  575. package/dist/index.cjs358.js +2 -0
  576. package/dist/index.cjs358.js.map +1 -0
  577. package/dist/index.cjs359.js +2 -0
  578. package/dist/index.cjs359.js.map +1 -0
  579. package/dist/index.cjs36.js +2 -0
  580. package/dist/index.cjs36.js.map +1 -0
  581. package/dist/index.cjs360.js +2 -0
  582. package/dist/index.cjs360.js.map +1 -0
  583. package/dist/index.cjs361.js +2 -0
  584. package/dist/index.cjs361.js.map +1 -0
  585. package/dist/index.cjs362.js +2 -0
  586. package/dist/index.cjs362.js.map +1 -0
  587. package/dist/index.cjs363.js +2 -0
  588. package/dist/index.cjs363.js.map +1 -0
  589. package/dist/index.cjs364.js +2 -0
  590. package/dist/index.cjs364.js.map +1 -0
  591. package/dist/index.cjs365.js +10 -0
  592. package/dist/index.cjs365.js.map +1 -0
  593. package/dist/index.cjs366.js +20 -0
  594. package/dist/index.cjs366.js.map +1 -0
  595. package/dist/index.cjs367.js +2 -0
  596. package/dist/index.cjs367.js.map +1 -0
  597. package/dist/index.cjs368.js +2 -0
  598. package/dist/index.cjs368.js.map +1 -0
  599. package/dist/index.cjs369.js +2 -0
  600. package/dist/index.cjs369.js.map +1 -0
  601. package/dist/index.cjs37.js +2 -0
  602. package/dist/index.cjs37.js.map +1 -0
  603. package/dist/index.cjs370.js +2 -0
  604. package/dist/index.cjs370.js.map +1 -0
  605. package/dist/index.cjs371.js +2 -0
  606. package/dist/index.cjs371.js.map +1 -0
  607. package/dist/index.cjs372.js +2 -0
  608. package/dist/index.cjs372.js.map +1 -0
  609. package/dist/index.cjs373.js +2 -0
  610. package/dist/index.cjs373.js.map +1 -0
  611. package/dist/index.cjs374.js +2 -0
  612. package/dist/index.cjs374.js.map +1 -0
  613. package/dist/index.cjs375.js +2 -0
  614. package/dist/index.cjs375.js.map +1 -0
  615. package/dist/index.cjs376.js +2 -0
  616. package/dist/index.cjs376.js.map +1 -0
  617. package/dist/index.cjs377.js +2 -0
  618. package/dist/index.cjs377.js.map +1 -0
  619. package/dist/index.cjs378.js +2 -0
  620. package/dist/index.cjs378.js.map +1 -0
  621. package/dist/index.cjs379.js +2 -0
  622. package/dist/index.cjs379.js.map +1 -0
  623. package/dist/index.cjs38.js +2 -0
  624. package/dist/index.cjs38.js.map +1 -0
  625. package/dist/index.cjs380.js +2 -0
  626. package/dist/index.cjs380.js.map +1 -0
  627. package/dist/index.cjs381.js +2 -0
  628. package/dist/index.cjs381.js.map +1 -0
  629. package/dist/index.cjs382.js +2 -0
  630. package/dist/index.cjs382.js.map +1 -0
  631. package/dist/index.cjs383.js +2 -0
  632. package/dist/index.cjs383.js.map +1 -0
  633. package/dist/index.cjs384.js +2 -0
  634. package/dist/index.cjs384.js.map +1 -0
  635. package/dist/index.cjs385.js +2 -0
  636. package/dist/index.cjs385.js.map +1 -0
  637. package/dist/index.cjs386.js +2 -0
  638. package/dist/index.cjs386.js.map +1 -0
  639. package/dist/index.cjs387.js +2 -0
  640. package/dist/index.cjs387.js.map +1 -0
  641. package/dist/index.cjs388.js +2 -0
  642. package/dist/index.cjs388.js.map +1 -0
  643. package/dist/index.cjs389.js +2 -0
  644. package/dist/index.cjs389.js.map +1 -0
  645. package/dist/index.cjs39.js +2 -0
  646. package/dist/index.cjs39.js.map +1 -0
  647. package/dist/index.cjs390.js +2 -0
  648. package/dist/index.cjs390.js.map +1 -0
  649. package/dist/index.cjs391.js +2 -0
  650. package/dist/index.cjs391.js.map +1 -0
  651. package/dist/index.cjs392.js +2 -0
  652. package/dist/index.cjs392.js.map +1 -0
  653. package/dist/index.cjs393.js +2 -0
  654. package/dist/index.cjs393.js.map +1 -0
  655. package/dist/index.cjs394.js +2 -0
  656. package/dist/index.cjs394.js.map +1 -0
  657. package/dist/index.cjs395.js +2 -0
  658. package/dist/index.cjs395.js.map +1 -0
  659. package/dist/index.cjs396.js +2 -0
  660. package/dist/index.cjs396.js.map +1 -0
  661. package/dist/index.cjs397.js +2 -0
  662. package/dist/index.cjs397.js.map +1 -0
  663. package/dist/index.cjs398.js +2 -0
  664. package/dist/index.cjs398.js.map +1 -0
  665. package/dist/index.cjs399.js +2 -0
  666. package/dist/index.cjs399.js.map +1 -0
  667. package/dist/index.cjs4.js +2 -0
  668. package/dist/index.cjs4.js.map +1 -0
  669. package/dist/index.cjs40.js +2 -0
  670. package/dist/index.cjs40.js.map +1 -0
  671. package/dist/index.cjs400.js +2 -0
  672. package/dist/index.cjs400.js.map +1 -0
  673. package/dist/index.cjs401.js +2 -0
  674. package/dist/index.cjs401.js.map +1 -0
  675. package/dist/index.cjs402.js +2 -0
  676. package/dist/index.cjs402.js.map +1 -0
  677. package/dist/index.cjs403.js +2 -0
  678. package/dist/index.cjs403.js.map +1 -0
  679. package/dist/index.cjs404.js +2 -0
  680. package/dist/index.cjs404.js.map +1 -0
  681. package/dist/index.cjs405.js +2 -0
  682. package/dist/index.cjs405.js.map +1 -0
  683. package/dist/index.cjs406.js +2 -0
  684. package/dist/index.cjs406.js.map +1 -0
  685. package/dist/index.cjs407.js +2 -0
  686. package/dist/index.cjs407.js.map +1 -0
  687. package/dist/index.cjs408.js +2 -0
  688. package/dist/index.cjs408.js.map +1 -0
  689. package/dist/index.cjs409.js +2 -0
  690. package/dist/index.cjs409.js.map +1 -0
  691. package/dist/index.cjs41.js +2 -0
  692. package/dist/index.cjs41.js.map +1 -0
  693. package/dist/index.cjs410.js +2 -0
  694. package/dist/index.cjs410.js.map +1 -0
  695. package/dist/index.cjs411.js +2 -0
  696. package/dist/index.cjs411.js.map +1 -0
  697. package/dist/index.cjs412.js +2 -0
  698. package/dist/index.cjs412.js.map +1 -0
  699. package/dist/index.cjs413.js +2 -0
  700. package/dist/index.cjs413.js.map +1 -0
  701. package/dist/index.cjs414.js +2 -0
  702. package/dist/index.cjs414.js.map +1 -0
  703. package/dist/index.cjs415.js +2 -0
  704. package/dist/index.cjs415.js.map +1 -0
  705. package/dist/index.cjs416.js +2 -0
  706. package/dist/index.cjs416.js.map +1 -0
  707. package/dist/index.cjs417.js +2 -0
  708. package/dist/index.cjs417.js.map +1 -0
  709. package/dist/index.cjs418.js +2 -0
  710. package/dist/index.cjs418.js.map +1 -0
  711. package/dist/index.cjs419.js +2 -0
  712. package/dist/index.cjs419.js.map +1 -0
  713. package/dist/index.cjs42.js +2 -0
  714. package/dist/index.cjs42.js.map +1 -0
  715. package/dist/index.cjs420.js +2 -0
  716. package/dist/index.cjs420.js.map +1 -0
  717. package/dist/index.cjs421.js +2 -0
  718. package/dist/index.cjs421.js.map +1 -0
  719. package/dist/index.cjs422.js +2 -0
  720. package/dist/index.cjs422.js.map +1 -0
  721. package/dist/index.cjs423.js +2 -0
  722. package/dist/index.cjs423.js.map +1 -0
  723. package/dist/index.cjs424.js +2 -0
  724. package/dist/index.cjs424.js.map +1 -0
  725. package/dist/index.cjs425.js +2 -0
  726. package/dist/index.cjs425.js.map +1 -0
  727. package/dist/index.cjs426.js +2 -0
  728. package/dist/index.cjs426.js.map +1 -0
  729. package/dist/index.cjs427.js +2 -0
  730. package/dist/index.cjs427.js.map +1 -0
  731. package/dist/index.cjs428.js +2 -0
  732. package/dist/index.cjs428.js.map +1 -0
  733. package/dist/index.cjs429.js +2 -0
  734. package/dist/index.cjs429.js.map +1 -0
  735. package/dist/index.cjs43.js +2 -0
  736. package/dist/index.cjs43.js.map +1 -0
  737. package/dist/index.cjs430.js +2 -0
  738. package/dist/index.cjs430.js.map +1 -0
  739. package/dist/index.cjs431.js +2 -0
  740. package/dist/index.cjs431.js.map +1 -0
  741. package/dist/index.cjs432.js +2 -0
  742. package/dist/index.cjs432.js.map +1 -0
  743. package/dist/index.cjs433.js +2 -0
  744. package/dist/index.cjs433.js.map +1 -0
  745. package/dist/index.cjs434.js +2 -0
  746. package/dist/index.cjs434.js.map +1 -0
  747. package/dist/index.cjs435.js +2 -0
  748. package/dist/index.cjs435.js.map +1 -0
  749. package/dist/index.cjs436.js +2 -0
  750. package/dist/index.cjs436.js.map +1 -0
  751. package/dist/index.cjs437.js +5 -0
  752. package/dist/index.cjs437.js.map +1 -0
  753. package/dist/index.cjs438.js +2 -0
  754. package/dist/index.cjs438.js.map +1 -0
  755. package/dist/index.cjs439.js +2 -0
  756. package/dist/index.cjs439.js.map +1 -0
  757. package/dist/index.cjs44.js +2 -0
  758. package/dist/index.cjs44.js.map +1 -0
  759. package/dist/index.cjs440.js +2 -0
  760. package/dist/index.cjs440.js.map +1 -0
  761. package/dist/index.cjs441.js +2 -0
  762. package/dist/index.cjs441.js.map +1 -0
  763. package/dist/index.cjs442.js +2 -0
  764. package/dist/index.cjs442.js.map +1 -0
  765. package/dist/index.cjs443.js +3 -0
  766. package/dist/index.cjs443.js.map +1 -0
  767. package/dist/index.cjs444.js +2 -0
  768. package/dist/index.cjs444.js.map +1 -0
  769. package/dist/index.cjs445.js +2 -0
  770. package/dist/index.cjs445.js.map +1 -0
  771. package/dist/index.cjs446.js +2 -0
  772. package/dist/index.cjs446.js.map +1 -0
  773. package/dist/index.cjs447.js +2 -0
  774. package/dist/index.cjs447.js.map +1 -0
  775. package/dist/index.cjs448.js +2 -0
  776. package/dist/index.cjs448.js.map +1 -0
  777. package/dist/index.cjs449.js +2 -0
  778. package/dist/index.cjs449.js.map +1 -0
  779. package/dist/index.cjs45.js +2 -0
  780. package/dist/index.cjs45.js.map +1 -0
  781. package/dist/index.cjs450.js +2 -0
  782. package/dist/index.cjs450.js.map +1 -0
  783. package/dist/index.cjs451.js +2 -0
  784. package/dist/index.cjs451.js.map +1 -0
  785. package/dist/index.cjs452.js +2 -0
  786. package/dist/index.cjs452.js.map +1 -0
  787. package/dist/index.cjs453.js +2 -0
  788. package/dist/index.cjs453.js.map +1 -0
  789. package/dist/index.cjs454.js +2 -0
  790. package/dist/index.cjs454.js.map +1 -0
  791. package/dist/index.cjs455.js +2 -0
  792. package/dist/index.cjs455.js.map +1 -0
  793. package/dist/index.cjs456.js +2 -0
  794. package/dist/index.cjs456.js.map +1 -0
  795. package/dist/index.cjs457.js +2 -0
  796. package/dist/index.cjs457.js.map +1 -0
  797. package/dist/index.cjs458.js +2 -0
  798. package/dist/index.cjs458.js.map +1 -0
  799. package/dist/index.cjs459.js +2 -0
  800. package/dist/index.cjs459.js.map +1 -0
  801. package/dist/index.cjs46.js +2 -0
  802. package/dist/index.cjs46.js.map +1 -0
  803. package/dist/index.cjs460.js +6 -0
  804. package/dist/index.cjs460.js.map +1 -0
  805. package/dist/index.cjs461.js +2 -0
  806. package/dist/index.cjs461.js.map +1 -0
  807. package/dist/index.cjs462.js +2 -0
  808. package/dist/index.cjs462.js.map +1 -0
  809. package/dist/index.cjs463.js +2 -0
  810. package/dist/index.cjs463.js.map +1 -0
  811. package/dist/index.cjs464.js +13 -0
  812. package/dist/index.cjs464.js.map +1 -0
  813. package/dist/index.cjs465.js +2 -0
  814. package/dist/index.cjs465.js.map +1 -0
  815. package/dist/index.cjs466.js +2 -0
  816. package/dist/index.cjs466.js.map +1 -0
  817. package/dist/index.cjs467.js +2 -0
  818. package/dist/index.cjs467.js.map +1 -0
  819. package/dist/index.cjs468.js +2 -0
  820. package/dist/index.cjs468.js.map +1 -0
  821. package/dist/index.cjs469.js +2 -0
  822. package/dist/index.cjs469.js.map +1 -0
  823. package/dist/index.cjs47.js +2 -0
  824. package/dist/index.cjs47.js.map +1 -0
  825. package/dist/index.cjs470.js +2 -0
  826. package/dist/index.cjs470.js.map +1 -0
  827. package/dist/index.cjs471.js +2 -0
  828. package/dist/index.cjs471.js.map +1 -0
  829. package/dist/index.cjs472.js +2 -0
  830. package/dist/index.cjs472.js.map +1 -0
  831. package/dist/index.cjs473.js +2 -0
  832. package/dist/index.cjs473.js.map +1 -0
  833. package/dist/index.cjs474.js +2 -0
  834. package/dist/index.cjs474.js.map +1 -0
  835. package/dist/index.cjs475.js +2 -0
  836. package/dist/index.cjs475.js.map +1 -0
  837. package/dist/index.cjs476.js +2 -0
  838. package/dist/index.cjs476.js.map +1 -0
  839. package/dist/index.cjs477.js +2 -0
  840. package/dist/index.cjs477.js.map +1 -0
  841. package/dist/index.cjs478.js +2 -0
  842. package/dist/index.cjs478.js.map +1 -0
  843. package/dist/index.cjs479.js +2 -0
  844. package/dist/index.cjs479.js.map +1 -0
  845. package/dist/index.cjs48.js +2 -0
  846. package/dist/index.cjs48.js.map +1 -0
  847. package/dist/index.cjs480.js +2 -0
  848. package/dist/index.cjs480.js.map +1 -0
  849. package/dist/index.cjs481.js +2 -0
  850. package/dist/index.cjs481.js.map +1 -0
  851. package/dist/index.cjs482.js +2 -0
  852. package/dist/index.cjs482.js.map +1 -0
  853. package/dist/index.cjs483.js +2 -0
  854. package/dist/index.cjs483.js.map +1 -0
  855. package/dist/index.cjs484.js +2 -0
  856. package/dist/index.cjs484.js.map +1 -0
  857. package/dist/index.cjs485.js +2 -0
  858. package/dist/index.cjs485.js.map +1 -0
  859. package/dist/index.cjs486.js +2 -0
  860. package/dist/index.cjs486.js.map +1 -0
  861. package/dist/index.cjs487.js +2 -0
  862. package/dist/index.cjs487.js.map +1 -0
  863. package/dist/index.cjs488.js +2 -0
  864. package/dist/index.cjs488.js.map +1 -0
  865. package/dist/index.cjs489.js +2 -0
  866. package/dist/index.cjs489.js.map +1 -0
  867. package/dist/index.cjs49.js +2 -0
  868. package/dist/index.cjs49.js.map +1 -0
  869. package/dist/index.cjs490.js +2 -0
  870. package/dist/index.cjs490.js.map +1 -0
  871. package/dist/index.cjs491.js +2 -0
  872. package/dist/index.cjs491.js.map +1 -0
  873. package/dist/index.cjs492.js +2 -0
  874. package/dist/index.cjs492.js.map +1 -0
  875. package/dist/index.cjs493.js +2 -0
  876. package/dist/index.cjs493.js.map +1 -0
  877. package/dist/index.cjs494.js +2 -0
  878. package/dist/index.cjs494.js.map +1 -0
  879. package/dist/index.cjs495.js +2 -0
  880. package/dist/index.cjs495.js.map +1 -0
  881. package/dist/index.cjs496.js +2 -0
  882. package/dist/index.cjs496.js.map +1 -0
  883. package/dist/index.cjs497.js +2 -0
  884. package/dist/index.cjs497.js.map +1 -0
  885. package/dist/index.cjs498.js +2 -0
  886. package/dist/index.cjs498.js.map +1 -0
  887. package/dist/index.cjs499.js +2 -0
  888. package/dist/index.cjs499.js.map +1 -0
  889. package/dist/index.cjs5.js +2 -0
  890. package/dist/index.cjs5.js.map +1 -0
  891. package/dist/index.cjs50.js +2 -0
  892. package/dist/index.cjs50.js.map +1 -0
  893. package/dist/index.cjs500.js +2 -0
  894. package/dist/index.cjs500.js.map +1 -0
  895. package/dist/index.cjs501.js +2 -0
  896. package/dist/index.cjs501.js.map +1 -0
  897. package/dist/index.cjs502.js +2 -0
  898. package/dist/index.cjs502.js.map +1 -0
  899. package/dist/index.cjs503.js +2 -0
  900. package/dist/index.cjs503.js.map +1 -0
  901. package/dist/index.cjs504.js +2 -0
  902. package/dist/index.cjs504.js.map +1 -0
  903. package/dist/index.cjs505.js +2 -0
  904. package/dist/index.cjs505.js.map +1 -0
  905. package/dist/index.cjs506.js +2 -0
  906. package/dist/index.cjs506.js.map +1 -0
  907. package/dist/index.cjs507.js +2 -0
  908. package/dist/index.cjs507.js.map +1 -0
  909. package/dist/index.cjs508.js +2 -0
  910. package/dist/index.cjs508.js.map +1 -0
  911. package/dist/index.cjs509.js +2 -0
  912. package/dist/index.cjs509.js.map +1 -0
  913. package/dist/index.cjs51.js +2 -0
  914. package/dist/index.cjs51.js.map +1 -0
  915. package/dist/index.cjs510.js +2 -0
  916. package/dist/index.cjs510.js.map +1 -0
  917. package/dist/index.cjs511.js +2 -0
  918. package/dist/index.cjs511.js.map +1 -0
  919. package/dist/index.cjs512.js +2 -0
  920. package/dist/index.cjs512.js.map +1 -0
  921. package/dist/index.cjs513.js +2 -0
  922. package/dist/index.cjs513.js.map +1 -0
  923. package/dist/index.cjs514.js +2 -0
  924. package/dist/index.cjs514.js.map +1 -0
  925. package/dist/index.cjs515.js +2 -0
  926. package/dist/index.cjs515.js.map +1 -0
  927. package/dist/index.cjs516.js +2 -0
  928. package/dist/index.cjs516.js.map +1 -0
  929. package/dist/index.cjs517.js +2 -0
  930. package/dist/index.cjs517.js.map +1 -0
  931. package/dist/index.cjs518.js +2 -0
  932. package/dist/index.cjs518.js.map +1 -0
  933. package/dist/index.cjs519.js +2 -0
  934. package/dist/index.cjs519.js.map +1 -0
  935. package/dist/index.cjs52.js +2 -0
  936. package/dist/index.cjs52.js.map +1 -0
  937. package/dist/index.cjs520.js +2 -0
  938. package/dist/index.cjs520.js.map +1 -0
  939. package/dist/index.cjs521.js +2 -0
  940. package/dist/index.cjs521.js.map +1 -0
  941. package/dist/index.cjs522.js +2 -0
  942. package/dist/index.cjs522.js.map +1 -0
  943. package/dist/index.cjs523.js +2 -0
  944. package/dist/index.cjs523.js.map +1 -0
  945. package/dist/index.cjs524.js +2 -0
  946. package/dist/index.cjs524.js.map +1 -0
  947. package/dist/index.cjs525.js +2 -0
  948. package/dist/index.cjs525.js.map +1 -0
  949. package/dist/index.cjs526.js +2 -0
  950. package/dist/index.cjs526.js.map +1 -0
  951. package/dist/index.cjs527.js +2 -0
  952. package/dist/index.cjs527.js.map +1 -0
  953. package/dist/index.cjs528.js +2 -0
  954. package/dist/index.cjs528.js.map +1 -0
  955. package/dist/index.cjs529.js +2 -0
  956. package/dist/index.cjs529.js.map +1 -0
  957. package/dist/index.cjs53.js +2 -0
  958. package/dist/index.cjs53.js.map +1 -0
  959. package/dist/index.cjs530.js +2 -0
  960. package/dist/index.cjs530.js.map +1 -0
  961. package/dist/index.cjs531.js +2 -0
  962. package/dist/index.cjs531.js.map +1 -0
  963. package/dist/index.cjs532.js +2 -0
  964. package/dist/index.cjs532.js.map +1 -0
  965. package/dist/index.cjs533.js +14 -0
  966. package/dist/index.cjs533.js.map +1 -0
  967. package/dist/index.cjs534.js +2 -0
  968. package/dist/index.cjs534.js.map +1 -0
  969. package/dist/index.cjs535.js +2 -0
  970. package/dist/index.cjs535.js.map +1 -0
  971. package/dist/index.cjs536.js +2 -0
  972. package/dist/index.cjs536.js.map +1 -0
  973. package/dist/index.cjs537.js +2 -0
  974. package/dist/index.cjs537.js.map +1 -0
  975. package/dist/index.cjs538.js +2 -0
  976. package/dist/index.cjs538.js.map +1 -0
  977. package/dist/index.cjs539.js +2 -0
  978. package/dist/index.cjs539.js.map +1 -0
  979. package/dist/index.cjs54.js +2 -0
  980. package/dist/index.cjs54.js.map +1 -0
  981. package/dist/index.cjs540.js +2 -0
  982. package/dist/index.cjs540.js.map +1 -0
  983. package/dist/index.cjs541.js +2 -0
  984. package/dist/index.cjs541.js.map +1 -0
  985. package/dist/index.cjs542.js +2 -0
  986. package/dist/index.cjs542.js.map +1 -0
  987. package/dist/index.cjs543.js +2 -0
  988. package/dist/index.cjs543.js.map +1 -0
  989. package/dist/index.cjs544.js +2 -0
  990. package/dist/index.cjs544.js.map +1 -0
  991. package/dist/index.cjs545.js +2 -0
  992. package/dist/index.cjs545.js.map +1 -0
  993. package/dist/index.cjs546.js +2 -0
  994. package/dist/index.cjs546.js.map +1 -0
  995. package/dist/index.cjs547.js +2 -0
  996. package/dist/index.cjs547.js.map +1 -0
  997. package/dist/index.cjs548.js +2 -0
  998. package/dist/index.cjs548.js.map +1 -0
  999. package/dist/index.cjs549.js +2 -0
  1000. package/dist/index.cjs549.js.map +1 -0
  1001. package/dist/index.cjs55.js +2 -0
  1002. package/dist/index.cjs55.js.map +1 -0
  1003. package/dist/index.cjs550.js +2 -0
  1004. package/dist/index.cjs550.js.map +1 -0
  1005. package/dist/index.cjs551.js +2 -0
  1006. package/dist/index.cjs551.js.map +1 -0
  1007. package/dist/index.cjs552.js +2 -0
  1008. package/dist/index.cjs552.js.map +1 -0
  1009. package/dist/index.cjs553.js +2 -0
  1010. package/dist/index.cjs553.js.map +1 -0
  1011. package/dist/index.cjs554.js +2 -0
  1012. package/dist/index.cjs554.js.map +1 -0
  1013. package/dist/index.cjs555.js +2 -0
  1014. package/dist/index.cjs555.js.map +1 -0
  1015. package/dist/index.cjs556.js +2 -0
  1016. package/dist/index.cjs556.js.map +1 -0
  1017. package/dist/index.cjs557.js +2 -0
  1018. package/dist/index.cjs557.js.map +1 -0
  1019. package/dist/index.cjs558.js +2 -0
  1020. package/dist/index.cjs558.js.map +1 -0
  1021. package/dist/index.cjs559.js +2 -0
  1022. package/dist/index.cjs559.js.map +1 -0
  1023. package/dist/index.cjs56.js +2 -0
  1024. package/dist/index.cjs56.js.map +1 -0
  1025. package/dist/index.cjs560.js +2 -0
  1026. package/dist/index.cjs560.js.map +1 -0
  1027. package/dist/index.cjs561.js +2 -0
  1028. package/dist/index.cjs561.js.map +1 -0
  1029. package/dist/index.cjs562.js +2 -0
  1030. package/dist/index.cjs562.js.map +1 -0
  1031. package/dist/index.cjs563.js +2 -0
  1032. package/dist/index.cjs563.js.map +1 -0
  1033. package/dist/index.cjs564.js +2 -0
  1034. package/dist/index.cjs564.js.map +1 -0
  1035. package/dist/index.cjs565.js +2 -0
  1036. package/dist/index.cjs565.js.map +1 -0
  1037. package/dist/index.cjs566.js +2 -0
  1038. package/dist/index.cjs566.js.map +1 -0
  1039. package/dist/index.cjs567.js +2 -0
  1040. package/dist/index.cjs567.js.map +1 -0
  1041. package/dist/index.cjs568.js +2 -0
  1042. package/dist/index.cjs568.js.map +1 -0
  1043. package/dist/index.cjs569.js +2 -0
  1044. package/dist/index.cjs569.js.map +1 -0
  1045. package/dist/index.cjs57.js +2 -0
  1046. package/dist/index.cjs57.js.map +1 -0
  1047. package/dist/index.cjs570.js +2 -0
  1048. package/dist/index.cjs570.js.map +1 -0
  1049. package/dist/index.cjs571.js +2 -0
  1050. package/dist/index.cjs571.js.map +1 -0
  1051. package/dist/index.cjs572.js +2 -0
  1052. package/dist/index.cjs572.js.map +1 -0
  1053. package/dist/index.cjs573.js +2 -0
  1054. package/dist/index.cjs573.js.map +1 -0
  1055. package/dist/index.cjs574.js +2 -0
  1056. package/dist/index.cjs574.js.map +1 -0
  1057. package/dist/index.cjs575.js +2 -0
  1058. package/dist/index.cjs575.js.map +1 -0
  1059. package/dist/index.cjs576.js +2 -0
  1060. package/dist/index.cjs576.js.map +1 -0
  1061. package/dist/index.cjs577.js +2 -0
  1062. package/dist/index.cjs577.js.map +1 -0
  1063. package/dist/index.cjs578.js +2 -0
  1064. package/dist/index.cjs578.js.map +1 -0
  1065. package/dist/index.cjs579.js +2 -0
  1066. package/dist/index.cjs579.js.map +1 -0
  1067. package/dist/index.cjs58.js +2 -0
  1068. package/dist/index.cjs58.js.map +1 -0
  1069. package/dist/index.cjs580.js +2 -0
  1070. package/dist/index.cjs580.js.map +1 -0
  1071. package/dist/index.cjs581.js +2 -0
  1072. package/dist/index.cjs581.js.map +1 -0
  1073. package/dist/index.cjs582.js +2 -0
  1074. package/dist/index.cjs582.js.map +1 -0
  1075. package/dist/index.cjs583.js +2 -0
  1076. package/dist/index.cjs583.js.map +1 -0
  1077. package/dist/index.cjs584.js +2 -0
  1078. package/dist/index.cjs584.js.map +1 -0
  1079. package/dist/index.cjs585.js +2 -0
  1080. package/dist/index.cjs585.js.map +1 -0
  1081. package/dist/index.cjs586.js +2 -0
  1082. package/dist/index.cjs586.js.map +1 -0
  1083. package/dist/index.cjs587.js +2 -0
  1084. package/dist/index.cjs587.js.map +1 -0
  1085. package/dist/index.cjs588.js +2 -0
  1086. package/dist/index.cjs588.js.map +1 -0
  1087. package/dist/index.cjs589.js +2 -0
  1088. package/dist/index.cjs589.js.map +1 -0
  1089. package/dist/index.cjs59.js +2 -0
  1090. package/dist/index.cjs59.js.map +1 -0
  1091. package/dist/index.cjs590.js +39 -0
  1092. package/dist/index.cjs590.js.map +1 -0
  1093. package/dist/index.cjs591.js +2 -0
  1094. package/dist/index.cjs591.js.map +1 -0
  1095. package/dist/index.cjs592.js +2 -0
  1096. package/dist/index.cjs592.js.map +1 -0
  1097. package/dist/index.cjs593.js +2 -0
  1098. package/dist/index.cjs593.js.map +1 -0
  1099. package/dist/index.cjs594.js +2 -0
  1100. package/dist/index.cjs594.js.map +1 -0
  1101. package/dist/index.cjs595.js +2 -0
  1102. package/dist/index.cjs595.js.map +1 -0
  1103. package/dist/index.cjs596.js +2 -0
  1104. package/dist/index.cjs596.js.map +1 -0
  1105. package/dist/index.cjs597.js +2 -0
  1106. package/dist/index.cjs597.js.map +1 -0
  1107. package/dist/index.cjs598.js +2 -0
  1108. package/dist/index.cjs598.js.map +1 -0
  1109. package/dist/index.cjs599.js +2 -0
  1110. package/dist/index.cjs599.js.map +1 -0
  1111. package/dist/index.cjs6.js +2 -0
  1112. package/dist/index.cjs6.js.map +1 -0
  1113. package/dist/index.cjs60.js +2 -0
  1114. package/dist/index.cjs60.js.map +1 -0
  1115. package/dist/index.cjs600.js +2 -0
  1116. package/dist/index.cjs600.js.map +1 -0
  1117. package/dist/index.cjs601.js +2 -0
  1118. package/dist/index.cjs601.js.map +1 -0
  1119. package/dist/index.cjs602.js +2 -0
  1120. package/dist/index.cjs602.js.map +1 -0
  1121. package/dist/index.cjs603.js +2 -0
  1122. package/dist/index.cjs603.js.map +1 -0
  1123. package/dist/index.cjs604.js +2 -0
  1124. package/dist/index.cjs604.js.map +1 -0
  1125. package/dist/index.cjs605.js +2 -0
  1126. package/dist/index.cjs605.js.map +1 -0
  1127. package/dist/index.cjs606.js +2 -0
  1128. package/dist/index.cjs606.js.map +1 -0
  1129. package/dist/index.cjs607.js +2 -0
  1130. package/dist/index.cjs607.js.map +1 -0
  1131. package/dist/index.cjs608.js +2 -0
  1132. package/dist/index.cjs608.js.map +1 -0
  1133. package/dist/index.cjs609.js +2 -0
  1134. package/dist/index.cjs609.js.map +1 -0
  1135. package/dist/index.cjs61.js +2 -0
  1136. package/dist/index.cjs61.js.map +1 -0
  1137. package/dist/index.cjs610.js +2 -0
  1138. package/dist/index.cjs610.js.map +1 -0
  1139. package/dist/index.cjs611.js +2 -0
  1140. package/dist/index.cjs611.js.map +1 -0
  1141. package/dist/index.cjs612.js +2 -0
  1142. package/dist/index.cjs612.js.map +1 -0
  1143. package/dist/index.cjs613.js +2 -0
  1144. package/dist/index.cjs613.js.map +1 -0
  1145. package/dist/index.cjs614.js +2 -0
  1146. package/dist/index.cjs614.js.map +1 -0
  1147. package/dist/index.cjs615.js +2 -0
  1148. package/dist/index.cjs615.js.map +1 -0
  1149. package/dist/index.cjs616.js +2 -0
  1150. package/dist/index.cjs616.js.map +1 -0
  1151. package/dist/index.cjs617.js +2 -0
  1152. package/dist/index.cjs617.js.map +1 -0
  1153. package/dist/index.cjs618.js +2 -0
  1154. package/dist/index.cjs618.js.map +1 -0
  1155. package/dist/index.cjs619.js +2 -0
  1156. package/dist/index.cjs619.js.map +1 -0
  1157. package/dist/index.cjs62.js +2 -0
  1158. package/dist/index.cjs62.js.map +1 -0
  1159. package/dist/index.cjs620.js +2 -0
  1160. package/dist/index.cjs620.js.map +1 -0
  1161. package/dist/index.cjs621.js +2 -0
  1162. package/dist/index.cjs621.js.map +1 -0
  1163. package/dist/index.cjs622.js +2 -0
  1164. package/dist/index.cjs622.js.map +1 -0
  1165. package/dist/index.cjs623.js +2 -0
  1166. package/dist/index.cjs623.js.map +1 -0
  1167. package/dist/index.cjs624.js +2 -0
  1168. package/dist/index.cjs624.js.map +1 -0
  1169. package/dist/index.cjs625.js +2 -0
  1170. package/dist/index.cjs625.js.map +1 -0
  1171. package/dist/index.cjs626.js +2 -0
  1172. package/dist/index.cjs626.js.map +1 -0
  1173. package/dist/index.cjs627.js +10 -0
  1174. package/dist/index.cjs627.js.map +1 -0
  1175. package/dist/index.cjs628.js +20 -0
  1176. package/dist/index.cjs628.js.map +1 -0
  1177. package/dist/index.cjs629.js +2 -0
  1178. package/dist/index.cjs629.js.map +1 -0
  1179. package/dist/index.cjs63.js +2 -0
  1180. package/dist/index.cjs63.js.map +1 -0
  1181. package/dist/index.cjs630.js +2 -0
  1182. package/dist/index.cjs630.js.map +1 -0
  1183. package/dist/index.cjs631.js +2 -0
  1184. package/dist/index.cjs631.js.map +1 -0
  1185. package/dist/index.cjs632.js +2 -0
  1186. package/dist/index.cjs632.js.map +1 -0
  1187. package/dist/index.cjs633.js +2 -0
  1188. package/dist/index.cjs633.js.map +1 -0
  1189. package/dist/index.cjs634.js +2 -0
  1190. package/dist/index.cjs634.js.map +1 -0
  1191. package/dist/index.cjs635.js +2 -0
  1192. package/dist/index.cjs635.js.map +1 -0
  1193. package/dist/index.cjs636.js +2 -0
  1194. package/dist/index.cjs636.js.map +1 -0
  1195. package/dist/index.cjs637.js +2 -0
  1196. package/dist/index.cjs637.js.map +1 -0
  1197. package/dist/index.cjs638.js +2 -0
  1198. package/dist/index.cjs638.js.map +1 -0
  1199. package/dist/index.cjs639.js +2 -0
  1200. package/dist/index.cjs639.js.map +1 -0
  1201. package/dist/index.cjs64.js +2 -0
  1202. package/dist/index.cjs64.js.map +1 -0
  1203. package/dist/index.cjs640.js +2 -0
  1204. package/dist/index.cjs640.js.map +1 -0
  1205. package/dist/index.cjs641.js +2 -0
  1206. package/dist/index.cjs641.js.map +1 -0
  1207. package/dist/index.cjs642.js +2 -0
  1208. package/dist/index.cjs642.js.map +1 -0
  1209. package/dist/index.cjs643.js +2 -0
  1210. package/dist/index.cjs643.js.map +1 -0
  1211. package/dist/index.cjs644.js +2 -0
  1212. package/dist/index.cjs644.js.map +1 -0
  1213. package/dist/index.cjs645.js +2 -0
  1214. package/dist/index.cjs645.js.map +1 -0
  1215. package/dist/index.cjs646.js +2 -0
  1216. package/dist/index.cjs646.js.map +1 -0
  1217. package/dist/index.cjs647.js +2 -0
  1218. package/dist/index.cjs647.js.map +1 -0
  1219. package/dist/index.cjs648.js +2 -0
  1220. package/dist/index.cjs648.js.map +1 -0
  1221. package/dist/index.cjs649.js +2 -0
  1222. package/dist/index.cjs649.js.map +1 -0
  1223. package/dist/index.cjs65.js +2 -0
  1224. package/dist/index.cjs65.js.map +1 -0
  1225. package/dist/index.cjs650.js +2 -0
  1226. package/dist/index.cjs650.js.map +1 -0
  1227. package/dist/index.cjs651.js +2 -0
  1228. package/dist/index.cjs651.js.map +1 -0
  1229. package/dist/index.cjs652.js +2 -0
  1230. package/dist/index.cjs652.js.map +1 -0
  1231. package/dist/index.cjs653.js +2 -0
  1232. package/dist/index.cjs653.js.map +1 -0
  1233. package/dist/index.cjs654.js +2 -0
  1234. package/dist/index.cjs654.js.map +1 -0
  1235. package/dist/index.cjs655.js +2 -0
  1236. package/dist/index.cjs655.js.map +1 -0
  1237. package/dist/index.cjs656.js +2 -0
  1238. package/dist/index.cjs656.js.map +1 -0
  1239. package/dist/index.cjs657.js +2 -0
  1240. package/dist/index.cjs657.js.map +1 -0
  1241. package/dist/index.cjs658.js +2 -0
  1242. package/dist/index.cjs658.js.map +1 -0
  1243. package/dist/index.cjs659.js +2 -0
  1244. package/dist/index.cjs659.js.map +1 -0
  1245. package/dist/index.cjs66.js +2 -0
  1246. package/dist/index.cjs66.js.map +1 -0
  1247. package/dist/index.cjs660.js +2 -0
  1248. package/dist/index.cjs660.js.map +1 -0
  1249. package/dist/index.cjs661.js +2 -0
  1250. package/dist/index.cjs661.js.map +1 -0
  1251. package/dist/index.cjs662.js +2 -0
  1252. package/dist/index.cjs662.js.map +1 -0
  1253. package/dist/index.cjs663.js +2 -0
  1254. package/dist/index.cjs663.js.map +1 -0
  1255. package/dist/index.cjs664.js +2 -0
  1256. package/dist/index.cjs664.js.map +1 -0
  1257. package/dist/index.cjs665.js +2 -0
  1258. package/dist/index.cjs665.js.map +1 -0
  1259. package/dist/index.cjs666.js +2 -0
  1260. package/dist/index.cjs666.js.map +1 -0
  1261. package/dist/index.cjs667.js +2 -0
  1262. package/dist/index.cjs667.js.map +1 -0
  1263. package/dist/index.cjs668.js +10 -0
  1264. package/dist/index.cjs668.js.map +1 -0
  1265. package/dist/index.cjs669.js +20 -0
  1266. package/dist/index.cjs669.js.map +1 -0
  1267. package/dist/index.cjs67.js +2 -0
  1268. package/dist/index.cjs67.js.map +1 -0
  1269. package/dist/index.cjs670.js +2 -0
  1270. package/dist/index.cjs670.js.map +1 -0
  1271. package/dist/index.cjs671.js +2 -0
  1272. package/dist/index.cjs671.js.map +1 -0
  1273. package/dist/index.cjs672.js +2 -0
  1274. package/dist/index.cjs672.js.map +1 -0
  1275. package/dist/index.cjs673.js +2 -0
  1276. package/dist/index.cjs673.js.map +1 -0
  1277. package/dist/index.cjs674.js +2 -0
  1278. package/dist/index.cjs674.js.map +1 -0
  1279. package/dist/index.cjs675.js +2 -0
  1280. package/dist/index.cjs675.js.map +1 -0
  1281. package/dist/index.cjs676.js +2 -0
  1282. package/dist/index.cjs676.js.map +1 -0
  1283. package/dist/index.cjs677.js +2 -0
  1284. package/dist/index.cjs677.js.map +1 -0
  1285. package/dist/index.cjs678.js +2 -0
  1286. package/dist/index.cjs678.js.map +1 -0
  1287. package/dist/index.cjs679.js +2 -0
  1288. package/dist/index.cjs679.js.map +1 -0
  1289. package/dist/index.cjs68.js +2 -0
  1290. package/dist/index.cjs68.js.map +1 -0
  1291. package/dist/index.cjs680.js +2 -0
  1292. package/dist/index.cjs680.js.map +1 -0
  1293. package/dist/index.cjs681.js +2 -0
  1294. package/dist/index.cjs681.js.map +1 -0
  1295. package/dist/index.cjs682.js +2 -0
  1296. package/dist/index.cjs682.js.map +1 -0
  1297. package/dist/index.cjs683.js +2 -0
  1298. package/dist/index.cjs683.js.map +1 -0
  1299. package/dist/index.cjs684.js +2 -0
  1300. package/dist/index.cjs684.js.map +1 -0
  1301. package/dist/index.cjs685.js +2 -0
  1302. package/dist/index.cjs685.js.map +1 -0
  1303. package/dist/index.cjs686.js +2 -0
  1304. package/dist/index.cjs686.js.map +1 -0
  1305. package/dist/index.cjs687.js +2 -0
  1306. package/dist/index.cjs687.js.map +1 -0
  1307. package/dist/index.cjs688.js +2 -0
  1308. package/dist/index.cjs688.js.map +1 -0
  1309. package/dist/index.cjs689.js +2 -0
  1310. package/dist/index.cjs689.js.map +1 -0
  1311. package/dist/index.cjs69.js +2 -0
  1312. package/dist/index.cjs69.js.map +1 -0
  1313. package/dist/index.cjs690.js +2 -0
  1314. package/dist/index.cjs690.js.map +1 -0
  1315. package/dist/index.cjs691.js +2 -0
  1316. package/dist/index.cjs691.js.map +1 -0
  1317. package/dist/index.cjs692.js +2 -0
  1318. package/dist/index.cjs692.js.map +1 -0
  1319. package/dist/index.cjs693.js +2 -0
  1320. package/dist/index.cjs693.js.map +1 -0
  1321. package/dist/index.cjs694.js +2 -0
  1322. package/dist/index.cjs694.js.map +1 -0
  1323. package/dist/index.cjs695.js +4 -0
  1324. package/dist/index.cjs695.js.map +1 -0
  1325. package/dist/index.cjs696.js +2 -0
  1326. package/dist/index.cjs696.js.map +1 -0
  1327. package/dist/index.cjs697.js +2 -0
  1328. package/dist/index.cjs697.js.map +1 -0
  1329. package/dist/index.cjs698.js +2 -0
  1330. package/dist/index.cjs698.js.map +1 -0
  1331. package/dist/index.cjs699.js +2 -0
  1332. package/dist/index.cjs699.js.map +1 -0
  1333. package/dist/index.cjs7.js +2 -0
  1334. package/dist/index.cjs7.js.map +1 -0
  1335. package/dist/index.cjs70.js +2 -0
  1336. package/dist/index.cjs70.js.map +1 -0
  1337. package/dist/index.cjs700.js +2 -0
  1338. package/dist/index.cjs700.js.map +1 -0
  1339. package/dist/index.cjs701.js +2 -0
  1340. package/dist/index.cjs701.js.map +1 -0
  1341. package/dist/index.cjs702.js +2 -0
  1342. package/dist/index.cjs702.js.map +1 -0
  1343. package/dist/index.cjs703.js +2 -0
  1344. package/dist/index.cjs703.js.map +1 -0
  1345. package/dist/index.cjs704.js +2 -0
  1346. package/dist/index.cjs704.js.map +1 -0
  1347. package/dist/index.cjs705.js +2 -0
  1348. package/dist/index.cjs705.js.map +1 -0
  1349. package/dist/index.cjs706.js +2 -0
  1350. package/dist/index.cjs706.js.map +1 -0
  1351. package/dist/index.cjs707.js +2 -0
  1352. package/dist/index.cjs707.js.map +1 -0
  1353. package/dist/index.cjs708.js +2 -0
  1354. package/dist/index.cjs708.js.map +1 -0
  1355. package/dist/index.cjs709.js +2 -0
  1356. package/dist/index.cjs709.js.map +1 -0
  1357. package/dist/index.cjs71.js +2 -0
  1358. package/dist/index.cjs71.js.map +1 -0
  1359. package/dist/index.cjs710.js +2 -0
  1360. package/dist/index.cjs710.js.map +1 -0
  1361. package/dist/index.cjs711.js +2 -0
  1362. package/dist/index.cjs711.js.map +1 -0
  1363. package/dist/index.cjs712.js +2 -0
  1364. package/dist/index.cjs712.js.map +1 -0
  1365. package/dist/index.cjs713.js +2 -0
  1366. package/dist/index.cjs713.js.map +1 -0
  1367. package/dist/index.cjs714.js +2 -0
  1368. package/dist/index.cjs714.js.map +1 -0
  1369. package/dist/index.cjs715.js +5 -0
  1370. package/dist/index.cjs715.js.map +1 -0
  1371. package/dist/index.cjs716.js +2 -0
  1372. package/dist/index.cjs716.js.map +1 -0
  1373. package/dist/index.cjs717.js +2 -0
  1374. package/dist/index.cjs717.js.map +1 -0
  1375. package/dist/index.cjs718.js +2 -0
  1376. package/dist/index.cjs718.js.map +1 -0
  1377. package/dist/index.cjs719.js +3 -0
  1378. package/dist/index.cjs719.js.map +1 -0
  1379. package/dist/index.cjs72.js +2 -0
  1380. package/dist/index.cjs72.js.map +1 -0
  1381. package/dist/index.cjs720.js +2 -0
  1382. package/dist/index.cjs720.js.map +1 -0
  1383. package/dist/index.cjs721.js +2 -0
  1384. package/dist/index.cjs721.js.map +1 -0
  1385. package/dist/index.cjs722.js +2 -0
  1386. package/dist/index.cjs722.js.map +1 -0
  1387. package/dist/index.cjs723.js +2 -0
  1388. package/dist/index.cjs723.js.map +1 -0
  1389. package/dist/index.cjs724.js +39 -0
  1390. package/dist/index.cjs724.js.map +1 -0
  1391. package/dist/index.cjs725.js +2 -0
  1392. package/dist/index.cjs725.js.map +1 -0
  1393. package/dist/index.cjs726.js +2 -0
  1394. package/dist/index.cjs726.js.map +1 -0
  1395. package/dist/index.cjs727.js +2 -0
  1396. package/dist/index.cjs727.js.map +1 -0
  1397. package/dist/index.cjs728.js +2 -0
  1398. package/dist/index.cjs728.js.map +1 -0
  1399. package/dist/index.cjs729.js +2 -0
  1400. package/dist/index.cjs729.js.map +1 -0
  1401. package/dist/index.cjs73.js +2 -0
  1402. package/dist/index.cjs73.js.map +1 -0
  1403. package/dist/index.cjs730.js +2 -0
  1404. package/dist/index.cjs730.js.map +1 -0
  1405. package/dist/index.cjs731.js +2 -0
  1406. package/dist/index.cjs731.js.map +1 -0
  1407. package/dist/index.cjs732.js +9 -0
  1408. package/dist/index.cjs732.js.map +1 -0
  1409. package/dist/index.cjs733.js +9 -0
  1410. package/dist/index.cjs733.js.map +1 -0
  1411. package/dist/index.cjs734.js +6 -0
  1412. package/dist/index.cjs734.js.map +1 -0
  1413. package/dist/index.cjs735.js +2 -0
  1414. package/dist/index.cjs735.js.map +1 -0
  1415. package/dist/index.cjs736.js +2 -0
  1416. package/dist/index.cjs736.js.map +1 -0
  1417. package/dist/index.cjs737.js +2 -0
  1418. package/dist/index.cjs737.js.map +1 -0
  1419. package/dist/index.cjs738.js +2 -0
  1420. package/dist/index.cjs738.js.map +1 -0
  1421. package/dist/index.cjs739.js +2 -0
  1422. package/dist/index.cjs739.js.map +1 -0
  1423. package/dist/index.cjs74.js +2 -0
  1424. package/dist/index.cjs74.js.map +1 -0
  1425. package/dist/index.cjs740.js +2 -0
  1426. package/dist/index.cjs740.js.map +1 -0
  1427. package/dist/index.cjs741.js +2 -0
  1428. package/dist/index.cjs741.js.map +1 -0
  1429. package/dist/index.cjs742.js +2 -0
  1430. package/dist/index.cjs742.js.map +1 -0
  1431. package/dist/index.cjs743.js +2 -0
  1432. package/dist/index.cjs743.js.map +1 -0
  1433. package/dist/index.cjs75.js +2 -0
  1434. package/dist/index.cjs75.js.map +1 -0
  1435. package/dist/index.cjs76.js +2 -0
  1436. package/dist/index.cjs76.js.map +1 -0
  1437. package/dist/index.cjs77.js +2 -0
  1438. package/dist/index.cjs77.js.map +1 -0
  1439. package/dist/index.cjs78.js +2 -0
  1440. package/dist/index.cjs78.js.map +1 -0
  1441. package/dist/index.cjs79.js +2 -0
  1442. package/dist/index.cjs79.js.map +1 -0
  1443. package/dist/index.cjs8.js +3 -0
  1444. package/dist/index.cjs8.js.map +1 -0
  1445. package/dist/index.cjs80.js +2 -0
  1446. package/dist/index.cjs80.js.map +1 -0
  1447. package/dist/index.cjs81.js +2 -0
  1448. package/dist/index.cjs81.js.map +1 -0
  1449. package/dist/index.cjs82.js +581 -0
  1450. package/dist/index.cjs82.js.map +1 -0
  1451. package/dist/index.cjs83.js +2 -0
  1452. package/dist/index.cjs83.js.map +1 -0
  1453. package/dist/index.cjs84.js +2 -0
  1454. package/dist/index.cjs84.js.map +1 -0
  1455. package/dist/index.cjs85.js +2 -0
  1456. package/dist/index.cjs85.js.map +1 -0
  1457. package/dist/index.cjs86.js +2 -0
  1458. package/dist/index.cjs86.js.map +1 -0
  1459. package/dist/index.cjs87.js +5 -0
  1460. package/dist/index.cjs87.js.map +1 -0
  1461. package/dist/index.cjs88.js +2 -0
  1462. package/dist/index.cjs88.js.map +1 -0
  1463. package/dist/index.cjs89.js +2 -0
  1464. package/dist/index.cjs89.js.map +1 -0
  1465. package/dist/index.cjs9.js +2 -0
  1466. package/dist/index.cjs9.js.map +1 -0
  1467. package/dist/index.cjs90.js +2 -0
  1468. package/dist/index.cjs90.js.map +1 -0
  1469. package/dist/index.cjs91.js +2 -0
  1470. package/dist/index.cjs91.js.map +1 -0
  1471. package/dist/index.cjs92.js +2 -0
  1472. package/dist/index.cjs92.js.map +1 -0
  1473. package/dist/index.cjs93.js +2 -0
  1474. package/dist/index.cjs93.js.map +1 -0
  1475. package/dist/index.cjs94.js +2 -0
  1476. package/dist/index.cjs94.js.map +1 -0
  1477. package/dist/index.cjs95.js +2 -0
  1478. package/dist/index.cjs95.js.map +1 -0
  1479. package/dist/index.cjs96.js +2 -0
  1480. package/dist/index.cjs96.js.map +1 -0
  1481. package/dist/index.cjs97.js +2 -0
  1482. package/dist/index.cjs97.js.map +1 -0
  1483. package/dist/index.cjs98.js +2 -0
  1484. package/dist/index.cjs98.js.map +1 -0
  1485. package/dist/index.cjs99.js +2 -0
  1486. package/dist/index.cjs99.js.map +1 -0
  1487. package/dist/index.es.js +28 -0
  1488. package/dist/index.es.js.map +1 -0
  1489. package/dist/index.es10.js +73 -0
  1490. package/dist/index.es10.js.map +1 -0
  1491. package/dist/index.es100.js +167 -0
  1492. package/dist/index.es100.js.map +1 -0
  1493. package/dist/index.es101.js +337 -0
  1494. package/dist/index.es101.js.map +1 -0
  1495. package/dist/index.es102.js +2 -0
  1496. package/dist/index.es102.js.map +1 -0
  1497. package/dist/index.es103.js +50 -0
  1498. package/dist/index.es103.js.map +1 -0
  1499. package/dist/index.es104.js +231 -0
  1500. package/dist/index.es104.js.map +1 -0
  1501. package/dist/index.es105.js +20 -0
  1502. package/dist/index.es105.js.map +1 -0
  1503. package/dist/index.es106.js +2 -0
  1504. package/dist/index.es106.js.map +1 -0
  1505. package/dist/index.es107.js +16 -0
  1506. package/dist/index.es107.js.map +1 -0
  1507. package/dist/index.es108.js +14 -0
  1508. package/dist/index.es108.js.map +1 -0
  1509. package/dist/index.es109.js +246 -0
  1510. package/dist/index.es109.js.map +1 -0
  1511. package/dist/index.es11.js +25 -0
  1512. package/dist/index.es11.js.map +1 -0
  1513. package/dist/index.es110.js +20 -0
  1514. package/dist/index.es110.js.map +1 -0
  1515. package/dist/index.es111.js +16 -0
  1516. package/dist/index.es111.js.map +1 -0
  1517. package/dist/index.es112.js +15 -0
  1518. package/dist/index.es112.js.map +1 -0
  1519. package/dist/index.es113.js +18 -0
  1520. package/dist/index.es113.js.map +1 -0
  1521. package/dist/index.es114.js +5 -0
  1522. package/dist/index.es114.js.map +1 -0
  1523. package/dist/index.es115.js +33 -0
  1524. package/dist/index.es115.js.map +1 -0
  1525. package/dist/index.es116.js +605 -0
  1526. package/dist/index.es116.js.map +1 -0
  1527. package/dist/index.es117.js +14 -0
  1528. package/dist/index.es117.js.map +1 -0
  1529. package/dist/index.es118.js +10 -0
  1530. package/dist/index.es118.js.map +1 -0
  1531. package/dist/index.es119.js +17 -0
  1532. package/dist/index.es119.js.map +1 -0
  1533. package/dist/index.es12.js +25 -0
  1534. package/dist/index.es12.js.map +1 -0
  1535. package/dist/index.es120.js +89 -0
  1536. package/dist/index.es120.js.map +1 -0
  1537. package/dist/index.es121.js +19 -0
  1538. package/dist/index.es121.js.map +1 -0
  1539. package/dist/index.es122.js +38 -0
  1540. package/dist/index.es122.js.map +1 -0
  1541. package/dist/index.es123.js +137 -0
  1542. package/dist/index.es123.js.map +1 -0
  1543. package/dist/index.es124.js +189 -0
  1544. package/dist/index.es124.js.map +1 -0
  1545. package/dist/index.es125.js +15 -0
  1546. package/dist/index.es125.js.map +1 -0
  1547. package/dist/index.es126.js +82 -0
  1548. package/dist/index.es126.js.map +1 -0
  1549. package/dist/index.es127.js +45 -0
  1550. package/dist/index.es127.js.map +1 -0
  1551. package/dist/index.es128.js +21 -0
  1552. package/dist/index.es128.js.map +1 -0
  1553. package/dist/index.es129.js +13 -0
  1554. package/dist/index.es129.js.map +1 -0
  1555. package/dist/index.es13.js +25 -0
  1556. package/dist/index.es13.js.map +1 -0
  1557. package/dist/index.es130.js +50 -0
  1558. package/dist/index.es130.js.map +1 -0
  1559. package/dist/index.es131.js +54 -0
  1560. package/dist/index.es131.js.map +1 -0
  1561. package/dist/index.es132.js +508 -0
  1562. package/dist/index.es132.js.map +1 -0
  1563. package/dist/index.es133.js +108 -0
  1564. package/dist/index.es133.js.map +1 -0
  1565. package/dist/index.es134.js +90 -0
  1566. package/dist/index.es134.js.map +1 -0
  1567. package/dist/index.es135.js +378 -0
  1568. package/dist/index.es135.js.map +1 -0
  1569. package/dist/index.es136.js +126 -0
  1570. package/dist/index.es136.js.map +1 -0
  1571. package/dist/index.es137.js +681 -0
  1572. package/dist/index.es137.js.map +1 -0
  1573. package/dist/index.es138.js +16852 -0
  1574. package/dist/index.es138.js.map +1 -0
  1575. package/dist/index.es139.js +154 -0
  1576. package/dist/index.es139.js.map +1 -0
  1577. package/dist/index.es14.js +25 -0
  1578. package/dist/index.es14.js.map +1 -0
  1579. package/dist/index.es140.js +10 -0
  1580. package/dist/index.es140.js.map +1 -0
  1581. package/dist/index.es141.js +192 -0
  1582. package/dist/index.es141.js.map +1 -0
  1583. package/dist/index.es142.js +813 -0
  1584. package/dist/index.es142.js.map +1 -0
  1585. package/dist/index.es143.js +10074 -0
  1586. package/dist/index.es143.js.map +1 -0
  1587. package/dist/index.es144.js +101 -0
  1588. package/dist/index.es144.js.map +1 -0
  1589. package/dist/index.es145.js +20 -0
  1590. package/dist/index.es145.js.map +1 -0
  1591. package/dist/index.es146.js +61 -0
  1592. package/dist/index.es146.js.map +1 -0
  1593. package/dist/index.es147.js +10 -0
  1594. package/dist/index.es147.js.map +1 -0
  1595. package/dist/index.es148.js +1562 -0
  1596. package/dist/index.es148.js.map +1 -0
  1597. package/dist/index.es149.js +36 -0
  1598. package/dist/index.es149.js.map +1 -0
  1599. package/dist/index.es15.js +9 -0
  1600. package/dist/index.es15.js.map +1 -0
  1601. package/dist/index.es150.js +9 -0
  1602. package/dist/index.es150.js.map +1 -0
  1603. package/dist/index.es151.js +8 -0
  1604. package/dist/index.es151.js.map +1 -0
  1605. package/dist/index.es152.js +28 -0
  1606. package/dist/index.es152.js.map +1 -0
  1607. package/dist/index.es153.js +7 -0
  1608. package/dist/index.es153.js.map +1 -0
  1609. package/dist/index.es154.js +17 -0
  1610. package/dist/index.es154.js.map +1 -0
  1611. package/dist/index.es155.js +18 -0
  1612. package/dist/index.es155.js.map +1 -0
  1613. package/dist/index.es156.js +31 -0
  1614. package/dist/index.es156.js.map +1 -0
  1615. package/dist/index.es157.js +76 -0
  1616. package/dist/index.es157.js.map +1 -0
  1617. package/dist/index.es158.js +9 -0
  1618. package/dist/index.es158.js.map +1 -0
  1619. package/dist/index.es159.js +20 -0
  1620. package/dist/index.es159.js.map +1 -0
  1621. package/dist/index.es16.js +2 -0
  1622. package/dist/index.es16.js.map +1 -0
  1623. package/dist/index.es160.js +74 -0
  1624. package/dist/index.es160.js.map +1 -0
  1625. package/dist/index.es161.js +71 -0
  1626. package/dist/index.es161.js.map +1 -0
  1627. package/dist/index.es162.js +74 -0
  1628. package/dist/index.es162.js.map +1 -0
  1629. package/dist/index.es163.js +5 -0
  1630. package/dist/index.es163.js.map +1 -0
  1631. package/dist/index.es164.js +5 -0
  1632. package/dist/index.es164.js.map +1 -0
  1633. package/dist/index.es165.js +94 -0
  1634. package/dist/index.es165.js.map +1 -0
  1635. package/dist/index.es166.js +89 -0
  1636. package/dist/index.es166.js.map +1 -0
  1637. package/dist/index.es167.js +45 -0
  1638. package/dist/index.es167.js.map +1 -0
  1639. package/dist/index.es168.js +71 -0
  1640. package/dist/index.es168.js.map +1 -0
  1641. package/dist/index.es169.js +5 -0
  1642. package/dist/index.es169.js.map +1 -0
  1643. package/dist/index.es17.js +203 -0
  1644. package/dist/index.es17.js.map +1 -0
  1645. package/dist/index.es170.js +1637 -0
  1646. package/dist/index.es170.js.map +1 -0
  1647. package/dist/index.es171.js +38 -0
  1648. package/dist/index.es171.js.map +1 -0
  1649. package/dist/index.es172.js +269 -0
  1650. package/dist/index.es172.js.map +1 -0
  1651. package/dist/index.es173.js +200 -0
  1652. package/dist/index.es173.js.map +1 -0
  1653. package/dist/index.es174.js +38 -0
  1654. package/dist/index.es174.js.map +1 -0
  1655. package/dist/index.es175.js +14 -0
  1656. package/dist/index.es175.js.map +1 -0
  1657. package/dist/index.es176.js +220 -0
  1658. package/dist/index.es176.js.map +1 -0
  1659. package/dist/index.es177.js +7 -0
  1660. package/dist/index.es177.js.map +1 -0
  1661. package/dist/index.es178.js +24 -0
  1662. package/dist/index.es178.js.map +1 -0
  1663. package/dist/index.es179.js +5 -0
  1664. package/dist/index.es179.js.map +1 -0
  1665. package/dist/index.es18.js +2934 -0
  1666. package/dist/index.es18.js.map +1 -0
  1667. package/dist/index.es180.js +5 -0
  1668. package/dist/index.es180.js.map +1 -0
  1669. package/dist/index.es181.js +26 -0
  1670. package/dist/index.es181.js.map +1 -0
  1671. package/dist/index.es182.js +183 -0
  1672. package/dist/index.es182.js.map +1 -0
  1673. package/dist/index.es183.js +20 -0
  1674. package/dist/index.es183.js.map +1 -0
  1675. package/dist/index.es184.js +385 -0
  1676. package/dist/index.es184.js.map +1 -0
  1677. package/dist/index.es185.js +520 -0
  1678. package/dist/index.es185.js.map +1 -0
  1679. package/dist/index.es186.js +121 -0
  1680. package/dist/index.es186.js.map +1 -0
  1681. package/dist/index.es187.js +109 -0
  1682. package/dist/index.es187.js.map +1 -0
  1683. package/dist/index.es188.js +276 -0
  1684. package/dist/index.es188.js.map +1 -0
  1685. package/dist/index.es189.js +18 -0
  1686. package/dist/index.es189.js.map +1 -0
  1687. package/dist/index.es19.js +2 -0
  1688. package/dist/index.es19.js.map +1 -0
  1689. package/dist/index.es190.js +22 -0
  1690. package/dist/index.es190.js.map +1 -0
  1691. package/dist/index.es191.js +8 -0
  1692. package/dist/index.es191.js.map +1 -0
  1693. package/dist/index.es192.js +7 -0
  1694. package/dist/index.es192.js.map +1 -0
  1695. package/dist/index.es193.js +7 -0
  1696. package/dist/index.es193.js.map +1 -0
  1697. package/dist/index.es194.js +8 -0
  1698. package/dist/index.es194.js.map +1 -0
  1699. package/dist/index.es195.js +7 -0
  1700. package/dist/index.es195.js.map +1 -0
  1701. package/dist/index.es196.js +6 -0
  1702. package/dist/index.es196.js.map +1 -0
  1703. package/dist/index.es197.js +6 -0
  1704. package/dist/index.es197.js.map +1 -0
  1705. package/dist/index.es198.js +6 -0
  1706. package/dist/index.es198.js.map +1 -0
  1707. package/dist/index.es199.js +6 -0
  1708. package/dist/index.es199.js.map +1 -0
  1709. package/dist/index.es2.js +2 -0
  1710. package/dist/index.es2.js.map +1 -0
  1711. package/dist/index.es20.js +16 -0
  1712. package/dist/index.es20.js.map +1 -0
  1713. package/dist/index.es200.js +6 -0
  1714. package/dist/index.es200.js.map +1 -0
  1715. package/dist/index.es201.js +6 -0
  1716. package/dist/index.es201.js.map +1 -0
  1717. package/dist/index.es202.js +6 -0
  1718. package/dist/index.es202.js.map +1 -0
  1719. package/dist/index.es203.js +13 -0
  1720. package/dist/index.es203.js.map +1 -0
  1721. package/dist/index.es204.js +7 -0
  1722. package/dist/index.es204.js.map +1 -0
  1723. package/dist/index.es205.js +9 -0
  1724. package/dist/index.es205.js.map +1 -0
  1725. package/dist/index.es206.js +9 -0
  1726. package/dist/index.es206.js.map +1 -0
  1727. package/dist/index.es207.js +13 -0
  1728. package/dist/index.es207.js.map +1 -0
  1729. package/dist/index.es208.js +15 -0
  1730. package/dist/index.es208.js.map +1 -0
  1731. package/dist/index.es209.js +16 -0
  1732. package/dist/index.es209.js.map +1 -0
  1733. package/dist/index.es21.js +15 -0
  1734. package/dist/index.es21.js.map +1 -0
  1735. package/dist/index.es210.js +89 -0
  1736. package/dist/index.es210.js.map +1 -0
  1737. package/dist/index.es211.js +6 -0
  1738. package/dist/index.es211.js.map +1 -0
  1739. package/dist/index.es212.js +18 -0
  1740. package/dist/index.es212.js.map +1 -0
  1741. package/dist/index.es213.js +15 -0
  1742. package/dist/index.es213.js.map +1 -0
  1743. package/dist/index.es214.js +10 -0
  1744. package/dist/index.es214.js.map +1 -0
  1745. package/dist/index.es215.js +10 -0
  1746. package/dist/index.es215.js.map +1 -0
  1747. package/dist/index.es216.js +10 -0
  1748. package/dist/index.es216.js.map +1 -0
  1749. package/dist/index.es217.js +11 -0
  1750. package/dist/index.es217.js.map +1 -0
  1751. package/dist/index.es218.js +7 -0
  1752. package/dist/index.es218.js.map +1 -0
  1753. package/dist/index.es219.js +7 -0
  1754. package/dist/index.es219.js.map +1 -0
  1755. package/dist/index.es22.js +8 -0
  1756. package/dist/index.es22.js.map +1 -0
  1757. package/dist/index.es220.js +7 -0
  1758. package/dist/index.es220.js.map +1 -0
  1759. package/dist/index.es221.js +10 -0
  1760. package/dist/index.es221.js.map +1 -0
  1761. package/dist/index.es222.js +10 -0
  1762. package/dist/index.es222.js.map +1 -0
  1763. package/dist/index.es223.js +7 -0
  1764. package/dist/index.es223.js.map +1 -0
  1765. package/dist/index.es224.js +11 -0
  1766. package/dist/index.es224.js.map +1 -0
  1767. package/dist/index.es225.js +16 -0
  1768. package/dist/index.es225.js.map +1 -0
  1769. package/dist/index.es226.js +14 -0
  1770. package/dist/index.es226.js.map +1 -0
  1771. package/dist/index.es227.js +7 -0
  1772. package/dist/index.es227.js.map +1 -0
  1773. package/dist/index.es228.js +9 -0
  1774. package/dist/index.es228.js.map +1 -0
  1775. package/dist/index.es229.js +6 -0
  1776. package/dist/index.es229.js.map +1 -0
  1777. package/dist/index.es23.js +31 -0
  1778. package/dist/index.es23.js.map +1 -0
  1779. package/dist/index.es230.js +11 -0
  1780. package/dist/index.es230.js.map +1 -0
  1781. package/dist/index.es231.js +11 -0
  1782. package/dist/index.es231.js.map +1 -0
  1783. package/dist/index.es232.js +11 -0
  1784. package/dist/index.es232.js.map +1 -0
  1785. package/dist/index.es233.js +12 -0
  1786. package/dist/index.es233.js.map +1 -0
  1787. package/dist/index.es234.js +7 -0
  1788. package/dist/index.es234.js.map +1 -0
  1789. package/dist/index.es235.js +7 -0
  1790. package/dist/index.es235.js.map +1 -0
  1791. package/dist/index.es236.js +61 -0
  1792. package/dist/index.es236.js.map +1 -0
  1793. package/dist/index.es237.js +17 -0
  1794. package/dist/index.es237.js.map +1 -0
  1795. package/dist/index.es238.js +9 -0
  1796. package/dist/index.es238.js.map +1 -0
  1797. package/dist/index.es239.js +9 -0
  1798. package/dist/index.es239.js.map +1 -0
  1799. package/dist/index.es24.js +11 -0
  1800. package/dist/index.es24.js.map +1 -0
  1801. package/dist/index.es240.js +12 -0
  1802. package/dist/index.es240.js.map +1 -0
  1803. package/dist/index.es241.js +20 -0
  1804. package/dist/index.es241.js.map +1 -0
  1805. package/dist/index.es242.js +17 -0
  1806. package/dist/index.es242.js.map +1 -0
  1807. package/dist/index.es243.js +8 -0
  1808. package/dist/index.es243.js.map +1 -0
  1809. package/dist/index.es244.js +9 -0
  1810. package/dist/index.es244.js.map +1 -0
  1811. package/dist/index.es245.js +12 -0
  1812. package/dist/index.es245.js.map +1 -0
  1813. package/dist/index.es246.js +10 -0
  1814. package/dist/index.es246.js.map +1 -0
  1815. package/dist/index.es247.js +10 -0
  1816. package/dist/index.es247.js.map +1 -0
  1817. package/dist/index.es248.js +12 -0
  1818. package/dist/index.es248.js.map +1 -0
  1819. package/dist/index.es249.js +6 -0
  1820. package/dist/index.es249.js.map +1 -0
  1821. package/dist/index.es25.js +8 -0
  1822. package/dist/index.es25.js.map +1 -0
  1823. package/dist/index.es250.js +6 -0
  1824. package/dist/index.es250.js.map +1 -0
  1825. package/dist/index.es251.js +14 -0
  1826. package/dist/index.es251.js.map +1 -0
  1827. package/dist/index.es252.js +8 -0
  1828. package/dist/index.es252.js.map +1 -0
  1829. package/dist/index.es253.js +7 -0
  1830. package/dist/index.es253.js.map +1 -0
  1831. package/dist/index.es254.js +12 -0
  1832. package/dist/index.es254.js.map +1 -0
  1833. package/dist/index.es255.js +9 -0
  1834. package/dist/index.es255.js.map +1 -0
  1835. package/dist/index.es256.js +20 -0
  1836. package/dist/index.es256.js.map +1 -0
  1837. package/dist/index.es257.js +15 -0
  1838. package/dist/index.es257.js.map +1 -0
  1839. package/dist/index.es258.js +6 -0
  1840. package/dist/index.es258.js.map +1 -0
  1841. package/dist/index.es259.js +6 -0
  1842. package/dist/index.es259.js.map +1 -0
  1843. package/dist/index.es26.js +13 -0
  1844. package/dist/index.es26.js.map +1 -0
  1845. package/dist/index.es260.js +12 -0
  1846. package/dist/index.es260.js.map +1 -0
  1847. package/dist/index.es261.js +10 -0
  1848. package/dist/index.es261.js.map +1 -0
  1849. package/dist/index.es262.js +16 -0
  1850. package/dist/index.es262.js.map +1 -0
  1851. package/dist/index.es263.js +16 -0
  1852. package/dist/index.es263.js.map +1 -0
  1853. package/dist/index.es264.js +10 -0
  1854. package/dist/index.es264.js.map +1 -0
  1855. package/dist/index.es265.js +9 -0
  1856. package/dist/index.es265.js.map +1 -0
  1857. package/dist/index.es266.js +9 -0
  1858. package/dist/index.es266.js.map +1 -0
  1859. package/dist/index.es267.js +20 -0
  1860. package/dist/index.es267.js.map +1 -0
  1861. package/dist/index.es268.js +20 -0
  1862. package/dist/index.es268.js.map +1 -0
  1863. package/dist/index.es269.js +8 -0
  1864. package/dist/index.es269.js.map +1 -0
  1865. package/dist/index.es27.js +20 -0
  1866. package/dist/index.es27.js.map +1 -0
  1867. package/dist/index.es270.js +20 -0
  1868. package/dist/index.es270.js.map +1 -0
  1869. package/dist/index.es271.js +26 -0
  1870. package/dist/index.es271.js.map +1 -0
  1871. package/dist/index.es272.js +9 -0
  1872. package/dist/index.es272.js.map +1 -0
  1873. package/dist/index.es273.js +8 -0
  1874. package/dist/index.es273.js.map +1 -0
  1875. package/dist/index.es274.js +9 -0
  1876. package/dist/index.es274.js.map +1 -0
  1877. package/dist/index.es275.js +8 -0
  1878. package/dist/index.es275.js.map +1 -0
  1879. package/dist/index.es276.js +15 -0
  1880. package/dist/index.es276.js.map +1 -0
  1881. package/dist/index.es277.js +9 -0
  1882. package/dist/index.es277.js.map +1 -0
  1883. package/dist/index.es278.js +8 -0
  1884. package/dist/index.es278.js.map +1 -0
  1885. package/dist/index.es279.js +8 -0
  1886. package/dist/index.es279.js.map +1 -0
  1887. package/dist/index.es28.js +8 -0
  1888. package/dist/index.es28.js.map +1 -0
  1889. package/dist/index.es280.js +8 -0
  1890. package/dist/index.es280.js.map +1 -0
  1891. package/dist/index.es281.js +8 -0
  1892. package/dist/index.es281.js.map +1 -0
  1893. package/dist/index.es282.js +8 -0
  1894. package/dist/index.es282.js.map +1 -0
  1895. package/dist/index.es283.js +8 -0
  1896. package/dist/index.es283.js.map +1 -0
  1897. package/dist/index.es284.js +16 -0
  1898. package/dist/index.es284.js.map +1 -0
  1899. package/dist/index.es285.js +18 -0
  1900. package/dist/index.es285.js.map +1 -0
  1901. package/dist/index.es286.js +12 -0
  1902. package/dist/index.es286.js.map +1 -0
  1903. package/dist/index.es287.js +10 -0
  1904. package/dist/index.es287.js.map +1 -0
  1905. package/dist/index.es288.js +10 -0
  1906. package/dist/index.es288.js.map +1 -0
  1907. package/dist/index.es289.js +12 -0
  1908. package/dist/index.es289.js.map +1 -0
  1909. package/dist/index.es29.js +8 -0
  1910. package/dist/index.es29.js.map +1 -0
  1911. package/dist/index.es290.js +2105 -0
  1912. package/dist/index.es290.js.map +1 -0
  1913. package/dist/index.es291.js +15 -0
  1914. package/dist/index.es291.js.map +1 -0
  1915. package/dist/index.es292.js +9 -0
  1916. package/dist/index.es292.js.map +1 -0
  1917. package/dist/index.es293.js +13 -0
  1918. package/dist/index.es293.js.map +1 -0
  1919. package/dist/index.es294.js +17 -0
  1920. package/dist/index.es294.js.map +1 -0
  1921. package/dist/index.es295.js +17 -0
  1922. package/dist/index.es295.js.map +1 -0
  1923. package/dist/index.es296.js +17 -0
  1924. package/dist/index.es296.js.map +1 -0
  1925. package/dist/index.es297.js +56 -0
  1926. package/dist/index.es297.js.map +1 -0
  1927. package/dist/index.es298.js +34 -0
  1928. package/dist/index.es298.js.map +1 -0
  1929. package/dist/index.es299.js +4 -0
  1930. package/dist/index.es299.js.map +1 -0
  1931. package/dist/index.es3.js +11 -0
  1932. package/dist/index.es3.js.map +1 -0
  1933. package/dist/index.es30.js +8 -0
  1934. package/dist/index.es30.js.map +1 -0
  1935. package/dist/index.es300.js +4 -0
  1936. package/dist/index.es300.js.map +1 -0
  1937. package/dist/index.es301.js +7 -0
  1938. package/dist/index.es301.js.map +1 -0
  1939. package/dist/index.es302.js +15 -0
  1940. package/dist/index.es302.js.map +1 -0
  1941. package/dist/index.es303.js +11 -0
  1942. package/dist/index.es303.js.map +1 -0
  1943. package/dist/index.es304.js +4 -0
  1944. package/dist/index.es304.js.map +1 -0
  1945. package/dist/index.es305.js +4 -0
  1946. package/dist/index.es305.js.map +1 -0
  1947. package/dist/index.es306.js +7 -0
  1948. package/dist/index.es306.js.map +1 -0
  1949. package/dist/index.es307.js +6 -0
  1950. package/dist/index.es307.js.map +1 -0
  1951. package/dist/index.es308.js +6 -0
  1952. package/dist/index.es308.js.map +1 -0
  1953. package/dist/index.es309.js +4 -0
  1954. package/dist/index.es309.js.map +1 -0
  1955. package/dist/index.es31.js +10 -0
  1956. package/dist/index.es31.js.map +1 -0
  1957. package/dist/index.es310.js +18527 -0
  1958. package/dist/index.es310.js.map +1 -0
  1959. package/dist/index.es311.js +20 -0
  1960. package/dist/index.es311.js.map +1 -0
  1961. package/dist/index.es312.js +17 -0
  1962. package/dist/index.es312.js.map +1 -0
  1963. package/dist/index.es313.js +17 -0
  1964. package/dist/index.es313.js.map +1 -0
  1965. package/dist/index.es314.js +40 -0
  1966. package/dist/index.es314.js.map +1 -0
  1967. package/dist/index.es315.js +14 -0
  1968. package/dist/index.es315.js.map +1 -0
  1969. package/dist/index.es316.js +13 -0
  1970. package/dist/index.es316.js.map +1 -0
  1971. package/dist/index.es317.js +88 -0
  1972. package/dist/index.es317.js.map +1 -0
  1973. package/dist/index.es318.js +31 -0
  1974. package/dist/index.es318.js.map +1 -0
  1975. package/dist/index.es319.js +32 -0
  1976. package/dist/index.es319.js.map +1 -0
  1977. package/dist/index.es32.js +10 -0
  1978. package/dist/index.es32.js.map +1 -0
  1979. package/dist/index.es320.js +8 -0
  1980. package/dist/index.es320.js.map +1 -0
  1981. package/dist/index.es321.js +7 -0
  1982. package/dist/index.es321.js.map +1 -0
  1983. package/dist/index.es322.js +11 -0
  1984. package/dist/index.es322.js.map +1 -0
  1985. package/dist/index.es323.js +10 -0
  1986. package/dist/index.es323.js.map +1 -0
  1987. package/dist/index.es324.js +43 -0
  1988. package/dist/index.es324.js.map +1 -0
  1989. package/dist/index.es325.js +21 -0
  1990. package/dist/index.es325.js.map +1 -0
  1991. package/dist/index.es326.js +264 -0
  1992. package/dist/index.es326.js.map +1 -0
  1993. package/dist/index.es327.js +86 -0
  1994. package/dist/index.es327.js.map +1 -0
  1995. package/dist/index.es328.js +340 -0
  1996. package/dist/index.es328.js.map +1 -0
  1997. package/dist/index.es329.js +13 -0
  1998. package/dist/index.es329.js.map +1 -0
  1999. package/dist/index.es33.js +7 -0
  2000. package/dist/index.es33.js.map +1 -0
  2001. package/dist/index.es330.js +48 -0
  2002. package/dist/index.es330.js.map +1 -0
  2003. package/dist/index.es331.js +5 -0
  2004. package/dist/index.es331.js.map +1 -0
  2005. package/dist/index.es332.js +5 -0
  2006. package/dist/index.es332.js.map +1 -0
  2007. package/dist/index.es333.js +5 -0
  2008. package/dist/index.es333.js.map +1 -0
  2009. package/dist/index.es334.js +5 -0
  2010. package/dist/index.es334.js.map +1 -0
  2011. package/dist/index.es335.js +5 -0
  2012. package/dist/index.es335.js.map +1 -0
  2013. package/dist/index.es336.js +5 -0
  2014. package/dist/index.es336.js.map +1 -0
  2015. package/dist/index.es337.js +46 -0
  2016. package/dist/index.es337.js.map +1 -0
  2017. package/dist/index.es338.js +16 -0
  2018. package/dist/index.es338.js.map +1 -0
  2019. package/dist/index.es339.js +352 -0
  2020. package/dist/index.es339.js.map +1 -0
  2021. package/dist/index.es34.js +7 -0
  2022. package/dist/index.es34.js.map +1 -0
  2023. package/dist/index.es340.js +227 -0
  2024. package/dist/index.es340.js.map +1 -0
  2025. package/dist/index.es341.js +42 -0
  2026. package/dist/index.es341.js.map +1 -0
  2027. package/dist/index.es342.js +11 -0
  2028. package/dist/index.es342.js.map +1 -0
  2029. package/dist/index.es343.js +44 -0
  2030. package/dist/index.es343.js.map +1 -0
  2031. package/dist/index.es344.js +22 -0
  2032. package/dist/index.es344.js.map +1 -0
  2033. package/dist/index.es345.js +23 -0
  2034. package/dist/index.es345.js.map +1 -0
  2035. package/dist/index.es346.js +13 -0
  2036. package/dist/index.es346.js.map +1 -0
  2037. package/dist/index.es347.js +20 -0
  2038. package/dist/index.es347.js.map +1 -0
  2039. package/dist/index.es348.js +27 -0
  2040. package/dist/index.es348.js.map +1 -0
  2041. package/dist/index.es349.js +136 -0
  2042. package/dist/index.es349.js.map +1 -0
  2043. package/dist/index.es35.js +10 -0
  2044. package/dist/index.es35.js.map +1 -0
  2045. package/dist/index.es350.js +23 -0
  2046. package/dist/index.es350.js.map +1 -0
  2047. package/dist/index.es351.js +22 -0
  2048. package/dist/index.es351.js.map +1 -0
  2049. package/dist/index.es352.js +22 -0
  2050. package/dist/index.es352.js.map +1 -0
  2051. package/dist/index.es353.js +38 -0
  2052. package/dist/index.es353.js.map +1 -0
  2053. package/dist/index.es354.js +221 -0
  2054. package/dist/index.es354.js.map +1 -0
  2055. package/dist/index.es355.js +9 -0
  2056. package/dist/index.es355.js.map +1 -0
  2057. package/dist/index.es356.js +13 -0
  2058. package/dist/index.es356.js.map +1 -0
  2059. package/dist/index.es357.js +151 -0
  2060. package/dist/index.es357.js.map +1 -0
  2061. package/dist/index.es358.js +87 -0
  2062. package/dist/index.es358.js.map +1 -0
  2063. package/dist/index.es359.js +11 -0
  2064. package/dist/index.es359.js.map +1 -0
  2065. package/dist/index.es36.js +18 -0
  2066. package/dist/index.es36.js.map +1 -0
  2067. package/dist/index.es360.js +48 -0
  2068. package/dist/index.es360.js.map +1 -0
  2069. package/dist/index.es361.js +16 -0
  2070. package/dist/index.es361.js.map +1 -0
  2071. package/dist/index.es362.js +10 -0
  2072. package/dist/index.es362.js.map +1 -0
  2073. package/dist/index.es363.js +21 -0
  2074. package/dist/index.es363.js.map +1 -0
  2075. package/dist/index.es364.js +5 -0
  2076. package/dist/index.es364.js.map +1 -0
  2077. package/dist/index.es365.js +33 -0
  2078. package/dist/index.es365.js.map +1 -0
  2079. package/dist/index.es366.js +605 -0
  2080. package/dist/index.es366.js.map +1 -0
  2081. package/dist/index.es367.js +31 -0
  2082. package/dist/index.es367.js.map +1 -0
  2083. package/dist/index.es368.js +49 -0
  2084. package/dist/index.es368.js.map +1 -0
  2085. package/dist/index.es369.js +40 -0
  2086. package/dist/index.es369.js.map +1 -0
  2087. package/dist/index.es37.js +15 -0
  2088. package/dist/index.es37.js.map +1 -0
  2089. package/dist/index.es370.js +13 -0
  2090. package/dist/index.es370.js.map +1 -0
  2091. package/dist/index.es371.js +13 -0
  2092. package/dist/index.es371.js.map +1 -0
  2093. package/dist/index.es372.js +31 -0
  2094. package/dist/index.es372.js.map +1 -0
  2095. package/dist/index.es373.js +13 -0
  2096. package/dist/index.es373.js.map +1 -0
  2097. package/dist/index.es374.js +15 -0
  2098. package/dist/index.es374.js.map +1 -0
  2099. package/dist/index.es375.js +7 -0
  2100. package/dist/index.es375.js.map +1 -0
  2101. package/dist/index.es376.js +276 -0
  2102. package/dist/index.es376.js.map +1 -0
  2103. package/dist/index.es377.js +18 -0
  2104. package/dist/index.es377.js.map +1 -0
  2105. package/dist/index.es378.js +11 -0
  2106. package/dist/index.es378.js.map +1 -0
  2107. package/dist/index.es379.js +6 -0
  2108. package/dist/index.es379.js.map +1 -0
  2109. package/dist/index.es38.js +18 -0
  2110. package/dist/index.es38.js.map +1 -0
  2111. package/dist/index.es380.js +8 -0
  2112. package/dist/index.es380.js.map +1 -0
  2113. package/dist/index.es381.js +25 -0
  2114. package/dist/index.es381.js.map +1 -0
  2115. package/dist/index.es382.js +7 -0
  2116. package/dist/index.es382.js.map +1 -0
  2117. package/dist/index.es383.js +14 -0
  2118. package/dist/index.es383.js.map +1 -0
  2119. package/dist/index.es384.js +13 -0
  2120. package/dist/index.es384.js.map +1 -0
  2121. package/dist/index.es385.js +12 -0
  2122. package/dist/index.es385.js.map +1 -0
  2123. package/dist/index.es386.js +7 -0
  2124. package/dist/index.es386.js.map +1 -0
  2125. package/dist/index.es387.js +22 -0
  2126. package/dist/index.es387.js.map +1 -0
  2127. package/dist/index.es388.js +12 -0
  2128. package/dist/index.es388.js.map +1 -0
  2129. package/dist/index.es389.js +26 -0
  2130. package/dist/index.es389.js.map +1 -0
  2131. package/dist/index.es39.js +10 -0
  2132. package/dist/index.es39.js.map +1 -0
  2133. package/dist/index.es390.js +10 -0
  2134. package/dist/index.es390.js.map +1 -0
  2135. package/dist/index.es391.js +15 -0
  2136. package/dist/index.es391.js.map +1 -0
  2137. package/dist/index.es392.js +12 -0
  2138. package/dist/index.es392.js.map +1 -0
  2139. package/dist/index.es393.js +9 -0
  2140. package/dist/index.es393.js.map +1 -0
  2141. package/dist/index.es394.js +25 -0
  2142. package/dist/index.es394.js.map +1 -0
  2143. package/dist/index.es395.js +15 -0
  2144. package/dist/index.es395.js.map +1 -0
  2145. package/dist/index.es396.js +7 -0
  2146. package/dist/index.es396.js.map +1 -0
  2147. package/dist/index.es397.js +9 -0
  2148. package/dist/index.es397.js.map +1 -0
  2149. package/dist/index.es398.js +10 -0
  2150. package/dist/index.es398.js.map +1 -0
  2151. package/dist/index.es399.js +16 -0
  2152. package/dist/index.es399.js.map +1 -0
  2153. package/dist/index.es4.js +81 -0
  2154. package/dist/index.es4.js.map +1 -0
  2155. package/dist/index.es40.js +8 -0
  2156. package/dist/index.es40.js.map +1 -0
  2157. package/dist/index.es400.js +12 -0
  2158. package/dist/index.es400.js.map +1 -0
  2159. package/dist/index.es401.js +12 -0
  2160. package/dist/index.es401.js.map +1 -0
  2161. package/dist/index.es402.js +20 -0
  2162. package/dist/index.es402.js.map +1 -0
  2163. package/dist/index.es403.js +8 -0
  2164. package/dist/index.es403.js.map +1 -0
  2165. package/dist/index.es404.js +9 -0
  2166. package/dist/index.es404.js.map +1 -0
  2167. package/dist/index.es405.js +5 -0
  2168. package/dist/index.es405.js.map +1 -0
  2169. package/dist/index.es406.js +5 -0
  2170. package/dist/index.es406.js.map +1 -0
  2171. package/dist/index.es407.js +11 -0
  2172. package/dist/index.es407.js.map +1 -0
  2173. package/dist/index.es408.js +8 -0
  2174. package/dist/index.es408.js.map +1 -0
  2175. package/dist/index.es409.js +7 -0
  2176. package/dist/index.es409.js.map +1 -0
  2177. package/dist/index.es41.js +7 -0
  2178. package/dist/index.es41.js.map +1 -0
  2179. package/dist/index.es410.js +6 -0
  2180. package/dist/index.es410.js.map +1 -0
  2181. package/dist/index.es411.js +6 -0
  2182. package/dist/index.es411.js.map +1 -0
  2183. package/dist/index.es412.js +12 -0
  2184. package/dist/index.es412.js.map +1 -0
  2185. package/dist/index.es413.js +25 -0
  2186. package/dist/index.es413.js.map +1 -0
  2187. package/dist/index.es414.js +25 -0
  2188. package/dist/index.es414.js.map +1 -0
  2189. package/dist/index.es415.js +17 -0
  2190. package/dist/index.es415.js.map +1 -0
  2191. package/dist/index.es416.js +20 -0
  2192. package/dist/index.es416.js.map +1 -0
  2193. package/dist/index.es417.js +9 -0
  2194. package/dist/index.es417.js.map +1 -0
  2195. package/dist/index.es418.js +12 -0
  2196. package/dist/index.es418.js.map +1 -0
  2197. package/dist/index.es419.js +10 -0
  2198. package/dist/index.es419.js.map +1 -0
  2199. package/dist/index.es42.js +21 -0
  2200. package/dist/index.es42.js.map +1 -0
  2201. package/dist/index.es420.js +25 -0
  2202. package/dist/index.es420.js.map +1 -0
  2203. package/dist/index.es421.js +13 -0
  2204. package/dist/index.es421.js.map +1 -0
  2205. package/dist/index.es422.js +12 -0
  2206. package/dist/index.es422.js.map +1 -0
  2207. package/dist/index.es423.js +7 -0
  2208. package/dist/index.es423.js.map +1 -0
  2209. package/dist/index.es424.js +14 -0
  2210. package/dist/index.es424.js.map +1 -0
  2211. package/dist/index.es425.js +12 -0
  2212. package/dist/index.es425.js.map +1 -0
  2213. package/dist/index.es426.js +26 -0
  2214. package/dist/index.es426.js.map +1 -0
  2215. package/dist/index.es427.js +15 -0
  2216. package/dist/index.es427.js.map +1 -0
  2217. package/dist/index.es428.js +22 -0
  2218. package/dist/index.es428.js.map +1 -0
  2219. package/dist/index.es429.js +7 -0
  2220. package/dist/index.es429.js.map +1 -0
  2221. package/dist/index.es43.js +21 -0
  2222. package/dist/index.es43.js.map +1 -0
  2223. package/dist/index.es430.js +21 -0
  2224. package/dist/index.es430.js.map +1 -0
  2225. package/dist/index.es431.js +15 -0
  2226. package/dist/index.es431.js.map +1 -0
  2227. package/dist/index.es432.js +7 -0
  2228. package/dist/index.es432.js.map +1 -0
  2229. package/dist/index.es433.js +8 -0
  2230. package/dist/index.es433.js.map +1 -0
  2231. package/dist/index.es434.js +8 -0
  2232. package/dist/index.es434.js.map +1 -0
  2233. package/dist/index.es435.js +6 -0
  2234. package/dist/index.es435.js.map +1 -0
  2235. package/dist/index.es436.js +27 -0
  2236. package/dist/index.es436.js.map +1 -0
  2237. package/dist/index.es437.js +110 -0
  2238. package/dist/index.es437.js.map +1 -0
  2239. package/dist/index.es438.js +19 -0
  2240. package/dist/index.es438.js.map +1 -0
  2241. package/dist/index.es439.js +228 -0
  2242. package/dist/index.es439.js.map +1 -0
  2243. package/dist/index.es44.js +17 -0
  2244. package/dist/index.es44.js.map +1 -0
  2245. package/dist/index.es440.js +5 -0
  2246. package/dist/index.es440.js.map +1 -0
  2247. package/dist/index.es441.js +359 -0
  2248. package/dist/index.es441.js.map +1 -0
  2249. package/dist/index.es442.js +5 -0
  2250. package/dist/index.es442.js.map +1 -0
  2251. package/dist/index.es443.js +41 -0
  2252. package/dist/index.es443.js.map +1 -0
  2253. package/dist/index.es444.js +54 -0
  2254. package/dist/index.es444.js.map +1 -0
  2255. package/dist/index.es445.js +65 -0
  2256. package/dist/index.es445.js.map +1 -0
  2257. package/dist/index.es446.js +64 -0
  2258. package/dist/index.es446.js.map +1 -0
  2259. package/dist/index.es447.js +76 -0
  2260. package/dist/index.es447.js.map +1 -0
  2261. package/dist/index.es448.js +53 -0
  2262. package/dist/index.es448.js.map +1 -0
  2263. package/dist/index.es449.js +92 -0
  2264. package/dist/index.es449.js.map +1 -0
  2265. package/dist/index.es45.js +9 -0
  2266. package/dist/index.es45.js.map +1 -0
  2267. package/dist/index.es450.js +5 -0
  2268. package/dist/index.es450.js.map +1 -0
  2269. package/dist/index.es451.js +5 -0
  2270. package/dist/index.es451.js.map +1 -0
  2271. package/dist/index.es452.js +5 -0
  2272. package/dist/index.es452.js.map +1 -0
  2273. package/dist/index.es453.js +5 -0
  2274. package/dist/index.es453.js.map +1 -0
  2275. package/dist/index.es454.js +5 -0
  2276. package/dist/index.es454.js.map +1 -0
  2277. package/dist/index.es455.js +5 -0
  2278. package/dist/index.es455.js.map +1 -0
  2279. package/dist/index.es456.js +5 -0
  2280. package/dist/index.es456.js.map +1 -0
  2281. package/dist/index.es457.js +11 -0
  2282. package/dist/index.es457.js.map +1 -0
  2283. package/dist/index.es458.js +7 -0
  2284. package/dist/index.es458.js.map +1 -0
  2285. package/dist/index.es459.js +7 -0
  2286. package/dist/index.es459.js.map +1 -0
  2287. package/dist/index.es46.js +10 -0
  2288. package/dist/index.es46.js.map +1 -0
  2289. package/dist/index.es460.js +164 -0
  2290. package/dist/index.es460.js.map +1 -0
  2291. package/dist/index.es461.js +8 -0
  2292. package/dist/index.es461.js.map +1 -0
  2293. package/dist/index.es462.js +5 -0
  2294. package/dist/index.es462.js.map +1 -0
  2295. package/dist/index.es463.js +91 -0
  2296. package/dist/index.es463.js.map +1 -0
  2297. package/dist/index.es464.js +197 -0
  2298. package/dist/index.es464.js.map +1 -0
  2299. package/dist/index.es465.js +91 -0
  2300. package/dist/index.es465.js.map +1 -0
  2301. package/dist/index.es466.js +16 -0
  2302. package/dist/index.es466.js.map +1 -0
  2303. package/dist/index.es467.js +322 -0
  2304. package/dist/index.es467.js.map +1 -0
  2305. package/dist/index.es468.js +10 -0
  2306. package/dist/index.es468.js.map +1 -0
  2307. package/dist/index.es469.js +28 -0
  2308. package/dist/index.es469.js.map +1 -0
  2309. package/dist/index.es47.js +13 -0
  2310. package/dist/index.es47.js.map +1 -0
  2311. package/dist/index.es470.js +12 -0
  2312. package/dist/index.es470.js.map +1 -0
  2313. package/dist/index.es471.js +25 -0
  2314. package/dist/index.es471.js.map +1 -0
  2315. package/dist/index.es472.js +7 -0
  2316. package/dist/index.es472.js.map +1 -0
  2317. package/dist/index.es473.js +28 -0
  2318. package/dist/index.es473.js.map +1 -0
  2319. package/dist/index.es474.js +34 -0
  2320. package/dist/index.es474.js.map +1 -0
  2321. package/dist/index.es475.js +24 -0
  2322. package/dist/index.es475.js.map +1 -0
  2323. package/dist/index.es476.js +69 -0
  2324. package/dist/index.es476.js.map +1 -0
  2325. package/dist/index.es477.js +63 -0
  2326. package/dist/index.es477.js.map +1 -0
  2327. package/dist/index.es478.js +9 -0
  2328. package/dist/index.es478.js.map +1 -0
  2329. package/dist/index.es479.js +5 -0
  2330. package/dist/index.es479.js.map +1 -0
  2331. package/dist/index.es48.js +7 -0
  2332. package/dist/index.es48.js.map +1 -0
  2333. package/dist/index.es480.js +5 -0
  2334. package/dist/index.es480.js.map +1 -0
  2335. package/dist/index.es481.js +6 -0
  2336. package/dist/index.es481.js.map +1 -0
  2337. package/dist/index.es482.js +324 -0
  2338. package/dist/index.es482.js.map +1 -0
  2339. package/dist/index.es483.js +78 -0
  2340. package/dist/index.es483.js.map +1 -0
  2341. package/dist/index.es484.js +6 -0
  2342. package/dist/index.es484.js.map +1 -0
  2343. package/dist/index.es485.js +19 -0
  2344. package/dist/index.es485.js.map +1 -0
  2345. package/dist/index.es486.js +14 -0
  2346. package/dist/index.es486.js.map +1 -0
  2347. package/dist/index.es487.js +34 -0
  2348. package/dist/index.es487.js.map +1 -0
  2349. package/dist/index.es488.js +5 -0
  2350. package/dist/index.es488.js.map +1 -0
  2351. package/dist/index.es489.js +18 -0
  2352. package/dist/index.es489.js.map +1 -0
  2353. package/dist/index.es49.js +22 -0
  2354. package/dist/index.es49.js.map +1 -0
  2355. package/dist/index.es490.js +20 -0
  2356. package/dist/index.es490.js.map +1 -0
  2357. package/dist/index.es491.js +8 -0
  2358. package/dist/index.es491.js.map +1 -0
  2359. package/dist/index.es492.js +7 -0
  2360. package/dist/index.es492.js.map +1 -0
  2361. package/dist/index.es493.js +7 -0
  2362. package/dist/index.es493.js.map +1 -0
  2363. package/dist/index.es494.js +8 -0
  2364. package/dist/index.es494.js.map +1 -0
  2365. package/dist/index.es495.js +7 -0
  2366. package/dist/index.es495.js.map +1 -0
  2367. package/dist/index.es496.js +6 -0
  2368. package/dist/index.es496.js.map +1 -0
  2369. package/dist/index.es497.js +6 -0
  2370. package/dist/index.es497.js.map +1 -0
  2371. package/dist/index.es498.js +6 -0
  2372. package/dist/index.es498.js.map +1 -0
  2373. package/dist/index.es499.js +6 -0
  2374. package/dist/index.es499.js.map +1 -0
  2375. package/dist/index.es5.js +154 -0
  2376. package/dist/index.es5.js.map +1 -0
  2377. package/dist/index.es50.js +20 -0
  2378. package/dist/index.es50.js.map +1 -0
  2379. package/dist/index.es500.js +6 -0
  2380. package/dist/index.es500.js.map +1 -0
  2381. package/dist/index.es501.js +6 -0
  2382. package/dist/index.es501.js.map +1 -0
  2383. package/dist/index.es502.js +6 -0
  2384. package/dist/index.es502.js.map +1 -0
  2385. package/dist/index.es503.js +13 -0
  2386. package/dist/index.es503.js.map +1 -0
  2387. package/dist/index.es504.js +9 -0
  2388. package/dist/index.es504.js.map +1 -0
  2389. package/dist/index.es505.js +9 -0
  2390. package/dist/index.es505.js.map +1 -0
  2391. package/dist/index.es506.js +13 -0
  2392. package/dist/index.es506.js.map +1 -0
  2393. package/dist/index.es507.js +15 -0
  2394. package/dist/index.es507.js.map +1 -0
  2395. package/dist/index.es508.js +16 -0
  2396. package/dist/index.es508.js.map +1 -0
  2397. package/dist/index.es509.js +89 -0
  2398. package/dist/index.es509.js.map +1 -0
  2399. package/dist/index.es51.js +9 -0
  2400. package/dist/index.es51.js.map +1 -0
  2401. package/dist/index.es510.js +6 -0
  2402. package/dist/index.es510.js.map +1 -0
  2403. package/dist/index.es511.js +10 -0
  2404. package/dist/index.es511.js.map +1 -0
  2405. package/dist/index.es512.js +10 -0
  2406. package/dist/index.es512.js.map +1 -0
  2407. package/dist/index.es513.js +10 -0
  2408. package/dist/index.es513.js.map +1 -0
  2409. package/dist/index.es514.js +11 -0
  2410. package/dist/index.es514.js.map +1 -0
  2411. package/dist/index.es515.js +7 -0
  2412. package/dist/index.es515.js.map +1 -0
  2413. package/dist/index.es516.js +7 -0
  2414. package/dist/index.es516.js.map +1 -0
  2415. package/dist/index.es517.js +7 -0
  2416. package/dist/index.es517.js.map +1 -0
  2417. package/dist/index.es518.js +10 -0
  2418. package/dist/index.es518.js.map +1 -0
  2419. package/dist/index.es519.js +10 -0
  2420. package/dist/index.es519.js.map +1 -0
  2421. package/dist/index.es52.js +15 -0
  2422. package/dist/index.es52.js.map +1 -0
  2423. package/dist/index.es520.js +7 -0
  2424. package/dist/index.es520.js.map +1 -0
  2425. package/dist/index.es521.js +11 -0
  2426. package/dist/index.es521.js.map +1 -0
  2427. package/dist/index.es522.js +16 -0
  2428. package/dist/index.es522.js.map +1 -0
  2429. package/dist/index.es523.js +14 -0
  2430. package/dist/index.es523.js.map +1 -0
  2431. package/dist/index.es524.js +7 -0
  2432. package/dist/index.es524.js.map +1 -0
  2433. package/dist/index.es525.js +9 -0
  2434. package/dist/index.es525.js.map +1 -0
  2435. package/dist/index.es526.js +6 -0
  2436. package/dist/index.es526.js.map +1 -0
  2437. package/dist/index.es527.js +11 -0
  2438. package/dist/index.es527.js.map +1 -0
  2439. package/dist/index.es528.js +11 -0
  2440. package/dist/index.es528.js.map +1 -0
  2441. package/dist/index.es529.js +11 -0
  2442. package/dist/index.es529.js.map +1 -0
  2443. package/dist/index.es53.js +8 -0
  2444. package/dist/index.es53.js.map +1 -0
  2445. package/dist/index.es530.js +12 -0
  2446. package/dist/index.es530.js.map +1 -0
  2447. package/dist/index.es531.js +7 -0
  2448. package/dist/index.es531.js.map +1 -0
  2449. package/dist/index.es532.js +7 -0
  2450. package/dist/index.es532.js.map +1 -0
  2451. package/dist/index.es533.js +61 -0
  2452. package/dist/index.es533.js.map +1 -0
  2453. package/dist/index.es534.js +17 -0
  2454. package/dist/index.es534.js.map +1 -0
  2455. package/dist/index.es535.js +9 -0
  2456. package/dist/index.es535.js.map +1 -0
  2457. package/dist/index.es536.js +9 -0
  2458. package/dist/index.es536.js.map +1 -0
  2459. package/dist/index.es537.js +12 -0
  2460. package/dist/index.es537.js.map +1 -0
  2461. package/dist/index.es538.js +20 -0
  2462. package/dist/index.es538.js.map +1 -0
  2463. package/dist/index.es539.js +17 -0
  2464. package/dist/index.es539.js.map +1 -0
  2465. package/dist/index.es54.js +31 -0
  2466. package/dist/index.es54.js.map +1 -0
  2467. package/dist/index.es540.js +8 -0
  2468. package/dist/index.es540.js.map +1 -0
  2469. package/dist/index.es541.js +12 -0
  2470. package/dist/index.es541.js.map +1 -0
  2471. package/dist/index.es542.js +10 -0
  2472. package/dist/index.es542.js.map +1 -0
  2473. package/dist/index.es543.js +12 -0
  2474. package/dist/index.es543.js.map +1 -0
  2475. package/dist/index.es544.js +6 -0
  2476. package/dist/index.es544.js.map +1 -0
  2477. package/dist/index.es545.js +6 -0
  2478. package/dist/index.es545.js.map +1 -0
  2479. package/dist/index.es546.js +14 -0
  2480. package/dist/index.es546.js.map +1 -0
  2481. package/dist/index.es547.js +8 -0
  2482. package/dist/index.es547.js.map +1 -0
  2483. package/dist/index.es548.js +7 -0
  2484. package/dist/index.es548.js.map +1 -0
  2485. package/dist/index.es549.js +12 -0
  2486. package/dist/index.es549.js.map +1 -0
  2487. package/dist/index.es55.js +11 -0
  2488. package/dist/index.es55.js.map +1 -0
  2489. package/dist/index.es550.js +9 -0
  2490. package/dist/index.es550.js.map +1 -0
  2491. package/dist/index.es551.js +6 -0
  2492. package/dist/index.es551.js.map +1 -0
  2493. package/dist/index.es552.js +6 -0
  2494. package/dist/index.es552.js.map +1 -0
  2495. package/dist/index.es553.js +10 -0
  2496. package/dist/index.es553.js.map +1 -0
  2497. package/dist/index.es554.js +16 -0
  2498. package/dist/index.es554.js.map +1 -0
  2499. package/dist/index.es555.js +16 -0
  2500. package/dist/index.es555.js.map +1 -0
  2501. package/dist/index.es556.js +9 -0
  2502. package/dist/index.es556.js.map +1 -0
  2503. package/dist/index.es557.js +9 -0
  2504. package/dist/index.es557.js.map +1 -0
  2505. package/dist/index.es558.js +20 -0
  2506. package/dist/index.es558.js.map +1 -0
  2507. package/dist/index.es559.js +20 -0
  2508. package/dist/index.es559.js.map +1 -0
  2509. package/dist/index.es56.js +8 -0
  2510. package/dist/index.es56.js.map +1 -0
  2511. package/dist/index.es560.js +8 -0
  2512. package/dist/index.es560.js.map +1 -0
  2513. package/dist/index.es561.js +20 -0
  2514. package/dist/index.es561.js.map +1 -0
  2515. package/dist/index.es562.js +26 -0
  2516. package/dist/index.es562.js.map +1 -0
  2517. package/dist/index.es563.js +9 -0
  2518. package/dist/index.es563.js.map +1 -0
  2519. package/dist/index.es564.js +8 -0
  2520. package/dist/index.es564.js.map +1 -0
  2521. package/dist/index.es565.js +9 -0
  2522. package/dist/index.es565.js.map +1 -0
  2523. package/dist/index.es566.js +8 -0
  2524. package/dist/index.es566.js.map +1 -0
  2525. package/dist/index.es567.js +15 -0
  2526. package/dist/index.es567.js.map +1 -0
  2527. package/dist/index.es568.js +9 -0
  2528. package/dist/index.es568.js.map +1 -0
  2529. package/dist/index.es569.js +8 -0
  2530. package/dist/index.es569.js.map +1 -0
  2531. package/dist/index.es57.js +13 -0
  2532. package/dist/index.es57.js.map +1 -0
  2533. package/dist/index.es570.js +8 -0
  2534. package/dist/index.es570.js.map +1 -0
  2535. package/dist/index.es571.js +8 -0
  2536. package/dist/index.es571.js.map +1 -0
  2537. package/dist/index.es572.js +8 -0
  2538. package/dist/index.es572.js.map +1 -0
  2539. package/dist/index.es573.js +8 -0
  2540. package/dist/index.es573.js.map +1 -0
  2541. package/dist/index.es574.js +8 -0
  2542. package/dist/index.es574.js.map +1 -0
  2543. package/dist/index.es575.js +18 -0
  2544. package/dist/index.es575.js.map +1 -0
  2545. package/dist/index.es576.js +10 -0
  2546. package/dist/index.es576.js.map +1 -0
  2547. package/dist/index.es577.js +10 -0
  2548. package/dist/index.es577.js.map +1 -0
  2549. package/dist/index.es578.js +12 -0
  2550. package/dist/index.es578.js.map +1 -0
  2551. package/dist/index.es579.js +25 -0
  2552. package/dist/index.es579.js.map +1 -0
  2553. package/dist/index.es58.js +20 -0
  2554. package/dist/index.es58.js.map +1 -0
  2555. package/dist/index.es580.js +7 -0
  2556. package/dist/index.es580.js.map +1 -0
  2557. package/dist/index.es581.js +10 -0
  2558. package/dist/index.es581.js.map +1 -0
  2559. package/dist/index.es582.js +11 -0
  2560. package/dist/index.es582.js.map +1 -0
  2561. package/dist/index.es583.js +6 -0
  2562. package/dist/index.es583.js.map +1 -0
  2563. package/dist/index.es584.js +9 -0
  2564. package/dist/index.es584.js.map +1 -0
  2565. package/dist/index.es585.js +63 -0
  2566. package/dist/index.es585.js.map +1 -0
  2567. package/dist/index.es586.js +30 -0
  2568. package/dist/index.es586.js.map +1 -0
  2569. package/dist/index.es587.js +36 -0
  2570. package/dist/index.es587.js.map +1 -0
  2571. package/dist/index.es588.js +5 -0
  2572. package/dist/index.es588.js.map +1 -0
  2573. package/dist/index.es589.js +68 -0
  2574. package/dist/index.es589.js.map +1 -0
  2575. package/dist/index.es59.js +8 -0
  2576. package/dist/index.es59.js.map +1 -0
  2577. package/dist/index.es590.js +58 -0
  2578. package/dist/index.es590.js.map +1 -0
  2579. package/dist/index.es591.js +12 -0
  2580. package/dist/index.es591.js.map +1 -0
  2581. package/dist/index.es592.js +17 -0
  2582. package/dist/index.es592.js.map +1 -0
  2583. package/dist/index.es593.js +63 -0
  2584. package/dist/index.es593.js.map +1 -0
  2585. package/dist/index.es594.js +148 -0
  2586. package/dist/index.es594.js.map +1 -0
  2587. package/dist/index.es595.js +5 -0
  2588. package/dist/index.es595.js.map +1 -0
  2589. package/dist/index.es596.js +9 -0
  2590. package/dist/index.es596.js.map +1 -0
  2591. package/dist/index.es597.js +9 -0
  2592. package/dist/index.es597.js.map +1 -0
  2593. package/dist/index.es598.js +51 -0
  2594. package/dist/index.es598.js.map +1 -0
  2595. package/dist/index.es599.js +5 -0
  2596. package/dist/index.es599.js.map +1 -0
  2597. package/dist/index.es6.js +80 -0
  2598. package/dist/index.es6.js.map +1 -0
  2599. package/dist/index.es60.js +8 -0
  2600. package/dist/index.es60.js.map +1 -0
  2601. package/dist/index.es600.js +5 -0
  2602. package/dist/index.es600.js.map +1 -0
  2603. package/dist/index.es601.js +5 -0
  2604. package/dist/index.es601.js.map +1 -0
  2605. package/dist/index.es602.js +5 -0
  2606. package/dist/index.es602.js.map +1 -0
  2607. package/dist/index.es603.js +5 -0
  2608. package/dist/index.es603.js.map +1 -0
  2609. package/dist/index.es604.js +112 -0
  2610. package/dist/index.es604.js.map +1 -0
  2611. package/dist/index.es605.js +12 -0
  2612. package/dist/index.es605.js.map +1 -0
  2613. package/dist/index.es606.js +17 -0
  2614. package/dist/index.es606.js.map +1 -0
  2615. package/dist/index.es607.js +8 -0
  2616. package/dist/index.es607.js.map +1 -0
  2617. package/dist/index.es608.js +46 -0
  2618. package/dist/index.es608.js.map +1 -0
  2619. package/dist/index.es609.js +69 -0
  2620. package/dist/index.es609.js.map +1 -0
  2621. package/dist/index.es61.js +8 -0
  2622. package/dist/index.es61.js.map +1 -0
  2623. package/dist/index.es610.js +79 -0
  2624. package/dist/index.es610.js.map +1 -0
  2625. package/dist/index.es611.js +7 -0
  2626. package/dist/index.es611.js.map +1 -0
  2627. package/dist/index.es612.js +16 -0
  2628. package/dist/index.es612.js.map +1 -0
  2629. package/dist/index.es613.js +63 -0
  2630. package/dist/index.es613.js.map +1 -0
  2631. package/dist/index.es614.js +49 -0
  2632. package/dist/index.es614.js.map +1 -0
  2633. package/dist/index.es615.js +26 -0
  2634. package/dist/index.es615.js.map +1 -0
  2635. package/dist/index.es616.js +9 -0
  2636. package/dist/index.es616.js.map +1 -0
  2637. package/dist/index.es617.js +11 -0
  2638. package/dist/index.es617.js.map +1 -0
  2639. package/dist/index.es618.js +22 -0
  2640. package/dist/index.es618.js.map +1 -0
  2641. package/dist/index.es619.js +7 -0
  2642. package/dist/index.es619.js.map +1 -0
  2643. package/dist/index.es62.js +10 -0
  2644. package/dist/index.es62.js.map +1 -0
  2645. package/dist/index.es620.js +6 -0
  2646. package/dist/index.es620.js.map +1 -0
  2647. package/dist/index.es621.js +12 -0
  2648. package/dist/index.es621.js.map +1 -0
  2649. package/dist/index.es622.js +17 -0
  2650. package/dist/index.es622.js.map +1 -0
  2651. package/dist/index.es623.js +15 -0
  2652. package/dist/index.es623.js.map +1 -0
  2653. package/dist/index.es624.js +21 -0
  2654. package/dist/index.es624.js.map +1 -0
  2655. package/dist/index.es625.js +15 -0
  2656. package/dist/index.es625.js.map +1 -0
  2657. package/dist/index.es626.js +5 -0
  2658. package/dist/index.es626.js.map +1 -0
  2659. package/dist/index.es627.js +33 -0
  2660. package/dist/index.es627.js.map +1 -0
  2661. package/dist/index.es628.js +602 -0
  2662. package/dist/index.es628.js.map +1 -0
  2663. package/dist/index.es629.js +5 -0
  2664. package/dist/index.es629.js.map +1 -0
  2665. package/dist/index.es63.js +10 -0
  2666. package/dist/index.es63.js.map +1 -0
  2667. package/dist/index.es630.js +5 -0
  2668. package/dist/index.es630.js.map +1 -0
  2669. package/dist/index.es631.js +89 -0
  2670. package/dist/index.es631.js.map +1 -0
  2671. package/dist/index.es632.js +37 -0
  2672. package/dist/index.es632.js.map +1 -0
  2673. package/dist/index.es633.js +40 -0
  2674. package/dist/index.es633.js.map +1 -0
  2675. package/dist/index.es634.js +67 -0
  2676. package/dist/index.es634.js.map +1 -0
  2677. package/dist/index.es635.js +31 -0
  2678. package/dist/index.es635.js.map +1 -0
  2679. package/dist/index.es636.js +31 -0
  2680. package/dist/index.es636.js.map +1 -0
  2681. package/dist/index.es637.js +31 -0
  2682. package/dist/index.es637.js.map +1 -0
  2683. package/dist/index.es638.js +37 -0
  2684. package/dist/index.es638.js.map +1 -0
  2685. package/dist/index.es639.js +37 -0
  2686. package/dist/index.es639.js.map +1 -0
  2687. package/dist/index.es64.js +7 -0
  2688. package/dist/index.es64.js.map +1 -0
  2689. package/dist/index.es640.js +5 -0
  2690. package/dist/index.es640.js.map +1 -0
  2691. package/dist/index.es641.js +5 -0
  2692. package/dist/index.es641.js.map +1 -0
  2693. package/dist/index.es642.js +12 -0
  2694. package/dist/index.es642.js.map +1 -0
  2695. package/dist/index.es643.js +7 -0
  2696. package/dist/index.es643.js.map +1 -0
  2697. package/dist/index.es644.js +26 -0
  2698. package/dist/index.es644.js.map +1 -0
  2699. package/dist/index.es645.js +88 -0
  2700. package/dist/index.es645.js.map +1 -0
  2701. package/dist/index.es646.js +111 -0
  2702. package/dist/index.es646.js.map +1 -0
  2703. package/dist/index.es647.js +5 -0
  2704. package/dist/index.es647.js.map +1 -0
  2705. package/dist/index.es648.js +5 -0
  2706. package/dist/index.es648.js.map +1 -0
  2707. package/dist/index.es649.js +74 -0
  2708. package/dist/index.es649.js.map +1 -0
  2709. package/dist/index.es65.js +7 -0
  2710. package/dist/index.es65.js.map +1 -0
  2711. package/dist/index.es650.js +20 -0
  2712. package/dist/index.es650.js.map +1 -0
  2713. package/dist/index.es651.js +8 -0
  2714. package/dist/index.es651.js.map +1 -0
  2715. package/dist/index.es652.js +24 -0
  2716. package/dist/index.es652.js.map +1 -0
  2717. package/dist/index.es653.js +52 -0
  2718. package/dist/index.es653.js.map +1 -0
  2719. package/dist/index.es654.js +58 -0
  2720. package/dist/index.es654.js.map +1 -0
  2721. package/dist/index.es655.js +12 -0
  2722. package/dist/index.es655.js.map +1 -0
  2723. package/dist/index.es656.js +60 -0
  2724. package/dist/index.es656.js.map +1 -0
  2725. package/dist/index.es657.js +19 -0
  2726. package/dist/index.es657.js.map +1 -0
  2727. package/dist/index.es658.js +5 -0
  2728. package/dist/index.es658.js.map +1 -0
  2729. package/dist/index.es659.js +5 -0
  2730. package/dist/index.es659.js.map +1 -0
  2731. package/dist/index.es66.js +10 -0
  2732. package/dist/index.es66.js.map +1 -0
  2733. package/dist/index.es660.js +11 -0
  2734. package/dist/index.es660.js.map +1 -0
  2735. package/dist/index.es661.js +14 -0
  2736. package/dist/index.es661.js.map +1 -0
  2737. package/dist/index.es662.js +17 -0
  2738. package/dist/index.es662.js.map +1 -0
  2739. package/dist/index.es663.js +54 -0
  2740. package/dist/index.es663.js.map +1 -0
  2741. package/dist/index.es664.js +61 -0
  2742. package/dist/index.es664.js.map +1 -0
  2743. package/dist/index.es665.js +12 -0
  2744. package/dist/index.es665.js.map +1 -0
  2745. package/dist/index.es666.js +12 -0
  2746. package/dist/index.es666.js.map +1 -0
  2747. package/dist/index.es667.js +9 -0
  2748. package/dist/index.es667.js.map +1 -0
  2749. package/dist/index.es668.js +33 -0
  2750. package/dist/index.es668.js.map +1 -0
  2751. package/dist/index.es669.js +602 -0
  2752. package/dist/index.es669.js.map +1 -0
  2753. package/dist/index.es67.js +18 -0
  2754. package/dist/index.es67.js.map +1 -0
  2755. package/dist/index.es670.js +5 -0
  2756. package/dist/index.es670.js.map +1 -0
  2757. package/dist/index.es671.js +344 -0
  2758. package/dist/index.es671.js.map +1 -0
  2759. package/dist/index.es672.js +5 -0
  2760. package/dist/index.es672.js.map +1 -0
  2761. package/dist/index.es673.js +5 -0
  2762. package/dist/index.es673.js.map +1 -0
  2763. package/dist/index.es674.js +202 -0
  2764. package/dist/index.es674.js.map +1 -0
  2765. package/dist/index.es675.js +163 -0
  2766. package/dist/index.es675.js.map +1 -0
  2767. package/dist/index.es676.js +5 -0
  2768. package/dist/index.es676.js.map +1 -0
  2769. package/dist/index.es677.js +5 -0
  2770. package/dist/index.es677.js.map +1 -0
  2771. package/dist/index.es678.js +26 -0
  2772. package/dist/index.es678.js.map +1 -0
  2773. package/dist/index.es679.js +16 -0
  2774. package/dist/index.es679.js.map +1 -0
  2775. package/dist/index.es68.js +15 -0
  2776. package/dist/index.es68.js.map +1 -0
  2777. package/dist/index.es680.js +31 -0
  2778. package/dist/index.es680.js.map +1 -0
  2779. package/dist/index.es681.js +8 -0
  2780. package/dist/index.es681.js.map +1 -0
  2781. package/dist/index.es682.js +48 -0
  2782. package/dist/index.es682.js.map +1 -0
  2783. package/dist/index.es683.js +46 -0
  2784. package/dist/index.es683.js.map +1 -0
  2785. package/dist/index.es684.js +5 -0
  2786. package/dist/index.es684.js.map +1 -0
  2787. package/dist/index.es685.js +5 -0
  2788. package/dist/index.es685.js.map +1 -0
  2789. package/dist/index.es686.js +6 -0
  2790. package/dist/index.es686.js.map +1 -0
  2791. package/dist/index.es687.js +31 -0
  2792. package/dist/index.es687.js.map +1 -0
  2793. package/dist/index.es688.js +32 -0
  2794. package/dist/index.es688.js.map +1 -0
  2795. package/dist/index.es689.js +8 -0
  2796. package/dist/index.es689.js.map +1 -0
  2797. package/dist/index.es69.js +18 -0
  2798. package/dist/index.es69.js.map +1 -0
  2799. package/dist/index.es690.js +5 -0
  2800. package/dist/index.es690.js.map +1 -0
  2801. package/dist/index.es691.js +5 -0
  2802. package/dist/index.es691.js.map +1 -0
  2803. package/dist/index.es692.js +25 -0
  2804. package/dist/index.es692.js.map +1 -0
  2805. package/dist/index.es693.js +14 -0
  2806. package/dist/index.es693.js.map +1 -0
  2807. package/dist/index.es694.js +7 -0
  2808. package/dist/index.es694.js.map +1 -0
  2809. package/dist/index.es695.js +175 -0
  2810. package/dist/index.es695.js.map +1 -0
  2811. package/dist/index.es696.js +108 -0
  2812. package/dist/index.es696.js.map +1 -0
  2813. package/dist/index.es697.js +31 -0
  2814. package/dist/index.es697.js.map +1 -0
  2815. package/dist/index.es698.js +325 -0
  2816. package/dist/index.es698.js.map +1 -0
  2817. package/dist/index.es699.js +8 -0
  2818. package/dist/index.es699.js.map +1 -0
  2819. package/dist/index.es7.js +139 -0
  2820. package/dist/index.es7.js.map +1 -0
  2821. package/dist/index.es70.js +10 -0
  2822. package/dist/index.es70.js.map +1 -0
  2823. package/dist/index.es700.js +5 -0
  2824. package/dist/index.es700.js.map +1 -0
  2825. package/dist/index.es701.js +5 -0
  2826. package/dist/index.es701.js.map +1 -0
  2827. package/dist/index.es702.js +5 -0
  2828. package/dist/index.es702.js.map +1 -0
  2829. package/dist/index.es703.js +5 -0
  2830. package/dist/index.es703.js.map +1 -0
  2831. package/dist/index.es704.js +5 -0
  2832. package/dist/index.es704.js.map +1 -0
  2833. package/dist/index.es705.js +55 -0
  2834. package/dist/index.es705.js.map +1 -0
  2835. package/dist/index.es706.js +119 -0
  2836. package/dist/index.es706.js.map +1 -0
  2837. package/dist/index.es707.js +5 -0
  2838. package/dist/index.es707.js.map +1 -0
  2839. package/dist/index.es708.js +5 -0
  2840. package/dist/index.es708.js.map +1 -0
  2841. package/dist/index.es709.js +91 -0
  2842. package/dist/index.es709.js.map +1 -0
  2843. package/dist/index.es71.js +8 -0
  2844. package/dist/index.es71.js.map +1 -0
  2845. package/dist/index.es710.js +9 -0
  2846. package/dist/index.es710.js.map +1 -0
  2847. package/dist/index.es711.js +5 -0
  2848. package/dist/index.es711.js.map +1 -0
  2849. package/dist/index.es712.js +8 -0
  2850. package/dist/index.es712.js.map +1 -0
  2851. package/dist/index.es713.js +6 -0
  2852. package/dist/index.es713.js.map +1 -0
  2853. package/dist/index.es714.js +27 -0
  2854. package/dist/index.es714.js.map +1 -0
  2855. package/dist/index.es715.js +110 -0
  2856. package/dist/index.es715.js.map +1 -0
  2857. package/dist/index.es716.js +19 -0
  2858. package/dist/index.es716.js.map +1 -0
  2859. package/dist/index.es717.js +5 -0
  2860. package/dist/index.es717.js.map +1 -0
  2861. package/dist/index.es718.js +11 -0
  2862. package/dist/index.es718.js.map +1 -0
  2863. package/dist/index.es719.js +331 -0
  2864. package/dist/index.es719.js.map +1 -0
  2865. package/dist/index.es72.js +7 -0
  2866. package/dist/index.es72.js.map +1 -0
  2867. package/dist/index.es720.js +54 -0
  2868. package/dist/index.es720.js.map +1 -0
  2869. package/dist/index.es721.js +23 -0
  2870. package/dist/index.es721.js.map +1 -0
  2871. package/dist/index.es722.js +36 -0
  2872. package/dist/index.es722.js.map +1 -0
  2873. package/dist/index.es723.js +5 -0
  2874. package/dist/index.es723.js.map +1 -0
  2875. package/dist/index.es724.js +58 -0
  2876. package/dist/index.es724.js.map +1 -0
  2877. package/dist/index.es725.js +12 -0
  2878. package/dist/index.es725.js.map +1 -0
  2879. package/dist/index.es726.js +17 -0
  2880. package/dist/index.es726.js.map +1 -0
  2881. package/dist/index.es727.js +63 -0
  2882. package/dist/index.es727.js.map +1 -0
  2883. package/dist/index.es728.js +68 -0
  2884. package/dist/index.es728.js.map +1 -0
  2885. package/dist/index.es729.js +7 -0
  2886. package/dist/index.es729.js.map +1 -0
  2887. package/dist/index.es73.js +21 -0
  2888. package/dist/index.es73.js.map +1 -0
  2889. package/dist/index.es730.js +26 -0
  2890. package/dist/index.es730.js.map +1 -0
  2891. package/dist/index.es731.js +5 -0
  2892. package/dist/index.es731.js.map +1 -0
  2893. package/dist/index.es732.js +80 -0
  2894. package/dist/index.es732.js.map +1 -0
  2895. package/dist/index.es733.js +96 -0
  2896. package/dist/index.es733.js.map +1 -0
  2897. package/dist/index.es734.js +56 -0
  2898. package/dist/index.es734.js.map +1 -0
  2899. package/dist/index.es735.js +12 -0
  2900. package/dist/index.es735.js.map +1 -0
  2901. package/dist/index.es736.js +8 -0
  2902. package/dist/index.es736.js.map +1 -0
  2903. package/dist/index.es737.js +56 -0
  2904. package/dist/index.es737.js.map +1 -0
  2905. package/dist/index.es738.js +26 -0
  2906. package/dist/index.es738.js.map +1 -0
  2907. package/dist/index.es739.js +16 -0
  2908. package/dist/index.es739.js.map +1 -0
  2909. package/dist/index.es74.js +21 -0
  2910. package/dist/index.es74.js.map +1 -0
  2911. package/dist/index.es740.js +5 -0
  2912. package/dist/index.es740.js.map +1 -0
  2913. package/dist/index.es741.js +5 -0
  2914. package/dist/index.es741.js.map +1 -0
  2915. package/dist/index.es742.js +31 -0
  2916. package/dist/index.es742.js.map +1 -0
  2917. package/dist/index.es743.js +8 -0
  2918. package/dist/index.es743.js.map +1 -0
  2919. package/dist/index.es75.js +17 -0
  2920. package/dist/index.es75.js.map +1 -0
  2921. package/dist/index.es76.js +9 -0
  2922. package/dist/index.es76.js.map +1 -0
  2923. package/dist/index.es77.js +10 -0
  2924. package/dist/index.es77.js.map +1 -0
  2925. package/dist/index.es78.js +13 -0
  2926. package/dist/index.es78.js.map +1 -0
  2927. package/dist/index.es79.js +7 -0
  2928. package/dist/index.es79.js.map +1 -0
  2929. package/dist/index.es8.js +133 -0
  2930. package/dist/index.es8.js.map +1 -0
  2931. package/dist/index.es80.js +22 -0
  2932. package/dist/index.es80.js.map +1 -0
  2933. package/dist/index.es81.js +13 -0
  2934. package/dist/index.es81.js.map +1 -0
  2935. package/dist/index.es82.js +18527 -0
  2936. package/dist/index.es82.js.map +1 -0
  2937. package/dist/index.es83.js +58 -0
  2938. package/dist/index.es83.js.map +1 -0
  2939. package/dist/index.es84.js +64 -0
  2940. package/dist/index.es84.js.map +1 -0
  2941. package/dist/index.es85.js +52 -0
  2942. package/dist/index.es85.js.map +1 -0
  2943. package/dist/index.es86.js +12 -0
  2944. package/dist/index.es86.js.map +1 -0
  2945. package/dist/index.es87.js +12186 -0
  2946. package/dist/index.es87.js.map +1 -0
  2947. package/dist/index.es88.js +4 -0
  2948. package/dist/index.es88.js.map +1 -0
  2949. package/dist/index.es89.js +4 -0
  2950. package/dist/index.es89.js.map +1 -0
  2951. package/dist/index.es9.js +57 -0
  2952. package/dist/index.es9.js.map +1 -0
  2953. package/dist/index.es90.js +39 -0
  2954. package/dist/index.es90.js.map +1 -0
  2955. package/dist/index.es91.js +4 -0
  2956. package/dist/index.es91.js.map +1 -0
  2957. package/dist/index.es92.js +26 -0
  2958. package/dist/index.es92.js.map +1 -0
  2959. package/dist/index.es93.js +3 -0
  2960. package/dist/index.es93.js.map +1 -0
  2961. package/dist/index.es94.js +4 -0
  2962. package/dist/index.es94.js.map +1 -0
  2963. package/dist/index.es95.js +3 -0
  2964. package/dist/index.es95.js.map +1 -0
  2965. package/dist/index.es96.js +35 -0
  2966. package/dist/index.es96.js.map +1 -0
  2967. package/dist/index.es97.js +16 -0
  2968. package/dist/index.es97.js.map +1 -0
  2969. package/dist/index.es98.js +17 -0
  2970. package/dist/index.es98.js.map +1 -0
  2971. package/dist/index.es99.js +12 -0
  2972. package/dist/index.es99.js.map +1 -0
  2973. package/dist/style.css +1 -0
  2974. package/package.json +14 -14
  2975. package/postcss.config.js +3 -1
  2976. package/src/components/PlaceMarker.js +0 -6
  2977. package/types/components/PlaceMarker.js.flow +0 -6
  2978. package/vite.config.js +39 -0
  2979. package/webpack.config.js +0 -57
@@ -0,0 +1,5 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});"fill"in Array.prototype||Object.defineProperty(Array.prototype,"fill",{configurable:!0,value:function(t){if(this===void 0||this===null)throw new TypeError(this+" is not an object");var e=Object(this),n=Math.max(Math.min(e.length,9007199254740991),0)||0,r=1 in arguments&&parseInt(Number(arguments[1]),10)||0;r=r<0?Math.max(n+r,0):Math.min(r,n);var i=2 in arguments&&arguments[2]!==void 0?parseInt(Number(arguments[2]),10)||0:n;for(i=i<0?Math.max(n+arguments[2],0):Math.min(i,n);r<i;)e[r]=t,++r;return e},writable:!0});Number.isFinite=Number.isFinite||function(t){return typeof t=="number"&&isFinite(t)};Number.isInteger=Number.isInteger||function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t};Number.parseFloat=Number.parseFloat||parseFloat;Number.isNaN=Number.isNaN||function(t){return t!==t};Math.trunc=Math.trunc||function(t){return t<0?Math.ceil(t):Math.floor(t)};var Ln=function(){};Ln.prototype.interfaces_=function(){return[]};Ln.prototype.getClass=function(){return Ln};Ln.prototype.equalsWithTolerance=function(t,e,n){return Math.abs(t-e)<=n};var Y=function(t){function e(n){t.call(this,n),this.name="IllegalArgumentException",this.message=n,this.stack=new t().stack}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error),b=function(){},Ni={MAX_VALUE:{configurable:!0}};b.isNaN=function(t){return Number.isNaN(t)};b.doubleToLongBits=function(t){return t};b.longBitsToDouble=function(t){return t};b.isInfinite=function(t){return!Number.isFinite(t)};Ni.MAX_VALUE.get=function(){return Number.MAX_VALUE};Object.defineProperties(b,Ni);var $t=function(){},qr=function(){},kn=function(){};function te(){}var c=function t(){if(this.x=null,this.y=null,this.z=null,arguments.length===0)this.x=0,this.y=0,this.z=t.NULL_ORDINATE;else if(arguments.length===1){var e=arguments[0];this.x=e.x,this.y=e.y,this.z=e.z}else arguments.length===2?(this.x=arguments[0],this.y=arguments[1],this.z=t.NULL_ORDINATE):arguments.length===3&&(this.x=arguments[0],this.y=arguments[1],this.z=arguments[2])},qn={DimensionalComparator:{configurable:!0},serialVersionUID:{configurable:!0},NULL_ORDINATE:{configurable:!0},X:{configurable:!0},Y:{configurable:!0},Z:{configurable:!0}};c.prototype.setOrdinate=function(t,e){switch(t){case c.X:this.x=e;break;case c.Y:this.y=e;break;case c.Z:this.z=e;break;default:throw new Y("Invalid ordinate index: "+t)}};c.prototype.equals2D=function(){if(arguments.length===1){var t=arguments[0];return!(this.x!==t.x||this.y!==t.y)}else if(arguments.length===2){var e=arguments[0],n=arguments[1];return!(!Ln.equalsWithTolerance(this.x,e.x,n)||!Ln.equalsWithTolerance(this.y,e.y,n))}};c.prototype.getOrdinate=function(t){switch(t){case c.X:return this.x;case c.Y:return this.y;case c.Z:return this.z}throw new Y("Invalid ordinate index: "+t)};c.prototype.equals3D=function(t){return this.x===t.x&&this.y===t.y&&(this.z===t.z||b.isNaN(this.z))&&b.isNaN(t.z)};c.prototype.equals=function(t){return t instanceof c?this.equals2D(t):!1};c.prototype.equalInZ=function(t,e){return Ln.equalsWithTolerance(this.z,t.z,e)};c.prototype.compareTo=function(t){var e=t;return this.x<e.x?-1:this.x>e.x?1:this.y<e.y?-1:this.y>e.y?1:0};c.prototype.clone=function(){};c.prototype.copy=function(){return new c(this)};c.prototype.toString=function(){return"("+this.x+", "+this.y+", "+this.z+")"};c.prototype.distance3D=function(t){var e=this.x-t.x,n=this.y-t.y,r=this.z-t.z;return Math.sqrt(e*e+n*n+r*r)};c.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)};c.prototype.hashCode=function(){var t=17;return t=37*t+c.hashCode(this.x),t=37*t+c.hashCode(this.y),t};c.prototype.setCoordinate=function(t){this.x=t.x,this.y=t.y,this.z=t.z};c.prototype.interfaces_=function(){return[$t,qr,te]};c.prototype.getClass=function(){return c};c.hashCode=function(){if(arguments.length===1){var t=arguments[0],e=b.doubleToLongBits(t);return Math.trunc((e^e)>>>32)}};qn.DimensionalComparator.get=function(){return tn};qn.serialVersionUID.get=function(){return 6683108902428367e3};qn.NULL_ORDINATE.get=function(){return b.NaN};qn.X.get=function(){return 0};qn.Y.get=function(){return 1};qn.Z.get=function(){return 2};Object.defineProperties(c,qn);var tn=function(t){if(this._dimensionsToTest=2,arguments.length!==0&&arguments.length===1){var e=arguments[0];if(e!==2&&e!==3)throw new Y("only 2 or 3 dimensions may be specified");this._dimensionsToTest=e}};tn.prototype.compare=function(t,e){var n=t,r=e,i=tn.compare(n.x,r.x);if(i!==0)return i;var o=tn.compare(n.y,r.y);if(o!==0)return o;if(this._dimensionsToTest<=2)return 0;var s=tn.compare(n.z,r.z);return s};tn.prototype.interfaces_=function(){return[kn]};tn.prototype.getClass=function(){return tn};tn.compare=function(t,e){return t<e?-1:t>e?1:b.isNaN(t)?b.isNaN(e)?0:-1:b.isNaN(e)?1:0};var Yn=function(){};Yn.prototype.create=function(){};Yn.prototype.interfaces_=function(){return[]};Yn.prototype.getClass=function(){return Yn};var h=function(){},br={INTERIOR:{configurable:!0},BOUNDARY:{configurable:!0},EXTERIOR:{configurable:!0},NONE:{configurable:!0}};h.prototype.interfaces_=function(){return[]};h.prototype.getClass=function(){return h};h.toLocationSymbol=function(t){switch(t){case h.EXTERIOR:return"e";case h.BOUNDARY:return"b";case h.INTERIOR:return"i";case h.NONE:return"-"}throw new Y("Unknown location value: "+t)};br.INTERIOR.get=function(){return 0};br.BOUNDARY.get=function(){return 1};br.EXTERIOR.get=function(){return 2};br.NONE.get=function(){return-1};Object.defineProperties(h,br);var L=function(t,e){return t.interfaces_&&t.interfaces_().indexOf(e)>-1},zt=function(){},xi={LOG_10:{configurable:!0}};zt.prototype.interfaces_=function(){return[]};zt.prototype.getClass=function(){return zt};zt.log10=function(t){var e=Math.log(t);return b.isInfinite(e)||b.isNaN(e)?e:e/zt.LOG_10};zt.min=function(t,e,n,r){var i=t;return e<i&&(i=e),n<i&&(i=n),r<i&&(i=r),i};zt.clamp=function(){if(typeof arguments[2]=="number"&&typeof arguments[0]=="number"&&typeof arguments[1]=="number"){var t=arguments[0],e=arguments[1],n=arguments[2];return t<e?e:t>n?n:t}else if(Number.isInteger(arguments[2])&&Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var r=arguments[0],i=arguments[1],o=arguments[2];return r<i?i:r>o?o:r}};zt.wrap=function(t,e){return t<0?e- -t%e:t%e};zt.max=function(){if(arguments.length===3){var t=arguments[0],e=arguments[1],n=arguments[2],r=t;return e>r&&(r=e),n>r&&(r=n),r}else if(arguments.length===4){var i=arguments[0],o=arguments[1],s=arguments[2],a=arguments[3],u=i;return o>u&&(u=o),s>u&&(u=s),a>u&&(u=a),u}};zt.average=function(t,e){return(t+e)/2};xi.LOG_10.get=function(){return Math.log(10)};Object.defineProperties(zt,xi);var be=function(t){this.str=t};be.prototype.append=function(t){this.str+=t};be.prototype.setCharAt=function(t,e){this.str=this.str.substr(0,t)+e+this.str.substr(t+1)};be.prototype.toString=function(t){return this.str};var me=function(t){this.value=t};me.prototype.intValue=function(){return this.value};me.prototype.compareTo=function(t){return this.value<t?-1:this.value>t?1:0};me.isNaN=function(t){return Number.isNaN(t)};var gr=function(){};gr.isWhitespace=function(t){return t<=32&&t>=0||t===127};gr.toUpperCase=function(t){return t.toUpperCase()};var f=function t(){if(this._hi=0,this._lo=0,arguments.length===0)this.init(0);else if(arguments.length===1){if(typeof arguments[0]=="number"){var e=arguments[0];this.init(e)}else if(arguments[0]instanceof t){var n=arguments[0];this.init(n)}else if(typeof arguments[0]=="string"){var r=arguments[0];t.call(this,t.parse(r))}}else if(arguments.length===2){var i=arguments[0],o=arguments[1];this.init(i,o)}},pe={PI:{configurable:!0},TWO_PI:{configurable:!0},PI_2:{configurable:!0},E:{configurable:!0},NaN:{configurable:!0},EPS:{configurable:!0},SPLIT:{configurable:!0},MAX_PRINT_DIGITS:{configurable:!0},TEN:{configurable:!0},ONE:{configurable:!0},SCI_NOT_EXPONENT_CHAR:{configurable:!0},SCI_NOT_ZERO:{configurable:!0}};f.prototype.le=function(t){return(this._hi<t._hi||this._hi===t._hi)&&this._lo<=t._lo};f.prototype.extractSignificantDigits=function(t,e){var n=this.abs(),r=f.magnitude(n._hi),i=f.TEN.pow(r);n=n.divide(i),n.gt(f.TEN)?(n=n.divide(f.TEN),r+=1):n.lt(f.ONE)&&(n=n.multiply(f.TEN),r-=1);for(var o=r+1,s=new be,a=f.MAX_PRINT_DIGITS-1,u=0;u<=a;u++){t&&u===o&&s.append(".");var l=Math.trunc(n._hi);if(l<0)break;var p=!1,g=0;l>9?(p=!0,g="9"):g="0"+l,s.append(g),n=n.subtract(f.valueOf(l)).multiply(f.TEN),p&&n.selfAdd(f.TEN);var d=!0,m=f.magnitude(n._hi);if(m<0&&Math.abs(m)>=a-u&&(d=!1),!d)break}return e[0]=r,s.toString()};f.prototype.sqr=function(){return this.multiply(this)};f.prototype.doubleValue=function(){return this._hi+this._lo};f.prototype.subtract=function(){if(arguments[0]instanceof f){var t=arguments[0];return this.add(t.negate())}else if(typeof arguments[0]=="number"){var e=arguments[0];return this.add(-e)}};f.prototype.equals=function(){if(arguments.length===1){var t=arguments[0];return this._hi===t._hi&&this._lo===t._lo}};f.prototype.isZero=function(){return this._hi===0&&this._lo===0};f.prototype.selfSubtract=function(){if(arguments[0]instanceof f){var t=arguments[0];return this.isNaN()?this:this.selfAdd(-t._hi,-t._lo)}else if(typeof arguments[0]=="number"){var e=arguments[0];return this.isNaN()?this:this.selfAdd(-e,0)}};f.prototype.getSpecialNumberString=function(){return this.isZero()?"0.0":this.isNaN()?"NaN ":null};f.prototype.min=function(t){return this.le(t)?this:t};f.prototype.selfDivide=function(){if(arguments.length===1){if(arguments[0]instanceof f){var t=arguments[0];return this.selfDivide(t._hi,t._lo)}else if(typeof arguments[0]=="number"){var e=arguments[0];return this.selfDivide(e,0)}}else if(arguments.length===2){var n=arguments[0],r=arguments[1],i=null,o=null,s=null,a=null,u=null,l=null,p=null,g=null;return u=this._hi/n,l=f.SPLIT*u,i=l-u,g=f.SPLIT*n,i=l-i,o=u-i,s=g-n,p=u*n,s=g-s,a=n-s,g=i*s-p+i*a+o*s+o*a,l=(this._hi-p-g+this._lo-u*r)/n,g=u+l,this._hi=g,this._lo=u-g+l,this}};f.prototype.dump=function(){return"DD<"+this._hi+", "+this._lo+">"};f.prototype.divide=function(){if(arguments[0]instanceof f){var t=arguments[0],e=null,n=null,r=null,i=null,o=null,s=null,a=null,u=null;o=this._hi/t._hi,s=f.SPLIT*o,e=s-o,u=f.SPLIT*t._hi,e=s-e,n=o-e,r=u-t._hi,a=o*t._hi,r=u-r,i=t._hi-r,u=e*r-a+e*i+n*r+n*i,s=(this._hi-a-u+this._lo-o*t._lo)/t._hi,u=o+s;var l=u,p=o-u+s;return new f(l,p)}else if(typeof arguments[0]=="number"){var g=arguments[0];return b.isNaN(g)?f.createNaN():f.copy(this).selfDivide(g,0)}};f.prototype.ge=function(t){return(this._hi>t._hi||this._hi===t._hi)&&this._lo>=t._lo};f.prototype.pow=function(t){if(t===0)return f.valueOf(1);var e=new f(this),n=f.valueOf(1),r=Math.abs(t);if(r>1)for(;r>0;)r%2===1&&n.selfMultiply(e),r/=2,r>0&&(e=e.sqr());else n=e;return t<0?n.reciprocal():n};f.prototype.ceil=function(){if(this.isNaN())return f.NaN;var t=Math.ceil(this._hi),e=0;return t===this._hi&&(e=Math.ceil(this._lo)),new f(t,e)};f.prototype.compareTo=function(t){var e=t;return this._hi<e._hi?-1:this._hi>e._hi?1:this._lo<e._lo?-1:this._lo>e._lo?1:0};f.prototype.rint=function(){if(this.isNaN())return this;var t=this.add(.5);return t.floor()};f.prototype.setValue=function(){if(arguments[0]instanceof f){var t=arguments[0];return this.init(t),this}else if(typeof arguments[0]=="number"){var e=arguments[0];return this.init(e),this}};f.prototype.max=function(t){return this.ge(t)?this:t};f.prototype.sqrt=function(){if(this.isZero())return f.valueOf(0);if(this.isNegative())return f.NaN;var t=1/Math.sqrt(this._hi),e=this._hi*t,n=f.valueOf(e),r=this.subtract(n.sqr()),i=r._hi*(t*.5);return n.add(i)};f.prototype.selfAdd=function(){if(arguments.length===1){if(arguments[0]instanceof f){var t=arguments[0];return this.selfAdd(t._hi,t._lo)}else if(typeof arguments[0]=="number"){var e=arguments[0],n=null,r=null,i=null,o=null,s=null,a=null;return i=this._hi+e,s=i-this._hi,o=i-s,o=e-s+(this._hi-o),a=o+this._lo,n=i+a,r=a+(i-n),this._hi=n+r,this._lo=r+(n-this._hi),this}}else if(arguments.length===2){var u=arguments[0],l=arguments[1],p=null,g=null,d=null,m=null,I=null,E=null,C=null,M=null;I=this._hi+u,d=this._lo+l,C=I-this._hi,M=d-this._lo,E=I-C,m=d-M,E=u-C+(this._hi-E),m=l-M+(this._lo-m),C=E+d,p=I+C,g=C+(I-p),C=m+g;var A=p+C,It=C+(p-A);return this._hi=A,this._lo=It,this}};f.prototype.selfMultiply=function(){if(arguments.length===1){if(arguments[0]instanceof f){var t=arguments[0];return this.selfMultiply(t._hi,t._lo)}else if(typeof arguments[0]=="number"){var e=arguments[0];return this.selfMultiply(e,0)}}else if(arguments.length===2){var n=arguments[0],r=arguments[1],i=null,o=null,s=null,a=null,u=null,l=null;u=f.SPLIT*this._hi,i=u-this._hi,l=f.SPLIT*n,i=u-i,o=this._hi-i,s=l-n,u=this._hi*n,s=l-s,a=n-s,l=i*s-u+i*a+o*s+o*a+(this._hi*r+this._lo*n);var p=u+l;i=u-p;var g=l+i;return this._hi=p,this._lo=g,this}};f.prototype.selfSqr=function(){return this.selfMultiply(this)};f.prototype.floor=function(){if(this.isNaN())return f.NaN;var t=Math.floor(this._hi),e=0;return t===this._hi&&(e=Math.floor(this._lo)),new f(t,e)};f.prototype.negate=function(){return this.isNaN()?this:new f(-this._hi,-this._lo)};f.prototype.clone=function(){};f.prototype.multiply=function(){if(arguments[0]instanceof f){var t=arguments[0];return t.isNaN()?f.createNaN():f.copy(this).selfMultiply(t)}else if(typeof arguments[0]=="number"){var e=arguments[0];return b.isNaN(e)?f.createNaN():f.copy(this).selfMultiply(e,0)}};f.prototype.isNaN=function(){return b.isNaN(this._hi)};f.prototype.intValue=function(){return Math.trunc(this._hi)};f.prototype.toString=function(){var t=f.magnitude(this._hi);return t>=-3&&t<=20?this.toStandardNotation():this.toSciNotation()};f.prototype.toStandardNotation=function(){var t=this.getSpecialNumberString();if(t!==null)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!0,e),r=e[0]+1,i=n;if(n.charAt(0)===".")i="0"+n;else if(r<0)i="0."+f.stringOfChar("0",-r)+n;else if(n.indexOf(".")===-1){var o=r-n.length,s=f.stringOfChar("0",o);i=n+s+".0"}return this.isNegative()?"-"+i:i};f.prototype.reciprocal=function(){var t=null,e=null,n=null,r=null,i=null,o=null,s=null,a=null;i=1/this._hi,o=f.SPLIT*i,t=o-i,a=f.SPLIT*this._hi,t=o-t,e=i-t,n=a-this._hi,s=i*this._hi,n=a-n,r=this._hi-n,a=t*n-s+t*r+e*n+e*r,o=(1-s-a-i*this._lo)/this._hi;var u=i+o,l=i-u+o;return new f(u,l)};f.prototype.toSciNotation=function(){if(this.isZero())return f.SCI_NOT_ZERO;var t=this.getSpecialNumberString();if(t!==null)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!1,e),r=f.SCI_NOT_EXPONENT_CHAR+e[0];if(n.charAt(0)==="0")throw new Error("Found leading zero: "+n);var i="";n.length>1&&(i=n.substring(1));var o=n.charAt(0)+"."+i;return this.isNegative()?"-"+o+r:o+r};f.prototype.abs=function(){return this.isNaN()?f.NaN:this.isNegative()?this.negate():new f(this)};f.prototype.isPositive=function(){return(this._hi>0||this._hi===0)&&this._lo>0};f.prototype.lt=function(t){return(this._hi<t._hi||this._hi===t._hi)&&this._lo<t._lo};f.prototype.add=function(){if(arguments[0]instanceof f){var t=arguments[0];return f.copy(this).selfAdd(t)}else if(typeof arguments[0]=="number"){var e=arguments[0];return f.copy(this).selfAdd(e)}};f.prototype.init=function(){if(arguments.length===1){if(typeof arguments[0]=="number"){var t=arguments[0];this._hi=t,this._lo=0}else if(arguments[0]instanceof f){var e=arguments[0];this._hi=e._hi,this._lo=e._lo}}else if(arguments.length===2){var n=arguments[0],r=arguments[1];this._hi=n,this._lo=r}};f.prototype.gt=function(t){return(this._hi>t._hi||this._hi===t._hi)&&this._lo>t._lo};f.prototype.isNegative=function(){return(this._hi<0||this._hi===0)&&this._lo<0};f.prototype.trunc=function(){return this.isNaN()?f.NaN:this.isPositive()?this.floor():this.ceil()};f.prototype.signum=function(){return this._hi>0?1:this._hi<0?-1:this._lo>0?1:this._lo<0?-1:0};f.prototype.interfaces_=function(){return[te,$t,qr]};f.prototype.getClass=function(){return f};f.sqr=function(t){return f.valueOf(t).selfMultiply(t)};f.valueOf=function(){if(typeof arguments[0]=="string"){var t=arguments[0];return f.parse(t)}else if(typeof arguments[0]=="number"){var e=arguments[0];return new f(e)}};f.sqrt=function(t){return f.valueOf(t).sqrt()};f.parse=function(t){for(var e=0,n=t.length;gr.isWhitespace(t.charAt(e));)e++;var r=!1;if(e<n){var i=t.charAt(e);(i==="-"||i==="+")&&(e++,i==="-"&&(r=!0))}for(var o=new f,s=0,a=0,u=0;!(e>=n);){var l=t.charAt(e);if(e++,gr.isDigit(l)){var p=l-"0";o.selfMultiply(f.TEN),o.selfAdd(p),s++;continue}if(l==="."){a=s;continue}if(l==="e"||l==="E"){var g=t.substring(e);try{u=me.parseInt(g)}catch(C){throw C instanceof Error?new Error("Invalid exponent "+g+" in string "+t):C}finally{}break}throw new Error("Unexpected character '"+l+"' at position "+e+" in string "+t)}var d=o,m=s-a-u;if(m===0)d=o;else if(m>0){var I=f.TEN.pow(m);d=o.divide(I)}else if(m<0){var E=f.TEN.pow(-m);d=o.multiply(E)}return r?d.negate():d};f.createNaN=function(){return new f(b.NaN,b.NaN)};f.copy=function(t){return new f(t)};f.magnitude=function(t){var e=Math.abs(t),n=Math.log(e)/Math.log(10),r=Math.trunc(Math.floor(n)),i=Math.pow(10,r);return i*10<=e&&(r+=1),r};f.stringOfChar=function(t,e){for(var n=new be,r=0;r<e;r++)n.append(t);return n.toString()};pe.PI.get=function(){return new f(3.141592653589793,12246467991473532e-32)};pe.TWO_PI.get=function(){return new f(6.283185307179586,24492935982947064e-32)};pe.PI_2.get=function(){return new f(1.5707963267948966,6123233995736766e-32)};pe.E.get=function(){return new f(2.718281828459045,14456468917292502e-32)};pe.NaN.get=function(){return new f(b.NaN,b.NaN)};pe.EPS.get=function(){return 123259516440783e-46};pe.SPLIT.get=function(){return 134217729};pe.MAX_PRINT_DIGITS.get=function(){return 32};pe.TEN.get=function(){return f.valueOf(10)};pe.ONE.get=function(){return f.valueOf(1)};pe.SCI_NOT_EXPONENT_CHAR.get=function(){return"E"};pe.SCI_NOT_ZERO.get=function(){return"0.0E0"};Object.defineProperties(f,pe);var Tt=function(){},Ci={DP_SAFE_EPSILON:{configurable:!0}};Tt.prototype.interfaces_=function(){return[]};Tt.prototype.getClass=function(){return Tt};Tt.orientationIndex=function(t,e,n){var r=Tt.orientationIndexFilter(t,e,n);if(r<=1)return r;var i=f.valueOf(e.x).selfAdd(-t.x),o=f.valueOf(e.y).selfAdd(-t.y),s=f.valueOf(n.x).selfAdd(-e.x),a=f.valueOf(n.y).selfAdd(-e.y);return i.selfMultiply(a).selfSubtract(o.selfMultiply(s)).signum()};Tt.signOfDet2x2=function(t,e,n,r){var i=t.multiply(r).selfSubtract(e.multiply(n));return i.signum()};Tt.intersection=function(t,e,n,r){var i=f.valueOf(r.y).selfSubtract(n.y).selfMultiply(f.valueOf(e.x).selfSubtract(t.x)),o=f.valueOf(r.x).selfSubtract(n.x).selfMultiply(f.valueOf(e.y).selfSubtract(t.y)),s=i.subtract(o),a=f.valueOf(r.x).selfSubtract(n.x).selfMultiply(f.valueOf(t.y).selfSubtract(n.y)),u=f.valueOf(r.y).selfSubtract(n.y).selfMultiply(f.valueOf(t.x).selfSubtract(n.x)),l=a.subtract(u),p=l.selfDivide(s).doubleValue(),g=f.valueOf(t.x).selfAdd(f.valueOf(e.x).selfSubtract(t.x).selfMultiply(p)).doubleValue(),d=f.valueOf(e.x).selfSubtract(t.x).selfMultiply(f.valueOf(t.y).selfSubtract(n.y)),m=f.valueOf(e.y).selfSubtract(t.y).selfMultiply(f.valueOf(t.x).selfSubtract(n.x)),I=d.subtract(m),E=I.selfDivide(s).doubleValue(),C=f.valueOf(n.y).selfAdd(f.valueOf(r.y).selfSubtract(n.y).selfMultiply(E)).doubleValue();return new c(g,C)};Tt.orientationIndexFilter=function(t,e,n){var r=null,i=(t.x-n.x)*(e.y-n.y),o=(t.y-n.y)*(e.x-n.x),s=i-o;if(i>0){if(o<=0)return Tt.signum(s);r=i+o}else if(i<0){if(o>=0)return Tt.signum(s);r=-i-o}else return Tt.signum(s);var a=Tt.DP_SAFE_EPSILON*r;return s>=a||-s>=a?Tt.signum(s):2};Tt.signum=function(t){return t>0?1:t<0?-1:0};Ci.DP_SAFE_EPSILON.get=function(){return 1e-15};Object.defineProperties(Tt,Ci);var D=function(){},wr={X:{configurable:!0},Y:{configurable:!0},Z:{configurable:!0},M:{configurable:!0}};wr.X.get=function(){return 0};wr.Y.get=function(){return 1};wr.Z.get=function(){return 2};wr.M.get=function(){return 3};D.prototype.setOrdinate=function(t,e,n){};D.prototype.size=function(){};D.prototype.getOrdinate=function(t,e){};D.prototype.getCoordinate=function(){};D.prototype.getCoordinateCopy=function(t){};D.prototype.getDimension=function(){};D.prototype.getX=function(t){};D.prototype.clone=function(){};D.prototype.expandEnvelope=function(t){};D.prototype.copy=function(){};D.prototype.getY=function(t){};D.prototype.toCoordinateArray=function(){};D.prototype.interfaces_=function(){return[qr]};D.prototype.getClass=function(){return D};Object.defineProperties(D,wr);var Si=function(){},ur=function(t){function e(){t.call(this,"Projective point not representable on the Cartesian plane.")}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Si),ht=function(){};ht.arraycopy=function(t,e,n,r,i){for(var o=0,s=e;s<e+i;s++)n[r+o]=t[s],o++};ht.getProperty=function(t){return{"line.separator":`
2
+ `}[t]};var ee=function t(){if(this.x=null,this.y=null,this.w=null,arguments.length===0)this.x=0,this.y=0,this.w=1;else if(arguments.length===1){var e=arguments[0];this.x=e.x,this.y=e.y,this.w=1}else if(arguments.length===2){if(typeof arguments[0]=="number"&&typeof arguments[1]=="number"){var n=arguments[0],r=arguments[1];this.x=n,this.y=r,this.w=1}else if(arguments[0]instanceof t&&arguments[1]instanceof t){var i=arguments[0],o=arguments[1];this.x=i.y*o.w-o.y*i.w,this.y=o.x*i.w-i.x*o.w,this.w=i.x*o.y-o.x*i.y}else if(arguments[0]instanceof c&&arguments[1]instanceof c){var s=arguments[0],a=arguments[1];this.x=s.y-a.y,this.y=a.x-s.x,this.w=s.x*a.y-a.x*s.y}}else if(arguments.length===3){var u=arguments[0],l=arguments[1],p=arguments[2];this.x=u,this.y=l,this.w=p}else if(arguments.length===4){var g=arguments[0],d=arguments[1],m=arguments[2],I=arguments[3],E=g.y-d.y,C=d.x-g.x,M=g.x*d.y-d.x*g.y,A=m.y-I.y,It=I.x-m.x,Mt=m.x*I.y-I.x*m.y;this.x=C*Mt-It*M,this.y=A*M-E*Mt,this.w=E*It-A*C}};ee.prototype.getY=function(){var t=this.y/this.w;if(b.isNaN(t)||b.isInfinite(t))throw new ur;return t};ee.prototype.getX=function(){var t=this.x/this.w;if(b.isNaN(t)||b.isInfinite(t))throw new ur;return t};ee.prototype.getCoordinate=function(){var t=new c;return t.x=this.getX(),t.y=this.getY(),t};ee.prototype.interfaces_=function(){return[]};ee.prototype.getClass=function(){return ee};ee.intersection=function(t,e,n,r){var i=t.y-e.y,o=e.x-t.x,s=t.x*e.y-e.x*t.y,a=n.y-r.y,u=r.x-n.x,l=n.x*r.y-r.x*n.y,p=o*l-u*s,g=a*s-i*l,d=i*u-a*o,m=p/d,I=g/d;if(b.isNaN(m)||b.isInfinite(m)||b.isNaN(I)||b.isInfinite(I))throw new ur;return new c(m,I)};var N=function t(){if(this._minx=null,this._maxx=null,this._miny=null,this._maxy=null,arguments.length===0)this.init();else if(arguments.length===1){if(arguments[0]instanceof c){var e=arguments[0];this.init(e.x,e.x,e.y,e.y)}else if(arguments[0]instanceof t){var n=arguments[0];this.init(n)}}else if(arguments.length===2){var r=arguments[0],i=arguments[1];this.init(r.x,i.x,r.y,i.y)}else if(arguments.length===4){var o=arguments[0],s=arguments[1],a=arguments[2],u=arguments[3];this.init(o,s,a,u)}},Li={serialVersionUID:{configurable:!0}};N.prototype.getArea=function(){return this.getWidth()*this.getHeight()};N.prototype.equals=function(t){if(!(t instanceof N))return!1;var e=t;return this.isNull()?e.isNull():this._maxx===e.getMaxX()&&this._maxy===e.getMaxY()&&this._minx===e.getMinX()&&this._miny===e.getMinY()};N.prototype.intersection=function(t){if(this.isNull()||t.isNull()||!this.intersects(t))return new N;var e=this._minx>t._minx?this._minx:t._minx,n=this._miny>t._miny?this._miny:t._miny,r=this._maxx<t._maxx?this._maxx:t._maxx,i=this._maxy<t._maxy?this._maxy:t._maxy;return new N(e,r,n,i)};N.prototype.isNull=function(){return this._maxx<this._minx};N.prototype.getMaxX=function(){return this._maxx};N.prototype.covers=function(){if(arguments.length===1){if(arguments[0]instanceof c){var t=arguments[0];return this.covers(t.x,t.y)}else if(arguments[0]instanceof N){var e=arguments[0];return this.isNull()||e.isNull()?!1:e.getMinX()>=this._minx&&e.getMaxX()<=this._maxx&&e.getMinY()>=this._miny&&e.getMaxY()<=this._maxy}}else if(arguments.length===2){var n=arguments[0],r=arguments[1];return this.isNull()?!1:n>=this._minx&&n<=this._maxx&&r>=this._miny&&r<=this._maxy}};N.prototype.intersects=function(){if(arguments.length===1){if(arguments[0]instanceof N){var t=arguments[0];return this.isNull()||t.isNull()?!1:!(t._minx>this._maxx||t._maxx<this._minx||t._miny>this._maxy||t._maxy<this._miny)}else if(arguments[0]instanceof c){var e=arguments[0];return this.intersects(e.x,e.y)}}else if(arguments.length===2){var n=arguments[0],r=arguments[1];return this.isNull()?!1:!(n>this._maxx||n<this._minx||r>this._maxy||r<this._miny)}};N.prototype.getMinY=function(){return this._miny};N.prototype.getMinX=function(){return this._minx};N.prototype.expandToInclude=function(){if(arguments.length===1){if(arguments[0]instanceof c){var t=arguments[0];this.expandToInclude(t.x,t.y)}else if(arguments[0]instanceof N){var e=arguments[0];if(e.isNull())return null;this.isNull()?(this._minx=e.getMinX(),this._maxx=e.getMaxX(),this._miny=e.getMinY(),this._maxy=e.getMaxY()):(e._minx<this._minx&&(this._minx=e._minx),e._maxx>this._maxx&&(this._maxx=e._maxx),e._miny<this._miny&&(this._miny=e._miny),e._maxy>this._maxy&&(this._maxy=e._maxy))}}else if(arguments.length===2){var n=arguments[0],r=arguments[1];this.isNull()?(this._minx=n,this._maxx=n,this._miny=r,this._maxy=r):(n<this._minx&&(this._minx=n),n>this._maxx&&(this._maxx=n),r<this._miny&&(this._miny=r),r>this._maxy&&(this._maxy=r))}};N.prototype.minExtent=function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t<e?t:e};N.prototype.getWidth=function(){return this.isNull()?0:this._maxx-this._minx};N.prototype.compareTo=function(t){var e=t;return this.isNull()?e.isNull()?0:-1:e.isNull()?1:this._minx<e._minx?-1:this._minx>e._minx?1:this._miny<e._miny?-1:this._miny>e._miny?1:this._maxx<e._maxx?-1:this._maxx>e._maxx?1:this._maxy<e._maxy?-1:this._maxy>e._maxy?1:0};N.prototype.translate=function(t,e){if(this.isNull())return null;this.init(this.getMinX()+t,this.getMaxX()+t,this.getMinY()+e,this.getMaxY()+e)};N.prototype.toString=function(){return"Env["+this._minx+" : "+this._maxx+", "+this._miny+" : "+this._maxy+"]"};N.prototype.setToNull=function(){this._minx=0,this._maxx=-1,this._miny=0,this._maxy=-1};N.prototype.getHeight=function(){return this.isNull()?0:this._maxy-this._miny};N.prototype.maxExtent=function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t>e?t:e};N.prototype.expandBy=function(){if(arguments.length===1){var t=arguments[0];this.expandBy(t,t)}else if(arguments.length===2){var e=arguments[0],n=arguments[1];if(this.isNull())return null;this._minx-=e,this._maxx+=e,this._miny-=n,this._maxy+=n,(this._minx>this._maxx||this._miny>this._maxy)&&this.setToNull()}};N.prototype.contains=function(){if(arguments.length===1){if(arguments[0]instanceof N){var t=arguments[0];return this.covers(t)}else if(arguments[0]instanceof c){var e=arguments[0];return this.covers(e)}}else if(arguments.length===2){var n=arguments[0],r=arguments[1];return this.covers(n,r)}};N.prototype.centre=function(){return this.isNull()?null:new c((this.getMinX()+this.getMaxX())/2,(this.getMinY()+this.getMaxY())/2)};N.prototype.init=function(){if(arguments.length===0)this.setToNull();else if(arguments.length===1){if(arguments[0]instanceof c){var t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof N){var e=arguments[0];this._minx=e._minx,this._maxx=e._maxx,this._miny=e._miny,this._maxy=e._maxy}}else if(arguments.length===2){var n=arguments[0],r=arguments[1];this.init(n.x,r.x,n.y,r.y)}else if(arguments.length===4){var i=arguments[0],o=arguments[1],s=arguments[2],a=arguments[3];i<o?(this._minx=i,this._maxx=o):(this._minx=o,this._maxx=i),s<a?(this._miny=s,this._maxy=a):(this._miny=a,this._maxy=s)}};N.prototype.getMaxY=function(){return this._maxy};N.prototype.distance=function(t){if(this.intersects(t))return 0;var e=0;this._maxx<t._minx?e=t._minx-this._maxx:this._minx>t._maxx&&(e=this._minx-t._maxx);var n=0;return this._maxy<t._miny?n=t._miny-this._maxy:this._miny>t._maxy&&(n=this._miny-t._maxy),e===0?n:n===0?e:Math.sqrt(e*e+n*n)};N.prototype.hashCode=function(){var t=17;return t=37*t+c.hashCode(this._minx),t=37*t+c.hashCode(this._maxx),t=37*t+c.hashCode(this._miny),t=37*t+c.hashCode(this._maxy),t};N.prototype.interfaces_=function(){return[$t,te]};N.prototype.getClass=function(){return N};N.intersects=function(){if(arguments.length===3){var t=arguments[0],e=arguments[1],n=arguments[2];return n.x>=(t.x<e.x?t.x:e.x)&&n.x<=(t.x>e.x?t.x:e.x)&&n.y>=(t.y<e.y?t.y:e.y)&&n.y<=(t.y>e.y?t.y:e.y)}else if(arguments.length===4){var r=arguments[0],i=arguments[1],o=arguments[2],s=arguments[3],a=Math.min(o.x,s.x),u=Math.max(o.x,s.x),l=Math.min(r.x,i.x),p=Math.max(r.x,i.x);return!(l>u||p<a||(a=Math.min(o.y,s.y),u=Math.max(o.y,s.y),l=Math.min(r.y,i.y),p=Math.max(r.y,i.y),l>u)||p<a)}};Li.serialVersionUID.get=function(){return 5873921885273102e3};Object.defineProperties(N,Li);var he={typeStr:/^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,emptyTypeStr:/^\s*(\w+)\s*EMPTY\s*$/,spaces:/\s+/,parenComma:/\)\s*,\s*\(/,doubleParenComma:/\)\s*\)\s*,\s*\(\s*\(/,trimParens:/^\s*\(?(.*?)\)?\s*$/},Br=function(t){this.geometryFactory=t||new T};Br.prototype.read=function(t){var e,n,r;t=t.replace(/[\n\r]/g," ");var i=he.typeStr.exec(t);if(t.search("EMPTY")!==-1&&(i=he.emptyTypeStr.exec(t),i[2]=void 0),i&&(n=i[1].toLowerCase(),r=i[2],Xn[n]&&(e=Xn[n].apply(this,[r]))),e===void 0)throw new Error("Could not parse WKT "+t);return e};Br.prototype.write=function(t){return this.extractGeometry(t)};Br.prototype.extractGeometry=function(t){var e=t.getGeometryType().toLowerCase();if(!Xe[e])return null;var n=e.toUpperCase(),r;return t.isEmpty()?r=n+" EMPTY":r=n+"("+Xe[e].apply(this,[t])+")",r};var Xe={coordinate:function(t){return t.x+" "+t.y},point:function(t){return Xe.coordinate.call(this,t._coordinates._coordinates[0])},multipoint:function(t){for(var e=this,n=[],r=0,i=t._geometries.length;r<i;++r)n.push("("+Xe.point.apply(e,[t._geometries[r]])+")");return n.join(",")},linestring:function(t){for(var e=this,n=[],r=0,i=t._points._coordinates.length;r<i;++r)n.push(Xe.coordinate.apply(e,[t._points._coordinates[r]]));return n.join(",")},linearring:function(t){for(var e=this,n=[],r=0,i=t._points._coordinates.length;r<i;++r)n.push(Xe.coordinate.apply(e,[t._points._coordinates[r]]));return n.join(",")},multilinestring:function(t){for(var e=this,n=[],r=0,i=t._geometries.length;r<i;++r)n.push("("+Xe.linestring.apply(e,[t._geometries[r]])+")");return n.join(",")},polygon:function(t){var e=this,n=[];n.push("("+Xe.linestring.apply(this,[t._shell])+")");for(var r=0,i=t._holes.length;r<i;++r)n.push("("+Xe.linestring.apply(e,[t._holes[r]])+")");return n.join(",")},multipolygon:function(t){for(var e=this,n=[],r=0,i=t._geometries.length;r<i;++r)n.push("("+Xe.polygon.apply(e,[t._geometries[r]])+")");return n.join(",")},geometrycollection:function(t){for(var e=this,n=[],r=0,i=t._geometries.length;r<i;++r)n.push(e.extractGeometry(t._geometries[r]));return n.join(",")}},Xn={point:function(t){if(t===void 0)return this.geometryFactory.createPoint();var e=t.trim().split(he.spaces);return this.geometryFactory.createPoint(new c(Number.parseFloat(e[0]),Number.parseFloat(e[1])))},multipoint:function(t){var e=this;if(t===void 0)return this.geometryFactory.createMultiPoint();for(var n,r=t.trim().split(","),i=[],o=0,s=r.length;o<s;++o)n=r[o].replace(he.trimParens,"$1"),i.push(Xn.point.apply(e,[n]));return this.geometryFactory.createMultiPoint(i)},linestring:function(t){if(t===void 0)return this.geometryFactory.createLineString();for(var e=t.trim().split(","),n=[],r,i=0,o=e.length;i<o;++i)r=e[i].trim().split(he.spaces),n.push(new c(Number.parseFloat(r[0]),Number.parseFloat(r[1])));return this.geometryFactory.createLineString(n)},linearring:function(t){if(t===void 0)return this.geometryFactory.createLinearRing();for(var e=t.trim().split(","),n=[],r,i=0,o=e.length;i<o;++i)r=e[i].trim().split(he.spaces),n.push(new c(Number.parseFloat(r[0]),Number.parseFloat(r[1])));return this.geometryFactory.createLinearRing(n)},multilinestring:function(t){var e=this;if(t===void 0)return this.geometryFactory.createMultiLineString();for(var n,r=t.trim().split(he.parenComma),i=[],o=0,s=r.length;o<s;++o)n=r[o].replace(he.trimParens,"$1"),i.push(Xn.linestring.apply(e,[n]));return this.geometryFactory.createMultiLineString(i)},polygon:function(t){var e=this;if(t===void 0)return this.geometryFactory.createPolygon();for(var n,r,i,o=t.trim().split(he.parenComma),s,a=[],u=0,l=o.length;u<l;++u)n=o[u].replace(he.trimParens,"$1"),r=Xn.linestring.apply(e,[n]),i=e.geometryFactory.createLinearRing(r._points),u===0?s=i:a.push(i);return this.geometryFactory.createPolygon(s,a)},multipolygon:function(t){var e=this;if(t===void 0)return this.geometryFactory.createMultiPolygon();for(var n,r=t.trim().split(he.doubleParenComma),i=[],o=0,s=r.length;o<s;++o)n=r[o].replace(he.trimParens,"$1"),i.push(Xn.polygon.apply(e,[n]));return this.geometryFactory.createMultiPolygon(i)},geometrycollection:function(t){var e=this;if(t===void 0)return this.geometryFactory.createGeometryCollection();t=t.replace(/,\s*([A-Za-z])/g,"|$1");for(var n=t.trim().split("|"),r=[],i=0,o=n.length;i<o;++i)r.push(e.read(n[i]));return this.geometryFactory.createGeometryCollection(r)}},re=function(t){this.parser=new Br(t)};re.prototype.write=function(t){return this.parser.write(t)};re.toLineString=function(t,e){if(arguments.length!==2)throw new Error("Not implemented");return"LINESTRING ( "+t.x+" "+t.y+", "+e.x+" "+e.y+" )"};var He=function(t){function e(n){t.call(this,n),this.name="RuntimeException",this.message=n,this.stack=new t().stack}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error),Mr=function(t){function e(){if(t.call(this),arguments.length===0)t.call(this);else if(arguments.length===1){var n=arguments[0];t.call(this,n)}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(He),O=function(){};O.prototype.interfaces_=function(){return[]};O.prototype.getClass=function(){return O};O.shouldNeverReachHere=function(){if(arguments.length===0)O.shouldNeverReachHere(null);else if(arguments.length===1){var t=arguments[0];throw new Mr("Should never reach here"+(t!==null?": "+t:""))}};O.isTrue=function(){var t,e;if(arguments.length===1)t=arguments[0],O.isTrue(t,null);else if(arguments.length===2&&(t=arguments[0],e=arguments[1],!t))throw e===null?new Mr:new Mr(e)};O.equals=function(){var t,e,n;if(arguments.length===2)t=arguments[0],e=arguments[1],O.equals(t,e,null);else if(arguments.length===3&&(t=arguments[0],e=arguments[1],n=arguments[2],!e.equals(t)))throw new Mr("Expected "+t+" but encountered "+e+(n!==null?": "+n:""))};var j=function(){this._result=null,this._inputLines=Array(2).fill().map(function(){return Array(2)}),this._intPt=new Array(2).fill(null),this._intLineIndex=null,this._isProper=null,this._pa=null,this._pb=null,this._precisionModel=null,this._intPt[0]=new c,this._intPt[1]=new c,this._pa=this._intPt[0],this._pb=this._intPt[1],this._result=0},Bn={DONT_INTERSECT:{configurable:!0},DO_INTERSECT:{configurable:!0},COLLINEAR:{configurable:!0},NO_INTERSECTION:{configurable:!0},POINT_INTERSECTION:{configurable:!0},COLLINEAR_INTERSECTION:{configurable:!0}};j.prototype.getIndexAlongSegment=function(t,e){return this.computeIntLineIndex(),this._intLineIndex[t][e]};j.prototype.getTopologySummary=function(){var t=new be;return this.isEndPoint()&&t.append(" endpoint"),this._isProper&&t.append(" proper"),this.isCollinear()&&t.append(" collinear"),t.toString()};j.prototype.computeIntersection=function(t,e,n,r){this._inputLines[0][0]=t,this._inputLines[0][1]=e,this._inputLines[1][0]=n,this._inputLines[1][1]=r,this._result=this.computeIntersect(t,e,n,r)};j.prototype.getIntersectionNum=function(){return this._result};j.prototype.computeIntLineIndex=function(){if(arguments.length===0)this._intLineIndex===null&&(this._intLineIndex=Array(2).fill().map(function(){return Array(2)}),this.computeIntLineIndex(0),this.computeIntLineIndex(1));else if(arguments.length===1){var t=arguments[0],e=this.getEdgeDistance(t,0),n=this.getEdgeDistance(t,1);e>n?(this._intLineIndex[t][0]=0,this._intLineIndex[t][1]=1):(this._intLineIndex[t][0]=1,this._intLineIndex[t][1]=0)}};j.prototype.isProper=function(){return this.hasIntersection()&&this._isProper};j.prototype.setPrecisionModel=function(t){this._precisionModel=t};j.prototype.isInteriorIntersection=function(){var t=this;if(arguments.length===0)return!!(this.isInteriorIntersection(0)||this.isInteriorIntersection(1));if(arguments.length===1){for(var e=arguments[0],n=0;n<this._result;n++)if(!(t._intPt[n].equals2D(t._inputLines[e][0])||t._intPt[n].equals2D(t._inputLines[e][1])))return!0;return!1}};j.prototype.getIntersection=function(t){return this._intPt[t]};j.prototype.isEndPoint=function(){return this.hasIntersection()&&!this._isProper};j.prototype.hasIntersection=function(){return this._result!==j.NO_INTERSECTION};j.prototype.getEdgeDistance=function(t,e){var n=j.computeEdgeDistance(this._intPt[e],this._inputLines[t][0],this._inputLines[t][1]);return n};j.prototype.isCollinear=function(){return this._result===j.COLLINEAR_INTERSECTION};j.prototype.toString=function(){return re.toLineString(this._inputLines[0][0],this._inputLines[0][1])+" - "+re.toLineString(this._inputLines[1][0],this._inputLines[1][1])+this.getTopologySummary()};j.prototype.getEndpoint=function(t,e){return this._inputLines[t][e]};j.prototype.isIntersection=function(t){for(var e=this,n=0;n<this._result;n++)if(e._intPt[n].equals2D(t))return!0;return!1};j.prototype.getIntersectionAlongSegment=function(t,e){return this.computeIntLineIndex(),this._intPt[this._intLineIndex[t][e]]};j.prototype.interfaces_=function(){return[]};j.prototype.getClass=function(){return j};j.computeEdgeDistance=function(t,e,n){var r=Math.abs(n.x-e.x),i=Math.abs(n.y-e.y),o=-1;if(t.equals(e))o=0;else if(t.equals(n))r>i?o=r:o=i;else{var s=Math.abs(t.x-e.x),a=Math.abs(t.y-e.y);r>i?o=s:o=a,o===0&&!t.equals(e)&&(o=Math.max(s,a))}return O.isTrue(!(o===0&&!t.equals(e)),"Bad distance calculation"),o};j.nonRobustComputeEdgeDistance=function(t,e,n){var r=t.x-e.x,i=t.y-e.y,o=Math.sqrt(r*r+i*i);return O.isTrue(!(o===0&&!t.equals(e)),"Invalid distance calculation"),o};Bn.DONT_INTERSECT.get=function(){return 0};Bn.DO_INTERSECT.get=function(){return 1};Bn.COLLINEAR.get=function(){return 2};Bn.NO_INTERSECTION.get=function(){return 0};Bn.POINT_INTERSECTION.get=function(){return 1};Bn.COLLINEAR_INTERSECTION.get=function(){return 2};Object.defineProperties(j,Bn);var Sn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.isInSegmentEnvelopes=function(n){var r=new N(this._inputLines[0][0],this._inputLines[0][1]),i=new N(this._inputLines[1][0],this._inputLines[1][1]);return r.contains(n)&&i.contains(n)},e.prototype.computeIntersection=function(){if(arguments.length===3){var n=arguments[0],r=arguments[1],i=arguments[2];if(this._isProper=!1,N.intersects(r,i,n)&&v.orientationIndex(r,i,n)===0&&v.orientationIndex(i,r,n)===0)return this._isProper=!0,(n.equals(r)||n.equals(i))&&(this._isProper=!1),this._result=t.POINT_INTERSECTION,null;this._result=t.NO_INTERSECTION}else return t.prototype.computeIntersection.apply(this,arguments)},e.prototype.normalizeToMinimum=function(n,r,i,o,s){s.x=this.smallestInAbsValue(n.x,r.x,i.x,o.x),s.y=this.smallestInAbsValue(n.y,r.y,i.y,o.y),n.x-=s.x,n.y-=s.y,r.x-=s.x,r.y-=s.y,i.x-=s.x,i.y-=s.y,o.x-=s.x,o.y-=s.y},e.prototype.safeHCoordinateIntersection=function(n,r,i,o){var s=null;try{s=ee.intersection(n,r,i,o)}catch(a){if(a instanceof ur)s=e.nearestEndpoint(n,r,i,o);else throw a}finally{}return s},e.prototype.intersection=function(n,r,i,o){var s=this.intersectionWithNormalization(n,r,i,o);return this.isInSegmentEnvelopes(s)||(s=new c(e.nearestEndpoint(n,r,i,o))),this._precisionModel!==null&&this._precisionModel.makePrecise(s),s},e.prototype.smallestInAbsValue=function(n,r,i,o){var s=n,a=Math.abs(s);return Math.abs(r)<a&&(s=r,a=Math.abs(r)),Math.abs(i)<a&&(s=i,a=Math.abs(i)),Math.abs(o)<a&&(s=o),s},e.prototype.checkDD=function(n,r,i,o,s){var a=Tt.intersection(n,r,i,o),u=this.isInSegmentEnvelopes(a);ht.out.println("DD in env = "+u+" --------------------- "+a),s.distance(a)>1e-4&&ht.out.println("Distance = "+s.distance(a))},e.prototype.intersectionWithNormalization=function(n,r,i,o){var s=new c(n),a=new c(r),u=new c(i),l=new c(o),p=new c;this.normalizeToEnvCentre(s,a,u,l,p);var g=this.safeHCoordinateIntersection(s,a,u,l);return g.x+=p.x,g.y+=p.y,g},e.prototype.computeCollinearIntersection=function(n,r,i,o){var s=N.intersects(n,r,i),a=N.intersects(n,r,o),u=N.intersects(i,o,n),l=N.intersects(i,o,r);return s&&a?(this._intPt[0]=i,this._intPt[1]=o,t.COLLINEAR_INTERSECTION):u&&l?(this._intPt[0]=n,this._intPt[1]=r,t.COLLINEAR_INTERSECTION):s&&u?(this._intPt[0]=i,this._intPt[1]=n,i.equals(n)&&!a&&!l?t.POINT_INTERSECTION:t.COLLINEAR_INTERSECTION):s&&l?(this._intPt[0]=i,this._intPt[1]=r,i.equals(r)&&!a&&!u?t.POINT_INTERSECTION:t.COLLINEAR_INTERSECTION):a&&u?(this._intPt[0]=o,this._intPt[1]=n,o.equals(n)&&!s&&!l?t.POINT_INTERSECTION:t.COLLINEAR_INTERSECTION):a&&l?(this._intPt[0]=o,this._intPt[1]=r,o.equals(r)&&!s&&!u?t.POINT_INTERSECTION:t.COLLINEAR_INTERSECTION):t.NO_INTERSECTION},e.prototype.normalizeToEnvCentre=function(n,r,i,o,s){var a=n.x<r.x?n.x:r.x,u=n.y<r.y?n.y:r.y,l=n.x>r.x?n.x:r.x,p=n.y>r.y?n.y:r.y,g=i.x<o.x?i.x:o.x,d=i.y<o.y?i.y:o.y,m=i.x>o.x?i.x:o.x,I=i.y>o.y?i.y:o.y,E=a>g?a:g,C=l<m?l:m,M=u>d?u:d,A=p<I?p:I,It=(E+C)/2,Mt=(M+A)/2;s.x=It,s.y=Mt,n.x-=s.x,n.y-=s.y,r.x-=s.x,r.y-=s.y,i.x-=s.x,i.y-=s.y,o.x-=s.x,o.y-=s.y},e.prototype.computeIntersect=function(n,r,i,o){if(this._isProper=!1,!N.intersects(n,r,i,o))return t.NO_INTERSECTION;var s=v.orientationIndex(n,r,i),a=v.orientationIndex(n,r,o);if(s>0&&a>0||s<0&&a<0)return t.NO_INTERSECTION;var u=v.orientationIndex(i,o,n),l=v.orientationIndex(i,o,r);if(u>0&&l>0||u<0&&l<0)return t.NO_INTERSECTION;var p=s===0&&a===0&&u===0&&l===0;return p?this.computeCollinearIntersection(n,r,i,o):(s===0||a===0||u===0||l===0?(this._isProper=!1,n.equals2D(i)||n.equals2D(o)?this._intPt[0]=n:r.equals2D(i)||r.equals2D(o)?this._intPt[0]=r:s===0?this._intPt[0]=new c(i):a===0?this._intPt[0]=new c(o):u===0?this._intPt[0]=new c(n):l===0&&(this._intPt[0]=new c(r))):(this._isProper=!0,this._intPt[0]=this.intersection(n,r,i,o)),t.POINT_INTERSECTION)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.nearestEndpoint=function(n,r,i,o){var s=n,a=v.distancePointLine(n,i,o),u=v.distancePointLine(r,i,o);return u<a&&(a=u,s=r),u=v.distancePointLine(i,n,r),u<a&&(a=u,s=i),u=v.distancePointLine(o,n,r),u<a&&(a=u,s=o),s},e}(j),bn=function(){};bn.prototype.interfaces_=function(){return[]};bn.prototype.getClass=function(){return bn};bn.orientationIndex=function(t,e,n){var r=e.x-t.x,i=e.y-t.y,o=n.x-e.x,s=n.y-e.y;return bn.signOfDet2x2(r,i,o,s)};bn.signOfDet2x2=function(t,e,n,r){var i=null,o=null,s=null;if(i=1,t===0||r===0)return e===0||n===0?0:e>0?n>0?-i:i:n>0?i:-i;if(e===0||n===0)return r>0?t>0?i:-i:t>0?-i:i;if(e>0?r>0?e<=r||(i=-i,o=t,t=n,n=o,o=e,e=r,r=o):e<=-r?(i=-i,n=-n,r=-r):(o=t,t=-n,n=o,o=e,e=-r,r=o):r>0?-e<=r?(i=-i,t=-t,e=-e):(o=-t,t=n,n=o,o=-e,e=r,r=o):e>=r?(t=-t,e=-e,n=-n,r=-r):(i=-i,o=-t,t=-n,n=o,o=-e,e=-r,r=o),t>0)if(n>0){if(!(t<=n))return i}else return i;else{if(n>0)return-i;if(t>=n)i=-i,t=-t,n=-n;else return-i}for(;;){if(s=Math.floor(n/t),n=n-s*t,r=r-s*e,r<0)return-i;if(r>e)return i;if(t>n+n){if(e<r+r)return i}else{if(e>r+r)return-i;n=t-n,r=e-r,i=-i}if(r===0)return n===0?0:-i;if(n===0||(s=Math.floor(t/n),t=t-s*n,e=e-s*r,e<0))return i;if(e>r)return-i;if(n>t+t){if(r<e+e)return-i}else{if(r>e+e)return i;t=n-t,e=r-e,i=-i}if(e===0)return t===0?0:i;if(t===0)return-i}};var de=function(){this._p=null,this._crossingCount=0,this._isPointOnSegment=!1;var t=arguments[0];this._p=t};de.prototype.countSegment=function(t,e){if(t.x<this._p.x&&e.x<this._p.x)return null;if(this._p.x===e.x&&this._p.y===e.y)return this._isPointOnSegment=!0,null;if(t.y===this._p.y&&e.y===this._p.y){var n=t.x,r=e.x;return n>r&&(n=e.x,r=t.x),this._p.x>=n&&this._p.x<=r&&(this._isPointOnSegment=!0),null}if(t.y>this._p.y&&e.y<=this._p.y||e.y>this._p.y&&t.y<=this._p.y){var i=t.x-this._p.x,o=t.y-this._p.y,s=e.x-this._p.x,a=e.y-this._p.y,u=bn.signOfDet2x2(i,o,s,a);if(u===0)return this._isPointOnSegment=!0,null;a<o&&(u=-u),u>0&&this._crossingCount++}};de.prototype.isPointInPolygon=function(){return this.getLocation()!==h.EXTERIOR};de.prototype.getLocation=function(){return this._isPointOnSegment?h.BOUNDARY:this._crossingCount%2===1?h.INTERIOR:h.EXTERIOR};de.prototype.isOnSegment=function(){return this._isPointOnSegment};de.prototype.interfaces_=function(){return[]};de.prototype.getClass=function(){return de};de.locatePointInRing=function(){if(arguments[0]instanceof c&&L(arguments[1],D)){for(var t=arguments[0],e=arguments[1],n=new de(t),r=new c,i=new c,o=1;o<e.size();o++)if(e.getCoordinate(o,r),e.getCoordinate(o-1,i),n.countSegment(r,i),n.isOnSegment())return n.getLocation();return n.getLocation()}else if(arguments[0]instanceof c&&arguments[1]instanceof Array){for(var s=arguments[0],a=arguments[1],u=new de(s),l=1;l<a.length;l++){var p=a[l],g=a[l-1];if(u.countSegment(p,g),u.isOnSegment())return u.getLocation()}return u.getLocation()}};var v=function(){},Vn={CLOCKWISE:{configurable:!0},RIGHT:{configurable:!0},COUNTERCLOCKWISE:{configurable:!0},LEFT:{configurable:!0},COLLINEAR:{configurable:!0},STRAIGHT:{configurable:!0}};v.prototype.interfaces_=function(){return[]};v.prototype.getClass=function(){return v};v.orientationIndex=function(t,e,n){return Tt.orientationIndex(t,e,n)};v.signedArea=function(){if(arguments[0]instanceof Array){var t=arguments[0];if(t.length<3)return 0;for(var e=0,n=t[0].x,r=1;r<t.length-1;r++){var i=t[r].x-n,o=t[r+1].y,s=t[r-1].y;e+=i*(s-o)}return e/2}else if(L(arguments[0],D)){var a=arguments[0],u=a.size();if(u<3)return 0;var l=new c,p=new c,g=new c;a.getCoordinate(0,p),a.getCoordinate(1,g);var d=p.x;g.x-=d;for(var m=0,I=1;I<u-1;I++)l.y=p.y,p.x=g.x,p.y=g.y,a.getCoordinate(I+1,g),g.x-=d,m+=p.x*(l.y-g.y);return m/2}};v.distanceLineLine=function(t,e,n,r){if(t.equals(e))return v.distancePointLine(t,n,r);if(n.equals(r))return v.distancePointLine(r,t,e);var i=!1;if(!N.intersects(t,e,n,r))i=!0;else{var o=(e.x-t.x)*(r.y-n.y)-(e.y-t.y)*(r.x-n.x);if(o===0)i=!0;else{var s=(t.y-n.y)*(r.x-n.x)-(t.x-n.x)*(r.y-n.y),a=(t.y-n.y)*(e.x-t.x)-(t.x-n.x)*(e.y-t.y),u=a/o,l=s/o;(l<0||l>1||u<0||u>1)&&(i=!0)}}return i?zt.min(v.distancePointLine(t,n,r),v.distancePointLine(e,n,r),v.distancePointLine(n,t,e),v.distancePointLine(r,t,e)):0};v.isPointInRing=function(t,e){return v.locatePointInRing(t,e)!==h.EXTERIOR};v.computeLength=function(t){var e=t.size();if(e<=1)return 0;var n=0,r=new c;t.getCoordinate(0,r);for(var i=r.x,o=r.y,s=1;s<e;s++){t.getCoordinate(s,r);var a=r.x,u=r.y,l=a-i,p=u-o;n+=Math.sqrt(l*l+p*p),i=a,o=u}return n};v.isCCW=function(t){var e=t.length-1;if(e<3)throw new Y("Ring has fewer than 4 points, so orientation cannot be determined");for(var n=t[0],r=0,i=1;i<=e;i++){var o=t[i];o.y>n.y&&(n=o,r=i)}var s=r;do s=s-1,s<0&&(s=e);while(t[s].equals2D(n)&&s!==r);var a=r;do a=(a+1)%e;while(t[a].equals2D(n)&&a!==r);var u=t[s],l=t[a];if(u.equals2D(n)||l.equals2D(n)||u.equals2D(l))return!1;var p=v.computeOrientation(u,n,l),g=!1;return p===0?g=u.x>l.x:g=p>0,g};v.locatePointInRing=function(t,e){return de.locatePointInRing(t,e)};v.distancePointLinePerpendicular=function(t,e,n){var r=(n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y),i=((e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y))/r;return Math.abs(i)*Math.sqrt(r)};v.computeOrientation=function(t,e,n){return v.orientationIndex(t,e,n)};v.distancePointLine=function(){if(arguments.length===2){var t=arguments[0],e=arguments[1];if(e.length===0)throw new Y("Line array must contain at least one vertex");for(var n=t.distance(e[0]),r=0;r<e.length-1;r++){var i=v.distancePointLine(t,e[r],e[r+1]);i<n&&(n=i)}return n}else if(arguments.length===3){var o=arguments[0],s=arguments[1],a=arguments[2];if(s.x===a.x&&s.y===a.y)return o.distance(s);var u=(a.x-s.x)*(a.x-s.x)+(a.y-s.y)*(a.y-s.y),l=((o.x-s.x)*(a.x-s.x)+(o.y-s.y)*(a.y-s.y))/u;if(l<=0)return o.distance(s);if(l>=1)return o.distance(a);var p=((s.y-o.y)*(a.x-s.x)-(s.x-o.x)*(a.y-s.y))/u;return Math.abs(p)*Math.sqrt(u)}};v.isOnLine=function(t,e){for(var n=new Sn,r=1;r<e.length;r++){var i=e[r-1],o=e[r];if(n.computeIntersection(t,i,o),n.hasIntersection())return!0}return!1};Vn.CLOCKWISE.get=function(){return-1};Vn.RIGHT.get=function(){return v.CLOCKWISE};Vn.COUNTERCLOCKWISE.get=function(){return 1};Vn.LEFT.get=function(){return v.COUNTERCLOCKWISE};Vn.COLLINEAR.get=function(){return 0};Vn.STRAIGHT.get=function(){return v.COLLINEAR};Object.defineProperties(v,Vn);var We=function(){};We.prototype.filter=function(t){};We.prototype.interfaces_=function(){return[]};We.prototype.getClass=function(){return We};var S=function(){var t=arguments[0];this._envelope=null,this._factory=null,this._SRID=null,this._userData=null,this._factory=t,this._SRID=t.getSRID()},Ue={serialVersionUID:{configurable:!0},SORTINDEX_POINT:{configurable:!0},SORTINDEX_MULTIPOINT:{configurable:!0},SORTINDEX_LINESTRING:{configurable:!0},SORTINDEX_LINEARRING:{configurable:!0},SORTINDEX_MULTILINESTRING:{configurable:!0},SORTINDEX_POLYGON:{configurable:!0},SORTINDEX_MULTIPOLYGON:{configurable:!0},SORTINDEX_GEOMETRYCOLLECTION:{configurable:!0},geometryChangedFilter:{configurable:!0}};S.prototype.isGeometryCollection=function(){return this.getSortIndex()===S.SORTINDEX_GEOMETRYCOLLECTION};S.prototype.getFactory=function(){return this._factory};S.prototype.getGeometryN=function(t){return this};S.prototype.getArea=function(){return 0};S.prototype.isRectangle=function(){return!1};S.prototype.equals=function(){if(arguments[0]instanceof S){var t=arguments[0];return t===null?!1:this.equalsTopo(t)}else if(arguments[0]instanceof Object){var e=arguments[0];if(!(e instanceof S))return!1;var n=e;return this.equalsExact(n)}};S.prototype.equalsExact=function(t){return this===t||this.equalsExact(t,0)};S.prototype.geometryChanged=function(){this.apply(S.geometryChangedFilter)};S.prototype.geometryChangedAction=function(){this._envelope=null};S.prototype.equalsNorm=function(t){return t===null?!1:this.norm().equalsExact(t.norm())};S.prototype.getLength=function(){return 0};S.prototype.getNumGeometries=function(){return 1};S.prototype.compareTo=function(){if(arguments.length===1){var t=arguments[0],e=t;return this.getSortIndex()!==e.getSortIndex()?this.getSortIndex()-e.getSortIndex():this.isEmpty()&&e.isEmpty()?0:this.isEmpty()?-1:e.isEmpty()?1:this.compareToSameClass(t)}else if(arguments.length===2){var n=arguments[0],r=arguments[1];return this.getSortIndex()!==n.getSortIndex()?this.getSortIndex()-n.getSortIndex():this.isEmpty()&&n.isEmpty()?0:this.isEmpty()?-1:n.isEmpty()?1:this.compareToSameClass(n,r)}};S.prototype.getUserData=function(){return this._userData};S.prototype.getSRID=function(){return this._SRID};S.prototype.getEnvelope=function(){return this.getFactory().toGeometry(this.getEnvelopeInternal())};S.prototype.checkNotGeometryCollection=function(t){if(t.getSortIndex()===S.SORTINDEX_GEOMETRYCOLLECTION)throw new Y("This method does not support GeometryCollection arguments")};S.prototype.equal=function(t,e,n){return n===0?t.equals(e):t.distance(e)<=n};S.prototype.norm=function(){var t=this.copy();return t.normalize(),t};S.prototype.getPrecisionModel=function(){return this._factory.getPrecisionModel()};S.prototype.getEnvelopeInternal=function(){return this._envelope===null&&(this._envelope=this.computeEnvelopeInternal()),new N(this._envelope)};S.prototype.setSRID=function(t){this._SRID=t};S.prototype.setUserData=function(t){this._userData=t};S.prototype.compare=function(t,e){for(var n=t.iterator(),r=e.iterator();n.hasNext()&&r.hasNext();){var i=n.next(),o=r.next(),s=i.compareTo(o);if(s!==0)return s}return n.hasNext()?1:r.hasNext()?-1:0};S.prototype.hashCode=function(){return this.getEnvelopeInternal().hashCode()};S.prototype.isGeometryCollectionOrDerived=function(){return this.getSortIndex()===S.SORTINDEX_GEOMETRYCOLLECTION||this.getSortIndex()===S.SORTINDEX_MULTIPOINT||this.getSortIndex()===S.SORTINDEX_MULTILINESTRING||this.getSortIndex()===S.SORTINDEX_MULTIPOLYGON};S.prototype.interfaces_=function(){return[qr,$t,te]};S.prototype.getClass=function(){return S};S.hasNonEmptyElements=function(t){for(var e=0;e<t.length;e++)if(!t[e].isEmpty())return!0;return!1};S.hasNullElements=function(t){for(var e=0;e<t.length;e++)if(t[e]===null)return!0;return!1};Ue.serialVersionUID.get=function(){return 8763622679187377e3};Ue.SORTINDEX_POINT.get=function(){return 0};Ue.SORTINDEX_MULTIPOINT.get=function(){return 1};Ue.SORTINDEX_LINESTRING.get=function(){return 2};Ue.SORTINDEX_LINEARRING.get=function(){return 3};Ue.SORTINDEX_MULTILINESTRING.get=function(){return 4};Ue.SORTINDEX_POLYGON.get=function(){return 5};Ue.SORTINDEX_MULTIPOLYGON.get=function(){return 6};Ue.SORTINDEX_GEOMETRYCOLLECTION.get=function(){return 7};Ue.geometryChangedFilter.get=function(){return $r};Object.defineProperties(S,Ue);var $r=function(){};$r.interfaces_=function(){return[We]};$r.filter=function(t){t.geometryChangedAction()};var Pe=function(){};Pe.prototype.filter=function(t){};Pe.prototype.interfaces_=function(){return[]};Pe.prototype.getClass=function(){return Pe};var Jt=function(){},Ze={Mod2BoundaryNodeRule:{configurable:!0},EndPointBoundaryNodeRule:{configurable:!0},MultiValentEndPointBoundaryNodeRule:{configurable:!0},MonoValentEndPointBoundaryNodeRule:{configurable:!0},MOD2_BOUNDARY_RULE:{configurable:!0},ENDPOINT_BOUNDARY_RULE:{configurable:!0},MULTIVALENT_ENDPOINT_BOUNDARY_RULE:{configurable:!0},MONOVALENT_ENDPOINT_BOUNDARY_RULE:{configurable:!0},OGC_SFS_BOUNDARY_RULE:{configurable:!0}};Jt.prototype.isInBoundary=function(t){};Jt.prototype.interfaces_=function(){return[]};Jt.prototype.getClass=function(){return Jt};Ze.Mod2BoundaryNodeRule.get=function(){return jn};Ze.EndPointBoundaryNodeRule.get=function(){return Hn};Ze.MultiValentEndPointBoundaryNodeRule.get=function(){return Wn};Ze.MonoValentEndPointBoundaryNodeRule.get=function(){return Kn};Ze.MOD2_BOUNDARY_RULE.get=function(){return new jn};Ze.ENDPOINT_BOUNDARY_RULE.get=function(){return new Hn};Ze.MULTIVALENT_ENDPOINT_BOUNDARY_RULE.get=function(){return new Wn};Ze.MONOVALENT_ENDPOINT_BOUNDARY_RULE.get=function(){return new Kn};Ze.OGC_SFS_BOUNDARY_RULE.get=function(){return Jt.MOD2_BOUNDARY_RULE};Object.defineProperties(Jt,Ze);var jn=function(){};jn.prototype.isInBoundary=function(t){return t%2===1};jn.prototype.interfaces_=function(){return[Jt]};jn.prototype.getClass=function(){return jn};var Hn=function(){};Hn.prototype.isInBoundary=function(t){return t>0};Hn.prototype.interfaces_=function(){return[Jt]};Hn.prototype.getClass=function(){return Hn};var Wn=function(){};Wn.prototype.isInBoundary=function(t){return t>1};Wn.prototype.interfaces_=function(){return[Jt]};Wn.prototype.getClass=function(){return Wn};var Kn=function(){};Kn.prototype.isInBoundary=function(t){return t===1};Kn.prototype.interfaces_=function(){return[Jt]};Kn.prototype.getClass=function(){return Kn};var rt=function(){};rt.prototype.add=function(){};rt.prototype.addAll=function(){};rt.prototype.isEmpty=function(){};rt.prototype.iterator=function(){};rt.prototype.size=function(){};rt.prototype.toArray=function(){};rt.prototype.remove=function(){};function ti(t){this.message=t||""}ti.prototype=new Error;ti.prototype.name="IndexOutOfBoundsException";var lr=function(){};lr.prototype.hasNext=function(){};lr.prototype.next=function(){};lr.prototype.remove=function(){};var ne=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(){},e.prototype.set=function(){},e.prototype.isEmpty=function(){},e}(rt);function pr(t){this.message=t||""}pr.prototype=new Error;pr.prototype.name="NoSuchElementException";var _=function(t){function e(){t.call(this),this.array_=[],arguments[0]instanceof rt&&this.addAll(arguments[0])}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.ensureCapacity=function(){},e.prototype.interfaces_=function(){return[t,rt]},e.prototype.add=function(n){return arguments.length===1?this.array_.push(n):this.array_.splice(arguments[0],arguments[1]),!0},e.prototype.clear=function(){this.array_=[]},e.prototype.addAll=function(n){for(var r=this,i=n.iterator();i.hasNext();)r.add(i.next());return!0},e.prototype.set=function(n,r){var i=this.array_[n];return this.array_[n]=r,i},e.prototype.iterator=function(){return new $i(this)},e.prototype.get=function(n){if(n<0||n>=this.size())throw new ti;return this.array_[n]},e.prototype.isEmpty=function(){return this.array_.length===0},e.prototype.size=function(){return this.array_.length},e.prototype.toArray=function(){for(var n=this,r=[],i=0,o=this.array_.length;i<o;i++)r.push(n.array_[i]);return r},e.prototype.remove=function(n){for(var r=this,i=!1,o=0,s=this.array_.length;o<s;o++)if(r.array_[o]===n){r.array_.splice(o,1),i=!0;break}return i},e}(ne),$i=function(t){function e(n){t.call(this),this.arrayList_=n,this.position_=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){if(this.position_===this.arrayList_.size())throw new pr;return this.arrayList_.get(this.position_++)},e.prototype.hasNext=function(){return this.position_<this.arrayList_.size()},e.prototype.set=function(n){return this.arrayList_.set(this.position_-1,n)},e.prototype.remove=function(){this.arrayList_.remove(this.arrayList_.get(this.position_))},e}(lr),Or=function(t){function e(){if(t.call(this),arguments.length!==0){if(arguments.length===1){var r=arguments[0];this.ensureCapacity(r.length),this.add(r,!0)}else if(arguments.length===2){var i=arguments[0],o=arguments[1];this.ensureCapacity(i.length),this.add(i,o)}}}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={coordArrayType:{configurable:!0}};return n.coordArrayType.get=function(){return new Array(0).fill(null)},e.prototype.getCoordinate=function(r){return this.get(r)},e.prototype.addAll=function(){var r=this;if(arguments.length===2){for(var i=arguments[0],o=arguments[1],s=!1,a=i.iterator();a.hasNext();)r.add(a.next(),o),s=!0;return s}else return t.prototype.addAll.apply(this,arguments)},e.prototype.clone=function(){for(var r=this,i=t.prototype.clone.call(this),o=0;o<this.size();o++)i.add(o,r.get(o).copy());return i},e.prototype.toCoordinateArray=function(){return this.toArray(e.coordArrayType)},e.prototype.add=function(){var r=this;if(arguments.length===1){var i=arguments[0];t.prototype.add.call(this,i)}else if(arguments.length===2){if(arguments[0]instanceof Array&&typeof arguments[1]=="boolean"){var o=arguments[0],s=arguments[1];return this.add(o,s,!0),!0}else if(arguments[0]instanceof c&&typeof arguments[1]=="boolean"){var a=arguments[0],u=arguments[1];if(!u&&this.size()>=1){var l=this.get(this.size()-1);if(l.equals2D(a))return null}t.prototype.add.call(this,a)}else if(arguments[0]instanceof Object&&typeof arguments[1]=="boolean"){var p=arguments[0],g=arguments[1];return this.add(p,g),!0}}else if(arguments.length===3){if(typeof arguments[2]=="boolean"&&arguments[0]instanceof Array&&typeof arguments[1]=="boolean"){var d=arguments[0],m=arguments[1],I=arguments[2];if(I)for(var E=0;E<d.length;E++)r.add(d[E],m);else for(var C=d.length-1;C>=0;C--)r.add(d[C],m);return!0}else if(typeof arguments[2]=="boolean"&&Number.isInteger(arguments[0])&&arguments[1]instanceof c){var M=arguments[0],A=arguments[1],It=arguments[2];if(!It){var Mt=this.size();if(Mt>0){if(M>0){var Ki=this.get(M-1);if(Ki.equals2D(A))return null}if(M<Mt){var Ji=this.get(M);if(Ji.equals2D(A))return null}}}t.prototype.add.call(this,M,A)}}else if(arguments.length===4){var Qi=arguments[0],Zi=arguments[1],di=arguments[2],yi=arguments[3],mi=1;di>yi&&(mi=-1);for(var Jr=di;Jr!==yi;Jr+=mi)r.add(Qi[Jr],Zi);return!0}},e.prototype.closeRing=function(){this.size()>0&&this.add(new c(this.get(0)),!1)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},Object.defineProperties(e,n),e}(_),R=function(){},Vr={ForwardComparator:{configurable:!0},BidirectionalComparator:{configurable:!0},coordArrayType:{configurable:!0}};Vr.ForwardComparator.get=function(){return fr};Vr.BidirectionalComparator.get=function(){return Jn};Vr.coordArrayType.get=function(){return new Array(0).fill(null)};R.prototype.interfaces_=function(){return[]};R.prototype.getClass=function(){return R};R.isRing=function(t){return!(t.length<4||!t[0].equals2D(t[t.length-1]))};R.ptNotInList=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(R.indexOf(r,e)<0)return r}return null};R.scroll=function(t,e){var n=R.indexOf(e,t);if(n<0)return null;var r=new Array(t.length).fill(null);ht.arraycopy(t,n,r,0,t.length-n),ht.arraycopy(t,0,r,t.length-n,n),ht.arraycopy(r,0,t,0,t.length)};R.equals=function(){if(arguments.length===2){var t=arguments[0],e=arguments[1];if(t===e)return!0;if(t===null||e===null||t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!t[n].equals(e[n]))return!1;return!0}else if(arguments.length===3){var r=arguments[0],i=arguments[1],o=arguments[2];if(r===i)return!0;if(r===null||i===null||r.length!==i.length)return!1;for(var s=0;s<r.length;s++)if(o.compare(r[s],i[s])!==0)return!1;return!0}};R.intersection=function(t,e){for(var n=new Or,r=0;r<t.length;r++)e.intersects(t[r])&&n.add(t[r],!0);return n.toCoordinateArray()};R.hasRepeatedPoints=function(t){for(var e=1;e<t.length;e++)if(t[e-1].equals(t[e]))return!0;return!1};R.removeRepeatedPoints=function(t){if(!R.hasRepeatedPoints(t))return t;var e=new Or(t,!1);return e.toCoordinateArray()};R.reverse=function(t){for(var e=t.length-1,n=Math.trunc(e/2),r=0;r<=n;r++){var i=t[r];t[r]=t[e-r],t[e-r]=i}};R.removeNull=function(t){for(var e=0,n=0;n<t.length;n++)t[n]!==null&&e++;var r=new Array(e).fill(null);if(e===0)return r;for(var i=0,o=0;o<t.length;o++)t[o]!==null&&(r[i++]=t[o]);return r};R.copyDeep=function(){if(arguments.length===1){for(var t=arguments[0],e=new Array(t.length).fill(null),n=0;n<t.length;n++)e[n]=new c(t[n]);return e}else if(arguments.length===5)for(var r=arguments[0],i=arguments[1],o=arguments[2],s=arguments[3],a=arguments[4],u=0;u<a;u++)o[s+u]=new c(r[i+u])};R.isEqualReversed=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=e[t.length-n-1];if(r.compareTo(i)!==0)return!1}return!0};R.envelope=function(t){for(var e=new N,n=0;n<t.length;n++)e.expandToInclude(t[n]);return e};R.toCoordinateArray=function(t){return t.toArray(R.coordArrayType)};R.atLeastNCoordinatesOrNothing=function(t,e){return e.length>=t?e:[]};R.indexOf=function(t,e){for(var n=0;n<e.length;n++)if(t.equals(e[n]))return n;return-1};R.increasingDirection=function(t){for(var e=0;e<Math.trunc(t.length/2);e++){var n=t.length-1-e,r=t[e].compareTo(t[n]);if(r!==0)return r}return 1};R.compare=function(t,e){for(var n=0;n<t.length&&n<e.length;){var r=t[n].compareTo(e[n]);if(r!==0)return r;n++}return n<e.length?-1:n<t.length?1:0};R.minCoordinate=function(t){for(var e=null,n=0;n<t.length;n++)(e===null||e.compareTo(t[n])>0)&&(e=t[n]);return e};R.extract=function(t,e,n){e=zt.clamp(e,0,t.length),n=zt.clamp(n,-1,t.length);var r=n-e+1;n<0&&(r=0),e>=t.length&&(r=0),n<e&&(r=0);var i=new Array(r).fill(null);if(r===0)return i;for(var o=0,s=e;s<=n;s++)i[o++]=t[s];return i};Object.defineProperties(R,Vr);var fr=function(){};fr.prototype.compare=function(t,e){var n=t,r=e;return R.compare(n,r)};fr.prototype.interfaces_=function(){return[kn]};fr.prototype.getClass=function(){return fr};var Jn=function(){};Jn.prototype.compare=function(t,e){var n=t,r=e;if(n.length<r.length)return-1;if(n.length>r.length)return 1;if(n.length===0)return 0;var i=R.compare(n,r),o=R.isEqualReversed(n,r);return o?0:i};Jn.prototype.OLDcompare=function(t,e){var n=t,r=e;if(n.length<r.length)return-1;if(n.length>r.length)return 1;if(n.length===0)return 0;for(var i=R.increasingDirection(n),o=R.increasingDirection(r),s=i>0?0:n.length-1,a=o>0?0:n.length-1,u=0;u<n.length;u++){var l=n[s].compareTo(r[a]);if(l!==0)return l;s+=i,a+=o}return 0};Jn.prototype.interfaces_=function(){return[kn]};Jn.prototype.getClass=function(){return Jn};var Un=function(){};Un.prototype.get=function(){};Un.prototype.put=function(){};Un.prototype.size=function(){};Un.prototype.values=function(){};Un.prototype.entrySet=function(){};var to=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Un);function Tr(t){this.message=t||""}Tr.prototype=new Error;Tr.prototype.name="OperationNotSupported";function Ur(){}Ur.prototype=new rt;Ur.prototype.contains=function(){};var ei=function(t){function e(){t.call(this),this.array_=[],arguments[0]instanceof rt&&this.addAll(arguments[0])}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.contains=function(n){for(var r=this,i=0,o=this.array_.length;i<o;i++){var s=r.array_[i];if(s===n)return!0}return!1},e.prototype.add=function(n){return this.contains(n)?!1:(this.array_.push(n),!0)},e.prototype.addAll=function(n){for(var r=this,i=n.iterator();i.hasNext();)r.add(i.next());return!0},e.prototype.remove=function(n){throw new Error},e.prototype.size=function(){return this.array_.length},e.prototype.isEmpty=function(){return this.array_.length===0},e.prototype.toArray=function(){for(var n=this,r=[],i=0,o=this.array_.length;i<o;i++)r.push(n.array_[i]);return r},e.prototype.iterator=function(){return new eo(this)},e}(Ur),eo=function(t){function e(n){t.call(this),this.hashSet_=n,this.position_=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){if(this.position_===this.hashSet_.size())throw new pr;return this.hashSet_.array_[this.position_++]},e.prototype.hasNext=function(){return this.position_<this.hashSet_.size()},e.prototype.remove=function(){throw new Tr},e}(lr),Ye=0,gn=1;function _i(t){return t===null?Ye:t.color}function z(t){return t===null?null:t.parent}function ze(t,e){t!==null&&(t.color=e)}function Qr(t){return t===null?null:t.left}function vi(t){return t===null?null:t.right}function mt(){this.root_=null,this.size_=0}mt.prototype=new to;mt.prototype.get=function(t){for(var e=this.root_;e!==null;){var n=t.compareTo(e.key);if(n<0)e=e.left;else if(n>0)e=e.right;else return e.value}return null};mt.prototype.put=function(t,e){if(this.root_===null)return this.root_={key:t,value:e,left:null,right:null,parent:null,color:Ye,getValue:function(){return this.value},getKey:function(){return this.key}},this.size_=1,null;var n=this.root_,r,i;do if(r=n,i=t.compareTo(n.key),i<0)n=n.left;else if(i>0)n=n.right;else{var o=n.value;return n.value=e,o}while(n!==null);var s={key:t,left:null,right:null,value:e,parent:r,color:Ye,getValue:function(){return this.value},getKey:function(){return this.key}};return i<0?r.left=s:r.right=s,this.fixAfterInsertion(s),this.size_++,null};mt.prototype.fixAfterInsertion=function(t){var e=this;for(t.color=gn;t!=null&&t!==this.root_&&t.parent.color===gn;)if(z(t)===Qr(z(z(t)))){var n=vi(z(z(t)));_i(n)===gn?(ze(z(t),Ye),ze(n,Ye),ze(z(z(t)),gn),t=z(z(t))):(t===vi(z(t))&&(t=z(t),e.rotateLeft(t)),ze(z(t),Ye),ze(z(z(t)),gn),e.rotateRight(z(z(t))))}else{var r=Qr(z(z(t)));_i(r)===gn?(ze(z(t),Ye),ze(r,Ye),ze(z(z(t)),gn),t=z(z(t))):(t===Qr(z(t))&&(t=z(t),e.rotateRight(t)),ze(z(t),Ye),ze(z(z(t)),gn),e.rotateLeft(z(z(t))))}this.root_.color=Ye};mt.prototype.values=function(){var t=new _,e=this.getFirstEntry();if(e!==null)for(t.add(e.value);(e=mt.successor(e))!==null;)t.add(e.value);return t};mt.prototype.entrySet=function(){var t=new ei,e=this.getFirstEntry();if(e!==null)for(t.add(e);(e=mt.successor(e))!==null;)t.add(e);return t};mt.prototype.rotateLeft=function(t){if(t!=null){var e=t.right;t.right=e.left,e.left!=null&&(e.left.parent=t),e.parent=t.parent,t.parent===null?this.root_=e:t.parent.left===t?t.parent.left=e:t.parent.right=e,e.left=t,t.parent=e}};mt.prototype.rotateRight=function(t){if(t!=null){var e=t.left;t.left=e.right,e.right!=null&&(e.right.parent=t),e.parent=t.parent,t.parent===null?this.root_=e:t.parent.right===t?t.parent.right=e:t.parent.left=e,e.right=t,t.parent=e}};mt.prototype.getFirstEntry=function(){var t=this.root_;if(t!=null)for(;t.left!=null;)t=t.left;return t};mt.successor=function(t){if(t===null)return null;if(t.right!==null){for(var e=t.right;e.left!==null;)e=e.left;return e}else{for(var n=t.parent,r=t;n!==null&&r===n.right;)r=n,n=n.parent;return n}};mt.prototype.size=function(){return this.size_};var dr=function(){};dr.prototype.interfaces_=function(){return[]};dr.prototype.getClass=function(){return dr};function bi(){}bi.prototype=new Ur;function _e(){this.array_=[],arguments[0]instanceof rt&&this.addAll(arguments[0])}_e.prototype=new bi;_e.prototype.contains=function(t){for(var e=this,n=0,r=this.array_.length;n<r;n++){var i=e.array_[n];if(i.compareTo(t)===0)return!0}return!1};_e.prototype.add=function(t){var e=this;if(this.contains(t))return!1;for(var n=0,r=this.array_.length;n<r;n++){var i=e.array_[n];if(i.compareTo(t)===1)return e.array_.splice(n,0,t),!0}return this.array_.push(t),!0};_e.prototype.addAll=function(t){for(var e=this,n=t.iterator();n.hasNext();)e.add(n.next());return!0};_e.prototype.remove=function(t){throw new Tr};_e.prototype.size=function(){return this.array_.length};_e.prototype.isEmpty=function(){return this.array_.length===0};_e.prototype.toArray=function(){for(var t=this,e=[],n=0,r=this.array_.length;n<r;n++)e.push(t.array_[n]);return e};_e.prototype.iterator=function(){return new zr(this)};var zr=function(t){this.treeSet_=t,this.position_=0};zr.prototype.next=function(){if(this.position_===this.treeSet_.size())throw new pr;return this.treeSet_.array_[this.position_++]};zr.prototype.hasNext=function(){return this.position_<this.treeSet_.size()};zr.prototype.remove=function(){throw new Tr};var fn=function(){};fn.sort=function(){var t=arguments[0],e,n,r,i;if(arguments.length===1)i=function(s,a){return s.compareTo(a)},t.sort(i);else if(arguments.length===2)r=arguments[1],i=function(s,a){return r.compare(s,a)},t.sort(i);else if(arguments.length===3){n=t.slice(arguments[1],arguments[2]),n.sort();var o=t.slice(0,arguments[1]).concat(n,t.slice(arguments[2],t.length));for(t.splice(0,t.length),e=0;e<o.length;e++)t.push(o[e])}else if(arguments.length===4)for(n=t.slice(arguments[1],arguments[2]),r=arguments[3],i=function(s,a){return r.compare(s,a)},n.sort(i),o=t.slice(0,arguments[1]).concat(n,t.slice(arguments[2],t.length)),t.splice(0,t.length),e=0;e<o.length;e++)t.push(o[e])};fn.asList=function(t){for(var e=new _,n=0,r=t.length;n<r;n++)e.add(t[n]);return e};var F=function(){},ce={P:{configurable:!0},L:{configurable:!0},A:{configurable:!0},FALSE:{configurable:!0},TRUE:{configurable:!0},DONTCARE:{configurable:!0},SYM_FALSE:{configurable:!0},SYM_TRUE:{configurable:!0},SYM_DONTCARE:{configurable:!0},SYM_P:{configurable:!0},SYM_L:{configurable:!0},SYM_A:{configurable:!0}};ce.P.get=function(){return 0};ce.L.get=function(){return 1};ce.A.get=function(){return 2};ce.FALSE.get=function(){return-1};ce.TRUE.get=function(){return-2};ce.DONTCARE.get=function(){return-3};ce.SYM_FALSE.get=function(){return"F"};ce.SYM_TRUE.get=function(){return"T"};ce.SYM_DONTCARE.get=function(){return"*"};ce.SYM_P.get=function(){return"0"};ce.SYM_L.get=function(){return"1"};ce.SYM_A.get=function(){return"2"};F.prototype.interfaces_=function(){return[]};F.prototype.getClass=function(){return F};F.toDimensionSymbol=function(t){switch(t){case F.FALSE:return F.SYM_FALSE;case F.TRUE:return F.SYM_TRUE;case F.DONTCARE:return F.SYM_DONTCARE;case F.P:return F.SYM_P;case F.L:return F.SYM_L;case F.A:return F.SYM_A}throw new Y("Unknown dimension value: "+t)};F.toDimensionValue=function(t){switch(gr.toUpperCase(t)){case F.SYM_FALSE:return F.FALSE;case F.SYM_TRUE:return F.TRUE;case F.SYM_DONTCARE:return F.DONTCARE;case F.SYM_P:return F.P;case F.SYM_L:return F.L;case F.SYM_A:return F.A}throw new Y("Unknown dimension symbol: "+t)};Object.defineProperties(F,ce);var ve=function(){};ve.prototype.filter=function(t){};ve.prototype.interfaces_=function(){return[]};ve.prototype.getClass=function(){return ve};var ie=function(){};ie.prototype.filter=function(t,e){};ie.prototype.isDone=function(){};ie.prototype.isGeometryChanged=function(){};ie.prototype.interfaces_=function(){return[]};ie.prototype.getClass=function(){return ie};var St=function(t){function e(r,i){if(t.call(this,i),this._geometries=r||[],t.hasNullElements(this._geometries))throw new Y("geometries must not contain null elements")}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){for(var r=this,i=new N,o=0;o<this._geometries.length;o++)i.expandToInclude(r._geometries[o].getEnvelopeInternal());return i},e.prototype.getGeometryN=function(r){return this._geometries[r]},e.prototype.getSortIndex=function(){return t.SORTINDEX_GEOMETRYCOLLECTION},e.prototype.getCoordinates=function(){for(var r=this,i=new Array(this.getNumPoints()).fill(null),o=-1,s=0;s<this._geometries.length;s++)for(var a=r._geometries[s].getCoordinates(),u=0;u<a.length;u++)o++,i[o]=a[u];return i},e.prototype.getArea=function(){for(var r=this,i=0,o=0;o<this._geometries.length;o++)i+=r._geometries[o].getArea();return i},e.prototype.equalsExact=function(){var r=this;if(arguments.length===2){var i=arguments[0],o=arguments[1];if(!this.isEquivalentClass(i))return!1;var s=i;if(this._geometries.length!==s._geometries.length)return!1;for(var a=0;a<this._geometries.length;a++)if(!r._geometries[a].equalsExact(s._geometries[a],o))return!1;return!0}else return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){for(var r=this,i=0;i<this._geometries.length;i++)r._geometries[i].normalize();fn.sort(this._geometries)},e.prototype.getCoordinate=function(){return this.isEmpty()?null:this._geometries[0].getCoordinate()},e.prototype.getBoundaryDimension=function(){for(var r=this,i=F.FALSE,o=0;o<this._geometries.length;o++)i=Math.max(i,r._geometries[o].getBoundaryDimension());return i},e.prototype.getDimension=function(){for(var r=this,i=F.FALSE,o=0;o<this._geometries.length;o++)i=Math.max(i,r._geometries[o].getDimension());return i},e.prototype.getLength=function(){for(var r=this,i=0,o=0;o<this._geometries.length;o++)i+=r._geometries[o].getLength();return i},e.prototype.getNumPoints=function(){for(var r=this,i=0,o=0;o<this._geometries.length;o++)i+=r._geometries[o].getNumPoints();return i},e.prototype.getNumGeometries=function(){return this._geometries.length},e.prototype.reverse=function(){for(var r=this,i=this._geometries.length,o=new Array(i).fill(null),s=0;s<this._geometries.length;s++)o[s]=r._geometries[s].reverse();return this.getFactory().createGeometryCollection(o)},e.prototype.compareToSameClass=function(){var r=this;if(arguments.length===1){var i=arguments[0],o=new _e(fn.asList(this._geometries)),s=new _e(fn.asList(i._geometries));return this.compare(o,s)}else if(arguments.length===2){for(var a=arguments[0],u=arguments[1],l=a,p=this.getNumGeometries(),g=l.getNumGeometries(),d=0;d<p&&d<g;){var m=r.getGeometryN(d),I=l.getGeometryN(d),E=m.compareToSameClass(I,u);if(E!==0)return E;d++}return d<p?1:d<g?-1:0}},e.prototype.apply=function(){var r=this;if(L(arguments[0],Pe))for(var i=arguments[0],o=0;o<this._geometries.length;o++)r._geometries[o].apply(i);else if(L(arguments[0],ie)){var s=arguments[0];if(this._geometries.length===0)return null;for(var a=0;a<this._geometries.length&&(r._geometries[a].apply(s),!s.isDone());a++);s.isGeometryChanged()&&this.geometryChanged()}else if(L(arguments[0],ve)){var u=arguments[0];u.filter(this);for(var l=0;l<this._geometries.length;l++)r._geometries[l].apply(u)}else if(L(arguments[0],We)){var p=arguments[0];p.filter(this);for(var g=0;g<this._geometries.length;g++)r._geometries[g].apply(p)}},e.prototype.getBoundary=function(){return this.checkNotGeometryCollection(this),O.shouldNeverReachHere(),null},e.prototype.clone=function(){var r=this,i=t.prototype.clone.call(this);i._geometries=new Array(this._geometries.length).fill(null);for(var o=0;o<this._geometries.length;o++)i._geometries[o]=r._geometries[o].clone();return i},e.prototype.getGeometryType=function(){return"GeometryCollection"},e.prototype.copy=function(){for(var r=this,i=new Array(this._geometries.length).fill(null),o=0;o<i.length;o++)i[o]=r._geometries[o].copy();return new e(i,this._factory)},e.prototype.isEmpty=function(){for(var r=this,i=0;i<this._geometries.length;i++)if(!r._geometries[i].isEmpty())return!1;return!0},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-5694727726395021e3},Object.defineProperties(e,n),e}(S),yn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return S.SORTINDEX_MULTILINESTRING},e.prototype.equalsExact=function(){if(arguments.length===2){var r=arguments[0],i=arguments[1];return this.isEquivalentClass(r)?t.prototype.equalsExact.call(this,r,i):!1}else return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return this.isClosed()?F.FALSE:0},e.prototype.isClosed=function(){var r=this;if(this.isEmpty())return!1;for(var i=0;i<this._geometries.length;i++)if(!r._geometries[i].isClosed())return!1;return!0},e.prototype.getDimension=function(){return 1},e.prototype.reverse=function(){for(var r=this,i=this._geometries.length,o=new Array(i).fill(null),s=0;s<this._geometries.length;s++)o[i-1-s]=r._geometries[s].reverse();return this.getFactory().createMultiLineString(o)},e.prototype.getBoundary=function(){return new Ht(this).getBoundary()},e.prototype.getGeometryType=function(){return"MultiLineString"},e.prototype.copy=function(){for(var r=this,i=new Array(this._geometries.length).fill(null),o=0;o<i.length;o++)i[o]=r._geometries[o].copy();return new e(i,this._factory)},e.prototype.interfaces_=function(){return[dr]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 8166665132445434e3},Object.defineProperties(e,n),e}(St),Ht=function(){if(this._geom=null,this._geomFact=null,this._bnRule=null,this._endpointMap=null,arguments.length===1){var t=arguments[0],e=Jt.MOD2_BOUNDARY_RULE;this._geom=t,this._geomFact=t.getFactory(),this._bnRule=e}else if(arguments.length===2){var n=arguments[0],r=arguments[1];this._geom=n,this._geomFact=n.getFactory(),this._bnRule=r}};Ht.prototype.boundaryMultiLineString=function(t){if(this._geom.isEmpty())return this.getEmptyMultiPoint();var e=this.computeBoundaryCoordinates(t);return e.length===1?this._geomFact.createPoint(e[0]):this._geomFact.createMultiPointFromCoords(e)};Ht.prototype.getBoundary=function(){return this._geom instanceof W?this.boundaryLineString(this._geom):this._geom instanceof yn?this.boundaryMultiLineString(this._geom):this._geom.getBoundary()};Ht.prototype.boundaryLineString=function(t){if(this._geom.isEmpty())return this.getEmptyMultiPoint();if(t.isClosed()){var e=this._bnRule.isInBoundary(2);return e?t.getStartPoint():this._geomFact.createMultiPoint()}return this._geomFact.createMultiPoint([t.getStartPoint(),t.getEndPoint()])};Ht.prototype.getEmptyMultiPoint=function(){return this._geomFact.createMultiPoint()};Ht.prototype.computeBoundaryCoordinates=function(t){var e=this,n=new _;this._endpointMap=new mt;for(var r=0;r<t.getNumGeometries();r++){var i=t.getGeometryN(r);i.getNumPoints()!==0&&(e.addEndpoint(i.getCoordinateN(0)),e.addEndpoint(i.getCoordinateN(i.getNumPoints()-1)))}for(var o=this._endpointMap.entrySet().iterator();o.hasNext();){var s=o.next(),a=s.getValue(),u=a.count;e._bnRule.isInBoundary(u)&&n.add(s.getKey())}return R.toCoordinateArray(n)};Ht.prototype.addEndpoint=function(t){var e=this._endpointMap.get(t);e===null&&(e=new Ar,this._endpointMap.put(t,e)),e.count++};Ht.prototype.interfaces_=function(){return[]};Ht.prototype.getClass=function(){return Ht};Ht.getBoundary=function(){if(arguments.length===1){var t=arguments[0],e=new Ht(t);return e.getBoundary()}else if(arguments.length===2){var n=arguments[0],r=arguments[1],i=new Ht(n,r);return i.getBoundary()}};var Ar=function(){this.count=null};Ar.prototype.interfaces_=function(){return[]};Ar.prototype.getClass=function(){return Ar};function no(){}function ro(){}var io=function(){};function oo(){}function so(){}function ao(){}var Wt=function(){},ni={NEWLINE:{configurable:!0},SIMPLE_ORDINATE_FORMAT:{configurable:!0}};Wt.prototype.interfaces_=function(){return[]};Wt.prototype.getClass=function(){return Wt};Wt.chars=function(t,e){for(var n=new Array(e).fill(null),r=0;r<e;r++)n[r]=t;return String(n)};Wt.getStackTrace=function(){if(arguments.length===1){var t=arguments[0],e=new oo,n=new no;return t.printStackTrace(n),e.toString()}else if(arguments.length===2){var r=arguments[0],i=arguments[1],o="";new ro(Wt.getStackTrace(r));for(var s=new ao,a=0;a<i;a++)try{o+=s.readLine()+Wt.NEWLINE}catch(u){if(u instanceof so)O.shouldNeverReachHere();else throw u}finally{}return o}};Wt.split=function(t,e){for(var n=e.length,r=new _,i=""+t,o=i.indexOf(e);o>=0;){var s=i.substring(0,o);r.add(s),i=i.substring(o+n),o=i.indexOf(e)}i.length>0&&r.add(i);for(var a=new Array(r.size()).fill(null),u=0;u<a.length;u++)a[u]=r.get(u);return a};Wt.toString=function(){if(arguments.length===1){var t=arguments[0];return Wt.SIMPLE_ORDINATE_FORMAT.format(t)}};Wt.spaces=function(t){return Wt.chars(" ",t)};ni.NEWLINE.get=function(){return ht.getProperty("line.separator")};ni.SIMPLE_ORDINATE_FORMAT.get=function(){return new io};Object.defineProperties(Wt,ni);var Z=function(){};Z.prototype.interfaces_=function(){return[]};Z.prototype.getClass=function(){return Z};Z.copyCoord=function(t,e,n,r){for(var i=Math.min(t.getDimension(),n.getDimension()),o=0;o<i;o++)n.setOrdinate(r,o,t.getOrdinate(e,o))};Z.isRing=function(t){var e=t.size();return e===0?!0:e<=3?!1:t.getOrdinate(0,D.X)===t.getOrdinate(e-1,D.X)&&t.getOrdinate(0,D.Y)===t.getOrdinate(e-1,D.Y)};Z.isEqual=function(t,e){var n=t.size(),r=e.size();if(n!==r)return!1;for(var i=Math.min(t.getDimension(),e.getDimension()),o=0;o<n;o++)for(var s=0;s<i;s++){var a=t.getOrdinate(o,s),u=e.getOrdinate(o,s);if(t.getOrdinate(o,s)!==e.getOrdinate(o,s)&&!(b.isNaN(a)&&b.isNaN(u)))return!1}return!0};Z.extend=function(t,e,n){var r=t.create(n,e.getDimension()),i=e.size();if(Z.copy(e,0,r,0,i),i>0)for(var o=i;o<n;o++)Z.copy(e,i-1,r,o,1);return r};Z.reverse=function(t){for(var e=t.size()-1,n=Math.trunc(e/2),r=0;r<=n;r++)Z.swap(t,r,e-r)};Z.swap=function(t,e,n){if(e===n)return null;for(var r=0;r<t.getDimension();r++){var i=t.getOrdinate(e,r);t.setOrdinate(e,r,t.getOrdinate(n,r)),t.setOrdinate(n,r,i)}};Z.copy=function(t,e,n,r,i){for(var o=0;o<i;o++)Z.copyCoord(t,e+o,n,r+o)};Z.toString=function(){if(arguments.length===1){var t=arguments[0],e=t.size();if(e===0)return"()";var n=t.getDimension(),r=new be;r.append("(");for(var i=0;i<e;i++){i>0&&r.append(" ");for(var o=0;o<n;o++)o>0&&r.append(","),r.append(Wt.toString(t.getOrdinate(i,o)))}return r.append(")"),r.toString()}};Z.ensureValidRing=function(t,e){var n=e.size();if(n===0)return e;if(n<=3)return Z.createClosedRing(t,e,4);var r=e.getOrdinate(0,D.X)===e.getOrdinate(n-1,D.X)&&e.getOrdinate(0,D.Y)===e.getOrdinate(n-1,D.Y);return r?e:Z.createClosedRing(t,e,n+1)};Z.createClosedRing=function(t,e,n){var r=t.create(n,e.getDimension()),i=e.size();Z.copy(e,0,r,0,i);for(var o=i;o<n;o++)Z.copy(e,0,r,o,1);return r};var W=function(t){function e(r,i){t.call(this,i),this._points=null,this.init(r)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){return this.isEmpty()?new N:this._points.expandEnvelope(new N)},e.prototype.isRing=function(){return this.isClosed()&&this.isSimple()},e.prototype.getSortIndex=function(){return t.SORTINDEX_LINESTRING},e.prototype.getCoordinates=function(){return this._points.toCoordinateArray()},e.prototype.equalsExact=function(){var r=this;if(arguments.length===2){var i=arguments[0],o=arguments[1];if(!this.isEquivalentClass(i))return!1;var s=i;if(this._points.size()!==s._points.size())return!1;for(var a=0;a<this._points.size();a++)if(!r.equal(r._points.getCoordinate(a),s._points.getCoordinate(a),o))return!1;return!0}else return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){for(var r=this,i=0;i<Math.trunc(this._points.size()/2);i++){var o=r._points.size()-1-i;if(!r._points.getCoordinate(i).equals(r._points.getCoordinate(o)))return r._points.getCoordinate(i).compareTo(r._points.getCoordinate(o))>0&&Z.reverse(r._points),null}},e.prototype.getCoordinate=function(){return this.isEmpty()?null:this._points.getCoordinate(0)},e.prototype.getBoundaryDimension=function(){return this.isClosed()?F.FALSE:0},e.prototype.isClosed=function(){return this.isEmpty()?!1:this.getCoordinateN(0).equals2D(this.getCoordinateN(this.getNumPoints()-1))},e.prototype.getEndPoint=function(){return this.isEmpty()?null:this.getPointN(this.getNumPoints()-1)},e.prototype.getDimension=function(){return 1},e.prototype.getLength=function(){return v.computeLength(this._points)},e.prototype.getNumPoints=function(){return this._points.size()},e.prototype.reverse=function(){var r=this._points.copy();Z.reverse(r);var i=this.getFactory().createLineString(r);return i},e.prototype.compareToSameClass=function(){var r=this;if(arguments.length===1){for(var i=arguments[0],o=i,s=0,a=0;s<this._points.size()&&a<o._points.size();){var u=r._points.getCoordinate(s).compareTo(o._points.getCoordinate(a));if(u!==0)return u;s++,a++}return s<this._points.size()?1:a<o._points.size()?-1:0}else if(arguments.length===2){var l=arguments[0],p=arguments[1],g=l;return p.compare(this._points,g._points)}},e.prototype.apply=function(){var r=this;if(L(arguments[0],Pe))for(var i=arguments[0],o=0;o<this._points.size();o++)i.filter(r._points.getCoordinate(o));else if(L(arguments[0],ie)){var s=arguments[0];if(this._points.size()===0)return null;for(var a=0;a<this._points.size()&&(s.filter(r._points,a),!s.isDone());a++);s.isGeometryChanged()&&this.geometryChanged()}else if(L(arguments[0],ve)){var u=arguments[0];u.filter(this)}else if(L(arguments[0],We)){var l=arguments[0];l.filter(this)}},e.prototype.getBoundary=function(){return new Ht(this).getBoundary()},e.prototype.isEquivalentClass=function(r){return r instanceof e},e.prototype.clone=function(){var r=t.prototype.clone.call(this);return r._points=this._points.clone(),r},e.prototype.getCoordinateN=function(r){return this._points.getCoordinate(r)},e.prototype.getGeometryType=function(){return"LineString"},e.prototype.copy=function(){return new e(this._points.copy(),this._factory)},e.prototype.getCoordinateSequence=function(){return this._points},e.prototype.isEmpty=function(){return this._points.size()===0},e.prototype.init=function(r){if(r===null&&(r=this.getFactory().getCoordinateSequenceFactory().create([])),r.size()===1)throw new Y("Invalid number of points in LineString (found "+r.size()+" - must be 0 or >= 2)");this._points=r},e.prototype.isCoordinate=function(r){for(var i=this,o=0;o<this._points.size();o++)if(i._points.getCoordinate(o).equals(r))return!0;return!1},e.prototype.getStartPoint=function(){return this.isEmpty()?null:this.getPointN(0)},e.prototype.getPointN=function(r){return this.getFactory().createPoint(this._points.getCoordinate(r))},e.prototype.interfaces_=function(){return[dr]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 0x2b2b51ba435c8e00},Object.defineProperties(e,n),e}(S),yr=function(){};yr.prototype.interfaces_=function(){return[]};yr.prototype.getClass=function(){return yr};var Ft=function(t){function e(r,i){t.call(this,i),this._coordinates=r||null,this.init(this._coordinates)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){if(this.isEmpty())return new N;var r=new N;return r.expandToInclude(this._coordinates.getX(0),this._coordinates.getY(0)),r},e.prototype.getSortIndex=function(){return t.SORTINDEX_POINT},e.prototype.getCoordinates=function(){return this.isEmpty()?[]:[this.getCoordinate()]},e.prototype.equalsExact=function(){if(arguments.length===2){var r=arguments[0],i=arguments[1];return this.isEquivalentClass(r)?this.isEmpty()&&r.isEmpty()?!0:this.isEmpty()!==r.isEmpty()?!1:this.equal(r.getCoordinate(),this.getCoordinate(),i):!1}else return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){},e.prototype.getCoordinate=function(){return this._coordinates.size()!==0?this._coordinates.getCoordinate(0):null},e.prototype.getBoundaryDimension=function(){return F.FALSE},e.prototype.getDimension=function(){return 0},e.prototype.getNumPoints=function(){return this.isEmpty()?0:1},e.prototype.reverse=function(){return this.copy()},e.prototype.getX=function(){if(this.getCoordinate()===null)throw new Error("getX called on empty Point");return this.getCoordinate().x},e.prototype.compareToSameClass=function(){if(arguments.length===1){var r=arguments[0],i=r;return this.getCoordinate().compareTo(i.getCoordinate())}else if(arguments.length===2){var o=arguments[0],s=arguments[1],a=o;return s.compare(this._coordinates,a._coordinates)}},e.prototype.apply=function(){if(L(arguments[0],Pe)){var r=arguments[0];if(this.isEmpty())return null;r.filter(this.getCoordinate())}else if(L(arguments[0],ie)){var i=arguments[0];if(this.isEmpty())return null;i.filter(this._coordinates,0),i.isGeometryChanged()&&this.geometryChanged()}else if(L(arguments[0],ve)){var o=arguments[0];o.filter(this)}else if(L(arguments[0],We)){var s=arguments[0];s.filter(this)}},e.prototype.getBoundary=function(){return this.getFactory().createGeometryCollection(null)},e.prototype.clone=function(){var r=t.prototype.clone.call(this);return r._coordinates=this._coordinates.clone(),r},e.prototype.getGeometryType=function(){return"Point"},e.prototype.copy=function(){return new e(this._coordinates.copy(),this._factory)},e.prototype.getCoordinateSequence=function(){return this._coordinates},e.prototype.getY=function(){if(this.getCoordinate()===null)throw new Error("getY called on empty Point");return this.getCoordinate().y},e.prototype.isEmpty=function(){return this._coordinates.size()===0},e.prototype.init=function(r){r===null&&(r=this.getFactory().getCoordinateSequenceFactory().create([])),O.isTrue(r.size()<=1),this._coordinates=r},e.prototype.isSimple=function(){return!0},e.prototype.interfaces_=function(){return[yr]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return 4902022702746615e3},Object.defineProperties(e,n),e}(S),rn=function(){};rn.prototype.interfaces_=function(){return[]};rn.prototype.getClass=function(){return rn};var ot=function(t){function e(r,i,o){if(t.call(this,o),this._shell=null,this._holes=null,r===null&&(r=this.getFactory().createLinearRing()),i===null&&(i=[]),t.hasNullElements(i))throw new Y("holes must not contain null elements");if(r.isEmpty()&&t.hasNonEmptyElements(i))throw new Y("shell is empty but holes are not");this._shell=r,this._holes=i}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){return this._shell.getEnvelopeInternal()},e.prototype.getSortIndex=function(){return t.SORTINDEX_POLYGON},e.prototype.getCoordinates=function(){var r=this;if(this.isEmpty())return[];for(var i=new Array(this.getNumPoints()).fill(null),o=-1,s=this._shell.getCoordinates(),a=0;a<s.length;a++)o++,i[o]=s[a];for(var u=0;u<this._holes.length;u++)for(var l=r._holes[u].getCoordinates(),p=0;p<l.length;p++)o++,i[o]=l[p];return i},e.prototype.getArea=function(){var r=this,i=0;i+=Math.abs(v.signedArea(this._shell.getCoordinateSequence()));for(var o=0;o<this._holes.length;o++)i-=Math.abs(v.signedArea(r._holes[o].getCoordinateSequence()));return i},e.prototype.isRectangle=function(){if(this.getNumInteriorRing()!==0||this._shell===null||this._shell.getNumPoints()!==5)return!1;for(var r=this._shell.getCoordinateSequence(),i=this.getEnvelopeInternal(),o=0;o<5;o++){var s=r.getX(o);if(!(s===i.getMinX()||s===i.getMaxX()))return!1;var a=r.getY(o);if(!(a===i.getMinY()||a===i.getMaxY()))return!1}for(var u=r.getX(0),l=r.getY(0),p=1;p<=4;p++){var g=r.getX(p),d=r.getY(p),m=g!==u,I=d!==l;if(m===I)return!1;u=g,l=d}return!0},e.prototype.equalsExact=function(){var r=this;if(arguments.length===2){var i=arguments[0],o=arguments[1];if(!this.isEquivalentClass(i))return!1;var s=i,a=this._shell,u=s._shell;if(!a.equalsExact(u,o)||this._holes.length!==s._holes.length)return!1;for(var l=0;l<this._holes.length;l++)if(!r._holes[l].equalsExact(s._holes[l],o))return!1;return!0}else return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){var r=this;if(arguments.length===0){this.normalize(this._shell,!0);for(var i=0;i<this._holes.length;i++)r.normalize(r._holes[i],!1);fn.sort(this._holes)}else if(arguments.length===2){var o=arguments[0],s=arguments[1];if(o.isEmpty())return null;var a=new Array(o.getCoordinates().length-1).fill(null);ht.arraycopy(o.getCoordinates(),0,a,0,a.length);var u=R.minCoordinate(o.getCoordinates());R.scroll(a,u),ht.arraycopy(a,0,o.getCoordinates(),0,a.length),o.getCoordinates()[a.length]=a[0],v.isCCW(o.getCoordinates())===s&&R.reverse(o.getCoordinates())}},e.prototype.getCoordinate=function(){return this._shell.getCoordinate()},e.prototype.getNumInteriorRing=function(){return this._holes.length},e.prototype.getBoundaryDimension=function(){return 1},e.prototype.getDimension=function(){return 2},e.prototype.getLength=function(){var r=this,i=0;i+=this._shell.getLength();for(var o=0;o<this._holes.length;o++)i+=r._holes[o].getLength();return i},e.prototype.getNumPoints=function(){for(var r=this,i=this._shell.getNumPoints(),o=0;o<this._holes.length;o++)i+=r._holes[o].getNumPoints();return i},e.prototype.reverse=function(){var r=this,i=this.copy();i._shell=this._shell.copy().reverse(),i._holes=new Array(this._holes.length).fill(null);for(var o=0;o<this._holes.length;o++)i._holes[o]=r._holes[o].copy().reverse();return i},e.prototype.convexHull=function(){return this.getExteriorRing().convexHull()},e.prototype.compareToSameClass=function(){var r=this;if(arguments.length===1){var i=arguments[0],o=this._shell,s=i._shell;return o.compareToSameClass(s)}else if(arguments.length===2){var a=arguments[0],u=arguments[1],l=a,p=this._shell,g=l._shell,d=p.compareToSameClass(g,u);if(d!==0)return d;for(var m=this.getNumInteriorRing(),I=l.getNumInteriorRing(),E=0;E<m&&E<I;){var C=r.getInteriorRingN(E),M=l.getInteriorRingN(E),A=C.compareToSameClass(M,u);if(A!==0)return A;E++}return E<m?1:E<I?-1:0}},e.prototype.apply=function(r){var i=this;if(L(r,Pe)){this._shell.apply(r);for(var o=0;o<this._holes.length;o++)i._holes[o].apply(r)}else if(L(r,ie)){if(this._shell.apply(r),!r.isDone())for(var s=0;s<this._holes.length&&(i._holes[s].apply(r),!r.isDone());s++);r.isGeometryChanged()&&this.geometryChanged()}else if(L(r,ve))r.filter(this);else if(L(r,We)){r.filter(this),this._shell.apply(r);for(var a=0;a<this._holes.length;a++)i._holes[a].apply(r)}},e.prototype.getBoundary=function(){var r=this;if(this.isEmpty())return this.getFactory().createMultiLineString();var i=new Array(this._holes.length+1).fill(null);i[0]=this._shell;for(var o=0;o<this._holes.length;o++)i[o+1]=r._holes[o];return i.length<=1?this.getFactory().createLinearRing(i[0].getCoordinateSequence()):this.getFactory().createMultiLineString(i)},e.prototype.clone=function(){var r=this,i=t.prototype.clone.call(this);i._shell=this._shell.clone(),i._holes=new Array(this._holes.length).fill(null);for(var o=0;o<this._holes.length;o++)i._holes[o]=r._holes[o].clone();return i},e.prototype.getGeometryType=function(){return"Polygon"},e.prototype.copy=function(){for(var r=this,i=this._shell.copy(),o=new Array(this._holes.length).fill(null),s=0;s<o.length;s++)o[s]=r._holes[s].copy();return new e(i,o,this._factory)},e.prototype.getExteriorRing=function(){return this._shell},e.prototype.isEmpty=function(){return this._shell.isEmpty()},e.prototype.getInteriorRingN=function(r){return this._holes[r]},e.prototype.interfaces_=function(){return[rn]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x307ffefd8dc97200},Object.defineProperties(e,n),e}(S),Qn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return S.SORTINDEX_MULTIPOINT},e.prototype.isValid=function(){return!0},e.prototype.equalsExact=function(){if(arguments.length===2){var r=arguments[0],i=arguments[1];return this.isEquivalentClass(r)?t.prototype.equalsExact.call(this,r,i):!1}else return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getCoordinate=function(){if(arguments.length===1){var r=arguments[0];return this._geometries[r].getCoordinate()}else return t.prototype.getCoordinate.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return F.FALSE},e.prototype.getDimension=function(){return 0},e.prototype.getBoundary=function(){return this.getFactory().createGeometryCollection(null)},e.prototype.getGeometryType=function(){return"MultiPoint"},e.prototype.copy=function(){for(var r=this,i=new Array(this._geometries.length).fill(null),o=0;o<i.length;o++)i[o]=r._geometries[o].copy();return new e(i,this._factory)},e.prototype.interfaces_=function(){return[yr]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-8048474874175356e3},Object.defineProperties(e,n),e}(St),De=function(t){function e(r,i){r instanceof c&&i instanceof T&&(r=i.getCoordinateSequenceFactory().create(r)),t.call(this,r,i),this.validateConstruction()}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={MINIMUM_VALID_SIZE:{configurable:!0},serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return S.SORTINDEX_LINEARRING},e.prototype.getBoundaryDimension=function(){return F.FALSE},e.prototype.isClosed=function(){return this.isEmpty()?!0:t.prototype.isClosed.call(this)},e.prototype.reverse=function(){var r=this._points.copy();Z.reverse(r);var i=this.getFactory().createLinearRing(r);return i},e.prototype.validateConstruction=function(){if(!this.isEmpty()&&!t.prototype.isClosed.call(this))throw new Y("Points of LinearRing do not form a closed linestring");if(this.getCoordinateSequence().size()>=1&&this.getCoordinateSequence().size()<e.MINIMUM_VALID_SIZE)throw new Y("Invalid number of points in LinearRing (found "+this.getCoordinateSequence().size()+" - must be 0 or >= 4)")},e.prototype.getGeometryType=function(){return"LinearRing"},e.prototype.copy=function(){return new e(this._points.copy(),this._factory)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.MINIMUM_VALID_SIZE.get=function(){return 4},n.serialVersionUID.get=function(){return-0x3b229e262367a600},Object.defineProperties(e,n),e}(W),Te=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return S.SORTINDEX_MULTIPOLYGON},e.prototype.equalsExact=function(){if(arguments.length===2){var r=arguments[0],i=arguments[1];return this.isEquivalentClass(r)?t.prototype.equalsExact.call(this,r,i):!1}else return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return 1},e.prototype.getDimension=function(){return 2},e.prototype.reverse=function(){for(var r=this,i=this._geometries.length,o=new Array(i).fill(null),s=0;s<this._geometries.length;s++)o[s]=r._geometries[s].reverse();return this.getFactory().createMultiPolygon(o)},e.prototype.getBoundary=function(){var r=this;if(this.isEmpty())return this.getFactory().createMultiLineString();for(var i=new _,o=0;o<this._geometries.length;o++)for(var s=r._geometries[o],a=s.getBoundary(),u=0;u<a.getNumGeometries();u++)i.add(a.getGeometryN(u));var l=new Array(i.size()).fill(null);return this.getFactory().createMultiLineString(i.toArray(l))},e.prototype.getGeometryType=function(){return"MultiPolygon"},e.prototype.copy=function(){for(var r=this,i=new Array(this._geometries.length).fill(null),o=0;o<i.length;o++)i[o]=r._geometries[o].copy();return new e(i,this._factory)},e.prototype.interfaces_=function(){return[rn]},e.prototype.getClass=function(){return e},n.serialVersionUID.get=function(){return-0x7a5aa1369171980},Object.defineProperties(e,n),e}(St),Qt=function(t){this._factory=t||null,this._isUserDataCopied=!1},Xr={NoOpGeometryOperation:{configurable:!0},CoordinateOperation:{configurable:!0},CoordinateSequenceOperation:{configurable:!0}};Qt.prototype.setCopyUserData=function(t){this._isUserDataCopied=t};Qt.prototype.edit=function(t,e){if(t===null)return null;var n=this.editInternal(t,e);return this._isUserDataCopied&&n.setUserData(t.getUserData()),n};Qt.prototype.editInternal=function(t,e){return this._factory===null&&(this._factory=t.getFactory()),t instanceof St?this.editGeometryCollection(t,e):t instanceof ot?this.editPolygon(t,e):t instanceof Ft?e.edit(t,this._factory):t instanceof W?e.edit(t,this._factory):(O.shouldNeverReachHere("Unsupported Geometry class: "+t.getClass().getName()),null)};Qt.prototype.editGeometryCollection=function(t,e){for(var n=this,r=e.edit(t,this._factory),i=new _,o=0;o<r.getNumGeometries();o++){var s=n.edit(r.getGeometryN(o),e);s===null||s.isEmpty()||i.add(s)}return r.getClass()===Qn?this._factory.createMultiPoint(i.toArray([])):r.getClass()===yn?this._factory.createMultiLineString(i.toArray([])):r.getClass()===Te?this._factory.createMultiPolygon(i.toArray([])):this._factory.createGeometryCollection(i.toArray([]))};Qt.prototype.editPolygon=function(t,e){var n=this,r=e.edit(t,this._factory);if(r===null&&(r=this._factory.createPolygon(null)),r.isEmpty())return r;var i=this.edit(r.getExteriorRing(),e);if(i===null||i.isEmpty())return this._factory.createPolygon();for(var o=new _,s=0;s<r.getNumInteriorRing();s++){var a=n.edit(r.getInteriorRingN(s),e);a===null||a.isEmpty()||o.add(a)}return this._factory.createPolygon(i,o.toArray([]))};Qt.prototype.interfaces_=function(){return[]};Qt.prototype.getClass=function(){return Qt};Qt.GeometryEditorOperation=function(){};Xr.NoOpGeometryOperation.get=function(){return mr};Xr.CoordinateOperation.get=function(){return _r};Xr.CoordinateSequenceOperation.get=function(){return vr};Object.defineProperties(Qt,Xr);var mr=function(){};mr.prototype.edit=function(t,e){return t};mr.prototype.interfaces_=function(){return[Qt.GeometryEditorOperation]};mr.prototype.getClass=function(){return mr};var _r=function(){};_r.prototype.edit=function(t,e){var n=this.editCoordinates(t.getCoordinates(),t);return n===null?t:t instanceof De?e.createLinearRing(n):t instanceof W?e.createLineString(n):t instanceof Ft?n.length>0?e.createPoint(n[0]):e.createPoint():t};_r.prototype.interfaces_=function(){return[Qt.GeometryEditorOperation]};_r.prototype.getClass=function(){return _r};var vr=function(){};vr.prototype.edit=function(t,e){return t instanceof De?e.createLinearRing(this.edit(t.getCoordinateSequence(),t)):t instanceof W?e.createLineString(this.edit(t.getCoordinateSequence(),t)):t instanceof Ft?e.createPoint(this.edit(t.getCoordinateSequence(),t)):t};vr.prototype.interfaces_=function(){return[Qt.GeometryEditorOperation]};vr.prototype.getClass=function(){return vr};var J=function(){var t=this;if(this._dimension=3,this._coordinates=null,arguments.length===1){if(arguments[0]instanceof Array)this._coordinates=arguments[0],this._dimension=3;else if(Number.isInteger(arguments[0])){var e=arguments[0];this._coordinates=new Array(e).fill(null);for(var n=0;n<e;n++)t._coordinates[n]=new c}else if(L(arguments[0],D)){var r=arguments[0];if(r===null)return this._coordinates=new Array(0).fill(null),null;this._dimension=r.getDimension(),this._coordinates=new Array(r.size()).fill(null);for(var i=0;i<this._coordinates.length;i++)t._coordinates[i]=r.getCoordinateCopy(i)}}else if(arguments.length===2){if(arguments[0]instanceof Array&&Number.isInteger(arguments[1])){var o=arguments[0],s=arguments[1];this._coordinates=o,this._dimension=s,o===null&&(this._coordinates=new Array(0).fill(null))}else if(Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var a=arguments[0],u=arguments[1];this._coordinates=new Array(a).fill(null),this._dimension=u;for(var l=0;l<a;l++)t._coordinates[l]=new c}}},wi={serialVersionUID:{configurable:!0}};J.prototype.setOrdinate=function(t,e,n){switch(e){case D.X:this._coordinates[t].x=n;break;case D.Y:this._coordinates[t].y=n;break;case D.Z:this._coordinates[t].z=n;break;default:throw new Y("invalid ordinateIndex")}};J.prototype.size=function(){return this._coordinates.length};J.prototype.getOrdinate=function(t,e){switch(e){case D.X:return this._coordinates[t].x;case D.Y:return this._coordinates[t].y;case D.Z:return this._coordinates[t].z}return b.NaN};J.prototype.getCoordinate=function(){if(arguments.length===1){var t=arguments[0];return this._coordinates[t]}else if(arguments.length===2){var e=arguments[0],n=arguments[1];n.x=this._coordinates[e].x,n.y=this._coordinates[e].y,n.z=this._coordinates[e].z}};J.prototype.getCoordinateCopy=function(t){return new c(this._coordinates[t])};J.prototype.getDimension=function(){return this._dimension};J.prototype.getX=function(t){return this._coordinates[t].x};J.prototype.clone=function(){for(var t=this,e=new Array(this.size()).fill(null),n=0;n<this._coordinates.length;n++)e[n]=t._coordinates[n].clone();return new J(e,this._dimension)};J.prototype.expandEnvelope=function(t){for(var e=this,n=0;n<this._coordinates.length;n++)t.expandToInclude(e._coordinates[n]);return t};J.prototype.copy=function(){for(var t=this,e=new Array(this.size()).fill(null),n=0;n<this._coordinates.length;n++)e[n]=t._coordinates[n].copy();return new J(e,this._dimension)};J.prototype.toString=function(){var t=this;if(this._coordinates.length>0){var e=new be(17*this._coordinates.length);e.append("("),e.append(this._coordinates[0]);for(var n=1;n<this._coordinates.length;n++)e.append(", "),e.append(t._coordinates[n]);return e.append(")"),e.toString()}else return"()"};J.prototype.getY=function(t){return this._coordinates[t].y};J.prototype.toCoordinateArray=function(){return this._coordinates};J.prototype.interfaces_=function(){return[D,te]};J.prototype.getClass=function(){return J};wi.serialVersionUID.get=function(){return-0xcb44a778db18e00};Object.defineProperties(J,wi);var Me=function(){},ri={serialVersionUID:{configurable:!0},instanceObject:{configurable:!0}};Me.prototype.readResolve=function(){return Me.instance()};Me.prototype.create=function(){if(arguments.length===1){if(arguments[0]instanceof Array){var t=arguments[0];return new J(t)}else if(L(arguments[0],D)){var e=arguments[0];return new J(e)}}else if(arguments.length===2){var n=arguments[0],r=arguments[1];return r>3&&(r=3),r<2?new J(n):new J(n,r)}};Me.prototype.interfaces_=function(){return[Yn,te]};Me.prototype.getClass=function(){return Me};Me.instance=function(){return Me.instanceObject};ri.serialVersionUID.get=function(){return-0x38e49fa6cf6f2e00};ri.instanceObject.get=function(){return new Me};Object.defineProperties(Me,ri);var Oi=function(t){function e(){t.call(this),this.map_=new Map}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(n){return this.map_.get(n)||null},e.prototype.put=function(n,r){return this.map_.set(n,r),r},e.prototype.values=function(){for(var n=new _,r=this.map_.values(),i=r.next();!i.done;)n.add(i.value),i=r.next();return n},e.prototype.entrySet=function(){var n=new ei;return this.map_.entries().forEach(function(r){return n.add(r)}),n},e.prototype.size=function(){return this.map_.size()},e}(Un),q=function t(){if(this._modelType=null,this._scale=null,arguments.length===0)this._modelType=t.FLOATING;else if(arguments.length===1){if(arguments[0]instanceof Ie){var e=arguments[0];this._modelType=e,e===t.FIXED&&this.setScale(1)}else if(typeof arguments[0]=="number"){var n=arguments[0];this._modelType=t.FIXED,this.setScale(n)}else if(arguments[0]instanceof t){var r=arguments[0];this._modelType=r._modelType,this._scale=r._scale}}},ii={serialVersionUID:{configurable:!0},maximumPreciseValue:{configurable:!0}};q.prototype.equals=function(t){if(!(t instanceof q))return!1;var e=t;return this._modelType===e._modelType&&this._scale===e._scale};q.prototype.compareTo=function(t){var e=t,n=this.getMaximumSignificantDigits(),r=e.getMaximumSignificantDigits();return new me(n).compareTo(new me(r))};q.prototype.getScale=function(){return this._scale};q.prototype.isFloating=function(){return this._modelType===q.FLOATING||this._modelType===q.FLOATING_SINGLE};q.prototype.getType=function(){return this._modelType};q.prototype.toString=function(){var t="UNKNOWN";return this._modelType===q.FLOATING?t="Floating":this._modelType===q.FLOATING_SINGLE?t="Floating-Single":this._modelType===q.FIXED&&(t="Fixed (Scale="+this.getScale()+")"),t};q.prototype.makePrecise=function(){if(typeof arguments[0]=="number"){var t=arguments[0];if(b.isNaN(t))return t;if(this._modelType===q.FLOATING_SINGLE){var e=t;return e}return this._modelType===q.FIXED?Math.round(t*this._scale)/this._scale:t}else if(arguments[0]instanceof c){var n=arguments[0];if(this._modelType===q.FLOATING)return null;n.x=this.makePrecise(n.x),n.y=this.makePrecise(n.y)}};q.prototype.getMaximumSignificantDigits=function(){var t=16;return this._modelType===q.FLOATING?t=16:this._modelType===q.FLOATING_SINGLE?t=6:this._modelType===q.FIXED&&(t=1+Math.trunc(Math.ceil(Math.log(this.getScale())/Math.log(10)))),t};q.prototype.setScale=function(t){this._scale=Math.abs(t)};q.prototype.interfaces_=function(){return[te,$t]};q.prototype.getClass=function(){return q};q.mostPrecise=function(t,e){return t.compareTo(e)>=0?t:e};ii.serialVersionUID.get=function(){return 7777263578777804e3};ii.maximumPreciseValue.get=function(){return 9007199254740992};Object.defineProperties(q,ii);var Ie=function t(e){this._name=e||null,t.nameToTypeMap.put(e,this)},oi={serialVersionUID:{configurable:!0},nameToTypeMap:{configurable:!0}};Ie.prototype.readResolve=function(){return Ie.nameToTypeMap.get(this._name)};Ie.prototype.toString=function(){return this._name};Ie.prototype.interfaces_=function(){return[te]};Ie.prototype.getClass=function(){return Ie};oi.serialVersionUID.get=function(){return-552860263173159e4};oi.nameToTypeMap.get=function(){return new Oi};Object.defineProperties(Ie,oi);q.Type=Ie;q.FIXED=new Ie("FIXED");q.FLOATING=new Ie("FLOATING");q.FLOATING_SINGLE=new Ie("FLOATING SINGLE");var T=function t(){this._precisionModel=new q,this._SRID=0,this._coordinateSequenceFactory=t.getDefaultCoordinateSequenceFactory(),arguments.length===0||(arguments.length===1?L(arguments[0],Yn)?this._coordinateSequenceFactory=arguments[0]:arguments[0]instanceof q&&(this._precisionModel=arguments[0]):arguments.length===2?(this._precisionModel=arguments[0],this._SRID=arguments[1]):arguments.length===3&&(this._precisionModel=arguments[0],this._SRID=arguments[1],this._coordinateSequenceFactory=arguments[2]))},Ti={serialVersionUID:{configurable:!0}};T.prototype.toGeometry=function(t){return t.isNull()?this.createPoint(null):t.getMinX()===t.getMaxX()&&t.getMinY()===t.getMaxY()?this.createPoint(new c(t.getMinX(),t.getMinY())):t.getMinX()===t.getMaxX()||t.getMinY()===t.getMaxY()?this.createLineString([new c(t.getMinX(),t.getMinY()),new c(t.getMaxX(),t.getMaxY())]):this.createPolygon(this.createLinearRing([new c(t.getMinX(),t.getMinY()),new c(t.getMinX(),t.getMaxY()),new c(t.getMaxX(),t.getMaxY()),new c(t.getMaxX(),t.getMinY()),new c(t.getMinX(),t.getMinY())]),null)};T.prototype.createLineString=function(t){if(t){if(t instanceof Array)return new W(this.getCoordinateSequenceFactory().create(t),this);if(L(t,D))return new W(t,this)}else return new W(this.getCoordinateSequenceFactory().create([]),this)};T.prototype.createMultiLineString=function(){if(arguments.length===0)return new yn(null,this);if(arguments.length===1){var t=arguments[0];return new yn(t,this)}};T.prototype.buildGeometry=function(t){for(var e=null,n=!1,r=!1,i=t.iterator();i.hasNext();){var o=i.next(),s=o.getClass();e===null&&(e=s),s!==e&&(n=!0),o.isGeometryCollectionOrDerived()&&(r=!0)}if(e===null)return this.createGeometryCollection();if(n||r)return this.createGeometryCollection(T.toGeometryArray(t));var a=t.iterator().next(),u=t.size()>1;if(u){if(a instanceof ot)return this.createMultiPolygon(T.toPolygonArray(t));if(a instanceof W)return this.createMultiLineString(T.toLineStringArray(t));if(a instanceof Ft)return this.createMultiPoint(T.toPointArray(t));O.shouldNeverReachHere("Unhandled class: "+a.getClass().getName())}return a};T.prototype.createMultiPointFromCoords=function(t){return this.createMultiPoint(t!==null?this.getCoordinateSequenceFactory().create(t):null)};T.prototype.createPoint=function(){if(arguments.length===0)return this.createPoint(this.getCoordinateSequenceFactory().create([]));if(arguments.length===1){if(arguments[0]instanceof c){var t=arguments[0];return this.createPoint(t!==null?this.getCoordinateSequenceFactory().create([t]):null)}else if(L(arguments[0],D)){var e=arguments[0];return new Ft(e,this)}}};T.prototype.getCoordinateSequenceFactory=function(){return this._coordinateSequenceFactory};T.prototype.createPolygon=function(){if(arguments.length===0)return new ot(null,null,this);if(arguments.length===1){if(L(arguments[0],D)){var t=arguments[0];return this.createPolygon(this.createLinearRing(t))}else if(arguments[0]instanceof Array){var e=arguments[0];return this.createPolygon(this.createLinearRing(e))}else if(arguments[0]instanceof De){var n=arguments[0];return this.createPolygon(n,null)}}else if(arguments.length===2){var r=arguments[0],i=arguments[1];return new ot(r,i,this)}};T.prototype.getSRID=function(){return this._SRID};T.prototype.createGeometryCollection=function(){if(arguments.length===0)return new St(null,this);if(arguments.length===1){var t=arguments[0];return new St(t,this)}};T.prototype.createGeometry=function(t){var e=new Qt(this);return e.edit(t,{edit:function(){if(arguments.length===2){var n=arguments[0];return this._coordinateSequenceFactory.create(n)}}})};T.prototype.getPrecisionModel=function(){return this._precisionModel};T.prototype.createLinearRing=function(){if(arguments.length===0)return this.createLinearRing(this.getCoordinateSequenceFactory().create([]));if(arguments.length===1){if(arguments[0]instanceof Array){var t=arguments[0];return this.createLinearRing(t!==null?this.getCoordinateSequenceFactory().create(t):null)}else if(L(arguments[0],D)){var e=arguments[0];return new De(e,this)}}};T.prototype.createMultiPolygon=function(){if(arguments.length===0)return new Te(null,this);if(arguments.length===1){var t=arguments[0];return new Te(t,this)}};T.prototype.createMultiPoint=function(){var t=this;if(arguments.length===0)return new Qn(null,this);if(arguments.length===1){if(arguments[0]instanceof Array){var e=arguments[0];return new Qn(e,this)}else if(arguments[0]instanceof Array){var n=arguments[0];return this.createMultiPoint(n!==null?this.getCoordinateSequenceFactory().create(n):null)}else if(L(arguments[0],D)){var r=arguments[0];if(r===null)return this.createMultiPoint(new Array(0).fill(null));for(var i=new Array(r.size()).fill(null),o=0;o<r.size();o++){var s=t.getCoordinateSequenceFactory().create(1,r.getDimension());Z.copy(r,o,s,0,1),i[o]=t.createPoint(s)}return this.createMultiPoint(i)}}};T.prototype.interfaces_=function(){return[te]};T.prototype.getClass=function(){return T};T.toMultiPolygonArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)};T.toGeometryArray=function(t){if(t===null)return null;var e=new Array(t.size()).fill(null);return t.toArray(e)};T.getDefaultCoordinateSequenceFactory=function(){return Me.instance()};T.toMultiLineStringArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)};T.toLineStringArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)};T.toMultiPointArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)};T.toLinearRingArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)};T.toPointArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)};T.toPolygonArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)};T.createPointFromInternalCoord=function(t,e){return e.getPrecisionModel().makePrecise(t),e.getFactory().createPoint(t)};Ti.serialVersionUID.get=function(){return-6820524753094096e3};Object.defineProperties(T,Ti);var uo=["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"],kr=function(t){this.geometryFactory=t||new T};kr.prototype.read=function(t){var e;typeof t=="string"?e=JSON.parse(t):e=t;var n=e.type;if(!ge[n])throw new Error("Unknown GeoJSON type: "+e.type);return uo.indexOf(n)!==-1?ge[n].apply(this,[e.coordinates]):n==="GeometryCollection"?ge[n].apply(this,[e.geometries]):ge[n].apply(this,[e])};kr.prototype.write=function(t){var e=t.getGeometryType();if(!ke[e])throw new Error("Geometry is not supported");return ke[e].apply(this,[t])};var ge={Feature:function(t){var e={};for(var n in t)e[n]=t[n];if(t.geometry){var r=t.geometry.type;if(!ge[r])throw new Error("Unknown GeoJSON type: "+t.type);e.geometry=this.read(t.geometry)}return t.bbox&&(e.bbox=ge.bbox.apply(this,[t.bbox])),e},FeatureCollection:function(t){var e=this,n={};if(t.features){n.features=[];for(var r=0;r<t.features.length;++r)n.features.push(e.read(t.features[r]))}return t.bbox&&(n.bbox=this.parse.bbox.apply(this,[t.bbox])),n},coordinates:function(t){for(var e=[],n=0;n<t.length;++n){var r=t[n];e.push(new c(r[0],r[1]))}return e},bbox:function(t){return this.geometryFactory.createLinearRing([new c(t[0],t[1]),new c(t[2],t[1]),new c(t[2],t[3]),new c(t[0],t[3]),new c(t[0],t[1])])},Point:function(t){var e=new c(t[0],t[1]);return this.geometryFactory.createPoint(e)},MultiPoint:function(t){for(var e=this,n=[],r=0;r<t.length;++r)n.push(ge.Point.apply(e,[t[r]]));return this.geometryFactory.createMultiPoint(n)},LineString:function(t){var e=ge.coordinates.apply(this,[t]);return this.geometryFactory.createLineString(e)},MultiLineString:function(t){for(var e=this,n=[],r=0;r<t.length;++r)n.push(ge.LineString.apply(e,[t[r]]));return this.geometryFactory.createMultiLineString(n)},Polygon:function(t){for(var e=this,n=ge.coordinates.apply(this,[t[0]]),r=this.geometryFactory.createLinearRing(n),i=[],o=1;o<t.length;++o){var s=t[o],a=ge.coordinates.apply(e,[s]),u=e.geometryFactory.createLinearRing(a);i.push(u)}return this.geometryFactory.createPolygon(r,i)},MultiPolygon:function(t){for(var e=this,n=[],r=0;r<t.length;++r){var i=t[r];n.push(ge.Polygon.apply(e,[i]))}return this.geometryFactory.createMultiPolygon(n)},GeometryCollection:function(t){for(var e=this,n=[],r=0;r<t.length;++r){var i=t[r];n.push(e.read(i))}return this.geometryFactory.createGeometryCollection(n)}},ke={coordinate:function(t){return[t.x,t.y]},Point:function(t){var e=ke.coordinate.apply(this,[t.getCoordinate()]);return{type:"Point",coordinates:e}},MultiPoint:function(t){for(var e=this,n=[],r=0;r<t._geometries.length;++r){var i=t._geometries[r],o=ke.Point.apply(e,[i]);n.push(o.coordinates)}return{type:"MultiPoint",coordinates:n}},LineString:function(t){for(var e=this,n=[],r=t.getCoordinates(),i=0;i<r.length;++i){var o=r[i];n.push(ke.coordinate.apply(e,[o]))}return{type:"LineString",coordinates:n}},MultiLineString:function(t){for(var e=this,n=[],r=0;r<t._geometries.length;++r){var i=t._geometries[r],o=ke.LineString.apply(e,[i]);n.push(o.coordinates)}return{type:"MultiLineString",coordinates:n}},Polygon:function(t){var e=this,n=[],r=ke.LineString.apply(this,[t._shell]);n.push(r.coordinates);for(var i=0;i<t._holes.length;++i){var o=t._holes[i],s=ke.LineString.apply(e,[o]);n.push(s.coordinates)}return{type:"Polygon",coordinates:n}},MultiPolygon:function(t){for(var e=this,n=[],r=0;r<t._geometries.length;++r){var i=t._geometries[r],o=ke.Polygon.apply(e,[i]);n.push(o.coordinates)}return{type:"MultiPolygon",coordinates:n}},GeometryCollection:function(t){for(var e=this,n=[],r=0;r<t._geometries.length;++r){var i=t._geometries[r],o=i.getGeometryType();n.push(ke[o].apply(e,[i]))}return{type:"GeometryCollection",geometries:n}}},si=function(t){this.geometryFactory=t||new T,this.precisionModel=this.geometryFactory.getPrecisionModel(),this.parser=new kr(this.geometryFactory)};si.prototype.read=function(t){var e=this.parser.read(t);return this.precisionModel.getType()===q.FIXED&&this.reducePrecision(e),e};si.prototype.reducePrecision=function(t){var e=this,n,r;if(t.coordinate)this.precisionModel.makePrecise(t.coordinate);else if(t.points)for(n=0,r=t.points.length;n<r;n++)e.precisionModel.makePrecise(t.points[n]);else if(t.geometries)for(n=0,r=t.geometries.length;n<r;n++)e.reducePrecision(t.geometries[n])};var Ri=function(){this.parser=new kr(this.geometryFactory)};Ri.prototype.write=function(t){return this.parser.write(t)};var y=function(){},Yr={ON:{configurable:!0},LEFT:{configurable:!0},RIGHT:{configurable:!0}};y.prototype.interfaces_=function(){return[]};y.prototype.getClass=function(){return y};y.opposite=function(t){return t===y.LEFT?y.RIGHT:t===y.RIGHT?y.LEFT:t};Yr.ON.get=function(){return 0};Yr.LEFT.get=function(){return 1};Yr.RIGHT.get=function(){return 2};Object.defineProperties(y,Yr);function jr(t){this.message=t||""}jr.prototype=new Error;jr.prototype.name="EmptyStackException";function we(){this.array_=[]}we.prototype=new ne;we.prototype.add=function(t){return this.array_.push(t),!0};we.prototype.get=function(t){if(t<0||t>=this.size())throw new Error;return this.array_[t]};we.prototype.push=function(t){return this.array_.push(t),t};we.prototype.pop=function(t){if(this.array_.length===0)throw new jr;return this.array_.pop()};we.prototype.peek=function(){if(this.array_.length===0)throw new jr;return this.array_[this.array_.length-1]};we.prototype.empty=function(){return this.array_.length===0};we.prototype.isEmpty=function(){return this.empty()};we.prototype.search=function(t){return this.array_.indexOf(t)};we.prototype.size=function(){return this.array_.length};we.prototype.toArray=function(){for(var t=this,e=[],n=0,r=this.array_.length;n<r;n++)e.push(t.array_[n]);return e};var Ee=function(){this._minIndex=-1,this._minCoord=null,this._minDe=null,this._orientedDe=null};Ee.prototype.getCoordinate=function(){return this._minCoord};Ee.prototype.getRightmostSide=function(t,e){var n=this.getRightmostSideOfSegment(t,e);return n<0&&(n=this.getRightmostSideOfSegment(t,e-1)),n<0&&(this._minCoord=null,this.checkForRightmostCoordinate(t)),n};Ee.prototype.findRightmostEdgeAtVertex=function(){var t=this._minDe.getEdge().getCoordinates();O.isTrue(this._minIndex>0&&this._minIndex<t.length,"rightmost point expected to be interior vertex of edge");var e=t[this._minIndex-1],n=t[this._minIndex+1],r=v.computeOrientation(this._minCoord,n,e),i=!1;(e.y<this._minCoord.y&&n.y<this._minCoord.y&&r===v.COUNTERCLOCKWISE||e.y>this._minCoord.y&&n.y>this._minCoord.y&&r===v.CLOCKWISE)&&(i=!0),i&&(this._minIndex=this._minIndex-1)};Ee.prototype.getRightmostSideOfSegment=function(t,e){var n=t.getEdge(),r=n.getCoordinates();if(e<0||e+1>=r.length||r[e].y===r[e+1].y)return-1;var i=y.LEFT;return r[e].y<r[e+1].y&&(i=y.RIGHT),i};Ee.prototype.getEdge=function(){return this._orientedDe};Ee.prototype.checkForRightmostCoordinate=function(t){for(var e=this,n=t.getEdge().getCoordinates(),r=0;r<n.length-1;r++)(e._minCoord===null||n[r].x>e._minCoord.x)&&(e._minDe=t,e._minIndex=r,e._minCoord=n[r])};Ee.prototype.findRightmostEdgeAtNode=function(){var t=this._minDe.getNode(),e=t.getEdges();this._minDe=e.getRightmostEdge(),this._minDe.isForward()||(this._minDe=this._minDe.getSym(),this._minIndex=this._minDe.getEdge().getCoordinates().length-1)};Ee.prototype.findEdge=function(t){for(var e=this,n=t.iterator();n.hasNext();){var r=n.next();r.isForward()&&e.checkForRightmostCoordinate(r)}O.isTrue(this._minIndex!==0||this._minCoord.equals(this._minDe.getCoordinate()),"inconsistency in rightmost processing"),this._minIndex===0?this.findRightmostEdgeAtNode():this.findRightmostEdgeAtVertex(),this._orientedDe=this._minDe;var i=this.getRightmostSide(this._minDe,this._minIndex);i===y.LEFT&&(this._orientedDe=this._minDe.getSym())};Ee.prototype.interfaces_=function(){return[]};Ee.prototype.getClass=function(){return Ee};var Ke=function(t){function e(n,r){t.call(this,e.msgWithCoord(n,r)),this.pt=r?new c(r):null,this.name="TopologyException"}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getCoordinate=function(){return this.pt},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.msgWithCoord=function(n,r){return r?n:n+" [ "+r+" ]"},e}(He),Hr=function(){this.array_=[]};Hr.prototype.addLast=function(t){this.array_.push(t)};Hr.prototype.removeFirst=function(){return this.array_.shift()};Hr.prototype.isEmpty=function(){return this.array_.length===0};var Lt=function(){this._finder=null,this._dirEdgeList=new _,this._nodes=new _,this._rightMostCoord=null,this._env=null,this._finder=new Ee};Lt.prototype.clearVisitedEdges=function(){for(var t=this._dirEdgeList.iterator();t.hasNext();){var e=t.next();e.setVisited(!1)}};Lt.prototype.getRightmostCoordinate=function(){return this._rightMostCoord};Lt.prototype.computeNodeDepth=function(t){for(var e=this,n=null,r=t.getEdges().iterator();r.hasNext();){var i=r.next();if(i.isVisited()||i.getSym().isVisited()){n=i;break}}if(n===null)throw new Ke("unable to find edge to compute depths at "+t.getCoordinate());t.getEdges().computeDepths(n);for(var o=t.getEdges().iterator();o.hasNext();){var s=o.next();s.setVisited(!0),e.copySymDepths(s)}};Lt.prototype.computeDepth=function(t){this.clearVisitedEdges();var e=this._finder.getEdge();e.setEdgeDepths(y.RIGHT,t),this.copySymDepths(e),this.computeDepths(e)};Lt.prototype.create=function(t){this.addReachable(t),this._finder.findEdge(this._dirEdgeList),this._rightMostCoord=this._finder.getCoordinate()};Lt.prototype.findResultEdges=function(){for(var t=this._dirEdgeList.iterator();t.hasNext();){var e=t.next();e.getDepth(y.RIGHT)>=1&&e.getDepth(y.LEFT)<=0&&!e.isInteriorAreaEdge()&&e.setInResult(!0)}};Lt.prototype.computeDepths=function(t){var e=this,n=new ei,r=new Hr,i=t.getNode();for(r.addLast(i),n.add(i),t.setVisited(!0);!r.isEmpty();){var o=r.removeFirst();n.add(o),e.computeNodeDepth(o);for(var s=o.getEdges().iterator();s.hasNext();){var a=s.next(),u=a.getSym();if(!u.isVisited()){var l=u.getNode();n.contains(l)||(r.addLast(l),n.add(l))}}}};Lt.prototype.compareTo=function(t){var e=t;return this._rightMostCoord.x<e._rightMostCoord.x?-1:this._rightMostCoord.x>e._rightMostCoord.x?1:0};Lt.prototype.getEnvelope=function(){if(this._env===null){for(var t=new N,e=this._dirEdgeList.iterator();e.hasNext();)for(var n=e.next(),r=n.getEdge().getCoordinates(),i=0;i<r.length-1;i++)t.expandToInclude(r[i]);this._env=t}return this._env};Lt.prototype.addReachable=function(t){var e=this,n=new we;for(n.add(t);!n.empty();){var r=n.pop();e.add(r,n)}};Lt.prototype.copySymDepths=function(t){var e=t.getSym();e.setDepth(y.LEFT,t.getDepth(y.RIGHT)),e.setDepth(y.RIGHT,t.getDepth(y.LEFT))};Lt.prototype.add=function(t,e){var n=this;t.setVisited(!0),this._nodes.add(t);for(var r=t.getEdges().iterator();r.hasNext();){var i=r.next();n._dirEdgeList.add(i);var o=i.getSym(),s=o.getNode();s.isVisited()||e.push(s)}};Lt.prototype.getNodes=function(){return this._nodes};Lt.prototype.getDirectedEdges=function(){return this._dirEdgeList};Lt.prototype.interfaces_=function(){return[$t]};Lt.prototype.getClass=function(){return Lt};var X=function t(){var e=this;if(this.location=null,arguments.length===1){if(arguments[0]instanceof Array){var n=arguments[0];this.init(n.length)}else if(Number.isInteger(arguments[0])){var r=arguments[0];this.init(1),this.location[y.ON]=r}else if(arguments[0]instanceof t){var i=arguments[0];if(this.init(i.location.length),i!==null)for(var o=0;o<this.location.length;o++)e.location[o]=i.location[o]}}else if(arguments.length===3){var s=arguments[0],a=arguments[1],u=arguments[2];this.init(3),this.location[y.ON]=s,this.location[y.LEFT]=a,this.location[y.RIGHT]=u}};X.prototype.setAllLocations=function(t){for(var e=this,n=0;n<this.location.length;n++)e.location[n]=t};X.prototype.isNull=function(){for(var t=this,e=0;e<this.location.length;e++)if(t.location[e]!==h.NONE)return!1;return!0};X.prototype.setAllLocationsIfNull=function(t){for(var e=this,n=0;n<this.location.length;n++)e.location[n]===h.NONE&&(e.location[n]=t)};X.prototype.isLine=function(){return this.location.length===1};X.prototype.merge=function(t){var e=this;if(t.location.length>this.location.length){var n=new Array(3).fill(null);n[y.ON]=this.location[y.ON],n[y.LEFT]=h.NONE,n[y.RIGHT]=h.NONE,this.location=n}for(var r=0;r<this.location.length;r++)e.location[r]===h.NONE&&r<t.location.length&&(e.location[r]=t.location[r])};X.prototype.getLocations=function(){return this.location};X.prototype.flip=function(){if(this.location.length<=1)return null;var t=this.location[y.LEFT];this.location[y.LEFT]=this.location[y.RIGHT],this.location[y.RIGHT]=t};X.prototype.toString=function(){var t=new be;return this.location.length>1&&t.append(h.toLocationSymbol(this.location[y.LEFT])),t.append(h.toLocationSymbol(this.location[y.ON])),this.location.length>1&&t.append(h.toLocationSymbol(this.location[y.RIGHT])),t.toString()};X.prototype.setLocations=function(t,e,n){this.location[y.ON]=t,this.location[y.LEFT]=e,this.location[y.RIGHT]=n};X.prototype.get=function(t){return t<this.location.length?this.location[t]:h.NONE};X.prototype.isArea=function(){return this.location.length>1};X.prototype.isAnyNull=function(){for(var t=this,e=0;e<this.location.length;e++)if(t.location[e]===h.NONE)return!0;return!1};X.prototype.setLocation=function(){if(arguments.length===1){var t=arguments[0];this.setLocation(y.ON,t)}else if(arguments.length===2){var e=arguments[0],n=arguments[1];this.location[e]=n}};X.prototype.init=function(t){this.location=new Array(t).fill(null),this.setAllLocations(h.NONE)};X.prototype.isEqualOnSide=function(t,e){return this.location[e]===t.location[e]};X.prototype.allPositionsEqual=function(t){for(var e=this,n=0;n<this.location.length;n++)if(e.location[n]!==t)return!1;return!0};X.prototype.interfaces_=function(){return[]};X.prototype.getClass=function(){return X};var V=function t(){if(this.elt=new Array(2).fill(null),arguments.length===1){if(Number.isInteger(arguments[0])){var e=arguments[0];this.elt[0]=new X(e),this.elt[1]=new X(e)}else if(arguments[0]instanceof t){var n=arguments[0];this.elt[0]=new X(n.elt[0]),this.elt[1]=new X(n.elt[1])}}else if(arguments.length===2){var r=arguments[0],i=arguments[1];this.elt[0]=new X(h.NONE),this.elt[1]=new X(h.NONE),this.elt[r].setLocation(i)}else if(arguments.length===3){var o=arguments[0],s=arguments[1],a=arguments[2];this.elt[0]=new X(o,s,a),this.elt[1]=new X(o,s,a)}else if(arguments.length===4){var u=arguments[0],l=arguments[1],p=arguments[2],g=arguments[3];this.elt[0]=new X(h.NONE,h.NONE,h.NONE),this.elt[1]=new X(h.NONE,h.NONE,h.NONE),this.elt[u].setLocations(l,p,g)}};V.prototype.getGeometryCount=function(){var t=0;return this.elt[0].isNull()||t++,this.elt[1].isNull()||t++,t};V.prototype.setAllLocations=function(t,e){this.elt[t].setAllLocations(e)};V.prototype.isNull=function(t){return this.elt[t].isNull()};V.prototype.setAllLocationsIfNull=function(){if(arguments.length===1){var t=arguments[0];this.setAllLocationsIfNull(0,t),this.setAllLocationsIfNull(1,t)}else if(arguments.length===2){var e=arguments[0],n=arguments[1];this.elt[e].setAllLocationsIfNull(n)}};V.prototype.isLine=function(t){return this.elt[t].isLine()};V.prototype.merge=function(t){for(var e=this,n=0;n<2;n++)e.elt[n]===null&&t.elt[n]!==null?e.elt[n]=new X(t.elt[n]):e.elt[n].merge(t.elt[n])};V.prototype.flip=function(){this.elt[0].flip(),this.elt[1].flip()};V.prototype.getLocation=function(){if(arguments.length===1){var t=arguments[0];return this.elt[t].get(y.ON)}else if(arguments.length===2){var e=arguments[0],n=arguments[1];return this.elt[e].get(n)}};V.prototype.toString=function(){var t=new be;return this.elt[0]!==null&&(t.append("A:"),t.append(this.elt[0].toString())),this.elt[1]!==null&&(t.append(" B:"),t.append(this.elt[1].toString())),t.toString()};V.prototype.isArea=function(){if(arguments.length===0)return this.elt[0].isArea()||this.elt[1].isArea();if(arguments.length===1){var t=arguments[0];return this.elt[t].isArea()}};V.prototype.isAnyNull=function(t){return this.elt[t].isAnyNull()};V.prototype.setLocation=function(){if(arguments.length===2){var t=arguments[0],e=arguments[1];this.elt[t].setLocation(y.ON,e)}else if(arguments.length===3){var n=arguments[0],r=arguments[1],i=arguments[2];this.elt[n].setLocation(r,i)}};V.prototype.isEqualOnSide=function(t,e){return this.elt[0].isEqualOnSide(t.elt[0],e)&&this.elt[1].isEqualOnSide(t.elt[1],e)};V.prototype.allPositionsEqual=function(t,e){return this.elt[t].allPositionsEqual(e)};V.prototype.toLine=function(t){this.elt[t].isArea()&&(this.elt[t]=new X(this.elt[t].location[0]))};V.prototype.interfaces_=function(){return[]};V.prototype.getClass=function(){return V};V.toLineLabel=function(t){for(var e=new V(h.NONE),n=0;n<2;n++)e.setLocation(n,t.getLocation(n));return e};var nt=function(){this._startDe=null,this._maxNodeDegree=-1,this._edges=new _,this._pts=new _,this._label=new V(h.NONE),this._ring=null,this._isHole=null,this._shell=null,this._holes=new _,this._geometryFactory=null;var t=arguments[0],e=arguments[1];this._geometryFactory=e,this.computePoints(t),this.computeRing()};nt.prototype.computeRing=function(){var t=this;if(this._ring!==null)return null;for(var e=new Array(this._pts.size()).fill(null),n=0;n<this._pts.size();n++)e[n]=t._pts.get(n);this._ring=this._geometryFactory.createLinearRing(e),this._isHole=v.isCCW(this._ring.getCoordinates())};nt.prototype.isIsolated=function(){return this._label.getGeometryCount()===1};nt.prototype.computePoints=function(t){var e=this;this._startDe=t;var n=t,r=!0;do{if(n===null)throw new Ke("Found null DirectedEdge");if(n.getEdgeRing()===e)throw new Ke("Directed Edge visited twice during ring-building at "+n.getCoordinate());e._edges.add(n);var i=n.getLabel();O.isTrue(i.isArea()),e.mergeLabel(i),e.addPoints(n.getEdge(),n.isForward(),r),r=!1,e.setEdgeRing(n,e),n=e.getNext(n)}while(n!==this._startDe)};nt.prototype.getLinearRing=function(){return this._ring};nt.prototype.getCoordinate=function(t){return this._pts.get(t)};nt.prototype.computeMaxNodeDegree=function(){var t=this;this._maxNodeDegree=0;var e=this._startDe;do{var n=e.getNode(),r=n.getEdges().getOutgoingDegree(t);r>t._maxNodeDegree&&(t._maxNodeDegree=r),e=t.getNext(e)}while(e!==this._startDe);this._maxNodeDegree*=2};nt.prototype.addPoints=function(t,e,n){var r=this,i=t.getCoordinates();if(e){var o=1;n&&(o=0);for(var s=o;s<i.length;s++)r._pts.add(i[s])}else{var a=i.length-2;n&&(a=i.length-1);for(var u=a;u>=0;u--)r._pts.add(i[u])}};nt.prototype.isHole=function(){return this._isHole};nt.prototype.setInResult=function(){var t=this._startDe;do t.getEdge().setInResult(!0),t=t.getNext();while(t!==this._startDe)};nt.prototype.containsPoint=function(t){var e=this.getLinearRing(),n=e.getEnvelopeInternal();if(!n.contains(t)||!v.isPointInRing(t,e.getCoordinates()))return!1;for(var r=this._holes.iterator();r.hasNext();){var i=r.next();if(i.containsPoint(t))return!1}return!0};nt.prototype.addHole=function(t){this._holes.add(t)};nt.prototype.isShell=function(){return this._shell===null};nt.prototype.getLabel=function(){return this._label};nt.prototype.getEdges=function(){return this._edges};nt.prototype.getMaxNodeDegree=function(){return this._maxNodeDegree<0&&this.computeMaxNodeDegree(),this._maxNodeDegree};nt.prototype.getShell=function(){return this._shell};nt.prototype.mergeLabel=function(){if(arguments.length===1){var t=arguments[0];this.mergeLabel(t,0),this.mergeLabel(t,1)}else if(arguments.length===2){var e=arguments[0],n=arguments[1],r=e.getLocation(n,y.RIGHT);if(r===h.NONE)return null;if(this._label.getLocation(n)===h.NONE)return this._label.setLocation(n,r),null}};nt.prototype.setShell=function(t){this._shell=t,t!==null&&t.addHole(this)};nt.prototype.toPolygon=function(t){for(var e=this,n=new Array(this._holes.size()).fill(null),r=0;r<this._holes.size();r++)n[r]=e._holes.get(r).getLinearRing();var i=t.createPolygon(this.getLinearRing(),n);return i};nt.prototype.interfaces_=function(){return[]};nt.prototype.getClass=function(){return nt};var lo=function(t){function e(){var n=arguments[0],r=arguments[1];t.call(this,n,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setEdgeRing=function(n,r){n.setMinEdgeRing(r)},e.prototype.getNext=function(n){return n.getNextMin()},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(nt),po=function(t){function e(){var n=arguments[0],r=arguments[1];t.call(this,n,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.buildMinimalRings=function(){var n=this,r=new _,i=this._startDe;do{if(i.getMinEdgeRing()===null){var o=new lo(i,n._geometryFactory);r.add(o)}i=i.getNext()}while(i!==this._startDe);return r},e.prototype.setEdgeRing=function(n,r){n.setEdgeRing(r)},e.prototype.linkDirectedEdgesForMinimalEdgeRings=function(){var n=this,r=this._startDe;do{var i=r.getNode();i.getEdges().linkMinimalDirectedEdges(n),r=r.getNext()}while(r!==this._startDe)},e.prototype.getNext=function(n){return n.getNext()},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(nt),Xt=function(){if(this._label=null,this._isInResult=!1,this._isCovered=!1,this._isCoveredSet=!1,this._isVisited=!1,arguments.length!==0&&arguments.length===1){var t=arguments[0];this._label=t}};Xt.prototype.setVisited=function(t){this._isVisited=t};Xt.prototype.setInResult=function(t){this._isInResult=t};Xt.prototype.isCovered=function(){return this._isCovered};Xt.prototype.isCoveredSet=function(){return this._isCoveredSet};Xt.prototype.setLabel=function(t){this._label=t};Xt.prototype.getLabel=function(){return this._label};Xt.prototype.setCovered=function(t){this._isCovered=t,this._isCoveredSet=!0};Xt.prototype.updateIM=function(t){O.isTrue(this._label.getGeometryCount()>=2,"found partial label"),this.computeIM(t)};Xt.prototype.isInResult=function(){return this._isInResult};Xt.prototype.isVisited=function(){return this._isVisited};Xt.prototype.interfaces_=function(){return[]};Xt.prototype.getClass=function(){return Xt};var Wr=function(t){function e(){t.call(this),this._coord=null,this._edges=null;var n=arguments[0],r=arguments[1];this._coord=n,this._edges=r,this._label=new V(0,h.NONE)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.isIncidentEdgeInResult=function(){for(var n=this.getEdges().getEdges().iterator();n.hasNext();){var r=n.next();if(r.getEdge().isInResult())return!0}return!1},e.prototype.isIsolated=function(){return this._label.getGeometryCount()===1},e.prototype.getCoordinate=function(){return this._coord},e.prototype.print=function(n){n.println("node "+this._coord+" lbl: "+this._label)},e.prototype.computeIM=function(n){},e.prototype.computeMergedLocation=function(n,r){var i=h.NONE;if(i=this._label.getLocation(r),!n.isNull(r)){var o=n.getLocation(r);i!==h.BOUNDARY&&(i=o)}return i},e.prototype.setLabel=function(){if(arguments.length===2){var n=arguments[0],r=arguments[1];this._label===null?this._label=new V(n,r):this._label.setLocation(n,r)}else return t.prototype.setLabel.apply(this,arguments)},e.prototype.getEdges=function(){return this._edges},e.prototype.mergeLabel=function(){var n=this;if(arguments[0]instanceof e){var r=arguments[0];this.mergeLabel(r._label)}else if(arguments[0]instanceof V)for(var i=arguments[0],o=0;o<2;o++){var s=n.computeMergedLocation(i,o),a=n._label.getLocation(o);a===h.NONE&&n._label.setLocation(o,s)}},e.prototype.add=function(n){this._edges.insert(n),n.setNode(this)},e.prototype.setLabelBoundary=function(n){if(this._label===null)return null;var r=h.NONE;this._label!==null&&(r=this._label.getLocation(n));var i=null;switch(r){case h.BOUNDARY:i=h.INTERIOR;break;case h.INTERIOR:i=h.BOUNDARY;break;default:i=h.BOUNDARY;break}this._label.setLocation(n,i)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Xt),Ne=function(){this.nodeMap=new mt,this.nodeFact=null;var t=arguments[0];this.nodeFact=t};Ne.prototype.find=function(t){return this.nodeMap.get(t)};Ne.prototype.addNode=function(){if(arguments[0]instanceof c){var t=arguments[0],e=this.nodeMap.get(t);return e===null&&(e=this.nodeFact.createNode(t),this.nodeMap.put(t,e)),e}else if(arguments[0]instanceof Wr){var n=arguments[0],r=this.nodeMap.get(n.getCoordinate());return r===null?(this.nodeMap.put(n.getCoordinate(),n),n):(r.mergeLabel(n),r)}};Ne.prototype.print=function(t){for(var e=this.iterator();e.hasNext();){var n=e.next();n.print(t)}};Ne.prototype.iterator=function(){return this.nodeMap.values().iterator()};Ne.prototype.values=function(){return this.nodeMap.values()};Ne.prototype.getBoundaryNodes=function(t){for(var e=new _,n=this.iterator();n.hasNext();){var r=n.next();r.getLabel().getLocation(t)===h.BOUNDARY&&e.add(r)}return e};Ne.prototype.add=function(t){var e=t.getCoordinate(),n=this.addNode(e);n.add(t)};Ne.prototype.interfaces_=function(){return[]};Ne.prototype.getClass=function(){return Ne};var U=function(){},Rr={NE:{configurable:!0},NW:{configurable:!0},SW:{configurable:!0},SE:{configurable:!0}};U.prototype.interfaces_=function(){return[]};U.prototype.getClass=function(){return U};U.isNorthern=function(t){return t===U.NE||t===U.NW};U.isOpposite=function(t,e){if(t===e)return!1;var n=(t-e+4)%4;return n===2};U.commonHalfPlane=function(t,e){if(t===e)return t;var n=(t-e+4)%4;if(n===2)return-1;var r=t<e?t:e,i=t>e?t:e;return r===0&&i===3?3:r};U.isInHalfPlane=function(t,e){return e===U.SE?t===U.SE||t===U.SW:t===e||t===e+1};U.quadrant=function(){if(typeof arguments[0]=="number"&&typeof arguments[1]=="number"){var t=arguments[0],e=arguments[1];if(t===0&&e===0)throw new Y("Cannot compute the quadrant for point ( "+t+", "+e+" )");return t>=0?e>=0?U.NE:U.SE:e>=0?U.NW:U.SW}else if(arguments[0]instanceof c&&arguments[1]instanceof c){var n=arguments[0],r=arguments[1];if(r.x===n.x&&r.y===n.y)throw new Y("Cannot compute the quadrant for two identical points "+n);return r.x>=n.x?r.y>=n.y?U.NE:U.SE:r.y>=n.y?U.NW:U.SW}};Rr.NE.get=function(){return 0};Rr.NW.get=function(){return 1};Rr.SW.get=function(){return 2};Rr.SE.get=function(){return 3};Object.defineProperties(U,Rr);var _t=function(){if(this._edge=null,this._label=null,this._node=null,this._p0=null,this._p1=null,this._dx=null,this._dy=null,this._quadrant=null,arguments.length===1){var t=arguments[0];this._edge=t}else if(arguments.length===3){var e=arguments[0],n=arguments[1],r=arguments[2],i=null;this._edge=e,this.init(n,r),this._label=i}else if(arguments.length===4){var o=arguments[0],s=arguments[1],a=arguments[2],u=arguments[3];this._edge=o,this.init(s,a),this._label=u}};_t.prototype.compareDirection=function(t){return this._dx===t._dx&&this._dy===t._dy?0:this._quadrant>t._quadrant?1:this._quadrant<t._quadrant?-1:v.computeOrientation(t._p0,t._p1,this._p1)};_t.prototype.getDy=function(){return this._dy};_t.prototype.getCoordinate=function(){return this._p0};_t.prototype.setNode=function(t){this._node=t};_t.prototype.print=function(t){var e=Math.atan2(this._dy,this._dx),n=this.getClass().getName(),r=n.lastIndexOf("."),i=n.substring(r+1);t.print(" "+i+": "+this._p0+" - "+this._p1+" "+this._quadrant+":"+e+" "+this._label)};_t.prototype.compareTo=function(t){var e=t;return this.compareDirection(e)};_t.prototype.getDirectedCoordinate=function(){return this._p1};_t.prototype.getDx=function(){return this._dx};_t.prototype.getLabel=function(){return this._label};_t.prototype.getEdge=function(){return this._edge};_t.prototype.getQuadrant=function(){return this._quadrant};_t.prototype.getNode=function(){return this._node};_t.prototype.toString=function(){var t=Math.atan2(this._dy,this._dx),e=this.getClass().getName(),n=e.lastIndexOf("."),r=e.substring(n+1);return" "+r+": "+this._p0+" - "+this._p1+" "+this._quadrant+":"+t+" "+this._label};_t.prototype.computeLabel=function(t){};_t.prototype.init=function(t,e){this._p0=t,this._p1=e,this._dx=e.x-t.x,this._dy=e.y-t.y,this._quadrant=U.quadrant(this._dx,this._dy),O.isTrue(!(this._dx===0&&this._dy===0),"EdgeEnd with identical endpoints found")};_t.prototype.interfaces_=function(){return[$t]};_t.prototype.getClass=function(){return _t};var Zr=function(t){function e(){var n=arguments[0],r=arguments[1];if(t.call(this,n),this._isForward=null,this._isInResult=!1,this._isVisited=!1,this._sym=null,this._next=null,this._nextMin=null,this._edgeRing=null,this._minEdgeRing=null,this._depth=[0,-999,-999],this._isForward=r,r)this.init(n.getCoordinate(0),n.getCoordinate(1));else{var i=n.getNumPoints()-1;this.init(n.getCoordinate(i),n.getCoordinate(i-1))}this.computeDirectedLabel()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getNextMin=function(){return this._nextMin},e.prototype.getDepth=function(n){return this._depth[n]},e.prototype.setVisited=function(n){this._isVisited=n},e.prototype.computeDirectedLabel=function(){this._label=new V(this._edge.getLabel()),this._isForward||this._label.flip()},e.prototype.getNext=function(){return this._next},e.prototype.setDepth=function(n,r){if(this._depth[n]!==-999&&this._depth[n]!==r)throw new Ke("assigned depths do not match",this.getCoordinate());this._depth[n]=r},e.prototype.isInteriorAreaEdge=function(){for(var n=this,r=!0,i=0;i<2;i++)n._label.isArea(i)&&n._label.getLocation(i,y.LEFT)===h.INTERIOR&&n._label.getLocation(i,y.RIGHT)===h.INTERIOR||(r=!1);return r},e.prototype.setNextMin=function(n){this._nextMin=n},e.prototype.print=function(n){t.prototype.print.call(this,n),n.print(" "+this._depth[y.LEFT]+"/"+this._depth[y.RIGHT]),n.print(" ("+this.getDepthDelta()+")"),this._isInResult&&n.print(" inResult")},e.prototype.setMinEdgeRing=function(n){this._minEdgeRing=n},e.prototype.isLineEdge=function(){var n=this._label.isLine(0)||this._label.isLine(1),r=!this._label.isArea(0)||this._label.allPositionsEqual(0,h.EXTERIOR),i=!this._label.isArea(1)||this._label.allPositionsEqual(1,h.EXTERIOR);return n&&r&&i},e.prototype.setEdgeRing=function(n){this._edgeRing=n},e.prototype.getMinEdgeRing=function(){return this._minEdgeRing},e.prototype.getDepthDelta=function(){var n=this._edge.getDepthDelta();return this._isForward||(n=-n),n},e.prototype.setInResult=function(n){this._isInResult=n},e.prototype.getSym=function(){return this._sym},e.prototype.isForward=function(){return this._isForward},e.prototype.getEdge=function(){return this._edge},e.prototype.printEdge=function(n){this.print(n),n.print(" "),this._isForward?this._edge.print(n):this._edge.printReverse(n)},e.prototype.setSym=function(n){this._sym=n},e.prototype.setVisitedEdge=function(n){this.setVisited(n),this._sym.setVisited(n)},e.prototype.setEdgeDepths=function(n,r){var i=this.getEdge().getDepthDelta();this._isForward||(i=-i);var o=1;n===y.LEFT&&(o=-1);var s=y.opposite(n),a=i*o,u=r+a;this.setDepth(n,r),this.setDepth(s,u)},e.prototype.getEdgeRing=function(){return this._edgeRing},e.prototype.isInResult=function(){return this._isInResult},e.prototype.setNext=function(n){this._next=n},e.prototype.isVisited=function(){return this._isVisited},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.depthFactor=function(n,r){return n===h.EXTERIOR&&r===h.INTERIOR?1:n===h.INTERIOR&&r===h.EXTERIOR?-1:0},e}(_t),Zn=function(){};Zn.prototype.createNode=function(t){return new Wr(t,null)};Zn.prototype.interfaces_=function(){return[]};Zn.prototype.getClass=function(){return Zn};var H=function(){if(this._edges=new _,this._nodes=null,this._edgeEndList=new _,arguments.length===0)this._nodes=new Ne(new Zn);else if(arguments.length===1){var t=arguments[0];this._nodes=new Ne(t)}};H.prototype.printEdges=function(t){var e=this;t.println("Edges:");for(var n=0;n<this._edges.size();n++){t.println("edge "+n+":");var r=e._edges.get(n);r.print(t),r.eiList.print(t)}};H.prototype.find=function(t){return this._nodes.find(t)};H.prototype.addNode=function(){if(arguments[0]instanceof Wr){var t=arguments[0];return this._nodes.addNode(t)}else if(arguments[0]instanceof c){var e=arguments[0];return this._nodes.addNode(e)}};H.prototype.getNodeIterator=function(){return this._nodes.iterator()};H.prototype.linkResultDirectedEdges=function(){for(var t=this._nodes.iterator();t.hasNext();){var e=t.next();e.getEdges().linkResultDirectedEdges()}};H.prototype.debugPrintln=function(t){ht.out.println(t)};H.prototype.isBoundaryNode=function(t,e){var n=this._nodes.find(e);if(n===null)return!1;var r=n.getLabel();return r!==null&&r.getLocation(t)===h.BOUNDARY};H.prototype.linkAllDirectedEdges=function(){for(var t=this._nodes.iterator();t.hasNext();){var e=t.next();e.getEdges().linkAllDirectedEdges()}};H.prototype.matchInSameDirection=function(t,e,n,r){return t.equals(n)?v.computeOrientation(t,e,r)===v.COLLINEAR&&U.quadrant(t,e)===U.quadrant(n,r):!1};H.prototype.getEdgeEnds=function(){return this._edgeEndList};H.prototype.debugPrint=function(t){ht.out.print(t)};H.prototype.getEdgeIterator=function(){return this._edges.iterator()};H.prototype.findEdgeInSameDirection=function(t,e){for(var n=this,r=0;r<this._edges.size();r++){var i=n._edges.get(r),o=i.getCoordinates();if(n.matchInSameDirection(t,e,o[0],o[1])||n.matchInSameDirection(t,e,o[o.length-1],o[o.length-2]))return i}return null};H.prototype.insertEdge=function(t){this._edges.add(t)};H.prototype.findEdgeEnd=function(t){for(var e=this.getEdgeEnds().iterator();e.hasNext();){var n=e.next();if(n.getEdge()===t)return n}return null};H.prototype.addEdges=function(t){for(var e=this,n=t.iterator();n.hasNext();){var r=n.next();e._edges.add(r);var i=new Zr(r,!0),o=new Zr(r,!1);i.setSym(o),o.setSym(i),e.add(i),e.add(o)}};H.prototype.add=function(t){this._nodes.add(t),this._edgeEndList.add(t)};H.prototype.getNodes=function(){return this._nodes.values()};H.prototype.findEdge=function(t,e){for(var n=this,r=0;r<this._edges.size();r++){var i=n._edges.get(r),o=i.getCoordinates();if(t.equals(o[0])&&e.equals(o[1]))return i}return null};H.prototype.interfaces_=function(){return[]};H.prototype.getClass=function(){return H};H.linkResultDirectedEdges=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();n.getEdges().linkResultDirectedEdges()}};var Gt=function(){this._geometryFactory=null,this._shellList=new _;var t=arguments[0];this._geometryFactory=t};Gt.prototype.sortShellsAndHoles=function(t,e,n){for(var r=t.iterator();r.hasNext();){var i=r.next();i.isHole()?n.add(i):e.add(i)}};Gt.prototype.computePolygons=function(t){for(var e=this,n=new _,r=t.iterator();r.hasNext();){var i=r.next(),o=i.toPolygon(e._geometryFactory);n.add(o)}return n};Gt.prototype.placeFreeHoles=function(t,e){for(var n=this,r=e.iterator();r.hasNext();){var i=r.next();if(i.getShell()===null){var o=n.findEdgeRingContaining(i,t);if(o===null)throw new Ke("unable to assign hole to a shell",i.getCoordinate(0));i.setShell(o)}}};Gt.prototype.buildMinimalEdgeRings=function(t,e,n){for(var r=this,i=new _,o=t.iterator();o.hasNext();){var s=o.next();if(s.getMaxNodeDegree()>2){s.linkDirectedEdgesForMinimalEdgeRings();var a=s.buildMinimalRings(),u=r.findShell(a);u!==null?(r.placePolygonHoles(u,a),e.add(u)):n.addAll(a)}else i.add(s)}return i};Gt.prototype.containsPoint=function(t){for(var e=this._shellList.iterator();e.hasNext();){var n=e.next();if(n.containsPoint(t))return!0}return!1};Gt.prototype.buildMaximalEdgeRings=function(t){for(var e=this,n=new _,r=t.iterator();r.hasNext();){var i=r.next();if(i.isInResult()&&i.getLabel().isArea()&&i.getEdgeRing()===null){var o=new po(i,e._geometryFactory);n.add(o),o.setInResult()}}return n};Gt.prototype.placePolygonHoles=function(t,e){for(var n=e.iterator();n.hasNext();){var r=n.next();r.isHole()&&r.setShell(t)}};Gt.prototype.getPolygons=function(){var t=this.computePolygons(this._shellList);return t};Gt.prototype.findEdgeRingContaining=function(t,e){for(var n=t.getLinearRing(),r=n.getEnvelopeInternal(),i=n.getCoordinateN(0),o=null,s=null,a=e.iterator();a.hasNext();){var u=a.next(),l=u.getLinearRing(),p=l.getEnvelopeInternal();o!==null&&(s=o.getLinearRing().getEnvelopeInternal());var g=!1;p.contains(r)&&v.isPointInRing(i,l.getCoordinates())&&(g=!0),g&&(o===null||s.contains(p))&&(o=u)}return o};Gt.prototype.findShell=function(t){for(var e=0,n=null,r=t.iterator();r.hasNext();){var i=r.next();i.isHole()||(n=i,e++)}return O.isTrue(e<=1,"found two shells in MinimalEdgeRing list"),n};Gt.prototype.add=function(){if(arguments.length===1){var t=arguments[0];this.add(t.getEdgeEnds(),t.getNodes())}else if(arguments.length===2){var e=arguments[0],n=arguments[1];H.linkResultDirectedEdges(n);var r=this.buildMaximalEdgeRings(e),i=new _,o=this.buildMinimalEdgeRings(r,this._shellList,i);this.sortShellsAndHoles(o,this._shellList,i),this.placeFreeHoles(this._shellList,i)}};Gt.prototype.interfaces_=function(){return[]};Gt.prototype.getClass=function(){return Gt};var $n=function(){};$n.prototype.getBounds=function(){};$n.prototype.interfaces_=function(){return[]};$n.prototype.getClass=function(){return $n};var oe=function(){this._bounds=null,this._item=null;var t=arguments[0],e=arguments[1];this._bounds=t,this._item=e};oe.prototype.getItem=function(){return this._item};oe.prototype.getBounds=function(){return this._bounds};oe.prototype.interfaces_=function(){return[$n,te]};oe.prototype.getClass=function(){return oe};var Je=function(){this._size=null,this._items=null,this._size=0,this._items=new _,this._items.add(null)};Je.prototype.poll=function(){if(this.isEmpty())return null;var t=this._items.get(1);return this._items.set(1,this._items.get(this._size)),this._size-=1,this.reorder(1),t};Je.prototype.size=function(){return this._size};Je.prototype.reorder=function(t){for(var e=this,n=null,r=this._items.get(t);t*2<=this._size&&(n=t*2,n!==e._size&&e._items.get(n+1).compareTo(e._items.get(n))<0&&n++,e._items.get(n).compareTo(r)<0);t=n)e._items.set(t,e._items.get(n));this._items.set(t,r)};Je.prototype.clear=function(){this._size=0,this._items.clear()};Je.prototype.isEmpty=function(){return this._size===0};Je.prototype.add=function(t){var e=this;this._items.add(null),this._size+=1;var n=this._size;for(this._items.set(0,t);t.compareTo(this._items.get(Math.trunc(n/2)))<0;n/=2)e._items.set(n,e._items.get(Math.trunc(n/2)));this._items.set(n,t)};Je.prototype.interfaces_=function(){return[]};Je.prototype.getClass=function(){return Je};var on=function(){};on.prototype.visitItem=function(t){};on.prototype.interfaces_=function(){return[]};on.prototype.getClass=function(){return on};var wn=function(){};wn.prototype.insert=function(t,e){};wn.prototype.remove=function(t,e){};wn.prototype.query=function(){};wn.prototype.interfaces_=function(){return[]};wn.prototype.getClass=function(){return wn};var it=function(){if(this._childBoundables=new _,this._bounds=null,this._level=null,arguments.length!==0&&arguments.length===1){var t=arguments[0];this._level=t}},Pi={serialVersionUID:{configurable:!0}};it.prototype.getLevel=function(){return this._level};it.prototype.size=function(){return this._childBoundables.size()};it.prototype.getChildBoundables=function(){return this._childBoundables};it.prototype.addChildBoundable=function(t){O.isTrue(this._bounds===null),this._childBoundables.add(t)};it.prototype.isEmpty=function(){return this._childBoundables.isEmpty()};it.prototype.getBounds=function(){return this._bounds===null&&(this._bounds=this.computeBounds()),this._bounds};it.prototype.interfaces_=function(){return[$n,te]};it.prototype.getClass=function(){return it};Pi.serialVersionUID.get=function(){return 6493722185909574e3};Object.defineProperties(it,Pi);var se=function(){};se.reverseOrder=function(){return{compare:function(t,e){return e.compareTo(t)}}};se.min=function(t){return se.sort(t),t.get(0)};se.sort=function(t,e){var n=t.toArray();e?fn.sort(n,e):fn.sort(n);for(var r=t.iterator(),i=0,o=n.length;i<o;i++)r.next(),r.set(n[i])};se.singletonList=function(t){var e=new _;return e.add(t),e};var tt=function(){this._boundable1=null,this._boundable2=null,this._distance=null,this._itemDistance=null;var t=arguments[0],e=arguments[1],n=arguments[2];this._boundable1=t,this._boundable2=e,this._itemDistance=n,this._distance=this.distance()};tt.prototype.expandToQueue=function(t,e){var n=tt.isComposite(this._boundable1),r=tt.isComposite(this._boundable2);if(n&&r)return tt.area(this._boundable1)>tt.area(this._boundable2)?(this.expand(this._boundable1,this._boundable2,t,e),null):(this.expand(this._boundable2,this._boundable1,t,e),null);if(n)return this.expand(this._boundable1,this._boundable2,t,e),null;if(r)return this.expand(this._boundable2,this._boundable1,t,e),null;throw new Y("neither boundable is composite")};tt.prototype.isLeaves=function(){return!(tt.isComposite(this._boundable1)||tt.isComposite(this._boundable2))};tt.prototype.compareTo=function(t){var e=t;return this._distance<e._distance?-1:this._distance>e._distance?1:0};tt.prototype.expand=function(t,e,n,r){for(var i=this,o=t.getChildBoundables(),s=o.iterator();s.hasNext();){var a=s.next(),u=new tt(a,e,i._itemDistance);u.getDistance()<r&&n.add(u)}};tt.prototype.getBoundable=function(t){return t===0?this._boundable1:this._boundable2};tt.prototype.getDistance=function(){return this._distance};tt.prototype.distance=function(){return this.isLeaves()?this._itemDistance.distance(this._boundable1,this._boundable2):this._boundable1.getBounds().distance(this._boundable2.getBounds())};tt.prototype.interfaces_=function(){return[$t]};tt.prototype.getClass=function(){return tt};tt.area=function(t){return t.getBounds().getArea()};tt.isComposite=function(t){return t instanceof it};var st=function t(){if(this._root=null,this._built=!1,this._itemBoundables=new _,this._nodeCapacity=null,arguments.length===0){var e=t.DEFAULT_NODE_CAPACITY;this._nodeCapacity=e}else if(arguments.length===1){var n=arguments[0];O.isTrue(n>1,"Node capacity must be greater than 1"),this._nodeCapacity=n}},Kr={IntersectsOp:{configurable:!0},serialVersionUID:{configurable:!0},DEFAULT_NODE_CAPACITY:{configurable:!0}};st.prototype.getNodeCapacity=function(){return this._nodeCapacity};st.prototype.lastNode=function(t){return t.get(t.size()-1)};st.prototype.size=function(){var t=this;if(arguments.length===0)return this.isEmpty()?0:(this.build(),this.size(this._root));if(arguments.length===1){for(var e=arguments[0],n=0,r=e.getChildBoundables().iterator();r.hasNext();){var i=r.next();i instanceof it?n+=t.size(i):i instanceof oe&&(n+=1)}return n}};st.prototype.removeItem=function(t,e){for(var n=null,r=t.getChildBoundables().iterator();r.hasNext();){var i=r.next();i instanceof oe&&i.getItem()===e&&(n=i)}return n!==null?(t.getChildBoundables().remove(n),!0):!1};st.prototype.itemsTree=function(){var t=this;if(arguments.length===0){this.build();var e=this.itemsTree(this._root);return e===null?new _:e}else if(arguments.length===1){for(var n=arguments[0],r=new _,i=n.getChildBoundables().iterator();i.hasNext();){var o=i.next();if(o instanceof it){var s=t.itemsTree(o);s!==null&&r.add(s)}else o instanceof oe?r.add(o.getItem()):O.shouldNeverReachHere()}return r.size()<=0?null:r}};st.prototype.insert=function(t,e){O.isTrue(!this._built,"Cannot insert items into an STR packed R-tree after it has been built."),this._itemBoundables.add(new oe(t,e))};st.prototype.boundablesAtLevel=function(){var t=this;if(arguments.length===1){var e=arguments[0],n=new _;return this.boundablesAtLevel(e,this._root,n),n}else if(arguments.length===3){var r=arguments[0],i=arguments[1],o=arguments[2];if(O.isTrue(r>-2),i.getLevel()===r)return o.add(i),null;for(var s=i.getChildBoundables().iterator();s.hasNext();){var a=s.next();a instanceof it?t.boundablesAtLevel(r,a,o):(O.isTrue(a instanceof oe),r===-1&&o.add(a))}return null}};st.prototype.query=function(){var t=this;if(arguments.length===1){var e=arguments[0];this.build();var n=new _;return this.isEmpty()||this.getIntersectsOp().intersects(this._root.getBounds(),e)&&this.query(e,this._root,n),n}else if(arguments.length===2){var r=arguments[0],i=arguments[1];if(this.build(),this.isEmpty())return null;this.getIntersectsOp().intersects(this._root.getBounds(),r)&&this.query(r,this._root,i)}else if(arguments.length===3){if(L(arguments[2],on)&&arguments[0]instanceof Object&&arguments[1]instanceof it)for(var o=arguments[0],s=arguments[1],a=arguments[2],u=s.getChildBoundables(),l=0;l<u.size();l++){var p=u.get(l);t.getIntersectsOp().intersects(p.getBounds(),o)&&(p instanceof it?t.query(o,p,a):p instanceof oe?a.visitItem(p.getItem()):O.shouldNeverReachHere())}else if(L(arguments[2],ne)&&arguments[0]instanceof Object&&arguments[1]instanceof it)for(var g=arguments[0],d=arguments[1],m=arguments[2],I=d.getChildBoundables(),E=0;E<I.size();E++){var C=I.get(E);t.getIntersectsOp().intersects(C.getBounds(),g)&&(C instanceof it?t.query(g,C,m):C instanceof oe?m.add(C.getItem()):O.shouldNeverReachHere())}}};st.prototype.build=function(){if(this._built)return null;this._root=this._itemBoundables.isEmpty()?this.createNode(0):this.createHigherLevels(this._itemBoundables,-1),this._itemBoundables=null,this._built=!0};st.prototype.getRoot=function(){return this.build(),this._root};st.prototype.remove=function(){var t=this;if(arguments.length===2){var e=arguments[0],n=arguments[1];return this.build(),this.getIntersectsOp().intersects(this._root.getBounds(),e)?this.remove(e,this._root,n):!1}else if(arguments.length===3){var r=arguments[0],i=arguments[1],o=arguments[2],s=this.removeItem(i,o);if(s)return!0;for(var a=null,u=i.getChildBoundables().iterator();u.hasNext();){var l=u.next();if(t.getIntersectsOp().intersects(l.getBounds(),r)&&l instanceof it&&(s=t.remove(r,l,o),s)){a=l;break}}return a!==null&&a.getChildBoundables().isEmpty()&&i.getChildBoundables().remove(a),s}};st.prototype.createHigherLevels=function(t,e){O.isTrue(!t.isEmpty());var n=this.createParentBoundables(t,e+1);return n.size()===1?n.get(0):this.createHigherLevels(n,e+1)};st.prototype.depth=function(){var t=this;if(arguments.length===0)return this.isEmpty()?0:(this.build(),this.depth(this._root));if(arguments.length===1){for(var e=arguments[0],n=0,r=e.getChildBoundables().iterator();r.hasNext();){var i=r.next();if(i instanceof it){var o=t.depth(i);o>n&&(n=o)}}return n+1}};st.prototype.createParentBoundables=function(t,e){var n=this;O.isTrue(!t.isEmpty());var r=new _;r.add(this.createNode(e));var i=new _(t);se.sort(i,this.getComparator());for(var o=i.iterator();o.hasNext();){var s=o.next();n.lastNode(r).getChildBoundables().size()===n.getNodeCapacity()&&r.add(n.createNode(e)),n.lastNode(r).addChildBoundable(s)}return r};st.prototype.isEmpty=function(){return this._built?this._root.isEmpty():this._itemBoundables.isEmpty()};st.prototype.interfaces_=function(){return[te]};st.prototype.getClass=function(){return st};st.compareDoubles=function(t,e){return t>e?1:t<e?-1:0};Kr.IntersectsOp.get=function(){return co};Kr.serialVersionUID.get=function(){return-3886435814360241e3};Kr.DEFAULT_NODE_CAPACITY.get=function(){return 10};Object.defineProperties(st,Kr);var co=function(){},tr=function(){};tr.prototype.distance=function(t,e){};tr.prototype.interfaces_=function(){return[]};tr.prototype.getClass=function(){return tr};var Di=function(t){function e(r){r=r||e.DEFAULT_NODE_CAPACITY,t.call(this,r)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={STRtreeNode:{configurable:!0},serialVersionUID:{configurable:!0},xComparator:{configurable:!0},yComparator:{configurable:!0},intersectsOp:{configurable:!0},DEFAULT_NODE_CAPACITY:{configurable:!0}};return e.prototype.createParentBoundablesFromVerticalSlices=function(r,i){var o=this;O.isTrue(r.length>0);for(var s=new _,a=0;a<r.length;a++)s.addAll(o.createParentBoundablesFromVerticalSlice(r[a],i));return s},e.prototype.createNode=function(r){return new Ii(r)},e.prototype.size=function(){return arguments.length===0?t.prototype.size.call(this):t.prototype.size.apply(this,arguments)},e.prototype.insert=function(){if(arguments.length===2){var r=arguments[0],i=arguments[1];if(r.isNull())return null;t.prototype.insert.call(this,r,i)}else return t.prototype.insert.apply(this,arguments)},e.prototype.getIntersectsOp=function(){return e.intersectsOp},e.prototype.verticalSlices=function(r,i){for(var o=Math.trunc(Math.ceil(r.size()/i)),s=new Array(i).fill(null),a=r.iterator(),u=0;u<i;u++){s[u]=new _;for(var l=0;a.hasNext()&&l<o;){var p=a.next();s[u].add(p),l++}}return s},e.prototype.query=function(){if(arguments.length===1){var r=arguments[0];return t.prototype.query.call(this,r)}else if(arguments.length===2){var i=arguments[0],o=arguments[1];t.prototype.query.call(this,i,o)}else if(arguments.length===3){if(L(arguments[2],on)&&arguments[0]instanceof Object&&arguments[1]instanceof it){var s=arguments[0],a=arguments[1],u=arguments[2];t.prototype.query.call(this,s,a,u)}else if(L(arguments[2],ne)&&arguments[0]instanceof Object&&arguments[1]instanceof it){var l=arguments[0],p=arguments[1],g=arguments[2];t.prototype.query.call(this,l,p,g)}}},e.prototype.getComparator=function(){return e.yComparator},e.prototype.createParentBoundablesFromVerticalSlice=function(r,i){return t.prototype.createParentBoundables.call(this,r,i)},e.prototype.remove=function(){if(arguments.length===2){var r=arguments[0],i=arguments[1];return t.prototype.remove.call(this,r,i)}else return t.prototype.remove.apply(this,arguments)},e.prototype.depth=function(){return arguments.length===0?t.prototype.depth.call(this):t.prototype.depth.apply(this,arguments)},e.prototype.createParentBoundables=function(r,i){O.isTrue(!r.isEmpty());var o=Math.trunc(Math.ceil(r.size()/this.getNodeCapacity())),s=new _(r);se.sort(s,e.xComparator);var a=this.verticalSlices(s,Math.trunc(Math.ceil(Math.sqrt(o))));return this.createParentBoundablesFromVerticalSlices(a,i)},e.prototype.nearestNeighbour=function(){if(arguments.length===1){if(L(arguments[0],tr)){var r=arguments[0],i=new tt(this.getRoot(),this.getRoot(),r);return this.nearestNeighbour(i)}else if(arguments[0]instanceof tt){var o=arguments[0];return this.nearestNeighbour(o,b.POSITIVE_INFINITY)}}else if(arguments.length===2){if(arguments[0]instanceof e&&L(arguments[1],tr)){var s=arguments[0],a=arguments[1],u=new tt(this.getRoot(),s.getRoot(),a);return this.nearestNeighbour(u)}else if(arguments[0]instanceof tt&&typeof arguments[1]=="number"){var l=arguments[0],p=arguments[1],g=p,d=null,m=new Je;for(m.add(l);!m.isEmpty()&&g>0;){var I=m.poll(),E=I.getDistance();if(E>=g)break;I.isLeaves()?(g=E,d=I):I.expandToQueue(m,g)}return[d.getBoundable(0).getItem(),d.getBoundable(1).getItem()]}}else if(arguments.length===3){var C=arguments[0],M=arguments[1],A=arguments[2],It=new oe(C,M),Mt=new tt(this.getRoot(),It,A);return this.nearestNeighbour(Mt)[0]}},e.prototype.interfaces_=function(){return[wn,te]},e.prototype.getClass=function(){return e},e.centreX=function(r){return e.avg(r.getMinX(),r.getMaxX())},e.avg=function(r,i){return(r+i)/2},e.centreY=function(r){return e.avg(r.getMinY(),r.getMaxY())},n.STRtreeNode.get=function(){return Ii},n.serialVersionUID.get=function(){return 0x39920f7d5f261e0},n.xComparator.get=function(){return{interfaces_:function(){return[kn]},compare:function(r,i){return t.compareDoubles(e.centreX(r.getBounds()),e.centreX(i.getBounds()))}}},n.yComparator.get=function(){return{interfaces_:function(){return[kn]},compare:function(r,i){return t.compareDoubles(e.centreY(r.getBounds()),e.centreY(i.getBounds()))}}},n.intersectsOp.get=function(){return{interfaces_:function(){return[t.IntersectsOp]},intersects:function(r,i){return r.intersects(i)}}},n.DEFAULT_NODE_CAPACITY.get=function(){return 10},Object.defineProperties(e,n),e}(st),Ii=function(t){function e(){var n=arguments[0];t.call(this,n)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.computeBounds=function(){for(var n=null,r=this.getChildBoundables().iterator();r.hasNext();){var i=r.next();n===null?n=new N(i.getBounds()):n.expandToInclude(i.getBounds())}return n},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(it),Ot=function(){};Ot.prototype.interfaces_=function(){return[]};Ot.prototype.getClass=function(){return Ot};Ot.relativeSign=function(t,e){return t<e?-1:t>e?1:0};Ot.compare=function(t,e,n){if(e.equals2D(n))return 0;var r=Ot.relativeSign(e.x,n.x),i=Ot.relativeSign(e.y,n.y);switch(t){case 0:return Ot.compareValue(r,i);case 1:return Ot.compareValue(i,r);case 2:return Ot.compareValue(i,-r);case 3:return Ot.compareValue(-r,i);case 4:return Ot.compareValue(-r,-i);case 5:return Ot.compareValue(-i,-r);case 6:return Ot.compareValue(-i,r);case 7:return Ot.compareValue(r,-i)}return O.shouldNeverReachHere("invalid octant value"),0};Ot.compareValue=function(t,e){return t<0?-1:t>0?1:e<0?-1:e>0?1:0};var sn=function(){this._segString=null,this.coord=null,this.segmentIndex=null,this._segmentOctant=null,this._isInterior=null;var t=arguments[0],e=arguments[1],n=arguments[2],r=arguments[3];this._segString=t,this.coord=new c(e),this.segmentIndex=n,this._segmentOctant=r,this._isInterior=!e.equals2D(t.getCoordinate(n))};sn.prototype.getCoordinate=function(){return this.coord};sn.prototype.print=function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex)};sn.prototype.compareTo=function(t){var e=t;return this.segmentIndex<e.segmentIndex?-1:this.segmentIndex>e.segmentIndex?1:this.coord.equals2D(e.coord)?0:Ot.compare(this._segmentOctant,this.coord,e.coord)};sn.prototype.isEndPoint=function(t){return this.segmentIndex===0&&!this._isInterior||this.segmentIndex===t};sn.prototype.isInterior=function(){return this._isInterior};sn.prototype.interfaces_=function(){return[$t]};sn.prototype.getClass=function(){return sn};var bt=function(){this._nodeMap=new mt,this._edge=null;var t=arguments[0];this._edge=t};bt.prototype.getSplitCoordinates=function(){var t=this,e=new Or;this.addEndpoints();for(var n=this.iterator(),r=n.next();n.hasNext();){var i=n.next();t.addEdgeCoordinates(r,i,e),r=i}return e.toCoordinateArray()};bt.prototype.addCollapsedNodes=function(){var t=this,e=new _;this.findCollapsesFromInsertedNodes(e),this.findCollapsesFromExistingVertices(e);for(var n=e.iterator();n.hasNext();){var r=n.next().intValue();t.add(t._edge.getCoordinate(r),r)}};bt.prototype.print=function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();){var n=e.next();n.print(t)}};bt.prototype.findCollapsesFromExistingVertices=function(t){for(var e=this,n=0;n<this._edge.size()-2;n++){var r=e._edge.getCoordinate(n),i=e._edge.getCoordinate(n+2);r.equals2D(i)&&t.add(new me(n+1))}};bt.prototype.addEdgeCoordinates=function(t,e,n){var r=this,i=this._edge.getCoordinate(e.segmentIndex),o=e.isInterior()||!e.coord.equals2D(i);n.add(new c(t.coord),!1);for(var s=t.segmentIndex+1;s<=e.segmentIndex;s++)n.add(r._edge.getCoordinate(s));o&&n.add(new c(e.coord))};bt.prototype.iterator=function(){return this._nodeMap.values().iterator()};bt.prototype.addSplitEdges=function(t){var e=this;this.addEndpoints(),this.addCollapsedNodes();for(var n=this.iterator(),r=n.next();n.hasNext();){var i=n.next(),o=e.createSplitEdge(r,i);t.add(o),r=i}};bt.prototype.findCollapseIndex=function(t,e,n){if(!t.coord.equals2D(e.coord))return!1;var r=e.segmentIndex-t.segmentIndex;return e.isInterior()||r--,r===1?(n[0]=t.segmentIndex+1,!0):!1};bt.prototype.findCollapsesFromInsertedNodes=function(t){for(var e=this,n=new Array(1).fill(null),r=this.iterator(),i=r.next();r.hasNext();){var o=r.next(),s=e.findCollapseIndex(i,o,n);s&&t.add(new me(n[0])),i=o}};bt.prototype.getEdge=function(){return this._edge};bt.prototype.addEndpoints=function(){var t=this._edge.size()-1;this.add(this._edge.getCoordinate(0),0),this.add(this._edge.getCoordinate(t),t)};bt.prototype.createSplitEdge=function(t,e){var n=this,r=e.segmentIndex-t.segmentIndex+2,i=this._edge.getCoordinate(e.segmentIndex),o=e.isInterior()||!e.coord.equals2D(i);o||r--;var s=new Array(r).fill(null),a=0;s[a++]=new c(t.coord);for(var u=t.segmentIndex+1;u<=e.segmentIndex;u++)s[a++]=n._edge.getCoordinate(u);return o&&(s[a]=new c(e.coord)),new $(s,this._edge.getData())};bt.prototype.add=function(t,e){var n=new sn(this._edge,t,e,this._edge.getSegmentOctant(e)),r=this._nodeMap.get(n);return r!==null?(O.isTrue(r.coord.equals2D(t),"Found equal nodes with different coordinates"),r):(this._nodeMap.put(n,n),n)};bt.prototype.checkSplitEdgesCorrectness=function(t){var e=this._edge.getCoordinates(),n=t.get(0),r=n.getCoordinate(0);if(!r.equals2D(e[0]))throw new He("bad split edge start point at "+r);var i=t.get(t.size()-1),o=i.getCoordinates(),s=o[o.length-1];if(!s.equals2D(e[e.length-1]))throw new He("bad split edge end point at "+s)};bt.prototype.interfaces_=function(){return[]};bt.prototype.getClass=function(){return bt};var On=function(){};On.prototype.interfaces_=function(){return[]};On.prototype.getClass=function(){return On};On.octant=function(){if(typeof arguments[0]=="number"&&typeof arguments[1]=="number"){var t=arguments[0],e=arguments[1];if(t===0&&e===0)throw new Y("Cannot compute the octant for point ( "+t+", "+e+" )");var n=Math.abs(t),r=Math.abs(e);return t>=0?e>=0?n>=r?0:1:n>=r?7:6:e>=0?n>=r?3:2:n>=r?4:5}else if(arguments[0]instanceof c&&arguments[1]instanceof c){var i=arguments[0],o=arguments[1],s=o.x-i.x,a=o.y-i.y;if(s===0&&a===0)throw new Y("Cannot compute the octant for two identical points "+i);return On.octant(s,a)}};var Ae=function(){};Ae.prototype.getCoordinates=function(){};Ae.prototype.size=function(){};Ae.prototype.getCoordinate=function(t){};Ae.prototype.isClosed=function(){};Ae.prototype.setData=function(t){};Ae.prototype.getData=function(){};Ae.prototype.interfaces_=function(){return[]};Ae.prototype.getClass=function(){return Ae};var Ir=function(){};Ir.prototype.addIntersection=function(t,e){};Ir.prototype.interfaces_=function(){return[Ae]};Ir.prototype.getClass=function(){return Ir};var $=function(){this._nodeList=new bt(this),this._pts=null,this._data=null;var t=arguments[0],e=arguments[1];this._pts=t,this._data=e};$.prototype.getCoordinates=function(){return this._pts};$.prototype.size=function(){return this._pts.length};$.prototype.getCoordinate=function(t){return this._pts[t]};$.prototype.isClosed=function(){return this._pts[0].equals(this._pts[this._pts.length-1])};$.prototype.getSegmentOctant=function(t){return t===this._pts.length-1?-1:this.safeOctant(this.getCoordinate(t),this.getCoordinate(t+1))};$.prototype.setData=function(t){this._data=t};$.prototype.safeOctant=function(t,e){return t.equals2D(e)?0:On.octant(t,e)};$.prototype.getData=function(){return this._data};$.prototype.addIntersection=function(){if(arguments.length===2){var t=arguments[0],e=arguments[1];this.addIntersectionNode(t,e)}else if(arguments.length===4){var n=arguments[0],r=arguments[1],i=arguments[3],o=new c(n.getIntersection(i));this.addIntersection(o,r)}};$.prototype.toString=function(){return re.toLineString(new J(this._pts))};$.prototype.getNodeList=function(){return this._nodeList};$.prototype.addIntersectionNode=function(t,e){var n=e,r=n+1;if(r<this._pts.length){var i=this._pts[r];t.equals2D(i)&&(n=r)}var o=this._nodeList.add(t,n);return o};$.prototype.addIntersections=function(t,e,n){for(var r=this,i=0;i<t.getIntersectionNum();i++)r.addIntersection(t,e,n,i)};$.prototype.interfaces_=function(){return[Ir]};$.prototype.getClass=function(){return $};$.getNodedSubstrings=function(){if(arguments.length===1){var t=arguments[0],e=new _;return $.getNodedSubstrings(t,e),e}else if(arguments.length===2)for(var n=arguments[0],r=arguments[1],i=n.iterator();i.hasNext();){var o=i.next();o.getNodeList().addSplitEdges(r)}};var x=function(){if(this.p0=null,this.p1=null,arguments.length===0)this.p0=new c,this.p1=new c;else if(arguments.length===1){var t=arguments[0];this.p0=new c(t.p0),this.p1=new c(t.p1)}else if(arguments.length===2)this.p0=arguments[0],this.p1=arguments[1];else if(arguments.length===4){var e=arguments[0],n=arguments[1],r=arguments[2],i=arguments[3];this.p0=new c(e,n),this.p1=new c(r,i)}},Mi={serialVersionUID:{configurable:!0}};x.prototype.minX=function(){return Math.min(this.p0.x,this.p1.x)};x.prototype.orientationIndex=function(){if(arguments[0]instanceof x){var t=arguments[0],e=v.orientationIndex(this.p0,this.p1,t.p0),n=v.orientationIndex(this.p0,this.p1,t.p1);return e>=0&&n>=0||e<=0&&n<=0?Math.max(e,n):0}else if(arguments[0]instanceof c){var r=arguments[0];return v.orientationIndex(this.p0,this.p1,r)}};x.prototype.toGeometry=function(t){return t.createLineString([this.p0,this.p1])};x.prototype.isVertical=function(){return this.p0.x===this.p1.x};x.prototype.equals=function(t){if(!(t instanceof x))return!1;var e=t;return this.p0.equals(e.p0)&&this.p1.equals(e.p1)};x.prototype.intersection=function(t){var e=new Sn;return e.computeIntersection(this.p0,this.p1,t.p0,t.p1),e.hasIntersection()?e.getIntersection(0):null};x.prototype.project=function(){if(arguments[0]instanceof c){var t=arguments[0];if(t.equals(this.p0)||t.equals(this.p1))return new c(t);var e=this.projectionFactor(t),n=new c;return n.x=this.p0.x+e*(this.p1.x-this.p0.x),n.y=this.p0.y+e*(this.p1.y-this.p0.y),n}else if(arguments[0]instanceof x){var r=arguments[0],i=this.projectionFactor(r.p0),o=this.projectionFactor(r.p1);if(i>=1&&o>=1||i<=0&&o<=0)return null;var s=this.project(r.p0);i<0&&(s=this.p0),i>1&&(s=this.p1);var a=this.project(r.p1);return o<0&&(a=this.p0),o>1&&(a=this.p1),new x(s,a)}};x.prototype.normalize=function(){this.p1.compareTo(this.p0)<0&&this.reverse()};x.prototype.angle=function(){return Math.atan2(this.p1.y-this.p0.y,this.p1.x-this.p0.x)};x.prototype.getCoordinate=function(t){return t===0?this.p0:this.p1};x.prototype.distancePerpendicular=function(t){return v.distancePointLinePerpendicular(t,this.p0,this.p1)};x.prototype.minY=function(){return Math.min(this.p0.y,this.p1.y)};x.prototype.midPoint=function(){return x.midPoint(this.p0,this.p1)};x.prototype.projectionFactor=function(t){if(t.equals(this.p0))return 0;if(t.equals(this.p1))return 1;var e=this.p1.x-this.p0.x,n=this.p1.y-this.p0.y,r=e*e+n*n;if(r<=0)return b.NaN;var i=((t.x-this.p0.x)*e+(t.y-this.p0.y)*n)/r;return i};x.prototype.closestPoints=function(t){var e=this.intersection(t);if(e!==null)return[e,e];var n=new Array(2).fill(null),r=b.MAX_VALUE,i=null,o=this.closestPoint(t.p0);r=o.distance(t.p0),n[0]=o,n[1]=t.p0;var s=this.closestPoint(t.p1);i=s.distance(t.p1),i<r&&(r=i,n[0]=s,n[1]=t.p1);var a=t.closestPoint(this.p0);i=a.distance(this.p0),i<r&&(r=i,n[0]=this.p0,n[1]=a);var u=t.closestPoint(this.p1);return i=u.distance(this.p1),i<r&&(r=i,n[0]=this.p1,n[1]=u),n};x.prototype.closestPoint=function(t){var e=this.projectionFactor(t);if(e>0&&e<1)return this.project(t);var n=this.p0.distance(t),r=this.p1.distance(t);return n<r?this.p0:this.p1};x.prototype.maxX=function(){return Math.max(this.p0.x,this.p1.x)};x.prototype.getLength=function(){return this.p0.distance(this.p1)};x.prototype.compareTo=function(t){var e=t,n=this.p0.compareTo(e.p0);return n!==0?n:this.p1.compareTo(e.p1)};x.prototype.reverse=function(){var t=this.p0;this.p0=this.p1,this.p1=t};x.prototype.equalsTopo=function(t){return this.p0.equals(t.p0)&&(this.p1.equals(t.p1)||this.p0.equals(t.p1))&&this.p1.equals(t.p0)};x.prototype.lineIntersection=function(t){try{var e=ee.intersection(this.p0,this.p1,t.p0,t.p1);return e}catch(n){if(!(n instanceof ur))throw n}finally{}return null};x.prototype.maxY=function(){return Math.max(this.p0.y,this.p1.y)};x.prototype.pointAlongOffset=function(t,e){var n=this.p0.x+t*(this.p1.x-this.p0.x),r=this.p0.y+t*(this.p1.y-this.p0.y),i=this.p1.x-this.p0.x,o=this.p1.y-this.p0.y,s=Math.sqrt(i*i+o*o),a=0,u=0;if(e!==0){if(s<=0)throw new Error("Cannot compute offset from zero-length line segment");a=e*i/s,u=e*o/s}var l=n-u,p=r+a,g=new c(l,p);return g};x.prototype.setCoordinates=function(){if(arguments.length===1){var t=arguments[0];this.setCoordinates(t.p0,t.p1)}else if(arguments.length===2){var e=arguments[0],n=arguments[1];this.p0.x=e.x,this.p0.y=e.y,this.p1.x=n.x,this.p1.y=n.y}};x.prototype.segmentFraction=function(t){var e=this.projectionFactor(t);return e<0?e=0:(e>1||b.isNaN(e))&&(e=1),e};x.prototype.toString=function(){return"LINESTRING( "+this.p0.x+" "+this.p0.y+", "+this.p1.x+" "+this.p1.y+")"};x.prototype.isHorizontal=function(){return this.p0.y===this.p1.y};x.prototype.distance=function(){if(arguments[0]instanceof x){var t=arguments[0];return v.distanceLineLine(this.p0,this.p1,t.p0,t.p1)}else if(arguments[0]instanceof c){var e=arguments[0];return v.distancePointLine(e,this.p0,this.p1)}};x.prototype.pointAlong=function(t){var e=new c;return e.x=this.p0.x+t*(this.p1.x-this.p0.x),e.y=this.p0.y+t*(this.p1.y-this.p0.y),e};x.prototype.hashCode=function(){var t=b.doubleToLongBits(this.p0.x);t^=b.doubleToLongBits(this.p0.y)*31;var e=Math.trunc(t)^Math.trunc(t>>32),n=b.doubleToLongBits(this.p1.x);n^=b.doubleToLongBits(this.p1.y)*31;var r=Math.trunc(n)^Math.trunc(n>>32);return e^r};x.prototype.interfaces_=function(){return[$t,te]};x.prototype.getClass=function(){return x};x.midPoint=function(t,e){return new c((t.x+e.x)/2,(t.y+e.y)/2)};Mi.serialVersionUID.get=function(){return 0x2d2172135f411c00};Object.defineProperties(x,Mi);var Er=function(){this.tempEnv1=new N,this.tempEnv2=new N,this._overlapSeg1=new x,this._overlapSeg2=new x};Er.prototype.overlap=function(){if(arguments.length!==2&&arguments.length===4){var t=arguments[0],e=arguments[1],n=arguments[2],r=arguments[3];t.getLineSegment(e,this._overlapSeg1),n.getLineSegment(r,this._overlapSeg2),this.overlap(this._overlapSeg1,this._overlapSeg2)}};Er.prototype.interfaces_=function(){return[]};Er.prototype.getClass=function(){return Er};var qt=function(){this._pts=null,this._start=null,this._end=null,this._env=null,this._context=null,this._id=null;var t=arguments[0],e=arguments[1],n=arguments[2],r=arguments[3];this._pts=t,this._start=e,this._end=n,this._context=r};qt.prototype.getLineSegment=function(t,e){e.p0=this._pts[t],e.p1=this._pts[t+1]};qt.prototype.computeSelect=function(t,e,n,r){var i=this._pts[e],o=this._pts[n];if(r.tempEnv1.init(i,o),n-e===1)return r.select(this,e),null;if(!t.intersects(r.tempEnv1))return null;var s=Math.trunc((e+n)/2);e<s&&this.computeSelect(t,e,s,r),s<n&&this.computeSelect(t,s,n,r)};qt.prototype.getCoordinates=function(){for(var t=this,e=new Array(this._end-this._start+1).fill(null),n=0,r=this._start;r<=this._end;r++)e[n++]=t._pts[r];return e};qt.prototype.computeOverlaps=function(t,e){this.computeOverlapsInternal(this._start,this._end,t,t._start,t._end,e)};qt.prototype.setId=function(t){this._id=t};qt.prototype.select=function(t,e){this.computeSelect(t,this._start,this._end,e)};qt.prototype.getEnvelope=function(){if(this._env===null){var t=this._pts[this._start],e=this._pts[this._end];this._env=new N(t,e)}return this._env};qt.prototype.getEndIndex=function(){return this._end};qt.prototype.getStartIndex=function(){return this._start};qt.prototype.getContext=function(){return this._context};qt.prototype.getId=function(){return this._id};qt.prototype.computeOverlapsInternal=function(t,e,n,r,i,o){var s=this._pts[t],a=this._pts[e],u=n._pts[r],l=n._pts[i];if(e-t===1&&i-r===1)return o.overlap(this,t,n,r),null;if(o.tempEnv1.init(s,a),o.tempEnv2.init(u,l),!o.tempEnv1.intersects(o.tempEnv2))return null;var p=Math.trunc((t+e)/2),g=Math.trunc((r+i)/2);t<p&&(r<g&&this.computeOverlapsInternal(t,p,n,r,g,o),g<i&&this.computeOverlapsInternal(t,p,n,g,i,o)),p<e&&(r<g&&this.computeOverlapsInternal(p,e,n,r,g,o),g<i&&this.computeOverlapsInternal(p,e,n,g,i,o))};qt.prototype.interfaces_=function(){return[]};qt.prototype.getClass=function(){return qt};var ye=function(){};ye.prototype.interfaces_=function(){return[]};ye.prototype.getClass=function(){return ye};ye.getChainStartIndices=function(t){var e=0,n=new _;n.add(new me(e));do{var r=ye.findChainEnd(t,e);n.add(new me(r)),e=r}while(e<t.length-1);var i=ye.toIntArray(n);return i};ye.findChainEnd=function(t,e){for(var n=e;n<t.length-1&&t[n].equals2D(t[n+1]);)n++;if(n>=t.length-1)return t.length-1;for(var r=U.quadrant(t[n],t[n+1]),i=e+1;i<t.length;){if(!t[i-1].equals2D(t[i])){var o=U.quadrant(t[i-1],t[i]);if(o!==r)break}i++}return i-1};ye.getChains=function(){if(arguments.length===1){var t=arguments[0];return ye.getChains(t,null)}else if(arguments.length===2){for(var e=arguments[0],n=arguments[1],r=new _,i=ye.getChainStartIndices(e),o=0;o<i.length-1;o++){var s=new qt(e,i[o],i[o+1],n);r.add(s)}return r}};ye.toIntArray=function(t){for(var e=new Array(t.size()).fill(null),n=0;n<e.length;n++)e[n]=t.get(n).intValue();return e};var mn=function(){};mn.prototype.computeNodes=function(t){};mn.prototype.getNodedSubstrings=function(){};mn.prototype.interfaces_=function(){return[]};mn.prototype.getClass=function(){return mn};var Nr=function(){if(this._segInt=null,arguments.length!==0&&arguments.length===1){var t=arguments[0];this.setSegmentIntersector(t)}};Nr.prototype.setSegmentIntersector=function(t){this._segInt=t};Nr.prototype.interfaces_=function(){return[mn]};Nr.prototype.getClass=function(){return Nr};var ai=function(t){function e(r){r?t.call(this,r):t.call(this),this._monoChains=new _,this._index=new Di,this._idCounter=0,this._nodedSegStrings=null,this._nOverlaps=0}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={SegmentOverlapAction:{configurable:!0}};return e.prototype.getMonotoneChains=function(){return this._monoChains},e.prototype.getNodedSubstrings=function(){return $.getNodedSubstrings(this._nodedSegStrings)},e.prototype.getIndex=function(){return this._index},e.prototype.add=function(r){for(var i=this,o=ye.getChains(r.getCoordinates(),r),s=o.iterator();s.hasNext();){var a=s.next();a.setId(i._idCounter++),i._index.insert(a.getEnvelope(),a),i._monoChains.add(a)}},e.prototype.computeNodes=function(r){var i=this;this._nodedSegStrings=r;for(var o=r.iterator();o.hasNext();)i.add(o.next());this.intersectChains()},e.prototype.intersectChains=function(){for(var r=this,i=new Ei(this._segInt),o=this._monoChains.iterator();o.hasNext();)for(var s=o.next(),a=r._index.query(s.getEnvelope()),u=a.iterator();u.hasNext();){var l=u.next();if(l.getId()>s.getId()&&(s.computeOverlaps(l,i),r._nOverlaps++),r._segInt.isDone())return null}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},n.SegmentOverlapAction.get=function(){return Ei},Object.defineProperties(e,n),e}(Nr),Ei=function(t){function e(){t.call(this),this._si=null;var n=arguments[0];this._si=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.overlap=function(){if(arguments.length===4){var n=arguments[0],r=arguments[1],i=arguments[2],o=arguments[3],s=n.getContext(),a=i.getContext();this._si.processIntersections(s,r,a,o)}else return t.prototype.overlap.apply(this,arguments)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Er),G=function t(){if(this._quadrantSegments=t.DEFAULT_QUADRANT_SEGMENTS,this._endCapStyle=t.CAP_ROUND,this._joinStyle=t.JOIN_ROUND,this._mitreLimit=t.DEFAULT_MITRE_LIMIT,this._isSingleSided=!1,this._simplifyFactor=t.DEFAULT_SIMPLIFY_FACTOR,arguments.length!==0){if(arguments.length===1){var e=arguments[0];this.setQuadrantSegments(e)}else if(arguments.length===2){var n=arguments[0],r=arguments[1];this.setQuadrantSegments(n),this.setEndCapStyle(r)}else if(arguments.length===4){var i=arguments[0],o=arguments[1],s=arguments[2],a=arguments[3];this.setQuadrantSegments(i),this.setEndCapStyle(o),this.setJoinStyle(s),this.setMitreLimit(a)}}},$e={CAP_ROUND:{configurable:!0},CAP_FLAT:{configurable:!0},CAP_SQUARE:{configurable:!0},JOIN_ROUND:{configurable:!0},JOIN_MITRE:{configurable:!0},JOIN_BEVEL:{configurable:!0},DEFAULT_QUADRANT_SEGMENTS:{configurable:!0},DEFAULT_MITRE_LIMIT:{configurable:!0},DEFAULT_SIMPLIFY_FACTOR:{configurable:!0}};G.prototype.getEndCapStyle=function(){return this._endCapStyle};G.prototype.isSingleSided=function(){return this._isSingleSided};G.prototype.setQuadrantSegments=function(t){this._quadrantSegments=t,this._quadrantSegments===0&&(this._joinStyle=G.JOIN_BEVEL),this._quadrantSegments<0&&(this._joinStyle=G.JOIN_MITRE,this._mitreLimit=Math.abs(this._quadrantSegments)),t<=0&&(this._quadrantSegments=1),this._joinStyle!==G.JOIN_ROUND&&(this._quadrantSegments=G.DEFAULT_QUADRANT_SEGMENTS)};G.prototype.getJoinStyle=function(){return this._joinStyle};G.prototype.setJoinStyle=function(t){this._joinStyle=t};G.prototype.setSimplifyFactor=function(t){this._simplifyFactor=t<0?0:t};G.prototype.getSimplifyFactor=function(){return this._simplifyFactor};G.prototype.getQuadrantSegments=function(){return this._quadrantSegments};G.prototype.setEndCapStyle=function(t){this._endCapStyle=t};G.prototype.getMitreLimit=function(){return this._mitreLimit};G.prototype.setMitreLimit=function(t){this._mitreLimit=t};G.prototype.setSingleSided=function(t){this._isSingleSided=t};G.prototype.interfaces_=function(){return[]};G.prototype.getClass=function(){return G};G.bufferDistanceError=function(t){var e=Math.PI/2/t;return 1-Math.cos(e/2)};$e.CAP_ROUND.get=function(){return 1};$e.CAP_FLAT.get=function(){return 2};$e.CAP_SQUARE.get=function(){return 3};$e.JOIN_ROUND.get=function(){return 1};$e.JOIN_MITRE.get=function(){return 2};$e.JOIN_BEVEL.get=function(){return 3};$e.DEFAULT_QUADRANT_SEGMENTS.get=function(){return 8};$e.DEFAULT_MITRE_LIMIT.get=function(){return 5};$e.DEFAULT_SIMPLIFY_FACTOR.get=function(){return .01};Object.defineProperties(G,$e);var K=function(t){this._distanceTol=null,this._isDeleted=null,this._angleOrientation=v.COUNTERCLOCKWISE,this._inputLine=t||null},Pr={INIT:{configurable:!0},DELETE:{configurable:!0},KEEP:{configurable:!0},NUM_PTS_TO_CHECK:{configurable:!0}};K.prototype.isDeletable=function(t,e,n,r){var i=this._inputLine[t],o=this._inputLine[e],s=this._inputLine[n];return!this.isConcave(i,o,s)||!this.isShallow(i,o,s,r)?!1:this.isShallowSampled(i,o,t,n,r)};K.prototype.deleteShallowConcavities=function(){for(var t=this,e=1,n=this.findNextNonDeletedIndex(e),r=this.findNextNonDeletedIndex(n),i=!1;r<this._inputLine.length;){var o=!1;t.isDeletable(e,n,r,t._distanceTol)&&(t._isDeleted[n]=K.DELETE,o=!0,i=!0),o?e=r:e=n,n=t.findNextNonDeletedIndex(e),r=t.findNextNonDeletedIndex(n)}return i};K.prototype.isShallowConcavity=function(t,e,n,r){var i=v.computeOrientation(t,e,n),o=i===this._angleOrientation;if(!o)return!1;var s=v.distancePointLine(e,t,n);return s<r};K.prototype.isShallowSampled=function(t,e,n,r,i){var o=this,s=Math.trunc((r-n)/K.NUM_PTS_TO_CHECK);s<=0&&(s=1);for(var a=n;a<r;a+=s)if(!o.isShallow(t,e,o._inputLine[a],i))return!1;return!0};K.prototype.isConcave=function(t,e,n){var r=v.computeOrientation(t,e,n),i=r===this._angleOrientation;return i};K.prototype.simplify=function(t){var e=this;this._distanceTol=Math.abs(t),t<0&&(this._angleOrientation=v.CLOCKWISE),this._isDeleted=new Array(this._inputLine.length).fill(null);var n=!1;do n=e.deleteShallowConcavities();while(n);return this.collapseLine()};K.prototype.findNextNonDeletedIndex=function(t){for(var e=t+1;e<this._inputLine.length&&this._isDeleted[e]===K.DELETE;)e++;return e};K.prototype.isShallow=function(t,e,n,r){var i=v.distancePointLine(e,t,n);return i<r};K.prototype.collapseLine=function(){for(var t=this,e=new Or,n=0;n<this._inputLine.length;n++)t._isDeleted[n]!==K.DELETE&&e.add(t._inputLine[n]);return e.toCoordinateArray()};K.prototype.interfaces_=function(){return[]};K.prototype.getClass=function(){return K};K.simplify=function(t,e){var n=new K(t);return n.simplify(e)};Pr.INIT.get=function(){return 0};Pr.DELETE.get=function(){return 1};Pr.KEEP.get=function(){return 1};Pr.NUM_PTS_TO_CHECK.get=function(){return 10};Object.defineProperties(K,Pr);var kt=function(){this._ptList=null,this._precisionModel=null,this._minimimVertexDistance=0,this._ptList=new _},Ai={COORDINATE_ARRAY_TYPE:{configurable:!0}};kt.prototype.getCoordinates=function(){var t=this._ptList.toArray(kt.COORDINATE_ARRAY_TYPE);return t};kt.prototype.setPrecisionModel=function(t){this._precisionModel=t};kt.prototype.addPt=function(t){var e=new c(t);if(this._precisionModel.makePrecise(e),this.isRedundant(e))return null;this._ptList.add(e)};kt.prototype.revere=function(){};kt.prototype.addPts=function(t,e){var n=this;if(e)for(var r=0;r<t.length;r++)n.addPt(t[r]);else for(var i=t.length-1;i>=0;i--)n.addPt(t[i])};kt.prototype.isRedundant=function(t){if(this._ptList.size()<1)return!1;var e=this._ptList.get(this._ptList.size()-1),n=t.distance(e);return n<this._minimimVertexDistance};kt.prototype.toString=function(){var t=new T,e=t.createLineString(this.getCoordinates());return e.toString()};kt.prototype.closeRing=function(){if(this._ptList.size()<1)return null;var t=new c(this._ptList.get(0)),e=this._ptList.get(this._ptList.size()-1);if(t.equals(e))return null;this._ptList.add(t)};kt.prototype.setMinimumVertexDistance=function(t){this._minimimVertexDistance=t};kt.prototype.interfaces_=function(){return[]};kt.prototype.getClass=function(){return kt};Ai.COORDINATE_ARRAY_TYPE.get=function(){return new Array(0).fill(null)};Object.defineProperties(kt,Ai);var P=function(){},zn={PI_TIMES_2:{configurable:!0},PI_OVER_2:{configurable:!0},PI_OVER_4:{configurable:!0},COUNTERCLOCKWISE:{configurable:!0},CLOCKWISE:{configurable:!0},NONE:{configurable:!0}};P.prototype.interfaces_=function(){return[]};P.prototype.getClass=function(){return P};P.toDegrees=function(t){return t*180/Math.PI};P.normalize=function(t){for(;t>Math.PI;)t-=P.PI_TIMES_2;for(;t<=-Math.PI;)t+=P.PI_TIMES_2;return t};P.angle=function(){if(arguments.length===1){var t=arguments[0];return Math.atan2(t.y,t.x)}else if(arguments.length===2){var e=arguments[0],n=arguments[1],r=n.x-e.x,i=n.y-e.y;return Math.atan2(i,r)}};P.isAcute=function(t,e,n){var r=t.x-e.x,i=t.y-e.y,o=n.x-e.x,s=n.y-e.y,a=r*o+i*s;return a>0};P.isObtuse=function(t,e,n){var r=t.x-e.x,i=t.y-e.y,o=n.x-e.x,s=n.y-e.y,a=r*o+i*s;return a<0};P.interiorAngle=function(t,e,n){var r=P.angle(e,t),i=P.angle(e,n);return Math.abs(i-r)};P.normalizePositive=function(t){if(t<0){for(;t<0;)t+=P.PI_TIMES_2;t>=P.PI_TIMES_2&&(t=0)}else{for(;t>=P.PI_TIMES_2;)t-=P.PI_TIMES_2;t<0&&(t=0)}return t};P.angleBetween=function(t,e,n){var r=P.angle(e,t),i=P.angle(e,n);return P.diff(r,i)};P.diff=function(t,e){var n=null;return t<e?n=e-t:n=t-e,n>Math.PI&&(n=2*Math.PI-n),n};P.toRadians=function(t){return t*Math.PI/180};P.getTurn=function(t,e){var n=Math.sin(e-t);return n>0?P.COUNTERCLOCKWISE:n<0?P.CLOCKWISE:P.NONE};P.angleBetweenOriented=function(t,e,n){var r=P.angle(e,t),i=P.angle(e,n),o=i-r;return o<=-Math.PI?o+P.PI_TIMES_2:o>Math.PI?o-P.PI_TIMES_2:o};zn.PI_TIMES_2.get=function(){return 2*Math.PI};zn.PI_OVER_2.get=function(){return Math.PI/2};zn.PI_OVER_4.get=function(){return Math.PI/4};zn.COUNTERCLOCKWISE.get=function(){return v.COUNTERCLOCKWISE};zn.CLOCKWISE.get=function(){return v.CLOCKWISE};zn.NONE.get=function(){return v.COLLINEAR};Object.defineProperties(P,zn);var k=function t(){this._maxCurveSegmentError=0,this._filletAngleQuantum=null,this._closingSegLengthFactor=1,this._segList=null,this._distance=0,this._precisionModel=null,this._bufParams=null,this._li=null,this._s0=null,this._s1=null,this._s2=null,this._seg0=new x,this._seg1=new x,this._offset0=new x,this._offset1=new x,this._side=0,this._hasNarrowConcaveAngle=!1;var e=arguments[0],n=arguments[1],r=arguments[2];this._precisionModel=e,this._bufParams=n,this._li=new Sn,this._filletAngleQuantum=Math.PI/2/n.getQuadrantSegments(),n.getQuadrantSegments()>=8&&n.getJoinStyle()===G.JOIN_ROUND&&(this._closingSegLengthFactor=t.MAX_CLOSING_SEG_LEN_FACTOR),this.init(r)},Dr={OFFSET_SEGMENT_SEPARATION_FACTOR:{configurable:!0},INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR:{configurable:!0},CURVE_VERTEX_SNAP_DISTANCE_FACTOR:{configurable:!0},MAX_CLOSING_SEG_LEN_FACTOR:{configurable:!0}};k.prototype.addNextSegment=function(t,e){if(this._s0=this._s1,this._s1=this._s2,this._s2=t,this._seg0.setCoordinates(this._s0,this._s1),this.computeOffsetSegment(this._seg0,this._side,this._distance,this._offset0),this._seg1.setCoordinates(this._s1,this._s2),this.computeOffsetSegment(this._seg1,this._side,this._distance,this._offset1),this._s1.equals(this._s2))return null;var n=v.computeOrientation(this._s0,this._s1,this._s2),r=n===v.CLOCKWISE&&this._side===y.LEFT||n===v.COUNTERCLOCKWISE&&this._side===y.RIGHT;n===0?this.addCollinear(e):r?this.addOutsideTurn(n,e):this.addInsideTurn(n,e)};k.prototype.addLineEndCap=function(t,e){var n=new x(t,e),r=new x;this.computeOffsetSegment(n,y.LEFT,this._distance,r);var i=new x;this.computeOffsetSegment(n,y.RIGHT,this._distance,i);var o=e.x-t.x,s=e.y-t.y,a=Math.atan2(s,o);switch(this._bufParams.getEndCapStyle()){case G.CAP_ROUND:this._segList.addPt(r.p1),this.addFilletArc(e,a+Math.PI/2,a-Math.PI/2,v.CLOCKWISE,this._distance),this._segList.addPt(i.p1);break;case G.CAP_FLAT:this._segList.addPt(r.p1),this._segList.addPt(i.p1);break;case G.CAP_SQUARE:var u=new c;u.x=Math.abs(this._distance)*Math.cos(a),u.y=Math.abs(this._distance)*Math.sin(a);var l=new c(r.p1.x+u.x,r.p1.y+u.y),p=new c(i.p1.x+u.x,i.p1.y+u.y);this._segList.addPt(l),this._segList.addPt(p);break}};k.prototype.getCoordinates=function(){var t=this._segList.getCoordinates();return t};k.prototype.addMitreJoin=function(t,e,n,r){var i=!0,o=null;try{o=ee.intersection(e.p0,e.p1,n.p0,n.p1);var s=r<=0?1:o.distance(t)/Math.abs(r);s>this._bufParams.getMitreLimit()&&(i=!1)}catch(a){if(a instanceof ur)o=new c(0,0),i=!1;else throw a}finally{}i?this._segList.addPt(o):this.addLimitedMitreJoin(e,n,r,this._bufParams.getMitreLimit())};k.prototype.addFilletCorner=function(t,e,n,r,i){var o=e.x-t.x,s=e.y-t.y,a=Math.atan2(s,o),u=n.x-t.x,l=n.y-t.y,p=Math.atan2(l,u);r===v.CLOCKWISE?a<=p&&(a+=2*Math.PI):a>=p&&(a-=2*Math.PI),this._segList.addPt(e),this.addFilletArc(t,a,p,r,i),this._segList.addPt(n)};k.prototype.addOutsideTurn=function(t,e){if(this._offset0.p1.distance(this._offset1.p0)<this._distance*k.OFFSET_SEGMENT_SEPARATION_FACTOR)return this._segList.addPt(this._offset0.p1),null;this._bufParams.getJoinStyle()===G.JOIN_MITRE?this.addMitreJoin(this._s1,this._offset0,this._offset1,this._distance):this._bufParams.getJoinStyle()===G.JOIN_BEVEL?this.addBevelJoin(this._offset0,this._offset1):(e&&this._segList.addPt(this._offset0.p1),this.addFilletCorner(this._s1,this._offset0.p1,this._offset1.p0,t,this._distance),this._segList.addPt(this._offset1.p0))};k.prototype.createSquare=function(t){this._segList.addPt(new c(t.x+this._distance,t.y+this._distance)),this._segList.addPt(new c(t.x+this._distance,t.y-this._distance)),this._segList.addPt(new c(t.x-this._distance,t.y-this._distance)),this._segList.addPt(new c(t.x-this._distance,t.y+this._distance)),this._segList.closeRing()};k.prototype.addSegments=function(t,e){this._segList.addPts(t,e)};k.prototype.addFirstSegment=function(){this._segList.addPt(this._offset1.p0)};k.prototype.addLastSegment=function(){this._segList.addPt(this._offset1.p1)};k.prototype.initSideSegments=function(t,e,n){this._s1=t,this._s2=e,this._side=n,this._seg1.setCoordinates(t,e),this.computeOffsetSegment(this._seg1,n,this._distance,this._offset1)};k.prototype.addLimitedMitreJoin=function(t,e,n,r){var i=this._seg0.p1,o=P.angle(i,this._seg0.p0),s=P.angleBetweenOriented(this._seg0.p0,i,this._seg1.p1),a=s/2,u=P.normalize(o+a),l=P.normalize(u+Math.PI),p=r*n,g=p*Math.abs(Math.sin(a)),d=n-g,m=i.x+p*Math.cos(l),I=i.y+p*Math.sin(l),E=new c(m,I),C=new x(i,E),M=C.pointAlongOffset(1,d),A=C.pointAlongOffset(1,-d);this._side===y.LEFT?(this._segList.addPt(M),this._segList.addPt(A)):(this._segList.addPt(A),this._segList.addPt(M))};k.prototype.computeOffsetSegment=function(t,e,n,r){var i=e===y.LEFT?1:-1,o=t.p1.x-t.p0.x,s=t.p1.y-t.p0.y,a=Math.sqrt(o*o+s*s),u=i*n*o/a,l=i*n*s/a;r.p0.x=t.p0.x-l,r.p0.y=t.p0.y+u,r.p1.x=t.p1.x-l,r.p1.y=t.p1.y+u};k.prototype.addFilletArc=function(t,e,n,r,i){var o=this,s=r===v.CLOCKWISE?-1:1,a=Math.abs(e-n),u=Math.trunc(a/this._filletAngleQuantum+.5);if(u<1)return null;for(var l=0,p=a/u,g=l,d=new c;g<a;){var m=e+s*g;d.x=t.x+i*Math.cos(m),d.y=t.y+i*Math.sin(m),o._segList.addPt(d),g+=p}};k.prototype.addInsideTurn=function(t,e){if(this._li.computeIntersection(this._offset0.p0,this._offset0.p1,this._offset1.p0,this._offset1.p1),this._li.hasIntersection())this._segList.addPt(this._li.getIntersection(0));else if(this._hasNarrowConcaveAngle=!0,this._offset0.p1.distance(this._offset1.p0)<this._distance*k.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR)this._segList.addPt(this._offset0.p1);else{if(this._segList.addPt(this._offset0.p1),this._closingSegLengthFactor>0){var n=new c((this._closingSegLengthFactor*this._offset0.p1.x+this._s1.x)/(this._closingSegLengthFactor+1),(this._closingSegLengthFactor*this._offset0.p1.y+this._s1.y)/(this._closingSegLengthFactor+1));this._segList.addPt(n);var r=new c((this._closingSegLengthFactor*this._offset1.p0.x+this._s1.x)/(this._closingSegLengthFactor+1),(this._closingSegLengthFactor*this._offset1.p0.y+this._s1.y)/(this._closingSegLengthFactor+1));this._segList.addPt(r)}else this._segList.addPt(this._s1);this._segList.addPt(this._offset1.p0)}};k.prototype.createCircle=function(t){var e=new c(t.x+this._distance,t.y);this._segList.addPt(e),this.addFilletArc(t,0,2*Math.PI,-1,this._distance),this._segList.closeRing()};k.prototype.addBevelJoin=function(t,e){this._segList.addPt(t.p1),this._segList.addPt(e.p0)};k.prototype.init=function(t){this._distance=t,this._maxCurveSegmentError=t*(1-Math.cos(this._filletAngleQuantum/2)),this._segList=new kt,this._segList.setPrecisionModel(this._precisionModel),this._segList.setMinimumVertexDistance(t*k.CURVE_VERTEX_SNAP_DISTANCE_FACTOR)};k.prototype.addCollinear=function(t){this._li.computeIntersection(this._s0,this._s1,this._s1,this._s2);var e=this._li.getIntersectionNum();e>=2&&(this._bufParams.getJoinStyle()===G.JOIN_BEVEL||this._bufParams.getJoinStyle()===G.JOIN_MITRE?(t&&this._segList.addPt(this._offset0.p1),this._segList.addPt(this._offset1.p0)):this.addFilletCorner(this._s1,this._offset0.p1,this._offset1.p0,v.CLOCKWISE,this._distance))};k.prototype.closeRing=function(){this._segList.closeRing()};k.prototype.hasNarrowConcaveAngle=function(){return this._hasNarrowConcaveAngle};k.prototype.interfaces_=function(){return[]};k.prototype.getClass=function(){return k};Dr.OFFSET_SEGMENT_SEPARATION_FACTOR.get=function(){return .001};Dr.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR.get=function(){return .001};Dr.CURVE_VERTEX_SNAP_DISTANCE_FACTOR.get=function(){return 1e-6};Dr.MAX_CLOSING_SEG_LEN_FACTOR.get=function(){return 80};Object.defineProperties(k,Dr);var Rt=function(){this._distance=0,this._precisionModel=null,this._bufParams=null;var t=arguments[0],e=arguments[1];this._precisionModel=t,this._bufParams=e};Rt.prototype.getOffsetCurve=function(t,e){if(this._distance=e,e===0)return null;var n=e<0,r=Math.abs(e),i=this.getSegGen(r);t.length<=1?this.computePointCurve(t[0],i):this.computeOffsetCurve(t,n,i);var o=i.getCoordinates();return n&&R.reverse(o),o};Rt.prototype.computeSingleSidedBufferCurve=function(t,e,n){var r=this.simplifyTolerance(this._distance);if(e){n.addSegments(t,!0);var i=K.simplify(t,-r),o=i.length-1;n.initSideSegments(i[o],i[o-1],y.LEFT),n.addFirstSegment();for(var s=o-2;s>=0;s--)n.addNextSegment(i[s],!0)}else{n.addSegments(t,!1);var a=K.simplify(t,r),u=a.length-1;n.initSideSegments(a[0],a[1],y.LEFT),n.addFirstSegment();for(var l=2;l<=u;l++)n.addNextSegment(a[l],!0)}n.addLastSegment(),n.closeRing()};Rt.prototype.computeRingBufferCurve=function(t,e,n){var r=this.simplifyTolerance(this._distance);e===y.RIGHT&&(r=-r);var i=K.simplify(t,r),o=i.length-1;n.initSideSegments(i[o-1],i[0],e);for(var s=1;s<=o;s++){var a=s!==1;n.addNextSegment(i[s],a)}n.closeRing()};Rt.prototype.computeLineBufferCurve=function(t,e){var n=this.simplifyTolerance(this._distance),r=K.simplify(t,n),i=r.length-1;e.initSideSegments(r[0],r[1],y.LEFT);for(var o=2;o<=i;o++)e.addNextSegment(r[o],!0);e.addLastSegment(),e.addLineEndCap(r[i-1],r[i]);var s=K.simplify(t,-n),a=s.length-1;e.initSideSegments(s[a],s[a-1],y.LEFT);for(var u=a-2;u>=0;u--)e.addNextSegment(s[u],!0);e.addLastSegment(),e.addLineEndCap(s[1],s[0]),e.closeRing()};Rt.prototype.computePointCurve=function(t,e){switch(this._bufParams.getEndCapStyle()){case G.CAP_ROUND:e.createCircle(t);break;case G.CAP_SQUARE:e.createSquare(t);break}};Rt.prototype.getLineCurve=function(t,e){if(this._distance=e,e<0&&!this._bufParams.isSingleSided()||e===0)return null;var n=Math.abs(e),r=this.getSegGen(n);if(t.length<=1)this.computePointCurve(t[0],r);else if(this._bufParams.isSingleSided()){var i=e<0;this.computeSingleSidedBufferCurve(t,i,r)}else this.computeLineBufferCurve(t,r);var o=r.getCoordinates();return o};Rt.prototype.getBufferParameters=function(){return this._bufParams};Rt.prototype.simplifyTolerance=function(t){return t*this._bufParams.getSimplifyFactor()};Rt.prototype.getRingCurve=function(t,e,n){if(this._distance=n,t.length<=2)return this.getLineCurve(t,n);if(n===0)return Rt.copyCoordinates(t);var r=this.getSegGen(n);return this.computeRingBufferCurve(t,e,r),r.getCoordinates()};Rt.prototype.computeOffsetCurve=function(t,e,n){var r=this.simplifyTolerance(this._distance);if(e){var i=K.simplify(t,-r),o=i.length-1;n.initSideSegments(i[o],i[o-1],y.LEFT),n.addFirstSegment();for(var s=o-2;s>=0;s--)n.addNextSegment(i[s],!0)}else{var a=K.simplify(t,r),u=a.length-1;n.initSideSegments(a[0],a[1],y.LEFT),n.addFirstSegment();for(var l=2;l<=u;l++)n.addNextSegment(a[l],!0)}n.addLastSegment()};Rt.prototype.getSegGen=function(t){return new k(this._precisionModel,this._bufParams,t)};Rt.prototype.interfaces_=function(){return[]};Rt.prototype.getClass=function(){return Rt};Rt.copyCoordinates=function(t){for(var e=new Array(t.length).fill(null),n=0;n<e.length;n++)e[n]=new c(t[n]);return e};var Tn=function(){this._subgraphs=null,this._seg=new x,this._cga=new v;var t=arguments[0];this._subgraphs=t},Fi={DepthSegment:{configurable:!0}};Tn.prototype.findStabbedSegments=function(){var t=this;if(arguments.length===1){for(var e=arguments[0],n=new _,r=this._subgraphs.iterator();r.hasNext();){var i=r.next(),o=i.getEnvelope();e.y<o.getMinY()||e.y>o.getMaxY()||t.findStabbedSegments(e,i.getDirectedEdges(),n)}return n}else if(arguments.length===3){if(L(arguments[2],ne)&&arguments[0]instanceof c&&arguments[1]instanceof Zr)for(var s=arguments[0],a=arguments[1],u=arguments[2],l=a.getEdge().getCoordinates(),p=0;p<l.length-1;p++){t._seg.p0=l[p],t._seg.p1=l[p+1],t._seg.p0.y>t._seg.p1.y&&t._seg.reverse();var g=Math.max(t._seg.p0.x,t._seg.p1.x);if(!(g<s.x)&&!t._seg.isHorizontal()&&!(s.y<t._seg.p0.y||s.y>t._seg.p1.y)&&v.computeOrientation(t._seg.p0,t._seg.p1,s)!==v.RIGHT){var d=a.getDepth(y.LEFT);t._seg.p0.equals(l[p])||(d=a.getDepth(y.RIGHT));var m=new _n(t._seg,d);u.add(m)}}else if(L(arguments[2],ne)&&arguments[0]instanceof c&&L(arguments[1],ne))for(var I=arguments[0],E=arguments[1],C=arguments[2],M=E.iterator();M.hasNext();){var A=M.next();A.isForward()&&t.findStabbedSegments(I,A,C)}}};Tn.prototype.getDepth=function(t){var e=this.findStabbedSegments(t);if(e.size()===0)return 0;var n=se.min(e);return n._leftDepth};Tn.prototype.interfaces_=function(){return[]};Tn.prototype.getClass=function(){return Tn};Fi.DepthSegment.get=function(){return _n};Object.defineProperties(Tn,Fi);var _n=function(){this._upwardSeg=null,this._leftDepth=null;var t=arguments[0],e=arguments[1];this._upwardSeg=new x(t),this._leftDepth=e};_n.prototype.compareTo=function(t){var e=t;if(this._upwardSeg.minX()>=e._upwardSeg.maxX())return 1;if(this._upwardSeg.maxX()<=e._upwardSeg.minX())return-1;var n=this._upwardSeg.orientationIndex(e._upwardSeg);return n!==0||(n=-1*e._upwardSeg.orientationIndex(this._upwardSeg),n!==0)?n:this._upwardSeg.compareTo(e._upwardSeg)};_n.prototype.compareX=function(t,e){var n=t.p0.compareTo(e.p0);return n!==0?n:t.p1.compareTo(e.p1)};_n.prototype.toString=function(){return this._upwardSeg.toString()};_n.prototype.interfaces_=function(){return[$t]};_n.prototype.getClass=function(){return _n};var B=function(t,e,n){this.p0=t||null,this.p1=e||null,this.p2=n||null};B.prototype.area=function(){return B.area(this.p0,this.p1,this.p2)};B.prototype.signedArea=function(){return B.signedArea(this.p0,this.p1,this.p2)};B.prototype.interpolateZ=function(t){if(t===null)throw new Y("Supplied point is null.");return B.interpolateZ(t,this.p0,this.p1,this.p2)};B.prototype.longestSideLength=function(){return B.longestSideLength(this.p0,this.p1,this.p2)};B.prototype.isAcute=function(){return B.isAcute(this.p0,this.p1,this.p2)};B.prototype.circumcentre=function(){return B.circumcentre(this.p0,this.p1,this.p2)};B.prototype.area3D=function(){return B.area3D(this.p0,this.p1,this.p2)};B.prototype.centroid=function(){return B.centroid(this.p0,this.p1,this.p2)};B.prototype.inCentre=function(){return B.inCentre(this.p0,this.p1,this.p2)};B.prototype.interfaces_=function(){return[]};B.prototype.getClass=function(){return B};B.area=function(t,e,n){return Math.abs(((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2)};B.signedArea=function(t,e,n){return((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2};B.det=function(t,e,n,r){return t*r-e*n};B.interpolateZ=function(t,e,n,r){var i=e.x,o=e.y,s=n.x-i,a=r.x-i,u=n.y-o,l=r.y-o,p=s*l-a*u,g=t.x-i,d=t.y-o,m=(l*g-a*d)/p,I=(-u*g+s*d)/p,E=e.z+m*(n.z-e.z)+I*(r.z-e.z);return E};B.longestSideLength=function(t,e,n){var r=t.distance(e),i=e.distance(n),o=n.distance(t),s=r;return i>s&&(s=i),o>s&&(s=o),s};B.isAcute=function(t,e,n){return!(!P.isAcute(t,e,n)||!P.isAcute(e,n,t)||!P.isAcute(n,t,e))};B.circumcentre=function(t,e,n){var r=n.x,i=n.y,o=t.x-r,s=t.y-i,a=e.x-r,u=e.y-i,l=2*B.det(o,s,a,u),p=B.det(s,o*o+s*s,u,a*a+u*u),g=B.det(o,o*o+s*s,a,a*a+u*u),d=r-p/l,m=i+g/l;return new c(d,m)};B.perpendicularBisector=function(t,e){var n=e.x-t.x,r=e.y-t.y,i=new ee(t.x+n/2,t.y+r/2,1),o=new ee(t.x-r+n/2,t.y+n+r/2,1);return new ee(i,o)};B.angleBisector=function(t,e,n){var r=e.distance(t),i=e.distance(n),o=r/(r+i),s=n.x-t.x,a=n.y-t.y,u=new c(t.x+o*s,t.y+o*a);return u};B.area3D=function(t,e,n){var r=e.x-t.x,i=e.y-t.y,o=e.z-t.z,s=n.x-t.x,a=n.y-t.y,u=n.z-t.z,l=i*u-o*a,p=o*s-r*u,g=r*a-i*s,d=l*l+p*p+g*g,m=Math.sqrt(d)/2;return m};B.centroid=function(t,e,n){var r=(t.x+e.x+n.x)/3,i=(t.y+e.y+n.y)/3;return new c(r,i)};B.inCentre=function(t,e,n){var r=e.distance(n),i=t.distance(n),o=t.distance(e),s=r+i+o,a=(r*t.x+i*e.x+o*n.x)/s,u=(r*t.y+i*e.y+o*n.y)/s;return new c(a,u)};var Zt=function(){this._inputGeom=null,this._distance=null,this._curveBuilder=null,this._curveList=new _;var t=arguments[0],e=arguments[1],n=arguments[2];this._inputGeom=t,this._distance=e,this._curveBuilder=n};Zt.prototype.addPoint=function(t){if(this._distance<=0)return null;var e=t.getCoordinates(),n=this._curveBuilder.getLineCurve(e,this._distance);this.addCurve(n,h.EXTERIOR,h.INTERIOR)};Zt.prototype.addPolygon=function(t){var e=this,n=this._distance,r=y.LEFT;this._distance<0&&(n=-this._distance,r=y.RIGHT);var i=t.getExteriorRing(),o=R.removeRepeatedPoints(i.getCoordinates());if(this._distance<0&&this.isErodedCompletely(i,this._distance)||this._distance<=0&&o.length<3)return null;this.addPolygonRing(o,n,r,h.EXTERIOR,h.INTERIOR);for(var s=0;s<t.getNumInteriorRing();s++){var a=t.getInteriorRingN(s),u=R.removeRepeatedPoints(a.getCoordinates());e._distance>0&&e.isErodedCompletely(a,-e._distance)||e.addPolygonRing(u,n,y.opposite(r),h.INTERIOR,h.EXTERIOR)}};Zt.prototype.isTriangleErodedCompletely=function(t,e){var n=new B(t[0],t[1],t[2]),r=n.inCentre(),i=v.distancePointLine(r,n.p0,n.p1);return i<Math.abs(e)};Zt.prototype.addLineString=function(t){if(this._distance<=0&&!this._curveBuilder.getBufferParameters().isSingleSided())return null;var e=R.removeRepeatedPoints(t.getCoordinates()),n=this._curveBuilder.getLineCurve(e,this._distance);this.addCurve(n,h.EXTERIOR,h.INTERIOR)};Zt.prototype.addCurve=function(t,e,n){if(t===null||t.length<2)return null;var r=new $(t,new V(0,h.BOUNDARY,e,n));this._curveList.add(r)};Zt.prototype.getCurves=function(){return this.add(this._inputGeom),this._curveList};Zt.prototype.addPolygonRing=function(t,e,n,r,i){if(e===0&&t.length<De.MINIMUM_VALID_SIZE)return null;var o=r,s=i;t.length>=De.MINIMUM_VALID_SIZE&&v.isCCW(t)&&(o=i,s=r,n=y.opposite(n));var a=this._curveBuilder.getRingCurve(t,n,e);this.addCurve(a,o,s)};Zt.prototype.add=function(t){if(t.isEmpty())return null;t instanceof ot?this.addPolygon(t):t instanceof W?this.addLineString(t):t instanceof Ft?this.addPoint(t):t instanceof Qn?this.addCollection(t):t instanceof yn?this.addCollection(t):t instanceof Te?this.addCollection(t):t instanceof St&&this.addCollection(t)};Zt.prototype.isErodedCompletely=function(t,e){var n=t.getCoordinates();if(n.length<4)return e<0;if(n.length===4)return this.isTriangleErodedCompletely(n,e);var r=t.getEnvelopeInternal(),i=Math.min(r.getHeight(),r.getWidth());return e<0&&2*Math.abs(e)>i};Zt.prototype.addCollection=function(t){for(var e=this,n=0;n<t.getNumGeometries();n++){var r=t.getGeometryN(n);e.add(r)}};Zt.prototype.interfaces_=function(){return[]};Zt.prototype.getClass=function(){return Zt};var er=function(){};er.prototype.locate=function(t){};er.prototype.interfaces_=function(){return[]};er.prototype.getClass=function(){return er};var Re=function(){this._parent=null,this._atStart=null,this._max=null,this._index=null,this._subcollectionIterator=null;var t=arguments[0];this._parent=t,this._atStart=!0,this._index=0,this._max=t.getNumGeometries()};Re.prototype.next=function(){if(this._atStart)return this._atStart=!1,Re.isAtomic(this._parent)&&this._index++,this._parent;if(this._subcollectionIterator!==null){if(this._subcollectionIterator.hasNext())return this._subcollectionIterator.next();this._subcollectionIterator=null}if(this._index>=this._max)throw new pr;var t=this._parent.getGeometryN(this._index++);return t instanceof St?(this._subcollectionIterator=new Re(t),this._subcollectionIterator.next()):t};Re.prototype.remove=function(){throw new Error(this.getClass().getName())};Re.prototype.hasNext=function(){if(this._atStart)return!0;if(this._subcollectionIterator!==null){if(this._subcollectionIterator.hasNext())return!0;this._subcollectionIterator=null}return!(this._index>=this._max)};Re.prototype.interfaces_=function(){return[lr]};Re.prototype.getClass=function(){return Re};Re.isAtomic=function(t){return!(t instanceof St)};var Ut=function(){this._geom=null;var t=arguments[0];this._geom=t};Ut.prototype.locate=function(t){return Ut.locate(t,this._geom)};Ut.prototype.interfaces_=function(){return[er]};Ut.prototype.getClass=function(){return Ut};Ut.isPointInRing=function(t,e){return e.getEnvelopeInternal().intersects(t)?v.isPointInRing(t,e.getCoordinates()):!1};Ut.containsPointInPolygon=function(t,e){if(e.isEmpty())return!1;var n=e.getExteriorRing();if(!Ut.isPointInRing(t,n))return!1;for(var r=0;r<e.getNumInteriorRing();r++){var i=e.getInteriorRingN(r);if(Ut.isPointInRing(t,i))return!1}return!0};Ut.containsPoint=function(t,e){if(e instanceof ot)return Ut.containsPointInPolygon(t,e);if(e instanceof St)for(var n=new Re(e);n.hasNext();){var r=n.next();if(r!==e&&Ut.containsPoint(t,r))return!0}return!1};Ut.locate=function(t,e){return e.isEmpty()?h.EXTERIOR:Ut.containsPoint(t,e)?h.INTERIOR:h.EXTERIOR};var vt=function(){this._edgeMap=new mt,this._edgeList=null,this._ptInAreaLocation=[h.NONE,h.NONE]};vt.prototype.getNextCW=function(t){this.getEdges();var e=this._edgeList.indexOf(t),n=e-1;return e===0&&(n=this._edgeList.size()-1),this._edgeList.get(n)};vt.prototype.propagateSideLabels=function(t){for(var e=h.NONE,n=this.iterator();n.hasNext();){var r=n.next(),i=r.getLabel();i.isArea(t)&&i.getLocation(t,y.LEFT)!==h.NONE&&(e=i.getLocation(t,y.LEFT))}if(e===h.NONE)return null;for(var o=e,s=this.iterator();s.hasNext();){var a=s.next(),u=a.getLabel();if(u.getLocation(t,y.ON)===h.NONE&&u.setLocation(t,y.ON,o),u.isArea(t)){var l=u.getLocation(t,y.LEFT),p=u.getLocation(t,y.RIGHT);if(p!==h.NONE){if(p!==o)throw new Ke("side location conflict",a.getCoordinate());l===h.NONE&&O.shouldNeverReachHere("found single null side (at "+a.getCoordinate()+")"),o=l}else O.isTrue(u.getLocation(t,y.LEFT)===h.NONE,"found single null side"),u.setLocation(t,y.RIGHT,o),u.setLocation(t,y.LEFT,o)}}};vt.prototype.getCoordinate=function(){var t=this.iterator();if(!t.hasNext())return null;var e=t.next();return e.getCoordinate()};vt.prototype.print=function(t){ht.out.println("EdgeEndStar: "+this.getCoordinate());for(var e=this.iterator();e.hasNext();){var n=e.next();n.print(t)}};vt.prototype.isAreaLabelsConsistent=function(t){return this.computeEdgeEndLabels(t.getBoundaryNodeRule()),this.checkAreaLabelsConsistent(0)};vt.prototype.checkAreaLabelsConsistent=function(t){var e=this.getEdges();if(e.size()<=0)return!0;var n=e.size()-1,r=e.get(n).getLabel(),i=r.getLocation(t,y.LEFT);O.isTrue(i!==h.NONE,"Found unlabelled area edge");for(var o=i,s=this.iterator();s.hasNext();){var a=s.next(),u=a.getLabel();O.isTrue(u.isArea(t),"Found non-area edge");var l=u.getLocation(t,y.LEFT),p=u.getLocation(t,y.RIGHT);if(l===p||p!==o)return!1;o=l}return!0};vt.prototype.findIndex=function(t){var e=this;this.iterator();for(var n=0;n<this._edgeList.size();n++){var r=e._edgeList.get(n);if(r===t)return n}return-1};vt.prototype.iterator=function(){return this.getEdges().iterator()};vt.prototype.getEdges=function(){return this._edgeList===null&&(this._edgeList=new _(this._edgeMap.values())),this._edgeList};vt.prototype.getLocation=function(t,e,n){return this._ptInAreaLocation[t]===h.NONE&&(this._ptInAreaLocation[t]=Ut.locate(e,n[t].getGeometry())),this._ptInAreaLocation[t]};vt.prototype.toString=function(){var t=new be;t.append("EdgeEndStar: "+this.getCoordinate()),t.append(`
3
+ `);for(var e=this.iterator();e.hasNext();){var n=e.next();t.append(n),t.append(`
4
+ `)}return t.toString()};vt.prototype.computeEdgeEndLabels=function(t){for(var e=this.iterator();e.hasNext();){var n=e.next();n.computeLabel(t)}};vt.prototype.computeLabelling=function(t){var e=this;this.computeEdgeEndLabels(t[0].getBoundaryNodeRule()),this.propagateSideLabels(0),this.propagateSideLabels(1);for(var n=[!1,!1],r=this.iterator();r.hasNext();)for(var i=r.next(),o=i.getLabel(),s=0;s<2;s++)o.isLine(s)&&o.getLocation(s)===h.BOUNDARY&&(n[s]=!0);for(var a=this.iterator();a.hasNext();)for(var u=a.next(),l=u.getLabel(),p=0;p<2;p++)if(l.isAnyNull(p)){var g=h.NONE;if(n[p])g=h.EXTERIOR;else{var d=u.getCoordinate();g=e.getLocation(p,d,t)}l.setAllLocationsIfNull(p,g)}};vt.prototype.getDegree=function(){return this._edgeMap.size()};vt.prototype.insertEdgeEnd=function(t,e){this._edgeMap.put(t,e),this._edgeList=null};vt.prototype.interfaces_=function(){return[]};vt.prototype.getClass=function(){return vt};var ho=function(t){function e(){t.call(this),this._resultAreaEdgeList=null,this._label=null,this._SCANNING_FOR_INCOMING=1,this._LINKING_TO_OUTGOING=2}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.linkResultDirectedEdges=function(){var n=this;this.getResultAreaEdges();for(var r=null,i=null,o=this._SCANNING_FOR_INCOMING,s=0;s<this._resultAreaEdgeList.size();s++){var a=n._resultAreaEdgeList.get(s),u=a.getSym();if(a.getLabel().isArea())switch(r===null&&a.isInResult()&&(r=a),o){case n._SCANNING_FOR_INCOMING:if(!u.isInResult())continue;i=u,o=n._LINKING_TO_OUTGOING;break;case n._LINKING_TO_OUTGOING:if(!a.isInResult())continue;i.setNext(a),o=n._SCANNING_FOR_INCOMING;break}}if(o===this._LINKING_TO_OUTGOING){if(r===null)throw new Ke("no outgoing dirEdge found",this.getCoordinate());O.isTrue(r.isInResult(),"unable to link last incoming dirEdge"),i.setNext(r)}},e.prototype.insert=function(n){var r=n;this.insertEdgeEnd(r,r)},e.prototype.getRightmostEdge=function(){var n=this.getEdges(),r=n.size();if(r<1)return null;var i=n.get(0);if(r===1)return i;var o=n.get(r-1),s=i.getQuadrant(),a=o.getQuadrant();return U.isNorthern(s)&&U.isNorthern(a)?i:!U.isNorthern(s)&&!U.isNorthern(a)?o:i.getDy()!==0?i:o.getDy()!==0?o:(O.shouldNeverReachHere("found two horizontal edges incident on node"),null)},e.prototype.print=function(n){ht.out.println("DirectedEdgeStar: "+this.getCoordinate());for(var r=this.iterator();r.hasNext();){var i=r.next();n.print("out "),i.print(n),n.println(),n.print("in "),i.getSym().print(n),n.println()}},e.prototype.getResultAreaEdges=function(){var n=this;if(this._resultAreaEdgeList!==null)return this._resultAreaEdgeList;this._resultAreaEdgeList=new _;for(var r=this.iterator();r.hasNext();){var i=r.next();(i.isInResult()||i.getSym().isInResult())&&n._resultAreaEdgeList.add(i)}return this._resultAreaEdgeList},e.prototype.updateLabelling=function(n){for(var r=this.iterator();r.hasNext();){var i=r.next(),o=i.getLabel();o.setAllLocationsIfNull(0,n.getLocation(0)),o.setAllLocationsIfNull(1,n.getLocation(1))}},e.prototype.linkAllDirectedEdges=function(){var n=this;this.getEdges();for(var r=null,i=null,o=this._edgeList.size()-1;o>=0;o--){var s=n._edgeList.get(o),a=s.getSym();i===null&&(i=a),r!==null&&a.setNext(r),r=s}i.setNext(r)},e.prototype.computeDepths=function(){var n=this;if(arguments.length===1){var r=arguments[0],i=this.findIndex(r),o=r.getDepth(y.LEFT),s=r.getDepth(y.RIGHT),a=this.computeDepths(i+1,this._edgeList.size(),o),u=this.computeDepths(0,i,a);if(u!==s)throw new Ke("depth mismatch at "+r.getCoordinate())}else if(arguments.length===3){for(var l=arguments[0],p=arguments[1],g=arguments[2],d=g,m=l;m<p;m++){var I=n._edgeList.get(m);I.setEdgeDepths(y.RIGHT,d),d=I.getDepth(y.LEFT)}return d}},e.prototype.mergeSymLabels=function(){for(var n=this.iterator();n.hasNext();){var r=n.next(),i=r.getLabel();i.merge(r.getSym().getLabel())}},e.prototype.linkMinimalDirectedEdges=function(n){for(var r=this,i=null,o=null,s=this._SCANNING_FOR_INCOMING,a=this._resultAreaEdgeList.size()-1;a>=0;a--){var u=r._resultAreaEdgeList.get(a),l=u.getSym();switch(i===null&&u.getEdgeRing()===n&&(i=u),s){case r._SCANNING_FOR_INCOMING:if(l.getEdgeRing()!==n)continue;o=l,s=r._LINKING_TO_OUTGOING;break;case r._LINKING_TO_OUTGOING:if(u.getEdgeRing()!==n)continue;o.setNextMin(u),s=r._SCANNING_FOR_INCOMING;break}}s===this._LINKING_TO_OUTGOING&&(O.isTrue(i!==null,"found null for first outgoing dirEdge"),O.isTrue(i.getEdgeRing()===n,"unable to link last incoming dirEdge"),o.setNextMin(i))},e.prototype.getOutgoingDegree=function(){if(arguments.length===0){for(var n=0,r=this.iterator();r.hasNext();){var i=r.next();i.isInResult()&&n++}return n}else if(arguments.length===1){for(var o=arguments[0],s=0,a=this.iterator();a.hasNext();){var u=a.next();u.getEdgeRing()===o&&s++}return s}},e.prototype.getLabel=function(){return this._label},e.prototype.findCoveredLineEdges=function(){for(var n=h.NONE,r=this.iterator();r.hasNext();){var i=r.next(),o=i.getSym();if(!i.isLineEdge()){if(i.isInResult()){n=h.INTERIOR;break}if(o.isInResult()){n=h.EXTERIOR;break}}}if(n===h.NONE)return null;for(var s=n,a=this.iterator();a.hasNext();){var u=a.next(),l=u.getSym();u.isLineEdge()?u.getEdge().setCovered(s===h.INTERIOR):(u.isInResult()&&(s=h.EXTERIOR),l.isInResult()&&(s=h.INTERIOR))}},e.prototype.computeLabelling=function(n){var r=this;t.prototype.computeLabelling.call(this,n),this._label=new V(h.NONE);for(var i=this.iterator();i.hasNext();)for(var o=i.next(),s=o.getEdge(),a=s.getLabel(),u=0;u<2;u++){var l=a.getLocation(u);(l===h.INTERIOR||l===h.BOUNDARY)&&r._label.setLocation(u,h.INTERIOR)}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(vt),Gi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createNode=function(n){return new Wr(n,new ho)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Zn),an=function t(){this._pts=null,this._orientation=null;var e=arguments[0];this._pts=e,this._orientation=t.orientation(e)};an.prototype.compareTo=function(t){var e=t,n=an.compareOriented(this._pts,this._orientation,e._pts,e._orientation);return n};an.prototype.interfaces_=function(){return[$t]};an.prototype.getClass=function(){return an};an.orientation=function(t){return R.increasingDirection(t)===1};an.compareOriented=function(t,e,n,r){for(var i=e?1:-1,o=r?1:-1,s=e?t.length:-1,a=r?n.length:-1,u=e?0:t.length-1,l=r?0:n.length-1;;){var p=t[u].compareTo(n[l]);if(p!==0)return p;u+=i,l+=o;var g=u===s,d=l===a;if(g&&!d)return-1;if(!g&&d)return 1;if(g&&d)return 0}};var ae=function(){this._edges=new _,this._ocaMap=new mt};ae.prototype.print=function(t){var e=this;t.print("MULTILINESTRING ( ");for(var n=0;n<this._edges.size();n++){var r=e._edges.get(n);n>0&&t.print(","),t.print("(");for(var i=r.getCoordinates(),o=0;o<i.length;o++)o>0&&t.print(","),t.print(i[o].x+" "+i[o].y);t.println(")")}t.print(") ")};ae.prototype.addAll=function(t){for(var e=this,n=t.iterator();n.hasNext();)e.add(n.next())};ae.prototype.findEdgeIndex=function(t){for(var e=this,n=0;n<this._edges.size();n++)if(e._edges.get(n).equals(t))return n;return-1};ae.prototype.iterator=function(){return this._edges.iterator()};ae.prototype.getEdges=function(){return this._edges};ae.prototype.get=function(t){return this._edges.get(t)};ae.prototype.findEqualEdge=function(t){var e=new an(t.getCoordinates()),n=this._ocaMap.get(e);return n};ae.prototype.add=function(t){this._edges.add(t);var e=new an(t.getCoordinates());this._ocaMap.put(e,t)};ae.prototype.interfaces_=function(){return[]};ae.prototype.getClass=function(){return ae};var vn=function(){};vn.prototype.processIntersections=function(t,e,n,r){};vn.prototype.isDone=function(){};vn.prototype.interfaces_=function(){return[]};vn.prototype.getClass=function(){return vn};var Yt=function(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._hasInterior=!1,this._properIntersectionPoint=null,this._li=null,this._isSelfIntersection=null,this.numIntersections=0,this.numInteriorIntersections=0,this.numProperIntersections=0,this.numTests=0;var t=arguments[0];this._li=t};Yt.prototype.isTrivialIntersection=function(t,e,n,r){if(t===n&&this._li.getIntersectionNum()===1){if(Yt.isAdjacentSegments(e,r))return!0;if(t.isClosed()){var i=t.size()-1;if(e===0&&r===i||r===0&&e===i)return!0}}return!1};Yt.prototype.getProperIntersectionPoint=function(){return this._properIntersectionPoint};Yt.prototype.hasProperInteriorIntersection=function(){return this._hasProperInterior};Yt.prototype.getLineIntersector=function(){return this._li};Yt.prototype.hasProperIntersection=function(){return this._hasProper};Yt.prototype.processIntersections=function(t,e,n,r){if(t===n&&e===r)return null;this.numTests++;var i=t.getCoordinates()[e],o=t.getCoordinates()[e+1],s=n.getCoordinates()[r],a=n.getCoordinates()[r+1];this._li.computeIntersection(i,o,s,a),this._li.hasIntersection()&&(this.numIntersections++,this._li.isInteriorIntersection()&&(this.numInteriorIntersections++,this._hasInterior=!0),this.isTrivialIntersection(t,e,n,r)||(this._hasIntersection=!0,t.addIntersections(this._li,e,0),n.addIntersections(this._li,r,1),this._li.isProper()&&(this.numProperIntersections++,this._hasProper=!0,this._hasProperInterior=!0)))};Yt.prototype.hasIntersection=function(){return this._hasIntersection};Yt.prototype.isDone=function(){return!1};Yt.prototype.hasInteriorIntersection=function(){return this._hasInterior};Yt.prototype.interfaces_=function(){return[vn]};Yt.prototype.getClass=function(){return Yt};Yt.isAdjacentSegments=function(t,e){return Math.abs(t-e)===1};var xe=function(){this.coord=null,this.segmentIndex=null,this.dist=null;var t=arguments[0],e=arguments[1],n=arguments[2];this.coord=new c(t),this.segmentIndex=e,this.dist=n};xe.prototype.getSegmentIndex=function(){return this.segmentIndex};xe.prototype.getCoordinate=function(){return this.coord};xe.prototype.print=function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex),t.println(" dist = "+this.dist)};xe.prototype.compareTo=function(t){var e=t;return this.compare(e.segmentIndex,e.dist)};xe.prototype.isEndPoint=function(t){return this.segmentIndex===0&&this.dist===0||this.segmentIndex===t};xe.prototype.toString=function(){return this.coord+" seg # = "+this.segmentIndex+" dist = "+this.dist};xe.prototype.getDistance=function(){return this.dist};xe.prototype.compare=function(t,e){return this.segmentIndex<t?-1:this.segmentIndex>t?1:this.dist<e?-1:this.dist>e?1:0};xe.prototype.interfaces_=function(){return[$t]};xe.prototype.getClass=function(){return xe};var Fe=function(){this._nodeMap=new mt,this.edge=null;var t=arguments[0];this.edge=t};Fe.prototype.print=function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();){var n=e.next();n.print(t)}};Fe.prototype.iterator=function(){return this._nodeMap.values().iterator()};Fe.prototype.addSplitEdges=function(t){var e=this;this.addEndpoints();for(var n=this.iterator(),r=n.next();n.hasNext();){var i=n.next(),o=e.createSplitEdge(r,i);t.add(o),r=i}};Fe.prototype.addEndpoints=function(){var t=this.edge.pts.length-1;this.add(this.edge.pts[0],0,0),this.add(this.edge.pts[t],t,0)};Fe.prototype.createSplitEdge=function(t,e){var n=this,r=e.segmentIndex-t.segmentIndex+2,i=this.edge.pts[e.segmentIndex],o=e.dist>0||!e.coord.equals2D(i);o||r--;var s=new Array(r).fill(null),a=0;s[a++]=new c(t.coord);for(var u=t.segmentIndex+1;u<=e.segmentIndex;u++)s[a++]=n.edge.pts[u];return o&&(s[a]=e.coord),new Fr(s,new V(this.edge._label))};Fe.prototype.add=function(t,e,n){var r=new xe(t,e,n),i=this._nodeMap.get(r);return i!==null?i:(this._nodeMap.put(r,r),r)};Fe.prototype.isIntersection=function(t){for(var e=this.iterator();e.hasNext();){var n=e.next();if(n.coord.equals(t))return!0}return!1};Fe.prototype.interfaces_=function(){return[]};Fe.prototype.getClass=function(){return Fe};var In=function(){};In.prototype.getChainStartIndices=function(t){var e=this,n=0,r=new _;r.add(new me(n));do{var i=e.findChainEnd(t,n);r.add(new me(i)),n=i}while(n<t.length-1);var o=In.toIntArray(r);return o};In.prototype.findChainEnd=function(t,e){for(var n=U.quadrant(t[e],t[e+1]),r=e+1;r<t.length;){var i=U.quadrant(t[r-1],t[r]);if(i!==n)break;r++}return r-1};In.prototype.interfaces_=function(){return[]};In.prototype.getClass=function(){return In};In.toIntArray=function(t){for(var e=new Array(t.size()).fill(null),n=0;n<e.length;n++)e[n]=t.get(n).intValue();return e};var Qe=function(){this.e=null,this.pts=null,this.startIndex=null,this.env1=new N,this.env2=new N;var t=arguments[0];this.e=t,this.pts=t.getCoordinates();var e=new In;this.startIndex=e.getChainStartIndices(this.pts)};Qe.prototype.getCoordinates=function(){return this.pts};Qe.prototype.getMaxX=function(t){var e=this.pts[this.startIndex[t]].x,n=this.pts[this.startIndex[t+1]].x;return e>n?e:n};Qe.prototype.getMinX=function(t){var e=this.pts[this.startIndex[t]].x,n=this.pts[this.startIndex[t+1]].x;return e<n?e:n};Qe.prototype.computeIntersectsForChain=function(){if(arguments.length===4){var t=arguments[0],e=arguments[1],n=arguments[2],r=arguments[3];this.computeIntersectsForChain(this.startIndex[t],this.startIndex[t+1],e,e.startIndex[n],e.startIndex[n+1],r)}else if(arguments.length===6){var i=arguments[0],o=arguments[1],s=arguments[2],a=arguments[3],u=arguments[4],l=arguments[5],p=this.pts[i],g=this.pts[o],d=s.pts[a],m=s.pts[u];if(o-i===1&&u-a===1)return l.addIntersections(this.e,i,s.e,a),null;if(this.env1.init(p,g),this.env2.init(d,m),!this.env1.intersects(this.env2))return null;var I=Math.trunc((i+o)/2),E=Math.trunc((a+u)/2);i<I&&(a<E&&this.computeIntersectsForChain(i,I,s,a,E,l),E<u&&this.computeIntersectsForChain(i,I,s,E,u,l)),I<o&&(a<E&&this.computeIntersectsForChain(I,o,s,a,E,l),E<u&&this.computeIntersectsForChain(I,o,s,E,u,l))}};Qe.prototype.getStartIndexes=function(){return this.startIndex};Qe.prototype.computeIntersects=function(t,e){for(var n=this,r=0;r<this.startIndex.length-1;r++)for(var i=0;i<t.startIndex.length-1;i++)n.computeIntersectsForChain(r,t,i,e)};Qe.prototype.interfaces_=function(){return[]};Qe.prototype.getClass=function(){return Qe};var ct=function t(){var e=this;this._depth=Array(2).fill().map(function(){return Array(3)});for(var n=0;n<2;n++)for(var r=0;r<3;r++)e._depth[n][r]=t.NULL_VALUE},qi={NULL_VALUE:{configurable:!0}};ct.prototype.getDepth=function(t,e){return this._depth[t][e]};ct.prototype.setDepth=function(t,e,n){this._depth[t][e]=n};ct.prototype.isNull=function(){var t=this;if(arguments.length===0){for(var e=0;e<2;e++)for(var n=0;n<3;n++)if(t._depth[e][n]!==ct.NULL_VALUE)return!1;return!0}else if(arguments.length===1){var r=arguments[0];return this._depth[r][1]===ct.NULL_VALUE}else if(arguments.length===2){var i=arguments[0],o=arguments[1];return this._depth[i][o]===ct.NULL_VALUE}};ct.prototype.normalize=function(){for(var t=this,e=0;e<2;e++)if(!t.isNull(e)){var n=t._depth[e][1];t._depth[e][2]<n&&(n=t._depth[e][2]),n<0&&(n=0);for(var r=1;r<3;r++){var i=0;t._depth[e][r]>n&&(i=1),t._depth[e][r]=i}}};ct.prototype.getDelta=function(t){return this._depth[t][y.RIGHT]-this._depth[t][y.LEFT]};ct.prototype.getLocation=function(t,e){return this._depth[t][e]<=0?h.EXTERIOR:h.INTERIOR};ct.prototype.toString=function(){return"A: "+this._depth[0][1]+","+this._depth[0][2]+" B: "+this._depth[1][1]+","+this._depth[1][2]};ct.prototype.add=function(){var t=this;if(arguments.length===1)for(var e=arguments[0],n=0;n<2;n++)for(var r=1;r<3;r++){var i=e.getLocation(n,r);(i===h.EXTERIOR||i===h.INTERIOR)&&(t.isNull(n,r)?t._depth[n][r]=ct.depthAtLocation(i):t._depth[n][r]+=ct.depthAtLocation(i))}else if(arguments.length===3){var o=arguments[0],s=arguments[1],a=arguments[2];a===h.INTERIOR&&this._depth[o][s]++}};ct.prototype.interfaces_=function(){return[]};ct.prototype.getClass=function(){return ct};ct.depthAtLocation=function(t){return t===h.EXTERIOR?0:t===h.INTERIOR?1:ct.NULL_VALUE};qi.NULL_VALUE.get=function(){return-1};Object.defineProperties(ct,qi);var Fr=function(t){function e(){if(t.call(this),this.pts=null,this._env=null,this.eiList=new Fe(this),this._name=null,this._mce=null,this._isIsolated=!0,this._depth=new ct,this._depthDelta=0,arguments.length===1){var n=arguments[0];e.call(this,n,null)}else if(arguments.length===2){var r=arguments[0],i=arguments[1];this.pts=r,this._label=i}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDepth=function(){return this._depth},e.prototype.getCollapsedEdge=function(){var n=new Array(2).fill(null);n[0]=this.pts[0],n[1]=this.pts[1];var r=new e(n,V.toLineLabel(this._label));return r},e.prototype.isIsolated=function(){return this._isIsolated},e.prototype.getCoordinates=function(){return this.pts},e.prototype.setIsolated=function(n){this._isIsolated=n},e.prototype.setName=function(n){this._name=n},e.prototype.equals=function(n){var r=this;if(!(n instanceof e))return!1;var i=n;if(this.pts.length!==i.pts.length)return!1;for(var o=!0,s=!0,a=this.pts.length,u=0;u<this.pts.length;u++)if(r.pts[u].equals2D(i.pts[u])||(o=!1),r.pts[u].equals2D(i.pts[--a])||(s=!1),!o&&!s)return!1;return!0},e.prototype.getCoordinate=function(){if(arguments.length===0)return this.pts.length>0?this.pts[0]:null;if(arguments.length===1){var n=arguments[0];return this.pts[n]}},e.prototype.print=function(n){var r=this;n.print("edge "+this._name+": "),n.print("LINESTRING (");for(var i=0;i<this.pts.length;i++)i>0&&n.print(","),n.print(r.pts[i].x+" "+r.pts[i].y);n.print(") "+this._label+" "+this._depthDelta)},e.prototype.computeIM=function(n){e.updateIM(this._label,n)},e.prototype.isCollapsed=function(){return!this._label.isArea()||this.pts.length!==3?!1:!!this.pts[0].equals(this.pts[2])},e.prototype.isClosed=function(){return this.pts[0].equals(this.pts[this.pts.length-1])},e.prototype.getMaximumSegmentIndex=function(){return this.pts.length-1},e.prototype.getDepthDelta=function(){return this._depthDelta},e.prototype.getNumPoints=function(){return this.pts.length},e.prototype.printReverse=function(n){var r=this;n.print("edge "+this._name+": ");for(var i=this.pts.length-1;i>=0;i--)n.print(r.pts[i]+" ");n.println("")},e.prototype.getMonotoneChainEdge=function(){return this._mce===null&&(this._mce=new Qe(this)),this._mce},e.prototype.getEnvelope=function(){var n=this;if(this._env===null){this._env=new N;for(var r=0;r<this.pts.length;r++)n._env.expandToInclude(n.pts[r])}return this._env},e.prototype.addIntersection=function(n,r,i,o){var s=new c(n.getIntersection(o)),a=r,u=n.getEdgeDistance(i,o),l=a+1;if(l<this.pts.length){var p=this.pts[l];s.equals2D(p)&&(a=l,u=0)}this.eiList.add(s,a,u)},e.prototype.toString=function(){var n=this,r=new be;r.append("edge "+this._name+": "),r.append("LINESTRING (");for(var i=0;i<this.pts.length;i++)i>0&&r.append(","),r.append(n.pts[i].x+" "+n.pts[i].y);return r.append(") "+this._label+" "+this._depthDelta),r.toString()},e.prototype.isPointwiseEqual=function(n){var r=this;if(this.pts.length!==n.pts.length)return!1;for(var i=0;i<this.pts.length;i++)if(!r.pts[i].equals2D(n.pts[i]))return!1;return!0},e.prototype.setDepthDelta=function(n){this._depthDelta=n},e.prototype.getEdgeIntersectionList=function(){return this.eiList},e.prototype.addIntersections=function(n,r,i){for(var o=this,s=0;s<n.getIntersectionNum();s++)o.addIntersection(n,r,i,s)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.updateIM=function(){if(arguments.length===2){var n=arguments[0],r=arguments[1];r.setAtLeastIfValid(n.getLocation(0,y.ON),n.getLocation(1,y.ON),1),n.isArea()&&(r.setAtLeastIfValid(n.getLocation(0,y.LEFT),n.getLocation(1,y.LEFT),2),r.setAtLeastIfValid(n.getLocation(0,y.RIGHT),n.getLocation(1,y.RIGHT),2))}else return t.prototype.updateIM.apply(this,arguments)},e}(Xt),Ct=function(t){this._workingPrecisionModel=null,this._workingNoder=null,this._geomFact=null,this._graph=null,this._edgeList=new ae,this._bufParams=t||null};Ct.prototype.setWorkingPrecisionModel=function(t){this._workingPrecisionModel=t};Ct.prototype.insertUniqueEdge=function(t){var e=this._edgeList.findEqualEdge(t);if(e!==null){var n=e.getLabel(),r=t.getLabel();e.isPointwiseEqual(t)||(r=new V(t.getLabel()),r.flip()),n.merge(r);var i=Ct.depthDelta(r),o=e.getDepthDelta(),s=o+i;e.setDepthDelta(s)}else this._edgeList.add(t),t.setDepthDelta(Ct.depthDelta(t.getLabel()))};Ct.prototype.buildSubgraphs=function(t,e){for(var n=new _,r=t.iterator();r.hasNext();){var i=r.next(),o=i.getRightmostCoordinate(),s=new Tn(n),a=s.getDepth(o);i.computeDepth(a),i.findResultEdges(),n.add(i),e.add(i.getDirectedEdges(),i.getNodes())}};Ct.prototype.createSubgraphs=function(t){for(var e=new _,n=t.getNodes().iterator();n.hasNext();){var r=n.next();if(!r.isVisited()){var i=new Lt;i.create(r),e.add(i)}}return se.sort(e,se.reverseOrder()),e};Ct.prototype.createEmptyResultGeometry=function(){var t=this._geomFact.createPolygon();return t};Ct.prototype.getNoder=function(t){if(this._workingNoder!==null)return this._workingNoder;var e=new ai,n=new Sn;return n.setPrecisionModel(t),e.setSegmentIntersector(new Yt(n)),e};Ct.prototype.buffer=function(t,e){var n=this._workingPrecisionModel;n===null&&(n=t.getPrecisionModel()),this._geomFact=t.getFactory();var r=new Rt(n,this._bufParams),i=new Zt(t,e,r),o=i.getCurves();if(o.size()<=0)return this.createEmptyResultGeometry();this.computeNodedEdges(o,n),this._graph=new H(new Gi),this._graph.addEdges(this._edgeList.getEdges());var s=this.createSubgraphs(this._graph),a=new Gt(this._geomFact);this.buildSubgraphs(s,a);var u=a.getPolygons();if(u.size()<=0)return this.createEmptyResultGeometry();var l=this._geomFact.buildGeometry(u);return l};Ct.prototype.computeNodedEdges=function(t,e){var n=this,r=this.getNoder(e);r.computeNodes(t);for(var i=r.getNodedSubstrings(),o=i.iterator();o.hasNext();){var s=o.next(),a=s.getCoordinates();if(!(a.length===2&&a[0].equals2D(a[1]))){var u=s.getData(),l=new Fr(s.getCoordinates(),new V(u));n.insertUniqueEdge(l)}}};Ct.prototype.setNoder=function(t){this._workingNoder=t};Ct.prototype.interfaces_=function(){return[]};Ct.prototype.getClass=function(){return Ct};Ct.depthDelta=function(t){var e=t.getLocation(0,y.LEFT),n=t.getLocation(0,y.RIGHT);return e===h.INTERIOR&&n===h.EXTERIOR?1:e===h.EXTERIOR&&n===h.INTERIOR?-1:0};Ct.convertSegStrings=function(t){for(var e=new T,n=new _;t.hasNext();){var r=t.next(),i=e.createLineString(r.getCoordinates());n.add(i)}return e.buildGeometry(n)};var un=function(){if(this._noder=null,this._scaleFactor=null,this._offsetX=null,this._offsetY=null,this._isScaled=!1,arguments.length===2){var t=arguments[0],e=arguments[1];this._noder=t,this._scaleFactor=e,this._offsetX=0,this._offsetY=0,this._isScaled=!this.isIntegerPrecision()}else if(arguments.length===4){var n=arguments[0],r=arguments[1],i=arguments[2],o=arguments[3];this._noder=n,this._scaleFactor=r,this._offsetX=i,this._offsetY=o,this._isScaled=!this.isIntegerPrecision()}};un.prototype.rescale=function(){var t=this;if(L(arguments[0],rt))for(var e=arguments[0],n=e.iterator();n.hasNext();){var r=n.next();t.rescale(r.getCoordinates())}else if(arguments[0]instanceof Array){for(var i=arguments[0],o=0;o<i.length;o++)i[o].x=i[o].x/t._scaleFactor+t._offsetX,i[o].y=i[o].y/t._scaleFactor+t._offsetY;i.length===2&&i[0].equals2D(i[1])&&ht.out.println(i)}};un.prototype.scale=function(){var t=this;if(L(arguments[0],rt)){for(var e=arguments[0],n=new _,r=e.iterator();r.hasNext();){var i=r.next();n.add(new $(t.scale(i.getCoordinates()),i.getData()))}return n}else if(arguments[0]instanceof Array){for(var o=arguments[0],s=new Array(o.length).fill(null),a=0;a<o.length;a++)s[a]=new c(Math.round((o[a].x-t._offsetX)*t._scaleFactor),Math.round((o[a].y-t._offsetY)*t._scaleFactor),o[a].z);var u=R.removeRepeatedPoints(s);return u}};un.prototype.isIntegerPrecision=function(){return this._scaleFactor===1};un.prototype.getNodedSubstrings=function(){var t=this._noder.getNodedSubstrings();return this._isScaled&&this.rescale(t),t};un.prototype.computeNodes=function(t){var e=t;this._isScaled&&(e=this.scale(t)),this._noder.computeNodes(e)};un.prototype.interfaces_=function(){return[mn]};un.prototype.getClass=function(){return un};var Ce=function(){this._li=new Sn,this._segStrings=null;var t=arguments[0];this._segStrings=t},Bi={fact:{configurable:!0}};Ce.prototype.checkEndPtVertexIntersections=function(){var t=this;if(arguments.length===0)for(var e=this._segStrings.iterator();e.hasNext();){var n=e.next(),r=n.getCoordinates();t.checkEndPtVertexIntersections(r[0],t._segStrings),t.checkEndPtVertexIntersections(r[r.length-1],t._segStrings)}else if(arguments.length===2){for(var i=arguments[0],o=arguments[1],s=o.iterator();s.hasNext();)for(var a=s.next(),u=a.getCoordinates(),l=1;l<u.length-1;l++)if(u[l].equals(i))throw new He("found endpt/interior pt intersection at index "+l+" :pt "+i)}};Ce.prototype.checkInteriorIntersections=function(){var t=this;if(arguments.length===0)for(var e=this._segStrings.iterator();e.hasNext();)for(var n=e.next(),r=this._segStrings.iterator();r.hasNext();){var i=r.next();t.checkInteriorIntersections(n,i)}else if(arguments.length===2)for(var o=arguments[0],s=arguments[1],a=o.getCoordinates(),u=s.getCoordinates(),l=0;l<a.length-1;l++)for(var p=0;p<u.length-1;p++)t.checkInteriorIntersections(o,l,s,p);else if(arguments.length===4){var g=arguments[0],d=arguments[1],m=arguments[2],I=arguments[3];if(g===m&&d===I)return null;var E=g.getCoordinates()[d],C=g.getCoordinates()[d+1],M=m.getCoordinates()[I],A=m.getCoordinates()[I+1];if(this._li.computeIntersection(E,C,M,A),this._li.hasIntersection()&&(this._li.isProper()||this.hasInteriorIntersection(this._li,E,C)||this.hasInteriorIntersection(this._li,M,A)))throw new He("found non-noded intersection at "+E+"-"+C+" and "+M+"-"+A)}};Ce.prototype.checkValid=function(){this.checkEndPtVertexIntersections(),this.checkInteriorIntersections(),this.checkCollapses()};Ce.prototype.checkCollapses=function(){var t=this;if(arguments.length===0)for(var e=this._segStrings.iterator();e.hasNext();){var n=e.next();t.checkCollapses(n)}else if(arguments.length===1)for(var r=arguments[0],i=r.getCoordinates(),o=0;o<i.length-2;o++)t.checkCollapse(i[o],i[o+1],i[o+2])};Ce.prototype.hasInteriorIntersection=function(t,e,n){for(var r=0;r<t.getIntersectionNum();r++){var i=t.getIntersection(r);if(!(i.equals(e)||i.equals(n)))return!0}return!1};Ce.prototype.checkCollapse=function(t,e,n){if(t.equals(n))throw new He("found non-noded collapse at "+Ce.fact.createLineString([t,e,n]))};Ce.prototype.interfaces_=function(){return[]};Ce.prototype.getClass=function(){return Ce};Bi.fact.get=function(){return new T};Object.defineProperties(Ce,Bi);var Pt=function(){this._li=null,this._pt=null,this._originalPt=null,this._ptScaled=null,this._p0Scaled=null,this._p1Scaled=null,this._scaleFactor=null,this._minx=null,this._maxx=null,this._miny=null,this._maxy=null,this._corner=new Array(4).fill(null),this._safeEnv=null;var t=arguments[0],e=arguments[1],n=arguments[2];if(this._originalPt=t,this._pt=t,this._scaleFactor=e,this._li=n,e<=0)throw new Y("Scale factor must be non-zero");e!==1&&(this._pt=new c(this.scale(t.x),this.scale(t.y)),this._p0Scaled=new c,this._p1Scaled=new c),this.initCorners(this._pt)},Vi={SAFE_ENV_EXPANSION_FACTOR:{configurable:!0}};Pt.prototype.intersectsScaled=function(t,e){var n=Math.min(t.x,e.x),r=Math.max(t.x,e.x),i=Math.min(t.y,e.y),o=Math.max(t.y,e.y),s=this._maxx<n||this._minx>r||this._maxy<i||this._miny>o;if(s)return!1;var a=this.intersectsToleranceSquare(t,e);return O.isTrue(!(s&&a),"Found bad envelope test"),a};Pt.prototype.initCorners=function(t){var e=.5;this._minx=t.x-e,this._maxx=t.x+e,this._miny=t.y-e,this._maxy=t.y+e,this._corner[0]=new c(this._maxx,this._maxy),this._corner[1]=new c(this._minx,this._maxy),this._corner[2]=new c(this._minx,this._miny),this._corner[3]=new c(this._maxx,this._miny)};Pt.prototype.intersects=function(t,e){return this._scaleFactor===1?this.intersectsScaled(t,e):(this.copyScaled(t,this._p0Scaled),this.copyScaled(e,this._p1Scaled),this.intersectsScaled(this._p0Scaled,this._p1Scaled))};Pt.prototype.scale=function(t){return Math.round(t*this._scaleFactor)};Pt.prototype.getCoordinate=function(){return this._originalPt};Pt.prototype.copyScaled=function(t,e){e.x=this.scale(t.x),e.y=this.scale(t.y)};Pt.prototype.getSafeEnvelope=function(){if(this._safeEnv===null){var t=Pt.SAFE_ENV_EXPANSION_FACTOR/this._scaleFactor;this._safeEnv=new N(this._originalPt.x-t,this._originalPt.x+t,this._originalPt.y-t,this._originalPt.y+t)}return this._safeEnv};Pt.prototype.intersectsPixelClosure=function(t,e){return this._li.computeIntersection(t,e,this._corner[0],this._corner[1]),!!(this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[1],this._corner[2]),this._li.hasIntersection())||(this._li.computeIntersection(t,e,this._corner[2],this._corner[3]),this._li.hasIntersection())||(this._li.computeIntersection(t,e,this._corner[3],this._corner[0]),this._li.hasIntersection()))};Pt.prototype.intersectsToleranceSquare=function(t,e){var n=!1,r=!1;return this._li.computeIntersection(t,e,this._corner[0],this._corner[1]),!!(this._li.isProper()||(this._li.computeIntersection(t,e,this._corner[1],this._corner[2]),this._li.isProper())||(this._li.hasIntersection()&&(n=!0),this._li.computeIntersection(t,e,this._corner[2],this._corner[3]),this._li.isProper())||(this._li.hasIntersection()&&(r=!0),this._li.computeIntersection(t,e,this._corner[3],this._corner[0]),this._li.isProper())||n&&r||t.equals(this._pt)||e.equals(this._pt))};Pt.prototype.addSnappedNode=function(t,e){var n=t.getCoordinate(e),r=t.getCoordinate(e+1);return this.intersects(n,r)?(t.addIntersection(this.getCoordinate(),e),!0):!1};Pt.prototype.interfaces_=function(){return[]};Pt.prototype.getClass=function(){return Pt};Vi.SAFE_ENV_EXPANSION_FACTOR.get=function(){return .75};Object.defineProperties(Pt,Vi);var xr=function(){this.tempEnv1=new N,this.selectedSegment=new x};xr.prototype.select=function(){if(arguments.length!==1&&arguments.length===2){var t=arguments[0],e=arguments[1];t.getLineSegment(e,this.selectedSegment),this.select(this.selectedSegment)}};xr.prototype.interfaces_=function(){return[]};xr.prototype.getClass=function(){return xr};var nr=function(){this._index=null;var t=arguments[0];this._index=t},Ui={HotPixelSnapAction:{configurable:!0}};nr.prototype.snap=function(){if(arguments.length===1){var t=arguments[0];return this.snap(t,null,-1)}else if(arguments.length===3){var e=arguments[0],n=arguments[1],r=arguments[2],i=e.getSafeEnvelope(),o=new zi(e,n,r);return this._index.query(i,{interfaces_:function(){return[on]},visitItem:function(s){var a=s;a.select(i,o)}}),o.isNodeAdded()}};nr.prototype.interfaces_=function(){return[]};nr.prototype.getClass=function(){return nr};Ui.HotPixelSnapAction.get=function(){return zi};Object.defineProperties(nr,Ui);var zi=function(t){function e(){t.call(this),this._hotPixel=null,this._parentEdge=null,this._hotPixelVertexIndex=null,this._isNodeAdded=!1;var n=arguments[0],r=arguments[1],i=arguments[2];this._hotPixel=n,this._parentEdge=r,this._hotPixelVertexIndex=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.isNodeAdded=function(){return this._isNodeAdded},e.prototype.select=function(){if(arguments.length===2){var n=arguments[0],r=arguments[1],i=n.getContext();if(this._parentEdge!==null&&i===this._parentEdge&&r===this._hotPixelVertexIndex)return null;this._isNodeAdded=this._hotPixel.addSnappedNode(i,r)}else return t.prototype.select.apply(this,arguments)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(xr),Rn=function(){this._li=null,this._interiorIntersections=null;var t=arguments[0];this._li=t,this._interiorIntersections=new _};Rn.prototype.processIntersections=function(t,e,n,r){var i=this;if(t===n&&e===r)return null;var o=t.getCoordinates()[e],s=t.getCoordinates()[e+1],a=n.getCoordinates()[r],u=n.getCoordinates()[r+1];if(this._li.computeIntersection(o,s,a,u),this._li.hasIntersection()&&this._li.isInteriorIntersection()){for(var l=0;l<this._li.getIntersectionNum();l++)i._interiorIntersections.add(i._li.getIntersection(l));t.addIntersections(this._li,e,0),n.addIntersections(this._li,r,1)}};Rn.prototype.isDone=function(){return!1};Rn.prototype.getInteriorIntersections=function(){return this._interiorIntersections};Rn.prototype.interfaces_=function(){return[vn]};Rn.prototype.getClass=function(){return Rn};var Ge=function(){this._pm=null,this._li=null,this._scaleFactor=null,this._noder=null,this._pointSnapper=null,this._nodedSegStrings=null;var t=arguments[0];this._pm=t,this._li=new Sn,this._li.setPrecisionModel(t),this._scaleFactor=t.getScale()};Ge.prototype.checkCorrectness=function(t){var e=$.getNodedSubstrings(t),n=new Ce(e);try{n.checkValid()}catch(r){if(r instanceof Si)r.printStackTrace();else throw r}finally{}};Ge.prototype.getNodedSubstrings=function(){return $.getNodedSubstrings(this._nodedSegStrings)};Ge.prototype.snapRound=function(t,e){var n=this.findInteriorIntersections(t,e);this.computeIntersectionSnaps(n),this.computeVertexSnaps(t)};Ge.prototype.findInteriorIntersections=function(t,e){var n=new Rn(e);return this._noder.setSegmentIntersector(n),this._noder.computeNodes(t),n.getInteriorIntersections()};Ge.prototype.computeVertexSnaps=function(){var t=this;if(L(arguments[0],rt))for(var e=arguments[0],n=e.iterator();n.hasNext();){var r=n.next();t.computeVertexSnaps(r)}else if(arguments[0]instanceof $)for(var i=arguments[0],o=i.getCoordinates(),s=0;s<o.length;s++){var a=new Pt(o[s],t._scaleFactor,t._li),u=t._pointSnapper.snap(a,i,s);u&&i.addIntersection(o[s],s)}};Ge.prototype.computeNodes=function(t){this._nodedSegStrings=t,this._noder=new ai,this._pointSnapper=new nr(this._noder.getIndex()),this.snapRound(t,this._li)};Ge.prototype.computeIntersectionSnaps=function(t){for(var e=this,n=t.iterator();n.hasNext();){var r=n.next(),i=new Pt(r,e._scaleFactor,e._li);e._pointSnapper.snap(i)}};Ge.prototype.interfaces_=function(){return[mn]};Ge.prototype.getClass=function(){return Ge};var pt=function(){if(this._argGeom=null,this._distance=null,this._bufParams=new G,this._resultGeometry=null,this._saveException=null,arguments.length===1){var t=arguments[0];this._argGeom=t}else if(arguments.length===2){var e=arguments[0],n=arguments[1];this._argGeom=e,this._bufParams=n}},cr={CAP_ROUND:{configurable:!0},CAP_BUTT:{configurable:!0},CAP_FLAT:{configurable:!0},CAP_SQUARE:{configurable:!0},MAX_PRECISION_DIGITS:{configurable:!0}};pt.prototype.bufferFixedPrecision=function(t){var e=new un(new Ge(new q(1)),t.getScale()),n=new Ct(this._bufParams);n.setWorkingPrecisionModel(t),n.setNoder(e),this._resultGeometry=n.buffer(this._argGeom,this._distance)};pt.prototype.bufferReducedPrecision=function(){var t=this;if(arguments.length===0){for(var e=pt.MAX_PRECISION_DIGITS;e>=0;e--){try{t.bufferReducedPrecision(e)}catch(o){if(o instanceof Ke)t._saveException=o;else throw o}finally{}if(t._resultGeometry!==null)return null}throw this._saveException}else if(arguments.length===1){var n=arguments[0],r=pt.precisionScaleFactor(this._argGeom,this._distance,n),i=new q(r);this.bufferFixedPrecision(i)}};pt.prototype.computeGeometry=function(){if(this.bufferOriginalPrecision(),this._resultGeometry!==null)return null;var t=this._argGeom.getFactory().getPrecisionModel();t.getType()===q.FIXED?this.bufferFixedPrecision(t):this.bufferReducedPrecision()};pt.prototype.setQuadrantSegments=function(t){this._bufParams.setQuadrantSegments(t)};pt.prototype.bufferOriginalPrecision=function(){try{var t=new Ct(this._bufParams);this._resultGeometry=t.buffer(this._argGeom,this._distance)}catch(e){if(e instanceof He)this._saveException=e;else throw e}finally{}};pt.prototype.getResultGeometry=function(t){return this._distance=t,this.computeGeometry(),this._resultGeometry};pt.prototype.setEndCapStyle=function(t){this._bufParams.setEndCapStyle(t)};pt.prototype.interfaces_=function(){return[]};pt.prototype.getClass=function(){return pt};pt.bufferOp=function(){if(arguments.length===2){var t=arguments[0],e=arguments[1],n=new pt(t),r=n.getResultGeometry(e);return r}else if(arguments.length===3){if(Number.isInteger(arguments[2])&&arguments[0]instanceof S&&typeof arguments[1]=="number"){var i=arguments[0],o=arguments[1],s=arguments[2],a=new pt(i);a.setQuadrantSegments(s);var u=a.getResultGeometry(o);return u}else if(arguments[2]instanceof G&&arguments[0]instanceof S&&typeof arguments[1]=="number"){var l=arguments[0],p=arguments[1],g=arguments[2],d=new pt(l,g),m=d.getResultGeometry(p);return m}}else if(arguments.length===4){var I=arguments[0],E=arguments[1],C=arguments[2],M=arguments[3],A=new pt(I);A.setQuadrantSegments(C),A.setEndCapStyle(M);var It=A.getResultGeometry(E);return It}};pt.precisionScaleFactor=function(t,e,n){var r=t.getEnvelopeInternal(),i=zt.max(Math.abs(r.getMaxX()),Math.abs(r.getMaxY()),Math.abs(r.getMinX()),Math.abs(r.getMinY())),o=e>0?e:0,s=i+2*o,a=Math.trunc(Math.log(s)/Math.log(10)+1),u=n-a,l=Math.pow(10,u);return l};cr.CAP_ROUND.get=function(){return G.CAP_ROUND};cr.CAP_BUTT.get=function(){return G.CAP_FLAT};cr.CAP_FLAT.get=function(){return G.CAP_FLAT};cr.CAP_SQUARE.get=function(){return G.CAP_SQUARE};cr.MAX_PRECISION_DIGITS.get=function(){return 12};Object.defineProperties(pt,cr);var Nt=function(){this._pt=[new c,new c],this._distance=b.NaN,this._isNull=!0};Nt.prototype.getCoordinates=function(){return this._pt};Nt.prototype.getCoordinate=function(t){return this._pt[t]};Nt.prototype.setMinimum=function(){if(arguments.length===1){var t=arguments[0];this.setMinimum(t._pt[0],t._pt[1])}else if(arguments.length===2){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var r=e.distance(n);r<this._distance&&this.initialize(e,n,r)}};Nt.prototype.initialize=function(){if(arguments.length===0)this._isNull=!0;else if(arguments.length===2){var t=arguments[0],e=arguments[1];this._pt[0].setCoordinate(t),this._pt[1].setCoordinate(e),this._distance=t.distance(e),this._isNull=!1}else if(arguments.length===3){var n=arguments[0],r=arguments[1],i=arguments[2];this._pt[0].setCoordinate(n),this._pt[1].setCoordinate(r),this._distance=i,this._isNull=!1}};Nt.prototype.getDistance=function(){return this._distance};Nt.prototype.setMaximum=function(){if(arguments.length===1){var t=arguments[0];this.setMaximum(t._pt[0],t._pt[1])}else if(arguments.length===2){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var r=e.distance(n);r>this._distance&&this.initialize(e,n,r)}};Nt.prototype.interfaces_=function(){return[]};Nt.prototype.getClass=function(){return Nt};var Oe=function(){};Oe.prototype.interfaces_=function(){return[]};Oe.prototype.getClass=function(){return Oe};Oe.computeDistance=function(){if(arguments[2]instanceof Nt&&arguments[0]instanceof W&&arguments[1]instanceof c)for(var t=arguments[0],e=arguments[1],n=arguments[2],r=t.getCoordinates(),i=new x,o=0;o<r.length-1;o++){i.setCoordinates(r[o],r[o+1]);var s=i.closestPoint(e);n.setMinimum(s,e)}else if(arguments[2]instanceof Nt&&arguments[0]instanceof ot&&arguments[1]instanceof c){var a=arguments[0],u=arguments[1],l=arguments[2];Oe.computeDistance(a.getExteriorRing(),u,l);for(var p=0;p<a.getNumInteriorRing();p++)Oe.computeDistance(a.getInteriorRingN(p),u,l)}else if(arguments[2]instanceof Nt&&arguments[0]instanceof S&&arguments[1]instanceof c){var g=arguments[0],d=arguments[1],m=arguments[2];if(g instanceof W)Oe.computeDistance(g,d,m);else if(g instanceof ot)Oe.computeDistance(g,d,m);else if(g instanceof St)for(var I=g,E=0;E<I.getNumGeometries();E++){var C=I.getGeometryN(E);Oe.computeDistance(C,d,m)}else m.setMinimum(g.getCoordinate(),d)}else if(arguments[2]instanceof Nt&&arguments[0]instanceof x&&arguments[1]instanceof c){var M=arguments[0],A=arguments[1],It=arguments[2],Mt=M.closestPoint(A);It.setMinimum(Mt,A)}};var En=function(t){this._maxPtDist=new Nt,this._inputGeom=t||null},ui={MaxPointDistanceFilter:{configurable:!0},MaxMidpointDistanceFilter:{configurable:!0}};En.prototype.computeMaxMidpointDistance=function(t){var e=new ln(this._inputGeom);t.apply(e),this._maxPtDist.setMaximum(e.getMaxPointDistance())};En.prototype.computeMaxVertexDistance=function(t){var e=new Pn(this._inputGeom);t.apply(e),this._maxPtDist.setMaximum(e.getMaxPointDistance())};En.prototype.findDistance=function(t){return this.computeMaxVertexDistance(t),this.computeMaxMidpointDistance(t),this._maxPtDist.getDistance()};En.prototype.getDistancePoints=function(){return this._maxPtDist};En.prototype.interfaces_=function(){return[]};En.prototype.getClass=function(){return En};ui.MaxPointDistanceFilter.get=function(){return Pn};ui.MaxMidpointDistanceFilter.get=function(){return ln};Object.defineProperties(En,ui);var Pn=function(t){this._maxPtDist=new Nt,this._minPtDist=new Nt,this._geom=t||null};Pn.prototype.filter=function(t){this._minPtDist.initialize(),Oe.computeDistance(this._geom,t,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)};Pn.prototype.getMaxPointDistance=function(){return this._maxPtDist};Pn.prototype.interfaces_=function(){return[Pe]};Pn.prototype.getClass=function(){return Pn};var ln=function(t){this._maxPtDist=new Nt,this._minPtDist=new Nt,this._geom=t||null};ln.prototype.filter=function(t,e){if(e===0)return null;var n=t.getCoordinate(e-1),r=t.getCoordinate(e),i=new c((n.x+r.x)/2,(n.y+r.y)/2);this._minPtDist.initialize(),Oe.computeDistance(this._geom,i,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)};ln.prototype.isDone=function(){return!1};ln.prototype.isGeometryChanged=function(){return!1};ln.prototype.getMaxPointDistance=function(){return this._maxPtDist};ln.prototype.interfaces_=function(){return[ie]};ln.prototype.getClass=function(){return ln};var je=function(t){this._comps=t||null};je.prototype.filter=function(t){t instanceof ot&&this._comps.add(t)};je.prototype.interfaces_=function(){return[ve]};je.prototype.getClass=function(){return je};je.getPolygons=function(){if(arguments.length===1){var t=arguments[0];return je.getPolygons(t,new _)}else if(arguments.length===2){var e=arguments[0],n=arguments[1];return e instanceof ot?n.add(e):e instanceof St&&e.apply(new je(n)),n}};var lt=function(){if(this._lines=null,this._isForcedToLineString=!1,arguments.length===1){var t=arguments[0];this._lines=t}else if(arguments.length===2){var e=arguments[0],n=arguments[1];this._lines=e,this._isForcedToLineString=n}};lt.prototype.filter=function(t){if(this._isForcedToLineString&&t instanceof De){var e=t.getFactory().createLineString(t.getCoordinateSequence());return this._lines.add(e),null}t instanceof W&&this._lines.add(t)};lt.prototype.setForceToLineString=function(t){this._isForcedToLineString=t};lt.prototype.interfaces_=function(){return[We]};lt.prototype.getClass=function(){return lt};lt.getGeometry=function(){if(arguments.length===1){var t=arguments[0];return t.getFactory().buildGeometry(lt.getLines(t))}else if(arguments.length===2){var e=arguments[0],n=arguments[1];return e.getFactory().buildGeometry(lt.getLines(e,n))}};lt.getLines=function(){if(arguments.length===1){var t=arguments[0];return lt.getLines(t,!1)}else if(arguments.length===2){if(L(arguments[0],rt)&&L(arguments[1],rt)){for(var e=arguments[0],n=arguments[1],r=e.iterator();r.hasNext();){var i=r.next();lt.getLines(i,n)}return n}else if(arguments[0]instanceof S&&typeof arguments[1]=="boolean"){var o=arguments[0],s=arguments[1],a=new _;return o.apply(new lt(a,s)),a}else if(arguments[0]instanceof S&&L(arguments[1],rt)){var u=arguments[0],l=arguments[1];return u instanceof W?l.add(u):u.apply(new lt(l)),l}}else if(arguments.length===3){if(typeof arguments[2]=="boolean"&&L(arguments[0],rt)&&L(arguments[1],rt)){for(var p=arguments[0],g=arguments[1],d=arguments[2],m=p.iterator();m.hasNext();){var I=m.next();lt.getLines(I,g,d)}return g}else if(typeof arguments[2]=="boolean"&&arguments[0]instanceof S&&L(arguments[1],rt)){var E=arguments[0],C=arguments[1],M=arguments[2];return E.apply(new lt(C,M)),C}}};var ue=function(){if(this._boundaryRule=Jt.OGC_SFS_BOUNDARY_RULE,this._isIn=null,this._numBoundaries=null,arguments.length!==0&&arguments.length===1){var t=arguments[0];if(t===null)throw new Y("Rule must be non-null");this._boundaryRule=t}};ue.prototype.locateInternal=function(){var t=this;if(arguments[0]instanceof c&&arguments[1]instanceof ot){var e=arguments[0],n=arguments[1];if(n.isEmpty())return h.EXTERIOR;var r=n.getExteriorRing(),i=this.locateInPolygonRing(e,r);if(i===h.EXTERIOR)return h.EXTERIOR;if(i===h.BOUNDARY)return h.BOUNDARY;for(var o=0;o<n.getNumInteriorRing();o++){var s=n.getInteriorRingN(o),a=t.locateInPolygonRing(e,s);if(a===h.INTERIOR)return h.EXTERIOR;if(a===h.BOUNDARY)return h.BOUNDARY}return h.INTERIOR}else if(arguments[0]instanceof c&&arguments[1]instanceof W){var u=arguments[0],l=arguments[1];if(!l.getEnvelopeInternal().intersects(u))return h.EXTERIOR;var p=l.getCoordinates();return!l.isClosed()&&(u.equals(p[0])||u.equals(p[p.length-1]))?h.BOUNDARY:v.isOnLine(u,p)?h.INTERIOR:h.EXTERIOR}else if(arguments[0]instanceof c&&arguments[1]instanceof Ft){var g=arguments[0],d=arguments[1],m=d.getCoordinate();return m.equals2D(g)?h.INTERIOR:h.EXTERIOR}};ue.prototype.locateInPolygonRing=function(t,e){return e.getEnvelopeInternal().intersects(t)?v.locatePointInRing(t,e.getCoordinates()):h.EXTERIOR};ue.prototype.intersects=function(t,e){return this.locate(t,e)!==h.EXTERIOR};ue.prototype.updateLocationInfo=function(t){t===h.INTERIOR&&(this._isIn=!0),t===h.BOUNDARY&&this._numBoundaries++};ue.prototype.computeLocation=function(t,e){var n=this;if(e instanceof Ft&&this.updateLocationInfo(this.locateInternal(t,e)),e instanceof W)this.updateLocationInfo(this.locateInternal(t,e));else if(e instanceof ot)this.updateLocationInfo(this.locateInternal(t,e));else if(e instanceof yn)for(var r=e,i=0;i<r.getNumGeometries();i++){var o=r.getGeometryN(i);n.updateLocationInfo(n.locateInternal(t,o))}else if(e instanceof Te)for(var s=e,a=0;a<s.getNumGeometries();a++){var u=s.getGeometryN(a);n.updateLocationInfo(n.locateInternal(t,u))}else if(e instanceof St)for(var l=new Re(e);l.hasNext();){var p=l.next();p!==e&&n.computeLocation(t,p)}};ue.prototype.locate=function(t,e){return e.isEmpty()?h.EXTERIOR:e instanceof W?this.locateInternal(t,e):e instanceof ot?this.locateInternal(t,e):(this._isIn=!1,this._numBoundaries=0,this.computeLocation(t,e),this._boundaryRule.isInBoundary(this._numBoundaries)?h.BOUNDARY:this._numBoundaries>0||this._isIn?h.INTERIOR:h.EXTERIOR)};ue.prototype.interfaces_=function(){return[]};ue.prototype.getClass=function(){return ue};var xt=function t(){if(this._component=null,this._segIndex=null,this._pt=null,arguments.length===2){var e=arguments[0],n=arguments[1];t.call(this,e,t.INSIDE_AREA,n)}else if(arguments.length===3){var r=arguments[0],i=arguments[1],o=arguments[2];this._component=r,this._segIndex=i,this._pt=o}},Xi={INSIDE_AREA:{configurable:!0}};xt.prototype.isInsideArea=function(){return this._segIndex===xt.INSIDE_AREA};xt.prototype.getCoordinate=function(){return this._pt};xt.prototype.getGeometryComponent=function(){return this._component};xt.prototype.getSegmentIndex=function(){return this._segIndex};xt.prototype.interfaces_=function(){return[]};xt.prototype.getClass=function(){return xt};Xi.INSIDE_AREA.get=function(){return-1};Object.defineProperties(xt,Xi);var en=function(t){this._pts=t||null};en.prototype.filter=function(t){t instanceof Ft&&this._pts.add(t)};en.prototype.interfaces_=function(){return[ve]};en.prototype.getClass=function(){return en};en.getPoints=function(){if(arguments.length===1){var t=arguments[0];return t instanceof Ft?se.singletonList(t):en.getPoints(t,new _)}else if(arguments.length===2){var e=arguments[0],n=arguments[1];return e instanceof Ft?n.add(e):e instanceof St&&e.apply(new en(n)),n}};var Dn=function(){this._locations=null;var t=arguments[0];this._locations=t};Dn.prototype.filter=function(t){(t instanceof Ft||t instanceof W||t instanceof ot)&&this._locations.add(new xt(t,0,t.getCoordinate()))};Dn.prototype.interfaces_=function(){return[ve]};Dn.prototype.getClass=function(){return Dn};Dn.getLocations=function(t){var e=new _;return t.apply(new Dn(e)),e};var gt=function(){if(this._geom=null,this._terminateDistance=0,this._ptLocator=new ue,this._minDistanceLocation=null,this._minDistance=b.MAX_VALUE,arguments.length===2){var t=arguments[0],e=arguments[1];this._geom=[t,e],this._terminateDistance=0}else if(arguments.length===3){var n=arguments[0],r=arguments[1],i=arguments[2];this._geom=new Array(2).fill(null),this._geom[0]=n,this._geom[1]=r,this._terminateDistance=i}};gt.prototype.computeContainmentDistance=function(){var t=this;if(arguments.length===0){var e=new Array(2).fill(null);if(this.computeContainmentDistance(0,e),this._minDistance<=this._terminateDistance)return null;this.computeContainmentDistance(1,e)}else if(arguments.length===2){var n=arguments[0],r=arguments[1],i=1-n,o=je.getPolygons(this._geom[n]);if(o.size()>0){var s=Dn.getLocations(this._geom[i]);if(this.computeContainmentDistance(s,o,r),this._minDistance<=this._terminateDistance)return this._minDistanceLocation[i]=r[0],this._minDistanceLocation[n]=r[1],null}}else if(arguments.length===3){if(arguments[2]instanceof Array&&L(arguments[0],ne)&&L(arguments[1],ne)){for(var a=arguments[0],u=arguments[1],l=arguments[2],p=0;p<a.size();p++)for(var g=a.get(p),d=0;d<u.size();d++)if(t.computeContainmentDistance(g,u.get(d),l),t._minDistance<=t._terminateDistance)return null}else if(arguments[2]instanceof Array&&arguments[0]instanceof xt&&arguments[1]instanceof ot){var m=arguments[0],I=arguments[1],E=arguments[2],C=m.getCoordinate();if(h.EXTERIOR!==this._ptLocator.locate(C,I))return this._minDistance=0,E[0]=m,E[1]=new xt(I,C),null}}};gt.prototype.computeMinDistanceLinesPoints=function(t,e,n){for(var r=this,i=0;i<t.size();i++)for(var o=t.get(i),s=0;s<e.size();s++){var a=e.get(s);if(r.computeMinDistance(o,a,n),r._minDistance<=r._terminateDistance)return null}};gt.prototype.computeFacetDistance=function(){var t=new Array(2).fill(null),e=lt.getLines(this._geom[0]),n=lt.getLines(this._geom[1]),r=en.getPoints(this._geom[0]),i=en.getPoints(this._geom[1]);if(this.computeMinDistanceLines(e,n,t),this.updateMinDistance(t,!1),this._minDistance<=this._terminateDistance||(t[0]=null,t[1]=null,this.computeMinDistanceLinesPoints(e,i,t),this.updateMinDistance(t,!1),this._minDistance<=this._terminateDistance)||(t[0]=null,t[1]=null,this.computeMinDistanceLinesPoints(n,r,t),this.updateMinDistance(t,!0),this._minDistance<=this._terminateDistance))return null;t[0]=null,t[1]=null,this.computeMinDistancePoints(r,i,t),this.updateMinDistance(t,!1)};gt.prototype.nearestLocations=function(){return this.computeMinDistance(),this._minDistanceLocation};gt.prototype.updateMinDistance=function(t,e){if(t[0]===null)return null;e?(this._minDistanceLocation[0]=t[1],this._minDistanceLocation[1]=t[0]):(this._minDistanceLocation[0]=t[0],this._minDistanceLocation[1]=t[1])};gt.prototype.nearestPoints=function(){this.computeMinDistance();var t=[this._minDistanceLocation[0].getCoordinate(),this._minDistanceLocation[1].getCoordinate()];return t};gt.prototype.computeMinDistance=function(){var t=this;if(arguments.length===0){if(this._minDistanceLocation!==null||(this._minDistanceLocation=new Array(2).fill(null),this.computeContainmentDistance(),this._minDistance<=this._terminateDistance))return null;this.computeFacetDistance()}else if(arguments.length===3){if(arguments[2]instanceof Array&&arguments[0]instanceof W&&arguments[1]instanceof Ft){var e=arguments[0],n=arguments[1],r=arguments[2];if(e.getEnvelopeInternal().distance(n.getEnvelopeInternal())>this._minDistance)return null;for(var i=e.getCoordinates(),o=n.getCoordinate(),s=0;s<i.length-1;s++){var a=v.distancePointLine(o,i[s],i[s+1]);if(a<t._minDistance){t._minDistance=a;var u=new x(i[s],i[s+1]),l=u.closestPoint(o);r[0]=new xt(e,s,l),r[1]=new xt(n,0,o)}if(t._minDistance<=t._terminateDistance)return null}}else if(arguments[2]instanceof Array&&arguments[0]instanceof W&&arguments[1]instanceof W){var p=arguments[0],g=arguments[1],d=arguments[2];if(p.getEnvelopeInternal().distance(g.getEnvelopeInternal())>this._minDistance)return null;for(var m=p.getCoordinates(),I=g.getCoordinates(),E=0;E<m.length-1;E++)for(var C=0;C<I.length-1;C++){var M=v.distanceLineLine(m[E],m[E+1],I[C],I[C+1]);if(M<t._minDistance){t._minDistance=M;var A=new x(m[E],m[E+1]),It=new x(I[C],I[C+1]),Mt=A.closestPoints(It);d[0]=new xt(p,E,Mt[0]),d[1]=new xt(g,C,Mt[1])}if(t._minDistance<=t._terminateDistance)return null}}}};gt.prototype.computeMinDistancePoints=function(t,e,n){for(var r=this,i=0;i<t.size();i++)for(var o=t.get(i),s=0;s<e.size();s++){var a=e.get(s),u=o.getCoordinate().distance(a.getCoordinate());if(u<r._minDistance&&(r._minDistance=u,n[0]=new xt(o,0,o.getCoordinate()),n[1]=new xt(a,0,a.getCoordinate())),r._minDistance<=r._terminateDistance)return null}};gt.prototype.distance=function(){if(this._geom[0]===null||this._geom[1]===null)throw new Y("null geometries are not supported");return this._geom[0].isEmpty()||this._geom[1].isEmpty()?0:(this.computeMinDistance(),this._minDistance)};gt.prototype.computeMinDistanceLines=function(t,e,n){for(var r=this,i=0;i<t.size();i++)for(var o=t.get(i),s=0;s<e.size();s++){var a=e.get(s);if(r.computeMinDistance(o,a,n),r._minDistance<=r._terminateDistance)return null}};gt.prototype.interfaces_=function(){return[]};gt.prototype.getClass=function(){return gt};gt.distance=function(t,e){var n=new gt(t,e);return n.distance()};gt.isWithinDistance=function(t,e,n){var r=new gt(t,e,n);return r.distance()<=n};gt.nearestPoints=function(t,e){var n=new gt(t,e);return n.nearestPoints()};var yt=function(){this._pt=[new c,new c],this._distance=b.NaN,this._isNull=!0};yt.prototype.getCoordinates=function(){return this._pt};yt.prototype.getCoordinate=function(t){return this._pt[t]};yt.prototype.setMinimum=function(){if(arguments.length===1){var t=arguments[0];this.setMinimum(t._pt[0],t._pt[1])}else if(arguments.length===2){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var r=e.distance(n);r<this._distance&&this.initialize(e,n,r)}};yt.prototype.initialize=function(){if(arguments.length===0)this._isNull=!0;else if(arguments.length===2){var t=arguments[0],e=arguments[1];this._pt[0].setCoordinate(t),this._pt[1].setCoordinate(e),this._distance=t.distance(e),this._isNull=!1}else if(arguments.length===3){var n=arguments[0],r=arguments[1],i=arguments[2];this._pt[0].setCoordinate(n),this._pt[1].setCoordinate(r),this._distance=i,this._isNull=!1}};yt.prototype.toString=function(){return re.toLineString(this._pt[0],this._pt[1])};yt.prototype.getDistance=function(){return this._distance};yt.prototype.setMaximum=function(){if(arguments.length===1){var t=arguments[0];this.setMaximum(t._pt[0],t._pt[1])}else if(arguments.length===2){var e=arguments[0],n=arguments[1];if(this._isNull)return this.initialize(e,n),null;var r=e.distance(n);r>this._distance&&this.initialize(e,n,r)}};yt.prototype.interfaces_=function(){return[]};yt.prototype.getClass=function(){return yt};var fe=function(){};fe.prototype.interfaces_=function(){return[]};fe.prototype.getClass=function(){return fe};fe.computeDistance=function(){if(arguments[2]instanceof yt&&arguments[0]instanceof W&&arguments[1]instanceof c)for(var t=arguments[0],e=arguments[1],n=arguments[2],r=new x,i=t.getCoordinates(),o=0;o<i.length-1;o++){r.setCoordinates(i[o],i[o+1]);var s=r.closestPoint(e);n.setMinimum(s,e)}else if(arguments[2]instanceof yt&&arguments[0]instanceof ot&&arguments[1]instanceof c){var a=arguments[0],u=arguments[1],l=arguments[2];fe.computeDistance(a.getExteriorRing(),u,l);for(var p=0;p<a.getNumInteriorRing();p++)fe.computeDistance(a.getInteriorRingN(p),u,l)}else if(arguments[2]instanceof yt&&arguments[0]instanceof S&&arguments[1]instanceof c){var g=arguments[0],d=arguments[1],m=arguments[2];if(g instanceof W)fe.computeDistance(g,d,m);else if(g instanceof ot)fe.computeDistance(g,d,m);else if(g instanceof St)for(var I=g,E=0;E<I.getNumGeometries();E++){var C=I.getGeometryN(E);fe.computeDistance(C,d,m)}else m.setMinimum(g.getCoordinate(),d)}else if(arguments[2]instanceof yt&&arguments[0]instanceof x&&arguments[1]instanceof c){var M=arguments[0],A=arguments[1],It=arguments[2],Mt=M.closestPoint(A);It.setMinimum(Mt,A)}};var Kt=function(){this._g0=null,this._g1=null,this._ptDist=new yt,this._densifyFrac=0;var t=arguments[0],e=arguments[1];this._g0=t,this._g1=e},li={MaxPointDistanceFilter:{configurable:!0},MaxDensifiedByFractionDistanceFilter:{configurable:!0}};Kt.prototype.getCoordinates=function(){return this._ptDist.getCoordinates()};Kt.prototype.setDensifyFraction=function(t){if(t>1||t<=0)throw new Y("Fraction is not in range (0.0 - 1.0]");this._densifyFrac=t};Kt.prototype.compute=function(t,e){this.computeOrientedDistance(t,e,this._ptDist),this.computeOrientedDistance(e,t,this._ptDist)};Kt.prototype.distance=function(){return this.compute(this._g0,this._g1),this._ptDist.getDistance()};Kt.prototype.computeOrientedDistance=function(t,e,n){var r=new Mn(e);if(t.apply(r),n.setMaximum(r.getMaxPointDistance()),this._densifyFrac>0){var i=new pn(e,this._densifyFrac);t.apply(i),n.setMaximum(i.getMaxPointDistance())}};Kt.prototype.orientedDistance=function(){return this.computeOrientedDistance(this._g0,this._g1,this._ptDist),this._ptDist.getDistance()};Kt.prototype.interfaces_=function(){return[]};Kt.prototype.getClass=function(){return Kt};Kt.distance=function(){if(arguments.length===2){var t=arguments[0],e=arguments[1],n=new Kt(t,e);return n.distance()}else if(arguments.length===3){var r=arguments[0],i=arguments[1],o=arguments[2],s=new Kt(r,i);return s.setDensifyFraction(o),s.distance()}};li.MaxPointDistanceFilter.get=function(){return Mn};li.MaxDensifiedByFractionDistanceFilter.get=function(){return pn};Object.defineProperties(Kt,li);var Mn=function(){this._maxPtDist=new yt,this._minPtDist=new yt,this._euclideanDist=new fe,this._geom=null;var t=arguments[0];this._geom=t};Mn.prototype.filter=function(t){this._minPtDist.initialize(),fe.computeDistance(this._geom,t,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)};Mn.prototype.getMaxPointDistance=function(){return this._maxPtDist};Mn.prototype.interfaces_=function(){return[Pe]};Mn.prototype.getClass=function(){return Mn};var pn=function(){this._maxPtDist=new yt,this._minPtDist=new yt,this._geom=null,this._numSubSegs=0;var t=arguments[0],e=arguments[1];this._geom=t,this._numSubSegs=Math.trunc(Math.round(1/e))};pn.prototype.filter=function(t,e){var n=this;if(e===0)return null;for(var r=t.getCoordinate(e-1),i=t.getCoordinate(e),o=(i.x-r.x)/this._numSubSegs,s=(i.y-r.y)/this._numSubSegs,a=0;a<this._numSubSegs;a++){var u=r.x+a*o,l=r.y+a*s,p=new c(u,l);n._minPtDist.initialize(),fe.computeDistance(n._geom,p,n._minPtDist),n._maxPtDist.setMaximum(n._minPtDist)}};pn.prototype.isDone=function(){return!1};pn.prototype.isGeometryChanged=function(){return!1};pn.prototype.getMaxPointDistance=function(){return this._maxPtDist};pn.prototype.interfaces_=function(){return[ie]};pn.prototype.getClass=function(){return pn};var At=function(t,e,n){this._minValidDistance=null,this._maxValidDistance=null,this._minDistanceFound=null,this._maxDistanceFound=null,this._isValid=!0,this._errMsg=null,this._errorLocation=null,this._errorIndicator=null,this._input=t||null,this._bufDistance=e||null,this._result=n||null},pi={VERBOSE:{configurable:!0},MAX_DISTANCE_DIFF_FRAC:{configurable:!0}};At.prototype.checkMaximumDistance=function(t,e,n){var r=new Kt(e,t);if(r.setDensifyFraction(.25),this._maxDistanceFound=r.orientedDistance(),this._maxDistanceFound>n){this._isValid=!1;var i=r.getCoordinates();this._errorLocation=i[1],this._errorIndicator=t.getFactory().createLineString(i),this._errMsg="Distance between buffer curve and input is too large ("+this._maxDistanceFound+" at "+re.toLineString(i[0],i[1])+")"}};At.prototype.isValid=function(){var t=Math.abs(this._bufDistance),e=At.MAX_DISTANCE_DIFF_FRAC*t;return this._minValidDistance=t-e,this._maxValidDistance=t+e,this._input.isEmpty()||this._result.isEmpty()?!0:(this._bufDistance>0?this.checkPositiveValid():this.checkNegativeValid(),At.VERBOSE&&ht.out.println("Min Dist= "+this._minDistanceFound+" err= "+(1-this._minDistanceFound/this._bufDistance)+" Max Dist= "+this._maxDistanceFound+" err= "+(this._maxDistanceFound/this._bufDistance-1)),this._isValid)};At.prototype.checkNegativeValid=function(){if(!(this._input instanceof ot||this._input instanceof Te||this._input instanceof St))return null;var t=this.getPolygonLines(this._input);if(this.checkMinimumDistance(t,this._result,this._minValidDistance),!this._isValid)return null;this.checkMaximumDistance(t,this._result,this._maxValidDistance)};At.prototype.getErrorIndicator=function(){return this._errorIndicator};At.prototype.checkMinimumDistance=function(t,e,n){var r=new gt(t,e,n);if(this._minDistanceFound=r.distance(),this._minDistanceFound<n){this._isValid=!1;var i=r.nearestPoints();this._errorLocation=r.nearestPoints()[1],this._errorIndicator=t.getFactory().createLineString(i),this._errMsg="Distance between buffer curve and input is too small ("+this._minDistanceFound+" at "+re.toLineString(i[0],i[1])+" )"}};At.prototype.checkPositiveValid=function(){var t=this._result.getBoundary();if(this.checkMinimumDistance(this._input,t,this._minValidDistance),!this._isValid)return null;this.checkMaximumDistance(this._input,t,this._maxValidDistance)};At.prototype.getErrorLocation=function(){return this._errorLocation};At.prototype.getPolygonLines=function(t){for(var e=new _,n=new lt(e),r=je.getPolygons(t),i=r.iterator();i.hasNext();){var o=i.next();o.apply(n)}return t.getFactory().buildGeometry(e)};At.prototype.getErrorMessage=function(){return this._errMsg};At.prototype.interfaces_=function(){return[]};At.prototype.getClass=function(){return At};pi.VERBOSE.get=function(){return!1};pi.MAX_DISTANCE_DIFF_FRAC.get=function(){return .012};Object.defineProperties(At,pi);var ft=function(t,e,n){this._isValid=!0,this._errorMsg=null,this._errorLocation=null,this._errorIndicator=null,this._input=t||null,this._distance=e||null,this._result=n||null},ci={VERBOSE:{configurable:!0},MAX_ENV_DIFF_FRAC:{configurable:!0}};ft.prototype.isValid=function(){return this.checkPolygonal(),this._isValid?(this.checkExpectedEmpty(),this._isValid?(this.checkEnvelope(),this._isValid?(this.checkArea(),this._isValid?(this.checkDistance(),this._isValid):this._isValid):this._isValid):this._isValid):this._isValid};ft.prototype.checkEnvelope=function(){if(this._distance<0)return null;var t=this._distance*ft.MAX_ENV_DIFF_FRAC;t===0&&(t=.001);var e=new N(this._input.getEnvelopeInternal());e.expandBy(this._distance);var n=new N(this._result.getEnvelopeInternal());n.expandBy(t),n.contains(e)||(this._isValid=!1,this._errorMsg="Buffer envelope is incorrect",this._errorIndicator=this._input.getFactory().toGeometry(n)),this.report("Envelope")};ft.prototype.checkDistance=function(){var t=new At(this._input,this._distance,this._result);t.isValid()||(this._isValid=!1,this._errorMsg=t.getErrorMessage(),this._errorLocation=t.getErrorLocation(),this._errorIndicator=t.getErrorIndicator()),this.report("Distance")};ft.prototype.checkArea=function(){var t=this._input.getArea(),e=this._result.getArea();this._distance>0&&t>e&&(this._isValid=!1,this._errorMsg="Area of positive buffer is smaller than input",this._errorIndicator=this._result),this._distance<0&&t<e&&(this._isValid=!1,this._errorMsg="Area of negative buffer is larger than input",this._errorIndicator=this._result),this.report("Area")};ft.prototype.checkPolygonal=function(){this._result instanceof ot||this._result instanceof Te||(this._isValid=!1),this._errorMsg="Result is not polygonal",this._errorIndicator=this._result,this.report("Polygonal")};ft.prototype.getErrorIndicator=function(){return this._errorIndicator};ft.prototype.getErrorLocation=function(){return this._errorLocation};ft.prototype.checkExpectedEmpty=function(){if(this._input.getDimension()>=2||this._distance>0)return null;this._result.isEmpty()||(this._isValid=!1,this._errorMsg="Result is non-empty",this._errorIndicator=this._result),this.report("ExpectedEmpty")};ft.prototype.report=function(t){if(!ft.VERBOSE)return null;ht.out.println("Check "+t+": "+(this._isValid?"passed":"FAILED"))};ft.prototype.getErrorMessage=function(){return this._errorMsg};ft.prototype.interfaces_=function(){return[]};ft.prototype.getClass=function(){return ft};ft.isValidMsg=function(t,e,n){var r=new ft(t,e,n);return r.isValid()?null:r.getErrorMessage()};ft.isValid=function(t,e,n){var r=new ft(t,e,n);return!!r.isValid()};ci.VERBOSE.get=function(){return!1};ci.MAX_ENV_DIFF_FRAC.get=function(){return .012};Object.defineProperties(ft,ci);var Se=function(){this._pts=null,this._data=null;var t=arguments[0],e=arguments[1];this._pts=t,this._data=e};Se.prototype.getCoordinates=function(){return this._pts};Se.prototype.size=function(){return this._pts.length};Se.prototype.getCoordinate=function(t){return this._pts[t]};Se.prototype.isClosed=function(){return this._pts[0].equals(this._pts[this._pts.length-1])};Se.prototype.getSegmentOctant=function(t){return t===this._pts.length-1?-1:On.octant(this.getCoordinate(t),this.getCoordinate(t+1))};Se.prototype.setData=function(t){this._data=t};Se.prototype.getData=function(){return this._data};Se.prototype.toString=function(){return re.toLineString(new J(this._pts))};Se.prototype.interfaces_=function(){return[Ae]};Se.prototype.getClass=function(){return Se};var at=function(){this._findAllIntersections=!1,this._isCheckEndSegmentsOnly=!1,this._li=null,this._interiorIntersection=null,this._intSegments=null,this._intersections=new _,this._intersectionCount=0,this._keepIntersections=!0;var t=arguments[0];this._li=t,this._interiorIntersection=null};at.prototype.getInteriorIntersection=function(){return this._interiorIntersection};at.prototype.setCheckEndSegmentsOnly=function(t){this._isCheckEndSegmentsOnly=t};at.prototype.getIntersectionSegments=function(){return this._intSegments};at.prototype.count=function(){return this._intersectionCount};at.prototype.getIntersections=function(){return this._intersections};at.prototype.setFindAllIntersections=function(t){this._findAllIntersections=t};at.prototype.setKeepIntersections=function(t){this._keepIntersections=t};at.prototype.processIntersections=function(t,e,n,r){if(!this._findAllIntersections&&this.hasIntersection()||t===n&&e===r)return null;if(this._isCheckEndSegmentsOnly){var i=this.isEndSegment(t,e)||this.isEndSegment(n,r);if(!i)return null}var o=t.getCoordinates()[e],s=t.getCoordinates()[e+1],a=n.getCoordinates()[r],u=n.getCoordinates()[r+1];this._li.computeIntersection(o,s,a,u),this._li.hasIntersection()&&this._li.isInteriorIntersection()&&(this._intSegments=new Array(4).fill(null),this._intSegments[0]=o,this._intSegments[1]=s,this._intSegments[2]=a,this._intSegments[3]=u,this._interiorIntersection=this._li.getIntersection(0),this._keepIntersections&&this._intersections.add(this._interiorIntersection),this._intersectionCount++)};at.prototype.isEndSegment=function(t,e){return e===0||e>=t.size()-2};at.prototype.hasIntersection=function(){return this._interiorIntersection!==null};at.prototype.isDone=function(){return this._findAllIntersections?!1:this._interiorIntersection!==null};at.prototype.interfaces_=function(){return[vn]};at.prototype.getClass=function(){return at};at.createAllIntersectionsFinder=function(t){var e=new at(t);return e.setFindAllIntersections(!0),e};at.createAnyIntersectionFinder=function(t){return new at(t)};at.createIntersectionCounter=function(t){var e=new at(t);return e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e};var le=function(){this._li=new Sn,this._segStrings=null,this._findAllIntersections=!1,this._segInt=null,this._isValid=!0;var t=arguments[0];this._segStrings=t};le.prototype.execute=function(){if(this._segInt!==null)return null;this.checkInteriorIntersections()};le.prototype.getIntersections=function(){return this._segInt.getIntersections()};le.prototype.isValid=function(){return this.execute(),this._isValid};le.prototype.setFindAllIntersections=function(t){this._findAllIntersections=t};le.prototype.checkInteriorIntersections=function(){this._isValid=!0,this._segInt=new at(this._li),this._segInt.setFindAllIntersections(this._findAllIntersections);var t=new ai;if(t.setSegmentIntersector(this._segInt),t.computeNodes(this._segStrings),this._segInt.hasIntersection())return this._isValid=!1,null};le.prototype.checkValid=function(){if(this.execute(),!this._isValid)throw new Ke(this.getErrorMessage(),this._segInt.getInteriorIntersection())};le.prototype.getErrorMessage=function(){if(this._isValid)return"no intersections found";var t=this._segInt.getIntersectionSegments();return"found non-noded intersection between "+re.toLineString(t[0],t[1])+" and "+re.toLineString(t[2],t[3])};le.prototype.interfaces_=function(){return[]};le.prototype.getClass=function(){return le};le.computeIntersections=function(t){var e=new le(t);return e.setFindAllIntersections(!0),e.isValid(),e.getIntersections()};var Nn=function t(){this._nv=null;var e=arguments[0];this._nv=new le(t.toSegmentStrings(e))};Nn.prototype.checkValid=function(){this._nv.checkValid()};Nn.prototype.interfaces_=function(){return[]};Nn.prototype.getClass=function(){return Nn};Nn.toSegmentStrings=function(t){for(var e=new _,n=t.iterator();n.hasNext();){var r=n.next();e.add(new Se(r.getCoordinates(),r))}return e};Nn.checkValid=function(t){var e=new Nn(t);e.checkValid()};var An=function(t){this._mapOp=t};An.prototype.map=function(t){for(var e=this,n=new _,r=0;r<t.getNumGeometries();r++){var i=e._mapOp.map(t.getGeometryN(r));i.isEmpty()||n.add(i)}return t.getFactory().createGeometryCollection(T.toGeometryArray(n))};An.prototype.interfaces_=function(){return[]};An.prototype.getClass=function(){return An};An.map=function(t,e){var n=new An(e);return n.map(t)};var Le=function(){this._op=null,this._geometryFactory=null,this._ptLocator=null,this._lineEdgesList=new _,this._resultLineList=new _;var t=arguments[0],e=arguments[1],n=arguments[2];this._op=t,this._geometryFactory=e,this._ptLocator=n};Le.prototype.collectLines=function(t){for(var e=this,n=this._op.getGraph().getEdgeEnds().iterator();n.hasNext();){var r=n.next();e.collectLineEdge(r,t,e._lineEdgesList),e.collectBoundaryTouchEdge(r,t,e._lineEdgesList)}};Le.prototype.labelIsolatedLine=function(t,e){var n=this._ptLocator.locate(t.getCoordinate(),this._op.getArgGeometry(e));t.getLabel().setLocation(e,n)};Le.prototype.build=function(t){return this.findCoveredLineEdges(),this.collectLines(t),this.buildLines(t),this._resultLineList};Le.prototype.collectLineEdge=function(t,e,n){var r=t.getLabel(),i=t.getEdge();t.isLineEdge()&&!t.isVisited()&&w.isResultOfOp(r,e)&&!i.isCovered()&&(n.add(i),t.setVisitedEdge(!0))};Le.prototype.findCoveredLineEdges=function(){for(var t=this,e=this._op.getGraph().getNodes().iterator();e.hasNext();){var n=e.next();n.getEdges().findCoveredLineEdges()}for(var r=this._op.getGraph().getEdgeEnds().iterator();r.hasNext();){var i=r.next(),o=i.getEdge();if(i.isLineEdge()&&!o.isCoveredSet()){var s=t._op.isCoveredByA(i.getCoordinate());o.setCovered(s)}}};Le.prototype.labelIsolatedLines=function(t){for(var e=this,n=t.iterator();n.hasNext();){var r=n.next(),i=r.getLabel();r.isIsolated()&&(i.isNull(0)?e.labelIsolatedLine(r,0):e.labelIsolatedLine(r,1))}};Le.prototype.buildLines=function(t){for(var e=this,n=this._lineEdgesList.iterator();n.hasNext();){var r=n.next(),i=e._geometryFactory.createLineString(r.getCoordinates());e._resultLineList.add(i),r.setInResult(!0)}};Le.prototype.collectBoundaryTouchEdge=function(t,e,n){var r=t.getLabel();if(t.isLineEdge()||t.isVisited()||t.isInteriorAreaEdge()||t.getEdge().isInResult())return null;O.isTrue(!(t.isInResult()||t.getSym().isInResult())||!t.getEdge().isInResult()),w.isResultOfOp(r,e)&&e===w.INTERSECTION&&(n.add(t.getEdge()),t.setVisitedEdge(!0))};Le.prototype.interfaces_=function(){return[]};Le.prototype.getClass=function(){return Le};var Fn=function(){this._op=null,this._geometryFactory=null,this._resultPointList=new _;var t=arguments[0],e=arguments[1];this._op=t,this._geometryFactory=e};Fn.prototype.filterCoveredNodeToPoint=function(t){var e=t.getCoordinate();if(!this._op.isCoveredByLA(e)){var n=this._geometryFactory.createPoint(e);this._resultPointList.add(n)}};Fn.prototype.extractNonCoveredResultNodes=function(t){for(var e=this,n=this._op.getGraph().getNodes().iterator();n.hasNext();){var r=n.next();if(!r.isInResult()&&!r.isIncidentEdgeInResult()&&(r.getEdges().getDegree()===0||t===w.INTERSECTION)){var i=r.getLabel();w.isResultOfOp(i,t)&&e.filterCoveredNodeToPoint(r)}}};Fn.prototype.build=function(t){return this.extractNonCoveredResultNodes(t),this._resultPointList};Fn.prototype.interfaces_=function(){return[]};Fn.prototype.getClass=function(){return Fn};var Dt=function(){this._inputGeom=null,this._factory=null,this._pruneEmptyGeometry=!0,this._preserveGeometryCollectionType=!0,this._preserveCollections=!1,this._preserveType=!1};Dt.prototype.transformPoint=function(t,e){return this._factory.createPoint(this.transformCoordinates(t.getCoordinateSequence(),t))};Dt.prototype.transformPolygon=function(t,e){var n=this,r=!0,i=this.transformLinearRing(t.getExteriorRing(),t);(i===null||!(i instanceof De)||i.isEmpty())&&(r=!1);for(var o=new _,s=0;s<t.getNumInteriorRing();s++){var a=n.transformLinearRing(t.getInteriorRingN(s),t);a===null||a.isEmpty()||(a instanceof De||(r=!1),o.add(a))}if(r)return this._factory.createPolygon(i,o.toArray([]));var u=new _;return i!==null&&u.add(i),u.addAll(o),this._factory.buildGeometry(u)};Dt.prototype.createCoordinateSequence=function(t){return this._factory.getCoordinateSequenceFactory().create(t)};Dt.prototype.getInputGeometry=function(){return this._inputGeom};Dt.prototype.transformMultiLineString=function(t,e){for(var n=this,r=new _,i=0;i<t.getNumGeometries();i++){var o=n.transformLineString(t.getGeometryN(i),t);o!==null&&(o.isEmpty()||r.add(o))}return this._factory.buildGeometry(r)};Dt.prototype.transformCoordinates=function(t,e){return this.copy(t)};Dt.prototype.transformLineString=function(t,e){return this._factory.createLineString(this.transformCoordinates(t.getCoordinateSequence(),t))};Dt.prototype.transformMultiPoint=function(t,e){for(var n=this,r=new _,i=0;i<t.getNumGeometries();i++){var o=n.transformPoint(t.getGeometryN(i),t);o!==null&&(o.isEmpty()||r.add(o))}return this._factory.buildGeometry(r)};Dt.prototype.transformMultiPolygon=function(t,e){for(var n=this,r=new _,i=0;i<t.getNumGeometries();i++){var o=n.transformPolygon(t.getGeometryN(i),t);o!==null&&(o.isEmpty()||r.add(o))}return this._factory.buildGeometry(r)};Dt.prototype.copy=function(t){return t.copy()};Dt.prototype.transformGeometryCollection=function(t,e){for(var n=this,r=new _,i=0;i<t.getNumGeometries();i++){var o=n.transform(t.getGeometryN(i));o!==null&&(n._pruneEmptyGeometry&&o.isEmpty()||r.add(o))}return this._preserveGeometryCollectionType?this._factory.createGeometryCollection(T.toGeometryArray(r)):this._factory.buildGeometry(r)};Dt.prototype.transform=function(t){if(this._inputGeom=t,this._factory=t.getFactory(),t instanceof Ft)return this.transformPoint(t,null);if(t instanceof Qn)return this.transformMultiPoint(t,null);if(t instanceof De)return this.transformLinearRing(t,null);if(t instanceof W)return this.transformLineString(t,null);if(t instanceof yn)return this.transformMultiLineString(t,null);if(t instanceof ot)return this.transformPolygon(t,null);if(t instanceof Te)return this.transformMultiPolygon(t,null);if(t instanceof St)return this.transformGeometryCollection(t,null);throw new Y("Unknown Geometry subtype: "+t.getClass().getName())};Dt.prototype.transformLinearRing=function(t,e){var n=this.transformCoordinates(t.getCoordinateSequence(),t);if(n===null)return this._factory.createLinearRing(null);var r=n.size();return r>0&&r<4&&!this._preserveType?this._factory.createLineString(n):this._factory.createLinearRing(n)};Dt.prototype.interfaces_=function(){return[]};Dt.prototype.getClass=function(){return Dt};var qe=function t(){if(this._snapTolerance=0,this._srcPts=null,this._seg=new x,this._allowSnappingToSourceVertices=!1,this._isClosed=!1,arguments[0]instanceof W&&typeof arguments[1]=="number"){var e=arguments[0],n=arguments[1];t.call(this,e.getCoordinates(),n)}else if(arguments[0]instanceof Array&&typeof arguments[1]=="number"){var r=arguments[0],i=arguments[1];this._srcPts=r,this._isClosed=t.isClosed(r),this._snapTolerance=i}};qe.prototype.snapVertices=function(t,e){for(var n=this,r=this._isClosed?t.size()-1:t.size(),i=0;i<r;i++){var o=t.get(i),s=n.findSnapForVertex(o,e);s!==null&&(t.set(i,new c(s)),i===0&&n._isClosed&&t.set(t.size()-1,new c(s)))}};qe.prototype.findSnapForVertex=function(t,e){for(var n=this,r=0;r<e.length;r++){if(t.equals2D(e[r]))return null;if(t.distance(e[r])<n._snapTolerance)return e[r]}return null};qe.prototype.snapTo=function(t){var e=new Or(this._srcPts);this.snapVertices(e,t),this.snapSegments(e,t);var n=e.toCoordinateArray();return n};qe.prototype.snapSegments=function(t,e){var n=this;if(e.length===0)return null;var r=e.length;e[0].equals2D(e[e.length-1])&&(r=e.length-1);for(var i=0;i<r;i++){var o=e[i],s=n.findSegmentIndexToSnap(o,t);s>=0&&t.add(s+1,new c(o),!1)}};qe.prototype.findSegmentIndexToSnap=function(t,e){for(var n=this,r=b.MAX_VALUE,i=-1,o=0;o<e.size()-1;o++){if(n._seg.p0=e.get(o),n._seg.p1=e.get(o+1),n._seg.p0.equals2D(t)||n._seg.p1.equals2D(t)){if(n._allowSnappingToSourceVertices)continue;return-1}var s=n._seg.distance(t);s<n._snapTolerance&&s<r&&(r=s,i=o)}return i};qe.prototype.setAllowSnappingToSourceVertices=function(t){this._allowSnappingToSourceVertices=t};qe.prototype.interfaces_=function(){return[]};qe.prototype.getClass=function(){return qe};qe.isClosed=function(t){return t.length<=1?!1:t[0].equals2D(t[t.length-1])};var Q=function(t){this._srcGeom=t||null},ki={SNAP_PRECISION_FACTOR:{configurable:!0}};Q.prototype.snapTo=function(t,e){var n=this.extractTargetCoordinates(t),r=new Yi(e,n);return r.transform(this._srcGeom)};Q.prototype.snapToSelf=function(t,e){var n=this.extractTargetCoordinates(this._srcGeom),r=new Yi(t,n,!0),i=r.transform(this._srcGeom),o=i;return e&&L(o,rn)&&(o=i.buffer(0)),o};Q.prototype.computeSnapTolerance=function(t){var e=this.computeMinimumSegmentLength(t),n=e/10;return n};Q.prototype.extractTargetCoordinates=function(t){for(var e=new _e,n=t.getCoordinates(),r=0;r<n.length;r++)e.add(n[r]);return e.toArray(new Array(0).fill(null))};Q.prototype.computeMinimumSegmentLength=function(t){for(var e=b.MAX_VALUE,n=0;n<t.length-1;n++){var r=t[n].distance(t[n+1]);r<e&&(e=r)}return e};Q.prototype.interfaces_=function(){return[]};Q.prototype.getClass=function(){return Q};Q.snap=function(t,e,n){var r=new Array(2).fill(null),i=new Q(t);r[0]=i.snapTo(e,n);var o=new Q(e);return r[1]=o.snapTo(r[0],n),r};Q.computeOverlaySnapTolerance=function(){if(arguments.length===1){var t=arguments[0],e=Q.computeSizeBasedSnapTolerance(t),n=t.getPrecisionModel();if(n.getType()===q.FIXED){var r=1/n.getScale()*2/1.415;r>e&&(e=r)}return e}else if(arguments.length===2){var i=arguments[0],o=arguments[1];return Math.min(Q.computeOverlaySnapTolerance(i),Q.computeOverlaySnapTolerance(o))}};Q.computeSizeBasedSnapTolerance=function(t){var e=t.getEnvelopeInternal(),n=Math.min(e.getHeight(),e.getWidth()),r=n*Q.SNAP_PRECISION_FACTOR;return r};Q.snapToSelf=function(t,e,n){var r=new Q(t);return r.snapToSelf(e,n)};ki.SNAP_PRECISION_FACTOR.get=function(){return 1e-9};Object.defineProperties(Q,ki);var Yi=function(t){function e(n,r,i){t.call(this),this._snapTolerance=n||null,this._snapPts=r||null,this._isSelfSnap=i!==void 0?i:!1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.snapLine=function(n,r){var i=new qe(n,this._snapTolerance);return i.setAllowSnappingToSourceVertices(this._isSelfSnap),i.snapTo(r)},e.prototype.transformCoordinates=function(n,r){var i=n.toCoordinateArray(),o=this.snapLine(i,this._snapPts);return this._factory.getCoordinateSequenceFactory().create(o)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Dt),Et=function(){this._isFirst=!0,this._commonMantissaBitsCount=53,this._commonBits=0,this._commonSignExp=null};Et.prototype.getCommon=function(){return b.longBitsToDouble(this._commonBits)};Et.prototype.add=function(t){var e=b.doubleToLongBits(t);if(this._isFirst)return this._commonBits=e,this._commonSignExp=Et.signExpBits(this._commonBits),this._isFirst=!1,null;var n=Et.signExpBits(e);if(n!==this._commonSignExp)return this._commonBits=0,null;this._commonMantissaBitsCount=Et.numCommonMostSigMantissaBits(this._commonBits,e),this._commonBits=Et.zeroLowerBits(this._commonBits,64-(12+this._commonMantissaBitsCount))};Et.prototype.toString=function(){if(arguments.length===1){var t=arguments[0],e=b.longBitsToDouble(t),n=b.toBinaryString(t),r="0000000000000000000000000000000000000000000000000000000000000000"+n,i=r.substring(r.length-64),o=i.substring(0,1)+" "+i.substring(1,12)+"(exp) "+i.substring(12)+" [ "+e+" ]";return o}};Et.prototype.interfaces_=function(){return[]};Et.prototype.getClass=function(){return Et};Et.getBit=function(t,e){var n=1<<e;return t&n?1:0};Et.signExpBits=function(t){return t>>52};Et.zeroLowerBits=function(t,e){var n=(1<<e)-1,r=~n,i=t&r;return i};Et.numCommonMostSigMantissaBits=function(t,e){for(var n=0,r=52;r>=0;r--){if(Et.getBit(t,r)!==Et.getBit(e,r))return n;n++}return 52};var cn=function(){this._commonCoord=null,this._ccFilter=new Gn},hi={CommonCoordinateFilter:{configurable:!0},Translater:{configurable:!0}};cn.prototype.addCommonBits=function(t){var e=new hn(this._commonCoord);t.apply(e),t.geometryChanged()};cn.prototype.removeCommonBits=function(t){if(this._commonCoord.x===0&&this._commonCoord.y===0)return t;var e=new c(this._commonCoord);e.x=-e.x,e.y=-e.y;var n=new hn(e);return t.apply(n),t.geometryChanged(),t};cn.prototype.getCommonCoordinate=function(){return this._commonCoord};cn.prototype.add=function(t){t.apply(this._ccFilter),this._commonCoord=this._ccFilter.getCommonCoordinate()};cn.prototype.interfaces_=function(){return[]};cn.prototype.getClass=function(){return cn};hi.CommonCoordinateFilter.get=function(){return Gn};hi.Translater.get=function(){return hn};Object.defineProperties(cn,hi);var Gn=function(){this._commonBitsX=new Et,this._commonBitsY=new Et};Gn.prototype.filter=function(t){this._commonBitsX.add(t.x),this._commonBitsY.add(t.y)};Gn.prototype.getCommonCoordinate=function(){return new c(this._commonBitsX.getCommon(),this._commonBitsY.getCommon())};Gn.prototype.interfaces_=function(){return[Pe]};Gn.prototype.getClass=function(){return Gn};var hn=function(){this.trans=null;var t=arguments[0];this.trans=t};hn.prototype.filter=function(t,e){var n=t.getOrdinate(e,0)+this.trans.x,r=t.getOrdinate(e,1)+this.trans.y;t.setOrdinate(e,0,n),t.setOrdinate(e,1,r)};hn.prototype.isDone=function(){return!1};hn.prototype.isGeometryChanged=function(){return!0};hn.prototype.interfaces_=function(){return[ie]};hn.prototype.getClass=function(){return hn};var ut=function(t,e){this._geom=new Array(2).fill(null),this._snapTolerance=null,this._cbr=null,this._geom[0]=t,this._geom[1]=e,this.computeSnapTolerance()};ut.prototype.selfSnap=function(t){var e=new Q(t),n=e.snapTo(t,this._snapTolerance);return n};ut.prototype.removeCommonBits=function(t){this._cbr=new cn,this._cbr.add(t[0]),this._cbr.add(t[1]);var e=new Array(2).fill(null);return e[0]=this._cbr.removeCommonBits(t[0].copy()),e[1]=this._cbr.removeCommonBits(t[1].copy()),e};ut.prototype.prepareResult=function(t){return this._cbr.addCommonBits(t),t};ut.prototype.getResultGeometry=function(t){var e=this.snap(this._geom),n=w.overlayOp(e[0],e[1],t);return this.prepareResult(n)};ut.prototype.checkValid=function(t){t.isValid()||ht.out.println("Snapped geometry is invalid")};ut.prototype.computeSnapTolerance=function(){this._snapTolerance=Q.computeOverlaySnapTolerance(this._geom[0],this._geom[1])};ut.prototype.snap=function(t){var e=this.removeCommonBits(t),n=Q.snap(e[0],e[1],this._snapTolerance);return n};ut.prototype.interfaces_=function(){return[]};ut.prototype.getClass=function(){return ut};ut.overlayOp=function(t,e,n){var r=new ut(t,e);return r.getResultGeometry(n)};ut.union=function(t,e){return ut.overlayOp(t,e,w.UNION)};ut.intersection=function(t,e){return ut.overlayOp(t,e,w.INTERSECTION)};ut.symDifference=function(t,e){return ut.overlayOp(t,e,w.SYMDIFFERENCE)};ut.difference=function(t,e){return ut.overlayOp(t,e,w.DIFFERENCE)};var wt=function(t,e){this._geom=new Array(2).fill(null),this._geom[0]=t,this._geom[1]=e};wt.prototype.getResultGeometry=function(t){var e=null,n=!1,r=null;try{e=w.overlayOp(this._geom[0],this._geom[1],t);var i=!0;i&&(n=!0)}catch(o){if(o instanceof He)r=o;else throw o}finally{}if(!n)try{e=ut.overlayOp(this._geom[0],this._geom[1],t)}catch(o){throw o instanceof He?r:o}finally{}return e};wt.prototype.interfaces_=function(){return[]};wt.prototype.getClass=function(){return wt};wt.overlayOp=function(t,e,n){var r=new wt(t,e);return r.getResultGeometry(n)};wt.union=function(t,e){return wt.overlayOp(t,e,w.UNION)};wt.intersection=function(t,e){return wt.overlayOp(t,e,w.INTERSECTION)};wt.symDifference=function(t,e){return wt.overlayOp(t,e,w.SYMDIFFERENCE)};wt.difference=function(t,e){return wt.overlayOp(t,e,w.DIFFERENCE)};var Cr=function(){this.mce=null,this.chainIndex=null;var t=arguments[0],e=arguments[1];this.mce=t,this.chainIndex=e};Cr.prototype.computeIntersections=function(t,e){this.mce.computeIntersectsForChain(this.chainIndex,t.mce,t.chainIndex,e)};Cr.prototype.interfaces_=function(){return[]};Cr.prototype.getClass=function(){return Cr};var Bt=function t(){if(this._label=null,this._xValue=null,this._eventType=null,this._insertEvent=null,this._deleteEventIndex=null,this._obj=null,arguments.length===2){var e=arguments[0],n=arguments[1];this._eventType=t.DELETE,this._xValue=e,this._insertEvent=n}else if(arguments.length===3){var r=arguments[0],i=arguments[1],o=arguments[2];this._eventType=t.INSERT,this._label=r,this._xValue=i,this._obj=o}},gi={INSERT:{configurable:!0},DELETE:{configurable:!0}};Bt.prototype.isDelete=function(){return this._eventType===Bt.DELETE};Bt.prototype.setDeleteEventIndex=function(t){this._deleteEventIndex=t};Bt.prototype.getObject=function(){return this._obj};Bt.prototype.compareTo=function(t){var e=t;return this._xValue<e._xValue?-1:this._xValue>e._xValue?1:this._eventType<e._eventType?-1:this._eventType>e._eventType?1:0};Bt.prototype.getInsertEvent=function(){return this._insertEvent};Bt.prototype.isInsert=function(){return this._eventType===Bt.INSERT};Bt.prototype.isSameLabel=function(t){return this._label===null?!1:this._label===t._label};Bt.prototype.getDeleteEventIndex=function(){return this._deleteEventIndex};Bt.prototype.interfaces_=function(){return[$t]};Bt.prototype.getClass=function(){return Bt};gi.INSERT.get=function(){return 1};gi.DELETE.get=function(){return 2};Object.defineProperties(Bt,gi);var Gr=function(){};Gr.prototype.interfaces_=function(){return[]};Gr.prototype.getClass=function(){return Gr};var dt=function(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._properIntersectionPoint=null,this._li=null,this._includeProper=null,this._recordIsolated=null,this._isSelfIntersection=null,this._numIntersections=0,this.numTests=0,this._bdyNodes=null,this._isDone=!1,this._isDoneWhenProperInt=!1;var t=arguments[0],e=arguments[1],n=arguments[2];this._li=t,this._includeProper=e,this._recordIsolated=n};dt.prototype.isTrivialIntersection=function(t,e,n,r){if(t===n&&this._li.getIntersectionNum()===1){if(dt.isAdjacentSegments(e,r))return!0;if(t.isClosed()){var i=t.getNumPoints()-1;if(e===0&&r===i||r===0&&e===i)return!0}}return!1};dt.prototype.getProperIntersectionPoint=function(){return this._properIntersectionPoint};dt.prototype.setIsDoneIfProperInt=function(t){this._isDoneWhenProperInt=t};dt.prototype.hasProperInteriorIntersection=function(){return this._hasProperInterior};dt.prototype.isBoundaryPointInternal=function(t,e){for(var n=e.iterator();n.hasNext();){var r=n.next(),i=r.getCoordinate();if(t.isIntersection(i))return!0}return!1};dt.prototype.hasProperIntersection=function(){return this._hasProper};dt.prototype.hasIntersection=function(){return this._hasIntersection};dt.prototype.isDone=function(){return this._isDone};dt.prototype.isBoundaryPoint=function(t,e){return e===null?!1:!!(this.isBoundaryPointInternal(t,e[0])||this.isBoundaryPointInternal(t,e[1]))};dt.prototype.setBoundaryNodes=function(t,e){this._bdyNodes=new Array(2).fill(null),this._bdyNodes[0]=t,this._bdyNodes[1]=e};dt.prototype.addIntersections=function(t,e,n,r){if(t===n&&e===r)return null;this.numTests++;var i=t.getCoordinates()[e],o=t.getCoordinates()[e+1],s=n.getCoordinates()[r],a=n.getCoordinates()[r+1];this._li.computeIntersection(i,o,s,a),this._li.hasIntersection()&&(this._recordIsolated&&(t.setIsolated(!1),n.setIsolated(!1)),this._numIntersections++,this.isTrivialIntersection(t,e,n,r)||(this._hasIntersection=!0,(this._includeProper||!this._li.isProper())&&(t.addIntersections(this._li,e,0),n.addIntersections(this._li,r,1)),this._li.isProper()&&(this._properIntersectionPoint=this._li.getIntersection(0).copy(),this._hasProper=!0,this._isDoneWhenProperInt&&(this._isDone=!0),this.isBoundaryPoint(this._li,this._bdyNodes)||(this._hasProperInterior=!0))))};dt.prototype.interfaces_=function(){return[]};dt.prototype.getClass=function(){return dt};dt.isAdjacentSegments=function(t,e){return Math.abs(t-e)===1};var go=function(t){function e(){t.call(this),this.events=new _,this.nOverlaps=null}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.prepareEvents=function(){var n=this;se.sort(this.events);for(var r=0;r<this.events.size();r++){var i=n.events.get(r);i.isDelete()&&i.getInsertEvent().setDeleteEventIndex(r)}},e.prototype.computeIntersections=function(){var n=this;if(arguments.length===1){var r=arguments[0];this.nOverlaps=0,this.prepareEvents();for(var i=0;i<this.events.size();i++){var o=n.events.get(i);if(o.isInsert()&&n.processOverlaps(i,o.getDeleteEventIndex(),o,r),r.isDone())break}}else if(arguments.length===3){if(arguments[2]instanceof dt&&L(arguments[0],ne)&&L(arguments[1],ne)){var s=arguments[0],a=arguments[1],u=arguments[2];this.addEdges(s,s),this.addEdges(a,a),this.computeIntersections(u)}else if(typeof arguments[2]=="boolean"&&L(arguments[0],ne)&&arguments[1]instanceof dt){var l=arguments[0],p=arguments[1],g=arguments[2];g?this.addEdges(l,null):this.addEdges(l),this.computeIntersections(p)}}},e.prototype.addEdge=function(n,r){for(var i=this,o=n.getMonotoneChainEdge(),s=o.getStartIndexes(),a=0;a<s.length-1;a++){var u=new Cr(o,a),l=new Bt(r,o.getMinX(a),u);i.events.add(l),i.events.add(new Bt(o.getMaxX(a),l))}},e.prototype.processOverlaps=function(n,r,i,o){for(var s=this,a=i.getObject(),u=n;u<r;u++){var l=s.events.get(u);if(l.isInsert()){var p=l.getObject();i.isSameLabel(l)||(a.computeIntersections(p,o),s.nOverlaps++)}}},e.prototype.addEdges=function(){var n=this;if(arguments.length===1)for(var r=arguments[0],i=r.iterator();i.hasNext();){var o=i.next();n.addEdge(o,o)}else if(arguments.length===2)for(var s=arguments[0],a=arguments[1],u=s.iterator();u.hasNext();){var l=u.next();n.addEdge(l,a)}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Gr),Be=function(){this._min=b.POSITIVE_INFINITY,this._max=b.NEGATIVE_INFINITY},ji={NodeComparator:{configurable:!0}};Be.prototype.getMin=function(){return this._min};Be.prototype.intersects=function(t,e){return!(this._min>e||this._max<t)};Be.prototype.getMax=function(){return this._max};Be.prototype.toString=function(){return re.toLineString(new c(this._min,0),new c(this._max,0))};Be.prototype.interfaces_=function(){return[]};Be.prototype.getClass=function(){return Be};ji.NodeComparator.get=function(){return Sr};Object.defineProperties(Be,ji);var Sr=function(){};Sr.prototype.compare=function(t,e){var n=t,r=e,i=(n._min+n._max)/2,o=(r._min+r._max)/2;return i<o?-1:i>o?1:0};Sr.prototype.interfaces_=function(){return[kn]};Sr.prototype.getClass=function(){return Sr};var fo=function(t){function e(){t.call(this),this._item=null;var n=arguments[0],r=arguments[1],i=arguments[2];this._min=n,this._max=r,this._item=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.query=function(n,r,i){if(!this.intersects(n,r))return null;i.visitItem(this._item)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Be),yo=function(t){function e(){t.call(this),this._node1=null,this._node2=null;var n=arguments[0],r=arguments[1];this._node1=n,this._node2=r,this.buildExtent(this._node1,this._node2)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.buildExtent=function(n,r){this._min=Math.min(n._min,r._min),this._max=Math.max(n._max,r._max)},e.prototype.query=function(n,r,i){if(!this.intersects(n,r))return null;this._node1!==null&&this._node1.query(n,r,i),this._node2!==null&&this._node2.query(n,r,i)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Be),Ve=function(){this._leaves=new _,this._root=null,this._level=0};Ve.prototype.buildTree=function(){var t=this;se.sort(this._leaves,new Be.NodeComparator);for(var e=this._leaves,n=null,r=new _;;){if(t.buildLevel(e,r),r.size()===1)return r.get(0);n=e,e=r,r=n}};Ve.prototype.insert=function(t,e,n){if(this._root!==null)throw new Error("Index cannot be added to once it has been queried");this._leaves.add(new fo(t,e,n))};Ve.prototype.query=function(t,e,n){this.init(),this._root.query(t,e,n)};Ve.prototype.buildRoot=function(){if(this._root!==null)return null;this._root=this.buildTree()};Ve.prototype.printNode=function(t){ht.out.println(re.toLineString(new c(t._min,this._level),new c(t._max,this._level)))};Ve.prototype.init=function(){if(this._root!==null)return null;this.buildRoot()};Ve.prototype.buildLevel=function(t,e){this._level++,e.clear();for(var n=0;n<t.size();n+=2){var r=t.get(n),i=n+1<t.size()?t.get(n):null;if(i===null)e.add(r);else{var o=new yo(t.get(n),t.get(n+1));e.add(o)}}};Ve.prototype.interfaces_=function(){return[]};Ve.prototype.getClass=function(){return Ve};var rr=function(){this._items=new _};rr.prototype.visitItem=function(t){this._items.add(t)};rr.prototype.getItems=function(){return this._items};rr.prototype.interfaces_=function(){return[on]};rr.prototype.getClass=function(){return rr};var ir=function(){this._index=null;var t=arguments[0];if(!L(t,rn))throw new Y("Argument must be Polygonal");this._index=new xn(t)},fi={SegmentVisitor:{configurable:!0},IntervalIndexedGeometry:{configurable:!0}};ir.prototype.locate=function(t){var e=new de(t),n=new or(e);return this._index.query(t.y,t.y,n),e.getLocation()};ir.prototype.interfaces_=function(){return[er]};ir.prototype.getClass=function(){return ir};fi.SegmentVisitor.get=function(){return or};fi.IntervalIndexedGeometry.get=function(){return xn};Object.defineProperties(ir,fi);var or=function(){this._counter=null;var t=arguments[0];this._counter=t};or.prototype.visitItem=function(t){var e=t;this._counter.countSegment(e.getCoordinate(0),e.getCoordinate(1))};or.prototype.interfaces_=function(){return[on]};or.prototype.getClass=function(){return or};var xn=function(){this._index=new Ve;var t=arguments[0];this.init(t)};xn.prototype.init=function(t){for(var e=this,n=lt.getLines(t),r=n.iterator();r.hasNext();){var i=r.next(),o=i.getCoordinates();e.addLine(o)}};xn.prototype.addLine=function(t){for(var e=this,n=1;n<t.length;n++){var r=new x(t[n-1],t[n]),i=Math.min(r.p0.y,r.p1.y),o=Math.max(r.p0.y,r.p1.y);e._index.insert(i,o,r)}};xn.prototype.query=function(){if(arguments.length===2){var t=arguments[0],e=arguments[1],n=new rr;return this._index.query(t,e,n),n.getItems()}else if(arguments.length===3){var r=arguments[0],i=arguments[1],o=arguments[2];this._index.query(r,i,o)}};xn.prototype.interfaces_=function(){return[]};xn.prototype.getClass=function(){return xn};var hr=function(t){function e(){if(t.call(this),this._parentGeom=null,this._lineEdgeMap=new Oi,this._boundaryNodeRule=null,this._useBoundaryDeterminationRule=!0,this._argIndex=null,this._boundaryNodes=null,this._hasTooFewPoints=!1,this._invalidPoint=null,this._areaPtLocator=null,this._ptLocator=new ue,arguments.length===2){var n=arguments[0],r=arguments[1],i=Jt.OGC_SFS_BOUNDARY_RULE;this._argIndex=n,this._parentGeom=r,this._boundaryNodeRule=i,r!==null&&this.add(r)}else if(arguments.length===3){var o=arguments[0],s=arguments[1],a=arguments[2];this._argIndex=o,this._parentGeom=s,this._boundaryNodeRule=a,s!==null&&this.add(s)}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.insertBoundaryPoint=function(n,r){var i=this._nodes.addNode(r),o=i.getLabel(),s=1,a=h.NONE;a=o.getLocation(n,y.ON),a===h.BOUNDARY&&s++;var u=e.determineBoundary(this._boundaryNodeRule,s);o.setLocation(n,u)},e.prototype.computeSelfNodes=function(){if(arguments.length===2){var n=arguments[0],r=arguments[1];return this.computeSelfNodes(n,r,!1)}else if(arguments.length===3){var i=arguments[0],o=arguments[1],s=arguments[2],a=new dt(i,!0,!1);a.setIsDoneIfProperInt(s);var u=this.createEdgeSetIntersector(),l=this._parentGeom instanceof De||this._parentGeom instanceof ot||this._parentGeom instanceof Te,p=o||!l;return u.computeIntersections(this._edges,a,p),this.addSelfIntersectionNodes(this._argIndex),a}},e.prototype.computeSplitEdges=function(n){for(var r=this._edges.iterator();r.hasNext();){var i=r.next();i.eiList.addSplitEdges(n)}},e.prototype.computeEdgeIntersections=function(n,r,i){var o=new dt(r,i,!0);o.setBoundaryNodes(this.getBoundaryNodes(),n.getBoundaryNodes());var s=this.createEdgeSetIntersector();return s.computeIntersections(this._edges,n._edges,o),o},e.prototype.getGeometry=function(){return this._parentGeom},e.prototype.getBoundaryNodeRule=function(){return this._boundaryNodeRule},e.prototype.hasTooFewPoints=function(){return this._hasTooFewPoints},e.prototype.addPoint=function(){if(arguments[0]instanceof Ft){var n=arguments[0],r=n.getCoordinate();this.insertPoint(this._argIndex,r,h.INTERIOR)}else if(arguments[0]instanceof c){var i=arguments[0];this.insertPoint(this._argIndex,i,h.INTERIOR)}},e.prototype.addPolygon=function(n){var r=this;this.addPolygonRing(n.getExteriorRing(),h.EXTERIOR,h.INTERIOR);for(var i=0;i<n.getNumInteriorRing();i++){var o=n.getInteriorRingN(i);r.addPolygonRing(o,h.INTERIOR,h.EXTERIOR)}},e.prototype.addEdge=function(n){this.insertEdge(n);var r=n.getCoordinates();this.insertPoint(this._argIndex,r[0],h.BOUNDARY),this.insertPoint(this._argIndex,r[r.length-1],h.BOUNDARY)},e.prototype.addLineString=function(n){var r=R.removeRepeatedPoints(n.getCoordinates());if(r.length<2)return this._hasTooFewPoints=!0,this._invalidPoint=r[0],null;var i=new Fr(r,new V(this._argIndex,h.INTERIOR));this._lineEdgeMap.put(n,i),this.insertEdge(i),O.isTrue(r.length>=2,"found LineString with single point"),this.insertBoundaryPoint(this._argIndex,r[0]),this.insertBoundaryPoint(this._argIndex,r[r.length-1])},e.prototype.getInvalidPoint=function(){return this._invalidPoint},e.prototype.getBoundaryPoints=function(){for(var n=this.getBoundaryNodes(),r=new Array(n.size()).fill(null),i=0,o=n.iterator();o.hasNext();){var s=o.next();r[i++]=s.getCoordinate().copy()}return r},e.prototype.getBoundaryNodes=function(){return this._boundaryNodes===null&&(this._boundaryNodes=this._nodes.getBoundaryNodes(this._argIndex)),this._boundaryNodes},e.prototype.addSelfIntersectionNode=function(n,r,i){if(this.isBoundaryNode(n,r))return null;i===h.BOUNDARY&&this._useBoundaryDeterminationRule?this.insertBoundaryPoint(n,r):this.insertPoint(n,r,i)},e.prototype.addPolygonRing=function(n,r,i){if(n.isEmpty())return null;var o=R.removeRepeatedPoints(n.getCoordinates());if(o.length<4)return this._hasTooFewPoints=!0,this._invalidPoint=o[0],null;var s=r,a=i;v.isCCW(o)&&(s=i,a=r);var u=new Fr(o,new V(this._argIndex,h.BOUNDARY,s,a));this._lineEdgeMap.put(n,u),this.insertEdge(u),this.insertPoint(this._argIndex,o[0],h.BOUNDARY)},e.prototype.insertPoint=function(n,r,i){var o=this._nodes.addNode(r),s=o.getLabel();s===null?o._label=new V(n,i):s.setLocation(n,i)},e.prototype.createEdgeSetIntersector=function(){return new go},e.prototype.addSelfIntersectionNodes=function(n){for(var r=this,i=this._edges.iterator();i.hasNext();)for(var o=i.next(),s=o.getLabel().getLocation(n),a=o.eiList.iterator();a.hasNext();){var u=a.next();r.addSelfIntersectionNode(n,u.coord,s)}},e.prototype.add=function(){if(arguments.length===1){var n=arguments[0];if(n.isEmpty())return null;if(n instanceof Te&&(this._useBoundaryDeterminationRule=!1),n instanceof ot)this.addPolygon(n);else if(n instanceof W)this.addLineString(n);else if(n instanceof Ft)this.addPoint(n);else if(n instanceof Qn)this.addCollection(n);else if(n instanceof yn)this.addCollection(n);else if(n instanceof Te)this.addCollection(n);else if(n instanceof St)this.addCollection(n);else throw new Error(n.getClass().getName())}else return t.prototype.add.apply(this,arguments)},e.prototype.addCollection=function(n){for(var r=this,i=0;i<n.getNumGeometries();i++){var o=n.getGeometryN(i);r.add(o)}},e.prototype.locate=function(n){return L(this._parentGeom,rn)&&this._parentGeom.getNumGeometries()>50?(this._areaPtLocator===null&&(this._areaPtLocator=new ir(this._parentGeom)),this._areaPtLocator.locate(n)):this._ptLocator.locate(n,this._parentGeom)},e.prototype.findEdge=function(){if(arguments.length===1){var n=arguments[0];return this._lineEdgeMap.get(n)}else return t.prototype.findEdge.apply(this,arguments)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.determineBoundary=function(n,r){return n.isInBoundary(r)?h.BOUNDARY:h.INTERIOR},e}(H),sr=function(){if(this._li=new Sn,this._resultPrecisionModel=null,this._arg=null,arguments.length===1){var t=arguments[0];this.setComputationPrecision(t.getPrecisionModel()),this._arg=new Array(1).fill(null),this._arg[0]=new hr(0,t)}else if(arguments.length===2){var e=arguments[0],n=arguments[1],r=Jt.OGC_SFS_BOUNDARY_RULE;e.getPrecisionModel().compareTo(n.getPrecisionModel())>=0?this.setComputationPrecision(e.getPrecisionModel()):this.setComputationPrecision(n.getPrecisionModel()),this._arg=new Array(2).fill(null),this._arg[0]=new hr(0,e,r),this._arg[1]=new hr(1,n,r)}else if(arguments.length===3){var i=arguments[0],o=arguments[1],s=arguments[2];i.getPrecisionModel().compareTo(o.getPrecisionModel())>=0?this.setComputationPrecision(i.getPrecisionModel()):this.setComputationPrecision(o.getPrecisionModel()),this._arg=new Array(2).fill(null),this._arg[0]=new hr(0,i,s),this._arg[1]=new hr(1,o,s)}};sr.prototype.getArgGeometry=function(t){return this._arg[t].getGeometry()};sr.prototype.setComputationPrecision=function(t){this._resultPrecisionModel=t,this._li.setPrecisionModel(this._resultPrecisionModel)};sr.prototype.interfaces_=function(){return[]};sr.prototype.getClass=function(){return sr};var dn=function(){};dn.prototype.interfaces_=function(){return[]};dn.prototype.getClass=function(){return dn};dn.map=function(){if(arguments[0]instanceof S&&L(arguments[1],dn.MapOp)){for(var t=arguments[0],e=arguments[1],n=new _,r=0;r<t.getNumGeometries();r++){var i=e.map(t.getGeometryN(r));i!==null&&n.add(i)}return t.getFactory().buildGeometry(n)}else if(L(arguments[0],rt)&&L(arguments[1],dn.MapOp)){for(var o=arguments[0],s=arguments[1],a=new _,u=o.iterator();u.hasNext();){var l=u.next(),p=s.map(l);p!==null&&a.add(p)}return a}};dn.MapOp=function(){};var w=function(t){function e(){var n=arguments[0],r=arguments[1];t.call(this,n,r),this._ptLocator=new ue,this._geomFact=null,this._resultGeom=null,this._graph=null,this._edgeList=new ae,this._resultPolyList=new _,this._resultLineList=new _,this._resultPointList=new _,this._graph=new H(new Gi),this._geomFact=n.getFactory()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.insertUniqueEdge=function(n){var r=this._edgeList.findEqualEdge(n);if(r!==null){var i=r.getLabel(),o=n.getLabel();r.isPointwiseEqual(n)||(o=new V(n.getLabel()),o.flip());var s=r.getDepth();s.isNull()&&s.add(i),s.add(o),i.merge(o)}else this._edgeList.add(n)},e.prototype.getGraph=function(){return this._graph},e.prototype.cancelDuplicateResultEdges=function(){for(var n=this._graph.getEdgeEnds().iterator();n.hasNext();){var r=n.next(),i=r.getSym();r.isInResult()&&i.isInResult()&&(r.setInResult(!1),i.setInResult(!1))}},e.prototype.isCoveredByLA=function(n){return!!(this.isCovered(n,this._resultLineList)||this.isCovered(n,this._resultPolyList))},e.prototype.computeGeometry=function(n,r,i,o){var s=new _;return s.addAll(n),s.addAll(r),s.addAll(i),s.isEmpty()?e.createEmptyResult(o,this._arg[0].getGeometry(),this._arg[1].getGeometry(),this._geomFact):this._geomFact.buildGeometry(s)},e.prototype.mergeSymLabels=function(){for(var n=this._graph.getNodes().iterator();n.hasNext();){var r=n.next();r.getEdges().mergeSymLabels()}},e.prototype.isCovered=function(n,r){for(var i=this,o=r.iterator();o.hasNext();){var s=o.next(),a=i._ptLocator.locate(n,s);if(a!==h.EXTERIOR)return!0}return!1},e.prototype.replaceCollapsedEdges=function(){for(var n=new _,r=this._edgeList.iterator();r.hasNext();){var i=r.next();i.isCollapsed()&&(r.remove(),n.add(i.getCollapsedEdge()))}this._edgeList.addAll(n)},e.prototype.updateNodeLabelling=function(){for(var n=this._graph.getNodes().iterator();n.hasNext();){var r=n.next(),i=r.getEdges().getLabel();r.getLabel().merge(i)}},e.prototype.getResultGeometry=function(n){return this.computeOverlay(n),this._resultGeom},e.prototype.insertUniqueEdges=function(n){for(var r=this,i=n.iterator();i.hasNext();){var o=i.next();r.insertUniqueEdge(o)}},e.prototype.computeOverlay=function(n){this.copyPoints(0),this.copyPoints(1),this._arg[0].computeSelfNodes(this._li,!1),this._arg[1].computeSelfNodes(this._li,!1),this._arg[0].computeEdgeIntersections(this._arg[1],this._li,!0);var r=new _;this._arg[0].computeSplitEdges(r),this._arg[1].computeSplitEdges(r),this.insertUniqueEdges(r),this.computeLabelsFromDepths(),this.replaceCollapsedEdges(),Nn.checkValid(this._edgeList.getEdges()),this._graph.addEdges(this._edgeList.getEdges()),this.computeLabelling(),this.labelIncompleteNodes(),this.findResultAreaEdges(n),this.cancelDuplicateResultEdges();var i=new Gt(this._geomFact);i.add(this._graph),this._resultPolyList=i.getPolygons();var o=new Le(this,this._geomFact,this._ptLocator);this._resultLineList=o.build(n);var s=new Fn(this,this._geomFact,this._ptLocator);this._resultPointList=s.build(n),this._resultGeom=this.computeGeometry(this._resultPointList,this._resultLineList,this._resultPolyList,n)},e.prototype.labelIncompleteNode=function(n,r){var i=this._ptLocator.locate(n.getCoordinate(),this._arg[r].getGeometry());n.getLabel().setLocation(r,i)},e.prototype.copyPoints=function(n){for(var r=this,i=this._arg[n].getNodeIterator();i.hasNext();){var o=i.next(),s=r._graph.addNode(o.getCoordinate());s.setLabel(n,o.getLabel().getLocation(n))}},e.prototype.findResultAreaEdges=function(n){for(var r=this._graph.getEdgeEnds().iterator();r.hasNext();){var i=r.next(),o=i.getLabel();o.isArea()&&!i.isInteriorAreaEdge()&&e.isResultOfOp(o.getLocation(0,y.RIGHT),o.getLocation(1,y.RIGHT),n)&&i.setInResult(!0)}},e.prototype.computeLabelsFromDepths=function(){for(var n=this._edgeList.iterator();n.hasNext();){var r=n.next(),i=r.getLabel(),o=r.getDepth();if(!o.isNull()){o.normalize();for(var s=0;s<2;s++)!i.isNull(s)&&i.isArea()&&!o.isNull(s)&&(o.getDelta(s)===0?i.toLine(s):(O.isTrue(!o.isNull(s,y.LEFT),"depth of LEFT side has not been initialized"),i.setLocation(s,y.LEFT,o.getLocation(s,y.LEFT)),O.isTrue(!o.isNull(s,y.RIGHT),"depth of RIGHT side has not been initialized"),i.setLocation(s,y.RIGHT,o.getLocation(s,y.RIGHT))))}}},e.prototype.computeLabelling=function(){for(var n=this,r=this._graph.getNodes().iterator();r.hasNext();){var i=r.next();i.getEdges().computeLabelling(n._arg)}this.mergeSymLabels(),this.updateNodeLabelling()},e.prototype.labelIncompleteNodes=function(){for(var n=this,r=this._graph.getNodes().iterator();r.hasNext();){var i=r.next(),o=i.getLabel();i.isIsolated()&&(o.isNull(0)?n.labelIncompleteNode(i,0):n.labelIncompleteNode(i,1)),i.getEdges().updateLabelling(o)}},e.prototype.isCoveredByA=function(n){return!!this.isCovered(n,this._resultPolyList)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(sr);w.overlayOp=function(t,e,n){var r=new w(t,e),i=r.getResultGeometry(n);return i};w.intersection=function(t,e){if(t.isEmpty()||e.isEmpty())return w.createEmptyResult(w.INTERSECTION,t,e,t.getFactory());if(t.isGeometryCollection()){var n=e;return An.map(t,{interfaces_:function(){return[dn.MapOp]},map:function(r){return r.intersection(n)}})}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),wt.overlayOp(t,e,w.INTERSECTION)};w.symDifference=function(t,e){if(t.isEmpty()||e.isEmpty()){if(t.isEmpty()&&e.isEmpty())return w.createEmptyResult(w.SYMDIFFERENCE,t,e,t.getFactory());if(t.isEmpty())return e.copy();if(e.isEmpty())return t.copy()}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),wt.overlayOp(t,e,w.SYMDIFFERENCE)};w.resultDimension=function(t,e,n){var r=e.getDimension(),i=n.getDimension(),o=-1;switch(t){case w.INTERSECTION:o=Math.min(r,i);break;case w.UNION:o=Math.max(r,i);break;case w.DIFFERENCE:o=r;break;case w.SYMDIFFERENCE:o=Math.max(r,i);break}return o};w.createEmptyResult=function(t,e,n,r){var i=null;switch(w.resultDimension(t,e,n)){case-1:i=r.createGeometryCollection(new Array(0).fill(null));break;case 0:i=r.createPoint();break;case 1:i=r.createLineString();break;case 2:i=r.createPolygon();break}return i};w.difference=function(t,e){return t.isEmpty()?w.createEmptyResult(w.DIFFERENCE,t,e,t.getFactory()):e.isEmpty()?t.copy():(t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),wt.overlayOp(t,e,w.DIFFERENCE))};w.isResultOfOp=function(){if(arguments.length===2){var t=arguments[0],e=arguments[1],n=t.getLocation(0),r=t.getLocation(1);return w.isResultOfOp(n,r,e)}else if(arguments.length===3){var i=arguments[0],o=arguments[1],s=arguments[2];switch(i===h.BOUNDARY&&(i=h.INTERIOR),o===h.BOUNDARY&&(o=h.INTERIOR),s){case w.INTERSECTION:return i===h.INTERIOR&&o===h.INTERIOR;case w.UNION:return i===h.INTERIOR||o===h.INTERIOR;case w.DIFFERENCE:return i===h.INTERIOR&&o!==h.INTERIOR;case w.SYMDIFFERENCE:return i===h.INTERIOR&&o!==h.INTERIOR||i!==h.INTERIOR&&o===h.INTERIOR}return!1}};w.INTERSECTION=1;w.UNION=2;w.DIFFERENCE=3;w.SYMDIFFERENCE=4;var nn=function(){this._g=null,this._boundaryDistanceTolerance=null,this._linework=null,this._ptLocator=new ue,this._seg=new x;var t=arguments[0],e=arguments[1];this._g=t,this._boundaryDistanceTolerance=e,this._linework=this.extractLinework(t)};nn.prototype.isWithinToleranceOfBoundary=function(t){for(var e=this,n=0;n<this._linework.getNumGeometries();n++)for(var r=e._linework.getGeometryN(n),i=r.getCoordinateSequence(),o=0;o<i.size()-1;o++){i.getCoordinate(o,e._seg.p0),i.getCoordinate(o+1,e._seg.p1);var s=e._seg.distance(t);if(s<=e._boundaryDistanceTolerance)return!0}return!1};nn.prototype.getLocation=function(t){return this.isWithinToleranceOfBoundary(t)?h.BOUNDARY:this._ptLocator.locate(t,this._g)};nn.prototype.extractLinework=function(t){var e=new ar;t.apply(e);var n=e.getLinework(),r=T.toLineStringArray(n);return t.getFactory().createMultiLineString(r)};nn.prototype.interfaces_=function(){return[]};nn.prototype.getClass=function(){return nn};var ar=function(){this._linework=null,this._linework=new _};ar.prototype.getLinework=function(){return this._linework};ar.prototype.filter=function(t){var e=this;if(t instanceof ot){var n=t;this._linework.add(n.getExteriorRing());for(var r=0;r<n.getNumInteriorRing();r++)e._linework.add(n.getInteriorRingN(r))}};ar.prototype.interfaces_=function(){return[ve]};ar.prototype.getClass=function(){return ar};var Cn=function(){this._g=null,this._doLeft=!0,this._doRight=!0;var t=arguments[0];this._g=t};Cn.prototype.extractPoints=function(t,e,n){for(var r=this,i=t.getCoordinates(),o=0;o<i.length-1;o++)r.computeOffsetPoints(i[o],i[o+1],e,n)};Cn.prototype.setSidesToGenerate=function(t,e){this._doLeft=t,this._doRight=e};Cn.prototype.getPoints=function(t){for(var e=this,n=new _,r=lt.getLines(this._g),i=r.iterator();i.hasNext();){var o=i.next();e.extractPoints(o,t,n)}return n};Cn.prototype.computeOffsetPoints=function(t,e,n,r){var i=e.x-t.x,o=e.y-t.y,s=Math.sqrt(i*i+o*o),a=n*i/s,u=n*o/s,l=(e.x+t.x)/2,p=(e.y+t.y)/2;if(this._doLeft){var g=new c(l-u,p+a);r.add(g)}if(this._doRight){var d=new c(l+u,p-a);r.add(d)}};Cn.prototype.interfaces_=function(){return[]};Cn.prototype.getClass=function(){return Cn};var jt=function t(){this._geom=null,this._locFinder=null,this._location=new Array(3).fill(null),this._invalidLocation=null,this._boundaryDistanceTolerance=t.TOLERANCE,this._testCoords=new _;var e=arguments[0],n=arguments[1],r=arguments[2];this._boundaryDistanceTolerance=t.computeBoundaryDistanceTolerance(e,n),this._geom=[e,n,r],this._locFinder=[new nn(this._geom[0],this._boundaryDistanceTolerance),new nn(this._geom[1],this._boundaryDistanceTolerance),new nn(this._geom[2],this._boundaryDistanceTolerance)]},Hi={TOLERANCE:{configurable:!0}};jt.prototype.reportResult=function(t,e,n){ht.out.println("Overlay result invalid - A:"+h.toLocationSymbol(e[0])+" B:"+h.toLocationSymbol(e[1])+" expected:"+(n?"i":"e")+" actual:"+h.toLocationSymbol(e[2]))};jt.prototype.isValid=function(t){this.addTestPts(this._geom[0]),this.addTestPts(this._geom[1]);var e=this.checkValid(t);return e};jt.prototype.checkValid=function(){var t=this;if(arguments.length===1){for(var e=arguments[0],n=0;n<this._testCoords.size();n++){var r=t._testCoords.get(n);if(!t.checkValid(e,r))return t._invalidLocation=r,!1}return!0}else if(arguments.length===2){var i=arguments[0],o=arguments[1];return this._location[0]=this._locFinder[0].getLocation(o),this._location[1]=this._locFinder[1].getLocation(o),this._location[2]=this._locFinder[2].getLocation(o),jt.hasLocation(this._location,h.BOUNDARY)?!0:this.isValidResult(i,this._location)}};jt.prototype.addTestPts=function(t){var e=new Cn(t);this._testCoords.addAll(e.getPoints(5*this._boundaryDistanceTolerance))};jt.prototype.isValidResult=function(t,e){var n=w.isResultOfOp(e[0],e[1],t),r=e[2]===h.INTERIOR,i=!(n^r);return i||this.reportResult(t,e,n),i};jt.prototype.getInvalidLocation=function(){return this._invalidLocation};jt.prototype.interfaces_=function(){return[]};jt.prototype.getClass=function(){return jt};jt.hasLocation=function(t,e){for(var n=0;n<3;n++)if(t[n]===e)return!0;return!1};jt.computeBoundaryDistanceTolerance=function(t,e){return Math.min(Q.computeSizeBasedSnapTolerance(t),Q.computeSizeBasedSnapTolerance(e))};jt.isValid=function(t,e,n,r){var i=new jt(t,e,r);return i.isValid(n)};Hi.TOLERANCE.get=function(){return 1e-6};Object.defineProperties(jt,Hi);var Vt=function t(e){this._geomFactory=null,this._skipEmpty=!1,this._inputGeoms=null,this._geomFactory=t.extractFactory(e),this._inputGeoms=e};Vt.prototype.extractElements=function(t,e){var n=this;if(t===null)return null;for(var r=0;r<t.getNumGeometries();r++){var i=t.getGeometryN(r);n._skipEmpty&&i.isEmpty()||e.add(i)}};Vt.prototype.combine=function(){for(var t=this,e=new _,n=this._inputGeoms.iterator();n.hasNext();){var r=n.next();t.extractElements(r,e)}return e.size()===0?this._geomFactory!==null?this._geomFactory.createGeometryCollection(null):null:this._geomFactory.buildGeometry(e)};Vt.prototype.interfaces_=function(){return[]};Vt.prototype.getClass=function(){return Vt};Vt.combine=function(){if(arguments.length===1){var t=arguments[0],e=new Vt(t);return e.combine()}else if(arguments.length===2){var n=arguments[0],r=arguments[1],i=new Vt(Vt.createList(n,r));return i.combine()}else if(arguments.length===3){var o=arguments[0],s=arguments[1],a=arguments[2],u=new Vt(Vt.createList(o,s,a));return u.combine()}};Vt.extractFactory=function(t){return t.isEmpty()?null:t.iterator().next().getFactory()};Vt.createList=function(){if(arguments.length===2){var t=arguments[0],e=arguments[1],n=new _;return n.add(t),n.add(e),n}else if(arguments.length===3){var r=arguments[0],i=arguments[1],o=arguments[2],s=new _;return s.add(r),s.add(i),s.add(o),s}};var et=function(){this._inputPolys=null,this._geomFactory=null;var t=arguments[0];this._inputPolys=t,this._inputPolys===null&&(this._inputPolys=new _)},Wi={STRTREE_NODE_CAPACITY:{configurable:!0}};et.prototype.reduceToGeometries=function(t){for(var e=this,n=new _,r=t.iterator();r.hasNext();){var i=r.next(),o=null;L(i,ne)?o=e.unionTree(i):i instanceof S&&(o=i),n.add(o)}return n};et.prototype.extractByEnvelope=function(t,e,n){for(var r=new _,i=0;i<e.getNumGeometries();i++){var o=e.getGeometryN(i);o.getEnvelopeInternal().intersects(t)?r.add(o):n.add(o)}return this._geomFactory.buildGeometry(r)};et.prototype.unionOptimized=function(t,e){var n=t.getEnvelopeInternal(),r=e.getEnvelopeInternal();if(!n.intersects(r)){var i=Vt.combine(t,e);return i}if(t.getNumGeometries()<=1&&e.getNumGeometries()<=1)return this.unionActual(t,e);var o=n.intersection(r);return this.unionUsingEnvelopeIntersection(t,e,o)};et.prototype.union=function(){if(this._inputPolys===null)throw new Error("union() method cannot be called twice");if(this._inputPolys.isEmpty())return null;this._geomFactory=this._inputPolys.iterator().next().getFactory();for(var t=new Di(et.STRTREE_NODE_CAPACITY),e=this._inputPolys.iterator();e.hasNext();){var n=e.next();t.insert(n.getEnvelopeInternal(),n)}this._inputPolys=null;var r=t.itemsTree(),i=this.unionTree(r);return i};et.prototype.binaryUnion=function(){if(arguments.length===1){var t=arguments[0];return this.binaryUnion(t,0,t.size())}else if(arguments.length===3){var e=arguments[0],n=arguments[1],r=arguments[2];if(r-n<=1){var i=et.getGeometry(e,n);return this.unionSafe(i,null)}else{if(r-n===2)return this.unionSafe(et.getGeometry(e,n),et.getGeometry(e,n+1));var o=Math.trunc((r+n)/2),s=this.binaryUnion(e,n,o),a=this.binaryUnion(e,o,r);return this.unionSafe(s,a)}}};et.prototype.repeatedUnion=function(t){for(var e=null,n=t.iterator();n.hasNext();){var r=n.next();e===null?e=r.copy():e=e.union(r)}return e};et.prototype.unionSafe=function(t,e){return t===null&&e===null?null:t===null?e.copy():e===null?t.copy():this.unionOptimized(t,e)};et.prototype.unionActual=function(t,e){return et.restrictToPolygons(t.union(e))};et.prototype.unionTree=function(t){var e=this.reduceToGeometries(t),n=this.binaryUnion(e);return n};et.prototype.unionUsingEnvelopeIntersection=function(t,e,n){var r=new _,i=this.extractByEnvelope(n,t,r),o=this.extractByEnvelope(n,e,r),s=this.unionActual(i,o);r.add(s);var a=Vt.combine(r);return a};et.prototype.bufferUnion=function(){if(arguments.length===1){var t=arguments[0],e=t.get(0).getFactory(),n=e.buildGeometry(t),r=n.buffer(0);return r}else if(arguments.length===2){var i=arguments[0],o=arguments[1],s=i.getFactory(),a=s.createGeometryCollection([i,o]),u=a.buffer(0);return u}};et.prototype.interfaces_=function(){return[]};et.prototype.getClass=function(){return et};et.restrictToPolygons=function(t){if(L(t,rn))return t;var e=je.getPolygons(t);return e.size()===1?e.get(0):t.getFactory().createMultiPolygon(T.toPolygonArray(e))};et.getGeometry=function(t,e){return e>=t.size()?null:t.get(e)};et.union=function(t){var e=new et(t);return e.union()};Wi.STRTREE_NODE_CAPACITY.get=function(){return 4};Object.defineProperties(et,Wi);var Lr=function(){};Lr.prototype.interfaces_=function(){return[]};Lr.prototype.getClass=function(){return Lr};Lr.union=function(t,e){if(t.isEmpty()||e.isEmpty()){if(t.isEmpty()&&e.isEmpty())return w.createEmptyResult(w.UNION,t,e,t.getFactory());if(t.isEmpty())return e.copy();if(e.isEmpty())return t.copy()}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),wt.overlayOp(t,e,w.UNION)};exports.BufferOp=pt;exports.GeoJSONReader=si;exports.GeoJSONWriter=Ri;exports.OverlayOp=w;exports.UnionOp=Lr;
5
+ //# sourceMappingURL=index.cjs87.js.map