@nasa-terra/components 0.0.203 → 0.0.205

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