@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.
Files changed (1457) hide show
  1. package/cdn/apis/harmony.api.d.ts +5 -0
  2. package/cdn/chunks/GeoTIFF.CENKOG7R.js +19979 -0
  3. package/cdn/chunks/chunk.2232XEJQ.js +29 -0
  4. package/cdn/chunks/chunk.2B2TSVNY.js +978 -0
  5. package/cdn/chunks/chunk.2NNYMNZ5.js +29 -0
  6. package/cdn/chunks/chunk.2NX4H2BN.js +19 -0
  7. package/cdn/chunks/chunk.2WBW37NH.js +19 -0
  8. package/cdn/chunks/chunk.2X7DAD43.js +29 -0
  9. package/cdn/chunks/chunk.2XT2DXDS.js +528 -0
  10. package/cdn/chunks/chunk.34A6RU6E.js +29 -0
  11. package/cdn/chunks/chunk.3A3Y63MA.js +19 -0
  12. package/cdn/chunks/chunk.3JB5ESJU.js +8969 -0
  13. package/cdn/chunks/chunk.3TH37PLU.js +1121 -0
  14. package/cdn/chunks/chunk.3XHPRPKJ.js +1009 -0
  15. package/cdn/chunks/chunk.4FAAL7CU.js +897 -0
  16. package/cdn/chunks/chunk.4JTU674G.js +48 -0
  17. package/cdn/chunks/chunk.4KBZ7BIR.js +29 -0
  18. package/cdn/chunks/chunk.4PDH3KAH.js +1945 -0
  19. package/cdn/chunks/chunk.4RS5WH4G.js +19 -0
  20. package/cdn/chunks/chunk.4W7HENDQ.js +19 -0
  21. package/cdn/chunks/chunk.5256OMFI.js +62 -0
  22. package/cdn/chunks/chunk.577EXZQP.js +19 -0
  23. package/cdn/chunks/chunk.5DIIZV4K.js +791 -0
  24. package/cdn/chunks/chunk.5DIVPJOJ.js +1653 -0
  25. package/cdn/chunks/chunk.5F22YVKZ.js +19 -0
  26. package/cdn/chunks/chunk.5GC6XXMO.js +19 -0
  27. package/cdn/chunks/chunk.5GD3GQER.js +33 -0
  28. package/cdn/chunks/chunk.5JGHWKZV.js +38 -0
  29. package/cdn/chunks/chunk.5MCRMJ7W.js +110 -0
  30. package/cdn/chunks/chunk.5MFAIDYF.js +19 -0
  31. package/cdn/chunks/chunk.5QQP4HY5.js +29 -0
  32. package/cdn/chunks/chunk.5SGSESUV.js +39 -0
  33. package/cdn/chunks/chunk.5T32ADMR.js +32 -0
  34. package/cdn/chunks/chunk.5TUINKG3.js +19 -0
  35. package/cdn/chunks/chunk.5Z5FTYHQ.js +29 -0
  36. package/cdn/chunks/chunk.64ZLB3XD.js +37 -0
  37. package/cdn/chunks/chunk.67MZVSO7.js +234 -0
  38. package/cdn/chunks/chunk.6KW23GBD.js +3035 -0
  39. package/cdn/chunks/chunk.6NU4LT46.js +189 -0
  40. package/cdn/chunks/chunk.6ONOP4ID.js +29 -0
  41. package/cdn/chunks/chunk.6RBN3R3S.js +19 -0
  42. package/cdn/chunks/chunk.6RVC4QTE.js +19 -0
  43. package/cdn/chunks/chunk.6VGVAUYK.js +256 -0
  44. package/cdn/chunks/chunk.6XBVIYCV.js +32 -0
  45. package/cdn/chunks/chunk.76VAMCFM.js +824 -0
  46. package/cdn/chunks/chunk.7FTE5V2B.js +19 -0
  47. package/cdn/chunks/chunk.7OFUJKBW.js +30 -0
  48. package/cdn/chunks/chunk.7RUFZ7VF.js +475 -0
  49. package/cdn/chunks/chunk.A4KWAYQH.js +4980 -0
  50. package/cdn/chunks/chunk.A63JCTKT.js +19 -0
  51. package/cdn/chunks/chunk.AQ5OKPLZ.js +19 -0
  52. package/cdn/chunks/chunk.AQ5T22QG.js +41 -0
  53. package/cdn/chunks/chunk.ASGNUKTS.js +1131 -0
  54. package/cdn/chunks/chunk.AUWT3HKD.js +940 -0
  55. package/cdn/chunks/chunk.BD5JLOM4.js +357 -0
  56. package/cdn/chunks/chunk.BL2T5FVE.js +10 -0
  57. package/cdn/chunks/chunk.BNIVIVSF.js +2544 -0
  58. package/cdn/chunks/chunk.BPTXUG3W.js +35 -0
  59. package/cdn/chunks/chunk.BQPBQZFS.js +360 -0
  60. package/cdn/chunks/chunk.BYBKLA6W.js +255 -0
  61. package/cdn/chunks/chunk.CHNYNA6A.js +19 -0
  62. package/cdn/chunks/chunk.CISSBK6B.js +1820 -0
  63. package/cdn/chunks/chunk.CN3HAOBC.js +83 -0
  64. package/cdn/chunks/chunk.CO3P3PQN.js +19 -0
  65. package/cdn/chunks/chunk.CSF2PMFW.js +1075 -0
  66. package/cdn/chunks/chunk.CT6JWWV2.js +93 -0
  67. package/cdn/chunks/chunk.CY2NA7DX.js +1040 -0
  68. package/cdn/chunks/chunk.D2OCF56Z.js +74 -0
  69. package/cdn/chunks/chunk.D3WDJ4SS.js +149 -0
  70. package/cdn/chunks/chunk.D52LQ4J3.js +19 -0
  71. package/cdn/chunks/chunk.D5OYZFRL.js +134 -0
  72. package/cdn/chunks/chunk.D6W64PXN.js +19 -0
  73. package/cdn/chunks/chunk.D7YRDTVS.js +134 -0
  74. package/cdn/chunks/chunk.DLBLZUXI.js +19 -0
  75. package/cdn/chunks/chunk.DMAOIRXE.js +19 -0
  76. package/cdn/chunks/chunk.E2RZP3XA.js +19 -0
  77. package/cdn/chunks/chunk.E6423VVS.js +47 -0
  78. package/cdn/chunks/chunk.EAUBUUN5.js +32 -0
  79. package/cdn/chunks/chunk.EBGQWXBG.js +19 -0
  80. package/cdn/chunks/chunk.EDPOC2S3.js +29 -0
  81. package/cdn/chunks/chunk.EH63H56Z.js +333 -0
  82. package/cdn/chunks/chunk.EIAV6I5D.js +600 -0
  83. package/cdn/chunks/chunk.EOTDTPZM.js +259 -0
  84. package/cdn/chunks/chunk.EP6PSBZE.js +100 -0
  85. package/cdn/chunks/chunk.EVAUERXR.js +431 -0
  86. package/cdn/chunks/chunk.F2DLSNNG.js +625 -0
  87. package/cdn/chunks/chunk.F6FVKFVH.js +60 -0
  88. package/cdn/chunks/chunk.FEIRWXAI.js +34 -0
  89. package/cdn/chunks/chunk.FK5JYFNX.js +29 -0
  90. package/cdn/chunks/chunk.FP2ISOJN.js +106 -0
  91. package/cdn/chunks/chunk.FRGR3SUX.js +19 -0
  92. package/cdn/chunks/chunk.G2FP3NMR.js +32 -0
  93. package/cdn/chunks/chunk.G4RHOTZM.js +19 -0
  94. package/cdn/chunks/chunk.G56LMKFK.js +190 -0
  95. package/cdn/chunks/chunk.GAYO2WF7.js +810 -0
  96. package/cdn/chunks/chunk.GGKAPJYB.js +4089 -0
  97. package/cdn/chunks/chunk.GGRHSJRY.js +278 -0
  98. package/cdn/chunks/chunk.GMXOAOYE.js +897 -0
  99. package/cdn/chunks/chunk.GPTTHV22.js +19 -0
  100. package/cdn/chunks/chunk.GSM3UO7L.js +125 -0
  101. package/cdn/chunks/chunk.GUDMVVPM.js +29 -0
  102. package/cdn/chunks/chunk.GWGONIHM.js +621 -0
  103. package/cdn/chunks/chunk.GXLMJLQN.js +19 -0
  104. package/cdn/chunks/chunk.H3M3UFJW.js +225 -0
  105. package/cdn/chunks/chunk.H4CIEYCI.js +274 -0
  106. package/cdn/chunks/chunk.HAMWPWKH.js +536 -0
  107. package/cdn/chunks/chunk.HJX5NP2U.js +49 -0
  108. package/cdn/chunks/chunk.HUS54CD5.js +152 -0
  109. package/cdn/chunks/chunk.HV7OZEJM.js +37 -0
  110. package/cdn/chunks/chunk.HVZFV4RK.js +271 -0
  111. package/cdn/chunks/chunk.I2EO4UEA.js +128 -0
  112. package/cdn/chunks/chunk.I2S4BY2H.js +19 -0
  113. package/cdn/chunks/chunk.IBOPN3BA.js +74 -0
  114. package/cdn/chunks/chunk.IIVOE5EV.js +34 -0
  115. package/cdn/chunks/chunk.ILWTJYAG.js +19 -0
  116. package/cdn/chunks/chunk.IMCWFOML.js +132 -0
  117. package/cdn/chunks/chunk.IPQAZBW5.js +33 -0
  118. package/cdn/chunks/chunk.IWKAVEX2.js +521 -0
  119. package/cdn/chunks/chunk.IXCWTH7X.js +19 -0
  120. package/cdn/chunks/chunk.J2O5J6LC.js +33 -0
  121. package/cdn/chunks/chunk.J665CST2.js +32 -0
  122. package/cdn/chunks/chunk.J7VOBHYB.js +29 -0
  123. package/cdn/chunks/chunk.JRHREVZG.js +195 -0
  124. package/cdn/chunks/chunk.JRT7GG7P.js +193 -0
  125. package/cdn/chunks/chunk.JZBAAUKG.js +37 -0
  126. package/cdn/chunks/chunk.K6JQEUEF.js +855 -0
  127. package/cdn/chunks/chunk.KBU6MR53.js +19 -0
  128. package/cdn/chunks/chunk.KH6TDNWG.js +32 -0
  129. package/cdn/chunks/chunk.KKACL6TT.js +19 -0
  130. package/cdn/chunks/chunk.KORCC6ZC.js +136 -0
  131. package/cdn/chunks/chunk.KOZYPVDG.js +29 -0
  132. package/cdn/chunks/chunk.KRVDOVGU.js +27 -0
  133. package/cdn/chunks/chunk.KVNYSD7J.js +35 -0
  134. package/cdn/chunks/chunk.KVY6HP36.js +504 -0
  135. package/cdn/chunks/chunk.KYTQLAV4.js +33 -0
  136. package/cdn/chunks/chunk.L2JTE4GG.js +29 -0
  137. package/cdn/chunks/chunk.L3IVPHBN.js +29 -0
  138. package/cdn/chunks/chunk.L3RRPSVD.js +310 -0
  139. package/cdn/chunks/chunk.LA6TV4TX.js +231 -0
  140. package/cdn/chunks/chunk.LFASDJBV.js +19 -0
  141. package/cdn/chunks/chunk.LFKTPFJU.js +19 -0
  142. package/cdn/chunks/chunk.LFL3PUXL.js +78 -0
  143. package/cdn/chunks/chunk.LI42WZVM.js +19 -0
  144. package/cdn/chunks/chunk.LNONJFUN.js +19 -0
  145. package/cdn/chunks/chunk.LUKHK72N.js +1038 -0
  146. package/cdn/chunks/chunk.M3QGLBMX.js +256 -0
  147. package/cdn/chunks/chunk.M57M7AQ5.js +19 -0
  148. package/cdn/chunks/chunk.MC7GK7JH.js +36 -0
  149. package/cdn/chunks/chunk.MC7JQJRG.js +32 -0
  150. package/cdn/chunks/chunk.ML5BEAMW.js +276 -0
  151. package/cdn/chunks/chunk.MMF6FZHE.js +19 -0
  152. package/cdn/chunks/chunk.MO4YNF4J.js +29 -0
  153. package/cdn/chunks/chunk.MUSKX3GU.js +138 -0
  154. package/cdn/chunks/chunk.N7GDICRN.js +568 -0
  155. package/cdn/chunks/chunk.NDYEK3K4.js +19 -0
  156. package/cdn/chunks/chunk.NHZJYK2Q.js +111 -0
  157. package/cdn/chunks/chunk.NRLNKN7I.js +17 -0
  158. package/cdn/chunks/chunk.NSKILA2A.js +29 -0
  159. package/cdn/chunks/chunk.NWO2MF5T.js +375 -0
  160. package/cdn/chunks/chunk.NX7VOYQH.js +610 -0
  161. package/cdn/chunks/chunk.NZA757GX.js +60 -0
  162. package/cdn/chunks/chunk.O2NOKPSY.js +169 -0
  163. package/cdn/chunks/chunk.OIOVBL5M.js +32 -0
  164. package/cdn/chunks/chunk.OSNWOWQ2.js +2337 -0
  165. package/cdn/chunks/chunk.OSRGCUJJ.js +891 -0
  166. package/cdn/chunks/chunk.OVC7EVR4.js +32 -0
  167. package/cdn/chunks/chunk.PEGHDN3D.js +32 -0
  168. package/cdn/chunks/chunk.PKU5OUHL.js +19 -0
  169. package/cdn/chunks/chunk.PVAQWFRB.js +224 -0
  170. package/cdn/chunks/chunk.PVNZZZCV.js +1307 -0
  171. package/cdn/chunks/chunk.QBDCDA3E.js +754 -0
  172. package/cdn/chunks/chunk.QDRW3JBM.js +113 -0
  173. package/cdn/chunks/chunk.QFRFT4W5.js +19 -0
  174. package/cdn/chunks/chunk.QJPYGHSA.js +29 -0
  175. package/cdn/chunks/chunk.QN4G5N5L.js +591 -0
  176. package/cdn/chunks/chunk.QQYFIC2N.js +19 -0
  177. package/cdn/chunks/chunk.QR6SCWOR.js +19 -0
  178. package/cdn/chunks/chunk.QRGGKLJQ.js +29 -0
  179. package/cdn/chunks/chunk.QSX2ASPV.js +36 -0
  180. package/cdn/chunks/chunk.QV7MGHUO.js +32 -0
  181. package/cdn/chunks/chunk.QYLVSRAZ.js +442 -0
  182. package/cdn/chunks/chunk.R6TDRJ2T.js +28 -0
  183. package/cdn/chunks/chunk.RRQO6C7V.js +208 -0
  184. package/cdn/chunks/chunk.RRT5M4B3.js +104 -0
  185. package/cdn/chunks/chunk.RZNXY5DA.js +85 -0
  186. package/cdn/chunks/chunk.S2MHJ2BL.js +529 -0
  187. package/cdn/chunks/chunk.S2P2KBX3.js +19 -0
  188. package/cdn/chunks/chunk.S5UFNVHZ.js +1768 -0
  189. package/cdn/chunks/chunk.SAMOMNBR.js +32 -0
  190. package/cdn/chunks/chunk.SPWHG3FQ.js +36 -0
  191. package/cdn/chunks/chunk.SRIL2GZR.js +19 -0
  192. package/cdn/chunks/chunk.T32DCJPK.js +33 -0
  193. package/cdn/chunks/chunk.T3YLYNOF.js +2977 -0
  194. package/cdn/chunks/chunk.T7754SP4.js +33 -0
  195. package/cdn/chunks/chunk.T7KRTL2U.js +19 -0
  196. package/cdn/chunks/chunk.TAY4BUTR.js +92 -0
  197. package/cdn/chunks/chunk.TBU3QGJR.js +29 -0
  198. package/cdn/chunks/chunk.TEEU5HFN.js +284 -0
  199. package/cdn/chunks/chunk.TFRA4ITH.js +32 -0
  200. package/cdn/chunks/chunk.TFRHDABM.js +19 -0
  201. package/cdn/chunks/chunk.THX4K42R.js +19 -0
  202. package/cdn/chunks/chunk.TKLGXW34.js +19 -0
  203. package/cdn/chunks/chunk.TMAJCFSJ.js +19 -0
  204. package/cdn/chunks/chunk.TMPSEY4M.js +876 -0
  205. package/cdn/chunks/chunk.TULXWHMT.js +19 -0
  206. package/cdn/chunks/chunk.U42UGPIF.js +34 -0
  207. package/cdn/chunks/chunk.U7RFQUL4.js +117 -0
  208. package/cdn/chunks/chunk.UHSY6WVZ.js +19 -0
  209. package/cdn/chunks/chunk.UI7YLIQD.js +19 -0
  210. package/cdn/chunks/chunk.UK5FWG26.js +621 -0
  211. package/cdn/chunks/chunk.UMPFH3IG.js +32 -0
  212. package/cdn/chunks/chunk.UW4VQ2ZT.js +29 -0
  213. package/cdn/chunks/chunk.UWQGPSGJ.js +123 -0
  214. package/cdn/chunks/chunk.UYISI6DV.js +161 -0
  215. package/cdn/chunks/chunk.VBP6ZZXJ.js +104 -0
  216. package/cdn/chunks/chunk.VNSMUAG2.js +19 -0
  217. package/cdn/chunks/chunk.VQFDZZR5.js +64743 -0
  218. package/cdn/chunks/chunk.VTJ45MEV.js +68 -0
  219. package/cdn/chunks/chunk.VXTFCFJP.js +29 -0
  220. package/cdn/chunks/chunk.VYRHCJMA.js +19 -0
  221. package/cdn/chunks/chunk.W5BKCYRV.js +19 -0
  222. package/cdn/chunks/chunk.W7NVJUQD.js +42 -0
  223. package/cdn/chunks/chunk.WAIMZWDO.js +32 -0
  224. package/cdn/chunks/chunk.WCOQW5IP.js +29 -0
  225. package/cdn/chunks/chunk.WENZIKZU.js +37 -0
  226. package/cdn/chunks/chunk.WLIBRD3E.js +36 -0
  227. package/cdn/chunks/chunk.WMGJ3MAP.js +415 -0
  228. package/cdn/chunks/chunk.WT45RB6M.js +86 -0
  229. package/cdn/chunks/chunk.WVIQ74WP.js +29 -0
  230. package/cdn/chunks/chunk.WVKE7GDV.js +82 -0
  231. package/cdn/chunks/chunk.X6V5UTEC.js +19 -0
  232. package/cdn/chunks/chunk.XE7NSCVW.js +35 -0
  233. package/cdn/chunks/chunk.XEPXVSXX.js +19 -0
  234. package/cdn/chunks/chunk.XFTU6F75.js +19 -0
  235. package/cdn/chunks/chunk.XGGJLW76.js +19 -0
  236. package/cdn/chunks/chunk.XIPDYSFN.js +32 -0
  237. package/cdn/chunks/chunk.XIY5GTZR.js +19 -0
  238. package/cdn/chunks/chunk.XLUZ67JF.js +11763 -0
  239. package/cdn/chunks/chunk.Y7SR4L5C.js +19 -0
  240. package/cdn/chunks/chunk.YJ7H7EYL.js +71 -0
  241. package/cdn/chunks/chunk.YKDCWNZE.js +17319 -0
  242. package/cdn/chunks/chunk.YMH7U2K5.js +29 -0
  243. package/cdn/chunks/chunk.YU5KVALN.js +29 -0
  244. package/cdn/chunks/chunk.Z6ZRFFCE.js +35 -0
  245. package/cdn/chunks/chunk.ZG6QTQKO.js +162 -0
  246. package/cdn/chunks/chunk.ZL4AGGZE.js +35 -0
  247. package/cdn/chunks/chunk.ZL6COYU6.js +19 -0
  248. package/cdn/chunks/chunk.ZNSSJSKK.js +158 -0
  249. package/cdn/chunks/lerc.IIII5MJ5.js +2099 -0
  250. package/cdn/components/accordion/accordion.component.js +5 -5
  251. package/cdn/components/accordion/accordion.js +6 -6
  252. package/cdn/components/alert/alert.component.js +4 -4
  253. package/cdn/components/alert/alert.js +5 -5
  254. package/cdn/components/avatar/avatar.component.js +5 -5
  255. package/cdn/components/avatar/avatar.js +6 -6
  256. package/cdn/components/badge/badge.component.js +3 -3
  257. package/cdn/components/badge/badge.js +4 -4
  258. package/cdn/components/banner/banner.component.js +3 -3
  259. package/cdn/components/banner/banner.js +4 -4
  260. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  261. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  262. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  263. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  264. package/cdn/components/browse-variables/browse-variables.component.d.ts +1 -1
  265. package/cdn/components/browse-variables/browse-variables.component.js +21 -21
  266. package/cdn/components/browse-variables/browse-variables.controller.js +2 -2
  267. package/cdn/components/browse-variables/browse-variables.js +22 -22
  268. package/cdn/components/button/button.component.js +6 -6
  269. package/cdn/components/button/button.js +7 -7
  270. package/cdn/components/button-group/button-group.component.js +2 -2
  271. package/cdn/components/button-group/button-group.js +3 -3
  272. package/cdn/components/caption/caption.component.js +2 -2
  273. package/cdn/components/caption/caption.js +3 -3
  274. package/cdn/components/card/card.component.js +2 -2
  275. package/cdn/components/card/card.js +3 -3
  276. package/cdn/components/checkbox/checkbox.component.js +5 -5
  277. package/cdn/components/checkbox/checkbox.js +6 -6
  278. package/cdn/components/chip/chip.component.js +2 -2
  279. package/cdn/components/chip/chip.js +3 -3
  280. package/cdn/components/combobox/combobox.component.js +5 -5
  281. package/cdn/components/combobox/combobox.js +6 -6
  282. package/cdn/components/data-access/data-access.component.d.ts +11 -11
  283. package/cdn/components/data-access/data-access.component.js +69 -56
  284. package/cdn/components/data-access/data-access.js +70 -57
  285. package/cdn/components/data-grid/data-grid.component.js +3 -3
  286. package/cdn/components/data-grid/data-grid.js +4 -4
  287. package/cdn/components/data-rods/data-rods.component.d.ts +7 -11
  288. package/cdn/components/data-rods/data-rods.component.js +79 -67
  289. package/cdn/components/data-rods/data-rods.js +80 -68
  290. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +8 -5
  291. package/cdn/components/data-subsetter/data-subsetter.component.js +83 -72
  292. package/cdn/components/data-subsetter/data-subsetter.js +84 -73
  293. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  294. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  295. package/cdn/components/data-subsetter-history/data-subsetter-history.component.d.ts +4 -7
  296. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +84 -73
  297. package/cdn/components/data-subsetter-history/data-subsetter-history.js +85 -74
  298. package/cdn/components/date-picker/date-picker.component.d.ts +3 -4
  299. package/cdn/components/date-picker/date-picker.component.js +14 -14
  300. package/cdn/components/date-picker/date-picker.js +15 -15
  301. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  302. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  303. package/cdn/components/dialog/dialog.component.js +8 -8
  304. package/cdn/components/dialog/dialog.js +9 -9
  305. package/cdn/components/divider/divider.component.js +2 -2
  306. package/cdn/components/divider/divider.js +3 -3
  307. package/cdn/components/dropdown/dropdown.component.js +4 -4
  308. package/cdn/components/dropdown/dropdown.js +5 -5
  309. package/cdn/components/earthdata-login/earthdata-login.component.d.ts +3 -1
  310. package/cdn/components/earthdata-login/earthdata-login.component.js +16 -17
  311. package/cdn/components/earthdata-login/earthdata-login.js +17 -18
  312. package/cdn/components/file-upload/file-upload.component.js +2 -2
  313. package/cdn/components/file-upload/file-upload.js +3 -3
  314. package/cdn/components/harmony-history/harmony-history.component.d.ts +3 -6
  315. package/cdn/components/harmony-history/harmony-history.component.js +12 -13
  316. package/cdn/components/harmony-history/harmony-history.js +13 -14
  317. package/cdn/components/icon/icon.component.js +3 -3
  318. package/cdn/components/icon/icon.js +4 -4
  319. package/cdn/components/input/input.component.js +5 -5
  320. package/cdn/components/input/input.js +6 -6
  321. package/cdn/components/loader/loader.component.js +2 -2
  322. package/cdn/components/loader/loader.js +3 -3
  323. package/cdn/components/login/login.component.d.ts +3 -1
  324. package/cdn/components/login/login.component.js +12 -13
  325. package/cdn/components/login/login.js +13 -14
  326. package/cdn/components/map/controls/draw-toolbar.control.d.ts +5 -2
  327. package/cdn/components/map/controls/draw-toolbar.control.js +18 -8
  328. package/cdn/components/map/controls/layer-picker.control.d.ts +16 -0
  329. package/cdn/components/map/controls/layer-picker.control.js +13 -0
  330. package/cdn/components/map/layers/base.layer.d.ts +10 -0
  331. package/cdn/components/map/layers/base.layer.js +25 -14
  332. package/cdn/components/map/layers/borders.layer.js +21 -13
  333. package/cdn/components/map/layers/boundary.d.ts +30 -0
  334. package/cdn/components/map/layers/boundary.js +20 -0
  335. package/cdn/components/map/layers/common.d.ts +2 -0
  336. package/cdn/components/map/layers/geotiff.layer.js +12 -7
  337. package/cdn/components/map/layers/gibs-vector.layer.js +26 -18
  338. package/cdn/components/map/layers/gibs.layer.d.ts +6 -0
  339. package/cdn/components/map/layers/gibs.layer.js +26 -18
  340. package/cdn/components/map/layers/labels.layer.js +21 -13
  341. package/cdn/components/map/layers/layer.js +28 -20
  342. package/cdn/components/map/layers/xyz.layer.js +17 -12
  343. package/cdn/components/map/map.component.d.ts +73 -21
  344. package/cdn/components/map/map.component.js +43 -29
  345. package/cdn/components/map/map.js +44 -30
  346. package/cdn/components/map/map.service.d.ts +92 -9
  347. package/cdn/components/map/map.service.js +33 -19
  348. package/cdn/components/map/map.styles.js +1 -1
  349. package/cdn/components/map/projections.js +4 -3
  350. package/cdn/components/map/type.d.ts +7 -0
  351. package/cdn/components/menu/menu.component.js +2 -2
  352. package/cdn/components/menu/menu.js +3 -3
  353. package/cdn/components/menu-item/menu-item.component.js +7 -7
  354. package/cdn/components/menu-item/menu-item.js +8 -8
  355. package/cdn/components/option/option.component.js +4 -4
  356. package/cdn/components/option/option.js +5 -5
  357. package/cdn/components/pagination/pagination.component.js +4 -4
  358. package/cdn/components/pagination/pagination.js +5 -5
  359. package/cdn/components/plot/plot.component.js +2 -2
  360. package/cdn/components/plot/plot.js +3 -3
  361. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  362. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  363. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +4 -4
  364. package/cdn/components/plot-toolbar/plot-toolbar.component.js +54 -42
  365. package/cdn/components/plot-toolbar/plot-toolbar.js +55 -43
  366. package/cdn/components/popup/popup.component.js +2 -2
  367. package/cdn/components/popup/popup.js +3 -3
  368. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  369. package/cdn/components/progress-bar/progress-bar.js +3 -3
  370. package/cdn/components/radio/radio.component.js +3 -3
  371. package/cdn/components/radio/radio.js +4 -4
  372. package/cdn/components/radio-group/radio-group.component.js +3 -3
  373. package/cdn/components/radio-group/radio-group.js +4 -4
  374. package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
  375. package/cdn/components/scroll-hint/scroll-hint.js +5 -5
  376. package/cdn/components/select/select.component.js +8 -8
  377. package/cdn/components/select/select.js +9 -9
  378. package/cdn/components/site-header/site-header.component.js +5 -5
  379. package/cdn/components/site-header/site-header.js +5 -5
  380. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  381. package/cdn/components/site-navigation/site-navigation.js +2 -2
  382. package/cdn/components/skeleton/skeleton.component.js +2 -2
  383. package/cdn/components/skeleton/skeleton.js +3 -3
  384. package/cdn/components/slider/slider.component.js +2 -2
  385. package/cdn/components/slider/slider.js +3 -3
  386. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +0 -10
  387. package/cdn/components/spatial-picker/spatial-picker.component.js +53 -39
  388. package/cdn/components/spatial-picker/spatial-picker.js +54 -40
  389. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  390. package/cdn/components/status-indicator/status-indicator.js +3 -3
  391. package/cdn/components/stepper/stepper.component.js +2 -2
  392. package/cdn/components/stepper/stepper.js +3 -3
  393. package/cdn/components/stepper-step/stepper-step.component.js +4 -4
  394. package/cdn/components/stepper-step/stepper-step.js +5 -5
  395. package/cdn/components/tab/tab.component.js +4 -4
  396. package/cdn/components/tab/tab.js +5 -5
  397. package/cdn/components/tab-panel/tab-panel.component.js +3 -3
  398. package/cdn/components/tab-panel/tab-panel.js +4 -4
  399. package/cdn/components/tabs/tabs.component.d.ts +2 -1
  400. package/cdn/components/tabs/tabs.component.js +4 -4
  401. package/cdn/components/tabs/tabs.js +5 -5
  402. package/cdn/components/tag/tag.component.js +4 -4
  403. package/cdn/components/tag/tag.js +5 -5
  404. package/cdn/components/textarea/textarea.component.js +4 -4
  405. package/cdn/components/textarea/textarea.js +5 -5
  406. package/cdn/components/time-average-map/time-average-map.component.d.ts +10 -14
  407. package/cdn/components/time-average-map/time-average-map.component.js +66 -54
  408. package/cdn/components/time-average-map/time-average-map.controller.js +7 -7
  409. package/cdn/components/time-average-map/time-average-map.js +67 -55
  410. package/cdn/components/time-series/time-series.component.d.ts +2 -10
  411. package/cdn/components/time-series/time-series.component.js +66 -54
  412. package/cdn/components/time-series/time-series.controller.js +7 -7
  413. package/cdn/components/time-series/time-series.js +67 -55
  414. package/cdn/components/toast/toast.component.js +5 -5
  415. package/cdn/components/toast/toast.js +6 -6
  416. package/cdn/components/toggle/toggle.component.js +4 -4
  417. package/cdn/components/toggle/toggle.js +5 -5
  418. package/cdn/components/tooltip/tooltip.component.js +4 -4
  419. package/cdn/components/tooltip/tooltip.js +5 -5
  420. package/cdn/components/variable-combobox/variable-combobox.component.d.ts +5 -9
  421. package/cdn/components/variable-combobox/variable-combobox.component.js +14 -12
  422. package/cdn/components/variable-combobox/variable-combobox.js +15 -13
  423. package/cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts +2 -2
  424. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  425. package/cdn/components/variable-keyword-search/variable-keyword-search.js +11 -11
  426. package/cdn/custom-elements.json +10670 -8582
  427. package/cdn/events/events.d.ts +2 -2
  428. package/cdn/events/terra-map.d.ts +55 -0
  429. package/cdn/mixins/auth.mixin.d.ts +23 -0
  430. package/cdn/mixins/mixin.types.d.ts +1 -0
  431. package/cdn/mixins/query-client.mixin.d.ts +1 -1
  432. package/cdn/react/accordion/index.js +6 -6
  433. package/cdn/react/alert/index.js +5 -5
  434. package/cdn/react/avatar/index.js +6 -6
  435. package/cdn/react/badge/index.js +4 -4
  436. package/cdn/react/banner/index.js +4 -4
  437. package/cdn/react/breadcrumb/index.js +3 -3
  438. package/cdn/react/breadcrumbs/index.js +3 -3
  439. package/cdn/react/browse-variables/index.js +22 -22
  440. package/cdn/react/button/index.js +7 -7
  441. package/cdn/react/button-group/index.js +3 -3
  442. package/cdn/react/caption/index.js +3 -3
  443. package/cdn/react/card/index.js +3 -3
  444. package/cdn/react/checkbox/index.js +6 -6
  445. package/cdn/react/chip/index.js +3 -3
  446. package/cdn/react/combobox/index.js +6 -6
  447. package/cdn/react/data-access/index.js +70 -57
  448. package/cdn/react/data-grid/index.js +4 -4
  449. package/cdn/react/data-rods/index.d.ts +6 -1
  450. package/cdn/react/data-rods/index.js +80 -68
  451. package/cdn/react/data-subsetter/index.d.ts +3 -0
  452. package/cdn/react/data-subsetter/index.js +84 -73
  453. package/cdn/react/data-subsetter-history/index.d.ts +6 -1
  454. package/cdn/react/data-subsetter-history/index.js +85 -74
  455. package/cdn/react/date-picker/index.js +15 -15
  456. package/cdn/react/date-range-slider/index.js +4 -4
  457. package/cdn/react/dialog/index.js +9 -9
  458. package/cdn/react/divider/index.js +3 -3
  459. package/cdn/react/dropdown/index.js +5 -5
  460. package/cdn/react/earthdata-login/index.js +17 -18
  461. package/cdn/react/file-upload/index.js +3 -3
  462. package/cdn/react/harmony-history/index.d.ts +3 -0
  463. package/cdn/react/harmony-history/index.js +13 -14
  464. package/cdn/react/icon/index.js +4 -4
  465. package/cdn/react/index.d.ts +24 -24
  466. package/cdn/react/index.js +277 -265
  467. package/cdn/react/input/index.js +6 -6
  468. package/cdn/react/loader/index.js +3 -3
  469. package/cdn/react/login/index.js +13 -14
  470. package/cdn/react/map/index.d.ts +32 -1
  471. package/cdn/react/map/index.js +44 -30
  472. package/cdn/react/menu/index.js +3 -3
  473. package/cdn/react/menu-item/index.js +8 -8
  474. package/cdn/react/option/index.js +5 -5
  475. package/cdn/react/pagination/index.js +5 -5
  476. package/cdn/react/plot/index.js +3 -3
  477. package/cdn/react/plot-toolbar/index.d.ts +6 -1
  478. package/cdn/react/plot-toolbar/index.js +55 -43
  479. package/cdn/react/popup/index.js +3 -3
  480. package/cdn/react/progress-bar/index.js +3 -3
  481. package/cdn/react/radio/index.js +4 -4
  482. package/cdn/react/radio-group/index.js +4 -4
  483. package/cdn/react/scroll-hint/index.js +5 -5
  484. package/cdn/react/select/index.js +9 -9
  485. package/cdn/react/site-header/index.js +6 -6
  486. package/cdn/react/site-navigation/index.js +3 -3
  487. package/cdn/react/skeleton/index.js +3 -3
  488. package/cdn/react/slider/index.js +3 -3
  489. package/cdn/react/spatial-picker/index.js +54 -40
  490. package/cdn/react/status-indicator/index.js +3 -3
  491. package/cdn/react/stepper/index.js +3 -3
  492. package/cdn/react/stepper-step/index.js +5 -5
  493. package/cdn/react/tab/index.js +5 -5
  494. package/cdn/react/tab-panel/index.js +4 -4
  495. package/cdn/react/tabs/index.js +5 -5
  496. package/cdn/react/tag/index.js +5 -5
  497. package/cdn/react/textarea/index.js +5 -5
  498. package/cdn/react/time-average-map/index.d.ts +6 -1
  499. package/cdn/react/time-average-map/index.js +67 -55
  500. package/cdn/react/time-series/index.d.ts +3 -0
  501. package/cdn/react/time-series/index.js +67 -55
  502. package/cdn/react/toast/index.js +6 -6
  503. package/cdn/react/toggle/index.js +5 -5
  504. package/cdn/react/tooltip/index.js +5 -5
  505. package/cdn/react/variable-combobox/index.d.ts +4 -1
  506. package/cdn/react/variable-combobox/index.js +15 -13
  507. package/cdn/react/variable-keyword-search/index.d.ts +1 -1
  508. package/cdn/react/variable-keyword-search/index.js +11 -11
  509. package/cdn/terra-ui-components.js +278 -266
  510. package/cdn/types/vue/index.d.ts +1037 -870
  511. package/cdn/utilities/date.d.ts +4 -0
  512. package/cdn/utilities/date.js +3 -1
  513. package/cdn/utilities/variable-task.js +2 -2
  514. package/cdn/vscode.html-custom-data.json +692 -661
  515. package/cdn/web-types.json +2243 -2077
  516. package/dist/apis/harmony.api.d.ts +5 -0
  517. package/dist/chunks/chunk.25A7KRDN.js +19 -0
  518. package/dist/chunks/chunk.2C5HNR5L.js +4 -0
  519. package/dist/chunks/chunk.2O3IOB3J.js +1 -0
  520. package/dist/chunks/chunk.33OXTI3O.js +22 -0
  521. package/dist/chunks/chunk.345LFJWT.js +1 -0
  522. package/dist/chunks/chunk.3D65L7Z7.js +1 -0
  523. package/dist/chunks/chunk.3GAETZS7.js +12 -0
  524. package/dist/chunks/chunk.3IH7Q4YU.js +1 -0
  525. package/dist/chunks/chunk.424PTQE6.js +1 -0
  526. package/dist/chunks/chunk.43YXC3BX.js +1 -0
  527. package/dist/chunks/chunk.45H2PNH4.js +1 -0
  528. package/dist/chunks/chunk.47YM7IJH.js +1 -0
  529. package/dist/chunks/chunk.4A2YMU2A.js +1 -0
  530. package/dist/chunks/chunk.4BU5K6UJ.js +1 -0
  531. package/dist/chunks/chunk.4HQHKAPL.js +1 -0
  532. package/dist/chunks/chunk.4POG3VJI.js +148 -0
  533. package/dist/chunks/chunk.4QRZ7ROR.js +299 -0
  534. package/dist/chunks/chunk.4WJQSWQN.js +1 -0
  535. package/dist/chunks/chunk.52VRTKYJ.js +1 -0
  536. package/dist/chunks/chunk.55FJVUS6.js +43 -0
  537. package/dist/chunks/chunk.55S45QN4.js +1 -0
  538. package/dist/chunks/chunk.574Z2YXE.js +1 -0
  539. package/dist/chunks/chunk.5EE4HG2I.js +1 -0
  540. package/dist/chunks/chunk.5SZGFRLL.js +1 -0
  541. package/dist/chunks/chunk.5TJN4Z3R.js +1 -0
  542. package/dist/chunks/chunk.5TYJPHW2.js +1 -0
  543. package/dist/chunks/chunk.5UYKLBWJ.js +8 -0
  544. package/dist/chunks/chunk.5VNCJX27.js +55 -0
  545. package/dist/chunks/chunk.64725NP3.js +1 -0
  546. package/dist/chunks/chunk.6HO3MVIP.js +1 -0
  547. package/dist/chunks/chunk.6I57S7FR.js +27 -0
  548. package/dist/chunks/chunk.6XHCRR5R.js +9 -0
  549. package/dist/chunks/chunk.73HKAO6V.js +11 -0
  550. package/dist/chunks/chunk.7COB35MT.js +75 -0
  551. package/dist/chunks/chunk.7NCUNKBE.js +1 -0
  552. package/dist/chunks/chunk.7NXWYAIR.js +1 -0
  553. package/dist/chunks/chunk.7SLU543S.js +1 -0
  554. package/dist/chunks/chunk.7XQG4HG3.js +1 -0
  555. package/dist/chunks/chunk.A2ZTVI45.js +154 -0
  556. package/dist/chunks/chunk.AAUFO4KA.js +1 -0
  557. package/dist/chunks/chunk.AFNS7NIK.js +1 -0
  558. package/dist/chunks/chunk.AHL4S3IT.js +1 -0
  559. package/dist/chunks/chunk.AHS4Q35I.js +1 -0
  560. package/dist/chunks/chunk.AIWYS7YQ.js +1 -0
  561. package/dist/chunks/chunk.ALIRA2AC.js +1 -0
  562. package/dist/chunks/chunk.ATILEODB.js +18 -0
  563. package/dist/chunks/chunk.B3X6VXDL.js +1 -0
  564. package/dist/chunks/chunk.B4BXOMMQ.js +1 -0
  565. package/dist/chunks/chunk.BCGQKSR6.js +1 -0
  566. package/dist/chunks/chunk.BOZFOR5U.js +1 -0
  567. package/dist/chunks/chunk.BQB6XWSY.js +1 -0
  568. package/dist/chunks/chunk.BW5OZ5PS.js +1 -0
  569. package/dist/chunks/chunk.BXPTMVQE.js +1 -0
  570. package/dist/chunks/chunk.C6OX4NX6.js +74 -0
  571. package/dist/chunks/chunk.C7VEVA2Y.js +20 -0
  572. package/dist/chunks/chunk.CEOBCS56.js +1 -0
  573. package/dist/chunks/chunk.CGTXCYPM.js +41 -0
  574. package/dist/chunks/chunk.CH2PWIJD.js +5 -0
  575. package/dist/chunks/chunk.CLY6HMJZ.js +121 -0
  576. package/dist/chunks/chunk.CNGZOMLD.js +1 -0
  577. package/dist/chunks/chunk.CPFON5LM.js +1 -0
  578. package/dist/chunks/chunk.CQUQVS3M.js +1 -0
  579. package/dist/chunks/chunk.CRHOUQZH.js +1023 -0
  580. package/dist/chunks/chunk.CVKACFML.js +1 -0
  581. package/dist/chunks/chunk.D3JQRTEL.js +1 -0
  582. package/dist/chunks/chunk.DH5QWPH3.js +126 -0
  583. package/dist/chunks/chunk.DJ5BXB5G.js +48 -0
  584. package/dist/chunks/chunk.DKBGIHHD.js +1 -0
  585. package/dist/chunks/chunk.DOT4H7LX.js +2 -0
  586. package/dist/chunks/chunk.DTKNWAYL.js +62 -0
  587. package/dist/chunks/chunk.DWQMS6BC.js +1 -0
  588. package/dist/chunks/chunk.E477TJOR.js +1 -0
  589. package/dist/chunks/chunk.E4ELJE6I.js +35 -0
  590. package/dist/chunks/chunk.EB3ZPXT6.js +1 -0
  591. package/dist/chunks/chunk.EP2O3QZD.js +1 -0
  592. package/dist/chunks/chunk.EP5CSYKQ.js +1 -0
  593. package/dist/chunks/chunk.EQV2PFSY.js +1 -0
  594. package/dist/chunks/chunk.ER2IYY3T.js +1 -0
  595. package/dist/chunks/chunk.EV5P56DN.js +1 -0
  596. package/dist/chunks/chunk.F3NCEQ7X.js +1 -0
  597. package/dist/chunks/chunk.FSZCT7LX.js +26 -0
  598. package/dist/chunks/chunk.G3ZRWDDX.js +1 -0
  599. package/dist/chunks/chunk.G57LF47A.js +1 -0
  600. package/dist/chunks/chunk.GABTYKJH.js +1 -0
  601. package/dist/chunks/chunk.GHAZYRJA.js +1 -0
  602. package/dist/chunks/chunk.GP5SO7WB.js +43 -0
  603. package/dist/chunks/chunk.GQKEZMI5.js +64 -0
  604. package/dist/chunks/chunk.GUCJK7CQ.js +1 -0
  605. package/dist/chunks/chunk.GVVBO4QC.js +30 -0
  606. package/dist/chunks/chunk.H57KVCKB.js +4 -0
  607. package/dist/chunks/chunk.HCPPIK6X.js +1 -0
  608. package/dist/chunks/chunk.HDBWSDNO.js +1 -0
  609. package/dist/chunks/chunk.HDQVEOLO.js +1 -0
  610. package/dist/chunks/chunk.HKOYW5P7.js +1 -0
  611. package/dist/chunks/chunk.HPJUOBS5.js +1 -0
  612. package/dist/chunks/chunk.HTEGCYSS.js +2 -0
  613. package/dist/chunks/chunk.I2766Z6G.js +1 -0
  614. package/dist/chunks/chunk.I6OSLDVJ.js +1 -0
  615. package/dist/chunks/chunk.I6WZHDJR.js +1 -0
  616. package/dist/chunks/chunk.ID6GATFM.js +1 -0
  617. package/dist/chunks/chunk.IDQKGC62.js +1 -0
  618. package/dist/chunks/chunk.IRLLX53J.js +47 -0
  619. package/dist/chunks/chunk.IS2NEHYI.js +1 -0
  620. package/dist/chunks/chunk.IS4IX5PC.js +1 -0
  621. package/dist/chunks/chunk.J6W2UPV5.js +1 -0
  622. package/dist/chunks/chunk.JBNOA3A2.js +1 -0
  623. package/dist/chunks/chunk.JDM4WI4S.js +20 -0
  624. package/dist/chunks/chunk.JIF57YBB.js +1 -0
  625. package/dist/chunks/chunk.JM33IYJC.js +1 -0
  626. package/dist/chunks/chunk.JMLZNWOP.js +14 -0
  627. package/dist/chunks/chunk.JRCA2SKL.js +145 -0
  628. package/dist/chunks/chunk.JVSJPJIU.js +5 -0
  629. package/dist/chunks/chunk.JZKLCWMN.js +1 -0
  630. package/dist/chunks/chunk.JZLGMRZU.js +157 -0
  631. package/dist/chunks/chunk.K5BRJBGT.js +1 -0
  632. package/dist/chunks/chunk.KACJAQNX.js +6 -0
  633. package/dist/chunks/chunk.KEJYVX6V.js +55 -0
  634. package/dist/chunks/chunk.KF3WZUJB.js +1 -0
  635. package/dist/chunks/chunk.KGWY64U3.js +1 -0
  636. package/dist/chunks/chunk.KHUTJ2EC.js +1 -0
  637. package/dist/chunks/chunk.KOQ6WD4F.js +1 -0
  638. package/dist/chunks/chunk.KPNLEIXC.js +99 -0
  639. package/dist/chunks/chunk.KZAPYGJP.js +1 -0
  640. package/dist/chunks/chunk.L5QDGGS7.js +1 -0
  641. package/dist/chunks/chunk.LCYI63EA.js +20 -0
  642. package/dist/chunks/chunk.LEZEAL23.js +1 -0
  643. package/dist/chunks/chunk.LM6MTY2M.js +37 -0
  644. package/dist/chunks/chunk.LOLJACKL.js +1 -0
  645. package/dist/chunks/chunk.LQU34HVZ.js +1 -0
  646. package/dist/chunks/chunk.LVAET76P.js +1 -0
  647. package/dist/chunks/chunk.LXFMQAKV.js +1 -0
  648. package/dist/chunks/chunk.LYEGL5BZ.js +1 -0
  649. package/dist/chunks/chunk.LZZE65EN.js +1 -0
  650. package/dist/chunks/chunk.MCJ2GX4A.js +30 -0
  651. package/dist/chunks/chunk.MDKK4AJV.js +17 -0
  652. package/dist/chunks/chunk.MF67H5JA.js +1 -0
  653. package/dist/chunks/chunk.MGU32BIU.js +59 -0
  654. package/dist/chunks/chunk.MK3X5JIU.js +65 -0
  655. package/dist/chunks/chunk.MLR4ZKRU.js +1 -0
  656. package/dist/chunks/chunk.MQIO6BEA.js +1 -0
  657. package/dist/chunks/chunk.MU4BRZ5R.js +1 -0
  658. package/dist/chunks/chunk.MWPFFGL3.js +1 -0
  659. package/dist/chunks/chunk.MXMEA7TP.js +1 -0
  660. package/dist/chunks/chunk.N3V2FL7Q.js +1 -0
  661. package/dist/chunks/chunk.NARLVFIQ.js +33 -0
  662. package/dist/chunks/chunk.NK753QCZ.js +1 -0
  663. package/dist/chunks/chunk.NOXPOPPM.js +1 -0
  664. package/dist/chunks/chunk.NTZXYW2X.js +1 -0
  665. package/dist/chunks/chunk.NV3ZCWPP.js +1 -0
  666. package/dist/chunks/chunk.O2UN3QQG.js +1 -0
  667. package/dist/chunks/chunk.O47BMDEV.js +1 -0
  668. package/dist/chunks/chunk.OJM5RA3G.js +1 -0
  669. package/dist/chunks/chunk.OM4YQXHL.js +1 -0
  670. package/dist/chunks/chunk.OVTNI4H2.js +1 -0
  671. package/dist/chunks/chunk.OWXS5GVL.js +1 -0
  672. package/dist/chunks/chunk.OZSD4QYB.js +1 -0
  673. package/dist/chunks/chunk.PIKCG752.js +1 -0
  674. package/dist/chunks/chunk.PLSGWBX4.js +42 -0
  675. package/dist/chunks/chunk.PP6KREF2.js +5 -0
  676. package/dist/chunks/chunk.PQVZB2P2.js +67 -0
  677. package/dist/chunks/chunk.PRUHQ3VS.js +1 -0
  678. package/dist/chunks/chunk.PWFX3VPM.js +1 -0
  679. package/dist/chunks/chunk.PXVAQ2MA.js +55 -0
  680. package/dist/chunks/chunk.Q6O6LV3R.js +1 -0
  681. package/dist/chunks/chunk.QB7E6R2H.js +1 -0
  682. package/dist/chunks/chunk.QJRLPQ4M.js +1 -0
  683. package/dist/chunks/chunk.QOQWXEK5.js +1 -0
  684. package/dist/chunks/chunk.QVDEJXKO.js +1 -0
  685. package/dist/chunks/chunk.RKMR7V7J.js +1 -0
  686. package/dist/chunks/chunk.RLTSECXU.js +1 -0
  687. package/dist/chunks/chunk.RQYBMFWH.js +25 -0
  688. package/dist/chunks/chunk.S6IY5EKN.js +1 -0
  689. package/dist/chunks/chunk.SD2Q7EO2.js +23 -0
  690. package/dist/chunks/chunk.SEBIDNZM.js +1 -0
  691. package/dist/chunks/chunk.SF2OZFKQ.js +26 -0
  692. package/dist/chunks/chunk.SFK6BRQV.js +16 -0
  693. package/dist/chunks/chunk.SJTIVT6P.js +1 -0
  694. package/dist/chunks/chunk.SKK3NN5J.js +129 -0
  695. package/dist/chunks/chunk.SXGO5MEK.js +100 -0
  696. package/dist/chunks/chunk.TANXPJFE.js +1 -0
  697. package/dist/chunks/chunk.TATIBHUA.js +1 -0
  698. package/dist/chunks/chunk.TOON2INB.js +39 -0
  699. package/dist/chunks/chunk.TPUQNE3A.js +1 -0
  700. package/dist/chunks/chunk.TUGWQPTL.js +1 -0
  701. package/dist/chunks/chunk.TVERDMGY.js +113 -0
  702. package/dist/chunks/chunk.TWRNH5K5.js +1 -0
  703. package/dist/chunks/chunk.UQ6BNK6J.js +1 -0
  704. package/dist/chunks/chunk.UR7PHRDS.js +345 -0
  705. package/dist/chunks/chunk.V4XJH6YL.js +80 -0
  706. package/dist/chunks/chunk.VEPO6QAD.js +1 -0
  707. package/dist/chunks/chunk.VGN6LMHA.js +1 -0
  708. package/dist/chunks/chunk.VGQNQREB.js +1 -0
  709. package/dist/chunks/chunk.VSYDUDNW.js +1286 -0
  710. package/dist/chunks/chunk.W2E2TLSM.js +176 -0
  711. package/dist/chunks/chunk.WQ6USVYL.js +1 -0
  712. package/dist/chunks/chunk.WSBH5HTI.js +1 -0
  713. package/dist/chunks/chunk.WVBRHYTU.js +1 -0
  714. package/dist/chunks/chunk.X66E247Y.js +1 -0
  715. package/dist/chunks/chunk.XAPKFJEL.js +1 -0
  716. package/dist/chunks/chunk.XCYCEX7B.js +1 -0
  717. package/dist/chunks/chunk.XYOSJOLJ.js +1 -0
  718. package/dist/chunks/chunk.XZJS7S7T.js +280 -0
  719. package/dist/chunks/chunk.Y6ESPBDJ.js +1 -0
  720. package/dist/chunks/chunk.Y6HSCFK2.js +1 -0
  721. package/dist/chunks/chunk.YA7JZZG4.js +1 -0
  722. package/dist/chunks/chunk.YBALUVPL.js +1 -0
  723. package/dist/chunks/chunk.YFCEZZRF.js +1 -0
  724. package/dist/chunks/chunk.YLGPGQY4.js +566 -0
  725. package/dist/chunks/chunk.YLNZLECF.js +9 -0
  726. package/dist/chunks/chunk.YMDGNLGV.js +1 -0
  727. package/dist/chunks/chunk.YNN3NBWK.js +1 -0
  728. package/dist/chunks/chunk.YO67MSZK.js +780 -0
  729. package/dist/chunks/chunk.YY3G7NCY.js +35 -0
  730. package/dist/chunks/chunk.YZJEAHZH.js +1 -0
  731. package/dist/chunks/chunk.YZXEYQ6F.js +1 -0
  732. package/dist/chunks/chunk.ZBHNSZBH.js +24 -0
  733. package/dist/chunks/chunk.ZCPIP5RL.js +774 -0
  734. package/dist/chunks/chunk.ZFCVEZXM.js +11 -0
  735. package/dist/components/accordion/accordion.component.js +1 -1
  736. package/dist/components/accordion/accordion.js +1 -1
  737. package/dist/components/alert/alert.component.js +1 -1
  738. package/dist/components/alert/alert.js +1 -1
  739. package/dist/components/avatar/avatar.component.js +1 -1
  740. package/dist/components/avatar/avatar.js +1 -1
  741. package/dist/components/badge/badge.component.js +1 -1
  742. package/dist/components/badge/badge.js +1 -1
  743. package/dist/components/banner/banner.component.js +1 -1
  744. package/dist/components/banner/banner.js +1 -1
  745. package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
  746. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  747. package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
  748. package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
  749. package/dist/components/browse-variables/browse-variables.component.d.ts +1 -1
  750. package/dist/components/browse-variables/browse-variables.component.js +1 -1
  751. package/dist/components/browse-variables/browse-variables.controller.js +1 -1
  752. package/dist/components/browse-variables/browse-variables.js +1 -1
  753. package/dist/components/button/button.component.js +1 -1
  754. package/dist/components/button/button.js +1 -1
  755. package/dist/components/button-group/button-group.component.js +1 -1
  756. package/dist/components/button-group/button-group.js +1 -1
  757. package/dist/components/caption/caption.component.js +1 -1
  758. package/dist/components/caption/caption.js +1 -1
  759. package/dist/components/card/card.component.js +1 -1
  760. package/dist/components/card/card.js +1 -1
  761. package/dist/components/checkbox/checkbox.component.js +1 -1
  762. package/dist/components/checkbox/checkbox.js +1 -1
  763. package/dist/components/chip/chip.component.js +1 -1
  764. package/dist/components/chip/chip.js +1 -1
  765. package/dist/components/combobox/combobox.component.js +1 -1
  766. package/dist/components/combobox/combobox.js +1 -1
  767. package/dist/components/data-access/data-access.component.d.ts +11 -11
  768. package/dist/components/data-access/data-access.component.js +1 -1
  769. package/dist/components/data-access/data-access.js +1 -1
  770. package/dist/components/data-grid/data-grid.component.js +1 -1
  771. package/dist/components/data-grid/data-grid.js +1 -1
  772. package/dist/components/data-rods/data-rods.component.d.ts +7 -11
  773. package/dist/components/data-rods/data-rods.component.js +1 -1
  774. package/dist/components/data-rods/data-rods.js +1 -1
  775. package/dist/components/data-subsetter/data-subsetter.component.d.ts +8 -5
  776. package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
  777. package/dist/components/data-subsetter/data-subsetter.js +1 -1
  778. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  779. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  780. package/dist/components/data-subsetter-history/data-subsetter-history.component.d.ts +4 -7
  781. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
  782. package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
  783. package/dist/components/date-picker/date-picker.component.d.ts +3 -4
  784. package/dist/components/date-picker/date-picker.component.js +1 -1
  785. package/dist/components/date-picker/date-picker.js +1 -1
  786. package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
  787. package/dist/components/date-range-slider/date-range-slider.js +1 -1
  788. package/dist/components/dialog/dialog.component.js +1 -1
  789. package/dist/components/dialog/dialog.js +1 -1
  790. package/dist/components/divider/divider.component.js +1 -1
  791. package/dist/components/divider/divider.js +1 -1
  792. package/dist/components/dropdown/dropdown.component.js +1 -1
  793. package/dist/components/dropdown/dropdown.js +1 -1
  794. package/dist/components/earthdata-login/earthdata-login.component.d.ts +3 -1
  795. package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
  796. package/dist/components/earthdata-login/earthdata-login.js +1 -1
  797. package/dist/components/file-upload/file-upload.component.js +1 -1
  798. package/dist/components/file-upload/file-upload.js +1 -1
  799. package/dist/components/harmony-history/harmony-history.component.d.ts +3 -6
  800. package/dist/components/harmony-history/harmony-history.component.js +1 -1
  801. package/dist/components/harmony-history/harmony-history.js +1 -1
  802. package/dist/components/icon/icon.component.js +1 -1
  803. package/dist/components/icon/icon.js +1 -1
  804. package/dist/components/input/input.component.js +1 -1
  805. package/dist/components/input/input.js +1 -1
  806. package/dist/components/loader/loader.component.js +1 -1
  807. package/dist/components/loader/loader.js +1 -1
  808. package/dist/components/login/login.component.d.ts +3 -1
  809. package/dist/components/login/login.component.js +1 -1
  810. package/dist/components/login/login.js +1 -1
  811. package/dist/components/map/controls/draw-toolbar.control.d.ts +5 -2
  812. package/dist/components/map/controls/draw-toolbar.control.js +1 -1
  813. package/dist/components/map/controls/layer-picker.control.d.ts +16 -0
  814. package/dist/components/map/controls/layer-picker.control.js +1 -0
  815. package/dist/components/map/layers/base.layer.d.ts +10 -0
  816. package/dist/components/map/layers/base.layer.js +1 -1
  817. package/dist/components/map/layers/boundary.d.ts +30 -0
  818. package/dist/components/map/layers/boundary.js +1 -0
  819. package/dist/components/map/layers/common.d.ts +2 -0
  820. package/dist/components/map/layers/gibs-vector.layer.js +1 -1
  821. package/dist/components/map/layers/gibs.layer.d.ts +6 -0
  822. package/dist/components/map/layers/gibs.layer.js +1 -1
  823. package/dist/components/map/layers/layer.js +1 -1
  824. package/dist/components/map/map.component.d.ts +73 -21
  825. package/dist/components/map/map.component.js +1 -1
  826. package/dist/components/map/map.js +1 -1
  827. package/dist/components/map/map.service.d.ts +92 -9
  828. package/dist/components/map/map.service.js +1 -1
  829. package/dist/components/map/map.styles.js +1 -1
  830. package/dist/components/map/type.d.ts +7 -0
  831. package/dist/components/map/type.js +1 -1
  832. package/dist/components/menu/menu.component.js +1 -1
  833. package/dist/components/menu/menu.js +1 -1
  834. package/dist/components/menu-item/menu-item.component.js +1 -1
  835. package/dist/components/menu-item/menu-item.js +1 -1
  836. package/dist/components/option/option.component.js +1 -1
  837. package/dist/components/option/option.js +1 -1
  838. package/dist/components/pagination/pagination.component.js +1 -1
  839. package/dist/components/pagination/pagination.js +1 -1
  840. package/dist/components/plot/plot.component.js +1 -1
  841. package/dist/components/plot/plot.js +1 -1
  842. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  843. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  844. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +4 -4
  845. package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
  846. package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
  847. package/dist/components/popup/popup.component.js +1 -1
  848. package/dist/components/popup/popup.js +1 -1
  849. package/dist/components/progress-bar/progress-bar.component.js +1 -1
  850. package/dist/components/progress-bar/progress-bar.js +1 -1
  851. package/dist/components/radio/radio.component.js +1 -1
  852. package/dist/components/radio/radio.js +1 -1
  853. package/dist/components/radio-group/radio-group.component.js +1 -1
  854. package/dist/components/radio-group/radio-group.js +1 -1
  855. package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
  856. package/dist/components/scroll-hint/scroll-hint.js +1 -1
  857. package/dist/components/select/select.component.js +1 -1
  858. package/dist/components/select/select.js +1 -1
  859. package/dist/components/site-header/site-header.component.js +1 -1
  860. package/dist/components/site-header/site-header.js +1 -1
  861. package/dist/components/site-navigation/site-navigation.component.js +1 -1
  862. package/dist/components/site-navigation/site-navigation.js +1 -1
  863. package/dist/components/skeleton/skeleton.component.js +1 -1
  864. package/dist/components/skeleton/skeleton.js +1 -1
  865. package/dist/components/slider/slider.component.js +1 -1
  866. package/dist/components/slider/slider.js +1 -1
  867. package/dist/components/spatial-picker/spatial-picker.component.d.ts +0 -10
  868. package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
  869. package/dist/components/spatial-picker/spatial-picker.js +1 -1
  870. package/dist/components/status-indicator/status-indicator.component.js +1 -1
  871. package/dist/components/status-indicator/status-indicator.js +1 -1
  872. package/dist/components/stepper/stepper.component.js +1 -1
  873. package/dist/components/stepper/stepper.js +1 -1
  874. package/dist/components/stepper-step/stepper-step.component.js +1 -1
  875. package/dist/components/stepper-step/stepper-step.js +1 -1
  876. package/dist/components/tab/tab.component.js +1 -1
  877. package/dist/components/tab/tab.js +1 -1
  878. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  879. package/dist/components/tab-panel/tab-panel.js +1 -1
  880. package/dist/components/tabs/tabs.component.d.ts +2 -1
  881. package/dist/components/tabs/tabs.component.js +1 -1
  882. package/dist/components/tabs/tabs.js +1 -1
  883. package/dist/components/tag/tag.component.js +1 -1
  884. package/dist/components/tag/tag.js +1 -1
  885. package/dist/components/textarea/textarea.component.js +1 -1
  886. package/dist/components/textarea/textarea.js +1 -1
  887. package/dist/components/time-average-map/time-average-map.component.d.ts +10 -14
  888. package/dist/components/time-average-map/time-average-map.component.js +1 -1
  889. package/dist/components/time-average-map/time-average-map.controller.js +1 -1
  890. package/dist/components/time-average-map/time-average-map.js +1 -1
  891. package/dist/components/time-series/time-series.component.d.ts +2 -10
  892. package/dist/components/time-series/time-series.component.js +1 -1
  893. package/dist/components/time-series/time-series.controller.js +1 -1
  894. package/dist/components/time-series/time-series.js +1 -1
  895. package/dist/components/toast/toast.component.js +1 -1
  896. package/dist/components/toast/toast.js +1 -1
  897. package/dist/components/toggle/toggle.component.js +1 -1
  898. package/dist/components/toggle/toggle.js +1 -1
  899. package/dist/components/tooltip/tooltip.component.js +1 -1
  900. package/dist/components/tooltip/tooltip.js +1 -1
  901. package/dist/components/variable-combobox/variable-combobox.component.d.ts +5 -9
  902. package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
  903. package/dist/components/variable-combobox/variable-combobox.js +1 -1
  904. package/dist/components/variable-keyword-search/variable-keyword-search.component.d.ts +2 -2
  905. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
  906. package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
  907. package/dist/custom-elements.json +10670 -8582
  908. package/dist/events/events.d.ts +2 -2
  909. package/dist/events/terra-map.d.ts +55 -0
  910. package/dist/mixins/auth.mixin.d.ts +23 -0
  911. package/dist/mixins/mixin.types.d.ts +1 -0
  912. package/dist/mixins/query-client.mixin.d.ts +1 -1
  913. package/dist/react/accordion/index.js +1 -1
  914. package/dist/react/alert/index.js +1 -1
  915. package/dist/react/avatar/index.js +1 -1
  916. package/dist/react/badge/index.js +1 -1
  917. package/dist/react/banner/index.js +1 -1
  918. package/dist/react/breadcrumb/index.js +1 -1
  919. package/dist/react/breadcrumbs/index.js +1 -1
  920. package/dist/react/browse-variables/index.js +1 -1
  921. package/dist/react/button/index.js +1 -1
  922. package/dist/react/button-group/index.js +1 -1
  923. package/dist/react/caption/index.js +1 -1
  924. package/dist/react/card/index.js +1 -1
  925. package/dist/react/checkbox/index.js +1 -1
  926. package/dist/react/chip/index.js +1 -1
  927. package/dist/react/combobox/index.js +1 -1
  928. package/dist/react/data-access/index.js +1 -1
  929. package/dist/react/data-grid/index.js +1 -1
  930. package/dist/react/data-rods/index.d.ts +6 -1
  931. package/dist/react/data-rods/index.js +1 -1
  932. package/dist/react/data-subsetter/index.d.ts +3 -0
  933. package/dist/react/data-subsetter/index.js +1 -1
  934. package/dist/react/data-subsetter-history/index.d.ts +6 -1
  935. package/dist/react/data-subsetter-history/index.js +1 -1
  936. package/dist/react/date-picker/index.js +1 -1
  937. package/dist/react/date-range-slider/index.js +1 -1
  938. package/dist/react/dialog/index.js +1 -1
  939. package/dist/react/divider/index.js +1 -1
  940. package/dist/react/dropdown/index.js +1 -1
  941. package/dist/react/earthdata-login/index.js +1 -1
  942. package/dist/react/file-upload/index.js +1 -1
  943. package/dist/react/harmony-history/index.d.ts +3 -0
  944. package/dist/react/harmony-history/index.js +1 -1
  945. package/dist/react/icon/index.js +1 -1
  946. package/dist/react/index.d.ts +24 -24
  947. package/dist/react/index.js +1 -1
  948. package/dist/react/input/index.js +1 -1
  949. package/dist/react/loader/index.js +1 -1
  950. package/dist/react/login/index.js +1 -1
  951. package/dist/react/map/index.d.ts +32 -1
  952. package/dist/react/map/index.js +1 -1
  953. package/dist/react/menu/index.js +1 -1
  954. package/dist/react/menu-item/index.js +1 -1
  955. package/dist/react/option/index.js +1 -1
  956. package/dist/react/pagination/index.js +1 -1
  957. package/dist/react/plot/index.js +1 -1
  958. package/dist/react/plot-toolbar/index.d.ts +6 -1
  959. package/dist/react/plot-toolbar/index.js +1 -1
  960. package/dist/react/popup/index.js +1 -1
  961. package/dist/react/progress-bar/index.js +1 -1
  962. package/dist/react/radio/index.js +1 -1
  963. package/dist/react/radio-group/index.js +1 -1
  964. package/dist/react/scroll-hint/index.js +1 -1
  965. package/dist/react/select/index.js +1 -1
  966. package/dist/react/site-header/index.js +1 -1
  967. package/dist/react/site-navigation/index.js +1 -1
  968. package/dist/react/skeleton/index.js +1 -1
  969. package/dist/react/slider/index.js +1 -1
  970. package/dist/react/spatial-picker/index.js +1 -1
  971. package/dist/react/status-indicator/index.js +1 -1
  972. package/dist/react/stepper/index.js +1 -1
  973. package/dist/react/stepper-step/index.js +1 -1
  974. package/dist/react/tab/index.js +1 -1
  975. package/dist/react/tab-panel/index.js +1 -1
  976. package/dist/react/tabs/index.js +1 -1
  977. package/dist/react/tag/index.js +1 -1
  978. package/dist/react/textarea/index.js +1 -1
  979. package/dist/react/time-average-map/index.d.ts +6 -1
  980. package/dist/react/time-average-map/index.js +1 -1
  981. package/dist/react/time-series/index.d.ts +3 -0
  982. package/dist/react/time-series/index.js +1 -1
  983. package/dist/react/toast/index.js +1 -1
  984. package/dist/react/toggle/index.js +1 -1
  985. package/dist/react/tooltip/index.js +1 -1
  986. package/dist/react/variable-combobox/index.d.ts +4 -1
  987. package/dist/react/variable-combobox/index.js +1 -1
  988. package/dist/react/variable-keyword-search/index.d.ts +1 -1
  989. package/dist/react/variable-keyword-search/index.js +1 -1
  990. package/dist/terra-ui-components.js +1 -1
  991. package/dist/terra_ui_components-0.0.205-py3-none-any.whl +0 -0
  992. package/dist/terra_ui_components-0.0.205.tar.gz +0 -0
  993. package/dist/types/vue/index.d.ts +1037 -870
  994. package/dist/utilities/date.d.ts +4 -0
  995. package/dist/utilities/date.js +1 -1
  996. package/dist/utilities/variable-task.js +1 -1
  997. package/dist/vscode.html-custom-data.json +692 -661
  998. package/dist/web-types.json +2243 -2077
  999. package/package.json +6 -4
  1000. package/cdn/auth/auth.controller.d.ts +0 -16
  1001. package/cdn/chunks/GeoTIFF.KMHPSKO6.js +0 -19975
  1002. package/cdn/chunks/chunk.27KCXEZH.js +0 -431
  1003. package/cdn/chunks/chunk.2AFX3VCL.js +0 -125
  1004. package/cdn/chunks/chunk.2DFPSVL6.js +0 -68
  1005. package/cdn/chunks/chunk.2DPXUVUW.js +0 -357
  1006. package/cdn/chunks/chunk.2EKGBKN2.js +0 -19
  1007. package/cdn/chunks/chunk.2FSYZKPK.js +0 -29
  1008. package/cdn/chunks/chunk.2HXJHNH3.js +0 -5339
  1009. package/cdn/chunks/chunk.2IA6WV7R.js +0 -19
  1010. package/cdn/chunks/chunk.2NRTTHOD.js +0 -30
  1011. package/cdn/chunks/chunk.2PJPIGBI.js +0 -1122
  1012. package/cdn/chunks/chunk.2RYJM2TF.js +0 -19
  1013. package/cdn/chunks/chunk.2UATMVXP.js +0 -261
  1014. package/cdn/chunks/chunk.2UUMIAXS.js +0 -19
  1015. package/cdn/chunks/chunk.3A3QJT7L.js +0 -29
  1016. package/cdn/chunks/chunk.3UXSNM76.js +0 -32
  1017. package/cdn/chunks/chunk.4CVCW4V3.js +0 -32
  1018. package/cdn/chunks/chunk.4HFZS2GO.js +0 -19
  1019. package/cdn/chunks/chunk.4KCMI4UU.js +0 -1036
  1020. package/cdn/chunks/chunk.4M7FMP7T.js +0 -442
  1021. package/cdn/chunks/chunk.4OETFOY2.js +0 -71
  1022. package/cdn/chunks/chunk.4UI7P3Y4.js +0 -19
  1023. package/cdn/chunks/chunk.4VE4DO4N.js +0 -19
  1024. package/cdn/chunks/chunk.4YE3LB3R.js +0 -19
  1025. package/cdn/chunks/chunk.4ZBYMDD6.js +0 -189
  1026. package/cdn/chunks/chunk.5CDWDWX5.js +0 -136
  1027. package/cdn/chunks/chunk.5CLU2XHI.js +0 -29
  1028. package/cdn/chunks/chunk.5G4MIKDW.js +0 -19
  1029. package/cdn/chunks/chunk.5KHCLX4N.js +0 -64743
  1030. package/cdn/chunks/chunk.5N76KCT4.js +0 -285
  1031. package/cdn/chunks/chunk.5OEHZWXQ.js +0 -19
  1032. package/cdn/chunks/chunk.5U22JWZL.js +0 -117
  1033. package/cdn/chunks/chunk.5USXBJV5.js +0 -35
  1034. package/cdn/chunks/chunk.5YQFC77E.js +0 -37
  1035. package/cdn/chunks/chunk.6E7Z4C4E.js +0 -19
  1036. package/cdn/chunks/chunk.6FWN6ZZC.js +0 -32
  1037. package/cdn/chunks/chunk.6J2OCJ7J.js +0 -84
  1038. package/cdn/chunks/chunk.6LOJQVYN.js +0 -36
  1039. package/cdn/chunks/chunk.6OC7H5OH.js +0 -28
  1040. package/cdn/chunks/chunk.6QEEVDUE.js +0 -427
  1041. package/cdn/chunks/chunk.6SAM6SI7.js +0 -19
  1042. package/cdn/chunks/chunk.6VTIK2C6.js +0 -19
  1043. package/cdn/chunks/chunk.75FXMQOA.js +0 -19
  1044. package/cdn/chunks/chunk.7HUACA54.js +0 -29
  1045. package/cdn/chunks/chunk.7L2TSDLJ.js +0 -2028
  1046. package/cdn/chunks/chunk.7N55EAUN.js +0 -17305
  1047. package/cdn/chunks/chunk.7VOSRG7X.js +0 -19
  1048. package/cdn/chunks/chunk.7WUVQEAR.js +0 -256
  1049. package/cdn/chunks/chunk.7Y44JBIB.js +0 -550
  1050. package/cdn/chunks/chunk.7ZI27RZO.js +0 -1136
  1051. package/cdn/chunks/chunk.ACUUMB46.js +0 -33
  1052. package/cdn/chunks/chunk.AFJMWE55.js +0 -29
  1053. package/cdn/chunks/chunk.AH535OUT.js +0 -19
  1054. package/cdn/chunks/chunk.AJTI5LZT.js +0 -60
  1055. package/cdn/chunks/chunk.AL34JKBE.js +0 -19
  1056. package/cdn/chunks/chunk.ANOS3OTE.js +0 -29
  1057. package/cdn/chunks/chunk.AP5WCU4L.js +0 -134
  1058. package/cdn/chunks/chunk.AQQD3TGI.js +0 -19
  1059. package/cdn/chunks/chunk.AWU6UL7H.js +0 -19
  1060. package/cdn/chunks/chunk.AYV43FGZ.js +0 -110
  1061. package/cdn/chunks/chunk.B6MUHPWI.js +0 -19
  1062. package/cdn/chunks/chunk.BHW5IL3I.js +0 -19
  1063. package/cdn/chunks/chunk.BPRI6OGA.js +0 -29
  1064. package/cdn/chunks/chunk.BPTWMSFM.js +0 -259
  1065. package/cdn/chunks/chunk.BTPIPKWK.js +0 -29
  1066. package/cdn/chunks/chunk.C2SRCC4M.js +0 -19
  1067. package/cdn/chunks/chunk.C3SXIMJF.js +0 -29
  1068. package/cdn/chunks/chunk.CDYBBCIE.js +0 -29
  1069. package/cdn/chunks/chunk.CHKUZKW6.js +0 -19
  1070. package/cdn/chunks/chunk.CJG6IYUQ.js +0 -699
  1071. package/cdn/chunks/chunk.COA7ZPCF.js +0 -86
  1072. package/cdn/chunks/chunk.CV4QCJYB.js +0 -29
  1073. package/cdn/chunks/chunk.CV7V62DS.js +0 -33
  1074. package/cdn/chunks/chunk.CWNNDPJR.js +0 -36
  1075. package/cdn/chunks/chunk.CWVFOCEY.js +0 -123
  1076. package/cdn/chunks/chunk.D6DZ2ABR.js +0 -19
  1077. package/cdn/chunks/chunk.DAHT4D47.js +0 -19
  1078. package/cdn/chunks/chunk.DDCWMDIC.js +0 -32
  1079. package/cdn/chunks/chunk.DNVJF7IY.js +0 -39
  1080. package/cdn/chunks/chunk.DOAEM5ON.js +0 -4083
  1081. package/cdn/chunks/chunk.DOLQGIFG.js +0 -19
  1082. package/cdn/chunks/chunk.DPKA4G53.js +0 -601
  1083. package/cdn/chunks/chunk.DTUP6KDY.js +0 -19
  1084. package/cdn/chunks/chunk.DXQUJESD.js +0 -8969
  1085. package/cdn/chunks/chunk.E52YFLSL.js +0 -32
  1086. package/cdn/chunks/chunk.E6S2GD5C.js +0 -31
  1087. package/cdn/chunks/chunk.EQDMPPT6.js +0 -1413
  1088. package/cdn/chunks/chunk.ERJEIORY.js +0 -36
  1089. package/cdn/chunks/chunk.F26CV3RM.js +0 -32
  1090. package/cdn/chunks/chunk.F5ATUIYK.js +0 -29
  1091. package/cdn/chunks/chunk.FALB73Y2.js +0 -37
  1092. package/cdn/chunks/chunk.FCQ22IGW.js +0 -104
  1093. package/cdn/chunks/chunk.FQ6BZ3IY.js +0 -234
  1094. package/cdn/chunks/chunk.FS3BAWIP.js +0 -19
  1095. package/cdn/chunks/chunk.FUANKNNM.js +0 -19
  1096. package/cdn/chunks/chunk.FVMOO5PZ.js +0 -111
  1097. package/cdn/chunks/chunk.FWA7FNBM.js +0 -29
  1098. package/cdn/chunks/chunk.FXGGRWLG.js +0 -106
  1099. package/cdn/chunks/chunk.G5C4B32K.js +0 -32
  1100. package/cdn/chunks/chunk.GAE7V6RB.js +0 -93
  1101. package/cdn/chunks/chunk.GBGE6X2T.js +0 -1018
  1102. package/cdn/chunks/chunk.GBR3XNSE.js +0 -19
  1103. package/cdn/chunks/chunk.GDXZZBNN.js +0 -29
  1104. package/cdn/chunks/chunk.GEZJ4HAT.js +0 -128
  1105. package/cdn/chunks/chunk.GHYNGNCL.js +0 -19
  1106. package/cdn/chunks/chunk.GVSCZXYP.js +0 -152
  1107. package/cdn/chunks/chunk.H4THPLKV.js +0 -375
  1108. package/cdn/chunks/chunk.H6DYN62P.js +0 -19
  1109. package/cdn/chunks/chunk.H7ILJBVJ.js +0 -29
  1110. package/cdn/chunks/chunk.HA24JYMN.js +0 -34
  1111. package/cdn/chunks/chunk.HBVD5YDA.js +0 -19
  1112. package/cdn/chunks/chunk.HDOVTS2Z.js +0 -333
  1113. package/cdn/chunks/chunk.HE3V76OH.js +0 -29
  1114. package/cdn/chunks/chunk.HSQJHXWN.js +0 -19
  1115. package/cdn/chunks/chunk.HWXTC2NL.js +0 -475
  1116. package/cdn/chunks/chunk.I3ZCGZPC.js +0 -629
  1117. package/cdn/chunks/chunk.IDRFRYGU.js +0 -19
  1118. package/cdn/chunks/chunk.IPAGICZN.js +0 -38
  1119. package/cdn/chunks/chunk.IUV6CTRY.js +0 -231
  1120. package/cdn/chunks/chunk.IW2V63Q4.js +0 -278
  1121. package/cdn/chunks/chunk.J2QE6B7T.js +0 -158
  1122. package/cdn/chunks/chunk.J5WVGYHM.js +0 -1071
  1123. package/cdn/chunks/chunk.JGXF7ZXQ.js +0 -32
  1124. package/cdn/chunks/chunk.JTDMKEVX.js +0 -19
  1125. package/cdn/chunks/chunk.JU2BT7V3.js +0 -29
  1126. package/cdn/chunks/chunk.JUAS37EG.js +0 -47
  1127. package/cdn/chunks/chunk.KCLVMBYX.js +0 -19
  1128. package/cdn/chunks/chunk.KLVTN4RA.js +0 -1780
  1129. package/cdn/chunks/chunk.KNOXZXLV.js +0 -62
  1130. package/cdn/chunks/chunk.KNWDEVCZ.js +0 -872
  1131. package/cdn/chunks/chunk.KTH7B5P7.js +0 -32
  1132. package/cdn/chunks/chunk.KVXAUKHU.js +0 -29
  1133. package/cdn/chunks/chunk.L453DWOS.js +0 -162
  1134. package/cdn/chunks/chunk.L4APEYLE.js +0 -33
  1135. package/cdn/chunks/chunk.L6RUQB6F.js +0 -113
  1136. package/cdn/chunks/chunk.LEJPCXRH.js +0 -575
  1137. package/cdn/chunks/chunk.LGHXPOGX.js +0 -19
  1138. package/cdn/chunks/chunk.LMFFT6QZ.js +0 -19
  1139. package/cdn/chunks/chunk.LV52UGIG.js +0 -19
  1140. package/cdn/chunks/chunk.LYTJDP4F.js +0 -528
  1141. package/cdn/chunks/chunk.M6TNRFZO.js +0 -32
  1142. package/cdn/chunks/chunk.MB55MNWI.js +0 -132
  1143. package/cdn/chunks/chunk.MDV3HVPR.js +0 -82
  1144. package/cdn/chunks/chunk.MKKKY7LJ.js +0 -17565
  1145. package/cdn/chunks/chunk.ML6OFHI2.js +0 -60
  1146. package/cdn/chunks/chunk.MMMP6IHT.js +0 -36
  1147. package/cdn/chunks/chunk.MR7XEWMN.js +0 -29
  1148. package/cdn/chunks/chunk.N26HWWE7.js +0 -92
  1149. package/cdn/chunks/chunk.N6YZ3GGB.js +0 -19
  1150. package/cdn/chunks/chunk.NKJ73Q6Z.js +0 -101
  1151. package/cdn/chunks/chunk.NOJRNK7A.js +0 -1303
  1152. package/cdn/chunks/chunk.O5KNCAFH.js +0 -29
  1153. package/cdn/chunks/chunk.OHLWFMUZ.js +0 -19
  1154. package/cdn/chunks/chunk.OK2PJLA4.js +0 -19
  1155. package/cdn/chunks/chunk.OMERHZ7O.js +0 -1646
  1156. package/cdn/chunks/chunk.OQR3DOIL.js +0 -29
  1157. package/cdn/chunks/chunk.OVV6CMBK.js +0 -74
  1158. package/cdn/chunks/chunk.OXFYKL76.js +0 -19
  1159. package/cdn/chunks/chunk.P5MFJJGP.js +0 -195
  1160. package/cdn/chunks/chunk.P6OHZPUZ.js +0 -2786
  1161. package/cdn/chunks/chunk.PH3LKMHS.js +0 -32
  1162. package/cdn/chunks/chunk.PIEU7GT4.js +0 -29
  1163. package/cdn/chunks/chunk.PILGSWUJ.js +0 -29
  1164. package/cdn/chunks/chunk.PLI3TNYY.js +0 -33
  1165. package/cdn/chunks/chunk.PPCOW47J.js +0 -535
  1166. package/cdn/chunks/chunk.PRI7AVJX.js +0 -19
  1167. package/cdn/chunks/chunk.PWPIV2JK.js +0 -225
  1168. package/cdn/chunks/chunk.QCEPDQ6M.js +0 -32
  1169. package/cdn/chunks/chunk.QJUVJPT6.js +0 -19
  1170. package/cdn/chunks/chunk.QP2APML5.js +0 -536
  1171. package/cdn/chunks/chunk.QS7RKQGD.js +0 -19
  1172. package/cdn/chunks/chunk.QZCCAT7W.js +0 -19
  1173. package/cdn/chunks/chunk.QZIIYAVZ.js +0 -19
  1174. package/cdn/chunks/chunk.QZQ7MTL4.js +0 -34
  1175. package/cdn/chunks/chunk.RBBPG6SO.js +0 -621
  1176. package/cdn/chunks/chunk.RL57R2DM.js +0 -37
  1177. package/cdn/chunks/chunk.RMUH4JXF.js +0 -35
  1178. package/cdn/chunks/chunk.RSH7CL7U.js +0 -310
  1179. package/cdn/chunks/chunk.RXXY2DKG.js +0 -19
  1180. package/cdn/chunks/chunk.S5BNWB7B.js +0 -185
  1181. package/cdn/chunks/chunk.SDVBNJQZ.js +0 -19
  1182. package/cdn/chunks/chunk.SIK75J6S.js +0 -35
  1183. package/cdn/chunks/chunk.SJEEWCBY.js +0 -19
  1184. package/cdn/chunks/chunk.SQWR5Y2X.js +0 -134
  1185. package/cdn/chunks/chunk.SWNYIRFX.js +0 -19
  1186. package/cdn/chunks/chunk.SZJZTSTJ.js +0 -36
  1187. package/cdn/chunks/chunk.T35HK4YD.js +0 -83
  1188. package/cdn/chunks/chunk.T4QHXOJU.js +0 -29
  1189. package/cdn/chunks/chunk.T7A4P7JA.js +0 -19
  1190. package/cdn/chunks/chunk.TA7CFXHM.js +0 -276
  1191. package/cdn/chunks/chunk.TBL6KAUU.js +0 -19
  1192. package/cdn/chunks/chunk.TDCXTEE4.js +0 -29
  1193. package/cdn/chunks/chunk.TFX7LPOA.js +0 -29
  1194. package/cdn/chunks/chunk.TTKS7OPN.js +0 -49
  1195. package/cdn/chunks/chunk.TW72W3FG.js +0 -41
  1196. package/cdn/chunks/chunk.TZ7K6LRZ.js +0 -29
  1197. package/cdn/chunks/chunk.U64UG2NF.js +0 -897
  1198. package/cdn/chunks/chunk.UCGET3OV.js +0 -610
  1199. package/cdn/chunks/chunk.UFODDLBF.js +0 -190
  1200. package/cdn/chunks/chunk.UI7I6F4E.js +0 -29
  1201. package/cdn/chunks/chunk.UL6GPUWY.js +0 -169
  1202. package/cdn/chunks/chunk.UNE5PGU3.js +0 -149
  1203. package/cdn/chunks/chunk.USSOPHIF.js +0 -161
  1204. package/cdn/chunks/chunk.UVQGTCUS.js +0 -621
  1205. package/cdn/chunks/chunk.VAS4SJTV.js +0 -893
  1206. package/cdn/chunks/chunk.VATEZWZS.js +0 -360
  1207. package/cdn/chunks/chunk.VCKHZSH2.js +0 -19
  1208. package/cdn/chunks/chunk.VHHZPEYC.js +0 -29
  1209. package/cdn/chunks/chunk.VM6WPB7T.js +0 -32
  1210. package/cdn/chunks/chunk.VNCKECHZ.js +0 -853
  1211. package/cdn/chunks/chunk.VPMAHEJA.js +0 -32
  1212. package/cdn/chunks/chunk.VQF367DL.js +0 -35
  1213. package/cdn/chunks/chunk.VUXL5UGT.js +0 -2574
  1214. package/cdn/chunks/chunk.W5FQPPPY.js +0 -19
  1215. package/cdn/chunks/chunk.WCBO7P6T.js +0 -34
  1216. package/cdn/chunks/chunk.WO24QJYS.js +0 -1005
  1217. package/cdn/chunks/chunk.WSRDV4NV.js +0 -19
  1218. package/cdn/chunks/chunk.WTGU6E45.js +0 -224
  1219. package/cdn/chunks/chunk.XDVFVONG.js +0 -1945
  1220. package/cdn/chunks/chunk.XNJGPB57.js +0 -35
  1221. package/cdn/chunks/chunk.XXLSM7RI.js +0 -138
  1222. package/cdn/chunks/chunk.Y6OCTUUR.js +0 -19
  1223. package/cdn/chunks/chunk.YAWLOXFX.js +0 -271
  1224. package/cdn/chunks/chunk.YJHDQGK3.js +0 -19
  1225. package/cdn/chunks/chunk.YN7XE2VP.js +0 -940
  1226. package/cdn/chunks/chunk.YTKNBCBF.js +0 -19
  1227. package/cdn/chunks/chunk.Z3PZC46D.js +0 -33
  1228. package/cdn/chunks/chunk.Z5U6BAQK.js +0 -292
  1229. package/cdn/chunks/chunk.ZAS2SUGL.js +0 -19
  1230. package/cdn/chunks/chunk.ZI2LY2UP.js +0 -524
  1231. package/cdn/chunks/chunk.ZRSUDLUY.js +0 -754
  1232. package/cdn/chunks/chunk.ZWUG6EZN.js +0 -544
  1233. package/cdn/chunks/chunk.ZYF3AML6.js +0 -521
  1234. package/cdn/chunks/chunk.ZYGBGEUR.js +0 -48
  1235. package/cdn/chunks/chunk.ZYYDEEKW.js +0 -19
  1236. package/cdn/chunks/lerc.OJS5YQI3.js +0 -2099
  1237. package/cdn/events/terra-map-change.d.ts +0 -14
  1238. package/dist/auth/auth.controller.d.ts +0 -16
  1239. package/dist/chunks/chunk.24QTPUF2.js +0 -6
  1240. package/dist/chunks/chunk.2A67CXHH.js +0 -5
  1241. package/dist/chunks/chunk.2PQNGBP2.js +0 -1
  1242. package/dist/chunks/chunk.2SYEDAOV.js +0 -1
  1243. package/dist/chunks/chunk.2UREYJJ6.js +0 -65
  1244. package/dist/chunks/chunk.2URJIUFD.js +0 -1
  1245. package/dist/chunks/chunk.2VLYWQGB.js +0 -1
  1246. package/dist/chunks/chunk.2XENK37L.js +0 -20
  1247. package/dist/chunks/chunk.33ZH43TV.js +0 -1
  1248. package/dist/chunks/chunk.345UCNEF.js +0 -1
  1249. package/dist/chunks/chunk.347H65MH.js +0 -1
  1250. package/dist/chunks/chunk.3BGJ2Y4W.js +0 -1
  1251. package/dist/chunks/chunk.3OSNYXIB.js +0 -37
  1252. package/dist/chunks/chunk.3SBCV5YV.js +0 -74
  1253. package/dist/chunks/chunk.4AODHTLA.js +0 -1
  1254. package/dist/chunks/chunk.4JUNRLEC.js +0 -1
  1255. package/dist/chunks/chunk.4O6EGUET.js +0 -6
  1256. package/dist/chunks/chunk.4PNNISNN.js +0 -12
  1257. package/dist/chunks/chunk.4PXK26WC.js +0 -1
  1258. package/dist/chunks/chunk.4RJ73FTA.js +0 -1
  1259. package/dist/chunks/chunk.5DG6GZR2.js +0 -1
  1260. package/dist/chunks/chunk.5OFG6SIJ.js +0 -1
  1261. package/dist/chunks/chunk.5UIZ5N7P.js +0 -345
  1262. package/dist/chunks/chunk.5WH5YKQV.js +0 -129
  1263. package/dist/chunks/chunk.5WXBL2P4.js +0 -299
  1264. package/dist/chunks/chunk.5YTPWERZ.js +0 -1
  1265. package/dist/chunks/chunk.67VTCJF4.js +0 -527
  1266. package/dist/chunks/chunk.6DD3MA2P.js +0 -1
  1267. package/dist/chunks/chunk.6J72MJEC.js +0 -1
  1268. package/dist/chunks/chunk.6OCFGLDL.js +0 -1
  1269. package/dist/chunks/chunk.6Q54KXMC.js +0 -157
  1270. package/dist/chunks/chunk.6R6NM245.js +0 -39
  1271. package/dist/chunks/chunk.6SHAP35V.js +0 -55
  1272. package/dist/chunks/chunk.6SW4NJHL.js +0 -42
  1273. package/dist/chunks/chunk.6TALLYX6.js +0 -1
  1274. package/dist/chunks/chunk.6ZIINXUV.js +0 -1
  1275. package/dist/chunks/chunk.7D3QWHPQ.js +0 -1
  1276. package/dist/chunks/chunk.7DGA6X4U.js +0 -23
  1277. package/dist/chunks/chunk.7KZSDLA2.js +0 -11
  1278. package/dist/chunks/chunk.7LR6X6Z6.js +0 -1
  1279. package/dist/chunks/chunk.7TW5XUJL.js +0 -1
  1280. package/dist/chunks/chunk.7V4HIKGV.js +0 -20
  1281. package/dist/chunks/chunk.A3VSFB3O.js +0 -1
  1282. package/dist/chunks/chunk.ADGVYX3D.js +0 -1
  1283. package/dist/chunks/chunk.ALYHNSZZ.js +0 -30
  1284. package/dist/chunks/chunk.AMKSX4J2.js +0 -1
  1285. package/dist/chunks/chunk.AVBBSQQN.js +0 -26
  1286. package/dist/chunks/chunk.BCBEL5J3.js +0 -1
  1287. package/dist/chunks/chunk.BFSQRKZP.js +0 -67
  1288. package/dist/chunks/chunk.BIMQKSIE.js +0 -1
  1289. package/dist/chunks/chunk.BJFYPKRH.js +0 -1
  1290. package/dist/chunks/chunk.BK22YUL3.js +0 -1
  1291. package/dist/chunks/chunk.BMUYWCSS.js +0 -1
  1292. package/dist/chunks/chunk.BRHNY634.js +0 -1
  1293. package/dist/chunks/chunk.BVNNUSMK.js +0 -1
  1294. package/dist/chunks/chunk.C6CZYR3X.js +0 -1
  1295. package/dist/chunks/chunk.C6YOBRFC.js +0 -1
  1296. package/dist/chunks/chunk.CO3YFDGB.js +0 -27
  1297. package/dist/chunks/chunk.CQK6QHLB.js +0 -1
  1298. package/dist/chunks/chunk.CQPFMW2K.js +0 -1
  1299. package/dist/chunks/chunk.CRDPEWYE.js +0 -1
  1300. package/dist/chunks/chunk.CS4EGLGP.js +0 -1
  1301. package/dist/chunks/chunk.CSXC6DPV.js +0 -280
  1302. package/dist/chunks/chunk.DH6S4SMY.js +0 -9
  1303. package/dist/chunks/chunk.DKS4TU3H.js +0 -1
  1304. package/dist/chunks/chunk.DTISX46U.js +0 -1
  1305. package/dist/chunks/chunk.DWB7WY2B.js +0 -1
  1306. package/dist/chunks/chunk.DYY5ZEGD.js +0 -8
  1307. package/dist/chunks/chunk.E264AGUB.js +0 -1
  1308. package/dist/chunks/chunk.E2LODYPF.js +0 -1
  1309. package/dist/chunks/chunk.E36ROOQP.js +0 -1
  1310. package/dist/chunks/chunk.E6SYKRYA.js +0 -18
  1311. package/dist/chunks/chunk.E7D32WNL.js +0 -99
  1312. package/dist/chunks/chunk.EAIG3OAM.js +0 -1
  1313. package/dist/chunks/chunk.EPJM7OIN.js +0 -1
  1314. package/dist/chunks/chunk.EYLQFCG6.js +0 -1
  1315. package/dist/chunks/chunk.F2LSSWTW.js +0 -1
  1316. package/dist/chunks/chunk.F2OOGC7E.js +0 -1
  1317. package/dist/chunks/chunk.F463ZO54.js +0 -26
  1318. package/dist/chunks/chunk.F4QJ3AAN.js +0 -1
  1319. package/dist/chunks/chunk.FCLASTZJ.js +0 -59
  1320. package/dist/chunks/chunk.FEUU6PRO.js +0 -1231
  1321. package/dist/chunks/chunk.FFJ4LVA4.js +0 -1
  1322. package/dist/chunks/chunk.FLY7SZ43.js +0 -1
  1323. package/dist/chunks/chunk.FTSUICBL.js +0 -5
  1324. package/dist/chunks/chunk.FU4VAT7K.js +0 -126
  1325. package/dist/chunks/chunk.FY5MRGO2.js +0 -4
  1326. package/dist/chunks/chunk.G2RBM77C.js +0 -80
  1327. package/dist/chunks/chunk.G5WS7EAO.js +0 -1
  1328. package/dist/chunks/chunk.GCVZMOL6.js +0 -1
  1329. package/dist/chunks/chunk.GFJZ3U6O.js +0 -1
  1330. package/dist/chunks/chunk.GVQ3ULCA.js +0 -1
  1331. package/dist/chunks/chunk.GVWKFBDB.js +0 -1
  1332. package/dist/chunks/chunk.GZC4MHZL.js +0 -1
  1333. package/dist/chunks/chunk.GZJI67IH.js +0 -1
  1334. package/dist/chunks/chunk.HBM2PGPH.js +0 -1
  1335. package/dist/chunks/chunk.HFNSDYFF.js +0 -1
  1336. package/dist/chunks/chunk.HJ7H55BL.js +0 -1
  1337. package/dist/chunks/chunk.HMGPFX2Y.js +0 -1
  1338. package/dist/chunks/chunk.IGXIZYGS.js +0 -1
  1339. package/dist/chunks/chunk.IKZERRE2.js +0 -1
  1340. package/dist/chunks/chunk.IL752DKI.js +0 -1
  1341. package/dist/chunks/chunk.ILG3LGC7.js +0 -1
  1342. package/dist/chunks/chunk.ILLKI5UT.js +0 -1
  1343. package/dist/chunks/chunk.IT5GSXLK.js +0 -1
  1344. package/dist/chunks/chunk.IX7TDXLM.js +0 -1
  1345. package/dist/chunks/chunk.J74HQDC4.js +0 -113
  1346. package/dist/chunks/chunk.JDUDVTGM.js +0 -33
  1347. package/dist/chunks/chunk.JER3EYSI.js +0 -43
  1348. package/dist/chunks/chunk.JFQVCD2G.js +0 -1
  1349. package/dist/chunks/chunk.JJDVDIMZ.js +0 -1
  1350. package/dist/chunks/chunk.JUCYMLNQ.js +0 -24
  1351. package/dist/chunks/chunk.JWV3256S.js +0 -1
  1352. package/dist/chunks/chunk.K3JWAUPW.js +0 -1
  1353. package/dist/chunks/chunk.K7EEMK7S.js +0 -1
  1354. package/dist/chunks/chunk.KQQP67QH.js +0 -1
  1355. package/dist/chunks/chunk.L7LZXSLB.js +0 -1
  1356. package/dist/chunks/chunk.L7TU4EE7.js +0 -1
  1357. package/dist/chunks/chunk.LBQFMWHH.js +0 -1
  1358. package/dist/chunks/chunk.LHS2JI5C.js +0 -1
  1359. package/dist/chunks/chunk.LRB2T4C6.js +0 -1
  1360. package/dist/chunks/chunk.LSBA65NF.js +0 -55
  1361. package/dist/chunks/chunk.LVJYASQH.js +0 -41
  1362. package/dist/chunks/chunk.M5IM24X6.js +0 -1
  1363. package/dist/chunks/chunk.M7GAVBP4.js +0 -1
  1364. package/dist/chunks/chunk.MRAFQ6FC.js +0 -1
  1365. package/dist/chunks/chunk.MSEAPM5O.js +0 -43
  1366. package/dist/chunks/chunk.MXJCFEZ4.js +0 -780
  1367. package/dist/chunks/chunk.NFGRTKHK.js +0 -35
  1368. package/dist/chunks/chunk.NM6S6YGL.js +0 -30
  1369. package/dist/chunks/chunk.NNGAFMYS.js +0 -1
  1370. package/dist/chunks/chunk.NS34WRBV.js +0 -154
  1371. package/dist/chunks/chunk.NZ4QJK47.js +0 -176
  1372. package/dist/chunks/chunk.NZERF5GE.js +0 -1
  1373. package/dist/chunks/chunk.O36CSOQK.js +0 -11
  1374. package/dist/chunks/chunk.OAFIM27Q.js +0 -1
  1375. package/dist/chunks/chunk.OBJ27374.js +0 -1
  1376. package/dist/chunks/chunk.ONZTNAIQ.js +0 -1
  1377. package/dist/chunks/chunk.OQ4IT42W.js +0 -1
  1378. package/dist/chunks/chunk.OSAQ45F4.js +0 -145
  1379. package/dist/chunks/chunk.OSDEVN34.js +0 -1001
  1380. package/dist/chunks/chunk.P23PNMO2.js +0 -1
  1381. package/dist/chunks/chunk.PGC2LCDL.js +0 -1
  1382. package/dist/chunks/chunk.PGUHY4NZ.js +0 -1
  1383. package/dist/chunks/chunk.PHWB36E5.js +0 -4
  1384. package/dist/chunks/chunk.PIP3HL2S.js +0 -1
  1385. package/dist/chunks/chunk.PM3RUTRJ.js +0 -1
  1386. package/dist/chunks/chunk.PNRCW5GH.js +0 -48
  1387. package/dist/chunks/chunk.PO5EHL4Q.js +0 -1
  1388. package/dist/chunks/chunk.PSNV3IQZ.js +0 -1
  1389. package/dist/chunks/chunk.Q6CVPPFA.js +0 -1
  1390. package/dist/chunks/chunk.QDFHF7LY.js +0 -1
  1391. package/dist/chunks/chunk.QEKPRA6B.js +0 -1
  1392. package/dist/chunks/chunk.QGXUQL5S.js +0 -1
  1393. package/dist/chunks/chunk.QGZOQXT5.js +0 -148
  1394. package/dist/chunks/chunk.QH3KZBRJ.js +0 -1
  1395. package/dist/chunks/chunk.QK5M4OHI.js +0 -1
  1396. package/dist/chunks/chunk.R6RTP7QP.js +0 -1
  1397. package/dist/chunks/chunk.RBPNA4JU.js +0 -22
  1398. package/dist/chunks/chunk.REIUDVA3.js +0 -1
  1399. package/dist/chunks/chunk.RH76C7M7.js +0 -1
  1400. package/dist/chunks/chunk.RHDTWIMS.js +0 -1
  1401. package/dist/chunks/chunk.RKLTK3FR.js +0 -1
  1402. package/dist/chunks/chunk.RLOQMCKP.js +0 -1
  1403. package/dist/chunks/chunk.S65R5GMI.js +0 -1
  1404. package/dist/chunks/chunk.S6AD3O5Y.js +0 -2
  1405. package/dist/chunks/chunk.S6UNY7TY.js +0 -1
  1406. package/dist/chunks/chunk.SAVXAZC3.js +0 -1
  1407. package/dist/chunks/chunk.SDFUXOW6.js +0 -47
  1408. package/dist/chunks/chunk.SM2LJQQZ.js +0 -1
  1409. package/dist/chunks/chunk.SN4M25TW.js +0 -1
  1410. package/dist/chunks/chunk.SP4US3KC.js +0 -1
  1411. package/dist/chunks/chunk.SP7J3EGR.js +0 -1
  1412. package/dist/chunks/chunk.ST6Y273B.js +0 -1
  1413. package/dist/chunks/chunk.SW4EXLIK.js +0 -100
  1414. package/dist/chunks/chunk.SYA4MGC4.js +0 -1
  1415. package/dist/chunks/chunk.T3RRBLSI.js +0 -1
  1416. package/dist/chunks/chunk.T5MMUQEM.js +0 -2
  1417. package/dist/chunks/chunk.T5UOTK5T.js +0 -14
  1418. package/dist/chunks/chunk.TCJYR6XR.js +0 -75
  1419. package/dist/chunks/chunk.TEJABDMI.js +0 -1
  1420. package/dist/chunks/chunk.TOUSLOQP.js +0 -19
  1421. package/dist/chunks/chunk.TWL4OKWI.js +0 -1
  1422. package/dist/chunks/chunk.TXJOFCEB.js +0 -20
  1423. package/dist/chunks/chunk.U5DWDLRH.js +0 -25
  1424. package/dist/chunks/chunk.UBXADY37.js +0 -566
  1425. package/dist/chunks/chunk.UJUBD5K6.js +0 -1
  1426. package/dist/chunks/chunk.UMIX7BEK.js +0 -1
  1427. package/dist/chunks/chunk.UNPFONVM.js +0 -121
  1428. package/dist/chunks/chunk.VM42BF4S.js +0 -1
  1429. package/dist/chunks/chunk.VO2NGMYX.js +0 -1
  1430. package/dist/chunks/chunk.VPEIRF5L.js +0 -1
  1431. package/dist/chunks/chunk.VQBTIXTR.js +0 -1
  1432. package/dist/chunks/chunk.VRGYQH3V.js +0 -1
  1433. package/dist/chunks/chunk.W22Z5NC6.js +0 -1
  1434. package/dist/chunks/chunk.W2AIXOEB.js +0 -1
  1435. package/dist/chunks/chunk.W37YFNFN.js +0 -1
  1436. package/dist/chunks/chunk.W7LK5SL4.js +0 -1
  1437. package/dist/chunks/chunk.WHM6GYCJ.js +0 -1
  1438. package/dist/chunks/chunk.WSK5WSL4.js +0 -1
  1439. package/dist/chunks/chunk.X3J4I27U.js +0 -1
  1440. package/dist/chunks/chunk.XD4664TI.js +0 -16
  1441. package/dist/chunks/chunk.XIGVC4SV.js +0 -62
  1442. package/dist/chunks/chunk.XS3KPVEZ.js +0 -1
  1443. package/dist/chunks/chunk.XX7TMK7N.js +0 -1
  1444. package/dist/chunks/chunk.Y5DJ2TIT.js +0 -1
  1445. package/dist/chunks/chunk.YH36XKHI.js +0 -1
  1446. package/dist/chunks/chunk.YJCP5H5H.js +0 -1
  1447. package/dist/chunks/chunk.YUFCED44.js +0 -64
  1448. package/dist/chunks/chunk.Z5WR5G6V.js +0 -35
  1449. package/dist/chunks/chunk.ZAO2ZNCW.js +0 -1
  1450. package/dist/chunks/chunk.ZCO5H22U.js +0 -1
  1451. package/dist/chunks/chunk.ZJRSMGBD.js +0 -1
  1452. package/dist/chunks/chunk.ZOFZPC6S.js +0 -9
  1453. package/dist/chunks/chunk.ZWQ5GUBX.js +0 -55
  1454. package/dist/chunks/chunk.ZZDDQ567.js +0 -1
  1455. package/dist/events/terra-map-change.d.ts +0 -14
  1456. package/dist/terra_ui_components-0.0.203-py3-none-any.whl +0 -0
  1457. package/dist/terra_ui_components-0.0.203.tar.gz +0 -0
