@nasa-terra/components 0.0.171 → 0.0.173

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 (1269) hide show
  1. package/cdn/chunks/chunk.22JAM2GR.js +149 -0
  2. package/cdn/chunks/chunk.24OQ3U5Z.js +78 -0
  3. package/cdn/chunks/chunk.2EMPB3LW.js +32 -0
  4. package/cdn/chunks/chunk.2QGWAQJN.js +60 -0
  5. package/cdn/chunks/chunk.2WSE4WVS.js +29 -0
  6. package/cdn/chunks/chunk.3CZEYNCY.js +904 -0
  7. package/cdn/chunks/chunk.3HQLWECM.js +29 -0
  8. package/cdn/chunks/chunk.3JEMFKES.js +33 -0
  9. package/cdn/chunks/chunk.3UQERGOR.js +29 -0
  10. package/cdn/chunks/chunk.3X2FJVEK.js +99 -0
  11. package/cdn/chunks/chunk.4ALIIVCJ.js +83 -0
  12. package/cdn/chunks/chunk.4EOFZSCU.js +1220 -0
  13. package/cdn/chunks/chunk.4HB34IXR.js +113 -0
  14. package/cdn/chunks/chunk.4JC5MYYJ.js +19 -0
  15. package/cdn/chunks/chunk.4L3USJ7V.js +534 -0
  16. package/cdn/chunks/chunk.4LU3KPCC.js +99 -0
  17. package/cdn/chunks/chunk.5EGW6TYF.js +19 -0
  18. package/cdn/chunks/chunk.5EQCDBI5.js +19 -0
  19. package/cdn/chunks/chunk.5QNDTK5C.js +359 -0
  20. package/cdn/chunks/chunk.5T4HKCSZ.js +599 -0
  21. package/cdn/chunks/chunk.5TZHMOT6.js +19 -0
  22. package/cdn/chunks/chunk.5VEXUMPS.js +19 -0
  23. package/cdn/chunks/chunk.5X6UVUGO.js +35 -0
  24. package/cdn/chunks/chunk.5X7RGYH5.js +32 -0
  25. package/cdn/chunks/chunk.6A4AJL6I.js +493 -0
  26. package/cdn/chunks/chunk.6UPWJJ2H.js +37 -0
  27. package/cdn/chunks/chunk.6VKKERLY.js +29 -0
  28. package/cdn/chunks/chunk.6ZB5UDLH.js +32 -0
  29. package/cdn/chunks/chunk.77VJOBXN.js +99 -0
  30. package/cdn/chunks/chunk.7AIWYMSZ.js +33 -0
  31. package/cdn/chunks/chunk.7EWNP3RB.js +29 -0
  32. package/cdn/chunks/chunk.7F5GSKQM.js +662 -0
  33. package/cdn/chunks/chunk.7FHHLKG6.js +29 -0
  34. package/cdn/chunks/chunk.7GX73K7N.js +2332 -0
  35. package/cdn/chunks/chunk.7ICSIANV.js +32 -0
  36. package/cdn/chunks/chunk.7RRJB53A.js +19 -0
  37. package/cdn/chunks/chunk.7ZMAPG7T.js +621 -0
  38. package/cdn/chunks/chunk.AD6X2QDQ.js +19 -0
  39. package/cdn/chunks/chunk.AHC4D5WX.js +62 -0
  40. package/cdn/chunks/chunk.ALPGOTDF.js +29 -0
  41. package/cdn/chunks/chunk.AM4Z34M4.js +19 -0
  42. package/cdn/chunks/chunk.AUIY7R6I.js +19 -0
  43. package/cdn/chunks/chunk.AW74RV3M.js +538 -0
  44. package/cdn/chunks/chunk.B5GLZH36.js +36 -0
  45. package/cdn/chunks/chunk.BE6HWR6X.js +29 -0
  46. package/cdn/chunks/chunk.BFQEE74Y.js +29 -0
  47. package/cdn/chunks/chunk.BN3PBA2B.js +71 -0
  48. package/cdn/chunks/chunk.BO6TADCP.js +19 -0
  49. package/cdn/chunks/chunk.BPHO2VWY.js +231 -0
  50. package/cdn/chunks/chunk.CKILXR3B.js +19 -0
  51. package/cdn/chunks/chunk.CY32PXBP.js +2243 -0
  52. package/cdn/chunks/chunk.DLQNZ2FX.js +201 -0
  53. package/cdn/chunks/chunk.DSLKDLXO.js +19 -0
  54. package/cdn/chunks/chunk.DYFH5JEO.js +19 -0
  55. package/cdn/chunks/chunk.DYKLRO6T.js +35 -0
  56. package/cdn/chunks/chunk.E3S6VMGP.js +19 -0
  57. package/cdn/chunks/chunk.E66SUBT2.js +239 -0
  58. package/cdn/chunks/chunk.EBUYGPEO.js +19 -0
  59. package/cdn/chunks/chunk.EQNTIAGK.js +276 -0
  60. package/cdn/chunks/chunk.ES6LHVLZ.js +19 -0
  61. package/cdn/chunks/chunk.EVC2CEFV.js +19 -0
  62. package/cdn/chunks/chunk.EZWUKXVV.js +19 -0
  63. package/cdn/chunks/chunk.FC3AWXRS.js +155 -0
  64. package/cdn/chunks/chunk.FLOGSDAN.js +19 -0
  65. package/cdn/chunks/chunk.FPTZZYCQ.js +224 -0
  66. package/cdn/chunks/chunk.FRALPL3Q.js +293 -0
  67. package/cdn/chunks/chunk.FU7IAQIE.js +68 -0
  68. package/cdn/chunks/chunk.FZV4OMYG.js +288 -0
  69. package/cdn/chunks/chunk.G2BTQOI4.js +19 -0
  70. package/cdn/chunks/chunk.G36TYQOW.js +29 -0
  71. package/cdn/chunks/chunk.G4B744X5.js +19 -0
  72. package/cdn/chunks/chunk.G7MEGQNN.js +19 -0
  73. package/cdn/chunks/chunk.G7OQ4UBX.js +19 -0
  74. package/cdn/chunks/chunk.GE3CTCQG.js +33 -0
  75. package/cdn/chunks/chunk.GIIHXR4P.js +19 -0
  76. package/cdn/chunks/chunk.GNZVPN27.js +36 -0
  77. package/cdn/chunks/chunk.GYVP3NOI.js +1966 -0
  78. package/cdn/chunks/chunk.GZTBKCUK.js +19 -0
  79. package/cdn/chunks/chunk.HBGW5SQC.js +19 -0
  80. package/cdn/chunks/chunk.HJAU5PN5.js +29 -0
  81. package/cdn/chunks/chunk.HP6UV3RE.js +32 -0
  82. package/cdn/chunks/chunk.HSIYR3FC.js +19 -0
  83. package/cdn/chunks/chunk.I2UYPPHL.js +264 -0
  84. package/cdn/chunks/chunk.I47ZAQQN.js +19 -0
  85. package/cdn/chunks/chunk.I4S4YXM5.js +29 -0
  86. package/cdn/chunks/chunk.I4T4MXJJ.js +92 -0
  87. package/cdn/chunks/chunk.I4T7Z53M.js +19 -0
  88. package/cdn/chunks/chunk.I66FHP4Y.js +29 -0
  89. package/cdn/chunks/chunk.IN56UYZQ.js +29 -0
  90. package/cdn/chunks/chunk.IQN4B7Y7.js +19 -0
  91. package/cdn/chunks/chunk.ISAHQUKK.js +35 -0
  92. package/cdn/chunks/chunk.ITCNMUXT.js +56 -0
  93. package/cdn/chunks/chunk.J7I3DOXG.js +272 -0
  94. package/cdn/chunks/chunk.JFNG2LKN.js +19 -0
  95. package/cdn/chunks/chunk.JNRKAHDP.js +29 -0
  96. package/cdn/chunks/chunk.JOJEZOCB.js +19 -0
  97. package/cdn/chunks/chunk.K3QRL5Y6.js +190 -0
  98. package/cdn/chunks/chunk.K4A2NEU3.js +136 -0
  99. package/cdn/chunks/chunk.KA3H7JGW.js +1025 -0
  100. package/cdn/chunks/chunk.KCZYTXMI.js +39 -0
  101. package/cdn/chunks/chunk.KHWCHARR.js +19 -0
  102. package/cdn/chunks/chunk.KO6SLJFY.js +123 -0
  103. package/cdn/chunks/chunk.KQSHHYSQ.js +19 -0
  104. package/cdn/chunks/chunk.KU7DMHGO.js +151 -0
  105. package/cdn/chunks/chunk.L3GNI6LM.js +19 -0
  106. package/cdn/chunks/chunk.L3QWU3UW.js +29 -0
  107. package/cdn/chunks/chunk.LIKPLLCC.js +107 -0
  108. package/cdn/chunks/chunk.LRT2XG3L.js +616 -0
  109. package/cdn/chunks/chunk.LSYPQ7PW.js +32 -0
  110. package/cdn/chunks/chunk.LTDOAGWI.js +104 -0
  111. package/cdn/chunks/chunk.LYWYTMHK.js +234 -0
  112. package/cdn/chunks/chunk.LZOHYBPS.js +19 -0
  113. package/cdn/chunks/chunk.LZZ25OTP.js +32 -0
  114. package/cdn/chunks/chunk.M3TUVN5Y.js +238 -0
  115. package/cdn/chunks/chunk.M6P6WDUR.js +32 -0
  116. package/cdn/chunks/chunk.MIKGSP7L.js +74 -0
  117. package/cdn/chunks/chunk.MILFV3KV.js +435 -0
  118. package/cdn/chunks/chunk.MQD7Z7N3.js +230 -0
  119. package/cdn/chunks/chunk.MVNXBNGE.js +372 -0
  120. package/cdn/chunks/chunk.MXIIRHCA.js +134 -0
  121. package/cdn/chunks/chunk.NGC2G3XI.js +36 -0
  122. package/cdn/chunks/chunk.NMYRPCZA.js +33 -0
  123. package/cdn/chunks/chunk.NPOBS2JX.js +19 -0
  124. package/cdn/chunks/chunk.NV36A5Z6.js +19 -0
  125. package/cdn/chunks/chunk.O74TYRUF.js +32 -0
  126. package/cdn/chunks/chunk.OAOCKV6H.js +60 -0
  127. package/cdn/chunks/chunk.OBI6ZI34.js +35 -0
  128. package/cdn/chunks/chunk.OE6XHIPX.js +19 -0
  129. package/cdn/chunks/chunk.OHQA5DPR.js +165 -0
  130. package/cdn/chunks/chunk.OQ4GD3XR.js +39 -0
  131. package/cdn/chunks/chunk.OQAA7OWT.js +302 -0
  132. package/cdn/chunks/chunk.ORJ6A53B.js +49 -0
  133. package/cdn/chunks/chunk.P4OWV3H2.js +412 -0
  134. package/cdn/chunks/chunk.PEPJCBYF.js +524 -0
  135. package/cdn/chunks/chunk.Q67OTTO2.js +145 -0
  136. package/cdn/chunks/chunk.QB3T7EJ4.js +19 -0
  137. package/cdn/chunks/chunk.QGTUAQAZ.js +19 -0
  138. package/cdn/chunks/chunk.QGVWP6VG.js +610 -0
  139. package/cdn/chunks/chunk.QKYO7WPQ.js +55346 -0
  140. package/cdn/chunks/chunk.QMBFLUKN.js +731 -0
  141. package/cdn/chunks/chunk.QPDPH7NW.js +29 -0
  142. package/cdn/chunks/chunk.QTE3KUQ6.js +19 -0
  143. package/cdn/chunks/chunk.QTQPTVMW.js +32 -0
  144. package/cdn/chunks/chunk.QV3ZCV3M.js +132 -0
  145. package/cdn/chunks/chunk.QWJMHXVY.js +19 -0
  146. package/cdn/chunks/chunk.QYHVVT4H.js +29 -0
  147. package/cdn/chunks/chunk.R4MB4WYH.js +32 -0
  148. package/cdn/chunks/chunk.RDME4J6Q.js +29 -0
  149. package/cdn/chunks/chunk.RE3Z4A4F.js +19 -0
  150. package/cdn/chunks/chunk.RLCMUUAK.js +19 -0
  151. package/cdn/chunks/chunk.RMUPWRTZ.js +19 -0
  152. package/cdn/chunks/chunk.RP2SMXHU.js +34 -0
  153. package/cdn/chunks/chunk.RSZSP46A.js +19 -0
  154. package/cdn/chunks/chunk.RUZCRHU3.js +29 -0
  155. package/cdn/chunks/chunk.S3H4TLGW.js +29 -0
  156. package/cdn/chunks/chunk.SBHDH5CL.js +188 -0
  157. package/cdn/chunks/chunk.SDKXYMAS.js +19 -0
  158. package/cdn/chunks/chunk.SNYW5TXG.js +19 -0
  159. package/cdn/chunks/chunk.SOWG5O4K.js +29 -0
  160. package/cdn/chunks/chunk.SSGBTE4V.js +93 -0
  161. package/cdn/chunks/chunk.STMD4U7K.js +29 -0
  162. package/cdn/chunks/chunk.SVMVRTXH.js +19 -0
  163. package/cdn/chunks/chunk.T4TZVWGQ.js +19 -0
  164. package/cdn/chunks/chunk.TANHGTQ7.js +99 -0
  165. package/cdn/chunks/chunk.TF5WXJIH.js +791 -0
  166. package/cdn/chunks/chunk.TJNRJLBI.js +29 -0
  167. package/cdn/chunks/chunk.TLGXE7WV.js +52 -0
  168. package/cdn/chunks/chunk.TPAETHPF.js +19 -0
  169. package/cdn/chunks/chunk.TQSOW7QR.js +37 -0
  170. package/cdn/chunks/chunk.TZ2WH25G.js +19 -0
  171. package/cdn/chunks/chunk.U3CPUAJE.js +19 -0
  172. package/cdn/chunks/chunk.U526HMEQ.js +106 -0
  173. package/cdn/chunks/chunk.U6QPPQHL.js +19 -0
  174. package/cdn/chunks/chunk.U6SF42PX.js +189 -0
  175. package/cdn/chunks/chunk.UCISI3ZS.js +33858 -0
  176. package/cdn/chunks/chunk.UEKK5TEZ.js +32 -0
  177. package/cdn/chunks/chunk.UIJH7DPY.js +33 -0
  178. package/cdn/chunks/chunk.UR4UTWS4.js +259 -0
  179. package/cdn/chunks/chunk.UU42GYUM.js +47 -0
  180. package/cdn/chunks/chunk.UVXY67XF.js +34 -0
  181. package/cdn/chunks/chunk.UWTJE5D4.js +19 -0
  182. package/cdn/chunks/chunk.UZ3KFAXP.js +32 -0
  183. package/cdn/chunks/chunk.V7L3VTZE.js +19 -0
  184. package/cdn/chunks/chunk.VCHCYTYY.js +30 -0
  185. package/cdn/chunks/chunk.VQDXXFBL.js +36 -0
  186. package/cdn/chunks/chunk.VX5246B7.js +29 -0
  187. package/cdn/chunks/chunk.VZA7APUB.js +41 -0
  188. package/cdn/chunks/chunk.WCG6WGZ5.js +29 -0
  189. package/cdn/chunks/chunk.WIVXANPA.js +1056 -0
  190. package/cdn/chunks/chunk.X6OBGADR.js +287 -0
  191. package/cdn/chunks/chunk.XBA57JZY.js +357 -0
  192. package/cdn/chunks/chunk.XDTTOAJ6.js +158 -0
  193. package/cdn/chunks/chunk.XEKIF2VZ.js +19 -0
  194. package/cdn/chunks/chunk.XI64QDOY.js +19 -0
  195. package/cdn/chunks/chunk.XL6577SH.js +32 -0
  196. package/cdn/chunks/chunk.XWEQGNWE.js +278 -0
  197. package/cdn/chunks/chunk.XWR4HUTF.js +86 -0
  198. package/cdn/chunks/chunk.YEMVOBEF.js +83 -0
  199. package/cdn/chunks/chunk.YGGYFPT5.js +19 -0
  200. package/cdn/chunks/chunk.YQUKMT7J.js +29 -0
  201. package/cdn/chunks/chunk.YRKRXSPK.js +19 -0
  202. package/cdn/chunks/chunk.YUB4JXQX.js +29 -0
  203. package/cdn/chunks/chunk.YY5IIXF7.js +29 -0
  204. package/cdn/chunks/chunk.ZE67XCUB.js +29 -0
  205. package/cdn/chunks/chunk.ZNGF37XN.js +477 -0
  206. package/cdn/components/accordion/accordion.component.js +3 -3
  207. package/cdn/components/accordion/accordion.js +4 -4
  208. package/cdn/components/alert/alert.component.js +2 -2
  209. package/cdn/components/alert/alert.js +3 -3
  210. package/cdn/components/avatar/avatar.component.js +3 -3
  211. package/cdn/components/avatar/avatar.js +4 -4
  212. package/cdn/components/badge/badge.component.js +2 -2
  213. package/cdn/components/badge/badge.js +3 -3
  214. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  215. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  216. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  217. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  218. package/cdn/components/browse-variables/browse-variables.component.js +13 -13
  219. package/cdn/components/browse-variables/browse-variables.controller.js +3 -3
  220. package/cdn/components/browse-variables/browse-variables.js +14 -14
  221. package/cdn/components/button/button.component.js +3 -3
  222. package/cdn/components/button/button.js +4 -4
  223. package/cdn/components/button-group/button-group.component.js +2 -2
  224. package/cdn/components/button-group/button-group.js +3 -3
  225. package/cdn/components/caption/caption.component.js +2 -2
  226. package/cdn/components/caption/caption.js +3 -3
  227. package/cdn/components/card/card.component.js +2 -2
  228. package/cdn/components/card/card.js +3 -3
  229. package/cdn/components/checkbox/checkbox.component.js +3 -3
  230. package/cdn/components/checkbox/checkbox.js +4 -4
  231. package/cdn/components/chip/chip.component.js +2 -2
  232. package/cdn/components/chip/chip.js +3 -3
  233. package/cdn/components/combobox/combobox.component.js +2 -2
  234. package/cdn/components/combobox/combobox.js +3 -3
  235. package/cdn/components/data-access/data-access.component.d.ts +2 -0
  236. package/cdn/components/data-access/data-access.component.js +21 -19
  237. package/cdn/components/data-access/data-access.controller.js +4 -4
  238. package/cdn/components/data-access/data-access.js +22 -20
  239. package/cdn/components/data-grid/data-grid.component.js +3 -3
  240. package/cdn/components/data-grid/data-grid.js +4 -4
  241. package/cdn/components/data-rods/data-rods.component.js +27 -27
  242. package/cdn/components/data-rods/data-rods.js +28 -28
  243. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +2 -1
  244. package/cdn/components/data-subsetter/data-subsetter.component.js +32 -32
  245. package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +3 -1
  246. package/cdn/components/data-subsetter/data-subsetter.controller.js +3 -3
  247. package/cdn/components/data-subsetter/data-subsetter.js +33 -33
  248. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  249. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  250. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +33 -33
  251. package/cdn/components/data-subsetter-history/data-subsetter-history.js +34 -34
  252. package/cdn/components/date-picker/date-picker.component.d.ts +4 -0
  253. package/cdn/components/date-picker/date-picker.component.js +7 -7
  254. package/cdn/components/date-picker/date-picker.js +8 -8
  255. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  256. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  257. package/cdn/components/dialog/dialog.component.js +5 -5
  258. package/cdn/components/dialog/dialog.js +6 -6
  259. package/cdn/components/dialog/dialog.styles.js +1 -1
  260. package/cdn/components/divider/divider.component.js +2 -2
  261. package/cdn/components/divider/divider.js +3 -3
  262. package/cdn/components/dropdown/dropdown.component.js +3 -3
  263. package/cdn/components/dropdown/dropdown.js +4 -4
  264. package/cdn/components/earthdata-login/earthdata-login.component.js +10 -10
  265. package/cdn/components/earthdata-login/earthdata-login.js +11 -11
  266. package/cdn/components/file-upload/file-upload.component.js +2 -2
  267. package/cdn/components/file-upload/file-upload.js +3 -3
  268. package/cdn/components/icon/icon.component.js +2 -2
  269. package/cdn/components/icon/icon.js +3 -3
  270. package/cdn/components/input/input.component.js +3 -3
  271. package/cdn/components/input/input.js +4 -4
  272. package/cdn/components/loader/loader.component.js +2 -2
  273. package/cdn/components/loader/loader.js +3 -3
  274. package/cdn/components/login/login.component.js +8 -8
  275. package/cdn/components/login/login.js +9 -9
  276. package/cdn/components/map/map.component.js +2 -2
  277. package/cdn/components/map/map.js +3 -3
  278. package/cdn/components/menu/menu.component.js +2 -2
  279. package/cdn/components/menu/menu.js +3 -3
  280. package/cdn/components/menu-item/menu-item.component.js +5 -5
  281. package/cdn/components/menu-item/menu-item.js +6 -6
  282. package/cdn/components/option/option.component.js +3 -3
  283. package/cdn/components/option/option.js +4 -4
  284. package/cdn/components/pagination/pagination.component.js +3 -3
  285. package/cdn/components/pagination/pagination.js +4 -4
  286. package/cdn/components/plot/plot.component.js +2 -2
  287. package/cdn/components/plot/plot.js +3 -3
  288. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  289. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  290. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +0 -4
  291. package/cdn/components/plot-toolbar/plot-toolbar.component.js +10 -10
  292. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  293. package/cdn/components/plot-toolbar/plot-toolbar.js +11 -11
  294. package/cdn/components/popup/popup.component.js +2 -2
  295. package/cdn/components/popup/popup.js +3 -3
  296. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  297. package/cdn/components/progress-bar/progress-bar.js +3 -3
  298. package/cdn/components/radio/radio.component.js +2 -2
  299. package/cdn/components/radio/radio.js +3 -3
  300. package/cdn/components/radio-group/radio-group.component.js +2 -2
  301. package/cdn/components/radio-group/radio-group.js +3 -3
  302. package/cdn/components/scroll-hint/scroll-hint.component.js +3 -3
  303. package/cdn/components/scroll-hint/scroll-hint.js +4 -4
  304. package/cdn/components/select/select.component.js +5 -5
  305. package/cdn/components/select/select.js +6 -6
  306. package/cdn/components/site-header/site-header.component.js +3 -3
  307. package/cdn/components/site-header/site-header.js +3 -3
  308. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  309. package/cdn/components/site-navigation/site-navigation.js +2 -2
  310. package/cdn/components/skeleton/skeleton.component.js +2 -2
  311. package/cdn/components/skeleton/skeleton.js +3 -3
  312. package/cdn/components/slider/slider.component.js +2 -2
  313. package/cdn/components/slider/slider.js +3 -3
  314. package/cdn/components/spatial-picker/spatial-picker.component.js +7 -7
  315. package/cdn/components/spatial-picker/spatial-picker.js +8 -8
  316. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  317. package/cdn/components/status-indicator/status-indicator.js +3 -3
  318. package/cdn/components/stepper/stepper.component.js +2 -2
  319. package/cdn/components/stepper/stepper.js +3 -3
  320. package/cdn/components/stepper-step/stepper-step.component.js +3 -3
  321. package/cdn/components/stepper-step/stepper-step.js +4 -4
  322. package/cdn/components/tab/tab.component.js +3 -3
  323. package/cdn/components/tab/tab.js +4 -4
  324. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  325. package/cdn/components/tab-panel/tab-panel.js +3 -3
  326. package/cdn/components/tabs/tabs.component.js +3 -3
  327. package/cdn/components/tabs/tabs.js +4 -4
  328. package/cdn/components/tag/tag.component.js +3 -3
  329. package/cdn/components/tag/tag.js +4 -4
  330. package/cdn/components/textarea/textarea.component.js +2 -2
  331. package/cdn/components/textarea/textarea.js +3 -3
  332. package/cdn/components/time-average-map/time-average-map.component.d.ts +0 -4
  333. package/cdn/components/time-average-map/time-average-map.component.js +17 -17
  334. package/cdn/components/time-average-map/time-average-map.js +18 -18
  335. package/cdn/components/time-series/time-series.component.d.ts +6 -4
  336. package/cdn/components/time-series/time-series.component.js +18 -18
  337. package/cdn/components/time-series/time-series.controller.d.ts +2 -0
  338. package/cdn/components/time-series/time-series.controller.js +1 -1
  339. package/cdn/components/time-series/time-series.js +19 -19
  340. package/cdn/components/toast/toast.component.js +3 -3
  341. package/cdn/components/toast/toast.js +4 -4
  342. package/cdn/components/toggle/toggle.component.js +2 -2
  343. package/cdn/components/toggle/toggle.js +3 -3
  344. package/cdn/components/tooltip/tooltip.component.js +3 -3
  345. package/cdn/components/tooltip/tooltip.js +4 -4
  346. package/cdn/components/variable-combobox/variable-combobox.component.js +6 -6
  347. package/cdn/components/variable-combobox/variable-combobox.js +7 -7
  348. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
  349. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  350. package/cdn/components/variable-keyword-search/variable-keyword-search.js +10 -10
  351. package/cdn/custom-elements.json +202 -189
  352. package/cdn/events/terra-time-series-data-change.d.ts +4 -0
  353. package/cdn/metadata-catalog/cmr-catalog.d.ts +2 -1
  354. package/cdn/metadata-catalog/queries.d.ts +1 -0
  355. package/cdn/metadata-catalog/types.d.ts +15 -0
  356. package/cdn/metadata-catalog/utilities.d.ts +1 -0
  357. package/cdn/react/accordion/index.js +4 -4
  358. package/cdn/react/alert/index.js +3 -3
  359. package/cdn/react/avatar/index.js +4 -4
  360. package/cdn/react/badge/index.js +3 -3
  361. package/cdn/react/breadcrumb/index.js +3 -3
  362. package/cdn/react/breadcrumbs/index.js +3 -3
  363. package/cdn/react/browse-variables/index.js +14 -14
  364. package/cdn/react/button/index.js +4 -4
  365. package/cdn/react/button-group/index.js +3 -3
  366. package/cdn/react/caption/index.js +3 -3
  367. package/cdn/react/card/index.js +3 -3
  368. package/cdn/react/checkbox/index.js +4 -4
  369. package/cdn/react/chip/index.js +3 -3
  370. package/cdn/react/combobox/index.js +3 -3
  371. package/cdn/react/data-access/index.js +22 -20
  372. package/cdn/react/data-grid/index.js +4 -4
  373. package/cdn/react/data-rods/index.js +28 -28
  374. package/cdn/react/data-subsetter/index.js +33 -33
  375. package/cdn/react/data-subsetter-history/index.js +34 -34
  376. package/cdn/react/date-picker/index.js +8 -8
  377. package/cdn/react/date-range-slider/index.js +3 -3
  378. package/cdn/react/dialog/index.js +6 -6
  379. package/cdn/react/divider/index.js +3 -3
  380. package/cdn/react/dropdown/index.js +4 -4
  381. package/cdn/react/earthdata-login/index.js +11 -11
  382. package/cdn/react/file-upload/index.js +3 -3
  383. package/cdn/react/icon/index.js +3 -3
  384. package/cdn/react/index.d.ts +1 -1
  385. package/cdn/react/index.js +148 -148
  386. package/cdn/react/input/index.js +4 -4
  387. package/cdn/react/loader/index.js +3 -3
  388. package/cdn/react/login/index.js +9 -9
  389. package/cdn/react/map/index.js +3 -3
  390. package/cdn/react/menu/index.js +3 -3
  391. package/cdn/react/menu-item/index.js +6 -6
  392. package/cdn/react/option/index.js +4 -4
  393. package/cdn/react/pagination/index.js +4 -4
  394. package/cdn/react/plot/index.js +3 -3
  395. package/cdn/react/plot-toolbar/index.js +11 -11
  396. package/cdn/react/popup/index.js +3 -3
  397. package/cdn/react/progress-bar/index.js +3 -3
  398. package/cdn/react/radio/index.js +3 -3
  399. package/cdn/react/radio-group/index.js +3 -3
  400. package/cdn/react/scroll-hint/index.js +4 -4
  401. package/cdn/react/select/index.js +6 -6
  402. package/cdn/react/site-header/index.js +4 -4
  403. package/cdn/react/site-navigation/index.js +3 -3
  404. package/cdn/react/skeleton/index.js +3 -3
  405. package/cdn/react/slider/index.js +3 -3
  406. package/cdn/react/spatial-picker/index.js +8 -8
  407. package/cdn/react/status-indicator/index.js +3 -3
  408. package/cdn/react/stepper/index.js +3 -3
  409. package/cdn/react/stepper-step/index.js +4 -4
  410. package/cdn/react/tab/index.js +4 -4
  411. package/cdn/react/tab-panel/index.js +3 -3
  412. package/cdn/react/tabs/index.js +4 -4
  413. package/cdn/react/tag/index.js +4 -4
  414. package/cdn/react/textarea/index.js +3 -3
  415. package/cdn/react/time-average-map/index.js +18 -18
  416. package/cdn/react/time-series/index.js +19 -19
  417. package/cdn/react/toast/index.js +4 -4
  418. package/cdn/react/toggle/index.js +3 -3
  419. package/cdn/react/tooltip/index.js +4 -4
  420. package/cdn/react/variable-combobox/index.js +7 -7
  421. package/cdn/react/variable-keyword-search/index.js +10 -10
  422. package/cdn/terra-ui-components.js +140 -140
  423. package/cdn/types/vue/index.d.ts +48 -45
  424. package/cdn/utilities/mimetypes.d.ts +1 -1
  425. package/cdn/utilities/mimetypes.js +1 -1
  426. package/cdn/vscode.html-custom-data.json +30 -29
  427. package/cdn/web-types.json +104 -104
  428. package/dist/chunks/chunk.25M3GQVI.js +21 -0
  429. package/dist/chunks/chunk.2F65ILU7.js +25 -0
  430. package/dist/chunks/chunk.2VOCMZOH.js +28 -0
  431. package/dist/chunks/chunk.2VZ64HEA.js +21 -0
  432. package/dist/chunks/chunk.2WRM4UX6.js +21 -0
  433. package/dist/chunks/chunk.2ZJ5N5W2.js +11 -0
  434. package/dist/chunks/chunk.37I6WAMP.js +770 -0
  435. package/dist/chunks/chunk.3BVEL3JW.js +24 -0
  436. package/dist/chunks/chunk.3CRW4NCZ.js +11 -0
  437. package/dist/chunks/chunk.3FOA2VZO.js +11 -0
  438. package/dist/chunks/chunk.3GW3RBL6.js +11 -0
  439. package/dist/chunks/chunk.3NOU5S4K.js +91 -0
  440. package/dist/chunks/chunk.3RS5FX7Z.js +180 -0
  441. package/dist/chunks/chunk.4EAOYZ4Y.js +90 -0
  442. package/dist/chunks/chunk.4JOCKMP4.js +24 -0
  443. package/dist/chunks/chunk.4OIPW4IN.js +21 -0
  444. package/dist/chunks/chunk.4QHN5BCR.js +11 -0
  445. package/dist/chunks/chunk.4Y2WEDVE.js +11 -0
  446. package/dist/chunks/chunk.4Y5DQUZI.js +121 -0
  447. package/dist/chunks/chunk.53H2EA5M.js +27 -0
  448. package/dist/chunks/chunk.5LKH3K3W.js +11 -0
  449. package/dist/chunks/chunk.5RVVREBJ.js +21 -0
  450. package/dist/chunks/chunk.5YMG2KJ6.js +21 -0
  451. package/dist/chunks/chunk.62ZIAEQG.js +24 -0
  452. package/dist/chunks/chunk.6AVQFT4P.js +48 -0
  453. package/dist/chunks/chunk.6EBJ6G3H.js +11 -0
  454. package/dist/chunks/chunk.6F4S57QO.js +11 -0
  455. package/dist/chunks/chunk.6GEV2AQL.js +355 -0
  456. package/dist/chunks/chunk.6GPT2252.js +43 -0
  457. package/dist/chunks/chunk.6KIZ2657.js +11 -0
  458. package/dist/chunks/chunk.6Q4CBJWL.js +2319 -0
  459. package/dist/chunks/chunk.6SGZCYGQ.js +74 -0
  460. package/dist/chunks/chunk.72H2HDXK.js +25 -0
  461. package/dist/chunks/chunk.755I6E44.js +11 -0
  462. package/dist/chunks/chunk.76VSG6I2.js +124 -0
  463. package/dist/chunks/chunk.7BKNXEME.js +24 -0
  464. package/dist/chunks/chunk.7GOUVYOD.js +581 -0
  465. package/dist/chunks/chunk.7HRBKVAR.js +21 -0
  466. package/dist/chunks/chunk.7HXWVCYI.js +21 -0
  467. package/dist/chunks/chunk.7P7PZ5XC.js +21 -0
  468. package/dist/chunks/chunk.7PMNU4UI.js +112 -0
  469. package/dist/chunks/chunk.7RZEKEUZ.js +11 -0
  470. package/dist/chunks/chunk.7WDXD466.js +1008 -0
  471. package/dist/chunks/chunk.AFOTW6DH.js +21 -0
  472. package/dist/chunks/chunk.AG377SDY.js +11 -0
  473. package/dist/chunks/chunk.AH7PYVLD.js +21 -0
  474. package/dist/chunks/chunk.AQSBCRI5.js +252 -0
  475. package/dist/chunks/chunk.BAVBPYAO.js +20 -0
  476. package/dist/chunks/chunk.BBGOFH62.js +11 -0
  477. package/dist/chunks/chunk.BDPPKWS4.js +21 -0
  478. package/dist/chunks/chunk.BFCPSAZ2.js +264 -0
  479. package/dist/chunks/chunk.BNB533SF.js +21 -0
  480. package/dist/chunks/chunk.BRZC353M.js +11 -0
  481. package/dist/chunks/chunk.BSNPOPHM.js +11 -0
  482. package/dist/chunks/chunk.BYOBOQF2.js +844 -0
  483. package/dist/chunks/chunk.BZVSSKVU.js +345 -0
  484. package/dist/chunks/chunk.CKVKXIMR.js +11 -0
  485. package/dist/chunks/chunk.CPYHFNC3.js +86 -0
  486. package/dist/chunks/chunk.CTBGPRH4.js +11 -0
  487. package/dist/chunks/chunk.CUAHYDDE.js +11 -0
  488. package/dist/chunks/chunk.CXLQ4RKA.js +21 -0
  489. package/dist/chunks/chunk.D2MYFCNZ.js +245 -0
  490. package/dist/chunks/chunk.D76BZEAN.js +97 -0
  491. package/dist/chunks/chunk.DBJRHMP4.js +214 -0
  492. package/dist/chunks/chunk.DKMOZLOI.js +75 -0
  493. package/dist/chunks/chunk.DLWOS6BW.js +26 -0
  494. package/dist/chunks/chunk.DMCP56YP.js +11 -0
  495. package/dist/chunks/chunk.DR3V64PI.js +11 -0
  496. package/dist/chunks/chunk.E3QFHJY2.js +11 -0
  497. package/dist/chunks/chunk.E4EZDH7G.js +21 -0
  498. package/dist/chunks/chunk.E6KQAVJM.js +272 -0
  499. package/dist/chunks/chunk.ECRQXDDF.js +11 -0
  500. package/dist/chunks/chunk.EFLG5YIG.js +11 -0
  501. package/dist/chunks/chunk.ELCUB5EP.js +21 -0
  502. package/dist/chunks/chunk.EQKCYK3K.js +21 -0
  503. package/dist/chunks/chunk.EQS7AC27.js +11 -0
  504. package/dist/chunks/chunk.ETNOCBXV.js +259 -0
  505. package/dist/chunks/chunk.EW3VHFI7.js +39 -0
  506. package/dist/chunks/chunk.FFTIB26T.js +443 -0
  507. package/dist/chunks/chunk.FJ26ILHV.js +21 -0
  508. package/dist/chunks/chunk.FLXEZUJP.js +220 -0
  509. package/dist/chunks/chunk.FQFJCEW7.js +402 -0
  510. package/dist/chunks/chunk.FUAMU57O.js +11 -0
  511. package/dist/chunks/chunk.FYVT2G5Y.js +27 -0
  512. package/dist/chunks/chunk.G42Z5PNT.js +91 -0
  513. package/dist/chunks/chunk.GA7IOZ65.js +180 -0
  514. package/dist/chunks/chunk.H3V5S4TR.js +153 -0
  515. package/dist/chunks/chunk.H5NGFDVG.js +11 -0
  516. package/dist/chunks/chunk.H6ABLMXN.js +11 -0
  517. package/dist/chunks/chunk.HDV5F3YJ.js +11 -0
  518. package/dist/chunks/chunk.HTMQKXQS.js +230 -0
  519. package/dist/chunks/chunk.HTYRZ5JY.js +93 -0
  520. package/dist/chunks/chunk.HVOD6QWA.js +474 -0
  521. package/dist/chunks/chunk.HWQLXN5G.js +247 -0
  522. package/dist/chunks/chunk.I4IIVOUZ.js +2228 -0
  523. package/dist/chunks/chunk.I5WFZXLP.js +213 -0
  524. package/dist/chunks/chunk.IFX2N2F2.js +596 -0
  525. package/dist/chunks/chunk.IGGF3WON.js +28 -0
  526. package/dist/chunks/chunk.II2UMQ6I.js +720 -0
  527. package/dist/chunks/chunk.IMJC2C4A.js +24 -0
  528. package/dist/chunks/chunk.INL4U3SG.js +25 -0
  529. package/dist/chunks/chunk.IT44PAE5.js +262 -0
  530. package/dist/chunks/chunk.IUMJQD3V.js +11 -0
  531. package/dist/chunks/chunk.JC4GIFCM.js +11 -0
  532. package/dist/chunks/chunk.JDW7JFHB.js +21 -0
  533. package/dist/chunks/chunk.JF7QMJJ3.js +409 -0
  534. package/dist/chunks/chunk.JIVWM74C.js +11 -0
  535. package/dist/chunks/chunk.JRNIARZZ.js +477 -0
  536. package/dist/chunks/chunk.JYANJSE7.js +97 -0
  537. package/dist/chunks/chunk.K36I4ALN.js +519 -0
  538. package/dist/chunks/chunk.K4VRA66U.js +11 -0
  539. package/dist/chunks/chunk.KI6OEH42.js +26 -0
  540. package/dist/chunks/chunk.KO3QHRQJ.js +25 -0
  541. package/dist/chunks/chunk.KPCSQEKP.js +11 -0
  542. package/dist/chunks/chunk.L3NM2AUU.js +29 -0
  543. package/dist/chunks/chunk.L3QGS6DM.js +78 -0
  544. package/dist/chunks/chunk.L4B374JT.js +11 -0
  545. package/dist/chunks/chunk.LA7VFVVR.js +61 -0
  546. package/dist/chunks/chunk.LEEJVM2M.js +11 -0
  547. package/dist/chunks/chunk.LFNDOUX7.js +11 -0
  548. package/dist/chunks/chunk.LKV5CBWU.js +11 -0
  549. package/dist/chunks/chunk.LUYFVAMD.js +64 -0
  550. package/dist/chunks/chunk.LWVBMC7M.js +11 -0
  551. package/dist/chunks/chunk.LXWNTIYK.js +24 -0
  552. package/dist/chunks/chunk.MBFDYBJM.js +21 -0
  553. package/dist/chunks/chunk.MDNKZRSM.js +11 -0
  554. package/dist/chunks/chunk.MLOFLEMG.js +525 -0
  555. package/dist/chunks/chunk.MMSWR2XT.js +21 -0
  556. package/dist/chunks/chunk.MPVMQTJ6.js +21 -0
  557. package/dist/chunks/chunk.MZ4FDVFI.js +139 -0
  558. package/dist/chunks/chunk.NCH2U7UJ.js +33 -0
  559. package/dist/chunks/chunk.NZVVOWVO.js +11 -0
  560. package/dist/chunks/chunk.OEBQ6WWW.js +25 -0
  561. package/dist/chunks/chunk.OEVC7AGS.js +11 -0
  562. package/dist/chunks/chunk.OIVARBKI.js +27 -0
  563. package/dist/chunks/chunk.OIZOD35Q.js +24 -0
  564. package/dist/chunks/chunk.ON3YVM46.js +138 -0
  565. package/dist/chunks/chunk.OQ2S3AA5.js +11 -0
  566. package/dist/chunks/chunk.PFMNPA56.js +83 -0
  567. package/dist/chunks/chunk.PJP7JBDX.js +31 -0
  568. package/dist/chunks/chunk.PNHCGL4K.js +28 -0
  569. package/dist/chunks/chunk.PZSNM7Y7.js +592 -0
  570. package/dist/chunks/chunk.Q22TEDZU.js +24 -0
  571. package/dist/chunks/chunk.Q2H33KB6.js +24 -0
  572. package/dist/chunks/chunk.Q7IXF3O6.js +11 -0
  573. package/dist/chunks/chunk.QJ45BQFQ.js +145 -0
  574. package/dist/chunks/chunk.QKPKEV3T.js +11 -0
  575. package/dist/chunks/chunk.QQMW6GT2.js +1045 -0
  576. package/dist/chunks/chunk.QSJY2DSS.js +11 -0
  577. package/dist/chunks/chunk.QXGHD6IW.js +11 -0
  578. package/dist/chunks/chunk.QZNCXWFL.js +11 -0
  579. package/dist/chunks/chunk.R3OFHVHU.js +11 -0
  580. package/dist/chunks/chunk.R5VHVPBY.js +24 -0
  581. package/dist/chunks/chunk.RDEOS3ZG.js +85 -0
  582. package/dist/chunks/chunk.RH4LHJHZ.js +21 -0
  583. package/dist/chunks/chunk.RN4VCRRV.js +89 -0
  584. package/dist/chunks/chunk.RSE4IMJD.js +11 -0
  585. package/dist/chunks/chunk.RTKDNTRV.js +11 -0
  586. package/dist/chunks/chunk.SIGIBUV3.js +24 -0
  587. package/dist/chunks/chunk.SJVXFIWD.js +43 -0
  588. package/dist/chunks/chunk.SNI3GRL7.js +180 -0
  589. package/dist/chunks/chunk.SRLQTM4M.js +291 -0
  590. package/dist/chunks/chunk.SUOLYC4C.js +1122 -0
  591. package/dist/chunks/chunk.SXPM42XO.js +220 -0
  592. package/dist/chunks/chunk.T6Q62CEN.js +11 -0
  593. package/dist/chunks/chunk.TEYRIQPX.js +11 -0
  594. package/dist/chunks/chunk.TFKL5DJ5.js +21 -0
  595. package/dist/chunks/chunk.THWLNG2A.js +52 -0
  596. package/dist/chunks/chunk.TMXVDFSE.js +21 -0
  597. package/dist/chunks/chunk.TNMLOQZS.js +24 -0
  598. package/dist/chunks/chunk.TQQ36LCR.js +52 -0
  599. package/dist/chunks/chunk.TRXSEINU.js +21 -0
  600. package/dist/chunks/chunk.TVXTIOPO.js +11 -0
  601. package/dist/chunks/chunk.TY4H6MKT.js +21 -0
  602. package/dist/chunks/chunk.UFSZ7IUJ.js +101 -0
  603. package/dist/chunks/chunk.UH7BQYXA.js +28 -0
  604. package/dist/chunks/chunk.UH7KMM6W.js +280 -0
  605. package/dist/chunks/chunk.UTPOSXTC.js +11 -0
  606. package/dist/chunks/chunk.UU2S72KN.js +30 -0
  607. package/dist/chunks/chunk.UZLFME7D.js +230 -0
  608. package/dist/chunks/chunk.VB6VSQRC.js +345 -0
  609. package/dist/chunks/chunk.VG2ESYPS.js +67 -0
  610. package/dist/chunks/chunk.VGNT6ULL.js +609 -0
  611. package/dist/chunks/chunk.VIEWRBBY.js +422 -0
  612. package/dist/chunks/chunk.VSKUQ46Q.js +48 -0
  613. package/dist/chunks/chunk.VT5KHE7G.js +451 -0
  614. package/dist/chunks/chunk.WRMEED2V.js +11 -0
  615. package/dist/chunks/chunk.X3BWD77K.js +11 -0
  616. package/dist/chunks/chunk.XEPTHU2I.js +143 -0
  617. package/dist/chunks/chunk.XJNO4Q3R.js +21 -0
  618. package/dist/chunks/chunk.XN574D6F.js +11 -0
  619. package/dist/chunks/chunk.XNUE63XD.js +58 -0
  620. package/dist/chunks/chunk.XPSSVTGP.js +24 -0
  621. package/dist/chunks/chunk.XX2ELX62.js +11 -0
  622. package/dist/chunks/chunk.XYOXCRL4.js +277 -0
  623. package/dist/chunks/chunk.XYQ5OEQP.js +190 -0
  624. package/dist/chunks/chunk.Y2VTLMTQ.js +21 -0
  625. package/dist/chunks/chunk.Y3OYYVP2.js +27 -0
  626. package/dist/chunks/chunk.Y5YDIDOR.js +11 -0
  627. package/dist/chunks/chunk.YG577JJA.js +1204 -0
  628. package/dist/chunks/chunk.YW6LTV2C.js +21 -0
  629. package/dist/chunks/chunk.Z3X4AUAX.js +123 -0
  630. package/dist/chunks/chunk.Z4XSQL3L.js +29 -0
  631. package/dist/chunks/chunk.ZCJX3EMS.js +11 -0
  632. package/dist/chunks/chunk.ZILKHT37.js +24 -0
  633. package/dist/components/accordion/accordion.component.js +3 -3
  634. package/dist/components/accordion/accordion.js +4 -4
  635. package/dist/components/alert/alert.component.js +2 -2
  636. package/dist/components/alert/alert.js +3 -3
  637. package/dist/components/avatar/avatar.component.js +3 -3
  638. package/dist/components/avatar/avatar.js +4 -4
  639. package/dist/components/badge/badge.component.js +2 -2
  640. package/dist/components/badge/badge.js +3 -3
  641. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  642. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  643. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  644. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  645. package/dist/components/browse-variables/browse-variables.component.js +13 -13
  646. package/dist/components/browse-variables/browse-variables.controller.js +3 -3
  647. package/dist/components/browse-variables/browse-variables.js +14 -14
  648. package/dist/components/button/button.component.js +3 -3
  649. package/dist/components/button/button.js +4 -4
  650. package/dist/components/button-group/button-group.component.js +2 -2
  651. package/dist/components/button-group/button-group.js +3 -3
  652. package/dist/components/caption/caption.component.js +2 -2
  653. package/dist/components/caption/caption.js +3 -3
  654. package/dist/components/card/card.component.js +2 -2
  655. package/dist/components/card/card.js +3 -3
  656. package/dist/components/checkbox/checkbox.component.js +3 -3
  657. package/dist/components/checkbox/checkbox.js +4 -4
  658. package/dist/components/chip/chip.component.js +2 -2
  659. package/dist/components/chip/chip.js +3 -3
  660. package/dist/components/combobox/combobox.component.js +2 -2
  661. package/dist/components/combobox/combobox.js +3 -3
  662. package/dist/components/data-access/data-access.component.d.ts +2 -0
  663. package/dist/components/data-access/data-access.component.js +21 -19
  664. package/dist/components/data-access/data-access.controller.js +4 -4
  665. package/dist/components/data-access/data-access.js +22 -20
  666. package/dist/components/data-grid/data-grid.component.js +3 -3
  667. package/dist/components/data-grid/data-grid.js +4 -4
  668. package/dist/components/data-rods/data-rods.component.js +27 -27
  669. package/dist/components/data-rods/data-rods.js +28 -28
  670. package/dist/components/data-subsetter/data-subsetter.component.d.ts +2 -1
  671. package/dist/components/data-subsetter/data-subsetter.component.js +32 -32
  672. package/dist/components/data-subsetter/data-subsetter.controller.d.ts +3 -1
  673. package/dist/components/data-subsetter/data-subsetter.controller.js +3 -3
  674. package/dist/components/data-subsetter/data-subsetter.js +33 -33
  675. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  676. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  677. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +33 -33
  678. package/dist/components/data-subsetter-history/data-subsetter-history.js +34 -34
  679. package/dist/components/date-picker/date-picker.component.d.ts +4 -0
  680. package/dist/components/date-picker/date-picker.component.js +7 -7
  681. package/dist/components/date-picker/date-picker.js +8 -8
  682. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  683. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  684. package/dist/components/dialog/dialog.component.js +5 -5
  685. package/dist/components/dialog/dialog.js +6 -6
  686. package/dist/components/dialog/dialog.styles.js +1 -1
  687. package/dist/components/divider/divider.component.js +2 -2
  688. package/dist/components/divider/divider.js +3 -3
  689. package/dist/components/dropdown/dropdown.component.js +3 -3
  690. package/dist/components/dropdown/dropdown.js +4 -4
  691. package/dist/components/earthdata-login/earthdata-login.component.js +10 -10
  692. package/dist/components/earthdata-login/earthdata-login.js +11 -11
  693. package/dist/components/file-upload/file-upload.component.js +2 -2
  694. package/dist/components/file-upload/file-upload.js +3 -3
  695. package/dist/components/icon/icon.component.js +2 -2
  696. package/dist/components/icon/icon.js +3 -3
  697. package/dist/components/input/input.component.js +3 -3
  698. package/dist/components/input/input.js +4 -4
  699. package/dist/components/loader/loader.component.js +2 -2
  700. package/dist/components/loader/loader.js +3 -3
  701. package/dist/components/login/login.component.js +8 -8
  702. package/dist/components/login/login.js +9 -9
  703. package/dist/components/map/map.component.js +2 -2
  704. package/dist/components/map/map.js +3 -3
  705. package/dist/components/menu/menu.component.js +2 -2
  706. package/dist/components/menu/menu.js +3 -3
  707. package/dist/components/menu-item/menu-item.component.js +5 -5
  708. package/dist/components/menu-item/menu-item.js +6 -6
  709. package/dist/components/option/option.component.js +3 -3
  710. package/dist/components/option/option.js +4 -4
  711. package/dist/components/pagination/pagination.component.js +3 -3
  712. package/dist/components/pagination/pagination.js +4 -4
  713. package/dist/components/plot/plot.component.js +2 -2
  714. package/dist/components/plot/plot.js +3 -3
  715. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  716. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  717. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +0 -4
  718. package/dist/components/plot-toolbar/plot-toolbar.component.js +10 -10
  719. package/dist/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  720. package/dist/components/plot-toolbar/plot-toolbar.js +11 -11
  721. package/dist/components/popup/popup.component.js +2 -2
  722. package/dist/components/popup/popup.js +3 -3
  723. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  724. package/dist/components/progress-bar/progress-bar.js +3 -3
  725. package/dist/components/radio/radio.component.js +2 -2
  726. package/dist/components/radio/radio.js +3 -3
  727. package/dist/components/radio-group/radio-group.component.js +2 -2
  728. package/dist/components/radio-group/radio-group.js +3 -3
  729. package/dist/components/scroll-hint/scroll-hint.component.js +3 -3
  730. package/dist/components/scroll-hint/scroll-hint.js +4 -4
  731. package/dist/components/select/select.component.js +5 -5
  732. package/dist/components/select/select.js +6 -6
  733. package/dist/components/site-header/site-header.component.js +3 -3
  734. package/dist/components/site-header/site-header.js +3 -3
  735. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  736. package/dist/components/site-navigation/site-navigation.js +2 -2
  737. package/dist/components/skeleton/skeleton.component.js +2 -2
  738. package/dist/components/skeleton/skeleton.js +3 -3
  739. package/dist/components/slider/slider.component.js +2 -2
  740. package/dist/components/slider/slider.js +3 -3
  741. package/dist/components/spatial-picker/spatial-picker.component.js +7 -7
  742. package/dist/components/spatial-picker/spatial-picker.js +8 -8
  743. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  744. package/dist/components/status-indicator/status-indicator.js +3 -3
  745. package/dist/components/stepper/stepper.component.js +2 -2
  746. package/dist/components/stepper/stepper.js +3 -3
  747. package/dist/components/stepper-step/stepper-step.component.js +3 -3
  748. package/dist/components/stepper-step/stepper-step.js +4 -4
  749. package/dist/components/tab/tab.component.js +3 -3
  750. package/dist/components/tab/tab.js +4 -4
  751. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  752. package/dist/components/tab-panel/tab-panel.js +3 -3
  753. package/dist/components/tabs/tabs.component.js +3 -3
  754. package/dist/components/tabs/tabs.js +4 -4
  755. package/dist/components/tag/tag.component.js +3 -3
  756. package/dist/components/tag/tag.js +4 -4
  757. package/dist/components/textarea/textarea.component.js +2 -2
  758. package/dist/components/textarea/textarea.js +3 -3
  759. package/dist/components/time-average-map/time-average-map.component.d.ts +0 -4
  760. package/dist/components/time-average-map/time-average-map.component.js +17 -17
  761. package/dist/components/time-average-map/time-average-map.js +18 -18
  762. package/dist/components/time-series/time-series.component.d.ts +6 -4
  763. package/dist/components/time-series/time-series.component.js +18 -18
  764. package/dist/components/time-series/time-series.controller.d.ts +2 -0
  765. package/dist/components/time-series/time-series.controller.js +1 -1
  766. package/dist/components/time-series/time-series.js +19 -19
  767. package/dist/components/toast/toast.component.js +3 -3
  768. package/dist/components/toast/toast.js +4 -4
  769. package/dist/components/toggle/toggle.component.js +2 -2
  770. package/dist/components/toggle/toggle.js +3 -3
  771. package/dist/components/tooltip/tooltip.component.js +3 -3
  772. package/dist/components/tooltip/tooltip.js +4 -4
  773. package/dist/components/variable-combobox/variable-combobox.component.js +6 -6
  774. package/dist/components/variable-combobox/variable-combobox.js +7 -7
  775. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
  776. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  777. package/dist/components/variable-keyword-search/variable-keyword-search.js +10 -10
  778. package/dist/custom-elements.json +202 -189
  779. package/dist/events/terra-time-series-data-change.d.ts +4 -0
  780. package/dist/metadata-catalog/cmr-catalog.d.ts +2 -1
  781. package/dist/metadata-catalog/queries.d.ts +1 -0
  782. package/dist/metadata-catalog/types.d.ts +15 -0
  783. package/dist/metadata-catalog/utilities.d.ts +1 -0
  784. package/dist/react/accordion/index.js +4 -4
  785. package/dist/react/alert/index.js +3 -3
  786. package/dist/react/avatar/index.js +4 -4
  787. package/dist/react/badge/index.js +3 -3
  788. package/dist/react/breadcrumb/index.js +3 -3
  789. package/dist/react/breadcrumbs/index.js +3 -3
  790. package/dist/react/browse-variables/index.js +14 -14
  791. package/dist/react/button/index.js +4 -4
  792. package/dist/react/button-group/index.js +3 -3
  793. package/dist/react/caption/index.js +3 -3
  794. package/dist/react/card/index.js +3 -3
  795. package/dist/react/checkbox/index.js +4 -4
  796. package/dist/react/chip/index.js +3 -3
  797. package/dist/react/combobox/index.js +3 -3
  798. package/dist/react/data-access/index.js +22 -20
  799. package/dist/react/data-grid/index.js +4 -4
  800. package/dist/react/data-rods/index.js +28 -28
  801. package/dist/react/data-subsetter/index.js +33 -33
  802. package/dist/react/data-subsetter-history/index.js +34 -34
  803. package/dist/react/date-picker/index.js +8 -8
  804. package/dist/react/date-range-slider/index.js +3 -3
  805. package/dist/react/dialog/index.js +6 -6
  806. package/dist/react/divider/index.js +3 -3
  807. package/dist/react/dropdown/index.js +4 -4
  808. package/dist/react/earthdata-login/index.js +11 -11
  809. package/dist/react/file-upload/index.js +3 -3
  810. package/dist/react/icon/index.js +3 -3
  811. package/dist/react/index.d.ts +1 -1
  812. package/dist/react/index.js +148 -148
  813. package/dist/react/input/index.js +4 -4
  814. package/dist/react/loader/index.js +3 -3
  815. package/dist/react/login/index.js +9 -9
  816. package/dist/react/map/index.js +3 -3
  817. package/dist/react/menu/index.js +3 -3
  818. package/dist/react/menu-item/index.js +6 -6
  819. package/dist/react/option/index.js +4 -4
  820. package/dist/react/pagination/index.js +4 -4
  821. package/dist/react/plot/index.js +3 -3
  822. package/dist/react/plot-toolbar/index.js +11 -11
  823. package/dist/react/popup/index.js +3 -3
  824. package/dist/react/progress-bar/index.js +3 -3
  825. package/dist/react/radio/index.js +3 -3
  826. package/dist/react/radio-group/index.js +3 -3
  827. package/dist/react/scroll-hint/index.js +4 -4
  828. package/dist/react/select/index.js +6 -6
  829. package/dist/react/site-header/index.js +4 -4
  830. package/dist/react/site-navigation/index.js +3 -3
  831. package/dist/react/skeleton/index.js +3 -3
  832. package/dist/react/slider/index.js +3 -3
  833. package/dist/react/spatial-picker/index.js +8 -8
  834. package/dist/react/status-indicator/index.js +3 -3
  835. package/dist/react/stepper/index.js +3 -3
  836. package/dist/react/stepper-step/index.js +4 -4
  837. package/dist/react/tab/index.js +4 -4
  838. package/dist/react/tab-panel/index.js +3 -3
  839. package/dist/react/tabs/index.js +4 -4
  840. package/dist/react/tag/index.js +4 -4
  841. package/dist/react/textarea/index.js +3 -3
  842. package/dist/react/time-average-map/index.js +18 -18
  843. package/dist/react/time-series/index.js +19 -19
  844. package/dist/react/toast/index.js +4 -4
  845. package/dist/react/toggle/index.js +3 -3
  846. package/dist/react/tooltip/index.js +4 -4
  847. package/dist/react/variable-combobox/index.js +7 -7
  848. package/dist/react/variable-keyword-search/index.js +10 -10
  849. package/dist/terra-ui-components.js +140 -140
  850. package/dist/terra_ui_components-0.0.172-py3-none-any.whl +0 -0
  851. package/dist/terra_ui_components-0.0.172.tar.gz +0 -0
  852. package/dist/types/vue/index.d.ts +48 -45
  853. package/dist/utilities/mimetypes.d.ts +1 -1
  854. package/dist/utilities/mimetypes.js +1 -1
  855. package/dist/vscode.html-custom-data.json +30 -29
  856. package/dist/web-types.json +104 -104
  857. package/package.json +1 -1
  858. package/cdn/chunks/chunk.23GZXEK4.js +0 -35
  859. package/cdn/chunks/chunk.23Y7QMN5.js +0 -753
  860. package/cdn/chunks/chunk.27NLN3JG.js +0 -731
  861. package/cdn/chunks/chunk.2KC5CEMV.js +0 -32
  862. package/cdn/chunks/chunk.2KR556CY.js +0 -32
  863. package/cdn/chunks/chunk.2NM4U2LU.js +0 -187
  864. package/cdn/chunks/chunk.2Q7QYGFT.js +0 -19
  865. package/cdn/chunks/chunk.2ZIP42OV.js +0 -288
  866. package/cdn/chunks/chunk.37NX7Z2A.js +0 -19
  867. package/cdn/chunks/chunk.3A7R3CQ6.js +0 -19
  868. package/cdn/chunks/chunk.3GB6TUVS.js +0 -39
  869. package/cdn/chunks/chunk.3HPEDHS7.js +0 -132
  870. package/cdn/chunks/chunk.3ROH53UR.js +0 -19
  871. package/cdn/chunks/chunk.4AZPGWEN.js +0 -19
  872. package/cdn/chunks/chunk.4CUQOFXS.js +0 -29
  873. package/cdn/chunks/chunk.4JWX5ORP.js +0 -19
  874. package/cdn/chunks/chunk.4P3ADQYH.js +0 -37
  875. package/cdn/chunks/chunk.4VP5R3DP.js +0 -36
  876. package/cdn/chunks/chunk.57EK43E2.js +0 -29
  877. package/cdn/chunks/chunk.5CEANRJM.js +0 -123
  878. package/cdn/chunks/chunk.5FHIINV4.js +0 -610
  879. package/cdn/chunks/chunk.5HCDLSYA.js +0 -30
  880. package/cdn/chunks/chunk.5IXKWLY6.js +0 -151
  881. package/cdn/chunks/chunk.5LKGET77.js +0 -19
  882. package/cdn/chunks/chunk.5NBONPFS.js +0 -19
  883. package/cdn/chunks/chunk.5O6EWOEQ.js +0 -29
  884. package/cdn/chunks/chunk.5RWLMEHZ.js +0 -19
  885. package/cdn/chunks/chunk.5U7FXBSP.js +0 -33
  886. package/cdn/chunks/chunk.6ATT4NML.js +0 -19
  887. package/cdn/chunks/chunk.6HPFTF7W.js +0 -19
  888. package/cdn/chunks/chunk.6NCG3DLN.js +0 -35
  889. package/cdn/chunks/chunk.6PFP4JDY.js +0 -372
  890. package/cdn/chunks/chunk.6R63CY42.js +0 -189
  891. package/cdn/chunks/chunk.6SLG3RUK.js +0 -29
  892. package/cdn/chunks/chunk.6XG4EOVX.js +0 -259
  893. package/cdn/chunks/chunk.6Y5VXGVN.js +0 -36
  894. package/cdn/chunks/chunk.733K2FSO.js +0 -32
  895. package/cdn/chunks/chunk.754SCLEA.js +0 -621
  896. package/cdn/chunks/chunk.7C537P4Y.js +0 -32
  897. package/cdn/chunks/chunk.7OKBWKVY.js +0 -32
  898. package/cdn/chunks/chunk.7QW2SRSF.js +0 -29
  899. package/cdn/chunks/chunk.7VKNM7C7.js +0 -136
  900. package/cdn/chunks/chunk.7XYSMHGT.js +0 -293
  901. package/cdn/chunks/chunk.AE5I65PB.js +0 -2313
  902. package/cdn/chunks/chunk.ATIGJSKH.js +0 -32
  903. package/cdn/chunks/chunk.AU5422IG.js +0 -19
  904. package/cdn/chunks/chunk.AYT5HXVZ.js +0 -19
  905. package/cdn/chunks/chunk.B6Z7S2RJ.js +0 -524
  906. package/cdn/chunks/chunk.BEWXJBUD.js +0 -29
  907. package/cdn/chunks/chunk.BFS2NXOO.js +0 -32
  908. package/cdn/chunks/chunk.BJEMOBM6.js +0 -35
  909. package/cdn/chunks/chunk.BLNFBFEC.js +0 -19
  910. package/cdn/chunks/chunk.BNLPA42D.js +0 -359
  911. package/cdn/chunks/chunk.BZ2Y4J4D.js +0 -477
  912. package/cdn/chunks/chunk.C237BS74.js +0 -19
  913. package/cdn/chunks/chunk.C3Y4QVHX.js +0 -32
  914. package/cdn/chunks/chunk.C6WX6TLS.js +0 -19
  915. package/cdn/chunks/chunk.CQ3TUSLS.js +0 -32
  916. package/cdn/chunks/chunk.D2GB3UX7.js +0 -34
  917. package/cdn/chunks/chunk.D5SAON7L.js +0 -19
  918. package/cdn/chunks/chunk.DACWIRZG.js +0 -19
  919. package/cdn/chunks/chunk.DCPXDVO3.js +0 -71
  920. package/cdn/chunks/chunk.DGKCMLRD.js +0 -29
  921. package/cdn/chunks/chunk.DGMRX45K.js +0 -904
  922. package/cdn/chunks/chunk.DLST2D6L.js +0 -32
  923. package/cdn/chunks/chunk.DM4JRT4A.js +0 -93
  924. package/cdn/chunks/chunk.DTD73FAO.js +0 -83
  925. package/cdn/chunks/chunk.DZISTF6N.js +0 -1010
  926. package/cdn/chunks/chunk.E4Y5BG5N.js +0 -509
  927. package/cdn/chunks/chunk.ELMFDV2G.js +0 -247
  928. package/cdn/chunks/chunk.EUPQ33DJ.js +0 -33
  929. package/cdn/chunks/chunk.EY4VNPJ2.js +0 -19
  930. package/cdn/chunks/chunk.F3J4RXQV.js +0 -19
  931. package/cdn/chunks/chunk.F753RR5Q.js +0 -19
  932. package/cdn/chunks/chunk.FELOKZ54.js +0 -19
  933. package/cdn/chunks/chunk.FJEMKM6L.js +0 -99
  934. package/cdn/chunks/chunk.FLAI3PUI.js +0 -29
  935. package/cdn/chunks/chunk.FN5FAARP.js +0 -19
  936. package/cdn/chunks/chunk.FO37M2VG.js +0 -41
  937. package/cdn/chunks/chunk.G4PR2N27.js +0 -19
  938. package/cdn/chunks/chunk.GHTLJCT7.js +0 -239
  939. package/cdn/chunks/chunk.GU4XX4QI.js +0 -29
  940. package/cdn/chunks/chunk.GVI2UZCY.js +0 -1048
  941. package/cdn/chunks/chunk.GYUZ4R2A.js +0 -662
  942. package/cdn/chunks/chunk.GZ26Q2FP.js +0 -36
  943. package/cdn/chunks/chunk.HI33WW4T.js +0 -35
  944. package/cdn/chunks/chunk.HLOMAVME.js +0 -86
  945. package/cdn/chunks/chunk.I2R2ZBU5.js +0 -29
  946. package/cdn/chunks/chunk.I3UVXV4L.js +0 -29
  947. package/cdn/chunks/chunk.I44LHN7L.js +0 -99
  948. package/cdn/chunks/chunk.I4NS6DRL.js +0 -78
  949. package/cdn/chunks/chunk.IG7FYJ3U.js +0 -19
  950. package/cdn/chunks/chunk.IHZC4VE3.js +0 -19
  951. package/cdn/chunks/chunk.IL7BYPM7.js +0 -92
  952. package/cdn/chunks/chunk.ILA4A7U5.js +0 -99
  953. package/cdn/chunks/chunk.INANLV5F.js +0 -19
  954. package/cdn/chunks/chunk.ISBKM2OB.js +0 -238
  955. package/cdn/chunks/chunk.IYU24ABO.js +0 -29
  956. package/cdn/chunks/chunk.J54QLLZQ.js +0 -29
  957. package/cdn/chunks/chunk.JF2F7SBD.js +0 -19
  958. package/cdn/chunks/chunk.JMFLFZGJ.js +0 -19
  959. package/cdn/chunks/chunk.JW3UB6CJ.js +0 -231
  960. package/cdn/chunks/chunk.JWEQ2GM5.js +0 -19
  961. package/cdn/chunks/chunk.K7EC2QO6.js +0 -145
  962. package/cdn/chunks/chunk.KCLJIVSE.js +0 -60
  963. package/cdn/chunks/chunk.KEXZGUQN.js +0 -19
  964. package/cdn/chunks/chunk.KFAY3AAP.js +0 -19
  965. package/cdn/chunks/chunk.KKHOQMCP.js +0 -19
  966. package/cdn/chunks/chunk.KLHKIEFR.js +0 -29
  967. package/cdn/chunks/chunk.L75PJFAL.js +0 -29
  968. package/cdn/chunks/chunk.L7YV27S6.js +0 -19
  969. package/cdn/chunks/chunk.LBABTGAS.js +0 -146
  970. package/cdn/chunks/chunk.LKTIVLAU.js +0 -47
  971. package/cdn/chunks/chunk.LXFTWXOV.js +0 -29
  972. package/cdn/chunks/chunk.LZJ3KUZ3.js +0 -19
  973. package/cdn/chunks/chunk.MEGOGKT6.js +0 -134
  974. package/cdn/chunks/chunk.MMUVQEIP.js +0 -83
  975. package/cdn/chunks/chunk.MYUULQOT.js +0 -538
  976. package/cdn/chunks/chunk.NJPRE2SS.js +0 -37
  977. package/cdn/chunks/chunk.NLXOFVES.js +0 -85
  978. package/cdn/chunks/chunk.NQ4GG7TD.js +0 -29
  979. package/cdn/chunks/chunk.NSRAVHBY.js +0 -29
  980. package/cdn/chunks/chunk.O6HASOHR.js +0 -19
  981. package/cdn/chunks/chunk.OAFP43OF.js +0 -302
  982. package/cdn/chunks/chunk.OZHLTGMH.js +0 -55346
  983. package/cdn/chunks/chunk.P32GFSGR.js +0 -62
  984. package/cdn/chunks/chunk.P4P52CEF.js +0 -234
  985. package/cdn/chunks/chunk.PDOV4E5N.js +0 -375
  986. package/cdn/chunks/chunk.PHOAPIHQ.js +0 -19
  987. package/cdn/chunks/chunk.PKXN5OOU.js +0 -29
  988. package/cdn/chunks/chunk.PM64E5LE.js +0 -278
  989. package/cdn/chunks/chunk.PRWVQUGW.js +0 -165
  990. package/cdn/chunks/chunk.QAENJTBJ.js +0 -19
  991. package/cdn/chunks/chunk.QHH26OJS.js +0 -155
  992. package/cdn/chunks/chunk.QIXBAY6V.js +0 -33
  993. package/cdn/chunks/chunk.QJ2I4KIQ.js +0 -224
  994. package/cdn/chunks/chunk.QJ5QKGXV.js +0 -19
  995. package/cdn/chunks/chunk.QTVYZYDT.js +0 -29
  996. package/cdn/chunks/chunk.QWLLB44M.js +0 -19
  997. package/cdn/chunks/chunk.R2LK7SNC.js +0 -56
  998. package/cdn/chunks/chunk.R6LEPKVA.js +0 -19
  999. package/cdn/chunks/chunk.RXJOFC36.js +0 -19
  1000. package/cdn/chunks/chunk.RYKFP3WL.js +0 -68
  1001. package/cdn/chunks/chunk.S2F2564D.js +0 -77
  1002. package/cdn/chunks/chunk.S3K4NMB3.js +0 -104
  1003. package/cdn/chunks/chunk.SC6LYTWL.js +0 -190
  1004. package/cdn/chunks/chunk.SDVDBP7O.js +0 -32
  1005. package/cdn/chunks/chunk.SEQFSNN4.js +0 -33
  1006. package/cdn/chunks/chunk.SIIB4WFQ.js +0 -19
  1007. package/cdn/chunks/chunk.SJR4SXU4.js +0 -19
  1008. package/cdn/chunks/chunk.SJVQASHW.js +0 -33869
  1009. package/cdn/chunks/chunk.SNHL23LZ.js +0 -33
  1010. package/cdn/chunks/chunk.SVGVZCGA.js +0 -19
  1011. package/cdn/chunks/chunk.SXICRS6V.js +0 -19
  1012. package/cdn/chunks/chunk.T4OKS2DZ.js +0 -29
  1013. package/cdn/chunks/chunk.TAWZUB2D.js +0 -616
  1014. package/cdn/chunks/chunk.TJN5EHVN.js +0 -19
  1015. package/cdn/chunks/chunk.TLZAPLTZ.js +0 -230
  1016. package/cdn/chunks/chunk.TWOOSYEE.js +0 -19
  1017. package/cdn/chunks/chunk.U6S43WN5.js +0 -19
  1018. package/cdn/chunks/chunk.U7AVIRNM.js +0 -29
  1019. package/cdn/chunks/chunk.UJBJMJRL.js +0 -106
  1020. package/cdn/chunks/chunk.UJWZ4J2G.js +0 -29
  1021. package/cdn/chunks/chunk.UMMQ2YUX.js +0 -49
  1022. package/cdn/chunks/chunk.UO7OZ7OO.js +0 -36
  1023. package/cdn/chunks/chunk.UPNDFQWX.js +0 -2225
  1024. package/cdn/chunks/chunk.UWKRZT5O.js +0 -19
  1025. package/cdn/chunks/chunk.UYENPC3S.js +0 -357
  1026. package/cdn/chunks/chunk.V2DCOUEK.js +0 -188
  1027. package/cdn/chunks/chunk.V2KJPY7I.js +0 -29
  1028. package/cdn/chunks/chunk.V4X5FDK4.js +0 -276
  1029. package/cdn/chunks/chunk.VA2JWVUG.js +0 -113
  1030. package/cdn/chunks/chunk.VMXK4KER.js +0 -19
  1031. package/cdn/chunks/chunk.VOC3X5OA.js +0 -29
  1032. package/cdn/chunks/chunk.VZU77MYC.js +0 -19
  1033. package/cdn/chunks/chunk.W437TB2N.js +0 -33
  1034. package/cdn/chunks/chunk.W7KGVFJQ.js +0 -52
  1035. package/cdn/chunks/chunk.WAQPOIY5.js +0 -29
  1036. package/cdn/chunks/chunk.WJVXVFAT.js +0 -32
  1037. package/cdn/chunks/chunk.WKDKVHQJ.js +0 -19
  1038. package/cdn/chunks/chunk.WYGBTBWC.js +0 -287
  1039. package/cdn/chunks/chunk.WZARQJQ2.js +0 -19
  1040. package/cdn/chunks/chunk.XAW4QMPU.js +0 -19
  1041. package/cdn/chunks/chunk.XCAUHP7C.js +0 -34
  1042. package/cdn/chunks/chunk.XJRNXPZS.js +0 -493
  1043. package/cdn/chunks/chunk.XNKB3ERT.js +0 -19
  1044. package/cdn/chunks/chunk.XTQQNWK6.js +0 -32
  1045. package/cdn/chunks/chunk.Y5ILAS42.js +0 -435
  1046. package/cdn/chunks/chunk.YISZNUYH.js +0 -32
  1047. package/cdn/chunks/chunk.YLK7PBY6.js +0 -19
  1048. package/cdn/chunks/chunk.YNAGUPSL.js +0 -1966
  1049. package/cdn/chunks/chunk.YRAZYEY6.js +0 -158
  1050. package/cdn/chunks/chunk.YS2M7OUV.js +0 -19
  1051. package/cdn/chunks/chunk.YTRA44CP.js +0 -1224
  1052. package/cdn/chunks/chunk.YWMO5CYY.js +0 -74
  1053. package/cdn/chunks/chunk.Z3PGBEPN.js +0 -599
  1054. package/cdn/chunks/chunk.Z4AOMRTY.js +0 -19
  1055. package/cdn/chunks/chunk.ZAISFV66.js +0 -264
  1056. package/cdn/chunks/chunk.ZE32JWMO.js +0 -19
  1057. package/cdn/chunks/chunk.ZFRBMO23.js +0 -19
  1058. package/cdn/chunks/chunk.ZJZRTDCI.js +0 -29
  1059. package/cdn/chunks/chunk.ZQC4DWU5.js +0 -29
  1060. package/cdn/chunks/chunk.ZQVTH76A.js +0 -29
  1061. package/cdn/chunks/chunk.ZTIOE2ND.js +0 -29
  1062. package/cdn/chunks/chunk.ZWBGF5IE.js +0 -60
  1063. package/dist/chunks/chunk.2ANMQFJ4.js +0 -21
  1064. package/dist/chunks/chunk.2B3XGCJP.js +0 -21
  1065. package/dist/chunks/chunk.2EDS77WI.js +0 -11
  1066. package/dist/chunks/chunk.2FTQWXVI.js +0 -11
  1067. package/dist/chunks/chunk.2JK6ZAHX.js +0 -24
  1068. package/dist/chunks/chunk.2JLEP7WV.js +0 -135
  1069. package/dist/chunks/chunk.2KTQMIDH.js +0 -474
  1070. package/dist/chunks/chunk.2M2C5XW7.js +0 -11
  1071. package/dist/chunks/chunk.2OMXG6QD.js +0 -11
  1072. package/dist/chunks/chunk.2ST4WVQN.js +0 -11
  1073. package/dist/chunks/chunk.2V3IA7AN.js +0 -11
  1074. package/dist/chunks/chunk.2ZK53E32.js +0 -21
  1075. package/dist/chunks/chunk.3CS4SHZC.js +0 -24
  1076. package/dist/chunks/chunk.3KLCTNFP.js +0 -29
  1077. package/dist/chunks/chunk.3PMRYAJZ.js +0 -27
  1078. package/dist/chunks/chunk.3RLSNGDP.js +0 -20
  1079. package/dist/chunks/chunk.43IMTXNY.js +0 -11
  1080. package/dist/chunks/chunk.4LZ4DUDB.js +0 -720
  1081. package/dist/chunks/chunk.4SRSZ64S.js +0 -844
  1082. package/dist/chunks/chunk.4Z7LBUW6.js +0 -443
  1083. package/dist/chunks/chunk.5EALSVRW.js +0 -422
  1084. package/dist/chunks/chunk.5FAZJWFQ.js +0 -345
  1085. package/dist/chunks/chunk.5FIKGOOU.js +0 -11
  1086. package/dist/chunks/chunk.5KL7PLGM.js +0 -24
  1087. package/dist/chunks/chunk.5SMRHQ23.js +0 -262
  1088. package/dist/chunks/chunk.64NZFI6G.js +0 -25
  1089. package/dist/chunks/chunk.66BWREPD.js +0 -89
  1090. package/dist/chunks/chunk.67FOSYOY.js +0 -61
  1091. package/dist/chunks/chunk.6BTIRLS4.js +0 -494
  1092. package/dist/chunks/chunk.6JWHPMOL.js +0 -43
  1093. package/dist/chunks/chunk.6KZPGAUU.js +0 -277
  1094. package/dist/chunks/chunk.6ODK2VJU.js +0 -11
  1095. package/dist/chunks/chunk.6OWWYTVJ.js +0 -139
  1096. package/dist/chunks/chunk.6V5NQDVJ.js +0 -11
  1097. package/dist/chunks/chunk.76QXQJJA.js +0 -11
  1098. package/dist/chunks/chunk.7AH6EKOQ.js +0 -477
  1099. package/dist/chunks/chunk.7FPD4K27.js +0 -230
  1100. package/dist/chunks/chunk.7ILUKA4M.js +0 -525
  1101. package/dist/chunks/chunk.7JEMYKMQ.js +0 -27
  1102. package/dist/chunks/chunk.7MF2CYC7.js +0 -11
  1103. package/dist/chunks/chunk.7SMNRGXD.js +0 -123
  1104. package/dist/chunks/chunk.7W3PFQDU.js +0 -28
  1105. package/dist/chunks/chunk.A2IMSLAM.js +0 -21
  1106. package/dist/chunks/chunk.A42TZYSR.js +0 -78
  1107. package/dist/chunks/chunk.A7S2XBR4.js +0 -91
  1108. package/dist/chunks/chunk.AB5ZMWTR.js +0 -25
  1109. package/dist/chunks/chunk.ABQ5SKZI.js +0 -24
  1110. package/dist/chunks/chunk.AQ7D47XH.js +0 -11
  1111. package/dist/chunks/chunk.AVXYOGLQ.js +0 -11
  1112. package/dist/chunks/chunk.B2ZB7WBO.js +0 -29
  1113. package/dist/chunks/chunk.B4CO7KZS.js +0 -21
  1114. package/dist/chunks/chunk.B65EMJX6.js +0 -21
  1115. package/dist/chunks/chunk.BADHWJPB.js +0 -230
  1116. package/dist/chunks/chunk.BDQWXKQP.js +0 -11
  1117. package/dist/chunks/chunk.BFWW4FQR.js +0 -11
  1118. package/dist/chunks/chunk.BJDVG6P4.js +0 -234
  1119. package/dist/chunks/chunk.BL3RC3NY.js +0 -247
  1120. package/dist/chunks/chunk.BT7HPCEV.js +0 -1133
  1121. package/dist/chunks/chunk.C2GCFZIA.js +0 -43
  1122. package/dist/chunks/chunk.CERMDF55.js +0 -176
  1123. package/dist/chunks/chunk.CGVPVXTX.js +0 -76
  1124. package/dist/chunks/chunk.CL554ZTN.js +0 -2210
  1125. package/dist/chunks/chunk.CRCCJDPB.js +0 -52
  1126. package/dist/chunks/chunk.CWS5UNLN.js +0 -24
  1127. package/dist/chunks/chunk.CXKVKZAT.js +0 -21
  1128. package/dist/chunks/chunk.CZKGOZBR.js +0 -21
  1129. package/dist/chunks/chunk.D4HKM4BD.js +0 -24
  1130. package/dist/chunks/chunk.DDZOBF6U.js +0 -97
  1131. package/dist/chunks/chunk.DLYI2NFI.js +0 -355
  1132. package/dist/chunks/chunk.DOYQTOTG.js +0 -2300
  1133. package/dist/chunks/chunk.DRD5K4ZA.js +0 -28
  1134. package/dist/chunks/chunk.DTRE2LA7.js +0 -21
  1135. package/dist/chunks/chunk.DZTB26BO.js +0 -21
  1136. package/dist/chunks/chunk.EBHNLEDS.js +0 -11
  1137. package/dist/chunks/chunk.EFOIGG4J.js +0 -11
  1138. package/dist/chunks/chunk.EJ6ZUMCI.js +0 -21
  1139. package/dist/chunks/chunk.EOW57DGX.js +0 -11
  1140. package/dist/chunks/chunk.EPWFNMMQ.js +0 -28
  1141. package/dist/chunks/chunk.EQ62D7RW.js +0 -11
  1142. package/dist/chunks/chunk.ETBKTWEW.js +0 -11
  1143. package/dist/chunks/chunk.FCI3B5PM.js +0 -11
  1144. package/dist/chunks/chunk.FPKW4HNF.js +0 -101
  1145. package/dist/chunks/chunk.FSNKANRN.js +0 -21
  1146. package/dist/chunks/chunk.FWZUHYXY.js +0 -11
  1147. package/dist/chunks/chunk.G24FAMYT.js +0 -245
  1148. package/dist/chunks/chunk.G4QA4SSD.js +0 -112
  1149. package/dist/chunks/chunk.GOZYOSGP.js +0 -11
  1150. package/dist/chunks/chunk.GPWLUWAH.js +0 -25
  1151. package/dist/chunks/chunk.GQT373WX.js +0 -11
  1152. package/dist/chunks/chunk.H3DIQWAZ.js +0 -21
  1153. package/dist/chunks/chunk.HABSD5WX.js +0 -11
  1154. package/dist/chunks/chunk.HBFI75EO.js +0 -26
  1155. package/dist/chunks/chunk.HBVGLN6J.js +0 -21
  1156. package/dist/chunks/chunk.HLQNPW2B.js +0 -180
  1157. package/dist/chunks/chunk.HNQZMZDK.js +0 -52
  1158. package/dist/chunks/chunk.HS2AS3KR.js +0 -21
  1159. package/dist/chunks/chunk.HSSBAR3V.js +0 -11
  1160. package/dist/chunks/chunk.HTZCYJPN.js +0 -11
  1161. package/dist/chunks/chunk.HUOOKVSC.js +0 -27
  1162. package/dist/chunks/chunk.I55ABPPU.js +0 -74
  1163. package/dist/chunks/chunk.I5S7VMNW.js +0 -409
  1164. package/dist/chunks/chunk.I6VINFNV.js +0 -180
  1165. package/dist/chunks/chunk.IEIPNC7C.js +0 -11
  1166. package/dist/chunks/chunk.IGGGETAB.js +0 -180
  1167. package/dist/chunks/chunk.INWDQT67.js +0 -732
  1168. package/dist/chunks/chunk.IQ3WHN3C.js +0 -11
  1169. package/dist/chunks/chunk.IQD73NGE.js +0 -39
  1170. package/dist/chunks/chunk.J3MO2NTY.js +0 -11
  1171. package/dist/chunks/chunk.J53MSEZ6.js +0 -31
  1172. package/dist/chunks/chunk.JP5ESC3H.js +0 -214
  1173. package/dist/chunks/chunk.JX7WGPTU.js +0 -11
  1174. package/dist/chunks/chunk.JYB4QXY4.js +0 -592
  1175. package/dist/chunks/chunk.JZOQS3VV.js +0 -11
  1176. package/dist/chunks/chunk.KEXASARO.js +0 -24
  1177. package/dist/chunks/chunk.KJFH6JUY.js +0 -21
  1178. package/dist/chunks/chunk.KSVPP6MB.js +0 -596
  1179. package/dist/chunks/chunk.KY4GOJ4D.js +0 -85
  1180. package/dist/chunks/chunk.KYOU6GFE.js +0 -11
  1181. package/dist/chunks/chunk.L2IJKFHB.js +0 -21
  1182. package/dist/chunks/chunk.L2K33SBP.js +0 -11
  1183. package/dist/chunks/chunk.LALFP5BA.js +0 -21
  1184. package/dist/chunks/chunk.LIUUOC56.js +0 -124
  1185. package/dist/chunks/chunk.LQ62AWJV.js +0 -21
  1186. package/dist/chunks/chunk.M3NS4PVA.js +0 -11
  1187. package/dist/chunks/chunk.M5LGIIHQ.js +0 -21
  1188. package/dist/chunks/chunk.M5XLUDYR.js +0 -11
  1189. package/dist/chunks/chunk.MH6ZT2SE.js +0 -27
  1190. package/dist/chunks/chunk.MMTZYMPU.js +0 -365
  1191. package/dist/chunks/chunk.MQLTZKYS.js +0 -48
  1192. package/dist/chunks/chunk.NAOO3Y2C.js +0 -21
  1193. package/dist/chunks/chunk.NBHZJ5KL.js +0 -21
  1194. package/dist/chunks/chunk.NEWFIRAS.js +0 -11
  1195. package/dist/chunks/chunk.NFX3MKHA.js +0 -24
  1196. package/dist/chunks/chunk.NMOGBJVA.js +0 -11
  1197. package/dist/chunks/chunk.NNI5VQD3.js +0 -11
  1198. package/dist/chunks/chunk.NPG4Z7RX.js +0 -11
  1199. package/dist/chunks/chunk.NVHODLAG.js +0 -21
  1200. package/dist/chunks/chunk.NYHVFU6P.js +0 -21
  1201. package/dist/chunks/chunk.O3S5K3AP.js +0 -143
  1202. package/dist/chunks/chunk.ODW2SC3J.js +0 -264
  1203. package/dist/chunks/chunk.OFUJJYKR.js +0 -1037
  1204. package/dist/chunks/chunk.OIOD6WKF.js +0 -83
  1205. package/dist/chunks/chunk.OXUS6AWV.js +0 -11
  1206. package/dist/chunks/chunk.PGENV5B2.js +0 -11
  1207. package/dist/chunks/chunk.PKG2IX5P.js +0 -25
  1208. package/dist/chunks/chunk.PLVBAX7K.js +0 -11
  1209. package/dist/chunks/chunk.PN7XB7V2.js +0 -86
  1210. package/dist/chunks/chunk.PPWNIJSM.js +0 -21
  1211. package/dist/chunks/chunk.QB4YBDPO.js +0 -581
  1212. package/dist/chunks/chunk.QBKGBXWO.js +0 -11
  1213. package/dist/chunks/chunk.QDGFDNGX.js +0 -252
  1214. package/dist/chunks/chunk.QDYBG6MV.js +0 -11
  1215. package/dist/chunks/chunk.QHGSRGU6.js +0 -121
  1216. package/dist/chunks/chunk.QX7MBK3C.js +0 -11
  1217. package/dist/chunks/chunk.R6QSAML7.js +0 -21
  1218. package/dist/chunks/chunk.RGYYQDUV.js +0 -25
  1219. package/dist/chunks/chunk.RO4MUFVF.js +0 -67
  1220. package/dist/chunks/chunk.RRBKKYWU.js +0 -75
  1221. package/dist/chunks/chunk.S7BJBUGE.js +0 -24
  1222. package/dist/chunks/chunk.SLEQS7Q2.js +0 -11
  1223. package/dist/chunks/chunk.SLWT34ZG.js +0 -11
  1224. package/dist/chunks/chunk.SRE4C4D2.js +0 -24
  1225. package/dist/chunks/chunk.SRWFPP3W.js +0 -11
  1226. package/dist/chunks/chunk.STTQ7YY4.js +0 -21
  1227. package/dist/chunks/chunk.SU5KHWCD.js +0 -48
  1228. package/dist/chunks/chunk.SVSQUGOX.js +0 -11
  1229. package/dist/chunks/chunk.TDJ56I3Q.js +0 -28
  1230. package/dist/chunks/chunk.TQIB6NRA.js +0 -153
  1231. package/dist/chunks/chunk.UGOIQXRG.js +0 -11
  1232. package/dist/chunks/chunk.UJEZYIHG.js +0 -58
  1233. package/dist/chunks/chunk.UL6YVM7N.js +0 -145
  1234. package/dist/chunks/chunk.USPJIVXJ.js +0 -24
  1235. package/dist/chunks/chunk.UTTPWTFY.js +0 -24
  1236. package/dist/chunks/chunk.VAJ6RO6C.js +0 -11
  1237. package/dist/chunks/chunk.VJSTHFWD.js +0 -11
  1238. package/dist/chunks/chunk.VSUOMZH3.js +0 -24
  1239. package/dist/chunks/chunk.VT2J4KET.js +0 -11
  1240. package/dist/chunks/chunk.W2JNGNBS.js +0 -26
  1241. package/dist/chunks/chunk.WC3AMI6M.js +0 -64
  1242. package/dist/chunks/chunk.WFGWX2UR.js +0 -11
  1243. package/dist/chunks/chunk.WFSXOBIP.js +0 -33
  1244. package/dist/chunks/chunk.WHB35BIS.js +0 -451
  1245. package/dist/chunks/chunk.WKBGYLSO.js +0 -11
  1246. package/dist/chunks/chunk.WPMCISBB.js +0 -345
  1247. package/dist/chunks/chunk.WRSO2HXE.js +0 -93
  1248. package/dist/chunks/chunk.WVBNGI2U.js +0 -21
  1249. package/dist/chunks/chunk.WWU7U5TB.js +0 -11
  1250. package/dist/chunks/chunk.WXQQSB25.js +0 -11
  1251. package/dist/chunks/chunk.XDQPGAL5.js +0 -220
  1252. package/dist/chunks/chunk.XR75EBXL.js +0 -24
  1253. package/dist/chunks/chunk.XUEN7MZQ.js +0 -21
  1254. package/dist/chunks/chunk.XV4AJCSB.js +0 -11
  1255. package/dist/chunks/chunk.XWGMSTQ7.js +0 -280
  1256. package/dist/chunks/chunk.XZTZVISY.js +0 -91
  1257. package/dist/chunks/chunk.Y34EGQGE.js +0 -21
  1258. package/dist/chunks/chunk.YEUYEP6O.js +0 -609
  1259. package/dist/chunks/chunk.YLR7C6NK.js +0 -213
  1260. package/dist/chunks/chunk.YQGVUCOP.js +0 -272
  1261. package/dist/chunks/chunk.YT2XMMC5.js +0 -24
  1262. package/dist/chunks/chunk.Z6HFXKR5.js +0 -291
  1263. package/dist/chunks/chunk.Z6YCUGMQ.js +0 -67
  1264. package/dist/chunks/chunk.ZBWOSTXK.js +0 -1208
  1265. package/dist/chunks/chunk.ZKNQYPN4.js +0 -220
  1266. package/dist/chunks/chunk.ZY2PO6KK.js +0 -993
  1267. package/dist/chunks/chunk.ZZY4BYTX.js +0 -11
  1268. package/dist/terra_ui_components-0.0.170-py3-none-any.whl +0 -0
  1269. package/dist/terra_ui_components-0.0.170.tar.gz +0 -0
