@zanichelli/albe-web-components 19.2.0 → 19.2.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 (655) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/{index-5eb95b44.js → index-012853a0.js} +2 -2
  3. package/dist/cjs/{index-5eb95b44.js.map → index-012853a0.js.map} +1 -1
  4. package/dist/cjs/{index-d214a119.js → index-1d7a50cc.js} +2 -2
  5. package/dist/cjs/{index-d214a119.js.map → index-1d7a50cc.js.map} +1 -1
  6. package/dist/cjs/{index-8770e71a.js → index-2dff20f5.js} +2 -2
  7. package/dist/cjs/{index-8770e71a.js.map → index-2dff20f5.js.map} +1 -1
  8. package/dist/cjs/{index-1ee051ca.js → index-86a8a3a4.js} +2 -2
  9. package/dist/cjs/{index-1ee051ca.js.map → index-86a8a3a4.js.map} +1 -1
  10. package/dist/cjs/{index-844c7a99.js → index-938c9669.js} +4 -4
  11. package/dist/cjs/{index-844c7a99.js.map → index-938c9669.js.map} +1 -1
  12. package/dist/cjs/{index-43dfc8b2.js → index-cb280932.js} +2 -2
  13. package/dist/cjs/{index-43dfc8b2.js.map → index-cb280932.js.map} +1 -1
  14. package/dist/cjs/loader.cjs.js +1 -1
  15. package/dist/cjs/web-components-library.cjs.js +1 -1
  16. package/dist/cjs/z-accordion.cjs.entry.js +11 -2
  17. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -1
  18. package/dist/cjs/z-alert.cjs.entry.js +1 -1
  19. package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
  20. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +1 -1
  21. package/dist/cjs/z-app-header_12.cjs.entry.js +18 -20
  22. package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
  23. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  24. package/dist/cjs/z-avatar.cjs.entry.js +2 -2
  25. package/dist/cjs/z-book-card-app.cjs.entry.js +1 -1
  26. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +1 -1
  27. package/dist/cjs/z-book-cover.cjs.entry.js +1 -1
  28. package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
  29. package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
  30. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  31. package/dist/cjs/z-color-picker.cjs.entry.js +1 -1
  32. package/dist/cjs/z-combobox.cjs.entry.js +1 -1
  33. package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
  34. package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
  35. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +6 -6
  36. package/dist/cjs/z-file.cjs.entry.js +1 -1
  37. package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
  38. package/dist/cjs/z-info-box.cjs.entry.js +1 -1
  39. package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
  40. package/dist/cjs/z-logo.cjs.entry.js +1 -1
  41. package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
  42. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
  43. package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
  44. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  45. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  46. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
  47. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  48. package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
  49. package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
  50. package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
  51. package/dist/cjs/z-myz-card_4.cjs.entry.js +4 -4
  52. package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
  53. package/dist/cjs/z-myz-list.cjs.entry.js +1 -1
  54. package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
  55. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  56. package/dist/cjs/z-otp.cjs.entry.js +2 -2
  57. package/dist/cjs/z-panel-elem.cjs.entry.js +2 -2
  58. package/dist/cjs/z-popover.cjs.entry.js +1 -1
  59. package/dist/cjs/z-range-picker.cjs.entry.js +3 -3
  60. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  61. package/dist/cjs/z-select.cjs.entry.js +1 -1
  62. package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
  63. package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
  64. package/dist/cjs/z-stepper.cjs.entry.js +1 -1
  65. package/dist/cjs/z-table.cjs.entry.js +7 -7
  66. package/dist/cjs/z-tbody.cjs.entry.js +1 -1
  67. package/dist/cjs/z-td.cjs.entry.js +1 -1
  68. package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
  69. package/dist/cjs/z-th.cjs.entry.js +1 -1
  70. package/dist/cjs/z-thead.cjs.entry.js +1 -1
  71. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  72. package/dist/cjs/z-toast-notification.cjs.entry.js +42 -45
  73. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
  74. package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
  75. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  76. package/dist/cjs/z-tool.cjs.entry.js +2 -2
  77. package/dist/cjs/z-toolbar.cjs.entry.js +1 -1
  78. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  79. package/dist/cjs/z-tr.cjs.entry.js +3 -3
  80. package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
  81. package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
  82. package/dist/collection/components/book-card/z-book-card-app/index.js +1 -1
  83. package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
  84. package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
  85. package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
  86. package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -1
  87. package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -1
  88. package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
  89. package/dist/collection/components/deprecated/z-section-title/index.js +1 -1
  90. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
  91. package/dist/collection/components/file-upload/z-file/index.js +1 -1
  92. package/dist/collection/components/list/z-list/index.js +1 -1
  93. package/dist/collection/components/list/z-list-element/index.js +1 -1
  94. package/dist/collection/components/list/z-list-group/index.js +2 -2
  95. package/dist/collection/components/list/z-tree-list/index.js +1 -1
  96. package/dist/collection/components/table/cells/z-td/index.js +1 -1
  97. package/dist/collection/components/table/cells/z-th/index.js +1 -1
  98. package/dist/collection/components/table/z-table/index.js +1 -1
  99. package/dist/collection/components/table/z-tbody/index.js +1 -1
  100. package/dist/collection/components/table/z-tfoot/index.js +1 -1
  101. package/dist/collection/components/table/z-thead/index.js +1 -1
  102. package/dist/collection/components/table/z-tr/index.js +1 -1
  103. package/dist/collection/components/z-accordion/index.js +15 -1
  104. package/dist/collection/components/z-accordion/index.js.map +1 -1
  105. package/dist/collection/components/z-accordion/index.stories.js +4 -4
  106. package/dist/collection/components/z-accordion/index.stories.js.map +1 -1
  107. package/dist/collection/components/z-accordion/styles.css +2 -34
  108. package/dist/collection/components/z-anchor-navigation/index.js +1 -1
  109. package/dist/collection/components/z-app-header/index.js +1 -1
  110. package/dist/collection/components/z-aria-alert/index.js +1 -1
  111. package/dist/collection/components/z-avatar/index.js +2 -2
  112. package/dist/collection/components/z-book-cover/index.js +1 -1
  113. package/dist/collection/components/z-breadcrumb/index.js +2 -2
  114. package/dist/collection/components/z-button-sort/index.js +1 -1
  115. package/dist/collection/components/z-chip/index.js +2 -2
  116. package/dist/collection/components/z-color-picker/index.js +1 -1
  117. package/dist/collection/components/z-combobox/index.js +1 -1
  118. package/dist/collection/components/z-cover-hero/index.js +2 -2
  119. package/dist/collection/components/z-divider/index.js +1 -1
  120. package/dist/collection/components/z-ghost-loading/index.js +1 -1
  121. package/dist/collection/components/z-icon/index.js +4 -6
  122. package/dist/collection/components/z-icon/index.js.map +1 -1
  123. package/dist/collection/components/z-icon/styles.css +3 -2
  124. package/dist/collection/components/z-info-box/index.js +1 -1
  125. package/dist/collection/components/z-info-reveal/index.js +1 -1
  126. package/dist/collection/components/z-input/index.js +1 -1
  127. package/dist/collection/components/z-input-message/index.js +1 -1
  128. package/dist/collection/components/z-logo/index.js +1 -1
  129. package/dist/collection/components/z-menu-section/index.js +1 -1
  130. package/dist/collection/components/z-modal/index.js +4 -4
  131. package/dist/collection/components/z-navigation-tabs/index.js +2 -2
  132. package/dist/collection/components/z-notification/index.js +1 -1
  133. package/dist/collection/components/z-offcanvas/index.js +2 -2
  134. package/dist/collection/components/z-panel-elem/index.js +2 -2
  135. package/dist/collection/components/z-popover/index.js +1 -1
  136. package/dist/collection/components/z-searchbar/index.js +1 -1
  137. package/dist/collection/components/z-select/index.js +1 -1
  138. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  139. package/dist/collection/components/z-stepper/index.js +1 -1
  140. package/dist/collection/components/z-stepper-item/index.js +1 -1
  141. package/dist/collection/components/z-tag/index.js +2 -2
  142. package/dist/collection/components/z-toast-notification/index.js +43 -45
  143. package/dist/collection/components/z-toast-notification/index.js.map +1 -1
  144. package/dist/collection/components/z-toast-notification/index.stories.js +3 -1
  145. package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -1
  146. package/dist/collection/components/z-toast-notification/styles.css +124 -124
  147. package/dist/collection/components/z-toast-notification-list/index.js +1 -1
  148. package/dist/collection/components/z-toggle-button/index.js +2 -2
  149. package/dist/collection/components/z-toggle-switch/index.js +3 -3
  150. package/dist/collection/components/z-tool/index.js +2 -2
  151. package/dist/collection/components/z-toolbar/index.js +1 -1
  152. package/dist/collection/components/z-tooltip/index.js +1 -1
  153. package/dist/collection/components/z-visually-hidden/index.js +1 -1
  154. package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
  155. package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
  156. package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
  157. package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
  158. package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
  159. package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
  160. package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
  161. package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
  162. package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
  163. package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
  164. package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
  165. package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
  166. package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
  167. package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
  168. package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
  169. package/dist/components/index10.js +5 -7
  170. package/dist/components/index10.js.map +1 -1
  171. package/dist/components/index11.js +1 -1
  172. package/dist/components/index12.js +1 -1
  173. package/dist/components/index13.js +1 -1
  174. package/dist/components/index14.js +1 -1
  175. package/dist/components/index15.js +1 -1
  176. package/dist/components/index16.js +2 -2
  177. package/dist/components/index17.js +4 -4
  178. package/dist/components/index18.js +1 -1
  179. package/dist/components/index19.js +1 -1
  180. package/dist/components/index20.js +1 -1
  181. package/dist/components/index21.js +1 -1
  182. package/dist/components/index22.js +1 -1
  183. package/dist/components/index23.js +2 -2
  184. package/dist/components/index24.js +1 -1
  185. package/dist/components/index25.js +1 -1
  186. package/dist/components/index26.js +2 -2
  187. package/dist/components/index27.js +1 -1
  188. package/dist/components/index3.js +1 -1
  189. package/dist/components/index4.js +1 -1
  190. package/dist/components/index6.js +2 -2
  191. package/dist/components/index7.js +1 -1
  192. package/dist/components/index8.js +2 -2
  193. package/dist/components/index9.js +1 -1
  194. package/dist/components/z-accordion.js +13 -3
  195. package/dist/components/z-accordion.js.map +1 -1
  196. package/dist/components/z-anchor-navigation.js +1 -1
  197. package/dist/components/z-app-header-deprecated.js +1 -1
  198. package/dist/components/z-app-header.js +1 -1
  199. package/dist/components/z-aria-alert.js +1 -1
  200. package/dist/components/z-avatar.js +2 -2
  201. package/dist/components/z-book-card-app.js +1 -1
  202. package/dist/components/z-book-card-deprecated.js +1 -1
  203. package/dist/components/z-breadcrumb.js +2 -2
  204. package/dist/components/z-button-sort.js +1 -1
  205. package/dist/components/z-color-picker.js +1 -1
  206. package/dist/components/z-combobox.js +1 -1
  207. package/dist/components/z-cover-hero.js +2 -2
  208. package/dist/components/z-date-picker.js +1 -1
  209. package/dist/components/z-file.js +1 -1
  210. package/dist/components/z-info-box.js +1 -1
  211. package/dist/components/z-logo.js +1 -1
  212. package/dist/components/z-menu-deprecated.js +1 -1
  213. package/dist/components/z-menu-section-deprecated.js +1 -1
  214. package/dist/components/z-menu-section.js +1 -1
  215. package/dist/components/z-myz-card-alert.js +1 -1
  216. package/dist/components/z-myz-card-dictionary.js +1 -1
  217. package/dist/components/z-myz-card-footer-sections.js +1 -1
  218. package/dist/components/z-myz-card-footer.js +1 -1
  219. package/dist/components/z-myz-card-icon.js +1 -1
  220. package/dist/components/z-myz-card-info.js +1 -1
  221. package/dist/components/z-myz-card-list.js +1 -1
  222. package/dist/components/z-myz-list.js +1 -1
  223. package/dist/components/z-navigation-tabs.js +2 -2
  224. package/dist/components/z-notification.js +1 -1
  225. package/dist/components/z-otp.js +2 -2
  226. package/dist/components/z-panel-elem.js +2 -2
  227. package/dist/components/z-range-picker.js +3 -3
  228. package/dist/components/z-section-title.js +1 -1
  229. package/dist/components/z-select.js +1 -1
  230. package/dist/components/z-skip-to-content.js +1 -1
  231. package/dist/components/z-stepper-item.js +1 -1
  232. package/dist/components/z-stepper.js +1 -1
  233. package/dist/components/z-table.js +1 -1
  234. package/dist/components/z-tbody.js +1 -1
  235. package/dist/components/z-td.js +1 -1
  236. package/dist/components/z-tfoot.js +1 -1
  237. package/dist/components/z-th.js +1 -1
  238. package/dist/components/z-thead.js +1 -1
  239. package/dist/components/z-toast-notification-list.js +1 -1
  240. package/dist/components/z-toast-notification.js +44 -46
  241. package/dist/components/z-toast-notification.js.map +1 -1
  242. package/dist/components/z-toggle-button.js +2 -2
  243. package/dist/components/z-toggle-switch.js +3 -3
  244. package/dist/components/z-tool.js +2 -2
  245. package/dist/components/z-toolbar.js +1 -1
  246. package/dist/components/z-tr.js +1 -1
  247. package/dist/components/z-tree-list.js +1 -1
  248. package/dist/components/z-visually-hidden.js +1 -1
  249. package/dist/esm/{index-599cd05a.js → index-09bfb4ee.js} +2 -2
  250. package/dist/esm/{index-599cd05a.js.map → index-09bfb4ee.js.map} +1 -1
  251. package/dist/esm/{index-41934729.js → index-3856a6ca.js} +2 -2
  252. package/dist/esm/{index-41934729.js.map → index-3856a6ca.js.map} +1 -1
  253. package/dist/esm/{index-21176e80.js → index-455c0a68.js} +2 -2
  254. package/dist/esm/{index-21176e80.js.map → index-455c0a68.js.map} +1 -1
  255. package/dist/esm/{index-39a920c4.js → index-6c43bc70.js} +2 -2
  256. package/dist/esm/{index-39a920c4.js.map → index-6c43bc70.js.map} +1 -1
  257. package/dist/esm/{index-d003e5d7.js → index-83248f5c.js} +4 -4
  258. package/dist/esm/{index-d003e5d7.js.map → index-83248f5c.js.map} +1 -1
  259. package/dist/esm/{index-4845b32f.js → index-f8517155.js} +2 -2
  260. package/dist/esm/{index-4845b32f.js.map → index-f8517155.js.map} +1 -1
  261. package/dist/esm/loader.js +1 -1
  262. package/dist/esm/web-components-library.js +1 -1
  263. package/dist/esm/z-accordion.entry.js +12 -3
  264. package/dist/esm/z-accordion.entry.js.map +1 -1
  265. package/dist/esm/z-alert.entry.js +1 -1
  266. package/dist/esm/z-anchor-navigation.entry.js +1 -1
  267. package/dist/esm/z-app-header-deprecated.entry.js +1 -1
  268. package/dist/esm/z-app-header_12.entry.js +18 -20
  269. package/dist/esm/z-app-header_12.entry.js.map +1 -1
  270. package/dist/esm/z-aria-alert.entry.js +1 -1
  271. package/dist/esm/z-avatar.entry.js +2 -2
  272. package/dist/esm/z-book-card-app.entry.js +1 -1
  273. package/dist/esm/z-book-card-deprecated.entry.js +1 -1
  274. package/dist/esm/z-book-cover.entry.js +1 -1
  275. package/dist/esm/z-breadcrumb.entry.js +2 -2
  276. package/dist/esm/z-button-sort.entry.js +1 -1
  277. package/dist/esm/z-chip.entry.js +2 -2
  278. package/dist/esm/z-color-picker.entry.js +1 -1
  279. package/dist/esm/z-combobox.entry.js +1 -1
  280. package/dist/esm/z-cover-hero.entry.js +2 -2
  281. package/dist/esm/z-date-picker.entry.js +1 -1
  282. package/dist/esm/z-dragdrop-area_2.entry.js +6 -6
  283. package/dist/esm/z-file.entry.js +1 -1
  284. package/dist/esm/z-ghost-loading.entry.js +1 -1
  285. package/dist/esm/z-info-box.entry.js +1 -1
  286. package/dist/esm/z-info-reveal.entry.js +1 -1
  287. package/dist/esm/z-logo.entry.js +1 -1
  288. package/dist/esm/z-menu-deprecated.entry.js +1 -1
  289. package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
  290. package/dist/esm/z-menu-section.entry.js +1 -1
  291. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  292. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  293. package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
  294. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  295. package/dist/esm/z-myz-card-icon.entry.js +1 -1
  296. package/dist/esm/z-myz-card-info.entry.js +1 -1
  297. package/dist/esm/z-myz-card-list.entry.js +1 -1
  298. package/dist/esm/z-myz-card_4.entry.js +4 -4
  299. package/dist/esm/z-myz-list-item.entry.js +1 -1
  300. package/dist/esm/z-myz-list.entry.js +1 -1
  301. package/dist/esm/z-navigation-tabs.entry.js +2 -2
  302. package/dist/esm/z-notification.entry.js +1 -1
  303. package/dist/esm/z-otp.entry.js +2 -2
  304. package/dist/esm/z-panel-elem.entry.js +2 -2
  305. package/dist/esm/z-popover.entry.js +1 -1
  306. package/dist/esm/z-range-picker.entry.js +3 -3
  307. package/dist/esm/z-section-title.entry.js +1 -1
  308. package/dist/esm/z-select.entry.js +1 -1
  309. package/dist/esm/z-skip-to-content.entry.js +1 -1
  310. package/dist/esm/z-stepper-item.entry.js +1 -1
  311. package/dist/esm/z-stepper.entry.js +1 -1
  312. package/dist/esm/z-table.entry.js +7 -7
  313. package/dist/esm/z-tbody.entry.js +1 -1
  314. package/dist/esm/z-td.entry.js +1 -1
  315. package/dist/esm/z-tfoot.entry.js +1 -1
  316. package/dist/esm/z-th.entry.js +1 -1
  317. package/dist/esm/z-thead.entry.js +1 -1
  318. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  319. package/dist/esm/z-toast-notification.entry.js +42 -45
  320. package/dist/esm/z-toast-notification.entry.js.map +1 -1
  321. package/dist/esm/z-toggle-button.entry.js +2 -2
  322. package/dist/esm/z-toggle-switch.entry.js +3 -3
  323. package/dist/esm/z-tool.entry.js +2 -2
  324. package/dist/esm/z-toolbar.entry.js +1 -1
  325. package/dist/esm/z-tooltip.entry.js +1 -1
  326. package/dist/esm/z-tr.entry.js +3 -3
  327. package/dist/esm/z-tree-list.entry.js +1 -1
  328. package/dist/esm/z-visually-hidden.entry.js +1 -1
  329. package/dist/types/components/z-accordion/index.d.ts +5 -0
  330. package/dist/types/components/z-accordion/index.stories.d.ts +4 -4
  331. package/dist/types/components/z-icon/index.d.ts +2 -1
  332. package/dist/types/components/z-toast-notification/index.d.ts +8 -7
  333. package/dist/types/components/z-toast-notification/index.stories.d.ts +11 -1
  334. package/{www/build/p-e38a5dd2.entry.js → dist/web-components-library/p-0643d684.entry.js} +2 -2
  335. package/dist/web-components-library/{p-6ef58a14.entry.js → p-0aed3ddc.entry.js} +2 -2
  336. package/dist/web-components-library/{p-59baa7f5.entry.js → p-19103e70.entry.js} +2 -2
  337. package/dist/web-components-library/{p-b4b264b1.entry.js → p-252893a8.entry.js} +2 -2
  338. package/{www/build/p-84ed6163.entry.js → dist/web-components-library/p-26ed6c96.entry.js} +2 -2
  339. package/{www/build/p-2501dd29.entry.js → dist/web-components-library/p-2d4cf6ff.entry.js} +2 -2
  340. package/dist/web-components-library/{p-f0f53bb2.entry.js → p-30a78a06.entry.js} +2 -2
  341. package/dist/web-components-library/p-32bc8a40.entry.js +2 -0
  342. package/dist/web-components-library/p-32bc8a40.entry.js.map +1 -0
  343. package/dist/web-components-library/p-3977b0ae.entry.js +2 -0
  344. package/dist/web-components-library/p-3ba7621b.entry.js +2 -0
  345. package/dist/web-components-library/p-42abfe3b.entry.js +2 -0
  346. package/dist/web-components-library/{p-de313d96.entry.js → p-4504375f.entry.js} +2 -2
  347. package/{www/build/p-f9e41b2e.entry.js → dist/web-components-library/p-47813782.entry.js} +2 -2
  348. package/{www/build/p-6d61933f.entry.js → dist/web-components-library/p-47b59f05.entry.js} +2 -2
  349. package/{www/build/p-a7bb5e87.js → dist/web-components-library/p-4844c774.js} +2 -2
  350. package/{www/build/p-7d6c4b21.entry.js → dist/web-components-library/p-55e5e53a.entry.js} +2 -2
  351. package/dist/web-components-library/{p-c03767a4.entry.js → p-565c1815.entry.js} +2 -2
  352. package/{www/build/p-6d11da08.entry.js → dist/web-components-library/p-58aeaf21.entry.js} +2 -2
  353. package/dist/web-components-library/{p-d1a04722.entry.js → p-5905cca0.entry.js} +2 -2
  354. package/dist/web-components-library/{p-cc87d814.entry.js → p-5989465b.entry.js} +2 -2
  355. package/{www/build/p-b8211903.entry.js → dist/web-components-library/p-5e2f6ab7.entry.js} +2 -2
  356. package/{www/build/p-7b199026.entry.js → dist/web-components-library/p-613987cd.entry.js} +2 -2
  357. package/dist/web-components-library/{p-b854cc3d.entry.js → p-6164feb9.entry.js} +2 -2
  358. package/dist/web-components-library/p-623fdee4.js +2 -0
  359. package/dist/web-components-library/{p-5f1e17cb.js → p-68d91a93.js} +2 -2
  360. package/dist/web-components-library/p-6c6a655e.entry.js +2 -0
  361. package/dist/web-components-library/{p-03a558ef.entry.js.map → p-6c6a655e.entry.js.map} +1 -1
  362. package/dist/web-components-library/{p-eb9161bc.entry.js → p-6c9cd6be.entry.js} +2 -2
  363. package/dist/web-components-library/{p-76003048.entry.js → p-6d15da6f.entry.js} +2 -2
  364. package/dist/web-components-library/{p-d1fe7960.entry.js → p-6e13aa8e.entry.js} +2 -2
  365. package/dist/web-components-library/{p-661bce1c.entry.js → p-767b66ca.entry.js} +2 -2
  366. package/{www/build/p-c645dc11.entry.js → dist/web-components-library/p-76d1d0e4.entry.js} +2 -2
  367. package/{www/build/p-684142d7.entry.js → dist/web-components-library/p-771dea79.entry.js} +2 -2
  368. package/dist/web-components-library/{p-c57bb632.entry.js → p-7a4f6a5b.entry.js} +2 -2
  369. package/dist/web-components-library/p-7b837e11.js +2 -0
  370. package/dist/web-components-library/{p-332e0361.entry.js → p-7d655f96.entry.js} +2 -2
  371. package/dist/web-components-library/p-82eeea83.entry.js +2 -0
  372. package/dist/web-components-library/{p-db2c3235.entry.js → p-862989b6.entry.js} +2 -2
  373. package/dist/web-components-library/{p-90690d4d.entry.js → p-8988eee3.entry.js} +2 -2
  374. package/dist/web-components-library/{p-54cd104c.js → p-8b367393.js} +2 -2
  375. package/dist/web-components-library/{p-5cdd431e.entry.js → p-8c52635e.entry.js} +2 -2
  376. package/dist/web-components-library/{p-3f66654f.entry.js → p-8fd50cc5.entry.js} +2 -2
  377. package/{www/build/p-2bba665d.entry.js → dist/web-components-library/p-92f13701.entry.js} +2 -2
  378. package/dist/web-components-library/{p-4df66afe.entry.js → p-93d349ee.entry.js} +2 -2
  379. package/dist/web-components-library/{p-ddae9016.entry.js → p-943db3a8.entry.js} +2 -2
  380. package/dist/web-components-library/p-988a58dd.entry.js +2 -0
  381. package/dist/web-components-library/p-9ae0c0c6.entry.js +2 -0
  382. package/dist/web-components-library/{p-2a04c00e.entry.js.map → p-9ae0c0c6.entry.js.map} +1 -1
  383. package/dist/web-components-library/{p-80285500.js → p-9c816a3b.js} +2 -2
  384. package/{www/build/p-3d02ad75.entry.js → dist/web-components-library/p-a2ee659d.entry.js} +2 -2
  385. package/dist/web-components-library/{p-1939116a.entry.js → p-a4d2cf55.entry.js} +2 -2
  386. package/dist/web-components-library/p-a5146ef3.entry.js +2 -0
  387. package/dist/web-components-library/p-a5146ef3.entry.js.map +1 -0
  388. package/dist/web-components-library/{p-9a63ec80.entry.js → p-a8609510.entry.js} +2 -2
  389. package/{www/build/p-b1f2388a.entry.js → dist/web-components-library/p-aaa96c12.entry.js} +2 -2
  390. package/dist/web-components-library/{p-dba260f2.entry.js → p-b391211f.entry.js} +2 -2
  391. package/dist/web-components-library/{p-0989655c.entry.js → p-b54d923e.entry.js} +2 -2
  392. package/dist/web-components-library/{p-15951fc6.entry.js → p-b7056859.entry.js} +2 -2
  393. package/dist/web-components-library/{p-1e0d85d5.entry.js → p-b71a3f69.entry.js} +2 -2
  394. package/dist/web-components-library/{p-19172b2c.entry.js → p-b7ec2cc4.entry.js} +2 -2
  395. package/dist/web-components-library/{p-0a192ddf.entry.js → p-c12f93e4.entry.js} +2 -2
  396. package/dist/web-components-library/{p-d5ebbfdf.entry.js → p-c811b0cf.entry.js} +2 -2
  397. package/dist/web-components-library/p-c89e1f4b.entry.js +2 -0
  398. package/dist/web-components-library/{p-c5e032de.entry.js.map → p-c89e1f4b.entry.js.map} +1 -1
  399. package/dist/web-components-library/{p-c0b4f29d.entry.js → p-c9b81cab.entry.js} +2 -2
  400. package/dist/web-components-library/{p-2f45f1ff.entry.js → p-cbc09112.entry.js} +2 -2
  401. package/dist/web-components-library/p-da3abb97.entry.js +2 -0
  402. package/dist/web-components-library/{p-c93c6135.entry.js.map → p-da3abb97.entry.js.map} +1 -1
  403. package/dist/web-components-library/{p-5fda8769.entry.js → p-e8eacbeb.entry.js} +4 -4
  404. package/dist/web-components-library/p-e8eacbeb.entry.js.map +1 -0
  405. package/dist/web-components-library/p-efa6b991.entry.js +2 -0
  406. package/{www/build/p-57dcff49.entry.js → dist/web-components-library/p-f4b987ed.entry.js} +2 -2
  407. package/dist/web-components-library/{p-215b1fa5.entry.js → p-f662e7ff.entry.js} +2 -2
  408. package/dist/web-components-library/p-f92e0c29.entry.js +2 -0
  409. package/dist/web-components-library/{p-71f62226.entry.js → p-ff89d630.entry.js} +2 -2
  410. package/dist/web-components-library/web-components-library.css +23 -25
  411. package/dist/web-components-library/web-components-library.esm.js +1 -1
  412. package/dist/web-components-library/web-components-library.esm.js.map +1 -1
  413. package/package.json +1 -1
  414. package/{dist/web-components-library/p-e38a5dd2.entry.js → www/build/p-0643d684.entry.js} +2 -2
  415. package/www/build/{p-6ef58a14.entry.js → p-0aed3ddc.entry.js} +2 -2
  416. package/www/build/{p-385363df.js → p-156f9df4.js} +1 -1
  417. package/www/build/{p-59baa7f5.entry.js → p-19103e70.entry.js} +2 -2
  418. package/www/build/{p-b4b264b1.entry.js → p-252893a8.entry.js} +2 -2
  419. package/{dist/web-components-library/p-84ed6163.entry.js → www/build/p-26ed6c96.entry.js} +2 -2
  420. package/{dist/web-components-library/p-2501dd29.entry.js → www/build/p-2d4cf6ff.entry.js} +2 -2
  421. package/www/build/{p-f0f53bb2.entry.js → p-30a78a06.entry.js} +2 -2
  422. package/www/build/p-32bc8a40.entry.js +2 -0
  423. package/www/build/p-32bc8a40.entry.js.map +1 -0
  424. package/www/build/p-3977b0ae.entry.js +2 -0
  425. package/www/build/p-3ba7621b.entry.js +2 -0
  426. package/www/build/p-42abfe3b.entry.js +2 -0
  427. package/www/build/{p-de313d96.entry.js → p-4504375f.entry.js} +2 -2
  428. package/{dist/web-components-library/p-f9e41b2e.entry.js → www/build/p-47813782.entry.js} +2 -2
  429. package/{dist/web-components-library/p-6d61933f.entry.js → www/build/p-47b59f05.entry.js} +2 -2
  430. package/{dist/web-components-library/p-a7bb5e87.js → www/build/p-4844c774.js} +2 -2
  431. package/{dist/web-components-library/p-7d6c4b21.entry.js → www/build/p-55e5e53a.entry.js} +2 -2
  432. package/www/build/{p-c03767a4.entry.js → p-565c1815.entry.js} +2 -2
  433. package/{dist/web-components-library/p-6d11da08.entry.js → www/build/p-58aeaf21.entry.js} +2 -2
  434. package/www/build/{p-d1a04722.entry.js → p-5905cca0.entry.js} +2 -2
  435. package/www/build/{p-cc87d814.entry.js → p-5989465b.entry.js} +2 -2
  436. package/{dist/web-components-library/p-b8211903.entry.js → www/build/p-5e2f6ab7.entry.js} +2 -2
  437. package/{dist/web-components-library/p-7b199026.entry.js → www/build/p-613987cd.entry.js} +2 -2
  438. package/www/build/{p-b854cc3d.entry.js → p-6164feb9.entry.js} +2 -2
  439. package/www/build/p-623fdee4.js +2 -0
  440. package/www/build/{p-5f1e17cb.js → p-68d91a93.js} +2 -2
  441. package/www/build/p-6c6a655e.entry.js +2 -0
  442. package/www/build/{p-03a558ef.entry.js.map → p-6c6a655e.entry.js.map} +1 -1
  443. package/www/build/{p-eb9161bc.entry.js → p-6c9cd6be.entry.js} +2 -2
  444. package/www/build/{p-76003048.entry.js → p-6d15da6f.entry.js} +2 -2
  445. package/www/build/{p-d1fe7960.entry.js → p-6e13aa8e.entry.js} +2 -2
  446. package/www/build/{p-661bce1c.entry.js → p-767b66ca.entry.js} +2 -2
  447. package/{dist/web-components-library/p-c645dc11.entry.js → www/build/p-76d1d0e4.entry.js} +2 -2
  448. package/{dist/web-components-library/p-684142d7.entry.js → www/build/p-771dea79.entry.js} +2 -2
  449. package/www/build/{p-c57bb632.entry.js → p-7a4f6a5b.entry.js} +2 -2
  450. package/www/build/p-7b837e11.js +2 -0
  451. package/www/build/{p-332e0361.entry.js → p-7d655f96.entry.js} +2 -2
  452. package/www/build/{p-b5b5dae5.css → p-813bd63b.css} +23 -25
  453. package/www/build/p-82eeea83.entry.js +2 -0
  454. package/www/build/{p-db2c3235.entry.js → p-862989b6.entry.js} +2 -2
  455. package/www/build/{p-90690d4d.entry.js → p-8988eee3.entry.js} +2 -2
  456. package/www/build/{p-54cd104c.js → p-8b367393.js} +2 -2
  457. package/www/build/{p-5cdd431e.entry.js → p-8c52635e.entry.js} +2 -2
  458. package/www/build/{p-3f66654f.entry.js → p-8fd50cc5.entry.js} +2 -2
  459. package/{dist/web-components-library/p-2bba665d.entry.js → www/build/p-92f13701.entry.js} +2 -2
  460. package/www/build/{p-4df66afe.entry.js → p-93d349ee.entry.js} +2 -2
  461. package/www/build/{p-ddae9016.entry.js → p-943db3a8.entry.js} +2 -2
  462. package/www/build/p-988a58dd.entry.js +2 -0
  463. package/www/build/p-9ae0c0c6.entry.js +2 -0
  464. package/www/build/{p-2a04c00e.entry.js.map → p-9ae0c0c6.entry.js.map} +1 -1
  465. package/www/build/{p-80285500.js → p-9c816a3b.js} +2 -2
  466. package/{dist/web-components-library/p-3d02ad75.entry.js → www/build/p-a2ee659d.entry.js} +2 -2
  467. package/www/build/{p-1939116a.entry.js → p-a4d2cf55.entry.js} +2 -2
  468. package/www/build/p-a5146ef3.entry.js +2 -0
  469. package/www/build/p-a5146ef3.entry.js.map +1 -0
  470. package/www/build/{p-9a63ec80.entry.js → p-a8609510.entry.js} +2 -2
  471. package/{dist/web-components-library/p-b1f2388a.entry.js → www/build/p-aaa96c12.entry.js} +2 -2
  472. package/www/build/{p-dba260f2.entry.js → p-b391211f.entry.js} +2 -2
  473. package/www/build/{p-0989655c.entry.js → p-b54d923e.entry.js} +2 -2
  474. package/www/build/{p-15951fc6.entry.js → p-b7056859.entry.js} +2 -2
  475. package/www/build/{p-1e0d85d5.entry.js → p-b71a3f69.entry.js} +2 -2
  476. package/www/build/{p-19172b2c.entry.js → p-b7ec2cc4.entry.js} +2 -2
  477. package/www/build/{p-0a192ddf.entry.js → p-c12f93e4.entry.js} +2 -2
  478. package/www/build/{p-d5ebbfdf.entry.js → p-c811b0cf.entry.js} +2 -2
  479. package/www/build/p-c89e1f4b.entry.js +2 -0
  480. package/www/build/{p-c5e032de.entry.js.map → p-c89e1f4b.entry.js.map} +1 -1
  481. package/www/build/{p-c0b4f29d.entry.js → p-c9b81cab.entry.js} +2 -2
  482. package/www/build/{p-2f45f1ff.entry.js → p-cbc09112.entry.js} +2 -2
  483. package/www/build/p-da3abb97.entry.js +2 -0
  484. package/www/build/{p-c93c6135.entry.js.map → p-da3abb97.entry.js.map} +1 -1
  485. package/www/build/{p-5fda8769.entry.js → p-e8eacbeb.entry.js} +4 -4
  486. package/www/build/p-e8eacbeb.entry.js.map +1 -0
  487. package/www/build/p-efa6b991.entry.js +2 -0
  488. package/{dist/web-components-library/p-57dcff49.entry.js → www/build/p-f4b987ed.entry.js} +2 -2
  489. package/www/build/{p-215b1fa5.entry.js → p-f662e7ff.entry.js} +2 -2
  490. package/www/build/p-f92e0c29.entry.js +2 -0
  491. package/www/build/{p-71f62226.entry.js → p-ff89d630.entry.js} +2 -2
  492. package/www/build/web-components-library.css +23 -25
  493. package/www/build/web-components-library.esm.js +1 -1
  494. package/www/build/web-components-library.esm.js.map +1 -1
  495. package/www/index.html +1 -1
  496. package/dist/web-components-library/p-03a558ef.entry.js +0 -2
  497. package/dist/web-components-library/p-17e2fed2.entry.js +0 -2
  498. package/dist/web-components-library/p-2a04c00e.entry.js +0 -2
  499. package/dist/web-components-library/p-5fda8769.entry.js.map +0 -1
  500. package/dist/web-components-library/p-6af67a60.entry.js +0 -2
  501. package/dist/web-components-library/p-6af67a60.entry.js.map +0 -1
  502. package/dist/web-components-library/p-6c3d141b.entry.js +0 -2
  503. package/dist/web-components-library/p-80ddecaf.entry.js +0 -2
  504. package/dist/web-components-library/p-839e2478.entry.js +0 -2
  505. package/dist/web-components-library/p-8b562dca.entry.js +0 -2
  506. package/dist/web-components-library/p-8b562dca.entry.js.map +0 -1
  507. package/dist/web-components-library/p-9af837bb.entry.js +0 -2
  508. package/dist/web-components-library/p-a32ebcc3.entry.js +0 -2
  509. package/dist/web-components-library/p-b06af2fc.js +0 -2
  510. package/dist/web-components-library/p-c5e032de.entry.js +0 -2
  511. package/dist/web-components-library/p-c93c6135.entry.js +0 -2
  512. package/dist/web-components-library/p-d65aeb54.entry.js +0 -2
  513. package/dist/web-components-library/p-f79010de.js +0 -2
  514. package/www/build/p-03a558ef.entry.js +0 -2
  515. package/www/build/p-17e2fed2.entry.js +0 -2
  516. package/www/build/p-2a04c00e.entry.js +0 -2
  517. package/www/build/p-5fda8769.entry.js.map +0 -1
  518. package/www/build/p-6af67a60.entry.js +0 -2
  519. package/www/build/p-6af67a60.entry.js.map +0 -1
  520. package/www/build/p-6c3d141b.entry.js +0 -2
  521. package/www/build/p-80ddecaf.entry.js +0 -2
  522. package/www/build/p-839e2478.entry.js +0 -2
  523. package/www/build/p-8b562dca.entry.js +0 -2
  524. package/www/build/p-8b562dca.entry.js.map +0 -1
  525. package/www/build/p-9af837bb.entry.js +0 -2
  526. package/www/build/p-a32ebcc3.entry.js +0 -2
  527. package/www/build/p-b06af2fc.js +0 -2
  528. package/www/build/p-c5e032de.entry.js +0 -2
  529. package/www/build/p-c93c6135.entry.js +0 -2
  530. package/www/build/p-d65aeb54.entry.js +0 -2
  531. package/www/build/p-f79010de.js +0 -2
  532. /package/dist/web-components-library/{p-e38a5dd2.entry.js.map → p-0643d684.entry.js.map} +0 -0
  533. /package/dist/web-components-library/{p-6ef58a14.entry.js.map → p-0aed3ddc.entry.js.map} +0 -0
  534. /package/dist/web-components-library/{p-59baa7f5.entry.js.map → p-19103e70.entry.js.map} +0 -0
  535. /package/dist/web-components-library/{p-b4b264b1.entry.js.map → p-252893a8.entry.js.map} +0 -0
  536. /package/dist/web-components-library/{p-84ed6163.entry.js.map → p-26ed6c96.entry.js.map} +0 -0
  537. /package/dist/web-components-library/{p-2501dd29.entry.js.map → p-2d4cf6ff.entry.js.map} +0 -0
  538. /package/dist/web-components-library/{p-f0f53bb2.entry.js.map → p-30a78a06.entry.js.map} +0 -0
  539. /package/dist/web-components-library/{p-17e2fed2.entry.js.map → p-3977b0ae.entry.js.map} +0 -0
  540. /package/dist/web-components-library/{p-6c3d141b.entry.js.map → p-3ba7621b.entry.js.map} +0 -0
  541. /package/dist/web-components-library/{p-839e2478.entry.js.map → p-42abfe3b.entry.js.map} +0 -0
  542. /package/dist/web-components-library/{p-de313d96.entry.js.map → p-4504375f.entry.js.map} +0 -0
  543. /package/dist/web-components-library/{p-f9e41b2e.entry.js.map → p-47813782.entry.js.map} +0 -0
  544. /package/dist/web-components-library/{p-6d61933f.entry.js.map → p-47b59f05.entry.js.map} +0 -0
  545. /package/dist/web-components-library/{p-a7bb5e87.js.map → p-4844c774.js.map} +0 -0
  546. /package/dist/web-components-library/{p-7d6c4b21.entry.js.map → p-55e5e53a.entry.js.map} +0 -0
  547. /package/dist/web-components-library/{p-c03767a4.entry.js.map → p-565c1815.entry.js.map} +0 -0
  548. /package/dist/web-components-library/{p-6d11da08.entry.js.map → p-58aeaf21.entry.js.map} +0 -0
  549. /package/dist/web-components-library/{p-d1a04722.entry.js.map → p-5905cca0.entry.js.map} +0 -0
  550. /package/dist/web-components-library/{p-cc87d814.entry.js.map → p-5989465b.entry.js.map} +0 -0
  551. /package/dist/web-components-library/{p-b8211903.entry.js.map → p-5e2f6ab7.entry.js.map} +0 -0
  552. /package/dist/web-components-library/{p-7b199026.entry.js.map → p-613987cd.entry.js.map} +0 -0
  553. /package/dist/web-components-library/{p-b854cc3d.entry.js.map → p-6164feb9.entry.js.map} +0 -0
  554. /package/dist/web-components-library/{p-f79010de.js.map → p-623fdee4.js.map} +0 -0
  555. /package/dist/web-components-library/{p-5f1e17cb.js.map → p-68d91a93.js.map} +0 -0
  556. /package/dist/web-components-library/{p-eb9161bc.entry.js.map → p-6c9cd6be.entry.js.map} +0 -0
  557. /package/dist/web-components-library/{p-76003048.entry.js.map → p-6d15da6f.entry.js.map} +0 -0
  558. /package/dist/web-components-library/{p-d1fe7960.entry.js.map → p-6e13aa8e.entry.js.map} +0 -0
  559. /package/dist/web-components-library/{p-661bce1c.entry.js.map → p-767b66ca.entry.js.map} +0 -0
  560. /package/dist/web-components-library/{p-c645dc11.entry.js.map → p-76d1d0e4.entry.js.map} +0 -0
  561. /package/dist/web-components-library/{p-684142d7.entry.js.map → p-771dea79.entry.js.map} +0 -0
  562. /package/dist/web-components-library/{p-c57bb632.entry.js.map → p-7a4f6a5b.entry.js.map} +0 -0
  563. /package/dist/web-components-library/{p-b06af2fc.js.map → p-7b837e11.js.map} +0 -0
  564. /package/dist/web-components-library/{p-332e0361.entry.js.map → p-7d655f96.entry.js.map} +0 -0
  565. /package/dist/web-components-library/{p-9af837bb.entry.js.map → p-82eeea83.entry.js.map} +0 -0
  566. /package/dist/web-components-library/{p-db2c3235.entry.js.map → p-862989b6.entry.js.map} +0 -0
  567. /package/dist/web-components-library/{p-90690d4d.entry.js.map → p-8988eee3.entry.js.map} +0 -0
  568. /package/dist/web-components-library/{p-54cd104c.js.map → p-8b367393.js.map} +0 -0
  569. /package/dist/web-components-library/{p-5cdd431e.entry.js.map → p-8c52635e.entry.js.map} +0 -0
  570. /package/dist/web-components-library/{p-3f66654f.entry.js.map → p-8fd50cc5.entry.js.map} +0 -0
  571. /package/dist/web-components-library/{p-2bba665d.entry.js.map → p-92f13701.entry.js.map} +0 -0
  572. /package/dist/web-components-library/{p-4df66afe.entry.js.map → p-93d349ee.entry.js.map} +0 -0
  573. /package/dist/web-components-library/{p-ddae9016.entry.js.map → p-943db3a8.entry.js.map} +0 -0
  574. /package/dist/web-components-library/{p-a32ebcc3.entry.js.map → p-988a58dd.entry.js.map} +0 -0
  575. /package/dist/web-components-library/{p-80285500.js.map → p-9c816a3b.js.map} +0 -0
  576. /package/dist/web-components-library/{p-3d02ad75.entry.js.map → p-a2ee659d.entry.js.map} +0 -0
  577. /package/dist/web-components-library/{p-1939116a.entry.js.map → p-a4d2cf55.entry.js.map} +0 -0
  578. /package/dist/web-components-library/{p-9a63ec80.entry.js.map → p-a8609510.entry.js.map} +0 -0
  579. /package/dist/web-components-library/{p-b1f2388a.entry.js.map → p-aaa96c12.entry.js.map} +0 -0
  580. /package/dist/web-components-library/{p-dba260f2.entry.js.map → p-b391211f.entry.js.map} +0 -0
  581. /package/dist/web-components-library/{p-0989655c.entry.js.map → p-b54d923e.entry.js.map} +0 -0
  582. /package/dist/web-components-library/{p-15951fc6.entry.js.map → p-b7056859.entry.js.map} +0 -0
  583. /package/dist/web-components-library/{p-1e0d85d5.entry.js.map → p-b71a3f69.entry.js.map} +0 -0
  584. /package/dist/web-components-library/{p-19172b2c.entry.js.map → p-b7ec2cc4.entry.js.map} +0 -0
  585. /package/dist/web-components-library/{p-0a192ddf.entry.js.map → p-c12f93e4.entry.js.map} +0 -0
  586. /package/dist/web-components-library/{p-d5ebbfdf.entry.js.map → p-c811b0cf.entry.js.map} +0 -0
  587. /package/dist/web-components-library/{p-c0b4f29d.entry.js.map → p-c9b81cab.entry.js.map} +0 -0
  588. /package/dist/web-components-library/{p-2f45f1ff.entry.js.map → p-cbc09112.entry.js.map} +0 -0
  589. /package/dist/web-components-library/{p-d65aeb54.entry.js.map → p-efa6b991.entry.js.map} +0 -0
  590. /package/dist/web-components-library/{p-57dcff49.entry.js.map → p-f4b987ed.entry.js.map} +0 -0
  591. /package/dist/web-components-library/{p-215b1fa5.entry.js.map → p-f662e7ff.entry.js.map} +0 -0
  592. /package/dist/web-components-library/{p-80ddecaf.entry.js.map → p-f92e0c29.entry.js.map} +0 -0
  593. /package/dist/web-components-library/{p-71f62226.entry.js.map → p-ff89d630.entry.js.map} +0 -0
  594. /package/www/build/{p-e38a5dd2.entry.js.map → p-0643d684.entry.js.map} +0 -0
  595. /package/www/build/{p-6ef58a14.entry.js.map → p-0aed3ddc.entry.js.map} +0 -0
  596. /package/www/build/{p-59baa7f5.entry.js.map → p-19103e70.entry.js.map} +0 -0
  597. /package/www/build/{p-b4b264b1.entry.js.map → p-252893a8.entry.js.map} +0 -0
  598. /package/www/build/{p-84ed6163.entry.js.map → p-26ed6c96.entry.js.map} +0 -0
  599. /package/www/build/{p-2501dd29.entry.js.map → p-2d4cf6ff.entry.js.map} +0 -0
  600. /package/www/build/{p-f0f53bb2.entry.js.map → p-30a78a06.entry.js.map} +0 -0
  601. /package/www/build/{p-17e2fed2.entry.js.map → p-3977b0ae.entry.js.map} +0 -0
  602. /package/www/build/{p-6c3d141b.entry.js.map → p-3ba7621b.entry.js.map} +0 -0
  603. /package/www/build/{p-839e2478.entry.js.map → p-42abfe3b.entry.js.map} +0 -0
  604. /package/www/build/{p-de313d96.entry.js.map → p-4504375f.entry.js.map} +0 -0
  605. /package/www/build/{p-f9e41b2e.entry.js.map → p-47813782.entry.js.map} +0 -0
  606. /package/www/build/{p-6d61933f.entry.js.map → p-47b59f05.entry.js.map} +0 -0
  607. /package/www/build/{p-a7bb5e87.js.map → p-4844c774.js.map} +0 -0
  608. /package/www/build/{p-7d6c4b21.entry.js.map → p-55e5e53a.entry.js.map} +0 -0
  609. /package/www/build/{p-c03767a4.entry.js.map → p-565c1815.entry.js.map} +0 -0
  610. /package/www/build/{p-6d11da08.entry.js.map → p-58aeaf21.entry.js.map} +0 -0
  611. /package/www/build/{p-d1a04722.entry.js.map → p-5905cca0.entry.js.map} +0 -0
  612. /package/www/build/{p-cc87d814.entry.js.map → p-5989465b.entry.js.map} +0 -0
  613. /package/www/build/{p-b8211903.entry.js.map → p-5e2f6ab7.entry.js.map} +0 -0
  614. /package/www/build/{p-7b199026.entry.js.map → p-613987cd.entry.js.map} +0 -0
  615. /package/www/build/{p-b854cc3d.entry.js.map → p-6164feb9.entry.js.map} +0 -0
  616. /package/www/build/{p-f79010de.js.map → p-623fdee4.js.map} +0 -0
  617. /package/www/build/{p-5f1e17cb.js.map → p-68d91a93.js.map} +0 -0
  618. /package/www/build/{p-eb9161bc.entry.js.map → p-6c9cd6be.entry.js.map} +0 -0
  619. /package/www/build/{p-76003048.entry.js.map → p-6d15da6f.entry.js.map} +0 -0
  620. /package/www/build/{p-d1fe7960.entry.js.map → p-6e13aa8e.entry.js.map} +0 -0
  621. /package/www/build/{p-661bce1c.entry.js.map → p-767b66ca.entry.js.map} +0 -0
  622. /package/www/build/{p-c645dc11.entry.js.map → p-76d1d0e4.entry.js.map} +0 -0
  623. /package/www/build/{p-684142d7.entry.js.map → p-771dea79.entry.js.map} +0 -0
  624. /package/www/build/{p-c57bb632.entry.js.map → p-7a4f6a5b.entry.js.map} +0 -0
  625. /package/www/build/{p-b06af2fc.js.map → p-7b837e11.js.map} +0 -0
  626. /package/www/build/{p-332e0361.entry.js.map → p-7d655f96.entry.js.map} +0 -0
  627. /package/www/build/{p-9af837bb.entry.js.map → p-82eeea83.entry.js.map} +0 -0
  628. /package/www/build/{p-db2c3235.entry.js.map → p-862989b6.entry.js.map} +0 -0
  629. /package/www/build/{p-90690d4d.entry.js.map → p-8988eee3.entry.js.map} +0 -0
  630. /package/www/build/{p-54cd104c.js.map → p-8b367393.js.map} +0 -0
  631. /package/www/build/{p-5cdd431e.entry.js.map → p-8c52635e.entry.js.map} +0 -0
  632. /package/www/build/{p-3f66654f.entry.js.map → p-8fd50cc5.entry.js.map} +0 -0
  633. /package/www/build/{p-2bba665d.entry.js.map → p-92f13701.entry.js.map} +0 -0
  634. /package/www/build/{p-4df66afe.entry.js.map → p-93d349ee.entry.js.map} +0 -0
  635. /package/www/build/{p-ddae9016.entry.js.map → p-943db3a8.entry.js.map} +0 -0
  636. /package/www/build/{p-a32ebcc3.entry.js.map → p-988a58dd.entry.js.map} +0 -0
  637. /package/www/build/{p-80285500.js.map → p-9c816a3b.js.map} +0 -0
  638. /package/www/build/{p-3d02ad75.entry.js.map → p-a2ee659d.entry.js.map} +0 -0
  639. /package/www/build/{p-1939116a.entry.js.map → p-a4d2cf55.entry.js.map} +0 -0
  640. /package/www/build/{p-9a63ec80.entry.js.map → p-a8609510.entry.js.map} +0 -0
  641. /package/www/build/{p-b1f2388a.entry.js.map → p-aaa96c12.entry.js.map} +0 -0
  642. /package/www/build/{p-dba260f2.entry.js.map → p-b391211f.entry.js.map} +0 -0
  643. /package/www/build/{p-0989655c.entry.js.map → p-b54d923e.entry.js.map} +0 -0
  644. /package/www/build/{p-15951fc6.entry.js.map → p-b7056859.entry.js.map} +0 -0
  645. /package/www/build/{p-1e0d85d5.entry.js.map → p-b71a3f69.entry.js.map} +0 -0
  646. /package/www/build/{p-19172b2c.entry.js.map → p-b7ec2cc4.entry.js.map} +0 -0
  647. /package/www/build/{p-0a192ddf.entry.js.map → p-c12f93e4.entry.js.map} +0 -0
  648. /package/www/build/{p-d5ebbfdf.entry.js.map → p-c811b0cf.entry.js.map} +0 -0
  649. /package/www/build/{p-c0b4f29d.entry.js.map → p-c9b81cab.entry.js.map} +0 -0
  650. /package/www/build/{p-2f45f1ff.entry.js.map → p-cbc09112.entry.js.map} +0 -0
  651. /package/www/build/{p-d65aeb54.entry.js.map → p-efa6b991.entry.js.map} +0 -0
  652. /package/www/build/{p-57dcff49.entry.js.map → p-f4b987ed.entry.js.map} +0 -0
  653. /package/www/build/{p-215b1fa5.entry.js.map → p-f662e7ff.entry.js.map} +0 -0
  654. /package/www/build/{p-80ddecaf.entry.js.map → p-f92e0c29.entry.js.map} +0 -0
  655. /package/www/build/{p-71f62226.entry.js.map → p-ff89d630.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r,c as o,h as a}from"./p-75c4a726.js";const i="button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled03);fill:var(--color-disabled03)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";const t=i;const e=class{constructor(a){r(this,a);this.toggleClick=o(this,"toggleClick",7);this.label=undefined;this.isdisabled=false;this.avoidclick=undefined;this.opened=false;this.ariaLabel=""}emitToggleClick(){if(this.isdisabled){return}this.opened=!this.opened;this.toggleClick.emit(this.opened)}render(){return a("button",{key:"bb5204888ed781929850a5c094cab99a24a6cb1c",tabindex:this.avoidclick?"-1":"0",class:{isopen:this.opened,"avoid-clicks":this.avoidclick},disabled:this.isdisabled,"aria-expanded":this.opened?"true":"false","aria-label":this.ariaLabel,onClick:()=>this.emitToggleClick()},a("z-icon",{key:"efdc08be8758803884a56014e724b6a3eb315784",name:this.opened?"chevron-down":"chevron-up",width:16,height:16}),this.label)}};e.style=t;export{e as z_toggle_button};
