@aurodesignsystem/auro-formkit 2.0.0-beta.5 → 2.0.0-beta.50

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 (856) hide show
  1. package/CHANGELOG.md +510 -0
  2. package/NOTICE +2 -0
  3. package/README.md +83 -15
  4. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +38 -0
  5. package/components/{combobox/dist/formkit/auro-dropdownVersion.d.ts → bibtemplate/dist/headerVersion.d.ts} +0 -1
  6. package/components/bibtemplate/dist/iconVersion.d.ts +2 -0
  7. package/components/bibtemplate/dist/index.d.ts +2 -0
  8. package/components/bibtemplate/dist/index.js +790 -0
  9. package/components/bibtemplate/dist/registered.js +790 -0
  10. package/components/{input/dist/styles/helpText-css.d.ts → bibtemplate/dist/styles/color-css.d.ts} +0 -1
  11. package/components/bibtemplate/dist/styles/style-css.d.ts +2 -0
  12. package/components/bibtemplate/dist/styles/tokens-css.d.ts +2 -0
  13. package/components/checkbox/README.md +27 -35
  14. package/components/checkbox/demo/api.md +67 -68
  15. package/components/checkbox/demo/api.min.js +498 -102
  16. package/components/checkbox/demo/index.html +49 -0
  17. package/components/checkbox/demo/index.md +62 -62
  18. package/components/checkbox/demo/index.min.js +498 -102
  19. package/components/checkbox/dist/auro-checkbox-group.d.ts +45 -18
  20. package/components/checkbox/dist/auro-checkbox.d.ts +19 -7
  21. package/components/checkbox/dist/helptextVersion.d.ts +2 -0
  22. package/components/checkbox/dist/index.d.ts +0 -1
  23. package/components/checkbox/dist/index.js +498 -105
  24. package/components/checkbox/dist/registered.js +1279 -0
  25. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +0 -1
  26. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +0 -1
  27. package/components/checkbox/dist/styles/color-css.d.ts +0 -1
  28. package/components/checkbox/dist/styles/colorGroup-css.d.ts +0 -1
  29. package/components/checkbox/dist/styles/tokens-css.d.ts +0 -1
  30. package/components/combobox/README.md +25 -28
  31. package/components/combobox/demo/api.js +1 -1
  32. package/components/combobox/demo/api.md +116 -32
  33. package/components/combobox/demo/api.min.js +8211 -3863
  34. package/components/combobox/demo/index.html +57 -0
  35. package/components/combobox/demo/index.js +1 -1
  36. package/components/combobox/demo/index.md +19 -3
  37. package/components/combobox/demo/index.min.js +8208 -3860
  38. package/components/combobox/dist/auro-combobox.d.ts +123 -76
  39. package/components/combobox/dist/bibtemplateVersion.d.ts +2 -0
  40. package/components/{select/dist/formkit/auro-dropdownVersion.d.ts → combobox/dist/dropdownVersion.d.ts} +0 -1
  41. package/components/combobox/dist/index.d.ts +0 -1
  42. package/components/combobox/dist/index.js +7848 -3816
  43. package/components/combobox/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
  44. package/components/combobox/dist/registered.js +12269 -0
  45. package/components/combobox/dist/styles/style-css.d.ts +0 -1
  46. package/components/counter/README.md +188 -0
  47. package/components/counter/demo/api.js +3 -2
  48. package/components/counter/demo/api.md +185 -1018
  49. package/components/counter/demo/api.min.js +6190 -40
  50. package/components/counter/demo/index.html +53 -0
  51. package/components/counter/demo/index.js +2 -1
  52. package/components/counter/demo/index.md +298 -0
  53. package/components/counter/demo/index.min.js +6187 -19
  54. package/components/counter/dist/auro-counter-button.d.ts +12 -0
  55. package/components/counter/dist/auro-counter-group.d.ts +168 -5
  56. package/components/counter/dist/auro-counter-wrapper.d.ts +22 -0
  57. package/components/counter/dist/auro-counter.d.ts +91 -1
  58. package/components/counter/dist/bibtemplateVersion.d.ts +2 -0
  59. package/components/{datepicker/dist/formkit/auro-dropdownVersion.d.ts → counter/dist/dropdownVersion.d.ts} +0 -1
  60. package/components/counter/dist/iconVersion.d.ts +2 -0
  61. package/components/counter/dist/index.d.ts +0 -1
  62. package/components/counter/dist/index.js +6158 -38
  63. package/components/counter/dist/registered.js +6231 -0
  64. package/components/counter/dist/styles/color-css.d.ts +2 -0
  65. package/components/counter/dist/styles/counter-button-color-css.d.ts +2 -0
  66. package/components/counter/dist/styles/counter-button-css.d.ts +2 -0
  67. package/components/counter/dist/styles/counter-button-tokens-css.d.ts +2 -0
  68. package/components/counter/dist/styles/counter-group-css.d.ts +0 -1
  69. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +2 -0
  70. package/components/counter/dist/styles/counter-wrapper-css.d.ts +2 -0
  71. package/components/counter/dist/styles/style-css.d.ts +0 -1
  72. package/components/counter/dist/styles/tokens-css.d.ts +2 -0
  73. package/components/datepicker/README.md +25 -28
  74. package/components/datepicker/demo/api.js +3 -3
  75. package/components/datepicker/demo/api.md +219 -105
  76. package/components/datepicker/demo/api.min.js +6367 -2448
  77. package/components/datepicker/demo/index.html +57 -0
  78. package/components/datepicker/demo/index.md +7 -1
  79. package/components/datepicker/demo/index.min.js +6355 -2435
  80. package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -1
  81. package/components/datepicker/dist/auro-calendar-month.d.ts +15 -1
  82. package/components/datepicker/dist/auro-calendar.d.ts +25 -2
  83. package/components/datepicker/dist/auro-datepicker.d.ts +41 -12
  84. package/components/datepicker/dist/bibtemplateVersion.d.ts +2 -0
  85. package/components/datepicker/dist/dropdownVersion.d.ts +2 -1
  86. package/components/datepicker/dist/index.d.ts +0 -1
  87. package/components/datepicker/dist/index.js +6353 -2435
  88. package/components/datepicker/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
  89. package/components/datepicker/dist/popoverVersion.d.ts +0 -1
  90. package/components/datepicker/dist/registered.js +22466 -0
  91. package/components/datepicker/dist/styles/color-calendar-css.d.ts +0 -1
  92. package/components/datepicker/dist/styles/color-cell-css.d.ts +0 -1
  93. package/components/datepicker/dist/styles/color-css.d.ts +0 -1
  94. package/components/datepicker/dist/styles/color-month-css.d.ts +0 -1
  95. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +0 -1
  96. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +0 -1
  97. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +0 -1
  98. package/components/datepicker/dist/styles/style-css.d.ts +0 -1
  99. package/components/datepicker/dist/styles/tokens-css.d.ts +0 -1
  100. package/components/datepicker/dist/utilities.d.ts +25 -1
  101. package/components/datepicker/dist/utilitiesCalendar.d.ts +2 -2
  102. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -3
  103. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +0 -1
  104. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -1
  105. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +0 -1
  106. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +0 -1
  107. package/components/dropdown/README.md +19 -27
  108. package/components/dropdown/demo/api.js +1 -1
  109. package/components/dropdown/demo/api.md +43 -29
  110. package/components/dropdown/demo/api.min.js +525 -124
  111. package/components/dropdown/demo/index.html +53 -0
  112. package/components/dropdown/demo/index.js +0 -3
  113. package/components/dropdown/demo/index.min.js +525 -127
  114. package/components/dropdown/dist/auro-dropdown.d.ts +38 -7
  115. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -2
  116. package/components/dropdown/dist/dropdownVersion.d.ts +2 -0
  117. package/components/dropdown/dist/helptextVersion.d.ts +2 -0
  118. package/components/dropdown/dist/iconVersion.d.ts +0 -1
  119. package/components/dropdown/dist/index.d.ts +0 -1
  120. package/components/dropdown/dist/index.js +525 -126
  121. package/components/dropdown/dist/registered.js +3365 -0
  122. package/components/dropdown/dist/styles/bibColors-css.d.ts +0 -1
  123. package/components/dropdown/dist/styles/bibStyles-css.d.ts +0 -1
  124. package/components/dropdown/dist/styles/color-css.d.ts +0 -1
  125. package/components/dropdown/dist/styles/style-css.d.ts +0 -1
  126. package/components/dropdown/dist/styles/tokens-css.d.ts +0 -1
  127. package/components/form/README.md +29 -35
  128. package/components/form/demo/api.js +1 -1
  129. package/components/form/demo/api.min.js +497 -25
  130. package/components/form/demo/index.html +48 -0
  131. package/components/form/demo/index.min.js +497 -25
  132. package/components/form/demo/registerDemoDeps.js +22 -0
  133. package/components/form/demo/working.html +117 -0
  134. package/components/form/dist/auro-form.d.ts +194 -3
  135. package/components/form/dist/index.d.ts +0 -1
  136. package/components/form/dist/index.js +497 -27
  137. package/components/form/dist/registered.d.ts +1 -0
  138. package/components/form/dist/registered.js +632 -0
  139. package/components/form/dist/styles/style-css.d.ts +0 -1
  140. package/components/helptext/dist/auro-helptext.d.ts +53 -0
  141. package/components/helptext/dist/index.d.ts +2 -0
  142. package/components/helptext/dist/index.js +224 -0
  143. package/components/helptext/dist/registered.js +224 -0
  144. package/components/helptext/dist/styles/color-css.d.ts +2 -0
  145. package/components/helptext/dist/styles/style-css.d.ts +2 -0
  146. package/components/helptext/dist/styles/tokens-css.d.ts +2 -0
  147. package/components/input/README.md +19 -29
  148. package/components/input/demo/api.md +152 -318
  149. package/components/input/demo/api.min.js +4214 -1780
  150. package/components/input/demo/index.html +41 -0
  151. package/components/input/demo/index.md +11 -61
  152. package/components/input/demo/index.min.js +4214 -1780
  153. package/components/input/dist/auro-input.d.ts +4 -2
  154. package/components/input/dist/base-input.d.ts +49 -16
  155. package/components/input/dist/buttonVersion.d.ts +0 -1
  156. package/components/input/dist/helptextVersion.d.ts +2 -0
  157. package/components/input/dist/i18n.d.ts +0 -1
  158. package/components/input/dist/iconVersion.d.ts +0 -1
  159. package/components/input/dist/index.d.ts +0 -1
  160. package/components/input/dist/index.js +4214 -1782
  161. package/components/input/dist/registered.js +6591 -0
  162. package/components/input/dist/styles/borders-css.d.ts +0 -1
  163. package/components/input/dist/styles/color-css.d.ts +0 -1
  164. package/components/input/dist/styles/input-css.d.ts +0 -1
  165. package/components/input/dist/styles/label-css.d.ts +0 -1
  166. package/components/input/dist/styles/mixins-css.d.ts +0 -1
  167. package/components/input/dist/styles/notificationIcons-css.d.ts +0 -1
  168. package/components/input/dist/styles/style-css.d.ts +0 -1
  169. package/components/input/dist/styles/tokens-css.d.ts +0 -1
  170. package/components/input/dist/utilities.d.ts +25 -0
  171. package/components/menu/README.md +19 -27
  172. package/components/menu/demo/api.js +1 -1
  173. package/components/menu/demo/api.md +57 -20
  174. package/components/menu/demo/api.min.js +628 -314
  175. package/components/menu/demo/index.html +50 -0
  176. package/components/menu/demo/index.min.js +626 -312
  177. package/components/menu/dist/auro-menu-utils.d.ts +42 -0
  178. package/components/menu/dist/auro-menu.d.ts +97 -82
  179. package/components/menu/dist/auro-menuoption.d.ts +0 -1
  180. package/components/menu/dist/dropdownVersion.d.ts +2 -0
  181. package/components/menu/dist/iconVersion.d.ts +0 -1
  182. package/components/menu/dist/index.d.ts +1 -1
  183. package/components/menu/dist/index.js +627 -316
  184. package/components/menu/dist/registered.js +1510 -0
  185. package/components/menu/dist/styles/color-menu-css.d.ts +0 -1
  186. package/components/menu/dist/styles/color-menuoption-css.d.ts +0 -1
  187. package/components/menu/dist/styles/style-menu-css.d.ts +0 -1
  188. package/components/menu/dist/styles/style-menuoption-css.d.ts +0 -1
  189. package/components/menu/dist/styles/tokens-css.d.ts +0 -1
  190. package/components/radio/README.md +19 -27
  191. package/components/radio/demo/api.md +9 -8
  192. package/components/radio/demo/api.min.js +429 -75
  193. package/components/radio/demo/index.html +48 -0
  194. package/components/radio/demo/index.min.js +429 -75
  195. package/components/radio/dist/auro-radio-group.d.ts +12 -3
  196. package/components/radio/dist/auro-radio.d.ts +0 -1
  197. package/components/radio/dist/helptextVersion.d.ts +2 -0
  198. package/components/radio/dist/index.d.ts +0 -1
  199. package/components/radio/dist/index.js +429 -78
  200. package/components/radio/dist/registered.js +1396 -0
  201. package/components/radio/dist/styles/auro-radio-group-css.d.ts +0 -1
  202. package/components/radio/dist/styles/color-css.d.ts +0 -1
  203. package/components/radio/dist/styles/groupColor-css.d.ts +0 -1
  204. package/components/radio/dist/styles/style-css.d.ts +0 -1
  205. package/components/radio/dist/styles/tokens-css.d.ts +0 -1
  206. package/components/select/README.md +22 -43
  207. package/components/select/demo/api.js +1 -1
  208. package/components/select/demo/api.md +52 -15
  209. package/components/select/demo/api.min.js +1564 -613
  210. package/components/select/demo/index.html +49 -0
  211. package/components/select/demo/index.js +1 -1
  212. package/components/select/demo/index.md +1 -16
  213. package/components/select/demo/index.min.js +1563 -612
  214. package/components/select/dist/auro-select.d.ts +23 -7
  215. package/components/select/dist/dropdownVersion.d.ts +2 -0
  216. package/components/select/dist/index.d.ts +0 -1
  217. package/components/select/dist/index.js +848 -213
  218. package/components/select/dist/registered.js +4562 -0
  219. package/components/select/dist/styles/color-css.d.ts +0 -1
  220. package/components/select/dist/styles/style-css.d.ts +0 -1
  221. package/components/select/dist/styles/tokens-css.d.ts +0 -1
  222. package/package.json +138 -66
  223. package/packages/build-tools/src/postinstall.mjs +8 -0
  224. package/.husky/commit-msg +0 -4
  225. package/.husky/pre-commit +0 -3
  226. package/.turbo/cache/013a48308b893dac-meta.json +0 -1
  227. package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
  228. package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
  229. package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
  230. package/.turbo/cache/051ff97a20add0e2-meta.json +0 -1
  231. package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
  232. package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
  233. package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
  234. package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
  235. package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
  236. package/.turbo/cache/0ea853339c064fa1-meta.json +0 -1
  237. package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
  238. package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
  239. package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
  240. package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
  241. package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
  242. package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
  243. package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
  244. package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
  245. package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
  246. package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
  247. package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
  248. package/.turbo/cache/1df4710eef8ed00d-meta.json +0 -1
  249. package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
  250. package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
  251. package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
  252. package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
  253. package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
  254. package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
  255. package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
  256. package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
  257. package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
  258. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
  259. package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
  260. package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
  261. package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
  262. package/.turbo/cache/3e12285c614db539-meta.json +0 -1
  263. package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
  264. package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
  265. package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
  266. package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
  267. package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
  268. package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
  269. package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
  270. package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
  271. package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
  272. package/.turbo/cache/68e5c7af799e011d-meta.json +0 -1
  273. package/.turbo/cache/68e5c7af799e011d.tar.zst +0 -0
  274. package/.turbo/cache/691a74627ec57993-meta.json +0 -1
  275. package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
  276. package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
  277. package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
  278. package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
  279. package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
  280. package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
  281. package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
  282. package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
  283. package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
  284. package/.turbo/cache/786a822763403879-meta.json +0 -1
  285. package/.turbo/cache/786a822763403879.tar.zst +0 -0
  286. package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
  287. package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
  288. package/.turbo/cache/7ffd501e81790676-meta.json +0 -1
  289. package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
  290. package/.turbo/cache/80a13352066a9801-meta.json +0 -1
  291. package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
  292. package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
  293. package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
  294. package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
  295. package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
  296. package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
  297. package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
  298. package/.turbo/cache/8e9ebc3df0e18de0-meta.json +0 -1
  299. package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
  300. package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
  301. package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
  302. package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
  303. package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
  304. package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
  305. package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
  306. package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
  307. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  308. package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
  309. package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
  310. package/.turbo/cache/b4c851d4bebf3b47-meta.json +0 -1
  311. package/.turbo/cache/b4c851d4bebf3b47.tar.zst +0 -0
  312. package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
  313. package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
  314. package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
  315. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  316. package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
  317. package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
  318. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
  319. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  320. package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
  321. package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
  322. package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
  323. package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
  324. package/.turbo/cache/d61543843c932504-meta.json +0 -1
  325. package/.turbo/cache/d61543843c932504.tar.zst +0 -0
  326. package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
  327. package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
  328. package/.turbo/cache/db361cb6578dca84-meta.json +0 -1
  329. package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
  330. package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
  331. package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
  332. package/.turbo/cache/dfe1f17e7fce890d-meta.json +0 -1
  333. package/.turbo/cache/dfe1f17e7fce890d.tar.zst +0 -0
  334. package/.turbo/cache/e3a224a17cf55bdb-meta.json +0 -1
  335. package/.turbo/cache/e3a224a17cf55bdb.tar.zst +0 -0
  336. package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
  337. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  338. package/.turbo/cache/f3ff9040a2196834-meta.json +0 -1
  339. package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
  340. package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
  341. package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
  342. package/components/checkbox/.stylelintrc.json +0 -3
  343. package/components/checkbox/.turbo/turbo-build$colon$sass.log +0 -98
  344. package/components/checkbox/.turbo/turbo-build.log +0 -185
  345. package/components/checkbox/.turbo/turbo-bundler.log +0 -13
  346. package/components/checkbox/.turbo/turbo-postCss$colon$component.log +0 -5
  347. package/components/checkbox/.turbo/turbo-sass$colon$render.log +0 -34
  348. package/components/checkbox/.turbo/turbo-types.log +0 -4
  349. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +0 -1
  350. package/components/checkbox/dist/auro-checkbox.d.ts.map +0 -1
  351. package/components/checkbox/dist/index.d.ts.map +0 -1
  352. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts.map +0 -1
  353. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts.map +0 -1
  354. package/components/checkbox/dist/styles/color-css.d.ts.map +0 -1
  355. package/components/checkbox/dist/styles/colorGroup-css.d.ts.map +0 -1
  356. package/components/checkbox/dist/styles/tokens-css.d.ts.map +0 -1
  357. package/components/checkbox/node_modules/chalk/package.json +0 -83
  358. package/components/checkbox/node_modules/chalk/readme.md +0 -325
  359. package/components/checkbox/node_modules/chalk/source/index.d.ts +0 -320
  360. package/components/checkbox/node_modules/chalk/source/index.js +0 -225
  361. package/components/checkbox/node_modules/chalk/source/utilities.js +0 -33
  362. package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  363. package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  364. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  365. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  366. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  367. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  368. package/components/checkbox/package.json +0 -68
  369. package/components/checkbox/src/auro-checkbox-group.js +0 -331
  370. package/components/checkbox/src/auro-checkbox.js +0 -193
  371. package/components/checkbox/src/index.js +0 -8
  372. package/components/checkbox/src/styles/auro-checkbox-css.js +0 -2
  373. package/components/checkbox/src/styles/auro-checkbox-group-css.js +0 -2
  374. package/components/checkbox/src/styles/auro-checkbox-group.css +0 -26
  375. package/components/checkbox/src/styles/auro-checkbox-group.scss +0 -38
  376. package/components/checkbox/src/styles/auro-checkbox.css +0 -123
  377. package/components/checkbox/src/styles/auro-checkbox.scss +0 -100
  378. package/components/checkbox/src/styles/color-css.js +0 -2
  379. package/components/checkbox/src/styles/color.css +0 -84
  380. package/components/checkbox/src/styles/color.scss +0 -118
  381. package/components/checkbox/src/styles/colorGroup-css.js +0 -2
  382. package/components/checkbox/src/styles/colorGroup.css +0 -16
  383. package/components/checkbox/src/styles/colorGroup.scss +0 -24
  384. package/components/checkbox/src/styles/tokens-css.js +0 -2
  385. package/components/checkbox/src/styles/tokens.css +0 -9
  386. package/components/checkbox/src/styles/tokens.scss +0 -11
  387. package/components/combobox/.stylelintrc.json +0 -3
  388. package/components/combobox/.turbo/turbo-build$colon$sass.log +0 -46
  389. package/components/combobox/.turbo/turbo-build.log +0 -163
  390. package/components/combobox/.turbo/turbo-postCss$colon$component.log +0 -5
  391. package/components/combobox/.turbo/turbo-sass$colon$render.log +0 -10
  392. package/components/combobox/dist/auro-combobox.d.ts.map +0 -1
  393. package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  394. package/components/combobox/dist/formkit/auro-inputVersion.d.ts.map +0 -1
  395. package/components/combobox/dist/index.d.ts.map +0 -1
  396. package/components/combobox/dist/styles/style-css.d.ts.map +0 -1
  397. package/components/combobox/node_modules/chalk/package.json +0 -83
  398. package/components/combobox/node_modules/chalk/readme.md +0 -325
  399. package/components/combobox/node_modules/chalk/source/index.d.ts +0 -320
  400. package/components/combobox/node_modules/chalk/source/index.js +0 -225
  401. package/components/combobox/node_modules/chalk/source/utilities.js +0 -33
  402. package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  403. package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  404. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  405. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  406. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  407. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  408. package/components/combobox/package.json +0 -67
  409. package/components/combobox/src/auro-combobox.js +0 -724
  410. package/components/combobox/src/formkit/auro-dropdownVersion.js +0 -1
  411. package/components/combobox/src/formkit/auro-inputVersion.js +0 -1
  412. package/components/combobox/src/index.js +0 -6
  413. package/components/combobox/src/styles/style-css.js +0 -2
  414. package/components/combobox/src/styles/style.css +0 -60
  415. package/components/combobox/src/styles/style.scss +0 -46
  416. package/components/counter/.stylelintrc.json +0 -3
  417. package/components/counter/.turbo/turbo-build$colon$sass.log +0 -66
  418. package/components/counter/.turbo/turbo-build.log +0 -87
  419. package/components/counter/.turbo/turbo-bundler.log +0 -13
  420. package/components/counter/.turbo/turbo-postCss$colon$component.log +0 -5
  421. package/components/counter/.turbo/turbo-sass$colon$render.log +0 -16
  422. package/components/counter/.turbo/turbo-types.log +0 -4
  423. package/components/counter/dist/auro-counter-group.d.ts.map +0 -1
  424. package/components/counter/dist/auro-counter.d.ts.map +0 -1
  425. package/components/counter/dist/index.d.ts.map +0 -1
  426. package/components/counter/dist/styles/counter-group-css.d.ts.map +0 -1
  427. package/components/counter/dist/styles/style-css.d.ts.map +0 -1
  428. package/components/counter/node_modules/chalk/package.json +0 -83
  429. package/components/counter/node_modules/chalk/readme.md +0 -325
  430. package/components/counter/node_modules/chalk/source/index.d.ts +0 -320
  431. package/components/counter/node_modules/chalk/source/index.js +0 -225
  432. package/components/counter/node_modules/chalk/source/utilities.js +0 -33
  433. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  434. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  435. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  436. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  437. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  438. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  439. package/components/counter/package.json +0 -50
  440. package/components/counter/src/auro-counter-group.js +0 -48
  441. package/components/counter/src/auro-counter.js +0 -29
  442. package/components/counter/src/index.js +0 -8
  443. package/components/counter/src/styles/counter-group-css.js +0 -2
  444. package/components/counter/src/styles/counter-group.css +0 -4
  445. package/components/counter/src/styles/counter-group.scss +0 -17
  446. package/components/counter/src/styles/style-css.js +0 -2
  447. package/components/counter/src/styles/style.css +0 -4
  448. package/components/counter/src/styles/style.scss +0 -17
  449. package/components/datepicker/.stylelintrc.json +0 -3
  450. package/components/datepicker/.turbo/turbo-build$colon$sass.log +0 -352
  451. package/components/datepicker/.turbo/turbo-build.log +0 -493
  452. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +0 -5
  453. package/components/datepicker/.turbo/turbo-sass$colon$render.log +0 -58
  454. package/components/datepicker/dist/auro-calendar-cell.d.ts.map +0 -1
  455. package/components/datepicker/dist/auro-calendar-month.d.ts.map +0 -1
  456. package/components/datepicker/dist/auro-calendar.d.ts.map +0 -1
  457. package/components/datepicker/dist/auro-datepicker.d.ts.map +0 -1
  458. package/components/datepicker/dist/dropdownVersion.d.ts.map +0 -1
  459. package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  460. package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +0 -1
  461. package/components/datepicker/dist/index.d.ts.map +0 -1
  462. package/components/datepicker/dist/popoverVersion.d.ts.map +0 -1
  463. package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +0 -1
  464. package/components/datepicker/dist/styles/color-cell-css.d.ts.map +0 -1
  465. package/components/datepicker/dist/styles/color-css.d.ts.map +0 -1
  466. package/components/datepicker/dist/styles/color-month-css.d.ts.map +0 -1
  467. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +0 -1
  468. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +0 -1
  469. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +0 -1
  470. package/components/datepicker/dist/styles/style-css.d.ts.map +0 -1
  471. package/components/datepicker/dist/styles/tokens-css.d.ts.map +0 -1
  472. package/components/datepicker/dist/utilities.d.ts.map +0 -1
  473. package/components/datepicker/dist/utilitiesCalendar.d.ts.map +0 -1
  474. package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +0 -1
  475. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +0 -1
  476. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +0 -1
  477. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +0 -1
  478. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +0 -1
  479. package/components/datepicker/node_modules/chalk/package.json +0 -83
  480. package/components/datepicker/node_modules/chalk/readme.md +0 -325
  481. package/components/datepicker/node_modules/chalk/source/index.d.ts +0 -320
  482. package/components/datepicker/node_modules/chalk/source/index.js +0 -225
  483. package/components/datepicker/node_modules/chalk/source/utilities.js +0 -33
  484. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  485. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  486. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  487. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  488. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  489. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  490. package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  491. package/components/datepicker/node_modules/rollup-plugin-serve/README.md +0 -137
  492. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  493. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  494. package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +0 -75
  495. package/components/datepicker/node_modules/rollup-plugin-serve/package.json +0 -51
  496. package/components/datepicker/package.json +0 -79
  497. package/components/datepicker/src/auro-calendar-cell.js +0 -381
  498. package/components/datepicker/src/auro-calendar-month.js +0 -128
  499. package/components/datepicker/src/auro-calendar.js +0 -329
  500. package/components/datepicker/src/auro-datepicker.js +0 -1002
  501. package/components/datepicker/src/dropdownVersion.js +0 -0
  502. package/components/datepicker/src/formkit/auro-dropdownVersion.js +0 -1
  503. package/components/datepicker/src/formkit/auro-inputVersion.js +0 -1
  504. package/components/datepicker/src/index.js +0 -6
  505. package/components/datepicker/src/popoverVersion.js +0 -1
  506. package/components/datepicker/src/styles/color-calendar-css.js +0 -2
  507. package/components/datepicker/src/styles/color-calendar.css +0 -35
  508. package/components/datepicker/src/styles/color-calendar.scss +0 -51
  509. package/components/datepicker/src/styles/color-cell-css.js +0 -2
  510. package/components/datepicker/src/styles/color-cell.css +0 -45
  511. package/components/datepicker/src/styles/color-cell.scss +0 -73
  512. package/components/datepicker/src/styles/color-css.js +0 -2
  513. package/components/datepicker/src/styles/color-month-css.js +0 -2
  514. package/components/datepicker/src/styles/color-month.css +0 -34
  515. package/components/datepicker/src/styles/color-month.scss +0 -27
  516. package/components/datepicker/src/styles/color.css +0 -43
  517. package/components/datepicker/src/styles/color.scss +0 -30
  518. package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +0 -2
  519. package/components/datepicker/src/styles/style-auro-calendar-cell.css +0 -123
  520. package/components/datepicker/src/styles/style-auro-calendar-cell.scss +0 -147
  521. package/components/datepicker/src/styles/style-auro-calendar-css.js +0 -2
  522. package/components/datepicker/src/styles/style-auro-calendar-month-css.js +0 -2
  523. package/components/datepicker/src/styles/style-auro-calendar-month.css +0 -121
  524. package/components/datepicker/src/styles/style-auro-calendar-month.scss +0 -141
  525. package/components/datepicker/src/styles/style-auro-calendar.css +0 -152
  526. package/components/datepicker/src/styles/style-auro-calendar.scss +0 -191
  527. package/components/datepicker/src/styles/style-css.js +0 -2
  528. package/components/datepicker/src/styles/style.css +0 -111
  529. package/components/datepicker/src/styles/style.scss +0 -107
  530. package/components/datepicker/src/styles/tokens-css.js +0 -2
  531. package/components/datepicker/src/styles/tokens.css +0 -22
  532. package/components/datepicker/src/styles/tokens.scss +0 -25
  533. package/components/datepicker/src/utilities.js +0 -87
  534. package/components/datepicker/src/utilitiesCalendar.js +0 -138
  535. package/components/datepicker/src/utilitiesCalendarRender.js +0 -156
  536. package/components/datepicker/src/vendor/wc-range-datepicker/day.js +0 -8
  537. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +0 -521
  538. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +0 -211
  539. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +0 -254
  540. package/components/dropdown/.stylelintrc.json +0 -3
  541. package/components/dropdown/.turbo/turbo-build$colon$sass.log +0 -75
  542. package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
  543. package/components/dropdown/.turbo/turbo-build.log +0 -206
  544. package/components/dropdown/.turbo/turbo-bundler.log +0 -13
  545. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +0 -5
  546. package/components/dropdown/.turbo/turbo-sass$colon$render.log +0 -34
  547. package/components/dropdown/.turbo/turbo-types.log +0 -4
  548. package/components/dropdown/dist/auro-dropdown.d.ts.map +0 -1
  549. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +0 -1
  550. package/components/dropdown/dist/iconVersion.d.ts.map +0 -1
  551. package/components/dropdown/dist/index.d.ts.map +0 -1
  552. package/components/dropdown/dist/styles/bibColors-css.d.ts.map +0 -1
  553. package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +0 -1
  554. package/components/dropdown/dist/styles/color-css.d.ts.map +0 -1
  555. package/components/dropdown/dist/styles/style-css.d.ts.map +0 -1
  556. package/components/dropdown/dist/styles/tokens-css.d.ts.map +0 -1
  557. package/components/dropdown/node_modules/chalk/package.json +0 -83
  558. package/components/dropdown/node_modules/chalk/readme.md +0 -325
  559. package/components/dropdown/node_modules/chalk/source/index.d.ts +0 -320
  560. package/components/dropdown/node_modules/chalk/source/index.js +0 -225
  561. package/components/dropdown/node_modules/chalk/source/utilities.js +0 -33
  562. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  563. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  564. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  565. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  566. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  567. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  568. package/components/dropdown/package.json +0 -57
  569. package/components/dropdown/src/auro-dropdown.js +0 -474
  570. package/components/dropdown/src/auro-dropdownBib.js +0 -106
  571. package/components/dropdown/src/iconVersion.js +0 -1
  572. package/components/dropdown/src/index.js +0 -6
  573. package/components/dropdown/src/styles/bibColors-css.js +0 -2
  574. package/components/dropdown/src/styles/bibColors.css +0 -6
  575. package/components/dropdown/src/styles/bibColors.scss +0 -18
  576. package/components/dropdown/src/styles/bibStyles-css.js +0 -2
  577. package/components/dropdown/src/styles/bibStyles.css +0 -43
  578. package/components/dropdown/src/styles/bibStyles.scss +0 -60
  579. package/components/dropdown/src/styles/color-css.js +0 -2
  580. package/components/dropdown/src/styles/color.css +0 -59
  581. package/components/dropdown/src/styles/color.scss +0 -79
  582. package/components/dropdown/src/styles/style-css.js +0 -2
  583. package/components/dropdown/src/styles/style.css +0 -92
  584. package/components/dropdown/src/styles/style.scss +0 -122
  585. package/components/dropdown/src/styles/tokens-css.js +0 -2
  586. package/components/dropdown/src/styles/tokens.css +0 -13
  587. package/components/dropdown/src/styles/tokens.scss +0 -15
  588. package/components/form/.stylelintrc.json +0 -3
  589. package/components/form/.turbo/turbo-build$colon$sass.log +0 -57
  590. package/components/form/.turbo/turbo-build$colon$version.log +0 -4
  591. package/components/form/.turbo/turbo-build.log +0 -113
  592. package/components/form/.turbo/turbo-bundler.log +0 -13
  593. package/components/form/.turbo/turbo-postCss$colon$component.log +0 -5
  594. package/components/form/.turbo/turbo-sass$colon$render.log +0 -10
  595. package/components/form/.turbo/turbo-types.log +0 -4
  596. package/components/form/dist/auro-form.d.ts.map +0 -1
  597. package/components/form/dist/index.d.ts.map +0 -1
  598. package/components/form/dist/styles/style-css.d.ts.map +0 -1
  599. package/components/form/node_modules/chalk/package.json +0 -83
  600. package/components/form/node_modules/chalk/readme.md +0 -325
  601. package/components/form/node_modules/chalk/source/index.d.ts +0 -320
  602. package/components/form/node_modules/chalk/source/index.js +0 -225
  603. package/components/form/node_modules/chalk/source/utilities.js +0 -33
  604. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  605. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  606. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  607. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  608. package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  609. package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  610. package/components/form/package.json +0 -72
  611. package/components/form/src/auro-form.js +0 -74
  612. package/components/form/src/index.js +0 -6
  613. package/components/form/src/styles/style-css.js +0 -2
  614. package/components/form/src/styles/style.css +0 -36
  615. package/components/form/src/styles/style.scss +0 -37
  616. package/components/input/.stylelintrc.json +0 -3
  617. package/components/input/.turbo/turbo-build$colon$sass.log +0 -198
  618. package/components/input/.turbo/turbo-build$colon$version.log +0 -10
  619. package/components/input/.turbo/turbo-build.log +0 -353
  620. package/components/input/.turbo/turbo-bundler.log +0 -13
  621. package/components/input/.turbo/turbo-postCss$colon$component.log +0 -5
  622. package/components/input/.turbo/turbo-sass$colon$render.log +0 -58
  623. package/components/input/.turbo/turbo-types.log +0 -4
  624. package/components/input/dist/auro-input.d.ts.map +0 -1
  625. package/components/input/dist/base-input.d.ts.map +0 -1
  626. package/components/input/dist/buttonVersion.d.ts.map +0 -1
  627. package/components/input/dist/i18n.d.ts.map +0 -1
  628. package/components/input/dist/iconVersion.d.ts.map +0 -1
  629. package/components/input/dist/index.d.ts.map +0 -1
  630. package/components/input/dist/styles/borders-css.d.ts.map +0 -1
  631. package/components/input/dist/styles/color-css.d.ts.map +0 -1
  632. package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
  633. package/components/input/dist/styles/input-css.d.ts.map +0 -1
  634. package/components/input/dist/styles/label-css.d.ts.map +0 -1
  635. package/components/input/dist/styles/mixins-css.d.ts.map +0 -1
  636. package/components/input/dist/styles/notificationIcons-css.d.ts.map +0 -1
  637. package/components/input/dist/styles/style-css.d.ts.map +0 -1
  638. package/components/input/dist/styles/tokens-css.d.ts.map +0 -1
  639. package/components/input/node_modules/chalk/package.json +0 -83
  640. package/components/input/node_modules/chalk/readme.md +0 -325
  641. package/components/input/node_modules/chalk/source/index.d.ts +0 -320
  642. package/components/input/node_modules/chalk/source/index.js +0 -225
  643. package/components/input/node_modules/chalk/source/utilities.js +0 -33
  644. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  645. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  646. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  647. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  648. package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  649. package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  650. package/components/input/package.json +0 -75
  651. package/components/input/src/auro-input.js +0 -241
  652. package/components/input/src/base-input.js +0 -1103
  653. package/components/input/src/buttonVersion.js +0 -1
  654. package/components/input/src/i18n.js +0 -102
  655. package/components/input/src/iconVersion.js +0 -1
  656. package/components/input/src/index.js +0 -6
  657. package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
  658. package/components/input/src/styles/borders-css.js +0 -2
  659. package/components/input/src/styles/borders.css +0 -35
  660. package/components/input/src/styles/borders.scss +0 -49
  661. package/components/input/src/styles/color-css.js +0 -2
  662. package/components/input/src/styles/color.css +0 -62
  663. package/components/input/src/styles/color.scss +0 -89
  664. package/components/input/src/styles/helpText-css.js +0 -2
  665. package/components/input/src/styles/helpText.css +0 -6
  666. package/components/input/src/styles/helpText.scss +0 -9
  667. package/components/input/src/styles/input-css.js +0 -2
  668. package/components/input/src/styles/input.css +0 -35
  669. package/components/input/src/styles/input.scss +0 -53
  670. package/components/input/src/styles/label-css.js +0 -2
  671. package/components/input/src/styles/label.css +0 -45
  672. package/components/input/src/styles/label.scss +0 -71
  673. package/components/input/src/styles/mixins-css.js +0 -2
  674. package/components/input/src/styles/mixins.css +0 -1
  675. package/components/input/src/styles/mixins.scss +0 -45
  676. package/components/input/src/styles/notificationIcons-css.js +0 -2
  677. package/components/input/src/styles/notificationIcons.css +0 -84
  678. package/components/input/src/styles/notificationIcons.scss +0 -109
  679. package/components/input/src/styles/style-css.js +0 -2
  680. package/components/input/src/styles/style.css +0 -290
  681. package/components/input/src/styles/style.scss +0 -53
  682. package/components/input/src/styles/tokens-css.js +0 -2
  683. package/components/input/src/styles/tokens.css +0 -9
  684. package/components/input/src/styles/tokens.scss +0 -11
  685. package/components/menu/.stylelintrc.json +0 -3
  686. package/components/menu/.turbo/turbo-build$colon$sass.log +0 -86
  687. package/components/menu/.turbo/turbo-build$colon$version.log +0 -7
  688. package/components/menu/.turbo/turbo-build.log +0 -184
  689. package/components/menu/.turbo/turbo-bundler.log +0 -13
  690. package/components/menu/.turbo/turbo-postCss$colon$component.log +0 -5
  691. package/components/menu/.turbo/turbo-sass$colon$render.log +0 -34
  692. package/components/menu/.turbo/turbo-types.log +0 -4
  693. package/components/menu/dist/auro-menu.d.ts.map +0 -1
  694. package/components/menu/dist/auro-menuoption.d.ts.map +0 -1
  695. package/components/menu/dist/iconVersion.d.ts.map +0 -1
  696. package/components/menu/dist/index.d.ts.map +0 -1
  697. package/components/menu/dist/styles/color-menu-css.d.ts.map +0 -1
  698. package/components/menu/dist/styles/color-menuoption-css.d.ts.map +0 -1
  699. package/components/menu/dist/styles/style-menu-css.d.ts.map +0 -1
  700. package/components/menu/dist/styles/style-menuoption-css.d.ts.map +0 -1
  701. package/components/menu/dist/styles/tokens-css.d.ts.map +0 -1
  702. package/components/menu/node_modules/chalk/package.json +0 -83
  703. package/components/menu/node_modules/chalk/readme.md +0 -325
  704. package/components/menu/node_modules/chalk/source/index.d.ts +0 -320
  705. package/components/menu/node_modules/chalk/source/index.js +0 -225
  706. package/components/menu/node_modules/chalk/source/utilities.js +0 -33
  707. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  708. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  709. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  710. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  711. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  712. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  713. package/components/menu/node_modules/mime/CHANGELOG.md +0 -296
  714. package/components/menu/node_modules/mime/Mime.js +0 -97
  715. package/components/menu/node_modules/mime/README.md +0 -187
  716. package/components/menu/node_modules/mime/cli.js +0 -46
  717. package/components/menu/node_modules/mime/index.js +0 -4
  718. package/components/menu/node_modules/mime/lite.js +0 -4
  719. package/components/menu/node_modules/mime/package.json +0 -52
  720. package/components/menu/node_modules/mime/types/other.js +0 -1
  721. package/components/menu/node_modules/mime/types/standard.js +0 -1
  722. package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  723. package/components/menu/node_modules/rollup-plugin-serve/README.md +0 -135
  724. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  725. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
  726. package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
  727. package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  728. package/components/menu/node_modules/rollup-plugin-serve/package.json +0 -44
  729. package/components/menu/package.json +0 -70
  730. package/components/menu/src/auro-menu.js +0 -539
  731. package/components/menu/src/auro-menuoption.js +0 -147
  732. package/components/menu/src/iconVersion.js +0 -1
  733. package/components/menu/src/index.js +0 -8
  734. package/components/menu/src/styles/color-menu-css.js +0 -2
  735. package/components/menu/src/styles/color-menu.css +0 -4
  736. package/components/menu/src/styles/color-menu.scss +0 -12
  737. package/components/menu/src/styles/color-menuoption-css.js +0 -2
  738. package/components/menu/src/styles/color-menuoption.css +0 -23
  739. package/components/menu/src/styles/color-menuoption.scss +0 -33
  740. package/components/menu/src/styles/style-menu-css.js +0 -2
  741. package/components/menu/src/styles/style-menu.css +0 -2061
  742. package/components/menu/src/styles/style-menu.scss +0 -80
  743. package/components/menu/src/styles/style-menuoption-css.js +0 -2
  744. package/components/menu/src/styles/style-menuoption.css +0 -45
  745. package/components/menu/src/styles/style-menuoption.scss +0 -66
  746. package/components/menu/src/styles/tokens-css.js +0 -2
  747. package/components/menu/src/styles/tokens.css +0 -6
  748. package/components/menu/src/styles/tokens.scss +0 -6
  749. package/components/radio/.stylelintrc.json +0 -3
  750. package/components/radio/.turbo/turbo-build$colon$sass.log +0 -130
  751. package/components/radio/.turbo/turbo-build.log +0 -216
  752. package/components/radio/.turbo/turbo-bundler.log +0 -13
  753. package/components/radio/.turbo/turbo-postCss$colon$component.log +0 -5
  754. package/components/radio/.turbo/turbo-sass$colon$render.log +0 -34
  755. package/components/radio/.turbo/turbo-types.log +0 -4
  756. package/components/radio/dist/auro-radio-group.d.ts.map +0 -1
  757. package/components/radio/dist/auro-radio.d.ts.map +0 -1
  758. package/components/radio/dist/index.d.ts.map +0 -1
  759. package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +0 -1
  760. package/components/radio/dist/styles/color-css.d.ts.map +0 -1
  761. package/components/radio/dist/styles/groupColor-css.d.ts.map +0 -1
  762. package/components/radio/dist/styles/style-css.d.ts.map +0 -1
  763. package/components/radio/dist/styles/tokens-css.d.ts.map +0 -1
  764. package/components/radio/node_modules/chalk/package.json +0 -83
  765. package/components/radio/node_modules/chalk/readme.md +0 -325
  766. package/components/radio/node_modules/chalk/source/index.d.ts +0 -320
  767. package/components/radio/node_modules/chalk/source/index.js +0 -225
  768. package/components/radio/node_modules/chalk/source/utilities.js +0 -33
  769. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  770. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  771. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  772. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  773. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  774. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  775. package/components/radio/package.json +0 -69
  776. package/components/radio/src/auro-radio-group.js +0 -433
  777. package/components/radio/src/auro-radio.js +0 -256
  778. package/components/radio/src/index.js +0 -8
  779. package/components/radio/src/styles/auro-radio-group-css.js +0 -2
  780. package/components/radio/src/styles/auro-radio-group.css +0 -23
  781. package/components/radio/src/styles/auro-radio-group.scss +0 -36
  782. package/components/radio/src/styles/color-css.js +0 -2
  783. package/components/radio/src/styles/color.css +0 -45
  784. package/components/radio/src/styles/color.scss +0 -56
  785. package/components/radio/src/styles/groupColor-css.js +0 -2
  786. package/components/radio/src/styles/groupColor.css +0 -21
  787. package/components/radio/src/styles/groupColor.scss +0 -33
  788. package/components/radio/src/styles/style-css.js +0 -2
  789. package/components/radio/src/styles/style.css +0 -113
  790. package/components/radio/src/styles/style.scss +0 -99
  791. package/components/radio/src/styles/tokens-css.js +0 -2
  792. package/components/radio/src/styles/tokens.css +0 -9
  793. package/components/radio/src/styles/tokens.scss +0 -12
  794. package/components/select/.stylelintrc.json +0 -3
  795. package/components/select/.turbo/turbo-build$colon$sass.log +0 -122
  796. package/components/select/.turbo/turbo-build.log +0 -241
  797. package/components/select/.turbo/turbo-postCss$colon$component.log +0 -5
  798. package/components/select/.turbo/turbo-sass$colon$render.log +0 -22
  799. package/components/select/dist/auro-select.d.ts.map +0 -1
  800. package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  801. package/components/select/dist/index.d.ts.map +0 -1
  802. package/components/select/dist/styles/color-css.d.ts.map +0 -1
  803. package/components/select/dist/styles/style-css.d.ts.map +0 -1
  804. package/components/select/dist/styles/tokens-css.d.ts.map +0 -1
  805. package/components/select/node_modules/chalk/package.json +0 -83
  806. package/components/select/node_modules/chalk/readme.md +0 -325
  807. package/components/select/node_modules/chalk/source/index.d.ts +0 -320
  808. package/components/select/node_modules/chalk/source/index.js +0 -225
  809. package/components/select/node_modules/chalk/source/utilities.js +0 -33
  810. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  811. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  812. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  813. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  814. package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  815. package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  816. package/components/select/node_modules/mime/CHANGELOG.md +0 -296
  817. package/components/select/node_modules/mime/Mime.js +0 -97
  818. package/components/select/node_modules/mime/README.md +0 -187
  819. package/components/select/node_modules/mime/cli.js +0 -46
  820. package/components/select/node_modules/mime/index.js +0 -4
  821. package/components/select/node_modules/mime/lite.js +0 -4
  822. package/components/select/node_modules/mime/package.json +0 -52
  823. package/components/select/node_modules/mime/types/other.js +0 -1
  824. package/components/select/node_modules/mime/types/standard.js +0 -1
  825. package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  826. package/components/select/node_modules/rollup-plugin-serve/README.md +0 -135
  827. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  828. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
  829. package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
  830. package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  831. package/components/select/node_modules/rollup-plugin-serve/package.json +0 -44
  832. package/components/select/package.json +0 -70
  833. package/components/select/packageScripts/postinstall.mjs +0 -28
  834. package/components/select/src/auro-select.js +0 -559
  835. package/components/select/src/formkit/auro-dropdownVersion.js +0 -1
  836. package/components/select/src/index.js +0 -6
  837. package/components/select/src/styles/color-css.js +0 -2
  838. package/components/select/src/styles/color.css +0 -63
  839. package/components/select/src/styles/color.scss +0 -33
  840. package/components/select/src/styles/style-css.js +0 -2
  841. package/components/select/src/styles/style.css +0 -104
  842. package/components/select/src/styles/style.scss +0 -76
  843. package/components/select/src/styles/tokens-css.js +0 -2
  844. package/components/select/src/styles/tokens.css +0 -3
  845. package/components/select/src/styles/tokens.scss +0 -5
  846. package/packages/build-tools/package.json +0 -15
  847. package/packages/build-tools/src/docProcessor.mjs +0 -104
  848. package/packages/build-tools/src/formVersionWriter.mjs +0 -75
  849. package/packages/build-tools/src/index.js +0 -1
  850. package/packages/build-tools/src/kitDocProcessor.mjs +0 -66
  851. package/packages/form-validation/package.json +0 -12
  852. package/packages/form-validation/src/index.js +0 -1
  853. package/packages/form-validation/src/validation.js +0 -259
  854. package/packages/typescript/base.json +0 -19
  855. package/packages/typescript/package.json +0 -20
  856. package/turbo.json +0 -100
