@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
@@ -20,14 +20,14 @@ const changeLang = () => {
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
22
  */
23
- 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};
23
+ 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};
24
24
 
25
25
  /**
26
26
  * @license
27
27
  * Copyright 2020 Google LLC
28
28
  * SPDX-License-Identifier: BSD-3-Clause
29
29
  */
30
- 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);
30
+ 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);
31
31
 
32
32
  /**
33
33
  * @license
@@ -40,20 +40,20 @@ const t$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
40
40
  * @license
41
41
  * Copyright 2020 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
- */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;}};
43
+ */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;}};
44
44
 
45
45
  /**
46
46
  * @license
47
47
  * Copyright 2017 Google LLC
48
48
  * SPDX-License-Identifier: BSD-3-Clause
49
49
  */
50
- 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}});
50
+ 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}});
51
51
 
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2018 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
- */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}});
56
+ */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}});
57
57
 
58
58
  /**
59
59
  * @license
@@ -169,21 +169,21 @@ function stopNotifyingOnLangChange(element) {
169
169
  * Copyright 2019 Google LLC
170
170
  * SPDX-License-Identifier: BSD-3-Clause
171
171
  */
172
- 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;
172
+ 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;
173
173
 
174
174
  /**
175
175
  * @license
176
176
  * Copyright 2017 Google LLC
177
177
  * SPDX-License-Identifier: BSD-3-Clause
178
- */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");
178
+ */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");
179
179
 
180
180
  /**
181
181
  * @license
182
182
  * Copyright 2017 Google LLC
183
183
  * SPDX-License-Identifier: BSD-3-Clause
184
- */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");
184
+ */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");
185
185
 
186
- 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)}`;
186
+ 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)}`;
187
187
 
