@nasa-terra/components 0.0.167 → 0.0.168

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 (1286) hide show
  1. package/cdn/chunks/chunk.23Y7QMN5.js +753 -0
  2. package/cdn/chunks/chunk.252UGE6N.js +83 -0
  3. package/cdn/chunks/chunk.2EOILFQB.js +29 -0
  4. package/cdn/chunks/chunk.2EZ2LX7J.js +36 -0
  5. package/cdn/chunks/chunk.2JDVFGVM.js +29 -0
  6. package/cdn/chunks/chunk.2L3G2ZYT.js +32 -0
  7. package/cdn/chunks/chunk.2NM4U2LU.js +187 -0
  8. package/cdn/chunks/chunk.32QIZ3CY.js +19 -0
  9. package/cdn/chunks/chunk.37MXREIV.js +19 -0
  10. package/cdn/chunks/chunk.3CSJL7J2.js +302 -0
  11. package/cdn/chunks/chunk.3DEAXFWU.js +36 -0
  12. package/cdn/chunks/chunk.3DRAPGCR.js +19 -0
  13. package/cdn/chunks/chunk.3EGYC4UH.js +29 -0
  14. package/cdn/chunks/chunk.3ELOOPZC.js +538 -0
  15. package/cdn/chunks/chunk.3FFHAUQ7.js +19 -0
  16. package/cdn/chunks/chunk.3PZB6AVW.js +283 -0
  17. package/cdn/chunks/chunk.454OK36W.js +19 -0
  18. package/cdn/chunks/chunk.45XFWGEL.js +110 -0
  19. package/cdn/chunks/chunk.4IOFYK2F.js +288 -0
  20. package/cdn/chunks/chunk.4MQ7H7CX.js +19 -0
  21. package/cdn/chunks/chunk.4RSZ2OBQ.js +524 -0
  22. package/cdn/chunks/chunk.4SKPUBEA.js +19 -0
  23. package/cdn/chunks/chunk.55FIZU5U.js +35 -0
  24. package/cdn/chunks/chunk.5AQICZZL.js +35 -0
  25. package/cdn/chunks/chunk.5OE7GWMD.js +599 -0
  26. package/cdn/chunks/chunk.5XTCLNLO.js +610 -0
  27. package/cdn/chunks/chunk.62X7SZ2F.js +123 -0
  28. package/cdn/chunks/chunk.63MNRJW7.js +19 -0
  29. package/cdn/chunks/chunk.6CURGMM6.js +510 -0
  30. package/cdn/chunks/chunk.6FNKR3O7.js +29 -0
  31. package/cdn/chunks/chunk.6GTGMOY6.js +19 -0
  32. package/cdn/chunks/chunk.6HCE5G2V.js +36 -0
  33. package/cdn/chunks/chunk.6NHCD6UN.js +19 -0
  34. package/cdn/chunks/chunk.6PDKWTOW.js +279 -0
  35. package/cdn/chunks/chunk.6TIV4MKY.js +55346 -0
  36. package/cdn/chunks/chunk.6VM33JRP.js +32 -0
  37. package/cdn/chunks/chunk.74RZ4VRO.js +33 -0
  38. package/cdn/chunks/chunk.7L4RT6QQ.js +19 -0
  39. package/cdn/chunks/chunk.7VAWPCVB.js +278 -0
  40. package/cdn/chunks/chunk.A32THQXW.js +19 -0
  41. package/cdn/chunks/chunk.AEHTLUJA.js +99 -0
  42. package/cdn/chunks/chunk.AEZFOM27.js +19 -0
  43. package/cdn/chunks/chunk.AH6W6EGS.js +77 -0
  44. package/cdn/chunks/chunk.AY4NF2HB.js +19 -0
  45. package/cdn/chunks/chunk.B4NPSLHT.js +259 -0
  46. package/cdn/chunks/chunk.B4XACQ5E.js +19 -0
  47. package/cdn/chunks/chunk.B5VDVEYN.js +19 -0
  48. package/cdn/chunks/chunk.BDFSCDHG.js +32 -0
  49. package/cdn/chunks/chunk.BFNY5GH4.js +29 -0
  50. package/cdn/chunks/chunk.BIWAQAE5.js +33 -0
  51. package/cdn/chunks/chunk.BP2XEH4Z.js +71 -0
  52. package/cdn/chunks/chunk.BSITYHX6.js +29 -0
  53. package/cdn/chunks/chunk.CCW2WFCG.js +19 -0
  54. package/cdn/chunks/chunk.CEE5OQDS.js +62 -0
  55. package/cdn/chunks/chunk.CHDWVVLW.js +19 -0
  56. package/cdn/chunks/chunk.CI6LWSO7.js +29 -0
  57. package/cdn/chunks/chunk.CNEFZTCX.js +1224 -0
  58. package/cdn/chunks/chunk.CNLQ4XUE.js +47 -0
  59. package/cdn/chunks/chunk.CTANM47O.js +19 -0
  60. package/cdn/chunks/chunk.CXQOVGV4.js +372 -0
  61. package/cdn/chunks/chunk.DAXSZ2IJ.js +93 -0
  62. package/cdn/chunks/chunk.DNEDXGD3.js +188 -0
  63. package/cdn/chunks/chunk.DRCDC73I.js +477 -0
  64. package/cdn/chunks/chunk.DUXFSD4C.js +49 -0
  65. package/cdn/chunks/chunk.DXIJ7CG3.js +68 -0
  66. package/cdn/chunks/chunk.EA37D2QP.js +29 -0
  67. package/cdn/chunks/chunk.EAT6PD7V.js +2225 -0
  68. package/cdn/chunks/chunk.ECNBOR2W.js +621 -0
  69. package/cdn/chunks/chunk.EFDI6WO3.js +662 -0
  70. package/cdn/chunks/chunk.ELMFDV2G.js +247 -0
  71. package/cdn/chunks/chunk.EMLWKMPU.js +616 -0
  72. package/cdn/chunks/chunk.ERFCXYF7.js +19 -0
  73. package/cdn/chunks/chunk.ET7XCOPF.js +29 -0
  74. package/cdn/chunks/chunk.EW5HEQP5.js +19 -0
  75. package/cdn/chunks/chunk.EWBLDHXB.js +29 -0
  76. package/cdn/chunks/chunk.F73O5LKK.js +134 -0
  77. package/cdn/chunks/chunk.FAMK6EJN.js +19 -0
  78. package/cdn/chunks/chunk.FJEMKM6L.js +99 -0
  79. package/cdn/chunks/chunk.FJQIFYK2.js +287 -0
  80. package/cdn/chunks/chunk.FLJROCEJ.js +19 -0
  81. package/cdn/chunks/chunk.FMQPLJEY.js +19 -0
  82. package/cdn/chunks/chunk.FMYBYUZO.js +29 -0
  83. package/cdn/chunks/chunk.FWOITR7Y.js +19 -0
  84. package/cdn/chunks/chunk.GDFY67YB.js +151 -0
  85. package/cdn/chunks/chunk.GLN3TMVD.js +731 -0
  86. package/cdn/chunks/chunk.GTP5VR76.js +190 -0
  87. package/cdn/chunks/chunk.GUUSY6A3.js +19 -0
  88. package/cdn/chunks/chunk.GVI2UZCY.js +1048 -0
  89. package/cdn/chunks/chunk.GZMSG46L.js +34 -0
  90. package/cdn/chunks/chunk.H23RSP46.js +29 -0
  91. package/cdn/chunks/chunk.H4NW2JKR.js +276 -0
  92. package/cdn/chunks/chunk.H6OGE6KW.js +19 -0
  93. package/cdn/chunks/chunk.HGDCOEDY.js +373 -0
  94. package/cdn/chunks/chunk.HJLJPXTA.js +19 -0
  95. package/cdn/chunks/chunk.HJOYWWGK.js +19 -0
  96. package/cdn/chunks/chunk.HLRS32JB.js +19 -0
  97. package/cdn/chunks/chunk.HSCW5NVO.js +19 -0
  98. package/cdn/chunks/chunk.I2PSEXWT.js +99 -0
  99. package/cdn/chunks/chunk.IAYL5MLB.js +60 -0
  100. package/cdn/chunks/chunk.IGYZHZJI.js +78 -0
  101. package/cdn/chunks/chunk.IRYCSXE5.js +39 -0
  102. package/cdn/chunks/chunk.ISBKM2OB.js +238 -0
  103. package/cdn/chunks/chunk.IUK7T5HL.js +33868 -0
  104. package/cdn/chunks/chunk.IZOAITBI.js +19 -0
  105. package/cdn/chunks/chunk.JA6I3G4U.js +19 -0
  106. package/cdn/chunks/chunk.JCS7F5UC.js +29 -0
  107. package/cdn/chunks/chunk.JHMYPKEY.js +37 -0
  108. package/cdn/chunks/chunk.K3PNC4X7.js +19 -0
  109. package/cdn/chunks/chunk.K65R5XPV.js +19 -0
  110. package/cdn/chunks/chunk.K6SKQZRX.js +157 -0
  111. package/cdn/chunks/chunk.K7EC2QO6.js +145 -0
  112. package/cdn/chunks/chunk.K7QRFF5V.js +134 -0
  113. package/cdn/chunks/chunk.KAB4FTOC.js +19 -0
  114. package/cdn/chunks/chunk.KDVDB76W.js +155 -0
  115. package/cdn/chunks/chunk.KEDEH6QG.js +230 -0
  116. package/cdn/chunks/chunk.KF3MFMQB.js +234 -0
  117. package/cdn/chunks/chunk.KG66FNGO.js +19 -0
  118. package/cdn/chunks/chunk.KGWHWMEB.js +19 -0
  119. package/cdn/chunks/chunk.KPL3Z2VG.js +19 -0
  120. package/cdn/chunks/chunk.KQS44SVL.js +19 -0
  121. package/cdn/chunks/chunk.KRQJE5S5.js +29 -0
  122. package/cdn/chunks/chunk.KTOMYNZW.js +2313 -0
  123. package/cdn/chunks/chunk.KXQTCZIS.js +1010 -0
  124. package/cdn/chunks/chunk.L4KEM2GN.js +32 -0
  125. package/cdn/chunks/chunk.LBABTGAS.js +146 -0
  126. package/cdn/chunks/chunk.LMVBC5KL.js +239 -0
  127. package/cdn/chunks/chunk.LTRHOGG3.js +435 -0
  128. package/cdn/chunks/chunk.M4BPQG63.js +19 -0
  129. package/cdn/chunks/chunk.M4OIO6T3.js +29 -0
  130. package/cdn/chunks/chunk.MVJCA6VM.js +74 -0
  131. package/cdn/chunks/chunk.MVXUXM2U.js +19 -0
  132. package/cdn/chunks/chunk.N3ZGHEYP.js +29 -0
  133. package/cdn/chunks/chunk.N664SCJY.js +19 -0
  134. package/cdn/chunks/chunk.NPVYF6MU.js +29 -0
  135. package/cdn/chunks/chunk.NU3XX242.js +93 -0
  136. package/cdn/chunks/chunk.NX5ANPIE.js +93 -0
  137. package/cdn/chunks/chunk.OGLWCOZI.js +264 -0
  138. package/cdn/chunks/chunk.OIVFB25S.js +30 -0
  139. package/cdn/chunks/chunk.OWZEOKXJ.js +19 -0
  140. package/cdn/chunks/chunk.OZPBFWKU.js +19 -0
  141. package/cdn/chunks/chunk.PDOV4E5N.js +375 -0
  142. package/cdn/chunks/chunk.PMEODL6X.js +29 -0
  143. package/cdn/chunks/chunk.PR6QIRSZ.js +231 -0
  144. package/cdn/chunks/chunk.PURENJG4.js +34 -0
  145. package/cdn/chunks/chunk.Q6UTO6SN.js +36 -0
  146. package/cdn/chunks/chunk.Q7TRLP7J.js +19 -0
  147. package/cdn/chunks/chunk.QDD544ZD.js +33 -0
  148. package/cdn/chunks/chunk.QPXIPFRL.js +35 -0
  149. package/cdn/chunks/chunk.QZBI4K63.js +19 -0
  150. package/cdn/chunks/chunk.QZGHTLKR.js +19 -0
  151. package/cdn/chunks/chunk.R2LK7SNC.js +56 -0
  152. package/cdn/chunks/chunk.R3YTDGUB.js +19 -0
  153. package/cdn/chunks/chunk.R6QV5QO3.js +158 -0
  154. package/cdn/chunks/chunk.R7TV4NMV.js +132 -0
  155. package/cdn/chunks/chunk.REXNVFCL.js +19 -0
  156. package/cdn/chunks/chunk.REZSSCPA.js +32 -0
  157. package/cdn/chunks/chunk.RFPUOSJ7.js +29 -0
  158. package/cdn/chunks/chunk.RMBF3K4K.js +224 -0
  159. package/cdn/chunks/chunk.RUKCVHGU.js +29 -0
  160. package/cdn/chunks/chunk.RYF6C5TO.js +41 -0
  161. package/cdn/chunks/chunk.S25LVDIJ.js +32 -0
  162. package/cdn/chunks/chunk.S2F2564D.js +77 -0
  163. package/cdn/chunks/chunk.S4M6B4JV.js +32 -0
  164. package/cdn/chunks/chunk.SEQFSNN4.js +33 -0
  165. package/cdn/chunks/chunk.SKN5DDDY.js +86 -0
  166. package/cdn/chunks/chunk.SQHONKOR.js +32 -0
  167. package/cdn/chunks/chunk.SSJIUJKZ.js +29 -0
  168. package/cdn/chunks/chunk.SZMZY44Z.js +189 -0
  169. package/cdn/chunks/chunk.T2RI44PG.js +60 -0
  170. package/cdn/chunks/chunk.TFYBBM76.js +19 -0
  171. package/cdn/chunks/chunk.THXFMXA5.js +35 -0
  172. package/cdn/chunks/chunk.TSLXKTQM.js +493 -0
  173. package/cdn/chunks/chunk.TSLZA2FP.js +79 -0
  174. package/cdn/chunks/chunk.TW3MCJVJ.js +357 -0
  175. package/cdn/chunks/chunk.U5KXLZPV.js +29 -0
  176. package/cdn/chunks/chunk.UNGD4CCD.js +359 -0
  177. package/cdn/chunks/chunk.URQ7BAE3.js +19 -0
  178. package/cdn/chunks/chunk.UTIZIYUN.js +19 -0
  179. package/cdn/chunks/chunk.UWGWX7NW.js +29 -0
  180. package/cdn/chunks/chunk.VDCJEORC.js +29 -0
  181. package/cdn/chunks/chunk.VHMLHAMS.js +29 -0
  182. package/cdn/chunks/chunk.VJ5JPJBT.js +32 -0
  183. package/cdn/chunks/chunk.VOZIXD43.js +1966 -0
  184. package/cdn/chunks/chunk.VUNJL3W6.js +19 -0
  185. package/cdn/chunks/chunk.VVRDVZEI.js +904 -0
  186. package/cdn/chunks/chunk.W2QGGLTM.js +19 -0
  187. package/cdn/chunks/chunk.W7KGVFJQ.js +52 -0
  188. package/cdn/chunks/chunk.WGXAEJ6H.js +37 -0
  189. package/cdn/chunks/chunk.X5F62XDZ.js +29 -0
  190. package/cdn/chunks/chunk.X7QAUBX7.js +29 -0
  191. package/cdn/chunks/chunk.XIIE3UD2.js +19 -0
  192. package/cdn/chunks/chunk.XMKX67TX.js +33 -0
  193. package/cdn/chunks/chunk.XPIKH2P4.js +32 -0
  194. package/cdn/chunks/chunk.XTDXEXUZ.js +29 -0
  195. package/cdn/chunks/chunk.XTWPVKRT.js +19 -0
  196. package/cdn/chunks/chunk.XXFXPR2M.js +19 -0
  197. package/cdn/chunks/chunk.XXYJ7BMK.js +32 -0
  198. package/cdn/chunks/chunk.Y5NSJ47F.js +293 -0
  199. package/cdn/chunks/chunk.YBB7K7LI.js +113 -0
  200. package/cdn/chunks/chunk.YCCLUWEU.js +104 -0
  201. package/cdn/chunks/chunk.YFMGE2QU.js +19 -0
  202. package/cdn/chunks/chunk.YN54GYMH.js +136 -0
  203. package/cdn/chunks/chunk.YPIC6IGT.js +32 -0
  204. package/cdn/chunks/chunk.YYAKN7E2.js +19 -0
  205. package/cdn/chunks/chunk.Z4HRJAKR.js +33 -0
  206. package/cdn/chunks/chunk.ZJTIOQU3.js +19 -0
  207. package/cdn/chunks/chunk.ZQIDUKGV.js +32 -0
  208. package/cdn/chunks/chunk.ZVJGSTHG.js +29 -0
  209. package/cdn/chunks/chunk.ZWFKNNQM.js +29 -0
  210. package/cdn/chunks/chunk.ZXILWKOH.js +165 -0
  211. package/cdn/chunks/chunk.ZY7M4I26.js +32 -0
  212. package/cdn/components/accordion/accordion.component.js +5 -5
  213. package/cdn/components/accordion/accordion.js +6 -6
  214. package/cdn/components/alert/alert.component.js +3 -3
  215. package/cdn/components/alert/alert.js +4 -4
  216. package/cdn/components/avatar/avatar.component.js +7 -7
  217. package/cdn/components/avatar/avatar.js +8 -8
  218. package/cdn/components/badge/badge.component.js +2 -2
  219. package/cdn/components/badge/badge.js +3 -3
  220. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  221. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  222. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  223. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  224. package/cdn/components/browse-variables/browse-variables.component.js +18 -18
  225. package/cdn/components/browse-variables/browse-variables.controller.js +3 -3
  226. package/cdn/components/browse-variables/browse-variables.js +19 -19
  227. package/cdn/components/button/button.component.js +7 -7
  228. package/cdn/components/button/button.js +8 -8
  229. package/cdn/components/button-group/button-group.component.js +2 -2
  230. package/cdn/components/button-group/button-group.js +3 -3
  231. package/cdn/components/caption/caption.component.js +2 -2
  232. package/cdn/components/caption/caption.js +3 -3
  233. package/cdn/components/card/card.component.js +2 -2
  234. package/cdn/components/card/card.js +3 -3
  235. package/cdn/components/checkbox/checkbox.component.js +8 -8
  236. package/cdn/components/checkbox/checkbox.js +9 -9
  237. package/cdn/components/chip/chip.component.js +2 -2
  238. package/cdn/components/chip/chip.js +3 -3
  239. package/cdn/components/combobox/combobox.component.d.ts +1 -4
  240. package/cdn/components/combobox/combobox.component.js +6 -6
  241. package/cdn/components/combobox/combobox.js +7 -7
  242. package/cdn/components/data-access/data-access.component.d.ts +3 -2
  243. package/cdn/components/data-access/data-access.component.js +28 -30
  244. package/cdn/components/data-access/data-access.controller.js +3 -3
  245. package/cdn/components/data-access/data-access.js +29 -31
  246. package/cdn/components/data-access/data-access.styles.js +1 -1
  247. package/cdn/components/data-grid/data-grid.component.js +5 -5
  248. package/cdn/components/data-grid/data-grid.js +6 -6
  249. package/cdn/components/data-rods/data-rods.component.js +39 -39
  250. package/cdn/components/data-rods/data-rods.js +40 -40
  251. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +1 -2
  252. package/cdn/components/data-subsetter/data-subsetter.component.js +45 -45
  253. package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +1 -3
  254. package/cdn/components/data-subsetter/data-subsetter.controller.js +3 -3
  255. package/cdn/components/data-subsetter/data-subsetter.js +46 -46
  256. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  257. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +46 -46
  258. package/cdn/components/data-subsetter-history/data-subsetter-history.js +47 -47
  259. package/cdn/components/date-picker/date-picker.component.d.ts +0 -4
  260. package/cdn/components/date-picker/date-picker.component.js +14 -14
  261. package/cdn/components/date-picker/date-picker.js +15 -15
  262. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  263. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  264. package/cdn/components/dialog/dialog.component.js +10 -10
  265. package/cdn/components/dialog/dialog.js +11 -11
  266. package/cdn/components/dialog/dialog.styles.js +1 -1
  267. package/cdn/components/divider/divider.component.js +2 -2
  268. package/cdn/components/divider/divider.js +3 -3
  269. package/cdn/components/dropdown/dropdown.component.js +3 -3
  270. package/cdn/components/dropdown/dropdown.js +4 -4
  271. package/cdn/components/earthdata-login/earthdata-login.component.js +15 -15
  272. package/cdn/components/earthdata-login/earthdata-login.js +16 -16
  273. package/cdn/components/file-upload/file-upload.component.js +2 -2
  274. package/cdn/components/file-upload/file-upload.js +3 -3
  275. package/cdn/components/icon/icon.component.js +3 -3
  276. package/cdn/components/icon/icon.js +4 -4
  277. package/cdn/components/input/input.component.js +8 -8
  278. package/cdn/components/input/input.js +9 -9
  279. package/cdn/components/loader/loader.component.js +2 -2
  280. package/cdn/components/loader/loader.js +3 -3
  281. package/cdn/components/login/login.component.js +12 -12
  282. package/cdn/components/login/login.js +13 -13
  283. package/cdn/components/map/leaflet-utils.d.ts +1 -1
  284. package/cdn/components/map/map.component.js +4 -4
  285. package/cdn/components/map/map.js +5 -5
  286. package/cdn/components/menu/menu.component.js +2 -2
  287. package/cdn/components/menu/menu.js +3 -3
  288. package/cdn/components/menu-item/menu-item.component.js +11 -11
  289. package/cdn/components/menu-item/menu-item.js +12 -12
  290. package/cdn/components/menu-item/submenu-controller.js +3 -3
  291. package/cdn/components/option/option.component.js +6 -6
  292. package/cdn/components/option/option.js +7 -7
  293. package/cdn/components/pagination/pagination.component.js +6 -6
  294. package/cdn/components/pagination/pagination.js +7 -7
  295. package/cdn/components/plot/plot.component.js +2 -2
  296. package/cdn/components/plot/plot.js +3 -3
  297. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  298. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +8 -0
  299. package/cdn/components/plot-toolbar/plot-toolbar.component.js +15 -15
  300. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  301. package/cdn/components/plot-toolbar/plot-toolbar.js +16 -16
  302. package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  303. package/cdn/components/popup/popup.component.js +2 -2
  304. package/cdn/components/popup/popup.js +3 -3
  305. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  306. package/cdn/components/progress-bar/progress-bar.js +3 -3
  307. package/cdn/components/radio/radio.component.js +4 -4
  308. package/cdn/components/radio/radio.js +5 -5
  309. package/cdn/components/radio-group/radio-group.component.js +2 -2
  310. package/cdn/components/radio-group/radio-group.js +3 -3
  311. package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
  312. package/cdn/components/scroll-hint/scroll-hint.js +5 -5
  313. package/cdn/components/select/select.component.js +10 -10
  314. package/cdn/components/select/select.js +11 -11
  315. package/cdn/components/site-header/site-header.component.js +5 -5
  316. package/cdn/components/site-header/site-header.js +5 -5
  317. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  318. package/cdn/components/site-navigation/site-navigation.js +2 -2
  319. package/cdn/components/skeleton/skeleton.component.js +2 -2
  320. package/cdn/components/skeleton/skeleton.js +3 -3
  321. package/cdn/components/slider/slider.component.js +2 -2
  322. package/cdn/components/slider/slider.js +3 -3
  323. package/cdn/components/spatial-picker/spatial-picker.component.js +15 -15
  324. package/cdn/components/spatial-picker/spatial-picker.js +16 -16
  325. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  326. package/cdn/components/status-indicator/status-indicator.js +3 -3
  327. package/cdn/components/stepper/stepper.component.js +2 -2
  328. package/cdn/components/stepper/stepper.js +3 -3
  329. package/cdn/components/stepper-step/stepper-step.component.js +6 -6
  330. package/cdn/components/stepper-step/stepper-step.js +7 -7
  331. package/cdn/components/tab/tab.component.js +6 -6
  332. package/cdn/components/tab/tab.js +7 -7
  333. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  334. package/cdn/components/tab-panel/tab-panel.js +3 -3
  335. package/cdn/components/tabs/tabs.component.js +6 -6
  336. package/cdn/components/tabs/tabs.js +7 -7
  337. package/cdn/components/tag/tag.component.js +6 -6
  338. package/cdn/components/tag/tag.js +7 -7
  339. package/cdn/components/textarea/textarea.component.js +4 -4
  340. package/cdn/components/textarea/textarea.js +5 -5
  341. package/cdn/components/time-average-map/time-average-map.component.d.ts +4 -0
  342. package/cdn/components/time-average-map/time-average-map.component.js +23 -23
  343. package/cdn/components/time-average-map/time-average-map.js +24 -24
  344. package/cdn/components/time-series/time-series.component.d.ts +4 -0
  345. package/cdn/components/time-series/time-series.component.js +24 -24
  346. package/cdn/components/time-series/time-series.controller.d.ts +2 -0
  347. package/cdn/components/time-series/time-series.controller.js +1 -1
  348. package/cdn/components/time-series/time-series.js +25 -25
  349. package/cdn/components/toast/toast.component.js +4 -4
  350. package/cdn/components/toast/toast.js +5 -5
  351. package/cdn/components/toggle/toggle.component.js +4 -4
  352. package/cdn/components/toggle/toggle.js +5 -5
  353. package/cdn/components/tooltip/tooltip.component.js +3 -3
  354. package/cdn/components/tooltip/tooltip.js +4 -4
  355. package/cdn/components/variable-combobox/lib.js +3 -3
  356. package/cdn/components/variable-combobox/variable-combobox.component.d.ts +1 -4
  357. package/cdn/components/variable-combobox/variable-combobox.component.js +15 -15
  358. package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
  359. package/cdn/components/variable-combobox/variable-combobox.js +16 -16
  360. package/cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts +1 -4
  361. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +14 -14
  362. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  363. package/cdn/components/variable-keyword-search/variable-keyword-search.js +15 -15
  364. package/cdn/custom-elements.json +3761 -3571
  365. package/cdn/internal/animate.d.ts +3 -3
  366. package/cdn/metadata-catalog/cmr-catalog.d.ts +1 -2
  367. package/cdn/metadata-catalog/queries.d.ts +0 -1
  368. package/cdn/metadata-catalog/types.d.ts +0 -13
  369. package/cdn/react/accordion/index.js +6 -6
  370. package/cdn/react/alert/index.js +4 -4
  371. package/cdn/react/avatar/index.js +8 -8
  372. package/cdn/react/badge/index.js +3 -3
  373. package/cdn/react/breadcrumb/index.js +3 -3
  374. package/cdn/react/breadcrumbs/index.js +3 -3
  375. package/cdn/react/browse-variables/index.js +19 -19
  376. package/cdn/react/button/index.js +8 -8
  377. package/cdn/react/button-group/index.js +3 -3
  378. package/cdn/react/caption/index.js +3 -3
  379. package/cdn/react/card/index.js +3 -3
  380. package/cdn/react/checkbox/index.js +9 -9
  381. package/cdn/react/chip/index.js +3 -3
  382. package/cdn/react/combobox/index.js +7 -7
  383. package/cdn/react/data-access/index.js +29 -31
  384. package/cdn/react/data-grid/index.js +6 -6
  385. package/cdn/react/data-rods/index.js +40 -40
  386. package/cdn/react/data-subsetter/index.js +46 -46
  387. package/cdn/react/data-subsetter-history/index.js +47 -47
  388. package/cdn/react/date-picker/index.js +15 -15
  389. package/cdn/react/date-range-slider/index.js +3 -3
  390. package/cdn/react/dialog/index.js +11 -11
  391. package/cdn/react/divider/index.js +3 -3
  392. package/cdn/react/dropdown/index.js +4 -4
  393. package/cdn/react/earthdata-login/index.js +16 -16
  394. package/cdn/react/file-upload/index.js +3 -3
  395. package/cdn/react/icon/index.js +4 -4
  396. package/cdn/react/index.d.ts +12 -12
  397. package/cdn/react/index.js +195 -195
  398. package/cdn/react/input/index.js +9 -9
  399. package/cdn/react/loader/index.js +3 -3
  400. package/cdn/react/login/index.js +13 -13
  401. package/cdn/react/map/index.js +5 -5
  402. package/cdn/react/menu/index.js +3 -3
  403. package/cdn/react/menu-item/index.js +12 -12
  404. package/cdn/react/option/index.js +7 -7
  405. package/cdn/react/pagination/index.js +7 -7
  406. package/cdn/react/plot/index.js +3 -3
  407. package/cdn/react/plot-toolbar/index.js +16 -16
  408. package/cdn/react/popup/index.js +3 -3
  409. package/cdn/react/progress-bar/index.js +3 -3
  410. package/cdn/react/radio/index.js +5 -5
  411. package/cdn/react/radio-group/index.js +3 -3
  412. package/cdn/react/scroll-hint/index.js +5 -5
  413. package/cdn/react/select/index.js +11 -11
  414. package/cdn/react/site-header/index.js +6 -6
  415. package/cdn/react/site-navigation/index.js +3 -3
  416. package/cdn/react/skeleton/index.js +3 -3
  417. package/cdn/react/slider/index.js +3 -3
  418. package/cdn/react/spatial-picker/index.js +16 -16
  419. package/cdn/react/status-indicator/index.js +3 -3
  420. package/cdn/react/stepper/index.js +3 -3
  421. package/cdn/react/stepper-step/index.js +7 -7
  422. package/cdn/react/tab/index.js +7 -7
  423. package/cdn/react/tab-panel/index.js +3 -3
  424. package/cdn/react/tabs/index.js +7 -7
  425. package/cdn/react/tag/index.js +7 -7
  426. package/cdn/react/textarea/index.js +5 -5
  427. package/cdn/react/time-average-map/index.js +24 -24
  428. package/cdn/react/time-series/index.js +25 -25
  429. package/cdn/react/toast/index.js +5 -5
  430. package/cdn/react/toggle/index.js +5 -5
  431. package/cdn/react/tooltip/index.js +4 -4
  432. package/cdn/react/variable-combobox/index.js +16 -16
  433. package/cdn/react/variable-keyword-search/index.js +15 -15
  434. package/cdn/terra-ui-components.js +179 -179
  435. package/cdn/types/vue/index.d.ts +672 -660
  436. package/cdn/utilities/mimetypes.d.ts +1 -1
  437. package/cdn/utilities/mimetypes.js +1 -1
  438. package/cdn/vscode.html-custom-data.json +426 -420
  439. package/cdn/web-types.json +1843 -1819
  440. package/dist/chunks/chunk.24OUPU3M.js +11 -0
  441. package/dist/chunks/chunk.27DLDZRC.js +592 -0
  442. package/dist/chunks/chunk.27ZGJEQD.js +27 -0
  443. package/dist/chunks/chunk.2FA2ZTXQ.js +84 -0
  444. package/dist/chunks/chunk.2GRUF276.js +24 -0
  445. package/dist/chunks/chunk.2JLEP7WV.js +135 -0
  446. package/dist/chunks/chunk.2NRFZ47T.js +11 -0
  447. package/dist/chunks/chunk.2SIQORSU.js +11 -0
  448. package/dist/chunks/chunk.2TGXHKAI.js +272 -0
  449. package/dist/chunks/chunk.2THVKQ5L.js +11 -0
  450. package/dist/chunks/chunk.2V7VZS6J.js +11 -0
  451. package/dist/chunks/chunk.32A4WH7Z.js +75 -0
  452. package/dist/chunks/chunk.3BHLAU66.js +52 -0
  453. package/dist/chunks/chunk.3EDT5J7B.js +89 -0
  454. package/dist/chunks/chunk.3EYKE3JS.js +11 -0
  455. package/dist/chunks/chunk.3M3KNL75.js +21 -0
  456. package/dist/chunks/chunk.3RQVQAGK.js +11 -0
  457. package/dist/chunks/chunk.3ZEB7QXJ.js +11 -0
  458. package/dist/chunks/chunk.43FGBKHG.js +33 -0
  459. package/dist/chunks/chunk.4BRHJBL7.js +362 -0
  460. package/dist/chunks/chunk.4F7AA6DJ.js +21 -0
  461. package/dist/chunks/chunk.4FQI6MU7.js +11 -0
  462. package/dist/chunks/chunk.4I7LRDSH.js +11 -0
  463. package/dist/chunks/chunk.4RZNR2FI.js +345 -0
  464. package/dist/chunks/chunk.4SS2YLXK.js +143 -0
  465. package/dist/chunks/chunk.4WCKEOKQ.js +720 -0
  466. package/dist/chunks/chunk.56ULBDL2.js +86 -0
  467. package/dist/chunks/chunk.5E3P26FR.js +11 -0
  468. package/dist/chunks/chunk.5GYDMDO6.js +58 -0
  469. package/dist/chunks/chunk.5TOBG3PN.js +43 -0
  470. package/dist/chunks/chunk.5UJ6U4QS.js +11 -0
  471. package/dist/chunks/chunk.5WJFIGWI.js +11 -0
  472. package/dist/chunks/chunk.5WKFEMNK.js +477 -0
  473. package/dist/chunks/chunk.66DRHHUE.js +21 -0
  474. package/dist/chunks/chunk.66DVJ54D.js +11 -0
  475. package/dist/chunks/chunk.6J4SJUQD.js +11 -0
  476. package/dist/chunks/chunk.6JWHPMOL.js +43 -0
  477. package/dist/chunks/chunk.6K2Y2GYL.js +101 -0
  478. package/dist/chunks/chunk.6MTJ3VPC.js +24 -0
  479. package/dist/chunks/chunk.6N4RPWIM.js +11 -0
  480. package/dist/chunks/chunk.6OWWYTVJ.js +139 -0
  481. package/dist/chunks/chunk.742W6GK2.js +474 -0
  482. package/dist/chunks/chunk.752P3GIC.js +24 -0
  483. package/dist/chunks/chunk.76KTIECS.js +180 -0
  484. package/dist/chunks/chunk.7XJW4S4P.js +124 -0
  485. package/dist/chunks/chunk.7ZDP2Z2N.js +11 -0
  486. package/dist/chunks/chunk.A2CP2ORP.js +11 -0
  487. package/dist/chunks/chunk.AOYF3DUM.js +11 -0
  488. package/dist/chunks/chunk.AWHGXGTV.js +21 -0
  489. package/dist/chunks/chunk.AZ6MIDIS.js +272 -0
  490. package/dist/chunks/chunk.B62HKUKO.js +21 -0
  491. package/dist/chunks/chunk.BADHWJPB.js +230 -0
  492. package/dist/chunks/chunk.BDWRY4GP.js +220 -0
  493. package/dist/chunks/chunk.BIEJHJO7.js +11 -0
  494. package/dist/chunks/chunk.BJDVG6P4.js +234 -0
  495. package/dist/chunks/chunk.BK5Z4YJ4.js +180 -0
  496. package/dist/chunks/chunk.BL7XCQXM.js +11 -0
  497. package/dist/chunks/chunk.BLQXQDQX.js +21 -0
  498. package/dist/chunks/chunk.BRTFMFWV.js +21 -0
  499. package/dist/chunks/chunk.BUPVVW3W.js +1132 -0
  500. package/dist/chunks/chunk.BW7THSVO.js +11 -0
  501. package/dist/chunks/chunk.CCLPFOB3.js +123 -0
  502. package/dist/chunks/chunk.CERMDF55.js +176 -0
  503. package/dist/chunks/chunk.CFMNI7WZ.js +21 -0
  504. package/dist/chunks/chunk.CNRYTQDJ.js +39 -0
  505. package/dist/chunks/chunk.CRU7J26Q.js +11 -0
  506. package/dist/chunks/chunk.CUXW4JWZ.js +230 -0
  507. package/dist/chunks/chunk.DAPUAE2W.js +11 -0
  508. package/dist/chunks/chunk.DCJYE5I5.js +21 -0
  509. package/dist/chunks/chunk.DDFKXN5R.js +31 -0
  510. package/dist/chunks/chunk.DJEWWK3X.js +112 -0
  511. package/dist/chunks/chunk.DJI4FFDV.js +11 -0
  512. package/dist/chunks/chunk.DSUCX4Z7.js +25 -0
  513. package/dist/chunks/chunk.DVVFEQUO.js +64 -0
  514. package/dist/chunks/chunk.DYA2VN4U.js +153 -0
  515. package/dist/chunks/chunk.DYYZ47NF.js +21 -0
  516. package/dist/chunks/chunk.DZDLX7IE.js +21 -0
  517. package/dist/chunks/chunk.DZMUUWCK.js +11 -0
  518. package/dist/chunks/chunk.EFYNU3VS.js +11 -0
  519. package/dist/chunks/chunk.EKDIFOBY.js +21 -0
  520. package/dist/chunks/chunk.ERYTQX7O.js +409 -0
  521. package/dist/chunks/chunk.F246HIQT.js +24 -0
  522. package/dist/chunks/chunk.F36W3ZSS.js +11 -0
  523. package/dist/chunks/chunk.F57E2W2V.js +443 -0
  524. package/dist/chunks/chunk.FCM3IOMZ.js +21 -0
  525. package/dist/chunks/chunk.FDJNP5R4.js +27 -0
  526. package/dist/chunks/chunk.FF53Q6W3.js +1208 -0
  527. package/dist/chunks/chunk.FIF2MCFJ.js +48 -0
  528. package/dist/chunks/chunk.FTB5KNZB.js +24 -0
  529. package/dist/chunks/chunk.FU7A4FOK.js +11 -0
  530. package/dist/chunks/chunk.GE3TZOSP.js +525 -0
  531. package/dist/chunks/chunk.GGHM2ORF.js +11 -0
  532. package/dist/chunks/chunk.GQNGIBTB.js +11 -0
  533. package/dist/chunks/chunk.GSA27X2D.js +21 -0
  534. package/dist/chunks/chunk.GYL6BFFP.js +262 -0
  535. package/dist/chunks/chunk.H2MBHUPL.js +24 -0
  536. package/dist/chunks/chunk.H2WY7DAL.js +11 -0
  537. package/dist/chunks/chunk.H2XHTQQ5.js +11 -0
  538. package/dist/chunks/chunk.HK55NVNB.js +355 -0
  539. package/dist/chunks/chunk.HKDQPBSM.js +11 -0
  540. package/dist/chunks/chunk.HXXX3WG4.js +24 -0
  541. package/dist/chunks/chunk.HZ6JYZOS.js +21 -0
  542. package/dist/chunks/chunk.I6HRQ7BI.js +291 -0
  543. package/dist/chunks/chunk.IBD4WCHU.js +11 -0
  544. package/dist/chunks/chunk.IC47ABF6.js +21 -0
  545. package/dist/chunks/chunk.IFPDAG23.js +247 -0
  546. package/dist/chunks/chunk.IG6D3LN3.js +21 -0
  547. package/dist/chunks/chunk.INWDQT67.js +732 -0
  548. package/dist/chunks/chunk.J47JV43P.js +21 -0
  549. package/dist/chunks/chunk.J6DKL22O.js +277 -0
  550. package/dist/chunks/chunk.J7TQ5VU7.js +21 -0
  551. package/dist/chunks/chunk.JGDCDSXF.js +24 -0
  552. package/dist/chunks/chunk.JISZZIY6.js +11 -0
  553. package/dist/chunks/chunk.KDB2QSPF.js +24 -0
  554. package/dist/chunks/chunk.KIXOO4EH.js +67 -0
  555. package/dist/chunks/chunk.KMREWMRD.js +596 -0
  556. package/dist/chunks/chunk.KOEUC6ET.js +28 -0
  557. package/dist/chunks/chunk.LAKLSG4Z.js +11 -0
  558. package/dist/chunks/chunk.LB47F3RB.js +11 -0
  559. package/dist/chunks/chunk.LCJA35A7.js +11 -0
  560. package/dist/chunks/chunk.LHLBHXSV.js +280 -0
  561. package/dist/chunks/chunk.LMPTA2Q5.js +24 -0
  562. package/dist/chunks/chunk.LR2FE7AH.js +2210 -0
  563. package/dist/chunks/chunk.LY6TPOZN.js +220 -0
  564. package/dist/chunks/chunk.LYAKY2WI.js +451 -0
  565. package/dist/chunks/chunk.MCMZ4DIE.js +28 -0
  566. package/dist/chunks/chunk.MMM66EPJ.js +11 -0
  567. package/dist/chunks/chunk.MMTZYMPU.js +365 -0
  568. package/dist/chunks/chunk.MRSQP7SI.js +25 -0
  569. package/dist/chunks/chunk.MUQXNDWN.js +24 -0
  570. package/dist/chunks/chunk.MUY72VZR.js +11 -0
  571. package/dist/chunks/chunk.MVN6T74P.js +844 -0
  572. package/dist/chunks/chunk.N6JYCYID.js +93 -0
  573. package/dist/chunks/chunk.NLLDRHSK.js +121 -0
  574. package/dist/chunks/chunk.NM76AHE2.js +11 -0
  575. package/dist/chunks/chunk.NN6PWE3I.js +11 -0
  576. package/dist/chunks/chunk.NOXAFGIG.js +11 -0
  577. package/dist/chunks/chunk.NPCWIIEB.js +21 -0
  578. package/dist/chunks/chunk.NRSI3X33.js +214 -0
  579. package/dist/chunks/chunk.NWIFEABM.js +11 -0
  580. package/dist/chunks/chunk.OFUJJYKR.js +1037 -0
  581. package/dist/chunks/chunk.OIOUPXC2.js +11 -0
  582. package/dist/chunks/chunk.OONXRBPP.js +29 -0
  583. package/dist/chunks/chunk.OX4K4WBJ.js +21 -0
  584. package/dist/chunks/chunk.P3L56RV6.js +609 -0
  585. package/dist/chunks/chunk.P4BTWA2W.js +21 -0
  586. package/dist/chunks/chunk.P4ZDDW4G.js +28 -0
  587. package/dist/chunks/chunk.PFGBQERM.js +21 -0
  588. package/dist/chunks/chunk.PGI6Y6XX.js +11 -0
  589. package/dist/chunks/chunk.PKY4HI7D.js +11 -0
  590. package/dist/chunks/chunk.PLWUHER3.js +145 -0
  591. package/dist/chunks/chunk.PWV2GJ2N.js +20 -0
  592. package/dist/chunks/chunk.Q6UE7CB3.js +345 -0
  593. package/dist/chunks/chunk.QMIM3IJI.js +25 -0
  594. package/dist/chunks/chunk.QRQVRNJ5.js +264 -0
  595. package/dist/chunks/chunk.QWU7AETL.js +24 -0
  596. package/dist/chunks/chunk.R4UJIP5M.js +245 -0
  597. package/dist/chunks/chunk.R7CH4GEF.js +11 -0
  598. package/dist/chunks/chunk.RJXGHV3H.js +422 -0
  599. package/dist/chunks/chunk.RO4MUFVF.js +67 -0
  600. package/dist/chunks/chunk.S32V67GZ.js +21 -0
  601. package/dist/chunks/chunk.SCL5FPJJ.js +2300 -0
  602. package/dist/chunks/chunk.SDGFPCNY.js +91 -0
  603. package/dist/chunks/chunk.SDXWOLQ6.js +21 -0
  604. package/dist/chunks/chunk.SFWH4DII.js +11 -0
  605. package/dist/chunks/chunk.SN6CIOZP.js +27 -0
  606. package/dist/chunks/chunk.SQNS52ZF.js +213 -0
  607. package/dist/chunks/chunk.SQTPDBCR.js +11 -0
  608. package/dist/chunks/chunk.SSHMXW5U.js +11 -0
  609. package/dist/chunks/chunk.SU5KHWCD.js +48 -0
  610. package/dist/chunks/chunk.T223WBAQ.js +21 -0
  611. package/dist/chunks/chunk.T56TY5P7.js +21 -0
  612. package/dist/chunks/chunk.TDGZ6OPW.js +11 -0
  613. package/dist/chunks/chunk.TE3CIFY7.js +26 -0
  614. package/dist/chunks/chunk.TIOJMUOV.js +11 -0
  615. package/dist/chunks/chunk.TNZV7XBJ.js +26 -0
  616. package/dist/chunks/chunk.TPA3DCUZ.js +61 -0
  617. package/dist/chunks/chunk.TQJAEQE6.js +21 -0
  618. package/dist/chunks/chunk.UCFN6F25.js +28 -0
  619. package/dist/chunks/chunk.UL4RQWJX.js +85 -0
  620. package/dist/chunks/chunk.UUXKARKT.js +21 -0
  621. package/dist/chunks/chunk.V2XBKPRQ.js +27 -0
  622. package/dist/chunks/chunk.VACHNSPR.js +11 -0
  623. package/dist/chunks/chunk.VCKWK6GT.js +252 -0
  624. package/dist/chunks/chunk.WAFNLNJE.js +24 -0
  625. package/dist/chunks/chunk.WHWHHPLW.js +11 -0
  626. package/dist/chunks/chunk.WOETQGVS.js +78 -0
  627. package/dist/chunks/chunk.WOIION27.js +180 -0
  628. package/dist/chunks/chunk.WTCGTFM3.js +11 -0
  629. package/dist/chunks/chunk.X7F7KL27.js +993 -0
  630. package/dist/chunks/chunk.XMED5IBJ.js +11 -0
  631. package/dist/chunks/chunk.XPKNM3ZS.js +11 -0
  632. package/dist/chunks/chunk.XR75EBXL.js +24 -0
  633. package/dist/chunks/chunk.XZTZVISY.js +91 -0
  634. package/dist/chunks/chunk.YIEHHT2Q.js +25 -0
  635. package/dist/chunks/chunk.YK6QWZB4.js +495 -0
  636. package/dist/chunks/chunk.YP7A53W7.js +29 -0
  637. package/dist/chunks/chunk.YWQPHIEL.js +21 -0
  638. package/dist/chunks/chunk.YWSI4MWA.js +52 -0
  639. package/dist/chunks/chunk.ZACK7NIG.js +11 -0
  640. package/dist/chunks/chunk.ZALJYVCQ.js +581 -0
  641. package/dist/chunks/chunk.ZHOSMWID.js +24 -0
  642. package/dist/chunks/chunk.ZP4HN5XA.js +25 -0
  643. package/dist/chunks/chunk.ZPE4K33Y.js +11 -0
  644. package/dist/components/accordion/accordion.component.js +5 -5
  645. package/dist/components/accordion/accordion.js +6 -6
  646. package/dist/components/alert/alert.component.js +3 -3
  647. package/dist/components/alert/alert.js +4 -4
  648. package/dist/components/avatar/avatar.component.js +5 -5
  649. package/dist/components/avatar/avatar.js +6 -6
  650. package/dist/components/badge/badge.component.js +2 -2
  651. package/dist/components/badge/badge.js +3 -3
  652. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  653. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  654. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  655. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  656. package/dist/components/browse-variables/browse-variables.component.js +15 -15
  657. package/dist/components/browse-variables/browse-variables.controller.js +3 -3
  658. package/dist/components/browse-variables/browse-variables.js +16 -16
  659. package/dist/components/button/button.component.js +5 -5
  660. package/dist/components/button/button.js +6 -6
  661. package/dist/components/button-group/button-group.component.js +2 -2
  662. package/dist/components/button-group/button-group.js +3 -3
  663. package/dist/components/caption/caption.component.js +2 -2
  664. package/dist/components/caption/caption.js +3 -3
  665. package/dist/components/card/card.component.js +2 -2
  666. package/dist/components/card/card.js +3 -3
  667. package/dist/components/checkbox/checkbox.component.js +5 -5
  668. package/dist/components/checkbox/checkbox.js +6 -6
  669. package/dist/components/chip/chip.component.js +2 -2
  670. package/dist/components/chip/chip.js +3 -3
  671. package/dist/components/combobox/combobox.component.d.ts +1 -4
  672. package/dist/components/combobox/combobox.component.js +2 -2
  673. package/dist/components/combobox/combobox.js +3 -3
  674. package/dist/components/data-access/data-access.component.d.ts +3 -2
  675. package/dist/components/data-access/data-access.component.js +22 -24
  676. package/dist/components/data-access/data-access.controller.js +3 -3
  677. package/dist/components/data-access/data-access.js +23 -25
  678. package/dist/components/data-access/data-access.styles.js +1 -1
  679. package/dist/components/data-grid/data-grid.component.js +3 -3
  680. package/dist/components/data-grid/data-grid.js +4 -4
  681. package/dist/components/data-rods/data-rods.component.js +31 -31
  682. package/dist/components/data-rods/data-rods.js +32 -32
  683. package/dist/components/data-subsetter/data-subsetter.component.d.ts +1 -2
  684. package/dist/components/data-subsetter/data-subsetter.component.js +39 -39
  685. package/dist/components/data-subsetter/data-subsetter.controller.d.ts +1 -3
  686. package/dist/components/data-subsetter/data-subsetter.controller.js +3 -3
  687. package/dist/components/data-subsetter/data-subsetter.js +40 -40
  688. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  689. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +40 -40
  690. package/dist/components/data-subsetter-history/data-subsetter-history.js +41 -41
  691. package/dist/components/date-picker/date-picker.component.d.ts +0 -4
  692. package/dist/components/date-picker/date-picker.component.js +10 -10
  693. package/dist/components/date-picker/date-picker.js +11 -11
  694. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  695. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  696. package/dist/components/dialog/dialog.component.js +8 -8
  697. package/dist/components/dialog/dialog.js +9 -9
  698. package/dist/components/dialog/dialog.styles.js +1 -1
  699. package/dist/components/divider/divider.component.js +2 -2
  700. package/dist/components/divider/divider.js +3 -3
  701. package/dist/components/dropdown/dropdown.component.js +3 -3
  702. package/dist/components/dropdown/dropdown.js +4 -4
  703. package/dist/components/earthdata-login/earthdata-login.component.js +12 -12
  704. package/dist/components/earthdata-login/earthdata-login.js +13 -13
  705. package/dist/components/file-upload/file-upload.component.js +2 -2
  706. package/dist/components/file-upload/file-upload.js +3 -3
  707. package/dist/components/icon/icon.component.js +3 -3
  708. package/dist/components/icon/icon.js +4 -4
  709. package/dist/components/input/input.component.js +5 -5
  710. package/dist/components/input/input.js +6 -6
  711. package/dist/components/loader/loader.component.js +2 -2
  712. package/dist/components/loader/loader.js +3 -3
  713. package/dist/components/login/login.component.js +10 -10
  714. package/dist/components/login/login.js +11 -11
  715. package/dist/components/map/leaflet-utils.d.ts +1 -1
  716. package/dist/components/map/map.component.js +2 -2
  717. package/dist/components/map/map.js +3 -3
  718. package/dist/components/menu/menu.component.js +2 -2
  719. package/dist/components/menu/menu.js +3 -3
  720. package/dist/components/menu-item/menu-item.component.js +7 -7
  721. package/dist/components/menu-item/menu-item.js +8 -8
  722. package/dist/components/option/option.component.js +4 -4
  723. package/dist/components/option/option.js +5 -5
  724. package/dist/components/pagination/pagination.component.js +4 -4
  725. package/dist/components/pagination/pagination.js +5 -5
  726. package/dist/components/plot/plot.component.js +2 -2
  727. package/dist/components/plot/plot.js +3 -3
  728. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  729. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +8 -0
  730. package/dist/components/plot-toolbar/plot-toolbar.component.js +12 -12
  731. package/dist/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  732. package/dist/components/plot-toolbar/plot-toolbar.js +13 -13
  733. package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  734. package/dist/components/popup/popup.component.js +2 -2
  735. package/dist/components/popup/popup.js +3 -3
  736. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  737. package/dist/components/progress-bar/progress-bar.js +3 -3
  738. package/dist/components/radio/radio.component.js +2 -2
  739. package/dist/components/radio/radio.js +3 -3
  740. package/dist/components/radio-group/radio-group.component.js +2 -2
  741. package/dist/components/radio-group/radio-group.js +3 -3
  742. package/dist/components/scroll-hint/scroll-hint.component.js +4 -4
  743. package/dist/components/scroll-hint/scroll-hint.js +5 -5
  744. package/dist/components/select/select.component.js +8 -8
  745. package/dist/components/select/select.js +9 -9
  746. package/dist/components/site-header/site-header.component.js +5 -5
  747. package/dist/components/site-header/site-header.js +5 -5
  748. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  749. package/dist/components/site-navigation/site-navigation.js +2 -2
  750. package/dist/components/skeleton/skeleton.component.js +2 -2
  751. package/dist/components/skeleton/skeleton.js +3 -3
  752. package/dist/components/slider/slider.component.js +2 -2
  753. package/dist/components/slider/slider.js +3 -3
  754. package/dist/components/spatial-picker/spatial-picker.component.js +10 -10
  755. package/dist/components/spatial-picker/spatial-picker.js +11 -11
  756. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  757. package/dist/components/status-indicator/status-indicator.js +3 -3
  758. package/dist/components/stepper/stepper.component.js +2 -2
  759. package/dist/components/stepper/stepper.js +3 -3
  760. package/dist/components/stepper-step/stepper-step.component.js +4 -4
  761. package/dist/components/stepper-step/stepper-step.js +5 -5
  762. package/dist/components/tab/tab.component.js +4 -4
  763. package/dist/components/tab/tab.js +5 -5
  764. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  765. package/dist/components/tab-panel/tab-panel.js +3 -3
  766. package/dist/components/tabs/tabs.component.js +4 -4
  767. package/dist/components/tabs/tabs.js +5 -5
  768. package/dist/components/tag/tag.component.js +4 -4
  769. package/dist/components/tag/tag.js +5 -5
  770. package/dist/components/textarea/textarea.component.js +2 -2
  771. package/dist/components/textarea/textarea.js +3 -3
  772. package/dist/components/time-average-map/time-average-map.component.d.ts +4 -0
  773. package/dist/components/time-average-map/time-average-map.component.js +20 -20
  774. package/dist/components/time-average-map/time-average-map.js +21 -21
  775. package/dist/components/time-series/time-series.component.d.ts +4 -0
  776. package/dist/components/time-series/time-series.component.js +21 -21
  777. package/dist/components/time-series/time-series.controller.d.ts +2 -0
  778. package/dist/components/time-series/time-series.controller.js +1 -1
  779. package/dist/components/time-series/time-series.js +22 -22
  780. package/dist/components/toast/toast.component.js +4 -4
  781. package/dist/components/toast/toast.js +5 -5
  782. package/dist/components/toggle/toggle.component.js +2 -2
  783. package/dist/components/toggle/toggle.js +3 -3
  784. package/dist/components/tooltip/tooltip.component.js +3 -3
  785. package/dist/components/tooltip/tooltip.js +4 -4
  786. package/dist/components/variable-combobox/variable-combobox.component.d.ts +1 -4
  787. package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
  788. package/dist/components/variable-combobox/variable-combobox.js +9 -9
  789. package/dist/components/variable-keyword-search/variable-keyword-search.component.d.ts +1 -4
  790. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +11 -11
  791. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  792. package/dist/components/variable-keyword-search/variable-keyword-search.js +12 -12
  793. package/dist/custom-elements.json +3761 -3571
  794. package/dist/internal/animate.d.ts +3 -3
  795. package/dist/metadata-catalog/cmr-catalog.d.ts +1 -2
  796. package/dist/metadata-catalog/queries.d.ts +0 -1
  797. package/dist/metadata-catalog/types.d.ts +0 -13
  798. package/dist/react/accordion/index.js +6 -6
  799. package/dist/react/alert/index.js +4 -4
  800. package/dist/react/avatar/index.js +6 -6
  801. package/dist/react/badge/index.js +3 -3
  802. package/dist/react/breadcrumb/index.js +3 -3
  803. package/dist/react/breadcrumbs/index.js +3 -3
  804. package/dist/react/browse-variables/index.js +16 -16
  805. package/dist/react/button/index.js +6 -6
  806. package/dist/react/button-group/index.js +3 -3
  807. package/dist/react/caption/index.js +3 -3
  808. package/dist/react/card/index.js +3 -3
  809. package/dist/react/checkbox/index.js +6 -6
  810. package/dist/react/chip/index.js +3 -3
  811. package/dist/react/combobox/index.js +3 -3
  812. package/dist/react/data-access/index.js +23 -25
  813. package/dist/react/data-grid/index.js +4 -4
  814. package/dist/react/data-rods/index.js +32 -32
  815. package/dist/react/data-subsetter/index.js +40 -40
  816. package/dist/react/data-subsetter-history/index.js +41 -41
  817. package/dist/react/date-picker/index.js +11 -11
  818. package/dist/react/date-range-slider/index.js +3 -3
  819. package/dist/react/dialog/index.js +9 -9
  820. package/dist/react/divider/index.js +3 -3
  821. package/dist/react/dropdown/index.js +4 -4
  822. package/dist/react/earthdata-login/index.js +13 -13
  823. package/dist/react/file-upload/index.js +3 -3
  824. package/dist/react/icon/index.js +4 -4
  825. package/dist/react/index.d.ts +12 -12
  826. package/dist/react/index.js +187 -187
  827. package/dist/react/input/index.js +6 -6
  828. package/dist/react/loader/index.js +3 -3
  829. package/dist/react/login/index.js +11 -11
  830. package/dist/react/map/index.js +3 -3
  831. package/dist/react/menu/index.js +3 -3
  832. package/dist/react/menu-item/index.js +8 -8
  833. package/dist/react/option/index.js +5 -5
  834. package/dist/react/pagination/index.js +5 -5
  835. package/dist/react/plot/index.js +3 -3
  836. package/dist/react/plot-toolbar/index.js +13 -13
  837. package/dist/react/popup/index.js +3 -3
  838. package/dist/react/progress-bar/index.js +3 -3
  839. package/dist/react/radio/index.js +3 -3
  840. package/dist/react/radio-group/index.js +3 -3
  841. package/dist/react/scroll-hint/index.js +5 -5
  842. package/dist/react/select/index.js +9 -9
  843. package/dist/react/site-header/index.js +6 -6
  844. package/dist/react/site-navigation/index.js +3 -3
  845. package/dist/react/skeleton/index.js +3 -3
  846. package/dist/react/slider/index.js +3 -3
  847. package/dist/react/spatial-picker/index.js +11 -11
  848. package/dist/react/status-indicator/index.js +3 -3
  849. package/dist/react/stepper/index.js +3 -3
  850. package/dist/react/stepper-step/index.js +5 -5
  851. package/dist/react/tab/index.js +5 -5
  852. package/dist/react/tab-panel/index.js +3 -3
  853. package/dist/react/tabs/index.js +5 -5
  854. package/dist/react/tag/index.js +5 -5
  855. package/dist/react/textarea/index.js +3 -3
  856. package/dist/react/time-average-map/index.js +21 -21
  857. package/dist/react/time-series/index.js +22 -22
  858. package/dist/react/toast/index.js +5 -5
  859. package/dist/react/toggle/index.js +3 -3
  860. package/dist/react/tooltip/index.js +4 -4
  861. package/dist/react/variable-combobox/index.js +9 -9
  862. package/dist/react/variable-keyword-search/index.js +12 -12
  863. package/dist/terra-ui-components.js +171 -171
  864. package/dist/terra_ui_components-0.0.167-py3-none-any.whl +0 -0
  865. package/dist/terra_ui_components-0.0.167.tar.gz +0 -0
  866. package/dist/types/vue/index.d.ts +672 -660
  867. package/dist/utilities/mimetypes.d.ts +1 -1
  868. package/dist/utilities/mimetypes.js +1 -1
  869. package/dist/vscode.html-custom-data.json +426 -420
  870. package/dist/web-types.json +1843 -1819
  871. package/package.json +1 -1
  872. package/cdn/chunks/chunk.22JAM2GR.js +0 -149
  873. package/cdn/chunks/chunk.2KSTLEEW.js +0 -19
  874. package/cdn/chunks/chunk.2MOKVZJ5.js +0 -110
  875. package/cdn/chunks/chunk.2MRTLI7C.js +0 -29
  876. package/cdn/chunks/chunk.2OYHOPUN.js +0 -29
  877. package/cdn/chunks/chunk.2W6MOIKV.js +0 -36
  878. package/cdn/chunks/chunk.2ZAILZIZ.js +0 -29
  879. package/cdn/chunks/chunk.34GKSDDH.js +0 -29
  880. package/cdn/chunks/chunk.35NWYWPA.js +0 -610
  881. package/cdn/chunks/chunk.3DZICDY5.js +0 -19
  882. package/cdn/chunks/chunk.3EEC7I6T.js +0 -77
  883. package/cdn/chunks/chunk.3HQ5B2XG.js +0 -60
  884. package/cdn/chunks/chunk.3KF4JV5X.js +0 -19
  885. package/cdn/chunks/chunk.3OCLA6PR.js +0 -113
  886. package/cdn/chunks/chunk.3PYSUHMX.js +0 -74
  887. package/cdn/chunks/chunk.3RYHRIU7.js +0 -47
  888. package/cdn/chunks/chunk.3SO4K6Y3.js +0 -355
  889. package/cdn/chunks/chunk.3T7254VH.js +0 -1002
  890. package/cdn/chunks/chunk.3X2FJVEK.js +0 -99
  891. package/cdn/chunks/chunk.3YIIQKB4.js +0 -29
  892. package/cdn/chunks/chunk.4E526L3E.js +0 -29
  893. package/cdn/chunks/chunk.4JULN6G5.js +0 -29
  894. package/cdn/chunks/chunk.56M3T4SS.js +0 -19
  895. package/cdn/chunks/chunk.5RFPNO6G.js +0 -19
  896. package/cdn/chunks/chunk.5RYT4QNM.js +0 -157
  897. package/cdn/chunks/chunk.5VTC5O3H.js +0 -29
  898. package/cdn/chunks/chunk.5XLABLQB.js +0 -276
  899. package/cdn/chunks/chunk.66SSQP45.js +0 -19
  900. package/cdn/chunks/chunk.67XHQN22.js +0 -19
  901. package/cdn/chunks/chunk.6JBKCS52.js +0 -83
  902. package/cdn/chunks/chunk.6JIAMAMY.js +0 -29
  903. package/cdn/chunks/chunk.6TBKK4LM.js +0 -493
  904. package/cdn/chunks/chunk.6Y4YTK5P.js +0 -238
  905. package/cdn/chunks/chunk.77XDQUES.js +0 -19
  906. package/cdn/chunks/chunk.7FSPBN74.js +0 -99
  907. package/cdn/chunks/chunk.7PS6V6WS.js +0 -1966
  908. package/cdn/chunks/chunk.7SUZRUNK.js +0 -19
  909. package/cdn/chunks/chunk.7T52ILDL.js +0 -599
  910. package/cdn/chunks/chunk.7VUN6GFK.js +0 -29
  911. package/cdn/chunks/chunk.AFC2HLIY.js +0 -19
  912. package/cdn/chunks/chunk.AOBU6O57.js +0 -990
  913. package/cdn/chunks/chunk.AQ3JLCWN.js +0 -165
  914. package/cdn/chunks/chunk.ATCGQBQH.js +0 -19
  915. package/cdn/chunks/chunk.B3EEU2CI.js +0 -29
  916. package/cdn/chunks/chunk.B4TQIGEX.js +0 -19
  917. package/cdn/chunks/chunk.B526UDNH.js +0 -29
  918. package/cdn/chunks/chunk.BFVSGVAT.js +0 -19
  919. package/cdn/chunks/chunk.BJF5R6JW.js +0 -190
  920. package/cdn/chunks/chunk.BMK7DPMC.js +0 -19
  921. package/cdn/chunks/chunk.BNPVRBVC.js +0 -123
  922. package/cdn/chunks/chunk.BPUKB6TK.js +0 -29
  923. package/cdn/chunks/chunk.BRIHWEDS.js +0 -29
  924. package/cdn/chunks/chunk.BUGYJIDA.js +0 -29
  925. package/cdn/chunks/chunk.BY3XMPVV.js +0 -731
  926. package/cdn/chunks/chunk.C4QTAT3W.js +0 -32
  927. package/cdn/chunks/chunk.C7BHHMPD.js +0 -29
  928. package/cdn/chunks/chunk.CCYPCKYP.js +0 -29
  929. package/cdn/chunks/chunk.CE7S2HSD.js +0 -19
  930. package/cdn/chunks/chunk.CHP6L4IZ.js +0 -29
  931. package/cdn/chunks/chunk.CNFKSV5Y.js +0 -41
  932. package/cdn/chunks/chunk.CNQ5DP2Y.js +0 -19
  933. package/cdn/chunks/chunk.CR32YRI3.js +0 -32
  934. package/cdn/chunks/chunk.CV3BFVNC.js +0 -224
  935. package/cdn/chunks/chunk.DBV4CPVA.js +0 -93
  936. package/cdn/chunks/chunk.DKXKWPJK.js +0 -189
  937. package/cdn/chunks/chunk.DLQNZ2FX.js +0 -201
  938. package/cdn/chunks/chunk.DQKC3KIY.js +0 -19
  939. package/cdn/chunks/chunk.DVUHMHS7.js +0 -77
  940. package/cdn/chunks/chunk.DYNAESKX.js +0 -32
  941. package/cdn/chunks/chunk.DZJULA3U.js +0 -33858
  942. package/cdn/chunks/chunk.EEBXXJ5S.js +0 -19
  943. package/cdn/chunks/chunk.EGTBQ75C.js +0 -279
  944. package/cdn/chunks/chunk.ERLTY6RD.js +0 -32
  945. package/cdn/chunks/chunk.ERM35NF4.js +0 -93
  946. package/cdn/chunks/chunk.ESRB43Y5.js +0 -616
  947. package/cdn/chunks/chunk.F4EH5N56.js +0 -33
  948. package/cdn/chunks/chunk.FLBSTQ3K.js +0 -19
  949. package/cdn/chunks/chunk.FPAJGJR7.js +0 -35
  950. package/cdn/chunks/chunk.FQMP346K.js +0 -19
  951. package/cdn/chunks/chunk.FXITFED3.js +0 -37
  952. package/cdn/chunks/chunk.FXM6K5HM.js +0 -217
  953. package/cdn/chunks/chunk.G6Z24R6Y.js +0 -19
  954. package/cdn/chunks/chunk.GCKUWBFX.js +0 -477
  955. package/cdn/chunks/chunk.GEBLYMYM.js +0 -264
  956. package/cdn/chunks/chunk.GN2ZQBKO.js +0 -34
  957. package/cdn/chunks/chunk.HFTGBEXB.js +0 -188
  958. package/cdn/chunks/chunk.HHPVOMGD.js +0 -278
  959. package/cdn/chunks/chunk.HPJ222W5.js +0 -33
  960. package/cdn/chunks/chunk.HV5AHGSZ.js +0 -288
  961. package/cdn/chunks/chunk.HXT3MQZB.js +0 -86
  962. package/cdn/chunks/chunk.HYTFGYES.js +0 -524
  963. package/cdn/chunks/chunk.HZLKJ66W.js +0 -29
  964. package/cdn/chunks/chunk.I6RAXH53.js +0 -19
  965. package/cdn/chunks/chunk.IJQLOBAC.js +0 -132
  966. package/cdn/chunks/chunk.ISYLWUTX.js +0 -19
  967. package/cdn/chunks/chunk.ITCNMUXT.js +0 -56
  968. package/cdn/chunks/chunk.IWVNVNRD.js +0 -134
  969. package/cdn/chunks/chunk.J3Z3NPJ4.js +0 -134
  970. package/cdn/chunks/chunk.J6VLXGTF.js +0 -36
  971. package/cdn/chunks/chunk.J7I3DOXG.js +0 -272
  972. package/cdn/chunks/chunk.JBRXER73.js +0 -19
  973. package/cdn/chunks/chunk.JGEML6NJ.js +0 -30
  974. package/cdn/chunks/chunk.JK27J74D.js +0 -62
  975. package/cdn/chunks/chunk.K7YIOV7T.js +0 -19
  976. package/cdn/chunks/chunk.KCZYTXMI.js +0 -39
  977. package/cdn/chunks/chunk.KD6G7ERX.js +0 -68
  978. package/cdn/chunks/chunk.KGCLCQ7X.js +0 -60
  979. package/cdn/chunks/chunk.KILIHVMF.js +0 -32
  980. package/cdn/chunks/chunk.KMCDDWE5.js +0 -35
  981. package/cdn/chunks/chunk.KU5FXVEU.js +0 -19
  982. package/cdn/chunks/chunk.KWBRNY25.js +0 -19
  983. package/cdn/chunks/chunk.KXBA6WIZ.js +0 -904
  984. package/cdn/chunks/chunk.L2NSE4OV.js +0 -19
  985. package/cdn/chunks/chunk.L4G7AM4D.js +0 -19
  986. package/cdn/chunks/chunk.LCNNIIGG.js +0 -372
  987. package/cdn/chunks/chunk.LE77IFIT.js +0 -29
  988. package/cdn/chunks/chunk.LJV444BY.js +0 -19
  989. package/cdn/chunks/chunk.LPUGYJQ6.js +0 -19
  990. package/cdn/chunks/chunk.MGD4I7TI.js +0 -33
  991. package/cdn/chunks/chunk.MGVK6RY6.js +0 -19
  992. package/cdn/chunks/chunk.MSKQVFVO.js +0 -36
  993. package/cdn/chunks/chunk.MYXC7VZK.js +0 -19
  994. package/cdn/chunks/chunk.N2ZLSKRS.js +0 -19
  995. package/cdn/chunks/chunk.N7Y6PI75.js +0 -19
  996. package/cdn/chunks/chunk.NBYFCLIA.js +0 -230
  997. package/cdn/chunks/chunk.NCSQNVLT.js +0 -34
  998. package/cdn/chunks/chunk.NKVAAAFV.js +0 -19
  999. package/cdn/chunks/chunk.NLM2F46S.js +0 -37
  1000. package/cdn/chunks/chunk.NQ6WTKJ5.js +0 -39
  1001. package/cdn/chunks/chunk.NRJZH24F.js +0 -19
  1002. package/cdn/chunks/chunk.NT5A6ZHT.js +0 -136
  1003. package/cdn/chunks/chunk.NYZK4RJY.js +0 -19
  1004. package/cdn/chunks/chunk.O22V5PWM.js +0 -35
  1005. package/cdn/chunks/chunk.O45AJCZN.js +0 -32
  1006. package/cdn/chunks/chunk.O5BUI6HD.js +0 -499
  1007. package/cdn/chunks/chunk.OBIYKNGD.js +0 -36
  1008. package/cdn/chunks/chunk.OE32JNHX.js +0 -2290
  1009. package/cdn/chunks/chunk.OE6QBUL3.js +0 -151
  1010. package/cdn/chunks/chunk.OIBHUA2X.js +0 -33
  1011. package/cdn/chunks/chunk.ONZYR5V7.js +0 -19
  1012. package/cdn/chunks/chunk.OTBLJV2P.js +0 -19
  1013. package/cdn/chunks/chunk.OWBCL4YY.js +0 -92
  1014. package/cdn/chunks/chunk.OWOOYBL5.js +0 -621
  1015. package/cdn/chunks/chunk.OYDCM6EP.js +0 -19
  1016. package/cdn/chunks/chunk.P4OWV3H2.js +0 -412
  1017. package/cdn/chunks/chunk.PLP3BQV2.js +0 -29
  1018. package/cdn/chunks/chunk.PMUKNJQB.js +0 -357
  1019. package/cdn/chunks/chunk.PUDKOG7O.js +0 -19
  1020. package/cdn/chunks/chunk.PVPOTYBO.js +0 -29
  1021. package/cdn/chunks/chunk.Q67OTTO2.js +0 -145
  1022. package/cdn/chunks/chunk.QB7PKQGX.js +0 -32
  1023. package/cdn/chunks/chunk.QHPWQ6EU.js +0 -234
  1024. package/cdn/chunks/chunk.QIALAQUY.js +0 -19
  1025. package/cdn/chunks/chunk.QMAOK6H7.js +0 -287
  1026. package/cdn/chunks/chunk.QN47HJMJ.js +0 -99
  1027. package/cdn/chunks/chunk.QPO4FJDV.js +0 -19
  1028. package/cdn/chunks/chunk.QTCDR4K5.js +0 -19
  1029. package/cdn/chunks/chunk.R2CKSIEB.js +0 -302
  1030. package/cdn/chunks/chunk.R3ELIEXH.js +0 -158
  1031. package/cdn/chunks/chunk.RESQSJZW.js +0 -19
  1032. package/cdn/chunks/chunk.RLB5ZGN3.js +0 -2243
  1033. package/cdn/chunks/chunk.RPIMP5VU.js +0 -29
  1034. package/cdn/chunks/chunk.RRIBXI6T.js +0 -662
  1035. package/cdn/chunks/chunk.RVVT6D2O.js +0 -32
  1036. package/cdn/chunks/chunk.RWRHKJV7.js +0 -29
  1037. package/cdn/chunks/chunk.S6HRHLBY.js +0 -29
  1038. package/cdn/chunks/chunk.SBRPQN46.js +0 -239
  1039. package/cdn/chunks/chunk.SBV4CE52.js +0 -293
  1040. package/cdn/chunks/chunk.SCVPK7ZI.js +0 -19
  1041. package/cdn/chunks/chunk.SGVXOEMD.js +0 -359
  1042. package/cdn/chunks/chunk.SOL4KQRB.js +0 -32
  1043. package/cdn/chunks/chunk.STIIRCSR.js +0 -32
  1044. package/cdn/chunks/chunk.SVWVRXE5.js +0 -19
  1045. package/cdn/chunks/chunk.T4EQTEDI.js +0 -79
  1046. package/cdn/chunks/chunk.TAVW4BSX.js +0 -231
  1047. package/cdn/chunks/chunk.TCVQUZH3.js +0 -19
  1048. package/cdn/chunks/chunk.TGA7THVX.js +0 -32
  1049. package/cdn/chunks/chunk.TLGXE7WV.js +0 -52
  1050. package/cdn/chunks/chunk.TO3IZDTY.js +0 -435
  1051. package/cdn/chunks/chunk.TU5LEWLH.js +0 -78
  1052. package/cdn/chunks/chunk.UCYLBWS6.js +0 -19
  1053. package/cdn/chunks/chunk.UGVKO2F3.js +0 -29
  1054. package/cdn/chunks/chunk.UMXEOKQR.js +0 -29
  1055. package/cdn/chunks/chunk.UQ3KQHGM.js +0 -29
  1056. package/cdn/chunks/chunk.UXW4BGB3.js +0 -35
  1057. package/cdn/chunks/chunk.UZO2S5ZV.js +0 -55346
  1058. package/cdn/chunks/chunk.UZUUSYPD.js +0 -19
  1059. package/cdn/chunks/chunk.V5RXILK4.js +0 -19
  1060. package/cdn/chunks/chunk.VKGMZPCA.js +0 -19
  1061. package/cdn/chunks/chunk.VMITYTMW.js +0 -29
  1062. package/cdn/chunks/chunk.VOHWSUS6.js +0 -19
  1063. package/cdn/chunks/chunk.VRFTM5EZ.js +0 -33
  1064. package/cdn/chunks/chunk.VW4JRARC.js +0 -19
  1065. package/cdn/chunks/chunk.W2L4LFHP.js +0 -538
  1066. package/cdn/chunks/chunk.WIHIKDOO.js +0 -19
  1067. package/cdn/chunks/chunk.WIVXANPA.js +0 -1056
  1068. package/cdn/chunks/chunk.WJ4RUTUN.js +0 -19
  1069. package/cdn/chunks/chunk.WUS3RA7A.js +0 -259
  1070. package/cdn/chunks/chunk.XHDWZUS3.js +0 -19
  1071. package/cdn/chunks/chunk.XXKZMY2K.js +0 -19
  1072. package/cdn/chunks/chunk.XZVBKL46.js +0 -104
  1073. package/cdn/chunks/chunk.YI5QUNXX.js +0 -19
  1074. package/cdn/chunks/chunk.YIJM5IYA.js +0 -32
  1075. package/cdn/chunks/chunk.YIYWTQKE.js +0 -32
  1076. package/cdn/chunks/chunk.YLEDVKIQ.js +0 -155
  1077. package/cdn/chunks/chunk.YQWDPYX2.js +0 -71
  1078. package/cdn/chunks/chunk.YTSNCCCN.js +0 -752
  1079. package/cdn/chunks/chunk.YTZMHMX3.js +0 -29
  1080. package/cdn/chunks/chunk.Z2DAFDC2.js +0 -49
  1081. package/cdn/chunks/chunk.Z4LEEFSD.js +0 -19
  1082. package/cdn/chunks/chunk.ZGA7FO7P.js +0 -32
  1083. package/dist/chunks/chunk.2HPCVNQL.js +0 -21
  1084. package/dist/chunks/chunk.2OT2UXF4.js +0 -11
  1085. package/dist/chunks/chunk.32NG2VNQ.js +0 -11
  1086. package/dist/chunks/chunk.36JXOS6Y.js +0 -21
  1087. package/dist/chunks/chunk.3CCSEGFN.js +0 -21
  1088. package/dist/chunks/chunk.3GSDEVDN.js +0 -52
  1089. package/dist/chunks/chunk.3JAVPASP.js +0 -609
  1090. package/dist/chunks/chunk.3NOU5S4K.js +0 -91
  1091. package/dist/chunks/chunk.3RMARKUW.js +0 -24
  1092. package/dist/chunks/chunk.3SVUDGSO.js +0 -11
  1093. package/dist/chunks/chunk.3WCZNEVP.js +0 -52
  1094. package/dist/chunks/chunk.3XVU2CMW.js +0 -25
  1095. package/dist/chunks/chunk.42RWQXVF.js +0 -11
  1096. package/dist/chunks/chunk.44B2QB57.js +0 -11
  1097. package/dist/chunks/chunk.44C2RMYG.js +0 -345
  1098. package/dist/chunks/chunk.4KI6GHHX.js +0 -11
  1099. package/dist/chunks/chunk.4TO6RQDT.js +0 -11
  1100. package/dist/chunks/chunk.4UBHRRUU.js +0 -220
  1101. package/dist/chunks/chunk.4YCY2DV3.js +0 -21
  1102. package/dist/chunks/chunk.4YYCBOVI.js +0 -11
  1103. package/dist/chunks/chunk.524NKNPG.js +0 -39
  1104. package/dist/chunks/chunk.5EJAFKZ7.js +0 -21
  1105. package/dist/chunks/chunk.5V4FAK7C.js +0 -11
  1106. package/dist/chunks/chunk.5YSU3HL7.js +0 -33
  1107. package/dist/chunks/chunk.64SWCNHI.js +0 -262
  1108. package/dist/chunks/chunk.6AVQFT4P.js +0 -48
  1109. package/dist/chunks/chunk.6ITSS4GH.js +0 -11
  1110. package/dist/chunks/chunk.6KCKKNYD.js +0 -48
  1111. package/dist/chunks/chunk.6QSTETYN.js +0 -11
  1112. package/dist/chunks/chunk.6TW6DP7W.js +0 -11
  1113. package/dist/chunks/chunk.74HB6B26.js +0 -27
  1114. package/dist/chunks/chunk.7FZCDHMN.js +0 -11
  1115. package/dist/chunks/chunk.7MXXFSLC.js +0 -24
  1116. package/dist/chunks/chunk.7QOQXG7V.js +0 -280
  1117. package/dist/chunks/chunk.A54SXMF6.js +0 -11
  1118. package/dist/chunks/chunk.A75XMZQF.js +0 -91
  1119. package/dist/chunks/chunk.A7AZEOWS.js +0 -21
  1120. package/dist/chunks/chunk.ABJSJSVR.js +0 -451
  1121. package/dist/chunks/chunk.ACW2XVAY.js +0 -29
  1122. package/dist/chunks/chunk.AJY5IKAP.js +0 -596
  1123. package/dist/chunks/chunk.ANAQ3U23.js +0 -11
  1124. package/dist/chunks/chunk.ANLBJK37.js +0 -25
  1125. package/dist/chunks/chunk.AYMNVM3K.js +0 -422
  1126. package/dist/chunks/chunk.AYXVVA52.js +0 -24
  1127. package/dist/chunks/chunk.B7H4U76E.js +0 -21
  1128. package/dist/chunks/chunk.BBCOXXME.js +0 -75
  1129. package/dist/chunks/chunk.BENDF532.js +0 -11
  1130. package/dist/chunks/chunk.BRDHFOSA.js +0 -11
  1131. package/dist/chunks/chunk.C24Z45OK.js +0 -58
  1132. package/dist/chunks/chunk.C5ZKA7VW.js +0 -25
  1133. package/dist/chunks/chunk.CBMMWN53.js +0 -11
  1134. package/dist/chunks/chunk.CIDFDZRW.js +0 -230
  1135. package/dist/chunks/chunk.CTUS2BRJ.js +0 -21
  1136. package/dist/chunks/chunk.CVM4QQIH.js +0 -11
  1137. package/dist/chunks/chunk.CWP2OCTX.js +0 -28
  1138. package/dist/chunks/chunk.DBWF2K7N.js +0 -24
  1139. package/dist/chunks/chunk.DFOY2RXN.js +0 -121
  1140. package/dist/chunks/chunk.DKRMDAXH.js +0 -21
  1141. package/dist/chunks/chunk.DLG3ISTI.js +0 -345
  1142. package/dist/chunks/chunk.DO6GYJM7.js +0 -344
  1143. package/dist/chunks/chunk.DS2GXZ4J.js +0 -64
  1144. package/dist/chunks/chunk.EFW6UAEH.js +0 -11
  1145. package/dist/chunks/chunk.ENBFHQ3L.js +0 -291
  1146. package/dist/chunks/chunk.EPPQF7KD.js +0 -24
  1147. package/dist/chunks/chunk.EQ6VDEGW.js +0 -11
  1148. package/dist/chunks/chunk.ET4GP57T.js +0 -213
  1149. package/dist/chunks/chunk.ETNOCBXV.js +0 -259
  1150. package/dist/chunks/chunk.F5A3CI7J.js +0 -21
  1151. package/dist/chunks/chunk.F6YXPWWD.js +0 -11
  1152. package/dist/chunks/chunk.FDY3GDIO.js +0 -21
  1153. package/dist/chunks/chunk.FGIV23AN.js +0 -29
  1154. package/dist/chunks/chunk.FKS74UUE.js +0 -21
  1155. package/dist/chunks/chunk.FQFJCEW7.js +0 -402
  1156. package/dist/chunks/chunk.FQJUCC6Z.js +0 -180
  1157. package/dist/chunks/chunk.FTQDFGAR.js +0 -28
  1158. package/dist/chunks/chunk.GRBQETKI.js +0 -21
  1159. package/dist/chunks/chunk.GT6B4BF3.js +0 -11
  1160. package/dist/chunks/chunk.GTMUZKD3.js +0 -11
  1161. package/dist/chunks/chunk.HARVA2IP.js +0 -21
  1162. package/dist/chunks/chunk.HK5E3MB4.js +0 -11
  1163. package/dist/chunks/chunk.HOMKMLDI.js +0 -986
  1164. package/dist/chunks/chunk.HSGP3NJV.js +0 -112
  1165. package/dist/chunks/chunk.HUDMN5IZ.js +0 -11
  1166. package/dist/chunks/chunk.HWE36KUL.js +0 -214
  1167. package/dist/chunks/chunk.IJQWDDTY.js +0 -21
  1168. package/dist/chunks/chunk.IKMWLDCT.js +0 -21
  1169. package/dist/chunks/chunk.IP6RYMMF.js +0 -11
  1170. package/dist/chunks/chunk.IW47OQDJ.js +0 -27
  1171. package/dist/chunks/chunk.IYF6RYNW.js +0 -11
  1172. package/dist/chunks/chunk.JCQVYTHW.js +0 -21
  1173. package/dist/chunks/chunk.JHMPD5S3.js +0 -11
  1174. package/dist/chunks/chunk.JK62FCBM.js +0 -277
  1175. package/dist/chunks/chunk.JTJTZNBC.js +0 -11
  1176. package/dist/chunks/chunk.K66DWQG7.js +0 -474
  1177. package/dist/chunks/chunk.K6WBYPK4.js +0 -2228
  1178. package/dist/chunks/chunk.K7B5G7VZ.js +0 -484
  1179. package/dist/chunks/chunk.K7QSTEOZ.js +0 -11
  1180. package/dist/chunks/chunk.KTF6ZVQC.js +0 -247
  1181. package/dist/chunks/chunk.KW76EJFU.js +0 -2277
  1182. package/dist/chunks/chunk.LENFD4DV.js +0 -844
  1183. package/dist/chunks/chunk.LIJJ2CVM.js +0 -21
  1184. package/dist/chunks/chunk.LPCY54WK.js +0 -11
  1185. package/dist/chunks/chunk.LPYTOTCB.js +0 -124
  1186. package/dist/chunks/chunk.MFCOSXFW.js +0 -21
  1187. package/dist/chunks/chunk.MGDJ2LD5.js +0 -220
  1188. package/dist/chunks/chunk.MICLMHWK.js +0 -11
  1189. package/dist/chunks/chunk.MNZZPXWB.js +0 -11
  1190. package/dist/chunks/chunk.MQVNIT4S.js +0 -973
  1191. package/dist/chunks/chunk.MTAR5BJL.js +0 -153
  1192. package/dist/chunks/chunk.MZ4FDVFI.js +0 -139
  1193. package/dist/chunks/chunk.N363OJZ2.js +0 -89
  1194. package/dist/chunks/chunk.NLK5RRJT.js +0 -11
  1195. package/dist/chunks/chunk.NUD2D7OX.js +0 -11
  1196. package/dist/chunks/chunk.NXYNTUNF.js +0 -24
  1197. package/dist/chunks/chunk.NY5YVZRV.js +0 -11
  1198. package/dist/chunks/chunk.NZNBKBV5.js +0 -11
  1199. package/dist/chunks/chunk.OHLDTKQU.js +0 -21
  1200. package/dist/chunks/chunk.OIS2I2WX.js +0 -11
  1201. package/dist/chunks/chunk.OKCQAPIO.js +0 -11
  1202. package/dist/chunks/chunk.ON3YVM46.js +0 -138
  1203. package/dist/chunks/chunk.ORHU4TOP.js +0 -25
  1204. package/dist/chunks/chunk.OVF3LEJ5.js +0 -61
  1205. package/dist/chunks/chunk.OVYETBCA.js +0 -11
  1206. package/dist/chunks/chunk.OYOOZ5CY.js +0 -20
  1207. package/dist/chunks/chunk.PHNX45ET.js +0 -93
  1208. package/dist/chunks/chunk.PNW5CV46.js +0 -11
  1209. package/dist/chunks/chunk.POB3HHX4.js +0 -11
  1210. package/dist/chunks/chunk.PUQIBC6P.js +0 -525
  1211. package/dist/chunks/chunk.PX7JSWL7.js +0 -67
  1212. package/dist/chunks/chunk.QHDDMY67.js +0 -21
  1213. package/dist/chunks/chunk.QP5XM7WT.js +0 -720
  1214. package/dist/chunks/chunk.QQMW6GT2.js +0 -1045
  1215. package/dist/chunks/chunk.QQWZTESV.js +0 -21
  1216. package/dist/chunks/chunk.QVJT4Q7B.js +0 -24
  1217. package/dist/chunks/chunk.QXGAOOH7.js +0 -206
  1218. package/dist/chunks/chunk.R4KWN2HX.js +0 -443
  1219. package/dist/chunks/chunk.RBEXUNHZ.js +0 -581
  1220. package/dist/chunks/chunk.REHHQZMY.js +0 -11
  1221. package/dist/chunks/chunk.RJRVYB3F.js +0 -83
  1222. package/dist/chunks/chunk.RNNZRROI.js +0 -85
  1223. package/dist/chunks/chunk.RQHF447H.js +0 -123
  1224. package/dist/chunks/chunk.RWTN6VR5.js +0 -11
  1225. package/dist/chunks/chunk.RYP4SV66.js +0 -11
  1226. package/dist/chunks/chunk.S5JREWKQ.js +0 -21
  1227. package/dist/chunks/chunk.S65PVGZW.js +0 -11
  1228. package/dist/chunks/chunk.SJVXFIWD.js +0 -43
  1229. package/dist/chunks/chunk.SMIEZHJ2.js +0 -11
  1230. package/dist/chunks/chunk.SWGKKZUD.js +0 -27
  1231. package/dist/chunks/chunk.SYBFIXLK.js +0 -11
  1232. package/dist/chunks/chunk.SZAADZKK.js +0 -252
  1233. package/dist/chunks/chunk.T7XC2TPO.js +0 -43
  1234. package/dist/chunks/chunk.TFN2HUUW.js +0 -78
  1235. package/dist/chunks/chunk.TJ5S7Y7N.js +0 -11
  1236. package/dist/chunks/chunk.TKTDW7K4.js +0 -592
  1237. package/dist/chunks/chunk.TXGZZ232.js +0 -26
  1238. package/dist/chunks/chunk.U22BJ3HS.js +0 -24
  1239. package/dist/chunks/chunk.U6JA4K4J.js +0 -24
  1240. package/dist/chunks/chunk.UCXSNYW7.js +0 -24
  1241. package/dist/chunks/chunk.UHIHGVN4.js +0 -31
  1242. package/dist/chunks/chunk.ULEUXMBD.js +0 -731
  1243. package/dist/chunks/chunk.UNJJ4K5X.js +0 -24
  1244. package/dist/chunks/chunk.UNO3VVAK.js +0 -11
  1245. package/dist/chunks/chunk.UU2S72KN.js +0 -30
  1246. package/dist/chunks/chunk.V7PI7GT2.js +0 -21
  1247. package/dist/chunks/chunk.VBCVUNIU.js +0 -67
  1248. package/dist/chunks/chunk.VBWBPTPK.js +0 -230
  1249. package/dist/chunks/chunk.VIBAVNO2.js +0 -11
  1250. package/dist/chunks/chunk.VOGQH6VT.js +0 -28
  1251. package/dist/chunks/chunk.VWZX32FU.js +0 -145
  1252. package/dist/chunks/chunk.VYXIWUES.js +0 -11
  1253. package/dist/chunks/chunk.W52CDXRW.js +0 -11
  1254. package/dist/chunks/chunk.WBEYZIEP.js +0 -24
  1255. package/dist/chunks/chunk.WFDKB6ZX.js +0 -21
  1256. package/dist/chunks/chunk.WHFZNJAZ.js +0 -409
  1257. package/dist/chunks/chunk.WJT6IE7Z.js +0 -28
  1258. package/dist/chunks/chunk.WPBID72S.js +0 -11
  1259. package/dist/chunks/chunk.WPUBNP6J.js +0 -355
  1260. package/dist/chunks/chunk.WUSLL2E3.js +0 -86
  1261. package/dist/chunks/chunk.WWDJTRJH.js +0 -264
  1262. package/dist/chunks/chunk.X4HRSJ4F.js +0 -11
  1263. package/dist/chunks/chunk.XA65IBXV.js +0 -11
  1264. package/dist/chunks/chunk.XB6CG3ZS.js +0 -24
  1265. package/dist/chunks/chunk.XC6HL6VP.js +0 -101
  1266. package/dist/chunks/chunk.XHJJAZ6W.js +0 -11
  1267. package/dist/chunks/chunk.XIFDLBOB.js +0 -25
  1268. package/dist/chunks/chunk.XIXMPQO2.js +0 -21
  1269. package/dist/chunks/chunk.XMGVOXBG.js +0 -11
  1270. package/dist/chunks/chunk.XQHIGAKF.js +0 -1122
  1271. package/dist/chunks/chunk.XQVFPFWL.js +0 -245
  1272. package/dist/chunks/chunk.XYQ5OEQP.js +0 -190
  1273. package/dist/chunks/chunk.YDUPN3OG.js +0 -180
  1274. package/dist/chunks/chunk.YEL7UCDK.js +0 -477
  1275. package/dist/chunks/chunk.YIGP5HKO.js +0 -26
  1276. package/dist/chunks/chunk.YLUFHBYX.js +0 -21
  1277. package/dist/chunks/chunk.YP3AWZ7P.js +0 -11
  1278. package/dist/chunks/chunk.YY5TU7AJ.js +0 -21
  1279. package/dist/chunks/chunk.Z7RT3KHG.js +0 -24
  1280. package/dist/chunks/chunk.ZDDLFJFZ.js +0 -27
  1281. package/dist/chunks/chunk.ZHCDFME3.js +0 -272
  1282. package/dist/chunks/chunk.ZJISEOPZ.js +0 -11
  1283. package/dist/chunks/chunk.ZKLP6636.js +0 -180
  1284. package/dist/chunks/chunk.ZLLSS62V.js +0 -21
  1285. package/dist/chunks/chunk.ZLZJXLHD.js +0 -21
  1286. package/dist/chunks/chunk.ZVEB7QG2.js +0 -143
