@fudanda/admin-antd 0.0.0-stage → 2.20261024.1-beta.1

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 (482) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +58 -3
  3. package/THIRD_PARTY_NOTICES.md +55 -0
  4. package/dist/assets/libarchive-DxGirPmi.wasm +0 -0
  5. package/dist/assets/pdfium-BJ2Yip8Q.wasm +0 -0
  6. package/dist/assets/ppt-font-cjk-DxgKpThH.otf +0 -0
  7. package/dist/assets/ppt-native-Cz5DBbag.wasm +0 -0
  8. package/dist/assets/pptx.worker-CtaL8LO_.js +30 -0
  9. package/dist/assets/worker-C5LZNsKY.mjs +1650 -0
  10. package/dist/assets/worker-CDeo9jS-.js +40 -0
  11. package/dist/assets/worker-bundle-Dx5mKZOL.js +6 -0
  12. package/dist/automation.d.ts +3 -0
  13. package/dist/automation.js +15 -0
  14. package/dist/chunks/App-DNjXLysb.js +79 -0
  15. package/dist/chunks/AppModal-DJzQA6FR.js +1 -0
  16. package/dist/chunks/ArcBaseAdmin-BZrHGq2f.js +1 -0
  17. package/dist/chunks/ConfigurableTable-DzmZDd8F.js +55 -0
  18. package/dist/chunks/DashboardPage-BohGodSl.js +22 -0
  19. package/dist/chunks/DataScopePanel-B2-x8Jcz.js +1 -0
  20. package/dist/chunks/DateTimeText-CIt0Qy45.js +1 -0
  21. package/dist/chunks/DepartmentsPage-DMWY__Y_.js +1 -0
  22. package/dist/chunks/DictTag-2-adKbYg.js +1 -0
  23. package/dist/chunks/DictsPage-DILDyHi-.js +15 -0
  24. package/dist/chunks/EditFormModal-DNHOZHxM.js +1 -0
  25. package/dist/chunks/EmptyIllustration-DUC3RZmF.js +1 -0
  26. package/dist/chunks/EntityContextRuntime-DMklAv-k.js +1 -0
  27. package/dist/chunks/EntityContextRuntime-sslBZqYD.js +1 -0
  28. package/dist/chunks/EntityRelationButton-DWn1rC2J.js +8 -0
  29. package/dist/chunks/ExportButton-AzH4D0oW.js +1 -0
  30. package/dist/chunks/FileNameCell-DPyi64Rv.js +1 -0
  31. package/dist/chunks/FileStorageConfigsPage-CzuOgeK0.js +15 -0
  32. package/dist/chunks/FileTypeIcon-DIih3XQG.js +1 -0
  33. package/dist/chunks/FileViewerPreviewPanel-CMqVtGCr.js +41 -0
  34. package/dist/chunks/FilesPage-BaEBCOCs.js +43 -0
  35. package/dist/chunks/IdentitySecurityPage-BO7nY8id.js +1 -0
  36. package/dist/chunks/JsonPreviewPanel-Dhbza-Uu.js +1 -0
  37. package/dist/chunks/LogStatsScaffold-CLycj3da.js +1 -0
  38. package/dist/chunks/LoginLogsPage-DTmHi8u0.js +1 -0
  39. package/dist/chunks/LoginLogsTable-DVmHnC6V.js +1 -0
  40. package/dist/chunks/MarkdownPreviewPanel-DoiaAeRv.js +51 -0
  41. package/dist/chunks/MasterDetailLayout-sjPWw8BI.js +8 -0
  42. package/dist/chunks/MemberAssignmentSheet-Czbt6_zv.js +1 -0
  43. package/dist/chunks/MenuCommandPalette-BCOzf-Kq.js +8 -0
  44. package/dist/chunks/MenusPage-DN8DTGB1.js +1 -0
  45. package/dist/chunks/ModalFooter-RMlvqrO9.js +1 -0
  46. package/dist/chunks/MonacoPreviewPanel-Dnz7xpWP.js +1 -0
  47. package/dist/chunks/NavListPanel-vjIOIqK0.js +1 -0
  48. package/dist/chunks/OnlineSessionsPage-FoHYZKlR.js +1 -0
  49. package/dist/chunks/OperationLogsPage-BeRnGcBJ.js +1 -0
  50. package/dist/chunks/OperationLogsTable-COI-Lp-y.js +1 -0
  51. package/dist/chunks/PDFPreviewPanel-BIQuBnZZ.js +37 -0
  52. package/dist/chunks/PasswordInput-DGEJO9yx.js +1 -0
  53. package/dist/chunks/PositionsPage-DohI0luX.js +1 -0
  54. package/dist/chunks/PreferencesSheetBody-B9niQABW.js +43 -0
  55. package/dist/chunks/ProfilePage-CVTRv7xb.js +15 -0
  56. package/dist/chunks/RelationPanel-B1X6AVaM.js +36 -0
  57. package/dist/chunks/ResponsiveTableActions-y54aSdhs.js +1 -0
  58. package/dist/chunks/RolesPage-CtUw93L8.js +1 -0
  59. package/dist/chunks/ScrollArea-DqjJmHDN.js +11 -0
  60. package/dist/chunks/SearchToolbar-CvgYKUjr.js +1 -0
  61. package/dist/chunks/SessionClientTag-DIwnYodW.js +22 -0
  62. package/dist/chunks/SessionConflictModal-BLNuDsN_.js +1 -0
  63. package/dist/chunks/SettingRow-DVNmTJWC.js +1 -0
  64. package/dist/chunks/SettingsPage-BRnCxYQm.js +26 -0
  65. package/dist/chunks/StatCard-Czjfs0fa.js +4 -0
  66. package/dist/chunks/UTIF-QUtClmQd.js +1 -0
  67. package/dist/chunks/UserAvatar-B8CFnTCn.js +1 -0
  68. package/dist/chunks/UserDisplay-J0Re8z-7.js +1 -0
  69. package/dist/chunks/UserGroupsPage-CNwbejx-.js +1 -0
  70. package/dist/chunks/UserLogsPanels-BHeSxWrk.js +36 -0
  71. package/dist/chunks/UserTransferSelect-CAeyxdor.js +22 -0
  72. package/dist/chunks/UsersPage-BXt9fOru.js +36 -0
  73. package/dist/chunks/abnfDiagram-VCTEODGH-Z6OhNjoW.js +1 -0
  74. package/dist/chunks/activity-DBu4axwF.js +8 -0
  75. package/dist/chunks/arc-B3K1fDeF.js +1 -0
  76. package/dist/chunks/architecture-7GRP2DOG-CMtoOwin.js +1 -0
  77. package/dist/chunks/architectureDiagram-5GKGNRK7-V5A7S5fY.js +36 -0
  78. package/dist/chunks/archive-B_IKvysI.js +72 -0
  79. package/dist/chunks/array-BrHhzP_A.js +1 -0
  80. package/dist/chunks/arrow-left-CsxBMzKY.js +8 -0
  81. package/dist/chunks/avsc-C0VoJRmm.js +160 -0
  82. package/dist/chunks/blockDiagram-I7D4REHJ-CFKGJkc_.js +129 -0
  83. package/dist/chunks/browser-BKLM0ThC-mnGPrtB_.js +1 -0
  84. package/dist/chunks/browser-index-JqxD-45S.js +1 -0
  85. package/dist/chunks/builtin_esm-external-require-react-BsBndGeN.js +1 -0
  86. package/dist/chunks/bundle-DbfUnEV1.js +29 -0
  87. package/dist/chunks/c4Diagram-7LVT6UL2-BqYYoXPe.js +38 -0
  88. package/dist/chunks/channel-C9Dr7Z-W.js +1 -0
  89. package/dist/chunks/chart-data-DImT_Mzn.js +5 -0
  90. package/dist/chunks/chart-renderer-k-Rd8vdL.js +7 -0
  91. package/dist/chunks/chevron-down-mn2tSKQd.js +8 -0
  92. package/dist/chunks/chevron-right-EBApfX6q.js +15 -0
  93. package/dist/chunks/chevrons-up-down-2M6hY6wt.js +15 -0
  94. package/dist/chunks/chunk-2E4U76K2-DNbbdpCx.js +1 -0
  95. package/dist/chunks/chunk-2Q5K7J3B-CmAE3Vs0.js +1 -0
  96. package/dist/chunks/chunk-2ZTRR5NV-BjsSRgBv.js +2 -0
  97. package/dist/chunks/chunk-3Z5EZCMW-uYiqz-6y.js +1 -0
  98. package/dist/chunks/chunk-4HAMMTFA-Aw59LwS3.js +62 -0
  99. package/dist/chunks/chunk-5V3GS4D5-B_CVcJic.js +1 -0
  100. package/dist/chunks/chunk-5VM5RSS4-DMlsEAcl.js +15 -0
  101. package/dist/chunks/chunk-6AZGARVD-CgAiC5mV.js +1 -0
  102. package/dist/chunks/chunk-6EIED4P4-CXz5D9B0.js +1 -0
  103. package/dist/chunks/chunk-6K3QC6MW-DtaQ52mY.js +1 -0
  104. package/dist/chunks/chunk-6TQVIW2G-D0YDxefI.js +1 -0
  105. package/dist/chunks/chunk-747NJXEK-DGoElbDa.js +2 -0
  106. package/dist/chunks/chunk-75Z2AOVW-IO9R6faP.js +2 -0
  107. package/dist/chunks/chunk-CLGD4ZFX-tRS89bnq.js +1 -0
  108. package/dist/chunks/chunk-DU6HZSFF-Bx48E1rg.js +125 -0
  109. package/dist/chunks/chunk-F27PBJKO-DtLva7y0.js +1 -0
  110. package/dist/chunks/chunk-FOHPRMQF-B8MMrnxV.js +255 -0
  111. package/dist/chunks/chunk-GMAD6QVW-D41KnniX.js +72 -0
  112. package/dist/chunks/chunk-GVQU2GXP-CVzgM_ui.js +1 -0
  113. package/dist/chunks/chunk-I5DQTOEV-CoecQT42.js +1 -0
  114. package/dist/chunks/chunk-ICYGCRZG-lH3opfCY.js +1 -0
  115. package/dist/chunks/chunk-IH6LHLGP-tD-j3Rsy.js +1 -0
  116. package/dist/chunks/chunk-IMKFNOWR-CL9pLQhV.js +231 -0
  117. package/dist/chunks/chunk-JWPE2WC7-Wk0BVLn5.js +1 -0
  118. package/dist/chunks/chunk-KI3K4JFJ-C-3Y_9er.js +1 -0
  119. package/dist/chunks/chunk-L3NEJ4N5-CmvrS7Dt.js +1 -0
  120. package/dist/chunks/chunk-LNGE3PJU-BP1fsJRz.js +34 -0
  121. package/dist/chunks/chunk-OSK3NFVY-C9uWOXTC.js +10 -0
  122. package/dist/chunks/chunk-OUJLGHUK-Cm55l9bx.js +2 -0
  123. package/dist/chunks/chunk-P2QGCYS3-C9bc1yiM.js +1 -0
  124. package/dist/chunks/chunk-POPQ4Y6H-P1s5xaxM.js +1 -0
  125. package/dist/chunks/chunk-PWAF6VOD-IORmPx9D.js +1 -0
  126. package/dist/chunks/chunk-SHT3W25Y-Bip4melZ.js +168 -0
  127. package/dist/chunks/chunk-SVP7TREG-BKCgUOuy.js +88 -0
  128. package/dist/chunks/chunk-TICWLB2K-12W2EmSx.js +206 -0
  129. package/dist/chunks/chunk-TLUHSLCS-DsqF476v.js +1 -0
  130. package/dist/chunks/chunk-UY3FDG6J-71d_M6t3.js +1 -0
  131. package/dist/chunks/chunk-XHIXRSVI-C2X1-xC6.js +1 -0
  132. package/dist/chunks/chunk-XXDRQBXY-Bl6AoSZF.js +1 -0
  133. package/dist/chunks/chunk-Y2CYZVJY-DjEHBC-3.js +1 -0
  134. package/dist/chunks/circle-check-RKAno__V.js +8 -0
  135. package/dist/chunks/circle-x-BB5x-D-8.js +8 -0
  136. package/dist/chunks/classDiagram-ZZMXUADV-CZrpYcfK.js +1 -0
  137. package/dist/chunks/classDiagram-v2-VYDZK3BY-CZrpYcfK.js +1 -0
  138. package/dist/chunks/clipboard-ERcMSMRH.js +1 -0
  139. package/dist/chunks/clock-CniP1gZS.js +8 -0
  140. package/dist/chunks/confirm-BtBBEqk8.js +1 -0
  141. package/dist/chunks/controls-C5dPckUT.js +1 -0
  142. package/dist/chunks/copy-ofLPH1I0.js +8 -0
  143. package/dist/chunks/cose-bilkent-JH36ORCC-D9OUqkk5.js +1 -0
  144. package/dist/chunks/createLucideIcon-BtwfYE6A.js +83 -0
  145. package/dist/chunks/cynefin-OW5HDTMX-B8_kUynj.js +1 -0
  146. package/dist/chunks/cynefinDiagram-5FMLGOSQ-DhQChnCg.js +62 -0
  147. package/dist/chunks/cytoscape.esm-wDUnleWx.js +339 -0
  148. package/dist/chunks/dagre-GXQ25YYZ-CfbwC_a5.js +4 -0
  149. package/dist/chunks/dagre-ZVAWSfFw.js +1 -0
  150. package/dist/chunks/data-B05HzECj.js +28 -0
  151. package/dist/chunks/date-picker-CPUxgHVv.js +1 -0
  152. package/dist/chunks/defaultLocale-BvxIcb9Y.js +1 -0
  153. package/dist/chunks/deleteAction-CCocr5uV.js +1 -0
  154. package/dist/chunks/diagram-D9cwc7QH.js +5 -0
  155. package/dist/chunks/diagram-S7CK7UJ4-DVPbdtMm.js +30 -0
  156. package/dist/chunks/diagram-UQ7AKVKN-D_ZBhGLL.js +41 -0
  157. package/dist/chunks/diagram-VSXAHHWV-Dqypp-OX.js +3 -0
  158. package/dist/chunks/diagram-VX7I27RA-CbWJVJ_L.js +24 -0
  159. package/dist/chunks/diagram-Z3DM3KII-CUyP4-RY.js +24 -0
  160. package/dist/chunks/direct-engine-thps0u7R.js +5 -0
  161. package/dist/chunks/dist-Bauqz5on.js +1 -0
  162. package/dist/chunks/dist-CWj_XYki.js +1 -0
  163. package/dist/chunks/dist-D_KGQS7-.js +11 -0
  164. package/dist/chunks/dist-DdW4yNBK.js +1 -0
  165. package/dist/chunks/docx-preview-CPN81HCr.js +11 -0
  166. package/dist/chunks/download--5IybXxz.js +8 -0
  167. package/dist/chunks/drawing-D2Qrun-P.js +48 -0
  168. package/dist/chunks/ebnfDiagram-PWID7BFC-C5NMigjm.js +1 -0
  169. package/dist/chunks/ellipsis-Dux1Nxa5.js +8 -0
  170. package/dist/chunks/email-ByshRsFv.js +61 -0
  171. package/dist/chunks/emailHtml-BAKcRhSm.js +1 -0
  172. package/dist/chunks/erDiagram-RLTQ6QDP-B5rUHJPJ.js +99 -0
  173. package/dist/chunks/eventmodeling-NTZA5JFV-C74no5BH.js +1 -0
  174. package/dist/chunks/export-BkwewH6Q.js +1 -0
  175. package/dist/chunks/export-DlTz5dc2.js +341 -0
  176. package/dist/chunks/eye-off-BtJoIT5n.js +8 -0
  177. package/dist/chunks/feedback-BnjMKZpz.js +1 -0
  178. package/dist/chunks/file-utils-DyvnVEoH.js +1 -0
  179. package/dist/chunks/fit-CsnhEncA.js +1 -0
  180. package/dist/chunks/flowDiagram-HODETNUW-BuMvaSeo.js +1 -0
  181. package/dist/chunks/form-CQutQFiD.js +1 -0
  182. package/dist/chunks/funnel-BwQjQI4Y.js +8 -0
  183. package/dist/chunks/ganttDiagram-EL5Y4UJY-DIAlbvVg.js +292 -0
  184. package/dist/chunks/geo-DR0fL7r2.js +38 -0
  185. package/dist/chunks/gitGraph-4MIJSDKK-Ce5mOfp1.js +1 -0
  186. package/dist/chunks/gitGraphDiagram-WWUBYQGX-DN3G9xiQ.js +106 -0
  187. package/dist/chunks/graphlib-CYBMTUbW.js +1 -0
  188. package/dist/chunks/icons-CbRx5Om7.js +1 -0
  189. package/dist/chunks/illustrations-DT1eq6jI.js +1 -0
  190. package/dist/chunks/image-ez9hvzKT.js +17 -0
  191. package/dist/chunks/index.es-OAWlVkoK.js +16 -0
  192. package/dist/chunks/info-A6RAGUB7-BP6lMBIR.js +1 -0
  193. package/dist/chunks/info-BQa8C31Y.js +8 -0
  194. package/dist/chunks/infoDiagram-27XIBGKW-BhQtr_Ti.js +2 -0
  195. package/dist/chunks/init-Ca_Ibf4y.js +1 -0
  196. package/dist/chunks/ishikawaDiagram-5VMMS53U-CLR6CAi4.js +70 -0
  197. package/dist/chunks/journeyDiagram-3NMN7TZE-_-Q7sjsP.js +139 -0
  198. package/dist/chunks/json-viewer-DHYRjY8I.js +1 -0
  199. package/dist/chunks/jszip.min-hNOoGCeG.js +14 -0
  200. package/dist/chunks/kanban-definition-UXKFOSKX-D97mHeUZ.js +89 -0
  201. package/dist/chunks/katex-D5qu7EYh.js +257 -0
  202. package/dist/chunks/layout-grid-Bp9bwiQZ.js +8 -0
  203. package/dist/chunks/lib-BlRm3nk1.js +15 -0
  204. package/dist/chunks/lib-C1nFUu19.js +4 -0
  205. package/dist/chunks/lib-CqYXBtHb.js +1 -0
  206. package/dist/chunks/libarchive-DRzzJvQl.js +7 -0
  207. package/dist/chunks/line-BV7qVRkM.js +1 -0
  208. package/dist/chunks/line-qVHaOdPp.js +1 -0
  209. package/dist/chunks/linear-DXABSWHW.js +1 -0
  210. package/dist/chunks/list-0CbyOlT9.js +1 -0
  211. package/dist/chunks/list-DCcWnjUg.js +8 -0
  212. package/dist/chunks/listTableProps-DDynsnLF.js +1 -0
  213. package/dist/chunks/log-in-OzbNes8i.js +8 -0
  214. package/dist/chunks/lucide-react-VfAPsQQ5.js +8 -0
  215. package/dist/chunks/maplibre-gl-Bxi83GUP.js +819 -0
  216. package/dist/chunks/maplibre-shared-Oo0L8Lll.js +6 -0
  217. package/dist/chunks/maximize-CnmQ11E7.js +8 -0
  218. package/dist/chunks/media-DoGe_p4O.js +1 -0
  219. package/dist/chunks/menu-mQgsexFx.js +15 -0
  220. package/dist/chunks/mermaid-parser.core-DvCAQkzY.js +3 -0
  221. package/dist/chunks/mermaid.core-CxOC6yPr.js +15 -0
  222. package/dist/chunks/messages-CFyOVxEM.js +1 -0
  223. package/dist/chunks/mindmap-definition-YA3MSWOX-A2UgnMwx.js +96 -0
  224. package/dist/chunks/minimize-Bpau_zCe.js +8 -0
  225. package/dist/chunks/msg-BzZbudMm.js +7 -0
  226. package/dist/chunks/ofd-C7DKqJ6Z.js +33 -0
  227. package/dist/chunks/ofd-DrJyXIpS.js +14 -0
  228. package/dist/chunks/openDocument-DGzqlyJg.js +12 -0
  229. package/dist/chunks/options-B65xkxOY.js +1 -0
  230. package/dist/chunks/ordinal-NuFkISw7.js +1 -0
  231. package/dist/chunks/packet-AYTQ26CC-DS6h3a5l.js +1 -0
  232. package/dist/chunks/panzoom.es-DnuzxUQi.js +1 -0
  233. package/dist/chunks/parse-6ZQGx714.js +1 -0
  234. package/dist/chunks/parser-DC3PvpL4.js +72 -0
  235. package/dist/chunks/path-VUNELGFR.js +1 -0
  236. package/dist/chunks/pegDiagram-XKGWAZYB-DxQqpKfh.js +1 -0
  237. package/dist/chunks/pie-WAS4IAKB-BsaegmNA.js +1 -0
  238. package/dist/chunks/pieDiagram-E7YTZNPT-BUsnkTkJ.js +39 -0
  239. package/dist/chunks/postal-mime-DMcA5b7k.js +28 -0
  240. package/dist/chunks/ppt-B0WY5Gks.js +30 -0
  241. package/dist/chunks/ppt-BIiNnCyj.js +1 -0
  242. package/dist/chunks/pptx-DX5KDFZ7.js +109 -0
  243. package/dist/chunks/preload-helper-C-73SErw.js +1 -0
  244. package/dist/chunks/print-mask-Dguzv0rv.js +17 -0
  245. package/dist/chunks/printLayout-oeudvFkr.js +34 -0
  246. package/dist/chunks/printMask-LefOTJqk.js +8 -0
  247. package/dist/chunks/psd-hjeNFQZ-.js +36 -0
  248. package/dist/chunks/purify.es-BsWMI_aG.js +5 -0
  249. package/dist/chunks/quadrantDiagram-AXDQQJYC-BmQNSzhY.js +7 -0
  250. package/dist/chunks/radar-RG4KPBEZ-BoHdw2h7.js +1 -0
  251. package/dist/chunks/railroad-74A4TZTK-BifJffb4.js +1 -0
  252. package/dist/chunks/railroad-abnf-HS5TGJTU-CMEPumRO.js +1 -0
  253. package/dist/chunks/railroad-ebnf-LZEXJU2U-B06BgAeN.js +1 -0
  254. package/dist/chunks/railroad-peg-WCYAUIDC-CMjriUEs.js +1 -0
  255. package/dist/chunks/railroadDiagram-O6MQD6OU-B2t5KY26.js +1 -0
  256. package/dist/chunks/react-runtime-x2lFbSKq.js +11 -0
  257. package/dist/chunks/refresh-cw-Dz8O9-Hp.js +8 -0
  258. package/dist/chunks/rendered-slot-YhfmcMJr.js +1 -0
  259. package/dist/chunks/requirementDiagram-BXWQKSXE-CBBfNOAp.js +84 -0
  260. package/dist/chunks/rolldown-runtime-BKuNeK48.js +1 -0
  261. package/dist/chunks/rotate-ccw-D2__Zisi.js +8 -0
  262. package/dist/chunks/rotate-cw-BSTVLlWY.js +8 -0
  263. package/dist/chunks/rough.esm-CVrpq1dW.js +1 -0
  264. package/dist/chunks/sankeyDiagram-P5KCCOFB-Cp8SrFyb.js +40 -0
  265. package/dist/chunks/save-w-NwiMMY.js +8 -0
  266. package/dist/chunks/search-DYZU68h1.js +8 -0
  267. package/dist/chunks/search-filters-CRIhZ0gL.js +1 -0
  268. package/dist/chunks/sequenceDiagram-WJ2MYXX4-PDtVfEoj.js +162 -0
  269. package/dist/chunks/shield-alert-De_Hx56I.js +8 -0
  270. package/dist/chunks/sizeCapture-INFHLROL-DA-kAaXB.js +1 -0
  271. package/dist/chunks/skeleton-CrjMjJNr.js +1 -0
  272. package/dist/chunks/spreadsheet-BzbBEhmY.js +1 -0
  273. package/dist/chunks/spreadsheet-LR3SOG-x.js +58 -0
  274. package/dist/chunks/sql-wasm-browser-CFddXd9f.js +2 -0
  275. package/dist/chunks/src-C1iDJpBK.js +1 -0
  276. package/dist/chunks/src-vLpLkuQx.js +1 -0
  277. package/dist/chunks/stateDiagram-D77RDMKH-C1Sx8KUD.js +1 -0
  278. package/dist/chunks/stateDiagram-v2-MP3YSRHH-7wYLSzBX.js +1 -0
  279. package/dist/chunks/swimlanes-42K2YHIH-BmybX9eL.js +1 -0
  280. package/dist/chunks/swimlanesDiagram-VR7AAH4N-DxhXklfm.js +8 -0
  281. package/dist/chunks/tabs-BobA_IcO.js +1 -0
  282. package/dist/chunks/theme-controller-D-ATwFal.js +1 -0
  283. package/dist/chunks/timeline-definition-24CTP7MA-QS9QNm2i.js +120 -0
  284. package/dist/chunks/tinycolor-CG1wnM-U.js +1 -0
  285. package/dist/chunks/togeojson.es-BE8iM7U6.js +1 -0
  286. package/dist/chunks/toolbar-controls-CThS0xuP.js +15 -0
  287. package/dist/chunks/trash-tHBT8Mpw.js +8 -0
  288. package/dist/chunks/treeView-Q6P3EWNA-CN0l7whJ.js +1 -0
  289. package/dist/chunks/treemap-WGGIJYW6-C4P1fQxS.js +1 -0
  290. package/dist/chunks/typography-DKK_iHcj.js +1 -0
  291. package/dist/chunks/ui-BFsHoY7a.js +1 -0
  292. package/dist/chunks/ui-utils-ClxYogUQ.js +1 -0
  293. package/dist/chunks/upload-M-n6woFv.js +8 -0
  294. package/dist/chunks/useCrudOperationColumn-D935tixd.js +1 -0
  295. package/dist/chunks/useListPage-CbcOQG4m.js +1 -0
  296. package/dist/chunks/useModalViewport-HF7te75S.js +1 -0
  297. package/dist/chunks/useRowSelection-4GOMFmjG.js +1 -0
  298. package/dist/chunks/useStatusToggle-B2qZaoc-.js +1 -0
  299. package/dist/chunks/user-round-kYfBkPNu.js +15 -0
  300. package/dist/chunks/users-BXZLb4TY.js +8 -0
  301. package/dist/chunks/vennDiagram-4TSXK5OY-CVd73ycc.js +34 -0
  302. package/dist/chunks/view-B8ZvC8z3.js +1 -0
  303. package/dist/chunks/viewer-Ct88ypIL.js +24 -0
  304. package/dist/chunks/wardley-WFR3VGLG-cG9pRFwD.js +1 -0
  305. package/dist/chunks/wardleyDiagram-VM6X3IG4-B42d0Gqz.js +78 -0
  306. package/dist/chunks/wordDoc-BZY3ZnxN.js +152 -0
  307. package/dist/chunks/wordDocx-Bt2mlB3C.js +77 -0
  308. package/dist/chunks/wordMl-Y_ghyTZ8.js +1 -0
  309. package/dist/chunks/worker-engine-B4e92GsN.js +17369 -0
  310. package/dist/chunks/x-Ak9hw1R9.js +8 -0
  311. package/dist/chunks/xmind-CF9YwkOD.js +58 -0
  312. package/dist/chunks/xychartDiagram-S5SC5T6Z-B_Owv9Ho.js +7 -0
  313. package/dist/file-viewer/flyfish-viewer-assets.json +46 -0
  314. package/dist/file-viewer/vendor/docx/docx.worker.js +5 -0
  315. package/dist/file-viewer/vendor/docx/jszip.min.js +13 -0
  316. package/dist/file-viewer/vendor/xlsx/sheet.worker.js +107 -0
  317. package/dist/file-viewer/wasm/data/sql-wasm.wasm +0 -0
  318. package/dist/index.d.ts +5 -0
  319. package/dist/index.js +1 -0
  320. package/dist/public/avatars/avatar-01.svg +1 -0
  321. package/dist/public/avatars/avatar-02.svg +1 -0
  322. package/dist/public/avatars/avatar-03.svg +1 -0
  323. package/dist/public/avatars/avatar-04.svg +1 -0
  324. package/dist/public/avatars/avatar-05.svg +1 -0
  325. package/dist/public/avatars/avatar-06.svg +1 -0
  326. package/dist/public/avatars/avatar-07.svg +1 -0
  327. package/dist/public/avatars/avatar-08.svg +1 -0
  328. package/dist/public/avatars/avatar-09.svg +1 -0
  329. package/dist/public/avatars/avatar-10.svg +1 -0
  330. package/dist/public/avatars/avatar-11.svg +1 -0
  331. package/dist/public/avatars/avatar-12.svg +1 -0
  332. package/dist/public/monaco/vs/abap-D-t0cyap.js +1 -0
  333. package/dist/public/monaco/vs/apex-CcIm7xu6.js +1 -0
  334. package/dist/public/monaco/vs/assets/css.worker-URu8fCFR.js +97 -0
  335. package/dist/public/monaco/vs/assets/editor.worker-lj3bdIIn.js +30 -0
  336. package/dist/public/monaco/vs/assets/editorWebWorkerMain-CA_vMoUU.js +30 -0
  337. package/dist/public/monaco/vs/assets/html.worker-D1SL3iM8.js +474 -0
  338. package/dist/public/monaco/vs/assets/json.worker-CoJx_OPf.js +62 -0
  339. package/dist/public/monaco/vs/assets/ts.worker-BWKtMYOk.js +67722 -0
  340. package/dist/public/monaco/vs/azcli-BA0tQDCg.js +1 -0
  341. package/dist/public/monaco/vs/basic-languages/monaco.contribution.js +1 -0
  342. package/dist/public/monaco/vs/bat-C397hTD6.js +1 -0
  343. package/dist/public/monaco/vs/bicep-DF5aW17k.js +2 -0
  344. package/dist/public/monaco/vs/cameligo-plsz8qhj.js +1 -0
  345. package/dist/public/monaco/vs/clojure-Y2auQMzK.js +1 -0
  346. package/dist/public/monaco/vs/coffee-Bu45yuWE.js +1 -0
  347. package/dist/public/monaco/vs/cpp-CkKPQIni.js +1 -0
  348. package/dist/public/monaco/vs/csharp-CX28MZyh.js +1 -0
  349. package/dist/public/monaco/vs/csp-D8uWnyxW.js +1 -0
  350. package/dist/public/monaco/vs/css-CaeNmE3S.js +3 -0
  351. package/dist/public/monaco/vs/css.worker-CyhWkhHo.js +1 -0
  352. package/dist/public/monaco/vs/cssMode-CV6Ay48H.js +1 -0
  353. package/dist/public/monaco/vs/cypher-DVThT8BS.js +1 -0
  354. package/dist/public/monaco/vs/dart-CmGfCvrO.js +1 -0
  355. package/dist/public/monaco/vs/dockerfile-CZqqYdch.js +1 -0
  356. package/dist/public/monaco/vs/ecl-30fUercY.js +1 -0
  357. package/dist/public/monaco/vs/editor/editor.main.css +1 -0
  358. package/dist/public/monaco/vs/editor/editor.main.js +1 -0
  359. package/dist/public/monaco/vs/editor-KLE6jdfb.js +831 -0
  360. package/dist/public/monaco/vs/editor.js +1 -0
  361. package/dist/public/monaco/vs/editorWorkerHost-fVE1cjcC.js +35 -0
  362. package/dist/public/monaco/vs/elixir-xjPaIfzF.js +1 -0
  363. package/dist/public/monaco/vs/flow9-DqtmStfK.js +1 -0
  364. package/dist/public/monaco/vs/freemarker2-FWreY7v7.js +3 -0
  365. package/dist/public/monaco/vs/fsharp-BOMdg4U1.js +1 -0
  366. package/dist/public/monaco/vs/go-D_hbi-Jt.js +1 -0
  367. package/dist/public/monaco/vs/graphql-CKUU4kLG.js +1 -0
  368. package/dist/public/monaco/vs/handlebars-CZi4pHCH.js +1 -0
  369. package/dist/public/monaco/vs/hcl-DTaboeZW.js +1 -0
  370. package/dist/public/monaco/vs/html-j_7ZTNRU.js +1 -0
  371. package/dist/public/monaco/vs/html.worker-CA3iAimZ.js +1 -0
  372. package/dist/public/monaco/vs/htmlMode-27by_KM4.js +1 -0
  373. package/dist/public/monaco/vs/index-049xrXrp.js +1 -0
  374. package/dist/public/monaco/vs/index-CBVt3dzv.js +5 -0
  375. package/dist/public/monaco/vs/index.js +1 -0
  376. package/dist/public/monaco/vs/ini-CsNwO04R.js +1 -0
  377. package/dist/public/monaco/vs/initialize-DL0l1TGY.js +1 -0
  378. package/dist/public/monaco/vs/java-CI4ZMsH9.js +1 -0
  379. package/dist/public/monaco/vs/javascript-DTJl4Jn1.js +1 -0
  380. package/dist/public/monaco/vs/json.worker-BizpAl9O.js +1 -0
  381. package/dist/public/monaco/vs/jsonMode-DLUiMUrI.js +1 -0
  382. package/dist/public/monaco/vs/julia-BwzEvaQw.js +1 -0
  383. package/dist/public/monaco/vs/kotlin-IUYPiTV8.js +1 -0
  384. package/dist/public/monaco/vs/language/css/monaco.contribution.js +1 -0
  385. package/dist/public/monaco/vs/language/html/monaco.contribution.js +1 -0
  386. package/dist/public/monaco/vs/language/json/monaco.contribution.js +1 -0
  387. package/dist/public/monaco/vs/language/typescript/monaco.contribution.js +1 -0
  388. package/dist/public/monaco/vs/less-C0eDYdqa.js +2 -0
  389. package/dist/public/monaco/vs/lexon-iON-Kj97.js +1 -0
  390. package/dist/public/monaco/vs/liquid-CLJYelW6.js +1 -0
  391. package/dist/public/monaco/vs/loader.js +1368 -0
  392. package/dist/public/monaco/vs/lspLanguageFeatures-BIkJOWLw.js +2 -0
  393. package/dist/public/monaco/vs/lua-DtygF91M.js +1 -0
  394. package/dist/public/monaco/vs/m3-CsR4AuFi.js +1 -0
  395. package/dist/public/monaco/vs/main-BEx-Fmlo.js +15 -0
  396. package/dist/public/monaco/vs/main-DsK8pnKg.js +3 -0
  397. package/dist/public/monaco/vs/markdown-C_rD0bIw.js +1 -0
  398. package/dist/public/monaco/vs/mdx-CpzZIPHF.js +1 -0
  399. package/dist/public/monaco/vs/mips-CiYP61RB.js +1 -0
  400. package/dist/public/monaco/vs/monaco.contribution-9cKT3C7t.js +1 -0
  401. package/dist/public/monaco/vs/monaco.contribution-BE88ZNGY.js +1 -0
  402. package/dist/public/monaco/vs/monaco.contribution-BPhsneLd.js +1 -0
  403. package/dist/public/monaco/vs/monaco.contribution-BgRy6xDf.js +1 -0
  404. package/dist/public/monaco/vs/msdax-C38-sJlp.js +1 -0
  405. package/dist/public/monaco/vs/mysql-CdtbpvbG.js +1 -0
  406. package/dist/public/monaco/vs/nls/lang/cs.d.ts +1 -0
  407. package/dist/public/monaco/vs/nls/lang/cs.js +9 -0
  408. package/dist/public/monaco/vs/nls/lang/de.d.ts +1 -0
  409. package/dist/public/monaco/vs/nls/lang/de.js +9 -0
  410. package/dist/public/monaco/vs/nls/lang/es.d.ts +1 -0
  411. package/dist/public/monaco/vs/nls/lang/es.js +9 -0
  412. package/dist/public/monaco/vs/nls/lang/fr.d.ts +1 -0
  413. package/dist/public/monaco/vs/nls/lang/fr.js +9 -0
  414. package/dist/public/monaco/vs/nls/lang/it.d.ts +1 -0
  415. package/dist/public/monaco/vs/nls/lang/it.js +9 -0
  416. package/dist/public/monaco/vs/nls/lang/ja.d.ts +1 -0
  417. package/dist/public/monaco/vs/nls/lang/ja.js +9 -0
  418. package/dist/public/monaco/vs/nls/lang/ko.d.ts +1 -0
  419. package/dist/public/monaco/vs/nls/lang/ko.js +9 -0
  420. package/dist/public/monaco/vs/nls/lang/pl.d.ts +1 -0
  421. package/dist/public/monaco/vs/nls/lang/pl.js +9 -0
  422. package/dist/public/monaco/vs/nls/lang/pt-br.d.ts +1 -0
  423. package/dist/public/monaco/vs/nls/lang/pt-br.js +9 -0
  424. package/dist/public/monaco/vs/nls/lang/ru.d.ts +1 -0
  425. package/dist/public/monaco/vs/nls/lang/ru.js +9 -0
  426. package/dist/public/monaco/vs/nls/lang/tr.d.ts +1 -0
  427. package/dist/public/monaco/vs/nls/lang/tr.js +9 -0
  428. package/dist/public/monaco/vs/nls/lang/zh-cn.d.ts +1 -0
  429. package/dist/public/monaco/vs/nls/lang/zh-cn.js +9 -0
  430. package/dist/public/monaco/vs/nls/lang/zh-tw.d.ts +1 -0
  431. package/dist/public/monaco/vs/nls/lang/zh-tw.js +9 -0
  432. package/dist/public/monaco/vs/nls.messages-loader.js +1 -0
  433. package/dist/public/monaco/vs/objective-c-CntZFaHX.js +1 -0
  434. package/dist/public/monaco/vs/pascal-r6kuqfl_.js +1 -0
  435. package/dist/public/monaco/vs/pascaligo-BiXoTmXh.js +1 -0
  436. package/dist/public/monaco/vs/perl-DABw_TcH.js +1 -0
  437. package/dist/public/monaco/vs/pgsql-me_jFXeX.js +1 -0
  438. package/dist/public/monaco/vs/php-D_kh-9LK.js +1 -0
  439. package/dist/public/monaco/vs/pla-VfZjczW0.js +1 -0
  440. package/dist/public/monaco/vs/postiats-BBSzz8Pk.js +1 -0
  441. package/dist/public/monaco/vs/powerquery-Dt-g_2cc.js +1 -0
  442. package/dist/public/monaco/vs/powershell-B-7ap1zc.js +1 -0
  443. package/dist/public/monaco/vs/protobuf-BmtuEB1A.js +2 -0
  444. package/dist/public/monaco/vs/pug-BRpRNeEb.js +1 -0
  445. package/dist/public/monaco/vs/python-CqWUUgfu.js +1 -0
  446. package/dist/public/monaco/vs/qsharp-BzsFaUU9.js +1 -0
  447. package/dist/public/monaco/vs/r-f8dDdrp4.js +1 -0
  448. package/dist/public/monaco/vs/razor-hok5y9Km.js +1 -0
  449. package/dist/public/monaco/vs/redis-fvZQY4PI.js +1 -0
  450. package/dist/public/monaco/vs/redshift-45Et0LQi.js +1 -0
  451. package/dist/public/monaco/vs/restructuredtext-C7UUFKFD.js +1 -0
  452. package/dist/public/monaco/vs/ruby-CZO8zYTz.js +1 -0
  453. package/dist/public/monaco/vs/rust-Bfetafyc.js +1 -0
  454. package/dist/public/monaco/vs/sb-3GYllVck.js +1 -0
  455. package/dist/public/monaco/vs/scala-foMgrKo1.js +1 -0
  456. package/dist/public/monaco/vs/scheme-CHdMtr7p.js +1 -0
  457. package/dist/public/monaco/vs/scss-C1cmLt9V.js +3 -0
  458. package/dist/public/monaco/vs/shell-ClXCKCEW.js +1 -0
  459. package/dist/public/monaco/vs/solidity-MZ6ExpPy.js +1 -0
  460. package/dist/public/monaco/vs/sophia-DWkuSsPQ.js +1 -0
  461. package/dist/public/monaco/vs/sparql-AUGFYSyk.js +1 -0
  462. package/dist/public/monaco/vs/sql-32GpJSV2.js +1 -0
  463. package/dist/public/monaco/vs/st-CuDFIVZ_.js +1 -0
  464. package/dist/public/monaco/vs/swift-t-PfMj7W.js +1 -0
  465. package/dist/public/monaco/vs/systemverilog-Ch4vA8Yt.js +1 -0
  466. package/dist/public/monaco/vs/tcl-D74tq1nH.js +1 -0
  467. package/dist/public/monaco/vs/toggleHighContrast-qGX7E9o7.js +61 -0
  468. package/dist/public/monaco/vs/ts.worker-2QLmBukE.js +1 -0
  469. package/dist/public/monaco/vs/tsMode-B0S_kp2q.js +11 -0
  470. package/dist/public/monaco/vs/twig-C6taOxMV.js +1 -0
  471. package/dist/public/monaco/vs/typescript-_2t_511t.js +1 -0
  472. package/dist/public/monaco/vs/typespec-8OfoLt6R.js +1 -0
  473. package/dist/public/monaco/vs/vb-Dyb2648j.js +1 -0
  474. package/dist/public/monaco/vs/wgsl-BhLXMOR0.js +298 -0
  475. package/dist/public/monaco/vs/workers-BBttULjf.js +1 -0
  476. package/dist/public/monaco/vs/xml-cZjNDqDT.js +1 -0
  477. package/dist/public/monaco/vs/yaml-A1fOIdH6.js +1 -0
  478. package/dist/src-LbWcrSWe.js +3 -0
  479. package/dist/styles.css +2 -0
  480. package/dist/styles.d.ts +1 -0
  481. package/dist/types.d.ts +1 -0
  482. package/package.json +113 -4
