@aquera/nile-elements 1.3.5 → 1.3.6

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 (460) hide show
  1. package/README.md +5 -1
  2. package/demo/index.css +3 -0
  3. package/demo/index.html +21 -329
  4. package/dist/{fixture-54600b35.cjs.js → fixture-1c49c014.cjs.js} +2 -2
  5. package/dist/{fixture-73855806.cjs.js.map → fixture-1c49c014.cjs.js.map} +1 -1
  6. package/dist/{fixture-9871e8a9.esm.js → fixture-985bba12.esm.js} +1 -1
  7. package/dist/index.js +34 -31
  8. package/dist/nile-accordion/nile-accordian.test.cjs.js +1 -1
  9. package/dist/nile-accordion/nile-accordian.test.esm.js +1 -1
  10. package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +1 -1
  11. package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +1 -1
  12. package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
  13. package/dist/nile-avatar/nile-avatar.test.esm.js +1 -1
  14. package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
  15. package/dist/nile-badge/nile-badge.test.esm.js +1 -1
  16. package/dist/nile-button/nile-button.test.cjs.js +1 -1
  17. package/dist/nile-button/nile-button.test.esm.js +1 -1
  18. package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js +1 -1
  19. package/dist/nile-button-toggle-group/nile-button-toggle-group.test.esm.js +1 -1
  20. package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
  21. package/dist/nile-calendar/nile-calendar.test.esm.js +1 -1
  22. package/dist/nile-card/nile-card.test.cjs.js +1 -1
  23. package/dist/nile-card/nile-card.test.esm.js +1 -1
  24. package/dist/nile-checkbox/nile-checkbox.test.cjs.js +1 -1
  25. package/dist/nile-checkbox/nile-checkbox.test.esm.js +1 -1
  26. package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
  27. package/dist/nile-chip/nile-chip.test.esm.js +1 -1
  28. package/dist/nile-dialog/nile-dialog.test.cjs.js +1 -1
  29. package/dist/nile-dialog/nile-dialog.test.esm.js +1 -1
  30. package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
  31. package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
  32. package/dist/nile-dropdown/nile-dropdown.test.cjs.js +1 -1
  33. package/dist/nile-dropdown/nile-dropdown.test.esm.js +1 -1
  34. package/dist/nile-empty-state/nile-empty-state.test.cjs.js +1 -1
  35. package/dist/nile-empty-state/nile-empty-state.test.esm.js +1 -1
  36. package/dist/nile-error-message/nile-error-message.test.cjs.js +1 -1
  37. package/dist/nile-error-message/nile-error-message.test.esm.js +1 -1
  38. package/dist/nile-file-preview/nile-file-preview.test.cjs.js +1 -1
  39. package/dist/nile-file-preview/nile-file-preview.test.esm.js +1 -1
  40. package/dist/nile-file-upload/nile-file-upload.test.cjs.js +1 -1
  41. package/dist/nile-file-upload/nile-file-upload.test.esm.js +1 -1
  42. package/dist/nile-filter-chip/nile-filter-chip.test.cjs.js +1 -1
  43. package/dist/nile-filter-chip/nile-filter-chip.test.esm.js +1 -1
  44. package/dist/nile-form-group/nile-form-group.test.cjs.js +1 -1
  45. package/dist/nile-form-group/nile-form-group.test.esm.js +1 -1
  46. package/dist/nile-form-help-text/nile-form-help-text.test.cjs.js +1 -1
  47. package/dist/nile-form-help-text/nile-form-help-text.test.esm.js +1 -1
  48. package/dist/nile-grid/nile-grid-body/nile-grid-body.css.cjs.js +1 -1
  49. package/dist/nile-grid/nile-grid-body/nile-grid-body.css.cjs.js.map +1 -1
  50. package/dist/nile-grid/nile-grid-body/nile-grid-body.css.esm.js +1 -1
  51. package/dist/nile-grid/nile-grid-cell-item/nile-grid-cell-item.css.cjs.js +1 -1
  52. package/dist/nile-grid/nile-grid-cell-item/nile-grid-cell-item.css.cjs.js.map +1 -1
  53. package/dist/nile-grid/nile-grid-cell-item/nile-grid-cell-item.css.esm.js +11 -10
  54. package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.css.cjs.js +1 -1
  55. package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.css.cjs.js.map +1 -1
  56. package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.css.esm.js +14 -13
  57. package/dist/nile-grid/nile-grid-row/nile-grid-row.css.cjs.js +1 -1
  58. package/dist/nile-grid/nile-grid-row/nile-grid-row.css.cjs.js.map +1 -1
  59. package/dist/nile-grid/nile-grid-row/nile-grid-row.css.esm.js +4 -3
  60. package/dist/nile-grid/nile-grid.css.cjs.js +1 -1
  61. package/dist/nile-grid/nile-grid.css.cjs.js.map +1 -1
  62. package/dist/nile-grid/nile-grid.css.esm.js +7 -7
  63. package/dist/nile-grid/nile-grid.width.cjs.js +1 -1
  64. package/dist/nile-grid/nile-grid.width.cjs.js.map +1 -1
  65. package/dist/nile-grid/nile-grid.width.esm.js +1 -1
  66. package/dist/nile-hero/nile-hero.test.cjs.js +1 -1
  67. package/dist/nile-hero/nile-hero.test.esm.js +1 -1
  68. package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
  69. package/dist/nile-icon/nile-icon.test.esm.js +1 -1
  70. package/dist/nile-input/nile-input.cjs.js +1 -1
  71. package/dist/nile-input/nile-input.cjs.js.map +1 -1
  72. package/dist/nile-input/nile-input.esm.js +1 -1
  73. package/dist/nile-input/nile-input.test.cjs.js +1 -1
  74. package/dist/nile-input/nile-input.test.esm.js +1 -1
  75. package/dist/nile-link/nile-link.test.cjs.js +1 -1
  76. package/dist/nile-link/nile-link.test.esm.js +1 -1
  77. package/dist/nile-loader/nile-loader.test.cjs.js +1 -1
  78. package/dist/nile-loader/nile-loader.test.esm.js +1 -1
  79. package/dist/nile-popover/nile-popover.test.cjs.js +1 -1
  80. package/dist/nile-popover/nile-popover.test.esm.js +1 -1
  81. package/dist/nile-popup/nile-popup.test.cjs.js +1 -1
  82. package/dist/nile-popup/nile-popup.test.esm.js +1 -1
  83. package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js +1 -1
  84. package/dist/nile-progress-bar/nile-progress-bar.test.esm.js +1 -1
  85. package/dist/nile-radio/nile-radio.test.cjs.js +1 -1
  86. package/dist/nile-radio/nile-radio.test.esm.js +1 -1
  87. package/dist/nile-radio-group/nile-radio-group.test.cjs.js +1 -1
  88. package/dist/nile-radio-group/nile-radio-group.test.esm.js +1 -1
  89. package/dist/nile-select/nile-select.test.cjs.js +1 -1
  90. package/dist/nile-select/nile-select.test.esm.js +1 -1
  91. package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js +1 -1
  92. package/dist/nile-slide-toggle/nile-slide-toggle.test.esm.js +1 -1
  93. package/dist/nile-tab-group/nile-tab-group.test.cjs.js +1 -1
  94. package/dist/nile-tab-group/nile-tab-group.test.esm.js +1 -1
  95. package/dist/nile-textarea/nile-textarea.test.cjs.js +1 -1
  96. package/dist/nile-textarea/nile-textarea.test.esm.js +1 -1
  97. package/dist/nile-virtual-select/nile-virtual-select.test.cjs.js +1 -1
  98. package/dist/nile-virtual-select/nile-virtual-select.test.esm.js +1 -1
  99. package/dist/src/nile-grid/nile-grid-body/nile-grid-body.css.js +1 -1
  100. package/dist/src/nile-grid/nile-grid-body/nile-grid-body.css.js.map +1 -1
  101. package/dist/src/nile-grid/nile-grid-cell-item/nile-grid-cell-item.css.js +9 -8
  102. package/dist/src/nile-grid/nile-grid-cell-item/nile-grid-cell-item.css.js.map +1 -1
  103. package/dist/src/nile-grid/nile-grid-head-item/nile-grid-head-item.css.js +12 -11
  104. package/dist/src/nile-grid/nile-grid-head-item/nile-grid-head-item.css.js.map +1 -1
  105. package/dist/src/nile-grid/nile-grid-row/nile-grid-row.css.js +4 -3
  106. package/dist/src/nile-grid/nile-grid-row/nile-grid-row.css.js.map +1 -1
  107. package/dist/src/nile-grid/nile-grid.css.js +5 -5
  108. package/dist/src/nile-grid/nile-grid.css.js.map +1 -1
  109. package/dist/src/nile-grid/nile-grid.layout.js +3 -3
  110. package/dist/src/nile-grid/nile-grid.layout.js.map +1 -1
  111. package/dist/src/nile-input/nile-input.js +6 -1
  112. package/dist/src/nile-input/nile-input.js.map +1 -1
  113. package/dist/src/version.js +1 -1
  114. package/dist/src/version.js.map +1 -1
  115. package/dist/tsconfig.tsbuildinfo +1 -1
  116. package/package.json +1 -1
  117. package/src/nile-grid/nile-grid-body/nile-grid-body.css.ts +1 -1
  118. package/src/nile-grid/nile-grid-cell-item/nile-grid-cell-item.css.ts +9 -8
  119. package/src/nile-grid/nile-grid-head-item/nile-grid-head-item.css.ts +12 -11
  120. package/src/nile-grid/nile-grid-row/nile-grid-row.css.ts +4 -3
  121. package/src/nile-grid/nile-grid.css.ts +5 -5
  122. package/src/nile-grid/nile-grid.layout.ts +3 -3
  123. package/src/nile-input/nile-input.ts +5 -1
  124. package/dist/fixture-54600b35.cjs.js.map +0 -1
  125. package/dist/fixture-5b79f853.cjs.js +0 -395
  126. package/dist/fixture-5b79f853.cjs.js.map +0 -1
  127. package/dist/fixture-73855806.cjs.js +0 -395
  128. package/dist/fixture-90b199c4.esm.js +0 -569
  129. package/dist/fixture-c1d78368.cjs.js +0 -395
  130. package/dist/fixture-c1d78368.cjs.js.map +0 -1
  131. package/dist/fixture-cf7bfcf5.esm.js +0 -569
  132. package/dist/fixture-dbd66009.cjs.js +0 -395
  133. package/dist/fixture-dbd66009.cjs.js.map +0 -1
  134. package/dist/nile-code-editor/backup_nile-code-editor copy.cjs.js +0 -2
  135. package/dist/nile-code-editor/backup_nile-code-editor copy.cjs.js.map +0 -1
  136. package/dist/nile-code-editor/backup_nile-code-editor copy.esm.js +0 -1
  137. package/dist/nile-grid/nile-grid.types.cjs.js +0 -2
  138. package/dist/nile-grid/nile-grid.types.cjs.js.map +0 -1
  139. package/dist/nile-grid/nile-grid.types.esm.js +0 -1
  140. package/dist/nile-grid-body/index.cjs.js +0 -2
  141. package/dist/nile-grid-body/index.cjs.js.map +0 -1
  142. package/dist/nile-grid-body/index.esm.js +0 -1
  143. package/dist/nile-grid-body/nile-grid-body.cjs.js +0 -2
  144. package/dist/nile-grid-body/nile-grid-body.cjs.js.map +0 -1
  145. package/dist/nile-grid-body/nile-grid-body.css.cjs.js +0 -2
  146. package/dist/nile-grid-body/nile-grid-body.css.cjs.js.map +0 -1
  147. package/dist/nile-grid-body/nile-grid-body.css.esm.js +0 -10
  148. package/dist/nile-grid-body/nile-grid-body.esm.js +0 -5
  149. package/dist/nile-grid-cell-item/index.cjs.js +0 -2
  150. package/dist/nile-grid-cell-item/index.cjs.js.map +0 -1
  151. package/dist/nile-grid-cell-item/index.esm.js +0 -1
  152. package/dist/nile-grid-cell-item/nile-grid-cell-item.cjs.js +0 -2
  153. package/dist/nile-grid-cell-item/nile-grid-cell-item.cjs.js.map +0 -1
  154. package/dist/nile-grid-cell-item/nile-grid-cell-item.css.cjs.js +0 -2
  155. package/dist/nile-grid-cell-item/nile-grid-cell-item.css.cjs.js.map +0 -1
  156. package/dist/nile-grid-cell-item/nile-grid-cell-item.css.esm.js +0 -35
  157. package/dist/nile-grid-cell-item/nile-grid-cell-item.esm.js +0 -12
  158. package/dist/nile-grid-cell-item/nile-grid-cell-item.utils.cjs.js +0 -2
  159. package/dist/nile-grid-cell-item/nile-grid-cell-item.utils.cjs.js.map +0 -1
  160. package/dist/nile-grid-cell-item/nile-grid-cell-item.utils.esm.js +0 -1
  161. package/dist/nile-grid-head/index.cjs.js +0 -2
  162. package/dist/nile-grid-head/index.cjs.js.map +0 -1
  163. package/dist/nile-grid-head/index.esm.js +0 -1
  164. package/dist/nile-grid-head/nile-grid-head.cjs.js +0 -2
  165. package/dist/nile-grid-head/nile-grid-head.cjs.js.map +0 -1
  166. package/dist/nile-grid-head/nile-grid-head.css.cjs.js +0 -2
  167. package/dist/nile-grid-head/nile-grid-head.css.cjs.js.map +0 -1
  168. package/dist/nile-grid-head/nile-grid-head.css.esm.js +0 -7
  169. package/dist/nile-grid-head/nile-grid-head.esm.js +0 -5
  170. package/dist/nile-grid-head-item/index.cjs.js +0 -2
  171. package/dist/nile-grid-head-item/index.cjs.js.map +0 -1
  172. package/dist/nile-grid-head-item/index.esm.js +0 -1
  173. package/dist/nile-grid-head-item/nile-grid-head-item.cjs.js +0 -2
  174. package/dist/nile-grid-head-item/nile-grid-head-item.cjs.js.map +0 -1
  175. package/dist/nile-grid-head-item/nile-grid-head-item.css.cjs.js +0 -2
  176. package/dist/nile-grid-head-item/nile-grid-head-item.css.cjs.js.map +0 -1
  177. package/dist/nile-grid-head-item/nile-grid-head-item.css.esm.js +0 -34
  178. package/dist/nile-grid-head-item/nile-grid-head-item.esm.js +0 -12
  179. package/dist/nile-grid-head-item/nile-grid-head-item.utils.cjs.js +0 -2
  180. package/dist/nile-grid-head-item/nile-grid-head-item.utils.cjs.js.map +0 -1
  181. package/dist/nile-grid-head-item/nile-grid-head-item.utils.esm.js +0 -1
  182. package/dist/nile-grid-row/index.cjs.js +0 -2
  183. package/dist/nile-grid-row/index.cjs.js.map +0 -1
  184. package/dist/nile-grid-row/index.esm.js +0 -1
  185. package/dist/nile-grid-row/nile-grid-row.cjs.js +0 -2
  186. package/dist/nile-grid-row/nile-grid-row.cjs.js.map +0 -1
  187. package/dist/nile-grid-row/nile-grid-row.css.cjs.js +0 -2
  188. package/dist/nile-grid-row/nile-grid-row.css.cjs.js.map +0 -1
  189. package/dist/nile-grid-row/nile-grid-row.css.esm.js +0 -15
  190. package/dist/nile-grid-row/nile-grid-row.esm.js +0 -7
  191. package/dist/nile-rich-text-editor/utils.cjs.js +0 -2
  192. package/dist/nile-rich-text-editor/utils.cjs.js.map +0 -1
  193. package/dist/nile-rich-text-editor/utils.esm.js +0 -1
  194. package/dist/nile-sidebar/index.cjs.js +0 -2
  195. package/dist/nile-sidebar/index.cjs.js.map +0 -1
  196. package/dist/nile-sidebar/index.esm.js +0 -75
  197. package/dist/nile-sidebar-menu/index.cjs.js +0 -2
  198. package/dist/nile-sidebar-menu/index.cjs.js.map +0 -1
  199. package/dist/nile-sidebar-menu/index.esm.js +0 -1
  200. package/dist/nile-sidebar-menu/nile-sidebar-menu.cjs.js +0 -2
  201. package/dist/nile-sidebar-menu/nile-sidebar-menu.cjs.js.map +0 -1
  202. package/dist/nile-sidebar-menu/nile-sidebar-menu.css.cjs.js +0 -2
  203. package/dist/nile-sidebar-menu/nile-sidebar-menu.css.cjs.js.map +0 -1
  204. package/dist/nile-sidebar-menu/nile-sidebar-menu.css.esm.js +0 -38
  205. package/dist/nile-sidebar-menu/nile-sidebar-menu.esm.js +0 -10
  206. package/dist/nile-sidebar-menu-items/index.cjs.js +0 -2
  207. package/dist/nile-sidebar-menu-items/index.cjs.js.map +0 -1
  208. package/dist/nile-sidebar-menu-items/index.esm.js +0 -1
  209. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.cjs.js +0 -2
  210. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.cjs.js.map +0 -1
  211. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.cjs.js +0 -2
  212. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.cjs.js.map +0 -1
  213. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.esm.js +0 -36
  214. package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.esm.js +0 -15
  215. package/dist/nile-sidebar-wrapper/index.cjs.js +0 -2
  216. package/dist/nile-sidebar-wrapper/index.cjs.js.map +0 -1
  217. package/dist/nile-sidebar-wrapper/index.esm.js +0 -1
  218. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.cjs.js +0 -2
  219. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.cjs.js.map +0 -1
  220. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.css.cjs.js +0 -2
  221. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.css.cjs.js.map +0 -1
  222. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.css.esm.js +0 -105
  223. package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.esm.js +0 -16
  224. package/dist/nile-virtual-select/group-manager.cjs.js +0 -2
  225. package/dist/nile-virtual-select/group-manager.cjs.js.map +0 -1
  226. package/dist/nile-virtual-select/group-manager.esm.js +0 -1
  227. package/dist/nile-virtual-select/temp_nile-virtual-select copy.cjs.js +0 -2
  228. package/dist/nile-virtual-select/temp_nile-virtual-select copy.cjs.js.map +0 -1
  229. package/dist/nile-virtual-select/temp_nile-virtual-select copy.esm.js +0 -231
  230. package/dist/scopedElementsWrapper-1bff26ef.cjs.js +0 -2
  231. package/dist/scopedElementsWrapper-1bff26ef.cjs.js.map +0 -1
  232. package/dist/scopedElementsWrapper-4c29be11.esm.js +0 -7
  233. package/dist/scopedElementsWrapper-a112fc73.cjs.js +0 -6
  234. package/dist/scopedElementsWrapper-a112fc73.cjs.js.map +0 -1
  235. package/dist/scopedElementsWrapper-c815042c.cjs.js +0 -2
  236. package/dist/scopedElementsWrapper-c815042c.cjs.js.map +0 -1
  237. package/dist/src/internal/portal-manager.d.ts +0 -53
  238. package/dist/src/internal/portal-manager.js +0 -196
  239. package/dist/src/internal/portal-manager.js.map +0 -1
  240. package/dist/src/internal/portal.d.ts +0 -60
  241. package/dist/src/internal/portal.js +0 -199
  242. package/dist/src/internal/portal.js.map +0 -1
  243. package/dist/src/internal/resizable-helper.d.ts +0 -59
  244. package/dist/src/internal/resizable-helper.js +0 -115
  245. package/dist/src/internal/resizable-helper.js.map +0 -1
  246. package/dist/src/internal/resizable-styles.d.ts +0 -16
  247. package/dist/src/internal/resizable-styles.js +0 -144
  248. package/dist/src/internal/resizable-styles.js.map +0 -1
  249. package/dist/src/internal/virtualizer-error-handler.d.ts +0 -30
  250. package/dist/src/internal/virtualizer-error-handler.js +0 -82
  251. package/dist/src/internal/virtualizer-error-handler.js.map +0 -1
  252. package/dist/src/lib/index.d.ts +0 -7
  253. package/dist/src/lib/index.js +0 -8
  254. package/dist/src/lib/index.js.map +0 -1
  255. package/dist/src/lib/virtualize.d.ts +0 -32
  256. package/dist/src/lib/virtualize.js +0 -105
  257. package/dist/src/lib/virtualize.js.map +0 -1
  258. package/dist/src/lib/virtualize.test.d.ts +0 -7
  259. package/dist/src/lib/virtualize.test.js +0 -57
  260. package/dist/src/lib/virtualize.test.js.map +0 -1
  261. package/dist/src/nile-badge/__snapshots__/nile-badge.test.snap.js +0 -17
  262. package/dist/src/nile-calendar/__snapshots__/nile-calendar.test.snap.js +0 -310
  263. package/dist/src/nile-card/__snapshots__/nile-card.test.snap.js +0 -34
  264. package/dist/src/nile-checkbox/__snapshots__/nile-checkbox.test.snap.js +0 -31
  265. package/dist/src/nile-code-editor/Old_theme copy.d.ts +0 -191
  266. package/dist/src/nile-code-editor/Old_theme copy.js +0 -193
  267. package/dist/src/nile-code-editor/Old_theme copy.js.map +0 -1
  268. package/dist/src/nile-code-editor/backup_nile-code-editor copy.d.ts +0 -0
  269. package/dist/src/nile-code-editor/backup_nile-code-editor copy.js +0 -675
  270. package/dist/src/nile-code-editor/backup_nile-code-editor copy.js.map +0 -1
  271. package/dist/src/nile-code-editor/theme copy.d.ts +0 -191
  272. package/dist/src/nile-code-editor/theme copy.js +0 -193
  273. package/dist/src/nile-code-editor/theme copy.js.map +0 -1
  274. package/dist/src/nile-grid/data-processor.d.ts +0 -37
  275. package/dist/src/nile-grid/data-processor.js +0 -122
  276. package/dist/src/nile-grid/data-processor.js.map +0 -1
  277. package/dist/src/nile-grid/event-handlers.d.ts +0 -35
  278. package/dist/src/nile-grid/event-handlers.js +0 -158
  279. package/dist/src/nile-grid/event-handlers.js.map +0 -1
  280. package/dist/src/nile-grid/nile-grid.types.d.ts +0 -3
  281. package/dist/src/nile-grid/nile-grid.types.js +0 -2
  282. package/dist/src/nile-grid/nile-grid.types.js.map +0 -1
  283. package/dist/src/nile-grid/renderer.d.ts +0 -8
  284. package/dist/src/nile-grid/renderer.js +0 -78
  285. package/dist/src/nile-grid/renderer.js.map +0 -1
  286. package/dist/src/nile-grid/resize-handler.d.ts +0 -4
  287. package/dist/src/nile-grid/resize-handler.js +0 -36
  288. package/dist/src/nile-grid/resize-handler.js.map +0 -1
  289. package/dist/src/nile-grid/types.d.ts +0 -32
  290. package/dist/src/nile-grid/types.js +0 -2
  291. package/dist/src/nile-grid/types.js.map +0 -1
  292. package/dist/src/nile-grid/utils.d.ts +0 -4
  293. package/dist/src/nile-grid/utils.js +0 -32
  294. package/dist/src/nile-grid/utils.js.map +0 -1
  295. package/dist/src/nile-grid-body/index.d.ts +0 -1
  296. package/dist/src/nile-grid-body/index.js +0 -2
  297. package/dist/src/nile-grid-body/index.js.map +0 -1
  298. package/dist/src/nile-grid-body/nile-grid-body.css.d.ts +0 -12
  299. package/dist/src/nile-grid-body/nile-grid-body.css.js +0 -22
  300. package/dist/src/nile-grid-body/nile-grid-body.css.js.map +0 -1
  301. package/dist/src/nile-grid-body/nile-grid-body.d.ts +0 -29
  302. package/dist/src/nile-grid-body/nile-grid-body.js +0 -43
  303. package/dist/src/nile-grid-body/nile-grid-body.js.map +0 -1
  304. package/dist/src/nile-grid-cell-item/index.d.ts +0 -1
  305. package/dist/src/nile-grid-cell-item/index.js +0 -2
  306. package/dist/src/nile-grid-cell-item/index.js.map +0 -1
  307. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.css.d.ts +0 -12
  308. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.css.js +0 -47
  309. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.css.js.map +0 -1
  310. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.d.ts +0 -36
  311. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.js +0 -93
  312. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.js.map +0 -1
  313. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.utils.d.ts +0 -10
  314. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.utils.js +0 -34
  315. package/dist/src/nile-grid-cell-item/nile-grid-cell-item.utils.js.map +0 -1
  316. package/dist/src/nile-grid-head/index.d.ts +0 -1
  317. package/dist/src/nile-grid-head/index.js +0 -2
  318. package/dist/src/nile-grid-head/index.js.map +0 -1
  319. package/dist/src/nile-grid-head/nile-grid-head.css.d.ts +0 -12
  320. package/dist/src/nile-grid-head/nile-grid-head.css.js +0 -19
  321. package/dist/src/nile-grid-head/nile-grid-head.css.js.map +0 -1
  322. package/dist/src/nile-grid-head/nile-grid-head.d.ts +0 -28
  323. package/dist/src/nile-grid-head/nile-grid-head.js +0 -41
  324. package/dist/src/nile-grid-head/nile-grid-head.js.map +0 -1
  325. package/dist/src/nile-grid-head-item/index.d.ts +0 -1
  326. package/dist/src/nile-grid-head-item/index.js +0 -2
  327. package/dist/src/nile-grid-head-item/index.js.map +0 -1
  328. package/dist/src/nile-grid-head-item/nile-grid-head-item.css.d.ts +0 -12
  329. package/dist/src/nile-grid-head-item/nile-grid-head-item.css.js +0 -46
  330. package/dist/src/nile-grid-head-item/nile-grid-head-item.css.js.map +0 -1
  331. package/dist/src/nile-grid-head-item/nile-grid-head-item.d.ts +0 -37
  332. package/dist/src/nile-grid-head-item/nile-grid-head-item.js +0 -100
  333. package/dist/src/nile-grid-head-item/nile-grid-head-item.js.map +0 -1
  334. package/dist/src/nile-grid-head-item/nile-grid-head-item.utils.d.ts +0 -10
  335. package/dist/src/nile-grid-head-item/nile-grid-head-item.utils.js +0 -34
  336. package/dist/src/nile-grid-head-item/nile-grid-head-item.utils.js.map +0 -1
  337. package/dist/src/nile-grid-row/index.d.ts +0 -1
  338. package/dist/src/nile-grid-row/index.js +0 -2
  339. package/dist/src/nile-grid-row/index.js.map +0 -1
  340. package/dist/src/nile-grid-row/nile-grid-row.css.d.ts +0 -12
  341. package/dist/src/nile-grid-row/nile-grid-row.css.js +0 -27
  342. package/dist/src/nile-grid-row/nile-grid-row.css.js.map +0 -1
  343. package/dist/src/nile-grid-row/nile-grid-row.d.ts +0 -29
  344. package/dist/src/nile-grid-row/nile-grid-row.js +0 -45
  345. package/dist/src/nile-grid-row/nile-grid-row.js.map +0 -1
  346. package/dist/src/nile-hero/__snapshots__/nile-hero.test.snap.js +0 -47
  347. package/dist/src/nile-icon/__snapshots__/nile-icon.test.snap.js +0 -16
  348. package/dist/src/nile-input/__snapshots__/nile-input.test.snap.js +0 -75
  349. package/dist/src/nile-menu/portal-manager.d.ts +0 -39
  350. package/dist/src/nile-menu/portal-manager.js +0 -340
  351. package/dist/src/nile-menu/portal-manager.js.map +0 -1
  352. package/dist/src/nile-menu/portal-utils.d.ts +0 -21
  353. package/dist/src/nile-menu/portal-utils.js +0 -128
  354. package/dist/src/nile-menu/portal-utils.js.map +0 -1
  355. package/dist/src/nile-popover/__snapshots__/nile-popover.test.snap.js +0 -22
  356. package/dist/src/nile-popover/popover-portal-handler.d.ts +0 -21
  357. package/dist/src/nile-popover/popover-portal-handler.js +0 -106
  358. package/dist/src/nile-popover/popover-portal-handler.js.map +0 -1
  359. package/dist/src/nile-portal-wrapper/index.d.ts +0 -1
  360. package/dist/src/nile-portal-wrapper/index.js +0 -2
  361. package/dist/src/nile-portal-wrapper/index.js.map +0 -1
  362. package/dist/src/nile-portal-wrapper/nile-portal-wrapper.d.ts +0 -47
  363. package/dist/src/nile-portal-wrapper/nile-portal-wrapper.js +0 -451
  364. package/dist/src/nile-portal-wrapper/nile-portal-wrapper.js.map +0 -1
  365. package/dist/src/nile-rich-text-editor/utils.d.ts +0 -13
  366. package/dist/src/nile-rich-text-editor/utils.js +0 -538
  367. package/dist/src/nile-rich-text-editor/utils.js.map +0 -1
  368. package/dist/src/nile-select/body-append-manager.d.ts +0 -90
  369. package/dist/src/nile-select/body-append-manager.js +0 -298
  370. package/dist/src/nile-select/body-append-manager.js.map +0 -1
  371. package/dist/src/nile-sidebar/index.d.ts +0 -28
  372. package/dist/src/nile-sidebar/index.js +0 -116
  373. package/dist/src/nile-sidebar/index.js.map +0 -1
  374. package/dist/src/nile-sidebar-menu/index.d.ts +0 -1
  375. package/dist/src/nile-sidebar-menu/index.js +0 -2
  376. package/dist/src/nile-sidebar-menu/index.js.map +0 -1
  377. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.css.d.ts +0 -12
  378. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.css.js +0 -47
  379. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.css.js.map +0 -1
  380. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.d.ts +0 -37
  381. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.js +0 -84
  382. package/dist/src/nile-sidebar-menu/nile-sidebar-menu.js.map +0 -1
  383. package/dist/src/nile-sidebar-menu-items/index.d.ts +0 -1
  384. package/dist/src/nile-sidebar-menu-items/index.js +0 -2
  385. package/dist/src/nile-sidebar-menu-items/index.js.map +0 -1
  386. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.d.ts +0 -12
  387. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.js +0 -45
  388. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.js.map +0 -1
  389. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.d.ts +0 -35
  390. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.js +0 -78
  391. package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.js.map +0 -1
  392. package/dist/src/nile-sidebar-wrapper/index.d.ts +0 -1
  393. package/dist/src/nile-sidebar-wrapper/index.js +0 -2
  394. package/dist/src/nile-sidebar-wrapper/index.js.map +0 -1
  395. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.css.d.ts +0 -12
  396. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.css.js +0 -114
  397. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.css.js.map +0 -1
  398. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.d.ts +0 -35
  399. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.js +0 -89
  400. package/dist/src/nile-sidebar-wrapper/nile-sidebar-wrapper.js.map +0 -1
  401. package/dist/src/nile-table-body/virtual-scroll-helper.d.ts +0 -9
  402. package/dist/src/nile-table-body/virtual-scroll-helper.js +0 -24
  403. package/dist/src/nile-table-body/virtual-scroll-helper.js.map +0 -1
  404. package/dist/src/nile-virtual-select/body-append-helper.d.ts +0 -16
  405. package/dist/src/nile-virtual-select/body-append-helper.js +0 -95
  406. package/dist/src/nile-virtual-select/body-append-helper.js.map +0 -1
  407. package/dist/src/nile-virtual-select/group-manager.d.ts +0 -32
  408. package/dist/src/nile-virtual-select/group-manager.js +0 -134
  409. package/dist/src/nile-virtual-select/group-manager.js.map +0 -1
  410. package/dist/src/nile-virtual-select/portal-utils.d.ts +0 -65
  411. package/dist/src/nile-virtual-select/portal-utils.js +0 -376
  412. package/dist/src/nile-virtual-select/portal-utils.js.map +0 -1
  413. package/dist/src/nile-virtual-select/temp_nile-virtual-select copy.d.ts +0 -273
  414. package/dist/src/nile-virtual-select/temp_nile-virtual-select copy.js +0 -1305
  415. package/dist/src/nile-virtual-select/temp_nile-virtual-select copy.js.map +0 -1
  416. package/dist/src/nile-virtual-select/virtualizer-error-handler.d.ts +0 -21
  417. package/dist/src/nile-virtual-select/virtualizer-error-handler.js +0 -56
  418. package/dist/src/nile-virtual-select/virtualizer-error-handler.js.map +0 -1
  419. package/dist/src/nile-virtual-select-disabled/index.d.ts +0 -1
  420. package/dist/src/nile-virtual-select-disabled/index.js +0 -2
  421. package/dist/src/nile-virtual-select-disabled/index.js.map +0 -1
  422. package/dist/src/nile-virtual-select-disabled/nile-virtual-select.css.d.ts +0 -12
  423. package/dist/src/nile-virtual-select-disabled/nile-virtual-select.css.js +0 -538
  424. package/dist/src/nile-virtual-select-disabled/nile-virtual-select.css.js.map +0 -1
  425. package/dist/src/nile-virtual-select-disabled/nile-virtual-select.d.ts +0 -299
  426. package/dist/src/nile-virtual-select-disabled/nile-virtual-select.js +0 -1441
  427. package/dist/src/nile-virtual-select-disabled/nile-virtual-select.js.map +0 -1
  428. package/dist/src/nile-virtual-select-disabled/nile-virtual-select.test.d.ts +0 -7
  429. package/dist/src/nile-virtual-select-disabled/nile-virtual-select.test.js +0 -631
  430. package/dist/src/nile-virtual-select-disabled/nile-virtual-select.test.js.map +0 -1
  431. package/dist/src/nile-virtual-select-disabled/portal-manager.d.ts +0 -45
  432. package/dist/src/nile-virtual-select-disabled/portal-manager.js +0 -333
  433. package/dist/src/nile-virtual-select-disabled/portal-manager.js.map +0 -1
  434. package/dist/src/nile-virtual-select-disabled/renderer.d.ts +0 -16
  435. package/dist/src/nile-virtual-select-disabled/renderer.js +0 -79
  436. package/dist/src/nile-virtual-select-disabled/renderer.js.map +0 -1
  437. package/dist/src/nile-virtual-select-disabled/search-manager.d.ts +0 -12
  438. package/dist/src/nile-virtual-select-disabled/search-manager.js +0 -40
  439. package/dist/src/nile-virtual-select-disabled/search-manager.js.map +0 -1
  440. package/dist/src/nile-virtual-select-disabled/selection-manager.d.ts +0 -12
  441. package/dist/src/nile-virtual-select-disabled/selection-manager.js +0 -64
  442. package/dist/src/nile-virtual-select-disabled/selection-manager.js.map +0 -1
  443. package/dist/src/nile-virtual-select-disabled/types.d.ts +0 -50
  444. package/dist/src/nile-virtual-select-disabled/types.js +0 -8
  445. package/dist/src/nile-virtual-select-disabled/types.js.map +0 -1
  446. package/dist/src/nile-virtual-table-body/index.d.ts +0 -2
  447. package/dist/src/nile-virtual-table-body/index.js +0 -3
  448. package/dist/src/nile-virtual-table-body/index.js.map +0 -1
  449. package/dist/src/nile-virtual-table-body/nile-virtual-table-body.css.d.ts +0 -1
  450. package/dist/src/nile-virtual-table-body/nile-virtual-table-body.css.js +0 -44
  451. package/dist/src/nile-virtual-table-body/nile-virtual-table-body.css.js.map +0 -1
  452. package/dist/src/nile-virtual-table-body/nile-virtual-table-body.d.ts +0 -50
  453. package/dist/src/nile-virtual-table-body/nile-virtual-table-body.js +0 -135
  454. package/dist/src/nile-virtual-table-body/nile-virtual-table-body.js.map +0 -1
  455. package/dist/src/nile-virtual-table-body/renderer.d.ts +0 -16
  456. package/dist/src/nile-virtual-table-body/renderer.js +0 -49
  457. package/dist/src/nile-virtual-table-body/renderer.js.map +0 -1
  458. package/dist/src/utilities/stepper-utils.d.ts +0 -71
  459. package/dist/src/utilities/stepper-utils.js +0 -108
  460. package/dist/src/utilities/stepper-utils.js.map +0 -1
