adminizer 5.0.0-build.2 → 5.0.0-build.21

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 (300) hide show
  1. package/assets/abnfDiagram-VCTEODGH-CkmsvdDi.js +1 -0
  2. package/assets/add-CESPH_aI.js +1 -0
  3. package/assets/add-group-CQ4Xm8Ru.js +1 -0
  4. package/assets/add-user-B-QNjR4B.js +1 -0
  5. package/assets/ai-assistant/agent.es.js +28362 -0
  6. package/assets/app-C5Ju5Zra.css +1 -0
  7. package/assets/app-Ca5yUSBv.js +138 -0
  8. package/assets/arc-B-Dt8YNl.js +1 -0
  9. package/assets/architectureDiagram-5GKGNRK7-Ca58kq-l.js +36 -0
  10. package/assets/asmcrypto-DZeQH0LC.js +1 -0
  11. package/assets/blockDiagram-NRAW4CY4-CuqE52IG.js +129 -0
  12. package/assets/c4Diagram-UCG6FXSJ-Cx8z-0Bw.js +38 -0
  13. package/assets/catalog-CkSbxvx0.js +6 -0
  14. package/assets/channel-C9z6Pi_j.js +1 -0
  15. package/assets/chunk-2Q5K7J3B-CXISVKTC.js +1 -0
  16. package/assets/chunk-5VM5RSS4-DYGeeVYe.js +15 -0
  17. package/assets/chunk-F27PBJKO-BeY-dbKj.js +1 -0
  18. package/assets/chunk-G27WJ6UU-DeX_eH7C.js +231 -0
  19. package/assets/chunk-JWPE2WC7-DaxI9q0u.js +1 -0
  20. package/assets/chunk-LCL6LL3I-B7PkaEz_.js +206 -0
  21. package/assets/chunk-POPQ4Y6H-lwu6ZpsN.js +1 -0
  22. package/assets/chunk-SVP7TREG-CVFllgl1.js +88 -0
  23. package/assets/chunk-XXDRQBXY-DDLN0rcg.js +1 -0
  24. package/assets/classDiagram-DTDB5LWJ-BKtCIC3B.js +1 -0
  25. package/assets/classDiagram-v2-JRS7N3AN-BKtCIC3B.js +1 -0
  26. package/assets/controls/ckeditor.es.js +9370 -9306
  27. package/assets/controls/handsontable.es.js +11971 -11938
  28. package/assets/controls/jsoneditor.es.js +13104 -13008
  29. package/assets/controls/leaflet.es.js +1023 -1004
  30. package/assets/controls/toast-ui.es.js +1843 -1834
  31. package/assets/cose-bilkent-JH36ORCC-CWRyUkhQ.js +1 -0
  32. package/assets/cynefin-OW5HDTMX-B1iLDXCC.js +166 -0
  33. package/assets/cynefinDiagram-5FMLGOSQ-DaXQHr3l.js +62 -0
  34. package/assets/cytoscape.esm-yzknjiTM.js +321 -0
  35. package/assets/dagre-3AP2YEHR-DFORa4Hz.js +4 -0
  36. package/assets/dashboard-Ssa1_Of3.js +3 -0
  37. package/assets/debounce-B3mXI_sx.js +1 -0
  38. package/assets/defaultLocale-DX6XiGOO.js +1 -0
  39. package/assets/diagram-S7CK7UJ4-CgP6KBo0.js +30 -0
  40. package/assets/diagram-UQ7AKVKN-oYfQe6w0.js +41 -0
  41. package/assets/diagram-VSXAHHWV-DfCU5wgt.js +3 -0
  42. package/assets/diagram-VX7I27RA-BITJVrNY.js +24 -0
  43. package/assets/diagram-Z3DM3KII-D8J9Ssjy.js +24 -0
  44. package/assets/docs-DHMt_Rq1.js +1 -0
  45. package/assets/ebnfDiagram-PWID7BFC-qpNmoYgx.js +1 -0
  46. package/assets/erDiagram-SSCWMZ5O-DDF-Y0zs.js +99 -0
  47. package/assets/flowDiagram-A5DVABFB-CjKVkR9T.js +168 -0
  48. package/assets/ganttDiagram-EL5Y4UJY-BXGQ53w6.js +292 -0
  49. package/assets/gitGraphDiagram-WWUBYQGX-BLMevdLh.js +106 -0
  50. package/assets/history-tBOo2gd5.js +1 -0
  51. package/assets/infoDiagram-RXCK75RN-BAnPdnyw.js +2 -0
  52. package/assets/init-Gi6I4Gst.js +1 -0
  53. package/assets/init-user-DrNUHa6r.js +1 -0
  54. package/assets/isObject-DL-BuaBl.js +1 -0
  55. package/assets/ishikawaDiagram-5VMMS53U-PnL0Z4Li.js +70 -0
  56. package/assets/journeyDiagram-EYS64GPL-CLcsCSwF.js +139 -0
  57. package/assets/kanban-definition-3QL26DDD-C2eU3uBE.js +89 -0
  58. package/assets/katex-HP8lGamR.js +257 -0
  59. package/assets/layout-BXoYdHdx.js +1 -0
  60. package/assets/linear-BSzrP0oP.js +1 -0
  61. package/assets/list-CLg6xeIK.js +4 -0
  62. package/assets/login-Ce7o3-o_.js +1 -0
  63. package/assets/manifest.json +834 -58
  64. package/assets/{media-manager-BDbpSSjH.js → media-manager-D7G1P3fz.js} +3 -3
  65. package/assets/mermaid.core-aKMJHeEk.js +310 -0
  66. package/assets/mindmap-definition-FBJOCRG2-Dzbz5ghA.js +96 -0
  67. package/assets/module-BsXph_pA.js +1 -0
  68. package/assets/notification-D-Zz1gF_.js +20 -0
  69. package/assets/ordinal-Cboi1Yqb.js +1 -0
  70. package/assets/pegDiagram-XKGWAZYB-BTdWkU0Y.js +1 -0
  71. package/assets/pieDiagram-E7YTZNPT-Dnw8-TB-.js +39 -0
  72. package/assets/quadrantDiagram-AXDQQJYC-CALzLlg9.js +7 -0
  73. package/assets/railroadDiagram-O6MQD6OU-CTA1vzcv.js +1 -0
  74. package/assets/register-CNnBkzej.js +1 -0
  75. package/assets/requirementDiagram-EFPCY7ZU-UX2CF5HA.js +84 -0
  76. package/assets/ru-CoNgAwFK.js +1 -0
  77. package/assets/sankeyDiagram-P5KCCOFB-4aPp3ATV.js +40 -0
  78. package/assets/sequenceDiagram-WJ2MYXX4--kltkwJw.js +162 -0
  79. package/assets/sizeCapture-X5ZJPWSS-Ca9-g5QY.js +1 -0
  80. package/assets/stateDiagram-HBIQ2CUA-Diaf5Q7I.js +1 -0
  81. package/assets/stateDiagram-v2-4QOOHH4V-C6FlRp7u.js +1 -0
  82. package/assets/swimlanes-XN3QIQJK-DhqX_myE.js +1 -0
  83. package/assets/swimlanesDiagram-VK2B7HYN-i_3LTEBk.js +8 -0
  84. package/assets/timeline-definition-24CTP7MA-CwkJQbhq.js +120 -0
  85. package/assets/toNumber-DZb-r9sy.js +1 -0
  86. package/assets/use-appearance-DC-DESKB.js +1 -0
  87. package/assets/user-filters-list-W47DTBp2.js +1 -0
  88. package/assets/vennDiagram-4TSXK5OY-BNM3_cVS.js +34 -0
  89. package/assets/wardleyDiagram-VM6X3IG4-BODb1NP8.js +78 -0
  90. package/assets/welcome-BeBm6NIi.js +1 -0
  91. package/assets/with-app-layout-B90DtzYC.js +31 -0
  92. package/assets/xychartDiagram-S5SC5T6Z-DthqEh3g.js +7 -0
  93. package/controllers/access-rights/permissionOptions.d.ts +2 -0
  94. package/controllers/access-rights/permissionOptions.js +23 -0
  95. package/controllers/add.js +1 -1
  96. package/controllers/addGroup.js +15 -6
  97. package/controllers/ai/AiAgentController.d.ts +66 -0
  98. package/controllers/ai/AiAgentController.js +435 -0
  99. package/controllers/ai/AiAssistantController.d.ts +0 -4
  100. package/controllers/ai/AiAssistantController.js +4 -78
  101. package/controllers/catalog/FrontendCatalogAdapter.d.ts +1 -1
  102. package/controllers/catalog/FrontentCatalogAdapter.d.ts +1 -1
  103. package/controllers/docs/index.d.ts +22 -0
  104. package/controllers/docs/index.js +126 -0
  105. package/controllers/edit.js +1 -1
  106. package/controllers/editGroup.js +15 -6
  107. package/controllers/feedback/feedbackController.d.ts +1 -1
  108. package/controllers/filter-fields/savedFilters.js +1 -1
  109. package/controllers/history-actions/HistoryController.d.ts +1 -1
  110. package/controllers/history-actions/HistoryController.js +6 -6
  111. package/controllers/list.js +1 -1
  112. package/controllers/login.js +1 -1
  113. package/controllers/media-manager/mediaManagerAdapter.d.ts +1 -1
  114. package/controllers/notifications/NotificationController.js +14 -8
  115. package/controllers/view.js +2 -2
  116. package/controllers/widgets/filterInfo.js +1 -1
  117. package/helpers/accessRightsHelper.d.ts +11 -4
  118. package/helpers/accessRightsHelper.js +82 -12
  119. package/helpers/assetVersionHelper.d.ts +14 -0
  120. package/helpers/assetVersionHelper.js +42 -0
  121. package/helpers/configHelper.d.ts +3 -3
  122. package/helpers/configHelper.js +20 -18
  123. package/helpers/controllerHelper.d.ts +3 -2
  124. package/helpers/controllerHelper.js +25 -15
  125. package/helpers/fieldsHelper.d.ts +2 -2
  126. package/helpers/fieldsHelper.js +3 -3
  127. package/helpers/filterDatetimeHelper.d.ts +1 -1
  128. package/helpers/inertiaActionsHelper.d.ts +3 -3
  129. package/helpers/inertiaActionsHelper.js +4 -5
  130. package/helpers/inertiaAddHelper.d.ts +5 -5
  131. package/helpers/inertiaAddHelper.js +7 -6
  132. package/helpers/inertiaGroupHelper.d.ts +3 -3
  133. package/helpers/inertiaGroupHelper.js +10 -2
  134. package/helpers/inertiaListHelper.d.ts +4 -4
  135. package/helpers/inertiaListHelper.js +7 -8
  136. package/helpers/inertiaMenuHelper.d.ts +2 -3
  137. package/helpers/inertiaMenuHelper.js +3 -26
  138. package/helpers/inertiaUserHelper.d.ts +3 -3
  139. package/helpers/menuHelper.d.ts +2 -2
  140. package/helpers/modelResourceHelper.d.ts +9 -0
  141. package/helpers/modelResourceHelper.js +43 -0
  142. package/helpers/navigationAccessHelper.d.ts +13 -0
  143. package/helpers/navigationAccessHelper.js +40 -0
  144. package/helpers/translationHelper.d.ts +2 -2
  145. package/index.d.ts +69 -58
  146. package/index.js +11 -0
  147. package/interfaces/adminpanelConfig.d.ts +18 -5
  148. package/interfaces/global.d.ts +6 -6
  149. package/interfaces/internalModelAccess.d.ts +1 -1
  150. package/interfaces/listQueryBuilder.d.ts +1 -1
  151. package/interfaces/types.d.ts +171 -2
  152. package/lib/Adminizer.d.ts +46 -26
  153. package/lib/Adminizer.js +37 -1
  154. package/lib/DataAccessor.d.ts +7 -6
  155. package/lib/DataAccessor.js +50 -48
  156. package/lib/MiddlewareManager.d.ts +1 -1
  157. package/lib/access-rights/AccessRightsHandler.d.ts +2 -2
  158. package/lib/admin-links/AdminLinkHandler.d.ts +72 -0
  159. package/lib/admin-links/AdminLinkHandler.js +175 -0
  160. package/lib/ai-assistant/AbstractAiConversationHistoryService.d.ts +39 -0
  161. package/lib/ai-assistant/AbstractAiConversationHistoryService.js +98 -0
  162. package/lib/ai-assistant/AbstractAiModelService.d.ts +140 -3
  163. package/lib/ai-assistant/AbstractAiModelService.js +154 -1
  164. package/lib/ai-assistant/AiAgentRunManager.d.ts +35 -0
  165. package/lib/ai-assistant/AiAgentRunManager.js +109 -0
  166. package/lib/ai-assistant/AiAssistantAgentSkillHandler.d.ts +58 -0
  167. package/lib/ai-assistant/AiAssistantAgentSkillHandler.js +87 -0
  168. package/lib/ai-assistant/AiAssistantHandler.d.ts +16 -5
  169. package/lib/ai-assistant/AiAssistantHandler.js +35 -1
  170. package/lib/ai-assistant/AiAssistantUiMethodHandler.d.ts +60 -0
  171. package/lib/ai-assistant/AiAssistantUiMethodHandler.js +138 -0
  172. package/lib/ai-assistant/builtinAgentSkills.d.ts +9 -0
  173. package/lib/ai-assistant/builtinAgentSkills.js +256 -0
  174. package/lib/ai-assistant/jsonSafe.d.ts +13 -0
  175. package/lib/ai-assistant/jsonSafe.js +81 -0
  176. package/lib/app-manager/AdminizerApp.d.ts +40 -11
  177. package/lib/app-manager/AppManager.d.ts +2 -2
  178. package/lib/app-manager/AppManager.js +54 -50
  179. package/lib/app-manager/AssetHandler.d.ts +2 -2
  180. package/lib/app-manager/ConfigLayerHandler.d.ts +2 -2
  181. package/lib/app-manager/ControllerHandler.d.ts +2 -2
  182. package/lib/catalog/AbstractCatalog.d.ts +1 -1
  183. package/lib/catalog/CatalogHandler.d.ts +1 -1
  184. package/lib/controls/ControlsHandler.d.ts +1 -1
  185. package/lib/controls/codeEditor/MonacoEditor.d.ts +1 -1
  186. package/lib/controls/geojsoneditor/GeoEditor.d.ts +1 -1
  187. package/lib/controls/jsoneditor/JsonEditor.d.ts +1 -1
  188. package/lib/controls/markdown/ToastUiEditor.d.ts +1 -1
  189. package/lib/controls/table/Handsontable.d.ts +1 -1
  190. package/lib/controls/wysiwyg/CKeditor.d.ts +1 -1
  191. package/lib/docs/AbstractDocumentation.d.ts +100 -0
  192. package/lib/docs/AbstractDocumentation.js +108 -0
  193. package/lib/docs/DocumentationHandler.d.ts +100 -0
  194. package/lib/docs/DocumentationHandler.js +198 -0
  195. package/lib/docs/FileDocumentation.d.ts +47 -0
  196. package/lib/docs/FileDocumentation.js +189 -0
  197. package/lib/docs/docsAgentSkills.d.ts +10 -0
  198. package/lib/docs/docsAgentSkills.js +93 -0
  199. package/lib/feedback/FeedbackHandler.d.ts +2 -2
  200. package/lib/filters/ConditionValidator.d.ts +1 -1
  201. package/lib/filters/FilterCustomFieldHandler.d.ts +2 -2
  202. package/lib/filters/FilterService.d.ts +4 -4
  203. package/lib/filters/FilterService.js +4 -3
  204. package/lib/filters/index.d.ts +6 -6
  205. package/lib/history-actions/AbstractHistoryAdapter.d.ts +6 -6
  206. package/lib/history-actions/AbstractHistoryAdapter.js +11 -9
  207. package/lib/history-actions/DefaultHistoryAdapter.d.ts +4 -4
  208. package/lib/history-actions/HistoryHandler.d.ts +1 -1
  209. package/lib/list-query-builder/ListQueryBuilder.d.ts +7 -7
  210. package/lib/media-manager/AbstractMediaManager.d.ts +2 -2
  211. package/lib/media-manager/MediaManagerHandler.d.ts +1 -1
  212. package/lib/media-manager/Thumb.d.ts +1 -1
  213. package/lib/media-manager/helpers/MediaManagerHelper.d.ts +5 -5
  214. package/lib/model/AbstractModel.d.ts +11 -4
  215. package/lib/model/InternalModelAccessFactory.d.ts +2 -2
  216. package/lib/model/ModelHandler.d.ts +50 -5
  217. package/lib/model/ModelHandler.js +107 -8
  218. package/lib/model/adapter/sequelize.d.ts +7 -5
  219. package/lib/model/adapter/sequelize.js +79 -46
  220. package/lib/model/adapter/typeorm.d.ts +2 -2
  221. package/lib/model/adapter/typeorm.js +1 -1
  222. package/lib/model/internalModelRepository.d.ts +2 -2
  223. package/lib/notifications/AbstractNotificationService.d.ts +4 -4
  224. package/lib/notifications/GeneralNotificationService.d.ts +2 -2
  225. package/lib/notifications/GeneralNotificationService.js +6 -5
  226. package/lib/notifications/NotificationHandler.d.ts +2 -2
  227. package/lib/notifications/SystemNotificationService.d.ts +2 -2
  228. package/lib/notifications/SystemNotificationService.js +1 -1
  229. package/lib/requestProcessor.d.ts +1 -1
  230. package/lib/ui-i18n/uiTranslationKeys.d.ts +2 -1
  231. package/lib/ui-i18n/uiTranslationKeys.js +42 -1
  232. package/lib/widgets/abstractAction.d.ts +1 -1
  233. package/lib/widgets/abstractCustom.d.ts +2 -2
  234. package/lib/widgets/abstractInfo.d.ts +1 -1
  235. package/lib/widgets/abstractLink.d.ts +2 -2
  236. package/lib/widgets/abstractSwitch.d.ts +1 -1
  237. package/lib/widgets/abstractWidgetBase.d.ts +1 -1
  238. package/lib/widgets/widgetHandler.d.ts +9 -9
  239. package/lib/widgets/widgetHandler.js +5 -1
  240. package/models/Filter.d.ts +1 -1
  241. package/models/FilterColumn.d.ts +1 -1
  242. package/models/Group.d.ts +3 -2
  243. package/models/HistoryActions.d.ts +1 -1
  244. package/models/MediaManagerAP.d.ts +2 -2
  245. package/models/MediaManagerAssociationsAP.d.ts +1 -1
  246. package/models/MediaManagerMetaAP.d.ts +1 -1
  247. package/models/User.d.ts +2 -2
  248. package/models/UserNotification.d.ts +1 -1
  249. package/package.json +29 -20
  250. package/policies/authPolicies.js +6 -6
  251. package/policies/permissionResolvers.d.ts +1 -0
  252. package/policies/permissionResolvers.js +3 -0
  253. package/services/FeedService.d.ts +3 -3
  254. package/system/Router.d.ts +1 -1
  255. package/system/Router.js +27 -1
  256. package/system/bindAccessRights.d.ts +1 -1
  257. package/system/bindAccessRights.js +2 -3
  258. package/system/bindAuthorization.d.ts +1 -1
  259. package/system/bindControls.d.ts +1 -1
  260. package/system/bindCors.d.ts +1 -1
  261. package/system/bindCustomFilterHandlers.d.ts +1 -1
  262. package/system/bindDashboardWidgets.d.ts +1 -1
  263. package/system/bindDev.d.ts +1 -1
  264. package/system/bindDocs.d.ts +13 -0
  265. package/system/bindDocs.js +77 -0
  266. package/system/bindHistory.d.ts +1 -1
  267. package/system/bindInertia.d.ts +1 -1
  268. package/system/bindInertia.js +23 -1
  269. package/system/bindMediaManager.d.ts +1 -1
  270. package/system/bindNotifications.d.ts +1 -1
  271. package/system/bindReqFunctions.d.ts +1 -1
  272. package/system/bindTranslations.d.ts +1 -1
  273. package/system/buildInternalModelAccess.d.ts +3 -3
  274. package/system/buildInternalModelAccess.js +5 -2
  275. package/system/defaults.d.ts +1 -1
  276. package/system/routePolicies.d.ts +1 -1
  277. package/system/systemModelContracts.d.ts +1 -1
  278. package/system/systemModelContracts.js +11 -7
  279. package/system/validateSystemModels.d.ts +1 -1
  280. package/system/validateSystemModels.js +29 -9
  281. package/assets/add-group-BdHFzKng.js +0 -1
  282. package/assets/add-p6yGCoZ7.js +0 -1
  283. package/assets/add-user-CDspCLu4.js +0 -1
  284. package/assets/app-DNXiApCk.css +0 -1
  285. package/assets/app-layout-DCr_-JY3.js +0 -1
  286. package/assets/app.js +0 -138
  287. package/assets/catalog-XN-_p9TB.js +0 -6
  288. package/assets/dashboard-CHZO2QFY.js +0 -3
  289. package/assets/debounce-BMmXVQ06.js +0 -1
  290. package/assets/history-CQd0FojQ.js +0 -1
  291. package/assets/init-user-8aUohVDq.js +0 -1
  292. package/assets/list-PHWgTHsg.js +0 -4
  293. package/assets/login-CO4laf6m.js +0 -1
  294. package/assets/module-DVyQtIxm.js +0 -1
  295. package/assets/notification-B87XG8nQ.js +0 -20
  296. package/assets/register-DBYIMXGQ.js +0 -1
  297. package/assets/ru-rYKdQbWF.js +0 -1
  298. package/assets/use-appearance-_EbbjHTh.js +0 -1
  299. package/assets/user-filters-list-BRzDbPkx.js +0 -1
  300. package/assets/welcome-DiXmrTgc.js +0 -1
@@ -1,51 +1,51 @@
1
1
  import { j as O } from "./chunks/jsx-runtime-jIxVPx5o.js";