2
- //# sourceMappingURL=p-dba260f2.entry.js.map
1
+ import{r,c as o,h as i}from"./p-75c4a726.js";const a="button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled03);fill:var(--color-disabled03)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";const t=a;const e=class{constructor(i){r(this,i);this.toggleClick=o(this,"toggleClick",7);this.label=undefined;this.isdisabled=false;this.avoidclick=undefined;this.opened=false;this.ariaLabel=""}emitToggleClick(){if(this.isdisabled){return}this.opened=!this.opened;this.toggleClick.emit(this.opened)}render(){return i("button",{key:"6df0aee8dfd4785cd9787b2940c12cc3d680ef0c",tabindex:this.avoidclick?"-1":"0",class:{isopen:this.opened,"avoid-clicks":this.avoidclick},disabled:this.isdisabled,"aria-expanded":this.opened?"true":"false","aria-label":this.ariaLabel,onClick:()=>this.emitToggleClick()},i("z-icon",{key:"ab52cd6023b492b5bba8086fd189112e5329c3ad",name:this.opened?"chevron-down":"chevron-up",width:16,height:16}),this.label)}};e.style=t;export{e as z_toggle_button};
2
+ //# sourceMappingURL=p-b391211f.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as s,a as o,g as e}from"./p-75c4a726.js";import{g as i}from"./p-86618221.js";const r=":host,*{box-sizing:border-box}:host{display:flex;width:fit-content;align-items:center;padding:0;border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:calc(var(--border-radius) + var(--border-size-small));box-shadow:var(--shadow-4);gap:calc(var(--space-unit) / 2)}::slotted(z-divider){height:calc(var(--space-unit) * 4.5) !important}@media (max-width: 767px){:host{--z-toolbar-columns:6;position:relative;display:grid;max-width:100%;background:repeating-linear-gradient(\n to bottom,\n transparent 0,\n transparent calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5 + 1px)\n )\n center / calc(100% - var(--space-unit)) 100% no-repeat var(--color-surface01);gap:var(--border-size-small) calc(var(--space-unit) / 2);grid-template-columns:repeat(var(--z-toolbar-columns, auto-fill), minmax(44px, auto))}::slotted(z-divider){display:none !important}}";const a=r;const n=class{constructor(s){t(this,s);this.toolItems=[];this.htmlAriaLabel=undefined;this.currentFocusIndex=0}componentDidLoad(){this.collectToolItems();this.updateTabIndexes();let t=parseInt(getComputedStyle(this.hostElement).getPropertyValue("--z-toolbar-columns")||"6");t=this.toolItems.length<=t?this.toolItems.length:t;this.hostElement.style.setProperty("--z-toolbar-columns",t.toString())}collectToolItems(){this.toolItems=Array.from(this.hostElement.querySelectorAll("z-tool:not(:scope z-tool z-tool)"))}updateTabIndexes(){this.toolItems.forEach(((t,s)=>{t.setTabIndex(s===this.currentFocusIndex?0:-1)}))}focusToolAt(t,s="next"){const o=this.toolItems[t];if(!o){return}this.currentFocusIndex=t;if(!o.disabled){o.setFocus();this.updateTabIndexes();return}if(s==="next"){this.focusNextTool()}else{this.focusPreviousTool()}}focusNextTool(){const t=(this.currentFocusIndex+1)%this.toolItems.length;this.focusToolAt(t)}focusPreviousTool(){const t=(this.currentFocusIndex-1+this.toolItems.length)%this.toolItems.length;this.focusToolAt(t,"previous")}closeSiblingSubmenusOnOpen(t){if(t.detail!==true){return}const s=t.target.closest("z-tool");if(!s||!this.toolItems.includes(s)){return}this.toolItems.forEach((t=>{if(t!==s&&t.open){t.open=false}}))}closeSiblingTooltipsOnOpen(t){if(t.detail!==true){return}const s=t.target;if(!this.toolItems.includes(s)){return}this.toolItems.forEach((t=>{if(t!==s){t.closeTooltip()}}))}handleKeyDown(t){const s=t.target;const o=s.closest("z-tool");if(!o||!this.toolItems.includes(o)){return}const e=this.toolItems.indexOf(o);if(e!==-1){this.currentFocusIndex=e}switch(t.key){case i.ARROW_RIGHT:t.preventDefault();this.focusNextTool();break;case i.ARROW_LEFT:t.preventDefault();this.focusPreviousTool();break}}handleFocusIn(t){const s=t.target;const o=s.closest("z-tool");const e=this.toolItems.indexOf(o);if(e!==-1&&e!==this.currentFocusIndex){this.currentFocusIndex=e;this.updateTabIndexes()}}render(){return s(o,{key:"eb195bd6bb7d19e7958492c96761572838e2a881",role:"toolbar","aria-label":this.htmlAriaLabel},s("slot",{key:"6283d32e6e5568a890ff9c404d152800269cda99",onSlotchange:()=>{this.collectToolItems();this.updateTabIndexes()}}))}get hostElement(){return e(this)}};n.style=a;export{n as z_toolbar};
2
- //# sourceMappingURL=p-0989655c.entry.js.map
1
+ import{r as t,h as s,a as o,g as e}from"./p-75c4a726.js";import{g as i}from"./p-86618221.js";const r=":host,*{box-sizing:border-box}:host{display:flex;width:fit-content;align-items:center;padding:0;border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:calc(var(--border-radius) + var(--border-size-small));box-shadow:var(--shadow-4);gap:calc(var(--space-unit) / 2)}::slotted(z-divider){height:calc(var(--space-unit) * 4.5) !important}@media (max-width: 767px){:host{--z-toolbar-columns:6;position:relative;display:grid;max-width:100%;background:repeating-linear-gradient(\n to bottom,\n transparent 0,\n transparent calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5),\n var(--color-surface03) calc(var(--space-unit) * 5.5 + 1px)\n )\n center / calc(100% - var(--space-unit)) 100% no-repeat var(--color-surface01);gap:var(--border-size-small) calc(var(--space-unit) / 2);grid-template-columns:repeat(var(--z-toolbar-columns, auto-fill), minmax(44px, auto))}::slotted(z-divider){display:none !important}}";const a=r;const n=class{constructor(s){t(this,s);this.toolItems=[];this.htmlAriaLabel=undefined;this.currentFocusIndex=0}componentDidLoad(){this.collectToolItems();this.updateTabIndexes();let t=parseInt(getComputedStyle(this.hostElement).getPropertyValue("--z-toolbar-columns")||"6");t=this.toolItems.length<=t?this.toolItems.length:t;this.hostElement.style.setProperty("--z-toolbar-columns",t.toString())}collectToolItems(){this.toolItems=Array.from(this.hostElement.querySelectorAll("z-tool:not(:scope z-tool z-tool)"))}updateTabIndexes(){this.toolItems.forEach(((t,s)=>{t.setTabIndex(s===this.currentFocusIndex?0:-1)}))}focusToolAt(t,s="next"){const o=this.toolItems[t];if(!o){return}this.currentFocusIndex=t;if(!o.disabled){o.setFocus();this.updateTabIndexes();return}if(s==="next"){this.focusNextTool()}else{this.focusPreviousTool()}}focusNextTool(){const t=(this.currentFocusIndex+1)%this.toolItems.length;this.focusToolAt(t)}focusPreviousTool(){const t=(this.currentFocusIndex-1+this.toolItems.length)%this.toolItems.length;this.focusToolAt(t,"previous")}closeSiblingSubmenusOnOpen(t){if(t.detail!==true){return}const s=t.target.closest("z-tool");if(!s||!this.toolItems.includes(s)){return}this.toolItems.forEach((t=>{if(t!==s&&t.open){t.open=false}}))}closeSiblingTooltipsOnOpen(t){if(t.detail!==true){return}const s=t.target;if(!this.toolItems.includes(s)){return}this.toolItems.forEach((t=>{if(t!==s){t.closeTooltip()}}))}handleKeyDown(t){const s=t.target;const o=s.closest("z-tool");if(!o||!this.toolItems.includes(o)){return}const e=this.toolItems.indexOf(o);if(e!==-1){this.currentFocusIndex=e}switch(t.key){case i.ARROW_RIGHT:t.preventDefault();this.focusNextTool();break;case i.ARROW_LEFT:t.preventDefault();this.focusPreviousTool();break}}handleFocusIn(t){const s=t.target;const o=s.closest("z-tool");const e=this.toolItems.indexOf(o);if(e!==-1&&e!==this.currentFocusIndex){this.currentFocusIndex=e;this.updateTabIndexes()}}render(){return s(o,{key:"dc26c2f0e3a48566e671476dce7241e326cacac8",role:"toolbar","aria-label":this.htmlAriaLabel},s("slot",{key:"ff7b8ae41331be87db8f71ff0cbaf4882a7d684d",onSlotchange:()=>{this.collectToolItems();this.updateTabIndexes()}}))}get hostElement(){return e(this)}};n.style=a;export{n as z_toolbar};
2
+ //# sourceMappingURL=p-b54d923e.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r,h as a}from"./p-75c4a726.js";const o="button{display:flex;width:42px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 6);align-items:center;justify-content:center;padding:0;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);margin:0;background:none;border-radius:0 var(--border-radius) 0 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);outline:none}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border:0;border-radius:var(--border-radius)}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-focus-primary)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";const e=o;const t=class{constructor(a){r(this,a);this.icon=undefined;this.isdisabled=false;this.ariaLabel=""}render(){return a("button",{key:"8cf0706cb512e898631d0be8c684f71fdabae5ad",disabled:this.isdisabled,"aria-label":this.ariaLabel},a("span",{key:"60d66f1cd2ce59f2fda0b2c0c3be76464aafee42"},a("z-icon",{key:"32fdcb582bb5be5e2fe65218c878b598a562aa90",name:this.icon,width:16,height:16})))}};t.style=e;export{t as z_myz_card_icon};
2
- //# sourceMappingURL=p-15951fc6.entry.js.map
1
+ import{r,h as a}from"./p-75c4a726.js";const o="button{display:flex;width:42px;width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 6);align-items:center;justify-content:center;padding:0;border:none;border-left:var(--border-size-medium) solid var(--color-surface03);margin:0;background:none;border-radius:0 var(--border-radius) 0 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);outline:none}button:active,button:focus{color:var(--blue700);fill:var(--blue700)}button>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border:0;border-radius:var(--border-radius)}button:hover>span{background:var(--color-primary03)}button:focus>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-focus-primary)}button:active>span{background:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2)}button:disabled{cursor:not-allowed}button:disabled>span{background:none;box-shadow:var(--shadow-0);pointer-events:none}button:disabled>span>z-icon{fill:var(--color-surface03)}button::-moz-focus-inner{border:0}";const e=o;const t=class{constructor(a){r(this,a);this.icon=undefined;this.isdisabled=false;this.ariaLabel=""}render(){return a("button",{key:"6eeee51373c90e15a165b2511675c1df63974289",disabled:this.isdisabled,"aria-label":this.ariaLabel},a("span",{key:"197d99ffec190c40dd72ab22176ac502cf410951"},a("z-icon",{key:"9b5f1fae74c6cd7ee9a8d7f66e90bee09e5fa7e9",name:this.icon,width:16,height:16})))}};t.style=e;export{t as z_myz_card_icon};
2
+ //# sourceMappingURL=p-b7056859.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as a,h as t,a as e}from"./p-75c4a726.js";const i=":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";const o=i;const n=class{constructor(t){a(this,t)}render(){return t(e,{key:"1d1f9c22822efd4ff78ada101c84a0989da9f71b",role:"navigation"},t("slot",{key:"f6068efbdab8ba800c82f5c89ed1e88e983ef369"}))}};n.style=o;export{n as z_stepper};
2
- //# sourceMappingURL=p-1e0d85d5.entry.js.map
1
+ import{r as a,h as t,a as e}from"./p-75c4a726.js";const i=":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";const o=i;const n=class{constructor(t){a(this,t)}render(){return t(e,{key:"aa8c3ef6cca54442496944c748d1c224814ecc1a",role:"navigation"},t("slot",{key:"9065c4077e08c252406e618e548f13aac5ed40d9"}))}};n.style=o;export{n as z_stepper};
2
+ //# sourceMappingURL=p-b71a3f69.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,a as i}from"./p-75c4a726.js";const r=':host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}';const o=r;const a=class{constructor(t){e(this,t);this.index=undefined;this.href=undefined;this.pressed=undefined;this.checked=undefined;this.disabled=undefined}getAttributes(){const e=this.href&&!this.pressed&&!this.disabled?{onClick:()=>location.href=this.href}:undefined;const t=e?{role:"link"}:undefined;const i=this.pressed&&!this.disabled?{"aria-current":"step"}:undefined;const r=this.pressed||this.href===""?{tabIndex:-1}:undefined;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),r)}render(){return t(i,{key:"19c73e3cc4e553720f5fb782f73931737007f7a4",role:"listitem"},t("button",Object.assign({key:"b2bcbd197fe0ba3b90442544f354589394ac0007",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"bc7e3054c6ece39171d65a03360ff16502a46b3c",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"e18deeb657c6ff859ba1e6cff18103550bf0a4db"},t("slot",{key:"7646d57e96b50b8268e5353003a118737687c2b5"}))))}};a.style=o;export{a as z_stepper_item};
2
- //# sourceMappingURL=p-19172b2c.entry.js.map
1
+ import{r as e,h as t,a as i}from"./p-75c4a726.js";const r=':host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-icon-width:20px;--z-icon-height:20px}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled03);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:""}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:12px;line-height:16px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));color:var(--color-default-text);text-align:center}:host([href]:not([disabled],[pressed])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}:host([pressed]),:host([pressed]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-hover-primary);background:var(--color-hover-primary);color:var(--color-text-inverse)}:host([href]:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([href]:not([disabled],[pressed],[checked])) .indicator:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}:host([checked]:not([disabled])) .indicator{border-color:var(--color-default-success);color:var(--color-default-success)}:host([checked]:not([disabled])) .indicator z-icon{fill:var(--color-default-success)}:host([checked]) .indicator z-icon>svg{width:24px;height:24px}@media (min-width: 768px){.stepper-item span{display:block}}@media (min-width: 1152px){:host{width:calc(var(--space-unit) * 10);--z-icon-width:24px;--z-icon-height:24px}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10);font-size:18px;line-height:28px}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}';const o=r;const a=class{constructor(t){e(this,t);this.index=undefined;this.href=undefined;this.pressed=undefined;this.checked=undefined;this.disabled=undefined}getAttributes(){const e=this.href&&!this.pressed&&!this.disabled?{onClick:()=>location.href=this.href}:undefined;const t=e?{role:"link"}:undefined;const i=this.pressed&&!this.disabled?{"aria-current":"step"}:undefined;const r=this.pressed||this.href===""?{tabIndex:-1}:undefined;return Object.assign(Object.assign(Object.assign(Object.assign({},e),t),i),r)}render(){return t(i,{key:"eee285538af50ff09c49ead53e0589f20f810567",role:"listitem"},t("button",Object.assign({key:"0b354bc4e0ad809044e1cf0beb80a6259b2df43a",class:"stepper-item",disabled:this.disabled},this.getAttributes()),t("div",{key:"3227f3ce382e6340cfc9bec365cb2d7b79dba2ed",class:"indicator"},this.checked?t("z-icon",{name:"checkmark"}):this.index),t("span",{key:"1099214dda81271f48d2453d1e111042a79207af"},t("slot",{key:"50262e5fbb88d2b628de778243d52087225eec7b"}))))}};a.style=o;export{a as z_stepper_item};
2
+ //# sourceMappingURL=p-b7ec2cc4.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as o,h as r,a as e,g as a}from"./p-75c4a726.js";import{a0 as s}from"./p-86618221.js";import{a as i}from"./p-1a0c206d.js";import"./p-5145a606.js";const c=':host{display:grid;width:fit-content;padding:calc(var(--space-unit) * 2);background:var(--color-surface01);gap:var(--space-unit);grid-template-columns:repeat(9, calc(var(--space-unit) * 3));grid-template-rows:repeat(5, calc(var(--space-unit) * 3))}:host,*{box-sizing:border-box}button{--border-color:var(--color-surface05);padding:0;border:none;appearance:none;background:none;border-radius:var(--border-radius);cursor:pointer}button[data-color="#FFFFFF00"]{position:relative}button[data-color="#FFFFFF00"]::after{position:absolute;top:0;right:0;width:100%;height:100%;background:linear-gradient(\n -45deg,\n transparent 48%,\n var(--border-color) 48%,\n var(--border-color) 52%,\n transparent 52%\n );border-radius:var(--border-radius);content:""}button[aria-selected="true"]{box-shadow:0 0 0 1px var(--color-white),\n 0 0 0 3px var(--color-active-primary)}button:focus-visible{box-shadow:var(--shadow-focus-primary)}button .color-swatch{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3);border:var(--border-size-small) solid var(--border-color);border-radius:var(--border-radius)}button[data-color="#FFFFFF00"]:disabled{--border-color:var(--color-disabled01-icon);cursor:not-allowed}button[data-color="#FFFFFF00"]:disabled .color-swatch{background-color:var(--color-disabled02)}';const n=c;const l={it:{"Select a color":"Seleziona un colore","Color swatch":"Campione di colore"},en:{"Select a color":"Select a color","Color swatch":"Color swatch"}};const d=5;const h=9;const u=class{constructor(r){t(this,r);this.colorSelected=o(this,"colorSelected",7);this.colorKeysByRow=[];this._colorButtons=[];this.selectedColor=undefined;this.lng="it";this.htmlAriaLabel=undefined;this.disableTransparent=false}get colorButtons(){if(!this._colorButtons.length){this._colorButtons=Array.from(this.host.shadowRoot.querySelectorAll("button"))}return this._colorButtons}sortColorKeysByRow(){const t=Object.keys(s);const o=[];for(let r=0;r<d;r++){for(let e=0;e<h;e++){const a=e*d+r;if(a<t.length){o.push(t[a])}}}return o}moveFocusTo(t){this.colorButtons.forEach(((o,r)=>o.tabIndex=r===t?0:-1));this.colorButtons[t].focus()}validateTransparentSelection(){if(this.disableTransparent&&this.selectedColor==="#FFFFFF00"){this.selectedColor="#333333"}}emitColorSelected(){this.colorSelected.emit(this.selectedColor)}async setFocus(){this.colorButtons.forEach((t=>t.tabIndex=-1));const t=this.colorButtons.find((t=>t.ariaSelected==="true"))||this.colorButtons.find((t=>!t.disabled));if(!t){return}t.tabIndex=0;setTimeout((()=>{t.focus()}),50);this.host.tabIndex=-1}getNextIndexByKey(t,o,r){const e=Math.floor(t/h);const a=t%h;let s=t;switch(o){case"ArrowRight":{const t=a+1;const o=t>=h?(e+1)%d:e;s=o*h+t%h;if(s>=r){s=0}break}case"ArrowLeft":{const t=a-1;const o=t<0?(e-1+d)%d:e;s=o*h+(t+h)%h;if(s>=r){s=r-1}break}case"ArrowDown":{let t=e+1;let o=a;if(t>=d){t=0;o=(a+1)%h}s=t*h+o;if(s>=r){s=0}break}case"ArrowUp":{let t=e-1;let o=a;if(t<0){t=d-1;o=(a-1+h)%h}s=t*h+o;if(s>=r){s=r-1}break}}return s}handleKeyDown(t){var o,r;const e=t.composedPath()[0];if(!e.dataset.color){return}const a=this.colorButtons.indexOf(e);const s=this.colorButtons.length;if(a<0||!["ArrowRight","ArrowLeft","ArrowDown","ArrowUp"].includes(t.key)){return}let i=a;let c=0;do{i=this.getNextIndexByKey(i,t.key,s);c++}while(c<s&&((o=this.colorButtons[i])===null||o===void 0?void 0:o.disabled));if(i!==a&&i>=0&&i<s&&!((r=this.colorButtons[i])===null||r===void 0?void 0:r.disabled)){this.moveFocusTo(i);t.preventDefault();t.stopPropagation()}}handleBlur(t){const o=t.relatedTarget;if(!i(this.host,o)){this.host.tabIndex=0;this.colorButtons.forEach((t=>t.tabIndex=-1))}}componentWillLoad(){this.colorKeysByRow=this.sortColorKeysByRow()}render(){return r(e,{key:"4fabea9e988ceec44c05e5885aa4ad0eb0ad5076",role:"listbox","aria-label":this.htmlAriaLabel||l[this.lng]["Select a color"],tabIndex:0},this.colorKeysByRow.map((t=>{var o;return r("button",{class:"color-swatch","data-color":t,role:"option","aria-selected":((o=this.selectedColor)===null||o===void 0?void 0:o.toUpperCase())===t.toUpperCase()?"true":"false",tabIndex:-1,onClick:()=>this.selectedColor=t,disabled:this.disableTransparent&&t==="#FFFFFF00"},r("div",{class:"color-swatch",role:"img","aria-roledescription":l[this.lng]["Color swatch"],"aria-label":s[t][this.lng],title:s[t][this.lng],style:{backgroundColor:t}}))})))}get host(){return a(this)}static get watchers(){return{disableTransparent:["validateTransparentSelection"],selectedColor:["validateTransparentSelection","emitColorSelected"]}}};u.style=n;export{u as z_color_picker};
2
- //# sourceMappingURL=p-0a192ddf.entry.js.map
1
+ import{r as t,c as o,h as r,a as e,g as a}from"./p-75c4a726.js";import{a0 as s}from"./p-86618221.js";import{a as i}from"./p-1a0c206d.js";import"./p-5145a606.js";const c=':host{display:grid;width:fit-content;padding:calc(var(--space-unit) * 2);background:var(--color-surface01);gap:var(--space-unit);grid-template-columns:repeat(9, calc(var(--space-unit) * 3));grid-template-rows:repeat(5, calc(var(--space-unit) * 3))}:host,*{box-sizing:border-box}button{--border-color:var(--color-surface05);padding:0;border:none;appearance:none;background:none;border-radius:var(--border-radius);cursor:pointer}button[data-color="#FFFFFF00"]{position:relative}button[data-color="#FFFFFF00"]::after{position:absolute;top:0;right:0;width:100%;height:100%;background:linear-gradient(\n -45deg,\n transparent 48%,\n var(--border-color) 48%,\n var(--border-color) 52%,\n transparent 52%\n );border-radius:var(--border-radius);content:""}button[aria-selected="true"]{box-shadow:0 0 0 1px var(--color-white),\n 0 0 0 3px var(--color-active-primary)}button:focus-visible{box-shadow:var(--shadow-focus-primary)}button .color-swatch{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3);border:var(--border-size-small) solid var(--border-color);border-radius:var(--border-radius)}button[data-color="#FFFFFF00"]:disabled{--border-color:var(--color-disabled01-icon);cursor:not-allowed}button[data-color="#FFFFFF00"]:disabled .color-swatch{background-color:var(--color-disabled02)}';const n=c;const l={it:{"Select a color":"Seleziona un colore","Color swatch":"Campione di colore"},en:{"Select a color":"Select a color","Color swatch":"Color swatch"}};const d=5;const h=9;const u=class{constructor(r){t(this,r);this.colorSelected=o(this,"colorSelected",7);this.colorKeysByRow=[];this._colorButtons=[];this.selectedColor=undefined;this.lng="it";this.htmlAriaLabel=undefined;this.disableTransparent=false}get colorButtons(){if(!this._colorButtons.length){this._colorButtons=Array.from(this.host.shadowRoot.querySelectorAll("button"))}return this._colorButtons}sortColorKeysByRow(){const t=Object.keys(s);const o=[];for(let r=0;r<d;r++){for(let e=0;e<h;e++){const a=e*d+r;if(a<t.length){o.push(t[a])}}}return o}moveFocusTo(t){this.colorButtons.forEach(((o,r)=>o.tabIndex=r===t?0:-1));this.colorButtons[t].focus()}validateTransparentSelection(){if(this.disableTransparent&&this.selectedColor==="#FFFFFF00"){this.selectedColor="#333333"}}emitColorSelected(){this.colorSelected.emit(this.selectedColor)}async setFocus(){this.colorButtons.forEach((t=>t.tabIndex=-1));const t=this.colorButtons.find((t=>t.ariaSelected==="true"))||this.colorButtons.find((t=>!t.disabled));if(!t){return}t.tabIndex=0;setTimeout((()=>{t.focus()}),50);this.host.tabIndex=-1}getNextIndexByKey(t,o,r){const e=Math.floor(t/h);const a=t%h;let s=t;switch(o){case"ArrowRight":{const t=a+1;const o=t>=h?(e+1)%d:e;s=o*h+t%h;if(s>=r){s=0}break}case"ArrowLeft":{const t=a-1;const o=t<0?(e-1+d)%d:e;s=o*h+(t+h)%h;if(s>=r){s=r-1}break}case"ArrowDown":{let t=e+1;let o=a;if(t>=d){t=0;o=(a+1)%h}s=t*h+o;if(s>=r){s=0}break}case"ArrowUp":{let t=e-1;let o=a;if(t<0){t=d-1;o=(a-1+h)%h}s=t*h+o;if(s>=r){s=r-1}break}}return s}handleKeyDown(t){var o,r;const e=t.composedPath()[0];if(!e.dataset.color){return}const a=this.colorButtons.indexOf(e);const s=this.colorButtons.length;if(a<0||!["ArrowRight","ArrowLeft","ArrowDown","ArrowUp"].includes(t.key)){return}let i=a;let c=0;do{i=this.getNextIndexByKey(i,t.key,s);c++}while(c<s&&((o=this.colorButtons[i])===null||o===void 0?void 0:o.disabled));if(i!==a&&i>=0&&i<s&&!((r=this.colorButtons[i])===null||r===void 0?void 0:r.disabled)){this.moveFocusTo(i);t.preventDefault();t.stopPropagation()}}handleBlur(t){const o=t.relatedTarget;if(!i(this.host,o)){this.host.tabIndex=0;this.colorButtons.forEach((t=>t.tabIndex=-1))}}componentWillLoad(){this.colorKeysByRow=this.sortColorKeysByRow()}render(){return r(e,{key:"24f0e76aecda9731ed826e8228f49ca5e08a14a5",role:"listbox","aria-label":this.htmlAriaLabel||l[this.lng]["Select a color"],tabIndex:0},this.colorKeysByRow.map((t=>{var o;return r("button",{class:"color-swatch","data-color":t,role:"option","aria-selected":((o=this.selectedColor)===null||o===void 0?void 0:o.toUpperCase())===t.toUpperCase()?"true":"false",tabIndex:-1,onClick:()=>this.selectedColor=t,disabled:this.disableTransparent&&t==="#FFFFFF00"},r("div",{class:"color-swatch",role:"img","aria-roledescription":l[this.lng]["Color swatch"],"aria-label":s[t][this.lng],title:s[t][this.lng],style:{backgroundColor:t}}))})))}get host(){return a(this)}static get watchers(){return{disableTransparent:["validateTransparentSelection"],selectedColor:["validateTransparentSelection","emitColorSelected"]}}};u.style=n;export{u as z_color_picker};
2
+ //# sourceMappingURL=p-c12f93e4.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as t,h as a}from"./p-75c4a726.js";import{o as r}from"./p-86618221.js";const i=":host{position:absolute;z-index:2;top:0;left:0;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-alert{height:calc(var(--space-unit) * 6)}.relative-container{position:relative;display:grid;align-items:center;padding:0;grid-column-gap:var(--space-unit);grid-template-columns:18px auto 46px;grid-template-rows:1fr;outline:none}.relative-container::-moz-focus-inner{border:0}.alert-external-wrapper.remove-alert{border:var(--border-size-medium) solid var(--color-background);border-top:none}:host div.add-alert{background:var(--color-inverse-success)}:host div.remove-alert{background:var(--color-inverse-warning)}:host div>.content-text{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.content-action{height:20px;color:var(--color-primary01);cursor:pointer;font-size:12px;font-weight:var(--font-sb);letter-spacing:0.32px;line-height:20px}:host div>z-icon{justify-self:center}";const n=i;const s=class{constructor(a){e(this,a);this.undoAction=t(this,"undoAction",7);this.iconname=undefined;this.contenttext=undefined;this.actiontext=undefined;this.type=undefined}emitUndoAction(){this.undoAction.emit({actionType:this.type})}handleSpaceKeyPress(e){if(e.keyCode==32||e.keyCode==13){e.preventDefault();this.emitUndoAction()}}handleActionButtonClick(e){e.preventDefault();this.emitUndoAction()}retrieveClass(){let e="";switch(this.type){case"add":e="add-alert";break;case"remove":e="remove-alert";break;default:e="";break}return e}getAlertType(){switch(this.type){case"add":return r.SUCCESS;case"remove":return r.WARNING;default:return null}}render(){return a("div",{key:"de35ab9329973e2abf430b613474a58611dc9020",class:"alert-external-wrapper "+this.retrieveClass()},a("z-alert",{key:"bd5258ea5f38e20d6efcce6a64976a6bea1dae46",type:this.getAlertType()},a("div",{key:"f97cbf6a6c9b0d27922142c4e163993de25ed713",class:"relative-container"},a("z-icon",{key:"e14067bce09f626b3cc0cfa85640d6c51b6207ba",name:this.iconname,width:18,height:18,class:this.retrieveClass()}),a("span",{key:"cc33afd45ffc783b86d869d9da9ad9137c8133d1",class:"content-text"},this.contenttext),this.actiontext&&!!this.actiontext.trim().length&&a("span",{key:"c6799d07af9bdfc1e203644a16dabda65e809dba",role:"button",tabindex:"0",class:"content-action",onClick:e=>{this.handleActionButtonClick(e)},onKeyPress:e=>{this.handleSpaceKeyPress(e)}},this.actiontext))))}};s.style=n;export{s as z_myz_card_alert};
2
- //# sourceMappingURL=p-d5ebbfdf.entry.js.map
1
+ import{r as e,c as t,h as a}from"./p-75c4a726.js";import{o as r}from"./p-86618221.js";const i=":host{position:absolute;z-index:2;top:0;left:0;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-alert{height:calc(var(--space-unit) * 6)}.relative-container{position:relative;display:grid;align-items:center;padding:0;grid-column-gap:var(--space-unit);grid-template-columns:18px auto 46px;grid-template-rows:1fr;outline:none}.relative-container::-moz-focus-inner{border:0}.alert-external-wrapper.remove-alert{border:var(--border-size-medium) solid var(--color-background);border-top:none}:host div.add-alert{background:var(--color-inverse-success)}:host div.remove-alert{background:var(--color-inverse-warning)}:host div>.content-text{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.content-action{height:20px;color:var(--color-primary01);cursor:pointer;font-size:12px;font-weight:var(--font-sb);letter-spacing:0.32px;line-height:20px}:host div>z-icon{justify-self:center}";const n=i;const s=class{constructor(a){e(this,a);this.undoAction=t(this,"undoAction",7);this.iconname=undefined;this.contenttext=undefined;this.actiontext=undefined;this.type=undefined}emitUndoAction(){this.undoAction.emit({actionType:this.type})}handleSpaceKeyPress(e){if(e.keyCode==32||e.keyCode==13){e.preventDefault();this.emitUndoAction()}}handleActionButtonClick(e){e.preventDefault();this.emitUndoAction()}retrieveClass(){let e="";switch(this.type){case"add":e="add-alert";break;case"remove":e="remove-alert";break;default:e="";break}return e}getAlertType(){switch(this.type){case"add":return r.SUCCESS;case"remove":return r.WARNING;default:return null}}render(){return a("div",{key:"cfc5ba625b1f657d2717a2ac5aae0ad070ad4177",class:"alert-external-wrapper "+this.retrieveClass()},a("z-alert",{key:"c74a674717764ac11f4e71dcaa034ba950c0a1f8",type:this.getAlertType()},a("div",{key:"e289a588eee12751d10964bd9244251d0fef88b4",class:"relative-container"},a("z-icon",{key:"afe5a16bd61de53fdb2ac55e722c3d64ecf22bdf",name:this.iconname,width:18,height:18,class:this.retrieveClass()}),a("span",{key:"e7b11a13ba83bcd214b11e0e8bb89ef7976b356c",class:"content-text"},this.contenttext),this.actiontext&&!!this.actiontext.trim().length&&a("span",{key:"cb5e55bbfb7afdbd2a19b7b612b2412b1a35fa80",role:"button",tabindex:"0",class:"content-action",onClick:e=>{this.handleActionButtonClick(e)},onKeyPress:e=>{this.handleSpaceKeyPress(e)}},this.actiontext))))}};s.style=n;export{s as z_myz_card_alert};
2
+ //# sourceMappingURL=p-c811b0cf.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,c as o,h as n,a}from"./p-75c4a726.js";const e=':host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host([sticky]){position:sticky;top:var(--z-notification--top-offset)}:host([sticky]),:host([showshadow]){box-shadow:var(--shadow-3)}:host([type="success"]){background:var(--color-inverse-success)}:host([type="warning"]){background:var(--color-inverse-warning)}:host([type="error"]){background:var(--color-inverse-error)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type="success"]) .status-icon{fill:var(--color-default-success)}:host([type="warning"]) .status-icon{fill:var(--color-default-warning)}:host([type="error"]) .status-icon{fill:var(--color-default-error)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.action-button:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media only screen and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}';const i=e;const s=class{handleActionButtonClick(t){t.preventDefault();this.notificationAction.emit()}handleCloseButtonClick(t){t.preventDefault();this.notificationClose.emit()}constructor(n){t(this,n);this.notificationAction=o(this,"notificationAction",7);this.notificationClose=o(this,"notificationClose",7);this.contenticonname=undefined;this.actiontext=undefined;this.type=undefined;this.showclose=false;this.showshadow=false;this.sticky=false;this.handleActionButtonClick=this.handleActionButtonClick.bind(this);this.handleCloseButtonClick=this.handleCloseButtonClick.bind(this)}render(){var t;return n(a,{key:"aac3e6385d2f77e80c9933e666770e3da17c21a5"},this.contenticonname&&n("z-icon",{key:"1ba77acd6db4e01ac47ae605c4ab05a345999462",class:"status-icon",name:this.contenticonname,width:16,height:16}),n("div",{key:"9df24bcba7a1f49c803f339a0ac5ddafc08c03c9",class:"content-container"},n("div",{key:"bd1a76905a9c14fa77a1704a127a65a8ba9adab8",class:"content-text"},n("slot",{key:"b126d399950149b0d4cd94d3c2480678d7f91a97"})),!!((t=this.actiontext)===null||t===void 0?void 0:t.trim())&&n("button",{key:"63f56578ed42e720c20b57424c1d824729279e36",class:"action-button",type:"button",onClick:this.handleActionButtonClick},this.actiontext)),this.showclose&&n("button",{key:"81ccf6858d6b559a23b1c9266d8af55e7bd3a2f2",class:"close-button",type:"button",onClick:this.handleCloseButtonClick},n("z-icon",{key:"96c95d07ef561d4b900acefaef90e00d85dc3904",name:"multiply-circle",width:16,height:16})))}};s.style=i;export{s as z_notification};
2
+ //# sourceMappingURL=p-c89e1f4b.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["stylesCss","ZNotificationStyle0","ZNotification","handleActionButtonClick","e","preventDefault","this","notificationAction","emit","handleCloseButtonClick","notificationClose","constructor","hostRef","bind","render","h","Host","key","contenticonname","class","name","width","height","_a","actiontext","trim","type","onClick","showclose"],"sources":["src/components/z-notification/styles.css?tag=z-notification&encapsulation=shadow","src/components/z-notification/index.tsx"],"sourcesContent":[":host {\n --z-notification--top-offset: 0;\n\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: flex-start;\n padding: calc(var(--space-unit) * 2);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n font-family: var(--font-family-sans);\n outline: none;\n}\n\n:host([sticky]) {\n position: sticky;\n top: var(--z-notification--top-offset);\n}\n\n:host([sticky]),\n:host([showshadow]) {\n box-shadow: var(--shadow-3);\n}\n\n:host([type=\"success\"]) {\n background: var(--color-inverse-success);\n}\n\n:host([type=\"warning\"]) {\n background: var(--color-inverse-warning);\n}\n\n:host([type=\"error\"]) {\n background: var(--color-inverse-error);\n}\n\n.status-icon,\n.close-button {\n /* simulate the line-height of the text\n to make the icon look correctly aligned with it. */\n display: flex;\n height: 20px;\n align-items: center;\n}\n\n:host([type=\"success\"]) .status-icon {\n fill: var(--color-default-success);\n}\n\n:host([type=\"warning\"]) .status-icon {\n fill: var(--color-default-warning);\n}\n\n:host([type=\"error\"]) .status-icon {\n fill: var(--color-default-error);\n}\n\n:host > button,\n.content-container > button {\n padding: 0;\n border: none;\n margin: 0;\n background: transparent;\n cursor: pointer;\n font-family: inherit;\n}\n\n.status-icon + .content-container {\n margin-left: var(--space-unit);\n}\n\n.content-container {\n display: flex;\n flex: 1 auto;\n flex-wrap: wrap;\n align-items: baseline;\n justify-content: space-between;\n row-gap: calc(var(--space-unit) * 2);\n}\n\n.content-text {\n max-width: 800px;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 20px;\n}\n\n.action-button {\n color: var(--color-primary01);\n font-size: var(--font-size-1);\n font-weight: var(--font-sb);\n letter-spacing: 0.32px;\n line-height: 16px;\n}\n\n.action-button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n.content-container + .close-button {\n margin-left: calc(var(--space-unit) * 2);\n}\n\n.close-button z-icon {\n fill: var(--color-primary01);\n}\n\n/* Tablet breakpoint */\n@media only screen and (min-width: 768px) {\n .content-container {\n flex-wrap: nowrap;\n }\n\n .content-text + .action-button {\n margin-left: calc(var(--space-unit) * 5);\n }\n}\n","import {Component, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {NotificationType} from \"../../beans\";\n\n/**\n * Notification bar component.\n * @slot - The text of the notification.\n * @cssprop --z-notification--top-offset - The top offset of the notification. Use it when `sticky` prop is set to `true` and you need the notification to stay under other sticky elements. Default: 0px.\n */\n@Component({\n tag: \"z-notification\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZNotification {\n /** Name of the icon on the left of the content */\n @Prop()\n contenticonname?: string;\n\n /** Action button text */\n @Prop()\n actiontext?: string;\n\n /** Alert variant type */\n @Prop({reflect: true})\n type: NotificationType;\n\n /** Enable close icon */\n @Prop()\n showclose?: boolean = false;\n\n /**\n * Enable shadow.\n * @deprecated shadow is available only for the `sticky` version of the notification.\n */\n @Prop({reflect: true})\n showshadow?: boolean = false;\n\n /** Enable sticky notification bar. */\n @Prop({reflect: true})\n sticky?: boolean = false;\n\n /** Call to action clicked */\n @Event()\n notificationAction: EventEmitter;\n\n private handleActionButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationAction.emit();\n }\n\n /** Close button clicked */\n @Event()\n notificationClose: EventEmitter;\n\n private handleCloseButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationClose.emit();\n }\n\n constructor() {\n this.handleActionButtonClick = this.handleActionButtonClick.bind(this);\n this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);\n }\n\n render(): HTMLZNotificationElement {\n return (\n <Host>\n {this.contenticonname && (\n <z-icon\n class=\"status-icon\"\n name={this.contenticonname}\n width={16}\n height={16}\n />\n )}\n <div class=\"content-container\">\n <div class=\"content-text\">\n <slot></slot>\n </div>\n {!!this.actiontext?.trim() && (\n <button\n class=\"action-button\"\n type=\"button\"\n onClick={this.handleActionButtonClick}\n >\n {this.actiontext}\n </button>\n )}\n </div>\n {this.showclose && (\n <button\n class=\"close-button\"\n type=\"button\"\n onClick={this.handleCloseButtonClick}\n >\n <z-icon\n name=\"multiply-circle\"\n width={16}\n height={16}\n />\n </button>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAY,0zDAClB,MAAAC,EAAeD,E,MCYFE,EAAa,MAgChB,uBAAAC,CAAwBC,GAC9BA,EAAEC,iBACFC,KAAKC,mBAAmBC,M,CAOlB,sBAAAC,CAAuBL,GAC7BA,EAAEC,iBACFC,KAAKI,kBAAkBF,M,CAGzB,WAAAG,CAAAC,G,kNA/BsB,M,gBAOC,M,YAIJ,MAqBjBN,KAAKH,wBAA0BG,KAAKH,wBAAwBU,KAAKP,MACjEA,KAAKG,uBAAyBH,KAAKG,uBAAuBI,KAAKP,K,CAGjE,MAAAQ,G,MACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACFX,KAAKY,iBACJH,EAAA,UAAAE,IAAA,2CACEE,MAAM,cACNC,KAAMd,KAAKY,gBACXG,MAAO,GACPC,OAAQ,KAGZP,EAAA,OAAAE,IAAA,2CAAKE,MAAM,qBACTJ,EAAA,OAAAE,IAAA,2CAAKE,MAAM,gBACTJ,EAAA,QAAAE,IAAA,kDAECM,EAAAjB,KAAKkB,cAAU,MAAAD,SAAA,SAAAA,EAAEE,SAClBV,EAAA,UAAAE,IAAA,2CACEE,MAAM,gBACNO,KAAK,SACLC,QAASrB,KAAKH,yBAEbG,KAAKkB,aAIXlB,KAAKsB,WACJb,EAAA,UAAAE,IAAA,2CACEE,MAAM,eACNO,KAAK,SACLC,QAASrB,KAAKG,wBAEdM,EAAA,UAAAE,IAAA,2CACEG,KAAK,kBACLC,MAAO,GACPC,OAAQ,M","ignoreList":[]}
1
+ {"version":3,"names":["stylesCss","ZNotificationStyle0","ZNotification","handleActionButtonClick","e","preventDefault","this","notificationAction","emit","handleCloseButtonClick","notificationClose","constructor","hostRef","bind","render","h","Host","key","contenticonname","class","name","width","height","_a","actiontext","trim","type","onClick","showclose"],"sources":["src/components/z-notification/styles.css?tag=z-notification&encapsulation=shadow","src/components/z-notification/index.tsx"],"sourcesContent":[":host {\n --z-notification--top-offset: 0;\n\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: flex-start;\n padding: calc(var(--space-unit) * 2);\n border-bottom: var(--border-size-medium) solid var(--color-surface03);\n font-family: var(--font-family-sans);\n outline: none;\n}\n\n:host([sticky]) {\n position: sticky;\n top: var(--z-notification--top-offset);\n}\n\n:host([sticky]),\n:host([showshadow]) {\n box-shadow: var(--shadow-3);\n}\n\n:host([type=\"success\"]) {\n background: var(--color-inverse-success);\n}\n\n:host([type=\"warning\"]) {\n background: var(--color-inverse-warning);\n}\n\n:host([type=\"error\"]) {\n background: var(--color-inverse-error);\n}\n\n.status-icon,\n.close-button {\n /* simulate the line-height of the text\n to make the icon look correctly aligned with it. */\n display: flex;\n height: 20px;\n align-items: center;\n}\n\n:host([type=\"success\"]) .status-icon {\n fill: var(--color-default-success);\n}\n\n:host([type=\"warning\"]) .status-icon {\n fill: var(--color-default-warning);\n}\n\n:host([type=\"error\"]) .status-icon {\n fill: var(--color-default-error);\n}\n\n:host > button,\n.content-container > button {\n padding: 0;\n border: none;\n margin: 0;\n background: transparent;\n cursor: pointer;\n font-family: inherit;\n}\n\n.status-icon + .content-container {\n margin-left: var(--space-unit);\n}\n\n.content-container {\n display: flex;\n flex: 1 auto;\n flex-wrap: wrap;\n align-items: baseline;\n justify-content: space-between;\n row-gap: calc(var(--space-unit) * 2);\n}\n\n.content-text {\n max-width: 800px;\n color: var(--color-default-text);\n font-size: var(--font-size-2);\n font-weight: var(--font-rg);\n letter-spacing: 0.16px;\n line-height: 20px;\n}\n\n.action-button {\n color: var(--color-primary01);\n font-size: var(--font-size-1);\n font-weight: var(--font-sb);\n letter-spacing: 0.32px;\n line-height: 16px;\n}\n\n.action-button:focus {\n box-shadow: var(--shadow-focus-primary);\n outline: none !important;\n}\n\n.content-container + .close-button {\n margin-left: calc(var(--space-unit) * 2);\n}\n\n.close-button z-icon {\n fill: var(--color-primary01);\n}\n\n/* Tablet breakpoint */\n@media only screen and (min-width: 768px) {\n .content-container {\n flex-wrap: nowrap;\n }\n\n .content-text + .action-button {\n margin-left: calc(var(--space-unit) * 5);\n }\n}\n","import {Component, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {NotificationType} from \"../../beans\";\n\n/**\n * Notification bar component.\n * @slot - The text of the notification.\n * @cssprop --z-notification--top-offset - The top offset of the notification. Use it when `sticky` prop is set to `true` and you need the notification to stay under other sticky elements. Default: 0px.\n */\n@Component({\n tag: \"z-notification\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZNotification {\n /** Name of the icon on the left of the content */\n @Prop()\n contenticonname?: string;\n\n /** Action button text */\n @Prop()\n actiontext?: string;\n\n /** Alert variant type */\n @Prop({reflect: true})\n type: NotificationType;\n\n /** Enable close icon */\n @Prop()\n showclose?: boolean = false;\n\n /**\n * Enable shadow.\n * @deprecated shadow is available only for the `sticky` version of the notification.\n */\n @Prop({reflect: true})\n showshadow?: boolean = false;\n\n /** Enable sticky notification bar. */\n @Prop({reflect: true})\n sticky?: boolean = false;\n\n /** Call to action clicked */\n @Event()\n notificationAction: EventEmitter;\n\n private handleActionButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationAction.emit();\n }\n\n /** Close button clicked */\n @Event()\n notificationClose: EventEmitter;\n\n private handleCloseButtonClick(e: MouseEvent): void {\n e.preventDefault();\n this.notificationClose.emit();\n }\n\n constructor() {\n this.handleActionButtonClick = this.handleActionButtonClick.bind(this);\n this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);\n }\n\n render(): HTMLZNotificationElement {\n return (\n <Host>\n {this.contenticonname && (\n <z-icon\n class=\"status-icon\"\n name={this.contenticonname}\n width={16}\n height={16}\n />\n )}\n <div class=\"content-container\">\n <div class=\"content-text\">\n <slot></slot>\n </div>\n {!!this.actiontext?.trim() && (\n <button\n class=\"action-button\"\n type=\"button\"\n onClick={this.handleActionButtonClick}\n >\n {this.actiontext}\n </button>\n )}\n </div>\n {this.showclose && (\n <button\n class=\"close-button\"\n type=\"button\"\n onClick={this.handleCloseButtonClick}\n >\n <z-icon\n name=\"multiply-circle\"\n width={16}\n height={16}\n />\n </button>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"oDAAA,MAAMA,EAAY,0zDAClB,MAAAC,EAAeD,E,MCYFE,EAAa,MAgChB,uBAAAC,CAAwBC,GAC9BA,EAAEC,iBACFC,KAAKC,mBAAmBC,M,CAOlB,sBAAAC,CAAuBL,GAC7BA,EAAEC,iBACFC,KAAKI,kBAAkBF,M,CAGzB,WAAAG,CAAAC,G,kNA/BsB,M,gBAOC,M,YAIJ,MAqBjBN,KAAKH,wBAA0BG,KAAKH,wBAAwBU,KAAKP,MACjEA,KAAKG,uBAAyBH,KAAKG,uBAAuBI,KAAKP,K,CAGjE,MAAAQ,G,MACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACFX,KAAKY,iBACJH,EAAA,UAAAE,IAAA,2CACEE,MAAM,cACNC,KAAMd,KAAKY,gBACXG,MAAO,GACPC,OAAQ,KAGZP,EAAA,OAAAE,IAAA,2CAAKE,MAAM,qBACTJ,EAAA,OAAAE,IAAA,2CAAKE,MAAM,gBACTJ,EAAA,QAAAE,IAAA,kDAECM,EAAAjB,KAAKkB,cAAU,MAAAD,SAAA,SAAAA,EAAEE,SAClBV,EAAA,UAAAE,IAAA,2CACEE,MAAM,gBACNO,KAAK,SACLC,QAASrB,KAAKH,yBAEbG,KAAKkB,aAIXlB,KAAKsB,WACJb,EAAA,UAAAE,IAAA,2CACEE,MAAM,eACNO,KAAK,SACLC,QAASrB,KAAKG,wBAEdM,EAAA,UAAAE,IAAA,2CACEG,KAAK,kBACLC,MAAO,GACPC,OAAQ,M","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,a as s}from"./p-75c4a726.js";import{A as i}from"./p-86618221.js";const a=":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--gray700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";const r=a;const o=class{constructor(e){t(this,e);var s,a;this.size=i.MEDIUM;this.text=undefined;this.textColor="color-white";this.backgroundColor="gray700";this.image=undefined;if(((s=this.text)===null||s===void 0?void 0:s.length)===0&&((a=this.image)===null||a===void 0?void 0:a.length)===0){console.warn("z-avatar must contain at least one prop between text and image")}}getTextSize(){if(this.size===i.SMALL){return"5"}else if(this.size===i.MEDIUM){return"4"}else if(this.size===i.LARGE){return"2"}}render(){return e(s,{key:"dc2adbb87d2c5f77e364434c7567612e0ad2328d",class:{[this.size]:true,[`body-${this.getTextSize()}-sb`]:true},style:{color:`var(--${this.textColor})`,backgroundColor:`var(--${this.backgroundColor})`}},this.text&&!this.image&&e("span",{key:"3fe07d541e5afe7116066e8e18bdaa844d06b170"},this.text.substring(0,2)),this.image&&e("img",{key:"8e4154861822c5811f8dbe561f9ae01b88d5329e",src:this.image,onError:()=>this.image=""}))}};o.style=r;export{o as z_avatar};
2
- //# sourceMappingURL=p-c0b4f29d.entry.js.map
1
+ import{r as t,h as s,a as i}from"./p-75c4a726.js";import{A as e}from"./p-86618221.js";const a=":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--gray700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";const r=a;const c=class{constructor(s){t(this,s);var i,a;this.size=e.MEDIUM;this.text=undefined;this.textColor="color-white";this.backgroundColor="gray700";this.image=undefined;if(((i=this.text)===null||i===void 0?void 0:i.length)===0&&((a=this.image)===null||a===void 0?void 0:a.length)===0){console.warn("z-avatar must contain at least one prop between text and image")}}getTextSize(){if(this.size===e.SMALL){return"5"}else if(this.size===e.MEDIUM){return"4"}else if(this.size===e.LARGE){return"2"}}render(){return s(i,{key:"8ce8c6ffe56b55036f9f47146041fcb91051ad36",class:{[this.size]:true,[`body-${this.getTextSize()}-sb`]:true},style:{color:`var(--${this.textColor})`,backgroundColor:`var(--${this.backgroundColor})`}},this.text&&!this.image&&s("span",{key:"b989378860518c05074dcf3cf445df062679f3c1"},this.text.substring(0,2)),this.image&&s("img",{key:"56a3a248fe3f88b2ed285f6a7c133b542ca21940",src:this.image,onError:()=>this.image=""}))}};c.style=r;export{c as z_avatar};
2
+ //# sourceMappingURL=p-c9b81cab.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,c,h,g as e}from"./p-75c4a726.js";import{w as r}from"./p-86618221.js";const a=".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:14px;color:var(--color-default-text);fill:var(--color-default-icon);font-family:var(--font-family-sans);font-size:14px;line-height:28px}.sc-z-chip-h>.z-chip-interactive.sc-z-chip{font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip{padding:0;border:none;margin-left:var(--space-unit);background-color:transparent;cursor:pointer}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip:first-child{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) .interactive-icon.sc-z-chip:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip z-icon.sc-z-chip{color:var(--color-disabled03);cursor:auto;fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip:focus:focus-visible{border-radius:100%;box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not([disabled]):active:hover .interactive-icon.sc-z-chip{color:var(--color-primary01);fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:22px;--z-icon-height:22px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:14px;--z-icon-height:14px}}";const s=a;const o=class{constructor(h){i(this,h);this.interactiveIconClick=c(this,"interactiveIconClick",7);this.icon=undefined;this.type=r.DEFAULT;this.interactiveIcon=undefined;this.disabled=false;this.ariaLabel=""}render(){return h("div",{key:"f696700f7e7634093acb40080f72f9261f3aae36",class:{"z-chip-container":true,"z-chip-interactive":!!this.interactiveIcon,[this.type]:true},"aria-disabled":this.disabled},this.icon&&h("z-icon",{key:"549bec3f429ffaf44eb3fe285b57b45bfd67f3ee",name:this.icon}),h("slot",{key:"ae32cb0af653344dfce38449f55eea24772792ed"}),this.interactiveIcon&&h("button",{key:"0d6daafae8c1580d3107050b4e964f89ccbb3475",type:"button",onClick:()=>this.interactiveIconClick.emit(),"aria-label":this.ariaLabel,disabled:this.disabled},h("z-icon",{key:"db816882f84afbfa35d44ec47aeefe7f3a4ad254",class:"interactive-icon",name:this.interactiveIcon})))}get el(){return e(this)}};o.style=s;export{o as z_chip};
2
- //# sourceMappingURL=p-2f45f1ff.entry.js.map
1
+ import{r as i,c,h,g as e}from"./p-75c4a726.js";import{w as r}from"./p-86618221.js";const a=".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:14px;color:var(--color-default-text);fill:var(--color-default-icon);font-family:var(--font-family-sans);font-size:14px;line-height:28px}.sc-z-chip-h>.z-chip-interactive.sc-z-chip{font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip{padding:0;border:none;margin-left:var(--space-unit);background-color:transparent;cursor:pointer}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip:first-child{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) .interactive-icon.sc-z-chip:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip z-icon.sc-z-chip{color:var(--color-disabled03);cursor:auto;fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip:focus:focus-visible{border-radius:100%;box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not([disabled]):active:hover .interactive-icon.sc-z-chip{color:var(--color-primary01);fill:var(--color-primary01-icon)}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:22px;--z-icon-height:22px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:14px;--z-icon-height:14px}}";const s=a;const o=class{constructor(h){i(this,h);this.interactiveIconClick=c(this,"interactiveIconClick",7);this.icon=undefined;this.type=r.DEFAULT;this.interactiveIcon=undefined;this.disabled=false;this.ariaLabel=""}render(){return h("div",{key:"7dd8f9f2d4c632559d1e9b3b04e2d139d3cdd1ce",class:{"z-chip-container":true,"z-chip-interactive":!!this.interactiveIcon,[this.type]:true},"aria-disabled":this.disabled},this.icon&&h("z-icon",{key:"af4721aa7ef2e3c8381685bb2eadd19a35effc81",name:this.icon}),h("slot",{key:"521b4fc72980f48dec8ee49c6fc3c06df3c9bf9a"}),this.interactiveIcon&&h("button",{key:"15cb6244073a9402ee3cb147f74cf3763b2a02cd",type:"button",onClick:()=>this.interactiveIconClick.emit(),"aria-label":this.ariaLabel,disabled:this.disabled},h("z-icon",{key:"a7c434efafd9891a5262dffa24136724acc0f791",class:"interactive-icon",name:this.interactiveIcon})))}get el(){return e(this)}};o.style=s;export{o as z_chip};
2
+ //# sourceMappingURL=p-cbc09112.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as a,h as r,a as t}from"./p-75c4a726.js";import{t as e}from"./p-86618221.js";const s=class{constructor(r){a(this,r);this.mode=e.POLITE}render(){return r(t,{key:"507fd85bea3bc6cdfa0915afaf57866e29cc36e3","aria-live":this.mode,"aria-atomic":"true","aria-relevant":"additions"},r("slot",{key:"b28a7129f907a00beb9e5aa186f2960d7d6c4d1d"}))}};export{s as z_aria_alert};
2
+ //# sourceMappingURL=p-da3abb97.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["ZAriaAlert","ZAriaAlertMode","POLITE","render","h","Host","key","this","mode"],"sources":["src/components/z-aria-alert/index.tsx"],"sourcesContent":["import {Component, Host, Prop, h} from \"@stencil/core\";\nimport {ZAriaAlertMode} from \"../../beans\";\n\n@Component({\n tag: \"z-aria-alert\",\n shadow: false,\n})\nexport class ZAriaAlert {\n /** Aria live mode */\n @Prop()\n mode: ZAriaAlertMode = ZAriaAlertMode.POLITE;\n\n render(): HTMLZAriaAlertElement {\n return (\n <Host\n aria-live={this.mode}\n aria-atomic=\"true\"\n aria-relevant=\"additions\"\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"uFAOaA,EAAU,M,mCAGEC,EAAeC,M,CAEtC,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,uDACQC,KAAKC,KAAI,cACR,OAAM,gBACJ,aAEdJ,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
1
+ {"version":3,"names":["ZAriaAlert","ZAriaAlertMode","POLITE","render","h","Host","key","this","mode"],"sources":["src/components/z-aria-alert/index.tsx"],"sourcesContent":["import {Component, Host, Prop, h} from \"@stencil/core\";\nimport {ZAriaAlertMode} from \"../../beans\";\n\n@Component({\n tag: \"z-aria-alert\",\n shadow: false,\n})\nexport class ZAriaAlert {\n /** Aria live mode */\n @Prop()\n mode: ZAriaAlertMode = ZAriaAlertMode.POLITE;\n\n render(): HTMLZAriaAlertElement {\n return (\n <Host\n aria-live={this.mode}\n aria-atomic=\"true\"\n aria-relevant=\"additions\"\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"4FAOaA,EAAU,M,mCAGEC,EAAeC,M,CAEtC,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,uDACQC,KAAKC,KAAI,cACR,OAAM,gBACJ,aAEdJ,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -1,8 +1,8 @@
1
- import{r as t,c as e,h as i,a as n,g as r}from"./p-75c4a726.js";import{r as s,g as o}from"./p-86618221.js";import{c as a}from"./p-4573c419.js";var l={exports:{}};
2
- /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */(function(t,e){(function(e,i){t.exports=i()})(a,(function(){const{entries:t,setPrototypeOf:e,isFrozen:i,getPrototypeOf:n,getOwnPropertyDescriptor:r}=Object;let{freeze:s,seal:o,create:a}=Object;let{apply:l,construct:c}=typeof Reflect!=="undefined"&&Reflect;if(!s){s=function t(e){return e}}if(!o){o=function t(e){return e}}if(!l){l=function t(e,i,n){return e.apply(i,n)}}if(!c){c=function t(e,i){return new e(...i)}}const u=A(Array.prototype.forEach);const f=A(Array.prototype.lastIndexOf);const h=A(Array.prototype.pop);const d=A(Array.prototype.push);const p=A(Array.prototype.splice);const m=A(String.prototype.toLowerCase);const v=A(String.prototype.toString);const g=A(String.prototype.match);const y=A(String.prototype.replace);const w=A(String.prototype.indexOf);const b=A(String.prototype.trim);const x=A(Object.prototype.hasOwnProperty);const T=A(RegExp.prototype.test);const E=k(TypeError);function A(t){return function(e){if(e instanceof RegExp){e.lastIndex=0}for(var i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++){n[r-1]=arguments[r]}return l(t,e,n)}}function k(t){return function(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++){i[n]=arguments[n]}return c(t,i)}}function S(t,n){let r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:m;if(e){e(t,null)}let s=n.length;while(s--){let e=n[s];if(typeof e==="string"){const t=r(e);if(t!==e){if(!i(n)){n[s]=t}e=t}}t[e]=true}return t}function R(t){for(let e=0;e<t.length;e++){const i=x(t,e);if(!i){t[e]=null}}return t}function _(e){const i=a(null);for(const[n,r]of t(e)){const t=x(e,n);if(t){if(Array.isArray(r)){i[n]=R(r)}else if(r&&typeof r==="object"&&r.constructor===Object){i[n]=_(r)}else{i[n]=r}}}return i}function I(t,e){while(t!==null){const i=r(t,e);if(i){if(i.get){return A(i.get)}if(typeof i.value==="function"){return A(i.value)}}t=n(t)}function i(){return null}return i}const D=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);const M=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);const z=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);const O=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);const P=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);const C=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);const N=s(["#text"]);const L=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]);const F=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);const j=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);const U=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);const W=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm);const X=o(/<%[\w\W]*|[\w\W]*%>/gm);const B=o(/\$\{[\w\W]*/gm);const H=o(/^data-[\-\w.\u00B7-\uFFFF]+$/);const Y=o(/^aria-[\-\w]+$/);const q=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);const $=o(/^(?:\w+script|data):/i);const G=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);const V=o(/^html$/i);const Z=o(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:G,CUSTOM_ELEMENT:Z,DATA_ATTR:H,DOCTYPE_NAME:V,ERB_EXPR:X,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,MUSTACHE_EXPR:W,TMPLIT_EXPR:B});const J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12};const Q=function t(){return typeof window==="undefined"?null:window};const tt=function t(e,i){if(typeof e!=="object"||typeof e.createPolicy!=="function"){return null}let n=null;const r="data-tt-policy-suffix";if(i&&i.hasAttribute(r)){n=i.getAttribute(r)}const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML(t){return t},createScriptURL(t){return t}})}catch(t){console.warn("TrustedTypes policy "+s+" could not be created.");return null}};const et=function t(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function it(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:Q();const i=t=>it(t);i.version="3.2.6";i.removed=[];if(!e||!e.document||e.document.nodeType!==J.document||!e.Element){i.isSupported=false;return i}let{document:n}=e;const r=n;const o=r.currentScript;const{DocumentFragment:l,HTMLTemplateElement:c,Node:A,Element:k,NodeFilter:R,NamedNodeMap:W=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:X,DOMParser:B,trustedTypes:H}=e;const Y=k.prototype;const $=I(Y,"cloneNode");const G=I(Y,"remove");const Z=I(Y,"nextSibling");const nt=I(Y,"childNodes");const rt=I(Y,"parentNode");if(typeof c==="function"){const t=n.createElement("template");if(t.content&&t.content.ownerDocument){n=t.content.ownerDocument}}let st;let ot="";const{implementation:at,createNodeIterator:lt,createDocumentFragment:ct,getElementsByTagName:ut}=n;const{importNode:ft}=r;let ht=et();i.isSupported=typeof t==="function"&&typeof rt==="function"&&at&&at.createHTMLDocument!==undefined;const{MUSTACHE_EXPR:dt,ERB_EXPR:pt,TMPLIT_EXPR:mt,DATA_ATTR:vt,ARIA_ATTR:gt,IS_SCRIPT_OR_DATA:yt,ATTR_WHITESPACE:wt,CUSTOM_ELEMENT:bt}=K;let{IS_ALLOWED_URI:xt}=K;let Tt=null;const Et=S({},[...D,...M,...z,...P,...N]);let At=null;const kt=S({},[...L,...F,...j,...U]);let St=Object.seal(a(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));let Rt=null;let _t=null;let It=true;let Dt=true;let Mt=false;let zt=true;let Ot=false;let Pt=true;let Ct=false;let Nt=false;let Lt=false;let Ft=false;let jt=false;let Ut=false;let Wt=true;let Xt=false;const Bt="user-content-";let Ht=true;let Yt=false;let qt={};let $t=null;const Gt=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Vt=null;const Zt=S({},["audio","video","img","source","image","track"]);let Kt=null;const Jt=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);const Qt="http://www.w3.org/1998/Math/MathML";const te="http://www.w3.org/2000/svg";const ee="http://www.w3.org/1999/xhtml";let ie=ee;let ne=false;let re=null;const se=S({},[Qt,te,ee],v);let oe=S({},["mi","mo","mn","ms","mtext"]);let ae=S({},["annotation-xml"]);const le=S({},["title","style","font","a","script"]);let ce=null;const ue=["application/xhtml+xml","text/html"];const fe="text/html";let he=null;let de=null;const pe=n.createElement("form");const me=function t(e){return e instanceof RegExp||e instanceof Function};const ve=function t(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(de&&de===e){return}if(!e||typeof e!=="object"){e={}}e=_(e);ce=ue.indexOf(e.PARSER_MEDIA_TYPE)===-1?fe:e.PARSER_MEDIA_TYPE;he=ce==="application/xhtml+xml"?v:m;Tt=x(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,he):Et;At=x(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,he):kt;re=x(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,v):se;Kt=x(e,"ADD_URI_SAFE_ATTR")?S(_(Jt),e.ADD_URI_SAFE_ATTR,he):Jt;Vt=x(e,"ADD_DATA_URI_TAGS")?S(_(Zt),e.ADD_DATA_URI_TAGS,he):Zt;$t=x(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,he):Gt;Rt=x(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,he):_({});_t=x(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,he):_({});qt=x(e,"USE_PROFILES")?e.USE_PROFILES:false;It=e.ALLOW_ARIA_ATTR!==false;Dt=e.ALLOW_DATA_ATTR!==false;Mt=e.ALLOW_UNKNOWN_PROTOCOLS||false;zt=e.ALLOW_SELF_CLOSE_IN_ATTR!==false;Ot=e.SAFE_FOR_TEMPLATES||false;Pt=e.SAFE_FOR_XML!==false;Ct=e.WHOLE_DOCUMENT||false;Ft=e.RETURN_DOM||false;jt=e.RETURN_DOM_FRAGMENT||false;Ut=e.RETURN_TRUSTED_TYPE||false;Lt=e.FORCE_BODY||false;Wt=e.SANITIZE_DOM!==false;Xt=e.SANITIZE_NAMED_PROPS||false;Ht=e.KEEP_CONTENT!==false;Yt=e.IN_PLACE||false;xt=e.ALLOWED_URI_REGEXP||q;ie=e.NAMESPACE||ee;oe=e.MATHML_TEXT_INTEGRATION_POINTS||oe;ae=e.HTML_INTEGRATION_POINTS||ae;St=e.CUSTOM_ELEMENT_HANDLING||{};if(e.CUSTOM_ELEMENT_HANDLING&&me(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)){St.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&me(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)){St.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==="boolean"){St.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements}if(Ot){Dt=false}if(jt){Ft=true}if(qt){Tt=S({},N);At=[];if(qt.html===true){S(Tt,D);S(At,L)}if(qt.svg===true){S(Tt,M);S(At,F);S(At,U)}if(qt.svgFilters===true){S(Tt,z);S(At,F);S(At,U)}if(qt.mathMl===true){S(Tt,P);S(At,j);S(At,U)}}if(e.ADD_TAGS){if(Tt===Et){Tt=_(Tt)}S(Tt,e.ADD_TAGS,he)}if(e.ADD_ATTR){if(At===kt){At=_(At)}S(At,e.ADD_ATTR,he)}if(e.ADD_URI_SAFE_ATTR){S(Kt,e.ADD_URI_SAFE_ATTR,he)}if(e.FORBID_CONTENTS){if($t===Gt){$t=_($t)}S($t,e.FORBID_CONTENTS,he)}if(Ht){Tt["#text"]=true}if(Ct){S(Tt,["html","head","body"])}if(Tt.table){S(Tt,["tbody"]);delete Rt.tbody}if(e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=="function"){throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')}if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=="function"){throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')}st=e.TRUSTED_TYPES_POLICY;ot=st.createHTML("")}else{if(st===undefined){st=tt(H,o)}if(st!==null&&typeof ot==="string"){ot=st.createHTML("")}}if(s){s(e)}de=e};const ge=S({},[...M,...z,...O]);const ye=S({},[...P,...C]);const we=function t(e){let i=rt(e);if(!i||!i.tagName){i={namespaceURI:ie,tagName:"template"}}const n=m(e.tagName);const r=m(i.tagName);if(!re[e.namespaceURI]){return false}if(e.namespaceURI===te){if(i.namespaceURI===ee){return n==="svg"}if(i.namespaceURI===Qt){return n==="svg"&&(r==="annotation-xml"||oe[r])}return Boolean(ge[n])}if(e.namespaceURI===Qt){if(i.namespaceURI===ee){return n==="math"}if(i.namespaceURI===te){return n==="math"&&ae[r]}return Boolean(ye[n])}if(e.namespaceURI===ee){if(i.namespaceURI===te&&!ae[r]){return false}if(i.namespaceURI===Qt&&!oe[r]){return false}return!ye[n]&&(le[n]||!ge[n])}if(ce==="application/xhtml+xml"&&re[e.namespaceURI]){return true}return false};const be=function t(e){d(i.removed,{element:e});try{rt(e).removeChild(e)}catch(t){G(e)}};const xe=function t(e,n){try{d(i.removed,{attribute:n.getAttributeNode(e),from:n})}catch(t){d(i.removed,{attribute:null,from:n})}n.removeAttribute(e);if(e==="is"){if(Ft||jt){try{be(n)}catch(t){}}else{try{n.setAttribute(e,"")}catch(t){}}}};const Te=function t(e){let i=null;let r=null;if(Lt){e="<remove></remove>"+e}else{const t=g(e,/^[\r\n\t ]+/);r=t&&t[0]}if(ce==="application/xhtml+xml"&&ie===ee){e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>"}const s=st?st.createHTML(e):e;if(ie===ee){try{i=(new B).parseFromString(s,ce)}catch(t){}}if(!i||!i.documentElement){i=at.createDocument(ie,"template",null);try{i.documentElement.innerHTML=ne?ot:s}catch(t){}}const o=i.body||i.documentElement;if(e&&r){o.insertBefore(n.createTextNode(r),o.childNodes[0]||null)}if(ie===ee){return ut.call(i,Ct?"html":"body")[0]}return Ct?i.documentElement:o};const Ee=function t(e){return lt.call(e.ownerDocument||e,e,R.SHOW_ELEMENT|R.SHOW_COMMENT|R.SHOW_TEXT|R.SHOW_PROCESSING_INSTRUCTION|R.SHOW_CDATA_SECTION,null)};const Ae=function t(e){return e instanceof X&&(typeof e.nodeName!=="string"||typeof e.textContent!=="string"||typeof e.removeChild!=="function"||!(e.attributes instanceof W)||typeof e.removeAttribute!=="function"||typeof e.setAttribute!=="function"||typeof e.namespaceURI!=="string"||typeof e.insertBefore!=="function"||typeof e.hasChildNodes!=="function")};const ke=function t(e){return typeof A==="function"&&e instanceof A};function Se(t,e,n){u(t,(t=>{t.call(i,e,n,de)}))}const Re=function t(e){let n=null;Se(ht.beforeSanitizeElements,e,null);if(Ae(e)){be(e);return true}const r=he(e.nodeName);Se(ht.uponSanitizeElement,e,{tagName:r,allowedTags:Tt});if(Pt&&e.hasChildNodes()&&!ke(e.firstElementChild)&&T(/<[/\w!]/g,e.innerHTML)&&T(/<[/\w!]/g,e.textContent)){be(e);return true}if(e.nodeType===J.progressingInstruction){be(e);return true}if(Pt&&e.nodeType===J.comment&&T(/<[/\w]/g,e.data)){be(e);return true}if(!Tt[r]||Rt[r]){if(!Rt[r]&&Ie(r)){if(St.tagNameCheck instanceof RegExp&&T(St.tagNameCheck,r)){return false}if(St.tagNameCheck instanceof Function&&St.tagNameCheck(r)){return false}}if(Ht&&!$t[r]){const t=rt(e)||e.parentNode;const i=nt(e)||e.childNodes;if(i&&t){const n=i.length;for(let r=n-1;r>=0;--r){const n=$(i[r],true);n.__removalCount=(e.__removalCount||0)+1;t.insertBefore(n,Z(e))}}}be(e);return true}if(e instanceof k&&!we(e)){be(e);return true}if((r==="noscript"||r==="noembed"||r==="noframes")&&T(/<\/no(script|embed|frames)/i,e.innerHTML)){be(e);return true}if(Ot&&e.nodeType===J.text){n=e.textContent;u([dt,pt,mt],(t=>{n=y(n,t," ")}));if(e.textContent!==n){d(i.removed,{element:e.cloneNode()});e.textContent=n}}Se(ht.afterSanitizeElements,e,null);return false};const _e=function t(e,i,r){if(Wt&&(i==="id"||i==="name")&&(r in n||r in pe)){return false}if(Dt&&!_t[i]&&T(vt,i));else if(It&&T(gt,i));else if(!At[i]||_t[i]){if(Ie(e)&&(St.tagNameCheck instanceof RegExp&&T(St.tagNameCheck,e)||St.tagNameCheck instanceof Function&&St.tagNameCheck(e))&&(St.attributeNameCheck instanceof RegExp&&T(St.attributeNameCheck,i)||St.attributeNameCheck instanceof Function&&St.attributeNameCheck(i))||i==="is"&&St.allowCustomizedBuiltInElements&&(St.tagNameCheck instanceof RegExp&&T(St.tagNameCheck,r)||St.tagNameCheck instanceof Function&&St.tagNameCheck(r)));else{return false}}else if(Kt[i]);else if(T(xt,y(r,wt,"")));else if((i==="src"||i==="xlink:href"||i==="href")&&e!=="script"&&w(r,"data:")===0&&Vt[e]);else if(Mt&&!T(yt,y(r,wt,"")));else if(r){return false}else;return true};const Ie=function t(e){return e!=="annotation-xml"&&g(e,bt)};const De=function t(e){Se(ht.beforeSanitizeAttributes,e,null);const{attributes:n}=e;if(!n||Ae(e)){return}const r={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:At,forceKeepAttr:undefined};let s=n.length;while(s--){const t=n[s];const{name:o,namespaceURI:a,value:l}=t;const c=he(o);const f=l;let d=o==="value"?f:b(f);r.attrName=c;r.attrValue=d;r.keepAttr=true;r.forceKeepAttr=undefined;Se(ht.uponSanitizeAttribute,e,r);d=r.attrValue;if(Xt&&(c==="id"||c==="name")){xe(o,e);d=Bt+d}if(Pt&&T(/((--!?|])>)|<\/(style|title)/i,d)){xe(o,e);continue}if(r.forceKeepAttr){continue}if(!r.keepAttr){xe(o,e);continue}if(!zt&&T(/\/>/i,d)){xe(o,e);continue}if(Ot){u([dt,pt,mt],(t=>{d=y(d,t," ")}))}const p=he(e.nodeName);if(!_e(p,c,d)){xe(o,e);continue}if(st&&typeof H==="object"&&typeof H.getAttributeType==="function"){if(a);else{switch(H.getAttributeType(p,c)){case"TrustedHTML":{d=st.createHTML(d);break}case"TrustedScriptURL":{d=st.createScriptURL(d);break}}}}if(d!==f){try{if(a){e.setAttributeNS(a,o,d)}else{e.setAttribute(o,d)}if(Ae(e)){be(e)}else{h(i.removed)}}catch(t){xe(o,e)}}}Se(ht.afterSanitizeAttributes,e,null)};const Me=function t(e){let i=null;const n=Ee(e);Se(ht.beforeSanitizeShadowDOM,e,null);while(i=n.nextNode()){Se(ht.uponSanitizeShadowNode,i,null);Re(i);De(i);if(i.content instanceof l){t(i.content)}}Se(ht.afterSanitizeShadowDOM,e,null)};i.sanitize=function(t){let e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let n=null;let s=null;let o=null;let a=null;ne=!t;if(ne){t="\x3c!--\x3e"}if(typeof t!=="string"&&!ke(t)){if(typeof t.toString==="function"){t=t.toString();if(typeof t!=="string"){throw E("dirty is not a string, aborting")}}else{throw E("toString is not a function")}}if(!i.isSupported){return t}if(!Nt){ve(e)}i.removed=[];if(typeof t==="string"){Yt=false}if(Yt){if(t.nodeName){const e=he(t.nodeName);if(!Tt[e]||Rt[e]){throw E("root node is forbidden and cannot be sanitized in-place")}}}else if(t instanceof A){n=Te("\x3c!----\x3e");s=n.ownerDocument.importNode(t,true);if(s.nodeType===J.element&&s.nodeName==="BODY"){n=s}else if(s.nodeName==="HTML"){n=s}else{n.appendChild(s)}}else{if(!Ft&&!Ot&&!Ct&&t.indexOf("<")===-1){return st&&Ut?st.createHTML(t):t}n=Te(t);if(!n){return Ft?null:Ut?ot:""}}if(n&&Lt){be(n.firstChild)}const c=Ee(Yt?t:n);while(o=c.nextNode()){Re(o);De(o);if(o.content instanceof l){Me(o.content)}}if(Yt){return t}if(Ft){if(jt){a=ct.call(n.ownerDocument);while(n.firstChild){a.appendChild(n.firstChild)}}else{a=n}if(At.shadowroot||At.shadowrootmode){a=ft.call(r,a,true)}return a}let f=Ct?n.outerHTML:n.innerHTML;if(Ct&&Tt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&T(V,n.ownerDocument.doctype.name)){f="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+f}if(Ot){u([dt,pt,mt],(t=>{f=y(f,t," ")}))}return st&&Ut?st.createHTML(f):f};i.setConfig=function(){let t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};ve(t);Nt=true};i.clearConfig=function(){de=null;Nt=false};i.isValidAttribute=function(t,e,i){if(!de){ve({})}const n=he(t);const r=he(e);return _e(n,r,i)};i.addHook=function(t,e){if(typeof e!=="function"){return}d(ht[t],e)};i.removeHook=function(t,e){if(e!==undefined){const i=f(ht[t],e);return i===-1?undefined:p(ht[t],i,1)[0]}return h(ht[t])};i.removeHooks=function(t){ht[t]=[]};i.removeAllHooks=function(){ht=et()};return i}var nt=it();return nt}))})(l);const c=l.exports;var u={exports:{}};
1
+ import{r as t,c as e,h as i,a as n,g as r}from"./p-75c4a726.js";import{r as s,g as o}from"./p-86618221.js";import{c as a}from"./p-4573c419.js";var c={exports:{}};
2
+ /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */(function(t,e){(function(e,i){t.exports=i()})(a,(function(){const{entries:t,setPrototypeOf:e,isFrozen:i,getPrototypeOf:n,getOwnPropertyDescriptor:r}=Object;let{freeze:s,seal:o,create:a}=Object;let{apply:c,construct:u}=typeof Reflect!=="undefined"&&Reflect;if(!s){s=function t(e){return e}}if(!o){o=function t(e){return e}}if(!c){c=function t(e,i,n){return e.apply(i,n)}}if(!u){u=function t(e,i){return new e(...i)}}const l=k(Array.prototype.forEach);const f=k(Array.prototype.lastIndexOf);const h=k(Array.prototype.pop);const d=k(Array.prototype.push);const p=k(Array.prototype.splice);const m=k(String.prototype.toLowerCase);const v=k(String.prototype.toString);const g=k(String.prototype.match);const y=k(String.prototype.replace);const b=k(String.prototype.indexOf);const w=k(String.prototype.trim);const T=k(Object.prototype.hasOwnProperty);const x=k(RegExp.prototype.test);const E=A(TypeError);function k(t){return function(e){if(e instanceof RegExp){e.lastIndex=0}for(var i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++){n[r-1]=arguments[r]}return c(t,e,n)}}function A(t){return function(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++){i[n]=arguments[n]}return u(t,i)}}function S(t,n){let r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:m;if(e){e(t,null)}let s=n.length;while(s--){let e=n[s];if(typeof e==="string"){const t=r(e);if(t!==e){if(!i(n)){n[s]=t}e=t}}t[e]=true}return t}function R(t){for(let e=0;e<t.length;e++){const i=T(t,e);if(!i){t[e]=null}}return t}function _(e){const i=a(null);for(const[n,r]of t(e)){const t=T(e,n);if(t){if(Array.isArray(r)){i[n]=R(r)}else if(r&&typeof r==="object"&&r.constructor===Object){i[n]=_(r)}else{i[n]=r}}}return i}function I(t,e){while(t!==null){const i=r(t,e);if(i){if(i.get){return k(i.get)}if(typeof i.value==="function"){return k(i.value)}}t=n(t)}function i(){return null}return i}const D=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);const z=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);const M=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);const O=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);const P=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);const C=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);const N=s(["#text"]);const L=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]);const F=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);const j=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);const U=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);const B=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm);const W=o(/<%[\w\W]*|[\w\W]*%>/gm);const X=o(/\$\{[\w\W]*/gm);const H=o(/^data-[\-\w.\u00B7-\uFFFF]+$/);const Y=o(/^aria-[\-\w]+$/);const q=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);const $=o(/^(?:\w+script|data):/i);const G=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);const V=o(/^html$/i);const Z=o(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:G,CUSTOM_ELEMENT:Z,DATA_ATTR:H,DOCTYPE_NAME:V,ERB_EXPR:W,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,MUSTACHE_EXPR:B,TMPLIT_EXPR:X});const J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12};const Q=function t(){return typeof window==="undefined"?null:window};const tt=function t(e,i){if(typeof e!=="object"||typeof e.createPolicy!=="function"){return null}let n=null;const r="data-tt-policy-suffix";if(i&&i.hasAttribute(r)){n=i.getAttribute(r)}const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML(t){return t},createScriptURL(t){return t}})}catch(t){console.warn("TrustedTypes policy "+s+" could not be created.");return null}};const et=function t(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function it(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:Q();const i=t=>it(t);i.version="3.2.6";i.removed=[];if(!e||!e.document||e.document.nodeType!==J.document||!e.Element){i.isSupported=false;return i}let{document:n}=e;const r=n;const o=r.currentScript;const{DocumentFragment:c,HTMLTemplateElement:u,Node:k,Element:A,NodeFilter:R,NamedNodeMap:B=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:W,DOMParser:X,trustedTypes:H}=e;const Y=A.prototype;const $=I(Y,"cloneNode");const G=I(Y,"remove");const Z=I(Y,"nextSibling");const nt=I(Y,"childNodes");const rt=I(Y,"parentNode");if(typeof u==="function"){const t=n.createElement("template");if(t.content&&t.content.ownerDocument){n=t.content.ownerDocument}}let st;let ot="";const{implementation:at,createNodeIterator:ct,createDocumentFragment:ut,getElementsByTagName:lt}=n;const{importNode:ft}=r;let ht=et();i.isSupported=typeof t==="function"&&typeof rt==="function"&&at&&at.createHTMLDocument!==undefined;const{MUSTACHE_EXPR:dt,ERB_EXPR:pt,TMPLIT_EXPR:mt,DATA_ATTR:vt,ARIA_ATTR:gt,IS_SCRIPT_OR_DATA:yt,ATTR_WHITESPACE:bt,CUSTOM_ELEMENT:wt}=K;let{IS_ALLOWED_URI:Tt}=K;let xt=null;const Et=S({},[...D,...z,...M,...P,...N]);let kt=null;const At=S({},[...L,...F,...j,...U]);let St=Object.seal(a(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));let Rt=null;let _t=null;let It=true;let Dt=true;let zt=false;let Mt=true;let Ot=false;let Pt=true;let Ct=false;let Nt=false;let Lt=false;let Ft=false;let jt=false;let Ut=false;let Bt=true;let Wt=false;const Xt="user-content-";let Ht=true;let Yt=false;let qt={};let $t=null;const Gt=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Vt=null;const Zt=S({},["audio","video","img","source","image","track"]);let Kt=null;const Jt=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);const Qt="http://www.w3.org/1998/Math/MathML";const te="http://www.w3.org/2000/svg";const ee="http://www.w3.org/1999/xhtml";let ie=ee;let ne=false;let re=null;const se=S({},[Qt,te,ee],v);let oe=S({},["mi","mo","mn","ms","mtext"]);let ae=S({},["annotation-xml"]);const ce=S({},["title","style","font","a","script"]);let ue=null;const le=["application/xhtml+xml","text/html"];const fe="text/html";let he=null;let de=null;const pe=n.createElement("form");const me=function t(e){return e instanceof RegExp||e instanceof Function};const ve=function t(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(de&&de===e){return}if(!e||typeof e!=="object"){e={}}e=_(e);ue=le.indexOf(e.PARSER_MEDIA_TYPE)===-1?fe:e.PARSER_MEDIA_TYPE;he=ue==="application/xhtml+xml"?v:m;xt=T(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,he):Et;kt=T(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,he):At;re=T(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,v):se;Kt=T(e,"ADD_URI_SAFE_ATTR")?S(_(Jt),e.ADD_URI_SAFE_ATTR,he):Jt;Vt=T(e,"ADD_DATA_URI_TAGS")?S(_(Zt),e.ADD_DATA_URI_TAGS,he):Zt;$t=T(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,he):Gt;Rt=T(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,he):_({});_t=T(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,he):_({});qt=T(e,"USE_PROFILES")?e.USE_PROFILES:false;It=e.ALLOW_ARIA_ATTR!==false;Dt=e.ALLOW_DATA_ATTR!==false;zt=e.ALLOW_UNKNOWN_PROTOCOLS||false;Mt=e.ALLOW_SELF_CLOSE_IN_ATTR!==false;Ot=e.SAFE_FOR_TEMPLATES||false;Pt=e.SAFE_FOR_XML!==false;Ct=e.WHOLE_DOCUMENT||false;Ft=e.RETURN_DOM||false;jt=e.RETURN_DOM_FRAGMENT||false;Ut=e.RETURN_TRUSTED_TYPE||false;Lt=e.FORCE_BODY||false;Bt=e.SANITIZE_DOM!==false;Wt=e.SANITIZE_NAMED_PROPS||false;Ht=e.KEEP_CONTENT!==false;Yt=e.IN_PLACE||false;Tt=e.ALLOWED_URI_REGEXP||q;ie=e.NAMESPACE||ee;oe=e.MATHML_TEXT_INTEGRATION_POINTS||oe;ae=e.HTML_INTEGRATION_POINTS||ae;St=e.CUSTOM_ELEMENT_HANDLING||{};if(e.CUSTOM_ELEMENT_HANDLING&&me(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)){St.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&me(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)){St.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==="boolean"){St.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements}if(Ot){Dt=false}if(jt){Ft=true}if(qt){xt=S({},N);kt=[];if(qt.html===true){S(xt,D);S(kt,L)}if(qt.svg===true){S(xt,z);S(kt,F);S(kt,U)}if(qt.svgFilters===true){S(xt,M);S(kt,F);S(kt,U)}if(qt.mathMl===true){S(xt,P);S(kt,j);S(kt,U)}}if(e.ADD_TAGS){if(xt===Et){xt=_(xt)}S(xt,e.ADD_TAGS,he)}if(e.ADD_ATTR){if(kt===At){kt=_(kt)}S(kt,e.ADD_ATTR,he)}if(e.ADD_URI_SAFE_ATTR){S(Kt,e.ADD_URI_SAFE_ATTR,he)}if(e.FORBID_CONTENTS){if($t===Gt){$t=_($t)}S($t,e.FORBID_CONTENTS,he)}if(Ht){xt["#text"]=true}if(Ct){S(xt,["html","head","body"])}if(xt.table){S(xt,["tbody"]);delete Rt.tbody}if(e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=="function"){throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')}if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=="function"){throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')}st=e.TRUSTED_TYPES_POLICY;ot=st.createHTML("")}else{if(st===undefined){st=tt(H,o)}if(st!==null&&typeof ot==="string"){ot=st.createHTML("")}}if(s){s(e)}de=e};const ge=S({},[...z,...M,...O]);const ye=S({},[...P,...C]);const be=function t(e){let i=rt(e);if(!i||!i.tagName){i={namespaceURI:ie,tagName:"template"}}const n=m(e.tagName);const r=m(i.tagName);if(!re[e.namespaceURI]){return false}if(e.namespaceURI===te){if(i.namespaceURI===ee){return n==="svg"}if(i.namespaceURI===Qt){return n==="svg"&&(r==="annotation-xml"||oe[r])}return Boolean(ge[n])}if(e.namespaceURI===Qt){if(i.namespaceURI===ee){return n==="math"}if(i.namespaceURI===te){return n==="math"&&ae[r]}return Boolean(ye[n])}if(e.namespaceURI===ee){if(i.namespaceURI===te&&!ae[r]){return false}if(i.namespaceURI===Qt&&!oe[r]){return false}return!ye[n]&&(ce[n]||!ge[n])}if(ue==="application/xhtml+xml"&&re[e.namespaceURI]){return true}return false};const we=function t(e){d(i.removed,{element:e});try{rt(e).removeChild(e)}catch(t){G(e)}};const Te=function t(e,n){try{d(i.removed,{attribute:n.getAttributeNode(e),from:n})}catch(t){d(i.removed,{attribute:null,from:n})}n.removeAttribute(e);if(e==="is"){if(Ft||jt){try{we(n)}catch(t){}}else{try{n.setAttribute(e,"")}catch(t){}}}};const xe=function t(e){let i=null;let r=null;if(Lt){e="<remove></remove>"+e}else{const t=g(e,/^[\r\n\t ]+/);r=t&&t[0]}if(ue==="application/xhtml+xml"&&ie===ee){e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>"}const s=st?st.createHTML(e):e;if(ie===ee){try{i=(new X).parseFromString(s,ue)}catch(t){}}if(!i||!i.documentElement){i=at.createDocument(ie,"template",null);try{i.documentElement.innerHTML=ne?ot:s}catch(t){}}const o=i.body||i.documentElement;if(e&&r){o.insertBefore(n.createTextNode(r),o.childNodes[0]||null)}if(ie===ee){return lt.call(i,Ct?"html":"body")[0]}return Ct?i.documentElement:o};const Ee=function t(e){return ct.call(e.ownerDocument||e,e,R.SHOW_ELEMENT|R.SHOW_COMMENT|R.SHOW_TEXT|R.SHOW_PROCESSING_INSTRUCTION|R.SHOW_CDATA_SECTION,null)};const ke=function t(e){return e instanceof W&&(typeof e.nodeName!=="string"||typeof e.textContent!=="string"||typeof e.removeChild!=="function"||!(e.attributes instanceof B)||typeof e.removeAttribute!=="function"||typeof e.setAttribute!=="function"||typeof e.namespaceURI!=="string"||typeof e.insertBefore!=="function"||typeof e.hasChildNodes!=="function")};const Ae=function t(e){return typeof k==="function"&&e instanceof k};function Se(t,e,n){l(t,(t=>{t.call(i,e,n,de)}))}const Re=function t(e){let n=null;Se(ht.beforeSanitizeElements,e,null);if(ke(e)){we(e);return true}const r=he(e.nodeName);Se(ht.uponSanitizeElement,e,{tagName:r,allowedTags:xt});if(Pt&&e.hasChildNodes()&&!Ae(e.firstElementChild)&&x(/<[/\w!]/g,e.innerHTML)&&x(/<[/\w!]/g,e.textContent)){we(e);return true}if(e.nodeType===J.progressingInstruction){we(e);return true}if(Pt&&e.nodeType===J.comment&&x(/<[/\w]/g,e.data)){we(e);return true}if(!xt[r]||Rt[r]){if(!Rt[r]&&Ie(r)){if(St.tagNameCheck instanceof RegExp&&x(St.tagNameCheck,r)){return false}if(St.tagNameCheck instanceof Function&&St.tagNameCheck(r)){return false}}if(Ht&&!$t[r]){const t=rt(e)||e.parentNode;const i=nt(e)||e.childNodes;if(i&&t){const n=i.length;for(let r=n-1;r>=0;--r){const n=$(i[r],true);n.__removalCount=(e.__removalCount||0)+1;t.insertBefore(n,Z(e))}}}we(e);return true}if(e instanceof A&&!be(e)){we(e);return true}if((r==="noscript"||r==="noembed"||r==="noframes")&&x(/<\/no(script|embed|frames)/i,e.innerHTML)){we(e);return true}if(Ot&&e.nodeType===J.text){n=e.textContent;l([dt,pt,mt],(t=>{n=y(n,t," ")}));if(e.textContent!==n){d(i.removed,{element:e.cloneNode()});e.textContent=n}}Se(ht.afterSanitizeElements,e,null);return false};const _e=function t(e,i,r){if(Bt&&(i==="id"||i==="name")&&(r in n||r in pe)){return false}if(Dt&&!_t[i]&&x(vt,i));else if(It&&x(gt,i));else if(!kt[i]||_t[i]){if(Ie(e)&&(St.tagNameCheck instanceof RegExp&&x(St.tagNameCheck,e)||St.tagNameCheck instanceof Function&&St.tagNameCheck(e))&&(St.attributeNameCheck instanceof RegExp&&x(St.attributeNameCheck,i)||St.attributeNameCheck instanceof Function&&St.attributeNameCheck(i))||i==="is"&&St.allowCustomizedBuiltInElements&&(St.tagNameCheck instanceof RegExp&&x(St.tagNameCheck,r)||St.tagNameCheck instanceof Function&&St.tagNameCheck(r)));else{return false}}else if(Kt[i]);else if(x(Tt,y(r,bt,"")));else if((i==="src"||i==="xlink:href"||i==="href")&&e!=="script"&&b(r,"data:")===0&&Vt[e]);else if(zt&&!x(yt,y(r,bt,"")));else if(r){return false}else;return true};const Ie=function t(e){return e!=="annotation-xml"&&g(e,wt)};const De=function t(e){Se(ht.beforeSanitizeAttributes,e,null);const{attributes:n}=e;if(!n||ke(e)){return}const r={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:kt,forceKeepAttr:undefined};let s=n.length;while(s--){const t=n[s];const{name:o,namespaceURI:a,value:c}=t;const u=he(o);const f=c;let d=o==="value"?f:w(f);r.attrName=u;r.attrValue=d;r.keepAttr=true;r.forceKeepAttr=undefined;Se(ht.uponSanitizeAttribute,e,r);d=r.attrValue;if(Wt&&(u==="id"||u==="name")){Te(o,e);d=Xt+d}if(Pt&&x(/((--!?|])>)|<\/(style|title)/i,d)){Te(o,e);continue}if(r.forceKeepAttr){continue}if(!r.keepAttr){Te(o,e);continue}if(!Mt&&x(/\/>/i,d)){Te(o,e);continue}if(Ot){l([dt,pt,mt],(t=>{d=y(d,t," ")}))}const p=he(e.nodeName);if(!_e(p,u,d)){Te(o,e);continue}if(st&&typeof H==="object"&&typeof H.getAttributeType==="function"){if(a);else{switch(H.getAttributeType(p,u)){case"TrustedHTML":{d=st.createHTML(d);break}case"TrustedScriptURL":{d=st.createScriptURL(d);break}}}}if(d!==f){try{if(a){e.setAttributeNS(a,o,d)}else{e.setAttribute(o,d)}if(ke(e)){we(e)}else{h(i.removed)}}catch(t){Te(o,e)}}}Se(ht.afterSanitizeAttributes,e,null)};const ze=function t(e){let i=null;const n=Ee(e);Se(ht.beforeSanitizeShadowDOM,e,null);while(i=n.nextNode()){Se(ht.uponSanitizeShadowNode,i,null);Re(i);De(i);if(i.content instanceof c){t(i.content)}}Se(ht.afterSanitizeShadowDOM,e,null)};i.sanitize=function(t){let e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let n=null;let s=null;let o=null;let a=null;ne=!t;if(ne){t="\x3c!--\x3e"}if(typeof t!=="string"&&!Ae(t)){if(typeof t.toString==="function"){t=t.toString();if(typeof t!=="string"){throw E("dirty is not a string, aborting")}}else{throw E("toString is not a function")}}if(!i.isSupported){return t}if(!Nt){ve(e)}i.removed=[];if(typeof t==="string"){Yt=false}if(Yt){if(t.nodeName){const e=he(t.nodeName);if(!xt[e]||Rt[e]){throw E("root node is forbidden and cannot be sanitized in-place")}}}else if(t instanceof k){n=xe("\x3c!----\x3e");s=n.ownerDocument.importNode(t,true);if(s.nodeType===J.element&&s.nodeName==="BODY"){n=s}else if(s.nodeName==="HTML"){n=s}else{n.appendChild(s)}}else{if(!Ft&&!Ot&&!Ct&&t.indexOf("<")===-1){return st&&Ut?st.createHTML(t):t}n=xe(t);if(!n){return Ft?null:Ut?ot:""}}if(n&&Lt){we(n.firstChild)}const u=Ee(Yt?t:n);while(o=u.nextNode()){Re(o);De(o);if(o.content instanceof c){ze(o.content)}}if(Yt){return t}if(Ft){if(jt){a=ut.call(n.ownerDocument);while(n.firstChild){a.appendChild(n.firstChild)}}else{a=n}if(kt.shadowroot||kt.shadowrootmode){a=ft.call(r,a,true)}return a}let f=Ct?n.outerHTML:n.innerHTML;if(Ct&&xt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&x(V,n.ownerDocument.doctype.name)){f="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+f}if(Ot){l([dt,pt,mt],(t=>{f=y(f,t," ")}))}return st&&Ut?st.createHTML(f):f};i.setConfig=function(){let t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};ve(t);Nt=true};i.clearConfig=function(){de=null;Nt=false};i.isValidAttribute=function(t,e,i){if(!de){ve({})}const n=he(t);const r=he(e);return _e(n,r,i)};i.addHook=function(t,e){if(typeof e!=="function"){return}d(ht[t],e)};i.removeHook=function(t,e){if(e!==undefined){const i=f(ht[t],e);return i===-1?undefined:p(ht[t],i,1)[0]}return h(ht[t])};i.removeHooks=function(t){ht[t]=[]};i.removeAllHooks=function(){ht=et()};return i}var nt=it();return nt}))})(c);const u=c.exports;var l={exports:{}};
3
3
  /*! Hammer.JS - v2.0.7 - 2016-04-22
4
4
  * http://hammerjs.github.io/
5
5
  *
6
6
  * Copyright (c) 2016 Jorik Tangelder;
7
- * Licensed under the MIT license */(function(t){(function(e,i,n,r){var s=["","webkit","Moz","MS","ms","o"];var o=i.createElement("div");var a="function";var l=Math.round;var c=Math.abs;var u=Date.now;function f(t,e,i){return setTimeout(w(t,i),e)}function h(t,e,i){if(Array.isArray(t)){d(t,i[e],i);return true}return false}function d(t,e,i){var n;if(!t){return}if(t.forEach){t.forEach(e,i)}else if(t.length!==r){n=0;while(n<t.length){e.call(i,t[n],n,t);n++}}else{for(n in t){t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}}}function p(t,i,n){var r="DEPRECATED METHOD: "+i+"\n"+n+" AT \n";return function(){var i=new Error("get-stack-trace");var n=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace";var s=e.console&&(e.console.warn||e.console.log);if(s){s.call(e.console,r,n)}return t.apply(this,arguments)}}var m;if(typeof Object.assign!=="function"){m=function t(e){if(e===r||e===null){throw new TypeError("Cannot convert undefined or null to object")}var i=Object(e);for(var n=1;n<arguments.length;n++){var s=arguments[n];if(s!==r&&s!==null){for(var o in s){if(s.hasOwnProperty(o)){i[o]=s[o]}}}}return i}}else{m=Object.assign}var v=p((function t(e,i,n){var s=Object.keys(i);var o=0;while(o<s.length){if(!n||n&&e[s[o]]===r){e[s[o]]=i[s[o]]}o++}return e}),"extend","Use `assign`.");var g=p((function t(e,i){return v(e,i,true)}),"merge","Use `assign`.");function y(t,e,i){var n=e.prototype,r;r=t.prototype=Object.create(n);r.constructor=t;r._super=n;if(i){m(r,i)}}function w(t,e){return function i(){return t.apply(e,arguments)}}function b(t,e){if(typeof t==a){return t.apply(e?e[0]||r:r,e)}return t}function x(t,e){return t===r?e:t}function T(t,e,i){d(S(e),(function(e){t.addEventListener(e,i,false)}))}function E(t,e,i){d(S(e),(function(e){t.removeEventListener(e,i,false)}))}function A(t,e){while(t){if(t==e){return true}t=t.parentNode}return false}function k(t,e){return t.indexOf(e)>-1}function S(t){return t.trim().split(/\s+/g)}function R(t,e,i){if(t.indexOf&&!i){return t.indexOf(e)}else{var n=0;while(n<t.length){if(i&&t[n][i]==e||!i&&t[n]===e){return n}n++}return-1}}function _(t){return Array.prototype.slice.call(t,0)}function I(t,e,i){var n=[];var r=[];var s=0;while(s<t.length){var o=e?t[s][e]:t[s];if(R(r,o)<0){n.push(t[s])}r[s]=o;s++}if(i){if(!e){n=n.sort()}else{n=n.sort((function t(i,n){return i[e]>n[e]}))}}return n}function D(t,e){var i,n;var o=e[0].toUpperCase()+e.slice(1);var a=0;while(a<s.length){i=s[a];n=i?i+o:e;if(n in t){return n}a++}return r}var M=1;function z(){return M++}function O(t){var i=t.ownerDocument||t;return i.defaultView||i.parentWindow||e}var P=/mobile|tablet|ip(ad|hone|od)|android/i;var C="ontouchstart"in e;var N=D(e,"PointerEvent")!==r;var L=C&&P.test(navigator.userAgent);var F="touch";var j="pen";var U="mouse";var W="kinect";var X=25;var B=1;var H=2;var Y=4;var q=8;var $=1;var G=2;var V=4;var Z=8;var K=16;var J=G|V;var Q=Z|K;var tt=J|Q;var et=["x","y"];var it=["clientX","clientY"];function nt(t,e){var i=this;this.manager=t;this.callback=e;this.element=t.element;this.target=t.options.inputTarget;this.domHandler=function(e){if(b(t.options.enable,[t])){i.handler(e)}};this.init()}nt.prototype={handler:function(){},init:function(){this.evEl&&T(this.element,this.evEl,this.domHandler);this.evTarget&&T(this.target,this.evTarget,this.domHandler);this.evWin&&T(O(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&E(this.element,this.evEl,this.domHandler);this.evTarget&&E(this.target,this.evTarget,this.domHandler);this.evWin&&E(O(this.element),this.evWin,this.domHandler)}};function rt(t){var e;var i=t.options.inputClass;if(i){e=i}else if(N){e=kt}else if(L){e=Ot}else if(!C){e=bt}else{e=Lt}return new e(t,st)}function st(t,e,i){var n=i.pointers.length;var r=i.changedPointers.length;var s=e&B&&n-r===0;var o=e&(Y|q)&&n-r===0;i.isFirst=!!s;i.isFinal=!!o;if(s){t.session={}}i.eventType=e;ot(t,i);t.emit("hammer.input",i);t.recognize(i);t.session.prevInput=i}function ot(t,e){var i=t.session;var n=e.pointers;var r=n.length;if(!i.firstInput){i.firstInput=ct(e)}if(r>1&&!i.firstMultiple){i.firstMultiple=ct(e)}else if(r===1){i.firstMultiple=false}var s=i.firstInput;var o=i.firstMultiple;var a=o?o.center:s.center;var l=e.center=ut(n);e.timeStamp=u();e.deltaTime=e.timeStamp-s.timeStamp;e.angle=pt(a,l);e.distance=dt(a,l);at(i,e);e.offsetDirection=ht(e.deltaX,e.deltaY);var f=ft(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=f.x;e.overallVelocityY=f.y;e.overallVelocity=c(f.x)>c(f.y)?f.x:f.y;e.scale=o?vt(o.pointers,n):1;e.rotation=o?mt(o.pointers,n):0;e.maxPointers=!i.prevInput?e.pointers.length:e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers;lt(i,e);var h=t.element;if(A(e.srcEvent.target,h)){h=e.srcEvent.target}e.target=h}function at(t,e){var i=e.center;var n=t.offsetDelta||{};var r=t.prevDelta||{};var s=t.prevInput||{};if(e.eventType===B||s.eventType===Y){r=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0};n=t.offsetDelta={x:i.x,y:i.y}}e.deltaX=r.x+(i.x-n.x);e.deltaY=r.y+(i.y-n.y)}function lt(t,e){var i=t.lastInterval||e,n=e.timeStamp-i.timeStamp,s,o,a,l;if(e.eventType!=q&&(n>X||i.velocity===r)){var u=e.deltaX-i.deltaX;var f=e.deltaY-i.deltaY;var h=ft(n,u,f);o=h.x;a=h.y;s=c(h.x)>c(h.y)?h.x:h.y;l=ht(u,f);t.lastInterval=e}else{s=i.velocity;o=i.velocityX;a=i.velocityY;l=i.direction}e.velocity=s;e.velocityX=o;e.velocityY=a;e.direction=l}function ct(t){var e=[];var i=0;while(i<t.pointers.length){e[i]={clientX:l(t.pointers[i].clientX),clientY:l(t.pointers[i].clientY)};i++}return{timeStamp:u(),pointers:e,center:ut(e),deltaX:t.deltaX,deltaY:t.deltaY}}function ut(t){var e=t.length;if(e===1){return{x:l(t[0].clientX),y:l(t[0].clientY)}}var i=0,n=0,r=0;while(r<e){i+=t[r].clientX;n+=t[r].clientY;r++}return{x:l(i/e),y:l(n/e)}}function ft(t,e,i){return{x:e/t||0,y:i/t||0}}function ht(t,e){if(t===e){return $}if(c(t)>=c(e)){return t<0?G:V}return e<0?Z:K}function dt(t,e,i){if(!i){i=et}var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.sqrt(n*n+r*r)}function pt(t,e,i){if(!i){i=et}var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.atan2(r,n)*180/Math.PI}function mt(t,e){return pt(e[1],e[0],it)+pt(t[1],t[0],it)}function vt(t,e){return dt(e[0],e[1],it)/dt(t[0],t[1],it)}var gt={mousedown:B,mousemove:H,mouseup:Y};var yt="mousedown";var wt="mousemove mouseup";function bt(){this.evEl=yt;this.evWin=wt;this.pressed=false;nt.apply(this,arguments)}y(bt,nt,{handler:function t(e){var i=gt[e.type];if(i&B&&e.button===0){this.pressed=true}if(i&H&&e.which!==1){i=Y}if(!this.pressed){return}if(i&Y){this.pressed=false}this.callback(this.manager,i,{pointers:[e],changedPointers:[e],pointerType:U,srcEvent:e})}});var xt={pointerdown:B,pointermove:H,pointerup:Y,pointercancel:q,pointerout:q};var Tt={2:F,3:j,4:U,5:W};var Et="pointerdown";var At="pointermove pointerup pointercancel";if(e.MSPointerEvent&&!e.PointerEvent){Et="MSPointerDown";At="MSPointerMove MSPointerUp MSPointerCancel"}function kt(){this.evEl=Et;this.evWin=At;nt.apply(this,arguments);this.store=this.manager.session.pointerEvents=[]}y(kt,nt,{handler:function t(e){var i=this.store;var n=false;var r=e.type.toLowerCase().replace("ms","");var s=xt[r];var o=Tt[e.pointerType]||e.pointerType;var a=o==F;var l=R(i,e.pointerId,"pointerId");if(s&B&&(e.button===0||a)){if(l<0){i.push(e);l=i.length-1}}else if(s&(Y|q)){n=true}if(l<0){return}i[l]=e;this.callback(this.manager,s,{pointers:i,changedPointers:[e],pointerType:o,srcEvent:e});if(n){i.splice(l,1)}}});var St={touchstart:B,touchmove:H,touchend:Y,touchcancel:q};var Rt="touchstart";var _t="touchstart touchmove touchend touchcancel";function It(){this.evTarget=Rt;this.evWin=_t;this.started=false;nt.apply(this,arguments)}y(It,nt,{handler:function t(e){var i=St[e.type];if(i===B){this.started=true}if(!this.started){return}var n=Dt.call(this,e,i);if(i&(Y|q)&&n[0].length-n[1].length===0){this.started=false}this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:e})}});function Dt(t,e){var i=_(t.touches);var n=_(t.changedTouches);if(e&(Y|q)){i=I(i.concat(n),"identifier",true)}return[i,n]}var Mt={touchstart:B,touchmove:H,touchend:Y,touchcancel:q};var zt="touchstart touchmove touchend touchcancel";function Ot(){this.evTarget=zt;this.targetIds={};nt.apply(this,arguments)}y(Ot,nt,{handler:function t(e){var i=Mt[e.type];var n=Pt.call(this,e,i);if(!n){return}this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:e})}});function Pt(t,e){var i=_(t.touches);var n=this.targetIds;if(e&(B|H)&&i.length===1){n[i[0].identifier]=true;return[i,i]}var r,s,o=_(t.changedTouches),a=[],l=this.target;s=i.filter((function(t){return A(t.target,l)}));if(e===B){r=0;while(r<s.length){n[s[r].identifier]=true;r++}}r=0;while(r<o.length){if(n[o[r].identifier]){a.push(o[r])}if(e&(Y|q)){delete n[o[r].identifier]}r++}if(!a.length){return}return[I(s.concat(a),"identifier",true),a]}var Ct=2500;var Nt=25;function Lt(){nt.apply(this,arguments);var t=w(this.handler,this);this.touch=new Ot(this.manager,t);this.mouse=new bt(this.manager,t);this.primaryTouch=null;this.lastTouches=[]}y(Lt,nt,{handler:function t(e,i,n){var r=n.pointerType==F,s=n.pointerType==U;if(s&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents){return}if(r){Ft.call(this,i,n)}else if(s&&Ut.call(this,n)){return}this.callback(e,i,n)},destroy:function t(){this.touch.destroy();this.mouse.destroy()}});function Ft(t,e){if(t&B){this.primaryTouch=e.changedPointers[0].identifier;jt.call(this,e)}else if(t&(Y|q)){jt.call(this,e)}}function jt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var n=this.lastTouches;var r=function(){var t=n.indexOf(i);if(t>-1){n.splice(t,1)}};setTimeout(r,Ct)}}function Ut(t){var e=t.srcEvent.clientX,i=t.srcEvent.clientY;for(var n=0;n<this.lastTouches.length;n++){var r=this.lastTouches[n];var s=Math.abs(e-r.x),o=Math.abs(i-r.y);if(s<=Nt&&o<=Nt){return true}}return false}var Wt=D(o.style,"touchAction");var Xt=Wt!==r;var Bt="compute";var Ht="auto";var Yt="manipulation";var qt="none";var $t="pan-x";var Gt="pan-y";var Vt=Jt();function Zt(t,e){this.manager=t;this.set(e)}Zt.prototype={set:function(t){if(t==Bt){t=this.compute()}if(Xt&&this.manager.element.style&&Vt[t]){this.manager.element.style[Wt]=t}this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];d(this.manager.recognizers,(function(e){if(b(e.options.enable,[e])){t=t.concat(e.getTouchAction())}}));return Kt(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent;var i=t.offsetDirection;if(this.manager.session.prevented){e.preventDefault();return}var n=this.actions;var r=k(n,qt)&&!Vt[qt];var s=k(n,Gt)&&!Vt[Gt];var o=k(n,$t)&&!Vt[$t];if(r){var a=t.pointers.length===1;var l=t.distance<2;var c=t.deltaTime<250;if(a&&l&&c){return}}if(o&&s){return}if(r||s&&i&J||o&&i&Q){return this.preventSrc(e)}},preventSrc:function(t){this.manager.session.prevented=true;t.preventDefault()}};function Kt(t){if(k(t,qt)){return qt}var e=k(t,$t);var i=k(t,Gt);if(e&&i){return qt}if(e||i){return e?$t:Gt}if(k(t,Yt)){return Yt}return Ht}function Jt(){if(!Xt){return false}var t={};var i=e.CSS&&e.CSS.supports;["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=i?e.CSS.supports("touch-action",n):true}));return t}var Qt=1;var te=2;var ee=4;var ie=8;var ne=ie;var re=16;var se=32;function oe(t){this.options=m({},this.defaults,t||{});this.id=z();this.manager=null;this.options.enable=x(this.options.enable,true);this.state=Qt;this.simultaneous={};this.requireFail=[]}oe.prototype={defaults:{},set:function(t){m(this.options,t);this.manager&&this.manager.touchAction.update();return this},recognizeWith:function(t){if(h(t,"recognizeWith",this)){return this}var e=this.simultaneous;t=ce(t,this);if(!e[t.id]){e[t.id]=t;t.recognizeWith(this)}return this},dropRecognizeWith:function(t){if(h(t,"dropRecognizeWith",this)){return this}t=ce(t,this);delete this.simultaneous[t.id];return this},requireFailure:function(t){if(h(t,"requireFailure",this)){return this}var e=this.requireFail;t=ce(t,this);if(R(e,t)===-1){e.push(t);t.requireFailure(this)}return this},dropRequireFailure:function(t){if(h(t,"dropRequireFailure",this)){return this}t=ce(t,this);var e=R(this.requireFail,t);if(e>-1){this.requireFail.splice(e,1)}return this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this;var i=this.state;function n(i){e.manager.emit(i,t)}if(i<ie){n(e.options.event+ae(i))}n(e.options.event);if(t.additionalEvent){n(t.additionalEvent)}if(i>=ie){n(e.options.event+ae(i))}},tryEmit:function(t){if(this.canEmit()){return this.emit(t)}this.state=se},canEmit:function(){var t=0;while(t<this.requireFail.length){if(!(this.requireFail[t].state&(se|Qt))){return false}t++}return true},recognize:function(t){var e=m({},t);if(!b(this.options.enable,[this,e])){this.reset();this.state=se;return}if(this.state&(ne|re|se)){this.state=Qt}this.state=this.process(e);if(this.state&(te|ee|ie|re)){this.tryEmit(e)}},process:function(t){},getTouchAction:function(){},reset:function(){}};function ae(t){if(t&re){return"cancel"}else if(t&ie){return"end"}else if(t&ee){return"move"}else if(t&te){return"start"}return""}function le(t){if(t==K){return"down"}else if(t==Z){return"up"}else if(t==G){return"left"}else if(t==V){return"right"}return""}function ce(t,e){var i=e.manager;if(i){return i.get(t)}return t}function ue(){oe.apply(this,arguments)}y(ue,oe,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return e===0||t.pointers.length===e},process:function(t){var e=this.state;var i=t.eventType;var n=e&(te|ee);var r=this.attrTest(t);if(n&&(i&q||!r)){return e|re}else if(n||r){if(i&Y){return e|ie}else if(!(e&te)){return te}return e|ee}return se}});function fe(){ue.apply(this,arguments);this.pX=null;this.pY=null}y(fe,ue,{defaults:{event:"pan",threshold:10,pointers:1,direction:tt},getTouchAction:function(){var t=this.options.direction;var e=[];if(t&J){e.push(Gt)}if(t&Q){e.push($t)}return e},directionTest:function(t){var e=this.options;var i=true;var n=t.distance;var r=t.direction;var s=t.deltaX;var o=t.deltaY;if(!(r&e.direction)){if(e.direction&J){r=s===0?$:s<0?G:V;i=s!=this.pX;n=Math.abs(t.deltaX)}else{r=o===0?$:o<0?Z:K;i=o!=this.pY;n=Math.abs(t.deltaY)}}t.direction=r;return i&&n>e.threshold&&r&e.direction},attrTest:function(t){return ue.prototype.attrTest.call(this,t)&&(this.state&te||!(this.state&te)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX;this.pY=t.deltaY;var e=le(t.direction);if(e){t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}});function he(){ue.apply(this,arguments)}y(he,ue,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&te)},emit:function(t){if(t.scale!==1){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}});function de(){oe.apply(this,arguments);this._timer=null;this._input=null}y(de,oe,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ht]},process:function(t){var e=this.options;var i=t.pointers.length===e.pointers;var n=t.distance<e.threshold;var r=t.deltaTime>e.time;this._input=t;if(!n||!i||t.eventType&(Y|q)&&!r){this.reset()}else if(t.eventType&B){this.reset();this._timer=f((function(){this.state=ne;this.tryEmit()}),e.time,this)}else if(t.eventType&Y){return ne}return se},reset:function(){clearTimeout(this._timer)},emit:function(t){if(this.state!==ne){return}if(t&&t.eventType&Y){this.manager.emit(this.options.event+"up",t)}else{this._input.timeStamp=u();this.manager.emit(this.options.event,this._input)}}});function pe(){ue.apply(this,arguments)}y(pe,ue,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&te)}});function me(){ue.apply(this,arguments)}y(me,ue,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:J|Q,pointers:1},getTouchAction:function(){return fe.prototype.getTouchAction.call(this)},attrTest:function(t){var e=this.options.direction;var i;if(e&(J|Q)){i=t.overallVelocity}else if(e&J){i=t.overallVelocityX}else if(e&Q){i=t.overallVelocityY}return this._super.attrTest.call(this,t)&&e&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&c(i)>this.options.velocity&&t.eventType&Y},emit:function(t){var e=le(t.offsetDirection);if(e){this.manager.emit(this.options.event+e,t)}this.manager.emit(this.options.event,t)}});function ve(){oe.apply(this,arguments);this.pTime=false;this.pCenter=false;this._timer=null;this._input=null;this.count=0}y(ve,oe,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Yt]},process:function(t){var e=this.options;var i=t.pointers.length===e.pointers;var n=t.distance<e.threshold;var r=t.deltaTime<e.time;this.reset();if(t.eventType&B&&this.count===0){return this.failTimeout()}if(n&&r&&i){if(t.eventType!=Y){return this.failTimeout()}var s=this.pTime?t.timeStamp-this.pTime<e.interval:true;var o=!this.pCenter||dt(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp;this.pCenter=t.center;if(!o||!s){this.count=1}else{this.count+=1}this._input=t;var a=this.count%e.taps;if(a===0){if(!this.hasRequireFailures()){return ne}else{this._timer=f((function(){this.state=ne;this.tryEmit()}),e.interval,this);return te}}}return se},failTimeout:function(){this._timer=f((function(){this.state=se}),this.options.interval,this);return se},reset:function(){clearTimeout(this._timer)},emit:function(){if(this.state==ne){this._input.tapCount=this.count;this.manager.emit(this.options.event,this._input)}}});function ge(t,e){e=e||{};e.recognizers=x(e.recognizers,ge.defaults.preset);return new be(t,e)}ge.VERSION="2.0.7";ge.defaults={domEvents:false,touchAction:Bt,enable:true,inputTarget:null,inputClass:null,preset:[[pe,{enable:false}],[he,{enable:false},["rotate"]],[me,{direction:J}],[fe,{direction:J},["swipe"]],[ve],[ve,{event:"doubletap",taps:2},["tap"]],[de]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var ye=1;var we=2;function be(t,e){this.options=m({},ge.defaults,e||{});this.options.inputTarget=this.options.inputTarget||t;this.handlers={};this.session={};this.recognizers=[];this.oldCssProps={};this.element=t;this.input=rt(this);this.touchAction=new Zt(this,this.options.touchAction);xe(this,true);d(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]);t[3]&&e.requireFailure(t[3])}),this)}be.prototype={set:function(t){m(this.options,t);if(t.touchAction){this.touchAction.update()}if(t.inputTarget){this.input.destroy();this.input.target=t.inputTarget;this.input.init()}return this},stop:function(t){this.session.stopped=t?we:ye},recognize:function(t){var e=this.session;if(e.stopped){return}this.touchAction.preventDefaults(t);var i;var n=this.recognizers;var r=e.curRecognizer;if(!r||r&&r.state&ne){r=e.curRecognizer=null}var s=0;while(s<n.length){i=n[s];if(e.stopped!==we&&(!r||i==r||i.canRecognizeWith(r))){i.recognize(t)}else{i.reset()}if(!r&&i.state&(te|ee|ie)){r=e.curRecognizer=i}s++}},get:function(t){if(t instanceof oe){return t}var e=this.recognizers;for(var i=0;i<e.length;i++){if(e[i].options.event==t){return e[i]}}return null},add:function(t){if(h(t,"add",this)){return this}var e=this.get(t.options.event);if(e){this.remove(e)}this.recognizers.push(t);t.manager=this;this.touchAction.update();return t},remove:function(t){if(h(t,"remove",this)){return this}t=this.get(t);if(t){var e=this.recognizers;var i=R(e,t);if(i!==-1){e.splice(i,1);this.touchAction.update()}}return this},on:function(t,e){if(t===r){return}if(e===r){return}var i=this.handlers;d(S(t),(function(t){i[t]=i[t]||[];i[t].push(e)}));return this},off:function(t,e){if(t===r){return}var i=this.handlers;d(S(t),(function(t){if(!e){delete i[t]}else{i[t]&&i[t].splice(R(i[t],e),1)}}));return this},emit:function(t,e){if(this.options.domEvents){Te(t,e)}var i=this.handlers[t]&&this.handlers[t].slice();if(!i||!i.length){return}e.type=t;e.preventDefault=function(){e.srcEvent.preventDefault()};var n=0;while(n<i.length){i[n](e);n++}},destroy:function(){this.element&&xe(this,false);this.handlers={};this.session={};this.input.destroy();this.element=null}};function xe(t,e){var i=t.element;if(!i.style){return}var n;d(t.options.cssProps,(function(r,s){n=D(i.style,s);if(e){t.oldCssProps[n]=i.style[n];i.style[n]=r}else{i.style[n]=t.oldCssProps[n]||""}}));if(!e){t.oldCssProps={}}}function Te(t,e){var n=i.createEvent("Event");n.initEvent(t,true,true);n.gesture=e;e.target.dispatchEvent(n)}m(ge,{INPUT_START:B,INPUT_MOVE:H,INPUT_END:Y,INPUT_CANCEL:q,STATE_POSSIBLE:Qt,STATE_BEGAN:te,STATE_CHANGED:ee,STATE_ENDED:ie,STATE_RECOGNIZED:ne,STATE_CANCELLED:re,STATE_FAILED:se,DIRECTION_NONE:$,DIRECTION_LEFT:G,DIRECTION_RIGHT:V,DIRECTION_UP:Z,DIRECTION_DOWN:K,DIRECTION_HORIZONTAL:J,DIRECTION_VERTICAL:Q,DIRECTION_ALL:tt,Manager:be,Input:nt,TouchAction:Zt,TouchInput:Ot,MouseInput:bt,PointerEventInput:kt,TouchMouseInput:Lt,SingleTouchInput:It,Recognizer:oe,AttrRecognizer:ue,Tap:ve,Pan:fe,Swipe:me,Pinch:he,Rotate:pe,Press:de,on:T,off:E,each:d,merge:g,extend:v,assign:m,inherit:y,bindFn:w,prefixed:D});var Ee=typeof e!=="undefined"?e:typeof self!=="undefined"?self:{};Ee.Hammer=ge;if(typeof r==="function"&&r.amd){r((function(){return ge}))}else if(t.exports){t.exports=ge}else{e[n]=ge}})(window,document,"Hammer")})(u);const f=u.exports;const h=':host{display:inline-block;width:100vw;min-width:200px;--percentuale:0}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideindown{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideoutleft{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(-100%)}}@keyframes slideoutright{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(100%)}}@keyframes slideoutup{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(-100%)}}@keyframes slideoutdown{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(100%)}}:host>#external-container{display:flex;min-height:calc(var(--space-unit) * 8.5);box-sizing:border-box;justify-content:space-between;padding:calc(var(--space-unit) * 2) 14px calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);border-radius:var(--border-size-large);box-shadow:var(--shadow-3);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px}:host>#external-container>#inner-container{display:flex;width:100%;flex-direction:column;justify-content:space-between}:host>#external-container #inner-container #text{padding:var(--space-unit) 0;color:var(--color-text-inverse);letter-spacing:0.16px;line-height:20px;text-align:start}:host>#external-container #inner-container #text>.title{margin-right:calc(var(--space-unit) / 2);font-weight:var(--font-sb)}:host>#external-container #inner-container ::slotted([slot="button"]){margin-top:var(--space-unit)}:host>#external-container #icon{padding-top:var(--space-unit);margin:0 calc(var(--space-unit) / 4);cursor:pointer;fill:var(--color-inverse-icon)}:host>#external-container #icon:focus-within{margin:0}:host>#external-container #icon z-icon{margin:0 0 0 14px}:host>#external-container #icon z-icon:focus{display:inline-block;padding:calc(var(--space-unit) / 4);border-radius:50%;box-shadow:var(--shadow-focus-primary)}:host>#external-container.dark{background:var(--color-surface05)}:host>#external-container.light{background:var(--color-surface01)}:host>#external-container.light #icon{fill:var(--color-primary01-icon)}:host>#external-container.light #inner-container #text,:host>#external-container.warning #inner-container #text{color:var(--color-default-text)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-default-error)}:host>#external-container.success{background:var(--color-default-success)}:host>#external-container.warning{background:var(--color-default-warning)}:host>#external-container.warning #icon{fill:var(--color-default-icon)}@media (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container #inner-container{flex-direction:row}:host>#external-container #inner-container ::slotted([slot="button"]){margin:0 0 0 calc(var(--space-unit) * 2)}}@media (min-width: 1366px){:host{max-width:33vw}}';const d=h;const p=class{constructor(i){t(this,i);this.toastClose=e(this,"toastClose",7);this.isCloseEventCalled=false;this.heading=undefined;this.message=undefined;this.closebutton=undefined;this.autoclose=undefined;this.pauseonfocusloss=true;this.type=undefined;this.isdraggable=true;this.draggablepercentage=80;this.transition=undefined;this.percentage=undefined}watchPropIsdraggable(t){if(t){this.sliderManager.get("pan").set({enable:true})}else{this.sliderManager.get("pan").set({enable:false})}}watchPropAutoclose(t){clearTimeout(this.timeoutHandle);this.startClosingTimeout(t)}watchPropPauseonfocusloss(t){if(this.autoclose){if(t){document.addEventListener("visibilitychange",this.visibilityChangeEventHandler)}else{document.removeEventListener("visibilitychange",this.visibilityChangeEventHandler)}}}emitToastClose(t,e){if(e&&this.timeoutHandle){clearTimeout(this.timeoutHandle)}this.timeoutHandle=null;this.elapsedTime=null;this.toastClose.emit();if(t){this.hostElement.classList.add(t)}else{this.hostElement.parentNode.removeChild(this.hostElement)}}componentWillLoad(){this.validateAutoclose();this.percentage=0}componentDidLoad(){this.startTime=Date.now();if(this.autoclose){if(this.pauseonfocusloss){document.addEventListener("visibilitychange",this.visibilityChangeEventHandler)}if(!this.transition){this.startClosingTimeout(this.autoclose)}}this.isdraggable&&this.handleSlideOutDragAnimation()}visibilityChangeEventHandler(){if(document.visibilityState==="hidden"){this.timeoutHandle&&this.onBlur()}else{this.elapsedTime&&this.onFocus()}}validateAutoclose(){if(!this.autoclose&&!this.closebutton){console.error("At least one between autoclose and closebutton must be present")}}mapSlideOutClass(){switch(this.transition){case s.SLIDE_IN_DOWN:return s.SLIDE_OUT_UP;case s.SLIDE_IN_UP:return s.SLIDE_OUT_DOWN;case s.SLIDE_IN_LEFT:return s.SLIDE_OUT_RIGHT;case s.SLIDE_IN_RIGHT:return s.SLIDE_OUT_LEFT;default:return null}}calculateDraggedPercentage(t){const e=this.hostElement.getBoundingClientRect();return Math.round(100*t.deltaX/e.width)}handleSlideOutDragAnimation(){this.sliderManager=new f(this.hostElement);this.sliderManager.get("pan").set({direction:f.DIRECTION_HORIZONTAL});this.sliderManager.on("pan",(t=>{this.percentage=this.calculateDraggedPercentage(t);this.hostElement.style.transition="none";if(this.transition){this.hostElement.classList.remove(this.transition)}const e={translate:`translateX(${this.percentage}%)`,translateBack:"translateX(0)"};this.hostElement.style.opacity=`${100-Math.abs(this.percentage)}%`;if(t.eventType===f.DIRECTION_LEFT||t.eventType===f.DIRECTION_RIGHT){this.hostElement.style.transform=e.translate;if(Math.abs(this.percentage)>this.draggablepercentage&&!this.isCloseEventCalled){this.isCloseEventCalled=true;this.emitToastClose(t.direction===f.DIRECTION_LEFT?"slide-out-left":"slide-out-right",true)}}if(t.isFinal&&Math.abs(this.percentage)<this.draggablepercentage){this.hostElement.style.transform=e.translateBack;this.hostElement.style.transition="all 1s";this.hostElement.style.opacity="100%";this.percentage=0}}))}onFocus(){let t=this.autoclose;if(this.elapsedTime){t=this.autoclose-this.elapsedTime}if(t>0){this.startClosingTimeout(t)}}onBlur(){this.elapsedTime=Date.now()-this.startTime;clearTimeout(this.timeoutHandle)}startClosingTimeout(t){this.timeoutHandle=window.setTimeout((()=>this.emitToastClose(this.mapSlideOutClass(),false)),t)}renderContent(){return i("div",{id:"external-container",tabIndex:0,class:{[this.type]:!!this.type}},i("div",{id:"inner-container"},i("div",{id:"text"},this.heading&&i("span",{class:"title"},this.heading),i("span",{class:"message"},i("slot",{name:"message"},i("span",{innerHTML:c.sanitize(this.message||" ")})))),i("div",{id:"button"},i("slot",{name:"button"}))),i("div",{id:"icon"},this.closebutton&&i("z-icon",{tabIndex:0,name:"multiply-circled",width:15,height:15,onClick:()=>this.emitToastClose(this.mapSlideOutClass(),true),onKeyPress:t=>{if(t.code==o.SPACE||t.code==o.ENTER){t.preventDefault();this.emitToastClose(this.mapSlideOutClass(),true)}}})))}render(){return i(n,{key:"9961ade1e0cb9ac345293770938cb7540656282c",style:{"--percentuale":`${this.percentage}%`},class:this.transition?this.transition:"",onAnimationEnd:t=>{if(this.autoclose&&t.animationName.includes("slidein")){this.startClosingTimeout(this.autoclose)}if(t.animationName.includes("slideout")){this.hostElement.parentNode.removeChild(this.hostElement)}}},this.renderContent())}get hostElement(){return r(this)}static get watchers(){return{isdraggable:["watchPropIsdraggable"],autoclose:["watchPropAutoclose"],pauseonfocusloss:["watchPropPauseonfocusloss"]}}};p.style=d;export{p as z_toast_notification};
8
- //# sourceMappingURL=p-5fda8769.entry.js.map
7
+ * Licensed under the MIT license */(function(t){(function(e,i,n,r){var s=["","webkit","Moz","MS","ms","o"];var o=i.createElement("div");var a="function";var c=Math.round;var u=Math.abs;var l=Date.now;function f(t,e,i){return setTimeout(b(t,i),e)}function h(t,e,i){if(Array.isArray(t)){d(t,i[e],i);return true}return false}function d(t,e,i){var n;if(!t){return}if(t.forEach){t.forEach(e,i)}else if(t.length!==r){n=0;while(n<t.length){e.call(i,t[n],n,t);n++}}else{for(n in t){t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}}}function p(t,i,n){var r="DEPRECATED METHOD: "+i+"\n"+n+" AT \n";return function(){var i=new Error("get-stack-trace");var n=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace";var s=e.console&&(e.console.warn||e.console.log);if(s){s.call(e.console,r,n)}return t.apply(this,arguments)}}var m;if(typeof Object.assign!=="function"){m=function t(e){if(e===r||e===null){throw new TypeError("Cannot convert undefined or null to object")}var i=Object(e);for(var n=1;n<arguments.length;n++){var s=arguments[n];if(s!==r&&s!==null){for(var o in s){if(s.hasOwnProperty(o)){i[o]=s[o]}}}}return i}}else{m=Object.assign}var v=p((function t(e,i,n){var s=Object.keys(i);var o=0;while(o<s.length){if(!n||n&&e[s[o]]===r){e[s[o]]=i[s[o]]}o++}return e}),"extend","Use `assign`.");var g=p((function t(e,i){return v(e,i,true)}),"merge","Use `assign`.");function y(t,e,i){var n=e.prototype,r;r=t.prototype=Object.create(n);r.constructor=t;r._super=n;if(i){m(r,i)}}function b(t,e){return function i(){return t.apply(e,arguments)}}function w(t,e){if(typeof t==a){return t.apply(e?e[0]||r:r,e)}return t}function T(t,e){return t===r?e:t}function x(t,e,i){d(S(e),(function(e){t.addEventListener(e,i,false)}))}function E(t,e,i){d(S(e),(function(e){t.removeEventListener(e,i,false)}))}function k(t,e){while(t){if(t==e){return true}t=t.parentNode}return false}function A(t,e){return t.indexOf(e)>-1}function S(t){return t.trim().split(/\s+/g)}function R(t,e,i){if(t.indexOf&&!i){return t.indexOf(e)}else{var n=0;while(n<t.length){if(i&&t[n][i]==e||!i&&t[n]===e){return n}n++}return-1}}function _(t){return Array.prototype.slice.call(t,0)}function I(t,e,i){var n=[];var r=[];var s=0;while(s<t.length){var o=e?t[s][e]:t[s];if(R(r,o)<0){n.push(t[s])}r[s]=o;s++}if(i){if(!e){n=n.sort()}else{n=n.sort((function t(i,n){return i[e]>n[e]}))}}return n}function D(t,e){var i,n;var o=e[0].toUpperCase()+e.slice(1);var a=0;while(a<s.length){i=s[a];n=i?i+o:e;if(n in t){return n}a++}return r}var z=1;function M(){return z++}function O(t){var i=t.ownerDocument||t;return i.defaultView||i.parentWindow||e}var P=/mobile|tablet|ip(ad|hone|od)|android/i;var C="ontouchstart"in e;var N=D(e,"PointerEvent")!==r;var L=C&&P.test(navigator.userAgent);var F="touch";var j="pen";var U="mouse";var B="kinect";var W=25;var X=1;var H=2;var Y=4;var q=8;var $=1;var G=2;var V=4;var Z=8;var K=16;var J=G|V;var Q=Z|K;var tt=J|Q;var et=["x","y"];var it=["clientX","clientY"];function nt(t,e){var i=this;this.manager=t;this.callback=e;this.element=t.element;this.target=t.options.inputTarget;this.domHandler=function(e){if(w(t.options.enable,[t])){i.handler(e)}};this.init()}nt.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler);this.evTarget&&x(this.target,this.evTarget,this.domHandler);this.evWin&&x(O(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&E(this.element,this.evEl,this.domHandler);this.evTarget&&E(this.target,this.evTarget,this.domHandler);this.evWin&&E(O(this.element),this.evWin,this.domHandler)}};function rt(t){var e;var i=t.options.inputClass;if(i){e=i}else if(N){e=At}else if(L){e=Ot}else if(!C){e=wt}else{e=Lt}return new e(t,st)}function st(t,e,i){var n=i.pointers.length;var r=i.changedPointers.length;var s=e&X&&n-r===0;var o=e&(Y|q)&&n-r===0;i.isFirst=!!s;i.isFinal=!!o;if(s){t.session={}}i.eventType=e;ot(t,i);t.emit("hammer.input",i);t.recognize(i);t.session.prevInput=i}function ot(t,e){var i=t.session;var n=e.pointers;var r=n.length;if(!i.firstInput){i.firstInput=ut(e)}if(r>1&&!i.firstMultiple){i.firstMultiple=ut(e)}else if(r===1){i.firstMultiple=false}var s=i.firstInput;var o=i.firstMultiple;var a=o?o.center:s.center;var c=e.center=lt(n);e.timeStamp=l();e.deltaTime=e.timeStamp-s.timeStamp;e.angle=pt(a,c);e.distance=dt(a,c);at(i,e);e.offsetDirection=ht(e.deltaX,e.deltaY);var f=ft(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=f.x;e.overallVelocityY=f.y;e.overallVelocity=u(f.x)>u(f.y)?f.x:f.y;e.scale=o?vt(o.pointers,n):1;e.rotation=o?mt(o.pointers,n):0;e.maxPointers=!i.prevInput?e.pointers.length:e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers;ct(i,e);var h=t.element;if(k(e.srcEvent.target,h)){h=e.srcEvent.target}e.target=h}function at(t,e){var i=e.center;var n=t.offsetDelta||{};var r=t.prevDelta||{};var s=t.prevInput||{};if(e.eventType===X||s.eventType===Y){r=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0};n=t.offsetDelta={x:i.x,y:i.y}}e.deltaX=r.x+(i.x-n.x);e.deltaY=r.y+(i.y-n.y)}function ct(t,e){var i=t.lastInterval||e,n=e.timeStamp-i.timeStamp,s,o,a,c;if(e.eventType!=q&&(n>W||i.velocity===r)){var l=e.deltaX-i.deltaX;var f=e.deltaY-i.deltaY;var h=ft(n,l,f);o=h.x;a=h.y;s=u(h.x)>u(h.y)?h.x:h.y;c=ht(l,f);t.lastInterval=e}else{s=i.velocity;o=i.velocityX;a=i.velocityY;c=i.direction}e.velocity=s;e.velocityX=o;e.velocityY=a;e.direction=c}function ut(t){var e=[];var i=0;while(i<t.pointers.length){e[i]={clientX:c(t.pointers[i].clientX),clientY:c(t.pointers[i].clientY)};i++}return{timeStamp:l(),pointers:e,center:lt(e),deltaX:t.deltaX,deltaY:t.deltaY}}function lt(t){var e=t.length;if(e===1){return{x:c(t[0].clientX),y:c(t[0].clientY)}}var i=0,n=0,r=0;while(r<e){i+=t[r].clientX;n+=t[r].clientY;r++}return{x:c(i/e),y:c(n/e)}}function ft(t,e,i){return{x:e/t||0,y:i/t||0}}function ht(t,e){if(t===e){return $}if(u(t)>=u(e)){return t<0?G:V}return e<0?Z:K}function dt(t,e,i){if(!i){i=et}var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.sqrt(n*n+r*r)}function pt(t,e,i){if(!i){i=et}var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.atan2(r,n)*180/Math.PI}function mt(t,e){return pt(e[1],e[0],it)+pt(t[1],t[0],it)}function vt(t,e){return dt(e[0],e[1],it)/dt(t[0],t[1],it)}var gt={mousedown:X,mousemove:H,mouseup:Y};var yt="mousedown";var bt="mousemove mouseup";function wt(){this.evEl=yt;this.evWin=bt;this.pressed=false;nt.apply(this,arguments)}y(wt,nt,{handler:function t(e){var i=gt[e.type];if(i&X&&e.button===0){this.pressed=true}if(i&H&&e.which!==1){i=Y}if(!this.pressed){return}if(i&Y){this.pressed=false}this.callback(this.manager,i,{pointers:[e],changedPointers:[e],pointerType:U,srcEvent:e})}});var Tt={pointerdown:X,pointermove:H,pointerup:Y,pointercancel:q,pointerout:q};var xt={2:F,3:j,4:U,5:B};var Et="pointerdown";var kt="pointermove pointerup pointercancel";if(e.MSPointerEvent&&!e.PointerEvent){Et="MSPointerDown";kt="MSPointerMove MSPointerUp MSPointerCancel"}function At(){this.evEl=Et;this.evWin=kt;nt.apply(this,arguments);this.store=this.manager.session.pointerEvents=[]}y(At,nt,{handler:function t(e){var i=this.store;var n=false;var r=e.type.toLowerCase().replace("ms","");var s=Tt[r];var o=xt[e.pointerType]||e.pointerType;var a=o==F;var c=R(i,e.pointerId,"pointerId");if(s&X&&(e.button===0||a)){if(c<0){i.push(e);c=i.length-1}}else if(s&(Y|q)){n=true}if(c<0){return}i[c]=e;this.callback(this.manager,s,{pointers:i,changedPointers:[e],pointerType:o,srcEvent:e});if(n){i.splice(c,1)}}});var St={touchstart:X,touchmove:H,touchend:Y,touchcancel:q};var Rt="touchstart";var _t="touchstart touchmove touchend touchcancel";function It(){this.evTarget=Rt;this.evWin=_t;this.started=false;nt.apply(this,arguments)}y(It,nt,{handler:function t(e){var i=St[e.type];if(i===X){this.started=true}if(!this.started){return}var n=Dt.call(this,e,i);if(i&(Y|q)&&n[0].length-n[1].length===0){this.started=false}this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:e})}});function Dt(t,e){var i=_(t.touches);var n=_(t.changedTouches);if(e&(Y|q)){i=I(i.concat(n),"identifier",true)}return[i,n]}var zt={touchstart:X,touchmove:H,touchend:Y,touchcancel:q};var Mt="touchstart touchmove touchend touchcancel";function Ot(){this.evTarget=Mt;this.targetIds={};nt.apply(this,arguments)}y(Ot,nt,{handler:function t(e){var i=zt[e.type];var n=Pt.call(this,e,i);if(!n){return}this.callback(this.manager,i,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:e})}});function Pt(t,e){var i=_(t.touches);var n=this.targetIds;if(e&(X|H)&&i.length===1){n[i[0].identifier]=true;return[i,i]}var r,s,o=_(t.changedTouches),a=[],c=this.target;s=i.filter((function(t){return k(t.target,c)}));if(e===X){r=0;while(r<s.length){n[s[r].identifier]=true;r++}}r=0;while(r<o.length){if(n[o[r].identifier]){a.push(o[r])}if(e&(Y|q)){delete n[o[r].identifier]}r++}if(!a.length){return}return[I(s.concat(a),"identifier",true),a]}var Ct=2500;var Nt=25;function Lt(){nt.apply(this,arguments);var t=b(this.handler,this);this.touch=new Ot(this.manager,t);this.mouse=new wt(this.manager,t);this.primaryTouch=null;this.lastTouches=[]}y(Lt,nt,{handler:function t(e,i,n){var r=n.pointerType==F,s=n.pointerType==U;if(s&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents){return}if(r){Ft.call(this,i,n)}else if(s&&Ut.call(this,n)){return}this.callback(e,i,n)},destroy:function t(){this.touch.destroy();this.mouse.destroy()}});function Ft(t,e){if(t&X){this.primaryTouch=e.changedPointers[0].identifier;jt.call(this,e)}else if(t&(Y|q)){jt.call(this,e)}}function jt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var n=this.lastTouches;var r=function(){var t=n.indexOf(i);if(t>-1){n.splice(t,1)}};setTimeout(r,Ct)}}function Ut(t){var e=t.srcEvent.clientX,i=t.srcEvent.clientY;for(var n=0;n<this.lastTouches.length;n++){var r=this.lastTouches[n];var s=Math.abs(e-r.x),o=Math.abs(i-r.y);if(s<=Nt&&o<=Nt){return true}}return false}var Bt=D(o.style,"touchAction");var Wt=Bt!==r;var Xt="compute";var Ht="auto";var Yt="manipulation";var qt="none";var $t="pan-x";var Gt="pan-y";var Vt=Jt();function Zt(t,e){this.manager=t;this.set(e)}Zt.prototype={set:function(t){if(t==Xt){t=this.compute()}if(Wt&&this.manager.element.style&&Vt[t]){this.manager.element.style[Bt]=t}this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];d(this.manager.recognizers,(function(e){if(w(e.options.enable,[e])){t=t.concat(e.getTouchAction())}}));return Kt(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent;var i=t.offsetDirection;if(this.manager.session.prevented){e.preventDefault();return}var n=this.actions;var r=A(n,qt)&&!Vt[qt];var s=A(n,Gt)&&!Vt[Gt];var o=A(n,$t)&&!Vt[$t];if(r){var a=t.pointers.length===1;var c=t.distance<2;var u=t.deltaTime<250;if(a&&c&&u){return}}if(o&&s){return}if(r||s&&i&J||o&&i&Q){return this.preventSrc(e)}},preventSrc:function(t){this.manager.session.prevented=true;t.preventDefault()}};function Kt(t){if(A(t,qt)){return qt}var e=A(t,$t);var i=A(t,Gt);if(e&&i){return qt}if(e||i){return e?$t:Gt}if(A(t,Yt)){return Yt}return Ht}function Jt(){if(!Wt){return false}var t={};var i=e.CSS&&e.CSS.supports;["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=i?e.CSS.supports("touch-action",n):true}));return t}var Qt=1;var te=2;var ee=4;var ie=8;var ne=ie;var re=16;var se=32;function oe(t){this.options=m({},this.defaults,t||{});this.id=M();this.manager=null;this.options.enable=T(this.options.enable,true);this.state=Qt;this.simultaneous={};this.requireFail=[]}oe.prototype={defaults:{},set:function(t){m(this.options,t);this.manager&&this.manager.touchAction.update();return this},recognizeWith:function(t){if(h(t,"recognizeWith",this)){return this}var e=this.simultaneous;t=ue(t,this);if(!e[t.id]){e[t.id]=t;t.recognizeWith(this)}return this},dropRecognizeWith:function(t){if(h(t,"dropRecognizeWith",this)){return this}t=ue(t,this);delete this.simultaneous[t.id];return this},requireFailure:function(t){if(h(t,"requireFailure",this)){return this}var e=this.requireFail;t=ue(t,this);if(R(e,t)===-1){e.push(t);t.requireFailure(this)}return this},dropRequireFailure:function(t){if(h(t,"dropRequireFailure",this)){return this}t=ue(t,this);var e=R(this.requireFail,t);if(e>-1){this.requireFail.splice(e,1)}return this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this;var i=this.state;function n(i){e.manager.emit(i,t)}if(i<ie){n(e.options.event+ae(i))}n(e.options.event);if(t.additionalEvent){n(t.additionalEvent)}if(i>=ie){n(e.options.event+ae(i))}},tryEmit:function(t){if(this.canEmit()){return this.emit(t)}this.state=se},canEmit:function(){var t=0;while(t<this.requireFail.length){if(!(this.requireFail[t].state&(se|Qt))){return false}t++}return true},recognize:function(t){var e=m({},t);if(!w(this.options.enable,[this,e])){this.reset();this.state=se;return}if(this.state&(ne|re|se)){this.state=Qt}this.state=this.process(e);if(this.state&(te|ee|ie|re)){this.tryEmit(e)}},process:function(t){},getTouchAction:function(){},reset:function(){}};function ae(t){if(t&re){return"cancel"}else if(t&ie){return"end"}else if(t&ee){return"move"}else if(t&te){return"start"}return""}function ce(t){if(t==K){return"down"}else if(t==Z){return"up"}else if(t==G){return"left"}else if(t==V){return"right"}return""}function ue(t,e){var i=e.manager;if(i){return i.get(t)}return t}function le(){oe.apply(this,arguments)}y(le,oe,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return e===0||t.pointers.length===e},process:function(t){var e=this.state;var i=t.eventType;var n=e&(te|ee);var r=this.attrTest(t);if(n&&(i&q||!r)){return e|re}else if(n||r){if(i&Y){return e|ie}else if(!(e&te)){return te}return e|ee}return se}});function fe(){le.apply(this,arguments);this.pX=null;this.pY=null}y(fe,le,{defaults:{event:"pan",threshold:10,pointers:1,direction:tt},getTouchAction:function(){var t=this.options.direction;var e=[];if(t&J){e.push(Gt)}if(t&Q){e.push($t)}return e},directionTest:function(t){var e=this.options;var i=true;var n=t.distance;var r=t.direction;var s=t.deltaX;var o=t.deltaY;if(!(r&e.direction)){if(e.direction&J){r=s===0?$:s<0?G:V;i=s!=this.pX;n=Math.abs(t.deltaX)}else{r=o===0?$:o<0?Z:K;i=o!=this.pY;n=Math.abs(t.deltaY)}}t.direction=r;return i&&n>e.threshold&&r&e.direction},attrTest:function(t){return le.prototype.attrTest.call(this,t)&&(this.state&te||!(this.state&te)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX;this.pY=t.deltaY;var e=ce(t.direction);if(e){t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}});function he(){le.apply(this,arguments)}y(he,le,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&te)},emit:function(t){if(t.scale!==1){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}});function de(){oe.apply(this,arguments);this._timer=null;this._input=null}y(de,oe,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ht]},process:function(t){var e=this.options;var i=t.pointers.length===e.pointers;var n=t.distance<e.threshold;var r=t.deltaTime>e.time;this._input=t;if(!n||!i||t.eventType&(Y|q)&&!r){this.reset()}else if(t.eventType&X){this.reset();this._timer=f((function(){this.state=ne;this.tryEmit()}),e.time,this)}else if(t.eventType&Y){return ne}return se},reset:function(){clearTimeout(this._timer)},emit:function(t){if(this.state!==ne){return}if(t&&t.eventType&Y){this.manager.emit(this.options.event+"up",t)}else{this._input.timeStamp=l();this.manager.emit(this.options.event,this._input)}}});function pe(){le.apply(this,arguments)}y(pe,le,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[qt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&te)}});function me(){le.apply(this,arguments)}y(me,le,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:J|Q,pointers:1},getTouchAction:function(){return fe.prototype.getTouchAction.call(this)},attrTest:function(t){var e=this.options.direction;var i;if(e&(J|Q)){i=t.overallVelocity}else if(e&J){i=t.overallVelocityX}else if(e&Q){i=t.overallVelocityY}return this._super.attrTest.call(this,t)&&e&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&u(i)>this.options.velocity&&t.eventType&Y},emit:function(t){var e=ce(t.offsetDirection);if(e){this.manager.emit(this.options.event+e,t)}this.manager.emit(this.options.event,t)}});function ve(){oe.apply(this,arguments);this.pTime=false;this.pCenter=false;this._timer=null;this._input=null;this.count=0}y(ve,oe,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Yt]},process:function(t){var e=this.options;var i=t.pointers.length===e.pointers;var n=t.distance<e.threshold;var r=t.deltaTime<e.time;this.reset();if(t.eventType&X&&this.count===0){return this.failTimeout()}if(n&&r&&i){if(t.eventType!=Y){return this.failTimeout()}var s=this.pTime?t.timeStamp-this.pTime<e.interval:true;var o=!this.pCenter||dt(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp;this.pCenter=t.center;if(!o||!s){this.count=1}else{this.count+=1}this._input=t;var a=this.count%e.taps;if(a===0){if(!this.hasRequireFailures()){return ne}else{this._timer=f((function(){this.state=ne;this.tryEmit()}),e.interval,this);return te}}}return se},failTimeout:function(){this._timer=f((function(){this.state=se}),this.options.interval,this);return se},reset:function(){clearTimeout(this._timer)},emit:function(){if(this.state==ne){this._input.tapCount=this.count;this.manager.emit(this.options.event,this._input)}}});function ge(t,e){e=e||{};e.recognizers=T(e.recognizers,ge.defaults.preset);return new we(t,e)}ge.VERSION="2.0.7";ge.defaults={domEvents:false,touchAction:Xt,enable:true,inputTarget:null,inputClass:null,preset:[[pe,{enable:false}],[he,{enable:false},["rotate"]],[me,{direction:J}],[fe,{direction:J},["swipe"]],[ve],[ve,{event:"doubletap",taps:2},["tap"]],[de]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var ye=1;var be=2;function we(t,e){this.options=m({},ge.defaults,e||{});this.options.inputTarget=this.options.inputTarget||t;this.handlers={};this.session={};this.recognizers=[];this.oldCssProps={};this.element=t;this.input=rt(this);this.touchAction=new Zt(this,this.options.touchAction);Te(this,true);d(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]);t[3]&&e.requireFailure(t[3])}),this)}we.prototype={set:function(t){m(this.options,t);if(t.touchAction){this.touchAction.update()}if(t.inputTarget){this.input.destroy();this.input.target=t.inputTarget;this.input.init()}return this},stop:function(t){this.session.stopped=t?be:ye},recognize:function(t){var e=this.session;if(e.stopped){return}this.touchAction.preventDefaults(t);var i;var n=this.recognizers;var r=e.curRecognizer;if(!r||r&&r.state&ne){r=e.curRecognizer=null}var s=0;while(s<n.length){i=n[s];if(e.stopped!==be&&(!r||i==r||i.canRecognizeWith(r))){i.recognize(t)}else{i.reset()}if(!r&&i.state&(te|ee|ie)){r=e.curRecognizer=i}s++}},get:function(t){if(t instanceof oe){return t}var e=this.recognizers;for(var i=0;i<e.length;i++){if(e[i].options.event==t){return e[i]}}return null},add:function(t){if(h(t,"add",this)){return this}var e=this.get(t.options.event);if(e){this.remove(e)}this.recognizers.push(t);t.manager=this;this.touchAction.update();return t},remove:function(t){if(h(t,"remove",this)){return this}t=this.get(t);if(t){var e=this.recognizers;var i=R(e,t);if(i!==-1){e.splice(i,1);this.touchAction.update()}}return this},on:function(t,e){if(t===r){return}if(e===r){return}var i=this.handlers;d(S(t),(function(t){i[t]=i[t]||[];i[t].push(e)}));return this},off:function(t,e){if(t===r){return}var i=this.handlers;d(S(t),(function(t){if(!e){delete i[t]}else{i[t]&&i[t].splice(R(i[t],e),1)}}));return this},emit:function(t,e){if(this.options.domEvents){xe(t,e)}var i=this.handlers[t]&&this.handlers[t].slice();if(!i||!i.length){return}e.type=t;e.preventDefault=function(){e.srcEvent.preventDefault()};var n=0;while(n<i.length){i[n](e);n++}},destroy:function(){this.element&&Te(this,false);this.handlers={};this.session={};this.input.destroy();this.element=null}};function Te(t,e){var i=t.element;if(!i.style){return}var n;d(t.options.cssProps,(function(r,s){n=D(i.style,s);if(e){t.oldCssProps[n]=i.style[n];i.style[n]=r}else{i.style[n]=t.oldCssProps[n]||""}}));if(!e){t.oldCssProps={}}}function xe(t,e){var n=i.createEvent("Event");n.initEvent(t,true,true);n.gesture=e;e.target.dispatchEvent(n)}m(ge,{INPUT_START:X,INPUT_MOVE:H,INPUT_END:Y,INPUT_CANCEL:q,STATE_POSSIBLE:Qt,STATE_BEGAN:te,STATE_CHANGED:ee,STATE_ENDED:ie,STATE_RECOGNIZED:ne,STATE_CANCELLED:re,STATE_FAILED:se,DIRECTION_NONE:$,DIRECTION_LEFT:G,DIRECTION_RIGHT:V,DIRECTION_UP:Z,DIRECTION_DOWN:K,DIRECTION_HORIZONTAL:J,DIRECTION_VERTICAL:Q,DIRECTION_ALL:tt,Manager:we,Input:nt,TouchAction:Zt,TouchInput:Ot,MouseInput:wt,PointerEventInput:At,TouchMouseInput:Lt,SingleTouchInput:It,Recognizer:oe,AttrRecognizer:le,Tap:ve,Pan:fe,Swipe:me,Pinch:he,Rotate:pe,Press:de,on:x,off:E,each:d,merge:g,extend:v,assign:m,inherit:y,bindFn:b,prefixed:D});var Ee=typeof e!=="undefined"?e:typeof self!=="undefined"?self:{};Ee.Hammer=ge;if(typeof r==="function"&&r.amd){r((function(){return ge}))}else if(t.exports){t.exports=ge}else{e[n]=ge}})(window,document,"Hammer")})(l);const f=l.exports;const h=":host{--percentuale:0;display:flex;width:100%;min-width:200px;max-width:100dvw;box-sizing:border-box;background:var(--color-surface01);border-radius:var(--border-size-large);box-shadow:var(--shadow-3);color:var(--color-default-text);fill:var(--color-primary01-icon);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-rg)}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}.toast-notification-container{display:flex;width:100%;align-items:baseline;justify-content:space-between;padding:calc(var(--space-unit) * 2);border-radius:var(--border-radius);gap:calc(var(--space-unit) * 2)}.toast-notification-content{display:flex;width:100%;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:calc(var(--space-unit) * 2)}.toast-notification-content .toast-notification-text{color:inherit;letter-spacing:0.16px;line-height:1.25rem}.toast-notification-content .toast-notification-text .title{margin-right:calc(var(--space-unit) / 2);font-weight:var(--font-sb)}.close-button{height:1.125rem;padding:0;border:none;background-color:transparent;cursor:pointer}.close-button z-icon{--z-icon-width:1.125rem;--z-icon-height:1.125rem;display:inline-block;height:1.25rem}.close-button:focus:focus-visible{border-radius:50%;box-shadow:var(--shadow-focus-primary);outline:none}:host(.dark){background:var(--color-surface05);color:var(--color-text-inverse);fill:var(--color-inverse-icon)}:host(.dark) .close-button:focus:focus-visible{box-shadow:0 0 0 2px var(--gray900),\n 0 0 2px 5px var(--blue25)}:host(.accent){background:var(--color-primary01)}:host(.error){background:var(--color-default-error)}:host(.success){background:var(--color-default-success)}:host(.warning){background:var(--color-default-warning)}:host(.accent),:host(.error),:host(.success){color:var(--color-text-inverse);fill:var(--color-inverse-icon)}:host(.warning) .close-button{fill:var(--color-default-icon)}@media (min-width: 768px){:host{width:fit-content;max-width:50vw}.toast-notification-content{flex-wrap:nowrap}}@media (min-width: 1366px){:host{max-width:33vw}}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideindown{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideoutleft{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(-100%)}}@keyframes slideoutright{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(100%)}}@keyframes slideoutup{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(-100%)}}@keyframes slideoutdown{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(100%)}}";const d=h;const p={[s.SLIDE_IN_DOWN]:s.SLIDE_OUT_UP,[s.SLIDE_IN_UP]:s.SLIDE_OUT_DOWN,[s.SLIDE_IN_LEFT]:s.SLIDE_OUT_RIGHT,[s.SLIDE_IN_RIGHT]:s.SLIDE_OUT_LEFT};const m=class{constructor(i){t(this,i);this.toastClose=e(this,"toastClose",7);this.isCloseEventCalled=false;this.heading=undefined;this.message=undefined;this.closebutton=undefined;this.autoclose=undefined;this.pauseonfocusloss=true;this.type=undefined;this.isdraggable=true;this.draggablepercentage=80;this.transition=undefined;this.percentage=undefined;this.hasSlottedButton=undefined}watchPropIsdraggable(t){if(t){this.sliderManager.get("pan").set({enable:true})}else{this.sliderManager.get("pan").set({enable:false})}}watchPropAutoclose(t){clearTimeout(this.timeoutHandle);this.startClosingTimeout(t)}watchPropPauseonfocusloss(t){if(this.autoclose){if(t){document.addEventListener("visibilitychange",this.visibilityChangeEventHandler)}else{document.removeEventListener("visibilitychange",this.visibilityChangeEventHandler)}}}close(t,e){if(e&&this.timeoutHandle){clearTimeout(this.timeoutHandle)}this.timeoutHandle=null;this.elapsedTime=null;this.toastClose.emit();if(t){this.hostElement.classList.add(t)}else{this.hostElement.parentNode.removeChild(this.hostElement)}}visibilityChangeEventHandler(){if(document.visibilityState==="hidden"){this.timeoutHandle&&this.onBlur()}else{this.elapsedTime&&this.onFocus()}}validateAutoclose(){if(!this.autoclose&&!this.closebutton){console.error("At least one between autoclose and closebutton must be present")}}calculateDraggedPercentage(t){const e=this.hostElement.getBoundingClientRect();return Math.round(100*t.deltaX/e.width)}handleSlideOutDragAnimation(){this.sliderManager=new f(this.hostElement);this.sliderManager.get("pan").set({direction:f.DIRECTION_HORIZONTAL});this.sliderManager.on("pan",(t=>{this.percentage=this.calculateDraggedPercentage(t);this.hostElement.style.transition="none";if(this.transition){this.hostElement.classList.remove(this.transition)}const e={translate:`translateX(${this.percentage}%)`,translateBack:"translateX(0)"};this.hostElement.style.opacity=`${100-Math.abs(this.percentage)}%`;if(t.eventType===f.DIRECTION_LEFT||t.eventType===f.DIRECTION_RIGHT){this.hostElement.style.transform=e.translate;if(Math.abs(this.percentage)>this.draggablepercentage&&!this.isCloseEventCalled){this.isCloseEventCalled=true;this.close(t.direction===f.DIRECTION_LEFT?s.SLIDE_OUT_LEFT:s.SLIDE_OUT_RIGHT,true)}}if(t.isFinal&&Math.abs(this.percentage)<this.draggablepercentage){this.hostElement.style.transform=e.translateBack;this.hostElement.style.transition="all 1s";this.hostElement.style.opacity="100%";this.percentage=0}}))}onFocus(){let t=this.autoclose;if(this.elapsedTime){t=this.autoclose-this.elapsedTime}if(t>0){this.startClosingTimeout(t)}}onBlur(){this.elapsedTime=Date.now()-this.startTime;clearTimeout(this.timeoutHandle)}startClosingTimeout(t){this.timeoutHandle=window.setTimeout((()=>this.close(p[this.transition],false)),t)}checkSlottedButton(){this.hasSlottedButton=!!this.hostElement.querySelector("[slot='button']")}componentWillLoad(){this.validateAutoclose();this.checkSlottedButton();this.percentage=0}componentDidLoad(){this.startTime=Date.now();if(this.autoclose){if(this.pauseonfocusloss){document.addEventListener("visibilitychange",this.visibilityChangeEventHandler)}if(!this.transition){this.startClosingTimeout(this.autoclose)}}this.isdraggable&&this.handleSlideOutDragAnimation()}render(){return i(n,{key:"4dddb200f4671bbd69e8d1470d0d441678da3039",style:{"--percentuale":`${this.percentage}%`},class:{[this.transition]:!!this.transition,[this.type]:!!this.type},onAnimationEnd:t=>{if(this.autoclose&&t.animationName.includes("slidein")){this.startClosingTimeout(this.autoclose)}if(t.animationName.includes("slideout")){this.hostElement.parentNode.removeChild(this.hostElement)}}},i("div",{key:"424761a172e8f139e35d9c1b2139a4093e5ac48d",class:"toast-notification-container"},i("div",{key:"f1f8f3b2cfb8dde84ba0e136ac94631b47993975",class:"toast-notification-content"},i("div",{key:"75c17b6a15c05dea66744ddb08a9abfcda21be28",class:"toast-notification-text"},this.heading&&i("span",{key:"94eda50ee38a39cec7056ee113b9863b54ed1555",class:"title"},this.heading),i("span",{key:"def713dd54fac1d0332c82c12ec4878672dddf1f",class:"message"},i("slot",{key:"30cd97c7a2381c5a25e1b184524cb2fce29a549c",name:"message"},this.message&&i("span",{key:"fc4c5cf459f595cb3727d5328ecb12419d1ea405",innerHTML:u.sanitize(this.message)})))),i("div",{key:"994505f881dbe43ab69eb42c449afb0dc4d46336",class:"button-container",hidden:!this.hasSlottedButton},i("slot",{key:"b4a78b86c8d3b98750bcafee88d43bb47712558c",name:"button",onSlotchange:()=>this.checkSlottedButton()}))),this.closebutton&&i("button",{key:"6658b9fe87e402ad434afe3bc50d4bf99f19b7a4",class:"close-button","aria-label":"Chiudi notifica",onClick:()=>this.close(p[this.transition],true),onKeyDown:t=>{if(t.code==o.SPACE||t.code==o.ENTER){t.preventDefault();this.close(p[this.transition],true)}}},i("z-icon",{key:"2edf589b7755c20c21217a8161736eeee5859cc9",name:"multiply-circled"}))))}get hostElement(){return r(this)}static get watchers(){return{isdraggable:["watchPropIsdraggable"],autoclose:["watchPropAutoclose"],pauseonfocusloss:["watchPropPauseonfocusloss"]}}};m.style=d;export{m as z_toast_notification};
8
+ //# sourceMappingURL=p-e8eacbeb.entry.js.map