@@ -0,0 +1,4 @@
1
+ import{n as e,r as t}from"./rolldown-runtime-BKuNeK48.js";function n(e){e(`EPSG:4326`,`+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees`),e(`EPSG:4269`,`+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees`),e(`EPSG:3857`,`+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs`);for(var t=1;t<=60;++t)e(`EPSG:`+(32600+t),`+proj=utm +zone=`+t+` +datum=WGS84 +units=m`),e(`EPSG:`+(32700+t),`+proj=utm +zone=`+t+` +south +datum=WGS84 +units=m`);e(`EPSG:5041`,`+title=WGS 84 / UPS North (E,N) +proj=stere +lat_0=90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +datum=WGS84 +units=m`),e(`EPSG:5042`,`+title=WGS 84 / UPS South (E,N) +proj=stere +lat_0=-90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +datum=WGS84 +units=m`),e.WGS84=e[`EPSG:4326`],e[`EPSG:3785`]=e[`EPSG:3857`],e.GOOGLE=e[`EPSG:3857`],e[`EPSG:900913`]=e[`EPSG:3857`],e[`EPSG:102113`]=e[`EPSG:3857`]}var r,i,a,o,s,c,l,u,d,f,p,m,h,g;function _(){return(_=e((()=>{r=6378137,i=6356752.314,a=.0066943799901413165,o=484813681109536e-20,s=Math.PI/2,c=.16666666666666666,l=.04722222222222222,u=.022156084656084655,d=1e-10,f=.017453292519943295,p=57.29577951308232,m=Math.PI/4,h=Math.PI*2,g=3.14159265359})))()}var v;function y(){return(y=e((()=>{v={},v.greenwich=0,v.lisbon=-9.131906111111,v.paris=2.337229166667,v.bogota=-74.080916666667,v.madrid=-3.687938888889,v.rome=12.452333333333,v.bern=7.439583333333,v.jakarta=106.807719444444,v.ferro=-17.666666666667,v.brussels=4.367975,v.stockholm=18.058277777778,v.athens=23.7163375,v.oslo=10.722916666667})))()}var b;function x(){return(x=e((()=>{b={mm:{to_meter:.001},cm:{to_meter:.01},ft:{to_meter:.3048},"us-ft":{to_meter:1200/3937},fath:{to_meter:1.8288},kmi:{to_meter:1852},"us-ch":{to_meter:20.1168402336805},"us-mi":{to_meter:1609.34721869444},km:{to_meter:1e3},"ind-ft":{to_meter:.30479841},"ind-yd":{to_meter:.91439523},mi:{to_meter:1609.344},yd:{to_meter:.9144},ch:{to_meter:20.1168},link:{to_meter:.201168},dm:{to_meter:.1},in:{to_meter:.0254},"ind-ch":{to_meter:20.11669506},"us-in":{to_meter:.025400050800101},"us-yd":{to_meter:.914401828803658}}})))()}function S(e,t){if(e[t])return e[t];for(var n=Object.keys(e),r=t.toLowerCase().replace(C,``),i=-1,a,o;++i<n.length;)if(a=n[i],o=a.toLowerCase().replace(C,``),o===r)return e[a]}var C;function w(){return(w=e((()=>{C=/[\s_\-\/\(\)]/g})))()}function T(e){var t={},n=e.split(`+`).map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,t){var n=t.split(`=`);return n.push(!0),e[n[0].toLowerCase()]=n[1],e},{}),r,i,a,o={proj:function(e){t.projName=[`lonlat`,`latlon`,`latlong`].includes(e)?`longlat`:e},datum:`datumCode`,rf:function(e){t.rf=parseFloat(e)},lat_0:function(e){t.lat0=e*f},lat_1:function(e){t.lat1=e*f},lat_2:function(e){t.lat2=e*f},lat_ts:function(e){t.lat_ts=e*f},lon_0:function(e){t.long0=e*f},lon_wrap:function(e){t.long_wrap=parseFloat(e)*f},lon_1:function(e){t.long1=e*f},lon_2:function(e){t.long2=e*f},alpha:function(e){t.alpha=parseFloat(e)*f},gamma:function(e){t.rectified_grid_angle=parseFloat(e)*f},lonc:function(e){t.longc=e*f},x_0:function(e){t.x0=parseFloat(e)},y_0:function(e){t.y0=parseFloat(e)},k_0:function(e){t.k0=parseFloat(e)},k:function(e){t.k0=parseFloat(e)},a:function(e){t.a=parseFloat(e)},b:function(e){t.b=parseFloat(e)},r:function(e){t.a=t.b=parseFloat(e)},r_a:function(){t.R_A=!0},zone:function(e){t.zone=parseInt(e,10)},south:function(){t.utmSouth=!0},towgs84:function(e){t.datum_params=e.split(`,`).map(function(e){return parseFloat(e)})},to_meter:function(e){t.to_meter=parseFloat(e)},units:function(e){t.units=e;var n=S(b,e);n&&(t.to_meter=n.to_meter)},from_greenwich:function(e){t.from_greenwich=e*f},pm:function(e){t.from_greenwich=(S(v,e)||parseFloat(e))*f},nadgrids:function(e){e===`@null`?t.datumCode=`none`:t.nadgrids=e},axis:function(e){var n=`ewnsud`;e.length===3&&n.indexOf(e.substr(0,1))!==-1&&n.indexOf(e.substr(1,1))!==-1&&n.indexOf(e.substr(2,1))!==-1&&(t.axis=e)},approx:function(){t.approx=!0},over:function(){t.over=!0}};for(r in n)i=n[r],r in o?(a=o[r],typeof a==`function`?a(i):t[a]=i):t[r]=i;return typeof t.datumCode==`string`&&t.datumCode!==`WGS84`&&(t.datumCode=t.datumCode.toLowerCase()),t.projStr=e,t}function E(){return(E=e((()=>{_(),y(),x(),w()})))()}var D;function ee(){return(ee=e((()=>{D=class{static getId(e){let t=e.find(e=>Array.isArray(e)&&e[0]===`ID`);return t&&t.length>=3?{authority:t[1],code:parseInt(t[2],10)}:null}static convertUnit(e,t=`unit`){if(!e||e.length<3)return{type:t,name:`unknown`,conversion_factor:null};let n=e[1],r=parseFloat(e[2])||null,i=e.find(e=>Array.isArray(e)&&e[0]===`ID`);return{type:t,name:n,conversion_factor:r,id:i?{authority:i[1],code:parseInt(i[2],10)}:null}}static convertAxis(e){let t=e[1]||`Unknown`,n,r=t.match(/^\((.)\)$/);if(r){let t=r[1].toUpperCase();if(t===`E`)n=`east`;else if(t===`N`)n=`north`;else if(t===`U`)n=`up`;else if(e[2])n=e[2];else throw Error(`Unknown axis abbreviation: ${t}`)}else n=e[2]||`unknown`;let i=e.find(e=>Array.isArray(e)&&e[0]===`ORDER`),a=i?parseInt(i[1],10):null,o=e.find(e=>Array.isArray(e)&&(e[0]===`LENGTHUNIT`||e[0]===`ANGLEUNIT`||e[0]===`SCALEUNIT`)),s=this.convertUnit(o);return{name:t,direction:n,unit:s,order:a}}static extractAxes(e){return e.filter(e=>Array.isArray(e)&&e[0]===`AXIS`).map(e=>this.convertAxis(e)).sort((e,t)=>(e.order||0)-(t.order||0))}static convert(e,t={}){switch(e[0]){case`PROJCRS`:t.type=`ProjectedCRS`,t.name=e[1],t.base_crs=e.find(e=>Array.isArray(e)&&e[0]===`BASEGEOGCRS`)?this.convert(e.find(e=>Array.isArray(e)&&e[0]===`BASEGEOGCRS`)):null,t.conversion=e.find(e=>Array.isArray(e)&&e[0]===`CONVERSION`)?this.convert(e.find(e=>Array.isArray(e)&&e[0]===`CONVERSION`)):null;let n=e.find(e=>Array.isArray(e)&&e[0]===`CS`);n&&(t.coordinate_system={subtype:n[1],axis:this.extractAxes(e)});let r=e.find(e=>Array.isArray(e)&&e[0]===`LENGTHUNIT`);if(r){let e=this.convertUnit(r);t.coordinate_system.unit=e}t.id=this.getId(e);break;case`BASEGEOGCRS`:case`GEOGCRS`:case`GEODCRS`:t.type=e[0]===`GEODCRS`?`GeodeticCRS`:`GeographicCRS`,t.name=e[1];let i=e.find(e=>Array.isArray(e)&&(e[0]===`DATUM`||e[0]===`ENSEMBLE`));if(i){let n=this.convert(i);i[0]===`ENSEMBLE`?t.datum_ensemble=n:t.datum=n;let r=e.find(e=>Array.isArray(e)&&e[0]===`PRIMEM`);r&&r[1]!==`Greenwich`&&(n.prime_meridian={name:r[1],longitude:parseFloat(r[2])})}let a=e.find(e=>Array.isArray(e)&&e[0]===`CS`);t.coordinate_system={subtype:a?a[1]:`ellipsoidal`,axis:this.extractAxes(e)},t.id=this.getId(e);break;case`DATUM`:t.type=`GeodeticReferenceFrame`,t.name=e[1],t.ellipsoid=e.find(e=>Array.isArray(e)&&e[0]===`ELLIPSOID`)?this.convert(e.find(e=>Array.isArray(e)&&e[0]===`ELLIPSOID`)):null;break;case`ENSEMBLE`:t.type=`DatumEnsemble`,t.name=e[1],t.members=e.filter(e=>Array.isArray(e)&&e[0]===`MEMBER`).map(e=>({type:`DatumEnsembleMember`,name:e[1],id:this.getId(e)}));let o=e.find(e=>Array.isArray(e)&&e[0]===`ENSEMBLEACCURACY`);o&&(t.accuracy=parseFloat(o[1]));let s=e.find(e=>Array.isArray(e)&&e[0]===`ELLIPSOID`);s&&(t.ellipsoid=this.convert(s)),t.id=this.getId(e);break;case`ELLIPSOID`:t.type=`Ellipsoid`,t.name=e[1],t.semi_major_axis=parseFloat(e[2]),t.inverse_flattening=parseFloat(e[3]),e.find(e=>Array.isArray(e)&&e[0]===`LENGTHUNIT`)&&this.convert(e.find(e=>Array.isArray(e)&&e[0]===`LENGTHUNIT`),t);break;case`CONVERSION`:t.type=`Conversion`,t.name=e[1],t.method=e.find(e=>Array.isArray(e)&&e[0]===`METHOD`)?this.convert(e.find(e=>Array.isArray(e)&&e[0]===`METHOD`)):null,t.parameters=e.filter(e=>Array.isArray(e)&&e[0]===`PARAMETER`).map(e=>this.convert(e));break;case`METHOD`:t.type=`Method`,t.name=e[1],t.id=this.getId(e);break;case`PARAMETER`:t.type=`Parameter`,t.name=e[1],t.value=parseFloat(e[2]),t.unit=this.convertUnit(e.find(e=>Array.isArray(e)&&(e[0]===`LENGTHUNIT`||e[0]===`ANGLEUNIT`||e[0]===`SCALEUNIT`))),t.id=this.getId(e);break;case`BOUNDCRS`:t.type=`BoundCRS`;let c=e.find(e=>Array.isArray(e)&&e[0]===`SOURCECRS`);if(c){let e=c.find(e=>Array.isArray(e));t.source_crs=e?this.convert(e):null}let l=e.find(e=>Array.isArray(e)&&e[0]===`TARGETCRS`);if(l){let e=l.find(e=>Array.isArray(e));t.target_crs=e?this.convert(e):null}let u=e.find(e=>Array.isArray(e)&&e[0]===`ABRIDGEDTRANSFORMATION`);t.transformation=u?this.convert(u):null;break;case`ABRIDGEDTRANSFORMATION`:if(t.type=`Transformation`,t.name=e[1],t.method=e.find(e=>Array.isArray(e)&&e[0]===`METHOD`)?this.convert(e.find(e=>Array.isArray(e)&&e[0]===`METHOD`)):null,t.parameters=e.filter(e=>Array.isArray(e)&&(e[0]===`PARAMETER`||e[0]===`PARAMETERFILE`)).map(e=>{if(e[0]===`PARAMETER`)return this.convert(e);if(e[0]===`PARAMETERFILE`)return{name:e[1],value:e[2],id:{authority:`EPSG`,code:8656}}}),t.parameters.length===7){let e=t.parameters[6];e.name===`Scale difference`&&(e.value=Math.round((e.value-1)*0xe8d4a51000)/1e6)}t.id=this.getId(e);break;case`AXIS`:t.coordinate_system||={type:`unspecified`,axis:[]},t.coordinate_system.axis.push(this.convertAxis(e));break;case`LENGTHUNIT`:let d=this.convertUnit(e,`LinearUnit`);t.coordinate_system&&t.coordinate_system.axis&&t.coordinate_system.axis.forEach(e=>{e.unit||=d}),d.conversion_factor&&d.conversion_factor!==1&&(t.semi_major_axis&&={value:t.semi_major_axis,unit:d});break;default:t.keyword=e[0]}return t}}})))()}function te(e){return D.convert(e)}function ne(){return(ne=e((()=>{ee()})))()}function re(e){let t=e.toUpperCase();return t.includes(`PROJCRS`)||t.includes(`GEOGCRS`)||t.includes(`BOUNDCRS`)||t.includes(`VERTCRS`)||t.includes(`LENGTHUNIT`)||t.includes(`ANGLEUNIT`)||t.includes(`SCALEUNIT`)?`WKT2`:(t.includes(`PROJCS`)||t.includes(`GEOGCS`)||t.includes(`LOCAL_CS`)||t.includes(`VERT_CS`)||t.includes(`UNIT`),`WKT1`)}function O(e){if(typeof e!=`string`)throw Error(`not a string`);this.text=e.trim(),this.level=0,this.place=0,this.root=null,this.stack=[],this.currentObject=null,this.state=oe}function ie(e){return new O(e).output()}var ae,oe,se,ce,le,ue,de,fe,pe,me,he,ge;function _e(){return(_e=e((()=>{ae=ie,oe=1,se=2,ce=3,le=4,ue=5,de=-1,fe=/\s/,pe=/[A-Za-z]/,me=/[A-Za-z84_]/,he=/[,\]]/,ge=/[\d\.E\-\+]/,O.prototype.readCharicter=function(){var e=this.text[this.place++];if(this.state!==le)for(;fe.test(e);){if(this.place>=this.text.length)return;e=this.text[this.place++]}switch(this.state){case oe:return this.neutral(e);case se:return this.keyword(e);case le:return this.quoted(e);case ue:return this.afterquote(e);case ce:return this.number(e);case de:return}},O.prototype.afterquote=function(e){if(e===`"`)this.word+=`"`,this.state=le;else if(he.test(e))this.word=this.word.trim(),this.afterItem(e);else throw Error(`havn't handled "`+e+`" in afterquote yet, index `+this.place)},O.prototype.afterItem=function(e){e===`,`?(this.word!==null&&this.currentObject.push(this.word),this.word=null,this.state=oe):e===`]`&&(this.level--,this.word!==null&&(this.currentObject.push(this.word),this.word=null),this.state=oe,this.currentObject=this.stack.pop(),this.currentObject||(this.state=de))},O.prototype.number=function(e){if(ge.test(e))this.word+=e;else if(he.test(e))this.word=parseFloat(this.word),this.afterItem(e);else throw Error(`havn't handled "`+e+`" in number yet, index `+this.place)},O.prototype.quoted=function(e){e===`"`?this.state=ue:this.word+=e},O.prototype.keyword=function(e){if(me.test(e))this.word+=e;else if(e===`[`){var t=[];t.push(this.word),this.level++,this.root===null?this.root=t:this.currentObject.push(t),this.stack.push(this.currentObject),this.currentObject=t,this.state=oe}else if(he.test(e))this.afterItem(e);else throw Error(`havn't handled "`+e+`" in keyword yet, index `+this.place)},O.prototype.neutral=function(e){if(pe.test(e))this.word=e,this.state=se;else if(e===`"`)this.word=``,this.state=le;else if(ge.test(e))this.word=e,this.state=ce;else if(he.test(e))this.afterItem(e);else throw Error(`havn't handled "`+e+`" in neutral yet, index `+this.place)},O.prototype.output=function(){for(;this.place<this.text.length;)this.readCharicter();if(this.state===de)return this.root;throw Error(`unable to parse string "`+this.text+`". State is `+this.state)}})))()}function ve(e,t,n){Array.isArray(t)&&(n.unshift(t),t=null);var r=t?{}:e,i=n.reduce(function(e,t){return ye(t,e),e},r);t&&(e[t]=i)}function ye(e,t){if(!Array.isArray(e))t[e]=!0;else{var n=e.shift();if(n===`PARAMETER`&&(n=e.shift()),e.length===1){if(Array.isArray(e[0])){t[n]={},ye(e[0],t[n]);return}t[n]=e[0]}else if(!e.length)t[n]=!0;else if(n===`TOWGS84`)t[n]=e;else if(n===`AXIS`)n in t||(t[n]=[]),t[n].push(e);else{Array.isArray(n)||(t[n]={});var r;switch(n){case`UNIT`:case`PRIMEM`:case`VERT_DATUM`:t[n]={name:e[0].toLowerCase(),convert:e[1]},e.length===3&&ye(e[2],t[n]);return;case`SPHEROID`:case`ELLIPSOID`:t[n]={name:e[0],a:e[1],rf:e[2]},e.length===4&&ye(e[3],t[n]);return;case`EDATUM`:case`ENGINEERINGDATUM`:case`LOCAL_DATUM`:case`DATUM`:case`VERT_CS`:case`VERTCRS`:case`VERTICALCRS`:e[0]=[`name`,e[0]],ve(t,n,e);return;case`COMPD_CS`:case`COMPOUNDCRS`:case`FITTED_CS`:case`PROJECTEDCRS`:case`PROJCRS`:case`GEOGCS`:case`GEOCCS`:case`PROJCS`:case`LOCAL_CS`:case`GEODCRS`:case`GEODETICCRS`:case`GEODETICDATUM`:case`ENGCRS`:case`ENGINEERINGCRS`:e[0]=[`name`,e[0]],ve(t,n,e),t[n].type=n;return;default:for(r=-1;++r<e.length;)if(!Array.isArray(e[r]))return ye(e,t[n]);return ve(t,n,e)}}}}function k(e){return e*xe}function be(e){let t=(e.projName||``).toLowerCase().replace(/_/g,` `);e.long0===void 0&&e.longc!==void 0&&(e.long0=e.longc),!e.lat_ts&&e.lat1&&(t===`stereographic south pole`||t===`polar stereographic (variant b)`)?(e.lat0=k(e.lat1>0?90:-90),e.lat_ts=e.lat1,delete e.lat1):!e.lat_ts&&e.lat0&&(t===`polar stereographic`||t===`polar stereographic (variant a)`)&&(e.lat_ts=e.lat0,e.lat0=k(e.lat0>0?90:-90),delete e.lat1)}var xe;function Se(){return(Se=e((()=>{xe=.017453292519943295})))()}function Ce(e){let t={units:null,to_meter:void 0};return typeof e==`string`?(t.units=e.toLowerCase(),t.units===`metre`&&(t.units=`meter`),t.units===`meter`&&(t.to_meter=1)):e&&e.name&&(t.units=e.name.toLowerCase(),t.units===`metre`&&(t.units=`meter`),t.to_meter=e.conversion_factor),t}function we(e){return typeof e==`object`?e.value*e.unit.conversion_factor:e}function Te(e,t){e.ellipsoid.radius?(t.a=e.ellipsoid.radius,t.rf=0):(t.a=we(e.ellipsoid.semi_major_axis),e.ellipsoid.inverse_flattening===void 0?e.ellipsoid.semi_major_axis!==void 0&&e.ellipsoid.semi_minor_axis!==void 0&&(t.rf=t.a/(t.a-we(e.ellipsoid.semi_minor_axis))):t.rf=e.ellipsoid.inverse_flattening)}function Ee(e,t={}){return!e||typeof e!=`object`?e:e.type===`BoundCRS`?(Ee(e.source_crs,t),e.transformation&&(e.transformation.method&&e.transformation.method.name===`NTv2`?t.nadgrids=e.transformation.parameters[0].value:t.datum_params=e.transformation.parameters.map(e=>e.value)),t):(Object.keys(e).forEach(n=>{let r=e[n];if(r!==null)switch(n){case`name`:if(t.srsCode)break;t.name=r,t.srsCode=r;break;case`type`:r===`GeographicCRS`?t.projName=`longlat`:r===`GeodeticCRS`?t.projName=e.coordinate_system&&e.coordinate_system.subtype===`Cartesian`?`geocent`:`longlat`:r===`ProjectedCRS`&&e.conversion&&e.conversion.method&&(t.projName=e.conversion.method.name);break;case`datum`:case`datum_ensemble`:r.ellipsoid&&(t.ellps=r.ellipsoid.name,Te(r,t)),r.prime_meridian&&(t.from_greenwich=r.prime_meridian.longitude*Math.PI/180);break;case`ellipsoid`:t.ellps=r.name,Te(r,t);break;case`prime_meridian`:t.long0=(r.longitude||0)*Math.PI/180;break;case`coordinate_system`:if(r.axis){let e={east:`e`,north:`n`,west:`w`,south:`s`,up:`u`,down:`d`,geocentricx:`e`,geocentricy:`n`,geocentricz:`u`},n=r.axis.map(t=>e[t.direction.toLowerCase()]);if(n.every(Boolean)&&(t.axis=n.join(``),t.axis.length===2&&(t.axis+=`u`)),r.unit){let{units:e,to_meter:n}=Ce(r.unit);t.units=e,t.to_meter=n}else if(r.axis[0]&&r.axis[0].unit){let{units:e,to_meter:n}=Ce(r.axis[0].unit);t.units=e,t.to_meter=n}}break;case`id`:r.authority&&r.code&&(t.title=r.authority+`:`+r.code);break;case`conversion`:r.method&&r.method.name&&(t.projName=r.method.name),r.parameters&&r.parameters.forEach(e=>{let n=e.name.toLowerCase().replace(/\s+/g,`_`),r=e.value;t[n]=e.unit&&e.unit.conversion_factor?r*e.unit.conversion_factor:e.unit===`degree`?r*Math.PI/180:r});break;case`unit`:r.name&&(t.units=r.name.toLowerCase(),t.units===`metre`&&(t.units=`meter`)),r.conversion_factor&&(t.to_meter=r.conversion_factor);break;case`base_crs`:Ee(r,t),t.datumCode=r.id?r.id.authority+`_`+r.id.code:r.name}}),t.latitude_of_false_origin!==void 0&&(t.lat0=t.latitude_of_false_origin),t.longitude_of_false_origin!==void 0&&(t.long0=t.longitude_of_false_origin),t.latitude_of_standard_parallel!==void 0&&(t.lat0=t.latitude_of_standard_parallel,t.lat1=t.latitude_of_standard_parallel),t.latitude_of_1st_standard_parallel!==void 0&&(t.lat1=t.latitude_of_1st_standard_parallel),t.latitude_of_2nd_standard_parallel!==void 0&&(t.lat2=t.latitude_of_2nd_standard_parallel),t.latitude_of_projection_centre!==void 0&&(t.lat0=t.latitude_of_projection_centre),t.longitude_of_projection_centre!==void 0&&(t.longc=t.longitude_of_projection_centre),t.easting_at_false_origin!==void 0&&(t.x0=t.easting_at_false_origin),t.northing_at_false_origin!==void 0&&(t.y0=t.northing_at_false_origin),t.latitude_of_natural_origin!==void 0&&(t.lat0=t.latitude_of_natural_origin),t.longitude_of_natural_origin!==void 0&&(t.long0=t.longitude_of_natural_origin),t.longitude_of_origin!==void 0&&(t.long0=t.longitude_of_origin),t.false_easting!==void 0&&(t.x0=t.false_easting),t.easting_at_projection_centre&&(t.x0=t.easting_at_projection_centre),t.false_northing!==void 0&&(t.y0=t.false_northing),t.northing_at_projection_centre&&(t.y0=t.northing_at_projection_centre),t.standard_parallel_1!==void 0&&(t.lat1=t.standard_parallel_1),t.standard_parallel_2!==void 0&&(t.lat2=t.standard_parallel_2),t.scale_factor_at_natural_origin!==void 0&&(t.k0=t.scale_factor_at_natural_origin),t.scale_factor_at_projection_centre!==void 0&&(t.k0=t.scale_factor_at_projection_centre),t.scale_factor_on_pseudo_standard_parallel!==void 0&&(t.k0=t.scale_factor_on_pseudo_standard_parallel),t.azimuth!==void 0&&(t.alpha=t.azimuth),t.azimuth_at_projection_centre!==void 0&&(t.alpha=t.azimuth_at_projection_centre),t.angle_from_rectified_to_skew_grid&&(t.rectified_grid_angle=t.angle_from_rectified_to_skew_grid),be(t),t)}function De(){return(De=e((()=>{Se()})))()}function Oe(e,t){var n=t[0],r=t[1];!(n in e)&&r in e&&(e[n]=e[r],t.length===3&&(e[n]=t[2](e[n])))}function ke(e){for(var t=Object.keys(e),n=0,r=t.length;n<r;++n){var i=t[n];Me.indexOf(i)!==-1&&Ae(e[i]),typeof e[i]==`object`&&ke(e[i])}}function Ae(e){if(e.AUTHORITY){var t=Object.keys(e.AUTHORITY)[0];t&&t in e.AUTHORITY&&(e.title=t+`:`+e.AUTHORITY[t])}if(e.type===`GEOGCS`?e.projName=`longlat`:e.type===`LOCAL_CS`?(e.projName=`identity`,e.local=!0):e.projName=typeof e.PROJECTION==`object`?Object.keys(e.PROJECTION)[0]:e.PROJECTION,e.AXIS){for(var n=``,r=0,i=e.AXIS.length;r<i;++r){var a=[e.AXIS[r][0].toLowerCase(),e.AXIS[r][1].toLowerCase()];a[0].indexOf(`north`)!==-1||(a[0]===`y`||a[0]===`lat`)&&a[1]===`north`?n+=`n`:a[0].indexOf(`south`)!==-1||(a[0]===`y`||a[0]===`lat`)&&a[1]===`south`?n+=`s`:a[0].indexOf(`east`)!==-1||(a[0]===`x`||a[0]===`lon`)&&a[1]===`east`?n+=`e`:(a[0].indexOf(`west`)!==-1||(a[0]===`x`||a[0]===`lon`)&&a[1]===`west`)&&(n+=`w`)}n.length===2&&(n+=`u`),n.length===3&&(e.axis=n)}e.UNIT&&(e.units=e.UNIT.name.toLowerCase(),e.units===`metre`&&(e.units=`meter`),e.UNIT.convert&&(e.type===`GEOGCS`?e.DATUM&&e.DATUM.SPHEROID&&(e.to_meter=e.UNIT.convert*e.DATUM.SPHEROID.a):e.to_meter=e.UNIT.convert));var o=e.GEOGCS;e.type===`GEOGCS`&&(o=e),o&&(o.PRIMEM&&o.PRIMEM.convert&&(e.from_greenwich=k(o.PRIMEM.convert)),e.datumCode=o.DATUM?o.DATUM.name.toLowerCase():o.name.toLowerCase(),e.datumCode.slice(0,2)===`d_`&&(e.datumCode=e.datumCode.slice(2)),e.datumCode===`new_zealand_1949`&&(e.datumCode=`nzgd49`),(e.datumCode===`wgs_1984`||e.datumCode===`world_geodetic_system_1984`)&&(e.PROJECTION===`Mercator_Auxiliary_Sphere`&&(e.sphere=!0),e.datumCode=`wgs84`),e.datumCode===`belge_1972`&&(e.datumCode=`rnb72`),o.DATUM&&o.DATUM.SPHEROID&&(e.ellps=o.DATUM.SPHEROID.name.replace(`_19`,``).replace(/[Cc]larke\_18/,`clrk`),e.ellps.toLowerCase().slice(0,13)===`international`&&(e.ellps=`intl`),e.a=o.DATUM.SPHEROID.a,e.rf=parseFloat(o.DATUM.SPHEROID.rf)),o.DATUM&&o.DATUM.TOWGS84&&(e.datum_params=o.DATUM.TOWGS84),~e.datumCode.indexOf(`osgb_1936`)&&(e.datumCode=`osgb36`),~e.datumCode.indexOf(`osni_1952`)&&(e.datumCode=`osni52`),(~e.datumCode.indexOf(`tm65`)||~e.datumCode.indexOf(`geodetic_datum_of_1965`))&&(e.datumCode=`ire65`),e.datumCode===`ch1903+`&&(e.datumCode=`ch1903`),~e.datumCode.indexOf(`israel`)&&(e.datumCode=`isr93`)),e.b&&!isFinite(e.b)&&(e.b=e.a),e.rectified_grid_angle&&=k(e.rectified_grid_angle);function s(t){return t*(e.to_meter||1)}[[`standard_parallel_1`,`Standard_Parallel_1`],[`standard_parallel_1`,`Latitude of 1st standard parallel`],[`standard_parallel_2`,`Standard_Parallel_2`],[`standard_parallel_2`,`Latitude of 2nd standard parallel`],[`false_easting`,`False_Easting`],[`false_easting`,`False easting`],[`false-easting`,`Easting at false origin`],[`false_northing`,`False_Northing`],[`false_northing`,`False northing`],[`false_northing`,`Northing at false origin`],[`central_meridian`,`Central_Meridian`],[`central_meridian`,`Longitude of natural origin`],[`central_meridian`,`Longitude of false origin`],[`latitude_of_origin`,`Latitude_Of_Origin`],[`latitude_of_origin`,`Central_Parallel`],[`latitude_of_origin`,`Latitude of natural origin`],[`latitude_of_origin`,`Latitude of false origin`],[`scale_factor`,`Scale_Factor`],[`k0`,`scale_factor`],[`latitude_of_center`,`Latitude_Of_Center`],[`latitude_of_center`,`Latitude_of_center`],[`lat0`,`latitude_of_center`,k],[`longitude_of_center`,`Longitude_Of_Center`],[`longitude_of_center`,`Longitude_of_center`],[`longc`,`longitude_of_center`,k],[`x0`,`false_easting`,s],[`y0`,`false_northing`,s],[`long0`,`central_meridian`,k],[`lat0`,`latitude_of_origin`,k],[`lat0`,`standard_parallel_1`,k],[`lat1`,`standard_parallel_1`,k],[`lat2`,`standard_parallel_2`,k],[`azimuth`,`Azimuth`],[`alpha`,`azimuth`,k],[`srsCode`,`name`]].forEach(function(t){return Oe(e,t)}),be(e)}function je(e){if(typeof e==`object`)return Ee(e);let t=re(e);var n=ae(e);if(t===`WKT2`)return Ee(te(n));var r=n[0],i={};return ye(n,i),ke(i),i[r]}var Me;function Ne(){return(Ne=e((()=>{ne(),_e(),De(),Se(),Me=[`PROJECTEDCRS`,`PROJCRS`,`GEOGCS`,`GEOCCS`,`PROJCS`,`LOCAL_CS`,`GEODCRS`,`GEODETICCRS`,`GEODETICDATUM`,`ENGCRS`,`ENGINEERINGCRS`]})))()}function A(e){var t=this;if(arguments.length===2){var n=arguments[1];typeof n==`string`?A[e]=n.charAt(0)===`+`?T(arguments[1]):je(arguments[1]):n&&typeof n==`object`&&!(`projName`in n)?A[e]=je(arguments[1]):(A[e]=n,n||delete A[e])}else if(arguments.length===1){if(Array.isArray(e))return e.map(function(e){return Array.isArray(e)?A.apply(t,e):A(e)});if(typeof e==`string`){if(e in A)return A[e]}else`EPSG`in e?A[`EPSG:`+e.EPSG]=e:`ESRI`in e?A[`ESRI:`+e.ESRI]=e:`IAU2000`in e?A[`IAU2000:`+e.IAU2000]=e:console.log(e);return}}function Pe(){return(Pe=e((()=>{E(),Ne(),n(A)})))()}function Fe(e){return typeof e==`string`}function Ie(e){return e in A}function Le(e){return e.indexOf(`+`)!==0&&e.indexOf(`[`)!==-1||typeof e==`object`&&!(`srsCode`in e)}function Re(e){if(e.title)return e.title.toLowerCase().indexOf(`epsg:`)===0&&He.indexOf(e.title.substr(5))>-1;var t=S(e,`authority`);if(t){var n=S(t,`epsg`);return n&&He.indexOf(n)>-1}}function ze(e){var t=S(e,`extension`);if(t)return S(t,`proj4`)}function Be(e){return e[0]===`+`}function Ve(e){let t;if(Fe(e)){if(Ie(e))t=A[e];else if(Le(e)){t=je(e);var n=ze(t);n&&(t=T(n))}else Be(e)&&(t=T(e))}else t=`projName`in e?e:je(e);return t&&Re(t)?A[`EPSG:3857`]:t}var He;function Ue(){return(Ue=e((()=>{Pe(),Ne(),E(),w(),He=[`3857`,`900913`,`3785`,`102113`]})))()}function We(e,t){e||={};var n,r;if(!t)return e;for(r in t)n=t[r],n!==void 0&&(e[r]=n);return e}function j(e,t,n){var r=e*t;return n/Math.sqrt(1-r*r)}function Ge(e){return e<0?-1:1}function M(e,t){return t||Math.abs(e)<=3.14159265359?e:e-Ge(e)*h}function N(){return(N=e((()=>{_()})))()}function P(e,t,n){var r=e*n,i=.5*e;return r=((1-r)/(1+r))**i,Math.tan(.5*(s-t))/r}function Ke(){return(Ke=e((()=>{_()})))()}function qe(e,t){for(var n=.5*e,r,i,a=s-2*Math.atan(t),o=0;o<=15;o++)if(r=e*Math.sin(a),i=s-2*Math.atan(t*((1-r)/(1+r))**n)-a,a+=i,Math.abs(i)<=1e-10)return a;return-9999}function Je(){return(Je=e((()=>{_()})))()}function Ye(){var e=this.b/this.a;this.es=1-e*e,`x0`in this||(this.x0=0),`y0`in this||(this.y0=0),this.long0=this.long0||0,this.e=Math.sqrt(this.es),this.lat_ts?this.k0=this.sphere?Math.cos(this.lat_ts):j(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||=this.k?this.k:1}function Xe(e){var t=e.x,n=e.y;if(n*57.29577951308232>90&&n*57.29577951308232<-90&&t*57.29577951308232>180&&t*57.29577951308232<-180)return null;var r,i;if(Math.abs(Math.abs(n)-s)<=1e-10)return null;if(this.sphere)r=this.x0+this.a*this.k0*M(t-this.long0,this.over),i=this.y0+this.a*this.k0*Math.log(Math.tan(m+.5*n));else{var a=Math.sin(n),o=P(this.e,n,a);r=this.x0+this.a*this.k0*M(t-this.long0,this.over),i=this.y0-this.a*this.k0*Math.log(o)}return e.x=r,e.y=i,e}function Ze(e){var t=e.x-this.x0,n=e.y-this.y0,r,i;if(this.sphere)i=s-2*Math.atan(Math.exp(-n/(this.a*this.k0)));else{var a=Math.exp(-n/(this.a*this.k0));if(i=qe(this.e,a),i===-9999)return null}return r=M(this.long0+t/(this.a*this.k0),this.over),e.x=r,e.y=i,e}var Qe,$e;function et(){return(et=e((()=>{N(),Ke(),Je(),_(),Qe=[`Mercator`,`Popular Visualisation Pseudo Mercator`,`Mercator_1SP`,`Mercator_Auxiliary_Sphere`,`Mercator_Variant_A`,`merc`],$e={init:Ye,forward:Xe,inverse:Ze,names:Qe}})))()}function tt(){}function nt(e){return e}var rt,it;function at(){return(at=e((()=>{rt=[`longlat`,`identity`,`lonlat`,`latlon`,`latlong`],it={init:tt,forward:nt,inverse:nt,names:rt}})))()}function ot(e,t){var n=dt.length;return e.names?(dt[n]=e,e.names.forEach(function(e){F[e.toLowerCase()]=n}),this):(console.log(t),!0)}function st(e){return e.replace(/[-\(\)\s]+/g,` `).trim().replace(/ /g,`_`)}function ct(e){if(!e)return!1;var t=e.toLowerCase();if(F[t]!==void 0&&dt[F[t]]||(t=st(t),t in F&&dt[F[t]]))return dt[F[t]]}function lt(){ut.forEach(ot)}var ut,F,dt,ft;function pt(){return(pt=e((()=>{et(),at(),ut=[$e,it],F={},dt=[],ft={start:lt,add:ot,get:ct}})))()}var mt;function ht(){return(ht=e((()=>{mt={MERIT:{a:6378137,rf:298.257,ellipseName:`MERIT 1983`},SGS85:{a:6378136,rf:298.257,ellipseName:`Soviet Geodetic System 85`},GRS80:{a:6378137,rf:298.257222101,ellipseName:`GRS 1980(IUGG, 1980)`},IAU76:{a:6378140,rf:298.257,ellipseName:`IAU 1976`},airy:{a:6377563.396,b:6356256.91,ellipseName:`Airy 1830`},APL4:{a:6378137,rf:298.25,ellipseName:`Appl. Physics. 1965`},NWL9D:{a:6378145,rf:298.25,ellipseName:`Naval Weapons Lab., 1965`},mod_airy:{a:6377340.189,b:6356034.446,ellipseName:`Modified Airy`},andrae:{a:6377104.43,rf:300,ellipseName:`Andrae 1876 (Den., Iclnd.)`},aust_SA:{a:6378160,rf:298.25,ellipseName:`Australian Natl & S. Amer. 1969`},GRS67:{a:6378160,rf:298.247167427,ellipseName:`GRS 67(IUGG 1967)`},bessel:{a:6377397.155,rf:299.1528128,ellipseName:`Bessel 1841`},bess_nam:{a:6377483.865,rf:299.1528128,ellipseName:`Bessel 1841 (Namibia)`},clrk66:{a:6378206.4,b:6356583.8,ellipseName:`Clarke 1866`},clrk80:{a:6378249.145,rf:293.4663,ellipseName:`Clarke 1880 mod.`},clrk80ign:{a:6378249.2,b:6356515,rf:293.4660213,ellipseName:`Clarke 1880 (IGN)`},clrk58:{a:6378293.645208759,rf:294.2606763692654,ellipseName:`Clarke 1858`},CPM:{a:6375738.7,rf:334.29,ellipseName:`Comm. des Poids et Mesures 1799`},delmbr:{a:6376428,rf:311.5,ellipseName:`Delambre 1810 (Belgium)`},engelis:{a:6378136.05,rf:298.2566,ellipseName:`Engelis 1985`},evrst30:{a:6377276.345,rf:300.8017,ellipseName:`Everest 1830`},evrst48:{a:6377304.063,rf:300.8017,ellipseName:`Everest 1948`},evrst56:{a:6377301.243,rf:300.8017,ellipseName:`Everest 1956`},evrst69:{a:6377295.664,rf:300.8017,ellipseName:`Everest 1969`},evrstSS:{a:6377298.556,rf:300.8017,ellipseName:`Everest (Sabah & Sarawak)`},fschr60:{a:6378166,rf:298.3,ellipseName:`Fischer (Mercury Datum) 1960`},fschr60m:{a:6378155,rf:298.3,ellipseName:`Fischer 1960`},fschr68:{a:6378150,rf:298.3,ellipseName:`Fischer 1968`},helmert:{a:6378200,rf:298.3,ellipseName:`Helmert 1906`},hough:{a:6378270,rf:297,ellipseName:`Hough`},intl:{a:6378388,rf:297,ellipseName:`International 1909 (Hayford)`},kaula:{a:6378163,rf:298.24,ellipseName:`Kaula 1961`},lerch:{a:6378139,rf:298.257,ellipseName:`Lerch 1979`},mprts:{a:6397300,rf:191,ellipseName:`Maupertius 1738`},new_intl:{a:6378157.5,b:6356772.2,ellipseName:`New International 1967`},plessis:{a:6376523,b:6355863,ellipseName:`Plessis 1817 (France)`},krass:{a:6378245,rf:298.3,ellipseName:`Krassovsky, 1942`},SEasia:{a:6378155,b:6356773.3205,ellipseName:`Southeast Asia`},walbeck:{a:6376896,b:6355834.8467,ellipseName:`Walbeck`},WGS60:{a:6378165,rf:298.3,ellipseName:`WGS 60`},WGS66:{a:6378145,rf:298.25,ellipseName:`WGS 66`},WGS7:{a:6378135,rf:298.26,ellipseName:`WGS 72`},WGS84:{a:6378137,rf:298.257223563,ellipseName:`WGS 84`},sphere:{a:6370997,b:6370997,ellipseName:`Normal Sphere (r=6370997)`}}})))()}function gt(e,t,n,r){var i=e*e,a=t*t,o=(i-a)/i,s=0;r?(e*=1-o*(c+o*(l+o*u)),i=e*e,o=0):s=Math.sqrt(o);var d=(i-a)/a;return{es:o,e:s,ep2:d}}function _t(e,t,n,r,i){if(!e){var a=S(mt,r);a||=vt,e=a.a,t=a.b,n=a.rf}return n&&!t&&(t=(1-1/n)*e),(n===0||Math.abs(e-t)<1e-10)&&(i=!0,t=e),{a:e,b:t,rf:n,sphere:i}}var vt;function yt(){return(yt=e((()=>{_(),ht(),w(),vt=mt.WGS84})))()}var bt,xt;function St(){return(St=e((()=>{for(var e in bt={wgs84:{towgs84:`0,0,0`,ellipse:`WGS84`,datumName:`WGS84`},ch1903:{towgs84:`674.374,15.056,405.346`,ellipse:`bessel`,datumName:`swiss`},ggrs87:{towgs84:`-199.87,74.79,246.62`,ellipse:`GRS80`,datumName:`Greek_Geodetic_Reference_System_1987`},nad83:{towgs84:`0,0,0`,ellipse:`GRS80`,datumName:`North_American_Datum_1983`},nad27:{nadgrids:`@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat`,ellipse:`clrk66`,datumName:`North_American_Datum_1927`},potsdam:{towgs84:`598.1,73.7,418.2,0.202,0.045,-2.455,6.7`,ellipse:`bessel`,datumName:`Potsdam Rauenberg 1950 DHDN`},carthage:{towgs84:`-263.0,6.0,431.0`,ellipse:`clrk80ign`,datumName:`Carthage 1934 Tunisia`},hermannskogel:{towgs84:`577.326,90.129,463.919,5.137,1.474,5.297,2.4232`,ellipse:`bessel`,datumName:`Hermannskogel`},mgi:{towgs84:`577.326,90.129,463.919,5.137,1.474,5.297,2.4232`,ellipse:`bessel`,datumName:`Militar-Geographische Institut`},osni52:{towgs84:`482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15`,ellipse:`airy`,datumName:`Irish National`},ire65:{towgs84:`482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15`,ellipse:`mod_airy`,datumName:`Ireland 1965`},rassadiran:{towgs84:`-133.63,-157.5,-158.62`,ellipse:`intl`,datumName:`Rassadiran`},nzgd49:{towgs84:`59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993`,ellipse:`intl`,datumName:`New Zealand Geodetic Datum 1949`},osgb36:{towgs84:`446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894`,ellipse:`airy`,datumName:`Ordnance Survey of Great Britain 1936`},s_jtsk:{towgs84:`589,76,480`,ellipse:`bessel`,datumName:`S-JTSK (Ferro)`},beduaram:{towgs84:`-106,-87,188`,ellipse:`clrk80`,datumName:`Beduaram`},gunung_segara:{towgs84:`-403,684,41`,ellipse:`bessel`,datumName:`Gunung Segara Jakarta`},rnb72:{towgs84:`106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1`,ellipse:`intl`,datumName:`Reseau National Belge 1972`},EPSG_5451:{towgs84:`6.41,-49.05,-11.28,1.5657,0.5242,6.9718,-5.7649`},IGNF_LURESG:{towgs84:`-192.986,13.673,-39.309,-0.4099,-2.9332,2.6881,0.43`},EPSG_4614:{towgs84:`-119.4248,-303.65872,-11.00061,1.164298,0.174458,1.096259,3.657065`},EPSG_4615:{towgs84:`-494.088,-312.129,279.877,-1.423,-1.013,1.59,-0.748`},ESRI_37241:{towgs84:`-76.822,257.457,-12.817,2.136,-0.033,-2.392,-0.031`},ESRI_37249:{towgs84:`-440.296,58.548,296.265,1.128,10.202,4.559,-0.438`},ESRI_37245:{towgs84:`-511.151,-181.269,139.609,1.05,2.703,1.798,3.071`},EPSG_4178:{towgs84:`24.9,-126.4,-93.2,-0.063,-0.247,-0.041,1.01`},EPSG_4622:{towgs84:`-472.29,-5.63,-304.12,0.4362,-0.8374,0.2563,1.8984`},EPSG_4625:{towgs84:`126.93,547.94,130.41,-2.7867,5.1612,-0.8584,13.8227`},EPSG_5252:{towgs84:`0.023,0.036,-0.068,0.00176,0.00912,-0.01136,0.00439`},EPSG_4314:{towgs84:`597.1,71.4,412.1,0.894,0.068,-1.563,7.58`},EPSG_4282:{towgs84:`-178.3,-316.7,-131.5,5.278,6.077,10.979,19.166`},EPSG_4231:{towgs84:`-83.11,-97.38,-117.22,0.005693,-0.044698,0.044285,0.1218`},EPSG_4274:{towgs84:`-230.994,102.591,25.199,0.633,-0.239,0.9,1.95`},EPSG_4134:{towgs84:`-180.624,-225.516,173.919,-0.81,-1.898,8.336,16.71006`},EPSG_4254:{towgs84:`18.38,192.45,96.82,0.056,-0.142,-0.2,-0.0013`},EPSG_4159:{towgs84:`-194.513,-63.978,-25.759,-3.4027,3.756,-3.352,-0.9175`},EPSG_4687:{towgs84:`0.072,-0.507,-0.245,0.0183,-0.0003,0.007,-0.0093`},EPSG_4227:{towgs84:`-83.58,-397.54,458.78,-17.595,-2.847,4.256,3.225`},EPSG_4746:{towgs84:`599.4,72.4,419.2,-0.062,-0.022,-2.723,6.46`},EPSG_4745:{towgs84:`612.4,77,440.2,-0.054,0.057,-2.797,2.55`},EPSG_6311:{towgs84:`8.846,-4.394,-1.122,-0.00237,-0.146528,0.130428,0.783926`},EPSG_4289:{towgs84:`565.7381,50.4018,465.2904,-0.395026,0.330772,-1.876073,4.07244`},EPSG_4230:{towgs84:`-68.863,-134.888,-111.49,-0.53,-0.14,0.57,-3.4`},EPSG_4154:{towgs84:`-123.02,-158.95,-168.47`},EPSG_4156:{towgs84:`570.8,85.7,462.8,4.998,1.587,5.261,3.56`},EPSG_4299:{towgs84:`482.5,-130.6,564.6,-1.042,-0.214,-0.631,8.15`},EPSG_4179:{towgs84:`33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84`},EPSG_4313:{towgs84:`-106.8686,52.2978,-103.7239,0.3366,-0.457,1.8422,-1.2747`},EPSG_4194:{towgs84:`163.511,127.533,-159.789`},EPSG_4195:{towgs84:`105,326,-102.5`},EPSG_4196:{towgs84:`-45,417,-3.5`},EPSG_4611:{towgs84:`-162.619,-276.959,-161.764,0.067753,-2.243648,-1.158828,-1.094246`},EPSG_4633:{towgs84:`137.092,131.66,91.475,-1.9436,-11.5993,-4.3321,-7.4824`},EPSG_4641:{towgs84:`-408.809,366.856,-412.987,1.8842,-0.5308,2.1655,-121.0993`},EPSG_4643:{towgs84:`-480.26,-438.32,-643.429,16.3119,20.1721,-4.0349,-111.7002`},EPSG_4300:{towgs84:`482.5,-130.6,564.6,-1.042,-0.214,-0.631,8.15`},EPSG_4188:{towgs84:`482.5,-130.6,564.6,-1.042,-0.214,-0.631,8.15`},EPSG_4660:{towgs84:`982.6087,552.753,-540.873,6.681627,-31.611492,-19.848161,16.805`},EPSG_4662:{towgs84:`97.295,-263.247,310.882,-1.5999,0.8386,3.1409,13.3259`},EPSG_3906:{towgs84:`577.88891,165.22205,391.18289,4.9145,-0.94729,-13.05098,7.78664`},EPSG_4307:{towgs84:`-209.3622,-87.8162,404.6198,0.0046,3.4784,0.5805,-1.4547`},EPSG_6892:{towgs84:`-76.269,-16.683,68.562,-6.275,10.536,-4.286,-13.686`},EPSG_4690:{towgs84:`221.597,152.441,176.523,2.403,1.3893,0.884,11.4648`},EPSG_4691:{towgs84:`218.769,150.75,176.75,3.5231,2.0037,1.288,10.9817`},EPSG_4629:{towgs84:`72.51,345.411,79.241,-1.5862,-0.8826,-0.5495,1.3653`},EPSG_4630:{towgs84:`165.804,216.213,180.26,-0.6251,-0.4515,-0.0721,7.4111`},EPSG_4692:{towgs84:`217.109,86.452,23.711,0.0183,-0.0003,0.007,-0.0093`},EPSG_9333:{towgs84:`0,0,0,-0.008393,0.000749,-0.010276,0`},EPSG_9059:{towgs84:`0,0,0`},EPSG_4312:{towgs84:`601.705,84.263,485.227,4.7354,1.3145,5.393,-2.3887`},EPSG_4123:{towgs84:`-96.062,-82.428,-121.753,4.801,0.345,-1.376,1.496`},EPSG_4309:{towgs84:`-124.45,183.74,44.64,-0.4384,0.5446,-0.9706,-2.1365`},ESRI_104106:{towgs84:`-283.088,-70.693,117.445,-1.157,0.059,-0.652,-4.058`},EPSG_4281:{towgs84:`-219.247,-73.802,269.529`},EPSG_4322:{towgs84:`0,0,4.5`},EPSG_4324:{towgs84:`0,0,1.9`},EPSG_4284:{towgs84:`43.822,-108.842,-119.585,1.455,-0.761,0.737,0.549`},EPSG_4277:{towgs84:`446.448,-125.157,542.06,0.15,0.247,0.842,-20.489`},EPSG_4207:{towgs84:`-282.1,-72.2,120,-1.529,0.145,-0.89,-4.46`},EPSG_4688:{towgs84:`347.175,1077.618,2623.677,33.9058,-70.6776,9.4013,186.0647`},EPSG_4689:{towgs84:`410.793,54.542,80.501,-2.5596,-2.3517,-0.6594,17.3218`},EPSG_4720:{towgs84:`0,0,4.5`},EPSG_4273:{towgs84:`278.3,93,474.5,7.889,0.05,-6.61,6.21`},EPSG_4240:{towgs84:`204.64,834.74,293.8`},EPSG_4817:{towgs84:`278.3,93,474.5,7.889,0.05,-6.61,6.21`},ESRI_104131:{towgs84:`426.62,142.62,460.09,4.98,4.49,-12.42,-17.1`},EPSG_4265:{towgs84:`-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68`},EPSG_4263:{towgs84:`-111.92,-87.85,114.5,1.875,0.202,0.219,0.032`},EPSG_4298:{towgs84:`-689.5937,623.84046,-65.93566,-0.02331,1.17094,-0.80054,5.88536`},EPSG_4270:{towgs84:`-253.4392,-148.452,386.5267,0.15605,0.43,-0.1013,-0.0424`},EPSG_4229:{towgs84:`-121.8,98.1,-10.7`},EPSG_4220:{towgs84:`-55.5,-348,-229.2`},EPSG_4214:{towgs84:`12.646,-155.176,-80.863`},EPSG_4232:{towgs84:`-345,3,223`},EPSG_4238:{towgs84:`-1.977,-13.06,-9.993,0.364,0.254,0.689,-1.037`},EPSG_4168:{towgs84:`-170,33,326`},EPSG_4131:{towgs84:`199,931,318.9`},EPSG_4152:{towgs84:`-0.9102,2.0141,0.5602,0.029039,0.010065,0.010101,0`},EPSG_5228:{towgs84:`572.213,85.334,461.94,4.9732,1.529,5.2484,3.5378`},EPSG_8351:{towgs84:`485.021,169.465,483.839,7.786342,4.397554,4.102655,0`},EPSG_4683:{towgs84:`-127.62,-67.24,-47.04,-3.068,4.903,1.578,-1.06`},EPSG_4133:{towgs84:`0,0,0`},EPSG_7373:{towgs84:`0.819,-0.5762,-1.6446,-0.00378,-0.03317,0.00318,0.0693`},EPSG_9075:{towgs84:`-0.9102,2.0141,0.5602,0.029039,0.010065,0.010101,0`},EPSG_9072:{towgs84:`-0.9102,2.0141,0.5602,0.029039,0.010065,0.010101,0`},EPSG_9294:{towgs84:`1.16835,-1.42001,-2.24431,-0.00822,-0.05508,0.01818,0.23388`},EPSG_4212:{towgs84:`-267.434,173.496,181.814,-13.4704,8.7154,7.3926,14.7492`},EPSG_4191:{towgs84:`-44.183,-0.58,-38.489,2.3867,2.7072,-3.5196,-8.2703`},EPSG_4237:{towgs84:`52.684,-71.194,-13.975,-0.312,-0.1063,-0.3729,1.0191`},EPSG_4740:{towgs84:`-1.08,-0.27,-0.9`},EPSG_4124:{towgs84:`419.3836,99.3335,591.3451,0.850389,1.817277,-7.862238,-0.99496`},EPSG_5681:{towgs84:`584.9636,107.7175,413.8067,1.1155,0.2824,-3.1384,7.9922`},EPSG_4141:{towgs84:`23.772,17.49,17.859,-0.3132,-1.85274,1.67299,-5.4262`},EPSG_4204:{towgs84:`-85.645,-273.077,-79.708,2.289,-1.421,2.532,3.194`},EPSG_4319:{towgs84:`226.702,-193.337,-35.371,-2.229,-4.391,9.238,0.9798`},EPSG_4200:{towgs84:`24.82,-131.21,-82.66`},EPSG_4130:{towgs84:`0,0,0`},EPSG_4127:{towgs84:`-82.875,-57.097,-156.768,-2.158,1.524,-0.982,-0.359`},EPSG_4149:{towgs84:`674.374,15.056,405.346`},EPSG_4617:{towgs84:`-0.991,1.9072,0.5129,0.02579,0.00965,0.01166,0`},EPSG_4663:{towgs84:`-210.502,-66.902,-48.476,2.094,-15.067,-5.817,0.485`},EPSG_4664:{towgs84:`-211.939,137.626,58.3,-0.089,0.251,0.079,0.384`},EPSG_4665:{towgs84:`-105.854,165.589,-38.312,-0.003,-0.026,0.024,-0.048`},EPSG_4666:{towgs84:`631.392,-66.551,481.442,1.09,-4.445,-4.487,-4.43`},EPSG_4756:{towgs84:`-192.873,-39.382,-111.202,-0.00205,-0.0005,0.00335,0.0188`},EPSG_4723:{towgs84:`-179.483,-69.379,-27.584,-7.862,8.163,6.042,-13.925`},EPSG_4726:{towgs84:`8.853,-52.644,180.304,-0.393,-2.323,2.96,-24.081`},EPSG_4267:{towgs84:`-8.0,160.0,176.0`},EPSG_5365:{towgs84:`-0.16959,0.35312,0.51846,0.03385,-0.16325,0.03446,0.03693`},EPSG_4218:{towgs84:`304.5,306.5,-318.1`},EPSG_4242:{towgs84:`-33.722,153.789,94.959,-8.581,-4.478,4.54,8.95`},EPSG_4216:{towgs84:`-292.295,248.758,429.447,4.9971,2.99,6.6906,1.0289`},ESRI_104105:{towgs84:`631.392,-66.551,481.442,1.09,-4.445,-4.487,-4.43`},ESRI_104129:{towgs84:`0,0,0`},EPSG_4673:{towgs84:`174.05,-25.49,112.57`},EPSG_4202:{towgs84:`-124,-60,154`},EPSG_4203:{towgs84:`-117.763,-51.51,139.061,0.292,0.443,0.277,-0.191`},EPSG_3819:{towgs84:`595.48,121.69,515.35,4.115,-2.9383,0.853,-3.408`},EPSG_8694:{towgs84:`-93.799,-132.737,-219.073,-1.844,0.648,-6.37,-0.169`},EPSG_4145:{towgs84:`275.57,676.78,229.6`},EPSG_4283:{towgs84:`0.06155,-0.01087,-0.04019,0.039492,0.032722,0.032898,-0.009994`},EPSG_4317:{towgs84:`2.3287,-147.0425,-92.0802,-0.309248,0.324822,0.497299,5.689063`},EPSG_4272:{towgs84:`59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993`},EPSG_4248:{towgs84:`-307.7,265.3,-363.5`},EPSG_5561:{towgs84:`24,-121,-76`},EPSG_5233:{towgs84:`-0.293,766.95,87.713,0.195704,1.695068,3.473016,-0.039338`},ESRI_104130:{towgs84:`-86,-98,-119`},ESRI_104102:{towgs84:`682,-203,480`},ESRI_37207:{towgs84:`7,-10,-26`},EPSG_4675:{towgs84:`59.935,118.4,-10.871`},ESRI_104109:{towgs84:`-89.121,-348.182,260.871`},ESRI_104112:{towgs84:`-185.583,-230.096,281.361`},ESRI_104113:{towgs84:`25.1,-275.6,222.6`},IGNF_WGS72G:{towgs84:`0,12,6`},IGNF_NTFG:{towgs84:`-168,-60,320`},IGNF_EFATE57G:{towgs84:`-127,-769,472`},IGNF_PGP50G:{towgs84:`324.8,153.6,172.1`},IGNF_REUN47G:{towgs84:`94,-948,-1262`},IGNF_CSG67G:{towgs84:`-186,230,110`},IGNF_GUAD48G:{towgs84:`-467,-16,-300`},IGNF_TAHI51G:{towgs84:`162,117,154`},IGNF_TAHAAG:{towgs84:`65,342,77`},IGNF_NUKU72G:{towgs84:`84,274,65`},IGNF_PETRELS72G:{towgs84:`365,194,166`},IGNF_WALL78G:{towgs84:`253,-133,-127`},IGNF_MAYO50G:{towgs84:`-382,-59,-262`},IGNF_TANNAG:{towgs84:`-139,-967,436`},IGNF_IGN72G:{towgs84:`-13,-348,292`},IGNF_ATIGG:{towgs84:`1118,23,66`},IGNF_FANGA84G:{towgs84:`150.57,158.33,118.32`},IGNF_RUSAT84G:{towgs84:`202.13,174.6,-15.74`},IGNF_KAUE70G:{towgs84:`126.74,300.1,-75.49`},IGNF_MOP90G:{towgs84:`-10.8,-1.8,12.77`},IGNF_MHPF67G:{towgs84:`338.08,212.58,-296.17`},IGNF_TAHI79G:{towgs84:`160.61,116.05,153.69`},IGNF_ANAA92G:{towgs84:`1.5,3.84,4.81`},IGNF_MARQUI72G:{towgs84:`330.91,-13.92,58.56`},IGNF_APAT86G:{towgs84:`143.6,197.82,74.05`},IGNF_TUBU69G:{towgs84:`237.17,171.61,-77.84`},IGNF_STPM50G:{towgs84:`11.363,424.148,373.13`},EPSG_4150:{towgs84:`674.374,15.056,405.346`},EPSG_4754:{towgs84:`-208.4058,-109.8777,-2.5764`},ESRI_104101:{towgs84:`372.87,149.23,585.29`},EPSG_4693:{towgs84:`0,-0.15,0.68`},EPSG_6207:{towgs84:`293.17,726.18,245.36`},EPSG_4153:{towgs84:`-133.63,-157.5,-158.62`},EPSG_4132:{towgs84:`-241.54,-163.64,396.06`},EPSG_4221:{towgs84:`-154.5,150.7,100.4`},EPSG_4266:{towgs84:`-80.7,-132.5,41.1`},EPSG_4193:{towgs84:`-70.9,-151.8,-41.4`},EPSG_5340:{towgs84:`-0.41,0.46,-0.35`},EPSG_4246:{towgs84:`-294.7,-200.1,525.5`},EPSG_4318:{towgs84:`-3.2,-5.7,2.8`},EPSG_4121:{towgs84:`-199.87,74.79,246.62`},EPSG_4223:{towgs84:`-260.1,5.5,432.2`},EPSG_4158:{towgs84:`-0.465,372.095,171.736`},EPSG_4285:{towgs84:`-128.16,-282.42,21.93`},EPSG_4613:{towgs84:`-404.78,685.68,45.47`},EPSG_4607:{towgs84:`195.671,332.517,274.607`},EPSG_4475:{towgs84:`-381.788,-57.501,-256.673`},EPSG_4208:{towgs84:`-157.84,308.54,-146.6`},EPSG_4743:{towgs84:`70.995,-335.916,262.898`},EPSG_4710:{towgs84:`-323.65,551.39,-491.22`},EPSG_7881:{towgs84:`-0.077,0.079,0.086`},EPSG_4682:{towgs84:`283.729,735.942,261.143`},EPSG_4739:{towgs84:`-156,-271,-189`},EPSG_4679:{towgs84:`-80.01,253.26,291.19`},EPSG_4750:{towgs84:`-56.263,16.136,-22.856`},EPSG_4644:{towgs84:`-10.18,-350.43,291.37`},EPSG_4695:{towgs84:`-103.746,-9.614,-255.95`},EPSG_4292:{towgs84:`-355,21,72`},EPSG_4302:{towgs84:`-61.702,284.488,472.052`},EPSG_4143:{towgs84:`-124.76,53,466.79`},EPSG_4606:{towgs84:`-153,153,307`},EPSG_4699:{towgs84:`-770.1,158.4,-498.2`},EPSG_4247:{towgs84:`-273.5,110.6,-357.9`},EPSG_4160:{towgs84:`8.88,184.86,106.69`},EPSG_4161:{towgs84:`-233.43,6.65,173.64`},EPSG_9251:{towgs84:`-9.5,122.9,138.2`},EPSG_9253:{towgs84:`-78.1,101.6,133.3`},EPSG_4297:{towgs84:`-198.383,-240.517,-107.909`},EPSG_4269:{towgs84:`0,0,0`},EPSG_4301:{towgs84:`-147,506,687`},EPSG_4618:{towgs84:`-59,-11,-52`},EPSG_4612:{towgs84:`0,0,0`},EPSG_4678:{towgs84:`44.585,-131.212,-39.544`},EPSG_4250:{towgs84:`-130,29,364`},EPSG_4144:{towgs84:`214,804,268`},EPSG_4147:{towgs84:`-17.51,-108.32,-62.39`},EPSG_4259:{towgs84:`-254.1,-5.36,-100.29`},EPSG_4164:{towgs84:`-76,-138,67`},EPSG_4211:{towgs84:`-378.873,676.002,-46.255`},EPSG_4182:{towgs84:`-422.651,-172.995,84.02`},EPSG_4224:{towgs84:`-143.87,243.37,-33.52`},EPSG_4225:{towgs84:`-205.57,168.77,-4.12`},EPSG_5527:{towgs84:`-67.35,3.88,-38.22`},EPSG_4752:{towgs84:`98,390,-22`},EPSG_4310:{towgs84:`-30,190,89`},EPSG_9248:{towgs84:`-192.26,65.72,132.08`},EPSG_4680:{towgs84:`124.5,-63.5,-281`},EPSG_4701:{towgs84:`-79.9,-158,-168.9`},EPSG_4706:{towgs84:`-146.21,112.63,4.05`},EPSG_4805:{towgs84:`682,-203,480`},EPSG_4201:{towgs84:`-165,-11,206`},EPSG_4210:{towgs84:`-157,-2,-299`},EPSG_4183:{towgs84:`-104,167,-38`},EPSG_4139:{towgs84:`11,72,-101`},EPSG_4668:{towgs84:`-86,-98,-119`},EPSG_4717:{towgs84:`-2,151,181`},EPSG_4732:{towgs84:`102,52,-38`},EPSG_4280:{towgs84:`-377,681,-50`},EPSG_4209:{towgs84:`-138,-105,-289`},EPSG_4261:{towgs84:`31,146,47`},EPSG_4658:{towgs84:`-73,46,-86`},EPSG_4721:{towgs84:`265.025,384.929,-194.046`},EPSG_4222:{towgs84:`-136,-108,-292`},EPSG_4601:{towgs84:`-255,-15,71`},EPSG_4602:{towgs84:`725,685,536`},EPSG_4603:{towgs84:`72,213.7,93`},EPSG_4605:{towgs84:`9,183,236`},EPSG_4621:{towgs84:`137,248,-430`},EPSG_4657:{towgs84:`-28,199,5`},EPSG_4316:{towgs84:`103.25,-100.4,-307.19`},EPSG_4642:{towgs84:`-13,-348,292`},EPSG_4698:{towgs84:`145,-187,103`},EPSG_4192:{towgs84:`-206.1,-174.7,-87.7`},EPSG_4311:{towgs84:`-265,120,-358`},EPSG_4135:{towgs84:`58,-283,-182`},ESRI_104138:{towgs84:`198,-226,-347`},EPSG_4245:{towgs84:`-11,851,5`},EPSG_4142:{towgs84:`-125,53,467`},EPSG_4213:{towgs84:`-106,-87,188`},EPSG_4253:{towgs84:`-133,-77,-51`},EPSG_4129:{towgs84:`-132,-110,-335`},EPSG_4713:{towgs84:`-77,-128,142`},EPSG_4239:{towgs84:`217,823,299`},EPSG_4146:{towgs84:`295,736,257`},EPSG_4155:{towgs84:`-83,37,124`},EPSG_4165:{towgs84:`-173,253,27`},EPSG_4672:{towgs84:`175,-38,113`},EPSG_4236:{towgs84:`-637,-549,-203`},EPSG_4251:{towgs84:`-90,40,88`},EPSG_4271:{towgs84:`-2,374,172`},EPSG_4175:{towgs84:`-88,4,101`},EPSG_4716:{towgs84:`298,-304,-375`},EPSG_4315:{towgs84:`-23,259,-9`},EPSG_4744:{towgs84:`-242.2,-144.9,370.3`},EPSG_4244:{towgs84:`-97,787,86`},EPSG_4293:{towgs84:`616,97,-251`},EPSG_4714:{towgs84:`-127,-769,472`},EPSG_4736:{towgs84:`260,12,-147`},EPSG_6883:{towgs84:`-235,-110,393`},EPSG_6894:{towgs84:`-63,176,185`},EPSG_4205:{towgs84:`-43,-163,45`},EPSG_4256:{towgs84:`41,-220,-134`},EPSG_4262:{towgs84:`639,405,60`},EPSG_4604:{towgs84:`174,359,365`},EPSG_4169:{towgs84:`-115,118,426`},EPSG_4620:{towgs84:`-106,-129,165`},EPSG_4184:{towgs84:`-203,141,53`},EPSG_4616:{towgs84:`-289,-124,60`},EPSG_9403:{towgs84:`-307,-92,127`},EPSG_4684:{towgs84:`-133,-321,50`},EPSG_4708:{towgs84:`-491,-22,435`},EPSG_4707:{towgs84:`114,-116,-333`},EPSG_4709:{towgs84:`145,75,-272`},EPSG_4712:{towgs84:`-205,107,53`},EPSG_4711:{towgs84:`124,-234,-25`},EPSG_4718:{towgs84:`230,-199,-752`},EPSG_4719:{towgs84:`211,147,111`},EPSG_4724:{towgs84:`208,-435,-229`},EPSG_4725:{towgs84:`189,-79,-202`},EPSG_4735:{towgs84:`647,1777,-1124`},EPSG_4722:{towgs84:`-794,119,-298`},EPSG_4728:{towgs84:`-307,-92,127`},EPSG_4734:{towgs84:`-632,438,-609`},EPSG_4727:{towgs84:`912,-58,1227`},EPSG_4729:{towgs84:`185,165,42`},EPSG_4730:{towgs84:`170,42,84`},EPSG_4733:{towgs84:`276,-57,149`},ESRI_37218:{towgs84:`230,-199,-752`},ESRI_37240:{towgs84:`-7,215,225`},ESRI_37221:{towgs84:`252,-209,-751`},ESRI_4305:{towgs84:`-123,-206,219`},ESRI_104139:{towgs84:`-73,-247,227`},EPSG_4748:{towgs84:`51,391,-36`},EPSG_4219:{towgs84:`-384,664,-48`},EPSG_4255:{towgs84:`-333,-222,114`},EPSG_4257:{towgs84:`-587.8,519.75,145.76`},EPSG_4646:{towgs84:`-963,510,-359`},EPSG_6881:{towgs84:`-24,-203,268`},EPSG_6882:{towgs84:`-183,-15,273`},EPSG_4715:{towgs84:`-104,-129,239`},IGNF_RGF93GDD:{towgs84:`0,0,0`},IGNF_RGM04GDD:{towgs84:`0,0,0`},IGNF_RGSPM06GDD:{towgs84:`0,0,0`},IGNF_RGTAAF07GDD:{towgs84:`0,0,0`},IGNF_RGFG95GDD:{towgs84:`0,0,0`},IGNF_RGNCG:{towgs84:`0,0,0`},IGNF_RGPFGDD:{towgs84:`0,0,0`},IGNF_ETRS89G:{towgs84:`0,0,0`},IGNF_RGR92GDD:{towgs84:`0,0,0`},EPSG_4173:{towgs84:`0,0,0`},EPSG_4180:{towgs84:`0,0,0`},EPSG_4619:{towgs84:`0,0,0`},EPSG_4667:{towgs84:`0,0,0`},EPSG_4075:{towgs84:`0,0,0`},EPSG_6706:{towgs84:`0,0,0`},EPSG_7798:{towgs84:`0,0,0`},EPSG_4661:{towgs84:`0,0,0`},EPSG_4669:{towgs84:`0,0,0`},EPSG_8685:{towgs84:`0,0,0`},EPSG_4151:{towgs84:`0,0,0`},EPSG_9702:{towgs84:`0,0,0`},EPSG_4758:{towgs84:`0,0,0`},EPSG_4761:{towgs84:`0,0,0`},EPSG_4765:{towgs84:`0,0,0`},EPSG_8997:{towgs84:`0,0,0`},EPSG_4023:{towgs84:`0,0,0`},EPSG_4670:{towgs84:`0,0,0`},EPSG_4694:{towgs84:`0,0,0`},EPSG_4148:{towgs84:`0,0,0`},EPSG_4163:{towgs84:`0,0,0`},EPSG_4167:{towgs84:`0,0,0`},EPSG_4189:{towgs84:`0,0,0`},EPSG_4190:{towgs84:`0,0,0`},EPSG_4176:{towgs84:`0,0,0`},EPSG_4659:{towgs84:`0,0,0`},EPSG_3824:{towgs84:`0,0,0`},EPSG_3889:{towgs84:`0,0,0`},EPSG_4046:{towgs84:`0,0,0`},EPSG_4081:{towgs84:`0,0,0`},EPSG_4558:{towgs84:`0,0,0`},EPSG_4483:{towgs84:`0,0,0`},EPSG_5013:{towgs84:`0,0,0`},EPSG_5264:{towgs84:`0,0,0`},EPSG_5324:{towgs84:`0,0,0`},EPSG_5354:{towgs84:`0,0,0`},EPSG_5371:{towgs84:`0,0,0`},EPSG_5373:{towgs84:`0,0,0`},EPSG_5381:{towgs84:`0,0,0`},EPSG_5393:{towgs84:`0,0,0`},EPSG_5489:{towgs84:`0,0,0`},EPSG_5593:{towgs84:`0,0,0`},EPSG_6135:{towgs84:`0,0,0`},EPSG_6365:{towgs84:`0,0,0`},EPSG_5246:{towgs84:`0,0,0`},EPSG_7886:{towgs84:`0,0,0`},EPSG_8431:{towgs84:`0,0,0`},EPSG_8427:{towgs84:`0,0,0`},EPSG_8699:{towgs84:`0,0,0`},EPSG_8818:{towgs84:`0,0,0`},EPSG_4757:{towgs84:`0,0,0`},EPSG_9140:{towgs84:`0,0,0`},EPSG_8086:{towgs84:`0,0,0`},EPSG_4686:{towgs84:`0,0,0`},EPSG_4737:{towgs84:`0,0,0`},EPSG_4702:{towgs84:`0,0,0`},EPSG_4747:{towgs84:`0,0,0`},EPSG_4749:{towgs84:`0,0,0`},EPSG_4674:{towgs84:`0,0,0`},EPSG_4755:{towgs84:`0,0,0`},EPSG_4759:{towgs84:`0,0,0`},EPSG_4762:{towgs84:`0,0,0`},EPSG_4763:{towgs84:`0,0,0`},EPSG_4764:{towgs84:`0,0,0`},EPSG_4166:{towgs84:`0,0,0`},EPSG_4170:{towgs84:`0,0,0`},EPSG_5546:{towgs84:`0,0,0`},EPSG_7844:{towgs84:`0,0,0`},EPSG_4818:{towgs84:`589,76,480`},EPSG_10328:{towgs84:`0,0,0`},EPSG_9782:{towgs84:`0,0,0`},EPSG_9777:{towgs84:`0,0,0`},EPSG_10690:{towgs84:`0,0,0`},EPSG_10639:{towgs84:`0,0,0`},EPSG_10739:{towgs84:`0,0,0`},EPSG_7686:{towgs84:`0,0,0`},EPSG_8900:{towgs84:`0,0,0`},EPSG_5886:{towgs84:`0,0,0`},EPSG_7683:{towgs84:`0,0,0`},EPSG_6668:{towgs84:`0,0,0`},EPSG_20046:{towgs84:`0,0,0`},EPSG_10299:{towgs84:`0,0,0`},EPSG_10310:{towgs84:`0,0,0`},EPSG_10475:{towgs84:`0,0,0`},EPSG_4742:{towgs84:`0,0,0`},EPSG_10671:{towgs84:`0,0,0`},EPSG_10762:{towgs84:`0,0,0`},EPSG_10725:{towgs84:`0,0,0`},EPSG_10791:{towgs84:`0,0,0`},EPSG_10800:{towgs84:`0,0,0`},EPSG_10305:{towgs84:`0,0,0`},EPSG_10941:{towgs84:`0,0,0`},EPSG_10968:{towgs84:`0,0,0`},EPSG_10875:{towgs84:`0,0,0`},EPSG_6318:{towgs84:`0,0,0`},EPSG_10910:{towgs84:`0,0,0`}},bt)xt=bt[e],xt.datumName&&(bt[xt.datumName]=xt)})))()}function Ct(e,t,n,r,i,a,s){var c={};return c.datum_type=5,t&&(c.datum_type=4,c.datum_params=t.map(parseFloat),(c.datum_params[0]!==0||c.datum_params[1]!==0||c.datum_params[2]!==0)&&(c.datum_type=1),c.datum_params.length>3&&(c.datum_params[3]!==0||c.datum_params[4]!==0||c.datum_params[5]!==0||c.datum_params[6]!==0)&&(c.datum_type=2,c.datum_params[3]*=o,c.datum_params[4]*=o,c.datum_params[5]*=o,c.datum_params[6]=c.datum_params[6]/1e6+1)),s&&(c.datum_type=3,c.grids=s),c.a=n,c.b=r,c.es=i,c.ep2=a,c}function wt(){return(wt=e((()=>{_()})))()}function Tt(e,t,n){return t instanceof ArrayBuffer?Et(e,t,n):{ready:Dt(e,t)}}function Et(e,t,n){var r=!0;n!==void 0&&n.includeErrorFields===!1&&(r=!1);var i=new DataView(t),a=jt(i),o=Mt(i,a),s={header:o,subgrids:Pt(i,o,a,r)};return Rt[e]=s,s}async function Dt(e,t){for(var n=[],r=await t.getImageCount(),i=r-1;i>=0;i--){var a=await t.getImage(i),o=await a.readRasters(),s=[a.getWidth(),a.getHeight()],c=a.getBoundingBox().map(At),l=typeof a.fileDirectory.getValue==`function`?a.fileDirectory.getValue(`ModelPixelScale`):a.fileDirectory.ModelPixelScale,u=[l[0],l[1]].map(At),d=c[0]+(s[0]-1)*u[0],f=c[3]-(s[1]-1)*u[1],p=o[0],m=o[1],h=[];for(let e=s[1]-1;e>=0;e--)for(let t=s[0]-1;t>=0;t--){var g=e*s[0]+t;h.push([-I(m[g]),I(p[g])])}n.push({del:u,lim:s,ll:[-d,f],cvs:h})}var _={header:{nSubgrids:r},subgrids:n};return Rt[e]=_,_}function Ot(e){return e===void 0?null:e.split(`,`).map(kt)}function kt(e){if(e.length===0)return null;var t=e[0]===`@`;return t&&(e=e.slice(1)),e===`null`?{name:`null`,mandatory:!t,grid:null,isNull:!0}:{name:e,mandatory:!t,grid:Rt[e]||null,isNull:!1}}function At(e){return e*Math.PI/180}function I(e){return e/3600*Math.PI/180}function jt(e){var t=e.getInt32(8,!1);return t!==11&&(t=e.getInt32(8,!0),t!==11&&console.warn(`Failed to detect nadgrid endian-ness, defaulting to little-endian`),!0)}function Mt(e,t){return{nFields:e.getInt32(8,t),nSubgridFields:e.getInt32(24,t),nSubgrids:e.getInt32(40,t),shiftType:Nt(e,56,64).trim(),fromSemiMajorAxis:e.getFloat64(120,t),fromSemiMinorAxis:e.getFloat64(136,t),toSemiMajorAxis:e.getFloat64(152,t),toSemiMinorAxis:e.getFloat64(168,t)}}function Nt(e,t,n){return String.fromCharCode.apply(null,new Uint8Array(e.buffer.slice(t,n)))}function Pt(e,t,n,r){for(var i=176,a=[],o=0;o<t.nSubgrids;o++){var s=It(e,i,n),c=Lt(e,i,s,n,r),l=Math.round(1+(s.upperLongitude-s.lowerLongitude)/s.longitudeInterval),u=Math.round(1+(s.upperLatitude-s.lowerLatitude)/s.latitudeInterval);a.push({ll:[I(s.lowerLongitude),I(s.lowerLatitude)],del:[I(s.longitudeInterval),I(s.latitudeInterval)],lim:[l,u],count:s.gridNodeCount,cvs:Ft(c)});var d=16;r===!1&&(d=8),i+=176+s.gridNodeCount*d}return a}function Ft(e){return e.map(function(e){return[I(e.longitudeShift),I(e.latitudeShift)]})}function It(e,t,n){return{name:Nt(e,t+8,t+16).trim(),parent:Nt(e,t+24,t+24+8).trim(),lowerLatitude:e.getFloat64(t+72,n),upperLatitude:e.getFloat64(t+88,n),lowerLongitude:e.getFloat64(t+104,n),upperLongitude:e.getFloat64(t+120,n),latitudeInterval:e.getFloat64(t+136,n),longitudeInterval:e.getFloat64(t+152,n),gridNodeCount:e.getInt32(t+168,n)}}function Lt(e,t,n,r,i){var a=t+176,o=16;i===!1&&(o=8);for(var s=[],c=0;c<n.gridNodeCount;c++){var l={latitudeShift:e.getFloat32(a+c*o,r),longitudeShift:e.getFloat32(a+c*o+4,r)};i!==!1&&(l.latitudeAccuracy=e.getFloat32(a+c*o+8,r),l.longitudeAccuracy=e.getFloat32(a+c*o+12,r)),s.push(l)}return s}var Rt;function zt(){return(zt=e((()=>{Rt={}})))()}function L(e,t){if(!(this instanceof L))return new L(e);this.forward=null,this.inverse=null,this.init=null,this.name,this.axis,this.names=null,this.title,t||=function(e){if(e)throw e};var n=Ve(e);if(typeof n!=`object`)t(`Could not parse to valid json: `+e);else{var r=L.projections.get(n.projName);if(!r)t(`Could not get projection name from: `+e);else{if(n.datumCode&&n.datumCode!==`none`){var i=S(bt,n.datumCode);i&&(n.datum_params=n.datum_params||(i.towgs84?i.towgs84.split(`,`):null),n.ellps=i.ellipse,n.datumName=i.datumName?i.datumName:n.datumCode)}n.axis=n.axis||`enu`,n.ellps=n.ellps||`wgs84`,n.lat1=n.lat1||n.lat0;var a=_t(n.a,n.b,n.rf,n.ellps,n.sphere),o=gt(a.a,a.b,a.rf,n.R_A),s=Ot(n.nadgrids),c=n.datum||Ct(n.datumCode,n.datum_params,a.a,a.b,o.es,o.ep2,s);We(this,n),We(this,r),this.a=a.a,this.b=a.b,this.rf=a.rf,this.sphere=a.sphere,this.es=o.es,this.e=o.e,this.ep2=o.ep2,this.datum=c,`init`in this&&typeof this.init==`function`&&this.init(),this.k0||=1,t(null,this)}}}function Bt(){return(Bt=e((()=>{Ue(),pt(),yt(),St(),wt(),w(),zt(),L.projections=ft,L.projections.start()})))()}function Vt(e,t){return e.datum_type!==t.datum_type||e.a!==t.a||Math.abs(e.es-t.es)>5e-11?!1:e.datum_type===1?e.datum_params[0]===t.datum_params[0]&&e.datum_params[1]===t.datum_params[1]&&e.datum_params[2]===t.datum_params[2]:e.datum_type!==2||e.datum_params[0]===t.datum_params[0]&&e.datum_params[1]===t.datum_params[1]&&e.datum_params[2]===t.datum_params[2]&&e.datum_params[3]===t.datum_params[3]&&e.datum_params[4]===t.datum_params[4]&&e.datum_params[5]===t.datum_params[5]&&e.datum_params[6]===t.datum_params[6]}function Ht(e,t,n){var r=e.x,i=e.y,a=e.z?e.z:0,o,c,l,u;if(i<-s&&i>-1.001*s)i=-s;else if(i>s&&i<1.001*s)i=s;else if(i<-s)return{x:-1/0,y:-1/0,z:e.z};else if(i>s)return{x:1/0,y:1/0,z:e.z};return r>Math.PI&&(r-=2*Math.PI),c=Math.sin(i),u=Math.cos(i),l=c*c,o=n/Math.sqrt(1-t*l),{x:(o+a)*u*Math.cos(r),y:(o+a)*u*Math.sin(r),z:(o*(1-t)+a)*c}}function Ut(e,t,n,r){var i=1e-12,a=i*i,o=30,c,l,u,d,f,p,m,h,g,_,v,y,b,x=e.x,S=e.y,C=e.z?e.z:0,w,T,E;if(c=Math.sqrt(x*x+S*S),l=Math.sqrt(x*x+S*S+C*C),c/n<i){if(w=0,l/n<i)return T=s,E=-r,{x:e.x,y:e.y,z:e.z}}else w=Math.atan2(S,x);u=C/l,d=c/l,f=1/Math.sqrt(1-t*(2-t)*d*d),h=d*(1-t)*f,g=u*f,b=0;do b++,m=n/Math.sqrt(1-t*g*g),E=c*h+C*g-m*(1-t*g*g),p=t*m/(m+E),f=1/Math.sqrt(1-p*(2-p)*d*d),_=d*(1-p)*f,v=u*f,y=v*h-_*g,h=_,g=v;while(y*y>a&&b<o);return T=Math.atan(v/Math.abs(_)),{x:w,y:T,z:E}}function Wt(e,t,n){if(t===1)return{x:e.x+n[0],y:e.y+n[1],z:e.z+n[2]};if(t===2){var r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6];return{x:l*(e.x-c*e.y+s*e.z)+r,y:l*(c*e.x+e.y-o*e.z)+i,z:l*(-s*e.x+o*e.y+e.z)+a}}}function Gt(e,t,n){if(t===1)return{x:e.x-n[0],y:e.y-n[1],z:e.z-n[2]};if(t===2){var r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=(e.x-r)/l,d=(e.y-i)/l,f=(e.z-a)/l;return{x:u+c*d-s*f,y:-c*u+d+o*f,z:s*u-o*d+f}}}function Kt(){return(Kt=e((()=>{_()})))()}function qt(e){return e===1||e===2}function Jt(e,t,n){if(Vt(e,t)||e.datum_type===5||t.datum_type===5)return n;var o=e.a,s=e.es;if(e.datum_type===3){if(Yt(e,!1,n)!==0)return;o=r,s=a}var c=t.a,l=t.b,u=t.es;if(t.datum_type===3&&(c=r,l=i,u=a),s===u&&o===c&&!qt(e.datum_type)&&!qt(t.datum_type)||(n=Ht(n,s,o),qt(e.datum_type)&&(n=Wt(n,e.datum_type,e.datum_params)),qt(t.datum_type)&&(n=Gt(n,t.datum_type,t.datum_params)),n=Ut(n,u,c,l),t.datum_type!==3||Yt(t,!0,n)===0))return n}function Yt(e,t,n){if(e.grids===null||e.grids.length===0)return console.log(`Grid shift grids not found`),-1;var r={x:-n.x,y:n.y},i={x:NaN,y:NaN},a=[];outer:for(var o=0;o<e.grids.length;o++){var s=e.grids[o];if(a.push(s.name),s.isNull){i=r;break}if(s.grid===null){if(s.mandatory)return console.log(`Unable to find mandatory grid '`+s.name+`'`),-1}else for(var c=s.grid.subgrids,l=0,u=c.length;l<u;l++){var d=c[l],f=(Math.abs(d.del[1])+Math.abs(d.del[0]))/1e4,m=d.ll[0]-f,h=d.ll[1]-f,g=d.ll[0]+(d.lim[0]-1)*d.del[0]+f,_=d.ll[1]+(d.lim[1]-1)*d.del[1]+f;if(!(h>r.y||m>r.x||_<r.y||g<r.x)&&(i=Xt(r,t,d),!isNaN(i.x)))break outer}}return isNaN(i.x)?(console.log(`Failed to find a grid shift table for location '`+-r.x*p+` `+r.y*p+` tried: '`+a+`'`),-1):(n.x=-i.x,n.y=i.y,0)}function Xt(e,t,n){var r={x:NaN,y:NaN};if(isNaN(e.x))return r;var i={x:e.x,y:e.y};i.x-=n.ll[0],i.y-=n.ll[1],i.x=M(i.x-Math.PI)+Math.PI;var a=Zt(i,n);if(t){if(isNaN(a.x))return r;a.x=i.x-a.x,a.y=i.y-a.y;var o=9,s=1e-12,c,l;do{if(l=Zt(a,n),isNaN(l.x)){console.log(`Inverse grid shift iteration failed, presumably at grid edge. Using first approximation.`);break}c={x:i.x-(l.x+a.x),y:i.y-(l.y+a.y)},a.x+=c.x,a.y+=c.y}while(o--&&Math.abs(c.x)>s&&Math.abs(c.y)>s);if(o<0)return console.log(`Inverse grid shift iterator failed to converge.`),r;r.x=M(a.x+n.ll[0]),r.y=a.y+n.ll[1]}else isNaN(a.x)||(r.x=e.x+a.x,r.y=e.y+a.y);return r}function Zt(e,t){var n={x:e.x/t.del[0],y:e.y/t.del[1]},r={x:Math.floor(n.x),y:Math.floor(n.y)},i={x:n.x-1*r.x,y:n.y-1*r.y},a={x:NaN,y:NaN},o;if(r.x<0||r.x>=t.lim[0]||r.y<0||r.y>=t.lim[1])return a;o=r.y*t.lim[0]+r.x;var s={x:t.cvs[o][0],y:t.cvs[o][1]};o++;var c={x:t.cvs[o][0],y:t.cvs[o][1]};o+=t.lim[0];var l={x:t.cvs[o][0],y:t.cvs[o][1]};o--;var u={x:t.cvs[o][0],y:t.cvs[o][1]},d=i.x*i.y,f=i.x*(1-i.y),p=(1-i.x)*(1-i.y),m=(1-i.x)*i.y;return a.x=p*s.x+f*c.x+m*u.x+d*l.x,a.y=p*s.y+f*c.y+m*u.y+d*l.y,a}function Qt(){return(Qt=e((()=>{_(),Kt(),N()})))()}function $t(e,t){let n={};for(let r=0,i=e.axis.length;r<i;r++){if(r===2&&t.z===void 0)continue;let i=t[R[r]];switch(e.axis[r]){case`e`:n.x=i;break;case`w`:n.x=-i;break;case`n`:n.y=i;break;case`s`:n.y=-i;break;case`u`:n.z=i;break;case`d`:n.z=-i;break;default:return null}}return n}function en(e,t){let n={};for(let r=0,i=e.axis.length;r<i;r++)if(r!==2||t.z!==void 0)switch(e.axis[r]){case`e`:n[R[r]]=t.x;break;case`w`:n[R[r]]=-t.x;break;case`n`:n[R[r]]=t.y;break;case`s`:n[R[r]]=-t.y;break;case`u`:n[R[r]]=t.z;break;case`d`:n[R[r]]=-t.z;break;default:return null}return n}var R;function tn(){return(tn=e((()=>{R=[`x`,`y`,`z`]})))()}function nn(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t}function rn(e){an(e.x),an(e.y)}function an(e){if(typeof Number.isFinite==`function`){if(Number.isFinite(e))return;throw TypeError(`coordinates must be finite numbers`)}if(typeof e!=`number`||e!==e||!isFinite(e))throw TypeError(`coordinates must be finite numbers`)}function on(){return(on=e((()=>{})))()}function sn(e,t){return(e.datum.datum_type===1||e.datum.datum_type===2||e.datum.datum_type===3)&&t.datumCode!==`WGS84`||(t.datum.datum_type===1||t.datum.datum_type===2||t.datum.datum_type===3)&&e.datumCode!==`WGS84`}function cn(e,t,n,r){var i,a=n.z!==void 0;if(rn(n),e.datum&&t.datum&&sn(e,t)&&(i=new L(`WGS84`),n=cn(e,i,n,r),e=i),r&&e.axis!==`enu`&&(n=$t(e,n)),e.projName===`longlat`)n={x:n.x*f,y:n.y*f,z:n.z||0};else if(e.to_meter&&(n={x:n.x*e.to_meter,y:n.y*e.to_meter,z:n.z||0}),n=e.inverse(n),!n)return;if(e.from_greenwich&&(n.x+=e.from_greenwich),n=Jt(e.datum,t.datum,n),n)return n=n,t.from_greenwich&&(n={x:n.x-t.from_greenwich,y:n.y,z:n.z||0}),t.projName===`longlat`?(t.long_wrap!==void 0&&(n.x=t.long_wrap+M(n.x-t.long_wrap)),n={x:n.x*p,y:n.y*p,z:n.z||0}):(n=t.forward(n),t.to_meter&&(n={x:n.x/t.to_meter,y:n.y/t.to_meter,z:n.z||0})),r&&t.axis!==`enu`?en(t,n):(n&&!a&&t.projName!==`geocent`&&delete n.z,n)}function ln(e,t,n,r){return cn(e,t,Array.isArray(n)?nn(n):{x:n.x,y:n.y,z:n.z,m:n.m},r)}function un(){return(un=e((()=>{_(),Qt(),N(),tn(),Bt(),on()})))()}function dn(e,t,n,r){var i,a,o;return Array.isArray(n)?(i=cn(e,t,nn(n),r)||{x:NaN,y:NaN},n.length>2?(a=e.name!==void 0&&e.name===`geocent`||t.name!==void 0&&t.name===`geocent`,a?typeof i.z==`number`?[i.x,i.y,i.z].concat(n.slice(3)):[i.x,i.y,n[2]].concat(n.slice(3)):r&&typeof i.z==`number`?[i.x,i.y,i.z].concat(n.slice(3)):[i.x,i.y].concat(n.slice(2))):[i.x,i.y]):(i=cn(e,t,{x:n.x,y:n.y,z:n.z,m:n.m},r)||{x:NaN,y:NaN},o=Object.keys(n),o.length===2||(a=e.name!==void 0&&e.name===`geocent`||t.name!==void 0&&t.name===`geocent`,o.forEach(function(e){e!==`x`&&e!==`y`&&(e!==`z`||!a&&!r)&&(i[e]=n[e])})),i)}function fn(e){return e instanceof L?e:typeof e==`object`&&`oProj`in e?e.oProj:L(e)}function pn(e,t,n){var r,i,a=!1,o;return t===void 0?(i=fn(e),r=mn,a=!0):(t.x!==void 0||Array.isArray(t))&&(n=t,i=fn(e),r=mn,a=!0),r||=fn(e),i||=fn(t),n?dn(r,i,n):(o={forward:function(e,t){return dn(r,i,e,t)},inverse:function(e,t){return dn(i,r,e,t)}},a&&(o.oProj=i),o)}var mn;function hn(){return(hn=e((()=>{Bt(),un(),mn=L(`WGS84`)})))()}function gn(e,t){return t||=5,wn(xn({lat:e[1],lon:e[0]}),t)}function _n(e){var t=Sn(On(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat,t.lon,t.lat]:[t.left,t.bottom,t.right,t.top]}function vn(e){var t=Sn(On(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}function yn(e){return Math.PI/180*e}function bn(e){return e/Math.PI*180}function xn(e){var t=e.lat,n=e.lon,r=6378137,i=.00669438,a=.9996,o,s,c,l,u,d,f,p=yn(t),m=yn(n),h,g=Math.floor((n+180)/6)+1;n===180&&(g=60),t>=56&&t<64&&n>=3&&n<12&&(g=32),t>=72&&t<84&&(n>=0&&n<9?g=31:n>=9&&n<21?g=33:n>=21&&n<33?g=35:n>=33&&n<42&&(g=37)),o=(g-1)*6-180+3,h=yn(o),s=i/(1-i),c=r/Math.sqrt(1-i*Math.sin(p)*Math.sin(p)),l=Math.tan(p)*Math.tan(p),u=s*Math.cos(p)*Math.cos(p),d=Math.cos(p)*(m-h),f=r*((1-i/4-3*i*i/64-5*i*i*i/256)*p-(3*i/8+3*i*i/32+45*i*i*i/1024)*Math.sin(2*p)+(15*i*i/256+45*i*i*i/1024)*Math.sin(4*p)-35*i*i*i/3072*Math.sin(6*p));var _=a*c*(d+(1-l+u)*d*d*d/6+(5-18*l+l*l+72*u-58*s)*d*d*d*d*d/120)+5e5,v=a*(f+c*Math.tan(p)*(d*d/2+(5-l+9*u+4*u*u)*d*d*d*d/24+(61-58*l+l*l+600*u-330*s)*d*d*d*d*d*d/720));return t<0&&(v+=1e7),{northing:Math.round(v),easting:Math.round(_),zoneNumber:g,zoneLetter:Cn(t)}}function Sn(e){var t=e.northing,n=e.easting,r=e.zoneLetter,i=e.zoneNumber;if(i<0||i>60)return null;var a=.9996,o=6378137,s=.00669438,c,l=(1-Math.sqrt(1-s))/(1+Math.sqrt(1-s)),u,d,f,p,m,h,g,_,v,y=n-5e5,b=t;r<`N`&&(b-=1e7),g=(i-1)*6-180+3,c=s/(1-s),h=b/a,_=h/(o*(1-s/4-3*s*s/64-5*s*s*s/256)),v=_+(3*l/2-27*l*l*l/32)*Math.sin(2*_)+(21*l*l/16-55*l*l*l*l/32)*Math.sin(4*_)+151*l*l*l/96*Math.sin(6*_),u=o/Math.sqrt(1-s*Math.sin(v)*Math.sin(v)),d=Math.tan(v)*Math.tan(v),f=c*Math.cos(v)*Math.cos(v),p=o*(1-s)/(1-s*Math.sin(v)*Math.sin(v))**1.5,m=y/(u*a);var x=v-u*Math.tan(v)/p*(m*m/2-(5+3*d+10*f-4*f*f-9*c)*m*m*m*m/24+(61+90*d+298*f+45*d*d-252*c-3*f*f)*m*m*m*m*m*m/720);x=bn(x);var S=(m-(1+2*d+f)*m*m*m/6+(5-2*f+28*d-3*f*f+8*c+24*d*d)*m*m*m*m*m/120)/Math.cos(v);S=g+bn(S);var C;if(e.accuracy){var w=Sn({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});C={top:w.lat,right:w.lon,bottom:x,left:S}}else C={lat:x,lon:S};return C}function Cn(e){var t=`Z`;return 84>=e&&e>=72?t=`X`:72>e&&e>=64?t=`W`:64>e&&e>=56?t=`V`:56>e&&e>=48?t=`U`:48>e&&e>=40?t=`T`:40>e&&e>=32?t=`S`:32>e&&e>=24?t=`R`:24>e&&e>=16?t=`Q`:16>e&&e>=8?t=`P`:8>e&&e>=0?t=`N`:0>e&&e>=-8?t=`M`:-8>e&&e>=-16?t=`L`:-16>e&&e>=-24?t=`K`:-24>e&&e>=-32?t=`J`:-32>e&&e>=-40?t=`H`:-40>e&&e>=-48?t=`G`:-48>e&&e>=-56?t=`F`:-56>e&&e>=-64?t=`E`:-64>e&&e>=-72?t=`D`:-72>e&&e>=-80&&(t=`C`),t}function wn(e,t){var n=`00000`+e.easting,r=`00000`+e.northing;return e.zoneNumber+e.zoneLetter+Tn(e.easting,e.northing,e.zoneNumber)+n.substr(n.length-5,t)+r.substr(r.length-5,t)}function Tn(e,t,n){var r=En(n);return Dn(Math.floor(e/1e5),Math.floor(t/1e5)%20,r)}function En(e){var t=e%Mn;return t===0&&(t=Mn),t}function Dn(e,t,n){var r=n-1,i=Nn.charCodeAt(r),a=Pn.charCodeAt(r),o=i+e-1,s=a+t,c=!1;return o>In&&(o=o-In+z-1,c=!0),(o===B||i<B&&o>B||(o>B||i<B)&&c)&&o++,(o===V||i<V&&o>V||(o>V||i<V)&&c)&&(o++,o===B&&o++),o>In&&(o=o-In+z-1),s>Fn?(s=s-Fn+z-1,c=!0):c=!1,(s===B||a<B&&s>B||(s>B||a<B)&&c)&&s++,(s===V||a<V&&s>V||(s>V||a<V)&&c)&&(s++,s===B&&s++),s>Fn&&(s=s-Fn+z-1),String.fromCharCode(o)+String.fromCharCode(s)}function On(e){if(e&&e.length===0)throw`MGRSPoint coverting from nothing`;for(var t=e.length,n=null,r=``,i,a=0;!/[A-Z]/.test(i=e.charAt(a));){if(a>=2)throw`MGRSPoint bad conversion from: `+e;r+=i,a++}var o=parseInt(r,10);if(a===0||a+3>t)throw`MGRSPoint bad conversion from: `+e;var s=e.charAt(a++);if(s<=`A`||s===`B`||s===`Y`||s>=`Z`||s===`I`||s===`O`)throw`MGRSPoint zone letter `+s+` not handled: `+e;n=e.substring(a,a+=2);for(var c=En(o),l=kn(n.charAt(0),c),u=An(n.charAt(1),c);u<jn(s);)u+=2e6;var d=t-a;if(d%2!=0)throw`MGRSPoint has to have an even number
2
+ of digits after the zone letter and two 100km letters - front
3
+ half for easting meters, second half for
4
+ northing meters`+e;var f=d/2,p=0,m=0,h,g,_,v,y;return f>0&&(h=1e5/10**f,g=e.substring(a,a+f),p=parseFloat(g)*h,_=e.substring(a+f),m=parseFloat(_)*h),v=p+l,y=m+u,{easting:v,northing:y,zoneLetter:s,zoneNumber:o,accuracy:h}}function kn(e,t){for(var n=Nn.charCodeAt(t-1),r=1e5,i=!1;n!==e.charCodeAt(0);){if(n++,n===B&&n++,n===V&&n++,n>In){if(i)throw`Bad character: `+e;n=z,i=!0}r+=1e5}return r}function An(e,t){if(e>`V`)throw`MGRSPoint given invalid Northing `+e;for(var n=Pn.charCodeAt(t-1),r=0,i=!1;n!==e.charCodeAt(0);){if(n++,n===B&&n++,n===V&&n++,n>Fn){if(i)throw`Bad character: `+e;n=z,i=!0}r+=1e5}return r}function jn(e){var t;switch(e){case`C`:t=11e5;break;case`D`:t=2e6;break;case`E`:t=28e5;break;case`F`:t=37e5;break;case`G`:t=46e5;break;case`H`:t=55e5;break;case`J`:t=64e5;break;case`K`:t=73e5;break;case`L`:t=82e5;break;case`M`:t=91e5;break;case`N`:t=0;break;case`P`:t=8e5;break;case`Q`:t=17e5;break;case`R`:t=26e5;break;case`S`:t=35e5;break;case`T`:t=44e5;break;case`U`:t=53e5;break;case`V`:t=62e5;break;case`W`:t=7e6;break;case`X`:t=79e5;break;default:t=-1}if(t>=0)return t;throw`Invalid zone letter: `+e}var Mn,Nn,Pn,z,B,V,Fn,In,Ln;function Rn(){return(Rn=e((()=>{Mn=6,Nn=`AJSAJS`,Pn=`AFAFAF`,z=65,B=73,V=79,Fn=86,In=90,Ln={forward:gn,inverse:_n,toPoint:vn}})))()}function zn(e,t,n){if(!(this instanceof zn))return new zn(e,t,n);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if(typeof e==`object`)this.x=e.x,this.y=e.y,this.z=e.z||0;else if(typeof e==`string`&&t===void 0){var r=e.split(`,`);this.x=parseFloat(r[0]),this.y=parseFloat(r[1]),this.z=parseFloat(r[2])||0}else this.x=e,this.y=t,this.z=n||0;console.warn(`proj4.Point will be removed in version 3, use proj4.toPoint`)}function Bn(){return(Bn=e((()=>{Rn(),zn.fromMGRS=function(e){return new zn(vn(e))},zn.prototype.toMGRS=function(e){return gn([this.x,this.y],e)}})))()}function Vn(e){var t=[];t[0]=Hn-e*(Un+e*(Wn+e*(Gn+e*Kn))),t[1]=e*(qn-e*(Wn+e*(Gn+e*Kn)));var n=e*e;return t[2]=n*(Jn-e*(Yn+e*Xn)),n*=e,t[3]=n*(Zn-e*Qn),t[4]=n*e*$n,t}var Hn,Un,Wn,Gn,Kn,qn,Jn,Yn,Xn,Zn,Qn,$n;function er(){return(er=e((()=>{Hn=1,Un=.25,Wn=.046875,Gn=.01953125,Kn=.01068115234375,qn=.75,Jn=.46875,Yn=.013020833333333334,Xn=.007120768229166667,Zn=.3645833333333333,Qn=.005696614583333333,$n=.3076171875})))()}function tr(e,t,n,r){return n*=t,t*=t,r[0]*e-n*(r[1]+t*(r[2]+t*(r[3]+t*r[4])))}function nr(e,t,n){for(var r=1/(1-t),i=e,a=rr;a;--a){var o=Math.sin(i),s=1-t*o*o;if(s=(tr(i,o,Math.cos(i),n)-e)*(s*Math.sqrt(s))*r,i-=s,Math.abs(s)<1e-10)return i}return i}var rr;function ir(){return(ir=e((()=>{_(),rr=20})))()}function ar(){this.x0=this.x0===void 0?0:this.x0,this.y0=this.y0===void 0?0:this.y0,this.long0=this.long0===void 0?0:this.long0,this.lat0=this.lat0===void 0?0:this.lat0,this.es&&(this.en=Vn(this.es),this.ml0=tr(this.lat0,Math.sin(this.lat0),Math.cos(this.lat0),this.en))}function or(e){var t=e.x,n=e.y,r=M(t-this.long0,this.over),i,a,o,s=Math.sin(n),c=Math.cos(n);if(this.es){var l=c*r,u=l**2,d=this.ep2*c**2,f=d**2,p=(Math.abs(c)>1e-10?Math.tan(n):0)**2,m=p**2;i=1-this.es*s**2,l/=Math.sqrt(i);var h=tr(n,s,c,this.en);a=this.a*(this.k0*l*(1+u/6*(1-p+d+u/20*(5-18*p+m+14*d-58*p*d+u/42*(61+179*m-m*p-479*p)))))+this.x0,o=this.a*(this.k0*(h-this.ml0+s*r*l/2*(1+u/12*(5-p+9*d+4*f+u/30*(61+m-58*p+270*d-330*p*d+u/56*(1385+543*m-m*p-3111*p))))))+this.y0}else{var g=c*Math.sin(r);if(Math.abs(Math.abs(g)-1)<1e-10)return 93;if(a=.5*this.a*this.k0*Math.log((1+g)/(1-g))+this.x0,o=c*Math.cos(r)/Math.sqrt(1-g**2),g=Math.abs(o),g>=1){if(g-1>1e-10)return 93;o=0}else o=Math.acos(o);n<0&&(o=-o),o=this.a*this.k0*(o-this.lat0)+this.y0}return e.x=a,e.y=o,e}function sr(e){var t,n,r,i,a=(e.x-this.x0)*(1/this.a),o=(e.y-this.y0)*(1/this.a);if(!this.es){var c=Math.exp(a/this.k0),l=.5*(c-1/c),u=this.lat0+o/this.k0,d=Math.cos(u);t=Math.sqrt((1-d**2)/(1+l**2)),r=Math.asin(t),o<0&&(r=-r),i=l===0&&d===0?0:M(Math.atan2(l,d)+this.long0,this.over)}else if(t=this.ml0+o/this.k0,n=nr(t,this.es,this.en),Math.abs(n)<s){var f=Math.sin(n),p=Math.cos(n),m=Math.abs(p)>1e-10?Math.tan(n):0,h=this.ep2*p**2,g=h**2,_=m**2,v=_**2;t=1-this.es*f**2;var y=a*Math.sqrt(t)/this.k0,b=y**2;t*=m,r=n-t*b/(1-this.es)*.5*(1-b/12*(5+3*_-9*h*_+h-4*g-b/30*(61+90*_-252*h*_+45*v+46*h-b/56*(1385+3633*_+4095*v+1574*v*_)))),i=M(this.long0+y*(1-b/6*(1+2*_+h-b/20*(5+28*_+24*v+8*h*_+6*h-b/42*(61+662*_+1320*v+720*v*_))))/p,this.over)}else r=s*Ge(o),i=0;return e.x=i,e.y=r,e}var cr,lr;function ur(){return(ur=e((()=>{er(),ir(),N(),_(),cr=[`Fast_Transverse_Mercator`,`Fast Transverse Mercator`],lr={init:ar,forward:or,inverse:sr,names:cr}})))()}function dr(e){var t=Math.exp(e);return t=(t-1/t)/2,t}function H(e,t){e=Math.abs(e),t=Math.abs(t);var n=Math.max(e,t),r=Math.min(e,t)/(n||1);return n*Math.sqrt(1+r**2)}function fr(e){var t=1+e,n=t-1;return n===0?e:e*Math.log(t)/n}function pr(e){var t=Math.abs(e);return t=fr(t*(1+t/(H(1,t)+1))),e<0?-t:t}function mr(){return(mr=e((()=>{})))()}function hr(e,t){for(var n=2*Math.cos(2*t),r=e.length-1,i=e[r],a=0,o;--r>=0;)o=-a+n*i+e[r],a=i,i=o;return t+o*Math.sin(2*t)}function gr(e,t){for(var n=2*Math.cos(t),r=e.length-1,i=e[r],a=0,o;--r>=0;)o=-a+n*i+e[r],a=i,i=o;return Math.sin(t)*o}function _r(e){var t=Math.exp(e);return t=(t+1/t)/2,t}function vr(e,t,n){for(var r=Math.sin(t),i=Math.cos(t),a=dr(n),o=_r(n),s=2*i*o,c=-2*r*a,l=e.length-1,u=e[l],d=0,f=0,p=0,m,h;--l>=0;)m=f,h=d,f=u,d=p,u=-m+s*f-c*d+e[l],p=-h+c*f+s*d;return s=r*o,c=i*a,[s*u-c*p,s*p+c*u]}function yr(){return(yr=e((()=>{})))()}function br(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw Error(`Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.`);this.approx&&(lr.init.apply(this),this.forward=lr.forward,this.inverse=lr.inverse),this.x0=this.x0===void 0?0:this.x0,this.y0=this.y0===void 0?0:this.y0,this.long0=this.long0===void 0?0:this.long0,this.lat0=this.lat0===void 0?0:this.lat0,this.k0=this.k0===void 0?1:this.k0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var e=this.es/(1+Math.sqrt(1-this.es)),t=e/(2-e),n=t;this.cgb[0]=t*(2+t*(-2/3+t*(-2+t*(116/45+t*(26/45+-2854/675*t))))),this.cbg[0]=t*(-2+t*(2/3+t*(4/3+t*(-82/45+t*(32/45+4642/4725*t))))),n*=t,this.cgb[1]=n*(7/3+t*(-8/5+t*(-227/45+t*(2704/315+2323/945*t)))),this.cbg[1]=n*(5/3+t*(-16/15+t*(-13/9+t*(904/315+-1522/945*t)))),n*=t,this.cgb[2]=n*(56/15+t*(-136/35+t*(-1262/105+73814/2835*t))),this.cbg[2]=n*(-26/15+t*(34/21+t*(8/5+-12686/2835*t))),n*=t,this.cgb[3]=n*(4279/630+t*(-332/35+-399572/14175*t)),this.cbg[3]=n*(1237/630+t*(-12/5+-24832/14175*t)),n*=t,this.cgb[4]=n*(4174/315+-144838/6237*t),this.cbg[4]=n*(-734/315+109598/31185*t),n*=t,this.cgb[5]=601676/22275*n,this.cbg[5]=444337/155925*n,n=t**2,this.Qn=this.k0/(1+t)*(1+n*(1/4+n*(1/64+n/256))),this.utg[0]=t*(-.5+t*(2/3+t*(-37/96+t*(1/360+t*(81/512+-96199/604800*t))))),this.gtu[0]=t*(.5+t*(-2/3+t*(5/16+t*(41/180+t*(-127/288+7891/37800*t))))),this.utg[1]=n*(-1/48+t*(-1/15+t*(437/1440+t*(-46/105+1118711/3870720*t)))),this.gtu[1]=n*(13/48+t*(-3/5+t*(557/1440+t*(281/630+-1983433/1935360*t)))),n*=t,this.utg[2]=n*(-17/480+t*(37/840+t*(209/4480+-5569/90720*t))),this.gtu[2]=n*(61/240+t*(-103/140+t*(15061/26880+167603/181440*t))),n*=t,this.utg[3]=n*(-4397/161280+t*(11/504+830251/7257600*t)),this.gtu[3]=n*(49561/161280+t*(-179/168+6601661/7257600*t)),n*=t,this.utg[4]=n*(-4583/161280+108847/3991680*t),this.gtu[4]=n*(34729/80640+-3418889/1995840*t),n*=t,this.utg[5]=-20648693/638668800*n,this.gtu[5]=212378941/319334400*n;var r=hr(this.cbg,this.lat0);this.Zb=-this.Qn*(r+gr(this.gtu,2*r))}function xr(e){var t=M(e.x-this.long0,this.over),n=e.y;n=hr(this.cbg,n);var r=Math.sin(n),i=Math.cos(n),a=Math.sin(t),o=Math.cos(t);n=Math.atan2(r,o*i),t=Math.atan2(a*i,H(r,i*o)),t=pr(Math.tan(t));var s=vr(this.gtu,2*n,2*t);n+=s[0],t+=s[1];var c,l;return Math.abs(t)<=2.623395162778?(c=this.a*(this.Qn*t)+this.x0,l=this.a*(this.Qn*n+this.Zb)+this.y0):(c=1/0,l=1/0),e.x=c,e.y=l,e}function Sr(e){var t=(e.x-this.x0)*(1/this.a),n=(e.y-this.y0)*(1/this.a);n=(n-this.Zb)/this.Qn,t/=this.Qn;var r,i;if(Math.abs(t)<=2.623395162778){var a=vr(this.utg,2*n,2*t);n+=a[0],t+=a[1],t=Math.atan(dr(t));var o=Math.sin(n),s=Math.cos(n),c=Math.sin(t),l=Math.cos(t);n=Math.atan2(o*l,H(c,l*s)),t=Math.atan2(c,l*s),r=M(t+this.long0,this.over),i=hr(this.cgb,n)}else r=1/0,i=1/0;return e.x=r,e.y=i,e}var Cr,wr;function Tr(){return(Tr=e((()=>{ur(),mr(),yr(),N(),Cr=[`Extended_Transverse_Mercator`,`Extended Transverse Mercator`,`etmerc`,`Transverse_Mercator`,`Transverse Mercator`,`Gauss Kruger`,`Gauss_Kruger`,`tmerc`],wr={init:br,forward:xr,inverse:Sr,names:Cr}})))()}function Er(e,t){if(e===void 0){if(e=Math.floor((M(t)+Math.PI)*30/Math.PI)+1,e<0)return 0;if(e>60)return 60}return e}function Dr(){return(Dr=e((()=>{N()})))()}function Or(){var e=Er(this.zone,this.long0);if(e===void 0)throw Error(`unknown utm zone`);this.lat0=0,this.long0=(6*Math.abs(e)-183)*f,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,wr.init.apply(this),this.forward=wr.forward,this.inverse=wr.inverse}var kr,Ar,jr;function Mr(){return(Mr=e((()=>{Dr(),Tr(),_(),kr=`etmerc`,Ar=[`Universal Transverse Mercator System`,`utm`],jr={init:Or,names:Ar,dependsOn:kr}})))()}function Nr(e,t){return((1-e)/(1+e))**t}function Pr(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+m)/(Math.tan(.5*this.lat0+m)**+this.C*Nr(this.e*e,this.ratexp))}function Fr(e){var t=e.x,n=e.y;return e.y=2*Math.atan(this.K*Math.tan(.5*n+m)**+this.C*Nr(this.e*Math.sin(n),this.ratexp))-s,e.x=this.C*t,e}function Ir(e){for(var t=1e-14,n=e.x/this.C,r=e.y,i=(Math.tan(.5*r+m)/this.K)**(1/this.C),a=Lr;a>0&&(r=2*Math.atan(i*Nr(this.e*Math.sin(e.y),-.5*this.e))-s,!(Math.abs(r-e.y)<t));--a)e.y=r;return a?(e.x=n,e.y=r,e):null}var Lr,Rr,zr;function Br(){return(Br=e((()=>{_(),Lr=20,Rr=[`gauss`],zr={init:Pr,forward:Fr,inverse:Ir,names:Rr}})))()}function Vr(){zr.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||=`Oblique Stereographic Alternative`)}function Hr(e){var t,n,r,i;return e.x=M(e.x-this.long0,this.over),zr.forward.apply(this,[e]),t=Math.sin(e.y),n=Math.cos(e.y),r=Math.cos(e.x),i=this.k0*this.R2/(1+this.sinc0*t+this.cosc0*n*r),e.x=i*n*Math.sin(e.x),e.y=i*(this.cosc0*t-this.sinc0*n*r),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e}function Ur(e){var t,n,r,i,a;if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,a=H(e.x,e.y)){var o=2*Math.atan2(a,this.R2);t=Math.sin(o),n=Math.cos(o),i=Math.asin(n*this.sinc0+e.y*t*this.cosc0/a),r=Math.atan2(e.x*t,a*this.cosc0*n-e.y*this.sinc0*t)}else i=this.phic0,r=0;return e.x=r,e.y=i,zr.inverse.apply(this,[e]),e.x=M(e.x+this.long0,this.over),e}var Wr,Gr;function Kr(){return(Kr=e((()=>{Br(),N(),Wr=[`Stereographic_North_Pole`,`Oblique_Stereographic`,`sterea`,`Oblique Stereographic Alternative`,`Double_Stereographic`],Gr={init:Vr,forward:Hr,inverse:Ur,names:Wr}})))()}function qr(e,t,n){return t*=n,Math.tan(.5*(s+e))*((1-t)/(1+t))**(.5*n)}function Jr(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*(1+Ge(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=1e-10&&(this.con=this.lat0>0?1:-1),this.cons=Math.sqrt((1+this.e)**+(1+this.e)*(1-this.e)**(1-this.e)),!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&Math.abs(Math.cos(this.lat_ts))>1e-10&&(this.k0=.5*this.cons*j(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/P(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=j(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(qr(this.lat0,this.sinlat0,this.e))-s,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))}function Yr(e){var t=e.x,n=e.y,r=Math.sin(n),i=Math.cos(n),a,o,c,l,u,d,f=M(t-this.long0,this.over);return Math.abs(Math.abs(t-this.long0)-Math.PI)<=1e-10&&Math.abs(n+this.lat0)<=1e-10?(e.x=NaN,e.y=NaN,e):this.sphere?(a=2*this.k0/(1+this.sinlat0*r+this.coslat0*i*Math.cos(f)),e.x=this.a*a*i*Math.sin(f)+this.x0,e.y=this.a*a*(this.coslat0*r-this.sinlat0*i*Math.cos(f))+this.y0,e):(o=2*Math.atan(qr(n,r,this.e))-s,l=Math.cos(o),c=Math.sin(o),Math.abs(this.coslat0)<=1e-10?(u=P(this.e,n*this.con,this.con*r),d=2*this.a*this.k0*u/this.cons,e.x=this.x0+d*Math.sin(t-this.long0),e.y=this.y0-this.con*d*Math.cos(t-this.long0),e):(Math.abs(this.sinlat0)<1e-10?(a=2*this.a*this.k0/(1+l*Math.cos(f)),e.y=a*c):(a=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*c+this.cosX0*l*Math.cos(f))),e.y=a*(this.cosX0*c-this.sinX0*l*Math.cos(f))+this.y0),e.x=a*l*Math.sin(f)+this.x0,e))}function Xr(e){e.x-=this.x0,e.y-=this.y0;var t,n,r,i,a,o=Math.sqrt(e.x*e.x+e.y*e.y);if(this.sphere){var c=2*Math.atan(o/(2*this.a*this.k0));return t=this.long0,n=this.lat0,o<=1e-10?(e.x=t,e.y=n,e):(n=Math.asin(Math.cos(c)*this.sinlat0+e.y*Math.sin(c)*this.coslat0/o),t=Math.abs(this.coslat0)<1e-10?this.lat0>0?M(this.long0+Math.atan2(e.x,-1*e.y),this.over):M(this.long0+Math.atan2(e.x,e.y),this.over):M(this.long0+Math.atan2(e.x*Math.sin(c),o*this.coslat0*Math.cos(c)-e.y*this.sinlat0*Math.sin(c)),this.over),e.x=t,e.y=n,e)}if(Math.abs(this.coslat0)<=1e-10){if(o<=1e-10)return n=this.lat0,t=this.long0,e.x=t,e.y=n,e;e.x*=this.con,e.y*=this.con,r=o*this.cons/(2*this.a*this.k0),n=this.con*qe(this.e,r),t=this.con*M(this.con*this.long0+Math.atan2(e.x,-1*e.y),this.over)}else i=2*Math.atan(o*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,o<=1e-10?a=this.X0:(a=Math.asin(Math.cos(i)*this.sinX0+e.y*Math.sin(i)*this.cosX0/o),t=M(this.long0+Math.atan2(e.x*Math.sin(i),o*this.cosX0*Math.cos(i)-e.y*this.sinX0*Math.sin(i)),this.over)),n=-1*qe(this.e,Math.tan(.5*(s+a)));return e.x=t,e.y=n,e}var Zr,Qr;function $r(){return($r=e((()=>{_(),Ke(),Je(),N(),Zr=[`stere`,`Stereographic_South_Pole`,`Polar_Stereographic_variant_A`,`Polar_Stereographic_variant_B`,`Polar_Stereographic`],Qr={init:Jr,forward:Yr,inverse:Xr,names:Zr,ssfn_:qr}})))()}function ei(){this.k0||=1;var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),n=this.a,r=1/this.rf,i=2*r-r**2,a=this.e=Math.sqrt(i);this.R=this.k0*n*Math.sqrt(1-i)/(1-i*t**2),this.alpha=Math.sqrt(1+i/(1-i)*Math.cos(e)**4),this.b0=Math.asin(t/this.alpha);var o=Math.log(Math.tan(Math.PI/4+this.b0/2)),s=Math.log(Math.tan(Math.PI/4+e/2)),c=Math.log((1+a*t)/(1-a*t));this.K=o-this.alpha*s+this.alpha*a/2*c}function ti(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),n=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),r=-this.alpha*(t+n)+this.K,i=2*(Math.atan(Math.exp(r))-Math.PI/4),a=this.alpha*(e.x-this.lambda0),o=Math.atan(Math.sin(a)/(Math.sin(this.b0)*Math.tan(i)+Math.cos(this.b0)*Math.cos(a))),s=Math.asin(Math.cos(this.b0)*Math.sin(i)-Math.sin(this.b0)*Math.cos(i)*Math.cos(a));return e.y=this.R/2*Math.log((1+Math.sin(s))/(1-Math.sin(s)))+this.y0,e.x=this.R*o+this.x0,e}function ni(e){for(var t=e.x-this.x0,n=e.y-this.y0,r=t/this.R,i=2*(Math.atan(Math.exp(n/this.R))-Math.PI/4),a=Math.asin(Math.cos(this.b0)*Math.sin(i)+Math.sin(this.b0)*Math.cos(i)*Math.cos(r)),o=Math.atan(Math.sin(r)/(Math.cos(this.b0)*Math.cos(r)-Math.sin(this.b0)*Math.tan(i))),s=this.lambda0+o/this.alpha,c=0,l=a,u=-1e3,d=0;Math.abs(l-u)>1e-7;){if(++d>20)return;c=1/this.alpha*(Math.log(Math.tan(Math.PI/4+a/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(l))/2)),u=l,l=2*Math.atan(Math.exp(c))-Math.PI/2}return e.x=s,e.y=l,e}var ri,ii;function ai(){return(ai=e((()=>{ri=[`somerc`],ii={init:ei,forward:ti,inverse:ni,names:ri}})))()}function oi(e){var t=[`Hotine_Oblique_Mercator`,`Hotine_Oblique_Mercator_variant_A`,`Hotine_Oblique_Mercator_Azimuth_Natural_Origin`],n=typeof e.projName==`object`?Object.keys(e.projName)[0]:e.projName;return`no_uoff`in e||`no_off`in e||t.indexOf(n)!==-1||t.indexOf(st(n))!==-1}function si(){var e,t,n,r,i,a,o,c,l,u,d=0,f,p=0,g=0,_=0,v=0,y=0,b=0;this.k0||=1,this.no_off=oi(this),this.no_rot=`no_rot`in this;var x=!1;`alpha`in this&&(x=!0);var S=!1;if(`rectified_grid_angle`in this&&(S=!0),x&&(b=this.alpha),S&&(d=this.rectified_grid_angle,x||=(b=0,!0)),x||S)p=this.longc;else if(g=this.long1,v=this.lat1,_=this.long2,y=this.lat2,Math.abs(v-y)<=U||(e=Math.abs(v))<=U||Math.abs(e-s)<=U||Math.abs(Math.abs(this.lat0)-s)<=U||Math.abs(Math.abs(y)-s)<=U)throw Error();var C=1-this.es;t=Math.sqrt(C),Math.abs(this.lat0)>1e-10?(c=Math.sin(this.lat0),n=Math.cos(this.lat0),e=1-this.es*c*c,this.B=n*n,this.B=Math.sqrt(1+this.es*this.B*this.B/C),this.A=this.B*this.k0*t/e,r=this.B*t/(n*Math.sqrt(e)),i=r*r-1,i<=0?i=0:(i=Math.sqrt(i),this.lat0<0&&(i=-i)),this.E=i+=r,this.E*=P(this.e,this.lat0,c)**+this.B):(this.B=1/t,this.A=this.k0,this.E=r=i=1),x||S?(x?(f=Math.asin(Math.sin(b)/r),S||(d=b)):(f=d,b=Math.asin(r*Math.sin(f))),this.lam0=p-Math.asin(.5*(i-1/i)*Math.tan(f))/this.B):(a=P(this.e,v,Math.sin(v))**+this.B,o=P(this.e,y,Math.sin(y))**+this.B,i=this.E/a,l=(o-a)/(o+a),u=this.E*this.E,u=(u-o*a)/(u+o*a),e=g-_,e<-Math.PI?_-=h:e>Math.PI&&(_+=h),this.lam0=M(.5*(g+_)-Math.atan(u*Math.tan(.5*this.B*(g-_))/l)/this.B,this.over),f=Math.atan(2*Math.sin(this.B*M(g-this.lam0,this.over))/(i-1/i)),d=b=Math.asin(r*Math.sin(f))),this.singam=Math.sin(f),this.cosgam=Math.cos(f),this.sinrot=Math.sin(d),this.cosrot=Math.cos(d),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(r*r-1)/Math.cos(b))),this.lat0<0&&(this.u_0=-this.u_0)),i=.5*f,this.v_pole_n=this.ArB*Math.log(Math.tan(m-i)),this.v_pole_s=this.ArB*Math.log(Math.tan(m+i))}function ci(e){var t={},n,r,i,a,o,c,l,u;if(e.x-=this.lam0,Math.abs(Math.abs(e.y)-s)>1e-10){if(o=this.E/P(this.e,e.y,Math.sin(e.y))**+this.B,c=1/o,n=.5*(o-c),r=.5*(o+c),a=Math.sin(this.B*e.x),i=(n*this.singam-a*this.cosgam)/r,Math.abs(Math.abs(i)-1)<1e-10)throw Error();u=.5*this.ArB*Math.log((1-i)/(1+i)),c=Math.cos(this.B*e.x),l=Math.abs(c)<U?this.A*e.x:this.ArB*Math.atan2(n*this.cosgam+a*this.singam,c)}else u=e.y>0?this.v_pole_n:this.v_pole_s,l=this.ArB*e.y;return this.no_rot?(t.x=l,t.y=u):(l-=this.u_0,t.x=u*this.cosrot+l*this.sinrot,t.y=l*this.cosrot-u*this.sinrot),t.x=this.a*t.x+this.x0,t.y=this.a*t.y+this.y0,e.z!==void 0&&(t.z=e.z),e.m!==void 0&&(t.m=e.m),t}function li(e){var t,n,r,i,a,o,c,l={};if(e.x=(e.x-this.x0)*(1/this.a),e.y=(e.y-this.y0)*(1/this.a),this.no_rot?(n=e.y,t=e.x):(n=e.x*this.cosrot-e.y*this.sinrot,t=e.y*this.cosrot+e.x*this.sinrot+this.u_0),r=Math.exp(-this.BrA*n),i=.5*(r-1/r),a=.5*(r+1/r),o=Math.sin(this.BrA*t),c=(o*this.cosgam+i*this.singam)/a,Math.abs(Math.abs(c)-1)<1e-10)l.x=0,l.y=c<0?-s:s;else{if(l.y=this.E/Math.sqrt((1+c)/(1-c)),l.y=qe(this.e,l.y**(1/this.B)),l.y===1/0)throw Error();l.x=-this.rB*Math.atan2(i*this.cosgam-o*this.singam,Math.cos(this.BrA*t))}return l.x+=this.lam0,e.z!==void 0&&(l.z=e.z),e.m!==void 0&&(l.m=e.m),l}var U,ui,di;function fi(){return(fi=e((()=>{Ke(),N(),Je(),_(),pt(),U=1e-7,ui=[`Hotine_Oblique_Mercator`,`Hotine Oblique Mercator`,`Hotine_Oblique_Mercator_variant_A`,`Hotine_Oblique_Mercator_Variant_B`,`Hotine_Oblique_Mercator_Azimuth_Natural_Origin`,`Hotine_Oblique_Mercator_Two_Point_Natural_Origin`,`Hotine_Oblique_Mercator_Azimuth_Center`,`Oblique_Mercator`,`omerc`],di={init:si,forward:ci,inverse:li,names:ui}})))()}function pi(){if(this.lat2||=this.lat1,this.k0||=1,this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,!(Math.abs(this.lat1+this.lat2)<1e-10)){var e=this.b/this.a;this.e=Math.sqrt(1-e*e);var t=Math.sin(this.lat1),n=Math.cos(this.lat1),r=j(this.e,t,n),i=P(this.e,this.lat1,t),a=Math.sin(this.lat2),o=Math.cos(this.lat2),c=j(this.e,a,o),l=P(this.e,this.lat2,a),u=P(this.e,this.lat0,Math.sin(this.lat0));this.ns=Math.abs(this.lat1-this.lat2)>1e-10?Math.log(r/c)/Math.log(i/l):t,isNaN(this.ns)&&(this.ns=t),this.f0=r/(this.ns*i**+this.ns),this.rh=Math.abs(Math.abs(this.lat0)-s)<1e-10?0:this.a*this.f0*u**+this.ns,this.title||=`Lambert Conformal Conic`}}function mi(e){var t=e.x,n=e.y;Math.abs(2*Math.abs(n)-Math.PI)<=1e-10&&(n=Ge(n)*(s-2*d));var r=Math.abs(Math.abs(n)-s),i,a;if(r>1e-10)i=P(this.e,n,Math.sin(n)),a=this.a*this.f0*i**+this.ns;else{if(r=n*this.ns,r<=0)return null;a=0}var o=this.ns*M(t-this.long0,this.over);return e.x=this.k0*(a*Math.sin(o))+this.x0,e.y=this.k0*(this.rh-a*Math.cos(o))+this.y0,e}function hi(e){var t,n,r,i,a,o=(e.x-this.x0)/this.k0,c=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(o*o+c*c),n=1):(t=-Math.sqrt(o*o+c*c),n=-1);var l=0;if(t!==0&&(l=Math.atan2(n*o,n*c)),t!==0||this.ns>0){if(n=1/this.ns,r=(t/(this.a*this.f0))**+n,i=qe(this.e,r),i===-9999)return null}else i=-s;return a=M(l/this.ns+this.long0,this.over),e.x=a,e.y=i,e}var gi,_i;function vi(){return(vi=e((()=>{Ke(),N(),Je(),_(),gi=[`Lambert Tangential Conformal Conic Projection`,`Lambert_Conformal_Conic`,`Lambert_Conformal_Conic_1SP`,`Lambert_Conformal_Conic_2SP`,`lcc`,`Lambert Conic Conformal (1SP)`,`Lambert Conic Conformal (2SP)`],_i={init:pi,forward:mi,inverse:hi,names:gi}})))()}function yi(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||=.863937979737193,this.long0||=.4334234309119251,this.k0||=.9999,this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.cos(this.fi0)**4/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)))**(this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.tan(this.fi0/2+this.s45)**+this.alfa*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.sin(this.fi0)**2),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq}function bi(e){var t,n,r,i,a,o,s,c=e.x,l=e.y,u=M(c-this.long0,this.over);return t=((1+this.e*Math.sin(l))/(1-this.e*Math.sin(l)))**(this.alfa*this.e/2),n=2*(Math.atan(this.k*Math.tan(l/2+this.s45)**+this.alfa/t)-this.s45),r=-u*this.alfa,i=Math.asin(Math.cos(this.ad)*Math.sin(n)+Math.sin(this.ad)*Math.cos(n)*Math.cos(r)),a=Math.asin(Math.cos(n)*Math.sin(r)/Math.cos(i)),o=this.n*a,s=this.ro0*Math.tan(this.s0/2+this.s45)**+this.n/Math.tan(i/2+this.s45)**+this.n,e.y=s*Math.cos(o)/1,e.x=s*Math.sin(o)/1,this.czech||(e.y*=-1,e.x*=-1),e}function xi(e){var t,n,r,i,a,o,s,c,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),o=Math.sqrt(e.x*e.x+e.y*e.y),a=Math.atan2(e.y,e.x),i=a/Math.sin(this.s0),r=2*(Math.atan((this.ro0/o)**(1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(r)-Math.sin(this.ad)*Math.cos(r)*Math.cos(i)),n=Math.asin(Math.cos(r)*Math.sin(i)/Math.cos(t)),e.x=this.long0-n/this.alfa,s=t,c=0;var u=0;do e.y=2*(Math.atan(this.k**(-1/this.alfa)*Math.tan(t/2+this.s45)**(1/this.alfa)*((1+this.e*Math.sin(s))/(1-this.e*Math.sin(s)))**(this.e/2))-this.s45),Math.abs(s-e.y)<1e-10&&(c=1),s=e.y,u+=1;while(c===0&&u<15);return u>=15?null:e}var Si,Ci;function wi(){return(wi=e((()=>{N(),Si=[`Krovak`,`Krovak Modified`,`Krovak (North Orientated)`,`Krovak Modified (North Orientated)`,`krovak`],Ci={init:yi,forward:bi,inverse:xi,names:Si}})))()}function W(e,t,n,r,i){return e*i-t*Math.sin(2*i)+n*Math.sin(4*i)-r*Math.sin(6*i)}function Ti(e){return 1-.25*e*(1+e/16*(3+1.25*e))}function Ei(e){return .375*e*(1+.25*e*(1+.46875*e))}function Di(e){return .05859375*e*e*(1+.75*e)}function Oi(e){return e*e*e*(35/3072)}function ki(e,t,n){var r=t*n;return e/Math.sqrt(1-r*r)}function G(e){return Math.abs(e)<s?e:e-Ge(e)*Math.PI}function K(){return(K=e((()=>{_()})))()}function Ai(e,t,n,r,i){for(var a=e/t,o,s=0;s<15;s++)if(o=(e-(t*a-n*Math.sin(2*a)+r*Math.sin(4*a)-i*Math.sin(6*a)))/(t-2*n*Math.cos(2*a)+4*r*Math.cos(4*a)-6*i*Math.cos(6*a)),a+=o,Math.abs(o)<=1e-10)return a;return NaN}function ji(){this.sphere||(this.e0=Ti(this.es),this.e1=Ei(this.es),this.e2=Di(this.es),this.e3=Oi(this.es),this.ml0=this.a*W(this.e0,this.e1,this.e2,this.e3,this.lat0))}function Mi(e){var t,n,r=e.x,i=e.y;if(r=M(r-this.long0,this.over),this.sphere)t=this.a*Math.asin(Math.cos(i)*Math.sin(r)),n=this.a*(Math.atan2(Math.tan(i),Math.cos(r))-this.lat0);else{var a=Math.sin(i),o=Math.cos(i),s=ki(this.a,this.e,a),c=Math.tan(i)*Math.tan(i),l=r*Math.cos(i),u=l*l,d=this.es*o*o/(1-this.es),f=this.a*W(this.e0,this.e1,this.e2,this.e3,i);t=s*l*(1-u*c*(1/6-(8-c+8*d)*u/120)),n=f-this.ml0+s*a/o*u*(.5+(5-c+6*d)*u/24)}return e.x=t+this.x0,e.y=n+this.y0,e}function Ni(e){e.x-=this.x0,e.y-=this.y0;var t=e.x/this.a,n=e.y/this.a,r,i;if(this.sphere){var a=n+this.lat0;r=Math.asin(Math.sin(a)*Math.cos(t)),i=Math.atan2(Math.tan(t),Math.cos(a))}else{var o=Ai(this.ml0/this.a+n,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(o)-s)<=1e-10)return e.x=this.long0,e.y=s,n<0&&(e.y*=-1),e;var c=ki(this.a,this.e,Math.sin(o)),l=c*c*c/this.a/this.a*(1-this.es),u=Math.tan(o)**2,d=t*this.a/c,f=d*d;r=o-c*Math.tan(o)/l*d*d*(.5-(1+3*u)*d*d/24),i=d*(1-f*(u/3+(1+3*u)*u*f/15))/Math.cos(o)}return e.x=M(i+this.long0,this.over),e.y=G(r),e}var Pi,Fi;function Ii(){return(Ii=e((()=>{N(),K(),_(),Pi=[`Cassini`,`Cassini_Soldner`,`cass`],Fi={init:ji,forward:Mi,inverse:Ni,names:Pi}})))()}function q(e,t){var n;return e>1e-7?(n=e*t,(1-e*e)*(t/(1-n*n)-.5/e*Math.log((1-n)/(1+n)))):2*t}function Li(e){var t,n=[];return n[0]=e*Ri,t=e*e,n[0]+=t*zi,n[1]=t*Vi,t*=e,n[0]+=t*Bi,n[1]+=t*Hi,n[2]=t*Ui,n}var Ri,zi,Bi,Vi,Hi,Ui;function Wi(){return(Wi=e((()=>{Ri=.3333333333333333,zi=.17222222222222222,Bi=.10257936507936508,Vi=.06388888888888888,Hi=.0664021164021164,Ui=.016415012942191543})))()}function Gi(e,t){var n=e+e;return e+t[0]*Math.sin(n)+t[1]*Math.sin(n+n)+t[2]*Math.sin(n+n+n)}function Ki(){var e=Math.abs(this.lat0);if(this.mode=Math.abs(e-s)<1e-10?this.lat0<0?1:2:Math.abs(e)<1e-10?3:4,this.es>0){var t;switch(this.qp=q(this.e,1),this.mmf=.5/(1-this.es),this.apa=Li(this.es),this.mode){case 2:this.dd=1;break;case 1:this.dd=1;break;case 3:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case 4:this.rq=Math.sqrt(.5*this.qp),t=Math.sin(this.lat0),this.sinb1=q(this.e,t)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*t*t)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}}else this.mode===4&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))}function qi(e){var t,n,r,i,a,o,c,l,u,d,f=e.x,p=e.y;if(f=M(f-this.long0,this.over),this.sphere){if(a=Math.sin(p),d=Math.cos(p),r=Math.cos(f),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(n=this.mode===this.EQUIT?1+d*r:1+this.sinph0*a+this.cosph0*d*r,n<=1e-10)return null;n=Math.sqrt(2/n),t=n*d*Math.sin(f),n*=this.mode===this.EQUIT?a:this.cosph0*a-this.sinph0*d*r}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(r=-r),Math.abs(p+this.lat0)<1e-10)return null;n=m-p*.5,n=2*(this.mode===this.S_POLE?Math.cos(n):Math.sin(n)),t=n*Math.sin(f),n*=r}}else{switch(c=0,l=0,u=0,r=Math.cos(f),i=Math.sin(f),a=Math.sin(p),o=q(this.e,a),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(c=o/this.qp,l=Math.sqrt(1-c*c)),this.mode){case this.OBLIQ:u=1+this.sinb1*c+this.cosb1*l*r;break;case this.EQUIT:u=1+l*r;break;case this.N_POLE:u=s+p,o=this.qp-o;break;case this.S_POLE:u=p-s,o=this.qp+o}if(Math.abs(u)<1e-10)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:u=Math.sqrt(2/u),n=this.mode===this.OBLIQ?this.ymf*u*(this.cosb1*c-this.sinb1*l*r):(u=Math.sqrt(2/(1+l*r)))*c*this.ymf,t=this.xmf*u*l*i;break;case this.N_POLE:case this.S_POLE:o>=0?(t=(u=Math.sqrt(o))*i,n=r*(this.mode===this.S_POLE?u:-u)):t=n=0}}return e.x=this.a*t+this.x0,e.y=this.a*n+this.y0,e}function Ji(e){e.x-=this.x0,e.y-=this.y0;var t=e.x/this.a,n=e.y/this.a,r,i,a,o,c,l,u;if(this.sphere){var d=0,f,p=0;if(f=Math.sqrt(t*t+n*n),i=f*.5,i>1)return null;switch(i=2*Math.asin(i),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(p=Math.sin(i),d=Math.cos(i)),this.mode){case this.EQUIT:i=Math.abs(f)<=1e-10?0:Math.asin(n*p/f),t*=p,n=d*f;break;case this.OBLIQ:i=Math.abs(f)<=1e-10?this.lat0:Math.asin(d*this.sinph0+n*p*this.cosph0/f),t*=p*this.cosph0,n=(d-Math.sin(i)*this.sinph0)*f;break;case this.N_POLE:n=-n,i=s-i;break;case this.S_POLE:i-=s}r=n===0&&(this.mode===this.EQUIT||this.mode===this.OBLIQ)?0:Math.atan2(t,n)}else{if(u=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(t/=this.dd,n*=this.dd,l=Math.sqrt(t*t+n*n),l<1e-10)return e.x=this.long0,e.y=this.lat0,e;o=2*Math.asin(.5*l/this.rq),a=Math.cos(o),t*=o=Math.sin(o),this.mode===this.OBLIQ?(u=a*this.sinb1+n*o*this.cosb1/l,c=this.qp*u,n=l*this.cosb1*a-n*this.sinb1*o):(u=n*o/l,c=this.qp*u,n=l*a)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(n=-n),c=t*t+n*n,!c)return e.x=this.long0,e.y=this.lat0,e;u=1-c/this.qp,this.mode===this.S_POLE&&(u=-u)}r=Math.atan2(t,n),i=Gi(Math.asin(u),this.apa)}return e.x=M(this.long0+r,this.over),e.y=i,e}var Yi,Xi;function Zi(){return(Zi=e((()=>{_(),N(),Wi(),Yi=[`Lambert Azimuthal Equal Area`,`Lambert_Azimuthal_Equal_Area`,`laea`],Xi={init:Ki,forward:qi,inverse:Ji,names:Yi,S_POLE:1,N_POLE:2,EQUIT:3,OBLIQ:4}})))()}function J(e){return Math.abs(e)>1&&(e=e>1?1:-1),Math.asin(e)}function Qi(){Math.abs(this.lat1+this.lat2)<1e-10||(this.temp=this.b/this.a,this.es=1-this.temp**2,this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=j(this.e3,this.sin_po,this.cos_po),this.qs1=q(this.e3,this.sin_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=j(this.e3,this.sin_po,this.cos_po),this.qs2=q(this.e3,this.sin_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=q(this.e3,this.sin_po),this.ns0=Math.abs(this.lat1-this.lat2)>1e-10?(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)}function $i(e){var t=e.x,n=e.y;this.sin_phi=Math.sin(n),this.cos_phi=Math.cos(n);var r=q(this.e3,this.sin_phi),i=this.a*Math.sqrt(this.c-this.ns0*r)/this.ns0,a=this.ns0*M(t-this.long0,this.over),o=i*Math.sin(a)+this.x0,s=this.rh-i*Math.cos(a)+this.y0;return e.x=o,e.y=s,e}function ea(e){var t,n,r,i,a,o;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),r=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),r=-1),i=0,t!==0&&(i=Math.atan2(r*e.x,r*e.y)),r=t*this.ns0/this.a,this.sphere?o=Math.asin((this.c-r*r)/(2*this.ns0)):(n=(this.c-r*r)/this.ns0,o=this.phi1z(this.e3,n)),a=M(i/this.ns0+this.long0,this.over),e.x=a,e.y=o,e}function ta(e,t){var n,r,i,a,o,s=J(.5*t);if(e<1e-10)return s;for(var c=e*e,l=1;l<=25;l++)if(n=Math.sin(s),r=Math.cos(s),i=e*n,a=1-i*i,o=.5*a*a/r*(t/(1-c)-n/a+.5/e*Math.log((1-i)/(1+i))),s+=o,Math.abs(o)<=1e-7)return s;return null}var na,ra;function ia(){return(ia=e((()=>{N(),_(),na=[`Albers_Conic_Equal_Area`,`Albers_Equal_Area`,`Albers`,`aea`],ra={init:Qi,forward:$i,inverse:ea,names:na,phi1z:ta}})))()}function aa(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0),this.infinity_dist=1e3*this.a,this.rc=1}function oa(e){var t,n,r,i,a,o,s,c,l=e.x,u=e.y;return r=M(l-this.long0,this.over),t=Math.sin(u),n=Math.cos(u),i=Math.cos(r),o=this.sin_p14*t+this.cos_p14*n*i,a=1,o>0||Math.abs(o)<=1e-10?(s=this.x0+this.a*a*n*Math.sin(r)/o,c=this.y0+this.a*a*(this.cos_p14*t-this.sin_p14*n*i)/o):(s=this.x0+this.infinity_dist*n*Math.sin(r),c=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*n*i)),e.x=s,e.y=c,e}function sa(e){var t,n,r,i,a,o;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(i=Math.atan2(t,this.rc),n=Math.sin(i),r=Math.cos(i),o=J(r*this.sin_p14+e.y*n*this.cos_p14/t),a=Math.atan2(e.x*n,t*this.cos_p14*r-e.y*this.sin_p14*n),a=M(this.long0+a,this.over)):(o=this.phic0,a=0),e.x=a,e.y=o,e}var ca,la;function ua(){return(ua=e((()=>{N(),_(),ca=[`gnom`],la={init:aa,forward:oa,inverse:sa,names:ca}})))()}function da(e,t){var n=1-(1-e*e)/(2*e)*Math.log((1-e)/(1+e));if(Math.abs(Math.abs(t)-n)<1e-6)return t<0?-1*s:s;for(var r=Math.asin(.5*t),i,a,o,c,l=0;l<30;l++)if(a=Math.sin(r),o=Math.cos(r),c=e*a,i=(1-c*c)**2/(2*o)*(t/(1-e*e)-a/(1-c*c)+.5/e*Math.log((1-c)/(1+c))),r+=i,Math.abs(i)<=1e-10)return r;return NaN}function fa(){return(fa=e((()=>{_()})))()}function pa(){this.sphere||(this.k0=j(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))}function ma(e){var t=e.x,n=e.y,r,i,a=M(t-this.long0,this.over);if(this.sphere)r=this.x0+this.a*a*Math.cos(this.lat_ts),i=this.y0+this.a*Math.sin(n)/Math.cos(this.lat_ts);else{var o=q(this.e,Math.sin(n));r=this.x0+this.a*this.k0*a,i=this.y0+this.a*o*.5/this.k0}return e.x=r,e.y=i,e}function ha(e){e.x-=this.x0,e.y-=this.y0;var t,n;return this.sphere?(t=M(this.long0+e.x/this.a/Math.cos(this.lat_ts),this.over),n=Math.asin(e.y/this.a*Math.cos(this.lat_ts))):(n=da(this.e,2*e.y*this.k0/this.a),t=M(this.long0+e.x/(this.a*this.k0),this.over)),e.x=t,e.y=n,e}var ga,_a;function va(){return(va=e((()=>{N(),fa(),ga=[`cea`],_a={init:pa,forward:ma,inverse:ha,names:ga}})))()}function ya(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||`Equidistant Cylindrical (Plate Carre)`,this.rc=Math.cos(this.lat_ts)}function ba(e){var t=e.x,n=e.y,r=M(t-this.long0,this.over),i=G(n-this.lat0);return e.x=this.x0+this.a*r*this.rc,e.y=this.y0+this.a*i,e}function xa(e){var t=e.x,n=e.y;return e.x=M(this.long0+(t-this.x0)/(this.a*this.rc),this.over),e.y=G(this.lat0+(n-this.y0)/this.a),e}var Sa,Ca;function wa(){return(wa=e((()=>{N(),K(),Sa=[`Equirectangular`,`Equidistant_Cylindrical`,`Equidistant_Cylindrical_Spherical`,`eqc`],Ca={init:ya,forward:ba,inverse:xa,names:Sa}})))()}function Ta(){this.temp=this.b/this.a,this.es=1-this.temp**2,this.e=Math.sqrt(this.es),this.e0=Ti(this.es),this.e1=Ei(this.es),this.e2=Di(this.es),this.e3=Oi(this.es),this.ml0=this.a*W(this.e0,this.e1,this.e2,this.e3,this.lat0)}function Ea(e){var t=e.x,n=e.y,r,i,a,o=M(t-this.long0,this.over);if(a=o*Math.sin(n),this.sphere)Math.abs(n)<=1e-10?(r=this.a*o,i=-1*this.a*this.lat0):(r=this.a*Math.sin(a)/Math.tan(n),i=this.a*(G(n-this.lat0)+(1-Math.cos(a))/Math.tan(n)));else if(Math.abs(n)<=1e-10)r=this.a*o,i=-1*this.ml0;else{var s=ki(this.a,this.e,Math.sin(n))/Math.tan(n);r=s*Math.sin(a),i=this.a*W(this.e0,this.e1,this.e2,this.e3,n)-this.ml0+s*(1-Math.cos(a))}return e.x=r+this.x0,e.y=i+this.y0,e}function Da(e){var t,n,r=e.x-this.x0,i=e.y-this.y0,a,o,s,c,l;if(this.sphere){if(Math.abs(i+this.a*this.lat0)<=1e-10)t=M(r/this.a+this.long0,this.over),n=0;else{o=this.lat0+i/this.a,s=r*r/this.a/this.a+o*o,c=o;var u;for(a=Oa;a;--a)if(u=Math.tan(c),l=-1*(o*(c*u+1)-c-.5*(c*c+s)*u)/((c-o)/u-1),c+=l,Math.abs(l)<=1e-10){n=c;break}t=M(this.long0+Math.asin(r*Math.tan(c)/this.a)/Math.sin(n),this.over)}}else if(Math.abs(i+this.ml0)<=1e-10)n=0,t=M(this.long0+r/this.a,this.over);else{o=(this.ml0+i)/this.a,s=r*r/this.a/this.a+o*o,c=o;var d,f,p,m,h;for(a=Oa;a;--a)if(h=this.e*Math.sin(c),d=Math.sqrt(1-h*h)*Math.tan(c),f=this.a*W(this.e0,this.e1,this.e2,this.e3,c),p=this.e0-2*this.e1*Math.cos(2*c)+4*this.e2*Math.cos(4*c)-6*this.e3*Math.cos(6*c),m=f/this.a,l=(o*(d*m+1)-m-.5*d*(m*m+s))/(this.es*Math.sin(2*c)*(m*m+s-2*o*m)/(4*d)+(o-m)*(d*p-2/Math.sin(2*c))-p),c-=l,Math.abs(l)<=1e-10){n=c;break}d=Math.sqrt(1-this.es*Math.sin(n)**2)*Math.tan(n),t=M(this.long0+Math.asin(r*d/this.a)/Math.sin(n),this.over)}return e.x=t,e.y=n,e}var Oa,ka,Aa;function ja(){return(ja=e((()=>{N(),K(),_(),Oa=20,ka=[`Polyconic`,`American_Polyconic`,`poly`],Aa={init:Ta,forward:Ea,inverse:Da,names:ka}})))()}function Ma(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013}function Na(e){var t,n=e.x,r=e.y-this.lat0,i=n-this.long0,a=r/o*1e-5,s=i,c=1,l=0;for(t=1;t<=10;t++)c*=a,l+=this.A[t]*c;var u=l,d=s,f=1,p=0,m,h,g=0,_=0;for(t=1;t<=6;t++)m=f*u-p*d,h=p*u+f*d,f=m,p=h,g=g+this.B_re[t]*f-this.B_im[t]*p,_=_+this.B_im[t]*f+this.B_re[t]*p;return e.x=_*this.a+this.x0,e.y=g*this.a+this.y0,e}function Pa(e){var t,n=e.x,r=e.y,i=n-this.x0,a=(r-this.y0)/this.a,s=i/this.a,c=1,l=0,u,d,f=0,p=0;for(t=1;t<=6;t++)u=c*a-l*s,d=l*a+c*s,c=u,l=d,f=f+this.C_re[t]*c-this.C_im[t]*l,p=p+this.C_im[t]*c+this.C_re[t]*l;for(var m=0;m<this.iterations;m++){var h=f,g=p,_,v,y=a,b=s;for(t=2;t<=6;t++)_=h*f-g*p,v=g*f+h*p,h=_,g=v,y+=(t-1)*(this.B_re[t]*h-this.B_im[t]*g),b+=(t-1)*(this.B_im[t]*h+this.B_re[t]*g);h=1,g=0;var x=this.B_re[1],S=this.B_im[1];for(t=2;t<=6;t++)_=h*f-g*p,v=g*f+h*p,h=_,g=v,x+=t*(this.B_re[t]*h-this.B_im[t]*g),S+=t*(this.B_im[t]*h+this.B_re[t]*g);var C=x*x+S*S;f=(y*x+b*S)/C,p=(b*x-y*S)/C}var w=f,T=p,E=1,D=0;for(t=1;t<=9;t++)E*=w,D+=this.D[t]*E;var ee=this.lat0+D*o*1e5;return e.x=this.long0+T,e.y=ee,e}var Fa,Ia;function La(){return(La=e((()=>{_(),Fa=[`New_Zealand_Map_Grid`,`nzmg`],Ia={init:Ma,forward:Na,inverse:Pa,names:Fa,iterations:1}})))()}function Ra(){}function za(e){var t=e.x,n=e.y,r=M(t-this.long0,this.over),i=this.x0+this.a*r,a=this.y0+this.a*Math.log(Math.tan(Math.PI/4+n/2.5))*1.25;return e.x=i,e.y=a,e}function Ba(e){e.x-=this.x0,e.y-=this.y0;var t=M(this.long0+e.x/this.a,this.over),n=2.5*(Math.atan(Math.exp(.8*e.y/this.a))-Math.PI/4);return e.x=t,e.y=n,e}var Va,Ha;function Ua(){return(Ua=e((()=>{N(),Va=[`Miller_Cylindrical`,`mill`],Ha={init:Ra,forward:za,inverse:Ba,names:Va}})))()}function Wa(){this.long0=this.long0||0,this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=Vn(this.es)}function Ga(e){var t,n,r=e.x,i=e.y;if(r=M(r-this.long0,this.over),this.sphere){if(!this.m)i=this.n===1?i:Math.asin(this.n*Math.sin(i));else for(var a=this.n*Math.sin(i),o=qa;o;--o){var s=(this.m*i+Math.sin(i)-a)/(this.m+Math.cos(i));if(i-=s,Math.abs(s)<1e-10)break}t=this.a*this.C_x*r*(this.m+Math.cos(i)),n=this.a*this.C_y*i}else{var c=Math.sin(i),l=Math.cos(i);n=this.a*tr(i,c,l,this.en),t=this.a*r*l/Math.sqrt(1-this.es*c*c)}return e.x=t,e.y=n,e}function Ka(e){var t,n,r,i;return e.x-=this.x0,r=e.x/this.a,e.y-=this.y0,t=e.y/this.a,this.sphere?(t/=this.C_y,r/=this.C_x*(this.m+Math.cos(t)),this.m?t=J((this.m*t+Math.sin(t))/this.n):this.n!==1&&(t=J(Math.sin(t)/this.n)),r=M(r+this.long0,this.over),t=G(t)):(t=nr(e.y/this.a,this.es,this.en),i=Math.abs(t),i<s?(i=Math.sin(t),n=this.long0+e.x*Math.sqrt(1-this.es*i*i)/(this.a*Math.cos(t)),r=M(n,this.over)):i-1e-10<s&&(r=this.long0)),e.x=r,e.y=t,e}var qa,Ja,Ya;function Xa(){return(Xa=e((()=>{N(),K(),er(),ir(),_(),qa=20,Ja=[`Sinusoidal`,`sinu`],Ya={init:Wa,forward:Ga,inverse:Ka,names:Ja}})))()}function Za(){this.sphere=!0,this.b=this.a,this.m=1,this.n=2.5707963267948966,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)}var Qa,$a,eo,to;function no(){return(no=e((()=>{Xa(),Qa=Ga,$a=Ka,eo=[`Eckert_VI`,`eck6`],to={init:Za,forward:Qa,inverse:$a,names:eo}})))()}function ro(){this.x0=this.x0===void 0?0:this.x0,this.y0=this.y0===void 0?0:this.y0,this.long0=this.long0===void 0?0:this.long0}function io(e){for(var t=e.x,n=e.y,r=M(t-this.long0,this.over),i=n,a=Math.PI*Math.sin(n);;){var o=-(i+Math.sin(i)-a)/(1+Math.cos(i));if(i+=o,Math.abs(o)<1e-10)break}i/=2,Math.PI/2-Math.abs(n)<1e-10&&(r=0);var s=.900316316158*this.a*r*Math.cos(i)+this.x0,c=1.4142135623731*this.a*Math.sin(i)+this.y0;return e.x=s,e.y=c,e}function ao(e){var t,n;e.x-=this.x0,e.y-=this.y0,n=e.y/(1.4142135623731*this.a),Math.abs(n)>.999999999999&&(n=.999999999999),t=Math.asin(n);var r=M(this.long0+e.x/(.900316316158*this.a*Math.cos(t)),this.over);r<-Math.PI&&(r=-Math.PI),r>Math.PI&&(r=Math.PI),n=(2*t+Math.sin(2*t))/Math.PI,Math.abs(n)>1&&(n=1);var i=Math.asin(n);return e.x=r,e.y=i,e}var oo,so;function co(){return(co=e((()=>{N(),_(),oo=[`Mollweide`,`moll`],so={init:ro,forward:io,inverse:ao,names:oo}})))()}function lo(){Math.abs(this.lat1+this.lat2)<1e-10||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-this.temp**2,this.e=Math.sqrt(this.es),this.e0=Ti(this.es),this.e1=Ei(this.es),this.e2=Di(this.es),this.e3=Oi(this.es),this.sin_phi=Math.sin(this.lat1),this.cos_phi=Math.cos(this.lat1),this.ms1=j(this.e,this.sin_phi,this.cos_phi),this.ml1=W(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<1e-10?this.ns=this.sin_phi:(this.sin_phi=Math.sin(this.lat2),this.cos_phi=Math.cos(this.lat2),this.ms2=j(this.e,this.sin_phi,this.cos_phi),this.ml2=W(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=W(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))}function uo(e){var t=e.x,n=e.y,r;if(this.sphere)r=this.a*(this.g-n);else{var i=W(this.e0,this.e1,this.e2,this.e3,n);r=this.a*(this.g-i)}var a=this.ns*M(t-this.long0,this.over),o=this.x0+r*Math.sin(a),s=this.y0+this.rh-r*Math.cos(a);return e.x=o,e.y=s,e}function fo(e){e.x-=this.x0,e.y=this.rh-e.y+this.y0;var t,n,r,i;this.ns>=0?(n=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(n=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var a=0;return n!==0&&(a=Math.atan2(t*e.x,t*e.y)),this.sphere?(i=M(this.long0+a/this.ns,this.over),r=G(this.g-n/this.a),e.x=i,e.y=r,e):(r=Ai(this.g-n/this.a,this.e0,this.e1,this.e2,this.e3),i=M(this.long0+a/this.ns,this.over),e.x=i,e.y=r,e)}var po,mo;function ho(){return(ho=e((()=>{N(),K(),_(),po=[`Equidistant_Conic`,`eqdc`],mo={init:lo,forward:uo,inverse:fo,names:po}})))()}function go(){this.R=this.a}function _o(e){var t=e.x,n=e.y,r=M(t-this.long0,this.over),i,a;if(Math.abs(n)<=1e-10)return i=this.x0+this.R*r,a=this.y0,e.x=i,e.y=a,e;var o=J(2*Math.abs(n/Math.PI));if(Math.abs(r)<=1e-10||Math.abs(Math.abs(n)-s)<=1e-10)return i=this.x0,a=n>=0?this.y0+Math.PI*this.R*Math.tan(.5*o):this.y0+Math.PI*this.R*-Math.tan(.5*o),e.x=i,e.y=a,e;var c=.5*Math.abs(Math.PI/r-r/Math.PI),l=c*c,u=Math.sin(o),d=Math.cos(o),f=d/(u+d-1),p=f*f,m=f*(2/u-1),h=m*m,g=Math.PI*this.R*(c*(f-h)+Math.sqrt(l*(f-h)*(f-h)-(h+l)*(p-h)))/(h+l);r<0&&(g=-g),i=this.x0+g;var _=l+f;return g=Math.PI*this.R*(m*_-c*Math.sqrt((h+l)*(l+1)-_*_))/(h+l),a=n>=0?this.y0+g:this.y0-g,e.x=i,e.y=a,e}function vo(e){var t,n,r,i,a,o,s,c,l,u,d,f,p;return e.x-=this.x0,e.y-=this.y0,d=Math.PI*this.R,r=e.x/d,i=e.y/d,a=r*r+i*i,o=-Math.abs(i)*(1+a),s=o-2*i*i+r*r,c=-2*o+1+2*i*i+a*a,p=i*i/c+(2*s*s*s/c/c/c-9*o*s/c/c)/27,l=(o-s*s/3/c)/c,u=2*Math.sqrt(-l/3),d=3*p/l/u,Math.abs(d)>1&&(d=d>=0?1:-1),f=Math.acos(d)/3,n=e.y>=0?(-u*Math.cos(f+Math.PI/3)-s/3/c)*Math.PI:-(-u*Math.cos(f+Math.PI/3)-s/3/c)*Math.PI,t=Math.abs(r)<1e-10?this.long0:M(this.long0+Math.PI*(a-1+Math.sqrt(1+2*(r*r-i*i)+a*a))/2/r,this.over),e.x=t,e.y=n,e}var yo,bo;function xo(){return(xo=e((()=>{N(),_(),yo=[`Van_der_Grinten_I`,`VanDerGrinten`,`Van_der_Grinten`,`vandg`],bo={init:go,forward:_o,inverse:vo,names:yo}})))()}function So(e,t,n,r,i,a){let o=r-t,s=Math.atan((1-a)*Math.tan(e)),c=Math.atan((1-a)*Math.tan(n)),l=Math.sin(s),u=Math.cos(s),d=Math.sin(c),f=Math.cos(c),p=o,m,h=100,g,_,v,y,b,x,S,C,w,T,E,D,ee,te;do{if(g=Math.sin(p),_=Math.cos(p),v=Math.sqrt(f*g*(f*g)+(u*d-l*f*_)*(u*d-l*f*_)),v===0)return{azi1:0,s12:0};y=l*d+u*f*_,b=Math.atan2(v,y),x=u*f*g/v,S=1-x*x,C=S===0?0:y-2*l*d/S,w=a/16*S*(4+a*(4-3*S)),m=p,p=o+(1-w)*a*x*(b+w*v*(C+w*y*(-1+2*C*C)))}while(Math.abs(p-m)>1e-12&&--h>0);return h===0?{azi1:NaN,s12:NaN}:(T=S*(i*i-i*(1-a)*(i*(1-a)))/(i*(1-a)*(i*(1-a))),E=1+T/16384*(4096+T*(-768+T*(320-175*T))),D=T/1024*(256+T*(-128+T*(74-47*T))),ee=D*v*(C+D/4*(y*(-1+2*C*C)-D/6*C*(-3+4*v*v)*(-3+4*C*C))),te=i*(1-a)*E*(b-ee),{azi1:Math.atan2(f*g,u*d-l*f*_),s12:te})}function Co(e,t,n,r,i,a){let o=Math.atan((1-a)*Math.tan(e)),s=Math.sin(o),c=Math.cos(o),l=Math.sin(n),u=Math.cos(n),d=Math.atan2(s,c*u),f=c*l,p=1-f*f,m=p*(i*i-i*(1-a)*(i*(1-a)))/(i*(1-a)*(i*(1-a))),h=1+m/16384*(4096+m*(-768+m*(320-175*m))),g=m/1024*(256+m*(-128+m*(74-47*m))),_=r/(i*(1-a)*h),v,y=100,b,x,S,C;do b=Math.cos(2*d+_),x=Math.sin(_),S=Math.cos(_),C=g*x*(b+g/4*(S*(-1+2*b*b)-g/6*b*(-3+4*x*x)*(-3+4*b*b))),v=_,_=r/(i*(1-a)*h)+C;while(Math.abs(_-v)>1e-12&&--y>0);if(y===0)return{lat2:NaN,lon2:NaN};let w=s*x-c*S*u,T=Math.atan2(s*S+c*x*u,(1-a)*Math.sqrt(f*f+w*w)),E=Math.atan2(x*l,c*S-s*x*u),D=a/16*p*(4+a*(4-3*p));return{lat2:T,lon2:t+(E-(1-D)*a*f*(_+D*x*(b+D*S*(-1+2*b*b))))}}function wo(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0),this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,this.f=this.es/(1+Math.sqrt(1-this.es))}function To(e){var t=e.x,n=e.y,r=Math.sin(e.y),i=Math.cos(e.y),a=M(t-this.long0,this.over),o,c,l,u,d,f,p,m,h,g,_;return this.sphere?Math.abs(this.sin_p12-1)<=1e-10?(e.x=this.x0+this.a*(s-n)*Math.sin(a),e.y=this.y0-this.a*(s-n)*Math.cos(a),e):Math.abs(this.sin_p12+1)<=1e-10?(e.x=this.x0+this.a*(s+n)*Math.sin(a),e.y=this.y0+this.a*(s+n)*Math.cos(a),e):(h=this.sin_p12*r+this.cos_p12*i*Math.cos(a),p=Math.acos(h),m=p?p/Math.sin(p):1,e.x=this.x0+this.a*m*i*Math.sin(a),e.y=this.y0+this.a*m*(this.cos_p12*r-this.sin_p12*i*Math.cos(a)),e):(o=Ti(this.es),c=Ei(this.es),l=Di(this.es),u=Oi(this.es),Math.abs(this.sin_p12-1)<=1e-10?(d=this.a*W(o,c,l,u,s),f=this.a*W(o,c,l,u,n),e.x=this.x0+(d-f)*Math.sin(a),e.y=this.y0-(d-f)*Math.cos(a),e):Math.abs(this.sin_p12+1)<=1e-10?(d=this.a*W(o,c,l,u,s),f=this.a*W(o,c,l,u,n),e.x=this.x0+(d+f)*Math.sin(a),e.y=this.y0+(d+f)*Math.cos(a),e):Math.abs(t)<1e-10&&Math.abs(n-this.lat0)<1e-10?(e.x=this.x0,e.y=this.y0,e):(g=So(this.lat0,this.long0,n,t,this.a,this.f),_=g.azi1,e.x=this.x0+g.s12*Math.sin(_),e.y=this.y0+g.s12*Math.cos(_),e))}function Eo(e){e.x-=this.x0,e.y-=this.y0;var t,n,r,i,a,o,c,l,u,d,f,p,m,h,g,_;return this.sphere?(t=Math.sqrt(e.x*e.x+e.y*e.y),t>2*s*this.a?void 0:(n=t/this.a,r=Math.sin(n),i=Math.cos(n),a=this.long0,Math.abs(t)<=1e-10?o=this.lat0:(o=J(i*this.sin_p12+e.y*r*this.cos_p12/t),c=Math.abs(this.lat0)-s,a=Math.abs(c)<=1e-10?this.lat0>=0?M(this.long0+Math.atan2(e.x,-e.y),this.over):M(this.long0-Math.atan2(-e.x,e.y),this.over):M(this.long0+Math.atan2(e.x*r,t*this.cos_p12*i-e.y*this.sin_p12*r),this.over)),e.x=a,e.y=o,e)):(l=Ti(this.es),u=Ei(this.es),d=Di(this.es),f=Oi(this.es),Math.abs(this.sin_p12-1)<=1e-10?(p=this.a*W(l,u,d,f,s),t=Math.sqrt(e.x*e.x+e.y*e.y),m=p-t,o=Ai(m/this.a,l,u,d,f),a=M(this.long0+Math.atan2(e.x,-1*e.y),this.over),e.x=a,e.y=o,e):Math.abs(this.sin_p12+1)<=1e-10?(p=this.a*W(l,u,d,f,s),t=Math.sqrt(e.x*e.x+e.y*e.y),m=t-p,o=Ai(m/this.a,l,u,d,f),a=M(this.long0+Math.atan2(e.x,e.y),this.over),e.x=a,e.y=o,e):(h=Math.atan2(e.x,e.y),g=Math.sqrt(e.x*e.x+e.y*e.y),_=Co(this.lat0,this.long0,h,g,this.a,this.f),e.x=_.lon2,e.y=_.lat2,e))}var Do,Oo;function ko(){return(ko=e((()=>{N(),_(),Do=[`Azimuthal_Equidistant`,`aeqd`],Oo={init:wo,forward:To,inverse:Eo,names:Do}})))()}function Ao(){this.sin_p14=Math.sin(this.lat0||0),this.cos_p14=Math.cos(this.lat0||0)}function jo(e){var t,n,r,i,a,o,s,c,l=e.x,u=e.y;return r=M(l-(this.long0||0),this.over),t=Math.sin(u),n=Math.cos(u),i=Math.cos(r),o=this.sin_p14*t+this.cos_p14*n*i,a=1,(o>0||Math.abs(o)<=1e-10)&&(s=(this.x0||0)+this.a*a*n*Math.sin(r),c=(this.y0||0)+this.a*a*(this.cos_p14*t-this.sin_p14*n*i)),e.x=s,e.y=c,e}function Mo(e){var t,n,r,i,a,o,c,l,u;return e.x-=this.x0||0,e.y-=this.y0||0,t=Math.sqrt(e.x*e.x+e.y*e.y),n=J(t/this.a),r=Math.sin(n),i=Math.cos(n),l=this.long0||0,u=this.lat0||0,o=l,Math.abs(t)<=1e-10?(c=u,e.x=o,e.y=c,e):(c=J(i*this.sin_p14+e.y*r*this.cos_p14/t),a=Math.abs(u)-s,Math.abs(a)<=1e-10?(o=M(u>=0?l+Math.atan2(e.x,-e.y):l-Math.atan2(-e.x,e.y),this.over),e.x=o,e.y=c,e):(o=M(l+Math.atan2(e.x*r,t*this.cos_p14*i-e.y*this.sin_p14*r),this.over),e.x=o,e.y=c,e))}var No,Po;function Fo(){return(Fo=e((()=>{N(),_(),No=[`ortho`],Po={init:Ao,forward:jo,inverse:Mo,names:No}})))()}function Io(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||`Quadrilateralized Spherical Cube`,this.face=this.lat0>=s-m/2?Y.TOP:this.lat0<=-(s-m/2)?Y.BOTTOM:Math.abs(this.long0)<=m?Y.FRONT:Math.abs(this.long0)<=s+m?this.long0>0?Y.RIGHT:Y.LEFT:Y.BACK,this.es!==0&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)}function Lo(e){var t={x:0,y:0},n,r,i,a,o,c,l={value:0};if(e.x-=this.long0,n=this.es===0?e.y:Math.atan(this.one_minus_f_squared*Math.tan(e.y)),r=e.x,this.face===Y.TOP)a=s-n,r>=m&&r<=s+m?(l.value=X.AREA_0,i=r-s):r>s+m||r<=-(s+m)?(l.value=X.AREA_1,i=r>0?r-g:r+g):r>-(s+m)&&r<=-m?(l.value=X.AREA_2,i=r+s):(l.value=X.AREA_3,i=r);else if(this.face===Y.BOTTOM)a=s+n,r>=m&&r<=s+m?(l.value=X.AREA_0,i=-r+s):r<m&&r>=-m?(l.value=X.AREA_1,i=-r):r<-m&&r>=-(s+m)?(l.value=X.AREA_2,i=-r-s):(l.value=X.AREA_3,i=r>0?-r+g:-r-g);else{var u,d,f,p,h,_,v;this.face===Y.RIGHT?r=Bo(r,+s):this.face===Y.BACK?r=Bo(r,+g):this.face===Y.LEFT&&(r=Bo(r,-s)),p=Math.sin(n),h=Math.cos(n),_=Math.sin(r),v=Math.cos(r),u=h*v,d=h*_,f=p,this.face===Y.FRONT?(a=Math.acos(u),i=zo(a,f,d,l)):this.face===Y.RIGHT?(a=Math.acos(d),i=zo(a,f,-u,l)):this.face===Y.BACK?(a=Math.acos(-u),i=zo(a,f,-d,l)):this.face===Y.LEFT?(a=Math.acos(-d),i=zo(a,f,u,l)):(a=i=0,l.value=X.AREA_0)}return c=Math.atan(12/g*(i+Math.acos(Math.sin(i)*Math.cos(m))-s)),o=Math.sqrt((1-Math.cos(a))/(Math.cos(c)*Math.cos(c))/(1-Math.cos(Math.atan(1/Math.cos(i))))),l.value===X.AREA_1?c+=s:l.value===X.AREA_2?c+=g:l.value===X.AREA_3&&(c+=1.5*g),t.x=o*Math.cos(c),t.y=o*Math.sin(c),t.x=t.x*this.a+this.x0,t.y=t.y*this.a+this.y0,e.x=t.x,e.y=t.y,e}function Ro(e){var t={lam:0,phi:0},n,r,i,a,o,c,l,u,d,f={value:0};if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,r=Math.atan(Math.sqrt(e.x*e.x+e.y*e.y)),n=Math.atan2(e.y,e.x),e.x>=0&&e.x>=Math.abs(e.y)?f.value=X.AREA_0:e.y>=0&&e.y>=Math.abs(e.x)?(f.value=X.AREA_1,n-=s):e.x<0&&-e.x>=Math.abs(e.y)?(f.value=X.AREA_2,n=n<0?n+g:n-g):(f.value=X.AREA_3,n+=s),d=g/12*Math.tan(n),o=Math.sin(d)/(Math.cos(d)-1/Math.sqrt(2)),c=Math.atan(o),i=Math.cos(n),a=Math.tan(r),l=1-i*i*a*a*(1-Math.cos(Math.atan(1/Math.cos(c)))),l<-1?l=-1:l>1&&(l=1),this.face===Y.TOP)u=Math.acos(l),t.phi=s-u,t.lam=f.value===X.AREA_0?c+s:f.value===X.AREA_1?c<0?c+g:c-g:f.value===X.AREA_2?c-s:c;else if(this.face===Y.BOTTOM)u=Math.acos(l),t.phi=u-s,t.lam=f.value===X.AREA_0?-c+s:f.value===X.AREA_1?-c:f.value===X.AREA_2?-c-s:c<0?-c-g:-c+g;else{var p=l,m,h;d=p*p,h=d>=1?0:Math.sqrt(1-d)*Math.sin(c),d+=h*h,m=d>=1?0:Math.sqrt(1-d),f.value===X.AREA_1?(d=m,m=-h,h=d):f.value===X.AREA_2?(m=-m,h=-h):f.value===X.AREA_3&&(d=m,m=h,h=-d),this.face===Y.RIGHT?(d=p,p=-m,m=d):this.face===Y.BACK?(p=-p,m=-m):this.face===Y.LEFT&&(d=p,p=m,m=-d),t.phi=Math.acos(-h)-s,t.lam=Math.atan2(m,p),this.face===Y.RIGHT?t.lam=Bo(t.lam,-s):this.face===Y.BACK?t.lam=Bo(t.lam,-g):this.face===Y.LEFT&&(t.lam=Bo(t.lam,+s))}if(this.es!==0){var _=+(t.phi<0),v=Math.tan(t.phi),y=this.b/Math.sqrt(v*v+this.one_minus_f_squared);t.phi=Math.atan(Math.sqrt(this.a*this.a-y*y)/(this.one_minus_f*y)),_&&(t.phi=-t.phi)}return t.lam+=this.long0,e.x=t.lam,e.y=t.phi,e}function zo(e,t,n,r){var i;return e<1e-10?(r.value=X.AREA_0,i=0):(i=Math.atan2(t,n),Math.abs(i)<=m?r.value=X.AREA_0:i>m&&i<=s+m?(r.value=X.AREA_1,i-=s):i>s+m||i<=-(s+m)?(r.value=X.AREA_2,i=i>=0?i-g:i+g):(r.value=X.AREA_3,i+=s)),i}function Bo(e,t){var n=e+t;return n<-3.14159265359?n+=h:n>3.14159265359&&(n-=h),n}var Y,X,Vo,Ho;function Uo(){return(Uo=e((()=>{_(),Y={FRONT:1,RIGHT:2,BACK:3,LEFT:4,TOP:5,BOTTOM:6},X={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4},Vo=[`Quadrilateralized Spherical Cube`,`Quadrilateralized_Spherical_Cube`,`qsc`],Ho={init:Io,forward:Lo,inverse:Ro,names:Vo}})))()}function Wo(e,t,n,r){for(var i=t;r;--r){var a=e(i);if(i-=a,Math.abs(a)<n)break}return i}function Go(){this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,this.es=0,this.title=this.title||`Robinson`}function Ko(e){var t=M(e.x-this.long0,this.over),n=Math.abs(e.y),r=Math.floor(n*Qo);r<0?r=0:r>=Z&&(r=Z-1),n=p*(n-$o*r);var i={x:es(Jo[r],n)*t,y:es(Yo[r],n)};return e.y<0&&(i.y=-i.y),i.x=i.x*this.a*Xo+this.x0,i.y=i.y*this.a*Zo+this.y0,e.z!==void 0&&(i.z=e.z),e.m!==void 0&&(i.m=e.m),i}function qo(e){var t={x:(e.x-this.x0)/(this.a*Xo),y:Math.abs(e.y-this.y0)/(this.a*Zo)};if(t.y>=1)t.x/=Jo[Z][0],t.y=e.y<0?-s:s;else{var n=Math.floor(t.y*Z);for(n<0?n=0:n>=Z&&(n=Z-1);;)if(Yo[n][0]>t.y)--n;else if(Yo[n+1][0]<=t.y)++n;else break;var r=Yo[n],i=5*(t.y-r[0])/(Yo[n+1][0]-r[0]);i=Wo(function(e){return(es(r,e)-t.y)/ts(r,e)},i,d,100),t.x/=es(Jo[n],i),t.y=(5*n+i)*f,e.y<0&&(t.y=-t.y)}return t.x=M(t.x+this.long0,this.over),e.z!==void 0&&(t.z=e.z),e.m!==void 0&&(t.m=e.m),t}var Jo,Yo,Xo,Zo,Qo,$o,Z,es,ts,ns,rs;function is(){return(is=e((()=>{_(),N(),Jo=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-9.86701e-7],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,1.8736e-8],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,9.34959e-7],[.7986,-.00755338,-500009e-10,9.35324e-7],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],Yo=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-1.26793e-9,422642e-15],[.124,.0124,5.07171e-9,-1.60604e-9],[.186,.0123999,-1.90189e-8,6.00152e-9],[.248,.0124002,7.10039e-8,-2.24e-8],[.31,.0123992,-2.64997e-7,8.35986e-8],[.372,.0124029,9.88983e-7,-3.11994e-7],[.434,.0123893,-369093e-11,-4.35621e-7],[.4958,.0123198,-102252e-10,-3.45523e-7],[.5571,.0121916,-154081e-10,-5.82288e-7],[.6176,.0119938,-241424e-10,-5.25327e-7],[.6769,.011713,-320223e-10,-5.16405e-7],[.7346,.0113541,-397684e-10,-6.09052e-7],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-1.40374e-9],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],Xo=.8487,Zo=1.3523,Qo=p/5,$o=1/Qo,Z=18,es=function(e,t){return e[0]+t*(e[1]+t*(e[2]+t*e[3]))},ts=function(e,t){return e[1]+t*(2*e[2]+t*3*e[3])},ns=[`Robinson`,`robin`],rs={init:Go,forward:Ko,inverse:qo,names:ns}})))()}function as(){this.name=`geocent`}function os(e){return Ht(e,this.es,this.a)}function ss(e){return Ut(e,this.es,this.a,this.b)}var cs,ls;function us(){return(us=e((()=>{Kt(),cs=[`Geocentric`,`geocentric`,`geocent`,`Geocent`],ls={init:as,forward:os,inverse:ss,names:cs}})))()}function ds(){if(Object.keys($).forEach(function(e){if(this[e]===void 0)this[e]=$[e].def;else if($[e].num&&isNaN(this[e]))throw Error(`Invalid parameter value, must be numeric `+e+` = `+this[e]);else $[e].num&&(this[e]=parseFloat(this[e]));$[e].degrees&&(this[e]=this[e]*f)}.bind(this)),Math.abs(Math.abs(this.lat0)-s)<1e-10?this.mode=this.lat0<0?Q.S_POLE:Q.N_POLE:Math.abs(this.lat0)<1e-10?this.mode=Q.EQUIT:(this.mode=Q.OBLIQ,this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0)),this.pn1=this.h/this.a,this.pn1<=0||this.pn1>1e10)throw Error(`Invalid height`);this.p=1+this.pn1,this.rp=1/this.p,this.h1=1/this.pn1,this.pfact=(this.p+1)*this.h1,this.es=0;var e=this.tilt,t=this.azi;this.cg=Math.cos(t),this.sg=Math.sin(t),this.cw=Math.cos(e),this.sw=Math.sin(e)}function fs(e){e.x-=this.long0;var t=Math.sin(e.y),n=Math.cos(e.y),r=Math.cos(e.x),i,a;switch(this.mode){case Q.OBLIQ:a=this.sinph0*t+this.cosph0*n*r;break;case Q.EQUIT:a=n*r;break;case Q.S_POLE:a=-t;break;case Q.N_POLE:a=t}switch(a=this.pn1/(this.p-a),i=a*n*Math.sin(e.x),this.mode){case Q.OBLIQ:a*=this.cosph0*t-this.sinph0*n*r;break;case Q.EQUIT:a*=t;break;case Q.N_POLE:a*=-(n*r);break;case Q.S_POLE:a*=n*r}var o=a*this.cg+i*this.sg,s=1/(o*this.sw*this.h1+this.cw);return i=(i*this.cg-a*this.sg)*this.cw*s,a=o*s,e.x=i*this.a,e.y=a*this.a,e}function ps(e){e.x/=this.a,e.y/=this.a;var t={x:e.x,y:e.y},n,r,i=1/(this.pn1-e.y*this.sw);n=this.pn1*e.x*i,r=this.pn1*e.y*this.cw*i,e.x=n*this.cg+r*this.sg,e.y=r*this.cg-n*this.sg;var a=H(e.x,e.y);if(Math.abs(a)<1e-10)t.x=0,t.y=e.y;else{var o,s=1-a*a*this.pfact;switch(s=(this.p-Math.sqrt(s))/(this.pn1/a+a/this.pn1),o=Math.sqrt(1-s*s),this.mode){case Q.OBLIQ:t.y=Math.asin(o*this.sinph0+e.y*s*this.cosph0/a),e.y=(o-this.sinph0*Math.sin(t.y))*a,e.x*=s*this.cosph0;break;case Q.EQUIT:t.y=Math.asin(e.y*s/a),e.y=o*a,e.x*=s;break;case Q.N_POLE:t.y=Math.asin(o),e.y=-e.y;break;case Q.S_POLE:t.y=-Math.asin(o)}t.x=Math.atan2(e.x,e.y)}return e.x=t.x+this.long0,e.y=t.y,e}var Q,$,ms,hs;function gs(){return(gs=e((()=>{_(),Q={N_POLE:0,S_POLE:1,EQUIT:2,OBLIQ:3},$={h:{def:1e5,num:!0},azi:{def:0,num:!0,degrees:!0},tilt:{def:0,num:!0,degrees:!0},long0:{def:0,num:!0},lat0:{def:0,num:!0}},ms=[`Tilted_Perspective`,`tpers`],hs={init:ds,forward:fs,inverse:ps,names:ms}})))()}function _s(){if(this.flip_axis=+(this.sweep===`x`),this.h=Number(this.h),this.radius_g_1=this.h/this.a,this.radius_g_1<=0||this.radius_g_1>1e10)throw Error();if(this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,this.es!==0){var e=1-this.es,t=1/e;this.radius_p=Math.sqrt(e),this.radius_p2=e,this.radius_p_inv2=t,this.shape=`ellipse`}else this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape=`sphere`;this.title||=`Geostationary Satellite View`}function vs(e){var t=e.x,n=e.y,r,i,a,o;if(t-=this.long0,this.shape===`ellipse`){n=Math.atan(this.radius_p2*Math.tan(n));var s=this.radius_p/H(this.radius_p*Math.cos(n),Math.sin(n));if(i=s*Math.cos(t)*Math.cos(n),a=s*Math.sin(t)*Math.cos(n),o=s*Math.sin(n),(this.radius_g-i)*i-a*a-o*o*this.radius_p_inv2<0)return e.x=NaN,e.y=NaN,e;r=this.radius_g-i,this.flip_axis?(e.x=this.radius_g_1*Math.atan(a/H(o,r)),e.y=this.radius_g_1*Math.atan(o/r)):(e.x=this.radius_g_1*Math.atan(a/r),e.y=this.radius_g_1*Math.atan(o/H(a,r)))}else this.shape===`sphere`&&(r=Math.cos(n),i=Math.cos(t)*r,a=Math.sin(t)*r,o=Math.sin(n),r=this.radius_g-i,this.flip_axis?(e.x=this.radius_g_1*Math.atan(a/H(o,r)),e.y=this.radius_g_1*Math.atan(o/r)):(e.x=this.radius_g_1*Math.atan(a/r),e.y=this.radius_g_1*Math.atan(o/H(a,r))));return e.x*=this.a,e.y*=this.a,e}function ys(e){var t=-1,n=0,r=0,i,a,o,s;if(e.x/=this.a,e.y/=this.a,this.shape===`ellipse`){this.flip_axis?(r=Math.tan(e.y/this.radius_g_1),n=Math.tan(e.x/this.radius_g_1)*H(1,r)):(n=Math.tan(e.x/this.radius_g_1),r=Math.tan(e.y/this.radius_g_1)*H(1,n));var c=r/this.radius_p;if(i=n*n+c*c+t*t,a=2*this.radius_g*t,o=a*a-4*i*this.C,o<0)return e.x=NaN,e.y=NaN,e;s=(-a-Math.sqrt(o))/(2*i),t=this.radius_g+s*t,n*=s,r*=s,e.x=Math.atan2(n,t),e.y=Math.atan(r*Math.cos(e.x)/t),e.y=Math.atan(this.radius_p_inv2*Math.tan(e.y))}else if(this.shape===`sphere`){if(this.flip_axis?(r=Math.tan(e.y/this.radius_g_1),n=Math.tan(e.x/this.radius_g_1)*Math.sqrt(1+r*r)):(n=Math.tan(e.x/this.radius_g_1),r=Math.tan(e.y/this.radius_g_1)*Math.sqrt(1+n*n)),i=n*n+r*r+t*t,a=2*this.radius_g*t,o=a*a-4*i*this.C,o<0)return e.x=NaN,e.y=NaN,e;s=(-a-Math.sqrt(o))/(2*i),t=this.radius_g+s*t,n*=s,r*=s,e.x=Math.atan2(n,t),e.y=Math.atan(r*Math.cos(e.x)/t)}return e.x+=this.long0,e}var bs,xs;function Ss(){return(Ss=e((()=>{bs=[`Geostationary Satellite View`,`Geostationary_Satellite`,`geos`],xs={init:_s,forward:vs,inverse:ys,names:bs}})))()}function Cs(){this.long0=this.long0===void 0?0:this.long0,this.x0=this.x0===void 0?0:this.x0,this.y0=this.y0===void 0?0:this.y0,this.es!==0&&(this.apa=Li(this.es),this.qp=q(this.e,1),this.rqda=Math.sqrt(.5*this.qp))}function ws(e){var t=M(e.x-this.long0,this.over),n=e.y,r=Math.sin(n);this.es!==0&&(r=q(this.e,r)/this.qp);var i=Math.asin(As*r),a=i*i,o=a*a*a;return e.x=t*Math.cos(i)/(As*(Es+3*Ds*a+o*(7*Os+9*ks*a))),e.y=i*(Es+Ds*a+o*(Os+ks*a)),this.es!==0&&(e.x*=this.rqda,e.y*=this.rqda),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e}function Ts(e){e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,this.es!==0&&(e.x/=this.rqda,e.y/=this.rqda);for(var t=1e-9,n=12,r=e.y,i,a,o,s,c,l=0;l<n&&(i=r*r,a=i*i*i,o=r*(Es+Ds*i+a*(Os+ks*i))-e.y,s=Es+3*Ds*i+a*(7*Os+9*ks*i),r-=c=o/s,!(Math.abs(c)<t));++l);return i=r*r,a=i*i*i,e.x=As*e.x*(Es+3*Ds*i+a*(7*Os+9*ks*i))/Math.cos(r),e.y=Math.asin(Math.sin(r)/As),this.es!==0&&(e.y=Gi(e.y,this.apa)),e.x=M(e.x+this.long0,this.over),e}var Es,Ds,Os,ks,As,js,Ms;function Ns(){return(Ns=e((()=>{N(),Wi(),Es=1.340264,Ds=-.081106,Os=893e-6,ks=.003796,As=Math.sqrt(3)/2,js=[`eqearth`,`Equal Earth`,`Equal_Earth`],Ms={init:Cs,forward:ws,inverse:Ts,names:js}})))()}function Ps(){var e;if(this.phi1=this.lat1,Math.abs(this.phi1)<zs)throw Error();this.es?(this.en=Vn(this.es),this.m1=tr(this.phi1,this.am1=Math.sin(this.phi1),e=Math.cos(this.phi1),this.en),this.am1=e/(Math.sqrt(1-this.es*this.am1*this.am1)*this.am1),this.inverse=Is,this.forward=Fs):(this.cphi1=Math.abs(this.phi1)+zs>=s?0:1/Math.tan(this.phi1),this.inverse=Rs,this.forward=Ls)}function Fs(e){var t=M(e.x-(this.long0||0),this.over),n=e.y,r=this.am1+this.m1-tr(n,i=Math.sin(n),a=Math.cos(n),this.en),i=a*t/(r*Math.sqrt(1-this.es*i*i)),a;return e.x=r*Math.sin(i),e.y=this.am1-r*Math.cos(i),e.x=this.a*e.x+(this.x0||0),e.y=this.a*e.y+(this.y0||0),e}function Is(e){e.x=(e.x-(this.x0||0))/this.a,e.y=(e.y-(this.y0||0))/this.a;var t,n=H(e.x,e.y=this.am1-e.y),r,i=nr(this.am1+this.m1-n,this.es,this.en);if((t=Math.abs(i))<s)t=Math.sin(i),r=n*Math.atan2(e.x,e.y)*Math.sqrt(1-this.es*t*t)/Math.cos(i);else if(Math.abs(t-s)<=zs)r=0;else throw Error();return e.x=M(r+(this.long0||0),this.over),e.y=G(i),e}function Ls(e){var t=M(e.x-(this.long0||0),this.over),n=e.y,r,i=this.cphi1+this.phi1-n;return Math.abs(i)>zs?(e.x=i*Math.sin(r=t*Math.cos(n)/i),e.y=this.cphi1-i*Math.cos(r)):e.x=e.y=0,e.x=this.a*e.x+(this.x0||0),e.y=this.a*e.y+(this.y0||0),e}function Rs(e){e.x=(e.x-(this.x0||0))/this.a,e.y=(e.y-(this.y0||0))/this.a;var t,n,r=H(e.x,e.y=this.cphi1-e.y);if(n=this.cphi1+this.phi1-r,Math.abs(n)>s)throw Error();return t=Math.abs(Math.abs(n)-s)<=zs?0:r*Math.atan2(e.x,e.y)/Math.cos(n),e.x=M(t+(this.long0||0),this.over),e.y=G(n),e}var zs,Bs,Vs;function Hs(){return(Hs=e((()=>{K(),N(),er(),ir(),_(),zs=1e-10,Bs=[`bonne`,`Bonne (Werner lat_1=90)`],Vs={init:Ps,names:Bs}})))()}function Us(){if(this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,this.title=this.title||`General Oblique Transformation`,this.isIdentity=rt.includes(this.o_proj),!this.o_proj)throw Error(`Missing parameter: o_proj`);if(this.o_proj===`ob_tran`)throw Error(`Invalid value for o_proj: `+this.o_proj);let e=L(this.projStr.replace(`+proj=ob_tran`,``).replace(`+o_proj=`,`+proj=`).trim());if(!e)throw Error(`Invalid parameter: o_proj. Unknown projection `+this.o_proj);e.long0=0,this.obliqueProjection=e;let t,n=Object.keys(Qs),r=e=>{if(this[e]===void 0)return;let t=parseFloat(this[e])*f;if(isNaN(t))throw Error(`Invalid value for `+e+`: `+this[e]);return t};for(let e=0;e<n.length;e++){let i=n[e],a=Qs[i],o=Object.entries(a);if(o.some(([e])=>this[e]!==void 0)){t=a;for(let e=0;e<o.length;e++){let[t,n]=o[e],i=r(t);if(i===void 0)throw Error(`Missing parameter: `+t+`.`);this[n]=i}break}}if(!t)throw Error(`No valid parameters provided for ob_tran projection.`);let{lamp:i,phip:a}=Ks(this,t);this.lamp=i,Math.abs(a)>1e-10?(this.cphip=Math.cos(a),this.sphip=Math.sin(a),this.projectionType=Zs.OBLIQUE):this.projectionType=Zs.TRANSVERSE}function Ws(e){return this.projectionType.forward(this,e)}function Gs(e){return this.projectionType.inverse(this,e)}function Ks(e,t){let n,r;if(t===Qs.ROTATE){let t=e.oLongC,i=e.oLatC,a=e.oAlpha;if(Math.abs(Math.abs(i)-s)<=1e-10)throw Error(`Invalid value for o_lat_c: `+e.o_lat_c+` should be < 90°`);r=t+Math.atan2(-1*Math.cos(a),-1*Math.sin(a)*Math.sin(i)),n=Math.asin(Math.cos(i)*Math.sin(a))}else if(t===Qs.NEW_POLE)r=e.oLongP,n=e.oLatP;else{let t=e.oLong1,i=e.oLat1,a=e.oLong2,o=e.oLat2,c=Math.abs(i);if(Math.abs(i)>s-1e-10)throw Error(`Invalid value for o_lat_1: `+e.o_lat_1+` should be < 90°`);if(Math.abs(o)>s-1e-10)throw Error(`Invalid value for o_lat_2: `+e.o_lat_2+` should be < 90°`);if(Math.abs(i-o)<1e-10)throw Error(`Invalid value for o_lat_1 and o_lat_2: o_lat_1 should be different from o_lat_2`);if(c<1e-10)throw Error(`Invalid value for o_lat_1: o_lat_1 should be different from zero`);r=Math.atan2(Math.cos(i)*Math.sin(o)*Math.cos(t)-Math.sin(i)*Math.cos(o)*Math.cos(a),Math.sin(i)*Math.cos(o)*Math.sin(a)-Math.cos(i)*Math.sin(o)*Math.sin(t)),n=Math.atan(-1*Math.cos(r-t)/Math.tan(i))}return{lamp:r,phip:n}}function qs(e,t){let{x:n,y:r}=t;n=M(n-e.long0,e.over);let i=Math.cos(n),a=Math.sin(r),o=Math.cos(r);t.x=M(Math.atan2(o*Math.sin(n),e.sphip*o*i+e.cphip*a)+e.lamp),t.y=Math.asin(e.sphip*a-e.cphip*o*i);let s=e.obliqueProjection.forward(t);return e.isIdentity&&(s.x*=p,s.y*=p),s}function Js(e,t){let{x:n,y:r}=t;n=M(n-e.long0,e.over);let i=Math.cos(r),a=Math.cos(n);t.x=M(Math.atan2(i*Math.sin(n),Math.sin(r))+e.lamp),t.y=Math.asin(-1*i*a);let o=e.obliqueProjection.forward(t);return e.isIdentity&&(o.x*=p,o.y*=p),o}function Ys(e,t){e.isIdentity&&(t.x*=f,t.y*=f);let{x:n,y:r}=e.obliqueProjection.inverse(t);if(n<Number.MAX_VALUE){n-=e.lamp;let i=Math.cos(n),a=Math.sin(r),o=Math.cos(r);t.x=Math.atan2(o*Math.sin(n),e.sphip*o*i-e.cphip*a),t.y=Math.asin(e.sphip*a+e.cphip*o*i)}return t.x=M(t.x+e.long0),t}function Xs(e,t){e.isIdentity&&(t.x*=f,t.y*=f);let{x:n,y:r}=e.obliqueProjection.inverse(t);if(n<Number.MAX_VALUE){let i=Math.cos(r);n-=e.lamp,t.x=Math.atan2(i*Math.sin(n),-1*Math.sin(r)),t.y=Math.asin(i*Math.cos(n))}return t.x=M(t.x+e.long0),t}var Zs,Qs,$s,ec;function tc(){return(tc=e((()=>{N(),_(),Bt(),at(),Zs={OBLIQUE:{forward:qs,inverse:Ys},TRANSVERSE:{forward:Js,inverse:Xs}},Qs={ROTATE:{o_alpha:`oAlpha`,o_lon_c:`oLongC`,o_lat_c:`oLatC`},NEW_POLE:{o_lat_p:`oLatP`,o_lon_p:`oLongP`},NEW_EQUATOR:{o_lon_1:`oLong1`,o_lat_1:`oLat1`,o_lon_2:`oLong2`,o_lat_2:`oLat2`}},$s=[`General Oblique Transformation`,`General_Oblique_Transformation`,`ob_tran`],ec={init:Us,forward:Ws,inverse:Gs,names:$s}})))()}function nc(e){e.Proj.projections.add(lr),e.Proj.projections.add(wr),e.Proj.projections.add(jr),e.Proj.projections.add(Gr),e.Proj.projections.add(Qr),e.Proj.projections.add(ii),e.Proj.projections.add(di),e.Proj.projections.add(_i),e.Proj.projections.add(Ci),e.Proj.projections.add(Fi),e.Proj.projections.add(Xi),e.Proj.projections.add(ra),e.Proj.projections.add(la),e.Proj.projections.add(_a),e.Proj.projections.add(Ca),e.Proj.projections.add(Aa),e.Proj.projections.add(Ia),e.Proj.projections.add(Ha),e.Proj.projections.add(Ya),e.Proj.projections.add(to),e.Proj.projections.add(so),e.Proj.projections.add(mo),e.Proj.projections.add(bo),e.Proj.projections.add(Oo),e.Proj.projections.add(Po),e.Proj.projections.add(Ho),e.Proj.projections.add(rs),e.Proj.projections.add(ls),e.Proj.projections.add(hs),e.Proj.projections.add(xs),e.Proj.projections.add(Ms),e.Proj.projections.add(Vs),e.Proj.projections.add(ec)}function rc(){return(rc=e((()=>{ur(),Tr(),Mr(),Kr(),$r(),ai(),fi(),vi(),wi(),Ii(),Zi(),ia(),ua(),va(),wa(),ja(),La(),Ua(),Xa(),no(),co(),ho(),xo(),ko(),Fo(),Uo(),is(),us(),gs(),Ss(),Ns(),Hs(),tc()})))()}var ic=/* @__PURE__ */ t({default:()=>ac}),ac;function oc(){return(oc=e((()=>{hn(),Bt(),Bn(),Pe(),zt(),un(),Rn(),rc(),ac=Object.assign(pn,{defaultDatum:`WGS84`,Proj:L,WGS84:new L(`WGS84`),Point:zn,toPoint:nn,defs:A,nadgrid:Tt,transform:ln,mgrs:Ln,version:`__VERSION__`}),nc(ac)})))()}export{ic as n,ac as r,oc as t};
@@ -0,0 +1 @@
1
+ import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{r as t,t as n}from"./lib-C1nFUu19.js";function*r(e,t=i){let n=e.length-21,r=n-65536,s=new DataView(e.buffer,e.byteOffset),c=e=>s.getUint16(e+n,1),l=e=>s.getUint32(e+n,1),u=(t,r)=>e.subarray(n+=t,n+=r);for(;n>r&&(n=e.lastIndexOf(80,n-1))+1&&(e[n+1]-75||e[n+2]-5||e[n+3]-6););for(n<0&&o(2),r=c(10),r-c(8)&&o(3),n=l(16);r--;){let e=c(10),r=c(28),i=c(30),s=c(32),d=l(20),f=l(42),p=a.decode(u(46,r)),m=a.decode(u(i,s)),h=n,g;n=f,g=u(30+c(26)+c(28),d),yield{filename:p,comment:m,read:()=>e-8?e?o(1):g:t(g)},n=h}}var i,a,o;function s(){return(s=e((()=>{try{let e=()=>new DecompressionStream(`deflate-raw`),t=e=>new Response(e);e(),i=n=>t(t(n).body.pipeThrough(e())).arrayBuffer().then(e=>new Uint8Array(e))}catch{}a=new TextDecoder,o=e=>{throw Error(`but-unzip~`+e)}})))()}var c,l;function u(){return(u=e((()=>{s(),c=/.+\.(shp|dbf|json|prj|cpg)$/i,l=async e=>{let t={},n=[];for(let i of r(e))c.test(i.filename)&&n.push(Promise.resolve(i.read()).then(e=>t[i.filename]=e));await Promise.all(n);let i={},a=new TextDecoder;for(let[e,n]of Object.entries(t))i[e]=e.slice(-3).toLowerCase()===`shp`||e.slice(-3).toLowerCase()===`dbf`?new DataView(n.buffer,n.byteOffset,n.byteLength):a.decode(n);return i}})))()}var d,f;function p(){return(p=e((()=>{d=globalThis.URL,f=(e,t)=>{if(!t)return e;let n=new d(e);return n.pathname=`${n.pathname}.${t}`,n.href}})))()}async function m(e,t){let n=f(e,t),r=t===`prj`||t===`cpg`;try{let e=await fetch(n);if(e.status>399)throw Error(e.statusText);if(r)return e.text();let t=await e.arrayBuffer();return new DataView(t)}catch(e){if(r||t===`dbf`)return!1;throw e}}function h(){return(h=e((()=>{p()})))()}function g(e){let t=0,n=1,r=e.length,i,a,o=[e[0][0],e[0][1],e[0][0],e[0][1]];for(;n<r;)i=a||e[0],a=e[n],t+=(a[0]-i[0])*(a[1]+i[1]),n++,a[0]<o[0]&&(o[0]=a[0]),a[1]<o[1]&&(o[1]=a[1]),a[0]>o[2]&&(o[2]=a[0]),a[1]>o[3]&&(o[3]=a[1]);return{ring:e,clockWise:t>0,bbox:o,children:[]}}function _(e,t){return!(e.bbox[0]>t.bbox[0]||e.bbox[1]>t.bbox[1]||e.bbox[2]<t.bbox[2]||e.bbox[3]<t.bbox[3])}function v(e,t=!1){let n=[],r=[];for(let i of e){let e=g(i);e.clockWise===t?r.push(e):n.push(e)}let i=[];for(let e of r){let t;for(let r of n)_(r,e)&&(t?_(t,r)&&(t=r):t=r);t?t.children.push(e.ring):i.push(e)}if(t)return{outers:n,orphens:i};if(i.length&&!t){let t=v(e,!0);if(t.orphens.length===0){let e=[];for(let n of t.outers)e.push([n.ring.toReversed()].concat(n.children.map(e=>e.toReversed())));return e}}let a=[];for(let e of n)a.push([e.ring].concat(e.children));return a}function y(e){return e?function(t,n){let r=[t.getFloat64(n,!0),t.getFloat64(n+8,!0)];return e.inverse(r)}:function(e,t){return[e.getFloat64(t,!0),e.getFloat64(t+8,!0)]}}function b(e,t){if(!(this instanceof b))return new b(e,t);this.buffer=e,this.headers=this.parseHeader(),this.shpFuncs(t),this.rows=this.getRows()}function x(e,t){return new b(e,t).rows}var S;function C(){return(C=e((()=>{b.prototype.parsePoint=function(e){return{type:`Point`,coordinates:this.parseCoord(e,0)}},b.prototype.parseZPoint=function(e){let t=this.parsePoint(e);return t.coordinates.push(e.getFloat64(16,!0)),t},b.prototype.parsePointArray=function(e,t,n){let r=[],i=0;for(;i<n;)r.push(this.parseCoord(e,t)),t+=16,i++;return r},b.prototype.parseZPointArray=function(e,t,n,r){let i=0;for(;i<n;)r[i].push(e.getFloat64(t,!0)),i++,t+=8;return r},b.prototype.parseArrayGroup=function(e,t,n,r,i){let a=[],o=0,s,c=0,l;for(;o<r;)o++,n+=4,s=c,c=o===r?i:e.getInt32(n,!0),l=c-s,l&&(a.push(this.parsePointArray(e,t,l)),t+=l<<4);return a},b.prototype.parseZArrayGroup=function(e,t,n,r){let i=0;for(;i<n;)r[i]=this.parseZPointArray(e,t,r[i].length,r[i]),t+=r[i].length<<3,i++;return r},b.prototype.parseMultiPoint=function(e){let t={},n=e.getInt32(32,!0);if(!n)return null;let r=this.parseCoord(e,0),i=this.parseCoord(e,16);return t.bbox=[r[0],r[1],i[0],i[1]],n===1?(t.type=`Point`,t.coordinates=this.parseCoord(e,36)):(t.type=`MultiPoint`,t.coordinates=this.parsePointArray(e,36,n)),t},b.prototype.parseZMultiPoint=function(e){let t=this.parseMultiPoint(e);if(!t)return null;let n;if(t.type===`Point`)return t.coordinates.push(e.getFloat64(72,!0)),t;n=t.coordinates.length;let r=52+(n<<4);return t.coordinates=this.parseZPointArray(e,r,n,t.coordinates),t},b.prototype.parsePolyline=function(e){let t={},n=e.getInt32(32,!0);if(!n)return null;let r=this.parseCoord(e,0),i=this.parseCoord(e,16);t.bbox=[r[0],r[1],i[0],i[1]];let a=e.getInt32(36,!0),o,s;return n===1?(t.type=`LineString`,o=44,t.coordinates=this.parsePointArray(e,o,a)):(t.type=`MultiLineString`,o=40+(n<<2),s=40,t.coordinates=this.parseArrayGroup(e,o,s,n,a)),t},b.prototype.parseZPolyline=function(e){let t=this.parsePolyline(e);if(!t)return null;let n=t.coordinates.length,r;return t.type===`LineString`?(r=60+(n<<4),t.coordinates=this.parseZPointArray(e,r,n,t.coordinates),t):(r=56+(t.coordinates.reduce(function(e,t){return e+t.length},0)<<4)+(n<<2),t.coordinates=this.parseZArrayGroup(e,r,n,t.coordinates),t)},b.prototype.polyFuncs=function(e){return e&&(e.type===`LineString`?(e.type=`Polygon`,e.coordinates=[e.coordinates],e):(e.coordinates=v(e.coordinates),e.coordinates.length===1?(e.type=`Polygon`,e.coordinates=e.coordinates[0],e):(e.type=`MultiPolygon`,e)))},b.prototype.parsePolygon=function(e){return this.polyFuncs(this.parsePolyline(e))},b.prototype.parseZPolygon=function(e){return this.polyFuncs(this.parseZPolyline(e))},S={1:`parsePoint`,3:`parsePolyline`,5:`parsePolygon`,8:`parseMultiPoint`,11:`parseZPoint`,13:`parseZPolyline`,15:`parseZPolygon`,18:`parseZMultiPoint`},b.prototype.shpFuncs=function(e){let t=this.headers.shpCode;if(t>20&&(t-=20),!(t in S))throw Error(`I don't know shp type "${t}"`);this.parseFunc=this[S[t]],this.parseCoord=y(e)},b.prototype.getShpCode=function(){return this.parseHeader().shpCode},b.prototype.parseHeader=function(){let e=this.buffer;return{length:e.getInt32(24)<<1,version:e.getInt32(28,!0),shpCode:e.getInt32(32,!0),bbox:[e.getFloat64(36,!0),e.getFloat64(44,!0),e.getFloat64(52,!0),e.getFloat64(60,!0)]}},b.prototype.getRows=function(){let e=100,t=this.buffer.byteLength-8,n=[],r;for(;e<=t&&(r=this.getRow(e),r);)e+=8,e+=r.len,r.type?n.push(this.parseFunc(r.data)):n.push(null);return n},b.prototype.getRow=function(e){let t=this.buffer.getInt32(e),n=this.buffer.getInt32(e+4)<<1;if(n===0)return{id:t,len:n,type:0};if(!(e+n+8>this.buffer.byteLength))return{id:t,len:n,data:new DataView(this.buffer.buffer,this.buffer.byteOffset+e+12,n-4),type:this.buffer.getInt32(e+8,!0)}}})))()}function w(e,t){if(!e)return r;try{new TextDecoder(e.trim())}catch{var n=T.exec(e);return n&&!t?w(`windows-`+n[1],!0):(e=void 0,r)}return r;function r(t){var n=new TextDecoder(e||void 0);return(n.decode(t,{stream:!0})+n.decode()).replace(/\0/g,``).trim()}}var T;function E(){return(E=e((()=>{T=/^(?:ANSI\s)?(\d+)$/m})))()}function D(e){var t={};return t.lastUpdated=new Date(e.getUint8(1)+1900,e.getUint8(2),e.getUint8(3)),t.records=e.getUint32(4,!0),t.headerLen=e.getUint16(8,!0),t.recLen=e.getUint16(10,!0),t}function O(e,t,n){for(var r=[],i=32;i<t&&(r.push({name:n(new Uint8Array(e.buffer.slice(e.byteOffset+i,e.byteOffset+i+11))),dataType:String.fromCharCode(e.getUint8(i+11)),len:e.getUint8(i+16),decimal:e.getUint8(i+17)}),e.getUint8(i+32)!==13);)i+=32;return r}function k(e,t,n,r,i){var a=i(new Uint8Array(e.buffer.slice(e.byteOffset+t,e.byteOffset+t+n)));switch(r){case`N`:case`F`:case`O`:return parseFloat(a,10);case`D`:return new Date(a.slice(0,4),parseInt(a.slice(4,6),10)-1,a.slice(6,8));case`L`:return a.toLowerCase()===`y`||a.toLowerCase()===`t`;default:return a}}function A(e,t,n,r){for(var i={},a=0,o=n.length,s,c;a<o;)c=n[a],s=k(e,t,c.len,c.dataType,r),t+=c.len,s!==void 0&&(i[c.name]=s),a++;return i}function j(e,t){for(var n=w(t),r=D(e),i=O(e,r.headerLen-1,n),a=(i.length+1<<5)+2,o=r.recLen,s=r.records,c=[];s;)c.push(A(e,a,i,n)),a+=o,s--;return c}function M(){return(M=e((()=>{E()})))()}function N(e){return e instanceof globalThis.ArrayBuffer||Object.prototype.toString.call(e)===`[object ArrayBuffer]`}function P(e){return e instanceof globalThis.DataView||Object.prototype.toString.call(e)===`[object DataView]`}async function F(e,t){let n=await m(e);return H(n,t)}var I,L,R,z,B,V,H,U,W,G,K,q,J,Y;function X(){return(X=e((()=>{n(),u(),h(),C(),M(),I=globalThis.URL,L=e=>{if(!e)throw Error(`forgot to pass buffer`);if(N(e))return new Uint8Array(e);if(N(e.buffer))return e.BYTES_PER_ELEMENT===1?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw Error(`invalid buffer like object`)},R=new TextDecoder,z=e=>{if(e){if(typeof e==`string`)return e;if(N(e)||ArrayBuffer.isView(e)||P(e))return R.decode(e)}},B=e=>{if(!e)throw Error(`forgot to pass buffer`);if(P(e))return e;if(N(e))return new DataView(e);if(N(e.buffer))return new DataView(e.buffer,e.byteOffset,e.byteLength);throw Error(`invalid buffer like object`)},V=function([e,t]){let n={};n.type=`FeatureCollection`,n.features=[];let r=0,i=e.length;for(t||=[];r<i;)n.features.push({type:`Feature`,geometry:e[r],properties:t[r]||{}}),r++;return n},H=async function(e,n){let r;e=L(e);let i=await l(e),a=[];for(r in n||=[],i)r.indexOf(`__MACOSX`)===-1&&(r.slice(-4).toLowerCase()===`.shp`?(a.push(r.slice(0,-4)),i[r.slice(0,-3)+r.slice(-3).toLowerCase()]=i[r]):r.slice(-4).toLowerCase()===`.prj`?i[r.slice(0,-3)+r.slice(-3).toLowerCase()]=t(i[r]):r.slice(-5).toLowerCase()===`.json`||n.indexOf(r.split(`.`).pop())>-1?a.push(r.slice(0,-3)+r.slice(-3).toLowerCase()):(r.slice(-4).toLowerCase()===`.dbf`||r.slice(-4).toLowerCase()===`.cpg`)&&(i[r.slice(0,-3)+r.slice(-3).toLowerCase()]=i[r]));if(!a.length)throw Error(`no layers founds`);let o=a.map(function(e){let t,r,a=e.lastIndexOf(`.`);return a>-1&&e.slice(a).indexOf(`json`)>-1?(t=JSON.parse(i[e]),t.fileName=e.slice(0,a)):n.indexOf(e.slice(a+1))>-1?(t=i[e],t.fileName=e):(i[e+`.dbf`]&&(r=j(i[e+`.dbf`],i[e+`.cpg`])),t=V([x(i[e+`.shp`],i[e+`.prj`]),r]),t.fileName=e),t});return o.length===1?o[0]:o},U=async e=>{let n=await Promise.all([m(e,`shp`),m(e,`prj`)]),r=!1;try{n[1]&&(r=t(n[1]))}catch{r=!1}return x(n[0],r)},W=async e=>{let[t,n]=await Promise.all([m(e,`dbf`),m(e,`cpg`)]);if(t)return j(t,n)},G=(e,t)=>new I(e,globalThis?.document?.location).pathname.slice(-4).toLowerCase()===t,K=({shp:e,dbf:t,cpg:n,prj:r})=>{let i=[J(e,r)];return t&&i.push(Y(t,n)),V(i)},q=async function(e,t){if(typeof e!=`string`){if(N(e)||ArrayBuffer.isView(e)||P(e))return H(e);if(e.shp)return K(e);throw TypeError(`must be a string, some sort of Buffer, or an object with at least a .shp property`)}if(G(e,`.zip`))return F(e,t);G(e,`.shp`)&&(e=e.slice(0,-4));let n=await Promise.all([U(e),W(e)]);return V(n)},J=function(e,n){if(e=B(e),n=z(n),typeof n==`string`)try{n=t(n)}catch{n=!1}return x(e,n)},Y=function(e,t){return e=B(e),t=z(t),j(e,t)}})))()}X();export{q as default,q as getShapefile};
@@ -0,0 +1,7 @@
1
+ import{n as e}from"./rolldown-runtime-BKuNeK48.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2019 Google LLC
5
+ * SPDX-License-Identifier: Apache-2.0
6
+ */
7
+ function t(e,r=globalThis,i=[`*`]){r.addEventListener(`message`,(function a(o){if(!o||!o.data)return;if(!function(e,t){for(let n of e)if(t===n||n===`*`||n instanceof RegExp&&n.test(t))return!0;return!1}(i,o.origin))return void console.warn(`Invalid origin '${o.origin}' for comlink proxy`);let{id:s,type:d,path:f}=Object.assign({path:[]},o.data),p=(o.data.argumentList||[]).map(u),m;try{let n=f.slice(0,-1).reduce(((e,t)=>e[t]),e),r=f.reduce(((e,t)=>e[t]),e);switch(d){case`GET`:m=r;break;case`SET`:n[f.slice(-1)[0]]=u(o.data.value),m=!0;break;case`APPLY`:m=r.apply(n,p);break;case`CONSTRUCT`:m=c(new r(...p));break;case`ENDPOINT`:{let{port1:n,port2:r}=new MessageChannel;t(e,r),m=function(e,t){return w.set(e,t),e}(n,[n])}break;case`RELEASE`:m=void 0;break;default:return}}catch(e){m={value:e,[y]:0}}Promise.resolve(m).catch((e=>({value:e,[y]:0}))).then((t=>{let[i,o]=l(t);r.postMessage(Object.assign(Object.assign({},i),{id:s}),o),d===`RELEASE`&&(r.removeEventListener(`message`,a),n(r),v in e&&typeof e[v]==`function`&&e[v]())})).catch((e=>{let[t,n]=l({value:/* @__PURE__ */ TypeError(`Unserializable return value`),[y]:0});r.postMessage(Object.assign(Object.assign({},t),{id:s}),n)}))})),r.start&&r.start()}function n(e){(function(e){return e.constructor.name===`MessagePort`})(e)&&e.close()}function r(e,t){return o(e,[],t)}function i(e){if(e)throw Error(`Proxy has been released and is not useable`)}function a(e){return d(e,{type:`RELEASE`}).then((()=>{n(e)}))}function o(e,t=[],n=function(){}){let r=!1,c=new Proxy(n,{get(n,s){if(i(r),s===_)return()=>{(function(e){C&&C.unregister(e)})(c),a(e),r=!0};if(s===`then`){if(t.length===0)return{then:()=>c};let n=d(e,{type:`GET`,path:t.map((e=>e.toString()))}).then(u);return n.then.bind(n)}return o(e,[...t,s])},set(n,a,o){i(r);let[s,c]=l(o);return d(e,{type:`SET`,path:[...t,a].map((e=>e.toString())),value:s},c).then(u)},apply(n,a,c){i(r);let l=t[t.length-1];if(l===g)return d(e,{type:`ENDPOINT`}).then(u);if(l===`bind`)return o(e,t.slice(0,-1));let[f,p]=s(c);return d(e,{type:`APPLY`,path:t.map((e=>e.toString())),argumentList:f},p).then(u)},construct(n,a){i(r);let[o,c]=s(a);return d(e,{type:`CONSTRUCT`,path:t.map((e=>e.toString())),argumentList:o},c).then(u)}});return function(e,t){let n=(S.get(t)||0)+1;S.set(t,n),C&&C.register(e,t,e)}(c,e),c}function s(e){let t=e.map(l);return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))];var n}function c(e){return Object.assign(e,{[h]:!0})}function l(e){for(let[t,n]of x)if(n.canHandle(e)){let[r,i]=n.serialize(e);return[{type:`HANDLER`,name:t,value:r},i]}return[{type:`RAW`,value:e},w.get(e)||[]]}function u(e){switch(e.type){case`HANDLER`:return x.get(e.name).deserialize(e.value);case`RAW`:return e.value}}function d(e,t,n){return new Promise((r=>{let i=[,,,,].fill(0).map((()=>Math.floor(Math.random()*(2**53-1)).toString(16))).join(`-`);e.addEventListener(`message`,(function t(n){n.data&&n.data.id&&n.data.id===i&&(e.removeEventListener(`message`,t),r(n.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:i},t),n)}))}function f(e){if(e instanceof File||e instanceof T||e===null)return e;let t={};for(let n of Object.keys(e))t[n]=f(e[n]);return t}function p(e,t=``){let n=[];for(let r of Object.keys(e))e[r]instanceof File||e[r]instanceof T||e[r]===null?n.push({file:e[r]||r,path:t}):n.push(...p(e[r],`${t}${r}/`));return n}function m(e,t){let n=t.split(`/`);n[n.length-1]===``&&n.pop();let r=e,i=null;for(let e of n)r[e]=r[e]||{},i=r,r=r[e];return[i,n[n.length-1]]}var h,g,_,v,y,b,x,S,C,w,T,E,D,O,k;function A(){return(A=e((()=>{h=Symbol(`Comlink.proxy`),g=Symbol(`Comlink.endpoint`),_=Symbol(`Comlink.releaseProxy`),v=Symbol(`Comlink.finalizer`),y=Symbol(`Comlink.thrown`),b=e=>typeof e==`object`&&!!e||typeof e==`function`,x=/* @__PURE__ */ new Map([[`proxy`,{canHandle:e=>b(e)&&e[h],serialize(e){let{port1:n,port2:r}=new MessageChannel;return t(e,n),[r,[r]]},deserialize:e=>(e.start(),r(e))}],[`throw`,{canHandle:e=>b(e)&&y in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){throw e.isError?Object.assign(Error(e.value.message),e.value):e.value}}]]),S=/* @__PURE__ */ new WeakMap,C=`FinalizationRegistry`in globalThis&&new FinalizationRegistry((e=>{let t=(S.get(e)||0)-1;S.set(e,t),t===0&&a(e)})),w=/* @__PURE__ */ new WeakMap,T=class{constructor(e,t,n,r,i){this._name=e,this._size=t,this._path=n,this._lastModified=r,this._archiveRef=i}get name(){return this._name}get size(){return this._size}get lastModified(){return this._lastModified}extract(){return this._archiveRef.extractSingleFile(this._path)}},E=class{constructor(e,t,n){this._content={},this._processed=0,this.file=e,this.client=t,this.worker=n}open(){return this._content={},this._processed=0,new Promise(((e,t)=>{this.client.open(this.file,c((()=>{e(this)})))}))}async close(){var e;(e=this.worker)==null||e.terminate(),this.worker=null,this.client=null,this.file=null}async hasEncryptedData(){return await this.client.hasEncryptedData()}async usePassword(e){await this.client.usePassword(e)}async setLocale(e){await this.client.setLocale(e)}async getFilesObject(){return this._processed>0?Promise.resolve().then((()=>this._content)):((await this.client.listFiles()).forEach((e=>{let[t,n]=m(this._content,e.path);e.type===`FILE`&&(t[n]=new T(e.fileName,e.size,e.path,e.lastModified,this))})),this._processed=1,f(this._content))}getFilesArray(){return this.getFilesObject().then((e=>p(e)))}async extractSingleFile(e){if(this.worker===null)throw Error(`Archive already closed`);let t=await this.client.extractSingleFile(e);return new File([t.fileData],t.fileName,{type:`application/octet-stream`,lastModified:t.lastModified/1e6})}async extractFiles(e=void 0){var t;return this._processed>1?Promise.resolve().then((()=>this._content)):((await this.client.extractFiles()).forEach((t=>{let[n,r]=m(this._content,t.path);t.type===`FILE`&&(n[r]=new File([t.fileData],t.fileName,{type:`application/octet-stream`}),e!==void 0&&setTimeout(e.bind(null,{file:n[r],path:t.path})))})),this._processed=2,(t=this.worker)==null||t.terminate(),f(this._content))}},(function(e){e.SEVEN_ZIP=`7zip`,e.AR=`ar`,e.ARBSD=`arbsd`,e.ARGNU=`argnu`,e.ARSVR4=`arsvr4`,e.BIN=`bin`,e.BSDTAR=`bsdtar`,e.CD9660=`cd9660`,e.CPIO=`cpio`,e.GNUTAR=`gnutar`,e.ISO=`iso`,e.ISO9660=`iso9660`,e.MTREE=`mtree`,e.MTREE_CLASSIC=`mtree-classic`,e.NEWC=`newc`,e.ODC=`odc`,e.OLDTAR=`oldtar`,e.PAX=`pax`,e.PAXR=`paxr`,e.POSIX=`posix`,e.PWB=`pwb`,e.RAW=`raw`,e.RPAX=`rpax`,e.SHAR=`shar`,e.SHARDUMP=`shardump`,e.USTAR=`ustar`,e.V7TAR=`v7tar`,e.V7=`v7`,e.WARC=`warc`,e.XAR=`xar`,e.ZIP=`zip`})(D||={}),function(e){e.B64ENCODE=`b64encode`,e.BZIP2=`bzip2`,e.COMPRESS=`compress`,e.GRZIP=`grzip`,e.GZIP=`gzip`,e.LRZIP=`lrzip`,e.LZ4=`lz4`,e.LZIP=`lzip`,e.LZMA=`lzma`,e.LZOP=`lzop`,e.UUENCODE=`uuencode`,e.XZ=`xz`,e.ZSTD=`zstd`,e.NONE=`none`}(O||={}),k=class e{static init(t=null){return e._options=t||{},e._options}static async open(t){let n=e.getWorker(e._options),r=await e.getClient(n,e._options);return await new E(t,r,n).open()}static async write({files:t,outputFileName:n,compression:r,format:i,passphrase:a=null}){let o=e.getWorker(e._options),s=await(await e.getClient(o,e._options)).writeArchive(t,r,i,a);return o.terminate(),new File([s],n,{type:`application/octet-stream`})}static getWorker(e){return e.getWorker?e.getWorker():new Worker(e.workerUrl||new URL(new URL(`../assets/worker-bundle-Dx5mKZOL.js`,import.meta.url).href,``+import.meta.url),{type:`module`})}static async getClient(e,t){let n=t.createClient?.call(t,e)||r(e),{promise:i,resolve:a}=Promise.withResolvers(),o=await new n(c((()=>{a()})));return await i,o}},k._options={},Promise.withResolvers||(Promise.withResolvers=function(){var e,t,n=new this((function(n,r){e=n,t=r}));return{resolve:e,reject:t,promise:n}})})))()}A();export{k as Archive,O as ArchiveCompression,D as ArchiveFormat};
@@ -0,0 +1 @@
1
+ import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{Bt as t,Cn as n,Fn as r,Gt as i,Ht as a,In as o,Ln as s,Mn as c,Rt as l,Sn as u,Tn as d,Ut as f,Vt as p,Wt as m,_n as h,cn as g,dn as _,fi as v,fn as y,gn as b,hn as x,jn as S,ln as C,mn as w,mr as T,ni as E,pi as D,pn as O,pr as k,ri as A,un as j,ur as M,vn as N,wn as P,zt as F}from"./StatCard-Czjfs0fa.js";import{Hn as I}from"./chart-data-DImT_Mzn.js";var L;function R(){return(R=e((()=>{s(),h(),L=Object.assign(Object.assign({},o),N)})))()}var z;function B(){return(B=e((()=>{z={label:{visible:!1,position:`top`,offset:5,style:{lineWidth:2,stroke:{type:`palette`,key:`backgroundColor`}}},point:{style:{symbolType:`circle`}}}})))()}var V,H;function U(){return(U=e((()=>{n(),D(),b(),c(),M(),R(),y(),j(),A(),C(),d(),m(),a(),t(),l(),B(),V=class extends u{constructor(){super(...arguments),this.type=v.line,this.transformerConstructor=g,this._sortDataByAxis=!1}_getSpecUpdatePolicy(){let e=super._getSpecUpdatePolicy();return Object.assign(Object.assign({},e),{dataRelatedKeys:Object.assign(Object.assign({},e.dataRelatedKeys),w)})}compile(){super.compile(),this.addSamplingCompile(),this.addOverlapCompile()}initMark(){let e=this._spec.seriesMark??`line`;this.initLineMark(e===`line`),this.initSymbolMark(e===`point`)}initTooltip(){super.initTooltip();let{group:e,mark:t}=this._tooltipHelper.activeTriggerSet;this._lineMark&&e.add(this._lineMark),this._symbolMark&&(t.add(this._symbolMark),e.add(this._symbolMark))}initMarkStyle(){this.initLineMarkStyle(this._direction),this.initSymbolMarkStyle()}initAnimation(){let e={direction:this.direction},t=this._spec?.animationAppear?.preset;if(this._lineMark.setAnimationConfig(S(E.getAnimationInKey(`line`)?.(e,t),r(`line`,this._spec,this._markAttributeContext))),this._symbolMark){let e=P(this);this._symbolMark.setAnimationConfig(S(E.getAnimationInKey(`scaleInOut`)?.(),r(`point`,this._spec,this._markAttributeContext),e))}}onLayoutEnd(){super.onLayoutEnd(),this.reCompileSampling()}getSeriesStyle(e){let t=this._spec?.seriesMark!==`point`;return n=>(t&&n===`fill`&&(n=`stroke`),this._seriesMark?.getAttribute(n,e)??void 0)}getDefaultShapeType(){return`circle`}getActiveMarks(){return[this._lineMark,this._symbolMark]}},V.type=v.line,V.mark=L,V.builtInTheme={line:z},V.transformerConstructor=g,I(V,x),H=()=>{F(),p(),O(),_(),k(),T(),i(),f(),E.registerSeries(V.type,V)}})))()}export{H as n,U as t};
@@ -0,0 +1 @@
1
+ import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{n as t,r as n,t as r}from"./path-VUNELGFR.js";import{n as i,t as a}from"./array-BrHhzP_A.js";import{Dt as o,Et as s}from"./chunk-75Z2AOVW-IO9R6faP.js";function c(e){return e[0]}function l(e){return e[1]}function u(e,r){var i=n(!0),s=null,u=o,d=null,f=t(p);e=typeof e==`function`?e:e===void 0?c:n(e),r=typeof r==`function`?r:r===void 0?l:n(r);function p(t){var n,o=(t=a(t)).length,c,l=!1,p;for(s??(d=u(p=f())),n=0;n<=o;++n)!(n<o&&i(c=t[n],n,t))===l&&((l=!l)?d.lineStart():d.lineEnd()),l&&d.point(+e(c,n,t),+r(c,n,t));if(p)return d=null,p+``||null}return p.x=function(t){return arguments.length?(e=typeof t==`function`?t:n(+t),p):e},p.y=function(e){return arguments.length?(r=typeof e==`function`?e:n(+e),p):r},p.defined=function(e){return arguments.length?(i=typeof e==`function`?e:n(!!e),p):i},p.curve=function(e){return arguments.length?(u=e,s!=null&&(d=u(s)),p):u},p.context=function(e){return arguments.length?(e==null?s=d=null:d=u(s=e),p):s},p}function d(){return(d=e((()=>{i(),s(),r()})))()}export{u as n,d as t};
@@ -0,0 +1 @@
1
+ import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{a as t,d as n,f as r,g as i,h as a,n as o,o as s,r as c,s as l}from"./src-C1iDJpBK.js";import{a as u,i as d,n as f,o as p,r as ee,s as m,t as h}from"./defaultLocale-BvxIcb9Y.js";import{t as te}from"./init-Ca_Ibf4y.js";function g(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function _(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function v(e){let t,n,r;e.length===2?(t=e===g||e===_?e:y,n=e,r=e):(t=g,n=(t,n)=>g(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function y(){return 0}function b(){return(b=e((()=>{})))()}function ne(e){return e===null?NaN:+e}var x,S;function C(){return(C=e((()=>{b(),x=v(g),S=x.right,x.left,v(ne).center})))()}function w(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=D?10:a>=O?5:a>=k?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?w(e,t,n*2):[s,c,l]}function re(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?w(t,e,n):w(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r){if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o}else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function T(e,t,n){return t=+t,e=+e,n=+n,w(e,t,n)[2]}function E(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?T(t,e,n):T(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}var D,O,k;function A(){return(A=e((()=>{D=Math.sqrt(50),O=Math.sqrt(10),k=Math.sqrt(2)})))()}function j(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function ie(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function ae(e,t){for(var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o=0;o<r;++o)i[o]=P(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function M(){return(M=e((()=>{F()})))()}function oe(e,t){var n=/* @__PURE__ */ new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function se(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=P(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}function N(){return(N=e((()=>{F()})))()}function P(e,r){var i=typeof r,o;return r==null||i===`boolean`?n(r):(i===`number`?t:i===`string`?(o=a(r))?(r=o,l):c:r instanceof a?l:r instanceof Date?oe:ie(r)?j:Array.isArray(r)?ae:typeof r.valueOf!=`function`&&typeof r.toString!=`function`||isNaN(r)?se:t)(e,r)}function F(){return(F=e((()=>{i(),s(),M(),N(),o(),r()})))()}function ce(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function I(e){return Math.max(0,-p(Math.abs(e)))}function L(){return(L=e((()=>{m()})))()}function R(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(p(t)/3)))*3-p(Math.abs(e)))}function z(){return(z=e((()=>{m()})))()}function B(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,p(t)-p(e))+1}function V(){return(V=e((()=>{m()})))()}function H(e){return function(){return e}}function U(e){return+e}function W(e){return e}function G(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:H(isNaN(t)?NaN:.5)}function le(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function ue(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=G(i,r),a=n(o,a)):(r=G(r,i),a=n(a,o)),function(e){return a(r(e))}}function de(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=G(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=S(e,t,1,r)-1;return a[n](i[n](t))}}function K(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function fe(){var e=J,n=J,r=P,i,a,o,s=W,c,l,u;function d(){var t=Math.min(e.length,n.length);return s!==W&&(s=le(e[0],e[t-1])),c=t>2?de:ue,l=u=null,f}function f(t){return t==null||isNaN(t=+t)?o:(l||=c(e.map(i),n,r))(i(s(t)))}return f.invert=function(r){return s(a((u||=c(n,e.map(i),t))(r)))},f.domain=function(t){return arguments.length?(e=Array.from(t,U),d()):e.slice()},f.range=function(e){return arguments.length?(n=Array.from(e),d()):n.slice()},f.rangeRound=function(e){return n=Array.from(e),r=ce,d()},f.clamp=function(e){return arguments.length?(s=e?!0:W,d()):s!==W},f.interpolate=function(e){return arguments.length?(r=e,d()):r},f.unknown=function(e){return arguments.length?(o=e,f):o},function(e,t){return i=e,a=t,d()}}function q(){return fe()(W,W)}var J;function Y(){return(Y=e((()=>{C(),F(),J=[0,1]})))()}function X(e,t,n,r){var i=E(e,t,n),a;switch(r=d(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=R(i,o))&&(r.precision=a),f(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=B(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=I(i))&&(r.precision=a-(r.type===`%`)*2)}return h(r)}function Z(){return(Z=e((()=>{A(),ee(),u(),L(),z(),V()})))()}function pe(e){var t=e.domain;return e.ticks=function(e){var n=t();return re(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return X(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-->0;){if(l=T(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function Q(){var e=q();return e.copy=function(){return K(e,Q())},te.apply(e,arguments),pe(e)}function $(){return($=e((()=>{A(),Y(),Z()})))()}export{Y as a,v as c,K as i,b as l,Q as n,A as o,q as r,E as s,$ as t};
@@ -0,0 +1 @@
1
+ import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{Children as t,createContext as n,isValidElement as r,useContext as i,useState as a}from"react";import{Fragment as o,jsx as s,jsxs as c}from"react/jsx-runtime";import{Collapse as l,Empty as u,Grid as d,Listy as f,Pagination as p,Spin as m,theme as h}from"antd";function g({main:e,header:t,extra:n,align:r,children:a,actions:o,styles:l,classNames:u,colStyle:d,prefixCls:f,className:p,style:m,...g}){let _=i(v),{token:y}=h.useToken(),b=e||t?/* @__PURE__ */ c(`div`,{className:`ant-list-item-meta`,style:{flex:1,minWidth:0},children:[t&&/* @__PURE__ */ s(`div`,{className:`ant-list-item-meta-title`,style:{fontWeight:y.fontWeightStrong},children:t}),e&&/* @__PURE__ */ s(`div`,{className:`ant-list-item-meta-description`,style:{color:y.colorTextDescription},children:e})]}):a;return/* @__PURE__ */ c(`div`,{...g,className:[`ant-list-item`,p].filter(Boolean).join(` `),style:{display:_.grid?`block`:`flex`,alignItems:`center`,justifyContent:`space-between`,gap:y.margin,padding:`${_.size===`small`?y.paddingXS:_.size===`large`?y.padding:y.paddingSM}px 0`,...m},children:[/* @__PURE__ */ c(`div`,{className:`ant-list-item-main`,style:{flex:1,minWidth:0},children:[b,o?.length?/* @__PURE__ */ s(`div`,{className:u?.actions,style:l?.actions,children:o.map((e,t)=>/* @__PURE__ */ s(`span`,{children:e},t))}):null]}),n!=null&&/* @__PURE__ */ s(`div`,{className:u?.extra,style:l?.extra,children:n})]})}function _({emptyContent:e,grid:n,children:i,dataSource:o,renderItem:l,rowKey:g,loading:_,locale:y,header:b,footer:x,loadMore:S,pagination:C,itemLayout:w,size:T,split:E=!0,bordered:D,extra:O,prefixCls:k,className:A,rootClassName:j,style:M,id:N}){let P=d.useBreakpoint(),{token:F}=h.useToken(),{span:I,gutter:L,...R}=n??{},z=[`xxxl`,`xxl`,`xl`,`lg`,`md`,`sm`,`xs`],B=I?Math.max(1,Math.floor(24/I)):z.map(e=>P[e]&&R[e]).find(Boolean)||R.column||1,V=Array.isArray(L)?L:[L,void 0],H=e=>e&&typeof e==`object`?z.map(t=>P[t]&&e[t]).find(Boolean)||0:e,U=o===void 0?t.toArray(i).map((e,t)=>({key:r(e)?e.key??t:t,node:e})):o.map((e,t)=>{let n=l?.(e,t);return{key:typeof g==`function`?g(e):g?String(e[g]):r(n)?n.key??t:t,node:n}}),W=typeof C==`object`?C:void 0,[G,K]=a(W?.defaultCurrent??1),[q,J]=a(W?.defaultPageSize??10),Y=W?.current??G,X=W?.pageSize??q,Z=W?U.slice((Y-1)*X,Y*X):U,Q=typeof _==`object`?_.spinning!==!1:!!_;return/* @__PURE__ */ s(v.Provider,{value:{grid:n,size:T,itemLayout:w},children:/* @__PURE__ */ c(`div`,{id:N,className:[`ant-list`,`arc-admin-list`,A,j].filter(Boolean).join(` `),style:{...D?{border:`${F.lineWidth}px ${F.lineType} ${F.colorBorder}`,borderRadius:F.borderRadiusLG,paddingInline:F.padding}:{},...M},children:[b,O,/* @__PURE__ */ c(m,{...typeof _==`object`?_:{},spinning:Q,children:[/* @__PURE__ */ s(f,{items:Z,rowKey:`key`,itemRender:e=>e.node,virtual:!1,styles:{root:n?{display:`grid`,gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`,columnGap:H(V[0]),rowGap:H(V[1])}:void 0,item:{padding:0,minWidth:0,borderBottom:!E||n?`none`:void 0}}}),!U.length&&!Q&&(e??y?.emptyText??/* @__PURE__ */ s(u,{image:u.PRESENTED_IMAGE_SIMPLE}))]}),S,x,W&&/* @__PURE__ */ s(p,{...W,total:W.total??U.length,current:Y,pageSize:X,onChange:(e,t)=>{K(e),J(t),W.onChange?.(e,t)}})]})})}var v,y,b,x;function S(){return(S=e((()=>{v=n({}),y=/* @__PURE__ */ Object.assign(_,{Item:g}),b=({children:e})=>/* @__PURE__ */ s(o,{children:e}),x=/* @__PURE__ */ Object.assign(({children:e,expandIconPosition:n,...i})=>/* @__PURE__ */ s(l,{...i,expandIconPlacement:n===`right`?`end`:`start`,items:t.toArray(e).filter(r).map(e=>({key:e.props.itemKey??String(e.key),label:e.props.header,children:e.props.children,collapsible:e.props.disabled?`disabled`:void 0}))}),{Panel:b})})))()}export{y as n,S as r,x as t};
@@ -0,0 +1,8 @@
1
+ import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{n as t,t as n}from"./createLucideIcon-BtwfYE6A.js";var r,i;function a(){return(a=e((()=>{
2
+ /**
3
+ * @license lucide-react v1.53.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ t(),r={name:`list`,size:24,node:[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]},r.node,i=n(r)})))()}export{a as n,i as t};
@@ -0,0 +1 @@
1
+ import{n as e}from"./rolldown-runtime-BKuNeK48.js";function t(e,t={}){let n=e.data,r=Array.isArray(n)?n:n?.list??[],i=Array.isArray(n)?n.length:n?.total??0;return{bordered:t.bordered??!0,rowKey:t.rowKey??`id`,size:t.size??`small`,dataSource:r,loading:e.isFetching&&e.data===void 0,onRefresh:()=>{e.refetch()},refreshLoading:e.isFetching,pagination:t.pagination?t.pagination(i):!1,...t.empty===void 0?{}:{empty:t.empty},...t.rowSelection===void 0?{}:{rowSelection:t.rowSelection}}}function n(){return(n=e((()=>{})))()}export{t as n,n as t};
@@ -0,0 +1,8 @@
1
+ import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{n as t,t as n}from"./createLucideIcon-BtwfYE6A.js";var r,i;function a(){return(a=e((()=>{
2
+ /**
3
+ * @license lucide-react v1.53.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ t(),r={name:`log-in`,size:24,node:[[`path`,{d:`m10 17 5-5-5-5`,key:`1bsop3`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`,key:`u53s6r`}]]},r.node,i=n(r)})))()}export{a as n,i as t};