188
188
  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)}`;
189
189
 
@@ -1850,30 +1850,87 @@ class AuroFormValidation {
1850
1850
  }
1851
1851
 
1852
1852
  /**
1853
- * Determines the validity state of the element based on the common attribute restrictions (pattern).
1854
- * @private
1855
- * @param {object} elem - HTML element to validate.
1853
+ * Validates the attributes of a given element based on predefined validation rules.
1854
+ *
1855
+ * @param {HTMLElement} elem - The element to be validated.
1856
1856
  * @returns {void}
1857
+ *
1858
+ * @example
1859
+ * // Assuming `inputElement` is a reference to an input element in the DOM
1860
+ * validateElementAttributes(inputElement);
1861
+ *
1862
+ * The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
1863
+ * If a validation rule is violated, it sets the element's validity state and error message accordingly.
1864
+ *
1865
+ * Validation rules:
1866
+ * - input:
1867
+ * - length:
1868
+ * - tooShort: Checks if the value length is less than the minimum length.
1869
+ * - tooLong: Checks if the value length exceeds the maximum length.
1870
+ * - pattern:
1871
+ * - patternMismatch: Checks if the value does not match the specified pattern.
1872
+ * - counter:
1873
+ * - range:
1874
+ * - rangeOverflow: Checks if the value exceeds the maximum value.
1875
+ * - rangeUnderflow: Checks if the value is less than the minimum value.
1857
1876
  */
1858
- validateAttributes(elem) {
1859
- if (elem.pattern) {
1860
- const pattern = new RegExp(`^${elem.pattern}$`, 'u');
1861
-
1862
- if (!pattern.test(elem.value)) {
1863
- elem.validity = 'badInput';
1864
- elem.setCustomValidity = elem.setCustomValidityBadInput || '';
1877
+ validateElementAttributes(elem) {
1878
+ const validationRules = {
1879
+ input: {
1880
+ length: [
1881
+ {
1882
+ check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
1883
+ validity: 'tooShort',
1884
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
1885
+ },
1886
+ {
1887
+ check: (e) => e.value?.length > e.maxLength,
1888
+ validity: 'tooLong',
1889
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
1890
+ }
1891
+ ],
1892
+ pattern: [
1893
+ {
1894
+ check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
1895
+ validity: 'patternMismatch',
1896
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
1897
+ }
1898
+ ]
1899
+ },
1900
+ counter: {
1901
+ range: [
1902
+ {
1903
+ check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
1904
+ validity: 'rangeOverflow',
1905
+ message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
1906
+ },
1907
+ {
1908
+ check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
1909
+ validity: 'rangeUnderflow',
1910
+ message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
1911
+ }
1912
+ ]
1865
1913
  }
1914
+ };
1915
+
1916
+ let elementType;
1917
+ if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1918
+ elementType = 'input';
1919
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
1920
+ elementType = 'counter';
1866
1921
  }
1867
-
1868
- // Length > 0 is required to prevent the error message from showing when the input is empty
1869
- if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
1870
- elem.validity = 'tooShort';
1871
- elem.setCustomValidity = elem.setCustomValidityTooShort || '';
1872
- }
1873
1922
 
1874
- if (elem.value?.length > elem.maxLength) {
1875
- elem.validity = 'tooLong';
1876
- elem.setCustomValidity = elem.setCustomValidityTooLong || '';
1923
+ if (elementType) {
1924
+ const rules = validationRules[elementType];
1925
+
1926
+ if (rules) {
1927
+ Object.values(rules).flat().forEach(rule => {
1928
+ if (rule.check(elem)) {
1929
+ elem.validity = rule.validity;
1930
+ elem.errorMessage = rule.message(elem);
1931
+ }
1932
+ });
1933
+ }
1877
1934
  }
1878
1935
  }
1879
1936
 
@@ -1889,33 +1946,32 @@ class AuroFormValidation {
1889
1946
  const emailRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; // eslint-disable-line require-unicode-regexp
1890
1947
 
1891
1948
  if (!elem.value.match(emailRegex)) {
1892
- elem.validity = 'badInput';
1893
- elem.setCustomValidity = elem.setCustomValidityForType || '';
1949
+ elem.validity = 'patternMismatch';
1950
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
1894
1951
  }
1895
1952
  } else if (elem.type === 'credit-card') {
1896
1953
  if (elem.value.length > 0 && elem.value.length < elem.validationCCLength) {
1897
1954
  elem.validity = 'tooShort';
1898
- elem.setCustomValidity = elem.setCustomValidityForType || '';
1955
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
1899
1956
  }
1900
1957
  } else if (elem.type === 'number') {
1901
1958
  if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
1902
1959
  elem.validity = 'rangeOverflow';
1903
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
1960
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
1904
1961
  }
1905
1962
 
1906
- if (elem.min !== undefined && Number(elem.min) > Number(elem.value)) {
1963
+ if (elem.min !== undefined && elem.value?.length > 0 && Number(elem.min) > Number(elem.value)) {
1907
1964
  elem.validity = 'rangeUnderflow';
1908
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
1965
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
1909
1966
  }
1910
-
1911
1967
  } else if (elem.type === 'month-day-year' ||
1912
1968
  elem.type === 'month-year' ||
1913
1969
  elem.type === 'month-fullYear' ||
1914
1970
  elem.type === 'year-month-day'
1915
1971
  ) {
1916
- if (elem.value && elem.value.length > 0 && elem.value.length < elem.dateStrLength) {
1972
+ if (elem.value?.length > 0 && elem.value.length < elem.dateStrLength) {
1917
1973
  elem.validity = 'tooShort';
1918
- elem.setCustomValidity = elem.setCustomValidityForType || '';
1974
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
1919
1975
  } else {
1920
1976
  const valueDate = new Date(elem.value);
1921
1977
 
@@ -1925,7 +1981,7 @@ class AuroFormValidation {
1925
1981
 
1926
1982
  if (valueDate > maxDate) {
1927
1983
  elem.validity = 'rangeOverflow';
1928
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
1984
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
1929
1985
  }
1930
1986
  }
1931
1987
 
@@ -1935,7 +1991,7 @@ class AuroFormValidation {
1935
1991
 
1936
1992
  if (valueDate < minDate) {
1937
1993
  elem.validity = 'rangeUnderflow';
1938
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
1994
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
1939
1995
  }
1940
1996
  }
1941
1997
  }
@@ -1958,10 +2014,10 @@ class AuroFormValidation {
1958
2014
 
1959
2015
  if (elem.hasAttribute('error')) {
1960
2016
  elem.validity = 'customError';
1961
- elem.setCustomValidity = elem.error;
2017
+ elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
1962
2018
  } else if (validationShouldRun) {
1963
2019
  elem.validity = 'valid';
1964
- elem.setCustomValidity = '';
2020
+ elem.errorMessage = '';
1965
2021
 
1966
2022
  /**
1967
2023
  * Only validate once we interact with the datepicker
@@ -1973,7 +2029,7 @@ class AuroFormValidation {
1973
2029
  let hasValue = elem.value && elem.value.length > 0;
1974
2030
 
1975
2031
  // If there is a second input in the elem and that value is undefined or an empty string set hasValue to false;
1976
- if (this.auroInputElements && this.auroInputElements.length === 2) {
2032
+ if (this.auroInputElements?.length === 2) {
1977
2033
  if (!this.auroInputElements[1].value || this.auroInputElements[1].length === 0) {
1978
2034
  hasValue = false;
1979
2035
  }
@@ -1981,31 +2037,29 @@ class AuroFormValidation {
1981
2037
 
1982
2038
  if (!hasValue && elem.required) {
1983
2039
  elem.validity = 'valueMissing';
1984
- elem.setCustomValidity = elem.setCustomValidityValueMissing || '';
2040
+ elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
1985
2041
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
1986
2042
  this.validateType(elem);
1987
- this.validateAttributes(elem);
2043
+ this.validateElementAttributes(elem);
2044
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
2045
+ this.validateElementAttributes(elem);
1988
2046
  }
1989
2047
  }
1990
2048
 
1991
- if (this.auroInputElements && this.auroInputElements.length > 0) {
2049
+ if (this.auroInputElements?.length > 0) {
1992
2050
  elem.validity = this.auroInputElements[0].validity;
1993
- elem.setCustomValidity = this.auroInputElements[0].setCustomValidity;
2051
+ elem.errorMessage = this.auroInputElements[0].errorMessage;
1994
2052
 
1995
- if (elem.validity === 'valid') {
1996
- if (this.auroInputElements.length > 1) {
1997
- elem.validity = this.auroInputElements[1].validity;
1998
- elem.setCustomValidity = this.auroInputElements[1].setCustomValidity;
1999
- }
2053
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
2054
+ elem.validity = this.auroInputElements[1].validity;
2055
+ elem.errorMessage = this.auroInputElements[1].errorMessage;
2000
2056
  }
2001
2057
  }
2002
2058
 
2003
2059
  if (validationShouldRun || elem.hasAttribute('error')) {
2004
- if (elem.validity && elem.validity !== 'valid') {
2005
- // Use the validity message override if it is declared
2006
- if (elem.ValidityMessageOverride) {
2007
- elem.setCustomValidity = elem.ValidityMessageOverride;
2008
- }
2060
+ // Use the validity message override if it is declared
2061
+ if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
2062
+ elem.errorMessage = elem.ValidityMessageOverride;
2009
2063
  }
2010
2064
 
2011
2065
  this.getErrorMessage(elem);
@@ -2051,18 +2105,18 @@ class AuroFormValidation {
2051
2105
  if (elem.validity !== 'valid') {
2052
2106
  if (elem.setCustomValidity) {
2053
2107
  elem.errorMessage = elem.setCustomValidity;
2054
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
2108
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input') && elem.errorMessage === '') {
2055
2109
  const input = elem.renderRoot.querySelector('input');
2056
2110
 
2057
2111
  if (input.validationMessage.length > 0) {
2058
2112
  elem.errorMessage = input.validationMessage;
2059
2113
  }
2060
- } else if (this.inputElements && this.inputElements.length > 0) {
2114
+ } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
2061
2115
  const firstInput = this.inputElements[0];
2062
2116
 
2063
2117
  if (firstInput.validationMessage.length > 0) {
2064
2118
  elem.errorMessage = firstInput.validationMessage;
2065
- } else if (this.inputElements.length === 2) {
2119
+ } else if (this.inputElements?.length === 2) {
2066
2120
  const secondInput = this.inputElements[1];
2067
2121
 
2068
2122
  if (secondInput.validationMessage.length > 0) {
@@ -2083,42 +2137,8 @@ class AuroFormValidation {
2083
2137
  /**
2084
2138
  * Auro-input provides users a way to enter data into a text field.
2085
2139
  *
2086
- * @attr {Boolean} activeLabel - If set, the label will remain fixed in the active position.
2087
- * @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]
2088
- * @attr {String} autocomplete - An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
2089
- * @attr {String} autocorrect - When set to `off`, stops iOS from auto correcting words when typed into a text box.
2090
2140
  * @attr {Boolean} bordered - Applies bordered UI variant.
2091
2141
  * @attr {Boolean} borderless - Applies borderless UI variant.
2092
- * @attr {Boolean} disabled - If set, disables the input.
2093
- * @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
2094
- * @prop {String} errorMessage - Contains the help text message for the current validity error.
2095
- * @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.
2096
- * @attr {String} id - Sets the unique ID of the element.
2097
- * @attr {String} lang - defines the language of an element.
2098
- * @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
2099
- * @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.
2100
- * @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
2101
- * @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`.
2102
- * @attr {String} name - Populates the `name` attribute on the input.
2103
- * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
2104
- * @attr {Boolean} readonly - Makes the input read-only, but can be set programmatically.
2105
- * @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
2106
- * @attr {String} pattern - Specifies a regular expression the form control's value should match.
2107
- * @attr {String} placeholder - Define custom placeholder text, only supported by date input formats.
2108
- * @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
2109
- * @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
2110
- * @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
2111
- * @attr {String} setCustomValidityBadInput - Custom help text message to display when validity = `badInput`.
2112
- * @attr {String} setCustomValidityTooShort - Custom help text message to display when validity = `tooShort`.
2113
- * @attr {String} setCustomValidityTooLong - Custom help text message to display when validity = `tooLong`.
2114
- * @attr {String} setCustomValidityForType - Custom help text message to display for the declared element `type` and type validity fails.
2115
- * @attr {String} setCustomValidityRangeOverflow - Custom help text message to display when validity = `rangeOverflow`.
2116
- * @attr {String} setCustomValidityRangeUnderflow - Custom help text message to display when validity = `rangeUnderflow`.
2117
- * @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`.
2118
- * @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`.
2119
- * @attr {Boolean} validateOnInput - Sets validation mode to re-eval with each input.
2120
- * @attr {String} validity - Specifies the `validityState` this element is in.
2121
- * @attr {String} value - Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
2122
2142
  *
