@nasa-terra/components 0.0.203 → 0.0.205
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.
- package/cdn/apis/harmony.api.d.ts +5 -0
- package/cdn/chunks/GeoTIFF.CENKOG7R.js +19979 -0
- package/cdn/chunks/chunk.2232XEJQ.js +29 -0
- package/cdn/chunks/chunk.2B2TSVNY.js +978 -0
- package/cdn/chunks/chunk.2NNYMNZ5.js +29 -0
- package/cdn/chunks/chunk.2NX4H2BN.js +19 -0
- package/cdn/chunks/chunk.2WBW37NH.js +19 -0
- package/cdn/chunks/chunk.2X7DAD43.js +29 -0
- package/cdn/chunks/chunk.2XT2DXDS.js +528 -0
- package/cdn/chunks/chunk.34A6RU6E.js +29 -0
- package/cdn/chunks/chunk.3A3Y63MA.js +19 -0
- package/cdn/chunks/chunk.3JB5ESJU.js +8969 -0
- package/cdn/chunks/chunk.3TH37PLU.js +1121 -0
- package/cdn/chunks/chunk.3XHPRPKJ.js +1009 -0
- package/cdn/chunks/chunk.4FAAL7CU.js +897 -0
- package/cdn/chunks/chunk.4JTU674G.js +48 -0
- package/cdn/chunks/chunk.4KBZ7BIR.js +29 -0
- package/cdn/chunks/chunk.4PDH3KAH.js +1945 -0
- package/cdn/chunks/chunk.4RS5WH4G.js +19 -0
- package/cdn/chunks/chunk.4W7HENDQ.js +19 -0
- package/cdn/chunks/chunk.5256OMFI.js +62 -0
- package/cdn/chunks/chunk.577EXZQP.js +19 -0
- package/cdn/chunks/chunk.5DIIZV4K.js +791 -0
- package/cdn/chunks/chunk.5DIVPJOJ.js +1653 -0
- package/cdn/chunks/chunk.5F22YVKZ.js +19 -0
- package/cdn/chunks/chunk.5GC6XXMO.js +19 -0
- package/cdn/chunks/chunk.5GD3GQER.js +33 -0
- package/cdn/chunks/chunk.5JGHWKZV.js +38 -0
- package/cdn/chunks/chunk.5MCRMJ7W.js +110 -0
- package/cdn/chunks/chunk.5MFAIDYF.js +19 -0
- package/cdn/chunks/chunk.5QQP4HY5.js +29 -0
- package/cdn/chunks/chunk.5SGSESUV.js +39 -0
- package/cdn/chunks/chunk.5T32ADMR.js +32 -0
- package/cdn/chunks/chunk.5TUINKG3.js +19 -0
- package/cdn/chunks/chunk.5Z5FTYHQ.js +29 -0
- package/cdn/chunks/chunk.64ZLB3XD.js +37 -0
- package/cdn/chunks/chunk.67MZVSO7.js +234 -0
- package/cdn/chunks/chunk.6KW23GBD.js +3035 -0
- package/cdn/chunks/chunk.6NU4LT46.js +189 -0
- package/cdn/chunks/chunk.6ONOP4ID.js +29 -0
- package/cdn/chunks/chunk.6RBN3R3S.js +19 -0
- package/cdn/chunks/chunk.6RVC4QTE.js +19 -0
- package/cdn/chunks/chunk.6VGVAUYK.js +256 -0
- package/cdn/chunks/chunk.6XBVIYCV.js +32 -0
- package/cdn/chunks/chunk.76VAMCFM.js +824 -0
- package/cdn/chunks/chunk.7FTE5V2B.js +19 -0
- package/cdn/chunks/chunk.7OFUJKBW.js +30 -0
- package/cdn/chunks/chunk.7RUFZ7VF.js +475 -0
- package/cdn/chunks/chunk.A4KWAYQH.js +4980 -0
- package/cdn/chunks/chunk.A63JCTKT.js +19 -0
- package/cdn/chunks/chunk.AQ5OKPLZ.js +19 -0
- package/cdn/chunks/chunk.AQ5T22QG.js +41 -0
- package/cdn/chunks/chunk.ASGNUKTS.js +1131 -0
- package/cdn/chunks/chunk.AUWT3HKD.js +940 -0
- package/cdn/chunks/chunk.BD5JLOM4.js +357 -0
- package/cdn/chunks/chunk.BL2T5FVE.js +10 -0
- package/cdn/chunks/chunk.BNIVIVSF.js +2544 -0
- package/cdn/chunks/chunk.BPTXUG3W.js +35 -0
- package/cdn/chunks/chunk.BQPBQZFS.js +360 -0
- package/cdn/chunks/chunk.BYBKLA6W.js +255 -0
- package/cdn/chunks/chunk.CHNYNA6A.js +19 -0
- package/cdn/chunks/chunk.CISSBK6B.js +1820 -0
- package/cdn/chunks/chunk.CN3HAOBC.js +83 -0
- package/cdn/chunks/chunk.CO3P3PQN.js +19 -0
- package/cdn/chunks/chunk.CSF2PMFW.js +1075 -0
- package/cdn/chunks/chunk.CT6JWWV2.js +93 -0
- package/cdn/chunks/chunk.CY2NA7DX.js +1040 -0
- package/cdn/chunks/chunk.D2OCF56Z.js +74 -0
- package/cdn/chunks/chunk.D3WDJ4SS.js +149 -0
- package/cdn/chunks/chunk.D52LQ4J3.js +19 -0
- package/cdn/chunks/chunk.D5OYZFRL.js +134 -0
- package/cdn/chunks/chunk.D6W64PXN.js +19 -0
- package/cdn/chunks/chunk.D7YRDTVS.js +134 -0
- package/cdn/chunks/chunk.DLBLZUXI.js +19 -0
- package/cdn/chunks/chunk.DMAOIRXE.js +19 -0
- package/cdn/chunks/chunk.E2RZP3XA.js +19 -0
- package/cdn/chunks/chunk.E6423VVS.js +47 -0
- package/cdn/chunks/chunk.EAUBUUN5.js +32 -0
- package/cdn/chunks/chunk.EBGQWXBG.js +19 -0
- package/cdn/chunks/chunk.EDPOC2S3.js +29 -0
- package/cdn/chunks/chunk.EH63H56Z.js +333 -0
- package/cdn/chunks/chunk.EIAV6I5D.js +600 -0
- package/cdn/chunks/chunk.EOTDTPZM.js +259 -0
- package/cdn/chunks/chunk.EP6PSBZE.js +100 -0
- package/cdn/chunks/chunk.EVAUERXR.js +431 -0
- package/cdn/chunks/chunk.F2DLSNNG.js +625 -0
- package/cdn/chunks/chunk.F6FVKFVH.js +60 -0
- package/cdn/chunks/chunk.FEIRWXAI.js +34 -0
- package/cdn/chunks/chunk.FK5JYFNX.js +29 -0
- package/cdn/chunks/chunk.FP2ISOJN.js +106 -0
- package/cdn/chunks/chunk.FRGR3SUX.js +19 -0
- package/cdn/chunks/chunk.G2FP3NMR.js +32 -0
- package/cdn/chunks/chunk.G4RHOTZM.js +19 -0
- package/cdn/chunks/chunk.G56LMKFK.js +190 -0
- package/cdn/chunks/chunk.GAYO2WF7.js +810 -0
- package/cdn/chunks/chunk.GGKAPJYB.js +4089 -0
- package/cdn/chunks/chunk.GGRHSJRY.js +278 -0
- package/cdn/chunks/chunk.GMXOAOYE.js +897 -0
- package/cdn/chunks/chunk.GPTTHV22.js +19 -0
- package/cdn/chunks/chunk.GSM3UO7L.js +125 -0
- package/cdn/chunks/chunk.GUDMVVPM.js +29 -0
- package/cdn/chunks/chunk.GWGONIHM.js +621 -0
- package/cdn/chunks/chunk.GXLMJLQN.js +19 -0
- package/cdn/chunks/chunk.H3M3UFJW.js +225 -0
- package/cdn/chunks/chunk.H4CIEYCI.js +274 -0
- package/cdn/chunks/chunk.HAMWPWKH.js +536 -0
- package/cdn/chunks/chunk.HJX5NP2U.js +49 -0
- package/cdn/chunks/chunk.HUS54CD5.js +152 -0
- package/cdn/chunks/chunk.HV7OZEJM.js +37 -0
- package/cdn/chunks/chunk.HVZFV4RK.js +271 -0
- package/cdn/chunks/chunk.I2EO4UEA.js +128 -0
- package/cdn/chunks/chunk.I2S4BY2H.js +19 -0
- package/cdn/chunks/chunk.IBOPN3BA.js +74 -0
- package/cdn/chunks/chunk.IIVOE5EV.js +34 -0
- package/cdn/chunks/chunk.ILWTJYAG.js +19 -0
- package/cdn/chunks/chunk.IMCWFOML.js +132 -0
- package/cdn/chunks/chunk.IPQAZBW5.js +33 -0
- package/cdn/chunks/chunk.IWKAVEX2.js +521 -0
- package/cdn/chunks/chunk.IXCWTH7X.js +19 -0
- package/cdn/chunks/chunk.J2O5J6LC.js +33 -0
- package/cdn/chunks/chunk.J665CST2.js +32 -0
- package/cdn/chunks/chunk.J7VOBHYB.js +29 -0
- package/cdn/chunks/chunk.JRHREVZG.js +195 -0
- package/cdn/chunks/chunk.JRT7GG7P.js +193 -0
- package/cdn/chunks/chunk.JZBAAUKG.js +37 -0
- package/cdn/chunks/chunk.K6JQEUEF.js +855 -0
- package/cdn/chunks/chunk.KBU6MR53.js +19 -0
- package/cdn/chunks/chunk.KH6TDNWG.js +32 -0
- package/cdn/chunks/chunk.KKACL6TT.js +19 -0
- package/cdn/chunks/chunk.KORCC6ZC.js +136 -0
- package/cdn/chunks/chunk.KOZYPVDG.js +29 -0
- package/cdn/chunks/chunk.KRVDOVGU.js +27 -0
- package/cdn/chunks/chunk.KVNYSD7J.js +35 -0
- package/cdn/chunks/chunk.KVY6HP36.js +504 -0
- package/cdn/chunks/chunk.KYTQLAV4.js +33 -0
- package/cdn/chunks/chunk.L2JTE4GG.js +29 -0
- package/cdn/chunks/chunk.L3IVPHBN.js +29 -0
- package/cdn/chunks/chunk.L3RRPSVD.js +310 -0
- package/cdn/chunks/chunk.LA6TV4TX.js +231 -0
- package/cdn/chunks/chunk.LFASDJBV.js +19 -0
- package/cdn/chunks/chunk.LFKTPFJU.js +19 -0
- package/cdn/chunks/chunk.LFL3PUXL.js +78 -0
- package/cdn/chunks/chunk.LI42WZVM.js +19 -0
- package/cdn/chunks/chunk.LNONJFUN.js +19 -0
- package/cdn/chunks/chunk.LUKHK72N.js +1038 -0
- package/cdn/chunks/chunk.M3QGLBMX.js +256 -0
- package/cdn/chunks/chunk.M57M7AQ5.js +19 -0
- package/cdn/chunks/chunk.MC7GK7JH.js +36 -0
- package/cdn/chunks/chunk.MC7JQJRG.js +32 -0
- package/cdn/chunks/chunk.ML5BEAMW.js +276 -0
- package/cdn/chunks/chunk.MMF6FZHE.js +19 -0
- package/cdn/chunks/chunk.MO4YNF4J.js +29 -0
- package/cdn/chunks/chunk.MUSKX3GU.js +138 -0
- package/cdn/chunks/chunk.N7GDICRN.js +568 -0
- package/cdn/chunks/chunk.NDYEK3K4.js +19 -0
- package/cdn/chunks/chunk.NHZJYK2Q.js +111 -0
- package/cdn/chunks/chunk.NRLNKN7I.js +17 -0
- package/cdn/chunks/chunk.NSKILA2A.js +29 -0
- package/cdn/chunks/chunk.NWO2MF5T.js +375 -0
- package/cdn/chunks/chunk.NX7VOYQH.js +610 -0
- package/cdn/chunks/chunk.NZA757GX.js +60 -0
- package/cdn/chunks/chunk.O2NOKPSY.js +169 -0
- package/cdn/chunks/chunk.OIOVBL5M.js +32 -0
- package/cdn/chunks/chunk.OSNWOWQ2.js +2337 -0
- package/cdn/chunks/chunk.OSRGCUJJ.js +891 -0
- package/cdn/chunks/chunk.OVC7EVR4.js +32 -0
- package/cdn/chunks/chunk.PEGHDN3D.js +32 -0
- package/cdn/chunks/chunk.PKU5OUHL.js +19 -0
- package/cdn/chunks/chunk.PVAQWFRB.js +224 -0
- package/cdn/chunks/chunk.PVNZZZCV.js +1307 -0
- package/cdn/chunks/chunk.QBDCDA3E.js +754 -0
- package/cdn/chunks/chunk.QDRW3JBM.js +113 -0
- package/cdn/chunks/chunk.QFRFT4W5.js +19 -0
- package/cdn/chunks/chunk.QJPYGHSA.js +29 -0
- package/cdn/chunks/chunk.QN4G5N5L.js +591 -0
- package/cdn/chunks/chunk.QQYFIC2N.js +19 -0
- package/cdn/chunks/chunk.QR6SCWOR.js +19 -0
- package/cdn/chunks/chunk.QRGGKLJQ.js +29 -0
- package/cdn/chunks/chunk.QSX2ASPV.js +36 -0
- package/cdn/chunks/chunk.QV7MGHUO.js +32 -0
- package/cdn/chunks/chunk.QYLVSRAZ.js +442 -0
- package/cdn/chunks/chunk.R6TDRJ2T.js +28 -0
- package/cdn/chunks/chunk.RRQO6C7V.js +208 -0
- package/cdn/chunks/chunk.RRT5M4B3.js +104 -0
- package/cdn/chunks/chunk.RZNXY5DA.js +85 -0
- package/cdn/chunks/chunk.S2MHJ2BL.js +529 -0
- package/cdn/chunks/chunk.S2P2KBX3.js +19 -0
- package/cdn/chunks/chunk.S5UFNVHZ.js +1768 -0
- package/cdn/chunks/chunk.SAMOMNBR.js +32 -0
- package/cdn/chunks/chunk.SPWHG3FQ.js +36 -0
- package/cdn/chunks/chunk.SRIL2GZR.js +19 -0
- package/cdn/chunks/chunk.T32DCJPK.js +33 -0
- package/cdn/chunks/chunk.T3YLYNOF.js +2977 -0
- package/cdn/chunks/chunk.T7754SP4.js +33 -0
- package/cdn/chunks/chunk.T7KRTL2U.js +19 -0
- package/cdn/chunks/chunk.TAY4BUTR.js +92 -0
- package/cdn/chunks/chunk.TBU3QGJR.js +29 -0
- package/cdn/chunks/chunk.TEEU5HFN.js +284 -0
- package/cdn/chunks/chunk.TFRA4ITH.js +32 -0
- package/cdn/chunks/chunk.TFRHDABM.js +19 -0
- package/cdn/chunks/chunk.THX4K42R.js +19 -0
- package/cdn/chunks/chunk.TKLGXW34.js +19 -0
- package/cdn/chunks/chunk.TMAJCFSJ.js +19 -0
- package/cdn/chunks/chunk.TMPSEY4M.js +876 -0
- package/cdn/chunks/chunk.TULXWHMT.js +19 -0
- package/cdn/chunks/chunk.U42UGPIF.js +34 -0
- package/cdn/chunks/chunk.U7RFQUL4.js +117 -0
- package/cdn/chunks/chunk.UHSY6WVZ.js +19 -0
- package/cdn/chunks/chunk.UI7YLIQD.js +19 -0
- package/cdn/chunks/chunk.UK5FWG26.js +621 -0
- package/cdn/chunks/chunk.UMPFH3IG.js +32 -0
- package/cdn/chunks/chunk.UW4VQ2ZT.js +29 -0
- package/cdn/chunks/chunk.UWQGPSGJ.js +123 -0
- package/cdn/chunks/chunk.UYISI6DV.js +161 -0
- package/cdn/chunks/chunk.VBP6ZZXJ.js +104 -0
- package/cdn/chunks/chunk.VNSMUAG2.js +19 -0
- package/cdn/chunks/chunk.VQFDZZR5.js +64743 -0
- package/cdn/chunks/chunk.VTJ45MEV.js +68 -0
- package/cdn/chunks/chunk.VXTFCFJP.js +29 -0
- package/cdn/chunks/chunk.VYRHCJMA.js +19 -0
- package/cdn/chunks/chunk.W5BKCYRV.js +19 -0
- package/cdn/chunks/chunk.W7NVJUQD.js +42 -0
- package/cdn/chunks/chunk.WAIMZWDO.js +32 -0
- package/cdn/chunks/chunk.WCOQW5IP.js +29 -0
- package/cdn/chunks/chunk.WENZIKZU.js +37 -0
- package/cdn/chunks/chunk.WLIBRD3E.js +36 -0
- package/cdn/chunks/chunk.WMGJ3MAP.js +415 -0
- package/cdn/chunks/chunk.WT45RB6M.js +86 -0
- package/cdn/chunks/chunk.WVIQ74WP.js +29 -0
- package/cdn/chunks/chunk.WVKE7GDV.js +82 -0
- package/cdn/chunks/chunk.X6V5UTEC.js +19 -0
- package/cdn/chunks/chunk.XE7NSCVW.js +35 -0
- package/cdn/chunks/chunk.XEPXVSXX.js +19 -0
- package/cdn/chunks/chunk.XFTU6F75.js +19 -0
- package/cdn/chunks/chunk.XGGJLW76.js +19 -0
- package/cdn/chunks/chunk.XIPDYSFN.js +32 -0
- package/cdn/chunks/chunk.XIY5GTZR.js +19 -0
- package/cdn/chunks/chunk.XLUZ67JF.js +11763 -0
- package/cdn/chunks/chunk.Y7SR4L5C.js +19 -0
- package/cdn/chunks/chunk.YJ7H7EYL.js +71 -0
- package/cdn/chunks/chunk.YKDCWNZE.js +17319 -0
- package/cdn/chunks/chunk.YMH7U2K5.js +29 -0
- package/cdn/chunks/chunk.YU5KVALN.js +29 -0
- package/cdn/chunks/chunk.Z6ZRFFCE.js +35 -0
- package/cdn/chunks/chunk.ZG6QTQKO.js +162 -0
- package/cdn/chunks/chunk.ZL4AGGZE.js +35 -0
- package/cdn/chunks/chunk.ZL6COYU6.js +19 -0
- package/cdn/chunks/chunk.ZNSSJSKK.js +158 -0
- package/cdn/chunks/lerc.IIII5MJ5.js +2099 -0
- package/cdn/components/accordion/accordion.component.js +5 -5
- package/cdn/components/accordion/accordion.js +6 -6
- package/cdn/components/alert/alert.component.js +4 -4
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/avatar/avatar.component.js +5 -5
- package/cdn/components/avatar/avatar.js +6 -6
- package/cdn/components/badge/badge.component.js +3 -3
- package/cdn/components/badge/badge.js +4 -4
- package/cdn/components/banner/banner.component.js +3 -3
- package/cdn/components/banner/banner.js +4 -4
- package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.js +3 -3
- package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
- package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
- package/cdn/components/browse-variables/browse-variables.component.d.ts +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +21 -21
- package/cdn/components/browse-variables/browse-variables.controller.js +2 -2
- package/cdn/components/browse-variables/browse-variables.js +22 -22
- package/cdn/components/button/button.component.js +6 -6
- package/cdn/components/button/button.js +7 -7
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/caption/caption.component.js +2 -2
- package/cdn/components/caption/caption.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +5 -5
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +5 -5
- package/cdn/components/combobox/combobox.js +6 -6
- package/cdn/components/data-access/data-access.component.d.ts +11 -11
- package/cdn/components/data-access/data-access.component.js +69 -56
- package/cdn/components/data-access/data-access.js +70 -57
- package/cdn/components/data-grid/data-grid.component.js +3 -3
- package/cdn/components/data-grid/data-grid.js +4 -4
- package/cdn/components/data-rods/data-rods.component.d.ts +7 -11
- package/cdn/components/data-rods/data-rods.component.js +79 -67
- package/cdn/components/data-rods/data-rods.js +80 -68
- package/cdn/components/data-subsetter/data-subsetter.component.d.ts +8 -5
- package/cdn/components/data-subsetter/data-subsetter.component.js +83 -72
- package/cdn/components/data-subsetter/data-subsetter.js +84 -73
- package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
- package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.d.ts +4 -7
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +84 -73
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +85 -74
- package/cdn/components/date-picker/date-picker.component.d.ts +3 -4
- package/cdn/components/date-picker/date-picker.component.js +14 -14
- package/cdn/components/date-picker/date-picker.js +15 -15
- package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
- package/cdn/components/date-range-slider/date-range-slider.js +4 -4
- package/cdn/components/dialog/dialog.component.js +8 -8
- package/cdn/components/dialog/dialog.js +9 -9
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/dropdown/dropdown.component.js +4 -4
- package/cdn/components/dropdown/dropdown.js +5 -5
- package/cdn/components/earthdata-login/earthdata-login.component.d.ts +3 -1
- package/cdn/components/earthdata-login/earthdata-login.component.js +16 -17
- package/cdn/components/earthdata-login/earthdata-login.js +17 -18
- package/cdn/components/file-upload/file-upload.component.js +2 -2
- package/cdn/components/file-upload/file-upload.js +3 -3
- package/cdn/components/harmony-history/harmony-history.component.d.ts +3 -6
- package/cdn/components/harmony-history/harmony-history.component.js +12 -13
- package/cdn/components/harmony-history/harmony-history.js +13 -14
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.d.ts +3 -1
- package/cdn/components/login/login.component.js +12 -13
- package/cdn/components/login/login.js +13 -14
- package/cdn/components/map/controls/draw-toolbar.control.d.ts +5 -2
- package/cdn/components/map/controls/draw-toolbar.control.js +18 -8
- package/cdn/components/map/controls/layer-picker.control.d.ts +16 -0
- package/cdn/components/map/controls/layer-picker.control.js +13 -0
- package/cdn/components/map/layers/base.layer.d.ts +10 -0
- package/cdn/components/map/layers/base.layer.js +25 -14
- package/cdn/components/map/layers/borders.layer.js +21 -13
- package/cdn/components/map/layers/boundary.d.ts +30 -0
- package/cdn/components/map/layers/boundary.js +20 -0
- package/cdn/components/map/layers/common.d.ts +2 -0
- package/cdn/components/map/layers/geotiff.layer.js +12 -7
- package/cdn/components/map/layers/gibs-vector.layer.js +26 -18
- package/cdn/components/map/layers/gibs.layer.d.ts +6 -0
- package/cdn/components/map/layers/gibs.layer.js +26 -18
- package/cdn/components/map/layers/labels.layer.js +21 -13
- package/cdn/components/map/layers/layer.js +28 -20
- package/cdn/components/map/layers/xyz.layer.js +17 -12
- package/cdn/components/map/map.component.d.ts +73 -21
- package/cdn/components/map/map.component.js +43 -29
- package/cdn/components/map/map.js +44 -30
- package/cdn/components/map/map.service.d.ts +92 -9
- package/cdn/components/map/map.service.js +33 -19
- package/cdn/components/map/map.styles.js +1 -1
- package/cdn/components/map/projections.js +4 -3
- package/cdn/components/map/type.d.ts +7 -0
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +7 -7
- package/cdn/components/menu-item/menu-item.js +8 -8
- package/cdn/components/option/option.component.js +4 -4
- package/cdn/components/option/option.js +5 -5
- package/cdn/components/pagination/pagination.component.js +4 -4
- package/cdn/components/pagination/pagination.js +5 -5
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +4 -4
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +54 -42
- package/cdn/components/plot-toolbar/plot-toolbar.js +55 -43
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
- package/cdn/components/scroll-hint/scroll-hint.js +5 -5
- package/cdn/components/select/select.component.js +8 -8
- package/cdn/components/select/select.js +9 -9
- package/cdn/components/site-header/site-header.component.js +5 -5
- package/cdn/components/site-header/site-header.js +5 -5
- package/cdn/components/site-navigation/site-navigation.component.js +2 -2
- package/cdn/components/site-navigation/site-navigation.js +2 -2
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/slider/slider.component.js +2 -2
- package/cdn/components/slider/slider.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +0 -10
- package/cdn/components/spatial-picker/spatial-picker.component.js +53 -39
- package/cdn/components/spatial-picker/spatial-picker.js +54 -40
- package/cdn/components/status-indicator/status-indicator.component.js +2 -2
- package/cdn/components/status-indicator/status-indicator.js +3 -3
- package/cdn/components/stepper/stepper.component.js +2 -2
- package/cdn/components/stepper/stepper.js +3 -3
- package/cdn/components/stepper-step/stepper-step.component.js +4 -4
- package/cdn/components/stepper-step/stepper-step.js +5 -5
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-panel/tab-panel.component.js +3 -3
- package/cdn/components/tab-panel/tab-panel.js +4 -4
- package/cdn/components/tabs/tabs.component.d.ts +2 -1
- package/cdn/components/tabs/tabs.component.js +4 -4
- package/cdn/components/tabs/tabs.js +5 -5
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/textarea/textarea.component.js +4 -4
- package/cdn/components/textarea/textarea.js +5 -5
- package/cdn/components/time-average-map/time-average-map.component.d.ts +10 -14
- package/cdn/components/time-average-map/time-average-map.component.js +66 -54
- package/cdn/components/time-average-map/time-average-map.controller.js +7 -7
- package/cdn/components/time-average-map/time-average-map.js +67 -55
- package/cdn/components/time-series/time-series.component.d.ts +2 -10
- package/cdn/components/time-series/time-series.component.js +66 -54
- package/cdn/components/time-series/time-series.controller.js +7 -7
- package/cdn/components/time-series/time-series.js +67 -55
- package/cdn/components/toast/toast.component.js +5 -5
- package/cdn/components/toast/toast.js +6 -6
- package/cdn/components/toggle/toggle.component.js +4 -4
- package/cdn/components/toggle/toggle.js +5 -5
- package/cdn/components/tooltip/tooltip.component.js +4 -4
- package/cdn/components/tooltip/tooltip.js +5 -5
- package/cdn/components/variable-combobox/variable-combobox.component.d.ts +5 -9
- package/cdn/components/variable-combobox/variable-combobox.component.js +14 -12
- package/cdn/components/variable-combobox/variable-combobox.js +15 -13
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts +2 -2
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +11 -11
- package/cdn/custom-elements.json +10670 -8582
- package/cdn/events/events.d.ts +2 -2
- package/cdn/events/terra-map.d.ts +55 -0
- package/cdn/mixins/auth.mixin.d.ts +23 -0
- package/cdn/mixins/mixin.types.d.ts +1 -0
- package/cdn/mixins/query-client.mixin.d.ts +1 -1
- package/cdn/react/accordion/index.js +6 -6
- package/cdn/react/alert/index.js +5 -5
- package/cdn/react/avatar/index.js +6 -6
- package/cdn/react/badge/index.js +4 -4
- package/cdn/react/banner/index.js +4 -4
- package/cdn/react/breadcrumb/index.js +3 -3
- package/cdn/react/breadcrumbs/index.js +3 -3
- package/cdn/react/browse-variables/index.js +22 -22
- package/cdn/react/button/index.js +7 -7
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/caption/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/checkbox/index.js +6 -6
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +6 -6
- package/cdn/react/data-access/index.js +70 -57
- package/cdn/react/data-grid/index.js +4 -4
- package/cdn/react/data-rods/index.d.ts +6 -1
- package/cdn/react/data-rods/index.js +80 -68
- package/cdn/react/data-subsetter/index.d.ts +3 -0
- package/cdn/react/data-subsetter/index.js +84 -73
- package/cdn/react/data-subsetter-history/index.d.ts +6 -1
- package/cdn/react/data-subsetter-history/index.js +85 -74
- package/cdn/react/date-picker/index.js +15 -15
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/dialog/index.js +9 -9
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/dropdown/index.js +5 -5
- package/cdn/react/earthdata-login/index.js +17 -18
- package/cdn/react/file-upload/index.js +3 -3
- package/cdn/react/harmony-history/index.d.ts +3 -0
- package/cdn/react/harmony-history/index.js +13 -14
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/index.d.ts +24 -24
- package/cdn/react/index.js +277 -265
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +13 -14
- package/cdn/react/map/index.d.ts +32 -1
- package/cdn/react/map/index.js +44 -30
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +8 -8
- package/cdn/react/option/index.js +5 -5
- package/cdn/react/pagination/index.js +5 -5
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/plot-toolbar/index.d.ts +6 -1
- package/cdn/react/plot-toolbar/index.js +55 -43
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/scroll-hint/index.js +5 -5
- package/cdn/react/select/index.js +9 -9
- package/cdn/react/site-header/index.js +6 -6
- package/cdn/react/site-navigation/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/slider/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +54 -40
- package/cdn/react/status-indicator/index.js +3 -3
- package/cdn/react/stepper/index.js +3 -3
- package/cdn/react/stepper-step/index.js +5 -5
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-panel/index.js +4 -4
- package/cdn/react/tabs/index.js +5 -5
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/textarea/index.js +5 -5
- package/cdn/react/time-average-map/index.d.ts +6 -1
- package/cdn/react/time-average-map/index.js +67 -55
- package/cdn/react/time-series/index.d.ts +3 -0
- package/cdn/react/time-series/index.js +67 -55
- package/cdn/react/toast/index.js +6 -6
- package/cdn/react/toggle/index.js +5 -5
- package/cdn/react/tooltip/index.js +5 -5
- package/cdn/react/variable-combobox/index.d.ts +4 -1
- package/cdn/react/variable-combobox/index.js +15 -13
- package/cdn/react/variable-keyword-search/index.d.ts +1 -1
- package/cdn/react/variable-keyword-search/index.js +11 -11
- package/cdn/terra-ui-components.js +278 -266
- package/cdn/types/vue/index.d.ts +1037 -870
- package/cdn/utilities/date.d.ts +4 -0
- package/cdn/utilities/date.js +3 -1
- package/cdn/utilities/variable-task.js +2 -2
- package/cdn/vscode.html-custom-data.json +692 -661
- package/cdn/web-types.json +2243 -2077
- package/dist/apis/harmony.api.d.ts +5 -0
- package/dist/chunks/chunk.25A7KRDN.js +19 -0
- package/dist/chunks/chunk.2C5HNR5L.js +4 -0
- package/dist/chunks/chunk.2O3IOB3J.js +1 -0
- package/dist/chunks/chunk.33OXTI3O.js +22 -0
- package/dist/chunks/chunk.345LFJWT.js +1 -0
- package/dist/chunks/chunk.3D65L7Z7.js +1 -0
- package/dist/chunks/chunk.3GAETZS7.js +12 -0
- package/dist/chunks/chunk.3IH7Q4YU.js +1 -0
- package/dist/chunks/chunk.424PTQE6.js +1 -0
- package/dist/chunks/chunk.43YXC3BX.js +1 -0
- package/dist/chunks/chunk.45H2PNH4.js +1 -0
- package/dist/chunks/chunk.47YM7IJH.js +1 -0
- package/dist/chunks/chunk.4A2YMU2A.js +1 -0
- package/dist/chunks/chunk.4BU5K6UJ.js +1 -0
- package/dist/chunks/chunk.4HQHKAPL.js +1 -0
- package/dist/chunks/chunk.4POG3VJI.js +148 -0
- package/dist/chunks/chunk.4QRZ7ROR.js +299 -0
- package/dist/chunks/chunk.4WJQSWQN.js +1 -0
- package/dist/chunks/chunk.52VRTKYJ.js +1 -0
- package/dist/chunks/chunk.55FJVUS6.js +43 -0
- package/dist/chunks/chunk.55S45QN4.js +1 -0
- package/dist/chunks/chunk.574Z2YXE.js +1 -0
- package/dist/chunks/chunk.5EE4HG2I.js +1 -0
- package/dist/chunks/chunk.5SZGFRLL.js +1 -0
- package/dist/chunks/chunk.5TJN4Z3R.js +1 -0
- package/dist/chunks/chunk.5TYJPHW2.js +1 -0
- package/dist/chunks/chunk.5UYKLBWJ.js +8 -0
- package/dist/chunks/chunk.5VNCJX27.js +55 -0
- package/dist/chunks/chunk.64725NP3.js +1 -0
- package/dist/chunks/chunk.6HO3MVIP.js +1 -0
- package/dist/chunks/chunk.6I57S7FR.js +27 -0
- package/dist/chunks/chunk.6XHCRR5R.js +9 -0
- package/dist/chunks/chunk.73HKAO6V.js +11 -0
- package/dist/chunks/chunk.7COB35MT.js +75 -0
- package/dist/chunks/chunk.7NCUNKBE.js +1 -0
- package/dist/chunks/chunk.7NXWYAIR.js +1 -0
- package/dist/chunks/chunk.7SLU543S.js +1 -0
- package/dist/chunks/chunk.7XQG4HG3.js +1 -0
- package/dist/chunks/chunk.A2ZTVI45.js +154 -0
- package/dist/chunks/chunk.AAUFO4KA.js +1 -0
- package/dist/chunks/chunk.AFNS7NIK.js +1 -0
- package/dist/chunks/chunk.AHL4S3IT.js +1 -0
- package/dist/chunks/chunk.AHS4Q35I.js +1 -0
- package/dist/chunks/chunk.AIWYS7YQ.js +1 -0
- package/dist/chunks/chunk.ALIRA2AC.js +1 -0
- package/dist/chunks/chunk.ATILEODB.js +18 -0
- package/dist/chunks/chunk.B3X6VXDL.js +1 -0
- package/dist/chunks/chunk.B4BXOMMQ.js +1 -0
- package/dist/chunks/chunk.BCGQKSR6.js +1 -0
- package/dist/chunks/chunk.BOZFOR5U.js +1 -0
- package/dist/chunks/chunk.BQB6XWSY.js +1 -0
- package/dist/chunks/chunk.BW5OZ5PS.js +1 -0
- package/dist/chunks/chunk.BXPTMVQE.js +1 -0
- package/dist/chunks/chunk.C6OX4NX6.js +74 -0
- package/dist/chunks/chunk.C7VEVA2Y.js +20 -0
- package/dist/chunks/chunk.CEOBCS56.js +1 -0
- package/dist/chunks/chunk.CGTXCYPM.js +41 -0
- package/dist/chunks/chunk.CH2PWIJD.js +5 -0
- package/dist/chunks/chunk.CLY6HMJZ.js +121 -0
- package/dist/chunks/chunk.CNGZOMLD.js +1 -0
- package/dist/chunks/chunk.CPFON5LM.js +1 -0
- package/dist/chunks/chunk.CQUQVS3M.js +1 -0
- package/dist/chunks/chunk.CRHOUQZH.js +1023 -0
- package/dist/chunks/chunk.CVKACFML.js +1 -0
- package/dist/chunks/chunk.D3JQRTEL.js +1 -0
- package/dist/chunks/chunk.DH5QWPH3.js +126 -0
- package/dist/chunks/chunk.DJ5BXB5G.js +48 -0
- package/dist/chunks/chunk.DKBGIHHD.js +1 -0
- package/dist/chunks/chunk.DOT4H7LX.js +2 -0
- package/dist/chunks/chunk.DTKNWAYL.js +62 -0
- package/dist/chunks/chunk.DWQMS6BC.js +1 -0
- package/dist/chunks/chunk.E477TJOR.js +1 -0
- package/dist/chunks/chunk.E4ELJE6I.js +35 -0
- package/dist/chunks/chunk.EB3ZPXT6.js +1 -0
- package/dist/chunks/chunk.EP2O3QZD.js +1 -0
- package/dist/chunks/chunk.EP5CSYKQ.js +1 -0
- package/dist/chunks/chunk.EQV2PFSY.js +1 -0
- package/dist/chunks/chunk.ER2IYY3T.js +1 -0
- package/dist/chunks/chunk.EV5P56DN.js +1 -0
- package/dist/chunks/chunk.F3NCEQ7X.js +1 -0
- package/dist/chunks/chunk.FSZCT7LX.js +26 -0
- package/dist/chunks/chunk.G3ZRWDDX.js +1 -0
- package/dist/chunks/chunk.G57LF47A.js +1 -0
- package/dist/chunks/chunk.GABTYKJH.js +1 -0
- package/dist/chunks/chunk.GHAZYRJA.js +1 -0
- package/dist/chunks/chunk.GP5SO7WB.js +43 -0
- package/dist/chunks/chunk.GQKEZMI5.js +64 -0
- package/dist/chunks/chunk.GUCJK7CQ.js +1 -0
- package/dist/chunks/chunk.GVVBO4QC.js +30 -0
- package/dist/chunks/chunk.H57KVCKB.js +4 -0
- package/dist/chunks/chunk.HCPPIK6X.js +1 -0
- package/dist/chunks/chunk.HDBWSDNO.js +1 -0
- package/dist/chunks/chunk.HDQVEOLO.js +1 -0
- package/dist/chunks/chunk.HKOYW5P7.js +1 -0
- package/dist/chunks/chunk.HPJUOBS5.js +1 -0
- package/dist/chunks/chunk.HTEGCYSS.js +2 -0
- package/dist/chunks/chunk.I2766Z6G.js +1 -0
- package/dist/chunks/chunk.I6OSLDVJ.js +1 -0
- package/dist/chunks/chunk.I6WZHDJR.js +1 -0
- package/dist/chunks/chunk.ID6GATFM.js +1 -0
- package/dist/chunks/chunk.IDQKGC62.js +1 -0
- package/dist/chunks/chunk.IRLLX53J.js +47 -0
- package/dist/chunks/chunk.IS2NEHYI.js +1 -0
- package/dist/chunks/chunk.IS4IX5PC.js +1 -0
- package/dist/chunks/chunk.J6W2UPV5.js +1 -0
- package/dist/chunks/chunk.JBNOA3A2.js +1 -0
- package/dist/chunks/chunk.JDM4WI4S.js +20 -0
- package/dist/chunks/chunk.JIF57YBB.js +1 -0
- package/dist/chunks/chunk.JM33IYJC.js +1 -0
- package/dist/chunks/chunk.JMLZNWOP.js +14 -0
- package/dist/chunks/chunk.JRCA2SKL.js +145 -0
- package/dist/chunks/chunk.JVSJPJIU.js +5 -0
- package/dist/chunks/chunk.JZKLCWMN.js +1 -0
- package/dist/chunks/chunk.JZLGMRZU.js +157 -0
- package/dist/chunks/chunk.K5BRJBGT.js +1 -0
- package/dist/chunks/chunk.KACJAQNX.js +6 -0
- package/dist/chunks/chunk.KEJYVX6V.js +55 -0
- package/dist/chunks/chunk.KF3WZUJB.js +1 -0
- package/dist/chunks/chunk.KGWY64U3.js +1 -0
- package/dist/chunks/chunk.KHUTJ2EC.js +1 -0
- package/dist/chunks/chunk.KOQ6WD4F.js +1 -0
- package/dist/chunks/chunk.KPNLEIXC.js +99 -0
- package/dist/chunks/chunk.KZAPYGJP.js +1 -0
- package/dist/chunks/chunk.L5QDGGS7.js +1 -0
- package/dist/chunks/chunk.LCYI63EA.js +20 -0
- package/dist/chunks/chunk.LEZEAL23.js +1 -0
- package/dist/chunks/chunk.LM6MTY2M.js +37 -0
- package/dist/chunks/chunk.LOLJACKL.js +1 -0
- package/dist/chunks/chunk.LQU34HVZ.js +1 -0
- package/dist/chunks/chunk.LVAET76P.js +1 -0
- package/dist/chunks/chunk.LXFMQAKV.js +1 -0
- package/dist/chunks/chunk.LYEGL5BZ.js +1 -0
- package/dist/chunks/chunk.LZZE65EN.js +1 -0
- package/dist/chunks/chunk.MCJ2GX4A.js +30 -0
- package/dist/chunks/chunk.MDKK4AJV.js +17 -0
- package/dist/chunks/chunk.MF67H5JA.js +1 -0
- package/dist/chunks/chunk.MGU32BIU.js +59 -0
- package/dist/chunks/chunk.MK3X5JIU.js +65 -0
- package/dist/chunks/chunk.MLR4ZKRU.js +1 -0
- package/dist/chunks/chunk.MQIO6BEA.js +1 -0
- package/dist/chunks/chunk.MU4BRZ5R.js +1 -0
- package/dist/chunks/chunk.MWPFFGL3.js +1 -0
- package/dist/chunks/chunk.MXMEA7TP.js +1 -0
- package/dist/chunks/chunk.N3V2FL7Q.js +1 -0
- package/dist/chunks/chunk.NARLVFIQ.js +33 -0
- package/dist/chunks/chunk.NK753QCZ.js +1 -0
- package/dist/chunks/chunk.NOXPOPPM.js +1 -0
- package/dist/chunks/chunk.NTZXYW2X.js +1 -0
- package/dist/chunks/chunk.NV3ZCWPP.js +1 -0
- package/dist/chunks/chunk.O2UN3QQG.js +1 -0
- package/dist/chunks/chunk.O47BMDEV.js +1 -0
- package/dist/chunks/chunk.OJM5RA3G.js +1 -0
- package/dist/chunks/chunk.OM4YQXHL.js +1 -0
- package/dist/chunks/chunk.OVTNI4H2.js +1 -0
- package/dist/chunks/chunk.OWXS5GVL.js +1 -0
- package/dist/chunks/chunk.OZSD4QYB.js +1 -0
- package/dist/chunks/chunk.PIKCG752.js +1 -0
- package/dist/chunks/chunk.PLSGWBX4.js +42 -0
- package/dist/chunks/chunk.PP6KREF2.js +5 -0
- package/dist/chunks/chunk.PQVZB2P2.js +67 -0
- package/dist/chunks/chunk.PRUHQ3VS.js +1 -0
- package/dist/chunks/chunk.PWFX3VPM.js +1 -0
- package/dist/chunks/chunk.PXVAQ2MA.js +55 -0
- package/dist/chunks/chunk.Q6O6LV3R.js +1 -0
- package/dist/chunks/chunk.QB7E6R2H.js +1 -0
- package/dist/chunks/chunk.QJRLPQ4M.js +1 -0
- package/dist/chunks/chunk.QOQWXEK5.js +1 -0
- package/dist/chunks/chunk.QVDEJXKO.js +1 -0
- package/dist/chunks/chunk.RKMR7V7J.js +1 -0
- package/dist/chunks/chunk.RLTSECXU.js +1 -0
- package/dist/chunks/chunk.RQYBMFWH.js +25 -0
- package/dist/chunks/chunk.S6IY5EKN.js +1 -0
- package/dist/chunks/chunk.SD2Q7EO2.js +23 -0
- package/dist/chunks/chunk.SEBIDNZM.js +1 -0
- package/dist/chunks/chunk.SF2OZFKQ.js +26 -0
- package/dist/chunks/chunk.SFK6BRQV.js +16 -0
- package/dist/chunks/chunk.SJTIVT6P.js +1 -0
- package/dist/chunks/chunk.SKK3NN5J.js +129 -0
- package/dist/chunks/chunk.SXGO5MEK.js +100 -0
- package/dist/chunks/chunk.TANXPJFE.js +1 -0
- package/dist/chunks/chunk.TATIBHUA.js +1 -0
- package/dist/chunks/chunk.TOON2INB.js +39 -0
- package/dist/chunks/chunk.TPUQNE3A.js +1 -0
- package/dist/chunks/chunk.TUGWQPTL.js +1 -0
- package/dist/chunks/chunk.TVERDMGY.js +113 -0
- package/dist/chunks/chunk.TWRNH5K5.js +1 -0
- package/dist/chunks/chunk.UQ6BNK6J.js +1 -0
- package/dist/chunks/chunk.UR7PHRDS.js +345 -0
- package/dist/chunks/chunk.V4XJH6YL.js +80 -0
- package/dist/chunks/chunk.VEPO6QAD.js +1 -0
- package/dist/chunks/chunk.VGN6LMHA.js +1 -0
- package/dist/chunks/chunk.VGQNQREB.js +1 -0
- package/dist/chunks/chunk.VSYDUDNW.js +1286 -0
- package/dist/chunks/chunk.W2E2TLSM.js +176 -0
- package/dist/chunks/chunk.WQ6USVYL.js +1 -0
- package/dist/chunks/chunk.WSBH5HTI.js +1 -0
- package/dist/chunks/chunk.WVBRHYTU.js +1 -0
- package/dist/chunks/chunk.X66E247Y.js +1 -0
- package/dist/chunks/chunk.XAPKFJEL.js +1 -0
- package/dist/chunks/chunk.XCYCEX7B.js +1 -0
- package/dist/chunks/chunk.XYOSJOLJ.js +1 -0
- package/dist/chunks/chunk.XZJS7S7T.js +280 -0
- package/dist/chunks/chunk.Y6ESPBDJ.js +1 -0
- package/dist/chunks/chunk.Y6HSCFK2.js +1 -0
- package/dist/chunks/chunk.YA7JZZG4.js +1 -0
- package/dist/chunks/chunk.YBALUVPL.js +1 -0
- package/dist/chunks/chunk.YFCEZZRF.js +1 -0
- package/dist/chunks/chunk.YLGPGQY4.js +566 -0
- package/dist/chunks/chunk.YLNZLECF.js +9 -0
- package/dist/chunks/chunk.YMDGNLGV.js +1 -0
- package/dist/chunks/chunk.YNN3NBWK.js +1 -0
- package/dist/chunks/chunk.YO67MSZK.js +780 -0
- package/dist/chunks/chunk.YY3G7NCY.js +35 -0
- package/dist/chunks/chunk.YZJEAHZH.js +1 -0
- package/dist/chunks/chunk.YZXEYQ6F.js +1 -0
- package/dist/chunks/chunk.ZBHNSZBH.js +24 -0
- package/dist/chunks/chunk.ZCPIP5RL.js +774 -0
- package/dist/chunks/chunk.ZFCVEZXM.js +11 -0
- package/dist/components/accordion/accordion.component.js +1 -1
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/alert/alert.component.js +1 -1
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/avatar/avatar.component.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/badge/badge.component.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/banner/banner.component.js +1 -1
- package/dist/components/banner/banner.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/components/browse-variables/browse-variables.component.d.ts +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +1 -1
- package/dist/components/browse-variables/browse-variables.controller.js +1 -1
- package/dist/components/browse-variables/browse-variables.js +1 -1
- package/dist/components/button/button.component.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button-group/button-group.component.js +1 -1
- package/dist/components/button-group/button-group.js +1 -1
- package/dist/components/caption/caption.component.js +1 -1
- package/dist/components/caption/caption.js +1 -1
- package/dist/components/card/card.component.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/checkbox/checkbox.component.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/chip/chip.component.js +1 -1
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/combobox/combobox.component.js +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/data-access/data-access.component.d.ts +11 -11
- package/dist/components/data-access/data-access.component.js +1 -1
- package/dist/components/data-access/data-access.js +1 -1
- package/dist/components/data-grid/data-grid.component.js +1 -1
- package/dist/components/data-grid/data-grid.js +1 -1
- package/dist/components/data-rods/data-rods.component.d.ts +7 -11
- package/dist/components/data-rods/data-rods.component.js +1 -1
- package/dist/components/data-rods/data-rods.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.component.d.ts +8 -5
- package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
- package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.component.d.ts +4 -7
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
- package/dist/components/date-picker/date-picker.component.d.ts +3 -4
- package/dist/components/date-picker/date-picker.component.js +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.js +1 -1
- package/dist/components/dialog/dialog.component.js +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/divider/divider.component.js +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +1 -1
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.component.d.ts +3 -1
- package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.js +1 -1
- package/dist/components/file-upload/file-upload.component.js +1 -1
- package/dist/components/file-upload/file-upload.js +1 -1
- package/dist/components/harmony-history/harmony-history.component.d.ts +3 -6
- package/dist/components/harmony-history/harmony-history.component.js +1 -1
- package/dist/components/harmony-history/harmony-history.js +1 -1
- package/dist/components/icon/icon.component.js +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/input/input.component.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/loader/loader.component.js +1 -1
- package/dist/components/loader/loader.js +1 -1
- package/dist/components/login/login.component.d.ts +3 -1
- package/dist/components/login/login.component.js +1 -1
- package/dist/components/login/login.js +1 -1
- package/dist/components/map/controls/draw-toolbar.control.d.ts +5 -2
- package/dist/components/map/controls/draw-toolbar.control.js +1 -1
- package/dist/components/map/controls/layer-picker.control.d.ts +16 -0
- package/dist/components/map/controls/layer-picker.control.js +1 -0
- package/dist/components/map/layers/base.layer.d.ts +10 -0
- package/dist/components/map/layers/base.layer.js +1 -1
- package/dist/components/map/layers/boundary.d.ts +30 -0
- package/dist/components/map/layers/boundary.js +1 -0
- package/dist/components/map/layers/common.d.ts +2 -0
- package/dist/components/map/layers/gibs-vector.layer.js +1 -1
- package/dist/components/map/layers/gibs.layer.d.ts +6 -0
- package/dist/components/map/layers/gibs.layer.js +1 -1
- package/dist/components/map/layers/layer.js +1 -1
- package/dist/components/map/map.component.d.ts +73 -21
- package/dist/components/map/map.component.js +1 -1
- package/dist/components/map/map.js +1 -1
- package/dist/components/map/map.service.d.ts +92 -9
- package/dist/components/map/map.service.js +1 -1
- package/dist/components/map/map.styles.js +1 -1
- package/dist/components/map/type.d.ts +7 -0
- package/dist/components/map/type.js +1 -1
- package/dist/components/menu/menu.component.js +1 -1
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/menu-item/menu-item.component.js +1 -1
- package/dist/components/menu-item/menu-item.js +1 -1
- package/dist/components/option/option.component.js +1 -1
- package/dist/components/option/option.js +1 -1
- package/dist/components/pagination/pagination.component.js +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/plot/plot.component.js +1 -1
- package/dist/components/plot/plot.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +4 -4
- package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
- package/dist/components/popup/popup.component.js +1 -1
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/progress-bar/progress-bar.component.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +1 -1
- package/dist/components/radio/radio.component.js +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-group/radio-group.component.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.js +1 -1
- package/dist/components/select/select.component.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/site-header/site-header.component.js +1 -1
- package/dist/components/site-header/site-header.js +1 -1
- package/dist/components/site-navigation/site-navigation.component.js +1 -1
- package/dist/components/site-navigation/site-navigation.js +1 -1
- package/dist/components/skeleton/skeleton.component.js +1 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/slider/slider.component.js +1 -1
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.component.d.ts +0 -10
- package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.js +1 -1
- package/dist/components/status-indicator/status-indicator.component.js +1 -1
- package/dist/components/status-indicator/status-indicator.js +1 -1
- package/dist/components/stepper/stepper.component.js +1 -1
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper-step/stepper-step.component.js +1 -1
- package/dist/components/stepper-step/stepper-step.js +1 -1
- package/dist/components/tab/tab.component.js +1 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +1 -1
- package/dist/components/tabs/tabs.component.d.ts +2 -1
- package/dist/components/tabs/tabs.component.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tag/tag.component.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/textarea/textarea.component.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/time-average-map/time-average-map.component.d.ts +10 -14
- package/dist/components/time-average-map/time-average-map.component.js +1 -1
- package/dist/components/time-average-map/time-average-map.controller.js +1 -1
- package/dist/components/time-average-map/time-average-map.js +1 -1
- package/dist/components/time-series/time-series.component.d.ts +2 -10
- package/dist/components/time-series/time-series.component.js +1 -1
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +1 -1
- package/dist/components/toast/toast.component.js +1 -1
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/toggle/toggle.component.js +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/tooltip/tooltip.component.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.component.d.ts +5 -9
- package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.component.d.ts +2 -2
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
- package/dist/custom-elements.json +10670 -8582
- package/dist/events/events.d.ts +2 -2
- package/dist/events/terra-map.d.ts +55 -0
- package/dist/mixins/auth.mixin.d.ts +23 -0
- package/dist/mixins/mixin.types.d.ts +1 -0
- package/dist/mixins/query-client.mixin.d.ts +1 -1
- package/dist/react/accordion/index.js +1 -1
- package/dist/react/alert/index.js +1 -1
- package/dist/react/avatar/index.js +1 -1
- package/dist/react/badge/index.js +1 -1
- package/dist/react/banner/index.js +1 -1
- package/dist/react/breadcrumb/index.js +1 -1
- package/dist/react/breadcrumbs/index.js +1 -1
- package/dist/react/browse-variables/index.js +1 -1
- package/dist/react/button/index.js +1 -1
- package/dist/react/button-group/index.js +1 -1
- package/dist/react/caption/index.js +1 -1
- package/dist/react/card/index.js +1 -1
- package/dist/react/checkbox/index.js +1 -1
- package/dist/react/chip/index.js +1 -1
- package/dist/react/combobox/index.js +1 -1
- package/dist/react/data-access/index.js +1 -1
- package/dist/react/data-grid/index.js +1 -1
- package/dist/react/data-rods/index.d.ts +6 -1
- package/dist/react/data-rods/index.js +1 -1
- package/dist/react/data-subsetter/index.d.ts +3 -0
- package/dist/react/data-subsetter/index.js +1 -1
- package/dist/react/data-subsetter-history/index.d.ts +6 -1
- package/dist/react/data-subsetter-history/index.js +1 -1
- package/dist/react/date-picker/index.js +1 -1
- package/dist/react/date-range-slider/index.js +1 -1
- package/dist/react/dialog/index.js +1 -1
- package/dist/react/divider/index.js +1 -1
- package/dist/react/dropdown/index.js +1 -1
- package/dist/react/earthdata-login/index.js +1 -1
- package/dist/react/file-upload/index.js +1 -1
- package/dist/react/harmony-history/index.d.ts +3 -0
- package/dist/react/harmony-history/index.js +1 -1
- package/dist/react/icon/index.js +1 -1
- package/dist/react/index.d.ts +24 -24
- package/dist/react/index.js +1 -1
- package/dist/react/input/index.js +1 -1
- package/dist/react/loader/index.js +1 -1
- package/dist/react/login/index.js +1 -1
- package/dist/react/map/index.d.ts +32 -1
- package/dist/react/map/index.js +1 -1
- package/dist/react/menu/index.js +1 -1
- package/dist/react/menu-item/index.js +1 -1
- package/dist/react/option/index.js +1 -1
- package/dist/react/pagination/index.js +1 -1
- package/dist/react/plot/index.js +1 -1
- package/dist/react/plot-toolbar/index.d.ts +6 -1
- package/dist/react/plot-toolbar/index.js +1 -1
- package/dist/react/popup/index.js +1 -1
- package/dist/react/progress-bar/index.js +1 -1
- package/dist/react/radio/index.js +1 -1
- package/dist/react/radio-group/index.js +1 -1
- package/dist/react/scroll-hint/index.js +1 -1
- package/dist/react/select/index.js +1 -1
- package/dist/react/site-header/index.js +1 -1
- package/dist/react/site-navigation/index.js +1 -1
- package/dist/react/skeleton/index.js +1 -1
- package/dist/react/slider/index.js +1 -1
- package/dist/react/spatial-picker/index.js +1 -1
- package/dist/react/status-indicator/index.js +1 -1
- package/dist/react/stepper/index.js +1 -1
- package/dist/react/stepper-step/index.js +1 -1
- package/dist/react/tab/index.js +1 -1
- package/dist/react/tab-panel/index.js +1 -1
- package/dist/react/tabs/index.js +1 -1
- package/dist/react/tag/index.js +1 -1
- package/dist/react/textarea/index.js +1 -1
- package/dist/react/time-average-map/index.d.ts +6 -1
- package/dist/react/time-average-map/index.js +1 -1
- package/dist/react/time-series/index.d.ts +3 -0
- package/dist/react/time-series/index.js +1 -1
- package/dist/react/toast/index.js +1 -1
- package/dist/react/toggle/index.js +1 -1
- package/dist/react/tooltip/index.js +1 -1
- package/dist/react/variable-combobox/index.d.ts +4 -1
- package/dist/react/variable-combobox/index.js +1 -1
- package/dist/react/variable-keyword-search/index.d.ts +1 -1
- package/dist/react/variable-keyword-search/index.js +1 -1
- package/dist/terra-ui-components.js +1 -1
- package/dist/terra_ui_components-0.0.205-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.205.tar.gz +0 -0
- package/dist/types/vue/index.d.ts +1037 -870
- package/dist/utilities/date.d.ts +4 -0
- package/dist/utilities/date.js +1 -1
- package/dist/utilities/variable-task.js +1 -1
- package/dist/vscode.html-custom-data.json +692 -661
- package/dist/web-types.json +2243 -2077
- package/package.json +6 -4
- package/cdn/auth/auth.controller.d.ts +0 -16
- package/cdn/chunks/GeoTIFF.KMHPSKO6.js +0 -19975
- package/cdn/chunks/chunk.27KCXEZH.js +0 -431
- package/cdn/chunks/chunk.2AFX3VCL.js +0 -125
- package/cdn/chunks/chunk.2DFPSVL6.js +0 -68
- package/cdn/chunks/chunk.2DPXUVUW.js +0 -357
- package/cdn/chunks/chunk.2EKGBKN2.js +0 -19
- package/cdn/chunks/chunk.2FSYZKPK.js +0 -29
- package/cdn/chunks/chunk.2HXJHNH3.js +0 -5339
- package/cdn/chunks/chunk.2IA6WV7R.js +0 -19
- package/cdn/chunks/chunk.2NRTTHOD.js +0 -30
- package/cdn/chunks/chunk.2PJPIGBI.js +0 -1122
- package/cdn/chunks/chunk.2RYJM2TF.js +0 -19
- package/cdn/chunks/chunk.2UATMVXP.js +0 -261
- package/cdn/chunks/chunk.2UUMIAXS.js +0 -19
- package/cdn/chunks/chunk.3A3QJT7L.js +0 -29
- package/cdn/chunks/chunk.3UXSNM76.js +0 -32
- package/cdn/chunks/chunk.4CVCW4V3.js +0 -32
- package/cdn/chunks/chunk.4HFZS2GO.js +0 -19
- package/cdn/chunks/chunk.4KCMI4UU.js +0 -1036
- package/cdn/chunks/chunk.4M7FMP7T.js +0 -442
- package/cdn/chunks/chunk.4OETFOY2.js +0 -71
- package/cdn/chunks/chunk.4UI7P3Y4.js +0 -19
- package/cdn/chunks/chunk.4VE4DO4N.js +0 -19
- package/cdn/chunks/chunk.4YE3LB3R.js +0 -19
- package/cdn/chunks/chunk.4ZBYMDD6.js +0 -189
- package/cdn/chunks/chunk.5CDWDWX5.js +0 -136
- package/cdn/chunks/chunk.5CLU2XHI.js +0 -29
- package/cdn/chunks/chunk.5G4MIKDW.js +0 -19
- package/cdn/chunks/chunk.5KHCLX4N.js +0 -64743
- package/cdn/chunks/chunk.5N76KCT4.js +0 -285
- package/cdn/chunks/chunk.5OEHZWXQ.js +0 -19
- package/cdn/chunks/chunk.5U22JWZL.js +0 -117
- package/cdn/chunks/chunk.5USXBJV5.js +0 -35
- package/cdn/chunks/chunk.5YQFC77E.js +0 -37
- package/cdn/chunks/chunk.6E7Z4C4E.js +0 -19
- package/cdn/chunks/chunk.6FWN6ZZC.js +0 -32
- package/cdn/chunks/chunk.6J2OCJ7J.js +0 -84
- package/cdn/chunks/chunk.6LOJQVYN.js +0 -36
- package/cdn/chunks/chunk.6OC7H5OH.js +0 -28
- package/cdn/chunks/chunk.6QEEVDUE.js +0 -427
- package/cdn/chunks/chunk.6SAM6SI7.js +0 -19
- package/cdn/chunks/chunk.6VTIK2C6.js +0 -19
- package/cdn/chunks/chunk.75FXMQOA.js +0 -19
- package/cdn/chunks/chunk.7HUACA54.js +0 -29
- package/cdn/chunks/chunk.7L2TSDLJ.js +0 -2028
- package/cdn/chunks/chunk.7N55EAUN.js +0 -17305
- package/cdn/chunks/chunk.7VOSRG7X.js +0 -19
- package/cdn/chunks/chunk.7WUVQEAR.js +0 -256
- package/cdn/chunks/chunk.7Y44JBIB.js +0 -550
- package/cdn/chunks/chunk.7ZI27RZO.js +0 -1136
- package/cdn/chunks/chunk.ACUUMB46.js +0 -33
- package/cdn/chunks/chunk.AFJMWE55.js +0 -29
- package/cdn/chunks/chunk.AH535OUT.js +0 -19
- package/cdn/chunks/chunk.AJTI5LZT.js +0 -60
- package/cdn/chunks/chunk.AL34JKBE.js +0 -19
- package/cdn/chunks/chunk.ANOS3OTE.js +0 -29
- package/cdn/chunks/chunk.AP5WCU4L.js +0 -134
- package/cdn/chunks/chunk.AQQD3TGI.js +0 -19
- package/cdn/chunks/chunk.AWU6UL7H.js +0 -19
- package/cdn/chunks/chunk.AYV43FGZ.js +0 -110
- package/cdn/chunks/chunk.B6MUHPWI.js +0 -19
- package/cdn/chunks/chunk.BHW5IL3I.js +0 -19
- package/cdn/chunks/chunk.BPRI6OGA.js +0 -29
- package/cdn/chunks/chunk.BPTWMSFM.js +0 -259
- package/cdn/chunks/chunk.BTPIPKWK.js +0 -29
- package/cdn/chunks/chunk.C2SRCC4M.js +0 -19
- package/cdn/chunks/chunk.C3SXIMJF.js +0 -29
- package/cdn/chunks/chunk.CDYBBCIE.js +0 -29
- package/cdn/chunks/chunk.CHKUZKW6.js +0 -19
- package/cdn/chunks/chunk.CJG6IYUQ.js +0 -699
- package/cdn/chunks/chunk.COA7ZPCF.js +0 -86
- package/cdn/chunks/chunk.CV4QCJYB.js +0 -29
- package/cdn/chunks/chunk.CV7V62DS.js +0 -33
- package/cdn/chunks/chunk.CWNNDPJR.js +0 -36
- package/cdn/chunks/chunk.CWVFOCEY.js +0 -123
- package/cdn/chunks/chunk.D6DZ2ABR.js +0 -19
- package/cdn/chunks/chunk.DAHT4D47.js +0 -19
- package/cdn/chunks/chunk.DDCWMDIC.js +0 -32
- package/cdn/chunks/chunk.DNVJF7IY.js +0 -39
- package/cdn/chunks/chunk.DOAEM5ON.js +0 -4083
- package/cdn/chunks/chunk.DOLQGIFG.js +0 -19
- package/cdn/chunks/chunk.DPKA4G53.js +0 -601
- package/cdn/chunks/chunk.DTUP6KDY.js +0 -19
- package/cdn/chunks/chunk.DXQUJESD.js +0 -8969
- package/cdn/chunks/chunk.E52YFLSL.js +0 -32
- package/cdn/chunks/chunk.E6S2GD5C.js +0 -31
- package/cdn/chunks/chunk.EQDMPPT6.js +0 -1413
- package/cdn/chunks/chunk.ERJEIORY.js +0 -36
- package/cdn/chunks/chunk.F26CV3RM.js +0 -32
- package/cdn/chunks/chunk.F5ATUIYK.js +0 -29
- package/cdn/chunks/chunk.FALB73Y2.js +0 -37
- package/cdn/chunks/chunk.FCQ22IGW.js +0 -104
- package/cdn/chunks/chunk.FQ6BZ3IY.js +0 -234
- package/cdn/chunks/chunk.FS3BAWIP.js +0 -19
- package/cdn/chunks/chunk.FUANKNNM.js +0 -19
- package/cdn/chunks/chunk.FVMOO5PZ.js +0 -111
- package/cdn/chunks/chunk.FWA7FNBM.js +0 -29
- package/cdn/chunks/chunk.FXGGRWLG.js +0 -106
- package/cdn/chunks/chunk.G5C4B32K.js +0 -32
- package/cdn/chunks/chunk.GAE7V6RB.js +0 -93
- package/cdn/chunks/chunk.GBGE6X2T.js +0 -1018
- package/cdn/chunks/chunk.GBR3XNSE.js +0 -19
- package/cdn/chunks/chunk.GDXZZBNN.js +0 -29
- package/cdn/chunks/chunk.GEZJ4HAT.js +0 -128
- package/cdn/chunks/chunk.GHYNGNCL.js +0 -19
- package/cdn/chunks/chunk.GVSCZXYP.js +0 -152
- package/cdn/chunks/chunk.H4THPLKV.js +0 -375
- package/cdn/chunks/chunk.H6DYN62P.js +0 -19
- package/cdn/chunks/chunk.H7ILJBVJ.js +0 -29
- package/cdn/chunks/chunk.HA24JYMN.js +0 -34
- package/cdn/chunks/chunk.HBVD5YDA.js +0 -19
- package/cdn/chunks/chunk.HDOVTS2Z.js +0 -333
- package/cdn/chunks/chunk.HE3V76OH.js +0 -29
- package/cdn/chunks/chunk.HSQJHXWN.js +0 -19
- package/cdn/chunks/chunk.HWXTC2NL.js +0 -475
- package/cdn/chunks/chunk.I3ZCGZPC.js +0 -629
- package/cdn/chunks/chunk.IDRFRYGU.js +0 -19
- package/cdn/chunks/chunk.IPAGICZN.js +0 -38
- package/cdn/chunks/chunk.IUV6CTRY.js +0 -231
- package/cdn/chunks/chunk.IW2V63Q4.js +0 -278
- package/cdn/chunks/chunk.J2QE6B7T.js +0 -158
- package/cdn/chunks/chunk.J5WVGYHM.js +0 -1071
- package/cdn/chunks/chunk.JGXF7ZXQ.js +0 -32
- package/cdn/chunks/chunk.JTDMKEVX.js +0 -19
- package/cdn/chunks/chunk.JU2BT7V3.js +0 -29
- package/cdn/chunks/chunk.JUAS37EG.js +0 -47
- package/cdn/chunks/chunk.KCLVMBYX.js +0 -19
- package/cdn/chunks/chunk.KLVTN4RA.js +0 -1780
- package/cdn/chunks/chunk.KNOXZXLV.js +0 -62
- package/cdn/chunks/chunk.KNWDEVCZ.js +0 -872
- package/cdn/chunks/chunk.KTH7B5P7.js +0 -32
- package/cdn/chunks/chunk.KVXAUKHU.js +0 -29
- package/cdn/chunks/chunk.L453DWOS.js +0 -162
- package/cdn/chunks/chunk.L4APEYLE.js +0 -33
- package/cdn/chunks/chunk.L6RUQB6F.js +0 -113
- package/cdn/chunks/chunk.LEJPCXRH.js +0 -575
- package/cdn/chunks/chunk.LGHXPOGX.js +0 -19
- package/cdn/chunks/chunk.LMFFT6QZ.js +0 -19
- package/cdn/chunks/chunk.LV52UGIG.js +0 -19
- package/cdn/chunks/chunk.LYTJDP4F.js +0 -528
- package/cdn/chunks/chunk.M6TNRFZO.js +0 -32
- package/cdn/chunks/chunk.MB55MNWI.js +0 -132
- package/cdn/chunks/chunk.MDV3HVPR.js +0 -82
- package/cdn/chunks/chunk.MKKKY7LJ.js +0 -17565
- package/cdn/chunks/chunk.ML6OFHI2.js +0 -60
- package/cdn/chunks/chunk.MMMP6IHT.js +0 -36
- package/cdn/chunks/chunk.MR7XEWMN.js +0 -29
- package/cdn/chunks/chunk.N26HWWE7.js +0 -92
- package/cdn/chunks/chunk.N6YZ3GGB.js +0 -19
- package/cdn/chunks/chunk.NKJ73Q6Z.js +0 -101
- package/cdn/chunks/chunk.NOJRNK7A.js +0 -1303
- package/cdn/chunks/chunk.O5KNCAFH.js +0 -29
- package/cdn/chunks/chunk.OHLWFMUZ.js +0 -19
- package/cdn/chunks/chunk.OK2PJLA4.js +0 -19
- package/cdn/chunks/chunk.OMERHZ7O.js +0 -1646
- package/cdn/chunks/chunk.OQR3DOIL.js +0 -29
- package/cdn/chunks/chunk.OVV6CMBK.js +0 -74
- package/cdn/chunks/chunk.OXFYKL76.js +0 -19
- package/cdn/chunks/chunk.P5MFJJGP.js +0 -195
- package/cdn/chunks/chunk.P6OHZPUZ.js +0 -2786
- package/cdn/chunks/chunk.PH3LKMHS.js +0 -32
- package/cdn/chunks/chunk.PIEU7GT4.js +0 -29
- package/cdn/chunks/chunk.PILGSWUJ.js +0 -29
- package/cdn/chunks/chunk.PLI3TNYY.js +0 -33
- package/cdn/chunks/chunk.PPCOW47J.js +0 -535
- package/cdn/chunks/chunk.PRI7AVJX.js +0 -19
- package/cdn/chunks/chunk.PWPIV2JK.js +0 -225
- package/cdn/chunks/chunk.QCEPDQ6M.js +0 -32
- package/cdn/chunks/chunk.QJUVJPT6.js +0 -19
- package/cdn/chunks/chunk.QP2APML5.js +0 -536
- package/cdn/chunks/chunk.QS7RKQGD.js +0 -19
- package/cdn/chunks/chunk.QZCCAT7W.js +0 -19
- package/cdn/chunks/chunk.QZIIYAVZ.js +0 -19
- package/cdn/chunks/chunk.QZQ7MTL4.js +0 -34
- package/cdn/chunks/chunk.RBBPG6SO.js +0 -621
- package/cdn/chunks/chunk.RL57R2DM.js +0 -37
- package/cdn/chunks/chunk.RMUH4JXF.js +0 -35
- package/cdn/chunks/chunk.RSH7CL7U.js +0 -310
- package/cdn/chunks/chunk.RXXY2DKG.js +0 -19
- package/cdn/chunks/chunk.S5BNWB7B.js +0 -185
- package/cdn/chunks/chunk.SDVBNJQZ.js +0 -19
- package/cdn/chunks/chunk.SIK75J6S.js +0 -35
- package/cdn/chunks/chunk.SJEEWCBY.js +0 -19
- package/cdn/chunks/chunk.SQWR5Y2X.js +0 -134
- package/cdn/chunks/chunk.SWNYIRFX.js +0 -19
- package/cdn/chunks/chunk.SZJZTSTJ.js +0 -36
- package/cdn/chunks/chunk.T35HK4YD.js +0 -83
- package/cdn/chunks/chunk.T4QHXOJU.js +0 -29
- package/cdn/chunks/chunk.T7A4P7JA.js +0 -19
- package/cdn/chunks/chunk.TA7CFXHM.js +0 -276
- package/cdn/chunks/chunk.TBL6KAUU.js +0 -19
- package/cdn/chunks/chunk.TDCXTEE4.js +0 -29
- package/cdn/chunks/chunk.TFX7LPOA.js +0 -29
- package/cdn/chunks/chunk.TTKS7OPN.js +0 -49
- package/cdn/chunks/chunk.TW72W3FG.js +0 -41
- package/cdn/chunks/chunk.TZ7K6LRZ.js +0 -29
- package/cdn/chunks/chunk.U64UG2NF.js +0 -897
- package/cdn/chunks/chunk.UCGET3OV.js +0 -610
- package/cdn/chunks/chunk.UFODDLBF.js +0 -190
- package/cdn/chunks/chunk.UI7I6F4E.js +0 -29
- package/cdn/chunks/chunk.UL6GPUWY.js +0 -169
- package/cdn/chunks/chunk.UNE5PGU3.js +0 -149
- package/cdn/chunks/chunk.USSOPHIF.js +0 -161
- package/cdn/chunks/chunk.UVQGTCUS.js +0 -621
- package/cdn/chunks/chunk.VAS4SJTV.js +0 -893
- package/cdn/chunks/chunk.VATEZWZS.js +0 -360
- package/cdn/chunks/chunk.VCKHZSH2.js +0 -19
- package/cdn/chunks/chunk.VHHZPEYC.js +0 -29
- package/cdn/chunks/chunk.VM6WPB7T.js +0 -32
- package/cdn/chunks/chunk.VNCKECHZ.js +0 -853
- package/cdn/chunks/chunk.VPMAHEJA.js +0 -32
- package/cdn/chunks/chunk.VQF367DL.js +0 -35
- package/cdn/chunks/chunk.VUXL5UGT.js +0 -2574
- package/cdn/chunks/chunk.W5FQPPPY.js +0 -19
- package/cdn/chunks/chunk.WCBO7P6T.js +0 -34
- package/cdn/chunks/chunk.WO24QJYS.js +0 -1005
- package/cdn/chunks/chunk.WSRDV4NV.js +0 -19
- package/cdn/chunks/chunk.WTGU6E45.js +0 -224
- package/cdn/chunks/chunk.XDVFVONG.js +0 -1945
- package/cdn/chunks/chunk.XNJGPB57.js +0 -35
- package/cdn/chunks/chunk.XXLSM7RI.js +0 -138
- package/cdn/chunks/chunk.Y6OCTUUR.js +0 -19
- package/cdn/chunks/chunk.YAWLOXFX.js +0 -271
- package/cdn/chunks/chunk.YJHDQGK3.js +0 -19
- package/cdn/chunks/chunk.YN7XE2VP.js +0 -940
- package/cdn/chunks/chunk.YTKNBCBF.js +0 -19
- package/cdn/chunks/chunk.Z3PZC46D.js +0 -33
- package/cdn/chunks/chunk.Z5U6BAQK.js +0 -292
- package/cdn/chunks/chunk.ZAS2SUGL.js +0 -19
- package/cdn/chunks/chunk.ZI2LY2UP.js +0 -524
- package/cdn/chunks/chunk.ZRSUDLUY.js +0 -754
- package/cdn/chunks/chunk.ZWUG6EZN.js +0 -544
- package/cdn/chunks/chunk.ZYF3AML6.js +0 -521
- package/cdn/chunks/chunk.ZYGBGEUR.js +0 -48
- package/cdn/chunks/chunk.ZYYDEEKW.js +0 -19
- package/cdn/chunks/lerc.OJS5YQI3.js +0 -2099
- package/cdn/events/terra-map-change.d.ts +0 -14
- package/dist/auth/auth.controller.d.ts +0 -16
- package/dist/chunks/chunk.24QTPUF2.js +0 -6
- package/dist/chunks/chunk.2A67CXHH.js +0 -5
- package/dist/chunks/chunk.2PQNGBP2.js +0 -1
- package/dist/chunks/chunk.2SYEDAOV.js +0 -1
- package/dist/chunks/chunk.2UREYJJ6.js +0 -65
- package/dist/chunks/chunk.2URJIUFD.js +0 -1
- package/dist/chunks/chunk.2VLYWQGB.js +0 -1
- package/dist/chunks/chunk.2XENK37L.js +0 -20
- package/dist/chunks/chunk.33ZH43TV.js +0 -1
- package/dist/chunks/chunk.345UCNEF.js +0 -1
- package/dist/chunks/chunk.347H65MH.js +0 -1
- package/dist/chunks/chunk.3BGJ2Y4W.js +0 -1
- package/dist/chunks/chunk.3OSNYXIB.js +0 -37
- package/dist/chunks/chunk.3SBCV5YV.js +0 -74
- package/dist/chunks/chunk.4AODHTLA.js +0 -1
- package/dist/chunks/chunk.4JUNRLEC.js +0 -1
- package/dist/chunks/chunk.4O6EGUET.js +0 -6
- package/dist/chunks/chunk.4PNNISNN.js +0 -12
- package/dist/chunks/chunk.4PXK26WC.js +0 -1
- package/dist/chunks/chunk.4RJ73FTA.js +0 -1
- package/dist/chunks/chunk.5DG6GZR2.js +0 -1
- package/dist/chunks/chunk.5OFG6SIJ.js +0 -1
- package/dist/chunks/chunk.5UIZ5N7P.js +0 -345
- package/dist/chunks/chunk.5WH5YKQV.js +0 -129
- package/dist/chunks/chunk.5WXBL2P4.js +0 -299
- package/dist/chunks/chunk.5YTPWERZ.js +0 -1
- package/dist/chunks/chunk.67VTCJF4.js +0 -527
- package/dist/chunks/chunk.6DD3MA2P.js +0 -1
- package/dist/chunks/chunk.6J72MJEC.js +0 -1
- package/dist/chunks/chunk.6OCFGLDL.js +0 -1
- package/dist/chunks/chunk.6Q54KXMC.js +0 -157
- package/dist/chunks/chunk.6R6NM245.js +0 -39
- package/dist/chunks/chunk.6SHAP35V.js +0 -55
- package/dist/chunks/chunk.6SW4NJHL.js +0 -42
- package/dist/chunks/chunk.6TALLYX6.js +0 -1
- package/dist/chunks/chunk.6ZIINXUV.js +0 -1
- package/dist/chunks/chunk.7D3QWHPQ.js +0 -1
- package/dist/chunks/chunk.7DGA6X4U.js +0 -23
- package/dist/chunks/chunk.7KZSDLA2.js +0 -11
- package/dist/chunks/chunk.7LR6X6Z6.js +0 -1
- package/dist/chunks/chunk.7TW5XUJL.js +0 -1
- package/dist/chunks/chunk.7V4HIKGV.js +0 -20
- package/dist/chunks/chunk.A3VSFB3O.js +0 -1
- package/dist/chunks/chunk.ADGVYX3D.js +0 -1
- package/dist/chunks/chunk.ALYHNSZZ.js +0 -30
- package/dist/chunks/chunk.AMKSX4J2.js +0 -1
- package/dist/chunks/chunk.AVBBSQQN.js +0 -26
- package/dist/chunks/chunk.BCBEL5J3.js +0 -1
- package/dist/chunks/chunk.BFSQRKZP.js +0 -67
- package/dist/chunks/chunk.BIMQKSIE.js +0 -1
- package/dist/chunks/chunk.BJFYPKRH.js +0 -1
- package/dist/chunks/chunk.BK22YUL3.js +0 -1
- package/dist/chunks/chunk.BMUYWCSS.js +0 -1
- package/dist/chunks/chunk.BRHNY634.js +0 -1
- package/dist/chunks/chunk.BVNNUSMK.js +0 -1
- package/dist/chunks/chunk.C6CZYR3X.js +0 -1
- package/dist/chunks/chunk.C6YOBRFC.js +0 -1
- package/dist/chunks/chunk.CO3YFDGB.js +0 -27
- package/dist/chunks/chunk.CQK6QHLB.js +0 -1
- package/dist/chunks/chunk.CQPFMW2K.js +0 -1
- package/dist/chunks/chunk.CRDPEWYE.js +0 -1
- package/dist/chunks/chunk.CS4EGLGP.js +0 -1
- package/dist/chunks/chunk.CSXC6DPV.js +0 -280
- package/dist/chunks/chunk.DH6S4SMY.js +0 -9
- package/dist/chunks/chunk.DKS4TU3H.js +0 -1
- package/dist/chunks/chunk.DTISX46U.js +0 -1
- package/dist/chunks/chunk.DWB7WY2B.js +0 -1
- package/dist/chunks/chunk.DYY5ZEGD.js +0 -8
- package/dist/chunks/chunk.E264AGUB.js +0 -1
- package/dist/chunks/chunk.E2LODYPF.js +0 -1
- package/dist/chunks/chunk.E36ROOQP.js +0 -1
- package/dist/chunks/chunk.E6SYKRYA.js +0 -18
- package/dist/chunks/chunk.E7D32WNL.js +0 -99
- package/dist/chunks/chunk.EAIG3OAM.js +0 -1
- package/dist/chunks/chunk.EPJM7OIN.js +0 -1
- package/dist/chunks/chunk.EYLQFCG6.js +0 -1
- package/dist/chunks/chunk.F2LSSWTW.js +0 -1
- package/dist/chunks/chunk.F2OOGC7E.js +0 -1
- package/dist/chunks/chunk.F463ZO54.js +0 -26
- package/dist/chunks/chunk.F4QJ3AAN.js +0 -1
- package/dist/chunks/chunk.FCLASTZJ.js +0 -59
- package/dist/chunks/chunk.FEUU6PRO.js +0 -1231
- package/dist/chunks/chunk.FFJ4LVA4.js +0 -1
- package/dist/chunks/chunk.FLY7SZ43.js +0 -1
- package/dist/chunks/chunk.FTSUICBL.js +0 -5
- package/dist/chunks/chunk.FU4VAT7K.js +0 -126
- package/dist/chunks/chunk.FY5MRGO2.js +0 -4
- package/dist/chunks/chunk.G2RBM77C.js +0 -80
- package/dist/chunks/chunk.G5WS7EAO.js +0 -1
- package/dist/chunks/chunk.GCVZMOL6.js +0 -1
- package/dist/chunks/chunk.GFJZ3U6O.js +0 -1
- package/dist/chunks/chunk.GVQ3ULCA.js +0 -1
- package/dist/chunks/chunk.GVWKFBDB.js +0 -1
- package/dist/chunks/chunk.GZC4MHZL.js +0 -1
- package/dist/chunks/chunk.GZJI67IH.js +0 -1
- package/dist/chunks/chunk.HBM2PGPH.js +0 -1
- package/dist/chunks/chunk.HFNSDYFF.js +0 -1
- package/dist/chunks/chunk.HJ7H55BL.js +0 -1
- package/dist/chunks/chunk.HMGPFX2Y.js +0 -1
- package/dist/chunks/chunk.IGXIZYGS.js +0 -1
- package/dist/chunks/chunk.IKZERRE2.js +0 -1
- package/dist/chunks/chunk.IL752DKI.js +0 -1
- package/dist/chunks/chunk.ILG3LGC7.js +0 -1
- package/dist/chunks/chunk.ILLKI5UT.js +0 -1
- package/dist/chunks/chunk.IT5GSXLK.js +0 -1
- package/dist/chunks/chunk.IX7TDXLM.js +0 -1
- package/dist/chunks/chunk.J74HQDC4.js +0 -113
- package/dist/chunks/chunk.JDUDVTGM.js +0 -33
- package/dist/chunks/chunk.JER3EYSI.js +0 -43
- package/dist/chunks/chunk.JFQVCD2G.js +0 -1
- package/dist/chunks/chunk.JJDVDIMZ.js +0 -1
- package/dist/chunks/chunk.JUCYMLNQ.js +0 -24
- package/dist/chunks/chunk.JWV3256S.js +0 -1
- package/dist/chunks/chunk.K3JWAUPW.js +0 -1
- package/dist/chunks/chunk.K7EEMK7S.js +0 -1
- package/dist/chunks/chunk.KQQP67QH.js +0 -1
- package/dist/chunks/chunk.L7LZXSLB.js +0 -1
- package/dist/chunks/chunk.L7TU4EE7.js +0 -1
- package/dist/chunks/chunk.LBQFMWHH.js +0 -1
- package/dist/chunks/chunk.LHS2JI5C.js +0 -1
- package/dist/chunks/chunk.LRB2T4C6.js +0 -1
- package/dist/chunks/chunk.LSBA65NF.js +0 -55
- package/dist/chunks/chunk.LVJYASQH.js +0 -41
- package/dist/chunks/chunk.M5IM24X6.js +0 -1
- package/dist/chunks/chunk.M7GAVBP4.js +0 -1
- package/dist/chunks/chunk.MRAFQ6FC.js +0 -1
- package/dist/chunks/chunk.MSEAPM5O.js +0 -43
- package/dist/chunks/chunk.MXJCFEZ4.js +0 -780
- package/dist/chunks/chunk.NFGRTKHK.js +0 -35
- package/dist/chunks/chunk.NM6S6YGL.js +0 -30
- package/dist/chunks/chunk.NNGAFMYS.js +0 -1
- package/dist/chunks/chunk.NS34WRBV.js +0 -154
- package/dist/chunks/chunk.NZ4QJK47.js +0 -176
- package/dist/chunks/chunk.NZERF5GE.js +0 -1
- package/dist/chunks/chunk.O36CSOQK.js +0 -11
- package/dist/chunks/chunk.OAFIM27Q.js +0 -1
- package/dist/chunks/chunk.OBJ27374.js +0 -1
- package/dist/chunks/chunk.ONZTNAIQ.js +0 -1
- package/dist/chunks/chunk.OQ4IT42W.js +0 -1
- package/dist/chunks/chunk.OSAQ45F4.js +0 -145
- package/dist/chunks/chunk.OSDEVN34.js +0 -1001
- package/dist/chunks/chunk.P23PNMO2.js +0 -1
- package/dist/chunks/chunk.PGC2LCDL.js +0 -1
- package/dist/chunks/chunk.PGUHY4NZ.js +0 -1
- package/dist/chunks/chunk.PHWB36E5.js +0 -4
- package/dist/chunks/chunk.PIP3HL2S.js +0 -1
- package/dist/chunks/chunk.PM3RUTRJ.js +0 -1
- package/dist/chunks/chunk.PNRCW5GH.js +0 -48
- package/dist/chunks/chunk.PO5EHL4Q.js +0 -1
- package/dist/chunks/chunk.PSNV3IQZ.js +0 -1
- package/dist/chunks/chunk.Q6CVPPFA.js +0 -1
- package/dist/chunks/chunk.QDFHF7LY.js +0 -1
- package/dist/chunks/chunk.QEKPRA6B.js +0 -1
- package/dist/chunks/chunk.QGXUQL5S.js +0 -1
- package/dist/chunks/chunk.QGZOQXT5.js +0 -148
- package/dist/chunks/chunk.QH3KZBRJ.js +0 -1
- package/dist/chunks/chunk.QK5M4OHI.js +0 -1
- package/dist/chunks/chunk.R6RTP7QP.js +0 -1
- package/dist/chunks/chunk.RBPNA4JU.js +0 -22
- package/dist/chunks/chunk.REIUDVA3.js +0 -1
- package/dist/chunks/chunk.RH76C7M7.js +0 -1
- package/dist/chunks/chunk.RHDTWIMS.js +0 -1
- package/dist/chunks/chunk.RKLTK3FR.js +0 -1
- package/dist/chunks/chunk.RLOQMCKP.js +0 -1
- package/dist/chunks/chunk.S65R5GMI.js +0 -1
- package/dist/chunks/chunk.S6AD3O5Y.js +0 -2
- package/dist/chunks/chunk.S6UNY7TY.js +0 -1
- package/dist/chunks/chunk.SAVXAZC3.js +0 -1
- package/dist/chunks/chunk.SDFUXOW6.js +0 -47
- package/dist/chunks/chunk.SM2LJQQZ.js +0 -1
- package/dist/chunks/chunk.SN4M25TW.js +0 -1
- package/dist/chunks/chunk.SP4US3KC.js +0 -1
- package/dist/chunks/chunk.SP7J3EGR.js +0 -1
- package/dist/chunks/chunk.ST6Y273B.js +0 -1
- package/dist/chunks/chunk.SW4EXLIK.js +0 -100
- package/dist/chunks/chunk.SYA4MGC4.js +0 -1
- package/dist/chunks/chunk.T3RRBLSI.js +0 -1
- package/dist/chunks/chunk.T5MMUQEM.js +0 -2
- package/dist/chunks/chunk.T5UOTK5T.js +0 -14
- package/dist/chunks/chunk.TCJYR6XR.js +0 -75
- package/dist/chunks/chunk.TEJABDMI.js +0 -1
- package/dist/chunks/chunk.TOUSLOQP.js +0 -19
- package/dist/chunks/chunk.TWL4OKWI.js +0 -1
- package/dist/chunks/chunk.TXJOFCEB.js +0 -20
- package/dist/chunks/chunk.U5DWDLRH.js +0 -25
- package/dist/chunks/chunk.UBXADY37.js +0 -566
- package/dist/chunks/chunk.UJUBD5K6.js +0 -1
- package/dist/chunks/chunk.UMIX7BEK.js +0 -1
- package/dist/chunks/chunk.UNPFONVM.js +0 -121
- package/dist/chunks/chunk.VM42BF4S.js +0 -1
- package/dist/chunks/chunk.VO2NGMYX.js +0 -1
- package/dist/chunks/chunk.VPEIRF5L.js +0 -1
- package/dist/chunks/chunk.VQBTIXTR.js +0 -1
- package/dist/chunks/chunk.VRGYQH3V.js +0 -1
- package/dist/chunks/chunk.W22Z5NC6.js +0 -1
- package/dist/chunks/chunk.W2AIXOEB.js +0 -1
- package/dist/chunks/chunk.W37YFNFN.js +0 -1
- package/dist/chunks/chunk.W7LK5SL4.js +0 -1
- package/dist/chunks/chunk.WHM6GYCJ.js +0 -1
- package/dist/chunks/chunk.WSK5WSL4.js +0 -1
- package/dist/chunks/chunk.X3J4I27U.js +0 -1
- package/dist/chunks/chunk.XD4664TI.js +0 -16
- package/dist/chunks/chunk.XIGVC4SV.js +0 -62
- package/dist/chunks/chunk.XS3KPVEZ.js +0 -1
- package/dist/chunks/chunk.XX7TMK7N.js +0 -1
- package/dist/chunks/chunk.Y5DJ2TIT.js +0 -1
- package/dist/chunks/chunk.YH36XKHI.js +0 -1
- package/dist/chunks/chunk.YJCP5H5H.js +0 -1
- package/dist/chunks/chunk.YUFCED44.js +0 -64
- package/dist/chunks/chunk.Z5WR5G6V.js +0 -35
- package/dist/chunks/chunk.ZAO2ZNCW.js +0 -1
- package/dist/chunks/chunk.ZCO5H22U.js +0 -1
- package/dist/chunks/chunk.ZJRSMGBD.js +0 -1
- package/dist/chunks/chunk.ZOFZPC6S.js +0 -9
- package/dist/chunks/chunk.ZWQ5GUBX.js +0 -55
- package/dist/chunks/chunk.ZZDDQ567.js +0 -1
- package/dist/events/terra-map-change.d.ts +0 -14
- package/dist/terra_ui_components-0.0.203-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.203.tar.gz +0 -0
|
@@ -0,0 +1,2337 @@
|
|
|
1
|
+
import {
|
|
2
|
+
compose,
|
|
3
|
+
create,
|
|
4
|
+
intersectsLineString,
|
|
5
|
+
intersectsLinearRingArray,
|
|
6
|
+
linearRingsContainsXY
|
|
7
|
+
} from "./chunk.WMGJ3MAP.js";
|
|
8
|
+
import {
|
|
9
|
+
EventType_default,
|
|
10
|
+
IMAGE_DECODE,
|
|
11
|
+
Object_default,
|
|
12
|
+
abstract,
|
|
13
|
+
ascending,
|
|
14
|
+
createCanvasContext2D,
|
|
15
|
+
extend,
|
|
16
|
+
listenOnce,
|
|
17
|
+
memoizeOne,
|
|
18
|
+
unlistenByKey
|
|
19
|
+
} from "./chunk.2B2TSVNY.js";
|
|
20
|
+
import {
|
|
21
|
+
clamp,
|
|
22
|
+
closestSquaredDistanceXY,
|
|
23
|
+
containsXY,
|
|
24
|
+
createEmpty,
|
|
25
|
+
createOrUpdateEmpty,
|
|
26
|
+
createOrUpdateFromCoordinate,
|
|
27
|
+
createOrUpdateFromFlatCoordinates,
|
|
28
|
+
get3 as get,
|
|
29
|
+
getCenter,
|
|
30
|
+
getHeight,
|
|
31
|
+
getTransform,
|
|
32
|
+
isEmpty,
|
|
33
|
+
lerp,
|
|
34
|
+
returnOrUpdate,
|
|
35
|
+
squaredDistance,
|
|
36
|
+
squaredSegmentDistance,
|
|
37
|
+
toFixed
|
|
38
|
+
} from "./chunk.S5UFNVHZ.js";
|
|
39
|
+
import {
|
|
40
|
+
init_buffer,
|
|
41
|
+
init_dirname,
|
|
42
|
+
init_process
|
|
43
|
+
} from "./chunk.IIJBAEGD.js";
|
|
44
|
+
|
|
45
|
+
// node_modules/ol/geom/Point.js
|
|
46
|
+
init_dirname();
|
|
47
|
+
init_buffer();
|
|
48
|
+
init_process();
|
|
49
|
+
|
|
50
|
+
// node_modules/ol/geom/SimpleGeometry.js
|
|
51
|
+
init_dirname();
|
|
52
|
+
init_buffer();
|
|
53
|
+
init_process();
|
|
54
|
+
|
|
55
|
+
// node_modules/ol/geom/Geometry.js
|
|
56
|
+
init_dirname();
|
|
57
|
+
init_buffer();
|
|
58
|
+
init_process();
|
|
59
|
+
|
|
60
|
+
// node_modules/ol/geom/flat/transform.js
|
|
61
|
+
init_dirname();
|
|
62
|
+
init_buffer();
|
|
63
|
+
init_process();
|
|
64
|
+
function transform2D(flatCoordinates, offset, end, stride, transform, dest, destinationStride) {
|
|
65
|
+
dest = dest ? dest : [];
|
|
66
|
+
destinationStride = destinationStride ? destinationStride : 2;
|
|
67
|
+
let i = 0;
|
|
68
|
+
for (let j = offset; j < end; j += stride) {
|
|
69
|
+
const x = flatCoordinates[j];
|
|
70
|
+
const y = flatCoordinates[j + 1];
|
|
71
|
+
dest[i++] = transform[0] * x + transform[2] * y + transform[4];
|
|
72
|
+
dest[i++] = transform[1] * x + transform[3] * y + transform[5];
|
|
73
|
+
for (let k = 2; k < destinationStride; k++) {
|
|
74
|
+
dest[i++] = flatCoordinates[j + k];
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
if (dest && dest.length != i) {
|
|
78
|
+
dest.length = i;
|
|
79
|
+
}
|
|
80
|
+
return dest;
|
|
81
|
+
}
|
|
82
|
+
function rotate(flatCoordinates, offset, end, stride, angle, anchor, dest) {
|
|
83
|
+
dest = dest ? dest : [];
|
|
84
|
+
const cos = Math.cos(angle);
|
|
85
|
+
const sin = Math.sin(angle);
|
|
86
|
+
const anchorX = anchor[0];
|
|
87
|
+
const anchorY = anchor[1];
|
|
88
|
+
let i = 0;
|
|
89
|
+
for (let j = offset; j < end; j += stride) {
|
|
90
|
+
const deltaX = flatCoordinates[j] - anchorX;
|
|
91
|
+
const deltaY = flatCoordinates[j + 1] - anchorY;
|
|
92
|
+
dest[i++] = anchorX + deltaX * cos - deltaY * sin;
|
|
93
|
+
dest[i++] = anchorY + deltaX * sin + deltaY * cos;
|
|
94
|
+
for (let k = j + 2; k < j + stride; ++k) {
|
|
95
|
+
dest[i++] = flatCoordinates[k];
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
if (dest && dest.length != i) {
|
|
99
|
+
dest.length = i;
|
|
100
|
+
}
|
|
101
|
+
return dest;
|
|
102
|
+
}
|
|
103
|
+
function scale(flatCoordinates, offset, end, stride, sx, sy, anchor, dest) {
|
|
104
|
+
dest = dest ? dest : [];
|
|
105
|
+
const anchorX = anchor[0];
|
|
106
|
+
const anchorY = anchor[1];
|
|
107
|
+
let i = 0;
|
|
108
|
+
for (let j = offset; j < end; j += stride) {
|
|
109
|
+
const deltaX = flatCoordinates[j] - anchorX;
|
|
110
|
+
const deltaY = flatCoordinates[j + 1] - anchorY;
|
|
111
|
+
dest[i++] = anchorX + sx * deltaX;
|
|
112
|
+
dest[i++] = anchorY + sy * deltaY;
|
|
113
|
+
for (let k = j + 2; k < j + stride; ++k) {
|
|
114
|
+
dest[i++] = flatCoordinates[k];
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
if (dest && dest.length != i) {
|
|
118
|
+
dest.length = i;
|
|
119
|
+
}
|
|
120
|
+
return dest;
|
|
121
|
+
}
|
|
122
|
+
function translate(flatCoordinates, offset, end, stride, deltaX, deltaY, dest) {
|
|
123
|
+
dest = dest ? dest : [];
|
|
124
|
+
let i = 0;
|
|
125
|
+
for (let j = offset; j < end; j += stride) {
|
|
126
|
+
dest[i++] = flatCoordinates[j] + deltaX;
|
|
127
|
+
dest[i++] = flatCoordinates[j + 1] + deltaY;
|
|
128
|
+
for (let k = j + 2; k < j + stride; ++k) {
|
|
129
|
+
dest[i++] = flatCoordinates[k];
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
if (dest && dest.length != i) {
|
|
133
|
+
dest.length = i;
|
|
134
|
+
}
|
|
135
|
+
return dest;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// node_modules/ol/geom/Geometry.js
|
|
139
|
+
var tmpTransform = create();
|
|
140
|
+
var tmpPoint = [NaN, NaN];
|
|
141
|
+
var Geometry = class extends Object_default {
|
|
142
|
+
constructor() {
|
|
143
|
+
super();
|
|
144
|
+
this.extent_ = createEmpty();
|
|
145
|
+
this.extentRevision_ = -1;
|
|
146
|
+
this.simplifiedGeometryMaxMinSquaredTolerance = 0;
|
|
147
|
+
this.simplifiedGeometryRevision = 0;
|
|
148
|
+
this.simplifyTransformedInternal = memoizeOne(
|
|
149
|
+
(revision, squaredTolerance, transform) => {
|
|
150
|
+
if (!transform) {
|
|
151
|
+
return this.getSimplifiedGeometry(squaredTolerance);
|
|
152
|
+
}
|
|
153
|
+
const clone = this.clone();
|
|
154
|
+
clone.applyTransform(transform);
|
|
155
|
+
return clone.getSimplifiedGeometry(squaredTolerance);
|
|
156
|
+
}
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Get a transformed and simplified version of the geometry.
|
|
161
|
+
* @abstract
|
|
162
|
+
* @param {number} squaredTolerance Squared tolerance.
|
|
163
|
+
* @param {import("../proj.js").TransformFunction} [transform] Optional transform function.
|
|
164
|
+
* @return {Geometry} Simplified geometry.
|
|
165
|
+
*/
|
|
166
|
+
simplifyTransformed(squaredTolerance, transform) {
|
|
167
|
+
return this.simplifyTransformedInternal(
|
|
168
|
+
this.getRevision(),
|
|
169
|
+
squaredTolerance,
|
|
170
|
+
transform
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Make a complete copy of the geometry.
|
|
175
|
+
* @abstract
|
|
176
|
+
* @return {!Geometry} Clone.
|
|
177
|
+
*/
|
|
178
|
+
clone() {
|
|
179
|
+
return abstract();
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* @abstract
|
|
183
|
+
* @param {number} x X.
|
|
184
|
+
* @param {number} y Y.
|
|
185
|
+
* @param {import("../coordinate.js").Coordinate} closestPoint Closest point.
|
|
186
|
+
* @param {number} minSquaredDistance Minimum squared distance.
|
|
187
|
+
* @return {number} Minimum squared distance.
|
|
188
|
+
*/
|
|
189
|
+
closestPointXY(x, y, closestPoint, minSquaredDistance) {
|
|
190
|
+
return abstract();
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* @param {number} x X.
|
|
194
|
+
* @param {number} y Y.
|
|
195
|
+
* @return {boolean} Contains (x, y).
|
|
196
|
+
*/
|
|
197
|
+
containsXY(x, y) {
|
|
198
|
+
return this.closestPointXY(x, y, tmpPoint, Number.MIN_VALUE) === 0;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Return the closest point of the geometry to the passed point as
|
|
202
|
+
* {@link module:ol/coordinate~Coordinate coordinate}.
|
|
203
|
+
* @param {import("../coordinate.js").Coordinate} point Point.
|
|
204
|
+
* @param {import("../coordinate.js").Coordinate} [closestPoint] Closest point.
|
|
205
|
+
* @return {import("../coordinate.js").Coordinate} Closest point.
|
|
206
|
+
* @api
|
|
207
|
+
*/
|
|
208
|
+
getClosestPoint(point, closestPoint) {
|
|
209
|
+
closestPoint = closestPoint ? closestPoint : [NaN, NaN];
|
|
210
|
+
this.closestPointXY(point[0], point[1], closestPoint, Infinity);
|
|
211
|
+
return closestPoint;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Returns true if this geometry includes the specified coordinate. If the
|
|
215
|
+
* coordinate is on the boundary of the geometry, returns false.
|
|
216
|
+
* @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
|
|
217
|
+
* @return {boolean} Contains coordinate.
|
|
218
|
+
* @api
|
|
219
|
+
*/
|
|
220
|
+
intersectsCoordinate(coordinate) {
|
|
221
|
+
return this.containsXY(coordinate[0], coordinate[1]);
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* @abstract
|
|
225
|
+
* @param {import("../extent.js").Extent} extent Extent.
|
|
226
|
+
* @protected
|
|
227
|
+
* @return {import("../extent.js").Extent} extent Extent.
|
|
228
|
+
*/
|
|
229
|
+
computeExtent(extent) {
|
|
230
|
+
return abstract();
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Get the extent of the geometry.
|
|
234
|
+
* @param {import("../extent.js").Extent} [extent] Extent.
|
|
235
|
+
* @return {import("../extent.js").Extent} extent Extent.
|
|
236
|
+
* @api
|
|
237
|
+
*/
|
|
238
|
+
getExtent(extent) {
|
|
239
|
+
if (this.extentRevision_ != this.getRevision()) {
|
|
240
|
+
const extent2 = this.computeExtent(this.extent_);
|
|
241
|
+
if (isNaN(extent2[0]) || isNaN(extent2[1])) {
|
|
242
|
+
createOrUpdateEmpty(extent2);
|
|
243
|
+
}
|
|
244
|
+
this.extentRevision_ = this.getRevision();
|
|
245
|
+
}
|
|
246
|
+
return returnOrUpdate(this.extent_, extent);
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Rotate the geometry around a given coordinate. This modifies the geometry
|
|
250
|
+
* coordinates in place.
|
|
251
|
+
* @abstract
|
|
252
|
+
* @param {number} angle Rotation angle in radians.
|
|
253
|
+
* @param {import("../coordinate.js").Coordinate} anchor The rotation center.
|
|
254
|
+
* @api
|
|
255
|
+
*/
|
|
256
|
+
rotate(angle, anchor) {
|
|
257
|
+
abstract();
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Scale the geometry (with an optional origin). This modifies the geometry
|
|
261
|
+
* coordinates in place.
|
|
262
|
+
* @abstract
|
|
263
|
+
* @param {number} sx The scaling factor in the x-direction.
|
|
264
|
+
* @param {number} [sy] The scaling factor in the y-direction (defaults to sx).
|
|
265
|
+
* @param {import("../coordinate.js").Coordinate} [anchor] The scale origin (defaults to the center
|
|
266
|
+
* of the geometry extent).
|
|
267
|
+
* @api
|
|
268
|
+
*/
|
|
269
|
+
scale(sx, sy, anchor) {
|
|
270
|
+
abstract();
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Create a simplified version of this geometry. For linestrings, this uses
|
|
274
|
+
* the [Douglas Peucker](https://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm)
|
|
275
|
+
* algorithm. For polygons, a quantization-based
|
|
276
|
+
* simplification is used to preserve topology.
|
|
277
|
+
* @param {number} tolerance The tolerance distance for simplification.
|
|
278
|
+
* @return {Geometry} A new, simplified version of the original geometry.
|
|
279
|
+
* @api
|
|
280
|
+
*/
|
|
281
|
+
simplify(tolerance) {
|
|
282
|
+
return this.getSimplifiedGeometry(tolerance * tolerance);
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Create a simplified version of this geometry using the Douglas Peucker
|
|
286
|
+
* algorithm.
|
|
287
|
+
* See https://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm.
|
|
288
|
+
* @abstract
|
|
289
|
+
* @param {number} squaredTolerance Squared tolerance.
|
|
290
|
+
* @return {Geometry} Simplified geometry.
|
|
291
|
+
*/
|
|
292
|
+
getSimplifiedGeometry(squaredTolerance) {
|
|
293
|
+
return abstract();
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Get the type of this geometry.
|
|
297
|
+
* @abstract
|
|
298
|
+
* @return {Type} Geometry type.
|
|
299
|
+
*/
|
|
300
|
+
getType() {
|
|
301
|
+
return abstract();
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Apply a transform function to the coordinates of the geometry.
|
|
305
|
+
* The geometry is modified in place.
|
|
306
|
+
* If you do not want the geometry modified in place, first `clone()` it and
|
|
307
|
+
* then use this function on the clone.
|
|
308
|
+
* @abstract
|
|
309
|
+
* @param {import("../proj.js").TransformFunction} transformFn Transform function.
|
|
310
|
+
* Called with a flat array of geometry coordinates.
|
|
311
|
+
*/
|
|
312
|
+
applyTransform(transformFn) {
|
|
313
|
+
abstract();
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Test if the geometry and the passed extent intersect.
|
|
317
|
+
* @abstract
|
|
318
|
+
* @param {import("../extent.js").Extent} extent Extent.
|
|
319
|
+
* @return {boolean} `true` if the geometry and the extent intersect.
|
|
320
|
+
*/
|
|
321
|
+
intersectsExtent(extent) {
|
|
322
|
+
return abstract();
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Translate the geometry. This modifies the geometry coordinates in place. If
|
|
326
|
+
* instead you want a new geometry, first `clone()` this geometry.
|
|
327
|
+
* @abstract
|
|
328
|
+
* @param {number} deltaX Delta X.
|
|
329
|
+
* @param {number} deltaY Delta Y.
|
|
330
|
+
* @api
|
|
331
|
+
*/
|
|
332
|
+
translate(deltaX, deltaY) {
|
|
333
|
+
abstract();
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Transform each coordinate of the geometry from one coordinate reference
|
|
337
|
+
* system to another. The geometry is modified in place.
|
|
338
|
+
* For example, a line will be transformed to a line and a circle to a circle.
|
|
339
|
+
* If you do not want the geometry modified in place, first `clone()` it and
|
|
340
|
+
* then use this function on the clone.
|
|
341
|
+
*
|
|
342
|
+
* @param {import("../proj.js").ProjectionLike} source The current projection. Can be a
|
|
343
|
+
* string identifier or a {@link module:ol/proj/Projection~Projection} object.
|
|
344
|
+
* @param {import("../proj.js").ProjectionLike} destination The desired projection. Can be a
|
|
345
|
+
* string identifier or a {@link module:ol/proj/Projection~Projection} object.
|
|
346
|
+
* @return {this} This geometry. Note that original geometry is
|
|
347
|
+
* modified in place.
|
|
348
|
+
* @api
|
|
349
|
+
*/
|
|
350
|
+
transform(source, destination) {
|
|
351
|
+
const sourceProj = get(source);
|
|
352
|
+
if (!sourceProj) {
|
|
353
|
+
return this;
|
|
354
|
+
}
|
|
355
|
+
const transformFn = sourceProj.getUnits() == "tile-pixels" ? (
|
|
356
|
+
/**
|
|
357
|
+
* @param {Array<number>} inCoordinates Input coordinates.
|
|
358
|
+
* @param {Array<number>} outCoordinates Output coordinates.
|
|
359
|
+
* @param {number} stride Stride.
|
|
360
|
+
* @return {Array<number>} Output coordinates.
|
|
361
|
+
*/
|
|
362
|
+
function(inCoordinates, outCoordinates, stride) {
|
|
363
|
+
const pixelExtent = sourceProj.getExtent();
|
|
364
|
+
const projectedExtent = sourceProj.getWorldExtent();
|
|
365
|
+
const scale2 = getHeight(projectedExtent) / getHeight(pixelExtent);
|
|
366
|
+
compose(
|
|
367
|
+
tmpTransform,
|
|
368
|
+
projectedExtent[0],
|
|
369
|
+
projectedExtent[3],
|
|
370
|
+
scale2,
|
|
371
|
+
-scale2,
|
|
372
|
+
0,
|
|
373
|
+
0,
|
|
374
|
+
0
|
|
375
|
+
);
|
|
376
|
+
const transformed = transform2D(
|
|
377
|
+
inCoordinates,
|
|
378
|
+
0,
|
|
379
|
+
inCoordinates.length,
|
|
380
|
+
stride,
|
|
381
|
+
tmpTransform,
|
|
382
|
+
outCoordinates
|
|
383
|
+
);
|
|
384
|
+
const projTransform = getTransform(sourceProj, destination);
|
|
385
|
+
if (projTransform) {
|
|
386
|
+
return projTransform(transformed, transformed, stride);
|
|
387
|
+
}
|
|
388
|
+
return transformed;
|
|
389
|
+
}
|
|
390
|
+
) : getTransform(sourceProj, destination);
|
|
391
|
+
if (transformFn) {
|
|
392
|
+
this.applyTransform(
|
|
393
|
+
/** @type {import("../proj.js").TransformFunction} */
|
|
394
|
+
transformFn
|
|
395
|
+
);
|
|
396
|
+
}
|
|
397
|
+
return this;
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
var Geometry_default = Geometry;
|
|
401
|
+
|
|
402
|
+
// node_modules/ol/geom/SimpleGeometry.js
|
|
403
|
+
var SimpleGeometry = class extends Geometry_default {
|
|
404
|
+
constructor() {
|
|
405
|
+
super();
|
|
406
|
+
this.layout = "XY";
|
|
407
|
+
this.stride = 2;
|
|
408
|
+
this.flatCoordinates;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* @param {import("../extent.js").Extent} extent Extent.
|
|
412
|
+
* @protected
|
|
413
|
+
* @return {import("../extent.js").Extent} extent Extent.
|
|
414
|
+
* @override
|
|
415
|
+
*/
|
|
416
|
+
computeExtent(extent) {
|
|
417
|
+
return createOrUpdateFromFlatCoordinates(
|
|
418
|
+
this.flatCoordinates,
|
|
419
|
+
0,
|
|
420
|
+
this.flatCoordinates.length,
|
|
421
|
+
this.stride,
|
|
422
|
+
extent
|
|
423
|
+
);
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* @abstract
|
|
427
|
+
* @return {Array<*> | null} Coordinates.
|
|
428
|
+
*/
|
|
429
|
+
getCoordinates() {
|
|
430
|
+
return abstract();
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Return the first coordinate of the geometry.
|
|
434
|
+
* @return {import("../coordinate.js").Coordinate} First coordinate.
|
|
435
|
+
* @api
|
|
436
|
+
*/
|
|
437
|
+
getFirstCoordinate() {
|
|
438
|
+
return this.flatCoordinates.slice(0, this.stride);
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* @return {Array<number>} Flat coordinates.
|
|
442
|
+
*/
|
|
443
|
+
getFlatCoordinates() {
|
|
444
|
+
return this.flatCoordinates;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* Return the last coordinate of the geometry.
|
|
448
|
+
* @return {import("../coordinate.js").Coordinate} Last point.
|
|
449
|
+
* @api
|
|
450
|
+
*/
|
|
451
|
+
getLastCoordinate() {
|
|
452
|
+
return this.flatCoordinates.slice(
|
|
453
|
+
this.flatCoordinates.length - this.stride
|
|
454
|
+
);
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* Return the {@link import("./Geometry.js").GeometryLayout layout} of the geometry.
|
|
458
|
+
* @return {import("./Geometry.js").GeometryLayout} Layout.
|
|
459
|
+
* @api
|
|
460
|
+
*/
|
|
461
|
+
getLayout() {
|
|
462
|
+
return this.layout;
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* Create a simplified version of this geometry using the Douglas Peucker algorithm.
|
|
466
|
+
* @param {number} squaredTolerance Squared tolerance.
|
|
467
|
+
* @return {SimpleGeometry} Simplified geometry.
|
|
468
|
+
* @override
|
|
469
|
+
*/
|
|
470
|
+
getSimplifiedGeometry(squaredTolerance) {
|
|
471
|
+
if (this.simplifiedGeometryRevision !== this.getRevision()) {
|
|
472
|
+
this.simplifiedGeometryMaxMinSquaredTolerance = 0;
|
|
473
|
+
this.simplifiedGeometryRevision = this.getRevision();
|
|
474
|
+
}
|
|
475
|
+
if (squaredTolerance < 0 || this.simplifiedGeometryMaxMinSquaredTolerance !== 0 && squaredTolerance <= this.simplifiedGeometryMaxMinSquaredTolerance) {
|
|
476
|
+
return this;
|
|
477
|
+
}
|
|
478
|
+
const simplifiedGeometry = this.getSimplifiedGeometryInternal(squaredTolerance);
|
|
479
|
+
const simplifiedFlatCoordinates = simplifiedGeometry.getFlatCoordinates();
|
|
480
|
+
if (simplifiedFlatCoordinates.length < this.flatCoordinates.length) {
|
|
481
|
+
return simplifiedGeometry;
|
|
482
|
+
}
|
|
483
|
+
this.simplifiedGeometryMaxMinSquaredTolerance = squaredTolerance;
|
|
484
|
+
return this;
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* @param {number} squaredTolerance Squared tolerance.
|
|
488
|
+
* @return {SimpleGeometry} Simplified geometry.
|
|
489
|
+
* @protected
|
|
490
|
+
*/
|
|
491
|
+
getSimplifiedGeometryInternal(squaredTolerance) {
|
|
492
|
+
return this;
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* @return {number} Stride.
|
|
496
|
+
*/
|
|
497
|
+
getStride() {
|
|
498
|
+
return this.stride;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* @param {import("./Geometry.js").GeometryLayout} layout Layout.
|
|
502
|
+
* @param {Array<number>} flatCoordinates Flat coordinates.
|
|
503
|
+
*/
|
|
504
|
+
setFlatCoordinates(layout, flatCoordinates) {
|
|
505
|
+
this.stride = getStrideForLayout(layout);
|
|
506
|
+
this.layout = layout;
|
|
507
|
+
this.flatCoordinates = flatCoordinates;
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* @abstract
|
|
511
|
+
* @param {!Array<*>} coordinates Coordinates.
|
|
512
|
+
* @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
|
|
513
|
+
*/
|
|
514
|
+
setCoordinates(coordinates2, layout) {
|
|
515
|
+
abstract();
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* @param {import("./Geometry.js").GeometryLayout|undefined} layout Layout.
|
|
519
|
+
* @param {Array<*>} coordinates Coordinates.
|
|
520
|
+
* @param {number} nesting Nesting.
|
|
521
|
+
* @protected
|
|
522
|
+
*/
|
|
523
|
+
setLayout(layout, coordinates2, nesting) {
|
|
524
|
+
let stride;
|
|
525
|
+
if (layout) {
|
|
526
|
+
stride = getStrideForLayout(layout);
|
|
527
|
+
} else {
|
|
528
|
+
for (let i = 0; i < nesting; ++i) {
|
|
529
|
+
if (coordinates2.length === 0) {
|
|
530
|
+
this.layout = "XY";
|
|
531
|
+
this.stride = 2;
|
|
532
|
+
return;
|
|
533
|
+
}
|
|
534
|
+
coordinates2 = /** @type {Array<unknown>} */
|
|
535
|
+
coordinates2[0];
|
|
536
|
+
}
|
|
537
|
+
stride = coordinates2.length;
|
|
538
|
+
layout = getLayoutForStride(stride);
|
|
539
|
+
}
|
|
540
|
+
this.layout = layout;
|
|
541
|
+
this.stride = stride;
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Apply a transform function to the coordinates of the geometry.
|
|
545
|
+
* The geometry is modified in place.
|
|
546
|
+
* If you do not want the geometry modified in place, first `clone()` it and
|
|
547
|
+
* then use this function on the clone.
|
|
548
|
+
* @param {import("../proj.js").TransformFunction} transformFn Transform function.
|
|
549
|
+
* Called with a flat array of geometry coordinates.
|
|
550
|
+
* @api
|
|
551
|
+
* @override
|
|
552
|
+
*/
|
|
553
|
+
applyTransform(transformFn) {
|
|
554
|
+
if (this.flatCoordinates) {
|
|
555
|
+
transformFn(
|
|
556
|
+
this.flatCoordinates,
|
|
557
|
+
this.flatCoordinates,
|
|
558
|
+
this.layout.startsWith("XYZ") ? 3 : 2,
|
|
559
|
+
this.stride
|
|
560
|
+
);
|
|
561
|
+
this.changed();
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* Rotate the geometry around a given coordinate. This modifies the geometry
|
|
566
|
+
* coordinates in place.
|
|
567
|
+
* @param {number} angle Rotation angle in counter-clockwise radians.
|
|
568
|
+
* @param {import("../coordinate.js").Coordinate} anchor The rotation center.
|
|
569
|
+
* @api
|
|
570
|
+
* @override
|
|
571
|
+
*/
|
|
572
|
+
rotate(angle, anchor) {
|
|
573
|
+
const flatCoordinates = this.getFlatCoordinates();
|
|
574
|
+
if (flatCoordinates) {
|
|
575
|
+
const stride = this.getStride();
|
|
576
|
+
rotate(
|
|
577
|
+
flatCoordinates,
|
|
578
|
+
0,
|
|
579
|
+
flatCoordinates.length,
|
|
580
|
+
stride,
|
|
581
|
+
angle,
|
|
582
|
+
anchor,
|
|
583
|
+
flatCoordinates
|
|
584
|
+
);
|
|
585
|
+
this.changed();
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* Scale the geometry (with an optional origin). This modifies the geometry
|
|
590
|
+
* coordinates in place.
|
|
591
|
+
* @param {number} sx The scaling factor in the x-direction.
|
|
592
|
+
* @param {number} [sy] The scaling factor in the y-direction (defaults to sx).
|
|
593
|
+
* @param {import("../coordinate.js").Coordinate} [anchor] The scale origin (defaults to the center
|
|
594
|
+
* of the geometry extent).
|
|
595
|
+
* @api
|
|
596
|
+
* @override
|
|
597
|
+
*/
|
|
598
|
+
scale(sx, sy, anchor) {
|
|
599
|
+
if (sy === void 0) {
|
|
600
|
+
sy = sx;
|
|
601
|
+
}
|
|
602
|
+
if (!anchor) {
|
|
603
|
+
anchor = getCenter(this.getExtent());
|
|
604
|
+
}
|
|
605
|
+
const flatCoordinates = this.getFlatCoordinates();
|
|
606
|
+
if (flatCoordinates) {
|
|
607
|
+
const stride = this.getStride();
|
|
608
|
+
scale(
|
|
609
|
+
flatCoordinates,
|
|
610
|
+
0,
|
|
611
|
+
flatCoordinates.length,
|
|
612
|
+
stride,
|
|
613
|
+
sx,
|
|
614
|
+
sy,
|
|
615
|
+
anchor,
|
|
616
|
+
flatCoordinates
|
|
617
|
+
);
|
|
618
|
+
this.changed();
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Translate the geometry. This modifies the geometry coordinates in place. If
|
|
623
|
+
* instead you want a new geometry, first `clone()` this geometry.
|
|
624
|
+
* @param {number} deltaX Delta X.
|
|
625
|
+
* @param {number} deltaY Delta Y.
|
|
626
|
+
* @api
|
|
627
|
+
* @override
|
|
628
|
+
*/
|
|
629
|
+
translate(deltaX, deltaY) {
|
|
630
|
+
const flatCoordinates = this.getFlatCoordinates();
|
|
631
|
+
if (flatCoordinates) {
|
|
632
|
+
const stride = this.getStride();
|
|
633
|
+
translate(
|
|
634
|
+
flatCoordinates,
|
|
635
|
+
0,
|
|
636
|
+
flatCoordinates.length,
|
|
637
|
+
stride,
|
|
638
|
+
deltaX,
|
|
639
|
+
deltaY,
|
|
640
|
+
flatCoordinates
|
|
641
|
+
);
|
|
642
|
+
this.changed();
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
};
|
|
646
|
+
function getLayoutForStride(stride) {
|
|
647
|
+
let layout;
|
|
648
|
+
if (stride == 2) {
|
|
649
|
+
layout = "XY";
|
|
650
|
+
} else if (stride == 3) {
|
|
651
|
+
layout = "XYZ";
|
|
652
|
+
} else if (stride == 4) {
|
|
653
|
+
layout = "XYZM";
|
|
654
|
+
}
|
|
655
|
+
return (
|
|
656
|
+
/** @type {import("./Geometry.js").GeometryLayout} */
|
|
657
|
+
layout
|
|
658
|
+
);
|
|
659
|
+
}
|
|
660
|
+
function getStrideForLayout(layout) {
|
|
661
|
+
let stride;
|
|
662
|
+
if (layout == "XY") {
|
|
663
|
+
stride = 2;
|
|
664
|
+
} else if (layout == "XYZ" || layout == "XYM") {
|
|
665
|
+
stride = 3;
|
|
666
|
+
} else if (layout == "XYZM") {
|
|
667
|
+
stride = 4;
|
|
668
|
+
}
|
|
669
|
+
return (
|
|
670
|
+
/** @type {number} */
|
|
671
|
+
stride
|
|
672
|
+
);
|
|
673
|
+
}
|
|
674
|
+
function transformGeom2D(simpleGeometry, transform, dest) {
|
|
675
|
+
const flatCoordinates = simpleGeometry.getFlatCoordinates();
|
|
676
|
+
if (!flatCoordinates) {
|
|
677
|
+
return null;
|
|
678
|
+
}
|
|
679
|
+
const stride = simpleGeometry.getStride();
|
|
680
|
+
return transform2D(
|
|
681
|
+
flatCoordinates,
|
|
682
|
+
0,
|
|
683
|
+
flatCoordinates.length,
|
|
684
|
+
stride,
|
|
685
|
+
transform,
|
|
686
|
+
dest
|
|
687
|
+
);
|
|
688
|
+
}
|
|
689
|
+
var SimpleGeometry_default = SimpleGeometry;
|
|
690
|
+
|
|
691
|
+
// node_modules/ol/geom/flat/deflate.js
|
|
692
|
+
init_dirname();
|
|
693
|
+
init_buffer();
|
|
694
|
+
init_process();
|
|
695
|
+
function deflateCoordinate(flatCoordinates, offset, coordinate, stride) {
|
|
696
|
+
for (let i = 0; i < stride; ++i) {
|
|
697
|
+
flatCoordinates[offset++] = coordinate[i];
|
|
698
|
+
}
|
|
699
|
+
return offset;
|
|
700
|
+
}
|
|
701
|
+
function deflateCoordinates(flatCoordinates, offset, coordinates2, stride) {
|
|
702
|
+
for (let i = 0, ii = coordinates2.length; i < ii; ++i) {
|
|
703
|
+
const coordinate = coordinates2[i];
|
|
704
|
+
for (let j = 0; j < stride; ++j) {
|
|
705
|
+
flatCoordinates[offset++] = coordinate[j];
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
return offset;
|
|
709
|
+
}
|
|
710
|
+
function deflateCoordinatesArray(flatCoordinates, offset, coordinatess, stride, ends) {
|
|
711
|
+
ends = ends ? ends : [];
|
|
712
|
+
let i = 0;
|
|
713
|
+
for (let j = 0, jj = coordinatess.length; j < jj; ++j) {
|
|
714
|
+
const end = deflateCoordinates(
|
|
715
|
+
flatCoordinates,
|
|
716
|
+
offset,
|
|
717
|
+
coordinatess[j],
|
|
718
|
+
stride
|
|
719
|
+
);
|
|
720
|
+
ends[i++] = end;
|
|
721
|
+
offset = end;
|
|
722
|
+
}
|
|
723
|
+
ends.length = i;
|
|
724
|
+
return ends;
|
|
725
|
+
}
|
|
726
|
+
function deflateMultiCoordinatesArray(flatCoordinates, offset, coordinatesss, stride, endss) {
|
|
727
|
+
endss = endss ? endss : [];
|
|
728
|
+
let i = 0;
|
|
729
|
+
for (let j = 0, jj = coordinatesss.length; j < jj; ++j) {
|
|
730
|
+
const ends = deflateCoordinatesArray(
|
|
731
|
+
flatCoordinates,
|
|
732
|
+
offset,
|
|
733
|
+
coordinatesss[j],
|
|
734
|
+
stride,
|
|
735
|
+
endss[i]
|
|
736
|
+
);
|
|
737
|
+
if (ends.length === 0) {
|
|
738
|
+
ends[0] = offset;
|
|
739
|
+
}
|
|
740
|
+
endss[i++] = ends;
|
|
741
|
+
offset = ends[ends.length - 1];
|
|
742
|
+
}
|
|
743
|
+
endss.length = i;
|
|
744
|
+
return endss;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
// node_modules/ol/geom/Point.js
|
|
748
|
+
var Point = class _Point extends SimpleGeometry_default {
|
|
749
|
+
/**
|
|
750
|
+
* @param {import("../coordinate.js").Coordinate} coordinates Coordinates.
|
|
751
|
+
* @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
|
|
752
|
+
*/
|
|
753
|
+
constructor(coordinates2, layout) {
|
|
754
|
+
super();
|
|
755
|
+
this.setCoordinates(coordinates2, layout);
|
|
756
|
+
}
|
|
757
|
+
/**
|
|
758
|
+
* Make a complete copy of the geometry.
|
|
759
|
+
* @return {!Point} Clone.
|
|
760
|
+
* @api
|
|
761
|
+
* @override
|
|
762
|
+
*/
|
|
763
|
+
clone() {
|
|
764
|
+
const point = new _Point(this.flatCoordinates.slice(), this.layout);
|
|
765
|
+
point.applyProperties(this);
|
|
766
|
+
return point;
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* @param {number} x X.
|
|
770
|
+
* @param {number} y Y.
|
|
771
|
+
* @param {import("../coordinate.js").Coordinate} closestPoint Closest point.
|
|
772
|
+
* @param {number} minSquaredDistance Minimum squared distance.
|
|
773
|
+
* @return {number} Minimum squared distance.
|
|
774
|
+
* @override
|
|
775
|
+
*/
|
|
776
|
+
closestPointXY(x, y, closestPoint, minSquaredDistance) {
|
|
777
|
+
const flatCoordinates = this.flatCoordinates;
|
|
778
|
+
const squaredDistance2 = squaredDistance(
|
|
779
|
+
x,
|
|
780
|
+
y,
|
|
781
|
+
flatCoordinates[0],
|
|
782
|
+
flatCoordinates[1]
|
|
783
|
+
);
|
|
784
|
+
if (squaredDistance2 < minSquaredDistance) {
|
|
785
|
+
const stride = this.stride;
|
|
786
|
+
for (let i = 0; i < stride; ++i) {
|
|
787
|
+
closestPoint[i] = flatCoordinates[i];
|
|
788
|
+
}
|
|
789
|
+
closestPoint.length = stride;
|
|
790
|
+
return squaredDistance2;
|
|
791
|
+
}
|
|
792
|
+
return minSquaredDistance;
|
|
793
|
+
}
|
|
794
|
+
/**
|
|
795
|
+
* Return the coordinate of the point.
|
|
796
|
+
* @return {import("../coordinate.js").Coordinate} Coordinates.
|
|
797
|
+
* @api
|
|
798
|
+
* @override
|
|
799
|
+
*/
|
|
800
|
+
getCoordinates() {
|
|
801
|
+
return this.flatCoordinates.slice();
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* @param {import("../extent.js").Extent} extent Extent.
|
|
805
|
+
* @protected
|
|
806
|
+
* @return {import("../extent.js").Extent} extent Extent.
|
|
807
|
+
* @override
|
|
808
|
+
*/
|
|
809
|
+
computeExtent(extent) {
|
|
810
|
+
return createOrUpdateFromCoordinate(this.flatCoordinates, extent);
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* Get the type of this geometry.
|
|
814
|
+
* @return {import("./Geometry.js").Type} Geometry type.
|
|
815
|
+
* @api
|
|
816
|
+
* @override
|
|
817
|
+
*/
|
|
818
|
+
getType() {
|
|
819
|
+
return "Point";
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
* Test if the geometry and the passed extent intersect.
|
|
823
|
+
* @param {import("../extent.js").Extent} extent Extent.
|
|
824
|
+
* @return {boolean} `true` if the geometry and the extent intersect.
|
|
825
|
+
* @api
|
|
826
|
+
* @override
|
|
827
|
+
*/
|
|
828
|
+
intersectsExtent(extent) {
|
|
829
|
+
return containsXY(extent, this.flatCoordinates[0], this.flatCoordinates[1]);
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* @param {!Array<*>} coordinates Coordinates.
|
|
833
|
+
* @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
|
|
834
|
+
* @api
|
|
835
|
+
* @override
|
|
836
|
+
*/
|
|
837
|
+
setCoordinates(coordinates2, layout) {
|
|
838
|
+
this.setLayout(layout, coordinates2, 0);
|
|
839
|
+
if (!this.flatCoordinates) {
|
|
840
|
+
this.flatCoordinates = [];
|
|
841
|
+
}
|
|
842
|
+
this.flatCoordinates.length = deflateCoordinate(
|
|
843
|
+
this.flatCoordinates,
|
|
844
|
+
0,
|
|
845
|
+
coordinates2,
|
|
846
|
+
this.stride
|
|
847
|
+
);
|
|
848
|
+
this.changed();
|
|
849
|
+
}
|
|
850
|
+
};
|
|
851
|
+
var Point_default = Point;
|
|
852
|
+
|
|
853
|
+
// node_modules/ol/geom/Polygon.js
|
|
854
|
+
init_dirname();
|
|
855
|
+
init_buffer();
|
|
856
|
+
init_process();
|
|
857
|
+
|
|
858
|
+
// node_modules/ol/geom/LinearRing.js
|
|
859
|
+
init_dirname();
|
|
860
|
+
init_buffer();
|
|
861
|
+
init_process();
|
|
862
|
+
|
|
863
|
+
// node_modules/ol/geom/flat/area.js
|
|
864
|
+
init_dirname();
|
|
865
|
+
init_buffer();
|
|
866
|
+
init_process();
|
|
867
|
+
function linearRing(flatCoordinates, offset, end, stride) {
|
|
868
|
+
let twiceArea = 0;
|
|
869
|
+
const x0 = flatCoordinates[end - stride];
|
|
870
|
+
const y0 = flatCoordinates[end - stride + 1];
|
|
871
|
+
let dx1 = 0;
|
|
872
|
+
let dy1 = 0;
|
|
873
|
+
for (; offset < end; offset += stride) {
|
|
874
|
+
const dx2 = flatCoordinates[offset] - x0;
|
|
875
|
+
const dy2 = flatCoordinates[offset + 1] - y0;
|
|
876
|
+
twiceArea += dy1 * dx2 - dx1 * dy2;
|
|
877
|
+
dx1 = dx2;
|
|
878
|
+
dy1 = dy2;
|
|
879
|
+
}
|
|
880
|
+
return twiceArea / 2;
|
|
881
|
+
}
|
|
882
|
+
function linearRings(flatCoordinates, offset, ends, stride) {
|
|
883
|
+
let area = 0;
|
|
884
|
+
for (let i = 0, ii = ends.length; i < ii; ++i) {
|
|
885
|
+
const end = ends[i];
|
|
886
|
+
area += linearRing(flatCoordinates, offset, end, stride);
|
|
887
|
+
offset = end;
|
|
888
|
+
}
|
|
889
|
+
return area;
|
|
890
|
+
}
|
|
891
|
+
function linearRingss(flatCoordinates, offset, endss, stride) {
|
|
892
|
+
let area = 0;
|
|
893
|
+
for (let i = 0, ii = endss.length; i < ii; ++i) {
|
|
894
|
+
const ends = endss[i];
|
|
895
|
+
area += linearRings(flatCoordinates, offset, ends, stride);
|
|
896
|
+
offset = ends[ends.length - 1];
|
|
897
|
+
}
|
|
898
|
+
return area;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
// node_modules/ol/geom/flat/closest.js
|
|
902
|
+
init_dirname();
|
|
903
|
+
init_buffer();
|
|
904
|
+
init_process();
|
|
905
|
+
function assignClosest(flatCoordinates, offset1, offset2, stride, x, y, closestPoint) {
|
|
906
|
+
const x1 = flatCoordinates[offset1];
|
|
907
|
+
const y1 = flatCoordinates[offset1 + 1];
|
|
908
|
+
const dx = flatCoordinates[offset2] - x1;
|
|
909
|
+
const dy = flatCoordinates[offset2 + 1] - y1;
|
|
910
|
+
let offset;
|
|
911
|
+
if (dx === 0 && dy === 0) {
|
|
912
|
+
offset = offset1;
|
|
913
|
+
} else {
|
|
914
|
+
const t = ((x - x1) * dx + (y - y1) * dy) / (dx * dx + dy * dy);
|
|
915
|
+
if (t > 1) {
|
|
916
|
+
offset = offset2;
|
|
917
|
+
} else if (t > 0) {
|
|
918
|
+
for (let i = 0; i < stride; ++i) {
|
|
919
|
+
closestPoint[i] = lerp(
|
|
920
|
+
flatCoordinates[offset1 + i],
|
|
921
|
+
flatCoordinates[offset2 + i],
|
|
922
|
+
t
|
|
923
|
+
);
|
|
924
|
+
}
|
|
925
|
+
closestPoint.length = stride;
|
|
926
|
+
return;
|
|
927
|
+
} else {
|
|
928
|
+
offset = offset1;
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
for (let i = 0; i < stride; ++i) {
|
|
932
|
+
closestPoint[i] = flatCoordinates[offset + i];
|
|
933
|
+
}
|
|
934
|
+
closestPoint.length = stride;
|
|
935
|
+
}
|
|
936
|
+
function maxSquaredDelta(flatCoordinates, offset, end, stride, max) {
|
|
937
|
+
let x1 = flatCoordinates[offset];
|
|
938
|
+
let y1 = flatCoordinates[offset + 1];
|
|
939
|
+
for (offset += stride; offset < end; offset += stride) {
|
|
940
|
+
const x2 = flatCoordinates[offset];
|
|
941
|
+
const y2 = flatCoordinates[offset + 1];
|
|
942
|
+
const squaredDelta = squaredDistance(x1, y1, x2, y2);
|
|
943
|
+
if (squaredDelta > max) {
|
|
944
|
+
max = squaredDelta;
|
|
945
|
+
}
|
|
946
|
+
x1 = x2;
|
|
947
|
+
y1 = y2;
|
|
948
|
+
}
|
|
949
|
+
return max;
|
|
950
|
+
}
|
|
951
|
+
function arrayMaxSquaredDelta(flatCoordinates, offset, ends, stride, max) {
|
|
952
|
+
for (let i = 0, ii = ends.length; i < ii; ++i) {
|
|
953
|
+
const end = ends[i];
|
|
954
|
+
max = maxSquaredDelta(flatCoordinates, offset, end, stride, max);
|
|
955
|
+
offset = end;
|
|
956
|
+
}
|
|
957
|
+
return max;
|
|
958
|
+
}
|
|
959
|
+
function multiArrayMaxSquaredDelta(flatCoordinates, offset, endss, stride, max) {
|
|
960
|
+
for (let i = 0, ii = endss.length; i < ii; ++i) {
|
|
961
|
+
const ends = endss[i];
|
|
962
|
+
max = arrayMaxSquaredDelta(flatCoordinates, offset, ends, stride, max);
|
|
963
|
+
offset = ends[ends.length - 1];
|
|
964
|
+
}
|
|
965
|
+
return max;
|
|
966
|
+
}
|
|
967
|
+
function assignClosestPoint(flatCoordinates, offset, end, stride, maxDelta, isRing, x, y, closestPoint, minSquaredDistance, tmpPoint2) {
|
|
968
|
+
if (offset == end) {
|
|
969
|
+
return minSquaredDistance;
|
|
970
|
+
}
|
|
971
|
+
let i, squaredDistance2;
|
|
972
|
+
if (maxDelta === 0) {
|
|
973
|
+
squaredDistance2 = squaredDistance(
|
|
974
|
+
x,
|
|
975
|
+
y,
|
|
976
|
+
flatCoordinates[offset],
|
|
977
|
+
flatCoordinates[offset + 1]
|
|
978
|
+
);
|
|
979
|
+
if (squaredDistance2 < minSquaredDistance) {
|
|
980
|
+
for (i = 0; i < stride; ++i) {
|
|
981
|
+
closestPoint[i] = flatCoordinates[offset + i];
|
|
982
|
+
}
|
|
983
|
+
closestPoint.length = stride;
|
|
984
|
+
return squaredDistance2;
|
|
985
|
+
}
|
|
986
|
+
return minSquaredDistance;
|
|
987
|
+
}
|
|
988
|
+
tmpPoint2 = tmpPoint2 ? tmpPoint2 : [NaN, NaN];
|
|
989
|
+
let index = offset + stride;
|
|
990
|
+
while (index < end) {
|
|
991
|
+
assignClosest(
|
|
992
|
+
flatCoordinates,
|
|
993
|
+
index - stride,
|
|
994
|
+
index,
|
|
995
|
+
stride,
|
|
996
|
+
x,
|
|
997
|
+
y,
|
|
998
|
+
tmpPoint2
|
|
999
|
+
);
|
|
1000
|
+
squaredDistance2 = squaredDistance(x, y, tmpPoint2[0], tmpPoint2[1]);
|
|
1001
|
+
if (squaredDistance2 < minSquaredDistance) {
|
|
1002
|
+
minSquaredDistance = squaredDistance2;
|
|
1003
|
+
for (i = 0; i < stride; ++i) {
|
|
1004
|
+
closestPoint[i] = tmpPoint2[i];
|
|
1005
|
+
}
|
|
1006
|
+
closestPoint.length = stride;
|
|
1007
|
+
index += stride;
|
|
1008
|
+
} else {
|
|
1009
|
+
index += stride * Math.max(
|
|
1010
|
+
(Math.sqrt(squaredDistance2) - Math.sqrt(minSquaredDistance)) / maxDelta | 0,
|
|
1011
|
+
1
|
|
1012
|
+
);
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
if (isRing) {
|
|
1016
|
+
assignClosest(
|
|
1017
|
+
flatCoordinates,
|
|
1018
|
+
end - stride,
|
|
1019
|
+
offset,
|
|
1020
|
+
stride,
|
|
1021
|
+
x,
|
|
1022
|
+
y,
|
|
1023
|
+
tmpPoint2
|
|
1024
|
+
);
|
|
1025
|
+
squaredDistance2 = squaredDistance(x, y, tmpPoint2[0], tmpPoint2[1]);
|
|
1026
|
+
if (squaredDistance2 < minSquaredDistance) {
|
|
1027
|
+
minSquaredDistance = squaredDistance2;
|
|
1028
|
+
for (i = 0; i < stride; ++i) {
|
|
1029
|
+
closestPoint[i] = tmpPoint2[i];
|
|
1030
|
+
}
|
|
1031
|
+
closestPoint.length = stride;
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
return minSquaredDistance;
|
|
1035
|
+
}
|
|
1036
|
+
function assignClosestArrayPoint(flatCoordinates, offset, ends, stride, maxDelta, isRing, x, y, closestPoint, minSquaredDistance, tmpPoint2) {
|
|
1037
|
+
tmpPoint2 = tmpPoint2 ? tmpPoint2 : [NaN, NaN];
|
|
1038
|
+
for (let i = 0, ii = ends.length; i < ii; ++i) {
|
|
1039
|
+
const end = ends[i];
|
|
1040
|
+
minSquaredDistance = assignClosestPoint(
|
|
1041
|
+
flatCoordinates,
|
|
1042
|
+
offset,
|
|
1043
|
+
end,
|
|
1044
|
+
stride,
|
|
1045
|
+
maxDelta,
|
|
1046
|
+
isRing,
|
|
1047
|
+
x,
|
|
1048
|
+
y,
|
|
1049
|
+
closestPoint,
|
|
1050
|
+
minSquaredDistance,
|
|
1051
|
+
tmpPoint2
|
|
1052
|
+
);
|
|
1053
|
+
offset = end;
|
|
1054
|
+
}
|
|
1055
|
+
return minSquaredDistance;
|
|
1056
|
+
}
|
|
1057
|
+
function assignClosestMultiArrayPoint(flatCoordinates, offset, endss, stride, maxDelta, isRing, x, y, closestPoint, minSquaredDistance, tmpPoint2) {
|
|
1058
|
+
tmpPoint2 = tmpPoint2 ? tmpPoint2 : [NaN, NaN];
|
|
1059
|
+
for (let i = 0, ii = endss.length; i < ii; ++i) {
|
|
1060
|
+
const ends = endss[i];
|
|
1061
|
+
minSquaredDistance = assignClosestArrayPoint(
|
|
1062
|
+
flatCoordinates,
|
|
1063
|
+
offset,
|
|
1064
|
+
ends,
|
|
1065
|
+
stride,
|
|
1066
|
+
maxDelta,
|
|
1067
|
+
isRing,
|
|
1068
|
+
x,
|
|
1069
|
+
y,
|
|
1070
|
+
closestPoint,
|
|
1071
|
+
minSquaredDistance,
|
|
1072
|
+
tmpPoint2
|
|
1073
|
+
);
|
|
1074
|
+
offset = ends[ends.length - 1];
|
|
1075
|
+
}
|
|
1076
|
+
return minSquaredDistance;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
// node_modules/ol/geom/flat/inflate.js
|
|
1080
|
+
init_dirname();
|
|
1081
|
+
init_buffer();
|
|
1082
|
+
init_process();
|
|
1083
|
+
function inflateCoordinates(flatCoordinates, offset, end, stride, coordinates2) {
|
|
1084
|
+
coordinates2 = coordinates2 !== void 0 ? coordinates2 : [];
|
|
1085
|
+
let i = 0;
|
|
1086
|
+
for (let j = offset; j < end; j += stride) {
|
|
1087
|
+
coordinates2[i++] = flatCoordinates.slice(j, j + stride);
|
|
1088
|
+
}
|
|
1089
|
+
coordinates2.length = i;
|
|
1090
|
+
return coordinates2;
|
|
1091
|
+
}
|
|
1092
|
+
function inflateCoordinatesArray(flatCoordinates, offset, ends, stride, coordinatess) {
|
|
1093
|
+
coordinatess = coordinatess !== void 0 ? coordinatess : [];
|
|
1094
|
+
let i = 0;
|
|
1095
|
+
for (let j = 0, jj = ends.length; j < jj; ++j) {
|
|
1096
|
+
const end = ends[j];
|
|
1097
|
+
coordinatess[i++] = inflateCoordinates(
|
|
1098
|
+
flatCoordinates,
|
|
1099
|
+
offset,
|
|
1100
|
+
end,
|
|
1101
|
+
stride,
|
|
1102
|
+
coordinatess[i]
|
|
1103
|
+
);
|
|
1104
|
+
offset = end;
|
|
1105
|
+
}
|
|
1106
|
+
coordinatess.length = i;
|
|
1107
|
+
return coordinatess;
|
|
1108
|
+
}
|
|
1109
|
+
function inflateMultiCoordinatesArray(flatCoordinates, offset, endss, stride, coordinatesss) {
|
|
1110
|
+
coordinatesss = coordinatesss !== void 0 ? coordinatesss : [];
|
|
1111
|
+
let i = 0;
|
|
1112
|
+
for (let j = 0, jj = endss.length; j < jj; ++j) {
|
|
1113
|
+
const ends = endss[j];
|
|
1114
|
+
coordinatesss[i++] = ends.length === 1 && ends[0] === offset ? [] : inflateCoordinatesArray(
|
|
1115
|
+
flatCoordinates,
|
|
1116
|
+
offset,
|
|
1117
|
+
ends,
|
|
1118
|
+
stride,
|
|
1119
|
+
coordinatesss[i]
|
|
1120
|
+
);
|
|
1121
|
+
offset = ends[ends.length - 1];
|
|
1122
|
+
}
|
|
1123
|
+
coordinatesss.length = i;
|
|
1124
|
+
return coordinatesss;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
// node_modules/ol/geom/flat/simplify.js
|
|
1128
|
+
init_dirname();
|
|
1129
|
+
init_buffer();
|
|
1130
|
+
init_process();
|
|
1131
|
+
function douglasPeucker(flatCoordinates, offset, end, stride, squaredTolerance, simplifiedFlatCoordinates, simplifiedOffset) {
|
|
1132
|
+
const n = (end - offset) / stride;
|
|
1133
|
+
if (n < 3) {
|
|
1134
|
+
for (; offset < end; offset += stride) {
|
|
1135
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = flatCoordinates[offset];
|
|
1136
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = flatCoordinates[offset + 1];
|
|
1137
|
+
}
|
|
1138
|
+
return simplifiedOffset;
|
|
1139
|
+
}
|
|
1140
|
+
const markers = new Array(n);
|
|
1141
|
+
markers[0] = 1;
|
|
1142
|
+
markers[n - 1] = 1;
|
|
1143
|
+
const stack = [offset, end - stride];
|
|
1144
|
+
let index = 0;
|
|
1145
|
+
while (stack.length > 0) {
|
|
1146
|
+
const last = (
|
|
1147
|
+
/** @type {number} */
|
|
1148
|
+
stack.pop()
|
|
1149
|
+
);
|
|
1150
|
+
const first = (
|
|
1151
|
+
/** @type {number} */
|
|
1152
|
+
stack.pop()
|
|
1153
|
+
);
|
|
1154
|
+
let maxSquaredDistance = 0;
|
|
1155
|
+
const x1 = flatCoordinates[first];
|
|
1156
|
+
const y1 = flatCoordinates[first + 1];
|
|
1157
|
+
const x2 = flatCoordinates[last];
|
|
1158
|
+
const y2 = flatCoordinates[last + 1];
|
|
1159
|
+
for (let i = first + stride; i < last; i += stride) {
|
|
1160
|
+
const x = flatCoordinates[i];
|
|
1161
|
+
const y = flatCoordinates[i + 1];
|
|
1162
|
+
const squaredDistance2 = squaredSegmentDistance(x, y, x1, y1, x2, y2);
|
|
1163
|
+
if (squaredDistance2 > maxSquaredDistance) {
|
|
1164
|
+
index = i;
|
|
1165
|
+
maxSquaredDistance = squaredDistance2;
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
if (maxSquaredDistance > squaredTolerance) {
|
|
1169
|
+
markers[(index - offset) / stride] = 1;
|
|
1170
|
+
if (first + stride < index) {
|
|
1171
|
+
stack.push(first, index);
|
|
1172
|
+
}
|
|
1173
|
+
if (index + stride < last) {
|
|
1174
|
+
stack.push(index, last);
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
for (let i = 0; i < n; ++i) {
|
|
1179
|
+
if (markers[i]) {
|
|
1180
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = flatCoordinates[offset + i * stride];
|
|
1181
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = flatCoordinates[offset + i * stride + 1];
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
return simplifiedOffset;
|
|
1185
|
+
}
|
|
1186
|
+
function douglasPeuckerArray(flatCoordinates, offset, ends, stride, squaredTolerance, simplifiedFlatCoordinates, simplifiedOffset, simplifiedEnds) {
|
|
1187
|
+
for (let i = 0, ii = ends.length; i < ii; ++i) {
|
|
1188
|
+
const end = ends[i];
|
|
1189
|
+
simplifiedOffset = douglasPeucker(
|
|
1190
|
+
flatCoordinates,
|
|
1191
|
+
offset,
|
|
1192
|
+
end,
|
|
1193
|
+
stride,
|
|
1194
|
+
squaredTolerance,
|
|
1195
|
+
simplifiedFlatCoordinates,
|
|
1196
|
+
simplifiedOffset
|
|
1197
|
+
);
|
|
1198
|
+
simplifiedEnds.push(simplifiedOffset);
|
|
1199
|
+
offset = end;
|
|
1200
|
+
}
|
|
1201
|
+
return simplifiedOffset;
|
|
1202
|
+
}
|
|
1203
|
+
function snap(value, tolerance) {
|
|
1204
|
+
return tolerance * Math.round(value / tolerance);
|
|
1205
|
+
}
|
|
1206
|
+
function quantize(flatCoordinates, offset, end, stride, tolerance, simplifiedFlatCoordinates, simplifiedOffset) {
|
|
1207
|
+
if (offset == end) {
|
|
1208
|
+
return simplifiedOffset;
|
|
1209
|
+
}
|
|
1210
|
+
let x1 = snap(flatCoordinates[offset], tolerance);
|
|
1211
|
+
let y1 = snap(flatCoordinates[offset + 1], tolerance);
|
|
1212
|
+
offset += stride;
|
|
1213
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = x1;
|
|
1214
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = y1;
|
|
1215
|
+
let x2, y2;
|
|
1216
|
+
do {
|
|
1217
|
+
x2 = snap(flatCoordinates[offset], tolerance);
|
|
1218
|
+
y2 = snap(flatCoordinates[offset + 1], tolerance);
|
|
1219
|
+
offset += stride;
|
|
1220
|
+
if (offset == end) {
|
|
1221
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = x2;
|
|
1222
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = y2;
|
|
1223
|
+
return simplifiedOffset;
|
|
1224
|
+
}
|
|
1225
|
+
} while (x2 == x1 && y2 == y1);
|
|
1226
|
+
while (offset < end) {
|
|
1227
|
+
const x3 = snap(flatCoordinates[offset], tolerance);
|
|
1228
|
+
const y3 = snap(flatCoordinates[offset + 1], tolerance);
|
|
1229
|
+
offset += stride;
|
|
1230
|
+
if (x3 == x2 && y3 == y2) {
|
|
1231
|
+
continue;
|
|
1232
|
+
}
|
|
1233
|
+
const dx1 = x2 - x1;
|
|
1234
|
+
const dy1 = y2 - y1;
|
|
1235
|
+
const dx2 = x3 - x1;
|
|
1236
|
+
const dy2 = y3 - y1;
|
|
1237
|
+
if (dx1 * dy2 == dy1 * dx2 && (dx1 < 0 && dx2 < dx1 || dx1 == dx2 || dx1 > 0 && dx2 > dx1) && (dy1 < 0 && dy2 < dy1 || dy1 == dy2 || dy1 > 0 && dy2 > dy1)) {
|
|
1238
|
+
x2 = x3;
|
|
1239
|
+
y2 = y3;
|
|
1240
|
+
continue;
|
|
1241
|
+
}
|
|
1242
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = x2;
|
|
1243
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = y2;
|
|
1244
|
+
x1 = x2;
|
|
1245
|
+
y1 = y2;
|
|
1246
|
+
x2 = x3;
|
|
1247
|
+
y2 = y3;
|
|
1248
|
+
}
|
|
1249
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = x2;
|
|
1250
|
+
simplifiedFlatCoordinates[simplifiedOffset++] = y2;
|
|
1251
|
+
return simplifiedOffset;
|
|
1252
|
+
}
|
|
1253
|
+
function quantizeArray(flatCoordinates, offset, ends, stride, tolerance, simplifiedFlatCoordinates, simplifiedOffset, simplifiedEnds) {
|
|
1254
|
+
for (let i = 0, ii = ends.length; i < ii; ++i) {
|
|
1255
|
+
const end = ends[i];
|
|
1256
|
+
simplifiedOffset = quantize(
|
|
1257
|
+
flatCoordinates,
|
|
1258
|
+
offset,
|
|
1259
|
+
end,
|
|
1260
|
+
stride,
|
|
1261
|
+
tolerance,
|
|
1262
|
+
simplifiedFlatCoordinates,
|
|
1263
|
+
simplifiedOffset
|
|
1264
|
+
);
|
|
1265
|
+
simplifiedEnds.push(simplifiedOffset);
|
|
1266
|
+
offset = end;
|
|
1267
|
+
}
|
|
1268
|
+
return simplifiedOffset;
|
|
1269
|
+
}
|
|
1270
|
+
function quantizeMultiArray(flatCoordinates, offset, endss, stride, tolerance, simplifiedFlatCoordinates, simplifiedOffset, simplifiedEndss) {
|
|
1271
|
+
for (let i = 0, ii = endss.length; i < ii; ++i) {
|
|
1272
|
+
const ends = endss[i];
|
|
1273
|
+
const simplifiedEnds = [];
|
|
1274
|
+
simplifiedOffset = quantizeArray(
|
|
1275
|
+
flatCoordinates,
|
|
1276
|
+
offset,
|
|
1277
|
+
ends,
|
|
1278
|
+
stride,
|
|
1279
|
+
tolerance,
|
|
1280
|
+
simplifiedFlatCoordinates,
|
|
1281
|
+
simplifiedOffset,
|
|
1282
|
+
simplifiedEnds
|
|
1283
|
+
);
|
|
1284
|
+
simplifiedEndss.push(simplifiedEnds);
|
|
1285
|
+
offset = ends[ends.length - 1];
|
|
1286
|
+
}
|
|
1287
|
+
return simplifiedOffset;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
// node_modules/ol/geom/LinearRing.js
|
|
1291
|
+
var LinearRing = class _LinearRing extends SimpleGeometry_default {
|
|
1292
|
+
/**
|
|
1293
|
+
* @param {Array<import("../coordinate.js").Coordinate>|Array<number>} coordinates Coordinates.
|
|
1294
|
+
* For internal use, flat coordinates in combination with `layout` are also accepted.
|
|
1295
|
+
* @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
|
|
1296
|
+
*/
|
|
1297
|
+
constructor(coordinates2, layout) {
|
|
1298
|
+
super();
|
|
1299
|
+
this.maxDelta_ = -1;
|
|
1300
|
+
this.maxDeltaRevision_ = -1;
|
|
1301
|
+
if (layout !== void 0 && !Array.isArray(coordinates2[0])) {
|
|
1302
|
+
this.setFlatCoordinates(
|
|
1303
|
+
layout,
|
|
1304
|
+
/** @type {Array<number>} */
|
|
1305
|
+
coordinates2
|
|
1306
|
+
);
|
|
1307
|
+
} else {
|
|
1308
|
+
this.setCoordinates(
|
|
1309
|
+
/** @type {Array<import("../coordinate.js").Coordinate>} */
|
|
1310
|
+
coordinates2,
|
|
1311
|
+
layout
|
|
1312
|
+
);
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
/**
|
|
1316
|
+
* Make a complete copy of the geometry.
|
|
1317
|
+
* @return {!LinearRing} Clone.
|
|
1318
|
+
* @api
|
|
1319
|
+
* @override
|
|
1320
|
+
*/
|
|
1321
|
+
clone() {
|
|
1322
|
+
return new _LinearRing(this.flatCoordinates.slice(), this.layout);
|
|
1323
|
+
}
|
|
1324
|
+
/**
|
|
1325
|
+
* @param {number} x X.
|
|
1326
|
+
* @param {number} y Y.
|
|
1327
|
+
* @param {import("../coordinate.js").Coordinate} closestPoint Closest point.
|
|
1328
|
+
* @param {number} minSquaredDistance Minimum squared distance.
|
|
1329
|
+
* @return {number} Minimum squared distance.
|
|
1330
|
+
* @override
|
|
1331
|
+
*/
|
|
1332
|
+
closestPointXY(x, y, closestPoint, minSquaredDistance) {
|
|
1333
|
+
if (minSquaredDistance < closestSquaredDistanceXY(this.getExtent(), x, y)) {
|
|
1334
|
+
return minSquaredDistance;
|
|
1335
|
+
}
|
|
1336
|
+
if (this.maxDeltaRevision_ != this.getRevision()) {
|
|
1337
|
+
this.maxDelta_ = Math.sqrt(
|
|
1338
|
+
maxSquaredDelta(
|
|
1339
|
+
this.flatCoordinates,
|
|
1340
|
+
0,
|
|
1341
|
+
this.flatCoordinates.length,
|
|
1342
|
+
this.stride,
|
|
1343
|
+
0
|
|
1344
|
+
)
|
|
1345
|
+
);
|
|
1346
|
+
this.maxDeltaRevision_ = this.getRevision();
|
|
1347
|
+
}
|
|
1348
|
+
return assignClosestPoint(
|
|
1349
|
+
this.flatCoordinates,
|
|
1350
|
+
0,
|
|
1351
|
+
this.flatCoordinates.length,
|
|
1352
|
+
this.stride,
|
|
1353
|
+
this.maxDelta_,
|
|
1354
|
+
true,
|
|
1355
|
+
x,
|
|
1356
|
+
y,
|
|
1357
|
+
closestPoint,
|
|
1358
|
+
minSquaredDistance
|
|
1359
|
+
);
|
|
1360
|
+
}
|
|
1361
|
+
/**
|
|
1362
|
+
* Return the area of the linear ring on projected plane.
|
|
1363
|
+
* @return {number} Area (on projected plane).
|
|
1364
|
+
* @api
|
|
1365
|
+
*/
|
|
1366
|
+
getArea() {
|
|
1367
|
+
return linearRing(
|
|
1368
|
+
this.flatCoordinates,
|
|
1369
|
+
0,
|
|
1370
|
+
this.flatCoordinates.length,
|
|
1371
|
+
this.stride
|
|
1372
|
+
);
|
|
1373
|
+
}
|
|
1374
|
+
/**
|
|
1375
|
+
* Return the coordinates of the linear ring.
|
|
1376
|
+
* @return {Array<import("../coordinate.js").Coordinate>} Coordinates.
|
|
1377
|
+
* @api
|
|
1378
|
+
* @override
|
|
1379
|
+
*/
|
|
1380
|
+
getCoordinates() {
|
|
1381
|
+
return inflateCoordinates(
|
|
1382
|
+
this.flatCoordinates,
|
|
1383
|
+
0,
|
|
1384
|
+
this.flatCoordinates.length,
|
|
1385
|
+
this.stride
|
|
1386
|
+
);
|
|
1387
|
+
}
|
|
1388
|
+
/**
|
|
1389
|
+
* @param {number} squaredTolerance Squared tolerance.
|
|
1390
|
+
* @return {LinearRing} Simplified LinearRing.
|
|
1391
|
+
* @protected
|
|
1392
|
+
* @override
|
|
1393
|
+
*/
|
|
1394
|
+
getSimplifiedGeometryInternal(squaredTolerance) {
|
|
1395
|
+
const simplifiedFlatCoordinates = [];
|
|
1396
|
+
simplifiedFlatCoordinates.length = douglasPeucker(
|
|
1397
|
+
this.flatCoordinates,
|
|
1398
|
+
0,
|
|
1399
|
+
this.flatCoordinates.length,
|
|
1400
|
+
this.stride,
|
|
1401
|
+
squaredTolerance,
|
|
1402
|
+
simplifiedFlatCoordinates,
|
|
1403
|
+
0
|
|
1404
|
+
);
|
|
1405
|
+
return new _LinearRing(simplifiedFlatCoordinates, "XY");
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* Get the type of this geometry.
|
|
1409
|
+
* @return {import("./Geometry.js").Type} Geometry type.
|
|
1410
|
+
* @api
|
|
1411
|
+
* @override
|
|
1412
|
+
*/
|
|
1413
|
+
getType() {
|
|
1414
|
+
return "LinearRing";
|
|
1415
|
+
}
|
|
1416
|
+
/**
|
|
1417
|
+
* Test if the geometry and the passed extent intersect. A linear ring is
|
|
1418
|
+
* treated as a line string for this test.
|
|
1419
|
+
* @param {import("../extent.js").Extent} extent Extent.
|
|
1420
|
+
* @return {boolean} `true` if the geometry and the extent intersect.
|
|
1421
|
+
* @api
|
|
1422
|
+
* @override
|
|
1423
|
+
*/
|
|
1424
|
+
intersectsExtent(extent) {
|
|
1425
|
+
return intersectsLineString(
|
|
1426
|
+
this.flatCoordinates,
|
|
1427
|
+
0,
|
|
1428
|
+
this.flatCoordinates.length,
|
|
1429
|
+
this.stride,
|
|
1430
|
+
extent
|
|
1431
|
+
);
|
|
1432
|
+
}
|
|
1433
|
+
/**
|
|
1434
|
+
* Set the coordinates of the linear ring.
|
|
1435
|
+
* @param {!Array<import("../coordinate.js").Coordinate>} coordinates Coordinates.
|
|
1436
|
+
* @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
|
|
1437
|
+
* @api
|
|
1438
|
+
* @override
|
|
1439
|
+
*/
|
|
1440
|
+
setCoordinates(coordinates2, layout) {
|
|
1441
|
+
this.setLayout(layout, coordinates2, 1);
|
|
1442
|
+
if (!this.flatCoordinates) {
|
|
1443
|
+
this.flatCoordinates = [];
|
|
1444
|
+
}
|
|
1445
|
+
this.flatCoordinates.length = deflateCoordinates(
|
|
1446
|
+
this.flatCoordinates,
|
|
1447
|
+
0,
|
|
1448
|
+
coordinates2,
|
|
1449
|
+
this.stride
|
|
1450
|
+
);
|
|
1451
|
+
this.changed();
|
|
1452
|
+
}
|
|
1453
|
+
};
|
|
1454
|
+
var LinearRing_default = LinearRing;
|
|
1455
|
+
|
|
1456
|
+
// node_modules/ol/geom/flat/interiorpoint.js
|
|
1457
|
+
init_dirname();
|
|
1458
|
+
init_buffer();
|
|
1459
|
+
init_process();
|
|
1460
|
+
function getInteriorPointOfArray(flatCoordinates, offset, ends, stride, flatCenters, flatCentersOffset, dest) {
|
|
1461
|
+
let i, ii, x, x1, x2, y1, y2;
|
|
1462
|
+
const y = flatCenters[flatCentersOffset + 1];
|
|
1463
|
+
const intersections = [];
|
|
1464
|
+
for (let r = 0, rr = ends.length; r < rr; ++r) {
|
|
1465
|
+
const end = ends[r];
|
|
1466
|
+
x1 = flatCoordinates[end - stride];
|
|
1467
|
+
y1 = flatCoordinates[end - stride + 1];
|
|
1468
|
+
for (i = offset; i < end; i += stride) {
|
|
1469
|
+
x2 = flatCoordinates[i];
|
|
1470
|
+
y2 = flatCoordinates[i + 1];
|
|
1471
|
+
if (y <= y1 && y2 <= y || y1 <= y && y <= y2) {
|
|
1472
|
+
x = (y - y1) / (y2 - y1) * (x2 - x1) + x1;
|
|
1473
|
+
intersections.push(x);
|
|
1474
|
+
}
|
|
1475
|
+
x1 = x2;
|
|
1476
|
+
y1 = y2;
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
let pointX = NaN;
|
|
1480
|
+
let maxSegmentLength = -Infinity;
|
|
1481
|
+
intersections.sort(ascending);
|
|
1482
|
+
x1 = intersections[0];
|
|
1483
|
+
for (i = 1, ii = intersections.length; i < ii; ++i) {
|
|
1484
|
+
x2 = intersections[i];
|
|
1485
|
+
const segmentLength = Math.abs(x2 - x1);
|
|
1486
|
+
if (segmentLength > maxSegmentLength) {
|
|
1487
|
+
x = (x1 + x2) / 2;
|
|
1488
|
+
if (linearRingsContainsXY(flatCoordinates, offset, ends, stride, x, y)) {
|
|
1489
|
+
pointX = x;
|
|
1490
|
+
maxSegmentLength = segmentLength;
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
x1 = x2;
|
|
1494
|
+
}
|
|
1495
|
+
if (isNaN(pointX)) {
|
|
1496
|
+
pointX = flatCenters[flatCentersOffset];
|
|
1497
|
+
}
|
|
1498
|
+
if (dest) {
|
|
1499
|
+
dest.push(pointX, y, maxSegmentLength);
|
|
1500
|
+
return dest;
|
|
1501
|
+
}
|
|
1502
|
+
return [pointX, y, maxSegmentLength];
|
|
1503
|
+
}
|
|
1504
|
+
function getInteriorPointsOfMultiArray(flatCoordinates, offset, endss, stride, flatCenters) {
|
|
1505
|
+
let interiorPoints = [];
|
|
1506
|
+
for (let i = 0, ii = endss.length; i < ii; ++i) {
|
|
1507
|
+
const ends = endss[i];
|
|
1508
|
+
interiorPoints = getInteriorPointOfArray(
|
|
1509
|
+
flatCoordinates,
|
|
1510
|
+
offset,
|
|
1511
|
+
ends,
|
|
1512
|
+
stride,
|
|
1513
|
+
flatCenters,
|
|
1514
|
+
2 * i,
|
|
1515
|
+
interiorPoints
|
|
1516
|
+
);
|
|
1517
|
+
offset = ends[ends.length - 1];
|
|
1518
|
+
}
|
|
1519
|
+
return interiorPoints;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
// node_modules/ol/geom/flat/orient.js
|
|
1523
|
+
init_dirname();
|
|
1524
|
+
init_buffer();
|
|
1525
|
+
init_process();
|
|
1526
|
+
|
|
1527
|
+
// node_modules/ol/geom/flat/reverse.js
|
|
1528
|
+
init_dirname();
|
|
1529
|
+
init_buffer();
|
|
1530
|
+
init_process();
|
|
1531
|
+
function coordinates(flatCoordinates, offset, end, stride) {
|
|
1532
|
+
while (offset < end - stride) {
|
|
1533
|
+
for (let i = 0; i < stride; ++i) {
|
|
1534
|
+
const tmp = flatCoordinates[offset + i];
|
|
1535
|
+
flatCoordinates[offset + i] = flatCoordinates[end - stride + i];
|
|
1536
|
+
flatCoordinates[end - stride + i] = tmp;
|
|
1537
|
+
}
|
|
1538
|
+
offset += stride;
|
|
1539
|
+
end -= stride;
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
// node_modules/ol/geom/flat/orient.js
|
|
1544
|
+
function linearRingIsClockwise(flatCoordinates, offset, end, stride) {
|
|
1545
|
+
let edge = 0;
|
|
1546
|
+
let x1 = flatCoordinates[end - stride];
|
|
1547
|
+
let y1 = flatCoordinates[end - stride + 1];
|
|
1548
|
+
for (; offset < end; offset += stride) {
|
|
1549
|
+
const x2 = flatCoordinates[offset];
|
|
1550
|
+
const y2 = flatCoordinates[offset + 1];
|
|
1551
|
+
edge += (x2 - x1) * (y2 + y1);
|
|
1552
|
+
x1 = x2;
|
|
1553
|
+
y1 = y2;
|
|
1554
|
+
}
|
|
1555
|
+
return edge === 0 ? void 0 : edge > 0;
|
|
1556
|
+
}
|
|
1557
|
+
function linearRingsAreOriented(flatCoordinates, offset, ends, stride, right) {
|
|
1558
|
+
right = right !== void 0 ? right : false;
|
|
1559
|
+
for (let i = 0, ii = ends.length; i < ii; ++i) {
|
|
1560
|
+
const end = ends[i];
|
|
1561
|
+
const isClockwise = linearRingIsClockwise(
|
|
1562
|
+
flatCoordinates,
|
|
1563
|
+
offset,
|
|
1564
|
+
end,
|
|
1565
|
+
stride
|
|
1566
|
+
);
|
|
1567
|
+
if (i === 0) {
|
|
1568
|
+
if (right && isClockwise || !right && !isClockwise) {
|
|
1569
|
+
return false;
|
|
1570
|
+
}
|
|
1571
|
+
} else {
|
|
1572
|
+
if (right && !isClockwise || !right && isClockwise) {
|
|
1573
|
+
return false;
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
offset = end;
|
|
1577
|
+
}
|
|
1578
|
+
return true;
|
|
1579
|
+
}
|
|
1580
|
+
function linearRingssAreOriented(flatCoordinates, offset, endss, stride, right) {
|
|
1581
|
+
for (let i = 0, ii = endss.length; i < ii; ++i) {
|
|
1582
|
+
const ends = endss[i];
|
|
1583
|
+
if (!linearRingsAreOriented(flatCoordinates, offset, ends, stride, right)) {
|
|
1584
|
+
return false;
|
|
1585
|
+
}
|
|
1586
|
+
if (ends.length) {
|
|
1587
|
+
offset = ends[ends.length - 1];
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
return true;
|
|
1591
|
+
}
|
|
1592
|
+
function orientLinearRings(flatCoordinates, offset, ends, stride, right) {
|
|
1593
|
+
right = right !== void 0 ? right : false;
|
|
1594
|
+
for (let i = 0, ii = ends.length; i < ii; ++i) {
|
|
1595
|
+
const end = ends[i];
|
|
1596
|
+
const isClockwise = linearRingIsClockwise(
|
|
1597
|
+
flatCoordinates,
|
|
1598
|
+
offset,
|
|
1599
|
+
end,
|
|
1600
|
+
stride
|
|
1601
|
+
);
|
|
1602
|
+
const reverse = i === 0 ? right && isClockwise || !right && !isClockwise : right && !isClockwise || !right && isClockwise;
|
|
1603
|
+
if (reverse) {
|
|
1604
|
+
coordinates(flatCoordinates, offset, end, stride);
|
|
1605
|
+
}
|
|
1606
|
+
offset = end;
|
|
1607
|
+
}
|
|
1608
|
+
return offset;
|
|
1609
|
+
}
|
|
1610
|
+
function orientLinearRingsArray(flatCoordinates, offset, endss, stride, right) {
|
|
1611
|
+
for (let i = 0, ii = endss.length; i < ii; ++i) {
|
|
1612
|
+
offset = orientLinearRings(
|
|
1613
|
+
flatCoordinates,
|
|
1614
|
+
offset,
|
|
1615
|
+
endss[i],
|
|
1616
|
+
stride,
|
|
1617
|
+
right
|
|
1618
|
+
);
|
|
1619
|
+
}
|
|
1620
|
+
return offset;
|
|
1621
|
+
}
|
|
1622
|
+
function inflateEnds(flatCoordinates, ends) {
|
|
1623
|
+
const endss = [];
|
|
1624
|
+
let offset = 0;
|
|
1625
|
+
let prevEndIndex = 0;
|
|
1626
|
+
let startOrientation;
|
|
1627
|
+
for (let i = 0, ii = ends.length; i < ii; ++i) {
|
|
1628
|
+
const end = ends[i];
|
|
1629
|
+
const orientation = linearRingIsClockwise(flatCoordinates, offset, end, 2);
|
|
1630
|
+
if (startOrientation === void 0) {
|
|
1631
|
+
startOrientation = orientation;
|
|
1632
|
+
}
|
|
1633
|
+
if (orientation === startOrientation) {
|
|
1634
|
+
endss.push(ends.slice(prevEndIndex, i + 1));
|
|
1635
|
+
} else {
|
|
1636
|
+
if (endss.length === 0) {
|
|
1637
|
+
continue;
|
|
1638
|
+
}
|
|
1639
|
+
endss[endss.length - 1].push(ends[prevEndIndex]);
|
|
1640
|
+
}
|
|
1641
|
+
prevEndIndex = i + 1;
|
|
1642
|
+
offset = end;
|
|
1643
|
+
}
|
|
1644
|
+
return endss;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
// node_modules/ol/geom/Polygon.js
|
|
1648
|
+
var Polygon = class _Polygon extends SimpleGeometry_default {
|
|
1649
|
+
/**
|
|
1650
|
+
* @param {!Array<Array<import("../coordinate.js").Coordinate>>|!Array<number>} coordinates
|
|
1651
|
+
* Array of linear rings that define the polygon. The first linear ring of the
|
|
1652
|
+
* array defines the outer-boundary or surface of the polygon. Each subsequent
|
|
1653
|
+
* linear ring defines a hole in the surface of the polygon. A linear ring is
|
|
1654
|
+
* an array of vertices' coordinates where the first coordinate and the last are
|
|
1655
|
+
* equivalent. (For internal use, flat coordinates in combination with
|
|
1656
|
+
* `layout` and `ends` are also accepted.)
|
|
1657
|
+
* @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
|
|
1658
|
+
* @param {Array<number>} [ends] Ends (for internal use with flat coordinates).
|
|
1659
|
+
*/
|
|
1660
|
+
constructor(coordinates2, layout, ends) {
|
|
1661
|
+
super();
|
|
1662
|
+
this.ends_ = [];
|
|
1663
|
+
this.flatInteriorPointRevision_ = -1;
|
|
1664
|
+
this.flatInteriorPoint_ = null;
|
|
1665
|
+
this.maxDelta_ = -1;
|
|
1666
|
+
this.maxDeltaRevision_ = -1;
|
|
1667
|
+
this.orientedRevision_ = -1;
|
|
1668
|
+
this.orientedFlatCoordinates_ = null;
|
|
1669
|
+
if (layout !== void 0 && ends) {
|
|
1670
|
+
this.setFlatCoordinates(
|
|
1671
|
+
layout,
|
|
1672
|
+
/** @type {Array<number>} */
|
|
1673
|
+
coordinates2
|
|
1674
|
+
);
|
|
1675
|
+
this.ends_ = ends;
|
|
1676
|
+
} else {
|
|
1677
|
+
this.setCoordinates(
|
|
1678
|
+
/** @type {Array<Array<import("../coordinate.js").Coordinate>>} */
|
|
1679
|
+
coordinates2,
|
|
1680
|
+
layout
|
|
1681
|
+
);
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
/**
|
|
1685
|
+
* Append the passed linear ring to this polygon.
|
|
1686
|
+
* @param {LinearRing} linearRing Linear ring.
|
|
1687
|
+
* @api
|
|
1688
|
+
*/
|
|
1689
|
+
appendLinearRing(linearRing2) {
|
|
1690
|
+
if (!this.flatCoordinates) {
|
|
1691
|
+
this.flatCoordinates = linearRing2.getFlatCoordinates().slice();
|
|
1692
|
+
} else {
|
|
1693
|
+
extend(this.flatCoordinates, linearRing2.getFlatCoordinates());
|
|
1694
|
+
}
|
|
1695
|
+
this.ends_.push(this.flatCoordinates.length);
|
|
1696
|
+
this.changed();
|
|
1697
|
+
}
|
|
1698
|
+
/**
|
|
1699
|
+
* Make a complete copy of the geometry.
|
|
1700
|
+
* @return {!Polygon} Clone.
|
|
1701
|
+
* @api
|
|
1702
|
+
* @override
|
|
1703
|
+
*/
|
|
1704
|
+
clone() {
|
|
1705
|
+
const polygon = new _Polygon(
|
|
1706
|
+
this.flatCoordinates.slice(),
|
|
1707
|
+
this.layout,
|
|
1708
|
+
this.ends_.slice()
|
|
1709
|
+
);
|
|
1710
|
+
polygon.applyProperties(this);
|
|
1711
|
+
return polygon;
|
|
1712
|
+
}
|
|
1713
|
+
/**
|
|
1714
|
+
* @param {number} x X.
|
|
1715
|
+
* @param {number} y Y.
|
|
1716
|
+
* @param {import("../coordinate.js").Coordinate} closestPoint Closest point.
|
|
1717
|
+
* @param {number} minSquaredDistance Minimum squared distance.
|
|
1718
|
+
* @return {number} Minimum squared distance.
|
|
1719
|
+
* @override
|
|
1720
|
+
*/
|
|
1721
|
+
closestPointXY(x, y, closestPoint, minSquaredDistance) {
|
|
1722
|
+
if (minSquaredDistance < closestSquaredDistanceXY(this.getExtent(), x, y)) {
|
|
1723
|
+
return minSquaredDistance;
|
|
1724
|
+
}
|
|
1725
|
+
if (this.maxDeltaRevision_ != this.getRevision()) {
|
|
1726
|
+
this.maxDelta_ = Math.sqrt(
|
|
1727
|
+
arrayMaxSquaredDelta(
|
|
1728
|
+
this.flatCoordinates,
|
|
1729
|
+
0,
|
|
1730
|
+
this.ends_,
|
|
1731
|
+
this.stride,
|
|
1732
|
+
0
|
|
1733
|
+
)
|
|
1734
|
+
);
|
|
1735
|
+
this.maxDeltaRevision_ = this.getRevision();
|
|
1736
|
+
}
|
|
1737
|
+
return assignClosestArrayPoint(
|
|
1738
|
+
this.flatCoordinates,
|
|
1739
|
+
0,
|
|
1740
|
+
this.ends_,
|
|
1741
|
+
this.stride,
|
|
1742
|
+
this.maxDelta_,
|
|
1743
|
+
true,
|
|
1744
|
+
x,
|
|
1745
|
+
y,
|
|
1746
|
+
closestPoint,
|
|
1747
|
+
minSquaredDistance
|
|
1748
|
+
);
|
|
1749
|
+
}
|
|
1750
|
+
/**
|
|
1751
|
+
* @param {number} x X.
|
|
1752
|
+
* @param {number} y Y.
|
|
1753
|
+
* @return {boolean} Contains (x, y).
|
|
1754
|
+
* @override
|
|
1755
|
+
*/
|
|
1756
|
+
containsXY(x, y) {
|
|
1757
|
+
return linearRingsContainsXY(
|
|
1758
|
+
this.getOrientedFlatCoordinates(),
|
|
1759
|
+
0,
|
|
1760
|
+
this.ends_,
|
|
1761
|
+
this.stride,
|
|
1762
|
+
x,
|
|
1763
|
+
y
|
|
1764
|
+
);
|
|
1765
|
+
}
|
|
1766
|
+
/**
|
|
1767
|
+
* Return the area of the polygon on projected plane.
|
|
1768
|
+
* @return {number} Area (on projected plane).
|
|
1769
|
+
* @api
|
|
1770
|
+
*/
|
|
1771
|
+
getArea() {
|
|
1772
|
+
return linearRings(
|
|
1773
|
+
this.getOrientedFlatCoordinates(),
|
|
1774
|
+
0,
|
|
1775
|
+
this.ends_,
|
|
1776
|
+
this.stride
|
|
1777
|
+
);
|
|
1778
|
+
}
|
|
1779
|
+
/**
|
|
1780
|
+
* Get the coordinate array for this geometry. This array has the structure
|
|
1781
|
+
* of a GeoJSON coordinate array for polygons.
|
|
1782
|
+
*
|
|
1783
|
+
* @param {boolean} [right] Orient coordinates according to the right-hand
|
|
1784
|
+
* rule (counter-clockwise for exterior and clockwise for interior rings).
|
|
1785
|
+
* If `false`, coordinates will be oriented according to the left-hand rule
|
|
1786
|
+
* (clockwise for exterior and counter-clockwise for interior rings).
|
|
1787
|
+
* By default, coordinate orientation will depend on how the geometry was
|
|
1788
|
+
* constructed.
|
|
1789
|
+
* @return {Array<Array<import("../coordinate.js").Coordinate>>} Coordinates.
|
|
1790
|
+
* @api
|
|
1791
|
+
* @override
|
|
1792
|
+
*/
|
|
1793
|
+
getCoordinates(right) {
|
|
1794
|
+
let flatCoordinates;
|
|
1795
|
+
if (right !== void 0) {
|
|
1796
|
+
flatCoordinates = this.getOrientedFlatCoordinates().slice();
|
|
1797
|
+
orientLinearRings(flatCoordinates, 0, this.ends_, this.stride, right);
|
|
1798
|
+
} else {
|
|
1799
|
+
flatCoordinates = this.flatCoordinates;
|
|
1800
|
+
}
|
|
1801
|
+
return inflateCoordinatesArray(flatCoordinates, 0, this.ends_, this.stride);
|
|
1802
|
+
}
|
|
1803
|
+
/**
|
|
1804
|
+
* @return {Array<number>} Ends.
|
|
1805
|
+
*/
|
|
1806
|
+
getEnds() {
|
|
1807
|
+
return this.ends_;
|
|
1808
|
+
}
|
|
1809
|
+
/**
|
|
1810
|
+
* @return {Array<number>} Interior point.
|
|
1811
|
+
*/
|
|
1812
|
+
getFlatInteriorPoint() {
|
|
1813
|
+
if (this.flatInteriorPointRevision_ != this.getRevision()) {
|
|
1814
|
+
const flatCenter = getCenter(this.getExtent());
|
|
1815
|
+
this.flatInteriorPoint_ = getInteriorPointOfArray(
|
|
1816
|
+
this.getOrientedFlatCoordinates(),
|
|
1817
|
+
0,
|
|
1818
|
+
this.ends_,
|
|
1819
|
+
this.stride,
|
|
1820
|
+
flatCenter,
|
|
1821
|
+
0
|
|
1822
|
+
);
|
|
1823
|
+
this.flatInteriorPointRevision_ = this.getRevision();
|
|
1824
|
+
}
|
|
1825
|
+
return (
|
|
1826
|
+
/** @type {import("../coordinate.js").Coordinate} */
|
|
1827
|
+
this.flatInteriorPoint_
|
|
1828
|
+
);
|
|
1829
|
+
}
|
|
1830
|
+
/**
|
|
1831
|
+
* Return an interior point of the polygon.
|
|
1832
|
+
* @return {Point} Interior point as XYM coordinate, where M is the
|
|
1833
|
+
* length of the horizontal intersection that the point belongs to.
|
|
1834
|
+
* @api
|
|
1835
|
+
*/
|
|
1836
|
+
getInteriorPoint() {
|
|
1837
|
+
return new Point_default(this.getFlatInteriorPoint(), "XYM");
|
|
1838
|
+
}
|
|
1839
|
+
/**
|
|
1840
|
+
* Return the number of rings of the polygon, this includes the exterior
|
|
1841
|
+
* ring and any interior rings.
|
|
1842
|
+
*
|
|
1843
|
+
* @return {number} Number of rings.
|
|
1844
|
+
* @api
|
|
1845
|
+
*/
|
|
1846
|
+
getLinearRingCount() {
|
|
1847
|
+
return this.ends_.length;
|
|
1848
|
+
}
|
|
1849
|
+
/**
|
|
1850
|
+
* Return the Nth linear ring of the polygon geometry. Return `null` if the
|
|
1851
|
+
* given index is out of range.
|
|
1852
|
+
* The exterior linear ring is available at index `0` and the interior rings
|
|
1853
|
+
* at index `1` and beyond.
|
|
1854
|
+
*
|
|
1855
|
+
* @param {number} index Index.
|
|
1856
|
+
* @return {LinearRing|null} Linear ring.
|
|
1857
|
+
* @api
|
|
1858
|
+
*/
|
|
1859
|
+
getLinearRing(index) {
|
|
1860
|
+
if (index < 0 || this.ends_.length <= index) {
|
|
1861
|
+
return null;
|
|
1862
|
+
}
|
|
1863
|
+
return new LinearRing_default(
|
|
1864
|
+
this.flatCoordinates.slice(
|
|
1865
|
+
index === 0 ? 0 : this.ends_[index - 1],
|
|
1866
|
+
this.ends_[index]
|
|
1867
|
+
),
|
|
1868
|
+
this.layout
|
|
1869
|
+
);
|
|
1870
|
+
}
|
|
1871
|
+
/**
|
|
1872
|
+
* Return the linear rings of the polygon.
|
|
1873
|
+
* @return {Array<LinearRing>} Linear rings.
|
|
1874
|
+
* @api
|
|
1875
|
+
*/
|
|
1876
|
+
getLinearRings() {
|
|
1877
|
+
const layout = this.layout;
|
|
1878
|
+
const flatCoordinates = this.flatCoordinates;
|
|
1879
|
+
const ends = this.ends_;
|
|
1880
|
+
const linearRings2 = [];
|
|
1881
|
+
let offset = 0;
|
|
1882
|
+
for (let i = 0, ii = ends.length; i < ii; ++i) {
|
|
1883
|
+
const end = ends[i];
|
|
1884
|
+
const linearRing2 = new LinearRing_default(
|
|
1885
|
+
flatCoordinates.slice(offset, end),
|
|
1886
|
+
layout
|
|
1887
|
+
);
|
|
1888
|
+
linearRings2.push(linearRing2);
|
|
1889
|
+
offset = end;
|
|
1890
|
+
}
|
|
1891
|
+
return linearRings2;
|
|
1892
|
+
}
|
|
1893
|
+
/**
|
|
1894
|
+
* @return {Array<number>} Oriented flat coordinates.
|
|
1895
|
+
*/
|
|
1896
|
+
getOrientedFlatCoordinates() {
|
|
1897
|
+
if (this.orientedRevision_ != this.getRevision()) {
|
|
1898
|
+
const flatCoordinates = this.flatCoordinates;
|
|
1899
|
+
if (linearRingsAreOriented(flatCoordinates, 0, this.ends_, this.stride)) {
|
|
1900
|
+
this.orientedFlatCoordinates_ = flatCoordinates;
|
|
1901
|
+
} else {
|
|
1902
|
+
this.orientedFlatCoordinates_ = flatCoordinates.slice();
|
|
1903
|
+
this.orientedFlatCoordinates_.length = orientLinearRings(
|
|
1904
|
+
this.orientedFlatCoordinates_,
|
|
1905
|
+
0,
|
|
1906
|
+
this.ends_,
|
|
1907
|
+
this.stride
|
|
1908
|
+
);
|
|
1909
|
+
}
|
|
1910
|
+
this.orientedRevision_ = this.getRevision();
|
|
1911
|
+
}
|
|
1912
|
+
return (
|
|
1913
|
+
/** @type {Array<number>} */
|
|
1914
|
+
this.orientedFlatCoordinates_
|
|
1915
|
+
);
|
|
1916
|
+
}
|
|
1917
|
+
/**
|
|
1918
|
+
* @param {number} squaredTolerance Squared tolerance.
|
|
1919
|
+
* @return {Polygon} Simplified Polygon.
|
|
1920
|
+
* @protected
|
|
1921
|
+
* @override
|
|
1922
|
+
*/
|
|
1923
|
+
getSimplifiedGeometryInternal(squaredTolerance) {
|
|
1924
|
+
const simplifiedFlatCoordinates = [];
|
|
1925
|
+
const simplifiedEnds = [];
|
|
1926
|
+
simplifiedFlatCoordinates.length = quantizeArray(
|
|
1927
|
+
this.flatCoordinates,
|
|
1928
|
+
0,
|
|
1929
|
+
this.ends_,
|
|
1930
|
+
this.stride,
|
|
1931
|
+
Math.sqrt(squaredTolerance),
|
|
1932
|
+
simplifiedFlatCoordinates,
|
|
1933
|
+
0,
|
|
1934
|
+
simplifiedEnds
|
|
1935
|
+
);
|
|
1936
|
+
return new _Polygon(simplifiedFlatCoordinates, "XY", simplifiedEnds);
|
|
1937
|
+
}
|
|
1938
|
+
/**
|
|
1939
|
+
* Get the type of this geometry.
|
|
1940
|
+
* @return {import("./Geometry.js").Type} Geometry type.
|
|
1941
|
+
* @api
|
|
1942
|
+
* @override
|
|
1943
|
+
*/
|
|
1944
|
+
getType() {
|
|
1945
|
+
return "Polygon";
|
|
1946
|
+
}
|
|
1947
|
+
/**
|
|
1948
|
+
* Test if the geometry and the passed extent intersect.
|
|
1949
|
+
* @param {import("../extent.js").Extent} extent Extent.
|
|
1950
|
+
* @return {boolean} `true` if the geometry and the extent intersect.
|
|
1951
|
+
* @api
|
|
1952
|
+
* @override
|
|
1953
|
+
*/
|
|
1954
|
+
intersectsExtent(extent) {
|
|
1955
|
+
return intersectsLinearRingArray(
|
|
1956
|
+
this.getOrientedFlatCoordinates(),
|
|
1957
|
+
0,
|
|
1958
|
+
this.ends_,
|
|
1959
|
+
this.stride,
|
|
1960
|
+
extent
|
|
1961
|
+
);
|
|
1962
|
+
}
|
|
1963
|
+
/**
|
|
1964
|
+
* Set the coordinates of the polygon.
|
|
1965
|
+
* @param {!Array<Array<import("../coordinate.js").Coordinate>>} coordinates Coordinates.
|
|
1966
|
+
* @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
|
|
1967
|
+
* @api
|
|
1968
|
+
* @override
|
|
1969
|
+
*/
|
|
1970
|
+
setCoordinates(coordinates2, layout) {
|
|
1971
|
+
this.setLayout(layout, coordinates2, 2);
|
|
1972
|
+
if (!this.flatCoordinates) {
|
|
1973
|
+
this.flatCoordinates = [];
|
|
1974
|
+
}
|
|
1975
|
+
const ends = deflateCoordinatesArray(
|
|
1976
|
+
this.flatCoordinates,
|
|
1977
|
+
0,
|
|
1978
|
+
coordinates2,
|
|
1979
|
+
this.stride,
|
|
1980
|
+
this.ends_
|
|
1981
|
+
);
|
|
1982
|
+
this.flatCoordinates.length = ends.length === 0 ? 0 : ends[ends.length - 1];
|
|
1983
|
+
this.changed();
|
|
1984
|
+
}
|
|
1985
|
+
};
|
|
1986
|
+
var Polygon_default = Polygon;
|
|
1987
|
+
function fromExtent(extent) {
|
|
1988
|
+
if (isEmpty(extent)) {
|
|
1989
|
+
throw new Error("Cannot create polygon from empty extent");
|
|
1990
|
+
}
|
|
1991
|
+
const minX = extent[0];
|
|
1992
|
+
const minY = extent[1];
|
|
1993
|
+
const maxX = extent[2];
|
|
1994
|
+
const maxY = extent[3];
|
|
1995
|
+
const flatCoordinates = [
|
|
1996
|
+
minX,
|
|
1997
|
+
minY,
|
|
1998
|
+
minX,
|
|
1999
|
+
maxY,
|
|
2000
|
+
maxX,
|
|
2001
|
+
maxY,
|
|
2002
|
+
maxX,
|
|
2003
|
+
minY,
|
|
2004
|
+
minX,
|
|
2005
|
+
minY
|
|
2006
|
+
];
|
|
2007
|
+
return new Polygon(flatCoordinates, "XY", [flatCoordinates.length]);
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
// node_modules/ol/ImageState.js
|
|
2011
|
+
init_dirname();
|
|
2012
|
+
init_buffer();
|
|
2013
|
+
init_process();
|
|
2014
|
+
var ImageState_default = {
|
|
2015
|
+
IDLE: 0,
|
|
2016
|
+
LOADING: 1,
|
|
2017
|
+
LOADED: 2,
|
|
2018
|
+
ERROR: 3,
|
|
2019
|
+
EMPTY: 4
|
|
2020
|
+
};
|
|
2021
|
+
|
|
2022
|
+
// node_modules/ol/Image.js
|
|
2023
|
+
init_dirname();
|
|
2024
|
+
init_buffer();
|
|
2025
|
+
init_process();
|
|
2026
|
+
function listenImage(image, loadHandler, errorHandler) {
|
|
2027
|
+
const img = (
|
|
2028
|
+
/** @type {HTMLImageElement} */
|
|
2029
|
+
image
|
|
2030
|
+
);
|
|
2031
|
+
let listening = true;
|
|
2032
|
+
let decoding = false;
|
|
2033
|
+
let loaded = false;
|
|
2034
|
+
const listenerKeys = [
|
|
2035
|
+
listenOnce(img, EventType_default.LOAD, function() {
|
|
2036
|
+
loaded = true;
|
|
2037
|
+
if (!decoding) {
|
|
2038
|
+
loadHandler();
|
|
2039
|
+
}
|
|
2040
|
+
})
|
|
2041
|
+
];
|
|
2042
|
+
if (img.src && IMAGE_DECODE) {
|
|
2043
|
+
decoding = true;
|
|
2044
|
+
img.decode().then(function() {
|
|
2045
|
+
if (listening) {
|
|
2046
|
+
loadHandler();
|
|
2047
|
+
}
|
|
2048
|
+
}).catch(function(error) {
|
|
2049
|
+
if (listening) {
|
|
2050
|
+
if (loaded) {
|
|
2051
|
+
loadHandler();
|
|
2052
|
+
} else {
|
|
2053
|
+
errorHandler();
|
|
2054
|
+
}
|
|
2055
|
+
}
|
|
2056
|
+
});
|
|
2057
|
+
} else {
|
|
2058
|
+
listenerKeys.push(listenOnce(img, EventType_default.ERROR, errorHandler));
|
|
2059
|
+
}
|
|
2060
|
+
return function unlisten() {
|
|
2061
|
+
listening = false;
|
|
2062
|
+
listenerKeys.forEach(unlistenByKey);
|
|
2063
|
+
};
|
|
2064
|
+
}
|
|
2065
|
+
function load(image, src) {
|
|
2066
|
+
return new Promise((resolve, reject) => {
|
|
2067
|
+
function handleLoad() {
|
|
2068
|
+
unlisten();
|
|
2069
|
+
resolve(image);
|
|
2070
|
+
}
|
|
2071
|
+
function handleError() {
|
|
2072
|
+
unlisten();
|
|
2073
|
+
reject(new Error("Image load error"));
|
|
2074
|
+
}
|
|
2075
|
+
function unlisten() {
|
|
2076
|
+
image.removeEventListener("load", handleLoad);
|
|
2077
|
+
image.removeEventListener("error", handleError);
|
|
2078
|
+
}
|
|
2079
|
+
image.addEventListener("load", handleLoad);
|
|
2080
|
+
image.addEventListener("error", handleError);
|
|
2081
|
+
if (src) {
|
|
2082
|
+
image.src = src;
|
|
2083
|
+
}
|
|
2084
|
+
});
|
|
2085
|
+
}
|
|
2086
|
+
function decodeFallback(image, src) {
|
|
2087
|
+
if (src) {
|
|
2088
|
+
image.src = src;
|
|
2089
|
+
}
|
|
2090
|
+
return image.src && IMAGE_DECODE ? new Promise(
|
|
2091
|
+
(resolve, reject) => image.decode().then(() => resolve(image)).catch(
|
|
2092
|
+
(e) => image.complete && image.width ? resolve(image) : reject(e)
|
|
2093
|
+
)
|
|
2094
|
+
) : load(image);
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
// node_modules/ol/color.js
|
|
2098
|
+
init_dirname();
|
|
2099
|
+
init_buffer();
|
|
2100
|
+
init_process();
|
|
2101
|
+
var NO_COLOR = [NaN, NaN, NaN, 0];
|
|
2102
|
+
var colorParseContext;
|
|
2103
|
+
function getColorParseContext() {
|
|
2104
|
+
if (!colorParseContext) {
|
|
2105
|
+
colorParseContext = createCanvasContext2D(1, 1, void 0, {
|
|
2106
|
+
willReadFrequently: true,
|
|
2107
|
+
desynchronized: true
|
|
2108
|
+
});
|
|
2109
|
+
}
|
|
2110
|
+
return colorParseContext;
|
|
2111
|
+
}
|
|
2112
|
+
var rgbModernRegEx = /^rgba?\(\s*(\d+%?)\s+(\d+%?)\s+(\d+%?)(?:\s*\/\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i;
|
|
2113
|
+
var rgbLegacyAbsoluteRegEx = /^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i;
|
|
2114
|
+
var rgbLegacyPercentageRegEx = /^rgba?\(\s*(\d+%)\s*,\s*(\d+%)\s*,\s*(\d+%)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i;
|
|
2115
|
+
var hexRegEx = /^#([\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i;
|
|
2116
|
+
function toColorComponent(s, divider) {
|
|
2117
|
+
return s.endsWith("%") ? Number(s.substring(0, s.length - 1)) / divider : Number(s);
|
|
2118
|
+
}
|
|
2119
|
+
function throwInvalidColor(color) {
|
|
2120
|
+
throw new Error('failed to parse "' + color + '" as color');
|
|
2121
|
+
}
|
|
2122
|
+
function parseRgba(color) {
|
|
2123
|
+
if (color.toLowerCase().startsWith("rgb")) {
|
|
2124
|
+
const rgb = color.match(rgbLegacyAbsoluteRegEx) || color.match(rgbModernRegEx) || color.match(rgbLegacyPercentageRegEx);
|
|
2125
|
+
if (rgb) {
|
|
2126
|
+
const alpha = rgb[4];
|
|
2127
|
+
const rgbDivider = 100 / 255;
|
|
2128
|
+
return [
|
|
2129
|
+
clamp(toColorComponent(rgb[1], rgbDivider) + 0.5 | 0, 0, 255),
|
|
2130
|
+
clamp(toColorComponent(rgb[2], rgbDivider) + 0.5 | 0, 0, 255),
|
|
2131
|
+
clamp(toColorComponent(rgb[3], rgbDivider) + 0.5 | 0, 0, 255),
|
|
2132
|
+
alpha !== void 0 ? clamp(toColorComponent(alpha, 100), 0, 1) : 1
|
|
2133
|
+
];
|
|
2134
|
+
}
|
|
2135
|
+
throwInvalidColor(color);
|
|
2136
|
+
}
|
|
2137
|
+
if (color.startsWith("#")) {
|
|
2138
|
+
if (hexRegEx.test(color)) {
|
|
2139
|
+
const hex = color.substring(1);
|
|
2140
|
+
const step = hex.length <= 4 ? 1 : 2;
|
|
2141
|
+
const colorFromHex = [0, 0, 0, 255];
|
|
2142
|
+
for (let i = 0, ii = hex.length; i < ii; i += step) {
|
|
2143
|
+
let colorComponent = parseInt(hex.substring(i, i + step), 16);
|
|
2144
|
+
if (step === 1) {
|
|
2145
|
+
colorComponent += colorComponent << 4;
|
|
2146
|
+
}
|
|
2147
|
+
colorFromHex[i / step] = colorComponent;
|
|
2148
|
+
}
|
|
2149
|
+
colorFromHex[3] = colorFromHex[3] / 255;
|
|
2150
|
+
return colorFromHex;
|
|
2151
|
+
}
|
|
2152
|
+
throwInvalidColor(color);
|
|
2153
|
+
}
|
|
2154
|
+
const context = getColorParseContext();
|
|
2155
|
+
context.fillStyle = "#abcdef";
|
|
2156
|
+
let invalidCheckFillStyle = context.fillStyle;
|
|
2157
|
+
context.fillStyle = color;
|
|
2158
|
+
if (context.fillStyle === invalidCheckFillStyle) {
|
|
2159
|
+
context.fillStyle = "#fedcba";
|
|
2160
|
+
invalidCheckFillStyle = context.fillStyle;
|
|
2161
|
+
context.fillStyle = color;
|
|
2162
|
+
if (context.fillStyle === invalidCheckFillStyle) {
|
|
2163
|
+
throwInvalidColor(color);
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
const colorString = context.fillStyle;
|
|
2167
|
+
if (colorString.startsWith("#") || colorString.startsWith("rgba")) {
|
|
2168
|
+
return parseRgba(colorString);
|
|
2169
|
+
}
|
|
2170
|
+
context.clearRect(0, 0, 1, 1);
|
|
2171
|
+
context.fillRect(0, 0, 1, 1);
|
|
2172
|
+
const colorFromImage = Array.from(context.getImageData(0, 0, 1, 1).data);
|
|
2173
|
+
colorFromImage[3] = toFixed(colorFromImage[3] / 255, 3);
|
|
2174
|
+
return colorFromImage;
|
|
2175
|
+
}
|
|
2176
|
+
function asString(color) {
|
|
2177
|
+
if (typeof color === "string") {
|
|
2178
|
+
return color;
|
|
2179
|
+
}
|
|
2180
|
+
return toString(color);
|
|
2181
|
+
}
|
|
2182
|
+
var MAX_CACHE_SIZE = 1024;
|
|
2183
|
+
var cache = {};
|
|
2184
|
+
var cacheSize = 0;
|
|
2185
|
+
function withAlpha(color) {
|
|
2186
|
+
if (color.length === 4) {
|
|
2187
|
+
return color;
|
|
2188
|
+
}
|
|
2189
|
+
const output = color.slice();
|
|
2190
|
+
output[3] = 1;
|
|
2191
|
+
return output;
|
|
2192
|
+
}
|
|
2193
|
+
function b1(v) {
|
|
2194
|
+
return v > 31308e-7 ? Math.pow(v, 1 / 2.4) * 269.025 - 14.025 : v * 3294.6;
|
|
2195
|
+
}
|
|
2196
|
+
function b2(v) {
|
|
2197
|
+
return v > 0.2068965 ? Math.pow(v, 3) : (v - 4 / 29) * (108 / 841);
|
|
2198
|
+
}
|
|
2199
|
+
function a1(v) {
|
|
2200
|
+
return v > 10.314724 ? Math.pow((v + 14.025) / 269.025, 2.4) : v / 3294.6;
|
|
2201
|
+
}
|
|
2202
|
+
function a2(v) {
|
|
2203
|
+
return v > 88564e-7 ? Math.pow(v, 1 / 3) : v / (108 / 841) + 4 / 29;
|
|
2204
|
+
}
|
|
2205
|
+
function rgbaToLcha(color) {
|
|
2206
|
+
const r = a1(color[0]);
|
|
2207
|
+
const g = a1(color[1]);
|
|
2208
|
+
const b = a1(color[2]);
|
|
2209
|
+
const y = a2(r * 0.222488403 + g * 0.716873169 + b * 0.06060791);
|
|
2210
|
+
const l = 500 * (a2(r * 0.452247074 + g * 0.399439023 + b * 0.148375274) - y);
|
|
2211
|
+
const q = 200 * (y - a2(r * 0.016863605 + g * 0.117638439 + b * 0.865350722));
|
|
2212
|
+
const h = Math.atan2(q, l) * (180 / Math.PI);
|
|
2213
|
+
return [
|
|
2214
|
+
116 * y - 16,
|
|
2215
|
+
Math.sqrt(l * l + q * q),
|
|
2216
|
+
h < 0 ? h + 360 : h,
|
|
2217
|
+
color[3]
|
|
2218
|
+
];
|
|
2219
|
+
}
|
|
2220
|
+
function lchaToRgba(color) {
|
|
2221
|
+
const l = (color[0] + 16) / 116;
|
|
2222
|
+
const c = color[1];
|
|
2223
|
+
const h = color[2] * Math.PI / 180;
|
|
2224
|
+
const y = b2(l);
|
|
2225
|
+
const x = b2(l + c / 500 * Math.cos(h));
|
|
2226
|
+
const z = b2(l - c / 200 * Math.sin(h));
|
|
2227
|
+
const r = b1(x * 3.021973625 - y * 1.617392459 - z * 0.404875592);
|
|
2228
|
+
const g = b1(x * -0.943766287 + y * 1.916279586 + z * 0.027607165);
|
|
2229
|
+
const b = b1(x * 0.069407491 - y * 0.22898585 + z * 1.159737864);
|
|
2230
|
+
return [
|
|
2231
|
+
clamp(r + 0.5 | 0, 0, 255),
|
|
2232
|
+
clamp(g + 0.5 | 0, 0, 255),
|
|
2233
|
+
clamp(b + 0.5 | 0, 0, 255),
|
|
2234
|
+
color[3]
|
|
2235
|
+
];
|
|
2236
|
+
}
|
|
2237
|
+
function fromString(s) {
|
|
2238
|
+
if (s === "none") {
|
|
2239
|
+
return NO_COLOR;
|
|
2240
|
+
}
|
|
2241
|
+
if (cache.hasOwnProperty(s)) {
|
|
2242
|
+
return cache[s];
|
|
2243
|
+
}
|
|
2244
|
+
if (cacheSize >= MAX_CACHE_SIZE) {
|
|
2245
|
+
let i = 0;
|
|
2246
|
+
for (const key in cache) {
|
|
2247
|
+
if ((i++ & 3) === 0) {
|
|
2248
|
+
delete cache[key];
|
|
2249
|
+
--cacheSize;
|
|
2250
|
+
}
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
const color = parseRgba(s);
|
|
2254
|
+
if (color.length !== 4) {
|
|
2255
|
+
throwInvalidColor(s);
|
|
2256
|
+
}
|
|
2257
|
+
for (const c of color) {
|
|
2258
|
+
if (isNaN(c)) {
|
|
2259
|
+
throwInvalidColor(s);
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
cache[s] = color;
|
|
2263
|
+
++cacheSize;
|
|
2264
|
+
return color;
|
|
2265
|
+
}
|
|
2266
|
+
function asArray(color) {
|
|
2267
|
+
if (Array.isArray(color)) {
|
|
2268
|
+
return color;
|
|
2269
|
+
}
|
|
2270
|
+
return fromString(color);
|
|
2271
|
+
}
|
|
2272
|
+
function toString(color) {
|
|
2273
|
+
let r = color[0];
|
|
2274
|
+
if (r != (r | 0)) {
|
|
2275
|
+
r = r + 0.5 | 0;
|
|
2276
|
+
}
|
|
2277
|
+
let g = color[1];
|
|
2278
|
+
if (g != (g | 0)) {
|
|
2279
|
+
g = g + 0.5 | 0;
|
|
2280
|
+
}
|
|
2281
|
+
let b = color[2];
|
|
2282
|
+
if (b != (b | 0)) {
|
|
2283
|
+
b = b + 0.5 | 0;
|
|
2284
|
+
}
|
|
2285
|
+
const a = color[3] === void 0 ? 1 : Math.round(color[3] * 1e3) / 1e3;
|
|
2286
|
+
return "rgba(" + r + "," + g + "," + b + "," + a + ")";
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
export {
|
|
2290
|
+
ImageState_default,
|
|
2291
|
+
listenImage,
|
|
2292
|
+
decodeFallback,
|
|
2293
|
+
NO_COLOR,
|
|
2294
|
+
asString,
|
|
2295
|
+
withAlpha,
|
|
2296
|
+
rgbaToLcha,
|
|
2297
|
+
lchaToRgba,
|
|
2298
|
+
fromString,
|
|
2299
|
+
asArray,
|
|
2300
|
+
toString,
|
|
2301
|
+
transform2D,
|
|
2302
|
+
rotate,
|
|
2303
|
+
Geometry_default,
|
|
2304
|
+
getLayoutForStride,
|
|
2305
|
+
getStrideForLayout,
|
|
2306
|
+
transformGeom2D,
|
|
2307
|
+
SimpleGeometry_default,
|
|
2308
|
+
linearRingss,
|
|
2309
|
+
maxSquaredDelta,
|
|
2310
|
+
arrayMaxSquaredDelta,
|
|
2311
|
+
multiArrayMaxSquaredDelta,
|
|
2312
|
+
assignClosestPoint,
|
|
2313
|
+
assignClosestArrayPoint,
|
|
2314
|
+
assignClosestMultiArrayPoint,
|
|
2315
|
+
deflateCoordinate,
|
|
2316
|
+
deflateCoordinates,
|
|
2317
|
+
deflateCoordinatesArray,
|
|
2318
|
+
deflateMultiCoordinatesArray,
|
|
2319
|
+
inflateCoordinates,
|
|
2320
|
+
inflateCoordinatesArray,
|
|
2321
|
+
inflateMultiCoordinatesArray,
|
|
2322
|
+
douglasPeucker,
|
|
2323
|
+
douglasPeuckerArray,
|
|
2324
|
+
snap,
|
|
2325
|
+
quantizeArray,
|
|
2326
|
+
quantizeMultiArray,
|
|
2327
|
+
Point_default,
|
|
2328
|
+
getInteriorPointOfArray,
|
|
2329
|
+
getInteriorPointsOfMultiArray,
|
|
2330
|
+
linearRingsAreOriented,
|
|
2331
|
+
linearRingssAreOriented,
|
|
2332
|
+
orientLinearRings,
|
|
2333
|
+
orientLinearRingsArray,
|
|
2334
|
+
inflateEnds,
|
|
2335
|
+
Polygon_default,
|
|
2336
|
+
fromExtent
|
|
2337
|
+
};
|