@@ -1,2786 +0,0 @@
1
- import {
2
- KnownFeatureFlags,
3
- isFeatureEnabled
4
- } from "./chunk.G2DYD4KM.js";
5
- import {
6
- convertVariableEntryIdToGiovanniFormat
7
- } from "./chunk.MPGVYBLV.js";
8
- import {
9
- getNotebook
10
- } from "./chunk.MDV3HVPR.js";
11
- import {
12
- TerraLogin
13
- } from "./chunk.FXGGRWLG.js";
14
- import {
15
- TerraDialog
16
- } from "./chunk.RBBPG6SO.js";
17
- import {
18
- TerraDataAccess,
19
- debounce
20
- } from "./chunk.VAS4SJTV.js";
21
- import {
22
- TerraSlider
23
- } from "./chunk.4M7FMP7T.js";
24
- import {
25
- TerraMenu
26
- } from "./chunk.UNE5PGU3.js";
27
- import {
28
- TerraMenuItem
29
- } from "./chunk.WTGU6E45.js";
30
- import {
31
- TerraDatePicker
32
- } from "./chunk.VUXL5UGT.js";
33
- import {
34
- data_subsetter_styles_default
35
- } from "./chunk.GBGE6X2T.js";
36
- import {
37
- HarmonyRequestController
38
- } from "./chunk.S5BNWB7B.js";
39
- import {
40
- HarmonyRequest
41
- } from "./chunk.27KCXEZH.js";
42
- import {
43
- AuthController
44
- } from "./chunk.6J2OCJ7J.js";
45
- import {
46
- CollectionController
47
- } from "./chunk.7WUVQEAR.js";
48
- import {
49
- TerraSpatialPicker
50
- } from "./chunk.LYTJDP4F.js";
51
- import {
52
- OUTPUT_MIME_TYPES
53
- } from "./chunk.7Y44JBIB.js";
54
- import {
55
- LatLng
56
- } from "./chunk.V35DOB7Q.js";
57
- import {
58
- TerraDropdown
59
- } from "./chunk.QP2APML5.js";
60
- import {
61
- TerraInput
62
- } from "./chunk.UCGET3OV.js";
63
- import {
64
- QueryClientMixin
65
- } from "./chunk.2AK5VNMP.js";
66
- import {
67
- TerraLoader
68
- } from "./chunk.5CDWDWX5.js";
69
- import {
70
- formatDate,
71
- getUTCDate
72
- } from "./chunk.NKJ73Q6Z.js";
73
- import {
74
- HttpException
75
- } from "./chunk.AOD3GTXS.js";
76
- import {
77
- TerraButton
78
- } from "./chunk.HWXTC2NL.js";
79
- import {
80
- TerraAccordion
81
- } from "./chunk.COA7ZPCF.js";
82
- import {
83
- TerraIcon
84
- } from "./chunk.PWPIV2JK.js";
85
- import {
86
- getBasePath
87
- } from "./chunk.Y7RQIPI5.js";
88
- import {
89
- TerraAlert
90
- } from "./chunk.YAWLOXFX.js";
91
- import {
92
- watch
93
- } from "./chunk.PVZWDD4G.js";
94
- import {
95
- TerraElement,
96
- component_styles_default,
97
- e,
98
- n,
99
- r,
100
- undefinedStringConverter
101
- } from "./chunk.UVQGTCUS.js";
102
- import {
103
- A,
104
- b
105
- } from "./chunk.WJMP353K.js";
106
- import {
107
- __decorateClass,
108
- __privateAdd,
109
- __privateGet,
110
- __privateMethod,
111
- __spreadProps,
112
- __spreadValues,
113
- init_buffer,
114
- init_dirname,
115
- init_process
116
- } from "./chunk.IIJBAEGD.js";
117
-
118
- // src/components/data-subsetter/data-subsetter.component.ts
119
- init_dirname();
120
- init_buffer();
121
- init_process();
122
-
123
- // src/lib/jupyter.ts
124
- init_dirname();
125
- init_buffer();
126
- init_process();
127
- var JUPYTER_LITE_URL = "https://gesdisc.github.io/jupyterlite/lab/index.html";
128
- function openJupyterLiteWindow(readyCb) {
129
- const jupyterWindow = window.open(JUPYTER_LITE_URL, "_blank");
130
- if (!jupyterWindow) {
131
- console.error("Failed to open JupyterLite!");
132
- return;
133
- }
134
- window.addEventListener("message", (event) => readyCb(event, jupyterWindow), {
135
- once: true
136
- });
137
- return jupyterWindow;
138
- }
139
- function sendDataToJupyterNotebook(type, data) {
140
- openJupyterLiteWindow((event, jupyterWindow) => {
141
- var _a;
142
- if (((_a = event.data) == null ? void 0 : _a.type) !== "jupyterlite-ready") {
143
- return;
144
- }
145
- console.log("JupyterLite is ready!");
146
- jupyterWindow.postMessage(__spreadValues({ type }, data), "*");
147
- });
148
- }
149
-
150
- // src/services/cmr-variable.service.ts
151
- init_dirname();
152
- init_buffer();
153
- init_process();
154
- var CmrVariableService = class {
155
- /**
156
- * given a name and a list of variables, return the variable with the matching name
157
- */
158
- getVariableByName(name, variables) {
159
- var _a;
160
- if (!variables || !((_a = variables.items) == null ? void 0 : _a.length)) {
161
- return;
162
- }
163
- return variables.items.find((variable) => variable.umm.Name === name);
164
- }
165
- /**
166
- * given a variable, return the variable's display label
167
- * ex: Shortname = LongName (Units)
168
- */
169
- getVariableDisplayLabel(variable) {
170
- const { Name = "", LongName = "", Units = "" } = variable.umm;
171
- return `${Name}${Name && LongName && Name !== LongName ? ` = ${LongName}` : ""}${Units ? ` (${Units})` : ""}`;
172
- }
173
- };
174
- var cmrVariableService = new CmrVariableService();
175
- var cmr_variable_service_default = cmrVariableService;
176
-
177
- // src/components/data-subsetter/data-subsetter.component.ts
178
- var defaultOutputFormat = {
179
- key: OUTPUT_MIME_TYPES["NETCDF-4"],
180
- label: "NetCDF",
181
- description: "Download data in NetCDF format"
182
- };
183
- var DEFAULT_DATE_RANGE_MIN_DAYS = 30;
184
- var DEFAULT_DATE_RANGE_MIN_GRANULES = 3;
185
- var _collectionController, _authController, _harmonyRequestController, _TerraDataSubsetter_instances, renderFooterForDialog_fn, renderSizeInfo_fn, renderSubsetOptions_fn, _resetAllParameters, renderSearchForCollection_fn, renderOutputFormatSelection_fn, renderDateRangeSelection_fn, _handleDateChange, _resetDateRangeSelection, _resetFormatSelection, getCollectionDateRange_fn, getDefaultRecentDateRange_fn, renderSpatialSelection_fn, _handleSpatialChange, _resetSpatialSelection, renderVariableSelection_fn, renderDimensionGroup_fn, setDimensionValue_fn, renderDimensionSelection_fn, filterVariableTree_fn, handleVariableFilterChange_fn, buildVariableTree_fn, renderVariableTree_fn, getAllGroupPaths_fn, toggleGroupExpand_fn, toggleExpandCollapseAll_fn, toggleVariableSelection_fn, markFieldTouched_fn, _resetVariableSelection, resetDimensionSelection_fn, isDimensionExcluded_fn, getCommonSelectableDimensions_fn, renderJobStatus_fn, renderSelectedParams_fn, cancelJob_fn, resumeJob_fn, canCancelJob_fn, renderJobActionButtons_fn, getData_fn, submitDataRequest_fn, touchAllFields_fn, numberOfFilesFoundEstimate_fn, getDocumentationLinks_fn, getDataLinks_fn, hasAtLeastOneSubsetOption_fn, hasSpatialSubset_fn, renderPausedMessage_fn, renderJobMessage_fn, getJobMessageText_fn, estimateJobSize_fn, refineParameters_fn, backToSubsetOptions_fn, viewRunningJob_fn, handleDownloadSelect_fn, downloadLinksAsTxt_fn, downloadPythonScript_fn, downloadEarthdataDownload_fn, handleJupyterNotebookClick_fn, renderAvailableTemporalRangeSection_fn, renderAvailableSpatialRangeSection_fn, renderDataAccessModeSelection_fn, getGiovanniValidationError_fn, getHarmonyRequestErrorMessage_fn, renderHarmonyRequestError_fn, _handleExpandSearchClick;
186
- var TerraDataSubsetter = class extends QueryClientMixin(TerraElement) {
187
- constructor() {
188
- super(...arguments);
189
- __privateAdd(this, _TerraDataSubsetter_instances);
190
- this.showCollectionSearch = true;
191
- this.readConstraintsFromUrl = false;
192
- this.showHistoryPanel = true;
193
- this.isHistoryView = false;
194
- this.selectedVariables = [];
195
- this.selectedDimensionIndexes = {};
196
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
197
- this.variableFilterText = "";
198
- this.touchedFields = /* @__PURE__ */ new Set();
199
- this.selectedDateRange = {
200
- startDate: null,
201
- endDate: null
202
- };
203
- this.selectedFormat = defaultOutputFormat;
204
- this.cancelingGetData = false;
205
- this.resumingJob = false;
206
- this.isSubmittingRequest = false;
207
- this.selectedTab = "web-links";
208
- this.refineParameters = false;
209
- this.collectionSearchType = "all";
210
- this.collectionSearchLoading = false;
211
- this.collectionLoading = false;
212
- this.collectionAccordionOpen = true;
213
- this.dataAccessMode = "original";
214
- __privateAdd(this, _collectionController, new CollectionController(this, {
215
- getCollectionEntryId: () => this.collectionEntryId,
216
- getBearerToken: () => this.bearerToken,
217
- preferredOutputFormats: [
218
- OUTPUT_MIME_TYPES["NETCDF-4 (OPeNDAP URL)"],
219
- OUTPUT_MIME_TYPES["NETCDF-4"]
220
- ]
221
- }));
222
- __privateAdd(this, _authController, new AuthController(this));
223
- __privateAdd(this, _harmonyRequestController, new HarmonyRequestController(this));
224
- __privateAdd(this, _resetAllParameters, () => {
225
- this.selectedVariables = [];
226
- if (__privateMethod(this, _TerraDataSubsetter_instances, hasSpatialSubset_fn).call(this)) {
227
- __privateGet(this, _resetSpatialSelection).call(this);
228
- }
229
- this.selectedDateRange = __privateMethod(this, _TerraDataSubsetter_instances, getDefaultRecentDateRange_fn).call(this);
230
- this.touchedFields = /* @__PURE__ */ new Set();
231
- this.validationError = void 0;
232
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
233
- this.requestUpdate();
234
- });
235
- __privateAdd(this, _handleDateChange, (e2) => {
236
- __privateMethod(this, _TerraDataSubsetter_instances, markFieldTouched_fn).call(this, "date");
237
- this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
238
- startDate: e2.detail.startDate,
239
- endDate: e2.detail.endDate
240
- });
241
- });
242
- __privateAdd(this, _resetDateRangeSelection, () => {
243
- this.selectedDateRange = __privateMethod(this, _TerraDataSubsetter_instances, getDefaultRecentDateRange_fn).call(this);
244
- });
245
- __privateAdd(this, _resetFormatSelection, () => {
246
- var _a, _b, _c;
247
- this.selectedFormat = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats) == null ? void 0 : _b[0]) != null ? _c : defaultOutputFormat;
248
- });
249
- __privateAdd(this, _handleSpatialChange, (e2) => {
250
- var _a;
251
- __privateMethod(this, _TerraDataSubsetter_instances, markFieldTouched_fn).call(this, "spatial");
252
- if (e2.detail.type === "point" /* POINT */) {
253
- this.shapeGeoJson = void 0;
254
- this.spatialLabel = void 0;
255
- this.spatialSelection = e2.detail.latLng;
256
- } else if (e2.detail.type === "bbox" /* BBOX */) {
257
- this.shapeGeoJson = void 0;
258
- this.spatialLabel = void 0;
259
- this.spatialSelection = e2.detail.bounds;
260
- } else if (e2.detail.type === "polygon" /* POLYGON */) {
261
- this.spatialSelection = void 0;
262
- if (e2.detail.geoJson) {
263
- this.shapeGeoJson = e2.detail.geoJson;
264
- this.spatialLabel = (_a = e2.detail.label) != null ? _a : "Shape selected";
265
- } else if (e2.detail.latLngs.length > 0) {
266
- const coords = e2.detail.latLngs.map((ll) => [ll.lng, ll.lat]);
267
- coords.push(coords[0]);
268
- this.shapeGeoJson = {
269
- type: "FeatureCollection",
270
- features: [
271
- {
272
- type: "Feature",
273
- geometry: {
274
- type: "Polygon",
275
- coordinates: [coords]
276
- },
277
- properties: null
278
- }
279
- ]
280
- };
281
- this.spatialLabel = `Polygon (${e2.detail.latLngs.length} vertices)`;
282
- } else {
283
- this.shapeGeoJson = void 0;
284
- this.spatialLabel = void 0;
285
- }
286
- } else {
287
- this.spatialSelection = void 0;
288
- this.shapeGeoJson = void 0;
289
- this.spatialLabel = void 0;
290
- }
291
- });
292
- /**
293
- * resets the spatial selection back to the bounds of the collection
294
- */
295
- __privateAdd(this, _resetSpatialSelection, () => {
296
- this.spatialSelection = void 0;
297
- this.shapeGeoJson = void 0;
298
- this.spatialLabel = void 0;
299
- this.spatialPicker.clear();
300
- __privateMethod(this, _TerraDataSubsetter_instances, markFieldTouched_fn).call(this, "spatial");
301
- });
302
- __privateAdd(this, _resetVariableSelection, () => {
303
- this.selectedVariables = [];
304
- __privateMethod(this, _TerraDataSubsetter_instances, resetDimensionSelection_fn).call(this);
305
- });
306
- __privateAdd(this, _handleExpandSearchClick, (event) => {
307
- event.preventDefault();
308
- __privateMethod(this, _TerraDataSubsetter_instances, backToSubsetOptions_fn).call(this);
309
- });
310
- }
311
- jobIdChanged() {
312
- if (this.jobId) {
313
- __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId, {
314
- bearerToken: this.bearerToken
315
- });
316
- this.dataAccessMode = "subset";
317
- }
318
- }
319
- shortNameAndVersionChanged() {
320
- if (this.shortName && this.version) {
321
- this.collectionEntryId = `${this.shortName}_${this.version}`;
322
- }
323
- }
324
- collectionEntryIdChanged() {
325
- if (this.collectionEntryId) {
326
- this.showCollectionSearch = false;
327
- } else {
328
- this.showCollectionSearch = true;
329
- }
330
- }
331
- readConstraintsFromUrlChanged() {
332
- var _a, _b;
333
- if (this.readConstraintsFromUrl) {
334
- const urlParams = new URLSearchParams(window.location.search);
335
- const rawShortName = (_a = urlParams.get("shortname")) != null ? _a : void 0;
336
- const rawVersion = (_b = urlParams.get("version")) != null ? _b : void 0;
337
- this.shortName = rawShortName ? rawShortName.length <= 85 ? rawShortName.replace(/[^a-zA-Z0-9._]/g, "") : void 0 : void 0;
338
- this.version = rawVersion ? rawVersion.length <= 8 ? rawVersion.replace(/[^a-zA-Z0-9._]/g, "") : void 0 : void 0;
339
- if (this.shortName && this.version) {
340
- this.shortNameAndVersionChanged();
341
- } else {
342
- this.collectionEntryId = void 0;
343
- console.warn(
344
- "Invalid shortname or version in URL parameters. Collection entry ID will not be set."
345
- );
346
- }
347
- }
348
- }
349
- firstUpdated() {
350
- if (this.collectionEntryId) {
351
- this.showCollectionSearch = false;
352
- }
353
- if (this.jobId) {
354
- __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId, {
355
- bearerToken: this.bearerToken
356
- });
357
- this.dataAccessMode = "subset";
358
- }
359
- this.renderHistoryPanel();
360
- }
361
- updated(changedProps) {
362
- var _a, _b, _c;
363
- super.updated(changedProps);
364
- if (this.resumingJob && __privateGet(this, _harmonyRequestController).status !== "paused" /* PAUSED */) {
365
- this.resumingJob = false;
366
- }
367
- if (this.cancelingGetData && !__privateMethod(this, _TerraDataSubsetter_instances, canCancelJob_fn).call(this)) {
368
- this.cancelingGetData = false;
369
- }
370
- const newCollectionInfo = __privateGet(this, _collectionController).collectionInfo;
371
- if (newCollectionInfo !== this.collectionWithServices) {
372
- this.collectionWithServices = newCollectionInfo;
373
- }
374
- const sampling = (_a = __privateGet(this, _collectionController).sampling) == null ? void 0 : _a.data;
375
- if ((sampling == null ? void 0 : sampling.minDate) !== this.granuleMinDate) {
376
- this.granuleMinDate = sampling == null ? void 0 : sampling.minDate;
377
- }
378
- if ((sampling == null ? void 0 : sampling.maxDate) !== this.granuleMaxDate) {
379
- this.granuleMaxDate = sampling == null ? void 0 : sampling.maxDate;
380
- }
381
- const newGiovanni = __privateGet(this, _collectionController).giovanniVariables;
382
- if (newGiovanni.size !== ((_c = (_b = this.giovanniConfiguredVariables) == null ? void 0 : _b.size) != null ? _c : 0)) {
383
- this.giovanniConfiguredVariables = newGiovanni;
384
- }
385
- }
386
- /** True if the collection contains sub-daily granules. Used by DataSubsetterController to format dates. */
387
- get isSubDaily() {
388
- return __privateGet(this, _collectionController).isSubDaily;
389
- }
390
- collectionChanged() {
391
- const { startDate, endDate } = __privateMethod(this, _TerraDataSubsetter_instances, getDefaultRecentDateRange_fn).call(this);
392
- this.selectedDateRange = { startDate, endDate };
393
- __privateGet(this, _resetFormatSelection).call(this);
394
- this.collectionLoading = false;
395
- this.collectionAccordionOpen = false;
396
- }
397
- granuleDatesChanged() {
398
- if (!this.granuleMinDate && !this.granuleMaxDate) return;
399
- const { startDate, endDate } = __privateMethod(this, _TerraDataSubsetter_instances, getDefaultRecentDateRange_fn).call(this);
400
- this.selectedDateRange = { startDate, endDate };
401
- }
402
- selectedFormatChanged() {
403
- if (this.selectedFormat.isGiovanniFormat && this.selectedVariables.length > 1) {
404
- this.selectedVariables = [this.selectedVariables[0]];
405
- }
406
- }
407
- showDialog() {
408
- var _a;
409
- (_a = this.dialogElement) == null ? void 0 : _a.show();
410
- }
411
- render() {
412
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
413
- const showJobStatus = (__privateGet(this, _harmonyRequestController).jobId || this.harmonyRequestError) && !this.refineParameters;
414
- const showMinimizeButton = showJobStatus && !!this.dialog;
415
- const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
416
- const hasCapabilitiesError = !this.collectionWithServices && __privateGet(this, _collectionController).hasCapabilitiesError;
417
- const content = b`
418
- <div class="container">
419
- ${hasCapabilitiesError ? b`
420
- <terra-alert open variant="danger" appearance="white">
421
- Failed to find the requested collection.
422
- </terra-alert>
423
- ` : b`
424
- ${!this.dialog ? b`
425
- <div class="header">
426
- <h1>
427
- <svg
428
- class="download-icon"
429
- viewBox="0 0 24 24"
430
- fill="currentColor"
431
- >
432
- <path
433
- d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
434
- />
435
- </svg>
436
- ${title}
437
- </h1>
438
-
439
- ${showMinimizeButton ? b`<button
440
- class="minimize-btn"
441
- @click=${() => this.minimizeDialog()}
442
- >
443
- -
444
- </button>` : A}
445
- </div>
446
- ` : A}
447
- ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? b`
448
- <div class="section">
449
- ${__privateMethod(this, _TerraDataSubsetter_instances, renderDataAccessModeSelection_fn).call(this)}
450
- </div>
451
- ` : A}
452
- ${this.dataAccessMode === "original" ? b`
453
- <div class="section">
454
- <terra-data-access
455
- short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
456
- version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
457
- ?footer-slot=${!!this.dialog}
458
- >
459
- ${this.dialog ? b`
460
- <div
461
- slot="footer"
462
- style="margin-top: 15px;"
463
- >
464
- <slot
465
- name="data-access-footer"
466
- ></slot>
467
- </div>
468
- ` : A}
469
- </terra-data-access>
470
- </div>
471
- ` : showJobStatus ? __privateMethod(this, _TerraDataSubsetter_instances, renderJobStatus_fn).call(this) : __privateMethod(this, _TerraDataSubsetter_instances, renderSubsetOptions_fn).call(this)}
472
- `}
473
- </div>
474
- `;
475
- if (this.dialog) {
476
- return b`
477
- <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
478
- <span
479
- slot="label"
480
- style="display: flex; align-items: center; gap: 8px; color: var(--terra-text-brand-on-secondary, #1c67e3); font-weight: 600;"
481
- >
482
- <svg
483
- class="download-icon"
484
- viewBox="0 0 24 24"
485
- fill="currentColor"
486
- style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
487
- >
488
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
489
- </svg>
490
- ${title}
491
- </span>
492
- ${showMinimizeButton ? b`
493
- <button
494
- slot="header-actions"
495
- class="minimize-btn"
496
- @click=${() => {
497
- var _a2;
498
- return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
499
- }}
500
- aria-label="Minimize"
501
- >
502
- -
503
- </button>
504
- ` : A}
505
- <slot name="dialog-header-content"></slot>
506
- ${content} ${__privateMethod(this, _TerraDataSubsetter_instances, renderFooterForDialog_fn).call(this)}
507
- </terra-dialog>
508
- `;
509
- }
510
- return b`
511
- <div class="container">
512
- <div class="header">
513
- <h1>
514
- <svg
515
- class="download-icon"
516
- viewBox="0 0 24 24"
517
- fill="currentColor"
518
- >
519
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
520
- </svg>
521
- ${title}
522
- </h1>
523
-
524
- ${showMinimizeButton ? b`<button
525
- class="minimize-btn"
526
- @click=${() => this.minimizeDialog()}
527
- >
528
- -
529
- </button>` : A}
530
- </div>
531
- ${hasCapabilitiesError ? b`
532
- <terra-alert open variant="danger" appearance="white">
533
- Failed to find the requested collection.
534
- </terra-alert>
535
- ` : b`
536
- ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? b`
537
- <div class="section">
538
- ${__privateMethod(this, _TerraDataSubsetter_instances, renderDataAccessModeSelection_fn).call(this)}
539
- </div>
540
- ` : A}
541
- ${this.dataAccessMode === "original" ? b`
542
- <div class="section">
543
- <terra-data-access
544
- short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
545
- version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
546
- ?footer-slot=${!!this.dialog}
547
- >
548
- ${this.dialog ? b`
549
- <div
550
- slot="footer"
551
- style="margin-top: 15px;"
552
- >
553
- <slot
554
- name="data-access-footer"
555
- ></slot>
556
- </div>
557
- ` : A}
558
- </terra-data-access>
559
- </div>
560
- ` : showJobStatus ? __privateMethod(this, _TerraDataSubsetter_instances, renderJobStatus_fn).call(this) : __privateMethod(this, _TerraDataSubsetter_instances, renderSubsetOptions_fn).call(this)}
561
- `}
562
- </div>
563
- `;
564
- }
565
- minimizeDialog() {
566
- var _a;
567
- (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
568
- }
569
- handleCollectionSearch(searchTerm) {
570
- this.collectionSearchQuery = searchTerm;
571
- }
572
- renderHistoryPanel() {
573
- const existingHistoryPanel = document.querySelector(
574
- "terra-data-subsetter-history"
575
- );
576
- if (!existingHistoryPanel && this.bearerToken) {
577
- const historyPanel = document.createElement(
578
- "terra-data-subsetter-history"
579
- );
580
- if (this.bearerToken) {
581
- historyPanel.setAttribute("bearer-token", this.bearerToken);
582
- }
583
- if (this.environment) {
584
- historyPanel.setAttribute("environment", this.environment);
585
- }
586
- document.body.appendChild(historyPanel);
587
- }
588
- }
589
- };
590
- _collectionController = new WeakMap();
591
- _authController = new WeakMap();
592
- _harmonyRequestController = new WeakMap();
593
- _TerraDataSubsetter_instances = new WeakSet();
594
- renderFooterForDialog_fn = function() {
595
- const showJobStatus = (__privateGet(this, _harmonyRequestController).jobId || this.harmonyRequestError) && !this.refineParameters;
596
- if (showJobStatus) {
597
- if (!__privateGet(this, _harmonyRequestController).jobId) {
598
- return A;
599
- }
600
- return b`
601
- <div slot="footer" class="footer">
602
- ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
603
- <div
604
- style="display: flex; align-items: center; gap: 8px;"
605
- >
606
- <terra-dropdown
607
- @terra-select=${__privateMethod(this, _TerraDataSubsetter_instances, handleDownloadSelect_fn)}
608
- >
609
- <terra-button slot="trigger" caret>
610
- Download Options
611
- </terra-button>
612
- <terra-menu>
613
- <terra-menu-item value="file-list">
614
- <svg
615
- slot="prefix"
616
- viewBox="0 0 24 24"
617
- width="16"
618
- height="16"
619
- style="width: 16px; height: 16px;"
620
- >
621
- <path
622
- fill="currentColor"
623
- d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
624
- />
625
- </svg>
626
- File List
627
- </terra-menu-item>
628
- <terra-menu-item value="python-script">
629
- <svg
630
- slot="prefix"
631
- viewBox="0 0 128 128"
632
- width="16"
633
- height="16"
634
- style="width: 16px; height: 16px;"
635
- >
636
- <path
637
- fill="currentColor"
638
- d="M49.33 62h29.159C86.606 62 93 55.132 93 46.981V19.183c0-7.912-6.632-13.856-14.555-15.176-5.014-.835-10.195-1.215-15.187-1.191-4.99.023-9.612.448-13.805 1.191C37.098 6.188 35 10.758 35 19.183V30h29v4H23.776c-8.484 0-15.914 5.108-18.237 14.811-2.681 11.12-2.8 17.919 0 29.53C7.614 86.983 12.569 93 21.054 93H31V79.952C31 70.315 39.428 62 49.33 62zm-1.838-39.11c-3.026 0-5.478-2.479-5.478-5.545 0-3.079 2.451-5.581 5.478-5.581 3.015 0 5.479 2.502 5.479 5.581-.001 3.066-2.465 5.545-5.479 5.545zm74.789 25.921C120.183 40.363 116.178 34 107.682 34H97v12.981C97 57.031 88.206 65 78.489 65H49.33C41.342 65 35 72.326 35 80.326v27.8c0 7.91 6.745 12.564 14.462 14.834 9.242 2.717 17.994 3.208 29.051 0C85.862 120.831 93 116.549 93 108.126V97H64v-4h43.682c8.484 0 11.647-5.776 14.599-14.66 3.047-9.145 2.916-17.799 0-29.529zm-41.955 55.606c3.027 0 5.479 2.479 5.479 5.547 0 3.076-2.451 5.579-5.479 5.579-3.015 0-5.478-2.502-5.478-5.579 0-3.068 2.463-5.547 5.478-5.547z"
639
- ></path>
640
- </svg>
641
- Python Script
642
- </terra-menu-item>
643
- <terra-menu-item value="earthdata-download">
644
- <svg
645
- slot="prefix"
646
- viewBox="0 0 64 64"
647
- fill="none"
648
- width="16"
649
- height="16"
650
- style="width: 16px; height: 16px;"
651
- >
652
- <circle
653
- cx="32"
654
- cy="32"
655
- r="28"
656
- fill="currentColor"
657
- />
658
- <path
659
- d="M32 14v26M32 40l-9-9M32 40l9-9"
660
- stroke="#fff"
661
- stroke-width="4"
662
- stroke-linecap="round"
663
- stroke-linejoin="round"
664
- fill="none"
665
- />
666
- </svg>
667
- Earthdata Download
668
- </terra-menu-item>
669
- </terra-menu>
670
- </terra-dropdown>
671
-
672
- <!--
673
- <terra-button
674
- outline
675
- @click=${() => __privateMethod(this, _TerraDataSubsetter_instances, handleJupyterNotebookClick_fn).call(this)}
676
- >
677
- <terra-icon
678
- name="outline-code-bracket"
679
- library="heroicons"
680
- font-size="1.5em"
681
- style="margin-right: 5px;"
682
- ></terra-icon>
683
- Open in Jupyter Notebook
684
- </terra-button>
685
- -->
686
- </div>
687
- ` : A}
688
- ${__privateMethod(this, _TerraDataSubsetter_instances, renderJobActionButtons_fn).call(this)}
689
-
690
- <div class="job-info">
691
- Job ID:
692
- <span class="job-id">
693
- ${this.bearerToken ? b`<a
694
- href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
695
- target="_blank"
696
- >${__privateGet(this, _harmonyRequestController).jobId}</a
697
- >` : __privateGet(this, _harmonyRequestController).jobId}
698
- </span>
699
- <span class="info-icon">?</span>
700
- </div>
701
- </div>
702
- `;
703
- }
704
- if (this.dataAccessMode === "subset") {
705
- return b`
706
- <div slot="footer" class="footer">
707
- <button
708
- class="btn btn-secondary"
709
- @click=${__privateGet(this, _resetAllParameters)}
710
- >
711
- Reset All
712
- </button>
713
- <div>
714
- <button
715
- class="btn btn-primary"
716
- ?disabled=${this.isSubmittingRequest}
717
- @click=${__privateMethod(this, _TerraDataSubsetter_instances, getData_fn)}
718
- >
719
- ${this.isSubmittingRequest ? "Getting Data..." : "Get Data"}
720
- </button>
721
- ${this.jobId ? b`
722
- <terra-button
723
- variant="default"
724
- @click=${__privateMethod(this, _TerraDataSubsetter_instances, viewRunningJob_fn)}
725
- >
726
- View Running Job
727
- </terra-button>
728
- ` : A}
729
- </div>
730
- </div>
731
- `;
732
- }
733
- return A;
734
- };
735
- renderSizeInfo_fn = function(estimates) {
736
- if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
737
- return b`
738
- <div class="size-info warning">
739
- <terra-login .onLoginClick=${this.onLoginClick}>
740
- <h2 slot="logged-out">Limited access as a guest.</h2>
741
-
742
- <p slot="logged-out">
743
- Your results will be capped at 10 links. Log in for full
744
- access to all data.
745
- </p>
746
- </terra-login>
747
- </div>
748
- `;
749
- }
750
- return b`<div
751
- class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
752
- >
753
- <h2>Estimated size of results</h2>
754
- <div class="size-stats">
755
- ${estimates.days.toLocaleString()} days,
756
- ${estimates.links.toLocaleString()} links
757
- </div>
758
- ${estimates.links >= 150 ? b`<div class="size-warning">
759
- You are about to retrieve ${estimates.links.toLocaleString()}
760
- file links from the archive. You may
761
- <strong>speed up the request</strong> by limiting the scope of
762
- your search.
763
- </div>` : A}
764
- </div>`;
765
- };
766
- renderSubsetOptions_fn = function() {
767
- var _a, _b, _c, _d, _e, _f, _g, _h, _i;
768
- const estimates = __privateMethod(this, _TerraDataSubsetter_instances, estimateJobSize_fn).call(this);
769
- const hasSubsetOption = __privateMethod(this, _TerraDataSubsetter_instances, hasAtLeastOneSubsetOption_fn).call(this);
770
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
771
- const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
772
- const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
773
- const showTemporalSection = temporalExtents == null ? void 0 : temporalExtents.length;
774
- const showSpatialSection = (_c = (_b = spatialExtent == null ? void 0 : spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles;
775
- return b`
776
- ${this.dataAccessMode === "original" ? A : hasSubsetOption ? b`
777
- ${hasSubsetOption && estimates ? __privateMethod(this, _TerraDataSubsetter_instances, renderSizeInfo_fn).call(this, estimates) : A}
778
- ${this.showCollectionSearch ? b`
779
- <div class="section">
780
- <h2 class="section-title">
781
- Select Data Collection
782
- </h2>
783
-
784
- ${__privateMethod(this, _TerraDataSubsetter_instances, renderSearchForCollection_fn).call(this)}
785
- </div>
786
- ` : A}
787
- ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.summary.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? b`
788
- <div class="section">
789
- <h2 class="section-title">Output Format</h2>
790
-
791
- ${__privateMethod(this, _TerraDataSubsetter_instances, renderOutputFormatSelection_fn).call(this)}
792
- </div>
793
- ` : A}
794
- <div class="section">
795
- <h2 class="section-title">Subset Options</h2>
796
- <p style="color: #666; margin-bottom: 16px;">
797
- Generate file links that support spatial subsetting,
798
- date/time range selection, and variable selection.
799
- </p>
800
-
801
- ${((_f = this.collectionWithServices) == null ? void 0 : _f.summary.subsetting.temporal) ? __privateMethod(this, _TerraDataSubsetter_instances, renderDateRangeSelection_fn).call(this) : A}
802
-
803
- ${__privateMethod(this, _TerraDataSubsetter_instances, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _TerraDataSubsetter_instances, renderSpatialSelection_fn).call(this) : A}
804
- ${((_g = this.collectionWithServices) == null ? void 0 : _g.summary.subsetting.variable) ? __privateMethod(this, _TerraDataSubsetter_instances, renderVariableSelection_fn).call(this) : A}
805
- ${((_h = this.collectionWithServices) == null ? void 0 : _h.summary.subsetting.variable) && isFeatureEnabled(
806
- KnownFeatureFlags.DIMENSION_SUBSET,
807
- this.features
808
- ) ? __privateMethod(this, _TerraDataSubsetter_instances, renderDimensionSelection_fn).call(this) : A}
809
- </div>
810
- ` : b`
811
- ${showTemporalSection && !((_i = this.collectionWithServices) == null ? void 0 : _i.summary.subsetting.temporal) ? __privateMethod(this, _TerraDataSubsetter_instances, renderAvailableTemporalRangeSection_fn).call(this) : A}
812
- ${showSpatialSection && !__privateMethod(this, _TerraDataSubsetter_instances, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _TerraDataSubsetter_instances, renderAvailableSpatialRangeSection_fn).call(this) : A}
813
- `}
814
- ${!hasSubsetOption && estimates ? b`
815
- <div
816
- class="neutral-info"
817
- style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
818
- >
819
- <strong>Estimated result size:</strong><br />
820
- Your request will return approximately
821
- <b>${estimates.links.toLocaleString()}</b> files covering
822
- <b>${estimates.days.toLocaleString()}</b> days.
823
- </div>
824
- ` : A}
825
- ${this.dataAccessMode === "subset" && !this.dialog ? b`
826
- <div class="footer">
827
- <button
828
- class="btn btn-secondary"
829
- @click=${__privateGet(this, _resetAllParameters)}
830
- >
831
- Reset All
832
- </button>
833
- <div>
834
- <button
835
- class="btn btn-primary"
836
- ?disabled=${this.isSubmittingRequest}
837
- @click=${__privateMethod(this, _TerraDataSubsetter_instances, getData_fn)}
838
- >
839
- ${this.isSubmittingRequest ? "Getting Data..." : "Get Data"}
840
- </button>
841
- ${this.jobId ? b`
842
- <terra-button
843
- variant="default"
844
- @click=${__privateMethod(this, _TerraDataSubsetter_instances, viewRunningJob_fn)}
845
- >
846
- View Running Job
847
- </terra-button>
848
- ` : A}
849
- </div>
850
- </div>
851
- ` : A}
852
- `;
853
- };
854
- _resetAllParameters = new WeakMap();
855
- renderSearchForCollection_fn = function() {
856
- var _a, _b;
857
- let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
858
- if (this.collectionSearchType === "collection") {
859
- placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
860
- }
861
- if (this.collectionSearchType === "variable") {
862
- placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
863
- }
864
- return b`
865
- <terra-accordion .open=${this.collectionAccordionOpen}>
866
- <div slot="summary">
867
- <span class="accordion-title">Collection:</span>
868
- </div>
869
-
870
- <div
871
- slot="summary-right"
872
- style="display: flex; align-items: center; gap: 10px"
873
- >
874
- ${this.collectionEntryId ? b` <span
875
- class="accordion-value"
876
- id="selected-collection-display"
877
- >${this.collectionEntryId}</span
878
- >
879
-
880
- <button
881
- class="reset-btn"
882
- @click=${() => this.collectionEntryId = void 0}
883
- >
884
- Reset
885
- </button>` : A}
886
- </div>
887
-
888
- <div class="search-tabs-mini">
889
- <button
890
- class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
891
- @click=${() => this.collectionSearchType = "all"}
892
- >
893
- All
894
- </button>
895
- <button
896
- class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
897
- @click=${() => this.collectionSearchType = "collection"}
898
- >
899
- Collections
900
- </button>
901
- <button
902
- class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
903
- @click=${() => this.collectionSearchType = "variable"}
904
- >
905
- Variables
906
- </button>
907
- </div>
908
-
909
- <div class="search-container-mini">
910
- <input
911
- type="text"
912
- class="search-input-mini"
913
- id="search-input"
914
- placeholder=${placeholder}
915
- @input="${(e2) => this.handleCollectionSearch(
916
- e2.target.value
917
- )}"
918
- />
919
-
920
- <button class="search-button-mini">
921
- <svg
922
- class="search-icon-mini"
923
- viewBox="0 0 24 24"
924
- fill="currentColor"
925
- >
926
- <path
927
- d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
928
- />
929
- </svg>
930
- Search
931
- </button>
932
- </div>
933
-
934
- <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
935
- <div class="quick-links-mini">
936
- <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
937
- >GPM Precipitation</a
938
- >
939
- <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
940
- >MODIS Data</a
941
- >
942
- <a
943
- href="#"
944
- class="quick-link-mini"
945
- onclick="quickSearch('Landsat')"
946
- >Landsat Imagery</a
947
- >
948
- <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
949
- >Atmospheric Data</a
950
- >
951
- </div>
952
- -->
953
-
954
- <div id="search-results-section" class="search-results-section">
955
- ${this.collectionSearchLoading ? b`
956
- <div id="loading-mini" class="loading-mini">
957
- <div class="spinner-mini"></div>
958
- <div>Searching NASA CMR...</div>
959
- </div>
960
- ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? b` <div
961
- id="results-container-mini"
962
- class="results-container-mini"
963
- >
964
- ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
965
- (item) => b`
966
- <div
967
- class="result-item-mini"
968
- @click=${() => {
969
- this.collectionEntryId = item.collectionEntryId;
970
- this.collectionAccordionOpen = false;
971
- this.collectionLoading = true;
972
- if (item.type === "variable") {
973
- this.selectedVariables = [
974
- {
975
- name: item.entryId,
976
- href: "",
977
- conceptId: item.conceptId
978
- }
979
- ];
980
- }
981
- this.requestUpdate();
982
- }}
983
- style="cursor: pointer;"
984
- >
985
- <div class="result-title-mini">
986
- ${item.title}
987
- </div>
988
- <div class="result-id-mini">
989
- ${item.entryId}
990
- </div>
991
- <div class="result-description-mini">
992
- ${item.summary || item.title}
993
- </div>
994
- <div class="result-meta-mini">
995
- <span>📅 2000-02-24 - ongoing</span>
996
- <span>🌍 Global</span>
997
- <span>🏢 ${item.provider}</span>
998
- ${item.type === "variable" ? b` <span
999
- >📊
1000
- ${item.collectionEntryId}</span
1001
- >` : A}
1002
- <span class="tag-mini"
1003
- >${item.type.toUpperCase()}</span
1004
- >
1005
- </div>
1006
- </div>
1007
- `
1008
- )}
1009
- </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? b`<div id="no-results-mini" class="no-results-mini">
1010
- <p>
1011
- No results found for
1012
- '${this.collectionSearchQuery}'. Try adjusting
1013
- your search term.
1014
- </p>
1015
- </div>` : A}
1016
- </div>
1017
- </terra-accordion>
1018
-
1019
- ${this.collectionLoading ? b`
1020
- <div
1021
- class="collection-loading-bar"
1022
- style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
1023
- >
1024
- <span
1025
- class="loading-spinner"
1026
- style="width: 20px; height: 20px; border: 3px solid #ccc; border-top: 3px solid #31708f; border-radius: 50%; display: inline-block; animation: spin 1s linear infinite;"
1027
- ></span>
1028
- Retrieving collection, please wait...
1029
- </div>
1030
- <style>
1031
- @keyframes spin {
1032
- 0% {
1033
- transform: rotate(0deg);
1034
- }
1035
- 100% {
1036
- transform: rotate(360deg);
1037
- }
1038
- }
1039
- </style>
1040
- ` : A}
1041
- `;
1042
- };
1043
- renderOutputFormatSelection_fn = function() {
1044
- return b`
1045
- <terra-accordion>
1046
- <div slot="summary">
1047
- <span class="accordion-title">File Format:</span>
1048
- </div>
1049
-
1050
- <div
1051
- slot="summary-right"
1052
- style="display: flex; align-items: center; gap: 10px;"
1053
- >
1054
- <span>${this.selectedFormat.label}</span>
1055
-
1056
- <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
1057
- Reset
1058
- </button>
1059
- </div>
1060
-
1061
- <div class="accordion-content" style="margin-top: 12px;">
1062
- ${(() => {
1063
- var _a;
1064
- return (((_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats) || []).map(
1065
- (format) => b`
1066
- <label
1067
- style="display: flex; align-items: center; gap: 8px; padding: 5px;"
1068
- >
1069
- <input
1070
- type="radio"
1071
- name="output-format"
1072
- value="${format}"
1073
- .checked=${this.selectedFormat === format}
1074
- @change=${() => this.selectedFormat = format}
1075
- />
1076
- ${format.label}
1077
- </label>
1078
- `
1079
- );
1080
- })()}
1081
- </div>
1082
- </terra-accordion>
1083
- `;
1084
- };
1085
- renderDateRangeSelection_fn = function() {
1086
- var _a, _b, _c, _d, _e, _f, _g, _h;
1087
- const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _TerraDataSubsetter_instances, getCollectionDateRange_fn).call(this);
1088
- const startDate = (_b = (_a = this.selectedDateRange.startDate) != null ? _a : this.granuleMinDate) != null ? _b : defaultStartDate;
1089
- const endDate = (_d = (_c = this.selectedDateRange.endDate) != null ? _c : this.granuleMaxDate) != null ? _d : defaultEndDate;
1090
- const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
1091
- return b`
1092
- <terra-accordion>
1093
- <div slot="summary">
1094
- <span class="accordion-title">Refine Date Range:</span>
1095
- </div>
1096
-
1097
- <div
1098
- slot="summary-right"
1099
- style="display: flex; align-items: center; gap: 10px;"
1100
- >
1101
- ${showError ? b`<span class="accordion-value error"
1102
- >Please select a date range</span
1103
- >` : this.touchedFields.has("date") && startDate && endDate ? b`<span class="accordion-value"
1104
- >${startDate} to ${endDate}</span
1105
- >` : A}
1106
- <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
1107
- Reset
1108
- </button>
1109
- </div>
1110
-
1111
- <div style="width: 300px">
1112
- <terra-date-picker
1113
- allow-input
1114
- inline
1115
- range
1116
- split-inputs
1117
- show-presets
1118
- ?enable-time=${this.isSubDaily}
1119
- start-label="Start Date"
1120
- end-label="End Date"
1121
- .minDate=${(_e = this.granuleMinDate) != null ? _e : defaultStartDate}
1122
- .maxDate=${(_f = this.granuleMaxDate) != null ? _f : defaultEndDate}
1123
- .startDate=${(_g = this.selectedDateRange.startDate) != null ? _g : this.granuleMinDate}
1124
- .endDate=${(_h = this.selectedDateRange.endDate) != null ? _h : this.granuleMaxDate}
1125
- .useEndOfDay=${!this.selectedFormat.isGiovanniFormat}
1126
- @terra-date-range-change=${__privateGet(this, _handleDateChange)}
1127
- ></terra-date-picker>
1128
- </div>
1129
-
1130
- <div style="display: flex; gap: 16px; margin-top: 15px;">
1131
- <span
1132
- ><strong>Available Range:</strong> ${defaultStartDate} to
1133
- ${defaultEndDate}</span
1134
- >
1135
- ${this.isSubDaily ? b`<span
1136
- ><strong>Note:</strong> All dates and times are in
1137
- UTC.</span
1138
- >` : A}
1139
- </div>
1140
- </terra-accordion>
1141
- `;
1142
- };
1143
- _handleDateChange = new WeakMap();
1144
- _resetDateRangeSelection = new WeakMap();
1145
- _resetFormatSelection = new WeakMap();
1146
- getCollectionDateRange_fn = function() {
1147
- var _a, _b;
1148
- const samplingMinDate = this.granuleMinDate;
1149
- const samplingMaxDate = this.granuleMaxDate;
1150
- if (samplingMinDate && samplingMaxDate) {
1151
- return {
1152
- startDate: samplingMinDate.slice(0, 10),
1153
- endDate: samplingMaxDate.slice(0, 10)
1154
- };
1155
- }
1156
- const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1157
- if (!(temporalExtents == null ? void 0 : temporalExtents.length))
1158
- return {
1159
- startDate: null,
1160
- endDate: null
1161
- };
1162
- let minStart = null;
1163
- let maxEnd = null;
1164
- const today = /* @__PURE__ */ new Date();
1165
- for (const temporal of temporalExtents) {
1166
- for (const range of temporal.RangeDateTimes || []) {
1167
- const start = new Date(range.BeginningDateTime);
1168
- let end;
1169
- if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1170
- end = today;
1171
- } else {
1172
- end = new Date(range.EndingDateTime);
1173
- }
1174
- if (!minStart || start < minStart) minStart = start;
1175
- if (!maxEnd || end > maxEnd) maxEnd = end;
1176
- }
1177
- }
1178
- return {
1179
- startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1180
- endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1181
- };
1182
- };
1183
- /**
1184
- * Computes a "recent" default date range instead of the full collection
1185
- * extent, sized to the collection's average granule cadence so
1186
- * low-frequency collections (e.g. monthly) still default to a window
1187
- * covering a handful of granules rather than just one.
1188
- */
1189
- getDefaultRecentDateRange_fn = function() {
1190
- var _a;
1191
- const range = __privateMethod(this, _TerraDataSubsetter_instances, getCollectionDateRange_fn).call(this);
1192
- const granuleCount = (_a = this.collectionWithServices) == null ? void 0 : _a.granuleCount;
1193
- if (!range.startDate || !range.endDate || !granuleCount || granuleCount <= 1) {
1194
- return range;
1195
- }
1196
- const msPerDay = 1e3 * 60 * 60 * 24;
1197
- const fullStart = new Date(range.startDate);
1198
- const fullEnd = new Date(range.endDate);
1199
- const totalDays = Math.floor((fullEnd.getTime() - fullStart.getTime()) / msPerDay) + 1;
1200
- if (totalDays <= 0) {
1201
- return range;
1202
- }
1203
- const avgCadenceDays = totalDays / granuleCount;
1204
- const windowDays = Math.min(
1205
- totalDays,
1206
- Math.max(
1207
- DEFAULT_DATE_RANGE_MIN_DAYS,
1208
- avgCadenceDays * DEFAULT_DATE_RANGE_MIN_GRANULES
1209
- )
1210
- );
1211
- if (windowDays >= totalDays) {
1212
- return range;
1213
- }
1214
- const recentStart = new Date(fullEnd.getTime() - (windowDays - 1) * msPerDay);
1215
- return {
1216
- startDate: recentStart > fullStart ? formatDate(recentStart) : range.startDate,
1217
- endDate: range.endDate
1218
- };
1219
- };
1220
- renderSpatialSelection_fn = function() {
1221
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
1222
- const showError = this.touchedFields.has("spatial") && !this.spatialSelection && !this.shapeGeoJson;
1223
- const spatialString = (_c = (_b = this.spatialLabel) != null ? _b : (_a = this.spatialSelection) == null ? void 0 : _a.toString()) != null ? _c : void 0;
1224
- const spatialInitialValue = (_e = (_d = this.spatialSelection) == null ? void 0 : _d.toString()) != null ? _e : void 0;
1225
- return b`
1226
- <terra-accordion>
1227
- <div slot="summary">
1228
- <span class="accordion-title">Refine Region:</span>
1229
- </div>
1230
-
1231
- <div
1232
- slot="summary-right"
1233
- style="display: flex; align-items: center; gap: 10px;"
1234
- >
1235
- ${showError ? b`<span class="accordion-value error"
1236
- >Please select a region</span
1237
- >` : spatialString ? b`<span class="accordion-value"
1238
- >${spatialString}</span
1239
- >` : A}
1240
- <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1241
- Reset
1242
- </button>
1243
- </div>
1244
- <div class="accordion-content">
1245
- <terra-spatial-picker
1246
- part="spatial-picker"
1247
- inline
1248
- hide-label
1249
- .spatialConstraints=${__privateGet(this, _collectionController).spatialConstraints || "-180, -90, 180, 90"}
1250
- .initialValue=${spatialInitialValue}
1251
- ?has-shape-selector=${(_i = (_h = (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.summary) == null ? void 0 : _g.subsetting) == null ? void 0 : _h.shape) != null ? _i : false}
1252
- ?show-polygon-selection=${(_m = (_l = (_k = (_j = this.collectionWithServices) == null ? void 0 : _j.summary) == null ? void 0 : _k.subsetting) == null ? void 0 : _l.shape) != null ? _m : false}
1253
- @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1254
- ></terra-spatial-picker>
1255
- <div
1256
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1257
- >
1258
- <span
1259
- ><strong>Available Range:</strong> ${__privateGet(this, _collectionController).spatialConstraints}</span
1260
- >
1261
- </div>
1262
- </div>
1263
- </terra-accordion>
1264
- `;
1265
- };
1266
- _handleSpatialChange = new WeakMap();
1267
- _resetSpatialSelection = new WeakMap();
1268
- renderVariableSelection_fn = function() {
1269
- var _a;
1270
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1271
- const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _TerraDataSubsetter_instances, getGiovanniValidationError_fn).call(this);
1272
- const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1273
- const showError = giovanniError || basicError;
1274
- const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1275
- const tree = __privateMethod(this, _TerraDataSubsetter_instances, buildVariableTree_fn).call(this, variables);
1276
- const allGroups = __privateMethod(this, _TerraDataSubsetter_instances, getAllGroupPaths_fn).call(this, tree);
1277
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1278
- return b`
1279
- <terra-accordion>
1280
- <div slot="summary">
1281
- <span class="accordion-title">Select Variables:</span>
1282
- </div>
1283
- <div
1284
- slot="summary-right"
1285
- style="display: flex; align-items: center; gap: 10px;"
1286
- >
1287
- ${showError ? b`<span class="accordion-value error"
1288
- >${errorMessage}</span
1289
- >` : this.selectedVariables.length ? b`<span class="accordion-value"
1290
- >${this.selectedVariables.length} selected</span
1291
- >` : A}
1292
-
1293
- <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1294
- Reset
1295
- </button>
1296
- </div>
1297
- <div class="accordion-content">
1298
- <terra-input
1299
- label="Filter variables"
1300
- placeholder="Search by variable name..."
1301
- .value=${this.variableFilterText}
1302
- @input=${(e2) => {
1303
- const input = e2.target;
1304
- this.variableFilterText = input.value;
1305
- __privateMethod(this, _TerraDataSubsetter_instances, handleVariableFilterChange_fn).call(this);
1306
- }}
1307
- style="margin-bottom: 10px;"
1308
- ></terra-input>
1309
- <button
1310
- class="reset-btn"
1311
- style="margin-bottom: 10px;"
1312
- @click=${() => __privateMethod(this, _TerraDataSubsetter_instances, toggleExpandCollapseAll_fn).call(this, tree)}
1313
- >
1314
- ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1315
- </button>
1316
-
1317
- ${this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables ? b`
1318
- <terra-alert
1319
- open
1320
- appearance="white"
1321
- style="margin: 10px 0"
1322
- >
1323
- <terra-icon
1324
- slot="icon"
1325
- name="outline-information-circle"
1326
- library="heroicons"
1327
- ></terra-icon>
1328
- Only certain variables are supported for the
1329
- selected output format. (Giovanni service)
1330
- </terra-alert>
1331
- ` : A}
1332
- ${variables.length === 0 ? b`<p style="color: #666; font-style: italic;">
1333
- No variables available for this collection.
1334
- </p>` : __privateMethod(this, _TerraDataSubsetter_instances, renderVariableTree_fn).call(this, __privateMethod(this, _TerraDataSubsetter_instances, filterVariableTree_fn).call(this, tree), [])}
1335
- </div>
1336
- </terra-accordion>
1337
- `;
1338
- };
1339
- renderDimensionGroup_fn = function(dim) {
1340
- var _a, _b, _c, _d, _e, _f;
1341
- const currentValue = (_a = this.selectedDimensionIndexes[dim.name]) != null ? _a : 1;
1342
- const dimensions = ((_f = (_e = (_d = (_c = (_b = __privateGet(this, _collectionController).gesDiscCollection) == null ? void 0 : _b.data) == null ? void 0 : _c.services) == null ? void 0 : _d.subset) == null ? void 0 : _e.find(
1343
- (s) => s.dimensions && s.dimensions.length > 0
1344
- )) == null ? void 0 : _f.dimensions) || [];
1345
- return b`
1346
- <div style="margin-bottom: 16px;">
1347
- <div
1348
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;"
1349
- >
1350
- <span style="font-weight: 600; margin-bottom: 44px"
1351
- >Dimension: ${dim.name}</span
1352
- >
1353
- </div>
1354
- <terra-slider
1355
- class="dimension-slider"
1356
- mode="range"
1357
- min="1"
1358
- .max=${dim.size}
1359
- step="1"
1360
- .startValue=${currentValue.start}
1361
- .endValue=${currentValue.end}
1362
- has-tooltips
1363
- show-inputs
1364
- hide-label
1365
- .formatTooltip=${dimensions.length > 0 ? (value) => {
1366
- const found = dimensions.find(
1367
- (d) => String(d.value) === String(value)
1368
- );
1369
- return found ? found.label : String(value);
1370
- } : A}
1371
- @terra-slider-change=${(event) => {
1372
- if ("startValue" in event.detail) {
1373
- const { startValue, endValue } = event.detail;
1374
- __privateMethod(this, _TerraDataSubsetter_instances, setDimensionValue_fn).call(this, dim.name, startValue, endValue);
1375
- }
1376
- }}
1377
- ></terra-slider>
1378
- </div>
1379
- `;
1380
- };
1381
- setDimensionValue_fn = function(dimName, startValue, endValue) {
1382
- const dimensions = __privateMethod(this, _TerraDataSubsetter_instances, getCommonSelectableDimensions_fn).call(this);
1383
- const found = dimensions.find((d) => d.name === dimName);
1384
- if (!found) {
1385
- return;
1386
- }
1387
- const normalizedStartValue = Math.min(
1388
- Math.max(Math.round(startValue), 1),
1389
- found.size
1390
- );
1391
- const normalizedEndValue = Math.min(
1392
- Math.max(Math.round(endValue != null ? endValue : startValue), 1),
1393
- found.size
1394
- );
1395
- if (normalizedStartValue <= 1 && normalizedEndValue >= found.size) {
1396
- delete this.selectedDimensionIndexes[dimName];
1397
- return;
1398
- }
1399
- this.selectedDimensionIndexes = __spreadProps(__spreadValues({}, this.selectedDimensionIndexes), {
1400
- [dimName]: { start: normalizedStartValue, end: normalizedEndValue }
1401
- });
1402
- };
1403
- renderDimensionSelection_fn = function() {
1404
- const dimensions = __privateMethod(this, _TerraDataSubsetter_instances, getCommonSelectableDimensions_fn).call(this);
1405
- if (!dimensions.length) {
1406
- return A;
1407
- }
1408
- const selectedCount = Object.keys(this.selectedDimensionIndexes).length;
1409
- return b`
1410
- <terra-accordion>
1411
- <div slot="summary">
1412
- <span class="accordion-title">Select Dimensions:</span>
1413
- </div>
1414
- <div
1415
- slot="summary-right"
1416
- style="display: flex; align-items: center; gap: 10px;"
1417
- >
1418
- ${selectedCount ? b`<span class="accordion-value"
1419
- >${selectedCount}
1420
- dimension${selectedCount === 1 ? "" : "s"}
1421
- selected</span
1422
- >` : A}
1423
- <button class="reset-btn" @click=${__privateMethod(this, _TerraDataSubsetter_instances, resetDimensionSelection_fn)}>
1424
- Reset
1425
- </button>
1426
- </div>
1427
- <div class="accordion-content">
1428
- ${dimensions.map((dim) => __privateMethod(this, _TerraDataSubsetter_instances, renderDimensionGroup_fn).call(this, dim))}
1429
- </div>
1430
- </terra-accordion>
1431
- `;
1432
- };
1433
- filterVariableTree_fn = function(tree) {
1434
- if (!this.variableFilterText.trim()) {
1435
- return tree;
1436
- }
1437
- const filterText = this.variableFilterText.toLowerCase().trim();
1438
- const filterNode = (node) => {
1439
- const result = {};
1440
- for (const [key, value] of Object.entries(node)) {
1441
- if (value.__isLeaf) {
1442
- const variableName = value.__variable.name.toLowerCase();
1443
- if (variableName.includes(filterText)) {
1444
- result[key] = value;
1445
- }
1446
- } else {
1447
- const filteredChildren = filterNode(value.__children);
1448
- if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1449
- result[key] = __spreadProps(__spreadValues({}, value), {
1450
- __children: filteredChildren
1451
- });
1452
- }
1453
- }
1454
- }
1455
- return result;
1456
- };
1457
- return filterNode(tree);
1458
- };
1459
- handleVariableFilterChange_fn = function() {
1460
- var _a;
1461
- if (!this.variableFilterText.trim()) {
1462
- return;
1463
- }
1464
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1465
- const tree = __privateMethod(this, _TerraDataSubsetter_instances, buildVariableTree_fn).call(this, variables);
1466
- const filterText = this.variableFilterText.toLowerCase().trim();
1467
- const groupsToExpand = /* @__PURE__ */ new Set();
1468
- const findMatchingGroups = (node, path = []) => {
1469
- for (const [key, value] of Object.entries(node)) {
1470
- if (value.__isLeaf) {
1471
- const variableName = value.__variable.name.toLowerCase();
1472
- if (variableName.includes(filterText)) {
1473
- for (let i = 0; i < path.length; i++) {
1474
- const groupPath = path.slice(0, i + 1).join("/");
1475
- groupsToExpand.add(groupPath);
1476
- }
1477
- }
1478
- } else {
1479
- const groupPath = [...path, key].join("/");
1480
- findMatchingGroups(value.__children, [...path, key]);
1481
- if (key.toLowerCase().includes(filterText)) {
1482
- groupsToExpand.add(groupPath);
1483
- }
1484
- }
1485
- }
1486
- };
1487
- findMatchingGroups(tree);
1488
- if (groupsToExpand.size > 0) {
1489
- this.expandedVariableGroups = /* @__PURE__ */ new Set([
1490
- ...this.expandedVariableGroups,
1491
- ...groupsToExpand
1492
- ]);
1493
- }
1494
- };
1495
- buildVariableTree_fn = function(variables) {
1496
- let filteredVariables = variables;
1497
- if (this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables) {
1498
- filteredVariables = variables.filter((v) => {
1499
- var _a, _b, _c;
1500
- const shortName = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName;
1501
- const version = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.Version;
1502
- if (!shortName || !version) {
1503
- return false;
1504
- }
1505
- const giovanniVariableName = convertVariableEntryIdToGiovanniFormat(
1506
- shortName,
1507
- version,
1508
- v.name
1509
- );
1510
- return this.giovanniConfiguredVariables.has(giovanniVariableName);
1511
- });
1512
- }
1513
- const root = {};
1514
- for (const v of filteredVariables) {
1515
- const parts = v.name.split("/");
1516
- let node = root;
1517
- for (let i = 0; i < parts.length; i++) {
1518
- const part = parts[i];
1519
- if (!node[part]) node[part] = { __children: {}, __isLeaf: false };
1520
- if (i === parts.length - 1) {
1521
- node[part].__isLeaf = true;
1522
- node[part].__variable = v;
1523
- }
1524
- node = node[part].__children;
1525
- }
1526
- }
1527
- return root;
1528
- };
1529
- renderVariableTree_fn = function(node, path) {
1530
- const isGiovanni = this.selectedFormat.isGiovanniFormat;
1531
- return b`
1532
- <div style="margin-left: ${path.length * 20}px;">
1533
- ${Object.entries(node).map(([key, value]) => {
1534
- var _a;
1535
- const groupPath = [...path, key].join("/");
1536
- if (value.__isLeaf) {
1537
- const ummVar = cmr_variable_service_default.getVariableByName(
1538
- key,
1539
- (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data
1540
- );
1541
- const variableLabel = ummVar ? cmr_variable_service_default.getVariableDisplayLabel(ummVar) : key;
1542
- return b`
1543
- <div class="option-row">
1544
- <label class="checkbox-option">
1545
- <input
1546
- type="${isGiovanni ? "radio" : "checkbox"}"
1547
- name="${isGiovanni ? "variable-selection" : ""}"
1548
- .checked=${this.selectedVariables.some(
1549
- (v) => v.name === value.__variable.name
1550
- )}
1551
- @change=${(e2) => __privateMethod(this, _TerraDataSubsetter_instances, toggleVariableSelection_fn).call(this, e2, value.__variable)}
1552
- />
1553
- <span>${variableLabel}</span>
1554
- </label>
1555
- </div>
1556
- `;
1557
- } else {
1558
- const expanded = this.expandedVariableGroups.has(groupPath);
1559
- return b`
1560
- <div class="option-row" style="align-items: flex-start;">
1561
- <span
1562
- style="cursor: pointer; display: flex; align-items: center;"
1563
- @click=${() => __privateMethod(this, _TerraDataSubsetter_instances, toggleGroupExpand_fn).call(this, groupPath)}
1564
- >
1565
- <terra-icon
1566
- library="heroicons"
1567
- name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1568
- style="margin-right: 4px;"
1569
- ></terra-icon>
1570
- <span style="font-weight: 500;">${key}</span>
1571
- </span>
1572
- </div>
1573
- ${expanded ? __privateMethod(this, _TerraDataSubsetter_instances, renderVariableTree_fn).call(this, value.__children, [
1574
- ...path,
1575
- key
1576
- ]) : ""}
1577
- `;
1578
- }
1579
- })}
1580
- </div>
1581
- `;
1582
- };
1583
- getAllGroupPaths_fn = function(node, path = []) {
1584
- let groups = [];
1585
- for (const [key, value] of Object.entries(node)) {
1586
- if (!value.__isLeaf) {
1587
- const groupPath = [...path, key].join("/");
1588
- groups.push(groupPath);
1589
- groups = groups.concat(
1590
- __privateMethod(this, _TerraDataSubsetter_instances, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1591
- );
1592
- }
1593
- }
1594
- return groups;
1595
- };
1596
- toggleGroupExpand_fn = function(groupPath) {
1597
- const set = new Set(this.expandedVariableGroups);
1598
- if (set.has(groupPath)) {
1599
- set.delete(groupPath);
1600
- } else {
1601
- set.add(groupPath);
1602
- }
1603
- this.expandedVariableGroups = set;
1604
- };
1605
- toggleExpandCollapseAll_fn = function(tree) {
1606
- const allGroups = __privateMethod(this, _TerraDataSubsetter_instances, getAllGroupPaths_fn).call(this, tree);
1607
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1608
- if (allExpanded) {
1609
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
1610
- } else {
1611
- this.expandedVariableGroups = new Set(allGroups);
1612
- }
1613
- };
1614
- toggleVariableSelection_fn = function(e2, variable) {
1615
- __privateMethod(this, _TerraDataSubsetter_instances, markFieldTouched_fn).call(this, "variables");
1616
- const checked = e2.target.checked;
1617
- if (this.selectedFormat.isGiovanniFormat) {
1618
- if (checked) {
1619
- this.selectedVariables = [variable];
1620
- }
1621
- } else {
1622
- if (checked) {
1623
- if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1624
- this.selectedVariables = [...this.selectedVariables, variable];
1625
- }
1626
- } else {
1627
- this.selectedVariables = this.selectedVariables.filter(
1628
- (v) => v.name !== variable.name
1629
- );
1630
- }
1631
- }
1632
- };
1633
- markFieldTouched_fn = function(field) {
1634
- this.touchedFields = new Set(this.touchedFields).add(field);
1635
- };
1636
- _resetVariableSelection = new WeakMap();
1637
- resetDimensionSelection_fn = function() {
1638
- this.selectedDimensionIndexes = {};
1639
- };
1640
- isDimensionExcluded_fn = function(dim) {
1641
- var _a, _b, _c;
1642
- const normalizedName = (_b = (_a = dim.Name) == null ? void 0 : _a.toLowerCase()) != null ? _b : "";
1643
- const normalizedType = ((_c = dim.Type) != null ? _c : "").toLowerCase();
1644
- return ["time", "latitude", "longitude", "lat", "lon", "x", "y"].some(
1645
- (value) => normalizedName.includes(value) || normalizedType.includes(value)
1646
- );
1647
- };
1648
- getCommonSelectableDimensions_fn = function() {
1649
- var _a, _b;
1650
- const variables = (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data;
1651
- if (!variables) {
1652
- return [];
1653
- }
1654
- const allUmmVars = (_b = variables.items) != null ? _b : [];
1655
- if (!allUmmVars.length) {
1656
- return [];
1657
- }
1658
- const allDimensionSets = allUmmVars.map(
1659
- (v) => {
1660
- var _a2;
1661
- return (_a2 = v.umm.Dimensions) != null ? _a2 : [];
1662
- }
1663
- );
1664
- if (!allDimensionSets.length) {
1665
- return [];
1666
- }
1667
- const allDimensionNames = Array.from(
1668
- new Set(allDimensionSets.flatMap((dimSet) => dimSet.map((dim) => dim.Name)))
1669
- );
1670
- const filteredCommon = allDimensionNames.map((name) => {
1671
- var _a2, _b2;
1672
- const dims = allDimensionSets.map((set) => set.find((dim) => dim.Name === name)).filter((d) => Boolean(d));
1673
- if (!dims.length) {
1674
- return null;
1675
- }
1676
- const validSizes = dims.filter((dim) => dim.Size !== void 0 && dim.Size !== "Varies").map((dim) => Number(dim.Size)).filter((size2) => Number.isFinite(size2) && size2 > 0);
1677
- if (!validSizes.length) {
1678
- return null;
1679
- }
1680
- const size = Math.min(...validSizes);
1681
- return {
1682
- name,
1683
- type: (_b2 = (_a2 = dims[0]) == null ? void 0 : _a2.Type) != null ? _b2 : "OTHER",
1684
- size
1685
- };
1686
- }).filter(
1687
- (entry) => Boolean(entry)
1688
- ).filter(
1689
- (entry) => !__privateMethod(this, _TerraDataSubsetter_instances, isDimensionExcluded_fn).call(this, {
1690
- Name: entry.name,
1691
- Type: entry.type
1692
- })
1693
- );
1694
- return filteredCommon;
1695
- };
1696
- renderJobStatus_fn = function() {
1697
- var _a, _b, _c, _d, _e;
1698
- if (!__privateGet(this, _harmonyRequestController).jobId) {
1699
- return b`<div class="results-section" id="job-status-section">
1700
- <div
1701
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1702
- >
1703
- <h2 class="results-title" style="margin: 0;">Results:</h2>
1704
- ${!this.isHistoryView ? b`
1705
- <terra-button
1706
- variant="default"
1707
- size="small"
1708
- @click=${__privateMethod(this, _TerraDataSubsetter_instances, backToSubsetOptions_fn)}
1709
- >
1710
- ← Back to Subset Options
1711
- </terra-button>
1712
- ` : A}
1713
- </div>
1714
-
1715
- <div class="progress-container">
1716
- ${this.harmonyRequestError ? b`
1717
- <terra-alert open variant="danger" appearance="white">
1718
- ${__privateMethod(this, _TerraDataSubsetter_instances, renderHarmonyRequestError_fn).call(this)}
1719
- </terra-alert>
1720
- ` : b`
1721
- <div class="progress-container">
1722
- <div class="progress-text">
1723
- <span class="spinner"></span>
1724
- <span class="status-running"
1725
- >Searching for data...</span
1726
- >
1727
- </div>
1728
-
1729
- <div class="progress-bar">
1730
- <div
1731
- class="progress-fill"
1732
- style="width: 0%"
1733
- ></div>
1734
- </div>
1735
- </div>
1736
-
1737
- ${__privateMethod(this, _TerraDataSubsetter_instances, renderJobMessage_fn).call(this)}
1738
- `}
1739
- </div>
1740
- </div>`;
1741
- }
1742
- return b`
1743
- <div class="results-section" id="job-status-section">
1744
- <div
1745
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1746
- >
1747
- <h2 class="results-title" style="margin: 0;">Results:</h2>
1748
- ${!this.isHistoryView ? b`
1749
- <terra-button
1750
- variant="default"
1751
- size="small"
1752
- @click=${__privateMethod(this, _TerraDataSubsetter_instances, backToSubsetOptions_fn)}
1753
- >
1754
- ← Back to Subset Options
1755
- </terra-button>
1756
- ` : A}
1757
- </div>
1758
-
1759
- ${__privateGet(this, _harmonyRequestController).status !== "canceled" && __privateGet(this, _harmonyRequestController).status !== "failed" ? b` <div class="progress-container">
1760
- <div class="progress-text">
1761
- ${__privateGet(this, _harmonyRequestController).status === "paused" /* PAUSED */ ? b`
1762
- <span class="status-paused"
1763
- >⏸ Paused for review
1764
- (${__privateGet(this, _harmonyRequestController).progress}%)</span
1765
- >
1766
- ` : __privateGet(this, _harmonyRequestController).progress >= 100 ? b`
1767
- <span class="status-complete"
1768
- >✓ Search complete</span
1769
- >
1770
- ` : b`
1771
- <span class="spinner"></span>
1772
- <span class="status-running"
1773
- >Searching for data...
1774
- (${__privateGet(this, _harmonyRequestController).progress}%)</span
1775
- >
1776
- `}
1777
- </div>
1778
-
1779
- <div class="progress-bar">
1780
- <div
1781
- class="progress-fill"
1782
- style="width: ${__privateGet(this, _harmonyRequestController).progress}%"
1783
- ></div>
1784
- </div>
1785
- </div>` : A}
1786
-
1787
- <div class="search-status">
1788
- <span class="file-count"
1789
- >Found ${__privateMethod(this, _TerraDataSubsetter_instances, numberOfFilesFoundEstimate_fn).call(this)} files</span
1790
- >
1791
- out of estimated
1792
- <span class="estimated-total"
1793
- >${(_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules.toLocaleString()}</span
1794
- >
1795
- </div>
1796
-
1797
- ${__privateMethod(this, _TerraDataSubsetter_instances, renderPausedMessage_fn).call(this)} ${__privateMethod(this, _TerraDataSubsetter_instances, renderJobMessage_fn).call(this)}
1798
- ${((_c = (_b = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _b.errors) == null ? void 0 : _c.length) ? b`
1799
- <terra-accordion>
1800
- <div slot="summary">
1801
- <span
1802
- class="accordion-title"
1803
- style="color: #dc3545;"
1804
- >Errors
1805
- (${(_d = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _d.errors.length})</span
1806
- >
1807
- </div>
1808
- <div class="accordion-content">
1809
- <ul
1810
- style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1811
- >
1812
- ${(_e = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _e.errors.map(
1813
- (err) => b`
1814
- <li style="margin-bottom: 12px;">
1815
- <a
1816
- href="${err.url}"
1817
- target="_blank"
1818
- style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1819
- >
1820
- ${err.url}
1821
- </a>
1822
- <div style="margin-top: 2px;">
1823
- ${err.message}
1824
- </div>
1825
- </li>
1826
- `
1827
- )}
1828
- </ul>
1829
- </div>
1830
- </terra-accordion>
1831
- ` : A}
1832
-
1833
- <div class="tabs">
1834
- <button
1835
- class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1836
- @click=${() => this.selectedTab = "web-links"}
1837
- >
1838
- Web Links
1839
- </button>
1840
-
1841
- ${!this.isHistoryView ? b`
1842
- <button
1843
- class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1844
- @click=${() => this.selectedTab = "selected-params"}
1845
- >
1846
- Selected Parameters
1847
- </button>
1848
- ` : A}
1849
- </div>
1850
- <div
1851
- id="web-links"
1852
- class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1853
- >
1854
- ${__privateMethod(this, _TerraDataSubsetter_instances, getDocumentationLinks_fn).call(this).length ? b`
1855
- <div class="documentation-links">
1856
- ${__privateMethod(this, _TerraDataSubsetter_instances, getDocumentationLinks_fn).call(this).map(
1857
- (link) => b`
1858
- <a href="${link.href}" class="doc-link"
1859
- >${link.title}</a
1860
- >
1861
- `
1862
- )}
1863
- </div>
1864
- ` : A}
1865
-
1866
- <ul class="file-list">
1867
- ${__privateMethod(this, _TerraDataSubsetter_instances, getDataLinks_fn).call(this).map(
1868
- (link) => b`
1869
- <li class="file-item">
1870
- <a
1871
- href="${link.href}"
1872
- class="file-link"
1873
- target="_blank"
1874
- >
1875
- ${link.title}
1876
- </a>
1877
- </li>
1878
- `
1879
- )}
1880
- </ul>
1881
- </div>
1882
-
1883
- <div
1884
- id="selected-params"
1885
- class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1886
- >
1887
- ${__privateMethod(this, _TerraDataSubsetter_instances, renderSelectedParams_fn).call(this)}
1888
- </div>
1889
- </div>
1890
-
1891
- ${!this.dialog ? b`
1892
- <div class="footer">
1893
- ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
1894
- <div
1895
- style="display: flex; align-items: center; gap: 8px;"
1896
- >
1897
- <terra-dropdown
1898
- @terra-select=${__privateMethod(this, _TerraDataSubsetter_instances, handleDownloadSelect_fn)}
1899
- >
1900
- <terra-button slot="trigger" caret>
1901
- Download Options
1902
- </terra-button>
1903
- <terra-menu>
1904
- <terra-menu-item value="file-list">
1905
- <svg
1906
- slot="prefix"
1907
- viewBox="0 0 24 24"
1908
- width="16"
1909
- height="16"
1910
- style="width: 16px; height: 16px;"
1911
- >
1912
- <path
1913
- fill="currentColor"
1914
- d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
1915
- />
1916
- </svg>
1917
- File List
1918
- </terra-menu-item>
1919
- <terra-menu-item
1920
- value="python-script"
1921
- >
1922
- <svg
1923
- slot="prefix"
1924
- viewBox="0 0 128 128"
1925
- width="16"
1926
- height="16"
1927
- style="width: 16px; height: 16px;"
1928
- >
1929
- <path
1930
- fill="currentColor"
1931
- d="M49.33 62h29.159C86.606 62 93 55.132 93 46.981V19.183c0-7.912-6.632-13.856-14.555-15.176-5.014-.835-10.195-1.215-15.187-1.191-4.99.023-9.612.448-13.805 1.191C37.098 6.188 35 10.758 35 19.183V30h29v4H23.776c-8.484 0-15.914 5.108-18.237 14.811-2.681 11.12-2.8 17.919 0 29.53C7.614 86.983 12.569 93 21.054 93H31V79.952C31 70.315 39.428 62 49.33 62zm-1.838-39.11c-3.026 0-5.478-2.479-5.478-5.545 0-3.079 2.451-5.581 5.478-5.581 3.015 0 5.479 2.502 5.479 5.581-.001 3.066-2.465 5.545-5.479 5.545zm74.789 25.921C120.183 40.363 116.178 34 107.682 34H97v12.981C97 57.031 88.206 65 78.489 65H49.33C41.342 65 35 72.326 35 80.326v27.8c0 7.91 6.745 12.564 14.462 14.834 9.242 2.717 17.994 3.208 29.051 0C85.862 120.831 93 116.549 93 108.126V97H64v-4h43.682c8.484 0 11.647-5.776 14.599-14.66 3.047-9.145 2.916-17.799 0-29.529zm-41.955 55.606c3.027 0 5.479 2.479 5.479 5.547 0 3.076-2.451 5.579-5.479 5.579-3.015 0-5.478-2.502-5.478-5.579 0-3.068 2.463-5.547 5.478-5.547z"
1932
- ></path>
1933
- </svg>
1934
- Python Script
1935
- </terra-menu-item>
1936
- <terra-menu-item
1937
- value="earthdata-download"
1938
- >
1939
- <svg
1940
- slot="prefix"
1941
- viewBox="0 0 64 64"
1942
- fill="none"
1943
- width="16"
1944
- height="16"
1945
- style="width: 16px; height: 16px;"
1946
- >
1947
- <circle
1948
- cx="32"
1949
- cy="32"
1950
- r="28"
1951
- fill="currentColor"
1952
- />
1953
- <path
1954
- d="M32 14v26M32 40l-9-9M32 40l9-9"
1955
- stroke="#fff"
1956
- stroke-width="4"
1957
- stroke-linecap="round"
1958
- stroke-linejoin="round"
1959
- fill="none"
1960
- />
1961
- </svg>
1962
- Earthdata Download
1963
- </terra-menu-item>
1964
- </terra-menu>
1965
- </terra-dropdown>
1966
-
1967
- <!--
1968
- <terra-button
1969
- outline
1970
- @click=${() => __privateMethod(this, _TerraDataSubsetter_instances, handleJupyterNotebookClick_fn).call(this)}
1971
- >
1972
- <terra-icon
1973
- name="outline-code-bracket"
1974
- library="heroicons"
1975
- font-size="1.5em"
1976
- style="margin-right: 5px;"
1977
- ></terra-icon>
1978
- Open in Jupyter Notebook
1979
- </terra-button>
1980
- --></div>
1981
- ` : A}
1982
- ${__privateMethod(this, _TerraDataSubsetter_instances, renderJobActionButtons_fn).call(this)}
1983
-
1984
- <div class="job-info">
1985
- Job ID:
1986
- <span class="job-id">
1987
- ${this.bearerToken ? b`<a
1988
- href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
1989
- target="_blank"
1990
- >${__privateGet(this, _harmonyRequestController).jobId}</a
1991
- >` : __privateGet(this, _harmonyRequestController).jobId}
1992
- </span>
1993
- <span class="info-icon">?</span>
1994
- </div>
1995
- </div>
1996
- ` : A}
1997
- `;
1998
- };
1999
- renderSelectedParams_fn = function() {
2000
- var _a, _b, _c, _d;
2001
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
2002
- const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
2003
- const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
2004
- const spatial = (_c = (_b = this.spatialSelection) == null ? void 0 : _b.toString()) != null ? _c : "-";
2005
- return b`
2006
- <dl class="params-summary">
2007
- <div>
2008
- <dt><strong>Dataset</strong></dt>
2009
- <dd>${(_d = collection == null ? void 0 : collection.EntryTitle) != null ? _d : "\u2014"}</dd>
2010
- </div>
2011
- <div>
2012
- <dt><strong>Variables</strong></dt>
2013
- <dd>${variables.map((v) => b`<div>${v}</div>`)}</dd>
2014
- </div>
2015
- <div>
2016
- <dt><strong>Dimensions</strong></dt>
2017
- <dd>
2018
- ${Object.entries(this.selectedDimensionIndexes).length ? Object.entries(this.selectedDimensionIndexes).map(
2019
- ([dimName, value]) => b`<div>
2020
- <strong>${dimName}:</strong> ${value}
2021
- </div>`
2022
- ) : "\u2014"}
2023
- </dd>
2024
- </div>
2025
- <div>
2026
- <dt><strong>Date Range</strong></dt>
2027
- <dd>${dateRange}</dd>
2028
- </div>
2029
- <div>
2030
- <dt><strong>Spatial</strong></dt>
2031
- <dd>${spatial}</dd>
2032
- </div>
2033
- </dl>
2034
-
2035
- <terra-button @click=${__privateMethod(this, _TerraDataSubsetter_instances, refineParameters_fn)}
2036
- >Refine Parameters</terra-button
2037
- >
2038
- `;
2039
- };
2040
- cancelJob_fn = async function() {
2041
- if (!this.jobId) {
2042
- return;
2043
- }
2044
- this.cancelingGetData = true;
2045
- try {
2046
- await __privateGet(this, _harmonyRequestController).cancelJob({
2047
- jobId: this.jobId,
2048
- options: { bearerToken: this.bearerToken }
2049
- });
2050
- } catch (e2) {
2051
- this.cancelingGetData = false;
2052
- }
2053
- };
2054
- resumeJob_fn = async function() {
2055
- if (!this.jobId) {
2056
- return;
2057
- }
2058
- this.resumingJob = true;
2059
- try {
2060
- await __privateGet(this, _harmonyRequestController).resumeJob({
2061
- jobId: this.jobId,
2062
- options: { bearerToken: this.bearerToken }
2063
- });
2064
- } catch (e2) {
2065
- this.resumingJob = false;
2066
- }
2067
- };
2068
- /**
2069
- * A paused, running, or previewing job can be canceled. Used both to decide whether to
2070
- * render the Cancel request button and to know when a pending cancel has actually taken
2071
- * effect (the job status leaves this set).
2072
- */
2073
- canCancelJob_fn = function() {
2074
- const status = __privateGet(this, _harmonyRequestController).status;
2075
- return status === "running" /* RUNNING */ || status === "previewing" /* PREVIEWING */ || status === "paused" /* PAUSED */;
2076
- };
2077
- /**
2078
- * Renders the Resume Job / Cancel request footer buttons based on the job's current status.
2079
- * A paused job can be resumed or canceled; a running (or previewing) job can only be canceled.
2080
- */
2081
- renderJobActionButtons_fn = function() {
2082
- const status = __privateGet(this, _harmonyRequestController).status;
2083
- return b`
2084
- <div>
2085
- ${status === "paused" /* PAUSED */ ? b`<button
2086
- class="btn btn-primary"
2087
- @click=${__privateMethod(this, _TerraDataSubsetter_instances, resumeJob_fn)}
2088
- ?disabled=${this.resumingJob}
2089
- >
2090
- ${this.resumingJob ? "Resuming..." : "Resume"}
2091
- </button>` : A}
2092
- ${__privateMethod(this, _TerraDataSubsetter_instances, canCancelJob_fn).call(this) ? b`<button
2093
- class="btn btn-success"
2094
- @click=${__privateMethod(this, _TerraDataSubsetter_instances, cancelJob_fn)}
2095
- ?disabled=${this.cancelingGetData}
2096
- >
2097
- ${this.cancelingGetData ? "Canceling..." : "Cancel"}
2098
- </button>` : A}
2099
- </div>
2100
- `;
2101
- };
2102
- getData_fn = async function() {
2103
- if (this.isSubmittingRequest) {
2104
- return;
2105
- }
2106
- this.isSubmittingRequest = true;
2107
- try {
2108
- await __privateMethod(this, _TerraDataSubsetter_instances, submitDataRequest_fn).call(this);
2109
- } finally {
2110
- this.isSubmittingRequest = false;
2111
- }
2112
- };
2113
- submitDataRequest_fn = async function() {
2114
- var _a, _b, _c, _d, _e, _f, _g, _h;
2115
- this.harmonyRequestError = void 0;
2116
- const validationError = __privateMethod(this, _TerraDataSubsetter_instances, getGiovanniValidationError_fn).call(this);
2117
- if (validationError) {
2118
- this.validationError = validationError;
2119
- __privateMethod(this, _TerraDataSubsetter_instances, markFieldTouched_fn).call(this, "variables");
2120
- return;
2121
- }
2122
- this.validationError = void 0;
2123
- this.cancelingGetData = false;
2124
- __privateMethod(this, _TerraDataSubsetter_instances, touchAllFields_fn).call(this);
2125
- const variables = this.selectedFormat.isGiovanniFormat ? this.selectedVariables.map(
2126
- (v) => {
2127
- var _a2, _b2, _c2;
2128
- return (
2129
- // the Giovanni variable catalog uses different variable entry ids, we need to support them
2130
- // ex. CMR: M2T1NXSLV_5.2.14 in Giovanni uses underscores: M2T1NXSLV_5_2_14
2131
- convertVariableEntryIdToGiovanniFormat(
2132
- (_a2 = this.collectionWithServices.shortName) != null ? _a2 : "",
2133
- (_c2 = (_b2 = this.collectionWithServices.collection) == null ? void 0 : _b2.Version) != null ? _c2 : "",
2134
- v.name
2135
- )
2136
- );
2137
- }
2138
- ) : this.selectedVariables.map((v) => v.conceptId);
2139
- const harmonyRequest = new HarmonyRequest({
2140
- collectionConceptId: this.collectionWithServices.conceptId,
2141
- variables,
2142
- location: this.spatialSelection,
2143
- anonymous: !__privateGet(this, _authController).state.user
2144
- });
2145
- if (this.shapeGeoJson) {
2146
- harmonyRequest.shape(this.shapeGeoJson);
2147
- }
2148
- if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2149
- harmonyRequest.startDate(
2150
- this.isSubDaily ? this.selectedDateRange.startDate : getUTCDate(this.selectedDateRange.startDate).toISOString()
2151
- );
2152
- harmonyRequest.endDate(
2153
- this.isSubDaily ? this.selectedDateRange.endDate : getUTCDate(this.selectedDateRange.endDate).toISOString()
2154
- );
2155
- }
2156
- if (this.selectedFormat) {
2157
- harmonyRequest.format(
2158
- this.selectedFormat.isGiovanniFormat ? "text/csv" : this.selectedFormat.key
2159
- );
2160
- }
2161
- const isPointLocation = this.spatialSelection instanceof LatLng;
2162
- if (this.selectedFormat.key === "text/csv" && !isPointLocation) {
2163
- harmonyRequest.average("area");
2164
- }
2165
- if (this.selectedFormat.key === "image/tiff") {
2166
- harmonyRequest.average("time");
2167
- }
2168
- if (Object.keys(this.selectedDimensionIndexes).length) {
2169
- Object.entries(this.selectedDimensionIndexes).forEach(
2170
- ([dimName, { start, end }]) => {
2171
- harmonyRequest.dimension({
2172
- name: dimName,
2173
- min: start,
2174
- max: end
2175
- });
2176
- }
2177
- );
2178
- }
2179
- harmonyRequest.label("terra-data-subsetter");
2180
- const cwsShortName = (_d = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName) != null ? _d : (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.ShortName;
2181
- const cwsVersion = (_f = (_e = this.collectionWithServices) == null ? void 0 : _e.collection) == null ? void 0 : _f.Version;
2182
- const cwsEntryTitle = (_h = (_g = this.collectionWithServices) == null ? void 0 : _g.collection) == null ? void 0 : _h.EntryTitle;
2183
- if (cwsShortName && cwsVersion) {
2184
- harmonyRequest.label(
2185
- `collection-entry-id: ${cwsShortName}_${cwsVersion}`.toLowerCase()
2186
- );
2187
- }
2188
- if (cwsEntryTitle) {
2189
- harmonyRequest.label(
2190
- `collection-entry-title: ${cwsEntryTitle.toLowerCase()}`
2191
- );
2192
- }
2193
- console.log("Creating Harmony job with request:", harmonyRequest.params);
2194
- try {
2195
- const job = await __privateGet(this, _harmonyRequestController).startJob({
2196
- harmonyRequest,
2197
- options: { bearerToken: this.bearerToken }
2198
- });
2199
- this.jobId = job.jobID;
2200
- } catch (error) {
2201
- this.harmonyRequestError = __privateMethod(this, _TerraDataSubsetter_instances, getHarmonyRequestErrorMessage_fn).call(this, error);
2202
- this.refineParameters = false;
2203
- return;
2204
- }
2205
- setTimeout(() => {
2206
- const el = this.renderRoot.querySelector("#job-status-section");
2207
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2208
- }, 100);
2209
- this.refineParameters = false;
2210
- this.isHistoryView = false;
2211
- };
2212
- touchAllFields_fn = function() {
2213
- this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
2214
- };
2215
- numberOfFilesFoundEstimate_fn = function() {
2216
- var _a, _b, _c;
2217
- return Math.floor(
2218
- ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules) != null ? _b : 0) * ((_c = __privateGet(this, _harmonyRequestController).progress) != null ? _c : 0) / 100
2219
- );
2220
- };
2221
- getDocumentationLinks_fn = function() {
2222
- var _a, _b;
2223
- return ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links) != null ? _b : []).filter(
2224
- (link) => link.rel === "stac-catalog-json"
2225
- );
2226
- };
2227
- getDataLinks_fn = function() {
2228
- var _a, _b;
2229
- return ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links) != null ? _b : []).filter(
2230
- (link) => link.rel === "data"
2231
- );
2232
- };
2233
- hasAtLeastOneSubsetOption_fn = function() {
2234
- var _a, _b, _c, _d;
2235
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape) || ((_c = this.collectionWithServices) == null ? void 0 : _c.summary.subsetting.variable) || ((_d = this.collectionWithServices) == null ? void 0 : _d.summary.subsetting.temporal);
2236
- };
2237
- hasSpatialSubset_fn = function() {
2238
- var _a, _b;
2239
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape);
2240
- };
2241
- renderPausedMessage_fn = function() {
2242
- if (__privateGet(this, _harmonyRequestController).status !== "paused" /* PAUSED */ || this.resumingJob) {
2243
- return A;
2244
- }
2245
- return b`
2246
- <terra-alert open variant="warning" appearance="white">
2247
- <p>This is a large request, so processing paused after the first few files so you can review the results.</p>
2248
- <p>
2249
- If everything looks correct, select
2250
- <a
2251
- href="#"
2252
- class="action-link"
2253
- @click=${(e2) => {
2254
- e2.preventDefault();
2255
- __privateMethod(this, _TerraDataSubsetter_instances, resumeJob_fn).call(this);
2256
- }}
2257
- >Resume</a
2258
- >
2259
- to continue. Otherwise, select
2260
- <a
2261
- href="#"
2262
- class="action-link"
2263
- @click=${(e2) => {
2264
- e2.preventDefault();
2265
- __privateMethod(this, _TerraDataSubsetter_instances, cancelJob_fn).call(this);
2266
- }}
2267
- >Cancel</a
2268
- >
2269
- and adjust your request.
2270
- </p>
2271
- <p>Large jobs may take some time to complete. You can leave this page and check progress later from the History tab in the bottom-right corner of the page.</p>
2272
- </terra-alert>
2273
- `;
2274
- };
2275
- renderJobMessage_fn = function() {
2276
- var _a;
2277
- const warningStatuses = [
2278
- "canceled" /* CANCELED */,
2279
- "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
2280
- "running_with_errors" /* RUNNING_WITH_ERRORS */
2281
- ];
2282
- const errorStatuses = ["failed" /* FAILED */];
2283
- if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.status) || __privateGet(this, _harmonyRequestController).status === "paused" /* PAUSED */) {
2284
- return A;
2285
- }
2286
- let type = "normal";
2287
- if (warningStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2288
- type = "warning";
2289
- } else if (errorStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2290
- type = "error";
2291
- }
2292
- let color, bg;
2293
- if (type === "error") {
2294
- color = "#dc3545";
2295
- bg = "#f8d7da";
2296
- } else if (type === "warning") {
2297
- color = "#856404";
2298
- bg = "#fff3cd";
2299
- } else {
2300
- color = "#555";
2301
- bg = "#f8f9fa";
2302
- }
2303
- return b`
2304
- <div
2305
- style="
2306
- margin: 24px 0 16px 0;
2307
- padding: 16px 20px;
2308
- border-radius: 6px;
2309
- background: ${bg};
2310
- color: ${color};
2311
- border: 1px solid ${color}22;
2312
- "
2313
- >
2314
- ${__privateMethod(this, _TerraDataSubsetter_instances, getJobMessageText_fn).call(this)}
2315
- </div>
2316
- `;
2317
- };
2318
- getJobMessageText_fn = function() {
2319
- var _a;
2320
- return (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.message.replace(
2321
- /\b(The job|the job|job|Job)\b/g,
2322
- (match) => {
2323
- switch (match) {
2324
- case "The job":
2325
- return "Your request";
2326
- case "the job":
2327
- return "Your Request";
2328
- case "job":
2329
- return "request";
2330
- case "Job":
2331
- return "Request";
2332
- }
2333
- return match;
2334
- }
2335
- );
2336
- };
2337
- estimateJobSize_fn = function() {
2338
- var _a, _b, _c, _d, _e;
2339
- if (!((_a = this.collectionWithServices) == null ? void 0 : _a.granuleCount)) return;
2340
- const range = __privateMethod(this, _TerraDataSubsetter_instances, getCollectionDateRange_fn).call(this);
2341
- let startDate;
2342
- let endDate;
2343
- let links = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.granuleCount) != null ? _c : 0;
2344
- if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2345
- startDate = this.selectedDateRange.startDate;
2346
- endDate = this.selectedDateRange.endDate;
2347
- } else {
2348
- startDate = (_d = this.granuleMinDate) != null ? _d : range.startDate;
2349
- endDate = (_e = this.granuleMaxDate) != null ? _e : range.endDate;
2350
- }
2351
- if (!startDate || !endDate) return;
2352
- const start = new Date(startDate);
2353
- const end = new Date(endDate);
2354
- const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
2355
- if (range.startDate && range.endDate) {
2356
- const availableDaysInCollection = Math.floor(
2357
- (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
2358
- ) + 1;
2359
- const granulesPerDay = links / availableDaysInCollection;
2360
- links = Math.ceil(days * granulesPerDay);
2361
- }
2362
- return { days, links };
2363
- };
2364
- refineParameters_fn = function() {
2365
- this.refineParameters = true;
2366
- };
2367
- backToSubsetOptions_fn = function() {
2368
- this.refineParameters = true;
2369
- this.harmonyRequestError = void 0;
2370
- setTimeout(() => {
2371
- const container = this.renderRoot.querySelector(".container");
2372
- container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
2373
- }, 100);
2374
- };
2375
- viewRunningJob_fn = function() {
2376
- this.refineParameters = false;
2377
- setTimeout(() => {
2378
- const el = this.renderRoot.querySelector("#job-status-section");
2379
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2380
- }, 100);
2381
- };
2382
- handleDownloadSelect_fn = function(event) {
2383
- const item = event.detail.item;
2384
- const value = item.value || item.getTextLabel();
2385
- if (value === "file-list") {
2386
- __privateMethod(this, _TerraDataSubsetter_instances, downloadLinksAsTxt_fn).call(this, event);
2387
- } else if (value === "python-script") {
2388
- __privateMethod(this, _TerraDataSubsetter_instances, downloadPythonScript_fn).call(this, event);
2389
- } else if (value === "earthdata-download") {
2390
- __privateMethod(this, _TerraDataSubsetter_instances, downloadEarthdataDownload_fn).call(this, event);
2391
- }
2392
- };
2393
- downloadLinksAsTxt_fn = function(event) {
2394
- var _a;
2395
- event.stopPropagation();
2396
- if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2397
- return;
2398
- }
2399
- const dataLinks = __privateMethod(this, _TerraDataSubsetter_instances, getDataLinks_fn).call(this);
2400
- if (dataLinks.length === 0) {
2401
- return;
2402
- }
2403
- const content = dataLinks.map((link) => link.href).join("\n");
2404
- const blob = new Blob([content], { type: "text/plain" });
2405
- const url = URL.createObjectURL(blob);
2406
- const a = document.createElement("a");
2407
- a.href = url;
2408
- a.download = `subset_links_${__privateGet(this, _harmonyRequestController).jobId}.txt`;
2409
- document.body.appendChild(a);
2410
- a.click();
2411
- document.body.removeChild(a);
2412
- URL.revokeObjectURL(url);
2413
- };
2414
- downloadPythonScript_fn = async function(event) {
2415
- var _a, _b, _c, _d;
2416
- event.stopPropagation();
2417
- if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2418
- return;
2419
- }
2420
- const response = await fetch(
2421
- getBasePath("assets/data-subsetter/download_subset_files.py.txt")
2422
- );
2423
- if (!response.ok) {
2424
- alert(
2425
- "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
2426
- );
2427
- }
2428
- const content = (await response.text()).replace(/{{jobId}}/gi, (_b = __privateGet(this, _harmonyRequestController).jobId) != null ? _b : "").replace(
2429
- /{{HARMONY_ENV}}/gi,
2430
- `Environment.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
2431
- ).replace(
2432
- /{{EARTHACCESS_ENV}}/gi,
2433
- `earthaccess.${(_d = this.environment) == null ? void 0 : _d.toUpperCase()}`
2434
- );
2435
- const blob = new Blob([content], { type: "text/plain" });
2436
- const url = URL.createObjectURL(blob);
2437
- const a = document.createElement("a");
2438
- a.href = url;
2439
- a.download = `download_subset_files_${__privateGet(this, _harmonyRequestController).jobId}.py`;
2440
- document.body.appendChild(a);
2441
- a.click();
2442
- document.body.removeChild(a);
2443
- URL.revokeObjectURL(url);
2444
- };
2445
- downloadEarthdataDownload_fn = async function(event) {
2446
- var _a;
2447
- event.stopPropagation();
2448
- if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2449
- return;
2450
- }
2451
- alert("Sorry, Earthdata Download is not currently supported");
2452
- };
2453
- handleJupyterNotebookClick_fn = function() {
2454
- const notebook = getNotebook(this);
2455
- sendDataToJupyterNotebook("load-notebook", {
2456
- filename: `subset_${__privateGet(this, _harmonyRequestController).jobId}.ipynb`,
2457
- notebook,
2458
- bearerToken: this.bearerToken
2459
- });
2460
- };
2461
- renderAvailableTemporalRangeSection_fn = function() {
2462
- const { startDate, endDate } = __privateMethod(this, _TerraDataSubsetter_instances, getCollectionDateRange_fn).call(this);
2463
- if (!startDate || !endDate) return A;
2464
- return b`
2465
- <div class="section" style="margin-bottom: 16px;">
2466
- <h2 class="section-title">Available Date Range</h2>
2467
- <div style="color: #31708f; margin-top: 8px;">
2468
- <strong>${startDate}</strong> to <strong>${endDate}</strong>
2469
- </div>
2470
- <div style="font-size: 0.95em; color: #666;">
2471
- This collection does not support temporal subsetting.
2472
- </div>
2473
- </div>
2474
- `;
2475
- };
2476
- renderAvailableSpatialRangeSection_fn = function() {
2477
- var _a, _b, _c, _d, _e;
2478
- const boundingRects = (_e = (_d = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.SpatialExtent) == null ? void 0 : _c.HorizontalSpatialDomain) == null ? void 0 : _d.Geometry) == null ? void 0 : _e.BoundingRectangles;
2479
- if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
2480
- return A;
2481
- return b`
2482
- <div class="section" style="margin-bottom: 16px;">
2483
- <h2 class="section-title">Available Spatial Area</h2>
2484
- <div style="color: #31708f; margin-top: 8px;">
2485
- ${boundingRects.map(
2486
- (rect) => b`<div>
2487
- <strong>Bounding Box:</strong>
2488
- ${rect.WestBoundingCoordinate},
2489
- ${rect.SouthBoundingCoordinate},
2490
- ${rect.EastBoundingCoordinate},
2491
- ${rect.NorthBoundingCoordinate}
2492
- </div>`
2493
- )}
2494
- </div>
2495
- <div style="font-size: 0.95em; color: #666;">
2496
- This collection does not support spatial subsetting.
2497
- </div>
2498
- </div>
2499
- `;
2500
- };
2501
- renderDataAccessModeSelection_fn = function() {
2502
- if (!__privateGet(this, _collectionController).hasGranules) {
2503
- return A;
2504
- }
2505
- return b`
2506
- <div class="mode-selection">
2507
- <div class="mode-options">
2508
- <label
2509
- class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
2510
- >
2511
- <input
2512
- type="radio"
2513
- name="data-access-mode"
2514
- value="original"
2515
- .checked=${this.dataAccessMode === "original"}
2516
- @change=${() => this.dataAccessMode = "original"}
2517
- />
2518
- <div class="mode-content">
2519
- <div class="mode-title">Get Original Files</div>
2520
- <div class="mode-description">
2521
- Filter file links directly from the archive.
2522
- </div>
2523
- </div>
2524
- </label>
2525
-
2526
- <label
2527
- class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2528
- >
2529
- <input
2530
- type="radio"
2531
- name="data-access-mode"
2532
- value="subset"
2533
- .checked=${this.dataAccessMode === "subset"}
2534
- @change=${() => this.dataAccessMode = "subset"}
2535
- />
2536
- <div class="mode-content">
2537
- <div class="mode-title">Transform Data</div>
2538
- <div class="mode-description">
2539
- Transform the data to your specific needs.
2540
- </div>
2541
- </div>
2542
- </label>
2543
- </div>
2544
- </div>
2545
- `;
2546
- };
2547
- getGiovanniValidationError_fn = function() {
2548
- if (!this.selectedFormat.isGiovanniFormat) {
2549
- return null;
2550
- }
2551
- if (this.selectedVariables.length === 0) {
2552
- return "Please select a variable to subset.";
2553
- }
2554
- if (this.selectedVariables.length > 1) {
2555
- return "The selected format only supports subsetting one variable at a time.";
2556
- }
2557
- return null;
2558
- };
2559
- getHarmonyRequestErrorMessage_fn = function(error) {
2560
- var _a;
2561
- if (error instanceof HttpException) {
2562
- const sanitizedMessage = (_a = error.message) == null ? void 0 : _a.replace(/^Error:\s*/i, "").trim();
2563
- if (sanitizedMessage == null ? void 0 : sanitizedMessage.toLowerCase().includes("no matching granules found")) {
2564
- return "No matching granules were found for your subset request. Please try expanding your search";
2565
- }
2566
- if (sanitizedMessage) {
2567
- return sanitizedMessage;
2568
- }
2569
- }
2570
- return "Unable to create your subset request. Please try again.";
2571
- };
2572
- renderHarmonyRequestError_fn = function() {
2573
- if (!this.harmonyRequestError) {
2574
- return A;
2575
- }
2576
- const noGranulesMessage = "No matching granules were found for your subset request. Please try expanding your search";
2577
- if (this.harmonyRequestError === noGranulesMessage) {
2578
- return b`
2579
- No matching granules were found for your subset request. Please try
2580
- <a
2581
- href="#"
2582
- @click=${__privateGet(this, _handleExpandSearchClick)}
2583
- style="color: inherit; text-decoration: underline; font-weight: 600;"
2584
- >
2585
- expanding your search
2586
- </a>
2587
- `;
2588
- }
2589
- return this.harmonyRequestError;
2590
- };
2591
- _handleExpandSearchClick = new WeakMap();
2592
- TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2593
- TerraDataSubsetter.dependencies = {
2594
- "terra-accordion": TerraAccordion,
2595
- "terra-date-picker": TerraDatePicker,
2596
- "terra-icon": TerraIcon,
2597
- "terra-input": TerraInput,
2598
- "terra-spatial-picker": TerraSpatialPicker,
2599
- "terra-login": TerraLogin,
2600
- "terra-loader": TerraLoader,
2601
- "terra-data-access": TerraDataAccess,
2602
- "terra-dialog": TerraDialog,
2603
- "terra-dropdown": TerraDropdown,
2604
- "terra-menu": TerraMenu,
2605
- "terra-menu-item": TerraMenuItem,
2606
- "terra-button": TerraButton,
2607
- "terra-alert": TerraAlert,
2608
- "terra-slider": TerraSlider
2609
- };
2610
- __decorateClass([
2611
- n({
2612
- reflect: true,
2613
- attribute: "collection-entry-id",
2614
- converter: undefinedStringConverter
2615
- })
2616
- ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2617
- __decorateClass([
2618
- n({
2619
- reflect: true,
2620
- attribute: "short-name",
2621
- converter: undefinedStringConverter
2622
- })
2623
- ], TerraDataSubsetter.prototype, "shortName", 2);
2624
- __decorateClass([
2625
- n({
2626
- reflect: true,
2627
- attribute: "version",
2628
- converter: undefinedStringConverter
2629
- })
2630
- ], TerraDataSubsetter.prototype, "version", 2);
2631
- __decorateClass([
2632
- n({
2633
- reflect: true,
2634
- type: Boolean,
2635
- attribute: "show-collection-search"
2636
- })
2637
- ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2638
- __decorateClass([
2639
- n({
2640
- reflect: true,
2641
- type: Boolean,
2642
- attribute: "read-constraints-from-url"
2643
- })
2644
- ], TerraDataSubsetter.prototype, "readConstraintsFromUrl", 2);
2645
- __decorateClass([
2646
- n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2647
- ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2648
- __decorateClass([
2649
- n({ reflect: true, attribute: "job-id" })
2650
- ], TerraDataSubsetter.prototype, "jobId", 2);
2651
- __decorateClass([
2652
- n({
2653
- attribute: "bearer-token",
2654
- converter: undefinedStringConverter
2655
- })
2656
- ], TerraDataSubsetter.prototype, "bearerToken", 2);
2657
- __decorateClass([
2658
- n({ attribute: false })
2659
- ], TerraDataSubsetter.prototype, "onLoginClick", 2);
2660
- __decorateClass([
2661
- n()
2662
- ], TerraDataSubsetter.prototype, "features", 2);
2663
- __decorateClass([
2664
- n({ reflect: true })
2665
- ], TerraDataSubsetter.prototype, "dialog", 2);
2666
- __decorateClass([
2667
- n({ reflect: true, type: Boolean, attribute: "is-history-view" })
2668
- ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2669
- __decorateClass([
2670
- r()
2671
- ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2672
- __decorateClass([
2673
- r()
2674
- ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2675
- __decorateClass([
2676
- r()
2677
- ], TerraDataSubsetter.prototype, "selectedDimensionIndexes", 2);
2678
- __decorateClass([
2679
- r()
2680
- ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2681
- __decorateClass([
2682
- r()
2683
- ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2684
- __decorateClass([
2685
- r()
2686
- ], TerraDataSubsetter.prototype, "touchedFields", 2);
2687
- __decorateClass([
2688
- r()
2689
- ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2690
- __decorateClass([
2691
- r()
2692
- ], TerraDataSubsetter.prototype, "shapeGeoJson", 2);
2693
- __decorateClass([
2694
- r()
2695
- ], TerraDataSubsetter.prototype, "spatialLabel", 2);
2696
- __decorateClass([
2697
- r()
2698
- ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2699
- __decorateClass([
2700
- r()
2701
- ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2702
- __decorateClass([
2703
- r()
2704
- ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2705
- __decorateClass([
2706
- r()
2707
- ], TerraDataSubsetter.prototype, "resumingJob", 2);
2708
- __decorateClass([
2709
- r()
2710
- ], TerraDataSubsetter.prototype, "isSubmittingRequest", 2);
2711
- __decorateClass([
2712
- r()
2713
- ], TerraDataSubsetter.prototype, "selectedTab", 2);
2714
- __decorateClass([
2715
- r()
2716
- ], TerraDataSubsetter.prototype, "refineParameters", 2);
2717
- __decorateClass([
2718
- r()
2719
- ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2720
- __decorateClass([
2721
- r()
2722
- ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2723
- __decorateClass([
2724
- r()
2725
- ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2726
- __decorateClass([
2727
- r()
2728
- ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2729
- __decorateClass([
2730
- r()
2731
- ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2732
- __decorateClass([
2733
- r()
2734
- ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2735
- __decorateClass([
2736
- r()
2737
- ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2738
- __decorateClass([
2739
- r()
2740
- ], TerraDataSubsetter.prototype, "validationError", 2);
2741
- __decorateClass([
2742
- r()
2743
- ], TerraDataSubsetter.prototype, "harmonyRequestError", 2);
2744
- __decorateClass([
2745
- r()
2746
- ], TerraDataSubsetter.prototype, "granuleMinDate", 2);
2747
- __decorateClass([
2748
- r()
2749
- ], TerraDataSubsetter.prototype, "granuleMaxDate", 2);
2750
- __decorateClass([
2751
- r()
2752
- ], TerraDataSubsetter.prototype, "giovanniConfiguredVariables", 2);
2753
- __decorateClass([
2754
- e('[part~="spatial-picker"]')
2755
- ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2756
- __decorateClass([
2757
- e("terra-dialog")
2758
- ], TerraDataSubsetter.prototype, "dialogElement", 2);
2759
- __decorateClass([
2760
- watch(["jobId"], { waitUntilFirstUpdate: true })
2761
- ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2762
- __decorateClass([
2763
- watch(["shortName", "version"])
2764
- ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2765
- __decorateClass([
2766
- watch("collectionEntryId", { waitUntilFirstUpdate: true })
2767
- ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2768
- __decorateClass([
2769
- watch("readConstraintsFromUrl")
2770
- ], TerraDataSubsetter.prototype, "readConstraintsFromUrlChanged", 1);
2771
- __decorateClass([
2772
- watch(["collectionWithServices"])
2773
- ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2774
- __decorateClass([
2775
- watch(["granuleMinDate", "granuleMaxDate"])
2776
- ], TerraDataSubsetter.prototype, "granuleDatesChanged", 1);
2777
- __decorateClass([
2778
- watch("selectedFormat")
2779
- ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2780
- __decorateClass([
2781
- debounce(500)
2782
- ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2783
-
2784
- export {
2785
- TerraDataSubsetter
2786
- };