@aurodesignsystem/auro-formkit 2.0.0-beta.2 → 2.0.0-beta.20

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 (583) hide show
  1. package/.turbo/cache/0185585abae43d38-meta.json +1 -0
  2. package/.turbo/cache/0185585abae43d38.tar.zst +0 -0
  3. package/.turbo/cache/092e1fe054c68113-meta.json +1 -0
  4. package/.turbo/cache/092e1fe054c68113.tar.zst +0 -0
  5. package/.turbo/cache/19eb9b69e5625309-meta.json +1 -0
  6. package/.turbo/cache/19eb9b69e5625309.tar.zst +0 -0
  7. package/.turbo/cache/2059bc724ac24519-meta.json +1 -0
  8. package/.turbo/cache/2059bc724ac24519.tar.zst +0 -0
  9. package/.turbo/cache/23b3a2fea223679d-meta.json +1 -0
  10. package/.turbo/cache/23b3a2fea223679d.tar.zst +0 -0
  11. package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
  12. package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
  13. package/.turbo/cache/2e79b1c1455468a1-meta.json +1 -0
  14. package/.turbo/cache/2e79b1c1455468a1.tar.zst +0 -0
  15. package/.turbo/cache/341f87099beb533e-meta.json +1 -0
  16. package/.turbo/cache/341f87099beb533e.tar.zst +0 -0
  17. package/.turbo/cache/363aa008d976f81d-meta.json +1 -0
  18. package/.turbo/cache/363aa008d976f81d.tar.zst +0 -0
  19. package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
  20. package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
  21. package/.turbo/cache/43ab6002bc2cd191-meta.json +1 -0
  22. package/.turbo/cache/43ab6002bc2cd191.tar.zst +0 -0
  23. package/.turbo/cache/45cd32cd38eacbcb-meta.json +1 -0
  24. package/.turbo/cache/45cd32cd38eacbcb.tar.zst +0 -0
  25. package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
  26. package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
  27. package/.turbo/cache/493e064c221aa745-meta.json +1 -0
  28. package/.turbo/cache/493e064c221aa745.tar.zst +0 -0
  29. package/.turbo/cache/50cd7dcfc9f820c5-meta.json +1 -0
  30. package/.turbo/cache/50cd7dcfc9f820c5.tar.zst +0 -0
  31. package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
  32. package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
  33. package/.turbo/cache/56ee89ef1c48963e-meta.json +1 -0
  34. package/.turbo/cache/56ee89ef1c48963e.tar.zst +0 -0
  35. package/.turbo/cache/5b57cc0e26e1fd5d-meta.json +1 -0
  36. package/.turbo/cache/5b57cc0e26e1fd5d.tar.zst +0 -0
  37. package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
  38. package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
  39. package/.turbo/cache/61e218aba69cff58-meta.json +1 -0
  40. package/.turbo/cache/61e218aba69cff58.tar.zst +0 -0
  41. package/.turbo/cache/631d441eebe7e4ac-meta.json +1 -0
  42. package/.turbo/cache/631d441eebe7e4ac.tar.zst +0 -0
  43. package/.turbo/cache/6c582e957afdd75f-meta.json +1 -0
  44. package/.turbo/cache/6c582e957afdd75f.tar.zst +0 -0
  45. package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
  46. package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
  47. package/.turbo/cache/78418f9089673a21-meta.json +1 -0
  48. package/.turbo/cache/78418f9089673a21.tar.zst +0 -0
  49. package/.turbo/cache/7964d1656e9e702a-meta.json +1 -0
  50. package/.turbo/cache/7964d1656e9e702a.tar.zst +0 -0
  51. package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
  52. package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
  53. package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -0
  54. package/.turbo/cache/7c9ca6163e61285c.tar.zst +0 -0
  55. package/.turbo/cache/80ebd4b1fa5c1e3a-meta.json +1 -0
  56. package/.turbo/cache/80ebd4b1fa5c1e3a.tar.zst +0 -0
  57. package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -0
  58. package/.turbo/cache/8bb856bd31b5b479.tar.zst +0 -0
  59. package/.turbo/cache/8c5b86ca67d33b17-meta.json +1 -0
  60. package/.turbo/cache/8c5b86ca67d33b17.tar.zst +0 -0
  61. package/.turbo/cache/8f5fef3e04a6fcfa-meta.json +1 -0
  62. package/.turbo/cache/8f5fef3e04a6fcfa.tar.zst +0 -0
  63. package/.turbo/cache/9d99fa3ab31d272f-meta.json +1 -0
  64. package/.turbo/cache/9d99fa3ab31d272f.tar.zst +0 -0
  65. package/.turbo/cache/a779ea8b78ce9d59-meta.json +1 -0
  66. package/.turbo/cache/a779ea8b78ce9d59.tar.zst +0 -0
  67. package/.turbo/cache/a9c36a3534c5496b-meta.json +1 -0
  68. package/.turbo/cache/a9c36a3534c5496b.tar.zst +0 -0
  69. package/.turbo/cache/ac1b55ad6757fd54-meta.json +1 -0
  70. package/.turbo/cache/ac1b55ad6757fd54.tar.zst +0 -0
  71. package/.turbo/cache/b1cd3922508c11c0-meta.json +1 -0
  72. package/.turbo/cache/b1cd3922508c11c0.tar.zst +0 -0
  73. package/.turbo/cache/b3c5c13bb1c28c92-meta.json +1 -0
  74. package/.turbo/cache/b3c5c13bb1c28c92.tar.zst +0 -0
  75. package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
  76. package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
  77. package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
  78. package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
  79. package/.turbo/cache/ba270a0ef147f2e5-meta.json +1 -0
  80. package/.turbo/cache/ba270a0ef147f2e5.tar.zst +0 -0
  81. package/.turbo/cache/bb5213773d5d3b04-meta.json +1 -0
  82. package/.turbo/cache/bb5213773d5d3b04.tar.zst +0 -0
  83. package/.turbo/cache/bbefd8d9606f1e87-meta.json +1 -0
  84. package/.turbo/cache/bbefd8d9606f1e87.tar.zst +0 -0
  85. package/.turbo/cache/be0b95293ea517cc-meta.json +1 -0
  86. package/.turbo/cache/be0b95293ea517cc.tar.zst +0 -0
  87. package/.turbo/cache/c03a12ff38ba1e02-meta.json +1 -0
  88. package/.turbo/cache/c03a12ff38ba1e02.tar.zst +0 -0
  89. package/.turbo/cache/c1312c6f8c051461-meta.json +1 -0
  90. package/.turbo/cache/c1312c6f8c051461.tar.zst +0 -0
  91. package/.turbo/cache/c289a5a9a6b897a9-meta.json +1 -0
  92. package/.turbo/cache/c289a5a9a6b897a9.tar.zst +0 -0
  93. package/.turbo/cache/c376d692c092d4d1-meta.json +1 -0
  94. package/.turbo/cache/c376d692c092d4d1.tar.zst +0 -0
  95. package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
  96. package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
  97. package/.turbo/cache/c6dbc49c3038946d-meta.json +1 -0
  98. package/.turbo/cache/c6dbc49c3038946d.tar.zst +0 -0
  99. package/.turbo/cache/cae7586c45bed13e-meta.json +1 -0
  100. package/.turbo/cache/cae7586c45bed13e.tar.zst +0 -0
  101. package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
  102. package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
  103. package/.turbo/cache/d775555355d6b8fc-meta.json +1 -0
  104. package/.turbo/cache/d775555355d6b8fc.tar.zst +0 -0
  105. package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -0
  106. package/.turbo/cache/d7c3007be148d2a1.tar.zst +0 -0
  107. package/.turbo/cache/db5e65d819bfe66b-meta.json +1 -0
  108. package/.turbo/cache/db5e65d819bfe66b.tar.zst +0 -0
  109. package/.turbo/cache/dbe6a08c64601aec-meta.json +1 -0
  110. package/.turbo/cache/dbe6a08c64601aec.tar.zst +0 -0
  111. package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -0
  112. package/.turbo/cache/dc597b3ea4f61ec8.tar.zst +0 -0
  113. package/.turbo/cache/df5f651693145406-meta.json +1 -0
  114. package/.turbo/cache/df5f651693145406.tar.zst +0 -0
  115. package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
  116. package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
  117. package/.turbo/cache/ee40cab15d5b1fad-meta.json +1 -0
  118. package/.turbo/cache/ee40cab15d5b1fad.tar.zst +0 -0
  119. package/.vscode/settings.json +3 -0
  120. package/CHANGELOG.md +202 -0
  121. package/README.md +59 -59
  122. package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
  123. package/components/checkbox/.turbo/turbo-build.log +20 -21
  124. package/components/checkbox/.turbo/turbo-bundler.log +4 -4
  125. package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
  126. package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
  127. package/components/checkbox/.turbo/turbo-types.log +1 -1
  128. package/components/checkbox/README.md +26 -34
  129. package/components/checkbox/demo/api.md +69 -68
  130. package/components/checkbox/demo/api.min.js +195 -87
  131. package/components/checkbox/demo/index.md +62 -62
  132. package/components/checkbox/demo/index.min.js +195 -87
  133. package/components/checkbox/dist/auro-checkbox-group.d.ts +40 -16
  134. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
  135. package/components/checkbox/dist/auro-checkbox.d.ts +20 -11
  136. package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
  137. package/components/checkbox/dist/index.js +195 -87
  138. package/components/checkbox/package.json +1 -1
  139. package/components/checkbox/src/auro-checkbox-group.js +57 -20
  140. package/components/checkbox/src/auro-checkbox.js +29 -12
  141. package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
  142. package/components/combobox/.turbo/turbo-build.log +22 -23
  143. package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
  144. package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
  145. package/components/combobox/README.md +21 -26
  146. package/components/combobox/demo/api.md +30 -26
  147. package/components/combobox/demo/api.min.js +3227 -948
  148. package/components/combobox/demo/index.md +1 -1
  149. package/components/combobox/demo/index.min.js +3224 -945
  150. package/components/combobox/dist/auro-combobox.d.ts +76 -74
  151. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  152. package/components/combobox/dist/dropdownVersion.d.ts +3 -0
  153. package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
  154. package/components/combobox/dist/index.js +2593 -628
  155. package/components/combobox/dist/inputVersion.d.ts +3 -0
  156. package/components/combobox/dist/inputVersion.d.ts.map +1 -0
  157. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
  158. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
  159. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
  160. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
  161. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
  162. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
  163. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
  164. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
  165. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
  166. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
  167. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
  168. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
  169. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
  170. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
  171. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
  172. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
  173. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
  174. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
  175. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
  176. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
  177. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
  178. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
  179. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
  180. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
  181. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
  182. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
  183. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
  184. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
  185. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
  186. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
  187. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
  188. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
  189. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
  190. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
  191. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
  192. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
  193. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
  194. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
  195. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
  196. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
  197. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
  198. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
  199. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
  200. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
  201. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
  202. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
  203. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
  204. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
  205. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
  206. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
  207. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
  208. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
  209. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
  210. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
  211. package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
  212. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
  213. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
  214. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
  215. package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
  216. package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
  217. package/components/combobox/node_modules/chalk/package.json +3 -3
  218. package/components/combobox/node_modules/chalk/readme.md +25 -53
  219. package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
  220. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
  221. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
  222. package/components/combobox/package.json +8 -8
  223. package/components/combobox/src/auro-combobox.js +225 -164
  224. package/components/combobox/src/dropdownVersion.js +1 -0
  225. package/components/combobox/src/inputVersion.js +1 -0
  226. package/components/counter/.turbo/turbo-build$colon$sass.log +210 -7
  227. package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
  228. package/components/counter/.turbo/turbo-build.log +325 -14
  229. package/components/counter/.turbo/turbo-bundler.log +7 -4
  230. package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
  231. package/components/counter/.turbo/turbo-sass$colon$render.log +45 -3
  232. package/components/counter/.turbo/turbo-types.log +1 -1
  233. package/components/counter/README.md +188 -0
  234. package/components/counter/demo/api.md +104 -1014
  235. package/components/counter/demo/api.min.js +4773 -36
  236. package/components/counter/demo/index.js +2 -1
  237. package/components/counter/demo/index.md +190 -0
  238. package/components/counter/demo/index.min.js +4801 -19
  239. package/components/counter/dist/auro-counter-button.d.ts +13 -0
  240. package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
  241. package/components/counter/dist/auro-counter-group.d.ts +112 -5
  242. package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
  243. package/components/counter/dist/auro-counter-wrapper.d.ts +23 -0
  244. package/components/counter/dist/auro-counter-wrapper.d.ts.map +1 -0
  245. package/components/counter/dist/auro-counter.d.ts +89 -0
  246. package/components/counter/dist/auro-counter.d.ts.map +1 -1
  247. package/components/counter/dist/dropdownVersion.d.ts +3 -0
  248. package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
  249. package/components/counter/dist/iconVersion.d.ts +3 -0
  250. package/components/counter/dist/iconVersion.d.ts.map +1 -0
  251. package/components/counter/dist/index.js +4773 -36
  252. package/components/counter/dist/styles/color-css.d.ts +3 -0
  253. package/components/counter/dist/styles/color-css.d.ts.map +1 -0
  254. package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
  255. package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
  256. package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
  257. package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
  258. package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
  259. package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
  260. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +3 -0
  261. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +1 -0
  262. package/components/counter/dist/styles/counter-wrapper-css.d.ts +3 -0
  263. package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +1 -0
  264. package/components/counter/dist/styles/tokens-css.d.ts +3 -0
  265. package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
  266. package/components/counter/package.json +9 -3
  267. package/components/counter/src/auro-counter-button.js +42 -0
  268. package/components/counter/src/auro-counter-group.js +229 -20
  269. package/components/counter/src/auro-counter-wrapper.js +54 -0
  270. package/components/counter/src/auro-counter.js +287 -12
  271. package/components/counter/src/dropdownVersion.js +1 -0
  272. package/components/counter/src/iconVersion.js +1 -0
  273. package/components/counter/src/index.js +1 -1
  274. package/components/counter/src/styles/color-css.js +2 -0
  275. package/components/counter/src/styles/color.css +25 -0
  276. package/components/counter/src/styles/color.scss +44 -0
  277. package/components/counter/src/styles/counter-button-color-css.js +2 -0
  278. package/components/counter/src/styles/counter-button-color.css +14 -0
  279. package/components/counter/src/styles/counter-button-color.scss +29 -0
  280. package/components/counter/src/styles/counter-button-css.js +2 -0
  281. package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
  282. package/components/counter/src/styles/counter-button-tokens.css +7 -0
  283. package/components/counter/src/styles/counter-button-tokens.scss +9 -0
  284. package/components/counter/src/styles/counter-button.css +187 -0
  285. package/components/counter/src/styles/counter-button.scss +83 -0
  286. package/components/counter/src/styles/counter-group-css.js +1 -1
  287. package/components/counter/src/styles/counter-group.css +9 -1
  288. package/components/counter/src/styles/counter-group.scss +10 -1
  289. package/components/counter/src/styles/counter-wrapper-color-css.js +2 -0
  290. package/components/counter/src/styles/counter-wrapper-color.css +4 -0
  291. package/components/counter/src/styles/counter-wrapper-color.scss +19 -0
  292. package/components/counter/src/styles/counter-wrapper-css.js +2 -0
  293. package/components/counter/src/styles/counter-wrapper.css +15 -0
  294. package/components/counter/src/styles/counter-wrapper.scss +29 -0
  295. package/components/counter/src/styles/style-css.js +1 -1
  296. package/components/counter/src/styles/style.css +43 -1
  297. package/components/counter/src/styles/style.scss +48 -2
  298. package/components/counter/src/styles/tokens-css.js +2 -0
  299. package/components/counter/src/styles/tokens.css +11 -0
  300. package/components/counter/src/styles/tokens.scss +24 -0
  301. package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
  302. package/components/datepicker/.turbo/turbo-build.log +57 -57
  303. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
  304. package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
  305. package/components/datepicker/README.md +21 -26
  306. package/components/datepicker/demo/api.md +182 -135
  307. package/components/datepicker/demo/api.min.js +1010 -566
  308. package/components/datepicker/demo/index.md +1 -1
  309. package/components/datepicker/demo/index.min.js +1010 -566
  310. package/components/datepicker/dist/auro-datepicker.d.ts +94 -78
  311. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
  312. package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
  313. package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
  314. package/components/datepicker/dist/index.js +1010 -566
  315. package/components/datepicker/dist/inputVersion.d.ts +3 -0
  316. package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
  317. package/components/datepicker/package.json +3 -3
  318. package/components/datepicker/src/auro-datepicker.js +152 -106
  319. package/components/datepicker/src/dropdownVersion.js +1 -0
  320. package/components/datepicker/src/inputVersion.js +1 -0
  321. package/components/datepicker/src/styles/color-cell-css.js +1 -1
  322. package/components/datepicker/src/styles/color-cell.css +1 -1
  323. package/components/datepicker/src/styles/color-cell.scss +1 -1
  324. package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
  325. package/components/dropdown/.turbo/turbo-build$colon$version.log +1 -1
  326. package/components/dropdown/.turbo/turbo-build.log +19 -20
  327. package/components/dropdown/.turbo/turbo-bundler.log +4 -4
  328. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
  329. package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
  330. package/components/dropdown/.turbo/turbo-types.log +1 -1
  331. package/components/dropdown/README.md +18 -26
  332. package/components/dropdown/demo/api.md +4 -4
  333. package/components/dropdown/demo/api.min.js +205 -81
  334. package/components/dropdown/demo/index.min.js +205 -81
  335. package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
  336. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
  337. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
  338. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
  339. package/components/dropdown/dist/index.js +205 -81
  340. package/components/dropdown/package.json +1 -1
  341. package/components/dropdown/src/auro-dropdown.js +154 -39
  342. package/components/dropdown/src/auro-dropdownBib.js +12 -3
  343. package/components/dropdown/src/styles/style-css.js +1 -1
  344. package/components/dropdown/src/styles/style.css +4 -0
  345. package/components/dropdown/src/styles/style.scss +5 -0
  346. package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
  347. package/components/form/.turbo/turbo-build$colon$version.log +1 -1
  348. package/components/form/.turbo/turbo-build.log +17 -18
  349. package/components/form/.turbo/turbo-bundler.log +4 -4
  350. package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
  351. package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
  352. package/components/form/.turbo/turbo-types.log +1 -1
  353. package/components/form/README.md +28 -34
  354. package/components/form/demo/api.min.js +338 -25
  355. package/components/form/demo/index.min.js +338 -25
  356. package/components/form/demo/registerDemoDeps.js +6 -0
  357. package/components/form/demo/working.html +108 -0
  358. package/components/form/dist/auro-form.d.ts +137 -2
  359. package/components/form/dist/auro-form.d.ts.map +1 -1
  360. package/components/form/dist/index.js +338 -25
  361. package/components/form/package.json +4 -2
  362. package/components/form/src/auro-form.js +335 -25
  363. package/components/input/.turbo/turbo-build$colon$sass.log +66 -16
  364. package/components/input/.turbo/turbo-build$colon$version.log +1 -1
  365. package/components/input/.turbo/turbo-build.log +79 -32
  366. package/components/input/.turbo/turbo-bundler.log +4 -4
  367. package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
  368. package/components/input/.turbo/turbo-sass$colon$render.log +15 -9
  369. package/components/input/.turbo/turbo-types.log +1 -1
  370. package/components/input/README.md +18 -28
  371. package/components/input/demo/api.md +151 -316
  372. package/components/input/demo/api.min.js +370 -150
  373. package/components/input/demo/index.md +11 -61
  374. package/components/input/demo/index.min.js +370 -150
  375. package/components/input/dist/auro-input.d.ts.map +1 -1
  376. package/components/input/dist/base-input.d.ts +158 -87
  377. package/components/input/dist/base-input.d.ts.map +1 -1
  378. package/components/input/dist/index.js +370 -150
  379. package/components/input/dist/styles/mixins-css.d.ts +3 -0
  380. package/components/input/dist/styles/mixins-css.d.ts.map +1 -0
  381. package/components/input/package.json +1 -1
  382. package/components/input/src/auro-input.js +0 -1
  383. package/components/input/src/base-input.js +257 -90
  384. package/components/input/src/styles/borders.scss +3 -19
  385. package/components/input/src/styles/color.css +1 -2
  386. package/components/input/src/styles/color.scss +3 -10
  387. package/components/input/src/styles/input-css.js +1 -1
  388. package/components/input/src/styles/input.css +1 -1
  389. package/components/input/src/styles/input.scss +4 -1
  390. package/components/input/src/styles/label-css.js +1 -1
  391. package/components/input/src/styles/label.css +1 -1
  392. package/components/input/src/styles/label.scss +4 -7
  393. package/components/input/src/styles/mixins-css.js +2 -0
  394. package/components/input/src/styles/mixins.css +1 -0
  395. package/components/input/src/styles/mixins.scss +45 -0
  396. package/components/input/src/styles/notificationIcons-css.js +1 -1
  397. package/components/input/src/styles/notificationIcons.css +13 -12
  398. package/components/input/src/styles/notificationIcons.scss +17 -25
  399. package/components/input/src/styles/style-css.js +1 -1
  400. package/components/input/src/styles/style.css +15 -17
  401. package/components/input/src/styles/style.scss +0 -4
  402. package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
  403. package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
  404. package/components/menu/.turbo/turbo-build.log +22 -21
  405. package/components/menu/.turbo/turbo-bundler.log +4 -4
  406. package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
  407. package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
  408. package/components/menu/.turbo/turbo-types.log +1 -1
  409. package/components/menu/README.md +18 -26
  410. package/components/menu/demo/api.md +57 -20
  411. package/components/menu/demo/api.min.js +626 -312
  412. package/components/menu/demo/index.min.js +624 -310
  413. package/components/menu/dist/auro-menu-utils.d.ts +43 -0
  414. package/components/menu/dist/auro-menu-utils.d.ts.map +1 -0
  415. package/components/menu/dist/auro-menu.d.ts +97 -81
  416. package/components/menu/dist/auro-menu.d.ts.map +1 -1
  417. package/components/menu/dist/index.d.ts +1 -0
  418. package/components/menu/dist/index.js +625 -311
  419. package/components/menu/package.json +1 -1
  420. package/components/menu/src/auro-menu-utils.js +131 -0
  421. package/components/menu/src/auro-menu.js +492 -303
  422. package/components/menu/src/index.js +7 -0
  423. package/components/menu/src/styles/color-menuoption-css.js +1 -1
  424. package/components/menu/src/styles/color-menuoption.css +3 -0
  425. package/components/menu/src/styles/color-menuoption.scss +4 -0
  426. package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
  427. package/components/radio/.turbo/turbo-build.log +23 -24
  428. package/components/radio/.turbo/turbo-bundler.log +4 -4
  429. package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
  430. package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
  431. package/components/radio/.turbo/turbo-types.log +1 -1
  432. package/components/radio/README.md +18 -26
  433. package/components/radio/demo/api.md +7 -4
  434. package/components/radio/demo/api.min.js +120 -58
  435. package/components/radio/demo/index.min.js +120 -58
  436. package/components/radio/dist/auro-radio-group.d.ts +5 -0
  437. package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
  438. package/components/radio/dist/index.js +120 -58
  439. package/components/radio/package.json +1 -1
  440. package/components/radio/src/auro-radio-group.js +10 -2
  441. package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
  442. package/components/select/.turbo/turbo-build.log +32 -33
  443. package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
  444. package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
  445. package/components/select/README.md +21 -42
  446. package/components/select/demo/api.md +92 -121
  447. package/components/select/demo/api.min.js +2723 -711
  448. package/components/select/demo/index.md +101 -59
  449. package/components/select/demo/index.min.js +2722 -706
  450. package/components/select/dist/auro-select.d.ts +77 -48
  451. package/components/select/dist/auro-select.d.ts.map +1 -1
  452. package/components/select/dist/dropdownVersion.d.ts +3 -0
  453. package/components/select/dist/dropdownVersion.d.ts.map +1 -0
  454. package/components/select/dist/index.js +2082 -367
  455. package/components/select/package.json +3 -3
  456. package/components/select/src/auro-select.js +148 -129
  457. package/components/select/src/dropdownVersion.js +1 -0
  458. package/components/select/src/styles/style-css.js +1 -1
  459. package/components/select/src/styles/style.css +14 -0
  460. package/components/select/src/styles/style.scss +24 -1
  461. package/package.json +21 -21
  462. package/packages/build-tools/src/docProcessor.mjs +37 -8
  463. package/packages/form-validation/src/validation.js +104 -50
  464. package/packages/utils/package.json +12 -0
  465. package/packages/utils/src/iconUtil.js +25 -0
  466. package/packages/utils/src/index.js +1 -0
  467. package/turbo.json +8 -8
  468. package/.turbo/cache/013a48308b893dac-meta.json +0 -1
  469. package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
  470. package/.turbo/cache/0663fcbb1d711029-meta.json +0 -1
  471. package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
  472. package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
  473. package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
  474. package/.turbo/cache/0a2b0a4df8a0443f-meta.json +0 -1
  475. package/.turbo/cache/0a2b0a4df8a0443f.tar.zst +0 -0
  476. package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
  477. package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
  478. package/.turbo/cache/120c8e207aa1ba35-meta.json +0 -1
  479. package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
  480. package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
  481. package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
  482. package/.turbo/cache/17dd4bdef6550a07-meta.json +0 -1
  483. package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
  484. package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
  485. package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
  486. package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
  487. package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
  488. package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
  489. package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
  490. package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
  491. package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
  492. package/.turbo/cache/32c0b9995fb5f8dd-meta.json +0 -1
  493. package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
  494. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
  495. package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
  496. package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
  497. package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
  498. package/.turbo/cache/47ba2b5ebdb579e9-meta.json +0 -1
  499. package/.turbo/cache/47ba2b5ebdb579e9.tar.zst +0 -0
  500. package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
  501. package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
  502. package/.turbo/cache/56cb35d4c7473a23-meta.json +0 -1
  503. package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
  504. package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
  505. package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
  506. package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
  507. package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
  508. package/.turbo/cache/626afdc67e0cb540-meta.json +0 -1
  509. package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
  510. package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
  511. package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
  512. package/.turbo/cache/691a74627ec57993-meta.json +0 -1
  513. package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
  514. package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
  515. package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
  516. package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
  517. package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
  518. package/.turbo/cache/6ef81cf9a66f982a-meta.json +0 -1
  519. package/.turbo/cache/6ef81cf9a66f982a.tar.zst +0 -0
  520. package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
  521. package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
  522. package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
  523. package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
  524. package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
  525. package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
  526. package/.turbo/cache/786a822763403879-meta.json +0 -1
  527. package/.turbo/cache/786a822763403879.tar.zst +0 -0
  528. package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
  529. package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
  530. package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
  531. package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
  532. package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
  533. package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
  534. package/.turbo/cache/8b735250fa5a62bf-meta.json +0 -1
  535. package/.turbo/cache/8b735250fa5a62bf.tar.zst +0 -0
  536. package/.turbo/cache/9154e8fe6ab767ea-meta.json +0 -1
  537. package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
  538. package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
  539. package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
  540. package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
  541. package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
  542. package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
  543. package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
  544. package/.turbo/cache/a49cc58242467fdc-meta.json +0 -1
  545. package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
  546. package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
  547. package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
  548. package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
  549. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  550. package/.turbo/cache/af061e7a077a9ba5-meta.json +0 -1
  551. package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
  552. package/.turbo/cache/b50f1b283b4b81cd-meta.json +0 -1
  553. package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
  554. package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
  555. package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
  556. package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
  557. package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
  558. package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
  559. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  560. package/.turbo/cache/bf85bc040b7e64db-meta.json +0 -1
  561. package/.turbo/cache/bf85bc040b7e64db.tar.zst +0 -0
  562. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
  563. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  564. package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
  565. package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
  566. package/.turbo/cache/cd5f6987783fb56d-meta.json +0 -1
  567. package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
  568. package/.turbo/cache/ce67b6522dd09e64-meta.json +0 -1
  569. package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
  570. package/.turbo/cache/d716cb7a08152beb-meta.json +0 -1
  571. package/.turbo/cache/d716cb7a08152beb.tar.zst +0 -0
  572. package/.turbo/cache/d7a47b77deb3d9a4-meta.json +0 -1
  573. package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
  574. package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
  575. package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
  576. package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
  577. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  578. package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
  579. package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
  580. package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
  581. package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
  582. package/.turbo/cache/ff58f630c9d69af4-meta.json +0 -1
  583. package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