@@ -1,2277 +0,0 @@
1
- import {
2
- defaultSubsetFileMimeType,
3
- getFriendlyNameForMimeType
4
- } from "./chunk.UU2S72KN.js";
5
- import {
6
- getNotebook
7
- } from "./chunk.3L4WRUGE.js";
8
- import {
9
- TerraLogin
10
- } from "./chunk.A75XMZQF.js";
11
- import {
12
- TerraDialog
13
- } from "./chunk.TKTDW7K4.js";
14
- import {
15
- DataSubsetterController
16
- } from "./chunk.FQFJCEW7.js";
17
- import {
18
- convertVariableEntryIdToGiovanniFormat
19
- } from "./chunk.FDIMGAJI.js";
20
- import {
21
- data_subsetter_styles_default
22
- } from "./chunk.QQMW6GT2.js";
23
- import {
24
- extractHarmonyError
25
- } from "./chunk.ESNQNQUJ.js";
26
- import {
27
- AuthController
28
- } from "./chunk.DHM36JBP.js";
29
- import {
30
- TerraDataAccess,
31
- debounce,
32
- sendDataToJupyterNotebook
33
- } from "./chunk.MQVNIT4S.js";
34
- import {
35
- TerraMenuItem
36
- } from "./chunk.ET4GP57T.js";
37
- import {
38
- TerraMenu
39
- } from "./chunk.ZVEB7QG2.js";
40
- import {
41
- TerraDatePicker
42
- } from "./chunk.K6WBYPK4.js";
43
- import {
44
- TerraSpatialPicker
45
- } from "./chunk.QP5XM7WT.js";
46
- import {
47
- TerraInput
48
- } from "./chunk.AJY5IKAP.js";
49
- import {
50
- TerraDropdown
51
- } from "./chunk.PUQIBC6P.js";
52
- import {
53
- TerraLoader
54
- } from "./chunk.LPYTOTCB.js";
55
- import {
56
- TerraButton
57
- } from "./chunk.WHFZNJAZ.js";
58
- import {
59
- TerraAlert
60
- } from "./chunk.SZAADZKK.js";
61
- import {
62
- TerraAccordion
63
- } from "./chunk.TFN2HUUW.js";
64
- import {
65
- TerraIcon
66
- } from "./chunk.HWE36KUL.js";
67
- import {
68
- watch
69
- } from "./chunk.NWXJOH5T.js";
70
- import {
71
- TerraElement,
72
- component_styles_default
73
- } from "./chunk.ABJSJSVR.js";
74
- import {
75
- getBasePath
76
- } from "./chunk.PBC3S6IG.js";
77
- import {
78
- __decorateClass,
79
- __privateAdd,
80
- __privateGet,
81
- __privateMethod,
82
- __spreadProps,
83
- __spreadValues
84
- } from "./chunk.SHKVBVTI.js";
85
-
86
- // src/components/data-subsetter/data-subsetter.component.ts
87
- import { html, nothing } from "lit";
88
- import { property, query, state } from "lit/decorators.js";
89
- import { TaskStatus } from "@lit/task";
90
- var _authController, _renderFooterForDialog, renderFooterForDialog_fn, _renderSizeInfo, renderSizeInfo_fn, _renderSubsetOptions, renderSubsetOptions_fn, _renderSearchForCollection, renderSearchForCollection_fn, _renderOutputFormatSelection, renderOutputFormatSelection_fn, _renderDateRangeSelection, renderDateRangeSelection_fn, _handleDateChange, _resetDateRangeSelection, _resetFormatSelection, _getCollectionDateRange, getCollectionDateRange_fn, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn, _renderSpatialSelection, renderSpatialSelection_fn, _handleSpatialChange, _resetSpatialSelection, _renderVariableSelection, renderVariableSelection_fn, _filterVariableTree, filterVariableTree_fn, _handleVariableFilterChange, handleVariableFilterChange_fn, _buildVariableTree, buildVariableTree_fn, _renderVariableTree, renderVariableTree_fn, _getAllGroupPaths, getAllGroupPaths_fn, _toggleGroupExpand, toggleGroupExpand_fn, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn, _toggleVariableSelection, toggleVariableSelection_fn, _markFieldTouched, markFieldTouched_fn, _resetVariableSelection, _renderJobStatus, renderJobStatus_fn, _renderSelectedParams, renderSelectedParams_fn, _cancelJob, cancelJob_fn, _getData, getData_fn, _touchAllFields, touchAllFields_fn, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn, _getDocumentationLinks, getDocumentationLinks_fn, _getDataLinks, getDataLinks_fn, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn, _hasSpatialSubset, hasSpatialSubset_fn, _renderJobMessage, renderJobMessage_fn, _getJobMessageText, getJobMessageText_fn, _estimateJobSize, estimateJobSize_fn, _refineParameters, refineParameters_fn, _backToSubsetOptions, backToSubsetOptions_fn, _viewRunningJob, viewRunningJob_fn, _handleDownloadSelect, handleDownloadSelect_fn, _downloadLinksAsTxt, downloadLinksAsTxt_fn, _downloadPythonScript, downloadPythonScript_fn, _downloadEarthdataDownload, downloadEarthdataDownload_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn, _isGiovanniFormat, isGiovanniFormat_fn, _getGiovanniValidationError, getGiovanniValidationError_fn;
91
- var TerraDataSubsetter = class extends TerraElement {
92
- constructor() {
93
- super(...arguments);
94
- __privateAdd(this, _renderFooterForDialog);
95
- __privateAdd(this, _renderSizeInfo);
96
- __privateAdd(this, _renderSubsetOptions);
97
- __privateAdd(this, _renderSearchForCollection);
98
- __privateAdd(this, _renderOutputFormatSelection);
99
- __privateAdd(this, _renderDateRangeSelection);
100
- __privateAdd(this, _getCollectionDateRange);
101
- __privateAdd(this, _handleRegionAccordionToggle);
102
- __privateAdd(this, _renderSpatialSelection);
103
- __privateAdd(this, _renderVariableSelection);
104
- __privateAdd(this, _filterVariableTree);
105
- __privateAdd(this, _handleVariableFilterChange);
106
- __privateAdd(this, _buildVariableTree);
107
- __privateAdd(this, _renderVariableTree);
108
- __privateAdd(this, _getAllGroupPaths);
109
- __privateAdd(this, _toggleGroupExpand);
110
- __privateAdd(this, _toggleExpandCollapseAll);
111
- __privateAdd(this, _toggleVariableSelection);
112
- __privateAdd(this, _markFieldTouched);
113
- __privateAdd(this, _renderJobStatus);
114
- __privateAdd(this, _renderSelectedParams);
115
- __privateAdd(this, _cancelJob);
116
- __privateAdd(this, _getData);
117
- __privateAdd(this, _touchAllFields);
118
- __privateAdd(this, _numberOfFilesFoundEstimate);
119
- __privateAdd(this, _getDocumentationLinks);
120
- __privateAdd(this, _getDataLinks);
121
- __privateAdd(this, _hasAtLeastOneSubsetOption);
122
- __privateAdd(this, _hasSpatialSubset);
123
- __privateAdd(this, _renderJobMessage);
124
- __privateAdd(this, _getJobMessageText);
125
- __privateAdd(this, _estimateJobSize);
126
- __privateAdd(this, _refineParameters);
127
- __privateAdd(this, _backToSubsetOptions);
128
- __privateAdd(this, _viewRunningJob);
129
- __privateAdd(this, _handleDownloadSelect);
130
- __privateAdd(this, _downloadLinksAsTxt);
131
- __privateAdd(this, _downloadPythonScript);
132
- __privateAdd(this, _downloadEarthdataDownload);
133
- __privateAdd(this, _handleJupyterNotebookClick);
134
- __privateAdd(this, _renderAvailableTemporalRangeSection);
135
- __privateAdd(this, _renderAvailableSpatialRangeSection);
136
- __privateAdd(this, _renderDataAccessModeSelection);
137
- __privateAdd(this, _isGiovanniFormat);
138
- __privateAdd(this, _getGiovanniValidationError);
139
- this.showCollectionSearch = true;
140
- this.showHistoryPanel = true;
141
- this.isHistoryView = false;
142
- this.selectedVariables = [];
143
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
144
- this.variableFilterText = "";
145
- this.touchedFields = /* @__PURE__ */ new Set();
146
- this.spatialSelection = null;
147
- this.selectedDateRange = {
148
- startDate: null,
149
- endDate: null
150
- };
151
- this.selectedFormat = defaultSubsetFileMimeType;
152
- this.cancelingGetData = false;
153
- this.selectedTab = "web-links";
154
- this.refineParameters = false;
155
- this.collectionSearchType = "all";
156
- this.collectionSearchLoading = false;
157
- this.collectionLoading = false;
158
- this.collectionAccordionOpen = true;
159
- this.dataAccessMode = "original";
160
- this.controller = new DataSubsetterController(this);
161
- __privateAdd(this, _authController, new AuthController(this));
162
- __privateAdd(this, _handleDateChange, (e) => {
163
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
164
- this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
165
- startDate: e.detail.startDate,
166
- endDate: e.detail.endDate
167
- });
168
- });
169
- __privateAdd(this, _resetDateRangeSelection, () => {
170
- this.selectedDateRange = { startDate: null, endDate: null };
171
- });
172
- __privateAdd(this, _resetFormatSelection, () => {
173
- var _a, _b;
174
- if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
175
- const netcdfFormat = this.collectionWithServices.outputFormats.find(
176
- (format) => format === "application/x-netcdf4" || format === "application/netcdf"
177
- );
178
- this.selectedFormat = netcdfFormat || this.collectionWithServices.outputFormats[0];
179
- } else {
180
- this.selectedFormat = defaultSubsetFileMimeType;
181
- }
182
- });
183
- __privateAdd(this, _handleSpatialChange, (e) => {
184
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
185
- const round2 = (n) => parseFloat(Number(n).toFixed(2));
186
- if (e.detail.type === "bbox" /* BBOX */) {
187
- this.spatialSelection = {
188
- e: round2(e.detail.bounds.getNorthEast().lng),
189
- n: round2(e.detail.bounds.getNorthEast().lat),
190
- w: round2(e.detail.bounds.getSouthWest().lng),
191
- s: round2(e.detail.bounds.getSouthWest().lat)
192
- };
193
- } else if (e.detail.type === "point" /* POINT */) {
194
- this.spatialSelection = e.detail.latLng;
195
- } else {
196
- this.spatialSelection = null;
197
- }
198
- });
199
- __privateAdd(this, _resetSpatialSelection, () => {
200
- this.spatialSelection = null;
201
- });
202
- __privateAdd(this, _resetVariableSelection, () => {
203
- this.selectedVariables = [];
204
- });
205
- }
206
- jobIdChanged() {
207
- if (this.jobId) {
208
- this.controller.fetchJobByID(this.jobId);
209
- this.dataAccessMode = "subset";
210
- }
211
- }
212
- shortNameAndVersionChanged() {
213
- if (this.shortName && this.version) {
214
- this.collectionEntryId = `${this.shortName}_${this.version}`;
215
- }
216
- }
217
- collectionEntryIdChanged() {
218
- if (this.collectionEntryId) {
219
- this.showCollectionSearch = false;
220
- } else {
221
- this.showCollectionSearch = true;
222
- }
223
- }
224
- firstUpdated() {
225
- if (this.collectionEntryId) {
226
- this.showCollectionSearch = false;
227
- }
228
- if (this.jobId) {
229
- this.controller.fetchJobByID(this.jobId);
230
- this.dataAccessMode = "subset";
231
- }
232
- this.renderHistoryPanel();
233
- }
234
- updated(changedProps) {
235
- var _a, _b, _c, _d;
236
- super.updated(changedProps);
237
- const taskStatus = (_b = (_a = this.controller) == null ? void 0 : _a.jobStatusTask) == null ? void 0 : _b.status;
238
- if (taskStatus === TaskStatus.ERROR) {
239
- const taskError = (_d = (_c = this.controller) == null ? void 0 : _c.jobStatusTask) == null ? void 0 : _d.error;
240
- if (taskError) {
241
- const errorDetails = extractHarmonyError(taskError);
242
- if (errorDetails.isCancellation) {
243
- return;
244
- }
245
- if (this.controller.currentJob) {
246
- this.controller.currentJob = __spreadProps(__spreadValues({}, this.controller.currentJob), {
247
- status: "failed" /* FAILED */,
248
- message: errorDetails.message || "Failed to create subset job"
249
- });
250
- }
251
- }
252
- }
253
- }
254
- collectionChanged() {
255
- var _a;
256
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
257
- this.selectedDateRange = { startDate, endDate };
258
- const formats = Array.from(
259
- new Set(((_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) || [])
260
- );
261
- const hasNetcdf4 = formats.includes("application/x-netcdf4");
262
- const hasNetcdfClassic = formats.includes("application/netcdf");
263
- let displayFormats = formats;
264
- if (hasNetcdf4 && hasNetcdfClassic) {
265
- displayFormats = formats.filter((f) => f !== "application/netcdf");
266
- }
267
- if (displayFormats.length === 1) {
268
- this.selectedFormat = displayFormats[0];
269
- } else {
270
- this.selectedFormat = displayFormats.find((f) => f === "application/x-netcdf4") || displayFormats[0];
271
- }
272
- this.collectionLoading = false;
273
- this.collectionAccordionOpen = false;
274
- }
275
- granuleDatesChanged() {
276
- const newRange = __spreadValues(__spreadValues({}, this.granuleMinDate && { startDate: this.granuleMinDate }), this.granuleMaxDate && { endDate: this.granuleMaxDate });
277
- if (Object.keys(newRange).length > 0) {
278
- this.selectedDateRange = __spreadValues(__spreadValues({}, this.selectedDateRange), newRange);
279
- }
280
- }
281
- selectedFormatChanged() {
282
- if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.selectedVariables.length > 1) {
283
- this.selectedVariables = [this.selectedVariables[0]];
284
- }
285
- }
286
- showDialog() {
287
- var _a;
288
- (_a = this.dialogElement) == null ? void 0 : _a.show();
289
- }
290
- render() {
291
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
292
- const showJobStatus = this.controller.currentJob && !this.refineParameters;
293
- const showMinimizeButton = showJobStatus && !!this.dialog;
294
- const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
295
- if (!this.collectionWithServices) {
296
- if (this.controller.fetchCollectionTask.status === TaskStatus.ERROR) {
297
- return html`
298
- <terra-alert open variant="danger" appearance="white">
299
- Failed to find the requested collection.
300
- </terra-alert>
301
- `;
302
- }
303
- }
304
- const content = html`
305
- <div class="container">
306
- ${!this.dialog ? html`
307
- <div class="header">
308
- <h1>
309
- <svg
310
- class="download-icon"
311
- viewBox="0 0 24 24"
312
- fill="currentColor"
313
- >
314
- <path
315
- d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
316
- />
317
- </svg>
318
- ${title}
319
- </h1>
320
-
321
- ${showMinimizeButton ? html`<button
322
- class="minimize-btn"
323
- @click=${() => this.minimizeDialog()}
324
- >
325
- -
326
- </button>` : nothing}
327
- </div>
328
- ` : nothing}
329
- ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? html`
330
- <div class="section">
331
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
332
- </div>
333
- ` : nothing}
334
- ${this.dataAccessMode === "original" ? html`
335
- <div class="section">
336
- <terra-data-access
337
- short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
338
- version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
339
- ?footer-slot=${!!this.dialog}
340
- >
341
- ${this.dialog ? html`
342
- <div
343
- slot="footer"
344
- style="margin-top: 15px;"
345
- >
346
- <slot
347
- name="data-access-footer"
348
- ></slot>
349
- </div>
350
- ` : nothing}
351
- </terra-data-access>
352
- </div>
353
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
354
- </div>
355
- `;
356
- if (this.dialog) {
357
- return html`
358
- <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
359
- <span
360
- slot="label"
361
- style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
362
- >
363
- <svg
364
- class="download-icon"
365
- viewBox="0 0 24 24"
366
- fill="currentColor"
367
- style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
368
- >
369
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
370
- </svg>
371
- ${title}
372
- </span>
373
- ${showMinimizeButton ? html`
374
- <button
375
- slot="header-actions"
376
- class="minimize-btn"
377
- @click=${() => {
378
- var _a2;
379
- return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
380
- }}
381
- aria-label="Minimize"
382
- >
383
- -
384
- </button>
385
- ` : nothing}
386
- ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
387
- </terra-dialog>
388
- `;
389
- }
390
- return html`
391
- <div class="container">
392
- <div class="header">
393
- <h1>
394
- <svg
395
- class="download-icon"
396
- viewBox="0 0 24 24"
397
- fill="currentColor"
398
- >
399
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
400
- </svg>
401
- ${title}
402
- </h1>
403
-
404
- ${showMinimizeButton ? html`<button
405
- class="minimize-btn"
406
- @click=${() => this.minimizeDialog()}
407
- >
408
- -
409
- </button>` : nothing}
410
- </div>
411
- ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? html`
412
- <div class="section">
413
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
414
- </div>
415
- ` : nothing}
416
- ${this.dataAccessMode === "original" ? html`
417
- <div class="section">
418
- <terra-data-access
419
- short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
420
- version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
421
- ?footer-slot=${!!this.dialog}
422
- >
423
- ${this.dialog ? html`
424
- <div
425
- slot="footer"
426
- style="margin-top: 15px;"
427
- >
428
- <slot
429
- name="data-access-footer"
430
- ></slot>
431
- </div>
432
- ` : nothing}
433
- </terra-data-access>
434
- </div>
435
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
436
- </div>
437
- `;
438
- }
439
- minimizeDialog() {
440
- var _a;
441
- (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
442
- }
443
- handleCollectionSearch(searchTerm) {
444
- this.collectionSearchQuery = searchTerm;
445
- }
446
- isLatLng(value) {
447
- return value && typeof value.lat === "number" && typeof value.lng === "number";
448
- }
449
- isLatLngBounds(value) {
450
- return value && typeof value.getSouthWest === "function" && typeof value.getNorthEast === "function";
451
- }
452
- renderHistoryPanel() {
453
- const existingHistoryPanel = document.querySelector(
454
- "terra-data-subsetter-history"
455
- );
456
- if (!existingHistoryPanel && this.bearerToken) {
457
- const historyPanel = document.createElement(
458
- "terra-data-subsetter-history"
459
- );
460
- if (this.bearerToken) {
461
- historyPanel.setAttribute("bearer-token", this.bearerToken);
462
- }
463
- if (this.environment) {
464
- historyPanel.setAttribute("environment", this.environment);
465
- }
466
- document.body.appendChild(historyPanel);
467
- }
468
- }
469
- };
470
- _authController = new WeakMap();
471
- _renderFooterForDialog = new WeakSet();
472
- renderFooterForDialog_fn = function() {
473
- const showJobStatus = this.controller.currentJob && !this.refineParameters;
474
- if (showJobStatus && this.controller.currentJob) {
475
- return html`
476
- <div slot="footer" class="footer">
477
- ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? html`
478
- <div
479
- style="display: flex; align-items: center; gap: 8px;"
480
- >
481
- <terra-dropdown
482
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
483
- >
484
- <terra-button slot="trigger" caret>
485
- Download Options
486
- </terra-button>
487
- <terra-menu>
488
- <terra-menu-item value="file-list">
489
- <svg
490
- slot="prefix"
491
- viewBox="0 0 24 24"
492
- width="16"
493
- height="16"
494
- style="width: 16px; height: 16px;"
495
- >
496
- <path
497
- fill="currentColor"
498
- 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"
499
- />
500
- </svg>
501
- File List
502
- </terra-menu-item>
503
- <terra-menu-item value="python-script">
504
- <svg
505
- slot="prefix"
506
- viewBox="0 0 128 128"
507
- width="16"
508
- height="16"
509
- style="width: 16px; height: 16px;"
510
- >
511
- <path
512
- fill="currentColor"
513
- 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"
514
- ></path>
515
- </svg>
516
- Python Script
517
- </terra-menu-item>
518
- <terra-menu-item value="earthdata-download">
519
- <svg
520
- slot="prefix"
521
- viewBox="0 0 64 64"
522
- fill="none"
523
- width="16"
524
- height="16"
525
- style="width: 16px; height: 16px;"
526
- >
527
- <circle
528
- cx="32"
529
- cy="32"
530
- r="28"
531
- fill="currentColor"
532
- />
533
- <path
534
- d="M32 14v26M32 40l-9-9M32 40l9-9"
535
- stroke="#fff"
536
- stroke-width="4"
537
- stroke-linecap="round"
538
- stroke-linejoin="round"
539
- fill="none"
540
- />
541
- </svg>
542
- Earthdata Download
543
- </terra-menu-item>
544
- </terra-menu>
545
- </terra-dropdown>
546
-
547
- <!--
548
- <terra-button
549
- outline
550
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
551
- >
552
- <terra-icon
553
- name="outline-code-bracket"
554
- library="heroicons"
555
- font-size="1.5em"
556
- style="margin-right: 5px;"
557
- ></terra-icon>
558
- Open in Jupyter Notebook
559
- </terra-button>
560
- -->
561
- </div>
562
- ` : nothing}
563
- ${this.controller.currentJob.status === "running" ? html`<button
564
- class="btn btn-success"
565
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
566
- ?disabled=${this.cancelingGetData}
567
- >
568
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
569
- </button>` : nothing}
570
-
571
- <div class="job-info">
572
- Job ID:
573
- <span class="job-id">
574
- ${this.bearerToken ? html`<a
575
- href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
576
- target="_blank"
577
- >${this.controller.currentJob.jobID}</a
578
- >` : this.controller.currentJob.jobID}
579
- </span>
580
- <span class="info-icon">?</span>
581
- </div>
582
- </div>
583
- `;
584
- } else if (this.dataAccessMode === "subset") {
585
- return html`
586
- <div slot="footer" class="footer">
587
- <button class="btn btn-secondary">Reset All</button>
588
- <div>
589
- <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
590
- Get Data
591
- </button>
592
- ${this.jobId ? html`
593
- <terra-button
594
- variant="default"
595
- @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
596
- >
597
- View Running Job
598
- </terra-button>
599
- ` : nothing}
600
- </div>
601
- </div>
602
- </div>
603
- </div>
604
- `;
605
- }
606
- return nothing;
607
- };
608
- _renderSizeInfo = new WeakSet();
609
- renderSizeInfo_fn = function(estimates) {
610
- if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
611
- return html`
612
- <div class="size-info warning">
613
- <terra-login>
614
- <h2 slot="logged-out">Limited access as a guest.</h2>
615
-
616
- <p slot="logged-out">
617
- Your results will be capped at 10 links. Log in for full
618
- access to all data.
619
- </p>
620
- </terra-login>
621
- </div>
622
- `;
623
- }
624
- return html`<div
625
- class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
626
- >
627
- <h2>Estimated size of results</h2>
628
- <div class="size-stats">
629
- ${estimates.days.toLocaleString()} days,
630
- ${estimates.links.toLocaleString()} links
631
- </div>
632
- ${estimates.links >= 150 ? html`<div class="size-warning">
633
- You are about to retrieve ${estimates.links.toLocaleString()}
634
- file links from the archive. You may
635
- <strong>speed up the request</strong> by limiting the scope of
636
- your search.
637
- </div>` : nothing}
638
- </div>`;
639
- };
640
- _renderSubsetOptions = new WeakSet();
641
- renderSubsetOptions_fn = function() {
642
- var _a, _b, _c, _d, _e, _f, _g, _h;
643
- const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
644
- const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
645
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
646
- const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
647
- const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
648
- const showTemporalSection = temporalExtents && temporalExtents.length;
649
- const showSpatialSection = spatialExtent && ((_c = (_b = spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles);
650
- return html`
651
- ${this.dataAccessMode === "original" ? nothing : hasSubsetOption ? html`
652
- ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : nothing}
653
- ${this.showCollectionSearch ? html`
654
- <div class="section">
655
- <h2 class="section-title">
656
- Select Data Collection
657
- </h2>
658
-
659
- ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
660
- </div>
661
- ` : nothing}
662
- ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? html`
663
- <div class="section">
664
- <h2 class="section-title">Output Format</h2>
665
-
666
- ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
667
- </div>
668
- ` : nothing}
669
- <div class="section">
670
- <h2 class="section-title">Subset Options</h2>
671
- <p style="color: #666; margin-bottom: 16px;">
672
- Generate file links that support spatial subsetting,
673
- date/time range selection, and variable selection.
674
- </p>
675
-
676
- ${((_f = this.collectionWithServices) == null ? void 0 : _f.temporalSubset) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : nothing}
677
- ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : nothing}
678
- ${((_g = this.collectionWithServices) == null ? void 0 : _g.variableSubset) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : nothing}
679
- </div>
680
- ` : html`
681
- ${showTemporalSection && !((_h = this.collectionWithServices) == null ? void 0 : _h.temporalSubset) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : nothing}
682
- ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : nothing}
683
- `}
684
- ${!hasSubsetOption && estimates ? html`
685
- <div
686
- class="neutral-info"
687
- style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
688
- >
689
- <strong>Estimated result size:</strong><br />
690
- Your request will return approximately
691
- <b>${estimates.links.toLocaleString()}</b> files covering
692
- <b>${estimates.days.toLocaleString()}</b> days.
693
- </div>
694
- ` : nothing}
695
- ${this.dataAccessMode === "subset" && !this.dialog ? html`
696
- <div class="footer">
697
- <button class="btn btn-secondary">Reset All</button>
698
- <div>
699
- <button
700
- class="btn btn-primary"
701
- @click=${__privateMethod(this, _getData, getData_fn)}
702
- >
703
- Get Data
704
- </button>
705
- ${this.jobId ? html`
706
- <terra-button
707
- variant="default"
708
- @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
709
- >
710
- View Running Job
711
- </terra-button>
712
- ` : nothing}
713
- </div>
714
- </div>
715
- </div>
716
- </div>
717
- ` : nothing}
718
- `;
719
- };
720
- _renderSearchForCollection = new WeakSet();
721
- renderSearchForCollection_fn = function() {
722
- var _a, _b;
723
- let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
724
- if (this.collectionSearchType === "collection") {
725
- placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
726
- }
727
- if (this.collectionSearchType === "variable") {
728
- placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
729
- }
730
- return html`
731
- <terra-accordion .open=${this.collectionAccordionOpen}>
732
- <div slot="summary">
733
- <span class="accordion-title">Collection:</span>
734
- </div>
735
-
736
- <div
737
- slot="summary-right"
738
- style="display: flex; align-items: center; gap: 10px"
739
- >
740
- ${this.collectionEntryId ? html` <span
741
- class="accordion-value"
742
- id="selected-collection-display"
743
- >${this.collectionEntryId}</span
744
- >
745
-
746
- <button
747
- class="reset-btn"
748
- @click=${() => this.collectionEntryId = void 0}
749
- >
750
- Reset
751
- </button>` : nothing}
752
- </div>
753
-
754
- <div class="search-tabs-mini">
755
- <button
756
- class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
757
- @click=${() => this.collectionSearchType = "all"}
758
- >
759
- All
760
- </button>
761
- <button
762
- class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
763
- @click=${() => this.collectionSearchType = "collection"}
764
- >
765
- Collections
766
- </button>
767
- <button
768
- class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
769
- @click=${() => this.collectionSearchType = "variable"}
770
- >
771
- Variables
772
- </button>
773
- </div>
774
-
775
- <div class="search-container-mini">
776
- <input
777
- type="text"
778
- class="search-input-mini"
779
- id="search-input"
780
- placeholder=${placeholder}
781
- @input="${(e) => this.handleCollectionSearch(
782
- e.target.value
783
- )}"
784
- />
785
-
786
- <button class="search-button-mini">
787
- <svg
788
- class="search-icon-mini"
789
- viewBox="0 0 24 24"
790
- fill="currentColor"
791
- >
792
- <path
793
- 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"
794
- />
795
- </svg>
796
- Search
797
- </button>
798
- </div>
799
-
800
- <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
801
- <div class="quick-links-mini">
802
- <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
803
- >GPM Precipitation</a
804
- >
805
- <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
806
- >MODIS Data</a
807
- >
808
- <a
809
- href="#"
810
- class="quick-link-mini"
811
- onclick="quickSearch('Landsat')"
812
- >Landsat Imagery</a
813
- >
814
- <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
815
- >Atmospheric Data</a
816
- >
817
- </div>
818
- -->
819
-
820
- <div id="search-results-section" class="search-results-section">
821
- ${this.collectionSearchLoading ? html`
822
- <div id="loading-mini" class="loading-mini">
823
- <div class="spinner-mini"></div>
824
- <div>Searching NASA CMR...</div>
825
- </div>
826
- ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? html` <div
827
- id="results-container-mini"
828
- class="results-container-mini"
829
- >
830
- ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
831
- (item) => html`
832
- <div
833
- class="result-item-mini"
834
- @click=${() => {
835
- this.collectionEntryId = item.collectionEntryId;
836
- this.collectionAccordionOpen = false;
837
- this.collectionLoading = true;
838
- if (item.type === "variable") {
839
- this.selectedVariables = [
840
- {
841
- name: item.entryId,
842
- href: "",
843
- conceptId: item.conceptId
844
- }
845
- ];
846
- }
847
- this.requestUpdate();
848
- }}
849
- style="cursor: pointer;"
850
- >
851
- <div class="result-title-mini">
852
- ${item.title}
853
- </div>
854
- <div class="result-id-mini">
855
- ${item.entryId}
856
- </div>
857
- <div class="result-description-mini">
858
- ${item.summary || item.title}
859
- </div>
860
- <div class="result-meta-mini">
861
- <span>📅 2000-02-24 - ongoing</span>
862
- <span>🌍 Global</span>
863
- <span>🏢 ${item.provider}</span>
864
- ${item.type === "variable" ? html` <span
865
- >📊
866
- ${item.collectionEntryId}</span
867
- >` : nothing}
868
- <span class="tag-mini"
869
- >${item.type.toUpperCase()}</span
870
- >
871
- </div>
872
- </div>
873
- `
874
- )}
875
- </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? html`<div id="no-results-mini" class="no-results-mini">
876
- <p>
877
- No results found for
878
- '${this.collectionSearchQuery}'. Try adjusting
879
- your search term.
880
- </p>
881
- </div>` : nothing}
882
- </div>
883
- </terra-accordion>
884
-
885
- ${this.collectionLoading ? html`
886
- <div
887
- class="collection-loading-bar"
888
- style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
889
- >
890
- <span
891
- class="loading-spinner"
892
- 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;"
893
- ></span>
894
- Retrieving collection, please wait...
895
- </div>
896
- <style>
897
- @keyframes spin {
898
- 0% {
899
- transform: rotate(0deg);
900
- }
901
- 100% {
902
- transform: rotate(360deg);
903
- }
904
- }
905
- </style>
906
- ` : nothing}
907
- `;
908
- };
909
- _renderOutputFormatSelection = new WeakSet();
910
- renderOutputFormatSelection_fn = function() {
911
- var _a, _b;
912
- const hasGiovanniService = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.services) == null ? void 0 : _b.some(
913
- (s) => s.name.indexOf("giovanni") !== -1
914
- );
915
- return html`
916
- <terra-accordion>
917
- <div slot="summary">
918
- <span class="accordion-title">File Format:</span>
919
- </div>
920
-
921
- <div
922
- slot="summary-right"
923
- style="display: flex; align-items: center; gap: 10px;"
924
- >
925
- <span
926
- >${getFriendlyNameForMimeType(
927
- this.selectedFormat,
928
- hasGiovanniService
929
- )}</span
930
- >
931
-
932
- <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
933
- Reset
934
- </button>
935
- </div>
936
-
937
- <div class="accordion-content" style="margin-top: 12px;">
938
- ${(() => {
939
- var _a2;
940
- const allFormats = ((_a2 = this.collectionWithServices) == null ? void 0 : _a2.outputFormats) || [];
941
- const uniqueFormats = Array.from(new Set(allFormats));
942
- const hasNetcdf4 = uniqueFormats.includes(
943
- "application/x-netcdf4"
944
- );
945
- const hasNetcdfClassic = uniqueFormats.includes("application/netcdf");
946
- let displayFormats = uniqueFormats;
947
- if (hasNetcdf4 && hasNetcdfClassic) {
948
- displayFormats = uniqueFormats.filter(
949
- (f) => f !== "application/netcdf"
950
- );
951
- }
952
- return displayFormats.map(
953
- (format) => html`
954
- <label
955
- style="display: flex; align-items: center; gap: 8px; padding: 5px;"
956
- >
957
- <input
958
- type="radio"
959
- name="output-format"
960
- value="${format}"
961
- .checked=${this.selectedFormat === format}
962
- @change=${() => this.selectedFormat = format}
963
- />
964
- ${getFriendlyNameForMimeType(
965
- format,
966
- hasGiovanniService
967
- )}
968
- </label>
969
- `
970
- );
971
- })()}
972
- </div>
973
- </terra-accordion>
974
- `;
975
- };
976
- _renderDateRangeSelection = new WeakSet();
977
- renderDateRangeSelection_fn = function() {
978
- var _a, _b, _c, _d, _e, _f, _g, _h;
979
- const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
980
- const startDate = (_b = (_a = this.selectedDateRange.startDate) != null ? _a : this.granuleMinDate) != null ? _b : defaultStartDate;
981
- const endDate = (_d = (_c = this.selectedDateRange.endDate) != null ? _c : this.granuleMaxDate) != null ? _d : defaultEndDate;
982
- const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
983
- return html`
984
- <terra-accordion>
985
- <div slot="summary">
986
- <span class="accordion-title">Refine Date Range:</span>
987
- </div>
988
-
989
- <div
990
- slot="summary-right"
991
- style="display: flex; align-items: center; gap: 10px;"
992
- >
993
- ${showError ? html`<span class="accordion-value error"
994
- >Please select a date range</span
995
- >` : this.touchedFields.has("date") && startDate && endDate ? html`<span class="accordion-value"
996
- >${startDate} to ${endDate}</span
997
- >` : nothing}
998
- <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
999
- Reset
1000
- </button>
1001
- </div>
1002
-
1003
- <div style="width: 300px">
1004
- <terra-date-picker
1005
- allow-input
1006
- inline
1007
- range
1008
- split-inputs
1009
- show-presets
1010
- ?enable-time=${this.controller.isSubDaily}
1011
- start-label="Start Date"
1012
- end-label="End Date"
1013
- .minDate=${(_e = this.granuleMinDate) != null ? _e : defaultStartDate}
1014
- .maxDate=${(_f = this.granuleMaxDate) != null ? _f : defaultEndDate}
1015
- .startDate=${(_g = this.selectedDateRange.startDate) != null ? _g : this.granuleMinDate}
1016
- .endDate=${(_h = this.selectedDateRange.endDate) != null ? _h : this.granuleMaxDate}
1017
- .useEndOfDay=${__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) ? false : true}
1018
- @terra-date-range-change=${__privateGet(this, _handleDateChange)}
1019
- ></terra-date-picker>
1020
- </div>
1021
-
1022
- <div
1023
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1024
- >
1025
- <span
1026
- ><strong>Available Range:</strong> ${defaultStartDate} to
1027
- ${defaultEndDate}</span
1028
- >
1029
- ${this.controller.isSubDaily ? html`<span
1030
- ><strong>Note:</strong> All dates and times are in
1031
- UTC.</span
1032
- >` : nothing}
1033
- </div>
1034
- </terra-accordion>
1035
- `;
1036
- };
1037
- _handleDateChange = new WeakMap();
1038
- _resetDateRangeSelection = new WeakMap();
1039
- _resetFormatSelection = new WeakMap();
1040
- _getCollectionDateRange = new WeakSet();
1041
- getCollectionDateRange_fn = function() {
1042
- var _a, _b;
1043
- const samplingMinDate = this.controller.granuleMinDate;
1044
- const samplingMaxDate = this.controller.granuleMaxDate;
1045
- if (samplingMinDate && samplingMaxDate) {
1046
- return {
1047
- startDate: samplingMinDate.slice(0, 10),
1048
- endDate: samplingMaxDate.slice(0, 10)
1049
- };
1050
- }
1051
- const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1052
- if (!temporalExtents || !temporalExtents.length)
1053
- return {
1054
- startDate: null,
1055
- endDate: null
1056
- };
1057
- let minStart = null;
1058
- let maxEnd = null;
1059
- const today = /* @__PURE__ */ new Date();
1060
- for (const temporal of temporalExtents) {
1061
- for (const range of temporal.RangeDateTimes) {
1062
- const start = new Date(range.BeginningDateTime);
1063
- let end;
1064
- if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1065
- end = today;
1066
- } else {
1067
- end = new Date(range.EndingDateTime);
1068
- }
1069
- if (!minStart || start < minStart)
1070
- minStart = start;
1071
- if (!maxEnd || end > maxEnd)
1072
- maxEnd = end;
1073
- }
1074
- }
1075
- return {
1076
- startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1077
- endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1078
- };
1079
- };
1080
- _handleRegionAccordionToggle = new WeakSet();
1081
- handleRegionAccordionToggle_fn = function() {
1082
- var _a;
1083
- (_a = this.spatialPicker) == null ? void 0 : _a.invalidateSize();
1084
- };
1085
- _renderSpatialSelection = new WeakSet();
1086
- renderSpatialSelection_fn = function() {
1087
- var _a, _b, _c, _d, _e;
1088
- const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
1089
- let 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;
1090
- if (boundingRects && !Array.isArray(boundingRects)) {
1091
- boundingRects = [boundingRects];
1092
- }
1093
- let spatialString = "";
1094
- if (this.isLatLng(this.spatialSelection)) {
1095
- spatialString = `${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1096
- } else if (this.isLatLngBounds(this.spatialSelection)) {
1097
- spatialString = `${this.spatialSelection.getSouthWest().lat}, ${this.spatialSelection.getSouthWest().lng}, ${this.spatialSelection.getNorthEast().lat}, ${this.spatialSelection.getNorthEast().lng}`;
1098
- } else if (this.spatialSelection && "w" in this.spatialSelection && "s" in this.spatialSelection && "e" in this.spatialSelection && "n" in this.spatialSelection) {
1099
- spatialString = `${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1100
- } else if (this.spatialSelection) {
1101
- spatialString = this.spatialSelection;
1102
- }
1103
- return html`
1104
- <terra-accordion
1105
- @terra-accordion-toggle=${__privateMethod(this, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn)}
1106
- >
1107
- <div slot="summary">
1108
- <span class="accordion-title">Refine Region:</span>
1109
- </div>
1110
-
1111
- <div
1112
- slot="summary-right"
1113
- style="display: flex; align-items: center; gap: 10px;"
1114
- >
1115
- ${showError ? html`<span class="accordion-value error"
1116
- >Please select a region</span
1117
- >` : spatialString ? html`<span class="accordion-value"
1118
- >${spatialString}</span
1119
- >` : nothing}
1120
- <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1121
- Reset
1122
- </button>
1123
- </div>
1124
- <div class="accordion-content">
1125
- <terra-spatial-picker
1126
- part="spatial-picker"
1127
- inline
1128
- hide-label
1129
- hide-point-selection
1130
- no-world-wrap
1131
- .spatialConstraints=${this.controller.spatialConstraints || "-180, -90, 180, 90"}
1132
- .initialValue=${spatialString}
1133
- @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1134
- ></terra-spatial-picker>
1135
- <div
1136
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1137
- >
1138
- <span
1139
- ><strong>Available Range:</strong> ${this.controller.spatialConstraints}</span
1140
- >
1141
- </div>
1142
- </div>
1143
- </terra-accordion>
1144
- `;
1145
- };
1146
- _handleSpatialChange = new WeakMap();
1147
- _resetSpatialSelection = new WeakMap();
1148
- _renderVariableSelection = new WeakSet();
1149
- renderVariableSelection_fn = function() {
1150
- var _a;
1151
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1152
- const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1153
- const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1154
- const showError = giovanniError || basicError;
1155
- const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1156
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1157
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1158
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1159
- return html`
1160
- <terra-accordion>
1161
- <div slot="summary">
1162
- <span class="accordion-title">Select Variables:</span>
1163
- </div>
1164
- <div
1165
- slot="summary-right"
1166
- style="display: flex; align-items: center; gap: 10px;"
1167
- >
1168
- ${showError ? html`<span class="accordion-value error"
1169
- >${errorMessage}</span
1170
- >` : this.selectedVariables.length ? html`<span class="accordion-value"
1171
- >${this.selectedVariables.length} selected</span
1172
- >` : nothing}
1173
-
1174
- <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1175
- Reset
1176
- </button>
1177
- </div>
1178
- <div class="accordion-content">
1179
- <terra-input
1180
- label="Filter variables"
1181
- placeholder="Search by variable name..."
1182
- .value=${this.variableFilterText}
1183
- @input=${(e) => {
1184
- const input = e.target;
1185
- this.variableFilterText = input.value;
1186
- __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1187
- }}
1188
- style="margin-bottom: 10px;"
1189
- ></terra-input>
1190
- <button
1191
- class="reset-btn"
1192
- style="margin-bottom: 10px;"
1193
- @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1194
- >
1195
- ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1196
- </button>
1197
-
1198
- ${__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.giovanniConfiguredVariables ? html`
1199
- <terra-alert
1200
- open
1201
- appearance="white"
1202
- style="margin: 10px 0"
1203
- >
1204
- <terra-icon
1205
- slot="icon"
1206
- name="outline-information-circle"
1207
- library="heroicons"
1208
- ></terra-icon>
1209
- Only certain variables are supported for the
1210
- selected output format. (Giovanni service)
1211
- </terra-alert>
1212
- ` : nothing}
1213
- ${variables.length === 0 ? html`<p style="color: #666; font-style: italic;">
1214
- No variables available for this collection.
1215
- </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1216
- </div>
1217
- </terra-accordion>
1218
- `;
1219
- };
1220
- _filterVariableTree = new WeakSet();
1221
- filterVariableTree_fn = function(tree) {
1222
- if (!this.variableFilterText.trim()) {
1223
- return tree;
1224
- }
1225
- const filterText = this.variableFilterText.toLowerCase().trim();
1226
- const filterNode = (node) => {
1227
- const result = {};
1228
- for (const [key, value] of Object.entries(node)) {
1229
- if (value.__isLeaf) {
1230
- const variableName = value.__variable.name.toLowerCase();
1231
- if (variableName.includes(filterText)) {
1232
- result[key] = value;
1233
- }
1234
- } else {
1235
- const filteredChildren = filterNode(value.__children);
1236
- if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1237
- result[key] = __spreadProps(__spreadValues({}, value), {
1238
- __children: filteredChildren
1239
- });
1240
- }
1241
- }
1242
- }
1243
- return result;
1244
- };
1245
- return filterNode(tree);
1246
- };
1247
- _handleVariableFilterChange = new WeakSet();
1248
- handleVariableFilterChange_fn = function() {
1249
- var _a;
1250
- if (!this.variableFilterText.trim()) {
1251
- return;
1252
- }
1253
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1254
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1255
- const filterText = this.variableFilterText.toLowerCase().trim();
1256
- const groupsToExpand = /* @__PURE__ */ new Set();
1257
- const findMatchingGroups = (node, path = []) => {
1258
- for (const [key, value] of Object.entries(node)) {
1259
- if (value.__isLeaf) {
1260
- const variableName = value.__variable.name.toLowerCase();
1261
- if (variableName.includes(filterText)) {
1262
- for (let i = 0; i < path.length; i++) {
1263
- const groupPath = path.slice(0, i + 1).join("/");
1264
- groupsToExpand.add(groupPath);
1265
- }
1266
- }
1267
- } else {
1268
- const groupPath = [...path, key].join("/");
1269
- findMatchingGroups(value.__children, [...path, key]);
1270
- if (key.toLowerCase().includes(filterText)) {
1271
- groupsToExpand.add(groupPath);
1272
- }
1273
- }
1274
- }
1275
- };
1276
- findMatchingGroups(tree);
1277
- if (groupsToExpand.size > 0) {
1278
- this.expandedVariableGroups = /* @__PURE__ */ new Set([
1279
- ...this.expandedVariableGroups,
1280
- ...groupsToExpand
1281
- ]);
1282
- }
1283
- };
1284
- _buildVariableTree = new WeakSet();
1285
- buildVariableTree_fn = function(variables) {
1286
- let filteredVariables = variables;
1287
- if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.giovanniConfiguredVariables) {
1288
- const originalCount = variables.length;
1289
- filteredVariables = variables.filter((v) => {
1290
- var _a, _b, _c;
1291
- const shortName = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName;
1292
- const version = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.Version;
1293
- if (!shortName || !version) {
1294
- return false;
1295
- }
1296
- const giovanniVariableName = convertVariableEntryIdToGiovanniFormat(
1297
- shortName,
1298
- version,
1299
- v.name
1300
- );
1301
- return this.giovanniConfiguredVariables.has(giovanniVariableName);
1302
- });
1303
- console.log(
1304
- `Filtered ${originalCount - filteredVariables.length} variables for Giovanni format. Showing ${filteredVariables.length} of ${originalCount}.`
1305
- );
1306
- }
1307
- const root = {};
1308
- for (const v of filteredVariables) {
1309
- const parts = v.name.split("/");
1310
- let node = root;
1311
- for (let i = 0; i < parts.length; i++) {
1312
- const part = parts[i];
1313
- if (!node[part])
1314
- node[part] = { __children: {}, __isLeaf: false };
1315
- if (i === parts.length - 1) {
1316
- node[part].__isLeaf = true;
1317
- node[part].__variable = v;
1318
- }
1319
- node = node[part].__children;
1320
- }
1321
- }
1322
- return root;
1323
- };
1324
- _renderVariableTree = new WeakSet();
1325
- renderVariableTree_fn = function(node, path) {
1326
- const isGiovanni = __privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this);
1327
- return html`
1328
- <div style="margin-left: ${path.length * 20}px;">
1329
- ${Object.entries(node).map(([key, value]) => {
1330
- var _a;
1331
- const groupPath = [...path, key].join("/");
1332
- if (value.__isLeaf) {
1333
- const variableDetail = (_a = this.variableDetails) == null ? void 0 : _a.find(
1334
- (d) => d.name === value.__variable.name && d.longName !== value.__variable.name
1335
- );
1336
- const variableName = (variableDetail == null ? void 0 : variableDetail.longName) ? `${key} = ${variableDetail.longName}${variableDetail.units ? ` (${variableDetail.units})` : ""}` : key;
1337
- return html`
1338
- <div class="option-row">
1339
- <label class="checkbox-option">
1340
- <input
1341
- type="${isGiovanni ? "radio" : "checkbox"}"
1342
- name="${isGiovanni ? "variable-selection" : ""}"
1343
- .checked=${this.selectedVariables.some(
1344
- (v) => v.name === value.__variable.name
1345
- )}
1346
- @change=${(e) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e, value.__variable)}
1347
- />
1348
- <span>${variableName}</span>
1349
- </label>
1350
- </div>
1351
- `;
1352
- } else {
1353
- const expanded = this.expandedVariableGroups.has(groupPath);
1354
- return html`
1355
- <div class="option-row" style="align-items: flex-start;">
1356
- <span
1357
- style="cursor: pointer; display: flex; align-items: center;"
1358
- @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1359
- >
1360
- <terra-icon
1361
- library="heroicons"
1362
- name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1363
- style="margin-right: 4px;"
1364
- ></terra-icon>
1365
- <span style="font-weight: 500;">${key}</span>
1366
- </span>
1367
- </div>
1368
- ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1369
- ...path,
1370
- key
1371
- ]) : ""}
1372
- `;
1373
- }
1374
- })}
1375
- </div>
1376
- `;
1377
- };
1378
- _getAllGroupPaths = new WeakSet();
1379
- getAllGroupPaths_fn = function(node, path = []) {
1380
- let groups = [];
1381
- for (const [key, value] of Object.entries(node)) {
1382
- if (!value.__isLeaf) {
1383
- const groupPath = [...path, key].join("/");
1384
- groups.push(groupPath);
1385
- groups = groups.concat(
1386
- __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1387
- );
1388
- }
1389
- }
1390
- return groups;
1391
- };
1392
- _toggleGroupExpand = new WeakSet();
1393
- toggleGroupExpand_fn = function(groupPath) {
1394
- const set = new Set(this.expandedVariableGroups);
1395
- if (set.has(groupPath)) {
1396
- set.delete(groupPath);
1397
- } else {
1398
- set.add(groupPath);
1399
- }
1400
- this.expandedVariableGroups = set;
1401
- };
1402
- _toggleExpandCollapseAll = new WeakSet();
1403
- toggleExpandCollapseAll_fn = function(tree) {
1404
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1405
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1406
- if (allExpanded) {
1407
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
1408
- } else {
1409
- this.expandedVariableGroups = new Set(allGroups);
1410
- }
1411
- };
1412
- _toggleVariableSelection = new WeakSet();
1413
- toggleVariableSelection_fn = function(e, variable) {
1414
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1415
- const checked = e.target.checked;
1416
- if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
1417
- if (checked) {
1418
- this.selectedVariables = [variable];
1419
- }
1420
- } else {
1421
- if (checked) {
1422
- if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1423
- this.selectedVariables = [...this.selectedVariables, variable];
1424
- }
1425
- } else {
1426
- this.selectedVariables = this.selectedVariables.filter(
1427
- (v) => v.name !== variable.name
1428
- );
1429
- }
1430
- }
1431
- };
1432
- _markFieldTouched = new WeakSet();
1433
- markFieldTouched_fn = function(field) {
1434
- this.touchedFields = new Set(this.touchedFields).add(field);
1435
- };
1436
- _resetVariableSelection = new WeakMap();
1437
- _renderJobStatus = new WeakSet();
1438
- renderJobStatus_fn = function() {
1439
- var _a, _b;
1440
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.jobID)) {
1441
- return html`<div class="results-section" id="job-status-section">
1442
- <div
1443
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1444
- >
1445
- <h2 class="results-title" style="margin: 0;">Results:</h2>
1446
- ${!this.isHistoryView ? html`
1447
- <terra-button
1448
- variant="default"
1449
- size="small"
1450
- @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1451
- >
1452
- ← Back to Subset Options
1453
- </terra-button>
1454
- ` : nothing}
1455
- </div>
1456
-
1457
- <div class="progress-container">
1458
- <div class="progress-text">
1459
- <span class="spinner"></span>
1460
- <span class="status-running">Searching for data...</span>
1461
- </div>
1462
-
1463
- <div class="progress-bar">
1464
- <div class="progress-fill" style="width: 0%"></div>
1465
- </div>
1466
- </div>
1467
-
1468
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1469
- </div>`;
1470
- }
1471
- return html`
1472
- <div class="results-section" id="job-status-section">
1473
- <div
1474
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1475
- >
1476
- <h2 class="results-title" style="margin: 0;">Results:</h2>
1477
- ${!this.isHistoryView ? html`
1478
- <terra-button
1479
- variant="default"
1480
- size="small"
1481
- @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1482
- >
1483
- ← Back to Subset Options
1484
- </terra-button>
1485
- ` : nothing}
1486
- </div>
1487
-
1488
- ${this.controller.currentJob.status !== "canceled" && this.controller.currentJob.status !== "failed" ? html` <div class="progress-container">
1489
- <div class="progress-text">
1490
- ${this.controller.currentJob.progress >= 100 ? html`
1491
- <span class="status-complete"
1492
- >✓ Search complete</span
1493
- >
1494
- ` : html`
1495
- <span class="spinner"></span>
1496
- <span class="status-running"
1497
- >Searching for data...
1498
- (${this.controller.currentJob.progress}%)</span
1499
- >
1500
- `}
1501
- </div>
1502
-
1503
- <div class="progress-bar">
1504
- <div
1505
- class="progress-fill"
1506
- style="width: ${this.controller.currentJob.progress}%"
1507
- ></div>
1508
- </div>
1509
- </div>` : nothing}
1510
-
1511
- <div class="search-status">
1512
- <span class="file-count"
1513
- >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1514
- >
1515
- out of estimated
1516
- <span class="estimated-total"
1517
- >${this.controller.currentJob.numInputGranules.toLocaleString()}</span
1518
- >
1519
- </div>
1520
-
1521
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1522
- ${((_b = this.controller.currentJob.errors) == null ? void 0 : _b.length) ? html`
1523
- <terra-accordion>
1524
- <div slot="summary">
1525
- <span
1526
- class="accordion-title"
1527
- style="color: #dc3545;"
1528
- >Errors
1529
- (${this.controller.currentJob.errors.length})</span
1530
- >
1531
- </div>
1532
- <div class="accordion-content">
1533
- <ul
1534
- style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1535
- >
1536
- ${this.controller.currentJob.errors.map(
1537
- (err) => html`
1538
- <li style="margin-bottom: 12px;">
1539
- <a
1540
- href="${err.url}"
1541
- target="_blank"
1542
- style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1543
- >
1544
- ${err.url}
1545
- </a>
1546
- <div style="margin-top: 2px;">
1547
- ${err.message}
1548
- </div>
1549
- </li>
1550
- `
1551
- )}
1552
- </ul>
1553
- </div>
1554
- </terra-accordion>
1555
- ` : nothing}
1556
-
1557
- <div class="tabs">
1558
- <button
1559
- class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1560
- @click=${() => this.selectedTab = "web-links"}
1561
- >
1562
- Web Links
1563
- </button>
1564
-
1565
- ${!this.isHistoryView ? html`
1566
- <button
1567
- class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1568
- @click=${() => this.selectedTab = "selected-params"}
1569
- >
1570
- Selected Parameters
1571
- </button>
1572
- ` : nothing}
1573
- </div>
1574
- <div
1575
- id="web-links"
1576
- class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1577
- >
1578
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? html`
1579
- <div class="documentation-links">
1580
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1581
- (link) => html`
1582
- <a href="${link.href}" class="doc-link"
1583
- >${link.title}</a
1584
- >
1585
- `
1586
- )}
1587
- </div>
1588
- ` : nothing}
1589
-
1590
- <ul class="file-list">
1591
- ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1592
- (link) => html`
1593
- <li class="file-item">
1594
- <a
1595
- href="${link.href}"
1596
- class="file-link"
1597
- target="_blank"
1598
- >
1599
- ${link.title}
1600
- </a>
1601
- </li>
1602
- `
1603
- )}
1604
- </ul>
1605
- </div>
1606
-
1607
- <div
1608
- id="selected-params"
1609
- class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1610
- >
1611
- ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1612
- </div>
1613
- </div>
1614
-
1615
- ${!this.dialog ? html`
1616
- <div class="footer">
1617
- ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? html`
1618
- <div
1619
- style="display: flex; align-items: center; gap: 8px;"
1620
- >
1621
- <terra-dropdown
1622
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1623
- >
1624
- <terra-button slot="trigger" caret>
1625
- Download Options
1626
- </terra-button>
1627
- <terra-menu>
1628
- <terra-menu-item value="file-list">
1629
- <svg
1630
- slot="prefix"
1631
- viewBox="0 0 24 24"
1632
- width="16"
1633
- height="16"
1634
- style="width: 16px; height: 16px;"
1635
- >
1636
- <path
1637
- fill="currentColor"
1638
- 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"
1639
- />
1640
- </svg>
1641
- File List
1642
- </terra-menu-item>
1643
- <terra-menu-item
1644
- value="python-script"
1645
- >
1646
- <svg
1647
- slot="prefix"
1648
- viewBox="0 0 128 128"
1649
- width="16"
1650
- height="16"
1651
- style="width: 16px; height: 16px;"
1652
- >
1653
- <path
1654
- fill="currentColor"
1655
- 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"
1656
- ></path>
1657
- </svg>
1658
- Python Script
1659
- </terra-menu-item>
1660
- <terra-menu-item
1661
- value="earthdata-download"
1662
- >
1663
- <svg
1664
- slot="prefix"
1665
- viewBox="0 0 64 64"
1666
- fill="none"
1667
- width="16"
1668
- height="16"
1669
- style="width: 16px; height: 16px;"
1670
- >
1671
- <circle
1672
- cx="32"
1673
- cy="32"
1674
- r="28"
1675
- fill="currentColor"
1676
- />
1677
- <path
1678
- d="M32 14v26M32 40l-9-9M32 40l9-9"
1679
- stroke="#fff"
1680
- stroke-width="4"
1681
- stroke-linecap="round"
1682
- stroke-linejoin="round"
1683
- fill="none"
1684
- />
1685
- </svg>
1686
- Earthdata Download
1687
- </terra-menu-item>
1688
- </terra-menu>
1689
- </terra-dropdown>
1690
-
1691
- <!--
1692
- <terra-button
1693
- outline
1694
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1695
- >
1696
- <terra-icon
1697
- name="outline-code-bracket"
1698
- library="heroicons"
1699
- font-size="1.5em"
1700
- style="margin-right: 5px;"
1701
- ></terra-icon>
1702
- Open in Jupyter Notebook
1703
- </terra-button>
1704
- --></div>
1705
- ` : nothing}
1706
- ${this.controller.currentJob.status === "running" ? html`<button
1707
- class="btn btn-success"
1708
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1709
- ?disabled=${this.cancelingGetData}
1710
- >
1711
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1712
- </button>` : nothing}
1713
-
1714
- <div class="job-info">
1715
- Job ID:
1716
- <span class="job-id">
1717
- ${this.bearerToken ? html`<a
1718
- href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
1719
- target="_blank"
1720
- >${this.controller.currentJob.jobID}</a
1721
- >` : this.controller.currentJob.jobID}
1722
- </span>
1723
- <span class="info-icon">?</span>
1724
- </div>
1725
- </div>
1726
- ` : nothing}
1727
- `;
1728
- };
1729
- _renderSelectedParams = new WeakSet();
1730
- renderSelectedParams_fn = function() {
1731
- var _a, _b;
1732
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1733
- const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1734
- const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1735
- let spatial = "\u2014";
1736
- if (this.spatialSelection) {
1737
- if ("w" in this.spatialSelection) {
1738
- spatial = `Bounding Box: ${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1739
- } else if ("lat" in this.spatialSelection && "lng" in this.spatialSelection) {
1740
- spatial = `Point: ${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1741
- }
1742
- }
1743
- return html`
1744
- <dl class="params-summary">
1745
- <div>
1746
- <dt><strong>Dataset</strong></dt>
1747
- <dd>${(_b = collection == null ? void 0 : collection.EntryTitle) != null ? _b : "\u2014"}</dd>
1748
- </div>
1749
- <div>
1750
- <dt><strong>Variables</strong></dt>
1751
- <dd>${variables.map((v) => html`<div>${v}</div>`)}</dd>
1752
- </div>
1753
- <div>
1754
- <dt><strong>Date Range</strong></dt>
1755
- <dd>${dateRange}</dd>
1756
- </div>
1757
- <div>
1758
- <dt><strong>Spatial</strong></dt>
1759
- <dd>${spatial}</dd>
1760
- </div>
1761
- </dl>
1762
-
1763
- <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1764
- >Refine Parameters</terra-button
1765
- >
1766
- `;
1767
- };
1768
- _cancelJob = new WeakSet();
1769
- cancelJob_fn = function() {
1770
- this.cancelingGetData = true;
1771
- this.controller.cancelCurrentJob();
1772
- };
1773
- _getData = new WeakSet();
1774
- getData_fn = function() {
1775
- const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1776
- if (validationError) {
1777
- this.validationError = validationError;
1778
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1779
- return;
1780
- }
1781
- this.validationError = void 0;
1782
- this.cancelingGetData = false;
1783
- __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
1784
- this.controller.cancelCurrentJob();
1785
- this.controller.currentJob = null;
1786
- this.jobId = void 0;
1787
- this.controller.jobStatusTask.run().then(() => {
1788
- var _a;
1789
- if ((_a = this.controller.currentJob) == null ? void 0 : _a.jobID) {
1790
- this.jobId = this.controller.currentJob.jobID;
1791
- }
1792
- });
1793
- setTimeout(() => {
1794
- const el = this.renderRoot.querySelector("#job-status-section");
1795
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1796
- }, 100);
1797
- this.refineParameters = false;
1798
- this.isHistoryView = false;
1799
- };
1800
- _touchAllFields = new WeakSet();
1801
- touchAllFields_fn = function() {
1802
- this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
1803
- };
1804
- _numberOfFilesFoundEstimate = new WeakSet();
1805
- numberOfFilesFoundEstimate_fn = function() {
1806
- return Math.floor(
1807
- this.controller.currentJob.numInputGranules * this.controller.currentJob.progress / 100
1808
- );
1809
- };
1810
- _getDocumentationLinks = new WeakSet();
1811
- getDocumentationLinks_fn = function() {
1812
- return this.controller.currentJob.links.filter(
1813
- (link) => link.rel === "stac-catalog-json"
1814
- );
1815
- };
1816
- _getDataLinks = new WeakSet();
1817
- getDataLinks_fn = function() {
1818
- return this.controller.currentJob.links.filter((link) => link.rel === "data");
1819
- };
1820
- _hasAtLeastOneSubsetOption = new WeakSet();
1821
- hasAtLeastOneSubsetOption_fn = function() {
1822
- var _a, _b, _c, _d;
1823
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset) || ((_c = this.collectionWithServices) == null ? void 0 : _c.variableSubset) || ((_d = this.collectionWithServices) == null ? void 0 : _d.temporalSubset);
1824
- };
1825
- _hasSpatialSubset = new WeakSet();
1826
- hasSpatialSubset_fn = function() {
1827
- var _a, _b;
1828
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset);
1829
- };
1830
- _renderJobMessage = new WeakSet();
1831
- renderJobMessage_fn = function() {
1832
- const warningStatuses = [
1833
- "canceled" /* CANCELED */,
1834
- "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
1835
- "running_with_errors" /* RUNNING_WITH_ERRORS */
1836
- ];
1837
- const errorStatuses = ["failed" /* FAILED */];
1838
- let type = "normal";
1839
- if (warningStatuses.includes(this.controller.currentJob.status)) {
1840
- type = "warning";
1841
- } else if (errorStatuses.includes(this.controller.currentJob.status)) {
1842
- type = "error";
1843
- }
1844
- let color, bg;
1845
- if (type === "error") {
1846
- color = "#dc3545";
1847
- bg = "#f8d7da";
1848
- } else if (type === "warning") {
1849
- color = "#856404";
1850
- bg = "#fff3cd";
1851
- } else {
1852
- color = "#555";
1853
- bg = "#f8f9fa";
1854
- }
1855
- return html`
1856
- <div
1857
- style="
1858
- margin: 24px 0 16px 0;
1859
- padding: 16px 20px;
1860
- border-radius: 6px;
1861
- background: ${bg};
1862
- color: ${color};
1863
- border: 1px solid ${color}22;
1864
- "
1865
- >
1866
- ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
1867
- </div>
1868
- `;
1869
- };
1870
- _getJobMessageText = new WeakSet();
1871
- getJobMessageText_fn = function() {
1872
- var _a;
1873
- return (_a = this.controller.currentJob) == null ? void 0 : _a.message.replace(
1874
- /\b(The job|the job|job|Job)\b/g,
1875
- (match) => {
1876
- switch (match) {
1877
- case "The job":
1878
- return "Your request";
1879
- case "the job":
1880
- return "Your Request";
1881
- case "job":
1882
- return "request";
1883
- case "Job":
1884
- return "Request";
1885
- }
1886
- return match;
1887
- }
1888
- );
1889
- };
1890
- _estimateJobSize = new WeakSet();
1891
- estimateJobSize_fn = function() {
1892
- var _a, _b, _c, _d;
1893
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1894
- if (!collection)
1895
- return;
1896
- const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1897
- let startDate;
1898
- let endDate;
1899
- let links = (_b = collection.granuleCount) != null ? _b : 0;
1900
- if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
1901
- startDate = this.selectedDateRange.startDate;
1902
- endDate = this.selectedDateRange.endDate;
1903
- } else {
1904
- startDate = (_c = this.granuleMinDate) != null ? _c : range.startDate;
1905
- endDate = (_d = this.granuleMaxDate) != null ? _d : range.endDate;
1906
- }
1907
- if (!startDate || !endDate)
1908
- return;
1909
- const start = new Date(startDate);
1910
- const end = new Date(endDate);
1911
- const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
1912
- if (range.startDate && range.endDate) {
1913
- const availableDaysInCollection = Math.floor(
1914
- (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
1915
- ) + 1;
1916
- const granulesPerDay = links / availableDaysInCollection;
1917
- links = Math.ceil(days * granulesPerDay);
1918
- }
1919
- return { days, links };
1920
- };
1921
- _refineParameters = new WeakSet();
1922
- refineParameters_fn = function() {
1923
- this.refineParameters = true;
1924
- };
1925
- _backToSubsetOptions = new WeakSet();
1926
- backToSubsetOptions_fn = function() {
1927
- this.refineParameters = true;
1928
- setTimeout(() => {
1929
- const container = this.renderRoot.querySelector(".container");
1930
- container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
1931
- }, 100);
1932
- };
1933
- _viewRunningJob = new WeakSet();
1934
- viewRunningJob_fn = function() {
1935
- this.refineParameters = false;
1936
- setTimeout(() => {
1937
- const el = this.renderRoot.querySelector("#job-status-section");
1938
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1939
- }, 100);
1940
- };
1941
- _handleDownloadSelect = new WeakSet();
1942
- handleDownloadSelect_fn = function(event) {
1943
- const item = event.detail.item;
1944
- const value = item.value || item.getTextLabel();
1945
- if (value === "file-list") {
1946
- __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
1947
- } else if (value === "python-script") {
1948
- __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
1949
- } else if (value === "earthdata-download") {
1950
- __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
1951
- }
1952
- };
1953
- _downloadLinksAsTxt = new WeakSet();
1954
- downloadLinksAsTxt_fn = function(event) {
1955
- var _a;
1956
- event.stopPropagation();
1957
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1958
- return;
1959
- }
1960
- const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
1961
- if (dataLinks.length === 0) {
1962
- return;
1963
- }
1964
- const content = dataLinks.map((link) => link.href).join("\n");
1965
- const blob = new Blob([content], { type: "text/plain" });
1966
- const url = URL.createObjectURL(blob);
1967
- const a = document.createElement("a");
1968
- a.href = url;
1969
- a.download = `subset_links_${this.controller.currentJob.jobID}.txt`;
1970
- document.body.appendChild(a);
1971
- a.click();
1972
- document.body.removeChild(a);
1973
- URL.revokeObjectURL(url);
1974
- };
1975
- _downloadPythonScript = new WeakSet();
1976
- downloadPythonScript_fn = async function(event) {
1977
- var _a, _b, _c;
1978
- event.stopPropagation();
1979
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1980
- return;
1981
- }
1982
- const response = await fetch(
1983
- getBasePath("assets/data-subsetter/download_subset_files.py.txt")
1984
- );
1985
- if (!response.ok) {
1986
- alert(
1987
- "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
1988
- );
1989
- }
1990
- const content = (await response.text()).replace(/{{jobId}}/gi, this.controller.currentJob.jobID).replace(
1991
- /{{HARMONY_ENV}}/gi,
1992
- `Environment.${(_b = this.environment) == null ? void 0 : _b.toUpperCase()}`
1993
- ).replace(
1994
- /{{EARTHACCESS_ENV}}/gi,
1995
- `earthaccess.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
1996
- );
1997
- const blob = new Blob([content], { type: "text/plain" });
1998
- const url = URL.createObjectURL(blob);
1999
- const a = document.createElement("a");
2000
- a.href = url;
2001
- a.download = `download_subset_files_${this.controller.currentJob.jobID}.py`;
2002
- document.body.appendChild(a);
2003
- a.click();
2004
- document.body.removeChild(a);
2005
- URL.revokeObjectURL(url);
2006
- };
2007
- _downloadEarthdataDownload = new WeakSet();
2008
- downloadEarthdataDownload_fn = async function(event) {
2009
- var _a;
2010
- event.stopPropagation();
2011
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
2012
- return;
2013
- }
2014
- alert("Sorry, Earthdata Download is not currently supported");
2015
- };
2016
- _handleJupyterNotebookClick = new WeakSet();
2017
- handleJupyterNotebookClick_fn = function() {
2018
- var _a;
2019
- const notebook = getNotebook(this);
2020
- console.log("sending data to JupyterLite");
2021
- sendDataToJupyterNotebook("load-notebook", {
2022
- filename: `subset_${(_a = this.controller.currentJob) == null ? void 0 : _a.jobID}.ipynb`,
2023
- notebook,
2024
- bearerToken: this.bearerToken
2025
- });
2026
- };
2027
- _renderAvailableTemporalRangeSection = new WeakSet();
2028
- renderAvailableTemporalRangeSection_fn = function() {
2029
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2030
- if (!startDate || !endDate)
2031
- return nothing;
2032
- return html`
2033
- <div class="section" style="margin-bottom: 16px;">
2034
- <h2 class="section-title">Available Date Range</h2>
2035
- <div style="color: #31708f; margin-top: 8px;">
2036
- <strong>${startDate}</strong> to <strong>${endDate}</strong>
2037
- </div>
2038
- <div style="font-size: 0.95em; color: #666;">
2039
- This collection does not support temporal subsetting.
2040
- </div>
2041
- </div>
2042
- `;
2043
- };
2044
- _renderAvailableSpatialRangeSection = new WeakSet();
2045
- renderAvailableSpatialRangeSection_fn = function() {
2046
- var _a, _b, _c, _d, _e;
2047
- 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;
2048
- if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
2049
- return nothing;
2050
- return html`
2051
- <div class="section" style="margin-bottom: 16px;">
2052
- <h2 class="section-title">Available Spatial Area</h2>
2053
- <div style="color: #31708f; margin-top: 8px;">
2054
- ${boundingRects.map(
2055
- (rect) => html`<div>
2056
- <strong>Bounding Box:</strong>
2057
- ${rect.WestBoundingCoordinate},
2058
- ${rect.SouthBoundingCoordinate},
2059
- ${rect.EastBoundingCoordinate},
2060
- ${rect.NorthBoundingCoordinate}
2061
- </div>`
2062
- )}
2063
- </div>
2064
- <div style="font-size: 0.95em; color: #666;">
2065
- This collection does not support spatial subsetting.
2066
- </div>
2067
- </div>
2068
- `;
2069
- };
2070
- _renderDataAccessModeSelection = new WeakSet();
2071
- renderDataAccessModeSelection_fn = function() {
2072
- if (!this.controller.hasGranules) {
2073
- return nothing;
2074
- }
2075
- return html`
2076
- <div class="mode-selection">
2077
- <div class="mode-options">
2078
- <label
2079
- class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
2080
- >
2081
- <input
2082
- type="radio"
2083
- name="data-access-mode"
2084
- value="original"
2085
- .checked=${this.dataAccessMode === "original"}
2086
- @change=${() => this.dataAccessMode = "original"}
2087
- />
2088
- <div class="mode-content">
2089
- <div class="mode-title">Get Original Files</div>
2090
- <div class="mode-description">
2091
- Filter file links directly from the archive.
2092
- </div>
2093
- </div>
2094
- </label>
2095
-
2096
- <label
2097
- class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2098
- >
2099
- <input
2100
- type="radio"
2101
- name="data-access-mode"
2102
- value="subset"
2103
- .checked=${this.dataAccessMode === "subset"}
2104
- @change=${() => this.dataAccessMode = "subset"}
2105
- />
2106
- <div class="mode-content">
2107
- <div class="mode-title">Subset Data</div>
2108
- <div class="mode-description">
2109
- Subset the data to your specific needs.
2110
- </div>
2111
- </div>
2112
- </label>
2113
- </div>
2114
- </div>
2115
- `;
2116
- };
2117
- _isGiovanniFormat = new WeakSet();
2118
- isGiovanniFormat_fn = function() {
2119
- return this.selectedFormat === "text/csv" || this.selectedFormat === "image/tiff";
2120
- };
2121
- _getGiovanniValidationError = new WeakSet();
2122
- getGiovanniValidationError_fn = function() {
2123
- if (!__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
2124
- return null;
2125
- }
2126
- if (this.selectedVariables.length === 0) {
2127
- return "Please select a variable to subset.";
2128
- }
2129
- if (this.selectedVariables.length > 1) {
2130
- return "The selected format only supports subsetting one variable at a time.";
2131
- }
2132
- return null;
2133
- };
2134
- TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2135
- TerraDataSubsetter.dependencies = {
2136
- "terra-accordion": TerraAccordion,
2137
- "terra-date-picker": TerraDatePicker,
2138
- "terra-icon": TerraIcon,
2139
- "terra-input": TerraInput,
2140
- "terra-spatial-picker": TerraSpatialPicker,
2141
- "terra-login": TerraLogin,
2142
- "terra-loader": TerraLoader,
2143
- "terra-data-access": TerraDataAccess,
2144
- "terra-dialog": TerraDialog,
2145
- "terra-dropdown": TerraDropdown,
2146
- "terra-menu": TerraMenu,
2147
- "terra-menu-item": TerraMenuItem,
2148
- "terra-button": TerraButton,
2149
- "terra-alert": TerraAlert
2150
- };
2151
- __decorateClass([
2152
- property({ reflect: true, attribute: "collection-entry-id" })
2153
- ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2154
- __decorateClass([
2155
- property({ reflect: true, attribute: "short-name" })
2156
- ], TerraDataSubsetter.prototype, "shortName", 2);
2157
- __decorateClass([
2158
- property({ reflect: true, attribute: "version" })
2159
- ], TerraDataSubsetter.prototype, "version", 2);
2160
- __decorateClass([
2161
- property({ reflect: true, type: Boolean, attribute: "show-collection-search" })
2162
- ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2163
- __decorateClass([
2164
- property({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2165
- ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2166
- __decorateClass([
2167
- property({ reflect: true, attribute: "job-id" })
2168
- ], TerraDataSubsetter.prototype, "jobId", 2);
2169
- __decorateClass([
2170
- property({ attribute: "bearer-token" })
2171
- ], TerraDataSubsetter.prototype, "bearerToken", 2);
2172
- __decorateClass([
2173
- property({ reflect: true })
2174
- ], TerraDataSubsetter.prototype, "dialog", 2);
2175
- __decorateClass([
2176
- property({ reflect: true, type: Boolean, attribute: "is-history-view" })
2177
- ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2178
- __decorateClass([
2179
- state()
2180
- ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2181
- __decorateClass([
2182
- state()
2183
- ], TerraDataSubsetter.prototype, "variableDetails", 2);
2184
- __decorateClass([
2185
- state()
2186
- ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2187
- __decorateClass([
2188
- state()
2189
- ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2190
- __decorateClass([
2191
- state()
2192
- ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2193
- __decorateClass([
2194
- state()
2195
- ], TerraDataSubsetter.prototype, "touchedFields", 2);
2196
- __decorateClass([
2197
- state()
2198
- ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2199
- __decorateClass([
2200
- state()
2201
- ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2202
- __decorateClass([
2203
- state()
2204
- ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2205
- __decorateClass([
2206
- state()
2207
- ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2208
- __decorateClass([
2209
- state()
2210
- ], TerraDataSubsetter.prototype, "selectedTab", 2);
2211
- __decorateClass([
2212
- state()
2213
- ], TerraDataSubsetter.prototype, "refineParameters", 2);
2214
- __decorateClass([
2215
- state()
2216
- ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2217
- __decorateClass([
2218
- state()
2219
- ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2220
- __decorateClass([
2221
- state()
2222
- ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2223
- __decorateClass([
2224
- state()
2225
- ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2226
- __decorateClass([
2227
- state()
2228
- ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2229
- __decorateClass([
2230
- state()
2231
- ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2232
- __decorateClass([
2233
- state()
2234
- ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2235
- __decorateClass([
2236
- state()
2237
- ], TerraDataSubsetter.prototype, "validationError", 2);
2238
- __decorateClass([
2239
- state()
2240
- ], TerraDataSubsetter.prototype, "granuleMinDate", 2);
2241
- __decorateClass([
2242
- state()
2243
- ], TerraDataSubsetter.prototype, "granuleMaxDate", 2);
2244
- __decorateClass([
2245
- state()
2246
- ], TerraDataSubsetter.prototype, "giovanniConfiguredVariables", 2);
2247
- __decorateClass([
2248
- query('[part~="spatial-picker"]')
2249
- ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2250
- __decorateClass([
2251
- query("terra-dialog")
2252
- ], TerraDataSubsetter.prototype, "dialogElement", 2);
2253
- __decorateClass([
2254
- watch(["jobId"], { waitUntilFirstUpdate: true })
2255
- ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2256
- __decorateClass([
2257
- watch(["shortName", "version"])
2258
- ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2259
- __decorateClass([
2260
- watch("collectionEntryId", { waitUntilFirstUpdate: true })
2261
- ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2262
- __decorateClass([
2263
- watch(["collectionWithServices"])
2264
- ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2265
- __decorateClass([
2266
- watch(["granuleMinDate", "granuleMaxDate"])
2267
- ], TerraDataSubsetter.prototype, "granuleDatesChanged", 1);
2268
- __decorateClass([
2269
- watch("selectedFormat")
2270
- ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2271
- __decorateClass([
2272
- debounce(500)
2273
- ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2274
-
2275
- export {
2276
- TerraDataSubsetter
2277
- };