@momentum-ui/web-components 3.2.21 → 3.2.22

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 (337) hide show
  1. package/dist/1392.js +1 -1
  2. package/dist/1618.js +1 -1
  3. package/dist/1816.js +2 -2
  4. package/dist/1928.js +1 -1
  5. package/dist/226.js +1 -1
  6. package/dist/2297.js +1 -1
  7. package/dist/2364.js +1 -1
  8. package/dist/2492.js +1 -1
  9. package/dist/2670.js +1 -1
  10. package/dist/2797.js +1 -1
  11. package/dist/2927.js +1 -1
  12. package/dist/2991.js +1 -1
  13. package/dist/3013.js +1 -1
  14. package/dist/3051.js +1 -1
  15. package/dist/3241.js +1 -1
  16. package/dist/3272.js +1 -1
  17. package/dist/3305.js +1 -1
  18. package/dist/3331.js +1 -1
  19. package/dist/3543.js +1 -1
  20. package/dist/378.js +1 -1
  21. package/dist/3842.js +1 -1
  22. package/dist/3876.js +1 -1
  23. package/dist/3970.js +1 -1
  24. package/dist/4047.js +1 -1
  25. package/dist/4084.js +1 -1
  26. package/dist/4242.js +1 -1
  27. package/dist/4431.js +1 -1
  28. package/dist/4449.js +1 -1
  29. package/dist/4700.js +1 -1
  30. package/dist/4739.js +1 -1
  31. package/dist/476.js +1 -1
  32. package/dist/4839.js +1 -1
  33. package/dist/4958.js +1 -1
  34. package/dist/4973.js +1 -1
  35. package/dist/5057.js +1 -1
  36. package/dist/513.js +1 -1
  37. package/dist/5584.js +1 -1
  38. package/dist/5846.js +1 -1
  39. package/dist/6005.js +1 -1
  40. package/dist/608.js +1 -1
  41. package/dist/6142.js +1 -1
  42. package/dist/6325.js +1 -1
  43. package/dist/6343.js +1 -1
  44. package/dist/6429.js +1 -1
  45. package/dist/6631.js +1 -1
  46. package/dist/6816.js +1 -1
  47. package/dist/6843.js +1 -1
  48. package/dist/7137.js +1 -1
  49. package/dist/7155.js +1 -1
  50. package/dist/7162.js +1 -1
  51. package/dist/7231.js +1 -1
  52. package/dist/7262.js +1 -1
  53. package/dist/740.js +1 -1
  54. package/dist/742.js +1 -1
  55. package/dist/7557.js +1 -1
  56. package/dist/7582.js +1 -1
  57. package/dist/7906.js +8 -3
  58. package/dist/7911.js +1 -1
  59. package/dist/8373.js +1 -1
  60. package/dist/8441.js +1 -1
  61. package/dist/861.js +3 -3
  62. package/dist/8687.js +1 -1
  63. package/dist/887.js +1 -1
  64. package/dist/8881.js +1 -1
  65. package/dist/9146.js +1 -1
  66. package/dist/9244.js +1 -1
  67. package/dist/9316.js +1 -1
  68. package/dist/9336.js +1 -1
  69. package/dist/9404.js +1 -1
  70. package/dist/9431.js +1 -1
  71. package/dist/9485.js +1 -1
  72. package/dist/9488.js +1 -1
  73. package/dist/9558.js +1 -1
  74. package/dist/9609.js +1 -1
  75. package/dist/9940.js +1 -1
  76. package/dist/9956.js +1 -1
  77. package/dist/9983.js +1 -1
  78. package/dist/comp/md-accordion-entry.js +2 -2
  79. package/dist/comp/md-accordion-item-entry.js +2 -2
  80. package/dist/comp/md-activity-button-entry.js +2 -2
  81. package/dist/comp/md-advance-list-entry.js +5 -5
  82. package/dist/comp/md-alert-banner-entry.js +17 -17
  83. package/dist/comp/md-alert-entry.js +2 -2
  84. package/dist/comp/md-audio-player-entry.js +3 -3
  85. package/dist/comp/md-avatar-entry.js +3 -3
  86. package/dist/comp/md-badge-entry.js +6 -6
  87. package/dist/comp/md-breadcrumb-entry.js +4 -4
  88. package/dist/comp/md-button-entry.js +33 -33
  89. package/dist/comp/md-button-group-entry.js +2 -2
  90. package/dist/comp/md-card-ai-entry.js +9 -9
  91. package/dist/comp/md-card-alert-entry.js +4 -4
  92. package/dist/comp/md-card-entry.js +2 -2
  93. package/dist/comp/md-card-v2-entry.js +2 -2
  94. package/dist/comp/md-chat-message-entry.js +8 -6
  95. package/dist/comp/md-checkbox-entry.js +2 -2
  96. package/dist/comp/md-checkboxgroup-entry.js +2 -2
  97. package/dist/comp/md-chip-entry.js +3 -3
  98. package/dist/comp/md-coachmark-entry.js +8 -8
  99. package/dist/comp/md-coachmark-popover-entry.js +2 -2
  100. package/dist/comp/md-combobox-entry.js +2 -2
  101. package/dist/comp/md-composite-avatar-entry.js +3 -3
  102. package/dist/comp/md-country-code-picker-entry.js +4 -4
  103. package/dist/comp/md-date-range-picker-entry.js +1 -1
  104. package/dist/comp/md-date-time-picker-entry.js +2 -2
  105. package/dist/comp/md-datepicker-calendar-entry.js +2 -2
  106. package/dist/comp/md-datepicker-day-entry.js +3 -3
  107. package/dist/comp/md-datepicker-entry.js +3 -3
  108. package/dist/comp/md-datepicker-month-entry.js +2 -2
  109. package/dist/comp/md-datepicker-week-entry.js +2 -2
  110. package/dist/comp/md-draggable-entry.js +2 -2
  111. package/dist/comp/md-draggable-item-entry.js +5 -5
  112. package/dist/comp/md-dropdown-entry.js +2 -2
  113. package/dist/comp/md-editable-field-entry.js +9 -9
  114. package/dist/comp/md-favorite-entry.js +3 -3
  115. package/dist/comp/md-floating-minimize-entry.js +2 -2
  116. package/dist/comp/md-floating-modal-entry.js +2 -2
  117. package/dist/comp/md-form-entry.js +2 -2
  118. package/dist/comp/md-grabber-entry.js +5 -5
  119. package/dist/comp/md-help-text-entry.js +8 -3
  120. package/dist/comp/md-icon-entry.js +8 -8
  121. package/dist/comp/md-input-entry.js +2 -2
  122. package/dist/comp/md-input-file.js +3 -3
  123. package/dist/comp/md-label-entry.js +3 -3
  124. package/dist/comp/md-link-entry.js +14 -14
  125. package/dist/comp/md-list-entry.js +3 -3
  126. package/dist/comp/md-list-item-entry.js +2 -2
  127. package/dist/comp/md-loading-entry.js +2 -2
  128. package/dist/comp/md-meeting-alert-entry.js +10 -10
  129. package/dist/comp/md-menu-entry.js +2 -2
  130. package/dist/comp/md-menu-item-entry.js +2 -2
  131. package/dist/comp/md-menu-overlay-entry.js +3 -3
  132. package/dist/comp/md-modal-entry.js +17 -17
  133. package/dist/comp/md-pagination-entry.js +2 -2
  134. package/dist/comp/md-phone-input-entry.js +9 -9
  135. package/dist/comp/md-popover-entry.js +2 -2
  136. package/dist/comp/md-presence-entry.js +2 -2
  137. package/dist/comp/md-progress-bar-entry.js +3 -3
  138. package/dist/comp/md-radio-entry.js +2 -2
  139. package/dist/comp/md-radiogroup-entry.js +2 -2
  140. package/dist/comp/md-slider-entry.js +5 -5
  141. package/dist/comp/md-spinner-entry.js +3 -3
  142. package/dist/comp/md-tab-entry.js +4 -4
  143. package/dist/comp/md-tab-panel-entry.js +1 -1
  144. package/dist/comp/md-table-advanced-entry.js +10 -10
  145. package/dist/comp/md-table-entry.js +11 -11
  146. package/dist/comp/md-tabs-entry.js +5 -5
  147. package/dist/comp/md-task-item-entry.js +7 -7
  148. package/dist/comp/md-theme-entry.js +3 -3
  149. package/dist/comp/md-timepicker-entry.js +6 -6
  150. package/dist/comp/md-toggle-switch-entry.js +8 -8
  151. package/dist/comp/md-tooltip-entry.js +2 -2
  152. package/dist/esm/1156.js +1 -1
  153. package/dist/esm/1280.js +1 -1
  154. package/dist/esm/1392.js +1 -1
  155. package/dist/esm/1756.js +1 -1
  156. package/dist/esm/1816.js +2 -2
  157. package/dist/esm/1928.js +1 -1
  158. package/dist/esm/1982.js +1 -1
  159. package/dist/esm/226.js +1 -1
  160. package/dist/esm/2297.js +1 -1
  161. package/dist/esm/2364.js +1 -1
  162. package/dist/esm/2451.js +1 -1
  163. package/dist/esm/2458.js +1 -1
  164. package/dist/esm/2577.js +1 -1
  165. package/dist/esm/2599.js +1 -1
  166. package/dist/esm/2670.js +1 -1
  167. package/dist/esm/2797.js +1 -1
  168. package/dist/esm/2927.js +1 -1
  169. package/dist/esm/2991.js +1 -1
  170. package/dist/esm/3051.js +1 -1
  171. package/dist/esm/3155.js +1 -1
  172. package/dist/esm/3272.js +1 -1
  173. package/dist/esm/3305.js +1 -1
  174. package/dist/esm/3331.js +1 -1
  175. package/dist/esm/3365.js +1 -1
  176. package/dist/esm/3517.js +1 -1
  177. package/dist/esm/3543.js +1 -1
  178. package/dist/esm/3648.js +1 -1
  179. package/dist/esm/378.js +2 -2
  180. package/dist/esm/3842.js +1 -1
  181. package/dist/esm/3876.js +1 -1
  182. package/dist/esm/3970.js +1 -1
  183. package/dist/esm/4047.js +1 -1
  184. package/dist/esm/4060.js +1 -1
  185. package/dist/esm/4084.js +1 -1
  186. package/dist/esm/4137.js +1 -1
  187. package/dist/esm/4242.js +1 -1
  188. package/dist/esm/4431.js +1 -1
  189. package/dist/esm/4449.js +1 -1
  190. package/dist/esm/4613.js +1 -1
  191. package/dist/esm/4700.js +1 -1
  192. package/dist/esm/4739.js +1 -1
  193. package/dist/esm/476.js +1 -1
  194. package/dist/esm/477.js +1 -1
  195. package/dist/esm/4839.js +1 -1
  196. package/dist/esm/4955.js +1 -1
  197. package/dist/esm/4958.js +1 -1
  198. package/dist/esm/4973.js +1 -1
  199. package/dist/esm/4980.js +1 -1
  200. package/dist/esm/5057.js +1 -1
  201. package/dist/esm/513.js +1 -1
  202. package/dist/esm/5308.js +1 -1
  203. package/dist/esm/5432.js +1 -1
  204. package/dist/esm/546.js +1 -1
  205. package/dist/esm/5525.js +8 -3
  206. package/dist/esm/5584.js +1 -1
  207. package/dist/esm/5846.js +1 -1
  208. package/dist/esm/6005.js +1 -1
  209. package/dist/esm/608.js +1 -1
  210. package/dist/esm/6142.js +1 -1
  211. package/dist/esm/6325.js +1 -1
  212. package/dist/esm/6343.js +1 -1
  213. package/dist/esm/6518.js +1 -1
  214. package/dist/esm/6525.js +1 -1
  215. package/dist/esm/6631.js +1 -1
  216. package/dist/esm/6816.js +1 -1
  217. package/dist/esm/6843.js +1 -1
  218. package/dist/esm/6897.js +1 -1
  219. package/dist/esm/6933.js +1 -1
  220. package/dist/esm/6994.js +1 -1
  221. package/dist/esm/7119.js +1 -1
  222. package/dist/esm/7137.js +1 -1
  223. package/dist/esm/7155.js +1 -1
  224. package/dist/esm/7162.js +1 -1
  225. package/dist/esm/7231.js +1 -1
  226. package/dist/esm/740.js +1 -1
  227. package/dist/esm/742.js +1 -1
  228. package/dist/esm/7557.js +1 -1
  229. package/dist/esm/7582.js +1 -1
  230. package/dist/esm/7638.js +1 -1
  231. package/dist/esm/7755.js +1 -1
  232. package/dist/esm/7838.js +1 -1
  233. package/dist/esm/7906.js +6 -1
  234. package/dist/esm/7911.js +1 -1
  235. package/dist/esm/8165.js +1 -1
  236. package/dist/esm/8235.js +1 -1
  237. package/dist/esm/8441.js +1 -1
  238. package/dist/esm/861.js +3 -3
  239. package/dist/esm/8687.js +1 -1
  240. package/dist/esm/887.js +1 -1
  241. package/dist/esm/8899.js +1 -1
  242. package/dist/esm/9244.js +1 -1
  243. package/dist/esm/9316.js +1 -1
  244. package/dist/esm/9336.js +1 -1
  245. package/dist/esm/9375.js +1 -1
  246. package/dist/esm/9404.js +1 -1
  247. package/dist/esm/9431.js +1 -1
  248. package/dist/esm/9485.js +1 -1
  249. package/dist/esm/9500.js +1 -1
  250. package/dist/esm/9558.js +1 -1
  251. package/dist/esm/9609.js +1 -1
  252. package/dist/esm/9642.js +1 -1
  253. package/dist/esm/9940.js +1 -1
  254. package/dist/esm/9983.js +1 -1
  255. package/dist/esm/comp/md-accordion-entry.js +2 -2
  256. package/dist/esm/comp/md-accordion-item-entry.js +4 -4
  257. package/dist/esm/comp/md-activity-button-entry.js +2 -2
  258. package/dist/esm/comp/md-advance-list-entry.js +3 -3
  259. package/dist/esm/comp/md-alert-banner-entry.js +19 -19
  260. package/dist/esm/comp/md-alert-entry.js +2 -2
  261. package/dist/esm/comp/md-audio-player-entry.js +3 -3
  262. package/dist/esm/comp/md-avatar-entry.js +1 -1
  263. package/dist/esm/comp/md-badge-entry.js +1 -1
  264. package/dist/esm/comp/md-breadcrumb-entry.js +5 -5
  265. package/dist/esm/comp/md-button-entry.js +33 -33
  266. package/dist/esm/comp/md-button-group-entry.js +2 -2
  267. package/dist/esm/comp/md-card-ai-entry.js +4 -4
  268. package/dist/esm/comp/md-card-alert-entry.js +2 -2
  269. package/dist/esm/comp/md-card-entry.js +7 -7
  270. package/dist/esm/comp/md-card-v2-entry.js +2 -2
  271. package/dist/esm/comp/md-chat-message-entry.js +4 -2
  272. package/dist/esm/comp/md-checkbox-entry.js +2 -2
  273. package/dist/esm/comp/md-checkboxgroup-entry.js +2 -2
  274. package/dist/esm/comp/md-chip-entry.js +1 -1
  275. package/dist/esm/comp/md-coachmark-entry.js +8 -8
  276. package/dist/esm/comp/md-coachmark-popover-entry.js +2 -2
  277. package/dist/esm/comp/md-combobox-entry.js +1 -1
  278. package/dist/esm/comp/md-composite-avatar-entry.js +3 -3
  279. package/dist/esm/comp/md-country-code-picker-entry.js +1 -1
  280. package/dist/esm/comp/md-date-range-picker-entry.js +1 -1
  281. package/dist/esm/comp/md-date-time-picker-entry.js +2 -2
  282. package/dist/esm/comp/md-datepicker-calendar-entry.js +1 -1
  283. package/dist/esm/comp/md-datepicker-day-entry.js +1 -1
  284. package/dist/esm/comp/md-datepicker-entry.js +3 -3
  285. package/dist/esm/comp/md-datepicker-month-entry.js +1 -1
  286. package/dist/esm/comp/md-datepicker-week-entry.js +1 -1
  287. package/dist/esm/comp/md-draggable-entry.js +2 -2
  288. package/dist/esm/comp/md-draggable-item-entry.js +5 -5
  289. package/dist/esm/comp/md-dropdown-entry.js +2 -2
  290. package/dist/esm/comp/md-editable-field-entry.js +9 -9
  291. package/dist/esm/comp/md-favorite-entry.js +1 -1
  292. package/dist/esm/comp/md-floating-minimize-entry.js +1 -1
  293. package/dist/esm/comp/md-floating-modal-entry.js +3 -3
  294. package/dist/esm/comp/md-form-entry.js +2 -2
  295. package/dist/esm/comp/md-grabber-entry.js +5 -5
  296. package/dist/esm/comp/md-help-text-entry.js +1 -1
  297. package/dist/esm/comp/md-icon-entry.js +8 -8
  298. package/dist/esm/comp/md-input-entry.js +2 -2
  299. package/dist/esm/comp/md-input-file.js +2 -2
  300. package/dist/esm/comp/md-label-entry.js +1 -1
  301. package/dist/esm/comp/md-link-entry.js +12 -12
  302. package/dist/esm/comp/md-list-entry.js +1 -1
  303. package/dist/esm/comp/md-list-item-entry.js +1 -1
  304. package/dist/esm/comp/md-loading-entry.js +1 -1
  305. package/dist/esm/comp/md-meeting-alert-entry.js +10 -10
  306. package/dist/esm/comp/md-menu-entry.js +3 -3
  307. package/dist/esm/comp/md-menu-item-entry.js +3 -3
  308. package/dist/esm/comp/md-menu-overlay-entry.js +2 -2
  309. package/dist/esm/comp/md-modal-entry.js +6 -6
  310. package/dist/esm/comp/md-pagination-entry.js +2 -2
  311. package/dist/esm/comp/md-phone-input-entry.js +2 -2
  312. package/dist/esm/comp/md-popover-entry.js +1 -1
  313. package/dist/esm/comp/md-presence-entry.js +1 -1
  314. package/dist/esm/comp/md-progress-bar-entry.js +1 -1
  315. package/dist/esm/comp/md-radio-entry.js +2 -2
  316. package/dist/esm/comp/md-radiogroup-entry.js +2 -2
  317. package/dist/esm/comp/md-slider-entry.js +2 -2
  318. package/dist/esm/comp/md-spinner-entry.js +1 -1
  319. package/dist/esm/comp/md-tab-entry.js +4 -4
  320. package/dist/esm/comp/md-tab-panel-entry.js +1 -1
  321. package/dist/esm/comp/md-table-advanced-entry.js +5 -5
  322. package/dist/esm/comp/md-table-entry.js +11 -11
  323. package/dist/esm/comp/md-tabs-entry.js +5 -5
  324. package/dist/esm/comp/md-task-item-entry.js +18 -18
  325. package/dist/esm/comp/md-theme-entry.js +3 -3
  326. package/dist/esm/comp/md-timepicker-entry.js +2 -2
  327. package/dist/esm/comp/md-toggle-switch-entry.js +4 -4
  328. package/dist/esm/comp/md-tooltip-entry.js +3 -3
  329. package/dist/esm/index-entry.js +12 -10
  330. package/dist/esm/index.js +1 -1
  331. package/dist/esm/managers/thememanager-entry.js +1 -1
  332. package/dist/index-entry.js +18 -11
  333. package/dist/managers/thememanager-entry.js +1 -1
  334. package/dist/types/components/chat-message/ChatMessage.d.ts +2 -0
  335. package/dist/types/components/chat-message/ChatMessage.stories.d.ts +10 -0
  336. package/dist/types/components/help-text/HelpText.test.d.ts +1 -0
  337. package/package.json +1 -1
