@nasa-terra/components 0.0.137 → 0.0.139

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 (1236) hide show
  1. package/cdn/chunks/chunk.2B6TL25H.js +19 -0
  2. package/cdn/chunks/chunk.2FIXNDLC.js +251 -0
  3. package/cdn/chunks/chunk.2JCOSZFR.js +904 -0
  4. package/cdn/chunks/chunk.2MHHVQSB.js +29 -0
  5. package/cdn/chunks/chunk.33ULU7GO.js +491 -0
  6. package/cdn/chunks/chunk.345AQZWM.js +19 -0
  7. package/cdn/chunks/chunk.34RZT4O6.js +29 -0
  8. package/cdn/chunks/chunk.3FBMVJTN.js +29 -0
  9. package/cdn/chunks/chunk.3JDGYF5R.js +36 -0
  10. package/cdn/chunks/chunk.3JUFEPIK.js +29 -0
  11. package/cdn/chunks/chunk.3KHAS7JP.js +19 -0
  12. package/cdn/chunks/chunk.3L5XNF4T.js +234 -0
  13. package/cdn/chunks/chunk.4B6VMFFW.js +19 -0
  14. package/cdn/chunks/chunk.4CH5UZQH.js +19 -0
  15. package/cdn/chunks/chunk.4CPFXOHY.js +19 -0
  16. package/cdn/chunks/chunk.4LE5R3PR.js +29 -0
  17. package/cdn/chunks/chunk.4N2A5YBK.js +472 -0
  18. package/cdn/chunks/chunk.4UFYI2TK.js +10718 -0
  19. package/cdn/chunks/chunk.5A3HYRPD.js +224 -0
  20. package/cdn/chunks/chunk.5BGHAY2N.js +35 -0
  21. package/cdn/chunks/chunk.5EJ2BIR7.js +32 -0
  22. package/cdn/chunks/chunk.5K7UOJJ2.js +32 -0
  23. package/cdn/chunks/chunk.5NWMRQKE.js +32 -0
  24. package/cdn/chunks/chunk.5SZU56B7.js +19 -0
  25. package/cdn/chunks/chunk.5ULQ5ZPE.js +19 -0
  26. package/cdn/chunks/chunk.5XFTJ654.js +132 -0
  27. package/cdn/chunks/chunk.6KNI6BO4.js +29 -0
  28. package/cdn/chunks/chunk.6LSZVT44.js +32 -0
  29. package/cdn/chunks/chunk.6P475YE7.js +32 -0
  30. package/cdn/chunks/chunk.6TK5NIXR.js +538 -0
  31. package/cdn/chunks/chunk.6VCBC23Q.js +19 -0
  32. package/cdn/chunks/chunk.6YF3W7LT.js +19 -0
  33. package/cdn/chunks/chunk.6YOCEYSK.js +32 -0
  34. package/cdn/chunks/chunk.77TXG6FM.js +188 -0
  35. package/cdn/chunks/chunk.7NFYZMNG.js +19 -0
  36. package/cdn/chunks/chunk.7PZGJRJ4.js +264 -0
  37. package/cdn/chunks/chunk.7RCNCS4U.js +198 -0
  38. package/cdn/chunks/chunk.A3HR5UMX.js +19 -0
  39. package/cdn/chunks/chunk.A44ASB2E.js +19 -0
  40. package/cdn/chunks/chunk.AHOS6VUF.js +155 -0
  41. package/cdn/chunks/chunk.AJW5O45L.js +29 -0
  42. package/cdn/chunks/chunk.APDRZBCN.js +34 -0
  43. package/cdn/chunks/chunk.AT7GXBD2.js +19 -0
  44. package/cdn/chunks/chunk.B7436PBE.js +99 -0
  45. package/cdn/chunks/chunk.BAXXFOKW.js +29 -0
  46. package/cdn/chunks/chunk.BEQD5VET.js +477 -0
  47. package/cdn/chunks/chunk.BGEG3ILU.js +19 -0
  48. package/cdn/chunks/chunk.BIL4QU4I.js +158 -0
  49. package/cdn/chunks/chunk.BKJBB7P6.js +19 -0
  50. package/cdn/chunks/chunk.BRFX2VMD.js +86 -0
  51. package/cdn/chunks/chunk.C2NSEJUB.js +29 -0
  52. package/cdn/chunks/chunk.C2OZB7DE.js +19 -0
  53. package/cdn/chunks/chunk.C5HGW4V2.js +276 -0
  54. package/cdn/chunks/chunk.C5XMJ6GC.js +309 -0
  55. package/cdn/chunks/chunk.C6LHPBOI.js +1966 -0
  56. package/cdn/chunks/chunk.CA7RFX6N.js +359 -0
  57. package/cdn/chunks/chunk.CGX2AIUE.js +29 -0
  58. package/cdn/chunks/chunk.CI2GQALQ.js +78 -0
  59. package/cdn/chunks/chunk.CQ424ME5.js +2073 -0
  60. package/cdn/chunks/chunk.CV5XFSGK.js +19 -0
  61. package/cdn/chunks/chunk.D5R3LEZU.js +49 -0
  62. package/cdn/chunks/chunk.D6CMNUDX.js +954 -0
  63. package/cdn/chunks/chunk.D6L5MXGZ.js +37 -0
  64. package/cdn/chunks/chunk.DAQXODMO.js +19 -0
  65. package/cdn/chunks/chunk.DCLC7OGT.js +29 -0
  66. package/cdn/chunks/chunk.DHNU3YDL.js +19 -0
  67. package/cdn/chunks/chunk.DJYUXTUP.js +1803 -0
  68. package/cdn/chunks/chunk.DLPRJG7W.js +32 -0
  69. package/cdn/chunks/chunk.DNWNXGQY.js +19 -0
  70. package/cdn/chunks/chunk.DYMNEARK.js +29 -0
  71. package/cdn/chunks/chunk.E3W5BATW.js +60 -0
  72. package/cdn/chunks/chunk.E6OTJQA2.js +615 -0
  73. package/cdn/chunks/chunk.EEL5QODT.js +41 -0
  74. package/cdn/chunks/chunk.EHOIWBWJ.js +302 -0
  75. package/cdn/chunks/chunk.EI2XTC4O.js +278 -0
  76. package/cdn/chunks/chunk.EQZREVVY.js +29 -0
  77. package/cdn/chunks/chunk.EVBUT74B.js +19 -0
  78. package/cdn/chunks/chunk.FBI2TYXB.js +19 -0
  79. package/cdn/chunks/chunk.FG2ISGVU.js +660 -0
  80. package/cdn/chunks/chunk.FLUN2UKH.js +372 -0
  81. package/cdn/chunks/chunk.FTQ5KMTQ.js +151 -0
  82. package/cdn/chunks/chunk.FU6DSPVY.js +657 -0
  83. package/cdn/chunks/chunk.G5YHIN6F.js +104 -0
  84. package/cdn/chunks/chunk.GDJPXXU2.js +286 -0
  85. package/cdn/chunks/chunk.GIFNSZH6.js +39 -0
  86. package/cdn/chunks/chunk.GJLQFN2E.js +29 -0
  87. package/cdn/chunks/chunk.GKLZDT4V.js +229 -0
  88. package/cdn/chunks/chunk.GR3J7ERT.js +19 -0
  89. package/cdn/chunks/chunk.GZI4VIBC.js +19 -0
  90. package/cdn/chunks/chunk.GZTLYMW7.js +29 -0
  91. package/cdn/chunks/chunk.H3I32IFN.js +19 -0
  92. package/cdn/chunks/chunk.HBVF6X6O.js +29 -0
  93. package/cdn/chunks/chunk.HPVMDHB6.js +19 -0
  94. package/cdn/chunks/chunk.HZR3QQV5.js +19 -0
  95. package/cdn/chunks/chunk.I33GZT57.js +19 -0
  96. package/cdn/chunks/chunk.I3MKG2KR.js +92 -0
  97. package/cdn/chunks/chunk.IDIC52JU.js +19 -0
  98. package/cdn/chunks/chunk.IMOHWICB.js +36 -0
  99. package/cdn/chunks/chunk.IN3SYHXS.js +19 -0
  100. package/cdn/chunks/chunk.ISFWCXRF.js +599 -0
  101. package/cdn/chunks/chunk.IZ3GPCEW.js +33860 -0
  102. package/cdn/chunks/chunk.IZV5Q7KV.js +74 -0
  103. package/cdn/chunks/chunk.J2K53JZV.js +34 -0
  104. package/cdn/chunks/chunk.J75QLCBQ.js +19 -0
  105. package/cdn/chunks/chunk.JAG3QJFT.js +134 -0
  106. package/cdn/chunks/chunk.JD3LSW7U.js +29 -0
  107. package/cdn/chunks/chunk.JGC7PGMS.js +19 -0
  108. package/cdn/chunks/chunk.JHZDDMUY.js +29 -0
  109. package/cdn/chunks/chunk.JLLXBG72.js +19 -0
  110. package/cdn/chunks/chunk.JNZU345Q.js +55346 -0
  111. package/cdn/chunks/chunk.JOH7WPM6.js +19 -0
  112. package/cdn/chunks/chunk.JOP5IKGK.js +29 -0
  113. package/cdn/chunks/chunk.JSLMWT5S.js +19 -0
  114. package/cdn/chunks/chunk.JX5TX7XM.js +524 -0
  115. package/cdn/chunks/chunk.KG6VRPUL.js +610 -0
  116. package/cdn/chunks/chunk.KH7BIODL.js +29 -0
  117. package/cdn/chunks/chunk.KLZ3WTOX.js +19 -0
  118. package/cdn/chunks/chunk.KQC463Q4.js +170 -0
  119. package/cdn/chunks/chunk.LDVBSHNI.js +29 -0
  120. package/cdn/chunks/chunk.LPESW6XC.js +19 -0
  121. package/cdn/chunks/chunk.LS7YQA7Q.js +19 -0
  122. package/cdn/chunks/chunk.LTJFOFDO.js +19 -0
  123. package/cdn/chunks/chunk.LTTBS7JX.js +259 -0
  124. package/cdn/chunks/chunk.LYIM3DGX.js +35 -0
  125. package/cdn/chunks/chunk.M3AZOEG5.js +33 -0
  126. package/cdn/chunks/chunk.MEMDT5D6.js +33 -0
  127. package/cdn/chunks/chunk.N2FBKLVM.js +36 -0
  128. package/cdn/chunks/chunk.NFP4XN3M.js +19 -0
  129. package/cdn/chunks/chunk.NJ37BF2N.js +29 -0
  130. package/cdn/chunks/chunk.NNJTL2WE.js +32 -0
  131. package/cdn/chunks/chunk.NOEET5Z4.js +32 -0
  132. package/cdn/chunks/chunk.NPTP4N36.js +165 -0
  133. package/cdn/chunks/chunk.O2MNTOTN.js +19 -0
  134. package/cdn/chunks/chunk.OD5OVBHN.js +19 -0
  135. package/cdn/chunks/chunk.OFE5O3W5.js +35 -0
  136. package/cdn/chunks/chunk.OLXTWZ2Y.js +19 -0
  137. package/cdn/chunks/chunk.OTPQCBBK.js +36 -0
  138. package/cdn/chunks/chunk.OVEGRLIS.js +19 -0
  139. package/cdn/chunks/chunk.OVTNQSJY.js +29 -0
  140. package/cdn/chunks/chunk.OW4UIENR.js +34 -0
  141. package/cdn/chunks/chunk.OWFXU56I.js +47 -0
  142. package/cdn/chunks/chunk.OZRSX7RA.js +230 -0
  143. package/cdn/chunks/chunk.PKYJISOI.js +67 -0
  144. package/cdn/chunks/chunk.PKYJN5TL.js +132 -0
  145. package/cdn/chunks/chunk.PMXXCLGN.js +99 -0
  146. package/cdn/chunks/chunk.QJG3KXAL.js +754 -0
  147. package/cdn/chunks/chunk.QQQCEJ3P.js +19 -0
  148. package/cdn/chunks/chunk.QTCUUPJT.js +32 -0
  149. package/cdn/chunks/chunk.QTWGHAMX.js +231 -0
  150. package/cdn/chunks/chunk.R62X6UTY.js +71 -0
  151. package/cdn/chunks/chunk.RBI4SUTP.js +29 -0
  152. package/cdn/chunks/chunk.RF5JQS6G.js +19 -0
  153. package/cdn/chunks/chunk.RI2OOOHA.js +35 -0
  154. package/cdn/chunks/chunk.RJDT2HQD.js +943 -0
  155. package/cdn/chunks/chunk.RPTJEEJR.js +19 -0
  156. package/cdn/chunks/chunk.RRWPHI7Y.js +19 -0
  157. package/cdn/chunks/chunk.S4AGLUO5.js +460 -0
  158. package/cdn/chunks/chunk.SACSIPDE.js +93 -0
  159. package/cdn/chunks/chunk.SBOWWLCP.js +29 -0
  160. package/cdn/chunks/chunk.SDD4Y6YW.js +29 -0
  161. package/cdn/chunks/chunk.SF5YSOET.js +621 -0
  162. package/cdn/chunks/chunk.SOGAAP43.js +29 -0
  163. package/cdn/chunks/chunk.T4J7SCOW.js +19 -0
  164. package/cdn/chunks/chunk.T6VYAQOK.js +284 -0
  165. package/cdn/chunks/chunk.T7Y2NRB3.js +19 -0
  166. package/cdn/chunks/chunk.TGEAFYSD.js +32 -0
  167. package/cdn/chunks/chunk.TLGEOSTJ.js +33 -0
  168. package/cdn/chunks/chunk.TRPJ2WOJ.js +60 -0
  169. package/cdn/chunks/chunk.TRRLACND.js +83 -0
  170. package/cdn/chunks/chunk.TTL2D2K3.js +33 -0
  171. package/cdn/chunks/chunk.TTZRS2Z2.js +32 -0
  172. package/cdn/chunks/chunk.TW2COE3D.js +113 -0
  173. package/cdn/chunks/chunk.U4BF3ZWF.js +190 -0
  174. package/cdn/chunks/chunk.UNEVE6A4.js +435 -0
  175. package/cdn/chunks/chunk.UPAWY7GC.js +62 -0
  176. package/cdn/chunks/chunk.UT54KXFP.js +19 -0
  177. package/cdn/chunks/chunk.UTEDJXOP.js +82 -0
  178. package/cdn/chunks/chunk.UUUUK3QA.js +123 -0
  179. package/cdn/chunks/chunk.UXIMEXHC.js +37 -0
  180. package/cdn/chunks/chunk.VIW62643.js +29 -0
  181. package/cdn/chunks/chunk.VM2TQ3LY.js +19 -0
  182. package/cdn/chunks/chunk.VOCQHX7F.js +32 -0
  183. package/cdn/chunks/chunk.VS2VJKT2.js +19 -0
  184. package/cdn/chunks/chunk.WLXVWP7V.js +19 -0
  185. package/cdn/chunks/chunk.WOEBW5PN.js +19 -0
  186. package/cdn/chunks/chunk.WSJODP2O.js +30 -0
  187. package/cdn/chunks/chunk.XQJPYZPB.js +32 -0
  188. package/cdn/chunks/chunk.XTDFLS7Z.js +33 -0
  189. package/cdn/chunks/chunk.XZQ44RGE.js +189 -0
  190. package/cdn/chunks/chunk.YH2RHLYO.js +19 -0
  191. package/cdn/chunks/chunk.YHFXH4XR.js +19 -0
  192. package/cdn/chunks/chunk.YID2PD4H.js +83 -0
  193. package/cdn/chunks/chunk.YJL3JAIE.js +19 -0
  194. package/cdn/chunks/chunk.YMBKFE6C.js +19 -0
  195. package/cdn/chunks/chunk.YQ73WBVE.js +29 -0
  196. package/cdn/chunks/chunk.YQF3O4M6.js +240 -0
  197. package/cdn/chunks/chunk.ZDTOKUHN.js +19 -0
  198. package/cdn/chunks/chunk.ZGAJXSLY.js +32 -0
  199. package/cdn/chunks/chunk.ZM3NLLMD.js +357 -0
  200. package/cdn/chunks/chunk.ZVC2TYWY.js +106 -0
  201. package/cdn/components/accordion/accordion.component.js +5 -5
  202. package/cdn/components/accordion/accordion.js +6 -6
  203. package/cdn/components/alert/alert.component.js +4 -4
  204. package/cdn/components/alert/alert.js +5 -5
  205. package/cdn/components/avatar/avatar.component.js +5 -5
  206. package/cdn/components/avatar/avatar.js +6 -6
  207. package/cdn/components/badge/badge.component.js +3 -3
  208. package/cdn/components/badge/badge.js +4 -4
  209. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  210. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  211. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  212. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  213. package/cdn/components/browse-variables/browse-variables.component.js +13 -13
  214. package/cdn/components/browse-variables/browse-variables.js +14 -14
  215. package/cdn/components/button/button.component.d.ts +6 -0
  216. package/cdn/components/button/button.component.js +6 -6
  217. package/cdn/components/button/button.js +7 -7
  218. package/cdn/components/button-group/button-group.component.js +2 -2
  219. package/cdn/components/button-group/button-group.js +3 -3
  220. package/cdn/components/caption/caption.component.js +2 -2
  221. package/cdn/components/caption/caption.js +3 -3
  222. package/cdn/components/card/card.component.js +2 -2
  223. package/cdn/components/card/card.js +3 -3
  224. package/cdn/components/checkbox/checkbox.component.js +6 -6
  225. package/cdn/components/checkbox/checkbox.js +7 -7
  226. package/cdn/components/chip/chip.component.d.ts +2 -0
  227. package/cdn/components/chip/chip.component.js +2 -2
  228. package/cdn/components/chip/chip.js +3 -3
  229. package/cdn/components/combobox/combobox.component.js +3 -3
  230. package/cdn/components/combobox/combobox.js +4 -4
  231. package/cdn/components/data-access/data-access.component.d.ts +3 -1
  232. package/cdn/components/data-access/data-access.component.js +27 -26
  233. package/cdn/components/data-access/data-access.controller.d.ts +8 -0
  234. package/cdn/components/data-access/data-access.controller.js +1 -1
  235. package/cdn/components/data-access/data-access.js +28 -27
  236. package/cdn/components/data-access/data-access.styles.js +1 -1
  237. package/cdn/components/data-access/notebooks/data-access-notebook.js +3 -77
  238. package/cdn/components/data-grid/data-grid.component.js +3 -3
  239. package/cdn/components/data-grid/data-grid.js +4 -4
  240. package/cdn/components/data-rods/data-rods.component.js +35 -35
  241. package/cdn/components/data-rods/data-rods.js +36 -36
  242. package/cdn/components/data-subsetter/data-subsetter.component.js +39 -38
  243. package/cdn/components/data-subsetter/data-subsetter.controller.js +1 -1
  244. package/cdn/components/data-subsetter/data-subsetter.js +40 -39
  245. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  246. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +40 -39
  247. package/cdn/components/data-subsetter-history/data-subsetter-history.js +41 -40
  248. package/cdn/components/date-picker/date-picker.component.js +11 -11
  249. package/cdn/components/date-picker/date-picker.js +12 -12
  250. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  251. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  252. package/cdn/components/dialog/dialog.component.js +8 -8
  253. package/cdn/components/dialog/dialog.js +9 -9
  254. package/cdn/components/divider/divider.component.js +2 -2
  255. package/cdn/components/divider/divider.js +3 -3
  256. package/cdn/components/dropdown/dropdown.component.js +4 -4
  257. package/cdn/components/dropdown/dropdown.js +5 -5
  258. package/cdn/components/earthdata-login/earthdata-login.component.js +13 -13
  259. package/cdn/components/earthdata-login/earthdata-login.js +14 -14
  260. package/cdn/components/file-upload/file-upload.component.js +2 -2
  261. package/cdn/components/file-upload/file-upload.js +3 -3
  262. package/cdn/components/icon/icon.component.js +4 -4
  263. package/cdn/components/icon/icon.js +5 -5
  264. package/cdn/components/input/input.component.js +6 -6
  265. package/cdn/components/input/input.js +7 -7
  266. package/cdn/components/loader/loader.component.js +2 -2
  267. package/cdn/components/loader/loader.js +3 -3
  268. package/cdn/components/login/login.component.js +11 -11
  269. package/cdn/components/login/login.js +12 -12
  270. package/cdn/components/map/leaflet-utils.d.ts +1 -0
  271. package/cdn/components/map/leaflet-utils.js +1 -1
  272. package/cdn/components/map/map.component.d.ts +4 -0
  273. package/cdn/components/map/map.component.js +5 -5
  274. package/cdn/components/map/map.js +6 -6
  275. package/cdn/components/menu/menu.component.js +2 -2
  276. package/cdn/components/menu/menu.js +3 -3
  277. package/cdn/components/menu-item/menu-item.component.js +8 -8
  278. package/cdn/components/menu-item/menu-item.js +9 -9
  279. package/cdn/components/menu-item/submenu-controller.js +1 -1
  280. package/cdn/components/option/option.component.js +5 -5
  281. package/cdn/components/option/option.js +6 -6
  282. package/cdn/components/pagination/pagination.component.js +5 -5
  283. package/cdn/components/pagination/pagination.js +6 -6
  284. package/cdn/components/plot/plot.component.js +3 -3
  285. package/cdn/components/plot/plot.js +4 -4
  286. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  287. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  288. package/cdn/components/plot-toolbar/plot-toolbar.component.js +13 -13
  289. package/cdn/components/plot-toolbar/plot-toolbar.js +14 -14
  290. package/cdn/components/popup/popup.component.js +2 -2
  291. package/cdn/components/popup/popup.js +3 -3
  292. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  293. package/cdn/components/progress-bar/progress-bar.js +3 -3
  294. package/cdn/components/radio/radio.component.js +3 -3
  295. package/cdn/components/radio/radio.js +4 -4
  296. package/cdn/components/radio-group/radio-group.component.js +3 -3
  297. package/cdn/components/radio-group/radio-group.js +4 -4
  298. package/cdn/components/scroll-hint/scroll-hint.component.js +5 -5
  299. package/cdn/components/scroll-hint/scroll-hint.js +6 -6
  300. package/cdn/components/select/select.component.js +9 -9
  301. package/cdn/components/select/select.js +10 -10
  302. package/cdn/components/site-header/site-header.component.js +6 -6
  303. package/cdn/components/site-header/site-header.js +6 -6
  304. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  305. package/cdn/components/site-navigation/site-navigation.js +2 -2
  306. package/cdn/components/skeleton/skeleton.component.js +2 -2
  307. package/cdn/components/skeleton/skeleton.js +3 -3
  308. package/cdn/components/slider/slider.component.js +2 -2
  309. package/cdn/components/slider/slider.js +3 -3
  310. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +4 -0
  311. package/cdn/components/spatial-picker/spatial-picker.component.js +13 -13
  312. package/cdn/components/spatial-picker/spatial-picker.js +14 -14
  313. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  314. package/cdn/components/status-indicator/status-indicator.js +3 -3
  315. package/cdn/components/stepper/stepper.component.js +2 -2
  316. package/cdn/components/stepper/stepper.js +3 -3
  317. package/cdn/components/stepper-step/stepper-step.component.js +5 -5
  318. package/cdn/components/stepper-step/stepper-step.js +6 -6
  319. package/cdn/components/tab/tab.component.js +5 -5
  320. package/cdn/components/tab/tab.js +6 -6
  321. package/cdn/components/tab-panel/tab-panel.component.js +3 -3
  322. package/cdn/components/tab-panel/tab-panel.js +4 -4
  323. package/cdn/components/tabs/tabs.component.js +5 -5
  324. package/cdn/components/tabs/tabs.js +6 -6
  325. package/cdn/components/tag/tag.component.js +5 -5
  326. package/cdn/components/tag/tag.js +6 -6
  327. package/cdn/components/textarea/textarea.component.js +4 -4
  328. package/cdn/components/textarea/textarea.js +5 -5
  329. package/cdn/components/time-average-map/time-average-map.component.js +21 -21
  330. package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
  331. package/cdn/components/time-average-map/time-average-map.js +22 -22
  332. package/cdn/components/time-series/time-series.component.js +22 -22
  333. package/cdn/components/time-series/time-series.controller.js +2 -2
  334. package/cdn/components/time-series/time-series.js +23 -23
  335. package/cdn/components/toast/toast.component.js +5 -5
  336. package/cdn/components/toast/toast.js +6 -6
  337. package/cdn/components/toggle/toggle.component.js +4 -4
  338. package/cdn/components/toggle/toggle.js +5 -5
  339. package/cdn/components/tooltip/tooltip.component.js +4 -4
  340. package/cdn/components/tooltip/tooltip.js +5 -5
  341. package/cdn/components/variable-combobox/variable-combobox.component.js +10 -10
  342. package/cdn/components/variable-combobox/variable-combobox.js +11 -11
  343. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  344. package/cdn/components/variable-keyword-search/variable-keyword-search.js +11 -11
  345. package/cdn/custom-elements.json +4170 -4065
  346. package/cdn/react/accordion/index.js +6 -6
  347. package/cdn/react/alert/index.js +5 -5
  348. package/cdn/react/avatar/index.js +6 -6
  349. package/cdn/react/badge/index.js +4 -4
  350. package/cdn/react/breadcrumb/index.js +3 -3
  351. package/cdn/react/breadcrumbs/index.js +3 -3
  352. package/cdn/react/browse-variables/index.js +14 -14
  353. package/cdn/react/button/index.d.ts +12 -1
  354. package/cdn/react/button/index.js +7 -7
  355. package/cdn/react/button-group/index.js +3 -3
  356. package/cdn/react/caption/index.js +3 -3
  357. package/cdn/react/card/index.js +3 -3
  358. package/cdn/react/checkbox/index.js +7 -7
  359. package/cdn/react/chip/index.d.ts +8 -1
  360. package/cdn/react/chip/index.js +3 -3
  361. package/cdn/react/combobox/index.js +4 -4
  362. package/cdn/react/data-access/index.js +28 -27
  363. package/cdn/react/data-grid/index.js +4 -4
  364. package/cdn/react/data-rods/index.js +36 -36
  365. package/cdn/react/data-subsetter/index.js +40 -39
  366. package/cdn/react/data-subsetter-history/index.js +41 -40
  367. package/cdn/react/date-picker/index.js +12 -12
  368. package/cdn/react/date-range-slider/index.js +3 -3
  369. package/cdn/react/dialog/index.js +9 -9
  370. package/cdn/react/divider/index.js +3 -3
  371. package/cdn/react/dropdown/index.js +5 -5
  372. package/cdn/react/earthdata-login/index.js +14 -14
  373. package/cdn/react/file-upload/index.js +3 -3
  374. package/cdn/react/icon/index.js +5 -5
  375. package/cdn/react/index.d.ts +11 -11
  376. package/cdn/react/index.js +200 -199
  377. package/cdn/react/input/index.js +7 -7
  378. package/cdn/react/loader/index.js +3 -3
  379. package/cdn/react/login/index.js +12 -12
  380. package/cdn/react/map/index.js +6 -6
  381. package/cdn/react/menu/index.js +3 -3
  382. package/cdn/react/menu-item/index.js +9 -9
  383. package/cdn/react/option/index.js +6 -6
  384. package/cdn/react/pagination/index.js +6 -6
  385. package/cdn/react/plot/index.js +4 -4
  386. package/cdn/react/plot-toolbar/index.js +14 -14
  387. package/cdn/react/popup/index.js +3 -3
  388. package/cdn/react/progress-bar/index.js +3 -3
  389. package/cdn/react/radio/index.js +4 -4
  390. package/cdn/react/radio-group/index.js +4 -4
  391. package/cdn/react/scroll-hint/index.js +6 -6
  392. package/cdn/react/select/index.js +10 -10
  393. package/cdn/react/site-header/index.js +7 -7
  394. package/cdn/react/site-navigation/index.js +3 -3
  395. package/cdn/react/skeleton/index.js +3 -3
  396. package/cdn/react/slider/index.js +3 -3
  397. package/cdn/react/spatial-picker/index.js +14 -14
  398. package/cdn/react/status-indicator/index.js +3 -3
  399. package/cdn/react/stepper/index.js +3 -3
  400. package/cdn/react/stepper-step/index.js +6 -6
  401. package/cdn/react/tab/index.js +6 -6
  402. package/cdn/react/tab-panel/index.js +4 -4
  403. package/cdn/react/tabs/index.js +6 -6
  404. package/cdn/react/tag/index.js +6 -6
  405. package/cdn/react/textarea/index.js +5 -5
  406. package/cdn/react/time-average-map/index.js +22 -22
  407. package/cdn/react/time-series/index.js +23 -23
  408. package/cdn/react/toast/index.js +6 -6
  409. package/cdn/react/toggle/index.js +5 -5
  410. package/cdn/react/tooltip/index.js +5 -5
  411. package/cdn/react/variable-combobox/index.js +11 -11
  412. package/cdn/react/variable-keyword-search/index.js +11 -11
  413. package/cdn/terra-ui-components.js +192 -191
  414. package/cdn/types/vue/index.d.ts +541 -521
  415. package/cdn/utilities/mimetypes.js +1 -1
  416. package/cdn/vscode.html-custom-data.json +419 -404
  417. package/cdn/web-types.json +1120 -1062
  418. package/dist/chunks/chunk.23NLQYJ7.js +11 -0
  419. package/dist/chunks/chunk.2HXEBKDJ.js +11 -0
  420. package/dist/chunks/chunk.2TL5SGLD.js +11 -0
  421. package/dist/chunks/chunk.2VDXL62K.js +11 -0
  422. package/dist/chunks/chunk.2VHPJYJX.js +11 -0
  423. package/dist/chunks/chunk.3247IXNN.js +11 -0
  424. package/dist/chunks/chunk.3CINJNOA.js +24 -0
  425. package/dist/chunks/chunk.3GYL6ORG.js +21 -0
  426. package/dist/chunks/chunk.3ONUIWXV.js +29 -0
  427. package/dist/chunks/chunk.3QWCR7W7.js +24 -0
  428. package/dist/chunks/chunk.3SE6ZIME.js +11 -0
  429. package/dist/chunks/chunk.3UO4BPIZ.js +11 -0
  430. package/dist/chunks/chunk.3XFQA2XA.js +11 -0
  431. package/dist/chunks/chunk.45MY2TZ5.js +93 -0
  432. package/dist/chunks/chunk.47EHCMIS.js +11 -0
  433. package/dist/chunks/chunk.4IT7UTHS.js +21 -0
  434. package/dist/chunks/chunk.4JDUHDVS.js +525 -0
  435. package/dist/chunks/chunk.4WIFFN7U.js +89 -0
  436. package/dist/chunks/chunk.5CQ3UBKW.js +21 -0
  437. package/dist/chunks/chunk.5K55E6UH.js +25 -0
  438. package/dist/chunks/chunk.5KYQIBJW.js +11 -0
  439. package/dist/chunks/chunk.5OE6LILN.js +844 -0
  440. package/dist/chunks/chunk.5RCWRDS6.js +642 -0
  441. package/dist/chunks/chunk.65RMIPXH.js +21 -0
  442. package/dist/chunks/chunk.6E2CQRCE.js +291 -0
  443. package/dist/chunks/chunk.6FWNBIFP.js +21 -0
  444. package/dist/chunks/chunk.6JNRKHB4.js +25 -0
  445. package/dist/chunks/chunk.6L37ZKYY.js +28 -0
  446. package/dist/chunks/chunk.6TFGD3QA.js +180 -0
  447. package/dist/chunks/chunk.74BMSBNF.js +11 -0
  448. package/dist/chunks/chunk.7BLY6TM7.js +11 -0
  449. package/dist/chunks/chunk.7BOCHV2R.js +21 -0
  450. package/dist/chunks/chunk.7QALYCE5.js +11 -0
  451. package/dist/chunks/chunk.7VBFJCK4.js +21 -0
  452. package/dist/chunks/chunk.7WF6TPF6.js +11 -0
  453. package/dist/chunks/chunk.A56NOSXD.js +443 -0
  454. package/dist/chunks/chunk.ATQZRLHV.js +21 -0
  455. package/dist/chunks/chunk.AYGU6XYF.js +11 -0
  456. package/dist/chunks/chunk.B3DZ7FFL.js +271 -0
  457. package/dist/chunks/chunk.B5CILBXM.js +11 -0
  458. package/dist/chunks/chunk.B75DWB3E.js +21 -0
  459. package/dist/chunks/chunk.BH2KP7PZ.js +24 -0
  460. package/dist/chunks/chunk.BRJ7H3TE.js +25 -0
  461. package/dist/chunks/chunk.BRSGX5AM.js +11 -0
  462. package/dist/chunks/chunk.BSUXEC3M.js +143 -0
  463. package/dist/chunks/chunk.D2NEYV7K.js +262 -0
  464. package/dist/chunks/chunk.D2WXN4BG.js +11 -0
  465. package/dist/chunks/chunk.D5M6M4QG.js +11 -0
  466. package/dist/chunks/chunk.D67GQK4P.js +11 -0
  467. package/dist/chunks/chunk.D7UB7ALS.js +31 -0
  468. package/dist/chunks/chunk.DEO7CUOC.js +86 -0
  469. package/dist/chunks/chunk.DGI2HS6F.js +24 -0
  470. package/dist/chunks/chunk.DLLWR2VD.js +11 -0
  471. package/dist/chunks/chunk.DM52LQTY.js +11 -0
  472. package/dist/chunks/chunk.DQZBUH37.js +345 -0
  473. package/dist/chunks/chunk.DRBSI7XC.js +24 -0
  474. package/dist/chunks/chunk.DRS2JY44.js +67 -0
  475. package/dist/chunks/chunk.DZHKU3N5.js +245 -0
  476. package/dist/chunks/chunk.EIND5KV5.js +733 -0
  477. package/dist/chunks/chunk.EOUABBGI.js +123 -0
  478. package/dist/chunks/chunk.ESLNXPTJ.js +21 -0
  479. package/dist/chunks/chunk.EVTNY6AO.js +153 -0
  480. package/dist/chunks/chunk.FCVMQBC6.js +927 -0
  481. package/dist/chunks/chunk.FEL4RVQO.js +11 -0
  482. package/dist/chunks/chunk.FEORSNUI.js +220 -0
  483. package/dist/chunks/chunk.FGTNTIOR.js +21 -0
  484. package/dist/chunks/chunk.FIT2RVBA.js +180 -0
  485. package/dist/chunks/chunk.FLBPWUOX.js +11 -0
  486. package/dist/chunks/chunk.FLJ2EW3R.js +11 -0
  487. package/dist/chunks/chunk.FM6RMNPW.js +29 -0
  488. package/dist/chunks/chunk.FP2ZZ5E2.js +28 -0
  489. package/dist/chunks/chunk.FRFLTGR4.js +24 -0
  490. package/dist/chunks/chunk.FSKG5KRG.js +20 -0
  491. package/dist/chunks/chunk.GA27DR2B.js +220 -0
  492. package/dist/chunks/chunk.GHURD4CJ.js +11 -0
  493. package/dist/chunks/chunk.GSU5W4TG.js +1788 -0
  494. package/dist/chunks/chunk.HAQWUOM4.js +75 -0
  495. package/dist/chunks/chunk.HFFC7CSH.js +61 -0
  496. package/dist/chunks/chunk.HQVGLVRZ.js +52 -0
  497. package/dist/chunks/chunk.HRIOFO3J.js +25 -0
  498. package/dist/chunks/chunk.HT2SR5A4.js +21 -0
  499. package/dist/chunks/chunk.HV6RS7ZE.js +11 -0
  500. package/dist/chunks/chunk.HW7S6WES.js +11 -0
  501. package/dist/chunks/chunk.HXDEAUF3.js +11 -0
  502. package/dist/chunks/chunk.IACKHKNK.js +39 -0
  503. package/dist/chunks/chunk.ICKWGKAA.js +24 -0
  504. package/dist/chunks/chunk.IDSPFGMF.js +24 -0
  505. package/dist/chunks/chunk.IEWMER6A.js +27 -0
  506. package/dist/chunks/chunk.IG5E3PNG.js +145 -0
  507. package/dist/chunks/chunk.ILC2ULOI.js +91 -0
  508. package/dist/chunks/chunk.J22KHIHT.js +11 -0
  509. package/dist/chunks/chunk.J543UX5E.js +11 -0
  510. package/dist/chunks/chunk.JBAD2K7T.js +21 -0
  511. package/dist/chunks/chunk.JLZUVFCE.js +287 -0
  512. package/dist/chunks/chunk.JTBVF4U6.js +422 -0
  513. package/dist/chunks/chunk.K2SZX5IG.js +21 -0
  514. package/dist/chunks/chunk.K3AWJBDJ.js +21 -0
  515. package/dist/chunks/chunk.KE3MZQ6G.js +21 -0
  516. package/dist/chunks/chunk.KFBVHRHZ.js +11 -0
  517. package/dist/chunks/chunk.KMFDKQOL.js +83 -0
  518. package/dist/chunks/chunk.LFAE5YNF.js +11 -0
  519. package/dist/chunks/chunk.LFAOPKE4.js +21 -0
  520. package/dist/chunks/chunk.LLHM6XAL.js +11 -0
  521. package/dist/chunks/chunk.LOG6ATWX.js +609 -0
  522. package/dist/chunks/chunk.LOSJS73C.js +48 -0
  523. package/dist/chunks/chunk.LTYKZQRC.js +121 -0
  524. package/dist/chunks/chunk.LUHKHMDR.js +11 -0
  525. package/dist/chunks/chunk.LVEVEN6X.js +11 -0
  526. package/dist/chunks/chunk.M5JKEDTX.js +24 -0
  527. package/dist/chunks/chunk.MILX66GG.js +25 -0
  528. package/dist/chunks/chunk.MJAA2EKQ.js +214 -0
  529. package/dist/chunks/chunk.MJQNLZIJ.js +57 -0
  530. package/dist/chunks/chunk.MOVS4YNJ.js +24 -0
  531. package/dist/chunks/chunk.MU56K6DK.js +24 -0
  532. package/dist/chunks/chunk.MYBSXZHT.js +278 -0
  533. package/dist/chunks/chunk.N44PPT5L.js +74 -0
  534. package/dist/chunks/chunk.N7PWSHBL.js +24 -0
  535. package/dist/chunks/chunk.NAZZYKXP.js +11 -0
  536. package/dist/chunks/chunk.NDFKP43K.js +52 -0
  537. package/dist/chunks/chunk.NFRQWBWE.js +78 -0
  538. package/dist/chunks/chunk.NO5K5I44.js +27 -0
  539. package/dist/chunks/chunk.NP4VI55C.js +21 -0
  540. package/dist/chunks/chunk.NSUXBNRY.js +1124 -0
  541. package/dist/chunks/chunk.NYSYEO6S.js +477 -0
  542. package/dist/chunks/chunk.OKITA6RN.js +43 -0
  543. package/dist/chunks/chunk.ONVJYGXW.js +112 -0
  544. package/dist/chunks/chunk.OOZ35KRV.js +458 -0
  545. package/dist/chunks/chunk.OQMU445F.js +229 -0
  546. package/dist/chunks/chunk.PNYCPGP6.js +21 -0
  547. package/dist/chunks/chunk.PWY2KP3Q.js +581 -0
  548. package/dist/chunks/chunk.QFGNVANU.js +345 -0
  549. package/dist/chunks/chunk.QKEGFJMV.js +11 -0
  550. package/dist/chunks/chunk.QKFXTGWF.js +11 -0
  551. package/dist/chunks/chunk.QQEZTSC7.js +24 -0
  552. package/dist/chunks/chunk.QROD7XSA.js +21 -0
  553. package/dist/chunks/chunk.QWM7TR7V.js +11 -0
  554. package/dist/chunks/chunk.QWW2BYOP.js +21 -0
  555. package/dist/chunks/chunk.R45WTHZT.js +11 -0
  556. package/dist/chunks/chunk.R4VDG6AK.js +446 -0
  557. package/dist/chunks/chunk.R7XNQ3UF.js +11 -0
  558. package/dist/chunks/chunk.RE75I24N.js +11 -0
  559. package/dist/chunks/chunk.RI2R4X2H.js +11 -0
  560. package/dist/chunks/chunk.RKNRGTZP.js +27 -0
  561. package/dist/chunks/chunk.RKYRE5YW.js +64 -0
  562. package/dist/chunks/chunk.RMC5XGJR.js +937 -0
  563. package/dist/chunks/chunk.RNCN4M47.js +26 -0
  564. package/dist/chunks/chunk.RQ27EUVN.js +190 -0
  565. package/dist/chunks/chunk.RQLZOB4O.js +214 -0
  566. package/dist/chunks/chunk.S4FQNSDY.js +11 -0
  567. package/dist/chunks/chunk.S4RYPA4R.js +24 -0
  568. package/dist/chunks/chunk.S5DYKI6G.js +11 -0
  569. package/dist/chunks/chunk.S7FJE6DS.js +97 -0
  570. package/dist/chunks/chunk.SA6GMLYJ.js +11 -0
  571. package/dist/chunks/chunk.SD3BVNB4.js +11 -0
  572. package/dist/chunks/chunk.SVXJ6IWX.js +21 -0
  573. package/dist/chunks/chunk.T255GJVN.js +213 -0
  574. package/dist/chunks/chunk.T2UA4I4O.js +472 -0
  575. package/dist/chunks/chunk.TCOLWI6Z.js +21 -0
  576. package/dist/chunks/chunk.TD4HMCFI.js +21 -0
  577. package/dist/chunks/chunk.TPZRD4LL.js +11 -0
  578. package/dist/chunks/chunk.TQRJHVPX.js +27 -0
  579. package/dist/chunks/chunk.TRCVXOB3.js +25 -0
  580. package/dist/chunks/chunk.TRZ24D6C.js +28 -0
  581. package/dist/chunks/chunk.TU3Z4DM7.js +21 -0
  582. package/dist/chunks/chunk.U3XIKOX7.js +73 -0
  583. package/dist/chunks/chunk.UAQROBYW.js +21 -0
  584. package/dist/chunks/chunk.UGI4WX6F.js +11 -0
  585. package/dist/chunks/chunk.ULZ5HNOZ.js +11 -0
  586. package/dist/chunks/chunk.V2TFKPNC.js +449 -0
  587. package/dist/chunks/chunk.VPDGNTFF.js +11 -0
  588. package/dist/chunks/chunk.VPYT2IYR.js +11 -0
  589. package/dist/chunks/chunk.VQDCH34V.js +85 -0
  590. package/dist/chunks/chunk.VVCGM4BW.js +21 -0
  591. package/dist/chunks/chunk.VVQDHS65.js +2062 -0
  592. package/dist/chunks/chunk.W6TNURMD.js +24 -0
  593. package/dist/chunks/chunk.WIYDJCKH.js +11 -0
  594. package/dist/chunks/chunk.WP3THC5K.js +591 -0
  595. package/dist/chunks/chunk.WPKMKO7L.js +596 -0
  596. package/dist/chunks/chunk.WRZTYDD7.js +101 -0
  597. package/dist/chunks/chunk.X4LEFOTK.js +26 -0
  598. package/dist/chunks/chunk.X4T5FEVN.js +409 -0
  599. package/dist/chunks/chunk.X627CJ3G.js +161 -0
  600. package/dist/chunks/chunk.XBO7X2M2.js +11 -0
  601. package/dist/chunks/chunk.XE4T3WTA.js +120 -0
  602. package/dist/chunks/chunk.XJTJGJAK.js +21 -0
  603. package/dist/chunks/chunk.XSFRIUM5.js +355 -0
  604. package/dist/chunks/chunk.XWO3K7ZZ.js +11 -0
  605. package/dist/chunks/chunk.YS3LXZOQ.js +11 -0
  606. package/dist/chunks/chunk.YX54YA5F.js +247 -0
  607. package/dist/chunks/chunk.Z2UUIIRV.js +11 -0
  608. package/dist/chunks/chunk.Z35NQ7A7.js +33 -0
  609. package/dist/chunks/chunk.Z4UDKTEF.js +11 -0
  610. package/dist/chunks/chunk.Z6G2TOJC.js +241 -0
  611. package/dist/chunks/chunk.ZD56437X.js +180 -0
  612. package/dist/chunks/chunk.ZDZUNTE2.js +28 -0
  613. package/dist/chunks/chunk.ZIVBHHJU.js +21 -0
  614. package/dist/chunks/chunk.ZLAXCM2J.js +61 -0
  615. package/dist/chunks/chunk.ZP2DB3XG.js +264 -0
  616. package/dist/chunks/chunk.ZPH3RFHS.js +252 -0
  617. package/dist/chunks/chunk.ZXLL6LDL.js +11 -0
  618. package/dist/components/accordion/accordion.component.js +5 -5
  619. package/dist/components/accordion/accordion.js +6 -6
  620. package/dist/components/alert/alert.component.js +3 -3
  621. package/dist/components/alert/alert.js +4 -4
  622. package/dist/components/avatar/avatar.component.js +5 -5
  623. package/dist/components/avatar/avatar.js +6 -6
  624. package/dist/components/badge/badge.component.js +3 -3
  625. package/dist/components/badge/badge.js +4 -4
  626. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  627. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  628. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  629. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  630. package/dist/components/browse-variables/browse-variables.component.js +13 -13
  631. package/dist/components/browse-variables/browse-variables.js +14 -14
  632. package/dist/components/button/button.component.d.ts +6 -0
  633. package/dist/components/button/button.component.js +6 -6
  634. package/dist/components/button/button.js +7 -7
  635. package/dist/components/button-group/button-group.component.js +2 -2
  636. package/dist/components/button-group/button-group.js +3 -3
  637. package/dist/components/caption/caption.component.js +2 -2
  638. package/dist/components/caption/caption.js +3 -3
  639. package/dist/components/card/card.component.js +2 -2
  640. package/dist/components/card/card.js +3 -3
  641. package/dist/components/checkbox/checkbox.component.js +6 -6
  642. package/dist/components/checkbox/checkbox.js +7 -7
  643. package/dist/components/chip/chip.component.d.ts +2 -0
  644. package/dist/components/chip/chip.component.js +2 -2
  645. package/dist/components/chip/chip.js +3 -3
  646. package/dist/components/combobox/combobox.component.js +2 -2
  647. package/dist/components/combobox/combobox.js +3 -3
  648. package/dist/components/data-access/data-access.component.d.ts +3 -1
  649. package/dist/components/data-access/data-access.component.js +26 -25
  650. package/dist/components/data-access/data-access.controller.d.ts +8 -0
  651. package/dist/components/data-access/data-access.controller.js +1 -1
  652. package/dist/components/data-access/data-access.js +27 -26
  653. package/dist/components/data-access/data-access.styles.js +1 -1
  654. package/dist/components/data-access/notebooks/data-access-notebook.js +3 -70
  655. package/dist/components/data-grid/data-grid.component.js +3 -3
  656. package/dist/components/data-grid/data-grid.js +4 -4
  657. package/dist/components/data-rods/data-rods.component.js +34 -34
  658. package/dist/components/data-rods/data-rods.js +35 -35
  659. package/dist/components/data-subsetter/data-subsetter.component.js +38 -37
  660. package/dist/components/data-subsetter/data-subsetter.controller.js +1 -1
  661. package/dist/components/data-subsetter/data-subsetter.js +39 -38
  662. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  663. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +39 -38
  664. package/dist/components/data-subsetter-history/data-subsetter-history.js +40 -39
  665. package/dist/components/date-picker/date-picker.component.js +11 -11
  666. package/dist/components/date-picker/date-picker.js +12 -12
  667. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  668. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  669. package/dist/components/dialog/dialog.component.js +8 -8
  670. package/dist/components/dialog/dialog.js +9 -9
  671. package/dist/components/divider/divider.component.js +2 -2
  672. package/dist/components/divider/divider.js +3 -3
  673. package/dist/components/dropdown/dropdown.component.js +3 -3
  674. package/dist/components/dropdown/dropdown.js +4 -4
  675. package/dist/components/earthdata-login/earthdata-login.component.js +13 -13
  676. package/dist/components/earthdata-login/earthdata-login.js +14 -14
  677. package/dist/components/file-upload/file-upload.component.js +2 -2
  678. package/dist/components/file-upload/file-upload.js +3 -3
  679. package/dist/components/icon/icon.component.js +4 -4
  680. package/dist/components/icon/icon.js +5 -5
  681. package/dist/components/input/input.component.js +6 -6
  682. package/dist/components/input/input.js +7 -7
  683. package/dist/components/loader/loader.component.js +2 -2
  684. package/dist/components/loader/loader.js +3 -3
  685. package/dist/components/login/login.component.js +11 -11
  686. package/dist/components/login/login.js +12 -12
  687. package/dist/components/map/leaflet-utils.d.ts +1 -0
  688. package/dist/components/map/leaflet-utils.js +1 -1
  689. package/dist/components/map/map.component.d.ts +4 -0
  690. package/dist/components/map/map.component.js +4 -4
  691. package/dist/components/map/map.js +5 -5
  692. package/dist/components/menu/menu.component.js +2 -2
  693. package/dist/components/menu/menu.js +3 -3
  694. package/dist/components/menu-item/menu-item.component.js +8 -8
  695. package/dist/components/menu-item/menu-item.js +9 -9
  696. package/dist/components/option/option.component.js +5 -5
  697. package/dist/components/option/option.js +6 -6
  698. package/dist/components/pagination/pagination.component.js +5 -5
  699. package/dist/components/pagination/pagination.js +6 -6
  700. package/dist/components/plot/plot.component.js +2 -2
  701. package/dist/components/plot/plot.js +3 -3
  702. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  703. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  704. package/dist/components/plot-toolbar/plot-toolbar.component.js +13 -13
  705. package/dist/components/plot-toolbar/plot-toolbar.js +14 -14
  706. package/dist/components/popup/popup.component.js +2 -2
  707. package/dist/components/popup/popup.js +3 -3
  708. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  709. package/dist/components/progress-bar/progress-bar.js +3 -3
  710. package/dist/components/radio/radio.component.js +2 -2
  711. package/dist/components/radio/radio.js +3 -3
  712. package/dist/components/radio-group/radio-group.component.js +2 -2
  713. package/dist/components/radio-group/radio-group.js +3 -3
  714. package/dist/components/scroll-hint/scroll-hint.component.js +5 -5
  715. package/dist/components/scroll-hint/scroll-hint.js +6 -6
  716. package/dist/components/select/select.component.js +9 -9
  717. package/dist/components/select/select.js +10 -10
  718. package/dist/components/site-header/site-header.component.js +6 -6
  719. package/dist/components/site-header/site-header.js +6 -6
  720. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  721. package/dist/components/site-navigation/site-navigation.js +2 -2
  722. package/dist/components/skeleton/skeleton.component.js +2 -2
  723. package/dist/components/skeleton/skeleton.js +3 -3
  724. package/dist/components/slider/slider.component.js +2 -2
  725. package/dist/components/slider/slider.js +3 -3
  726. package/dist/components/spatial-picker/spatial-picker.component.d.ts +4 -0
  727. package/dist/components/spatial-picker/spatial-picker.component.js +13 -13
  728. package/dist/components/spatial-picker/spatial-picker.js +14 -14
  729. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  730. package/dist/components/status-indicator/status-indicator.js +3 -3
  731. package/dist/components/stepper/stepper.component.js +2 -2
  732. package/dist/components/stepper/stepper.js +3 -3
  733. package/dist/components/stepper-step/stepper-step.component.js +5 -5
  734. package/dist/components/stepper-step/stepper-step.js +6 -6
  735. package/dist/components/tab/tab.component.js +5 -5
  736. package/dist/components/tab/tab.js +6 -6
  737. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  738. package/dist/components/tab-panel/tab-panel.js +3 -3
  739. package/dist/components/tabs/tabs.component.js +5 -5
  740. package/dist/components/tabs/tabs.js +6 -6
  741. package/dist/components/tag/tag.component.js +5 -5
  742. package/dist/components/tag/tag.js +6 -6
  743. package/dist/components/textarea/textarea.component.js +2 -2
  744. package/dist/components/textarea/textarea.js +3 -3
  745. package/dist/components/time-average-map/time-average-map.component.js +21 -21
  746. package/dist/components/time-average-map/time-average-map.controller.js +2 -2
  747. package/dist/components/time-average-map/time-average-map.js +22 -22
  748. package/dist/components/time-series/time-series.component.js +22 -22
  749. package/dist/components/time-series/time-series.controller.js +2 -2
  750. package/dist/components/time-series/time-series.js +23 -23
  751. package/dist/components/toast/toast.component.js +4 -4
  752. package/dist/components/toast/toast.js +5 -5
  753. package/dist/components/toggle/toggle.component.js +2 -2
  754. package/dist/components/toggle/toggle.js +3 -3
  755. package/dist/components/tooltip/tooltip.component.js +3 -3
  756. package/dist/components/tooltip/tooltip.js +4 -4
  757. package/dist/components/variable-combobox/variable-combobox.component.js +10 -10
  758. package/dist/components/variable-combobox/variable-combobox.js +11 -11
  759. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  760. package/dist/components/variable-keyword-search/variable-keyword-search.js +11 -11
  761. package/dist/custom-elements.json +4170 -4065
  762. package/dist/react/accordion/index.js +6 -6
  763. package/dist/react/alert/index.js +4 -4
  764. package/dist/react/avatar/index.js +6 -6
  765. package/dist/react/badge/index.js +4 -4
  766. package/dist/react/breadcrumb/index.js +3 -3
  767. package/dist/react/breadcrumbs/index.js +3 -3
  768. package/dist/react/browse-variables/index.js +14 -14
  769. package/dist/react/button/index.d.ts +12 -1
  770. package/dist/react/button/index.js +7 -7
  771. package/dist/react/button-group/index.js +3 -3
  772. package/dist/react/caption/index.js +3 -3
  773. package/dist/react/card/index.js +3 -3
  774. package/dist/react/checkbox/index.js +7 -7
  775. package/dist/react/chip/index.d.ts +8 -1
  776. package/dist/react/chip/index.js +3 -3
  777. package/dist/react/combobox/index.js +3 -3
  778. package/dist/react/data-access/index.js +27 -26
  779. package/dist/react/data-grid/index.js +4 -4
  780. package/dist/react/data-rods/index.js +35 -35
  781. package/dist/react/data-subsetter/index.js +39 -38
  782. package/dist/react/data-subsetter-history/index.js +40 -39
  783. package/dist/react/date-picker/index.js +12 -12
  784. package/dist/react/date-range-slider/index.js +3 -3
  785. package/dist/react/dialog/index.js +9 -9
  786. package/dist/react/divider/index.js +3 -3
  787. package/dist/react/dropdown/index.js +4 -4
  788. package/dist/react/earthdata-login/index.js +14 -14
  789. package/dist/react/file-upload/index.js +3 -3
  790. package/dist/react/icon/index.js +5 -5
  791. package/dist/react/index.d.ts +11 -11
  792. package/dist/react/index.js +199 -198
  793. package/dist/react/input/index.js +7 -7
  794. package/dist/react/loader/index.js +3 -3
  795. package/dist/react/login/index.js +12 -12
  796. package/dist/react/map/index.js +5 -5
  797. package/dist/react/menu/index.js +3 -3
  798. package/dist/react/menu-item/index.js +9 -9
  799. package/dist/react/option/index.js +6 -6
  800. package/dist/react/pagination/index.js +6 -6
  801. package/dist/react/plot/index.js +3 -3
  802. package/dist/react/plot-toolbar/index.js +14 -14
  803. package/dist/react/popup/index.js +3 -3
  804. package/dist/react/progress-bar/index.js +3 -3
  805. package/dist/react/radio/index.js +3 -3
  806. package/dist/react/radio-group/index.js +3 -3
  807. package/dist/react/scroll-hint/index.js +6 -6
  808. package/dist/react/select/index.js +10 -10
  809. package/dist/react/site-header/index.js +7 -7
  810. package/dist/react/site-navigation/index.js +3 -3
  811. package/dist/react/skeleton/index.js +3 -3
  812. package/dist/react/slider/index.js +3 -3
  813. package/dist/react/spatial-picker/index.js +14 -14
  814. package/dist/react/status-indicator/index.js +3 -3
  815. package/dist/react/stepper/index.js +3 -3
  816. package/dist/react/stepper-step/index.js +6 -6
  817. package/dist/react/tab/index.js +6 -6
  818. package/dist/react/tab-panel/index.js +3 -3
  819. package/dist/react/tabs/index.js +6 -6
  820. package/dist/react/tag/index.js +6 -6
  821. package/dist/react/textarea/index.js +3 -3
  822. package/dist/react/time-average-map/index.js +22 -22
  823. package/dist/react/time-series/index.js +23 -23
  824. package/dist/react/toast/index.js +5 -5
  825. package/dist/react/toggle/index.js +3 -3
  826. package/dist/react/tooltip/index.js +4 -4
  827. package/dist/react/variable-combobox/index.js +11 -11
  828. package/dist/react/variable-keyword-search/index.js +11 -11
  829. package/dist/terra-ui-components.js +190 -189
  830. package/dist/terra_ui_components-0.0.139-py3-none-any.whl +0 -0
  831. package/dist/terra_ui_components-0.0.139.tar.gz +0 -0
  832. package/dist/types/vue/index.d.ts +541 -521
  833. package/dist/utilities/mimetypes.js +1 -1
  834. package/dist/vscode.html-custom-data.json +419 -404
  835. package/dist/web-types.json +1120 -1062
  836. package/package.json +1 -1
  837. package/cdn/chunks/chunk.2BJAFBWO.js +0 -19
  838. package/cdn/chunks/chunk.2GAC47WU.js +0 -60
  839. package/cdn/chunks/chunk.2TIKI4CV.js +0 -19
  840. package/cdn/chunks/chunk.2ZOU3STC.js +0 -123
  841. package/cdn/chunks/chunk.3F6CWYXR.js +0 -19
  842. package/cdn/chunks/chunk.3HAVIA4W.js +0 -259
  843. package/cdn/chunks/chunk.3O4PB2H3.js +0 -35
  844. package/cdn/chunks/chunk.3ZEO3IMN.js +0 -19
  845. package/cdn/chunks/chunk.43THXYJW.js +0 -19
  846. package/cdn/chunks/chunk.46WRFWUK.js +0 -33860
  847. package/cdn/chunks/chunk.4HLNRBQ6.js +0 -19
  848. package/cdn/chunks/chunk.4M4GBWDC.js +0 -19
  849. package/cdn/chunks/chunk.4OX4HVMY.js +0 -264
  850. package/cdn/chunks/chunk.4TDBTQV5.js +0 -538
  851. package/cdn/chunks/chunk.5CVRWER5.js +0 -19
  852. package/cdn/chunks/chunk.5DCGCB6K.js +0 -113
  853. package/cdn/chunks/chunk.5DM4QTN6.js +0 -29
  854. package/cdn/chunks/chunk.5HPTDONM.js +0 -32
  855. package/cdn/chunks/chunk.5HPYINI7.js +0 -19
  856. package/cdn/chunks/chunk.5LT2TYTG.js +0 -19
  857. package/cdn/chunks/chunk.5TXVJNQV.js +0 -29
  858. package/cdn/chunks/chunk.5VW5EZXV.js +0 -29
  859. package/cdn/chunks/chunk.5XJNAHQJ.js +0 -134
  860. package/cdn/chunks/chunk.626R2KUA.js +0 -19
  861. package/cdn/chunks/chunk.673QBVIN.js +0 -33
  862. package/cdn/chunks/chunk.6A6JHLJE.js +0 -19
  863. package/cdn/chunks/chunk.6NDSKK4J.js +0 -19
  864. package/cdn/chunks/chunk.6OR5C5Q7.js +0 -19
  865. package/cdn/chunks/chunk.6P3Q5HQJ.js +0 -29
  866. package/cdn/chunks/chunk.6W6F4ROR.js +0 -19
  867. package/cdn/chunks/chunk.6YSPK4EH.js +0 -83
  868. package/cdn/chunks/chunk.7GN3VMLV.js +0 -19
  869. package/cdn/chunks/chunk.7SRQP2BN.js +0 -286
  870. package/cdn/chunks/chunk.A3BRXNHI.js +0 -610
  871. package/cdn/chunks/chunk.A5SALK4D.js +0 -158
  872. package/cdn/chunks/chunk.ADLLUIOF.js +0 -19
  873. package/cdn/chunks/chunk.AGZ2BKOZ.js +0 -460
  874. package/cdn/chunks/chunk.AHSH74RW.js +0 -36
  875. package/cdn/chunks/chunk.AK2A7B6Q.js +0 -104
  876. package/cdn/chunks/chunk.ANGKDJP4.js +0 -231
  877. package/cdn/chunks/chunk.ANSRCOVR.js +0 -19
  878. package/cdn/chunks/chunk.ATLDQ3WR.js +0 -33
  879. package/cdn/chunks/chunk.BC2GUXZ7.js +0 -32
  880. package/cdn/chunks/chunk.BC64ST5G.js +0 -29
  881. package/cdn/chunks/chunk.BFO6SZXZ.js +0 -29
  882. package/cdn/chunks/chunk.BPU7M7DV.js +0 -19
  883. package/cdn/chunks/chunk.BRQCSVCH.js +0 -2022
  884. package/cdn/chunks/chunk.BRYKXRCC.js +0 -55346
  885. package/cdn/chunks/chunk.BTL6NVN3.js +0 -41
  886. package/cdn/chunks/chunk.BVCX2RJT.js +0 -19
  887. package/cdn/chunks/chunk.BZ23ZYNY.js +0 -198
  888. package/cdn/chunks/chunk.CDC2B5IP.js +0 -29
  889. package/cdn/chunks/chunk.CI4UXPOP.js +0 -19
  890. package/cdn/chunks/chunk.COMG3MGR.js +0 -29
  891. package/cdn/chunks/chunk.CPDYZ3LO.js +0 -278
  892. package/cdn/chunks/chunk.CYMFPTYH.js +0 -32
  893. package/cdn/chunks/chunk.D4H2PCSX.js +0 -19
  894. package/cdn/chunks/chunk.DE2ZETA7.js +0 -93
  895. package/cdn/chunks/chunk.DEFAJGI7.js +0 -37
  896. package/cdn/chunks/chunk.DMS73IZ3.js +0 -188
  897. package/cdn/chunks/chunk.E2RHO7DN.js +0 -19
  898. package/cdn/chunks/chunk.ECGINNOY.js +0 -29
  899. package/cdn/chunks/chunk.EGQO2GDX.js +0 -62
  900. package/cdn/chunks/chunk.EIPX4NVH.js +0 -151
  901. package/cdn/chunks/chunk.EITFR5BT.js +0 -19
  902. package/cdn/chunks/chunk.EIYHG4QH.js +0 -99
  903. package/cdn/chunks/chunk.EVC6N4XS.js +0 -19
  904. package/cdn/chunks/chunk.EWPC57VY.js +0 -19
  905. package/cdn/chunks/chunk.EXKJLZ7J.js +0 -1803
  906. package/cdn/chunks/chunk.F4UOBQNN.js +0 -29
  907. package/cdn/chunks/chunk.F7YRE2LG.js +0 -165
  908. package/cdn/chunks/chunk.FBAXT3BK.js +0 -29
  909. package/cdn/chunks/chunk.FG3K3Q6V.js +0 -19
  910. package/cdn/chunks/chunk.FGZRXTZ6.js +0 -19
  911. package/cdn/chunks/chunk.FPNYUWK6.js +0 -67
  912. package/cdn/chunks/chunk.FQEKGVRO.js +0 -32
  913. package/cdn/chunks/chunk.FVZU57MN.js +0 -19
  914. package/cdn/chunks/chunk.FWVPXLAJ.js +0 -19
  915. package/cdn/chunks/chunk.G3FY5QP3.js +0 -32
  916. package/cdn/chunks/chunk.G4GEUX35.js +0 -29
  917. package/cdn/chunks/chunk.GH5IWK3V.js +0 -10710
  918. package/cdn/chunks/chunk.GLRK2CD2.js +0 -472
  919. package/cdn/chunks/chunk.GSFGAHJ7.js +0 -19
  920. package/cdn/chunks/chunk.GWWIQVTA.js +0 -234
  921. package/cdn/chunks/chunk.H226G54W.js +0 -621
  922. package/cdn/chunks/chunk.H4FNKBO5.js +0 -35
  923. package/cdn/chunks/chunk.HA6T6UQB.js +0 -19
  924. package/cdn/chunks/chunk.HFQ73YHH.js +0 -47
  925. package/cdn/chunks/chunk.HO2HLYL2.js +0 -29
  926. package/cdn/chunks/chunk.HSVOTNWM.js +0 -29
  927. package/cdn/chunks/chunk.HXZVFJ6H.js +0 -524
  928. package/cdn/chunks/chunk.IGEYXP3A.js +0 -99
  929. package/cdn/chunks/chunk.IT7T44HW.js +0 -83
  930. package/cdn/chunks/chunk.IWBJA6I7.js +0 -359
  931. package/cdn/chunks/chunk.IWCGYFDH.js +0 -32
  932. package/cdn/chunks/chunk.IYY3KFGU.js +0 -34
  933. package/cdn/chunks/chunk.J23RZN4H.js +0 -19
  934. package/cdn/chunks/chunk.J27ZRG2P.js +0 -19
  935. package/cdn/chunks/chunk.JBKZ2O54.js +0 -19
  936. package/cdn/chunks/chunk.JFBUXZDD.js +0 -35
  937. package/cdn/chunks/chunk.JNHX2WPA.js +0 -29
  938. package/cdn/chunks/chunk.JQB5OS27.js +0 -132
  939. package/cdn/chunks/chunk.JROEZ6BJ.js +0 -240
  940. package/cdn/chunks/chunk.JXS7CCSD.js +0 -39
  941. package/cdn/chunks/chunk.K4ZQ3QTB.js +0 -599
  942. package/cdn/chunks/chunk.K7U6WTEC.js +0 -754
  943. package/cdn/chunks/chunk.KAC36PWW.js +0 -19
  944. package/cdn/chunks/chunk.KAMBSWDB.js +0 -19
  945. package/cdn/chunks/chunk.KC4TKSAA.js +0 -36
  946. package/cdn/chunks/chunk.KEJNACA2.js +0 -19
  947. package/cdn/chunks/chunk.KHLSTEU5.js +0 -29
  948. package/cdn/chunks/chunk.KLVFSGNQ.js +0 -19
  949. package/cdn/chunks/chunk.L3AQPABK.js +0 -302
  950. package/cdn/chunks/chunk.L7S57B4M.js +0 -19
  951. package/cdn/chunks/chunk.LBTNI2V2.js +0 -71
  952. package/cdn/chunks/chunk.LFD6D7PW.js +0 -19
  953. package/cdn/chunks/chunk.LPQPN27D.js +0 -230
  954. package/cdn/chunks/chunk.LZ76ZLTY.js +0 -224
  955. package/cdn/chunks/chunk.M4RK2ABO.js +0 -106
  956. package/cdn/chunks/chunk.MSESXAV2.js +0 -276
  957. package/cdn/chunks/chunk.N5RUBOM2.js +0 -78
  958. package/cdn/chunks/chunk.N6XCHKIS.js +0 -32
  959. package/cdn/chunks/chunk.NABM5PIJ.js +0 -615
  960. package/cdn/chunks/chunk.NDGGHVRH.js +0 -30
  961. package/cdn/chunks/chunk.NDTHFW5R.js +0 -19
  962. package/cdn/chunks/chunk.NFXL4TXT.js +0 -19
  963. package/cdn/chunks/chunk.NRIGNA3S.js +0 -303
  964. package/cdn/chunks/chunk.NRZVOPL7.js +0 -74
  965. package/cdn/chunks/chunk.NXILKRTN.js +0 -19
  966. package/cdn/chunks/chunk.NZ6Z36KS.js +0 -655
  967. package/cdn/chunks/chunk.OJWEQA2L.js +0 -60
  968. package/cdn/chunks/chunk.OKTINZHU.js +0 -34
  969. package/cdn/chunks/chunk.OMDVVVMC.js +0 -19
  970. package/cdn/chunks/chunk.OQZZPFI4.js +0 -35
  971. package/cdn/chunks/chunk.OXNJKUQM.js +0 -32
  972. package/cdn/chunks/chunk.P7Q76NKD.js +0 -29
  973. package/cdn/chunks/chunk.PA6TODQZ.js +0 -189
  974. package/cdn/chunks/chunk.PDGPGRPX.js +0 -29
  975. package/cdn/chunks/chunk.PFEYSMVR.js +0 -467
  976. package/cdn/chunks/chunk.PG6A3YS2.js +0 -19
  977. package/cdn/chunks/chunk.PU2EA3F3.js +0 -33
  978. package/cdn/chunks/chunk.PU3V52T7.js +0 -19
  979. package/cdn/chunks/chunk.PYWQ4CJT.js +0 -132
  980. package/cdn/chunks/chunk.PZTPTQGC.js +0 -19
  981. package/cdn/chunks/chunk.QCBCEGHS.js +0 -36
  982. package/cdn/chunks/chunk.QCQ4X6JV.js +0 -29
  983. package/cdn/chunks/chunk.QGPOGCGC.js +0 -32
  984. package/cdn/chunks/chunk.QID257LE.js +0 -491
  985. package/cdn/chunks/chunk.QPKDJX5G.js +0 -239
  986. package/cdn/chunks/chunk.QWV6DSWO.js +0 -19
  987. package/cdn/chunks/chunk.R3J2I7S6.js +0 -29
  988. package/cdn/chunks/chunk.R3YYADTU.js +0 -19
  989. package/cdn/chunks/chunk.RAFPJ7SC.js +0 -357
  990. package/cdn/chunks/chunk.RHTNA6LR.js +0 -284
  991. package/cdn/chunks/chunk.RKNJJP3S.js +0 -32
  992. package/cdn/chunks/chunk.RTNYHC5I.js +0 -29
  993. package/cdn/chunks/chunk.RX5BQG6X.js +0 -29
  994. package/cdn/chunks/chunk.S5QKV4ZF.js +0 -19
  995. package/cdn/chunks/chunk.SI6XTPNR.js +0 -890
  996. package/cdn/chunks/chunk.SIOZ4BTY.js +0 -904
  997. package/cdn/chunks/chunk.SL2XAFXP.js +0 -86
  998. package/cdn/chunks/chunk.SMLEQ2LR.js +0 -29
  999. package/cdn/chunks/chunk.SO6HP2US.js +0 -92
  1000. package/cdn/chunks/chunk.SOAQHIJL.js +0 -29
  1001. package/cdn/chunks/chunk.SU6YFVSR.js +0 -32
  1002. package/cdn/chunks/chunk.TERI3VR7.js +0 -943
  1003. package/cdn/chunks/chunk.TKLCIMWL.js +0 -155
  1004. package/cdn/chunks/chunk.TPKKIYZX.js +0 -29
  1005. package/cdn/chunks/chunk.TRPIGGKJ.js +0 -29
  1006. package/cdn/chunks/chunk.TSDVLQNQ.js +0 -29
  1007. package/cdn/chunks/chunk.TSSH7OBI.js +0 -19
  1008. package/cdn/chunks/chunk.TVKZ73IC.js +0 -224
  1009. package/cdn/chunks/chunk.UGX6ENXK.js +0 -19
  1010. package/cdn/chunks/chunk.USXBU4V7.js +0 -32
  1011. package/cdn/chunks/chunk.UYMOTJH6.js +0 -657
  1012. package/cdn/chunks/chunk.V52XWSHA.js +0 -1966
  1013. package/cdn/chunks/chunk.VAVERUQY.js +0 -19
  1014. package/cdn/chunks/chunk.VD4J6NSJ.js +0 -435
  1015. package/cdn/chunks/chunk.VLZIIUK4.js +0 -49
  1016. package/cdn/chunks/chunk.VMZC6SWS.js +0 -19
  1017. package/cdn/chunks/chunk.VOQC3ZCU.js +0 -29
  1018. package/cdn/chunks/chunk.VSHI7QPJ.js +0 -19
  1019. package/cdn/chunks/chunk.W2UBFVIJ.js +0 -19
  1020. package/cdn/chunks/chunk.WO5IANXZ.js +0 -19
  1021. package/cdn/chunks/chunk.WZ4BJS34.js +0 -29
  1022. package/cdn/chunks/chunk.X3L6R75X.js +0 -29
  1023. package/cdn/chunks/chunk.XDHTVQJX.js +0 -32
  1024. package/cdn/chunks/chunk.XNSJOSHU.js +0 -29
  1025. package/cdn/chunks/chunk.XSRPSAPH.js +0 -170
  1026. package/cdn/chunks/chunk.XWVMUFJ7.js +0 -32
  1027. package/cdn/chunks/chunk.Y773DAY4.js +0 -19
  1028. package/cdn/chunks/chunk.YEN743LR.js +0 -37
  1029. package/cdn/chunks/chunk.YRXSN33E.js +0 -190
  1030. package/cdn/chunks/chunk.Z63QUAXL.js +0 -36
  1031. package/cdn/chunks/chunk.ZABMXOTM.js +0 -19
  1032. package/cdn/chunks/chunk.ZKEHTBR2.js +0 -29
  1033. package/cdn/chunks/chunk.ZOLJNM6R.js +0 -33
  1034. package/cdn/chunks/chunk.ZY2YLMTQ.js +0 -372
  1035. package/cdn/chunks/chunk.ZZF57TEN.js +0 -19
  1036. package/dist/chunks/chunk.2426R65J.js +0 -11
  1037. package/dist/chunks/chunk.24OZTGQ4.js +0 -24
  1038. package/dist/chunks/chunk.2IATTFYF.js +0 -21
  1039. package/dist/chunks/chunk.2KEWLVVS.js +0 -11
  1040. package/dist/chunks/chunk.2LMA4HXX.js +0 -75
  1041. package/dist/chunks/chunk.2MUR5ODC.js +0 -25
  1042. package/dist/chunks/chunk.2RD2YCMC.js +0 -21
  1043. package/dist/chunks/chunk.2RQ7TE6K.js +0 -11
  1044. package/dist/chunks/chunk.2T6RXP74.js +0 -21
  1045. package/dist/chunks/chunk.32WEZIMB.js +0 -11
  1046. package/dist/chunks/chunk.3DIKX4D7.js +0 -20
  1047. package/dist/chunks/chunk.3EDSDPZR.js +0 -11
  1048. package/dist/chunks/chunk.3HOMDURY.js +0 -11
  1049. package/dist/chunks/chunk.3KXECFSF.js +0 -11
  1050. package/dist/chunks/chunk.3L5Y4UAK.js +0 -422
  1051. package/dist/chunks/chunk.3SVH6OTG.js +0 -21
  1052. package/dist/chunks/chunk.3WACV45C.js +0 -93
  1053. package/dist/chunks/chunk.3WVTPAFC.js +0 -67
  1054. package/dist/chunks/chunk.3WZK4BGU.js +0 -21
  1055. package/dist/chunks/chunk.4MGGBJBD.js +0 -20
  1056. package/dist/chunks/chunk.4ND4FAJH.js +0 -11
  1057. package/dist/chunks/chunk.4OEGTTX7.js +0 -733
  1058. package/dist/chunks/chunk.4PYJR6WL.js +0 -21
  1059. package/dist/chunks/chunk.4RVH6XIJ.js +0 -581
  1060. package/dist/chunks/chunk.4SXKWAH4.js +0 -399
  1061. package/dist/chunks/chunk.4TNXG42V.js +0 -24
  1062. package/dist/chunks/chunk.53OX6PUP.js +0 -21
  1063. package/dist/chunks/chunk.54N7XEVF.js +0 -43
  1064. package/dist/chunks/chunk.552IT23D.js +0 -21
  1065. package/dist/chunks/chunk.5FWXTZMW.js +0 -11
  1066. package/dist/chunks/chunk.5IS5U42I.js +0 -78
  1067. package/dist/chunks/chunk.5IVEFQ73.js +0 -55
  1068. package/dist/chunks/chunk.6PEX3FEM.js +0 -278
  1069. package/dist/chunks/chunk.6RFDAONW.js +0 -21
  1070. package/dist/chunks/chunk.6US6YKKT.js +0 -21
  1071. package/dist/chunks/chunk.6WKLL2WM.js +0 -27
  1072. package/dist/chunks/chunk.6YXJFS7E.js +0 -39
  1073. package/dist/chunks/chunk.75FUVZDD.js +0 -11
  1074. package/dist/chunks/chunk.76HWX2PB.js +0 -25
  1075. package/dist/chunks/chunk.7DHRNNYP.js +0 -21
  1076. package/dist/chunks/chunk.7DL43QDS.js +0 -21
  1077. package/dist/chunks/chunk.7FQDY3NG.js +0 -21
  1078. package/dist/chunks/chunk.7J4CYUNW.js +0 -21
  1079. package/dist/chunks/chunk.7OSDR4DT.js +0 -27
  1080. package/dist/chunks/chunk.7S4Y7E54.js +0 -153
  1081. package/dist/chunks/chunk.7ULUL7UB.js +0 -214
  1082. package/dist/chunks/chunk.7WWNQP3F.js +0 -52
  1083. package/dist/chunks/chunk.7YFUO5H7.js +0 -11
  1084. package/dist/chunks/chunk.AAKINAHX.js +0 -91
  1085. package/dist/chunks/chunk.AGQSCMY3.js +0 -86
  1086. package/dist/chunks/chunk.ATRP3VPC.js +0 -61
  1087. package/dist/chunks/chunk.AZNKCI5A.js +0 -2008
  1088. package/dist/chunks/chunk.B7MLQJME.js +0 -11
  1089. package/dist/chunks/chunk.BAO2ISQ2.js +0 -180
  1090. package/dist/chunks/chunk.BEGIYBUS.js +0 -190
  1091. package/dist/chunks/chunk.BEWGTRTM.js +0 -21
  1092. package/dist/chunks/chunk.BFKPZ5KB.js +0 -11
  1093. package/dist/chunks/chunk.BVDQB3ON.js +0 -25
  1094. package/dist/chunks/chunk.BXCR6MKM.js +0 -24
  1095. package/dist/chunks/chunk.C2XCYTEU.js +0 -11
  1096. package/dist/chunks/chunk.CHQGRSSN.js +0 -11
  1097. package/dist/chunks/chunk.CMQFO2Y2.js +0 -11
  1098. package/dist/chunks/chunk.CXRPWR2F.js +0 -11
  1099. package/dist/chunks/chunk.CYD7QBKX.js +0 -11
  1100. package/dist/chunks/chunk.DCPS4G3B.js +0 -21
  1101. package/dist/chunks/chunk.DLTYQJNF.js +0 -247
  1102. package/dist/chunks/chunk.DMPS64FX.js +0 -24
  1103. package/dist/chunks/chunk.DWLH2GWC.js +0 -264
  1104. package/dist/chunks/chunk.DXHYGQDF.js +0 -11
  1105. package/dist/chunks/chunk.DZR4D6IU.js +0 -11
  1106. package/dist/chunks/chunk.E4GY4PFT.js +0 -11
  1107. package/dist/chunks/chunk.EEKCQQP5.js +0 -24
  1108. package/dist/chunks/chunk.EKGLR7QZ.js +0 -85
  1109. package/dist/chunks/chunk.EQMZWXBN.js +0 -11
  1110. package/dist/chunks/chunk.FAP5VEES.js +0 -11
  1111. package/dist/chunks/chunk.FFG3ZSYS.js +0 -21
  1112. package/dist/chunks/chunk.FIPOTDXT.js +0 -11
  1113. package/dist/chunks/chunk.FU2INUZZ.js +0 -97
  1114. package/dist/chunks/chunk.FXHQTN4J.js +0 -21
  1115. package/dist/chunks/chunk.G7YHGF6B.js +0 -52
  1116. package/dist/chunks/chunk.GHX6JKTO.js +0 -24
  1117. package/dist/chunks/chunk.GMJA54M4.js +0 -449
  1118. package/dist/chunks/chunk.GRHPMK76.js +0 -11
  1119. package/dist/chunks/chunk.GWTQ5TIL.js +0 -11
  1120. package/dist/chunks/chunk.H4CFFNY7.js +0 -11
  1121. package/dist/chunks/chunk.H55ETYZG.js +0 -24
  1122. package/dist/chunks/chunk.HIDHBTUK.js +0 -26
  1123. package/dist/chunks/chunk.HKEOMDWQ.js +0 -57
  1124. package/dist/chunks/chunk.HTOB5YHI.js +0 -11
  1125. package/dist/chunks/chunk.I73QP2WG.js +0 -89
  1126. package/dist/chunks/chunk.IGFE5OMC.js +0 -21
  1127. package/dist/chunks/chunk.IIP7XENC.js +0 -220
  1128. package/dist/chunks/chunk.IVICUROI.js +0 -245
  1129. package/dist/chunks/chunk.J3V3J6FF.js +0 -591
  1130. package/dist/chunks/chunk.J4RRQTQE.js +0 -291
  1131. package/dist/chunks/chunk.J6AHI4XH.js +0 -209
  1132. package/dist/chunks/chunk.JFAWDJ6T.js +0 -24
  1133. package/dist/chunks/chunk.JHOIM3AH.js +0 -11
  1134. package/dist/chunks/chunk.JLJEN3MG.js +0 -11
  1135. package/dist/chunks/chunk.JNKU5Q5C.js +0 -21
  1136. package/dist/chunks/chunk.JQLIWLBF.js +0 -11
  1137. package/dist/chunks/chunk.JTIG7LIG.js +0 -145
  1138. package/dist/chunks/chunk.JTZSYDBZ.js +0 -143
  1139. package/dist/chunks/chunk.JWU2CJKN.js +0 -21
  1140. package/dist/chunks/chunk.K2QMUUIL.js +0 -11
  1141. package/dist/chunks/chunk.K4EZCK76.js +0 -11
  1142. package/dist/chunks/chunk.KQZF6ECA.js +0 -11
  1143. package/dist/chunks/chunk.KXED5RDO.js +0 -24
  1144. package/dist/chunks/chunk.L5ZDLN66.js +0 -83
  1145. package/dist/chunks/chunk.LDZAANCW.js +0 -213
  1146. package/dist/chunks/chunk.LSRW6XH5.js +0 -27
  1147. package/dist/chunks/chunk.M25BNXYX.js +0 -446
  1148. package/dist/chunks/chunk.M7XZ2USH.js +0 -24
  1149. package/dist/chunks/chunk.MKBGUN2U.js +0 -28
  1150. package/dist/chunks/chunk.MPCO3AK6.js +0 -180
  1151. package/dist/chunks/chunk.N2DBICDG.js +0 -31
  1152. package/dist/chunks/chunk.N3KI7TGY.js +0 -11
  1153. package/dist/chunks/chunk.NEYNT6PS.js +0 -21
  1154. package/dist/chunks/chunk.NFYNX52D.js +0 -24
  1155. package/dist/chunks/chunk.NKYBMMY2.js +0 -11
  1156. package/dist/chunks/chunk.NPGHYBDT.js +0 -24
  1157. package/dist/chunks/chunk.NVCB6Y7O.js +0 -11
  1158. package/dist/chunks/chunk.NZ4IMOIQ.js +0 -24
  1159. package/dist/chunks/chunk.O7C53DXL.js +0 -11
  1160. package/dist/chunks/chunk.O7MF3O7H.js +0 -21
  1161. package/dist/chunks/chunk.OA7ZISO3.js +0 -29
  1162. package/dist/chunks/chunk.OGQB2AZY.js +0 -28
  1163. package/dist/chunks/chunk.OI6TWGD3.js +0 -11
  1164. package/dist/chunks/chunk.OQDJNDF7.js +0 -21
  1165. package/dist/chunks/chunk.OQSLB6CP.js +0 -477
  1166. package/dist/chunks/chunk.OTIBVSOZ.js +0 -48
  1167. package/dist/chunks/chunk.OVHY4CEQ.js +0 -28
  1168. package/dist/chunks/chunk.OYNKCPJD.js +0 -271
  1169. package/dist/chunks/chunk.P6AWD2KL.js +0 -11
  1170. package/dist/chunks/chunk.PFLNNFWL.js +0 -11
  1171. package/dist/chunks/chunk.PJZ3AGV2.js +0 -1124
  1172. package/dist/chunks/chunk.PMDGFZP5.js +0 -525
  1173. package/dist/chunks/chunk.PR6NXMKM.js +0 -596
  1174. package/dist/chunks/chunk.QBQEKK4N.js +0 -11
  1175. package/dist/chunks/chunk.QIBXPT7H.js +0 -609
  1176. package/dist/chunks/chunk.QR6MBPNF.js +0 -21
  1177. package/dist/chunks/chunk.R64NO63N.js +0 -120
  1178. package/dist/chunks/chunk.R6O6JG2L.js +0 -11
  1179. package/dist/chunks/chunk.R7A4A4XT.js +0 -472
  1180. package/dist/chunks/chunk.RAFZXIF4.js +0 -262
  1181. package/dist/chunks/chunk.RAUR5DNX.js +0 -844
  1182. package/dist/chunks/chunk.RI3VSFPZ.js +0 -220
  1183. package/dist/chunks/chunk.RWPWL7DO.js +0 -64
  1184. package/dist/chunks/chunk.S2QZFTNQ.js +0 -11
  1185. package/dist/chunks/chunk.S6KXROR3.js +0 -252
  1186. package/dist/chunks/chunk.SB7SK65W.js +0 -21
  1187. package/dist/chunks/chunk.SBQXHA4N.js +0 -279
  1188. package/dist/chunks/chunk.SEQTHRF4.js +0 -11
  1189. package/dist/chunks/chunk.SGMS4MGY.js +0 -74
  1190. package/dist/chunks/chunk.SO7HBYRG.js +0 -180
  1191. package/dist/chunks/chunk.SUEHXKVI.js +0 -458
  1192. package/dist/chunks/chunk.T7U33NR2.js +0 -21
  1193. package/dist/chunks/chunk.TI4PHSHN.js +0 -21
  1194. package/dist/chunks/chunk.TU44IQ3W.js +0 -443
  1195. package/dist/chunks/chunk.TUVZOKFF.js +0 -25
  1196. package/dist/chunks/chunk.TYG6OQTG.js +0 -229
  1197. package/dist/chunks/chunk.UA5CCCNW.js +0 -112
  1198. package/dist/chunks/chunk.UDHOUQYU.js +0 -11
  1199. package/dist/chunks/chunk.UP3EUANM.js +0 -26
  1200. package/dist/chunks/chunk.UZBNN6OH.js +0 -345
  1201. package/dist/chunks/chunk.V3OWPNEW.js +0 -121
  1202. package/dist/chunks/chunk.V4Q4SMBP.js +0 -11
  1203. package/dist/chunks/chunk.VBSKFOGI.js +0 -21
  1204. package/dist/chunks/chunk.VEEBK3BR.js +0 -11
  1205. package/dist/chunks/chunk.VHCPOUHN.js +0 -11
  1206. package/dist/chunks/chunk.VMMKDZZ5.js +0 -637
  1207. package/dist/chunks/chunk.VNIY4LMA.js +0 -11
  1208. package/dist/chunks/chunk.VSWHQLHN.js +0 -11
  1209. package/dist/chunks/chunk.VTE57C55.js +0 -24
  1210. package/dist/chunks/chunk.W3LC2QG2.js +0 -927
  1211. package/dist/chunks/chunk.W4GXZSQS.js +0 -874
  1212. package/dist/chunks/chunk.WBMGN2BP.js +0 -11
  1213. package/dist/chunks/chunk.WEZGLQOU.js +0 -11
  1214. package/dist/chunks/chunk.WFNM2234.js +0 -21
  1215. package/dist/chunks/chunk.WI2KVU46.js +0 -229
  1216. package/dist/chunks/chunk.WQK4NSPB.js +0 -161
  1217. package/dist/chunks/chunk.WZ3QCYDR.js +0 -11
  1218. package/dist/chunks/chunk.WZDSW6OR.js +0 -11
  1219. package/dist/chunks/chunk.X4FOEYTC.js +0 -28
  1220. package/dist/chunks/chunk.XBAEFASN.js +0 -33
  1221. package/dist/chunks/chunk.XBKQL5O2.js +0 -101
  1222. package/dist/chunks/chunk.XHEHPNOY.js +0 -11
  1223. package/dist/chunks/chunk.XQMGTEU2.js +0 -1788
  1224. package/dist/chunks/chunk.XUFLNF35.js +0 -27
  1225. package/dist/chunks/chunk.XVKPPLF7.js +0 -11
  1226. package/dist/chunks/chunk.Y2WHWGSZ.js +0 -21
  1227. package/dist/chunks/chunk.YMENYKFQ.js +0 -11
  1228. package/dist/chunks/chunk.YY5Q5XEE.js +0 -11
  1229. package/dist/chunks/chunk.Z7KKP434.js +0 -11
  1230. package/dist/chunks/chunk.ZARHT2OD.js +0 -29
  1231. package/dist/chunks/chunk.ZKLRB2JO.js +0 -123
  1232. package/dist/chunks/chunk.ZSZ4KJID.js +0 -345
  1233. package/dist/chunks/chunk.ZT7GABVO.js +0 -355
  1234. package/dist/chunks/chunk.ZXN6LIWR.js +0 -11
  1235. package/dist/terra_ui_components-0.0.137-py3-none-any.whl +0 -0
  1236. package/dist/terra_ui_components-0.0.137.tar.gz +0 -0