@@ -3,33 +3,33 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const t$7=globalThis,e$a=t$7.ShadowRoot&&(void 0===t$7.ShadyCSS||t$7.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$7=Symbol(),o$a=new WeakMap;let n$9 = class n{constructor(t,e,o){if(this._$cssResult$=!0,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$a&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$a.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$a.set(s,t));}return t}toString(){return this.cssText}};const r$a=t=>new n$9("string"==typeof t?t:t+"",void 0,s$7),i$c=(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$9(o,t,s$7)},S$4=(s,o)=>{if(e$a)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$7=e$a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$a(e)})(t):t;
6
+ const t$7=globalThis,e$a=t$7.ShadowRoot&&(undefined===t$7.ShadyCSS||t$7.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$7=Symbol(),o$a=new WeakMap;let n$9 = 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$a&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$a.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$a.set(s,t));}return t}toString(){return this.cssText}};const r$a=t=>new n$9("string"==typeof t?t:t+"",undefined,s$7),i$c=(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$9(o,t,s$7)},S$4=(s,o)=>{if(e$a)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;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$7=e$a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$a(e)})(t):t;
7
7
 
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2017 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
- */const{is:i$b,defineProperty:e$9,getOwnPropertyDescriptor:r$9,getOwnPropertyNames:h$4,getOwnPropertySymbols:o$9,getPrototypeOf:n$8}=Object,a$6=globalThis,c$6=a$6.trustedTypes,l$6=c$6?c$6.emptyScript:"",p$5=a$6.reactiveElementPolyfillSupport,d$4=(t,s)=>t,u$8={toAttribute(t,s){switch(s){case Boolean:t=t?l$6: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$4=(t,s)=>!i$b(t,s),y$4={attribute:!0,type:String,converter:u$8,reflect:!1,hasChanged:f$4};Symbol.metadata??=Symbol("metadata"),a$6.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$4){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$9(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$9(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$4}static _$Ei(){if(this.hasOwnProperty(d$4("elementProperties")))return;const t=n$8(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$4("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$4("properties"))){const t=this.properties,s=[...h$4(t),...o$9(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$7(s));}else void 0!==s&&i.push(c$7(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$4(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$8).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$8;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$4)(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$2.elementStyles=[],b$2.shadowRootOptions={mode:"open"},b$2[d$4("elementProperties")]=new Map,b$2[d$4("finalized")]=new Map,p$5?.({ReactiveElement:b$2}),(a$6.reactiveElementVersions??=[]).push("2.0.4");
12
+ */const{is:i$b,defineProperty:e$9,getOwnPropertyDescriptor:r$9,getOwnPropertyNames:h$4,getOwnPropertySymbols:o$9,getPrototypeOf:n$8}=Object,a$6=globalThis,c$6=a$6.trustedTypes,l$6=c$6?c$6.emptyScript:"",p$5=a$6.reactiveElementPolyfillSupport,d$4=(t,s)=>t,u$8={toAttribute(t,s){switch(s){case Boolean:t=t?l$6: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$4=(t,s)=>!i$b(t,s),y$4={attribute:true,type:String,converter:u$8,reflect:false,hasChanged:f$4};Symbol.metadata??=Symbol("metadata"),a$6.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$4){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$9(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$9(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$4}static _$Ei(){if(this.hasOwnProperty(d$4("elementProperties")))return;const t=n$8(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$4("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$4("properties"))){const t=this.properties,s=[...h$4(t),...o$9(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(undefined!==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);undefined!==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$7(s));}else undefined!==s&&i.push(c$7(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,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),undefined!==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$4(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(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$8).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(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$8;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$4)(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=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===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$4("elementProperties")]=new Map,b$2[d$4("finalized")]=new Map,p$5?.({ReactiveElement:b$2}),(a$6.reactiveElementVersions??=[]).push("2.0.4");
13
13
 
14
14
  /**
15
15
  * @license
16
16
  * Copyright 2017 Google LLC
17
17
  * SPDX-License-Identifier: BSD-3-Clause
18
18
  */
19
- const t$6=globalThis,i$a=t$6.trustedTypes,s$6=i$a?i$a.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$8="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$3,n$7=`<${o$8}>`,r$8=document,l$5=()=>r$8.createComment(""),c$5=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$5=Array.isArray,u$7=t=>a$5(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$2=/>/g,m$3=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$2=y$3(1),T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$8.createTreeWalker(r$8,129);function P$2(t,i){if(!a$5(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$6?s$6.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$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$3:void 0!==u[1]?c=_$2:void 0!==u[2]?($$2.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$3,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$2:p$4):c===g$2||c===p$4?c=m$3:c===v$3||c===_$2?c=f$3:(c=m$3,r=void 0);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$7:d>=0?(o.push(a),s.slice(0,d)+e$8+s.slice(d)+h$3+x):s+h$3+(-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$8)){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$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$3),s=t.length-1;if(s>0){r.textContent=i$a?i$a.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$5()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$5());}}}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$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$8.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$2)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?.(!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$3(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$8).importNode(i,!0);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$8,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??!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$3(this,t,i),c$5(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$7(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$5(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$8.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$3(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$5(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$5()),this.O(l$5()),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$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=!1;if(void 0===h)t=S$3(this,t,i,0),o=!c$5(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$3(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$5(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$3(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$3(this,t);}};const j$2=t$6.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$6.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$5(),t),t,void 0,s??{});}return h._$AI(t),h};
19
+ const t$6=globalThis,i$a=t$6.trustedTypes,s$6=i$a?i$a.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$8="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$3,n$7=`<${o$8}>`,r$8=document,l$5=()=>r$8.createComment(""),c$5=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$5=Array.isArray,u$7=t=>a$5(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$2=/>/g,m$3=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$2=y$3(1),T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$8.createTreeWalker(r$8,129);function P$2(t,i){if(!a$5(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$6?s$6.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$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$3:undefined!==u[1]?c=_$2:undefined!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$3):undefined!==u[3]&&(c=m$3):c===m$3?">"===u[0]?(c=r??f$3,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$3:'"'===u[3]?g$2:p$4):c===g$2||c===p$4?c=m$3:c===v$3||c===_$2?c=f$3:(c=m$3,r=undefined);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$7:d>=0?(o.push(a),s.slice(0,d)+e$8+s.slice(d)+h$3+x):s+h$3+(-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$8)){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$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$3),s=t.length-1;if(s>0){r.textContent=i$a?i$a.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$5()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$5());}}}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$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$8.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$2)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$5(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$3(t,h._$AS(t,i.values),h,e)),i}let M$3 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,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$8).importNode(i,true);C$2.currentNode=e;let h=C$2.nextNode(),o=0,n=0,l=s[0];for(;undefined!==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$8,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==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=undefined,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 undefined!==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$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$7(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$5(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$8.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===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$3(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 undefined===i&&A$2.set(t.strings,i=new N$2(t)),i}k(t){a$5(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$5()),this.O(l$5()),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){ undefined===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=undefined,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(undefined===h)t=S$3(this,t,i,0),o=!c$5(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$3(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$5(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?undefined: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$3(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=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const j$2=t$6.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$6.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l$5(),t),t,undefined,s??{});}return h._$AI(t),h};
20
20
 
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */let r$7 = 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(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T$2}};r$7._$litElement$=!0,r$7["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r$7});const i$9=globalThis.litElementPolyfillSupport;i$9?.({LitElement:r$7});(globalThis.litElementVersions??=[]).push("4.1.1");
25
+ */let r$7 = class r extends b$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}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$7._$litElement$=true,r$7["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$7});const i$9=globalThis.litElementPolyfillSupport;i$9?.({LitElement:r$7});(globalThis.litElementVersions??=[]).push("4.1.1");
26
26
 
27
27
  /**
28
28
  * @license
29
29
  * Copyright 2020 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
31
  */
32
- const a$4=Symbol.for(""),o$7=t=>{if(t?.r===a$4)return t?._$litStatic$},s$5=t=>({_$litStatic$:t,r:a$4}),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$4}),l$4=new Map,n$6=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$7(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$4.get(t))&&(n.raw=n,l$4.set(t,r=n)),e=u;}return t(r,...e)},u$6=n$6(x$2);
32
+ const a$4=Symbol.for(""),o$7=t=>{if(t?.r===a$4)return t?._$litStatic$},s$5=t=>({_$litStatic$:t,r:a$4}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==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$4}),l$4=new Map,n$6=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$7(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$$");undefined===(r=l$4.get(t))&&(n.raw=n,l$4.set(t,r=n)),e=u;}return t(r,...e)},u$6=n$6(x$2);
33
33
 
34
34
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
35
35
  // See LICENSE in the project root for license information.
@@ -135,30 +135,87 @@ let AuroFormValidation$1 = class AuroFormValidation {
135
135
  }
136
136
 
137
137
  /**
138
- * Determines the validity state of the element based on the common attribute restrictions (pattern).
139
- * @private
140
- * @param {object} elem - HTML element to validate.
138
+ * Validates the attributes of a given element based on predefined validation rules.
139
+ *
140
+ * @param {HTMLElement} elem - The element to be validated.
141
141
  * @returns {void}
142
+ *
143
+ * @example
144
+ * // Assuming `inputElement` is a reference to an input element in the DOM
145
+ * validateElementAttributes(inputElement);
146
+ *
147
+ * The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
148
+ * If a validation rule is violated, it sets the element's validity state and error message accordingly.
149
+ *
150
+ * Validation rules:
151
+ * - input:
152
+ * - length:
153
+ * - tooShort: Checks if the value length is less than the minimum length.
154
+ * - tooLong: Checks if the value length exceeds the maximum length.
155
+ * - pattern:
156
+ * - patternMismatch: Checks if the value does not match the specified pattern.
157
+ * - counter:
158
+ * - range:
159
+ * - rangeOverflow: Checks if the value exceeds the maximum value.
160
+ * - rangeUnderflow: Checks if the value is less than the minimum value.
142
161
  */
143
- validateAttributes(elem) {
144
- if (elem.pattern) {
145
- const pattern = new RegExp(`^${elem.pattern}$`, 'u');
146
-
147
- if (!pattern.test(elem.value)) {
148
- elem.validity = 'badInput';
149
- elem.setCustomValidity = elem.setCustomValidityBadInput || '';
162
+ validateElementAttributes(elem) {
163
+ const validationRules = {
164
+ input: {
165
+ length: [
166
+ {
167
+ check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
168
+ validity: 'tooShort',
169
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
170
+ },
171
+ {
172
+ check: (e) => e.value?.length > e.maxLength,
173
+ validity: 'tooLong',
174
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
175
+ }
176
+ ],
177
+ pattern: [
178
+ {
179
+ check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
180
+ validity: 'patternMismatch',
181
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
182
+ }
183
+ ]
184
+ },
185
+ counter: {
186
+ range: [
187
+ {
188
+ check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
189
+ validity: 'rangeOverflow',
190
+ message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
191
+ },
192
+ {
193
+ check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
194
+ validity: 'rangeUnderflow',
195
+ message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
196
+ }
197
+ ]
150
198
  }
199
+ };
200
+
201
+ let elementType;
202
+ if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
203
+ elementType = 'input';
204
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
205
+ elementType = 'counter';
151
206
  }
152
-
153
- // Length > 0 is required to prevent the error message from showing when the input is empty
154
- if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
155
- elem.validity = 'tooShort';
156
- elem.setCustomValidity = elem.setCustomValidityTooShort || '';
157
- }
158
207
 
159
- if (elem.value?.length > elem.maxLength) {
160
- elem.validity = 'tooLong';
161
- elem.setCustomValidity = elem.setCustomValidityTooLong || '';
208
+ if (elementType) {
209
+ const rules = validationRules[elementType];
210
+
211
+ if (rules) {
212
+ Object.values(rules).flat().forEach(rule => {
213
+ if (rule.check(elem)) {
214
+ elem.validity = rule.validity;
215
+ elem.errorMessage = rule.message(elem);
216
+ }
217
+ });
218
+ }
162
219
  }
163
220
  }
164
221
 
@@ -174,33 +231,32 @@ let AuroFormValidation$1 = class AuroFormValidation {
174
231
  const emailRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; // eslint-disable-line require-unicode-regexp
175
232
 
176
233
  if (!elem.value.match(emailRegex)) {
177
- elem.validity = 'badInput';
178
- elem.setCustomValidity = elem.setCustomValidityForType || '';
234
+ elem.validity = 'patternMismatch';
235
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
179
236
  }
180
237
  } else if (elem.type === 'credit-card') {
181
238
  if (elem.value.length > 0 && elem.value.length < elem.validationCCLength) {
182
239
  elem.validity = 'tooShort';
183
- elem.setCustomValidity = elem.setCustomValidityForType || '';
240
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
184
241
  }
185
242
  } else if (elem.type === 'number') {
186
243
  if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
187
244
  elem.validity = 'rangeOverflow';
188
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
245
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
189
246
  }
190
247
 
191
- if (elem.min !== undefined && Number(elem.min) > Number(elem.value)) {
248
+ if (elem.min !== undefined && elem.value?.length > 0 && Number(elem.min) > Number(elem.value)) {
192
249
  elem.validity = 'rangeUnderflow';
193
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
250
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
194
251
  }
195
-
196
252
  } else if (elem.type === 'month-day-year' ||
197
253
  elem.type === 'month-year' ||
198
254
  elem.type === 'month-fullYear' ||
199
255
  elem.type === 'year-month-day'
200
256
  ) {
201
- if (elem.value && elem.value.length > 0 && elem.value.length < elem.dateStrLength) {
257
+ if (elem.value?.length > 0 && elem.value.length < elem.dateStrLength) {
202
258
  elem.validity = 'tooShort';
203
- elem.setCustomValidity = elem.setCustomValidityForType || '';
259
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
204
260
  } else {
205
261
  const valueDate = new Date(elem.value);
206
262
 
@@ -210,7 +266,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
210
266
 
211
267
  if (valueDate > maxDate) {
212
268
  elem.validity = 'rangeOverflow';
213
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
269
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
214
270
  }
215
271
  }
216
272
 
@@ -220,7 +276,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
220
276
 
221
277
  if (valueDate < minDate) {
222
278
  elem.validity = 'rangeUnderflow';
223
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
279
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
224
280
  }
225
281
  }
226
282
  }
@@ -243,10 +299,10 @@ let AuroFormValidation$1 = class AuroFormValidation {
243
299
 
244
300
  if (elem.hasAttribute('error')) {
245
301
  elem.validity = 'customError';
246
- elem.setCustomValidity = elem.error;
302
+ elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
247
303
  } else if (validationShouldRun) {
248
304
  elem.validity = 'valid';
249
- elem.setCustomValidity = '';
305
+ elem.errorMessage = '';
250
306
 
251
307
  /**
252
308
  * Only validate once we interact with the datepicker
@@ -258,7 +314,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
258
314
  let hasValue = elem.value && elem.value.length > 0;
259
315
 
260
316
  // If there is a second input in the elem and that value is undefined or an empty string set hasValue to false;
261
- if (this.auroInputElements && this.auroInputElements.length === 2) {
317
+ if (this.auroInputElements?.length === 2) {
262
318
  if (!this.auroInputElements[1].value || this.auroInputElements[1].length === 0) {
263
319
  hasValue = false;
264
320
  }
@@ -266,31 +322,29 @@ let AuroFormValidation$1 = class AuroFormValidation {
266
322
 
267
323
  if (!hasValue && elem.required) {
268
324
  elem.validity = 'valueMissing';
269
- elem.setCustomValidity = elem.setCustomValidityValueMissing || '';
325
+ elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
270
326
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
271
327
  this.validateType(elem);
272
- this.validateAttributes(elem);
328
+ this.validateElementAttributes(elem);
329
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
330
+ this.validateElementAttributes(elem);
273
331
  }
274
332
  }
275
333
 
276
- if (this.auroInputElements && this.auroInputElements.length > 0) {
334
+ if (this.auroInputElements?.length > 0) {
277
335
  elem.validity = this.auroInputElements[0].validity;
278
- elem.setCustomValidity = this.auroInputElements[0].setCustomValidity;
336
+ elem.errorMessage = this.auroInputElements[0].errorMessage;
279
337
 
280
- if (elem.validity === 'valid') {
281
- if (this.auroInputElements.length > 1) {
282
- elem.validity = this.auroInputElements[1].validity;
283
- elem.setCustomValidity = this.auroInputElements[1].setCustomValidity;
284
- }
338
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
339
+ elem.validity = this.auroInputElements[1].validity;
340
+ elem.errorMessage = this.auroInputElements[1].errorMessage;
285
341
  }
286
342
  }
287
343
 
288
344
  if (validationShouldRun || elem.hasAttribute('error')) {
289
- if (elem.validity && elem.validity !== 'valid') {
290
- // Use the validity message override if it is declared
291
- if (elem.ValidityMessageOverride) {
292
- elem.setCustomValidity = elem.ValidityMessageOverride;
293
- }
345
+ // Use the validity message override if it is declared
346
+ if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
347
+ elem.errorMessage = elem.ValidityMessageOverride;
294
348
  }
295
349
 
296
350
  this.getErrorMessage(elem);
@@ -336,18 +390,18 @@ let AuroFormValidation$1 = class AuroFormValidation {
336
390
  if (elem.validity !== 'valid') {
337
391
  if (elem.setCustomValidity) {
338
392
  elem.errorMessage = elem.setCustomValidity;
339
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
393
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input') && elem.errorMessage === '') {
340
394
  const input = elem.renderRoot.querySelector('input');
341
395
 
342
396
  if (input.validationMessage.length > 0) {
343
397
  elem.errorMessage = input.validationMessage;
344
398
  }
345
- } else if (this.inputElements && this.inputElements.length > 0) {
399
+ } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
346
400
  const firstInput = this.inputElements[0];
347
401
 
348
402
  if (firstInput.validationMessage.length > 0) {
349
403
  elem.errorMessage = firstInput.validationMessage;
350
- } else if (this.inputElements.length === 2) {
404
+ } else if (this.inputElements?.length === 2) {
351
405
  const secondInput = this.inputElements[1];
352
406
 
353
407
  if (secondInput.validationMessage.length > 0) {
@@ -690,7 +744,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
690
744
  * @license
691
745
  * Copyright 2017 Google LLC
692
746
  * SPDX-License-Identifier: BSD-3-Clause
693
- */const o$6={attribute:!0,type:String,converter:u$8,reflect:!1,hasChanged:f$4},r$6=(t=o$6,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),"accessor"===n){const{name:o}=r;return {set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t);},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t);}}throw Error("Unsupported decorator location: "+n)};function n$5(t){return (e,o)=>"object"==typeof o?r$6(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}
747
+ */const o$6={attribute:true,type:String,converter:u$8,reflect:false,hasChanged:f$4},r$6=(t=o$6,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(undefined===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),"accessor"===n){const{name:o}=r;return {set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t);},init(e){return undefined!==e&&this.P(o,undefined,t),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t);}}throw Error("Unsupported decorator location: "+n)};function n$5(t){return (e,o)=>"object"==typeof o?r$6(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:true}:t),r?Object.getOwnPropertyDescriptor(e,o):undefined})(t,e,o)}
694
748
 
695
749
  /**
696
750
  * @module constants
@@ -6415,7 +6469,7 @@ function cleanEscapedString(input) {
6415
6469
  * //=> Mon Sep 01 2014 00:00:00
6416
6470
  */
6417
6471
  function subMonths(date, amount, options) {
6418
- return addMonths(date, -amount, options);
6472
+ return addMonths(date, -1, options);
6419
6473
  }
6420
6474
 
6421
6475
  /**
@@ -6445,7 +6499,7 @@ function subMonths(date, amount, options) {
6445
6499
  * //=> Tue Sep 01 2009 00:00:00
6446
6500
  */
6447
6501
  function subYears(date, amount, options) {
6448
- return addYears(date, -amount, options);
6502
+ return addYears(date, -1, options);
6449
6503
  }
6450
6504
 
6451
6505
  class RangeDatepickerCell extends r$7 {
@@ -6486,8 +6540,8 @@ class RangeDatepickerCell extends r$7 {
6486
6540
  @focus="${this.handleHover}"
6487
6541
  class="day ${this.isCurrentDate ? 'currentDate' : ''} ${this.isSelected(this.selected)} ${this.isHovered(this.hovered)} ${this.isEnabled(this.day, this.min, this.max, this.disabledDays)}"
6488
6542
  ?disabled="${this.disabled}"
6489
- title="${this.getTitle((_a = this.day) === null || _a === void 0 ? void 0 : _a.date)}">
6490
- <div class="currentDayMarker">${(_b = this.day) === null || _b === void 0 ? void 0 : _b.title}</div>
6543
+ title="${this.getTitle((_a = this.day) === null || _a === undefined ? undefined : _a.date)}">
6544
+ <div class="currentDayMarker">${(_b = this.day) === null || _b === undefined ? undefined : _b.title}</div>
6491
6545
  </button>
6492
6546
  `;
6493
6547
  }
@@ -6527,7 +6581,7 @@ class RangeDatepickerCell extends r$7 {
6527
6581
  let _a;
6528
6582
  if (!this.disabled) {
6529
6583
  this.dispatchEvent(new CustomEvent('date-is-selected', {
6530
- detail: { date: (_a = this.day) === null || _a === void 0 ? void 0 : _a.date },
6584
+ detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
6531
6585
  }));
6532
6586
  }
6533
6587
  }
@@ -6535,7 +6589,7 @@ class RangeDatepickerCell extends r$7 {
6535
6589
  handleHover() {
6536
6590
  let _a;
6537
6591
  this.dispatchEvent(new CustomEvent('date-is-hovered', {
6538
- detail: { date: (_a = this.day) === null || _a === void 0 ? void 0 : _a.date },
6592
+ detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
6539
6593
  }));
6540
6594
  }
6541
6595
 
@@ -6636,18 +6690,18 @@ RangeDatepickerCell.styles = i$c`
6636
6690
  opacity: 0.4;
6637
6691
  }
6638
6692
  `;
6639
- __decorate([n$5({ type: Object })], RangeDatepickerCell.prototype, "day", void 0);
6640
- __decorate([n$5({ type: Boolean })], RangeDatepickerCell.prototype, "selected", void 0);
6641
- __decorate([n$5({ type: Boolean })], RangeDatepickerCell.prototype, "hovered", void 0);
6642
- __decorate([n$5({ type: String })], RangeDatepickerCell.prototype, "dateTo", void 0);
6643
- __decorate([n$5({ type: String })], RangeDatepickerCell.prototype, "dateFrom", void 0);
6644
- __decorate([n$5({ type: String })], RangeDatepickerCell.prototype, "month", void 0);
6645
- __decorate([n$5({ type: Number })], RangeDatepickerCell.prototype, "min", void 0);
6646
- __decorate([n$5({ type: Number })], RangeDatepickerCell.prototype, "max", void 0);
6647
- __decorate([n$5({ type: Boolean })], RangeDatepickerCell.prototype, "disabled", void 0);
6648
- __decorate([n$5({ type: Array })], RangeDatepickerCell.prototype, "disabledDays", void 0);
6649
- __decorate([n$5({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", void 0);
6650
- __decorate([n$5({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", void 0);
6693
+ __decorate([n$5({ type: Object })], RangeDatepickerCell.prototype, "day", undefined);
6694
+ __decorate([n$5({ type: Boolean })], RangeDatepickerCell.prototype, "selected", undefined);
6695
+ __decorate([n$5({ type: Boolean })], RangeDatepickerCell.prototype, "hovered", undefined);
6696
+ __decorate([n$5({ type: String })], RangeDatepickerCell.prototype, "dateTo", undefined);
6697
+ __decorate([n$5({ type: String })], RangeDatepickerCell.prototype, "dateFrom", undefined);
6698
+ __decorate([n$5({ type: String })], RangeDatepickerCell.prototype, "month", undefined);
6699
+ __decorate([n$5({ type: Number })], RangeDatepickerCell.prototype, "min", undefined);
6700
+ __decorate([n$5({ type: Number })], RangeDatepickerCell.prototype, "max", undefined);
6701
+ __decorate([n$5({ type: Boolean })], RangeDatepickerCell.prototype, "disabled", undefined);
6702
+ __decorate([n$5({ type: Array })], RangeDatepickerCell.prototype, "disabledDays", undefined);
6703
+ __decorate([n$5({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", undefined);
6704
+ __decorate([n$5({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", undefined);
6651
6705
  __decorate([n$5({ type: Object })], RangeDatepickerCell.prototype, "locale", null);
6652
6706
  AuroLibraryRuntimeUtils$2.prototype.registerComponent('wc-range-datepicker-cell', RangeDatepickerCell);
6653
6707
 
@@ -6726,11 +6780,11 @@ class RangeDatepickerCalendar extends r$7 {
6726
6780
  <div class="table">
6727
6781
  <div class="thead">
6728
6782
  <div class="tr">
6729
- ${(_a = this.dayNamesOfTheWeek) === null || _a === void 0 ? void 0 : _a.map((dayNameOfWeek) => this.renderDayOfWeek(dayNameOfWeek))}
6783
+ ${(_a = this.dayNamesOfTheWeek) === null || _a === undefined ? undefined : _a.map((dayNameOfWeek) => this.renderDayOfWeek(dayNameOfWeek))}
6730
6784
  </div>
6731
6785
  </div>
6732
6786
  <div class="tbody">
6733
- ${(_b = this.daysOfMonth) === null || _b === void 0 ? void 0 : _b.map((week) => this.renderWeek(week))}
6787
+ ${(_b = this.daysOfMonth) === null || _b === undefined ? undefined : _b.map((week) => this.renderWeek(week))}
6734
6788
  </div>
6735
6789
  </div>
6736
6790
  </div>
@@ -6929,7 +6983,7 @@ class RangeDatepickerCalendar extends r$7 {
6929
6983
 
6930
6984
  handleOpenYearSelection() {
6931
6985
  let _a;
6932
- const menu = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.year-change');
6986
+ const menu = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.year-change');
6933
6987
  const index = menu.items.findIndex((item) => item.value === this.year.toString());
6934
6988
  menu.select(index);
6935
6989
  menu.show();
@@ -6937,9 +6991,9 @@ class RangeDatepickerCalendar extends r$7 {
6937
6991
 
6938
6992
  handleYearSelected() {
6939
6993
  let _a;
6940
- const menu = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.year-change');
6994
+ const menu = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.year-change');
6941
6995
  const selected = menu.selected;
6942
- this.year = parseInt(selected === null || selected === void 0 ? void 0 : selected.value, 10);
6996
+ this.year = parseInt(selected === null || selected === undefined ? undefined : selected.value, 10);
6943
6997
  }
6944
6998
 
6945
6999
  handleDateHovered(event) {
@@ -6951,12 +7005,12 @@ class RangeDatepickerCalendar extends r$7 {
6951
7005
 
6952
7006
  handleNextMonth() {
6953
7007
  let _a, _b;
6954
- const tbody = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.tbody');
6955
- const monthName = (_b = this.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.header > div');
6956
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('withTransition');
6957
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('moveToLeft');
6958
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('withTransition');
6959
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('moveToLeft');
7008
+ const tbody = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.tbody');
7009
+ const monthName = (_b = this.shadowRoot) === null || _b === undefined ? undefined : _b.querySelector('.header > div');
7010
+ tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
7011
+ tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToLeft');
7012
+ monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
7013
+ monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToLeft');
6960
7014
  const month = parse(this.month, 'MM', new Date());
6961
7015
  const monthPlusDate = addMonths(month, 1);
6962
7016
  const monthPlusString = format(monthPlusDate, 'MM', {
@@ -6973,20 +7027,20 @@ class RangeDatepickerCalendar extends r$7 {
6973
7027
  }
6974
7028
  this.dispatchEvent(new CustomEvent('next-month'));
6975
7029
  setTimeout(() => {
6976
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('withTransition');
6977
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('moveToRight');
6978
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('moveToLeft');
6979
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('withTransition');
6980
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('moveToRight');
6981
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('moveToLeft');
7030
+ tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
7031
+ tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToRight');
7032
+ tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToLeft');
7033
+ monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
7034
+ monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToRight');
7035
+ monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToLeft');
6982
7036
  setTimeout(() => {
6983
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('withTransition');
6984
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('moveToRight');
6985
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('withTransition');
6986
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('moveToRight');
7037
+ tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
7038
+ tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToRight');
7039
+ monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
7040
+ monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToRight');
6987
7041
  setTimeout(() => {
6988
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('withTransition');
6989
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('withTransition');
7042
+ tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
7043
+ monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
6990
7044
  }, 100);
6991
7045
  }, 100);
6992
7046
  }, 100);
@@ -6994,21 +7048,21 @@ class RangeDatepickerCalendar extends r$7 {
6994
7048
 
6995
7049
  handlePrevMonth() {
6996
7050
  let _a, _b;
6997
- const tbody = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.tbody');
6998
- const monthName = (_b = this.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.header > div');
6999
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('withTransition');
7000
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('moveToRight');
7001
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('withTransition');
7002
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('moveToRight');
7051
+ const tbody = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('.tbody');
7052
+ const monthName = (_b = this.shadowRoot) === null || _b === undefined ? undefined : _b.querySelector('.header > div');
7053
+ tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
7054
+ tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToRight');
7055
+ monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
7056
+ monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToRight');
7003
7057
  const month = parse(this.month, 'MM', new Date());
7004
- const monthMinusDate = subMonths(month, 1);
7058
+ const monthMinusDate = subMonths(month);
7005
7059
  const monthMinusString = format(monthMinusDate, 'MM', {
7006
7060
  locale: this.locale,
7007
7061
  });
7008
7062
  this.month = monthMinusString;
7009
7063
  if (this.month === '12') {
7010
7064
  const year = parse(this.year.toString(), 'yyyy', new Date());
7011
- const yearMinusDate = subYears(year, 1);
7065
+ const yearMinusDate = subYears(year);
7012
7066
  const yearMinusString = format(yearMinusDate, 'yyyy', {
7013
7067
  locale: this.locale,
7014
7068
  });
@@ -7016,20 +7070,20 @@ class RangeDatepickerCalendar extends r$7 {
7016
7070
  }
7017
7071
  this.dispatchEvent(new CustomEvent('prev-month'));
7018
7072
  setTimeout(() => {
7019
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('withTransition');
7020
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('moveToLeft');
7021
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('moveToRight');
7022
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('withTransition');
7023
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('moveToLeft');
7024
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('moveToRight');
7073
+ tbody === null || tbody === undefined ? undefined : tbody.classList.remove('withTransition');
7074
+ tbody === null || tbody === undefined ? undefined : tbody.classList.add('moveToLeft');
7075
+ tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToRight');
7076
+ monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
7077
+ monthName === null || monthName === undefined ? undefined : monthName.classList.add('moveToLeft');
7078
+ monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToRight');
7025
7079
  setTimeout(() => {
7026
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.add('withTransition');
7027
- tbody === null || tbody === void 0 ? void 0 : tbody.classList.remove('moveToLeft');
7028
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.add('withTransition');
7029
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('moveToLeft');
7080
+ tbody === null || tbody === undefined ? undefined : tbody.classList.add('withTransition');
7081
+ tbody === null || tbody === undefined ? undefined : tbody.classList.remove('moveToLeft');
7082
+ monthName === null || monthName === undefined ? undefined : monthName.classList.add('withTransition');
7083
+ monthName === null || monthName === undefined ? undefined : monthName.classList.remove('moveToLeft');
7030
7084
  setTimeout(() => {
7031
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('withTransition');
7032
- monthName === null || monthName === void 0 ? void 0 : monthName.classList.remove('withTransition');
7085
+ monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
7086
+ monthName === null || monthName === undefined ? undefined : monthName.classList.remove('withTransition');
7033
7087
  }, 100);
7034
7088
  }, 100);
7035
7089
  }, 100);
@@ -7149,24 +7203,24 @@ RangeDatepickerCalendar.styles = i$c`
7149
7203
  max-height: 200px;
7150
7204
  }
7151
7205
  `;
7152
- __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "dateFrom", void 0);
7153
- __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "dateTo", void 0);
7154
- __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "hoveredDate", void 0);
7155
- __decorate([n$5({ type: Boolean })], RangeDatepickerCalendar.prototype, "enableYearChange", void 0);
7156
- __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "month", void 0);
7157
- __decorate([n$5({ type: Boolean })], RangeDatepickerCalendar.prototype, "narrow", void 0);
7158
- __decorate([n$5({ type: Boolean })], RangeDatepickerCalendar.prototype, "noRange", void 0);
7159
- __decorate([n$5({ type: Boolean })], RangeDatepickerCalendar.prototype, "next", void 0);
7160
- __decorate([n$5({ type: Boolean })], RangeDatepickerCalendar.prototype, "prev", void 0);
7161
- __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "year", void 0);
7162
- __decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "disabledDays", void 0);
7206
+ __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "dateFrom", undefined);
7207
+ __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "dateTo", undefined);
7208
+ __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "hoveredDate", undefined);
7209
+ __decorate([n$5({ type: Boolean })], RangeDatepickerCalendar.prototype, "enableYearChange", undefined);
7210
+ __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "month", undefined);
7211
+ __decorate([n$5({ type: Boolean })], RangeDatepickerCalendar.prototype, "narrow", undefined);
7212
+ __decorate([n$5({ type: Boolean })], RangeDatepickerCalendar.prototype, "noRange", undefined);
7213
+ __decorate([n$5({ type: Boolean })], RangeDatepickerCalendar.prototype, "next", undefined);
7214
+ __decorate([n$5({ type: Boolean })], RangeDatepickerCalendar.prototype, "prev", undefined);
7215
+ __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "year", undefined);
7216
+ __decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "disabledDays", undefined);
7163
7217
  __decorate([n$5({ type: Object })], RangeDatepickerCalendar.prototype, "locale", null);
7164
- __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "max", void 0);
7165
- __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "min", void 0);
7166
- __decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "yearsList", void 0);
7167
- __decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", void 0);
7168
- __decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", void 0);
7169
- __decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", void 0);
7218
+ __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "max", undefined);
7219
+ __decorate([n$5({ type: String })], RangeDatepickerCalendar.prototype, "min", undefined);
7220
+ __decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "yearsList", undefined);
7221
+ __decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", undefined);
7222
+ __decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", undefined);
7223
+ __decorate([n$5({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", undefined);
7170
7224
  AuroLibraryRuntimeUtils$2.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
7171
7225
 
7172
7226
  /**
@@ -7180,11 +7234,11 @@ const t$5={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
7180
7234
  * @license
7181
7235
  * Copyright 2018 Google LLC
7182
7236
  * SPDX-License-Identifier: BSD-3-Clause
7183
- */const e$6=e$7(class extends i$7{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$2}});
7237
+ */const e$6=e$7(class extends i$7{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(undefined===this.st){this.st=new Set,undefined!==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$2}});
7184
7238
 
7185
7239
  var styleCss$6 = i$c`@media screen and (max-width: 576px){:host{display:flex;justify-content:center}}.day{position:relative;width:var(--ds-size-500, 2.5rem);height:calc(var(--ds-size-700, 3.5rem) - 2px);padding:0;border-width:1px;border-style:solid;border-radius:var(--ds-size-300, 1.5rem);cursor:pointer;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);user-select:none}.day.disabled{cursor:default !important}.day.inRange::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%)}@media screen and (min-width: 576px){.day.inRange::before{width:var(--ds-size-600, 3rem)}}.day.rangeDepartDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(0%, -50%)}@media screen and (min-width: 576px){.day.rangeDepartDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.day.rangeReturnDate::before,.day.lastHoveredDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(-100%, -50%)}@media screen and (min-width: 576px){.day.rangeReturnDate::before,.day.lastHoveredDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.dateSlot{display:flex;flex-direction:column;font-size:var(--ds-text-body-size-xxs, 0.625rem)}::slotted([slot^=date_]){position:absolute;top:80%;left:50%;width:80%;overflow:hidden;white-space:nowrap;transform:translate(-50%, -50%)}::slotted(auro-icon){max-height:24px;max-width:24px}:host([renderForDateSlot]) .buttonWrapper{position:relative;width:100%;top:5px}:host([renderForDateSlot]) .currentDayMarker{position:relative;padding-bottom:5px;top:-8px}@media screen and (min-width: 576px){.day{width:var(--ds-size-600, 3rem);height:var(--ds-size-800, 4rem);font-size:var(--ds-text-body-size-lg, 1.125rem)}.day:hover{cursor:pointer}.dateSlot{font-size:var(--ds-text-body-size-xs, 0.75rem)}}`;
7186
7240
 
7187
- var colorCss$6 = i$c`:host ::slotted([slot^=date_]){color:var(--ds-auro-calendar-cell-price-text-color)}:host ::slotted([slot^=date_][highlight]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-success-default, #0b6f4d)}.day{border-color:var(--ds-auro-calendar-cell-border-color);background-color:var(--ds-auro-calendar-cell-container-color);color:var(--ds-auro-calendar-cell-text-color)}.day.selected{--ds-auro-calendar-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-calendar-cell-container-color: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-inverse, #ffffff);box-shadow:var(--ds-auro-calendar-boxshadow-color)}.day.selected:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-cell-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:unset}.day.selected:not(:hover){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-primary-inverse, #ffffff)}.day:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03));--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-default, #2a2a2a)}.day.disabled{--ds-auro-calendar-cell-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff)}.day.inRange:before,.day.rangeDepartDate:before,.day.rangeReturnDate:before,.day.lastHoveredDate:before{background-color:var(--ds-auro-calendar-cell-in-range-color)}.day.sameDateTrip:before{--ds-auro-calendar-cell-in-range-color: transparent}:host([disabled]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
7241
+ var colorCss$6 = i$c`:host ::slotted([slot^=date_]){color:var(--ds-auro-calendar-cell-price-text-color)}:host ::slotted([slot^=date_][highlight]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-success-default, #0b6f4d)}.day{border-color:var(--ds-auro-calendar-cell-border-color);background-color:var(--ds-auro-calendar-cell-container-color);color:var(--ds-auro-calendar-cell-text-color)}.day.selected{--ds-auro-calendar-border-color: var(--ds-color-border-ui-active-default, #225296);--ds-auro-calendar-cell-container-color: var(--ds-color-container-ui-primary-active-default, #225296);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-inverse, #ffffff);box-shadow:var(--ds-auro-calendar-boxshadow-color)}.day.selected:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-calendar-cell-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:unset}.day.selected:not(:hover){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-primary-inverse, #ffffff)}.day:hover{--ds-auro-calendar-cell-container-color: var(--ds-color-brand-neutral-200, #e4e8ec);--ds-auro-calendar-cell-text-color: var(--ds-color-text-primary-default, #2a2a2a)}.day.disabled{--ds-auro-calendar-cell-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-calendar-cell-container-color: var(--ds-color-container-primary-default, #ffffff)}.day.inRange:before,.day.rangeDepartDate:before,.day.rangeReturnDate:before,.day.lastHoveredDate:before{background-color:var(--ds-auro-calendar-cell-in-range-color)}.day.sameDateTrip:before{--ds-auro-calendar-cell-in-range-color: transparent}:host([disabled]){--ds-auro-calendar-cell-price-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
7188
7242
 
7189
7243
  var styleCss$5 = i$c`: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-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: 400;--ds-depth-tooltip: 300;--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: #dddddd;--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: #dddddd;--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}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([addSpace]) :host(:not([data-show])) .popover,:host(:not([data-show])) .popover,:host([disabled]) .popover{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(*){white-space:normal}::slotted(*:hover){cursor:pointer}[data-trigger-placement]::slotted(*:hover){position:relative}[data-trigger-placement]::slotted(*:hover):before{position:absolute;left:0;display:block;width:100%;height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:""}[data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}[data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}:host([data-show]) .popover{z-index:var(--ds-depth-tooltip, 300)}:host([removeSpace]) .popover{margin:calc(-1*(var(--ds-size-50, 0.25rem) + 1px)) 0 !important}:host([addSpace]) .popover{margin:var(--ds-size-200, 1rem) 0 !important}:host([addSpace]) [data-trigger-placement]::slotted(*:hover):before{height:var(--ds-size-500, 2.5rem)}:host([addSpace]) [data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*var(--ds-size-500, 2.5rem))}:host([addSpace]) [data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*var(--ds-size-500, 2.5rem))}.popover{display:inline-block;max-width:calc(100% - var(--ds-size-400, 2rem));border-radius:var(--ds-border-radius, 0.375rem)}@media screen and (min-width: 576px){.popover{max-width:50%}}@media screen and (min-width: 768px){.popover{max-width:40%}}@media screen and (min-width: 1024px){.popover{max-width:27rem}}[data-popper-placement^=top]>.arrow{bottom:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=top]>.arrow:before{top:calc(-1*var(--ds-size-200, 1rem));left:calc(-1*var(--ds-size-75, 0.375rem));transform:rotate(45deg)}[data-popper-placement^=bottom]>.arrow{top:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=bottom]>.arrow:before{top:var(--ds-size-50, 0.25rem);right:calc(-1*var(--ds-size-200, 1rem));transform:rotate(-135deg)}.arrow{position:relative;margin-top:-var(--ds-size-100, 0.5rem)}.arrow:before{position:absolute;width:var(--ds-size-150, 0.75rem);height:var(--ds-size-150, 0.75rem);content:""}`;
7190
7244
 
@@ -7369,11 +7423,11 @@ function isLayoutViewport() {
7369
7423
  }
7370
7424
 
7371
7425
  function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
7372
- if (includeScale === void 0) {
7426
+ if (includeScale === undefined) {
7373
7427
  includeScale = false;
7374
7428
  }
7375
7429
 
7376
- if (isFixedStrategy === void 0) {
7430
+ if (isFixedStrategy === undefined) {
7377
7431
  isFixedStrategy = false;
7378
7432
  }
7379
7433
 
@@ -7627,7 +7681,7 @@ function effect$1(_ref2) {
7627
7681
  var state = _ref2.state,
7628
7682
  options = _ref2.options;
7629
7683
  var _options$element = options.element,
7630
- arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
7684
+ arrowElement = _options$element === undefined ? '[data-popper-arrow]' : _options$element;
7631
7685
 
7632
7686
  if (arrowElement == null) {
7633
7687
  return;
@@ -7697,9 +7751,9 @@ function mapToStyles(_ref2) {
7697
7751
  roundOffsets = _ref2.roundOffsets,
7698
7752
  isFixed = _ref2.isFixed;
7699
7753
  var _offsets$x = offsets.x,
7700
- x = _offsets$x === void 0 ? 0 : _offsets$x,
7754
+ x = _offsets$x === undefined ? 0 : _offsets$x,
7701
7755
  _offsets$y = offsets.y,
7702
- y = _offsets$y === void 0 ? 0 : _offsets$y;
7756
+ y = _offsets$y === undefined ? 0 : _offsets$y;
7703
7757
 
7704
7758
  var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
7705
7759
  x: x,
@@ -7779,11 +7833,11 @@ function computeStyles(_ref5) {
7779
7833
  var state = _ref5.state,
7780
7834
  options = _ref5.options;
7781
7835
  var _options$gpuAccelerat = options.gpuAcceleration,
7782
- gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
7836
+ gpuAcceleration = _options$gpuAccelerat === undefined ? true : _options$gpuAccelerat,
7783
7837
  _options$adaptive = options.adaptive,
7784
- adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
7838
+ adaptive = _options$adaptive === undefined ? true : _options$adaptive,
7785
7839
  _options$roundOffsets = options.roundOffsets,
7786
- roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
7840
+ roundOffsets = _options$roundOffsets === undefined ? true : _options$roundOffsets;
7787
7841
  var commonStyles = {
7788
7842
  placement: getBasePlacement(state.placement),
7789
7843
  variation: getVariation(state.placement),
@@ -7834,9 +7888,9 @@ function effect(_ref) {
7834
7888
  instance = _ref.instance,
7835
7889
  options = _ref.options;
7836
7890
  var _options$scroll = options.scroll,
7837
- scroll = _options$scroll === void 0 ? true : _options$scroll,
7891
+ scroll = _options$scroll === undefined ? true : _options$scroll,
7838
7892
  _options$resize = options.resize,
7839
- resize = _options$resize === void 0 ? true : _options$resize;
7893
+ resize = _options$resize === undefined ? true : _options$resize;
7840
7894
  var window = getWindow$1(state.elements.popper);
7841
7895
  var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
7842
7896
 
@@ -7951,7 +8005,7 @@ function getDocumentRect$1(element) {
7951
8005
 
7952
8006
  var html = getDocumentElement$1(element);
7953
8007
  var winScroll = getWindowScroll(element);
7954
- var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
8008
+ var body = (_element$ownerDocumen = element.ownerDocument) == null ? undefined : _element$ownerDocumen.body;
7955
8009
  var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
7956
8010
  var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
7957
8011
  var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
@@ -8002,12 +8056,12 @@ reference element's position.
8002
8056
  function listScrollParents(element, list) {
8003
8057
  var _element$ownerDocumen;
8004
8058
 
8005
- if (list === void 0) {
8059
+ if (list === undefined) {
8006
8060
  list = [];
8007
8061
  }
8008
8062
 
8009
8063
  var scrollParent = getScrollParent(element);
8010
- var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
8064
+ var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? undefined : _element$ownerDocumen.body);
8011
8065
  var win = getWindow$1(scrollParent);
8012
8066
  var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
8013
8067
  var updatedList = list.concat(target);
@@ -8146,25 +8200,25 @@ function computeOffsets(_ref) {
8146
8200
  }
8147
8201
 
8148
8202
  function detectOverflow$1(state, options) {
8149
- if (options === void 0) {
8203
+ if (options === undefined) {
8150
8204
  options = {};
8151
8205
  }
8152
8206
 
8153
8207
  var _options = options,
8154
8208
  _options$placement = _options.placement,
8155
- placement = _options$placement === void 0 ? state.placement : _options$placement,
8209
+ placement = _options$placement === undefined ? state.placement : _options$placement,
8156
8210
  _options$strategy = _options.strategy,
8157
- strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
8211
+ strategy = _options$strategy === undefined ? state.strategy : _options$strategy,
8158
8212
  _options$boundary = _options.boundary,
8159
- boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
8213
+ boundary = _options$boundary === undefined ? clippingParents : _options$boundary,
8160
8214
  _options$rootBoundary = _options.rootBoundary,
8161
- rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,
8215
+ rootBoundary = _options$rootBoundary === undefined ? viewport : _options$rootBoundary,
8162
8216
  _options$elementConte = _options.elementContext,
8163
- elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,
8217
+ elementContext = _options$elementConte === undefined ? popper : _options$elementConte,
8164
8218
  _options$altBoundary = _options.altBoundary,
8165
- altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
8219
+ altBoundary = _options$altBoundary === undefined ? false : _options$altBoundary,
8166
8220
  _options$padding = _options.padding,
8167
- padding = _options$padding === void 0 ? 0 : _options$padding;
8221
+ padding = _options$padding === undefined ? 0 : _options$padding;
8168
8222
  var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
8169
8223
  var altContext = elementContext === popper ? reference : popper;
8170
8224
  var popperRect = state.rects.popper;
@@ -8202,7 +8256,7 @@ function detectOverflow$1(state, options) {
8202
8256
  }
8203
8257
 
8204
8258
  function computeAutoPlacement(state, options) {
8205
- if (options === void 0) {
8259
+ if (options === undefined) {
8206
8260
  options = {};
8207
8261
  }
8208
8262
 
@@ -8213,7 +8267,7 @@ function computeAutoPlacement(state, options) {
8213
8267
  padding = _options.padding,
8214
8268
  flipVariations = _options.flipVariations,
8215
8269
  _options$allowedAutoP = _options.allowedAutoPlacements,
8216
- allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements$1 : _options$allowedAutoP;
8270
+ allowedAutoPlacements = _options$allowedAutoP === undefined ? placements$1 : _options$allowedAutoP;
8217
8271
  var variation = getVariation(placement);
8218
8272
  var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
8219
8273
  return getVariation(placement) === variation;
@@ -8260,16 +8314,16 @@ function flip$2(_ref) {
8260
8314
  }
8261
8315
 
8262
8316
  var _options$mainAxis = options.mainAxis,
8263
- checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
8317
+ checkMainAxis = _options$mainAxis === undefined ? true : _options$mainAxis,
8264
8318
  _options$altAxis = options.altAxis,
8265
- checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
8319
+ checkAltAxis = _options$altAxis === undefined ? true : _options$altAxis,
8266
8320
  specifiedFallbackPlacements = options.fallbackPlacements,
8267
8321
  padding = options.padding,
8268
8322
  boundary = options.boundary,
8269
8323
  rootBoundary = options.rootBoundary,
8270
8324
  altBoundary = options.altBoundary,
8271
8325
  _options$flipVariatio = options.flipVariations,
8272
- flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
8326
+ flipVariations = _options$flipVariatio === undefined ? true : _options$flipVariatio,
8273
8327
  allowedAutoPlacements = options.allowedAutoPlacements;
8274
8328
  var preferredPlacement = state.options.placement;
8275
8329
  var basePlacement = getBasePlacement(preferredPlacement);
@@ -8382,7 +8436,7 @@ var flip$3 = {
8382
8436
  };
8383
8437
 
8384
8438
  function getSideOffsets(overflow, rect, preventedOffsets) {
8385
- if (preventedOffsets === void 0) {
8439
+ if (preventedOffsets === undefined) {
8386
8440
  preventedOffsets = {
8387
8441
  x: 0,
8388
8442
  y: 0
@@ -8466,7 +8520,7 @@ function offset$2(_ref2) {
8466
8520
  options = _ref2.options,
8467
8521
  name = _ref2.name;
8468
8522
  var _options$offset = options.offset,
8469
- offset = _options$offset === void 0 ? [0, 0] : _options$offset;
8523
+ offset = _options$offset === undefined ? [0, 0] : _options$offset;
8470
8524
  var data = placements$1.reduce(function (acc, placement) {
8471
8525
  acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
8472
8526
  return acc;
@@ -8525,17 +8579,17 @@ function preventOverflow(_ref) {
8525
8579
  options = _ref.options,
8526
8580
  name = _ref.name;
8527
8581
  var _options$mainAxis = options.mainAxis,
8528
- checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
8582
+ checkMainAxis = _options$mainAxis === undefined ? true : _options$mainAxis,
8529
8583
  _options$altAxis = options.altAxis,
8530
- checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
8584
+ checkAltAxis = _options$altAxis === undefined ? false : _options$altAxis,
8531
8585
  boundary = options.boundary,
8532
8586
  rootBoundary = options.rootBoundary,
8533
8587
  altBoundary = options.altBoundary,
8534
8588
  padding = options.padding,
8535
8589
  _options$tether = options.tether,
8536
- tether = _options$tether === void 0 ? true : _options$tether,
8590
+ tether = _options$tether === undefined ? true : _options$tether,
8537
8591
  _options$tetherOffset = options.tetherOffset,
8538
- tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
8592
+ tetherOffset = _options$tetherOffset === undefined ? 0 : _options$tetherOffset;
8539
8593
  var overflow = detectOverflow$1(state, {
8540
8594
  boundary: boundary,
8541
8595
  rootBoundary: rootBoundary,
@@ -8602,7 +8656,7 @@ function preventOverflow(_ref) {
8602
8656
  var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
8603
8657
  var arrowOffsetParent = state.elements.arrow && getOffsetParent$1(state.elements.arrow);
8604
8658
  var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
8605
- var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
8659
+ var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? undefined : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
8606
8660
  var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
8607
8661
  var tetherMax = offset + maxOffset - offsetModifierValue;
8608
8662
  var preventedOffset = within(tether ? min$1(min, tetherMin) : min, offset, tether ? max$1(max, tetherMax) : max);
@@ -8627,7 +8681,7 @@ function preventOverflow(_ref) {
8627
8681
 
8628
8682
  var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
8629
8683
 
8630
- var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
8684
+ var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? undefined : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
8631
8685
 
8632
8686
  var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
8633
8687
 
@@ -8676,7 +8730,7 @@ function isElementScaled(element) {
8676
8730
 
8677
8731
 
8678
8732
  function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
8679
- if (isFixed === void 0) {
8733
+ if (isFixed === undefined) {
8680
8734
  isFixed = false;
8681
8735
  }
8682
8736
 
@@ -8807,17 +8861,17 @@ function areValidElements() {
8807
8861
  }
8808
8862
 
8809
8863
  function popperGenerator(generatorOptions) {
8810
- if (generatorOptions === void 0) {
8864
+ if (generatorOptions === undefined) {
8811
8865
  generatorOptions = {};
8812
8866
  }
8813
8867
 
8814
8868
  var _generatorOptions = generatorOptions,
8815
8869
  _generatorOptions$def = _generatorOptions.defaultModifiers,
8816
- defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
8870
+ defaultModifiers = _generatorOptions$def === undefined ? [] : _generatorOptions$def,
8817
8871
  _generatorOptions$def2 = _generatorOptions.defaultOptions,
8818
- defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
8872
+ defaultOptions = _generatorOptions$def2 === undefined ? DEFAULT_OPTIONS : _generatorOptions$def2;
8819
8873
  return function createPopper(reference, popper, options) {
8820
- if (options === void 0) {
8874
+ if (options === undefined) {
8821
8875
  options = defaultOptions;
8822
8876
  }
8823
8877
 
@@ -8904,7 +8958,7 @@ function popperGenerator(generatorOptions) {
8904
8958
  var _state$orderedModifie = state.orderedModifiers[index],
8905
8959
  fn = _state$orderedModifie.fn,
8906
8960
  _state$orderedModifie2 = _state$orderedModifie.options,
8907
- _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
8961
+ _options = _state$orderedModifie2 === undefined ? {} : _state$orderedModifie2,
8908
8962
  name = _state$orderedModifie.name;
8909
8963
 
8910
8964
  if (typeof fn === 'function') {
@@ -8949,7 +9003,7 @@ function popperGenerator(generatorOptions) {
8949
9003
  state.orderedModifiers.forEach(function (_ref) {
8950
9004
  var name = _ref.name,
8951
9005
  _ref$options = _ref.options,
8952
- options = _ref$options === void 0 ? {} : _ref$options,
9006
+ options = _ref$options === undefined ? {} : _ref$options,
8953
9007
  effect = _ref.effect;
8954
9008
 
8955
9009
  if (typeof effect === 'function') {
@@ -9384,7 +9438,7 @@ class AuroCalendarCell extends r$7 {
9384
9438
 
9385
9439
  let _a;
9386
9440
  this.dispatchEvent(new CustomEvent('date-is-hovered', {
9387
- detail: { date: (_a = this.day) === null || _a === void 0 ? void 0 : _a.date },
9441
+ detail: { date: (_a = this.day) === null || _a === undefined ? undefined : _a.date },
9388
9442
  }));
9389
9443
  }
9390
9444
 
@@ -9606,10 +9660,10 @@ class AuroCalendarCell extends r$7 {
9606
9660
  @focus="${this.handleHover}"
9607
9661
  class="${e$6(buttonClasses)}"
9608
9662
  ?disabled="${this.disabled}"
9609
- title="${this.getTitle((_a = this.day) === null || _a === void 0 ? void 0 : _a.date)}"
9663
+ title="${this.getTitle((_a = this.day) === null || _a === undefined ? undefined : _a.date)}"
9610
9664
  tabindex="-1">
9611
9665
  <div class="buttonWrapper">
9612
- <div class="currentDayMarker">${(_b = this.day) === null || _b === void 0 ? void 0 : _b.title}</div>
9666
+ <div class="currentDayMarker">${(_b = this.day) === null || _b === undefined ? undefined : _b.title}</div>
9613
9667
  <div class="dateSlot" part="dateSlot">
9614
9668
  <slot name="date_${this.dateStr}"></slot>
9615
9669
  </div>
@@ -9727,11 +9781,11 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
9727
9781
  <div class="table">
9728
9782
  <div class="thead">
9729
9783
  <div class="tr">
9730
- ${(_a = this.dayNamesOfTheWeek) === null || _a === void 0 ? void 0 : _a.map(dayNameOfWeek => this.renderDayOfWeek(dayNameOfWeek))}
9784
+ ${(_a = this.dayNamesOfTheWeek) === null || _a === undefined ? undefined : _a.map(dayNameOfWeek => this.renderDayOfWeek(dayNameOfWeek))}
9731
9785
  </div>
9732
9786
  </div>
9733
9787
  <div class="tbody">
9734
- ${(_b = this.daysOfMonth) === null || _b === void 0 ? void 0 : _b.map(week => this.renderWeek(week))}
9788
+ ${(_b = this.daysOfMonth) === null || _b === undefined ? undefined : _b.map(week => this.renderWeek(week))}
9735
9789
  </div>
9736
9790
  </div>
9737
9791
  </div>
@@ -9906,16 +9960,16 @@ class RangeDatepicker extends r$7 {
9906
9960
  handlePrevMonth() {
9907
9961
  let _a;
9908
9962
  if (!this.enableYearChange) {
9909
- const calendar = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('wc-range-datepicker-calendar[next]');
9910
- calendar === null || calendar === void 0 ? void 0 : calendar.handlePrevMonth();
9963
+ const calendar = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('wc-range-datepicker-calendar[next]');
9964
+ calendar === null || calendar === undefined ? undefined : calendar.handlePrevMonth();
9911
9965
  }
9912
9966
  }
9913
9967
 
9914
9968
  handleNextMonth() {
9915
9969
  let _a;
9916
9970
  if (!this.enableYearChange) {
9917
- const calendar = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('wc-range-datepicker-calendar[prev]');
9918
- calendar === null || calendar === void 0 ? void 0 : calendar.handleNextMonth();
9971
+ const calendar = (_a = this.shadowRoot) === null || _a === undefined ? undefined : _a.querySelector('wc-range-datepicker-calendar[prev]');
9972
+ calendar === null || calendar === undefined ? undefined : calendar.handleNextMonth();
9919
9973
  }
9920
9974
  }
9921
9975
 
@@ -9977,21 +10031,21 @@ RangeDatepicker.styles = i$c`
9977
10031
  margin-right: 16px;
9978
10032
  }
9979
10033
  `;
9980
- __decorate([n$5({ type: Array })], RangeDatepicker.prototype, "disabledDays", void 0);
9981
- __decorate([n$5({ type: Boolean })], RangeDatepicker.prototype, "enableYearChange", void 0);
9982
- __decorate([n$5({ type: Boolean })], RangeDatepicker.prototype, "forceNarrow", void 0);
9983
- __decorate([n$5({ type: Object })], RangeDatepicker.prototype, "locale", void 0);
9984
- __decorate([n$5({ type: String })], RangeDatepicker.prototype, "max", void 0);
9985
- __decorate([n$5({ type: String })], RangeDatepicker.prototype, "min", void 0);
9986
- __decorate([n$5({ type: Number })], RangeDatepicker.prototype, "month", void 0);
9987
- __decorate([n$5({ type: Boolean })], RangeDatepicker.prototype, "noRange", void 0);
9988
- __decorate([n$5({ type: Number })], RangeDatepicker.prototype, "year", void 0);
9989
- __decorate([n$5({ type: String })], RangeDatepicker.prototype, "dateFrom", void 0);
9990
- __decorate([n$5({ type: String })], RangeDatepicker.prototype, "dateTo", void 0);
9991
- __decorate([n$5({ type: String })], RangeDatepicker.prototype, "hoveredDate", void 0);
9992
- __decorate([n$5({ type: Number })], RangeDatepicker.prototype, "monthPlus", void 0);
9993
- __decorate([n$5({ type: Number })], RangeDatepicker.prototype, "yearPlus", void 0);
9994
- __decorate([n$5({ type: Boolean })], RangeDatepicker.prototype, "narrow", void 0);
10034
+ __decorate([n$5({ type: Array })], RangeDatepicker.prototype, "disabledDays", undefined);
10035
+ __decorate([n$5({ type: Boolean })], RangeDatepicker.prototype, "enableYearChange", undefined);
10036
+ __decorate([n$5({ type: Boolean })], RangeDatepicker.prototype, "forceNarrow", undefined);
10037
+ __decorate([n$5({ type: Object })], RangeDatepicker.prototype, "locale", undefined);
10038
+ __decorate([n$5({ type: String })], RangeDatepicker.prototype, "max", undefined);
10039
+ __decorate([n$5({ type: String })], RangeDatepicker.prototype, "min", undefined);
10040
+ __decorate([n$5({ type: Number })], RangeDatepicker.prototype, "month", undefined);
10041
+ __decorate([n$5({ type: Boolean })], RangeDatepicker.prototype, "noRange", undefined);
10042
+ __decorate([n$5({ type: Number })], RangeDatepicker.prototype, "year", undefined);
10043
+ __decorate([n$5({ type: String })], RangeDatepicker.prototype, "dateFrom", undefined);
10044
+ __decorate([n$5({ type: String })], RangeDatepicker.prototype, "dateTo", undefined);
10045
+ __decorate([n$5({ type: String })], RangeDatepicker.prototype, "hoveredDate", undefined);
10046
+ __decorate([n$5({ type: Number })], RangeDatepicker.prototype, "monthPlus", undefined);
10047
+ __decorate([n$5({ type: Number })], RangeDatepicker.prototype, "yearPlus", undefined);
10048
+ __decorate([n$5({ type: Boolean })], RangeDatepicker.prototype, "narrow", undefined);
9995
10049
 
9996
10050
  var chevronLeft = {"role":"img","color":"currentColor","title":"","desc":"Directional indicator; left.","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":"chevron-left","category":"interface","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"chevron-left__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=\"chevron-left__desc\">Directional indicator; left.</desc><path d=\"m14.395 6.345.084.073a.75.75 0 0 1 .072.977l-.072.084-4.47 4.47 4.47 4.47a.75.75 0 0 1 .072.976l-.072.084a.75.75 0 0 1-.977.072l-.084-.072-4.823-4.823a1 1 0 0 1 0-1.415l4.823-4.823a.75.75 0 0 1 .977-.073\"/></svg>"};
9997
10051
 
@@ -10452,33 +10506,33 @@ if (!customElements.get('auro-calendar')) {
10452
10506
  * Copyright 2017 Google LLC
10453
10507
  * SPDX-License-Identifier: BSD-3-Clause
10454
10508
  */
10455
- const t$2$1=globalThis,i$5$1=t$2$1.trustedTypes,s$2$1=i$5$1?i$5$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$4$1="$lit$",h$1$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4$1="?"+h$1$1,n$3$1=`<${o$4$1}>`,r$3$1=document,l$2$1=()=>r$3$1.createComment(""),c$2$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2$1=Array.isArray,u$2$1=t=>a$2$1(t)||"function"==typeof t?.[Symbol.iterator],d$1$1="[ \t\n\f\r]",f$1$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$1=/>/g,m$2=RegExp(`>|${d$1$1}(?:([^\\s"'>=/]+)(${d$1$1}*=${d$1$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1$1=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$1$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$1$1(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$3$1.createTreeWalker(r$3$1,129);function P$1(t,i){if(!a$2$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$2$1?s$2$1.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$1$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$1?"!--"===u[1]?c=v$2:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.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$1$1,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$1:p$1$1):c===g$1||c===p$1$1?c=m$2:c===v$2||c===_$1?c=f$1$1:(c=m$2,r=void 0);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$1$1?s+n$3$1:d>=0?(o.push(a),s.slice(0,d)+e$4$1+s.slice(d)+h$1$1+x):s+h$1$1+(-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$4$1)){const i=v[a++],s=r.getAttribute(t).split(h$1$1),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$1$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$1$1),s=t.length-1;if(s>0){r.textContent=i$5$1?i$5$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$2$1()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$2$1());}}}else if(8===r.nodeType)if(r.data===o$4$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1$1,t+1));)d.push({type:7,index:c}),t+=h$1$1.length-1;}c++;}}static createElement(t,i){const s=r$3$1.createElement("template");return s.innerHTML=t,s}};function S$1$1(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$2$1(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$1(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$3$1).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$3$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$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$1$1(this,t,i),c$2$1(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$2$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$1&&c$2$1(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$3$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$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$2(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$2$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$2$1()),this.O(l$2$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?.(!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$1$1(this,t,i,0),o=!c$2$1(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$1$1(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$2$1(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$1$1(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$1$1(this,t);}};const j$1=t$2$1.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$2$1.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$2$1(),t),t,void 0,s??{});}return h._$AI(t),h};
10509
+ const t$2$1=globalThis,i$5$1=t$2$1.trustedTypes,s$2$1=i$5$1?i$5$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$4$1="$lit$",h$1$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4$1="?"+h$1$1,n$3$1=`<${o$4$1}>`,r$3$1=document,l$2$1=()=>r$3$1.createComment(""),c$2$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2$1=Array.isArray,u$2$1=t=>a$2$1(t)||"function"==typeof t?.[Symbol.iterator],d$1$1="[ \t\n\f\r]",f$1$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$1=/>/g,m$2=RegExp(`>|${d$1$1}(?:([^\\s"'>=/]+)(${d$1$1}*=${d$1$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1$1=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$1$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$1$1(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$3$1.createTreeWalker(r$3$1,129);function P$1(t,i){if(!a$2$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$2$1?s$2$1.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$1$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$1?"!--"===u[1]?c=v$2:undefined!==u[1]?c=_$1:undefined!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):undefined!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$1$1,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$2:'"'===u[3]?g$1:p$1$1):c===g$1||c===p$1$1?c=m$2:c===v$2||c===_$1?c=f$1$1:(c=m$2,r=undefined);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$1$1?s+n$3$1:d>=0?(o.push(a),s.slice(0,d)+e$4$1+s.slice(d)+h$1$1+x):s+h$1$1+(-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$4$1)){const i=v[a++],s=r.getAttribute(t).split(h$1$1),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$1$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$1$1),s=t.length-1;if(s>0){r.textContent=i$5$1?i$5$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$2$1()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$2$1());}}}else if(8===r.nodeType)if(r.data===o$4$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1$1,t+1));)d.push({type:7,index:c}),t+=h$1$1.length-1;}c++;}}static createElement(t,i){const s=r$3$1.createElement("template");return s.innerHTML=t,s}};function S$1$1(t,i,s=t,e){if(i===T$1)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$2$1(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$1$1(t,h._$AS(t,i.values),h,e)),i}let M$2 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,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$1).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;undefined!==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$3$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==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=undefined,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 undefined!==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$1(this,t,i),c$2$1(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):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$2$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$1&&c$2$1(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$3$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===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$2(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 undefined===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$2$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$2$1()),this.O(l$2$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){ undefined===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=undefined,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(undefined===h)t=S$1$1(this,t,i,0),o=!c$2$1(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$1$1(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$2$1(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?undefined: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$1$1(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=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$1$1(this,t);}};const j$1=t$2$1.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$2$1.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$2$1(),t),t,undefined,s??{});}return h._$AI(t),h};
10456
10510
 
10457
10511
  /**
10458
10512
  * @license
10459
10513
  * Copyright 2020 Google LLC
10460
10514
  * SPDX-License-Identifier: BSD-3-Clause
10461
10515
  */
10462
- const a$1$1=Symbol.for(""),o$3$1=t=>{if(t?.r===a$1$1)return t?._$litStatic$},s$1$1=t=>({_$litStatic$:t,r:a$1$1}),i$4$1=(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$1}),l$1$1=new Map,n$2$1=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$1(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$1.get(t))&&(n.raw=n,l$1$1.set(t,r=n)),e=u;}return t(r,...e)},u$1$1=n$2$1(x$1);
10516
+ const a$1$1=Symbol.for(""),o$3$1=t=>{if(t?.r===a$1$1)return t?._$litStatic$},s$1$1=t=>({_$litStatic$:t,r:a$1$1}),i$4$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==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$1}),l$1$1=new Map,n$2$1=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$3$1(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$$");undefined===(r=l$1$1.get(t))&&(n.raw=n,l$1$1.set(t,r=n)),e=u;}return t(r,...e)},u$1$1=n$2$1(x$1);
10463
10517
 
10464
10518
  /**
10465
10519
  * @license
10466
10520
  * Copyright 2019 Google LLC
10467
10521
  * SPDX-License-Identifier: BSD-3-Clause
10468
10522
  */
10469
- const t$1$1=globalThis,e$3$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$4=Symbol(),o$2$1=new WeakMap;let n$1$1 = class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$4)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$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$2$1=t=>new n$1$1("string"==typeof t?t:t+"",void 0,s$4),i$3$1=(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$1(o,t,s$4)},S$2=(s,o)=>{if(e$3$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$1$1=e$3$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2$1(e)})(t):t;
10523
+ const t$1$1=globalThis,e$3$1=t$1$1.ShadowRoot&&(undefined===t$1$1.ShadyCSS||t$1$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$4=Symbol(),o$2$1=new WeakMap;let n$1$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$4)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$1&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2$1.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$1.set(s,t));}return t}toString(){return this.cssText}};const r$2$1=t=>new n$1$1("string"==typeof t?t:t+"",undefined,s$4),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$1$1(o,t,s$4)},S$2=(s,o)=>{if(e$3$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;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1$1=e$3$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2$1(e)})(t):t;
10470
10524
 
10471
10525
  /**
10472
10526
  * @license
10473
10527
  * Copyright 2017 Google LLC
10474
10528
  * SPDX-License-Identifier: BSD-3-Clause
10475
- */const{is:i$2$1,defineProperty:e$2$1,getOwnPropertyDescriptor:r$1$1,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$1$1,getPrototypeOf:n$4}=Object,a$3=globalThis,c$4=a$3.trustedTypes,l$3=c$4?c$4.emptyScript:"",p$3=a$3.reactiveElementPolyfillSupport,d$2=(t,s)=>t,u$5={toAttribute(t,s){switch(s){case Boolean:t=t?l$3: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$2$1(t,s),y$2={attribute:!0,type:String,converter:u$5,reflect:!1,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$3.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=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$2$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$1$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$2}static _$Ei(){if(this.hasOwnProperty(d$2("elementProperties")))return;const t=n$4(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=!0,this._$Ei(),this.hasOwnProperty(d$2("properties"))){const t=this.properties,s=[...h$2(t),...o$1$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$1(s));}else void 0!==s&&i.push(c$1$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$2(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$2)(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$2("elementProperties")]=new Map,b$1[d$2("finalized")]=new Map,p$3?.({ReactiveElement:b$1}),(a$3.reactiveElementVersions??=[]).push("2.0.4");
10529
+ */const{is:i$2$1,defineProperty:e$2$1,getOwnPropertyDescriptor:r$1$1,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$1$1,getPrototypeOf:n$4}=Object,a$3=globalThis,c$4=a$3.trustedTypes,l$3=c$4?c$4.emptyScript:"",p$3=a$3.reactiveElementPolyfillSupport,d$2=(t,s)=>t,u$5={toAttribute(t,s){switch(s){case Boolean:t=t?l$3: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$2$1(t,s),y$2={attribute:true,type:String,converter:u$5,reflect:false,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$3.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);undefined!==r&&e$2$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$1$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$2}static _$Ei(){if(this.hasOwnProperty(d$2("elementProperties")))return;const t=n$4(this);t.finalize(),undefined!==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$1$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(undefined!==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);undefined!==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$1(s));}else undefined!==s&&i.push(c$1$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,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),undefined!==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(undefined!==e&&true===i.reflect){const r=(undefined!==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(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==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(undefined!==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=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===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$3?.({ReactiveElement:b$1}),(a$3.reactiveElementVersions??=[]).push("2.0.4");
10476
10530
 
10477
10531
  /**
10478
10532
  * @license
10479
10533
  * Copyright 2017 Google LLC
10480
10534
  * SPDX-License-Identifier: BSD-3-Clause
10481
- */let r$5 = 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$5._$litElement$=!0,r$5["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r$5});const i$1$1=globalThis.litElementPolyfillSupport;i$1$1?.({LitElement:r$5});(globalThis.litElementVersions??=[]).push("4.1.1");
10535
+ */let r$5 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}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$5._$litElement$=true,r$5["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$5});const i$1$1=globalThis.litElementPolyfillSupport;i$1$1?.({LitElement:r$5});(globalThis.litElementVersions??=[]).push("4.1.1");
10482
10536
 
10483
10537
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
10484
10538
  // See LICENSE in the project root for license information.
@@ -10598,7 +10652,7 @@ function getAlignmentAxis(placement) {
10598
10652
  return getOppositeAxis(getSideAxis(placement));
10599
10653
  }
10600
10654
  function getAlignmentSides(placement, rects, rtl) {
10601
- if (rtl === void 0) {
10655
+ if (rtl === undefined) {
10602
10656
  rtl = false;
10603
10657
  }
10604
10658
  const alignment = getAlignment(placement);
@@ -10755,7 +10809,7 @@ const computePosition$1 = async (reference, floating, config) => {
10755
10809
  platform
10756
10810
  } = config;
10757
10811
  const validMiddleware = middleware.filter(Boolean);
10758
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
10812
+ const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(floating));
10759
10813
  let rects = await platform.getElementRects({
10760
10814
  reference,
10761
10815
  floating,
@@ -10841,7 +10895,7 @@ const computePosition$1 = async (reference, floating, config) => {
10841
10895
  */
10842
10896
  async function detectOverflow(state, options) {
10843
10897
  var _await$platform$isEle;
10844
- if (options === void 0) {
10898
+ if (options === undefined) {
10845
10899
  options = {};
10846
10900
  }
10847
10901
  const {
@@ -10863,7 +10917,7 @@ async function detectOverflow(state, options) {
10863
10917
  const altContext = elementContext === 'floating' ? 'reference' : 'floating';
10864
10918
  const element = elements[altBoundary ? altContext : elementContext];
10865
10919
  const clippingClientRect = rectToClientRect(await platform.getClippingRect({
10866
- element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
10920
+ element: ((_await$platform$isEle = await (platform.isElement == null ? undefined : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? undefined : platform.getDocumentElement(elements.floating))),
10867
10921
  boundary,
10868
10922
  rootBoundary,
10869
10923
  strategy
@@ -10874,8 +10928,8 @@ async function detectOverflow(state, options) {
10874
10928
  width: rects.floating.width,
10875
10929
  height: rects.floating.height
10876
10930
  } : rects.reference;
10877
- const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
10878
- const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
10931
+ const offsetParent = await (platform.getOffsetParent == null ? undefined : platform.getOffsetParent(elements.floating));
10932
+ const offsetScale = (await (platform.isElement == null ? undefined : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? undefined : platform.getScale(offsetParent))) || {
10879
10933
  x: 1,
10880
10934
  y: 1
10881
10935
  } : {
@@ -10912,7 +10966,7 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
10912
10966
  * @see https://floating-ui.com/docs/autoPlacement
10913
10967
  */
10914
10968
  const autoPlacement$1 = function (options) {
10915
- if (options === void 0) {
10969
+ if (options === undefined) {
10916
10970
  options = {};
10917
10971
  }
10918
10972
  return {
@@ -10936,12 +10990,12 @@ const autoPlacement$1 = function (options) {
10936
10990
  } = evaluate(options, state);
10937
10991
  const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
10938
10992
  const overflow = await detectOverflow(state, detectOverflowOptions);
10939
- const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
10993
+ const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP.index) || 0;
10940
10994
  const currentPlacement = placements$1[currentIndex];
10941
10995
  if (currentPlacement == null) {
10942
10996
  return {};
10943
10997
  }
10944
- const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
10998
+ const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating)));
10945
10999
 
10946
11000
  // Make `computeCoords` start from the right place.
10947
11001
  if (placement !== currentPlacement) {
@@ -10952,7 +11006,7 @@ const autoPlacement$1 = function (options) {
10952
11006
  };
10953
11007
  }
10954
11008
  const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
10955
- const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
11009
+ const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP2.overflows) || []), {
10956
11010
  placement: currentPlacement,
10957
11011
  overflows: currentOverflows
10958
11012
  }];
@@ -10982,7 +11036,7 @@ const autoPlacement$1 = function (options) {
10982
11036
  // Aligned placements should not check their opposite crossAxis
10983
11037
  // side.
10984
11038
  getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
10985
- const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
11039
+ const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? undefined : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
10986
11040
  if (resetPlacement !== placement) {
10987
11041
  return {
10988
11042
  data: {
@@ -11006,7 +11060,7 @@ const autoPlacement$1 = function (options) {
11006
11060
  * @see https://floating-ui.com/docs/flip
11007
11061
  */
11008
11062
  const flip$1 = function (options) {
11009
- if (options === void 0) {
11063
+ if (options === undefined) {
11010
11064
  options = {};
11011
11065
  }
11012
11066
  return {
@@ -11042,7 +11096,7 @@ const flip$1 = function (options) {
11042
11096
  const side = getSide(placement);
11043
11097
  const initialSideAxis = getSideAxis(initialPlacement);
11044
11098
  const isBasePlacement = getSide(initialPlacement) === initialPlacement;
11045
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
11099
+ const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
11046
11100
  const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
11047
11101
  const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
11048
11102
  if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
@@ -11051,7 +11105,7 @@ const flip$1 = function (options) {
11051
11105
  const placements = [initialPlacement, ...fallbackPlacements];
11052
11106
  const overflow = await detectOverflow(state, detectOverflowOptions);
11053
11107
  const overflows = [];
11054
- let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
11108
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? undefined : _middlewareData$flip.overflows) || [];
11055
11109
  if (checkMainAxis) {
11056
11110
  overflows.push(overflow[side]);
11057
11111
  }
@@ -11067,7 +11121,7 @@ const flip$1 = function (options) {
11067
11121
  // One or more sides is overflowing.
11068
11122
  if (!overflows.every(side => side <= 0)) {
11069
11123
  var _middlewareData$flip2, _overflowsData$filter;
11070
- const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
11124
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? undefined : _middlewareData$flip2.index) || 0) + 1;
11071
11125
  const nextPlacement = placements[nextIndex];
11072
11126
  if (nextPlacement) {
11073
11127
  // Try next placement and re-run the lifecycle.
@@ -11084,7 +11138,7 @@ const flip$1 = function (options) {
11084
11138
 
11085
11139
  // First, find the candidates that fit on the mainAxis side of overflow,
11086
11140
  // then find the placement that fits the best on the main crossAxis side.
11087
- let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
11141
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? undefined : _overflowsData$filter.placement;
11088
11142
 
11089
11143
  // Otherwise fallback.
11090
11144
  if (!resetPlacement) {
@@ -11101,7 +11155,7 @@ const flip$1 = function (options) {
11101
11155
  currentSideAxis === 'y';
11102
11156
  }
11103
11157
  return true;
11104
- }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
11158
+ }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? undefined : _overflowsData$filter2[0];
11105
11159
  if (placement) {
11106
11160
  resetPlacement = placement;
11107
11161
  }
@@ -11134,7 +11188,7 @@ async function convertValueToCoords(state, options) {
11134
11188
  platform,
11135
11189
  elements
11136
11190
  } = state;
11137
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
11191
+ const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
11138
11192
  const side = getSide(placement);
11139
11193
  const alignment = getAlignment(placement);
11140
11194
  const isVertical = getSideAxis(placement) === 'y';
@@ -11176,7 +11230,7 @@ async function convertValueToCoords(state, options) {
11176
11230
  * @see https://floating-ui.com/docs/offset
11177
11231
  */
11178
11232
  const offset$1 = function (options) {
11179
- if (options === void 0) {
11233
+ if (options === undefined) {
11180
11234
  options = 0;
11181
11235
  }
11182
11236
  return {
@@ -11194,7 +11248,7 @@ const offset$1 = function (options) {
11194
11248
 
11195
11249
  // If the placement is the same and the arrow caused an alignment offset
11196
11250
  // then we don't need to change the positioning coordinates.
11197
- if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
11251
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? undefined : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
11198
11252
  return {};
11199
11253
  }
11200
11254
  return {
@@ -11223,11 +11277,11 @@ function getNodeName(node) {
11223
11277
  }
11224
11278
  function getWindow(node) {
11225
11279
  var _node$ownerDocument;
11226
- return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
11280
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? undefined : _node$ownerDocument.defaultView) || window;
11227
11281
  }
11228
11282
  function getDocumentElement(node) {
11229
11283
  var _ref;
11230
- return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
11284
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? undefined : _ref.documentElement;
11231
11285
  }
11232
11286
  function isNode(value) {
11233
11287
  if (!hasWindow()) {
@@ -11342,14 +11396,14 @@ function getNearestOverflowAncestor(node) {
11342
11396
  }
11343
11397
  function getOverflowAncestors(node, list, traverseIframes) {
11344
11398
  var _node$ownerDocument2;
11345
- if (list === void 0) {
11399
+ if (list === undefined) {
11346
11400
  list = [];
11347
11401
  }
11348
- if (traverseIframes === void 0) {
11402
+ if (traverseIframes === undefined) {
11349
11403
  traverseIframes = true;
11350
11404
  }
11351
11405
  const scrollableAncestor = getNearestOverflowAncestor(node);
11352
- const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
11406
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? undefined : _node$ownerDocument2.body);
11353
11407
  const win = getWindow(scrollableAncestor);
11354
11408
  if (isBody) {
11355
11409
  const frameElement = getFrameElement(win);
@@ -11426,7 +11480,7 @@ function getVisualOffsets(element) {
11426
11480
  };
11427
11481
  }
11428
11482
  function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
11429
- if (isFixed === void 0) {
11483
+ if (isFixed === undefined) {
11430
11484
  isFixed = false;
11431
11485
  }
11432
11486
  if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
@@ -11436,10 +11490,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
11436
11490
  }
11437
11491
 
11438
11492
  function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
11439
- if (includeScale === void 0) {
11493
+ if (includeScale === undefined) {
11440
11494
  includeScale = false;
11441
11495
  }
11442
- if (isFixedStrategy === void 0) {
11496
+ if (isFixedStrategy === undefined) {
11443
11497
  isFixedStrategy = false;
11444
11498
  }
11445
11499
  const clientRect = element.getBoundingClientRect();
@@ -11499,7 +11553,7 @@ function getWindowScrollBarX(element, rect) {
11499
11553
  }
11500
11554
 
11501
11555
  function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
11502
- if (ignoreScrollbarX === void 0) {
11556
+ if (ignoreScrollbarX === undefined) {
11503
11557
  ignoreScrollbarX = false;
11504
11558
  }
11505
11559
  const htmlRect = documentElement.getBoundingClientRect();
@@ -11849,10 +11903,10 @@ function observeMove(element, onMove) {
11849
11903
  io = null;
11850
11904
  }
11851
11905
  function refresh(skip, threshold) {
11852
- if (skip === void 0) {
11906
+ if (skip === undefined) {
11853
11907
  skip = false;
11854
11908
  }
11855
- if (threshold === void 0) {
11909
+ if (threshold === undefined) {
11856
11910
  threshold = 1;
11857
11911
  }
11858
11912
  cleanup();
@@ -11923,7 +11977,7 @@ function observeMove(element, onMove) {
11923
11977
  * @see https://floating-ui.com/docs/autoUpdate
11924
11978
  */
11925
11979
  function autoUpdate(reference, floating, update, options) {
11926
- if (options === void 0) {
11980
+ if (options === undefined) {
11927
11981
  options = {};
11928
11982
  }
11929
11983
  const {
@@ -12139,7 +12193,7 @@ class AuroFloatingUI {
12139
12193
  // Compute the position of the bib
12140
12194
  computePosition(this.element.trigger, this.element.bib, {
12141
12195
  placement: this.element.floaterConfig.placement || 'bottom',
12142
- middleware: middleware || []
12196
+ middleware: middleware
12143
12197
  }).then(({x, y}) => { // eslint-disable-line id-length
12144
12198
  Object.assign(this.element.bib.style, {
12145
12199
  left: `${x}px`,
@@ -12483,7 +12537,7 @@ const t$4={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
12483
12537
  * @license
12484
12538
  * Copyright 2018 Google LLC
12485
12539
  * SPDX-License-Identifier: BSD-3-Clause
12486
- */const e$5=e$1$1(class extends i$6{constructor(t$1){if(super(t$1),t$1.type!==t$4.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$1}});
12540
+ */const e$5=e$1$1(class extends i$6{constructor(t$1){if(super(t$1),t$1.type!==t$4.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(undefined===this.st){this.st=new Set,undefined!==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}});
12487
12541
 
12488
12542
  /**
12489
12543
  * @license
@@ -12851,7 +12905,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
12851
12905
 
12852
12906
  var iconVersion$1 = '6.1.2';
12853
12907
 
12854
- var styleCss$1$1 = i$3$1`: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);white-space:normal}.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)}`;
12908
+ var styleCss$1$1 = i$3$1`: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)}`;
12855
12909
 
12856
12910
  var colorCss$1$1 = i$3$1`.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)}`;
12857
12911
 
@@ -12875,9 +12929,6 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
12875
12929
  ];
12876
12930
 
12877
12931
  /**
12878
- * @attr { Boolean } common - If declared, will apply all styles for the common theme.
12879
- * @attr { Boolean } rounded - If declared, will apply border-radius to the bib.
12880
- * @attr { Boolean } inset - If declared, will apply extra padding to bib content.
12881
12932
  * @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.
12882
12933
  * @csspart bibContainer - Apply css to the bib container.
12883
12934
  */
@@ -12903,14 +12954,26 @@ class AuroDropdownBib extends r$5 {
12903
12954
 
12904
12955
  static get properties() {
12905
12956
  return {
12957
+
12958
+ /**
12959
+ * If declared, will apply all styles for the common theme.
12960
+ */
12906
12961
  common: {
12907
12962
  type: Boolean,
12908
12963
  reflect: true
12909
12964
  },
12965
+
12966
+ /**
12967
+ * If declared, will apply extra padding to bib content.
12968
+ */
12910
12969
  inset: {
12911
12970
  type: Boolean,
12912
12971
  reflect: true
12913
12972
  },
12973
+
12974
+ /**
12975
+ * If declared, will apply border-radius to the bib.
12976
+ */
12914
12977
  rounded: {
12915
12978
  type: Boolean,
12916
12979
  reflect: true
@@ -12954,22 +13017,7 @@ if (!customElements.get("auro-dropdownbib")) {
12954
13017
 
12955
13018
 
12956
13019
  /**
12957
- * @attr { Boolean } bordered - If declared, applies a border around the trigger slot.
12958
- * @attr { Boolean } common - If declared, the dropdown will be styled with the common theme.
12959
- * @attr { Boolean } chevron - If declared, the dropdown displays an display state chevron on the right.
12960
- * @attr { Boolean } disabled - If declared, the dropdown is not interactive.
12961
13020
  * @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
12962
- * @attr { Boolean } error - If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
12963
- * @attr {Boolean} fluid - Makes the trigger to be full width of its parent container
12964
- * @attr { Boolean } matchWidth - If declared, the popover and trigger will be set to the same width.
12965
- * @attr { Boolean } inset - If declared, will apply padding around trigger slot content.
12966
- * @attr { Boolean } rounded - If declared, will apply border-radius to trigger and default slots.
12967
- * @attr { Boolean } hoverToggle - if declared, the trigger will toggle the big on mouseover/mouseout.
12968
- * @attr { Boolean } noToggle - If declared, the trigger will only show the dropdown bib.
12969
- * @attr { Boolean } focusShow - if declared, the bib will display when focus is applied to the trigger.
12970
- * @attr { Boolean } noHideOnThisFocusLoss - If declared, the dropdown will not hide when moving focus outside the element.
12971
- * @attr { 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.
12972
- * @prop { Boolean } isPopoverVisible - If true, the dropdown bib is displayed.
12973
13021
  * @slot - Default slot for the popover content.
12974
13022
  * @slot label - Defines the content of the label.
12975
13023
  * @slot helpText - Defines the content of the helpText.
@@ -13007,6 +13055,16 @@ class AuroDropdown extends r$5 {
13007
13055
  this.tabIndex = 0;
13008
13056
  this.noToggle = false;
13009
13057
 
13058
+ /**
13059
+ * @private
13060
+ */
13061
+ this.hasTriggerContent = false;
13062
+
13063
+ /**
13064
+ * @private
13065
+ */
13066
+ this.triggerContentSlot = undefined;
13067
+
13010
13068
  /**
13011
13069
  * @private
13012
13070
  */
@@ -13053,89 +13111,166 @@ class AuroDropdown extends r$5 {
13053
13111
  // function to define props used within the scope of this component
13054
13112
  static get properties() {
13055
13113
  return {
13114
+
13115
+ /**
13116
+ * If declared, applies a border around the trigger slot.
13117
+ */
13056
13118
  bordered: {
13057
13119
  type: Boolean,
13058
13120
  reflect: true
13059
13121
  },
13122
+
13123
+ /**
13124
+ * If declared, the dropdown displays a chevron on the right.
13125
+ * @attr {Boolean} chevron
13126
+ */
13060
13127
  chevron: {
13061
13128
  type: Boolean,
13062
13129
  reflect: true
13063
13130
  },
13064
- disabled: {
13131
+
13132
+ /**
13133
+ * If declared, the dropdown will be styled with the common theme.
13134
+ */
13135
+ common: {
13065
13136
  type: Boolean,
13066
13137
  reflect: true
13067
13138
  },
13068
- error: {
13139
+
13140
+ /**
13141
+ * If declared, the dropdown is not interactive.
13142
+ */
13143
+ disabled: {
13069
13144
  type: Boolean,
13070
13145
  reflect: true
13071
13146
  },
13072
- fluid: {
13147
+
13148
+ /**
13149
+ * @private
13150
+ */
13151
+ dropdownWidth: {
13152
+ type: Number
13153
+ },
13154
+
13155
+ /**
13156
+ * If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
13157
+ */
13158
+ error: {
13073
13159
  type: Boolean,
13074
- reflect: true,
13160
+ reflect: true
13075
13161
  },
13162
+
13163
+ /**
13164
+ * If declared, the bib will display when focus is applied to the trigger.
13165
+ */
13076
13166
  focusShow: {
13077
13167
  type: Boolean,
13078
13168
  reflect: true
13079
13169
  },
13080
- hoverToggle: {
13170
+
13171
+ /**
13172
+ * Makes the trigger to be full width of its parent container.
13173
+ */
13174
+ fluid: {
13081
13175
  type: Boolean,
13082
13176
  reflect: true
13083
13177
  },
13178
+
13179
+ /**
13180
+ * If declared, will apply padding around trigger slot content.
13181
+ */
13084
13182
  inset: {
13085
13183
  type: Boolean,
13086
13184
  reflect: true
13087
13185
  },
13088
- matchWidth: {
13186
+
13187
+ /**
13188
+ * If true, the dropdown bib is displayed.
13189
+ */
13190
+ isPopoverVisible: {
13191
+ type: Boolean
13192
+ },
13193
+
13194
+ /**
13195
+ * If declared, the trigger will toggle the dropdown on mouseover/mouseout.
13196
+ */
13197
+ hoverToggle: {
13089
13198
  type: Boolean,
13090
13199
  reflect: true
13091
13200
  },
13092
- rounded: {
13093
- type: Boolean,
13201
+
13202
+ /**
13203
+ * @private
13204
+ */
13205
+ hasTriggerContent: {
13206
+ type: Boolean
13207
+ },
13208
+
13209
+ /**
13210
+ * 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.
13211
+ */
13212
+ mobileFullscreenBreakpoint: {
13213
+ type: String,
13094
13214
  reflect: true
13095
13215
  },
13096
- common: {
13216
+
13217
+ /**
13218
+ * If declared, the popover and trigger will be set to the same width.
13219
+ */
13220
+ matchWidth: {
13097
13221
  type: Boolean,
13098
13222
  reflect: true
13099
13223
  },
13100
- noToggle: {
13224
+
13225
+ /**
13226
+ * If declared, the dropdown will not hide when moving focus outside the element.
13227
+ */
13228
+ noHideOnThisFocusLoss: {
13101
13229
  type: Boolean,
13102
13230
  reflect: true
13103
13231
  },
13104
- noHideOnThisFocusLoss: {
13232
+
13233
+ /**
13234
+ * If declared, the trigger will only show the dropdown bib.
13235
+ */
13236
+ noToggle: {
13105
13237
  type: Boolean,
13106
13238
  reflect: true
13107
13239
  },
13108
- isPopoverVisible: { type: Boolean },
13240
+
13109
13241
  onSlotChange: {
13110
13242
  type: Function,
13111
13243
  reflect: false
13112
13244
  },
13113
- mobileFullscreenBreakpoint: {
13114
- type: String,
13115
- reflect: true,
13116
- },
13117
13245
 
13118
13246
  /**
13119
13247
  * @private
13120
13248
  */
13121
- dropdownWidth: { type: Number },
13249
+ placement: {
13250
+ type: String
13251
+ },
13122
13252
 
13123
13253
  /**
13124
- * @private
13254
+ * If declared, will apply border-radius to trigger and default slots.
13125
13255
  */
13126
- placement: { type: String },
13256
+ rounded: {
13257
+ type: Boolean,
13258
+ reflect: true
13259
+ },
13127
13260
 
13128
13261
  /**
13129
13262
  * @private
13130
13263
  */
13131
- tabIndex: { type: Number }
13264
+ tabIndex: {
13265
+ type: Number
13266
+ }
13132
13267
  };
13133
13268
  }
13134
13269
 
13135
13270
  static get styles() {
13136
13271
  return [
13137
- styleCss$1$1,
13138
13272
  colorCss$1$1,
13273
+ styleCss$1$1,
13139
13274
  tokensCss$4
13140
13275
  ];
13141
13276
  }
@@ -13166,6 +13301,12 @@ class AuroDropdown extends r$5 {
13166
13301
  if (changedProperties.has('mobileFullscreenBreakpoint')) {
13167
13302
  this.bibContent.mobileFullscreenBreakpoint = this.mobileFullscreenBreakpoint;
13168
13303
  }
13304
+
13305
+ // when trigger's content is changed without any attribute or node change,
13306
+ // `requestUpdate` needs to be called to update hasTriggerContnet
13307
+ if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
13308
+ this.handleTriggerContentSlotChange();
13309
+ }
13169
13310
  }
13170
13311
 
13171
13312
  firstUpdated() {
@@ -13208,6 +13349,43 @@ class AuroDropdown extends r$5 {
13208
13349
  return inCustomSlot;
13209
13350
  }
13210
13351
 
13352
+ /**
13353
+ * Handles changes to the trigger content slot and updates related properties.
13354
+ *
13355
+ * It first updates the floater settings
13356
+ * Then, it retrieves the assigned nodes from the event target and checks if any of
13357
+ * the nodes contain non-empty text content, updating the `hasTriggerContent` property accordingly.
13358
+ *
13359
+ * @private
13360
+ * @method handleTriggerContentSlotChange
13361
+ * @param {Event} event - native slotchange event
13362
+ * @returns {void}
13363
+ */
13364
+ handleTriggerContentSlotChange(event) {
13365
+ this.floater.handleTriggerTabIndex();
13366
+
13367
+ if (event) {
13368
+ this.triggerNode = event.target;
13369
+ this.triggerContentSlot = event.target.assignedNodes();
13370
+ }
13371
+
13372
+ if (this.triggerContentSlot) {
13373
+ this.hasTriggerContent = this.triggerContentSlot.some((slot) => {
13374
+ if (slot.textContent.trim()) {
13375
+ return true;
13376
+ }
13377
+ const slotInSlot = slot.querySelector('slot');
13378
+ if (!slotInSlot) {
13379
+ return false;
13380
+ }
13381
+ const slotsInSlotNodes = slotInSlot.assignedNodes();
13382
+ return slotsInSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
13383
+ });
13384
+ } else {
13385
+ this.hasTriggerContent = false;
13386
+ }
13387
+ }
13388
+
13211
13389
  /**
13212
13390
  * Handles the default slot change event and updates the content.
13213
13391
  *
@@ -13242,13 +13420,13 @@ class AuroDropdown extends r$5 {
13242
13420
  tabindex="${this.tabIndex}"
13243
13421
  >
13244
13422
  <div class="triggerContentWrapper">
13245
- <label class="label" id="triggerLabel">
13423
+ <label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
13246
13424
  <slot name="label"></slot>
13247
13425
  </label>
13248
13426
  <div class="triggerContent">
13249
13427
  <slot
13250
13428
  name="trigger"
13251
- @slotchange="${() => {this.floater.handleTriggerTabIndex(); }}"></slot>
13429
+ @slotchange="${(event) => this.handleTriggerContentSlotChange(event)}"></slot>
13252
13430
  </div>
13253
13431
  </div>
13254
13432
  ${this.chevron || this.common ? u$1$1`
@@ -13295,14 +13473,14 @@ var dropdownVersion = '3.0.0';
13295
13473
  * Copyright 2017 Google LLC
13296
13474
  * SPDX-License-Identifier: BSD-3-Clause
13297
13475
  */
13298
- const t$3=globalThis,i$5=t$3.trustedTypes,s$3=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$4=document,l$2=()=>r$4.createComment(""),c$3=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2=Array.isArray,u$4=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$1=/-->/g,_=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/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$4.createTreeWalker(r$4,129);function P(t,i){if(!a$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$3?s$3.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$1:void 0!==u[1]?c=_:void 0!==u[2]?($.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$1,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:p$2):c===g||c===p$2?c=m$1:c===v$1||c===_?c=f$1:(c=m$1,r=void 0);const x=c===m$1&&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$4.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$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$1(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$4).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$4,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$3(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$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&&c$3(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$4.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$1(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$3(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$3(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 Z={M:e$4,P:h$1,A:o$4,C:1,L:V,R:M$1,D:u$4,V:S$1,I:R,H:k,N:I,U:L,B:H,F:z},j=t$3.litHtmlPolyfillSupport;j?.(N,R),(t$3.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};
13476
+ const t$3=globalThis,i$5=t$3.trustedTypes,s$3=i$5?i$5.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$4="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4="?"+h$1,n$3=`<${o$4}>`,r$4=document,l$2=()=>r$4.createComment(""),c$3=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2=Array.isArray,u$4=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$1=/-->/g,_=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/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$4.createTreeWalker(r$4,129);function P(t,i){if(!a$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$3?s$3.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$1:undefined!==u[1]?c=_:undefined!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):undefined!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$1,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$1:'"'===u[3]?g:p$2):c===g||c===p$2?c=m$1:c===v$1||c===_?c=f$1:(c=m$1,r=undefined);const x=c===m$1&&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$4.createElement("template");return s.innerHTML=t,s}}function S$1(t,i,s=t,e){if(i===T)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$3(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$1(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,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$4).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;undefined!==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$4,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==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=undefined,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 undefined!==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$3(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==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&&c$3(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$4.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===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$1(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 undefined===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?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===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=undefined,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(undefined===h)t=S$1(this,t,i,0),o=!c$3(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$3(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?undefined: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=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$1(this,t);}}const Z={M:e$4,P:h$1,A:o$4,C:1,L:V,R:M$1,D:u$4,V:S$1,I:R,H:k,N:I,U:L,B:H,F:z},j=t$3.litHtmlPolyfillSupport;j?.(N,R),(t$3.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l$2(),t),t,undefined,s??{});}return h._$AI(t),h};
13299
13477
 
13300
13478
  /**
13301
13479
  * @license
13302
13480
  * Copyright 2020 Google LLC
13303
13481
  * SPDX-License-Identifier: BSD-3-Clause
13304
13482
  */
13305
- const a$1=Symbol.for(""),o$3=t=>{if(t?.r===a$1)return t?._$litStatic$},s$2=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$3=n$2(x);
13483
+ const a$1=Symbol.for(""),o$3=t=>{if(t?.r===a$1)return t?._$litStatic$},s$2=t=>({_$litStatic$:t,r:a$1}),i$4=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==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=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$3(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$$");undefined===(r=l$1.get(t))&&(n.raw=n,l$1.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$2(x);
13306
13484
 
13307
13485
  /**
13308
13486
  * @license
@@ -13315,20 +13493,20 @@ const t$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
13315
13493
  * @license
13316
13494
  * Copyright 2020 Google LLC
13317
13495
  * SPDX-License-Identifier: BSD-3-Clause
13318
- */const {I:t$1}=Z,s$1=()=>document.createComment(""),r$3=(o,i,n)=>{const e=o._$AA.parentNode,l=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=e.insertBefore(s$1(),l),c=e.insertBefore(s$1(),l);n=new t$1(i,c,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,c=i!==o;if(c){let t;n._$AQ?.(o),n._$AM=o,void 0!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$2={},m=(o,t=u$2)=>o._$AH=t,p$1=o=>o._$AH,M=o=>{o._$AP?.(!1,!0);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}};
13496
+ */const {I:t$1}=Z,s$1=()=>document.createComment(""),r$3=(o,i,n)=>{const e=o._$AA.parentNode,l=undefined===i?o._$AB:i._$AA;if(undefined===n){const i=e.insertBefore(s$1(),l),c=e.insertBefore(s$1(),l);n=new t$1(i,c,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,c=i!==o;if(c){let t;n._$AQ?.(o),n._$AM=o,undefined!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$2={},m=(o,t=u$2)=>o._$AH=t,p$1=o=>o._$AH,M=o=>{o._$AP?.(false,true);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}};
13319
13497
 
13320
13498
  /**
13321
13499
  * @license
13322
13500
  * Copyright 2017 Google LLC
13323
13501
  * SPDX-License-Identifier: BSD-3-Clause
13324
13502
  */
13325
- const u$1=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c$2=e$3(class extends i$3{constructor(e){if(super(e),e.type!==t$2.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r,c]){const d=p$1(s),{values:p,keys:a}=this.dt(t,r,c);if(!Array.isArray(d))return this.ut=a,p;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p[w]),r$3(s,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p[k]),r$3(s,d[x],d[j]),j--,k++;else if(void 0===m$1&&(m$1=u$1(a,k,w),y=u$1(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=void 0!==e?d[e]:null;if(null===t){const e=r$3(s,d[x]);v(e,p[k]),v$1[k]=e;}else v$1[k]=v(t,p[k]),r$3(s,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=r$3(s,v$1[w+1]);v(e,p[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s,v$1),T}});
13503
+ const u$1=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c$2=e$3(class extends i$3{constructor(e){if(super(e),e.type!==t$2.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;undefined===t?t=s:undefined!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r,c]){const d=p$1(s),{values:p,keys:a}=this.dt(t,r,c);if(!Array.isArray(d))return this.ut=a,p;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p[w]),r$3(s,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p[k]),r$3(s,d[x],d[j]),j--,k++;else if(undefined===m$1&&(m$1=u$1(a,k,w),y=u$1(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=undefined!==e?d[e]:null;if(null===t){const e=r$3(s,d[x]);v(e,p[k]),v$1[k]=e;}else v$1[k]=v(t,p[k]),r$3(s,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=r$3(s,v$1[w+1]);v(e,p[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s,v$1),T}});
13326
13504
 
13327
13505
  /**
13328
13506
  * @license
13329
13507
  * Copyright 2018 Google LLC
13330
13508
  * SPDX-License-Identifier: BSD-3-Clause
13331
- */const e$2=e$3(class extends i$3{constructor(t){if(super(t),t.type!==t$2.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}});
13509
+ */const e$2=e$3(class extends i$3{constructor(t){if(super(t),t.type!==t$2.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(undefined===this.st){this.st=new Set,undefined!==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}});
13332
13510
 
13333
13511
  /**
13334
13512
  * @license
@@ -13444,21 +13622,21 @@ function stopNotifyingOnLangChange(element) {
13444
13622
  * Copyright 2019 Google LLC
13445
13623
  * SPDX-License-Identifier: BSD-3-Clause
13446
13624
  */
13447
- const t=globalThis,e$1=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o$1=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$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$1.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$1.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$2=(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$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.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1=e$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t;
13625
+ const t=globalThis,e$1=t.ShadowRoot&&(undefined===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o$1=new WeakMap;let n$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,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$1&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$1.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$1.set(s,t));}return t}toString(){return this.cssText}};const r$2=t=>new n$1("string"==typeof t?t:t+"",undefined,s),i$2=(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$1(o,t,s)},S=(s,o)=>{if(e$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.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1=e$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t;
13448
13626
 
13449
13627
  /**
13450
13628
  * @license
13451
13629
  * Copyright 2017 Google LLC
13452
13630
  * SPDX-License-Identifier: BSD-3-Clause
13453
- */const{is:i$1,defineProperty:e,getOwnPropertyDescriptor:r$1,getOwnPropertyNames:h,getOwnPropertySymbols:o,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$1(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(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(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");
13631
+ */const{is:i$1,defineProperty:e,getOwnPropertyDescriptor:r$1,getOwnPropertyNames:h,getOwnPropertySymbols:o,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$1(t,s),y={attribute:true,type:String,converter:u,reflect:false,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=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e(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:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=n(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,s=[...h(t),...o(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(undefined!==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);undefined!==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 undefined!==s&&i.push(c$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,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),undefined!==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(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(undefined!==e&&true===i.reflect){const r=(undefined!==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(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(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=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===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("elementProperties")]=new Map,b[d("finalized")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push("2.0.4");
13454
13632
 
13455
13633
  /**
13456
13634
  * @license
13457
13635
  * Copyright 2017 Google LLC
13458
13636
  * SPDX-License-Identifier: BSD-3-Clause
13459
- */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=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
13637
+ */class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}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=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
13460
13638
 
13461
- var styleCss$3 = i$2`*,*: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}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:0;pointer-events:none}:host .wrapper:hover .clearBtn,:host .wrapper:focus-within .clearBtn{opacity:1;pointer-events:auto}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.inputElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{--size-lgsm: 1.875rem;--size-xlsm: 2.75rem;--size-mdxxs: 1.2rem;position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{position:relative;overflow:hidden;min-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));max-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield;appearance:textfield}input:disabled{background:none;pointer-events:none}:host([bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}`;
13639
+ var styleCss$3 = i$2`*,*: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}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}.clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}:host .wrapper:hover .clearBtn,:host .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.inputElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:relative;overflow:hidden;min-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));max-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield;appearance:textfield}input:disabled{background:none;pointer-events:none}:host([bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}`;
13462
13640
 
13463
13641
  var colorCss$3 = i$2`.wrapper{border-color:transparent}.inputElement-helpText{color:var(--ds-auro-input-help-text-color)}input{background-color:transparent;caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}input::placeholder{color:transparent}input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}input:disabled{--ds-auro-input-input-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}label{color:var(--ds-auro-input-label-text-color)}:host(:not([bordered],[borderless])) .wrapper{border-bottom-color:var(--ds-auro-input-border-color)}:host([bordered]) .wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-container-color)}:host([bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host(:not([borderless])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host(:not([borderless])) .wrapper:focus-within:before{border-bottom-color:transparent}:host([validity]:not([validity=valid])){--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);--ds-auro-input-help-text-color: var(--ds-color-text-error-default, #cc1816)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-input-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
13464
13642
 
@@ -15125,30 +15303,87 @@ class AuroFormValidation {
15125
15303
  }
15126
15304
 
15127
15305
  /**
15128
- * Determines the validity state of the element based on the common attribute restrictions (pattern).
15129
- * @private
15130
- * @param {object} elem - HTML element to validate.
15306
+ * Validates the attributes of a given element based on predefined validation rules.
15307
+ *
15308
+ * @param {HTMLElement} elem - The element to be validated.
15131
15309
  * @returns {void}
15310
+ *
15311
+ * @example
15312
+ * // Assuming `inputElement` is a reference to an input element in the DOM
15313
+ * validateElementAttributes(inputElement);
15314
+ *
15315
+ * The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
15316
+ * If a validation rule is violated, it sets the element's validity state and error message accordingly.
15317
+ *
15318
+ * Validation rules:
15319
+ * - input:
15320
+ * - length:
15321
+ * - tooShort: Checks if the value length is less than the minimum length.
15322
+ * - tooLong: Checks if the value length exceeds the maximum length.
15323
+ * - pattern:
15324
+ * - patternMismatch: Checks if the value does not match the specified pattern.
15325
+ * - counter:
15326
+ * - range:
15327
+ * - rangeOverflow: Checks if the value exceeds the maximum value.
15328
+ * - rangeUnderflow: Checks if the value is less than the minimum value.
15132
15329
  */
15133
- validateAttributes(elem) {
15134
- if (elem.pattern) {
15135
- const pattern = new RegExp(`^${elem.pattern}$`, 'u');
15136
-
15137
- if (!pattern.test(elem.value)) {
15138
- elem.validity = 'badInput';
15139
- elem.setCustomValidity = elem.setCustomValidityBadInput || '';
15330
+ validateElementAttributes(elem) {
15331
+ const validationRules = {
15332
+ input: {
15333
+ length: [
15334
+ {
15335
+ check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
15336
+ validity: 'tooShort',
15337
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
15338
+ },
15339
+ {
15340
+ check: (e) => e.value?.length > e.maxLength,
15341
+ validity: 'tooLong',
15342
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
15343
+ }
15344
+ ],
15345
+ pattern: [
15346
+ {
15347
+ check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
15348
+ validity: 'patternMismatch',
15349
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
15350
+ }
15351
+ ]
15352
+ },
15353
+ counter: {
15354
+ range: [
15355
+ {
15356
+ check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
15357
+ validity: 'rangeOverflow',
15358
+ message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
15359
+ },
15360
+ {
15361
+ check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
15362
+ validity: 'rangeUnderflow',
15363
+ message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
15364
+ }
15365
+ ]
15140
15366
  }
15141
- }
15142
-
15143
- // Length > 0 is required to prevent the error message from showing when the input is empty
15144
- if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
15145
- elem.validity = 'tooShort';
15146
- elem.setCustomValidity = elem.setCustomValidityTooShort || '';
15367
+ };
15368
+
15369
+ let elementType;
15370
+ if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
15371
+ elementType = 'input';
15372
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
15373
+ elementType = 'counter';
15147
15374
  }
15148
15375
 
15149
- if (elem.value?.length > elem.maxLength) {
15150
- elem.validity = 'tooLong';
15151
- elem.setCustomValidity = elem.setCustomValidityTooLong || '';
15376
+ if (elementType) {
15377
+ const rules = validationRules[elementType];
15378
+
15379
+ if (rules) {
15380
+ Object.values(rules).flat().forEach(rule => {
15381
+ if (rule.check(elem)) {
15382
+ elem.validity = rule.validity;
15383
+ elem.errorMessage = rule.message(elem);
15384
+ }
15385
+ });
15386
+ }
15152
15387
  }
15153
15388
  }
15154
15389
 
@@ -15164,33 +15399,32 @@ class AuroFormValidation {
15164
15399
  const emailRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; // eslint-disable-line require-unicode-regexp
15165
15400
 
15166
15401
  if (!elem.value.match(emailRegex)) {
15167
- elem.validity = 'badInput';
15168
- elem.setCustomValidity = elem.setCustomValidityForType || '';
15402
+ elem.validity = 'patternMismatch';
15403
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
15169
15404
  }
15170
15405
  } else if (elem.type === 'credit-card') {
15171
15406
  if (elem.value.length > 0 && elem.value.length < elem.validationCCLength) {
15172
15407
  elem.validity = 'tooShort';
15173
- elem.setCustomValidity = elem.setCustomValidityForType || '';
15408
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
15174
15409
  }
15175
15410
  } else if (elem.type === 'number') {
15176
15411
  if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
15177
15412
  elem.validity = 'rangeOverflow';
15178
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
15413
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
15179
15414
  }
15180
15415
 
15181
- if (elem.min !== undefined && Number(elem.min) > Number(elem.value)) {
15416
+ if (elem.min !== undefined && elem.value?.length > 0 && Number(elem.min) > Number(elem.value)) {
15182
15417
  elem.validity = 'rangeUnderflow';
15183
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
15418
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
15184
15419
  }
15185
-
15186
15420
  } else if (elem.type === 'month-day-year' ||
15187
15421
  elem.type === 'month-year' ||
15188
15422
  elem.type === 'month-fullYear' ||
15189
15423
  elem.type === 'year-month-day'
15190
15424
  ) {
15191
- if (elem.value && elem.value.length > 0 && elem.value.length < elem.dateStrLength) {
15425
+ if (elem.value?.length > 0 && elem.value.length < elem.dateStrLength) {
15192
15426
  elem.validity = 'tooShort';
15193
- elem.setCustomValidity = elem.setCustomValidityForType || '';
15427
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
15194
15428
  } else {
15195
15429
  const valueDate = new Date(elem.value);
15196
15430
 
@@ -15200,7 +15434,7 @@ class AuroFormValidation {
15200
15434
 
15201
15435
  if (valueDate > maxDate) {
15202
15436
  elem.validity = 'rangeOverflow';
15203
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
15437
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
15204
15438
  }
15205
15439
  }
15206
15440
 
@@ -15210,7 +15444,7 @@ class AuroFormValidation {
15210
15444
 
15211
15445
  if (valueDate < minDate) {
15212
15446
  elem.validity = 'rangeUnderflow';
15213
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
15447
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
15214
15448
  }
15215
15449
  }
15216
15450
  }
@@ -15233,10 +15467,10 @@ class AuroFormValidation {
15233
15467
 
15234
15468
  if (elem.hasAttribute('error')) {
15235
15469
  elem.validity = 'customError';
15236
- elem.setCustomValidity = elem.error;
15470
+ elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
15237
15471
  } else if (validationShouldRun) {
15238
15472
  elem.validity = 'valid';
15239
- elem.setCustomValidity = '';
15473
+ elem.errorMessage = '';
15240
15474
 
15241
15475
  /**
15242
15476
  * Only validate once we interact with the datepicker
@@ -15248,7 +15482,7 @@ class AuroFormValidation {
15248
15482
  let hasValue = elem.value && elem.value.length > 0;
15249
15483
 
15250
15484
  // If there is a second input in the elem and that value is undefined or an empty string set hasValue to false;
15251
- if (this.auroInputElements && this.auroInputElements.length === 2) {
15485
+ if (this.auroInputElements?.length === 2) {
15252
15486
  if (!this.auroInputElements[1].value || this.auroInputElements[1].length === 0) {
15253
15487
  hasValue = false;
15254
15488
  }
@@ -15256,31 +15490,29 @@ class AuroFormValidation {
15256
15490
 
15257
15491
  if (!hasValue && elem.required) {
15258
15492
  elem.validity = 'valueMissing';
15259
- elem.setCustomValidity = elem.setCustomValidityValueMissing || '';
15493
+ elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
15260
15494
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
15261
15495
  this.validateType(elem);
15262
- this.validateAttributes(elem);
15496
+ this.validateElementAttributes(elem);
15497
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
15498
+ this.validateElementAttributes(elem);
15263
15499
  }
15264
15500
  }
15265
15501
 
15266
- if (this.auroInputElements && this.auroInputElements.length > 0) {
15502
+ if (this.auroInputElements?.length > 0) {
15267
15503
  elem.validity = this.auroInputElements[0].validity;
15268
- elem.setCustomValidity = this.auroInputElements[0].setCustomValidity;
15504
+ elem.errorMessage = this.auroInputElements[0].errorMessage;
15269
15505
 
15270
- if (elem.validity === 'valid') {
15271
- if (this.auroInputElements.length > 1) {
15272
- elem.validity = this.auroInputElements[1].validity;
15273
- elem.setCustomValidity = this.auroInputElements[1].setCustomValidity;
15274
- }
15506
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
15507
+ elem.validity = this.auroInputElements[1].validity;
15508
+ elem.errorMessage = this.auroInputElements[1].errorMessage;
15275
15509
  }
15276
15510
  }
15277
15511
 
15278
15512
  if (validationShouldRun || elem.hasAttribute('error')) {
15279
- if (elem.validity && elem.validity !== 'valid') {
15280
- // Use the validity message override if it is declared
15281
- if (elem.ValidityMessageOverride) {
15282
- elem.setCustomValidity = elem.ValidityMessageOverride;
15283
- }
15513
+ // Use the validity message override if it is declared
15514
+ if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
15515
+ elem.errorMessage = elem.ValidityMessageOverride;
15284
15516
  }
15285
15517
 
15286
15518
  this.getErrorMessage(elem);
@@ -15326,18 +15558,18 @@ class AuroFormValidation {
15326
15558
  if (elem.validity !== 'valid') {
15327
15559
  if (elem.setCustomValidity) {
15328
15560
  elem.errorMessage = elem.setCustomValidity;
15329
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
15561
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input') && elem.errorMessage === '') {
15330
15562
  const input = elem.renderRoot.querySelector('input');
15331
15563
 
15332
15564
  if (input.validationMessage.length > 0) {
15333
15565
  elem.errorMessage = input.validationMessage;
15334
15566
  }
15335
- } else if (this.inputElements && this.inputElements.length > 0) {
15567
+ } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
15336
15568
  const firstInput = this.inputElements[0];
15337
15569
 
15338
15570
  if (firstInput.validationMessage.length > 0) {
15339
15571
  elem.errorMessage = firstInput.validationMessage;
15340
- } else if (this.inputElements.length === 2) {
15572
+ } else if (this.inputElements?.length === 2) {
15341
15573
  const secondInput = this.inputElements[1];
15342
15574
 
15343
15575
  if (secondInput.validationMessage.length > 0) {
@@ -15358,42 +15590,8 @@ class AuroFormValidation {
15358
15590
  /**
15359
15591
  * Auro-input provides users a way to enter data into a text field.
15360
15592
  *
15361
- * @attr {Boolean} activeLabel - If set, the label will remain fixed in the active position.
15362
- * @attr {String} autocapitalize - An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters]
15363
- * @attr {String} autocomplete - An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
15364
- * @attr {String} autocorrect - When set to `off`, stops iOS from auto correcting words when typed into a text box.
15365
15593
  * @attr {Boolean} bordered - Applies bordered UI variant.
15366
15594
  * @attr {Boolean} borderless - Applies borderless UI variant.
15367
- * @attr {Boolean} disabled - If set, disables the input.
15368
- * @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
15369
- * @prop {String} errorMessage - Contains the help text message for the current validity error.
15370
- * @attr {Boolean} icon - If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
15371
- * @attr {String} id - Sets the unique ID of the element.
15372
- * @attr {String} lang - defines the language of an element.
15373
- * @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
15374
- * @attr {Number} maxLength - The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
15375
- * @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
15376
- * @attr {Number} minLength - The minimum number of characters the user can enter into the text input. This must be an non-negative integer value smaller than or equal to the value specified by `maxlength`.
15377
- * @attr {String} name - Populates the `name` attribute on the input.
15378
- * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
15379
- * @attr {Boolean} readonly - Makes the input read-only, but can be set programmatically.
15380
- * @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
15381
- * @attr {String} pattern - Specifies a regular expression the form control's value should match.
15382
- * @attr {String} placeholder - Define custom placeholder text, only supported by date input formats.
15383
- * @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
15384
- * @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
15385
- * @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
15386
- * @attr {String} setCustomValidityBadInput - Custom help text message to display when validity = `badInput`.
15387
- * @attr {String} setCustomValidityTooShort - Custom help text message to display when validity = `tooShort`.
15388
- * @attr {String} setCustomValidityTooLong - Custom help text message to display when validity = `tooLong`.
15389
- * @attr {String} setCustomValidityForType - Custom help text message to display for the declared element `type` and type validity fails.
15390
- * @attr {String} setCustomValidityRangeOverflow - Custom help text message to display when validity = `rangeOverflow`.
15391
- * @attr {String} setCustomValidityRangeUnderflow - Custom help text message to display when validity = `rangeUnderflow`.
15392
- * @attr {String} spellcheck - An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
15393
- * @attr {String} type - Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `month-day-year`, `month-year`, `year-month-day` or `text`. If given value is not allowed or set, defaults to `text`.
15394
- * @attr {Boolean} validateOnInput - Sets validation mode to re-eval with each input.
15395
- * @attr {String} validity - Specifies the `validityState` this element is in.
15396
- * @attr {String} value - Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
15397
15595
  *
15398
15596
  * @slot helptext - Sets the help text displayed below the input.
15399
15597
  * @slot label - Sets the label text for the input.
@@ -15485,97 +15683,298 @@ class BaseInput extends r {
15485
15683
  .substring(idSubstrStart, idSubstrEnd);
15486
15684
  }
15487
15685
 
15488
- // function to define props used within the scope of this component
15686
+ // function to define props used within the scope of this componentstatic
15489
15687
  static get properties() {
15490
15688
  return {
15491
- id: { type: String },
15492
- name: { type: String },
15493
- type: { type: String,
15494
- reflect: true },
15495
- value: { type: String },
15496
- lang: { type: String },
15497
- pattern: {
15498
- type: String,
15689
+
15690
+ /**
15691
+ * If set, the label will remain fixed in the active position.
15692
+ */
15693
+ activeLabel: {
15694
+ type: Boolean,
15499
15695
  reflect: true
15500
15696
  },
15501
- icon: { type: Boolean },
15502
- disabled: { type: Boolean },
15503
- required: { type: Boolean },
15504
- noValidate: { type: Boolean },
15505
- spellcheck: { type: String },
15506
- autocorrect: { type: String },
15507
- autocapitalize: { type: String },
15508
- autocomplete: {
15697
+
15698
+ /**
15699
+ * An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters]
15700
+ */
15701
+ autocapitalize: {
15702
+ type: String
15703
+ },
15704
+
15705
+ /**
15706
+ * An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
15707
+ */
15708
+ autocomplete: {
15509
15709
  type: String,
15510
15710
  reflect: true
15511
15711
  },
15512
- placeholder: { type: String },
15513
- activeLabel: {
15514
- type: Boolean,
15515
- reflect: true
15712
+
15713
+ /**
15714
+ * When set to `off`, stops iOS from auto-correcting words when typed into a text box.
15715
+ */
15716
+ autocorrect: {
15717
+ type: String
15516
15718
  },
15517
- max: { type: String },
15518
- min: { type: String },
15519
- maxLength: { type: Number },
15520
- minLength: { type: Number },
15521
15719
 
15522
15720
  /**
15523
- * @ignore
15721
+ * If set, disables the input.
15524
15722
  */
15525
- showPassword: { state: true },
15526
- validateOnInput: { type: Boolean },
15527
- readonly: { type: Boolean },
15528
- error: {
15529
- type: String,
15530
- reflect: true
15723
+ disabled: {
15724
+ type: Boolean
15531
15725
  },
15532
- errorMessage: { type: String },
15533
- validity: {
15726
+
15727
+ error: {
15534
15728
  type: String,
15535
15729
  reflect: true
15536
15730
  },
15537
- setCustomValidity: { type: String },
15538
- setCustomValidityCustomError: { type: String },
15539
- setCustomValidityValueMissing: { type: String },
15540
- setCustomValidityBadInput: { type: String },
15541
- setCustomValidityTooShort: { type: String },
15542
- setCustomValidityTooLong: { type: String },
15543
- setCustomValidityRangeOverflow: { type: String},
15544
- setCustomValidityRangeUnderflow: { type: String},
15545
- customValidityTypeEmail: { type: String }
15546
- };
15547
- }
15548
-
15549
- static get styles() {
15550
- return [
15551
- i$2`${styleCss$3}`,
15552
- i$2`${colorCss$3}`,
15553
- i$2`${tokensCss$3}`
15554
- ];
15555
- }
15556
-
15557
- connectedCallback() {
15558
- super.connectedCallback();
15559
15731
 
15560
- this.privateDefaults();
15732
+ /**
15733
+ * Contains the help text message for the current validity error.
15734
+ */
15735
+ errorMessage: {
15736
+ type: String
15737
+ },
15561
15738
 
15562
- notifyOnLangChange(this);
15739
+ /**
15740
+ * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
15741
+ */
15742
+ icon: {
15743
+ type: Boolean
15744
+ },
15563
15745
 
15564
- // Process auto-formatting if defined for CleaveJS
15565
- if (this.type) {
15566
- let config = null;
15746
+ /**
15747
+ * Sets the unique ID of the element.
15748
+ */
15749
+ id: {
15750
+ type: String
15751
+ },
15567
15752
 
15568
- // Set config for credit card
15569
- switch (this.type) {
15570
- case 'number':
15571
- config = {
15572
- numeral: true,
15573
- delimiter: ''
15574
- };
15753
+ /**
15754
+ * Defines the language of an element.
15755
+ */
15756
+ lang: {
15757
+ type: String
15758
+ },
15575
15759
 
15576
- this.inputMode = 'numeric';
15760
+ /**
15761
+ * The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
15762
+ */
15763
+ max: {
15764
+ type: String
15765
+ },
15577
15766
 
15578
- break;
15767
+ /**
15768
+ * The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
15769
+ */
15770
+ maxLength: {
15771
+ type: Number
15772
+ },
15773
+
15774
+ /**
15775
+ * The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
15776
+ */
15777
+ min: {
15778
+ type: String
15779
+ },
15780
+
15781
+ /**
15782
+ * The minimum number of characters the user can enter into the text input. This must be a non-negative integer value smaller than or equal to the value specified by `maxlength`.
15783
+ */
15784
+ minLength: {
15785
+ type: Number
15786
+ },
15787
+
15788
+ /**
15789
+ * Populates the `name` attribute on the input.
15790
+ */
15791
+ name: {
15792
+ type: String
15793
+ },
15794
+
15795
+ /**
15796
+ * If set, disables auto-validation on blur.
15797
+ */
15798
+ noValidate: {
15799
+ type: Boolean
15800
+ },
15801
+
15802
+ /**
15803
+ * Specifies a regular expression the form control's value should match.
15804
+ */
15805
+ pattern: {
15806
+ type: String,
15807
+ reflect: true
15808
+ },
15809
+
15810
+ /**
15811
+ * Define custom placeholder text, only supported by date input formats.
15812
+ */
15813
+ placeholder: {
15814
+ type: String
15815
+ },
15816
+
15817
+ /**
15818
+ * Makes the input read-only, but can be set programmatically.
15819
+ */
15820
+ readonly: {
15821
+ type: Boolean
15822
+ },
15823
+
15824
+ /**
15825
+ * Populates the `required` attribute on the input. Used for client-side validation.
15826
+ */
15827
+ required: {
15828
+ type: Boolean
15829
+ },
15830
+
15831
+ /**
15832
+ * @ignore
15833
+ */
15834
+ showPassword: {
15835
+ state: true
15836
+ },
15837
+
15838
+ /**
15839
+ * Sets a custom help text message to display for all validityStates.
15840
+ */
15841
+ setCustomValidity: {
15842
+ type: String
15843
+ },
15844
+
15845
+ /**
15846
+ * Custom help text message to display when validity = `badInput`.
15847
+ */
15848
+ setCustomValidityBadInput: {
15849
+ type: String
15850
+ },
15851
+
15852
+ /**
15853
+ * Custom help text message to display when validity = `customError`.
15854
+ */
15855
+ setCustomValidityCustomError: {
15856
+ type: String
15857
+ },
15858
+
15859
+ /**
15860
+ * Custom help text message to display for the declared element `type` and type validity fails.
15861
+ */
15862
+ setCustomValidityForType: {
15863
+ type: String
15864
+ },
15865
+
15866
+ /**
15867
+ * Custom help text message to display when validity = `rangeOverflow`.
15868
+ */
15869
+ setCustomValidityRangeOverflow: {
15870
+ type: String
15871
+ },
15872
+
15873
+ /**
15874
+ * Custom help text message to display when validity = `rangeUnderflow`.
15875
+ */
15876
+ setCustomValidityRangeUnderflow: {
15877
+ type: String
15878
+ },
15879
+
15880
+ /**
15881
+ * Custom help text message to display when validity = `tooLong`.
15882
+ */
15883
+ setCustomValidityTooLong: {
15884
+ type: String
15885
+ },
15886
+
15887
+ /**
15888
+ * Custom help text message to display when validity = `tooShort`.
15889
+ */
15890
+ setCustomValidityTooShort: {
15891
+ type: String
15892
+ },
15893
+
15894
+ /**
15895
+ * Custom help text message to display when validity = `valueMissing`.
15896
+ */
15897
+ setCustomValidityValueMissing: {
15898
+ type: String
15899
+ },
15900
+
15901
+ /**
15902
+ * Custom help text message for email type validity.
15903
+ */
15904
+ customValidityTypeEmail: {
15905
+ type: String
15906
+ },
15907
+
15908
+ /**
15909
+ * An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
15910
+ */
15911
+ spellcheck: {
15912
+ type: String
15913
+ },
15914
+
15915
+ /**
15916
+ * Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `month-day-year`, `month-year`, `year-month-day` or `text`. If given value is not allowed or set, defaults to `text`.
15917
+ */
15918
+ type: {
15919
+ type: String,
15920
+ reflect: true
15921
+ },
15922
+
15923
+ /**
15924
+ * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
15925
+ */
15926
+ value: {
15927
+ type: String
15928
+ },
15929
+
15930
+ /**
15931
+ * Sets validation mode to re-eval with each input.
15932
+ */
15933
+ validateOnInput: {
15934
+ type: Boolean
15935
+ },
15936
+
15937
+ /**
15938
+ * Specifies the `validityState` this element is in.
15939
+ */
15940
+ validity: {
15941
+ type: String,
15942
+ reflect: true
15943
+ }
15944
+ };
15945
+ }
15946
+
15947
+
15948
+ static get styles() {
15949
+ return [
15950
+ i$2`${colorCss$3}`,
15951
+ i$2`${styleCss$3}`,
15952
+ i$2`${tokensCss$3}`
15953
+ ];
15954
+ }
15955
+
15956
+ connectedCallback() {
15957
+ super.connectedCallback();
15958
+
15959
+ this.privateDefaults();
15960
+
15961
+ notifyOnLangChange(this);
15962
+
15963
+ // Process auto-formatting if defined for CleaveJS
15964
+ if (this.type) {
15965
+ let config = null;
15966
+
15967
+ // Set config for credit card
15968
+ switch (this.type) {
15969
+ case 'number':
15970
+ config = {
15971
+ numeral: true,
15972
+ delimiter: ''
15973
+ };
15974
+
15975
+ this.inputMode = 'numeric';
15976
+
15977
+ break;
15579
15978
 
15580
15979
  case 'credit-card':
15581
15980
  config = {
@@ -15819,7 +16218,7 @@ class BaseInput extends r {
15819
16218
  }
15820
16219
 
15821
16220
  if (changedProperties.has('error')) {
15822
- this.validation.validate(this, true);
16221
+ this.validate(true);
15823
16222
  }
15824
16223
 
15825
16224
  if (changedProperties.has('validity')) {
@@ -16011,11 +16410,11 @@ class BaseInput extends r {
16011
16410
  }
16012
16411
 
16013
16412
  /**
16014
- * Public method force validation of input.
16015
- * @returns {void}
16413
+ * Validates value.
16414
+ * @param {boolean} [force=false] - Whether to force validation.
16016
16415
  */
16017
- validate() {
16018
- this.validation.validate(this);
16416
+ validate(force = false) {
16417
+ this.validation.validate(this, force);
16019
16418
  }
16020
16419
 
16021
16420
  /**
@@ -16170,7 +16569,7 @@ class BaseInput extends r {
16170
16569
  this.maxLength = card.formatLength;
16171
16570
  this.minLength = card.formatMinLength;
16172
16571
 
16173
- this.setCustomValidity = card.setCustomValidity;
16572
+ this.errorMessage = card.errorMessage;
16174
16573
 
16175
16574
  if (this.icon) {
16176
16575
  this.inputIconName = card.cardIcon;
@@ -16190,63 +16589,63 @@ class BaseInput extends r {
16190
16589
  name: 'Airlines',
16191
16590
  regex: /^(?<num>1|2)\d{0}/u,
16192
16591
  formatMinLength: 17,
16193
- setCustomValidity: CreditCardValidationMessage,
16592
+ errorMessage: CreditCardValidationMessage,
16194
16593
  cardIcon: 'credit-card'
16195
16594
  },
16196
16595
  {
16197
16596
  name: 'Commercial',
16198
16597
  regex: /^(?<num>2)\d{0}/u,
16199
16598
  formatMinLength: 8,
16200
- setCustomValidity: CreditCardValidationMessage,
16599
+ errorMessage: CreditCardValidationMessage,
16201
16600
  cardIcon: 'credit-card'
16202
16601
  },
16203
16602
  {
16204
16603
  name: 'Alaska Commercial',
16205
16604
  regex: /^(?<num>27)\d{0}/u,
16206
16605
  formatMinLength: 8,
16207
- setCustomValidity: CreditCardValidationMessage,
16606
+ errorMessage: CreditCardValidationMessage,
16208
16607
  cardIcon: 'cc-alaska'
16209
16608
  },
16210
16609
  {
16211
16610
  name: 'American Express',
16212
16611
  regex: /^(?<num>34|37)\d{0}/u,
16213
16612
  formatLength: 17,
16214
- setCustomValidity: CreditCardValidationMessage,
16613
+ errorMessage: CreditCardValidationMessage,
16215
16614
  cardIcon: 'cc-amex'
16216
16615
  },
16217
16616
  {
16218
16617
  name: 'Diners club',
16219
16618
  regex: /^(?<num>36|38)\d{0}/u,
16220
16619
  formatLength: 16,
16221
- setCustomValidity: CreditCardValidationMessage,
16620
+ errorMessage: CreditCardValidationMessage,
16222
16621
  cardIcon: 'credit-card'
16223
16622
  },
16224
16623
  {
16225
16624
  name: 'Visa',
16226
16625
  regex: /^(?<num>4)\d{0}/u,
16227
16626
  formatLength: 19,
16228
- setCustomValidity: CreditCardValidationMessage,
16627
+ errorMessage: CreditCardValidationMessage,
16229
16628
  cardIcon: 'cc-visa'
16230
16629
  },
16231
16630
  {
16232
16631
  name: 'Alaska Airlines Visa',
16233
16632
  regex: /^(?<num>4147\s34|4888\s93|4800\s11|4313\s51|4313\s07)\d{0}/u,
16234
16633
  formatLength: 19,
16235
- setCustomValidity: CreditCardValidationMessage,
16634
+ errorMessage: CreditCardValidationMessage,
16236
16635
  cardIcon: 'cc-alaska'
16237
16636
  },
16238
16637
  {
16239
16638
  name: 'Master Card',
16240
16639
  regex: /^(?<num>5)\d{0}/u,
16241
16640
  formatLength: 19,
16242
- setCustomValidity: CreditCardValidationMessage,
16641
+ errorMessage: CreditCardValidationMessage,
16243
16642
  cardIcon: 'cc-mastercard'
16244
16643
  },
16245
16644
  {
16246
16645
  name: 'Discover Card',
16247
16646
  regex: /^(?<num>6)\d{0}/u,
16248
16647
  formatLength: 19,
16249
- setCustomValidity: CreditCardValidationMessage,
16648
+ errorMessage: CreditCardValidationMessage,
16250
16649
  cardIcon: 'cc-discover'
16251
16650
  }
16252
16651
  ];
@@ -16254,7 +16653,7 @@ class BaseInput extends r {
16254
16653
  let type = {
16255
16654
  name: 'Default Card',
16256
16655
  formatLength: 19,
16257
- setCustomValidity: CreditCardValidationMessage,
16656
+ errorMessage: CreditCardValidationMessage,
16258
16657
  cardIcon: 'credit-card'
16259
16658
  };
16260
16659
 
@@ -17279,7 +17678,6 @@ class AuroInput extends BaseInput {
17279
17678
  <p class="inputElement-helpText" id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
17280
17679
  ${this.errorMessage}
17281
17680
  </p>`
17282
-
17283
17681
  }
17284
17682
  `;
17285
17683
  }
@@ -17295,25 +17693,6 @@ var inputVersion = '4.2.0';
17295
17693
 
17296
17694
  // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
17297
17695
  /**
17298
- * @prop {String} value - Value selected for the date picker.
17299
- * @prop {String} valueEnd - Value selected for the second date picker when using date range.
17300
- * @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
17301
- * @attr {String} validity - Specifies the `validityState` this element is in.
17302
- * @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
17303
- * @attr {String} setCustomValidityRangeUnderflow - Custom help text message to display when validity = `rangeUnderflow`.
17304
- * @attr {String} setCustomValidityRangeOverflow - Custom help text message to display when validity = `rangeOverflow`.
17305
- * @attr {String} setCustomValidityValueMissing - Help text message to display when validity = `valueMissing`.
17306
- * @attr {String} calendarStartDate - The first date that may be displayed in the calendar.
17307
- * @attr {String} calendarEndDate - The last date that may be displayed in the calendar
17308
- * @attr {String} calendarFocusDate - The date that will first be visually rendered to the user in the calendar.
17309
- * @attr {Boolean} disabled - If set, disables the datepicker.
17310
- * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
17311
- * @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
17312
- * @attr {Boolean} range - If set, turns on date range functionality in auro-calendar.
17313
- * @attr {String} centralDate - The date that determines the currently visible month.
17314
- * @attr {String} maxDate - Maximum date. All dates after will be disabled.
17315
- * @attr {String} minDate - Minimum date. All dates before will be disabled.
17316
- * @attr {Array} monthNames = Names of all 12 months to render in the calendar, used for localization of date string in mobile layout.
17317
17696
  * @slot helpText - Defines the content of the helpText.
17318
17697
  * @slot mobileDateLabel - Defines the content to display above selected dates in the mobile layout.
17319
17698
  * @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
@@ -17410,7 +17789,15 @@ class AuroDatePicker extends r$7 {
17410
17789
  * Generate unique names for dependency components.
17411
17790
  */
17412
17791
  const versioning = new AuroDependencyVersioning$2();
17792
+
17793
+ /**
17794
+ * @private
17795
+ */
17413
17796
  this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
17797
+
17798
+ /**
17799
+ * @private
17800
+ */
17414
17801
  this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
17415
17802
  }
17416
17803
 
@@ -17420,101 +17807,155 @@ class AuroDatePicker extends r$7 {
17420
17807
  static get properties() {
17421
17808
  return {
17422
17809
  // ...super.properties,
17423
- error: {
17424
- type: String,
17425
- reflect: true
17426
- },
17427
- noValidate: {
17428
- type: Boolean
17429
- },
17430
- setCustomValidity: {
17431
- type: String,
17432
- reflect: true
17433
- },
17434
- setCustomValidityRangeUnderflow: {
17435
- type: String,
17436
- reflect: true
17437
- },
17438
- setCustomValidityRangeOverflow: {
17810
+ /**
17811
+ * The last date that may be displayed in the calendar.
17812
+ */
17813
+ calendarEndDate: {
17439
17814
  type: String,
17440
17815
  reflect: true
17441
17816
  },
17442
- setCustomValidityValueMissing: {
17817
+
17818
+ /**
17819
+ * The date that will first be visually rendered to the user in the calendar.
17820
+ */
17821
+ calendarFocusDate: {
17443
17822
  type: String,
17444
17823
  reflect: true
17445
17824
  },
17446
- validity: {
17825
+
17826
+ /**
17827
+ * The first date that may be displayed in the calendar.
17828
+ */
17829
+ calendarStartDate: {
17447
17830
  type: String,
17448
17831
  reflect: true
17449
17832
  },
17450
- range: {
17451
- type: Boolean,
17452
- reflect: true
17833
+
17834
+ /**
17835
+ * The date that determines the currently visible month.
17836
+ */
17837
+ centralDate: {
17838
+ type: String
17453
17839
  },
17840
+
17841
+ /**
17842
+ * If set, disables the datepicker.
17843
+ */
17454
17844
  disabled: {
17455
17845
  type: Boolean,
17456
17846
  reflect: true
17457
17847
  },
17458
- required: {
17459
- type: Boolean,
17460
- reflect: true
17461
- },
17462
- type: {
17848
+
17849
+ /**
17850
+ * When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
17851
+ */
17852
+ error: {
17463
17853
  type: String,
17464
17854
  reflect: true
17465
17855
  },
17466
- value: {
17467
- type: String
17468
- },
17469
- valueEnd: {
17470
- type: String
17471
- },
17472
- centralDate: {
17473
- type: String
17474
- },
17856
+
17857
+ /**
17858
+ * Maximum date. All dates after will be disabled.
17859
+ */
17475
17860
  maxDate: {
17476
17861
  type: String,
17477
17862
  reflect: true
17478
17863
  },
17864
+
17865
+ /**
17866
+ * Minimum date. All dates before will be disabled.
17867
+ */
17479
17868
  minDate: {
17480
17869
  type: String,
17481
17870
  reflect: true
17482
17871
  },
17872
+
17873
+ /**
17874
+ * Names of all 12 months to render in the calendar, used for localization of date string in mobile layout.
17875
+ */
17483
17876
  monthNames: {
17484
17877
  type: Array
17485
17878
  },
17486
- calendarStartDate: {
17487
- type: String,
17488
- reflect: true
17879
+
17880
+ /**
17881
+ * If set, disables auto-validation on blur.
17882
+ */
17883
+ noValidate: {
17884
+ type: Boolean
17489
17885
  },
17490
- calendarEndDate: {
17491
- type: String,
17886
+
17887
+ /**
17888
+ * If set, turns on date range functionality in auro-calendar.
17889
+ */
17890
+ range: {
17891
+ type: Boolean,
17492
17892
  reflect: true
17493
17893
  },
17494
- calendarFocusDate: {
17495
- type: String,
17894
+
17895
+ /**
17896
+ * Populates the `required` attribute on the input. Used for client-side validation.
17897
+ */
17898
+ required: {
17899
+ type: Boolean,
17496
17900
  reflect: true
17497
17901
  },
17498
17902
 
17499
17903
  /**
17500
- * @private
17904
+ * Sets a custom help text message to display for all validityStates.
17501
17905
  */
17502
- dropdownElementName: { type: String },
17906
+ setCustomValidity: {
17907
+ type: String
17908
+ },
17503
17909
 
17504
17910
  /**
17505
- * @private
17911
+ * Custom help text message to display when validity = `customError`.
17506
17912
  */
17507
- dropdownTag: { type: Object },
17913
+ setCustomValidityCustomError: {
17914
+ type: String
17915
+ },
17508
17916
 
17509
17917
  /**
17510
- * @private
17918
+ * Custom help text message to display when validity = `rangeOverflow`.
17511
17919
  */
17512
- inputElementName: { type: String },
17920
+ setCustomValidityRangeOverflow: {
17921
+ type: String
17922
+ },
17513
17923
 
17514
17924
  /**
17515
- * @private
17925
+ * Custom help text message to display when validity = `rangeUnderflow`.
17926
+ */
17927
+ setCustomValidityRangeUnderflow: {
17928
+ type: String
17929
+ },
17930
+
17931
+ /**
17932
+ * Custom help text message to display when validity = `valueMissing`.
17933
+ */
17934
+ setCustomValidityValueMissing: {
17935
+ type: String
17936
+ },
17937
+
17938
+ /**
17939
+ * Specifies the `validityState` this element is in.
17516
17940
  */
17517
- inputTag: { type: Object }
17941
+ validity: {
17942
+ type: String,
17943
+ reflect: true
17944
+ },
17945
+
17946
+ /**
17947
+ * Value selected for the datepicker.
17948
+ */
17949
+ value: {
17950
+ type: String
17951
+ },
17952
+
17953
+ /**
17954
+ * Value selected for the second datepicker when using date range.
17955
+ */
17956
+ valueEnd: {
17957
+ type: String
17958
+ }
17518
17959
  };
17519
17960
  }
17520
17961
 
@@ -17636,30 +18077,6 @@ class AuroDatePicker extends r$7 {
17636
18077
  return dateStr;
17637
18078
  }
17638
18079
 
17639
- /**
17640
- * Return appropriate error message.
17641
- * @param {Object} evt - Event passed in from auro-input when the event triggered this function.
17642
- * @private
17643
- */
17644
- getErrorMessage(evt) {
17645
- if (evt) {
17646
- const inputClass = evt.target.getAttribute('class');
17647
- if (inputClass === 'dateFrom') {
17648
- if (this.inputList[0].validity && this.inputList[0].validity !== 'valid') {
17649
- this.errorMessage = evt.target.errorMessage;
17650
- } else {
17651
- this.errorMessage = undefined;
17652
- }
17653
- }
17654
-
17655
- if (inputClass === 'dateTo') {
17656
- if (!this.errorMessage && this.inputList[1].validity && this.inputList[1].validity !== 'valid') {
17657
- this.errorMessage = evt.target.errorMessage;
17658
- }
17659
- }
17660
- }
17661
- }
17662
-
17663
18080
  /**
17664
18081
  * Changes the calendar's visibility to reflect the value of the central date attribute.
17665
18082
  * @private
@@ -17768,13 +18185,13 @@ class AuroDatePicker extends r$7 {
17768
18185
  input.addEventListener('auroFormElement-validated', (evt) => {
17769
18186
  if (evt.detail.validity === 'customError') {
17770
18187
  this.validity = evt.detail.validity;
17771
- this.setCustomValidity = evt.detail.message;
18188
+ this.errorMessage = evt.detail.message;
17772
18189
  } else if (evt.target === this.inputList[0]) {
17773
18190
  this.validity = evt.detail.validity;
17774
- this.setCustomValidity = evt.detail.message;
18191
+ this.errorMessage = evt.detail.message;
17775
18192
  } else if (this.inputList.length > 1 && evt.target === this.inputList[1] && (this.inputList[0].validity === 'valid' || this.inputList[0].validity === undefined)) {
17776
18193
  this.validity = evt.detail.validity;
17777
- this.setCustomValidity = evt.detail.message;
18194
+ this.errorMessage = evt.detail.message;
17778
18195
  }
17779
18196
  });
17780
18197
  });
@@ -17925,10 +18342,11 @@ class AuroDatePicker extends r$7 {
17925
18342
  if (!this.value || !this.util.validDateStr(this.value)) {
17926
18343
  this.value = newDate;
17927
18344
  } else if (!this.valueEnd || !this.util.validDateStr(this.valueEnd)) {
17928
-
17929
18345
  // verify the date is after this.value to insure we are setting a proper range
17930
18346
  if (new Date(newDate) >= new Date(this.value)) {
17931
18347
  this.valueEnd = newDate;
18348
+ } else {
18349
+ this.value = newDate;
17932
18350
  }
17933
18351
  } else {
17934
18352
  this.value = newDate;
@@ -17961,6 +18379,14 @@ class AuroDatePicker extends r$7 {
17961
18379
  this.validation.reset(this);
17962
18380
  }
17963
18381
 
18382
+ /**
18383
+ * Validates value.
18384
+ * @param {boolean} [force=false] - Whether to force validation.
18385
+ */
18386
+ validate(force = false) {
18387
+ this.validation.validate(this, force);
18388
+ }
18389
+
17964
18390
  updated(changedProperties) {
17965
18391
  if (changedProperties.has('calendarFocusDate')) {
17966
18392
  this.handleFocusDateChange();
@@ -18026,7 +18452,7 @@ class AuroDatePicker extends r$7 {
18026
18452
  }
18027
18453
  }
18028
18454
 
18029
- this.validation.validate(this);
18455
+ this.validate();
18030
18456
  }
18031
18457
 
18032
18458
  if (changedProperties.has('valueEnd') && this.inputList[1]) {
@@ -18056,7 +18482,7 @@ class AuroDatePicker extends r$7 {
18056
18482
  }
18057
18483
  }
18058
18484
 
18059
- this.validation.validate(this);
18485
+ this.validate();
18060
18486
  }
18061
18487
 
18062
18488
  if (changedProperties.has('error')) {
@@ -18064,7 +18490,7 @@ class AuroDatePicker extends r$7 {
18064
18490
  // This is done to prevent error icon from displaying on both inputs in range support
18065
18491
  const lastInput = this.inputList[this.inputList.length - 1];
18066
18492
 
18067
- if (this.error) {
18493
+ if (this.hasAttribute('error')) {
18068
18494
  // Set the error attribute on the last input
18069
18495
  lastInput.setAttribute('error', this.getAttribute('error'));
18070
18496
  } else {
@@ -18086,11 +18512,14 @@ class AuroDatePicker extends r$7 {
18086
18512
  // a later date than the current value date
18087
18513
  if (changedProperties.has('minDate')) {
18088
18514
  if (this.minDate) {
18089
- const minDateMonth = Number(this.minDate.charAt(1));
18515
+ const minDateMonth = Number(this.minDate.split('/')[0]);
18516
+ const minDateYear = Number(this.minDate.split('/')[2]);
18090
18517
 
18091
18518
  // This sets the visible month of the calendar to the minDate when the minDate is later
18092
18519
  // than the current visible date
18093
- if (minDateMonth > this.calendar.month) {
18520
+ if (minDateYear > this.calendar.year) {
18521
+ this.calendarRenderUtil.updateCentralDate(this, this.minDate);
18522
+ } else if (minDateYear === this.calendar.year && minDateMonth > this.calendar.month) {
18094
18523
  this.calendarRenderUtil.updateCentralDate(this, this.minDate);
18095
18524
  }
18096
18525
 
@@ -18111,6 +18540,17 @@ class AuroDatePicker extends r$7 {
18111
18540
  // This resets the datepicker when the maxDate is set to a new value that is
18112
18541
  // an earlier date than the current value date
18113
18542
  if (changedProperties.has('maxDate')) {
18543
+ const maxDateMonth = Number(this.maxDate.split('/')[0]);
18544
+ const maxDateYear = Number(this.maxDate.split('/')[2]);
18545
+
18546
+ // This sets the visible month of the calendar to the maxDate when the maxDate is earlier
18547
+ // than the current visible date
18548
+ if (maxDateYear < this.calendar.year) {
18549
+ this.calendarRenderUtil.updateCentralDate(this, this.maxDate);
18550
+ } else if (maxDateYear === this.calendar.year && maxDateMonth < this.calendar.month) {
18551
+ this.calendarRenderUtil.updateCentralDate(this, this.maxDate);
18552
+ }
18553
+
18114
18554
  if (this.maxDate) {
18115
18555
  if (this.value) {
18116
18556
  if (new Date(this.maxDate).getTime() < new Date(this.value).getTime()) {
@@ -18182,6 +18622,8 @@ class AuroDatePicker extends r$7 {
18182
18622
  noValidate
18183
18623
  .max="${this.maxDate}"
18184
18624
  .min="${this.minDate}"
18625
+ setCustomValidity="${this.setCustomValidity}"
18626
+ setCustomValidityCustomError="${this.setCustomValidityCustomError}"
18185
18627
  setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
18186
18628
  setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
18187
18629
  setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
@@ -18199,6 +18641,8 @@ class AuroDatePicker extends r$7 {
18199
18641
  noValidate
18200
18642
  .max="${this.maxDate}"
18201
18643
  .min="${this.minDate}"
18644
+ setCustomValidity="${this.setCustomValidity}"
18645
+ setCustomValidityCustomError="${this.setCustomValidityCustomError}"
18202
18646
  setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
18203
18647
  setCustomValidityRangeOverflow="${this.setCustomValidityRangeOverflow}"
18204
18648
  setCustomValidityRangeUnderflow="${this.setCustomValidityRangeUnderflow}"
@@ -18229,8 +18673,8 @@ class AuroDatePicker extends r$7 {
18229
18673
  ? u$6`
18230
18674
  <slot name="helpText"></slot>
18231
18675
  ` : u$6`
18232
- <p class="datepickerElement-helpText" id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
18233
- ${this.setCustomValidity}
18676
+ <p class="datepickerElement-helpText" role="alert" aria-live="assertive" part="helpText">
18677
+ ${this.errorMessage}
18234
18678
  </p>`
18235
18679
  }
18236
18680
  </span>