package/README.md CHANGED
@@ -79,7 +79,11 @@ To run a local development server that serves the basic demo located in `demo/in
79
79
 
80
80
  In this section, you can find the updates for each release of `nile-elements`. It's a good practice to maintain detailed release notes to help users and developers understand what changes have been made from one version to another and how these changes might affect their projects.
81
81
 
82
- #### Version 1.3.4
82
+ #### Version 1.3.6
83
+ - Nile Input: Data type issue fix (UIF-870)
84
+ - Nile Grid: lockWidth property added (UIF-1019)
85
+
86
+ #### Version 1.3.5
83
87
  - Nile Floating Panel: New component added (UIF-1014)
84
88
  - Nile Date Picker: Added syncDatePicker feature to sync date between input and date picker (UIF-1018)
85
89
  - Nile Virtual Select: height issue fixed (UIF-1022)
package/demo/index.css CHANGED
@@ -1,4 +1,7 @@
1
1
  body {
2
+ justify-content: center;
3
+ align-items: center;
4
+ display: flex;
2
5
  height: 100vh;
3
6
  }
4
7
 
package/demo/index.html CHANGED
@@ -4,350 +4,42 @@
4
4
  <meta charset="utf-8" />
5
5
  <link rel="stylesheet" href="" id="stylesheet" />
6
6
  <script>
7
- const params = new URLSearchParams(window.location.search);
8
- const style = params.get('style') || 'variables.css';
9
- document.getElementById('stylesheet').href = style;
10
- </script>
7
+ const params = new URLSearchParams(window.location.search);
8
+ const style = params.get('style') || 'variables.css';
9
+ document.getElementById('stylesheet').href = style;
10
+ </script>
11
11
 
12
12
  <!-- <link rel="stylesheet" href="variables.css" id="stylesheet" /> -->
13
13
  <link rel="stylesheet" href="index.css" />
14
14
 
15
15
  <style>
16
- .container {
17
- width: 100%;
18
- height: auto;
19
- background-color: #f5f5f5;
20
- }
21
- .container-gray {
22
- width: 100%;
23
- height: auto;
24
- background-color: #d4d4d4;
25
- }
26
- .container-blue {
27
- width: 100%;
28
- height: auto;
29
- background-color: #e3f2fd;
30
- }
31
- .container-light-gray {
32
- width: 100%;
33
- height: auto;
34
- background-color: #f0f0f0;
35
- }
36
- .flex-container {
37
- display: flex;
38
- gap: 20px;
39
- flex-wrap: wrap;
40
- }
41
- .flex-item {
42
- flex: 1;
43
- min-width: 200px;
44
- }
45
- .inline-container {
46
- display: inline-block;
47
- }
16
+
48
17
  </style>
49
18
  <script type="module" src="index.js"></script>
50
- <script>
51
- // Panel control functions
52
- function openPanel(panelId) {
53
- const panel = document.getElementById(panelId);
54
- if (panel) {
55
- panel.open = true;
56
- }
57
- }
58
-
59
- function closePanel(panelId) {
60
- const panel = document.getElementById(panelId);
61
- if (panel) {
62
- panel.open = false;
63
- }
64
- }
65
- </script>
66
19
  </head>
67
- <body>
68
- <style>
69
- body {
70
- padding: 40px;
71
- font-family: sans-serif;
72
- }
73
- .demo-section {
74
- margin: 60px 0;
75
- padding: 40px;
76
- border: 2px dashed #ccc;
77
- border-radius: 8px;
78
- display: flex;
79
- justify-content: flex-start;
80
- }
81
- .demo-section h4 {
82
- margin-top: 0;
83
- color: #333;
84
- }
85
- .nested-container {
86
- padding: 30px;
87
- background: #f5f5f5;
88
- border-radius: 4px;
89
- margin: 20px 0;
90
- }
91
- .deeply-nested {
92
- padding: 20px;
93
- background: #e8e8e8;
94
- border-radius: 4px;
95
- margin: 15px;
96
- }
97
- .button-demo {
98
- padding: 10px 20px;
99
- background: #007bff;
100
- color: white;
101
- border: none;
102
- border-radius: 4px;
103
- cursor: pointer;
104
- margin: 5px;
105
- }
106
- .button-demo:hover {
107
- background: #0056b3;
108
- }
109
- .close-button {
110
- padding: 6px 12px;
111
- background: #dc3545;
112
- color: white;
113
- border: none;
114
- border-radius: 4px;
115
- cursor: pointer;
116
- margin-top: 10px;
117
- font-size: 12px;
118
- }
119
- .close-button:hover {
120
- background: #c82333;
121
- }
122
- #my-container {
123
- padding: 20px;
124
- background: #fff3cd;
125
- border: 2px solid #ffc107;
126
- border-radius: 4px;
127
- margin: 20px 0;
128
- }
129
- .trigger-button {
130
- padding: 10px 20px;
131
- background: #28a745;
132
- color: white;
133
- border: none;
134
- border-radius: 4px;
135
- cursor: pointer;
136
- margin: 5px;
137
- }
138
- .trigger-button:hover {
139
- background: #218838;
140
- }
141
- </style>
142
-
143
- <!-- Example 1: Basic - Position Right (Trigger after panel) -->
144
- <div class="demo-section">
145
- <h4>Example 1: Position Right (Trigger after panel - next sibling)</h4>
146
- <nile-floating-panel id="panel1" position="right" close-on-outside-click="false" enableVisibilityEffect="true">
147
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
148
- <p>This is a basic floating panel positioned to the right.</p>
149
- <nile-button onclick="closePanel('panel1')">Close</nile-button>
150
- </div>
151
- </nile-floating-panel>
152
- <nile-button onclick="openPanel('panel1')">Open Floating Panel</nile-button>
153
- </div>
154
-
155
- <!-- Example 2: Position Left (Trigger before panel) -->
156
- <div class="demo-section">
157
- <h4>Example 2: Position Left (Trigger before panel - previous sibling)</h4>
158
- <nile-button onclick="openPanel('panel2')">Open Floating Panel</nile-button>
159
- <nile-floating-panel id="panel2" position="left">
160
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
161
- <p>This panel is positioned to the left of the trigger.</p>
162
- <nile-button onclick="closePanel('panel2')">Close</nile-button>
163
- </div>
164
- </nile-floating-panel>
165
- </div>
166
-
167
- <!-- Example 3: Position Top -->
168
- <div class="demo-section">
169
- <h4>Example 3: Position Top</h4>
170
- <nile-floating-panel id="panel3" position="top">
171
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
172
- <p>This panel appears above the trigger.</p>
173
- <nile-button onclick="closePanel('panel3')">Close</nile-button>
174
- </div>
175
- </nile-floating-panel>
176
- <nile-button onclick="openPanel('panel3')">Open Floating Panel (Top)</nile-button>
177
- </div>
20
+ <body>
178
21
 
179
- <!-- Example 4: Position Bottom -->
180
- <div class="demo-section">
181
- <h4>Example 4: Position Bottom</h4>
182
- <nile-floating-panel id="panel4" position="bottom">
183
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
184
- <p>This panel appears below the trigger.</p>
185
- <nile-button onclick="closePanel('panel4')">Close</nile-button>
186
- </div>
187
- </nile-floating-panel>
188
- <nile-button onclick="openPanel('panel4')">Open Floating Panel (Bottom)</nile-button>
189
- </div>
190
22
 
191
- <!-- Example 5: Explicit Trigger Attribute (ID selector) -->
192
- <div class="demo-section">
193
- <h4>Example 5: Explicit Trigger (using trigger attribute with ID)</h4>
194
- <button id="trigger-btn-5" class="trigger-button">Trigger Button (ID)</button>
195
- <nile-floating-panel id="panel5" position="right" trigger="#trigger-btn-5">
196
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
197
- <p>This panel uses an explicit trigger attribute pointing to an element ID.</p>
198
- <nile-button onclick="closePanel('panel5')">Close</nile-button>
199
- </div>
200
- </nile-floating-panel>
201
- </div>
23
+
202
24
 
203
- <!-- Example 6: Explicit Trigger Attribute (Class selector) -->
204
- <div class="demo-section">
205
- <h4>Example 6: Explicit Trigger (using trigger attribute with class selector)</h4>
206
- <button class="trigger-button custom-trigger-6">Trigger Button (Class)</button>
207
- <nile-floating-panel id="panel6" position="left" trigger=".custom-trigger-6">
208
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
209
- <p>This panel uses a class selector for the trigger.</p>
210
- <nile-button onclick="closePanel('panel6')">Close</nile-button>
211
- </div>
212
- </nile-floating-panel>
213
- </div>
25
+
214
26
 
215
- <!-- Example 7: Multiple Panels -->
216
- <div class="demo-section">
217
- <h4>Example 7: Multiple Panels (Different positions)</h4>
218
- <div style="display: flex; gap: 10px; flex-wrap: wrap;">
219
- <nile-floating-panel id="panel7a" position="top">
220
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
221
- <p>Panel 7A - Top</p>
222
- <nile-button onclick="closePanel('panel7a')">Close</nile-button>
223
- </div>
224
- </nile-floating-panel>
225
- <nile-button onclick="openPanel('panel7a')">Top</nile-button>
27
+ <!-- <nile-input
28
+ type="password"
29
+ canSavePassword>
30
+ </nile-input>
31
+ -->
32
+
226
33
 
227
- <nile-floating-panel id="panel7b" position="right">
228
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
229
- <p>Panel 7B - Right</p>
230
- <nile-button onclick="closePanel('panel7b')">Close</nile-button>
231
- </div>
232
- </nile-floating-panel>
233
- <nile-button onclick="openPanel('panel7b')">Right</nile-button>
34
+ <nile-chip
35
+ autoCompleteOptions='["React", "Angular", "Vue", "Tailwind"]'
36
+ acceptUserInput
37
+ ></nile-chip>
234
38
 
235
- <nile-floating-panel id="panel7c" position="bottom">
236
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
237
- <p>Panel 7C - Bottom</p>
238
- <nile-button onclick="closePanel('panel7c')">Close</nile-button>
239
- </div>
240
- </nile-floating-panel>
241
- <nile-button onclick="openPanel('panel7c')">Bottom</nile-button>
242
39
 
243
- <nile-floating-panel id="panel7d" position="left">
244
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
245
- <p>Panel 7D - Left</p>
246
- <nile-button onclick="closePanel('panel7d')">Close</nile-button>
247
- </div>
248
- </nile-floating-panel>
249
- <nile-button onclick="openPanel('panel7d')">Left</nile-button>
250
- </div>
251
- </div>
40
+ <nile-button id="small-btn1">Small tooltip</nile-button>
41
+ <nile-lite-tooltip for="small-btn1" id="small-tooltip1" content="This is a small tooltip." size="small"></nile-lite-tooltip>
252
42
 
253
- <!-- Example 8: Nested Container -->
254
- <div class="demo-section">
255
- <h4>Example 8: Panel in Nested Container</h4>
256
- <div class="nested-container">
257
- <div class="deeply-nested">
258
- <nile-floating-panel id="panel8" position="right">
259
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
260
- <p>This panel is inside nested containers.</p>
261
- <nile-button onclick="closePanel('panel8')">Close</nile-button>
262
- </div>
263
- </nile-floating-panel>
264
- <nile-button onclick="openPanel('panel8')">Open Panel (Nested)</nile-button>
265
- </div>
266
- </div>
267
- </div>
268
43
 
269
- <!-- Example 9: Trigger Far Away (using explicit trigger) -->
270
- <div class="demo-section" id="remote-trigger-container">
271
- <h4>Example 9: Trigger Far Away (using explicit trigger attribute)</h4>
272
- <div style="display: flex; justify-content: space-between; align-items: center;">
273
- <button id="remote-trigger" class="trigger-button">Remote Trigger Button</button>
274
- <div style="width: 200px;"></div>
275
- <nile-floating-panel id="panel9" position="left" trigger="#remote-trigger">
276
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
277
- <p>This panel is positioned relative to a trigger that's far away.</p>
278
- <nile-button onclick="closePanel('panel9')">Close</nile-button>
279
- </div>
280
- </nile-floating-panel>
281
- </div>
282
- </div>
283
-
284
- <!-- Example 10: Custom Anchor -->
285
- <div class="demo-section">
286
- <h4>Example 10: Custom Anchor Container</h4>
287
- <div id="custom-anchor" style="padding: 20px; background: #fff3cd; border: 2px solid #ffc107; border-radius: 4px;">
288
- <nile-floating-panel id="panel10" position="right" anchor="#remote-trigger-container">
289
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
290
- <p>This panel is anchored to a custom container.</p>
291
- <nile-button onclick="closePanel('panel10')">Close</nile-button>
292
- </div>
293
- </nile-floating-panel>
294
- <nile-button onclick="openPanel('panel10')">Open Panel (Custom Anchor)</nile-button>
295
- </div>
296
- </div>
297
-
298
- <!-- Example 11: No Close on Outside Click -->
299
- <div class="demo-section">
300
- <h4>Example 11: Disabled Close on Outside Click</h4>
301
- <nile-floating-panel id="panel11" position="right" close-on-outside-click="false">
302
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
303
- <p>This panel won't close when clicking outside. You must use the close button.</p>
304
- <nile-button onclick="closePanel('panel11')">Close</nile-button>
305
- </div>
306
- </nile-floating-panel>
307
- <nile-button onclick="openPanel('panel11')">Open Panel (No Auto-Close)</nile-button>
308
- </div>
309
-
310
- <!-- Example 12: Edge Case - Text Node Between Elements -->
311
- <div class="demo-section">
312
- <h4>Example 12: Text Node Between Elements (should skip text nodes)</h4>
313
- <nile-floating-panel id="panel12" position="right">
314
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
315
- <p>Panel with text node between trigger.</p>
316
- <nile-button onclick="closePanel('panel12')">Close</nile-button>
317
- </div>
318
- </nile-floating-panel>
319
- <!-- This text node should be skipped -->
320
- Some text here
321
- <nile-button onclick="openPanel('panel12')">Open Panel</nile-button>
322
- </div>
323
-
324
- <!-- Example 13: Edge Case - Multiple Siblings -->
325
- <div class="demo-section">
326
- <h4>Example 13: Multiple Siblings (should use first valid sibling)</h4>
327
- <nile-floating-panel id="panel13" position="right">
328
- <div style="padding: 16px; background: white; border: 1px solid #ccc; border-radius: 4px;">
329
- <p>Panel with multiple siblings after it.</p>
330
- <nile-button onclick="closePanel('panel13')">Close</nile-button>
331
- </div>
332
- </nile-floating-panel>
333
- <span>Text node (should be skipped)</span>
334
- <nile-button onclick="openPanel('panel13')">First Button (Should be trigger)</nile-button>
335
- <nile-button onclick="openPanel('panel13')">Second Button (Should not be trigger)</nile-button>
336
- </div>
337
-
338
- <script>
339
- // Additional helper to demonstrate programmatic trigger setting
340
- window.addEventListener('DOMContentLoaded', () => {
341
- // Example of programmatically setting trigger (for framework integration demo)
342
- const panel14 = document.createElement('nile-floating-panel');
343
- panel14.id = 'panel14';
344
- panel14.position = 'right';
345
- const triggerBtn = document.getElementById('trigger-btn-5');
346
- if (triggerBtn && panel14) {
347
- // This demonstrates how frameworks can set trigger programmatically
348
- // panel14.trigger = triggerBtn; // Uncomment to test
349
- }
350
- });
351
- </script>
352
44
  </body>
353
- </html>
45
+ </html>
@@ -1,4 +1,4 @@
1
- System.register(["lit","lit/directives/unsafe-html.js","lit/html.js","lit/directive-helpers.js"],function(_export,_context){"use strict";var t,e,n,i,_templateObject,o,a,s,c,u,f,h,d,b,v,m,j,O,S,k,A,D,$,N,I,_;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _wrapRegExp(){_wrapRegExp=function _wrapRegExp(e,r){return new BabelRegExp(e,void 0,r);};var e=RegExp.prototype,r=new WeakMap();function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),_setPrototypeOf(o,BabelRegExp.prototype);}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce(function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]];}return r;},Object.create(null));}return _inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this));}return t;},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\$<([^>]+)>/g,function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t);}));}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,function(){var e=arguments;return"object"!=_typeof(e[e.length-1])&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e);});}return e[Symbol.replace].call(this,t,p);},_wrapRegExp.apply(this,arguments);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function r(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');}function l(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=e.ignoreAttributes?e.ignoreAttributes.filter(function(t){return"string"==typeof t;}):[],i=e.ignoreAttributes?e.ignoreAttributes.filter(function(t){return"string"!=typeof t;}):[],o=[].concat(_toConsumableArray(e.ignoreTags||[]),u),r=e.ignoreChildren||[],a=e.stripEmptyAttributes||f,s=/(&|")/g,c=function c(t){return"&"===t?"&amp;":"&quot;";};var l="",d=-1;var p=new Set(),w=new Set();function b(){return" ".repeat(d);}function v(t){return t instanceof Element?t.getAttribute("data-tag-name")||t.localName:t.nodeName.toLowerCase();}function m(t){var e=v(t);return!o.includes(e)&&!r.includes(e)&&!p.has(t);}function g(_ref){var t=_ref.name,e=_ref.value;return a.includes(t)&&""===e.trim();}function y(t,_ref2){var e=_ref2.name,n=_ref2.value;return g({name:e,value:n})?"":"class"===e?" class=\"".concat(function(t){return _toConsumableArray(t.classList.values()).sort().join(" ");}(t),"\""):" ".concat(e,"=\"").concat(n.replace(s,c),"\"");}var x=function x(t,e){return t.name.localeCompare(e.name);};function j(t){var e="";var o=Array.from(t.attributes).filter((r=function(t){return function(e){return!(!n.includes(e.name)&&!g(e)&&!i.find(function(n){if(!n.tags||!n.attributes)throw new Error("An object entry to ignoreAttributes should contain a 'tags' and an 'attributes' property.");return n.tags.includes(v(t))&&n.attributes.includes(e.name);}));};}(t),function(){return!r.apply(void 0,arguments);})).sort(x);var r;if(1===o.length)e=y(t,o[0]);else if(o.length>1){for(var _n2=0;_n2<o.length;_n2+=1)e+="\n".concat(b()," ").concat(y(t,o[_n2]));e+="\n".concat(b());}return e;}function E(t,e){var n;if("diff-container"!==v(t)&&!o.includes(v(t))&&!w.has(t))if(w.add(t),t instanceof Text)!function(t,e){var n="",i=t;for(;i&&i instanceof Text;)n+=i.nodeValue,i=e.nextSibling();i&&e.previousSibling(),n=n.trim(),""!==n&&(l+="".concat(b()).concat(n,"\n"));}(t,e);else{if(!(t instanceof Element))throw new Error("Unknown node type: ".concat(t));n=t,l+="".concat(b(),"<").concat(v(n)).concat(j(n),">\n");}}function O(t){var e;o.includes(v(t))||t instanceof Element&&("diff-container"===v(e=t)||h.includes(v(e))||(l+="".concat(b(),"</").concat(v(e),">\n")));}var S;if("string"==typeof t)S=document.createElement("diff-container"),S.innerHTML=t,d=-1;else{if(!(t instanceof Node))throw new Error("Cannot create diffable HTML from: ".concat(t));S=t,d=0;}var k=document.createTreeWalker(S,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null,!1);for(;k.currentNode;){var _t=k.currentNode;if(E(_t,k),m(_t)&&k.firstChild())d+=1;else{O(_t);if(!k.nextSibling()){d-=1;var _t2=k.parentNode();if(!_t2)break;p.add(_t2);}}}return l;}function p(t){return null!=t&&"object"==_typeof(t);}function w(_x,_x2,_x3){return _w.apply(this,arguments);}function _w(){_w=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(t,e,n){var i,_t4,_o2,_e6;return _regeneratorRuntime().wrap(function _callee6$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:if(!("string"!=typeof d)){_context7.next=2;break;}throw new Error("Unable to execute server commands in a browser not controlled by the test runner. Use the debug option from the watch menu to debug in a controlled browser.");case 2:_context7.prev=2;_context7.next=5;return _context["import"]("../../../../../../../../../__web-dev-server__web-socket.js");case 5:_t4=_context7.sent;i=_t4.sendMessageWaitForResponse;_context7.next=12;break;case 9:_context7.prev=9;_context7.t0=_context7["catch"](2);throw new Error("Could not setup web socket connection. Are you executing this test through Web Test Runner?");case 12:_context7.prev=12;_context7.next=15;return i({type:"wtr-command",sessionId:d,command:t,payload:e});case 15:_o2=_context7.sent;if(_o2.executed){_context7.next=18;break;}throw _e6=n?"Unknown command ".concat(t,". Add the ").concat(n," to your config."):"Unknown command ".concat(t,". Did you install a plugin to handle this command?"),new Error(_e6);case 18:return _context7.abrupt("return",_o2.result);case 21:_context7.prev=21;_context7.t1=_context7["catch"](12);throw new Error("Error while executing command ".concat(t).concat(e?" with payload ".concat(JSON.stringify(e)):"",": ").concat(_context7.t1.message));case 24:case"end":return _context7.stop();}},_callee6,null,[[2,9],[12,21]]);}));return _w.apply(this,arguments);}function g(){return _g.apply(this,arguments);}function _g(){_g=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){var _ref7,_ref7$cache,t,e,n,i,_args7=arguments;return _regeneratorRuntime().wrap(function _callee7$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:_ref7=_args7.length>0&&_args7[0]!==undefined?_args7[0]:{},_ref7$cache=_ref7.cache,t=_ref7$cache===void 0?!0:_ref7$cache;if(!(t&&v)){_context8.next=3;break;}return _context8.abrupt("return",v);case 3:_context8.next=5;return w("get-snapshots",void 0,"snapshotPlugin from @web/test-runner-commands");case 5:e=_context8.sent;if(!("string"!=typeof(e===null||e===void 0?void 0:e.content))){_context8.next=8;break;}throw new Error("Expected a result as string");case 8:n="".concat(function(t){return _toConsumableArray(t.matchAll(m)).forEach(function(_ref8){var e=_ref8.groups.content;t=t.replaceAll(e,encodeURIComponent(e));}),t;}(e.content),"/* ").concat(Math.random()," */");_context8.next=11;return function(specifier){return new Promise(function(r){return r(_context["import"](specifier));});}("data:text/javascript;charset=utf-8,".concat(n));case 11:i=_context8.sent;if(!(!i||!p(i.snapshots))){_context8.next=14;break;}throw new Error("Expected snapshot result to be a module that exports an object.");case 14:return _context8.abrupt("return",(v=i.snapshots,v));case 15:case"end":return _context8.stop();}},_callee7);}));return _g.apply(this,arguments);}function y(t){var e=[];var n;for(n="hook"===t.type?t.ctx.currentTest:t;n&&n.parent;)n.title&&e.push(n.title),n=n.parent;return e.reverse();}function x(){for(var _len=arguments.length,t=new Array(_len),_key=0;_key<_len;_key++){t[_key]=arguments[_key];}switch(t.length){case 2:{var _e=t[0],_n3=t[1];return{message:_e,options:_n3};}case 1:{var _n4=t[0];return(e=_n4)&&null!==e&&"object"==_typeof(e)&&("ignoreAttributes"in e||"ignoreTags"in e||"ignoreChildren"in e||"stripEmptyAttributes"in e)?{options:_n4}:{message:_n4};}default:return{};}var e;}function E(_x4,_x5){return _E.apply(this,arguments);}function _E(){_E=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(t,e){return _regeneratorRuntime().wrap(function _callee9$(_context10){while(1)switch(_context10.prev=_context10.next){case 0:_context10.t0=j;if(_context10.t0){_context10.next=4;break;}_context10.next=4;return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(){return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:if(!window.axe){_context9.next=4;break;}j=window.axe;_context9.next=13;break;case 4:if(!("function"!=typeof require)){_context9.next=12;break;}_context9.next=7;return _context["import"]("./axe.min-69d47269.cjs.js").then(function(t){return t.a;});case 7:if(window.axe){_context9.next=9;break;}throw new Error("Error importing axe-core/axe.min.js, are you using a bundler or build tool that doesnt handle es modules?");case 9:j=window.axe;_context9.next=13;break;case 12:j=require("axe-core/axe.min.js");case 13:case"end":return _context9.stop();}},_callee8);}))();case 4:return _context10.abrupt("return",new Promise(function(n,i){j.run(t,e,function(t,e){t?i(new Error(t)):n(e);});}));case 5:case"end":return _context10.stop();}},_callee9);}));return _E.apply(this,arguments);}function T(t){return new Promise(function(e){setTimeout(e,t);});}function M(t,e){return new Promise(function(n){t.addEventListener(e,function i(o){n(o),t.removeEventListener(e,i);});});}function q(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var _n$interval=n.interval,i=_n$interval===void 0?50:_n$interval,_n$timeout=n.timeout,o=_n$timeout===void 0?1e3:_n$timeout,_Error=new Error(),r=_Error.stack;return new Promise(function(n,a){var s;setTimeout(function(){clearTimeout(s);var t=new Error(e?"Timeout: ".concat(e):"waitUntil timed out after ".concat(o,"ms"));t.stack=r,a(t);},o),function(){var _e2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.prev=0;_context2.next=3;return t();case 3:if(!_context2.sent){_context2.next=7;break;}n();_context2.next=8;break;case 7:s=setTimeout(function(){e();},i);case 8:_context2.next=13;break;case 10:_context2.prev=10;_context2.t0=_context2["catch"](0);a(_context2.t0);case 13:case"end":return _context2.stop();}},_callee,null,[[0,10]]);}));function e(){return _e2.apply(this,arguments);}return e;}()();});}function P(_x13){return _P.apply(this,arguments);}function _P(){_P=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(t){var e,n;return _regeneratorRuntime().wrap(function _callee10$(_context11){while(1)switch(_context11.prev=_context11.next){case 0:e=!1,n=t&&t.updateComplete;_context11.t0=$(n);if(!_context11.t0){_context11.next=6;break;}_context11.next=5;return n;case 5:e=!0;case 6:n=!(!t||!t.componentOnReady)&&t.componentOnReady();_context11.t1=$(n);if(!_context11.t1){_context11.next=12;break;}_context11.next=11;return n;case 11:e=!0;case 12:_context11.t2=e;if(_context11.t2){_context11.next=16;break;}_context11.next=16;return new Promise(function(t){requestAnimationFrame(function(){return t();});});case 16:window.ShadyDOM&&"function"==typeof window.ShadyDOM.flush&&window.ShadyDOM.flush();return _context11.abrupt("return",t);case 18:case"end":return _context11.stop();}},_callee10);}));return _P.apply(this,arguments);}function F(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:document.createElement("div");return document.body.appendChild(t),N.push(t),t;}function L(){N&&N.forEach(function(t){document.body.removeChild(t);}),N.length=0;}function C(t){return i(t)||t instanceof Node||"number"==typeof t||"boolean"==typeof t||"string"==typeof t;}function R(t){return null!=(e=t)&&"function"==typeof e[Symbol.iterator]?_toConsumableArray(t).every(C):C(t);var e;}function U(_x14){return _U.apply(this,arguments);}function _U(){_U=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(t){var e,o,_Array$from$filter3,_Array$from$filter4,_t5,_args11=arguments;return _regeneratorRuntime().wrap(function _callee11$(_context12){while(1)switch(_context12.prev=_context12.next){case 0:e=_args11.length>1&&_args11[1]!==undefined?_args11[1]:{};_context12.t0=function(t){var _e$render;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o=arguments.length>2?arguments[2]:undefined;var r=F(e.parentNode);if(((_e$render=e.render)!==null&&_e$render!==void 0?_e$render:n)(e.scopedElements?o(t,e.scopedElements):t,r),i(t))return r.firstElementChild;var _Array$from$filter=Array.from(r.childNodes).filter(_),_Array$from$filter2=_slicedToArray(_Array$from$filter,1),a=_Array$from$filter2[0];return a;};_context12.t1=t;_context12.t2=e;if(!e.scopedElements){_context12.next=10;break;}_context12.next=7;return _context["import"]("./scopedElementsWrapper-5ea5834f.cjs.js").then(function(t){return t.getScopedElementsTemplate;});case 7:_context12.t3=_context12.sent;_context12.next=11;break;case 10:_context12.t3=void 0;case 11:_context12.t4=_context12.t3;o=(0,_context12.t0)(_context12.t1,_context12.t2,_context12.t4);_context12.next=15;return P(o);case 15:if(!e.scopedElements){_context12.next=20;break;}_Array$from$filter3=Array.from(o.shadowRoot.childNodes).filter(_),_Array$from$filter4=_slicedToArray(_Array$from$filter3,1),_t5=_Array$from$filter4[0];_context12.next=19;return P(_t5);case 19:return _context12.abrupt("return",_t5);case 20:return _context12.abrupt("return",o);case 21:case"end":return _context12.stop();}},_callee11);}));return _U.apply(this,arguments);}function W(_x15){return _W.apply(this,arguments);}function _W(){_W=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(n){var i,o,_args12=arguments;return _regeneratorRuntime().wrap(function _callee12$(_context13){while(1)switch(_context13.prev=_context13.next){case 0:i=_args12.length>1&&_args12[1]!==undefined?_args12[1]:{};if(!i.scopedElements){_context13.next=3;break;}return _context13.abrupt("return",U(t(_templateObject||(_templateObject=_taggedTemplateLiteral(["",""])),e(n)),i));case 3:o=function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=F(e.parentNode);return n.innerHTML=t,n.children[0];}(n,i);_context13.next=6;return P(o);case 6:return _context13.abrupt("return",o);case 7:case"end":return _context13.stop();}},_callee12);}));return _W.apply(this,arguments);}function z(_x16,_x17){return _z.apply(this,arguments);}function _z(){_z=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee13(t,e){return _regeneratorRuntime().wrap(function _callee13$(_context14){while(1)switch(_context14.prev=_context14.next){case 0:if(!("string"==typeof t)){_context14.next=2;break;}return _context14.abrupt("return",W(t,e));case 2:if(!(e!==null&&e!==void 0&&e.render||R(t))){_context14.next=4;break;}return _context14.abrupt("return",U(t,e));case 4:throw new Error("Invalid template provided - string or lit-html TemplateResult is supported");case 5:case"end":return _context14.stop();}},_callee13);}));return _z.apply(this,arguments);}_export({b:T,e:P,f:z,o:M,w:q});return{setters:[function(_lit){t=_lit.html;},function(_litDirectivesUnsafeHtmlJs){e=_litDirectivesUnsafeHtmlJs.unsafeHTML;},function(_litHtmlJs){n=_litHtmlJs.render;},function(_litDirectiveHelpersJs){i=_litDirectiveHelpersJs.isTemplateResult;}],execute:function execute(){o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};a=function t(e,n,i){function o(s,c){if(!n[s]){if(!e[s]){if(!c&&r)return r(s);if(a)return a(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u;}var f=n[s]={exports:{}};e[s][0].call(f.exports,function(t){return o(e[s][1][t]||t);},f,f.exports,t,e,n,i);}return n[s].exports;}for(var a=r,s=0;s<i.length;s++)o(i[s]);return o;}({1:[function(t,e,n){e.exports=t("./lib/chai");},{"./lib/chai":2}],2:[function(t,e,n){/*!
1
+ System.register(["lit","lit/directives/unsafe-html.js","lit/html.js","lit/directive-helpers.js"],function(_export,_context){"use strict";var t,e,n,i,_templateObject,o,a,s,c,u,f,h,d,b,v,m,j,O,S,k,A,D,$,N,I,_;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _wrapRegExp(){_wrapRegExp=function _wrapRegExp(e,r){return new BabelRegExp(e,void 0,r);};var e=RegExp.prototype,r=new WeakMap();function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),_setPrototypeOf(o,BabelRegExp.prototype);}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce(function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]];}return r;},Object.create(null));}return _inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this));}return t;},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\$<([^>]+)>/g,function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t);}));}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,function(){var e=arguments;return"object"!=_typeof(e[e.length-1])&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e);});}return e[Symbol.replace].call(this,t,p);},_wrapRegExp.apply(this,arguments);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function r(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');}function l(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=e.ignoreAttributes?e.ignoreAttributes.filter(function(t){return"string"==typeof t;}):[],i=e.ignoreAttributes?e.ignoreAttributes.filter(function(t){return"string"!=typeof t;}):[],o=[].concat(_toConsumableArray(e.ignoreTags||[]),u),r=e.ignoreChildren||[],a=e.stripEmptyAttributes||f,s=/(&|")/g,c=function c(t){return"&"===t?"&amp;":"&quot;";};var l="",d=-1;var p=new Set(),w=new Set();function b(){return" ".repeat(d);}function v(t){return t instanceof Element?t.getAttribute("data-tag-name")||t.localName:t.nodeName.toLowerCase();}function m(t){var e=v(t);return!o.includes(e)&&!r.includes(e)&&!p.has(t);}function g(_ref){var t=_ref.name,e=_ref.value;return a.includes(t)&&""===e.trim();}function y(t,_ref2){var e=_ref2.name,n=_ref2.value;return g({name:e,value:n})?"":"class"===e?" class=\"".concat(function(t){return _toConsumableArray(t.classList.values()).sort().join(" ");}(t),"\""):" ".concat(e,"=\"").concat(n.replace(s,c),"\"");}var x=function x(t,e){return t.name.localeCompare(e.name);};function j(t){var e="";var o=Array.from(t.attributes).filter((r=function(t){return function(e){return!(!n.includes(e.name)&&!g(e)&&!i.find(function(n){if(!n.tags||!n.attributes)throw new Error("An object entry to ignoreAttributes should contain a 'tags' and an 'attributes' property.");return n.tags.includes(v(t))&&n.attributes.includes(e.name);}));};}(t),function(){return!r.apply(void 0,arguments);})).sort(x);var r;if(1===o.length)e=y(t,o[0]);else if(o.length>1){for(var _n2=0;_n2<o.length;_n2+=1)e+="\n".concat(b()," ").concat(y(t,o[_n2]));e+="\n".concat(b());}return e;}function E(t,e){var n;if("diff-container"!==v(t)&&!o.includes(v(t))&&!w.has(t))if(w.add(t),t instanceof Text)!function(t,e){var n="",i=t;for(;i&&i instanceof Text;)n+=i.nodeValue,i=e.nextSibling();i&&e.previousSibling(),n=n.trim(),""!==n&&(l+="".concat(b()).concat(n,"\n"));}(t,e);else{if(!(t instanceof Element))throw new Error("Unknown node type: ".concat(t));n=t,l+="".concat(b(),"<").concat(v(n)).concat(j(n),">\n");}}function O(t){var e;o.includes(v(t))||t instanceof Element&&("diff-container"===v(e=t)||h.includes(v(e))||(l+="".concat(b(),"</").concat(v(e),">\n")));}var S;if("string"==typeof t)S=document.createElement("diff-container"),S.innerHTML=t,d=-1;else{if(!(t instanceof Node))throw new Error("Cannot create diffable HTML from: ".concat(t));S=t,d=0;}var k=document.createTreeWalker(S,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null,!1);for(;k.currentNode;){var _t=k.currentNode;if(E(_t,k),m(_t)&&k.firstChild())d+=1;else{O(_t);if(!k.nextSibling()){d-=1;var _t2=k.parentNode();if(!_t2)break;p.add(_t2);}}}return l;}function p(t){return null!=t&&"object"==_typeof(t);}function w(_x,_x2,_x3){return _w.apply(this,arguments);}function _w(){_w=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(t,e,n){var i,_t4,_o2,_e6;return _regeneratorRuntime().wrap(function _callee6$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:if(!("string"!=typeof d)){_context7.next=2;break;}throw new Error("Unable to execute server commands in a browser not controlled by the test runner. Use the debug option from the watch menu to debug in a controlled browser.");case 2:_context7.prev=2;_context7.next=5;return _context["import"]("../../../../../../../../__web-dev-server__web-socket.js");case 5:_t4=_context7.sent;i=_t4.sendMessageWaitForResponse;_context7.next=12;break;case 9:_context7.prev=9;_context7.t0=_context7["catch"](2);throw new Error("Could not setup web socket connection. Are you executing this test through Web Test Runner?");case 12:_context7.prev=12;_context7.next=15;return i({type:"wtr-command",sessionId:d,command:t,payload:e});case 15:_o2=_context7.sent;if(_o2.executed){_context7.next=18;break;}throw _e6=n?"Unknown command ".concat(t,". Add the ").concat(n," to your config."):"Unknown command ".concat(t,". Did you install a plugin to handle this command?"),new Error(_e6);case 18:return _context7.abrupt("return",_o2.result);case 21:_context7.prev=21;_context7.t1=_context7["catch"](12);throw new Error("Error while executing command ".concat(t).concat(e?" with payload ".concat(JSON.stringify(e)):"",": ").concat(_context7.t1.message));case 24:case"end":return _context7.stop();}},_callee6,null,[[2,9],[12,21]]);}));return _w.apply(this,arguments);}function g(){return _g.apply(this,arguments);}function _g(){_g=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(){var _ref7,_ref7$cache,t,e,n,i,_args7=arguments;return _regeneratorRuntime().wrap(function _callee7$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:_ref7=_args7.length>0&&_args7[0]!==undefined?_args7[0]:{},_ref7$cache=_ref7.cache,t=_ref7$cache===void 0?!0:_ref7$cache;if(!(t&&v)){_context8.next=3;break;}return _context8.abrupt("return",v);case 3:_context8.next=5;return w("get-snapshots",void 0,"snapshotPlugin from @web/test-runner-commands");case 5:e=_context8.sent;if(!("string"!=typeof(e===null||e===void 0?void 0:e.content))){_context8.next=8;break;}throw new Error("Expected a result as string");case 8:n="".concat(function(t){return _toConsumableArray(t.matchAll(m)).forEach(function(_ref8){var e=_ref8.groups.content;t=t.replaceAll(e,encodeURIComponent(e));}),t;}(e.content),"/* ").concat(Math.random()," */");_context8.next=11;return function(specifier){return new Promise(function(r){return r(_context["import"](specifier));});}("data:text/javascript;charset=utf-8,".concat(n));case 11:i=_context8.sent;if(!(!i||!p(i.snapshots))){_context8.next=14;break;}throw new Error("Expected snapshot result to be a module that exports an object.");case 14:return _context8.abrupt("return",(v=i.snapshots,v));case 15:case"end":return _context8.stop();}},_callee7);}));return _g.apply(this,arguments);}function y(t){var e=[];var n;for(n="hook"===t.type?t.ctx.currentTest:t;n&&n.parent;)n.title&&e.push(n.title),n=n.parent;return e.reverse();}function x(){for(var _len=arguments.length,t=new Array(_len),_key=0;_key<_len;_key++){t[_key]=arguments[_key];}switch(t.length){case 2:{var _e=t[0],_n3=t[1];return{message:_e,options:_n3};}case 1:{var _n4=t[0];return(e=_n4)&&null!==e&&"object"==_typeof(e)&&("ignoreAttributes"in e||"ignoreTags"in e||"ignoreChildren"in e||"stripEmptyAttributes"in e)?{options:_n4}:{message:_n4};}default:return{};}var e;}function E(_x4,_x5){return _E.apply(this,arguments);}function _E(){_E=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(t,e){return _regeneratorRuntime().wrap(function _callee9$(_context10){while(1)switch(_context10.prev=_context10.next){case 0:_context10.t0=j;if(_context10.t0){_context10.next=4;break;}_context10.next=4;return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(){return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:if(!window.axe){_context9.next=4;break;}j=window.axe;_context9.next=13;break;case 4:if(!("function"!=typeof require)){_context9.next=12;break;}_context9.next=7;return _context["import"]("./axe.min-69d47269.cjs.js").then(function(t){return t.a;});case 7:if(window.axe){_context9.next=9;break;}throw new Error("Error importing axe-core/axe.min.js, are you using a bundler or build tool that doesnt handle es modules?");case 9:j=window.axe;_context9.next=13;break;case 12:j=require("axe-core/axe.min.js");case 13:case"end":return _context9.stop();}},_callee8);}))();case 4:return _context10.abrupt("return",new Promise(function(n,i){j.run(t,e,function(t,e){t?i(new Error(t)):n(e);});}));case 5:case"end":return _context10.stop();}},_callee9);}));return _E.apply(this,arguments);}function T(t){return new Promise(function(e){setTimeout(e,t);});}function M(t,e){return new Promise(function(n){t.addEventListener(e,function i(o){n(o),t.removeEventListener(e,i);});});}function q(t,e){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var _n$interval=n.interval,i=_n$interval===void 0?50:_n$interval,_n$timeout=n.timeout,o=_n$timeout===void 0?1e3:_n$timeout,_Error=new Error(),r=_Error.stack;return new Promise(function(n,a){var s;setTimeout(function(){clearTimeout(s);var t=new Error(e?"Timeout: ".concat(e):"waitUntil timed out after ".concat(o,"ms"));t.stack=r,a(t);},o),function(){var _e2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.prev=0;_context2.next=3;return t();case 3:if(!_context2.sent){_context2.next=7;break;}n();_context2.next=8;break;case 7:s=setTimeout(function(){e();},i);case 8:_context2.next=13;break;case 10:_context2.prev=10;_context2.t0=_context2["catch"](0);a(_context2.t0);case 13:case"end":return _context2.stop();}},_callee,null,[[0,10]]);}));function e(){return _e2.apply(this,arguments);}return e;}()();});}function P(_x13){return _P.apply(this,arguments);}function _P(){_P=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(t){var e,n;return _regeneratorRuntime().wrap(function _callee10$(_context11){while(1)switch(_context11.prev=_context11.next){case 0:e=!1,n=t&&t.updateComplete;_context11.t0=$(n);if(!_context11.t0){_context11.next=6;break;}_context11.next=5;return n;case 5:e=!0;case 6:n=!(!t||!t.componentOnReady)&&t.componentOnReady();_context11.t1=$(n);if(!_context11.t1){_context11.next=12;break;}_context11.next=11;return n;case 11:e=!0;case 12:_context11.t2=e;if(_context11.t2){_context11.next=16;break;}_context11.next=16;return new Promise(function(t){requestAnimationFrame(function(){return t();});});case 16:window.ShadyDOM&&"function"==typeof window.ShadyDOM.flush&&window.ShadyDOM.flush();return _context11.abrupt("return",t);case 18:case"end":return _context11.stop();}},_callee10);}));return _P.apply(this,arguments);}function F(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:document.createElement("div");return document.body.appendChild(t),N.push(t),t;}function L(){N&&N.forEach(function(t){document.body.removeChild(t);}),N.length=0;}function C(t){return i(t)||t instanceof Node||"number"==typeof t||"boolean"==typeof t||"string"==typeof t;}function R(t){return null!=(e=t)&&"function"==typeof e[Symbol.iterator]?_toConsumableArray(t).every(C):C(t);var e;}function U(_x14){return _U.apply(this,arguments);}function _U(){_U=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(t){var e,o,_Array$from$filter3,_Array$from$filter4,_t5,_args11=arguments;return _regeneratorRuntime().wrap(function _callee11$(_context12){while(1)switch(_context12.prev=_context12.next){case 0:e=_args11.length>1&&_args11[1]!==undefined?_args11[1]:{};_context12.t0=function(t){var _e$render;var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var o=arguments.length>2?arguments[2]:undefined;var r=F(e.parentNode);if(((_e$render=e.render)!==null&&_e$render!==void 0?_e$render:n)(e.scopedElements?o(t,e.scopedElements):t,r),i(t))return r.firstElementChild;var _Array$from$filter=Array.from(r.childNodes).filter(_),_Array$from$filter2=_slicedToArray(_Array$from$filter,1),a=_Array$from$filter2[0];return a;};_context12.t1=t;_context12.t2=e;if(!e.scopedElements){_context12.next=10;break;}_context12.next=7;return _context["import"]("./scopedElementsWrapper-5ea5834f.cjs.js").then(function(t){return t.getScopedElementsTemplate;});case 7:_context12.t3=_context12.sent;_context12.next=11;break;case 10:_context12.t3=void 0;case 11:_context12.t4=_context12.t3;o=(0,_context12.t0)(_context12.t1,_context12.t2,_context12.t4);_context12.next=15;return P(o);case 15:if(!e.scopedElements){_context12.next=20;break;}_Array$from$filter3=Array.from(o.shadowRoot.childNodes).filter(_),_Array$from$filter4=_slicedToArray(_Array$from$filter3,1),_t5=_Array$from$filter4[0];_context12.next=19;return P(_t5);case 19:return _context12.abrupt("return",_t5);case 20:return _context12.abrupt("return",o);case 21:case"end":return _context12.stop();}},_callee11);}));return _U.apply(this,arguments);}function W(_x15){return _W.apply(this,arguments);}function _W(){_W=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(n){var i,o,_args12=arguments;return _regeneratorRuntime().wrap(function _callee12$(_context13){while(1)switch(_context13.prev=_context13.next){case 0:i=_args12.length>1&&_args12[1]!==undefined?_args12[1]:{};if(!i.scopedElements){_context13.next=3;break;}return _context13.abrupt("return",U(t(_templateObject||(_templateObject=_taggedTemplateLiteral(["",""])),e(n)),i));case 3:o=function(t){var e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=F(e.parentNode);return n.innerHTML=t,n.children[0];}(n,i);_context13.next=6;return P(o);case 6:return _context13.abrupt("return",o);case 7:case"end":return _context13.stop();}},_callee12);}));return _W.apply(this,arguments);}function z(_x16,_x17){return _z.apply(this,arguments);}function _z(){_z=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee13(t,e){return _regeneratorRuntime().wrap(function _callee13$(_context14){while(1)switch(_context14.prev=_context14.next){case 0:if(!("string"==typeof t)){_context14.next=2;break;}return _context14.abrupt("return",W(t,e));case 2:if(!(e!==null&&e!==void 0&&e.render||R(t))){_context14.next=4;break;}return _context14.abrupt("return",U(t,e));case 4:throw new Error("Invalid template provided - string or lit-html TemplateResult is supported");case 5:case"end":return _context14.stop();}},_callee13);}));return _z.apply(this,arguments);}_export({b:T,e:P,f:z,o:M,w:q});return{setters:[function(_lit){t=_lit.html;},function(_litDirectivesUnsafeHtmlJs){e=_litDirectivesUnsafeHtmlJs.unsafeHTML;},function(_litHtmlJs){n=_litHtmlJs.render;},function(_litDirectiveHelpersJs){i=_litDirectiveHelpersJs.isTemplateResult;}],execute:function execute(){o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};a=function t(e,n,i){function o(s,c){if(!n[s]){if(!e[s]){if(!c&&r)return r(s);if(a)return a(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u;}var f=n[s]={exports:{}};e[s][0].call(f.exports,function(t){return o(e[s][1][t]||t);},f,f.exports,t,e,n,i);}return n[s].exports;}for(var a=r,s=0;s<i.length;s++)o(i[s]);return o;}({1:[function(t,e,n){e.exports=t("./lib/chai");},{"./lib/chai":2}],2:[function(t,e,n){/*!
2
2
  * chai
3
3
  * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
4
4
  * MIT Licensed
@@ -392,4 +392,4 @@ System.register(["lit","lit/directives/unsafe-html.js","lit/html.js","lit/direct
392
392
  * @param {Object} target
393
393
  * @returns {Array} an array of own and inherited enumerable keys from the target.
394
394
  */function w(t){var e=[];for(var n in t)e.push(n);return e;}function b(t){return null===t||"object"!=_typeof(t);}e.exports=c,e.exports.MemoizeMap=r;},{"type-detect":39}],37:[function(t,e,n){var i=Function.prototype.toString,o=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;e.exports=function(t){if("function"!=typeof t)return null;var e="";if(void 0===Function.prototype.name&&void 0===t.name){var n=i.call(t).match(o);n&&(e=n[1]);}else e=t.name;return e;};},{}],38:[function(t,e,n){function i(t,e){return null!=t&&e in Object(t);}function o(t){return t.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(function(t){if("constructor"===t||"__proto__"===t||"prototype"===t)return{};var e=/^\[(\d+)\]$/.exec(t);return e?{i:parseFloat(e[1])}:{p:t.replace(/\\([.[\]])/g,"$1")};});}function r(t,e,n){var i=t,o=null;n=void 0===n?e.length:n;for(var r=0;r<n;r++){var a=e[r];i&&(i=void 0===a.p?i[a.i]:i[a.p],r===n-1&&(o=i));}return o;}function a(t,e){var n=o(e),a=n[n.length-1],s={parent:n.length>1?r(t,n,n.length-1):t,name:a.p||a.i,value:r(t,n)};return s.exists=i(s.parent,s.name),s;}e.exports={hasProperty:i,getPathInfo:a,getPathValue:function getPathValue(t,e){return a(t,e).value;},setPathValue:function setPathValue(t,e,n){return function(t,e,n){for(var i=t,o=n.length,r=null,a=0;a<o;a++){var s=null,c=null;if(r=n[a],a===o-1)i[s=void 0===r.p?r.i:r.p]=e;else if(void 0!==r.p&&i[r.p])i=i[r.p];else if(void 0!==r.i&&i[r.i])i=i[r.i];else{var u=n[a+1];s=void 0===r.p?r.i:r.p,c=void 0===u.p?[]:{},i[s]=c,i=i[s];}}}(t,n,o(e)),t;}};},{}],39:[function(t,e,n){!function(t,i){"object"==_typeof(n)&&void 0!==e?e.exports=i():t.typeDetect=i();}(this,function(){var t="function"==typeof Promise,e="object"==(typeof self==="undefined"?"undefined":_typeof(self))?self:o,n="undefined"!=typeof Symbol,i="undefined"!=typeof Map,r="undefined"!=typeof Set,a="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,c="undefined"!=typeof DataView,u=n&&void 0!==Symbol.iterator,f=n&&void 0!==Symbol.toStringTag,h=r&&"function"==typeof Set.prototype.entries,l=i&&"function"==typeof Map.prototype.entries,d=h&&Object.getPrototypeOf(new Set().entries()),p=l&&Object.getPrototypeOf(new Map().entries()),w=u&&"function"==typeof Array.prototype[Symbol.iterator],b=w&&Object.getPrototypeOf([][Symbol.iterator]()),v=u&&"function"==typeof String.prototype[Symbol.iterator],m=v&&Object.getPrototypeOf(""[Symbol.iterator]());return function(n){var o=_typeof(n);if("object"!==o)return o;if(null===n)return"null";if(n===e)return"global";if(Array.isArray(n)&&(!1===f||!(Symbol.toStringTag in n)))return"Array";if("object"==(typeof window==="undefined"?"undefined":_typeof(window))&&null!==window){if("object"==_typeof(window.location)&&n===window.location)return"Location";if("object"==_typeof(window.document)&&n===window.document)return"Document";if("object"==_typeof(window.navigator)){if("object"==_typeof(window.navigator.mimeTypes)&&n===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==_typeof(window.navigator.plugins)&&n===window.navigator.plugins)return"PluginArray";}if(("function"==typeof window.HTMLElement||"object"==_typeof(window.HTMLElement))&&n instanceof window.HTMLElement){if("BLOCKQUOTE"===n.tagName)return"HTMLQuoteElement";if("TD"===n.tagName)return"HTMLTableDataCellElement";if("TH"===n.tagName)return"HTMLTableHeaderCellElement";}}var u=f&&n[Symbol.toStringTag];if("string"==typeof u)return u;var h=Object.getPrototypeOf(n);return h===RegExp.prototype?"RegExp":h===Date.prototype?"Date":t&&h===Promise.prototype?"Promise":r&&h===Set.prototype?"Set":i&&h===Map.prototype?"Map":s&&h===WeakSet.prototype?"WeakSet":a&&h===WeakMap.prototype?"WeakMap":c&&h===DataView.prototype?"DataView":i&&h===p?"Map Iterator":r&&h===d?"Set Iterator":w&&h===b?"Array Iterator":v&&h===m?"String Iterator":null===h?"Object":Object.prototype.toString.call(n).slice(8,-1);};});},{}]},{},[1])(1);a.version,a.AssertionError,a.use,a.util,a.config,a.Assertion;_export("a",s=a.expect);a.should,a.Should;_export("h",c=a.assert);u=["script","style","svg"],f=["class","id"],h=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];d=new URL(window.location.href).searchParams.get("wtr-session-id");m=/*#__PURE__*/_wrapRegExp(/snapshots\[[^\]]+] = (\n)?(`[^`]*`)/gm,{content:2});S={};O={get exports(){return S;},set exports(t){S=t;}},function(t){O.exports=t;}(function(t,e){var n=e.flag,_i=function i(t){var e;return a(t)?0===t.length?"empty NodeList":(e=Array.prototype.slice.call(t,0,5).map(_i).join(", "),t.length>5?e+"... (+"+(t.length-5)+" more)":e):r(t)?(e=t.tagName.toLowerCase(),t.id&&(e+="#"+t.id),t.className&&(e+="."+String(t.className).replace(/\s+/g,".")),Array.prototype.forEach.call(t.attributes,function(t){"class"!==t.name&&"id"!==t.name&&(e+="["+t.name+(t.value?'="'+t.value+'"]':"]"));}),e):String(t);},o=function o(t,_o){var r=n(this,"object"),a=r.getAttribute(t);n(this,"negate")&&void 0!==_o||this.assert(!!r.attributes[t],"expected "+_i(r)+" to have an attribute #{exp}","expected "+_i(r)+" not to have an attribute #{exp}",t),void 0!==_o&&this.assert(_o===a,"expected "+_i(r)+" to have an attribute "+e.inspect(t)+" with the value #{exp}, but the value was #{act}","expected "+_i(r)+" not to have an attribute "+e.inspect(t)+" with the value #{act}",_o,a),n(this,"object",a);},r=function r(t){return 1===t.nodeType;},a=function a(t){return"[object NodeList]"===Object.prototype.toString.call(t);};e.elToString=_i,t.Assertion.addMethod("attr",o),t.Assertion.addMethod("attribute",o),t.Assertion.addMethod("class",function(t){var e=n(this,"object");if(t instanceof RegExp)return this.assert(Array.from(e.classList).some(function(e){return t.test(e);}),"expected "+_i(e)+" to have class matching #{exp}","expected "+_i(e)+" not to have class matching #{exp}",t);this.assert(e.classList.contains(t),"expected "+_i(e)+" to have class #{exp}","expected "+_i(e)+" not to have class #{exp}",t);}),t.Assertion.addMethod("id",function(t){var e=n(this,"object");this.assert(e.id==t,"expected "+_i(e)+" to have id #{exp}","expected "+_i(e)+" not to have id #{exp}",t);}),t.Assertion.addMethod("html",function(t){var e=n(this,"object"),o=n(this,"object").innerHTML;n(this,"contains")?this.assert(o.indexOf(t)>=0,"expected #{act} to contain HTML #{exp}","expected #{act} not to contain HTML #{exp}",t,o):this.assert(o===t,"expected "+_i(e)+" to have HTML #{exp}, but the HTML was #{act}","expected "+_i(e)+" not to have HTML #{exp}",t,o);}),t.Assertion.addChainableMethod("trimmed",null,function(){n(this,"trim-text",!0);}),t.Assertion.addProperty("rendered",function(){n(this,"rendered-text",!0);}),t.Assertion.addMethod("text",function(t){var o,r,s=n(this,"object"),c=n(this,"contains"),u=n(this,"trim-text"),f=n(this,"rendered-text")?"innerText":"textContent";a(s)?(o=Array.prototype.map.call(s,function(t){return u?t[f].trim():t[f];}),Array.isArray(t)?(r=c?t[n(this,"negate")?"some":"every"](function(t){return Array.prototype.some.call(s,function(e){return(u?e[f].trim():e[f])===t;});}):e.eql(o,t),o=o.join(),t=t.join()):(o=o.join(""),r=c?o.indexOf(t)>=0:o===t)):(o=u?s[f].trim():s[f],r=c?o.indexOf(t)>=0:o===t);var h=_i(s),l="";u&&(l+="trimmed "),n(this,"rendered-text")&&(l+="rendered "),l+="text",c?this.assert(r,"expected "+h+" to contain #{exp}, but the "+l+" was #{act}","expected "+h+" not to contain #{exp}, but the "+l+" was #{act}",t,o):this.assert(r,"expected "+h+" to have "+l+" #{exp}, but the "+l+" was #{act}","expected "+h+" not to have "+l+" #{exp}",t,o);}),t.Assertion.addMethod("value",function(t){var e=n(this,"object"),o=n(this,"object").value;this.assert(n(this,"object").value===t,"expected "+_i(e)+" to have value #{exp}, but the value was #{act}","expected "+_i(e)+" not to have value #{exp}",t,o);}),t.Assertion.overwriteProperty("exist",function(t){return function(){var e=n(this,"object");a(e)?this.assert(e.length>0,"expected an empty NodeList to have nodes","expected "+_i(e)+" to not exist"):t.apply(this,arguments);};}),t.Assertion.overwriteProperty("empty",function(t){return function(){var e=n(this,"object");r(e)?this.assert(0===e.children.length,"expected "+_i(e)+" to be empty","expected "+_i(e)+" to not be empty"):a(e)?this.assert(0===e.length,"expected "+_i(e)+" to be empty","expected "+_i(e)+" to not be empty"):t.apply(this,arguments);};}),t.Assertion.overwriteChainableMethod("length",function(t){return function(e){var o=n(this,"object");if(a(o)||r(o)){var s=o.children?o.children.length:o.length;this.assert(s===e,"expected "+_i(o)+" to have #{exp} children but it had #{act} children","expected "+_i(o)+" to not have #{exp} children",e,s);}else t.apply(this,arguments);};},function(t){return function(){t.call(this);};}),t.Assertion.overwriteMethod("match",function(t){return function(e){var o=n(this,"object");r(o)?this.assert(o.matches(e),"expected "+_i(o)+" to match #{exp}","expected "+_i(o)+" to not match #{exp}",e):a(o)?this.assert(!!o.length&&Array.prototype.every.call(o,function(t){return t.matches(e);}),"expected "+_i(o)+" to match #{exp}","expected "+_i(o)+" to not match #{exp}",e):t.apply(this,arguments);};}),t.Assertion.overwriteChainableMethod("contain",function(t){return function(e){var o=n(this,"object");r(o)?"string"==typeof e?this.assert(!!o.querySelector(e),"expected "+_i(o)+" to contain #{exp}","expected "+_i(o)+" to not contain #{exp}",e):this.assert(o.contains(e),"expected "+_i(o)+" to contain "+_i(e),"expected "+_i(o)+" to not contain "+_i(e)):t.apply(this,arguments);};},function(t){return function(){t.call(this);};}),t.Assertion.addMethod("descendant",function(t){var e=n(this,"object"),o=t;"string"==typeof t?(o=e.querySelector(t),this.assert(!!o,"expected "+_i(e)+" to have descendant #{exp}","expected "+_i(e)+" to not have descendant #{exp}",t)):this.assert(e.contains(t),"expected "+_i(e)+" to contain "+_i(t),"expected "+_i(e)+" to not contain "+_i(t)),n(this,"object",o);}),t.Assertion.addMethod("descendants",function(t){var e=n(this,"object"),o=e.querySelectorAll(t);this.assert(!!o.length,"expected "+_i(e)+" to have descendants #{exp}","expected "+_i(e)+" to not have descendants #{exp}",t),n(this,"object",o);}),t.Assertion.addProperty("displayed",function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).display:t.style.display;this.assert("none"!==e,"expected "+_i(t)+" to be displayed, but it was not","expected "+_i(t)+" to not be displayed, but it was as "+e,e);}),t.Assertion.addProperty("visible",function(){var t=n(this,"object"),e=document.body.contains(t)?window.getComputedStyle(t).visibility:t.style.visibility;this.assert("hidden"!==e&&"collapse"!==e,"expected "+_i(t)+" to be visible, but it was "+("hidden"===e?"hidden":"collapsed"),"expected "+_i(t)+" to not be visible, but it was",e);}),t.Assertion.addMethod("tagName",function(t){var e=n(this,"object"),o=e.tagName;this.assert(o.toUpperCase()===t.toUpperCase(),"expected "+_i(e)+" to have tagName "+t+", but it was "+o,"expected "+_i(e)+" to not have tagName "+t+", but it was "+o,o);}),t.Assertion.addMethod("style",function(t,e){var o=n(this,"object"),r=window.getComputedStyle(o).getPropertyValue(t).trim();this.assert(r===e,"expected "+_i(o)+" to have style property "+t+" equal to "+e+", but it was equal to "+r,"expected "+_i(o)+" to not have style property "+t+" equal to "+e+", but it was equal to "+r,r);}),t.Assertion.overwriteProperty("focus",function(){return function(){var t=n(this,"object"),e=t.ownerDocument.activeElement;this.assert(t===t.ownerDocument.activeElement,"expected #{this} to have focus","expected #{this} not to have focus",t,e);};}),t.Assertion.overwriteProperty("checked",function(){return function(){var t=n(this,"object");if(!(t instanceof HTMLInputElement)||"checkbox"!==t.type&&"radio"!==t.type)throw new TypeError(_i(t)+" is not a checkbox or radio input");this.assert(t.checked,"expected "+_i(t)+" to be checked","expected "+_i(t)+" to not be checked");};});});k=S;A={};!function(t){!function(e){t.exports=e;}(function(t,e){var n,i,o,r=Array.prototype.slice;function a(t){return"function"==typeof t&&"function"==typeof t.getCall&&"function"==typeof t.calledWithExactly;}function s(t){switch(t){case 1:return"once";case 2:return"twice";case 3:return"thrice";default:return(t||0)+" times";}}function c(t){if(!a(t._obj)&&(!(n=t._obj)||!a(n.proxy)))throw new TypeError(e.inspect(t._obj)+" is not a spy or a call to a spy!");var n;}function u(t,e,n,i,o){var r=i?"always have ":"have ";function s(e){return t.printf.apply(t,e);}return n=n||"",a(t.proxy)&&(t=t.proxy),{affirmative:function affirmative(){return s(["expected %n to "+r+e+n].concat(o));},negative:function negative(){return s(["expected %n to not "+r+e].concat(o));}};}function f(n,i,o){e.addProperty(t.Assertion.prototype,n,function(){c(this);var t=u(this._obj,i,o,!1);this.assert(this._obj[n],t.affirmative,t.negative);});}function h(t,n,i){return function(){c(this);var o="always"+t[0].toUpperCase()+t.substring(1),a=e.flag(this,"always")&&"function"==typeof this._obj[o],s=a?o:t,f=u(this._obj,n,i,a,r.call(arguments));this.assert(this._obj[s].apply(this._obj,arguments),f.affirmative,f.negative);};}function l(n,i,o,r){var a=h(i,o,r);e.addMethod(t.Assertion.prototype,n,a);}function d(t,e,n){l(t,t,e,n);}e.addProperty(t.Assertion.prototype,"always",function(){e.flag(this,"always",!0);}),f("called","been called"," at least once, but it was never called"),n="callCount",i="been called exactly %1",o=", but it was called %c%C",e.addMethod(t.Assertion.prototype,n,function(t){c(this);var e=u(this._obj,i,o,!1,[s(t)]);this.assert(this._obj[n]===t,e.affirmative,e.negative);}),f("calledOnce","been called exactly once",", but it was called %c%C"),f("calledTwice","been called exactly twice",", but it was called %c%C"),f("calledThrice","been called exactly thrice",", but it was called %c%C"),function(n,i,o){var r=h(n,i,o);e.addProperty(t.Assertion.prototype,n,r);}("calledWithNew","been called with new"),d("calledBefore","been called before %1"),d("calledAfter","been called after %1"),d("calledImmediatelyBefore","been called immediately before %1"),d("calledImmediatelyAfter","been called immediately after %1"),d("calledOn","been called with %1 as this",", but it was called with %t instead"),d("calledWith","been called with arguments %*","%D"),d("calledOnceWith","been called exactly once with arguments %*","%D"),d("calledWithExactly","been called with exact arguments %*","%D"),d("calledOnceWithExactly","been called exactly once with exact arguments %*","%D"),d("calledWithMatch","been called with arguments matching %*","%D"),d("returned","returned %1"),l("thrown","threw","thrown %1");});}({get exports(){return A;},set exports(t){A=t;}});D=A;a.use(function(t,e){t.Assertion.addProperty("lightDom",function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"lightDom",!0);}),t.Assertion.addProperty("shadowDom",function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"shadowDom",!0);}),t.Assertion.addProperty("dom",function(){new t.Assertion(this._obj.nodeType).to.equal(1),e.flag(this,"dom",!0);});var n=function n(t){return function(t){if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){var _e3=t.tagName.toLowerCase();var _n5=" ";return Array.prototype.slice.call(t.attributes).forEach(function(t){_n5+="".concat(t.name,"=\"").concat(t.value,"\" ");}),_n5=_n5.slice(0,-1),"<".concat(_e3).concat(_n5,">").concat(t.innerHTML,"</").concat(_e3,">");}return t.outerHTML;}(t);},i=function i(t){return t.innerHTML;},o=function o(t){return function(t){if(window.ShadyCSS&&!1===window.ShadyCSS.nativeShadow){var _e4=t.tagName.toLowerCase(),_n6=new RegExp(_e4,"g");var _i2=t.shadowRoot.innerHTML;return _i2=_i2.replace(/style-scope/g,""),_i2=_i2.replace(_n6,""),_i2=_i2.replace(/(class=".*?)(\s)*"/g,'$1"'),_i2=_i2.replace(/ class="\w?"/g,""),_i2;}return t.shadowRoot.innerHTML;}(t);},r=function r(e,n,i){for(var _len2=arguments.length,o=new Array(_len2>3?_len2-3:0),_key2=3;_key2<_len2;_key2++){o[_key2-3]=arguments[_key2];}var _x6=x.apply(void 0,o),r=_x6.message,a=_x6.options,s=new t.Assertion(l(e,a),r),c=l(n,a);i?s.not.equal(c,r):s.equal(c,r);},a=function a(t){return function(a){for(var _len3=arguments.length,s=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++){s[_key3-1]=arguments[_key3];}if(e.flag(this,"lightDom")||e.flag(this,"shadowDom")||e.flag(this,"dom")){var _t3;_t3=e.flag(this,"lightDom")?i(this._obj):e.flag(this,"shadowDom")?o(this._obj):n(this._obj),r(_t3,a,e.flag(this,"negate"),s[0]);}else t.apply(this,[a].concat(s));};};function s(e,n){for(var _len4=arguments.length,i=new Array(_len4>2?_len4-2:0),_key4=2;_key4<_len4;_key4++){i[_key4-2]=arguments[_key4];}var o=window.__mocha_context__,r=window.__snapshot__,_x7=x.apply(void 0,i),a=_x7.message,s=_x7.options,c=o.index;o.index+=1;var u=y(o.runnable),f=l(e,s);if(r.update)r.set(u,c,f,"html");else{var _e5=r.get(u,c);if(_e5){var _i3=r.match(f,l(_e5.code,s));if(_i3&&n||!_i3&&!n)throw new t.AssertionError(a||"Received value does not match stored snapshot ".concat(c),{actual:f,expected:_e5.code,showDiff:!0},t.util.flag(this,"ssfi"));}else r.set(u,c,f,"html");}}function c(_x8,_x9){return _c2.apply(this,arguments);}function _c2(){_c2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(e,n){var _len5,i,_key5,_x10,o,r,a,s,c,u,_args5=arguments;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:for(_len5=_args5.length,i=new Array(_len5>2?_len5-2:0),_key5=2;_key5<_len5;_key5++){i[_key5-2]=_args5[_key5];}_x10=x.apply(void 0,i);o=_x10.message;r=_x10.options;a=y(window.__WTR_MOCHA_RUNNER__.test).join(" ");s=l(e,r);_context6.next=8;return function(){var _ref3=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(t){return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:if(p(t)){_context3.next=2;break;}throw new Error("You must provide a payload object");case 2:if(!("string"!=typeof t.name)){_context3.next=4;break;}throw new Error("You must provide a snapshot name");case 4:_context3.next=6;return g(t);case 6:_context3.t0=t.name;return _context3.abrupt("return",_context3.sent[_context3.t0]);case 8:case"end":return _context3.stop();}},_callee2);}));return function(_x11){return _ref3.apply(this,arguments);};}()({name:a});case 8:c=_context6.sent;_context6.next=11;return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(){return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.t0=b;if(_context4.t0){_context4.next=5;break;}_context4.next=4;return w("get-snapshot-config",void 0,"snapshotPlugin from @web/test-runner-commands");case 4:b=_context4.sent;case 5:return _context4.abrupt("return",b);case 6:case"end":return _context4.stop();}},_callee3);}))();case 11:u=_context6.sent;if(!(c&&!u.updateSnapshots)){_context6.next=17;break;}if(!(n?c===s:c!==s)){_context6.next=15;break;}throw new t.AssertionError(o||"Snapshot ".concat(a," does not match the saved snapshot on disk"),{actual:s,expected:c,showDiff:!0},t.util.flag(this,"ssfi"));case 15:_context6.next=21;break;case 17:_context6.t0=c!==s;if(!_context6.t0){_context6.next=21;break;}_context6.next=21;return function(){var _ref5=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(t){return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:if(p(t)){_context5.next=2;break;}throw new Error("You must provide a payload object");case 2:if(!("string"!=typeof t.name)){_context5.next=4;break;}throw new Error("You must provide a snapshot name");case 4:if(!(void 0!==t.content&&"string"!=typeof t.content)){_context5.next=6;break;}throw new Error("You must provide a snapshot content");case 6:_context5.next=8;return g();case 8:_context5.t0=t.name;_context5.sent[_context5.t0]=t.content;return _context5.abrupt("return",w("save-snapshot",t,"snapshotPlugin from @web/test-runner-commands"));case 11:case"end":return _context5.stop();}},_callee4);}));return function(_x12){return _ref5.apply(this,arguments);};}()({name:a,content:s});case 21:case"end":return _context6.stop();}},_callee5,this);}));return _c2.apply(this,arguments);}function u(t,e){for(var _len6=arguments.length,n=new Array(_len6>2?_len6-2:0),_key6=2;_key6<_len6;_key6++){n[_key6-2]=arguments[_key6];}if(window.__mocha_context__&&window.__snapshot__)return s.call.apply(s,[this,t,e].concat(n));if(window.__WTR_MOCHA_RUNNER__)return c.call.apply(c,[this,t,e].concat(n));throw new Error("Could not detect test runner environment. Snapshots require either Web Test Runner with mocha, or Karma with mocha and karma mocha snapshot");}function f(n){var r=t.util.flag(this,"object");var a;return a=e.flag(this,"shadowDom")?o(r):e.flag(this,"lightDom")?i(r):r,u.call(this,a,e.flag(this,"negate"),n);}t.Assertion.overwriteMethod("equals",a),t.Assertion.overwriteMethod("equal",a),t.Assertion.overwriteMethod("eq",a),e.addMethod(t.Assertion.prototype,"equalSnapshot",f),e.addMethod(t.Assertion.prototype,"notEqualSnapshot",f),e.addMethod(t.assert,"equalSnapshot",u),e.addMethod(t.assert,"notEqualSnapshot",u),t.assert.dom={equal:function equal(t,e){for(var _len7=arguments.length,i=new Array(_len7>2?_len7-2:0),_key7=2;_key7<_len7;_key7++){i[_key7-2]=arguments[_key7];}return r.call.apply(r,[this,n(t),e,!1].concat(i));},notEqual:function notEqual(t,e){for(var _len8=arguments.length,i=new Array(_len8>2?_len8-2:0),_key8=2;_key8<_len8;_key8++){i[_key8-2]=arguments[_key8];}return r.call.apply(r,[this,n(t),e,!0].concat(i));},equalSnapshot:function equalSnapshot(t){for(var _len9=arguments.length,e=new Array(_len9>1?_len9-1:0),_key9=1;_key9<_len9;_key9++){e[_key9-1]=arguments[_key9];}return u.call.apply(u,[this,t,!1].concat(e));},notEqualSnapshot:function notEqualSnapshot(t){for(var _len10=arguments.length,e=new Array(_len10>1?_len10-1:0),_key10=1;_key10<_len10;_key10++){e[_key10-1]=arguments[_key10];}return u.call.apply(u,[this,t,!0].concat(e));}},t.assert.lightDom={equal:function equal(t,e){for(var _len11=arguments.length,n=new Array(_len11>2?_len11-2:0),_key11=2;_key11<_len11;_key11++){n[_key11-2]=arguments[_key11];}return r.call.apply(r,[this,i(t),e,!1].concat(n));},notEqual:function notEqual(t,e){for(var _len12=arguments.length,n=new Array(_len12>2?_len12-2:0),_key12=2;_key12<_len12;_key12++){n[_key12-2]=arguments[_key12];}return r.call.apply(r,[this,i(t),e,!0].concat(n));},equalSnapshot:function equalSnapshot(t){for(var _len13=arguments.length,e=new Array(_len13>1?_len13-1:0),_key13=1;_key13<_len13;_key13++){e[_key13-1]=arguments[_key13];}return u.call.apply(u,[this,i(t),!1].concat(e));},notEqualSnapshot:function notEqualSnapshot(t){for(var _len14=arguments.length,e=new Array(_len14>1?_len14-1:0),_key14=1;_key14<_len14;_key14++){e[_key14-1]=arguments[_key14];}return u.call.apply(u,[this,i(t),!0].concat(e));}},t.assert.shadowDom={equal:function equal(t,e){for(var _len15=arguments.length,n=new Array(_len15>2?_len15-2:0),_key15=2;_key15<_len15;_key15++){n[_key15-2]=arguments[_key15];}return r.call.apply(r,[this,o(t),e,!1].concat(n));},notEqual:function notEqual(t,e){for(var _len16=arguments.length,n=new Array(_len16>2?_len16-2:0),_key16=2;_key16<_len16;_key16++){n[_key16-2]=arguments[_key16];}return r.call.apply(r,[this,o(t),e,!0].concat(n));},equalSnapshot:function equalSnapshot(t){for(var _len17=arguments.length,e=new Array(_len17>1?_len17-1:0),_key17=1;_key17<_len17;_key17++){e[_key17-1]=arguments[_key17];}return u.call.apply(u,[this,o(t),!1].concat(e));},notEqualSnapshot:function notEqualSnapshot(t){for(var _len18=arguments.length,e=new Array(_len18>1?_len18-1:0),_key18=1;_key18<_len18;_key18++){e[_key18-1]=arguments[_key18];}return u.call.apply(u,[this,o(t),!0].concat(e));}};}),a.use(function(t,e){var n=t.assert;e.addMethod(t.Assertion.prototype,"accessible",function(t){var _this=this;var n=this._obj,i=t||{},o=function(t){if(!t||!t.length)return;var e={};return t.forEach(function(t){e[t]={enabled:!1};}),e;}(i.ignoredRules),r={resultTypes:["violations"]};o&&(r.rules=o);var a=i.done?i.done:void 0;if(a||(a=function a(){}),i.ignoredTags){n.parentNode.querySelectorAll(i.ignoredTags.toString()).forEach(function(t){return t.setAttribute("aria-hidden",!0);});}var s=E(n,r).then(function(t){return function(t,e,n){var i=e.violations;if(i.length&&t)return void n();if(!i.length&&!t)return void n();var o=[];i.length&&(o[o.length]="Accessibility Violations",o[o.length]="---",i.forEach(function(t){o[o.length]="Rule: ".concat(t.id),o[o.length]="Impact: ".concat(t.impact),o[o.length]="".concat(t.help," (").concat(t.helpUrl,")"),t.nodes.forEach(function(t){o[o.length]="",t.target&&(o[o.length]="Issue target: ".concat(t.target)),o[o.length]="Context: ".concat(t.html),t.failureSummary&&(o[o.length]="".concat(t.failureSummary));}),o[o.length]="---";}));var r=new Error(o.join("\n"));throw n(r),r;}(e.flag(_this,"negate"),t,a);});return this.then=s.then.bind(s),this;}),n.isAccessible=function(e,n){return new t.Assertion(e).to.be.accessible(n);},n.isNotAccessible=function(e,n){return new t.Assertion(e).not.to.be.accessible(n);};}),a.use(k),a.use(D);$=function $(t){return"object"==_typeof(t)&&Promise.resolve(t)===t;};N=[];I=Object.freeze({ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_FRAGMENT_NODE:11}),_=function _(_ref6){var t=_ref6.nodeType,e=_ref6.textContent;switch(t){case I.COMMENT_NODE:return!1;case I.TEXT_NODE:return e.trim();default:return!0;}};try{"afterEach"in window&&afterEach(function(){L();}),"teardown"in window&&teardown(function(){L();});}catch(t){}}};});
395
- //# sourceMappingURL=fixture-54600b35.cjs.js.map
395
+ //# sourceMappingURL=fixture-1c49c014.cjs.js.map