2
- import { g as _s } from "./chunks/_commonjsHelpers-C6fGbg64.js";
3
- const gs = window.React.useEffect, vs = window.React.useRef;
4
- function Lo(s, l) {
5
- const a = vs(l);
6
- gs(function() {
2
+ import { g as Ts } from "./chunks/_commonjsHelpers-C6fGbg64.js";
3
+ const Cs = window.React.useEffect, Ss = window.React.useRef;
4
+ function To(s, l) {
5
+ const a = Ss(l);
6
+ Cs(function() {
7
7
  l !== a.current && s.attributionControl != null && (a.current != null && s.attributionControl.removeAttribution(a.current), l != null && s.attributionControl.addAttribution(l)), a.current = l;
8
8
  }, [
9
9
  s,
10
10
  l
11
11
  ]);
12
12
  }
13
- const ys = window.React.createContext, bs = window.React.use, ws = 1;
14
- function xs(s) {
13
+ const zs = window.React.createContext, Ms = window.React.use, Es = 1;
14
+ function Os(s) {
15
15
  return Object.freeze({
16
- __version: ws,
16
+ __version: Es,
17
17
  map: s
18
18
  });
19
19
  }
20
- function ni(s, l) {
20
+ function oi(s, l) {
21
21
  return Object.freeze({
22
22
  ...s,
23
23
  ...l
24
24
  });
25
25
  }
26
- const Hi = ys(null);
27
- function oi() {
28
- const s = bs(Hi);
26
+ const Vi = zs(null);
27
+ function ri() {
28
+ const s = Ms(Vi);
29
29
  if (s == null)
30
30
  throw new Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");
31
31
  return s;
32
32
  }
33
- const Ps = window.React, ji = window.React.forwardRef, Ls = window.React.useEffect, Gi = window.React.useImperativeHandle, ks = window.React.useState, Ts = window.ReactDOM.createPortal;
34
- function ko(s) {
33
+ const As = window.React, Ui = window.React.forwardRef, Is = window.React.useEffect, $i = window.React.useImperativeHandle, Rs = window.React.useState, Zs = window.ReactDOM.createPortal;
34
+ function Co(s) {
35
35
  function l(a, h) {
36
36
  const { instance: u, context: p } = s(a).current;
37
- Gi(h, () => u);
37
+ $i(h, () => u);
38
38
  const { children: m } = a;
39
- return m == null ? null : /* @__PURE__ */ Ps.createElement(Hi, {
39
+ return m == null ? null : /* @__PURE__ */ As.createElement(Vi, {
40
40
  value: p
41
41
  }, m);
42
42
  }
43
- return /* @__PURE__ */ ji(l);
43
+ return /* @__PURE__ */ Ui(l);
44
44
  }
45
- function Cs(s) {
45
+ function Bs(s) {
46
46
  function l(a, h) {
47
- const [u, p] = ks(!1), { instance: m } = s(a, p).current;
48
- Gi(h, () => m), Ls(function() {
47
+ const [u, p] = Rs(!1), { instance: m } = s(a, p).current;
48
+ $i(h, () => m), Is(function() {
49
49
  u && m.update();
50
50
  }, [
51
51
  m,
@@ -53,21 +53,21 @@ function Cs(s) {
53
53
  a.children
54
54
  ]);
55
55
  const b = m._contentNode;
56
- return b ? /* @__PURE__ */ Ts(a.children, b) : null;
56
+ return b ? /* @__PURE__ */ Zs(a.children, b) : null;
57
57
  }
58
- return /* @__PURE__ */ ji(l);
58
+ return /* @__PURE__ */ Ui(l);
59
59
  }
60
- function zs(s) {
60
+ function Ns(s) {
61
61
  function l(a, h) {
62
62
  const { instance: u } = s(a).current;
63
- return Gi(h, () => u), null;
63
+ return $i(h, () => u), null;
64
64
  }
65
- return /* @__PURE__ */ ji(l);
65
+ return /* @__PURE__ */ Ui(l);
66
66
  }
67
- const Ss = window.React.useEffect, Ms = window.React.useRef;
68
- function Vi(s, l) {
69
- const a = Ms(void 0);
70
- Ss(function() {
67
+ const Ds = window.React.useEffect, Fs = window.React.useRef;
68
+ function qi(s, l) {
69
+ const a = Fs(void 0);
70
+ Ds(function() {
71
71
  return l != null && s.instance.on(l), a.current = l, function() {
72
72
  a.current != null && s.instance.off(a.current), a.current = null;
73
73
  };
@@ -76,26 +76,26 @@ function Vi(s, l) {
76
76
  l
77
77
  ]);
78
78
  }
79
- function ri(s, l) {
79
+ function si(s, l) {
80
80
  const a = s.pane ?? l.pane;
81
81
  return a ? {
82
82
  ...s,
83
83
  pane: a
84
84
  } : s;
85
85
  }
86
- function Es(s, l) {
86
+ function Ws(s, l) {
87
87
  return function(h, u) {
88
- const p = oi(), m = s(ri(h, p), p);
89
- return Lo(p.map, h.attribution), Vi(m.current, h.eventHandlers), l(m.current, p, h, u), m;
88
+ const p = ri(), m = s(si(h, p), p);
89
+ return To(p.map, h.attribution), qi(m.current, h.eventHandlers), l(m.current, p, h, u), m;
90
90
  };
91
91
  }
92
- var Me = { exports: {} };
93
- var Os = Me.exports, ro;
94
- function As() {
95
- return ro || (ro = 1, (function(s, l) {
92
+ var Ee = { exports: {} };
93
+ var Hs = Ee.exports, ho;
94
+ function js() {
95
+ return ho || (ho = 1, (function(s, l) {
96
96
  (function(a, h) {
97
97
  h(l);
98
- })(Os, (function(a) {
98
+ })(Hs, (function(a) {
99
99
  var h = "1.9.4";
100
100
  function u(t) {
101
101
  var e, i, n, o;
@@ -134,7 +134,7 @@ function As() {
134
134
  n ? o = arguments : (t.apply(i, arguments), setTimeout(c, e), n = !0);
135
135
  }, r;
136
136
  }
137
- function Z(t, e, i) {
137
+ function R(t, e, i) {
138
138
  var n = e[1], o = e[0], r = n - o;
139
139
  return t === n && i ? t : ((t - o) % r + r) % r + o;
140
140
  }
@@ -147,13 +147,13 @@ function As() {
147
147
  var i = Math.pow(10, e === void 0 ? 6 : e);
148
148
  return Math.round(t * i) / i;
149
149
  }
150
- function R(t) {
150
+ function Z(t) {
151
151
  return t.trim ? t.trim() : t.replace(/^\s+|\s+$/g, "");
152
152
  }
153
153
  function G(t) {
154
- return R(t).split(/\s+/);
154
+ return Z(t).split(/\s+/);
155
155
  }
156
- function z(t, e) {
156
+ function S(t, e) {
157
157
  Object.prototype.hasOwnProperty.call(t, "options") || (t.options = t.options ? p(t.options) : {});
158
158
  for (var i in e)
159
159
  t.options[i] = e[i];
@@ -192,7 +192,7 @@ function As() {
192
192
  var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e - W));
193
193
  return W = e + i, window.setTimeout(t, i);
194
194
  }
195
- var nt = window.requestAnimationFrame || C("RequestAnimationFrame") || w, Ut = window.cancelAnimationFrame || C("CancelAnimationFrame") || C("CancelRequestAnimationFrame") || function(t) {
195
+ var nt = window.requestAnimationFrame || C("RequestAnimationFrame") || w, $t = window.cancelAnimationFrame || C("CancelAnimationFrame") || C("CancelRequestAnimationFrame") || function(t) {
196
196
  window.clearTimeout(t);
197
197
  };
198
198
  function tt(t, e, i) {
@@ -202,9 +202,9 @@ function As() {
202
202
  return nt.call(window, m(t, e));
203
203
  }
204
204
  function ht(t) {
205
- t && Ut.call(window, t);
205
+ t && $t.call(window, t);
206
206
  }
207
- var Oe = {
207
+ var Ae = {
208
208
  __proto__: null,
209
209
  extend: u,
210
210
  create: p,
@@ -214,19 +214,19 @@ function As() {
214
214
  },
215
215
  stamp: v,
216
216
  throttle: g,
217
- wrapNum: Z,
217
+ wrapNum: R,
218
218
  falseFn: T,
219
219
  formatNum: D,
220
- trim: R,
220
+ trim: Z,
221
221
  splitWords: G,
222
- setOptions: z,
222
+ setOptions: S,
223
223
  getParamString: Y,
224
224
  template: X,
225
225
  isArray: U,
226
226
  indexOf: lt,
227
227
  emptyImageUrl: mt,
228
228
  requestFn: nt,
229
- cancelFn: Ut,
229
+ cancelFn: $t,
230
230
  requestAnimFrame: tt,
231
231
  cancelAnimFrame: ht
232
232
  };
@@ -234,12 +234,12 @@ function As() {
234
234
  }
235
235
  vt.extend = function(t) {
236
236
  var e = function() {
237
- z(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
237
+ S(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
238
238
  }, i = e.__super__ = this.prototype, n = p(i);
239
239
  n.constructor = e, e.prototype = n;
240
240
  for (var o in this)
241
241
  Object.prototype.hasOwnProperty.call(this, o) && o !== "prototype" && o !== "__super__" && (e[o] = this[o]);
242
- return t.statics && u(e, t.statics), t.includes && (Dt(t.includes), u.apply(null, [n].concat(t.includes))), u(n, t), delete n.statics, delete n.includes, n.options && (n.options = i.options ? p(i.options) : {}, u(n.options, t.options)), n._initHooks = [], n.callInitHooks = function() {
242
+ return t.statics && u(e, t.statics), t.includes && (Ft(t.includes), u.apply(null, [n].concat(t.includes))), u(n, t), delete n.statics, delete n.includes, n.options && (n.options = i.options ? p(i.options) : {}, u(n.options, t.options)), n._initHooks = [], n.callInitHooks = function() {
243
243
  if (!this._initHooksCalled) {
244
244
  i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
245
245
  for (var r = 0, c = n._initHooks.length; r < c; r++)
@@ -257,7 +257,7 @@ function As() {
257
257
  };
258
258
  return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(i), this;
259
259
  };
260
- function Dt(t) {
260
+ function Ft(t) {
261
261
  if (!(typeof L > "u" || !L || !L.Mixin)) {
262
262
  t = U(t) ? t : [t];
263
263
  for (var e = 0; e < t.length; e++)
@@ -432,7 +432,7 @@ function As() {
432
432
  function A(t, e, i) {
433
433
  this.x = i ? Math.round(t) : t, this.y = i ? Math.round(e) : e;
434
434
  }
435
- var ie = Math.trunc || function(t) {
435
+ var ne = Math.trunc || function(t) {
436
436
  return t > 0 ? Math.floor(t) : Math.ceil(t);
437
437
  };
438
438
  A.prototype = {
@@ -517,7 +517,7 @@ function As() {
517
517
  return this.clone()._trunc();
518
518
  },
519
519
  _trunc: function() {
520
- return this.x = ie(this.x), this.y = ie(this.y), this;
520
+ return this.x = ne(this.x), this.y = ne(this.y), this;
521
521
  },
522
522
  // @method distanceTo(otherPoint: Point): Number
523
523
  // Returns the cartesian distance between the current and the given points.
@@ -891,7 +891,7 @@ function As() {
891
891
  // Returns a `LatLng` where lat and lng has been wrapped according to the
892
892
  // CRS's `wrapLat` and `wrapLng` properties, if they are outside the CRS's bounds.
893
893
  wrapLatLng: function(t) {
894
- var e = this.wrapLng ? Z(t.lng, this.wrapLng, !0) : t.lng, i = this.wrapLat ? Z(t.lat, this.wrapLat, !0) : t.lat, n = t.alt;
894
+ var e = this.wrapLng ? R(t.lng, this.wrapLng, !0) : t.lng, i = this.wrapLat ? R(t.lat, this.wrapLat, !0) : t.lat, n = t.alt;
895
895
  return new I(i, e, n);
896
896
  },
897
897
  // @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds
@@ -916,7 +916,7 @@ function As() {
916
916
  var i = Math.PI / 180, n = t.lat * i, o = e.lat * i, r = Math.sin((e.lat - t.lat) * i / 2), c = Math.sin((e.lng - t.lng) * i / 2), d = r * r + Math.cos(n) * Math.cos(o) * c * c, f = 2 * Math.atan2(Math.sqrt(d), Math.sqrt(1 - d));
917
917
  return this.R * f;
918
918
  }
919
- }), et = 6378137, ne = {
919
+ }), et = 6378137, oe = {
920
920
  R: et,
921
921
  MAX_LATITUDE: 85.0511287798,
922
922
  project: function(t) {
@@ -938,14 +938,14 @@ function As() {
938
938
  return new $([-t, -t], [t, t]);
939
939
  })()
940
940
  };
941
- function Ft(t, e, i, n) {
941
+ function Wt(t, e, i, n) {
942
942
  if (U(t)) {
943
943
  this._a = t[0], this._b = t[1], this._c = t[2], this._d = t[3];
944
944
  return;
945
945
  }
946
946
  this._a = t, this._b = e, this._c = i, this._d = n;
947
947
  }
948
- Ft.prototype = {
948
+ Wt.prototype = {
949
949
  // @method transform(point: Point, scale?: Number): Point
950
950
  // Returns a transformed point, optionally multiplied by the given scale.
951
951
  // Only accepts actual `L.Point` instances, not arrays.
@@ -967,31 +967,31 @@ function As() {
967
967
  }
968
968
  };
969
969
  function zt(t, e, i, n) {
970
- return new Ft(t, e, i, n);
970
+ return new Wt(t, e, i, n);
971
971
  }
972
- var $t = u({}, Lt, {
972
+ var qt = u({}, Lt, {
973
973
  code: "EPSG:3857",
974
- projection: ne,
974
+ projection: oe,
975
975
  transformation: (function() {
976
- var t = 0.5 / (Math.PI * ne.R);
976
+ var t = 0.5 / (Math.PI * oe.R);
977
977
  return zt(t, 0.5, -t, 0.5);
978
978
  })()
979
- }), oe = u({}, $t, {
979
+ }), re = u({}, qt, {
980
980
  code: "EPSG:900913"
981
981
  });
982
- function Ki(t) {
982
+ function Qi(t) {
983
983
  return document.createElementNS("http://www.w3.org/2000/svg", t);
984
984
  }
985
- function Yi(t, e) {
985
+ function tn(t, e) {
986
986
  var i = "", n, o, r, c, d, f;
987
987
  for (n = 0, r = t.length; n < r; n++) {
988
988
  for (d = t[n], o = 0, c = d.length; o < c; o++)
989
989
  f = d[o], i += (o ? "L" : "M") + f.x + " " + f.y;
990
- i += e ? S.svg ? "z" : "x" : "";
990
+ i += e ? z.svg ? "z" : "x" : "";
991
991
  }
992
992
  return i || "M0 0";
993
993
  }
994
- var ai = document.documentElement.style, Ae = "ActiveXObject" in window, $o = Ae && !document.addEventListener, Xi = "msLaunchUri" in navigator && !("documentMode" in document), li = St("webkit"), Ji = St("android"), Qi = St("android 2") || St("android 3"), qo = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), Ko = Ji && St("Google") && qo < 537 && !("AudioNode" in window), hi = !!window.opera, tn = !Xi && St("chrome"), en = St("gecko") && !li && !hi && !Ae, Yo = !tn && St("safari"), nn = St("phantom"), on = "OTransition" in ai, Xo = navigator.platform.indexOf("Win") === 0, rn = Ae && "transition" in ai, ci = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Qi, sn = "MozPerspective" in ai, Jo = !window.L_DISABLE_3D && (rn || ci || sn) && !on && !nn, pe = typeof orientation < "u" || St("mobile"), Qo = pe && li, tr = pe && ci, an = !window.PointerEvent && window.MSPointerEvent, ln = !!(window.PointerEvent || an), hn = "ontouchstart" in window || !!window.TouchEvent, er = !window.L_NO_TOUCH && (hn || ln), ir = pe && hi, nr = pe && en, or = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, rr = (function() {
994
+ var li = document.documentElement.style, Ie = "ActiveXObject" in window, nr = Ie && !document.addEventListener, en = "msLaunchUri" in navigator && !("documentMode" in document), hi = Mt("webkit"), nn = Mt("android"), on = Mt("android 2") || Mt("android 3"), or = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), rr = nn && Mt("Google") && or < 537 && !("AudioNode" in window), ci = !!window.opera, rn = !en && Mt("chrome"), sn = Mt("gecko") && !hi && !ci && !Ie, sr = !rn && Mt("safari"), an = Mt("phantom"), ln = "OTransition" in li, ar = navigator.platform.indexOf("Win") === 0, hn = Ie && "transition" in li, ui = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !on, cn = "MozPerspective" in li, lr = !window.L_DISABLE_3D && (hn || ui || cn) && !ln && !an, _e = typeof orientation < "u" || Mt("mobile"), hr = _e && hi, cr = _e && ui, un = !window.PointerEvent && window.MSPointerEvent, dn = !!(window.PointerEvent || un), fn = "ontouchstart" in window || !!window.TouchEvent, ur = !window.L_NO_TOUCH && (fn || dn), dr = _e && ci, fr = _e && sn, mr = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, pr = (function() {
995
995
  var t = !1;
996
996
  try {
997
997
  var e = Object.defineProperty({}, "passive", {
@@ -1003,12 +1003,12 @@ function As() {
1003
1003
  } catch {
1004
1004
  }
1005
1005
  return t;
1006
- })(), sr = (function() {
1006
+ })(), _r = (function() {
1007
1007
  return !!document.createElement("canvas").getContext;
1008
- })(), ui = !!(document.createElementNS && Ki("svg").createSVGRect), ar = !!ui && (function() {
1008
+ })(), di = !!(document.createElementNS && Qi("svg").createSVGRect), gr = !!di && (function() {
1009
1009
  var t = document.createElement("div");
1010
1010
  return t.innerHTML = "<svg/>", (t.firstChild && t.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
1011
- })(), lr = !ui && (function() {
1011
+ })(), vr = !di && (function() {
1012
1012
  try {
1013
1013
  var t = document.createElement("div");
1014
1014
  t.innerHTML = '<v:shape adj="1"/>';
@@ -1017,98 +1017,98 @@ function As() {
1017
1017
  } catch {
1018
1018
  return !1;
1019
1019
  }
1020
- })(), hr = navigator.platform.indexOf("Mac") === 0, cr = navigator.platform.indexOf("Linux") === 0;
1021
- function St(t) {
1020
+ })(), yr = navigator.platform.indexOf("Mac") === 0, br = navigator.platform.indexOf("Linux") === 0;
1021
+ function Mt(t) {
1022
1022
  return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
1023
1023
  }
1024
- var S = {
1025
- ie: Ae,
1026
- ielt9: $o,
1027
- edge: Xi,
1028
- webkit: li,
1029
- android: Ji,
1030
- android23: Qi,
1031
- androidStock: Ko,
1032
- opera: hi,
1033
- chrome: tn,
1034
- gecko: en,
1035
- safari: Yo,
1036
- phantom: nn,
1037
- opera12: on,
1038
- win: Xo,
1039
- ie3d: rn,
1040
- webkit3d: ci,
1041
- gecko3d: sn,
1042
- any3d: Jo,
1043
- mobile: pe,
1044
- mobileWebkit: Qo,
1045
- mobileWebkit3d: tr,
1046
- msPointer: an,
1047
- pointer: ln,
1048
- touch: er,
1049
- touchNative: hn,
1050
- mobileOpera: ir,
1051
- mobileGecko: nr,
1052
- retina: or,
1053
- passiveEvents: rr,
1054
- canvas: sr,
1055
- svg: ui,
1056
- vml: lr,
1057
- inlineSvg: ar,
1058
- mac: hr,
1059
- linux: cr
1060
- }, cn = S.msPointer ? "MSPointerDown" : "pointerdown", un = S.msPointer ? "MSPointerMove" : "pointermove", dn = S.msPointer ? "MSPointerUp" : "pointerup", fn = S.msPointer ? "MSPointerCancel" : "pointercancel", di = {
1061
- touchstart: cn,
1062
- touchmove: un,
1063
- touchend: dn,
1064
- touchcancel: fn
1065
- }, mn = {
1066
- touchstart: _r,
1067
- touchmove: Ie,
1068
- touchend: Ie,
1069
- touchcancel: Ie
1070
- }, re = {}, pn = !1;
1071
- function ur(t, e, i) {
1072
- return e === "touchstart" && pr(), mn[e] ? (i = mn[e].bind(this, i), t.addEventListener(di[e], i, !1), i) : (console.warn("wrong event specified:", e), T);
1073
- }
1074
- function dr(t, e, i) {
1075
- if (!di[e]) {
1024
+ var z = {
1025
+ ie: Ie,
1026
+ ielt9: nr,
1027
+ edge: en,
1028
+ webkit: hi,
1029
+ android: nn,
1030
+ android23: on,
1031
+ androidStock: rr,
1032
+ opera: ci,
1033
+ chrome: rn,
1034
+ gecko: sn,
1035
+ safari: sr,
1036
+ phantom: an,
1037
+ opera12: ln,
1038
+ win: ar,
1039
+ ie3d: hn,
1040
+ webkit3d: ui,
1041
+ gecko3d: cn,
1042
+ any3d: lr,
1043
+ mobile: _e,
1044
+ mobileWebkit: hr,
1045
+ mobileWebkit3d: cr,
1046
+ msPointer: un,
1047
+ pointer: dn,
1048
+ touch: ur,
1049
+ touchNative: fn,
1050
+ mobileOpera: dr,
1051
+ mobileGecko: fr,
1052
+ retina: mr,
1053
+ passiveEvents: pr,
1054
+ canvas: _r,
1055
+ svg: di,
1056
+ vml: vr,
1057
+ inlineSvg: gr,
1058
+ mac: yr,
1059
+ linux: br
1060
+ }, mn = z.msPointer ? "MSPointerDown" : "pointerdown", pn = z.msPointer ? "MSPointerMove" : "pointermove", _n = z.msPointer ? "MSPointerUp" : "pointerup", gn = z.msPointer ? "MSPointerCancel" : "pointercancel", fi = {
1061
+ touchstart: mn,
1062
+ touchmove: pn,
1063
+ touchend: _n,
1064
+ touchcancel: gn
1065
+ }, vn = {
1066
+ touchstart: Tr,
1067
+ touchmove: Re,
1068
+ touchend: Re,
1069
+ touchcancel: Re
1070
+ }, se = {}, yn = !1;
1071
+ function wr(t, e, i) {
1072
+ return e === "touchstart" && kr(), vn[e] ? (i = vn[e].bind(this, i), t.addEventListener(fi[e], i, !1), i) : (console.warn("wrong event specified:", e), T);
1073
+ }
1074
+ function xr(t, e, i) {
1075
+ if (!fi[e]) {
1076
1076
  console.warn("wrong event specified:", e);
1077
1077
  return;
1078
1078
  }
1079
- t.removeEventListener(di[e], i, !1);
1079
+ t.removeEventListener(fi[e], i, !1);
1080
1080
  }
1081
- function fr(t) {
1082
- re[t.pointerId] = t;
1081
+ function Pr(t) {
1082
+ se[t.pointerId] = t;
1083
1083
  }
1084
- function mr(t) {
1085
- re[t.pointerId] && (re[t.pointerId] = t);
1084
+ function Lr(t) {
1085
+ se[t.pointerId] && (se[t.pointerId] = t);
1086
1086
  }
1087
- function _n(t) {
1088
- delete re[t.pointerId];
1087
+ function bn(t) {
1088
+ delete se[t.pointerId];
1089
1089
  }
1090
- function pr() {
1091
- pn || (document.addEventListener(cn, fr, !0), document.addEventListener(un, mr, !0), document.addEventListener(dn, _n, !0), document.addEventListener(fn, _n, !0), pn = !0);
1090
+ function kr() {
1091
+ yn || (document.addEventListener(mn, Pr, !0), document.addEventListener(pn, Lr, !0), document.addEventListener(_n, bn, !0), document.addEventListener(gn, bn, !0), yn = !0);
1092
1092
  }
1093
- function Ie(t, e) {
1093
+ function Re(t, e) {
1094
1094
  if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
1095
1095
  e.touches = [];
1096
- for (var i in re)
1097
- e.touches.push(re[i]);
1096
+ for (var i in se)
1097
+ e.touches.push(se[i]);
1098
1098
  e.changedTouches = [e], t(e);
1099
1099
  }
1100
1100
  }
1101
- function _r(t, e) {
1102
- e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && dt(e), Ie(t, e);
1101
+ function Tr(t, e) {
1102
+ e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && dt(e), Re(t, e);
1103
1103
  }
1104
- function gr(t) {
1104
+ function Cr(t) {
1105
1105
  var e = {}, i, n;
1106
1106
  for (n in t)
1107
1107
  i = t[n], e[n] = i && i.bind ? i.bind(t) : i;
1108
1108
  return t = e, e.type = "dblclick", e.detail = 2, e.isTrusted = !1, e._simulated = !0, e;
1109
1109
  }
1110
- var vr = 200;
1111
- function yr(t, e) {
1110
+ var Sr = 200;
1111
+ function zr(t, e) {
1112
1112
  t.addEventListener("dblclick", e);
1113
1113
  var i = 0, n;
1114
1114
  function o(r) {
@@ -1117,14 +1117,14 @@ function As() {
1117
1117
  return;
1118
1118
  }
1119
1119
  if (!(r.pointerType === "mouse" || r.sourceCapabilities && !r.sourceCapabilities.firesTouchEvents)) {
1120
- var c = wn(r);
1120
+ var c = kn(r);
1121
1121
  if (!(c.some(function(f) {
1122
1122
  return f instanceof HTMLLabelElement && f.attributes.for;
1123
1123
  }) && !c.some(function(f) {
1124
1124
  return f instanceof HTMLInputElement || f instanceof HTMLSelectElement;
1125
1125
  }))) {
1126
1126
  var d = Date.now();
1127
- d - i <= vr ? (n++, n === 2 && e(gr(r))) : n = 1, i = d;
1127
+ d - i <= Sr ? (n++, n === 2 && e(Cr(r))) : n = 1, i = d;
1128
1128
  }
1129
1129
  }
1130
1130
  }
@@ -1133,18 +1133,18 @@ function As() {
1133
1133
  simDblclick: o
1134
1134
  };
1135
1135
  }
1136
- function br(t, e) {
1136
+ function Mr(t, e) {
1137
1137
  t.removeEventListener("dblclick", e.dblclick), t.removeEventListener("click", e.simDblclick);
1138
1138
  }
1139
- var fi = Be(
1139
+ var mi = Ne(
1140
1140
  ["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
1141
- ), _e = Be(
1141
+ ), ge = Ne(
1142
1142
  ["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
1143
- ), gn = _e === "webkitTransition" || _e === "OTransition" ? _e + "End" : "transitionend";
1144
- function vn(t) {
1143
+ ), wn = ge === "webkitTransition" || ge === "OTransition" ? ge + "End" : "transitionend";
1144
+ function xn(t) {
1145
1145
  return typeof t == "string" ? document.getElementById(t) : t;
1146
1146
  }
1147
- function ge(t, e) {
1147
+ function ve(t, e) {
1148
1148
  var i = t.style[e] || t.currentStyle && t.currentStyle[e];
1149
1149
  if ((!i || i === "auto") && document.defaultView) {
1150
1150
  var n = document.defaultView.getComputedStyle(t, null);
@@ -1164,42 +1164,42 @@ function As() {
1164
1164
  for (; t.firstChild; )
1165
1165
  t.removeChild(t.firstChild);
1166
1166
  }
1167
- function se(t) {
1167
+ function ae(t) {
1168
1168
  var e = t.parentNode;
1169
1169
  e && e.lastChild !== t && e.appendChild(t);
1170
1170
  }
1171
- function ae(t) {
1171
+ function le(t) {
1172
1172
  var e = t.parentNode;
1173
1173
  e && e.firstChild !== t && e.insertBefore(t, e.firstChild);
1174
1174
  }
1175
- function mi(t, e) {
1175
+ function pi(t, e) {
1176
1176
  if (t.classList !== void 0)
1177
1177
  return t.classList.contains(e);
1178
- var i = Re(t);
1178
+ var i = Be(t);
1179
1179
  return i.length > 0 && new RegExp("(^|\\s)" + e + "(\\s|$)").test(i);
1180
1180
  }
1181
1181
  function N(t, e) {
1182
1182
  if (t.classList !== void 0)
1183
1183
  for (var i = G(e), n = 0, o = i.length; n < o; n++)
1184
1184
  t.classList.add(i[n]);
1185
- else if (!mi(t, e)) {
1186
- var r = Re(t);
1187
- pi(t, (r ? r + " " : "") + e);
1185
+ else if (!pi(t, e)) {
1186
+ var r = Be(t);
1187
+ _i(t, (r ? r + " " : "") + e);
1188
1188
  }
1189
1189
  }
1190
1190
  function it(t, e) {
1191
- t.classList !== void 0 ? t.classList.remove(e) : pi(t, R((" " + Re(t) + " ").replace(" " + e + " ", " ")));
1191
+ t.classList !== void 0 ? t.classList.remove(e) : _i(t, Z((" " + Be(t) + " ").replace(" " + e + " ", " ")));
1192
1192
  }
1193
- function pi(t, e) {
1193
+ function _i(t, e) {
1194
1194
  t.className.baseVal === void 0 ? t.className = e : t.className.baseVal = e;
1195
1195
  }
1196
- function Re(t) {
1196
+ function Be(t) {
1197
1197
  return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
1198
1198
  }
1199
1199
  function bt(t, e) {
1200
- "opacity" in t.style ? t.style.opacity = e : "filter" in t.style && wr(t, e);
1200
+ "opacity" in t.style ? t.style.opacity = e : "filter" in t.style && Er(t, e);
1201
1201
  }
1202
- function wr(t, e) {
1202
+ function Er(t, e) {
1203
1203
  var i = !1, n = "DXImageTransform.Microsoft.Alpha";
1204
1204
  try {
1205
1205
  i = t.filters.item(n);
@@ -1209,64 +1209,64 @@ function As() {
1209
1209
  }
1210
1210
  e = Math.round(e * 100), i ? (i.Enabled = e !== 100, i.Opacity = e) : t.style.filter += " progid:" + n + "(opacity=" + e + ")";
1211
1211
  }
1212
- function Be(t) {
1212
+ function Ne(t) {
1213
1213
  for (var e = document.documentElement.style, i = 0; i < t.length; i++)
1214
1214
  if (t[i] in e)
1215
1215
  return t[i];
1216
1216
  return !1;
1217
1217
  }
1218
- function qt(t, e, i) {
1218
+ function Kt(t, e, i) {
1219
1219
  var n = e || new A(0, 0);
1220
- t.style[fi] = (S.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
1220
+ t.style[mi] = (z.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
1221
1221
  }
1222
1222
  function ot(t, e) {
1223
- t._leaflet_pos = e, S.any3d ? qt(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
1223
+ t._leaflet_pos = e, z.any3d ? Kt(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
1224
1224
  }
1225
- function Kt(t) {
1225
+ function Yt(t) {
1226
1226
  return t._leaflet_pos || new A(0, 0);
1227
1227
  }
1228
- var ve, ye, _i;
1228
+ var ye, be, gi;
1229
1229
  if ("onselectstart" in document)
1230
- ve = function() {
1230
+ ye = function() {
1231
1231
  B(window, "selectstart", dt);
1232
- }, ye = function() {
1232
+ }, be = function() {
1233
1233
  q(window, "selectstart", dt);
1234
1234
  };
1235
1235
  else {
1236
- var be = Be(
1236
+ var we = Ne(
1237
1237
  ["userSelect", "WebkitUserSelect", "OUserSelect", "MozUserSelect", "msUserSelect"]
1238
1238
  );
1239
- ve = function() {
1240
- if (be) {
1239
+ ye = function() {
1240
+ if (we) {
1241
1241
  var t = document.documentElement.style;
1242
- _i = t[be], t[be] = "none";
1242
+ gi = t[we], t[we] = "none";
1243
1243
  }
1244
- }, ye = function() {
1245
- be && (document.documentElement.style[be] = _i, _i = void 0);
1244
+ }, be = function() {
1245
+ we && (document.documentElement.style[we] = gi, gi = void 0);
1246
1246
  };
1247
1247
  }
1248
- function gi() {
1248
+ function vi() {
1249
1249
  B(window, "dragstart", dt);
1250
1250
  }
1251
- function vi() {
1251
+ function yi() {
1252
1252
  q(window, "dragstart", dt);
1253
1253
  }
1254
- var Ne, yi;
1255
- function bi(t) {
1254
+ var De, bi;
1255
+ function wi(t) {
1256
1256
  for (; t.tabIndex === -1; )
1257
1257
  t = t.parentNode;
1258
- t.style && (De(), Ne = t, yi = t.style.outlineStyle, t.style.outlineStyle = "none", B(window, "keydown", De));
1258
+ t.style && (Fe(), De = t, bi = t.style.outlineStyle, t.style.outlineStyle = "none", B(window, "keydown", Fe));
1259
1259
  }
1260
- function De() {
1261
- Ne && (Ne.style.outlineStyle = yi, Ne = void 0, yi = void 0, q(window, "keydown", De));
1260
+ function Fe() {
1261
+ De && (De.style.outlineStyle = bi, De = void 0, bi = void 0, q(window, "keydown", Fe));
1262
1262
  }
1263
- function yn(t) {
1263
+ function Pn(t) {
1264
1264
  do
1265
1265
  t = t.parentNode;
1266
1266
  while ((!t.offsetWidth || !t.offsetHeight) && t !== document.body);
1267
1267
  return t;
1268
1268
  }
1269
- function wi(t) {
1269
+ function xi(t) {
1270
1270
  var e = t.getBoundingClientRect();
1271
1271
  return {
1272
1272
  x: e.width / t.offsetWidth || 1,
@@ -1274,123 +1274,123 @@ function As() {
1274
1274
  boundingClientRect: e
1275
1275
  };
1276
1276
  }
1277
- var xr = {
1277
+ var Or = {
1278
1278
  __proto__: null,
1279
- TRANSFORM: fi,
1280
- TRANSITION: _e,
1281
- TRANSITION_END: gn,
1282
- get: vn,
1283
- getStyle: ge,
1279
+ TRANSFORM: mi,
1280
+ TRANSITION: ge,
1281
+ TRANSITION_END: wn,
1282
+ get: xn,
1283
+ getStyle: ve,
1284
1284
  create: V,
1285
1285
  remove: Q,
1286
1286
  empty: Ze,
1287
- toFront: se,
1288
- toBack: ae,
1289
- hasClass: mi,
1287
+ toFront: ae,
1288
+ toBack: le,
1289
+ hasClass: pi,
1290
1290
  addClass: N,
1291
1291
  removeClass: it,
1292
- setClass: pi,
1293
- getClass: Re,
1292
+ setClass: _i,
1293
+ getClass: Be,
1294
1294
  setOpacity: bt,
1295
- testProp: Be,
1296
- setTransform: qt,
1295
+ testProp: Ne,
1296
+ setTransform: Kt,
1297
1297
  setPosition: ot,
1298
- getPosition: Kt,
1298
+ getPosition: Yt,
1299
1299
  get disableTextSelection() {
1300
- return ve;
1301
- },
1302
- get enableTextSelection() {
1303
1300
  return ye;
1304
1301
  },
1305
- disableImageDrag: gi,
1306
- enableImageDrag: vi,
1307
- preventOutline: bi,
1308
- restoreOutline: De,
1309
- getSizedParentNode: yn,
1310
- getScale: wi
1302
+ get enableTextSelection() {
1303
+ return be;
1304
+ },
1305
+ disableImageDrag: vi,
1306
+ enableImageDrag: yi,
1307
+ preventOutline: wi,
1308
+ restoreOutline: Fe,
1309
+ getSizedParentNode: Pn,
1310
+ getScale: xi
1311
1311
  };
1312
1312
  function B(t, e, i, n) {
1313
1313
  if (e && typeof e == "object")
1314
1314
  for (var o in e)
1315
- Pi(t, o, e[o], i);
1315
+ Li(t, o, e[o], i);
1316
1316
  else {
1317
1317
  e = G(e);
1318
1318
  for (var r = 0, c = e.length; r < c; r++)
1319
- Pi(t, e[r], i, n);
1319
+ Li(t, e[r], i, n);
1320
1320
  }
1321
1321
  return this;
1322
1322
  }
1323
- var Mt = "_leaflet_events";
1323
+ var Et = "_leaflet_events";
1324
1324
  function q(t, e, i, n) {
1325
1325
  if (arguments.length === 1)
1326
- bn(t), delete t[Mt];
1326
+ Ln(t), delete t[Et];
1327
1327
  else if (e && typeof e == "object")
1328
1328
  for (var o in e)
1329
- Li(t, o, e[o], i);
1329
+ ki(t, o, e[o], i);
1330
1330
  else if (e = G(e), arguments.length === 2)
1331
- bn(t, function(d) {
1331
+ Ln(t, function(d) {
1332
1332
  return lt(e, d) !== -1;
1333
1333
  });
1334
1334
  else
1335
1335
  for (var r = 0, c = e.length; r < c; r++)
1336
- Li(t, e[r], i, n);
1336
+ ki(t, e[r], i, n);
1337
1337
  return this;
1338
1338
  }
1339
- function bn(t, e) {
1340
- for (var i in t[Mt]) {
1339
+ function Ln(t, e) {
1340
+ for (var i in t[Et]) {
1341
1341
  var n = i.split(/\d/)[0];
1342
- (!e || e(n)) && Li(t, n, null, null, i);
1342
+ (!e || e(n)) && ki(t, n, null, null, i);
1343
1343
  }
1344
1344
  }
1345
- var xi = {
1345
+ var Pi = {
1346
1346
  mouseenter: "mouseover",
1347
1347
  mouseleave: "mouseout",
1348
1348
  wheel: !("onwheel" in window) && "mousewheel"
1349
1349
  };
1350
- function Pi(t, e, i, n) {
1350
+ function Li(t, e, i, n) {
1351
1351
  var o = e + v(i) + (n ? "_" + v(n) : "");
1352
- if (t[Mt] && t[Mt][o])
1352
+ if (t[Et] && t[Et][o])
1353
1353
  return this;
1354
1354
  var r = function(d) {
1355
1355
  return i.call(n || t, d || window.event);
1356
1356
  }, c = r;
1357
- !S.touchNative && S.pointer && e.indexOf("touch") === 0 ? r = ur(t, e, r) : S.touch && e === "dblclick" ? r = yr(t, r) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(xi[e] || e, r, S.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (r = function(d) {
1358
- d = d || window.event, Ti(t, d) && c(d);
1359
- }, t.addEventListener(xi[e], r, !1)) : t.addEventListener(e, c, !1) : t.attachEvent("on" + e, r), t[Mt] = t[Mt] || {}, t[Mt][o] = r;
1357
+ !z.touchNative && z.pointer && e.indexOf("touch") === 0 ? r = wr(t, e, r) : z.touch && e === "dblclick" ? r = zr(t, r) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(Pi[e] || e, r, z.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (r = function(d) {
1358
+ d = d || window.event, Ci(t, d) && c(d);
1359
+ }, t.addEventListener(Pi[e], r, !1)) : t.addEventListener(e, c, !1) : t.attachEvent("on" + e, r), t[Et] = t[Et] || {}, t[Et][o] = r;
1360
1360
  }
1361
- function Li(t, e, i, n, o) {
1361
+ function ki(t, e, i, n, o) {
1362
1362
  o = o || e + v(i) + (n ? "_" + v(n) : "");
1363
- var r = t[Mt] && t[Mt][o];
1363
+ var r = t[Et] && t[Et][o];
1364
1364
  if (!r)
1365
1365
  return this;
1366
- !S.touchNative && S.pointer && e.indexOf("touch") === 0 ? dr(t, e, r) : S.touch && e === "dblclick" ? br(t, r) : "removeEventListener" in t ? t.removeEventListener(xi[e] || e, r, !1) : t.detachEvent("on" + e, r), t[Mt][o] = null;
1366
+ !z.touchNative && z.pointer && e.indexOf("touch") === 0 ? xr(t, e, r) : z.touch && e === "dblclick" ? Mr(t, r) : "removeEventListener" in t ? t.removeEventListener(Pi[e] || e, r, !1) : t.detachEvent("on" + e, r), t[Et][o] = null;
1367
1367
  }
1368
- function Yt(t) {
1368
+ function Xt(t) {
1369
1369
  return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
1370
1370
  }
1371
- function ki(t) {
1372
- return Pi(t, "wheel", Yt), this;
1371
+ function Ti(t) {
1372
+ return Li(t, "wheel", Xt), this;
1373
1373
  }
1374
- function we(t) {
1375
- return B(t, "mousedown touchstart dblclick contextmenu", Yt), t._leaflet_disable_click = !0, this;
1374
+ function xe(t) {
1375
+ return B(t, "mousedown touchstart dblclick contextmenu", Xt), t._leaflet_disable_click = !0, this;
1376
1376
  }
1377
1377
  function dt(t) {
1378
1378
  return t.preventDefault ? t.preventDefault() : t.returnValue = !1, this;
1379
1379
  }
1380
- function Xt(t) {
1381
- return dt(t), Yt(t), this;
1380
+ function Jt(t) {
1381
+ return dt(t), Xt(t), this;
1382
1382
  }
1383
- function wn(t) {
1383
+ function kn(t) {
1384
1384
  if (t.composedPath)
1385
1385
  return t.composedPath();
1386
1386
  for (var e = [], i = t.target; i; )
1387
1387
  e.push(i), i = i.parentNode;
1388
1388
  return e;
1389
1389
  }
1390
- function xn(t, e) {
1390
+ function Tn(t, e) {
1391
1391
  if (!e)
1392
1392
  return new A(t.clientX, t.clientY);
1393
- var i = wi(e), n = i.boundingClientRect;
1393
+ var i = xi(e), n = i.boundingClientRect;
1394
1394
  return new A(
1395
1395
  // offset.left/top values are in page scale (like clientX/Y),
1396
1396
  // whereas clientLeft/Top (border width) values are the original values (before CSS scale applies).
@@ -1398,11 +1398,11 @@ function As() {
1398
1398
  (t.clientY - n.top) / i.y - e.clientTop
1399
1399
  );
1400
1400
  }
1401
- var Pr = S.linux && S.chrome ? window.devicePixelRatio : S.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
1402
- function Pn(t) {
1403
- return S.edge ? t.wheelDeltaY / 2 : (
1401
+ var Ar = z.linux && z.chrome ? window.devicePixelRatio : z.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
1402
+ function Cn(t) {
1403
+ return z.edge ? t.wheelDeltaY / 2 : (
1404
1404
  // Don't trust window-geometry-based delta
1405
- t.deltaY && t.deltaMode === 0 ? -t.deltaY / Pr : (
1405
+ t.deltaY && t.deltaMode === 0 ? -t.deltaY / Ar : (
1406
1406
  // Pixels
1407
1407
  t.deltaY && t.deltaMode === 1 ? -t.deltaY * 20 : (
1408
1408
  // Lines
@@ -1426,7 +1426,7 @@ function As() {
1426
1426
  )
1427
1427
  );
1428
1428
  }
1429
- function Ti(t, e) {
1429
+ function Ci(t, e) {
1430
1430
  var i = e.relatedTarget;
1431
1431
  if (!i)
1432
1432
  return !0;
@@ -1438,29 +1438,29 @@ function As() {
1438
1438
  }
1439
1439
  return i !== t;
1440
1440
  }
1441
- var Lr = {
1441
+ var Ir = {
1442
1442
  __proto__: null,
1443
1443
  on: B,
1444
1444
  off: q,
1445
- stopPropagation: Yt,
1446
- disableScrollPropagation: ki,
1447
- disableClickPropagation: we,
1445
+ stopPropagation: Xt,
1446
+ disableScrollPropagation: Ti,
1447
+ disableClickPropagation: xe,
1448
1448
  preventDefault: dt,
1449
- stop: Xt,
1450
- getPropagationPath: wn,
1451
- getMousePosition: xn,
1452
- getWheelDelta: Pn,
1453
- isExternalTarget: Ti,
1449
+ stop: Jt,
1450
+ getPropagationPath: kn,
1451
+ getMousePosition: Tn,
1452
+ getWheelDelta: Cn,
1453
+ isExternalTarget: Ci,
1454
1454
  addListener: B,
1455
1455
  removeListener: q
1456
- }, Ln = yt.extend({
1456
+ }, Sn = yt.extend({
1457
1457
  // @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)
1458
1458
  // Run an animation of a given element to a new position, optionally setting
1459
1459
  // duration in seconds (`0.25` by default) and easing linearity factor (3rd
1460
1460
  // argument of the [cubic bezier curve](https://cubic-bezier.com/#0,0,.5,1),
1461
1461
  // `0.5` by default).
1462
1462
  run: function(t, e, i, n) {
1463
- this.stop(), this._el = t, this._inProgress = !0, this._duration = i || 0.25, this._easeOutPower = 1 / Math.max(n || 0.5, 0.2), this._startPos = Kt(t), this._offset = e.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
1463
+ this.stop(), this._el = t, this._inProgress = !0, this._duration = i || 0.25, this._easeOutPower = 1 / Math.max(n || 0.5, 0.2), this._startPos = Yt(t), this._offset = e.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
1464
1464
  },
1465
1465
  // @method stop()
1466
1466
  // Stops the animation (if currently running).
@@ -1490,7 +1490,7 @@ function As() {
1490
1490
  // @option crs: CRS = L.CRS.EPSG3857
1491
1491
  // The [Coordinate Reference System](#crs) to use. Don't change this if you're not
1492
1492
  // sure what it means.
1493
- crs: $t,
1493
+ crs: qt,
1494
1494
  // @option center: LatLng = undefined
1495
1495
  // Initial geographic center of the map
1496
1496
  center: void 0,
@@ -1562,7 +1562,7 @@ function As() {
1562
1562
  trackResize: !0
1563
1563
  },
1564
1564
  initialize: function(t, e) {
1565
- e = z(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = m(this._onResize, this), this._initEvents(), e.maxBounds && this.setMaxBounds(e.maxBounds), e.zoom !== void 0 && (this._zoom = this._limitZoom(e.zoom)), e.center && e.zoom !== void 0 && this.setView(M(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = _e && S.any3d && !S.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), B(this._proxy, gn, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
1565
+ e = S(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = m(this._onResize, this), this._initEvents(), e.maxBounds && this.setMaxBounds(e.maxBounds), e.zoom !== void 0 && (this._zoom = this._limitZoom(e.zoom)), e.center && e.zoom !== void 0 && this.setView(M(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = ge && z.any3d && !z.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), B(this._proxy, wn, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
1566
1566
  },
1567
1567
  // @section Methods for modifying map state
1568
1568
  // @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this
@@ -1585,12 +1585,12 @@ function As() {
1585
1585
  // @method zoomIn(delta?: Number, options?: Zoom options): this
1586
1586
  // Increases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).
1587
1587
  zoomIn: function(t, e) {
1588
- return t = t || (S.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom + t, e);
1588
+ return t = t || (z.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom + t, e);
1589
1589
  },
1590
1590
  // @method zoomOut(delta?: Number, options?: Zoom options): this
1591
1591
  // Decreases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).
1592
1592
  zoomOut: function(t, e) {
1593
- return t = t || (S.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom - t, e);
1593
+ return t = t || (z.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom - t, e);
1594
1594
  },
1595
1595
  // @method setZoomAround(latlng: LatLng, zoom: Number, options: Zoom options): this
1596
1596
  // Zooms the map while keeping a specified geographical point on the map
@@ -1643,7 +1643,7 @@ function As() {
1643
1643
  return this.fire("moveend");
1644
1644
  if (e.animate !== !0 && !this.getSize().contains(t))
1645
1645
  return this._resetView(this.unproject(this.project(this.getCenter()).add(t)), this.getZoom()), this;
1646
- if (this._panAnim || (this._panAnim = new Ln(), this._panAnim.on({
1646
+ if (this._panAnim || (this._panAnim = new Sn(), this._panAnim.on({
1647
1647
  step: this._onPanTransitionStep,
1648
1648
  end: this._onPanTransitionEnd
1649
1649
  }, this)), e.noMoveStart || this.fire("movestart"), e.animate !== !1) {
@@ -1658,15 +1658,15 @@ function As() {
1658
1658
  // Sets the view of the map (geographical center and zoom) performing a smooth
1659
1659
  // pan-zoom animation.
1660
1660
  flyTo: function(t, e, i) {
1661
- if (i = i || {}, i.animate === !1 || !S.any3d)
1661
+ if (i = i || {}, i.animate === !1 || !z.any3d)
1662
1662
  return this.setView(t, e, i);
1663
1663
  this._stop();
1664
1664
  var n = this.project(this.getCenter()), o = this.project(t), r = this.getSize(), c = this._zoom;
1665
1665
  t = M(t), e = e === void 0 ? c : e;
1666
1666
  var d = Math.max(r.x, r.y), f = d * this.getZoomScale(c, e), _ = o.distanceTo(n) || 1, x = 1.42, E = x * x;
1667
1667
  function H(rt) {
1668
- var Xe = rt ? -1 : 1, ds = rt ? f : d, fs = f * f - d * d + Xe * E * E * _ * _, ms = 2 * ds * E * _, Bi = fs / ms, oo = Math.sqrt(Bi * Bi + 1) - Bi, ps = oo < 1e-9 ? -18 : Math.log(oo);
1669
- return ps;
1668
+ var Je = rt ? -1 : 1, xs = rt ? f : d, Ps = f * f - d * d + Je * E * E * _ * _, Ls = 2 * xs * E * _, Ni = Ps / Ls, lo = Math.sqrt(Ni * Ni + 1) - Ni, ks = lo < 1e-9 ? -18 : Math.log(lo);
1669
+ return ks;
1670
1670
  }
1671
1671
  function pt(rt) {
1672
1672
  return (Math.exp(rt) - Math.exp(-rt)) / 2;
@@ -1678,25 +1678,25 @@ function As() {
1678
1678
  return pt(rt) / at(rt);
1679
1679
  }
1680
1680
  var gt = H(0);
1681
- function fe(rt) {
1681
+ function me(rt) {
1682
1682
  return d * (at(gt) / at(gt + x * rt));
1683
1683
  }
1684
- function ls(rt) {
1684
+ function vs(rt) {
1685
1685
  return d * (at(gt) * xt(gt + x * rt) - pt(gt)) / E;
1686
1686
  }
1687
- function hs(rt) {
1687
+ function ys(rt) {
1688
1688
  return 1 - Math.pow(1 - rt, 1.5);
1689
1689
  }
1690
- var cs = Date.now(), io = (H(1) - gt) / x, us = i.duration ? 1e3 * i.duration : 1e3 * io * 0.8;
1691
- function no() {
1692
- var rt = (Date.now() - cs) / us, Xe = hs(rt) * io;
1693
- rt <= 1 ? (this._flyToFrame = tt(no, this), this._move(
1694
- this.unproject(n.add(o.subtract(n).multiplyBy(ls(Xe) / _)), c),
1695
- this.getScaleZoom(d / fe(Xe), c),
1690
+ var bs = Date.now(), so = (H(1) - gt) / x, ws = i.duration ? 1e3 * i.duration : 1e3 * so * 0.8;
1691
+ function ao() {
1692
+ var rt = (Date.now() - bs) / ws, Je = ys(rt) * so;
1693
+ rt <= 1 ? (this._flyToFrame = tt(ao, this), this._move(
1694
+ this.unproject(n.add(o.subtract(n).multiplyBy(vs(Je) / _)), c),
1695
+ this.getScaleZoom(d / me(Je), c),
1696
1696
  { flyTo: !0 }
1697
1697
  )) : this._move(t, e)._moveEnd(!0);
1698
1698
  }
1699
- return this._moveStart(!0, i.noMoveStart), no.call(this), this;
1699
+ return this._moveStart(!0, i.noMoveStart), ao.call(this), this;
1700
1700
  },
1701
1701
  // @method flyToBounds(bounds: LatLngBounds, options?: fitBounds options): this
1702
1702
  // Sets the view of the map with a smooth animation like [`flyTo`](#map-flyto),
@@ -1906,7 +1906,7 @@ function As() {
1906
1906
  // the given bounds in its entirety.
1907
1907
  getBoundsZoom: function(t, e, i) {
1908
1908
  t = J(t), i = y(i || [0, 0]);
1909
- var n = this.getZoom() || 0, o = this.getMinZoom(), r = this.getMaxZoom(), c = t.getNorthWest(), d = t.getSouthEast(), f = this.getSize().subtract(i), _ = ct(this.project(d, n), this.project(c, n)).getSize(), x = S.any3d ? this.options.zoomSnap : 1, E = f.x / _.x, H = f.y / _.y, pt = e ? Math.max(E, H) : Math.min(E, H);
1909
+ var n = this.getZoom() || 0, o = this.getMinZoom(), r = this.getMaxZoom(), c = t.getNorthWest(), d = t.getSouthEast(), f = this.getSize().subtract(i), _ = ct(this.project(d, n), this.project(c, n)).getSize(), x = z.any3d ? this.options.zoomSnap : 1, E = f.x / _.x, H = f.y / _.y, pt = e ? Math.max(E, H) : Math.min(E, H);
1910
1910
  return n = this.getScaleZoom(pt, n), x && (n = Math.round(n / (x / 100)) * (x / 100), n = e ? Math.ceil(n / x) * x : Math.floor(n / x) * x), Math.max(o, Math.min(r, n));
1911
1911
  },
1912
1912
  // @method getSize(): Point
@@ -2054,7 +2054,7 @@ function As() {
2054
2054
  // Given a MouseEvent object, returns the pixel coordinate relative to the
2055
2055
  // map container where the event took place.
2056
2056
  mouseEventToContainerPoint: function(t) {
2057
- return xn(t, this._container);
2057
+ return Tn(t, this._container);
2058
2058
  },
2059
2059
  // @method mouseEventToLayerPoint(ev: MouseEvent): Point
2060
2060
  // Given a MouseEvent object, returns the pixel coordinate relative to
@@ -2070,7 +2070,7 @@ function As() {
2070
2070
  },
2071
2071
  // map initialization methods
2072
2072
  _initContainer: function(t) {
2073
- var e = this._container = vn(t);
2073
+ var e = this._container = xn(t);
2074
2074
  if (e) {
2075
2075
  if (e._leaflet_id)
2076
2076
  throw new Error("Map container is already initialized.");
@@ -2079,8 +2079,8 @@ function As() {
2079
2079
  },
2080
2080
  _initLayout: function() {
2081
2081
  var t = this._container;
2082
- this._fadeAnimated = this.options.fadeAnimation && S.any3d, N(t, "leaflet-container" + (S.touch ? " leaflet-touch" : "") + (S.retina ? " leaflet-retina" : "") + (S.ielt9 ? " leaflet-oldie" : "") + (S.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
2083
- var e = ge(t, "position");
2082
+ this._fadeAnimated = this.options.fadeAnimation && z.any3d, N(t, "leaflet-container" + (z.touch ? " leaflet-touch" : "") + (z.retina ? " leaflet-retina" : "") + (z.ielt9 ? " leaflet-oldie" : "") + (z.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
2083
+ var e = ve(t, "position");
2084
2084
  e !== "absolute" && e !== "relative" && e !== "fixed" && e !== "sticky" && (t.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
2085
2085
  },
2086
2086
  _initPanes: function() {
@@ -2128,7 +2128,7 @@ function As() {
2128
2128
  _initEvents: function(t) {
2129
2129
  this._targets = {}, this._targets[v(this._container)] = this;
2130
2130
  var e = t ? q : B;
2131
- e(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && e(window, "resize", this._onResize, this), S.any3d && this.options.transform3DLimit && (t ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
2131
+ e(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && e(window, "resize", this._onResize, this), z.any3d && this.options.transform3DLimit && (t ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
2132
2132
  },
2133
2133
  _onResize: function() {
2134
2134
  ht(this._resizeRequest), this._resizeRequest = tt(
@@ -2151,7 +2151,7 @@ function As() {
2151
2151
  c = !0;
2152
2152
  break;
2153
2153
  }
2154
- if (n && n.listens(e, !0) && (o && !Ti(r, t) || (i.push(n), o)) || r === this._container)
2154
+ if (n && n.listens(e, !0) && (o && !Ci(r, t) || (i.push(n), o)) || r === this._container)
2155
2155
  break;
2156
2156
  r = r.parentNode;
2157
2157
  }
@@ -2168,7 +2168,7 @@ function As() {
2168
2168
  var e = t.target || t.srcElement;
2169
2169
  if (!(!this._loaded || e._leaflet_disable_events || t.type === "click" && this._isClickDisabled(e))) {
2170
2170
  var i = t.type;
2171
- i === "mousedown" && bi(e), this._fireDOMEvent(t, i);
2171
+ i === "mousedown" && wi(e), this._fireDOMEvent(t, i);
2172
2172
  }
2173
2173
  },
2174
2174
  _mouseEvents: ["click", "dblclick", "mouseover", "mouseout", "contextmenu"],
@@ -2214,7 +2214,7 @@ function As() {
2214
2214
  },
2215
2215
  // private methods for getting map state
2216
2216
  _getMapPanePos: function() {
2217
- return Kt(this._mapPane) || new A(0, 0);
2217
+ return Yt(this._mapPane) || new A(0, 0);
2218
2218
  },
2219
2219
  _moved: function() {
2220
2220
  var t = this._getMapPanePos();
@@ -2275,7 +2275,7 @@ function As() {
2275
2275
  return t + e > 0 ? Math.round(t - e) / 2 : Math.max(0, Math.ceil(t)) - Math.max(0, Math.floor(e));
2276
2276
  },
2277
2277
  _limitZoom: function(t) {
2278
- var e = this.getMinZoom(), i = this.getMaxZoom(), n = S.any3d ? this.options.zoomSnap : 1;
2278
+ var e = this.getMinZoom(), i = this.getMaxZoom(), n = z.any3d ? this.options.zoomSnap : 1;
2279
2279
  return n && (t = Math.round(t / n) * n), Math.max(e, Math.min(i, t));
2280
2280
  },
2281
2281
  _onPanTransitionStep: function() {
@@ -2291,8 +2291,8 @@ function As() {
2291
2291
  _createAnimProxy: function() {
2292
2292
  var t = this._proxy = V("div", "leaflet-proxy leaflet-zoom-animated");
2293
2293
  this._panes.mapPane.appendChild(t), this.on("zoomanim", function(e) {
2294
- var i = fi, n = this._proxy.style[i];
2295
- qt(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[i] && this._animatingZoom && this._onZoomTransitionEnd();
2294
+ var i = mi, n = this._proxy.style[i];
2295
+ Kt(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[i] && this._animatingZoom && this._onZoomTransitionEnd();
2296
2296
  }, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
2297
2297
  },
2298
2298
  _destroyAnimProxy: function() {
@@ -2300,7 +2300,7 @@ function As() {
2300
2300
  },
2301
2301
  _animMoveEnd: function() {
2302
2302
  var t = this.getCenter(), e = this.getZoom();
2303
- qt(this._proxy, this.project(t, e), this.getZoomScale(e, 1));
2303
+ Kt(this._proxy, this.project(t, e), this.getZoomScale(e, 1));
2304
2304
  },
2305
2305
  _catchTransitionEnd: function(t) {
2306
2306
  this._animatingZoom && t.propertyName.indexOf("transform") >= 0 && this._onZoomTransitionEnd();
@@ -2329,7 +2329,7 @@ function As() {
2329
2329
  this._animatingZoom && (this._mapPane && it(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));
2330
2330
  }
2331
2331
  });
2332
- function kr(t, e) {
2332
+ function Rr(t, e) {
2333
2333
  return new j(t, e);
2334
2334
  }
2335
2335
  var kt = vt.extend({
@@ -2342,7 +2342,7 @@ function As() {
2342
2342
  position: "topright"
2343
2343
  },
2344
2344
  initialize: function(t) {
2345
- z(this, t);
2345
+ S(this, t);
2346
2346
  },
2347
2347
  /* @section
2348
2348
  * Classes extending L.Control will inherit the following methods:
@@ -2379,7 +2379,7 @@ function As() {
2379
2379
  _refocusOnMap: function(t) {
2380
2380
  this._map && t && t.screenX > 0 && t.screenY > 0 && this._map.getContainer().focus();
2381
2381
  }
2382
- }), xe = function(t) {
2382
+ }), Pe = function(t) {
2383
2383
  return new kt(t);
2384
2384
  };
2385
2385
  j.include({
@@ -2407,7 +2407,7 @@ function As() {
2407
2407
  Q(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
2408
2408
  }
2409
2409
  });
2410
- var kn = kt.extend({
2410
+ var zn = kt.extend({
2411
2411
  // @section
2412
2412
  // @aka Control.Layers options
2413
2413
  options: {
@@ -2436,7 +2436,7 @@ function As() {
2436
2436
  }
2437
2437
  },
2438
2438
  initialize: function(t, e, i) {
2439
- z(this, i), this._layerControlInputs = [], this._layers = [], this._lastZIndex = 0, this._handlingClick = !1, this._preventClick = !1;
2439
+ S(this, i), this._layerControlInputs = [], this._layers = [], this._lastZIndex = 0, this._handlingClick = !1, this._preventClick = !1;
2440
2440
  for (var n in t)
2441
2441
  this._addLayer(t[n], n);
2442
2442
  for (n in e)
@@ -2487,7 +2487,7 @@ function As() {
2487
2487
  },
2488
2488
  _initLayout: function() {
2489
2489
  var t = "leaflet-control-layers", e = this._container = V("div", t), i = this.options.collapsed;
2490
- e.setAttribute("aria-haspopup", !0), we(e), ki(e);
2490
+ e.setAttribute("aria-haspopup", !0), xe(e), Ti(e);
2491
2491
  var n = this._section = V("section", t + "-list");
2492
2492
  i && (this._map.on("click", this.collapse, this), B(e, {
2493
2493
  mouseenter: this._expandSafely,
@@ -2575,9 +2575,9 @@ function As() {
2575
2575
  q(t, "click", dt), e._preventClick = !1;
2576
2576
  });
2577
2577
  }
2578
- }), Tr = function(t, e, i) {
2579
- return new kn(t, e, i);
2580
- }, Ci = kt.extend({
2578
+ }), Zr = function(t, e, i) {
2579
+ return new zn(t, e, i);
2580
+ }, Si = kt.extend({
2581
2581
  // @section
2582
2582
  // @aka Control.Zoom options
2583
2583
  options: {
@@ -2628,7 +2628,7 @@ function As() {
2628
2628
  },
2629
2629
  _createButton: function(t, e, i, n, o) {
2630
2630
  var r = V("a", i, n);
2631
- return r.innerHTML = t, r.href = "#", r.title = e, r.setAttribute("role", "button"), r.setAttribute("aria-label", e), we(r), B(r, "click", Xt), B(r, "click", o, this), B(r, "click", this._refocusOnMap, this), r;
2631
+ return r.innerHTML = t, r.href = "#", r.title = e, r.setAttribute("role", "button"), r.setAttribute("aria-label", e), xe(r), B(r, "click", Jt), B(r, "click", o, this), B(r, "click", this._refocusOnMap, this), r;
2632
2632
  },
2633
2633
  _updateDisabled: function() {
2634
2634
  var t = this._map, e = "leaflet-disabled";
@@ -2638,11 +2638,11 @@ function As() {
2638
2638
  j.mergeOptions({
2639
2639
  zoomControl: !0
2640
2640
  }), j.addInitHook(function() {
2641
- this.options.zoomControl && (this.zoomControl = new Ci(), this.addControl(this.zoomControl));
2641
+ this.options.zoomControl && (this.zoomControl = new Si(), this.addControl(this.zoomControl));
2642
2642
  });
2643
- var Cr = function(t) {
2644
- return new Ci(t);
2645
- }, Tn = kt.extend({
2643
+ var Br = function(t) {
2644
+ return new Si(t);
2645
+ }, Mn = kt.extend({
2646
2646
  // @section
2647
2647
  // @aka Control.Scale options
2648
2648
  options: {
@@ -2694,22 +2694,22 @@ function As() {
2694
2694
  var e = Math.pow(10, (Math.floor(t) + "").length - 1), i = t / e;
2695
2695
  return i = i >= 10 ? 10 : i >= 5 ? 5 : i >= 3 ? 3 : i >= 2 ? 2 : 1, e * i;
2696
2696
  }
2697
- }), zr = function(t) {
2698
- return new Tn(t);
2699
- }, Sr = '<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>', zi = kt.extend({
2697
+ }), Nr = function(t) {
2698
+ return new Mn(t);
2699
+ }, Dr = '<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>', zi = kt.extend({
2700
2700
  // @section
2701
2701
  // @aka Control.Attribution options
2702
2702
  options: {
2703
2703
  position: "bottomright",
2704
2704
  // @option prefix: String|false = 'Leaflet'
2705
2705
  // The HTML text shown before the attributions. Pass `false` to disable.
2706
- prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (S.inlineSvg ? Sr + " " : "") + "Leaflet</a>"
2706
+ prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (z.inlineSvg ? Dr + " " : "") + "Leaflet</a>"
2707
2707
  },
2708
2708
  initialize: function(t) {
2709
- z(this, t), this._attributions = {};
2709
+ S(this, t), this._attributions = {};
2710
2710
  },
2711
2711
  onAdd: function(t) {
2712
- t.attributionControl = this, this._container = V("div", "leaflet-control-attribution"), we(this._container);
2712
+ t.attributionControl = this, this._container = V("div", "leaflet-control-attribution"), xe(this._container);
2713
2713
  for (var e in t._layers)
2714
2714
  t._layers[e].getAttribution && this.addAttribution(t._layers[e].getAttribution());
2715
2715
  return this._update(), t.on("layeradd", this._addAttribution, this), this._container;
@@ -2752,11 +2752,11 @@ function As() {
2752
2752
  }), j.addInitHook(function() {
2753
2753
  this.options.attributionControl && new zi().addTo(this);
2754
2754
  });
2755
- var Mr = function(t) {
2755
+ var Fr = function(t) {
2756
2756
  return new zi(t);
2757
2757
  };
2758
- kt.Layers = kn, kt.Zoom = Ci, kt.Scale = Tn, kt.Attribution = zi, xe.layers = Tr, xe.zoom = Cr, xe.scale = zr, xe.attribution = Mr;
2759
- var Et = vt.extend({
2758
+ kt.Layers = zn, kt.Zoom = Si, kt.Scale = Mn, kt.Attribution = zi, Pe.layers = Zr, Pe.zoom = Br, Pe.scale = Nr, Pe.attribution = Fr;
2759
+ var Ot = vt.extend({
2760
2760
  initialize: function(t) {
2761
2761
  this._map = t;
2762
2762
  },
@@ -2782,10 +2782,10 @@ function As() {
2782
2782
  // @method removeHooks()
2783
2783
  // Called when the handler is disabled, should remove the event hooks added previously.
2784
2784
  });
2785
- Et.addTo = function(t, e) {
2785
+ Ot.addTo = function(t, e) {
2786
2786
  return t.addHandler(e, this), this;
2787
2787
  };
2788
- var Er = { Events: K }, Cn = S.touch ? "touchstart mousedown" : "mousedown", Wt = yt.extend({
2788
+ var Wr = { Events: K }, En = z.touch ? "touchstart mousedown" : "mousedown", Ht = yt.extend({
2789
2789
  options: {
2790
2790
  // @section
2791
2791
  // @aka Draggable options
@@ -2797,28 +2797,28 @@ function As() {
2797
2797
  // @constructor L.Draggable(el: HTMLElement, dragHandle?: HTMLElement, preventOutline?: Boolean, options?: Draggable options)
2798
2798
  // Creates a `Draggable` object for moving `el` when you start dragging the `dragHandle` element (equals `el` itself by default).
2799
2799
  initialize: function(t, e, i, n) {
2800
- z(this, n), this._element = t, this._dragStartTarget = e || t, this._preventOutline = i;
2800
+ S(this, n), this._element = t, this._dragStartTarget = e || t, this._preventOutline = i;
2801
2801
  },
2802
2802
  // @method enable()
2803
2803
  // Enables the dragging ability
2804
2804
  enable: function() {
2805
- this._enabled || (B(this._dragStartTarget, Cn, this._onDown, this), this._enabled = !0);
2805
+ this._enabled || (B(this._dragStartTarget, En, this._onDown, this), this._enabled = !0);
2806
2806
  },
2807
2807
  // @method disable()
2808
2808
  // Disables the dragging ability
2809
2809
  disable: function() {
2810
- this._enabled && (Wt._dragging === this && this.finishDrag(!0), q(this._dragStartTarget, Cn, this._onDown, this), this._enabled = !1, this._moved = !1);
2810
+ this._enabled && (Ht._dragging === this && this.finishDrag(!0), q(this._dragStartTarget, En, this._onDown, this), this._enabled = !1, this._moved = !1);
2811
2811
  },
2812
2812
  _onDown: function(t) {
2813
- if (this._enabled && (this._moved = !1, !mi(this._element, "leaflet-zoom-anim"))) {
2813
+ if (this._enabled && (this._moved = !1, !pi(this._element, "leaflet-zoom-anim"))) {
2814
2814
  if (t.touches && t.touches.length !== 1) {
2815
- Wt._dragging === this && this.finishDrag();
2815
+ Ht._dragging === this && this.finishDrag();
2816
2816
  return;
2817
2817
  }
2818
- if (!(Wt._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (Wt._dragging = this, this._preventOutline && bi(this._element), gi(), ve(), !this._moving)) {
2818
+ if (!(Ht._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (Ht._dragging = this, this._preventOutline && wi(this._element), vi(), ye(), !this._moving)) {
2819
2819
  this.fire("down");
2820
- var e = t.touches ? t.touches[0] : t, i = yn(this._element);
2821
- this._startPoint = new A(e.clientX, e.clientY), this._startPos = Kt(this._element), this._parentScale = wi(i);
2820
+ var e = t.touches ? t.touches[0] : t, i = Pn(this._element);
2821
+ this._startPoint = new A(e.clientX, e.clientY), this._startPos = Yt(this._element), this._parentScale = xi(i);
2822
2822
  var n = t.type === "mousedown";
2823
2823
  B(document, n ? "mousemove" : "touchmove", this._onMove, this), B(document, n ? "mouseup" : "touchend touchcancel", this._onUp, this);
2824
2824
  }
@@ -2842,32 +2842,32 @@ function As() {
2842
2842
  this._enabled && this.finishDrag();
2843
2843
  },
2844
2844
  finishDrag: function(t) {
2845
- it(document.body, "leaflet-dragging"), this._lastTarget && (it(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), q(document, "mousemove touchmove", this._onMove, this), q(document, "mouseup touchend touchcancel", this._onUp, this), vi(), ye();
2845
+ it(document.body, "leaflet-dragging"), this._lastTarget && (it(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), q(document, "mousemove touchmove", this._onMove, this), q(document, "mouseup touchend touchcancel", this._onUp, this), yi(), be();
2846
2846
  var e = this._moved && this._moving;
2847
- this._moving = !1, Wt._dragging = !1, e && this.fire("dragend", {
2847
+ this._moving = !1, Ht._dragging = !1, e && this.fire("dragend", {
2848
2848
  noInertia: t,
2849
2849
  distance: this._newPos.distanceTo(this._startPos)
2850
2850
  });
2851
2851
  }
2852
2852
  });
2853
- function zn(t, e, i) {
2853
+ function On(t, e, i) {
2854
2854
  var n, o = [1, 4, 2, 8], r, c, d, f, _, x, E, H;
2855
2855
  for (r = 0, x = t.length; r < x; r++)
2856
- t[r]._code = Jt(t[r], e);
2856
+ t[r]._code = Qt(t[r], e);
2857
2857
  for (d = 0; d < 4; d++) {
2858
2858
  for (E = o[d], n = [], r = 0, x = t.length, c = x - 1; r < x; c = r++)
2859
- f = t[r], _ = t[c], f._code & E ? _._code & E || (H = Fe(_, f, E, e, i), H._code = Jt(H, e), n.push(H)) : (_._code & E && (H = Fe(_, f, E, e, i), H._code = Jt(H, e), n.push(H)), n.push(f));
2859
+ f = t[r], _ = t[c], f._code & E ? _._code & E || (H = We(_, f, E, e, i), H._code = Qt(H, e), n.push(H)) : (_._code & E && (H = We(_, f, E, e, i), H._code = Qt(H, e), n.push(H)), n.push(f));
2860
2860
  t = n;
2861
2861
  }
2862
2862
  return t;
2863
2863
  }
2864
- function Sn(t, e) {
2864
+ function An(t, e) {
2865
2865
  var i, n, o, r, c, d, f, _, x;
2866
2866
  if (!t || t.length === 0)
2867
2867
  throw new Error("latlngs not passed");
2868
2868
  wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
2869
2869
  var E = M([0, 0]), H = J(t), pt = H.getNorthWest().distanceTo(H.getSouthWest()) * H.getNorthEast().distanceTo(H.getNorthWest());
2870
- pt < 1700 && (E = Si(t));
2870
+ pt < 1700 && (E = Mi(t));
2871
2871
  var at = t.length, xt = [];
2872
2872
  for (i = 0; i < at; i++) {
2873
2873
  var gt = M(t[i]);
@@ -2876,93 +2876,93 @@ function As() {
2876
2876
  for (d = f = _ = 0, i = 0, n = at - 1; i < at; n = i++)
2877
2877
  o = xt[i], r = xt[n], c = o.y * r.x - r.y * o.x, f += (o.x + r.x) * c, _ += (o.y + r.y) * c, d += c * 3;
2878
2878
  d === 0 ? x = xt[0] : x = [f / d, _ / d];
2879
- var fe = e.unproject(y(x));
2880
- return M([fe.lat + E.lat, fe.lng + E.lng]);
2879
+ var me = e.unproject(y(x));
2880
+ return M([me.lat + E.lat, me.lng + E.lng]);
2881
2881
  }
2882
- function Si(t) {
2882
+ function Mi(t) {
2883
2883
  for (var e = 0, i = 0, n = 0, o = 0; o < t.length; o++) {
2884
2884
  var r = M(t[o]);
2885
2885
  e += r.lat, i += r.lng, n++;
2886
2886
  }
2887
2887
  return M([e / n, i / n]);
2888
2888
  }
2889
- var Or = {
2889
+ var Hr = {
2890
2890
  __proto__: null,
2891
- clipPolygon: zn,
2892
- polygonCenter: Sn,
2893
- centroid: Si
2891
+ clipPolygon: On,
2892
+ polygonCenter: An,
2893
+ centroid: Mi
2894
2894
  };
2895
- function Mn(t, e) {
2895
+ function In(t, e) {
2896
2896
  if (!e || !t.length)
2897
2897
  return t.slice();
2898
2898
  var i = e * e;
2899
- return t = Zr(t, i), t = Ir(t, i), t;
2899
+ return t = Vr(t, i), t = Gr(t, i), t;
2900
2900
  }
2901
- function En(t, e, i) {
2902
- return Math.sqrt(Pe(t, e, i, !0));
2901
+ function Rn(t, e, i) {
2902
+ return Math.sqrt(Le(t, e, i, !0));
2903
2903
  }
2904
- function Ar(t, e, i) {
2905
- return Pe(t, e, i);
2904
+ function jr(t, e, i) {
2905
+ return Le(t, e, i);
2906
2906
  }
2907
- function Ir(t, e) {
2907
+ function Gr(t, e) {
2908
2908
  var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, o = new n(i);
2909
- o[0] = o[i - 1] = 1, Mi(t, o, e, 0, i - 1);
2909
+ o[0] = o[i - 1] = 1, Ei(t, o, e, 0, i - 1);
2910
2910
  var r, c = [];
2911
2911
  for (r = 0; r < i; r++)
2912
2912
  o[r] && c.push(t[r]);
2913
2913
  return c;
2914
2914
  }
2915
- function Mi(t, e, i, n, o) {
2915
+ function Ei(t, e, i, n, o) {
2916
2916
  var r = 0, c, d, f;
2917
2917
  for (d = n + 1; d <= o - 1; d++)
2918
- f = Pe(t[d], t[n], t[o], !0), f > r && (c = d, r = f);
2919
- r > i && (e[c] = 1, Mi(t, e, i, n, c), Mi(t, e, i, c, o));
2918
+ f = Le(t[d], t[n], t[o], !0), f > r && (c = d, r = f);
2919
+ r > i && (e[c] = 1, Ei(t, e, i, n, c), Ei(t, e, i, c, o));
2920
2920
  }
2921
- function Zr(t, e) {
2921
+ function Vr(t, e) {
2922
2922
  for (var i = [t[0]], n = 1, o = 0, r = t.length; n < r; n++)
2923
- Rr(t[n], t[o]) > e && (i.push(t[n]), o = n);
2923
+ Ur(t[n], t[o]) > e && (i.push(t[n]), o = n);
2924
2924
  return o < r - 1 && i.push(t[r - 1]), i;
2925
2925
  }
2926
- var On;
2927
- function An(t, e, i, n, o) {
2928
- var r = n ? On : Jt(t, i), c = Jt(e, i), d, f, _;
2929
- for (On = c; ; ) {
2926
+ var Zn;
2927
+ function Bn(t, e, i, n, o) {
2928
+ var r = n ? Zn : Qt(t, i), c = Qt(e, i), d, f, _;
2929
+ for (Zn = c; ; ) {
2930
2930
  if (!(r | c))
2931
2931
  return [t, e];
2932
2932
  if (r & c)
2933
2933
  return !1;
2934
- d = r || c, f = Fe(t, e, d, i, o), _ = Jt(f, i), d === r ? (t = f, r = _) : (e = f, c = _);
2934
+ d = r || c, f = We(t, e, d, i, o), _ = Qt(f, i), d === r ? (t = f, r = _) : (e = f, c = _);
2935
2935
  }
2936
2936
  }
2937
- function Fe(t, e, i, n, o) {
2937
+ function We(t, e, i, n, o) {
2938
2938
  var r = e.x - t.x, c = e.y - t.y, d = n.min, f = n.max, _, x;
2939
2939
  return i & 8 ? (_ = t.x + r * (f.y - t.y) / c, x = f.y) : i & 4 ? (_ = t.x + r * (d.y - t.y) / c, x = d.y) : i & 2 ? (_ = f.x, x = t.y + c * (f.x - t.x) / r) : i & 1 && (_ = d.x, x = t.y + c * (d.x - t.x) / r), new A(_, x, o);
2940
2940
  }
2941
- function Jt(t, e) {
2941
+ function Qt(t, e) {
2942
2942
  var i = 0;
2943
2943
  return t.x < e.min.x ? i |= 1 : t.x > e.max.x && (i |= 2), t.y < e.min.y ? i |= 4 : t.y > e.max.y && (i |= 8), i;
2944
2944
  }
2945
- function Rr(t, e) {
2945
+ function Ur(t, e) {
2946
2946
  var i = e.x - t.x, n = e.y - t.y;
2947
2947
  return i * i + n * n;
2948
2948
  }
2949
- function Pe(t, e, i, n) {
2949
+ function Le(t, e, i, n) {
2950
2950
  var o = e.x, r = e.y, c = i.x - o, d = i.y - r, f = c * c + d * d, _;
2951
2951
  return f > 0 && (_ = ((t.x - o) * c + (t.y - r) * d) / f, _ > 1 ? (o = i.x, r = i.y) : _ > 0 && (o += c * _, r += d * _)), c = t.x - o, d = t.y - r, n ? c * c + d * d : new A(o, r);
2952
2952
  }
2953
2953
  function wt(t) {
2954
2954
  return !U(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
2955
2955
  }
2956
- function In(t) {
2956
+ function Nn(t) {
2957
2957
  return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), wt(t);
2958
2958
  }
2959
- function Zn(t, e) {
2959
+ function Dn(t, e) {
2960
2960
  var i, n, o, r, c, d, f, _;
2961
2961
  if (!t || t.length === 0)
2962
2962
  throw new Error("latlngs not passed");
2963
2963
  wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
2964
2964
  var x = M([0, 0]), E = J(t), H = E.getNorthWest().distanceTo(E.getSouthWest()) * E.getNorthEast().distanceTo(E.getNorthWest());
2965
- H < 1700 && (x = Si(t));
2965
+ H < 1700 && (x = Mi(t));
2966
2966
  var pt = t.length, at = [];
2967
2967
  for (i = 0; i < pt; i++) {
2968
2968
  var xt = M(t[i]);
@@ -2984,19 +2984,19 @@ function As() {
2984
2984
  var gt = e.unproject(y(_));
2985
2985
  return M([gt.lat + x.lat, gt.lng + x.lng]);
2986
2986
  }
2987
- var Br = {
2987
+ var $r = {
2988
2988
  __proto__: null,
2989
- simplify: Mn,
2990
- pointToSegmentDistance: En,
2991
- closestPointOnSegment: Ar,
2992
- clipSegment: An,
2993
- _getEdgeIntersection: Fe,
2994
- _getBitCode: Jt,
2995
- _sqClosestPointOnSegment: Pe,
2989
+ simplify: In,
2990
+ pointToSegmentDistance: Rn,
2991
+ closestPointOnSegment: jr,
2992
+ clipSegment: Bn,
2993
+ _getEdgeIntersection: We,
2994
+ _getBitCode: Qt,
2995
+ _sqClosestPointOnSegment: Le,
2996
2996
  isFlat: wt,
2997
- _flat: In,
2998
- polylineCenter: Zn
2999
- }, Ei = {
2997
+ _flat: Nn,
2998
+ polylineCenter: Dn
2999
+ }, Oi = {
3000
3000
  project: function(t) {
3001
3001
  return new A(t.lng, t.lat);
3002
3002
  },
@@ -3004,7 +3004,7 @@ function As() {
3004
3004
  return new I(t.y, t.x);
3005
3005
  },
3006
3006
  bounds: new $([-180, -90], [180, 90])
3007
- }, Oi = {
3007
+ }, Ai = {
3008
3008
  R: 6378137,
3009
3009
  R_MINOR: 6356752314245179e-9,
3010
3010
  bounds: new $([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
@@ -3017,24 +3017,24 @@ function As() {
3017
3017
  _ = o * Math.sin(c), _ = Math.pow((1 - _) / (1 + _), o / 2), f = Math.PI / 2 - 2 * Math.atan(r * _) - c, c += f;
3018
3018
  return new I(c * e, t.x * e / i);
3019
3019
  }
3020
- }, Nr = {
3020
+ }, qr = {
3021
3021
  __proto__: null,
3022
- LonLat: Ei,
3023
- Mercator: Oi,
3024
- SphericalMercator: ne
3025
- }, Dr = u({}, Lt, {
3022
+ LonLat: Oi,
3023
+ Mercator: Ai,
3024
+ SphericalMercator: oe
3025
+ }, Kr = u({}, Lt, {
3026
3026
  code: "EPSG:3395",
3027
- projection: Oi,
3027
+ projection: Ai,
3028
3028
  transformation: (function() {
3029
- var t = 0.5 / (Math.PI * Oi.R);
3029
+ var t = 0.5 / (Math.PI * Ai.R);
3030
3030
  return zt(t, 0.5, -t, 0.5);
3031
3031
  })()
3032
- }), Rn = u({}, Lt, {
3032
+ }), Fn = u({}, Lt, {
3033
3033
  code: "EPSG:4326",
3034
- projection: Ei,
3034
+ projection: Oi,
3035
3035
  transformation: zt(1 / 180, 1, -1 / 180, 0.5)
3036
- }), Fr = u({}, _t, {
3037
- projection: Ei,
3036
+ }), Yr = u({}, _t, {
3037
+ projection: Oi,
3038
3038
  transformation: zt(1, 0, -1, 0),
3039
3039
  scale: function(t) {
3040
3040
  return Math.pow(2, t);
@@ -3048,7 +3048,7 @@ function As() {
3048
3048
  },
3049
3049
  infinite: !0
3050
3050
  });
3051
- _t.Earth = Lt, _t.EPSG3395 = Dr, _t.EPSG3857 = $t, _t.EPSG900913 = oe, _t.EPSG4326 = Rn, _t.Simple = Fr;
3051
+ _t.Earth = Lt, _t.EPSG3395 = Kr, _t.EPSG3857 = qt, _t.EPSG900913 = re, _t.EPSG4326 = Fn, _t.Simple = Yr;
3052
3052
  var Tt = yt.extend({
3053
3053
  // Classes extending `L.Layer` will inherit the following options:
3054
3054
  options: {
@@ -3166,9 +3166,9 @@ function As() {
3166
3166
  this._layersMaxZoom = e === -1 / 0 ? void 0 : e, this._layersMinZoom = t === 1 / 0 ? void 0 : t, i !== this._getZoomSpan() && this.fire("zoomlevelschange"), this.options.maxZoom === void 0 && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom && this.setZoom(this._layersMaxZoom), this.options.minZoom === void 0 && this._layersMinZoom && this.getZoom() < this._layersMinZoom && this.setZoom(this._layersMinZoom);
3167
3167
  }
3168
3168
  });
3169
- var le = Tt.extend({
3169
+ var he = Tt.extend({
3170
3170
  initialize: function(t, e) {
3171
- z(this, e), this._layers = {};
3171
+ S(this, e), this._layers = {};
3172
3172
  var i, n;
3173
3173
  if (t)
3174
3174
  for (i = 0, n = t.length; i < n; i++)
@@ -3252,14 +3252,14 @@ function As() {
3252
3252
  getLayerId: function(t) {
3253
3253
  return v(t);
3254
3254
  }
3255
- }), Wr = function(t, e) {
3256
- return new le(t, e);
3257
- }, It = le.extend({
3255
+ }), Xr = function(t, e) {
3256
+ return new he(t, e);
3257
+ }, Rt = he.extend({
3258
3258
  addLayer: function(t) {
3259
- return this.hasLayer(t) ? this : (t.addEventParent(this), le.prototype.addLayer.call(this, t), this.fire("layeradd", { layer: t }));
3259
+ return this.hasLayer(t) ? this : (t.addEventParent(this), he.prototype.addLayer.call(this, t), this.fire("layeradd", { layer: t }));
3260
3260
  },
3261
3261
  removeLayer: function(t) {
3262
- return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this), le.prototype.removeLayer.call(this, t), this.fire("layerremove", { layer: t })) : this;
3262
+ return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this), he.prototype.removeLayer.call(this, t), this.fire("layerremove", { layer: t })) : this;
3263
3263
  },
3264
3264
  // @method setStyle(style: Path options): this
3265
3265
  // Sets the given path options to each layer of the group that has a `setStyle` method.
@@ -3286,9 +3286,9 @@ function As() {
3286
3286
  }
3287
3287
  return t;
3288
3288
  }
3289
- }), Hr = function(t, e) {
3290
- return new It(t, e);
3291
- }, he = vt.extend({
3289
+ }), Jr = function(t, e) {
3290
+ return new Rt(t, e);
3291
+ }, ce = vt.extend({
3292
3292
  /* @section
3293
3293
  * @aka Icon options
3294
3294
  *
@@ -3338,7 +3338,7 @@ function As() {
3338
3338
  crossOrigin: !1
3339
3339
  },
3340
3340
  initialize: function(t) {
3341
- z(this, t);
3341
+ S(this, t);
3342
3342
  },
3343
3343
  // @method createIcon(oldIcon?: HTMLElement): HTMLElement
3344
3344
  // Called internally when the icon has to be shown, returns a `<img>` HTML element
@@ -3371,13 +3371,13 @@ function As() {
3371
3371
  return e = e || document.createElement("img"), e.src = t, e;
3372
3372
  },
3373
3373
  _getIconUrl: function(t) {
3374
- return S.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
3374
+ return z.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
3375
3375
  }
3376
3376
  });
3377
- function jr(t) {
3378
- return new he(t);
3377
+ function Qr(t) {
3378
+ return new ce(t);
3379
3379
  }
3380
- var Le = he.extend({
3380
+ var ke = ce.extend({
3381
3381
  options: {
3382
3382
  iconUrl: "marker-icon.png",
3383
3383
  iconRetinaUrl: "marker-icon-2x.png",
@@ -3389,7 +3389,7 @@ function As() {
3389
3389
  shadowSize: [41, 41]
3390
3390
  },
3391
3391
  _getIconUrl: function(t) {
3392
- return typeof Le.imagePath != "string" && (Le.imagePath = this._detectIconPath()), (this.options.imagePath || Le.imagePath) + he.prototype._getIconUrl.call(this, t);
3392
+ return typeof ke.imagePath != "string" && (ke.imagePath = this._detectIconPath()), (this.options.imagePath || ke.imagePath) + ce.prototype._getIconUrl.call(this, t);
3393
3393
  },
3394
3394
  _stripUrl: function(t) {
3395
3395
  var e = function(i, n, o) {
@@ -3399,19 +3399,19 @@ function As() {
3399
3399
  return t = e(t, /^url\((['"])?(.+)\1\)$/, 2), t && e(t, /^(.*)marker-icon\.png$/, 1);
3400
3400
  },
3401
3401
  _detectIconPath: function() {
3402
- var t = V("div", "leaflet-default-icon-path", document.body), e = ge(t, "background-image") || ge(t, "backgroundImage");
3402
+ var t = V("div", "leaflet-default-icon-path", document.body), e = ve(t, "background-image") || ve(t, "backgroundImage");
3403
3403
  if (document.body.removeChild(t), e = this._stripUrl(e), e)
3404
3404
  return e;
3405
3405
  var i = document.querySelector('link[href$="leaflet.css"]');
3406
3406
  return i ? i.href.substring(0, i.href.length - 11 - 1) : "";
3407
3407
  }
3408
- }), Bn = Et.extend({
3408
+ }), Wn = Ot.extend({
3409
3409
  initialize: function(t) {
3410
3410
  this._marker = t;
3411
3411
  },
3412
3412
  addHooks: function() {
3413
3413
  var t = this._marker._icon;
3414
- this._draggable || (this._draggable = new Wt(t, t, !0)), this._draggable.on({
3414
+ this._draggable || (this._draggable = new Ht(t, t, !0)), this._draggable.on({
3415
3415
  dragstart: this._onDragStart,
3416
3416
  predrag: this._onPreDrag,
3417
3417
  drag: this._onDrag,
@@ -3430,7 +3430,7 @@ function As() {
3430
3430
  return this._draggable && this._draggable._moved;
3431
3431
  },
3432
3432
  _adjustPan: function(t) {
3433
- var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, r = Kt(e._icon), c = i.getPixelBounds(), d = i.getPixelOrigin(), f = ct(
3433
+ var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, o = this._marker.options.autoPanPadding, r = Yt(e._icon), c = i.getPixelBounds(), d = i.getPixelOrigin(), f = ct(
3434
3434
  c.min._subtract(d).add(o),
3435
3435
  c.max._subtract(d).subtract(o)
3436
3436
  );
@@ -3449,13 +3449,13 @@ function As() {
3449
3449
  this._marker.options.autoPan && (ht(this._panRequest), this._panRequest = tt(this._adjustPan.bind(this, t)));
3450
3450
  },
3451
3451
  _onDrag: function(t) {
3452
- var e = this._marker, i = e._shadow, n = Kt(e._icon), o = e._map.layerPointToLatLng(n);
3452
+ var e = this._marker, i = e._shadow, n = Yt(e._icon), o = e._map.layerPointToLatLng(n);
3453
3453
  i && ot(i, n), e._latlng = o, t.latlng = o, t.oldLatLng = this._oldLatLng, e.fire("move", t).fire("drag", t);
3454
3454
  },
3455
3455
  _onDragEnd: function(t) {
3456
3456
  ht(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", t);
3457
3457
  }
3458
- }), We = Tt.extend({
3458
+ }), He = Tt.extend({
3459
3459
  // @section
3460
3460
  // @aka Marker options
3461
3461
  options: {
@@ -3463,7 +3463,7 @@ function As() {
3463
3463
  // Icon instance to use for rendering the marker.
3464
3464
  // See [Icon documentation](#L.Icon) for details on how to customize the marker icon.
3465
3465
  // If not specified, a common instance of `L.Icon.Default` is used.
3466
- icon: new Le(),
3466
+ icon: new ke(),
3467
3467
  // Option inherited from "Interactive layer" abstract class
3468
3468
  interactive: !0,
3469
3469
  // @option keyboard: Boolean = true
@@ -3524,7 +3524,7 @@ function As() {
3524
3524
  * In addition to [shared layer methods](#Layer) like `addTo()` and `remove()` and [popup methods](#Popup) like bindPopup() you can also use the following methods:
3525
3525
  */
3526
3526
  initialize: function(t, e) {
3527
- z(this, e), this._latlng = M(t);
3527
+ S(this, e), this._latlng = M(t);
3528
3528
  },
3529
3529
  onAdd: function(t) {
3530
3530
  this._zoomAnimated = this._zoomAnimated && t.options.markerZoomAnimation, this._zoomAnimated && t.on("zoomanim", this._animateZoom, this), this._initIcon(), this.update();
@@ -3603,9 +3603,9 @@ function As() {
3603
3603
  this._setPos(e);
3604
3604
  },
3605
3605
  _initInteraction: function() {
3606
- if (this.options.interactive && (N(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), Bn)) {
3606
+ if (this.options.interactive && (N(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), Wn)) {
3607
3607
  var t = this.options.draggable;
3608
- this.dragging && (t = this.dragging.enabled(), this.dragging.disable()), this.dragging = new Bn(this), t && this.dragging.enable();
3608
+ this.dragging && (t = this.dragging.enabled(), this.dragging.disable()), this.dragging = new Wn(this), t && this.dragging.enable();
3609
3609
  }
3610
3610
  },
3611
3611
  // @method setOpacity(opacity: Number): this
@@ -3640,10 +3640,10 @@ function As() {
3640
3640
  return this.options.icon.options.tooltipAnchor;
3641
3641
  }
3642
3642
  });
3643
- function Gr(t, e) {
3644
- return new We(t, e);
3643
+ function ts(t, e) {
3644
+ return new He(t, e);
3645
3645
  }
3646
- var Ht = Tt.extend({
3646
+ var jt = Tt.extend({
3647
3647
  // @section
3648
3648
  // @aka Path options
3649
3649
  options: {
@@ -3708,7 +3708,7 @@ function As() {
3708
3708
  // @method setStyle(style: Path options): this
3709
3709
  // Changes the appearance of a Path based on the options in the `Path options` object.
3710
3710
  setStyle: function(t) {
3711
- return z(this, t), this._renderer && (this._renderer._updateStyle(this), this.options.stroke && t && Object.prototype.hasOwnProperty.call(t, "weight") && this._updateBounds()), this;
3711
+ return S(this, t), this._renderer && (this._renderer._updateStyle(this), this.options.stroke && t && Object.prototype.hasOwnProperty.call(t, "weight") && this._updateBounds()), this;
3712
3712
  },
3713
3713
  // @method bringToFront(): this
3714
3714
  // Brings the layer to the top of all path layers.
@@ -3729,7 +3729,7 @@ function As() {
3729
3729
  _clickTolerance: function() {
3730
3730
  return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);
3731
3731
  }
3732
- }), He = Ht.extend({
3732
+ }), je = jt.extend({
3733
3733
  // @section
3734
3734
  // @aka CircleMarker options
3735
3735
  options: {
@@ -3739,7 +3739,7 @@ function As() {
3739
3739
  radius: 10
3740
3740
  },
3741
3741
  initialize: function(t, e) {
3742
- z(this, e), this._latlng = M(t), this._radius = this.options.radius;
3742
+ S(this, e), this._latlng = M(t), this._radius = this.options.radius;
3743
3743
  },
3744
3744
  // @method setLatLng(latLng: LatLng): this
3745
3745
  // Sets the position of a circle marker to a new location.
@@ -3764,7 +3764,7 @@ function As() {
3764
3764
  },
3765
3765
  setStyle: function(t) {
3766
3766
  var e = t && t.radius || this._radius;
3767
- return Ht.prototype.setStyle.call(this, t), this.setRadius(e), this;
3767
+ return jt.prototype.setStyle.call(this, t), this.setRadius(e), this;
3768
3768
  },
3769
3769
  _project: function() {
3770
3770
  this._point = this._map.latLngToLayerPoint(this._latlng), this._updateBounds();
@@ -3787,12 +3787,12 @@ function As() {
3787
3787
  return t.distanceTo(this._point) <= this._radius + this._clickTolerance();
3788
3788
  }
3789
3789
  });
3790
- function Vr(t, e) {
3791
- return new He(t, e);
3790
+ function es(t, e) {
3791
+ return new je(t, e);
3792
3792
  }
3793
- var Ai = He.extend({
3793
+ var Ii = je.extend({
3794
3794
  initialize: function(t, e, i) {
3795
- if (typeof e == "number" && (e = u({}, i, { radius: e })), z(this, e), this._latlng = M(t), isNaN(this.options.radius))
3795
+ if (typeof e == "number" && (e = u({}, i, { radius: e })), S(this, e), this._latlng = M(t), isNaN(this.options.radius))
3796
3796
  throw new Error("Circle radius cannot be NaN");
3797
3797
  this._mRadius = this.options.radius;
3798
3798
  },
@@ -3815,7 +3815,7 @@ function As() {
3815
3815
  this._map.layerPointToLatLng(this._point.add(t))
3816
3816
  );
3817
3817
  },
3818
- setStyle: Ht.prototype.setStyle,
3818
+ setStyle: jt.prototype.setStyle,
3819
3819
  _project: function() {
3820
3820
  var t = this._latlng.lng, e = this._latlng.lat, i = this._map, n = i.options.crs;
3821
3821
  if (n.distance === Lt.distance) {
@@ -3828,10 +3828,10 @@ function As() {
3828
3828
  this._updateBounds();
3829
3829
  }
3830
3830
  });
3831
- function Ur(t, e, i) {
3832
- return new Ai(t, e, i);
3831
+ function is(t, e, i) {
3832
+ return new Ii(t, e, i);
3833
3833
  }
3834
- var Zt = Ht.extend({
3834
+ var Zt = jt.extend({
3835
3835
  // @section
3836
3836
  // @aka Polyline options
3837
3837
  options: {
@@ -3844,7 +3844,7 @@ function As() {
3844
3844
  noClip: !1
3845
3845
  },
3846
3846
  initialize: function(t, e) {
3847
- z(this, e), this._setLatLngs(t);
3847
+ S(this, e), this._setLatLngs(t);
3848
3848
  },
3849
3849
  // @method getLatLngs(): LatLng[]
3850
3850
  // Returns an array of the points in the path, or nested arrays of points in case of multi-polyline.
@@ -3864,7 +3864,7 @@ function As() {
3864
3864
  // @method closestLayerPoint(p: Point): Point
3865
3865
  // Returns the point closest to `p` on the Polyline.
3866
3866
  closestLayerPoint: function(t) {
3867
- for (var e = 1 / 0, i = null, n = Pe, o, r, c = 0, d = this._parts.length; c < d; c++)
3867
+ for (var e = 1 / 0, i = null, n = Le, o, r, c = 0, d = this._parts.length; c < d; c++)
3868
3868
  for (var f = this._parts[c], _ = 1, x = f.length; _ < x; _++) {
3869
3869
  o = f[_ - 1], r = f[_];
3870
3870
  var E = n(t, o, r, !0);
@@ -3877,7 +3877,7 @@ function As() {
3877
3877
  getCenter: function() {
3878
3878
  if (!this._map)
3879
3879
  throw new Error("Must add layer to map before using getCenter()");
3880
- return Zn(this._defaultShape(), this._map.options.crs);
3880
+ return Dn(this._defaultShape(), this._map.options.crs);
3881
3881
  },
3882
3882
  // @method getBounds(): LatLngBounds
3883
3883
  // Returns the `LatLngBounds` of the path.
@@ -3936,13 +3936,13 @@ function As() {
3936
3936
  var e = this._parts, i, n, o, r, c, d, f;
3937
3937
  for (i = 0, o = 0, r = this._rings.length; i < r; i++)
3938
3938
  for (f = this._rings[i], n = 0, c = f.length; n < c - 1; n++)
3939
- d = An(f[n], f[n + 1], t, n, !0), d && (e[o] = e[o] || [], e[o].push(d[0]), (d[1] !== f[n + 1] || n === c - 2) && (e[o].push(d[1]), o++));
3939
+ d = Bn(f[n], f[n + 1], t, n, !0), d && (e[o] = e[o] || [], e[o].push(d[0]), (d[1] !== f[n + 1] || n === c - 2) && (e[o].push(d[1]), o++));
3940
3940
  }
3941
3941
  },
3942
3942
  // simplify each clipped part of the polyline for performance
3943
3943
  _simplifyPoints: function() {
3944
3944
  for (var t = this._parts, e = this.options.smoothFactor, i = 0, n = t.length; i < n; i++)
3945
- t[i] = Mn(t[i], e);
3945
+ t[i] = In(t[i], e);
3946
3946
  },
3947
3947
  _update: function() {
3948
3948
  this._map && (this._clipPoints(), this._simplifyPoints(), this._updatePath());
@@ -3957,16 +3957,16 @@ function As() {
3957
3957
  return !1;
3958
3958
  for (i = 0, r = this._parts.length; i < r; i++)
3959
3959
  for (d = this._parts[i], n = 0, c = d.length, o = c - 1; n < c; o = n++)
3960
- if (!(!e && n === 0) && En(t, d[o], d[n]) <= f)
3960
+ if (!(!e && n === 0) && Rn(t, d[o], d[n]) <= f)
3961
3961
  return !0;
3962
3962
  return !1;
3963
3963
  }
3964
3964
  });
3965
- function $r(t, e) {
3965
+ function ns(t, e) {
3966
3966
  return new Zt(t, e);
3967
3967
  }
3968
- Zt._flat = In;
3969
- var ce = Zt.extend({
3968
+ Zt._flat = Nn;
3969
+ var ue = Zt.extend({
3970
3970
  options: {
3971
3971
  fill: !0
3972
3972
  },
@@ -3978,7 +3978,7 @@ function As() {
3978
3978
  getCenter: function() {
3979
3979
  if (!this._map)
3980
3980
  throw new Error("Must add layer to map before using getCenter()");
3981
- return Sn(this._defaultShape(), this._map.options.crs);
3981
+ return An(this._defaultShape(), this._map.options.crs);
3982
3982
  },
3983
3983
  _convertLatLngs: function(t) {
3984
3984
  var e = Zt.prototype._convertLatLngs.call(this, t), i = e.length;
@@ -3998,7 +3998,7 @@ function As() {
3998
3998
  return;
3999
3999
  }
4000
4000
  for (var n = 0, o = this._rings.length, r; n < o; n++)
4001
- r = zn(this._rings[n], t, !0), r.length && this._parts.push(r);
4001
+ r = On(this._rings[n], t, !0), r.length && this._parts.push(r);
4002
4002
  }
4003
4003
  },
4004
4004
  _updatePath: function() {
@@ -4015,10 +4015,10 @@ function As() {
4015
4015
  return e || Zt.prototype._containsPoint.call(this, t, !0);
4016
4016
  }
4017
4017
  });
4018
- function qr(t, e) {
4019
- return new ce(t, e);
4018
+ function os(t, e) {
4019
+ return new ue(t, e);
4020
4020
  }
4021
- var Rt = It.extend({
4021
+ var Bt = Rt.extend({
4022
4022
  /* @section
4023
4023
  * @aka GeoJSON options
4024
4024
  *
@@ -4069,7 +4069,7 @@ function As() {
4069
4069
  * Whether default Markers for "Point" type Features inherit from group options.
4070
4070
  */
4071
4071
  initialize: function(t, e) {
4072
- z(this, e), this._layers = {}, t && this.addData(t);
4072
+ S(this, e), this._layers = {}, t && this.addData(t);
4073
4073
  },
4074
4074
  // @method addData( <GeoJSON> data ): this
4075
4075
  // Adds a GeoJSON object to the layer.
@@ -4083,8 +4083,8 @@ function As() {
4083
4083
  var r = this.options;
4084
4084
  if (r.filter && !r.filter(t))
4085
4085
  return this;
4086
- var c = je(t, r);
4087
- return c ? (c.feature = Ue(t), c.defaultOptions = c.options, this.resetStyle(c), r.onEachFeature && r.onEachFeature(t, c), this.addLayer(c)) : this;
4086
+ var c = Ge(t, r);
4087
+ return c ? (c.feature = $e(t), c.defaultOptions = c.options, this.resetStyle(c), r.onEachFeature && r.onEachFeature(t, c), this.addLayer(c)) : this;
4088
4088
  },
4089
4089
  // @method resetStyle( <Path> layer? ): this
4090
4090
  // Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events.
@@ -4103,102 +4103,102 @@ function As() {
4103
4103
  t.setStyle && (typeof e == "function" && (e = e(t.feature)), t.setStyle(e));
4104
4104
  }
4105
4105
  });
4106
- function je(t, e) {
4107
- var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, o = [], r = e && e.pointToLayer, c = e && e.coordsToLatLng || Ii, d, f, _, x;
4106
+ function Ge(t, e) {
4107
+ var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, o = [], r = e && e.pointToLayer, c = e && e.coordsToLatLng || Ri, d, f, _, x;
4108
4108
  if (!n && !i)
4109
4109
  return null;
4110
4110
  switch (i.type) {
4111
4111
  case "Point":
4112
- return d = c(n), Nn(r, t, d, e);
4112
+ return d = c(n), Hn(r, t, d, e);
4113
4113
  case "MultiPoint":
4114
4114
  for (_ = 0, x = n.length; _ < x; _++)
4115
- d = c(n[_]), o.push(Nn(r, t, d, e));
4116
- return new It(o);
4115
+ d = c(n[_]), o.push(Hn(r, t, d, e));
4116
+ return new Rt(o);
4117
4117
  case "LineString":
4118
4118
  case "MultiLineString":
4119
- return f = Ge(n, i.type === "LineString" ? 0 : 1, c), new Zt(f, e);
4119
+ return f = Ve(n, i.type === "LineString" ? 0 : 1, c), new Zt(f, e);
4120
4120
  case "Polygon":
4121
4121
  case "MultiPolygon":
4122
- return f = Ge(n, i.type === "Polygon" ? 1 : 2, c), new ce(f, e);
4122
+ return f = Ve(n, i.type === "Polygon" ? 1 : 2, c), new ue(f, e);
4123
4123
  case "GeometryCollection":
4124
4124
  for (_ = 0, x = i.geometries.length; _ < x; _++) {
4125
- var E = je({
4125
+ var E = Ge({
4126
4126
  geometry: i.geometries[_],
4127
4127
  type: "Feature",
4128
4128
  properties: t.properties
4129
4129
  }, e);
4130
4130
  E && o.push(E);
4131
4131
  }
4132
- return new It(o);
4132
+ return new Rt(o);
4133
4133
  case "FeatureCollection":
4134
4134
  for (_ = 0, x = i.features.length; _ < x; _++) {
4135
- var H = je(i.features[_], e);
4135
+ var H = Ge(i.features[_], e);
4136
4136
  H && o.push(H);
4137
4137
  }
4138
- return new It(o);
4138
+ return new Rt(o);
4139
4139
  default:
4140
4140
  throw new Error("Invalid GeoJSON object.");
4141
4141
  }
4142
4142
  }
4143
- function Nn(t, e, i, n) {
4144
- return t ? t(e, i) : new We(i, n && n.markersInheritOptions && n);
4143
+ function Hn(t, e, i, n) {
4144
+ return t ? t(e, i) : new He(i, n && n.markersInheritOptions && n);
4145
4145
  }
4146
- function Ii(t) {
4146
+ function Ri(t) {
4147
4147
  return new I(t[1], t[0], t[2]);
4148
4148
  }
4149
- function Ge(t, e, i) {
4149
+ function Ve(t, e, i) {
4150
4150
  for (var n = [], o = 0, r = t.length, c; o < r; o++)
4151
- c = e ? Ge(t[o], e - 1, i) : (i || Ii)(t[o]), n.push(c);
4151
+ c = e ? Ve(t[o], e - 1, i) : (i || Ri)(t[o]), n.push(c);
4152
4152
  return n;
4153
4153
  }
4154
4154
  function Zi(t, e) {
4155
4155
  return t = M(t), t.alt !== void 0 ? [D(t.lng, e), D(t.lat, e), D(t.alt, e)] : [D(t.lng, e), D(t.lat, e)];
4156
4156
  }
4157
- function Ve(t, e, i, n) {
4157
+ function Ue(t, e, i, n) {
4158
4158
  for (var o = [], r = 0, c = t.length; r < c; r++)
4159
- o.push(e ? Ve(t[r], wt(t[r]) ? 0 : e - 1, i, n) : Zi(t[r], n));
4159
+ o.push(e ? Ue(t[r], wt(t[r]) ? 0 : e - 1, i, n) : Zi(t[r], n));
4160
4160
  return !e && i && o.length > 0 && o.push(o[0].slice()), o;
4161
4161
  }
4162
- function ue(t, e) {
4163
- return t.feature ? u({}, t.feature, { geometry: e }) : Ue(e);
4162
+ function de(t, e) {
4163
+ return t.feature ? u({}, t.feature, { geometry: e }) : $e(e);
4164
4164
  }
4165
- function Ue(t) {
4165
+ function $e(t) {
4166
4166
  return t.type === "Feature" || t.type === "FeatureCollection" ? t : {
4167
4167
  type: "Feature",
4168
4168
  properties: {},
4169
4169
  geometry: t
4170
4170
  };
4171
4171
  }
4172
- var Ri = {
4172
+ var Bi = {
4173
4173
  toGeoJSON: function(t) {
4174
- return ue(this, {
4174
+ return de(this, {
4175
4175
  type: "Point",
4176
4176
  coordinates: Zi(this.getLatLng(), t)
4177
4177
  });
4178
4178
  }
4179
4179
  };
4180
- We.include(Ri), Ai.include(Ri), He.include(Ri), Zt.include({
4180
+ He.include(Bi), Ii.include(Bi), je.include(Bi), Zt.include({
4181
4181
  toGeoJSON: function(t) {
4182
- var e = !wt(this._latlngs), i = Ve(this._latlngs, e ? 1 : 0, !1, t);
4183
- return ue(this, {
4182
+ var e = !wt(this._latlngs), i = Ue(this._latlngs, e ? 1 : 0, !1, t);
4183
+ return de(this, {
4184
4184
  type: (e ? "Multi" : "") + "LineString",
4185
4185
  coordinates: i
4186
4186
  });
4187
4187
  }
4188
- }), ce.include({
4188
+ }), ue.include({
4189
4189
  toGeoJSON: function(t) {
4190
- var e = !wt(this._latlngs), i = e && !wt(this._latlngs[0]), n = Ve(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
4191
- return e || (n = [n]), ue(this, {
4190
+ var e = !wt(this._latlngs), i = e && !wt(this._latlngs[0]), n = Ue(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
4191
+ return e || (n = [n]), de(this, {
4192
4192
  type: (i ? "Multi" : "") + "Polygon",
4193
4193
  coordinates: n
4194
4194
  });
4195
4195
  }
4196
- }), le.include({
4196
+ }), he.include({
4197
4197
  toMultiPoint: function(t) {
4198
4198
  var e = [];
4199
4199
  return this.eachLayer(function(i) {
4200
4200
  e.push(i.toGeoJSON(t).geometry.coordinates);
4201
- }), ue(this, {
4201
+ }), de(this, {
4202
4202
  type: "MultiPoint",
4203
4203
  coordinates: e
4204
4204
  });
@@ -4217,11 +4217,11 @@ function As() {
4217
4217
  if (i)
4218
4218
  n.push(r.geometry);
4219
4219
  else {
4220
- var c = Ue(r);
4220
+ var c = $e(r);
4221
4221
  c.type === "FeatureCollection" ? n.push.apply(n, c.features) : n.push(c);
4222
4222
  }
4223
4223
  }
4224
- }), i ? ue(this, {
4224
+ }), i ? de(this, {
4225
4225
  geometries: n,
4226
4226
  type: "GeometryCollection"
4227
4227
  }) : {
@@ -4230,10 +4230,10 @@ function As() {
4230
4230
  };
4231
4231
  }
4232
4232
  });
4233
- function Dn(t, e) {
4234
- return new Rt(t, e);
4233
+ function jn(t, e) {
4234
+ return new Bt(t, e);
4235
4235
  }
4236
- var Kr = Dn, $e = Tt.extend({
4236
+ var rs = jn, qe = Tt.extend({
4237
4237
  // @section
4238
4238
  // @aka ImageOverlay options
4239
4239
  options: {
@@ -4262,7 +4262,7 @@ function As() {
4262
4262
  className: ""
4263
4263
  },
4264
4264
  initialize: function(t, e, i) {
4265
- this._url = t, this._bounds = J(e), z(this, i);
4265
+ this._url = t, this._bounds = J(e), S(this, i);
4266
4266
  },
4267
4267
  onAdd: function() {
4268
4268
  this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (N(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();
@@ -4281,12 +4281,12 @@ function As() {
4281
4281
  // @method bringToFront(): this
4282
4282
  // Brings the layer to the top of all overlays.
4283
4283
  bringToFront: function() {
4284
- return this._map && se(this._image), this;
4284
+ return this._map && ae(this._image), this;
4285
4285
  },
4286
4286
  // @method bringToBack(): this
4287
4287
  // Brings the layer to the bottom of all overlays.
4288
4288
  bringToBack: function() {
4289
- return this._map && ae(this._image), this;
4289
+ return this._map && le(this._image), this;
4290
4290
  },
4291
4291
  // @method setUrl(url: String): this
4292
4292
  // Changes the URL of the image.
@@ -4331,7 +4331,7 @@ function As() {
4331
4331
  },
4332
4332
  _animateZoom: function(t) {
4333
4333
  var e = this._map.getZoomScale(t.zoom), i = this._map._latLngBoundsToNewLayerBounds(this._bounds, t.zoom, t.center).min;
4334
- qt(this._image, i, e);
4334
+ Kt(this._image, i, e);
4335
4335
  },
4336
4336
  _reset: function() {
4337
4337
  var t = this._image, e = new $(
@@ -4356,9 +4356,9 @@ function As() {
4356
4356
  getCenter: function() {
4357
4357
  return this._bounds.getCenter();
4358
4358
  }
4359
- }), Yr = function(t, e, i) {
4360
- return new $e(t, e, i);
4361
- }, Fn = $e.extend({
4359
+ }), ss = function(t, e, i) {
4360
+ return new qe(t, e, i);
4361
+ }, Gn = qe.extend({
4362
4362
  // @section
4363
4363
  // @aka VideoOverlay options
4364
4364
  options: {
@@ -4398,10 +4398,10 @@ function As() {
4398
4398
  // Returns the instance of [`HTMLVideoElement`](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
4399
4399
  // used by this overlay.
4400
4400
  });
4401
- function Xr(t, e, i) {
4402
- return new Fn(t, e, i);
4401
+ function as(t, e, i) {
4402
+ return new Gn(t, e, i);
4403
4403
  }
4404
- var Wn = $e.extend({
4404
+ var Vn = qe.extend({
4405
4405
  _initImage: function() {
4406
4406
  var t = this._image = this._url;
4407
4407
  N(t, "leaflet-image-layer"), this._zoomAnimated && N(t, "leaflet-zoom-animated"), this.options.className && N(t, this.options.className), t.onselectstart = T, t.onmousemove = T;
@@ -4410,10 +4410,10 @@ function As() {
4410
4410
  // Returns the instance of [`SVGElement`](https://developer.mozilla.org/docs/Web/API/SVGElement)
4411
4411
  // used by this overlay.
4412
4412
  });
4413
- function Jr(t, e, i) {
4414
- return new Wn(t, e, i);
4413
+ function ls(t, e, i) {
4414
+ return new Vn(t, e, i);
4415
4415
  }
4416
- var Ot = Tt.extend({
4416
+ var At = Tt.extend({
4417
4417
  // @section
4418
4418
  // @aka DivOverlay options
4419
4419
  options: {
@@ -4435,7 +4435,7 @@ function As() {
4435
4435
  content: ""
4436
4436
  },
4437
4437
  initialize: function(t, e) {
4438
- t && (t instanceof I || U(t)) ? (this._latlng = M(t), z(this, e)) : (z(this, t), this._source = e), this.options.content && (this._content = this.options.content);
4438
+ t && (t instanceof I || U(t)) ? (this._latlng = M(t), S(this, e)) : (S(this, t), this._source = e), this.options.content && (this._content = this.options.content);
4439
4439
  },
4440
4440
  // @method openOn(map: Map): this
4441
4441
  // Adds the overlay to the map.
@@ -4510,19 +4510,19 @@ function As() {
4510
4510
  // @method bringToFront: this
4511
4511
  // Brings this overlay in front of other overlays (in the same map pane).
4512
4512
  bringToFront: function() {
4513
- return this._map && se(this._container), this;
4513
+ return this._map && ae(this._container), this;
4514
4514
  },
4515
4515
  // @method bringToBack: this
4516
4516
  // Brings this overlay to the back of other overlays (in the same map pane).
4517
4517
  bringToBack: function() {
4518
- return this._map && ae(this._container), this;
4518
+ return this._map && le(this._container), this;
4519
4519
  },
4520
4520
  // prepare bound overlay to open: update latlng pos / content source (for FeatureGroup)
4521
4521
  _prepareOpen: function(t) {
4522
4522
  var e = this._source;
4523
4523
  if (!e._map)
4524
4524
  return !1;
4525
- if (e instanceof It) {
4525
+ if (e instanceof Rt) {
4526
4526
  e = null;
4527
4527
  var i = this._source._layers;
4528
4528
  for (var n in i)
@@ -4578,10 +4578,10 @@ function As() {
4578
4578
  }), Tt.include({
4579
4579
  _initOverlay: function(t, e, i, n) {
4580
4580
  var o = i;
4581
- return o instanceof t ? (z(o, n), o._source = this) : (o = e && !n ? e : new t(n, this), o.setContent(i)), o;
4581
+ return o instanceof t ? (S(o, n), o._source = this) : (o = e && !n ? e : new t(n, this), o.setContent(i)), o;
4582
4582
  }
4583
4583
  });
4584
- var qe = Ot.extend({
4584
+ var Ke = At.extend({
4585
4585
  // @section
4586
4586
  // @aka Popup options
4587
4587
  options: {
@@ -4645,16 +4645,16 @@ function As() {
4645
4645
  // Alternative to `map.openPopup(popup)`.
4646
4646
  // Adds the popup to the map and closes the previous one.
4647
4647
  openOn: function(t) {
4648
- return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this, Ot.prototype.openOn.call(this, t);
4648
+ return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this, At.prototype.openOn.call(this, t);
4649
4649
  },
4650
4650
  onAdd: function(t) {
4651
- Ot.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof Ht || this._source.on("preclick", Yt));
4651
+ At.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof jt || this._source.on("preclick", Xt));
4652
4652
  },
4653
4653
  onRemove: function(t) {
4654
- Ot.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof Ht || this._source.off("preclick", Yt));
4654
+ At.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof jt || this._source.off("preclick", Xt));
4655
4655
  },
4656
4656
  getEvents: function() {
4657
- var t = Ot.prototype.getEvents.call(this);
4657
+ var t = At.prototype.getEvents.call(this);
4658
4658
  return (this.options.closeOnClick !== void 0 ? this.options.closeOnClick : this._map.options.closePopupOnClick) && (t.preclick = this.close), this.options.keepInView && (t.moveend = this._adjustPan), t;
4659
4659
  },
4660
4660
  _initLayout: function() {
@@ -4662,7 +4662,7 @@ function As() {
4662
4662
  "div",
4663
4663
  t + " " + (this.options.className || "") + " leaflet-zoom-animated"
4664
4664
  ), i = this._wrapper = V("div", t + "-content-wrapper", e);
4665
- if (this._contentNode = V("div", t + "-content", i), we(e), ki(this._contentNode), B(e, "contextmenu", Yt), this._tipContainer = V("div", t + "-tip-container", e), this._tip = V("div", t + "-tip", this._tipContainer), this.options.closeButton) {
4665
+ if (this._contentNode = V("div", t + "-content", i), xe(e), Ti(this._contentNode), B(e, "contextmenu", Xt), this._tipContainer = V("div", t + "-tip-container", e), this._tip = V("div", t + "-tip", this._tipContainer), this.options.closeButton) {
4666
4666
  var n = this._closeButton = V("a", t + "-close-button", e);
4667
4667
  n.setAttribute("role", "button"), n.setAttribute("aria-label", "Close popup"), n.href = "#close", n.innerHTML = '<span aria-hidden="true">&#215;</span>', B(n, "click", function(o) {
4668
4668
  dt(o), this.close();
@@ -4687,8 +4687,8 @@ function As() {
4687
4687
  this._autopanning = !1;
4688
4688
  return;
4689
4689
  }
4690
- var t = this._map, e = parseInt(ge(this._container, "marginBottom"), 10) || 0, i = this._container.offsetHeight + e, n = this._containerWidth, o = new A(this._containerLeft, -i - this._containerBottom);
4691
- o._add(Kt(this._container));
4690
+ var t = this._map, e = parseInt(ve(this._container, "marginBottom"), 10) || 0, i = this._container.offsetHeight + e, n = this._containerWidth, o = new A(this._containerLeft, -i - this._containerBottom);
4691
+ o._add(Yt(this._container));
4692
4692
  var r = t.layerPointToContainerPoint(o), c = y(this.options.autoPanPadding), d = y(this.options.autoPanPaddingTopLeft || c), f = y(this.options.autoPanPaddingBottomRight || c), _ = t.getSize(), x = 0, E = 0;
4693
4693
  r.x + n + f.x > _.x && (x = r.x + n - _.x + f.x), r.x - x - d.x < 0 && (x = r.x - d.x), r.y + i + f.y > _.y && (E = r.y + i - _.y + f.y), r.y - E - d.y < 0 && (E = r.y - d.y), (x || E) && (this.options.keepInView && (this._autopanning = !0), t.fire("autopanstart").panBy([x, E]));
4694
4694
  }
@@ -4696,8 +4696,8 @@ function As() {
4696
4696
  _getAnchor: function() {
4697
4697
  return y(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
4698
4698
  }
4699
- }), Qr = function(t, e) {
4700
- return new qe(t, e);
4699
+ }), hs = function(t, e) {
4700
+ return new Ke(t, e);
4701
4701
  };
4702
4702
  j.mergeOptions({
4703
4703
  closePopupOnClick: !0
@@ -4708,7 +4708,7 @@ function As() {
4708
4708
  // @method openPopup(content: String|HTMLElement, latlng: LatLng, options?: Popup options): this
4709
4709
  // Creates a popup with the specified content and options and opens it in the given point on a map.
4710
4710
  openPopup: function(t, e, i) {
4711
- return this._initOverlay(qe, t, e, i).openOn(this), this;
4711
+ return this._initOverlay(Ke, t, e, i).openOn(this), this;
4712
4712
  },
4713
4713
  // @method closePopup(popup?: Popup): this
4714
4714
  // Closes the popup previously opened with [openPopup](#map-openpopup) (or the given one).
@@ -4721,7 +4721,7 @@ function As() {
4721
4721
  // necessary event listeners. If a `Function` is passed it will receive
4722
4722
  // the layer as the first argument and should return a `String` or `HTMLElement`.
4723
4723
  bindPopup: function(t, e) {
4724
- return this._popup = this._initOverlay(qe, this._popup, t, e), this._popupHandlersAdded || (this.on({
4724
+ return this._popup = this._initOverlay(Ke, this._popup, t, e), this._popupHandlersAdded || (this.on({
4725
4725
  click: this._openPopup,
4726
4726
  keypress: this._onKeyPress,
4727
4727
  remove: this.closePopup,
@@ -4741,7 +4741,7 @@ function As() {
4741
4741
  // @method openPopup(latlng?: LatLng): this
4742
4742
  // Opens the bound popup at the specified `latlng` or at the default popup anchor if no `latlng` is passed.
4743
4743
  openPopup: function(t) {
4744
- return this._popup && (this instanceof It || (this._popup._source = this), this._popup._prepareOpen(t || this._latlng) && this._popup.openOn(this._map)), this;
4744
+ return this._popup && (this instanceof Rt || (this._popup._source = this), this._popup._prepareOpen(t || this._latlng) && this._popup.openOn(this._map)), this;
4745
4745
  },
4746
4746
  // @method closePopup(): this
4747
4747
  // Closes the popup bound to this layer if it is open.
@@ -4770,9 +4770,9 @@ function As() {
4770
4770
  },
4771
4771
  _openPopup: function(t) {
4772
4772
  if (!(!this._popup || !this._map)) {
4773
- Xt(t);
4773
+ Jt(t);
4774
4774
  var e = t.layer || t.target;
4775
- if (this._popup._source === e && !(e instanceof Ht)) {
4775
+ if (this._popup._source === e && !(e instanceof jt)) {
4776
4776
  this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(t.latlng);
4777
4777
  return;
4778
4778
  }
@@ -4786,7 +4786,7 @@ function As() {
4786
4786
  t.originalEvent.keyCode === 13 && this._openPopup(t);
4787
4787
  }
4788
4788
  });
4789
- var Ke = Ot.extend({
4789
+ var Ye = At.extend({
4790
4790
  // @section
4791
4791
  // @aka Tooltip options
4792
4792
  options: {
@@ -4813,13 +4813,13 @@ function As() {
4813
4813
  opacity: 0.9
4814
4814
  },
4815
4815
  onAdd: function(t) {
4816
- Ot.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));
4816
+ At.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));
4817
4817
  },
4818
4818
  onRemove: function(t) {
4819
- Ot.prototype.onRemove.call(this, t), t.fire("tooltipclose", { tooltip: this }), this._source && (this.removeEventParent(this._source), this._source.fire("tooltipclose", { tooltip: this }, !0));
4819
+ At.prototype.onRemove.call(this, t), t.fire("tooltipclose", { tooltip: this }), this._source && (this.removeEventParent(this._source), this._source.fire("tooltipclose", { tooltip: this }, !0));
4820
4820
  },
4821
4821
  getEvents: function() {
4822
- var t = Ot.prototype.getEvents.call(this);
4822
+ var t = At.prototype.getEvents.call(this);
4823
4823
  return this.options.permanent || (t.preclick = this.close), t;
4824
4824
  },
4825
4825
  _initLayout: function() {
@@ -4848,8 +4848,8 @@ function As() {
4848
4848
  _getAnchor: function() {
4849
4849
  return y(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
4850
4850
  }
4851
- }), ts = function(t, e) {
4852
- return new Ke(t, e);
4851
+ }), cs = function(t, e) {
4852
+ return new Ye(t, e);
4853
4853
  };
4854
4854
  j.include({
4855
4855
  // @method openTooltip(tooltip: Tooltip): this
@@ -4858,7 +4858,7 @@ function As() {
4858
4858
  // @method openTooltip(content: String|HTMLElement, latlng: LatLng, options?: Tooltip options): this
4859
4859
  // Creates a tooltip with the specified content and options and open it.
4860
4860
  openTooltip: function(t, e, i) {
4861
- return this._initOverlay(Ke, t, e, i).openOn(this), this;
4861
+ return this._initOverlay(Ye, t, e, i).openOn(this), this;
4862
4862
  },
4863
4863
  // @method closeTooltip(tooltip: Tooltip): this
4864
4864
  // Closes the tooltip given as parameter.
@@ -4871,7 +4871,7 @@ function As() {
4871
4871
  // necessary event listeners. If a `Function` is passed it will receive
4872
4872
  // the layer as the first argument and should return a `String` or `HTMLElement`.
4873
4873
  bindTooltip: function(t, e) {
4874
- return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(Ke, this._tooltip, t, e), this._initTooltipInteractions(), this._tooltip.options.permanent && this._map && this._map.hasLayer(this) && this.openTooltip(), this;
4874
+ return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(Ye, this._tooltip, t, e), this._initTooltipInteractions(), this._tooltip.options.permanent && this._map && this._map.hasLayer(this) && this.openTooltip(), this;
4875
4875
  },
4876
4876
  // @method unbindTooltip(): this
4877
4877
  // Removes the tooltip previously bound with `bindTooltip`.
@@ -4890,7 +4890,7 @@ function As() {
4890
4890
  // @method openTooltip(latlng?: LatLng): this
4891
4891
  // Opens the bound tooltip at the specified `latlng` or at the default tooltip anchor if no `latlng` is passed.
4892
4892
  openTooltip: function(t) {
4893
- return this._tooltip && (this instanceof It || (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;
4893
+ return this._tooltip && (this instanceof Rt || (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;
4894
4894
  },
4895
4895
  // @method closeTooltip(): this
4896
4896
  // Closes the tooltip bound to this layer if it is open.
@@ -4949,7 +4949,7 @@ function As() {
4949
4949
  this._tooltip.options.sticky && t.originalEvent && (i = this._map.mouseEventToContainerPoint(t.originalEvent), n = this._map.containerPointToLayerPoint(i), e = this._map.layerPointToLatLng(n)), this._tooltip.setLatLng(e);
4950
4950
  }
4951
4951
  });
4952
- var Hn = he.extend({
4952
+ var Un = ce.extend({
4953
4953
  options: {
4954
4954
  // @section
4955
4955
  // @aka DivIcon options
@@ -4978,11 +4978,11 @@ function As() {
4978
4978
  return null;
4979
4979
  }
4980
4980
  });
4981
- function es(t) {
4982
- return new Hn(t);
4981
+ function us(t) {
4982
+ return new Un(t);
4983
4983
  }
4984
- he.Default = Le;
4985
- var ke = Tt.extend({
4984
+ ce.Default = ke;
4985
+ var Te = Tt.extend({
4986
4986
  // @section
4987
4987
  // @aka GridLayer options
4988
4988
  options: {
@@ -4997,7 +4997,7 @@ function As() {
4997
4997
  // `true` by default on mobile browsers, in order to avoid too many requests and keep smooth navigation.
4998
4998
  // `false` otherwise in order to display new tiles _during_ panning, since it is easy to pan outside the
4999
4999
  // [`keepBuffer`](#gridlayer-keepbuffer) option in desktop browsers.
5000
- updateWhenIdle: S.mobile,
5000
+ updateWhenIdle: z.mobile,
5001
5001
  // @option updateWhenZooming: Boolean = true
5002
5002
  // By default, a smooth zoom animation (during a [touch zoom](#map-touchzoom) or a [`flyTo()`](#map-flyto)) will update grid layers every integer zoom level. Setting this option to `false` will update the grid layer only when the smooth animation ends.
5003
5003
  updateWhenZooming: !0,
@@ -5044,7 +5044,7 @@ function As() {
5044
5044
  keepBuffer: 2
5045
5045
  },
5046
5046
  initialize: function(t) {
5047
- z(this, t);
5047
+ S(this, t);
5048
5048
  },
5049
5049
  onAdd: function() {
5050
5050
  this._initContainer(), this._levels = {}, this._tiles = {}, this._resetView();
@@ -5058,12 +5058,12 @@ function As() {
5058
5058
  // @method bringToFront: this
5059
5059
  // Brings the tile layer to the top of all tile layers.
5060
5060
  bringToFront: function() {
5061
- return this._map && (se(this._container), this._setAutoZIndex(Math.max)), this;
5061
+ return this._map && (ae(this._container), this._setAutoZIndex(Math.max)), this;
5062
5062
  },
5063
5063
  // @method bringToBack: this
5064
5064
  // Brings the tile layer to the bottom of all tile layers.
5065
5065
  bringToBack: function() {
5066
- return this._map && (ae(this._container), this._setAutoZIndex(Math.min)), this;
5066
+ return this._map && (le(this._container), this._setAutoZIndex(Math.min)), this;
5067
5067
  },
5068
5068
  // @method getContainer: HTMLElement
5069
5069
  // Returns the HTML element that contains the tiles for this layer.
@@ -5129,7 +5129,7 @@ function As() {
5129
5129
  isFinite(i) && (this.options.zIndex = i + t(-1, 1), this._updateZIndex());
5130
5130
  },
5131
5131
  _updateOpacity: function() {
5132
- if (this._map && !S.ielt9) {
5132
+ if (this._map && !z.ielt9) {
5133
5133
  bt(this._container, this.options.opacity);
5134
5134
  var t = +/* @__PURE__ */ new Date(), e = !1, i = !1;
5135
5135
  for (var n in this._tiles) {
@@ -5231,7 +5231,7 @@ function As() {
5231
5231
  },
5232
5232
  _setZoomTransform: function(t, e, i) {
5233
5233
  var n = this._map.getZoomScale(i, t.zoom), o = t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e, i)).round();
5234
- S.any3d ? qt(t.el, o, n) : ot(t.el, o);
5234
+ z.any3d ? Kt(t.el, o, n) : ot(t.el, o);
5235
5235
  },
5236
5236
  _resetGrid: function() {
5237
5237
  var t = this._map, e = t.options.crs, i = this._tileSize = this.getTileSize(), n = this._tileZoom, o = this._map.getPixelWorldBounds(this._tileZoom);
@@ -5278,8 +5278,8 @@ function As() {
5278
5278
  at ? at.current = !0 : c.push(pt);
5279
5279
  }
5280
5280
  }
5281
- if (c.sort(function(gt, fe) {
5282
- return gt.distanceTo(r) - fe.distanceTo(r);
5281
+ if (c.sort(function(gt, me) {
5282
+ return gt.distanceTo(r) - me.distanceTo(r);
5283
5283
  }), c.length !== 0) {
5284
5284
  this._loading || (this._loading = !0, this.fire("loading"));
5285
5285
  var xt = document.createDocumentFragment();
@@ -5333,7 +5333,7 @@ function As() {
5333
5333
  _initTile: function(t) {
5334
5334
  N(t, "leaflet-tile");
5335
5335
  var e = this.getTileSize();
5336
- t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = T, t.onmousemove = T, S.ielt9 && this.options.opacity < 1 && bt(t, this.options.opacity);
5336
+ t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = T, t.onmousemove = T, z.ielt9 && this.options.opacity < 1 && bt(t, this.options.opacity);
5337
5337
  },
5338
5338
  _addTile: function(t, e) {
5339
5339
  var i = this._getTilePos(t), n = this._tileCoordsToKey(t), o = this.createTile(this._wrapCoords(t), m(this._tileReady, this, t));
@@ -5356,15 +5356,15 @@ function As() {
5356
5356
  i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (bt(i.el, 0), ht(this._fadeFrame), this._fadeFrame = tt(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (N(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
5357
5357
  tile: i.el,
5358
5358
  coords: t
5359
- })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), S.ielt9 || !this._map._fadeAnimated ? tt(this._pruneTiles, this) : setTimeout(m(this._pruneTiles, this), 250)));
5359
+ })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), z.ielt9 || !this._map._fadeAnimated ? tt(this._pruneTiles, this) : setTimeout(m(this._pruneTiles, this), 250)));
5360
5360
  },
5361
5361
  _getTilePos: function(t) {
5362
5362
  return t.scaleBy(this.getTileSize()).subtract(this._level.origin);
5363
5363
  },
5364
5364
  _wrapCoords: function(t) {
5365
5365
  var e = new A(
5366
- this._wrapX ? Z(t.x, this._wrapX) : t.x,
5367
- this._wrapY ? Z(t.y, this._wrapY) : t.y
5366
+ this._wrapX ? R(t.x, this._wrapX) : t.x,
5367
+ this._wrapY ? R(t.y, this._wrapY) : t.y
5368
5368
  );
5369
5369
  return e.z = t.z, e;
5370
5370
  },
@@ -5382,10 +5382,10 @@ function As() {
5382
5382
  return !0;
5383
5383
  }
5384
5384
  });
5385
- function is(t) {
5386
- return new ke(t);
5385
+ function ds(t) {
5386
+ return new Te(t);
5387
5387
  }
5388
- var de = ke.extend({
5388
+ var fe = Te.extend({
5389
5389
  // @section
5390
5390
  // @aka TileLayer options
5391
5391
  options: {
@@ -5427,7 +5427,7 @@ function As() {
5427
5427
  referrerPolicy: !1
5428
5428
  },
5429
5429
  initialize: function(t, e) {
5430
- this._url = t, e = z(this, e), e.detectRetina && S.retina && e.maxZoom > 0 ? (e.tileSize = Math.floor(e.tileSize / 2), e.zoomReverse ? (e.zoomOffset--, e.minZoom = Math.min(e.maxZoom, e.minZoom + 1)) : (e.zoomOffset++, e.maxZoom = Math.max(e.minZoom, e.maxZoom - 1)), e.minZoom = Math.max(0, e.minZoom)) : e.zoomReverse ? e.minZoom = Math.min(e.maxZoom, e.minZoom) : e.maxZoom = Math.max(e.minZoom, e.maxZoom), typeof e.subdomains == "string" && (e.subdomains = e.subdomains.split("")), this.on("tileunload", this._onTileRemove);
5430
+ this._url = t, e = S(this, e), e.detectRetina && z.retina && e.maxZoom > 0 ? (e.tileSize = Math.floor(e.tileSize / 2), e.zoomReverse ? (e.zoomOffset--, e.minZoom = Math.min(e.maxZoom, e.minZoom + 1)) : (e.zoomOffset++, e.maxZoom = Math.max(e.minZoom, e.maxZoom - 1)), e.minZoom = Math.max(0, e.minZoom)) : e.zoomReverse ? e.minZoom = Math.min(e.maxZoom, e.minZoom) : e.maxZoom = Math.max(e.minZoom, e.maxZoom), typeof e.subdomains == "string" && (e.subdomains = e.subdomains.split("")), this.on("tileunload", this._onTileRemove);
5431
5431
  },
5432
5432
  // @method setUrl(url: String, noRedraw?: Boolean): this
5433
5433
  // Updates the layer's URL template and redraws it (unless `noRedraw` is set to `true`).
@@ -5452,7 +5452,7 @@ function As() {
5452
5452
  // Classes extending `TileLayer` can override this function to provide custom tile URL naming schemes.
5453
5453
  getTileUrl: function(t) {
5454
5454
  var e = {
5455
- r: S.retina ? "@2x" : "",
5455
+ r: z.retina ? "@2x" : "",
5456
5456
  s: this._getSubdomain(t),
5457
5457
  x: t.x,
5458
5458
  y: t.y,
@@ -5465,7 +5465,7 @@ function As() {
5465
5465
  return X(this._url, u(e, this.options));
5466
5466
  },
5467
5467
  _tileOnLoad: function(t, e) {
5468
- S.ielt9 ? setTimeout(m(t, this, null, e), 0) : t(null, e);
5468
+ z.ielt9 ? setTimeout(m(t, this, null, e), 0) : t(null, e);
5469
5469
  },
5470
5470
  _tileOnError: function(t, e, i) {
5471
5471
  var n = this.options.errorTileUrl;
@@ -5498,17 +5498,17 @@ function As() {
5498
5498
  _removeTile: function(t) {
5499
5499
  var e = this._tiles[t];
5500
5500
  if (e)
5501
- return e.el.setAttribute("src", mt), ke.prototype._removeTile.call(this, t);
5501
+ return e.el.setAttribute("src", mt), Te.prototype._removeTile.call(this, t);
5502
5502
  },
5503
5503
  _tileReady: function(t, e, i) {
5504
5504
  if (!(!this._map || i && i.getAttribute("src") === mt))
5505
- return ke.prototype._tileReady.call(this, t, e, i);
5505
+ return Te.prototype._tileReady.call(this, t, e, i);
5506
5506
  }
5507
5507
  });
5508
- function jn(t, e) {
5509
- return new de(t, e);
5508
+ function $n(t, e) {
5509
+ return new fe(t, e);
5510
5510
  }
5511
- var Gn = de.extend({
5511
+ var qn = fe.extend({
5512
5512
  // @section
5513
5513
  // @aka TileLayer.WMS options
5514
5514
  // If any custom options not documented here are used, they will be sent to the
@@ -5547,17 +5547,17 @@ function As() {
5547
5547
  var i = u({}, this.defaultWmsParams);
5548
5548
  for (var n in e)
5549
5549
  n in this.options || (i[n] = e[n]);
5550
- e = z(this, e);
5551
- var o = e.detectRetina && S.retina ? 2 : 1, r = this.getTileSize();
5550
+ e = S(this, e);
5551
+ var o = e.detectRetina && z.retina ? 2 : 1, r = this.getTileSize();
5552
5552
  i.width = r.x * o, i.height = r.y * o, this.wmsParams = i;
5553
5553
  },
5554
5554
  onAdd: function(t) {
5555
5555
  this._crs = this.options.crs || t.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
5556
5556
  var e = this._wmsVersion >= 1.3 ? "crs" : "srs";
5557
- this.wmsParams[e] = this._crs.code, de.prototype.onAdd.call(this, t);
5557
+ this.wmsParams[e] = this._crs.code, fe.prototype.onAdd.call(this, t);
5558
5558
  },
5559
5559
  getTileUrl: function(t) {
5560
- var e = this._tileCoordsToNwSe(t), i = this._crs, n = ct(i.project(e[0]), i.project(e[1])), o = n.min, r = n.max, c = (this._wmsVersion >= 1.3 && this._crs === Rn ? [o.y, o.x, r.y, r.x] : [o.x, o.y, r.x, r.y]).join(","), d = de.prototype.getTileUrl.call(this, t);
5560
+ var e = this._tileCoordsToNwSe(t), i = this._crs, n = ct(i.project(e[0]), i.project(e[1])), o = n.min, r = n.max, c = (this._wmsVersion >= 1.3 && this._crs === Fn ? [o.y, o.x, r.y, r.x] : [o.x, o.y, r.x, r.y]).join(","), d = fe.prototype.getTileUrl.call(this, t);
5561
5561
  return d + Y(this.wmsParams, d, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + c;
5562
5562
  },
5563
5563
  // @method setParams(params: Object, noRedraw?: Boolean): this
@@ -5566,11 +5566,11 @@ function As() {
5566
5566
  return u(this.wmsParams, t), e || this.redraw(), this;
5567
5567
  }
5568
5568
  });
5569
- function ns(t, e) {
5570
- return new Gn(t, e);
5569
+ function fs(t, e) {
5570
+ return new qn(t, e);
5571
5571
  }
5572
- de.WMS = Gn, jn.wms = ns;
5573
- var Bt = Tt.extend({
5572
+ fe.WMS = qn, $n.wms = fs;
5573
+ var Nt = Tt.extend({
5574
5574
  // @section
5575
5575
  // @aka Renderer options
5576
5576
  options: {
@@ -5580,7 +5580,7 @@ function As() {
5580
5580
  padding: 0.1
5581
5581
  },
5582
5582
  initialize: function(t) {
5583
- z(this, t), v(this), this._layers = this._layers || {};
5583
+ S(this, t), v(this), this._layers = this._layers || {};
5584
5584
  },
5585
5585
  onAdd: function() {
5586
5586
  this._container || (this._initContainer(), N(this._container, "leaflet-zoom-animated")), this.getPane().appendChild(this._container), this._update(), this.on("update", this._updatePaths, this);
@@ -5605,7 +5605,7 @@ function As() {
5605
5605
  },
5606
5606
  _updateTransform: function(t, e) {
5607
5607
  var i = this._map.getZoomScale(e, this._zoom), n = this._map.getSize().multiplyBy(0.5 + this.options.padding), o = this._map.project(this._center, e), r = n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t, e));
5608
- S.any3d ? qt(this._container, r, i) : ot(this._container, r);
5608
+ z.any3d ? Kt(this._container, r, i) : ot(this._container, r);
5609
5609
  },
5610
5610
  _reset: function() {
5611
5611
  this._update(), this._updateTransform(this._center, this._zoom);
@@ -5624,7 +5624,7 @@ function As() {
5624
5624
  var t = this.options.padding, e = this._map.getSize(), i = this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();
5625
5625
  this._bounds = new $(i, i.add(e.multiplyBy(1 + t * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
5626
5626
  }
5627
- }), Vn = Bt.extend({
5627
+ }), Kn = Nt.extend({
5628
5628
  // @section
5629
5629
  // @aka Canvas options
5630
5630
  options: {
@@ -5633,14 +5633,14 @@ function As() {
5633
5633
  tolerance: 0
5634
5634
  },
5635
5635
  getEvents: function() {
5636
- var t = Bt.prototype.getEvents.call(this);
5636
+ var t = Nt.prototype.getEvents.call(this);
5637
5637
  return t.viewprereset = this._onViewPreReset, t;
5638
5638
  },
5639
5639
  _onViewPreReset: function() {
5640
5640
  this._postponeUpdatePaths = !0;
5641
5641
  },
5642
5642
  onAdd: function() {
5643
- Bt.prototype.onAdd.call(this), this._draw();
5643
+ Nt.prototype.onAdd.call(this), this._draw();
5644
5644
  },
5645
5645
  _initContainer: function() {
5646
5646
  var t = this._container = document.createElement("canvas");
@@ -5660,13 +5660,13 @@ function As() {
5660
5660
  },
5661
5661
  _update: function() {
5662
5662
  if (!(this._map._animatingZoom && this._bounds)) {
5663
- Bt.prototype._update.call(this);
5664
- var t = this._bounds, e = this._container, i = t.getSize(), n = S.retina ? 2 : 1;
5665
- ot(e, t.min), e.width = n * i.x, e.height = n * i.y, e.style.width = i.x + "px", e.style.height = i.y + "px", S.retina && this._ctx.scale(2, 2), this._ctx.translate(-t.min.x, -t.min.y), this.fire("update");
5663
+ Nt.prototype._update.call(this);
5664
+ var t = this._bounds, e = this._container, i = t.getSize(), n = z.retina ? 2 : 1;
5665
+ ot(e, t.min), e.width = n * i.x, e.height = n * i.y, e.style.width = i.x + "px", e.style.height = i.y + "px", z.retina && this._ctx.scale(2, 2), this._ctx.translate(-t.min.x, -t.min.y), this.fire("update");
5666
5666
  }
5667
5667
  },
5668
5668
  _reset: function() {
5669
- Bt.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
5669
+ Nt.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
5670
5670
  },
5671
5671
  _initPath: function(t) {
5672
5672
  this._updateDashArray(t), this._layers[v(t)] = t;
@@ -5808,10 +5808,10 @@ function As() {
5808
5808
  }
5809
5809
  }
5810
5810
  });
5811
- function Un(t) {
5812
- return S.canvas ? new Vn(t) : null;
5811
+ function Yn(t) {
5812
+ return z.canvas ? new Kn(t) : null;
5813
5813
  }
5814
- var Te = (function() {
5814
+ var Ce = (function() {
5815
5815
  try {
5816
5816
  return document.namespaces.add("lvml", "urn:schemas-microsoft-com:vml"), function(t) {
5817
5817
  return document.createElement("<lvml:" + t + ' class="lvml">');
@@ -5821,16 +5821,16 @@ function As() {
5821
5821
  return function(t) {
5822
5822
  return document.createElement("<" + t + ' xmlns="urn:schemas-microsoft.com:vml" class="lvml">');
5823
5823
  };
5824
- })(), os = {
5824
+ })(), ms = {
5825
5825
  _initContainer: function() {
5826
5826
  this._container = V("div", "leaflet-vml-container");
5827
5827
  },
5828
5828
  _update: function() {
5829
- this._map._animatingZoom || (Bt.prototype._update.call(this), this.fire("update"));
5829
+ this._map._animatingZoom || (Nt.prototype._update.call(this), this.fire("update"));
5830
5830
  },
5831
5831
  _initPath: function(t) {
5832
- var e = t._container = Te("shape");
5833
- N(e, "leaflet-vml-shape " + (this.options.className || "")), e.coordsize = "1 1", t._path = Te("path"), e.appendChild(t._path), this._updateStyle(t), this._layers[v(t)] = t;
5832
+ var e = t._container = Ce("shape");
5833
+ N(e, "leaflet-vml-shape " + (this.options.className || "")), e.coordsize = "1 1", t._path = Ce("path"), e.appendChild(t._path), this._updateStyle(t), this._layers[v(t)] = t;
5834
5834
  },
5835
5835
  _addPath: function(t) {
5836
5836
  var e = t._container;
@@ -5842,7 +5842,7 @@ function As() {
5842
5842
  },
5843
5843
  _updateStyle: function(t) {
5844
5844
  var e = t._stroke, i = t._fill, n = t.options, o = t._container;
5845
- o.stroked = !!n.stroke, o.filled = !!n.fill, n.stroke ? (e || (e = t._stroke = Te("stroke")), o.appendChild(e), e.weight = n.weight + "px", e.color = n.color, e.opacity = n.opacity, n.dashArray ? e.dashStyle = U(n.dashArray) ? n.dashArray.join(" ") : n.dashArray.replace(/( *, *)/g, " ") : e.dashStyle = "", e.endcap = n.lineCap.replace("butt", "flat"), e.joinstyle = n.lineJoin) : e && (o.removeChild(e), t._stroke = null), n.fill ? (i || (i = t._fill = Te("fill")), o.appendChild(i), i.color = n.fillColor || n.color, i.opacity = n.fillOpacity) : i && (o.removeChild(i), t._fill = null);
5845
+ o.stroked = !!n.stroke, o.filled = !!n.fill, n.stroke ? (e || (e = t._stroke = Ce("stroke")), o.appendChild(e), e.weight = n.weight + "px", e.color = n.color, e.opacity = n.opacity, n.dashArray ? e.dashStyle = U(n.dashArray) ? n.dashArray.join(" ") : n.dashArray.replace(/( *, *)/g, " ") : e.dashStyle = "", e.endcap = n.lineCap.replace("butt", "flat"), e.joinstyle = n.lineJoin) : e && (o.removeChild(e), t._stroke = null), n.fill ? (i || (i = t._fill = Ce("fill")), o.appendChild(i), i.color = n.fillColor || n.color, i.opacity = n.fillOpacity) : i && (o.removeChild(i), t._fill = null);
5846
5846
  },
5847
5847
  _updateCircle: function(t) {
5848
5848
  var e = t._point.round(), i = Math.round(t._radius), n = Math.round(t._radiusY || i);
@@ -5852,28 +5852,28 @@ function As() {
5852
5852
  t._path.v = e;
5853
5853
  },
5854
5854
  _bringToFront: function(t) {
5855
- se(t._container);
5855
+ ae(t._container);
5856
5856
  },
5857
5857
  _bringToBack: function(t) {
5858
- ae(t._container);
5858
+ le(t._container);
5859
5859
  }
5860
- }, Ye = S.vml ? Te : Ki, Ce = Bt.extend({
5860
+ }, Xe = z.vml ? Ce : Qi, Se = Nt.extend({
5861
5861
  _initContainer: function() {
5862
- this._container = Ye("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Ye("g"), this._container.appendChild(this._rootGroup);
5862
+ this._container = Xe("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Xe("g"), this._container.appendChild(this._rootGroup);
5863
5863
  },
5864
5864
  _destroyContainer: function() {
5865
5865
  Q(this._container), q(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
5866
5866
  },
5867
5867
  _update: function() {
5868
5868
  if (!(this._map._animatingZoom && this._bounds)) {
5869
- Bt.prototype._update.call(this);
5869
+ Nt.prototype._update.call(this);
5870
5870
  var t = this._bounds, e = t.getSize(), i = this._container;
5871
5871
  (!this._svgSize || !this._svgSize.equals(e)) && (this._svgSize = e, i.setAttribute("width", e.x), i.setAttribute("height", e.y)), ot(i, t.min), i.setAttribute("viewBox", [t.min.x, t.min.y, e.x, e.y].join(" ")), this.fire("update");
5872
5872
  }
5873
5873
  },
5874
5874
  // methods below are called by vector layers implementations
5875
5875
  _initPath: function(t) {
5876
- var e = t._path = Ye("path");
5876
+ var e = t._path = Xe("path");
5877
5877
  t.options.className && N(e, t.options.className), t.options.interactive && N(e, "leaflet-interactive"), this._updateStyle(t), this._layers[v(t)] = t;
5878
5878
  },
5879
5879
  _addPath: function(t) {
@@ -5890,7 +5890,7 @@ function As() {
5890
5890
  e && (i.stroke ? (e.setAttribute("stroke", i.color), e.setAttribute("stroke-opacity", i.opacity), e.setAttribute("stroke-width", i.weight), e.setAttribute("stroke-linecap", i.lineCap), e.setAttribute("stroke-linejoin", i.lineJoin), i.dashArray ? e.setAttribute("stroke-dasharray", i.dashArray) : e.removeAttribute("stroke-dasharray"), i.dashOffset ? e.setAttribute("stroke-dashoffset", i.dashOffset) : e.removeAttribute("stroke-dashoffset")) : e.setAttribute("stroke", "none"), i.fill ? (e.setAttribute("fill", i.fillColor || i.color), e.setAttribute("fill-opacity", i.fillOpacity), e.setAttribute("fill-rule", i.fillRule || "evenodd")) : e.setAttribute("fill", "none"));
5891
5891
  },
5892
5892
  _updatePoly: function(t, e) {
5893
- this._setPath(t, Yi(t._parts, e));
5893
+ this._setPath(t, tn(t._parts, e));
5894
5894
  },
5895
5895
  _updateCircle: function(t) {
5896
5896
  var e = t._point, i = Math.max(Math.round(t._radius), 1), n = Math.max(Math.round(t._radiusY), 1) || i, o = "a" + i + "," + n + " 0 1,0 ", r = t._empty() ? "M0 0" : "M" + (e.x - i) + "," + e.y + o + i * 2 + ",0 " + o + -i * 2 + ",0 ";
@@ -5901,15 +5901,15 @@ function As() {
5901
5901
  },
5902
5902
  // SVG does not have the concept of zIndex so we resort to changing the DOM order of elements
5903
5903
  _bringToFront: function(t) {
5904
- se(t._path);
5904
+ ae(t._path);
5905
5905
  },
5906
5906
  _bringToBack: function(t) {
5907
- ae(t._path);
5907
+ le(t._path);
5908
5908
  }
5909
5909
  });
5910
- S.vml && Ce.include(os);
5911
- function $n(t) {
5912
- return S.svg || S.vml ? new Ce(t) : null;
5910
+ z.vml && Se.include(ms);
5911
+ function Xn(t) {
5912
+ return z.svg || z.vml ? new Se(t) : null;
5913
5913
  }
5914
5914
  j.include({
5915
5915
  // @namespace Map; @method getRenderer(layer: Path): Renderer
@@ -5927,12 +5927,12 @@ function As() {
5927
5927
  return e === void 0 && (e = this._createRenderer({ pane: t }), this._paneRenderers[t] = e), e;
5928
5928
  },
5929
5929
  _createRenderer: function(t) {
5930
- return this.options.preferCanvas && Un(t) || $n(t);
5930
+ return this.options.preferCanvas && Yn(t) || Xn(t);
5931
5931
  }
5932
5932
  });
5933
- var qn = ce.extend({
5933
+ var Jn = ue.extend({
5934
5934
  initialize: function(t, e) {
5935
- ce.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
5935
+ ue.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
5936
5936
  },
5937
5937
  // @method setBounds(latLngBounds: LatLngBounds): this
5938
5938
  // Redraws the rectangle with the passed bounds.
@@ -5948,16 +5948,16 @@ function As() {
5948
5948
  ];
5949
5949
  }
5950
5950
  });
5951
- function rs(t, e) {
5952
- return new qn(t, e);
5951
+ function ps(t, e) {
5952
+ return new Jn(t, e);
5953
5953
  }
5954
- Ce.create = Ye, Ce.pointsToPath = Yi, Rt.geometryToLayer = je, Rt.coordsToLatLng = Ii, Rt.coordsToLatLngs = Ge, Rt.latLngToCoords = Zi, Rt.latLngsToCoords = Ve, Rt.getFeature = ue, Rt.asFeature = Ue, j.mergeOptions({
5954
+ Se.create = Xe, Se.pointsToPath = tn, Bt.geometryToLayer = Ge, Bt.coordsToLatLng = Ri, Bt.coordsToLatLngs = Ve, Bt.latLngToCoords = Zi, Bt.latLngsToCoords = Ue, Bt.getFeature = de, Bt.asFeature = $e, j.mergeOptions({
5955
5955
  // @option boxZoom: Boolean = true
5956
5956
  // Whether the map can be zoomed to a rectangular area specified by
5957
5957
  // dragging the mouse while pressing the shift key.
5958
5958
  boxZoom: !0
5959
5959
  });
5960
- var Kn = Et.extend({
5960
+ var Qn = Ot.extend({
5961
5961
  initialize: function(t) {
5962
5962
  this._map = t, this._container = t._container, this._pane = t._panes.overlayPane, this._resetStateTimeout = 0, t.on("unload", this._destroy, this);
5963
5963
  },
@@ -5982,8 +5982,8 @@ function As() {
5982
5982
  _onMouseDown: function(t) {
5983
5983
  if (!t.shiftKey || t.which !== 1 && t.button !== 1)
5984
5984
  return !1;
5985
- this._clearDeferredResetState(), this._resetState(), ve(), gi(), this._startPoint = this._map.mouseEventToContainerPoint(t), B(document, {
5986
- contextmenu: Xt,
5985
+ this._clearDeferredResetState(), this._resetState(), ye(), vi(), this._startPoint = this._map.mouseEventToContainerPoint(t), B(document, {
5986
+ contextmenu: Jt,
5987
5987
  mousemove: this._onMouseMove,
5988
5988
  mouseup: this._onMouseUp,
5989
5989
  keydown: this._onKeyDown
@@ -5995,8 +5995,8 @@ function As() {
5995
5995
  ot(this._box, e.min), this._box.style.width = i.x + "px", this._box.style.height = i.y + "px";
5996
5996
  },
5997
5997
  _finish: function() {
5998
- this._moved && (Q(this._box), it(this._container, "leaflet-crosshair")), ye(), vi(), q(document, {
5999
- contextmenu: Xt,
5998
+ this._moved && (Q(this._box), it(this._container, "leaflet-crosshair")), be(), yi(), q(document, {
5999
+ contextmenu: Jt,
6000
6000
  mousemove: this._onMouseMove,
6001
6001
  mouseup: this._onMouseUp,
6002
6002
  keydown: this._onKeyDown
@@ -6016,7 +6016,7 @@ function As() {
6016
6016
  t.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
6017
6017
  }
6018
6018
  });
6019
- j.addInitHook("addHandler", "boxZoom", Kn), j.mergeOptions({
6019
+ j.addInitHook("addHandler", "boxZoom", Qn), j.mergeOptions({
6020
6020
  // @option doubleClickZoom: Boolean|String = true
6021
6021
  // Whether the map can be zoomed in by double clicking on it and
6022
6022
  // zoomed out by double clicking while holding shift. If passed
@@ -6024,7 +6024,7 @@ function As() {
6024
6024
  // view regardless of where the mouse was.
6025
6025
  doubleClickZoom: !0
6026
6026
  });
6027
- var Yn = Et.extend({
6027
+ var to = Ot.extend({
6028
6028
  addHooks: function() {
6029
6029
  this._map.on("dblclick", this._onDoubleClick, this);
6030
6030
  },
@@ -6036,7 +6036,7 @@ function As() {
6036
6036
  e.options.doubleClickZoom === "center" ? e.setZoom(o) : e.setZoomAround(t.containerPoint, o);
6037
6037
  }
6038
6038
  });
6039
- j.addInitHook("addHandler", "doubleClickZoom", Yn), j.mergeOptions({
6039
+ j.addInitHook("addHandler", "doubleClickZoom", to), j.mergeOptions({
6040
6040
  // @option dragging: Boolean = true
6041
6041
  // Whether the map is draggable with mouse/touch or not.
6042
6042
  dragging: !0,
@@ -6071,11 +6071,11 @@ function As() {
6071
6071
  // solid, preventing the user from dragging outside the bounds.
6072
6072
  maxBoundsViscosity: 0
6073
6073
  });
6074
- var Xn = Et.extend({
6074
+ var eo = Ot.extend({
6075
6075
  addHooks: function() {
6076
6076
  if (!this._draggable) {
6077
6077
  var t = this._map;
6078
- this._draggable = new Wt(t._mapPane, t._container), this._draggable.on({
6078
+ this._draggable = new Ht(t._mapPane, t._container), this._draggable.on({
6079
6079
  dragstart: this._onDragStart,
6080
6080
  drag: this._onDrag,
6081
6081
  dragend: this._onDragEnd
@@ -6150,7 +6150,7 @@ function As() {
6150
6150
  }
6151
6151
  }
6152
6152
  });
6153
- j.addInitHook("addHandler", "dragging", Xn), j.mergeOptions({
6153
+ j.addInitHook("addHandler", "dragging", eo), j.mergeOptions({
6154
6154
  // @option keyboard: Boolean = true
6155
6155
  // Makes the map focusable and allows users to navigate the map with keyboard
6156
6156
  // arrows and `+`/`-` keys.
@@ -6159,7 +6159,7 @@ function As() {
6159
6159
  // Amount of pixels to pan when pressing an arrow key.
6160
6160
  keyboardPanDelta: 80
6161
6161
  });
6162
- var Jn = Et.extend({
6162
+ var io = Ot.extend({
6163
6163
  keyCodes: {
6164
6164
  left: [37],
6165
6165
  right: [39],
@@ -6244,11 +6244,11 @@ function As() {
6244
6244
  i.closePopup();
6245
6245
  else
6246
6246
  return;
6247
- Xt(t);
6247
+ Jt(t);
6248
6248
  }
6249
6249
  }
6250
6250
  });
6251
- j.addInitHook("addHandler", "keyboard", Jn), j.mergeOptions({
6251
+ j.addInitHook("addHandler", "keyboard", io), j.mergeOptions({
6252
6252
  // @section Mouse wheel options
6253
6253
  // @option scrollWheelZoom: Boolean|String = true
6254
6254
  // Whether the map can be zoomed by using the mouse wheel. If passed `'center'`,
@@ -6264,7 +6264,7 @@ function As() {
6264
6264
  // faster (and vice versa).
6265
6265
  wheelPxPerZoomLevel: 60
6266
6266
  });
6267
- var Qn = Et.extend({
6267
+ var no = Ot.extend({
6268
6268
  addHooks: function() {
6269
6269
  B(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
6270
6270
  },
@@ -6272,10 +6272,10 @@ function As() {
6272
6272
  q(this._map._container, "wheel", this._onWheelScroll, this);
6273
6273
  },
6274
6274
  _onWheelScroll: function(t) {
6275
- var e = Pn(t), i = this._map.options.wheelDebounceTime;
6275
+ var e = Cn(t), i = this._map.options.wheelDebounceTime;
6276
6276
  this._delta += e, this._lastMousePos = this._map.mouseEventToContainerPoint(t), this._startTime || (this._startTime = +/* @__PURE__ */ new Date());
6277
6277
  var n = Math.max(i - (+/* @__PURE__ */ new Date() - this._startTime), 0);
6278
- clearTimeout(this._timer), this._timer = setTimeout(m(this._performZoom, this), n), Xt(t);
6278
+ clearTimeout(this._timer), this._timer = setTimeout(m(this._performZoom, this), n), Jt(t);
6279
6279
  },
6280
6280
  _performZoom: function() {
6281
6281
  var t = this._map, e = t.getZoom(), i = this._map.options.zoomSnap || 0;
@@ -6284,19 +6284,19 @@ function As() {
6284
6284
  this._delta = 0, this._startTime = null, c && (t.options.scrollWheelZoom === "center" ? t.setZoom(e + c) : t.setZoomAround(this._lastMousePos, e + c));
6285
6285
  }
6286
6286
  });
6287
- j.addInitHook("addHandler", "scrollWheelZoom", Qn);
6288
- var ss = 600;
6287
+ j.addInitHook("addHandler", "scrollWheelZoom", no);
6288
+ var _s = 600;
6289
6289
  j.mergeOptions({
6290
6290
  // @section Touch interaction options
6291
6291
  // @option tapHold: Boolean
6292
6292
  // Enables simulation of `contextmenu` event, default is `true` for mobile Safari.
6293
- tapHold: S.touchNative && S.safari && S.mobile,
6293
+ tapHold: z.touchNative && z.safari && z.mobile,
6294
6294
  // @option tapTolerance: Number = 15
6295
6295
  // The max number of pixels a user can shift his finger during touch
6296
6296
  // for it to be considered a valid tap.
6297
6297
  tapTolerance: 15
6298
6298
  });
6299
- var to = Et.extend({
6299
+ var oo = Ot.extend({
6300
6300
  addHooks: function() {
6301
6301
  B(this._map._container, "touchstart", this._onDown, this);
6302
6302
  },
@@ -6308,7 +6308,7 @@ function As() {
6308
6308
  var e = t.touches[0];
6309
6309
  this._startPos = this._newPos = new A(e.clientX, e.clientY), this._holdTimeout = setTimeout(m(function() {
6310
6310
  this._cancel(), this._isTapValid() && (B(document, "touchend", dt), B(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", e));
6311
- }, this), ss), B(document, "touchend touchcancel contextmenu", this._cancel, this), B(document, "touchmove", this._onMove, this);
6311
+ }, this), _s), B(document, "touchend touchcancel contextmenu", this._cancel, this), B(document, "touchmove", this._onMove, this);
6312
6312
  }
6313
6313
  },
6314
6314
  _cancelClickPrevent: function t() {
@@ -6340,20 +6340,20 @@ function As() {
6340
6340
  i._simulated = !0, e.target.dispatchEvent(i);
6341
6341
  }
6342
6342
  });
6343
- j.addInitHook("addHandler", "tapHold", to), j.mergeOptions({
6343
+ j.addInitHook("addHandler", "tapHold", oo), j.mergeOptions({
6344
6344
  // @section Touch interaction options
6345
6345
  // @option touchZoom: Boolean|String = *
6346
6346
  // Whether the map can be zoomed by touch-dragging with two fingers. If
6347
6347
  // passed `'center'`, it will zoom to the center of the view regardless of
6348
6348
  // where the touch events (fingers) were. Enabled for touch-capable web
6349
6349
  // browsers.
6350
- touchZoom: S.touch,
6350
+ touchZoom: z.touch,
6351
6351
  // @option bounceAtZoomLimits: Boolean = true
6352
6352
  // Set it to false if you don't want the map to zoom beyond min/max zoom
6353
6353
  // and then bounce back when pinch-zooming.
6354
6354
  bounceAtZoomLimits: !0
6355
6355
  });
6356
- var eo = Et.extend({
6356
+ var ro = Ot.extend({
6357
6357
  addHooks: function() {
6358
6358
  N(this._map._container, "leaflet-touch-zoom"), B(this._map._container, "touchstart", this._onTouchStart, this);
6359
6359
  },
@@ -6392,32 +6392,32 @@ function As() {
6392
6392
  this._zooming = !1, ht(this._animRequest), q(document, "touchmove", this._onTouchMove, this), q(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));
6393
6393
  }
6394
6394
  });
6395
- j.addInitHook("addHandler", "touchZoom", eo), j.BoxZoom = Kn, j.DoubleClickZoom = Yn, j.Drag = Xn, j.Keyboard = Jn, j.ScrollWheelZoom = Qn, j.TapHold = to, j.TouchZoom = eo, a.Bounds = $, a.Browser = S, a.CRS = _t, a.Canvas = Vn, a.Circle = Ai, a.CircleMarker = He, a.Class = vt, a.Control = kt, a.DivIcon = Hn, a.DivOverlay = Ot, a.DomEvent = Lr, a.DomUtil = xr, a.Draggable = Wt, a.Evented = yt, a.FeatureGroup = It, a.GeoJSON = Rt, a.GridLayer = ke, a.Handler = Et, a.Icon = he, a.ImageOverlay = $e, a.LatLng = I, a.LatLngBounds = ut, a.Layer = Tt, a.LayerGroup = le, a.LineUtil = Br, a.Map = j, a.Marker = We, a.Mixin = Er, a.Path = Ht, a.Point = A, a.PolyUtil = Or, a.Polygon = ce, a.Polyline = Zt, a.Popup = qe, a.PosAnimation = Ln, a.Projection = Nr, a.Rectangle = qn, a.Renderer = Bt, a.SVG = Ce, a.SVGOverlay = Wn, a.TileLayer = de, a.Tooltip = Ke, a.Transformation = Ft, a.Util = Oe, a.VideoOverlay = Fn, a.bind = m, a.bounds = ct, a.canvas = Un, a.circle = Ur, a.circleMarker = Vr, a.control = xe, a.divIcon = es, a.extend = u, a.featureGroup = Hr, a.geoJSON = Dn, a.geoJson = Kr, a.gridLayer = is, a.icon = jr, a.imageOverlay = Yr, a.latLng = M, a.latLngBounds = J, a.layerGroup = Wr, a.map = kr, a.marker = Gr, a.point = y, a.polygon = qr, a.polyline = $r, a.popup = Qr, a.rectangle = rs, a.setOptions = z, a.stamp = v, a.svg = $n, a.svgOverlay = Jr, a.tileLayer = jn, a.tooltip = ts, a.transformation = zt, a.version = h, a.videoOverlay = Xr;
6396
- var as = window.L;
6395
+ j.addInitHook("addHandler", "touchZoom", ro), j.BoxZoom = Qn, j.DoubleClickZoom = to, j.Drag = eo, j.Keyboard = io, j.ScrollWheelZoom = no, j.TapHold = oo, j.TouchZoom = ro, a.Bounds = $, a.Browser = z, a.CRS = _t, a.Canvas = Kn, a.Circle = Ii, a.CircleMarker = je, a.Class = vt, a.Control = kt, a.DivIcon = Un, a.DivOverlay = At, a.DomEvent = Ir, a.DomUtil = Or, a.Draggable = Ht, a.Evented = yt, a.FeatureGroup = Rt, a.GeoJSON = Bt, a.GridLayer = Te, a.Handler = Ot, a.Icon = ce, a.ImageOverlay = qe, a.LatLng = I, a.LatLngBounds = ut, a.Layer = Tt, a.LayerGroup = he, a.LineUtil = $r, a.Map = j, a.Marker = He, a.Mixin = Wr, a.Path = jt, a.Point = A, a.PolyUtil = Hr, a.Polygon = ue, a.Polyline = Zt, a.Popup = Ke, a.PosAnimation = Sn, a.Projection = qr, a.Rectangle = Jn, a.Renderer = Nt, a.SVG = Se, a.SVGOverlay = Vn, a.TileLayer = fe, a.Tooltip = Ye, a.Transformation = Wt, a.Util = Ae, a.VideoOverlay = Gn, a.bind = m, a.bounds = ct, a.canvas = Yn, a.circle = is, a.circleMarker = es, a.control = Pe, a.divIcon = us, a.extend = u, a.featureGroup = Jr, a.geoJSON = jn, a.geoJson = rs, a.gridLayer = ds, a.icon = Qr, a.imageOverlay = ss, a.latLng = M, a.latLngBounds = J, a.layerGroup = Xr, a.map = Rr, a.marker = ts, a.point = y, a.polygon = os, a.polyline = ns, a.popup = hs, a.rectangle = ps, a.setOptions = S, a.stamp = v, a.svg = Xn, a.svgOverlay = ls, a.tileLayer = $n, a.tooltip = cs, a.transformation = zt, a.version = h, a.videoOverlay = as;
6396
+ var gs = window.L;
6397
6397
  a.noConflict = function() {
6398
- return window.L = as, this;
6398
+ return window.L = gs, this;
6399
6399
  }, window.L = a;
6400
6400
  }));
6401
- })(Me, Me.exports)), Me.exports;
6401
+ })(Ee, Ee.exports)), Ee.exports;
6402
6402
  }
6403
- var Gt = As();
6404
- const To = /* @__PURE__ */ _s(Gt), Is = window.React.useEffect, Ni = window.React.useRef;
6405
- function me(s, l, a) {
6403
+ var Vt = js();
6404
+ const So = /* @__PURE__ */ Ts(Vt), Gs = window.React.useEffect, Di = window.React.useRef;
6405
+ function pe(s, l, a) {
6406
6406
  return Object.freeze({
6407
6407
  instance: s,
6408
6408
  context: l,
6409
6409
  container: a
6410
6410
  });
6411
6411
  }
6412
- function si(s, l) {
6412
+ function ai(s, l) {
6413
6413
  return l == null ? function(h, u) {
6414
- const p = Ni(void 0);
6414
+ const p = Di(void 0);
6415
6415
  return p.current || (p.current = s(h, u)), p;
6416
6416
  } : function(h, u) {
6417
- const p = Ni(void 0);
6417
+ const p = Di(void 0);
6418
6418
  p.current || (p.current = s(h, u));
6419
- const m = Ni(h), { instance: b } = p.current;
6420
- return Is(function() {
6419
+ const m = Di(h), { instance: b } = p.current;
6420
+ return Gs(function() {
6421
6421
  m.current !== h && (l(b, h, m.current), m.current = h);
6422
6422
  }, [
6423
6423
  b,
@@ -6426,9 +6426,9 @@ function si(s, l) {
6426
6426
  ]), p;
6427
6427
  };
6428
6428
  }
6429
- const Zs = window.React.useEffect;
6430
- function Co(s, l) {
6431
- Zs(function() {
6429
+ const Vs = window.React.useEffect;
6430
+ function zo(s, l) {
6431
+ Vs(function() {
6432
6432
  return (l.layerContainer ?? l.map).addLayer(s.instance), function() {
6433
6433
  l.layerContainer?.removeLayer(s.instance), l.map.removeLayer(s.instance);
6434
6434
  };
@@ -6437,16 +6437,16 @@ function Co(s, l) {
6437
6437
  s
6438
6438
  ]);
6439
6439
  }
6440
- function zo(s) {
6440
+ function Mo(s) {
6441
6441
  return function(a) {
6442
- const h = oi(), u = s(ri(a, h), h);
6443
- return Lo(h.map, a.attribution), Vi(u.current, a.eventHandlers), Co(u.current, h), u;
6442
+ const h = ri(), u = s(si(a, h), h);
6443
+ return To(h.map, a.attribution), qi(u.current, a.eventHandlers), zo(u.current, h), u;
6444
6444
  };
6445
6445
  }
6446
- const Rs = window.React.useEffect, Bs = window.React.useRef;
6447
- function Ns(s, l) {
6448
- const a = Bs(void 0);
6449
- Rs(function() {
6446
+ const Us = window.React.useEffect, $s = window.React.useRef;
6447
+ function qs(s, l) {
6448
+ const a = $s(void 0);
6449
+ Us(function() {
6450
6450
  if (l.pathOptions !== a.current) {
6451
6451
  const u = l.pathOptions ?? {};
6452
6452
  s.instance.setStyle(u), a.current = u;
@@ -6456,91 +6456,91 @@ function Ns(s, l) {
6456
6456
  l
6457
6457
  ]);
6458
6458
  }
6459
- function Ds(s) {
6459
+ function Ks(s) {
6460
6460
  return function(a) {
6461
- const h = oi(), u = s(ri(a, h), h);
6462
- return Vi(u.current, a.eventHandlers), Co(u.current, h), Ns(u.current, a), u;
6461
+ const h = ri(), u = s(si(a, h), h);
6462
+ return qi(u.current, a.eventHandlers), zo(u.current, h), qs(u.current, a), u;
6463
6463
  };
6464
6464
  }
6465
- function Fs(s, l) {
6466
- const a = si(s, l), h = zo(a);
6467
- return ko(h);
6465
+ function Ys(s, l) {
6466
+ const a = ai(s, l), h = Mo(a);
6467
+ return Co(h);
6468
6468
  }
6469
- function Ws(s, l) {
6470
- const a = si(s), h = Es(a, l);
6471
- return Cs(h);
6469
+ function Xs(s, l) {
6470
+ const a = ai(s), h = Ws(a, l);
6471
+ return Bs(h);
6472
6472
  }
6473
- function Ui(s, l) {
6474
- const a = si(s, l), h = Ds(a);
6475
- return ko(h);
6473
+ function Ki(s, l) {
6474
+ const a = ai(s, l), h = Ks(a);
6475
+ return Co(h);
6476
6476
  }
6477
- function Hs(s, l) {
6478
- const a = si(s, l), h = zo(a);
6479
- return zs(h);
6477
+ function Js(s, l) {
6478
+ const a = ai(s, l), h = Mo(a);
6479
+ return Ns(h);
6480
6480
  }
6481
- function js(s, l, a) {
6481
+ function Qs(s, l, a) {
6482
6482
  const { opacity: h, zIndex: u } = l;
6483
6483
  h != null && h !== a.opacity && s.setOpacity(h), u != null && u !== a.zIndex && s.setZIndex(u);
6484
6484
  }
6485
6485
  window.React.useEffect;
6486
- function Gs() {
6487
- return oi().map;
6486
+ function ta() {
6487
+ return ri().map;
6488
6488
  }
6489
- const so = window.React, Vs = window.React.forwardRef, Us = window.React.useCallback, $s = window.React.useEffect, qs = window.React.useImperativeHandle, Ks = window.React.useRef, ao = window.React.useState;
6490
- function Ys({ bounds: s, boundsOptions: l, center: a, children: h, className: u, id: p, placeholder: m, style: b, whenReady: v, zoom: g, ...Z }, T) {
6491
- const [D] = ao({
6489
+ const co = window.React, ea = window.React.forwardRef, ia = window.React.useCallback, na = window.React.useEffect, oa = window.React.useImperativeHandle, ra = window.React.useRef, uo = window.React.useState;
6490
+ function sa({ bounds: s, boundsOptions: l, center: a, children: h, className: u, id: p, placeholder: m, style: b, whenReady: v, zoom: g, ...R }, T) {
6491
+ const [D] = uo({
6492
6492
  className: u,
6493
6493
  id: p,
6494
6494
  style: b
6495
- }), [R, G] = ao(null), z = Ks(void 0);
6496
- qs(T, () => R?.map ?? null, [
6497
- R
6495
+ }), [Z, G] = uo(null), S = ra(void 0);
6496
+ oa(T, () => Z?.map ?? null, [
6497
+ Z
6498
6498
  ]);
6499
- const Y = Us((X) => {
6500
- if (X !== null && !z.current) {
6501
- const U = new Gt.Map(X, Z);
6502
- z.current = U, a != null && g != null ? U.setView(a, g) : s != null && U.fitBounds(s, l), v != null && U.whenReady(v), G(xs(U));
6499
+ const Y = ia((X) => {
6500
+ if (X !== null && !S.current) {
6501
+ const U = new Vt.Map(X, R);
6502
+ S.current = U, a != null && g != null ? U.setView(a, g) : s != null && U.fitBounds(s, l), v != null && U.whenReady(v), G(Os(U));
6503
6503
  }
6504
6504
  }, []);
6505
- $s(() => () => {
6506
- R?.map.remove();
6505
+ na(() => () => {
6506
+ Z?.map.remove();
6507
6507
  }, [
6508
- R
6508
+ Z
6509
6509
  ]);
6510
- const ft = R ? /* @__PURE__ */ so.createElement(Hi, {
6511
- value: R
6510
+ const ft = Z ? /* @__PURE__ */ co.createElement(Vi, {
6511
+ value: Z
6512
6512
  }, h) : m ?? null;
6513
- return /* @__PURE__ */ so.createElement("div", {
6513
+ return /* @__PURE__ */ co.createElement("div", {
6514
6514
  ...D,
6515
6515
  ref: Y
6516
6516
  }, ft);
6517
6517
  }
6518
- const Xs = /* @__PURE__ */ Vs(Ys), Js = Fs(function({ position: l, ...a }, h) {
6519
- const u = new Gt.Marker(l, a);
6520
- return me(u, ni(h, {
6518
+ const aa = /* @__PURE__ */ ea(sa), la = Ys(function({ position: l, ...a }, h) {
6519
+ const u = new Vt.Marker(l, a);
6520
+ return pe(u, oi(h, {
6521
6521
  overlayContainer: u
6522
6522
  }));
6523
6523
  }, function(l, a, h) {
6524
6524
  a.position !== h.position && l.setLatLng(a.position), a.icon != null && a.icon !== h.icon && l.setIcon(a.icon), a.zIndexOffset != null && a.zIndexOffset !== h.zIndexOffset && l.setZIndexOffset(a.zIndexOffset), a.opacity != null && a.opacity !== h.opacity && l.setOpacity(a.opacity), l.dragging != null && a.draggable !== h.draggable && (a.draggable === !0 ? l.dragging.enable() : l.dragging.disable());
6525
- }), Qs = Ui(function({ positions: l, ...a }, h) {
6526
- const u = new Gt.Polygon(l, a);
6527
- return me(u, ni(h, {
6525
+ }), ha = Ki(function({ positions: l, ...a }, h) {
6526
+ const u = new Vt.Polygon(l, a);
6527
+ return pe(u, oi(h, {
6528
6528
  overlayContainer: u
6529
6529
  }));
6530
6530
  }, function(l, a, h) {
6531
6531
  a.positions !== h.positions && l.setLatLngs(a.positions);
6532
- }), lo = Ui(function({ positions: l, ...a }, h) {
6533
- const u = new Gt.Polyline(l, a);
6534
- return me(u, ni(h, {
6532
+ }), fo = Ki(function({ positions: l, ...a }, h) {
6533
+ const u = new Vt.Polyline(l, a);
6534
+ return pe(u, oi(h, {
6535
6535
  overlayContainer: u
6536
6536
  }));
6537
6537
  }, function(l, a, h) {
6538
6538
  a.positions !== h.positions && l.setLatLngs(a.positions);
6539
- }), ta = window.React.useEffect, Di = Ws(function(l, a) {
6540
- const h = new Gt.Popup(l, a.overlayContainer);
6541
- return me(h, a);
6539
+ }), ca = window.React.useEffect, Fi = Xs(function(l, a) {
6540
+ const h = new Vt.Popup(l, a.overlayContainer);
6541
+ return pe(h, a);
6542
6542
  }, function(l, a, { position: h }, u) {
6543
- ta(function() {
6543
+ ca(function() {
6544
6544
  const { instance: m } = l;
6545
6545
  function b(g) {
6546
6546
  g.popup === m && (m.update(), u(!0));
@@ -6563,57 +6563,63 @@ const Xs = /* @__PURE__ */ Vs(Ys), Js = Fs(function({ position: l, ...a }, h) {
6563
6563
  u,
6564
6564
  h
6565
6565
  ]);
6566
- }), ho = Ui(function({ bounds: l, ...a }, h) {
6567
- const u = new Gt.Rectangle(l, a);
6568
- return me(u, ni(h, {
6566
+ }), mo = Ki(function({ bounds: l, ...a }, h) {
6567
+ const u = new Vt.Rectangle(l, a);
6568
+ return pe(u, oi(h, {
6569
6569
  overlayContainer: u
6570
6570
  }));
6571
6571
  }, function(l, a, h) {
6572
6572
  a.bounds !== h.bounds && l.setBounds(a.bounds);
6573
- }), ea = Hs(function({ url: l, ...a }, h) {
6574
- const u = new Gt.TileLayer(l, ri(a, h));
6575
- return me(u, h);
6573
+ }), ua = Js(function({ url: l, ...a }, h) {
6574
+ const u = new Vt.TileLayer(l, si(a, h));
6575
+ return pe(u, h);
6576
6576
  }, function(l, a, h) {
6577
- js(l, a, h);
6577
+ Qs(l, a, h);
6578
6578
  const { url: u } = a;
6579
6579
  u != null && u !== h.url && l.setUrl(u);
6580
- }), ia = window.React;
6581
- function co(s, l) {
6580
+ });
6581
+ var da = Object.defineProperty, Yi = (s, l) => da(s, "name", { value: l, configurable: !0 });
6582
+ const fa = window.React;
6583
+ function Hi(s, l) {
6582
6584
  if (typeof s == "function")
6583
6585
  return s(l);
6584
6586
  s != null && (s.current = l);
6585
6587
  }
6586
- function na(...s) {
6588
+ Yi(Hi, "setRef");
6589
+ function Eo(...s) {
6587
6590
  return (l) => {
6588
6591
  let a = !1;
6589
6592
  const h = s.map((u) => {
6590
- const p = co(u, l);
6593
+ const p = Hi(u, l);
6591
6594
  return !a && typeof p == "function" && (a = !0), p;
6592
6595
  });
6593
6596
  if (a)
6594
6597
  return () => {
6595
6598
  for (let u = 0; u < h.length; u++) {
6596
6599
  const p = h[u];
6597
- typeof p == "function" ? p() : co(s[u], null);
6600
+ typeof p == "function" ? p() : Hi(s[u], null);
6598
6601
  }
6599
6602
  };
6600
6603
  };
6601
6604
  }
6602
- function oa(...s) {
6603
- return ia.useCallback(na(...s), s);
6605
+ Yi(Eo, "composeRefs");
6606
+ function Oo(...s) {
6607
+ return fa.useCallback(Eo(...s), s);
6604
6608
  }
6609
+ Yi(Oo, "useComposedRefs");
6610
+ var ma = Object.defineProperty, St = (s, l) => ma(s, "name", { value: l, configurable: !0 });
6605
6611
  const Pt = window.React;
6606
6612
  // @__NO_SIDE_EFFECTS__
6607
- function ra(s) {
6613
+ function Ao(s) {
6608
6614
  const l = Pt.forwardRef((a, h) => {
6609
6615
  let { children: u, ...p } = a, m = null, b = !1;
6610
6616
  const v = [];
6611
- uo(u) && typeof Je == "function" && (u = Je(u._payload)), Pt.Children.forEach(u, (D) => {
6612
- if (ua(D)) {
6617
+ ji(u) && typeof Qe == "function" && (u = Qe(u._payload)), Pt.Children.forEach(u, (D) => {
6618
+ if (Bo(D)) {
6613
6619
  b = !0;
6614
- const R = D;
6615
- let G = "child" in R.props ? R.props.child : R.props.children;
6616
- uo(G) && typeof Je == "function" && (G = Je(G._payload)), m = la(R, G), v.push(m?.props?.children);
6620
+ const Z = D;
6621
+ let G = "child" in Z.props ? Z.props.child : Z.props.children;
6622
+ ji(G) && typeof Qe == "function" && (G = Qe(G._payload)), m = ga(Z, G), v.push(m?.props?.children);
6617
6623
  } else
6618
6624
  v.push(D);
6619
6625
  }), m ? m = Pt.cloneElement(m, void 0, v) : (
@@ -6623,27 +6629,35 @@ function ra(s) {
6623
6629
  // itself as the slot target — throw a descriptive error below instead.
6624
6630
  !b && Pt.Children.count(u) === 1 && Pt.isValidElement(u) && (m = u)
6625
6631
  );
6626
- const g = m ? ca(m) : void 0, Z = oa(h, g);
6632
+ const g = m ? Zo(m) : void 0, R = Oo(h, g);
6627
6633
  if (!m) {
6628
6634
  if (u || u === 0)
6629
6635
  throw new Error(
6630
- b ? pa(s) : ma(s)
6636
+ b ? ba(s) : ya(s)
6631
6637
  );
6632
6638
  return u;
6633
6639
  }
6634
- const T = ha(p, m.props ?? {});
6635
- return m.type !== Pt.Fragment && (T.ref = h ? Z : g), Pt.cloneElement(m, T);
6640
+ const T = Ro(p, m.props ?? {});
6641
+ return m.type !== Pt.Fragment && (T.ref = h ? R : g), Pt.cloneElement(m, T);
6636
6642
  });
6637
6643
  return l.displayName = `${s}.Slot`, l;
6638
6644
  }
6639
- var sa = /* @__PURE__ */ ra("Slot"), aa = /* @__PURE__ */ Symbol.for("radix.slottable"), la = (s, l) => {
6645
+ St(Ao, "createSlot");
6646
+ var pa = /* @__PURE__ */ Ao("Slot"), Io = /* @__PURE__ */ Symbol.for("radix.slottable");
6647
+ // @__NO_SIDE_EFFECTS__
6648
+ function _a(s) {
6649
+ const l = /* @__PURE__ */ St((a) => "child" in a ? a.children(a.child) : a.children, "Slottable");
6650
+ return l.displayName = `${s}.Slottable`, l.__radixId = Io, l;
6651
+ }
6652
+ St(_a, "createSlottable");
6653
+ var ga = /* @__PURE__ */ St((s, l) => {
6640
6654
  if ("child" in s.props) {
6641
6655
  const a = s.props.child;
6642
6656
  return Pt.isValidElement(a) ? Pt.cloneElement(a, void 0, s.props.children(a.props.children)) : null;
6643
6657
  }
6644
6658
  return Pt.isValidElement(l) ? l : null;
6645
- };
6646
- function ha(s, l) {
6659
+ }, "getSlottableElementFromSlottable");
6660
+ function Ro(s, l) {
6647
6661
  const a = { ...l };
6648
6662
  for (const h in l) {
6649
6663
  const u = s[h], p = l[h];
@@ -6654,171 +6668,176 @@ function ha(s, l) {
6654
6668
  }
6655
6669
  return { ...s, ...a };
6656
6670
  }
6657
- function ca(s) {
6671
+ St(Ro, "mergeProps");
6672
+ function Zo(s) {
6658
6673
  let l = Object.getOwnPropertyDescriptor(s.props, "ref")?.get, a = l && "isReactWarning" in l && l.isReactWarning;
6659
6674
  return a ? s.ref : (l = Object.getOwnPropertyDescriptor(s, "ref")?.get, a = l && "isReactWarning" in l && l.isReactWarning, a ? s.props.ref : s.props.ref || s.ref);
6660
6675
  }
6661
- function ua(s) {
6662
- return Pt.isValidElement(s) && typeof s.type == "function" && "__radixId" in s.type && s.type.__radixId === aa;
6676
+ St(Zo, "getElementRef");
6677
+ function Bo(s) {
6678
+ return Pt.isValidElement(s) && typeof s.type == "function" && "__radixId" in s.type && s.type.__radixId === Io;
6663
6679
  }
6664
- var da = /* @__PURE__ */ Symbol.for("react.lazy");
6665
- function uo(s) {
6666
- return s != null && typeof s == "object" && "$$typeof" in s && s.$$typeof === da && "_payload" in s && fa(s._payload);
6680
+ St(Bo, "isSlottable");
6681
+ var va = /* @__PURE__ */ Symbol.for("react.lazy");
6682
+ function ji(s) {
6683
+ return s != null && typeof s == "object" && "$$typeof" in s && s.$$typeof === va && "_payload" in s && No(s._payload);
6667
6684
  }
6668
- function fa(s) {
6685
+ St(ji, "isLazyComponent");
6686
+ function No(s) {
6669
6687
  return typeof s == "object" && s !== null && "then" in s;
6670
6688
  }
6671
- var ma = (s) => `${s} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, pa = (s) => `${s} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, Je = Pt[" use ".trim().toString()];
6672
- function So(s) {
6689
+ St(No, "isPromiseLike");
6690
+ var ya = /* @__PURE__ */ St((s) => `${s} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, "createSlotError"), ba = /* @__PURE__ */ St((s) => `${s} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, "createSlottableError"), Qe = Pt[" use ".trim().toString()];
6691
+ function Do(s) {
6673
6692
  var l, a, h = "";
6674
6693
  if (typeof s == "string" || typeof s == "number") h += s;
6675
6694
  else if (typeof s == "object") if (Array.isArray(s)) {
6676
6695
  var u = s.length;
6677
- for (l = 0; l < u; l++) s[l] && (a = So(s[l])) && (h && (h += " "), h += a);
6696
+ for (l = 0; l < u; l++) s[l] && (a = Do(s[l])) && (h && (h += " "), h += a);
6678
6697
  } else for (a in s) s[a] && (h && (h += " "), h += a);
6679
6698
  return h;
6680
6699
  }
6681
- function Mo() {
6682
- for (var s, l, a = 0, h = "", u = arguments.length; a < u; a++) (s = arguments[a]) && (l = So(s)) && (h && (h += " "), h += l);
6700
+ function Fo() {
6701
+ for (var s, l, a = 0, h = "", u = arguments.length; a < u; a++) (s = arguments[a]) && (l = Do(s)) && (h && (h += " "), h += l);
6683
6702
  return h;
6684
6703
  }
6685
- const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _a = (s, l) => (a) => {
6704
+ const po = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, _o = Fo, wa = (s, l) => (a) => {
6686
6705
  var h;
6687
- if (l?.variants == null) return mo(s, a?.class, a?.className);
6706
+ if (l?.variants == null) return _o(s, a?.class, a?.className);
6688
6707
  const { variants: u, defaultVariants: p } = l, m = Object.keys(u).map((g) => {
6689
- const Z = a?.[g], T = p?.[g];
6690
- if (Z === null) return null;
6691
- const D = fo(Z) || fo(T);
6708
+ const R = a?.[g], T = p?.[g];
6709
+ if (R === null) return null;
6710
+ const D = po(R) || po(T);
6692
6711
  return u[g][D];
6693
- }), b = a && Object.entries(a).reduce((g, Z) => {
6694
- let [T, D] = Z;
6712
+ }), b = a && Object.entries(a).reduce((g, R) => {
6713
+ let [T, D] = R;
6695
6714
  return D === void 0 || (g[T] = D), g;
6696
- }, {}), v = l == null || (h = l.compoundVariants) === null || h === void 0 ? void 0 : h.reduce((g, Z) => {
6697
- let { class: T, className: D, ...R } = Z;
6698
- return Object.entries(R).every((G) => {
6699
- let [z, Y] = G;
6715
+ }, {}), v = l == null || (h = l.compoundVariants) === null || h === void 0 ? void 0 : h.reduce((g, R) => {
6716
+ let { class: T, className: D, ...Z } = R;
6717
+ return Object.entries(Z).every((G) => {
6718
+ let [S, Y] = G;
6700
6719
  return Array.isArray(Y) ? Y.includes({
6701
6720
  ...p,
6702
6721
  ...b
6703
- }[z]) : {
6722
+ }[S]) : {
6704
6723
  ...p,
6705
6724
  ...b
6706
- }[z] === Y;
6725
+ }[S] === Y;
6707
6726
  }) ? [
6708
6727
  ...g,
6709
6728
  T,
6710
6729
  D
6711
6730
  ] : g;
6712
6731
  }, []);
6713
- return mo(s, m, v, a?.class, a?.className);
6714
- }, ga = (s, l) => {
6732
+ return _o(s, m, v, a?.class, a?.className);
6733
+ }, xa = (s, l) => {
6715
6734
  const a = new Array(s.length + l.length);
6716
6735
  for (let h = 0; h < s.length; h++)
6717
6736
  a[h] = s[h];
6718
6737
  for (let h = 0; h < l.length; h++)
6719
6738
  a[s.length + h] = l[h];
6720
6739
  return a;
6721
- }, va = (s, l) => ({
6740
+ }, Pa = (s, l) => ({
6722
6741
  classGroupId: s,
6723
6742
  validator: l
6724
- }), Eo = (s = /* @__PURE__ */ new Map(), l = null, a) => ({
6743
+ }), Wo = (s = /* @__PURE__ */ new Map(), l = null, a) => ({
6725
6744
  nextPart: s,
6726
6745
  validators: l,
6727
6746
  classGroupId: a
6728
- }), ii = "-", po = [], ya = "arbitrary..", ba = (s) => {
6729
- const l = xa(s), {
6747
+ }), ni = "-", go = [], La = "arbitrary..", ka = (s) => {
6748
+ const l = Ca(s), {
6730
6749
  conflictingClassGroups: a,
6731
6750
  conflictingClassGroupModifiers: h
6732
6751
  } = s;
6733
6752
  return {
6734
6753
  getClassGroupId: (m) => {
6735
6754
  if (m.startsWith("[") && m.endsWith("]"))
6736
- return wa(m);
6737
- const b = m.split(ii), v = b[0] === "" && b.length > 1 ? 1 : 0;
6738
- return Oo(b, v, l);
6755
+ return Ta(m);
6756
+ const b = m.split(ni), v = b[0] === "" && b.length > 1 ? 1 : 0;
6757
+ return Ho(b, v, l);
6739
6758
  },
6740
6759
  getConflictingClassGroupIds: (m, b) => {
6741
6760
  if (b) {
6742
6761
  const v = h[m], g = a[m];
6743
- return v ? g ? ga(g, v) : v : g || po;
6762
+ return v ? g ? xa(g, v) : v : g || go;
6744
6763
  }
6745
- return a[m] || po;
6764
+ return a[m] || go;
6746
6765
  }
6747
6766
  };
6748
- }, Oo = (s, l, a) => {
6767
+ }, Ho = (s, l, a) => {
6749
6768
  if (s.length - l === 0)
6750
6769
  return a.classGroupId;
6751
6770
  const u = s[l], p = a.nextPart.get(u);
6752
6771
  if (p) {
6753
- const g = Oo(s, l + 1, p);
6772
+ const g = Ho(s, l + 1, p);
6754
6773
  if (g) return g;
6755
6774
  }
6756
6775
  const m = a.validators;
6757
6776
  if (m === null)
6758
6777
  return;
6759
- const b = l === 0 ? s.join(ii) : s.slice(l).join(ii), v = m.length;
6778
+ const b = l === 0 ? s.join(ni) : s.slice(l).join(ni), v = m.length;
6760
6779
  for (let g = 0; g < v; g++) {
6761
- const Z = m[g];
6762
- if (Z.validator(b))
6763
- return Z.classGroupId;
6780
+ const R = m[g];
6781
+ if (R.validator(b))
6782
+ return R.classGroupId;
6764
6783
  }
6765
- }, wa = (s) => s.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
6784
+ }, Ta = (s) => s.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
6766
6785
  const l = s.slice(1, -1), a = l.indexOf(":"), h = l.slice(0, a);
6767
- return h ? ya + h : void 0;
6768
- })(), xa = (s) => {
6786
+ return h ? La + h : void 0;
6787
+ })(), Ca = (s) => {
6769
6788
  const {
6770
6789
  theme: l,
6771
6790
  classGroups: a
6772
6791
  } = s;
6773
- return Pa(a, l);
6774
- }, Pa = (s, l) => {
6775
- const a = Eo();
6792
+ return Sa(a, l);
6793
+ }, Sa = (s, l) => {
6794
+ const a = Wo();
6776
6795
  for (const h in s) {
6777
6796
  const u = s[h];
6778
- $i(u, a, h, l);
6797
+ Xi(u, a, h, l);
6779
6798
  }
6780
6799
  return a;
6781
- }, $i = (s, l, a, h) => {
6800
+ }, Xi = (s, l, a, h) => {
6782
6801
  const u = s.length;
6783
6802
  for (let p = 0; p < u; p++) {
6784
6803
  const m = s[p];
6785
- La(m, l, a, h);
6804
+ za(m, l, a, h);
6786
6805
  }
6787
- }, La = (s, l, a, h) => {
6806
+ }, za = (s, l, a, h) => {
6788
6807
  if (typeof s == "string") {
6789
- ka(s, l, a);
6808
+ Ma(s, l, a);
6790
6809
  return;
6791
6810
  }
6792
6811
  if (typeof s == "function") {
6793
- Ta(s, l, a, h);
6812
+ Ea(s, l, a, h);
6794
6813
  return;
6795
6814
  }
6796
- Ca(s, l, a, h);
6797
- }, ka = (s, l, a) => {
6798
- const h = s === "" ? l : Ao(l, s);
6815
+ Oa(s, l, a, h);
6816
+ }, Ma = (s, l, a) => {
6817
+ const h = s === "" ? l : jo(l, s);
6799
6818
  h.classGroupId = a;
6800
- }, Ta = (s, l, a, h) => {
6801
- if (za(s)) {
6802
- $i(s(h), l, a, h);
6819
+ }, Ea = (s, l, a, h) => {
6820
+ if (Aa(s)) {
6821
+ Xi(s(h), l, a, h);
6803
6822
  return;
6804
6823
  }
6805
- l.validators === null && (l.validators = []), l.validators.push(va(a, s));
6806
- }, Ca = (s, l, a, h) => {
6824
+ l.validators === null && (l.validators = []), l.validators.push(Pa(a, s));
6825
+ }, Oa = (s, l, a, h) => {
6807
6826
  const u = Object.entries(s), p = u.length;
6808
6827
  for (let m = 0; m < p; m++) {
6809
6828
  const [b, v] = u[m];
6810
- $i(v, Ao(l, b), a, h);
6829
+ Xi(v, jo(l, b), a, h);
6811
6830
  }
6812
- }, Ao = (s, l) => {
6831
+ }, jo = (s, l) => {
6813
6832
  let a = s;
6814
- const h = l.split(ii), u = h.length;
6833
+ const h = l.split(ni), u = h.length;
6815
6834
  for (let p = 0; p < u; p++) {
6816
6835
  const m = h[p];
6817
6836
  let b = a.nextPart.get(m);
6818
- b || (b = Eo(), a.nextPart.set(m, b)), a = b;
6837
+ b || (b = Wo(), a.nextPart.set(m, b)), a = b;
6819
6838
  }
6820
6839
  return a;
6821
- }, za = (s) => "isThemeGetter" in s && s.isThemeGetter === !0, Sa = (s) => {
6840
+ }, Aa = (s) => "isThemeGetter" in s && s.isThemeGetter === !0, Ia = (s) => {
6822
6841
  if (s < 1)
6823
6842
  return {
6824
6843
  get: () => {
@@ -6842,13 +6861,13 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
6842
6861
  p in a ? a[p] = m : u(p, m);
6843
6862
  }
6844
6863
  };
6845
- }, Wi = "!", _o = ":", Ma = [], go = (s, l, a, h, u) => ({
6864
+ }, Gi = "!", vo = ":", Ra = [], yo = (s, l, a, h, u) => ({
6846
6865
  modifiers: s,
6847
6866
  hasImportantModifier: l,
6848
6867
  baseClassName: a,
6849
6868
  maybePostfixModifierPosition: h,
6850
6869
  isExternal: u
6851
- }), Ea = (s) => {
6870
+ }), Za = (s) => {
6852
6871
  const {
6853
6872
  prefix: l,
6854
6873
  experimentalParseClassName: a
@@ -6856,36 +6875,36 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
6856
6875
  let h = (u) => {
6857
6876
  const p = [];
6858
6877
  let m = 0, b = 0, v = 0, g;
6859
- const Z = u.length;
6860
- for (let z = 0; z < Z; z++) {
6861
- const Y = u[z];
6878
+ const R = u.length;
6879
+ for (let S = 0; S < R; S++) {
6880
+ const Y = u[S];
6862
6881
  if (m === 0 && b === 0) {
6863
- if (Y === _o) {
6864
- p.push(u.slice(v, z)), v = z + 1;
6882
+ if (Y === vo) {
6883
+ p.push(u.slice(v, S)), v = S + 1;
6865
6884
  continue;
6866
6885
  }
6867
6886
  if (Y === "/") {
6868
- g = z;
6887
+ g = S;
6869
6888
  continue;
6870
6889
  }
6871
6890
  }
6872
6891
  Y === "[" ? m++ : Y === "]" ? m-- : Y === "(" ? b++ : Y === ")" && b--;
6873
6892
  }
6874
6893
  const T = p.length === 0 ? u : u.slice(v);
6875
- let D = T, R = !1;
6876
- T.endsWith(Wi) ? (D = T.slice(0, -1), R = !0) : (
6894
+ let D = T, Z = !1;
6895
+ T.endsWith(Gi) ? (D = T.slice(0, -1), Z = !0) : (
6877
6896
  /**
6878
6897
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
6879
6898
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
6880
6899
  */
6881
- T.startsWith(Wi) && (D = T.slice(1), R = !0)
6900
+ T.startsWith(Gi) && (D = T.slice(1), Z = !0)
6882
6901
  );
6883
6902
  const G = g && g > v ? g - v : void 0;
6884
- return go(p, R, D, G);
6903
+ return yo(p, Z, D, G);
6885
6904
  };
6886
6905
  if (l) {
6887
- const u = l + _o, p = h;
6888
- h = (m) => m.startsWith(u) ? p(m.slice(u.length)) : go(Ma, !1, m, void 0, !0);
6906
+ const u = l + vo, p = h;
6907
+ h = (m) => m.startsWith(u) ? p(m.slice(u.length)) : yo(Ra, !1, m, void 0, !0);
6889
6908
  }
6890
6909
  if (a) {
6891
6910
  const u = h;
@@ -6895,7 +6914,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
6895
6914
  });
6896
6915
  }
6897
6916
  return h;
6898
- }, Oa = (s) => {
6917
+ }, Ba = (s) => {
6899
6918
  const l = /* @__PURE__ */ new Map();
6900
6919
  return s.orderSensitiveModifiers.forEach((a, h) => {
6901
6920
  l.set(a, 1e6 + h);
@@ -6908,33 +6927,33 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
6908
6927
  }
6909
6928
  return u.length > 0 && (u.sort(), h.push(...u)), h;
6910
6929
  };
6911
- }, Aa = (s) => ({
6912
- cache: Sa(s.cacheSize),
6913
- parseClassName: Ea(s),
6914
- sortModifiers: Oa(s),
6915
- postfixLookupClassGroupIds: Ia(s),
6916
- ...ba(s)
6917
- }), Ia = (s) => {
6930
+ }, Na = (s) => ({
6931
+ cache: Ia(s.cacheSize),
6932
+ parseClassName: Za(s),
6933
+ sortModifiers: Ba(s),
6934
+ postfixLookupClassGroupIds: Da(s),
6935
+ ...ka(s)
6936
+ }), Da = (s) => {
6918
6937
  const l = /* @__PURE__ */ Object.create(null), a = s.postfixLookupClassGroups;
6919
6938
  if (a)
6920
6939
  for (let h = 0; h < a.length; h++)
6921
6940
  l[a[h]] = !0;
6922
6941
  return l;
6923
- }, Za = /\s+/, Ra = (s, l) => {
6942
+ }, Fa = /\s+/, Wa = (s, l) => {
6924
6943
  const {
6925
6944
  parseClassName: a,
6926
6945
  getClassGroupId: h,
6927
6946
  getConflictingClassGroupIds: u,
6928
6947
  sortModifiers: p,
6929
6948
  postfixLookupClassGroupIds: m
6930
- } = l, b = [], v = s.trim().split(Za);
6949
+ } = l, b = [], v = s.trim().split(Fa);
6931
6950
  let g = "";
6932
- for (let Z = v.length - 1; Z >= 0; Z -= 1) {
6933
- const T = v[Z], {
6951
+ for (let R = v.length - 1; R >= 0; R -= 1) {
6952
+ const T = v[R], {
6934
6953
  isExternal: D,
6935
- modifiers: R,
6954
+ modifiers: Z,
6936
6955
  hasImportantModifier: G,
6937
- baseClassName: z,
6956
+ baseClassName: S,
6938
6957
  maybePostfixModifierPosition: Y
6939
6958
  } = a(T);
6940
6959
  if (D) {
@@ -6943,24 +6962,24 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
6943
6962
  }
6944
6963
  let ft = !!Y, X;
6945
6964
  if (ft) {
6946
- const W = z.substring(0, Y);
6965
+ const W = S.substring(0, Y);
6947
6966
  X = h(W);
6948
- const w = X && m[X] ? h(z) : void 0;
6967
+ const w = X && m[X] ? h(S) : void 0;
6949
6968
  w && w !== X && (X = w, ft = !1);
6950
6969
  } else
6951
- X = h(z);
6970
+ X = h(S);
6952
6971
  if (!X) {
6953
6972
  if (!ft) {
6954
6973
  g = T + (g.length > 0 ? " " + g : g);
6955
6974
  continue;
6956
6975
  }
6957
- if (X = h(z), !X) {
6976
+ if (X = h(S), !X) {
6958
6977
  g = T + (g.length > 0 ? " " + g : g);
6959
6978
  continue;
6960
6979
  }
6961
6980
  ft = !1;
6962
6981
  }
6963
- const U = R.length === 0 ? "" : R.length === 1 ? R[0] : p(R).join(":"), lt = G ? U + Wi : U, mt = lt + X;
6982
+ const U = Z.length === 0 ? "" : Z.length === 1 ? Z[0] : p(Z).join(":"), lt = G ? U + Gi : U, mt = lt + X;
6964
6983
  if (b.indexOf(mt) > -1)
6965
6984
  continue;
6966
6985
  b.push(mt);
@@ -6972,47 +6991,47 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
6972
6991
  g = T + (g.length > 0 ? " " + g : g);
6973
6992
  }
6974
6993
  return g;
6975
- }, Ba = (...s) => {
6994
+ }, Ha = (...s) => {
6976
6995
  let l = 0, a, h, u = "";
6977
6996
  for (; l < s.length; )
6978
- (a = s[l++]) && (h = Io(a)) && (u && (u += " "), u += h);
6997
+ (a = s[l++]) && (h = Go(a)) && (u && (u += " "), u += h);
6979
6998
  return u;
6980
- }, Io = (s) => {
6999
+ }, Go = (s) => {
6981
7000
  if (typeof s == "string")
6982
7001
  return s;
6983
7002
  let l, a = "";
6984
7003
  for (let h = 0; h < s.length; h++)
6985
- s[h] && (l = Io(s[h])) && (a && (a += " "), a += l);
7004
+ s[h] && (l = Go(s[h])) && (a && (a += " "), a += l);
6986
7005
  return a;
6987
- }, Na = (s, ...l) => {
7006
+ }, ja = (s, ...l) => {
6988
7007
  let a, h, u, p;
6989
7008
  const m = (v) => {
6990
- const g = l.reduce((Z, T) => T(Z), s());
6991
- return a = Aa(g), h = a.cache.get, u = a.cache.set, p = b, b(v);
7009
+ const g = l.reduce((R, T) => T(R), s());
7010
+ return a = Na(g), h = a.cache.get, u = a.cache.set, p = b, b(v);
6992
7011
  }, b = (v) => {
6993
7012
  const g = h(v);
6994
7013
  if (g)
6995
7014
  return g;
6996
- const Z = Ra(v, a);
6997
- return u(v, Z), Z;
7015
+ const R = Wa(v, a);
7016
+ return u(v, R), R;
6998
7017
  };
6999
- return p = m, (...v) => p(Ba(...v));
7000
- }, Da = [], st = (s) => {
7001
- const l = (a) => a[s] || Da;
7018
+ return p = m, (...v) => p(Ha(...v));
7019
+ }, Ga = [], st = (s) => {
7020
+ const l = (a) => a[s] || Ga;
7002
7021
  return l.isThemeGetter = !0, l;
7003
- }, Zo = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ro = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Fa = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Wa = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ha = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ja = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ga = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Va = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, jt = (s) => Fa.test(s), F = (s) => !!s && !Number.isNaN(Number(s)), At = (s) => !!s && Number.isInteger(Number(s)), Fi = (s) => s.endsWith("%") && F(s.slice(0, -1)), Nt = (s) => Wa.test(s), Bo = () => !0, Ua = (s) => (
7022
+ }, Vo = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Uo = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Va = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ua = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, $a = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, qa = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ka = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ya = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Gt = (s) => Va.test(s), F = (s) => !!s && !Number.isNaN(Number(s)), It = (s) => !!s && Number.isInteger(Number(s)), Wi = (s) => s.endsWith("%") && F(s.slice(0, -1)), Dt = (s) => Ua.test(s), $o = () => !0, Xa = (s) => (
7004
7023
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
7005
7024
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
7006
7025
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
7007
- Ha.test(s) && !ja.test(s)
7008
- ), qi = () => !1, $a = (s) => Ga.test(s), qa = (s) => Va.test(s), Ka = (s) => !P(s) && !k(s), Ya = (s) => s.startsWith("@container") && (s[10] === "/" && s[11] !== void 0 || s[11] === "s" && s[16] !== void 0 && s.startsWith("-size/", 10) || s[11] === "n" && s[18] !== void 0 && s.startsWith("-normal/", 10)), Xa = (s) => Vt(s, Fo, qi), P = (s) => Zo.test(s), Qt = (s) => Vt(s, Wo, Ua), vo = (s) => Vt(s, rl, F), Ja = (s) => Vt(s, jo, Bo), Qa = (s) => Vt(s, Ho, qi), yo = (s) => Vt(s, No, qi), tl = (s) => Vt(s, Do, qa), Qe = (s) => Vt(s, Go, $a), k = (s) => Ro.test(s), ze = (s) => ee(s, Wo), el = (s) => ee(s, Ho), bo = (s) => ee(s, No), il = (s) => ee(s, Fo), nl = (s) => ee(s, Do), ti = (s) => ee(s, Go, !0), ol = (s) => ee(s, jo, !0), Vt = (s, l, a) => {
7009
- const h = Zo.exec(s);
7026
+ $a.test(s) && !qa.test(s)
7027
+ ), Ji = () => !1, Ja = (s) => Ka.test(s), Qa = (s) => Ya.test(s), tl = (s) => !P(s) && !k(s), el = (s) => s.startsWith("@container") && (s[10] === "/" && s[11] !== void 0 || s[11] === "s" && s[16] !== void 0 && s.startsWith("-size/", 10) || s[11] === "n" && s[18] !== void 0 && s.startsWith("-normal/", 10)), il = (s) => Ut(s, Yo, Ji), P = (s) => Vo.test(s), te = (s) => Ut(s, Xo, Xa), bo = (s) => Ut(s, cl, F), nl = (s) => Ut(s, Qo, $o), ol = (s) => Ut(s, Jo, Ji), wo = (s) => Ut(s, qo, Ji), rl = (s) => Ut(s, Ko, Qa), ti = (s) => Ut(s, tr, Ja), k = (s) => Uo.test(s), ze = (s) => ie(s, Xo), sl = (s) => ie(s, Jo), xo = (s) => ie(s, qo), al = (s) => ie(s, Yo), ll = (s) => ie(s, Ko), ei = (s) => ie(s, tr, !0), hl = (s) => ie(s, Qo, !0), Ut = (s, l, a) => {
7028
+ const h = Vo.exec(s);
7010
7029
  return h ? h[1] ? l(h[1]) : a(h[2]) : !1;
7011
- }, ee = (s, l, a = !1) => {
7012
- const h = Ro.exec(s);
7030
+ }, ie = (s, l, a = !1) => {
7031
+ const h = Uo.exec(s);
7013
7032
  return h ? h[1] ? l(h[1]) : a : !1;
7014
- }, No = (s) => s === "position" || s === "percentage", Do = (s) => s === "image" || s === "url", Fo = (s) => s === "length" || s === "size" || s === "bg-size", Wo = (s) => s === "length", rl = (s) => s === "number", Ho = (s) => s === "family-name", jo = (s) => s === "number" || s === "weight", Go = (s) => s === "shadow", sl = () => {
7015
- const s = st("color"), l = st("font"), a = st("text"), h = st("font-weight"), u = st("tracking"), p = st("leading"), m = st("breakpoint"), b = st("container"), v = st("spacing"), g = st("radius"), Z = st("shadow"), T = st("inset-shadow"), D = st("text-shadow"), R = st("drop-shadow"), G = st("blur"), z = st("perspective"), Y = st("aspect"), ft = st("ease"), X = st("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], lt = () => [
7033
+ }, qo = (s) => s === "position" || s === "percentage", Ko = (s) => s === "image" || s === "url", Yo = (s) => s === "length" || s === "size" || s === "bg-size", Xo = (s) => s === "length", cl = (s) => s === "number", Jo = (s) => s === "family-name", Qo = (s) => s === "number" || s === "weight", tr = (s) => s === "shadow", ul = () => {
7034
+ const s = st("color"), l = st("font"), a = st("text"), h = st("font-weight"), u = st("tracking"), p = st("leading"), m = st("breakpoint"), b = st("container"), v = st("spacing"), g = st("radius"), R = st("shadow"), T = st("inset-shadow"), D = st("text-shadow"), Z = st("drop-shadow"), G = st("blur"), S = st("perspective"), Y = st("aspect"), ft = st("ease"), X = st("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], lt = () => [
7016
7035
  "center",
7017
7036
  "top",
7018
7037
  "bottom",
@@ -7030,15 +7049,15 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7030
7049
  "bottom-left",
7031
7050
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
7032
7051
  "left-bottom"
7033
- ], mt = () => [...lt(), k, P], C = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", "contain", "none"], w = () => [k, P, v], nt = () => [jt, "full", "auto", ...w()], Ut = () => [At, "none", "subgrid", k, P], tt = () => ["auto", {
7034
- span: ["full", At, k, P]
7035
- }, At, k, P], ht = () => [At, "auto", k, P], Oe = () => ["auto", "min", "max", "fr", k, P], vt = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Dt = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], K = () => ["auto", ...w()], yt = () => [jt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...w()], A = () => [jt, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...w()], ie = () => [jt, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...w()], y = () => [s, k, P], $ = () => [...lt(), bo, yo, {
7052
+ ], mt = () => [...lt(), k, P], C = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", "contain", "none"], w = () => [k, P, v], nt = () => [Gt, "full", "auto", ...w()], $t = () => [It, "none", "subgrid", k, P], tt = () => ["auto", {
7053
+ span: ["full", It, k, P]
7054
+ }, It, k, P], ht = () => [It, "auto", k, P], Ae = () => ["auto", "min", "max", "fr", k, P], vt = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Ft = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], K = () => ["auto", ...w()], yt = () => [Gt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...w()], A = () => [Gt, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...w()], ne = () => [Gt, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...w()], y = () => [s, k, P], $ = () => [...lt(), xo, wo, {
7036
7055
  position: [k, P]
7037
7056
  }], ct = () => ["no-repeat", {
7038
7057
  repeat: ["", "x", "y", "space", "round"]
7039
- }], ut = () => ["auto", "cover", "contain", il, Xa, {
7058
+ }], ut = () => ["auto", "cover", "contain", al, il, {
7040
7059
  size: [k, P]
7041
- }], J = () => [Fi, ze, Qt], I = () => [
7060
+ }], J = () => [Wi, ze, te], I = () => [
7042
7061
  // Deprecated since Tailwind CSS v4.0.0
7043
7062
  "",
7044
7063
  "none",
@@ -7046,35 +7065,35 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7046
7065
  g,
7047
7066
  k,
7048
7067
  P
7049
- ], M = () => ["", F, ze, Qt], _t = () => ["solid", "dashed", "dotted", "double"], Lt = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], et = () => [F, Fi, bo, yo], ne = () => [
7068
+ ], M = () => ["", F, ze, te], _t = () => ["solid", "dashed", "dotted", "double"], Lt = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], et = () => [F, Wi, xo, wo], oe = () => [
7050
7069
  // Deprecated since Tailwind CSS v4.0.0
7051
7070
  "",
7052
7071
  "none",
7053
7072
  G,
7054
7073
  k,
7055
7074
  P
7056
- ], Ft = () => ["none", F, k, P], zt = () => ["none", F, k, P], $t = () => [F, k, P], oe = () => [jt, "full", ...w()];
7075
+ ], Wt = () => ["none", F, k, P], zt = () => ["none", F, k, P], qt = () => [F, k, P], re = () => [Gt, "full", ...w()];
7057
7076
  return {
7058
7077
  cacheSize: 500,
7059
7078
  theme: {
7060
7079
  animate: ["spin", "ping", "pulse", "bounce"],
7061
7080
  aspect: ["video"],
7062
- blur: [Nt],
7063
- breakpoint: [Nt],
7064
- color: [Bo],
7065
- container: [Nt],
7066
- "drop-shadow": [Nt],
7081
+ blur: [Dt],
7082
+ breakpoint: [Dt],
7083
+ color: [$o],
7084
+ container: [Dt],
7085
+ "drop-shadow": [Dt],
7067
7086
  ease: ["in", "out", "in-out"],
7068
- font: [Ka],
7087
+ font: [tl],
7069
7088
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
7070
- "inset-shadow": [Nt],
7089
+ "inset-shadow": [Dt],
7071
7090
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
7072
7091
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
7073
- radius: [Nt],
7074
- shadow: [Nt],
7092
+ radius: [Dt],
7093
+ shadow: [Dt],
7075
7094
  spacing: ["px", F],
7076
- text: [Nt],
7077
- "text-shadow": [Nt],
7095
+ text: [Dt],
7096
+ "text-shadow": [Dt],
7078
7097
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
7079
7098
  },
7080
7099
  classGroups: {
@@ -7086,7 +7105,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7086
7105
  * @see https://tailwindcss.com/docs/aspect-ratio
7087
7106
  */
7088
7107
  aspect: [{
7089
- aspect: ["auto", "square", jt, P, k, Y]
7108
+ aspect: ["auto", "square", Gt, P, k, Y]
7090
7109
  }],
7091
7110
  /**
7092
7111
  * Container
@@ -7105,7 +7124,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7105
7124
  * Container Name
7106
7125
  * @see https://tailwindcss.com/docs/responsive-design#named-containers
7107
7126
  */
7108
- "container-named": [Ya],
7127
+ "container-named": [el],
7109
7128
  /**
7110
7129
  * Columns
7111
7130
  * @see https://tailwindcss.com/docs/columns
@@ -7337,7 +7356,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7337
7356
  * @see https://tailwindcss.com/docs/z-index
7338
7357
  */
7339
7358
  z: [{
7340
- z: [At, "auto", k, P]
7359
+ z: [It, "auto", k, P]
7341
7360
  }],
7342
7361
  // ------------------------
7343
7362
  // --- Flexbox and Grid ---
@@ -7347,7 +7366,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7347
7366
  * @see https://tailwindcss.com/docs/flex-basis
7348
7367
  */
7349
7368
  basis: [{
7350
- basis: [jt, "full", "auto", b, ...w()]
7369
+ basis: [Gt, "full", "auto", b, ...w()]
7351
7370
  }],
7352
7371
  /**
7353
7372
  * Flex Direction
@@ -7368,7 +7387,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7368
7387
  * @see https://tailwindcss.com/docs/flex
7369
7388
  */
7370
7389
  flex: [{
7371
- flex: [F, jt, "auto", "initial", "none", P]
7390
+ flex: [F, Gt, "auto", "initial", "none", P]
7372
7391
  }],
7373
7392
  /**
7374
7393
  * Flex Grow
@@ -7389,14 +7408,14 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7389
7408
  * @see https://tailwindcss.com/docs/order
7390
7409
  */
7391
7410
  order: [{
7392
- order: [At, "first", "last", "none", k, P]
7411
+ order: [It, "first", "last", "none", k, P]
7393
7412
  }],
7394
7413
  /**
7395
7414
  * Grid Template Columns
7396
7415
  * @see https://tailwindcss.com/docs/grid-template-columns
7397
7416
  */
7398
7417
  "grid-cols": [{
7399
- "grid-cols": Ut()
7418
+ "grid-cols": $t()
7400
7419
  }],
7401
7420
  /**
7402
7421
  * Grid Column Start / End
@@ -7424,7 +7443,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7424
7443
  * @see https://tailwindcss.com/docs/grid-template-rows
7425
7444
  */
7426
7445
  "grid-rows": [{
7427
- "grid-rows": Ut()
7446
+ "grid-rows": $t()
7428
7447
  }],
7429
7448
  /**
7430
7449
  * Grid Row Start / End
@@ -7459,14 +7478,14 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7459
7478
  * @see https://tailwindcss.com/docs/grid-auto-columns
7460
7479
  */
7461
7480
  "auto-cols": [{
7462
- "auto-cols": Oe()
7481
+ "auto-cols": Ae()
7463
7482
  }],
7464
7483
  /**
7465
7484
  * Grid Auto Rows
7466
7485
  * @see https://tailwindcss.com/docs/grid-auto-rows
7467
7486
  */
7468
7487
  "auto-rows": [{
7469
- "auto-rows": Oe()
7488
+ "auto-rows": Ae()
7470
7489
  }],
7471
7490
  /**
7472
7491
  * Gap
@@ -7501,14 +7520,14 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7501
7520
  * @see https://tailwindcss.com/docs/justify-items
7502
7521
  */
7503
7522
  "justify-items": [{
7504
- "justify-items": [...Dt(), "normal"]
7523
+ "justify-items": [...Ft(), "normal"]
7505
7524
  }],
7506
7525
  /**
7507
7526
  * Justify Self
7508
7527
  * @see https://tailwindcss.com/docs/justify-self
7509
7528
  */
7510
7529
  "justify-self": [{
7511
- "justify-self": ["auto", ...Dt()]
7530
+ "justify-self": ["auto", ...Ft()]
7512
7531
  }],
7513
7532
  /**
7514
7533
  * Align Content
@@ -7522,7 +7541,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7522
7541
  * @see https://tailwindcss.com/docs/align-items
7523
7542
  */
7524
7543
  "align-items": [{
7525
- items: [...Dt(), {
7544
+ items: [...Ft(), {
7526
7545
  baseline: ["", "last"]
7527
7546
  }]
7528
7547
  }],
@@ -7531,7 +7550,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7531
7550
  * @see https://tailwindcss.com/docs/align-self
7532
7551
  */
7533
7552
  "align-self": [{
7534
- self: ["auto", ...Dt(), {
7553
+ self: ["auto", ...Ft(), {
7535
7554
  baseline: ["", "last"]
7536
7555
  }]
7537
7556
  }],
@@ -7547,14 +7566,14 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7547
7566
  * @see https://tailwindcss.com/docs/place-items
7548
7567
  */
7549
7568
  "place-items": [{
7550
- "place-items": [...Dt(), "baseline"]
7569
+ "place-items": [...Ft(), "baseline"]
7551
7570
  }],
7552
7571
  /**
7553
7572
  * Place Self
7554
7573
  * @see https://tailwindcss.com/docs/place-self
7555
7574
  */
7556
7575
  "place-self": [{
7557
- "place-self": ["auto", ...Dt()]
7576
+ "place-self": ["auto", ...Ft()]
7558
7577
  }],
7559
7578
  // Spacing
7560
7579
  /**
@@ -7771,21 +7790,21 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7771
7790
  * @see https://tailwindcss.com/docs/height
7772
7791
  */
7773
7792
  "block-size": [{
7774
- block: ["auto", ...ie()]
7793
+ block: ["auto", ...ne()]
7775
7794
  }],
7776
7795
  /**
7777
7796
  * Min-Block Size
7778
7797
  * @see https://tailwindcss.com/docs/min-height
7779
7798
  */
7780
7799
  "min-block-size": [{
7781
- "min-block": ["auto", ...ie()]
7800
+ "min-block": ["auto", ...ne()]
7782
7801
  }],
7783
7802
  /**
7784
7803
  * Max-Block Size
7785
7804
  * @see https://tailwindcss.com/docs/max-height
7786
7805
  */
7787
7806
  "max-block-size": [{
7788
- "max-block": ["none", ...ie()]
7807
+ "max-block": ["none", ...ne()]
7789
7808
  }],
7790
7809
  /**
7791
7810
  * Width
@@ -7854,7 +7873,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7854
7873
  * @see https://tailwindcss.com/docs/font-size
7855
7874
  */
7856
7875
  "font-size": [{
7857
- text: ["base", a, ze, Qt]
7876
+ text: ["base", a, ze, te]
7858
7877
  }],
7859
7878
  /**
7860
7879
  * Font Smoothing
@@ -7871,21 +7890,21 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7871
7890
  * @see https://tailwindcss.com/docs/font-weight
7872
7891
  */
7873
7892
  "font-weight": [{
7874
- font: [h, ol, Ja]
7893
+ font: [h, hl, nl]
7875
7894
  }],
7876
7895
  /**
7877
7896
  * Font Stretch
7878
7897
  * @see https://tailwindcss.com/docs/font-stretch
7879
7898
  */
7880
7899
  "font-stretch": [{
7881
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Fi, P]
7900
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Wi, P]
7882
7901
  }],
7883
7902
  /**
7884
7903
  * Font Family
7885
7904
  * @see https://tailwindcss.com/docs/font-family
7886
7905
  */
7887
7906
  "font-family": [{
7888
- font: [el, Qa, l]
7907
+ font: [sl, ol, l]
7889
7908
  }],
7890
7909
  /**
7891
7910
  * Font Feature Settings
@@ -7936,7 +7955,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
7936
7955
  * @see https://tailwindcss.com/docs/line-clamp
7937
7956
  */
7938
7957
  "line-clamp": [{
7939
- "line-clamp": [F, "none", k, vo]
7958
+ "line-clamp": [F, "none", k, bo]
7940
7959
  }],
7941
7960
  /**
7942
7961
  * Line Height
@@ -8009,7 +8028,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
8009
8028
  * @see https://tailwindcss.com/docs/text-decoration-thickness
8010
8029
  */
8011
8030
  "text-decoration-thickness": [{
8012
- decoration: [F, "from-font", "auto", k, Qt]
8031
+ decoration: [F, "from-font", "auto", k, te]
8013
8032
  }],
8014
8033
  /**
8015
8034
  * Text Decoration Color
@@ -8054,7 +8073,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
8054
8073
  * @see https://tailwindcss.com/docs/tab-size
8055
8074
  */
8056
8075
  "tab-size": [{
8057
- tab: [At, k, P]
8076
+ tab: [It, k, P]
8058
8077
  }],
8059
8078
  /**
8060
8079
  * Vertical Alignment
@@ -8151,10 +8170,10 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
8151
8170
  bg: ["none", {
8152
8171
  linear: [{
8153
8172
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
8154
- }, At, k, P],
8173
+ }, It, k, P],
8155
8174
  radial: ["", k, P],
8156
- conic: [At, k, P]
8157
- }, nl, tl]
8175
+ conic: [It, k, P]
8176
+ }, ll, rl]
8158
8177
  }],
8159
8178
  /**
8160
8179
  * Background Color
@@ -8531,7 +8550,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
8531
8550
  * @see https://tailwindcss.com/docs/outline-width
8532
8551
  */
8533
8552
  "outline-w": [{
8534
- outline: ["", F, ze, Qt]
8553
+ outline: ["", F, ze, te]
8535
8554
  }],
8536
8555
  /**
8537
8556
  * Outline Color
@@ -8552,9 +8571,9 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
8552
8571
  // Deprecated since Tailwind CSS v4.0.0
8553
8572
  "",
8554
8573
  "none",
8555
- Z,
8556
- ti,
8557
- Qe
8574
+ R,
8575
+ ei,
8576
+ ti
8558
8577
  ]
8559
8578
  }],
8560
8579
  /**
@@ -8569,7 +8588,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
8569
8588
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
8570
8589
  */
8571
8590
  "inset-shadow": [{
8572
- "inset-shadow": ["none", T, ti, Qe]
8591
+ "inset-shadow": ["none", T, ei, ti]
8573
8592
  }],
8574
8593
  /**
8575
8594
  * Inset Box Shadow Color
@@ -8606,7 +8625,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
8606
8625
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
8607
8626
  */
8608
8627
  "ring-offset-w": [{
8609
- "ring-offset": [F, Qt]
8628
+ "ring-offset": [F, te]
8610
8629
  }],
8611
8630
  /**
8612
8631
  * Ring Offset Color
@@ -8636,7 +8655,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
8636
8655
  * @see https://tailwindcss.com/docs/text-shadow
8637
8656
  */
8638
8657
  "text-shadow": [{
8639
- "text-shadow": ["none", D, ti, Qe]
8658
+ "text-shadow": ["none", D, ei, ti]
8640
8659
  }],
8641
8660
  /**
8642
8661
  * Text Shadow Color
@@ -8883,7 +8902,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
8883
8902
  * @see https://tailwindcss.com/docs/blur
8884
8903
  */
8885
8904
  blur: [{
8886
- blur: ne()
8905
+ blur: oe()
8887
8906
  }],
8888
8907
  /**
8889
8908
  * Brightness
@@ -8908,9 +8927,9 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
8908
8927
  // Deprecated since Tailwind CSS v4.0.0
8909
8928
  "",
8910
8929
  "none",
8911
- R,
8912
- ti,
8913
- Qe
8930
+ Z,
8931
+ ei,
8932
+ ti
8914
8933
  ]
8915
8934
  }],
8916
8935
  /**
@@ -8973,7 +8992,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
8973
8992
  * @see https://tailwindcss.com/docs/backdrop-blur
8974
8993
  */
8975
8994
  "backdrop-blur": [{
8976
- "backdrop-blur": ne()
8995
+ "backdrop-blur": oe()
8977
8996
  }],
8978
8997
  /**
8979
8998
  * Backdrop Brightness
@@ -9136,7 +9155,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
9136
9155
  * @see https://tailwindcss.com/docs/perspective
9137
9156
  */
9138
9157
  perspective: [{
9139
- perspective: [z, k, P]
9158
+ perspective: [S, k, P]
9140
9159
  }],
9141
9160
  /**
9142
9161
  * Perspective Origin
@@ -9150,28 +9169,28 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
9150
9169
  * @see https://tailwindcss.com/docs/rotate
9151
9170
  */
9152
9171
  rotate: [{
9153
- rotate: Ft()
9172
+ rotate: Wt()
9154
9173
  }],
9155
9174
  /**
9156
9175
  * Rotate X
9157
9176
  * @see https://tailwindcss.com/docs/rotate
9158
9177
  */
9159
9178
  "rotate-x": [{
9160
- "rotate-x": Ft()
9179
+ "rotate-x": Wt()
9161
9180
  }],
9162
9181
  /**
9163
9182
  * Rotate Y
9164
9183
  * @see https://tailwindcss.com/docs/rotate
9165
9184
  */
9166
9185
  "rotate-y": [{
9167
- "rotate-y": Ft()
9186
+ "rotate-y": Wt()
9168
9187
  }],
9169
9188
  /**
9170
9189
  * Rotate Z
9171
9190
  * @see https://tailwindcss.com/docs/rotate
9172
9191
  */
9173
9192
  "rotate-z": [{
9174
- "rotate-z": Ft()
9193
+ "rotate-z": Wt()
9175
9194
  }],
9176
9195
  /**
9177
9196
  * Scale
@@ -9211,21 +9230,21 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
9211
9230
  * @see https://tailwindcss.com/docs/skew
9212
9231
  */
9213
9232
  skew: [{
9214
- skew: $t()
9233
+ skew: qt()
9215
9234
  }],
9216
9235
  /**
9217
9236
  * Skew X
9218
9237
  * @see https://tailwindcss.com/docs/skew
9219
9238
  */
9220
9239
  "skew-x": [{
9221
- "skew-x": $t()
9240
+ "skew-x": qt()
9222
9241
  }],
9223
9242
  /**
9224
9243
  * Skew Y
9225
9244
  * @see https://tailwindcss.com/docs/skew
9226
9245
  */
9227
9246
  "skew-y": [{
9228
- "skew-y": $t()
9247
+ "skew-y": qt()
9229
9248
  }],
9230
9249
  /**
9231
9250
  * Transform
@@ -9253,28 +9272,28 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
9253
9272
  * @see https://tailwindcss.com/docs/translate
9254
9273
  */
9255
9274
  translate: [{
9256
- translate: oe()
9275
+ translate: re()
9257
9276
  }],
9258
9277
  /**
9259
9278
  * Translate X
9260
9279
  * @see https://tailwindcss.com/docs/translate
9261
9280
  */
9262
9281
  "translate-x": [{
9263
- "translate-x": oe()
9282
+ "translate-x": re()
9264
9283
  }],
9265
9284
  /**
9266
9285
  * Translate Y
9267
9286
  * @see https://tailwindcss.com/docs/translate
9268
9287
  */
9269
9288
  "translate-y": [{
9270
- "translate-y": oe()
9289
+ "translate-y": re()
9271
9290
  }],
9272
9291
  /**
9273
9292
  * Translate Z
9274
9293
  * @see https://tailwindcss.com/docs/translate
9275
9294
  */
9276
9295
  "translate-z": [{
9277
- "translate-z": oe()
9296
+ "translate-z": re()
9278
9297
  }],
9279
9298
  /**
9280
9299
  * Translate None
@@ -9286,7 +9305,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
9286
9305
  * @see https://tailwindcss.com/docs/zoom
9287
9306
  */
9288
9307
  zoom: [{
9289
- zoom: [At, k, P]
9308
+ zoom: [It, k, P]
9290
9309
  }],
9291
9310
  // ---------------------
9292
9311
  // --- Interactivity ---
@@ -9619,7 +9638,7 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
9619
9638
  * @see https://tailwindcss.com/docs/stroke-width
9620
9639
  */
9621
9640
  "stroke-w": [{
9622
- stroke: [F, ze, Qt, vo]
9641
+ stroke: [F, ze, te, bo]
9623
9642
  }],
9624
9643
  /**
9625
9644
  * Stroke
@@ -9696,11 +9715,11 @@ const fo = (s) => typeof s == "boolean" ? `${s}` : s === 0 ? "0" : s, mo = Mo, _
9696
9715
  postfixLookupClassGroups: ["container-type"],
9697
9716
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
9698
9717
  };
9699
- }, al = /* @__PURE__ */ Na(sl);
9700
- function ll(...s) {
9701
- return al(Mo(s));
9718
+ }, dl = /* @__PURE__ */ ja(ul);
9719
+ function fl(...s) {
9720
+ return dl(Fo(s));
9702
9721
  }
9703
- const hl = _a(
9722
+ const ml = wa(
9704
9723
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive cursor-pointer",
9705
9724
  {
9706
9725
  variants: {
@@ -9727,31 +9746,31 @@ const hl = _a(
9727
9746
  }
9728
9747
  }
9729
9748
  );
9730
- function Se({
9749
+ function Me({
9731
9750
  className: s,
9732
9751
  variant: l,
9733
9752
  size: a,
9734
9753
  asChild: h = !1,
9735
9754
  ...u
9736
9755
  }) {
9737
- const p = h ? sa : "button";
9756
+ const p = h ? pa : "button";
9738
9757
  return /* @__PURE__ */ O.jsx(
9739
9758
  p,
9740
9759
  {
9741
9760
  "data-slot": "button",
9742
- className: ll(hl({ variant: l, size: a, className: s })),
9761
+ className: fl(ml({ variant: l, size: a, className: s })),
9743
9762
  ...u
9744
9763
  }
9745
9764
  );
9746
9765
  }
9747
- const cl = (s) => s.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), ul = (s) => s.replace(
9766
+ const pl = (s) => s.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), _l = (s) => s.replace(
9748
9767
  /^([A-Z])|[\s-_]+(\w)/g,
9749
9768
  (l, a, h) => h ? h.toUpperCase() : a.toLowerCase()
9750
- ), wo = (s) => {
9751
- const l = ul(s);
9769
+ ), Po = (s) => {
9770
+ const l = _l(s);
9752
9771
  return l.charAt(0).toUpperCase() + l.slice(1);
9753
- }, Vo = (...s) => s.filter((l, a, h) => !!l && l.trim() !== "" && h.indexOf(l) === a).join(" ").trim();
9754
- var dl = {
9772
+ }, er = (...s) => s.filter((l, a, h) => !!l && l.trim() !== "" && h.indexOf(l) === a).join(" ").trim();
9773
+ var gl = {
9755
9774
  xmlns: "http://www.w3.org/2000/svg",
9756
9775
  width: 24,
9757
9776
  height: 24,
@@ -9762,7 +9781,7 @@ var dl = {
9762
9781
  strokeLinecap: "round",
9763
9782
  strokeLinejoin: "round"
9764
9783
  };
9765
- const fl = window.React.forwardRef, xo = window.React.createElement, ml = fl(
9784
+ const vl = window.React.forwardRef, Lo = window.React.createElement, yl = vl(
9766
9785
  ({
9767
9786
  color: s = "currentColor",
9768
9787
  size: l = 24,
@@ -9772,41 +9791,41 @@ const fl = window.React.forwardRef, xo = window.React.createElement, ml = fl(
9772
9791
  children: p,
9773
9792
  iconNode: m,
9774
9793
  ...b
9775
- }, v) => xo(
9794
+ }, v) => Lo(
9776
9795
  "svg",
9777
9796
  {
9778
9797
  ref: v,
9779
- ...dl,
9798
+ ...gl,
9780
9799
  width: l,
9781
9800
  height: l,
9782
9801
  stroke: s,
9783
9802
  strokeWidth: h ? Number(a) * 24 / Number(l) : a,
9784
- className: Vo("lucide", u),
9803
+ className: er("lucide", u),
9785
9804
  ...b
9786
9805
  },
9787
9806
  [
9788
- ...m.map(([g, Z]) => xo(g, Z)),
9807
+ ...m.map(([g, R]) => Lo(g, R)),
9789
9808
  ...Array.isArray(p) ? p : [p]
9790
9809
  ]
9791
9810
  )
9792
9811
  );
9793
- const pl = window.React.forwardRef, _l = window.React.createElement, Ee = (s, l) => {
9794
- const a = pl(
9795
- ({ className: h, ...u }, p) => _l(ml, {
9812
+ const bl = window.React.forwardRef, wl = window.React.createElement, Oe = (s, l) => {
9813
+ const a = bl(
9814
+ ({ className: h, ...u }, p) => wl(yl, {
9796
9815
  ref: p,
9797
9816
  iconNode: l,
9798
- className: Vo(
9799
- `lucide-${cl(wo(s))}`,
9817
+ className: er(
9818
+ `lucide-${pl(Po(s))}`,
9800
9819
  `lucide-${s}`,
9801
9820
  h
9802
9821
  ),
9803
9822
  ...u
9804
9823
  })
9805
9824
  );
9806
- return a.displayName = wo(s), a;
9825
+ return a.displayName = Po(s), a;
9807
9826
  };
9808
- const gl = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], vl = Ee("check", gl);
9809
- const yl = [
9827
+ const xl = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Pl = Oe("check", xl);
9828
+ const Ll = [
9810
9829
  [
9811
9830
  "path",
9812
9831
  {
@@ -9814,8 +9833,8 @@ const yl = [
9814
9833
  key: "yt0hxn"
9815
9834
  }
9816
9835
  ]
9817
- ], bl = Ee("hexagon", yl);
9818
- const wl = [
9836
+ ], kl = Oe("hexagon", Ll);
9837
+ const Tl = [
9819
9838
  [
9820
9839
  "path",
9821
9840
  {
@@ -9824,30 +9843,30 @@ const wl = [
9824
9843
  }
9825
9844
  ],
9826
9845
  ["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
9827
- ], xl = Ee("map-pin", wl);
9828
- const Pl = [
9846
+ ], Cl = Oe("map-pin", Tl);
9847
+ const Sl = [
9829
9848
  ["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }]
9830
- ], Ll = Ee("rectangle-horizontal", Pl);
9831
- const kl = [
9849
+ ], zl = Oe("rectangle-horizontal", Sl);
9850
+ const Ml = [
9832
9851
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
9833
9852
  ["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
9834
9853
  ["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
9835
9854
  ["line", { x1: "10", x2: "10", y1: "11", y2: "17", key: "1uufr5" }],
9836
9855
  ["line", { x1: "14", x2: "14", y1: "11", y2: "17", key: "xtxkd" }]
9837
- ], Tl = Ee("trash-2", kl), Cl = window.React, te = window.React.useState, ei = window.React.useEffect, Ct = window.React.useCallback;
9838
- delete To.Icon.Default.prototype._getIconUrl;
9839
- To.Icon.Default.mergeOptions({
9856
+ ], El = Oe("trash-2", Ml), Ol = window.React, ee = window.React.useState, ii = window.React.useEffect, Ct = window.React.useCallback;
9857
+ delete So.Icon.Default.prototype._getIconUrl;
9858
+ So.Icon.Default.mergeOptions({
9840
9859
  iconRetinaUrl: "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon-2x.png",
9841
9860
  iconUrl: "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon.png",
9842
9861
  shadowUrl: "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-shadow.png"
9843
9862
  });
9844
- const Po = {
9863
+ const ko = {
9845
9864
  color: "red",
9846
9865
  weight: 5,
9847
9866
  opacity: 1,
9848
9867
  fillOpacity: 0.7,
9849
9868
  dashArray: "0"
9850
- }, zl = ({
9869
+ }, Al = ({
9851
9870
  position: s,
9852
9871
  onAddMarker: l,
9853
9872
  onAddPolygon: a,
@@ -9865,7 +9884,7 @@ const Po = {
9865
9884
  }[s];
9866
9885
  return /* @__PURE__ */ O.jsx("div", { className: `${v} leaflet-control-container`, children: /* @__PURE__ */ O.jsxs("div", { className: "leaflet-control leaflet-bar flex flex-col bg-sidebar [&>button]:border-b", children: [
9867
9886
  /* @__PURE__ */ O.jsx(
9868
- Se,
9887
+ Me,
9869
9888
  {
9870
9889
  className: `cursor-pointer rounded-none leaflet-control-button ${m === "marker" ? "active" : ""}`,
9871
9890
  variant: "ghost",
@@ -9875,11 +9894,11 @@ const Po = {
9875
9894
  },
9876
9895
  title: "Add marker",
9877
9896
  disabled: b,
9878
- children: /* @__PURE__ */ O.jsx(xl, {})
9897
+ children: /* @__PURE__ */ O.jsx(Cl, {})
9879
9898
  }
9880
9899
  ),
9881
9900
  /* @__PURE__ */ O.jsx(
9882
- Se,
9901
+ Me,
9883
9902
  {
9884
9903
  className: `cursor-pointer rounded-none leaflet-control-button ${m === "polygon" ? "active" : ""}`,
9885
9904
  variant: "ghost",
@@ -9889,11 +9908,11 @@ const Po = {
9889
9908
  },
9890
9909
  title: "Add polygon",
9891
9910
  disabled: b && m !== "polygon",
9892
- children: /* @__PURE__ */ O.jsx(bl, {})
9911
+ children: /* @__PURE__ */ O.jsx(kl, {})
9893
9912
  }
9894
9913
  ),
9895
9914
  /* @__PURE__ */ O.jsx(
9896
- Se,
9915
+ Me,
9897
9916
  {
9898
9917
  className: `cursor-pointer rounded-none leaflet-control-button ${m === "rectangle" ? "active" : ""}`,
9899
9918
  variant: "ghost",
@@ -9903,11 +9922,11 @@ const Po = {
9903
9922
  },
9904
9923
  title: "Add rectangle",
9905
9924
  disabled: b,
9906
- children: /* @__PURE__ */ O.jsx(Ll, {})
9925
+ children: /* @__PURE__ */ O.jsx(zl, {})
9907
9926
  }
9908
9927
  ),
9909
9928
  m === "polygon" && b && /* @__PURE__ */ O.jsx(
9910
- Se,
9929
+ Me,
9911
9930
  {
9912
9931
  className: "cursor-pointer rounded-none leaflet-control-button bg-green-500 hover:bg-green-600 text-white",
9913
9932
  onClick: (g) => {
@@ -9916,11 +9935,11 @@ const Po = {
9916
9935
  variant: "ghost",
9917
9936
  size: "sm",
9918
9937
  title: "Finish drawing",
9919
- children: /* @__PURE__ */ O.jsx(vl, {})
9938
+ children: /* @__PURE__ */ O.jsx(Pl, {})
9920
9939
  }
9921
9940
  ),
9922
9941
  /* @__PURE__ */ O.jsx(
9923
- Se,
9942
+ Me,
9924
9943
  {
9925
9944
  className: "cursor-pointer rounded-none leaflet-control-button",
9926
9945
  onClick: (g) => {
@@ -9930,11 +9949,11 @@ const Po = {
9930
9949
  size: "sm",
9931
9950
  title: "Clear map",
9932
9951
  disabled: b,
9933
- children: /* @__PURE__ */ O.jsx(Tl, {})
9952
+ children: /* @__PURE__ */ O.jsx(El, {})
9934
9953
  }
9935
9954
  )
9936
9955
  ] }) });
9937
- }, Sl = ({
9956
+ }, Il = ({
9938
9957
  features: s,
9939
9958
  mode: l,
9940
9959
  drawingMode: a,
@@ -9944,16 +9963,16 @@ const Po = {
9944
9963
  onFinishDrawing: m,
9945
9964
  allowMarkerMovement: b = !0
9946
9965
  }) => {
9947
- const v = Gs(), [g, Z] = te([]), [T, D] = te(null), [R, G] = te(null), z = Ct((C, W) => {
9966
+ const v = ta(), [g, R] = ee([]), [T, D] = ee(null), [Z, G] = ee(null), S = Ct((C, W) => {
9948
9967
  if (!b) return;
9949
- const nt = C.target.getLatLng(), Ut = s.map((tt) => tt.id === W ? {
9968
+ const nt = C.target.getLatLng(), $t = s.map((tt) => tt.id === W ? {
9950
9969
  ...tt,
9951
9970
  position: [nt.lat, nt.lng]
9952
9971
  } : tt);
9953
- u(Ut);
9972
+ u($t);
9954
9973
  }, [s, u, b]), Y = Ct(() => {
9955
9974
  if (g.length < 3) {
9956
- Z([]), h("none"), p(!1);
9975
+ R([]), h("none"), p(!1);
9957
9976
  return;
9958
9977
  }
9959
9978
  const C = {
@@ -9962,7 +9981,7 @@ const Po = {
9962
9981
  popupContent: `Полигон ${s.length + 1}`,
9963
9982
  color: `#${Math.floor(Math.random() * 16777215).toString(16)}`
9964
9983
  };
9965
- u([...s, C]), Z([]), h("none"), p(!1), v.doubleClickZoom.enable();
9984
+ u([...s, C]), R([]), h("none"), p(!1), v.doubleClickZoom.enable();
9966
9985
  }, [
9967
9986
  g,
9968
9987
  s,
@@ -9971,7 +9990,7 @@ const Po = {
9971
9990
  v,
9972
9991
  p
9973
9992
  ]);
9974
- ei(() => {
9993
+ ii(() => {
9975
9994
  m > 0 && a === "polygon" && g.length >= 3 && Y();
9976
9995
  }, [m]);
9977
9996
  const ft = Ct(
@@ -9990,7 +10009,7 @@ const Po = {
9990
10009
  (C) => {
9991
10010
  if (a !== "polygon") return;
9992
10011
  const W = [C.lat, C.lng], w = [...g, W];
9993
- Z(w), p(!0), v.doubleClickZoom.disable();
10012
+ R(w), p(!0), v.doubleClickZoom.disable();
9994
10013
  },
9995
10014
  [g, a, v, p]
9996
10015
  ), U = Ct(
@@ -10008,26 +10027,26 @@ const Po = {
10008
10027
  },
10009
10028
  [T, a]
10010
10029
  ), mt = Ct(() => {
10011
- if (!T || !R) {
10030
+ if (!T || !Z) {
10012
10031
  D(null), G(null), h("none"), p(!1);
10013
10032
  return;
10014
10033
  }
10015
10034
  const C = {
10016
10035
  id: Date.now(),
10017
- rectangle: [T, R],
10036
+ rectangle: [T, Z],
10018
10037
  popupContent: `Прямоугольник ${s.length + 1}`,
10019
10038
  color: `#${Math.floor(Math.random() * 16777215).toString(16)}`
10020
10039
  };
10021
10040
  u([...s, C]), D(null), G(null), h("none"), p(!1);
10022
10041
  }, [
10023
10042
  T,
10024
- R,
10043
+ Z,
10025
10044
  s,
10026
10045
  u,
10027
10046
  h,
10028
10047
  p
10029
10048
  ]);
10030
- return ei(() => {
10049
+ return ii(() => {
10031
10050
  const C = (w) => {
10032
10051
  a === "marker" ? ft(w.latlng) : a === "polygon" ? X(w.latlng) : a === "rectangle" && (T ? mt() : U(w.latlng));
10033
10052
  }, W = (w) => {
@@ -10045,9 +10064,9 @@ const Po = {
10045
10064
  lt,
10046
10065
  mt,
10047
10066
  T
10048
- ]), ei(() => {
10067
+ ]), ii(() => {
10049
10068
  const C = (W) => {
10050
- W.key === "Escape" && (g.length > 0 || T) && (Z([]), D(null), G(null), h("none"), p(!1), v.doubleClickZoom.enable());
10069
+ W.key === "Escape" && (g.length > 0 || T) && (R([]), D(null), G(null), h("none"), p(!1), v.doubleClickZoom.enable());
10051
10070
  };
10052
10071
  return document.addEventListener("keydown", C), () => {
10053
10072
  document.removeEventListener("keydown", C);
@@ -10059,16 +10078,16 @@ const Po = {
10059
10078
  p,
10060
10079
  v
10061
10080
  ]), /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
10062
- s.map((C) => /* @__PURE__ */ O.jsxs(Cl.Fragment, { children: [
10081
+ s.map((C) => /* @__PURE__ */ O.jsxs(Ol.Fragment, { children: [
10063
10082
  (l === "marker" || l === "all") && C.position && /* @__PURE__ */ O.jsx(
10064
- Js,
10083
+ la,
10065
10084
  {
10066
10085
  position: C.position,
10067
10086
  draggable: C.draggable !== !1 && b,
10068
10087
  eventHandlers: {
10069
- dragend: (W) => z(W, C.id)
10088
+ dragend: (W) => S(W, C.id)
10070
10089
  },
10071
- children: /* @__PURE__ */ O.jsx(Di, { children: /* @__PURE__ */ O.jsxs("div", { className: "text-sm", children: [
10090
+ children: /* @__PURE__ */ O.jsx(Fi, { children: /* @__PURE__ */ O.jsxs("div", { className: "text-sm", children: [
10072
10091
  /* @__PURE__ */ O.jsx("div", { className: "font-semibold", children: C.popupContent }),
10073
10092
  /* @__PURE__ */ O.jsxs("div", { children: [
10074
10093
  "Широта: ",
@@ -10083,11 +10102,11 @@ const Po = {
10083
10102
  }
10084
10103
  ),
10085
10104
  (l === "polygon" || l === "all") && C.polygon && /* @__PURE__ */ O.jsx(
10086
- Qs,
10105
+ ha,
10087
10106
  {
10088
10107
  positions: C.polygon,
10089
10108
  pathOptions: { color: C.color || "blue" },
10090
- children: /* @__PURE__ */ O.jsx(Di, { children: /* @__PURE__ */ O.jsxs("div", { className: "text-sm", children: [
10109
+ children: /* @__PURE__ */ O.jsx(Fi, { children: /* @__PURE__ */ O.jsxs("div", { className: "text-sm", children: [
10091
10110
  /* @__PURE__ */ O.jsx("div", { className: "font-semibold", children: C.popupContent }),
10092
10111
  /* @__PURE__ */ O.jsxs("div", { children: [
10093
10112
  "Точек: ",
@@ -10097,11 +10116,11 @@ const Po = {
10097
10116
  }
10098
10117
  ),
10099
10118
  (l === "rectangle" || l === "all") && C.rectangle && /* @__PURE__ */ O.jsx(
10100
- ho,
10119
+ mo,
10101
10120
  {
10102
10121
  bounds: C.rectangle,
10103
10122
  pathOptions: { color: C.color || "green" },
10104
- children: /* @__PURE__ */ O.jsx(Di, { children: /* @__PURE__ */ O.jsxs("div", { className: "text-sm", children: [
10123
+ children: /* @__PURE__ */ O.jsx(Fi, { children: /* @__PURE__ */ O.jsxs("div", { className: "text-sm", children: [
10105
10124
  /* @__PURE__ */ O.jsx("div", { className: "font-semibold", children: C.popupContent }),
10106
10125
  /* @__PURE__ */ O.jsxs("div", { children: [
10107
10126
  "Угол 1: ",
@@ -10121,32 +10140,32 @@ const Po = {
10121
10140
  ] }, C.id)),
10122
10141
  a === "polygon" && g.length > 0 && /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
10123
10142
  /* @__PURE__ */ O.jsx(
10124
- lo,
10143
+ fo,
10125
10144
  {
10126
10145
  positions: g,
10127
- ...Po
10146
+ ...ko
10128
10147
  }
10129
10148
  ),
10130
10149
  g.length > 0 && /* @__PURE__ */ O.jsx(
10131
- lo,
10150
+ fo,
10132
10151
  {
10133
10152
  positions: [
10134
10153
  g[g.length - 1],
10135
10154
  g[0]
10136
10155
  ],
10137
- ...Po
10156
+ ...ko
10138
10157
  }
10139
10158
  )
10140
10159
  ] }),
10141
- a === "rectangle" && T && R && /* @__PURE__ */ O.jsx(
10142
- ho,
10160
+ a === "rectangle" && T && Z && /* @__PURE__ */ O.jsx(
10161
+ mo,
10143
10162
  {
10144
- bounds: [T, R],
10163
+ bounds: [T, Z],
10145
10164
  pathOptions: { color: "red", fillOpacity: 0.3, weight: 3 }
10146
10165
  }
10147
10166
  )
10148
10167
  ] });
10149
- }, Uo = ({
10168
+ }, ir = ({
10150
10169
  mode: s = "all",
10151
10170
  initialFeatures: l = [],
10152
10171
  center: a = [45.7, 60.1],
@@ -10157,28 +10176,28 @@ const Po = {
10157
10176
  className: b,
10158
10177
  style: v,
10159
10178
  disabled: g,
10160
- allowMarkerMovement: Z = !0
10179
+ allowMarkerMovement: R = !0
10161
10180
  }) => {
10162
- const [T, D] = te(l), [R, G] = te("none"), [z, Y] = te(!1), [ft, X] = te(0), U = Ct(
10181
+ const [T, D] = ee(l), [Z, G] = ee("none"), [S, Y] = ee(!1), [ft, X] = ee(0), U = Ct(
10163
10182
  (W) => {
10164
10183
  D(W), m && m(W);
10165
10184
  },
10166
10185
  [m]
10167
10186
  ), lt = Ct(
10168
10187
  (W) => {
10169
- z || G((w) => w === W ? "none" : W);
10188
+ S || G((w) => w === W ? "none" : W);
10170
10189
  },
10171
- [z]
10190
+ [S]
10172
10191
  ), mt = Ct(() => {
10173
- R === "polygon" && z && X((W) => W + 1);
10174
- }, [R, z]), C = Ct(() => {
10175
- z || (U([]), G("none"));
10176
- }, [U, z]);
10177
- return ei(() => {
10192
+ Z === "polygon" && S && X((W) => W + 1);
10193
+ }, [Z, S]), C = Ct(() => {
10194
+ S || (U([]), G("none"));
10195
+ }, [U, S]);
10196
+ return ii(() => {
10178
10197
  JSON.stringify(l) !== JSON.stringify(T) && D(l);
10179
10198
  }, [l]), /* @__PURE__ */ O.jsxs("div", { className: `${b} ${g ? "pointer-events-none opacity-50" : ""}`, style: { position: "relative", ...v }, children: [
10180
10199
  /* @__PURE__ */ O.jsxs(
10181
- Xs,
10200
+ aa,
10182
10201
  {
10183
10202
  center: a,
10184
10203
  zoom: h,
@@ -10186,30 +10205,30 @@ const Po = {
10186
10205
  doubleClickZoom: !0,
10187
10206
  children: [
10188
10207
  /* @__PURE__ */ O.jsx(
10189
- ea,
10208
+ ua,
10190
10209
  {
10191
10210
  url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
10192
10211
  attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
10193
10212
  }
10194
10213
  ),
10195
10214
  /* @__PURE__ */ O.jsx(
10196
- Sl,
10215
+ Il,
10197
10216
  {
10198
10217
  features: T,
10199
10218
  mode: s,
10200
- drawingMode: R,
10219
+ drawingMode: Z,
10201
10220
  setDrawingMode: G,
10202
10221
  onFeaturesChange: U,
10203
10222
  setDrawingInProgress: Y,
10204
10223
  onFinishDrawing: ft,
10205
- allowMarkerMovement: Z && !g
10224
+ allowMarkerMovement: R && !g
10206
10225
  }
10207
10226
  )
10208
10227
  ]
10209
10228
  }
10210
10229
  ),
10211
10230
  u && /* @__PURE__ */ O.jsx(
10212
- zl,
10231
+ Al,
10213
10232
  {
10214
10233
  position: p,
10215
10234
  onAddMarker: () => lt("marker"),
@@ -10217,11 +10236,11 @@ const Po = {
10217
10236
  onAddRectangle: () => lt("rectangle"),
10218
10237
  onClearAll: C,
10219
10238
  onFinishDrawing: mt,
10220
- drawingMode: R,
10221
- drawingInProgress: z
10239
+ drawingMode: Z,
10240
+ drawingInProgress: S
10222
10241
  }
10223
10242
  ),
10224
- R === "polygon" && /* @__PURE__ */ O.jsx(
10243
+ Z === "polygon" && /* @__PURE__ */ O.jsx(
10225
10244
  "div",
10226
10245
  {
10227
10246
  style: {
@@ -10236,10 +10255,10 @@ const Po = {
10236
10255
  boxShadow: "0 0 10px rgba(0,0,0,0.2)",
10237
10256
  zIndex: 410
10238
10257
  },
10239
- children: z ? "Добавьте точки полигона на карте, затем нажмите 'Готово'" : "Добавьте первую точку полигона на карте"
10258
+ children: S ? "Добавьте точки полигона на карте, затем нажмите 'Готово'" : "Добавьте первую точку полигона на карте"
10240
10259
  }
10241
10260
  ),
10242
- R === "rectangle" && /* @__PURE__ */ O.jsx(
10261
+ Z === "rectangle" && /* @__PURE__ */ O.jsx(
10243
10262
  "div",
10244
10263
  {
10245
10264
  style: {
@@ -10254,10 +10273,10 @@ const Po = {
10254
10273
  boxShadow: "0 0 10px rgba(0,0,0,0.2)",
10255
10274
  zIndex: 410
10256
10275
  },
10257
- children: z ? "Кликните для завершения рисования прямоугольника" : "Кликните для начала рисования прямоугольника"
10276
+ children: S ? "Кликните для завершения рисования прямоугольника" : "Кликните для начала рисования прямоугольника"
10258
10277
  }
10259
10278
  ),
10260
- R === "marker" && /* @__PURE__ */ O.jsx(
10279
+ Z === "marker" && /* @__PURE__ */ O.jsx(
10261
10280
  "div",
10262
10281
  {
10263
10282
  style: {
@@ -10272,19 +10291,19 @@ const Po = {
10272
10291
  boxShadow: "0 0 10px rgba(0,0,0,0.2)",
10273
10292
  zIndex: 1e3
10274
10293
  },
10275
- children: Z ? "Кликните для добавления маркера. Перетащите маркер для перемещения. Кликните еще раз на маркер справа в углу, чтобы завершить рисование" : "Кликните для добавления маркера"
10294
+ children: R ? "Кликните для добавления маркера. Перетащите маркер для перемещения. Кликните еще раз на маркер справа в углу, чтобы завершить рисование" : "Кликните для добавления маркера"
10276
10295
  }
10277
10296
  )
10278
10297
  ] });
10279
- }, Ol = Uo;
10280
- function Al({
10298
+ }, Bl = ir;
10299
+ function Nl({
10281
10300
  initialValue: s,
10282
10301
  options: l,
10283
10302
  onChange: a,
10284
10303
  disabled: h
10285
10304
  }) {
10286
10305
  return /* @__PURE__ */ O.jsx(
10287
- Uo,
10306
+ ir,
10288
10307
  {
10289
10308
  ...l,
10290
10309
  initialFeatures: s ?? [],
@@ -10294,6 +10313,6 @@ function Al({
10294
10313
  );
10295
10314
  }
10296
10315
  export {
10297
- Ol as Component,
10298
- Al as default
10316
+ Bl as Component,
10317
+ Nl as default
10299
10318
  };