@webquark/core 1.1.0-dev.7 → 1.1.0-dev.9

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 (956) hide show
  1. package/README.md +10 -138
  2. package/dist/browser/components/index.d.ts +1 -0
  3. package/dist/browser/components/index.js +1 -0
  4. package/dist/browser/components/q-accordion.d.ts +1 -0
  5. package/dist/browser/components/q-accordion.js +1 -0
  6. package/dist/browser/components/q-alert.d.ts +1 -0
  7. package/dist/browser/components/q-alert.js +1 -0
  8. package/dist/browser/components/q-avatar.d.ts +1 -0
  9. package/dist/browser/components/q-avatar.js +1 -0
  10. package/dist/browser/components/q-banner.d.ts +1 -0
  11. package/dist/browser/components/q-banner.js +1 -0
  12. package/dist/browser/components/q-button.d.ts +1 -0
  13. package/dist/browser/components/q-button.js +1 -0
  14. package/dist/browser/components/q-card.d.ts +1 -0
  15. package/dist/browser/components/q-card.js +1 -0
  16. package/dist/browser/components/q-carousel.d.ts +1 -0
  17. package/dist/browser/components/q-carousel.js +1 -0
  18. package/dist/browser/components/q-chip.d.ts +1 -0
  19. package/dist/browser/components/q-chip.js +1 -0
  20. package/dist/browser/components/q-conversation-bubble.d.ts +1 -0
  21. package/dist/browser/components/q-conversation-bubble.js +1 -0
  22. package/dist/browser/components/q-data-table.d.ts +1 -0
  23. package/dist/browser/components/q-data-table.js +1 -0
  24. package/dist/browser/components/q-dialog.d.ts +1 -0
  25. package/dist/browser/components/q-dialog.js +1 -0
  26. package/dist/browser/components/q-dropdown.d.ts +1 -0
  27. package/dist/browser/components/q-dropdown.js +1 -0
  28. package/dist/browser/components/q-form.d.ts +1 -0
  29. package/dist/browser/components/q-form.js +1 -0
  30. package/dist/browser/components/q-grid.d.ts +1 -0
  31. package/dist/browser/components/q-grid.js +1 -0
  32. package/dist/browser/components/q-icon.d.ts +1 -0
  33. package/dist/browser/components/q-icon.js +1 -0
  34. package/dist/browser/components/q-image-comparison.d.ts +1 -0
  35. package/dist/browser/components/q-image-comparison.js +1 -0
  36. package/dist/browser/components/q-inline.d.ts +1 -0
  37. package/dist/browser/components/q-inline.js +1 -0
  38. package/dist/browser/components/q-input.d.ts +1 -0
  39. package/dist/browser/components/q-input.js +1 -0
  40. package/dist/browser/components/q-link.d.ts +1 -0
  41. package/dist/browser/components/q-link.js +1 -0
  42. package/dist/browser/components/q-map.d.ts +1 -0
  43. package/dist/browser/components/q-map.js +1 -0
  44. package/dist/browser/components/q-media.d.ts +1 -0
  45. package/dist/browser/components/q-media.js +1 -0
  46. package/dist/browser/components/q-navbar.d.ts +1 -0
  47. package/dist/browser/components/q-navbar.js +1 -0
  48. package/dist/browser/components/q-pagination.d.ts +1 -0
  49. package/dist/browser/components/q-pagination.js +1 -0
  50. package/dist/browser/components/q-panel.d.ts +1 -0
  51. package/dist/browser/components/q-panel.js +1 -0
  52. package/dist/browser/components/q-progress.d.ts +1 -0
  53. package/dist/browser/components/q-progress.js +1 -0
  54. package/dist/browser/components/q-quantity-selector.d.ts +1 -0
  55. package/dist/browser/components/q-quantity-selector.js +1 -0
  56. package/dist/browser/components/q-radio-group.d.ts +1 -0
  57. package/dist/browser/components/q-radio-group.js +1 -0
  58. package/dist/browser/components/q-reel.d.ts +1 -0
  59. package/dist/browser/components/q-reel.js +1 -0
  60. package/dist/browser/components/q-scrollable.d.ts +1 -0
  61. package/dist/browser/components/q-scrollable.js +1 -0
  62. package/dist/browser/components/q-section.d.ts +1 -0
  63. package/dist/browser/components/q-section.js +1 -0
  64. package/dist/browser/components/q-sidepanel.d.ts +1 -0
  65. package/dist/browser/components/q-sidepanel.js +1 -0
  66. package/dist/browser/components/q-stack.d.ts +1 -0
  67. package/dist/browser/components/q-stack.js +1 -0
  68. package/dist/browser/components/q-step-diagram-item.d.ts +1 -0
  69. package/dist/browser/components/q-step-diagram-item.js +1 -0
  70. package/dist/browser/components/q-step-diagram.d.ts +1 -0
  71. package/dist/browser/components/q-step-diagram.js +1 -0
  72. package/dist/browser/components/q-syntax-box.d.ts +1 -0
  73. package/dist/browser/components/q-syntax-box.js +1 -0
  74. package/dist/browser/components/q-tabs.d.ts +1 -0
  75. package/dist/browser/components/q-tabs.js +1 -0
  76. package/dist/browser/components/q-textarea.d.ts +1 -0
  77. package/dist/browser/components/q-textarea.js +1 -0
  78. package/dist/browser/components/q-thumbnail.d.ts +1 -0
  79. package/dist/browser/components/q-thumbnail.js +1 -0
  80. package/dist/browser/components/q-toast.d.ts +1 -0
  81. package/dist/browser/components/q-toast.js +1 -0
  82. package/dist/browser/components/q-toggle.d.ts +1 -0
  83. package/dist/browser/components/q-toggle.js +1 -0
  84. package/dist/browser/components/q-toolbar.d.ts +1 -0
  85. package/dist/browser/components/q-toolbar.js +1 -0
  86. package/dist/browser/components/q-tooltip.d.ts +1 -0
  87. package/dist/browser/components/q-tooltip.js +1 -0
  88. package/dist/browser/index.cjs +1 -0
  89. package/dist/browser/index.d.ts +1 -0
  90. package/dist/browser/index.js +1 -0
  91. package/dist/browser/loader/index.cjs +1 -0
  92. package/dist/browser/loader/index.d.ts +1 -0
  93. package/dist/browser/loader/index.js +1 -0
  94. package/dist/{webquark → browser}/webquark.css +1 -1
  95. package/dist/playground/assets/comparison-after.svg +1 -0
  96. package/dist/playground/assets/comparison-before.svg +1 -0
  97. package/dist/playground/assets/icons/check-preview.png +0 -0
  98. package/dist/playground/assets/icons/spinner.svg +1 -1
  99. package/dist/playground/build/index.esm.js +1 -1
  100. package/dist/{webquark/p-781d3459.entry.js → playground/build/p-023f8437.entry.js} +1 -1
  101. package/dist/playground/build/{p-ca240b8b.entry.js → p-030ecde3.entry.js} +1 -1
  102. package/dist/playground/build/p-04c8cb9e.entry.js +1 -0
  103. package/dist/{webquark/p-81f64d6f.entry.js → playground/build/p-059daa8a.entry.js} +1 -1
  104. package/dist/playground/build/{p-964d27e0.entry.js → p-09cca7b9.entry.js} +1 -1
  105. package/dist/playground/build/p-0aa74ad6.entry.js +1 -0
  106. package/dist/playground/build/p-0ae43d6c.entry.js +1 -0
  107. package/dist/playground/build/p-0c3aac3f.entry.js +1 -0
  108. package/dist/playground/build/p-144ef339.entry.js +1 -0
  109. package/dist/playground/build/p-296fbdb1.entry.js +1 -0
  110. package/dist/playground/build/p-36118d90.entry.js +1 -0
  111. package/dist/{webquark/p-82810ead.entry.js → playground/build/p-3bc4629c.entry.js} +1 -1
  112. package/dist/playground/build/{p-25c3b776.entry.js → p-48fb5228.entry.js} +1 -1
  113. package/dist/playground/build/{p-b4dfadea.entry.js → p-4d61b70d.entry.js} +1 -1
  114. package/dist/playground/build/p-5f232b44.entry.js +13 -0
  115. package/dist/playground/build/{p-b9e83fa3.entry.js → p-64096386.entry.js} +1 -1
  116. package/dist/{webquark/p-e6603d17.entry.js → playground/build/p-6bfffa79.entry.js} +1 -1
  117. package/dist/{webquark/p-fed7219c.entry.js → playground/build/p-6e28cfe2.entry.js} +1 -1
  118. package/dist/playground/build/{p-e1c8a9aa.entry.js → p-70d9ffde.entry.js} +1 -1
  119. package/dist/playground/build/p-888e46a8.entry.js +1 -0
  120. package/dist/{webquark/p-d0c55860.entry.js → playground/build/p-8ece2c62.entry.js} +1 -1
  121. package/dist/playground/build/p-90b0858c.entry.js +1 -0
  122. package/dist/playground/build/p-91fff6b6.entry.js +1 -0
  123. package/dist/playground/build/p-923dac41.entry.js +1 -0
  124. package/dist/playground/build/p-97a89cae.entry.js +1 -0
  125. package/dist/playground/build/{p-362c5608.entry.js → p-99d785ca.entry.js} +1 -1
  126. package/dist/{webquark/p-5453eac7.entry.js → playground/build/p-9e78b796.entry.js} +1 -1
  127. package/dist/playground/build/{p-b08d0ed8.entry.js → p-9ff7e5a4.entry.js} +1 -1
  128. package/dist/{components/p-CyPFM3XV.js → playground/build/p-B4Mg1xEw.js} +1 -1
  129. package/dist/playground/build/p-B5ElFlHv.js +3 -0
  130. package/dist/playground/build/p-BOdNg0jc.js +1 -0
  131. package/dist/playground/build/p-BcL0NVv0.js +1 -0
  132. package/dist/playground/build/p-CGml_DQ8.js +1 -0
  133. package/dist/playground/build/p-C_RztzNv.js +5 -0
  134. package/dist/playground/build/p-CoIMrUb3.js +1 -0
  135. package/dist/playground/build/p-CpI3m4_T.js +1 -0
  136. package/dist/{components/p-g9vOVxQ4.js → playground/build/p-DKrPmn2y.js} +2 -2
  137. package/dist/playground/build/p-DWO-pleQ.js +1 -0
  138. package/dist/{components/p-COMoSatC.js → playground/build/p-Dhsn99q4.js} +1 -1
  139. package/dist/playground/build/p-DstNl_WY.js +1 -0
  140. package/dist/playground/build/p-SzKf4WZF.js +1 -0
  141. package/dist/playground/build/p-c523ec6f.entry.js +1 -0
  142. package/dist/playground/build/p-c923c9c0.js +1 -0
  143. package/dist/playground/build/p-d0253d64.entry.js +1 -0
  144. package/dist/playground/build/p-d0fbd2b1.entry.js +1 -0
  145. package/dist/playground/build/{p-9b4271ea.entry.js → p-dd115868.entry.js} +1 -1
  146. package/dist/playground/build/p-e0bb74ae.css +1 -0
  147. package/dist/{webquark/p-5eeb922e.entry.js → playground/build/p-f1bac94c.entry.js} +1 -1
  148. package/dist/playground/build/{p-17011e71.entry.js → p-f4f97e74.entry.js} +1 -1
  149. package/dist/playground/build/p-f63b7214.entry.js +1 -0
  150. package/dist/{webquark/p-9227780b.entry.js → playground/build/p-f98f9439.entry.js} +1 -1
  151. package/dist/playground/build/{p-ae4e5ec4.entry.js → p-f9ad63ff.entry.js} +1 -1
  152. package/dist/playground/build/p-fe200f68.entry.js +1 -0
  153. package/dist/playground/build/p-fe8c634a.entry.js +13 -0
  154. package/dist/playground/build/{p-151a555e.entry.js → p-fec6fe0a.entry.js} +1 -1
  155. package/dist/playground/build/webquark.css +1 -1
  156. package/dist/playground/build/webquark.esm.js +1 -1
  157. package/dist/playground/index.html +1 -29
  158. package/dist/playground/playground/components.manifest.json +1 -0
  159. package/dist/playground/playground/specs/q-carousel.sandbox.json +15 -0
  160. package/dist/playground/playground/specs/q-data-table.sandbox.json +24 -0
  161. package/dist/playground/playground/specs/q-icon.sandbox.json +17 -1
  162. package/dist/playground/playground/specs/q-image-comparison.sandbox.json +24 -0
  163. package/dist/playground/playground/specs/q-syntax-box.sandbox.json +68 -24
  164. package/dist/playground/playground.js +26 -9
  165. package/dist/playground/views/tooling/adoption/CHANGELOG.md +13 -0
  166. package/dist/playground/views/tooling/adoption/README.md +47 -0
  167. package/dist/playground/views/tooling/adoption/changelog.config.ts +12 -0
  168. package/dist/playground/views/tooling/adoption/docs/changelog/unreleased/README.md +3 -0
  169. package/dist/playground/views/tooling/adoption/docs/changelog/unreleased/images/release-panel.svg +7 -0
  170. package/dist/playground/views/tooling/adoption/docs/changelog/unreleased/visuals.json +16 -0
  171. package/dist/playground/views/tooling/adoption/docs/changelog/v0.1.0/README.md +3 -0
  172. package/dist/playground/views/tooling/adoption/generate.ts +13 -0
  173. package/dist/playground/views/tooling/adoption/package.json +10 -0
  174. package/dist/playground/views/tooling/adoption/serve.ts +24 -0
  175. package/dist/playground/views/tooling/adoption/viewer.html +16 -0
  176. package/dist/playground/views/tooling/adoption/viewer.js +54 -0
  177. package/dist/playground/views/tooling/sample-feed.json +13 -0
  178. package/dist/playground/views/tooling/sample-notes.md +14 -0
  179. package/dist/playground/views/tooling/tooling.html +69 -0
  180. package/dist/tooling/changelog/index.d.ts +1 -0
  181. package/dist/tooling/changelog/index.js +1 -0
  182. package/package.json +54 -163
  183. package/scripts/package.json +1 -0
  184. package/scripts/webquark-serve.js +12 -8
  185. package/scripts/wq-changelog.js +4 -0
  186. package/scripts/wq-switch/README.md +133 -109
  187. package/scripts/wq-switch/dist/index.js +773 -138
  188. package/scripts/wq-switch/dist/setup.js +636 -90
  189. package/dist/cjs/Leaflet.GoogleMutant-i4bYl6qy.js +0 -768
  190. package/dist/cjs/action.props-B87W5tRu.js +0 -35
  191. package/dist/cjs/chevron-up-Dysp_9UJ.js +0 -30
  192. package/dist/cjs/collection-identity-CV5HLD9Z.js +0 -141
  193. package/dist/cjs/data-table-cell-BAv6IIYx.js +0 -46
  194. package/dist/cjs/dom-Dk77oFF6.js +0 -247
  195. package/dist/cjs/field-CbUc_AWx.js +0 -14
  196. package/dist/cjs/form-control-validity-D1ukC0_e.js +0 -49
  197. package/dist/cjs/index-D_tObBJa.js +0 -1870
  198. package/dist/cjs/index.cjs.js +0 -29
  199. package/dist/cjs/leaflet-maplibre-gl-BJKExsns.js +0 -1031
  200. package/dist/cjs/leaflet-src-mrRg-Srs.js +0 -14551
  201. package/dist/cjs/loader.cjs.js +0 -12
  202. package/dist/cjs/map.types-DNrz8rJh.js +0 -24
  203. package/dist/cjs/q-accordion.cjs.entry.js +0 -18
  204. package/dist/cjs/q-alert.cjs.entry.js +0 -52
  205. package/dist/cjs/q-avatar.cjs.entry.js +0 -101
  206. package/dist/cjs/q-banner.cjs.entry.js +0 -19
  207. package/dist/cjs/q-button_2.cjs.entry.js +0 -375
  208. package/dist/cjs/q-card.cjs.entry.js +0 -88
  209. package/dist/cjs/q-carousel.cjs.entry.js +0 -331
  210. package/dist/cjs/q-chip.cjs.entry.js +0 -124
  211. package/dist/cjs/q-conversation-bubble.cjs.entry.js +0 -70
  212. package/dist/cjs/q-data-table.cjs.entry.js +0 -549
  213. package/dist/cjs/q-dialog.cjs.entry.js +0 -271
  214. package/dist/cjs/q-dropdown.cjs.entry.js +0 -646
  215. package/dist/cjs/q-form.cjs.entry.js +0 -515
  216. package/dist/cjs/q-grid.cjs.entry.js +0 -24
  217. package/dist/cjs/q-icon.cjs.entry.js +0 -385
  218. package/dist/cjs/q-inline.cjs.entry.js +0 -22
  219. package/dist/cjs/q-input_2.cjs.entry.js +0 -370
  220. package/dist/cjs/q-link.cjs.entry.js +0 -80
  221. package/dist/cjs/q-map.cjs.entry.js +0 -3412
  222. package/dist/cjs/q-media.cjs.entry.js +0 -21
  223. package/dist/cjs/q-navbar.cjs.entry.js +0 -415
  224. package/dist/cjs/q-pagination.cjs.entry.js +0 -68
  225. package/dist/cjs/q-panel.cjs.entry.js +0 -76
  226. package/dist/cjs/q-quantity-selector.cjs.entry.js +0 -204
  227. package/dist/cjs/q-radio-group.cjs.entry.js +0 -224
  228. package/dist/cjs/q-reel.cjs.entry.js +0 -170
  229. package/dist/cjs/q-scrollable.cjs.entry.js +0 -449
  230. package/dist/cjs/q-section.cjs.entry.js +0 -20
  231. package/dist/cjs/q-sidepanel.cjs.entry.js +0 -673
  232. package/dist/cjs/q-stack.cjs.entry.js +0 -20
  233. package/dist/cjs/q-step-diagram-item.cjs.entry.js +0 -45
  234. package/dist/cjs/q-step-diagram.cjs.entry.js +0 -56
  235. package/dist/cjs/q-syntax-box.cjs.entry.js +0 -665
  236. package/dist/cjs/q-tabs.cjs.entry.js +0 -155
  237. package/dist/cjs/q-textarea.cjs.entry.js +0 -250
  238. package/dist/cjs/q-thumbnail.cjs.entry.js +0 -51
  239. package/dist/cjs/q-toast.cjs.entry.js +0 -400
  240. package/dist/cjs/q-toggle.cjs.entry.js +0 -187
  241. package/dist/cjs/q-toolbar.cjs.entry.js +0 -33
  242. package/dist/cjs/registry-BhkCNgxt.js +0 -179
  243. package/dist/cjs/toast-controller-CIXagxbV.js +0 -111
  244. package/dist/cjs/tokens-DDfS79n9.js +0 -948
  245. package/dist/cjs/utils-DGQOjEwT.js +0 -33
  246. package/dist/cjs/webquark.cjs.js +0 -24
  247. package/dist/collection/assets/icons/braces.svg +0 -14
  248. package/dist/collection/assets/icons/check.svg +0 -1
  249. package/dist/collection/assets/icons/chevron-down.svg +0 -1
  250. package/dist/collection/assets/icons/chevron-left.svg +0 -1
  251. package/dist/collection/assets/icons/chevron-right.svg +0 -1
  252. package/dist/collection/assets/icons/chevron-up.svg +0 -1
  253. package/dist/collection/assets/icons/copy.svg +0 -4
  254. package/dist/collection/assets/icons/eye-off.svg +0 -1
  255. package/dist/collection/assets/icons/eye.svg +0 -1
  256. package/dist/collection/assets/icons/minus.svg +0 -1
  257. package/dist/collection/assets/icons/play.svg +0 -1
  258. package/dist/collection/assets/icons/plus.svg +0 -1
  259. package/dist/collection/assets/icons/search.svg +0 -1
  260. package/dist/collection/assets/icons/spinner.svg +0 -1
  261. package/dist/collection/assets/icons/trash-2.svg +0 -1
  262. package/dist/collection/assets/icons/x.svg +0 -1
  263. package/dist/collection/collection-manifest.json +0 -55
  264. package/dist/collection/components/actions/action.props.js +0 -130
  265. package/dist/collection/components/actions/button/button.css +0 -242
  266. package/dist/collection/components/actions/button/button.js +0 -512
  267. package/dist/collection/components/actions/button/button.types.js +0 -1
  268. package/dist/collection/components/actions/button/button.utils.js +0 -9
  269. package/dist/collection/components/actions/button/button.utils.unit.test.js +0 -44
  270. package/dist/collection/components/actions/link/link.css +0 -102
  271. package/dist/collection/components/actions/link/link.js +0 -316
  272. package/dist/collection/components/actions/link/link.types.js +0 -1
  273. package/dist/collection/components/communication/alert/alert.css +0 -118
  274. package/dist/collection/components/communication/alert/alert.js +0 -208
  275. package/dist/collection/components/communication/alert/alert.types.js +0 -1
  276. package/dist/collection/components/communication/conversation-bubble/conversation-bubble.css +0 -154
  277. package/dist/collection/components/communication/conversation-bubble/conversation-bubble.js +0 -207
  278. package/dist/collection/components/communication/conversation-bubble/conversation-bubble.types.js +0 -1
  279. package/dist/collection/components/communication/toast/internals/icons.js +0 -25
  280. package/dist/collection/components/communication/toast/internals/queue.js +0 -64
  281. package/dist/collection/components/communication/toast/internals/timers.js +0 -75
  282. package/dist/collection/components/communication/toast/test/toast.cmp.test.js +0 -38
  283. package/dist/collection/components/communication/toast/test/toast.unit.test.js +0 -104
  284. package/dist/collection/components/communication/toast/toast-controller.js +0 -105
  285. package/dist/collection/components/communication/toast/toast.css +0 -141
  286. package/dist/collection/components/communication/toast/toast.js +0 -556
  287. package/dist/collection/components/communication/toast/toast.types.js +0 -1
  288. package/dist/collection/components/content/banner/banner.css +0 -1
  289. package/dist/collection/components/content/banner/banner.js +0 -84
  290. package/dist/collection/components/content/banner/banner.types.js +0 -1
  291. package/dist/collection/components/content/card/card.css +0 -105
  292. package/dist/collection/components/content/card/card.js +0 -308
  293. package/dist/collection/components/content/card/card.types.js +0 -1
  294. package/dist/collection/components/content/card/card.utils.js +0 -15
  295. package/dist/collection/components/content/carousel/carousel.css +0 -168
  296. package/dist/collection/components/content/carousel/carousel.js +0 -465
  297. package/dist/collection/components/content/carousel/carousel.types.js +0 -1
  298. package/dist/collection/components/content/carousel/carousel.utils.js +0 -1
  299. package/dist/collection/components/content/carousel/internals/metrics.js +0 -59
  300. package/dist/collection/components/data-display/accordion/accordion.css +0 -1
  301. package/dist/collection/components/data-display/accordion/accordion.js +0 -54
  302. package/dist/collection/components/data-display/accordion/accordion.types.js +0 -1
  303. package/dist/collection/components/data-display/chip/chip.css +0 -219
  304. package/dist/collection/components/data-display/chip/chip.js +0 -381
  305. package/dist/collection/components/data-display/chip/chip.types.js +0 -1
  306. package/dist/collection/components/data-display/data-table/data-table-cell.js +0 -40
  307. package/dist/collection/components/data-display/data-table/data-table.css +0 -356
  308. package/dist/collection/components/data-display/data-table/data-table.js +0 -748
  309. package/dist/collection/components/data-display/data-table/data-table.types.js +0 -1
  310. package/dist/collection/components/data-display/data-table/internals/data-access.js +0 -43
  311. package/dist/collection/components/data-display/data-table/internals/render-row-actions.js +0 -22
  312. package/dist/collection/components/data-display/data-table/internals/render-sort-indicator.js +0 -5
  313. package/dist/collection/components/data-display/data-table/internals/render-table-body.js +0 -47
  314. package/dist/collection/components/data-display/data-table/internals/render-table-head.js +0 -42
  315. package/dist/collection/components/data-display/data-table/internals/render-toolbar.js +0 -6
  316. package/dist/collection/components/data-display/data-table/internals/row-events.js +0 -27
  317. package/dist/collection/components/data-display/data-table/internals/selection.js +0 -31
  318. package/dist/collection/components/data-display/data-table/internals/sort.js +0 -57
  319. package/dist/collection/components/data-display/data-table/internals/table-model.js +0 -84
  320. package/dist/collection/components/data-display/map/internals/base-layer.js +0 -140
  321. package/dist/collection/components/data-display/map/internals/bounds.js +0 -66
  322. package/dist/collection/components/data-display/map/internals/buffered-tile-layer.js +0 -128
  323. package/dist/collection/components/data-display/map/internals/cluster-collision.js +0 -73
  324. package/dist/collection/components/data-display/map/internals/google-maps.js +0 -117
  325. package/dist/collection/components/data-display/map/internals/google-mutant.js +0 -51
  326. package/dist/collection/components/data-display/map/internals/maplibre.js +0 -50
  327. package/dist/collection/components/data-display/map/internals/marker-cluster-index.js +0 -136
  328. package/dist/collection/components/data-display/map/internals/marker-controller.js +0 -425
  329. package/dist/collection/components/data-display/map/internals/marker-presentation.js +0 -217
  330. package/dist/collection/components/data-display/map/internals/marker-visibility.js +0 -158
  331. package/dist/collection/components/data-display/map/internals/markers.js +0 -176
  332. package/dist/collection/components/data-display/map/internals/tile-layer-readiness.js +0 -67
  333. package/dist/collection/components/data-display/map/internals/tile-preload-buffer.js +0 -8
  334. package/dist/collection/components/data-display/map/internals/vector-padding.js +0 -8
  335. package/dist/collection/components/data-display/map/map.css +0 -711
  336. package/dist/collection/components/data-display/map/map.js +0 -1514
  337. package/dist/collection/components/data-display/map/map.types.js +0 -12
  338. package/dist/collection/components/data-display/map/test/map.cmp.test.js +0 -774
  339. package/dist/collection/components/data-display/pagination/pagination.css +0 -81
  340. package/dist/collection/components/data-display/pagination/pagination.js +0 -240
  341. package/dist/collection/components/data-display/pagination/test/pagination.cmp.test.js +0 -57
  342. package/dist/collection/components/data-display/syntax-box/internals/clipboard.js +0 -9
  343. package/dist/collection/components/data-display/syntax-box/internals/editor-key-action.js +0 -14
  344. package/dist/collection/components/data-display/syntax-box/internals/value-sync.js +0 -27
  345. package/dist/collection/components/data-display/syntax-box/syntax-box.css +0 -202
  346. package/dist/collection/components/data-display/syntax-box/syntax-box.js +0 -623
  347. package/dist/collection/components/data-display/syntax-box/syntax-box.types.js +0 -1
  348. package/dist/collection/components/data-display/syntax-box/syntax-box.utils.js +0 -1
  349. package/dist/collection/components/indicators/progress/progress.css +0 -223
  350. package/dist/collection/components/indicators/progress/progress.js +0 -275
  351. package/dist/collection/components/indicators/progress/progress.types.js +0 -1
  352. package/dist/collection/components/indicators/step-diagram/step-diagram.css +0 -21
  353. package/dist/collection/components/indicators/step-diagram/step-diagram.js +0 -143
  354. package/dist/collection/components/indicators/step-diagram/step-diagram.types.js +0 -1
  355. package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.css +0 -252
  356. package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +0 -185
  357. package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.types.js +0 -1
  358. package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.utils.js +0 -3
  359. package/dist/collection/components/inputs/dropdown/dropdown.css +0 -387
  360. package/dist/collection/components/inputs/dropdown/dropdown.js +0 -1182
  361. package/dist/collection/components/inputs/dropdown/dropdown.types.js +0 -1
  362. package/dist/collection/components/inputs/dropdown/internals/options.js +0 -30
  363. package/dist/collection/components/inputs/dropdown/internals/position.js +0 -35
  364. package/dist/collection/components/inputs/dropdown/test/dropdown.cmp.test.js +0 -62
  365. package/dist/collection/components/inputs/form/form.css +0 -85
  366. package/dist/collection/components/inputs/form/form.js +0 -705
  367. package/dist/collection/components/inputs/form/form.types.js +0 -1
  368. package/dist/collection/components/inputs/form/internals/controls.js +0 -79
  369. package/dist/collection/components/inputs/form/internals/enter-behavior.js +0 -36
  370. package/dist/collection/components/inputs/form/internals/values.js +0 -176
  371. package/dist/collection/components/inputs/form/test/form.cmp.test.js +0 -157
  372. package/dist/collection/components/inputs/input/input.css +0 -293
  373. package/dist/collection/components/inputs/input/input.js +0 -836
  374. package/dist/collection/components/inputs/input/input.types.js +0 -1
  375. package/dist/collection/components/inputs/input/input.utils.js +0 -3
  376. package/dist/collection/components/inputs/quantity-selector/internals/number-value.js +0 -64
  377. package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +0 -171
  378. package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +0 -390
  379. package/dist/collection/components/inputs/quantity-selector/quantity-selector.types.js +0 -1
  380. package/dist/collection/components/inputs/radio-group/radio-group.css +0 -224
  381. package/dist/collection/components/inputs/radio-group/radio-group.js +0 -626
  382. package/dist/collection/components/inputs/radio-group/radio-group.types.js +0 -1
  383. package/dist/collection/components/inputs/radio-group/radio-group.utils.js +0 -18
  384. package/dist/collection/components/inputs/textarea/textarea.css +0 -172
  385. package/dist/collection/components/inputs/textarea/textarea.js +0 -747
  386. package/dist/collection/components/inputs/textarea/textarea.types.js +0 -1
  387. package/dist/collection/components/inputs/toggle/toggle.css +0 -252
  388. package/dist/collection/components/inputs/toggle/toggle.js +0 -563
  389. package/dist/collection/components/inputs/toggle/toggle.types.js +0 -1
  390. package/dist/collection/components/inputs/toggle/toggle.utils.js +0 -3
  391. package/dist/collection/components/layout/grid/grid.css +0 -11
  392. package/dist/collection/components/layout/grid/grid.js +0 -152
  393. package/dist/collection/components/layout/inline/inline.css +0 -4
  394. package/dist/collection/components/layout/inline/inline.js +0 -118
  395. package/dist/collection/components/layout/navbar/navbar.css +0 -584
  396. package/dist/collection/components/layout/navbar/navbar.js +0 -848
  397. package/dist/collection/components/layout/navbar/navbar.types.js +0 -1
  398. package/dist/collection/components/layout/navbar/navbar.utils.js +0 -13
  399. package/dist/collection/components/layout/navbar/test/navbar.cmp.test.js +0 -369
  400. package/dist/collection/components/layout/panel/panel.css +0 -114
  401. package/dist/collection/components/layout/panel/panel.js +0 -394
  402. package/dist/collection/components/layout/panel/panel.types.js +0 -1
  403. package/dist/collection/components/layout/scrollable/internals/metrics.js +0 -61
  404. package/dist/collection/components/layout/scrollable/internals/native-scrollbar.js +0 -41
  405. package/dist/collection/components/layout/scrollable/scrollable.css +0 -123
  406. package/dist/collection/components/layout/scrollable/scrollable.js +0 -565
  407. package/dist/collection/components/layout/scrollable/scrollable.types.js +0 -1
  408. package/dist/collection/components/layout/section/section.css +0 -1
  409. package/dist/collection/components/layout/section/section.js +0 -98
  410. package/dist/collection/components/layout/section/section.types.js +0 -1
  411. package/dist/collection/components/layout/sidepanel/internals/drawer.js +0 -60
  412. package/dist/collection/components/layout/sidepanel/internals/groups.js +0 -56
  413. package/dist/collection/components/layout/sidepanel/internals/nav-items.js +0 -30
  414. package/dist/collection/components/layout/sidepanel/sidepanel.css +0 -904
  415. package/dist/collection/components/layout/sidepanel/sidepanel.js +0 -912
  416. package/dist/collection/components/layout/sidepanel/sidepanel.types.js +0 -1
  417. package/dist/collection/components/layout/sidepanel/sidepanel.utils.js +0 -17
  418. package/dist/collection/components/layout/stack/stack.css +0 -4
  419. package/dist/collection/components/layout/stack/stack.js +0 -76
  420. package/dist/collection/components/layout/tabs/tabs.css +0 -248
  421. package/dist/collection/components/layout/tabs/tabs.js +0 -322
  422. package/dist/collection/components/layout/tabs/tabs.types.js +0 -1
  423. package/dist/collection/components/layout/tabs/tabs.utils.js +0 -31
  424. package/dist/collection/components/layout/tabs/test/tabs.cmp.test.js +0 -165
  425. package/dist/collection/components/layout/toolbar/toolbar.css +0 -168
  426. package/dist/collection/components/layout/toolbar/toolbar.js +0 -251
  427. package/dist/collection/components/layout/toolbar/toolbar.types.js +0 -1
  428. package/dist/collection/components/media/avatar/avatar.css +0 -71
  429. package/dist/collection/components/media/avatar/avatar.js +0 -302
  430. package/dist/collection/components/media/avatar/avatar.types.js +0 -1
  431. package/dist/collection/components/media/icon/icon.css +0 -42
  432. package/dist/collection/components/media/icon/icon.js +0 -510
  433. package/dist/collection/components/media/icon/icon.types.js +0 -1
  434. package/dist/collection/components/media/icon/internals/constants.js +0 -3
  435. package/dist/collection/components/media/icon/internals/fetch-icon.js +0 -18
  436. package/dist/collection/components/media/icon/internals/registry.js +0 -171
  437. package/dist/collection/components/media/icon/internals/registry.unit.test.js +0 -42
  438. package/dist/collection/components/media/icon/internals/render-definition.js +0 -24
  439. package/dist/collection/components/media/icon/internals/sanitize-svg.js +0 -63
  440. package/dist/collection/components/media/icon/internals/size.js +0 -12
  441. package/dist/collection/components/media/icon/internals/url.js +0 -48
  442. package/dist/collection/components/media/media/media.css +0 -1
  443. package/dist/collection/components/media/media/media.js +0 -125
  444. package/dist/collection/components/media/media/media.types.js +0 -1
  445. package/dist/collection/components/media/reel/reel.css +0 -193
  446. package/dist/collection/components/media/reel/reel.js +0 -279
  447. package/dist/collection/components/media/reel/reel.types.js +0 -1
  448. package/dist/collection/components/media/thumbnail/thumbnail.css +0 -111
  449. package/dist/collection/components/media/thumbnail/thumbnail.js +0 -184
  450. package/dist/collection/components/media/thumbnail/thumbnail.types.js +0 -1
  451. package/dist/collection/components/overlays/dialog/dialog.css +0 -264
  452. package/dist/collection/components/overlays/dialog/dialog.js +0 -743
  453. package/dist/collection/components/overlays/dialog/dialog.types.js +0 -1
  454. package/dist/collection/components/overlays/dialog/internals/backdrop.js +0 -9
  455. package/dist/collection/components/overlays/dialog/internals/lifecycle.js +0 -53
  456. package/dist/collection/components/overlays/tooltip/internals/aria.js +0 -27
  457. package/dist/collection/components/overlays/tooltip/internals/positioning.js +0 -69
  458. package/dist/collection/components/overlays/tooltip/internals/scroll-listeners.js +0 -18
  459. package/dist/collection/components/overlays/tooltip/tooltip.css +0 -65
  460. package/dist/collection/components/overlays/tooltip/tooltip.js +0 -190
  461. package/dist/collection/components/overlays/tooltip/tooltip.types.js +0 -1
  462. package/dist/collection/components/shared/field.js +0 -8
  463. package/dist/collection/components/shared/test/orientation.cmp.test.js +0 -36
  464. package/dist/collection/index.js +0 -15
  465. package/dist/collection/playground/components/playground-code-preview/playground-code-preview.js +0 -48
  466. package/dist/collection/playground/components/playground-event-log/playground-event-log.js +0 -63
  467. package/dist/collection/playground/components/playground-header/playground-header.js +0 -65
  468. package/dist/collection/playground/components/playground-sidebar/playground-sidebar.js +0 -112
  469. package/dist/collection/playground/components/properties-panel/properties-panel.js +0 -146
  470. package/dist/collection/playground/components/properties-panel/property-row.js +0 -31
  471. package/dist/collection/playground/components/properties-panel/slot-row.js +0 -27
  472. package/dist/collection/playground/components/sandbox-viewport/sandbox-panel.js +0 -338
  473. package/dist/collection/playground/components/sandbox-viewport/sandbox-viewport.js +0 -159
  474. package/dist/collection/playground/components/sandbox-viewport/variant-card.js +0 -86
  475. package/dist/collection/playground/components/sandbox-viewport/viewport-tabs.js +0 -39
  476. package/dist/collection/playground/components/theme-designer/theme-designer.js +0 -69
  477. package/dist/collection/playground/components/theme-designer/token-row.js +0 -89
  478. package/dist/collection/playground/components/theme-designer/token-section.js +0 -19
  479. package/dist/collection/playground/dom-factory.js +0 -76
  480. package/dist/collection/playground/events.js +0 -37
  481. package/dist/collection/playground/logo.svg +0 -8
  482. package/dist/collection/playground/playground.bundled.js +0 -3856
  483. package/dist/collection/playground/playground.js +0 -10
  484. package/dist/collection/playground/state.js +0 -158
  485. package/dist/collection/playground/utils/color.js +0 -26
  486. package/dist/collection/playground/utils/dom.js +0 -38
  487. package/dist/collection/playground/utils/index.js +0 -2
  488. package/dist/collection/playground/views/q-button-view/q-button-view.js +0 -6
  489. package/dist/collection/playground/views/q-input-view/q-input-view.js +0 -6
  490. package/dist/collection/theme/test/foundation.cmp.test.js +0 -347
  491. package/dist/collection/theme/test/presets.cmp.test.js +0 -129
  492. package/dist/collection/theme/tokens.js +0 -951
  493. package/dist/collection/utils/collection-identity.js +0 -136
  494. package/dist/collection/utils/collection-identity.unit.test.js +0 -107
  495. package/dist/collection/utils/dom.js +0 -236
  496. package/dist/collection/utils/form-control-validity.js +0 -44
  497. package/dist/collection/utils/formatter.js +0 -177
  498. package/dist/collection/utils/formatter.unit.test.js +0 -53
  499. package/dist/collection/utils/math.js +0 -19
  500. package/dist/collection/utils/syntax.js +0 -110
  501. package/dist/collection/utils/utils.js +0 -28
  502. package/dist/collection/utils/utils.unit.test.js +0 -16
  503. package/dist/components/index.d.ts +0 -35
  504. package/dist/components/index.js +0 -1
  505. package/dist/components/p-2_cpBb8_.js +0 -1
  506. package/dist/components/p-BIIQL66b.js +0 -1
  507. package/dist/components/p-BJiYCN3i.js +0 -1
  508. package/dist/components/p-BeFSyZjp.js +0 -1
  509. package/dist/components/p-BfZVatS6.js +0 -1
  510. package/dist/components/p-Bj2RJb2E.js +0 -1
  511. package/dist/components/p-BvBRW3dl.js +0 -1
  512. package/dist/components/p-ByfrUWx1.js +0 -1
  513. package/dist/components/p-CFuqfXuv.js +0 -9
  514. package/dist/components/p-CGZPmEUB.js +0 -1
  515. package/dist/components/p-Cn_ChUpc.js +0 -1
  516. package/dist/components/p-CtUn83Rs.js +0 -1
  517. package/dist/components/p-CuJIyOwp.js +0 -1
  518. package/dist/components/p-DQhiqYeq.js +0 -1
  519. package/dist/components/p-DYMWBqU1.js +0 -5
  520. package/dist/components/p-DmqVhVoj.js +0 -1
  521. package/dist/components/p-DuX-9GOi.js +0 -1
  522. package/dist/components/p-DwnH6_NQ.js +0 -1
  523. package/dist/components/p-WJHaLJS_.js +0 -1
  524. package/dist/components/p-_X1v1o3K.js +0 -1
  525. package/dist/components/q-accordion.d.ts +0 -11
  526. package/dist/components/q-accordion.js +0 -1
  527. package/dist/components/q-alert.d.ts +0 -11
  528. package/dist/components/q-alert.js +0 -1
  529. package/dist/components/q-avatar.d.ts +0 -11
  530. package/dist/components/q-avatar.js +0 -1
  531. package/dist/components/q-banner.d.ts +0 -11
  532. package/dist/components/q-banner.js +0 -1
  533. package/dist/components/q-button.d.ts +0 -11
  534. package/dist/components/q-button.js +0 -1
  535. package/dist/components/q-card.d.ts +0 -11
  536. package/dist/components/q-card.js +0 -1
  537. package/dist/components/q-carousel.d.ts +0 -11
  538. package/dist/components/q-carousel.js +0 -1
  539. package/dist/components/q-chip.d.ts +0 -11
  540. package/dist/components/q-chip.js +0 -1
  541. package/dist/components/q-conversation-bubble.d.ts +0 -11
  542. package/dist/components/q-conversation-bubble.js +0 -1
  543. package/dist/components/q-data-table.d.ts +0 -11
  544. package/dist/components/q-data-table.js +0 -1
  545. package/dist/components/q-dialog.d.ts +0 -11
  546. package/dist/components/q-dialog.js +0 -1
  547. package/dist/components/q-dropdown.d.ts +0 -11
  548. package/dist/components/q-dropdown.js +0 -1
  549. package/dist/components/q-form.d.ts +0 -11
  550. package/dist/components/q-form.js +0 -1
  551. package/dist/components/q-grid.d.ts +0 -11
  552. package/dist/components/q-grid.js +0 -1
  553. package/dist/components/q-icon.d.ts +0 -11
  554. package/dist/components/q-icon.js +0 -1
  555. package/dist/components/q-inline.d.ts +0 -11
  556. package/dist/components/q-inline.js +0 -1
  557. package/dist/components/q-input.d.ts +0 -11
  558. package/dist/components/q-input.js +0 -1
  559. package/dist/components/q-link.d.ts +0 -11
  560. package/dist/components/q-link.js +0 -1
  561. package/dist/components/q-map.d.ts +0 -11
  562. package/dist/components/q-map.js +0 -1
  563. package/dist/components/q-media.d.ts +0 -11
  564. package/dist/components/q-media.js +0 -1
  565. package/dist/components/q-navbar.d.ts +0 -11
  566. package/dist/components/q-navbar.js +0 -1
  567. package/dist/components/q-pagination.d.ts +0 -11
  568. package/dist/components/q-pagination.js +0 -1
  569. package/dist/components/q-panel.d.ts +0 -11
  570. package/dist/components/q-panel.js +0 -1
  571. package/dist/components/q-progress.d.ts +0 -11
  572. package/dist/components/q-progress.js +0 -1
  573. package/dist/components/q-quantity-selector.d.ts +0 -11
  574. package/dist/components/q-quantity-selector.js +0 -1
  575. package/dist/components/q-radio-group.d.ts +0 -11
  576. package/dist/components/q-radio-group.js +0 -1
  577. package/dist/components/q-reel.d.ts +0 -11
  578. package/dist/components/q-reel.js +0 -1
  579. package/dist/components/q-scrollable.d.ts +0 -11
  580. package/dist/components/q-scrollable.js +0 -1
  581. package/dist/components/q-section.d.ts +0 -11
  582. package/dist/components/q-section.js +0 -1
  583. package/dist/components/q-sidepanel.d.ts +0 -11
  584. package/dist/components/q-sidepanel.js +0 -13
  585. package/dist/components/q-stack.d.ts +0 -11
  586. package/dist/components/q-stack.js +0 -1
  587. package/dist/components/q-step-diagram-item.d.ts +0 -11
  588. package/dist/components/q-step-diagram-item.js +0 -1
  589. package/dist/components/q-step-diagram.d.ts +0 -11
  590. package/dist/components/q-step-diagram.js +0 -1
  591. package/dist/components/q-syntax-box.d.ts +0 -11
  592. package/dist/components/q-syntax-box.js +0 -13
  593. package/dist/components/q-tabs.d.ts +0 -11
  594. package/dist/components/q-tabs.js +0 -1
  595. package/dist/components/q-textarea.d.ts +0 -11
  596. package/dist/components/q-textarea.js +0 -1
  597. package/dist/components/q-thumbnail.d.ts +0 -11
  598. package/dist/components/q-thumbnail.js +0 -1
  599. package/dist/components/q-toast.d.ts +0 -11
  600. package/dist/components/q-toast.js +0 -1
  601. package/dist/components/q-toggle.d.ts +0 -11
  602. package/dist/components/q-toggle.js +0 -1
  603. package/dist/components/q-toolbar.d.ts +0 -11
  604. package/dist/components/q-toolbar.js +0 -1
  605. package/dist/components/q-tooltip.d.ts +0 -11
  606. package/dist/components/q-tooltip.js +0 -1
  607. package/dist/esm/Leaflet.GoogleMutant-MpxOb4Jm.js +0 -766
  608. package/dist/esm/action.props-BypnAgOy.js +0 -32
  609. package/dist/esm/chevron-up-g9vOVxQ4.js +0 -27
  610. package/dist/esm/collection-identity-CGZPmEUB.js +0 -138
  611. package/dist/esm/data-table-cell-DmqVhVoj.js +0 -42
  612. package/dist/esm/dom-ByfrUWx1.js +0 -238
  613. package/dist/esm/field-dFy4PXKT.js +0 -11
  614. package/dist/esm/form-control-validity-Bj2RJb2E.js +0 -46
  615. package/dist/esm/index-tSny_c7b.js +0 -1859
  616. package/dist/esm/index.js +0 -6
  617. package/dist/esm/leaflet-maplibre-gl-BVDAAs7w.js +0 -1026
  618. package/dist/esm/leaflet-src-DYMWBqU1.js +0 -14547
  619. package/dist/esm/loader.js +0 -10
  620. package/dist/esm/map.types-WJHaLJS_.js +0 -14
  621. package/dist/esm/q-accordion.entry.js +0 -16
  622. package/dist/esm/q-alert.entry.js +0 -50
  623. package/dist/esm/q-avatar.entry.js +0 -99
  624. package/dist/esm/q-banner.entry.js +0 -17
  625. package/dist/esm/q-button_2.entry.js +0 -372
  626. package/dist/esm/q-card.entry.js +0 -86
  627. package/dist/esm/q-carousel.entry.js +0 -329
  628. package/dist/esm/q-chip.entry.js +0 -122
  629. package/dist/esm/q-conversation-bubble.entry.js +0 -68
  630. package/dist/esm/q-data-table.entry.js +0 -547
  631. package/dist/esm/q-dialog.entry.js +0 -269
  632. package/dist/esm/q-dropdown.entry.js +0 -644
  633. package/dist/esm/q-form.entry.js +0 -513
  634. package/dist/esm/q-grid.entry.js +0 -22
  635. package/dist/esm/q-icon.entry.js +0 -383
  636. package/dist/esm/q-inline.entry.js +0 -20
  637. package/dist/esm/q-input_2.entry.js +0 -367
  638. package/dist/esm/q-link.entry.js +0 -78
  639. package/dist/esm/q-map.entry.js +0 -3410
  640. package/dist/esm/q-media.entry.js +0 -19
  641. package/dist/esm/q-navbar.entry.js +0 -413
  642. package/dist/esm/q-pagination.entry.js +0 -66
  643. package/dist/esm/q-panel.entry.js +0 -74
  644. package/dist/esm/q-quantity-selector.entry.js +0 -202
  645. package/dist/esm/q-radio-group.entry.js +0 -222
  646. package/dist/esm/q-reel.entry.js +0 -168
  647. package/dist/esm/q-scrollable.entry.js +0 -447
  648. package/dist/esm/q-section.entry.js +0 -18
  649. package/dist/esm/q-sidepanel.entry.js +0 -671
  650. package/dist/esm/q-stack.entry.js +0 -18
  651. package/dist/esm/q-step-diagram-item.entry.js +0 -43
  652. package/dist/esm/q-step-diagram.entry.js +0 -54
  653. package/dist/esm/q-syntax-box.entry.js +0 -663
  654. package/dist/esm/q-tabs.entry.js +0 -153
  655. package/dist/esm/q-textarea.entry.js +0 -248
  656. package/dist/esm/q-thumbnail.entry.js +0 -49
  657. package/dist/esm/q-toast.entry.js +0 -398
  658. package/dist/esm/q-toggle.entry.js +0 -185
  659. package/dist/esm/q-toolbar.entry.js +0 -31
  660. package/dist/esm/registry-BvBRW3dl.js +0 -173
  661. package/dist/esm/toast-controller-BIIQL66b.js +0 -107
  662. package/dist/esm/tokens-CyPFM3XV.js +0 -944
  663. package/dist/esm/utils-BJiYCN3i.js +0 -30
  664. package/dist/esm/webquark.js +0 -20
  665. package/dist/index.cjs.js +0 -1
  666. package/dist/index.js +0 -1
  667. package/dist/loader/cdn.js +0 -1
  668. package/dist/loader/index.cjs.js +0 -1
  669. package/dist/loader/index.d.ts +0 -24
  670. package/dist/loader/index.es2017.js +0 -1
  671. package/dist/loader/index.js +0 -2
  672. package/dist/playground/build/p-04799ed0.entry.js +0 -1
  673. package/dist/playground/build/p-0610d5b2.entry.js +0 -1
  674. package/dist/playground/build/p-160cb4e4.entry.js +0 -1
  675. package/dist/playground/build/p-1cf51c80.entry.js +0 -1
  676. package/dist/playground/build/p-3d674223.entry.js +0 -1
  677. package/dist/playground/build/p-4fff116c.entry.js +0 -1
  678. package/dist/playground/build/p-5453eac7.entry.js +0 -1
  679. package/dist/playground/build/p-5eeb922e.entry.js +0 -1
  680. package/dist/playground/build/p-675d0d03.entry.js +0 -13
  681. package/dist/playground/build/p-70c4f92f.entry.js +0 -1
  682. package/dist/playground/build/p-72dc1231.entry.js +0 -1
  683. package/dist/playground/build/p-736b1c8c.entry.js +0 -1
  684. package/dist/playground/build/p-781d3459.entry.js +0 -1
  685. package/dist/playground/build/p-81f64d6f.entry.js +0 -1
  686. package/dist/playground/build/p-82810ead.entry.js +0 -1
  687. package/dist/playground/build/p-9227780b.entry.js +0 -1
  688. package/dist/playground/build/p-96922229.entry.js +0 -1
  689. package/dist/playground/build/p-BLvl8YLq.js +0 -1
  690. package/dist/playground/build/p-BvBRW3dl.js +0 -1
  691. package/dist/playground/build/p-CFuqfXuv.js +0 -9
  692. package/dist/playground/build/p-CGcC-mvi.js +0 -1
  693. package/dist/playground/build/p-CyPFM3XV.js +0 -1
  694. package/dist/playground/build/p-DmqVhVoj.js +0 -1
  695. package/dist/playground/build/p-WJHaLJS_.js +0 -1
  696. package/dist/playground/build/p-b7ac65c6.entry.js +0 -1
  697. package/dist/playground/build/p-bba3c7b4.entry.js +0 -1
  698. package/dist/playground/build/p-bf47c46a.entry.js +0 -13
  699. package/dist/playground/build/p-c448b4ce.entry.js +0 -1
  700. package/dist/playground/build/p-cb5ebd01.entry.js +0 -1
  701. package/dist/playground/build/p-d0c55860.entry.js +0 -1
  702. package/dist/playground/build/p-e6603d17.entry.js +0 -1
  703. package/dist/playground/build/p-e762a4b7.entry.js +0 -1
  704. package/dist/playground/build/p-fb76473e.entry.js +0 -1
  705. package/dist/playground/build/p-fed7219c.entry.js +0 -1
  706. package/dist/playground/build/p-g9vOVxQ4.js +0 -13
  707. package/dist/playground/build/p-tSny_c7b.js +0 -3
  708. package/dist/types/components/actions/action.props.d.ts +0 -19
  709. package/dist/types/components/actions/button/button.d.ts +0 -61
  710. package/dist/types/components/actions/button/button.types.d.ts +0 -6
  711. package/dist/types/components/actions/button/button.utils.d.ts +0 -8
  712. package/dist/types/components/actions/button/button.utils.unit.test.d.ts +0 -1
  713. package/dist/types/components/actions/link/link.d.ts +0 -43
  714. package/dist/types/components/actions/link/link.types.d.ts +0 -3
  715. package/dist/types/components/communication/alert/alert.d.ts +0 -32
  716. package/dist/types/components/communication/alert/alert.types.d.ts +0 -2
  717. package/dist/types/components/communication/conversation-bubble/conversation-bubble.d.ts +0 -38
  718. package/dist/types/components/communication/conversation-bubble/conversation-bubble.types.d.ts +0 -1
  719. package/dist/types/components/communication/toast/internals/icons.d.ts +0 -2
  720. package/dist/types/components/communication/toast/internals/queue.d.ts +0 -19
  721. package/dist/types/components/communication/toast/internals/timers.d.ts +0 -12
  722. package/dist/types/components/communication/toast/test/toast.cmp.test.d.ts +0 -2
  723. package/dist/types/components/communication/toast/test/toast.unit.test.d.ts +0 -1
  724. package/dist/types/components/communication/toast/toast-controller.d.ts +0 -9
  725. package/dist/types/components/communication/toast/toast.d.ts +0 -44
  726. package/dist/types/components/communication/toast/toast.types.d.ts +0 -30
  727. package/dist/types/components/content/banner/banner.d.ts +0 -12
  728. package/dist/types/components/content/banner/banner.types.d.ts +0 -2
  729. package/dist/types/components/content/card/card.d.ts +0 -35
  730. package/dist/types/components/content/card/card.types.d.ts +0 -1
  731. package/dist/types/components/content/card/card.utils.d.ts +0 -5
  732. package/dist/types/components/content/carousel/carousel.d.ts +0 -56
  733. package/dist/types/components/content/carousel/carousel.types.d.ts +0 -5
  734. package/dist/types/components/content/carousel/carousel.utils.d.ts +0 -1
  735. package/dist/types/components/content/carousel/internals/metrics.d.ts +0 -23
  736. package/dist/types/components/data-display/accordion/accordion.d.ts +0 -9
  737. package/dist/types/components/data-display/accordion/accordion.types.d.ts +0 -1
  738. package/dist/types/components/data-display/chip/chip.d.ts +0 -55
  739. package/dist/types/components/data-display/chip/chip.types.d.ts +0 -13
  740. package/dist/types/components/data-display/data-table/data-table-cell.d.ts +0 -5
  741. package/dist/types/components/data-display/data-table/data-table.d.ts +0 -78
  742. package/dist/types/components/data-display/data-table/data-table.types.d.ts +0 -53
  743. package/dist/types/components/data-display/data-table/internals/data-access.d.ts +0 -9
  744. package/dist/types/components/data-display/data-table/internals/render-row-actions.d.ts +0 -9
  745. package/dist/types/components/data-display/data-table/internals/render-sort-indicator.d.ts +0 -5
  746. package/dist/types/components/data-display/data-table/internals/render-table-body.d.ts +0 -12
  747. package/dist/types/components/data-display/data-table/internals/render-table-head.d.ts +0 -8
  748. package/dist/types/components/data-display/data-table/internals/render-toolbar.d.ts +0 -9
  749. package/dist/types/components/data-display/data-table/internals/row-events.d.ts +0 -1
  750. package/dist/types/components/data-display/data-table/internals/selection.d.ts +0 -10
  751. package/dist/types/components/data-display/data-table/internals/sort.d.ts +0 -3
  752. package/dist/types/components/data-display/data-table/internals/table-model.d.ts +0 -52
  753. package/dist/types/components/data-display/map/internals/base-layer.d.ts +0 -63
  754. package/dist/types/components/data-display/map/internals/bounds.d.ts +0 -23
  755. package/dist/types/components/data-display/map/internals/buffered-tile-layer.d.ts +0 -10
  756. package/dist/types/components/data-display/map/internals/cluster-collision.d.ts +0 -15
  757. package/dist/types/components/data-display/map/internals/google-maps.d.ts +0 -9
  758. package/dist/types/components/data-display/map/internals/google-mutant-module.d.ts +0 -11
  759. package/dist/types/components/data-display/map/internals/google-mutant.d.ts +0 -18
  760. package/dist/types/components/data-display/map/internals/maplibre.d.ts +0 -14
  761. package/dist/types/components/data-display/map/internals/marker-cluster-index.d.ts +0 -36
  762. package/dist/types/components/data-display/map/internals/marker-controller.d.ts +0 -57
  763. package/dist/types/components/data-display/map/internals/marker-presentation.d.ts +0 -8
  764. package/dist/types/components/data-display/map/internals/marker-visibility.d.ts +0 -10
  765. package/dist/types/components/data-display/map/internals/markers.d.ts +0 -4
  766. package/dist/types/components/data-display/map/internals/tile-layer-readiness.d.ts +0 -11
  767. package/dist/types/components/data-display/map/internals/tile-preload-buffer.d.ts +0 -4
  768. package/dist/types/components/data-display/map/internals/vector-padding.d.ts +0 -4
  769. package/dist/types/components/data-display/map/map.d.ts +0 -171
  770. package/dist/types/components/data-display/map/map.types.d.ts +0 -122
  771. package/dist/types/components/data-display/map/test/map.cmp.test.d.ts +0 -1
  772. package/dist/types/components/data-display/pagination/pagination.d.ts +0 -33
  773. package/dist/types/components/data-display/pagination/test/pagination.cmp.test.d.ts +0 -2
  774. package/dist/types/components/data-display/syntax-box/internals/clipboard.d.ts +0 -2
  775. package/dist/types/components/data-display/syntax-box/internals/editor-key-action.d.ts +0 -12
  776. package/dist/types/components/data-display/syntax-box/internals/value-sync.d.ts +0 -18
  777. package/dist/types/components/data-display/syntax-box/syntax-box.d.ts +0 -66
  778. package/dist/types/components/data-display/syntax-box/syntax-box.types.d.ts +0 -2
  779. package/dist/types/components/data-display/syntax-box/syntax-box.utils.d.ts +0 -1
  780. package/dist/types/components/indicators/progress/progress.d.ts +0 -30
  781. package/dist/types/components/indicators/progress/progress.types.d.ts +0 -3
  782. package/dist/types/components/indicators/step-diagram/step-diagram.d.ts +0 -19
  783. package/dist/types/components/indicators/step-diagram/step-diagram.types.d.ts +0 -3
  784. package/dist/types/components/indicators/step-diagram-item/step-diagram-item.d.ts +0 -26
  785. package/dist/types/components/indicators/step-diagram-item/step-diagram-item.types.d.ts +0 -5
  786. package/dist/types/components/indicators/step-diagram-item/step-diagram-item.utils.d.ts +0 -1
  787. package/dist/types/components/inputs/dropdown/dropdown.d.ts +0 -103
  788. package/dist/types/components/inputs/dropdown/dropdown.types.d.ts +0 -9
  789. package/dist/types/components/inputs/dropdown/internals/options.d.ts +0 -6
  790. package/dist/types/components/inputs/dropdown/internals/position.d.ts +0 -26
  791. package/dist/types/components/inputs/dropdown/test/dropdown.cmp.test.d.ts +0 -1
  792. package/dist/types/components/inputs/form/form.d.ts +0 -75
  793. package/dist/types/components/inputs/form/form.types.d.ts +0 -38
  794. package/dist/types/components/inputs/form/internals/controls.d.ts +0 -5
  795. package/dist/types/components/inputs/form/internals/enter-behavior.d.ts +0 -2
  796. package/dist/types/components/inputs/form/internals/values.d.ts +0 -5
  797. package/dist/types/components/inputs/form/test/form.cmp.test.d.ts +0 -4
  798. package/dist/types/components/inputs/input/input.d.ts +0 -83
  799. package/dist/types/components/inputs/input/input.types.d.ts +0 -3
  800. package/dist/types/components/inputs/input/input.utils.d.ts +0 -1
  801. package/dist/types/components/inputs/quantity-selector/internals/number-value.d.ts +0 -13
  802. package/dist/types/components/inputs/quantity-selector/quantity-selector.d.ts +0 -37
  803. package/dist/types/components/inputs/quantity-selector/quantity-selector.types.d.ts +0 -3
  804. package/dist/types/components/inputs/radio-group/radio-group.d.ts +0 -66
  805. package/dist/types/components/inputs/radio-group/radio-group.types.d.ts +0 -12
  806. package/dist/types/components/inputs/radio-group/radio-group.utils.d.ts +0 -2
  807. package/dist/types/components/inputs/textarea/textarea.d.ts +0 -74
  808. package/dist/types/components/inputs/textarea/textarea.types.d.ts +0 -1
  809. package/dist/types/components/inputs/toggle/toggle.d.ts +0 -62
  810. package/dist/types/components/inputs/toggle/toggle.types.d.ts +0 -3
  811. package/dist/types/components/inputs/toggle/toggle.utils.d.ts +0 -1
  812. package/dist/types/components/layout/grid/grid.d.ts +0 -13
  813. package/dist/types/components/layout/inline/inline.d.ts +0 -12
  814. package/dist/types/components/layout/navbar/navbar.d.ts +0 -94
  815. package/dist/types/components/layout/navbar/navbar.types.d.ts +0 -33
  816. package/dist/types/components/layout/navbar/navbar.utils.d.ts +0 -2
  817. package/dist/types/components/layout/navbar/test/navbar.cmp.test.d.ts +0 -1
  818. package/dist/types/components/layout/panel/panel.d.ts +0 -41
  819. package/dist/types/components/layout/panel/panel.types.d.ts +0 -3
  820. package/dist/types/components/layout/scrollable/internals/metrics.d.ts +0 -26
  821. package/dist/types/components/layout/scrollable/internals/native-scrollbar.d.ts +0 -4
  822. package/dist/types/components/layout/scrollable/scrollable.d.ts +0 -67
  823. package/dist/types/components/layout/scrollable/scrollable.types.d.ts +0 -6
  824. package/dist/types/components/layout/section/section.d.ts +0 -13
  825. package/dist/types/components/layout/section/section.types.d.ts +0 -1
  826. package/dist/types/components/layout/sidepanel/internals/drawer.d.ts +0 -2
  827. package/dist/types/components/layout/sidepanel/internals/groups.d.ts +0 -7
  828. package/dist/types/components/layout/sidepanel/internals/nav-items.d.ts +0 -2
  829. package/dist/types/components/layout/sidepanel/sidepanel.d.ts +0 -101
  830. package/dist/types/components/layout/sidepanel/sidepanel.types.d.ts +0 -43
  831. package/dist/types/components/layout/sidepanel/sidepanel.utils.d.ts +0 -2
  832. package/dist/types/components/layout/stack/stack.d.ts +0 -10
  833. package/dist/types/components/layout/tabs/tabs.d.ts +0 -29
  834. package/dist/types/components/layout/tabs/tabs.types.d.ts +0 -14
  835. package/dist/types/components/layout/tabs/tabs.utils.d.ts +0 -4
  836. package/dist/types/components/layout/tabs/test/tabs.cmp.test.d.ts +0 -1
  837. package/dist/types/components/layout/toolbar/toolbar.d.ts +0 -27
  838. package/dist/types/components/layout/toolbar/toolbar.types.d.ts +0 -1
  839. package/dist/types/components/media/avatar/avatar.d.ts +0 -37
  840. package/dist/types/components/media/avatar/avatar.types.d.ts +0 -2
  841. package/dist/types/components/media/icon/icon.d.ts +0 -48
  842. package/dist/types/components/media/icon/icon.types.d.ts +0 -30
  843. package/dist/types/components/media/icon/internals/constants.d.ts +0 -3
  844. package/dist/types/components/media/icon/internals/fetch-icon.d.ts +0 -1
  845. package/dist/types/components/media/icon/internals/registry.d.ts +0 -11
  846. package/dist/types/components/media/icon/internals/registry.unit.test.d.ts +0 -1
  847. package/dist/types/components/media/icon/internals/render-definition.d.ts +0 -2
  848. package/dist/types/components/media/icon/internals/sanitize-svg.d.ts +0 -2
  849. package/dist/types/components/media/icon/internals/size.d.ts +0 -2
  850. package/dist/types/components/media/icon/internals/url.d.ts +0 -11
  851. package/dist/types/components/media/media/media.d.ts +0 -13
  852. package/dist/types/components/media/media/media.types.d.ts +0 -2
  853. package/dist/types/components/media/reel/reel.d.ts +0 -34
  854. package/dist/types/components/media/reel/reel.types.d.ts +0 -3
  855. package/dist/types/components/media/thumbnail/thumbnail.d.ts +0 -21
  856. package/dist/types/components/media/thumbnail/thumbnail.types.d.ts +0 -7
  857. package/dist/types/components/overlays/dialog/dialog.d.ts +0 -83
  858. package/dist/types/components/overlays/dialog/dialog.types.d.ts +0 -1
  859. package/dist/types/components/overlays/dialog/internals/backdrop.d.ts +0 -2
  860. package/dist/types/components/overlays/dialog/internals/lifecycle.d.ts +0 -21
  861. package/dist/types/components/overlays/tooltip/internals/aria.d.ts +0 -13
  862. package/dist/types/components/overlays/tooltip/internals/positioning.d.ts +0 -7
  863. package/dist/types/components/overlays/tooltip/internals/scroll-listeners.d.ts +0 -2
  864. package/dist/types/components/overlays/tooltip/tooltip.d.ts +0 -28
  865. package/dist/types/components/overlays/tooltip/tooltip.types.d.ts +0 -1
  866. package/dist/types/components/shared/field.d.ts +0 -3
  867. package/dist/types/components/shared/test/orientation.cmp.test.d.ts +0 -1
  868. package/dist/types/components.d.ts +0 -5634
  869. package/dist/types/declarations.d.ts +0 -14
  870. package/dist/types/index.d.ts +0 -28
  871. package/dist/types/playground/components/playground-code-preview/playground-code-preview.d.ts +0 -9
  872. package/dist/types/playground/components/playground-event-log/playground-event-log.d.ts +0 -11
  873. package/dist/types/playground/components/playground-header/playground-header.d.ts +0 -10
  874. package/dist/types/playground/components/playground-sidebar/playground-sidebar.d.ts +0 -13
  875. package/dist/types/playground/components/properties-panel/properties-panel.d.ts +0 -15
  876. package/dist/types/playground/components/properties-panel/property-row.d.ts +0 -6
  877. package/dist/types/playground/components/properties-panel/slot-row.d.ts +0 -7
  878. package/dist/types/playground/components/sandbox-viewport/sandbox-panel.d.ts +0 -15
  879. package/dist/types/playground/components/sandbox-viewport/sandbox-viewport.d.ts +0 -14
  880. package/dist/types/playground/components/sandbox-viewport/variant-card.d.ts +0 -7
  881. package/dist/types/playground/components/sandbox-viewport/viewport-tabs.d.ts +0 -5
  882. package/dist/types/playground/components/theme-designer/theme-designer.d.ts +0 -15
  883. package/dist/types/playground/components/theme-designer/token-row.d.ts +0 -14
  884. package/dist/types/playground/components/theme-designer/token-section.d.ts +0 -7
  885. package/dist/types/playground/dom-factory.d.ts +0 -12
  886. package/dist/types/playground/events.d.ts +0 -24
  887. package/dist/types/playground/playground.d.ts +0 -7
  888. package/dist/types/playground/state.d.ts +0 -44
  889. package/dist/types/playground/utils/color.d.ts +0 -8
  890. package/dist/types/playground/utils/dom.d.ts +0 -15
  891. package/dist/types/playground/utils/index.d.ts +0 -2
  892. package/dist/types/stencil-public-runtime.d.ts +0 -1879
  893. package/dist/types/theme/test/assets.d.ts +0 -4
  894. package/dist/types/theme/test/foundation.cmp.test.d.ts +0 -16
  895. package/dist/types/theme/test/presets.cmp.test.d.ts +0 -7
  896. package/dist/types/theme/tokens.d.ts +0 -141
  897. package/dist/types/utils/collection-identity.d.ts +0 -55
  898. package/dist/types/utils/collection-identity.unit.test.d.ts +0 -1
  899. package/dist/types/utils/dom.d.ts +0 -68
  900. package/dist/types/utils/form-control-validity.d.ts +0 -14
  901. package/dist/types/utils/formatter.d.ts +0 -24
  902. package/dist/types/utils/formatter.unit.test.d.ts +0 -1
  903. package/dist/types/utils/math.d.ts +0 -10
  904. package/dist/types/utils/syntax.d.ts +0 -9
  905. package/dist/types/utils/utils.d.ts +0 -11
  906. package/dist/types/utils/utils.unit.test.d.ts +0 -1
  907. package/dist/webquark/index.esm.js +0 -1
  908. package/dist/webquark/native-content.css +0 -24
  909. package/dist/webquark/p-04799ed0.entry.js +0 -1
  910. package/dist/webquark/p-0610d5b2.entry.js +0 -1
  911. package/dist/webquark/p-151a555e.entry.js +0 -1
  912. package/dist/webquark/p-160cb4e4.entry.js +0 -1
  913. package/dist/webquark/p-17011e71.entry.js +0 -1
  914. package/dist/webquark/p-1cf51c80.entry.js +0 -1
  915. package/dist/webquark/p-25c3b776.entry.js +0 -1
  916. package/dist/webquark/p-362c5608.entry.js +0 -1
  917. package/dist/webquark/p-3d674223.entry.js +0 -1
  918. package/dist/webquark/p-4fff116c.entry.js +0 -1
  919. package/dist/webquark/p-675d0d03.entry.js +0 -13
  920. package/dist/webquark/p-70c4f92f.entry.js +0 -1
  921. package/dist/webquark/p-72dc1231.entry.js +0 -1
  922. package/dist/webquark/p-736b1c8c.entry.js +0 -1
  923. package/dist/webquark/p-964d27e0.entry.js +0 -1
  924. package/dist/webquark/p-96922229.entry.js +0 -1
  925. package/dist/webquark/p-9b4271ea.entry.js +0 -1
  926. package/dist/webquark/p-BIIQL66b.js +0 -1
  927. package/dist/webquark/p-BJiYCN3i.js +0 -1
  928. package/dist/webquark/p-BLvl8YLq.js +0 -1
  929. package/dist/webquark/p-Bj2RJb2E.js +0 -1
  930. package/dist/webquark/p-BvBRW3dl.js +0 -1
  931. package/dist/webquark/p-ByfrUWx1.js +0 -1
  932. package/dist/webquark/p-CFuqfXuv.js +0 -9
  933. package/dist/webquark/p-CGZPmEUB.js +0 -1
  934. package/dist/webquark/p-CGcC-mvi.js +0 -1
  935. package/dist/webquark/p-CyPFM3XV.js +0 -1
  936. package/dist/webquark/p-DYMWBqU1.js +0 -5
  937. package/dist/webquark/p-DmqVhVoj.js +0 -1
  938. package/dist/webquark/p-DuX-9GOi.js +0 -1
  939. package/dist/webquark/p-WJHaLJS_.js +0 -1
  940. package/dist/webquark/p-ae4e5ec4.entry.js +0 -1
  941. package/dist/webquark/p-b08d0ed8.entry.js +0 -1
  942. package/dist/webquark/p-b4dfadea.entry.js +0 -1
  943. package/dist/webquark/p-b7ac65c6.entry.js +0 -1
  944. package/dist/webquark/p-b9e83fa3.entry.js +0 -1
  945. package/dist/webquark/p-bba3c7b4.entry.js +0 -1
  946. package/dist/webquark/p-bf47c46a.entry.js +0 -13
  947. package/dist/webquark/p-c448b4ce.entry.js +0 -1
  948. package/dist/webquark/p-ca240b8b.entry.js +0 -1
  949. package/dist/webquark/p-cb5ebd01.entry.js +0 -1
  950. package/dist/webquark/p-e1c8a9aa.entry.js +0 -1
  951. package/dist/webquark/p-e762a4b7.entry.js +0 -1
  952. package/dist/webquark/p-fb76473e.entry.js +0 -1
  953. package/dist/webquark/p-g9vOVxQ4.js +0 -13
  954. package/dist/webquark/p-tSny_c7b.js +0 -3
  955. package/dist/webquark/webquark.esm.js +0 -1
  956. /package/dist/{collection → browser}/native-content.css +0 -0