@@ -26,11 +26,11 @@ function valueExample() {
26
26
  const valueExample = document.querySelector('#valueExample');
27
27
 
28
28
  document.querySelector('#validValueExampleBtn').addEventListener('click', () => {
29
- valueExample.value = 'arrival';
29
+ valueExample.value = ['arrival'];
30
30
  });
31
31
 
32
32
  document.querySelector('#invalidValueExampleBtn').addEventListener('click', () => {
33
- valueExample.value = 'flight course';
33
+ valueExample.value = ['flight course'];
34
34
  });
35
35
  }
36
36
 
@@ -107,46 +107,46 @@ function auroMenuLoadingExample() {
107
107
  * Copyright 2019 Google LLC
108
108
  * SPDX-License-Identifier: BSD-3-Clause
109
109
  */
110
- const t$5=globalThis,e$9=t$5.ShadowRoot&&(void 0===t$5.ShadyCSS||t$5.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$5=Symbol(),o$9=new WeakMap;let n$7 = class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$5)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$9&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$9.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$9.set(s,t));}return t}toString(){return this.cssText}};const r$7=t=>new n$7("string"==typeof t?t:t+"",void 0,s$5),i$b=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$7(o,t,s$5)},S$3=(s,o)=>{if(e$9)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$5.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$5=e$9?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$7(e)})(t):t;
110
+ const t$7=globalThis,e$c=t$7.ShadowRoot&&(void 0===t$7.ShadyCSS||t$7.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$7=Symbol(),o$c=new WeakMap;let n$a = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$7)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$c&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$c.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$c.set(s,t));}return t}toString(){return this.cssText}};const r$c=t=>new n$a("string"==typeof t?t:t+"",void 0,s$7),i$f=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$a(o,t,s$7)},S$6=(s,o)=>{if(e$c)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$7.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$9=e$c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$c(e)})(t):t;
111
111
 
