@nasa-terra/components 0.0.170 → 0.0.172

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1269) hide show
  1. package/cdn/chunks/chunk.22JAM2GR.js +149 -0
  2. package/cdn/chunks/chunk.24XPUSUZ.js +1966 -0
  3. package/cdn/chunks/chunk.2BDLTBTI.js +19 -0
  4. package/cdn/chunks/chunk.2JHFGT46.js +32 -0
  5. package/cdn/chunks/chunk.2JX7GFDQ.js +62 -0
  6. package/cdn/chunks/chunk.2ODI6EJH.js +19 -0
  7. package/cdn/chunks/chunk.2PGAPRRF.js +29 -0
  8. package/cdn/chunks/chunk.2UXDDY74.js +19 -0
  9. package/cdn/chunks/chunk.3V6F2DWA.js +29 -0
  10. package/cdn/chunks/chunk.3X2FJVEK.js +99 -0
  11. package/cdn/chunks/chunk.3XVPJSSP.js +189 -0
  12. package/cdn/chunks/chunk.3YN7OOIN.js +60 -0
  13. package/cdn/chunks/chunk.3YPA3O7X.js +19 -0
  14. package/cdn/chunks/chunk.3YTZ6FCS.js +35 -0
  15. package/cdn/chunks/chunk.4BBASGSH.js +19 -0
  16. package/cdn/chunks/chunk.4HUU63FC.js +33 -0
  17. package/cdn/chunks/chunk.4K7DWAUK.js +165 -0
  18. package/cdn/chunks/chunk.4LU3KPCC.js +99 -0
  19. package/cdn/chunks/chunk.534PJBWA.js +293 -0
  20. package/cdn/chunks/chunk.53VPUZOR.js +239 -0
  21. package/cdn/chunks/chunk.5GDQXS5O.js +86 -0
  22. package/cdn/chunks/chunk.5LN4TGSH.js +19 -0
  23. package/cdn/chunks/chunk.5SMJDHEB.js +34 -0
  24. package/cdn/chunks/chunk.5SXMFX3G.js +19 -0
  25. package/cdn/chunks/chunk.5XGCTPMM.js +19 -0
  26. package/cdn/chunks/chunk.5ZDFWWUF.js +32 -0
  27. package/cdn/chunks/chunk.6HUSY5A5.js +19 -0
  28. package/cdn/chunks/chunk.6IXRMBFJ.js +19 -0
  29. package/cdn/chunks/chunk.6J43KB5E.js +29 -0
  30. package/cdn/chunks/chunk.6WBVX3YH.js +19 -0
  31. package/cdn/chunks/chunk.72CLIDBM.js +32 -0
  32. package/cdn/chunks/chunk.753BFQMN.js +288 -0
  33. package/cdn/chunks/chunk.7BCA23AI.js +29 -0
  34. package/cdn/chunks/chunk.7GIDBIUS.js +259 -0
  35. package/cdn/chunks/chunk.7NCDOJ3T.js +19 -0
  36. package/cdn/chunks/chunk.7R2GWEZU.js +287 -0
  37. package/cdn/chunks/chunk.7RMFSOS5.js +190 -0
  38. package/cdn/chunks/chunk.7YU7ADNC.js +19 -0
  39. package/cdn/chunks/chunk.A4KDSUZV.js +41 -0
  40. package/cdn/chunks/chunk.AFTOL2EB.js +359 -0
  41. package/cdn/chunks/chunk.AHXYP2XX.js +32 -0
  42. package/cdn/chunks/chunk.ALRPPBZX.js +19 -0
  43. package/cdn/chunks/chunk.AOFSXGD4.js +29 -0
  44. package/cdn/chunks/chunk.AULNGRW6.js +372 -0
  45. package/cdn/chunks/chunk.AWEPYPND.js +19 -0
  46. package/cdn/chunks/chunk.AY2ESVAW.js +32 -0
  47. package/cdn/chunks/chunk.BAIRSNCE.js +224 -0
  48. package/cdn/chunks/chunk.BC5CLB4E.js +19 -0
  49. package/cdn/chunks/chunk.BEASGBEI.js +32 -0
  50. package/cdn/chunks/chunk.BEDUK7FE.js +19 -0
  51. package/cdn/chunks/chunk.BLHY5WN3.js +29 -0
  52. package/cdn/chunks/chunk.CRZXMLDV.js +29 -0
  53. package/cdn/chunks/chunk.CY3SMGKL.js +29 -0
  54. package/cdn/chunks/chunk.D2QRYADG.js +19 -0
  55. package/cdn/chunks/chunk.D3PNTFNF.js +29 -0
  56. package/cdn/chunks/chunk.D6AU3UOZ.js +37 -0
  57. package/cdn/chunks/chunk.D6JL3ZBI.js +83 -0
  58. package/cdn/chunks/chunk.D72LV4DG.js +435 -0
  59. package/cdn/chunks/chunk.DFE7P546.js +134 -0
  60. package/cdn/chunks/chunk.DLQNZ2FX.js +201 -0
  61. package/cdn/chunks/chunk.DLTNDBKG.js +29 -0
  62. package/cdn/chunks/chunk.DRJTA6YE.js +33 -0
  63. package/cdn/chunks/chunk.DRWOEYVJ.js +357 -0
  64. package/cdn/chunks/chunk.DSLLKULQ.js +35 -0
  65. package/cdn/chunks/chunk.E6MNGPER.js +19 -0
  66. package/cdn/chunks/chunk.EHR2RG6M.js +19 -0
  67. package/cdn/chunks/chunk.ENUGTRNP.js +29 -0
  68. package/cdn/chunks/chunk.F7P4PC2R.js +19 -0
  69. package/cdn/chunks/chunk.FBHEUYVW.js +19 -0
  70. package/cdn/chunks/chunk.FEAZYVRR.js +19 -0
  71. package/cdn/chunks/chunk.FTQIS3UE.js +29 -0
  72. package/cdn/chunks/chunk.GFQ2RR6W.js +19 -0
  73. package/cdn/chunks/chunk.GIJJER3A.js +39 -0
  74. package/cdn/chunks/chunk.GLT3Q3FB.js +904 -0
  75. package/cdn/chunks/chunk.GP7JNJAX.js +29 -0
  76. package/cdn/chunks/chunk.GPCT4SIJ.js +19 -0
  77. package/cdn/chunks/chunk.GSRKPGOV.js +32 -0
  78. package/cdn/chunks/chunk.GWKSVAA6.js +29 -0
  79. package/cdn/chunks/chunk.H3TAINDH.js +188 -0
  80. package/cdn/chunks/chunk.H7VCBXTL.js +32 -0
  81. package/cdn/chunks/chunk.HB4RQESR.js +2243 -0
  82. package/cdn/chunks/chunk.HCQP36AM.js +19 -0
  83. package/cdn/chunks/chunk.HHWEVDGS.js +158 -0
  84. package/cdn/chunks/chunk.HL4FRJLB.js +493 -0
  85. package/cdn/chunks/chunk.HNXO7VBO.js +19 -0
  86. package/cdn/chunks/chunk.HP34FRHY.js +19 -0
  87. package/cdn/chunks/chunk.HPGY2OGG.js +71 -0
  88. package/cdn/chunks/chunk.HPYMMODV.js +19 -0
  89. package/cdn/chunks/chunk.HWG65NRN.js +29 -0
  90. package/cdn/chunks/chunk.IB24IRYX.js +19 -0
  91. package/cdn/chunks/chunk.ICZMYLTH.js +32 -0
  92. package/cdn/chunks/chunk.IHZ2KLCT.js +477 -0
  93. package/cdn/chunks/chunk.IL7BYPM7.js +92 -0
  94. package/cdn/chunks/chunk.IRZZX44G.js +534 -0
  95. package/cdn/chunks/chunk.ITCNMUXT.js +56 -0
  96. package/cdn/chunks/chunk.ITIBDYWK.js +33 -0
  97. package/cdn/chunks/chunk.IVVZ6XX6.js +36 -0
  98. package/cdn/chunks/chunk.J4DDZILY.js +19 -0
  99. package/cdn/chunks/chunk.J7I3DOXG.js +272 -0
  100. package/cdn/chunks/chunk.JEXAAXBB.js +19 -0
  101. package/cdn/chunks/chunk.JJ6L4MMN.js +99 -0
  102. package/cdn/chunks/chunk.JJFL72ML.js +19 -0
  103. package/cdn/chunks/chunk.JJZURVO2.js +19 -0
  104. package/cdn/chunks/chunk.JOGRTCOM.js +19 -0
  105. package/cdn/chunks/chunk.K5GSGEGZ.js +610 -0
  106. package/cdn/chunks/chunk.KCZYTXMI.js +39 -0
  107. package/cdn/chunks/chunk.KDO3FMKB.js +32 -0
  108. package/cdn/chunks/chunk.KGF2FWOT.js +29 -0
  109. package/cdn/chunks/chunk.KGSGZUCG.js +136 -0
  110. package/cdn/chunks/chunk.KIFQR3KD.js +33 -0
  111. package/cdn/chunks/chunk.KIM5IAXQ.js +47 -0
  112. package/cdn/chunks/chunk.KTZIP3RF.js +1220 -0
  113. package/cdn/chunks/chunk.L23RSHX2.js +1025 -0
  114. package/cdn/chunks/chunk.L3GMGWUV.js +19 -0
  115. package/cdn/chunks/chunk.LIKPLLCC.js +107 -0
  116. package/cdn/chunks/chunk.LLIFHQCT.js +99 -0
  117. package/cdn/chunks/chunk.LPMXP2UC.js +83 -0
  118. package/cdn/chunks/chunk.LRPZOMSB.js +35 -0
  119. package/cdn/chunks/chunk.M3TUVN5Y.js +238 -0
  120. package/cdn/chunks/chunk.MJRYD2FS.js +36 -0
  121. package/cdn/chunks/chunk.MRHL6VYL.js +19 -0
  122. package/cdn/chunks/chunk.MROYHS4V.js +19 -0
  123. package/cdn/chunks/chunk.MVGDUHXD.js +230 -0
  124. package/cdn/chunks/chunk.NFJMTKKE.js +731 -0
  125. package/cdn/chunks/chunk.NOPT72F3.js +2332 -0
  126. package/cdn/chunks/chunk.O6RBVHRC.js +104 -0
  127. package/cdn/chunks/chunk.OAEPU7YQ.js +32 -0
  128. package/cdn/chunks/chunk.OBEZEO7B.js +19 -0
  129. package/cdn/chunks/chunk.OCAU7EK6.js +68 -0
  130. package/cdn/chunks/chunk.OMJE4OG2.js +36 -0
  131. package/cdn/chunks/chunk.OT5MI24J.js +19 -0
  132. package/cdn/chunks/chunk.P4OWV3H2.js +412 -0
  133. package/cdn/chunks/chunk.P4PK2INS.js +616 -0
  134. package/cdn/chunks/chunk.P5A6GZAA.js +29 -0
  135. package/cdn/chunks/chunk.P7O2MPXC.js +29 -0
  136. package/cdn/chunks/chunk.PB422XO2.js +29 -0
  137. package/cdn/chunks/chunk.PFHOVLE3.js +19 -0
  138. package/cdn/chunks/chunk.PHAAWGO7.js +34 -0
  139. package/cdn/chunks/chunk.PIHZAPJ6.js +33858 -0
  140. package/cdn/chunks/chunk.PJQMKWOC.js +19 -0
  141. package/cdn/chunks/chunk.PUPPUPIZ.js +19 -0
  142. package/cdn/chunks/chunk.Q67OTTO2.js +145 -0
  143. package/cdn/chunks/chunk.QD7P3TYY.js +30 -0
  144. package/cdn/chunks/chunk.QMQ2XNQY.js +36 -0
  145. package/cdn/chunks/chunk.QS2QNU5L.js +29 -0
  146. package/cdn/chunks/chunk.QS4Y67LN.js +19 -0
  147. package/cdn/chunks/chunk.R5XVDB6V.js +155 -0
  148. package/cdn/chunks/chunk.RFMZNLWW.js +29 -0
  149. package/cdn/chunks/chunk.RI6DZZVW.js +621 -0
  150. package/cdn/chunks/chunk.RNIUG7UZ.js +278 -0
  151. package/cdn/chunks/chunk.RUSUCIQU.js +599 -0
  152. package/cdn/chunks/chunk.RVQ3US5N.js +19 -0
  153. package/cdn/chunks/chunk.RVYF62LC.js +32 -0
  154. package/cdn/chunks/chunk.S43QXSOG.js +538 -0
  155. package/cdn/chunks/chunk.SIDIPX5Z.js +524 -0
  156. package/cdn/chunks/chunk.SJDA3WUL.js +151 -0
  157. package/cdn/chunks/chunk.SO35RKNB.js +123 -0
  158. package/cdn/chunks/chunk.SPB5FUKU.js +29 -0
  159. package/cdn/chunks/chunk.SQLAADR2.js +19 -0
  160. package/cdn/chunks/chunk.SZ5ESX47.js +29 -0
  161. package/cdn/chunks/chunk.T4W2N4IX.js +19 -0
  162. package/cdn/chunks/chunk.T52O5DOR.js +29 -0
  163. package/cdn/chunks/chunk.T5M74VV6.js +132 -0
  164. package/cdn/chunks/chunk.T6VHQM6Z.js +19 -0
  165. package/cdn/chunks/chunk.TBAPGHFB.js +662 -0
  166. package/cdn/chunks/chunk.TBLEZOPR.js +19 -0
  167. package/cdn/chunks/chunk.TF5WXJIH.js +791 -0
  168. package/cdn/chunks/chunk.TLGXE7WV.js +52 -0
  169. package/cdn/chunks/chunk.TNQQTWDZ.js +19 -0
  170. package/cdn/chunks/chunk.TVKNTAJS.js +19 -0
  171. package/cdn/chunks/chunk.TW2V25WJ.js +234 -0
  172. package/cdn/chunks/chunk.UDFTBRW5.js +19 -0
  173. package/cdn/chunks/chunk.UFFW3XZH.js +19 -0
  174. package/cdn/chunks/chunk.UJBJMJRL.js +106 -0
  175. package/cdn/chunks/chunk.UNCED3WA.js +19 -0
  176. package/cdn/chunks/chunk.V73HKXBP.js +29 -0
  177. package/cdn/chunks/chunk.VXM33DDM.js +231 -0
  178. package/cdn/chunks/chunk.WC46FXQH.js +19 -0
  179. package/cdn/chunks/chunk.WDBY7BQK.js +29 -0
  180. package/cdn/chunks/chunk.WF66D4AL.js +49 -0
  181. package/cdn/chunks/chunk.WGDFGDRT.js +35 -0
  182. package/cdn/chunks/chunk.WIVXANPA.js +1056 -0
  183. package/cdn/chunks/chunk.WJJXD7X2.js +33 -0
  184. package/cdn/chunks/chunk.WKWKRMNY.js +264 -0
  185. package/cdn/chunks/chunk.WLFPVDH4.js +32 -0
  186. package/cdn/chunks/chunk.WMKP5VWD.js +93 -0
  187. package/cdn/chunks/chunk.WVIUB6WD.js +19 -0
  188. package/cdn/chunks/chunk.WWI4LCDA.js +113 -0
  189. package/cdn/chunks/chunk.XDQ57P2F.js +19 -0
  190. package/cdn/chunks/chunk.XHRTM47A.js +29 -0
  191. package/cdn/chunks/chunk.XHXZTCIO.js +276 -0
  192. package/cdn/chunks/chunk.XNUFU6KL.js +302 -0
  193. package/cdn/chunks/chunk.Y2ZUOEN5.js +78 -0
  194. package/cdn/chunks/chunk.Y5QHAQ7O.js +74 -0
  195. package/cdn/chunks/chunk.Y7BONWUH.js +29 -0
  196. package/cdn/chunks/chunk.YNRR744Q.js +37 -0
  197. package/cdn/chunks/chunk.YQWC6C7M.js +60 -0
  198. package/cdn/chunks/chunk.YVMGVA4Q.js +19 -0
  199. package/cdn/chunks/chunk.YXSFJKQB.js +29 -0
  200. package/cdn/chunks/chunk.ZC767XYL.js +19 -0
  201. package/cdn/chunks/chunk.ZE4OJ4GD.js +19 -0
  202. package/cdn/chunks/chunk.ZGDUVM4H.js +29 -0
  203. package/cdn/chunks/chunk.ZX4NINE4.js +32 -0
  204. package/cdn/chunks/chunk.ZXO54DY6.js +19 -0
  205. package/cdn/chunks/chunk.ZYL4RJQ7.js +55346 -0
  206. package/cdn/components/accordion/accordion.component.js +3 -3
  207. package/cdn/components/accordion/accordion.js +4 -4
  208. package/cdn/components/alert/alert.component.js +2 -2
  209. package/cdn/components/alert/alert.js +3 -3
  210. package/cdn/components/avatar/avatar.component.js +3 -3
  211. package/cdn/components/avatar/avatar.js +4 -4
  212. package/cdn/components/badge/badge.component.js +2 -2
  213. package/cdn/components/badge/badge.js +3 -3
  214. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  215. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  216. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  217. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  218. package/cdn/components/browse-variables/browse-variables.component.js +13 -13
  219. package/cdn/components/browse-variables/browse-variables.controller.js +3 -3
  220. package/cdn/components/browse-variables/browse-variables.js +14 -14
  221. package/cdn/components/button/button.component.js +3 -3
  222. package/cdn/components/button/button.js +4 -4
  223. package/cdn/components/button-group/button-group.component.js +2 -2
  224. package/cdn/components/button-group/button-group.js +3 -3
  225. package/cdn/components/caption/caption.component.js +2 -2
  226. package/cdn/components/caption/caption.js +3 -3
  227. package/cdn/components/card/card.component.js +2 -2
  228. package/cdn/components/card/card.js +3 -3
  229. package/cdn/components/checkbox/checkbox.component.js +3 -3
  230. package/cdn/components/checkbox/checkbox.js +4 -4
  231. package/cdn/components/chip/chip.component.js +2 -2
  232. package/cdn/components/chip/chip.js +3 -3
  233. package/cdn/components/combobox/combobox.component.js +2 -2
  234. package/cdn/components/combobox/combobox.js +3 -3
  235. package/cdn/components/data-access/data-access.component.d.ts +2 -0
  236. package/cdn/components/data-access/data-access.component.js +21 -19
  237. package/cdn/components/data-access/data-access.controller.js +4 -4
  238. package/cdn/components/data-access/data-access.js +22 -20
  239. package/cdn/components/data-grid/data-grid.component.js +3 -3
  240. package/cdn/components/data-grid/data-grid.js +4 -4
  241. package/cdn/components/data-rods/data-rods.component.js +27 -27
  242. package/cdn/components/data-rods/data-rods.js +28 -28
  243. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +2 -1
  244. package/cdn/components/data-subsetter/data-subsetter.component.js +32 -32
  245. package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +3 -1
  246. package/cdn/components/data-subsetter/data-subsetter.controller.js +3 -3
  247. package/cdn/components/data-subsetter/data-subsetter.js +33 -33
  248. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  249. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  250. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +33 -33
  251. package/cdn/components/data-subsetter-history/data-subsetter-history.js +34 -34
  252. package/cdn/components/date-picker/date-picker.component.d.ts +4 -0
  253. package/cdn/components/date-picker/date-picker.component.js +7 -7
  254. package/cdn/components/date-picker/date-picker.js +8 -8
  255. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  256. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  257. package/cdn/components/dialog/dialog.component.js +5 -5
  258. package/cdn/components/dialog/dialog.js +6 -6
  259. package/cdn/components/dialog/dialog.styles.js +1 -1
  260. package/cdn/components/divider/divider.component.js +2 -2
  261. package/cdn/components/divider/divider.js +3 -3
  262. package/cdn/components/dropdown/dropdown.component.js +3 -3
  263. package/cdn/components/dropdown/dropdown.js +4 -4
  264. package/cdn/components/earthdata-login/earthdata-login.component.js +10 -10
  265. package/cdn/components/earthdata-login/earthdata-login.js +11 -11
  266. package/cdn/components/file-upload/file-upload.component.js +2 -2
  267. package/cdn/components/file-upload/file-upload.js +3 -3
  268. package/cdn/components/icon/icon.component.js +2 -2
  269. package/cdn/components/icon/icon.js +3 -3
  270. package/cdn/components/input/input.component.js +3 -3
  271. package/cdn/components/input/input.js +4 -4
  272. package/cdn/components/loader/loader.component.js +2 -2
  273. package/cdn/components/loader/loader.js +3 -3
  274. package/cdn/components/login/login.component.js +8 -8
  275. package/cdn/components/login/login.js +9 -9
  276. package/cdn/components/map/map.component.js +2 -2
  277. package/cdn/components/map/map.js +3 -3
  278. package/cdn/components/menu/menu.component.js +2 -2
  279. package/cdn/components/menu/menu.js +3 -3
  280. package/cdn/components/menu-item/menu-item.component.js +5 -5
  281. package/cdn/components/menu-item/menu-item.js +6 -6
  282. package/cdn/components/option/option.component.js +3 -3
  283. package/cdn/components/option/option.js +4 -4
  284. package/cdn/components/pagination/pagination.component.js +3 -3
  285. package/cdn/components/pagination/pagination.js +4 -4
  286. package/cdn/components/plot/plot.component.js +2 -2
  287. package/cdn/components/plot/plot.js +3 -3
  288. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  289. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  290. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +0 -4
  291. package/cdn/components/plot-toolbar/plot-toolbar.component.js +10 -10
  292. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  293. package/cdn/components/plot-toolbar/plot-toolbar.js +11 -11
  294. package/cdn/components/popup/popup.component.js +2 -2
  295. package/cdn/components/popup/popup.js +3 -3
  296. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  297. package/cdn/components/progress-bar/progress-bar.js +3 -3
  298. package/cdn/components/radio/radio.component.js +2 -2
  299. package/cdn/components/radio/radio.js +3 -3
  300. package/cdn/components/radio-group/radio-group.component.js +2 -2
  301. package/cdn/components/radio-group/radio-group.js +3 -3
  302. package/cdn/components/scroll-hint/scroll-hint.component.js +3 -3
  303. package/cdn/components/scroll-hint/scroll-hint.js +4 -4
  304. package/cdn/components/select/select.component.js +5 -5
  305. package/cdn/components/select/select.js +6 -6
  306. package/cdn/components/site-header/site-header.component.js +3 -3
  307. package/cdn/components/site-header/site-header.js +3 -3
  308. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  309. package/cdn/components/site-navigation/site-navigation.js +2 -2
  310. package/cdn/components/skeleton/skeleton.component.js +2 -2
  311. package/cdn/components/skeleton/skeleton.js +3 -3
  312. package/cdn/components/slider/slider.component.js +2 -2
  313. package/cdn/components/slider/slider.js +3 -3
  314. package/cdn/components/spatial-picker/spatial-picker.component.js +7 -7
  315. package/cdn/components/spatial-picker/spatial-picker.js +8 -8
  316. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  317. package/cdn/components/status-indicator/status-indicator.js +3 -3
  318. package/cdn/components/stepper/stepper.component.js +2 -2
  319. package/cdn/components/stepper/stepper.js +3 -3
  320. package/cdn/components/stepper-step/stepper-step.component.js +3 -3
  321. package/cdn/components/stepper-step/stepper-step.js +4 -4
  322. package/cdn/components/tab/tab.component.js +3 -3
  323. package/cdn/components/tab/tab.js +4 -4
  324. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  325. package/cdn/components/tab-panel/tab-panel.js +3 -3
  326. package/cdn/components/tabs/tabs.component.js +3 -3
  327. package/cdn/components/tabs/tabs.js +4 -4
  328. package/cdn/components/tag/tag.component.js +3 -3
  329. package/cdn/components/tag/tag.js +4 -4
  330. package/cdn/components/textarea/textarea.component.js +2 -2
  331. package/cdn/components/textarea/textarea.js +3 -3
  332. package/cdn/components/time-average-map/time-average-map.component.d.ts +0 -4
  333. package/cdn/components/time-average-map/time-average-map.component.js +17 -17
  334. package/cdn/components/time-average-map/time-average-map.js +18 -18
  335. package/cdn/components/time-series/time-series.component.d.ts +6 -4
  336. package/cdn/components/time-series/time-series.component.js +18 -18
  337. package/cdn/components/time-series/time-series.controller.d.ts +2 -0
  338. package/cdn/components/time-series/time-series.controller.js +1 -1
  339. package/cdn/components/time-series/time-series.js +19 -19
  340. package/cdn/components/toast/toast.component.js +3 -3
  341. package/cdn/components/toast/toast.js +4 -4
  342. package/cdn/components/toggle/toggle.component.js +2 -2
  343. package/cdn/components/toggle/toggle.js +3 -3
  344. package/cdn/components/tooltip/tooltip.component.js +3 -3
  345. package/cdn/components/tooltip/tooltip.js +4 -4
  346. package/cdn/components/variable-combobox/variable-combobox.component.js +6 -6
  347. package/cdn/components/variable-combobox/variable-combobox.js +7 -7
  348. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
  349. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  350. package/cdn/components/variable-keyword-search/variable-keyword-search.js +10 -10
  351. package/cdn/custom-elements.json +465 -452
  352. package/cdn/events/terra-time-series-data-change.d.ts +4 -0
  353. package/cdn/metadata-catalog/cmr-catalog.d.ts +2 -1
  354. package/cdn/metadata-catalog/queries.d.ts +1 -0
  355. package/cdn/metadata-catalog/types.d.ts +15 -0
  356. package/cdn/metadata-catalog/utilities.d.ts +1 -0
  357. package/cdn/react/accordion/index.js +4 -4
  358. package/cdn/react/alert/index.js +3 -3
  359. package/cdn/react/avatar/index.js +4 -4
  360. package/cdn/react/badge/index.js +3 -3
  361. package/cdn/react/breadcrumb/index.js +3 -3
  362. package/cdn/react/breadcrumbs/index.js +3 -3
  363. package/cdn/react/browse-variables/index.js +14 -14
  364. package/cdn/react/button/index.js +4 -4
  365. package/cdn/react/button-group/index.js +3 -3
  366. package/cdn/react/caption/index.js +3 -3
  367. package/cdn/react/card/index.js +3 -3
  368. package/cdn/react/checkbox/index.js +4 -4
  369. package/cdn/react/chip/index.js +3 -3
  370. package/cdn/react/combobox/index.js +3 -3
  371. package/cdn/react/data-access/index.js +22 -20
  372. package/cdn/react/data-grid/index.js +4 -4
  373. package/cdn/react/data-rods/index.js +28 -28
  374. package/cdn/react/data-subsetter/index.js +33 -33
  375. package/cdn/react/data-subsetter-history/index.js +34 -34
  376. package/cdn/react/date-picker/index.js +8 -8
  377. package/cdn/react/date-range-slider/index.js +3 -3
  378. package/cdn/react/dialog/index.js +6 -6
  379. package/cdn/react/divider/index.js +3 -3
  380. package/cdn/react/dropdown/index.js +4 -4
  381. package/cdn/react/earthdata-login/index.js +11 -11
  382. package/cdn/react/file-upload/index.js +3 -3
  383. package/cdn/react/icon/index.js +3 -3
  384. package/cdn/react/index.d.ts +1 -1
  385. package/cdn/react/index.js +150 -150
  386. package/cdn/react/input/index.js +4 -4
  387. package/cdn/react/loader/index.js +3 -3
  388. package/cdn/react/login/index.js +9 -9
  389. package/cdn/react/map/index.js +3 -3
  390. package/cdn/react/menu/index.js +3 -3
  391. package/cdn/react/menu-item/index.js +6 -6
  392. package/cdn/react/option/index.js +4 -4
  393. package/cdn/react/pagination/index.js +4 -4
  394. package/cdn/react/plot/index.js +3 -3
  395. package/cdn/react/plot-toolbar/index.js +11 -11
  396. package/cdn/react/popup/index.js +3 -3
  397. package/cdn/react/progress-bar/index.js +3 -3
  398. package/cdn/react/radio/index.js +3 -3
  399. package/cdn/react/radio-group/index.js +3 -3
  400. package/cdn/react/scroll-hint/index.js +4 -4
  401. package/cdn/react/select/index.js +6 -6
  402. package/cdn/react/site-header/index.js +4 -4
  403. package/cdn/react/site-navigation/index.js +3 -3
  404. package/cdn/react/skeleton/index.js +3 -3
  405. package/cdn/react/slider/index.js +3 -3
  406. package/cdn/react/spatial-picker/index.js +8 -8
  407. package/cdn/react/status-indicator/index.js +3 -3
  408. package/cdn/react/stepper/index.js +3 -3
  409. package/cdn/react/stepper-step/index.js +4 -4
  410. package/cdn/react/tab/index.js +4 -4
  411. package/cdn/react/tab-panel/index.js +3 -3
  412. package/cdn/react/tabs/index.js +4 -4
  413. package/cdn/react/tag/index.js +4 -4
  414. package/cdn/react/textarea/index.js +3 -3
  415. package/cdn/react/time-average-map/index.js +18 -18
  416. package/cdn/react/time-series/index.js +19 -19
  417. package/cdn/react/toast/index.js +4 -4
  418. package/cdn/react/toggle/index.js +3 -3
  419. package/cdn/react/tooltip/index.js +4 -4
  420. package/cdn/react/variable-combobox/index.js +7 -7
  421. package/cdn/react/variable-keyword-search/index.js +10 -10
  422. package/cdn/terra-ui-components.js +140 -140
  423. package/cdn/types/vue/index.d.ts +48 -45
  424. package/cdn/utilities/mimetypes.d.ts +1 -1
  425. package/cdn/utilities/mimetypes.js +1 -1
  426. package/cdn/vscode.html-custom-data.json +56 -55
  427. package/cdn/web-types.json +104 -104
  428. package/dist/chunks/chunk.26NX56QI.js +24 -0
  429. package/dist/chunks/chunk.2AESHMIE.js +11 -0
  430. package/dist/chunks/chunk.2I6VAQ4X.js +220 -0
  431. package/dist/chunks/chunk.2LZ7ZK6W.js +21 -0
  432. package/dist/chunks/chunk.2VFCY3NG.js +11 -0
  433. package/dist/chunks/chunk.2XSBOTE3.js +11 -0
  434. package/dist/chunks/chunk.37I6WAMP.js +770 -0
  435. package/dist/chunks/chunk.3A7HDRCP.js +11 -0
  436. package/dist/chunks/chunk.3C4ONLXQ.js +11 -0
  437. package/dist/chunks/chunk.3EC6LVHQ.js +1008 -0
  438. package/dist/chunks/chunk.3J63KVWQ.js +64 -0
  439. package/dist/chunks/chunk.3NOU5S4K.js +91 -0
  440. package/dist/chunks/chunk.3X746YVH.js +245 -0
  441. package/dist/chunks/chunk.45MBYG2J.js +180 -0
  442. package/dist/chunks/chunk.47UJXRMC.js +11 -0
  443. package/dist/chunks/chunk.4EAOYZ4Y.js +90 -0
  444. package/dist/chunks/chunk.4JBIFDM5.js +21 -0
  445. package/dist/chunks/chunk.4NINZ7PR.js +24 -0
  446. package/dist/chunks/chunk.4RXKWDDI.js +11 -0
  447. package/dist/chunks/chunk.4W2TLCX7.js +24 -0
  448. package/dist/chunks/chunk.4YTDUBCV.js +11 -0
  449. package/dist/chunks/chunk.5CEOYGSE.js +280 -0
  450. package/dist/chunks/chunk.5H6QX5YE.js +355 -0
  451. package/dist/chunks/chunk.5HCLCKYC.js +11 -0
  452. package/dist/chunks/chunk.5LBXVLHA.js +21 -0
  453. package/dist/chunks/chunk.5LXFWS2X.js +230 -0
  454. package/dist/chunks/chunk.5NOFG3EP.js +525 -0
  455. package/dist/chunks/chunk.5NV62PAR.js +27 -0
  456. package/dist/chunks/chunk.63FOFHWA.js +11 -0
  457. package/dist/chunks/chunk.6AVQFT4P.js +48 -0
  458. package/dist/chunks/chunk.6ITPEK7G.js +112 -0
  459. package/dist/chunks/chunk.6NBGYTKX.js +24 -0
  460. package/dist/chunks/chunk.6NWWYXCX.js +11 -0
  461. package/dist/chunks/chunk.6XAOZTL3.js +180 -0
  462. package/dist/chunks/chunk.73VNYEW6.js +272 -0
  463. package/dist/chunks/chunk.76MN3EY5.js +123 -0
  464. package/dist/chunks/chunk.7B4RGASR.js +89 -0
  465. package/dist/chunks/chunk.7CO6QTVI.js +26 -0
  466. package/dist/chunks/chunk.7GUSP6AE.js +21 -0
  467. package/dist/chunks/chunk.7RDHIYBR.js +24 -0
  468. package/dist/chunks/chunk.7TGVKLME.js +11 -0
  469. package/dist/chunks/chunk.7TJE42GX.js +345 -0
  470. package/dist/chunks/chunk.AC66MQLD.js +24 -0
  471. package/dist/chunks/chunk.ACC5KGBR.js +25 -0
  472. package/dist/chunks/chunk.AQN4K4PE.js +474 -0
  473. package/dist/chunks/chunk.ATXUKRGA.js +180 -0
  474. package/dist/chunks/chunk.AWKU3XTG.js +33 -0
  475. package/dist/chunks/chunk.AXV3G7KH.js +21 -0
  476. package/dist/chunks/chunk.BET4KOE5.js +11 -0
  477. package/dist/chunks/chunk.BKK46EO2.js +11 -0
  478. package/dist/chunks/chunk.BQD6RWFM.js +11 -0
  479. package/dist/chunks/chunk.BSNRT7I5.js +143 -0
  480. package/dist/chunks/chunk.BXPWNGNF.js +27 -0
  481. package/dist/chunks/chunk.C2O5UUCC.js +422 -0
  482. package/dist/chunks/chunk.C3NVM5TN.js +11 -0
  483. package/dist/chunks/chunk.CLKASSLD.js +11 -0
  484. package/dist/chunks/chunk.CLS5HSKH.js +11 -0
  485. package/dist/chunks/chunk.CMMVTSKI.js +28 -0
  486. package/dist/chunks/chunk.CQNCI3AM.js +11 -0
  487. package/dist/chunks/chunk.CTH6JDPM.js +264 -0
  488. package/dist/chunks/chunk.CZBSZFVL.js +11 -0
  489. package/dist/chunks/chunk.DBXUWS2C.js +25 -0
  490. package/dist/chunks/chunk.DDZOBF6U.js +97 -0
  491. package/dist/chunks/chunk.DKPTMHXJ.js +220 -0
  492. package/dist/chunks/chunk.DOCKLGV6.js +11 -0
  493. package/dist/chunks/chunk.DQM3FAKQ.js +11 -0
  494. package/dist/chunks/chunk.DZCWXBBG.js +91 -0
  495. package/dist/chunks/chunk.EDXTUU3P.js +409 -0
  496. package/dist/chunks/chunk.ETNOCBXV.js +259 -0
  497. package/dist/chunks/chunk.F5VGNMAV.js +291 -0
  498. package/dist/chunks/chunk.FDA5WS6M.js +11 -0
  499. package/dist/chunks/chunk.FDZA4S2G.js +2319 -0
  500. package/dist/chunks/chunk.FHZDS7MB.js +11 -0
  501. package/dist/chunks/chunk.FJADYS4M.js +24 -0
  502. package/dist/chunks/chunk.FQFJCEW7.js +402 -0
  503. package/dist/chunks/chunk.FUSU5ES4.js +26 -0
  504. package/dist/chunks/chunk.G2XZATCZ.js +24 -0
  505. package/dist/chunks/chunk.G4VHVVLA.js +477 -0
  506. package/dist/chunks/chunk.G7EJDV7H.js +67 -0
  507. package/dist/chunks/chunk.GIOCGCQO.js +21 -0
  508. package/dist/chunks/chunk.GIPTX5FE.js +11 -0
  509. package/dist/chunks/chunk.GWHRQKHQ.js +29 -0
  510. package/dist/chunks/chunk.GYJQD3LR.js +11 -0
  511. package/dist/chunks/chunk.H7RPIHW6.js +451 -0
  512. package/dist/chunks/chunk.HEVEMLN2.js +21 -0
  513. package/dist/chunks/chunk.HN6ZD7ZR.js +11 -0
  514. package/dist/chunks/chunk.HO6GD4UO.js +39 -0
  515. package/dist/chunks/chunk.HTMQKXQS.js +230 -0
  516. package/dist/chunks/chunk.HWB6FBYC.js +21 -0
  517. package/dist/chunks/chunk.HZWA5KX4.js +592 -0
  518. package/dist/chunks/chunk.IDZS2ZB5.js +345 -0
  519. package/dist/chunks/chunk.IG33XB7H.js +11 -0
  520. package/dist/chunks/chunk.IIIMSS4Y.js +1122 -0
  521. package/dist/chunks/chunk.IO6HE7V3.js +21 -0
  522. package/dist/chunks/chunk.IOXPL76F.js +124 -0
  523. package/dist/chunks/chunk.IRBQYHAY.js +24 -0
  524. package/dist/chunks/chunk.IRS2RRJ4.js +2228 -0
  525. package/dist/chunks/chunk.JAPC2IV5.js +519 -0
  526. package/dist/chunks/chunk.JDFJLQKP.js +21 -0
  527. package/dist/chunks/chunk.JHUQOT57.js +11 -0
  528. package/dist/chunks/chunk.JJ352NL6.js +11 -0
  529. package/dist/chunks/chunk.JLVOZ6YV.js +844 -0
  530. package/dist/chunks/chunk.JSHDVZDN.js +11 -0
  531. package/dist/chunks/chunk.JXNXBQTI.js +11 -0
  532. package/dist/chunks/chunk.JYANJSE7.js +97 -0
  533. package/dist/chunks/chunk.JYGQIFKK.js +28 -0
  534. package/dist/chunks/chunk.JZCDJ4LE.js +21 -0
  535. package/dist/chunks/chunk.KN46QEMU.js +61 -0
  536. package/dist/chunks/chunk.KNYC3J2M.js +11 -0
  537. package/dist/chunks/chunk.KUV4DHH5.js +31 -0
  538. package/dist/chunks/chunk.KXUWKUKJ.js +11 -0
  539. package/dist/chunks/chunk.L2OI4UX3.js +11 -0
  540. package/dist/chunks/chunk.LH4IBUIP.js +11 -0
  541. package/dist/chunks/chunk.LI6NBHLF.js +277 -0
  542. package/dist/chunks/chunk.LJVNFO4A.js +86 -0
  543. package/dist/chunks/chunk.LUVB2N6O.js +11 -0
  544. package/dist/chunks/chunk.LXURGYLC.js +11 -0
  545. package/dist/chunks/chunk.M3OC7NEG.js +21 -0
  546. package/dist/chunks/chunk.M5D5RZKV.js +21 -0
  547. package/dist/chunks/chunk.MAGMZQOA.js +581 -0
  548. package/dist/chunks/chunk.MAVAAOE6.js +21 -0
  549. package/dist/chunks/chunk.MOQRCJ2N.js +11 -0
  550. package/dist/chunks/chunk.MS5JCXOO.js +11 -0
  551. package/dist/chunks/chunk.MZ4FDVFI.js +139 -0
  552. package/dist/chunks/chunk.MZUHYX45.js +11 -0
  553. package/dist/chunks/chunk.N3OMOLSK.js +21 -0
  554. package/dist/chunks/chunk.NAJA6PKP.js +43 -0
  555. package/dist/chunks/chunk.NENT7F4Q.js +20 -0
  556. package/dist/chunks/chunk.NKJNTRXD.js +11 -0
  557. package/dist/chunks/chunk.NL2CMWZG.js +443 -0
  558. package/dist/chunks/chunk.NZERNQMX.js +11 -0
  559. package/dist/chunks/chunk.OCP7RLRP.js +25 -0
  560. package/dist/chunks/chunk.OIOD6WKF.js +83 -0
  561. package/dist/chunks/chunk.OJ4XP4H7.js +21 -0
  562. package/dist/chunks/chunk.ON3YVM46.js +138 -0
  563. package/dist/chunks/chunk.ORBAQ3N7.js +85 -0
  564. package/dist/chunks/chunk.P6FW46QA.js +252 -0
  565. package/dist/chunks/chunk.PBVVJ6TH.js +153 -0
  566. package/dist/chunks/chunk.PG7ZTWAN.js +21 -0
  567. package/dist/chunks/chunk.PGN3NPNL.js +28 -0
  568. package/dist/chunks/chunk.PK3J43FK.js +101 -0
  569. package/dist/chunks/chunk.PMTE2NJX.js +11 -0
  570. package/dist/chunks/chunk.PT76M4XO.js +21 -0
  571. package/dist/chunks/chunk.PVJUWIFN.js +720 -0
  572. package/dist/chunks/chunk.Q6LIQNS5.js +1204 -0
  573. package/dist/chunks/chunk.Q73CFE7U.js +58 -0
  574. package/dist/chunks/chunk.QCKOJOU6.js +74 -0
  575. package/dist/chunks/chunk.QD2A3VVR.js +21 -0
  576. package/dist/chunks/chunk.QQMW6GT2.js +1045 -0
  577. package/dist/chunks/chunk.QVBFEFCU.js +11 -0
  578. package/dist/chunks/chunk.QXP6FHUR.js +24 -0
  579. package/dist/chunks/chunk.R2UGJHZZ.js +21 -0
  580. package/dist/chunks/chunk.R6H2TZX4.js +21 -0
  581. package/dist/chunks/chunk.R6OZN6EN.js +11 -0
  582. package/dist/chunks/chunk.RXSEJYNM.js +21 -0
  583. package/dist/chunks/chunk.RZVFN5UE.js +11 -0
  584. package/dist/chunks/chunk.SF2VRMST.js +21 -0
  585. package/dist/chunks/chunk.SJVXFIWD.js +43 -0
  586. package/dist/chunks/chunk.SUNOJEMZ.js +93 -0
  587. package/dist/chunks/chunk.SZYVJ4V7.js +11 -0
  588. package/dist/chunks/chunk.T7XX4WEP.js +48 -0
  589. package/dist/chunks/chunk.TDJBGDNY.js +145 -0
  590. package/dist/chunks/chunk.TJXQEGVJ.js +214 -0
  591. package/dist/chunks/chunk.TLURY5L2.js +11 -0
  592. package/dist/chunks/chunk.TPCE32EK.js +11 -0
  593. package/dist/chunks/chunk.TTWYCAIT.js +24 -0
  594. package/dist/chunks/chunk.U237ZC4W.js +21 -0
  595. package/dist/chunks/chunk.UDIZDRS5.js +29 -0
  596. package/dist/chunks/chunk.UJKKCH2V.js +24 -0
  597. package/dist/chunks/chunk.UTZAQEKC.js +78 -0
  598. package/dist/chunks/chunk.UU2S72KN.js +30 -0
  599. package/dist/chunks/chunk.UUSW6ORT.js +11 -0
  600. package/dist/chunks/chunk.VIQAMKEV.js +21 -0
  601. package/dist/chunks/chunk.VTNL5WQZ.js +27 -0
  602. package/dist/chunks/chunk.VXC7RH5L.js +262 -0
  603. package/dist/chunks/chunk.W23BEROV.js +11 -0
  604. package/dist/chunks/chunk.WEDWI2X7.js +24 -0
  605. package/dist/chunks/chunk.WHKVASNW.js +11 -0
  606. package/dist/chunks/chunk.WOQITMX7.js +24 -0
  607. package/dist/chunks/chunk.WSI766QR.js +11 -0
  608. package/dist/chunks/chunk.WVJ2PX5R.js +11 -0
  609. package/dist/chunks/chunk.XBLIWMGF.js +21 -0
  610. package/dist/chunks/chunk.XCAUTUEM.js +75 -0
  611. package/dist/chunks/chunk.XH7VQYYI.js +21 -0
  612. package/dist/chunks/chunk.XOMYW2MV.js +213 -0
  613. package/dist/chunks/chunk.XRHEEGQG.js +121 -0
  614. package/dist/chunks/chunk.XSHUDUHJ.js +11 -0
  615. package/dist/chunks/chunk.XSWBWURT.js +11 -0
  616. package/dist/chunks/chunk.XV67WVGC.js +21 -0
  617. package/dist/chunks/chunk.XYQ5OEQP.js +190 -0
  618. package/dist/chunks/chunk.Y2N3BPIK.js +11 -0
  619. package/dist/chunks/chunk.Y3Y5JOA6.js +52 -0
  620. package/dist/chunks/chunk.Y7D26LUT.js +25 -0
  621. package/dist/chunks/chunk.YGFPWBAJ.js +52 -0
  622. package/dist/chunks/chunk.YKKHGNSJ.js +28 -0
  623. package/dist/chunks/chunk.YMVVIGUR.js +25 -0
  624. package/dist/chunks/chunk.YPJD4YGB.js +21 -0
  625. package/dist/chunks/chunk.YQG36G33.js +247 -0
  626. package/dist/chunks/chunk.YRP45MK5.js +596 -0
  627. package/dist/chunks/chunk.YW42OUUX.js +11 -0
  628. package/dist/chunks/chunk.ZFWWL6VE.js +27 -0
  629. package/dist/chunks/chunk.ZRTYMWVA.js +11 -0
  630. package/dist/chunks/chunk.ZS5ZMUFV.js +609 -0
  631. package/dist/chunks/chunk.ZUHB36YG.js +21 -0
  632. package/dist/chunks/chunk.ZVZPK75F.js +11 -0
  633. package/dist/components/accordion/accordion.component.js +3 -3
  634. package/dist/components/accordion/accordion.js +4 -4
  635. package/dist/components/alert/alert.component.js +2 -2
  636. package/dist/components/alert/alert.js +3 -3
  637. package/dist/components/avatar/avatar.component.js +3 -3
  638. package/dist/components/avatar/avatar.js +4 -4
  639. package/dist/components/badge/badge.component.js +2 -2
  640. package/dist/components/badge/badge.js +3 -3
  641. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  642. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  643. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  644. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  645. package/dist/components/browse-variables/browse-variables.component.js +13 -13
  646. package/dist/components/browse-variables/browse-variables.controller.js +3 -3
  647. package/dist/components/browse-variables/browse-variables.js +14 -14
  648. package/dist/components/button/button.component.js +3 -3
  649. package/dist/components/button/button.js +4 -4
  650. package/dist/components/button-group/button-group.component.js +2 -2
  651. package/dist/components/button-group/button-group.js +3 -3
  652. package/dist/components/caption/caption.component.js +2 -2
  653. package/dist/components/caption/caption.js +3 -3
  654. package/dist/components/card/card.component.js +2 -2
  655. package/dist/components/card/card.js +3 -3
  656. package/dist/components/checkbox/checkbox.component.js +3 -3
  657. package/dist/components/checkbox/checkbox.js +4 -4
  658. package/dist/components/chip/chip.component.js +2 -2
  659. package/dist/components/chip/chip.js +3 -3
  660. package/dist/components/combobox/combobox.component.js +2 -2
  661. package/dist/components/combobox/combobox.js +3 -3
  662. package/dist/components/data-access/data-access.component.d.ts +2 -0
  663. package/dist/components/data-access/data-access.component.js +21 -19
  664. package/dist/components/data-access/data-access.controller.js +4 -4
  665. package/dist/components/data-access/data-access.js +22 -20
  666. package/dist/components/data-grid/data-grid.component.js +3 -3
  667. package/dist/components/data-grid/data-grid.js +4 -4
  668. package/dist/components/data-rods/data-rods.component.js +27 -27
  669. package/dist/components/data-rods/data-rods.js +28 -28
  670. package/dist/components/data-subsetter/data-subsetter.component.d.ts +2 -1
  671. package/dist/components/data-subsetter/data-subsetter.component.js +32 -32
  672. package/dist/components/data-subsetter/data-subsetter.controller.d.ts +3 -1
  673. package/dist/components/data-subsetter/data-subsetter.controller.js +3 -3
  674. package/dist/components/data-subsetter/data-subsetter.js +33 -33
  675. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  676. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  677. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +33 -33
  678. package/dist/components/data-subsetter-history/data-subsetter-history.js +34 -34
  679. package/dist/components/date-picker/date-picker.component.d.ts +4 -0
  680. package/dist/components/date-picker/date-picker.component.js +7 -7
  681. package/dist/components/date-picker/date-picker.js +8 -8
  682. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  683. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  684. package/dist/components/dialog/dialog.component.js +5 -5
  685. package/dist/components/dialog/dialog.js +6 -6
  686. package/dist/components/dialog/dialog.styles.js +1 -1
  687. package/dist/components/divider/divider.component.js +2 -2
  688. package/dist/components/divider/divider.js +3 -3
  689. package/dist/components/dropdown/dropdown.component.js +3 -3
  690. package/dist/components/dropdown/dropdown.js +4 -4
  691. package/dist/components/earthdata-login/earthdata-login.component.js +10 -10
  692. package/dist/components/earthdata-login/earthdata-login.js +11 -11
  693. package/dist/components/file-upload/file-upload.component.js +2 -2
  694. package/dist/components/file-upload/file-upload.js +3 -3
  695. package/dist/components/icon/icon.component.js +2 -2
  696. package/dist/components/icon/icon.js +3 -3
  697. package/dist/components/input/input.component.js +3 -3
  698. package/dist/components/input/input.js +4 -4
  699. package/dist/components/loader/loader.component.js +2 -2
  700. package/dist/components/loader/loader.js +3 -3
  701. package/dist/components/login/login.component.js +8 -8
  702. package/dist/components/login/login.js +9 -9
  703. package/dist/components/map/map.component.js +2 -2
  704. package/dist/components/map/map.js +3 -3
  705. package/dist/components/menu/menu.component.js +2 -2
  706. package/dist/components/menu/menu.js +3 -3
  707. package/dist/components/menu-item/menu-item.component.js +5 -5
  708. package/dist/components/menu-item/menu-item.js +6 -6
  709. package/dist/components/option/option.component.js +3 -3
  710. package/dist/components/option/option.js +4 -4
  711. package/dist/components/pagination/pagination.component.js +3 -3
  712. package/dist/components/pagination/pagination.js +4 -4
  713. package/dist/components/plot/plot.component.js +2 -2
  714. package/dist/components/plot/plot.js +3 -3
  715. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  716. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  717. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +0 -4
  718. package/dist/components/plot-toolbar/plot-toolbar.component.js +10 -10
  719. package/dist/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  720. package/dist/components/plot-toolbar/plot-toolbar.js +11 -11
  721. package/dist/components/popup/popup.component.js +2 -2
  722. package/dist/components/popup/popup.js +3 -3
  723. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  724. package/dist/components/progress-bar/progress-bar.js +3 -3
  725. package/dist/components/radio/radio.component.js +2 -2
  726. package/dist/components/radio/radio.js +3 -3
  727. package/dist/components/radio-group/radio-group.component.js +2 -2
  728. package/dist/components/radio-group/radio-group.js +3 -3
  729. package/dist/components/scroll-hint/scroll-hint.component.js +3 -3
  730. package/dist/components/scroll-hint/scroll-hint.js +4 -4
  731. package/dist/components/select/select.component.js +5 -5
  732. package/dist/components/select/select.js +6 -6
  733. package/dist/components/site-header/site-header.component.js +3 -3
  734. package/dist/components/site-header/site-header.js +3 -3
  735. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  736. package/dist/components/site-navigation/site-navigation.js +2 -2
  737. package/dist/components/skeleton/skeleton.component.js +2 -2
  738. package/dist/components/skeleton/skeleton.js +3 -3
  739. package/dist/components/slider/slider.component.js +2 -2
  740. package/dist/components/slider/slider.js +3 -3
  741. package/dist/components/spatial-picker/spatial-picker.component.js +7 -7
  742. package/dist/components/spatial-picker/spatial-picker.js +8 -8
  743. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  744. package/dist/components/status-indicator/status-indicator.js +3 -3
  745. package/dist/components/stepper/stepper.component.js +2 -2
  746. package/dist/components/stepper/stepper.js +3 -3
  747. package/dist/components/stepper-step/stepper-step.component.js +3 -3
  748. package/dist/components/stepper-step/stepper-step.js +4 -4
  749. package/dist/components/tab/tab.component.js +3 -3
  750. package/dist/components/tab/tab.js +4 -4
  751. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  752. package/dist/components/tab-panel/tab-panel.js +3 -3
  753. package/dist/components/tabs/tabs.component.js +3 -3
  754. package/dist/components/tabs/tabs.js +4 -4
  755. package/dist/components/tag/tag.component.js +3 -3
  756. package/dist/components/tag/tag.js +4 -4
  757. package/dist/components/textarea/textarea.component.js +2 -2
  758. package/dist/components/textarea/textarea.js +3 -3
  759. package/dist/components/time-average-map/time-average-map.component.d.ts +0 -4
  760. package/dist/components/time-average-map/time-average-map.component.js +17 -17
  761. package/dist/components/time-average-map/time-average-map.js +18 -18
  762. package/dist/components/time-series/time-series.component.d.ts +6 -4
  763. package/dist/components/time-series/time-series.component.js +18 -18
  764. package/dist/components/time-series/time-series.controller.d.ts +2 -0
  765. package/dist/components/time-series/time-series.controller.js +1 -1
  766. package/dist/components/time-series/time-series.js +19 -19
  767. package/dist/components/toast/toast.component.js +3 -3
  768. package/dist/components/toast/toast.js +4 -4
  769. package/dist/components/toggle/toggle.component.js +2 -2
  770. package/dist/components/toggle/toggle.js +3 -3
  771. package/dist/components/tooltip/tooltip.component.js +3 -3
  772. package/dist/components/tooltip/tooltip.js +4 -4
  773. package/dist/components/variable-combobox/variable-combobox.component.js +6 -6
  774. package/dist/components/variable-combobox/variable-combobox.js +7 -7
  775. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
  776. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  777. package/dist/components/variable-keyword-search/variable-keyword-search.js +10 -10
  778. package/dist/custom-elements.json +465 -452
  779. package/dist/events/terra-time-series-data-change.d.ts +4 -0
  780. package/dist/metadata-catalog/cmr-catalog.d.ts +2 -1
  781. package/dist/metadata-catalog/queries.d.ts +1 -0
  782. package/dist/metadata-catalog/types.d.ts +15 -0
  783. package/dist/metadata-catalog/utilities.d.ts +1 -0
  784. package/dist/react/accordion/index.js +4 -4
  785. package/dist/react/alert/index.js +3 -3
  786. package/dist/react/avatar/index.js +4 -4
  787. package/dist/react/badge/index.js +3 -3
  788. package/dist/react/breadcrumb/index.js +3 -3
  789. package/dist/react/breadcrumbs/index.js +3 -3
  790. package/dist/react/browse-variables/index.js +14 -14
  791. package/dist/react/button/index.js +4 -4
  792. package/dist/react/button-group/index.js +3 -3
  793. package/dist/react/caption/index.js +3 -3
  794. package/dist/react/card/index.js +3 -3
  795. package/dist/react/checkbox/index.js +4 -4
  796. package/dist/react/chip/index.js +3 -3
  797. package/dist/react/combobox/index.js +3 -3
  798. package/dist/react/data-access/index.js +22 -20
  799. package/dist/react/data-grid/index.js +4 -4
  800. package/dist/react/data-rods/index.js +28 -28
  801. package/dist/react/data-subsetter/index.js +33 -33
  802. package/dist/react/data-subsetter-history/index.js +34 -34
  803. package/dist/react/date-picker/index.js +8 -8
  804. package/dist/react/date-range-slider/index.js +3 -3
  805. package/dist/react/dialog/index.js +6 -6
  806. package/dist/react/divider/index.js +3 -3
  807. package/dist/react/dropdown/index.js +4 -4
  808. package/dist/react/earthdata-login/index.js +11 -11
  809. package/dist/react/file-upload/index.js +3 -3
  810. package/dist/react/icon/index.js +3 -3
  811. package/dist/react/index.d.ts +1 -1
  812. package/dist/react/index.js +150 -150
  813. package/dist/react/input/index.js +4 -4
  814. package/dist/react/loader/index.js +3 -3
  815. package/dist/react/login/index.js +9 -9
  816. package/dist/react/map/index.js +3 -3
  817. package/dist/react/menu/index.js +3 -3
  818. package/dist/react/menu-item/index.js +6 -6
  819. package/dist/react/option/index.js +4 -4
  820. package/dist/react/pagination/index.js +4 -4
  821. package/dist/react/plot/index.js +3 -3
  822. package/dist/react/plot-toolbar/index.js +11 -11
  823. package/dist/react/popup/index.js +3 -3
  824. package/dist/react/progress-bar/index.js +3 -3
  825. package/dist/react/radio/index.js +3 -3
  826. package/dist/react/radio-group/index.js +3 -3
  827. package/dist/react/scroll-hint/index.js +4 -4
  828. package/dist/react/select/index.js +6 -6
  829. package/dist/react/site-header/index.js +4 -4
  830. package/dist/react/site-navigation/index.js +3 -3
  831. package/dist/react/skeleton/index.js +3 -3
  832. package/dist/react/slider/index.js +3 -3
  833. package/dist/react/spatial-picker/index.js +8 -8
  834. package/dist/react/status-indicator/index.js +3 -3
  835. package/dist/react/stepper/index.js +3 -3
  836. package/dist/react/stepper-step/index.js +4 -4
  837. package/dist/react/tab/index.js +4 -4
  838. package/dist/react/tab-panel/index.js +3 -3
  839. package/dist/react/tabs/index.js +4 -4
  840. package/dist/react/tag/index.js +4 -4
  841. package/dist/react/textarea/index.js +3 -3
  842. package/dist/react/time-average-map/index.js +18 -18
  843. package/dist/react/time-series/index.js +19 -19
  844. package/dist/react/toast/index.js +4 -4
  845. package/dist/react/toggle/index.js +3 -3
  846. package/dist/react/tooltip/index.js +4 -4
  847. package/dist/react/variable-combobox/index.js +7 -7
  848. package/dist/react/variable-keyword-search/index.js +10 -10
  849. package/dist/terra-ui-components.js +140 -140
  850. package/dist/terra_ui_components-0.0.171-py3-none-any.whl +0 -0
  851. package/dist/terra_ui_components-0.0.171.tar.gz +0 -0
  852. package/dist/types/vue/index.d.ts +48 -45
  853. package/dist/utilities/mimetypes.d.ts +1 -1
  854. package/dist/utilities/mimetypes.js +1 -1
  855. package/dist/vscode.html-custom-data.json +56 -55
  856. package/dist/web-types.json +104 -104
  857. package/package.json +1 -1
  858. package/cdn/chunks/chunk.23Y7QMN5.js +0 -753
  859. package/cdn/chunks/chunk.27DM5VK6.js +0 -165
  860. package/cdn/chunks/chunk.2CUPINMP.js +0 -2225
  861. package/cdn/chunks/chunk.2HVBS5KK.js +0 -155
  862. package/cdn/chunks/chunk.2L2DH4EY.js +0 -538
  863. package/cdn/chunks/chunk.2LQPMIIZ.js +0 -32
  864. package/cdn/chunks/chunk.2NM4U2LU.js +0 -187
  865. package/cdn/chunks/chunk.2UVKVPX3.js +0 -29
  866. package/cdn/chunks/chunk.33KHQW3Z.js +0 -19
  867. package/cdn/chunks/chunk.3526RPQK.js +0 -621
  868. package/cdn/chunks/chunk.36GA7KWW.js +0 -904
  869. package/cdn/chunks/chunk.37JFNNAW.js +0 -19
  870. package/cdn/chunks/chunk.3H3V4B47.js +0 -19
  871. package/cdn/chunks/chunk.3LHSTJOM.js +0 -32
  872. package/cdn/chunks/chunk.3P36LV7J.js +0 -19
  873. package/cdn/chunks/chunk.3U7HCXAJ.js +0 -41
  874. package/cdn/chunks/chunk.4APCPT3O.js +0 -29
  875. package/cdn/chunks/chunk.4QFPAUSK.js +0 -276
  876. package/cdn/chunks/chunk.4S6HV5RX.js +0 -19
  877. package/cdn/chunks/chunk.4WNVAI6U.js +0 -610
  878. package/cdn/chunks/chunk.56SWCPZS.js +0 -1966
  879. package/cdn/chunks/chunk.57GBWZJW.js +0 -19
  880. package/cdn/chunks/chunk.5ASZGZMI.js +0 -132
  881. package/cdn/chunks/chunk.5CEXP5OW.js +0 -616
  882. package/cdn/chunks/chunk.5DNZJJJB.js +0 -104
  883. package/cdn/chunks/chunk.5H5YOUOE.js +0 -55346
  884. package/cdn/chunks/chunk.5SQAQCOP.js +0 -34
  885. package/cdn/chunks/chunk.5WPHVZHW.js +0 -19
  886. package/cdn/chunks/chunk.6KBHTN75.js +0 -99
  887. package/cdn/chunks/chunk.6L327MVB.js +0 -19
  888. package/cdn/chunks/chunk.6QE4CS2W.js +0 -35
  889. package/cdn/chunks/chunk.756JSGIG.js +0 -19
  890. package/cdn/chunks/chunk.75WXZ7WM.js +0 -19
  891. package/cdn/chunks/chunk.7BMGYTZW.js +0 -259
  892. package/cdn/chunks/chunk.7CVHAUON.js +0 -71
  893. package/cdn/chunks/chunk.7JCWA2LY.js +0 -477
  894. package/cdn/chunks/chunk.7KGX77P7.js +0 -32
  895. package/cdn/chunks/chunk.7QFE2GFU.js +0 -36
  896. package/cdn/chunks/chunk.7WTX5UMU.js +0 -19
  897. package/cdn/chunks/chunk.7Z2FEIQL.js +0 -78
  898. package/cdn/chunks/chunk.A2HDQWT4.js +0 -189
  899. package/cdn/chunks/chunk.A2OJJCLG.js +0 -731
  900. package/cdn/chunks/chunk.A32PK7HR.js +0 -113
  901. package/cdn/chunks/chunk.ADM4OZQM.js +0 -33
  902. package/cdn/chunks/chunk.AEZPANSK.js +0 -36
  903. package/cdn/chunks/chunk.AFTQQ2NR.js +0 -37
  904. package/cdn/chunks/chunk.AI5EBCPG.js +0 -19
  905. package/cdn/chunks/chunk.AQQOOF6N.js +0 -49
  906. package/cdn/chunks/chunk.BFOK4EDR.js +0 -524
  907. package/cdn/chunks/chunk.BICJ7IPP.js +0 -29
  908. package/cdn/chunks/chunk.BPPHVTY3.js +0 -293
  909. package/cdn/chunks/chunk.CDJ56MTC.js +0 -19
  910. package/cdn/chunks/chunk.CDYTMBTI.js +0 -158
  911. package/cdn/chunks/chunk.CL5CAJ5Q.js +0 -29
  912. package/cdn/chunks/chunk.CTTIIQCS.js +0 -32
  913. package/cdn/chunks/chunk.CWK3Y63Q.js +0 -19
  914. package/cdn/chunks/chunk.CXDOHJL6.js +0 -29
  915. package/cdn/chunks/chunk.DIIJLVU2.js +0 -32
  916. package/cdn/chunks/chunk.DLWEHN27.js +0 -35
  917. package/cdn/chunks/chunk.DUCENLLS.js +0 -19
  918. package/cdn/chunks/chunk.E4RTDATJ.js +0 -19
  919. package/cdn/chunks/chunk.EATTMKCR.js +0 -19
  920. package/cdn/chunks/chunk.EBKWUG27.js +0 -29
  921. package/cdn/chunks/chunk.EBQNLHZJ.js +0 -19
  922. package/cdn/chunks/chunk.EIVITIUS.js +0 -302
  923. package/cdn/chunks/chunk.EKXEAFVP.js +0 -19
  924. package/cdn/chunks/chunk.ELMFDV2G.js +0 -247
  925. package/cdn/chunks/chunk.EMYBC6Z6.js +0 -47
  926. package/cdn/chunks/chunk.EXAQWYAI.js +0 -19
  927. package/cdn/chunks/chunk.F2UTVBGA.js +0 -68
  928. package/cdn/chunks/chunk.FADW5CYP.js +0 -32
  929. package/cdn/chunks/chunk.FGQ7TN3O.js +0 -29
  930. package/cdn/chunks/chunk.FJEMKM6L.js +0 -99
  931. package/cdn/chunks/chunk.FKRUMJF6.js +0 -34
  932. package/cdn/chunks/chunk.FLVA6RF4.js +0 -19
  933. package/cdn/chunks/chunk.FR6G35YE.js +0 -190
  934. package/cdn/chunks/chunk.FVDHBEFI.js +0 -19
  935. package/cdn/chunks/chunk.FZFVEWOR.js +0 -19
  936. package/cdn/chunks/chunk.GAFBBVHT.js +0 -60
  937. package/cdn/chunks/chunk.GAO5VS4R.js +0 -32
  938. package/cdn/chunks/chunk.GHVQRIPC.js +0 -239
  939. package/cdn/chunks/chunk.GLK3BXH4.js +0 -29
  940. package/cdn/chunks/chunk.GOH3Q4DD.js +0 -29
  941. package/cdn/chunks/chunk.GOTF2HRS.js +0 -19
  942. package/cdn/chunks/chunk.GSTTVP4T.js +0 -29
  943. package/cdn/chunks/chunk.GVI2UZCY.js +0 -1048
  944. package/cdn/chunks/chunk.H3LV4ESK.js +0 -19
  945. package/cdn/chunks/chunk.HLO5BX7S.js +0 -35
  946. package/cdn/chunks/chunk.HN6WYJ7E.js +0 -29
  947. package/cdn/chunks/chunk.HO5P2NSN.js +0 -33
  948. package/cdn/chunks/chunk.HZVV2Q4F.js +0 -32
  949. package/cdn/chunks/chunk.I3QKV2JC.js +0 -19
  950. package/cdn/chunks/chunk.ICM6XULG.js +0 -33
  951. package/cdn/chunks/chunk.II3LLQGZ.js +0 -19
  952. package/cdn/chunks/chunk.IJSNT3YK.js +0 -19
  953. package/cdn/chunks/chunk.IKZ6QOIX.js +0 -435
  954. package/cdn/chunks/chunk.IOT2QUMW.js +0 -19
  955. package/cdn/chunks/chunk.IPGDKFBU.js +0 -29
  956. package/cdn/chunks/chunk.ISBKM2OB.js +0 -238
  957. package/cdn/chunks/chunk.IWWRB72D.js +0 -83
  958. package/cdn/chunks/chunk.IXPDYB64.js +0 -29
  959. package/cdn/chunks/chunk.IZ5CXEC6.js +0 -19
  960. package/cdn/chunks/chunk.IZK7HP7M.js +0 -92
  961. package/cdn/chunks/chunk.J2JFIHNU.js +0 -234
  962. package/cdn/chunks/chunk.JA6ZZ64V.js +0 -32
  963. package/cdn/chunks/chunk.JGFYSIBR.js +0 -93
  964. package/cdn/chunks/chunk.JJJZZZWN.js +0 -33869
  965. package/cdn/chunks/chunk.JK64JGC7.js +0 -19
  966. package/cdn/chunks/chunk.JNF2ARPJ.js +0 -19
  967. package/cdn/chunks/chunk.JR6UQQBE.js +0 -662
  968. package/cdn/chunks/chunk.K7EC2QO6.js +0 -145
  969. package/cdn/chunks/chunk.K7R2IQRB.js +0 -19
  970. package/cdn/chunks/chunk.KFKTQYI4.js +0 -35
  971. package/cdn/chunks/chunk.KIDO7MT6.js +0 -1224
  972. package/cdn/chunks/chunk.KJYNC4N2.js +0 -19
  973. package/cdn/chunks/chunk.KM4LDSC2.js +0 -29
  974. package/cdn/chunks/chunk.KTUOZT6B.js +0 -29
  975. package/cdn/chunks/chunk.L3WF4VSH.js +0 -224
  976. package/cdn/chunks/chunk.L4RC5K6N.js +0 -19
  977. package/cdn/chunks/chunk.L4ZVQGZG.js +0 -19
  978. package/cdn/chunks/chunk.LBABTGAS.js +0 -146
  979. package/cdn/chunks/chunk.LBP2IFU2.js +0 -32
  980. package/cdn/chunks/chunk.LH6SE47V.js +0 -19
  981. package/cdn/chunks/chunk.LI3UO24Z.js +0 -19
  982. package/cdn/chunks/chunk.LJP57TPZ.js +0 -123
  983. package/cdn/chunks/chunk.LRJIJSME.js +0 -151
  984. package/cdn/chunks/chunk.LRRN7TW2.js +0 -86
  985. package/cdn/chunks/chunk.LSDUHLTV.js +0 -264
  986. package/cdn/chunks/chunk.LTRAIDNN.js +0 -136
  987. package/cdn/chunks/chunk.M4H7O47V.js +0 -19
  988. package/cdn/chunks/chunk.MJF4FK73.js +0 -19
  989. package/cdn/chunks/chunk.MKUGDZZU.js +0 -19
  990. package/cdn/chunks/chunk.MKZAH3ZX.js +0 -29
  991. package/cdn/chunks/chunk.MRBM4LPE.js +0 -19
  992. package/cdn/chunks/chunk.NKKYMYRH.js +0 -99
  993. package/cdn/chunks/chunk.NLXOFVES.js +0 -85
  994. package/cdn/chunks/chunk.NND2EWZ7.js +0 -19
  995. package/cdn/chunks/chunk.NWPJ65LM.js +0 -372
  996. package/cdn/chunks/chunk.O5AIQWAQ.js +0 -1010
  997. package/cdn/chunks/chunk.OCDEWNKT.js +0 -32
  998. package/cdn/chunks/chunk.OO2H4TMZ.js +0 -19
  999. package/cdn/chunks/chunk.OW5IH327.js +0 -19
  1000. package/cdn/chunks/chunk.P2ZNC5N5.js +0 -19
  1001. package/cdn/chunks/chunk.PAAEZB53.js +0 -36
  1002. package/cdn/chunks/chunk.PDOV4E5N.js +0 -375
  1003. package/cdn/chunks/chunk.PENG2T5E.js +0 -599
  1004. package/cdn/chunks/chunk.PJ7252UY.js +0 -19
  1005. package/cdn/chunks/chunk.PL666R3D.js +0 -2313
  1006. package/cdn/chunks/chunk.PON44CCO.js +0 -19
  1007. package/cdn/chunks/chunk.POXRZGF4.js +0 -83
  1008. package/cdn/chunks/chunk.PRI4ETTU.js +0 -509
  1009. package/cdn/chunks/chunk.PRPTY76K.js +0 -33
  1010. package/cdn/chunks/chunk.PZP4NGXC.js +0 -19
  1011. package/cdn/chunks/chunk.Q3MSM3S3.js +0 -29
  1012. package/cdn/chunks/chunk.QAINETNF.js +0 -32
  1013. package/cdn/chunks/chunk.QQHECGCQ.js +0 -19
  1014. package/cdn/chunks/chunk.QSGYUPH7.js +0 -32
  1015. package/cdn/chunks/chunk.QVKRDXJX.js +0 -29
  1016. package/cdn/chunks/chunk.QZNDVWYX.js +0 -29
  1017. package/cdn/chunks/chunk.R2LK7SNC.js +0 -56
  1018. package/cdn/chunks/chunk.R7FSG6GO.js +0 -278
  1019. package/cdn/chunks/chunk.S2F2564D.js +0 -77
  1020. package/cdn/chunks/chunk.S4VVLASW.js +0 -29
  1021. package/cdn/chunks/chunk.S5DW3CK4.js +0 -29
  1022. package/cdn/chunks/chunk.S64Z33IQ.js +0 -19
  1023. package/cdn/chunks/chunk.S6722JTJ.js +0 -29
  1024. package/cdn/chunks/chunk.SEQFSNN4.js +0 -33
  1025. package/cdn/chunks/chunk.SF3AZD6E.js +0 -29
  1026. package/cdn/chunks/chunk.SZE5IVAS.js +0 -19
  1027. package/cdn/chunks/chunk.TGOEQWBO.js +0 -493
  1028. package/cdn/chunks/chunk.TSWRJVG4.js +0 -19
  1029. package/cdn/chunks/chunk.TU63UI7B.js +0 -36
  1030. package/cdn/chunks/chunk.UOX5YQY3.js +0 -33
  1031. package/cdn/chunks/chunk.UQJ4SMJ3.js +0 -106
  1032. package/cdn/chunks/chunk.UXWYH6UK.js +0 -359
  1033. package/cdn/chunks/chunk.V2WQ7CJY.js +0 -134
  1034. package/cdn/chunks/chunk.V346CTFU.js +0 -357
  1035. package/cdn/chunks/chunk.V3ZDPJWB.js +0 -30
  1036. package/cdn/chunks/chunk.V4B3K3CH.js +0 -60
  1037. package/cdn/chunks/chunk.V7ZHQ3LF.js +0 -19
  1038. package/cdn/chunks/chunk.VISOFNVX.js +0 -74
  1039. package/cdn/chunks/chunk.VKJTY34O.js +0 -29
  1040. package/cdn/chunks/chunk.VXFNVWXT.js +0 -39
  1041. package/cdn/chunks/chunk.VZRG32HK.js +0 -19
  1042. package/cdn/chunks/chunk.W2XEKYWI.js +0 -29
  1043. package/cdn/chunks/chunk.W3AZM2YM.js +0 -19
  1044. package/cdn/chunks/chunk.W75QDPUW.js +0 -287
  1045. package/cdn/chunks/chunk.W7KGVFJQ.js +0 -52
  1046. package/cdn/chunks/chunk.WGGPLRDO.js +0 -29
  1047. package/cdn/chunks/chunk.WNCDZ6UO.js +0 -230
  1048. package/cdn/chunks/chunk.WQXKFJW2.js +0 -29
  1049. package/cdn/chunks/chunk.WRAITQOZ.js +0 -19
  1050. package/cdn/chunks/chunk.WSWBUCUH.js +0 -231
  1051. package/cdn/chunks/chunk.X5B3CBZJ.js +0 -62
  1052. package/cdn/chunks/chunk.X6VRRG6J.js +0 -19
  1053. package/cdn/chunks/chunk.XAN6UYF4.js +0 -19
  1054. package/cdn/chunks/chunk.XS3ROQMX.js +0 -29
  1055. package/cdn/chunks/chunk.YGIT6RXF.js +0 -288
  1056. package/cdn/chunks/chunk.YHNSKH3Z.js +0 -29
  1057. package/cdn/chunks/chunk.YN27NNFM.js +0 -19
  1058. package/cdn/chunks/chunk.YNVR7UOD.js +0 -29
  1059. package/cdn/chunks/chunk.YVQ7TDFC.js +0 -37
  1060. package/cdn/chunks/chunk.ZDADCW7B.js +0 -188
  1061. package/cdn/chunks/chunk.ZLLXQUOT.js +0 -32
  1062. package/cdn/chunks/chunk.ZR2QAPEQ.js +0 -19
  1063. package/dist/chunks/chunk.25X72P22.js +0 -21
  1064. package/dist/chunks/chunk.2HJCSCE2.js +0 -52
  1065. package/dist/chunks/chunk.2IDKJCLH.js +0 -11
  1066. package/dist/chunks/chunk.2JLEP7WV.js +0 -135
  1067. package/dist/chunks/chunk.2JWWS6WI.js +0 -11
  1068. package/dist/chunks/chunk.2KXWG3Z2.js +0 -11
  1069. package/dist/chunks/chunk.2SY2KPM3.js +0 -220
  1070. package/dist/chunks/chunk.2V3DZPUN.js +0 -11
  1071. package/dist/chunks/chunk.2WAGHRXT.js +0 -21
  1072. package/dist/chunks/chunk.2X5O6LYW.js +0 -230
  1073. package/dist/chunks/chunk.36QLVQIR.js +0 -25
  1074. package/dist/chunks/chunk.3PPWMQMI.js +0 -20
  1075. package/dist/chunks/chunk.43GMMZD7.js +0 -85
  1076. package/dist/chunks/chunk.44V7SGCO.js +0 -11
  1077. package/dist/chunks/chunk.45UBEJ6Z.js +0 -11
  1078. package/dist/chunks/chunk.4DI6PZQQ.js +0 -11
  1079. package/dist/chunks/chunk.4DR7MOJU.js +0 -21
  1080. package/dist/chunks/chunk.4VPWUYWJ.js +0 -24
  1081. package/dist/chunks/chunk.4VRC33YC.js +0 -11
  1082. package/dist/chunks/chunk.4WPZZJUQ.js +0 -39
  1083. package/dist/chunks/chunk.4XHZVKB7.js +0 -24
  1084. package/dist/chunks/chunk.53BVR5TX.js +0 -409
  1085. package/dist/chunks/chunk.5DCRLY64.js +0 -28
  1086. package/dist/chunks/chunk.5EFQ5VCX.js +0 -280
  1087. package/dist/chunks/chunk.5UPO7OQP.js +0 -844
  1088. package/dist/chunks/chunk.634P7HUN.js +0 -277
  1089. package/dist/chunks/chunk.65EHNS65.js +0 -443
  1090. package/dist/chunks/chunk.6ER3C6Z6.js +0 -11
  1091. package/dist/chunks/chunk.6GXJPSOM.js +0 -27
  1092. package/dist/chunks/chunk.6JWHPMOL.js +0 -43
  1093. package/dist/chunks/chunk.6OWWYTVJ.js +0 -139
  1094. package/dist/chunks/chunk.6VGRQDFC.js +0 -78
  1095. package/dist/chunks/chunk.6WTA7ZAF.js +0 -11
  1096. package/dist/chunks/chunk.72QEMLZH.js +0 -11
  1097. package/dist/chunks/chunk.7C3HYDPQ.js +0 -25
  1098. package/dist/chunks/chunk.7EQYQPQD.js +0 -11
  1099. package/dist/chunks/chunk.7M75CILM.js +0 -26
  1100. package/dist/chunks/chunk.7NSVOGKC.js +0 -21
  1101. package/dist/chunks/chunk.7SOCTBCN.js +0 -494
  1102. package/dist/chunks/chunk.7UI4UJRA.js +0 -48
  1103. package/dist/chunks/chunk.AI5MJQ4O.js +0 -89
  1104. package/dist/chunks/chunk.AKEUBIDB.js +0 -24
  1105. package/dist/chunks/chunk.AQORDWMH.js +0 -27
  1106. package/dist/chunks/chunk.B3ZWSEFK.js +0 -31
  1107. package/dist/chunks/chunk.B7EKD3N3.js +0 -21
  1108. package/dist/chunks/chunk.BADHWJPB.js +0 -230
  1109. package/dist/chunks/chunk.BEC5NEZM.js +0 -422
  1110. package/dist/chunks/chunk.BJDVG6P4.js +0 -234
  1111. package/dist/chunks/chunk.BL7C4LXY.js +0 -596
  1112. package/dist/chunks/chunk.BPHXYE6W.js +0 -101
  1113. package/dist/chunks/chunk.BSLXVKCQ.js +0 -21
  1114. package/dist/chunks/chunk.BTWZHCZS.js +0 -21
  1115. package/dist/chunks/chunk.BVCQTPOW.js +0 -11
  1116. package/dist/chunks/chunk.CERMDF55.js +0 -176
  1117. package/dist/chunks/chunk.CEZHGLKB.js +0 -21
  1118. package/dist/chunks/chunk.CGVPVXTX.js +0 -76
  1119. package/dist/chunks/chunk.CH4USRWL.js +0 -11
  1120. package/dist/chunks/chunk.CTXTVPYG.js +0 -21
  1121. package/dist/chunks/chunk.CWTU6KK6.js +0 -11
  1122. package/dist/chunks/chunk.D5KNWGIY.js +0 -123
  1123. package/dist/chunks/chunk.D6ZCHCBI.js +0 -11
  1124. package/dist/chunks/chunk.DF4KTFWJ.js +0 -11
  1125. package/dist/chunks/chunk.DKE63MFU.js +0 -74
  1126. package/dist/chunks/chunk.DKE7LW5A.js +0 -21
  1127. package/dist/chunks/chunk.DNPK2LDE.js +0 -21
  1128. package/dist/chunks/chunk.DPU646KC.js +0 -11
  1129. package/dist/chunks/chunk.DTS74WET.js +0 -451
  1130. package/dist/chunks/chunk.EG2Z7GLQ.js +0 -11
  1131. package/dist/chunks/chunk.EHYLS37I.js +0 -477
  1132. package/dist/chunks/chunk.EIZIOEEM.js +0 -29
  1133. package/dist/chunks/chunk.EMWX354J.js +0 -11
  1134. package/dist/chunks/chunk.EPU6JAZL.js +0 -11
  1135. package/dist/chunks/chunk.FLMJAQI2.js +0 -24
  1136. package/dist/chunks/chunk.FOJ3HQWW.js +0 -21
  1137. package/dist/chunks/chunk.FRPNKGK3.js +0 -291
  1138. package/dist/chunks/chunk.FWMNXIOG.js +0 -11
  1139. package/dist/chunks/chunk.G4FUI57K.js +0 -27
  1140. package/dist/chunks/chunk.G4NQGHAX.js +0 -525
  1141. package/dist/chunks/chunk.G5AFJPH4.js +0 -11
  1142. package/dist/chunks/chunk.GABUUECG.js +0 -355
  1143. package/dist/chunks/chunk.GDDHEO5F.js +0 -24
  1144. package/dist/chunks/chunk.GLBECAG6.js +0 -11
  1145. package/dist/chunks/chunk.GRLR7XO6.js +0 -11
  1146. package/dist/chunks/chunk.GXESF72G.js +0 -220
  1147. package/dist/chunks/chunk.H7FRGWX3.js +0 -21
  1148. package/dist/chunks/chunk.HBH7X5EA.js +0 -24
  1149. package/dist/chunks/chunk.HWQWRERW.js +0 -592
  1150. package/dist/chunks/chunk.HXW7ZUDI.js +0 -474
  1151. package/dist/chunks/chunk.I2UMDI6X.js +0 -58
  1152. package/dist/chunks/chunk.I5A7YFBM.js +0 -91
  1153. package/dist/chunks/chunk.I6ORPBS5.js +0 -2210
  1154. package/dist/chunks/chunk.INWDQT67.js +0 -732
  1155. package/dist/chunks/chunk.J6TMX63K.js +0 -29
  1156. package/dist/chunks/chunk.J7ZWVUK3.js +0 -609
  1157. package/dist/chunks/chunk.JAQ3LUKC.js +0 -247
  1158. package/dist/chunks/chunk.JYGKESM3.js +0 -11
  1159. package/dist/chunks/chunk.JYP3VNP6.js +0 -112
  1160. package/dist/chunks/chunk.K3XBFEUO.js +0 -24
  1161. package/dist/chunks/chunk.K65T7KTE.js +0 -21
  1162. package/dist/chunks/chunk.KCDPVE7C.js +0 -61
  1163. package/dist/chunks/chunk.KCFXCVFH.js +0 -1133
  1164. package/dist/chunks/chunk.KEEIQVSS.js +0 -43
  1165. package/dist/chunks/chunk.KGSVGF3H.js +0 -345
  1166. package/dist/chunks/chunk.KIKCQJJO.js +0 -11
  1167. package/dist/chunks/chunk.KIPQ6D4L.js +0 -25
  1168. package/dist/chunks/chunk.KOSPOK7H.js +0 -11
  1169. package/dist/chunks/chunk.LDPT7WUL.js +0 -21
  1170. package/dist/chunks/chunk.LN7XIS45.js +0 -180
  1171. package/dist/chunks/chunk.LQEFIRWO.js +0 -245
  1172. package/dist/chunks/chunk.LTNPYYBF.js +0 -93
  1173. package/dist/chunks/chunk.MI2HDCAW.js +0 -11
  1174. package/dist/chunks/chunk.MMTZYMPU.js +0 -365
  1175. package/dist/chunks/chunk.MN6NQGAD.js +0 -21
  1176. package/dist/chunks/chunk.MOTUBWF2.js +0 -180
  1177. package/dist/chunks/chunk.MPDELFPF.js +0 -264
  1178. package/dist/chunks/chunk.MSKTLXJF.js +0 -213
  1179. package/dist/chunks/chunk.MSW2HH5S.js +0 -153
  1180. package/dist/chunks/chunk.MTNC2DCF.js +0 -11
  1181. package/dist/chunks/chunk.NDGSVMU3.js +0 -28
  1182. package/dist/chunks/chunk.NMCLTBEP.js +0 -262
  1183. package/dist/chunks/chunk.NPTMWKYL.js +0 -11
  1184. package/dist/chunks/chunk.NVZODHOK.js +0 -11
  1185. package/dist/chunks/chunk.NWN7ZIMJ.js +0 -11
  1186. package/dist/chunks/chunk.O3N63INW.js +0 -11
  1187. package/dist/chunks/chunk.OBQSWLXU.js +0 -11
  1188. package/dist/chunks/chunk.OFUJJYKR.js +0 -1037
  1189. package/dist/chunks/chunk.OM5VUJHG.js +0 -67
  1190. package/dist/chunks/chunk.OSTWXCMV.js +0 -24
  1191. package/dist/chunks/chunk.OTUP32ZV.js +0 -64
  1192. package/dist/chunks/chunk.OWTIQPHV.js +0 -21
  1193. package/dist/chunks/chunk.OX7O5BJ2.js +0 -24
  1194. package/dist/chunks/chunk.OYZ6PIX6.js +0 -21
  1195. package/dist/chunks/chunk.PAS23YIR.js +0 -21
  1196. package/dist/chunks/chunk.PASAYNUD.js +0 -11
  1197. package/dist/chunks/chunk.PCYRP6QH.js +0 -25
  1198. package/dist/chunks/chunk.PGBJDV45.js +0 -581
  1199. package/dist/chunks/chunk.PK2VBJCU.js +0 -21
  1200. package/dist/chunks/chunk.PP42WHCU.js +0 -11
  1201. package/dist/chunks/chunk.PPNAWZEL.js +0 -11
  1202. package/dist/chunks/chunk.PYYFSQ5U.js +0 -11
  1203. package/dist/chunks/chunk.QCUUQQN6.js +0 -21
  1204. package/dist/chunks/chunk.QM4W4CXC.js +0 -21
  1205. package/dist/chunks/chunk.QMLAE732.js +0 -143
  1206. package/dist/chunks/chunk.QMZMNMZI.js +0 -11
  1207. package/dist/chunks/chunk.QZ4VJZEL.js +0 -11
  1208. package/dist/chunks/chunk.RBHC3HJC.js +0 -11
  1209. package/dist/chunks/chunk.RE7HWLCN.js +0 -11
  1210. package/dist/chunks/chunk.RG3WISMO.js +0 -21
  1211. package/dist/chunks/chunk.RO4MUFVF.js +0 -67
  1212. package/dist/chunks/chunk.RSAREB5O.js +0 -1208
  1213. package/dist/chunks/chunk.RSY6HFUR.js +0 -11
  1214. package/dist/chunks/chunk.SA7ZPYYQ.js +0 -145
  1215. package/dist/chunks/chunk.SCRTSRZM.js +0 -21
  1216. package/dist/chunks/chunk.SU2NURRF.js +0 -25
  1217. package/dist/chunks/chunk.SU5KHWCD.js +0 -48
  1218. package/dist/chunks/chunk.SUUAXNKF.js +0 -26
  1219. package/dist/chunks/chunk.T5U5QBTT.js +0 -24
  1220. package/dist/chunks/chunk.TFDTNSCI.js +0 -24
  1221. package/dist/chunks/chunk.TSGOHE3X.js +0 -124
  1222. package/dist/chunks/chunk.U25LAYNL.js +0 -52
  1223. package/dist/chunks/chunk.UCIVXWSO.js +0 -2300
  1224. package/dist/chunks/chunk.UDFX6O4I.js +0 -27
  1225. package/dist/chunks/chunk.UPX3KGPJ.js +0 -24
  1226. package/dist/chunks/chunk.UT66H5XF.js +0 -11
  1227. package/dist/chunks/chunk.VIK6R6ZE.js +0 -21
  1228. package/dist/chunks/chunk.VWM7D7YU.js +0 -21
  1229. package/dist/chunks/chunk.VZ6JYJJP.js +0 -252
  1230. package/dist/chunks/chunk.W37LBCXY.js +0 -11
  1231. package/dist/chunks/chunk.W3BVMTXK.js +0 -21
  1232. package/dist/chunks/chunk.W75DNY3A.js +0 -24
  1233. package/dist/chunks/chunk.WEHKC2HC.js +0 -11
  1234. package/dist/chunks/chunk.WFXPEVP3.js +0 -33
  1235. package/dist/chunks/chunk.WKPDRIUN.js +0 -720
  1236. package/dist/chunks/chunk.WL3Z3XQF.js +0 -11
  1237. package/dist/chunks/chunk.WR44OKOH.js +0 -24
  1238. package/dist/chunks/chunk.WRN2UPJR.js +0 -180
  1239. package/dist/chunks/chunk.WTTMONSY.js +0 -11
  1240. package/dist/chunks/chunk.WUJFJ7KZ.js +0 -11
  1241. package/dist/chunks/chunk.WZVTM6NW.js +0 -21
  1242. package/dist/chunks/chunk.X5CKLKTJ.js +0 -121
  1243. package/dist/chunks/chunk.XKPZXOJZ.js +0 -86
  1244. package/dist/chunks/chunk.XMASTOGU.js +0 -75
  1245. package/dist/chunks/chunk.XR75EBXL.js +0 -24
  1246. package/dist/chunks/chunk.XWDIEP3X.js +0 -11
  1247. package/dist/chunks/chunk.XZTZVISY.js +0 -91
  1248. package/dist/chunks/chunk.Y4SX7JDQ.js +0 -11
  1249. package/dist/chunks/chunk.YHRQUJW4.js +0 -11
  1250. package/dist/chunks/chunk.YIIZOJQH.js +0 -21
  1251. package/dist/chunks/chunk.YLWDV7FG.js +0 -97
  1252. package/dist/chunks/chunk.YN5Z3QIN.js +0 -11
  1253. package/dist/chunks/chunk.YOKJEL27.js +0 -993
  1254. package/dist/chunks/chunk.YRCWMNEY.js +0 -11
  1255. package/dist/chunks/chunk.YUN5GFFN.js +0 -11
  1256. package/dist/chunks/chunk.YXEY5NTD.js +0 -83
  1257. package/dist/chunks/chunk.YZEWGCYT.js +0 -11
  1258. package/dist/chunks/chunk.YZREWGWS.js +0 -272
  1259. package/dist/chunks/chunk.Z5CYAFF5.js +0 -28
  1260. package/dist/chunks/chunk.Z6PEIFFT.js +0 -11
  1261. package/dist/chunks/chunk.ZDBS2TET.js +0 -28
  1262. package/dist/chunks/chunk.ZDSHHTCZ.js +0 -11
  1263. package/dist/chunks/chunk.ZK3JSPHW.js +0 -11
  1264. package/dist/chunks/chunk.ZQYFGIV4.js +0 -11
  1265. package/dist/chunks/chunk.ZU4JWWMF.js +0 -214
  1266. package/dist/chunks/chunk.ZUGJ7LJ3.js +0 -21
  1267. package/dist/chunks/chunk.ZZQVDIXM.js +0 -345
  1268. package/dist/terra_ui_components-0.0.169-py3-none-any.whl +0 -0
  1269. package/dist/terra_ui_components-0.0.169.tar.gz +0 -0