2123
2143
  * @slot helptext - Sets the help text displayed below the input.
2124
2144
  * @slot label - Sets the label text for the input.
@@ -2210,71 +2230,272 @@ class BaseInput extends r {
2210
2230
  .substring(idSubstrStart, idSubstrEnd);
2211
2231
  }
2212
2232
 
2213
- // function to define props used within the scope of this component
2233
+ // function to define props used within the scope of this componentstatic
2214
2234
  static get properties() {
2215
2235
  return {
2216
- id: { type: String },
2217
- name: { type: String },
2218
- type: { type: String,
2219
- reflect: true },
2220
- value: { type: String },
2221
- lang: { type: String },
2222
- pattern: {
2236
+
2237
+ /**
2238
+ * If set, the label will remain fixed in the active position.
2239
+ */
2240
+ activeLabel: {
2241
+ type: Boolean,
2242
+ reflect: true
2243
+ },
2244
+
2245
+ /**
2246
+ * 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]
2247
+ */
2248
+ autocapitalize: {
2249
+ type: String
2250
+ },
2251
+
2252
+ /**
2253
+ * An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
2254
+ */
2255
+ autocomplete: {
2223
2256
  type: String,
2224
2257
  reflect: true
2225
2258
  },
2226
- icon: { type: Boolean },
2227
- disabled: { type: Boolean },
2228
- required: { type: Boolean },
2229
- noValidate: { type: Boolean },
2230
- spellcheck: { type: String },
2231
- autocorrect: { type: String },
2232
- autocapitalize: { type: String },
2233
- autocomplete: {
2259
+
2260
+ /**
2261
+ * When set to `off`, stops iOS from auto-correcting words when typed into a text box.
2262
+ */
2263
+ autocorrect: {
2264
+ type: String
2265
+ },
2266
+
2267
+ /**
2268
+ * If set, disables the input.
2269
+ */
2270
+ disabled: {
2271
+ type: Boolean
2272
+ },
2273
+
2274
+ error: {
2234
2275
  type: String,
2235
2276
  reflect: true
2236
2277
  },
2237
- placeholder: { type: String },
2238
- activeLabel: {
2239
- type: Boolean,
2278
+
2279
+ /**
2280
+ * Contains the help text message for the current validity error.
2281
+ */
2282
+ errorMessage: {
2283
+ type: String
2284
+ },
2285
+
2286
+ /**
2287
+ * 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.
2288
+ */
2289
+ icon: {
2290
+ type: Boolean
2291
+ },
2292
+
2293
+ /**
2294
+ * Sets the unique ID of the element.
2295
+ */
2296
+ id: {
2297
+ type: String
2298
+ },
2299
+
2300
+ /**
2301
+ * Defines the language of an element.
2302
+ */
2303
+ lang: {
2304
+ type: String
2305
+ },
2306
+
2307
+ /**
2308
+ * The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
2309
+ */
2310
+ max: {
2311
+ type: String
2312
+ },
2313
+
2314
+ /**
2315
+ * The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
2316
+ */
2317
+ maxLength: {
2318
+ type: Number
2319
+ },
2320
+
2321
+ /**
2322
+ * The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
2323
+ */
2324
+ min: {
2325
+ type: String
2326
+ },
2327
+
2328
+ /**
2329
+ * 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`.
2330
+ */
2331
+ minLength: {
2332
+ type: Number
2333
+ },
2334
+
2335
+ /**
2336
+ * Populates the `name` attribute on the input.
2337
+ */
2338
+ name: {
2339
+ type: String
2340
+ },
2341
+
2342
+ /**
2343
+ * If set, disables auto-validation on blur.
2344
+ */
2345
+ noValidate: {
2346
+ type: Boolean
2347
+ },
2348
+
2349
+ /**
2350
+ * Specifies a regular expression the form control's value should match.
2351
+ */
2352
+ pattern: {
2353
+ type: String,
2240
2354
  reflect: true
2241
2355
  },
2242
- max: { type: String },
2243
- min: { type: String },
2244
- maxLength: { type: Number },
2245
- minLength: { type: Number },
2356
+
2357
+ /**
2358
+ * Define custom placeholder text, only supported by date input formats.
2359
+ */
2360
+ placeholder: {
2361
+ type: String
2362
+ },
2363
+
2364
+ /**
2365
+ * Makes the input read-only, but can be set programmatically.
2366
+ */
2367
+ readonly: {
2368
+ type: Boolean
2369
+ },
2370
+
2371
+ /**
2372
+ * Populates the `required` attribute on the input. Used for client-side validation.
2373
+ */
2374
+ required: {
2375
+ type: Boolean
2376
+ },
2246
2377
 
2247
2378
  /**
2248
2379
  * @ignore
2249
2380
  */
2250
- showPassword: { state: true },
2251
- validateOnInput: { type: Boolean },
2252
- readonly: { type: Boolean },
2253
- error: {
2381
+ showPassword: {
2382
+ state: true
2383
+ },
2384
+
2385
+ /**
2386
+ * Sets a custom help text message to display for all validityStates.
2387
+ */
2388
+ setCustomValidity: {
2389
+ type: String
2390
+ },
2391
+
2392
+ /**
2393
+ * Custom help text message to display when validity = `badInput`.
2394
+ */
2395
+ setCustomValidityBadInput: {
2396
+ type: String
2397
+ },
2398
+
2399
+ /**
2400
+ * Custom help text message to display when validity = `customError`.
2401
+ */
2402
+ setCustomValidityCustomError: {
2403
+ type: String
2404
+ },
2405
+
2406
+ /**
2407
+ * Custom help text message to display for the declared element `type` and type validity fails.
2408
+ */
2409
+ setCustomValidityForType: {
2410
+ type: String
2411
+ },
2412
+
2413
+ /**
2414
+ * Custom help text message to display when validity = `rangeOverflow`.
2415
+ */
2416
+ setCustomValidityRangeOverflow: {
2417
+ type: String
2418
+ },
2419
+
2420
+ /**
2421
+ * Custom help text message to display when validity = `rangeUnderflow`.
2422
+ */
2423
+ setCustomValidityRangeUnderflow: {
2424
+ type: String
2425
+ },
2426
+
2427
+ /**
2428
+ * Custom help text message to display when validity = `tooLong`.
2429
+ */
2430
+ setCustomValidityTooLong: {
2431
+ type: String
2432
+ },
2433
+
2434
+ /**
2435
+ * Custom help text message to display when validity = `tooShort`.
2436
+ */
2437
+ setCustomValidityTooShort: {
2438
+ type: String
2439
+ },
2440
+
2441
+ /**
2442
+ * Custom help text message to display when validity = `valueMissing`.
2443
+ */
2444
+ setCustomValidityValueMissing: {
2445
+ type: String
2446
+ },
2447
+
2448
+ /**
2449
+ * Custom help text message for email type validity.
2450
+ */
2451
+ customValidityTypeEmail: {
2452
+ type: String
2453
+ },
2454
+
2455
+ /**
2456
+ * 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`.
2457
+ */
2458
+ spellcheck: {
2459
+ type: String
2460
+ },
2461
+
2462
+ /**
2463
+ * 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`.
2464
+ */
2465
+ type: {
2254
2466
  type: String,
2255
2467
  reflect: true
2256
2468
  },
2257
- errorMessage: { type: String },
2258
- validity: {
2469
+
2470
+ /**
2471
+ * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
2472
+ */
2473
+ value: {
2474
+ type: String
2475
+ },
2476
+
2477
+ /**
2478
+ * Sets validation mode to re-eval with each input.
2479
+ */
2480
+ validateOnInput: {
2481
+ type: Boolean
2482
+ },
2483
+
2484
+ /**
2485
+ * Specifies the `validityState` this element is in.
2486
+ */
2487
+ validity: {
2259
2488
  type: String,
2260
2489
  reflect: true
2261
- },
2262
- setCustomValidity: { type: String },
2263
- setCustomValidityCustomError: { type: String },
2264
- setCustomValidityValueMissing: { type: String },
2265
- setCustomValidityBadInput: { type: String },
2266
- setCustomValidityTooShort: { type: String },
2267
- setCustomValidityTooLong: { type: String },
2268
- setCustomValidityRangeOverflow: { type: String},
2269
- setCustomValidityRangeUnderflow: { type: String},
2270
- customValidityTypeEmail: { type: String }
2490
+ }
2271
2491
  };
2272
2492
  }
2273
2493
 
2494
+
2274
2495
  static get styles() {
2275
2496
  return [
2276
- i$2`${styleCss$3}`,
2277
2497
  i$2`${colorCss$3}`,
2498
+ i$2`${styleCss$3}`,
2278
2499
  i$2`${tokensCss$3}`
2279
2500
  ];
2280
2501
  }
@@ -2544,7 +2765,7 @@ class BaseInput extends r {
2544
2765
  }
2545
2766
 
2546
2767
  if (changedProperties.has('error')) {
2547
- this.validation.validate(this, true);
2768
+ this.validate(true);
2548
2769
  }
2549
2770
 
2550
2771
  if (changedProperties.has('validity')) {
@@ -2736,11 +2957,11 @@ class BaseInput extends r {
2736
2957
  }
2737
2958
 
2738
2959
  /**
2739
- * Public method force validation of input.
2740
- * @returns {void}
2960
+ * Validates value.
2961
+ * @param {boolean} [force=false] - Whether to force validation.
2741
2962
  */
2742
- validate() {
2743
- this.validation.validate(this);
2963
+ validate(force = false) {
2964
+ this.validation.validate(this, force);
2744
2965
  }
2745
2966
 
2746
2967
  /**
@@ -2895,7 +3116,7 @@ class BaseInput extends r {
2895
3116
  this.maxLength = card.formatLength;
2896
3117
  this.minLength = card.formatMinLength;
2897
3118
 
2898
- this.setCustomValidity = card.setCustomValidity;
3119
+ this.errorMessage = card.errorMessage;
2899
3120
 
2900
3121
  if (this.icon) {
2901
3122
  this.inputIconName = card.cardIcon;
@@ -2915,63 +3136,63 @@ class BaseInput extends r {
2915
3136
  name: 'Airlines',
2916
3137
  regex: /^(?<num>1|2)\d{0}/u,
2917
3138
  formatMinLength: 17,
2918
- setCustomValidity: CreditCardValidationMessage,
3139
+ errorMessage: CreditCardValidationMessage,
2919
3140
  cardIcon: 'credit-card'
2920
3141
  },
2921
3142
  {
2922
3143
  name: 'Commercial',
2923
3144
  regex: /^(?<num>2)\d{0}/u,
2924
3145
  formatMinLength: 8,
2925
- setCustomValidity: CreditCardValidationMessage,
3146
+ errorMessage: CreditCardValidationMessage,
2926
3147
  cardIcon: 'credit-card'
2927
3148
  },
2928
3149
  {
2929
3150
  name: 'Alaska Commercial',
2930
3151
  regex: /^(?<num>27)\d{0}/u,
2931
3152
  formatMinLength: 8,
2932
- setCustomValidity: CreditCardValidationMessage,
3153
+ errorMessage: CreditCardValidationMessage,
2933
3154
  cardIcon: 'cc-alaska'
2934
3155
  },
2935
3156
  {
2936
3157
  name: 'American Express',
2937
3158
  regex: /^(?<num>34|37)\d{0}/u,
2938
3159
  formatLength: 17,
2939
- setCustomValidity: CreditCardValidationMessage,
3160
+ errorMessage: CreditCardValidationMessage,
2940
3161
  cardIcon: 'cc-amex'
2941
3162
  },
2942
3163
  {
2943
3164
  name: 'Diners club',
2944
3165
  regex: /^(?<num>36|38)\d{0}/u,
2945
3166
  formatLength: 16,
2946
- setCustomValidity: CreditCardValidationMessage,
3167
+ errorMessage: CreditCardValidationMessage,
2947
3168
  cardIcon: 'credit-card'
2948
3169
  },
2949
3170
  {
2950
3171
  name: 'Visa',
2951
3172
  regex: /^(?<num>4)\d{0}/u,
2952
3173
  formatLength: 19,
2953
- setCustomValidity: CreditCardValidationMessage,
3174
+ errorMessage: CreditCardValidationMessage,
2954
3175
  cardIcon: 'cc-visa'
2955
3176
  },
2956
3177
  {
2957
3178
  name: 'Alaska Airlines Visa',
2958
3179
  regex: /^(?<num>4147\s34|4888\s93|4800\s11|4313\s51|4313\s07)\d{0}/u,
2959
3180
  formatLength: 19,
2960
- setCustomValidity: CreditCardValidationMessage,
3181
+ errorMessage: CreditCardValidationMessage,
2961
3182
  cardIcon: 'cc-alaska'
2962
3183
  },
2963
3184
  {
2964
3185
  name: 'Master Card',
2965
3186
  regex: /^(?<num>5)\d{0}/u,
2966
3187
  formatLength: 19,
2967
- setCustomValidity: CreditCardValidationMessage,
3188
+ errorMessage: CreditCardValidationMessage,
2968
3189
  cardIcon: 'cc-mastercard'
2969
3190
  },
2970
3191
  {
2971
3192
  name: 'Discover Card',
2972
3193
  regex: /^(?<num>6)\d{0}/u,
2973
3194
  formatLength: 19,
2974
- setCustomValidity: CreditCardValidationMessage,
3195
+ errorMessage: CreditCardValidationMessage,
2975
3196
  cardIcon: 'cc-discover'
2976
3197
  }
2977
3198
  ];
@@ -2979,7 +3200,7 @@ class BaseInput extends r {
2979
3200
  let type = {
2980
3201
  name: 'Default Card',
2981
3202
  formatLength: 19,
2982
- setCustomValidity: CreditCardValidationMessage,
3203
+ errorMessage: CreditCardValidationMessage,
2983
3204
  cardIcon: 'credit-card'
2984
3205
  };
2985
3206
 
@@ -4004,7 +4225,6 @@ class AuroInput extends BaseInput {
4004
4225
  <p class="inputElement-helpText" id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
4005
4226
  ${this.errorMessage}
4006
4227
  </p>`
4007
-
4008
4228
  }
4009
4229
  `;
4010
4230
  }