112
112
  /**
113
113
  * @license
114
114
  * Copyright 2017 Google LLC
115
115
  * SPDX-License-Identifier: BSD-3-Clause
116
- */const{is:i$a,defineProperty:e$8,getOwnPropertyDescriptor:r$6,getOwnPropertyNames:h$3,getOwnPropertySymbols:o$8,getPrototypeOf:n$6}=Object,a$5=globalThis,c$4=a$5.trustedTypes,l$5=c$4?c$4.emptyScript:"",p$3=a$5.reactiveElementPolyfillSupport,d$3=(t,s)=>t,u$5={toAttribute(t,s){switch(s){case Boolean:t=t?l$5:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$3=(t,s)=>!i$a(t,s),y$3={attribute:!0,type:String,converter:u$5,reflect:!1,hasChanged:f$3};Symbol.metadata??=Symbol("metadata"),a$5.litPropertyMetadata??=new WeakMap;let b$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$3){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$8(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$6(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$3}static _$Ei(){if(this.hasOwnProperty(d$3("elementProperties")))return;const t=n$6(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$3("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$3("properties"))){const t=this.properties,s=[...h$3(t),...o$8(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$5(s));}else void 0!==s&&i.push(c$5(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$3(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$5).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$5;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$3)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$3("elementProperties")]=new Map,b$1[d$3("finalized")]=new Map,p$3?.({ReactiveElement:b$1}),(a$5.reactiveElementVersions??=[]).push("2.0.4");
116
+ */const{is:i$e,defineProperty:e$b,getOwnPropertyDescriptor:r$b,getOwnPropertyNames:h$6,getOwnPropertySymbols:o$b,getPrototypeOf:n$9}=Object,a$7=globalThis,c$8=a$7.trustedTypes,l$7=c$8?c$8.emptyScript:"",p$6=a$7.reactiveElementPolyfillSupport,d$6=(t,s)=>t,u$7={toAttribute(t,s){switch(s){case Boolean:t=t?l$7:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$6=(t,s)=>!i$e(t,s),y$5={attribute:true,type:String,converter:u$7,reflect:false,hasChanged:f$6};Symbol.metadata??=Symbol("metadata"),a$7.litPropertyMetadata??=new WeakMap;let b$3 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$5){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$b(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$b(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$5}static _$Ei(){if(this.hasOwnProperty(d$6("elementProperties")))return;const t=n$9(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$6("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$6("properties"))){const t=this.properties,s=[...h$6(t),...o$b(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$9(s));}else void 0!==s&&i.push(c$9(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$6(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$7).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$7;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$6)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$3.elementStyles=[],b$3.shadowRootOptions={mode:"open"},b$3[d$6("elementProperties")]=new Map,b$3[d$6("finalized")]=new Map,p$6?.({ReactiveElement:b$3}),(a$7.reactiveElementVersions??=[]).push("2.0.4");
117
117
 
118
118
  /**
119
119
  * @license
120
120
  * Copyright 2017 Google LLC
121
121
  * SPDX-License-Identifier: BSD-3-Clause
122
122
  */
123
- const t$4=globalThis,i$9=t$4.trustedTypes,s$4=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$7="$lit$",h$2=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7="?"+h$2,n$5=`<${o$7}>`,r$5=document,l$4=()=>r$5.createComment(""),c$3=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$4=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$2="[ \t\n\f\r]",f$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$2}(?:([^\\s"'>=/]+)(${d$2}*=${d$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$2=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$2(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$5.createTreeWalker(r$5,129);function P$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$4?s$4.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$2;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$2?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$2,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$2):c===g$1||c===p$2?c=m$1:c===v$1||c===_$1?c=f$2:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$2?s+n$5:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$2+x):s+h$2+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7)){const i=v[a++],s=r.getAttribute(t).split(h$2),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$2)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$2),s=t.length-1;if(s>0){r.textContent=i$9?i$9.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4());}}}else if(8===r.nodeType)if(r.data===o$7)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$2,t+1));)d.push({type:7,index:c}),t+=h$2.length-1;}c++;}}static createElement(t,i){const s=r$5.createElement("template");return s.innerHTML=t,s}};function S$2(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$3(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$2(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$5).importNode(i,!0);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$5,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$2(this,t,i),c$3(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$4(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$3(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$5.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return void 0===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$4(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$4()),this.O(l$4()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S$2(this,t,i,0),o=!c$3(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$2(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$3(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1 = class H extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$2(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$2(this,t);}};const j$1=t$4.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$4.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$4(),t),t,void 0,s??{});}return h._$AI(t),h};
123
+ const t$6=globalThis,i$d=t$6.trustedTypes,s$6=i$d?i$d.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$a="$lit$",h$5=`lit$${Math.random().toFixed(9).slice(2)}$`,o$a="?"+h$5,n$8=`<${o$a}>`,r$a=document,l$6=()=>r$a.createComment(""),c$7=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$6=Array.isArray,u$6=t=>a$6(t)||"function"==typeof t?.[Symbol.iterator],d$5="[ \t\n\f\r]",f$5=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$3=/>/g,m$3=RegExp(`>|${d$5}(?:([^\\s"'>=/]+)(${d$5}*=${d$5}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$5=/'/g,g$3=/"/g,$$3=/^(?:script|style|textarea|title)$/i,y$4=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$2=y$4(1),T$3=Symbol.for("lit-noChange"),E$3=Symbol.for("lit-nothing"),A$3=new WeakMap,C$3=r$a.createTreeWalker(r$a,129);function P$3(t,i){if(!a$6(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$6?s$6.createHTML(i):i}const V$3=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$5;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$5?"!--"===u[1]?c=v$3:void 0!==u[1]?c=_$3:void 0!==u[2]?($$3.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$3):void 0!==u[3]&&(c=m$3):c===m$3?">"===u[0]?(c=r??f$5,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$3:'"'===u[3]?g$3:p$5):c===g$3||c===p$5?c=m$3:c===v$3||c===_$3?c=f$5:(c=m$3,r=void 0);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$5?s+n$8:d>=0?(o.push(a),s.slice(0,d)+e$a+s.slice(d)+h$5+x):s+h$5+(-2===d?i:x);}return [P$3(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$3 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$3(t,s);if(this.el=N.createElement(f,n),C$3.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$3.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$a)){const i=v[a++],s=r.getAttribute(t).split(h$5),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$3:"?"===e[1]?I$3:"@"===e[1]?L$3:k$3}),r.removeAttribute(t);}else t.startsWith(h$5)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$3.test(r.tagName)){const t=r.textContent.split(h$5),s=t.length-1;if(s>0){r.textContent=i$d?i$d.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$6()),C$3.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$6());}}}else if(8===r.nodeType)if(r.data===o$a)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$5,t+1));)d.push({type:7,index:c}),t+=h$5.length-1;}c++;}}static createElement(t,i){const s=r$a.createElement("template");return s.innerHTML=t,s}};function S$5(t,i,s=t,e){if(i===T$3)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$7(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$5(t,h._$AS(t,i.values),h,e)),i}let M$3 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$a).importNode(i,true);C$3.currentNode=e;let h=C$3.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$3(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$3(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$3.nextNode(),o++);}return C$3.currentNode=r$a,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$3 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$3,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$5(this,t,i),c$7(t)?t===E$3||null==t||""===t?(this._$AH!==E$3&&this._$AR(),this._$AH=E$3):t!==this._$AH&&t!==T$3&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$6(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$3&&c$7(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$a.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$3.createElement(P$3(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$3(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$3.get(t.strings);return void 0===i&&A$3.set(t.strings,i=new N$3(t)),i}k(t){a$6(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$6()),this.O(l$6()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$3 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$3,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$3;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$5(this,t,i,0),o=!c$7(t)||t!==this._$AH&&t!==T$3,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$5(this,e[s+n],i,n),r===T$3&&(r=this._$AH[n]),o||=!c$7(r)||r!==this._$AH[n],r===E$3?t=E$3:t!==E$3&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$3?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$3 = class H extends k$3{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$3?void 0:t;}};let I$3 = class I extends k$3{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$3);}};let L$3 = class L extends k$3{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$5(this,t,i,0)??E$3)===T$3)return;const s=this._$AH,e=t===E$3&&s!==E$3||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$3&&(s===E$3||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$3 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$5(this,t);}};const j$3=t$6.litHtmlPolyfillSupport;j$3?.(N$3,R$3),(t$6.litHtmlVersions??=[]).push("3.2.1");const B$3=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$3(i.insertBefore(l$6(),t),t,void 0,s??{});}return h._$AI(t),h};
124
124
 
125
125
  /**
126
126
  * @license
127
127
  * Copyright 2017 Google LLC
128
128
  * SPDX-License-Identifier: BSD-3-Clause
129
- */let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T$1}};r$4._$litElement$=!0,r$4["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$8=globalThis.litElementPolyfillSupport;i$8?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
129
+ */let r$9 = class r extends b$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$3(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$3}};r$9._$litElement$=true,r$9["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$9});const i$c=globalThis.litElementPolyfillSupport;i$c?.({LitElement:r$9});(globalThis.litElementVersions??=[]).push("4.1.1");
130
130
 
131
131
  /**
132
132
  * @license
133
133
  * Copyright 2017 Google LLC
134
134
  * SPDX-License-Identifier: BSD-3-Clause
135
135
  */
136
- const t$3={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$6=t=>(...e)=>({_$litDirective$:t,values:e});let i$7 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
136
+ const t$5={ATTRIBUTE:1},e$9=t=>(...e)=>({_$litDirective$:t,values:e});let i$b = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
137
137
 
138
138
  /**
139
139
  * @license
140
140
  * Copyright 2018 Google LLC
141
141
  * SPDX-License-Identifier: BSD-3-Clause
142
- */const e$5=e$6(class extends i$7{constructor(t){if(super(t),t.type!==t$3.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
142
+ */const e$8=e$9(class extends i$b{constructor(t){if(super(t),t.type!==t$5.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$3}});
143
143
 
144
144
  /**
145
145
  * @license
146
146
  * Copyright 2020 Google LLC
147
147
  * SPDX-License-Identifier: BSD-3-Clause
148
148
  */
149
- const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({_$litStatic$:t,r:a$3}),i$6=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3}),l$3=new Map,n$4=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=!1;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$6(i));)c+=s+r[++$],f=!0;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$3.get(t))&&(n.raw=n,l$3.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$4(x$1);
149
+ const a$5=Symbol.for(""),o$9=t=>{if(t?.r===a$5)return t?._$litStatic$},s$5=t=>({_$litStatic$:t,r:a$5}),i$a=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$5}),l$5=new Map,n$7=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$9(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$5.get(t))&&(n.raw=n,l$5.set(t,r=n)),e=u;}return t(r,...e)},u$5=n$7(x$2);
150
150
 
151
151
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
152
152
  // See LICENSE in the project root for license information.
@@ -155,7 +155,7 @@ const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({
155
155
 
156
156
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
157
157
 
158
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
158
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
159
159
 
160
160
  /* eslint-disable jsdoc/require-param */
161
161
 
@@ -224,7 +224,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
224
224
 
225
225
  class AuroFormValidation {
226
226
  constructor() {
227
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
227
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
228
228
  }
229
229
 
230
230
  /**
@@ -252,30 +252,87 @@ class AuroFormValidation {
252
252
  }
253
253
 
254
254
  /**
255
- * Determines the validity state of the element based on the common attribute restrictions (pattern).
256
- * @private
257
- * @param {object} elem - HTML element to validate.
255
+ * Validates the attributes of a given element based on predefined validation rules.
256
+ *
257
+ * @param {HTMLElement} elem - The element to be validated.
258
258
  * @returns {void}
259
+ *
260
+ * @example
261
+ * // Assuming `inputElement` is a reference to an input element in the DOM
262
+ * validateElementAttributes(inputElement);
263
+ *
264
+ * The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
265
+ * If a validation rule is violated, it sets the element's validity state and error message accordingly.
266
+ *
267
+ * Validation rules:
268
+ * - input:
269
+ * - length:
270
+ * - tooShort: Checks if the value length is less than the minimum length.
271
+ * - tooLong: Checks if the value length exceeds the maximum length.
272
+ * - pattern:
273
+ * - patternMismatch: Checks if the value does not match the specified pattern.
274
+ * - counter:
275
+ * - range:
276
+ * - rangeOverflow: Checks if the value exceeds the maximum value.
277
+ * - rangeUnderflow: Checks if the value is less than the minimum value.
259
278
  */
260
- validateAttributes(elem) {
261
- if (elem.pattern) {
262
- const pattern = new RegExp(`^${elem.pattern}$`, 'u');
263
-
264
- if (!pattern.test(elem.value)) {
265
- elem.validity = 'patternMismatch';
266
- elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || '';
279
+ validateElementAttributes(elem) {
280
+ const validationRules = {
281
+ input: {
282
+ length: [
283
+ {
284
+ check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
285
+ validity: 'tooShort',
286
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
287
+ },
288
+ {
289
+ check: (e) => e.value?.length > e.maxLength,
290
+ validity: 'tooLong',
291
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
292
+ }
293
+ ],
294
+ pattern: [
295
+ {
296
+ check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
297
+ validity: 'patternMismatch',
298
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
299
+ }
300
+ ]
301
+ },
302
+ counter: {
303
+ range: [
304
+ {
305
+ check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
306
+ validity: 'rangeOverflow',
307
+ message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
308
+ },
309
+ {
310
+ check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
311
+ validity: 'rangeUnderflow',
312
+ message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
313
+ }
314
+ ]
267
315
  }
268
- }
269
-
270
- // Length > 0 is required to prevent the error message from showing when the input is empty
271
- if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
272
- elem.validity = 'tooShort';
273
- elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
316
+ };
317
+
318
+ let elementType;
319
+ if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
320
+ elementType = 'input';
321
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
322
+ elementType = 'counter';
274
323
  }
275
324
 
276
- if (elem.value?.length > elem.maxLength) {
277
- elem.validity = 'tooLong';
278
- elem.errorMessage = elem.setCustomValidityTooLong || elem.setCustomValidity || '';
325
+ if (elementType) {
326
+ const rules = validationRules[elementType];
327
+
328
+ if (rules) {
329
+ Object.values(rules).flat().forEach(rule => {
330
+ if (rule.check(elem)) {
331
+ elem.validity = rule.validity;
332
+ elem.errorMessage = rule.message(elem);
333
+ }
334
+ });
335
+ }
279
336
  }
280
337
  }
281
338
 
@@ -309,20 +366,17 @@ class AuroFormValidation {
309
366
  elem.validity = 'rangeUnderflow';
310
367
  elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
311
368
  }
312
- } else if (elem.type === 'month-day-year' ||
313
- elem.type === 'month-year' ||
314
- elem.type === 'month-fullYear' ||
315
- elem.type === 'year-month-day'
316
- ) {
317
- if (elem.value?.length > 0 && elem.value.length < elem.dateStrLength) {
369
+ } else if (elem.type === 'date') {
370
+ if (elem.value?.length > 0 && elem.value?.length < elem.lengthForType) {
318
371
  elem.validity = 'tooShort';
319
372
  elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
320
- } else {
321
- const valueDate = new Date(elem.value);
373
+ } else if (elem.value?.length === elem.lengthForType && elem.util.toNorthAmericanFormat(elem.value, elem.format)) {
374
+ const formattedValue = elem.util.toNorthAmericanFormat(elem.value, elem.format);
375
+ const valueDate = new Date(formattedValue.dateForComparison);
322
376
 
323
377
  // validate max
324
- if (elem.max !== undefined) {
325
- const maxDate = new Date(elem.max);
378
+ if (elem.max?.length === elem.lengthForType) {
379
+ const maxDate = new Date(elem.util.toNorthAmericanFormat(elem.max, elem.format).dateForComparison);
326
380
 
327
381
  if (valueDate > maxDate) {
328
382
  elem.validity = 'rangeOverflow';
@@ -331,8 +385,8 @@ class AuroFormValidation {
331
385
  }
332
386
 
333
387
  // validate min
334
- if (elem.min) {
335
- const minDate = new Date(elem.min);
388
+ if (elem.min?.length === elem.lengthForType) {
389
+ const minDate = new Date(elem.util.toNorthAmericanFormat(elem.min, elem.format).dateForComparison);
336
390
 
337
391
  if (valueDate < minDate) {
338
392
  elem.validity = 'rangeUnderflow';
@@ -385,7 +439,9 @@ class AuroFormValidation {
385
439
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
386
440
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
387
441
  this.validateType(elem);
388
- this.validateAttributes(elem);
442
+ this.validateElementAttributes(elem);
443
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
444
+ this.validateElementAttributes(elem);
389
445
  }
390
446
  }
391
447
 
@@ -503,7 +559,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
503
559
  */
504
560
  generateTag(baseName, version, tagClass) {
505
561
  const elementName = this.generateElementName(baseName, version);
506
- const tag = i$6`${s$3(elementName)}`;
562
+ const tag = i$a`${s$5(elementName)}`;
507
563
 
508
564
  if (!customElements.get(elementName)) {
509
565
  customElements.define(elementName, class extends tagClass {});
@@ -518,33 +574,33 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
518
574
  * Copyright 2017 Google LLC
519
575
  * SPDX-License-Identifier: BSD-3-Clause
520
576
  */
521
- const t$2=globalThis,i$5=t$2.trustedTypes,s$2=i$5?i$5.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$4="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4="?"+h$1,n$3=`<${o$4}>`,r$3=document,l$2=()=>r$3.createComment(""),c$2=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2=Array.isArray,u$2=t=>a$2(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y$1(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$3.createTreeWalker(r$3,129);function P(t,i){if(!a$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$2?s$2.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$1?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f$1,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p$1):c===g||c===p$1?c=m:c===v||c===_?c=f$1:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f$1?s+n$3:d>=0?(o.push(a),s.slice(0,d)+e$4+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$4)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$5?i$5.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$2()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$2());}}}else if(8===r.nodeType)if(r.data===o$4)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$3.createElement("template");return s.innerHTML=t,s}}function S$1(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$2(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$1(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$3).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$3,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$1(this,t,i),c$2(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$2(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c$2(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$3.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a$2(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$2()),this.O(l$2()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S$1(this,t,i,0),o=!c$2(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$1(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c$2(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$1(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$1(this,t);}}const j=t$2.litHtmlPolyfillSupport;j?.(N,R),(t$2.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l$2(),t),t,void 0,s??{});}return h._$AI(t),h};
577
+ const t$4=globalThis,i$9=t$4.trustedTypes,s$4=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$7="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7="?"+h$3,n$6=`<${o$7}>`,r$7=document,l$4=()=>r$7.createComment(""),c$5=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$4=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$3=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$3(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$7.createTreeWalker(r$7,129);function P$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$4?s$4.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$3,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$3):c===g$1||c===p$3?c=m$1:c===v$1||c===_$1?c=f$3:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$6:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$3+x):s+h$3+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7)){const i=v[a++],s=r.getAttribute(t).split(h$3),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$3),s=t.length-1;if(s>0){r.textContent=i$9?i$9.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4());}}}else if(8===r.nodeType)if(r.data===o$7)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$7.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$5(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$3(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$7).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$7,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3(this,t,i),c$5(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$4(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$5(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return void 0===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$4(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$4()),this.O(l$4()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$3(this,t,i,0),o=!c$5(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$5(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1 = class H extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const j$1=t$4.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$4.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$4(),t),t,void 0,s??{});}return h._$AI(t),h};
522
578
 
523
579
  /**
524
580
  * @license
525
581
  * Copyright 2020 Google LLC
526
582
  * SPDX-License-Identifier: BSD-3-Clause
527
583
  */
528
- const a$1=Symbol.for(""),o$3=t=>{if(t?.r===a$1)return t?._$litStatic$},s$1=t=>({_$litStatic$:t,r:a$1}),i$4=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$1}),l$1=new Map,n$2=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=!1;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$3(i));)c+=s+r[++$],f=!0;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$1.get(t))&&(n.raw=n,l$1.set(t,r=n)),e=u;}return t(r,...e)},u$1=n$2(x);
584
+ const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({_$litStatic$:t,r:a$3}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3}),l$3=new Map,n$5=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$6(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$3.get(t))&&(n.raw=n,l$3.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$5(x$1);
529
585
 
530
586
  /**
531
587
  * @license
532
588
  * Copyright 2019 Google LLC
533
589
  * SPDX-License-Identifier: BSD-3-Clause
534
590
  */
535
- const t$1=globalThis,e$3=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o$2=new WeakMap;let n$1 = class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$3&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.set(s,t));}return t}toString(){return this.cssText}};const r$2=t=>new n$1("string"==typeof t?t:t+"",void 0,s),i$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$1(o,t,s)},S=(s,o)=>{if(e$3)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1=e$3?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t;
591
+ const t$3=globalThis,e$6=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$1=Symbol(),o$5=new WeakMap;let n$4 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$6&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$5.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5.set(s,t));}return t}toString(){return this.cssText}};const r$6=t=>new n$4("string"==typeof t?t:t+"",void 0,s$2$1),i$7=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4(o,t,s$2$1)},S$2=(s,o)=>{if(e$6)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4=e$6?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
536
592
 
537
593
  /**
538
594
  * @license
539
595
  * Copyright 2017 Google LLC
540
596
  * SPDX-License-Identifier: BSD-3-Clause
541
- */const{is:i$2,defineProperty:e$2,getOwnPropertyDescriptor:r$1,getOwnPropertyNames:h,getOwnPropertySymbols:o$1,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:"",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f=(t,s)=>!i$2(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol("metadata"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$2(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,s=[...h(t),...o$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$1(s));}else void 0!==s&&i.push(c$1(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d("elementProperties")]=new Map,b[d("finalized")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push("2.0.4");
597
+ */const{is:i$6,defineProperty:e$5,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$4$1,getPrototypeOf:n$3$1}=Object,a$2$1=globalThis,c$3=a$2$1.trustedTypes,l$2$1=c$3?c$3.emptyScript:"",p$2=a$2$1.reactiveElementPolyfillSupport,d$2=(t,s)=>t,u$2$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2=(t,s)=>!i$6(t,s),y$2={attribute:true,type:String,converter:u$2$1,reflect:false,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$2$1.litPropertyMetadata??=new WeakMap;let b$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$2){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$5(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$2}static _$Ei(){if(this.hasOwnProperty(d$2("elementProperties")))return;const t=n$3$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2("properties"))){const t=this.properties,s=[...h$2(t),...o$4$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4(s));}else void 0!==s&&i.push(c$4(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$2$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$2$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$2("elementProperties")]=new Map,b$1[d$2("finalized")]=new Map,p$2?.({ReactiveElement:b$1}),(a$2$1.reactiveElementVersions??=[]).push("2.0.4");
542
598
 
543
599
  /**
544
600
  * @license
545
601
  * Copyright 2017 Google LLC
546
602
  * SPDX-License-Identifier: BSD-3-Clause
547
- */class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T}}r._$litElement$=!0,r["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r});const i$1=globalThis.litElementPolyfillSupport;i$1?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
603
+ */let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1}};r$4._$litElement$=true,r$4["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$5$1=globalThis.litElementPolyfillSupport;i$5$1?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
548
604
 
549
605
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
550
606
  // See LICENSE in the project root for license information.
@@ -553,7 +609,7 @@ const t$1=globalThis,e$3=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.na
553
609
 
554
610
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
555
611
 
556
- class AuroLibraryRuntimeUtils {
612
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
557
613
 
558
614
  /* eslint-disable jsdoc/require-param */
559
615
 
@@ -614,7 +670,7 @@ class AuroLibraryRuntimeUtils {
614
670
 
615
671
  return elemTag === tag || elem.hasAttribute(tag);
616
672
  }
617
- }
673
+ };
618
674
 
619
675
  /**
620
676
  * Custom positioning reference element.
@@ -2124,37 +2180,23 @@ class AuroFloatingUI {
2124
2180
  }
2125
2181
 
2126
2182
  /**
2127
- * @private
2128
- * Adjusts the size of the bib content based on the bibSizer dimensions.
2129
- *
2130
- * This method retrieves the computed styles of the bibSizer element and applies them to the bib content.
2131
- * If the fullscreen parameter is true, it resets the dimensions to their default values. Otherwise, it
2132
- * mirrors the width and height from the bibSizer, ensuring that they are not set to zero.
2133
- *
2134
- * @param {boolean} fullscreen - A flag indicating whether to reset the dimensions for fullscreen mode.
2135
- * If true, the bib content dimensions are cleared; if false, they are set
2136
- * based on the bibSizer's computed styles.
2183
+ * Mirrors the size of the bibSizer element to the bib content.
2184
+ * Copies the width, height, max-width, and max-height styles from the bibSizer element to the bib content container.
2185
+ * This ensures that the bib content has the same dimensions as the sizer element.
2137
2186
  */
2138
- mirrorSize(fullscreen) {
2187
+ mirrorSize() {
2139
2188
  // mirror the boxsize from bibSizer
2140
2189
  if (this.element.bibSizer) {
2141
2190
  const sizerStyle = window.getComputedStyle(this.element.bibSizer);
2142
2191
  const bibContent = this.element.bib.shadowRoot.querySelector(".container");
2143
- if (fullscreen) {
2144
- bibContent.style.width = '';
2145
- bibContent.style.height = '';
2146
- bibContent.style.maxWidth = '';
2147
- bibContent.style.maxHeight = '';
2148
- } else {
2149
- if (sizerStyle.width !== '0px') {
2150
- bibContent.style.width = sizerStyle.width;
2151
- }
2152
- if (sizerStyle.height !== '0px') {
2153
- bibContent.style.height = sizerStyle.height;
2154
- }
2155
- bibContent.style.maxWidth = sizerStyle.maxWidth;
2156
- bibContent.style.maxHeight = sizerStyle.maxHeight;
2192
+ if (sizerStyle.width !== '0px') {
2193
+ bibContent.style.width = sizerStyle.width;
2194
+ }
2195
+ if (sizerStyle.height !== '0px') {
2196
+ bibContent.style.height = sizerStyle.height;
2157
2197
  }
2198
+ bibContent.style.maxWidth = sizerStyle.maxWidth;
2199
+ bibContent.style.maxHeight = sizerStyle.maxHeight;
2158
2200
  }
2159
2201
  }
2160
2202
 
@@ -2170,11 +2212,12 @@ class AuroFloatingUI {
2170
2212
  getPositioningStrategy() {
2171
2213
  let strategy = 'floating';
2172
2214
  if (this.element.bib.mobileFullscreenBreakpoint) {
2173
- const isMobile = window.matchMedia(`(max-width: ${this.element.bib.mobileFullscreenBreakpoint})`).matches;
2174
- if (isMobile) {
2215
+ const smallerThanBreakpoint = window.matchMedia(`(max-width: ${this.element.bib.mobileFullscreenBreakpoint})`).matches;
2216
+ if (smallerThanBreakpoint) {
2175
2217
  strategy = 'fullscreen';
2176
2218
  }
2177
2219
  }
2220
+
2178
2221
  return strategy;
2179
2222
  }
2180
2223
 
@@ -2188,13 +2231,10 @@ class AuroFloatingUI {
2188
2231
  */
2189
2232
  position() {
2190
2233
  const strategy = this.getPositioningStrategy();
2191
- if (strategy === 'fullscreen') {
2192
- this.configureBibFullscreen(true);
2193
- this.mirrorSize(true);
2194
- } else {
2195
- this.configureBibFullscreen(false);
2196
- this.mirrorSize(false);
2234
+ this.configureBibStrategy(strategy);
2197
2235
 
2236
+ if (strategy === 'floating') {
2237
+ this.mirrorSize();
2198
2238
  // Define the middlware for the floater configuration
2199
2239
  const middleware = [
2200
2240
  offset(this.element.floaterConfig.offset || 0),
@@ -2217,28 +2257,72 @@ class AuroFloatingUI {
2217
2257
 
2218
2258
  /**
2219
2259
  * @private
2220
- * Configures the bib element for fullscreen mode based on the mobile status.
2260
+ * Controls whether to lock the scrolling for the document's body.
2261
+ * @param {Boolean} lock - If true, locks the body's scrolling functionlity; otherwise, unlock.
2262
+ */
2263
+ lockScroll(lock = true) {
2264
+ if (lock) {
2265
+ document.body.style.overflow = 'hidden'; // hide body's scrollbar
2266
+
2267
+ // Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
2268
+ this.element.bib.style.transform = `translateY(${visualViewport.offsetTop}px)`;
2269
+ } else {
2270
+ document.body.style.overflow = '';
2271
+ }
2272
+ }
2273
+
2274
+ /**
2275
+ * @private
2276
+ * Configures the bib element's display strategy.
2221
2277
  *
2222
- * This method sets the 'isFullscreen' attribute on the bib element to "true" if the `isMobile` parameter is true,
2223
- * and resets its position to the top-left corner of the viewport. If `isMobile` is false, it removes the
2224
- * 'isFullscreen' attribute, indicating that the bib is not in fullscreen mode.
2278
+ * Sets the bib to fullscreen or floating mode based on the provided strategy.
2279
+ * Dispatches a 'strategy-change' event if the strategy changes.
2225
2280
  *
2226
- * @param {boolean} isMobile - A flag indicating whether the current device is mobile.
2281
+ * @param {string} strategy - The positioning strategy ('fullscreen' or 'floating').
2227
2282
  */
2228
- configureBibFullscreen(isMobile) {
2229
- if (isMobile) {
2230
- this.element.bib.setAttribute('isFullscreen', "true");
2283
+ configureBibStrategy(strategy) {
2284
+ const prevStrategy = this.element.isBibFullscreen ? 'fullscreen' : 'floating';
2285
+ if (strategy === 'fullscreen') {
2286
+ this.element.isBibFullscreen = true;
2231
2287
  // reset the prev position
2232
2288
  this.element.bib.style.top = "0px";
2233
2289
  this.element.bib.style.left = "0px";
2290
+
2291
+ // reset the size that was mirroring `size` css-part
2292
+ const bibContent = this.element.bib.shadowRoot.querySelector(".container");
2293
+ bibContent.style.width = '';
2294
+ bibContent.style.height = '';
2295
+ bibContent.style.maxWidth = '';
2296
+ bibContent.style.maxHeight = `${window.visualViewport.height}px`;
2297
+
2298
+ if (this.element.isPopoverVisible) {
2299
+ this.lockScroll(true);
2300
+ }
2234
2301
  } else {
2235
- this.element.bib.removeAttribute('isFullscreen');
2302
+ this.element.isBibFullscreen = false;
2303
+
2304
+ this.lockScroll(false);
2305
+ }
2306
+
2307
+ if (prevStrategy !== strategy) {
2308
+ const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-strategy-change` : 'strategy-change', {
2309
+ detail: {
2310
+ strategy,
2311
+ },
2312
+ composed: true
2313
+ });
2314
+
2315
+ this.element.dispatchEvent(event);
2236
2316
  }
2237
2317
  }
2238
2318
 
2239
2319
  updateState() {
2240
2320
  const isVisible = this.element.isPopoverVisible;
2241
- this.element.trigger.setAttribute('aria-expanded', isVisible);
2321
+
2322
+ // Refactor this to apply attribute to correct focusable element
2323
+ // Reference Issue: https://github.com/AlaskaAirlines/auro-library/issues/105
2324
+ //
2325
+ // this.element.trigger.setAttribute('aria-expanded', isVisible);
2242
2326
 
2243
2327
  if (isVisible) {
2244
2328
  this.element.bib.setAttribute('data-show', true);
@@ -2334,6 +2418,7 @@ class AuroFloatingUI {
2334
2418
  this.updateCurrentExpandedDropdown();
2335
2419
  this.element.isPopoverVisible = true;
2336
2420
  this.element.triggerChevron?.setAttribute('data-expanded', true);
2421
+
2337
2422
  this.dispatchEventDropdownToggle();
2338
2423
  this.position();
2339
2424
 
@@ -2351,6 +2436,7 @@ class AuroFloatingUI {
2351
2436
  hideBib() {
2352
2437
  if (this.element.isPopoverVisible && !this.element.disabled && !this.element.noToggle) {
2353
2438
  this.element.isPopoverVisible = false;
2439
+ this.lockScroll(false);
2354
2440
  this.element.triggerChevron?.removeAttribute('data-expanded');
2355
2441
  this.dispatchEventDropdownToggle();
2356
2442
  }
@@ -2363,7 +2449,7 @@ class AuroFloatingUI {
2363
2449
  dispatchEventDropdownToggle() {
2364
2450
  const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
2365
2451
  detail: {
2366
- expanded: this.isPopoverVisible,
2452
+ expanded: this.element.isPopoverVisible,
2367
2453
  },
2368
2454
  composed: true
2369
2455
  });
@@ -2380,7 +2466,7 @@ class AuroFloatingUI {
2380
2466
 
2381
2467
  const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-triggerClick` : "triggerClick", {
2382
2468
  composed: true,
2383
- details: {
2469
+ detail: {
2384
2470
  expanded: this.element.isPopoverVisible
2385
2471
  }
2386
2472
  });
@@ -2432,6 +2518,12 @@ class AuroFloatingUI {
2432
2518
  }
2433
2519
  }
2434
2520
 
2521
+ /**
2522
+ * Manages the tabIndex of the trigger element based on its focusability.
2523
+ *
2524
+ * If the trigger element or any of its children are inherently focusable, the tabIndex of the component is set to -1.
2525
+ * This prevents the component itself from being focusable when the trigger element already handles focus.
2526
+ */
2435
2527
  handleTriggerTabIndex() {
2436
2528
  const focusableElementSelectors = [
2437
2529
  'a',
@@ -2446,6 +2538,9 @@ class AuroFloatingUI {
2446
2538
  ];
2447
2539
 
2448
2540
  const triggerNode = this.element.querySelectorAll('[slot="trigger"]')[0];
2541
+ if (!triggerNode) {
2542
+ return;
2543
+ }
2449
2544
  const triggerNodeTagName = triggerNode.tagName.toLowerCase();
2450
2545
 
2451
2546
  focusableElementSelectors.forEach((selector) => {
@@ -2474,12 +2569,13 @@ class AuroFloatingUI {
2474
2569
 
2475
2570
  this.handleTriggerTabIndex();
2476
2571
 
2477
- this.element.trigger.addEventListener('keydown', (event) => this.handleEvent(event));
2478
- this.element.trigger.addEventListener('click', (event) => this.handleEvent(event));
2479
- this.element.trigger.addEventListener('mouseenter', (event) => this.handleEvent(event));
2480
- this.element.trigger.addEventListener('mouseleave', (event) => this.handleEvent(event));
2481
- this.element.trigger.addEventListener('focus', (event) => this.handleEvent(event));
2482
- this.element.trigger.addEventListener('blur', (event) => this.handleEvent(event));
2572
+ this.handleEvent = this.handleEvent.bind(this);
2573
+ this.element.trigger.addEventListener('keydown', this.handleEvent);
2574
+ this.element.trigger.addEventListener('click', this.handleEvent);
2575
+ this.element.trigger.addEventListener('mouseenter', this.handleEvent);
2576
+ this.element.trigger.addEventListener('mouseleave', this.handleEvent);
2577
+ this.element.trigger.addEventListener('focus', this.handleEvent);
2578
+ this.element.trigger.addEventListener('blur', this.handleEvent);
2483
2579
  }
2484
2580
 
2485
2581
  disconnect() {
@@ -2488,12 +2584,12 @@ class AuroFloatingUI {
2488
2584
 
2489
2585
  // Remove event & keyboard listeners
2490
2586
  if (this.element?.trigger) {
2491
- this.element.trigger.removeEventListener('keydown', (event) => this.handleEvent(event));
2492
- this.element.trigger.removeEventListener('click', (event) => this.handleEvent(event));
2493
- this.element.trigger.removeEventListener('mouseenter', (event) => this.handleEvent(event));
2494
- this.element.trigger.removeEventListener('mouseleave', (event) => this.handleEvent(event));
2495
- this.element.trigger.removeEventListener('focus', (event) => this.handleEvent(event));
2496
- this.element.trigger.removeEventListener('blur', (event) => this.handleEvent(event));
2587
+ this.element.trigger.removeEventListener('keydown', this.handleEvent);
2588
+ this.element.trigger.removeEventListener('click', this.handleEvent);
2589
+ this.element.trigger.removeEventListener('mouseenter', this.handleEvent);
2590
+ this.element.trigger.removeEventListener('mouseleave', this.handleEvent);
2591
+ this.element.trigger.removeEventListener('focus', this.handleEvent);
2592
+ this.element.trigger.removeEventListener('blur', this.handleEvent);
2497
2593
  }
2498
2594
  }
2499
2595
  }
@@ -2528,7 +2624,7 @@ class AuroDependencyVersioning {
2528
2624
  */
2529
2625
  generateTag(baseName, version, tagClass) {
2530
2626
  const elementName = this.generateElementName(baseName, version);
2531
- const tag = i$4`${s$1(elementName)}`;
2627
+ const tag = i$8`${s$3(elementName)}`;
2532
2628
 
2533
2629
  if (!customElements.get(elementName)) {
2534
2630
  customElements.define(elementName, class extends tagClass {});
@@ -2543,19 +2639,19 @@ class AuroDependencyVersioning {
2543
2639
  * Copyright 2017 Google LLC
2544
2640
  * SPDX-License-Identifier: BSD-3-Clause
2545
2641
  */
2546
- const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
2642
+ const t$2$1={ATTRIBUTE:1},e$4$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$4$1 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
2547
2643
 
2548
2644
  /**
2549
2645
  * @license
2550
2646
  * Copyright 2018 Google LLC
2551
2647
  * SPDX-License-Identifier: BSD-3-Clause
2552
- */const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
2648
+ */const e$3$1=e$4$1(class extends i$4$1{constructor(t){if(super(t),t.type!==t$2$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
2553
2649
 
2554
2650
  /**
2555
2651
  * @license
2556
2652
  * Copyright 2018 Google LLC
2557
2653
  * SPDX-License-Identifier: BSD-3-Clause
2558
- */const o$5=o=>o??E;
2654
+ */const o$3$1=o=>o??E$1;
2559
2655
 
2560
2656
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2561
2657
  // See LICENSE in the project root for license information.
@@ -2567,7 +2663,7 @@ const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e
2567
2663
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
2568
2664
  */
2569
2665
 
2570
- let AuroElement$1 = class AuroElement extends r {
2666
+ let AuroElement$1 = class AuroElement extends r$4 {
2571
2667
 
2572
2668
  // function to define props used within the scope of this component
2573
2669
  static get properties() {
@@ -2593,7 +2689,7 @@ let AuroElement$1 = class AuroElement extends r {
2593
2689
  }
2594
2690
  };
2595
2691
 
2596
- var error$1 = {"role":"img","color":"currentColor","title":"","desc":"Error alert indicator.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"error","category":"alert","deprecated":true,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
2692
+ var error$1 = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
2597
2693
 
2598
2694
  /* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
2599
2695
 
@@ -2623,7 +2719,7 @@ const cacheFetch$1 = (uri, options = {}) => {
2623
2719
  return _fetchMap$1.get(uri);
2624
2720
  };
2625
2721
 
2626
- var styleCss$2$1 = i$3`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
2722
+ var styleCss$3$1 = i$7`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
2627
2723
 
2628
2724
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2629
2725
  // See LICENSE in the project root for license information.
@@ -2662,8 +2758,8 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
2662
2758
  }
2663
2759
 
2664
2760
  static get styles() {
2665
- return i$3`
2666
- ${styleCss$2$1}
2761
+ return i$7`
2762
+ ${styleCss$3$1}
2667
2763
  `;
2668
2764
  }
2669
2765
 
@@ -2704,9 +2800,9 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
2704
2800
  }
2705
2801
  };
2706
2802
 
2707
- var tokensCss$1$1 = i$3`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
2803
+ var tokensCss$2$1 = i$7`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
2708
2804
 
2709
- var colorCss$2$1 = i$3`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
2805
+ var colorCss$3$1 = i$7`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
2710
2806
 
2711
2807
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2712
2808
  // See LICENSE in the project root for license information.
@@ -2768,7 +2864,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
2768
2864
  this.success = false;
2769
2865
  this.tertiary = false;
2770
2866
  this.warning = false;
2771
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
2867
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
2772
2868
  }
2773
2869
 
2774
2870
  // function to define props used within the scope of this component
@@ -2850,9 +2946,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
2850
2946
  static get styles() {
2851
2947
  return [
2852
2948
  super.styles,
2853
- i$3`${tokensCss$1$1}`,
2854
- i$3`${styleCss$2$1}`,
2855
- i$3`${colorCss$2$1}`
2949
+ i$7`${tokensCss$2$1}`,
2950
+ i$7`${styleCss$3$1}`,
2951
+ i$7`${colorCss$3$1}`
2856
2952
  ];
2857
2953
  }
2858
2954
 
@@ -2865,7 +2961,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
2865
2961
  *
2866
2962
  */
2867
2963
  static register(name = "auro-icon") {
2868
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
2964
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
2869
2965
  }
2870
2966
 
2871
2967
  connectedCallback() {
@@ -2894,20 +2990,20 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
2894
2990
  'wrapper': true,
2895
2991
  };
2896
2992
 
2897
- return x`
2993
+ return x$1`
2898
2994
  <div
2899
- class="${e(classes)}"
2900
- title="${o$5(this.title || undefined)}">
2901
- <span aria-hidden="${o$5(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
2902
- ${this.customSvg ? x`
2995
+ class="${e$3$1(classes)}"
2996
+ title="${o$3$1(this.title || undefined)}">
2997
+ <span aria-hidden="${o$3$1(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
2998
+ ${this.customSvg ? x$1`
2903
2999
  <slot name="svg"></slot>
2904
- ` : x`
3000
+ ` : x$1`
2905
3001
  ${this.svg}
2906
3002
  `
2907
3003
  }
2908
3004
  </span>
2909
3005
 
2910
- <div class="${e(a11y)}">
3006
+ <div class="${e$3$1(a11y)}">
2911
3007
  <slot></slot>
2912
3008
  </div>
2913
3009
  </div>
@@ -2917,15 +3013,11 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
2917
3013
 
2918
3014
  var iconVersion$1 = '6.1.2';
2919
3015
 
2920
- var styleCss$1$1 = i$3`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
3016
+ var styleCss$2$1 = i$7`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
2921
3017
 
2922
- var colorCss$1$1 = i$3`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);outline:1px solid var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}.helpText{color:var(--ds-auro-dropdown-help-text-color)}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-help-text-color: var(--ds-color-text-error-default, #cc1816);--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
3018
+ var colorCss$2$1 = i$7`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
2923
3019
 
2924
- var tokensCss$3 = i$3`:host{--ds-auro-dropdown-help-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
2925
-
2926
- var styleCss$4 = i$3`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
2927
-
2928
- var colorCss$4 = i$3`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
3020
+ var tokensCss$1$1 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
2929
3021
 
2930
3022
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2931
3023
  // See LICENSE in the project root for license information.
@@ -2941,11 +3033,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
2941
3033
  ];
2942
3034
 
2943
3035
  /**
2944
- * @prop { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
3036
+ * @prop { String } fullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
2945
3037
  * @csspart bibContainer - Apply css to the bib container.
2946
3038
  */
2947
3039
 
2948
- class AuroDropdownBib extends r {
3040
+ class AuroDropdownBib extends r$4 {
2949
3041
 
2950
3042
  constructor() {
2951
3043
  super();
@@ -2954,19 +3046,29 @@ class AuroDropdownBib extends r {
2954
3046
  * @private
2955
3047
  */
2956
3048
  this._mobileBreakpointValue = undefined;
3049
+
3050
+ AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
2957
3051
  }
2958
3052
 
2959
3053
  static get styles() {
2960
3054
  return [
2961
- styleCss$4,
2962
- colorCss$4,
2963
- tokensCss$3
3055
+ styleCss$2$1,
3056
+ colorCss$2$1,
3057
+ tokensCss$1$1
2964
3058
  ];
2965
3059
  }
2966
3060
 
2967
3061
  static get properties() {
2968
3062
  return {
2969
3063
 
3064
+ /**
3065
+ * If declared, will take the fullscreen when the bib is displayed.
3066
+ */
3067
+ isFullscreen: {
3068
+ type: Boolean,
3069
+ reflect: true
3070
+ },
3071
+
2970
3072
  /**
2971
3073
  * If declared, will apply all styles for the common theme.
2972
3074
  */
@@ -3009,9 +3111,24 @@ class AuroDropdownBib extends r {
3009
3111
  return this._mobileBreakpointValue;
3010
3112
  }
3011
3113
 
3114
+ updated(changedProperties) {
3115
+ if (changedProperties.has('isFullscreen')) {
3116
+ this.childNodes.forEach((child) => {
3117
+ // skip any text that is not in an HTMLElement on setting `isFullscreen` attr.
3118
+ if (child.nodeName !== '#text') {
3119
+ if (this.isFullscreen) {
3120
+ child.setAttribute('isFullscreen', 'true');
3121
+ } else {
3122
+ child.removeAttribute('isFullscreen');
3123
+ }
3124
+ }
3125
+ });
3126
+ }
3127
+ }
3128
+
3012
3129
  // function that renders the HTML and CSS into the scope of the component
3013
3130
  render() {
3014
- return u$1`
3131
+ return u$3`
3015
3132
  <div class="container" part="bibContainer">
3016
3133
  <slot></slot>
3017
3134
  </div>
@@ -3019,105 +3136,364 @@ class AuroDropdownBib extends r {
3019
3136
  }
3020
3137
  }
3021
3138
 
3022
- // default internal definition
3023
- if (!customElements.get("auro-dropdownbib")) {
3024
- customElements.define("auro-dropdownbib", AuroDropdownBib);
3025
- }
3139
+ var dropdownVersion$1 = '3.0.0';
3026
3140
 
3027
- // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3028
- // See LICENSE in the project root for license information.
3141
+ var styleCss$1$1 = i$7`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center}.trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
3029
3142
 
3143
+ var colorCss$1$1 = i$7`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);--ds-auro-dropdown-trigger-outline-color: var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
3030
3144
 
3031
3145
  /**
3032
- * @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
3033
- * @slot - Default slot for the popover content.
3034
- * @slot label - Defines the content of the label.
3035
- * @slot helpText - Defines the content of the helpText.
3036
- * @slot trigger - Defines the content of the trigger.
3037
- * @csspart trigger - The trigger content container.
3038
- * @csspart chevron - The collapsed/expanded state icon container.
3039
- * @csspart helpText - The helpText content container.
3040
- * @csspart popover - The bib content container.
3041
- * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
3042
- * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
3146
+ * @license
3147
+ * Copyright 2019 Google LLC
3148
+ * SPDX-License-Identifier: BSD-3-Clause
3043
3149
  */
3044
- class AuroDropdown extends r {
3045
- constructor() {
3046
- super();
3150
+ const t$1$1=globalThis,e$2$1=t$1$1.ShadowRoot&&(void 0===t$1$1.ShadyCSS||t$1$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1$1=Symbol(),o$2$1=new WeakMap;let n$2$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2$1.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$1.set(s,t));}return t}toString(){return this.cssText}};const r$3$1=t=>new n$2$1("string"==typeof t?t:t+"",void 0,s$1$1),i$3$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2$1(o,t,s$1$1)},S$1$1=(s,o)=>{if(e$2$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$1=e$2$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3$1(e)})(t):t;
3047
3151
 
3048
- this.isPopoverVisible = false;
3049
- this.matchWidth = false;
3050
- this.noHideOnThisFocusLoss = false;
3152
+ /**
3153
+ * @license
3154
+ * Copyright 2017 Google LLC
3155
+ * SPDX-License-Identifier: BSD-3-Clause
3156
+ */const{is:i$2$1,defineProperty:e$1,getOwnPropertyDescriptor:r$2$1,getOwnPropertyNames:h$1$1,getOwnPropertySymbols:o$1,getPrototypeOf:n$1$1}=Object,a$1$1=globalThis,c$1$1=a$1$1.trustedTypes,l$1$1=c$1$1?c$1$1.emptyScript:"",p$1$1=a$1$1.reactiveElementPolyfillSupport,d$1$1=(t,s)=>t,u$1$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1$1=(t,s)=>!i$2$1(t,s),y$1$1={attribute:true,type:String,converter:u$1$1,reflect:false,hasChanged:f$1$1};Symbol.metadata??=Symbol("metadata"),a$1$1.litPropertyMetadata??=new WeakMap;let b$2 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1$1}static _$Ei(){if(this.hasOwnProperty(d$1$1("elementProperties")))return;const t=n$1$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$1("properties"))){const t=this.properties,s=[...h$1$1(t),...o$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2$1(s));}else void 0!==s&&i.push(c$2$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$1$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$1$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$2.elementStyles=[],b$2.shadowRootOptions={mode:"open"},b$2[d$1$1("elementProperties")]=new Map,b$2[d$1$1("finalized")]=new Map,p$1$1?.({ReactiveElement:b$2}),(a$1$1.reactiveElementVersions??=[]).push("2.0.4");
3051
3157
 
3052
- this.privateDefaults();
3053
- }
3158
+ /**
3159
+ * @license
3160
+ * Copyright 2017 Google LLC
3161
+ * SPDX-License-Identifier: BSD-3-Clause
3162
+ */
3163
+ const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h$4=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$4,n=`<${o$8}>`,r$1$1=document,l=()=>r$1$1.createComment(""),c$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d$4="[ \t\n\f\r]",f$4=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$2=/>/g,m$2=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$1$1.createTreeWalker(r$1$1,129);function P$2(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$4;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$4?"!--"===u[1]?c=v$2:void 0!==u[1]?c=_$2:void 0!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):void 0!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$4,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$2:'"'===u[3]?g$2:p$4):c===g$2||c===p$4?c=m$2:c===v$2||c===_$2?c=f$4:(c=m$2,r=void 0);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$4?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h$4+x):s+h$4+(-2===d?i:x);}return [P$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$2 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$2(t,s);if(this.el=N.createElement(f,n),C$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h$4),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$4)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$4),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o$8)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$4,t+1));)d.push({type:7,index:c}),t+=h$4.length-1;}c++;}}static createElement(t,i){const s=r$1$1.createElement("template");return s.innerHTML=t,s}};function S$4(t,i,s=t,e){if(i===T$2)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$6(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$4(t,h._$AS(t,i.values),h,e)),i}let M$2 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1$1).importNode(i,true);C$2.currentNode=e;let h=C$2.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$2(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$2(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$2.nextNode(),o++);}return C$2.currentNode=r$1$1,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$2 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$2,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$4(this,t,i),c$6(t)?t===E$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$2&&c$6(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$2.createElement(P$2(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$2(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$2.get(t.strings);return void 0===i&&A$2.set(t.strings,i=new N$2(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$2 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$2,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$4(this,t,i,0),o=!c$6(t)||t!==this._$AH&&t!==T$2,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$4(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$6(r)||r!==this._$AH[n],r===E$2?t=E$2:t!==E$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$2 = class H extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$2?void 0:t;}};let I$2 = class I extends k$2{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$2);}};let L$2 = class L extends k$2{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$4(this,t,i,0)??E$2)===T$2)return;const s=this._$AH,e=t===E$2&&s!==E$2||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$2&&(s===E$2||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$2 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$4(this,t);}};const j$2=t.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
3054
3164
 
3055
- /**
3056
- * @private
3057
- * @returns {void} Internal defaults.
3058
- */
3059
- privateDefaults() {
3060
- this.bordered = false;
3061
- this.chevron = false;
3062
- this.disabled = false;
3063
- this.error = false;
3064
- this.inset = false;
3065
- this.placement = 'bottom-start';
3066
- this.rounded = false;
3067
- this.tabIndex = 0;
3068
- this.noToggle = false;
3165
+ /**
3166
+ * @license
3167
+ * Copyright 2017 Google LLC
3168
+ * SPDX-License-Identifier: BSD-3-Clause
3169
+ */let r$8 = class r extends b$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$2(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$2}};r$8._$litElement$=true,r$8["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$8});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r$8});(globalThis.litElementVersions??=[]).push("4.1.1");
3069
3170
 
3070
- /**
3071
- * @private
3072
- */
3073
- this.hasTriggerContent = false;
3171
+ var colorCss$4 = i$3$1`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
3074
3172
 
3075
- /**
3076
- * @private
3077
- */
3078
- this.triggerContentSlot = undefined;
3173
+ var styleCss$4 = i$3$1`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
3079
3174
 
3080
- /**
3081
- * @private
3082
- */
3083
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
3175
+ var tokensCss$3 = i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
3084
3176
 
3085
- /**
3086
- * @private
3087
- */
3088
- this.floater = new AuroFloatingUI();
3177
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
3178
+ // See LICENSE in the project root for license information.
3089
3179
 
3090
- /**
3091
- * @private
3092
- */
3093
- this.floaterConfig = {
3094
- placement: 'bottom-start',
3095
- flip: true,
3096
- autoPlacement: false,
3097
- offset: 0,
3098
- };
3180
+ // ---------------------------------------------------------------------
3099
3181
 
3100
- /**
3101
- * Generate unique names for dependency components.
3102
- */
3103
- const versioning = new AuroDependencyVersioning();
3104
- this.iconTag = versioning.generateTag('auro-icon', iconVersion$1, AuroIcon$1);
3182
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
3183
+
3184
+ class AuroLibraryRuntimeUtils {
3185
+
3186
+ /* eslint-disable jsdoc/require-param */
3187
+
3188
+ /**
3189
+ * This will register a new custom element with the browser.
3190
+ * @param {String} name - The name of the custom element.
3191
+ * @param {Object} componentClass - The class to register as a custom element.
3192
+ * @returns {void}
3193
+ */
3194
+ registerComponent(name, componentClass) {
3195
+ if (!customElements.get(name)) {
3196
+ customElements.define(name, class extends componentClass {});
3197
+ }
3105
3198
  }
3106
3199
 
3107
3200
  /**
3108
- * Public method to hide the dropdown.
3201
+ * Finds and returns the closest HTML Element based on a selector.
3109
3202
  * @returns {void}
3110
3203
  */
3111
- hide() {
3112
- this.floater.hideBib();
3204
+ closestElement(
3205
+ selector, // selector like in .closest()
3206
+ base = this, // extra functionality to skip a parent
3207
+ __Closest = (el, found = el && el.closest(selector)) =>
3208
+ !el || el === document || el === window
3209
+ ? null // standard .closest() returns null for non-found selectors also
3210
+ : found
3211
+ ? found // found a selector INside this element
3212
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
3213
+ ) {
3214
+ return __Closest(base);
3113
3215
  }
3216
+ /* eslint-enable jsdoc/require-param */
3114
3217
 
3115
3218
  /**
3116
- * Public method to show the dropdown.
3219
+ * If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
3220
+ * @param {Object} elem - The element to check.
3221
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
3117
3222
  * @returns {void}
3118
3223
  */
3119
- show() {
3120
- this.floater.showBib();
3224
+ handleComponentTagRename(elem, tagName) {
3225
+ const tag = tagName.toLowerCase();
3226
+ const elemTag = elem.tagName.toLowerCase();
3227
+
3228
+ if (elemTag !== tag) {
3229
+ elem.setAttribute(tag, true);
3230
+ }
3231
+ }
3232
+
3233
+ /**
3234
+ * Validates if an element is a specific Auro component.
3235
+ * @param {Object} elem - The element to validate.
3236
+ * @param {String} tagName - The name of the Auro component to check against.
3237
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
3238
+ */
3239
+ elementMatch(elem, tagName) {
3240
+ const tag = tagName.toLowerCase();
3241
+ const elemTag = elem.tagName.toLowerCase();
3242
+
3243
+ return elemTag === tag || elem.hasAttribute(tag);
3244
+ }
3245
+ }
3246
+
3247
+ // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3248
+ // See LICENSE in the project root for license information.
3249
+
3250
+
3251
+ /**
3252
+ * Displays help text or error messages within form elements - Internal Use Only.
3253
+ *
3254
+ * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
3255
+ */
3256
+ class AuroHelpText extends r$8 {
3257
+
3258
+ constructor() {
3259
+ super();
3260
+
3261
+ this.error = false;
3262
+ this.hasTextContent = false;
3263
+
3264
+ AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-helptext');
3265
+ }
3266
+
3267
+ static get styles() {
3268
+ return [
3269
+ colorCss$4,
3270
+ styleCss$4,
3271
+ tokensCss$3
3272
+ ];
3273
+ }
3274
+
3275
+ // function to define props used within the scope of this component
3276
+ static get properties() {
3277
+ return {
3278
+
3279
+ /**
3280
+ * @private
3281
+ */
3282
+ slotNodes: {
3283
+ type: Boolean,
3284
+ },
3285
+
3286
+ /**
3287
+ * @private
3288
+ */
3289
+ hasTextContent: {
3290
+ type: Boolean,
3291
+ },
3292
+
3293
+ /**
3294
+ * If declared, make font color red.
3295
+ */
3296
+ error: {
3297
+ type: Boolean,
3298
+ reflect: true,
3299
+ },
3300
+ };
3301
+ }
3302
+
3303
+ /**
3304
+ * This will register this element with the browser.
3305
+ * @param {string} [name="auro-helptext"] - The name of element that you want to register to.
3306
+ *
3307
+ * @example
3308
+ * AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
3309
+ *
3310
+ */
3311
+ static register(name = "auro-helptext") {
3312
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
3313
+ }
3314
+
3315
+ updated() {
3316
+ this.handleSlotChange();
3317
+ }
3318
+
3319
+ handleSlotChange(event) {
3320
+ if (event) {
3321
+ this.slotNodes = event.target.assignedNodes();
3322
+ }
3323
+
3324
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
3325
+ }
3326
+
3327
+ /**
3328
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
3329
+ *
3330
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
3331
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
3332
+ * @private
3333
+ */
3334
+ checkSlotsForContent(nodes) {
3335
+ if (!nodes) {
3336
+ return false;
3337
+ }
3338
+
3339
+ return nodes.some((node) => {
3340
+ if (node.textContent.trim()) {
3341
+ return true;
3342
+ }
3343
+
3344
+ if (!node.querySelector) {
3345
+ return false;
3346
+ }
3347
+
3348
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
3349
+ if (!nestedSlot) {
3350
+ return false;
3351
+ }
3352
+
3353
+ const nestedSlotNodes = nestedSlot.assignedNodes();
3354
+ return this.checkSlotsForContent(nestedSlotNodes);
3355
+ });
3356
+ }
3357
+
3358
+ // function that renders the HTML and CSS into the scope of the component
3359
+ render() {
3360
+ return x`
3361
+ <div class="helptext-wrapper" ?visible="${this.hasTextContent}">
3362
+ <slot @slotchange=${this.handleSlotChange}></slot>
3363
+ </div>
3364
+ `;
3365
+ }
3366
+ }
3367
+
3368
+ var helpTextVersion = '1.0.0';
3369
+
3370
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3371
+ // See LICENSE in the project root for license information.
3372
+
3373
+
3374
+ /**
3375
+ * @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
3376
+ * @slot - Default slot for the popover content.
3377
+ * @slot label - Defines the content of the label.
3378
+ * @slot helpText - Defines the content of the helpText.
3379
+ * @slot trigger - Defines the content of the trigger.
3380
+ * @csspart trigger - The trigger content container.
3381
+ * @csspart chevron - The collapsed/expanded state icon container.
3382
+ * @csspart helpText - The helpText content container.
3383
+ * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
3384
+ * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
3385
+ */
3386
+ class AuroDropdown extends r$4 {
3387
+ constructor() {
3388
+ super();
3389
+
3390
+ this.isPopoverVisible = false;
3391
+ this.isBibFullscreen = false;
3392
+ this.matchWidth = false;
3393
+ this.noHideOnThisFocusLoss = false;
3394
+
3395
+ this.privateDefaults();
3396
+
3397
+ /**
3398
+ * @private
3399
+ * @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
3400
+ */
3401
+ this.constructor.shadowRootOptions = {
3402
+ ...r$4.shadowRootOptions,
3403
+ delegatesFocus: true,
3404
+ };
3405
+
3406
+ /**
3407
+ * @private
3408
+ */
3409
+ this.triggerContentFocusable = false;
3410
+
3411
+ /**
3412
+ * @private
3413
+ */
3414
+ this.showTriggerBorders = true;
3415
+ }
3416
+
3417
+ /**
3418
+ * @private
3419
+ * @returns {void} Internal defaults.
3420
+ */
3421
+ privateDefaults() {
3422
+ this.bordered = false;
3423
+ this.chevron = false;
3424
+ this.disabled = false;
3425
+ this.error = false;
3426
+ this.inset = false;
3427
+ this.placement = 'bottom-start';
3428
+ this.rounded = false;
3429
+ this.tabIndex = 0;
3430
+ this.noToggle = false;
3431
+
3432
+ /**
3433
+ * @private
3434
+ */
3435
+ this.hasTriggerContent = false;
3436
+
3437
+ /**
3438
+ * @private
3439
+ */
3440
+ this.triggerContentSlot = undefined;
3441
+
3442
+ /**
3443
+ * @private
3444
+ */
3445
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
3446
+
3447
+ /**
3448
+ * @private
3449
+ */
3450
+ this.floater = new AuroFloatingUI();
3451
+
3452
+ /**
3453
+ * @private
3454
+ */
3455
+ this.floaterConfig = {
3456
+ placement: 'bottom-start',
3457
+ flip: true,
3458
+ autoPlacement: false,
3459
+ offset: 0,
3460
+ };
3461
+
3462
+ /**
3463
+ * Generate unique names for dependency components.
3464
+ */
3465
+ const versioning = new AuroDependencyVersioning();
3466
+
3467
+ /**
3468
+ * @private
3469
+ */
3470
+ this.iconTag = versioning.generateTag('auro-icon', iconVersion$1, AuroIcon$1);
3471
+
3472
+ /**
3473
+ * @private
3474
+ */
3475
+ this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion$1, AuroDropdownBib);
3476
+
3477
+ /**
3478
+ * @private
3479
+ */
3480
+ this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion, AuroHelpText);
3481
+ }
3482
+
3483
+ /**
3484
+ * Public method to hide the dropdown.
3485
+ * @returns {void}
3486
+ */
3487
+ hide() {
3488
+ this.floater.hideBib();
3489
+ }
3490
+
3491
+ /**
3492
+ * Public method to show the dropdown.
3493
+ * @returns {void}
3494
+ */
3495
+ show() {
3496
+ this.floater.showBib();
3121
3497
  }
3122
3498
 
3123
3499
  // function to define props used within the scope of this component
@@ -3203,6 +3579,14 @@ class AuroDropdown extends r {
3203
3579
  type: Boolean
3204
3580
  },
3205
3581
 
3582
+ /**
3583
+ * If true, the dropdown bib is taking the fullscreen when it's open
3584
+ */
3585
+ isBibFullscreen: {
3586
+ type: Boolean,
3587
+ reflect: true,
3588
+ },
3589
+
3206
3590
  /**
3207
3591
  * If declared, the trigger will toggle the dropdown on mouseover/mouseout.
3208
3592
  */
@@ -3221,7 +3605,7 @@ class AuroDropdown extends r {
3221
3605
  /**
3222
3606
  * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
3223
3607
  */
3224
- mobileFullscreenBreakpoint: {
3608
+ fullscreenBreakpoint: {
3225
3609
  type: String,
3226
3610
  reflect: true
3227
3611
  },
@@ -3283,7 +3667,7 @@ class AuroDropdown extends r {
3283
3667
  return [
3284
3668
  colorCss$1$1,
3285
3669
  styleCss$1$1,
3286
- tokensCss$3
3670
+ tokensCss$1$1
3287
3671
  ];
3288
3672
  }
3289
3673
 
@@ -3296,7 +3680,7 @@ class AuroDropdown extends r {
3296
3680
  *
3297
3681
  */
3298
3682
  static register(name = "auro-dropdown") {
3299
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroDropdown);
3683
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
3300
3684
  }
3301
3685
 
3302
3686
  connectedCallback() {
@@ -3310,8 +3694,8 @@ class AuroDropdown extends r {
3310
3694
  updated(changedProperties) {
3311
3695
  this.floater.handleUpdate(changedProperties);
3312
3696
 
3313
- if (changedProperties.has('mobileFullscreenBreakpoint')) {
3314
- this.bibContent.mobileFullscreenBreakpoint = this.mobileFullscreenBreakpoint;
3697
+ if (changedProperties.has('fullscreenBreakpoint')) {
3698
+ this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3315
3699
  }
3316
3700
 
3317
3701
  // when trigger's content is changed without any attribute or node change,
@@ -3331,7 +3715,6 @@ class AuroDropdown extends r {
3331
3715
 
3332
3716
  /**
3333
3717
  * Exposes CSS parts for styling from parent components.
3334
- * @private
3335
3718
  * @returns {void}
3336
3719
  */
3337
3720
  exposeCssParts() {
@@ -3361,6 +3744,64 @@ class AuroDropdown extends r {
3361
3744
  return inCustomSlot;
3362
3745
  }
3363
3746
 
3747
+ /**
3748
+ * Determines if the element or any children are focusable.
3749
+ * @private
3750
+ * @param {HTMLElement} element - Element to check.
3751
+ * @returns {Boolean} - True if the element or any children are focusable.
3752
+ */
3753
+ containsFocusableElement(element) {
3754
+ this.showTriggerBorders = true;
3755
+
3756
+ const nodes = [
3757
+ element,
3758
+ ...element.children
3759
+ ];
3760
+
3761
+ const focusableElements = [
3762
+ 'a',
3763
+ 'auro-hyperlink',
3764
+ 'button',
3765
+ 'auro-button',
3766
+ 'input',
3767
+ 'auro-input',
3768
+ ];
3769
+
3770
+ const focusableElementsThatNeedBorders = ['auro-input'];
3771
+
3772
+ const result = nodes.some((node) => {
3773
+ const tagName = node.tagName.toLowerCase();
3774
+
3775
+ if (node.tabIndex > -1) {
3776
+ return true;
3777
+ }
3778
+
3779
+ if (focusableElements.includes(tagName)) {
3780
+ if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
3781
+ return true;
3782
+ }
3783
+ if (!node.hasAttribute('disabled')) {
3784
+ return true;
3785
+ }
3786
+ }
3787
+
3788
+ if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
3789
+ return true;
3790
+ }
3791
+
3792
+ return false;
3793
+ });
3794
+
3795
+ if (result) {
3796
+ this.showTriggerBorders = !nodes.some((node) => {
3797
+ const tagName = node.tagName.toLowerCase();
3798
+ return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
3799
+ });
3800
+ }
3801
+
3802
+ return result;
3803
+ }
3804
+
3364
3805
  /**
3365
3806
  * Handles changes to the trigger content slot and updates related properties.
3366
3807
  *
@@ -3370,12 +3811,30 @@ class AuroDropdown extends r {
3370
3811
  *
3371
3812
  * @private
3372
3813
  * @method handleTriggerContentSlotChange
3373
- * @param {Event} event - native slotchange event
3814
+ * @param {Event} event - Native slotchange event.
3374
3815
  * @returns {void}
3375
3816
  */
3376
3817
  handleTriggerContentSlotChange(event) {
3377
3818
  this.floater.handleTriggerTabIndex();
3378
3819
 
3820
+ const triggerContentNodes = this.shadowRoot.querySelector('.triggerContent slot').assignedNodes();
3821
+
3822
+ triggerContentNodes.forEach((node) => {
3823
+ if (!this.triggerContentFocusable) {
3824
+ this.triggerContentFocusable = this.containsFocusableElement(node);
3825
+ }
3826
+ });
3827
+
3828
+ const trigger = this.shadowRoot.querySelector('#trigger');
3829
+
3830
+ if (!this.triggerContentFocusable) {
3831
+ trigger.setAttribute('tabindex', '0');
3832
+ trigger.setAttribute('role', 'button');
3833
+ } else {
3834
+ trigger.removeAttribute('tabindex');
3835
+ trigger.removeAttribute('role');
3836
+ }
3837
+
3379
3838
  if (event) {
3380
3839
  this.triggerNode = event.target;
3381
3840
  this.triggerContentSlot = event.target.assignedNodes();
@@ -3420,16 +3879,15 @@ class AuroDropdown extends r {
3420
3879
 
3421
3880
  // function that renders the HTML and CSS into the scope of the component
3422
3881
  render() {
3423
- return u$1`
3882
+ return u$3`
3424
3883
  <div>
3425
3884
  <div
3426
3885
  id="trigger"
3427
3886
  class="trigger"
3428
3887
  part="trigger"
3429
- role="button"
3430
3888
  aria-labelledby="triggerLabel"
3431
- aria-controls="popover"
3432
3889
  tabindex="${this.tabIndex}"
3890
+ ?showBorder="${this.showTriggerBorders}"
3433
3891
  >
3434
3892
  <div class="triggerContentWrapper">
3435
3893
  <label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
@@ -3438,10 +3896,10 @@ class AuroDropdown extends r {
3438
3896
  <div class="triggerContent">
3439
3897
  <slot
3440
3898
  name="trigger"
3441
- @slotchange="${(event) => this.handleTriggerContentSlotChange(event)}"></slot>
3899
+ @slotchange="${this.handleTriggerContentSlotChange}"></slot>
3442
3900
  </div>
3443
3901
  </div>
3444
- ${this.chevron || this.common ? u$1`
3902
+ ${this.chevron || this.common ? u$3`
3445
3903
  <div
3446
3904
  id="showStateIcon"
3447
3905
  part="chevron">
@@ -3455,36 +3913,175 @@ class AuroDropdown extends r {
3455
3913
  </div>
3456
3914
  ` : undefined }
3457
3915
  </div>
3458
- <div
3459
- class="helpText"
3460
- part="helpText">
3916
+ <${this.helpTextTag} part="helpText" ?error="${this.error}">
3461
3917
  <slot name="helpText"></slot>
3462
- </div>
3918
+ </${this.helpTextTag}>
3463
3919
  <div class="slotContent">
3464
3920
  <slot @slotchange="${this.handleDefaultSlot}"></slot>
3465
3921
  </div>
3466
3922
  <div id="bibSizer" part="size"></div>
3467
- <auro-dropdownbib
3923
+ <${this.dropdownBibTag}
3468
3924
  id="bib"
3469
3925
  role="tooltip"
3926
+ ?isfullscreen="${this.isBibFullscreen}"
3470
3927
  ?common="${this.common}"
3471
3928
  ?rounded="${this.common || this.rounded}"
3472
3929
  ?inset="${this.common || this.inset}">
3473
- </auro-dropdownbib>
3930
+ </${this.dropdownBibTag}>
3474
3931
  </div>
3475
3932
  `;
3476
3933
  }
3477
3934
  }
3478
3935
 
3479
- AuroDropdown.register();
3480
-
3481
3936
  var dropdownVersion = '3.0.0';
3482
3937
 
3483
- var styleCss$3 = i$b`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[slot=trigger]{width:100%;padding:0;border:0;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left}[slot=trigger] .nestingSpacer{display:none}[slot=trigger] #placeholder.hidden{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host [auro-dropdown]{position:relative}:host [auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}:host [auro-dropdown]::part(popover){max-width:-webkit-fill-available;overflow-y:scroll}:host([disabled]) *{user-select:none}.outerWrapper{position:relative}auro-menuoption{padding:0;pointer-events:none}.menuWrapper{padding:var(--ds-size-50, 0.25rem) 0}.selectElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:1rem}`;
3938
+ /**
3939
+ * @license
3940
+ * Copyright 2019 Google LLC
3941
+ * SPDX-License-Identifier: BSD-3-Clause
3942
+ */
3943
+ const t$2=globalThis,e$4=t$2.ShadowRoot&&(void 0===t$2.ShadyCSS||t$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2=Symbol(),o$4=new WeakMap;let n$3 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$4.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$3("string"==typeof t?t:t+"",void 0,s$2),i$5=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$3(o,t,s$2)},S$1=(s,o)=>{if(e$4)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
3944
+
3945
+ /**
3946
+ * @license
3947
+ * Copyright 2017 Google LLC
3948
+ * SPDX-License-Identifier: BSD-3-Clause
3949
+ */const{is:i$4,defineProperty:e$3,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$3,getPrototypeOf:n$2}=Object,a$2=globalThis,c$1=a$2.trustedTypes,l$2=c$1?c$1.emptyScript:"",p$1=a$2.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$4(t,s),y$1={attribute:true,type:String,converter:u$2,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$2.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$3(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$3(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$2).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$2;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$2.reactiveElementVersions??=[]).push("2.0.4");
3950
+
3951
+ /**
3952
+ * @license
3953
+ * Copyright 2017 Google LLC
3954
+ * SPDX-License-Identifier: BSD-3-Clause
3955
+ */
3956
+ const t$1=globalThis,i$3=t$1.trustedTypes,s$1=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$2="?"+h,n$1=`<${o$2}>`,r$1=document,l$1=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u$1=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$1?s$1.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n$1:d>=0?(o.push(a),s.slice(0,d)+e$2+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$2)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$3?i$3.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$1()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$1());}}}else if(8===r.nodeType)if(r.data===o$2)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$1()),this.O(l$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t$1.litHtmlPolyfillSupport;j?.(N,R),(t$1.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l$1(),t),t,void 0,s??{});}return h._$AI(t),h};
3957
+
3958
+ /**
3959
+ * @license
3960
+ * Copyright 2017 Google LLC
3961
+ * SPDX-License-Identifier: BSD-3-Clause
3962
+ */class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i$2=globalThis.litElementPolyfillSupport;i$2?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
3963
+
3964
+ i$5`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-250: 1.25rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 300;--ds-depth-tooltip: 400;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #d4d4d4;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #d4d4d4;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder]{color:var(--ds-color-text-secondary-default, #525252)}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
3484
3965
 
3485
- var colorCss$3 = i$b`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host [auro-dropdown]::part(trigger):hover{--ds-auro-dropdown-trigger-container-color: rgba(0 0 0 / 0.06)}:host([disabled]) *{color:var(--ds-color-text-ui-disabled-default, #adadad)}.placeholder{color:var(--ds-auro-select-placeholder-text-color)}`;
3966
+ i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color) !important}`;
3486
3967
 
3487
- var tokensCss$2 = i$b`:host{--ds-auro-select-placeholder-text-color: var(--ds-color-text-secondary-default, $ds-color-text-secondary-default)}`;
3968
+ i$5`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-default, $ds-color-border-divider-default);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-color-text-primary-default, $ds-color-text-primary-default)}`;
3969
+
3970
+ // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3971
+ // See LICENSE in the project root for license information.
3972
+
3973
+ // ---------------------------------------------------------------------
3974
+
3975
+ /**
3976
+ * Converts value to an array.
3977
+ * If the value is a JSON string representing an array, it will be parsed.
3978
+ * If the value is already an array, it is returned.
3979
+ * If the value is undefined, it returns undefined.
3980
+ * @private
3981
+ * @param {any} value - The value to be converted. Can be a string, array, or undefined.
3982
+ * @returns {Array|undefined} - The converted array or undefined.
3983
+ * @throws {Error} - Throws an error if the value is not an array, undefined,
3984
+ * or if the value cannot be parsed into an array from a JSON string.
3985
+ */
3986
+ function arrayConverter$1(value) {
3987
+ // Allow undefined
3988
+ if (value === undefined) {
3989
+ return undefined;
3990
+ }
3991
+
3992
+ // Return the value if it is already an array
3993
+ if (Array.isArray(value)) {
3994
+ return value;
3995
+ }
3996
+
3997
+ try {
3998
+ // If value is a JSON string, parse it
3999
+ const parsed = typeof value === 'string' ? JSON.parse(value) : value;
4000
+
4001
+ // Check if the parsed value is an array
4002
+ if (Array.isArray(parsed)) {
4003
+ return parsed;
4004
+ }
4005
+ } catch (error) {
4006
+ // If JSON parsing fails, continue to throw an error below
4007
+ /* eslint-disable no-console */
4008
+ console.error('JSON parsing failed:', error);
4009
+ }
4010
+
4011
+ // Throw error if the input is not an array or undefined
4012
+ throw new Error('Invalid value: Input must be an array or undefined');
4013
+ }
4014
+
4015
+ /**
4016
+ * Compare two arrays for equality.
4017
+ * @private
4018
+ * @param {Array} arr1 - First array to compare.
4019
+ * @param {Array} arr2 - Second array to compare.
4020
+ * @returns {boolean} True if arrays are equal.
4021
+ */
4022
+ function arraysAreEqual$1(arr1, arr2) {
4023
+ // If both arrays undefined, they are equal (true)
4024
+ if (arr1 === undefined || arr2 === undefined) {
4025
+ return arr1 === arr2;
4026
+ }
4027
+
4028
+ // If arrays have different lengths, they are not equal
4029
+ if (arr1.length !== arr2.length) {
4030
+ return false;
4031
+ }
4032
+
4033
+ // If every item at each index is the same, return true
4034
+ for (let index = 0; index < arr1.length; index += 1) {
4035
+ if (arr1[index] !== arr2[index]) {
4036
+ return false;
4037
+ }
4038
+ }
4039
+ return true;
4040
+ }
4041
+
4042
+ /**
4043
+ * Compares array for changes.
4044
+ * @private
4045
+ * @param {Array|any} newVal - New value to compare.
4046
+ * @param {Array|any} oldVal - Old value to compare.
4047
+ * @returns {boolean} True if arrays have changed.
4048
+ */
4049
+ function arrayOrUndefinedHasChanged$1(newVal, oldVal) {
4050
+ try {
4051
+ // Check if values are undefined or arrays
4052
+ const isArrayOrUndefined = (val) => val === undefined || Array.isArray(val);
4053
+
4054
+ // If non-array or non-undefined, throw error
4055
+ if (!isArrayOrUndefined(newVal) || !isArrayOrUndefined(oldVal)) {
4056
+ const invalidValue = isArrayOrUndefined(newVal) ? oldVal : newVal;
4057
+ throw new Error(`Value must be an array or undefined, received ${typeof invalidValue}`);
4058
+ }
4059
+
4060
+ // Return true if arrays have changed, false if they are the same
4061
+ return !arraysAreEqual$1(newVal, oldVal);
4062
+ } catch (error) {
4063
+ /* eslint-disable no-console */
4064
+ console.error(error);
4065
+ // If validation fails, it has changed
4066
+ return true;
4067
+ }
4068
+ }
4069
+
4070
+ i$5`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
4071
+
4072
+ i$5`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color) !important}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-menuoption-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-active-default, #225296)}`;
4073
+
4074
+ i$5`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
4075
+
4076
+ i$5`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
4077
+
4078
+ i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
4079
+
4080
+ var styleCss$3 = i$f`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[slot=trigger]{width:100%;padding:0;border:0;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left}[slot=trigger] .nestingSpacer{display:none}[slot=trigger] #placeholder.hidden{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host [auro-dropdown]{position:relative}:host [auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}:host [auro-dropdown]::part(popover){max-width:-webkit-fill-available;overflow-y:scroll}:host([disabled]) *{user-select:none}.outerWrapper{position:relative}auro-menuoption{padding:0;pointer-events:none}.menuWrapper{padding:var(--ds-size-50, 0.25rem) 0}:host([multiselect]) [slot=trigger]{display:flex}:host([multiselect]) auro-menuoption:not(:first-child){margin-left:var(--ds-size-100)}`;
4081
+
4082
+ var colorCss$3 = i$f`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host [auro-dropdown]::part(trigger):hover{--ds-auro-dropdown-trigger-container-color: rgba(0 0 0 / 0.06)}:host([disabled]) *{color:var(--ds-color-text-ui-disabled-default, #adadad)}.placeholder{color:var(--ds-auro-select-placeholder-text-color)}`;
4083
+
4084
+ var tokensCss$2 = i$f`:host{--ds-auro-select-placeholder-text-color: var(--ds-color-text-secondary-default, $ds-color-text-secondary-default)}`;
3488
4085
 
3489
4086
  // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3490
4087
  // See LICENSE in the project root for license information.
@@ -3499,17 +4096,18 @@ var tokensCss$2 = i$b`:host{--ds-auro-select-placeholder-text-color: var(--ds-co
3499
4096
  * @slot helpText - Defines the content of the helpText.
3500
4097
  * @slot placeholder - Defines the content of the placeholder to be shown when there is no value
3501
4098
  * @event auroSelect-valueSet - Notifies that the component has a new value set.
4099
+ * @event input - Notifies every time the value prop of the element is changed.
3502
4100
  * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
3503
4101
  * @csspart helpText - Apply CSS to the help text.
3504
4102
  */
3505
4103
 
3506
4104
  // build the component class
3507
- class AuroSelect extends r$4 {
4105
+ class AuroSelect extends r$9 {
3508
4106
  constructor() {
3509
4107
  super();
3510
4108
 
3511
4109
  this.optionSelected = undefined;
3512
- this.validity = undefined;
4110
+ this.value = undefined;
3513
4111
 
3514
4112
  const idLength = 36;
3515
4113
  const idSubstrEnd = 8;
@@ -3530,7 +4128,7 @@ class AuroSelect extends r$4 {
3530
4128
  /**
3531
4129
  * @private
3532
4130
  */
3533
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
4131
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
3534
4132
 
3535
4133
  /**
3536
4134
  * Generate unique names for dependency components.
@@ -3606,7 +4204,9 @@ class AuroSelect extends r$4 {
3606
4204
  * Specifies the current selected menuOption.
3607
4205
  */
3608
4206
  optionSelected: {
3609
- type: Object
4207
+ // Allow HTMLElement[] arrays and undefined
4208
+ converter: arrayConverter$1,
4209
+ hasChanged: arrayOrUndefinedHasChanged$1
3610
4210
  },
3611
4211
 
3612
4212
  /**
@@ -3665,8 +4265,19 @@ class AuroSelect extends r$4 {
3665
4265
  * Value selected for the component.
3666
4266
  */
3667
4267
  value: {
3668
- type: String
3669
- }
4268
+ // Allow string[] arrays and undefined
4269
+ converter: arrayConverter$1,
4270
+ hasChanged: arrayOrUndefinedHasChanged$1
4271
+ },
4272
+
4273
+ /**
4274
+ * Sets multi-select mode, allowing multiple options to be selected at once.
4275
+ */
4276
+ multiSelect: {
4277
+ type: Boolean,
4278
+ reflect: true,
4279
+ attribute: 'multiselect'
4280
+ },
3670
4281
  };
3671
4282
  }
3672
4283
 
@@ -3704,33 +4315,34 @@ class AuroSelect extends r$4 {
3704
4315
  *
3705
4316
  */
3706
4317
  static register(name = "auro-select") {
3707
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroSelect);
4318
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroSelect);
3708
4319
  }
3709
4320
 
3710
4321
  /**
3711
- * Updates the displayed value in an Auro dropdown component based on optionSelected
4322
+ * Updates the displayed value in an Auro dropdown component based on optionSelected.
3712
4323
  * @private
3713
4324
  * @returns {void}
3714
4325
  */
3715
4326
  updateDisplayedValue() {
3716
4327
  const triggerContentEl = this.dropdown.querySelector('#triggerFocus');
3717
4328
 
3718
- // remove all existing rendered value(s)
3719
- triggerContentEl.querySelectorAll('auro-menuoption, [auro-menuoption]').forEach((elm) => {
3720
- elm.remove();
3721
- });
4329
+ // Clear everything except placeholder
4330
+ const placeholder = triggerContentEl.querySelector('#placeholder');
4331
+ triggerContentEl.innerHTML = '';
4332
+ if (placeholder) {
4333
+ triggerContentEl.appendChild(placeholder);
4334
+ }
3722
4335
 
3723
- if (this.optionSelected) {
3724
- // clone the selected option and remove attributes that style it
3725
- const clone = this.optionSelected.cloneNode(true);
3726
- clone.removeAttribute('selected');
3727
- clone.removeAttribute('class');
4336
+ // Handle selected options
4337
+ if (this.optionSelected && this.optionSelected.length) {
4338
+ // Create display text from selected options
4339
+ const displayText = this.optionSelected.map((option) => option.textContent).join(', ');
3728
4340
 
3729
- // insert the non-styled clone into the trigger
3730
- triggerContentEl.appendChild(clone);
4341
+ const span = document.createElement('span');
4342
+ span.textContent = displayText;
4343
+ triggerContentEl.appendChild(span);
3731
4344
  }
3732
4345
 
3733
- // notify dropdown as trigger content is changed
3734
4346
  this.dropdown.requestUpdate();
3735
4347
  }
3736
4348
 
@@ -3750,6 +4362,10 @@ class AuroSelect extends r$4 {
3750
4362
  return;
3751
4363
  }
3752
4364
 
4365
+ if (this.multiSelect) {
4366
+ this.menu.multiSelect = this.multiSelect;
4367
+ }
4368
+
3753
4369
  this.menu.addEventListener("auroMenu-loadingChange", (event) => this.handleMenuLoadingChange(event));
3754
4370
  this.menu.setAttribute('aria-hidden', 'true');
3755
4371
 
@@ -3760,8 +4376,10 @@ class AuroSelect extends r$4 {
3760
4376
  });
3761
4377
 
3762
4378
  this.menu.addEventListener('auroMenu-selectedOption', () => {
4379
+ // Get array of selected options from menu
3763
4380
  this.optionSelected = this.menu.optionSelected;
3764
- this.value = this.optionSelected.value;
4381
+ // For single select, we still use arrays but only take first value
4382
+ this.value = this.menu.value;
3765
4383
 
3766
4384
  if (this.dropdown.isPopoverVisible) {
3767
4385
  this.dropdown.hide();
@@ -3776,7 +4394,7 @@ class AuroSelect extends r$4 {
3776
4394
  * with `auro-select.value`.
3777
4395
  */
3778
4396
  this.menu.addEventListener('auroMenu-selectValueFailure', () => {
3779
- this.reset();
4397
+ this.menu.clearSelection();
3780
4398
  });
3781
4399
 
3782
4400
  this.menu.addEventListener('auroMenu-selectValueReset', () => {
@@ -3801,7 +4419,7 @@ class AuroSelect extends r$4 {
3801
4419
  this.dropdown.show();
3802
4420
 
3803
4421
  if (this.dropdown.isPopoverVisible) {
3804
- this.menu.selectNextItem('up');
4422
+ this.menu.navigateOptions('up');
3805
4423
  }
3806
4424
  }
3807
4425
 
@@ -3811,7 +4429,7 @@ class AuroSelect extends r$4 {
3811
4429
  this.dropdown.show();
3812
4430
 
3813
4431
  if (this.dropdown.isPopoverVisible) {
3814
- this.menu.selectNextItem('down');
4432
+ this.menu.navigateOptions('down');
3815
4433
  }
3816
4434
  }
3817
4435
 
@@ -3874,7 +4492,7 @@ class AuroSelect extends r$4 {
3874
4492
  * input as no longer in the initial state.
3875
4493
  */
3876
4494
  if (this.value === undefined) {
3877
- this.value = '';
4495
+ this.value = undefined;
3878
4496
  this.removeEventListener('focusin', this.handleFocusin);
3879
4497
  }
3880
4498
  }
@@ -3932,22 +4550,33 @@ class AuroSelect extends r$4 {
3932
4550
  }
3933
4551
  }
3934
4552
 
3935
- updated(changedProperties) {
3936
- // After the component is ready, send direct value changes to auro-menu.
4553
+ async updated(changedProperties) {
3937
4554
  if (changedProperties.has('value')) {
3938
4555
  if (this.value) {
3939
4556
  this.menu.value = this.value;
4557
+
4558
+ // Wait for menu to finish updating its value
4559
+ await this.menu.updateComplete;
4560
+
4561
+ this.optionSelected = this.menu.optionSelected;
3940
4562
  } else {
3941
4563
  this.menu.value = undefined;
3942
4564
  }
3943
4565
 
3944
4566
  this.validation.validate(this);
3945
4567
 
4568
+ // LEGACY EVENT
3946
4569
  this.dispatchEvent(new CustomEvent('auroSelect-valueSet', {
3947
4570
  bubbles: true,
3948
4571
  cancelable: false,
3949
4572
  composed: true,
3950
4573
  }));
4574
+
4575
+ this.dispatchEvent(new CustomEvent('input', {
4576
+ bubbles: true,
4577
+ cancelable: true,
4578
+ composed: true,
4579
+ }));
3951
4580
  }
3952
4581
 
3953
4582
  if (changedProperties.has('optionSelected')) {
@@ -3955,7 +4584,7 @@ class AuroSelect extends r$4 {
3955
4584
  }
3956
4585
 
3957
4586
  if (changedProperties.has('error')) {
3958
- this.validation.validate(this, true);
4587
+ this.validate(true);
3959
4588
  }
3960
4589
  }
3961
4590
 
@@ -3967,6 +4596,14 @@ class AuroSelect extends r$4 {
3967
4596
  this.validation.reset(this);
3968
4597
  }
3969
4598
 
4599
+ /**
4600
+ * Validates value.
4601
+ * @param {boolean} [force=false] - Whether to force validation.
4602
+ */
4603
+ validate(force = false) {
4604
+ this.validation.validate(this, force);
4605
+ }
4606
+
3970
4607
  // When using auroElement, use the following attribute and function when hiding content from screen readers.
3971
4608
  // aria-hidden="${this.hideAudible(this.hiddenAudible)}"
3972
4609
 
@@ -3976,18 +4613,18 @@ class AuroSelect extends r$4 {
3976
4613
  hidden: this.value,
3977
4614
  };
3978
4615
 
3979
- return u$3`
4616
+ return u$5`
3980
4617
  <div class="outerWrapper">
3981
4618
  <div aria-live="polite" class="util_displayHiddenVisually">
3982
4619
  ${this.optionActive && this.options.length > 0
3983
- ? u$3`
4620
+ ? u$5`
3984
4621
  ${`${this.optionActive.innerText}, option ${this.options.indexOf(this.optionActive) + 1} of ${this.options.length}`}
3985
4622
  `
3986
4623
  : undefined
3987
4624
  };
3988
4625
 
3989
4626
  ${this.optionSelected && this.options.length > 0
3990
- ? u$3`
4627
+ ? u$5`
3991
4628
  ${`${this.optionSelected.innerText} selected`}
3992
4629
  `
3993
4630
  : undefined
@@ -4002,23 +4639,23 @@ class AuroSelect extends r$4 {
4002
4639
  chevron
4003
4640
  part="dropdown">
4004
4641
  <span slot="trigger" aria-haspopup="true" id="triggerFocus">
4005
- <span id="placeholder" class="${e$5(placeholderClass)}"><slot name="placeholder"></slot></span>
4642
+ <span id="placeholder" class="${e$8(placeholderClass)}"><slot name="placeholder"></slot></span>
4006
4643
  </span>
4007
4644
  <div class="menuWrapper">
4008
4645
  </div>
4009
4646
  <slot name="label" slot="label"></slot>
4010
- <span slot="helpText">
4647
+ <p slot="helpText">
4011
4648
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
4012
- ? u$3`
4013
- <p class="selectElement-helpText" id="${this.uniqueId}" part="helpText">
4649
+ ? u$5`
4650
+ <span id="${this.uniqueId}" part="helpText">
4014
4651
  <slot name="helpText"></slot>
4015
- </p>`
4016
- : u$3`
4017
- <p class="selectElement-helpText" id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
4652
+ </span>`
4653
+ : u$5`
4654
+ <span id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
4018
4655
  ${this.errorMessage}
4019
- </p>`
4656
+ </span>`
4020
4657
  }
4021
- </span>
4658
+ </p>
4022
4659
  </${this.dropdownTag}>
4023
4660
  <!-- Help text and error message template -->
4024
4661
  </div>
@@ -4026,32 +4663,167 @@ class AuroSelect extends r$4 {
4026
4663
  }
4027
4664
  }
4028
4665
 
4029
- var styleCss$2 = i$b`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-250: 1.25rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 300;--ds-depth-tooltip: 400;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #d4d4d4;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #d4d4d4;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder]{color:var(--ds-color-text-secondary-default, #525252)}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
4666
+ var styleCss$2 = i$f`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-250: 1.25rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 300;--ds-depth-tooltip: 400;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #d4d4d4;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #d4d4d4;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder]{color:var(--ds-color-text-secondary-default, #525252)}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
4667
+
4668
+ var colorCss$2 = i$f`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color) !important}`;
4669
+
4670
+ var tokensCss$1 = i$f`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-default, $ds-color-border-divider-default);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-color-text-primary-default, $ds-color-text-primary-default)}`;
4671
+
4672
+ // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4673
+ // See LICENSE in the project root for license information.
4674
+
4675
+ // ---------------------------------------------------------------------
4676
+
4677
+ /**
4678
+ * Converts value to an array.
4679
+ * If the value is a JSON string representing an array, it will be parsed.
4680
+ * If the value is already an array, it is returned.
4681
+ * If the value is undefined, it returns undefined.
4682
+ * @private
4683
+ * @param {any} value - The value to be converted. Can be a string, array, or undefined.
4684
+ * @returns {Array|undefined} - The converted array or undefined.
4685
+ * @throws {Error} - Throws an error if the value is not an array, undefined,
4686
+ * or if the value cannot be parsed into an array from a JSON string.
4687
+ */
4688
+ function arrayConverter(value) {
4689
+ // Allow undefined
4690
+ if (value === undefined) {
4691
+ return undefined;
4692
+ }
4693
+
4694
+ // Return the value if it is already an array
4695
+ if (Array.isArray(value)) {
4696
+ return value;
4697
+ }
4698
+
4699
+ try {
4700
+ // If value is a JSON string, parse it
4701
+ const parsed = typeof value === 'string' ? JSON.parse(value) : value;
4702
+
4703
+ // Check if the parsed value is an array
4704
+ if (Array.isArray(parsed)) {
4705
+ return parsed;
4706
+ }
4707
+ } catch (error) {
4708
+ // If JSON parsing fails, continue to throw an error below
4709
+ /* eslint-disable no-console */
4710
+ console.error('JSON parsing failed:', error);
4711
+ }
4712
+
4713
+ // Throw error if the input is not an array or undefined
4714
+ throw new Error('Invalid value: Input must be an array or undefined');
4715
+ }
4716
+
4717
+ /**
4718
+ * Compare two arrays for equality.
4719
+ * @private
4720
+ * @param {Array} arr1 - First array to compare.
4721
+ * @param {Array} arr2 - Second array to compare.
4722
+ * @returns {boolean} True if arrays are equal.
4723
+ */
4724
+ function arraysAreEqual(arr1, arr2) {
4725
+ // If both arrays undefined, they are equal (true)
4726
+ if (arr1 === undefined || arr2 === undefined) {
4727
+ return arr1 === arr2;
4728
+ }
4729
+
4730
+ // If arrays have different lengths, they are not equal
4731
+ if (arr1.length !== arr2.length) {
4732
+ return false;
4733
+ }
4734
+
4735
+ // If every item at each index is the same, return true
4736
+ for (let index = 0; index < arr1.length; index += 1) {
4737
+ if (arr1[index] !== arr2[index]) {
4738
+ return false;
4739
+ }
4740
+ }
4741
+ return true;
4742
+ }
4743
+
4744
+ /**
4745
+ * Compares array for changes.
4746
+ * @private
4747
+ * @param {Array|any} newVal - New value to compare.
4748
+ * @param {Array|any} oldVal - Old value to compare.
4749
+ * @returns {boolean} True if arrays have changed.
4750
+ */
4751
+ function arrayOrUndefinedHasChanged(newVal, oldVal) {
4752
+ try {
4753
+ // Check if values are undefined or arrays
4754
+ const isArrayOrUndefined = (val) => val === undefined || Array.isArray(val);
4755
+
4756
+ // If non-array or non-undefined, throw error
4757
+ if (!isArrayOrUndefined(newVal) || !isArrayOrUndefined(oldVal)) {
4758
+ const invalidValue = isArrayOrUndefined(newVal) ? oldVal : newVal;
4759
+ throw new Error(`Value must be an array or undefined, received ${typeof invalidValue}`);
4760
+ }
4761
+
4762
+ // Return true if arrays have changed, false if they are the same
4763
+ return !arraysAreEqual(newVal, oldVal);
4764
+ } catch (error) {
4765
+ /* eslint-disable no-console */
4766
+ console.error(error);
4767
+ // If validation fails, it has changed
4768
+ return true;
4769
+ }
4770
+ }
4771
+
4772
+ /**
4773
+ * Validates if an option can be interacted with.
4774
+ * @private
4775
+ * @param {HTMLElement} option - The option to check.
4776
+ * @returns {boolean} True if option is interactive.
4777
+ */
4778
+ function isOptionInteractive(option) {
4779
+ return !option.hasAttribute('hidden') &&
4780
+ !option.hasAttribute('disabled') &&
4781
+ !option.hasAttribute('static');
4782
+ }
4783
+
4784
+ /**
4785
+ * Helper method to dispatch custom events.
4786
+ * @param {HTMLElement} element - Element to dispatch event from.
4787
+ * @param {string} eventName - Name of the event to dispatch.
4788
+ * @param {Object} [detail] - Optional detail object to include with the event.
4789
+ */
4790
+ function dispatchMenuEvent(element, eventName, detail = null) {
4791
+ const eventConfig = {
4792
+ bubbles: true,
4793
+ cancelable: false,
4794
+ composed: true
4795
+ };
4030
4796
 
4031
- var colorCss$2 = i$b`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color) !important}`;
4797
+ if (detail !== null) {
4798
+ eventConfig.detail = detail;
4799
+ }
4032
4800
 
4033
- var tokensCss$1 = i$b`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-default, $ds-color-border-divider-default);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-color-text-primary-default, $ds-color-text-primary-default)}`;
4801
+ element.dispatchEvent(new CustomEvent(eventName, eventConfig));
4802
+ }
4034
4803
 
4035
4804
  // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4036
4805
  // See LICENSE in the project root for license information.
4037
4806
 
4038
4807
 
4808
+
4039
4809
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
4040
4810
  /**
4041
4811
  * The auro-menu element provides users a way to select from a list of options.
4042
- * @attr {Object} optionSelected - Specifies the current selected menuOption.
4043
- * @attr {String} matchWord - Specifies a string used to highlight matched string parts in options.
4044
- * @attr {Boolean} disabled - When true, the entire menu and all options are disabled;
4045
- * @attr {Boolean} noCheckmark - When true, selected option will not show the checkmark.
4046
- * @attr {Boolean} loading - When true, displays a loading state using the loadingIcon and loadingText slots if provided.
4047
- * @attr {String} value - Value selected for the menu.
4048
- * @prop {Boolean} hasLoadingPlaceholder - Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
4049
- * @event auroMenu-selectedOption - Notifies that a new menuoption selection has been made.
4050
- * @event auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
4051
- * @event auroMenu-selectValueFailure - Notifies that a an attempt to select a menuoption by matching a value has failed.
4052
- * @event auroMenu-selectValueReset - Notifies that the component value has been reset.
4053
- * @event auroMenu-customEventFired - Notifies that a custom event has been fired.
4054
- * @event auroMenu-loadingChange - Notifies when the loading attribute is changed.
4812
+ * @attr {Array<HTMLElement>|undefined} optionselected - An array of currently selected menu options. In single-select mode, the array will contain only one HTMLElement. `undefined` when no options are selected.
4813
+ * @attr {object} optionactive - Specifies the current active menuOption.
4814
+ * @attr {string} matchword - Specifies a string used to highlight matched string parts in options.
4815
+ * @attr {boolean} disabled - When true, the entire menu and all options are disabled;
4816
+ * @attr {boolean} nocheckmark - When true, selected option will not show the checkmark.
4817
+ * @attr {boolean} loading - When true, displays a loading state using the loadingIcon and loadingText slots if provided.
4818
+ * @attr {boolean} multiselect - When true, the selected option can be multiple options.
4819
+ * @attr {Array<string>|undefined} value - Value selected for the menu. `undefined` when no selection has been made, otherwise an array of strings. In single-select mode, the array will contain only one value.
4820
+ * @prop {boolean} hasLoadingPlaceholder - Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
4821
+ * @event {CustomEvent<Element>} auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
4822
+ * @event {CustomEvent<any>} auroMenu-customEventFired - Notifies that a custom event has been fired.
4823
+ * @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Notifies when the loading attribute is changed.
4824
+ * @event {CustomEvent<any>} auroMenu-selectValueFailure - Notifies that an attempt to select a menuoption by matching a value has failed.
4825
+ * @event {CustomEvent<any>} auroMenu-selectValueReset - Notifies that the component value has been reset.
4826
+ * @event {CustomEvent<any>} auroMenu-selectedOption - Notifies that a new menuoption selection has been made.
4055
4827
  * @slot loadingText - Text to show while loading attribute is set
4056
4828
  * @slot loadingIcon - Icon to show while loading attribute is set
4057
4829
  * @slot - Slot for insertion of menu options.
@@ -4059,55 +4831,107 @@ var tokensCss$1 = i$b`:host{--ds-auro-menu-divider-color: var(--ds-color-border-
4059
4831
 
4060
4832
  /* eslint-disable no-magic-numbers, max-lines */
4061
4833
 
4062
- class AuroMenu extends r$4 {
4834
+ class AuroMenu extends r$9 {
4063
4835
  constructor() {
4064
4836
  super();
4837
+
4838
+ // State properties (reactive)
4839
+
4840
+ // Value of the selected options
4065
4841
  this.value = undefined;
4842
+ // Currently selected option
4066
4843
  this.optionSelected = undefined;
4844
+ // String used for highlighting/filtering
4067
4845
  this.matchWord = undefined;
4846
+ // Hide the checkmark icon on selected options
4068
4847
  this.noCheckmark = false;
4848
+ // Currently active option
4069
4849
  this.optionActive = undefined;
4850
+ // Loading state
4070
4851
  this.loading = false;
4852
+ // Multi-select mode
4853
+ this.multiSelect = false;
4854
+
4855
+ // Event Bindings
4071
4856
 
4072
4857
  /**
4073
4858
  * @private
4074
4859
  */
4075
- this.rootMenu = true;
4860
+ this.handleKeyDown = this.handleKeyDown.bind(this);
4076
4861
 
4077
4862
  /**
4078
4863
  * @private
4079
4864
  */
4080
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
4865
+ this.handleMouseSelect = this.handleMouseSelect.bind(this);
4081
4866
 
4082
4867
  /**
4083
4868
  * @private
4084
4869
  */
4085
- this.nestingSpacer = '<span class="nestingSpacer"></span>';
4870
+ this.handleOptionHover = this.handleOptionHover.bind(this);
4086
4871
 
4087
4872
  /**
4088
4873
  * @private
4089
4874
  */
4090
- this.loadingSlots = null;
4875
+ this.handleSlotChange = this.handleSlotChange.bind(this);
4876
+
4877
+ // Instance properties (non-reactive)
4878
+
4879
+ /**
4880
+ * @private
4881
+ */
4882
+ Object.assign(this, {
4883
+ // Root-level menu (true) or a nested submenu (false)
4884
+ rootMenu: true,
4885
+ // Currently focused/active menu item index
4886
+ index: -1,
4887
+ // Nested menu spacer
4888
+ nestingSpacer: '<span class="nestingSpacer"></span>',
4889
+ // Loading indicator for slot elements
4890
+ loadingSlots: null,
4891
+ // Store for menu items
4892
+ items: [],
4893
+ });
4091
4894
  }
4092
4895
 
4093
4896
  static get properties() {
4094
4897
  return {
4095
- noCheckmark: {
4898
+ noCheckmark: {
4096
4899
  type: Boolean,
4097
- reflect: true
4900
+ reflect: true,
4901
+ attribute: 'nocheckmark'
4098
4902
  },
4099
- disabled: {
4903
+ disabled: {
4100
4904
  type: Boolean,
4101
4905
  reflect: true
4102
4906
  },
4103
- loading: {
4907
+ loading: {
4104
4908
  type: Boolean,
4105
4909
  reflect: true
4106
4910
  },
4107
- optionSelected: { type: Object },
4108
- optionActive: { type: Object },
4109
- matchWord: { type: String },
4110
- value: { type: String }
4911
+ optionSelected: {
4912
+ // Allow HTMLElement[] arrays and undefined
4913
+ converter: arrayConverter,
4914
+ hasChanged: arrayOrUndefinedHasChanged
4915
+ },
4916
+ optionActive: {
4917
+ type: Object,
4918
+ attribute: 'optionactive'
4919
+ },
4920
+ matchWord: {
4921
+ type: String,
4922
+ attribute: 'matchword'
4923
+ },
4924
+ multiSelect: {
4925
+ type: Boolean,
4926
+ reflect: true,
4927
+ attribute: 'multiselect'
4928
+ },
4929
+ value: {
4930
+ // Allow string[] arrays and undefined
4931
+ type: Object,
4932
+ converter: arrayConverter,
4933
+ hasChanged: arrayOrUndefinedHasChanged
4934
+ }
4111
4935
  };
4112
4936
  }
4113
4937
 
@@ -4128,201 +4952,331 @@ class AuroMenu extends r$4 {
4128
4952
  *
4129
4953
  */
4130
4954
  static register(name = "auro-menu") {
4131
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroMenu);
4955
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroMenu);
4132
4956
  }
4133
4957
 
4134
- /**
4135
- * Passes the noCheckmark attribute to all nested auro-menuoptions.
4136
- * @private
4137
- * @returns {void}
4138
- */
4139
- handleNoCheckmarkAttr() {
4140
- if (this.noCheckmark) {
4141
- const menus = this.querySelectorAll('auro-menu, [auro-menu]');
4958
+ // Lifecycle Methods
4142
4959
 
4143
- menus.forEach((menu) => {
4144
- menu.setAttribute('noCheckmark', '');
4145
- });
4960
+ connectedCallback() {
4961
+ super.connectedCallback();
4146
4962
 
4147
- const options = this.querySelectorAll('auro-menuoption, [auro-menuoption]');
4963
+ this.addEventListener('keydown', this.handleKeyDown);
4964
+ this.addEventListener('mousedown', this.handleMouseSelect);
4965
+ this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
4966
+ this.addEventListener('slotchange', this.handleSlotChange);
4967
+ }
4148
4968
 
4149
- options.forEach((option) => {
4150
- option.setAttribute('noCheckmark', '');
4151
- });
4152
- }
4969
+ disconnectedCallback() {
4970
+ this.removeEventListener('keydown', this.handleKeyDown);
4971
+ this.removeEventListener('mousedown', this.handleMouseSelect);
4972
+ this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
4973
+ this.removeEventListener('slotchange', this.handleSlotChange);
4974
+
4975
+ super.disconnectedCallback();
4153
4976
  }
4154
4977
 
4155
4978
  firstUpdated() {
4156
- // Add the tag name as an attribute if it is different than the component name
4157
- this.runtimeUtils.handleComponentTagRename(this, 'auro-menu');
4158
-
4159
- this.addEventListener('keydown', this.handleKeyDown);
4979
+ AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-menu');
4160
4980
 
4161
4981
  this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
4982
+ this.initializeMenu();
4162
4983
  }
4163
4984
 
4164
4985
  updated(changedProperties) {
4165
- if (changedProperties.has('matchWord')) {
4166
- this.markOptions();
4986
+ if (changedProperties.has('value')) {
4987
+ // Handle null/undefined case
4988
+ if (this.value === undefined || this.value === null) {
4989
+ this.optionSelected = undefined;
4990
+ // Reset index tracking
4991
+ this.index = -1;
4992
+ } else {
4993
+ // Convert single values to arrays
4994
+ const valueArray = Array.isArray(this.value) ? this.value : [this.value];
4995
+
4996
+ // Find all matching options
4997
+ const matchingOptions = this.items.filter((item) => valueArray.includes(item.value));
4998
+
4999
+ if (matchingOptions.length > 0) {
5000
+ if (this.multiSelect) {
5001
+ // For multiselect, keep all matching options
5002
+ this.optionSelected = matchingOptions;
5003
+ } else {
5004
+ // For single select, only use the first match
5005
+ this.optionSelected = [matchingOptions[0]];
5006
+ this.index = this.items.indexOf(matchingOptions[0]);
5007
+ }
5008
+ } else {
5009
+ // No matches found - trigger failure event
5010
+ dispatchMenuEvent(this, 'auroMenu-selectValueFailure');
5011
+ this.optionSelected = undefined;
5012
+ this.index = -1;
5013
+ }
5014
+ }
5015
+
5016
+ // Update UI state
5017
+ this.updateItemsState(new Map([
5018
+ [
5019
+ 'optionSelected',
5020
+ true
5021
+ ]
5022
+ ]));
5023
+
5024
+ // Notify of changes
5025
+ if (this.optionSelected !== undefined) {
5026
+ this.notifySelectionChange();
5027
+ }
4167
5028
  }
4168
5029
 
4169
- if (changedProperties.has('value')) {
4170
- this.selectByValue(this.value);
5030
+ // Process all other UI updates
5031
+ this.updateItemsState(changedProperties);
5032
+ }
5033
+
5034
+ /**
5035
+ * Updates the UI state and appearance of menu items based on changed properties.
5036
+ * @private
5037
+ * @param {Map<string, boolean>} changedProperties - LitElement's changed properties map.
5038
+ */
5039
+ updateItemsState(changedProperties) {
5040
+ if (!this.items) {
5041
+ return;
5042
+ }
5043
+
5044
+ // Handle noCheckmark propagation to all menus and options
5045
+ if (changedProperties.has('noCheckmark') && this.noCheckmark) {
5046
+ // Update both menus and options
5047
+ this.querySelectorAll('auro-menu, [auro-menu], auro-menuoption, [auro-menuoption]').forEach((element) => element.setAttribute('noCheckmark', ''));
4171
5048
  }
4172
5049
 
4173
- if (changedProperties.has('disabled')) {
4174
- const options = Array.from(this.querySelectorAll('auro-menuoption, [auro-menuoption]'));
5050
+ // Regex for matchWord if needed
5051
+ let regexWord = null;
4175
5052
 
4176
- for (const element of options) {
4177
- element.disabled = this.disabled;
4178
- }
5053
+ if (changedProperties.has('matchWord') && this.matchWord && this.matchWord.length) {
5054
+ const escapedWord = this.matchWord.replace(/[.*+?^${}()|[\]\\]/gu, '\\$&');
5055
+ regexWord = new RegExp(escapedWord, 'giu');
4179
5056
  }
4180
5057
 
4181
- if (changedProperties.has('loading')) {
4182
- const event = new CustomEvent("auroMenu-loadingChange", {
4183
- detail: {
4184
- loading: this.loading,
4185
- hasLoadingPlaceholder:
4186
- this.hasLoadingPlaceholder
5058
+ // Handle direct item updates
5059
+ this.items.forEach((option) => {
5060
+ // Update selection if option or value changed
5061
+ if (changedProperties.has('optionSelected') || changedProperties.has('value')) {
5062
+ const isSelected = this.isOptionSelected(option);
5063
+ option.setAttribute('aria-selected', isSelected ? 'true' : 'false');
5064
+
5065
+ // Add/remove selected attribute based on state
5066
+ if (isSelected) {
5067
+ option.setAttribute('selected', '');
5068
+ } else {
5069
+ option.removeAttribute('selected');
4187
5070
  }
5071
+ }
5072
+
5073
+ // Update text highlighting if matchWord changed
5074
+ if (changedProperties.has('matchWord') && regexWord &&
5075
+ isOptionInteractive(option) && !option.hasAttribute('persistent')) {
5076
+ const nested = option.querySelectorAll('.nestingSpacer');
5077
+ // Create nested spacers
5078
+ const nestingSpacerBundle = [...nested].map(() => this.nestingSpacer).join('');
5079
+
5080
+ // Update with spacers and matchWord
5081
+ option.innerHTML = nestingSpacerBundle +
5082
+ option.textContent.replace(
5083
+ regexWord,
5084
+ (match) => `<strong>${match}</strong>`
5085
+ );
5086
+ }
5087
+
5088
+ // Update disabled state
5089
+ if (changedProperties.has('disabled')) {
5090
+ option.disabled = this.disabled;
5091
+ }
5092
+ });
5093
+
5094
+ // Handle loading state changes
5095
+ if (changedProperties.has('loading')) {
5096
+ this.setAttribute("aria-busy", this.loading);
5097
+ dispatchMenuEvent(this, "auroMenu-loadingChange", {
5098
+ loading: this.loading,
5099
+ hasLoadingPlaceholder: this.hasLoadingPlaceholder
4188
5100
  });
4189
- this.setAttribute("aria-busy", this.hasAttribute("loading"));
4190
- this.dispatchEvent(event);
4191
5101
  }
4192
5102
  }
4193
5103
 
5104
+ // Init Methods
5105
+
4194
5106
  /**
5107
+ * Initializes the menu's state and structure.
4195
5108
  * @private
4196
- * @param {Object} option - The menuoption to check for interactive state.
4197
- * @returns {Boolean} Returns true if the option is interactive.
4198
5109
  */
4199
- optionInteractive(option) {
4200
- return !option.hasAttribute('hidden') && !option.hasAttribute('disabled') && !option.hasAttribute('static');
5110
+ initializeMenu() {
5111
+ this.initItems();
5112
+ if (this.rootMenu) {
5113
+ this.setAttribute('role', 'listbox');
5114
+ this.setAttribute('root', '');
5115
+ this.handleNestedMenus(this);
5116
+ }
4201
5117
  }
4202
5118
 
4203
5119
  /**
5120
+ * Initializes menu items and their attributes.
4204
5121
  * @private
4205
- * @returns {void} When called will update the DOM with visible suggest text matches.
4206
5122
  */
4207
- markOptions() {
4208
- if (this.items && this.items.length > 0 && (this.matchWord && this.matchWord.length > 0)) {
4209
-
4210
- // Escape special regex characters
4211
- const escapedWord = this.matchWord.replace(/[.*+?^${}()|[\]\\]/gu, '\\$&');
4212
-
4213
- // Global, case-insensitive, unicode matching regex pattern
4214
- const regexWord = new RegExp(escapedWord, 'giu');
4215
-
4216
- this.items.forEach((item) => {
4217
- if (this.optionInteractive(item) && !item.hasAttribute('persistent')) {
4218
- const nested = item.querySelectorAll('.nestingSpacer');
4219
- const nestingSpacerBundle = [...nested].map(() => this.nestingSpacer).join('');
4220
-
4221
- item.innerHTML = nestingSpacerBundle + item.textContent.replace(regexWord, (match) => `<strong>${match}</strong>`);
4222
- }
4223
- });
5123
+ initItems() {
5124
+ this.items = Array.from(this.querySelectorAll('auro-menuoption, [auro-menuoption]'));
5125
+ if (this.noCheckmark) {
5126
+ this.updateItemsState(new Map([
5127
+ [
5128
+ 'noCheckmark',
5129
+ true
5130
+ ]
5131
+ ]));
4224
5132
  }
4225
5133
  }
4226
5134
 
5135
+ // Logic Methods
5136
+
4227
5137
  /**
4228
- * Reset the menu and all options.
5138
+ * Updates menu state when an option is selected.
5139
+ * @private
5140
+ * @param {HTMLElement} option - The option element to select.
4229
5141
  */
4230
- resetOptionsStates() {
4231
- this.optionSelected = undefined;
4232
- if (this.items) {
4233
- this.items.forEach((item) => {
4234
- item.classList.remove('active');
4235
- item.removeAttribute('selected');
4236
- });
5142
+ handleSelectState(option) {
5143
+ if (this.multiSelect) {
5144
+ const currentValue = this.value || [];
5145
+ const currentSelected = this.optionSelected || [];
5146
+
5147
+ if (!currentValue.includes(option.value)) {
5148
+ this.value = [
5149
+ ...currentValue,
5150
+ option.value
5151
+ ];
5152
+ }
5153
+ if (!currentSelected.includes(option)) {
5154
+ this.optionSelected = [
5155
+ ...currentSelected,
5156
+ option
5157
+ ];
5158
+ }
5159
+ } else {
5160
+ // Single select - use arrays with single values
5161
+ this.value = [option.value];
5162
+ this.optionSelected = [option];
4237
5163
  }
5164
+
5165
+ this.index = this.items.indexOf(option);
4238
5166
  }
4239
5167
 
4240
5168
  /**
4241
- * Set the attributes on the selected menuoption, the menu value and stored option.
4242
- * @param {Object} option - The menuoption to be selected.
5169
+ * Deselects a menu option and updates related state.
4243
5170
  * @private
5171
+ * @param {HTMLElement} option - The menuoption to be deselected.
4244
5172
  */
4245
- handleLocalSelectState(option) {
4246
- option.setAttribute('selected', '');
4247
- option.classList.add('active');
4248
- option.ariaSelected = true;
5173
+ handleDeselectState(option) {
5174
+ if (this.multiSelect && Array.isArray(this.value)) {
5175
+ // Remove this option from array
5176
+ this.value = this.value.filter((val) => val !== option.value);
5177
+
5178
+ // If array is empty after removal, set back to undefined
5179
+ if (this.value.length === 0) {
5180
+ this.value = undefined;
5181
+ }
5182
+
5183
+ this.optionSelected = this.optionSelected.filter((val) => val !== option);
5184
+ if (this.optionSelected.length === 0) {
5185
+ this.optionSelected = undefined;
5186
+ }
5187
+ } else {
5188
+ // For single-select: Back to undefined when deselected
5189
+ this.value = undefined;
5190
+ this.optionSelected = undefined;
5191
+ }
4249
5192
 
4250
- this.value = option.value;
4251
- this.optionSelected = option;
5193
+ // Update the index tracking
4252
5194
  this.index = this.items.indexOf(option);
5195
+
5196
+ // Update UI to reflect changes
5197
+ this.updateItemsState(new Map([
5198
+ [
5199
+ 'optionSelected',
5200
+ true
5201
+ ]
5202
+ ]));
5203
+
5204
+ // Notify of selection change
5205
+ this.notifySelectionChange();
4253
5206
  }
4254
5207
 
4255
5208
  /**
4256
- * Notify selection change.
5209
+ * Resets all options to their default state.
4257
5210
  * @private
4258
- * @return {void}
4259
5211
  */
4260
- notifySelectionChange() {
4261
- this.dispatchEvent(new CustomEvent('auroMenu-selectedOption', {
4262
- bubbles: true,
4263
- cancelable: false,
4264
- composed: true,
4265
- }));
5212
+ clearSelection() {
5213
+ this.optionSelected = undefined;
5214
+ this.value = undefined;
4266
5215
  }
4267
5216
 
4268
5217
  /**
4269
- * Process actions for making making a menuoption selection.
5218
+ * Resets the menu to its initial state.
5219
+ * This is the only way to return value to undefined.
5220
+ * @public
4270
5221
  */
4271
- makeSelection() {
4272
- if (!this.items) {
4273
- this.initItems();
4274
- }
5222
+ reset() {
5223
+ // Reset to undefined - initial state
5224
+ this.value = undefined;
5225
+ this.optionSelected = undefined;
5226
+ this.index = -1;
4275
5227
 
4276
- if (this.items[this.index] && !this.items[this.index].hasAttribute('disabled')) {
4277
- this.resetOptionsStates();
5228
+ // Reset UI state
5229
+ this.updateItemsState(new Map([
5230
+ [
5231
+ 'optionSelected',
5232
+ true
5233
+ ]
5234
+ ]));
4278
5235
 
4279
- if (this.index >= 0) {
4280
- const option = this.items[this.index];
5236
+ // Dispatch reset event
5237
+ dispatchMenuEvent(this, 'auroMenu-selectValueReset');
5238
+ }
4281
5239
 
4282
- // only handle options that are not disabled, hidden or static
4283
- if (option && this.optionInteractive(option)) {
4284
- // fire custom event if defined otherwise make selection
4285
- if (option.hasAttribute('event')) {
4286
- this.dispatchEvent(new CustomEvent(option.getAttribute('event'), {
4287
- bubbles: true,
4288
- cancelable: false,
4289
- composed: true,
4290
- }));
5240
+ /**
5241
+ * Handles nested menu structure.
5242
+ * @private
5243
+ * @param {HTMLElement} menu - Root menu element.
5244
+ */
5245
+ handleNestedMenus(menu) {
5246
+ const nestedMenus = menu.querySelectorAll('auro-menu, [auro-menu]');
4291
5247
 
4292
- this.dispatchEvent(new CustomEvent('auroMenu-customEventFired', {
4293
- bubbles: true,
4294
- cancelable: false,
4295
- composed: true,
4296
- }));
4297
- } else {
4298
- this.handleLocalSelectState(option);
4299
- }
4300
- }
5248
+ nestedMenus.forEach((nestedMenu) => {
5249
+ // role="listbox" only allows "role=group" for children.
5250
+ nestedMenu.setAttribute('role', 'group');
5251
+ if (!nestedMenu.hasAttribute('aria-label')) {
5252
+ nestedMenu.setAttribute('aria-label', 'submenu');
4301
5253
  }
4302
- }
4303
5254
 
4304
- this.notifySelectionChange();
5255
+ const options = nestedMenu.querySelectorAll(':scope > auro-menuoption, :scope > [auro-menuoption]');
5256
+ options.forEach((option) => {
5257
+ option.innerHTML = this.nestingSpacer + option.innerHTML;
5258
+ });
5259
+
5260
+ this.handleNestedMenus(nestedMenu);
5261
+ });
4305
5262
  }
4306
5263
 
5264
+ // Event Handlers
5265
+
4307
5266
  /**
4308
- * Manage ArrowDown, ArrowUp and Enter keyboard events.
5267
+ * Handles keyboard navigation.
4309
5268
  * @private
4310
- * @param {Object} event - Event object from the browser.
5269
+ * @param {KeyboardEvent} event - Event object from the browser.
4311
5270
  */
4312
5271
  handleKeyDown(event) {
4313
5272
  event.preventDefault();
4314
-
4315
- // With ArrowDown/ArrowUp events, pass new value to selectNextItem()
4316
- // With Enter event, set value and apply attrs
4317
5273
  switch (event.key) {
4318
5274
  case "ArrowDown":
4319
- this.selectNextItem('down');
5275
+ this.navigateOptions('down');
4320
5276
  break;
4321
-
4322
5277
  case "ArrowUp":
4323
- this.selectNextItem('up');
5278
+ this.navigateOptions('up');
4324
5279
  break;
4325
-
4326
5280
  case "Enter":
4327
5281
  this.makeSelection();
4328
5282
  break;
@@ -4330,225 +5284,221 @@ class AuroMenu extends r$4 {
4330
5284
  }
4331
5285
 
4332
5286
  /**
4333
- * Initializes all menu options in the DOM. This must be re-run every time the options are changed.
5287
+ * Makes a selection based on the current index or clicked option.
4334
5288
  * @private
4335
5289
  */
4336
- initItems() {
4337
- this.items = Array.from(this.querySelectorAll('auro-menuoption, [auro-menuoption]'));
4338
- this.handleNoCheckmarkAttr();
5290
+ makeSelection() {
5291
+ if (!this.items) {
5292
+ this.initItems();
5293
+ }
5294
+
5295
+ // Get currently selected menu option based on index
5296
+ const option = this.items[this.index];
5297
+
5298
+ // Return early if option is not interactive
5299
+ if (!option || !isOptionInteractive(option)) {
5300
+ return;
5301
+ }
5302
+
5303
+ // Handle custom events first
5304
+ if (option.hasAttribute('event')) {
5305
+ this.handleCustomEvent(option);
5306
+ return;
5307
+ }
5308
+
5309
+ if (this.multiSelect) {
5310
+ // In multiselect, toggle individual selections
5311
+ this.toggleOption(option);
5312
+ // In single select, only handle selection of new options
5313
+ } else if (!this.isOptionSelected(option)) {
5314
+ this.clearSelection();
5315
+ this.handleSelectState(option);
5316
+ }
5317
+
5318
+ this.notifySelectionChange();
4339
5319
  }
4340
5320
 
4341
5321
  /**
4342
- * Sets the index value of the selected item or first non-disabled menuoption.
5322
+ * Toggle the selection state of the menuoption.
4343
5323
  * @private
5324
+ * @param {HTMLElement} option - The menuoption to toggle.
4344
5325
  */
4345
- getSelectedIndex() {
4346
- // find the first `selected` and not `disabled`, `hidden` or `static` option
4347
- const index = this.items.findIndex((option) => option.hasAttribute('selected') && this.optionInteractive(option));
5326
+ toggleOption(option) {
5327
+ const isCurrentlySelected = this.isOptionSelected(option);
4348
5328
 
4349
- if (index >= 0) {
4350
- this.index = index;
4351
- this.makeSelection();
5329
+ if (isCurrentlySelected) {
5330
+ this.handleDeselectState(option);
5331
+ } else if (option.value === undefined || option.value === '') {
5332
+ dispatchMenuEvent(this, 'auroMenu-selectValueFailure');
5333
+ } else {
5334
+ this.handleSelectState(option);
4352
5335
  }
4353
5336
  }
4354
5337
 
4355
5338
  /**
4356
- * Using value of current this.index evaluates index
4357
- * of next :focus to set based on array of this.items ignoring items
4358
- * with disabled attr.
4359
- *
4360
- * The event.target is not used as the function needs to know where to go,
4361
- * versus knowing where it is.
4362
- * @param {String} moveDirection - Up or Down based on keyboard event.
5339
+ * Handles option selection via mouse.
5340
+ * @private
5341
+ * @param {MouseEvent} event - Event object from the browser.
4363
5342
  */
4364
- selectNextItem(moveDirection) {
4365
- if (this.index >= 0) {
4366
- this.items[this.index].classList.remove('active');
4367
-
4368
- // calculate which is the selection we should focus next
4369
- let increment = 0;
4370
-
4371
- if (moveDirection === 'down') {
4372
- increment = 1;
4373
- } else if (moveDirection === 'up') {
4374
- increment = -1;
4375
- }
4376
-
4377
- this.index += increment;
4378
-
4379
- // keep looping inside the array of options
4380
- if (this.index > this.items.length - 1) {
4381
- this.index = 0;
4382
- } else if (this.index < 0) {
4383
- this.index = this.items.length - 1;
4384
- }
4385
-
4386
- // check if new index is disabled, static or hidden, if so, execute again
4387
- if (!this.optionInteractive(this.items[this.index])) {
4388
- this.selectNextItem(moveDirection);
4389
- } else {
4390
- // apply focus to new index
4391
- this.updateActiveOption(this.index);
4392
- }
4393
- } else {
4394
- this.index = 0;
5343
+ handleMouseSelect(event) {
5344
+ if (event.target === this) {
5345
+ return;
5346
+ }
4395
5347
 
4396
- if (this.items[this.index].hasAttribute('hidden') || this.items[this.index].hasAttribute('disabled')) {
4397
- this.selectNextItem(moveDirection);
4398
- } else {
4399
- this.updateActiveOption(this.index);
4400
- }
5348
+ const option = event.target.closest('auro-menuoption, [auro-menuoption]');
5349
+ if (option) {
5350
+ this.index = this.items.indexOf(option);
5351
+ this.makeSelection();
4401
5352
  }
4402
5353
  }
4403
5354
 
4404
5355
  /**
4405
- * Used for applying indentation to each level of nested menu.
5356
+ * Handles option hover events.
4406
5357
  * @private
4407
- * @param {String} menu - Root level menu object.
5358
+ * @param {CustomEvent} event - Event object from the browser.
4408
5359
  */
4409
- handleNestedMenus(menu) {
4410
- const nestedMenus = menu.querySelectorAll('auro-menu, [auro-menu');
5360
+ handleOptionHover(event) {
5361
+ const option = event.target;
5362
+ this.index = this.items.indexOf(option);
5363
+ this.updateActiveOption(this.index);
5364
+ }
4411
5365
 
4412
- if (nestedMenus.length === 0) {
4413
- return;
5366
+ /**
5367
+ * Handles slot change events.
5368
+ * @private
5369
+ */
5370
+ handleSlotChange() {
5371
+ if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
5372
+ this.rootMenu = false;
4414
5373
  }
4415
5374
 
4416
- nestedMenus.forEach((nestedMenu) => {
4417
- const options = nestedMenu.querySelectorAll(':scope > auro-menuoption, :scope > [auro-menuoption');
4418
-
4419
- options.forEach((option) => {
4420
- option.innerHTML = this.nestingSpacer + option.innerHTML;
4421
- });
4422
-
4423
- this.handleNestedMenus(nestedMenu);
4424
- });
5375
+ if (this.rootMenu) {
5376
+ this.initializeMenu();
5377
+ } else if (this.noCheckmark) {
5378
+ this.updateItemsState(new Map([
5379
+ [
5380
+ 'noCheckmark',
5381
+ true
5382
+ ]
5383
+ ]));
5384
+ }
4425
5385
  }
4426
5386
 
4427
5387
  /**
4428
- * Method to apply `selected` attribute to `menuoption` via `value`.
5388
+ * Navigates through options using keyboard.
4429
5389
  * @private
4430
- * @param {String} value - Must match a unique `menuoption` value.
5390
+ * @param {string} direction - 'up' or 'down'.
4431
5391
  */
4432
- selectByValue(value) {
4433
- let valueMatch = false;
4434
- if (!this.items) {
4435
- this.initItems();
5392
+ navigateOptions(direction) {
5393
+ // Return early if no items exist
5394
+ if (!this.items || !this.items.length) {
5395
+ return;
4436
5396
  }
4437
5397
 
4438
- this.index = undefined;
5398
+ let newIndex = this.index;
5399
+ const increment = direction === 'down' ? 1 : -1;
5400
+ const maxIterations = this.items.length;
5401
+ let iterations = 0;
5402
+ let foundInteractiveOption = false;
4439
5403
 
4440
- if (this.value && this.value.length > 0) {
4441
- for (let index = 0; index < this.items.length; index += 1) {
4442
- if (this.items[index].value === value) {
4443
- valueMatch = true;
4444
- this.index = index;
4445
- }
4446
- }
5404
+ do {
5405
+ newIndex = (newIndex + increment + this.items.length) % this.items.length;
5406
+ iterations += 1;
4447
5407
 
4448
- if (!valueMatch) {
4449
- // reset the menu to no selection
4450
- this.index = undefined;
5408
+ // Check if current option is interactive
5409
+ const currentOption = this.items[newIndex];
5410
+ if (isOptionInteractive(currentOption)) {
5411
+ foundInteractiveOption = true;
5412
+ break;
5413
+ }
4451
5414
 
4452
- this.dispatchEvent(new CustomEvent('auroMenu-selectValueFailure', {
4453
- bubbles: true,
4454
- cancelable: false,
4455
- composed: true,
4456
- }));
4457
- } else {
4458
- this.makeSelection();
5415
+ // Break if all options were checked
5416
+ if (iterations >= maxIterations) {
5417
+ break;
4459
5418
  }
4460
- } else {
4461
- this.resetOptionsStates();
5419
+ } while (iterations < maxIterations);
4462
5420
 
4463
- this.dispatchEvent(new CustomEvent('auroMenu-selectValueReset', {
4464
- bubbles: true,
4465
- cancelable: false,
4466
- composed: true,
4467
- }));
5421
+ // Handle the results of the search
5422
+ if (foundInteractiveOption) {
5423
+ // Update only if an interactive option was found
5424
+ this.index = newIndex;
5425
+ this.updateActiveOption(this.index);
5426
+ } else {
5427
+ // All options are disabled or non-interactive
5428
+ // Keep the current index unchanged
5429
+ dispatchMenuEvent(this, 'auroMenu-navigateFailure', {
5430
+ reason: 'No interactive options available',
5431
+ direction,
5432
+ currentIndex: this.index
5433
+ });
4468
5434
  }
4469
5435
  }
4470
5436
 
4471
5437
  /**
4472
- * Used to make the active state for options follow mouseover.
4473
- * @param {Number} index - Index of the menuoption that will be made active.
5438
+ * Updates the active option state and dispatches events.
4474
5439
  * @private
5440
+ * @param {number} index - Index of the option to make active.
4475
5441
  */
4476
5442
  updateActiveOption(index) {
4477
- this.items.forEach((item) => {
4478
- item.classList.remove('active');
4479
- });
5443
+ if (!this.items || !this.items[index]) {
5444
+ return;
5445
+ }
5446
+
5447
+ this.items.forEach((item) => item.classList.remove('active'));
4480
5448
  this.items[index].classList.add('active');
4481
5449
  this.optionActive = this.items[index];
4482
5450
 
4483
- this.dispatchEvent(new CustomEvent('auroMenu-activatedOption', {
4484
- bubbles: true,
4485
- cancelable: false,
4486
- composed: true,
4487
- detail: this.items[index]
4488
- }));
5451
+ dispatchMenuEvent(this, 'auroMenu-activatedOption', this.items[index]);
4489
5452
  }
4490
5453
 
4491
5454
  /**
4492
- * Used to only make a selection when a menuoption is receiving a mousedown event.
4493
- * @param {Event} evt - Mousedown event.
5455
+ * Handles custom events defined on options.
4494
5456
  * @private
5457
+ * @param {HTMLElement} option - Option with custom event.
4495
5458
  */
4496
- handleMenuMouseDown(evt) {
4497
- if (evt.target !== this) {
4498
- this.makeSelection();
4499
- }
5459
+ handleCustomEvent(option) {
5460
+ const eventName = option.getAttribute('event');
5461
+ dispatchMenuEvent(this, eventName);
5462
+ dispatchMenuEvent(this, 'auroMenu-customEventFired');
4500
5463
  }
4501
5464
 
4502
5465
  /**
4503
- * Checks if there are any loading placeholders in the component.
4504
- *
4505
- * This getter evaluates the `loadingSlots` collection to determine if it contains any items.
4506
- * If the size of the collection is greater than zero, it indicates the presence of loading
4507
- * placeholders, returning true; otherwise, it returns false.
4508
- *
4509
- * @getter hasLoadingPlaceholder
4510
- * @type {boolean}
4511
- * @returns {boolean} Returns true if loading placeholders exist; false otherwise.
5466
+ * Notifies selection change to parent components.
5467
+ * @private
4512
5468
  */
4513
- get hasLoadingPlaceholder() {
4514
- return this.loadingSlots.length > 0;
5469
+ notifySelectionChange() {
5470
+ dispatchMenuEvent(this, 'auroMenu-selectedOption');
4515
5471
  }
4516
5472
 
4517
5473
  /**
4518
- * Used for @slotchange event on slotted element.
5474
+ * Checks if an option is currently selected.
4519
5475
  * @private
5476
+ * @param {HTMLElement} option - The option to check.
5477
+ * @returns {boolean}
4520
5478
  */
4521
- handleSlotItems() {
4522
- // Determine if this is the root of the menu/submenu layout.
4523
- if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
4524
- this.rootMenu = false;
5479
+ isOptionSelected(option) {
5480
+ if (!this.optionSelected) {
5481
+ return false;
4525
5482
  }
5483
+ // Always treat as array for both single and multi-select
5484
+ return Array.isArray(this.optionSelected) && this.optionSelected.includes(option);
5485
+ }
4526
5486
 
4527
- // If this is the root menu (not a nested menu) handle events, states and styling.
4528
- if (this.rootMenu) {
4529
- this.initItems();
4530
- this.setAttribute('role', 'listbox');
4531
- this.setAttribute('root', '');
4532
- this.handleNestedMenus(this);
4533
- this.markOptions();
4534
- this.index = -1;
4535
- this.getSelectedIndex();
4536
-
4537
- this.addEventListener('keydown', this.handleKeyDown);
4538
- this.addEventListener('mousedown', this.handleMenuMouseDown);
4539
- this.addEventListener('auroMenuOption-mouseover', (evt) => {
4540
- this.index = this.items.indexOf(evt.target);
4541
- this.updateActiveOption(this.index);
4542
- });
4543
- } else {
4544
- // make sure to update all menuoption noCheckmark attributes when the menu is dynamically changed
4545
- this.handleNoCheckmarkAttr();
4546
- }
5487
+ /**
5488
+ * Getter for loading placeholder state.
5489
+ * @returns {boolean} - True if loading slots are present and non-empty.
5490
+ */
5491
+ get hasLoadingPlaceholder() {
5492
+ return this.loadingSlots && this.loadingSlots.length > 0;
4547
5493
  }
4548
5494
 
5495
+ /**
5496
+ * Renders the component.
5497
+ * @returns {boolean} - True if loading slots are present and non-empty.
5498
+ */
4549
5499
  render() {
4550
5500
  if (this.loading) {
4551
- return x$1`
5501
+ return x$2`
4552
5502
  <auro-menuoption disabled loadingplaceholder class="${this.hasLoadingPlaceholder ? '' : 'empty'}">
4553
5503
  <div>
4554
5504
  <slot name="loadingIcon"></slot>
@@ -4557,19 +5507,20 @@ class AuroMenu extends r$4 {
4557
5507
  </auro-menuoption>
4558
5508
  `;
4559
5509
  }
4560
- return x$1`<slot @slotchange=${this.handleSlotItems}></slot>`;
5510
+
5511
+ return x$2`<slot @slotchange=${this.handleSlotChange}></slot>`;
4561
5512
  }
4562
5513
  }
4563
5514
 
4564
- var styleCss$1 = i$b`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
5515
+ var styleCss$1 = i$f`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
4565
5516
 
4566
- var colorCss$1 = i$b`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color) !important}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-menuoption-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}`;
5517
+ var colorCss$1 = i$f`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color) !important}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-menuoption-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-active-default, #225296)}`;
4567
5518
 
4568
5519
  /**
4569
5520
  * @license
4570
5521
  * Copyright 2018 Google LLC
4571
5522
  * SPDX-License-Identifier: BSD-3-Clause
4572
- */const o=o=>o??E$1;
5523
+ */const o=o=>o??E$3;
4573
5524
 
4574
5525
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4575
5526
  // See LICENSE in the project root for license information.
@@ -4581,7 +5532,7 @@ var colorCss$1 = i$b`:host{background-color:var(--ds-auro-menuoption-container-c
4581
5532
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
4582
5533
  */
4583
5534
 
4584
- class AuroElement extends r$4 {
5535
+ class AuroElement extends r$9 {
4585
5536
 
4586
5537
  // function to define props used within the scope of this component
4587
5538
  static get properties() {
@@ -4607,7 +5558,7 @@ class AuroElement extends r$4 {
4607
5558
  }
4608
5559
  }
4609
5560
 
4610
- var error = {"role":"img","color":"currentColor","title":"","desc":"Error alert indicator.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"error","category":"alert","deprecated":true,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
5561
+ var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
4611
5562
 
4612
5563
  /* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
4613
5564
 
@@ -4637,7 +5588,7 @@ const cacheFetch = (uri, options = {}) => {
4637
5588
  return _fetchMap.get(uri);
4638
5589
  };
4639
5590
 
4640
- var styleCss = i$b`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
5591
+ var styleCss = i$f`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
4641
5592
 
4642
5593
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4643
5594
  // See LICENSE in the project root for license information.
@@ -4676,7 +5627,7 @@ class BaseIcon extends AuroElement {
4676
5627
  }
4677
5628
 
4678
5629
  static get styles() {
4679
- return i$b`
5630
+ return i$f`
4680
5631
  ${styleCss}
4681
5632
  `;
4682
5633
  }
@@ -4718,9 +5669,9 @@ class BaseIcon extends AuroElement {
4718
5669
  }
4719
5670
  }
4720
5671
 
4721
- var tokensCss = i$b`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
5672
+ var tokensCss = i$f`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
4722
5673
 
4723
- var colorCss = i$b`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
5674
+ var colorCss = i$f`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
4724
5675
 
4725
5676
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4726
5677
  // See LICENSE in the project root for license information.
@@ -4782,7 +5733,7 @@ class AuroIcon extends BaseIcon {
4782
5733
  this.success = false;
4783
5734
  this.tertiary = false;
4784
5735
  this.warning = false;
4785
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
5736
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
4786
5737
  }
4787
5738
 
4788
5739
  // function to define props used within the scope of this component
@@ -4864,9 +5815,9 @@ class AuroIcon extends BaseIcon {
4864
5815
  static get styles() {
4865
5816
  return [
4866
5817
  super.styles,
4867
- i$b`${tokensCss}`,
4868
- i$b`${styleCss}`,
4869
- i$b`${colorCss}`
5818
+ i$f`${tokensCss}`,
5819
+ i$f`${styleCss}`,
5820
+ i$f`${colorCss}`
4870
5821
  ];
4871
5822
  }
4872
5823
 
@@ -4879,7 +5830,7 @@ class AuroIcon extends BaseIcon {
4879
5830
  *
4880
5831
  */
4881
5832
  static register(name = "auro-icon") {
4882
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
5833
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroIcon);
4883
5834
  }
4884
5835
 
4885
5836
  connectedCallback() {
@@ -4908,20 +5859,20 @@ class AuroIcon extends BaseIcon {
4908
5859
  'wrapper': true,
4909
5860
  };
4910
5861
 
4911
- return x$1`
5862
+ return x$2`
4912
5863
  <div
4913
- class="${e$5(classes)}"
5864
+ class="${e$8(classes)}"
4914
5865
  title="${o(this.title || undefined)}">
4915
5866
  <span aria-hidden="${o(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
4916
- ${this.customSvg ? x$1`
5867
+ ${this.customSvg ? x$2`
4917
5868
  <slot name="svg"></slot>
4918
- ` : x$1`
5869
+ ` : x$2`
4919
5870
  ${this.svg}
4920
5871
  `
4921
5872
  }
4922
5873
  </span>
4923
5874
 
4924
- <div class="${e$5(a11y)}">
5875
+ <div class="${e$8(a11y)}">
4925
5876
  <slot></slot>
4926
5877
  </div>
4927
5878
  </div>
@@ -4931,7 +5882,7 @@ class AuroIcon extends BaseIcon {
4931
5882
 
4932
5883
  var iconVersion = '6.1.2';
4933
5884
 
4934
- var checkmarkIcon = {"role":"img","color":"currentColor","title":"","desc":"a small check mark.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"checkmark-sm","category":"interface","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"checkmark-sm__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"checkmark-sm__desc\">a small check mark.</desc><path d=\"M8.461 11.84a.625.625 0 1 0-.922.844l2.504 2.738c.247.27.674.27.922 0l5.496-6a.625.625 0 1 0-.922-.844l-5.035 5.496z\"/></svg>"};
5885
+ var checkmarkIcon = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"checkmark-sm__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"checkmark-sm__desc\">a small check mark.</desc><path d=\"M8.461 11.84a.625.625 0 1 0-.922.844l2.504 2.738c.247.27.674.27.922 0l5.496-6a.625.625 0 1 0-.922-.844l-5.035 5.496z\"/></svg>"};
4935
5886
 
4936
5887
  // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4937
5888
  // See LICENSE in the project root for license information.
@@ -4947,7 +5898,7 @@ var checkmarkIcon = {"role":"img","color":"currentColor","title":"","desc":"a sm
4947
5898
  * @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
4948
5899
  * @slot - Specifies text for an option, but is not the value.
4949
5900
  */
4950
- class AuroMenuOption extends r$4 {
5901
+ class AuroMenuOption extends r$9 {
4951
5902
  constructor() {
4952
5903
  super();
4953
5904
 
@@ -4969,7 +5920,7 @@ class AuroMenuOption extends r$4 {
4969
5920
  /**
4970
5921
  * @private
4971
5922
  */
4972
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
5923
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
4973
5924
  }
4974
5925
 
4975
5926
  static get properties() {
@@ -5013,7 +5964,7 @@ class AuroMenuOption extends r$4 {
5013
5964
  *
5014
5965
  */
5015
5966
  static register(name = "auro-menuoption") {
5016
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroMenuOption);
5967
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroMenuOption);
5017
5968
  }
5018
5969
 
5019
5970
  firstUpdated() {
@@ -5053,11 +6004,11 @@ class AuroMenuOption extends r$4 {
5053
6004
 
5054
6005
  svg.setAttribute('slot', 'svg');
5055
6006
 
5056
- return u$3`<${this.iconTag} customColor customSvg slot="icon">${svg}</${this.iconTag}>`;
6007
+ return u$5`<${this.iconTag} customColor customSvg slot="icon">${svg}</${this.iconTag}>`;
5057
6008
  }
5058
6009
 
5059
6010
  render() {
5060
- return u$3`
6011
+ return u$5`
5061
6012
  ${this.selected && !this.nocheckmark ? this.generateIconHtml(checkmarkIcon.svg) : undefined}
5062
6013
  <slot></slot>
5063
6014
  `;