@covalent/components 10.4.0-beta.2 → 11.0.0-beta.1

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 (354) hide show
  1. package/_commonjsHelpers-DGT2Y9Xa.js +1 -0
  2. package/{_commonjsHelpers-HP5nalso.mjs → _commonjsHelpers-MdHo5S7N.mjs} +1 -1
  3. package/action-ribbon/action-ribbon-base.d.ts +0 -1
  4. package/action-ribbon/action-ribbon.d.ts +0 -1
  5. package/action-ribbon.js +5 -5
  6. package/action-ribbon.mjs +33 -33
  7. package/alert/alert-base.d.ts +0 -1
  8. package/alert/alert.d.ts +0 -1
  9. package/alert.js +5 -5
  10. package/alert.mjs +48 -48
  11. package/app-shell/app-shell.d.ts +0 -1
  12. package/app-shell.js +1 -1
  13. package/app-shell.mjs +7 -7
  14. package/async-directive-JqUnzsgG.mjs +66 -0
  15. package/async-directive-X7VhNdG3.js +5 -0
  16. package/badge/badge.d.ts +0 -1
  17. package/badge.js +1 -1
  18. package/badge.mjs +4 -4
  19. package/{base-element-5ZU-p99q.js → base-element-DP9GZic2.js} +1 -1
  20. package/{base-element-CzNmpVoz.mjs → base-element-DUJkJh_y.mjs} +1 -1
  21. package/button/button.d.ts +0 -1
  22. package/button.js +2 -2
  23. package/button.mjs +26 -26
  24. package/card/card-base.d.ts +0 -1
  25. package/card/card.d.ts +0 -1
  26. package/card.js +8 -8
  27. package/card.mjs +39 -39
  28. package/check-list-item.js +8 -8
  29. package/check-list-item.mjs +34 -34
  30. package/checkbox/checkbox.d.ts +0 -1
  31. package/checkbox.js +1 -1
  32. package/checkbox.mjs +15 -15
  33. package/{chip-DmwMNZYy.js → chip-BjFvUMom.js} +44 -44
  34. package/{chip-tQfbvpbh.mjs → chip-Dc7_8pVI.mjs} +412 -408
  35. package/chip-set.js +5 -5
  36. package/chip-set.mjs +125 -125
  37. package/chip.js +1 -1
  38. package/chip.mjs +2 -2
  39. package/chips/chip-base.d.ts +0 -1
  40. package/chips/chip-set-base.d.ts +0 -1
  41. package/chips/chip-set.d.ts +0 -1
  42. package/chips/chip.d.ts +0 -1
  43. package/circular-progress/circular-progress.d.ts +0 -1
  44. package/circular-progress.js +15 -15
  45. package/circular-progress.mjs +25 -25
  46. package/class-map-DPUylGZM.mjs +36 -0
  47. package/class-map-DTzB8z-1.js +5 -0
  48. package/code-editor/code-editor.d.ts +0 -1
  49. package/code-editor/code-editor.theme.d.ts +0 -1
  50. package/{code-editor-CryBkPGy.js → code-editor-Bu3qtyEg.js} +110 -110
  51. package/{code-editor-XU5DhFbC.mjs → code-editor-CPpojoPe.mjs} +5423 -5477
  52. package/code-editor.js +1 -1
  53. package/code-editor.mjs +2 -2
  54. package/code-snippet/code-snippet.d.ts +0 -1
  55. package/code-snippet.js +11 -11
  56. package/code-snippet.mjs +2611 -2641
  57. package/dialog/dialog.d.ts +0 -1
  58. package/{dialog-DMqDMT_N.js → dialog-BShWbhKq.js} +9 -9
  59. package/{dialog-BodJc4rc.mjs → dialog-CGLRIM8z.mjs} +186 -186
  60. package/dialog.js +1 -1
  61. package/dialog.mjs +2 -2
  62. package/directive-C7oCP5Bh.js +5 -0
  63. package/directive-helpers-C-un5pST.js +5 -0
  64. package/directive-helpers-DS-VuBZD.mjs +11 -0
  65. package/{directive-B76A7YXI.mjs → directive-oAbCiebi.mjs} +4 -4
  66. package/drawer/drawer.d.ts +0 -1
  67. package/drawer.js +2 -2
  68. package/drawer.mjs +14 -14
  69. package/empty-state/empty-state.d.ts +0 -1
  70. package/empty-state.js +1 -1
  71. package/empty-state.mjs +6 -6
  72. package/{event-options-D44mpm5S.mjs → event-options-C7DvXRgq.mjs} +1 -1
  73. package/{event-options-IG-2g8HU.js → event-options-DD382x85.js} +1 -1
  74. package/expansion-panel/expansion-panel-item.d.ts +0 -1
  75. package/expansion-panel/expansion-panel.d.ts +0 -1
  76. package/expansion-panel-item.js +1 -1
  77. package/expansion-panel-item.mjs +3 -3
  78. package/expansion-panel.js +1 -1
  79. package/expansion-panel.mjs +5 -5
  80. package/focused-page/focused-page.d.ts +0 -1
  81. package/focused-page.js +1 -1
  82. package/focused-page.mjs +7 -7
  83. package/form-element-BOhYShN_.mjs +50 -0
  84. package/form-element-BSAsNxWv.js +5 -0
  85. package/formfield/formfield.d.ts +0 -1
  86. package/formfield.js +7 -7
  87. package/formfield.mjs +45 -45
  88. package/{foundation-BYhAXCW_.mjs → foundation-CZtT3AWn.mjs} +15 -17
  89. package/{foundation-sIsx2I_x.js → foundation-CySCCTUE.js} +2 -2
  90. package/{foundation-D6JHa7Lg.mjs → foundation-PL3XY-m_.mjs} +4 -4
  91. package/{foundation-aT_gy6X8.js → foundation-pgmPu2iJ.js} +1 -1
  92. package/full-screen-dialog/full-screen-dialog.d.ts +0 -1
  93. package/full-screen-dialog.js +2 -2
  94. package/full-screen-dialog.mjs +10 -10
  95. package/{html-DW6Y8eLM.mjs → html-DC72jQvb.mjs} +1 -1
  96. package/{html-CEiNqoVv.js → html-wWghN8cA.js} +1 -1
  97. package/icon/_icon-list.d.ts +0 -1
  98. package/icon/icon-demo.d.ts +0 -1
  99. package/icon/icon.d.ts +0 -1
  100. package/icon-button/icon-button.d.ts +0 -1
  101. package/icon-button-toggle/icon-button-toggle.d.ts +0 -1
  102. package/icon-button-toggle.js +6 -6
  103. package/icon-button-toggle.mjs +32 -32
  104. package/icon-button.js +5 -5
  105. package/icon-button.mjs +36 -36
  106. package/icon-check-toggle.js +1 -1
  107. package/icon-check-toggle.mjs +7 -7
  108. package/icon-checkbox/icon-check-toggle.d.ts +0 -1
  109. package/icon-lockup/icon-lockup.d.ts +0 -1
  110. package/icon-lockup.js +5 -5
  111. package/icon-lockup.mjs +4 -4
  112. package/icon-radio/icon-radio-toggle.d.ts +0 -1
  113. package/icon-radio-toggle.js +1 -1
  114. package/icon-radio-toggle.mjs +13 -13
  115. package/icon.js +1 -1
  116. package/icon.mjs +13 -13
  117. package/{if-defined-B7G84qob.js → if-defined-CZCqOAYs.js} +1 -1
  118. package/{if-defined-DN7whKwy.mjs → if-defined-DGrxuPYz.mjs} +1 -1
  119. package/index.d.ts +0 -1
  120. package/index.js +7 -7
  121. package/index.mjs +121 -121
  122. package/inert.esm-CknhJysw.mjs +645 -0
  123. package/inert.esm-D2PJKL9E.js +28 -0
  124. package/{javascript-DzJ0FiwJ.mjs → javascript-C_a5TwhW.mjs} +1 -1
  125. package/{javascript-vVCDG6Rm.js → javascript-cY8cX08V.js} +1 -1
  126. package/linear-progress/linear-progress.d.ts +0 -1
  127. package/linear-progress.js +7 -7
  128. package/linear-progress.mjs +32 -32
  129. package/list/check-list-item.d.ts +0 -1
  130. package/list/list-item.d.ts +0 -1
  131. package/list/list.d.ts +0 -1
  132. package/list/nav-list-item.d.ts +0 -1
  133. package/list/radio-list-item.d.ts +0 -1
  134. package/{list-item-BIuZJQpK.mjs → list-item-CK66f3gK.mjs} +1 -1
  135. package/{list-item-V8RaZO6L.js → list-item-LcvIn8Xz.js} +1 -1
  136. package/list-item.js +7 -7
  137. package/list-item.mjs +21 -21
  138. package/list.js +3 -3
  139. package/list.mjs +16 -16
  140. package/menu/menu.d.ts +0 -1
  141. package/menu.js +3 -3
  142. package/menu.mjs +16 -16
  143. package/{mwc-checkbox.css-CNoj0V14.mjs → mwc-checkbox.css-BrjbMwch.mjs} +28 -28
  144. package/{mwc-checkbox.css-BV3dyB4C.js → mwc-checkbox.css-u49MHsHT.js} +1 -1
  145. package/{mwc-drawer-base-BIn51sQu.js → mwc-drawer-base-C2YS_KZk.js} +3 -3
  146. package/{mwc-drawer-base-C96HTnbC.mjs → mwc-drawer-base-_d7xArWM.mjs} +11 -11
  147. package/{mwc-icon-Xgr698ax.js → mwc-icon-BUzuM0iB.js} +1 -1
  148. package/{mwc-icon-DTCUplqR.mjs → mwc-icon-U80igLyY.mjs} +2 -2
  149. package/{mwc-icon-button.css-DOVWWyjA.js → mwc-icon-button.css-BzElD_JI.js} +1 -1
  150. package/{mwc-icon-button.css-DJiDOS0_.mjs → mwc-icon-button.css-DosQIdlt.mjs} +1 -1
  151. package/{mwc-line-ripple-directive-r80jluoU.js → mwc-line-ripple-directive-DBy5sTfo.js} +4 -4
  152. package/{mwc-line-ripple-directive-TO37-41n.mjs → mwc-line-ripple-directive-at_ngzOj.mjs} +35 -34
  153. package/{mwc-list-item.css-CO1JlA8e.js → mwc-list-item.css-Bib8TVz5.js} +10 -10
  154. package/{mwc-list-item.css-Cg9onxQ-.mjs → mwc-list-item.css-BtGzAhUF.mjs} +10 -10
  155. package/{mwc-list.css-C_-DVEme.mjs → mwc-list.css-BBbQixrF.mjs} +100 -100
  156. package/{mwc-list.css-Deg9oBaO.js → mwc-list.css-DWV8pw-x.js} +1 -1
  157. package/{mwc-menu.css-qpZxKN-g.mjs → mwc-menu.css-BUjxqJjM.mjs} +303 -303
  158. package/{mwc-menu.css-Dvr-f3_T.js → mwc-menu.css-D3EFugOg.js} +18 -18
  159. package/{mwc-radio.css-DjO4Rn44.js → mwc-radio.css-BWiWreTh.js} +1 -1
  160. package/{mwc-radio.css-BiHC1R8I.mjs → mwc-radio.css-DPbyzNg_.mjs} +8 -8
  161. package/{mwc-slider.css-Deh1__Ar.mjs → mwc-slider.css-CBNgYCJf.mjs} +277 -288
  162. package/{mwc-slider.css-DFOaS04S.js → mwc-slider.css-DytByuJk.js} +13 -13
  163. package/{mwc-tab.css-sq5suZKe.js → mwc-tab.css-CrjUDOft.js} +11 -11
  164. package/{mwc-tab.css-2UrPKkNg.mjs → mwc-tab.css-DJHVL7wZ.mjs} +31 -31
  165. package/{mwc-top-app-bar-base-DUdOcIjS.js → mwc-top-app-bar-base-Gxaye-WD.js} +3 -3
  166. package/{mwc-top-app-bar-base-BIZGhVtM.mjs → mwc-top-app-bar-base-N3OLLWe5.mjs} +21 -21
  167. package/nav-list-item.js +1 -1
  168. package/nav-list-item.mjs +13 -13
  169. package/notebook-cell/notebook-cell.d.ts +0 -1
  170. package/notebook-cell.js +1 -1
  171. package/notebook-cell.mjs +23 -23
  172. package/package.json +3 -3
  173. package/{property-BRKnMYJe.js → property-DYTC_2-m.js} +1 -1
  174. package/{python-CddQNZH2.mjs → python-3XbrQbry.mjs} +1 -1
  175. package/{python-DnfGbG5q.js → python-C-jtMxm_.js} +1 -1
  176. package/query-CDOd1Kwm.mjs +15 -0
  177. package/query-Dv2F3m_t.js +5 -0
  178. package/query-assigned-elements-8EurZY45.js +31 -0
  179. package/query-assigned-elements-D930kELM.mjs +591 -0
  180. package/query-assigned-nodes-BAfLwxmx.js +5 -0
  181. package/query-assigned-nodes-Dof2CSLU.mjs +17 -0
  182. package/radio/radio.d.ts +0 -1
  183. package/radio-list-item.js +9 -9
  184. package/radio-list-item.mjs +28 -28
  185. package/radio.js +1 -1
  186. package/radio.mjs +15 -15
  187. package/{ripple-handlers-BDmOLx8c.js → ripple-handlers-C7an-EE1.js} +5 -5
  188. package/{ripple-handlers-BAdg-fJB.mjs → ripple-handlers-_gEIkKpx.mjs} +71 -71
  189. package/select/select.d.ts +0 -1
  190. package/select.js +15 -15
  191. package/select.mjs +166 -167
  192. package/side-sheet/side-sheet.d.ts +0 -1
  193. package/side-sheet.js +1 -1
  194. package/side-sheet.mjs +8 -8
  195. package/slider/slider-range.d.ts +0 -1
  196. package/slider/slider.d.ts +0 -1
  197. package/slider-range.js +5 -5
  198. package/slider-range.mjs +43 -43
  199. package/slider.js +2 -2
  200. package/slider.mjs +19 -19
  201. package/snackbar/snackbar.d.ts +0 -1
  202. package/snackbar.js +11 -11
  203. package/snackbar.mjs +54 -54
  204. package/{state-Csv4sdJA.js → state-C3HoXfoa.js} +1 -1
  205. package/status-dialog/status-dialog.d.ts +0 -1
  206. package/status-dialog.js +1 -1
  207. package/status-dialog.mjs +6 -6
  208. package/status-header/status-header-base.d.ts +0 -1
  209. package/status-header/status-header-item.d.ts +0 -1
  210. package/status-header/status-header.d.ts +0 -1
  211. package/status-header-item.js +1 -1
  212. package/status-header-item.mjs +17 -17
  213. package/status-header.js +5 -5
  214. package/status-header.mjs +34 -34
  215. package/style-map-D2TR7M-D.mjs +42 -0
  216. package/style-map-DOMuf9Fg.js +5 -0
  217. package/switch/switch.d.ts +0 -1
  218. package/switch.js +5 -5
  219. package/switch.mjs +42 -42
  220. package/tab/tab-bar.d.ts +0 -1
  221. package/tab/tab.d.ts +0 -1
  222. package/tab-bar.js +11 -11
  223. package/tab-bar.mjs +98 -98
  224. package/tab.js +1 -1
  225. package/tab.mjs +13 -13
  226. package/text-lockup/text-lockup.d.ts +0 -1
  227. package/text-lockup.js +1 -1
  228. package/text-lockup.mjs +9 -9
  229. package/textarea/textarea.d.ts +0 -1
  230. package/textarea.js +6 -6
  231. package/textarea.mjs +29 -29
  232. package/textfield/textfield.d.ts +0 -1
  233. package/{textfield-bHWjhOOq.js → textfield-Byf2gP_G.js} +31 -31
  234. package/{textfield-i_Whj47J.mjs → textfield-RbQ6Kwq7.mjs} +102 -102
  235. package/textfield.js +3 -3
  236. package/textfield.mjs +17 -17
  237. package/theme/prebuilt/dark-theme.css +1 -1
  238. package/theme/prebuilt/light-theme.css +1 -1
  239. package/toolbar/toolbar.d.ts +0 -1
  240. package/toolbar.js +1 -1
  241. package/toolbar.mjs +4 -4
  242. package/tooltip/tooltip.d.ts +0 -1
  243. package/tooltip.js +3 -3
  244. package/tooltip.mjs +54 -55
  245. package/top-app-bar/top-app-bar-fixed.d.ts +0 -1
  246. package/top-app-bar/top-app-bar.d.ts +0 -1
  247. package/{top-app-bar-CZ5ILmAf.mjs → top-app-bar-BQ88Rom5.mjs} +1 -1
  248. package/top-app-bar-fixed.js +8 -8
  249. package/top-app-bar-fixed.mjs +40 -40
  250. package/{top-app-bar-UVbXY1md.js → top-app-bar-lbNkmJbQ.js} +1 -1
  251. package/top-app-bar.js +3 -3
  252. package/top-app-bar.mjs +18 -18
  253. package/tree-list/tree-list-item.d.ts +0 -1
  254. package/tree-list/tree-list.d.ts +0 -1
  255. package/tree-list-item.js +1 -1
  256. package/tree-list-item.mjs +4 -4
  257. package/tree-list.js +4 -4
  258. package/tree-list.mjs +22 -22
  259. package/tslib.es6-CJ7TUrOc.mjs +75 -0
  260. package/{typescript-BRw9OFm1.js → typescript-CNfpftAV.js} +1 -1
  261. package/{typescript-CdlgcZ3y.mjs → typescript-Dj6mne2e.mjs} +1 -1
  262. package/typography/typography.d.ts +0 -1
  263. package/typography.js +1 -1
  264. package/typography.mjs +3 -3
  265. package/_commonjsHelpers-6jR-N8xe.js +0 -1
  266. package/action-ribbon/action-ribbon-base.d.ts.map +0 -1
  267. package/action-ribbon/action-ribbon.d.ts.map +0 -1
  268. package/alert/alert-base.d.ts.map +0 -1
  269. package/alert/alert.d.ts.map +0 -1
  270. package/app-shell/app-shell.d.ts.map +0 -1
  271. package/async-directive-2AOdKBUW.mjs +0 -66
  272. package/async-directive-DZ3MjSIj.js +0 -5
  273. package/badge/badge.d.ts.map +0 -1
  274. package/button/button.d.ts.map +0 -1
  275. package/card/card-base.d.ts.map +0 -1
  276. package/card/card.d.ts.map +0 -1
  277. package/checkbox/checkbox.d.ts.map +0 -1
  278. package/chips/chip-base.d.ts.map +0 -1
  279. package/chips/chip-set-base.d.ts.map +0 -1
  280. package/chips/chip-set.d.ts.map +0 -1
  281. package/chips/chip.d.ts.map +0 -1
  282. package/circular-progress/circular-progress.d.ts.map +0 -1
  283. package/class-map-BHl5MHd7.mjs +0 -36
  284. package/class-map-PsUYVqvf.js +0 -5
  285. package/code-editor/code-editor.d.ts.map +0 -1
  286. package/code-editor/code-editor.theme.d.ts.map +0 -1
  287. package/code-snippet/code-snippet.d.ts.map +0 -1
  288. package/dialog/dialog.d.ts.map +0 -1
  289. package/directive-C_VV3qwo.js +0 -5
  290. package/directive-helpers-6HCt_-zj.mjs +0 -11
  291. package/directive-helpers-BnUMbYHh.js +0 -5
  292. package/drawer/drawer.d.ts.map +0 -1
  293. package/empty-state/empty-state.d.ts.map +0 -1
  294. package/expansion-panel/expansion-panel-item.d.ts.map +0 -1
  295. package/expansion-panel/expansion-panel.d.ts.map +0 -1
  296. package/focused-page/focused-page.d.ts.map +0 -1
  297. package/form-element--PS8uSRI.js +0 -5
  298. package/form-element-Dn0Lerng.mjs +0 -50
  299. package/formfield/formfield.d.ts.map +0 -1
  300. package/full-screen-dialog/full-screen-dialog.d.ts.map +0 -1
  301. package/icon/_icon-list.d.ts.map +0 -1
  302. package/icon/icon-demo.d.ts.map +0 -1
  303. package/icon/icon.d.ts.map +0 -1
  304. package/icon-button/icon-button.d.ts.map +0 -1
  305. package/icon-button-toggle/icon-button-toggle.d.ts.map +0 -1
  306. package/icon-checkbox/icon-check-toggle.d.ts.map +0 -1
  307. package/icon-lockup/icon-lockup.d.ts.map +0 -1
  308. package/icon-radio/icon-radio-toggle.d.ts.map +0 -1
  309. package/index.d.ts.map +0 -1
  310. package/inert.esm-C8R-X3j4.mjs +0 -639
  311. package/inert.esm-t-228rpY.js +0 -28
  312. package/linear-progress/linear-progress.d.ts.map +0 -1
  313. package/list/check-list-item.d.ts.map +0 -1
  314. package/list/list-item.d.ts.map +0 -1
  315. package/list/list.d.ts.map +0 -1
  316. package/list/nav-list-item.d.ts.map +0 -1
  317. package/list/radio-list-item.d.ts.map +0 -1
  318. package/menu/menu.d.ts.map +0 -1
  319. package/notebook-cell/notebook-cell.d.ts.map +0 -1
  320. package/query-BvlE-gMJ.js +0 -5
  321. package/query-DSO61t36.mjs +0 -15
  322. package/query-assigned-elements-BQszEgac.js +0 -31
  323. package/query-assigned-elements-DhyCP_2z.mjs +0 -591
  324. package/query-assigned-nodes-9DFnkxV8.js +0 -5
  325. package/query-assigned-nodes-B-jCihdA.mjs +0 -17
  326. package/radio/radio.d.ts.map +0 -1
  327. package/select/select.d.ts.map +0 -1
  328. package/side-sheet/side-sheet.d.ts.map +0 -1
  329. package/slider/slider-range.d.ts.map +0 -1
  330. package/slider/slider.d.ts.map +0 -1
  331. package/snackbar/snackbar.d.ts.map +0 -1
  332. package/status-dialog/status-dialog.d.ts.map +0 -1
  333. package/status-header/status-header-base.d.ts.map +0 -1
  334. package/status-header/status-header-item.d.ts.map +0 -1
  335. package/status-header/status-header.d.ts.map +0 -1
  336. package/style-map-3QfsA_1O.js +0 -5
  337. package/style-map-QxIETvrs.mjs +0 -42
  338. package/switch/switch.d.ts.map +0 -1
  339. package/tab/tab-bar.d.ts.map +0 -1
  340. package/tab/tab.d.ts.map +0 -1
  341. package/text-lockup/text-lockup.d.ts.map +0 -1
  342. package/textarea/textarea.d.ts.map +0 -1
  343. package/textfield/textfield.d.ts.map +0 -1
  344. package/theme/prebuilt/dark-theme.css.map +0 -1
  345. package/theme/prebuilt/light-theme.css.map +0 -1
  346. package/toolbar/toolbar.d.ts.map +0 -1
  347. package/tooltip/tooltip.d.ts.map +0 -1
  348. package/top-app-bar/top-app-bar-fixed.d.ts.map +0 -1
  349. package/top-app-bar/top-app-bar.d.ts.map +0 -1
  350. package/tree-list/tree-list-item.d.ts.map +0 -1
  351. package/tree-list/tree-list.d.ts.map +0 -1
  352. package/tslib.es6-CISSdiiH.mjs +0 -75
  353. package/typography/typography.d.ts.map +0 -1
  354. /package/{style.css → covalent.css} +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";const d=require("./tslib.es6-CHeFCc6E.js"),V=require("./ripple-handlers-BDmOLx8c.js"),k=require("./aria-property-Dl2ZKBbP.js"),L=require("./form-element--PS8uSRI.js"),m=require("./query-assigned-elements-BQszEgac.js"),f=require("./property-BRKnMYJe.js"),v=require("./state-Csv4sdJA.js"),g=require("./query-BvlE-gMJ.js"),x=require("./class-map-PsUYVqvf.js"),A=require("./if-defined-B7G84qob.js"),U=require("./style-map-3QfsA_1O.js");/**