@@ -1 +0,0 @@
1
- function e(e,t,r={}){const a=[],d=new Map,s=r.onWarning??o;return e.forEach(((e,o)=>{const u=t(e,o);var c;if("string"!=typeof(c=u)&&"number"!=typeof c){const t=null==u?"missing-identity":"invalid-identity";return s({code:t,message:i(r.warningContext,t,o,u),index:o,identity:u}),void a.push(n(e,o))}const l="string"==typeof(b=u)?`string:${b}`:Number.isNaN(b)?"number:NaN":Object.is(b,-0)?"number:-0":`number:${String(b)}`,y=d.get(l);var b;if(void 0!==y)return s({code:"duplicate-identity",message:i(r.warningContext,"duplicate-identity",o,u,y),index:o,identity:u,firstIndex:y}),void a.push(n(e,o));d.set(l,o),a.push({item:e,index:o,identity:u,key:l,usesFallback:!1})})),a}function t(t){const n=e(t.incoming,t.identify,{warningContext:t.warningContext,onWarning:t.onWarning}),i=new Map,r=[];return n.forEach((e=>{const n={index:e.index,identity:e.identity,key:e.key,usesFallback:e.usesFallback};let o;t.current.has(e.key)?(o=t.current.get(e.key),t.update?.(o,e.item,n)):o=t.create(e.item,n),i.set(e.key,o),r.push(o)})),t.current.forEach(((e,n)=>{i.has(n)||t.remove?.(e,n)})),{byIdentity:i,ordered:r}}function n(e,t){return{item:e,index:t,identity:`__webquark_collection_fallback_${t}`,key:`fallback:${t}`,usesFallback:!0}}function i(e,t,n,i,o){const a=e?`[WebQuark Collection Identity: ${e}]`:"[WebQuark Collection Identity]";return"duplicate-identity"===t?`${a} Duplicate identity ${r(i)} at index ${n}; first used at index ${o}. A fallback key was used.`:`${a} Item at index ${n} returned ${r(i)}. Identities must be strings or numbers. A fallback key was used.`}function r(e){return"string"==typeof e?`"${e}"`:null==e||"number"==typeof e||"boolean"==typeof e||"bigint"==typeof e||"symbol"==typeof e?String(e):Object.prototype.toString.call(e)}function o(e){console.warn(e.message)}export{e as i,t as r}
@@ -1 +0,0 @@
1
- const e=":root{--q-control-radius-sm:0.34375rem;--q-control-radius-md:0.4375rem;--q-control-radius-lg:0.53125rem;--q-color-primary:#60a5fa;--q-color-primary-hover:#93c5fd;--q-color-secondary:#9777ea;--q-color-success:#34d399;--q-color-warning:#fbbf24;--q-color-danger:#f87171;--q-bg-base:#0b0f19;--q-bg-surface-1:#111827;--q-bg-surface-2:#19243b;--q-bg-surface-3:#22304d;--q-bg-surface-4:#2c3a58;--q-bg-surface-5:#374761;--q-bg-glass:rgba(25, 36, 59, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.85);--q-fg-base:#f9fafb;--q-fg-muted:#9ca3af;--q-border-color:#374151;--q-dialog-backdrop-bg:var(--q-bg-overlay, rgba(0, 0, 0, 0.85));--q-dialog-backdrop-solid-bg:var(--q-bg-overlay, rgba(0, 0, 0, 0.85));--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.2);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.3);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.45);--q-glow-interactive:0 0 20px rgba(96, 165, 250, 0.3);--q-border-width:1px;--q-border:var(--q-border-width) solid var(--q-border-color);--q-focus-ring:2px solid var(--q-color-primary);--q-font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;--q-font-weight-normal:400;--q-font-weight-bold:600;--q-radius-sm:4px;--q-radius-md:7px;--q-radius-lg:11px;--q-transition-fast:150ms ease;--q-transition-normal:250ms cubic-bezier(0.4, 0, 0.2, 1);--q-transition-slow:400ms cubic-bezier(0.4, 0, 0.2, 1);--q-z-index-overlay:1000;--q-z-index-popover:1100;--q-z-index-toast:1200;--q-hover-transform:translateY(-4px) scale(1.02);--q-btn-hover-overlay:color-mix(in srgb, var(--q-fg-base) 8%, transparent);--q-card-border:var(--q-border);--q-card-hover-transform:var(--q-hover-transform);--q-card-transition-duration:var(--q-transition-normal);--q-step-diag-line:2px solid var(--q-border-color);--q-step-diag-border:var(--q-border);--q-thumb-aspect-ratio:16 / 9;--q-thumb-border:2px solid var(--q-thumb-border-color);--q-thumb-hover-transform:var(--q-hover-transform);--q-thumb-overlay-bg:rgba(0, 0, 0, 0.4);--q-thumb-radius:var(--q-radius-md);--q-thumb-border-color:transparent;--q-thumb-glow:var(--q-glow-interactive);--q-reel-columns-desktop:repeat(auto-fill, minmax(200px, 1fr));--q-reel-columns-mobile:1fr;--q-lightbox-max-size:90vh;--q-reel-lightbox-btn-bg:rgba(0, 0, 0, 0.5);--q-reel-lightbox-btn-border:1px solid rgba(255, 255, 255, 0.2);--q-reel-lightbox-btn-color:#ffffff;--q-reel-lightbox-btn-hover-bg:rgba(255, 255, 255, 0.2);--q-avatar-bg:var(--q-bg-surface-3);--q-avatar-fg:var(--q-fg-base);--q-avatar-border:var(--q-border);--q-conversation-incoming-bg:var(--q-bg-surface-2);--q-conversation-outgoing-bg:var(--q-color-primary);--q-conversation-outgoing-fg:#ffffff;--q-conversation-system-bg:transparent;--q-conversation-system-fg:var(--q-fg-muted);--q-carousel-arrow-bg:var(--q-bg-overlay);--q-carousel-arrow-border:var(--q-border);--q-carousel-arrow-color:#ffffff;--q-progress-transition:var(--q-transition-normal);--q-progress-indeterminate-duration:1.4s;--q-progress-linear-radius:999px;--q-progress-circular-linecap:round;--q-progress-circular-font-weight:var(--q-font-weight-bold);--q-btn-font-weight:var(--q-font-weight-bold);--q-btn-active-transform:scale(0.97);--q-btn-transition:all 150ms cubic-bezier(0.4, 0, 0.2, 1);--q-chip-radius:999px;--q-chip-border:var(--q-border);--q-chip-font-weight:var(--q-font-weight-bold);--q-chip-active-transform:scale(0.97);--q-field-border:var(--q-border);--q-field-border-color-focus:var(--q-color-primary);--q-input-border:var(--q-field-border);--q-dropdown-border:var(--q-field-border);--q-panel-border:var(--q-border);--q-sidepanel-bg:var(--q-bg-surface-1);--q-sidepanel-border:var(--q-border);--q-sidepanel-shadow:var(--q-shadow-high);--q-sidepanel-panel-width:320px;--q-sidepanel-panel-section-border:var(--q-border);--q-map-height:100%;--q-map-min-height:240px;--q-map-bg:var(--q-bg-surface-1);--q-map-border:var(--q-border);--q-map-radius:var(--q-radius-lg);--q-map-marker-color:var(--q-color-primary);--q-map-marker-success:var(--q-color-success);--q-map-marker-warning:var(--q-color-warning);--q-map-marker-danger:var(--q-color-danger);--q-map-marker-muted:var(--q-fg-muted);--q-map-marker-selected-color:var(--q-fg-base);--q-map-marker-selected-shadow:var(--q-shadow-medium);--q-map-attribution-bg:var(--q-bg-base);--q-map-attribution-color:var(--q-fg-muted);--q-scrollbar-width:6px;--q-scrollbar-width-thin:thin;--q-scrollbar-track-color:transparent;--q-scrollbar-thumb-color:var(--q-border-color, #374151);--q-scrollbar-thumb-color-hover:var(--q-color-primary, #60a5fa);--q-scrollbar-radius:var(--q-radius-sm, 4px)}@media (prefers-color-scheme: light){:root{--q-color-primary:#3b82f6;--q-color-primary-hover:#2563eb;--q-color-secondary:#7c3aed;--q-color-success:#10b981;--q-color-warning:#f59e0b;--q-color-danger:#ef4444;--q-bg-base:#ffffff;--q-bg-surface-1:#f0f3f9;--q-bg-surface-2:#dee5f2;--q-bg-surface-3:#c7d1e6;--q-bg-surface-4:#aab8d5;--q-bg-surface-5:#8b9dc1;--q-bg-glass:rgba(255, 255, 255, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.6);--q-fg-base:#1f2937;--q-fg-muted:#4b5563;--q-border-color:#e5e7eb;--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.05);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.08);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.12);--q-glow-interactive:0 0 20px rgba(59, 130, 246, 0.3);--q-sidepanel-bg:var(--q-bg-surface-1)}}[data-theme='light']{--q-color-primary:#3b82f6;--q-color-primary-hover:#2563eb;--q-color-secondary:#7c3aed;--q-color-success:#10b981;--q-color-warning:#f59e0b;--q-color-danger:#ef4444;--q-bg-base:#ffffff;--q-bg-surface-1:#f0f3f9;--q-bg-surface-2:#dee5f2;--q-bg-surface-3:#c7d1e6;--q-bg-surface-4:#aab8d5;--q-bg-surface-5:#8b9dc1;--q-bg-glass:rgba(255, 255, 255, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.6);--q-fg-base:#1f2937;--q-fg-muted:#4b5563;--q-border-color:#e5e7eb;--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.05);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.08);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.12);--q-glow-interactive:0 0 20px rgba(59, 130, 246, 0.3);--q-sidepanel-bg:var(--q-bg-surface-1)}[data-theme='dark']{--q-color-primary:#60a5fa;--q-color-primary-hover:#93c5fd;--q-color-secondary:#9777ea;--q-color-success:#34d399;--q-color-warning:#fbbf24;--q-color-danger:#f87171;--q-bg-base:#0b0f19;--q-bg-surface-1:#111827;--q-bg-surface-2:#19243b;--q-bg-surface-3:#22304d;--q-bg-surface-4:#2c3a58;--q-bg-surface-5:#374761;--q-bg-glass:rgba(25, 36, 59, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.85);--q-fg-base:#f9fafb;--q-fg-muted:#9ca3af;--q-border-color:#374151;--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.2);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.3);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.45);--q-glow-interactive:0 0 20px rgba(96, 165, 250, 0.3);--q-sidepanel-bg:var(--q-bg-surface-1)}:where(:root,[data-wq-preset='compact']){--q-space-none:0rem;--q-space-xs:0.25rem;--q-space-sm:0.5rem;--q-space-md:0.75rem;--q-space-lg:1rem;--q-space-xl:1.5rem;--q-space-2xl:2rem;--q-space-3xl:3rem;--q-control-height-sm:1.75rem;--q-control-font-sm:0.75rem;--q-control-line-sm:1rem;--q-control-padding-sm:0.5rem;--q-control-icon-sm:0.875rem;--q-control-height-md:2.25rem;--q-control-font-md:0.875rem;--q-control-line-md:1.25rem;--q-control-padding-md:0.75rem;--q-control-icon-md:1rem;--q-control-height-lg:2.75rem;--q-control-font-lg:1rem;--q-control-line-lg:1.5rem;--q-control-padding-lg:1rem;--q-control-icon-lg:1.25rem;--q-font-size-sm:0.7rem;--q-font-size-base:0.9rem;--q-font-size-lg:1rem;--q-padding-sm:var(--q-space-sm, .5rem);--q-padding-md:var(--q-space-md, .75rem);--q-padding-lg:var(--q-space-lg, 1rem);--q-step-diag-icon-size:32px;--q-step-diag-item-gap:24px;--q-reel-gap:12px;--q-avatar-size-sm:28px;--q-avatar-size-md:40px;--q-avatar-size-lg:56px;--q-carousel-gap:16px;--q-carousel-padding:24px 20px;--q-carousel-arrow-size:40px;--q-carousel-indicator-gap:8px;--q-carousel-indicator-size:6px;--q-progress-linear-height-sm:4px;--q-progress-linear-height-md:6px;--q-progress-linear-height-lg:8px;--q-progress-circular-size-sm:64px;--q-progress-circular-size-md:120px;--q-progress-circular-size-lg:180px;--q-progress-circular-stroke-width-sm:6px;--q-progress-circular-stroke-width-md:8px;--q-progress-circular-stroke-width-lg:10px;--q-btn-icon-padding-sm:4px;--q-btn-icon-padding-md:6px;--q-btn-icon-padding-lg:9px;--q-chip-padding-sm:4px 9px;--q-chip-padding-md:6px 11px;--q-chip-padding-lg:8px 14px;--q-chip-height-sm:24px;--q-chip-height-md:30px;--q-chip-height-lg:36px;--q-sidepanel-panel-padding:var(--q-padding-lg);--q-sidepanel-panel-header-padding:var(--q-padding-lg);--q-sidepanel-panel-footer-padding:var(--q-padding-lg);--q-map-marker-size:20px;--q-map-marker-size-small:16px;--q-map-marker-size-medium:var(--q-map-marker-size);--q-map-marker-size-large:24px;--q-text-body-size:var(--q-font-size-base);--q-text-body-line-height:1.5;--q-text-small-size:var(--q-font-size-sm);--q-text-small-line-height:1.5;--q-heading-display-size:var(--q-font-size-lg);--q-heading-display-line-height:1.3;--q-heading-1-size:var(--q-font-size-lg);--q-heading-2-size:var(--q-font-size-lg);--q-heading-3-size:var(--q-font-size-lg);--q-heading-4-size:var(--q-font-size-lg);--q-heading-5-size:var(--q-font-size-lg);--q-heading-6-size:var(--q-font-size-lg);--q-heading-1-line-height:1.3;--q-heading-2-line-height:1.3;--q-heading-3-line-height:1.3;--q-heading-4-line-height:1.3;--q-heading-5-line-height:1.3;--q-heading-6-line-height:1.3;--q-content-paragraph-gap:var(--q-padding-lg);--q-content-heading-gap:var(--q-padding-lg);--q-content-section-gap:var(--q-space-2xl);--q-content-padding:var(--q-padding-lg);--q-field-text-size:.75rem;--q-field-text-line:1rem;--q-toolbar-height:0px;--q-toolbar-compact-height:0px;--q-font-size-xs:0.7rem;--q-font-size-2xs:0.625rem;--q-btn-circle-size:120px;--q-btn-circle-padding:12px;--q-table-toolbar-padding-block:12px;--q-table-toolbar-padding-inline:16px;--q-bar-edge-padding:24px;--q-bar-edge-compact-padding:16px;--q-table-cell-padding-block:4.5px;--q-table-cell-padding-inline:8px;--q-dropdown-option-padding:10px 14px;--q-tooltip-padding:6px 10px;--q-syntax-padding:16px;--q-syntax-compact-padding:10px;--q-syntax-header-padding:4px 16px;--q-sidepanel-nav-font:0.875rem;--q-sidepanel-nav-small-font:0.75rem;--q-sidepanel-nav-badge-font:0.65rem;--q-navbar-item-height:36px;--q-navbar-gap:20px;--q-navbar-height:64px;--q-navbar-compact-height:52px;--q-navbar-logo-size:32px;--q-navbar-brand-size:1rem;--q-navbar-nav-gap:6px;--q-navbar-action-gap:8px;--q-navbar-item-gap:8px;--q-navbar-item-padding:7px 10px;--q-navbar-item-size:0.9rem;--q-navbar-item-icon-only-size:40px;--q-navbar-item-icon-only-padding:8px;--q-navbar-mobile-panel-padding:8px 16px 16px;--q-avatar-font-size:0.8rem;--q-avatar-font-size-sm:0.65rem;--q-avatar-font-size-lg:1rem;--q-conversation-gap:10px;--q-conversation-header-gap:4px;--q-conversation-header-inset:4px;--q-conversation-padding:11px 13px;--q-conversation-footer-gap:10px;--q-conversation-footer-margin:6px;--q-conversation-meta-gap:6px;--q-conversation-compact-padding:7px 10px;--q-alert-padding:12px 14px;--q-alert-gap:10px;--q-alert-actions-gap:8px;--q-pagination-button-height:30px;--q-pagination-button-padding:5px 8px;--_q-preset-tabs-height-sm:34px;--_q-preset-tabs-height-md:42px;--_q-preset-tabs-height-lg:50px;--_q-preset-tabs-padding-sm:6px 10px;--_q-preset-tabs-padding-md:9px 16px;--_q-preset-tabs-padding-lg:14px 18px}:where([data-wq-preset='comfortable']){--q-space-none:0rem;--q-space-xs:0.375rem;--q-space-sm:0.75rem;--q-space-md:1rem;--q-space-lg:1.5rem;--q-space-xl:2rem;--q-space-2xl:3rem;--q-space-3xl:4rem;--q-control-height-sm:2.25rem;--q-control-font-sm:0.875rem;--q-control-line-sm:1.25rem;--q-control-padding-sm:0.75rem;--q-control-icon-sm:1rem;--q-control-height-md:2.75rem;--q-control-font-md:1rem;--q-control-line-md:1.5rem;--q-control-padding-md:1rem;--q-control-icon-md:1.25rem;--q-control-height-lg:3.25rem;--q-control-font-lg:1.125rem;--q-control-line-lg:1.75rem;--q-control-padding-lg:1.25rem;--q-control-icon-lg:1.5rem;--q-font-size-sm:0.875rem;--q-font-size-base:1.125rem;--q-font-size-lg:1.5rem;--q-padding-sm:var(--q-space-sm, .75rem);--q-padding-md:var(--q-space-md, 1rem);--q-padding-lg:var(--q-space-lg, 1.5rem);--q-step-diag-icon-size:40px;--q-step-diag-item-gap:32px;--q-reel-gap:24px;--q-avatar-size-sm:32px;--q-avatar-size-md:48px;--q-avatar-size-lg:64px;--q-carousel-gap:24px;--q-carousel-padding:32px 24px;--q-carousel-arrow-size:44px;--q-carousel-indicator-gap:12px;--q-carousel-indicator-size:8px;--q-progress-linear-height-sm:6px;--q-progress-linear-height-md:8px;--q-progress-linear-height-lg:10px;--q-progress-circular-size-sm:80px;--q-progress-circular-size-md:144px;--q-progress-circular-size-lg:200px;--q-progress-circular-stroke-width-sm:8px;--q-progress-circular-stroke-width-md:10px;--q-progress-circular-stroke-width-lg:12px;--q-btn-icon-padding-sm:6px;--q-btn-icon-padding-md:8px;--q-btn-icon-padding-lg:12px;--q-chip-padding-sm:6px 12px;--q-chip-padding-md:8px 16px;--q-chip-padding-lg:10px 20px;--q-chip-height-sm:32px;--q-chip-height-md:40px;--q-chip-height-lg:48px;--q-sidepanel-panel-padding:var(--q-padding-lg);--q-sidepanel-panel-header-padding:var(--q-padding-lg);--q-sidepanel-panel-footer-padding:var(--q-padding-lg);--q-map-marker-size:24px;--q-map-marker-size-small:20px;--q-map-marker-size-medium:var(--q-map-marker-size);--q-map-marker-size-large:28px;--q-text-body-size:var(--q-font-size-base);--q-text-body-line-height:1.6;--q-text-small-size:var(--q-font-size-sm);--q-text-small-line-height:1.5;--q-heading-display-size:clamp(2.5rem, 1.75rem + 3vw, 4rem);--q-heading-display-line-height:1.1;--q-heading-1-size:clamp(27px, 1.5rem + 2vw, 36px);--q-heading-2-size:clamp(1.75rem, 1.375rem + 1.5vw, 2.5rem);--q-heading-3-size:clamp(1.5rem, 1.25rem + 1vw, 2rem);--q-heading-4-size:1.375rem;--q-heading-5-size:1.25rem;--q-heading-6-size:1.125rem;--q-heading-1-line-height:1.2;--q-heading-2-line-height:1.2;--q-heading-3-line-height:1.3;--q-heading-4-line-height:1.3;--q-heading-5-line-height:1.3;--q-heading-6-line-height:1.3;--q-content-paragraph-gap:1.5rem;--q-content-heading-gap:1.5rem;--q-content-section-gap:clamp(3rem, 2rem + 4vw, 6rem);--q-content-padding:clamp(1.5rem, 1rem + 2vw, 3rem);--q-field-text-size:.875rem;--q-field-text-line:1.25rem;--q-toolbar-height:72px;--q-toolbar-compact-height:60px;--q-font-size-xs:0.8125rem;--q-font-size-2xs:0.75rem;--q-btn-circle-size:144px;--q-btn-circle-padding:16px;--q-table-toolbar-padding-block:16px;--q-table-toolbar-padding-inline:24px;--q-bar-edge-padding:32px;--q-bar-edge-compact-padding:24px;--q-table-cell-padding-block:10px;--q-table-cell-padding-inline:14px;--q-dropdown-option-padding:12px 18px;--q-tooltip-padding:8px 14px;--q-syntax-padding:24px;--q-syntax-compact-padding:16px;--q-syntax-header-padding:8px 24px;--q-sidepanel-nav-font:1rem;--q-sidepanel-nav-small-font:0.875rem;--q-sidepanel-nav-badge-font:0.75rem;--q-navbar-item-height:44px;--q-navbar-gap:28px;--q-navbar-height:72px;--q-navbar-compact-height:60px;--q-navbar-logo-size:40px;--q-navbar-brand-size:1.25rem;--q-navbar-nav-gap:10px;--q-navbar-action-gap:12px;--q-navbar-item-gap:12px;--q-navbar-item-padding:10px 14px;--q-navbar-item-size:1rem;--q-navbar-item-icon-only-size:44px;--q-navbar-item-icon-only-padding:10px;--q-navbar-mobile-panel-padding:12px 24px 24px;--q-avatar-font-size:1rem;--q-avatar-font-size-sm:0.75rem;--q-avatar-font-size-lg:1.25rem;--q-conversation-gap:16px;--q-conversation-header-gap:6px;--q-conversation-header-inset:6px;--q-conversation-padding:16px 20px;--q-conversation-footer-gap:16px;--q-conversation-footer-margin:10px;--q-conversation-meta-gap:10px;--q-conversation-compact-padding:10px 14px;--q-alert-padding:16px 20px;--q-alert-gap:16px;--q-alert-actions-gap:12px;--q-pagination-button-height:44px;--q-pagination-button-padding:8px 12px;--_q-preset-tabs-height-sm:40px;--_q-preset-tabs-height-md:48px;--_q-preset-tabs-height-lg:56px;--_q-preset-tabs-padding-sm:8px 14px;--_q-preset-tabs-padding-md:12px 20px;--_q-preset-tabs-padding-lg:16px 24px}";function r(e,r,a){const t="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;e&&e!==t;){const t=Object.getOwnPropertyDescriptor(e,r);if(t&&(!a||t.get))return t;e=Object.getPrototypeOf(e)}}var a,t=(e,a)=>{var t;Object.entries(null!=(t=a.o.t)?t:{}).map((([t,[n]])=>{if(31&n||32&n){const n=e[t],o=r(Object.getPrototypeOf(e),t,!0)||Object.getOwnPropertyDescriptor(e,t);o&&Object.defineProperty(e,t,{get(){return o.get.call(this)},set(e){o.set.call(this,e)},configurable:!0,enumerable:!0}),a.i.has(t)?e[t]=a.i.get(t):void 0!==n&&(e[t]=n)}}))},n=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},o=(e,r)=>r in e,i=(e,r)=>(0,console.error)(e,r),s=new Map,l="http://www.w3.org/1999/xlink",p=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],c="undefined"!=typeof window?window:{},q=c.HTMLElement||class{},d={l:0,p:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,r,a,t)=>e.addEventListener(r,a,t),rel:(e,r,a,t)=>e.removeEventListener(r,a,t),ce:(e,r)=>new CustomEvent(e,r)},g=(()=>{var e;let r=!1;try{null==(e=c.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){r=!0}}))}catch(e){}return r})(),m=(()=>{try{return!!c.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(e){}return!1})(),f=!!m&&(()=>!!c.document&&Object.getOwnPropertyDescriptor(c.document.adoptedStyleSheets,"length").writable)(),b=!1,h=[],u=[],x=()=>{var e;return(null==(e=c.document)?void 0:e.hidden)?z(y):d.raf(y)},v=(e,r)=>a=>{e.push(a),b||(b=!0,r&&4&d.l?z(y):x())},w=e=>{for(let r=0;r<e.length;r++)try{e[r](performance.now())}catch(e){i(e)}e.length=0},y=()=>{w(h),w(u),(b=h.length>0)&&x()},z=e=>Promise.resolve(undefined).then(e),k=v(u,!0),$=e=>{const r=new URL(e,d.p);return r.origin!==c.location.origin?r.href:r.pathname},j=e=>d.p=e;function O(r){var t;const n={mode:"open"};n.delegatesFocus=!!(16&r.l);const o=this.attachShadow(n);if(void 0===a&&(a=null!=(t=function(e){if(!m)return;const r=new CSSStyleSheet;return r.replaceSync(e),r}(e))?t:null),a)f?o.adoptedStyleSheets.push(a):o.adoptedStyleSheets=[...o.adoptedStyleSheets,a];else if(!m){const r=document.createElement("style");r.innerHTML=e,o.prepend(r)}}var S,_=new WeakMap,M=e=>"sc-"+e.q,C=e=>"object"==(e=typeof e)||"function"===e,E=(e,r,...a)=>{let t=null,n=null,o=!1,s=!1;const l=[],p=r=>{for(let a=0;a<r.length;a++)if(t=r[a],Array.isArray(t))p(t);else if(null!=t&&"boolean"!=typeof t){if(o="function"!=typeof e&&!C(t))t=String(t);else if("function"!=typeof e&&void 0===t.l){i("Invalid vNode child");continue}o&&s?l[l.length-1].m+=t:l.push(o?A(null,t):t),s=o}};if(p(a),r){r.key&&(n=r.key);{const e=r.className||r.class;e&&(r.class="object"!=typeof e?e:Object.keys(e).filter((r=>e[r])).join(" "))}}if("function"==typeof e)return e(null===r?{}:r,l,N);const c=A(e,null);return c.h=r,l.length>0&&(c.u=l),c.v=n,c},A=(e,r)=>({l:0,k:e,m:null!=r?r:null,$:null,u:null,h:null,v:null}),R={},N={forEach:(e,r)=>e.map(D).forEach(r),map:(e,r)=>e.map(D).map(r).map(H)},D=e=>({vattrs:e.h,vchildren:e.u,vkey:e.v,vname:e.j,vtag:e.k,vtext:e.m}),H=e=>{if("function"==typeof e.vtag){const r={...e.vattrs};return e.vkey&&(r.key=e.vkey),e.vname&&(r.name=e.vname),E(e.vtag,r,...e.vchildren||[])}const r=A(e.vtag,e.vtext);return r.h=e.vattrs,r.u=e.vchildren,r.v=e.vkey,r.j=e.vname,r},L=e=>{if(!e)return;const r=Object.keys(e);if(0===r.length)return;let a=!1;for(const t of r){if(a)break;for(const r of e[t])if("string"==typeof r){a=!0;break}}if(!a)return e;const t={};for(const a of r)t[a]=e[a].map((e=>"string"==typeof e?{[e]:0}:e));return t},U=(e,r,a)=>null==e||C(e)?e:4&r?(a&&"string"==typeof e||"false"!==e)&&(""===e||!!e):2&r?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&r?String(e):e,P=(e,r)=>{const a=e;return{emit:e=>W(a,r,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},W=(e,r,a)=>{const t=d.ce(r,a);return e.dispatchEvent(t),t},F=(e,r,a,t,i,s)=>{if(a===t)return;let p=o(e,r),q=r.toLowerCase();if("class"===r){const r=e.classList,n=Y(a);let o=Y(t);r.remove(...n.filter((e=>e&&!o.includes(e)))),r.add(...o.filter((e=>e&&!n.includes(e))))}else if("style"===r){for(const r in a)t&&null!=t[r]||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in t)a&&t[r]===a[r]||(r.includes("-")?e.style.setProperty(r,t[r]):e.style[r]=t[r])}else if("key"===r);else if("ref"===r)t&&se(t,e);else if(e.__lookupSetter__(r)||"o"!==r[0]||"n"!==r[1]){if("a"===r[0]&&r.startsWith("attr:")){const a=r.slice(5);let o;{const r=n(e);if(r&&r.o&&r.o.t){const e=r.o.t[a];e&&e[1]&&(o=e[1])}}return o||(o=a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==t||!1===t?!1===t&&""!==e.getAttribute(o)||e.removeAttribute(o):e.setAttribute(o,!0===t?"":t))}if("p"===r[0]&&r.startsWith("prop:")){const a=r.slice(5);try{e[a]=t}catch(e){}return}{const n=C(t);if((p||n&&null!==t)&&!i)try{if(e.tagName.includes("-"))e[r]!==t&&(e[r]=t);else{const n=null==t?"":t;"list"===r?p=!1:null!=a&&e[r]===n||("function"==typeof e.__lookupSetter__(r)?e[r]=n:e.setAttribute(r,n))}}catch(e){}let o=!1;q!==(q=q.replace(/^xlink\:?/,""))&&(r=q,o=!0),null==t||!1===t?(!1!==t||""===e.getAttribute(r)||4&s&&!V(r))&&(o?e.removeAttributeNS(l,r):e.removeAttribute(r)):(!p||4&s||i)&&!n&&1===e.nodeType&&(t=!0===t?"":t,o?e.setAttributeNS(l,r,t):e.setAttribute(r,t))}}else if(r="-"===r[2]?r.slice(3):o(c,q)?q.slice(2):q[2]+r.slice(3),a||t){const n=r.endsWith(B);r=r.replace(Z,""),a&&d.rel(e,r,a,n),t&&d.ael(e,r,t,n)}},T=new Set(["draggable","contenteditable","spellcheck"]),V=e=>T.has(e)||e.startsWith("aria-"),I=/\s/,Y=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(I):[]),B="Capture",Z=new RegExp(B+"$"),G=(e,r,a)=>{const t=11===r.$.nodeType&&r.$.host?r.$.host:r.$,n=e&&e.h||{},o=r.h||{};for(const e of J(Object.keys(n)))e in o||F(t,e,n[e],void 0,a,r.l);for(const e of J(Object.keys(o)))F(t,e,n[e],o[e],a,r.l)};function J(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var K=!1,Q=!1,X=[],ee=[],re=(e,r,a)=>{const t=r.u[a];let n,o,i=0;if(null!=t.m)n=t.$=c.document.createTextNode(t.m);else{if(Q||(Q="svg"===t.k),!c.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(n=t.$=c.document.createElementNS(Q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",t.k),Q&&"foreignObject"===t.k&&(Q=!1),G(null,t,Q),t.u){const r="template"===t.k?n.content:n;for(i=0;i<t.u.length;++i)o=re(e,t,i),o&&r.appendChild(o)}"svg"===t.k?Q=!1:"foreignObject"===n.tagName&&(Q=!0)}return n["s-hn"]=S,n},ae=(e,r,a,t,n,o)=>{let i,s=e;for(s.shadowRoot&&s.tagName===S&&(s=s.shadowRoot),"template"===a.k&&(s=s.content);n<=o;++n)t[n]&&(i=re(null,a,n),i&&(t[n].$=i,le(s,i,r)))},te=(e,r,a)=>{for(let t=r;t<=a;++t){const r=e[t];if(r){const e=r.$;ie(r),e&&e.remove()}}},ne=(e,r,a=!1)=>e.k===r.k&&(a?(a&&!e.v&&r.v&&(e.v=r.v),!0):e.v===r.v),oe=(e,r,a=!1)=>{const t=r.$=e.$,n=e.u,o=r.u,i=r.k,s=r.m;null==s?(Q="svg"===i||"foreignObject"!==i&&Q,"slot"!==i||K||e.j!==r.j&&(r.$["s-sn"]=r.j||"",(e=>{d.l|=1;const r=e.closest(S.toLowerCase());if(null!=r){const a=Array.from(r.__childNodes||r.childNodes).find((e=>e["s-cr"])),t=Array.from(e.__childNodes||e.childNodes);for(const e of a?t.reverse():t)null!=e["s-sh"]&&(le(r,e,null!=a?a:null),e["s-sh"]=void 0)}d.l&=-2})(r.$.parentElement)),G(e,r,Q),null!==n&&null!==o?((e,r,a,t,n=!1)=>{let o,i,s=0,l=0,p=0,c=0,q=r.length-1,d=r[0],g=r[q],m=t.length-1,f=t[0],b=t[m];const h="template"===a.k?e.content:e;for(;s<=q&&l<=m;)if(null==d)d=r[++s];else if(null==g)g=r[--q];else if(null==f)f=t[++l];else if(null==b)b=t[--m];else if(ne(d,f,n))oe(d,f,n),d=r[++s],f=t[++l];else if(ne(g,b,n))oe(g,b,n),g=r[--q],b=t[--m];else if(ne(d,b,n))oe(d,b,n),le(h,d.$,g.$.nextSibling),d=r[++s],b=t[--m];else if(ne(g,f,n))oe(g,f,n),le(h,g.$,d.$),g=r[--q],f=t[++l];else{for(p=-1,c=s;c<=q;++c)if(r[c]&&null!==r[c].v&&r[c].v===f.v){p=c;break}p>=0?(i=r[p],i.k!==f.k?o=re(r&&r[l],a,l):(oe(i,f,n),r[p]=void 0,o=i.$),f=t[++l]):(o=re(r&&r[l],a,l),f=t[++l]),o&&le(d.$.parentNode,o,d.$)}s>q?ae(e,null==t[m+1]?null:t[m+1].$,a,t,l,m):l>m&&te(r,s,q)})(t,n,r,o,a):null!==o?(null!==e.m&&(t.textContent=""),ae(t,null,r,o,0,o.length-1)):!a&&null!==n&&te(n,0,n.length-1),Q&&"svg"===i&&(Q=!1)):e.m!==s&&(t.data=s)},ie=e=>{e.h&&e.h.ref&&X.push((()=>e.h.ref(null))),e.u&&e.u.map(ie)},se=(e,r)=>{ee.push((()=>e(r)))},le=(e,r,a)=>null==e?void 0:e.insertBefore(r,a),pe=(e,r,a=!1)=>{const t=e.$hostElement$,n=e.o,o=e.O||A(null,null);var i;const s=(i=r)&&i.k===R?r:E(null,null,r);if(S=t.tagName,n.S&&(s.h=s.h||{},n.S.forEach((([e,r])=>{s.h[r]=t[e]}))),a&&s.h)for(const e of Object.keys(s.h))t.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.h[e]=t[e]);s.k=null,s.l|=4,e.O=s,s.$=o.$=t.shadowRoot||t,K=!(!(1&n.l)||128&n.l),oe(o,s,a),X.forEach((e=>e())),X.length=0,ee.forEach((e=>e())),ee.length=0},ce=(e,r)=>{if(r&&!e._&&r["s-p"]){const a=r["s-p"].push(new Promise((t=>e._=()=>{r["s-p"].splice(a-1,1),t()})))}},qe=(e,r)=>{if(e.l|=16,4&e.l)return void(e.l|=512);ce(e,e.M);const a=()=>de(e,r);if(!r)return k(a);queueMicrotask((()=>{a()}))},de=(e,r)=>{const a=e.$hostElement$,t=a;if(!t)throw new Error(`Can't render component <${a.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=xe(t,r?"componentWillLoad":"componentWillUpdate",void 0,a),n=ge(n,(()=>xe(t,"componentWillRender",void 0,a))),ge(n,(()=>fe(e,t,r)))},ge=(e,r)=>me(e)?e.then(r).catch((e=>{console.error(e),r()})):r(),me=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,fe=async(e,r,a)=>{var t;const n=e.$hostElement$,o=n["s-rc"];a&&(e=>{const r=e.o,a=e.$hostElement$,t=r.l,n=((e,r)=>{var a,t,n;const o=M(r),i=s.get(o);if(!c.document)return o;if(e=11===e.nodeType?e:c.document,i)if("string"==typeof i){let n,s=_.get(e=e.head||e);if(s||_.set(e,s=new Set),!s.has(o)){n=c.document.createElement("style"),n.textContent=i;const l=null!=(a=d.C)?a:function(){var e,r,a;return null!=(a=null==(r=null==(e=c.document.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:r.getAttribute("content"))?a:void 0}();if(null!=l&&n.setAttribute("nonce",l),!(1&r.l))if("HEAD"===e.nodeName){const r=e.querySelectorAll("link[rel=preconnect]"),a=r.length>0?r[r.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==a?void 0:a.parentNode)===e?a:null)}else if("host"in e)if(m){const r=new(null!=(t=e.defaultView)?t:e.ownerDocument.defaultView).CSSStyleSheet;r.replaceSync(i),f?e.adoptedStyleSheets.unshift(r):e.adoptedStyleSheets=[r,...e.adoptedStyleSheets]}else{const r=e.querySelector("style");r?r.textContent=i+r.textContent:e.prepend(n)}else e.append(n);1&r.l&&e.insertBefore(n,null),4&r.l&&(n.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),s&&s.add(o)}}else{let r=_.get(e);if(r||_.set(e,r=new Set),!r.has(o)){const a=null!=(n=e.defaultView)?n:e.ownerDocument.defaultView;let t;if(i.constructor===a.CSSStyleSheet)t=i;else{t=new a.CSSStyleSheet;for(let e=0;e<i.cssRules.length;e++)t.insertRule(i.cssRules[e].cssText,e)}f?e.adoptedStyleSheets.push(t):e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],r.add(o)}}return o})(a.shadowRoot?a.shadowRoot:a.getRootNode(),r);10&t&&(a["s-sc"]=n,a.classList.add(n+"-h"))})(e);be(e,r,n,a),o&&(o.map((e=>e())),n["s-rc"]=void 0);{const r=null!=(t=n["s-p"])?t:[],a=()=>he(e);0===r.length?a():(Promise.all(r).then(a).catch(a),e.l|=4,r.length=0)}},be=(e,r,a,t)=>{try{r=r.render(),e.l&=-17,e.l|=2,pe(e,r,t)}catch(r){i(r,e.$hostElement$)}return null},he=e=>{const r=e.$hostElement$,a=r,t=e.M;xe(a,"componentDidRender",void 0,r),64&e.l?xe(a,"componentDidUpdate",void 0,r):(e.l|=64,ve(r),xe(a,"componentDidLoad",void 0,r),e.A(r),t||ue()),e._&&(e._(),e._=void 0),512&e.l&&z((()=>qe(e,!1))),e.l&=-517},ue=()=>{z((()=>W(c,"appload",{detail:{namespace:"webquark"}})))},xe=(e,r,a,t)=>{if(e&&e[r])try{return e[r](a)}catch(e){i(e,t)}},ve=e=>e.classList.add("hydrated"),we=(e,r,a,t)=>{const o=n(e);if(!o)return;const s=e,l=o.i.get(r),p=o.l,c=s;a=U(a,t.t[r][0],!!(64&t.l));const q=Number.isNaN(l)&&Number.isNaN(a);if(a!==l&&!q){if(o.i.set(r,a),t.R){const e=t.R[r];e&&e.map((e=>{try{const[[t,n]]=Object.entries(e);(128&p||1&n)&&(c?c[t](a,l,r):o.N.push((()=>{o.D[t](a,l,r)})))}catch(e){i(e,s)}}))}if(2&p){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(a,l,r)&&!(16&p))return;16&p||qe(o,!1)}}},ye=(e,a,t)=>{var o,i;const s=e.prototype;64&a.l&&1&t&&p.forEach((e=>{const r=s[e];Object.defineProperty(s,e,{value(...a){var t;const o=n(this),i=this;i?"function"==typeof r&&r.call(i,...a):null==(t=null==o?void 0:o.H)||t.then((r=>{const t=r[e];"function"==typeof t&&t.call(r,...a)}))}})}));{e.watchers&&!a.R&&(a.R=L(e.watchers)),e.deserializers&&!a.L&&(a.L=e.deserializers),e.serializers&&!a.U&&(a.U=e.serializers);const t=Object.entries(null!=(o=a.t)?o:{});t.map((([e,[t]])=>{if(31&t||32&t){const{get:o,set:i}=r(s,e)||{};o&&(a.t[e][0]|=2048),i&&(a.t[e][0]|=4096),Object.defineProperty(s,e,{get(){return o?o.apply(this):(r=e,n(this).i.get(r));var r},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(r){const o=n(this);if(o){if(i)return void 0===(32&t?this[e]:o.$hostElement$[e])&&o.i.get(e)&&(r=o.i.get(e)),i.apply(this,[U(r,t,!!(64&a.l))]),void we(this,e,r=32&t?this[e]:o.$hostElement$[e],a);we(this,e,r,a)}}})}}));{const r=new Map;s.attributeChangedCallback=function(e,o,i){d.jmp((()=>{var l;const p=r.get(e),c=n(this);if(this.hasOwnProperty(p),s.hasOwnProperty(p)&&"number"==typeof this[p]&&this[p]==i)return;if(null==p){const r=null==c?void 0:c.l;if(c&&r&&!(8&r)&&i!==o){const t=this,n=null==(l=a.R)?void 0:l[e];null==n||n.forEach((a=>{const[[n,s]]=Object.entries(a);null!=t[n]&&(128&r||1&s)&&t[n].call(t,i,o,e)}))}return}const q=t.find((([e])=>e===p)),d=q?q[1][0]:0,g=4&d;if(512&d&&8&d&&!C(this[p])&&(null==(m=this[p])||!1===m?null:!0===m?"":String(m))===i)return;var m;const f=g&&null===i&&void 0===this[p];g&&(i=null!==i&&"false"!==i);const b=Object.getOwnPropertyDescriptor(s,p);f||i==this[p]||b.get&&!b.set||(this[p]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=a.R)?i:{}),...t.filter((([e,r])=>31&r[0])).map((([e,t])=>{var n;const o=t[1]||e;return r.set(o,e),512&t[0]&&(null==(n=a.S)||n.push([e,o])),o}))]))}}return e},ze=async(e,r,a)=>{let t;try{if(!(32&r.l)&&(r.l|=32,r.l&=-1025,t=e.constructor,customElements.whenDefined(e.localName).then((()=>r.l|=128)),t&&t.style)){let e;"string"==typeof t.style&&(e=t.style);const r=M(a);if(!s.has(r)){const t=()=>{};((e,r,a)=>{let t=s.get(e);m&&a?(t=t||new CSSStyleSheet,"string"==typeof t?t=r:t.replaceSync(r)):t=r,s.set(e,t)})(r,e,!!(1&a.l)),t()}}const n=r.M,o=()=>qe(r,!0);n&&n["s-rc"]?n["s-rc"].push(o):o()}catch(a){i(a,e),r._&&(r._(),r._=void 0),!r.A||1024&r.l||r.A(e)}},ke=(e,r)=>{const a={l:r[0],q:r[1]};try{a.t=r[2],a.P=r[3],a.R=L(e.R),a.L=e.L,a.U=e.U,a.S=[];const o=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,r)=>{const a={l:0,$hostElement$:e,o:r,i:new Map,W:new Map};a.H=new Promise((e=>a.A=e)),e["s-p"]=[],e["s-rc"]=[];const n=a;e.__stencil__getHostRef=()=>n,512&r.l&&t(e,a)})(this,a)},connectedCallback(){if(!this.__hasHostListenerAttached){const e=n(this);if(!e)return;$e(this,e,a.P),this.__hasHostListenerAttached=!0}(e=>{if(!(1&d.l)){const r=n(e);if(!r)return;const a=r.o,t=()=>{};if(1&r.l)$e(e,r,a.P),(null==r?void 0:r.D)||(1024&r.l?setTimeout((()=>ze(e,r,a)),1e3):(null==r?void 0:r.H)&&r.H.then((()=>{})));else{r.l|=1;{let a=e;for(;a=a.parentNode||a.host;)if(a["s-p"]){ce(r,r.M=a);break}}a.t&&Object.entries(a.t).map((([r,[a]])=>{if(31&a&&Object.prototype.hasOwnProperty.call(e,r)){const a=e[r];delete e[r],e[r]=a}})),ze(e,r,a)}t()}})(this),o&&o.call(this)},disconnectedCallback(){(async e=>{if(!(1&d.l)){const r=n(e);(null==r?void 0:r.F)&&(r.F.map((e=>e())),r.F=void 0)}_.has(e)&&_.delete(e),e.shadowRoot&&_.has(e.shadowRoot)&&_.delete(e.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${a.q}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else O.call(this,a)}}),Object.defineProperty(e,"is",{value:a.q,configurable:!0}),ye(e,a,3)}catch(r){return i(r),e}},$e=(e,r,a)=>{a&&c.document&&a.map((([a,t,n])=>{const o=Oe(c.document,e,a),i=je(r,n),s=Se(a);d.ael(o,t,i,s),(r.F=r.F||[]).push((()=>d.rel(o,t,i,s)))}))},je=(e,r)=>a=>{try{e.$hostElement$[r](a)}catch(r){i(r,e.$hostElement$)}},Oe=(e,r,a)=>8&a?c:r,Se=e=>g?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),_e=globalThis.HTMLElement||class{};function Me(...e){return e.reduceRight(((e,r)=>r(e)),_e)}var Ce=e=>d.C=e,Ee=e=>Object.assign(d,e),Ae=new WeakMap;function Re(e,r){let a=Ae.get(r);a||(a={l:0,o:{l:0,q:r.tagName},$hostElement$:r},Ae.set(r,a)),pe(a,e)}function Ne(e){return e}export{q as H,Me as M,Ce as a,Ee as b,P as c,R as d,$ as g,E as h,ke as p,Re as r,j as s,Ne as t}
@@ -1 +0,0 @@
1
- import{t as r,p as s,H as e,h as a}from"./p-Cn_ChUpc.js";import{c as i}from"./p-ByfrUWx1.js";const o=2*Math.PI*52,t=new Set(["sm","md","lg"]),l=s(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow()}value=0;label;indeterminate=!1;ariaValueText=null;variant="linear";size="md";tone="primary";ariaLabel=null;render(){const r=Number.isFinite(this.value)?this.value:0,s=Math.min(Math.max(r,0),100);return"circular"==("circular"===this.variant?"circular":"linear")?this.renderCircular(s):this.renderLinear(s)}renderLinear(r){return a("div",{class:"progress-linear",style:this.customSizeStyle(),...this.progressAttributes(r,this.ariaValueText?.trim()||`${r}%`),part:"container track"},a("span",{class:{"progress-linear__fill":!0,"is-indeterminate":this.indeterminate},style:this.indeterminate?void 0:{width:`${r}%`},part:"fill"}))}renderCircular(r){const s=void 0!==this.label?this.label:`${r}%`,e=i(s,"var(--q-progress-font-size, var(--_q-progress-font-size))",5),t=this.indeterminate?.75*o:o-r/100*o;return a("div",{class:"progress-circular",style:this.customSizeStyle(),...this.progressAttributes(r,this.ariaValueText?.trim()||s),part:"container"},a("svg",{class:"progress-circular__svg",viewBox:"0 0 120 120"},a("g",{class:"progress-circular__rings"},a("circle",{class:"progress-circular__track",cx:60,cy:60,r:52,part:"track"}),a("circle",{class:"progress-circular__fill",cx:60,cy:60,r:52,"stroke-dasharray":o,"stroke-dashoffset":t,part:"fill"})),!this.indeterminate&&a("text",{class:"progress-circular__label",x:"50%",y:"50%",style:e,part:"label"},s)))}progressAttributes(r,s){return{role:"progressbar","aria-label":this.ariaLabel?.trim()||"Progress","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":this.indeterminate?void 0:r,"aria-valuetext":this.indeterminate?void 0:s}}customSizeStyle(){if("string"==typeof this.size&&t.has(this.size))return;const r="number"==typeof this.size?this.size:Number(this.size);return Number.isFinite(r)?{"--_q-progress-custom-size":`${Math.max(0,r)}px`}:void 0}static get style(){return":host{display:block;width:100%;min-width:0;box-sizing:border-box;--_q-progress-linear-height:var(--q-progress-linear-height-md, 6px);--_q-progress-circular-size:var(--q-progress-circular-size-md, 120px);--_q-progress-stroke-width:var( --q-progress-circular-stroke-width-md, 8px );--_q-progress-font-size:var( --q-progress-circular-font-size-md, var(--q-font-size-lg, 1rem) );--_q-progress-track-color:var(--q-bg-surface-3, #22304d);--_q-progress-tone-color:var(--q-color-primary, #60a5fa)}:host([hidden]){display:none}:host([variant='circular']){display:inline-block;width:auto;--_q-progress-track-color:var(--q-border-color, #374151)}:host([size='sm']){--_q-progress-linear-height:var(--q-progress-linear-height-sm, 4px);--_q-progress-circular-size:var(--q-progress-circular-size-sm, 64px);--_q-progress-stroke-width:var( --q-progress-circular-stroke-width-sm, 6px );--_q-progress-font-size:var( --q-progress-circular-font-size-sm, var(--q-font-size-sm, 0.7rem) )}:host([size='lg']){--_q-progress-linear-height:var(--q-progress-linear-height-lg, 8px);--_q-progress-circular-size:var(--q-progress-circular-size-lg, 180px);--_q-progress-stroke-width:var( --q-progress-circular-stroke-width-lg, 10px );--_q-progress-font-size:var( --q-progress-circular-font-size-lg, calc(var(--q-font-size-lg, 1rem) * 1.5) )}:host([tone='neutral']){--_q-progress-tone-color:var(--q-fg-muted, #9ca3af)}:host([tone='primary']){--_q-progress-tone-color:var(--q-color-primary, #60a5fa)}:host([tone='success']){--_q-progress-tone-color:var(--q-color-success, #34d399)}:host([tone='warning']){--_q-progress-tone-color:var(--q-color-warning, #fbbf24)}:host([tone='danger']){--_q-progress-tone-color:var(--q-color-danger, #f87171)}.progress-linear{position:relative;width:100%;height:var( --q-progress-linear-height, var( --q-progress-bar-height, var(--_q-progress-custom-size, var(--_q-progress-linear-height)) ) );overflow:hidden;border-radius:var( --q-progress-linear-radius, var(--q-progress-bar-radius, 999px) );background:var( --q-progress-track-color, var(--q-progress-bar-track-color, var(--_q-progress-track-color)) )}.progress-linear__fill{display:block;height:100%;border-radius:inherit;background:var( --q-progress-fill-color, var(--q-progress-bar-fill-color, var(--_q-progress-tone-color)) );transition:width var( --q-progress-transition, var(--q-progress-bar-transition, var(--q-transition-normal, 250ms ease)) )}.progress-linear__fill.is-indeterminate{width:42%;animation:q-progress-linear-indeterminate var( --q-progress-indeterminate-duration, var(--q-progress-bar-indeterminate-duration, 1.4s) ) ease-in-out infinite}.progress-circular{width:var( --q-progress-circular-size, var( --q-progress-size, var(--_q-progress-custom-size, var(--_q-progress-circular-size)) ) );height:var( --q-progress-circular-size, var( --q-progress-size, var(--_q-progress-custom-size, var(--_q-progress-circular-size)) ) )}.progress-circular__svg{display:block;width:100%;height:100%}.progress-circular__rings{transform:rotate(-90deg);transform-origin:center}.progress-circular__track,.progress-circular__fill{fill:none;stroke-width:var( --q-progress-circular-stroke-width, var(--q-progress-stroke-width, var(--_q-progress-stroke-width)) )}.progress-circular__track{stroke:var(--q-progress-track-color, var(--_q-progress-track-color))}.progress-circular__fill{stroke:var( --q-progress-fill-color, var(--_q-progress-tone-color) );stroke-linecap:var(--q-progress-circular-linecap, round);transition:stroke-dashoffset var(--q-progress-transition, var(--q-transition-normal, 250ms ease))}.progress-circular__label{fill:var(--q-fg-base, #f9fafb);font-family:var(--q-font-family, inherit);font-size:var( --q-progress-circular-font-size, var(--q-progress-font-size, var(--_q-progress-font-size)) );font-weight:var( --q-progress-circular-font-weight, var(--q-progress-font-weight, var(--q-font-weight-bold, 600)) );text-anchor:middle;dominant-baseline:central}:host([variant='circular'][indeterminate]) .progress-circular__rings{animation:q-progress-circular-indeterminate var(--q-progress-indeterminate-duration, 1.4s) linear infinite}@keyframes q-progress-linear-indeterminate{0%{transform:translateX(-110%)}100%{transform:translateX(255%)}}@keyframes q-progress-circular-indeterminate{0%{transform:rotate(-90deg)}100%{transform:rotate(270deg)}}@media (prefers-reduced-motion: reduce){.progress-linear__fill,.progress-circular__fill{transition:none}.progress-linear__fill.is-indeterminate,:host([variant='circular'][indeterminate]) .progress-circular__rings{animation-duration:2.8s}}"}},[513,"q-progress",{value:[2],label:[1],indeterminate:[516],ariaValueText:[1,"aria-valuetext"],variant:[513],size:[520],tone:[513],ariaLabel:[1,"aria-label"]}]);function n(){"undefined"!=typeof customElements&&["q-progress"].forEach((s=>{"q-progress"===s&&(customElements.get(r(s))||customElements.define(r(s),l))}))}n();export{l as Q,n as d}
@@ -1 +0,0 @@
1
- import{t,p as r,H as i,c as s,h as e,d as o}from"./p-Cn_ChUpc.js";function a(t){if(!t)return{scrollTop:0,scrollHeight:0,clientHeight:0,maxScrollTop:0};const r=Math.max(0,t.scrollHeight-t.clientHeight);return{scrollTop:t.scrollTop,scrollHeight:t.scrollHeight,clientHeight:t.clientHeight,maxScrollTop:r}}function l(t){const{metrics:r,trackHeight:i,minThumbHeight:s}=t;if(r.scrollHeight<=r.clientHeight||r.maxScrollTop<=0)return{height:0,translateY:0,isScrollable:!1};const e=Math.max(s,r.clientHeight*r.clientHeight/r.scrollHeight),o=Math.max(0,i-(t.thumbHeight||e));return{height:e,translateY:o>0?r.scrollTop/r.maxScrollTop*o:0,isScrollable:!0}}const h="data-q-scrollable-target-id";let c=0;const n=r(class t extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.qScroll=s(this,"qScroll")}get el(){return this}height="100%";maxHeight="";mode="custom";target="";nativeOnMobile=!0;autoHide=!0;qScroll;isScrolling=!1;isDragging=!1;scrollValueNow=0;scrollValueMax=0;static MIN_THUMB_HEIGHT_PX=36;static KEY_SCROLL_STEP_PX=40;viewportId="q-scrollable-viewport-"+ ++c;viewportEl;contentEl;trackEl;thumbEl;resizeObserver;scrollTimeout;isUpdatingPosition=!1;dragStartY=0;dragStartScrollTop=0;nativeStyleEl;activeTargetEl;componentDidLoad(){this.applyNativeStyles(),this.setupCustomScroll()}componentDidUpdate(){"custom"===this.mode&&this.updateScrollbarSize()}disconnectedCallback(){this.removeNativeStyles(),this.resizeObserver&&this.resizeObserver.disconnect(),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.thumbEl&&(this.thumbEl.removeEventListener("pointermove",this.handlePointerMove),this.thumbEl.removeEventListener("pointerup",this.handlePointerUp),this.thumbEl.removeEventListener("pointercancel",this.handlePointerUp))}handleModeOrTargetChange(){"native"===this.mode?(this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=void 0),this.applyNativeStyles()):(this.removeNativeStyles(),this.setupCustomScroll())}async scrollToBottom(){this.viewportEl&&this.setViewportScrollTop(this.viewportEl.scrollHeight)}async scrollToPosition(t){this.viewportEl&&this.setViewportScrollTop(t)}setViewportRef=t=>{this.viewportEl=this.syncResizeObserver(this.viewportEl,t)};setContentRef=t=>{this.contentEl=this.syncResizeObserver(this.contentEl,t)};syncResizeObserver(t,r){if(t&&this.resizeObserver)try{this.resizeObserver.unobserve(t)}catch(t){}const i=r||void 0;return"custom"===this.mode&&i&&"undefined"!=typeof ResizeObserver&&(this.ensureResizeObserver(),this.resizeObserver?.observe(i)),"custom"===this.mode&&this.updateScrollbarSize(),i}ensureResizeObserver(){this.resizeObserver||"undefined"==typeof ResizeObserver||(this.resizeObserver=new ResizeObserver((()=>{this.updateScrollbarSize()})))}setupCustomScroll(){"custom"===this.mode&&("undefined"!=typeof ResizeObserver&&(this.ensureResizeObserver(),this.viewportEl&&this.resizeObserver?.observe(this.viewportEl),this.contentEl&&this.resizeObserver?.observe(this.contentEl)),this.updateScrollbarSize())}applyNativeStyles(){if(this.removeNativeStyles(),"native"!==this.mode)return;const t=(r=this.el,(i=this.target)?r.getRootNode().querySelector(i):r.parentElement);var r,i;if(!t)return;this.activeTargetEl=t;const s=function(t){let r=t.getAttribute(h);return r||(r=`q-scroll-${Math.random().toString(36).slice(2,11)}`,t.setAttribute(h,r)),r}(t),e=document.createElement("style");e.id=`q-style-${s}`,e.textContent=function(t){return`\n [${h}="${t}"]::-webkit-scrollbar {\n width: var(--q-scrollbar-width, 6px);\n height: var(--q-scrollbar-width, 6px);\n }\n [${h}="${t}"]::-webkit-scrollbar-track {\n background: var(--q-scrollbar-track-color, transparent);\n }\n [${h}="${t}"]::-webkit-scrollbar-thumb {\n background: var(--q-scrollbar-thumb-color, var(--q-border-color, #374151));\n border-radius: var(--q-scrollbar-radius, 4px);\n }\n [${h}="${t}"]::-webkit-scrollbar-thumb:hover {\n background: var(--q-scrollbar-thumb-color-hover, var(--q-color-primary, #60a5fa));\n }\n [${h}="${t}"] {\n scrollbar-width: var(--q-scrollbar-width-thin, thin);\n scrollbar-color: var(--q-scrollbar-thumb-color, var(--q-border-color, #374151)) var(--q-scrollbar-track-color, transparent);\n }\n `}(s),t.appendChild(e),this.nativeStyleEl=e}removeNativeStyles(){var t;this.nativeStyleEl&&this.nativeStyleEl.parentNode&&this.nativeStyleEl.parentNode.removeChild(this.nativeStyleEl),this.nativeStyleEl=void 0,this.activeTargetEl&&(t=this.activeTargetEl,t?.removeAttribute(h),this.activeTargetEl=void 0)}updateScrollbarSize(){if("custom"!==this.mode||!this.viewportEl||!this.trackEl||!this.thumbEl)return;const r=l({metrics:a(this.viewportEl),trackHeight:this.trackEl.clientHeight,thumbHeight:this.thumbEl.clientHeight,minThumbHeight:t.MIN_THUMB_HEIGHT_PX});if(!r.isScrollable)return this.thumbEl.style.height="0px",this.trackEl.style.display="none",void this.updateScrollMetrics();this.trackEl.style.display="",this.thumbEl.style.height=`${r.height}px`,this.updateThumbPosition()}updateThumbPosition(){if(!this.viewportEl||!this.trackEl||!this.thumbEl)return;const r=l({metrics:a(this.viewportEl),trackHeight:this.trackEl.clientHeight,thumbHeight:this.thumbEl.clientHeight,minThumbHeight:t.MIN_THUMB_HEIGHT_PX});r.isScrollable?(this.thumbEl.style.transform=`translateY(${r.translateY}px)`,this.updateScrollMetrics()):this.updateScrollMetrics()}updateScrollMetrics(){const t=a(this.viewportEl);this.scrollValueNow=Math.round(t.scrollTop),this.scrollValueMax=Math.round(t.maxScrollTop)}handleScroll=()=>{this.viewportEl&&this.qScroll.emit({scrollTop:this.viewportEl.scrollTop,scrollHeight:this.viewportEl.scrollHeight,clientHeight:this.viewportEl.clientHeight}),this.updateScrollMetrics(),"custom"===this.mode&&(this.showScrollbarTemporarily(),this.isUpdatingPosition||(this.isUpdatingPosition=!0,requestAnimationFrame((()=>{this.updateThumbPosition(),this.isUpdatingPosition=!1}))))};showScrollbarTemporarily(){this.autoHide&&(this.isScrolling=!0,this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout((()=>{this.isScrolling=!1}),1500))}handlePointerDown=t=>{0===t.button&&this.thumbEl&&this.viewportEl&&this.trackEl&&(this.isDragging=!0,this.dragStartY=t.clientY,this.dragStartScrollTop=this.viewportEl.scrollTop,this.thumbEl.setPointerCapture(t.pointerId),this.thumbEl.addEventListener("pointermove",this.handlePointerMove),this.thumbEl.addEventListener("pointerup",this.handlePointerUp),this.thumbEl.addEventListener("pointercancel",this.handlePointerUp),t.preventDefault(),t.stopPropagation())};handlePointerMove=t=>{if(!(this.isDragging&&this.viewportEl&&this.trackEl&&this.thumbEl))return;const r=a(this.viewportEl),i=this.trackEl.clientHeight-this.thumbEl.clientHeight;if(i<=0||r.maxScrollTop<=0)return;const s=Math.max(0,Math.min(i,this.dragStartScrollTop/r.maxScrollTop*i+(t.clientY-this.dragStartY)));this.setViewportScrollTop(s/i*r.maxScrollTop),this.updateThumbPosition()};handleThumbKeyDown=r=>{if(!this.viewportEl)return;const i=a(this.viewportEl),s=function(t){const r=Math.max(t.step,t.clientHeight-t.step);switch(t.key){case"ArrowDown":case"ArrowRight":return t.scrollTop+t.step;case"ArrowUp":case"ArrowLeft":return t.scrollTop-t.step;case"PageDown":return t.scrollTop+r;case"PageUp":return t.scrollTop-r;case"Home":return 0;case"End":return t.maxScrollTop;default:return}}({key:r.key,scrollTop:i.scrollTop,clientHeight:i.clientHeight,maxScrollTop:i.maxScrollTop,step:t.KEY_SCROLL_STEP_PX});void 0!==s&&(r.preventDefault(),this.setViewportScrollTop(s),this.updateThumbPosition())};setViewportScrollTop(t){if(!this.viewportEl)return;const r=function(t,r){return Math.max(0,Math.min(r.maxScrollTop,t))}(t,a(this.viewportEl));this.viewportEl.style.scrollBehavior="auto",this.viewportEl.scrollTop=r,this.viewportEl.style.scrollBehavior="",this.updateScrollMetrics()}handlePointerUp=t=>{if(this.isDragging&&(this.isDragging=!1,this.thumbEl)){try{this.thumbEl.releasePointerCapture(t.pointerId)}catch(t){}this.thumbEl.removeEventListener("pointermove",this.handlePointerMove),this.thumbEl.removeEventListener("pointerup",this.handlePointerUp),this.thumbEl.removeEventListener("pointercancel",this.handlePointerUp)}};render(){return e(o,{key:"8f16a1a28d33bc7a0382d20f17a36879ae279720",class:{"is-scrolling":this.isScrolling,"is-dragging":this.isDragging},style:{height:this.height,maxHeight:this.maxHeight||void 0}},e("div",{key:"f76c3054d43ddff3657dc595f4825035a36601e7",class:"q-scrollable-host"},e("div",{key:"d4288bbb3b5933de2e9d2887e8756c4ca7a65f55",id:this.viewportId,class:"q-scrollable-viewport",ref:this.setViewportRef,onScroll:this.handleScroll,tabindex:0,part:"viewport"},e("div",{key:"1573bd03af8fb6d65802e9762f79ec5c29d1549b",class:"q-scrollable-content",ref:this.setContentRef,part:"content"},e("slot",{key:"fb362b94fbc5f00eaacb4a054efa78d8e323ce9b"}))),"custom"===this.mode&&e("div",{key:"584eb99b88589487ad6d3c9c20799019ddafa1b1",class:{"q-scrollbar-track":!0,"is-dragging":this.isDragging},ref:t=>this.trackEl=t,part:"track"},e("div",{key:"9c230ebab5a13e45908446f6f1d2b82698b8e56a",class:"q-scrollbar-thumb",ref:t=>this.thumbEl=t,onPointerDown:this.handlePointerDown,onKeyDown:this.handleThumbKeyDown,role:"scrollbar","aria-controls":this.viewportId,"aria-orientation":"vertical","aria-valuemin":"0","aria-valuemax":this.scrollValueMax,"aria-valuenow":this.scrollValueNow,"aria-label":"Scroll content",tabindex:0,part:"thumb"}))))}static get watchers(){return{mode:[{handleModeOrTargetChange:0}],target:[{handleModeOrTargetChange:0}]}}static get style(){return":host{display:block;box-sizing:border-box;height:100%;min-height:0}.q-scrollable-host{position:relative;width:100%;height:100%;max-height:inherit;overflow:hidden;box-sizing:border-box}.q-scrollable-viewport{width:100%;height:100%;max-height:inherit;overflow:auto;box-sizing:border-box}:host([mode='custom']) .q-scrollable-viewport{scrollbar-width:none;-ms-overflow-style:none;padding-right:12px;}:host([mode='custom']) .q-scrollable-viewport::-webkit-scrollbar{display:none;}:host([mode='native']) .q-scrollable-viewport{scrollbar-width:var(--q-scrollbar-width-thin, thin);scrollbar-color:var(--q-scrollbar-thumb-color, var(--q-border-color, #374151)) var(--q-scrollbar-track-color, transparent)}:host([mode='native']) .q-scrollable-viewport::-webkit-scrollbar{width:var(--q-scrollbar-width, 6px);height:var(--q-scrollbar-width, 6px);display:block}:host([mode='native']) .q-scrollable-viewport::-webkit-scrollbar-track{background:var(--q-scrollbar-track-color, transparent)}:host([mode='native']) .q-scrollable-viewport::-webkit-scrollbar-thumb{background:var(--q-scrollbar-thumb-color, var(--q-border-color, #374151));border-radius:var(--q-scrollbar-radius, 4px)}:host([mode='native']) .q-scrollable-viewport::-webkit-scrollbar-thumb:hover{background:var(--q-scrollbar-thumb-color-hover, var(--q-color-primary, #60a5fa))}.q-scrollbar-track{position:absolute;top:4px;right:4px;bottom:4px;width:var(--q-scrollbar-width, 6px);background:var(--q-scrollbar-track-color, transparent);border-radius:var(--q-scrollbar-radius, 4px);z-index:10;pointer-events:auto;opacity:0;transition:opacity 250ms ease;user-select:none;-webkit-user-select:none}.q-scrollbar-thumb{position:absolute;width:100%;background:var(--q-scrollbar-thumb-color, var(--q-border-color, #374151));border-radius:var(--q-scrollbar-radius, 4px);cursor:pointer;transform:translateY(0);transition:background-color 150ms ease;user-select:none;-webkit-user-select:none}.q-scrollbar-thumb:hover,.q-scrollbar-thumb:focus-visible{background:var(--q-scrollbar-thumb-color-hover, var(--q-color-primary, #60a5fa));outline:none}.q-scrollable-host:hover .q-scrollbar-track,.q-scrollable-host.is-scrolling .q-scrollbar-track,.q-scrollbar-track.is-dragging{opacity:1}.q-scrollable-host.is-dragging{user-select:none;-webkit-user-select:none}@media (hover: none) and (pointer: coarse){:host([native-on-mobile]) .q-scrollbar-track{display:none !important}:host([native-on-mobile]) .q-scrollable-viewport{scrollbar-width:auto;-ms-overflow-style:auto}:host([native-on-mobile]) .q-scrollable-viewport::-webkit-scrollbar{display:block}}"}},[769,"q-scrollable",{height:[513],maxHeight:[513,"max-height"],mode:[513],target:[513],nativeOnMobile:[516,"native-on-mobile"],autoHide:[516,"auto-hide"],isScrolling:[32],isDragging:[32],scrollValueNow:[32],scrollValueMax:[32],scrollToBottom:[64],scrollToPosition:[64]},void 0,{mode:[{handleModeOrTargetChange:0}],target:[{handleModeOrTargetChange:0}]}]);function b(){"undefined"!=typeof customElements&&["q-scrollable"].forEach((r=>{"q-scrollable"===r&&(customElements.get(t(r))||customElements.define(t(r),n))}))}b();export{n as Q,b as d}
@@ -1 +0,0 @@
1
- const s=s=>class extends s{constructor(){super()}disabled=!1;href;rel;download},e=s=>class extends s{constructor(){super()}label};export{e as a,s as w}
@@ -1,5 +0,0 @@
1
- function t(t,i){return i.forEach((function(i){i&&"string"!=typeof i&&!Array.isArray(i)&&Object.keys(i).forEach((function(n){if("default"!==n&&!(n in t)){var s=Object.getOwnPropertyDescriptor(i,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:function(){return i[n]}})}}))})),Object.freeze(t)}function i(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var n,s={exports:{}},e=(n||(n=1,function(t){function i(t){var i,n,s,e;for(n=1,s=arguments.length;n<s;n++)for(i in e=arguments[n])t[i]=e[i];return t}var n=Object.create||function(){function t(){}return function(i){return t.prototype=i,new t}}();function s(t,i){var n=Array.prototype.slice;if(t.bind)return t.bind.apply(t,n.call(arguments,1));var s=n.call(arguments,2);return function(){return t.apply(i,s.length?s.concat(n.call(arguments)):arguments)}}var e=0;function h(t){return"_leaflet_id"in t||(t._leaflet_id=++e),t._leaflet_id}function o(t,i,n){var s,e,h,o;return o=function(){s=!1,e&&(h.apply(n,e),e=!1)},h=function(){s?e=arguments:(t.apply(n,arguments),setTimeout(o,i),s=!0)},h}function r(t,i,n){var s=i[1],e=i[0],h=s-e;return t===s&&n?t:((t-e)%h+h)%h+e}function a(){return!1}function u(t,i){if(!1===i)return t;var n=Math.pow(10,void 0===i?6:i);return Math.round(t*n)/n}function c(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function f(t){return c(t).split(/\s+/)}function l(t,i){for(var s in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?n(t.options):{}),i)t.options[s]=i[s];return t.options}function d(t,i,n){var s=[];for(var e in t)s.push(encodeURIComponent(n?e.toUpperCase():e)+"="+encodeURIComponent(t[e]));return(i&&-1!==i.indexOf("?")?"&":"?")+s.join("&")}var v=/\{ *([\w_ -]+) *\}/g;function m(t,i){return t.replace(v,(function(t,n){var s=i[n];if(void 0===s)throw new Error("No value provided for variable "+t);return"function"==typeof s&&(s=s(i)),s}))}var p=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function g(t,i){for(var n=0;n<t.length;n++)if(t[n]===i)return n;return-1}var w="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function _(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var y=0;function M(t){var i=+new Date,n=Math.max(0,16-(i-y));return y=i+n,window.setTimeout(t,n)}var b=window.requestAnimationFrame||_("RequestAnimationFrame")||M,P=window.cancelAnimationFrame||_("CancelAnimationFrame")||_("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function k(t,i,n){if(!n||b!==M)return b.call(window,s(t,i));t.call(i)}function T(t){t&&P.call(window,t)}var x={__proto__:null,extend:i,create:n,bind:s,get lastId(){return e},stamp:h,throttle:o,wrapNum:r,falseFn:a,formatNum:u,trim:c,splitWords:f,setOptions:l,getParamString:d,template:m,isArray:p,indexOf:g,emptyImageUrl:w,requestFn:b,cancelFn:P,requestAnimFrame:k,cancelAnimFrame:T};function z(){}z.extend=function(t){var s=function(){l(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},e=s.__super__=this.prototype,h=n(e);for(var o in h.constructor=s,s.prototype=h,this)Object.prototype.hasOwnProperty.call(this,o)&&"prototype"!==o&&"__super__"!==o&&(s[o]=this[o]);return t.statics&&i(s,t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=p(t)?t:[t];for(var i=0;i<t.length;i++)t[i]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(t.includes),i.apply(null,[h].concat(t.includes))),i(h,t),delete h.statics,delete h.includes,h.options&&(h.options=e.options?n(e.options):{},i(h.options,t.options)),h._initHooks=[],h.callInitHooks=function(){if(!this._initHooksCalled){e.callInitHooks&&e.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,i=h._initHooks.length;t<i;t++)h._initHooks[t].call(this)}},s},z.include=function(t){var n=this.prototype.options;return i(this.prototype,t),t.options&&(this.prototype.options=n,this.mergeOptions(t.options)),this},z.mergeOptions=function(t){return i(this.prototype.options,t),this},z.addInitHook=function(t){var i=Array.prototype.slice.call(arguments,1),n="function"==typeof t?t:function(){this[t].apply(this,i)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var S={on:function(t,i,n){if("object"==typeof t)for(var s in t)this._on(s,t[s],i);else for(var e=0,h=(t=f(t)).length;e<h;e++)this._on(t[e],i,n);return this},off:function(t,i,n){if(arguments.length)if("object"==typeof t)for(var s in t)this._off(s,t[s],i);else{t=f(t);for(var e=1===arguments.length,h=0,o=t.length;h<o;h++)e?this._off(t[h]):this._off(t[h],i,n)}else delete this._events;return this},_on:function(t,i,n,s){if("function"==typeof i){if(!1===this._listens(t,i,n)){n===this&&(n=void 0);var e={fn:i,ctx:n};s&&(e.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(e)}}else console.warn("wrong listener type: "+typeof i)},_off:function(t,i,n){var s,e,h;if(this._events&&(s=this._events[t]))if(1!==arguments.length)if("function"==typeof i){var o=this._listens(t,i,n);!1!==o&&(this._firingCount&&(s[o].fn=a,this._events[t]=s=s.slice()),s.splice(o,1))}else console.warn("wrong listener type: "+typeof i);else{if(this._firingCount)for(e=0,h=s.length;e<h;e++)s[e].fn=a;delete this._events[t]}},fire:function(t,n,s){if(!this.listens(t,s))return this;var e=i({},n,{type:t,target:this,sourceTarget:n&&n.sourceTarget||this});if(this._events){var h=this._events[t];if(h){this._firingCount=this._firingCount+1||1;for(var o=0,r=h.length;o<r;o++){var a=h[o],u=a.fn;a.once&&this.off(t,u,a.ctx),u.call(a.ctx||this,e)}this._firingCount--}}return s&&this._propagateEvent(e),this},listens:function(t,i,n,s){"string"!=typeof t&&console.warn('"string" type argument expected');var e=i;"function"!=typeof i&&(s=!!i,e=void 0,n=void 0);var h=this._events&&this._events[t];if(h&&h.length&&!1!==this._listens(t,e,n))return!0;if(s)for(var o in this._eventParents)if(this._eventParents[o].listens(t,i,n,s))return!0;return!1},_listens:function(t,i,n){if(!this._events)return!1;var s=this._events[t]||[];if(!i)return!!s.length;n===this&&(n=void 0);for(var e=0,h=s.length;e<h;e++)if(s[e].fn===i&&s[e].ctx===n)return e;return!1},once:function(t,i,n){if("object"==typeof t)for(var s in t)this._on(s,t[s],i,!0);else for(var e=0,h=(t=f(t)).length;e<h;e++)this._on(t[e],i,n,!0);return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[h(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[h(t)],this},_propagateEvent:function(t){for(var n in this._eventParents)this._eventParents[n].fire(t.type,i({layer:t.target,propagatedFrom:t.target},t),!0)}};S.addEventListener=S.on,S.removeEventListener=S.clearAllEventListeners=S.off,S.addOneTimeEventListener=S.once,S.fireEvent=S.fire,S.hasEventListeners=S.listens;var E=z.extend(S);function A(t,i,n){this.x=n?Math.round(t):t,this.y=n?Math.round(i):i}var C=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function O(t,i,n){return t instanceof A?t:p(t)?new A(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new A(t.x,t.y):new A(t,i,n)}function I(t,i){if(t)for(var n=i?[t,i]:t,s=0,e=n.length;s<e;s++)this.extend(n[s])}function B(t,i){return!t||t instanceof I?t:new I(t,i)}function Z(t,i){if(t)for(var n=i?[t,i]:t,s=0,e=n.length;s<e;s++)this.extend(n[s])}function D(t,i){return t instanceof Z?t:new Z(t,i)}function R(t,i,n){if(isNaN(t)||isNaN(i))throw new Error("Invalid LatLng object: ("+t+", "+i+")");this.lat=+t,this.lng=+i,void 0!==n&&(this.alt=+n)}function N(t,i,n){return t instanceof R?t:p(t)&&"object"!=typeof t[0]?3===t.length?new R(t[0],t[1],t[2]):2===t.length?new R(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new R(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===i?null:new R(t,i,n)}A.prototype={clone:function(){return new A(this.x,this.y)},add:function(t){return this.clone()._add(O(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(O(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new A(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new A(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=C(this.x),this.y=C(this.y),this},distanceTo:function(t){var i=(t=O(t)).x-this.x,n=t.y-this.y;return Math.sqrt(i*i+n*n)},equals:function(t){return(t=O(t)).x===this.x&&t.y===this.y},contains:function(t){return t=O(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+u(this.x)+", "+u(this.y)+")"}},I.prototype={extend:function(t){var i,n;if(!t)return this;if(t instanceof A||"number"==typeof t[0]||"x"in t)i=n=O(t);else if(n=(t=B(t)).max,!(i=t.min)||!n)return this;return this.min||this.max?(this.min.x=Math.min(i.x,this.min.x),this.max.x=Math.max(n.x,this.max.x),this.min.y=Math.min(i.y,this.min.y),this.max.y=Math.max(n.y,this.max.y)):(this.min=i.clone(),this.max=n.clone()),this},getCenter:function(t){return O((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return O(this.min.x,this.max.y)},getTopRight:function(){return O(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var i,n;return(t="number"==typeof t[0]||t instanceof A?O(t):B(t))instanceof I?(i=t.min,n=t.max):i=n=t,i.x>=this.min.x&&n.x<=this.max.x&&i.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=B(t);var i=this.min,n=this.max,s=t.min,e=t.max;return e.x>=i.x&&s.x<=n.x&&e.y>=i.y&&s.y<=n.y},overlaps:function(t){t=B(t);var i=this.min,n=this.max,s=t.min,e=t.max;return e.x>i.x&&s.x<n.x&&e.y>i.y&&s.y<n.y},isValid:function(){return!(!this.min||!this.max)},pad:function(t){var i=this.min,n=this.max,s=Math.abs(i.x-n.x)*t,e=Math.abs(i.y-n.y)*t;return B(O(i.x-s,i.y-e),O(n.x+s,n.y+e))},equals:function(t){return!!t&&(t=B(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight()))}},Z.prototype={extend:function(t){var i,n,s=this._southWest,e=this._northEast;if(t instanceof R)i=t,n=t;else{if(!(t instanceof Z))return t?this.extend(N(t)||D(t)):this;if(n=t._northEast,!(i=t._southWest)||!n)return this}return s||e?(s.lat=Math.min(i.lat,s.lat),s.lng=Math.min(i.lng,s.lng),e.lat=Math.max(n.lat,e.lat),e.lng=Math.max(n.lng,e.lng)):(this._southWest=new R(i.lat,i.lng),this._northEast=new R(n.lat,n.lng)),this},pad:function(t){var i=this._southWest,n=this._northEast,s=Math.abs(i.lat-n.lat)*t,e=Math.abs(i.lng-n.lng)*t;return new Z(new R(i.lat-s,i.lng-e),new R(n.lat+s,n.lng+e))},getCenter:function(){return new R((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new R(this.getNorth(),this.getWest())},getSouthEast:function(){return new R(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof R||"lat"in t?N(t):D(t);var i,n,s=this._southWest,e=this._northEast;return t instanceof Z?(i=t.getSouthWest(),n=t.getNorthEast()):i=n=t,i.lat>=s.lat&&n.lat<=e.lat&&i.lng>=s.lng&&n.lng<=e.lng},intersects:function(t){t=D(t);var i=this._southWest,n=this._northEast,s=t.getSouthWest(),e=t.getNorthEast();return e.lat>=i.lat&&s.lat<=n.lat&&e.lng>=i.lng&&s.lng<=n.lng},overlaps:function(t){t=D(t);var i=this._southWest,n=this._northEast,s=t.getSouthWest(),e=t.getNorthEast();return e.lat>i.lat&&s.lat<n.lat&&e.lng>i.lng&&s.lng<n.lng},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,i){return!!t&&(t=D(t),this._southWest.equals(t.getSouthWest(),i)&&this._northEast.equals(t.getNorthEast(),i))},isValid:function(){return!(!this._southWest||!this._northEast)}},R.prototype={equals:function(t,i){return!!t&&(t=N(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===i?1e-9:i))},toString:function(t){return"LatLng("+u(this.lat,t)+", "+u(this.lng,t)+")"},distanceTo:function(t){return H.distance(this,N(t))},wrap:function(){return H.wrapLatLng(this)},toBounds:function(t){var i=180*t/40075017,n=i/Math.cos(Math.PI/180*this.lat);return D([this.lat-i,this.lng-n],[this.lat+i,this.lng+n])},clone:function(){return new R(this.lat,this.lng,this.alt)}};var j,F={latLngToPoint:function(t,i){var n=this.projection.project(t),s=this.scale(i);return this.transformation._transform(n,s)},pointToLatLng:function(t,i){var n=this.scale(i),s=this.transformation.untransform(t,n);return this.projection.unproject(s)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var i=this.projection.bounds,n=this.scale(t);return new I(this.transformation.transform(i.min,n),this.transformation.transform(i.max,n))},infinite:!1,wrapLatLng:function(t){var i=this.wrapLng?r(t.lng,this.wrapLng,!0):t.lng;return new R(this.wrapLat?r(t.lat,this.wrapLat,!0):t.lat,i,t.alt)},wrapLatLngBounds:function(t){var i=t.getCenter(),n=this.wrapLatLng(i),s=i.lat-n.lat,e=i.lng-n.lng;if(0===s&&0===e)return t;var h=t.getSouthWest(),o=t.getNorthEast();return new Z(new R(h.lat-s,h.lng-e),new R(o.lat-s,o.lng-e))}},H=i({},F,{wrapLng:[-180,180],R:6371e3,distance:function(t,i){var n=Math.PI/180,s=t.lat*n,e=i.lat*n,h=Math.sin((i.lat-t.lat)*n/2),o=Math.sin((i.lng-t.lng)*n/2),r=h*h+Math.cos(s)*Math.cos(e)*o*o,a=2*Math.atan2(Math.sqrt(r),Math.sqrt(1-r));return this.R*a}}),U=6378137,W={R:U,MAX_LATITUDE:85.0511287798,project:function(t){var i=Math.PI/180,n=this.MAX_LATITUDE,s=Math.max(Math.min(n,t.lat),-n),e=Math.sin(s*i);return new A(this.R*t.lng*i,this.R*Math.log((1+e)/(1-e))/2)},unproject:function(t){var i=180/Math.PI;return new R((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*i,t.x*i/this.R)},bounds:(j=U*Math.PI,new I([-j,-j],[j,j]))};function G(t,i,n,s){if(p(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=i,this._c=n,this._d=s}function V(t,i,n,s){return new G(t,i,n,s)}G.prototype={transform:function(t,i){return this._transform(t.clone(),i)},_transform:function(t,i){return t.x=(i=i||1)*(this._a*t.x+this._b),t.y=i*(this._c*t.y+this._d),t},untransform:function(t,i){return new A((t.x/(i=i||1)-this._b)/this._a,(t.y/i-this._d)/this._c)}};var q=i({},H,{code:"EPSG:3857",projection:W,transformation:function(){var t=.5/(Math.PI*W.R);return V(t,.5,-t,.5)}()}),J=i({},q,{code:"EPSG:900913"});function K(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function X(t,i){var n,s,e,h,o,r,a="";for(n=0,e=t.length;n<e;n++){for(s=0,h=(o=t[n]).length;s<h;s++)a+=(s?"L":"M")+(r=o[s]).x+" "+r.y;a+=i?It.svg?"z":"x":""}return a||"M0 0"}var $,Q=document.documentElement.style,Y="ActiveXObject"in window,tt=Y&&!document.addEventListener,it="msLaunchUri"in navigator&&!("documentMode"in document),nt=Ot("webkit"),st=Ot("android"),et=Ot("android 2")||Ot("android 3"),ht=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),ot=st&&Ot("Google")&&ht<537&&!("AudioNode"in window),rt=!!window.opera,at=!it&&Ot("chrome"),ut=Ot("gecko")&&!nt&&!rt&&!Y,ct=!at&&Ot("safari"),ft=Ot("phantom"),lt="OTransition"in Q,dt=0===navigator.platform.indexOf("Win"),vt=Y&&"transition"in Q,mt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!et,pt="MozPerspective"in Q,gt=!window.L_DISABLE_3D&&(vt||mt||pt)&&!lt&&!ft,wt="undefined"!=typeof orientation||Ot("mobile"),_t=wt&&nt,yt=wt&&mt,Mt=!window.PointerEvent&&window.MSPointerEvent,bt=!(!window.PointerEvent&&!Mt),Pt="ontouchstart"in window||!!window.TouchEvent,kt=!window.L_NO_TOUCH&&(Pt||bt),Tt=wt&&rt,Lt=wt&&ut,xt=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,zt=function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",a,i),window.removeEventListener("testPassiveEventSupport",a,i)}catch(t){}return t}(),St=!!document.createElement("canvas").getContext,Et=!(!document.createElementNS||!K("svg").createSVGRect),At=!!Et&&(($=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===($.firstChild&&$.firstChild.namespaceURI)),Ct=!Et&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var i=t.firstChild;return i.style.behavior="url(#default#VML)",i&&"object"==typeof i.adj}catch(t){return!1}}();function Ot(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var It={ie:Y,ielt9:tt,edge:it,webkit:nt,android:st,android23:et,androidStock:ot,opera:rt,chrome:at,gecko:ut,safari:ct,phantom:ft,opera12:lt,win:dt,ie3d:vt,webkit3d:mt,gecko3d:pt,any3d:gt,mobile:wt,mobileWebkit:_t,mobileWebkit3d:yt,msPointer:Mt,pointer:bt,touch:kt,touchNative:Pt,mobileOpera:Tt,mobileGecko:Lt,retina:xt,passiveEvents:zt,canvas:St,svg:Et,vml:Ct,inlineSvg:At,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},Bt=It.msPointer?"MSPointerDown":"pointerdown",Zt=It.msPointer?"MSPointerMove":"pointermove",Dt=It.msPointer?"MSPointerUp":"pointerup",Rt=It.msPointer?"MSPointerCancel":"pointercancel",Nt={touchstart:Bt,touchmove:Zt,touchend:Dt,touchcancel:Rt},jt={touchstart:function(t,i){i.MSPOINTER_TYPE_TOUCH&&i.pointerType===i.MSPOINTER_TYPE_TOUCH&&Di(i),qt(t,i)},touchmove:qt,touchend:qt,touchcancel:qt},Ft={},Ht=!1;function Ut(t,i,n){return"touchstart"===i&&(Ht||(document.addEventListener(Bt,Wt,!0),document.addEventListener(Zt,Gt,!0),document.addEventListener(Dt,Vt,!0),document.addEventListener(Rt,Vt,!0),Ht=!0)),jt[i]?(n=jt[i].bind(this,n),t.addEventListener(Nt[i],n,!1),n):(console.warn("wrong event specified:",i),a)}function Wt(t){Ft[t.pointerId]=t}function Gt(t){Ft[t.pointerId]&&(Ft[t.pointerId]=t)}function Vt(t){delete Ft[t.pointerId]}function qt(t,i){if(i.pointerType!==(i.MSPOINTER_TYPE_MOUSE||"mouse")){for(var n in i.touches=[],Ft)i.touches.push(Ft[n]);i.changedTouches=[i],t(i)}}var Jt,Kt,Xt,$t,Qt,Yt=mi(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ti=mi(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ii="webkitTransition"===ti||"OTransition"===ti?ti+"End":"transitionend";function ni(t){return"string"==typeof t?document.getElementById(t):t}function si(t,i){var n=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!n||"auto"===n)&&document.defaultView){var s=document.defaultView.getComputedStyle(t,null);n=s?s[i]:null}return"auto"===n?null:n}function ei(t,i,n){var s=document.createElement(t);return s.className=i||"",n&&n.appendChild(s),s}function hi(t){var i=t.parentNode;i&&i.removeChild(t)}function oi(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ri(t){var i=t.parentNode;i&&i.lastChild!==t&&i.appendChild(t)}function ai(t){var i=t.parentNode;i&&i.firstChild!==t&&i.insertBefore(t,i.firstChild)}function ui(t,i){if(void 0!==t.classList)return t.classList.contains(i);var n=di(t);return n.length>0&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(n)}function ci(t,i){if(void 0!==t.classList)for(var n=f(i),s=0,e=n.length;s<e;s++)t.classList.add(n[s]);else if(!ui(t,i)){var h=di(t);li(t,(h?h+" ":"")+i)}}function fi(t,i){void 0!==t.classList?t.classList.remove(i):li(t,c((" "+di(t)+" ").replace(" "+i+" "," ")))}function li(t,i){void 0===t.className.baseVal?t.className=i:t.className.baseVal=i}function di(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function vi(t,i){"opacity"in t.style?t.style.opacity=i:"filter"in t.style&&function(t,i){var n=!1,s="DXImageTransform.Microsoft.Alpha";try{n=t.filters.item(s)}catch(t){if(1===i)return}i=Math.round(100*i),n?(n.Enabled=100!==i,n.Opacity=i):t.style.filter+=" progid:"+s+"(opacity="+i+")"}(t,i)}function mi(t){for(var i=document.documentElement.style,n=0;n<t.length;n++)if(t[n]in i)return t[n];return!1}function pi(t,i,n){var s=i||new A(0,0);t.style[Yt]=(It.ie3d?"translate("+s.x+"px,"+s.y+"px)":"translate3d("+s.x+"px,"+s.y+"px,0)")+(n?" scale("+n+")":"")}function gi(t,i){t._leaflet_pos=i,It.any3d?pi(t,i):(t.style.left=i.x+"px",t.style.top=i.y+"px")}function wi(t){return t._leaflet_pos||new A(0,0)}if("onselectstart"in document)Jt=function(){xi(window,"selectstart",Di)},Kt=function(){Si(window,"selectstart",Di)};else{var _i=mi(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Jt=function(){if(_i){var t=document.documentElement.style;Xt=t[_i],t[_i]="none"}},Kt=function(){_i&&(document.documentElement.style[_i]=Xt,Xt=void 0)}}function yi(){xi(window,"dragstart",Di)}function Mi(){Si(window,"dragstart",Di)}function bi(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Pi(),$t=t,Qt=t.style.outlineStyle,t.style.outlineStyle="none",xi(window,"keydown",Pi))}function Pi(){$t&&($t.style.outlineStyle=Qt,$t=void 0,Qt=void 0,Si(window,"keydown",Pi))}function ki(t){do{t=t.parentNode}while(!(t.offsetWidth&&t.offsetHeight||t===document.body));return t}function Ti(t){var i=t.getBoundingClientRect();return{x:i.width/t.offsetWidth||1,y:i.height/t.offsetHeight||1,boundingClientRect:i}}var Li={__proto__:null,TRANSFORM:Yt,TRANSITION:ti,TRANSITION_END:ii,get:ni,getStyle:si,create:ei,remove:hi,empty:oi,toFront:ri,toBack:ai,hasClass:ui,addClass:ci,removeClass:fi,setClass:li,getClass:di,setOpacity:vi,testProp:mi,setTransform:pi,setPosition:gi,getPosition:wi,get disableTextSelection(){return Jt},get enableTextSelection(){return Kt},disableImageDrag:yi,enableImageDrag:Mi,preventOutline:bi,restoreOutline:Pi,getSizedParentNode:ki,getScale:Ti};function xi(t,i,n,s){if(i&&"object"==typeof i)for(var e in i)Ci(t,e,i[e],n);else for(var h=0,o=(i=f(i)).length;h<o;h++)Ci(t,i[h],n,s);return this}var zi="_leaflet_events";function Si(t,i,n,s){if(1===arguments.length)Ei(t),delete t[zi];else if(i&&"object"==typeof i)for(var e in i)Oi(t,e,i[e],n);else if(i=f(i),2===arguments.length)Ei(t,(function(t){return-1!==g(i,t)}));else for(var h=0,o=i.length;h<o;h++)Oi(t,i[h],n,s);return this}function Ei(t,i){for(var n in t[zi]){var s=n.split(/\d/)[0];i&&!i(s)||Oi(t,s,null,null,n)}}var Ai={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Ci(t,i,n,s){var e=i+h(n)+(s?"_"+h(s):"");if(t[zi]&&t[zi][e])return this;var o=function(i){return n.call(s||t,i||window.event)},r=o;!It.touchNative&&It.pointer&&0===i.indexOf("touch")?o=Ut(t,i,o):It.touch&&"dblclick"===i?o=function(t,i){t.addEventListener("dblclick",i);var n,s=0;function e(t){if(1===t.detail){if("mouse"!==t.pointerType&&(!t.sourceCapabilities||t.sourceCapabilities.firesTouchEvents)){var e=Ni(t);if(!e.some((function(t){return t instanceof HTMLLabelElement&&t.attributes.for}))||e.some((function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement}))){var h=Date.now();h-s<=200?2==++n&&i(function(t){var i,n,s={};for(n in t)s[n]=(i=t[n])&&i.bind?i.bind(t):i;return t=s,s.type="dblclick",s.detail=2,s.isTrusted=!1,s._simulated=!0,s}(t)):n=1,s=h}}}else n=t.detail}return t.addEventListener("click",e),{dblclick:i,simDblclick:e}}(t,o):"addEventListener"in t?"touchstart"===i||"touchmove"===i||"wheel"===i||"mousewheel"===i?t.addEventListener(Ai[i]||i,o,!!It.passiveEvents&&{passive:!1}):"mouseenter"===i||"mouseleave"===i?t.addEventListener(Ai[i],o=function(i){i=i||window.event,Ui(t,i)&&r(i)},!1):t.addEventListener(i,r,!1):t.attachEvent("on"+i,o),t[zi]=t[zi]||{},t[zi][e]=o}function Oi(t,i,n,s,e){e=e||i+h(n)+(s?"_"+h(s):"");var o=t[zi]&&t[zi][e];if(!o)return this;!It.touchNative&&It.pointer&&0===i.indexOf("touch")?function(t,i,n){Nt[i]?t.removeEventListener(Nt[i],n,!1):console.warn("wrong event specified:",i)}(t,i,o):It.touch&&"dblclick"===i?function(t,i){t.removeEventListener("dblclick",i.dblclick),t.removeEventListener("click",i.simDblclick)}(t,o):"removeEventListener"in t?t.removeEventListener(Ai[i]||i,o,!1):t.detachEvent("on"+i,o),t[zi][e]=null}function Ii(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function Bi(t){return Ci(t,"wheel",Ii),this}function Zi(t){return xi(t,"mousedown touchstart dblclick contextmenu",Ii),t._leaflet_disable_click=!0,this}function Di(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ri(t){return Di(t),Ii(t),this}function Ni(t){if(t.composedPath)return t.composedPath();for(var i=[],n=t.target;n;)i.push(n),n=n.parentNode;return i}function ji(t,i){if(!i)return new A(t.clientX,t.clientY);var n=Ti(i),s=n.boundingClientRect;return new A((t.clientX-s.left)/n.x-i.clientLeft,(t.clientY-s.top)/n.y-i.clientTop)}var Fi=It.linux&&It.chrome?window.devicePixelRatio:It.mac?3*window.devicePixelRatio:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Hi(t){return It.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Fi:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function Ui(t,i){var n=i.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(t){return!1}return n!==t}var Wi={__proto__:null,on:xi,off:Si,stopPropagation:Ii,disableScrollPropagation:Bi,disableClickPropagation:Zi,preventDefault:Di,stop:Ri,getPropagationPath:Ni,getMousePosition:ji,getWheelDelta:Hi,isExternalTarget:Ui,addListener:xi,removeListener:Si},Gi=E.extend({run:function(t,i,n,s){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(s||.5,.2),this._startPos=wi(t),this._offset=i.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=k(this._animate,this),this._step()},_step:function(t){var i=+new Date-this._startTime,n=1e3*this._duration;i<n?this._runFrame(this._easeOut(i/n),t):(this._runFrame(1),this._complete())},_runFrame:function(t,i){var n=this._startPos.add(this._offset.multiplyBy(t));i&&n._round(),gi(this._el,n),this.fire("step")},_complete:function(){T(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Vi=E.extend({options:{crs:q,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,i){i=l(this,i),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=s(this._onResize,this),this._initEvents(),i.maxBounds&&this.setMaxBounds(i.maxBounds),void 0!==i.zoom&&(this._zoom=this._limitZoom(i.zoom)),i.center&&void 0!==i.zoom&&this.setView(N(i.center),i.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ti&&It.any3d&&!It.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),xi(this._proxy,ii,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,n,s){return n=void 0===n?this._zoom:this._limitZoom(n),t=this._limitCenter(N(t),n,this.options.maxBounds),s=s||{},this._stop(),this._loaded&&!s.reset&&!0!==s&&(void 0!==s.animate&&(s.zoom=i({animate:s.animate},s.zoom),s.pan=i({animate:s.animate,duration:s.duration},s.pan)),this._zoom!==n?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,n,s.zoom):this._tryAnimatedPan(t,s.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,n,s.pan&&s.pan.noMoveStart),this)},setZoom:function(t,i){return this._loaded?this.setView(this.getCenter(),t,{zoom:i}):(this._zoom=t,this)},zoomIn:function(t,i){return this.setZoom(this._zoom+(t=t||(It.any3d?this.options.zoomDelta:1)),i)},zoomOut:function(t,i){return this.setZoom(this._zoom-(t=t||(It.any3d?this.options.zoomDelta:1)),i)},setZoomAround:function(t,i,n){var s=this.getZoomScale(i),e=this.getSize().divideBy(2),h=(t instanceof A?t:this.latLngToContainerPoint(t)).subtract(e).multiplyBy(1-1/s),o=this.containerPointToLatLng(e.add(h));return this.setView(o,i,{zoom:n})},_getBoundsCenterZoom:function(t,i){i=i||{},t=t.getBounds?t.getBounds():D(t);var n=O(i.paddingTopLeft||i.padding||[0,0]),s=O(i.paddingBottomRight||i.padding||[0,0]),e=this.getBoundsZoom(t,!1,n.add(s));if((e="number"==typeof i.maxZoom?Math.min(i.maxZoom,e):e)===1/0)return{center:t.getCenter(),zoom:e};var h=s.subtract(n).divideBy(2),o=this.project(t.getSouthWest(),e),r=this.project(t.getNorthEast(),e);return{center:this.unproject(o.add(r).divideBy(2).add(h),e),zoom:e}},fitBounds:function(t,i){if(!(t=D(t)).isValid())throw new Error("Bounds are not valid.");var n=this._getBoundsCenterZoom(t,i);return this.setView(n.center,n.zoom,i)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,i){return this.setView(t,this._zoom,{pan:i})},panBy:function(t,i){if(i=i||{},!(t=O(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==i.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Gi,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),i.noMoveStart||this.fire("movestart"),!1!==i.animate){ci(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,n,i.duration||.25,i.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,i,n){if(!1===(n=n||{}).animate||!It.any3d)return this.setView(t,i,n);this._stop();var s=this.project(this.getCenter()),e=this.project(t),h=this.getSize(),o=this._zoom;t=N(t),i=void 0===i?o:i;var r=Math.max(h.x,h.y),a=r*this.getZoomScale(o,i),u=e.distanceTo(s)||1,c=1.42,f=2.0164;function l(t){var i=(a*a-r*r+(t?-1:1)*f*f*u*u)/(2*(t?a:r)*f*u),n=Math.sqrt(i*i+1)-i;return n<1e-9?-18:Math.log(n)}function d(t){return(Math.exp(t)-Math.exp(-t))/2}function v(t){return(Math.exp(t)+Math.exp(-t))/2}var m=l(0);function p(t){return r*(v(m)*(d(i=m+c*t)/v(i))-d(m))/f;var i}var g=Date.now(),w=(l(1)-m)/c,_=n.duration?1e3*n.duration:1e3*w*.8;return this._moveStart(!0,n.noMoveStart),function n(){var h=(Date.now()-g)/_,a=function(t){return 1-Math.pow(1-t,1.5)}(h)*w;h<=1?(this._flyToFrame=k(n,this),this._move(this.unproject(s.add(e.subtract(s).multiplyBy(p(a)/u)),o),this.getScaleZoom(r/function(t){return r*(v(m)/v(m+c*t))}(a),o),{flyTo:!0})):this._move(t,i)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,i){var n=this._getBoundsCenterZoom(t,i);return this.flyTo(n.center,n.zoom,i)},setMaxBounds:function(t){return t=D(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var i=this.options.minZoom;return this.options.minZoom=t,this._loaded&&i!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var i=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&i!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,i){this._enforcingBounds=!0;var n=this.getCenter(),s=this._limitCenter(n,this._zoom,D(t));return n.equals(s)||this.panTo(s,i),this._enforcingBounds=!1,this},panInside:function(t,i){var n=O((i=i||{}).paddingTopLeft||i.padding||[0,0]),s=O(i.paddingBottomRight||i.padding||[0,0]),e=this.project(this.getCenter()),h=this.project(t),o=this.getPixelBounds(),r=B([o.min.add(n),o.max.subtract(s)]),a=r.getSize();if(!r.contains(h)){this._enforcingBounds=!0;var u=h.subtract(r.getCenter()),c=r.extend(h).getSize().subtract(a);e.x+=u.x<0?-c.x:c.x,e.y+=u.y<0?-c.y:c.y,this.panTo(this.unproject(e),i),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var e=this.getSize(),h=n.divideBy(2).round(),o=e.divideBy(2).round(),r=h.subtract(o);return r.x||r.y?(t.animate&&t.pan?this.panBy(r):(t.pan&&this._rawPanBy(r),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(s(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:e})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=s(this._handleGeolocationResponse,this),e=s(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,e,t):navigator.geolocation.getCurrentPosition(n,e,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var i=t.code,n=t.message||(1===i?"permission denied":2===i?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:i,message:"Geolocation error: "+n+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var i=new R(t.coords.latitude,t.coords.longitude),n=i.toBounds(2*t.coords.accuracy),s=this._locateOptions;if(s.setView){var e=this.getBoundsZoom(n);this.setView(i,s.maxZoom?Math.min(e,s.maxZoom):e)}var h={latlng:i,bounds:n,timestamp:t.timestamp};for(var o in t.coords)"number"==typeof t.coords[o]&&(h[o]=t.coords[o]);this.fire("locationfound",h)}},addHandler:function(t,i){if(!i)return this;var n=this[t]=new i(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),hi(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(T(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)hi(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,i){var n=ei("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),i||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new Z(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,n){t=D(t),n=O(n||[0,0]);var s=this.getZoom()||0,e=this.getMinZoom(),h=this.getMaxZoom(),o=t.getNorthWest(),r=t.getSouthEast(),a=this.getSize().subtract(n),u=B(this.project(r,s),this.project(o,s)).getSize(),c=It.any3d?this.options.zoomSnap:1,f=a.x/u.x,l=a.y/u.y,d=i?Math.max(f,l):Math.min(f,l);return s=this.getScaleZoom(d,s),c&&(s=Math.round(s/(c/100))*(c/100),s=i?Math.ceil(s/c)*c:Math.floor(s/c)*c),Math.max(e,Math.min(h,s))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new A(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,i){var n=this._getTopLeftPoint(t,i);return new I(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var n=this.options.crs;return i=void 0===i?this._zoom:i,n.scale(t)/n.scale(i)},getScaleZoom:function(t,i){var n=this.options.crs,s=n.zoom(t*n.scale(i=void 0===i?this._zoom:i));return isNaN(s)?1/0:s},project:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.latLngToPoint(N(t),i)},unproject:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.pointToLatLng(O(t),i)},layerPointToLatLng:function(t){var i=O(t).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(t){return this.project(N(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(N(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(D(t))},distance:function(t,i){return this.options.crs.distance(N(t),N(i))},containerPointToLayerPoint:function(t){return O(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return O(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var i=this.containerPointToLayerPoint(O(t));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(N(t)))},mouseEventToContainerPoint:function(t){return ji(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var i=this._container=ni(t);if(!i)throw new Error("Map container not found.");if(i._leaflet_id)throw new Error("Map container is already initialized.");xi(i,"scroll",this._onScroll,this),this._containerId=h(i)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&It.any3d,ci(t,"leaflet-container"+(It.touch?" leaflet-touch":"")+(It.retina?" leaflet-retina":"")+(It.ielt9?" leaflet-oldie":"")+(It.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=si(t,"position");"absolute"!==i&&"relative"!==i&&"fixed"!==i&&"sticky"!==i&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),gi(this._mapPane,new A(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ci(t.markerPane,"leaflet-zoom-hide"),ci(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,i,n){gi(this._mapPane,new A(0,0));var s=!this._loaded;this._loaded=!0,i=this._limitZoom(i),this.fire("viewprereset");var e=this._zoom!==i;this._moveStart(e,n)._move(t,i)._moveEnd(e),this.fire("viewreset"),s&&this.fire("load")},_moveStart:function(t,i){return t&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(t,i,n,s){void 0===i&&(i=this._zoom);var e=this._zoom!==i;return this._zoom=i,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),s?n&&n.pinch&&this.fire("zoom",n):((e||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return T(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){gi(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[h(this._container)]=this;var i=t?Si:xi;i(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&i(window,"resize",this._onResize,this),It.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){T(this._resizeRequest),this._resizeRequest=k((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,i){for(var n,s=[],e="mouseout"===i||"mouseover"===i,o=t.target||t.srcElement,r=!1;o;){if((n=this._targets[h(o)])&&("click"===i||"preclick"===i)&&this._draggableMoved(n)){r=!0;break}if(n&&n.listens(i,!0)){if(e&&!Ui(o,t))break;if(s.push(n),e)break}if(o===this._container)break;o=o.parentNode}return s.length||r||e||!this.listens(i,!0)||(s=[this]),s},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var i=t.target||t.srcElement;if(!(!this._loaded||i._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(i))){var n=t.type;"mousedown"===n&&bi(i),this._fireDOMEvent(t,n)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,s){if("click"===t.type){var e=i({},t);e.type="preclick",this._fireDOMEvent(e,e.type,s)}var h=this._findEventTargets(t,n);if(s){for(var o=[],r=0;r<s.length;r++)s[r].listens(n,!0)&&o.push(s[r]);h=o.concat(h)}if(h.length){"contextmenu"===n&&Di(t);var a=h[0],u={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var c=a.getLatLng&&(!a._radius||a._radius<=10);u.containerPoint=c?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t),u.layerPoint=this.containerPointToLayerPoint(u.containerPoint),u.latlng=c?a.getLatLng():this.layerPointToLatLng(u.layerPoint)}for(r=0;r<h.length;r++)if(h[r].fire(n,u,!0),u.originalEvent._stopped||!1===h[r].options.bubblingMouseEvents&&-1!==g(this._mouseEvents,n))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,i=this._handlers.length;t<i;t++)this._handlers[t].disable()},whenReady:function(t,i){return this._loaded?t.call(i||this,{target:this}):this.on("load",t,i),this},_getMapPanePos:function(){return wi(this._mapPane)||new A(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,i){return(t&&void 0!==i?this._getNewPixelOrigin(t,i):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,i){var n=this.getSize()._divideBy(2);return this.project(t,i)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,i,n){var s=this._getNewPixelOrigin(n,i);return this.project(t,i)._subtract(s)},_latLngBoundsToNewLayerBounds:function(t,i,n){var s=this._getNewPixelOrigin(n,i);return B([this.project(t.getSouthWest(),i)._subtract(s),this.project(t.getNorthWest(),i)._subtract(s),this.project(t.getSouthEast(),i)._subtract(s),this.project(t.getNorthEast(),i)._subtract(s)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,i,n){if(!n)return t;var s=this.project(t,i),e=this.getSize().divideBy(2),h=new I(s.subtract(e),s.add(e)),o=this._getBoundsOffset(h,n,i);return Math.abs(o.x)<=1&&Math.abs(o.y)<=1?t:this.unproject(s.add(o),i)},_limitOffset:function(t,i){if(!i)return t;var n=this.getPixelBounds(),s=new I(n.min.add(t),n.max.add(t));return t.add(this._getBoundsOffset(s,i))},_getBoundsOffset:function(t,i,n){var s=B(this.project(i.getNorthEast(),n),this.project(i.getSouthWest(),n)),e=s.min.subtract(t.min),h=s.max.subtract(t.max);return new A(this._rebound(e.x,-h.x),this._rebound(e.y,-h.y))},_rebound:function(t,i){return t+i>0?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),n=this.getMaxZoom(),s=It.any3d?this.options.zoomSnap:1;return s&&(t=Math.round(t/s)*s),Math.max(i,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){fi(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,i){var n=this._getCenterOffset(t)._trunc();return!(!0!==(i&&i.animate)&&!this.getSize().contains(n)||(this.panBy(n,i),0))},_createAnimProxy:function(){var t=this._proxy=ei("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var i=Yt,n=this._proxy.style[i];pi(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){hi(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),i=this.getZoom();pi(this._proxy,this.project(t,i),this.getZoomScale(i,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,i,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var s=this.getZoomScale(i),e=this._getCenterOffset(t)._divideBy(1-1/s);return!(!0!==n.animate&&!this.getSize().contains(e)||(k((function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(t,i,!0)}),this),0))},_animateZoom:function(t,i,n,e){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=i,ci(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:i,noUpdate:e}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(s(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&fi(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});var qi=z.extend({options:{position:"topright"},initialize:function(t){l(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;return i&&i.removeControl(this),this.options.position=t,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var i=this._container=this.onAdd(t),n=this.getPosition(),s=t._controlCorners[n];return ci(i,"leaflet-control"),-1!==n.indexOf("bottom")?s.insertBefore(i,s.firstChild):s.appendChild(i),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(hi(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),Ji=function(t){return new qi(t)};Vi.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},i="leaflet-",n=this._controlContainer=ei("div",i+"control-container",this._container);function s(s,e){t[s+e]=ei("div",i+s+" "+i+e,n)}s("top","left"),s("top","right"),s("bottom","left"),s("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)hi(this._controlCorners[t]);hi(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Ki=qi.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,i,n,s){return n<s?-1:s<n?1:0}},initialize:function(t,i,n){for(var s in l(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,t)this._addLayer(t[s],s);for(s in i)this._addLayer(i[s],s,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var i=0;i<this._layers.length;i++)this._layers[i].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return qi.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,i){return this._addLayer(t,i),this._map?this._update():this},addOverlay:function(t,i){return this._addLayer(t,i,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var i=this._getLayer(h(t));return i&&this._layers.splice(this._layers.indexOf(i),1),this._map?this._update():this},expand:function(){ci(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(ci(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):fi(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return fi(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",i=this._container=ei("div",t),n=this.options.collapsed;i.setAttribute("aria-haspopup",!0),Zi(i),Bi(i);var s=this._section=ei("section",t+"-list");n&&(this._map.on("click",this.collapse,this),xi(i,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var e=this._layersLink=ei("a",t+"-toggle",i);e.href="#",e.title="Layers",e.setAttribute("role","button"),xi(e,{keydown:function(t){13===t.keyCode&&this._expandSafely()},click:function(t){Di(t),this._expandSafely()}},this),n||this.expand(),this._baseLayersList=ei("div",t+"-base",s),this._separator=ei("div",t+"-separator",s),this._overlaysList=ei("div",t+"-overlays",s),i.appendChild(s)},_getLayer:function(t){for(var i=0;i<this._layers.length;i++)if(this._layers[i]&&h(this._layers[i].layer)===t)return this._layers[i]},_addLayer:function(t,i,n){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:i,overlay:n}),this.options.sortLayers&&this._layers.sort(s((function(t,i){return this.options.sortFunction(t.layer,i.layer,t.name,i.name)}),this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;oi(this._baseLayersList),oi(this._overlaysList),this._layerControlInputs=[];var t,i,n,s,e=0;for(n=0;n<this._layers.length;n++)this._addItem(s=this._layers[n]),i=i||s.overlay,t=t||!s.overlay,e+=s.overlay?0:1;return this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&e>1)?"":"none"),this._separator.style.display=i&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var i=this._getLayer(h(t.target)),n=i.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,i)},_createRadioElement:function(t,i){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(i?' checked="checked"':"")+"/>",s=document.createElement("div");return s.innerHTML=n,s.firstChild},_addItem:function(t){var i,n=document.createElement("label"),s=this._map.hasLayer(t.layer);t.overlay?((i=document.createElement("input")).type="checkbox",i.className="leaflet-control-layers-selector",i.defaultChecked=s):i=this._createRadioElement("leaflet-base-layers_"+h(this),s),this._layerControlInputs.push(i),i.layerId=h(t.layer),xi(i,"click",this._onInputClick,this);var e=document.createElement("span");e.innerHTML=" "+t.name;var o=document.createElement("span");return n.appendChild(o),o.appendChild(i),o.appendChild(e),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){if(!this._preventClick){var t,i,n=this._layerControlInputs,s=[],e=[];this._handlingClick=!0;for(var h=n.length-1;h>=0;h--)i=this._getLayer((t=n[h]).layerId).layer,t.checked?s.push(i):t.checked||e.push(i);for(h=0;h<e.length;h++)this._map.hasLayer(e[h])&&this._map.removeLayer(e[h]);for(h=0;h<s.length;h++)this._map.hasLayer(s[h])||this._map.addLayer(s[h]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t,i,n=this._layerControlInputs,s=this._map.getZoom(),e=n.length-1;e>=0;e--)i=this._getLayer((t=n[e]).layerId).layer,t.disabled=void 0!==i.options.minZoom&&s<i.options.minZoom||void 0!==i.options.maxZoom&&s>i.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,xi(t,"click",Di),this.expand();var i=this;setTimeout((function(){Si(t,"click",Di),i._preventClick=!1}))}}),Xi=qi.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var i="leaflet-control-zoom",n=ei("div",i+" leaflet-bar"),s=this.options;return this._zoomInButton=this._createButton(s.zoomInText,s.zoomInTitle,i+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(s.zoomOutText,s.zoomOutTitle,i+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,i,n,s,e){var h=ei("a",n,s);return h.innerHTML=t,h.href="#",h.title=i,h.setAttribute("role","button"),h.setAttribute("aria-label",i),Zi(h),xi(h,"click",Ri),xi(h,"click",e,this),xi(h,"click",this._refocusOnMap,this),h},_updateDisabled:function(){var t=this._map,i="leaflet-disabled";fi(this._zoomInButton,i),fi(this._zoomOutButton,i),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(ci(this._zoomOutButton,i),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(ci(this._zoomInButton,i),this._zoomInButton.setAttribute("aria-disabled","true"))}});Vi.mergeOptions({zoomControl:!0}),Vi.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Xi,this.addControl(this.zoomControl))}));var $i=qi.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var i="leaflet-control-scale",n=ei("div",i),s=this.options;return this._addScales(s,i+"-line",n),t.on(s.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,i,n){t.metric&&(this._mScale=ei("div",i,n)),t.imperial&&(this._iScale=ei("div",i,n))},_update:function(){var t=this._map,i=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,i]),t.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var i=this._getRoundNum(t);this._updateScale(this._mScale,i<1e3?i+" m":i/1e3+" km",i/t)},_updateImperial:function(t){var i,n,s,e=3.2808399*t;e>5280?(n=this._getRoundNum(i=e/5280),this._updateScale(this._iScale,n+" mi",n/i)):(s=this._getRoundNum(e),this._updateScale(this._iScale,s+" ft",s/e))},_updateScale:function(t,i,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+"").length-1),n=t/i;return i*(n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),Qi=qi.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(It.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(t){l(this,t),this._attributions={}},onAdd:function(t){for(var i in t.attributionControl=this,this._container=ei("div","leaflet-control-attribution"),Zi(this._container),t._layers)t._layers[i].getAttribution&&this.addAttribution(t._layers[i].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",(function(){this.removeAttribution(t.layer.getAttribution())}),this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var i in this._attributions)this._attributions[i]&&t.push(i);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(' <span aria-hidden="true">|</span> ')}}});Vi.mergeOptions({attributionControl:!0}),Vi.addInitHook((function(){this.options.attributionControl&&(new Qi).addTo(this)}));qi.Layers=Ki,qi.Zoom=Xi,qi.Scale=$i,qi.Attribution=Qi,Ji.layers=function(t,i,n){return new Ki(t,i,n)},Ji.zoom=function(t){return new Xi(t)},Ji.scale=function(t){return new $i(t)},Ji.attribution=function(t){return new Qi(t)};var Yi=z.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Yi.addTo=function(t,i){return t.addHandler(i,this),this};var tn={Events:S},nn=It.touch?"touchstart mousedown":"mousedown",sn=E.extend({options:{clickTolerance:3},initialize:function(t,i,n,s){l(this,s),this._element=t,this._dragStartTarget=i||t,this._preventOutline=n},enable:function(){this._enabled||(xi(this._dragStartTarget,nn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(sn._dragging===this&&this.finishDrag(!0),Si(this._dragStartTarget,nn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!ui(this._element,"leaflet-zoom-anim")))if(t.touches&&1!==t.touches.length)sn._dragging===this&&this.finishDrag();else if(!(sn._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(sn._dragging=this,this._preventOutline&&bi(this._element),yi(),Jt(),this._moving))){this.fire("down");var i=t.touches?t.touches[0]:t,n=ki(this._element);this._startPoint=new A(i.clientX,i.clientY),this._startPos=wi(this._element),this._parentScale=Ti(n);var s="mousedown"===t.type;xi(document,s?"mousemove":"touchmove",this._onMove,this),xi(document,s?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(t){if(this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var i=t.touches&&1===t.touches.length?t.touches[0]:t,n=new A(i.clientX,i.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,Di(t),this._moved||(this.fire("dragstart"),this._moved=!0,ci(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),ci(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,this._lastEvent=t,this._updatePosition()))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),gi(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){fi(document.body,"leaflet-dragging"),this._lastTarget&&(fi(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Si(document,"mousemove touchmove",this._onMove,this),Si(document,"mouseup touchend touchcancel",this._onUp,this),Mi(),Kt();var i=this._moved&&this._moving;this._moving=!1,sn._dragging=!1,i&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function en(t,i,n){var s,e,h,o,r,a,u,c,f,l=[1,4,2,8];for(e=0,u=t.length;e<u;e++)t[e]._code=vn(t[e],i);for(o=0;o<4;o++){for(c=l[o],s=[],e=0,h=(u=t.length)-1;e<u;h=e++)a=t[h],(r=t[e])._code&c?a._code&c||((f=dn(a,r,c,i,n))._code=vn(f,i),s.push(f)):(a._code&c&&((f=dn(a,r,c,i,n))._code=vn(f,i),s.push(f)),s.push(r));t=s}return t}function hn(t,i){var n,s,e,h,o,r,a,u;if(!t||0===t.length)throw new Error("latlngs not passed");gn(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var c=N([0,0]),f=D(t);f.getNorthWest().distanceTo(f.getSouthWest())*f.getNorthEast().distanceTo(f.getNorthWest())<1700&&(c=on(t));var l=t.length,d=[];for(n=0;n<l;n++){var v=N(t[n]);d.push(i.project(N([v.lat-c.lat,v.lng-c.lng])))}for(r=a=u=0,n=0,s=l-1;n<l;s=n++)a+=((e=d[n]).x+(h=d[s]).x)*(o=e.y*h.x-h.y*e.x),u+=(e.y+h.y)*o,r+=3*o;var m=i.unproject(O(0===r?d[0]:[a/r,u/r]));return N([m.lat+c.lat,m.lng+c.lng])}function on(t){for(var i=0,n=0,s=0,e=0;e<t.length;e++){var h=N(t[e]);i+=h.lat,n+=h.lng,s++}return N([i/s,n/s])}var rn,an={__proto__:null,clipPolygon:en,polygonCenter:hn,centroid:on};function un(t,i){if(!i||!t.length)return t.slice();var n=i*i;return function(t,i){var n=t.length,s=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);s[0]=s[n-1]=1,fn(t,s,i,0,n-1);var e,h=[];for(e=0;e<n;e++)s[e]&&h.push(t[e]);return h}(t=function(t,i){for(var n=[t[0]],s=1,e=0,h=t.length;s<h;s++)mn(t[s],t[e])>i&&(n.push(t[s]),e=s);return e<h-1&&n.push(t[h-1]),n}(t,n),n)}function cn(t,i,n){return Math.sqrt(pn(t,i,n,!0))}function fn(t,i,n,s,e){var h,o,r,a=0;for(o=s+1;o<=e-1;o++)(r=pn(t[o],t[s],t[e],!0))>a&&(h=o,a=r);a>n&&(i[h]=1,fn(t,i,n,s,h),fn(t,i,n,h,e))}function ln(t,i,n,s,e){var h,o,r,a=s?rn:vn(t,n),u=vn(i,n);for(rn=u;;){if(!(a|u))return[t,i];if(a&u)return!1;r=vn(o=dn(t,i,h=a||u,n,e),n),h===a?(t=o,a=r):(i=o,u=r)}}function dn(t,i,n,s,e){var h,o,r=i.x-t.x,a=i.y-t.y,u=s.min,c=s.max;return 8&n?(h=t.x+r*(c.y-t.y)/a,o=c.y):4&n?(h=t.x+r*(u.y-t.y)/a,o=u.y):2&n?(h=c.x,o=t.y+a*(c.x-t.x)/r):1&n&&(h=u.x,o=t.y+a*(u.x-t.x)/r),new A(h,o,e)}function vn(t,i){var n=0;return t.x<i.min.x?n|=1:t.x>i.max.x&&(n|=2),t.y<i.min.y?n|=4:t.y>i.max.y&&(n|=8),n}function mn(t,i){var n=i.x-t.x,s=i.y-t.y;return n*n+s*s}function pn(t,i,n,s){var e,h=i.x,o=i.y,r=n.x-h,a=n.y-o,u=r*r+a*a;return u>0&&((e=((t.x-h)*r+(t.y-o)*a)/u)>1?(h=n.x,o=n.y):e>0&&(h+=r*e,o+=a*e)),r=t.x-h,a=t.y-o,s?r*r+a*a:new A(h,o)}function gn(t){return!p(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function wn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),gn(t)}function _n(t,i){var n,s,e,h,o,r,a,u;if(!t||0===t.length)throw new Error("latlngs not passed");gn(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var c=N([0,0]),f=D(t);f.getNorthWest().distanceTo(f.getSouthWest())*f.getNorthEast().distanceTo(f.getNorthWest())<1700&&(c=on(t));var l=t.length,d=[];for(n=0;n<l;n++){var v=N(t[n]);d.push(i.project(N([v.lat-c.lat,v.lng-c.lng])))}for(n=0,s=0;n<l-1;n++)s+=d[n].distanceTo(d[n+1])/2;if(0===s)u=d[0];else for(n=0,h=0;n<l-1;n++)if((h+=e=(o=d[n]).distanceTo(r=d[n+1]))>s){u=[r.x-(a=(h-s)/e)*(r.x-o.x),r.y-a*(r.y-o.y)];break}var m=i.unproject(O(u));return N([m.lat+c.lat,m.lng+c.lng])}var yn={__proto__:null,simplify:un,pointToSegmentDistance:cn,closestPointOnSegment:function(t,i,n){return pn(t,i,n)},clipSegment:ln,_getEdgeIntersection:dn,_getBitCode:vn,_sqClosestPointOnSegment:pn,isFlat:gn,_flat:wn,polylineCenter:_n},Mn={project:function(t){return new A(t.lng,t.lat)},unproject:function(t){return new R(t.y,t.x)},bounds:new I([-180,-90],[180,90])},bn={R:6378137,R_MINOR:6356752.314245179,bounds:new I([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var i=Math.PI/180,n=this.R,s=t.lat*i,e=this.R_MINOR/n,h=Math.sqrt(1-e*e),o=h*Math.sin(s),r=Math.tan(Math.PI/4-s/2)/Math.pow((1-o)/(1+o),h/2);return s=-n*Math.log(Math.max(r,1e-10)),new A(t.lng*i*n,s)},unproject:function(t){for(var i,n=180/Math.PI,s=this.R,e=this.R_MINOR/s,h=Math.sqrt(1-e*e),o=Math.exp(-t.y/s),r=Math.PI/2-2*Math.atan(o),a=0,u=.1;a<15&&Math.abs(u)>1e-7;a++)i=h*Math.sin(r),i=Math.pow((1-i)/(1+i),h/2),r+=u=Math.PI/2-2*Math.atan(o*i)-r;return new R(r*n,t.x*n/s)}},Pn={__proto__:null,LonLat:Mn,Mercator:bn,SphericalMercator:W},kn=i({},H,{code:"EPSG:3395",projection:bn,transformation:function(){var t=.5/(Math.PI*bn.R);return V(t,.5,-t,.5)}()}),Tn=i({},H,{code:"EPSG:4326",projection:Mn,transformation:V(1/180,1,-1/180,.5)}),Ln=i({},F,{projection:Mn,transformation:V(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var n=i.lng-t.lng,s=i.lat-t.lat;return Math.sqrt(n*n+s*s)},infinite:!0});F.Earth=H,F.EPSG3395=kn,F.EPSG3857=q,F.EPSG900913=J,F.EPSG4326=Tn,F.Simple=Ln;var xn=E.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[h(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[h(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i=t.target;if(i.hasLayer(this)){if(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents){var n=this.getEvents();i.on(n,this),this.once("remove",(function(){i.off(n,this)}),this)}this.onAdd(i),this.fire("add"),i.fire("layeradd",{layer:this})}}});Vi.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var i=h(t);return this._layers[i]||(this._layers[i]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var i=h(t);return this._layers[i]?(this._loaded&&t.onRemove(this),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return h(t)in this._layers},eachLayer:function(t,i){for(var n in this._layers)t.call(i,this._layers[n]);return this},_addLayers:function(t){for(var i=0,n=(t=t?p(t)?t:[t]:[]).length;i<n;i++)this.addLayer(t[i])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[h(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var i=h(t);this._zoomBoundLayers[i]&&(delete this._zoomBoundLayers[i],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,i=-1/0,n=this._getZoomSpan();for(var s in this._zoomBoundLayers){var e=this._zoomBoundLayers[s].options;t=void 0===e.minZoom?t:Math.min(t,e.minZoom),i=void 0===e.maxZoom?i:Math.max(i,e.maxZoom)}this._layersMaxZoom=i===-1/0?void 0:i,this._layersMinZoom=t===1/0?void 0:t,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var zn=xn.extend({initialize:function(t,i){var n,s;if(l(this,i),this._layers={},t)for(n=0,s=t.length;n<s;n++)this.addLayer(t[n])},addLayer:function(t){var i=this.getLayerId(t);return this._layers[i]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var i=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[i]&&this._map.removeLayer(this._layers[i]),delete this._layers[i],this},hasLayer:function(t){return("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var i,n,s=Array.prototype.slice.call(arguments,1);for(i in this._layers)(n=this._layers[i])[t]&&n[t].apply(n,s);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,i){for(var n in this._layers)t.call(i,this._layers[n]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return h(t)}}),Sn=zn.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),zn.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),zn.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new Z;for(var i in this._layers){var n=this._layers[i];t.extend(n.getBounds?n.getBounds():n.getLatLng())}return t}}),En=z.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){l(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,i){var n=this._getIconUrl(t);if(!n){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var s=this._createImg(n,i&&"IMG"===i.tagName?i:null);return this._setIconStyles(s,t),(this.options.crossOrigin||""===this.options.crossOrigin)&&(s.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),s},_setIconStyles:function(t,i){var n=this.options,s=n[i+"Size"];"number"==typeof s&&(s=[s,s]);var e=O(s),h=O("shadow"===i&&n.shadowAnchor||n.iconAnchor||e&&e.divideBy(2,!0));t.className="leaflet-marker-"+i+" "+(n.className||""),h&&(t.style.marginLeft=-h.x+"px",t.style.marginTop=-h.y+"px"),e&&(t.style.width=e.x+"px",t.style.height=e.y+"px")},_createImg:function(t,i){return(i=i||document.createElement("img")).src=t,i},_getIconUrl:function(t){return It.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});var An=En.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!=typeof An.imagePath&&(An.imagePath=this._detectIconPath()),(this.options.imagePath||An.imagePath)+En.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var i=function(t,i,n){var s=i.exec(t);return s&&s[n]};return(t=i(t,/^url\((['"])?(.+)\1\)$/,2))&&i(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=ei("div","leaflet-default-icon-path",document.body),i=si(t,"background-image")||si(t,"backgroundImage");if(document.body.removeChild(t),i=this._stripUrl(i))return i;var n=document.querySelector('link[href$="leaflet.css"]');return n?n.href.substring(0,n.href.length-11-1):""}}),Cn=Yi.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new sn(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),ci(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&fi(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var i=this._marker,n=i._map,s=this._marker.options.autoPanSpeed,e=this._marker.options.autoPanPadding,h=wi(i._icon),o=n.getPixelBounds(),r=n.getPixelOrigin(),a=B(o.min._subtract(r).add(e),o.max._subtract(r).subtract(e));if(!a.contains(h)){var u=O((Math.max(a.max.x,h.x)-a.max.x)/(o.max.x-a.max.x)-(Math.min(a.min.x,h.x)-a.min.x)/(o.min.x-a.min.x),(Math.max(a.max.y,h.y)-a.max.y)/(o.max.y-a.max.y)-(Math.min(a.min.y,h.y)-a.min.y)/(o.min.y-a.min.y)).multiplyBy(s);n.panBy(u,{animate:!1}),this._draggable._newPos._add(u),this._draggable._startPos._add(u),gi(i._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=k(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(T(this._panRequest),this._panRequest=k(this._adjustPan.bind(this,t)))},_onDrag:function(t){var i=this._marker,n=i._shadow,s=wi(i._icon),e=i._map.layerPointToLatLng(s);n&&gi(n,s),i._latlng=e,t.latlng=e,t.oldLatLng=this._oldLatLng,i.fire("move",t).fire("drag",t)},_onDragEnd:function(t){T(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),On=xn.extend({options:{icon:new An,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,i){l(this,i),this._latlng=N(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var i=this._latlng;return this._latlng=N(t),this.update(),this.fire("move",{oldLatLng:i,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,i="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=t.icon.createIcon(this._icon),s=!1;n!==this._icon&&(this._icon&&this._removeIcon(),s=!0,t.title&&(n.title=t.title),"IMG"===n.tagName&&(n.alt=t.alt||"")),ci(n,i),t.keyboard&&(n.tabIndex="0",n.setAttribute("role","button")),this._icon=n,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&xi(n,"focus",this._panOnFocus,this);var e=t.icon.createShadow(this._shadow),h=!1;e!==this._shadow&&(this._removeShadow(),h=!0),e&&(ci(e,i),e.alt=""),this._shadow=e,t.opacity<1&&this._updateOpacity(),s&&this.getPane().appendChild(this._icon),this._initInteraction(),e&&h&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Si(this._icon,"focus",this._panOnFocus,this),hi(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&hi(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&gi(this._icon,t),this._shadow&&gi(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(i)},_initInteraction:function(){if(this.options.interactive&&(ci(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Cn)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Cn(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&vi(this._icon,t),this._shadow&&vi(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(t){var i=this.options.icon.options,n=i.iconSize?O(i.iconSize):O(0,0),s=i.iconAnchor?O(i.iconAnchor):O(0,0);t.panInside(this._latlng,{paddingTopLeft:s,paddingBottomRight:n.subtract(s)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});var In=xn.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return l(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),Bn=In.extend({options:{fill:!0,radius:10},initialize:function(t,i){l(this,i),this._latlng=N(t),this._radius=this.options.radius},setLatLng:function(t){var i=this._latlng;return this._latlng=N(t),this.redraw(),this.fire("move",{oldLatLng:i,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var i=t&&t.radius||this._radius;return In.prototype.setStyle.call(this,t),this.setRadius(i),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,i=this._radiusY||t,n=this._clickTolerance(),s=[t+n,i+n];this._pxBounds=new I(this._point.subtract(s),this._point.add(s))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});var Zn=Bn.extend({initialize:function(t,n,s){if("number"==typeof n&&(n=i({},s,{radius:n})),l(this,n),this._latlng=N(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new Z(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:In.prototype.setStyle,_project:function(){var t=this._latlng.lng,i=this._latlng.lat,n=this._map,s=n.options.crs;if(s.distance===H.distance){var e=Math.PI/180,h=this._mRadius/H.R/e,o=n.project([i+h,t]),r=n.project([i-h,t]),a=o.add(r).divideBy(2),u=n.unproject(a).lat,c=Math.acos((Math.cos(h*e)-Math.sin(i*e)*Math.sin(u*e))/(Math.cos(i*e)*Math.cos(u*e)))/e;(isNaN(c)||0===c)&&(c=h/Math.cos(Math.PI/180*i)),this._point=a.subtract(n.getPixelOrigin()),this._radius=isNaN(c)?0:a.x-n.project([u,t-c]).x,this._radiusY=a.y-o.y}else{var f=s.unproject(s.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(f).x}this._updateBounds()}});var Dn=In.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,i){l(this,i),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var i,n,s=1/0,e=null,h=pn,o=0,r=this._parts.length;o<r;o++)for(var a=this._parts[o],u=1,c=a.length;u<c;u++){var f=h(t,i=a[u-1],n=a[u],!0);f<s&&(s=f,e=h(t,i,n))}return e&&(e.distance=Math.sqrt(s)),e},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return _n(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(t,i){return i=i||this._defaultShape(),t=N(t),i.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new Z,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return gn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var i=[],n=gn(t),s=0,e=t.length;s<e;s++)n?(i[s]=N(t[s]),this._bounds.extend(i[s])):i[s]=this._convertLatLngs(t[s]);return i},_project:function(){var t=new I;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),i=new A(t,t);this._rawPxBounds&&(this._pxBounds=new I([this._rawPxBounds.min.subtract(i),this._rawPxBounds.max.add(i)]))},_projectLatlngs:function(t,i,n){var s,e,h=t.length;if(t[0]instanceof R){for(e=[],s=0;s<h;s++)e[s]=this._map.latLngToLayerPoint(t[s]),n.extend(e[s]);i.push(e)}else for(s=0;s<h;s++)this._projectLatlngs(t[s],i,n)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var i,n,s,e,h,o,r,a=this._parts;for(i=0,s=0,e=this._rings.length;i<e;i++)for(n=0,h=(r=this._rings[i]).length;n<h-1;n++)(o=ln(r[n],r[n+1],t,n,!0))&&(a[s]=a[s]||[],a[s].push(o[0]),o[1]===r[n+1]&&n!==h-2||(a[s].push(o[1]),s++))}},_simplifyPoints:function(){for(var t=this._parts,i=this.options.smoothFactor,n=0,s=t.length;n<s;n++)t[n]=un(t[n],i)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,i){var n,s,e,h,o,r,a=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(n=0,h=this._parts.length;n<h;n++)for(s=0,e=(o=(r=this._parts[n]).length)-1;s<o;e=s++)if((i||0!==s)&&cn(t,r[e],r[s])<=a)return!0;return!1}});Dn._flat=wn;var Rn=Dn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return hn(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(t){var i=Dn.prototype._convertLatLngs.call(this,t),n=i.length;return n>=2&&i[0]instanceof R&&i[0].equals(i[n-1])&&i.pop(),i},_setLatLngs:function(t){Dn.prototype._setLatLngs.call(this,t),gn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return gn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,i=this.options.weight,n=new A(i,i);if(t=new I(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var s,e=0,h=this._rings.length;e<h;e++)(s=en(this._rings[e],t,!0)).length&&this._parts.push(s)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var i,n,s,e,h,o,r,a,u=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(e=0,r=this._parts.length;e<r;e++)for(h=0,o=(a=(i=this._parts[e]).length)-1;h<a;o=h++)(n=i[h]).y>t.y!=(s=i[o]).y>t.y&&t.x<(s.x-n.x)*(t.y-n.y)/(s.y-n.y)+n.x&&(u=!u);return u||Dn.prototype._containsPoint.call(this,t,!0)}});var Nn=Sn.extend({initialize:function(t,i){l(this,i),this._layers={},t&&this.addData(t)},addData:function(t){var i,n,s,e=p(t)?t:t.features;if(e){for(i=0,n=e.length;i<n;i++)((s=e[i]).geometries||s.geometry||s.features||s.coordinates)&&this.addData(s);return this}var h=this.options;if(h.filter&&!h.filter(t))return this;var o=jn(t,h);return o?(o.feature=qn(t),o.defaultOptions=o.options,this.resetStyle(o),h.onEachFeature&&h.onEachFeature(t,o),this.addLayer(o)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=i({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer((function(i){this._setLayerStyle(i,t)}),this)},_setLayerStyle:function(t,i){t.setStyle&&("function"==typeof i&&(i=i(t.feature)),t.setStyle(i))}});function jn(t,i){var n,s,e,h,o="Feature"===t.type?t.geometry:t,r=o?o.coordinates:null,a=[],u=i&&i.pointToLayer,c=i&&i.coordsToLatLng||Hn;if(!r&&!o)return null;switch(o.type){case"Point":return Fn(u,t,n=c(r),i);case"MultiPoint":for(e=0,h=r.length;e<h;e++)n=c(r[e]),a.push(Fn(u,t,n,i));return new Sn(a);case"LineString":case"MultiLineString":return s=Un(r,"LineString"===o.type?0:1,c),new Dn(s,i);case"Polygon":case"MultiPolygon":return s=Un(r,"Polygon"===o.type?1:2,c),new Rn(s,i);case"GeometryCollection":for(e=0,h=o.geometries.length;e<h;e++){var f=jn({geometry:o.geometries[e],type:"Feature",properties:t.properties},i);f&&a.push(f)}return new Sn(a);case"FeatureCollection":for(e=0,h=o.features.length;e<h;e++){var l=jn(o.features[e],i);l&&a.push(l)}return new Sn(a);default:throw new Error("Invalid GeoJSON object.")}}function Fn(t,i,n,s){return t?t(i,n):new On(n,s&&s.markersInheritOptions&&s)}function Hn(t){return new R(t[1],t[0],t[2])}function Un(t,i,n){for(var s,e=[],h=0,o=t.length;h<o;h++)s=i?Un(t[h],i-1,n):(n||Hn)(t[h]),e.push(s);return e}function Wn(t,i){return void 0!==(t=N(t)).alt?[u(t.lng,i),u(t.lat,i),u(t.alt,i)]:[u(t.lng,i),u(t.lat,i)]}function Gn(t,i,n,s){for(var e=[],h=0,o=t.length;h<o;h++)e.push(i?Gn(t[h],gn(t[h])?0:i-1,n,s):Wn(t[h],s));return!i&&n&&e.length>0&&e.push(e[0].slice()),e}function Vn(t,n){return t.feature?i({},t.feature,{geometry:n}):qn(n)}function qn(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var Jn={toGeoJSON:function(t){return Vn(this,{type:"Point",coordinates:Wn(this.getLatLng(),t)})}};function Kn(t,i){return new Nn(t,i)}On.include(Jn),Zn.include(Jn),Bn.include(Jn),Dn.include({toGeoJSON:function(t){var i=!gn(this._latlngs);return Vn(this,{type:(i?"Multi":"")+"LineString",coordinates:Gn(this._latlngs,i?1:0,!1,t)})}}),Rn.include({toGeoJSON:function(t){var i=!gn(this._latlngs),n=i&&!gn(this._latlngs[0]),s=Gn(this._latlngs,n?2:i?1:0,!0,t);return i||(s=[s]),Vn(this,{type:(n?"Multi":"")+"Polygon",coordinates:s})}}),zn.include({toMultiPoint:function(t){var i=[];return this.eachLayer((function(n){i.push(n.toGeoJSON(t).geometry.coordinates)})),Vn(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(t){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===i)return this.toMultiPoint(t);var n="GeometryCollection"===i,s=[];return this.eachLayer((function(i){if(i.toGeoJSON){var e=i.toGeoJSON(t);if(n)s.push(e.geometry);else{var h=qn(e);"FeatureCollection"===h.type?s.push.apply(s,h.features):s.push(h)}}})),n?Vn(this,{geometries:s,type:"GeometryCollection"}):{type:"FeatureCollection",features:s}}});var Xn=Kn,$n=xn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,i,n){this._url=t,this._bounds=D(i),l(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ci(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){hi(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ri(this._image),this},bringToBack:function(){return this._map&&ai(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=D(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,i=this._image=t?this._url:ei("img");ci(i,"leaflet-image-layer"),this._zoomAnimated&&ci(i,"leaflet-zoom-animated"),this.options.className&&ci(i,this.options.className),i.onselectstart=a,i.onmousemove=a,i.onload=s(this.fire,this,"load"),i.onerror=s(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=i.src:(i.src=this._url,i.alt=this.options.alt)},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;pi(this._image,n,i)},_reset:function(){var t=this._image,i=new I(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=i.getSize();gi(t,i.min),t.style.width=n.x+"px",t.style.height=n.y+"px"},_updateOpacity:function(){vi(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&null!=this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Qn=$n.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,i=this._image=t?this._url:ei("video");if(ci(i,"leaflet-image-layer"),this._zoomAnimated&&ci(i,"leaflet-zoom-animated"),this.options.className&&ci(i,this.options.className),i.onselectstart=a,i.onmousemove=a,i.onloadeddata=s(this.fire,this,"load"),t){for(var n=i.getElementsByTagName("source"),e=[],h=0;h<n.length;h++)e.push(n[h].src);this._url=n.length>0?e:[i.src]}else{p(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(i.style,"objectFit")&&(i.style.objectFit="fill"),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop,i.muted=!!this.options.muted,i.playsInline=!!this.options.playsInline;for(var o=0;o<this._url.length;o++){var r=ei("source");r.src=this._url[o],i.appendChild(r)}}}});var Yn=$n.extend({_initImage:function(){var t=this._image=this._url;ci(t,"leaflet-image-layer"),this._zoomAnimated&&ci(t,"leaflet-zoom-animated"),this.options.className&&ci(t,this.options.className),t.onselectstart=a,t.onmousemove=a}});var ts=xn.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,i){t&&(t instanceof R||p(t))?(this._latlng=N(t),l(this,i)):(l(this,t),this._source=i),this.options.content&&(this._content=this.options.content)},openOn:function(t){return(t=arguments.length?t:this._source._map).hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&vi(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&vi(this._container,1),this.bringToFront(),this.options.interactive&&(ci(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(vi(this._container,0),this._removeTimeout=setTimeout(s(hi,void 0,this._container),200)):hi(this._container),this.options.interactive&&(fi(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=N(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ri(this._container),this},bringToBack:function(){return this._map&&ai(this._container),this},_prepareOpen:function(t){var i=this._source;if(!i._map)return!1;if(i instanceof Sn){i=null;var n=this._source._layers;for(var s in n)if(n[s]._map){i=n[s];break}if(!i)return!1;this._source=i}if(!t)if(i.getCenter)t=i.getCenter();else if(i.getLatLng)t=i.getLatLng();else{if(!i.getBounds)throw new Error("Unable to get source layer LatLng.");t=i.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,i="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof i)t.innerHTML=i;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(i)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),i=O(this.options.offset),n=this._getAnchor();this._zoomAnimated?gi(this._container,t.add(n)):i=i.add(t).add(n);var s=this._containerBottom=-i.y,e=this._containerLeft=-Math.round(this._containerWidth/2)+i.x;this._container.style.bottom=s+"px",this._container.style.left=e+"px"}},_getAnchor:function(){return[0,0]}});Vi.include({_initOverlay:function(t,i,n,s){var e=i;return e instanceof t||(e=new t(s).setContent(i)),n&&e.setLatLng(n),e}}),xn.include({_initOverlay:function(t,i,n,s){var e=n;return e instanceof t?(l(e,s),e._source=this):(e=i&&!s?i:new t(s,this)).setContent(n),e}});var is=ts.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return!(t=arguments.length?t:this._source._map).hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,ts.prototype.openOn.call(this,t)},onAdd:function(t){ts.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof In||this._source.on("preclick",Ii))},onRemove:function(t){ts.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof In||this._source.off("preclick",Ii))},getEvents:function(){var t=ts.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",i=this._container=ei("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=ei("div",t+"-content-wrapper",i);if(this._contentNode=ei("div",t+"-content",n),Zi(i),Bi(this._contentNode),xi(i,"contextmenu",Ii),this._tipContainer=ei("div",t+"-tip-container",i),this._tip=ei("div",t+"-tip",this._tipContainer),this.options.closeButton){var s=this._closeButton=ei("a",t+"-close-button",i);s.setAttribute("role","button"),s.setAttribute("aria-label","Close popup"),s.href="#close",s.innerHTML='<span aria-hidden="true">&#215;</span>',xi(s,"click",(function(t){Di(t),this.close()}),this)}},_updateLayout:function(){var t=this._contentNode,i=t.style;i.width="",i.whiteSpace="nowrap";var n=t.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),i.width=n+1+"px",i.whiteSpace="",i.height="";var s=this.options.maxHeight,e="leaflet-popup-scrolled";s&&t.offsetHeight>s?(i.height=s+"px",ci(t,e)):fi(t,e),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();gi(this._container,i.add(n))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var t=this._map,i=parseInt(si(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+i,s=this._containerWidth,e=new A(this._containerLeft,-n-this._containerBottom);e._add(wi(this._container));var h=t.layerPointToContainerPoint(e),o=O(this.options.autoPanPadding),r=O(this.options.autoPanPaddingTopLeft||o),a=O(this.options.autoPanPaddingBottomRight||o),u=t.getSize(),c=0,f=0;h.x+s+a.x>u.x&&(c=h.x+s-u.x+a.x),h.x-c-r.x<0&&(c=h.x-r.x),h.y+n+a.y>u.y&&(f=h.y+n-u.y+a.y),h.y-f-r.y<0&&(f=h.y-r.y),(c||f)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([c,f]))}},_getAnchor:function(){return O(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Vi.mergeOptions({closePopupOnClick:!0}),Vi.include({openPopup:function(t,i,n){return this._initOverlay(is,t,i,n).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),xn.include({bindPopup:function(t,i){return this._popup=this._initOverlay(is,this._popup,t,i),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof Sn||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(this._popup&&this._map){Ri(t);var i=t.layer||t.target;this._popup._source!==i||i instanceof In?(this._popup._source=i,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var ns=ts.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){ts.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){ts.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=ts.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){this._contentNode=this._container=ei("div","leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide")),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+h(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i,n,s=this._map,e=this._container,h=s.latLngToContainerPoint(s.getCenter()),o=s.layerPointToContainerPoint(t),r=this.options.direction,a=e.offsetWidth,u=e.offsetHeight,c=O(this.options.offset),f=this._getAnchor();"top"===r?(i=a/2,n=u):"bottom"===r?(i=a/2,n=0):"center"===r?(i=a/2,n=u/2):"right"===r?(i=0,n=u/2):"left"===r?(i=a,n=u/2):o.x<h.x?(r="right",i=0,n=u/2):(r="left",i=a+2*(c.x+f.x),n=u/2),t=t.subtract(O(i,n,!0)).add(c).add(f),fi(e,"leaflet-tooltip-right"),fi(e,"leaflet-tooltip-left"),fi(e,"leaflet-tooltip-top"),fi(e,"leaflet-tooltip-bottom"),ci(e,"leaflet-tooltip-"+r),gi(e,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&vi(this._container,t)},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(i)},_getAnchor:function(){return O(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Vi.include({openTooltip:function(t,i,n){return this._initOverlay(ns,t,i,n).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),xn.include({bindTooltip:function(t,i){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(ns,this._tooltip,t,i),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var i=t?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,n.click=this._openTooltip,this._map?this._addFocusListeners():n.add=this._addFocusListeners),this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),this[i](n),this._tooltipHandlersAdded=!t}},openTooltip:function(t){return this._tooltip&&(this instanceof Sn||(this._tooltip._source=this),this._tooltip._prepareOpen(t)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var i="function"==typeof t.getElement&&t.getElement();i&&(xi(i,"focus",(function(){this._tooltip._source=t,this.openTooltip()}),this),xi(i,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){var i="function"==typeof t.getElement&&t.getElement();i&&i.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){if(this._tooltip&&this._map)if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var i=this;this._map.once("moveend",(function(){i._openOnceFlag=!1,i._openTooltip(t)}))}else this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var i,n,s=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(i=this._map.mouseEventToContainerPoint(t.originalEvent),n=this._map.containerPointToLayerPoint(i),s=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(s)}});var ss=En.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var i=t&&"DIV"===t.tagName?t:document.createElement("div"),n=this.options;if(n.html instanceof Element?(oi(i),i.appendChild(n.html)):i.innerHTML=!1!==n.html?n.html:"",n.bgPos){var s=O(n.bgPos);i.style.backgroundPosition=-s.x+"px "+-s.y+"px"}return this._setIconStyles(i,"icon"),i},createShadow:function(){return null}});En.Default=An;var es=xn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:It.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){l(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),hi(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ri(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ai(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());t!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()}return this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof A?t:new A(t,t)},_updateZIndex:function(){this._container&&null!=this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var i,n=this.getPane().children,s=-t(-1/0,1/0),e=0,h=n.length;e<h;e++)i=n[e].style.zIndex,n[e]!==this._container&&i&&(s=t(s,+i));isFinite(s)&&(this.options.zIndex=s+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!It.ielt9){vi(this._container,this.options.opacity);var t=+new Date,i=!1,n=!1;for(var s in this._tiles){var e=this._tiles[s];if(e.current&&e.loaded){var h=Math.min(1,(t-e.loaded)/200);vi(e.el,h),h<1?i=!0:(e.active?n=!0:this._onOpaqueTile(e),e.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),i&&(T(this._fadeFrame),this._fadeFrame=k(this._updateOpacity,this))}},_onOpaqueTile:a,_initContainer:function(){this._container||(this._container=ei("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,i=this.options.maxZoom;if(void 0!==t){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===t?(this._levels[n].el.style.zIndex=i-Math.abs(t-n),this._onUpdateLevel(n)):(hi(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var s=this._levels[t],e=this._map;return s||((s=this._levels[t]={}).el=ei("div","leaflet-tile-container leaflet-zoom-animated",this._container),s.el.style.zIndex=i,s.origin=e.project(e.unproject(e.getPixelOrigin()),t).round(),s.zoom=t,this._setZoomTransform(s,e.getCenter(),e.getZoom()),this._onCreateLevel(s)),this._level=s,s}},_onUpdateLevel:a,_onRemoveLevel:a,_onCreateLevel:a,_pruneTiles:function(){if(this._map){var t,i,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(i=this._tiles[t]).retain=i.current;for(t in this._tiles)if((i=this._tiles[t]).current&&!i.active){var s=i.coords;this._retainParent(s.x,s.y,s.z,s.z-5)||this._retainChildren(s.x,s.y,s.z,s.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var i in this._tiles)this._tiles[i].coords.z===t&&this._removeTile(i)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)hi(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,i,n,s){var e=Math.floor(t/2),h=Math.floor(i/2),o=n-1,r=new A(+e,+h);r.z=+o;var a=this._tileCoordsToKey(r),u=this._tiles[a];return u&&u.active?(u.retain=!0,!0):(u&&u.loaded&&(u.retain=!0),o>s&&this._retainParent(e,h,o,s))},_retainChildren:function(t,i,n,s){for(var e=2*t;e<2*t+2;e++)for(var h=2*i;h<2*i+2;h++){var o=new A(e,h);o.z=n+1;var r=this._tileCoordsToKey(o),a=this._tiles[r];a&&a.active?a.retain=!0:(a&&a.loaded&&(a.retain=!0),n+1<s&&this._retainChildren(e,h,n+1,s))}},_resetView:function(t){var i=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),i,i)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var i=this.options;return void 0!==i.minNativeZoom&&t<i.minNativeZoom?i.minNativeZoom:void 0!==i.maxNativeZoom&&i.maxNativeZoom<t?i.maxNativeZoom:t},_setView:function(t,i,n,s){var e=Math.round(i);e=void 0!==this.options.maxZoom&&e>this.options.maxZoom||void 0!==this.options.minZoom&&e<this.options.minZoom?void 0:this._clampZoom(e),s&&!(this.options.updateWhenZooming&&e!==this._tileZoom)||(this._tileZoom=e,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==e&&this._update(t),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(t,i)},_setZoomTransforms:function(t,i){for(var n in this._levels)this._setZoomTransform(this._levels[n],t,i)},_setZoomTransform:function(t,i,n){var s=this._map.getZoomScale(n,t.zoom),e=t.origin.multiplyBy(s).subtract(this._map._getNewPixelOrigin(i,n)).round();It.any3d?pi(t.el,e,s):gi(t.el,e)},_resetGrid:function(){var t=this._map,i=t.options.crs,n=this._tileSize=this.getTileSize(),s=this._tileZoom,e=this._map.getPixelWorldBounds(this._tileZoom);e&&(this._globalTileRange=this._pxBoundsToTileRange(e)),this._wrapX=i.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,i.wrapLng[0]],s).x/n.x),Math.ceil(t.project([0,i.wrapLng[1]],s).x/n.y)],this._wrapY=i.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([i.wrapLat[0],0],s).y/n.x),Math.ceil(t.project([i.wrapLat[1],0],s).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var i=this._map,n=i._animatingZoom?Math.max(i._animateToZoom,i.getZoom()):i.getZoom(),s=i.getZoomScale(n,this._tileZoom),e=i.project(t,this._tileZoom).floor(),h=i.getSize().divideBy(2*s);return new I(e.subtract(h),e.add(h))},_update:function(t){var i=this._map;if(i){var n=this._clampZoom(i.getZoom());if(void 0===t&&(t=i.getCenter()),void 0!==this._tileZoom){var s=this._getTiledPixelBounds(t),e=this._pxBoundsToTileRange(s),h=e.getCenter(),o=[],r=this.options.keepBuffer,a=new I(e.getBottomLeft().subtract([r,-r]),e.getTopRight().add([r,-r]));if(!(isFinite(e.min.x)&&isFinite(e.min.y)&&isFinite(e.max.x)&&isFinite(e.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var u in this._tiles){var c=this._tiles[u].coords;c.z===this._tileZoom&&a.contains(new A(c.x,c.y))||(this._tiles[u].current=!1)}if(Math.abs(n-this._tileZoom)>1)this._setView(t,n);else{for(var f=e.min.y;f<=e.max.y;f++)for(var l=e.min.x;l<=e.max.x;l++){var d=new A(l,f);if(d.z=this._tileZoom,this._isValidTile(d)){var v=this._tiles[this._tileCoordsToKey(d)];v?v.current=!0:o.push(d)}}if(o.sort((function(t,i){return t.distanceTo(h)-i.distanceTo(h)})),0!==o.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(l=0;l<o.length;l++)this._addTile(o[l],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var i=this._map.options.crs;if(!i.infinite){var n=this._globalTileRange;if(!i.wrapLng&&(t.x<n.min.x||t.x>n.max.x)||!i.wrapLat&&(t.y<n.min.y||t.y>n.max.y))return!1}if(!this.options.bounds)return!0;var s=this._tileCoordsToBounds(t);return D(this.options.bounds).overlaps(s)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,n=this.getTileSize(),s=t.scaleBy(n),e=s.add(n);return[i.unproject(s,t.z),i.unproject(e,t.z)]},_tileCoordsToBounds:function(t){var i=this._tileCoordsToNwSe(t),n=new Z(i[0],i[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var i=t.split(":"),n=new A(+i[0],+i[1]);return n.z=+i[2],n},_removeTile:function(t){var i=this._tiles[t];i&&(hi(i.el),delete this._tiles[t],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){ci(t,"leaflet-tile");var i=this.getTileSize();t.style.width=i.x+"px",t.style.height=i.y+"px",t.onselectstart=a,t.onmousemove=a,It.ielt9&&this.options.opacity<1&&vi(t,this.options.opacity)},_addTile:function(t,i){var n=this._getTilePos(t),e=this._tileCoordsToKey(t),h=this.createTile(this._wrapCoords(t),s(this._tileReady,this,t));this._initTile(h),this.createTile.length<2&&k(s(this._tileReady,this,t,null,h)),gi(h,n),this._tiles[e]={el:h,coords:t,current:!0},i.appendChild(h),this.fire("tileloadstart",{tile:h,coords:t})},_tileReady:function(t,i,n){i&&this.fire("tileerror",{error:i,tile:n,coords:t});var e=this._tileCoordsToKey(t);(n=this._tiles[e])&&(n.loaded=+new Date,this._map._fadeAnimated?(vi(n.el,0),T(this._fadeFrame),this._fadeFrame=k(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),i||(ci(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),It.ielt9||!this._map._fadeAnimated?k(this._pruneTiles,this):setTimeout(s(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new A(this._wrapX?r(t.x,this._wrapX):t.x,this._wrapY?r(t.y,this._wrapY):t.y);return i.z=t.z,i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new I(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});var hs=es.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,i){this._url=t,(i=l(this,i)).detectRetina&&It.retina&&i.maxZoom>0?(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom=Math.min(i.maxZoom,i.minZoom+1)):(i.zoomOffset++,i.maxZoom=Math.max(i.minZoom,i.maxZoom-1)),i.minZoom=Math.max(0,i.minZoom)):i.zoomReverse?i.minZoom=Math.min(i.maxZoom,i.minZoom):i.maxZoom=Math.max(i.minZoom,i.maxZoom),"string"==typeof i.subdomains&&(i.subdomains=i.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,i){return this._url===t&&void 0===i&&(i=!0),this._url=t,i||this.redraw(),this},createTile:function(t,i){var n=document.createElement("img");return xi(n,"load",s(this._tileOnLoad,this,i,n)),xi(n,"error",s(this._tileOnError,this,i,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(n.referrerPolicy=this.options.referrerPolicy),n.alt="",n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:It.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var s=this._globalTileRange.max.y-t.y;this.options.tms&&(n.y=s),n["-y"]=s}return m(this._url,i(n,this.options))},_tileOnLoad:function(t,i){It.ielt9?setTimeout(s(t,this,null,i),0):t(null,i)},_tileOnError:function(t,i,n){var s=this.options.errorTileUrl;s&&i.getAttribute("src")!==s&&(i.src=s),t(n,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom;return this.options.zoomReverse&&(t=this.options.maxZoom-t),t+this.options.zoomOffset},_getSubdomain:function(t){var i=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var t,i;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&((i=this._tiles[t].el).onload=a,i.onerror=a,!i.complete)){i.src=w;var n=this._tiles[t].coords;hi(i),delete this._tiles[t],this.fire("tileabort",{tile:i,coords:n})}},_removeTile:function(t){var i=this._tiles[t];if(i)return i.el.setAttribute("src",w),es.prototype._removeTile.call(this,t)},_tileReady:function(t,i,n){if(this._map&&(!n||n.getAttribute("src")!==w))return es.prototype._tileReady.call(this,t,i,n)}});function os(t,i){return new hs(t,i)}var rs=hs.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var s=i({},this.defaultWmsParams);for(var e in n)e in this.options||(s[e]=n[e]);var h=(n=l(this,n)).detectRetina&&It.retina?2:1,o=this.getTileSize();s.width=o.x*h,s.height=o.y*h,this.wmsParams=s},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version),this.wmsParams[this._wmsVersion>=1.3?"crs":"srs"]=this._crs.code,hs.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),n=this._crs,s=B(n.project(i[0]),n.project(i[1])),e=s.min,h=s.max,o=(this._wmsVersion>=1.3&&this._crs===Tn?[e.y,e.x,h.y,h.x]:[e.x,e.y,h.x,h.y]).join(","),r=hs.prototype.getTileUrl.call(this,t);return r+d(this.wmsParams,r,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(t,n){return i(this.wmsParams,t),n||this.redraw(),this}});hs.WMS=rs,os.wms=function(t,i){return new rs(t,i)};var as=xn.extend({options:{padding:.1},initialize:function(t){l(this,t),h(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),ci(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,i){var n=this._map.getZoomScale(i,this._zoom),s=this._map.getSize().multiplyBy(.5+this.options.padding),e=this._map.project(this._center,i),h=s.multiplyBy(-n).add(e).subtract(this._map._getNewPixelOrigin(t,i));It.any3d?pi(this._container,h,n):gi(this._container,h)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,i=this._map.getSize(),n=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new I(n,n.add(i.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),us=as.extend({options:{tolerance:0},getEvents:function(){var t=as.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){as.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");xi(t,"mousemove",this._onMouseMove,this),xi(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),xi(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){T(this._redrawRequest),delete this._ctx,hi(this._container),Si(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){as.prototype._update.call(this);var t=this._bounds,i=this._container,n=t.getSize(),s=It.retina?2:1;gi(i,t.min),i.width=s*n.x,i.height=s*n.y,i.style.width=n.x+"px",i.style.height=n.y+"px",It.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){as.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[h(t)]=t;var i=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=t._order,n=i.next,s=i.prev;n?n.prev=s:this._drawLast=s,s?s.next=n:this._drawFirst=n,delete t._order,delete this._layers[h(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var i,n,s=t.options.dashArray.split(/[, ]+/),e=[];for(n=0;n<s.length;n++){if(i=Number(s[n]),isNaN(i))return;e.push(i)}t.options._dashArray=e}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||k(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var i=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new I,this._redrawBounds.extend(t._pxBounds.min.subtract([i,i])),this._redrawBounds.extend(t._pxBounds.max.add([i,i]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var i=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,i.x,i.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var t,i=this._redrawBounds;if(this._ctx.save(),i){var n=i.getSize();this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var s=this._drawFirst;s;s=s.next)t=s.layer,(!i||t._pxBounds&&t._pxBounds.intersects(i))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,i){if(this._drawing){var n,s,e,h,o=t._parts,r=o.length,a=this._ctx;if(r){for(a.beginPath(),n=0;n<r;n++){for(s=0,e=o[n].length;s<e;s++)a[s?"lineTo":"moveTo"]((h=o[n][s]).x,h.y);i&&a.closePath()}this._fillStroke(a,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var i=t._point,n=this._ctx,s=Math.max(Math.round(t._radius),1),e=(Math.max(Math.round(t._radiusY),1)||s)/s;1!==e&&(n.save(),n.scale(1,e)),n.beginPath(),n.arc(i.x,i.y/e,s,0,2*Math.PI,!1),1!==e&&n.restore(),this._fillStroke(n,t)}},_fillStroke:function(t,i){var n=i.options;n.fill&&(t.globalAlpha=n.fillOpacity,t.fillStyle=n.fillColor||n.color,t.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(t.setLineDash&&t.setLineDash(i.options&&i.options._dashArray||[]),t.globalAlpha=n.opacity,t.lineWidth=n.weight,t.strokeStyle=n.color,t.lineCap=n.lineCap,t.lineJoin=n.lineJoin,t.stroke())},_onClick:function(t){for(var i,n,s=this._map.mouseEventToLayerPoint(t),e=this._drawFirst;e;e=e.next)(i=e.layer).options.interactive&&i._containsPoint(s)&&("click"!==t.type&&"preclick"!==t.type||!this._map._draggableMoved(i))&&(n=i);this._fireEvent(!!n&&[n],t)},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var i=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,i)}},_handleMouseOut:function(t){var i=this._hoveredLayer;i&&(fi(this._container,"leaflet-interactive"),this._fireEvent([i],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,i){if(!this._mouseHoverThrottled){for(var n,e,h=this._drawFirst;h;h=h.next)(n=h.layer).options.interactive&&n._containsPoint(i)&&(e=n);e!==this._hoveredLayer&&(this._handleMouseOut(t),e&&(ci(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseover"),this._hoveredLayer=e)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(s((function(){this._mouseHoverThrottled=!1}),this),32)}},_fireEvent:function(t,i,n){this._map._fireDOMEvent(i,n||i.type,t)},_bringToFront:function(t){var i=t._order;if(i){var n=i.next,s=i.prev;n&&(n.prev=s,s?s.next=n:n&&(this._drawFirst=n),i.prev=this._drawLast,this._drawLast.next=i,i.next=null,this._drawLast=i,this._requestRedraw(t))}},_bringToBack:function(t){var i=t._order;if(i){var n=i.next,s=i.prev;s&&(s.next=n,n?n.prev=s:s&&(this._drawLast=s),i.prev=null,i.next=this._drawFirst,this._drawFirst.prev=i,this._drawFirst=i,this._requestRedraw(t))}}});function cs(t){return It.canvas?new us(t):null}var fs=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),ls={_initContainer:function(){this._container=ei("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(as.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var i=t._container=fs("shape");ci(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",t._path=fs("path"),i.appendChild(t._path),this._updateStyle(t),this._layers[h(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i),t.options.interactive&&t.addInteractiveTarget(i)},_removePath:function(t){var i=t._container;hi(i),t.removeInteractiveTarget(i),delete this._layers[h(t)]},_updateStyle:function(t){var i=t._stroke,n=t._fill,s=t.options,e=t._container;e.stroked=!!s.stroke,e.filled=!!s.fill,s.stroke?(i||(i=t._stroke=fs("stroke")),e.appendChild(i),i.weight=s.weight+"px",i.color=s.color,i.opacity=s.opacity,i.dashStyle=s.dashArray?p(s.dashArray)?s.dashArray.join(" "):s.dashArray.replace(/( *, *)/g," "):"",i.endcap=s.lineCap.replace("butt","flat"),i.joinstyle=s.lineJoin):i&&(e.removeChild(i),t._stroke=null),s.fill?(n||(n=t._fill=fs("fill")),e.appendChild(n),n.color=s.fillColor||s.color,n.opacity=s.fillOpacity):n&&(e.removeChild(n),t._fill=null)},_updateCircle:function(t){var i=t._point.round(),n=Math.round(t._radius),s=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+i.x+","+i.y+" "+n+","+s+" 0,23592600")},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){ri(t._container)},_bringToBack:function(t){ai(t._container)}},ds=It.vml?fs:K,vs=as.extend({_initContainer:function(){this._container=ds("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ds("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){hi(this._container),Si(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){as.prototype._update.call(this);var t=this._bounds,i=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(i)||(this._svgSize=i,n.setAttribute("width",i.x),n.setAttribute("height",i.y)),gi(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,i.x,i.y].join(" ")),this.fire("update")}},_initPath:function(t){var i=t._path=ds("path");t.options.className&&ci(i,t.options.className),t.options.interactive&&ci(i,"leaflet-interactive"),this._updateStyle(t),this._layers[h(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){hi(t._path),t.removeInteractiveTarget(t._path),delete this._layers[h(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var i=t._path,n=t.options;i&&(n.stroke?(i.setAttribute("stroke",n.color),i.setAttribute("stroke-opacity",n.opacity),i.setAttribute("stroke-width",n.weight),i.setAttribute("stroke-linecap",n.lineCap),i.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?i.setAttribute("stroke-dasharray",n.dashArray):i.removeAttribute("stroke-dasharray"),n.dashOffset?i.setAttribute("stroke-dashoffset",n.dashOffset):i.removeAttribute("stroke-dashoffset")):i.setAttribute("stroke","none"),n.fill?(i.setAttribute("fill",n.fillColor||n.color),i.setAttribute("fill-opacity",n.fillOpacity),i.setAttribute("fill-rule",n.fillRule||"evenodd")):i.setAttribute("fill","none"))},_updatePoly:function(t,i){this._setPath(t,X(t._parts,i))},_updateCircle:function(t){var i=t._point,n=Math.max(Math.round(t._radius),1),s="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",e=t._empty()?"M0 0":"M"+(i.x-n)+","+i.y+s+2*n+",0 "+s+2*-n+",0 ";this._setPath(t,e)},_setPath:function(t,i){t._path.setAttribute("d",i)},_bringToFront:function(t){ri(t._path)},_bringToBack:function(t){ai(t._path)}});function ms(t){return It.svg||It.vml?new vs(t):null}It.vml&&vs.include(ls),Vi.include({getRenderer:function(t){var i=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this._createRenderer()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var i=this._paneRenderers[t];return void 0===i&&(i=this._createRenderer({pane:t}),this._paneRenderers[t]=i),i},_createRenderer:function(t){return this.options.preferCanvas&&cs(t)||ms(t)}});var ps=Rn.extend({initialize:function(t,i){Rn.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=D(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});vs.create=ds,vs.pointsToPath=X,Nn.geometryToLayer=jn,Nn.coordsToLatLng=Hn,Nn.coordsToLatLngs=Un,Nn.latLngToCoords=Wn,Nn.latLngsToCoords=Gn,Nn.getFeature=Vn,Nn.asFeature=qn,Vi.mergeOptions({boxZoom:!0});var gs=Yi.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){xi(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Si(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){hi(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Jt(),yi(),this._startPoint=this._map.mouseEventToContainerPoint(t),xi(document,{contextmenu:Ri,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ei("div","leaflet-zoom-box",this._container),ci(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var i=new I(this._point,this._startPoint),n=i.getSize();gi(this._box,i.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(hi(this._box),fi(this._container,"leaflet-crosshair")),Kt(),Mi(),Si(document,{contextmenu:Ri,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(s(this._resetState,this),0);var i=new Z(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire("boxzoomend",{boxZoomBounds:i})}},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Vi.addInitHook("addHandler","boxZoom",gs),Vi.mergeOptions({doubleClickZoom:!0});var ws=Yi.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,n=i.getZoom(),s=i.options.zoomDelta,e=t.originalEvent.shiftKey?n-s:n+s;"center"===i.options.doubleClickZoom?i.setZoom(e):i.setZoomAround(t.containerPoint,e)}});Vi.addInitHook("addHandler","doubleClickZoom",ws),Vi.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var _s=Yi.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new sn(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}ci(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){fi(this._map._container,"leaflet-grab"),fi(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=D(this._map.options.maxBounds);this._offsetLimit=B(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var i=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(i),this._prunePositions(i)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;t.x<i.min.x&&(t.x=this._viscousLimit(t.x,i.min.x)),t.y<i.min.y&&(t.y=this._viscousLimit(t.y,i.min.y)),t.x>i.max.x&&(t.x=this._viscousLimit(t.x,i.max.x)),t.y>i.max.y&&(t.y=this._viscousLimit(t.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),n=this._initialWorldOffset,s=this._draggable._newPos.x,e=(s-i+n)%t+i-n,h=(s+i+n)%t-i-n,o=Math.abs(e+n)<Math.abs(h+n)?e:h;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=o},_onDragEnd:function(t){var i=this._map,n=i.options,s=!n.inertia||t.noInertia||this._times.length<2;if(i.fire("dragend",t),s)i.fire("moveend");else{this._prunePositions(+new Date);var e=this._lastPos.subtract(this._positions[0]),h=n.easeLinearity,o=e.multiplyBy(h/((this._lastTime-this._times[0])/1e3)),r=o.distanceTo([0,0]),a=Math.min(n.inertiaMaxSpeed,r),u=o.multiplyBy(a/r),c=a/(n.inertiaDeceleration*h),f=u.multiplyBy(-c/2).round();f.x||f.y?(f=i._limitOffset(f,i.options.maxBounds),k((function(){i.panBy(f,{duration:c,easeLinearity:h,noMoveStart:!0,animate:!0})}))):i.fire("moveend")}}});Vi.addInitHook("addHandler","dragging",_s),Vi.mergeOptions({keyboard:!0,keyboardPanDelta:80});var ys=Yi.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),xi(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Si(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,i=document.documentElement,n=t.scrollTop||i.scrollTop,s=t.scrollLeft||i.scrollLeft;this._map._container.focus(),window.scrollTo(s,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var i,n,s=this._panKeys={},e=this.keyCodes;for(i=0,n=e.left.length;i<n;i++)s[e.left[i]]=[-1*t,0];for(i=0,n=e.right.length;i<n;i++)s[e.right[i]]=[t,0];for(i=0,n=e.down.length;i<n;i++)s[e.down[i]]=[0,t];for(i=0,n=e.up.length;i<n;i++)s[e.up[i]]=[0,-1*t]},_setZoomDelta:function(t){var i,n,s=this._zoomKeys={},e=this.keyCodes;for(i=0,n=e.zoomIn.length;i<n;i++)s[e.zoomIn[i]]=t;for(i=0,n=e.zoomOut.length;i<n;i++)s[e.zoomOut[i]]=-t},_addHooks:function(){xi(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Si(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var i,n=t.keyCode,s=this._map;if(n in this._panKeys){if(!s._panAnim||!s._panAnim._inProgress)if(i=this._panKeys[n],t.shiftKey&&(i=O(i).multiplyBy(3)),s.options.maxBounds&&(i=s._limitOffset(O(i),s.options.maxBounds)),s.options.worldCopyJump){var e=s.wrapLatLng(s.unproject(s.project(s.getCenter()).add(i)));s.panTo(e)}else s.panBy(i)}else if(n in this._zoomKeys)s.setZoom(s.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!s._popup||!s._popup.options.closeOnEscapeKey)return;s.closePopup()}Ri(t)}}});Vi.addInitHook("addHandler","keyboard",ys),Vi.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Ms=Yi.extend({addHooks:function(){xi(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Si(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var i=Hi(t),n=this._map.options.wheelDebounceTime;this._delta+=i,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var e=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(s(this._performZoom,this),e),Ri(t)},_performZoom:function(){var t=this._map,i=t.getZoom(),n=this._map.options.zoomSnap||0;t._stop();var s=4*Math.log(2/(1+Math.exp(-Math.abs(this._delta/(4*this._map.options.wheelPxPerZoomLevel)))))/Math.LN2,e=n?Math.ceil(s/n)*n:s,h=t._limitZoom(i+(this._delta>0?e:-e))-i;this._delta=0,this._startTime=null,h&&("center"===t.options.scrollWheelZoom?t.setZoom(i+h):t.setZoomAround(this._lastMousePos,i+h))}});Vi.addInitHook("addHandler","scrollWheelZoom",Ms);Vi.mergeOptions({tapHold:It.touchNative&&It.safari&&It.mobile,tapTolerance:15});var bs=Yi.extend({addHooks:function(){xi(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Si(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var i=t.touches[0];this._startPos=this._newPos=new A(i.clientX,i.clientY),this._holdTimeout=setTimeout(s((function(){this._cancel(),this._isTapValid()&&(xi(document,"touchend",Di),xi(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",i))}),this),600),xi(document,"touchend touchcancel contextmenu",this._cancel,this),xi(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Si(document,"touchend",Di),Si(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Si(document,"touchend touchcancel contextmenu",this._cancel,this),Si(document,"touchmove",this._onMove,this)},_onMove:function(t){var i=t.touches[0];this._newPos=new A(i.clientX,i.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,i){var n=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY});n._simulated=!0,i.target.dispatchEvent(n)}});Vi.addInitHook("addHandler","tapHold",bs),Vi.mergeOptions({touchZoom:It.touch,bounceAtZoomLimits:!0});var Ps=Yi.extend({addHooks:function(){ci(this._map._container,"leaflet-touch-zoom"),xi(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){fi(this._map._container,"leaflet-touch-zoom"),Si(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(t.touches&&2===t.touches.length&&!i._animatingZoom&&!this._zooming){var n=i.mouseEventToContainerPoint(t.touches[0]),s=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),"center"!==i.options.touchZoom&&(this._pinchStartLatLng=i.containerPointToLatLng(n.add(s)._divideBy(2))),this._startDist=n.distanceTo(s),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),xi(document,"touchmove",this._onTouchMove,this),xi(document,"touchend touchcancel",this._onTouchEnd,this),Di(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var i=this._map,n=i.mouseEventToContainerPoint(t.touches[0]),e=i.mouseEventToContainerPoint(t.touches[1]),h=n.distanceTo(e)/this._startDist;if(this._zoom=i.getScaleZoom(h,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoom<i.getMinZoom()&&h<1||this._zoom>i.getMaxZoom()&&h>1)&&(this._zoom=i._limitZoom(this._zoom)),"center"===i.options.touchZoom){if(this._center=this._startLatLng,1===h)return}else{var o=n._add(e)._divideBy(2)._subtract(this._centerPoint);if(1===h&&0===o.x&&0===o.y)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),T(this._animRequest);var r=s(i._move,i,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=k(r,this,!0),Di(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,T(this._animRequest),Si(document,"touchmove",this._onTouchMove,this),Si(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Vi.addInitHook("addHandler","touchZoom",Ps),Vi.BoxZoom=gs,Vi.DoubleClickZoom=ws,Vi.Drag=_s,Vi.Keyboard=ys,Vi.ScrollWheelZoom=Ms,Vi.TapHold=bs,Vi.TouchZoom=Ps,t.Bounds=I,t.Browser=It,t.CRS=F,t.Canvas=us,t.Circle=Zn,t.CircleMarker=Bn,t.Class=z,t.Control=qi,t.DivIcon=ss,t.DivOverlay=ts,t.DomEvent=Wi,t.DomUtil=Li,t.Draggable=sn,t.Evented=E,t.FeatureGroup=Sn,t.GeoJSON=Nn,t.GridLayer=es,t.Handler=Yi,t.Icon=En,t.ImageOverlay=$n,t.LatLng=R,t.LatLngBounds=Z,t.Layer=xn,t.LayerGroup=zn,t.LineUtil=yn,t.Map=Vi,t.Marker=On,t.Mixin=tn,t.Path=In,t.Point=A,t.PolyUtil=an,t.Polygon=Rn,t.Polyline=Dn,t.Popup=is,t.PosAnimation=Gi,t.Projection=Pn,t.Rectangle=ps,t.Renderer=as,t.SVG=vs,t.SVGOverlay=Yn,t.TileLayer=hs,t.Tooltip=ns,t.Transformation=G,t.Util=x,t.VideoOverlay=Qn,t.bind=s,t.bounds=B,t.canvas=cs,t.circle=function(t,i,n){return new Zn(t,i,n)},t.circleMarker=function(t,i){return new Bn(t,i)},t.control=Ji,t.divIcon=function(t){return new ss(t)},t.extend=i,t.featureGroup=function(t,i){return new Sn(t,i)},t.geoJSON=Kn,t.geoJson=Xn,t.gridLayer=function(t){return new es(t)},t.icon=function(t){return new En(t)},t.imageOverlay=function(t,i,n){return new $n(t,i,n)},t.latLng=N,t.latLngBounds=D,t.layerGroup=function(t,i){return new zn(t,i)},t.map=function(t,i){return new Vi(t,i)},t.marker=function(t,i){return new On(t,i)},t.point=O,t.polygon=function(t,i){return new Rn(t,i)},t.polyline=function(t,i){return new Dn(t,i)},t.popup=function(t,i){return new is(t,i)},t.rectangle=function(t,i){return new ps(t,i)},t.setOptions=l,t.stamp=h,t.svg=ms,t.svgOverlay=function(t,i,n){return new Yn(t,i,n)},t.tileLayer=os,t.tooltip=function(t,i){return new ns(t,i)},t.transformation=V,t.version="1.9.4",t.videoOverlay=function(t,i,n){return new Qn(t,i,n)};var ks=window.L;t.noConflict=function(){return window.L=ks,this},window.L=t}(s.exports)),s.exports),h=i(e),o=t({__proto__:null,default:h},[e]);
2
- /* @preserve
3
- * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
4
- * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
5
- */export{o as L,h as a,e as l}
@@ -1 +0,0 @@
1
- function n(n,t){return`q-data-table-cell-${o(u(n))}-${o(u(t))}`}function t(n,t,e){if(r(n)&&Object.prototype.hasOwnProperty.call(n,e)){const t=n[e];return"string"==typeof t||"number"==typeof t?t:void 0}}function e(n,t){if(t)return t.split(".").reduce(((n,t)=>{if(r(n))return n[t]}),n)}function r(n){return"object"==typeof n&&null!==n}function u(n){return"string"==typeof n?`string:${n}`:(t=n,Number.isNaN(t)?"number:NaN":Object.is(t,-0)?"number:-0":`number:${String(t)}`);var t}function o(n){return encodeURIComponent(n).replaceAll("'","%27")}export{e as a,t as b,n as g}
@@ -1 +0,0 @@
1
- import{l as t}from"./p-DYMWBqU1.js";const i=Symbol("newer"),s=Symbol("older");class h{constructor(t,i){"number"!=typeof t&&(i=t,t=0),this.size=0,this.limit=t,this.oldest=this.newest=void 0,this._keymap=new Map,i&&(this.assign(i),t<1&&(this.limit=this.size))}_markEntryAsUsed(t){t!==this.newest&&(t[i]&&(t===this.oldest&&(this.oldest=t[i]),t[i][s]=t[s]),t[s]&&(t[s][i]=t[i]),t[i]=void 0,t[s]=this.newest,this.newest&&(this.newest[i]=t),this.newest=t)}assign(t){let h,n=this.limit||Number.MAX_VALUE;this._keymap.clear();let o=t[Symbol.iterator]();for(let t=o.next();!t.done;t=o.next()){let o=new e(t.value[0],t.value[1]);if(this._keymap.set(o.key,o),h?(h[i]=o,o[s]=h):this.oldest=o,h=o,0==n--)throw new Error("overflow")}this.newest=h,this.size=this._keymap.size}get(t){var i=this._keymap.get(t);if(i)return this._markEntryAsUsed(i),i.value}set(t,h){var n=this._keymap.get(t);return n?(n.value=h,this._markEntryAsUsed(n),this):(this._keymap.set(t,n=new e(t,h)),this.newest?(this.newest[i]=n,n[s]=this.newest):this.oldest=n,this.newest=n,++this.size,this.size>this.limit&&this.shift(),this)}shift(){var t=this.oldest;if(t)return this.oldest[i]?(this.oldest=this.oldest[i],this.oldest[s]=void 0):(this.oldest=void 0,this.newest=void 0),t[i]=t[s]=void 0,this._keymap.delete(t.key),--this.size,[t.key,t.value]}find(t){let i=this._keymap.get(t);return i?i.value:void 0}has(t){return this._keymap.has(t)}delete(t){var h=this._keymap.get(t);if(h)return this._keymap.delete(h.key),h[i]&&h[s]?(h[s][i]=h[i],h[i][s]=h[s]):h[i]?(h[i][s]=void 0,this.oldest=h[i]):h[s]?(h[s][i]=void 0,this.newest=h[s]):this.oldest=this.newest=void 0,this.size--,h.value}clear(){this.oldest=this.newest=void 0,this.size=0,this._keymap.clear()}keys(){return new o(this.oldest)}values(){return new r(this.oldest)}entries(){return this}[Symbol.iterator](){return new n(this.oldest)}forEach(t,s){"object"!=typeof s&&(s=this);let h=this.oldest;for(;h;)t.call(s,h.value,h.key,this),h=h[i]}toJSON(){for(var t=new Array(this.size),s=0,h=this.oldest;h;)t[s++]={key:h.key,value:h.value},h=h[i];return t}toString(){for(var t="",s=this.oldest;s;)t+=String(s.key)+":"+s.value,(s=s[i])&&(t+=" < ");return t}}function e(t,h){this.key=t,this.value=h,this[i]=void 0,this[s]=void 0}function n(t){this.entry=t}function o(t){this.entry=t}function r(t){this.entry=t}n.prototype[Symbol.iterator]=function(){return this},n.prototype.next=function(){let t=this.entry;return t?(this.entry=t[i],{done:!1,value:[t.key,t.value]}):{done:!0,value:void 0}},o.prototype[Symbol.iterator]=function(){return this},o.prototype.next=function(){let t=this.entry;return t?(this.entry=t[i],{done:!1,value:t.key}):{done:!0,value:void 0}},r.prototype[Symbol.iterator]=function(){return this},r.prototype.next=function(){let t=this.entry;return t?(this.entry=t[i],{done:!1,value:t.value}):{done:!0,value:void 0}};class a extends t.GridLayer{static{this.setDefaultOptions?this.setDefaultOptions({maxZoom:21,type:"roadmap",maxNativeZoom:21}):(this.options??={},this.options.maxZoom??=21,this.options.type??="roadmap",this.options.maxNativeZoom??=21)}constructor(t){super(t),this._tileCallbacks={},this._lru=new h(100),this._imagesPerTile=1,this._boundOnMutatedImage=this._onMutatedImage.bind(this)}onAdd(t){super.onAdd(t),this._initMutantContainer(),this._logoContainer&&t._controlCorners.bottomleft.appendChild(this._logoContainer),this._attributionContainer&&t._controlCorners.bottomright.appendChild(this._attributionContainer),function(t){let i=0,s=null;s=setInterval((function(){if(i>=20)throw clearInterval(s),new Error("window.google not found after 10 seconds");window.google&&window.google.maps&&window.google.maps.Map&&(clearInterval(s),t.call(undefined)),++i}),500)}((()=>{this._map&&(this._initMutant(),google.maps.event.addListenerOnce(this._mutant,"idle",(()=>{this._map&&(this._checkZoomLevels(),this._mutantIsReady=!0)})))}))}onRemove(t){super.onRemove(t),this._observer.disconnect(),t._container.removeChild(this._mutantContainer),this._logoContainer?.remove(),this._attributionContainer?.remove(),this._mutant&&google.maps.event.clearListeners(this._mutant,"idle")}addGoogleLayer(t,i){return this._subLayers||(this._subLayers={}),this.whenReady((()=>{var s=new(0,google.maps[t])(i);s.setMap(this._mutant),this._subLayers[t]=s})),this}removeGoogleLayer(t){return this.whenReady((()=>{var i=this._subLayers&&this._subLayers[t];i&&(i.setMap(null),delete this._subLayers[t])})),this}_initMutantContainer(){this._mutantContainer||(this._mutantContainer=t.DomUtil.create("div","leaflet-google-mutant leaflet-top leaflet-left"),this._mutantContainer.id="_MutantContainer_"+t.Util.stamp(this._mutantContainer),this._mutantContainer.style.pointerEvents="none",this._mutantContainer.style.visibility="hidden",t.DomEvent.off(this._mutantContainer)),this._map.getContainer().appendChild(this._mutantContainer),this.setOpacity(this.options.opacity);const i=this._mutantContainer.style;this._map.options.zoomSnap<1?(i.width="180%",i.height="180%"):(i.width="100%",i.height="100%"),i.zIndex=-1,this._attachObserver(this._mutantContainer)}_initMutant(){if(!this._mutant){var t={center:{lat:0,lng:0},zoom:0,tilt:0,mapTypeId:this.options.type,disableDefaultUI:!0,keyboardShortcuts:!1,draggable:!1,disableDoubleClickZoom:!0,scrollwheel:!1,styles:this.options.styles||[],backgroundColor:"transparent"};null!=this.options.mapId&&(t.mapId=this.options.mapId);var i=new google.maps.Map(this._mutantContainer,t);this._mutant=i,this._update(),this.fire("spawned",{mapObject:i}),this._waitControls(),this.once("controls_ready",this._setupAttribution)}}_attachObserver(t){this._observer||(this._observer=new MutationObserver(this._onMutations.bind(this))),this._observer.observe(t,{childList:!0,subtree:!0}),Array.prototype.forEach.call(t.querySelectorAll("img"),this._boundOnMutatedImage)}_waitControls(){const t=setInterval((()=>{const i=this._mutant.__gm.layoutManager;if(!i)return;let s;clearInterval(t),Object.keys(i).forEach((function(t){const h=i[t];h.get&&h.get(1)instanceof Node&&(s=h)})),this.fire("controls_ready",{positions:s})}),50)}_setupAttribution(i){if(!this._map)return;const s=google.maps.ControlPosition,h=this._attributionContainer=i.positions.get(s.BOTTOM_RIGHT);h.classList.add("leaflet-control","leaflet-control-attribution"),t.DomEvent.disableClickPropagation(h),h.style.height="14px",this._map._controlCorners.bottomright.appendChild(h),this._logoContainer=i.positions.get(s.BOTTOM_LEFT),this._logoContainer.style.pointerEvents="auto",this._map._controlCorners.bottomleft.appendChild(this._logoContainer)}_onMutations(t){for(var i=0;i<t.length;++i)for(var s=t[i],h=0;h<s.addedNodes.length;++h){var e=s.addedNodes[h];e instanceof HTMLImageElement?this._onMutatedImage(e):e instanceof HTMLElement&&Array.prototype.forEach.call(e.querySelectorAll("img"),this._boundOnMutatedImage)}}_roadRegexp=/!1i(\d+)!2i(\d+)!3i(\d+|VinaFnapurmBegrtn)!/;_satRegexp=/x=(\d+)&y=(\d+)&z=(\d+|VinaFnapurmBegrtn)/;_onMutatedImage(t){let i,s=t.src.match(this._roadRegexp),h=0;if(s?(i={z:s[1],x:s[2],y:s[3]},this._imagesPerTile>1&&(t.style.zIndex=1,h=1)):(s=t.src.match(this._satRegexp),s&&(i={x:s[1],y:s[2],z:s[3]}),h=0),i){var e=this._tileCoordsToKey(i);t.style.position="absolute";var n=e+"/"+h;this._lru.set(n,t),n in this._tileCallbacks&&this._tileCallbacks[n]&&(this._tileCallbacks[n].forEach((i=>i(t))),delete this._tileCallbacks[n])}}createTile(i,s){const h=this._tileCoordsToKey(i),e=t.DomUtil.create("div");e.style.textAlign="left",e.dataset.pending=this._imagesPerTile,s=s.bind(this,null,e);for(var n=0;n<this._imagesPerTile;++n){const t=h+"/"+n,i=this._lru.get(t);i?(e.appendChild(this._clone(i)),--e.dataset.pending):(this._tileCallbacks[t]=this._tileCallbacks[t]||[],this._tileCallbacks[t].push(function(t){return function(i){t.appendChild(this._clone(i)),--t.dataset.pending,parseInt(t.dataset.pending)||s()}.bind(this)}.bind(this)(e)))}return parseInt(e.dataset.pending)||t.Util.requestAnimFrame(s),e}_clone(t){const i=t.cloneNode(!0);return i.style.visibility="visible",i}_checkZoomLevels(){const t=this._map.getZoom(),i=this._mutant.getZoom();t&&i&&(i!==t||i>this.options.maxNativeZoom)&&this._setMaxNativeZoom(i)}_setMaxNativeZoom(t){t!==this.options.maxNativeZoom&&(this.options.maxNativeZoom=t,this._resetView())}_update(t){if(this._mutant){t=t||this._map.getCenter();const i=new google.maps.LatLng(t.lat,t.lng),s=Math.round(this._map.getZoom()),h=this._mutant.getZoom();this._mutant.setCenter(i),s!==h&&(this._mutant.setZoom(s),this._mutantIsReady&&this._checkZoomLevels())}super._update(t)}whenReady(t,i){return this._mutant?t.call(i||this,{target:this}):this.on("spawned",t,i),this}}L&&L.gridLayer&&(L.gridLayer.googleMutant=function(t){return new L.GridLayer.GoogleMutant(t)});export{a as default}