@@ -0,0 +1,1966 @@
1
+ import {
2
+ popup_styles_default
3
+ } from "./chunk.UPT6DHPH.js";
4
+ import {
5
+ e
6
+ } from "./chunk.P3OLQVQM.js";
7
+ import {
8
+ TerraElement,
9
+ component_styles_default,
10
+ e as e2,
11
+ n
12
+ } from "./chunk.TBAPGHFB.js";
13
+ import {
14
+ x
15
+ } from "./chunk.3ZQGAH53.js";
16
+ import {
17
+ __decorateClass,
18
+ __objRest,
19
+ __spreadProps,
20
+ __spreadValues,
21
+ init_buffer,
22
+ init_dirname,
23
+ init_process
24
+ } from "./chunk.CZA6CSBG.js";
25
+
26
+ // src/components/popup/popup.component.ts
27
+ init_dirname();
28
+ init_buffer();
29
+ init_process();
30
+
31
+ // node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
32
+ init_dirname();
33
+ init_buffer();
34
+ init_process();
35
+
36
+ // node_modules/@floating-ui/core/dist/floating-ui.core.mjs
37
+ init_dirname();
38
+ init_buffer();
39
+ init_process();
40
+
41
+ // node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
42
+ init_dirname();
43
+ init_buffer();
44
+ init_process();
45
+ var min = Math.min;
46
+ var max = Math.max;
47
+ var round = Math.round;
48
+ var floor = Math.floor;
49
+ var createCoords = (v) => ({
50
+ x: v,
51
+ y: v
52
+ });
53
+ var oppositeSideMap = {
54
+ left: "right",
55
+ right: "left",
56
+ bottom: "top",
57
+ top: "bottom"
58
+ };
59
+ var oppositeAlignmentMap = {
60
+ start: "end",
61
+ end: "start"
62
+ };
63
+ function clamp(start, value, end) {
64
+ return max(start, min(value, end));
65
+ }
66
+ function evaluate(value, param) {
67
+ return typeof value === "function" ? value(param) : value;
68
+ }
69
+ function getSide(placement) {
70
+ return placement.split("-")[0];
71
+ }
72
+ function getAlignment(placement) {
73
+ return placement.split("-")[1];
74
+ }
75
+ function getOppositeAxis(axis) {
76
+ return axis === "x" ? "y" : "x";
77
+ }
78
+ function getAxisLength(axis) {
79
+ return axis === "y" ? "height" : "width";
80
+ }
81
+ var yAxisSides = /* @__PURE__ */ new Set(["top", "bottom"]);
82
+ function getSideAxis(placement) {
83
+ return yAxisSides.has(getSide(placement)) ? "y" : "x";
84
+ }
85
+ function getAlignmentAxis(placement) {
86
+ return getOppositeAxis(getSideAxis(placement));
87
+ }
88
+ function getAlignmentSides(placement, rects, rtl) {
89
+ if (rtl === void 0) {
90
+ rtl = false;
91
+ }
92
+ const alignment = getAlignment(placement);
93
+ const alignmentAxis = getAlignmentAxis(placement);
94
+ const length = getAxisLength(alignmentAxis);
95
+ let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
96
+ if (rects.reference[length] > rects.floating[length]) {
97
+ mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
98
+ }
99
+ return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
100
+ }
101
+ function getExpandedPlacements(placement) {
102
+ const oppositePlacement = getOppositePlacement(placement);
103
+ return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
104
+ }
105
+ function getOppositeAlignmentPlacement(placement) {
106
+ return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
107
+ }
108
+ var lrPlacement = ["left", "right"];
109
+ var rlPlacement = ["right", "left"];
110
+ var tbPlacement = ["top", "bottom"];
111
+ var btPlacement = ["bottom", "top"];
112
+ function getSideList(side, isStart, rtl) {
113
+ switch (side) {
114
+ case "top":
115
+ case "bottom":
116
+ if (rtl)
117
+ return isStart ? rlPlacement : lrPlacement;
118
+ return isStart ? lrPlacement : rlPlacement;
119
+ case "left":
120
+ case "right":
121
+ return isStart ? tbPlacement : btPlacement;
122
+ default:
123
+ return [];
124
+ }
125
+ }
126
+ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
127
+ const alignment = getAlignment(placement);
128
+ let list = getSideList(getSide(placement), direction === "start", rtl);
129
+ if (alignment) {
130
+ list = list.map((side) => side + "-" + alignment);
131
+ if (flipAlignment) {
132
+ list = list.concat(list.map(getOppositeAlignmentPlacement));
133
+ }
134
+ }
135
+ return list;
136
+ }
137
+ function getOppositePlacement(placement) {
138
+ return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
139
+ }
140
+ function expandPaddingObject(padding) {
141
+ return __spreadValues({
142
+ top: 0,
143
+ right: 0,
144
+ bottom: 0,
145
+ left: 0
146
+ }, padding);
147
+ }
148
+ function getPaddingObject(padding) {
149
+ return typeof padding !== "number" ? expandPaddingObject(padding) : {
150
+ top: padding,
151
+ right: padding,
152
+ bottom: padding,
153
+ left: padding
154
+ };
155
+ }
156
+ function rectToClientRect(rect) {
157
+ const {
158
+ x: x2,
159
+ y,
160
+ width,
161
+ height
162
+ } = rect;
163
+ return {
164
+ width,
165
+ height,
166
+ top: y,
167
+ left: x2,
168
+ right: x2 + width,
169
+ bottom: y + height,
170
+ x: x2,
171
+ y
172
+ };
173
+ }
174
+
175
+ // node_modules/@floating-ui/core/dist/floating-ui.core.mjs
176
+ function computeCoordsFromPlacement(_ref, placement, rtl) {
177
+ let {
178
+ reference,
179
+ floating
180
+ } = _ref;
181
+ const sideAxis = getSideAxis(placement);
182
+ const alignmentAxis = getAlignmentAxis(placement);
183
+ const alignLength = getAxisLength(alignmentAxis);
184
+ const side = getSide(placement);
185
+ const isVertical = sideAxis === "y";
186
+ const commonX = reference.x + reference.width / 2 - floating.width / 2;
187
+ const commonY = reference.y + reference.height / 2 - floating.height / 2;
188
+ const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
189
+ let coords;
190
+ switch (side) {
191
+ case "top":
192
+ coords = {
193
+ x: commonX,
194
+ y: reference.y - floating.height
195
+ };
196
+ break;
197
+ case "bottom":
198
+ coords = {
199
+ x: commonX,
200
+ y: reference.y + reference.height
201
+ };
202
+ break;
203
+ case "right":
204
+ coords = {
205
+ x: reference.x + reference.width,
206
+ y: commonY
207
+ };
208
+ break;
209
+ case "left":
210
+ coords = {
211
+ x: reference.x - floating.width,
212
+ y: commonY
213
+ };
214
+ break;
215
+ default:
216
+ coords = {
217
+ x: reference.x,
218
+ y: reference.y
219
+ };
220
+ }
221
+ switch (getAlignment(placement)) {
222
+ case "start":
223
+ coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
224
+ break;
225
+ case "end":
226
+ coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
227
+ break;
228
+ }
229
+ return coords;
230
+ }
231
+ var computePosition = async (reference, floating, config) => {
232
+ const {
233
+ placement = "bottom",
234
+ strategy = "absolute",
235
+ middleware = [],
236
+ platform: platform2
237
+ } = config;
238
+ const validMiddleware = middleware.filter(Boolean);
239
+ const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
240
+ let rects = await platform2.getElementRects({
241
+ reference,
242
+ floating,
243
+ strategy
244
+ });
245
+ let {
246
+ x: x2,
247
+ y
248
+ } = computeCoordsFromPlacement(rects, placement, rtl);
249
+ let statefulPlacement = placement;
250
+ let middlewareData = {};
251
+ let resetCount = 0;
252
+ for (let i2 = 0; i2 < validMiddleware.length; i2++) {
253
+ const {
254
+ name,
255
+ fn
256
+ } = validMiddleware[i2];
257
+ const {
258
+ x: nextX,
259
+ y: nextY,
260
+ data,
261
+ reset
262
+ } = await fn({
263
+ x: x2,
264
+ y,
265
+ initialPlacement: placement,
266
+ placement: statefulPlacement,
267
+ strategy,
268
+ middlewareData,
269
+ rects,
270
+ platform: platform2,
271
+ elements: {
272
+ reference,
273
+ floating
274
+ }
275
+ });
276
+ x2 = nextX != null ? nextX : x2;
277
+ y = nextY != null ? nextY : y;
278
+ middlewareData = __spreadProps(__spreadValues({}, middlewareData), {
279
+ [name]: __spreadValues(__spreadValues({}, middlewareData[name]), data)
280
+ });
281
+ if (reset && resetCount <= 50) {
282
+ resetCount++;
283
+ if (typeof reset === "object") {
284
+ if (reset.placement) {
285
+ statefulPlacement = reset.placement;
286
+ }
287
+ if (reset.rects) {
288
+ rects = reset.rects === true ? await platform2.getElementRects({
289
+ reference,
290
+ floating,
291
+ strategy
292
+ }) : reset.rects;
293
+ }
294
+ ({
295
+ x: x2,
296
+ y
297
+ } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
298
+ }
299
+ i2 = -1;
300
+ }
301
+ }
302
+ return {
303
+ x: x2,
304
+ y,
305
+ placement: statefulPlacement,
306
+ strategy,
307
+ middlewareData
308
+ };
309
+ };
310
+ async function detectOverflow(state, options) {
311
+ var _await$platform$isEle;
312
+ if (options === void 0) {
313
+ options = {};
314
+ }
315
+ const {
316
+ x: x2,
317
+ y,
318
+ platform: platform2,
319
+ rects,
320
+ elements,
321
+ strategy
322
+ } = state;
323
+ const {
324
+ boundary = "clippingAncestors",
325
+ rootBoundary = "viewport",
326
+ elementContext = "floating",
327
+ altBoundary = false,
328
+ padding = 0
329
+ } = evaluate(options, state);
330
+ const paddingObject = getPaddingObject(padding);
331
+ const altContext = elementContext === "floating" ? "reference" : "floating";
332
+ const element = elements[altBoundary ? altContext : elementContext];
333
+ const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
334
+ element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
335
+ boundary,
336
+ rootBoundary,
337
+ strategy
338
+ }));
339
+ const rect = elementContext === "floating" ? {
340
+ x: x2,
341
+ y,
342
+ width: rects.floating.width,
343
+ height: rects.floating.height
344
+ } : rects.reference;
345
+ const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
346
+ const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
347
+ x: 1,
348
+ y: 1
349
+ } : {
350
+ x: 1,
351
+ y: 1
352
+ };
353
+ const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
354
+ elements,
355
+ rect,
356
+ offsetParent,
357
+ strategy
358
+ }) : rect);
359
+ return {
360
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
361
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
362
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
363
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
364
+ };
365
+ }
366
+ var arrow = (options) => ({
367
+ name: "arrow",
368
+ options,
369
+ async fn(state) {
370
+ const {
371
+ x: x2,
372
+ y,
373
+ placement,
374
+ rects,
375
+ platform: platform2,
376
+ elements,
377
+ middlewareData
378
+ } = state;
379
+ const {
380
+ element,
381
+ padding = 0
382
+ } = evaluate(options, state) || {};
383
+ if (element == null) {
384
+ return {};
385
+ }
386
+ const paddingObject = getPaddingObject(padding);
387
+ const coords = {
388
+ x: x2,
389
+ y
390
+ };
391
+ const axis = getAlignmentAxis(placement);
392
+ const length = getAxisLength(axis);
393
+ const arrowDimensions = await platform2.getDimensions(element);
394
+ const isYAxis = axis === "y";
395
+ const minProp = isYAxis ? "top" : "left";
396
+ const maxProp = isYAxis ? "bottom" : "right";
397
+ const clientProp = isYAxis ? "clientHeight" : "clientWidth";
398
+ const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
399
+ const startDiff = coords[axis] - rects.reference[axis];
400
+ const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
401
+ let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
402
+ if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
403
+ clientSize = elements.floating[clientProp] || rects.floating[length];
404
+ }
405
+ const centerToReference = endDiff / 2 - startDiff / 2;
406
+ const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
407
+ const minPadding = min(paddingObject[minProp], largestPossiblePadding);
408
+ const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
409
+ const min$1 = minPadding;
410
+ const max2 = clientSize - arrowDimensions[length] - maxPadding;
411
+ const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
412
+ const offset3 = clamp(min$1, center, max2);
413
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
414
+ const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
415
+ return {
416
+ [axis]: coords[axis] + alignmentOffset,
417
+ data: __spreadValues({
418
+ [axis]: offset3,
419
+ centerOffset: center - offset3 - alignmentOffset
420
+ }, shouldAddOffset && {
421
+ alignmentOffset
422
+ }),
423
+ reset: shouldAddOffset
424
+ };
425
+ }
426
+ });
427
+ var flip = function(options) {
428
+ if (options === void 0) {
429
+ options = {};
430
+ }
431
+ return {
432
+ name: "flip",
433
+ options,
434
+ async fn(state) {
435
+ var _middlewareData$arrow, _middlewareData$flip;
436
+ const {
437
+ placement,
438
+ middlewareData,
439
+ rects,
440
+ initialPlacement,
441
+ platform: platform2,
442
+ elements
443
+ } = state;
444
+ const _a = evaluate(options, state), {
445
+ mainAxis: checkMainAxis = true,
446
+ crossAxis: checkCrossAxis = true,
447
+ fallbackPlacements: specifiedFallbackPlacements,
448
+ fallbackStrategy = "bestFit",
449
+ fallbackAxisSideDirection = "none",
450
+ flipAlignment = true
451
+ } = _a, detectOverflowOptions = __objRest(_a, [
452
+ "mainAxis",
453
+ "crossAxis",
454
+ "fallbackPlacements",
455
+ "fallbackStrategy",
456
+ "fallbackAxisSideDirection",
457
+ "flipAlignment"
458
+ ]);
459
+ if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
460
+ return {};
461
+ }
462
+ const side = getSide(placement);
463
+ const initialSideAxis = getSideAxis(initialPlacement);
464
+ const isBasePlacement = getSide(initialPlacement) === initialPlacement;
465
+ const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
466
+ const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
467
+ const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
468
+ if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
469
+ fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
470
+ }
471
+ const placements2 = [initialPlacement, ...fallbackPlacements];
472
+ const overflow = await detectOverflow(state, detectOverflowOptions);
473
+ const overflows = [];
474
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
475
+ if (checkMainAxis) {
476
+ overflows.push(overflow[side]);
477
+ }
478
+ if (checkCrossAxis) {
479
+ const sides2 = getAlignmentSides(placement, rects, rtl);
480
+ overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
481
+ }
482
+ overflowsData = [...overflowsData, {
483
+ placement,
484
+ overflows
485
+ }];
486
+ if (!overflows.every((side2) => side2 <= 0)) {
487
+ var _middlewareData$flip2, _overflowsData$filter;
488
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
489
+ const nextPlacement = placements2[nextIndex];
490
+ if (nextPlacement) {
491
+ const ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false;
492
+ if (!ignoreCrossAxisOverflow || // We leave the current main axis only if every placement on that axis
493
+ // overflows the main axis.
494
+ overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
495
+ return {
496
+ data: {
497
+ index: nextIndex,
498
+ overflows: overflowsData
499
+ },
500
+ reset: {
501
+ placement: nextPlacement
502
+ }
503
+ };
504
+ }
505
+ }
506
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
507
+ if (!resetPlacement) {
508
+ switch (fallbackStrategy) {
509
+ case "bestFit": {
510
+ var _overflowsData$filter2;
511
+ const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
512
+ if (hasFallbackAxisSideDirection) {
513
+ const currentSideAxis = getSideAxis(d.placement);
514
+ return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
515
+ // reading directions favoring greater width.
516
+ currentSideAxis === "y";
517
+ }
518
+ return true;
519
+ }).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
520
+ if (placement2) {
521
+ resetPlacement = placement2;
522
+ }
523
+ break;
524
+ }
525
+ case "initialPlacement":
526
+ resetPlacement = initialPlacement;
527
+ break;
528
+ }
529
+ }
530
+ if (placement !== resetPlacement) {
531
+ return {
532
+ reset: {
533
+ placement: resetPlacement
534
+ }
535
+ };
536
+ }
537
+ }
538
+ return {};
539
+ }
540
+ };
541
+ };
542
+ var originSides = /* @__PURE__ */ new Set(["left", "top"]);
543
+ async function convertValueToCoords(state, options) {
544
+ const {
545
+ placement,
546
+ platform: platform2,
547
+ elements
548
+ } = state;
549
+ const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
550
+ const side = getSide(placement);
551
+ const alignment = getAlignment(placement);
552
+ const isVertical = getSideAxis(placement) === "y";
553
+ const mainAxisMulti = originSides.has(side) ? -1 : 1;
554
+ const crossAxisMulti = rtl && isVertical ? -1 : 1;
555
+ const rawValue = evaluate(options, state);
556
+ let {
557
+ mainAxis,
558
+ crossAxis,
559
+ alignmentAxis
560
+ } = typeof rawValue === "number" ? {
561
+ mainAxis: rawValue,
562
+ crossAxis: 0,
563
+ alignmentAxis: null
564
+ } : {
565
+ mainAxis: rawValue.mainAxis || 0,
566
+ crossAxis: rawValue.crossAxis || 0,
567
+ alignmentAxis: rawValue.alignmentAxis
568
+ };
569
+ if (alignment && typeof alignmentAxis === "number") {
570
+ crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
571
+ }
572
+ return isVertical ? {
573
+ x: crossAxis * crossAxisMulti,
574
+ y: mainAxis * mainAxisMulti
575
+ } : {
576
+ x: mainAxis * mainAxisMulti,
577
+ y: crossAxis * crossAxisMulti
578
+ };
579
+ }
580
+ var offset = function(options) {
581
+ if (options === void 0) {
582
+ options = 0;
583
+ }
584
+ return {
585
+ name: "offset",
586
+ options,
587
+ async fn(state) {
588
+ var _middlewareData$offse, _middlewareData$arrow;
589
+ const {
590
+ x: x2,
591
+ y,
592
+ placement,
593
+ middlewareData
594
+ } = state;
595
+ const diffCoords = await convertValueToCoords(state, options);
596
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
597
+ return {};
598
+ }
599
+ return {
600
+ x: x2 + diffCoords.x,
601
+ y: y + diffCoords.y,
602
+ data: __spreadProps(__spreadValues({}, diffCoords), {
603
+ placement
604
+ })
605
+ };
606
+ }
607
+ };
608
+ };
609
+ var shift = function(options) {
610
+ if (options === void 0) {
611
+ options = {};
612
+ }
613
+ return {
614
+ name: "shift",
615
+ options,
616
+ async fn(state) {
617
+ const {
618
+ x: x2,
619
+ y,
620
+ placement
621
+ } = state;
622
+ const _a = evaluate(options, state), {
623
+ mainAxis: checkMainAxis = true,
624
+ crossAxis: checkCrossAxis = false,
625
+ limiter = {
626
+ fn: (_ref) => {
627
+ let {
628
+ x: x3,
629
+ y: y2
630
+ } = _ref;
631
+ return {
632
+ x: x3,
633
+ y: y2
634
+ };
635
+ }
636
+ }
637
+ } = _a, detectOverflowOptions = __objRest(_a, [
638
+ "mainAxis",
639
+ "crossAxis",
640
+ "limiter"
641
+ ]);
642
+ const coords = {
643
+ x: x2,
644
+ y
645
+ };
646
+ const overflow = await detectOverflow(state, detectOverflowOptions);
647
+ const crossAxis = getSideAxis(getSide(placement));
648
+ const mainAxis = getOppositeAxis(crossAxis);
649
+ let mainAxisCoord = coords[mainAxis];
650
+ let crossAxisCoord = coords[crossAxis];
651
+ if (checkMainAxis) {
652
+ const minSide = mainAxis === "y" ? "top" : "left";
653
+ const maxSide = mainAxis === "y" ? "bottom" : "right";
654
+ const min2 = mainAxisCoord + overflow[minSide];
655
+ const max2 = mainAxisCoord - overflow[maxSide];
656
+ mainAxisCoord = clamp(min2, mainAxisCoord, max2);
657
+ }
658
+ if (checkCrossAxis) {
659
+ const minSide = crossAxis === "y" ? "top" : "left";
660
+ const maxSide = crossAxis === "y" ? "bottom" : "right";
661
+ const min2 = crossAxisCoord + overflow[minSide];
662
+ const max2 = crossAxisCoord - overflow[maxSide];
663
+ crossAxisCoord = clamp(min2, crossAxisCoord, max2);
664
+ }
665
+ const limitedCoords = limiter.fn(__spreadProps(__spreadValues({}, state), {
666
+ [mainAxis]: mainAxisCoord,
667
+ [crossAxis]: crossAxisCoord
668
+ }));
669
+ return __spreadProps(__spreadValues({}, limitedCoords), {
670
+ data: {
671
+ x: limitedCoords.x - x2,
672
+ y: limitedCoords.y - y,
673
+ enabled: {
674
+ [mainAxis]: checkMainAxis,
675
+ [crossAxis]: checkCrossAxis
676
+ }
677
+ }
678
+ });
679
+ }
680
+ };
681
+ };
682
+ var size = function(options) {
683
+ if (options === void 0) {
684
+ options = {};
685
+ }
686
+ return {
687
+ name: "size",
688
+ options,
689
+ async fn(state) {
690
+ var _state$middlewareData, _state$middlewareData2;
691
+ const {
692
+ placement,
693
+ rects,
694
+ platform: platform2,
695
+ elements
696
+ } = state;
697
+ const _a = evaluate(options, state), {
698
+ apply = () => {
699
+ }
700
+ } = _a, detectOverflowOptions = __objRest(_a, [
701
+ "apply"
702
+ ]);
703
+ const overflow = await detectOverflow(state, detectOverflowOptions);
704
+ const side = getSide(placement);
705
+ const alignment = getAlignment(placement);
706
+ const isYAxis = getSideAxis(placement) === "y";
707
+ const {
708
+ width,
709
+ height
710
+ } = rects.floating;
711
+ let heightSide;
712
+ let widthSide;
713
+ if (side === "top" || side === "bottom") {
714
+ heightSide = side;
715
+ widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
716
+ } else {
717
+ widthSide = side;
718
+ heightSide = alignment === "end" ? "top" : "bottom";
719
+ }
720
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
721
+ const maximumClippingWidth = width - overflow.left - overflow.right;
722
+ const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
723
+ const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
724
+ const noShift = !state.middlewareData.shift;
725
+ let availableHeight = overflowAvailableHeight;
726
+ let availableWidth = overflowAvailableWidth;
727
+ if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
728
+ availableWidth = maximumClippingWidth;
729
+ }
730
+ if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
731
+ availableHeight = maximumClippingHeight;
732
+ }
733
+ if (noShift && !alignment) {
734
+ const xMin = max(overflow.left, 0);
735
+ const xMax = max(overflow.right, 0);
736
+ const yMin = max(overflow.top, 0);
737
+ const yMax = max(overflow.bottom, 0);
738
+ if (isYAxis) {
739
+ availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
740
+ } else {
741
+ availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
742
+ }
743
+ }
744
+ await apply(__spreadProps(__spreadValues({}, state), {
745
+ availableWidth,
746
+ availableHeight
747
+ }));
748
+ const nextDimensions = await platform2.getDimensions(elements.floating);
749
+ if (width !== nextDimensions.width || height !== nextDimensions.height) {
750
+ return {
751
+ reset: {
752
+ rects: true
753
+ }
754
+ };
755
+ }
756
+ return {};
757
+ }
758
+ };
759
+ };
760
+
761
+ // node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
762
+ init_dirname();
763
+ init_buffer();
764
+ init_process();
765
+ function hasWindow() {
766
+ return typeof window !== "undefined";
767
+ }
768
+ function getNodeName(node) {
769
+ if (isNode(node)) {
770
+ return (node.nodeName || "").toLowerCase();
771
+ }
772
+ return "#document";
773
+ }
774
+ function getWindow(node) {
775
+ var _node$ownerDocument;
776
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
777
+ }
778
+ function getDocumentElement(node) {
779
+ var _ref;
780
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
781
+ }
782
+ function isNode(value) {
783
+ if (!hasWindow()) {
784
+ return false;
785
+ }
786
+ return value instanceof Node || value instanceof getWindow(value).Node;
787
+ }
788
+ function isElement(value) {
789
+ if (!hasWindow()) {
790
+ return false;
791
+ }
792
+ return value instanceof Element || value instanceof getWindow(value).Element;
793
+ }
794
+ function isHTMLElement(value) {
795
+ if (!hasWindow()) {
796
+ return false;
797
+ }
798
+ return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
799
+ }
800
+ function isShadowRoot(value) {
801
+ if (!hasWindow() || typeof ShadowRoot === "undefined") {
802
+ return false;
803
+ }
804
+ return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
805
+ }
806
+ var invalidOverflowDisplayValues = /* @__PURE__ */ new Set(["inline", "contents"]);
807
+ function isOverflowElement(element) {
808
+ const {
809
+ overflow,
810
+ overflowX,
811
+ overflowY,
812
+ display
813
+ } = getComputedStyle2(element);
814
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
815
+ }
816
+ var tableElements = /* @__PURE__ */ new Set(["table", "td", "th"]);
817
+ function isTableElement(element) {
818
+ return tableElements.has(getNodeName(element));
819
+ }
820
+ var topLayerSelectors = [":popover-open", ":modal"];
821
+ function isTopLayer(element) {
822
+ return topLayerSelectors.some((selector) => {
823
+ try {
824
+ return element.matches(selector);
825
+ } catch (_e) {
826
+ return false;
827
+ }
828
+ });
829
+ }
830
+ var transformProperties = ["transform", "translate", "scale", "rotate", "perspective"];
831
+ var willChangeValues = ["transform", "translate", "scale", "rotate", "perspective", "filter"];
832
+ var containValues = ["paint", "layout", "strict", "content"];
833
+ function isContainingBlock(elementOrCss) {
834
+ const webkit = isWebKit();
835
+ const css = isElement(elementOrCss) ? getComputedStyle2(elementOrCss) : elementOrCss;
836
+ return transformProperties.some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || willChangeValues.some((value) => (css.willChange || "").includes(value)) || containValues.some((value) => (css.contain || "").includes(value));
837
+ }
838
+ function getContainingBlock(element) {
839
+ let currentNode = getParentNode(element);
840
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
841
+ if (isContainingBlock(currentNode)) {
842
+ return currentNode;
843
+ } else if (isTopLayer(currentNode)) {
844
+ return null;
845
+ }
846
+ currentNode = getParentNode(currentNode);
847
+ }
848
+ return null;
849
+ }
850
+ function isWebKit() {
851
+ if (typeof CSS === "undefined" || !CSS.supports)
852
+ return false;
853
+ return CSS.supports("-webkit-backdrop-filter", "none");
854
+ }
855
+ var lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
856
+ function isLastTraversableNode(node) {
857
+ return lastTraversableNodeNames.has(getNodeName(node));
858
+ }
859
+ function getComputedStyle2(element) {
860
+ return getWindow(element).getComputedStyle(element);
861
+ }
862
+ function getNodeScroll(element) {
863
+ if (isElement(element)) {
864
+ return {
865
+ scrollLeft: element.scrollLeft,
866
+ scrollTop: element.scrollTop
867
+ };
868
+ }
869
+ return {
870
+ scrollLeft: element.scrollX,
871
+ scrollTop: element.scrollY
872
+ };
873
+ }
874
+ function getParentNode(node) {
875
+ if (getNodeName(node) === "html") {
876
+ return node;
877
+ }
878
+ const result = (
879
+ // Step into the shadow DOM of the parent of a slotted node.
880
+ node.assignedSlot || // DOM Element detected.
881
+ node.parentNode || // ShadowRoot detected.
882
+ isShadowRoot(node) && node.host || // Fallback.
883
+ getDocumentElement(node)
884
+ );
885
+ return isShadowRoot(result) ? result.host : result;
886
+ }
887
+ function getNearestOverflowAncestor(node) {
888
+ const parentNode = getParentNode(node);
889
+ if (isLastTraversableNode(parentNode)) {
890
+ return node.ownerDocument ? node.ownerDocument.body : node.body;
891
+ }
892
+ if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
893
+ return parentNode;
894
+ }
895
+ return getNearestOverflowAncestor(parentNode);
896
+ }
897
+ function getOverflowAncestors(node, list, traverseIframes) {
898
+ var _node$ownerDocument2;
899
+ if (list === void 0) {
900
+ list = [];
901
+ }
902
+ if (traverseIframes === void 0) {
903
+ traverseIframes = true;
904
+ }
905
+ const scrollableAncestor = getNearestOverflowAncestor(node);
906
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
907
+ const win = getWindow(scrollableAncestor);
908
+ if (isBody) {
909
+ const frameElement = getFrameElement(win);
910
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
911
+ }
912
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
913
+ }
914
+ function getFrameElement(win) {
915
+ return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
916
+ }
917
+
918
+ // node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
919
+ function getCssDimensions(element) {
920
+ const css = getComputedStyle2(element);
921
+ let width = parseFloat(css.width) || 0;
922
+ let height = parseFloat(css.height) || 0;
923
+ const hasOffset = isHTMLElement(element);
924
+ const offsetWidth = hasOffset ? element.offsetWidth : width;
925
+ const offsetHeight = hasOffset ? element.offsetHeight : height;
926
+ const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
927
+ if (shouldFallback) {
928
+ width = offsetWidth;
929
+ height = offsetHeight;
930
+ }
931
+ return {
932
+ width,
933
+ height,
934
+ $: shouldFallback
935
+ };
936
+ }
937
+ function unwrapElement(element) {
938
+ return !isElement(element) ? element.contextElement : element;
939
+ }
940
+ function getScale(element) {
941
+ const domElement = unwrapElement(element);
942
+ if (!isHTMLElement(domElement)) {
943
+ return createCoords(1);
944
+ }
945
+ const rect = domElement.getBoundingClientRect();
946
+ const {
947
+ width,
948
+ height,
949
+ $
950
+ } = getCssDimensions(domElement);
951
+ let x2 = ($ ? round(rect.width) : rect.width) / width;
952
+ let y = ($ ? round(rect.height) : rect.height) / height;
953
+ if (!x2 || !Number.isFinite(x2)) {
954
+ x2 = 1;
955
+ }
956
+ if (!y || !Number.isFinite(y)) {
957
+ y = 1;
958
+ }
959
+ return {
960
+ x: x2,
961
+ y
962
+ };
963
+ }
964
+ var noOffsets = /* @__PURE__ */ createCoords(0);
965
+ function getVisualOffsets(element) {
966
+ const win = getWindow(element);
967
+ if (!isWebKit() || !win.visualViewport) {
968
+ return noOffsets;
969
+ }
970
+ return {
971
+ x: win.visualViewport.offsetLeft,
972
+ y: win.visualViewport.offsetTop
973
+ };
974
+ }
975
+ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
976
+ if (isFixed === void 0) {
977
+ isFixed = false;
978
+ }
979
+ if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
980
+ return false;
981
+ }
982
+ return isFixed;
983
+ }
984
+ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
985
+ if (includeScale === void 0) {
986
+ includeScale = false;
987
+ }
988
+ if (isFixedStrategy === void 0) {
989
+ isFixedStrategy = false;
990
+ }
991
+ const clientRect = element.getBoundingClientRect();
992
+ const domElement = unwrapElement(element);
993
+ let scale = createCoords(1);
994
+ if (includeScale) {
995
+ if (offsetParent) {
996
+ if (isElement(offsetParent)) {
997
+ scale = getScale(offsetParent);
998
+ }
999
+ } else {
1000
+ scale = getScale(element);
1001
+ }
1002
+ }
1003
+ const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
1004
+ let x2 = (clientRect.left + visualOffsets.x) / scale.x;
1005
+ let y = (clientRect.top + visualOffsets.y) / scale.y;
1006
+ let width = clientRect.width / scale.x;
1007
+ let height = clientRect.height / scale.y;
1008
+ if (domElement) {
1009
+ const win = getWindow(domElement);
1010
+ const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
1011
+ let currentWin = win;
1012
+ let currentIFrame = getFrameElement(currentWin);
1013
+ while (currentIFrame && offsetParent && offsetWin !== currentWin) {
1014
+ const iframeScale = getScale(currentIFrame);
1015
+ const iframeRect = currentIFrame.getBoundingClientRect();
1016
+ const css = getComputedStyle2(currentIFrame);
1017
+ const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
1018
+ const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
1019
+ x2 *= iframeScale.x;
1020
+ y *= iframeScale.y;
1021
+ width *= iframeScale.x;
1022
+ height *= iframeScale.y;
1023
+ x2 += left;
1024
+ y += top;
1025
+ currentWin = getWindow(currentIFrame);
1026
+ currentIFrame = getFrameElement(currentWin);
1027
+ }
1028
+ }
1029
+ return rectToClientRect({
1030
+ width,
1031
+ height,
1032
+ x: x2,
1033
+ y
1034
+ });
1035
+ }
1036
+ function getWindowScrollBarX(element, rect) {
1037
+ const leftScroll = getNodeScroll(element).scrollLeft;
1038
+ if (!rect) {
1039
+ return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
1040
+ }
1041
+ return rect.left + leftScroll;
1042
+ }
1043
+ function getHTMLOffset(documentElement, scroll) {
1044
+ const htmlRect = documentElement.getBoundingClientRect();
1045
+ const x2 = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
1046
+ const y = htmlRect.top + scroll.scrollTop;
1047
+ return {
1048
+ x: x2,
1049
+ y
1050
+ };
1051
+ }
1052
+ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1053
+ let {
1054
+ elements,
1055
+ rect,
1056
+ offsetParent,
1057
+ strategy
1058
+ } = _ref;
1059
+ const isFixed = strategy === "fixed";
1060
+ const documentElement = getDocumentElement(offsetParent);
1061
+ const topLayer = elements ? isTopLayer(elements.floating) : false;
1062
+ if (offsetParent === documentElement || topLayer && isFixed) {
1063
+ return rect;
1064
+ }
1065
+ let scroll = {
1066
+ scrollLeft: 0,
1067
+ scrollTop: 0
1068
+ };
1069
+ let scale = createCoords(1);
1070
+ const offsets = createCoords(0);
1071
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1072
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1073
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
1074
+ scroll = getNodeScroll(offsetParent);
1075
+ }
1076
+ if (isHTMLElement(offsetParent)) {
1077
+ const offsetRect = getBoundingClientRect(offsetParent);
1078
+ scale = getScale(offsetParent);
1079
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1080
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1081
+ }
1082
+ }
1083
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1084
+ return {
1085
+ width: rect.width * scale.x,
1086
+ height: rect.height * scale.y,
1087
+ x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
1088
+ y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
1089
+ };
1090
+ }
1091
+ function getClientRects(element) {
1092
+ return Array.from(element.getClientRects());
1093
+ }
1094
+ function getDocumentRect(element) {
1095
+ const html = getDocumentElement(element);
1096
+ const scroll = getNodeScroll(element);
1097
+ const body = element.ownerDocument.body;
1098
+ const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1099
+ const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1100
+ let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
1101
+ const y = -scroll.scrollTop;
1102
+ if (getComputedStyle2(body).direction === "rtl") {
1103
+ x2 += max(html.clientWidth, body.clientWidth) - width;
1104
+ }
1105
+ return {
1106
+ width,
1107
+ height,
1108
+ x: x2,
1109
+ y
1110
+ };
1111
+ }
1112
+ var SCROLLBAR_MAX = 25;
1113
+ function getViewportRect(element, strategy) {
1114
+ const win = getWindow(element);
1115
+ const html = getDocumentElement(element);
1116
+ const visualViewport = win.visualViewport;
1117
+ let width = html.clientWidth;
1118
+ let height = html.clientHeight;
1119
+ let x2 = 0;
1120
+ let y = 0;
1121
+ if (visualViewport) {
1122
+ width = visualViewport.width;
1123
+ height = visualViewport.height;
1124
+ const visualViewportBased = isWebKit();
1125
+ if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
1126
+ x2 = visualViewport.offsetLeft;
1127
+ y = visualViewport.offsetTop;
1128
+ }
1129
+ }
1130
+ const windowScrollbarX = getWindowScrollBarX(html);
1131
+ if (windowScrollbarX <= 0) {
1132
+ const doc = html.ownerDocument;
1133
+ const body = doc.body;
1134
+ const bodyStyles = getComputedStyle(body);
1135
+ const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
1136
+ const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
1137
+ if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
1138
+ width -= clippingStableScrollbarWidth;
1139
+ }
1140
+ } else if (windowScrollbarX <= SCROLLBAR_MAX) {
1141
+ width += windowScrollbarX;
1142
+ }
1143
+ return {
1144
+ width,
1145
+ height,
1146
+ x: x2,
1147
+ y
1148
+ };
1149
+ }
1150
+ var absoluteOrFixed = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1151
+ function getInnerBoundingClientRect(element, strategy) {
1152
+ const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
1153
+ const top = clientRect.top + element.clientTop;
1154
+ const left = clientRect.left + element.clientLeft;
1155
+ const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
1156
+ const width = element.clientWidth * scale.x;
1157
+ const height = element.clientHeight * scale.y;
1158
+ const x2 = left * scale.x;
1159
+ const y = top * scale.y;
1160
+ return {
1161
+ width,
1162
+ height,
1163
+ x: x2,
1164
+ y
1165
+ };
1166
+ }
1167
+ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1168
+ let rect;
1169
+ if (clippingAncestor === "viewport") {
1170
+ rect = getViewportRect(element, strategy);
1171
+ } else if (clippingAncestor === "document") {
1172
+ rect = getDocumentRect(getDocumentElement(element));
1173
+ } else if (isElement(clippingAncestor)) {
1174
+ rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1175
+ } else {
1176
+ const visualOffsets = getVisualOffsets(element);
1177
+ rect = {
1178
+ x: clippingAncestor.x - visualOffsets.x,
1179
+ y: clippingAncestor.y - visualOffsets.y,
1180
+ width: clippingAncestor.width,
1181
+ height: clippingAncestor.height
1182
+ };
1183
+ }
1184
+ return rectToClientRect(rect);
1185
+ }
1186
+ function hasFixedPositionAncestor(element, stopNode) {
1187
+ const parentNode = getParentNode(element);
1188
+ if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
1189
+ return false;
1190
+ }
1191
+ return getComputedStyle2(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
1192
+ }
1193
+ function getClippingElementAncestors(element, cache) {
1194
+ const cachedResult = cache.get(element);
1195
+ if (cachedResult) {
1196
+ return cachedResult;
1197
+ }
1198
+ let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
1199
+ let currentContainingBlockComputedStyle = null;
1200
+ const elementIsFixed = getComputedStyle2(element).position === "fixed";
1201
+ let currentNode = elementIsFixed ? getParentNode(element) : element;
1202
+ while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1203
+ const computedStyle = getComputedStyle2(currentNode);
1204
+ const currentNodeIsContaining = isContainingBlock(currentNode);
1205
+ if (!currentNodeIsContaining && computedStyle.position === "fixed") {
1206
+ currentContainingBlockComputedStyle = null;
1207
+ }
1208
+ const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
1209
+ if (shouldDropCurrentNode) {
1210
+ result = result.filter((ancestor) => ancestor !== currentNode);
1211
+ } else {
1212
+ currentContainingBlockComputedStyle = computedStyle;
1213
+ }
1214
+ currentNode = getParentNode(currentNode);
1215
+ }
1216
+ cache.set(element, result);
1217
+ return result;
1218
+ }
1219
+ function getClippingRect(_ref) {
1220
+ let {
1221
+ element,
1222
+ boundary,
1223
+ rootBoundary,
1224
+ strategy
1225
+ } = _ref;
1226
+ const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
1227
+ const clippingAncestors = [...elementClippingAncestors, rootBoundary];
1228
+ const firstClippingAncestor = clippingAncestors[0];
1229
+ const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
1230
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
1231
+ accRect.top = max(rect.top, accRect.top);
1232
+ accRect.right = min(rect.right, accRect.right);
1233
+ accRect.bottom = min(rect.bottom, accRect.bottom);
1234
+ accRect.left = max(rect.left, accRect.left);
1235
+ return accRect;
1236
+ }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
1237
+ return {
1238
+ width: clippingRect.right - clippingRect.left,
1239
+ height: clippingRect.bottom - clippingRect.top,
1240
+ x: clippingRect.left,
1241
+ y: clippingRect.top
1242
+ };
1243
+ }
1244
+ function getDimensions(element) {
1245
+ const {
1246
+ width,
1247
+ height
1248
+ } = getCssDimensions(element);
1249
+ return {
1250
+ width,
1251
+ height
1252
+ };
1253
+ }
1254
+ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1255
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1256
+ const documentElement = getDocumentElement(offsetParent);
1257
+ const isFixed = strategy === "fixed";
1258
+ const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1259
+ let scroll = {
1260
+ scrollLeft: 0,
1261
+ scrollTop: 0
1262
+ };
1263
+ const offsets = createCoords(0);
1264
+ function setLeftRTLScrollbarOffset() {
1265
+ offsets.x = getWindowScrollBarX(documentElement);
1266
+ }
1267
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1268
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
1269
+ scroll = getNodeScroll(offsetParent);
1270
+ }
1271
+ if (isOffsetParentAnElement) {
1272
+ const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1273
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1274
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1275
+ } else if (documentElement) {
1276
+ setLeftRTLScrollbarOffset();
1277
+ }
1278
+ }
1279
+ if (isFixed && !isOffsetParentAnElement && documentElement) {
1280
+ setLeftRTLScrollbarOffset();
1281
+ }
1282
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1283
+ const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
1284
+ const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
1285
+ return {
1286
+ x: x2,
1287
+ y,
1288
+ width: rect.width,
1289
+ height: rect.height
1290
+ };
1291
+ }
1292
+ function isStaticPositioned(element) {
1293
+ return getComputedStyle2(element).position === "static";
1294
+ }
1295
+ function getTrueOffsetParent(element, polyfill) {
1296
+ if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
1297
+ return null;
1298
+ }
1299
+ if (polyfill) {
1300
+ return polyfill(element);
1301
+ }
1302
+ let rawOffsetParent = element.offsetParent;
1303
+ if (getDocumentElement(element) === rawOffsetParent) {
1304
+ rawOffsetParent = rawOffsetParent.ownerDocument.body;
1305
+ }
1306
+ return rawOffsetParent;
1307
+ }
1308
+ function getOffsetParent(element, polyfill) {
1309
+ const win = getWindow(element);
1310
+ if (isTopLayer(element)) {
1311
+ return win;
1312
+ }
1313
+ if (!isHTMLElement(element)) {
1314
+ let svgOffsetParent = getParentNode(element);
1315
+ while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1316
+ if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
1317
+ return svgOffsetParent;
1318
+ }
1319
+ svgOffsetParent = getParentNode(svgOffsetParent);
1320
+ }
1321
+ return win;
1322
+ }
1323
+ let offsetParent = getTrueOffsetParent(element, polyfill);
1324
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
1325
+ offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1326
+ }
1327
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
1328
+ return win;
1329
+ }
1330
+ return offsetParent || getContainingBlock(element) || win;
1331
+ }
1332
+ var getElementRects = async function(data) {
1333
+ const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1334
+ const getDimensionsFn = this.getDimensions;
1335
+ const floatingDimensions = await getDimensionsFn(data.floating);
1336
+ return {
1337
+ reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1338
+ floating: {
1339
+ x: 0,
1340
+ y: 0,
1341
+ width: floatingDimensions.width,
1342
+ height: floatingDimensions.height
1343
+ }
1344
+ };
1345
+ };
1346
+ function isRTL(element) {
1347
+ return getComputedStyle2(element).direction === "rtl";
1348
+ }
1349
+ var platform = {
1350
+ convertOffsetParentRelativeRectToViewportRelativeRect,
1351
+ getDocumentElement,
1352
+ getClippingRect,
1353
+ getOffsetParent,
1354
+ getElementRects,
1355
+ getClientRects,
1356
+ getDimensions,
1357
+ getScale,
1358
+ isElement,
1359
+ isRTL
1360
+ };
1361
+ function rectsAreEqual(a, b) {
1362
+ return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
1363
+ }
1364
+ function observeMove(element, onMove) {
1365
+ let io = null;
1366
+ let timeoutId;
1367
+ const root = getDocumentElement(element);
1368
+ function cleanup() {
1369
+ var _io;
1370
+ clearTimeout(timeoutId);
1371
+ (_io = io) == null || _io.disconnect();
1372
+ io = null;
1373
+ }
1374
+ function refresh(skip, threshold) {
1375
+ if (skip === void 0) {
1376
+ skip = false;
1377
+ }
1378
+ if (threshold === void 0) {
1379
+ threshold = 1;
1380
+ }
1381
+ cleanup();
1382
+ const elementRectForRootMargin = element.getBoundingClientRect();
1383
+ const {
1384
+ left,
1385
+ top,
1386
+ width,
1387
+ height
1388
+ } = elementRectForRootMargin;
1389
+ if (!skip) {
1390
+ onMove();
1391
+ }
1392
+ if (!width || !height) {
1393
+ return;
1394
+ }
1395
+ const insetTop = floor(top);
1396
+ const insetRight = floor(root.clientWidth - (left + width));
1397
+ const insetBottom = floor(root.clientHeight - (top + height));
1398
+ const insetLeft = floor(left);
1399
+ const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
1400
+ const options = {
1401
+ rootMargin,
1402
+ threshold: max(0, min(1, threshold)) || 1
1403
+ };
1404
+ let isFirstUpdate = true;
1405
+ function handleObserve(entries) {
1406
+ const ratio = entries[0].intersectionRatio;
1407
+ if (ratio !== threshold) {
1408
+ if (!isFirstUpdate) {
1409
+ return refresh();
1410
+ }
1411
+ if (!ratio) {
1412
+ timeoutId = setTimeout(() => {
1413
+ refresh(false, 1e-7);
1414
+ }, 1e3);
1415
+ } else {
1416
+ refresh(false, ratio);
1417
+ }
1418
+ }
1419
+ if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
1420
+ refresh();
1421
+ }
1422
+ isFirstUpdate = false;
1423
+ }
1424
+ try {
1425
+ io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options), {
1426
+ // Handle <iframe>s
1427
+ root: root.ownerDocument
1428
+ }));
1429
+ } catch (_e) {
1430
+ io = new IntersectionObserver(handleObserve, options);
1431
+ }
1432
+ io.observe(element);
1433
+ }
1434
+ refresh(true);
1435
+ return cleanup;
1436
+ }
1437
+ function autoUpdate(reference, floating, update, options) {
1438
+ if (options === void 0) {
1439
+ options = {};
1440
+ }
1441
+ const {
1442
+ ancestorScroll = true,
1443
+ ancestorResize = true,
1444
+ elementResize = typeof ResizeObserver === "function",
1445
+ layoutShift = typeof IntersectionObserver === "function",
1446
+ animationFrame = false
1447
+ } = options;
1448
+ const referenceEl = unwrapElement(reference);
1449
+ const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
1450
+ ancestors.forEach((ancestor) => {
1451
+ ancestorScroll && ancestor.addEventListener("scroll", update, {
1452
+ passive: true
1453
+ });
1454
+ ancestorResize && ancestor.addEventListener("resize", update);
1455
+ });
1456
+ const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
1457
+ let reobserveFrame = -1;
1458
+ let resizeObserver = null;
1459
+ if (elementResize) {
1460
+ resizeObserver = new ResizeObserver((_ref) => {
1461
+ let [firstEntry] = _ref;
1462
+ if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
1463
+ resizeObserver.unobserve(floating);
1464
+ cancelAnimationFrame(reobserveFrame);
1465
+ reobserveFrame = requestAnimationFrame(() => {
1466
+ var _resizeObserver;
1467
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
1468
+ });
1469
+ }
1470
+ update();
1471
+ });
1472
+ if (referenceEl && !animationFrame) {
1473
+ resizeObserver.observe(referenceEl);
1474
+ }
1475
+ resizeObserver.observe(floating);
1476
+ }
1477
+ let frameId;
1478
+ let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
1479
+ if (animationFrame) {
1480
+ frameLoop();
1481
+ }
1482
+ function frameLoop() {
1483
+ const nextRefRect = getBoundingClientRect(reference);
1484
+ if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
1485
+ update();
1486
+ }
1487
+ prevRefRect = nextRefRect;
1488
+ frameId = requestAnimationFrame(frameLoop);
1489
+ }
1490
+ update();
1491
+ return () => {
1492
+ var _resizeObserver2;
1493
+ ancestors.forEach((ancestor) => {
1494
+ ancestorScroll && ancestor.removeEventListener("scroll", update);
1495
+ ancestorResize && ancestor.removeEventListener("resize", update);
1496
+ });
1497
+ cleanupIo == null || cleanupIo();
1498
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
1499
+ resizeObserver = null;
1500
+ if (animationFrame) {
1501
+ cancelAnimationFrame(frameId);
1502
+ }
1503
+ };
1504
+ }
1505
+ var offset2 = offset;
1506
+ var shift2 = shift;
1507
+ var flip2 = flip;
1508
+ var size2 = size;
1509
+ var arrow2 = arrow;
1510
+ var computePosition2 = (reference, floating, options) => {
1511
+ const cache = /* @__PURE__ */ new Map();
1512
+ const mergedOptions = __spreadValues({
1513
+ platform
1514
+ }, options);
1515
+ const platformWithCache = __spreadProps(__spreadValues({}, mergedOptions.platform), {
1516
+ _c: cache
1517
+ });
1518
+ return computePosition(reference, floating, __spreadProps(__spreadValues({}, mergedOptions), {
1519
+ platform: platformWithCache
1520
+ }));
1521
+ };
1522
+
1523
+ // node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
1524
+ init_dirname();
1525
+ init_buffer();
1526
+ init_process();
1527
+ function e3(t) {
1528
+ return i(t);
1529
+ }
1530
+ function r(t) {
1531
+ return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
1532
+ }
1533
+ function i(e4) {
1534
+ for (let t = e4; t; t = r(t))
1535
+ if (t instanceof Element && "none" === getComputedStyle(t).display)
1536
+ return null;
1537
+ for (let n2 = r(e4); n2; n2 = r(n2)) {
1538
+ if (!(n2 instanceof Element))
1539
+ continue;
1540
+ const e5 = getComputedStyle(n2);
1541
+ if ("contents" !== e5.display) {
1542
+ if ("static" !== e5.position || isContainingBlock(e5))
1543
+ return n2;
1544
+ if ("BODY" === n2.tagName)
1545
+ return n2;
1546
+ }
1547
+ }
1548
+ return null;
1549
+ }
1550
+
1551
+ // src/components/popup/popup.component.ts
1552
+ function isVirtualElement(e4) {
1553
+ return e4 !== null && typeof e4 === "object" && "getBoundingClientRect" in e4 && ("contextElement" in e4 ? e4.contextElement instanceof Element : true);
1554
+ }
1555
+ var TerraPopup = class extends TerraElement {
1556
+ constructor() {
1557
+ super(...arguments);
1558
+ this.active = false;
1559
+ this.placement = "top";
1560
+ this.strategy = "absolute";
1561
+ this.distance = 0;
1562
+ this.skidding = 0;
1563
+ this.arrow = false;
1564
+ this.arrowPlacement = "anchor";
1565
+ this.arrowPadding = 10;
1566
+ this.flip = false;
1567
+ this.flipFallbackPlacements = "";
1568
+ this.flipFallbackStrategy = "best-fit";
1569
+ this.flipPadding = 0;
1570
+ this.shift = false;
1571
+ this.shiftPadding = 0;
1572
+ this.autoSizePadding = 0;
1573
+ this.hoverBridge = false;
1574
+ this.updateHoverBridge = () => {
1575
+ if (this.hoverBridge && this.anchorEl) {
1576
+ const anchorRect = this.anchorEl.getBoundingClientRect();
1577
+ const popupRect = this.popup.getBoundingClientRect();
1578
+ const isVertical = this.placement.includes("top") || this.placement.includes("bottom");
1579
+ let topLeftX = 0;
1580
+ let topLeftY = 0;
1581
+ let topRightX = 0;
1582
+ let topRightY = 0;
1583
+ let bottomLeftX = 0;
1584
+ let bottomLeftY = 0;
1585
+ let bottomRightX = 0;
1586
+ let bottomRightY = 0;
1587
+ if (isVertical) {
1588
+ if (anchorRect.top < popupRect.top) {
1589
+ topLeftX = anchorRect.left;
1590
+ topLeftY = anchorRect.bottom;
1591
+ topRightX = anchorRect.right;
1592
+ topRightY = anchorRect.bottom;
1593
+ bottomLeftX = popupRect.left;
1594
+ bottomLeftY = popupRect.top;
1595
+ bottomRightX = popupRect.right;
1596
+ bottomRightY = popupRect.top;
1597
+ } else {
1598
+ topLeftX = popupRect.left;
1599
+ topLeftY = popupRect.bottom;
1600
+ topRightX = popupRect.right;
1601
+ topRightY = popupRect.bottom;
1602
+ bottomLeftX = anchorRect.left;
1603
+ bottomLeftY = anchorRect.top;
1604
+ bottomRightX = anchorRect.right;
1605
+ bottomRightY = anchorRect.top;
1606
+ }
1607
+ } else {
1608
+ if (anchorRect.left < popupRect.left) {
1609
+ topLeftX = anchorRect.right;
1610
+ topLeftY = anchorRect.top;
1611
+ topRightX = popupRect.left;
1612
+ topRightY = popupRect.top;
1613
+ bottomLeftX = anchorRect.right;
1614
+ bottomLeftY = anchorRect.bottom;
1615
+ bottomRightX = popupRect.left;
1616
+ bottomRightY = popupRect.bottom;
1617
+ } else {
1618
+ topLeftX = popupRect.right;
1619
+ topLeftY = popupRect.top;
1620
+ topRightX = anchorRect.left;
1621
+ topRightY = anchorRect.top;
1622
+ bottomLeftX = popupRect.right;
1623
+ bottomLeftY = popupRect.bottom;
1624
+ bottomRightX = anchorRect.left;
1625
+ bottomRightY = anchorRect.bottom;
1626
+ }
1627
+ }
1628
+ this.style.setProperty("--hover-bridge-top-left-x", `${topLeftX}px`);
1629
+ this.style.setProperty("--hover-bridge-top-left-y", `${topLeftY}px`);
1630
+ this.style.setProperty("--hover-bridge-top-right-x", `${topRightX}px`);
1631
+ this.style.setProperty("--hover-bridge-top-right-y", `${topRightY}px`);
1632
+ this.style.setProperty("--hover-bridge-bottom-left-x", `${bottomLeftX}px`);
1633
+ this.style.setProperty("--hover-bridge-bottom-left-y", `${bottomLeftY}px`);
1634
+ this.style.setProperty(
1635
+ "--hover-bridge-bottom-right-x",
1636
+ `${bottomRightX}px`
1637
+ );
1638
+ this.style.setProperty(
1639
+ "--hover-bridge-bottom-right-y",
1640
+ `${bottomRightY}px`
1641
+ );
1642
+ }
1643
+ };
1644
+ }
1645
+ async connectedCallback() {
1646
+ super.connectedCallback();
1647
+ await this.updateComplete;
1648
+ this.start();
1649
+ }
1650
+ disconnectedCallback() {
1651
+ super.disconnectedCallback();
1652
+ this.stop();
1653
+ }
1654
+ async updated(changedProps) {
1655
+ super.updated(changedProps);
1656
+ if (changedProps.has("active")) {
1657
+ if (this.active) {
1658
+ this.start();
1659
+ } else {
1660
+ this.stop();
1661
+ }
1662
+ }
1663
+ if (changedProps.has("anchor")) {
1664
+ this.handleAnchorChange();
1665
+ }
1666
+ if (this.active) {
1667
+ await this.updateComplete;
1668
+ this.reposition();
1669
+ }
1670
+ }
1671
+ async handleAnchorChange() {
1672
+ await this.stop();
1673
+ if (this.anchor && typeof this.anchor === "string") {
1674
+ const root = this.getRootNode();
1675
+ this.anchorEl = root.getElementById(this.anchor);
1676
+ } else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
1677
+ this.anchorEl = this.anchor;
1678
+ } else {
1679
+ this.anchorEl = this.querySelector('[slot="anchor"]');
1680
+ }
1681
+ if (this.anchorEl instanceof HTMLSlotElement) {
1682
+ this.anchorEl = this.anchorEl.assignedElements({
1683
+ flatten: true
1684
+ })[0];
1685
+ }
1686
+ if (this.anchorEl && this.active) {
1687
+ this.start();
1688
+ }
1689
+ }
1690
+ start() {
1691
+ if (!this.anchorEl || !this.active) {
1692
+ return;
1693
+ }
1694
+ this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
1695
+ this.reposition();
1696
+ });
1697
+ }
1698
+ async stop() {
1699
+ return new Promise((resolve) => {
1700
+ if (this.cleanup) {
1701
+ this.cleanup();
1702
+ this.cleanup = void 0;
1703
+ this.removeAttribute("data-current-placement");
1704
+ this.style.removeProperty("--auto-size-available-width");
1705
+ this.style.removeProperty("--auto-size-available-height");
1706
+ requestAnimationFrame(() => resolve());
1707
+ } else {
1708
+ resolve();
1709
+ }
1710
+ });
1711
+ }
1712
+ /** Forces the popup to recalculate and reposition itself. */
1713
+ reposition() {
1714
+ if (!this.active || !this.anchorEl) {
1715
+ return;
1716
+ }
1717
+ const middleware = [
1718
+ // The offset middleware goes first
1719
+ offset2({ mainAxis: this.distance, crossAxis: this.skidding })
1720
+ ];
1721
+ if (this.sync) {
1722
+ middleware.push(
1723
+ size2({
1724
+ apply: ({ rects }) => {
1725
+ const syncWidth = this.sync === "width" || this.sync === "both";
1726
+ const syncHeight = this.sync === "height" || this.sync === "both";
1727
+ this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
1728
+ this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
1729
+ }
1730
+ })
1731
+ );
1732
+ } else {
1733
+ this.popup.style.width = "";
1734
+ this.popup.style.height = "";
1735
+ }
1736
+ if (this.flip) {
1737
+ middleware.push(
1738
+ flip2({
1739
+ boundary: this.flipBoundary,
1740
+ // @ts-expect-error - We're converting a string attribute to an array here
1741
+ fallbackPlacements: this.flipFallbackPlacements,
1742
+ fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
1743
+ padding: this.flipPadding
1744
+ })
1745
+ );
1746
+ }
1747
+ if (this.shift) {
1748
+ middleware.push(
1749
+ shift2({
1750
+ boundary: this.shiftBoundary,
1751
+ padding: this.shiftPadding
1752
+ })
1753
+ );
1754
+ }
1755
+ if (this.autoSize) {
1756
+ middleware.push(
1757
+ size2({
1758
+ boundary: this.autoSizeBoundary,
1759
+ padding: this.autoSizePadding,
1760
+ apply: ({ availableWidth, availableHeight }) => {
1761
+ if (this.autoSize === "vertical" || this.autoSize === "both") {
1762
+ this.style.setProperty(
1763
+ "--auto-size-available-height",
1764
+ `${availableHeight}px`
1765
+ );
1766
+ } else {
1767
+ this.style.removeProperty("--auto-size-available-height");
1768
+ }
1769
+ if (this.autoSize === "horizontal" || this.autoSize === "both") {
1770
+ this.style.setProperty(
1771
+ "--auto-size-available-width",
1772
+ `${availableWidth}px`
1773
+ );
1774
+ } else {
1775
+ this.style.removeProperty("--auto-size-available-width");
1776
+ }
1777
+ }
1778
+ })
1779
+ );
1780
+ } else {
1781
+ this.style.removeProperty("--auto-size-available-width");
1782
+ this.style.removeProperty("--auto-size-available-height");
1783
+ }
1784
+ if (this.arrow) {
1785
+ middleware.push(
1786
+ arrow2({
1787
+ element: this.arrowEl,
1788
+ padding: this.arrowPadding
1789
+ })
1790
+ );
1791
+ }
1792
+ const getOffsetParent2 = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, e3) : platform.getOffsetParent;
1793
+ computePosition2(this.anchorEl, this.popup, {
1794
+ placement: this.placement,
1795
+ middleware,
1796
+ strategy: this.strategy,
1797
+ platform: __spreadProps(__spreadValues({}, platform), {
1798
+ getOffsetParent: getOffsetParent2
1799
+ })
1800
+ }).then(({ x: x2, y, middlewareData, placement }) => {
1801
+ const isRtl = false;
1802
+ const staticSide = {
1803
+ top: "bottom",
1804
+ right: "left",
1805
+ bottom: "top",
1806
+ left: "right"
1807
+ }[placement.split("-")[0]];
1808
+ this.setAttribute("data-current-placement", placement);
1809
+ Object.assign(this.popup.style, {
1810
+ left: `${x2}px`,
1811
+ top: `${y}px`
1812
+ });
1813
+ if (this.arrow) {
1814
+ const arrowX = middlewareData.arrow.x;
1815
+ const arrowY = middlewareData.arrow.y;
1816
+ let top = "";
1817
+ let right = "";
1818
+ let bottom = "";
1819
+ let left = "";
1820
+ if (this.arrowPlacement === "start") {
1821
+ const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1822
+ top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1823
+ right = isRtl ? value : "";
1824
+ left = isRtl ? "" : value;
1825
+ } else if (this.arrowPlacement === "end") {
1826
+ const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1827
+ right = isRtl ? "" : value;
1828
+ left = isRtl ? value : "";
1829
+ bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1830
+ } else if (this.arrowPlacement === "center") {
1831
+ left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
1832
+ top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
1833
+ } else {
1834
+ left = typeof arrowX === "number" ? `${arrowX}px` : "";
1835
+ top = typeof arrowY === "number" ? `${arrowY}px` : "";
1836
+ }
1837
+ Object.assign(this.arrowEl.style, {
1838
+ top,
1839
+ right,
1840
+ bottom,
1841
+ left,
1842
+ [staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
1843
+ });
1844
+ }
1845
+ });
1846
+ requestAnimationFrame(() => this.updateHoverBridge());
1847
+ this.emit("terra-reposition");
1848
+ }
1849
+ render() {
1850
+ return x`
1851
+ <slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
1852
+
1853
+ <span
1854
+ part="hover-bridge"
1855
+ class=${e({
1856
+ "popup-hover-bridge": true,
1857
+ "popup-hover-bridge--visible": this.hoverBridge && this.active
1858
+ })}
1859
+ ></span>
1860
+
1861
+ <div
1862
+ part="popup"
1863
+ class=${e({
1864
+ popup: true,
1865
+ "popup--active": this.active,
1866
+ "popup--fixed": this.strategy === "fixed",
1867
+ "popup--has-arrow": this.arrow
1868
+ })}
1869
+ >
1870
+ <slot></slot>
1871
+ ${this.arrow ? x`<div
1872
+ part="arrow"
1873
+ class="popup__arrow"
1874
+ role="presentation"
1875
+ ></div>` : ""}
1876
+ </div>
1877
+ `;
1878
+ }
1879
+ };
1880
+ TerraPopup.styles = [component_styles_default, popup_styles_default];
1881
+ __decorateClass([
1882
+ e2(".popup")
1883
+ ], TerraPopup.prototype, "popup", 2);
1884
+ __decorateClass([
1885
+ e2(".popup__arrow")
1886
+ ], TerraPopup.prototype, "arrowEl", 2);
1887
+ __decorateClass([
1888
+ n()
1889
+ ], TerraPopup.prototype, "anchor", 2);
1890
+ __decorateClass([
1891
+ n({ type: Boolean, reflect: true })
1892
+ ], TerraPopup.prototype, "active", 2);
1893
+ __decorateClass([
1894
+ n({ reflect: true })
1895
+ ], TerraPopup.prototype, "placement", 2);
1896
+ __decorateClass([
1897
+ n({ reflect: true })
1898
+ ], TerraPopup.prototype, "strategy", 2);
1899
+ __decorateClass([
1900
+ n({ type: Number })
1901
+ ], TerraPopup.prototype, "distance", 2);
1902
+ __decorateClass([
1903
+ n({ type: Number })
1904
+ ], TerraPopup.prototype, "skidding", 2);
1905
+ __decorateClass([
1906
+ n({ type: Boolean })
1907
+ ], TerraPopup.prototype, "arrow", 2);
1908
+ __decorateClass([
1909
+ n({ attribute: "arrow-placement" })
1910
+ ], TerraPopup.prototype, "arrowPlacement", 2);
1911
+ __decorateClass([
1912
+ n({ attribute: "arrow-padding", type: Number })
1913
+ ], TerraPopup.prototype, "arrowPadding", 2);
1914
+ __decorateClass([
1915
+ n({ type: Boolean })
1916
+ ], TerraPopup.prototype, "flip", 2);
1917
+ __decorateClass([
1918
+ n({
1919
+ attribute: "flip-fallback-placements",
1920
+ converter: {
1921
+ fromAttribute: (value) => {
1922
+ return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
1923
+ },
1924
+ toAttribute: (value) => {
1925
+ return value.join(" ");
1926
+ }
1927
+ }
1928
+ })
1929
+ ], TerraPopup.prototype, "flipFallbackPlacements", 2);
1930
+ __decorateClass([
1931
+ n({ attribute: "flip-fallback-strategy" })
1932
+ ], TerraPopup.prototype, "flipFallbackStrategy", 2);
1933
+ __decorateClass([
1934
+ n({ type: Object })
1935
+ ], TerraPopup.prototype, "flipBoundary", 2);
1936
+ __decorateClass([
1937
+ n({ attribute: "flip-padding", type: Number })
1938
+ ], TerraPopup.prototype, "flipPadding", 2);
1939
+ __decorateClass([
1940
+ n({ type: Boolean })
1941
+ ], TerraPopup.prototype, "shift", 2);
1942
+ __decorateClass([
1943
+ n({ type: Object })
1944
+ ], TerraPopup.prototype, "shiftBoundary", 2);
1945
+ __decorateClass([
1946
+ n({ attribute: "shift-padding", type: Number })
1947
+ ], TerraPopup.prototype, "shiftPadding", 2);
1948
+ __decorateClass([
1949
+ n({ attribute: "auto-size" })
1950
+ ], TerraPopup.prototype, "autoSize", 2);
1951
+ __decorateClass([
1952
+ n()
1953
+ ], TerraPopup.prototype, "sync", 2);
1954
+ __decorateClass([
1955
+ n({ type: Object })
1956
+ ], TerraPopup.prototype, "autoSizeBoundary", 2);
1957
+ __decorateClass([
1958
+ n({ attribute: "auto-size-padding", type: Number })
1959
+ ], TerraPopup.prototype, "autoSizePadding", 2);
1960
+ __decorateClass([
1961
+ n({ attribute: "hover-bridge", type: Boolean })
1962
+ ], TerraPopup.prototype, "hoverBridge", 2);
1963
+
1964
+ export {
1965
+ TerraPopup
1966
+ };