1
+ "use strict";const d=require("./tslib.es6-CHeFCc6E.js"),L=require("./ripple-handlers-C7an-EE1.js"),k=require("./aria-property-Dl2ZKBbP.js"),V=require("./form-element-BSAsNxWv.js"),m=require("./query-assigned-elements-8EurZY45.js"),b=require("./property-DYTC_2-m.js"),f=require("./state-C3HoXfoa.js"),g=require("./query-Dv2F3m_t.js"),x=require("./class-map-DTzB8z-1.js"),A=require("./if-defined-CZCqOAYs.js"),U=require("./style-map-DOMuf9Fg.js");/**
2
2
  * @license
3
3
  * Copyright 2020 Google Inc.
4
4
  *
@@ -40,7 +40,7 @@
40
40
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
41
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42
42
  * THE SOFTWARE.
43
- */var F=function(){function a(){this.rafIDs=new Map}return a.prototype.request=function(r,e){var t=this;this.cancel(r);var i=requestAnimationFrame(function(n){t.rafIDs.delete(r),e(n)});this.rafIDs.set(r,i)},a.prototype.cancel=function(r){var e=this.rafIDs.get(r);e&&(cancelAnimationFrame(e),this.rafIDs.delete(r))},a.prototype.cancelAll=function(){var r=this;this.rafIDs.forEach(function(e,t){r.cancel(t)})},a.prototype.getQueue=function(){var r=[];return this.rafIDs.forEach(function(e,t){r.push(t)}),r},a}();/**
43
+ */var F=function(){function a(){this.rafIDs=new Map}return a.prototype.request=function(r,t){var e=this;this.cancel(r);var i=requestAnimationFrame(function(n){e.rafIDs.delete(r),t(n)});this.rafIDs.set(r,i)},a.prototype.cancel=function(r){var t=this.rafIDs.get(r);t&&(cancelAnimationFrame(t),this.rafIDs.delete(r))},a.prototype.cancelAll=function(){var r=this;this.rafIDs.forEach(function(t,e){r.cancel(e)})},a.prototype.getQueue=function(){var r=[];return this.rafIDs.forEach(function(t,e){r.push(e)}),r},a}();/**
44
44
  * @license
45
45
  * Copyright 2016 Google Inc.
46
46
  *
@@ -61,7 +61,7 @@
61
61
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
62
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
63
  * THE SOFTWARE.
64
- */var M={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{prefixed:"-webkit-transform",standard:"transform"},transition:{prefixed:"-webkit-transition",standard:"transition"}};function H(a){return!!a.document&&typeof a.document.createElement=="function"}function w(a,r){if(H(a)&&r in M){var e=a.document.createElement("div"),t=M[r],i=t.standard,n=t.prefixed,s=i in e.style;return s?i:n}return r}/**
64
+ */var w={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{prefixed:"-webkit-transform",standard:"transform"},transition:{prefixed:"-webkit-transition",standard:"transition"}};function H(a){return!!a.document&&typeof a.document.createElement=="function"}function M(a,r){if(H(a)&&r in w){var t=a.document.createElement("div"),e=w[r],i=e.standard,n=e.prefixed,s=i in t.style;return s?i:n}return r}/**
65
65
  * @license
66
66
  * Copyright 2016 Google Inc.
67
67
  *
@@ -103,7 +103,7 @@
103
103
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
104
104
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
105
105
  * THE SOFTWARE.
106
- */var l={DISABLED:"mdc-slider--disabled",DISCRETE:"mdc-slider--discrete",INPUT:"mdc-slider__input",RANGE:"mdc-slider--range",THUMB:"mdc-slider__thumb",THUMB_FOCUSED:"mdc-slider__thumb--focused",THUMB_KNOB:"mdc-slider__thumb-knob",THUMB_TOP:"mdc-slider__thumb--top",THUMB_WITH_INDICATOR:"mdc-slider__thumb--with-indicator",TICK_MARKS:"mdc-slider--tick-marks",TICK_MARKS_CONTAINER:"mdc-slider__tick-marks",TICK_MARK_ACTIVE:"mdc-slider__tick-mark--active",TICK_MARK_INACTIVE:"mdc-slider__tick-mark--inactive",TRACK:"mdc-slider__track",TRACK_ACTIVE:"mdc-slider__track--active_fill",VALUE_INDICATOR_CONTAINER:"mdc-slider__value-indicator-container",VALUE_INDICATOR_TEXT:"mdc-slider__value-indicator-text"},N={STEP_SIZE:1,MIN_RANGE:0,THUMB_UPDATE_MIN_PX:5},h={ARIA_VALUETEXT:"aria-valuetext",INPUT_DISABLED:"disabled",INPUT_MIN:"min",INPUT_MAX:"max",INPUT_VALUE:"value",INPUT_STEP:"step",DATA_MIN_RANGE:"data-min-range"},c={VAR_VALUE_INDICATOR_CARET_LEFT:"--slider-value-indicator-caret-left",VAR_VALUE_INDICATOR_CARET_RIGHT:"--slider-value-indicator-caret-right",VAR_VALUE_INDICATOR_CARET_TRANSFORM:"--slider-value-indicator-caret-transform",VAR_VALUE_INDICATOR_CONTAINER_LEFT:"--slider-value-indicator-container-left",VAR_VALUE_INDICATOR_CONTAINER_RIGHT:"--slider-value-indicator-container-right",VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM:"--slider-value-indicator-container-transform"};/**
106
+ */var l={DISABLED:"mdc-slider--disabled",DISCRETE:"mdc-slider--discrete",RANGE:"mdc-slider--range",THUMB_FOCUSED:"mdc-slider__thumb--focused",THUMB_TOP:"mdc-slider__thumb--top",THUMB_WITH_INDICATOR:"mdc-slider__thumb--with-indicator",TICK_MARKS:"mdc-slider--tick-marks"},N={STEP_SIZE:1,MIN_RANGE:0,THUMB_UPDATE_MIN_PX:5},h={ARIA_VALUETEXT:"aria-valuetext",INPUT_DISABLED:"disabled",INPUT_MIN:"min",INPUT_MAX:"max",INPUT_VALUE:"value",INPUT_STEP:"step",DATA_MIN_RANGE:"data-min-range"},c={VAR_VALUE_INDICATOR_CARET_LEFT:"--slider-value-indicator-caret-left",VAR_VALUE_INDICATOR_CARET_RIGHT:"--slider-value-indicator-caret-right",VAR_VALUE_INDICATOR_CARET_TRANSFORM:"--slider-value-indicator-caret-transform",VAR_VALUE_INDICATOR_CONTAINER_LEFT:"--slider-value-indicator-container-left",VAR_VALUE_INDICATOR_CONTAINER_RIGHT:"--slider-value-indicator-container-right",VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM:"--slider-value-indicator-container-transform"};/**
107
107
  * @license
108
108
  * Copyright 2020 Google Inc.
109
109
  *
@@ -124,19 +124,19 @@
124
124
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
125
125
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
126
126
  * THE SOFTWARE.
127
- */var I;(function(a){a.SLIDER_UPDATE="slider_update"})(I||(I={}));var C=typeof window<"u",B=function(a){d.__extends(r,a);function r(e){var t=a.call(this,d.__assign(d.__assign({},r.defaultAdapter),e))||this;return t.initialStylesRemoved=!1,t.isDisabled=!1,t.isDiscrete=!1,t.step=N.STEP_SIZE,t.minRange=N.MIN_RANGE,t.hasTickMarks=!1,t.isRange=!1,t.thumb=null,t.downEventClientX=null,t.startThumbKnobWidth=0,t.endThumbKnobWidth=0,t.animFrame=new F,t}return Object.defineProperty(r,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(){return 0},getValueIndicatorContainerWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){},setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),r.prototype.init=function(){var e=this;this.isDisabled=this.adapter.hasClass(l.DISABLED),this.isDiscrete=this.adapter.hasClass(l.DISCRETE),this.hasTickMarks=this.adapter.hasClass(l.TICK_MARKS),this.isRange=this.adapter.hasClass(l.RANGE);var t=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_MIN,this.isRange?exports.Thumb.START:exports.Thumb.END),h.INPUT_MIN),i=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_MAX,exports.Thumb.END),h.INPUT_MAX),n=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_VALUE,exports.Thumb.END),h.INPUT_VALUE),s=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_VALUE,exports.Thumb.START),h.INPUT_VALUE):t,u=this.adapter.getInputAttribute(h.INPUT_STEP,exports.Thumb.END),p=u?this.convertAttributeValueToNumber(u,h.INPUT_STEP):this.step,T=this.adapter.getAttribute(h.DATA_MIN_RANGE),b=T?this.convertAttributeValueToNumber(T,h.DATA_MIN_RANGE):this.minRange;this.validateProperties({min:t,max:i,value:n,valueStart:s,step:p,minRange:b}),this.min=t,this.max=i,this.value=n,this.valueStart=s,this.step=p,this.minRange=b,this.numDecimalPlaces=P(this.step),this.valueBeforeDownEvent=n,this.valueStartBeforeDownEvent=s,this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this),this.moveListener=this.handleMove.bind(this),this.pointerdownListener=this.handlePointerdown.bind(this),this.pointerupListener=this.handlePointerup.bind(this),this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this),this.thumbMouseleaveListener=this.handleThumbMouseleave.bind(this),this.inputStartChangeListener=function(){e.handleInputChange(exports.Thumb.START)},this.inputEndChangeListener=function(){e.handleInputChange(exports.Thumb.END)},this.inputStartFocusListener=function(){e.handleInputFocus(exports.Thumb.START)},this.inputEndFocusListener=function(){e.handleInputFocus(exports.Thumb.END)},this.inputStartBlurListener=function(){e.handleInputBlur(exports.Thumb.START)},this.inputEndBlurListener=function(){e.handleInputBlur(exports.Thumb.END)},this.resizeListener=this.handleResize.bind(this),this.registerEventHandlers()},r.prototype.destroy=function(){this.deregisterEventHandlers()},r.prototype.setMin=function(e){this.min=e,this.isRange||(this.valueStart=e),this.updateUI()},r.prototype.setMax=function(e){this.max=e,this.updateUI()},r.prototype.getMin=function(){return this.min},r.prototype.getMax=function(){return this.max},r.prototype.getValue=function(){return this.value},r.prototype.setValue=function(e){if(this.isRange&&e<this.valueStart+this.minRange)throw new Error("end thumb value ("+e+") must be >= start thumb "+("value ("+this.valueStart+") + min range ("+this.minRange+")"));this.updateValue(e,exports.Thumb.END)},r.prototype.getValueStart=function(){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");return this.valueStart},r.prototype.setValueStart=function(e){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&e>this.value-this.minRange)throw new Error("start thumb value ("+e+") must be <= end thumb "+("value ("+this.value+") - min range ("+this.minRange+")"));this.updateValue(e,exports.Thumb.START)},r.prototype.setStep=function(e){this.step=e,this.numDecimalPlaces=P(e),this.updateUI()},r.prototype.setMinRange=function(e){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");if(e<0)throw new Error("`minRange` must be non-negative. "+("Current value: "+e));if(this.value-this.valueStart<e)throw new Error("start thumb value ("+this.valueStart+") and end thumb value "+("("+this.value+") must differ by at least "+e+"."));this.minRange=e},r.prototype.setIsDiscrete=function(e){this.isDiscrete=e,this.updateValueIndicatorUI(),this.updateTickMarksUI()},r.prototype.getStep=function(){return this.step},r.prototype.getMinRange=function(){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");return this.minRange},r.prototype.setHasTickMarks=function(e){this.hasTickMarks=e,this.updateTickMarksUI()},r.prototype.getDisabled=function(){return this.isDisabled},r.prototype.setDisabled=function(e){this.isDisabled=e,e?(this.adapter.addClass(l.DISABLED),this.isRange&&this.adapter.setInputAttribute(h.INPUT_DISABLED,"",exports.Thumb.START),this.adapter.setInputAttribute(h.INPUT_DISABLED,"",exports.Thumb.END)):(this.adapter.removeClass(l.DISABLED),this.isRange&&this.adapter.removeInputAttribute(h.INPUT_DISABLED,exports.Thumb.START),this.adapter.removeInputAttribute(h.INPUT_DISABLED,exports.Thumb.END))},r.prototype.getIsRange=function(){return this.isRange},r.prototype.layout=function(e){var t=e===void 0?{}:e,i=t.skipUpdateUI;this.rect=this.adapter.getBoundingClientRect(),this.isRange&&(this.startThumbKnobWidth=this.adapter.getThumbKnobWidth(exports.Thumb.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(exports.Thumb.END)),i||this.updateUI()},r.prototype.handleResize=function(){this.layout()},r.prototype.handleDown=function(e){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart,this.valueBeforeDownEvent=this.value;var t=e.clientX!=null?e.clientX:e.targetTouches[0].clientX;this.downEventClientX=t;var i=this.mapClientXOnSliderScale(t);this.thumb=this.getThumbFromDownEvent(t,i),this.thumb!==null&&(this.handleDragStart(e,i,this.thumb),this.updateValue(i,this.thumb,{emitInputEvent:!0}))}},r.prototype.handleMove=function(e){if(!this.isDisabled){e.preventDefault();var t=e.clientX!=null?e.clientX:e.targetTouches[0].clientX,i=this.thumb!=null;if(this.thumb=this.getThumbFromMoveEvent(t),this.thumb!==null){var n=this.mapClientXOnSliderScale(t);i||(this.handleDragStart(e,n,this.thumb),this.adapter.emitDragStartEvent(n,this.thumb)),this.updateValue(n,this.thumb,{emitInputEvent:!0})}}},r.prototype.handleUp=function(){var e,t;if(!(this.isDisabled||this.thumb===null)){!((t=(e=this.adapter).shouldHideFocusStylesForPointerEvents)===null||t===void 0)&&t.call(e)&&this.handleInputBlur(this.thumb);var i=this.thumb===exports.Thumb.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent,n=this.thumb===exports.Thumb.START?this.valueStart:this.value;i!==n&&this.adapter.emitChangeEvent(n,this.thumb),this.adapter.emitDragEndEvent(n,this.thumb),this.thumb=null}},r.prototype.handleThumbMouseenter=function(){!this.isDiscrete||!this.isRange||(this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.START),this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.END))},r.prototype.handleThumbMouseleave=function(){var e,t;!this.isDiscrete||!this.isRange||!(!((t=(e=this.adapter).shouldHideFocusStylesForPointerEvents)===null||t===void 0)&&t.call(e))&&(this.adapter.isInputFocused(exports.Thumb.START)||this.adapter.isInputFocused(exports.Thumb.END))||this.thumb||(this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.START),this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.END))},r.prototype.handleMousedownOrTouchstart=function(e){var t=this,i=e.type==="mousedown"?"mousemove":"touchmove";this.adapter.registerBodyEventHandler(i,this.moveListener);var n=function(){t.handleUp(),t.adapter.deregisterBodyEventHandler(i,t.moveListener),t.adapter.deregisterEventHandler("mouseup",n),t.adapter.deregisterEventHandler("touchend",n)};this.adapter.registerBodyEventHandler("mouseup",n),this.adapter.registerBodyEventHandler("touchend",n),this.handleDown(e)},r.prototype.handlePointerdown=function(e){var t=e.button===0;t&&(e.pointerId!=null&&this.adapter.setPointerCapture(e.pointerId),this.adapter.registerEventHandler("pointermove",this.moveListener),this.handleDown(e))},r.prototype.handleInputChange=function(e){var t=Number(this.adapter.getInputValue(e));e===exports.Thumb.START?this.setValueStart(t):this.setValue(t),this.adapter.emitChangeEvent(e===exports.Thumb.START?this.valueStart:this.value,e),this.adapter.emitInputEvent(e===exports.Thumb.START?this.valueStart:this.value,e)},r.prototype.handleInputFocus=function(e){if(this.adapter.addThumbClass(l.THUMB_FOCUSED,e),!!this.isDiscrete&&(this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,e),this.isRange)){var t=e===exports.Thumb.START?exports.Thumb.END:exports.Thumb.START;this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,t)}},r.prototype.handleInputBlur=function(e){if(this.adapter.removeThumbClass(l.THUMB_FOCUSED,e),!!this.isDiscrete&&(this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,e),this.isRange)){var t=e===exports.Thumb.START?exports.Thumb.END:exports.Thumb.START;this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,t)}},r.prototype.handleDragStart=function(e,t,i){var n,s;this.adapter.emitDragStartEvent(t,i),this.adapter.focusInput(i),!((s=(n=this.adapter).shouldHideFocusStylesForPointerEvents)===null||s===void 0)&&s.call(n)&&this.handleInputFocus(i),e.preventDefault()},r.prototype.getThumbFromDownEvent=function(e,t){if(!this.isRange)return exports.Thumb.END;var i=this.adapter.getThumbBoundingClientRect(exports.Thumb.START),n=this.adapter.getThumbBoundingClientRect(exports.Thumb.END),s=e>=i.left&&e<=i.right,u=e>=n.left&&e<=n.right;return s&&u?null:s?exports.Thumb.START:u?exports.Thumb.END:t<this.valueStart?exports.Thumb.START:t>this.value?exports.Thumb.END:t-this.valueStart<=this.value-t?exports.Thumb.START:exports.Thumb.END},r.prototype.getThumbFromMoveEvent=function(e){if(this.thumb!==null)return this.thumb;if(this.downEventClientX===null)throw new Error("`downEventClientX` is null after move event.");var t=Math.abs(this.downEventClientX-e)<N.THUMB_UPDATE_MIN_PX;if(t)return this.thumb;var i=e<this.downEventClientX;return i?this.adapter.isRTL()?exports.Thumb.END:exports.Thumb.START:this.adapter.isRTL()?exports.Thumb.START:exports.Thumb.END},r.prototype.updateUI=function(e){e?this.updateThumbAndInputAttributes(e):(this.updateThumbAndInputAttributes(exports.Thumb.START),this.updateThumbAndInputAttributes(exports.Thumb.END)),this.updateThumbAndTrackUI(e),this.updateValueIndicatorUI(e),this.updateTickMarksUI()},r.prototype.updateThumbAndInputAttributes=function(e){if(e){var t=this.isRange&&e===exports.Thumb.START?this.valueStart:this.value,i=String(t);this.adapter.setInputAttribute(h.INPUT_VALUE,i,e),this.isRange&&e===exports.Thumb.START?this.adapter.setInputAttribute(h.INPUT_MIN,String(t+this.minRange),exports.Thumb.END):this.isRange&&e===exports.Thumb.END&&this.adapter.setInputAttribute(h.INPUT_MAX,String(t-this.minRange),exports.Thumb.START),this.adapter.getInputValue(e)!==i&&this.adapter.setInputValue(i,e);var n=this.adapter.getValueToAriaValueTextFn();n&&this.adapter.setInputAttribute(h.ARIA_VALUETEXT,n(t,e),e)}},r.prototype.updateValueIndicatorUI=function(e){if(this.isDiscrete){var t=this.isRange&&e===exports.Thumb.START?this.valueStart:this.value;this.adapter.setValueIndicatorText(t,e===exports.Thumb.START?exports.Thumb.START:exports.Thumb.END),!e&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,exports.Thumb.START)}},r.prototype.updateTickMarksUI=function(){if(!(!this.isDiscrete||!this.hasTickMarks)){var e=(this.valueStart-this.min)/this.step,t=(this.value-this.valueStart)/this.step+1,i=(this.max-this.value)/this.step,n=Array.from({length:e}).fill(_.INACTIVE),s=Array.from({length:t}).fill(_.ACTIVE),u=Array.from({length:i}).fill(_.INACTIVE);this.adapter.updateTickMarks(n.concat(s).concat(u))}},r.prototype.mapClientXOnSliderScale=function(e){var t=e-this.rect.left,i=t/this.rect.width;this.adapter.isRTL()&&(i=1-i);var n=this.min+i*(this.max-this.min);return n===this.max||n===this.min?n:Number(this.quantize(n).toFixed(this.numDecimalPlaces))},r.prototype.quantize=function(e){var t=Math.round((e-this.min)/this.step);return this.min+t*this.step},r.prototype.updateValue=function(e,t,i){var n=i===void 0?{}:i,s=n.emitInputEvent;if(e=this.clampValue(e,t),this.isRange&&t===exports.Thumb.START){if(this.valueStart===e)return;this.valueStart=e}else{if(this.value===e)return;this.value=e}this.updateUI(t),s&&this.adapter.emitInputEvent(t===exports.Thumb.START?this.valueStart:this.value,t)},r.prototype.clampValue=function(e,t){e=Math.min(Math.max(e,this.min),this.max);var i=this.isRange&&t===exports.Thumb.START&&e>this.value-this.minRange;if(i)return this.value-this.minRange;var n=this.isRange&&t===exports.Thumb.END&&e<this.valueStart+this.minRange;return n?this.valueStart+this.minRange:e},r.prototype.updateThumbAndTrackUI=function(e){var t=this,i=this,n=i.max,s=i.min,u=(this.value-this.valueStart)/(n-s),p=u*this.rect.width,T=this.adapter.isRTL(),b=C?w(window,"transform"):"transform";if(this.isRange){var E=this.adapter.isRTL()?(n-this.value)/(n-s)*this.rect.width:(this.valueStart-s)/(n-s)*this.rect.width,R=E+p;this.animFrame.request(I.SLIDER_UPDATE,function(){var y=!T&&e===exports.Thumb.START||T&&e!==exports.Thumb.START;y?(t.adapter.setTrackActiveStyleProperty("transform-origin","right"),t.adapter.setTrackActiveStyleProperty("left","auto"),t.adapter.setTrackActiveStyleProperty("right",t.rect.width-R+"px")):(t.adapter.setTrackActiveStyleProperty("transform-origin","left"),t.adapter.setTrackActiveStyleProperty("right","auto"),t.adapter.setTrackActiveStyleProperty("left",E+"px")),t.adapter.setTrackActiveStyleProperty(b,"scaleX("+u+")");var S=T?R:E,D=t.adapter.isRTL()?E:R;(e===exports.Thumb.START||!e||!t.initialStylesRemoved)&&(t.adapter.setThumbStyleProperty(b,"translateX("+S+"px)",exports.Thumb.START),t.alignValueIndicator(exports.Thumb.START,S)),(e===exports.Thumb.END||!e||!t.initialStylesRemoved)&&(t.adapter.setThumbStyleProperty(b,"translateX("+D+"px)",exports.Thumb.END),t.alignValueIndicator(exports.Thumb.END,D)),t.removeInitialStyles(T),t.updateOverlappingThumbsUI(S,D,e)})}else this.animFrame.request(I.SLIDER_UPDATE,function(){var y=T?t.rect.width-p:p;t.adapter.setThumbStyleProperty(b,"translateX("+y+"px)",exports.Thumb.END),t.alignValueIndicator(exports.Thumb.END,y),t.adapter.setTrackActiveStyleProperty(b,"scaleX("+u+")"),t.removeInitialStyles(T)})},r.prototype.alignValueIndicator=function(e,t){if(this.isDiscrete){var i=this.adapter.getThumbBoundingClientRect(e).width/2,n=this.adapter.getValueIndicatorContainerWidth(e),s=this.adapter.getBoundingClientRect().width;n/2>t+i?(this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_LEFT,i+"px",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"0",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",e)):n/2>s-t+i?(this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_LEFT,"auto",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_RIGHT,i+"px",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(50%)",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"auto",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"0",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",e)):(this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_LEFT,"50%",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"50%",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"translateX(-50%)",e))}},r.prototype.removeInitialStyles=function(e){if(!this.initialStylesRemoved){var t=e?"right":"left";this.adapter.removeThumbStyleProperty(t,exports.Thumb.END),this.isRange&&this.adapter.removeThumbStyleProperty(t,exports.Thumb.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation()}},r.prototype.resetTrackAndThumbAnimation=function(){var e=this;if(this.isDiscrete){var t=C?w(window,"transition"):"transition",i="none 0s ease 0s";this.adapter.setThumbStyleProperty(t,i,exports.Thumb.END),this.isRange&&this.adapter.setThumbStyleProperty(t,i,exports.Thumb.START),this.adapter.setTrackActiveStyleProperty(t,i),requestAnimationFrame(function(){e.adapter.removeThumbStyleProperty(t,exports.Thumb.END),e.adapter.removeTrackActiveStyleProperty(t),e.isRange&&e.adapter.removeThumbStyleProperty(t,exports.Thumb.START)})}},r.prototype.updateOverlappingThumbsUI=function(e,t,i){var n=!1;if(this.adapter.isRTL()){var s=e-this.startThumbKnobWidth/2,u=t+this.endThumbKnobWidth/2;n=u>=s}else{var p=e+this.startThumbKnobWidth/2,T=t-this.endThumbKnobWidth/2;n=p>=T}n?(this.adapter.addThumbClass(l.THUMB_TOP,i||exports.Thumb.END),this.adapter.removeThumbClass(l.THUMB_TOP,i===exports.Thumb.START?exports.Thumb.END:exports.Thumb.START)):(this.adapter.removeThumbClass(l.THUMB_TOP,exports.Thumb.START),this.adapter.removeThumbClass(l.THUMB_TOP,exports.Thumb.END))},r.prototype.convertAttributeValueToNumber=function(e,t){if(e===null)throw new Error("MDCSliderFoundation: `"+t+"` must be non-null.");var i=Number(e);if(isNaN(i))throw new Error("MDCSliderFoundation: `"+t+"` value is `"+e+"`, but must be a number.");return i},r.prototype.validateProperties=function(e){var t=e.min,i=e.max,n=e.value,s=e.valueStart,u=e.step,p=e.minRange;if(t>=i)throw new Error("MDCSliderFoundation: min must be strictly less than max. "+("Current: [min: "+t+", max: "+i+"]"));if(u<=0)throw new Error("MDCSliderFoundation: step must be a positive number. "+("Current step: "+u));if(this.isRange){if(n<t||n>i||s<t||s>i)throw new Error("MDCSliderFoundation: values must be in [min, max] range. "+("Current values: [start value: "+s+", end value: ")+(n+", min: "+t+", max: "+i+"]"));if(s>n)throw new Error("MDCSliderFoundation: start value must be <= end value. "+("Current values: [start value: "+s+", end value: "+n+"]"));if(p<0)throw new Error("MDCSliderFoundation: minimum range must be non-negative. "+("Current min range: "+p));if(n-s<p)throw new Error("MDCSliderFoundation: start value and end value must differ by at least "+(p+". Current values: [start value: "+s+", ")+("end value: "+n+"]"));var T=(s-t)/u,b=(n-t)/u;if(!Number.isInteger(parseFloat(T.toFixed(6)))||!Number.isInteger(parseFloat(b.toFixed(6))))throw new Error("MDCSliderFoundation: Slider values must be valid based on the "+("step value ("+u+"). Current values: [start value: ")+(s+", end value: "+n+", min: "+t+"]"))}else{if(n<t||n>i)throw new Error("MDCSliderFoundation: value must be in [min, max] range. "+("Current values: [value: "+n+", min: "+t+", max: "+i+"]"));var b=(n-t)/u;if(!Number.isInteger(parseFloat(b.toFixed(6))))throw new Error("MDCSliderFoundation: Slider value must be valid based on the "+("step value ("+u+"). Current value: "+n))}},r.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener),r.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup",this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.registerThumbEventHandler(exports.Thumb.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(exports.Thumb.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(exports.Thumb.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(exports.Thumb.START,"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(exports.Thumb.START,"blur",this.inputStartBlurListener)),this.adapter.registerThumbEventHandler(exports.Thumb.END,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(exports.Thumb.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(exports.Thumb.END,"change",this.inputEndChangeListener),this.adapter.registerInputEventHandler(exports.Thumb.END,"focus",this.inputEndFocusListener),this.adapter.registerInputEventHandler(exports.Thumb.END,"blur",this.inputEndBlurListener)},r.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener),r.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.deregisterThumbEventHandler(exports.Thumb.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(exports.Thumb.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(exports.Thumb.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(exports.Thumb.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(exports.Thumb.START,"blur",this.inputStartBlurListener)),this.adapter.deregisterThumbEventHandler(exports.Thumb.END,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(exports.Thumb.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(exports.Thumb.END,"change",this.inputEndChangeListener),this.adapter.deregisterInputEventHandler(exports.Thumb.END,"focus",this.inputEndFocusListener),this.adapter.deregisterInputEventHandler(exports.Thumb.END,"blur",this.inputEndBlurListener)},r.prototype.handlePointerup=function(){this.handleUp(),this.adapter.deregisterEventHandler("pointermove",this.moveListener)},r.SUPPORTS_POINTER_EVENTS=C&&!!window.PointerEvent&&!$(),r}(O);function $(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}function P(a){var r=/(?:\.(\d+))?(?:[eE]([+\-]?\d+))?$/.exec(String(a));if(!r)return 0;var e=r[1]||"",t=r[2]||0;return Math.max(0,(e==="0"?0:e.length)-Number(t))}/**
127
+ */var R;(function(a){a.SLIDER_UPDATE="slider_update"})(R||(R={}));var C=typeof window<"u",B=function(a){d.__extends(r,a);function r(t){var e=a.call(this,d.__assign(d.__assign({},r.defaultAdapter),t))||this;return e.initialStylesRemoved=!1,e.isDisabled=!1,e.isDiscrete=!1,e.step=N.STEP_SIZE,e.minRange=N.MIN_RANGE,e.hasTickMarks=!1,e.isRange=!1,e.thumb=null,e.downEventClientX=null,e.startThumbKnobWidth=0,e.endThumbKnobWidth=0,e.animFrame=new F,e}return Object.defineProperty(r,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(){return 0},getValueIndicatorContainerWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){},setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),r.prototype.init=function(){var t=this;this.isDisabled=this.adapter.hasClass(l.DISABLED),this.isDiscrete=this.adapter.hasClass(l.DISCRETE),this.hasTickMarks=this.adapter.hasClass(l.TICK_MARKS),this.isRange=this.adapter.hasClass(l.RANGE);var e=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_MIN,this.isRange?exports.Thumb.START:exports.Thumb.END),h.INPUT_MIN),i=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_MAX,exports.Thumb.END),h.INPUT_MAX),n=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_VALUE,exports.Thumb.END),h.INPUT_VALUE),s=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(h.INPUT_VALUE,exports.Thumb.START),h.INPUT_VALUE):e,u=this.adapter.getInputAttribute(h.INPUT_STEP,exports.Thumb.END),p=u?this.convertAttributeValueToNumber(u,h.INPUT_STEP):this.step,T=this.adapter.getAttribute(h.DATA_MIN_RANGE),v=T?this.convertAttributeValueToNumber(T,h.DATA_MIN_RANGE):this.minRange;this.validateProperties({min:e,max:i,value:n,valueStart:s,step:p,minRange:v}),this.min=e,this.max=i,this.value=n,this.valueStart=s,this.step=p,this.minRange=v,this.numDecimalPlaces=P(this.step),this.valueBeforeDownEvent=n,this.valueStartBeforeDownEvent=s,this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this),this.moveListener=this.handleMove.bind(this),this.pointerdownListener=this.handlePointerdown.bind(this),this.pointerupListener=this.handlePointerup.bind(this),this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this),this.thumbMouseleaveListener=this.handleThumbMouseleave.bind(this),this.inputStartChangeListener=function(){t.handleInputChange(exports.Thumb.START)},this.inputEndChangeListener=function(){t.handleInputChange(exports.Thumb.END)},this.inputStartFocusListener=function(){t.handleInputFocus(exports.Thumb.START)},this.inputEndFocusListener=function(){t.handleInputFocus(exports.Thumb.END)},this.inputStartBlurListener=function(){t.handleInputBlur(exports.Thumb.START)},this.inputEndBlurListener=function(){t.handleInputBlur(exports.Thumb.END)},this.resizeListener=this.handleResize.bind(this),this.registerEventHandlers()},r.prototype.destroy=function(){this.deregisterEventHandlers()},r.prototype.setMin=function(t){this.min=t,this.isRange||(this.valueStart=t),this.updateUI()},r.prototype.setMax=function(t){this.max=t,this.updateUI()},r.prototype.getMin=function(){return this.min},r.prototype.getMax=function(){return this.max},r.prototype.getValue=function(){return this.value},r.prototype.setValue=function(t){if(this.isRange&&t<this.valueStart+this.minRange)throw new Error("end thumb value ("+t+") must be >= start thumb "+("value ("+this.valueStart+") + min range ("+this.minRange+")"));this.updateValue(t,exports.Thumb.END)},r.prototype.getValueStart=function(){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");return this.valueStart},r.prototype.setValueStart=function(t){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&t>this.value-this.minRange)throw new Error("start thumb value ("+t+") must be <= end thumb "+("value ("+this.value+") - min range ("+this.minRange+")"));this.updateValue(t,exports.Thumb.START)},r.prototype.setStep=function(t){this.step=t,this.numDecimalPlaces=P(t),this.updateUI()},r.prototype.setMinRange=function(t){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");if(t<0)throw new Error("`minRange` must be non-negative. "+("Current value: "+t));if(this.value-this.valueStart<t)throw new Error("start thumb value ("+this.valueStart+") and end thumb value "+("("+this.value+") must differ by at least "+t+"."));this.minRange=t},r.prototype.setIsDiscrete=function(t){this.isDiscrete=t,this.updateValueIndicatorUI(),this.updateTickMarksUI()},r.prototype.getStep=function(){return this.step},r.prototype.getMinRange=function(){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");return this.minRange},r.prototype.setHasTickMarks=function(t){this.hasTickMarks=t,this.updateTickMarksUI()},r.prototype.getDisabled=function(){return this.isDisabled},r.prototype.setDisabled=function(t){this.isDisabled=t,t?(this.adapter.addClass(l.DISABLED),this.isRange&&this.adapter.setInputAttribute(h.INPUT_DISABLED,"",exports.Thumb.START),this.adapter.setInputAttribute(h.INPUT_DISABLED,"",exports.Thumb.END)):(this.adapter.removeClass(l.DISABLED),this.isRange&&this.adapter.removeInputAttribute(h.INPUT_DISABLED,exports.Thumb.START),this.adapter.removeInputAttribute(h.INPUT_DISABLED,exports.Thumb.END))},r.prototype.getIsRange=function(){return this.isRange},r.prototype.layout=function(t){var e=t===void 0?{}:t,i=e.skipUpdateUI;this.rect=this.adapter.getBoundingClientRect(),this.isRange&&(this.startThumbKnobWidth=this.adapter.getThumbKnobWidth(exports.Thumb.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(exports.Thumb.END)),i||this.updateUI()},r.prototype.handleResize=function(){this.layout()},r.prototype.handleDown=function(t){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart,this.valueBeforeDownEvent=this.value;var e=t.clientX!=null?t.clientX:t.targetTouches[0].clientX;this.downEventClientX=e;var i=this.mapClientXOnSliderScale(e);this.thumb=this.getThumbFromDownEvent(e,i),this.thumb!==null&&(this.handleDragStart(t,i,this.thumb),this.updateValue(i,this.thumb,{emitInputEvent:!0}))}},r.prototype.handleMove=function(t){if(!this.isDisabled){t.preventDefault();var e=t.clientX!=null?t.clientX:t.targetTouches[0].clientX,i=this.thumb!=null;if(this.thumb=this.getThumbFromMoveEvent(e),this.thumb!==null){var n=this.mapClientXOnSliderScale(e);i||(this.handleDragStart(t,n,this.thumb),this.adapter.emitDragStartEvent(n,this.thumb)),this.updateValue(n,this.thumb,{emitInputEvent:!0})}}},r.prototype.handleUp=function(){var t,e;if(!(this.isDisabled||this.thumb===null)){!((e=(t=this.adapter).shouldHideFocusStylesForPointerEvents)===null||e===void 0)&&e.call(t)&&this.handleInputBlur(this.thumb);var i=this.thumb===exports.Thumb.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent,n=this.thumb===exports.Thumb.START?this.valueStart:this.value;i!==n&&this.adapter.emitChangeEvent(n,this.thumb),this.adapter.emitDragEndEvent(n,this.thumb),this.thumb=null}},r.prototype.handleThumbMouseenter=function(){!this.isDiscrete||!this.isRange||(this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.START),this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.END))},r.prototype.handleThumbMouseleave=function(){var t,e;!this.isDiscrete||!this.isRange||!(!((e=(t=this.adapter).shouldHideFocusStylesForPointerEvents)===null||e===void 0)&&e.call(t))&&(this.adapter.isInputFocused(exports.Thumb.START)||this.adapter.isInputFocused(exports.Thumb.END))||this.thumb||(this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.START),this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,exports.Thumb.END))},r.prototype.handleMousedownOrTouchstart=function(t){var e=this,i=t.type==="mousedown"?"mousemove":"touchmove";this.adapter.registerBodyEventHandler(i,this.moveListener);var n=function(){e.handleUp(),e.adapter.deregisterBodyEventHandler(i,e.moveListener),e.adapter.deregisterEventHandler("mouseup",n),e.adapter.deregisterEventHandler("touchend",n)};this.adapter.registerBodyEventHandler("mouseup",n),this.adapter.registerBodyEventHandler("touchend",n),this.handleDown(t)},r.prototype.handlePointerdown=function(t){var e=t.button===0;e&&(t.pointerId!=null&&this.adapter.setPointerCapture(t.pointerId),this.adapter.registerEventHandler("pointermove",this.moveListener),this.handleDown(t))},r.prototype.handleInputChange=function(t){var e=Number(this.adapter.getInputValue(t));t===exports.Thumb.START?this.setValueStart(e):this.setValue(e),this.adapter.emitChangeEvent(t===exports.Thumb.START?this.valueStart:this.value,t),this.adapter.emitInputEvent(t===exports.Thumb.START?this.valueStart:this.value,t)},r.prototype.handleInputFocus=function(t){if(this.adapter.addThumbClass(l.THUMB_FOCUSED,t),!!this.isDiscrete&&(this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,t),this.isRange)){var e=t===exports.Thumb.START?exports.Thumb.END:exports.Thumb.START;this.adapter.addThumbClass(l.THUMB_WITH_INDICATOR,e)}},r.prototype.handleInputBlur=function(t){if(this.adapter.removeThumbClass(l.THUMB_FOCUSED,t),!!this.isDiscrete&&(this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,t),this.isRange)){var e=t===exports.Thumb.START?exports.Thumb.END:exports.Thumb.START;this.adapter.removeThumbClass(l.THUMB_WITH_INDICATOR,e)}},r.prototype.handleDragStart=function(t,e,i){var n,s;this.adapter.emitDragStartEvent(e,i),this.adapter.focusInput(i),!((s=(n=this.adapter).shouldHideFocusStylesForPointerEvents)===null||s===void 0)&&s.call(n)&&this.handleInputFocus(i),t.preventDefault()},r.prototype.getThumbFromDownEvent=function(t,e){if(!this.isRange)return exports.Thumb.END;var i=this.adapter.getThumbBoundingClientRect(exports.Thumb.START),n=this.adapter.getThumbBoundingClientRect(exports.Thumb.END),s=t>=i.left&&t<=i.right,u=t>=n.left&&t<=n.right;return s&&u?null:s?exports.Thumb.START:u?exports.Thumb.END:e<this.valueStart?exports.Thumb.START:e>this.value?exports.Thumb.END:e-this.valueStart<=this.value-e?exports.Thumb.START:exports.Thumb.END},r.prototype.getThumbFromMoveEvent=function(t){if(this.thumb!==null)return this.thumb;if(this.downEventClientX===null)throw new Error("`downEventClientX` is null after move event.");var e=Math.abs(this.downEventClientX-t)<N.THUMB_UPDATE_MIN_PX;if(e)return this.thumb;var i=t<this.downEventClientX;return i?this.adapter.isRTL()?exports.Thumb.END:exports.Thumb.START:this.adapter.isRTL()?exports.Thumb.START:exports.Thumb.END},r.prototype.updateUI=function(t){t?this.updateThumbAndInputAttributes(t):(this.updateThumbAndInputAttributes(exports.Thumb.START),this.updateThumbAndInputAttributes(exports.Thumb.END)),this.updateThumbAndTrackUI(t),this.updateValueIndicatorUI(t),this.updateTickMarksUI()},r.prototype.updateThumbAndInputAttributes=function(t){if(t){var e=this.isRange&&t===exports.Thumb.START?this.valueStart:this.value,i=String(e);this.adapter.setInputAttribute(h.INPUT_VALUE,i,t),this.isRange&&t===exports.Thumb.START?this.adapter.setInputAttribute(h.INPUT_MIN,String(e+this.minRange),exports.Thumb.END):this.isRange&&t===exports.Thumb.END&&this.adapter.setInputAttribute(h.INPUT_MAX,String(e-this.minRange),exports.Thumb.START),this.adapter.getInputValue(t)!==i&&this.adapter.setInputValue(i,t);var n=this.adapter.getValueToAriaValueTextFn();n&&this.adapter.setInputAttribute(h.ARIA_VALUETEXT,n(e,t),t)}},r.prototype.updateValueIndicatorUI=function(t){if(this.isDiscrete){var e=this.isRange&&t===exports.Thumb.START?this.valueStart:this.value;this.adapter.setValueIndicatorText(e,t===exports.Thumb.START?exports.Thumb.START:exports.Thumb.END),!t&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,exports.Thumb.START)}},r.prototype.updateTickMarksUI=function(){if(!(!this.isDiscrete||!this.hasTickMarks)){var t=(this.valueStart-this.min)/this.step,e=(this.value-this.valueStart)/this.step+1,i=(this.max-this.value)/this.step,n=Array.from({length:t}).fill(_.INACTIVE),s=Array.from({length:e}).fill(_.ACTIVE),u=Array.from({length:i}).fill(_.INACTIVE);this.adapter.updateTickMarks(n.concat(s).concat(u))}},r.prototype.mapClientXOnSliderScale=function(t){var e=t-this.rect.left,i=e/this.rect.width;this.adapter.isRTL()&&(i=1-i);var n=this.min+i*(this.max-this.min);return n===this.max||n===this.min?n:Number(this.quantize(n).toFixed(this.numDecimalPlaces))},r.prototype.quantize=function(t){var e=Math.round((t-this.min)/this.step);return this.min+e*this.step},r.prototype.updateValue=function(t,e,i){var n=i===void 0?{}:i,s=n.emitInputEvent;if(t=this.clampValue(t,e),this.isRange&&e===exports.Thumb.START){if(this.valueStart===t)return;this.valueStart=t}else{if(this.value===t)return;this.value=t}this.updateUI(e),s&&this.adapter.emitInputEvent(e===exports.Thumb.START?this.valueStart:this.value,e)},r.prototype.clampValue=function(t,e){t=Math.min(Math.max(t,this.min),this.max);var i=this.isRange&&e===exports.Thumb.START&&t>this.value-this.minRange;if(i)return this.value-this.minRange;var n=this.isRange&&e===exports.Thumb.END&&t<this.valueStart+this.minRange;return n?this.valueStart+this.minRange:t},r.prototype.updateThumbAndTrackUI=function(t){var e=this,i=this,n=i.max,s=i.min,u=(this.value-this.valueStart)/(n-s),p=u*this.rect.width,T=this.adapter.isRTL(),v=C?M(window,"transform"):"transform";if(this.isRange){var E=this.adapter.isRTL()?(n-this.value)/(n-s)*this.rect.width:(this.valueStart-s)/(n-s)*this.rect.width,I=E+p;this.animFrame.request(R.SLIDER_UPDATE,function(){var y=!T&&t===exports.Thumb.START||T&&t!==exports.Thumb.START;y?(e.adapter.setTrackActiveStyleProperty("transform-origin","right"),e.adapter.setTrackActiveStyleProperty("left","auto"),e.adapter.setTrackActiveStyleProperty("right",e.rect.width-I+"px")):(e.adapter.setTrackActiveStyleProperty("transform-origin","left"),e.adapter.setTrackActiveStyleProperty("right","auto"),e.adapter.setTrackActiveStyleProperty("left",E+"px")),e.adapter.setTrackActiveStyleProperty(v,"scaleX("+u+")");var S=T?I:E,D=e.adapter.isRTL()?E:I;(t===exports.Thumb.START||!t||!e.initialStylesRemoved)&&(e.adapter.setThumbStyleProperty(v,"translateX("+S+"px)",exports.Thumb.START),e.alignValueIndicator(exports.Thumb.START,S)),(t===exports.Thumb.END||!t||!e.initialStylesRemoved)&&(e.adapter.setThumbStyleProperty(v,"translateX("+D+"px)",exports.Thumb.END),e.alignValueIndicator(exports.Thumb.END,D)),e.removeInitialStyles(T),e.updateOverlappingThumbsUI(S,D,t)})}else this.animFrame.request(R.SLIDER_UPDATE,function(){var y=T?e.rect.width-p:p;e.adapter.setThumbStyleProperty(v,"translateX("+y+"px)",exports.Thumb.END),e.alignValueIndicator(exports.Thumb.END,y),e.adapter.setTrackActiveStyleProperty(v,"scaleX("+u+")"),e.removeInitialStyles(T)})},r.prototype.alignValueIndicator=function(t,e){if(this.isDiscrete){var i=this.adapter.getThumbBoundingClientRect(t).width/2,n=this.adapter.getValueIndicatorContainerWidth(t),s=this.adapter.getBoundingClientRect().width;n/2>e+i?(this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_LEFT,i+"px",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"0",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",t)):n/2>s-e+i?(this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_LEFT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_RIGHT,i+"px",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(50%)",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"0",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",t)):(this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_LEFT,"50%",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"50%",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",t),this.adapter.setThumbStyleProperty(c.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"translateX(-50%)",t))}},r.prototype.removeInitialStyles=function(t){if(!this.initialStylesRemoved){var e=t?"right":"left";this.adapter.removeThumbStyleProperty(e,exports.Thumb.END),this.isRange&&this.adapter.removeThumbStyleProperty(e,exports.Thumb.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation()}},r.prototype.resetTrackAndThumbAnimation=function(){var t=this;if(this.isDiscrete){var e=C?M(window,"transition"):"transition",i="none 0s ease 0s";this.adapter.setThumbStyleProperty(e,i,exports.Thumb.END),this.isRange&&this.adapter.setThumbStyleProperty(e,i,exports.Thumb.START),this.adapter.setTrackActiveStyleProperty(e,i),requestAnimationFrame(function(){t.adapter.removeThumbStyleProperty(e,exports.Thumb.END),t.adapter.removeTrackActiveStyleProperty(e),t.isRange&&t.adapter.removeThumbStyleProperty(e,exports.Thumb.START)})}},r.prototype.updateOverlappingThumbsUI=function(t,e,i){var n=!1;if(this.adapter.isRTL()){var s=t-this.startThumbKnobWidth/2,u=e+this.endThumbKnobWidth/2;n=u>=s}else{var p=t+this.startThumbKnobWidth/2,T=e-this.endThumbKnobWidth/2;n=p>=T}n?(this.adapter.addThumbClass(l.THUMB_TOP,i||exports.Thumb.END),this.adapter.removeThumbClass(l.THUMB_TOP,i===exports.Thumb.START?exports.Thumb.END:exports.Thumb.START)):(this.adapter.removeThumbClass(l.THUMB_TOP,exports.Thumb.START),this.adapter.removeThumbClass(l.THUMB_TOP,exports.Thumb.END))},r.prototype.convertAttributeValueToNumber=function(t,e){if(t===null)throw new Error("MDCSliderFoundation: `"+e+"` must be non-null.");var i=Number(t);if(isNaN(i))throw new Error("MDCSliderFoundation: `"+e+"` value is `"+t+"`, but must be a number.");return i},r.prototype.validateProperties=function(t){var e=t.min,i=t.max,n=t.value,s=t.valueStart,u=t.step,p=t.minRange;if(e>=i)throw new Error("MDCSliderFoundation: min must be strictly less than max. "+("Current: [min: "+e+", max: "+i+"]"));if(u<=0)throw new Error("MDCSliderFoundation: step must be a positive number. "+("Current step: "+u));if(this.isRange){if(n<e||n>i||s<e||s>i)throw new Error("MDCSliderFoundation: values must be in [min, max] range. "+("Current values: [start value: "+s+", end value: ")+(n+", min: "+e+", max: "+i+"]"));if(s>n)throw new Error("MDCSliderFoundation: start value must be <= end value. "+("Current values: [start value: "+s+", end value: "+n+"]"));if(p<0)throw new Error("MDCSliderFoundation: minimum range must be non-negative. "+("Current min range: "+p));if(n-s<p)throw new Error("MDCSliderFoundation: start value and end value must differ by at least "+(p+". Current values: [start value: "+s+", ")+("end value: "+n+"]"));var T=(s-e)/u,v=(n-e)/u;if(!Number.isInteger(parseFloat(T.toFixed(6)))||!Number.isInteger(parseFloat(v.toFixed(6))))throw new Error("MDCSliderFoundation: Slider values must be valid based on the "+("step value ("+u+"). Current values: [start value: ")+(s+", end value: "+n+", min: "+e+"]"))}else{if(n<e||n>i)throw new Error("MDCSliderFoundation: value must be in [min, max] range. "+("Current values: [value: "+n+", min: "+e+", max: "+i+"]"));var v=(n-e)/u;if(!Number.isInteger(parseFloat(v.toFixed(6))))throw new Error("MDCSliderFoundation: Slider value must be valid based on the "+("step value ("+u+"). Current value: "+n))}},r.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener),r.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup",this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.registerThumbEventHandler(exports.Thumb.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(exports.Thumb.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(exports.Thumb.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(exports.Thumb.START,"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(exports.Thumb.START,"blur",this.inputStartBlurListener)),this.adapter.registerThumbEventHandler(exports.Thumb.END,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(exports.Thumb.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(exports.Thumb.END,"change",this.inputEndChangeListener),this.adapter.registerInputEventHandler(exports.Thumb.END,"focus",this.inputEndFocusListener),this.adapter.registerInputEventHandler(exports.Thumb.END,"blur",this.inputEndBlurListener)},r.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener),r.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.deregisterThumbEventHandler(exports.Thumb.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(exports.Thumb.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(exports.Thumb.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(exports.Thumb.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(exports.Thumb.START,"blur",this.inputStartBlurListener)),this.adapter.deregisterThumbEventHandler(exports.Thumb.END,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(exports.Thumb.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(exports.Thumb.END,"change",this.inputEndChangeListener),this.adapter.deregisterInputEventHandler(exports.Thumb.END,"focus",this.inputEndFocusListener),this.adapter.deregisterInputEventHandler(exports.Thumb.END,"blur",this.inputEndBlurListener)},r.prototype.handlePointerup=function(){this.handleUp(),this.adapter.deregisterEventHandler("pointermove",this.moveListener)},r.SUPPORTS_POINTER_EVENTS=C&&!!window.PointerEvent&&!$(),r}(O);function $(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}function P(a){var r=/(?:\.(\d+))?(?:[eE]([+\-]?\d+))?$/.exec(String(a));if(!r)return 0;var t=r[1]||"",e=r[2]||0;return Math.max(0,(t==="0"?0:t.length)-Number(e))}/**
128
128
  * @license
129
129
  * Copyright 2018 Google LLC
130
130
  * SPDX-License-Identifier: Apache-2.0
131
- */class o extends L.FormElement{constructor(){super(...arguments),this.mdcFoundationClass=B,this.disabled=!1,this.min=0,this.max=100,this.valueEnd=0,this.name="",this.step=1,this.withTickMarks=!1,this.discrete=!1,this.tickMarks=[],this.trackTransformOriginStyle="",this.trackLeftStyle="",this.trackRightStyle="",this.trackTransitionStyle="",this.endThumbWithIndicator=!1,this.endThumbTop=!1,this.shouldRenderEndRipple=!1,this.endThumbTransformStyle="",this.endThumbTransitionStyle="",this.endThumbCssProperties={},this.valueToAriaTextTransform=null,this.valueToValueIndicatorTransform=r=>`${r}`,this.boundMoveListener=null,this.endRippleHandlers=new V.RippleHandlers(()=>(this.shouldRenderEndRipple=!0,this.endRipple))}update(r){if(r.has("valueEnd")&&this.mdcFoundation){this.mdcFoundation.setValue(this.valueEnd);const e=this.mdcFoundation.getValue();e!==this.valueEnd&&(this.valueEnd=e)}r.has("discrete")&&(this.discrete||(this.tickMarks=[])),super.update(r)}render(){return this.renderRootEl(m.x`
131
+ */class o extends V.FormElement{constructor(){super(...arguments),this.mdcFoundationClass=B,this.disabled=!1,this.min=0,this.max=100,this.valueEnd=0,this.name="",this.step=1,this.withTickMarks=!1,this.discrete=!1,this.tickMarks=[],this.trackTransformOriginStyle="",this.trackLeftStyle="",this.trackRightStyle="",this.trackTransitionStyle="",this.endThumbWithIndicator=!1,this.endThumbTop=!1,this.shouldRenderEndRipple=!1,this.endThumbTransformStyle="",this.endThumbTransitionStyle="",this.endThumbCssProperties={},this.valueToAriaTextTransform=null,this.valueToValueIndicatorTransform=r=>`${r}`,this.boundMoveListener=null,this.endRippleHandlers=new L.RippleHandlers(()=>(this.shouldRenderEndRipple=!0,this.endRipple))}update(r){if(r.has("valueEnd")&&this.mdcFoundation){this.mdcFoundation.setValue(this.valueEnd);const t=this.mdcFoundation.getValue();t!==this.valueEnd&&(this.valueEnd=t)}r.has("discrete")&&(this.discrete||(this.tickMarks=[])),super.update(r)}render(){return this.renderRootEl(m.x`
132
132
  ${this.renderStartInput()}
133
133
  ${this.renderEndInput()}
134
134
  ${this.renderTrack()}
135
135
  ${this.renderTickMarks()}
136
136
  ${this.renderStartThumb()}
137
- ${this.renderEndThumb()}`)}renderRootEl(r){const e=x.o({"mdc-slider--disabled":this.disabled,"mdc-slider--discrete":this.discrete});return m.x`
137
+ ${this.renderEndThumb()}`)}renderRootEl(r){const t=x.o({"mdc-slider--disabled":this.disabled,"mdc-slider--discrete":this.discrete});return m.x`
138
138
  <div
139
- class="mdc-slider ${e}"
139
+ class="mdc-slider ${t}"
140
140
  @pointerdown=${this.onPointerdown}
141
141
  @pointerup=${this.onPointerup}
142
142
  @contextmenu=${this.onContextmenu}>
@@ -160,14 +160,14 @@
160
160
  aria-valuetext=${A.l((r=this.valueToAriaTextTransform)===null||r===void 0?void 0:r.call(this,this.valueEnd))}>
161
161
  `}renderTrack(){return m.A}renderTickMarks(){return this.withTickMarks?m.x`
162
162
  <div class="mdc-slider__tick-marks">
163
- ${this.tickMarks.map(r=>{const e=r===_.ACTIVE;return m.x`<div class="${e?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"}"></div>`})}
164
- </div>`:m.A}renderStartThumb(){return m.A}renderEndThumb(){const r=x.o({"mdc-slider__thumb--with-indicator":this.endThumbWithIndicator,"mdc-slider__thumb--top":this.endThumbTop}),e=U.o(Object.assign({"-webkit-transform":this.endThumbTransformStyle,transform:this.endThumbTransformStyle,"-webkit-transition":this.endThumbTransitionStyle,transition:this.endThumbTransitionStyle,left:this.endThumbTransformStyle||getComputedStyle(this).direction==="rtl"?"":`calc(${(this.valueEnd-this.min)/(this.max-this.min)*100}% - 24px)`,right:this.endThumbTransformStyle||getComputedStyle(this).direction!=="rtl"?"":`calc(${(this.valueEnd-this.min)/(this.max-this.min)*100}% - 24px)`},this.endThumbCssProperties)),t=this.shouldRenderEndRipple?m.x`<mwc-ripple class="ripple" unbounded></mwc-ripple>`:m.A;return m.x`
163
+ ${this.tickMarks.map(r=>{const t=r===_.ACTIVE;return m.x`<div class="${t?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"}"></div>`})}
164
+ </div>`:m.A}renderStartThumb(){return m.A}renderEndThumb(){const r=x.o({"mdc-slider__thumb--with-indicator":this.endThumbWithIndicator,"mdc-slider__thumb--top":this.endThumbTop}),t=U.o(Object.assign({"-webkit-transform":this.endThumbTransformStyle,transform:this.endThumbTransformStyle,"-webkit-transition":this.endThumbTransitionStyle,transition:this.endThumbTransitionStyle,left:this.endThumbTransformStyle||getComputedStyle(this).direction==="rtl"?"":`calc(${(this.valueEnd-this.min)/(this.max-this.min)*100}% - 24px)`,right:this.endThumbTransformStyle||getComputedStyle(this).direction!=="rtl"?"":`calc(${(this.valueEnd-this.min)/(this.max-this.min)*100}% - 24px)`},this.endThumbCssProperties)),e=this.shouldRenderEndRipple?m.x`<mwc-ripple class="ripple" unbounded></mwc-ripple>`:m.A;return m.x`
165
165
  <div
166
166
  class="mdc-slider__thumb end ${r}"
167
- style=${e}
167
+ style=${t}
168
168
  @mouseenter=${this.onEndMouseenter}
169
169
  @mouseleave=${this.onEndMouseleave}>
170
- ${t}
170
+ ${e}
171
171
  ${this.renderValueIndicator(this.valueToValueIndicatorTransform(this.valueEnd))}
172
172
  <div class="mdc-slider__thumb-knob"></div>
173
173
  </div>
@@ -178,7 +178,7 @@
178
178
  ${r}
179
179
  </span>
180
180
  </div>
181
- </div>`:m.A}disconnectedCallback(){super.disconnectedCallback(),this.mdcFoundation&&this.mdcFoundation.destroy()}createAdapter(){}async firstUpdated(){super.firstUpdated(),await this.layout(!0)}updated(r){super.updated(r),this.mdcFoundation&&(r.has("disabled")&&this.mdcFoundation.setDisabled(this.disabled),r.has("min")&&this.mdcFoundation.setMin(this.min),r.has("max")&&this.mdcFoundation.setMax(this.max),r.has("step")&&this.mdcFoundation.setStep(this.step),r.has("discrete")&&this.mdcFoundation.setIsDiscrete(this.discrete),r.has("withTickMarks")&&this.mdcFoundation.setHasTickMarks(this.withTickMarks))}async layout(r=!1){var e;(e=this.mdcFoundation)===null||e===void 0||e.layout({skipUpdateUI:r}),this.requestUpdate(),await this.updateComplete}onEndChange(r){var e;this.valueEnd=Number(r.target.value),(e=this.mdcFoundation)===null||e===void 0||e.handleInputChange(exports.Thumb.END)}onEndFocus(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleInputFocus(exports.Thumb.END),this.endRippleHandlers.startFocus()}onEndBlur(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleInputBlur(exports.Thumb.END),this.endRippleHandlers.endFocus()}onEndMouseenter(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleThumbMouseenter(),this.endRippleHandlers.startHover()}onEndMouseleave(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleThumbMouseleave(),this.endRippleHandlers.endHover()}onPointerdown(r){this.layout(),this.mdcFoundation&&(this.mdcFoundation.handlePointerdown(r),this.boundMoveListener=this.mdcFoundation.handleMove.bind(this.mdcFoundation),this.mdcRoot.addEventListener("pointermove",this.boundMoveListener))}onPointerup(){this.mdcFoundation&&(this.mdcFoundation.handleUp(),this.boundMoveListener&&(this.mdcRoot.removeEventListener("pointermove",this.boundMoveListener),this.boundMoveListener=null))}onContextmenu(r){r.preventDefault()}setFormData(r){this.name&&r.append(this.name,`${this.valueEnd}`)}}d.__decorate([g.i("input.end")],o.prototype,"formElement",void 0);d.__decorate([g.i(".mdc-slider")],o.prototype,"mdcRoot",void 0);d.__decorate([g.i(".end.mdc-slider__thumb")],o.prototype,"endThumb",void 0);d.__decorate([g.i(".end.mdc-slider__thumb .mdc-slider__thumb-knob")],o.prototype,"endThumbKnob",void 0);d.__decorate([g.i(".end.mdc-slider__thumb .mdc-slider__value-indicator-container")],o.prototype,"endValueIndicatorContainer",void 0);d.__decorate([V.e(".end .ripple")],o.prototype,"endRipple",void 0);d.__decorate([f.n({type:Boolean,reflect:!0})],o.prototype,"disabled",void 0);d.__decorate([f.n({type:Number})],o.prototype,"min",void 0);d.__decorate([f.n({type:Number})],o.prototype,"max",void 0);d.__decorate([f.n({type:Number})],o.prototype,"valueEnd",void 0);d.__decorate([f.n({type:String})],o.prototype,"name",void 0);d.__decorate([f.n({type:Number})],o.prototype,"step",void 0);d.__decorate([f.n({type:Boolean})],o.prototype,"withTickMarks",void 0);d.__decorate([f.n({type:Boolean})],o.prototype,"discrete",void 0);d.__decorate([v.t()],o.prototype,"tickMarks",void 0);d.__decorate([v.t()],o.prototype,"trackTransformOriginStyle",void 0);d.__decorate([v.t()],o.prototype,"trackLeftStyle",void 0);d.__decorate([v.t()],o.prototype,"trackRightStyle",void 0);d.__decorate([v.t()],o.prototype,"trackTransitionStyle",void 0);d.__decorate([v.t()],o.prototype,"endThumbWithIndicator",void 0);d.__decorate([v.t()],o.prototype,"endThumbTop",void 0);d.__decorate([v.t()],o.prototype,"shouldRenderEndRipple",void 0);d.__decorate([v.t()],o.prototype,"endThumbTransformStyle",void 0);d.__decorate([v.t()],o.prototype,"endThumbTransitionStyle",void 0);d.__decorate([v.t()],o.prototype,"endThumbCssProperties",void 0);d.__decorate([k.ariaProperty,f.n({type:String,attribute:"aria-label"})],o.prototype,"ariaLabel",void 0);d.__decorate([k.ariaProperty,f.n({type:String,attribute:"aria-labelledby"})],o.prototype,"ariaLabelledBy",void 0);d.__decorate([k.ariaProperty,f.n({type:String,attribute:"aria-describedby"})],o.prototype,"ariaDescribedBy",void 0);/**
181
+ </div>`:m.A}disconnectedCallback(){super.disconnectedCallback(),this.mdcFoundation&&this.mdcFoundation.destroy()}createAdapter(){}async firstUpdated(){super.firstUpdated(),await this.layout(!0)}updated(r){super.updated(r),this.mdcFoundation&&(r.has("disabled")&&this.mdcFoundation.setDisabled(this.disabled),r.has("min")&&this.mdcFoundation.setMin(this.min),r.has("max")&&this.mdcFoundation.setMax(this.max),r.has("step")&&this.mdcFoundation.setStep(this.step),r.has("discrete")&&this.mdcFoundation.setIsDiscrete(this.discrete),r.has("withTickMarks")&&this.mdcFoundation.setHasTickMarks(this.withTickMarks))}async layout(r=!1){var t;(t=this.mdcFoundation)===null||t===void 0||t.layout({skipUpdateUI:r}),this.requestUpdate(),await this.updateComplete}onEndChange(r){var t;this.valueEnd=Number(r.target.value),(t=this.mdcFoundation)===null||t===void 0||t.handleInputChange(exports.Thumb.END)}onEndFocus(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleInputFocus(exports.Thumb.END),this.endRippleHandlers.startFocus()}onEndBlur(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleInputBlur(exports.Thumb.END),this.endRippleHandlers.endFocus()}onEndMouseenter(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleThumbMouseenter(),this.endRippleHandlers.startHover()}onEndMouseleave(){var r;(r=this.mdcFoundation)===null||r===void 0||r.handleThumbMouseleave(),this.endRippleHandlers.endHover()}onPointerdown(r){this.layout(),this.mdcFoundation&&(this.mdcFoundation.handlePointerdown(r),this.boundMoveListener=this.mdcFoundation.handleMove.bind(this.mdcFoundation),this.mdcRoot.addEventListener("pointermove",this.boundMoveListener))}onPointerup(){this.mdcFoundation&&(this.mdcFoundation.handleUp(),this.boundMoveListener&&(this.mdcRoot.removeEventListener("pointermove",this.boundMoveListener),this.boundMoveListener=null))}onContextmenu(r){r.preventDefault()}setFormData(r){this.name&&r.append(this.name,`${this.valueEnd}`)}}d.__decorate([g.i("input.end")],o.prototype,"formElement",void 0);d.__decorate([g.i(".mdc-slider")],o.prototype,"mdcRoot",void 0);d.__decorate([g.i(".end.mdc-slider__thumb")],o.prototype,"endThumb",void 0);d.__decorate([g.i(".end.mdc-slider__thumb .mdc-slider__thumb-knob")],o.prototype,"endThumbKnob",void 0);d.__decorate([g.i(".end.mdc-slider__thumb .mdc-slider__value-indicator-container")],o.prototype,"endValueIndicatorContainer",void 0);d.__decorate([L.e(".end .ripple")],o.prototype,"endRipple",void 0);d.__decorate([b.n({type:Boolean,reflect:!0})],o.prototype,"disabled",void 0);d.__decorate([b.n({type:Number})],o.prototype,"min",void 0);d.__decorate([b.n({type:Number})],o.prototype,"max",void 0);d.__decorate([b.n({type:Number})],o.prototype,"valueEnd",void 0);d.__decorate([b.n({type:String})],o.prototype,"name",void 0);d.__decorate([b.n({type:Number})],o.prototype,"step",void 0);d.__decorate([b.n({type:Boolean})],o.prototype,"withTickMarks",void 0);d.__decorate([b.n({type:Boolean})],o.prototype,"discrete",void 0);d.__decorate([f.t()],o.prototype,"tickMarks",void 0);d.__decorate([f.t()],o.prototype,"trackTransformOriginStyle",void 0);d.__decorate([f.t()],o.prototype,"trackLeftStyle",void 0);d.__decorate([f.t()],o.prototype,"trackRightStyle",void 0);d.__decorate([f.t()],o.prototype,"trackTransitionStyle",void 0);d.__decorate([f.t()],o.prototype,"endThumbWithIndicator",void 0);d.__decorate([f.t()],o.prototype,"endThumbTop",void 0);d.__decorate([f.t()],o.prototype,"shouldRenderEndRipple",void 0);d.__decorate([f.t()],o.prototype,"endThumbTransformStyle",void 0);d.__decorate([f.t()],o.prototype,"endThumbTransitionStyle",void 0);d.__decorate([f.t()],o.prototype,"endThumbCssProperties",void 0);d.__decorate([k.ariaProperty,b.n({type:String,attribute:"aria-label"})],o.prototype,"ariaLabel",void 0);d.__decorate([k.ariaProperty,b.n({type:String,attribute:"aria-labelledby"})],o.prototype,"ariaLabelledBy",void 0);d.__decorate([k.ariaProperty,b.n({type:String,attribute:"aria-describedby"})],o.prototype,"ariaDescribedBy",void 0);/**
182
182
  * @license
183
183
  * Copyright 2021 Google LLC
184
184
  * SPDX-LIcense-Identifier: Apache-2.0
@@ -1,4 +1,4 @@
1
- "use strict";const a=require("./tslib.es6-CHeFCc6E.js"),c=require("./query-assigned-elements-BQszEgac.js"),_=require("./base-element-5ZU-p99q.js"),o=require("./property-BRKnMYJe.js"),p=require("./query-BvlE-gMJ.js"),b=require("./class-map-PsUYVqvf.js"),v=require("./utils-wMBJ9n_n.js"),y=require("./ripple-handlers-BDmOLx8c.js"),x=require("./observer-N9cgkDqh.js"),C=require("./state-Csv4sdJA.js"),I=require("./event-options-IG-2g8HU.js");/**
1
+ "use strict";const a=require("./tslib.es6-CHeFCc6E.js"),c=require("./query-assigned-elements-8EurZY45.js"),_=require("./base-element-DP9GZic2.js"),r=require("./property-DYTC_2-m.js"),p=require("./query-Dv2F3m_t.js"),b=require("./class-map-DTzB8z-1.js"),v=require("./utils-wMBJ9n_n.js"),y=require("./ripple-handlers-C7an-EE1.js"),x=require("./observer-N9cgkDqh.js"),C=require("./state-C3HoXfoa.js"),I=require("./event-options-DD382x85.js");/**
2
2
  * @license
3
3
  * Copyright 2016 Google Inc.
4
4
  *
@@ -61,7 +61,7 @@
61
61
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
62
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
63
  * THE SOFTWARE.
64
- */var d=function(e){a.__extends(t,e);function t(n){return e.call(this,a.__assign(a.__assign({},t.defaultAdapter),n))||this}return Object.defineProperty(t,"cssClasses",{get:function(){return w},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return A},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},computeContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},setContentStyleProperty:function(){}}},enumerable:!1,configurable:!0}),t.prototype.computeContentClientRect=function(){return this.adapter.computeContentClientRect()},t}(R);/**
64
+ */var d=function(e){a.__extends(t,e);function t(i){return e.call(this,a.__assign(a.__assign({},t.defaultAdapter),i))||this}return Object.defineProperty(t,"cssClasses",{get:function(){return w},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return A},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},computeContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},setContentStyleProperty:function(){}}},enumerable:!1,configurable:!0}),t.prototype.computeContentClientRect=function(){return this.adapter.computeContentClientRect()},t}(R);/**
65
65
  * @license
66
66
  * Copyright 2018 Google Inc.
67
67
  *
@@ -103,7 +103,7 @@
103
103
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
104
104
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
105
105
  * THE SOFTWARE.
106
- */var T=function(e){a.__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.activate=function(n){if(!n){this.adapter.addClass(d.cssClasses.ACTIVE);return}var r=this.computeContentClientRect(),f=n.width/r.width,m=n.left-r.left;this.adapter.addClass(d.cssClasses.NO_TRANSITION),this.adapter.setContentStyleProperty("transform","translateX("+m+"px) scaleX("+f+")"),this.computeContentClientRect(),this.adapter.removeClass(d.cssClasses.NO_TRANSITION),this.adapter.addClass(d.cssClasses.ACTIVE),this.adapter.setContentStyleProperty("transform","")},t.prototype.deactivate=function(){this.adapter.removeClass(d.cssClasses.ACTIVE)},t}(d);/**
106
+ */var T=function(e){a.__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.activate=function(i){if(!i){this.adapter.addClass(d.cssClasses.ACTIVE);return}var o=this.computeContentClientRect(),f=i.width/o.width,m=i.left-o.left;this.adapter.addClass(d.cssClasses.NO_TRANSITION),this.adapter.setContentStyleProperty("transform","translateX("+m+"px) scaleX("+f+")"),this.computeContentClientRect(),this.adapter.removeClass(d.cssClasses.NO_TRANSITION),this.adapter.addClass(d.cssClasses.ACTIVE),this.adapter.setContentStyleProperty("transform","")},t.prototype.deactivate=function(){this.adapter.removeClass(d.cssClasses.ACTIVE)},t}(d);/**
107
107
  * @license
108
108
  * Copyright 2018 Google LLC
109
109
  * SPDX-License-Identifier: Apache-2.0
@@ -111,7 +111,7 @@
111
111
  <span class="mdc-tab-indicator ${b.o({"mdc-tab-indicator--fade":this.fade})}">
112
112
  <span class="mdc-tab-indicator__content ${b.o(t)}">${this.icon}</span>
113
113
  </span>
114
- `}updated(t){t.has("fade")&&this.createFoundation()}createAdapter(){return Object.assign(Object.assign({},v.addHasRemoveClass(this.mdcRoot)),{computeContentClientRect:()=>this.contentElement.getBoundingClientRect(),setContentStyleProperty:(t,n)=>this.contentElement.style.setProperty(t,n)})}computeContentClientRect(){return this.mdcFoundation.computeContentClientRect()}activate(t){this.mdcFoundation.activate(t)}deactivate(){this.mdcFoundation.deactivate()}}a.__decorate([p.i(".mdc-tab-indicator")],l.prototype,"mdcRoot",void 0);a.__decorate([p.i(".mdc-tab-indicator__content")],l.prototype,"contentElement",void 0);a.__decorate([o.n()],l.prototype,"icon",void 0);a.__decorate([o.n({type:Boolean})],l.prototype,"fade",void 0);/**
114
+ `}updated(t){t.has("fade")&&this.createFoundation()}createAdapter(){return Object.assign(Object.assign({},v.addHasRemoveClass(this.mdcRoot)),{computeContentClientRect:()=>this.contentElement.getBoundingClientRect(),setContentStyleProperty:(t,i)=>this.contentElement.style.setProperty(t,i)})}computeContentClientRect(){return this.mdcFoundation.computeContentClientRect()}activate(t){this.mdcFoundation.activate(t)}deactivate(){this.mdcFoundation.deactivate()}}a.__decorate([p.i(".mdc-tab-indicator")],l.prototype,"mdcRoot",void 0);a.__decorate([p.i(".mdc-tab-indicator__content")],l.prototype,"contentElement",void 0);a.__decorate([r.n()],l.prototype,"icon",void 0);a.__decorate([r.n({type:Boolean})],l.prototype,"fade",void 0);/**
115
115
  * @license
116
116
  * Copyright 2021 Google LLC
117
117
  * SPDX-LIcense-Identifier: Apache-2.0
@@ -182,12 +182,12 @@
182
182
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
183
183
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
184
184
  * THE SOFTWARE.
185
- */var g=function(e){a.__extends(t,e);function t(n){var r=e.call(this,a.__assign(a.__assign({},t.defaultAdapter),n))||this;return r.focusOnActivate=!0,r}return Object.defineProperty(t,"cssClasses",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},activateIndicator:function(){},deactivateIndicator:function(){},notifyInteracted:function(){},getOffsetLeft:function(){return 0},getOffsetWidth:function(){return 0},getContentOffsetLeft:function(){return 0},getContentOffsetWidth:function(){return 0},focus:function(){}}},enumerable:!1,configurable:!0}),t.prototype.handleClick=function(){this.adapter.notifyInteracted()},t.prototype.isActive=function(){return this.adapter.hasClass(u.ACTIVE)},t.prototype.setFocusOnActivate=function(n){this.focusOnActivate=n},t.prototype.activate=function(n){this.adapter.addClass(u.ACTIVE),this.adapter.setAttr(s.ARIA_SELECTED,"true"),this.adapter.setAttr(s.TABINDEX,"0"),this.adapter.activateIndicator(n),this.focusOnActivate&&this.adapter.focus()},t.prototype.deactivate=function(){this.isActive()&&(this.adapter.removeClass(u.ACTIVE),this.adapter.setAttr(s.ARIA_SELECTED,"false"),this.adapter.setAttr(s.TABINDEX,"-1"),this.adapter.deactivateIndicator())},t.prototype.computeDimensions=function(){var n=this.adapter.getOffsetWidth(),r=this.adapter.getOffsetLeft(),f=this.adapter.getContentOffsetWidth(),m=this.adapter.getContentOffsetLeft();return{contentLeft:r+m,contentRight:r+m+f,rootLeft:r,rootRight:r+n}},t}(k);/**
185
+ */var g=function(e){a.__extends(t,e);function t(i){var o=e.call(this,a.__assign(a.__assign({},t.defaultAdapter),i))||this;return o.focusOnActivate=!0,o}return Object.defineProperty(t,"cssClasses",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},activateIndicator:function(){},deactivateIndicator:function(){},notifyInteracted:function(){},getOffsetLeft:function(){return 0},getOffsetWidth:function(){return 0},getContentOffsetLeft:function(){return 0},getContentOffsetWidth:function(){return 0},focus:function(){}}},enumerable:!1,configurable:!0}),t.prototype.handleClick=function(){this.adapter.notifyInteracted()},t.prototype.isActive=function(){return this.adapter.hasClass(u.ACTIVE)},t.prototype.setFocusOnActivate=function(i){this.focusOnActivate=i},t.prototype.activate=function(i){this.adapter.addClass(u.ACTIVE),this.adapter.setAttr(s.ARIA_SELECTED,"true"),this.adapter.setAttr(s.TABINDEX,"0"),this.adapter.activateIndicator(i),this.focusOnActivate&&this.adapter.focus()},t.prototype.deactivate=function(){this.isActive()&&(this.adapter.removeClass(u.ACTIVE),this.adapter.setAttr(s.ARIA_SELECTED,"false"),this.adapter.setAttr(s.TABINDEX,"-1"),this.adapter.deactivateIndicator())},t.prototype.computeDimensions=function(){var i=this.adapter.getOffsetWidth(),o=this.adapter.getOffsetLeft(),f=this.adapter.getContentOffsetWidth(),m=this.adapter.getContentOffsetLeft();return{contentLeft:o+m,contentRight:o+m+f,rootLeft:o,rootRight:o+i}},t}(k);/**
186
186
  * @license
187
187
  * Copyright 2018 Google LLC
188
188
  * SPDX-License-Identifier: Apache-2.0
189
- */let F=0;class i extends _.BaseElement{constructor(){super(...arguments),this.mdcFoundationClass=g,this.label="",this.icon="",this.hasImageIcon=!1,this.isFadingIndicator=!1,this.minWidth=!1,this.isMinWidthIndicator=!1,this.indicatorIcon="",this.stacked=!1,this.focusOnActivate=!0,this._active=!1,this.initFocus=!1,this.shouldRenderRipple=!1,this.useStateLayerCustomProperties=!1,this.rippleElement=null,this.rippleHandlers=new y.RippleHandlers(()=>(this.shouldRenderRipple=!0,this.ripple.then(t=>this.rippleElement=t),this.ripple))}get active(){return this._active}connectedCallback(){this.dir=document.dir,super.connectedCallback()}firstUpdated(){super.firstUpdated(),this.id=this.id||`mdc-tab-${++F}`}render(){const t={"mdc-tab--min-width":this.minWidth,"mdc-tab--stacked":this.stacked};let n=c.x``;(this.hasImageIcon||this.icon)&&(n=c.x`
190
- <span class="mdc-tab__icon material-icons"><slot name="icon">${this.icon}</slot></span>`);let r=c.x``;return this.label&&(r=c.x`
189
+ */let F=0;class n extends _.BaseElement{constructor(){super(...arguments),this.mdcFoundationClass=g,this.label="",this.icon="",this.hasImageIcon=!1,this.isFadingIndicator=!1,this.minWidth=!1,this.isMinWidthIndicator=!1,this.indicatorIcon="",this.stacked=!1,this.focusOnActivate=!0,this._active=!1,this.initFocus=!1,this.shouldRenderRipple=!1,this.useStateLayerCustomProperties=!1,this.rippleElement=null,this.rippleHandlers=new y.RippleHandlers(()=>(this.shouldRenderRipple=!0,this.ripple.then(t=>this.rippleElement=t),this.ripple))}get active(){return this._active}connectedCallback(){this.dir=document.dir,super.connectedCallback()}firstUpdated(){super.firstUpdated(),this.id=this.id||`mdc-tab-${++F}`}render(){const t={"mdc-tab--min-width":this.minWidth,"mdc-tab--stacked":this.stacked};let i=c.x``;(this.hasImageIcon||this.icon)&&(i=c.x`
190
+ <span class="mdc-tab__icon material-icons"><slot name="icon">${this.icon}</slot></span>`);let o=c.x``;return this.label&&(o=c.x`
191
191
  <span class="mdc-tab__text-label">${this.label}</span>`),c.x`
192
192
  <button
193
193
  @click="${this.handleClick}"
@@ -204,8 +204,8 @@
204
204
  @touchend="${this.handleRippleDeactivate}"
205
205
  @touchcancel="${this.handleRippleDeactivate}">
206
206
  <span class="mdc-tab__content">
207
- ${n}
208
- ${r}
207
+ ${i}
208
+ ${o}
209
209
  ${this.isMinWidthIndicator?this.renderIndicator():""}
210
210
  </span>
211
211
  ${this.isMinWidthIndicator?"":this.renderIndicator()}
@@ -213,8 +213,8 @@
213
213
  </button>`}renderIndicator(){return c.x`<mwc-tab-indicator
214
214
  .icon="${this.indicatorIcon}"
215
215
  .fade="${this.isFadingIndicator}"></mwc-tab-indicator>`}renderRipple(){return this.shouldRenderRipple?c.x`<mwc-ripple primary
216
- .internalUseStateLayerCustomProperties="${this.useStateLayerCustomProperties}"></mwc-ripple>`:""}createAdapter(){return Object.assign(Object.assign({},v.addHasRemoveClass(this.mdcRoot)),{setAttr:(t,n)=>this.mdcRoot.setAttribute(t,n),activateIndicator:async t=>{await this.tabIndicator.updateComplete,this.tabIndicator.activate(t)},deactivateIndicator:async()=>{await this.tabIndicator.updateComplete,this.tabIndicator.deactivate()},notifyInteracted:()=>this.dispatchEvent(new CustomEvent(g.strings.INTERACTED_EVENT,{detail:{tabId:this.id},bubbles:!0,composed:!0,cancelable:!0})),getOffsetLeft:()=>this.offsetLeft,getOffsetWidth:()=>this.mdcRoot.offsetWidth,getContentOffsetLeft:()=>this._contentElement.offsetLeft,getContentOffsetWidth:()=>this._contentElement.offsetWidth,focus:()=>{this.initFocus?this.initFocus=!1:this.mdcRoot.focus()}})}activate(t){t||(this.initFocus=!0),this.mdcFoundation?(this.mdcFoundation.activate(t),this.setActive(this.mdcFoundation.isActive())):this.updateComplete.then(()=>{this.mdcFoundation.activate(t),this.setActive(this.mdcFoundation.isActive())})}deactivate(){this.mdcFoundation.deactivate(),this.setActive(this.mdcFoundation.isActive())}setActive(t){const n=this.active;n!==t&&(this._active=t,this.requestUpdate("active",n))}computeDimensions(){return this.mdcFoundation.computeDimensions()}computeIndicatorClientRect(){return this.tabIndicator.computeContentClientRect()}focus(){this.mdcRoot.focus(),this.handleFocus()}handleClick(){this.handleFocus(),this.mdcFoundation.handleClick()}handleFocus(){this.handleRippleFocus()}handleBlur(){this.handleRippleBlur()}handleRippleMouseDown(t){const n=()=>{window.removeEventListener("mouseup",n),this.handleRippleDeactivate()};window.addEventListener("mouseup",n),this.rippleHandlers.startPress(t)}handleRippleTouchStart(t){this.rippleHandlers.startPress(t)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}get isRippleActive(){var t;return((t=this.rippleElement)===null||t===void 0?void 0:t.isActive)||!1}}i.shadowRootOptions={mode:"open",delegatesFocus:!0};a.__decorate([p.i(".mdc-tab")],i.prototype,"mdcRoot",void 0);a.__decorate([p.i("mwc-tab-indicator")],i.prototype,"tabIndicator",void 0);a.__decorate([o.n()],i.prototype,"label",void 0);a.__decorate([o.n()],i.prototype,"icon",void 0);a.__decorate([o.n({type:Boolean})],i.prototype,"hasImageIcon",void 0);a.__decorate([o.n({type:Boolean})],i.prototype,"isFadingIndicator",void 0);a.__decorate([o.n({type:Boolean})],i.prototype,"minWidth",void 0);a.__decorate([o.n({type:Boolean})],i.prototype,"isMinWidthIndicator",void 0);a.__decorate([o.n({type:Boolean,reflect:!0,attribute:"active"})],i.prototype,"active",null);a.__decorate([o.n()],i.prototype,"indicatorIcon",void 0);a.__decorate([o.n({type:Boolean})],i.prototype,"stacked",void 0);a.__decorate([x.observer(async function(e){await this.updateComplete,this.mdcFoundation.setFocusOnActivate(e)}),o.n({type:Boolean})],i.prototype,"focusOnActivate",void 0);a.__decorate([p.i(".mdc-tab__content")],i.prototype,"_contentElement",void 0);a.__decorate([C.t()],i.prototype,"shouldRenderRipple",void 0);a.__decorate([C.t()],i.prototype,"useStateLayerCustomProperties",void 0);a.__decorate([y.e("mwc-ripple")],i.prototype,"ripple",void 0);a.__decorate([I.e({passive:!0})],i.prototype,"handleRippleTouchStart",null);/**
216
+ .internalUseStateLayerCustomProperties="${this.useStateLayerCustomProperties}"></mwc-ripple>`:""}createAdapter(){return Object.assign(Object.assign({},v.addHasRemoveClass(this.mdcRoot)),{setAttr:(t,i)=>this.mdcRoot.setAttribute(t,i),activateIndicator:async t=>{await this.tabIndicator.updateComplete,this.tabIndicator.activate(t)},deactivateIndicator:async()=>{await this.tabIndicator.updateComplete,this.tabIndicator.deactivate()},notifyInteracted:()=>this.dispatchEvent(new CustomEvent(g.strings.INTERACTED_EVENT,{detail:{tabId:this.id},bubbles:!0,composed:!0,cancelable:!0})),getOffsetLeft:()=>this.offsetLeft,getOffsetWidth:()=>this.mdcRoot.offsetWidth,getContentOffsetLeft:()=>this._contentElement.offsetLeft,getContentOffsetWidth:()=>this._contentElement.offsetWidth,focus:()=>{this.initFocus?this.initFocus=!1:this.mdcRoot.focus()}})}activate(t){t||(this.initFocus=!0),this.mdcFoundation?(this.mdcFoundation.activate(t),this.setActive(this.mdcFoundation.isActive())):this.updateComplete.then(()=>{this.mdcFoundation.activate(t),this.setActive(this.mdcFoundation.isActive())})}deactivate(){this.mdcFoundation.deactivate(),this.setActive(this.mdcFoundation.isActive())}setActive(t){const i=this.active;i!==t&&(this._active=t,this.requestUpdate("active",i))}computeDimensions(){return this.mdcFoundation.computeDimensions()}computeIndicatorClientRect(){return this.tabIndicator.computeContentClientRect()}focus(){this.mdcRoot.focus(),this.handleFocus()}handleClick(){this.handleFocus(),this.mdcFoundation.handleClick()}handleFocus(){this.handleRippleFocus()}handleBlur(){this.handleRippleBlur()}handleRippleMouseDown(t){const i=()=>{window.removeEventListener("mouseup",i),this.handleRippleDeactivate()};window.addEventListener("mouseup",i),this.rippleHandlers.startPress(t)}handleRippleTouchStart(t){this.rippleHandlers.startPress(t)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}get isRippleActive(){var t;return((t=this.rippleElement)===null||t===void 0?void 0:t.isActive)||!1}}n.shadowRootOptions={mode:"open",delegatesFocus:!0};a.__decorate([p.i(".mdc-tab")],n.prototype,"mdcRoot",void 0);a.__decorate([p.i("mwc-tab-indicator")],n.prototype,"tabIndicator",void 0);a.__decorate([r.n()],n.prototype,"label",void 0);a.__decorate([r.n()],n.prototype,"icon",void 0);a.__decorate([r.n({type:Boolean})],n.prototype,"hasImageIcon",void 0);a.__decorate([r.n({type:Boolean})],n.prototype,"isFadingIndicator",void 0);a.__decorate([r.n({type:Boolean})],n.prototype,"minWidth",void 0);a.__decorate([r.n({type:Boolean})],n.prototype,"isMinWidthIndicator",void 0);a.__decorate([r.n({type:Boolean,reflect:!0,attribute:"active"})],n.prototype,"active",null);a.__decorate([r.n()],n.prototype,"indicatorIcon",void 0);a.__decorate([r.n({type:Boolean})],n.prototype,"stacked",void 0);a.__decorate([x.observer(async function(e){await this.updateComplete,this.mdcFoundation.setFocusOnActivate(e)}),r.n({type:Boolean})],n.prototype,"focusOnActivate",void 0);a.__decorate([p.i(".mdc-tab__content")],n.prototype,"_contentElement",void 0);a.__decorate([C.t()],n.prototype,"shouldRenderRipple",void 0);a.__decorate([C.t()],n.prototype,"useStateLayerCustomProperties",void 0);a.__decorate([y.e("mwc-ripple")],n.prototype,"ripple",void 0);a.__decorate([I.e({passive:!0})],n.prototype,"handleRippleTouchStart",null);/**
217
217
  * @license
218
218
  * Copyright 2021 Google LLC
219
219
  * SPDX-LIcense-Identifier: Apache-2.0
220
- */const z=c.i`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-tab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase);position:relative}.mdc-tab .mdc-tab__text-label{color:rgba(0, 0, 0, 0.6)}.mdc-tab .mdc-tab__icon{color:rgba(0, 0, 0, 0.54);fill:currentColor}.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:8px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc( 100% + -12px );width:calc( 100% + -8px );margin-top:-2px;z-index:2}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring::after{content:"";border:2px solid transparent;border-radius:10px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring::after{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:8px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc( 100% + -8px );width:calc( 100% + -8px );z-index:2}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring::after{content:"";border:2px solid transparent;border-radius:10px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring::after{border-color:CanvasText}}.mdc-tab__content{position:relative}.mdc-tab__icon{width:24px;height:24px;font-size:24px}.mdc-tab--active .mdc-tab__text-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-tab--active .mdc-tab__icon{color:#6200ee;color:var(--mdc-theme-primary, #6200ee);fill:currentColor}.mdc-tab{background:none}.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-tab{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-tab .mdc-tab__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-tab .mdc-tab__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-tab.mdc-ripple-upgraded--unbounded .mdc-tab__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-tab.mdc-ripple-upgraded--foreground-activation .mdc-tab__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-tab.mdc-ripple-upgraded--foreground-deactivation .mdc-tab__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-tab:hover .mdc-tab__ripple::before,.mdc-tab.mdc-ripple-surface--hover .mdc-tab__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__ripple::before,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-tab:not(.mdc-ripple-upgraded) .mdc-tab__ripple::after{transition:opacity 150ms linear}.mdc-tab:not(.mdc-ripple-upgraded):active .mdc-tab__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-tab.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-tab__ripple{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;will-change:transform,opacity}:host{outline:none;flex:1 0 auto;display:flex;justify-content:center;-webkit-tap-highlight-color:transparent}.mdc-tab{height:var(--mdc-tab-height, 48px);margin-left:0;margin-right:0;padding-right:var(--mdc-tab-horizontal-padding, 24px);padding-left:var(--mdc-tab-horizontal-padding, 24px)}.mdc-tab--stacked{height:var(--mdc-tab-stacked-height, 72px)}.mdc-tab::-moz-focus-inner{border:0}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mdc-tab-text-label-color-default, rgba(0, 0, 0, 0.6))}.mdc-tab:not(.mdc-tab--active) .mdc-tab__icon{color:var(--mdc-tab-color-default, rgba(0, 0, 0, 0.54))}`;exports.TabBase=i;exports.styles=z;
220
+ */const z=c.i`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-tab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase);position:relative}.mdc-tab .mdc-tab__text-label{color:rgba(0, 0, 0, 0.6)}.mdc-tab .mdc-tab__icon{color:rgba(0, 0, 0, 0.54);fill:currentColor}.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:8px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc( 100% + -12px );width:calc( 100% + -8px );margin-top:-2px;z-index:2}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring::after{content:"";border:2px solid transparent;border-radius:10px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused.mdc-tab--active .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus.mdc-tab--active .mdc-tab__focus-ring::after{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:8px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc( 100% + -8px );width:calc( 100% + -8px );z-index:2}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring{border-color:CanvasText}}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring::after{content:"";border:2px solid transparent;border-radius:10px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__focus-ring::after,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__focus-ring::after{border-color:CanvasText}}.mdc-tab__content{position:relative}.mdc-tab__icon{width:24px;height:24px;font-size:24px}.mdc-tab--active .mdc-tab__text-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-tab--active .mdc-tab__icon{color:#6200ee;color:var(--mdc-theme-primary, #6200ee);fill:currentColor}.mdc-tab{background:none}.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-tab{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-tab .mdc-tab__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-tab .mdc-tab__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-tab.mdc-ripple-upgraded--unbounded .mdc-tab__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-tab.mdc-ripple-upgraded--foreground-activation .mdc-tab__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-tab.mdc-ripple-upgraded--foreground-deactivation .mdc-tab__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-tab:hover .mdc-tab__ripple::before,.mdc-tab.mdc-ripple-surface--hover .mdc-tab__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__ripple::before,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-tab:not(.mdc-ripple-upgraded) .mdc-tab__ripple::after{transition:opacity 150ms linear}.mdc-tab:not(.mdc-ripple-upgraded):active .mdc-tab__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-tab.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-tab__ripple{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;will-change:transform,opacity}:host{outline:none;flex:1 0 auto;display:flex;justify-content:center;-webkit-tap-highlight-color:transparent}.mdc-tab{height:var(--mdc-tab-height, 48px);margin-left:0;margin-right:0;padding-right:var(--mdc-tab-horizontal-padding, 24px);padding-left:var(--mdc-tab-horizontal-padding, 24px)}.mdc-tab--stacked{height:var(--mdc-tab-stacked-height, 72px)}.mdc-tab::-moz-focus-inner{border:0}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mdc-tab-text-label-color-default, rgba(0, 0, 0, 0.6))}.mdc-tab:not(.mdc-tab--active) .mdc-tab__icon{color:var(--mdc-tab-color-default, rgba(0, 0, 0, 0.54))}`;exports.TabBase=n;exports.styles=z;
@@ -1,14 +1,14 @@
1
- import { _ as b, a as f, b as i } from "./tslib.es6-CISSdiiH.mjs";
2
- import { x as d, i as y, e as R } from "./query-assigned-elements-DhyCP_2z.mjs";
3
- import { B as C } from "./base-element-CzNmpVoz.mjs";
4
- import { n as o } from "./property-DJzm_oB9.mjs";
5
- import { i as p } from "./query-DSO61t36.mjs";
6
- import { o as g } from "./class-map-BHl5MHd7.mjs";
1
+ import { _ as b, a as f, b as i } from "./tslib.es6-CJ7TUrOc.mjs";
2
+ import { x as d, i as y, e as R } from "./query-assigned-elements-D930kELM.mjs";
3
+ import { B as C } from "./base-element-DUJkJh_y.mjs";
4
+ import { n as r } from "./property-DJzm_oB9.mjs";
5
+ import { i as p } from "./query-CDOd1Kwm.mjs";
6
+ import { o as g } from "./class-map-DPUylGZM.mjs";
7
7
  import { a as x } from "./utils-Dr5MegQq.mjs";
8
- import { e as w, R as T } from "./ripple-handlers-BAdg-fJB.mjs";
8
+ import { e as w, R as T } from "./ripple-handlers-_gEIkKpx.mjs";
9
9
  import { o as A } from "./observer-DQ8OfVDQ.mjs";
10
10
  import { t as I } from "./state-B_tK3mBm.mjs";
11
- import { e as E } from "./event-options-D44mpm5S.mjs";
11
+ import { e as E } from "./event-options-C7DvXRgq.mjs";
12
12
  /**
13
13
  * @license
14
14
  * Copyright 2016 Google Inc.
@@ -227,7 +227,7 @@ var D = (
227
227
  this.adapter.addClass(c.cssClasses.ACTIVE);
228
228
  return;
229
229
  }
230
- var r = this.computeContentClientRect(), h = a.width / r.width, m = a.left - r.left;
230
+ var o = this.computeContentClientRect(), h = a.width / o.width, m = a.left - o.left;
231
231
  this.adapter.addClass(c.cssClasses.NO_TRANSITION), this.adapter.setContentStyleProperty("transform", "translateX(" + m + "px) scaleX(" + h + ")"), this.computeContentClientRect(), this.adapter.removeClass(c.cssClasses.NO_TRANSITION), this.adapter.addClass(c.cssClasses.ACTIVE), this.adapter.setContentStyleProperty("transform", "");
232
232
  }, t.prototype.deactivate = function() {
233
233
  this.adapter.removeClass(c.cssClasses.ACTIVE);
@@ -283,10 +283,10 @@ i([
283
283
  p(".mdc-tab-indicator__content")
284
284
  ], l.prototype, "contentElement", void 0);
285
285
  i([
286
- o()
286
+ r()
287
287
  ], l.prototype, "icon", void 0);
288
288
  i([
289
- o({ type: Boolean })
289
+ r({ type: Boolean })
290
290
  ], l.prototype, "fade", void 0);
291
291
  /**
292
292
  * @license
@@ -421,8 +421,8 @@ var v = (
421
421
  function(e) {
422
422
  b(t, e);
423
423
  function t(a) {
424
- var r = e.call(this, f(f({}, t.defaultAdapter), a)) || this;
425
- return r.focusOnActivate = !0, r;
424
+ var o = e.call(this, f(f({}, t.defaultAdapter), a)) || this;
425
+ return o.focusOnActivate = !0, o;
426
426
  }
427
427
  return Object.defineProperty(t, "cssClasses", {
428
428
  get: function() {
@@ -483,12 +483,12 @@ var v = (
483
483
  }, t.prototype.deactivate = function() {
484
484
  this.isActive() && (this.adapter.removeClass(u.ACTIVE), this.adapter.setAttr(s.ARIA_SELECTED, "false"), this.adapter.setAttr(s.TABINDEX, "-1"), this.adapter.deactivateIndicator());
485
485
  }, t.prototype.computeDimensions = function() {
486
- var a = this.adapter.getOffsetWidth(), r = this.adapter.getOffsetLeft(), h = this.adapter.getContentOffsetWidth(), m = this.adapter.getContentOffsetLeft();
486
+ var a = this.adapter.getOffsetWidth(), o = this.adapter.getOffsetLeft(), h = this.adapter.getContentOffsetWidth(), m = this.adapter.getContentOffsetLeft();
487
487
  return {
488
- contentLeft: r + m,
489
- contentRight: r + m + h,
490
- rootLeft: r,
491
- rootRight: r + a
488
+ contentLeft: o + m,
489
+ contentRight: o + m + h,
490
+ rootLeft: o,
491
+ rootRight: o + a
492
492
  };
493
493
  }, t;
494
494
  }(L)
@@ -520,8 +520,8 @@ class n extends C {
520
520
  let a = d``;
521
521
  (this.hasImageIcon || this.icon) && (a = d`
522
522
  <span class="mdc-tab__icon material-icons"><slot name="icon">${this.icon}</slot></span>`);
523
- let r = d``;
524
- return this.label && (r = d`
523
+ let o = d``;
524
+ return this.label && (o = d`
525
525
  <span class="mdc-tab__text-label">${this.label}</span>`), d`
526
526
  <button
527
527
  @click="${this.handleClick}"
@@ -539,7 +539,7 @@ class n extends C {
539
539
  @touchcancel="${this.handleRippleDeactivate}">
540
540
  <span class="mdc-tab__content">
541
541
  ${a}
542
- ${r}
542
+ ${o}
543
543
  ${this.isMinWidthIndicator ? this.renderIndicator() : ""}
544
544
  </span>
545
545
  ${this.isMinWidthIndicator ? "" : this.renderIndicator()}
@@ -639,37 +639,37 @@ i([
639
639
  p("mwc-tab-indicator")
640
640
  ], n.prototype, "tabIndicator", void 0);
641
641
  i([
642
- o()
642
+ r()
643
643
  ], n.prototype, "label", void 0);
644
644
  i([
645
- o()
645
+ r()
646
646
  ], n.prototype, "icon", void 0);
647
647
  i([
648
- o({ type: Boolean })
648
+ r({ type: Boolean })
649
649
  ], n.prototype, "hasImageIcon", void 0);
650
650
  i([
651
- o({ type: Boolean })
651
+ r({ type: Boolean })
652
652
  ], n.prototype, "isFadingIndicator", void 0);
653
653
  i([
654
- o({ type: Boolean })
654
+ r({ type: Boolean })
655
655
  ], n.prototype, "minWidth", void 0);
656
656
  i([
657
- o({ type: Boolean })
657
+ r({ type: Boolean })
658
658
  ], n.prototype, "isMinWidthIndicator", void 0);
659
659
  i([
660
- o({ type: Boolean, reflect: !0, attribute: "active" })
660
+ r({ type: Boolean, reflect: !0, attribute: "active" })
661
661
  ], n.prototype, "active", null);
662
662
  i([
663
- o()
663
+ r()
664
664
  ], n.prototype, "indicatorIcon", void 0);
665
665
  i([
666
- o({ type: Boolean })
666
+ r({ type: Boolean })
667
667
  ], n.prototype, "stacked", void 0);
668
668
  i([
669
669
  A(async function(e) {
670
670
  await this.updateComplete, this.mdcFoundation.setFocusOnActivate(e);
671
671
  }),
672
- o({ type: Boolean })
672
+ r({ type: Boolean })
673
673
  ], n.prototype, "focusOnActivate", void 0);
674
674
  i([
675
675
  p(".mdc-tab__content")
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("./tslib.es6-CHeFCc6E.js"),a=require("./property-BRKnMYJe.js"),c=require("./query-assigned-elements-BQszEgac.js"),_=require("./base-element-5ZU-p99q.js"),g=require("./utils-wMBJ9n_n.js"),T=require("./query-BvlE-gMJ.js"),f=require("./class-map-PsUYVqvf.js");/**
1
+ "use strict";const i=require("./tslib.es6-CHeFCc6E.js"),a=require("./property-DYTC_2-m.js"),c=require("./query-assigned-elements-8EurZY45.js"),_=require("./base-element-DP9GZic2.js"),g=require("./utils-wMBJ9n_n.js"),T=require("./query-Dv2F3m_t.js"),f=require("./class-map-DTzB8z-1.js");/**
2
2
  * @license
3
3
  * Copyright 2018 Google Inc.
4
4
  *
@@ -82,7 +82,7 @@
82
82
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
83
83
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
84
84
  * THE SOFTWARE.
85
- */var o=0,y=function(r){i.__extends(e,r);function e(t){var s=r.call(this,t)||this;return s.wasDocked=!0,s.isDockedShowing=!0,s.currentAppBarOffsetTop=0,s.isCurrentlyBeingResized=!1,s.resizeThrottleId=o,s.resizeDebounceId=o,s.lastScrollPosition=s.adapter.getViewportScrollY(),s.topAppBarHeight=s.adapter.getTopAppBarHeight(),s}return e.prototype.destroy=function(){r.prototype.destroy.call(this),this.adapter.setStyle("top","")},e.prototype.handleTargetScroll=function(){var t=Math.max(this.adapter.getViewportScrollY(),0),s=t-this.lastScrollPosition;this.lastScrollPosition=t,this.isCurrentlyBeingResized||(this.currentAppBarOffsetTop-=s,this.currentAppBarOffsetTop>0?this.currentAppBarOffsetTop=0:Math.abs(this.currentAppBarOffsetTop)>this.topAppBarHeight&&(this.currentAppBarOffsetTop=-this.topAppBarHeight),this.moveTopAppBar())},e.prototype.handleWindowResize=function(){var t=this;this.resizeThrottleId||(this.resizeThrottleId=setTimeout(function(){t.resizeThrottleId=o,t.throttledResizeHandler()},l.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)),this.isCurrentlyBeingResized=!0,this.resizeDebounceId&&clearTimeout(this.resizeDebounceId),this.resizeDebounceId=setTimeout(function(){t.handleTargetScroll(),t.isCurrentlyBeingResized=!1,t.resizeDebounceId=o},l.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)},e.prototype.checkForUpdate=function(){var t=-this.topAppBarHeight,s=this.currentAppBarOffsetTop<0,p=this.currentAppBarOffsetTop>t,h=s&&p;if(h)this.wasDocked=!1;else if(this.wasDocked){if(this.isDockedShowing!==p)return this.isDockedShowing=p,!0}else return this.wasDocked=!0,!0;return h},e.prototype.moveTopAppBar=function(){if(this.checkForUpdate()){var t=this.currentAppBarOffsetTop;Math.abs(t)>=this.topAppBarHeight&&(t=-128),this.adapter.setStyle("top",t+"px")}},e.prototype.throttledResizeHandler=function(){var t=this.adapter.getTopAppBarHeight();this.topAppBarHeight!==t&&(this.wasDocked=!1,this.currentAppBarOffsetTop-=this.topAppBarHeight-t,this.topAppBarHeight=t),this.handleTargetScroll()},e}(S);/**
85
+ */var o=0,v=function(r){i.__extends(e,r);function e(t){var s=r.call(this,t)||this;return s.wasDocked=!0,s.isDockedShowing=!0,s.currentAppBarOffsetTop=0,s.isCurrentlyBeingResized=!1,s.resizeThrottleId=o,s.resizeDebounceId=o,s.lastScrollPosition=s.adapter.getViewportScrollY(),s.topAppBarHeight=s.adapter.getTopAppBarHeight(),s}return e.prototype.destroy=function(){r.prototype.destroy.call(this),this.adapter.setStyle("top","")},e.prototype.handleTargetScroll=function(){var t=Math.max(this.adapter.getViewportScrollY(),0),s=t-this.lastScrollPosition;this.lastScrollPosition=t,this.isCurrentlyBeingResized||(this.currentAppBarOffsetTop-=s,this.currentAppBarOffsetTop>0?this.currentAppBarOffsetTop=0:Math.abs(this.currentAppBarOffsetTop)>this.topAppBarHeight&&(this.currentAppBarOffsetTop=-this.topAppBarHeight),this.moveTopAppBar())},e.prototype.handleWindowResize=function(){var t=this;this.resizeThrottleId||(this.resizeThrottleId=setTimeout(function(){t.resizeThrottleId=o,t.throttledResizeHandler()},l.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)),this.isCurrentlyBeingResized=!0,this.resizeDebounceId&&clearTimeout(this.resizeDebounceId),this.resizeDebounceId=setTimeout(function(){t.handleTargetScroll(),t.isCurrentlyBeingResized=!1,t.resizeDebounceId=o},l.DEBOUNCE_THROTTLE_RESIZE_TIME_MS)},e.prototype.checkForUpdate=function(){var t=-this.topAppBarHeight,s=this.currentAppBarOffsetTop<0,p=this.currentAppBarOffsetTop>t,h=s&&p;if(h)this.wasDocked=!1;else if(this.wasDocked){if(this.isDockedShowing!==p)return this.isDockedShowing=p,!0}else return this.wasDocked=!0,!0;return h},e.prototype.moveTopAppBar=function(){if(this.checkForUpdate()){var t=this.currentAppBarOffsetTop;Math.abs(t)>=this.topAppBarHeight&&(t=-128),this.adapter.setStyle("top",t+"px")}},e.prototype.throttledResizeHandler=function(){var t=this.adapter.getTopAppBarHeight();this.topAppBarHeight!==t&&(this.wasDocked=!1,this.currentAppBarOffsetTop-=this.topAppBarHeight-t,this.topAppBarHeight=t),this.handleTargetScroll()},e}(S);/**
86
86
  * @license
87
87
  * Copyright 2019 Google LLC
88
88
  * SPDX-License-Identifier: Apache-2.0
@@ -107,4 +107,4 @@
107
107
  * @license
108
108
  * Copyright 2018 Google LLC
109
109
  * SPDX-License-Identifier: Apache-2.0
110
- */class u extends n{constructor(){super(...arguments),this.mdcFoundationClass=y,this.prominent=!1,this.dense=!1,this.handleResize=()=>{this.mdcFoundation.handleWindowResize()}}barClasses(){return{"mdc-top-app-bar--dense":this.dense,"mdc-top-app-bar--prominent":this.prominent,"center-title":this.centerTitle}}contentClasses(){return{"mdc-top-app-bar--fixed-adjust":!this.dense&&!this.prominent,"mdc-top-app-bar--dense-fixed-adjust":this.dense&&!this.prominent,"mdc-top-app-bar--prominent-fixed-adjust":!this.dense&&this.prominent,"mdc-top-app-bar--dense-prominent-fixed-adjust":this.dense&&this.prominent}}registerListeners(){super.registerListeners(),window.addEventListener("resize",this.handleResize,d)}unregisterListeners(){super.unregisterListeners(),window.removeEventListener("resize",this.handleResize)}}i.__decorate([a.n({type:Boolean,reflect:!0})],u.prototype,"prominent",void 0);i.__decorate([a.n({type:Boolean,reflect:!0})],u.prototype,"dense",void 0);exports.TopAppBarBase=u;exports.passiveEventOptionsIfSupported=d;
110
+ */class u extends n{constructor(){super(...arguments),this.mdcFoundationClass=v,this.prominent=!1,this.dense=!1,this.handleResize=()=>{this.mdcFoundation.handleWindowResize()}}barClasses(){return{"mdc-top-app-bar--dense":this.dense,"mdc-top-app-bar--prominent":this.prominent,"center-title":this.centerTitle}}contentClasses(){return{"mdc-top-app-bar--fixed-adjust":!this.dense&&!this.prominent,"mdc-top-app-bar--dense-fixed-adjust":this.dense&&!this.prominent,"mdc-top-app-bar--prominent-fixed-adjust":!this.dense&&this.prominent,"mdc-top-app-bar--dense-prominent-fixed-adjust":this.dense&&this.prominent}}registerListeners(){super.registerListeners(),window.addEventListener("resize",this.handleResize,d)}unregisterListeners(){super.unregisterListeners(),window.removeEventListener("resize",this.handleResize)}}i.__decorate([a.n({type:Boolean,reflect:!0})],u.prototype,"prominent",void 0);i.__decorate([a.n({type:Boolean,reflect:!0})],u.prototype,"dense",void 0);exports.TopAppBarBase=u;exports.passiveEventOptionsIfSupported=d;