@@ -1,79 +1,79 @@
1
- var t,e,i={5983(t,e,i){i.d(e,{$n:()=>$,El:()=>c,Fr:()=>u,Gh:()=>g,MS:()=>v,Sq:()=>f,r3:()=>b,uZ:()=>m});var o=i(6616),r=(i(9773),i(9609)),a=i(7154),s=i(4084),n=i(2927),p=i(8899),d=i(4955),l=i(3517),h=i(680),y=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};const c=["20","24","28","32","36","40","44","52","56","72","68","84","size-none",20,24,28,32,36,40,44,52,56,68,72,68,84],u=["button","input","a"],b=["button","reset","submit"],v=["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],m=["primary","secondary","red","green","ghost","ghostInheritTextColor","white","darkGrey","promotional","tab","available","unavailable","engaged","idle","inverted-primary","inverted-secondary","inverted-ghost","dropdown","secondary-negative","secondary-positive","secondary-accent"],f=["blue","red","green","orange","yellow","mint","purple","pink","cyan","white","dark-gray","duck-egg","violet","color-none",""],g=["","off","polite","assertive"];var $;!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this._active=!1,this._tabIndex=0,this.ariaLabel="",this.ariaLabelledBy="",this.ariaLive="",this.ariaExpanded="",this.ariaHaspopup="false",this.ariaPressed="",this.circle=!1,this.rounded=!1,this.color="",this.containerLarge=!1,this.disabled=!1,this.href="",this.id="",this.value="",this.keyboardKey="",this.label="",this.loading=!1,this.outline=!1,this.hasRemoveStyle=!1,this.size="32",this.tag="button",this.type="button",this.role="button",this.variant="secondary",this.width="",this.maxWidth="",this.activityType="",this.iconActive=!1,this.isActive=!1,this.autofocus=!1,this.renderWidth=()=>this.width?`width: ${this.width};`:n.nothing,this.renderMaxWidth=()=>this.maxWidth?`max-width: ${this.maxWidth};`:n.nothing,this.getStyles=()=>{if(this.width||this.maxWidth)return n.html`
1
+ var t={5983(t,e,i){i.d(e,{$n:()=>o});var o,r=i(6616),a=(i(9773),i(9609)),s=i(7154),n=i(4084),p=i(2927),d=i(8899),l=i(4955),h=i(3517),y=i(680),c=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};!function(t){let e=class extends p.LitElement{constructor(){super(...arguments),this._active=!1,this._tabIndex=0,this.ariaLabel="",this.ariaLabelledBy="",this.ariaLive="",this.ariaExpanded="",this.ariaHaspopup="false",this.ariaPressed="",this.circle=!1,this.rounded=!1,this.color="",this.containerLarge=!1,this.disabled=!1,this.href="",this.id="",this.value="",this.keyboardKey="",this.label="",this.loading=!1,this.outline=!1,this.hasRemoveStyle=!1,this.size="32",this.tag="button",this.type="button",this.role="button",this.variant="secondary",this.width="",this.maxWidth="",this.activityType="",this.iconActive=!1,this.isActive=!1,this.autofocus=!1,this.renderWidth=()=>this.width?`width: ${this.width};`:p.nothing,this.renderMaxWidth=()=>this.maxWidth?`max-width: ${this.maxWidth};`:p.nothing,this.getStyles=()=>{if(this.width||this.maxWidth)return p.html`
2
2
  <style>
3
3
  :host .md-button--${this.size} {
4
4
  ${this.renderWidth()};
5
5
  ${this.renderMaxWidth()};
6
6
  }
7
7
  </style>
8
- `},this.iconTemplate=()=>this.loading?n.html` <md-spinner size="16"></md-spinner> `:n.html` <slot name="icon"></slot> `,this.textTemplate=()=>this.circle&&this.hasIcon?n.nothing:n.html` <slot name="text"></slot> `}get active(){return this._active}set active(t){const e=this._active;this._active=t,this.requestUpdate("active",e)}get tabIndex(){return this._tabIndex}set tabIndex(t){const e=this._tabIndex;this._tabIndex=t,this.requestUpdate("tabIndex",e)}firstUpdated(t){super.firstUpdated(t),this.autofocus&&requestAnimationFrame(()=>{this.manageAutoFocus()})}manageAutoFocus(t){(null!=t?t:this).focus()}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}blur(){var t;null===(t=this.button)||void 0===t||t.blur()}handleKeyDown(t){if(this.disabled)return;const{code:e}=t;(0,a.o)(e)&&this.dispatchEvent(new CustomEvent("button-keydown",{composed:!0,bubbles:!0,detail:{srcEvent:t}}))}handleClick(t){var e;this.disabled||(null===(e=this.clickFunction)||void 0===e||e.call(this),this.dispatchEvent(new CustomEvent("button-click",{composed:!0,bubbles:!0,detail:{srcEvent:t}})))}static get styles(){return[s.A,h.A,o.A]}get buttonClassMap(){return{"md-button--circle":this.circle,"md-button--rounded":this.rounded,"md-button--none":this.hasRemoveStyle,"md-button--outline":this.outline,active:this.active&&!this.disabled,disabled:this.disabled&&!this.active,isActive:this.isActive,[`md-button--${this.size}`]:!this.hasRemoveStyle,[`md-button--${this.color}`]:!this.hasRemoveStyle&&!!this.color,[`md-activity__${this.activityType}`]:!!this.activityType,"md-activity":!!this.activityType,"md-button--icon":this.iconActive,"md-button--onlyicon":this.hasIcon&&!this.slottedText,"md-button--placeholder-text":!0===this.isPlaceholderText}}get slottedText(){var t;return null===(t=this.querySelector("[slot=text]"))||void 0===t?void 0:t.textContent}get hasIcon(){return null!==this.querySelector("[slot=icon]")||this.loading}childrenTemplate(){return n.html`
8
+ `},this.iconTemplate=()=>this.loading?p.html` <md-spinner size="16"></md-spinner> `:p.html` <slot name="icon"></slot> `,this.textTemplate=()=>this.circle&&this.hasIcon?p.nothing:p.html` <slot name="text"></slot> `}get active(){return this._active}set active(t){const e=this._active;this._active=t,this.requestUpdate("active",e)}get tabIndex(){return this._tabIndex}set tabIndex(t){const e=this._tabIndex;this._tabIndex=t,this.requestUpdate("tabIndex",e)}firstUpdated(t){super.firstUpdated(t),this.autofocus&&requestAnimationFrame(()=>{this.manageAutoFocus()})}manageAutoFocus(t){(null!=t?t:this).focus()}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}blur(){var t;null===(t=this.button)||void 0===t||t.blur()}handleKeyDown(t){if(this.disabled)return;const{code:e}=t;(0,s.o)(e)&&this.dispatchEvent(new CustomEvent("button-keydown",{composed:!0,bubbles:!0,detail:{srcEvent:t}}))}handleClick(t){var e;this.disabled||(null===(e=this.clickFunction)||void 0===e||e.call(this),this.dispatchEvent(new CustomEvent("button-click",{composed:!0,bubbles:!0,detail:{srcEvent:t}})))}static get styles(){return[n.A,y.A,r.A]}get buttonClassMap(){return{"md-button--circle":this.circle,"md-button--rounded":this.rounded,"md-button--none":this.hasRemoveStyle,"md-button--outline":this.outline,active:this.active&&!this.disabled,disabled:this.disabled&&!this.active,isActive:this.isActive,[`md-button--${this.size}`]:!this.hasRemoveStyle,[`md-button--${this.color}`]:!this.hasRemoveStyle&&!!this.color,[`md-activity__${this.activityType}`]:!!this.activityType,"md-activity":!!this.activityType,"md-button--icon":this.iconActive,"md-button--onlyicon":this.hasIcon&&!this.slottedText,"md-button--placeholder-text":!0===this.isPlaceholderText}}get slottedText(){var t;return null===(t=this.querySelector("[slot=text]"))||void 0===t?void 0:t.textContent}get hasIcon(){return null!==this.querySelector("[slot=icon]")||this.loading}childrenTemplate(){return p.html`
9
9
  <span part="button-children" class="md-button__children">
10
10
  ${this.iconTemplate()} ${this.textTemplate()}
11
11
  <slot></slot>
12
12
  </span>
13
13
  <slot name="notification"></slot>
14
- `}get computedAriaExpand(){return"true"===this.ariaExpanded?"true":"false"===this.ariaExpanded?"false":void 0}buttonTemplate(t){return"button"===t?n.html`
14
+ `}get computedAriaExpand(){return"true"===this.ariaExpanded?"true":"false"===this.ariaExpanded?"false":void 0}buttonTemplate(t){return"button"===t?p.html`
15
15
  <button
16
16
  part="button"
17
17
  id=${this.id}
18
- class="md-button ${(0,d.classMap)(this.buttonClassMap)}"
18
+ class="md-button ${(0,l.classMap)(this.buttonClassMap)}"
19
19
  @click=${t=>this.handleClick(t)}
20
20
  @keydown=${t=>this.handleKeyDown(t)}
21
- tabindex=${(0,l.ifDefined)(this.tabIndex||void 0)}
22
- aria-label=${(0,l.ifDefined)(this.ariaLabel||void 0)}
23
- aria-labelledby=${(0,l.ifDefined)(this.ariaLabelledBy||void 0)}
24
- aria-live=${(0,l.ifDefined)(this.ariaLive||void 0)}
25
- aria-expanded=${(0,l.ifDefined)(this.computedAriaExpand)}
26
- aria-haspopup=${(0,l.ifDefined)("false"===this.ariaHaspopup?void 0:this.ariaHaspopup)}
27
- aria-pressed=${(0,l.ifDefined)(this.ariaPressed||void 0)}
28
- aria-disabled=${(0,l.ifDefined)(this.disabled||this.loading||void 0)}
29
- aria-describedby=${(0,l.ifDefined)(this.ariaDescribedBy||void 0)}
21
+ tabindex=${(0,h.ifDefined)(this.tabIndex||void 0)}
22
+ aria-label=${(0,h.ifDefined)(this.ariaLabel||void 0)}
23
+ aria-labelledby=${(0,h.ifDefined)(this.ariaLabelledBy||void 0)}
24
+ aria-live=${(0,h.ifDefined)(this.ariaLive||void 0)}
25
+ aria-expanded=${(0,h.ifDefined)(this.computedAriaExpand)}
26
+ aria-haspopup=${(0,h.ifDefined)("false"===this.ariaHaspopup?void 0:this.ariaHaspopup)}
27
+ aria-pressed=${(0,h.ifDefined)(this.ariaPressed||void 0)}
28
+ aria-disabled=${(0,h.ifDefined)(this.disabled||this.loading||void 0)}
29
+ aria-describedby=${(0,h.ifDefined)(this.ariaDescribedBy||void 0)}
30
30
  type=${this.type}
31
- role=${(0,l.ifDefined)("button"===this.role?void 0:this.role)}
31
+ role=${(0,h.ifDefined)("button"===this.role?void 0:this.role)}
32
32
  >
33
33
  ${this.childrenTemplate()}
34
34
  </button>
35
- `:"input"===t?n.html`
35
+ `:"input"===t?p.html`
36
36
  <input
37
37
  part="button"
38
38
  id=${this.id}
39
- class="md-button ${(0,d.classMap)(this.buttonClassMap)}"
39
+ class="md-button ${(0,l.classMap)(this.buttonClassMap)}"
40
40
  @click=${t=>this.handleClick(t)}
41
41
  @keydown=${t=>this.handleKeyDown(t)}
42
42
  role=${this.role}
43
- tabindex=${(0,l.ifDefined)(this.tabIndex||void 0)}
43
+ tabindex=${(0,h.ifDefined)(this.tabIndex||void 0)}
44
44
  aria-pressed=${"true"===this.ariaPressed}
45
- aria-label=${(0,l.ifDefined)(this.ariaLabel||void 0)}
46
- aria-labelledby=${(0,l.ifDefined)(this.ariaLabelledBy||void 0)}
47
- aria-live=${(0,l.ifDefined)(this.ariaLive||void 0)}
45
+ aria-label=${(0,h.ifDefined)(this.ariaLabel||void 0)}
46
+ aria-labelledby=${(0,h.ifDefined)(this.ariaLabelledBy||void 0)}
47
+ aria-live=${(0,h.ifDefined)(this.ariaLive||void 0)}
48
48
  type=${this.type}
49
49
  alt=${this.label}
50
50
  value=${this.value}
51
- aria-disabled=${(0,l.ifDefined)(this.disabled||this.loading||void 0)}
51
+ aria-disabled=${(0,h.ifDefined)(this.disabled||this.loading||void 0)}
52
52
  />
53
- `:"a"===t?n.html`
53
+ `:"a"===t?p.html`
54
54
  <a
55
55
  part="button"
56
56
  id=${this.id}
57
- class="md-button ${(0,d.classMap)(this.buttonClassMap)}"
57
+ class="md-button ${(0,l.classMap)(this.buttonClassMap)}"
58
58
  @click=${t=>this.handleClick(t)}
59
59
  @keydown=${t=>this.handleKeyDown(t)}
60
60
  role=${this.role}
61
- tabindex=${(0,l.ifDefined)(this.tabIndex||void 0)}
61
+ tabindex=${(0,h.ifDefined)(this.tabIndex||void 0)}
62
62
  aria-pressed=${"true"===this.ariaPressed?"true":"false"}
63
- aria-label=${(0,l.ifDefined)(this.ariaLabel||void 0)}
64
- aria-labelledby=${(0,l.ifDefined)(this.ariaLabelledBy||void 0)}
65
- aria-live=${(0,l.ifDefined)(this.ariaLive||void 0)}
66
- aria-disabled=${(0,l.ifDefined)(this.disabled||this.loading||void 0)}
63
+ aria-label=${(0,h.ifDefined)(this.ariaLabel||void 0)}
64
+ aria-labelledby=${(0,h.ifDefined)(this.ariaLabelledBy||void 0)}
65
+ aria-live=${(0,h.ifDefined)(this.ariaLive||void 0)}
66
+ aria-disabled=${(0,h.ifDefined)(this.disabled||this.loading||void 0)}
67
67
  href=${this.href}
68
68
  >
69
69
  ${this.childrenTemplate()}
70
70
  </a>
71
- `:n.nothing}get buttonContainerClassMap(){return{"md-button__container":this.containerLarge,"md-button__container--small":!this.containerLarge}}render(){return n.html`
71
+ `:p.nothing}get buttonContainerClassMap(){return{"md-button__container":this.containerLarge,"md-button__container--small":!this.containerLarge}}render(){return p.html`
72
72
  ${this.getStyles()}
73
- ${this.label?n.html`
74
- <div part="button-container" class=${(0,d.classMap)(this.buttonContainerClassMap)}>
73
+ ${this.label?p.html`
74
+ <div part="button-container" class=${(0,l.classMap)(this.buttonContainerClassMap)}>
75
75
  ${this.buttonTemplate(this.tag)}
76
76
  <div part="button-label" class="md-button__label">${this.label}</div>
77
77
  </div>
78
- `:n.html` ${this.buttonTemplate(this.tag)} `}
79
- `}};y([(0,p.property)({type:Boolean,reflect:!0})],e.prototype,"active",null),y([(0,p.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),y([(0,p.property)({type:String})],e.prototype,"ariaLabel",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaLabelledBy",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaLive",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaExpanded",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaHaspopup",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaPressed",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"circle",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"rounded",void 0),y([(0,p.property)({type:String})],e.prototype,"color",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"containerLarge",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"disabled",void 0),y([(0,p.property)({type:String})],e.prototype,"href",void 0),y([(0,p.property)({type:String})],e.prototype,"id",void 0),y([(0,p.property)({type:String})],e.prototype,"value",void 0),y([(0,p.property)({type:String})],e.prototype,"keyboardKey",void 0),y([(0,p.property)({type:String})],e.prototype,"label",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"loading",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"outline",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"hasRemoveStyle",void 0),y([(0,p.property)({type:String})],e.prototype,"size",void 0),y([(0,p.property)({type:String})],e.prototype,"tag",void 0),y([(0,p.property)({type:String})],e.prototype,"type",void 0),y([(0,p.property)({type:String})],e.prototype,"role",void 0),y([(0,p.property)({type:String})],e.prototype,"variant",void 0),y([(0,p.property)({type:String})],e.prototype,"width",void 0),y([(0,p.property)({type:String})],e.prototype,"maxWidth",void 0),y([(0,p.property)({type:String})],e.prototype,"activityType",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"iconActive",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"isActive",void 0),y([(0,p.property)({type:String,attribute:"aria-describedby"})],e.prototype,"ariaDescribedBy",void 0),y([(0,p.property)({attribute:!1})],e.prototype,"clickFunction",void 0),y([(0,p.property)({type:Boolean,attribute:"is-placeholder-text"})],e.prototype,"isPlaceholderText",void 0),y([(0,p.property)({type:Boolean,reflect:!0})],e.prototype,"autofocus",void 0),y([(0,p.query)(".md-button")],e.prototype,"button",void 0),e=y([(0,r.w)("md-button")],e),t.ELEMENT=e}($||($={}))}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={exports:{}};return i[t](a,a.exports,r),a.exports}r.m=i,t=[],r.O=(e,i,o,a)=>{if(!i){var s=1/0;for(l=0;l<t.length;l++){for(var[i,o,a]=t[l],n=!0,p=0;p<i.length;p++)(!1&a||s>=a)&&Object.keys(r.O).every(t=>r.O[t](i[p]))?i.splice(p--,1):(n=!1,a<s&&(s=a));if(n){t.splice(l--,1);var d=o();void 0!==d&&(e=d)}}return e}a=a||0;for(var l=t.length;l>0&&t[l-1][2]>a;l--)t[l]=t[l-1];t[l]=[i,o,a]},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{r as __webpack_require__};e={5156:0,5983:0},r.C=t=>{var i,o,{__webpack_esm_ids__:a,__webpack_esm_modules__:s,__webpack_esm_runtime__:n}=t,p=0;for(i in s)r.o(s,i)&&(r.m[i]=s[i]);for(n&&n(r);p<a.length;p++)o=a[p],r.o(e,o)&&e[o]&&e[o][0](),e[a[p]]=0;r.O()},r.O.j=t=>0===e[t];import*as a from"../9609.js";r.C(a);import*as s from"../4084.js";r.C(s);import*as n from"../4955.js";r.C(n);import*as p from"../3517.js";r.C(p);import*as d from"../1156.js";r.C(d);import*as l from"../3305.js";r.C(l);import*as h from"../4739.js";r.C(h);import*as y from"../7154.js";r.C(y);import*as c from"../9773.js";r.C(c);import*as u from"../519.js";r.C(u);import*as b from"../8165.js";r.C(b);import*as v from"../9375.js";r.C(v);var m=r.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,519,8165,9375],()=>r(5983));const f=(m=r.O(m)).$n,g=m.Gh,$=m.Sq,x=m.MS,_=m.El,S=m.Fr,C=m.r3,w=m.uZ;export{f as Button,g as buttonAriaLive,$ as buttonColor,x as buttonRoles,_ as buttonSize,S as buttonTag,C as buttonType,w as buttonVariant};
78
+ `:p.html` ${this.buttonTemplate(this.tag)} `}
79
+ `}};c([(0,d.property)({type:Boolean,reflect:!0})],e.prototype,"active",null),c([(0,d.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),c([(0,d.property)({type:String})],e.prototype,"ariaLabel",void 0),c([(0,d.property)({type:String})],e.prototype,"ariaLabelledBy",void 0),c([(0,d.property)({type:String})],e.prototype,"ariaLive",void 0),c([(0,d.property)({type:String})],e.prototype,"ariaExpanded",void 0),c([(0,d.property)({type:String})],e.prototype,"ariaHaspopup",void 0),c([(0,d.property)({type:String})],e.prototype,"ariaPressed",void 0),c([(0,d.property)({type:Boolean})],e.prototype,"circle",void 0),c([(0,d.property)({type:Boolean})],e.prototype,"rounded",void 0),c([(0,d.property)({type:String})],e.prototype,"color",void 0),c([(0,d.property)({type:Boolean})],e.prototype,"containerLarge",void 0),c([(0,d.property)({type:Boolean})],e.prototype,"disabled",void 0),c([(0,d.property)({type:String})],e.prototype,"href",void 0),c([(0,d.property)({type:String})],e.prototype,"id",void 0),c([(0,d.property)({type:String})],e.prototype,"value",void 0),c([(0,d.property)({type:String})],e.prototype,"keyboardKey",void 0),c([(0,d.property)({type:String})],e.prototype,"label",void 0),c([(0,d.property)({type:Boolean})],e.prototype,"loading",void 0),c([(0,d.property)({type:Boolean})],e.prototype,"outline",void 0),c([(0,d.property)({type:Boolean})],e.prototype,"hasRemoveStyle",void 0),c([(0,d.property)({type:String})],e.prototype,"size",void 0),c([(0,d.property)({type:String})],e.prototype,"tag",void 0),c([(0,d.property)({type:String})],e.prototype,"type",void 0),c([(0,d.property)({type:String})],e.prototype,"role",void 0),c([(0,d.property)({type:String})],e.prototype,"variant",void 0),c([(0,d.property)({type:String})],e.prototype,"width",void 0),c([(0,d.property)({type:String})],e.prototype,"maxWidth",void 0),c([(0,d.property)({type:String})],e.prototype,"activityType",void 0),c([(0,d.property)({type:Boolean})],e.prototype,"iconActive",void 0),c([(0,d.property)({type:Boolean})],e.prototype,"isActive",void 0),c([(0,d.property)({type:String,attribute:"aria-describedby"})],e.prototype,"ariaDescribedBy",void 0),c([(0,d.property)({attribute:!1})],e.prototype,"clickFunction",void 0),c([(0,d.property)({type:Boolean,attribute:"is-placeholder-text"})],e.prototype,"isPlaceholderText",void 0),c([(0,d.property)({type:Boolean,reflect:!0})],e.prototype,"autofocus",void 0),c([(0,d.query)(".md-button")],e.prototype,"button",void 0),e=c([(0,a.w)("md-button")],e),t.ELEMENT=e}(o||(o={})),i.d(e,["El",0,["20","24","28","32","36","40","44","52","56","72","68","84","size-none",20,24,28,32,36,40,44,52,56,68,72,68,84],"Fr",0,["button","input","a"],"Gh",0,["","off","polite","assertive"],"MS",0,["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],"Sq",0,["blue","red","green","orange","yellow","mint","purple","pink","cyan","white","dark-gray","duck-egg","violet","color-none",""],"r3",0,["button","reset","submit"],"uZ",0,["primary","secondary","red","green","ghost","ghostInheritTextColor","white","darkGrey","promotional","tab","available","unavailable","engaged","idle","inverted-primary","inverted-secondary","inverted-ghost","dropdown","secondary-negative","secondary-positive","secondary-accent"]])}};const e={};function i(o){const r=e[o];if(void 0!==r)return r.exports;const a=e[o]={exports:{}};return t[o](a,a.exports,i),a.exports}i.m=t,(()=>{const t=[];i.O=(e,o,r,a)=>{if(o){a=a||0;for(var s=t.length;s>0&&t[s-1][2]>a;s--)t[s]=t[s-1];return void(t[s]=[o,r,a])}let n=1/0;for(s=0;s<t.length;s++){let[o,r,a]=t[s],d=!0;for(var p=0;p<o.length;p++)(!1&a||n>=a)&&Object.keys(i.O).every(t=>i.O[t](o[p]))?o.splice(p--,1):(d=!1,a<n&&(n=a));if(d){t.splice(s--,1);const i=r();void 0!==i&&(e=i)}}return e}})(),i.d=(t,e)=>{if(Array.isArray(e))for(var o=0;o<e.length;){var r=e[o++],a=e[o++];i.o(t,r)?0===a&&o++:0===a?Object.defineProperty(t,r,{enumerable:!0,value:e[o++]}):Object.defineProperty(t,r,{enumerable:!0,get:a})}else for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{i as __webpack_require__};(()=>{const t={5156:0,5983:0};i.C=e=>{let{__webpack_esm_ids__:o,__webpack_esm_modules__:r,__webpack_esm_runtime__:a}=e;var s,n,p=0;for(s in r)i.o(r,s)&&(i.m[s]=r[s]);for(a&&a(i);p<o.length;p++)n=o[p],i.o(t,n)&&t[n]&&t[n][0](),t[o[p]]=0;i.O()},i.O.j=e=>0===t[e]})();import*as o from"../9609.js";i.C(o);import*as r from"../4084.js";i.C(r);import*as a from"../4955.js";i.C(a);import*as s from"../3517.js";i.C(s);import*as n from"../1156.js";i.C(n);import*as p from"../3305.js";i.C(p);import*as d from"../4739.js";i.C(d);import*as l from"../7154.js";i.C(l);import*as h from"../9773.js";i.C(h);import*as y from"../519.js";i.C(y);import*as c from"../8165.js";i.C(c);import*as u from"../9375.js";i.C(u);let b=i.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,519,8165,9375],()=>i(5983));b=i.O(b);const v=b.$n,m=b.Gh,f=b.Sq,g=b.MS,$=b.El,x=b.Fr,_=b.r3,S=b.uZ;export{v as Button,m as buttonAriaLive,f as buttonColor,g as buttonRoles,$ as buttonSize,x as buttonTag,_ as buttonType,S as buttonVariant};
@@ -1,5 +1,5 @@
1
- var t,e,s={2890(t,e,s){s.d(e,{e:()=>i});var i,r=s(2900),o=s(7704),n=s(4084),d=s(2927),l=s(8899),a=s(2670),c=function(t,e,s,i){var r,o=arguments.length,n=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,i);else for(var d=t.length-1;d>=0;d--)(r=t[d])&&(n=(o<3?r(n):o>3?r(e,s,n):r(e,s))||n);return o>3&&n&&Object.defineProperty(e,s,n),n};!function(t){let e=class extends((0,o.TS)((0,o.yC)(d.LitElement))){constructor(){super(...arguments),this.active=0,this.tabIndex=0,this.newMomentum=!1,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.setAttribute("aria-disabled",`${t}`),this.tabIndex=t?-1:0,this.requestUpdate("disabled",e)}get slotElement(){return this.buttonSlot}static get styles(){return[n.A,a.A]}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","group")}setButtonTabIndex(){this.slotted.forEach(t=>t.tabIndex=-1)}updated(t){super.updated(t),t.has("slotted")&&(this.setButtonTabIndex(),this.setFirstActive())}get selectedBtnValue(){return this.slotted[this.active].value}notifySelectedChange(){this.dispatchEvent(new CustomEvent("button-group-change",{detail:{selected:this.selectedBtnValue},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}setSelected(t){var e,s;const i=this.findSelectedBtnIndex();-1!==i&&i!==t&&(null===(e=this.slotted[i])||void 0===e||e.toggleAttribute("selected",!1)),null===(s=this.slotted[t])||void 0===s||s.toggleAttribute("selected",!0)}setFirstActive(){-1===this.findSelectedBtnIndex()&&this.setSelected(this.active)}findBtnIndex(t){const e=t.composedPath();return this.slotted.findIndex(t=>e.includes(t))}findSelectedBtnIndex(){return this.slotted.findIndex(t=>t.hasAttribute("selected"))}isBtnDisabled(t){return this.slotted[t].disabled}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}switchBtnOnArrowPress(t,e=1){const s=this.getAvailableSelectedIndex(t,e);-1!==s&&(this.active=s,this.setSelected(s),this.notifySelectedChange())}getAvailableSelectedIndex(t,e=1){const s=this.slotted.length;for(let i=0,r=t;i<s;i+=1,r+=e){r<0?r=s-1:r>=s&&(r=0);const t=this.slotted[r];if(this.isFocusable(t))return r}return-1}isFocusable(t){return!t.hasAttribute("disabled")&&!t.hasAttribute("hidden")}handleClick(t){const e=this.findBtnIndex(t);-1!==e&&(this.isBtnDisabled(e)||(this.active=e,this.setSelected(e),this.notifySelectedChange()))}handleKeyDown(t){const{code:e}=t;switch(e){case r.Uz.Enter:case r.Uz.Space:this.isBtnDisabled(this.active)||(this.setSelected(this.active),this.notifySelectedChange());break;case r.Uz.ArrowLeft:0===this.active?this.switchBtnOnArrowPress(this.slotted.length-1,-1):this.switchBtnOnArrowPress(this.active-1,-1);break;case r.Uz.ArrowRight:this.active===this.slotted.length-1?this.switchBtnOnArrowPress(0):this.switchBtnOnArrowPress(this.active+1)}}render(){return d.html`
1
+ var t={2890(t,e,s){s.d(e,{e:()=>i});var i,r=s(2900),o=s(7704),n=s(4084),d=s(2927),l=s(8899),a=s(2670),c=function(t,e,s,i){var r,o=arguments.length,n=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,i);else for(var d=t.length-1;d>=0;d--)(r=t[d])&&(n=(o<3?r(n):o>3?r(e,s,n):r(e,s))||n);return o>3&&n&&Object.defineProperty(e,s,n),n};!function(t){let e=class extends((0,o.TS)((0,o.yC)(d.LitElement))){constructor(){super(...arguments),this.active=0,this.tabIndex=0,this.newMomentum=!1,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.setAttribute("aria-disabled",`${t}`),this.tabIndex=t?-1:0,this.requestUpdate("disabled",e)}get slotElement(){return this.buttonSlot}static get styles(){return[n.A,a.A]}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","group")}setButtonTabIndex(){this.slotted.forEach(t=>t.tabIndex=-1)}updated(t){super.updated(t),t.has("slotted")&&(this.setButtonTabIndex(),this.setFirstActive())}get selectedBtnValue(){return this.slotted[this.active].value}notifySelectedChange(){this.dispatchEvent(new CustomEvent("button-group-change",{detail:{selected:this.selectedBtnValue},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}setSelected(t){var e,s;const i=this.findSelectedBtnIndex();-1!==i&&i!==t&&(null===(e=this.slotted[i])||void 0===e||e.toggleAttribute("selected",!1)),null===(s=this.slotted[t])||void 0===s||s.toggleAttribute("selected",!0)}setFirstActive(){-1===this.findSelectedBtnIndex()&&this.setSelected(this.active)}findBtnIndex(t){const e=t.composedPath();return this.slotted.findIndex(t=>e.includes(t))}findSelectedBtnIndex(){return this.slotted.findIndex(t=>t.hasAttribute("selected"))}isBtnDisabled(t){return this.slotted[t].disabled}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}switchBtnOnArrowPress(t,e=1){const s=this.getAvailableSelectedIndex(t,e);-1!==s&&(this.active=s,this.setSelected(s),this.notifySelectedChange())}getAvailableSelectedIndex(t,e=1){const s=this.slotted.length;for(let i=0,r=t;i<s;i+=1,r+=e){r<0?r=s-1:r>=s&&(r=0);const t=this.slotted[r];if(this.isFocusable(t))return r}return-1}isFocusable(t){return!t.hasAttribute("disabled")&&!t.hasAttribute("hidden")}handleClick(t){const e=this.findBtnIndex(t);-1!==e&&(this.isBtnDisabled(e)||(this.active=e,this.setSelected(e),this.notifySelectedChange()))}handleKeyDown(t){const{code:e}=t;switch(e){case r.Uz.Enter:case r.Uz.Space:this.isBtnDisabled(this.active)||(this.setSelected(this.active),this.notifySelectedChange());break;case r.Uz.ArrowLeft:0===this.active?this.switchBtnOnArrowPress(this.slotted.length-1,-1):this.switchBtnOnArrowPress(this.active-1,-1);break;case r.Uz.ArrowRight:this.active===this.slotted.length-1?this.switchBtnOnArrowPress(0):this.switchBtnOnArrowPress(this.active+1)}}render(){return d.html`
2
2
  <div role="group" class="md-button-group" part="button-group">
3
3
  <slot name="button"></slot>
4
4
  </div>
5
- `}};c([(0,l.property)({type:Number,reflect:!0})],e.prototype,"active",void 0),c([(0,l.property)({type:Number,reflect:!0})],e.prototype,"tabIndex",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"newMomentum",void 0),c([(0,l.query)("slot[name='button']")],e.prototype,"buttonSlot",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",null),e=c([(0,o.wW)("md-button-group")],e),t.ELEMENT=e}(i||(i={}))},7704(t,e,s){s.d(e,{TS:()=>r.T,wW:()=>o.w,yC:()=>i.y}),s(2364);var i=s(3203),r=(s(9938),s(5201),s(4781),s(608)),o=s(9609)}},i={};function r(t){var e=i[t];if(void 0!==e)return e.exports;var o=i[t]={exports:{}};return s[t](o,o.exports,r),o.exports}r.m=s,t=[],r.O=(e,s,i,o)=>{if(!s){var n=1/0;for(c=0;c<t.length;c++){for(var[s,i,o]=t[c],d=!0,l=0;l<s.length;l++)(!1&o||n>=o)&&Object.keys(r.O).every(t=>r.O[t](s[l]))?s.splice(l--,1):(d=!1,o<n&&(n=o));if(d){t.splice(c--,1);var a=i();void 0!==a&&(e=a)}}return e}o=o||0;for(var c=t.length;c>0&&t[c-1][2]>o;c--)t[c]=t[c-1];t[c]=[s,i,o]},r.d=(t,e)=>{for(var s in e)r.o(e,s)&&!r.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{r as __webpack_require__};e={561:0,2942:0,5310:0,5323:0,7704:0,8180:0},r.C=t=>{var s,i,{__webpack_esm_ids__:o,__webpack_esm_modules__:n,__webpack_esm_runtime__:d}=t,l=0;for(s in n)r.o(n,s)&&(r.m[s]=n[s]);for(d&&d(r);l<o.length;l++)i=o[l],r.o(e,i)&&e[i]&&e[i][0](),e[o[l]]=0;r.O()},r.O.j=t=>0===e[t];import*as o from"../9609.js";r.C(o);import*as n from"../4084.js";r.C(n);import*as d from"../2364.js";r.C(d);import*as l from"../9938.js";r.C(l);import*as a from"../4781.js";r.C(a);import*as c from"../5584.js";r.C(c);import*as h from"../5201.js";r.C(h);import*as p from"../2900.js";r.C(p);import*as u from"../2927.js";r.C(u);import*as b from"../608.js";r.C(b);import*as f from"../8899.js";r.C(f);import*as v from"../2670.js";r.C(v);var m=r.O(void 0,[9609,4084,2364,9938,4781,5584,5201,2900,2927,608,8899,2670],()=>r(2890));const y=(m=r.O(m)).e;export{y as ButtonGroup};
5
+ `}};c([(0,l.property)({type:Number,reflect:!0})],e.prototype,"active",void 0),c([(0,l.property)({type:Number,reflect:!0})],e.prototype,"tabIndex",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"newMomentum",void 0),c([(0,l.query)("slot[name='button']")],e.prototype,"buttonSlot",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"disabled",null),e=c([(0,o.wW)("md-button-group")],e),t.ELEMENT=e}(i||(i={}))},7704(t,e,s){s.d(e,{TS:()=>r.T,wW:()=>o.w,yC:()=>i.y}),s(2364);var i=s(3203),r=(s(9938),s(5201),s(4781),s(608)),o=s(9609)}};const e={};function s(i){const r=e[i];if(void 0!==r)return r.exports;const o=e[i]={exports:{}};return t[i](o,o.exports,s),o.exports}s.m=t,(()=>{const t=[];s.O=(e,i,r,o)=>{if(i){o=o||0;for(var n=t.length;n>0&&t[n-1][2]>o;n--)t[n]=t[n-1];return void(t[n]=[i,r,o])}let d=1/0;for(n=0;n<t.length;n++){let[i,r,o]=t[n],a=!0;for(var l=0;l<i.length;l++)(!1&o||d>=o)&&Object.keys(s.O).every(t=>s.O[t](i[l]))?i.splice(l--,1):(a=!1,o<d&&(d=o));if(a){t.splice(n--,1);const s=r();void 0!==s&&(e=s)}}return e}})(),s.d=(t,e)=>{if(Array.isArray(e))for(var i=0;i<e.length;){var r=e[i++],o=e[i++];s.o(t,r)?0===o&&i++:0===o?Object.defineProperty(t,r,{enumerable:!0,value:e[i++]}):Object.defineProperty(t,r,{enumerable:!0,get:o})}else for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{s as __webpack_require__};(()=>{const t={561:0,2942:0,5310:0,5323:0,7704:0,8180:0};s.C=e=>{let{__webpack_esm_ids__:i,__webpack_esm_modules__:r,__webpack_esm_runtime__:o}=e;var n,d,l=0;for(n in r)s.o(r,n)&&(s.m[n]=r[n]);for(o&&o(s);l<i.length;l++)d=i[l],s.o(t,d)&&t[d]&&t[d][0](),t[i[l]]=0;s.O()},s.O.j=e=>0===t[e]})();import*as i from"../9609.js";s.C(i);import*as r from"../4084.js";s.C(r);import*as o from"../2364.js";s.C(o);import*as n from"../9938.js";s.C(n);import*as d from"../4781.js";s.C(d);import*as l from"../5584.js";s.C(l);import*as a from"../5201.js";s.C(a);import*as c from"../2900.js";s.C(c);import*as h from"../2927.js";s.C(h);import*as p from"../608.js";s.C(p);import*as u from"../8899.js";s.C(u);import*as b from"../2670.js";s.C(b);let f=s.O(void 0,[9609,4084,2364,9938,4781,5584,5201,2900,2927,608,8899,2670],()=>s(2890));f=s.O(f);const m=f.e;export{m as ButtonGroup};
@@ -1,4 +1,4 @@
1
- var t,e,s={7224(t,e,s){s.d(e,{a:()=>i,p:()=>r}),s(5983),s(1821);var i,r,o=s(9609),a=s(4084),d=s(2927),n=s(8899),m=s(4955),c=s(5308),h=function(t,e,s,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,i);else for(var d=t.length-1;d>=0;d--)(r=t[d])&&(a=(o<3?r(a):o>3?r(e,s,a):r(e,s))||a);return o>3&&a&&Object.defineProperty(e,s,a),a};!function(t){t.USER_QUERY="user_query",t.RESPONSE="response"}(i||(i={})),function(t){let e=class extends d.LitElement{constructor(){super(...arguments),this.id="",this.title="",this.cardText="",this.timestamp="",this.summariseMoreVisible=!1,this.variant=i.RESPONSE,this.copyChecked=!1,this.thumbsUpChecked=!1,this.thumbsDownChecked=!1}static get styles(){return[a.A,c.A]}thumbsUpToggled(){this.thumbsDownChecked=!1,this.thumbsUpChecked=!this.thumbsUpChecked,this.dispatchEvent(new CustomEvent("thumbs-up-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}thumbsDownToggled(){this.thumbsUpChecked=!1,this.thumbsDownChecked=!this.thumbsDownChecked,this.dispatchEvent(new CustomEvent("thumbs-down-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}summariseMoreToggled(){this.dispatchEvent(new CustomEvent("summarise-more-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}copyToggled(){navigator.clipboard.writeText(this.cardText),this.copyChecked=!0,setTimeout(()=>{this.copyChecked=!1},2e3)}get bottomBorderRadiusClass(){return this.timestamp?"with-bottom-border-radius":"no-bottom-border-radius"}get cardTextClassMap(){return{"md-card-ai-card-body-user-query":this.variant===i.USER_QUERY,[`md-card-ai-card-body-response-${this.bottomBorderRadiusClass}`]:this.variant===i.RESPONSE}}renderHeader(){return this.variant===i.RESPONSE&&""!==this.title?d.html`
1
+ var t={7224(t,e,s){s.d(e,{a:()=>r,p:()=>i}),s(5983),s(1821);var r,i,o=s(9609),a=s(4084),d=s(2927),n=s(8899),m=s(4955),c=s(5308),h=function(t,e,s,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,r);else for(var d=t.length-1;d>=0;d--)(i=t[d])&&(a=(o<3?i(a):o>3?i(e,s,a):i(e,s))||a);return o>3&&a&&Object.defineProperty(e,s,a),a};!function(t){t.USER_QUERY="user_query",t.RESPONSE="response"}(r||(r={})),function(t){let e=class extends d.LitElement{constructor(){super(...arguments),this.id="",this.title="",this.cardText="",this.timestamp="",this.summariseMoreVisible=!1,this.variant=r.RESPONSE,this.copyChecked=!1,this.thumbsUpChecked=!1,this.thumbsDownChecked=!1}static get styles(){return[a.A,c.A]}thumbsUpToggled(){this.thumbsDownChecked=!1,this.thumbsUpChecked=!this.thumbsUpChecked,this.dispatchEvent(new CustomEvent("thumbs-up-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}thumbsDownToggled(){this.thumbsUpChecked=!1,this.thumbsDownChecked=!this.thumbsDownChecked,this.dispatchEvent(new CustomEvent("thumbs-down-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}summariseMoreToggled(){this.dispatchEvent(new CustomEvent("summarise-more-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}copyToggled(){navigator.clipboard.writeText(this.cardText),this.copyChecked=!0,setTimeout(()=>{this.copyChecked=!1},2e3)}get bottomBorderRadiusClass(){return this.timestamp?"with-bottom-border-radius":"no-bottom-border-radius"}get cardTextClassMap(){return{"md-card-ai-card-body-user-query":this.variant===r.USER_QUERY,[`md-card-ai-card-body-response-${this.bottomBorderRadiusClass}`]:this.variant===r.RESPONSE}}renderHeader(){return this.variant===r.RESPONSE&&""!==this.title?d.html`
2
2
  <div class="md-card-ai-header">
3
3
  <slot name="card-header-aside">
4
4
  <md-icon name="cisco-ai-assistant-color-gradient" iconSet="momentumBrandVisuals"></md-icon>
@@ -55,7 +55,7 @@ var t,e,s={7224(t,e,s){s.d(e,{a:()=>i,p:()=>r}),s(5983),s(1821);var i,r,o=s(9609
55
55
  <span slot="text">${this.copyChecked?"Copied":"Copy"}</span>
56
56
  </md-button>
57
57
  </div>
58
- `}renderResponseCard(){return this.variant===i.RESPONSE&&""!==this.timestamp?d.html`
58
+ `}renderResponseCard(){return this.variant===r.RESPONSE&&""!==this.timestamp?d.html`
59
59
  <div class="md-card-ai-divider"></div>
60
60
  <div class="md-card-ai-time-wrapper">
61
61
  <time class="md-card-ai-time" aria-hidden="true" datetime=${this.timestamp}> ${this.timestamp} </time>
@@ -63,7 +63,7 @@ var t,e,s={7224(t,e,s){s.d(e,{a:()=>i,p:()=>r}),s(5983),s(1821);var i,r,o=s(9609
63
63
  <div class="md-card-ai-feedback">${this.renderThumbsUpButton()} ${this.renderThumbsDownButton()}</div>
64
64
  ${this.renderCopyButton()}
65
65
  </div>
66
- `:d.nothing}renderFooter(){return this.variant===i.RESPONSE&&this.summariseMoreVisible?d.html`
66
+ `:d.nothing}renderFooter(){return this.variant===r.RESPONSE&&this.summariseMoreVisible?d.html`
67
67
  <div class="md-card-ai-footer">
68
68
  <md-button size="32" variant="ghost" outline @click=${this.summariseMoreToggled}>
69
69
  <span slot="text">Summarise more</span>
@@ -74,4 +74,4 @@ var t,e,s={7224(t,e,s){s.d(e,{a:()=>i,p:()=>r}),s(5983),s(1821);var i,r,o=s(9609
74
74
  ${this.renderHeader()}
75
75
  <div class="content-margin">${this.renderCardText()} ${this.renderFooter()}</div>
76
76
  </div>
77
- `}};h([(0,n.property)({type:String})],e.prototype,"id",void 0),h([(0,n.property)({type:String})],e.prototype,"title",void 0),h([(0,n.property)({type:String})],e.prototype,"cardText",void 0),h([(0,n.property)({type:String})],e.prototype,"timestamp",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"summariseMoreVisible",void 0),h([(0,n.property)({type:String})],e.prototype,"variant",void 0),h([(0,n.state)()],e.prototype,"copyChecked",void 0),h([(0,n.state)()],e.prototype,"thumbsUpChecked",void 0),h([(0,n.state)()],e.prototype,"thumbsDownChecked",void 0),e=h([(0,o.w)("md-card-ai")],e),t.ELEMENT=e}(r||(r={}))}},i={};function r(t){var e=i[t];if(void 0!==e)return e.exports;var o=i[t]={exports:{}};return s[t](o,o.exports,r),o.exports}r.m=s,t=[],r.O=(e,s,i,o)=>{if(!s){var a=1/0;for(c=0;c<t.length;c++){for(var[s,i,o]=t[c],d=!0,n=0;n<s.length;n++)(!1&o||a>=o)&&Object.keys(r.O).every(t=>r.O[t](s[n]))?s.splice(n--,1):(d=!1,o<a&&(a=o));if(d){t.splice(c--,1);var m=i();void 0!==m&&(e=m)}}return e}o=o||0;for(var c=t.length;c>0&&t[c-1][2]>o;c--)t[c]=t[c-1];t[c]=[s,i,o]},r.d=(t,e)=>{for(var s in e)r.o(e,s)&&!r.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{r as __webpack_require__};e={4971:0},r.C=t=>{var s,i,{__webpack_esm_ids__:o,__webpack_esm_modules__:a,__webpack_esm_runtime__:d}=t,n=0;for(s in a)r.o(a,s)&&(r.m[s]=a[s]);for(d&&d(r);n<o.length;n++)i=o[n],r.o(e,i)&&e[i]&&e[i][0](),e[o[n]]=0;r.O()},r.O.j=t=>0===e[t];import*as o from"../9609.js";r.C(o);import*as a from"../4084.js";r.C(a);import*as d from"../4955.js";r.C(d);import*as n from"../3517.js";r.C(n);import*as m from"../1156.js";r.C(m);import*as c from"../3305.js";r.C(c);import*as h from"../4739.js";r.C(h);import*as p from"../7154.js";r.C(p);import*as l from"../9773.js";r.C(l);import*as u from"../5983.js";r.C(u);import*as b from"../7755.js";r.C(b);import*as v from"../1821.js";r.C(v);import*as C from"../4980.js";r.C(C);import*as g from"../9500.js";r.C(g);import*as y from"../519.js";r.C(y);import*as f from"../4137.js";r.C(f);import*as k from"../8165.js";r.C(k);import*as T from"../2451.js";r.C(T);var E=r.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,4980,9500,519,4137,8165,2451],()=>r(7224));const $=(E=r.O(E)).p,j=E.a;export{$ as CardAi,j as CardAiVariant};
77
+ `}};h([(0,n.property)({type:String})],e.prototype,"id",void 0),h([(0,n.property)({type:String})],e.prototype,"title",void 0),h([(0,n.property)({type:String})],e.prototype,"cardText",void 0),h([(0,n.property)({type:String})],e.prototype,"timestamp",void 0),h([(0,n.property)({type:Boolean})],e.prototype,"summariseMoreVisible",void 0),h([(0,n.property)({type:String})],e.prototype,"variant",void 0),h([(0,n.state)()],e.prototype,"copyChecked",void 0),h([(0,n.state)()],e.prototype,"thumbsUpChecked",void 0),h([(0,n.state)()],e.prototype,"thumbsDownChecked",void 0),e=h([(0,o.w)("md-card-ai")],e),t.ELEMENT=e}(i||(i={}))}};const e={};function s(r){const i=e[r];if(void 0!==i)return i.exports;const o=e[r]={exports:{}};return t[r](o,o.exports,s),o.exports}s.m=t,(()=>{const t=[];s.O=(e,r,i,o)=>{if(r){o=o||0;for(var a=t.length;a>0&&t[a-1][2]>o;a--)t[a]=t[a-1];return void(t[a]=[r,i,o])}let d=1/0;for(a=0;a<t.length;a++){let[r,i,o]=t[a],m=!0;for(var n=0;n<r.length;n++)(!1&o||d>=o)&&Object.keys(s.O).every(t=>s.O[t](r[n]))?r.splice(n--,1):(m=!1,o<d&&(d=o));if(m){t.splice(a--,1);const s=i();void 0!==s&&(e=s)}}return e}})(),s.d=(t,e)=>{if(Array.isArray(e))for(var r=0;r<e.length;){var i=e[r++],o=e[r++];s.o(t,i)?0===o&&r++:0===o?Object.defineProperty(t,i,{enumerable:!0,value:e[r++]}):Object.defineProperty(t,i,{enumerable:!0,get:o})}else for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{s as __webpack_require__};(()=>{const t={4971:0};s.C=e=>{let{__webpack_esm_ids__:r,__webpack_esm_modules__:i,__webpack_esm_runtime__:o}=e;var a,d,n=0;for(a in i)s.o(i,a)&&(s.m[a]=i[a]);for(o&&o(s);n<r.length;n++)d=r[n],s.o(t,d)&&t[d]&&t[d][0](),t[r[n]]=0;s.O()},s.O.j=e=>0===t[e]})();import*as r from"../9609.js";s.C(r);import*as i from"../4084.js";s.C(i);import*as o from"../4955.js";s.C(o);import*as a from"../3517.js";s.C(a);import*as d from"../1156.js";s.C(d);import*as n from"../3305.js";s.C(n);import*as m from"../4739.js";s.C(m);import*as c from"../7154.js";s.C(c);import*as h from"../9773.js";s.C(h);import*as p from"../5983.js";s.C(p);import*as l from"../7755.js";s.C(l);import*as u from"../1821.js";s.C(u);import*as b from"../4980.js";s.C(b);import*as v from"../9500.js";s.C(v);import*as C from"../519.js";s.C(C);import*as y from"../4137.js";s.C(y);import*as g from"../8165.js";s.C(g);import*as f from"../2451.js";s.C(f);let k=s.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,4980,9500,519,4137,8165,2451],()=>s(7224));k=s.O(k);const T=k.p,j=k.a;export{T as CardAi,j as CardAiVariant};
@@ -1,4 +1,4 @@
1
- var t,e,i={4882(t,e,i){i.d(e,{IF:()=>o,eE:()=>m,vg:()=>y}),i(5983),i(2583),i(1821);var o,r=i(9609),s=i(4084),a=i(2927),n=i(8899),l=i(4955),p=i(7137),d=function(t,e,i,o){var r,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(s<3?r(a):s>3?r(e,i,a):r(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.CRITICAL="critical",t.MEDIUM="medium"}(o||(o={}));const h={[o.CRITICAL]:{icon:"flag-filled",color:"negative"},[o.MEDIUM]:{icon:"warning-filled",color:"warning"}},c={dismiss:"Dismiss",justNow:"Just now",minutesAgo:t=>`${t} ${1===t?"min":"mins"} ago`,hoursAgo:t=>`${t} ${1===t?"hour":"hours"} ago`,daysAgo:t=>`${t} ${1===t?"day":"days"} ago`};var m,y;!function(t){t.POSITIVE="positive",t.NEGATIVE="negative",t.NEUTRAL="neutral"}(m||(m={})),function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.severity="",this.category="",this.secondaryChip="",this.timestamp="",this.title="",this.queueName="",this.details=[],this.insight="",this.primaryActionLabel="",this.primaryActionDropdown=!1,this.detailsHeading="",this.showDismiss=!1,this.expanded=!1,this.relativeTime=""}static get styles(){return[s.A,p.A]}get normalizedSeverity(){var t;const e=(null!==(t=this.severity)&&void 0!==t?t:"").toLowerCase();return Object.values(o).includes(e)?e:void 0}get severityIcon(){return this.normalizedSeverity?h[this.normalizedSeverity].icon:"plus-circle-filled"}get severityColor(){return this.normalizedSeverity?h[this.normalizedSeverity].color:"neutral"}get hasInsight(){var t;return(null!==(t=this.insight)&&void 0!==t?t:"").trim().length>0}get detailRows(){return Array.isArray(this.details)?this.details:[]}get resolvedLocale(){return t=this.constructor.locale,Object.assign(Object.assign(Object.assign({},c),t),{dismiss:null!==(e=null==t?void 0:t.dismiss)&&void 0!==e?e:c.dismiss});var t,e}updateRelativeTime(){this.timestamp&&(this.relativeTime=this.formatRelativeTime(this.timestamp))}startTimer(){this.stopTimer(),this.timestamp&&(this.updateRelativeTime(),this.timerInterval=setInterval(()=>this.updateRelativeTime(),6e4))}stopTimer(){this.timerInterval&&(clearInterval(this.timerInterval),this.timerInterval=void 0)}willUpdate(t){t.has("timestamp")&&this.startTimer()}disconnectedCallback(){super.disconnectedCallback(),this.stopTimer()}formatRelativeTime(t){const e=this.resolvedLocale,i=Date.now(),o="number"==typeof t?t:new Date(t).getTime();if(isNaN(o))return"";const r=i-o;if(r<0)return e.justNow;const s=Math.floor(r/6e4);if(s<1)return e.justNow;if(s<60)return e.minutesAgo(s);const a=Math.floor(s/60);if(a<24)return e.hoursAgo(a);const n=Math.floor(a/24);return e.daysAgo(n)}handlePrimaryAction(){this.dispatchEvent(new CustomEvent("primary-action-clicked",{bubbles:!0,composed:!0}))}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss-clicked",{bubbles:!0,composed:!0}))}renderTimestamp(){return this.relativeTime?a.html`<span class="md-card-alert-timestamp">${this.relativeTime}</span>`:a.nothing}renderHeader(){return this.severity||this.category||this.timestamp?a.html`
1
+ var t={4882(t,e,i){i.d(e,{IF:()=>o,eE:()=>m,vg:()=>y}),i(5983),i(2583),i(1821);var o,r=i(9609),s=i(4084),a=i(2927),n=i(8899),l=i(4955),p=i(7137),d=function(t,e,i,o){var r,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(s<3?r(a):s>3?r(e,i,a):r(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};!function(t){t.CRITICAL="critical",t.MEDIUM="medium"}(o||(o={}));const h={[o.CRITICAL]:{icon:"flag-filled",color:"negative"},[o.MEDIUM]:{icon:"warning-filled",color:"warning"}},c={dismiss:"Dismiss",justNow:"Just now",minutesAgo:t=>`${t} ${1===t?"min":"mins"} ago`,hoursAgo:t=>`${t} ${1===t?"hour":"hours"} ago`,daysAgo:t=>`${t} ${1===t?"day":"days"} ago`};var m,y;!function(t){t.POSITIVE="positive",t.NEGATIVE="negative",t.NEUTRAL="neutral"}(m||(m={})),function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.severity="",this.category="",this.secondaryChip="",this.timestamp="",this.title="",this.queueName="",this.details=[],this.insight="",this.primaryActionLabel="",this.primaryActionDropdown=!1,this.detailsHeading="",this.showDismiss=!1,this.expanded=!1,this.relativeTime=""}static get styles(){return[s.A,p.A]}get normalizedSeverity(){var t;const e=(null!==(t=this.severity)&&void 0!==t?t:"").toLowerCase();return Object.values(o).includes(e)?e:void 0}get severityIcon(){return this.normalizedSeverity?h[this.normalizedSeverity].icon:"plus-circle-filled"}get severityColor(){return this.normalizedSeverity?h[this.normalizedSeverity].color:"neutral"}get hasInsight(){var t;return(null!==(t=this.insight)&&void 0!==t?t:"").trim().length>0}get detailRows(){return Array.isArray(this.details)?this.details:[]}get resolvedLocale(){return t=this.constructor.locale,Object.assign(Object.assign(Object.assign({},c),t),{dismiss:null!==(e=null==t?void 0:t.dismiss)&&void 0!==e?e:c.dismiss});var t,e}updateRelativeTime(){this.timestamp&&(this.relativeTime=this.formatRelativeTime(this.timestamp))}startTimer(){this.stopTimer(),this.timestamp&&(this.updateRelativeTime(),this.timerInterval=setInterval(()=>this.updateRelativeTime(),6e4))}stopTimer(){this.timerInterval&&(clearInterval(this.timerInterval),this.timerInterval=void 0)}willUpdate(t){t.has("timestamp")&&this.startTimer()}disconnectedCallback(){super.disconnectedCallback(),this.stopTimer()}formatRelativeTime(t){const e=this.resolvedLocale,i=Date.now(),o="number"==typeof t?t:new Date(t).getTime();if(isNaN(o))return"";const r=i-o;if(r<0)return e.justNow;const s=Math.floor(r/6e4);if(s<1)return e.justNow;if(s<60)return e.minutesAgo(s);const a=Math.floor(s/60);if(a<24)return e.hoursAgo(a);const n=Math.floor(a/24);return e.daysAgo(n)}handlePrimaryAction(){this.dispatchEvent(new CustomEvent("primary-action-clicked",{bubbles:!0,composed:!0}))}handleDismiss(){this.dispatchEvent(new CustomEvent("dismiss-clicked",{bubbles:!0,composed:!0}))}renderTimestamp(){return this.relativeTime?a.html`<span class="md-card-alert-timestamp">${this.relativeTime}</span>`:a.nothing}renderHeader(){return this.severity||this.category||this.timestamp?a.html`
2
2
  <div class="md-card-alert-header">
3
3
  <div class="md-card-alert-chips">
4
4
  <md-chip color=${this.severityColor} value=${this.category} small>
@@ -136,4 +136,4 @@ var t,e,i={4882(t,e,i){i.d(e,{IF:()=>o,eE:()=>m,vg:()=>y}),i(5983),i(2583),i(182
136
136
  <slot name="custom-right-content" part="chip-right"> </slot>
137
137
  </span>
138
138
  </md-tooltip>
139
- `}};c([(0,l.property)({type:String})],e.prototype,"color",void 0),c([(0,l.property)({type:String})],e.prototype,"bgColor",void 0),c([(0,l.property)({type:String})],e.prototype,"textColor",void 0),c([(0,l.property)({type:String})],e.prototype,"height",void 0),c([(0,l.property)({type:String})],e.prototype,"icon",void 0),c([(0,l.property)({type:String})],e.prototype,"iconColor",void 0),c([(0,l.property)({type:String})],e.prototype,"iconSize",void 0),c([(0,l.property)({type:String})],e.prototype,"role",void 0),c([(0,l.property)({type:String,reflect:!0})],e.prototype,"id",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"small",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"readonly",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"selected",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),c([(0,l.property)({type:Number})],e.prototype,"determinateProgress",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"indeterminateProgress",void 0),c([(0,l.property)({type:String})],e.prototype,"tooltipText",void 0),c([(0,l.property)({type:String})],e.prototype,"tooltipPlacement",void 0),c([(0,l.property)({type:String})],e.prototype,"iconSet",void 0),c([(0,l.property)({type:Boolean,attribute:"suppress-default-max-width"})],e.prototype,"suppressDefaultMaxWidth",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"decorative",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"shouldTruncateValue",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"focusable",void 0),c([(0,l.property)({type:String,hasChanged:(t,e)=>t!==e})],e.prototype,"value",void 0),c([(0,l.state)({hasChanged:(t,e)=>t!==e})],e.prototype,"textOverflow",void 0),c([(0,l.state)()],e.prototype,"renderedText",void 0),e=c([(0,s.w)("md-chip")],e),t.ELEMENT=e}(o||(o={}))}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var s=o[t]={exports:{}};return i[t](s,s.exports,r),s.exports}r.m=i,t=[],r.O=(e,i,o,s)=>{if(!i){var a=1/0;for(d=0;d<t.length;d++){for(var[i,o,s]=t[d],n=!0,l=0;l<i.length;l++)(!1&s||a>=s)&&Object.keys(r.O).every(t=>r.O[t](i[l]))?i.splice(l--,1):(n=!1,s<a&&(a=s));if(n){t.splice(d--,1);var p=o();void 0!==p&&(e=p)}}return e}s=s||0;for(var d=t.length;d>0&&t[d-1][2]>s;d--)t[d]=t[d-1];t[d]=[i,o,s]},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{r as __webpack_require__};e={2583:0,8619:0},r.C=t=>{var i,o,{__webpack_esm_ids__:s,__webpack_esm_modules__:a,__webpack_esm_runtime__:n}=t,l=0;for(i in a)r.o(a,i)&&(r.m[i]=a[i]);for(n&&n(r);l<s.length;l++)o=s[l],r.o(e,o)&&e[o]&&e[o][0](),e[s[l]]=0;r.O()},r.O.j=t=>0===e[t];import*as s from"../9609.js";r.C(s);import*as a from"../4084.js";r.C(a);import*as n from"../4955.js";r.C(n);import*as l from"../3517.js";r.C(l);import*as p from"../1156.js";r.C(p);import*as d from"../3305.js";r.C(d);import*as h from"../4739.js";r.C(h);import*as c from"../7154.js";r.C(c);import*as m from"../9773.js";r.C(m);import*as y from"../5983.js";r.C(y);import*as u from"../7755.js";r.C(u);import*as v from"../1821.js";r.C(v);import*as g from"../2364.js";r.C(g);import*as f from"../4980.js";r.C(f);import*as C from"../5308.js";r.C(C);import*as b from"../9938.js";r.C(b);import*as $ from"../9500.js";r.C($);import*as T from"../4781.js";r.C(T);import*as x from"../5584.js";r.C(x);import*as w from"../8227.js";r.C(w);import*as S from"../2900.js";r.C(S);import*as j from"../2050.js";r.C(j);import*as A from"../1280.js";r.C(A);import*as D from"../6343.js";r.C(D);import*as I from"../7582.js";r.C(I);import*as E from"../9613.js";r.C(E);import*as O from"../5323.js";r.C(O);import*as M from"../6631.js";r.C(M);import*as P from"../9558.js";r.C(P);import*as k from"../2708.js";r.C(k);import*as L from"../7137.js";r.C(L);var R=r.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,2364,4980,5308,9938,9500,4781,5584,8227,2900,2050,1280,6343,7582,9613,5323,6631,9558,2708,7137],()=>r(4882));const _=(R=r.O(R)).vg,z=R.eE,N=R.IF;export{_ as CardAlert,z as CardAlertDetailImpact,N as CardAlertSeverity};
139
+ `}};c([(0,l.property)({type:String})],e.prototype,"color",void 0),c([(0,l.property)({type:String})],e.prototype,"bgColor",void 0),c([(0,l.property)({type:String})],e.prototype,"textColor",void 0),c([(0,l.property)({type:String})],e.prototype,"height",void 0),c([(0,l.property)({type:String})],e.prototype,"icon",void 0),c([(0,l.property)({type:String})],e.prototype,"iconColor",void 0),c([(0,l.property)({type:String})],e.prototype,"iconSize",void 0),c([(0,l.property)({type:String})],e.prototype,"role",void 0),c([(0,l.property)({type:String,reflect:!0})],e.prototype,"id",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"small",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"readonly",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],e.prototype,"selected",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),c([(0,l.property)({type:Number})],e.prototype,"determinateProgress",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"indeterminateProgress",void 0),c([(0,l.property)({type:String})],e.prototype,"tooltipText",void 0),c([(0,l.property)({type:String})],e.prototype,"tooltipPlacement",void 0),c([(0,l.property)({type:String})],e.prototype,"iconSet",void 0),c([(0,l.property)({type:Boolean,attribute:"suppress-default-max-width"})],e.prototype,"suppressDefaultMaxWidth",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"decorative",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"shouldTruncateValue",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"focusable",void 0),c([(0,l.property)({type:String,hasChanged:(t,e)=>t!==e})],e.prototype,"value",void 0),c([(0,l.state)({hasChanged:(t,e)=>t!==e})],e.prototype,"textOverflow",void 0),c([(0,l.state)()],e.prototype,"renderedText",void 0),e=c([(0,s.w)("md-chip")],e),t.ELEMENT=e}(o||(o={}))}};const e={};function i(o){const r=e[o];if(void 0!==r)return r.exports;const s=e[o]={exports:{}};return t[o](s,s.exports,i),s.exports}i.m=t,(()=>{const t=[];i.O=(e,o,r,s)=>{if(o){s=s||0;for(var a=t.length;a>0&&t[a-1][2]>s;a--)t[a]=t[a-1];return void(t[a]=[o,r,s])}let n=1/0;for(a=0;a<t.length;a++){let[o,r,s]=t[a],p=!0;for(var l=0;l<o.length;l++)(!1&s||n>=s)&&Object.keys(i.O).every(t=>i.O[t](o[l]))?o.splice(l--,1):(p=!1,s<n&&(n=s));if(p){t.splice(a--,1);const i=r();void 0!==i&&(e=i)}}return e}})(),i.d=(t,e)=>{if(Array.isArray(e))for(var o=0;o<e.length;){var r=e[o++],s=e[o++];i.o(t,r)?0===s&&o++:0===s?Object.defineProperty(t,r,{enumerable:!0,value:e[o++]}):Object.defineProperty(t,r,{enumerable:!0,get:s})}else for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{i as __webpack_require__};(()=>{const t={2583:0,8619:0};i.C=e=>{let{__webpack_esm_ids__:o,__webpack_esm_modules__:r,__webpack_esm_runtime__:s}=e;var a,n,l=0;for(a in r)i.o(r,a)&&(i.m[a]=r[a]);for(s&&s(i);l<o.length;l++)n=o[l],i.o(t,n)&&t[n]&&t[n][0](),t[o[l]]=0;i.O()},i.O.j=e=>0===t[e]})();import*as o from"../9609.js";i.C(o);import*as r from"../4084.js";i.C(r);import*as s from"../4955.js";i.C(s);import*as a from"../3517.js";i.C(a);import*as n from"../1156.js";i.C(n);import*as l from"../3305.js";i.C(l);import*as p from"../4739.js";i.C(p);import*as d from"../7154.js";i.C(d);import*as h from"../9773.js";i.C(h);import*as c from"../5983.js";i.C(c);import*as m from"../7755.js";i.C(m);import*as y from"../1821.js";i.C(y);import*as u from"../2364.js";i.C(u);import*as v from"../4980.js";i.C(v);import*as g from"../5308.js";i.C(g);import*as f from"../9938.js";i.C(f);import*as C from"../9500.js";i.C(C);import*as b from"../4781.js";i.C(b);import*as $ from"../5584.js";i.C($);import*as T from"../8227.js";i.C(T);import*as x from"../2900.js";i.C(x);import*as w from"../2050.js";i.C(w);import*as S from"../1280.js";i.C(S);import*as j from"../6343.js";i.C(j);import*as A from"../7582.js";i.C(A);import*as D from"../9613.js";i.C(D);import*as I from"../5323.js";i.C(I);import*as E from"../6631.js";i.C(E);import*as O from"../9558.js";i.C(O);import*as M from"../2708.js";i.C(M);import*as P from"../7137.js";i.C(P);let k=i.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,2364,4980,5308,9938,9500,4781,5584,8227,2900,2050,1280,6343,7582,9613,5323,6631,9558,2708,7137],()=>i(4882));k=i.O(k);const L=k.vg,R=k.eE,_=k.IF;export{L as CardAlert,R as CardAlertDetailImpact,_ as CardAlertSeverity};
@@ -1,4 +1,4 @@
1
- var e,t,s={1499(e,t,s){s.d(t,{Z:()=>i}),s(5983),s(23),s(1821),s(6131),s(8552),s(708),s(9613);var i,o=s(9609),r=s(4084),a=s(2927),d=s(2577),l=s(2900),n=s(4242),c=s(8899),h=function(e,t,s,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var d=e.length-1;d>=0;d--)(o=e[d])&&(a=(r<3?o(a):r>3?o(t,s,a):o(t,s))||a);return r>3&&a&&Object.defineProperty(t,s,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.title="title",this.subtitle="",this.id="",this.info="",this.infoAriaLabel="Card Info",this.menuAriaLabel="Card Menu",this.menuOptions=[]}static get styles(){return[r.A,n.A]}handleCardClick(){this.dispatchEvent(new CustomEvent("card-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardKeyDown(e){e.code!==l.Uz.Enter&&e.code!==l.Uz.Space||this.dispatchEvent(new CustomEvent("card-keydown",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardMenuEvent(e,t){e.stopPropagation();const s=t.toLowerCase();this.dispatchEvent(new CustomEvent("card-menu-click",{detail:{id:this.id,type:s},bubbles:!0,composed:!0}))}handleCardMenuKeyDown(e,t){e.preventDefault(),this.dispatchEvent(new CustomEvent("card-menu-keydown",{detail:{id:this.id,type:t.toLowerCase(),keyCode:e.code},bubbles:!0,composed:!0}))}render(){return a.html`
1
+ var e={1499(e,t,s){s.d(t,{Z:()=>i}),s(5983),s(23),s(1821),s(6131),s(8552),s(708),s(9613);var i,o=s(9609),r=s(4084),a=s(2927),n=s(2577),l=s(2900),d=s(4242),c=s(8899),h=function(e,t,s,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(a=(r<3?o(a):r>3?o(t,s,a):o(t,s))||a);return r>3&&a&&Object.defineProperty(t,s,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.title="title",this.subtitle="",this.id="",this.info="",this.infoAriaLabel="Card Info",this.menuAriaLabel="Card Menu",this.menuOptions=[]}static get styles(){return[r.A,d.A]}handleCardClick(){this.dispatchEvent(new CustomEvent("card-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardKeyDown(e){e.code!==l.Uz.Enter&&e.code!==l.Uz.Space||this.dispatchEvent(new CustomEvent("card-keydown",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardMenuEvent(e,t){e.stopPropagation();const s=t.toLowerCase();this.dispatchEvent(new CustomEvent("card-menu-click",{detail:{id:this.id,type:s},bubbles:!0,composed:!0}))}handleCardMenuKeyDown(e,t){e.preventDefault(),this.dispatchEvent(new CustomEvent("card-menu-keydown",{detail:{id:this.id,type:t.toLowerCase(),keyCode:e.code},bubbles:!0,composed:!0}))}render(){return a.html`
2
2
  <div
3
3
  class="md-card"
4
4
  id="${this.id}"
@@ -43,7 +43,7 @@ var e,t,s={1499(e,t,s){s.d(t,{Z:()=>i}),s(5983),s(23),s(1821),s(6131),s(8552),s(
43
43
  </md-button>
44
44
  <div class="md-card-menu-list-items" style="width: 100%;">
45
45
  <md-list>
46
- ${(0,d.repeat)(this.menuOptions,(e,t)=>a.html`
46
+ ${(0,n.repeat)(this.menuOptions,(e,t)=>a.html`
47
47
  <md-list-item
48
48
  class="${"menu-item-"+t}"
49
49
  slot="list-item"
@@ -65,7 +65,7 @@ var e,t,s={1499(e,t,s){s.d(t,{Z:()=>i}),s(5983),s(23),s(1821),s(6131),s(8552),s(
65
65
  <slot name="footer"> </slot>
66
66
  </div>
67
67
  </div>
68
- `}};h([(0,c.property)({type:String})],t.prototype,"title",void 0),h([(0,c.property)({type:String})],t.prototype,"subtitle",void 0),h([(0,c.property)({type:String})],t.prototype,"id",void 0),h([(0,c.property)({type:String})],t.prototype,"info",void 0),h([(0,c.property)({type:String,attribute:"info-aria-label"})],t.prototype,"infoAriaLabel",void 0),h([(0,c.property)({type:String,attribute:"menu-aria-label"})],t.prototype,"menuAriaLabel",void 0),h([(0,c.property)({type:Array})],t.prototype,"menuOptions",void 0),t=h([(0,o.w)("md-card")],t),e.ELEMENT=t}(i||(i={}))},23(e,t,s){s(1821);var i,o=s(2900),r=s(7704),a=s(9609),d=s(4084),l=s(2927),n=s(8899),c=s(4955),h=s(3517),p=s(6816),m=function(e,t,s,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var d=e.length-1;d>=0;d--)(o=e[d])&&(a=(r<3?o(a):r>3?o(t,s,a):o(t,s))||a);return r>3&&a&&Object.defineProperty(t,s,a),a};!function(e){let t=class extends((0,r.yC)(l.LitElement)){constructor(){super(...arguments),this.disabled=!1,this.checked=!1,this.value="Select favorite",this.id="",this.label="Favorite"}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleElectKeyDown),this.addEventListener("click",this.handleFavorite)}static get styles(){return[d.A,p.A]}handleFavorite(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("favorite-toggle",{detail:{active:this.checked,value:this.value},bubbles:!0,composed:!0})))}handleElectKeyDown(e){e.code!==o.Uz.Enter&&e.code!==o.Uz.Space||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("favorite-keydown",{detail:{active:this.checked,value:this.value},bubbles:!0,composed:!0})))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleElectKeyDown),this.removeEventListener("click",this.handleFavorite)}get favoriteClassMap(){return{"md-favorite--active":this.checked,"md-favorite--disabled":this.disabled}}render(){return l.html`
68
+ `}};h([(0,c.property)({type:String})],t.prototype,"title",void 0),h([(0,c.property)({type:String})],t.prototype,"subtitle",void 0),h([(0,c.property)({type:String})],t.prototype,"id",void 0),h([(0,c.property)({type:String})],t.prototype,"info",void 0),h([(0,c.property)({type:String,attribute:"info-aria-label"})],t.prototype,"infoAriaLabel",void 0),h([(0,c.property)({type:String,attribute:"menu-aria-label"})],t.prototype,"menuAriaLabel",void 0),h([(0,c.property)({type:Array})],t.prototype,"menuOptions",void 0),t=h([(0,o.w)("md-card")],t),e.ELEMENT=t}(i||(i={}))},23(e,t,s){s(1821);var i,o=s(2900),r=s(7704),a=s(9609),n=s(4084),l=s(2927),d=s(8899),c=s(4955),h=s(3517),p=s(6816),m=function(e,t,s,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(a=(r<3?o(a):r>3?o(t,s,a):o(t,s))||a);return r>3&&a&&Object.defineProperty(t,s,a),a};!function(e){let t=class extends((0,r.yC)(l.LitElement)){constructor(){super(...arguments),this.disabled=!1,this.checked=!1,this.value="Select favorite",this.id="",this.label="Favorite"}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleElectKeyDown),this.addEventListener("click",this.handleFavorite)}static get styles(){return[n.A,p.A]}handleFavorite(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("favorite-toggle",{detail:{active:this.checked,value:this.value},bubbles:!0,composed:!0})))}handleElectKeyDown(e){e.code!==o.Uz.Enter&&e.code!==o.Uz.Space||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("favorite-keydown",{detail:{active:this.checked,value:this.value},bubbles:!0,composed:!0})))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleElectKeyDown),this.removeEventListener("click",this.handleFavorite)}get favoriteClassMap(){return{"md-favorite--active":this.checked,"md-favorite--disabled":this.disabled}}render(){return l.html`
69
69
  <label
70
70
  for="favorite-checkbox"
71
71
  id="${this.id}"
@@ -87,12 +87,12 @@ var e,t,s={1499(e,t,s){s.d(t,{Z:()=>i}),s(5983),s(23),s(1821),s(6131),s(8552),s(
87
87
  size="16"
88
88
  ></md-icon>
89
89
  </label>
90
- `}};m([(0,n.property)({type:Boolean})],t.prototype,"disabled",void 0),m([(0,n.property)({type:Boolean})],t.prototype,"checked",void 0),m([(0,n.property)({type:String})],t.prototype,"value",void 0),m([(0,n.property)({type:String})],t.prototype,"id",void 0),m([(0,n.property)({type:String})],t.prototype,"label",void 0),t=m([(0,a.w)("md-favorite")],t),e.ELEMENT=t}(i||(i={}))},6131(e,t,s){var i,o=s(2900),r=s(7704),a=s(9609),d=s(4084),l=s(2927),n=s(8899),c=s(3517),h=s(740),p=function(e,t,s,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var d=e.length-1;d>=0;d--)(o=e[d])&&(a=(r<3?o(a):r>3?o(t,s,a):o(t,s))||a);return r>3&&a&&Object.defineProperty(t,s,a),a};!function(e){let t=class extends((0,r.Io)(l.LitElement)){constructor(){super(...arguments),this.alignment="vertical",this.label="option",this.activated=-1,this._role="listbox"}firstUpdated(e){super.firstUpdated(e),"none"!==this._role&&this.setAttribute("aria-label",this.label)}notifySelectedChange(){this.dispatchEvent(new CustomEvent("list-item-change",{detail:{selected:this.selected},bubbles:!0,composed:!0}))}isFocusable(e){return!e.hasAttribute("hidden")}connectedCallback(){super.connectedCallback();const e=this.getAttribute("role");this._role=e||"listbox",this.removeAttribute("role"),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}findListItemIndex(e){const t=e.composedPath();return this.slotted.findIndex(e=>t.includes(e))}switchListItemOnArrowPress(e,t=1){const s=super.getAvailableSelectedIndex(e,t);-1!==s&&(this.selected=s)}setActivated(e){-1!==e&&(this.activated=e,this.selected=e,this.setSelected(e))}findSelectedListItemIndex(){return this.slotted.findIndex(e=>e.selected)}setSelected(e){const t=this.findSelectedListItemIndex();-1!==t&&t!==e&&(this.slotted[t].selected=!1),this.slotted[e]&&(this.slotted[e].selected=!0)}updated(e){super.updated(e),e.has("slotted")&&this.setActivated(this.activated),e.has("activated")&&this.setActivated(this.activated),e.has("label")&&"none"!==this._role&&this.setAttribute("aria-label",this.label)}isListItemDisabled(e){var t;const s=this.slotted[e];return null===(t=null==s?void 0:s.disabled)||void 0===t||t}handleClick(e){const t=this.findListItemIndex(e);-1!==t&&(this.isListItemDisabled(t)||(this.setActivated(t),this.notifySelectedChange()))}shouldElementHandleKey(e,t){if(e.hasAttribute("data-handles-keys")||e.closest("[data-handles-keys]"))return!0;const s=e.tagName.toLowerCase(),i=e.nodeName.toLowerCase(),r="input"===i||"textarea"===i||"select"===i,a=e.getAttribute("role"),d=e.hasAttribute("contenteditable")||"false"===e.getAttribute("aria-readonly"),l=[o.Uz.ArrowUp,o.Uz.ArrowDown,o.Uz.ArrowLeft,o.Uz.ArrowRight],n=[o.Uz.Enter,o.Uz.Space];return l.includes(t)?r||d||"textbox"===a||"combobox"===a||"listbox"===a||"menu"===a||"slider"===a||"scrollbar"===a||"tablist"===a||s.startsWith("md-")&&("md-input"===s||"md-select"===s||"md-combobox"===s):n.includes(t)?"button"===a||"link"===a||"checkbox"===a||"radio"===a||"button"===s||"a"===s||"md-button"===s||"md-checkbox"===s||"md-radio"===s||r:(t===o.Uz.Home||t===o.Uz.End)&&(r||d||"textbox"===a||"md-input"===s)}handleKeyDown(e){const t=e.composedPath()[0];if(this.shouldElementHandleKey(t,e.code))return;const{code:s}=e;switch(s){case o.Uz.End:this.switchListItemOnArrowPress(this.slotted.length-1);break;case o.Uz.Home:this.switchListItemOnArrowPress(0);break;case o.Uz.ArrowUp:case o.Uz.ArrowLeft:e.preventDefault(),0===this.selected?this.switchListItemOnArrowPress(this.slotted.length-1,-1):this.switchListItemOnArrowPress(this.selected-1,-1);break;case o.Uz.ArrowDown:case o.Uz.ArrowRight:e.preventDefault(),this.selected===this.slotted.length-1?this.switchListItemOnArrowPress(0):this.switchListItemOnArrowPress(this.selected+1);break;case o.Uz.Enter:case o.Uz.Space:this.isListItemDisabled(this.selected)||(this.setActivated(this.selected),this.notifySelectedChange())}}get slotElement(){return this.listItemSlot}static get styles(){return[d.A,h.A]}render(){return l.html`
90
+ `}};m([(0,d.property)({type:Boolean})],t.prototype,"disabled",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"checked",void 0),m([(0,d.property)({type:String})],t.prototype,"value",void 0),m([(0,d.property)({type:String})],t.prototype,"id",void 0),m([(0,d.property)({type:String})],t.prototype,"label",void 0),t=m([(0,a.w)("md-favorite")],t),e.ELEMENT=t}(i||(i={}))},6131(e,t,s){var i,o=s(2900),r=s(7704),a=s(9609),n=s(4084),l=s(2927),d=s(8899),c=s(3517),h=s(740),p=function(e,t,s,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(a=(r<3?o(a):r>3?o(t,s,a):o(t,s))||a);return r>3&&a&&Object.defineProperty(t,s,a),a};!function(e){let t=class extends((0,r.Io)(l.LitElement)){constructor(){super(...arguments),this.alignment="vertical",this.label="option",this.activated=-1,this._role="listbox"}firstUpdated(e){super.firstUpdated(e),"none"!==this._role&&this.setAttribute("aria-label",this.label)}notifySelectedChange(){this.dispatchEvent(new CustomEvent("list-item-change",{detail:{selected:this.selected},bubbles:!0,composed:!0}))}isFocusable(e){return!e.hasAttribute("hidden")}connectedCallback(){super.connectedCallback();const e=this.getAttribute("role");this._role=e||"listbox",this.removeAttribute("role"),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}findListItemIndex(e){const t=e.composedPath();return this.slotted.findIndex(e=>t.includes(e))}switchListItemOnArrowPress(e,t=1){const s=super.getAvailableSelectedIndex(e,t);-1!==s&&(this.selected=s)}setActivated(e){-1!==e&&(this.activated=e,this.selected=e,this.setSelected(e))}findSelectedListItemIndex(){return this.slotted.findIndex(e=>e.selected)}setSelected(e){const t=this.findSelectedListItemIndex();-1!==t&&t!==e&&(this.slotted[t].selected=!1),this.slotted[e]&&(this.slotted[e].selected=!0)}updated(e){super.updated(e),e.has("slotted")&&this.setActivated(this.activated),e.has("activated")&&this.setActivated(this.activated),e.has("label")&&"none"!==this._role&&this.setAttribute("aria-label",this.label)}isListItemDisabled(e){var t;const s=this.slotted[e];return null===(t=null==s?void 0:s.disabled)||void 0===t||t}handleClick(e){const t=this.findListItemIndex(e);-1!==t&&(this.isListItemDisabled(t)||(this.setActivated(t),this.notifySelectedChange()))}shouldElementHandleKey(e,t){if(e.hasAttribute("data-handles-keys")||e.closest("[data-handles-keys]"))return!0;const s=e.tagName.toLowerCase(),i=e.nodeName.toLowerCase(),r="input"===i||"textarea"===i||"select"===i,a=e.getAttribute("role"),n=e.hasAttribute("contenteditable")||"false"===e.getAttribute("aria-readonly"),l=[o.Uz.ArrowUp,o.Uz.ArrowDown,o.Uz.ArrowLeft,o.Uz.ArrowRight],d=[o.Uz.Enter,o.Uz.Space];return l.includes(t)?r||n||"textbox"===a||"combobox"===a||"listbox"===a||"menu"===a||"slider"===a||"scrollbar"===a||"tablist"===a||s.startsWith("md-")&&("md-input"===s||"md-select"===s||"md-combobox"===s):d.includes(t)?"button"===a||"link"===a||"checkbox"===a||"radio"===a||"button"===s||"a"===s||"md-button"===s||"md-checkbox"===s||"md-radio"===s||r:(t===o.Uz.Home||t===o.Uz.End)&&(r||n||"textbox"===a||"md-input"===s)}handleKeyDown(e){const t=e.composedPath()[0];if(this.shouldElementHandleKey(t,e.code))return;const{code:s}=e;switch(s){case o.Uz.End:this.switchListItemOnArrowPress(this.slotted.length-1);break;case o.Uz.Home:this.switchListItemOnArrowPress(0);break;case o.Uz.ArrowUp:case o.Uz.ArrowLeft:e.preventDefault(),0===this.selected?this.switchListItemOnArrowPress(this.slotted.length-1,-1):this.switchListItemOnArrowPress(this.selected-1,-1);break;case o.Uz.ArrowDown:case o.Uz.ArrowRight:e.preventDefault(),this.selected===this.slotted.length-1?this.switchListItemOnArrowPress(0):this.switchListItemOnArrowPress(this.selected+1);break;case o.Uz.Enter:case o.Uz.Space:this.isListItemDisabled(this.selected)||(this.setActivated(this.selected),this.notifySelectedChange())}}get slotElement(){return this.listItemSlot}static get styles(){return[n.A,h.A]}render(){return l.html`
91
91
  <ul role=${(0,c.ifDefined)("list"!==this._role?this._role:void 0)} class="md-list" part="list">
92
92
  <slot name="list-item"></slot>
93
93
  </ul>
94
- `}};p([(0,n.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),p([(0,n.property)({type:String})],t.prototype,"label",void 0),p([(0,n.property)({type:Number,reflect:!0})],t.prototype,"activated",void 0),p([(0,n.query)("slot[name='list-item']")],t.prototype,"listItemSlot",void 0),t=p([(0,a.w)("md-list")],t),e.ELEMENT=t}(i||(i={}))},8552(e,t,s){var i,o=s(7704),r=s(9609),a=s(4084),d=s(2927),l=s(8899),n=s(4955),c=s(740),h=function(e,t,s,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var d=e.length-1;d>=0;d--)(o=e[d])&&(a=(r<3?o(a):r>3?o(t,s,a):o(t,s))||a);return r>3&&a&&Object.defineProperty(t,s,a),a};!function(e){let t=class extends((0,o.yC)(d.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,"option"===this.role&&this.setAttribute("aria-selected",`${e}`),this.requestUpdate("selected",t)}get listItemTemplateClassMap(){return{[`md-list-item--${this.shape}`]:!!this.shape}}static get styles(){return[a.A,c.A]}render(){return d.html`
95
- <div class="md-list-item ${(0,n.classMap)(this.listItemTemplateClassMap)}" part="list-item">
94
+ `}};p([(0,d.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),p([(0,d.property)({type:String})],t.prototype,"label",void 0),p([(0,d.property)({type:Number,reflect:!0})],t.prototype,"activated",void 0),p([(0,d.query)("slot[name='list-item']")],t.prototype,"listItemSlot",void 0),t=p([(0,a.w)("md-list")],t),e.ELEMENT=t}(i||(i={}))},8552(e,t,s){var i,o=s(7704),r=s(9609),a=s(4084),n=s(2927),l=s(8899),d=s(4955),c=s(740),h=function(e,t,s,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(a=(r<3?o(a):r>3?o(t,s,a):o(t,s))||a);return r>3&&a&&Object.defineProperty(t,s,a),a};!function(e){let t=class extends((0,o.yC)(n.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,"option"===this.role&&this.setAttribute("aria-selected",`${e}`),this.requestUpdate("selected",t)}get listItemTemplateClassMap(){return{[`md-list-item--${this.shape}`]:!!this.shape}}static get styles(){return[a.A,c.A]}render(){return n.html`
95
+ <div class="md-list-item ${(0,d.classMap)(this.listItemTemplateClassMap)}" part="list-item">
96
96
  <slot></slot>
97
97
  </div>
98
- `}};h([(0,l.property)({type:String,reflect:!0})],t.prototype,"role",void 0),h([(0,l.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),h([(0,l.property)({type:String,reflect:!0})],t.prototype,"shape",void 0),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=h([(0,r.w)("md-list-item")],t),e.ELEMENT=t}(i||(i={}))},7704(e,t,s){s.d(t,{Io:()=>r.I,UM:()=>o.U,yC:()=>i.y}),s(2364);var i=s(3203),o=(s(9938),s(5201)),r=s(4781);s(608)}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return s[e](r,r.exports,o),r.exports}o.m=s,e=[],o.O=(t,s,i,r)=>{if(!s){var a=1/0;for(c=0;c<e.length;c++){for(var[s,i,r]=e[c],d=!0,l=0;l<s.length;l++)(!1&r||a>=r)&&Object.keys(o.O).every(e=>o.O[e](s[l]))?s.splice(l--,1):(d=!1,r<a&&(a=r));if(d){e.splice(c--,1);var n=i();void 0!==n&&(t=n)}}return t}r=r||0;for(var c=e.length;c>0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[s,i,r]},o.d=(e,t)=>{for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);export{o as __webpack_require__};t={23:0,561:0,1462:0,2942:0,5323:0,6131:0,7704:0,8180:0,8552:0},o.C=e=>{var s,i,{__webpack_esm_ids__:r,__webpack_esm_modules__:a,__webpack_esm_runtime__:d}=e,l=0;for(s in a)o.o(a,s)&&(o.m[s]=a[s]);for(d&&d(o);l<r.length;l++)i=r[l],o.o(t,i)&&t[i]&&t[i][0](),t[r[l]]=0;o.O()},o.O.j=e=>0===t[e];import*as r from"../9609.js";o.C(r);import*as a from"../4084.js";o.C(a);import*as d from"../4955.js";o.C(d);import*as l from"../3517.js";o.C(l);import*as n from"../1156.js";o.C(n);import*as c from"../3305.js";o.C(c);import*as h from"../4739.js";o.C(h);import*as p from"../7154.js";o.C(p);import*as m from"../9773.js";o.C(m);import*as u from"../5983.js";o.C(u);import*as b from"../7755.js";o.C(b);import*as f from"../1821.js";o.C(f);import*as v from"../2364.js";o.C(v);import*as y from"../4980.js";o.C(y);import*as C from"../5308.js";o.C(C);import*as g from"../9500.js";o.C(g);import*as w from"../519.js";o.C(w);import*as k from"../2577.js";o.C(k);import*as E from"../2050.js";o.C(E);import*as j from"../8441.js";o.C(j);import*as A from"../6343.js";o.C(A);import*as L from"../7582.js";o.C(L);import*as x from"../608.js";o.C(x);import*as O from"../6525.js";o.C(O);import*as _ from"../9613.js";o.C(_);import*as I from"../7162.js";o.C(I);import*as S from"../708.js";o.C(S);import*as U from"../1756.js";o.C(U);import*as $ from"../740.js";o.C($);import*as z from"../6816.js";o.C(z);import*as D from"../7557.js";o.C(D);import*as P from"../4242.js";o.C(P);var M=o.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,2364,4980,5308,9500,519,2577,2050,8441,6343,7582,608,6525,9613,7162,708,1756,740,6816,7557,4242],()=>o(1499));const R=(M=o.O(M)).Z;export{R as Card};
98
+ `}};h([(0,l.property)({type:String,reflect:!0})],t.prototype,"role",void 0),h([(0,l.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),h([(0,l.property)({type:String,reflect:!0})],t.prototype,"shape",void 0),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=h([(0,r.w)("md-list-item")],t),e.ELEMENT=t}(i||(i={}))},7704(e,t,s){s.d(t,{Io:()=>r.I,UM:()=>o.U,yC:()=>i.y}),s(2364);var i=s(3203),o=(s(9938),s(5201)),r=s(4781);s(608)}};const t={};function s(i){const o=t[i];if(void 0!==o)return o.exports;const r=t[i]={exports:{}};return e[i](r,r.exports,s),r.exports}s.m=e,(()=>{const e=[];s.O=(t,i,o,r)=>{if(i){r=r||0;for(var a=e.length;a>0&&e[a-1][2]>r;a--)e[a]=e[a-1];return void(e[a]=[i,o,r])}let n=1/0;for(a=0;a<e.length;a++){let[i,o,r]=e[a],d=!0;for(var l=0;l<i.length;l++)(!1&r||n>=r)&&Object.keys(s.O).every(e=>s.O[e](i[l]))?i.splice(l--,1):(d=!1,r<n&&(n=r));if(d){e.splice(a--,1);const s=o();void 0!==s&&(t=s)}}return t}})(),s.d=(e,t)=>{if(Array.isArray(t))for(var i=0;i<t.length;){var o=t[i++],r=t[i++];s.o(e,o)?0===r&&i++:0===r?Object.defineProperty(e,o,{enumerable:!0,value:t[i++]}):Object.defineProperty(e,o,{enumerable:!0,get:r})}else for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);export{s as __webpack_require__};(()=>{const e={23:0,561:0,1462:0,2942:0,5323:0,6131:0,7704:0,8180:0,8552:0};s.C=t=>{let{__webpack_esm_ids__:i,__webpack_esm_modules__:o,__webpack_esm_runtime__:r}=t;var a,n,l=0;for(a in o)s.o(o,a)&&(s.m[a]=o[a]);for(r&&r(s);l<i.length;l++)n=i[l],s.o(e,n)&&e[n]&&e[n][0](),e[i[l]]=0;s.O()},s.O.j=t=>0===e[t]})();import*as i from"../9609.js";s.C(i);import*as o from"../4084.js";s.C(o);import*as r from"../4955.js";s.C(r);import*as a from"../3517.js";s.C(a);import*as n from"../1156.js";s.C(n);import*as l from"../3305.js";s.C(l);import*as d from"../4739.js";s.C(d);import*as c from"../7154.js";s.C(c);import*as h from"../9773.js";s.C(h);import*as p from"../5983.js";s.C(p);import*as m from"../7755.js";s.C(m);import*as u from"../1821.js";s.C(u);import*as b from"../2364.js";s.C(b);import*as f from"../4980.js";s.C(f);import*as v from"../5308.js";s.C(v);import*as y from"../9500.js";s.C(y);import*as C from"../519.js";s.C(C);import*as g from"../2577.js";s.C(g);import*as w from"../2050.js";s.C(w);import*as k from"../8441.js";s.C(k);import*as E from"../6343.js";s.C(E);import*as j from"../7582.js";s.C(j);import*as A from"../608.js";s.C(A);import*as L from"../6525.js";s.C(L);import*as x from"../9613.js";s.C(x);import*as O from"../7162.js";s.C(O);import*as _ from"../708.js";s.C(_);import*as I from"../1756.js";s.C(I);import*as S from"../740.js";s.C(S);import*as U from"../6816.js";s.C(U);import*as $ from"../7557.js";s.C($);import*as z from"../4242.js";s.C(z);let D=s.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,2364,4980,5308,9500,519,2577,2050,8441,6343,7582,608,6525,9613,7162,708,1756,740,6816,7557,4242],()=>s(1499));D=s.O(D);const P=D.Z;export{P as Card};
@@ -1,4 +1,4 @@
1
- import*as t from"luxon";var e,r,a={7540(t,e,r){r.d(e,{h:()=>h,o:()=>m}),r(5983),r(1821),r(9613);var a=r(9609),o=r(4084),i=r(2927),s=r(8899),n=r(4955),d=r(9642),p=r(513),l=function(t,e,r,a){var o,i=arguments.length,s=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};const c="hh:mm:ss";var m,h;!function(t){t.DEFAULT="default",t.ACTIVE="active",t.INACTIVE="inactive"}(m||(m={})),function(t){let e=class extends i.LitElement{constructor(){super(...arguments),this.state=m.DEFAULT,this.identifier=void 0,this.header=void 0,this.info=void 0,this.data=void 0,this.createdTime=0,this.active=!1,this.expandable=!1,this.expandAriaLabel="Expand for more details",this.renderedData=""}connectedCallback(){super.connectedCallback(),this.checkForExtraInfoSlot()}disconnectedCallback(){super.disconnectedCallback(),this.clearInterval()}clearInterval(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}static get styles(){return[o.A,p.A]}get isCardActive(){return this.state===m.ACTIVE}willUpdate(t){super.willUpdate(t),(t.has("active")||t.has("data")||t.has("createdTime"))&&this.calculateRenderedData()}expandCardToggled(){var t;this.state=this.isCardActive?m.DEFAULT:m.ACTIVE,this.dispatchEvent(new CustomEvent("expand-card-toggled",{detail:{identifier:null!==(t=this.identifier)&&void 0!==t?t:"",active:this.isCardActive},bubbles:!0,composed:!0}))}checkForExtraInfoSlot(){var t;(null===(t=this.extraInfoSlot)||void 0===t?void 0:t.assignedNodes().length)>0?this.setAttribute("has-extra-info",""):this.removeAttribute("has-extra-info")}handleExtraInfoSlotChange(t){this.checkForExtraInfoSlot()}get cardClassMap(){return{"md-card-v2":!0,[`md-card--${this.state}`]:!0}}get contentClassMap(){return{"md-card-v2-content":!0,inactive:this.state===m.INACTIVE}}get footerExpandClassMap(){return{"md-card-v2-footer-expand":!0,hidden:!this.expandable}}get expandCardHandler(){return this.expandable?this.expandCardToggled:null}renderHeader(){return i.html`
1
+ import*as t from"luxon";var e={7540(t,e,r){r.d(e,{h:()=>h,o:()=>m}),r(5983),r(1821),r(9613);var a=r(9609),o=r(4084),i=r(2927),s=r(8899),n=r(4955),d=r(9642),l=r(513),p=function(t,e,r,a){var o,i=arguments.length,s=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,a);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};const c="hh:mm:ss";var m,h;!function(t){t.DEFAULT="default",t.ACTIVE="active",t.INACTIVE="inactive"}(m||(m={})),function(t){let e=class extends i.LitElement{constructor(){super(...arguments),this.state=m.DEFAULT,this.identifier=void 0,this.header=void 0,this.info=void 0,this.data=void 0,this.createdTime=0,this.active=!1,this.expandable=!1,this.expandAriaLabel="Expand for more details",this.renderedData=""}connectedCallback(){super.connectedCallback(),this.checkForExtraInfoSlot()}disconnectedCallback(){super.disconnectedCallback(),this.clearInterval()}clearInterval(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}static get styles(){return[o.A,l.A]}get isCardActive(){return this.state===m.ACTIVE}willUpdate(t){super.willUpdate(t),(t.has("active")||t.has("data")||t.has("createdTime"))&&this.calculateRenderedData()}expandCardToggled(){var t;this.state=this.isCardActive?m.DEFAULT:m.ACTIVE,this.dispatchEvent(new CustomEvent("expand-card-toggled",{detail:{identifier:null!==(t=this.identifier)&&void 0!==t?t:"",active:this.isCardActive},bubbles:!0,composed:!0}))}checkForExtraInfoSlot(){var t;(null===(t=this.extraInfoSlot)||void 0===t?void 0:t.assignedNodes().length)>0?this.setAttribute("has-extra-info",""):this.removeAttribute("has-extra-info")}handleExtraInfoSlotChange(t){this.checkForExtraInfoSlot()}get cardClassMap(){return{"md-card-v2":!0,[`md-card--${this.state}`]:!0}}get contentClassMap(){return{"md-card-v2-content":!0,inactive:this.state===m.INACTIVE}}get footerExpandClassMap(){return{"md-card-v2-footer-expand":!0,hidden:!this.expandable}}get expandCardHandler(){return this.expandable?this.expandCardToggled:null}renderHeader(){return i.html`
2
2
  <div class="md-card-v2-header-title">
3
3
  <h3>${this.header}</h3>
4
4
  ${this.info?i.html`
@@ -38,4 +38,4 @@ import*as t from"luxon";var e,r,a={7540(t,e,r){r.d(e,{h:()=>h,o:()=>m}),r(5983),
38
38
  </div>
39
39
  ${this.renderFooter()}
40
40
  </div>
41
- `}};l([(0,s.property)({type:String})],e.prototype,"state",void 0),l([(0,s.property)({type:String})],e.prototype,"identifier",void 0),l([(0,s.property)({type:String})],e.prototype,"header",void 0),l([(0,s.property)({type:String})],e.prototype,"info",void 0),l([(0,s.property)({type:String})],e.prototype,"data",void 0),l([(0,s.property)({type:Number})],e.prototype,"createdTime",void 0),l([(0,s.property)({type:Boolean})],e.prototype,"active",void 0),l([(0,s.property)({type:Boolean,reflect:!0})],e.prototype,"expandable",void 0),l([(0,s.property)({type:String,attribute:"expand-aria-label"})],e.prototype,"expandAriaLabel",void 0),l([(0,s.query)('slot[name="card-extra-info"]')],e.prototype,"extraInfoSlot",void 0),l([(0,s.state)()],e.prototype,"interval",void 0),l([(0,s.state)()],e.prototype,"renderedData",void 0),e=l([(0,a.w)("md-card-v2")],e),t.ELEMENT=e}(h||(h={}))},9642(e,r,a){var o,i;e.exports=(o={Duration:()=>t.Duration},i={},a.d(i,o),i)}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={exports:{}};return a[t](r,r.exports,i),r.exports}i.m=a,e=[],i.O=(t,r,a,o)=>{if(!r){var s=1/0;for(l=0;l<e.length;l++){for(var[r,a,o]=e[l],n=!0,d=0;d<r.length;d++)(!1&o||s>=o)&&Object.keys(i.O).every(t=>i.O[t](r[d]))?r.splice(d--,1):(n=!1,o<s&&(s=o));if(n){e.splice(l--,1);var p=a();void 0!==p&&(t=p)}}return t}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[r,a,o]},i.d=(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{i as __webpack_require__};r={1521:0,9642:0},i.C=t=>{var e,a,{__webpack_esm_ids__:o,__webpack_esm_modules__:s,__webpack_esm_runtime__:n}=t,d=0;for(e in s)i.o(s,e)&&(i.m[e]=s[e]);for(n&&n(i);d<o.length;d++)a=o[d],i.o(r,a)&&r[a]&&r[a][0](),r[o[d]]=0;i.O()},i.O.j=t=>0===r[t];import*as s from"../9609.js";i.C(s);import*as n from"../4084.js";i.C(n);import*as d from"../4955.js";i.C(d);import*as p from"../3517.js";i.C(p);import*as l from"../1156.js";i.C(l);import*as c from"../3305.js";i.C(c);import*as m from"../4739.js";i.C(m);import*as h from"../7154.js";i.C(h);import*as v from"../9773.js";i.C(v);import*as f from"../5983.js";i.C(f);import*as C from"../7755.js";i.C(C);import*as u from"../1821.js";i.C(u);import*as y from"../2364.js";i.C(y);import*as x from"../4980.js";i.C(x);import*as b from"../5308.js";i.C(b);import*as g from"../9938.js";i.C(g);import*as j from"../9500.js";i.C(j);import*as E from"../4781.js";i.C(E);import*as D from"../5584.js";i.C(D);import*as A from"../8227.js";i.C(A);import*as I from"../2900.js";i.C(I);import*as $ from"../2050.js";i.C($);import*as _ from"../1280.js";i.C(_);import*as T from"../6343.js";i.C(T);import*as w from"../7582.js";i.C(w);import*as S from"../9613.js";i.C(S);import*as O from"../5323.js";i.C(O);import*as k from"../513.js";i.C(k);var M=i.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,2364,4980,5308,9938,9500,4781,5584,8227,2900,2050,1280,6343,7582,9613,5323,513],()=>i(7540));const F=(M=i.O(M)).o,L=M.h;export{F as CardState,L as CardV2};
41
+ `}};p([(0,s.property)({type:String})],e.prototype,"state",void 0),p([(0,s.property)({type:String})],e.prototype,"identifier",void 0),p([(0,s.property)({type:String})],e.prototype,"header",void 0),p([(0,s.property)({type:String})],e.prototype,"info",void 0),p([(0,s.property)({type:String})],e.prototype,"data",void 0),p([(0,s.property)({type:Number})],e.prototype,"createdTime",void 0),p([(0,s.property)({type:Boolean})],e.prototype,"active",void 0),p([(0,s.property)({type:Boolean,reflect:!0})],e.prototype,"expandable",void 0),p([(0,s.property)({type:String,attribute:"expand-aria-label"})],e.prototype,"expandAriaLabel",void 0),p([(0,s.query)('slot[name="card-extra-info"]')],e.prototype,"extraInfoSlot",void 0),p([(0,s.state)()],e.prototype,"interval",void 0),p([(0,s.state)()],e.prototype,"renderedData",void 0),e=p([(0,a.w)("md-card-v2")],e),t.ELEMENT=e}(h||(h={}))},9642(e,r,a){e.exports=(t=>{const e={};return a.d(e,t),e})({Duration:()=>t.Duration})}};const r={};function a(t){const o=r[t];if(void 0!==o)return o.exports;const i=r[t]={exports:{}};return e[t](i,i.exports,a),i.exports}a.m=e,(()=>{const t=[];a.O=(e,r,o,i)=>{if(r){i=i||0;for(var s=t.length;s>0&&t[s-1][2]>i;s--)t[s]=t[s-1];return void(t[s]=[r,o,i])}let n=1/0;for(s=0;s<t.length;s++){let[r,o,i]=t[s],l=!0;for(var d=0;d<r.length;d++)(!1&i||n>=i)&&Object.keys(a.O).every(t=>a.O[t](r[d]))?r.splice(d--,1):(l=!1,i<n&&(n=i));if(l){t.splice(s--,1);const r=o();void 0!==r&&(e=r)}}return e}})(),a.d=(t,e)=>{if(Array.isArray(e))for(var r=0;r<e.length;){var o=e[r++],i=e[r++];a.o(t,o)?0===i&&r++:0===i?Object.defineProperty(t,o,{enumerable:!0,value:e[r++]}):Object.defineProperty(t,o,{enumerable:!0,get:i})}else for(var o in e)a.o(e,o)&&!a.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{a as __webpack_require__};(()=>{const t={1521:0,9642:0};a.C=e=>{let{__webpack_esm_ids__:r,__webpack_esm_modules__:o,__webpack_esm_runtime__:i}=e;var s,n,d=0;for(s in o)a.o(o,s)&&(a.m[s]=o[s]);for(i&&i(a);d<r.length;d++)n=r[d],a.o(t,n)&&t[n]&&t[n][0](),t[r[d]]=0;a.O()},a.O.j=e=>0===t[e]})();import*as o from"../9609.js";a.C(o);import*as i from"../4084.js";a.C(i);import*as s from"../4955.js";a.C(s);import*as n from"../3517.js";a.C(n);import*as d from"../1156.js";a.C(d);import*as l from"../3305.js";a.C(l);import*as p from"../4739.js";a.C(p);import*as c from"../7154.js";a.C(c);import*as m from"../9773.js";a.C(m);import*as h from"../5983.js";a.C(h);import*as v from"../7755.js";a.C(v);import*as f from"../1821.js";a.C(f);import*as u from"../2364.js";a.C(u);import*as C from"../4980.js";a.C(C);import*as y from"../5308.js";a.C(y);import*as b from"../9938.js";a.C(b);import*as x from"../9500.js";a.C(x);import*as g from"../4781.js";a.C(g);import*as j from"../5584.js";a.C(j);import*as E from"../8227.js";a.C(E);import*as A from"../2900.js";a.C(A);import*as D from"../2050.js";a.C(D);import*as I from"../1280.js";a.C(I);import*as $ from"../6343.js";a.C($);import*as _ from"../7582.js";a.C(_);import*as T from"../9613.js";a.C(T);import*as w from"../5323.js";a.C(w);import*as O from"../513.js";a.C(O);let S=a.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,2364,4980,5308,9938,9500,4781,5584,8227,2900,2050,1280,6343,7582,9613,5323,513],()=>a(7540));S=a.O(S);const k=S.o,M=S.h;export{k as CardState,M as CardV2};
@@ -1,4 +1,4 @@
1
- var t,e,s={5558(t,e,s){s.d(e,{c:()=>r}),s(2245);var r,i=s(9609),o=s(4084),a=s(2927),p=s(8899),m=s(3517),l=s(9316),c=function(t,e,s,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,r);else for(var p=t.length-1;p>=0;p--)(i=t[p])&&(a=(o<3?i(a):o>3?i(e,s,a):i(e,s))||a);return o>3&&a&&Object.defineProperty(e,s,a),a};!function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.title="",this.src="",this.time="",this.label="Avatar",this.status="",this.clickableTimestamp=!1,this.isSelected=!1,this.self=!1}get computedAvatarType(){return void 0!==this.avatarType?this.avatarType:this.self?"self":void 0}get computedYouLabel(){return this.selfLabel||"You"}get isSelfType(){return void 0===this.avatarType?this.self:"self"===this.avatarType}timeStampClicked(){this.dispatchEvent(new CustomEvent("timestamp-clicked",{bubbles:!0,composed:!0}))}static get styles(){return[o.A,l.A]}render(){return a.html`
1
+ var t={5558(t,e,s){s.d(e,{c:()=>r}),s(2245);var r,o=s(9609),i=s(4084),a=s(2927),p=s(8899),m=s(3517),l=s(9316),c=function(t,e,s,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,r);else for(var p=t.length-1;p>=0;p--)(o=t[p])&&(a=(i<3?o(a):i>3?o(e,s,a):o(e,s))||a);return i>3&&a&&Object.defineProperty(e,s,a),a};!function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.title="",this.src="",this.time="",this.label="Avatar",this.status="",this.clickableTimestamp=!1,this.isSelected=!1,this.self=!1,this.iconName="",this.newMomentum=!1}get computedAvatarType(){return void 0!==this.avatarType?this.avatarType:this.self?"self":void 0}get computedYouLabel(){return this.selfLabel||"You"}get isSelfType(){return void 0===this.avatarType?this.self:"self"===this.avatarType}timeStampClicked(){this.dispatchEvent(new CustomEvent("timestamp-clicked",{bubbles:!0,composed:!0}))}static get styles(){return[i.A,l.A]}render(){return a.html`
2
2
  <div class="md-chat-message">
3
3
  <div class="md-chat-message_avatar">
4
4
  <md-avatar
@@ -6,6 +6,8 @@ var t,e,s={5558(t,e,s){s.d(e,{c:()=>r}),s(2245);var r,i=s(9609),o=s(4084),a=s(29
6
6
  title=${this.self?"self":this.title}
7
7
  label="${this.label}"
8
8
  src=${(0,m.ifDefined)(this.self?void 0:this.src)}
9
+ icon-name=${(0,m.ifDefined)(this.self?void 0:this.iconName)}
10
+ ?newMomentum=${this.newMomentum}
9
11
  color=${(0,m.ifDefined)(this.avatarColor)}
10
12
  size=${(0,m.ifDefined)(this.avatarSize)}
11
13
  ></md-avatar>
@@ -31,4 +33,4 @@ var t,e,s={5558(t,e,s){s.d(e,{c:()=>r}),s(2245);var r,i=s(9609),o=s(4084),a=s(29
31
33
  </div>
32
34
  </div>
33
35
  </div>
34
- `}};c([(0,p.property)({type:String})],e.prototype,"title",void 0),c([(0,p.property)({type:String})],e.prototype,"src",void 0),c([(0,p.property)({type:String})],e.prototype,"time",void 0),c([(0,p.property)({type:String})],e.prototype,"label",void 0),c([(0,p.property)({type:String})],e.prototype,"status",void 0),c([(0,p.property)({type:Boolean})],e.prototype,"clickableTimestamp",void 0),c([(0,p.property)({type:Boolean})],e.prototype,"isSelected",void 0),c([(0,p.property)({type:String,reflect:!0,attribute:"self-label"})],e.prototype,"selfLabel",void 0),c([(0,p.property)({type:Boolean})],e.prototype,"self",void 0),c([(0,p.property)({type:String,reflect:!0,attribute:"avatar-color"})],e.prototype,"avatarColor",void 0),c([(0,p.property)({type:String,reflect:!0,attribute:"avatar-type"})],e.prototype,"avatarType",void 0),c([(0,p.property)({type:Number,reflect:!0,attribute:"avatar-size"})],e.prototype,"avatarSize",void 0),e=c([(0,i.w)("md-chat-message")],e),t.ELEMENT=e}(r||(r={}))}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var o=r[t]={exports:{}};return s[t](o,o.exports,i),o.exports}i.m=s,t=[],i.O=(e,s,r,o)=>{if(!s){var a=1/0;for(c=0;c<t.length;c++){for(var[s,r,o]=t[c],p=!0,m=0;m<s.length;m++)(!1&o||a>=o)&&Object.keys(i.O).every(t=>i.O[t](s[m]))?s.splice(m--,1):(p=!1,o<a&&(a=o));if(p){t.splice(c--,1);var l=r();void 0!==l&&(e=l)}}return e}o=o||0;for(var c=t.length;c>0&&t[c-1][2]>o;c--)t[c]=t[c-1];t[c]=[s,r,o]},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{i as __webpack_require__};e={7684:0},i.C=t=>{var s,r,{__webpack_esm_ids__:o,__webpack_esm_modules__:a,__webpack_esm_runtime__:p}=t,m=0;for(s in a)i.o(a,s)&&(i.m[s]=a[s]);for(p&&p(i);m<o.length;m++)r=o[m],i.o(e,r)&&e[r]&&e[r][0](),e[o[m]]=0;i.O()},i.O.j=t=>0===e[t];import*as o from"../9609.js";i.C(o);import*as a from"../4084.js";i.C(a);import*as p from"../4955.js";i.C(p);import*as m from"../3517.js";i.C(m);import*as l from"../1156.js";i.C(l);import*as c from"../3305.js";i.C(c);import*as d from"../4739.js";i.C(d);import*as f from"../7154.js";i.C(f);import*as v from"../9773.js";i.C(v);import*as n from"../5983.js";i.C(n);import*as h from"../7755.js";i.C(h);import*as y from"../1821.js";i.C(y);import*as u from"../4980.js";i.C(u);import*as g from"../9500.js";i.C(g);import*as j from"../519.js";i.C(j);import*as C from"../4137.js";i.C(C);import*as b from"../8165.js";i.C(b);import*as _ from"../6325.js";i.C(_);import*as S from"../4449.js";i.C(S);import*as O from"../1392.js";i.C(O);import*as k from"../3365.js";i.C(k);import*as T from"../378.js";i.C(T);import*as $ from"../9244.js";i.C($);import*as x from"../4626.js";i.C(x);import*as w from"../9316.js";i.C(w);var D=i.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,4980,9500,519,4137,8165,6325,4449,1392,3365,378,9244,4626,9316],()=>i(5558));const E=(D=i.O(D)).c;export{E as ChatMessage};
36
+ `}};c([(0,p.property)({type:String})],e.prototype,"title",void 0),c([(0,p.property)({type:String})],e.prototype,"src",void 0),c([(0,p.property)({type:String})],e.prototype,"time",void 0),c([(0,p.property)({type:String})],e.prototype,"label",void 0),c([(0,p.property)({type:String})],e.prototype,"status",void 0),c([(0,p.property)({type:Boolean})],e.prototype,"clickableTimestamp",void 0),c([(0,p.property)({type:Boolean})],e.prototype,"isSelected",void 0),c([(0,p.property)({type:String,reflect:!0,attribute:"self-label"})],e.prototype,"selfLabel",void 0),c([(0,p.property)({type:Boolean})],e.prototype,"self",void 0),c([(0,p.property)({type:String,reflect:!0,attribute:"avatar-color"})],e.prototype,"avatarColor",void 0),c([(0,p.property)({type:String,reflect:!0,attribute:"avatar-type"})],e.prototype,"avatarType",void 0),c([(0,p.property)({type:Number,reflect:!0,attribute:"avatar-size"})],e.prototype,"avatarSize",void 0),c([(0,p.property)({type:String,attribute:"icon-name"})],e.prototype,"iconName",void 0),c([(0,p.property)({type:Boolean})],e.prototype,"newMomentum",void 0),e=c([(0,o.w)("md-chat-message")],e),t.ELEMENT=e}(r||(r={}))}};const e={};function s(r){const o=e[r];if(void 0!==o)return o.exports;const i=e[r]={exports:{}};return t[r](i,i.exports,s),i.exports}s.m=t,(()=>{const t=[];s.O=(e,r,o,i)=>{if(r){i=i||0;for(var a=t.length;a>0&&t[a-1][2]>i;a--)t[a]=t[a-1];return void(t[a]=[r,o,i])}let p=1/0;for(a=0;a<t.length;a++){let[r,o,i]=t[a],l=!0;for(var m=0;m<r.length;m++)(!1&i||p>=i)&&Object.keys(s.O).every(t=>s.O[t](r[m]))?r.splice(m--,1):(l=!1,i<p&&(p=i));if(l){t.splice(a--,1);const s=o();void 0!==s&&(e=s)}}return e}})(),s.d=(t,e)=>{if(Array.isArray(e))for(var r=0;r<e.length;){var o=e[r++],i=e[r++];s.o(t,o)?0===i&&r++:0===i?Object.defineProperty(t,o,{enumerable:!0,value:e[r++]}):Object.defineProperty(t,o,{enumerable:!0,get:i})}else for(var o in e)s.o(e,o)&&!s.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{s as __webpack_require__};(()=>{const t={7684:0};s.C=e=>{let{__webpack_esm_ids__:r,__webpack_esm_modules__:o,__webpack_esm_runtime__:i}=e;var a,p,m=0;for(a in o)s.o(o,a)&&(s.m[a]=o[a]);for(i&&i(s);m<r.length;m++)p=r[m],s.o(t,p)&&t[p]&&t[p][0](),t[r[m]]=0;s.O()},s.O.j=e=>0===t[e]})();import*as r from"../9609.js";s.C(r);import*as o from"../4084.js";s.C(o);import*as i from"../4955.js";s.C(i);import*as a from"../3517.js";s.C(a);import*as p from"../1156.js";s.C(p);import*as m from"../3305.js";s.C(m);import*as l from"../4739.js";s.C(l);import*as c from"../7154.js";s.C(c);import*as n from"../9773.js";s.C(n);import*as d from"../5983.js";s.C(d);import*as f from"../7755.js";s.C(f);import*as v from"../1821.js";s.C(v);import*as y from"../4980.js";s.C(y);import*as h from"../9500.js";s.C(h);import*as u from"../519.js";s.C(u);import*as g from"../4137.js";s.C(g);import*as b from"../8165.js";s.C(b);import*as j from"../6325.js";s.C(j);import*as C from"../4449.js";s.C(C);import*as _ from"../1392.js";s.C(_);import*as S from"../3365.js";s.C(S);import*as O from"../378.js";s.C(O);import*as $ from"../9244.js";s.C($);import*as k from"../4626.js";s.C(k);import*as T from"../9316.js";s.C(T);let w=s.O(void 0,[9609,4084,4955,3517,1156,3305,4739,7154,9773,5983,7755,1821,4980,9500,519,4137,8165,6325,4449,1392,3365,378,9244,4626,9316],()=>s(5558));w=s.O(w);const x=w.c;export{x as ChatMessage};