@@ -0,0 +1,2062 @@
1
+ import {
2
+ defaultSubsetFileMimeType,
3
+ getFriendlyNameForMimeType
4
+ } from "./chunk.5K55E6UH.js";
5
+ import {
6
+ getNotebook
7
+ } from "./chunk.N44PPT5L.js";
8
+ import {
9
+ TerraLogin
10
+ } from "./chunk.ILC2ULOI.js";
11
+ import {
12
+ TerraDialog
13
+ } from "./chunk.WP3THC5K.js";
14
+ import {
15
+ DataSubsetterController
16
+ } from "./chunk.Z6G2TOJC.js";
17
+ import {
18
+ data_subsetter_styles_default
19
+ } from "./chunk.CYCA3NBR.js";
20
+ import {
21
+ TerraDataAccess,
22
+ debounce,
23
+ sendDataToJupyterNotebook
24
+ } from "./chunk.RMC5XGJR.js";
25
+ import {
26
+ TerraMenuItem
27
+ } from "./chunk.T255GJVN.js";
28
+ import {
29
+ TerraMenu
30
+ } from "./chunk.BSUXEC3M.js";
31
+ import {
32
+ TerraDatePicker
33
+ } from "./chunk.GSU5W4TG.js";
34
+ import {
35
+ AuthController
36
+ } from "./chunk.DHM36JBP.js";
37
+ import {
38
+ TerraSpatialPicker
39
+ } from "./chunk.5RCWRDS6.js";
40
+ import {
41
+ TerraInput
42
+ } from "./chunk.WPKMKO7L.js";
43
+ import {
44
+ TerraDropdown
45
+ } from "./chunk.4JDUHDVS.js";
46
+ import {
47
+ TerraLoader
48
+ } from "./chunk.XE4T3WTA.js";
49
+ import {
50
+ TerraButton
51
+ } from "./chunk.X4T5FEVN.js";
52
+ import {
53
+ TerraAccordion
54
+ } from "./chunk.NFRQWBWE.js";
55
+ import {
56
+ TerraIcon
57
+ } from "./chunk.MJAA2EKQ.js";
58
+ import {
59
+ getBasePath
60
+ } from "./chunk.PBC3S6IG.js";
61
+ import {
62
+ watch
63
+ } from "./chunk.NWXJOH5T.js";
64
+ import {
65
+ TerraElement,
66
+ component_styles_default
67
+ } from "./chunk.R4VDG6AK.js";
68
+ import {
69
+ __decorateClass,
70
+ __privateAdd,
71
+ __privateGet,
72
+ __privateMethod,
73
+ __spreadProps,
74
+ __spreadValues
75
+ } from "./chunk.SHKVBVTI.js";
76
+
77
+ // src/components/data-subsetter/data-subsetter.component.ts
78
+ import { html, nothing } from "lit";
79
+ import { property, query, state } from "lit/decorators.js";
80
+ var _authController, _renderFooterForDialog, renderFooterForDialog_fn, _renderSizeInfo, renderSizeInfo_fn, _renderSubsetOptions, renderSubsetOptions_fn, _renderSearchForCollection, renderSearchForCollection_fn, _renderOutputFormatSelection, renderOutputFormatSelection_fn, _renderDateRangeSelection, renderDateRangeSelection_fn, _handleDateChange, _resetDateRangeSelection, _resetFormatSelection, _getCollectionDateRange, getCollectionDateRange_fn, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn, _renderSpatialSelection, renderSpatialSelection_fn, _handleSpatialChange, _resetSpatialSelection, _renderVariableSelection, renderVariableSelection_fn, _filterVariableTree, filterVariableTree_fn, _handleVariableFilterChange, handleVariableFilterChange_fn, _buildVariableTree, buildVariableTree_fn, _renderVariableTree, renderVariableTree_fn, _getAllGroupPaths, getAllGroupPaths_fn, _toggleGroupExpand, toggleGroupExpand_fn, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn, _toggleVariableSelection, toggleVariableSelection_fn, _markFieldTouched, markFieldTouched_fn, _resetVariableSelection, _renderJobStatus, renderJobStatus_fn, _renderSelectedParams, renderSelectedParams_fn, _cancelJob, cancelJob_fn, _getData, getData_fn, _touchAllFields, touchAllFields_fn, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn, _getDocumentationLinks, getDocumentationLinks_fn, _getDataLinks, getDataLinks_fn, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn, _hasSpatialSubset, hasSpatialSubset_fn, _renderJobMessage, renderJobMessage_fn, _getJobMessageText, getJobMessageText_fn, _estimateJobSize, estimateJobSize_fn, _refineParameters, refineParameters_fn, _backToSubsetOptions, backToSubsetOptions_fn, _viewRunningJob, viewRunningJob_fn, _handleDownloadSelect, handleDownloadSelect_fn, _downloadLinksAsTxt, downloadLinksAsTxt_fn, _downloadPythonScript, downloadPythonScript_fn, _downloadEarthdataDownload, downloadEarthdataDownload_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn;
81
+ var TerraDataSubsetter = class extends TerraElement {
82
+ constructor() {
83
+ super(...arguments);
84
+ __privateAdd(this, _renderFooterForDialog);
85
+ __privateAdd(this, _renderSizeInfo);
86
+ __privateAdd(this, _renderSubsetOptions);
87
+ __privateAdd(this, _renderSearchForCollection);
88
+ __privateAdd(this, _renderOutputFormatSelection);
89
+ __privateAdd(this, _renderDateRangeSelection);
90
+ __privateAdd(this, _getCollectionDateRange);
91
+ __privateAdd(this, _handleRegionAccordionToggle);
92
+ __privateAdd(this, _renderSpatialSelection);
93
+ __privateAdd(this, _renderVariableSelection);
94
+ __privateAdd(this, _filterVariableTree);
95
+ __privateAdd(this, _handleVariableFilterChange);
96
+ __privateAdd(this, _buildVariableTree);
97
+ __privateAdd(this, _renderVariableTree);
98
+ __privateAdd(this, _getAllGroupPaths);
99
+ __privateAdd(this, _toggleGroupExpand);
100
+ __privateAdd(this, _toggleExpandCollapseAll);
101
+ __privateAdd(this, _toggleVariableSelection);
102
+ __privateAdd(this, _markFieldTouched);
103
+ __privateAdd(this, _renderJobStatus);
104
+ __privateAdd(this, _renderSelectedParams);
105
+ __privateAdd(this, _cancelJob);
106
+ __privateAdd(this, _getData);
107
+ __privateAdd(this, _touchAllFields);
108
+ __privateAdd(this, _numberOfFilesFoundEstimate);
109
+ __privateAdd(this, _getDocumentationLinks);
110
+ __privateAdd(this, _getDataLinks);
111
+ __privateAdd(this, _hasAtLeastOneSubsetOption);
112
+ __privateAdd(this, _hasSpatialSubset);
113
+ __privateAdd(this, _renderJobMessage);
114
+ __privateAdd(this, _getJobMessageText);
115
+ __privateAdd(this, _estimateJobSize);
116
+ __privateAdd(this, _refineParameters);
117
+ __privateAdd(this, _backToSubsetOptions);
118
+ __privateAdd(this, _viewRunningJob);
119
+ __privateAdd(this, _handleDownloadSelect);
120
+ __privateAdd(this, _downloadLinksAsTxt);
121
+ __privateAdd(this, _downloadPythonScript);
122
+ __privateAdd(this, _downloadEarthdataDownload);
123
+ __privateAdd(this, _handleJupyterNotebookClick);
124
+ __privateAdd(this, _renderAvailableTemporalRangeSection);
125
+ __privateAdd(this, _renderAvailableSpatialRangeSection);
126
+ __privateAdd(this, _renderDataAccessModeSelection);
127
+ this.showCollectionSearch = true;
128
+ this.showHistoryPanel = true;
129
+ this.selectedVariables = [];
130
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
131
+ this.variableFilterText = "";
132
+ this.touchedFields = /* @__PURE__ */ new Set();
133
+ this.spatialSelection = null;
134
+ this.selectedDateRange = {
135
+ startDate: null,
136
+ endDate: null
137
+ };
138
+ this.selectedFormat = defaultSubsetFileMimeType;
139
+ this.cancelingGetData = false;
140
+ this.selectedTab = "web-links";
141
+ this.refineParameters = false;
142
+ this.collectionSearchType = "all";
143
+ this.collectionSearchLoading = false;
144
+ this.collectionLoading = false;
145
+ this.collectionAccordionOpen = true;
146
+ this.dataAccessMode = "original";
147
+ this.controller = new DataSubsetterController(this);
148
+ __privateAdd(this, _authController, new AuthController(this));
149
+ __privateAdd(this, _handleDateChange, (e) => {
150
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
151
+ this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
152
+ startDate: e.detail.startDate,
153
+ endDate: e.detail.endDate
154
+ });
155
+ });
156
+ __privateAdd(this, _resetDateRangeSelection, () => {
157
+ this.selectedDateRange = { startDate: null, endDate: null };
158
+ });
159
+ __privateAdd(this, _resetFormatSelection, () => {
160
+ var _a, _b;
161
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
162
+ this.selectedFormat = this.collectionWithServices.outputFormats[0];
163
+ } else {
164
+ this.selectedFormat = defaultSubsetFileMimeType;
165
+ }
166
+ });
167
+ __privateAdd(this, _handleSpatialChange, (e) => {
168
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
169
+ const round2 = (n) => parseFloat(Number(n).toFixed(2));
170
+ if (e.detail.type === "bbox" /* BBOX */) {
171
+ this.spatialSelection = {
172
+ e: round2(e.detail.bounds.getNorthEast().lng),
173
+ n: round2(e.detail.bounds.getNorthEast().lat),
174
+ w: round2(e.detail.bounds.getSouthWest().lng),
175
+ s: round2(e.detail.bounds.getSouthWest().lat)
176
+ };
177
+ } else if (e.detail.type === "point" /* POINT */) {
178
+ this.spatialSelection = e.detail.latLng;
179
+ } else {
180
+ this.spatialSelection = null;
181
+ }
182
+ });
183
+ __privateAdd(this, _resetSpatialSelection, () => {
184
+ this.spatialSelection = null;
185
+ });
186
+ __privateAdd(this, _resetVariableSelection, () => {
187
+ this.selectedVariables = [];
188
+ });
189
+ }
190
+ jobIdChanged() {
191
+ if (this.jobId) {
192
+ this.controller.fetchJobByID(this.jobId);
193
+ this.dataAccessMode = "subset";
194
+ }
195
+ }
196
+ shortNameAndVersionChanged() {
197
+ if (this.shortName && this.version) {
198
+ this.collectionEntryId = `${this.shortName}_${this.version}`;
199
+ }
200
+ }
201
+ firstUpdated() {
202
+ if (this.collectionEntryId) {
203
+ this.showCollectionSearch = false;
204
+ }
205
+ if (this.jobId) {
206
+ this.controller.fetchJobByID(this.jobId);
207
+ this.dataAccessMode = "subset";
208
+ }
209
+ if (this.showHistoryPanel) {
210
+ this.renderHistoryPanel();
211
+ }
212
+ }
213
+ collectionChanged() {
214
+ var _a, _b;
215
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
216
+ this.selectedDateRange = { startDate, endDate };
217
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
218
+ this.selectedFormat = this.collectionWithServices.outputFormats[0];
219
+ } else {
220
+ this.selectedFormat = defaultSubsetFileMimeType;
221
+ }
222
+ this.collectionLoading = false;
223
+ this.collectionAccordionOpen = false;
224
+ }
225
+ render() {
226
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
227
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
228
+ const showMinimizeButton = showJobStatus && !!this.dialog;
229
+ const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
230
+ const content = html`
231
+ <div class="container">
232
+ ${!this.dialog ? html`
233
+ <div class="header">
234
+ <h1>
235
+ <svg
236
+ class="download-icon"
237
+ viewBox="0 0 24 24"
238
+ fill="currentColor"
239
+ >
240
+ <path
241
+ d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
242
+ />
243
+ </svg>
244
+ ${title}
245
+ </h1>
246
+
247
+ ${showMinimizeButton ? html`<button
248
+ class="minimize-btn"
249
+ @click=${() => this.minimizeDialog()}
250
+ >
251
+ -
252
+ </button>` : nothing}
253
+ </div>
254
+ ` : nothing}
255
+ ${!this.jobId && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? html`
256
+ <div class="section">
257
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
258
+ </div>
259
+ ` : nothing}
260
+ ${this.dataAccessMode === "original" ? html`
261
+ <div class="section">
262
+ <terra-data-access
263
+ short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
264
+ version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
265
+ ?footer-slot=${!!this.dialog}
266
+ >
267
+ ${this.dialog ? html`
268
+ <div
269
+ slot="footer"
270
+ style="margin-top: 15px;"
271
+ >
272
+ <slot
273
+ name="data-access-footer"
274
+ ></slot>
275
+ </div>
276
+ ` : nothing}
277
+ </terra-data-access>
278
+ </div>
279
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
280
+ </div>
281
+ `;
282
+ if (this.dialog) {
283
+ return html`
284
+ <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
285
+ <span
286
+ slot="label"
287
+ style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
288
+ >
289
+ <svg
290
+ class="download-icon"
291
+ viewBox="0 0 24 24"
292
+ fill="currentColor"
293
+ style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
294
+ >
295
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
296
+ </svg>
297
+ ${title}
298
+ </span>
299
+ ${showMinimizeButton ? html`
300
+ <button
301
+ slot="header-actions"
302
+ class="minimize-btn"
303
+ @click=${() => {
304
+ var _a2;
305
+ return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
306
+ }}
307
+ aria-label="Minimize"
308
+ >
309
+ -
310
+ </button>
311
+ ` : nothing}
312
+ ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
313
+ </terra-dialog>
314
+ `;
315
+ }
316
+ return html`
317
+ <div class="container">
318
+ <div class="header">
319
+ <h1>
320
+ <svg
321
+ class="download-icon"
322
+ viewBox="0 0 24 24"
323
+ fill="currentColor"
324
+ >
325
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
326
+ </svg>
327
+ ${title}
328
+ </h1>
329
+
330
+ ${showMinimizeButton ? html`<button
331
+ class="minimize-btn"
332
+ @click=${() => this.minimizeDialog()}
333
+ >
334
+ -
335
+ </button>` : nothing}
336
+ </div>
337
+ ${!this.jobId && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? html`
338
+ <div class="section">
339
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
340
+ </div>
341
+ ` : nothing}
342
+ ${this.dataAccessMode === "original" ? html`
343
+ <div class="section">
344
+ <terra-data-access
345
+ short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
346
+ version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
347
+ ?footer-slot=${!!this.dialog}
348
+ >
349
+ ${this.dialog ? html`
350
+ <div
351
+ slot="footer"
352
+ style="margin-top: 15px;"
353
+ >
354
+ <slot
355
+ name="data-access-footer"
356
+ ></slot>
357
+ </div>
358
+ ` : nothing}
359
+ </terra-data-access>
360
+ </div>
361
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
362
+ </div>
363
+ `;
364
+ }
365
+ minimizeDialog() {
366
+ var _a;
367
+ (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
368
+ }
369
+ handleCollectionSearch(searchTerm) {
370
+ this.collectionSearchQuery = searchTerm;
371
+ }
372
+ isLatLng(value) {
373
+ return value && typeof value.lat === "number" && typeof value.lng === "number";
374
+ }
375
+ isLatLngBounds(value) {
376
+ return value && typeof value.getSouthWest === "function" && typeof value.getNorthEast === "function";
377
+ }
378
+ renderHistoryPanel() {
379
+ const existingHistoryPanel = document.querySelector(
380
+ "terra-data-subsetter-history"
381
+ );
382
+ if (!existingHistoryPanel) {
383
+ const historyPanel = document.createElement(
384
+ "terra-data-subsetter-history"
385
+ );
386
+ if (this.bearerToken) {
387
+ historyPanel.setAttribute("bearer-token", this.bearerToken);
388
+ }
389
+ if (this.environment) {
390
+ historyPanel.setAttribute("environment", this.environment);
391
+ }
392
+ document.body.appendChild(historyPanel);
393
+ }
394
+ }
395
+ };
396
+ _authController = new WeakMap();
397
+ _renderFooterForDialog = new WeakSet();
398
+ renderFooterForDialog_fn = function() {
399
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
400
+ if (showJobStatus && this.controller.currentJob) {
401
+ return html`
402
+ <div slot="footer" class="footer">
403
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? html`
404
+ <div
405
+ style="display: flex; align-items: center; gap: 8px;"
406
+ >
407
+ <terra-dropdown
408
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
409
+ >
410
+ <terra-button slot="trigger" caret>
411
+ Download Options
412
+ </terra-button>
413
+ <terra-menu>
414
+ <terra-menu-item value="file-list">
415
+ <svg
416
+ slot="prefix"
417
+ viewBox="0 0 24 24"
418
+ width="16"
419
+ height="16"
420
+ style="width: 16px; height: 16px;"
421
+ >
422
+ <path
423
+ fill="currentColor"
424
+ 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"
425
+ />
426
+ </svg>
427
+ File List
428
+ </terra-menu-item>
429
+ <terra-menu-item value="python-script">
430
+ <svg
431
+ slot="prefix"
432
+ viewBox="0 0 128 128"
433
+ width="16"
434
+ height="16"
435
+ style="width: 16px; height: 16px;"
436
+ >
437
+ <path
438
+ fill="currentColor"
439
+ 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"
440
+ ></path>
441
+ </svg>
442
+ Python Script
443
+ </terra-menu-item>
444
+ <terra-menu-item value="earthdata-download">
445
+ <svg
446
+ slot="prefix"
447
+ viewBox="0 0 64 64"
448
+ fill="none"
449
+ width="16"
450
+ height="16"
451
+ style="width: 16px; height: 16px;"
452
+ >
453
+ <circle
454
+ cx="32"
455
+ cy="32"
456
+ r="28"
457
+ fill="currentColor"
458
+ />
459
+ <path
460
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
461
+ stroke="#fff"
462
+ stroke-width="4"
463
+ stroke-linecap="round"
464
+ stroke-linejoin="round"
465
+ fill="none"
466
+ />
467
+ </svg>
468
+ Earthdata Download
469
+ </terra-menu-item>
470
+ </terra-menu>
471
+ </terra-dropdown>
472
+
473
+ <terra-button
474
+ outline
475
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
476
+ >
477
+ <terra-icon
478
+ name="outline-code-bracket"
479
+ library="heroicons"
480
+ font-size="1.5em"
481
+ style="margin-right: 5px;"
482
+ ></terra-icon>
483
+ Open in Jupyter Notebook
484
+ </terra-button>
485
+ </div>
486
+ ` : nothing}
487
+ ${this.controller.currentJob.status === "running" ? html`<button
488
+ class="btn btn-success"
489
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
490
+ ?disabled=${this.cancelingGetData}
491
+ >
492
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
493
+ </button>` : nothing}
494
+
495
+ <div class="job-info">
496
+ Job ID:
497
+ <span class="job-id">
498
+ ${this.bearerToken ? html`<a
499
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
500
+ target="_blank"
501
+ >${this.controller.currentJob.jobID}</a
502
+ >` : this.controller.currentJob.jobID}
503
+ </span>
504
+ <span class="info-icon">?</span>
505
+ </div>
506
+ </div>
507
+ `;
508
+ } else if (this.dataAccessMode === "subset") {
509
+ return html`
510
+ <div slot="footer" class="footer">
511
+ <button class="btn btn-secondary">Reset All</button>
512
+ <div>
513
+ <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
514
+ Get Data
515
+ </button>
516
+ ${this.jobId ? html`
517
+ <terra-button
518
+ variant="default"
519
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
520
+ >
521
+ View Running Job
522
+ </terra-button>
523
+ ` : nothing}
524
+ </div>
525
+ </div>
526
+ `;
527
+ }
528
+ return nothing;
529
+ };
530
+ _renderSizeInfo = new WeakSet();
531
+ renderSizeInfo_fn = function(estimates) {
532
+ if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
533
+ return html`
534
+ <div class="size-info warning">
535
+ <terra-login>
536
+ <h2 slot="logged-out">Limited access as a guest.</h2>
537
+
538
+ <p slot="logged-out">
539
+ Your results will be capped at 10 links. Log in for full
540
+ access to all data.
541
+ </p>
542
+ </terra-login>
543
+ </div>
544
+ `;
545
+ }
546
+ return html`<div
547
+ class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
548
+ >
549
+ <h2>Estimated size of results</h2>
550
+ <div class="size-stats">
551
+ ${estimates.days.toLocaleString()} days,
552
+ ${estimates.links.toLocaleString()} links
553
+ </div>
554
+ ${estimates.links >= 150 ? html`<div class="size-warning">
555
+ You are about to retrieve ${estimates.links.toLocaleString()}
556
+ file links from the archive. You may
557
+ <strong>speed up the request</strong> by limiting the scope of
558
+ your search.
559
+ </div>` : nothing}
560
+ </div>`;
561
+ };
562
+ _renderSubsetOptions = new WeakSet();
563
+ renderSubsetOptions_fn = function() {
564
+ var _a, _b, _c, _d, _e, _f, _g, _h;
565
+ const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
566
+ const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
567
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
568
+ const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
569
+ const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
570
+ const showTemporalSection = temporalExtents && temporalExtents.length;
571
+ const showSpatialSection = spatialExtent && ((_c = (_b = spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles);
572
+ return html`
573
+ ${this.dataAccessMode === "original" ? nothing : hasSubsetOption ? html`
574
+ ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : nothing}
575
+ ${this.showCollectionSearch ? html`
576
+ <div class="section">
577
+ <h2 class="section-title">
578
+ Select Data Collection
579
+ <span class="help-icon">?</span>
580
+ </h2>
581
+
582
+ ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
583
+ </div>
584
+ ` : nothing}
585
+ <div class="section">
586
+ <h2 class="section-title">
587
+ Subset Options
588
+ <span class="help-icon">?</span>
589
+ </h2>
590
+ <p style="color: #666; margin-bottom: 16px;">
591
+ Generate file links supporting geo-spatial search and
592
+ crop, selection of variables and dimensions, selection
593
+ of time of day, and data presentation, in netCDF or
594
+ HDF-EOS5 formats.
595
+ </p>
596
+
597
+ ${((_d = this.collectionWithServices) == null ? void 0 : _d.temporalSubset) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : nothing}
598
+ ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : nothing}
599
+ ${((_e = this.collectionWithServices) == null ? void 0 : _e.variableSubset) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : nothing}
600
+ </div>
601
+ ` : html`
602
+ ${showTemporalSection && !((_f = this.collectionWithServices) == null ? void 0 : _f.temporalSubset) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : nothing}
603
+ ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : nothing}
604
+ `}
605
+ ${((_h = (_g = this.collectionWithServices) == null ? void 0 : _g.outputFormats) == null ? void 0 : _h.length) && hasSubsetOption ? html`
606
+ <div class="section">
607
+ <h2 class="section-title">
608
+ Output Format
609
+ <span class="help-icon">?</span>
610
+ </h2>
611
+
612
+ ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
613
+ </div>
614
+ ` : nothing}
615
+ ${!hasSubsetOption && estimates ? html`
616
+ <div
617
+ class="neutral-info"
618
+ style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
619
+ >
620
+ <strong>Estimated result size:</strong><br />
621
+ Your request will return approximately
622
+ <b>${estimates.links.toLocaleString()}</b> files covering
623
+ <b>${estimates.days.toLocaleString()}</b> days.
624
+ </div>
625
+ ` : nothing}
626
+ ${this.dataAccessMode === "subset" && !this.dialog ? html`
627
+ <div class="footer">
628
+ <button class="btn btn-secondary">Reset All</button>
629
+
630
+ <div>
631
+ <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
632
+ Get Data
633
+ </button>
634
+ ${this.jobId ? html`
635
+ <terra-button
636
+ variant="default"
637
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
638
+ >
639
+ View Running Job
640
+ </terra-button>
641
+ ` : nothing}
642
+ </div>
643
+ </div>
644
+ ` : nothing}
645
+ `;
646
+ };
647
+ _renderSearchForCollection = new WeakSet();
648
+ renderSearchForCollection_fn = function() {
649
+ var _a, _b;
650
+ let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
651
+ if (this.collectionSearchType === "collection") {
652
+ placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
653
+ }
654
+ if (this.collectionSearchType === "variable") {
655
+ placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
656
+ }
657
+ return html`
658
+ <terra-accordion .open=${this.collectionAccordionOpen}>
659
+ <div slot="summary">
660
+ <span class="accordion-title">Collection:</span>
661
+ </div>
662
+
663
+ <div
664
+ slot="summary-right"
665
+ style="display: flex; align-items: center; gap: 10px"
666
+ >
667
+ ${this.collectionEntryId ? html` <span
668
+ class="accordion-value"
669
+ id="selected-collection-display"
670
+ >${this.collectionEntryId}</span
671
+ >
672
+
673
+ <button
674
+ class="reset-btn"
675
+ @click=${() => this.collectionEntryId = void 0}
676
+ >
677
+ Reset
678
+ </button>` : nothing}
679
+ </div>
680
+
681
+ <div class="search-tabs-mini">
682
+ <button
683
+ class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
684
+ @click=${() => this.collectionSearchType = "all"}
685
+ >
686
+ All
687
+ </button>
688
+ <button
689
+ class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
690
+ @click=${() => this.collectionSearchType = "collection"}
691
+ >
692
+ Collections
693
+ </button>
694
+ <button
695
+ class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
696
+ @click=${() => this.collectionSearchType = "variable"}
697
+ >
698
+ Variables
699
+ </button>
700
+ </div>
701
+
702
+ <div class="search-container-mini">
703
+ <input
704
+ type="text"
705
+ class="search-input-mini"
706
+ id="search-input"
707
+ placeholder=${placeholder}
708
+ @input="${(e) => this.handleCollectionSearch(
709
+ e.target.value
710
+ )}"
711
+ />
712
+
713
+ <button class="search-button-mini">
714
+ <svg
715
+ class="search-icon-mini"
716
+ viewBox="0 0 24 24"
717
+ fill="currentColor"
718
+ >
719
+ <path
720
+ 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"
721
+ />
722
+ </svg>
723
+ Search
724
+ </button>
725
+ </div>
726
+
727
+ <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
728
+ <div class="quick-links-mini">
729
+ <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
730
+ >GPM Precipitation</a
731
+ >
732
+ <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
733
+ >MODIS Data</a
734
+ >
735
+ <a
736
+ href="#"
737
+ class="quick-link-mini"
738
+ onclick="quickSearch('Landsat')"
739
+ >Landsat Imagery</a
740
+ >
741
+ <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
742
+ >Atmospheric Data</a
743
+ >
744
+ </div>
745
+ -->
746
+
747
+ <div id="search-results-section" class="search-results-section">
748
+ ${this.collectionSearchLoading ? html`
749
+ <div id="loading-mini" class="loading-mini">
750
+ <div class="spinner-mini"></div>
751
+ <div>Searching NASA CMR...</div>
752
+ </div>
753
+ ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? html` <div
754
+ id="results-container-mini"
755
+ class="results-container-mini"
756
+ >
757
+ ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
758
+ (item) => html`
759
+ <div
760
+ class="result-item-mini"
761
+ @click=${() => {
762
+ this.collectionEntryId = item.collectionEntryId;
763
+ this.collectionAccordionOpen = false;
764
+ this.collectionLoading = true;
765
+ if (item.type === "variable") {
766
+ this.selectedVariables = [
767
+ {
768
+ name: item.entryId,
769
+ href: "",
770
+ conceptId: item.conceptId
771
+ }
772
+ ];
773
+ }
774
+ this.requestUpdate();
775
+ }}
776
+ style="cursor: pointer;"
777
+ >
778
+ <div class="result-title-mini">
779
+ ${item.title}
780
+ </div>
781
+ <div class="result-id-mini">
782
+ ${item.entryId}
783
+ </div>
784
+ <div class="result-description-mini">
785
+ ${item.summary || item.title}
786
+ </div>
787
+ <div class="result-meta-mini">
788
+ <span>📅 2000-02-24 - ongoing</span>
789
+ <span>🌍 Global</span>
790
+ <span>🏢 ${item.provider}</span>
791
+ ${item.type === "variable" ? html` <span
792
+ >📊
793
+ ${item.collectionEntryId}</span
794
+ >` : nothing}
795
+ <span class="tag-mini"
796
+ >${item.type.toUpperCase()}</span
797
+ >
798
+ </div>
799
+ </div>
800
+ `
801
+ )}
802
+ </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? html`<div id="no-results-mini" class="no-results-mini">
803
+ <p>
804
+ No results found for
805
+ '${this.collectionSearchQuery}'. Try adjusting
806
+ your search term.
807
+ </p>
808
+ </div>` : nothing}
809
+ </div>
810
+ </terra-accordion>
811
+
812
+ ${this.collectionLoading ? html`
813
+ <div
814
+ class="collection-loading-bar"
815
+ style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
816
+ >
817
+ <span
818
+ class="loading-spinner"
819
+ 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;"
820
+ ></span>
821
+ Retrieving collection, please wait...
822
+ </div>
823
+ <style>
824
+ @keyframes spin {
825
+ 0% {
826
+ transform: rotate(0deg);
827
+ }
828
+ 100% {
829
+ transform: rotate(360deg);
830
+ }
831
+ }
832
+ </style>
833
+ ` : nothing}
834
+ `;
835
+ };
836
+ _renderOutputFormatSelection = new WeakSet();
837
+ renderOutputFormatSelection_fn = function() {
838
+ return html`
839
+ <terra-accordion>
840
+ <div slot="summary">
841
+ <span class="accordion-title">File Format:</span>
842
+ </div>
843
+
844
+ <div
845
+ slot="summary-right"
846
+ style="display: flex; align-items: center; gap: 10px;"
847
+ >
848
+ <span>${getFriendlyNameForMimeType(this.selectedFormat)}</span>
849
+
850
+ <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
851
+ Reset
852
+ </button>
853
+ </div>
854
+
855
+ <div class="accordion-content" style="margin-top: 12px;">
856
+ ${(() => {
857
+ var _a;
858
+ const uniqueFormats = Array.from(
859
+ new Set(((_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) || [])
860
+ );
861
+ return uniqueFormats.map(
862
+ (format) => html`
863
+ <label
864
+ style="display: flex; align-items: center; gap: 8px; padding: 5px;"
865
+ >
866
+ <input
867
+ type="radio"
868
+ name="output-format"
869
+ value="${format}"
870
+ .checked=${this.selectedFormat === format}
871
+ @change=${() => this.selectedFormat = format}
872
+ />
873
+ ${getFriendlyNameForMimeType(format)}
874
+ </label>
875
+ `
876
+ );
877
+ })()}
878
+ </div>
879
+ </terra-accordion>
880
+ `;
881
+ };
882
+ _renderDateRangeSelection = new WeakSet();
883
+ renderDateRangeSelection_fn = function() {
884
+ var _a, _b;
885
+ const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
886
+ const startDate = (_a = this.selectedDateRange.startDate) != null ? _a : defaultStartDate;
887
+ const endDate = (_b = this.selectedDateRange.endDate) != null ? _b : defaultEndDate;
888
+ const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
889
+ return html`
890
+ <terra-accordion>
891
+ <div slot="summary">
892
+ <span class="accordion-title">Refine Date Range:</span>
893
+ </div>
894
+
895
+ <div
896
+ slot="summary-right"
897
+ style="display: flex; align-items: center; gap: 10px;"
898
+ >
899
+ ${showError ? html`<span class="accordion-value error"
900
+ >Please select a date range</span
901
+ >` : this.touchedFields.has("date") && startDate && endDate ? html`<span class="accordion-value"
902
+ >${startDate} to ${endDate}</span
903
+ >` : nothing}
904
+ <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
905
+ Reset
906
+ </button>
907
+ </div>
908
+
909
+ <div style="width: 300px">
910
+ <terra-date-picker
911
+ allow-input
912
+ inline
913
+ range
914
+ split-inputs
915
+ show-presets
916
+ start-label="Start Date"
917
+ end-label="End Date"
918
+ .minDate=${defaultStartDate}
919
+ .maxDate=${defaultEndDate}
920
+ .startDate=${this.selectedDateRange.startDate}
921
+ .endDate=${this.selectedDateRange.endDate}
922
+ @terra-date-range-change=${__privateGet(this, _handleDateChange)}
923
+ ></terra-date-picker>
924
+ </div>
925
+
926
+ <div
927
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
928
+ >
929
+ <span
930
+ ><strong>Available Range:</strong> ${defaultStartDate} to
931
+ ${defaultEndDate}</span
932
+ >
933
+ <span
934
+ ><strong>Note:</strong> All dates and times are in UTC.</span
935
+ >
936
+ </div>
937
+ </terra-accordion>
938
+ `;
939
+ };
940
+ _handleDateChange = new WeakMap();
941
+ _resetDateRangeSelection = new WeakMap();
942
+ _resetFormatSelection = new WeakMap();
943
+ _getCollectionDateRange = new WeakSet();
944
+ getCollectionDateRange_fn = function() {
945
+ var _a, _b;
946
+ const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
947
+ if (!temporalExtents || !temporalExtents.length)
948
+ return {
949
+ startDate: null,
950
+ endDate: null
951
+ };
952
+ let minStart = null;
953
+ let maxEnd = null;
954
+ const today = /* @__PURE__ */ new Date();
955
+ for (const temporal of temporalExtents) {
956
+ for (const range of temporal.RangeDateTimes) {
957
+ const start = new Date(range.BeginningDateTime);
958
+ let end;
959
+ if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
960
+ end = today;
961
+ } else {
962
+ end = new Date(range.EndingDateTime);
963
+ }
964
+ if (!minStart || start < minStart)
965
+ minStart = start;
966
+ if (!maxEnd || end > maxEnd)
967
+ maxEnd = end;
968
+ }
969
+ }
970
+ return {
971
+ startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
972
+ endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
973
+ };
974
+ };
975
+ _handleRegionAccordionToggle = new WeakSet();
976
+ handleRegionAccordionToggle_fn = function() {
977
+ var _a;
978
+ (_a = this.spatialPicker) == null ? void 0 : _a.invalidateSize();
979
+ };
980
+ _renderSpatialSelection = new WeakSet();
981
+ renderSpatialSelection_fn = function() {
982
+ var _a, _b, _c, _d, _e;
983
+ const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
984
+ 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;
985
+ if (boundingRects && !Array.isArray(boundingRects)) {
986
+ boundingRects = [boundingRects];
987
+ }
988
+ let spatialString = "";
989
+ if (this.isLatLng(this.spatialSelection)) {
990
+ spatialString = `${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
991
+ } else if (this.isLatLngBounds(this.spatialSelection)) {
992
+ spatialString = `${this.spatialSelection.getSouthWest().lat}, ${this.spatialSelection.getSouthWest().lng}, ${this.spatialSelection.getNorthEast().lat}, ${this.spatialSelection.getNorthEast().lng}`;
993
+ } else if (this.spatialSelection && "w" in this.spatialSelection && "s" in this.spatialSelection && "e" in this.spatialSelection && "n" in this.spatialSelection) {
994
+ spatialString = `${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
995
+ } else if (this.spatialSelection) {
996
+ spatialString = this.spatialSelection;
997
+ }
998
+ return html`
999
+ <terra-accordion
1000
+ @terra-accordion-toggle=${__privateMethod(this, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn)}
1001
+ >
1002
+ <div slot="summary">
1003
+ <span class="accordion-title">Refine Region:</span>
1004
+ </div>
1005
+
1006
+ <div
1007
+ slot="summary-right"
1008
+ style="display: flex; align-items: center; gap: 10px;"
1009
+ >
1010
+ ${showError ? html`<span class="accordion-value error"
1011
+ >Please select a region</span
1012
+ >` : spatialString ? html`<span class="accordion-value"
1013
+ >${spatialString}</span
1014
+ >` : nothing}
1015
+ <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1016
+ Reset
1017
+ </button>
1018
+ </div>
1019
+ <div class="accordion-content">
1020
+ <terra-spatial-picker
1021
+ part="spatial-picker"
1022
+ inline
1023
+ hide-label
1024
+ has-shape-selector
1025
+ hide-point-selection
1026
+ no-world-wrap
1027
+ .initialValue=${spatialString}
1028
+ @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1029
+ ></terra-spatial-picker>
1030
+ ${boundingRects && Array.isArray(boundingRects) && boundingRects.length ? html`<div
1031
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1032
+ >
1033
+ ${boundingRects.map(
1034
+ (rect) => html`<div>
1035
+ <strong>Available Range:</strong>
1036
+ ${rect.WestBoundingCoordinate},
1037
+ ${rect.SouthBoundingCoordinate},
1038
+ ${rect.EastBoundingCoordinate},
1039
+ ${rect.NorthBoundingCoordinate}
1040
+ </div>`
1041
+ )}
1042
+ </div>` : nothing}
1043
+ </div>
1044
+ </terra-accordion>
1045
+ `;
1046
+ };
1047
+ _handleSpatialChange = new WeakMap();
1048
+ _resetSpatialSelection = new WeakMap();
1049
+ _renderVariableSelection = new WeakSet();
1050
+ renderVariableSelection_fn = function() {
1051
+ var _a;
1052
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1053
+ const showError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1054
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1055
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1056
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1057
+ return html`
1058
+ <terra-accordion>
1059
+ <div slot="summary">
1060
+ <span class="accordion-title">Select Variables:</span>
1061
+ </div>
1062
+ <div
1063
+ slot="summary-right"
1064
+ style="display: flex; align-items: center; gap: 10px;"
1065
+ >
1066
+ ${showError ? html`<span class="accordion-value error"
1067
+ >Please select at least one variable</span
1068
+ >` : this.selectedVariables.length ? html`<span class="accordion-value"
1069
+ >${this.selectedVariables.length} selected</span
1070
+ >` : nothing}
1071
+
1072
+ <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1073
+ Reset
1074
+ </button>
1075
+ </div>
1076
+ <div class="accordion-content">
1077
+ <terra-input
1078
+ label="Filter variables"
1079
+ placeholder="Search by variable name..."
1080
+ .value=${this.variableFilterText}
1081
+ @input=${(e) => {
1082
+ const input = e.target;
1083
+ this.variableFilterText = input.value;
1084
+ __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1085
+ }}
1086
+ style="margin-bottom: 10px;"
1087
+ ></terra-input>
1088
+ <button
1089
+ class="reset-btn"
1090
+ style="margin-bottom: 10px;"
1091
+ @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1092
+ >
1093
+ ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1094
+ </button>
1095
+ ${variables.length === 0 ? html`<p style="color: #666; font-style: italic;">
1096
+ No variables available for this collection.
1097
+ </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1098
+ </div>
1099
+ </terra-accordion>
1100
+ `;
1101
+ };
1102
+ _filterVariableTree = new WeakSet();
1103
+ filterVariableTree_fn = function(tree) {
1104
+ if (!this.variableFilterText.trim()) {
1105
+ return tree;
1106
+ }
1107
+ const filterText = this.variableFilterText.toLowerCase().trim();
1108
+ const filterNode = (node) => {
1109
+ const result = {};
1110
+ for (const [key, value] of Object.entries(node)) {
1111
+ if (value.__isLeaf) {
1112
+ const variableName = value.__variable.name.toLowerCase();
1113
+ if (variableName.includes(filterText)) {
1114
+ result[key] = value;
1115
+ }
1116
+ } else {
1117
+ const filteredChildren = filterNode(value.__children);
1118
+ if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1119
+ result[key] = __spreadProps(__spreadValues({}, value), {
1120
+ __children: filteredChildren
1121
+ });
1122
+ }
1123
+ }
1124
+ }
1125
+ return result;
1126
+ };
1127
+ return filterNode(tree);
1128
+ };
1129
+ _handleVariableFilterChange = new WeakSet();
1130
+ handleVariableFilterChange_fn = function() {
1131
+ var _a;
1132
+ if (!this.variableFilterText.trim()) {
1133
+ return;
1134
+ }
1135
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1136
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1137
+ const filterText = this.variableFilterText.toLowerCase().trim();
1138
+ const groupsToExpand = /* @__PURE__ */ new Set();
1139
+ const findMatchingGroups = (node, path = []) => {
1140
+ for (const [key, value] of Object.entries(node)) {
1141
+ if (value.__isLeaf) {
1142
+ const variableName = value.__variable.name.toLowerCase();
1143
+ if (variableName.includes(filterText)) {
1144
+ for (let i = 0; i < path.length; i++) {
1145
+ const groupPath = path.slice(0, i + 1).join("/");
1146
+ groupsToExpand.add(groupPath);
1147
+ }
1148
+ }
1149
+ } else {
1150
+ const groupPath = [...path, key].join("/");
1151
+ findMatchingGroups(value.__children, [...path, key]);
1152
+ if (key.toLowerCase().includes(filterText)) {
1153
+ groupsToExpand.add(groupPath);
1154
+ }
1155
+ }
1156
+ }
1157
+ };
1158
+ findMatchingGroups(tree);
1159
+ if (groupsToExpand.size > 0) {
1160
+ this.expandedVariableGroups = /* @__PURE__ */ new Set([
1161
+ ...this.expandedVariableGroups,
1162
+ ...groupsToExpand
1163
+ ]);
1164
+ }
1165
+ };
1166
+ _buildVariableTree = new WeakSet();
1167
+ buildVariableTree_fn = function(variables) {
1168
+ const root = {};
1169
+ for (const v of variables) {
1170
+ const parts = v.name.split("/");
1171
+ let node = root;
1172
+ for (let i = 0; i < parts.length; i++) {
1173
+ const part = parts[i];
1174
+ if (!node[part])
1175
+ node[part] = { __children: {}, __isLeaf: false };
1176
+ if (i === parts.length - 1) {
1177
+ node[part].__isLeaf = true;
1178
+ node[part].__variable = v;
1179
+ }
1180
+ node = node[part].__children;
1181
+ }
1182
+ }
1183
+ return root;
1184
+ };
1185
+ _renderVariableTree = new WeakSet();
1186
+ renderVariableTree_fn = function(node, path) {
1187
+ return html`
1188
+ <div style="margin-left: ${path.length * 20}px;">
1189
+ ${Object.entries(node).map(([key, value]) => {
1190
+ const groupPath = [...path, key].join("/");
1191
+ if (value.__isLeaf) {
1192
+ return html`
1193
+ <div class="option-row">
1194
+ <label class="checkbox-option">
1195
+ <input
1196
+ type="checkbox"
1197
+ .checked=${this.selectedVariables.some(
1198
+ (v) => v.name === value.__variable.name
1199
+ )}
1200
+ @change=${(e) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e, value.__variable)}
1201
+ />
1202
+ <span>${key}</span>
1203
+ </label>
1204
+ </div>
1205
+ `;
1206
+ } else {
1207
+ const expanded = this.expandedVariableGroups.has(groupPath);
1208
+ return html`
1209
+ <div class="option-row" style="align-items: flex-start;">
1210
+ <span
1211
+ style="cursor: pointer; display: flex; align-items: center;"
1212
+ @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1213
+ >
1214
+ <terra-icon
1215
+ library="heroicons"
1216
+ name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1217
+ style="margin-right: 4px;"
1218
+ ></terra-icon>
1219
+ <span style="font-weight: 500;">${key}</span>
1220
+ </span>
1221
+ </div>
1222
+ ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1223
+ ...path,
1224
+ key
1225
+ ]) : ""}
1226
+ `;
1227
+ }
1228
+ })}
1229
+ </div>
1230
+ `;
1231
+ };
1232
+ _getAllGroupPaths = new WeakSet();
1233
+ getAllGroupPaths_fn = function(node, path = []) {
1234
+ let groups = [];
1235
+ for (const [key, value] of Object.entries(node)) {
1236
+ if (!value.__isLeaf) {
1237
+ const groupPath = [...path, key].join("/");
1238
+ groups.push(groupPath);
1239
+ groups = groups.concat(
1240
+ __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1241
+ );
1242
+ }
1243
+ }
1244
+ return groups;
1245
+ };
1246
+ _toggleGroupExpand = new WeakSet();
1247
+ toggleGroupExpand_fn = function(groupPath) {
1248
+ const set = new Set(this.expandedVariableGroups);
1249
+ if (set.has(groupPath)) {
1250
+ set.delete(groupPath);
1251
+ } else {
1252
+ set.add(groupPath);
1253
+ }
1254
+ this.expandedVariableGroups = set;
1255
+ };
1256
+ _toggleExpandCollapseAll = new WeakSet();
1257
+ toggleExpandCollapseAll_fn = function(tree) {
1258
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1259
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1260
+ if (allExpanded) {
1261
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
1262
+ } else {
1263
+ this.expandedVariableGroups = new Set(allGroups);
1264
+ }
1265
+ };
1266
+ _toggleVariableSelection = new WeakSet();
1267
+ toggleVariableSelection_fn = function(e, variable) {
1268
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1269
+ const checked = e.target.checked;
1270
+ if (checked) {
1271
+ if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1272
+ this.selectedVariables = [...this.selectedVariables, variable];
1273
+ }
1274
+ } else {
1275
+ this.selectedVariables = this.selectedVariables.filter(
1276
+ (v) => v.name !== variable.name
1277
+ );
1278
+ }
1279
+ };
1280
+ _markFieldTouched = new WeakSet();
1281
+ markFieldTouched_fn = function(field) {
1282
+ this.touchedFields = new Set(this.touchedFields).add(field);
1283
+ };
1284
+ _resetVariableSelection = new WeakMap();
1285
+ _renderJobStatus = new WeakSet();
1286
+ renderJobStatus_fn = function() {
1287
+ var _a, _b;
1288
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.jobID)) {
1289
+ return html`<div class="results-section" id="job-status-section">
1290
+ <div
1291
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1292
+ >
1293
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1294
+ <terra-button
1295
+ variant="default"
1296
+ size="small"
1297
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1298
+ >
1299
+ ← Back to Subset Options
1300
+ </terra-button>
1301
+ </div>
1302
+
1303
+ <div class="progress-container">
1304
+ <div class="progress-text">
1305
+ <span class="spinner"></span>
1306
+ <span class="status-running">Searching for data...</span>
1307
+ </div>
1308
+
1309
+ <div class="progress-bar">
1310
+ <div class="progress-fill" style="width: 0%"></div>
1311
+ </div>
1312
+ </div>
1313
+
1314
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1315
+ </div>`;
1316
+ }
1317
+ return html`
1318
+ <div class="results-section" id="job-status-section">
1319
+ <div
1320
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1321
+ >
1322
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1323
+ <terra-button
1324
+ variant="default"
1325
+ size="small"
1326
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1327
+ >
1328
+ ← Back to Subset Options
1329
+ </terra-button>
1330
+ </div>
1331
+
1332
+ ${this.controller.currentJob.status !== "canceled" && this.controller.currentJob.status !== "failed" ? html` <div class="progress-container">
1333
+ <div class="progress-text">
1334
+ ${this.controller.currentJob.progress >= 100 ? html`
1335
+ <span class="status-complete"
1336
+ >✓ Search complete</span
1337
+ >
1338
+ ` : html`
1339
+ <span class="spinner"></span>
1340
+ <span class="status-running"
1341
+ >Searching for data...
1342
+ (${this.controller.currentJob.progress}%)</span
1343
+ >
1344
+ `}
1345
+ </div>
1346
+
1347
+ <div class="progress-bar">
1348
+ <div
1349
+ class="progress-fill"
1350
+ style="width: ${this.controller.currentJob.progress}%"
1351
+ ></div>
1352
+ </div>
1353
+ </div>` : nothing}
1354
+
1355
+ <div class="search-status">
1356
+ <span class="file-count"
1357
+ >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1358
+ >
1359
+ out of estimated
1360
+ <span class="estimated-total"
1361
+ >${this.controller.currentJob.numInputGranules.toLocaleString()}</span
1362
+ >
1363
+ </div>
1364
+
1365
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1366
+ ${((_b = this.controller.currentJob.errors) == null ? void 0 : _b.length) ? html`
1367
+ <terra-accordion>
1368
+ <div slot="summary">
1369
+ <span
1370
+ class="accordion-title"
1371
+ style="color: #dc3545;"
1372
+ >Errors
1373
+ (${this.controller.currentJob.errors.length})</span
1374
+ >
1375
+ </div>
1376
+ <div class="accordion-content">
1377
+ <ul
1378
+ style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1379
+ >
1380
+ ${this.controller.currentJob.errors.map(
1381
+ (err) => html`
1382
+ <li style="margin-bottom: 12px;">
1383
+ <a
1384
+ href="${err.url}"
1385
+ target="_blank"
1386
+ style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1387
+ >
1388
+ ${err.url}
1389
+ </a>
1390
+ <div style="margin-top: 2px;">
1391
+ ${err.message}
1392
+ </div>
1393
+ </li>
1394
+ `
1395
+ )}
1396
+ </ul>
1397
+ </div>
1398
+ </terra-accordion>
1399
+ ` : nothing}
1400
+
1401
+ <div class="tabs">
1402
+ <button
1403
+ class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1404
+ @click=${() => this.selectedTab = "web-links"}
1405
+ >
1406
+ Web Links
1407
+ </button>
1408
+
1409
+ <button
1410
+ class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1411
+ @click=${() => this.selectedTab = "selected-params"}
1412
+ >
1413
+ Selected Parameters
1414
+ </button>
1415
+ </div>
1416
+ <div
1417
+ id="web-links"
1418
+ class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1419
+ >
1420
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? html`
1421
+ <div class="documentation-links">
1422
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1423
+ (link) => html`
1424
+ <a href="${link.href}" class="doc-link"
1425
+ >${link.title}</a
1426
+ >
1427
+ `
1428
+ )}
1429
+ </div>
1430
+ ` : nothing}
1431
+
1432
+ <ul class="file-list">
1433
+ ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1434
+ (link) => html`
1435
+ <li class="file-item">
1436
+ <a
1437
+ href="${link.href}"
1438
+ class="file-link"
1439
+ target="_blank"
1440
+ >
1441
+ ${link.title}
1442
+ </a>
1443
+ </li>
1444
+ `
1445
+ )}
1446
+ </ul>
1447
+ </div>
1448
+
1449
+ <div
1450
+ id="selected-params"
1451
+ class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1452
+ >
1453
+ ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1454
+ </div>
1455
+ </div>
1456
+
1457
+ ${!this.dialog ? html`
1458
+ <div class="footer">
1459
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? html`
1460
+ <div
1461
+ style="display: flex; align-items: center; gap: 8px;"
1462
+ >
1463
+ <terra-dropdown
1464
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1465
+ >
1466
+ <terra-button slot="trigger" caret>
1467
+ Download Options
1468
+ </terra-button>
1469
+ <terra-menu>
1470
+ <terra-menu-item value="file-list">
1471
+ <svg
1472
+ slot="prefix"
1473
+ viewBox="0 0 24 24"
1474
+ width="16"
1475
+ height="16"
1476
+ style="width: 16px; height: 16px;"
1477
+ >
1478
+ <path
1479
+ fill="currentColor"
1480
+ 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"
1481
+ />
1482
+ </svg>
1483
+ File List
1484
+ </terra-menu-item>
1485
+ <terra-menu-item
1486
+ value="python-script"
1487
+ >
1488
+ <svg
1489
+ slot="prefix"
1490
+ viewBox="0 0 128 128"
1491
+ width="16"
1492
+ height="16"
1493
+ style="width: 16px; height: 16px;"
1494
+ >
1495
+ <path
1496
+ fill="currentColor"
1497
+ 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"
1498
+ ></path>
1499
+ </svg>
1500
+ Python Script
1501
+ </terra-menu-item>
1502
+ <terra-menu-item
1503
+ value="earthdata-download"
1504
+ >
1505
+ <svg
1506
+ slot="prefix"
1507
+ viewBox="0 0 64 64"
1508
+ fill="none"
1509
+ width="16"
1510
+ height="16"
1511
+ style="width: 16px; height: 16px;"
1512
+ >
1513
+ <circle
1514
+ cx="32"
1515
+ cy="32"
1516
+ r="28"
1517
+ fill="currentColor"
1518
+ />
1519
+ <path
1520
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
1521
+ stroke="#fff"
1522
+ stroke-width="4"
1523
+ stroke-linecap="round"
1524
+ stroke-linejoin="round"
1525
+ fill="none"
1526
+ />
1527
+ </svg>
1528
+ Earthdata Download
1529
+ </terra-menu-item>
1530
+ </terra-menu>
1531
+ </terra-dropdown>
1532
+
1533
+ <terra-button
1534
+ outline
1535
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1536
+ >
1537
+ <terra-icon
1538
+ name="outline-code-bracket"
1539
+ library="heroicons"
1540
+ font-size="1.5em"
1541
+ style="margin-right: 5px;"
1542
+ ></terra-icon>
1543
+ Open in Jupyter Notebook
1544
+ </terra-button>
1545
+ </div>
1546
+ ` : nothing}
1547
+ ${this.controller.currentJob.status === "running" ? html`<button
1548
+ class="btn btn-success"
1549
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1550
+ ?disabled=${this.cancelingGetData}
1551
+ >
1552
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1553
+ </button>` : nothing}
1554
+
1555
+ <div class="job-info">
1556
+ Job ID:
1557
+ <span class="job-id">
1558
+ ${this.bearerToken ? html`<a
1559
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
1560
+ target="_blank"
1561
+ >${this.controller.currentJob.jobID}</a
1562
+ >` : this.controller.currentJob.jobID}
1563
+ </span>
1564
+ <span class="info-icon">?</span>
1565
+ </div>
1566
+ </div>
1567
+ ` : nothing}
1568
+ `;
1569
+ };
1570
+ _renderSelectedParams = new WeakSet();
1571
+ renderSelectedParams_fn = function() {
1572
+ var _a, _b;
1573
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1574
+ const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1575
+ const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1576
+ let spatial = "\u2014";
1577
+ if (this.spatialSelection) {
1578
+ if ("w" in this.spatialSelection) {
1579
+ spatial = `Bounding Box: ${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1580
+ } else if ("lat" in this.spatialSelection && "lng" in this.spatialSelection) {
1581
+ spatial = `Point: ${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1582
+ }
1583
+ }
1584
+ return html`
1585
+ <dl class="params-summary">
1586
+ <div>
1587
+ <dt><strong>Dataset</strong></dt>
1588
+ <dd>${(_b = collection == null ? void 0 : collection.EntryTitle) != null ? _b : "\u2014"}</dd>
1589
+ </div>
1590
+ <div>
1591
+ <dt><strong>Variables</strong></dt>
1592
+ <dd>${variables.map((v) => html`<div>${v}</div>`)}</dd>
1593
+ </div>
1594
+ <div>
1595
+ <dt><strong>Date Range</strong></dt>
1596
+ <dd>${dateRange}</dd>
1597
+ </div>
1598
+ <div>
1599
+ <dt><strong>Spatial</strong></dt>
1600
+ <dd>${spatial}</dd>
1601
+ </div>
1602
+ </dl>
1603
+
1604
+ <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1605
+ >Refine Parameters</terra-button
1606
+ >
1607
+ `;
1608
+ };
1609
+ _cancelJob = new WeakSet();
1610
+ cancelJob_fn = function() {
1611
+ this.cancelingGetData = true;
1612
+ this.controller.cancelCurrentJob();
1613
+ };
1614
+ _getData = new WeakSet();
1615
+ getData_fn = function() {
1616
+ this.cancelingGetData = false;
1617
+ __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
1618
+ this.controller.cancelCurrentJob();
1619
+ this.controller.currentJob = null;
1620
+ this.jobId = void 0;
1621
+ this.controller.jobStatusTask.run().then(() => {
1622
+ var _a;
1623
+ if ((_a = this.controller.currentJob) == null ? void 0 : _a.jobID) {
1624
+ this.jobId = this.controller.currentJob.jobID;
1625
+ }
1626
+ });
1627
+ setTimeout(() => {
1628
+ const el = this.renderRoot.querySelector("#job-status-section");
1629
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1630
+ }, 100);
1631
+ this.refineParameters = false;
1632
+ };
1633
+ _touchAllFields = new WeakSet();
1634
+ touchAllFields_fn = function() {
1635
+ this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
1636
+ };
1637
+ _numberOfFilesFoundEstimate = new WeakSet();
1638
+ numberOfFilesFoundEstimate_fn = function() {
1639
+ return Math.floor(
1640
+ this.controller.currentJob.numInputGranules * this.controller.currentJob.progress / 100
1641
+ );
1642
+ };
1643
+ _getDocumentationLinks = new WeakSet();
1644
+ getDocumentationLinks_fn = function() {
1645
+ return this.controller.currentJob.links.filter(
1646
+ (link) => link.rel === "stac-catalog-json"
1647
+ );
1648
+ };
1649
+ _getDataLinks = new WeakSet();
1650
+ getDataLinks_fn = function() {
1651
+ return this.controller.currentJob.links.filter((link) => link.rel === "data");
1652
+ };
1653
+ _hasAtLeastOneSubsetOption = new WeakSet();
1654
+ hasAtLeastOneSubsetOption_fn = function() {
1655
+ var _a, _b, _c, _d;
1656
+ 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);
1657
+ };
1658
+ _hasSpatialSubset = new WeakSet();
1659
+ hasSpatialSubset_fn = function() {
1660
+ var _a, _b;
1661
+ return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset);
1662
+ };
1663
+ _renderJobMessage = new WeakSet();
1664
+ renderJobMessage_fn = function() {
1665
+ const warningStatuses = [
1666
+ "canceled" /* CANCELED */,
1667
+ "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
1668
+ "running_with_errors" /* RUNNING_WITH_ERRORS */
1669
+ ];
1670
+ const errorStatuses = ["failed" /* FAILED */];
1671
+ let type = "normal";
1672
+ if (warningStatuses.includes(this.controller.currentJob.status)) {
1673
+ type = "warning";
1674
+ } else if (errorStatuses.includes(this.controller.currentJob.status)) {
1675
+ type = "error";
1676
+ }
1677
+ let color, bg;
1678
+ if (type === "error") {
1679
+ color = "#dc3545";
1680
+ bg = "#f8d7da";
1681
+ } else if (type === "warning") {
1682
+ color = "#856404";
1683
+ bg = "#fff3cd";
1684
+ } else {
1685
+ color = "#555";
1686
+ bg = "#f8f9fa";
1687
+ }
1688
+ return html`
1689
+ <div
1690
+ style="
1691
+ margin: 24px 0 16px 0;
1692
+ padding: 16px 20px;
1693
+ border-radius: 6px;
1694
+ background: ${bg};
1695
+ color: ${color};
1696
+ border: 1px solid ${color}22;
1697
+ "
1698
+ >
1699
+ ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
1700
+ </div>
1701
+ `;
1702
+ };
1703
+ _getJobMessageText = new WeakSet();
1704
+ getJobMessageText_fn = function() {
1705
+ var _a;
1706
+ return (_a = this.controller.currentJob) == null ? void 0 : _a.message.replace(
1707
+ /\b(The job|the job|job|Job)\b/g,
1708
+ (match) => {
1709
+ switch (match) {
1710
+ case "The job":
1711
+ return "Your request";
1712
+ case "the job":
1713
+ return "Your Request";
1714
+ case "job":
1715
+ return "request";
1716
+ case "Job":
1717
+ return "Request";
1718
+ }
1719
+ return match;
1720
+ }
1721
+ );
1722
+ };
1723
+ _estimateJobSize = new WeakSet();
1724
+ estimateJobSize_fn = function() {
1725
+ var _a, _b;
1726
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1727
+ if (!collection)
1728
+ return;
1729
+ const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1730
+ let startDate;
1731
+ let endDate;
1732
+ let links = (_b = collection.granuleCount) != null ? _b : 0;
1733
+ if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
1734
+ startDate = this.selectedDateRange.startDate;
1735
+ endDate = this.selectedDateRange.endDate;
1736
+ } else {
1737
+ startDate = range.startDate;
1738
+ endDate = range.endDate;
1739
+ }
1740
+ if (!startDate || !endDate)
1741
+ return;
1742
+ const start = new Date(startDate);
1743
+ const end = new Date(endDate);
1744
+ const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
1745
+ if (range.startDate && range.endDate) {
1746
+ const availableDaysInCollection = Math.floor(
1747
+ (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
1748
+ ) + 1;
1749
+ const granulesPerDay = links / availableDaysInCollection;
1750
+ links = Math.ceil(days * granulesPerDay);
1751
+ }
1752
+ return { days, links };
1753
+ };
1754
+ _refineParameters = new WeakSet();
1755
+ refineParameters_fn = function() {
1756
+ this.refineParameters = true;
1757
+ };
1758
+ _backToSubsetOptions = new WeakSet();
1759
+ backToSubsetOptions_fn = function() {
1760
+ this.refineParameters = true;
1761
+ setTimeout(() => {
1762
+ const container = this.renderRoot.querySelector(".container");
1763
+ container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
1764
+ }, 100);
1765
+ };
1766
+ _viewRunningJob = new WeakSet();
1767
+ viewRunningJob_fn = function() {
1768
+ this.refineParameters = false;
1769
+ setTimeout(() => {
1770
+ const el = this.renderRoot.querySelector("#job-status-section");
1771
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1772
+ }, 100);
1773
+ };
1774
+ _handleDownloadSelect = new WeakSet();
1775
+ handleDownloadSelect_fn = function(event) {
1776
+ const item = event.detail.item;
1777
+ const value = item.value || item.getTextLabel();
1778
+ if (value === "file-list") {
1779
+ __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
1780
+ } else if (value === "python-script") {
1781
+ __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
1782
+ } else if (value === "earthdata-download") {
1783
+ __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
1784
+ }
1785
+ };
1786
+ _downloadLinksAsTxt = new WeakSet();
1787
+ downloadLinksAsTxt_fn = function(event) {
1788
+ var _a;
1789
+ event.stopPropagation();
1790
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1791
+ return;
1792
+ }
1793
+ const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
1794
+ if (dataLinks.length === 0) {
1795
+ return;
1796
+ }
1797
+ const content = dataLinks.map((link) => link.href).join("\n");
1798
+ const blob = new Blob([content], { type: "text/plain" });
1799
+ const url = URL.createObjectURL(blob);
1800
+ const a = document.createElement("a");
1801
+ a.href = url;
1802
+ a.download = `subset_links_${this.controller.currentJob.jobID}.txt`;
1803
+ document.body.appendChild(a);
1804
+ a.click();
1805
+ document.body.removeChild(a);
1806
+ URL.revokeObjectURL(url);
1807
+ };
1808
+ _downloadPythonScript = new WeakSet();
1809
+ downloadPythonScript_fn = async function(event) {
1810
+ var _a, _b, _c;
1811
+ event.stopPropagation();
1812
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1813
+ return;
1814
+ }
1815
+ const response = await fetch(
1816
+ getBasePath("assets/data-subsetter/download_subset_files.py.txt")
1817
+ );
1818
+ if (!response.ok) {
1819
+ alert(
1820
+ "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
1821
+ );
1822
+ }
1823
+ const content = (await response.text()).replace(/{{jobId}}/gi, this.controller.currentJob.jobID).replace(
1824
+ /{{HARMONY_ENV}}/gi,
1825
+ `Environment.${(_b = this.environment) == null ? void 0 : _b.toUpperCase()}`
1826
+ ).replace(
1827
+ /{{EARTHACCESS_ENV}}/gi,
1828
+ `earthaccess.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
1829
+ );
1830
+ const blob = new Blob([content], { type: "text/plain" });
1831
+ const url = URL.createObjectURL(blob);
1832
+ const a = document.createElement("a");
1833
+ a.href = url;
1834
+ a.download = `download_subset_files_${this.controller.currentJob.jobID}.py`;
1835
+ document.body.appendChild(a);
1836
+ a.click();
1837
+ document.body.removeChild(a);
1838
+ URL.revokeObjectURL(url);
1839
+ };
1840
+ _downloadEarthdataDownload = new WeakSet();
1841
+ downloadEarthdataDownload_fn = async function(event) {
1842
+ var _a;
1843
+ event.stopPropagation();
1844
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1845
+ return;
1846
+ }
1847
+ alert("Sorry, Earthdata Download is not currently supported");
1848
+ };
1849
+ _handleJupyterNotebookClick = new WeakSet();
1850
+ handleJupyterNotebookClick_fn = function() {
1851
+ var _a;
1852
+ const notebook = getNotebook(this);
1853
+ console.log("sending data to JupyterLite");
1854
+ sendDataToJupyterNotebook("load-notebook", {
1855
+ filename: `subset_${(_a = this.controller.currentJob) == null ? void 0 : _a.jobID}.ipynb`,
1856
+ notebook,
1857
+ bearerToken: this.bearerToken
1858
+ });
1859
+ };
1860
+ _renderAvailableTemporalRangeSection = new WeakSet();
1861
+ renderAvailableTemporalRangeSection_fn = function() {
1862
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1863
+ if (!startDate || !endDate)
1864
+ return nothing;
1865
+ return html`
1866
+ <div class="section" style="margin-bottom: 16px;">
1867
+ <h2 class="section-title">Available Date Range</h2>
1868
+ <div style="color: #31708f; margin-top: 8px;">
1869
+ <strong>${startDate}</strong> to <strong>${endDate}</strong>
1870
+ </div>
1871
+ <div style="font-size: 0.95em; color: #666;">
1872
+ This collection does not support temporal subsetting.
1873
+ </div>
1874
+ </div>
1875
+ `;
1876
+ };
1877
+ _renderAvailableSpatialRangeSection = new WeakSet();
1878
+ renderAvailableSpatialRangeSection_fn = function() {
1879
+ var _a, _b, _c, _d, _e;
1880
+ 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;
1881
+ if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
1882
+ return nothing;
1883
+ return html`
1884
+ <div class="section" style="margin-bottom: 16px;">
1885
+ <h2 class="section-title">Available Spatial Area</h2>
1886
+ <div style="color: #31708f; margin-top: 8px;">
1887
+ ${boundingRects.map(
1888
+ (rect) => html`<div>
1889
+ <strong>Bounding Box:</strong>
1890
+ ${rect.WestBoundingCoordinate},
1891
+ ${rect.SouthBoundingCoordinate},
1892
+ ${rect.EastBoundingCoordinate},
1893
+ ${rect.NorthBoundingCoordinate}
1894
+ </div>`
1895
+ )}
1896
+ </div>
1897
+ <div style="font-size: 0.95em; color: #666;">
1898
+ This collection does not support spatial subsetting.
1899
+ </div>
1900
+ </div>
1901
+ `;
1902
+ };
1903
+ _renderDataAccessModeSelection = new WeakSet();
1904
+ renderDataAccessModeSelection_fn = function() {
1905
+ return html`
1906
+ <div class="mode-selection">
1907
+ <div class="mode-options">
1908
+ <label
1909
+ class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
1910
+ >
1911
+ <input
1912
+ type="radio"
1913
+ name="data-access-mode"
1914
+ value="original"
1915
+ .checked=${this.dataAccessMode === "original"}
1916
+ @change=${() => this.dataAccessMode = "original"}
1917
+ />
1918
+ <div class="mode-content">
1919
+ <div class="mode-title">Get Original Files</div>
1920
+ <div class="mode-description">
1921
+ Filter file links directly from the archive.
1922
+ </div>
1923
+ </div>
1924
+ </label>
1925
+
1926
+ <label
1927
+ class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
1928
+ >
1929
+ <input
1930
+ type="radio"
1931
+ name="data-access-mode"
1932
+ value="subset"
1933
+ .checked=${this.dataAccessMode === "subset"}
1934
+ @change=${() => this.dataAccessMode = "subset"}
1935
+ />
1936
+ <div class="mode-content">
1937
+ <div class="mode-title">Subset Data</div>
1938
+ <div class="mode-description">
1939
+ Subset the data to your specific needs.
1940
+ </div>
1941
+ </div>
1942
+ </label>
1943
+ </div>
1944
+ </div>
1945
+ `;
1946
+ };
1947
+ TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
1948
+ TerraDataSubsetter.dependencies = {
1949
+ "terra-accordion": TerraAccordion,
1950
+ "terra-date-picker": TerraDatePicker,
1951
+ "terra-icon": TerraIcon,
1952
+ "terra-input": TerraInput,
1953
+ "terra-spatial-picker": TerraSpatialPicker,
1954
+ "terra-login": TerraLogin,
1955
+ "terra-loader": TerraLoader,
1956
+ "terra-data-access": TerraDataAccess,
1957
+ "terra-dialog": TerraDialog,
1958
+ "terra-dropdown": TerraDropdown,
1959
+ "terra-menu": TerraMenu,
1960
+ "terra-menu-item": TerraMenuItem,
1961
+ "terra-button": TerraButton
1962
+ };
1963
+ __decorateClass([
1964
+ property({ reflect: true, attribute: "collection-entry-id" })
1965
+ ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
1966
+ __decorateClass([
1967
+ property({ reflect: true, attribute: "short-name" })
1968
+ ], TerraDataSubsetter.prototype, "shortName", 2);
1969
+ __decorateClass([
1970
+ property({ reflect: true, attribute: "version" })
1971
+ ], TerraDataSubsetter.prototype, "version", 2);
1972
+ __decorateClass([
1973
+ property({ reflect: true, type: Boolean, attribute: "show-collection-search" })
1974
+ ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
1975
+ __decorateClass([
1976
+ property({ reflect: true, type: Boolean, attribute: "show-history-panel" })
1977
+ ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
1978
+ __decorateClass([
1979
+ property({ reflect: true, attribute: "job-id" })
1980
+ ], TerraDataSubsetter.prototype, "jobId", 2);
1981
+ __decorateClass([
1982
+ property({ attribute: "bearer-token" })
1983
+ ], TerraDataSubsetter.prototype, "bearerToken", 2);
1984
+ __decorateClass([
1985
+ property({ reflect: true })
1986
+ ], TerraDataSubsetter.prototype, "dialog", 2);
1987
+ __decorateClass([
1988
+ state()
1989
+ ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
1990
+ __decorateClass([
1991
+ state()
1992
+ ], TerraDataSubsetter.prototype, "selectedVariables", 2);
1993
+ __decorateClass([
1994
+ state()
1995
+ ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
1996
+ __decorateClass([
1997
+ state()
1998
+ ], TerraDataSubsetter.prototype, "variableFilterText", 2);
1999
+ __decorateClass([
2000
+ state()
2001
+ ], TerraDataSubsetter.prototype, "touchedFields", 2);
2002
+ __decorateClass([
2003
+ state()
2004
+ ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2005
+ __decorateClass([
2006
+ state()
2007
+ ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2008
+ __decorateClass([
2009
+ state()
2010
+ ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2011
+ __decorateClass([
2012
+ state()
2013
+ ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2014
+ __decorateClass([
2015
+ state()
2016
+ ], TerraDataSubsetter.prototype, "selectedTab", 2);
2017
+ __decorateClass([
2018
+ state()
2019
+ ], TerraDataSubsetter.prototype, "refineParameters", 2);
2020
+ __decorateClass([
2021
+ state()
2022
+ ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2023
+ __decorateClass([
2024
+ state()
2025
+ ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2026
+ __decorateClass([
2027
+ state()
2028
+ ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2029
+ __decorateClass([
2030
+ state()
2031
+ ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2032
+ __decorateClass([
2033
+ state()
2034
+ ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2035
+ __decorateClass([
2036
+ state()
2037
+ ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2038
+ __decorateClass([
2039
+ state()
2040
+ ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2041
+ __decorateClass([
2042
+ query('[part~="spatial-picker"]')
2043
+ ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2044
+ __decorateClass([
2045
+ query("terra-dialog")
2046
+ ], TerraDataSubsetter.prototype, "dialogElement", 2);
2047
+ __decorateClass([
2048
+ watch(["jobId"], { waitUntilFirstUpdate: true })
2049
+ ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2050
+ __decorateClass([
2051
+ watch(["shortName", "version"])
2052
+ ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2053
+ __decorateClass([
2054
+ watch(["collectionWithServices"])
2055
+ ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2056
+ __decorateClass([
2057
+ debounce(500)
2058
+ ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2059
+
2060
+ export {
2061
+ TerraDataSubsetter
2062
+ };