@@ -0,0 +1,2332 @@
1
+ import {
2
+ defaultSubsetFileMimeType,
3
+ getFriendlyNameForMimeType
4
+ } from "./chunk.KCZYTXMI.js";
5
+ import {
6
+ getNotebook
7
+ } from "./chunk.YEMVOBEF.js";
8
+ import {
9
+ TerraLogin
10
+ } from "./chunk.TANHGTQ7.js";
11
+ import {
12
+ TerraDialog
13
+ } from "./chunk.LRT2XG3L.js";
14
+ import {
15
+ DataSubsetterController
16
+ } from "./chunk.P4OWV3H2.js";
17
+ import {
18
+ convertVariableEntryIdToGiovanniFormat
19
+ } from "./chunk.VHQQMEMZ.js";
20
+ import {
21
+ data_subsetter_styles_default
22
+ } from "./chunk.WIVXANPA.js";
23
+ import {
24
+ TerraDataAccess,
25
+ debounce,
26
+ sendDataToJupyterNotebook
27
+ } from "./chunk.KA3H7JGW.js";
28
+ import {
29
+ TerraMenuItem
30
+ } from "./chunk.FPTZZYCQ.js";
31
+ import {
32
+ TerraMenu
33
+ } from "./chunk.KU7DMHGO.js";
34
+ import {
35
+ TerraDatePicker
36
+ } from "./chunk.CY32PXBP.js";
37
+ import {
38
+ extractHarmonyError
39
+ } from "./chunk.JDBB7GR4.js";
40
+ import {
41
+ AuthController
42
+ } from "./chunk.PBKMNUYF.js";
43
+ import {
44
+ TerraSpatialPicker
45
+ } from "./chunk.QMBFLUKN.js";
46
+ import {
47
+ TerraInput
48
+ } from "./chunk.QGVWP6VG.js";
49
+ import {
50
+ TerraDropdown
51
+ } from "./chunk.AW74RV3M.js";
52
+ import {
53
+ TerraLoader
54
+ } from "./chunk.K4A2NEU3.js";
55
+ import {
56
+ TerraButton
57
+ } from "./chunk.ZNGF37XN.js";
58
+ import {
59
+ s
60
+ } from "./chunk.WQPCK3PB.js";
61
+ import {
62
+ TerraAccordion
63
+ } from "./chunk.XWR4HUTF.js";
64
+ import {
65
+ TerraIcon
66
+ } from "./chunk.MQD7Z7N3.js";
67
+ import {
68
+ getBasePath
69
+ } from "./chunk.STI7JX26.js";
70
+ import {
71
+ TerraAlert
72
+ } from "./chunk.I2UYPPHL.js";
73
+ import {
74
+ watch
75
+ } from "./chunk.5WMSKURU.js";
76
+ import {
77
+ TerraElement,
78
+ component_styles_default,
79
+ e,
80
+ n,
81
+ r
82
+ } from "./chunk.7F5GSKQM.js";
83
+ import {
84
+ E,
85
+ x
86
+ } from "./chunk.3ZQGAH53.js";
87
+ import {
88
+ __decorateClass,
89
+ __privateAdd,
90
+ __privateGet,
91
+ __privateMethod,
92
+ __spreadProps,
93
+ __spreadValues,
94
+ init_buffer,
95
+ init_dirname,
96
+ init_process
97
+ } from "./chunk.CZA6CSBG.js";
98
+
99
+ // src/components/data-subsetter/data-subsetter.component.ts
100
+ init_dirname();
101
+ init_buffer();
102
+ init_process();
103
+ var _authController, _renderFooterForDialog, renderFooterForDialog_fn, _renderSizeInfo, renderSizeInfo_fn, _renderSubsetOptions, renderSubsetOptions_fn, _resetAllParameters, _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;
104
+ var TerraDataSubsetter = class extends TerraElement {
105
+ constructor() {
106
+ super(...arguments);
107
+ __privateAdd(this, _renderFooterForDialog);
108
+ __privateAdd(this, _renderSizeInfo);
109
+ __privateAdd(this, _renderSubsetOptions);
110
+ __privateAdd(this, _renderSearchForCollection);
111
+ __privateAdd(this, _renderOutputFormatSelection);
112
+ __privateAdd(this, _renderDateRangeSelection);
113
+ __privateAdd(this, _getCollectionDateRange);
114
+ __privateAdd(this, _handleRegionAccordionToggle);
115
+ __privateAdd(this, _renderSpatialSelection);
116
+ __privateAdd(this, _renderVariableSelection);
117
+ __privateAdd(this, _filterVariableTree);
118
+ __privateAdd(this, _handleVariableFilterChange);
119
+ __privateAdd(this, _buildVariableTree);
120
+ __privateAdd(this, _renderVariableTree);
121
+ __privateAdd(this, _getAllGroupPaths);
122
+ __privateAdd(this, _toggleGroupExpand);
123
+ __privateAdd(this, _toggleExpandCollapseAll);
124
+ __privateAdd(this, _toggleVariableSelection);
125
+ __privateAdd(this, _markFieldTouched);
126
+ __privateAdd(this, _renderJobStatus);
127
+ __privateAdd(this, _renderSelectedParams);
128
+ __privateAdd(this, _cancelJob);
129
+ __privateAdd(this, _getData);
130
+ __privateAdd(this, _touchAllFields);
131
+ __privateAdd(this, _numberOfFilesFoundEstimate);
132
+ __privateAdd(this, _getDocumentationLinks);
133
+ __privateAdd(this, _getDataLinks);
134
+ __privateAdd(this, _hasAtLeastOneSubsetOption);
135
+ __privateAdd(this, _hasSpatialSubset);
136
+ __privateAdd(this, _renderJobMessage);
137
+ __privateAdd(this, _getJobMessageText);
138
+ __privateAdd(this, _estimateJobSize);
139
+ __privateAdd(this, _refineParameters);
140
+ __privateAdd(this, _backToSubsetOptions);
141
+ __privateAdd(this, _viewRunningJob);
142
+ __privateAdd(this, _handleDownloadSelect);
143
+ __privateAdd(this, _downloadLinksAsTxt);
144
+ __privateAdd(this, _downloadPythonScript);
145
+ __privateAdd(this, _downloadEarthdataDownload);
146
+ __privateAdd(this, _handleJupyterNotebookClick);
147
+ __privateAdd(this, _renderAvailableTemporalRangeSection);
148
+ __privateAdd(this, _renderAvailableSpatialRangeSection);
149
+ __privateAdd(this, _renderDataAccessModeSelection);
150
+ __privateAdd(this, _isGiovanniFormat);
151
+ __privateAdd(this, _getGiovanniValidationError);
152
+ this.showCollectionSearch = true;
153
+ this.showHistoryPanel = true;
154
+ this.isHistoryView = false;
155
+ this.selectedVariables = [];
156
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
157
+ this.variableFilterText = "";
158
+ this.touchedFields = /* @__PURE__ */ new Set();
159
+ this.spatialSelection = null;
160
+ this.selectedDateRange = {
161
+ startDate: null,
162
+ endDate: null
163
+ };
164
+ this.selectedFormat = defaultSubsetFileMimeType;
165
+ this.cancelingGetData = false;
166
+ this.selectedTab = "web-links";
167
+ this.refineParameters = false;
168
+ this.collectionSearchType = "all";
169
+ this.collectionSearchLoading = false;
170
+ this.collectionLoading = false;
171
+ this.collectionAccordionOpen = true;
172
+ this.dataAccessMode = "original";
173
+ this.controller = new DataSubsetterController(this);
174
+ __privateAdd(this, _authController, new AuthController(this));
175
+ __privateAdd(this, _resetAllParameters, () => {
176
+ this.selectedVariables = [];
177
+ if (__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this)) {
178
+ __privateGet(this, _resetSpatialSelection).call(this);
179
+ }
180
+ this.selectedDateRange = {
181
+ startDate: null,
182
+ endDate: null
183
+ };
184
+ this.touchedFields = /* @__PURE__ */ new Set();
185
+ this.validationError = void 0;
186
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
187
+ this.requestUpdate();
188
+ });
189
+ __privateAdd(this, _handleDateChange, (e2) => {
190
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
191
+ this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
192
+ startDate: e2.detail.startDate,
193
+ endDate: e2.detail.endDate
194
+ });
195
+ });
196
+ __privateAdd(this, _resetDateRangeSelection, () => {
197
+ this.selectedDateRange = { startDate: null, endDate: null };
198
+ });
199
+ __privateAdd(this, _resetFormatSelection, () => {
200
+ var _a, _b;
201
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
202
+ const netcdfFormat = this.collectionWithServices.outputFormats.find(
203
+ (format) => format === "application/x-netcdf4" || format === "application/netcdf"
204
+ );
205
+ this.selectedFormat = netcdfFormat || this.collectionWithServices.outputFormats[0];
206
+ } else {
207
+ this.selectedFormat = defaultSubsetFileMimeType;
208
+ }
209
+ });
210
+ __privateAdd(this, _handleSpatialChange, (e2) => {
211
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
212
+ const round2 = (n2) => parseFloat(Number(n2).toFixed(2));
213
+ if (e2.detail.type === "bbox" /* BBOX */) {
214
+ this.spatialSelection = {
215
+ e: round2(e2.detail.bounds.getNorthEast().lng),
216
+ n: round2(e2.detail.bounds.getNorthEast().lat),
217
+ w: round2(e2.detail.bounds.getSouthWest().lng),
218
+ s: round2(e2.detail.bounds.getSouthWest().lat)
219
+ };
220
+ } else if (e2.detail.type === "point" /* POINT */) {
221
+ this.spatialSelection = e2.detail.latLng;
222
+ } else {
223
+ this.spatialSelection = null;
224
+ }
225
+ });
226
+ __privateAdd(this, _resetSpatialSelection, () => {
227
+ var _a, _b, _c, _d, _e;
228
+ const spatial_constraints = (_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;
229
+ if (!spatial_constraints) {
230
+ this.spatialSelection = null;
231
+ return;
232
+ }
233
+ const normalized = Array.isArray(spatial_constraints) ? spatial_constraints : [spatial_constraints];
234
+ const rect = normalized[0];
235
+ this.spatialSelection = {
236
+ w: Number(rect.WestBoundingCoordinate),
237
+ s: Number(rect.SouthBoundingCoordinate),
238
+ e: Number(rect.EastBoundingCoordinate),
239
+ n: Number(rect.NorthBoundingCoordinate)
240
+ };
241
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
242
+ });
243
+ __privateAdd(this, _resetVariableSelection, () => {
244
+ this.selectedVariables = [];
245
+ });
246
+ }
247
+ jobIdChanged() {
248
+ if (this.jobId) {
249
+ this.controller.fetchJobByID(this.jobId);
250
+ this.dataAccessMode = "subset";
251
+ }
252
+ }
253
+ shortNameAndVersionChanged() {
254
+ if (this.shortName && this.version) {
255
+ this.collectionEntryId = `${this.shortName}_${this.version}`;
256
+ }
257
+ }
258
+ collectionEntryIdChanged() {
259
+ if (this.collectionEntryId) {
260
+ this.showCollectionSearch = false;
261
+ } else {
262
+ this.showCollectionSearch = true;
263
+ }
264
+ }
265
+ firstUpdated() {
266
+ if (this.collectionEntryId) {
267
+ this.showCollectionSearch = false;
268
+ }
269
+ if (this.jobId) {
270
+ this.controller.fetchJobByID(this.jobId);
271
+ this.dataAccessMode = "subset";
272
+ }
273
+ this.renderHistoryPanel();
274
+ }
275
+ updated(changedProps) {
276
+ var _a, _b, _c, _d;
277
+ super.updated(changedProps);
278
+ const taskStatus = (_b = (_a = this.controller) == null ? void 0 : _a.jobStatusTask) == null ? void 0 : _b.status;
279
+ if (taskStatus === s.ERROR) {
280
+ const taskError = (_d = (_c = this.controller) == null ? void 0 : _c.jobStatusTask) == null ? void 0 : _d.error;
281
+ if (taskError) {
282
+ const errorDetails = extractHarmonyError(taskError);
283
+ if (errorDetails.isCancellation) {
284
+ return;
285
+ }
286
+ if (this.controller.currentJob) {
287
+ this.controller.currentJob = __spreadProps(__spreadValues({}, this.controller.currentJob), {
288
+ status: "failed" /* FAILED */,
289
+ message: errorDetails.message || "Failed to create subset job"
290
+ });
291
+ }
292
+ }
293
+ }
294
+ }
295
+ collectionChanged() {
296
+ var _a;
297
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
298
+ this.selectedDateRange = { startDate, endDate };
299
+ const formats = Array.from(
300
+ new Set(((_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) || [])
301
+ );
302
+ const hasNetcdf4 = formats.includes("application/x-netcdf4");
303
+ const hasNetcdfClassic = formats.includes("application/netcdf");
304
+ let displayFormats = formats;
305
+ if (hasNetcdf4 && hasNetcdfClassic) {
306
+ displayFormats = formats.filter((f) => f !== "application/netcdf");
307
+ }
308
+ if (displayFormats.length === 1) {
309
+ this.selectedFormat = displayFormats[0];
310
+ } else {
311
+ this.selectedFormat = displayFormats.find((f) => f === "application/x-netcdf4") || displayFormats[0];
312
+ }
313
+ this.collectionLoading = false;
314
+ this.collectionAccordionOpen = false;
315
+ }
316
+ granuleDatesChanged() {
317
+ const newRange = __spreadValues(__spreadValues({}, this.granuleMinDate && { startDate: this.granuleMinDate }), this.granuleMaxDate && { endDate: this.granuleMaxDate });
318
+ if (Object.keys(newRange).length > 0) {
319
+ this.selectedDateRange = __spreadValues(__spreadValues({}, this.selectedDateRange), newRange);
320
+ }
321
+ }
322
+ selectedFormatChanged() {
323
+ if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.selectedVariables.length > 1) {
324
+ this.selectedVariables = [this.selectedVariables[0]];
325
+ }
326
+ }
327
+ showDialog() {
328
+ var _a;
329
+ (_a = this.dialogElement) == null ? void 0 : _a.show();
330
+ }
331
+ render() {
332
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
333
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
334
+ const showMinimizeButton = showJobStatus && !!this.dialog;
335
+ const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
336
+ if (!this.collectionWithServices) {
337
+ if (this.controller.fetchCollectionTask.status === s.ERROR) {
338
+ return x`
339
+ <terra-alert open variant="danger" appearance="white">
340
+ Failed to find the requested collection.
341
+ </terra-alert>
342
+ `;
343
+ }
344
+ }
345
+ const content = x`
346
+ <div class="container">
347
+ ${!this.dialog ? x`
348
+ <div class="header">
349
+ <h1>
350
+ <svg
351
+ class="download-icon"
352
+ viewBox="0 0 24 24"
353
+ fill="currentColor"
354
+ >
355
+ <path
356
+ d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
357
+ />
358
+ </svg>
359
+ ${title}
360
+ </h1>
361
+
362
+ ${showMinimizeButton ? x`<button
363
+ class="minimize-btn"
364
+ @click=${() => this.minimizeDialog()}
365
+ >
366
+ -
367
+ </button>` : E}
368
+ </div>
369
+ ` : E}
370
+ ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? x`
371
+ <div class="section">
372
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
373
+ </div>
374
+ ` : E}
375
+ ${this.dataAccessMode === "original" ? x`
376
+ <div class="section">
377
+ <terra-data-access
378
+ short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
379
+ version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
380
+ ?footer-slot=${!!this.dialog}
381
+ >
382
+ ${this.dialog ? x`
383
+ <div
384
+ slot="footer"
385
+ style="margin-top: 15px;"
386
+ >
387
+ <slot
388
+ name="data-access-footer"
389
+ ></slot>
390
+ </div>
391
+ ` : E}
392
+ </terra-data-access>
393
+ </div>
394
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
395
+ </div>
396
+ `;
397
+ if (this.dialog) {
398
+ return x`
399
+ <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
400
+ <span
401
+ slot="label"
402
+ style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
403
+ >
404
+ <svg
405
+ class="download-icon"
406
+ viewBox="0 0 24 24"
407
+ fill="currentColor"
408
+ style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
409
+ >
410
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
411
+ </svg>
412
+ ${title}
413
+ </span>
414
+ ${showMinimizeButton ? x`
415
+ <button
416
+ slot="header-actions"
417
+ class="minimize-btn"
418
+ @click=${() => {
419
+ var _a2;
420
+ return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
421
+ }}
422
+ aria-label="Minimize"
423
+ >
424
+ -
425
+ </button>
426
+ ` : E}
427
+ ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
428
+ </terra-dialog>
429
+ `;
430
+ }
431
+ return x`
432
+ <div class="container">
433
+ <div class="header">
434
+ <h1>
435
+ <svg
436
+ class="download-icon"
437
+ viewBox="0 0 24 24"
438
+ fill="currentColor"
439
+ >
440
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
441
+ </svg>
442
+ ${title}
443
+ </h1>
444
+
445
+ ${showMinimizeButton ? x`<button
446
+ class="minimize-btn"
447
+ @click=${() => this.minimizeDialog()}
448
+ >
449
+ -
450
+ </button>` : E}
451
+ </div>
452
+ ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? x`
453
+ <div class="section">
454
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
455
+ </div>
456
+ ` : E}
457
+ ${this.dataAccessMode === "original" ? x`
458
+ <div class="section">
459
+ <terra-data-access
460
+ short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
461
+ version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
462
+ ?footer-slot=${!!this.dialog}
463
+ >
464
+ ${this.dialog ? x`
465
+ <div
466
+ slot="footer"
467
+ style="margin-top: 15px;"
468
+ >
469
+ <slot
470
+ name="data-access-footer"
471
+ ></slot>
472
+ </div>
473
+ ` : E}
474
+ </terra-data-access>
475
+ </div>
476
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
477
+ </div>
478
+ `;
479
+ }
480
+ minimizeDialog() {
481
+ var _a;
482
+ (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
483
+ }
484
+ handleCollectionSearch(searchTerm) {
485
+ this.collectionSearchQuery = searchTerm;
486
+ }
487
+ isLatLng(value) {
488
+ return value && typeof value.lat === "number" && typeof value.lng === "number";
489
+ }
490
+ isLatLngBounds(value) {
491
+ return value && typeof value.getSouthWest === "function" && typeof value.getNorthEast === "function";
492
+ }
493
+ renderHistoryPanel() {
494
+ const existingHistoryPanel = document.querySelector(
495
+ "terra-data-subsetter-history"
496
+ );
497
+ if (!existingHistoryPanel && this.bearerToken) {
498
+ const historyPanel = document.createElement(
499
+ "terra-data-subsetter-history"
500
+ );
501
+ if (this.bearerToken) {
502
+ historyPanel.setAttribute("bearer-token", this.bearerToken);
503
+ }
504
+ if (this.environment) {
505
+ historyPanel.setAttribute("environment", this.environment);
506
+ }
507
+ document.body.appendChild(historyPanel);
508
+ }
509
+ }
510
+ };
511
+ _authController = new WeakMap();
512
+ _renderFooterForDialog = new WeakSet();
513
+ renderFooterForDialog_fn = function() {
514
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
515
+ if (showJobStatus && this.controller.currentJob) {
516
+ return x`
517
+ <div slot="footer" class="footer">
518
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? x`
519
+ <div
520
+ style="display: flex; align-items: center; gap: 8px;"
521
+ >
522
+ <terra-dropdown
523
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
524
+ >
525
+ <terra-button slot="trigger" caret>
526
+ Download Options
527
+ </terra-button>
528
+ <terra-menu>
529
+ <terra-menu-item value="file-list">
530
+ <svg
531
+ slot="prefix"
532
+ viewBox="0 0 24 24"
533
+ width="16"
534
+ height="16"
535
+ style="width: 16px; height: 16px;"
536
+ >
537
+ <path
538
+ fill="currentColor"
539
+ 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"
540
+ />
541
+ </svg>
542
+ File List
543
+ </terra-menu-item>
544
+ <terra-menu-item value="python-script">
545
+ <svg
546
+ slot="prefix"
547
+ viewBox="0 0 128 128"
548
+ width="16"
549
+ height="16"
550
+ style="width: 16px; height: 16px;"
551
+ >
552
+ <path
553
+ fill="currentColor"
554
+ 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"
555
+ ></path>
556
+ </svg>
557
+ Python Script
558
+ </terra-menu-item>
559
+ <terra-menu-item value="earthdata-download">
560
+ <svg
561
+ slot="prefix"
562
+ viewBox="0 0 64 64"
563
+ fill="none"
564
+ width="16"
565
+ height="16"
566
+ style="width: 16px; height: 16px;"
567
+ >
568
+ <circle
569
+ cx="32"
570
+ cy="32"
571
+ r="28"
572
+ fill="currentColor"
573
+ />
574
+ <path
575
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
576
+ stroke="#fff"
577
+ stroke-width="4"
578
+ stroke-linecap="round"
579
+ stroke-linejoin="round"
580
+ fill="none"
581
+ />
582
+ </svg>
583
+ Earthdata Download
584
+ </terra-menu-item>
585
+ </terra-menu>
586
+ </terra-dropdown>
587
+
588
+ <!--
589
+ <terra-button
590
+ outline
591
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
592
+ >
593
+ <terra-icon
594
+ name="outline-code-bracket"
595
+ library="heroicons"
596
+ font-size="1.5em"
597
+ style="margin-right: 5px;"
598
+ ></terra-icon>
599
+ Open in Jupyter Notebook
600
+ </terra-button>
601
+ -->
602
+ </div>
603
+ ` : E}
604
+ ${this.controller.currentJob.status === "running" ? x`<button
605
+ class="btn btn-success"
606
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
607
+ ?disabled=${this.cancelingGetData}
608
+ >
609
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
610
+ </button>` : E}
611
+
612
+ <div class="job-info">
613
+ Job ID:
614
+ <span class="job-id">
615
+ ${this.bearerToken ? x`<a
616
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
617
+ target="_blank"
618
+ >${this.controller.currentJob.jobID}</a
619
+ >` : this.controller.currentJob.jobID}
620
+ </span>
621
+ <span class="info-icon">?</span>
622
+ </div>
623
+ </div>
624
+ `;
625
+ } else if (this.dataAccessMode === "subset") {
626
+ return x`
627
+ <div slot="footer" class="footer">
628
+ <button class="btn btn-secondary" @click=${__privateGet(this, _resetAllParameters)}>Reset All</button>
629
+ <div>
630
+ <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
631
+ Get Data
632
+ </button>
633
+ ${this.jobId ? x`
634
+ <terra-button
635
+ variant="default"
636
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
637
+ >
638
+ View Running Job
639
+ </terra-button>
640
+ ` : E}
641
+ </div>
642
+ </div>
643
+ </div>
644
+ </div>
645
+ `;
646
+ }
647
+ return E;
648
+ };
649
+ _renderSizeInfo = new WeakSet();
650
+ renderSizeInfo_fn = function(estimates) {
651
+ if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
652
+ return x`
653
+ <div class="size-info warning">
654
+ <terra-login>
655
+ <h2 slot="logged-out">Limited access as a guest.</h2>
656
+
657
+ <p slot="logged-out">
658
+ Your results will be capped at 10 links. Log in for full
659
+ access to all data.
660
+ </p>
661
+ </terra-login>
662
+ </div>
663
+ `;
664
+ }
665
+ return x`<div
666
+ class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
667
+ >
668
+ <h2>Estimated size of results</h2>
669
+ <div class="size-stats">
670
+ ${estimates.days.toLocaleString()} days,
671
+ ${estimates.links.toLocaleString()} links
672
+ </div>
673
+ ${estimates.links >= 150 ? x`<div class="size-warning">
674
+ You are about to retrieve ${estimates.links.toLocaleString()}
675
+ file links from the archive. You may
676
+ <strong>speed up the request</strong> by limiting the scope of
677
+ your search.
678
+ </div>` : E}
679
+ </div>`;
680
+ };
681
+ _renderSubsetOptions = new WeakSet();
682
+ renderSubsetOptions_fn = function() {
683
+ var _a, _b, _c, _d, _e, _f, _g, _h;
684
+ const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
685
+ const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
686
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
687
+ const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
688
+ const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
689
+ const showTemporalSection = temporalExtents && temporalExtents.length;
690
+ const showSpatialSection = spatialExtent && ((_c = (_b = spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles);
691
+ return x`
692
+ ${this.dataAccessMode === "original" ? E : hasSubsetOption ? x`
693
+ ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : E}
694
+ ${this.showCollectionSearch ? x`
695
+ <div class="section">
696
+ <h2 class="section-title">
697
+ Select Data Collection
698
+ </h2>
699
+
700
+ ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
701
+ </div>
702
+ ` : E}
703
+ ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? x`
704
+ <div class="section">
705
+ <h2 class="section-title">Output Format</h2>
706
+
707
+ ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
708
+ </div>
709
+ ` : E}
710
+ <div class="section">
711
+ <h2 class="section-title">Subset Options</h2>
712
+ <p style="color: #666; margin-bottom: 16px;">
713
+ Generate file links that support spatial subsetting,
714
+ date/time range selection, and variable selection.
715
+ </p>
716
+
717
+ ${((_f = this.collectionWithServices) == null ? void 0 : _f.temporalSubset) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : E}
718
+ ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : E}
719
+ ${((_g = this.collectionWithServices) == null ? void 0 : _g.variableSubset) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : E}
720
+ </div>
721
+ ` : x`
722
+ ${showTemporalSection && !((_h = this.collectionWithServices) == null ? void 0 : _h.temporalSubset) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : E}
723
+ ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : E}
724
+ `}
725
+ ${!hasSubsetOption && estimates ? x`
726
+ <div
727
+ class="neutral-info"
728
+ style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
729
+ >
730
+ <strong>Estimated result size:</strong><br />
731
+ Your request will return approximately
732
+ <b>${estimates.links.toLocaleString()}</b> files covering
733
+ <b>${estimates.days.toLocaleString()}</b> days.
734
+ </div>
735
+ ` : E}
736
+ ${this.dataAccessMode === "subset" && !this.dialog ? x`
737
+ <div class="footer">
738
+ <button class="btn btn-secondary" @click=${__privateGet(this, _resetAllParameters)}>Reset All</button>
739
+ <div>
740
+ <button
741
+ class="btn btn-primary"
742
+ @click=${__privateMethod(this, _getData, getData_fn)}
743
+ >
744
+ Get Data
745
+ </button>
746
+ ${this.jobId ? x`
747
+ <terra-button
748
+ variant="default"
749
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
750
+ >
751
+ View Running Job
752
+ </terra-button>
753
+ ` : E}
754
+ </div>
755
+ </div>
756
+ </div>
757
+ </div>
758
+ ` : E}
759
+ `;
760
+ };
761
+ _resetAllParameters = new WeakMap();
762
+ _renderSearchForCollection = new WeakSet();
763
+ renderSearchForCollection_fn = function() {
764
+ var _a, _b;
765
+ let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
766
+ if (this.collectionSearchType === "collection") {
767
+ placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
768
+ }
769
+ if (this.collectionSearchType === "variable") {
770
+ placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
771
+ }
772
+ return x`
773
+ <terra-accordion .open=${this.collectionAccordionOpen}>
774
+ <div slot="summary">
775
+ <span class="accordion-title">Collection:</span>
776
+ </div>
777
+
778
+ <div
779
+ slot="summary-right"
780
+ style="display: flex; align-items: center; gap: 10px"
781
+ >
782
+ ${this.collectionEntryId ? x` <span
783
+ class="accordion-value"
784
+ id="selected-collection-display"
785
+ >${this.collectionEntryId}</span
786
+ >
787
+
788
+ <button
789
+ class="reset-btn"
790
+ @click=${() => this.collectionEntryId = void 0}
791
+ >
792
+ Reset
793
+ </button>` : E}
794
+ </div>
795
+
796
+ <div class="search-tabs-mini">
797
+ <button
798
+ class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
799
+ @click=${() => this.collectionSearchType = "all"}
800
+ >
801
+ All
802
+ </button>
803
+ <button
804
+ class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
805
+ @click=${() => this.collectionSearchType = "collection"}
806
+ >
807
+ Collections
808
+ </button>
809
+ <button
810
+ class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
811
+ @click=${() => this.collectionSearchType = "variable"}
812
+ >
813
+ Variables
814
+ </button>
815
+ </div>
816
+
817
+ <div class="search-container-mini">
818
+ <input
819
+ type="text"
820
+ class="search-input-mini"
821
+ id="search-input"
822
+ placeholder=${placeholder}
823
+ @input="${(e2) => this.handleCollectionSearch(
824
+ e2.target.value
825
+ )}"
826
+ />
827
+
828
+ <button class="search-button-mini">
829
+ <svg
830
+ class="search-icon-mini"
831
+ viewBox="0 0 24 24"
832
+ fill="currentColor"
833
+ >
834
+ <path
835
+ 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"
836
+ />
837
+ </svg>
838
+ Search
839
+ </button>
840
+ </div>
841
+
842
+ <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
843
+ <div class="quick-links-mini">
844
+ <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
845
+ >GPM Precipitation</a
846
+ >
847
+ <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
848
+ >MODIS Data</a
849
+ >
850
+ <a
851
+ href="#"
852
+ class="quick-link-mini"
853
+ onclick="quickSearch('Landsat')"
854
+ >Landsat Imagery</a
855
+ >
856
+ <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
857
+ >Atmospheric Data</a
858
+ >
859
+ </div>
860
+ -->
861
+
862
+ <div id="search-results-section" class="search-results-section">
863
+ ${this.collectionSearchLoading ? x`
864
+ <div id="loading-mini" class="loading-mini">
865
+ <div class="spinner-mini"></div>
866
+ <div>Searching NASA CMR...</div>
867
+ </div>
868
+ ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? x` <div
869
+ id="results-container-mini"
870
+ class="results-container-mini"
871
+ >
872
+ ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
873
+ (item) => x`
874
+ <div
875
+ class="result-item-mini"
876
+ @click=${() => {
877
+ this.collectionEntryId = item.collectionEntryId;
878
+ this.collectionAccordionOpen = false;
879
+ this.collectionLoading = true;
880
+ if (item.type === "variable") {
881
+ this.selectedVariables = [
882
+ {
883
+ name: item.entryId,
884
+ href: "",
885
+ conceptId: item.conceptId
886
+ }
887
+ ];
888
+ }
889
+ this.requestUpdate();
890
+ }}
891
+ style="cursor: pointer;"
892
+ >
893
+ <div class="result-title-mini">
894
+ ${item.title}
895
+ </div>
896
+ <div class="result-id-mini">
897
+ ${item.entryId}
898
+ </div>
899
+ <div class="result-description-mini">
900
+ ${item.summary || item.title}
901
+ </div>
902
+ <div class="result-meta-mini">
903
+ <span>📅 2000-02-24 - ongoing</span>
904
+ <span>🌍 Global</span>
905
+ <span>🏢 ${item.provider}</span>
906
+ ${item.type === "variable" ? x` <span
907
+ >📊
908
+ ${item.collectionEntryId}</span
909
+ >` : E}
910
+ <span class="tag-mini"
911
+ >${item.type.toUpperCase()}</span
912
+ >
913
+ </div>
914
+ </div>
915
+ `
916
+ )}
917
+ </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? x`<div id="no-results-mini" class="no-results-mini">
918
+ <p>
919
+ No results found for
920
+ '${this.collectionSearchQuery}'. Try adjusting
921
+ your search term.
922
+ </p>
923
+ </div>` : E}
924
+ </div>
925
+ </terra-accordion>
926
+
927
+ ${this.collectionLoading ? x`
928
+ <div
929
+ class="collection-loading-bar"
930
+ style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
931
+ >
932
+ <span
933
+ class="loading-spinner"
934
+ 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;"
935
+ ></span>
936
+ Retrieving collection, please wait...
937
+ </div>
938
+ <style>
939
+ @keyframes spin {
940
+ 0% {
941
+ transform: rotate(0deg);
942
+ }
943
+ 100% {
944
+ transform: rotate(360deg);
945
+ }
946
+ }
947
+ </style>
948
+ ` : E}
949
+ `;
950
+ };
951
+ _renderOutputFormatSelection = new WeakSet();
952
+ renderOutputFormatSelection_fn = function() {
953
+ var _a, _b;
954
+ const hasGiovanniService = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.services) == null ? void 0 : _b.some(
955
+ (s2) => s2.name.indexOf("giovanni") !== -1
956
+ );
957
+ return x`
958
+ <terra-accordion>
959
+ <div slot="summary">
960
+ <span class="accordion-title">File Format:</span>
961
+ </div>
962
+
963
+ <div
964
+ slot="summary-right"
965
+ style="display: flex; align-items: center; gap: 10px;"
966
+ >
967
+ <span
968
+ >${getFriendlyNameForMimeType(
969
+ this.selectedFormat,
970
+ hasGiovanniService
971
+ )}</span
972
+ >
973
+
974
+ <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
975
+ Reset
976
+ </button>
977
+ </div>
978
+
979
+ <div class="accordion-content" style="margin-top: 12px;">
980
+ ${(() => {
981
+ var _a2;
982
+ const allFormats = ((_a2 = this.collectionWithServices) == null ? void 0 : _a2.outputFormats) || [];
983
+ const uniqueFormats = Array.from(new Set(allFormats));
984
+ const hasNetcdf4 = uniqueFormats.includes(
985
+ "application/x-netcdf4"
986
+ );
987
+ const hasNetcdfClassic = uniqueFormats.includes("application/netcdf");
988
+ let displayFormats = uniqueFormats;
989
+ if (hasNetcdf4 && hasNetcdfClassic) {
990
+ displayFormats = uniqueFormats.filter(
991
+ (f) => f !== "application/netcdf"
992
+ );
993
+ }
994
+ return displayFormats.map(
995
+ (format) => x`
996
+ <label
997
+ style="display: flex; align-items: center; gap: 8px; padding: 5px;"
998
+ >
999
+ <input
1000
+ type="radio"
1001
+ name="output-format"
1002
+ value="${format}"
1003
+ .checked=${this.selectedFormat === format}
1004
+ @change=${() => this.selectedFormat = format}
1005
+ />
1006
+ ${getFriendlyNameForMimeType(
1007
+ format,
1008
+ hasGiovanniService
1009
+ )}
1010
+ </label>
1011
+ `
1012
+ );
1013
+ })()}
1014
+ </div>
1015
+ </terra-accordion>
1016
+ `;
1017
+ };
1018
+ _renderDateRangeSelection = new WeakSet();
1019
+ renderDateRangeSelection_fn = function() {
1020
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1021
+ const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1022
+ const startDate = (_b = (_a = this.selectedDateRange.startDate) != null ? _a : this.granuleMinDate) != null ? _b : defaultStartDate;
1023
+ const endDate = (_d = (_c = this.selectedDateRange.endDate) != null ? _c : this.granuleMaxDate) != null ? _d : defaultEndDate;
1024
+ const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
1025
+ return x`
1026
+ <terra-accordion>
1027
+ <div slot="summary">
1028
+ <span class="accordion-title">Refine Date Range:</span>
1029
+ </div>
1030
+
1031
+ <div
1032
+ slot="summary-right"
1033
+ style="display: flex; align-items: center; gap: 10px;"
1034
+ >
1035
+ ${showError ? x`<span class="accordion-value error"
1036
+ >Please select a date range</span
1037
+ >` : this.touchedFields.has("date") && startDate && endDate ? x`<span class="accordion-value"
1038
+ >${startDate} to ${endDate}</span
1039
+ >` : E}
1040
+ <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
1041
+ Reset
1042
+ </button>
1043
+ </div>
1044
+
1045
+ <div style="width: 300px">
1046
+ <terra-date-picker
1047
+ allow-input
1048
+ inline
1049
+ range
1050
+ split-inputs
1051
+ show-presets
1052
+ ?enable-time=${this.controller.isSubDaily}
1053
+ start-label="Start Date"
1054
+ end-label="End Date"
1055
+ .minDate=${(_e = this.granuleMinDate) != null ? _e : defaultStartDate}
1056
+ .maxDate=${(_f = this.granuleMaxDate) != null ? _f : defaultEndDate}
1057
+ .startDate=${(_g = this.selectedDateRange.startDate) != null ? _g : this.granuleMinDate}
1058
+ .endDate=${(_h = this.selectedDateRange.endDate) != null ? _h : this.granuleMaxDate}
1059
+ .useEndOfDay=${__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) ? false : true}
1060
+ @terra-date-range-change=${__privateGet(this, _handleDateChange)}
1061
+ ></terra-date-picker>
1062
+ </div>
1063
+
1064
+ <div
1065
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1066
+ >
1067
+ <span
1068
+ ><strong>Available Range:</strong> ${defaultStartDate} to
1069
+ ${defaultEndDate}</span
1070
+ >
1071
+ ${this.controller.isSubDaily ? x`<span
1072
+ ><strong>Note:</strong> All dates and times are in
1073
+ UTC.</span
1074
+ >` : E}
1075
+ </div>
1076
+ </terra-accordion>
1077
+ `;
1078
+ };
1079
+ _handleDateChange = new WeakMap();
1080
+ _resetDateRangeSelection = new WeakMap();
1081
+ _resetFormatSelection = new WeakMap();
1082
+ _getCollectionDateRange = new WeakSet();
1083
+ getCollectionDateRange_fn = function() {
1084
+ var _a, _b;
1085
+ const samplingMinDate = this.controller.granuleMinDate;
1086
+ const samplingMaxDate = this.controller.granuleMaxDate;
1087
+ if (samplingMinDate && samplingMaxDate) {
1088
+ return {
1089
+ startDate: samplingMinDate.slice(0, 10),
1090
+ endDate: samplingMaxDate.slice(0, 10)
1091
+ };
1092
+ }
1093
+ const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1094
+ if (!temporalExtents || !temporalExtents.length)
1095
+ return {
1096
+ startDate: null,
1097
+ endDate: null
1098
+ };
1099
+ let minStart = null;
1100
+ let maxEnd = null;
1101
+ const today = /* @__PURE__ */ new Date();
1102
+ for (const temporal of temporalExtents) {
1103
+ for (const range of temporal.RangeDateTimes) {
1104
+ const start = new Date(range.BeginningDateTime);
1105
+ let end;
1106
+ if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1107
+ end = today;
1108
+ } else {
1109
+ end = new Date(range.EndingDateTime);
1110
+ }
1111
+ if (!minStart || start < minStart)
1112
+ minStart = start;
1113
+ if (!maxEnd || end > maxEnd)
1114
+ maxEnd = end;
1115
+ }
1116
+ }
1117
+ return {
1118
+ startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1119
+ endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1120
+ };
1121
+ };
1122
+ _handleRegionAccordionToggle = new WeakSet();
1123
+ handleRegionAccordionToggle_fn = function() {
1124
+ var _a;
1125
+ (_a = this.spatialPicker) == null ? void 0 : _a.invalidateSize();
1126
+ };
1127
+ _renderSpatialSelection = new WeakSet();
1128
+ renderSpatialSelection_fn = function() {
1129
+ var _a, _b, _c, _d, _e;
1130
+ const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
1131
+ 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;
1132
+ if (boundingRects && !Array.isArray(boundingRects)) {
1133
+ boundingRects = [boundingRects];
1134
+ }
1135
+ let spatialString = "";
1136
+ if (this.isLatLng(this.spatialSelection)) {
1137
+ spatialString = `${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1138
+ } else if (this.isLatLngBounds(this.spatialSelection)) {
1139
+ spatialString = `${this.spatialSelection.getSouthWest().lat}, ${this.spatialSelection.getSouthWest().lng}, ${this.spatialSelection.getNorthEast().lat}, ${this.spatialSelection.getNorthEast().lng}`;
1140
+ } else if (this.spatialSelection && "w" in this.spatialSelection && "s" in this.spatialSelection && "e" in this.spatialSelection && "n" in this.spatialSelection) {
1141
+ spatialString = `${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1142
+ } else if (this.spatialSelection) {
1143
+ spatialString = this.spatialSelection;
1144
+ }
1145
+ return x`
1146
+ <terra-accordion
1147
+ @terra-accordion-toggle=${__privateMethod(this, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn)}
1148
+ >
1149
+ <div slot="summary">
1150
+ <span class="accordion-title">Refine Region:</span>
1151
+ </div>
1152
+
1153
+ <div
1154
+ slot="summary-right"
1155
+ style="display: flex; align-items: center; gap: 10px;"
1156
+ >
1157
+ ${showError ? x`<span class="accordion-value error"
1158
+ >Please select a region</span
1159
+ >` : spatialString ? x`<span class="accordion-value"
1160
+ >${spatialString}</span
1161
+ >` : E}
1162
+ <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1163
+ Reset
1164
+ </button>
1165
+ </div>
1166
+ <div class="accordion-content">
1167
+ <terra-spatial-picker
1168
+ part="spatial-picker"
1169
+ inline
1170
+ hide-label
1171
+ hide-point-selection
1172
+ no-world-wrap
1173
+ .spatialConstraints=${this.controller.spatialConstraints || "-180, -90, 180, 90"}
1174
+ .initialValue=${spatialString}
1175
+ @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1176
+ ></terra-spatial-picker>
1177
+ <div
1178
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1179
+ >
1180
+ <span
1181
+ ><strong>Available Range:</strong> ${this.controller.spatialConstraints}</span
1182
+ >
1183
+ </div>
1184
+ </div>
1185
+ </terra-accordion>
1186
+ `;
1187
+ };
1188
+ _handleSpatialChange = new WeakMap();
1189
+ _resetSpatialSelection = new WeakMap();
1190
+ _renderVariableSelection = new WeakSet();
1191
+ renderVariableSelection_fn = function() {
1192
+ var _a;
1193
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1194
+ const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1195
+ const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1196
+ const showError = giovanniError || basicError;
1197
+ const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1198
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1199
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1200
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1201
+ return x`
1202
+ <terra-accordion>
1203
+ <div slot="summary">
1204
+ <span class="accordion-title">Select Variables:</span>
1205
+ </div>
1206
+ <div
1207
+ slot="summary-right"
1208
+ style="display: flex; align-items: center; gap: 10px;"
1209
+ >
1210
+ ${showError ? x`<span class="accordion-value error"
1211
+ >${errorMessage}</span
1212
+ >` : this.selectedVariables.length ? x`<span class="accordion-value"
1213
+ >${this.selectedVariables.length} selected</span
1214
+ >` : E}
1215
+
1216
+ <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1217
+ Reset
1218
+ </button>
1219
+ </div>
1220
+ <div class="accordion-content">
1221
+ <terra-input
1222
+ label="Filter variables"
1223
+ placeholder="Search by variable name..."
1224
+ .value=${this.variableFilterText}
1225
+ @input=${(e2) => {
1226
+ const input = e2.target;
1227
+ this.variableFilterText = input.value;
1228
+ __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1229
+ }}
1230
+ style="margin-bottom: 10px;"
1231
+ ></terra-input>
1232
+ <button
1233
+ class="reset-btn"
1234
+ style="margin-bottom: 10px;"
1235
+ @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1236
+ >
1237
+ ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1238
+ </button>
1239
+
1240
+ ${__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.giovanniConfiguredVariables ? x`
1241
+ <terra-alert
1242
+ open
1243
+ appearance="white"
1244
+ style="margin: 10px 0"
1245
+ >
1246
+ <terra-icon
1247
+ slot="icon"
1248
+ name="outline-information-circle"
1249
+ library="heroicons"
1250
+ ></terra-icon>
1251
+ Only certain variables are supported for the
1252
+ selected output format. (Giovanni service)
1253
+ </terra-alert>
1254
+ <terra-alert
1255
+ open
1256
+ appearance="white"
1257
+ style="margin: 10px 0"
1258
+ >
1259
+ <terra-icon
1260
+ slot="icon"
1261
+ name="outline-information-circle"
1262
+ library="heroicons"
1263
+ ></terra-icon>
1264
+ User's are allowed to select only one variable for
1265
+ the selected output format. (Giovanni service)
1266
+ </terra-alert>
1267
+ ` : E}
1268
+ ${variables.length === 0 ? x`<p style="color: #666; font-style: italic;">
1269
+ No variables available for this collection.
1270
+ </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1271
+ </div>
1272
+ </terra-accordion>
1273
+ `;
1274
+ };
1275
+ _filterVariableTree = new WeakSet();
1276
+ filterVariableTree_fn = function(tree) {
1277
+ if (!this.variableFilterText.trim()) {
1278
+ return tree;
1279
+ }
1280
+ const filterText = this.variableFilterText.toLowerCase().trim();
1281
+ const filterNode = (node) => {
1282
+ const result = {};
1283
+ for (const [key, value] of Object.entries(node)) {
1284
+ if (value.__isLeaf) {
1285
+ const variableName = value.__variable.name.toLowerCase();
1286
+ if (variableName.includes(filterText)) {
1287
+ result[key] = value;
1288
+ }
1289
+ } else {
1290
+ const filteredChildren = filterNode(value.__children);
1291
+ if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1292
+ result[key] = __spreadProps(__spreadValues({}, value), {
1293
+ __children: filteredChildren
1294
+ });
1295
+ }
1296
+ }
1297
+ }
1298
+ return result;
1299
+ };
1300
+ return filterNode(tree);
1301
+ };
1302
+ _handleVariableFilterChange = new WeakSet();
1303
+ handleVariableFilterChange_fn = function() {
1304
+ var _a;
1305
+ if (!this.variableFilterText.trim()) {
1306
+ return;
1307
+ }
1308
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1309
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1310
+ const filterText = this.variableFilterText.toLowerCase().trim();
1311
+ const groupsToExpand = /* @__PURE__ */ new Set();
1312
+ const findMatchingGroups = (node, path = []) => {
1313
+ for (const [key, value] of Object.entries(node)) {
1314
+ if (value.__isLeaf) {
1315
+ const variableName = value.__variable.name.toLowerCase();
1316
+ if (variableName.includes(filterText)) {
1317
+ for (let i = 0; i < path.length; i++) {
1318
+ const groupPath = path.slice(0, i + 1).join("/");
1319
+ groupsToExpand.add(groupPath);
1320
+ }
1321
+ }
1322
+ } else {
1323
+ const groupPath = [...path, key].join("/");
1324
+ findMatchingGroups(value.__children, [...path, key]);
1325
+ if (key.toLowerCase().includes(filterText)) {
1326
+ groupsToExpand.add(groupPath);
1327
+ }
1328
+ }
1329
+ }
1330
+ };
1331
+ findMatchingGroups(tree);
1332
+ if (groupsToExpand.size > 0) {
1333
+ this.expandedVariableGroups = /* @__PURE__ */ new Set([
1334
+ ...this.expandedVariableGroups,
1335
+ ...groupsToExpand
1336
+ ]);
1337
+ }
1338
+ };
1339
+ _buildVariableTree = new WeakSet();
1340
+ buildVariableTree_fn = function(variables) {
1341
+ let filteredVariables = variables;
1342
+ if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.giovanniConfiguredVariables) {
1343
+ const originalCount = variables.length;
1344
+ filteredVariables = variables.filter((v) => {
1345
+ var _a, _b, _c;
1346
+ const shortName = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName;
1347
+ const version = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.Version;
1348
+ if (!shortName || !version) {
1349
+ return false;
1350
+ }
1351
+ const giovanniVariableName = convertVariableEntryIdToGiovanniFormat(
1352
+ shortName,
1353
+ version,
1354
+ v.name
1355
+ );
1356
+ return this.giovanniConfiguredVariables.has(giovanniVariableName);
1357
+ });
1358
+ console.log(
1359
+ `Filtered ${originalCount - filteredVariables.length} variables for Giovanni format. Showing ${filteredVariables.length} of ${originalCount}.`
1360
+ );
1361
+ }
1362
+ const root = {};
1363
+ for (const v of filteredVariables) {
1364
+ const parts = v.name.split("/");
1365
+ let node = root;
1366
+ for (let i = 0; i < parts.length; i++) {
1367
+ const part = parts[i];
1368
+ if (!node[part])
1369
+ node[part] = { __children: {}, __isLeaf: false };
1370
+ if (i === parts.length - 1) {
1371
+ node[part].__isLeaf = true;
1372
+ node[part].__variable = v;
1373
+ }
1374
+ node = node[part].__children;
1375
+ }
1376
+ }
1377
+ return root;
1378
+ };
1379
+ _renderVariableTree = new WeakSet();
1380
+ renderVariableTree_fn = function(node, path) {
1381
+ const isGiovanni = __privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this);
1382
+ return x`
1383
+ <div style="margin-left: ${path.length * 20}px;">
1384
+ ${Object.entries(node).map(([key, value]) => {
1385
+ var _a;
1386
+ const groupPath = [...path, key].join("/");
1387
+ if (value.__isLeaf) {
1388
+ const variableDetail = (_a = this.variableDetails) == null ? void 0 : _a.find(
1389
+ (d) => d.name === value.__variable.name && d.longName !== value.__variable.name
1390
+ );
1391
+ const variableName = (variableDetail == null ? void 0 : variableDetail.longName) ? `${key} = ${variableDetail.longName}${variableDetail.units ? ` (${variableDetail.units})` : ""}` : key;
1392
+ return x`
1393
+ <div class="option-row">
1394
+ <label class="checkbox-option">
1395
+ <input
1396
+ type="${isGiovanni ? "radio" : "checkbox"}"
1397
+ name="${isGiovanni ? "variable-selection" : ""}"
1398
+ .checked=${this.selectedVariables.some(
1399
+ (v) => v.name === value.__variable.name
1400
+ )}
1401
+ @change=${(e2) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e2, value.__variable)}
1402
+ />
1403
+ <span>${variableName}</span>
1404
+ </label>
1405
+ </div>
1406
+ `;
1407
+ } else {
1408
+ const expanded = this.expandedVariableGroups.has(groupPath);
1409
+ return x`
1410
+ <div class="option-row" style="align-items: flex-start;">
1411
+ <span
1412
+ style="cursor: pointer; display: flex; align-items: center;"
1413
+ @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1414
+ >
1415
+ <terra-icon
1416
+ library="heroicons"
1417
+ name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1418
+ style="margin-right: 4px;"
1419
+ ></terra-icon>
1420
+ <span style="font-weight: 500;">${key}</span>
1421
+ </span>
1422
+ </div>
1423
+ ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1424
+ ...path,
1425
+ key
1426
+ ]) : ""}
1427
+ `;
1428
+ }
1429
+ })}
1430
+ </div>
1431
+ `;
1432
+ };
1433
+ _getAllGroupPaths = new WeakSet();
1434
+ getAllGroupPaths_fn = function(node, path = []) {
1435
+ let groups = [];
1436
+ for (const [key, value] of Object.entries(node)) {
1437
+ if (!value.__isLeaf) {
1438
+ const groupPath = [...path, key].join("/");
1439
+ groups.push(groupPath);
1440
+ groups = groups.concat(
1441
+ __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1442
+ );
1443
+ }
1444
+ }
1445
+ return groups;
1446
+ };
1447
+ _toggleGroupExpand = new WeakSet();
1448
+ toggleGroupExpand_fn = function(groupPath) {
1449
+ const set = new Set(this.expandedVariableGroups);
1450
+ if (set.has(groupPath)) {
1451
+ set.delete(groupPath);
1452
+ } else {
1453
+ set.add(groupPath);
1454
+ }
1455
+ this.expandedVariableGroups = set;
1456
+ };
1457
+ _toggleExpandCollapseAll = new WeakSet();
1458
+ toggleExpandCollapseAll_fn = function(tree) {
1459
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1460
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1461
+ if (allExpanded) {
1462
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
1463
+ } else {
1464
+ this.expandedVariableGroups = new Set(allGroups);
1465
+ }
1466
+ };
1467
+ _toggleVariableSelection = new WeakSet();
1468
+ toggleVariableSelection_fn = function(e2, variable) {
1469
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1470
+ const checked = e2.target.checked;
1471
+ if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
1472
+ if (checked) {
1473
+ this.selectedVariables = [variable];
1474
+ }
1475
+ } else {
1476
+ if (checked) {
1477
+ if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1478
+ this.selectedVariables = [...this.selectedVariables, variable];
1479
+ }
1480
+ } else {
1481
+ this.selectedVariables = this.selectedVariables.filter(
1482
+ (v) => v.name !== variable.name
1483
+ );
1484
+ }
1485
+ }
1486
+ };
1487
+ _markFieldTouched = new WeakSet();
1488
+ markFieldTouched_fn = function(field) {
1489
+ this.touchedFields = new Set(this.touchedFields).add(field);
1490
+ };
1491
+ _resetVariableSelection = new WeakMap();
1492
+ _renderJobStatus = new WeakSet();
1493
+ renderJobStatus_fn = function() {
1494
+ var _a, _b;
1495
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.jobID)) {
1496
+ return x`<div class="results-section" id="job-status-section">
1497
+ <div
1498
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1499
+ >
1500
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1501
+ ${!this.isHistoryView ? x`
1502
+ <terra-button
1503
+ variant="default"
1504
+ size="small"
1505
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1506
+ >
1507
+ ← Back to Subset Options
1508
+ </terra-button>
1509
+ ` : E}
1510
+ </div>
1511
+
1512
+ <div class="progress-container">
1513
+ <div class="progress-text">
1514
+ <span class="spinner"></span>
1515
+ <span class="status-running">Searching for data...</span>
1516
+ </div>
1517
+
1518
+ <div class="progress-bar">
1519
+ <div class="progress-fill" style="width: 0%"></div>
1520
+ </div>
1521
+ </div>
1522
+
1523
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1524
+ </div>`;
1525
+ }
1526
+ return x`
1527
+ <div class="results-section" id="job-status-section">
1528
+ <div
1529
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1530
+ >
1531
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1532
+ ${!this.isHistoryView ? x`
1533
+ <terra-button
1534
+ variant="default"
1535
+ size="small"
1536
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1537
+ >
1538
+ ← Back to Subset Options
1539
+ </terra-button>
1540
+ ` : E}
1541
+ </div>
1542
+
1543
+ ${this.controller.currentJob.status !== "canceled" && this.controller.currentJob.status !== "failed" ? x` <div class="progress-container">
1544
+ <div class="progress-text">
1545
+ ${this.controller.currentJob.progress >= 100 ? x`
1546
+ <span class="status-complete"
1547
+ >✓ Search complete</span
1548
+ >
1549
+ ` : x`
1550
+ <span class="spinner"></span>
1551
+ <span class="status-running"
1552
+ >Searching for data...
1553
+ (${this.controller.currentJob.progress}%)</span
1554
+ >
1555
+ `}
1556
+ </div>
1557
+
1558
+ <div class="progress-bar">
1559
+ <div
1560
+ class="progress-fill"
1561
+ style="width: ${this.controller.currentJob.progress}%"
1562
+ ></div>
1563
+ </div>
1564
+ </div>` : E}
1565
+
1566
+ <div class="search-status">
1567
+ <span class="file-count"
1568
+ >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1569
+ >
1570
+ out of estimated
1571
+ <span class="estimated-total"
1572
+ >${this.controller.currentJob.numInputGranules.toLocaleString()}</span
1573
+ >
1574
+ </div>
1575
+
1576
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1577
+ ${((_b = this.controller.currentJob.errors) == null ? void 0 : _b.length) ? x`
1578
+ <terra-accordion>
1579
+ <div slot="summary">
1580
+ <span
1581
+ class="accordion-title"
1582
+ style="color: #dc3545;"
1583
+ >Errors
1584
+ (${this.controller.currentJob.errors.length})</span
1585
+ >
1586
+ </div>
1587
+ <div class="accordion-content">
1588
+ <ul
1589
+ style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1590
+ >
1591
+ ${this.controller.currentJob.errors.map(
1592
+ (err) => x`
1593
+ <li style="margin-bottom: 12px;">
1594
+ <a
1595
+ href="${err.url}"
1596
+ target="_blank"
1597
+ style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1598
+ >
1599
+ ${err.url}
1600
+ </a>
1601
+ <div style="margin-top: 2px;">
1602
+ ${err.message}
1603
+ </div>
1604
+ </li>
1605
+ `
1606
+ )}
1607
+ </ul>
1608
+ </div>
1609
+ </terra-accordion>
1610
+ ` : E}
1611
+
1612
+ <div class="tabs">
1613
+ <button
1614
+ class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1615
+ @click=${() => this.selectedTab = "web-links"}
1616
+ >
1617
+ Web Links
1618
+ </button>
1619
+
1620
+ ${!this.isHistoryView ? x`
1621
+ <button
1622
+ class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1623
+ @click=${() => this.selectedTab = "selected-params"}
1624
+ >
1625
+ Selected Parameters
1626
+ </button>
1627
+ ` : E}
1628
+ </div>
1629
+ <div
1630
+ id="web-links"
1631
+ class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1632
+ >
1633
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? x`
1634
+ <div class="documentation-links">
1635
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1636
+ (link) => x`
1637
+ <a href="${link.href}" class="doc-link"
1638
+ >${link.title}</a
1639
+ >
1640
+ `
1641
+ )}
1642
+ </div>
1643
+ ` : E}
1644
+
1645
+ <ul class="file-list">
1646
+ ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1647
+ (link) => x`
1648
+ <li class="file-item">
1649
+ <a
1650
+ href="${link.href}"
1651
+ class="file-link"
1652
+ target="_blank"
1653
+ >
1654
+ ${link.title}
1655
+ </a>
1656
+ </li>
1657
+ `
1658
+ )}
1659
+ </ul>
1660
+ </div>
1661
+
1662
+ <div
1663
+ id="selected-params"
1664
+ class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1665
+ >
1666
+ ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1667
+ </div>
1668
+ </div>
1669
+
1670
+ ${!this.dialog ? x`
1671
+ <div class="footer">
1672
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? x`
1673
+ <div
1674
+ style="display: flex; align-items: center; gap: 8px;"
1675
+ >
1676
+ <terra-dropdown
1677
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1678
+ >
1679
+ <terra-button slot="trigger" caret>
1680
+ Download Options
1681
+ </terra-button>
1682
+ <terra-menu>
1683
+ <terra-menu-item value="file-list">
1684
+ <svg
1685
+ slot="prefix"
1686
+ viewBox="0 0 24 24"
1687
+ width="16"
1688
+ height="16"
1689
+ style="width: 16px; height: 16px;"
1690
+ >
1691
+ <path
1692
+ fill="currentColor"
1693
+ 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"
1694
+ />
1695
+ </svg>
1696
+ File List
1697
+ </terra-menu-item>
1698
+ <terra-menu-item
1699
+ value="python-script"
1700
+ >
1701
+ <svg
1702
+ slot="prefix"
1703
+ viewBox="0 0 128 128"
1704
+ width="16"
1705
+ height="16"
1706
+ style="width: 16px; height: 16px;"
1707
+ >
1708
+ <path
1709
+ fill="currentColor"
1710
+ 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"
1711
+ ></path>
1712
+ </svg>
1713
+ Python Script
1714
+ </terra-menu-item>
1715
+ <terra-menu-item
1716
+ value="earthdata-download"
1717
+ >
1718
+ <svg
1719
+ slot="prefix"
1720
+ viewBox="0 0 64 64"
1721
+ fill="none"
1722
+ width="16"
1723
+ height="16"
1724
+ style="width: 16px; height: 16px;"
1725
+ >
1726
+ <circle
1727
+ cx="32"
1728
+ cy="32"
1729
+ r="28"
1730
+ fill="currentColor"
1731
+ />
1732
+ <path
1733
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
1734
+ stroke="#fff"
1735
+ stroke-width="4"
1736
+ stroke-linecap="round"
1737
+ stroke-linejoin="round"
1738
+ fill="none"
1739
+ />
1740
+ </svg>
1741
+ Earthdata Download
1742
+ </terra-menu-item>
1743
+ </terra-menu>
1744
+ </terra-dropdown>
1745
+
1746
+ <!--
1747
+ <terra-button
1748
+ outline
1749
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1750
+ >
1751
+ <terra-icon
1752
+ name="outline-code-bracket"
1753
+ library="heroicons"
1754
+ font-size="1.5em"
1755
+ style="margin-right: 5px;"
1756
+ ></terra-icon>
1757
+ Open in Jupyter Notebook
1758
+ </terra-button>
1759
+ --></div>
1760
+ ` : E}
1761
+ ${this.controller.currentJob.status === "running" ? x`<button
1762
+ class="btn btn-success"
1763
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1764
+ ?disabled=${this.cancelingGetData}
1765
+ >
1766
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1767
+ </button>` : E}
1768
+
1769
+ <div class="job-info">
1770
+ Job ID:
1771
+ <span class="job-id">
1772
+ ${this.bearerToken ? x`<a
1773
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
1774
+ target="_blank"
1775
+ >${this.controller.currentJob.jobID}</a
1776
+ >` : this.controller.currentJob.jobID}
1777
+ </span>
1778
+ <span class="info-icon">?</span>
1779
+ </div>
1780
+ </div>
1781
+ ` : E}
1782
+ `;
1783
+ };
1784
+ _renderSelectedParams = new WeakSet();
1785
+ renderSelectedParams_fn = function() {
1786
+ var _a, _b;
1787
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1788
+ const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1789
+ const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1790
+ let spatial = "\u2014";
1791
+ if (this.spatialSelection) {
1792
+ if ("w" in this.spatialSelection) {
1793
+ spatial = `Bounding Box: ${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1794
+ } else if ("lat" in this.spatialSelection && "lng" in this.spatialSelection) {
1795
+ spatial = `Point: ${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1796
+ }
1797
+ }
1798
+ return x`
1799
+ <dl class="params-summary">
1800
+ <div>
1801
+ <dt><strong>Dataset</strong></dt>
1802
+ <dd>${(_b = collection == null ? void 0 : collection.EntryTitle) != null ? _b : "\u2014"}</dd>
1803
+ </div>
1804
+ <div>
1805
+ <dt><strong>Variables</strong></dt>
1806
+ <dd>${variables.map((v) => x`<div>${v}</div>`)}</dd>
1807
+ </div>
1808
+ <div>
1809
+ <dt><strong>Date Range</strong></dt>
1810
+ <dd>${dateRange}</dd>
1811
+ </div>
1812
+ <div>
1813
+ <dt><strong>Spatial</strong></dt>
1814
+ <dd>${spatial}</dd>
1815
+ </div>
1816
+ </dl>
1817
+
1818
+ <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1819
+ >Refine Parameters</terra-button
1820
+ >
1821
+ `;
1822
+ };
1823
+ _cancelJob = new WeakSet();
1824
+ cancelJob_fn = function() {
1825
+ this.cancelingGetData = true;
1826
+ this.controller.cancelCurrentJob();
1827
+ };
1828
+ _getData = new WeakSet();
1829
+ getData_fn = function() {
1830
+ const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1831
+ if (validationError) {
1832
+ this.validationError = validationError;
1833
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1834
+ return;
1835
+ }
1836
+ this.validationError = void 0;
1837
+ this.cancelingGetData = false;
1838
+ __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
1839
+ this.controller.cancelCurrentJob();
1840
+ this.controller.currentJob = null;
1841
+ this.jobId = void 0;
1842
+ this.controller.jobStatusTask.run().then(() => {
1843
+ var _a;
1844
+ if ((_a = this.controller.currentJob) == null ? void 0 : _a.jobID) {
1845
+ this.jobId = this.controller.currentJob.jobID;
1846
+ }
1847
+ });
1848
+ setTimeout(() => {
1849
+ const el = this.renderRoot.querySelector("#job-status-section");
1850
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1851
+ }, 100);
1852
+ this.refineParameters = false;
1853
+ this.isHistoryView = false;
1854
+ };
1855
+ _touchAllFields = new WeakSet();
1856
+ touchAllFields_fn = function() {
1857
+ this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
1858
+ };
1859
+ _numberOfFilesFoundEstimate = new WeakSet();
1860
+ numberOfFilesFoundEstimate_fn = function() {
1861
+ return Math.floor(
1862
+ this.controller.currentJob.numInputGranules * this.controller.currentJob.progress / 100
1863
+ );
1864
+ };
1865
+ _getDocumentationLinks = new WeakSet();
1866
+ getDocumentationLinks_fn = function() {
1867
+ return this.controller.currentJob.links.filter(
1868
+ (link) => link.rel === "stac-catalog-json"
1869
+ );
1870
+ };
1871
+ _getDataLinks = new WeakSet();
1872
+ getDataLinks_fn = function() {
1873
+ return this.controller.currentJob.links.filter((link) => link.rel === "data");
1874
+ };
1875
+ _hasAtLeastOneSubsetOption = new WeakSet();
1876
+ hasAtLeastOneSubsetOption_fn = function() {
1877
+ var _a, _b, _c, _d;
1878
+ 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);
1879
+ };
1880
+ _hasSpatialSubset = new WeakSet();
1881
+ hasSpatialSubset_fn = function() {
1882
+ var _a, _b;
1883
+ return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset);
1884
+ };
1885
+ _renderJobMessage = new WeakSet();
1886
+ renderJobMessage_fn = function() {
1887
+ const warningStatuses = [
1888
+ "canceled" /* CANCELED */,
1889
+ "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
1890
+ "running_with_errors" /* RUNNING_WITH_ERRORS */
1891
+ ];
1892
+ const errorStatuses = ["failed" /* FAILED */];
1893
+ let type = "normal";
1894
+ if (warningStatuses.includes(this.controller.currentJob.status)) {
1895
+ type = "warning";
1896
+ } else if (errorStatuses.includes(this.controller.currentJob.status)) {
1897
+ type = "error";
1898
+ }
1899
+ let color, bg;
1900
+ if (type === "error") {
1901
+ color = "#dc3545";
1902
+ bg = "#f8d7da";
1903
+ } else if (type === "warning") {
1904
+ color = "#856404";
1905
+ bg = "#fff3cd";
1906
+ } else {
1907
+ color = "#555";
1908
+ bg = "#f8f9fa";
1909
+ }
1910
+ return x`
1911
+ <div
1912
+ style="
1913
+ margin: 24px 0 16px 0;
1914
+ padding: 16px 20px;
1915
+ border-radius: 6px;
1916
+ background: ${bg};
1917
+ color: ${color};
1918
+ border: 1px solid ${color}22;
1919
+ "
1920
+ >
1921
+ ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
1922
+ </div>
1923
+ `;
1924
+ };
1925
+ _getJobMessageText = new WeakSet();
1926
+ getJobMessageText_fn = function() {
1927
+ var _a;
1928
+ return (_a = this.controller.currentJob) == null ? void 0 : _a.message.replace(
1929
+ /\b(The job|the job|job|Job)\b/g,
1930
+ (match) => {
1931
+ switch (match) {
1932
+ case "The job":
1933
+ return "Your request";
1934
+ case "the job":
1935
+ return "Your Request";
1936
+ case "job":
1937
+ return "request";
1938
+ case "Job":
1939
+ return "Request";
1940
+ }
1941
+ return match;
1942
+ }
1943
+ );
1944
+ };
1945
+ _estimateJobSize = new WeakSet();
1946
+ estimateJobSize_fn = function() {
1947
+ var _a, _b, _c, _d;
1948
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1949
+ if (!collection)
1950
+ return;
1951
+ const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1952
+ let startDate;
1953
+ let endDate;
1954
+ let links = (_b = collection.granuleCount) != null ? _b : 0;
1955
+ if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
1956
+ startDate = this.selectedDateRange.startDate;
1957
+ endDate = this.selectedDateRange.endDate;
1958
+ } else {
1959
+ startDate = (_c = this.granuleMinDate) != null ? _c : range.startDate;
1960
+ endDate = (_d = this.granuleMaxDate) != null ? _d : range.endDate;
1961
+ }
1962
+ if (!startDate || !endDate)
1963
+ return;
1964
+ const start = new Date(startDate);
1965
+ const end = new Date(endDate);
1966
+ const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
1967
+ if (range.startDate && range.endDate) {
1968
+ const availableDaysInCollection = Math.floor(
1969
+ (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
1970
+ ) + 1;
1971
+ const granulesPerDay = links / availableDaysInCollection;
1972
+ links = Math.ceil(days * granulesPerDay);
1973
+ }
1974
+ return { days, links };
1975
+ };
1976
+ _refineParameters = new WeakSet();
1977
+ refineParameters_fn = function() {
1978
+ this.refineParameters = true;
1979
+ };
1980
+ _backToSubsetOptions = new WeakSet();
1981
+ backToSubsetOptions_fn = function() {
1982
+ this.refineParameters = true;
1983
+ setTimeout(() => {
1984
+ const container = this.renderRoot.querySelector(".container");
1985
+ container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
1986
+ }, 100);
1987
+ };
1988
+ _viewRunningJob = new WeakSet();
1989
+ viewRunningJob_fn = function() {
1990
+ this.refineParameters = false;
1991
+ setTimeout(() => {
1992
+ const el = this.renderRoot.querySelector("#job-status-section");
1993
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1994
+ }, 100);
1995
+ };
1996
+ _handleDownloadSelect = new WeakSet();
1997
+ handleDownloadSelect_fn = function(event) {
1998
+ const item = event.detail.item;
1999
+ const value = item.value || item.getTextLabel();
2000
+ if (value === "file-list") {
2001
+ __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
2002
+ } else if (value === "python-script") {
2003
+ __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
2004
+ } else if (value === "earthdata-download") {
2005
+ __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
2006
+ }
2007
+ };
2008
+ _downloadLinksAsTxt = new WeakSet();
2009
+ downloadLinksAsTxt_fn = function(event) {
2010
+ var _a;
2011
+ event.stopPropagation();
2012
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
2013
+ return;
2014
+ }
2015
+ const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
2016
+ if (dataLinks.length === 0) {
2017
+ return;
2018
+ }
2019
+ const content = dataLinks.map((link) => link.href).join("\n");
2020
+ const blob = new Blob([content], { type: "text/plain" });
2021
+ const url = URL.createObjectURL(blob);
2022
+ const a = document.createElement("a");
2023
+ a.href = url;
2024
+ a.download = `subset_links_${this.controller.currentJob.jobID}.txt`;
2025
+ document.body.appendChild(a);
2026
+ a.click();
2027
+ document.body.removeChild(a);
2028
+ URL.revokeObjectURL(url);
2029
+ };
2030
+ _downloadPythonScript = new WeakSet();
2031
+ downloadPythonScript_fn = async function(event) {
2032
+ var _a, _b, _c;
2033
+ event.stopPropagation();
2034
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
2035
+ return;
2036
+ }
2037
+ const response = await fetch(
2038
+ getBasePath("assets/data-subsetter/download_subset_files.py.txt")
2039
+ );
2040
+ if (!response.ok) {
2041
+ alert(
2042
+ "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
2043
+ );
2044
+ }
2045
+ const content = (await response.text()).replace(/{{jobId}}/gi, this.controller.currentJob.jobID).replace(
2046
+ /{{HARMONY_ENV}}/gi,
2047
+ `Environment.${(_b = this.environment) == null ? void 0 : _b.toUpperCase()}`
2048
+ ).replace(
2049
+ /{{EARTHACCESS_ENV}}/gi,
2050
+ `earthaccess.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
2051
+ );
2052
+ const blob = new Blob([content], { type: "text/plain" });
2053
+ const url = URL.createObjectURL(blob);
2054
+ const a = document.createElement("a");
2055
+ a.href = url;
2056
+ a.download = `download_subset_files_${this.controller.currentJob.jobID}.py`;
2057
+ document.body.appendChild(a);
2058
+ a.click();
2059
+ document.body.removeChild(a);
2060
+ URL.revokeObjectURL(url);
2061
+ };
2062
+ _downloadEarthdataDownload = new WeakSet();
2063
+ downloadEarthdataDownload_fn = async function(event) {
2064
+ var _a;
2065
+ event.stopPropagation();
2066
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
2067
+ return;
2068
+ }
2069
+ alert("Sorry, Earthdata Download is not currently supported");
2070
+ };
2071
+ _handleJupyterNotebookClick = new WeakSet();
2072
+ handleJupyterNotebookClick_fn = function() {
2073
+ var _a;
2074
+ const notebook = getNotebook(this);
2075
+ console.log("sending data to JupyterLite");
2076
+ sendDataToJupyterNotebook("load-notebook", {
2077
+ filename: `subset_${(_a = this.controller.currentJob) == null ? void 0 : _a.jobID}.ipynb`,
2078
+ notebook,
2079
+ bearerToken: this.bearerToken
2080
+ });
2081
+ };
2082
+ _renderAvailableTemporalRangeSection = new WeakSet();
2083
+ renderAvailableTemporalRangeSection_fn = function() {
2084
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2085
+ if (!startDate || !endDate)
2086
+ return E;
2087
+ return x`
2088
+ <div class="section" style="margin-bottom: 16px;">
2089
+ <h2 class="section-title">Available Date Range</h2>
2090
+ <div style="color: #31708f; margin-top: 8px;">
2091
+ <strong>${startDate}</strong> to <strong>${endDate}</strong>
2092
+ </div>
2093
+ <div style="font-size: 0.95em; color: #666;">
2094
+ This collection does not support temporal subsetting.
2095
+ </div>
2096
+ </div>
2097
+ `;
2098
+ };
2099
+ _renderAvailableSpatialRangeSection = new WeakSet();
2100
+ renderAvailableSpatialRangeSection_fn = function() {
2101
+ var _a, _b, _c, _d, _e;
2102
+ 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;
2103
+ if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
2104
+ return E;
2105
+ return x`
2106
+ <div class="section" style="margin-bottom: 16px;">
2107
+ <h2 class="section-title">Available Spatial Area</h2>
2108
+ <div style="color: #31708f; margin-top: 8px;">
2109
+ ${boundingRects.map(
2110
+ (rect) => x`<div>
2111
+ <strong>Bounding Box:</strong>
2112
+ ${rect.WestBoundingCoordinate},
2113
+ ${rect.SouthBoundingCoordinate},
2114
+ ${rect.EastBoundingCoordinate},
2115
+ ${rect.NorthBoundingCoordinate}
2116
+ </div>`
2117
+ )}
2118
+ </div>
2119
+ <div style="font-size: 0.95em; color: #666;">
2120
+ This collection does not support spatial subsetting.
2121
+ </div>
2122
+ </div>
2123
+ `;
2124
+ };
2125
+ _renderDataAccessModeSelection = new WeakSet();
2126
+ renderDataAccessModeSelection_fn = function() {
2127
+ if (!this.controller.hasGranules) {
2128
+ return E;
2129
+ }
2130
+ return x`
2131
+ <div class="mode-selection">
2132
+ <div class="mode-options">
2133
+ <label
2134
+ class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
2135
+ >
2136
+ <input
2137
+ type="radio"
2138
+ name="data-access-mode"
2139
+ value="original"
2140
+ .checked=${this.dataAccessMode === "original"}
2141
+ @change=${() => this.dataAccessMode = "original"}
2142
+ />
2143
+ <div class="mode-content">
2144
+ <div class="mode-title">Get Original Files</div>
2145
+ <div class="mode-description">
2146
+ Filter file links directly from the archive.
2147
+ </div>
2148
+ </div>
2149
+ </label>
2150
+
2151
+ <label
2152
+ class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2153
+ >
2154
+ <input
2155
+ type="radio"
2156
+ name="data-access-mode"
2157
+ value="subset"
2158
+ .checked=${this.dataAccessMode === "subset"}
2159
+ @change=${() => this.dataAccessMode = "subset"}
2160
+ />
2161
+ <div class="mode-content">
2162
+ <div class="mode-title">Subset Data</div>
2163
+ <div class="mode-description">
2164
+ Subset the data to your specific needs.
2165
+ </div>
2166
+ </div>
2167
+ </label>
2168
+ </div>
2169
+ </div>
2170
+ `;
2171
+ };
2172
+ _isGiovanniFormat = new WeakSet();
2173
+ isGiovanniFormat_fn = function() {
2174
+ return this.selectedFormat === "text/csv" || this.selectedFormat === "image/tiff";
2175
+ };
2176
+ _getGiovanniValidationError = new WeakSet();
2177
+ getGiovanniValidationError_fn = function() {
2178
+ if (!__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
2179
+ return null;
2180
+ }
2181
+ if (this.selectedVariables.length === 0) {
2182
+ return "Please select a variable to subset.";
2183
+ }
2184
+ if (this.selectedVariables.length > 1) {
2185
+ return "The selected format only supports subsetting one variable at a time.";
2186
+ }
2187
+ return null;
2188
+ };
2189
+ TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2190
+ TerraDataSubsetter.dependencies = {
2191
+ "terra-accordion": TerraAccordion,
2192
+ "terra-date-picker": TerraDatePicker,
2193
+ "terra-icon": TerraIcon,
2194
+ "terra-input": TerraInput,
2195
+ "terra-spatial-picker": TerraSpatialPicker,
2196
+ "terra-login": TerraLogin,
2197
+ "terra-loader": TerraLoader,
2198
+ "terra-data-access": TerraDataAccess,
2199
+ "terra-dialog": TerraDialog,
2200
+ "terra-dropdown": TerraDropdown,
2201
+ "terra-menu": TerraMenu,
2202
+ "terra-menu-item": TerraMenuItem,
2203
+ "terra-button": TerraButton,
2204
+ "terra-alert": TerraAlert
2205
+ };
2206
+ __decorateClass([
2207
+ n({ reflect: true, attribute: "collection-entry-id" })
2208
+ ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2209
+ __decorateClass([
2210
+ n({ reflect: true, attribute: "short-name" })
2211
+ ], TerraDataSubsetter.prototype, "shortName", 2);
2212
+ __decorateClass([
2213
+ n({ reflect: true, attribute: "version" })
2214
+ ], TerraDataSubsetter.prototype, "version", 2);
2215
+ __decorateClass([
2216
+ n({ reflect: true, type: Boolean, attribute: "show-collection-search" })
2217
+ ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2218
+ __decorateClass([
2219
+ n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2220
+ ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2221
+ __decorateClass([
2222
+ n({ reflect: true, attribute: "job-id" })
2223
+ ], TerraDataSubsetter.prototype, "jobId", 2);
2224
+ __decorateClass([
2225
+ n({ attribute: "bearer-token" })
2226
+ ], TerraDataSubsetter.prototype, "bearerToken", 2);
2227
+ __decorateClass([
2228
+ n({ reflect: true })
2229
+ ], TerraDataSubsetter.prototype, "dialog", 2);
2230
+ __decorateClass([
2231
+ n({ reflect: true, type: Boolean, attribute: "is-history-view" })
2232
+ ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2233
+ __decorateClass([
2234
+ r()
2235
+ ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2236
+ __decorateClass([
2237
+ r()
2238
+ ], TerraDataSubsetter.prototype, "variableDetails", 2);
2239
+ __decorateClass([
2240
+ r()
2241
+ ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2242
+ __decorateClass([
2243
+ r()
2244
+ ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2245
+ __decorateClass([
2246
+ r()
2247
+ ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2248
+ __decorateClass([
2249
+ r()
2250
+ ], TerraDataSubsetter.prototype, "touchedFields", 2);
2251
+ __decorateClass([
2252
+ r()
2253
+ ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2254
+ __decorateClass([
2255
+ r()
2256
+ ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2257
+ __decorateClass([
2258
+ r()
2259
+ ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2260
+ __decorateClass([
2261
+ r()
2262
+ ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2263
+ __decorateClass([
2264
+ r()
2265
+ ], TerraDataSubsetter.prototype, "selectedTab", 2);
2266
+ __decorateClass([
2267
+ r()
2268
+ ], TerraDataSubsetter.prototype, "refineParameters", 2);
2269
+ __decorateClass([
2270
+ r()
2271
+ ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2272
+ __decorateClass([
2273
+ r()
2274
+ ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2275
+ __decorateClass([
2276
+ r()
2277
+ ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2278
+ __decorateClass([
2279
+ r()
2280
+ ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2281
+ __decorateClass([
2282
+ r()
2283
+ ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2284
+ __decorateClass([
2285
+ r()
2286
+ ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2287
+ __decorateClass([
2288
+ r()
2289
+ ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2290
+ __decorateClass([
2291
+ r()
2292
+ ], TerraDataSubsetter.prototype, "validationError", 2);
2293
+ __decorateClass([
2294
+ r()
2295
+ ], TerraDataSubsetter.prototype, "granuleMinDate", 2);
2296
+ __decorateClass([
2297
+ r()
2298
+ ], TerraDataSubsetter.prototype, "granuleMaxDate", 2);
2299
+ __decorateClass([
2300
+ r()
2301
+ ], TerraDataSubsetter.prototype, "giovanniConfiguredVariables", 2);
2302
+ __decorateClass([
2303
+ e('[part~="spatial-picker"]')
2304
+ ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2305
+ __decorateClass([
2306
+ e("terra-dialog")
2307
+ ], TerraDataSubsetter.prototype, "dialogElement", 2);
2308
+ __decorateClass([
2309
+ watch(["jobId"], { waitUntilFirstUpdate: true })
2310
+ ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2311
+ __decorateClass([
2312
+ watch(["shortName", "version"])
2313
+ ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2314
+ __decorateClass([
2315
+ watch("collectionEntryId", { waitUntilFirstUpdate: true })
2316
+ ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2317
+ __decorateClass([
2318
+ watch(["collectionWithServices"])
2319
+ ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2320
+ __decorateClass([
2321
+ watch(["granuleMinDate", "granuleMaxDate"])
2322
+ ], TerraDataSubsetter.prototype, "granuleDatesChanged", 1);
2323
+ __decorateClass([
2324
+ watch("selectedFormat")
2325
+ ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2326
+ __decorateClass([
2327
+ debounce(500)
2328
+ ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2329
+
2330
+ export {
2331
+ TerraDataSubsetter
2332
+ };