@maggioli-design-system/magma 1.11.7 → 1.12.0

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 (301) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/magma-components.cjs.js +1 -1
  3. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  4. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  5. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  6. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  7. package/dist/cjs/mds-author.cjs.entry.js +2 -2
  8. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  9. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/mds-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  13. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-bibliography.cjs.entry.js +7 -7
  15. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
  17. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-button_3.cjs.entry.js +2 -2
  20. package/dist/cjs/mds-calendar_2.cjs.entry.js +246 -128
  21. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  28. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-entity.cjs.entry.js +4 -4
  30. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  31. package/dist/cjs/mds-file.cjs.entry.js +3 -3
  32. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
  35. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  36. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  37. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-input-date-range.cjs.entry.js +197 -55
  39. package/dist/cjs/mds-input-date.cjs.entry.js +16 -10
  40. package/dist/cjs/mds-input.cjs.entry.js +9 -9
  41. package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
  42. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +1 -1
  43. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
  44. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +1 -1
  45. package/dist/collection/components/mds-author/mds-author.js +2 -2
  46. package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
  47. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
  48. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
  49. package/dist/collection/components/mds-badge/mds-badge.js +1 -1
  50. package/dist/collection/components/mds-banner/mds-banner.js +2 -2
  51. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
  52. package/dist/collection/components/mds-bibliography/mds-bibliography.js +7 -7
  53. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -2
  54. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
  55. package/dist/collection/components/mds-button/mds-button.js +1 -1
  56. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  57. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  58. package/dist/collection/components/mds-calendar/mds-calendar.css +50 -7
  59. package/dist/collection/components/mds-calendar/mds-calendar.js +413 -128
  60. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  61. package/dist/collection/components/mds-card/mds-card.js +1 -1
  62. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  63. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  64. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  65. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  66. package/dist/collection/components/mds-chip/mds-chip.js +3 -3
  67. package/dist/collection/components/mds-details/mds-details.js +1 -1
  68. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  69. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  70. package/dist/collection/components/mds-entity/mds-entity.js +4 -4
  71. package/dist/collection/components/mds-file/mds-file.js +3 -3
  72. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  73. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  74. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  75. package/dist/collection/components/mds-header/mds-header.js +2 -2
  76. package/dist/collection/components/mds-header-bar/mds-header-bar.js +3 -3
  77. package/dist/collection/components/mds-help/mds-help.js +1 -1
  78. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  79. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  80. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  81. package/dist/collection/components/mds-input/mds-input.js +9 -9
  82. package/dist/collection/components/mds-input-date/mds-input-date.js +19 -11
  83. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +33 -1
  84. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +220 -70
  85. package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +10 -0
  86. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  87. package/dist/components/mds-accordion-item.js +1 -1
  88. package/dist/components/mds-accordion-timer-item.js +1 -1
  89. package/dist/components/mds-accordion-timer.js +1 -1
  90. package/dist/components/mds-accordion.js +1 -1
  91. package/dist/components/mds-author.js +2 -2
  92. package/dist/components/mds-avatar-stack-item2.js +1 -1
  93. package/dist/components/mds-avatar-stack.js +1 -1
  94. package/dist/components/mds-avatar2.js +1 -1
  95. package/dist/components/mds-badge2.js +1 -1
  96. package/dist/components/mds-banner2.js +2 -2
  97. package/dist/components/mds-benchmark-bar.js +1 -1
  98. package/dist/components/mds-bibliography.js +7 -7
  99. package/dist/components/mds-breadcrumb-item.js +1 -1
  100. package/dist/components/mds-breadcrumb.js +2 -2
  101. package/dist/components/mds-button-dropdown.js +1 -1
  102. package/dist/components/mds-button-group.js +1 -1
  103. package/dist/components/mds-button2.js +1 -1
  104. package/dist/components/mds-calendar-cell2.js +1 -1
  105. package/dist/components/mds-calendar2.js +256 -128
  106. package/dist/components/mds-card-content.js +1 -1
  107. package/dist/components/mds-card-footer.js +1 -1
  108. package/dist/components/mds-card-header.js +1 -1
  109. package/dist/components/mds-card-media.js +1 -1
  110. package/dist/components/mds-card.js +1 -1
  111. package/dist/components/mds-chip2.js +3 -3
  112. package/dist/components/mds-details.js +1 -1
  113. package/dist/components/mds-dropdown2.js +2 -2
  114. package/dist/components/mds-emoji.js +1 -1
  115. package/dist/components/mds-entity.js +4 -4
  116. package/dist/components/mds-file-preview2.js +2 -2
  117. package/dist/components/mds-file.js +3 -3
  118. package/dist/components/mds-filter-item2.js +1 -1
  119. package/dist/components/mds-filter.js +1 -1
  120. package/dist/components/mds-header-bar.js +3 -3
  121. package/dist/components/mds-header.js +2 -2
  122. package/dist/components/mds-help2.js +1 -1
  123. package/dist/components/mds-horizontal-scroll.js +1 -1
  124. package/dist/components/mds-hr.js +1 -1
  125. package/dist/components/mds-icon2.js +1 -1
  126. package/dist/components/mds-input-date-range.js +199 -55
  127. package/dist/components/mds-input-date.js +17 -10
  128. package/dist/components/mds-input2.js +9 -9
  129. package/dist/documentation.json +238 -32
  130. package/dist/esm/loader.js +1 -1
  131. package/dist/esm/magma-components.js +1 -1
  132. package/dist/esm/mds-accordion-item.entry.js +1 -1
  133. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  134. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  135. package/dist/esm/mds-accordion.entry.js +1 -1
  136. package/dist/esm/mds-author.entry.js +2 -2
  137. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  138. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  139. package/dist/esm/mds-avatar.entry.js +1 -1
  140. package/dist/esm/mds-badge.entry.js +1 -1
  141. package/dist/esm/mds-banner_3.entry.js +6 -6
  142. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  143. package/dist/esm/mds-bibliography.entry.js +7 -7
  144. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  145. package/dist/esm/mds-breadcrumb.entry.js +2 -2
  146. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  147. package/dist/esm/mds-button-group.entry.js +1 -1
  148. package/dist/esm/mds-button_3.entry.js +2 -2
  149. package/dist/esm/mds-calendar_2.entry.js +246 -128
  150. package/dist/esm/mds-card-content.entry.js +1 -1
  151. package/dist/esm/mds-card-footer.entry.js +1 -1
  152. package/dist/esm/mds-card-header.entry.js +1 -1
  153. package/dist/esm/mds-card-media.entry.js +1 -1
  154. package/dist/esm/mds-card.entry.js +1 -1
  155. package/dist/esm/mds-details.entry.js +1 -1
  156. package/dist/esm/mds-dropdown.entry.js +2 -2
  157. package/dist/esm/mds-emoji.entry.js +1 -1
  158. package/dist/esm/mds-entity.entry.js +4 -4
  159. package/dist/esm/mds-file-preview.entry.js +2 -2
  160. package/dist/esm/mds-file.entry.js +3 -3
  161. package/dist/esm/mds-filter-item.entry.js +1 -1
  162. package/dist/esm/mds-filter.entry.js +1 -1
  163. package/dist/esm/mds-header-bar.entry.js +3 -3
  164. package/dist/esm/mds-header.entry.js +2 -2
  165. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  166. package/dist/esm/mds-hr.entry.js +1 -1
  167. package/dist/esm/mds-input-date-range.entry.js +197 -55
  168. package/dist/esm/mds-input-date.entry.js +16 -10
  169. package/dist/esm/mds-input.entry.js +9 -9
  170. package/dist/esm-es5/loader.js +1 -1
  171. package/dist/esm-es5/magma-components.js +1 -1
  172. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  173. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  174. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  175. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  176. package/dist/esm-es5/mds-author.entry.js +1 -1
  177. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  178. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  179. package/dist/esm-es5/mds-avatar.entry.js +1 -1
  180. package/dist/esm-es5/mds-badge.entry.js +1 -1
  181. package/dist/esm-es5/mds-banner_3.entry.js +1 -1
  182. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  183. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  184. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  185. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  186. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  187. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  188. package/dist/esm-es5/mds-button_3.entry.js +1 -1
  189. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  190. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  191. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  192. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  193. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  194. package/dist/esm-es5/mds-card.entry.js +1 -1
  195. package/dist/esm-es5/mds-details.entry.js +1 -1
  196. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  197. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  198. package/dist/esm-es5/mds-entity.entry.js +1 -1
  199. package/dist/esm-es5/mds-file-preview.entry.js +1 -1
  200. package/dist/esm-es5/mds-file.entry.js +1 -1
  201. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  202. package/dist/esm-es5/mds-filter.entry.js +1 -1
  203. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  204. package/dist/esm-es5/mds-header.entry.js +1 -1
  205. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  206. package/dist/esm-es5/mds-hr.entry.js +1 -1
  207. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  208. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  209. package/dist/esm-es5/mds-input.entry.js +1 -1
  210. package/dist/hydrate/index.js +539 -262
  211. package/dist/hydrate/index.mjs +539 -262
  212. package/dist/magma-components/magma-components.esm.js +1 -1
  213. package/dist/magma-components/{p-e3b0adb8.entry.js → p-02c9dffb.entry.js} +1 -1
  214. package/dist/magma-components/{p-e8626e7a.system.entry.js → p-03b5bdae.system.entry.js} +1 -1
  215. package/dist/magma-components/{p-fec5168f.entry.js → p-09b27f6e.entry.js} +1 -1
  216. package/dist/magma-components/p-09cbad84.system.entry.js +1 -0
  217. package/dist/magma-components/{p-0c3b813d.entry.js → p-0a9db9fc.entry.js} +1 -1
  218. package/dist/magma-components/{p-beeaec1c.entry.js → p-10957e40.entry.js} +1 -1
  219. package/dist/magma-components/{p-42f5037a.entry.js → p-14cad758.entry.js} +1 -1
  220. package/dist/magma-components/{p-35d85970.entry.js → p-188c906e.entry.js} +1 -1
  221. package/dist/magma-components/{p-91e16169.system.entry.js → p-191e79c8.system.entry.js} +1 -1
  222. package/dist/magma-components/{p-1a8d42d1.system.entry.js → p-1c37f4ce.system.entry.js} +1 -1
  223. package/dist/magma-components/{p-30648e76.system.entry.js → p-1cd6c3fe.system.entry.js} +1 -1
  224. package/dist/magma-components/{p-c3ae9ba7.system.entry.js → p-1f52a479.system.entry.js} +1 -1
  225. package/dist/magma-components/p-20e0f9e3.entry.js +1 -0
  226. package/dist/magma-components/p-26cd6ec8.system.js +1 -1
  227. package/dist/magma-components/{p-237d60e2.system.entry.js → p-2910fa0c.system.entry.js} +1 -1
  228. package/dist/magma-components/{p-d95c9d2e.system.entry.js → p-2d947462.system.entry.js} +1 -1
  229. package/dist/magma-components/{p-0b25be9f.entry.js → p-342a07c7.entry.js} +1 -1
  230. package/dist/magma-components/{p-b228a186.system.entry.js → p-39d9f24d.system.entry.js} +1 -1
  231. package/dist/magma-components/{p-27cb23f6.entry.js → p-3a57f53d.entry.js} +1 -1
  232. package/dist/magma-components/{p-0689710c.system.entry.js → p-3b267a52.system.entry.js} +1 -1
  233. package/dist/magma-components/{p-224f80f4.entry.js → p-3bf7d52c.entry.js} +1 -1
  234. package/dist/magma-components/{p-2de8157b.system.entry.js → p-432be440.system.entry.js} +1 -1
  235. package/dist/magma-components/{p-5eca660e.system.entry.js → p-43a2f192.system.entry.js} +1 -1
  236. package/dist/magma-components/{p-eaf4805a.entry.js → p-48a2e8e4.entry.js} +1 -1
  237. package/dist/magma-components/{p-ff674ef9.entry.js → p-4ab9c985.entry.js} +1 -1
  238. package/dist/magma-components/{p-40eeffe8.entry.js → p-4b76248b.entry.js} +1 -1
  239. package/dist/magma-components/{p-11df77b3.entry.js → p-4cf97724.entry.js} +1 -1
  240. package/dist/magma-components/{p-0e2b6dd3.system.entry.js → p-5359bf5e.system.entry.js} +1 -1
  241. package/dist/magma-components/{p-536b4c16.entry.js → p-5619ed51.entry.js} +1 -1
  242. package/dist/magma-components/{p-d738a403.system.entry.js → p-5edd2f30.system.entry.js} +1 -1
  243. package/dist/magma-components/{p-033e85f1.entry.js → p-606cd4bb.entry.js} +1 -1
  244. package/dist/magma-components/{p-e9ade624.system.entry.js → p-61c35e05.system.entry.js} +1 -1
  245. package/dist/magma-components/{p-6e680417.system.entry.js → p-68a7d370.system.entry.js} +1 -1
  246. package/dist/magma-components/{p-409c9518.system.entry.js → p-7244ca7a.system.entry.js} +1 -1
  247. package/dist/magma-components/{p-a9d6984e.entry.js → p-726cd93c.entry.js} +1 -1
  248. package/dist/magma-components/{p-c2798c9a.system.entry.js → p-7359e097.system.entry.js} +1 -1
  249. package/dist/magma-components/{p-723fbfb0.entry.js → p-78088de2.entry.js} +1 -1
  250. package/dist/magma-components/{p-83b2ee17.entry.js → p-7ae676db.entry.js} +1 -1
  251. package/dist/magma-components/{p-6d3ea2b6.entry.js → p-7b788f04.entry.js} +1 -1
  252. package/dist/magma-components/{p-b727c3a6.system.entry.js → p-80518658.system.entry.js} +1 -1
  253. package/dist/magma-components/{p-f6ef6105.entry.js → p-8314f381.entry.js} +1 -1
  254. package/dist/magma-components/{p-86f45462.entry.js → p-8469b603.entry.js} +1 -1
  255. package/dist/magma-components/{p-09aaa62b.system.entry.js → p-855f1617.system.entry.js} +1 -1
  256. package/dist/magma-components/{p-cae0e727.entry.js → p-89757b16.entry.js} +1 -1
  257. package/dist/magma-components/{p-60342fa8.system.entry.js → p-8bc52935.system.entry.js} +1 -1
  258. package/dist/magma-components/{p-6b4bf0df.entry.js → p-8f091ceb.entry.js} +1 -1
  259. package/dist/magma-components/{p-8859d528.entry.js → p-94fb14aa.entry.js} +1 -1
  260. package/dist/magma-components/{p-755dff75.system.entry.js → p-9b7e1f4b.system.entry.js} +1 -1
  261. package/dist/magma-components/{p-dfdc83ab.entry.js → p-9d5ab31c.entry.js} +1 -1
  262. package/dist/magma-components/{p-ddd59ddb.system.entry.js → p-9d86dd4c.system.entry.js} +1 -1
  263. package/dist/magma-components/{p-9e08e8f1.system.entry.js → p-a776c78c.system.entry.js} +1 -1
  264. package/dist/magma-components/{p-854848ca.entry.js → p-aacb6b47.entry.js} +1 -1
  265. package/dist/magma-components/{p-bdc49c99.entry.js → p-b4bad440.entry.js} +1 -1
  266. package/dist/magma-components/{p-3095eab8.system.entry.js → p-b7aae63a.system.entry.js} +1 -1
  267. package/dist/magma-components/{p-03cadeb4.system.entry.js → p-b7b0f420.system.entry.js} +1 -1
  268. package/dist/magma-components/{p-788e95ce.entry.js → p-ba8142cf.entry.js} +1 -1
  269. package/dist/magma-components/{p-84cf6604.system.entry.js → p-be5a7e23.system.entry.js} +1 -1
  270. package/dist/magma-components/{p-61e3603c.system.entry.js → p-c3304189.system.entry.js} +1 -1
  271. package/dist/magma-components/{p-a201cbab.entry.js → p-c372fe03.entry.js} +1 -1
  272. package/dist/magma-components/{p-b4baf323.entry.js → p-c5730248.entry.js} +1 -1
  273. package/dist/magma-components/{p-3e50c4ab.entry.js → p-c5d2cd00.entry.js} +1 -1
  274. package/dist/magma-components/p-c6785782.entry.js +1 -0
  275. package/dist/magma-components/p-ca4ee5b5.system.entry.js +1 -0
  276. package/dist/magma-components/p-d7cf7569.entry.js +1 -0
  277. package/dist/magma-components/{p-6d1ce884.system.entry.js → p-d98a34dc.system.entry.js} +1 -1
  278. package/dist/magma-components/{p-2b3517af.system.entry.js → p-d99f38a7.system.entry.js} +1 -1
  279. package/dist/magma-components/{p-3c2df04e.system.entry.js → p-dd7b9422.system.entry.js} +1 -1
  280. package/dist/magma-components/{p-58b77d4f.entry.js → p-e0bd7509.entry.js} +1 -1
  281. package/dist/magma-components/{p-a786264e.system.entry.js → p-e32a0ec8.system.entry.js} +1 -1
  282. package/dist/magma-components/{p-12527b99.system.entry.js → p-ef488f9f.system.entry.js} +1 -1
  283. package/dist/magma-components/{p-70223843.system.entry.js → p-f250731c.system.entry.js} +1 -1
  284. package/dist/magma-components/{p-8de607ef.entry.js → p-f2e7d2f0.entry.js} +1 -1
  285. package/dist/magma-components/{p-a9c9e071.system.entry.js → p-f349e728.system.entry.js} +1 -1
  286. package/dist/magma-components/{p-1c2b1a44.system.entry.js → p-f584c1d7.system.entry.js} +1 -1
  287. package/dist/magma-components/{p-f5f97018.entry.js → p-fd25f69a.entry.js} +1 -1
  288. package/dist/magma-components/{p-977d3bf0.entry.js → p-fe3879f3.entry.js} +1 -1
  289. package/dist/magma-components/{p-50b07c72.system.entry.js → p-ff8d8818.system.entry.js} +1 -1
  290. package/dist/stats.json +790 -377
  291. package/dist/types/components/mds-calendar/mds-calendar.d.ts +43 -1
  292. package/dist/types/components/mds-input-date/mds-input-date.d.ts +1 -0
  293. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +23 -4
  294. package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +12 -0
  295. package/dist/types/components.d.ts +94 -6
  296. package/package.json +4 -4
  297. package/dist/magma-components/p-3da97c74.system.entry.js +0 -1
  298. package/dist/magma-components/p-643fd688.entry.js +0 -1
  299. package/dist/magma-components/p-80b11d2e.entry.js +0 -1
  300. package/dist/magma-components/p-e1f3cc6d.entry.js +0 -1
  301. package/dist/magma-components/p-ead9e4c4.system.entry.js +0 -1
@@ -5,4 +5,4 @@ var __awaiter=this&&this.__awaiter||function(e,r,a,t){function i(e){return e ins
5
5
  * @copyright 2023 Jason Mulligan <jason.mulligan@avoidwork.com>
6
6
  * @license BSD-3-Clause
7
7
  * @version 10.1.0
8
- */var ARRAY="array";var BIT="bit";var BITS="bits";var BYTE="byte";var BYTES="bytes";var EMPTY="";var EXPONENT="exponent";var FUNCTION="function";var IEC="iec";var INVALID_NUMBER="Invalid number";var INVALID_ROUND="Invalid rounding method";var JEDEC="jedec";var OBJECT="object";var PERIOD=".";var ROUND="round";var S="s";var SI="si";var SI_KBIT="kbit";var SI_KBYTE="kB";var SPACE=" ";var STRING="string";var ZERO="0";var STRINGS={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function filesize(e,r){var a=r===void 0?{}:r,t=a.bits,i=t===void 0?false:t,o=a.pad,s=o===void 0?false:o,d=a.base,n=d===void 0?-1:d,l=a.round,c=l===void 0?2:l,m=a.locale,v=m===void 0?EMPTY:m,b=a.localeOptions,h=b===void 0?{}:b,f=a.separator,g=f===void 0?EMPTY:f,p=a.spacer,u=p===void 0?SPACE:p,y=a.symbols,w=y===void 0?{}:y,x=a.standard,k=x===void 0?EMPTY:x,E=a.output,I=E===void 0?STRING:E,T=a.fullform,B=T===void 0?false:T,N=a.fullforms,j=N===void 0?[]:N,D=a.exponent,P=D===void 0?-1:D,M=a.roundingMethod,O=M===void 0?ROUND:M,R=a.precision,Y=R===void 0?0:R;var C=P,_=Number(e),q=[],F=0,L=EMPTY;if(k===SI){n=10;k=JEDEC}else if(k===IEC||k===JEDEC){n=2}else if(n===2){k=IEC}else{n=10;k=JEDEC}var z=n===10?1e3:1024,G=B===true,A=_<0,K=Math[O];if(typeof e!=="bigint"&&isNaN(e)){throw new TypeError(INVALID_NUMBER)}if(typeof K!==FUNCTION){throw new TypeError(INVALID_ROUND)}if(A){_=-_}if(C===-1||isNaN(C)){C=Math.floor(Math.log(_)/Math.log(z));if(C<0){C=0}}if(C>8){if(Y>0){Y+=8-C}C=8}if(I===EXPONENT){return C}if(_===0){q[0]=0;L=q[1]=STRINGS.symbol[k][i?BITS:BYTES][C]}else{F=_/(n===2?Math.pow(2,C*10):Math.pow(1e3,C));if(i){F=F*8;if(F>=z&&C<8){F=F/z;C++}}var U=Math.pow(10,C>0?c:0);q[0]=K(F*U)/U;if(q[0]===z&&C<8&&P===-1){q[0]=1;C++}L=q[1]=n===10&&C===1?i?SI_KBIT:SI_KBYTE:STRINGS.symbol[k][i?BITS:BYTES][C]}if(A){q[0]=-q[0]}if(Y>0){q[0]=q[0].toPrecision(Y)}q[1]=w[q[1]]||q[1];if(v===true){q[0]=q[0].toLocaleString()}else if(v.length>0){q[0]=q[0].toLocaleString(v,h)}else if(g.length>0){q[0]=q[0].toString().replace(PERIOD,g)}if(s&&Number.isInteger(q[0])===false&&c>0){var V=g||PERIOD,J=q[0].toString().split(V),Z=J[1]||EMPTY,$=Z.length,H=c-$;q[0]="".concat(J[0]).concat(V).concat(Z.padEnd($+H,ZERO))}if(G){q[1]=j[C]?j[C]:STRINGS.fullform[k][C]+(i?BIT:BYTE)+(q[0]===1?EMPTY:S)}return I===ARRAY?q:I===OBJECT?{value:q[0],symbol:q[1],exponent:C,unit:L}:q.join(u)}var remove$3="Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης";var localeEl={remove:remove$3};var remove$2="Remove file from upload queue";var localeEn={remove:remove$2};var remove$1="Eliminar archivo de la cola de carga";var localeEs={remove:remove$1};var remove="Rimuovi file dalla coda di upload";var localeIt={remove:remove};var mdsFilePreviewCss=':host{--mds-file-preview-background-color:rgb(var(--tone-neutral));--mds-file-preview-border-radius:0.5rem;--mds-file-preview-color:rgb(var(--tone-neutral-03));--mds-file-preview-icon-background:inherit;--mds-file-preview-icon-color:var(--mds-file-preview-color);-ms-flex-align:stretch;align-items:stretch;background-color:var(--mds-file-preview-background-color);border-radius:var(--mds-file-preview-border-radius);-webkit-box-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);box-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);display:-ms-flexbox;display:flex;fill:var(--mds-file-preview-color);-ms-flex-pack:stretch;justify-content:stretch;position:relative}.card{grid-template-columns:repeat(1, minmax(1px, 100%));gap:0.5rem;padding:1rem;border-radius:var(--mds-file-preview-border-radius);display:grid;width:100%}.preview{aspect-ratio:1/1;background-color:var(--mds-file-preview-icon-background);border-radius:0.25rem;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--mds-file-preview-color);fill:var(--mds-file-preview-icon-color);width:100%}.preview--image{-webkit-filter:brightness(0.975);filter:brightness(0.975);padding:0 !important}.preview--icon,.preview--status{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.preview--status{gap:0.5rem;padding:1rem}.icon{height:3rem;width:3rem}.message{text-align:center}.action-delete{background-color:var(--mds-file-preview-background-color);position:absolute;right:0;top:0;z-index:10}.infos{gap:0.5rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.suffix{-ms-flex-negative:0;flex-shrink:0}.infos--has-file-size{-ms-flex-pack:justify;justify-content:space-between}.file-name{--mds-text-line-clamp:2}:host([format="archive"]),:host([format="executable"]){--mds-file-preview-color:rgb(var(--label-amaranth-04));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04))}:host([format="attachment"]){--mds-file-preview-color:rgb(var(--tone-neutral-04));--mds-file-preview-icon-background:rgb(var(--tone-neutral-10));--mds-file-preview-icon-color:rgb(var(--tone-neutral-04))}:host([format="audio"]),:host([format="video"]){--mds-file-preview-color:rgb(var(--label-violet-04));--mds-file-preview-icon-background:rgb(var(--label-violet-10));--mds-file-preview-icon-color:rgb(var(--label-violet-04))}:host([format="code"]),:host([format="data"]),:host([format="markup"]){--mds-file-preview-color:rgb(var(--label-yellow-04));--mds-file-preview-icon-background:rgb(var(--label-yellow-10));--mds-file-preview-icon-color:rgb(var(--label-yellow-04))}:host([format="document"]),:host([format="certificate"]){--mds-file-preview-color:rgb(var(--label-orange-04));--mds-file-preview-icon-background:rgb(var(--label-orange-10));--mds-file-preview-icon-color:rgb(var(--label-orange-04))}:host([format="email"]),:host([format="text"]){--mds-file-preview-color:rgb(var(--label-blue-04));--mds-file-preview-icon-background:rgb(var(--label-blue-10));--mds-file-preview-icon-color:rgb(var(--label-blue-04))}:host([format="image"]){--mds-file-preview-color:rgb(var(--label-green-04));--mds-file-preview-icon-background:rgb(var(--label-green-10));--mds-file-preview-icon-color:rgb(var(--label-green-04))}:host([format="slide"]){--mds-file-preview-color:rgb(var(--label-orchid-04));--mds-file-preview-icon-background:rgb(var(--label-orchid-10));--mds-file-preview-icon-color:rgb(var(--label-orchid-04))}:host([format="spreadsheet"]){--mds-file-preview-color:rgb(var(--label-lime-04));--mds-file-preview-icon-background:rgb(var(--label-lime-10));--mds-file-preview-icon-color:rgb(var(--label-lime-04))}:host([format="vector"]){--mds-file-preview-color:rgb(var(--label-aqua-04));--mds-file-preview-icon-background:rgb(var(--label-aqua-10));--mds-file-preview-icon-color:rgb(var(--label-aqua-04))}:host([variant="primary"][message]){--mds-file-preview-icon-background:rgb(var(--variant-primary-09));--mds-file-preview-icon-color:rgb(var(--variant-primary-04))}:host([variant="info"][message]){--mds-file-preview-icon-background:rgb(var(--status-info-09));--mds-file-preview-icon-color:rgb(var(--status-info-04));--mds-file-preview-color:rgb(var(--status-info-03))}:host([variant="success"][message]){--mds-file-preview-icon-background:rgb(var(--status-success-09));--mds-file-preview-icon-color:rgb(var(--status-success-04));--mds-file-preview-color:rgb(var(--status-success-03))}:host([variant="warning"][message]){--mds-file-preview-icon-background:rgb(var(--status-warning-09));--mds-file-preview-icon-color:rgb(var(--status-warning-04));--mds-file-preview-color:rgb(var(--status-warning-03))}:host([variant="error"][message]){--mds-file-preview-icon-background:rgb(var(--status-error-09));--mds-file-preview-icon-color:rgb(var(--status-error-04));--mds-file-preview-color:rgb(var(--status-error-03))}:host([variant="amaranth"][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-09));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04));--mds-file-preview-color:rgb(var(--label-amaranth-03))}:host([variant="aqua"][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-09));--mds-file-preview-icon-color:rgb(var(--label-aqua-04));--mds-file-preview-color:rgb(var(--label-aqua-03))}:host([variant="blue"][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-09));--mds-file-preview-icon-color:rgb(var(--label-blue-04));--mds-file-preview-color:rgb(var(--label-blue-03))}:host([variant="green"][message]){--mds-file-preview-icon-background:rgb(var(--label-green-09));--mds-file-preview-icon-color:rgb(var(--label-green-04));--mds-file-preview-color:rgb(var(--label-green-03))}:host([variant="lime"][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-09));--mds-file-preview-icon-color:rgb(var(--label-lime-04));--mds-file-preview-color:rgb(var(--label-lime-03))}:host([variant="orange"][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-09));--mds-file-preview-icon-color:rgb(var(--label-orange-04));--mds-file-preview-color:rgb(var(--label-orange-03))}:host([variant="orchid"][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-09));--mds-file-preview-icon-color:rgb(var(--label-orchid-04));--mds-file-preview-color:rgb(var(--label-orchid-03))}:host([variant="sky"][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-09));--mds-file-preview-icon-color:rgb(var(--label-sky-04));--mds-file-preview-color:rgb(var(--label-sky-03))}:host([variant="violet"][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-09));--mds-file-preview-icon-color:rgb(var(--label-violet-04));--mds-file-preview-color:rgb(var(--label-violet-03))}:host([variant="yellow"][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-09));--mds-file-preview-icon-color:rgb(var(--label-yellow-04));--mds-file-preview-color:rgb(var(--label-yellow-03))}:host-context(.pref-contrast-more):host([variant="primary"][message]){--mds-file-preview-icon-background:rgb(var(--variant-primary-10));--mds-file-preview-icon-color:rgb(var(--variant-primary-02));--mds-file-preview-color:rgb(var(--variant-primary-01))}:host-context(.pref-contrast-more):host([variant="info"][message]){--mds-file-preview-icon-background:rgb(var(--status-info-10));--mds-file-preview-icon-color:rgb(var(--status-info-02));--mds-file-preview-color:rgb(var(--status-info-01))}:host-context(.pref-contrast-more):host([variant="success"][message]){--mds-file-preview-icon-background:rgb(var(--status-success-10));--mds-file-preview-icon-color:rgb(var(--status-success-02));--mds-file-preview-color:rgb(var(--status-success-01))}:host-context(.pref-contrast-more):host([variant="warning"][message]){--mds-file-preview-icon-background:rgb(var(--status-warning-10));--mds-file-preview-icon-color:rgb(var(--status-warning-02));--mds-file-preview-color:rgb(var(--status-warning-01))}:host-context(.pref-contrast-more):host([variant="error"][message]){--mds-file-preview-icon-background:rgb(var(--status-error-10));--mds-file-preview-icon-color:rgb(var(--status-error-02));--mds-file-preview-color:rgb(var(--status-error-01))}:host-context(.pref-contrast-more):host([variant="amaranth"][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02));--mds-file-preview-color:rgb(var(--label-amaranth-01))}:host-context(.pref-contrast-more):host([variant="aqua"][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10));--mds-file-preview-icon-color:rgb(var(--label-aqua-02));--mds-file-preview-color:rgb(var(--label-aqua-01))}:host-context(.pref-contrast-more):host([variant="blue"][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10));--mds-file-preview-icon-color:rgb(var(--label-blue-02));--mds-file-preview-color:rgb(var(--label-blue-01))}:host-context(.pref-contrast-more):host([variant="green"][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10));--mds-file-preview-icon-color:rgb(var(--label-green-02));--mds-file-preview-color:rgb(var(--label-green-01))}:host-context(.pref-contrast-more):host([variant="lime"][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10));--mds-file-preview-icon-color:rgb(var(--label-lime-02));--mds-file-preview-color:rgb(var(--label-lime-01))}:host-context(.pref-contrast-more):host([variant="orange"][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10));--mds-file-preview-icon-color:rgb(var(--label-orange-02));--mds-file-preview-color:rgb(var(--label-orange-01))}:host-context(.pref-contrast-more):host([variant="orchid"][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10));--mds-file-preview-icon-color:rgb(var(--label-orchid-02));--mds-file-preview-color:rgb(var(--label-orchid-01))}:host-context(.pref-contrast-more):host([variant="sky"][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10));--mds-file-preview-icon-color:rgb(var(--label-sky-02));--mds-file-preview-color:rgb(var(--label-sky-01))}:host-context(.pref-contrast-more):host([variant="violet"][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10));--mds-file-preview-icon-color:rgb(var(--label-violet-02));--mds-file-preview-color:rgb(var(--label-violet-01))}:host-context(.pref-contrast-more):host([variant="yellow"][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10));--mds-file-preview-icon-color:rgb(var(--label-yellow-02));--mds-file-preview-color:rgb(var(--label-yellow-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system):host([variant="primary"][message]){--mds-file-preview-icon-background:rgb(var(--variant-primary-10));--mds-file-preview-icon-color:rgb(var(--variant-primary-02));--mds-file-preview-color:rgb(var(--variant-primary-01))}:host-context(.pref-contrast-system):host([variant="info"][message]){--mds-file-preview-icon-background:rgb(var(--status-info-10));--mds-file-preview-icon-color:rgb(var(--status-info-02));--mds-file-preview-color:rgb(var(--status-info-01))}:host-context(.pref-contrast-system):host([variant="success"][message]){--mds-file-preview-icon-background:rgb(var(--status-success-10));--mds-file-preview-icon-color:rgb(var(--status-success-02));--mds-file-preview-color:rgb(var(--status-success-01))}:host-context(.pref-contrast-system):host([variant="warning"][message]){--mds-file-preview-icon-background:rgb(var(--status-warning-10));--mds-file-preview-icon-color:rgb(var(--status-warning-02));--mds-file-preview-color:rgb(var(--status-warning-01))}:host-context(.pref-contrast-system):host([variant="error"][message]){--mds-file-preview-icon-background:rgb(var(--status-error-10));--mds-file-preview-icon-color:rgb(var(--status-error-02));--mds-file-preview-color:rgb(var(--status-error-01))}:host-context(.pref-contrast-system):host([variant="amaranth"][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02));--mds-file-preview-color:rgb(var(--label-amaranth-01))}:host-context(.pref-contrast-system):host([variant="aqua"][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10));--mds-file-preview-icon-color:rgb(var(--label-aqua-02));--mds-file-preview-color:rgb(var(--label-aqua-01))}:host-context(.pref-contrast-system):host([variant="blue"][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10));--mds-file-preview-icon-color:rgb(var(--label-blue-02));--mds-file-preview-color:rgb(var(--label-blue-01))}:host-context(.pref-contrast-system):host([variant="green"][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10));--mds-file-preview-icon-color:rgb(var(--label-green-02));--mds-file-preview-color:rgb(var(--label-green-01))}:host-context(.pref-contrast-system):host([variant="lime"][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10));--mds-file-preview-icon-color:rgb(var(--label-lime-02));--mds-file-preview-color:rgb(var(--label-lime-01))}:host-context(.pref-contrast-system):host([variant="orange"][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10));--mds-file-preview-icon-color:rgb(var(--label-orange-02));--mds-file-preview-color:rgb(var(--label-orange-01))}:host-context(.pref-contrast-system):host([variant="orchid"][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10));--mds-file-preview-icon-color:rgb(var(--label-orchid-02));--mds-file-preview-color:rgb(var(--label-orchid-01))}:host-context(.pref-contrast-system):host([variant="sky"][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10));--mds-file-preview-icon-color:rgb(var(--label-sky-02));--mds-file-preview-color:rgb(var(--label-sky-01))}:host-context(.pref-contrast-system):host([variant="violet"][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10));--mds-file-preview-icon-color:rgb(var(--label-violet-02));--mds-file-preview-color:rgb(var(--label-violet-01))}:host-context(.pref-contrast-system):host([variant="yellow"][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10));--mds-file-preview-icon-color:rgb(var(--label-yellow-02));--mds-file-preview-color:rgb(var(--label-yellow-01))}}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .preview{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .preview{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-contrast-more){--mds-file-preview-color:rgb(var(--tone-neutral-01));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-file-preview-color:rgb(var(--tone-neutral-01));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsFilePreviewStyle0=mdsFilePreviewCss;var MdsFilePreview=function(){function e(e){var r=this;registerInstance(this,e);this.downloadedEvent=createEvent(this,"mdsFileDownload",7);this.deletedEvent=createEvent(this,"mdsFileDelete",7);this.t=new Locale({el:Object.assign(Object.assign({},localeEl),fileDescriptionLocaleEl),en:Object.assign(Object.assign({},localeEn),fileDescriptionLocaleEn),es:Object.assign(Object.assign({},localeEs),fileDescriptionLocaleEs),it:Object.assign(Object.assign({},localeIt),fileDescriptionLocaleIt)});this.truncate="word";this.getDefaultKeyDescription=function(){return getExtensionInfos(r.filename,r.suffix).description};this.onClickDeletedEvent=function(){r.deletedEvent.emit({target:r.host,filename:r.filename,extension:getSuffix(r.filename,r.suffix)})};this.onClickDownloadEvent=function(){r.downloadedEvent.emit({target:r.host,filename:r.filename,extension:getSuffix(r.filename,r.suffix)})}}e.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.language=this.t.lang(this.host);return[2]}))}))};e.prototype.componentWillLoad=function(){this.t.lang(this.host);this.format=getExtensionInfos(this.filename,this.suffix).format};e.prototype.componentDidLoad=function(){this.handleDownloadable(this.downloadable)};e.prototype.handleFilename=function(e){this.format=getExtensionInfos(e,this.suffix).format};e.prototype.handleDownloadable=function(e,r){var a;if(e===r)return;var t=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".card");if(e){t===null||t===void 0?void 0:t.addEventListener("click",this.onClickDownloadEvent);return}t===null||t===void 0?void 0:t.removeEventListener("click",this.onClickDownloadEvent)};e.prototype.render=function(){var e,r,a;return h(Host,{key:"0710d30368cdde1184606c5faa805cdd0bb9054a"},this.deletable&&h("mds-button",{key:"366d3fe7de6e92b3bf8c0be6736666b593ec16cb",title:this.t.get("remove"),class:"action-delete",icon:miBaselineCancel,variant:"light",onClick:this.onClickDeletedEvent}),h("div",{key:"a9c09b7749ea1f63e8cb4ee2e5383bfc9ae0d1b3",class:"card",part:"card",onClick:this.onClickDownloadEvent},this.src&&!this.message&&getExtensionInfos(this.filename,this.suffix).preview?h("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):h("div",{class:clsx("preview",!this.message?"preview--icon":"preview--status")},this.icon?h("mds-icon",{class:"icon",name:this.icon}):h("mds-icon",{class:"icon",name:getFormatsVariant(this.filename,this.suffix).icon}),this.message&&h("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),h("mds-text",{key:"e2f1c6aca7f7e98f66d89aea9c53610ab9300f95",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),h("footer",{key:"3535084a42e1ad9f62c57ac54032a479f3a34463",class:clsx("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&h("mds-text",{key:"79c2bccab6b0740730193a54551a264beac1d772",class:"file-size",truncate:"word",typography:"caption",variant:"info"},filesize(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&h("mds-text",{key:"143a603b4d3d974e3f93a06d3e2771a723a257d3",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),getSuffix(this.filename,this.suffix)&&h("mds-badge",{key:"39c15b38bc2c5d92151b299f4f93095e9fd17f4e",variant:getFormatsVariant(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:(e=this.description)!==null&&e!==void 0?e:this.t.get(this.getDefaultKeyDescription())},getSuffix(this.filename,this.suffix)),!this.filesize&&h("mds-text",{key:"646a25849f8188fb5ac60cfeac9d0977ecd9f806",class:"description",truncate:"word",typography:"caption",variant:"info",title:(r=this.description)!==null&&r!==void 0?r:this.t.get(this.getDefaultKeyDescription())},(a=this.description)!==null&&a!==void 0?a:this.t.get(this.getDefaultKeyDescription())))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{filename:["handleFilename"],downloadable:["handleDownloadable"]}},enumerable:false,configurable:true});return e}();MdsFilePreview.style=MdsFilePreviewStyle0;export{MdsFilePreview as mds_file_preview};
8
+ */var ARRAY="array";var BIT="bit";var BITS="bits";var BYTE="byte";var BYTES="bytes";var EMPTY="";var EXPONENT="exponent";var FUNCTION="function";var IEC="iec";var INVALID_NUMBER="Invalid number";var INVALID_ROUND="Invalid rounding method";var JEDEC="jedec";var OBJECT="object";var PERIOD=".";var ROUND="round";var S="s";var SI="si";var SI_KBIT="kbit";var SI_KBYTE="kB";var SPACE=" ";var STRING="string";var ZERO="0";var STRINGS={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function filesize(e,r){var a=r===void 0?{}:r,t=a.bits,i=t===void 0?false:t,o=a.pad,s=o===void 0?false:o,d=a.base,n=d===void 0?-1:d,l=a.round,c=l===void 0?2:l,m=a.locale,v=m===void 0?EMPTY:m,b=a.localeOptions,h=b===void 0?{}:b,f=a.separator,g=f===void 0?EMPTY:f,p=a.spacer,u=p===void 0?SPACE:p,y=a.symbols,w=y===void 0?{}:y,x=a.standard,k=x===void 0?EMPTY:x,E=a.output,I=E===void 0?STRING:E,T=a.fullform,B=T===void 0?false:T,N=a.fullforms,j=N===void 0?[]:N,D=a.exponent,P=D===void 0?-1:D,M=a.roundingMethod,O=M===void 0?ROUND:M,R=a.precision,Y=R===void 0?0:R;var C=P,_=Number(e),q=[],F=0,L=EMPTY;if(k===SI){n=10;k=JEDEC}else if(k===IEC||k===JEDEC){n=2}else if(n===2){k=IEC}else{n=10;k=JEDEC}var z=n===10?1e3:1024,G=B===true,A=_<0,K=Math[O];if(typeof e!=="bigint"&&isNaN(e)){throw new TypeError(INVALID_NUMBER)}if(typeof K!==FUNCTION){throw new TypeError(INVALID_ROUND)}if(A){_=-_}if(C===-1||isNaN(C)){C=Math.floor(Math.log(_)/Math.log(z));if(C<0){C=0}}if(C>8){if(Y>0){Y+=8-C}C=8}if(I===EXPONENT){return C}if(_===0){q[0]=0;L=q[1]=STRINGS.symbol[k][i?BITS:BYTES][C]}else{F=_/(n===2?Math.pow(2,C*10):Math.pow(1e3,C));if(i){F=F*8;if(F>=z&&C<8){F=F/z;C++}}var U=Math.pow(10,C>0?c:0);q[0]=K(F*U)/U;if(q[0]===z&&C<8&&P===-1){q[0]=1;C++}L=q[1]=n===10&&C===1?i?SI_KBIT:SI_KBYTE:STRINGS.symbol[k][i?BITS:BYTES][C]}if(A){q[0]=-q[0]}if(Y>0){q[0]=q[0].toPrecision(Y)}q[1]=w[q[1]]||q[1];if(v===true){q[0]=q[0].toLocaleString()}else if(v.length>0){q[0]=q[0].toLocaleString(v,h)}else if(g.length>0){q[0]=q[0].toString().replace(PERIOD,g)}if(s&&Number.isInteger(q[0])===false&&c>0){var V=g||PERIOD,J=q[0].toString().split(V),Z=J[1]||EMPTY,$=Z.length,H=c-$;q[0]="".concat(J[0]).concat(V).concat(Z.padEnd($+H,ZERO))}if(G){q[1]=j[C]?j[C]:STRINGS.fullform[k][C]+(i?BIT:BYTE)+(q[0]===1?EMPTY:S)}return I===ARRAY?q:I===OBJECT?{value:q[0],symbol:q[1],exponent:C,unit:L}:q.join(u)}var remove$3="Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης";var localeEl={remove:remove$3};var remove$2="Remove file from upload queue";var localeEn={remove:remove$2};var remove$1="Eliminar archivo de la cola de carga";var localeEs={remove:remove$1};var remove="Rimuovi file dalla coda di upload";var localeIt={remove:remove};var mdsFilePreviewCss=':host{--mds-file-preview-background-color:rgb(var(--tone-neutral));--mds-file-preview-border-radius:0.5rem;--mds-file-preview-color:rgb(var(--tone-neutral-03));--mds-file-preview-icon-background:inherit;--mds-file-preview-icon-color:var(--mds-file-preview-color);-ms-flex-align:stretch;align-items:stretch;background-color:var(--mds-file-preview-background-color);border-radius:var(--mds-file-preview-border-radius);-webkit-box-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);box-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);display:-ms-flexbox;display:flex;fill:var(--mds-file-preview-color);-ms-flex-pack:stretch;justify-content:stretch;position:relative}.card{grid-template-columns:repeat(1, minmax(1px, 100%));gap:0.5rem;padding:1rem;border-radius:var(--mds-file-preview-border-radius);display:grid;width:100%}.preview{aspect-ratio:1/1;background-color:var(--mds-file-preview-icon-background);border-radius:0.25rem;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--mds-file-preview-color);fill:var(--mds-file-preview-icon-color);width:100%}.preview--image{-webkit-filter:brightness(0.975);filter:brightness(0.975);padding:0 !important}.preview--icon,.preview--status{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.preview--status{gap:0.5rem;padding:1rem}.icon{height:3rem;width:3rem}.message{text-align:center}.action-delete{background-color:var(--mds-file-preview-background-color);position:absolute;right:0;top:0;z-index:10}.infos{gap:0.5rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.suffix{-ms-flex-negative:0;flex-shrink:0}.infos--has-file-size{-ms-flex-pack:justify;justify-content:space-between}.file-name{--mds-text-line-clamp:2}:host([format="archive"]),:host([format="executable"]){--mds-file-preview-color:rgb(var(--label-amaranth-04));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04))}:host([format="attachment"]){--mds-file-preview-color:rgb(var(--tone-neutral-04));--mds-file-preview-icon-background:rgb(var(--tone-neutral-10));--mds-file-preview-icon-color:rgb(var(--tone-neutral-04))}:host([format="audio"]),:host([format="video"]){--mds-file-preview-color:rgb(var(--label-violet-04));--mds-file-preview-icon-background:rgb(var(--label-violet-10));--mds-file-preview-icon-color:rgb(var(--label-violet-04))}:host([format="code"]),:host([format="data"]),:host([format="markup"]){--mds-file-preview-color:rgb(var(--label-yellow-04));--mds-file-preview-icon-background:rgb(var(--label-yellow-10));--mds-file-preview-icon-color:rgb(var(--label-yellow-04))}:host([format="document"]),:host([format="certificate"]){--mds-file-preview-color:rgb(var(--label-orange-04));--mds-file-preview-icon-background:rgb(var(--label-orange-10));--mds-file-preview-icon-color:rgb(var(--label-orange-04))}:host([format="email"]),:host([format="text"]){--mds-file-preview-color:rgb(var(--label-blue-04));--mds-file-preview-icon-background:rgb(var(--label-blue-10));--mds-file-preview-icon-color:rgb(var(--label-blue-04))}:host([format="image"]){--mds-file-preview-color:rgb(var(--label-green-04));--mds-file-preview-icon-background:rgb(var(--label-green-10));--mds-file-preview-icon-color:rgb(var(--label-green-04))}:host([format="slide"]){--mds-file-preview-color:rgb(var(--label-orchid-04));--mds-file-preview-icon-background:rgb(var(--label-orchid-10));--mds-file-preview-icon-color:rgb(var(--label-orchid-04))}:host([format="spreadsheet"]){--mds-file-preview-color:rgb(var(--label-lime-04));--mds-file-preview-icon-background:rgb(var(--label-lime-10));--mds-file-preview-icon-color:rgb(var(--label-lime-04))}:host([format="vector"]){--mds-file-preview-color:rgb(var(--label-aqua-04));--mds-file-preview-icon-background:rgb(var(--label-aqua-10));--mds-file-preview-icon-color:rgb(var(--label-aqua-04))}:host([variant="primary"][message]){--mds-file-preview-icon-background:rgb(var(--variant-primary-09));--mds-file-preview-icon-color:rgb(var(--variant-primary-04))}:host([variant="info"][message]){--mds-file-preview-icon-background:rgb(var(--status-info-09));--mds-file-preview-icon-color:rgb(var(--status-info-04));--mds-file-preview-color:rgb(var(--status-info-03))}:host([variant="success"][message]){--mds-file-preview-icon-background:rgb(var(--status-success-09));--mds-file-preview-icon-color:rgb(var(--status-success-04));--mds-file-preview-color:rgb(var(--status-success-03))}:host([variant="warning"][message]){--mds-file-preview-icon-background:rgb(var(--status-warning-09));--mds-file-preview-icon-color:rgb(var(--status-warning-04));--mds-file-preview-color:rgb(var(--status-warning-03))}:host([variant="error"][message]){--mds-file-preview-icon-background:rgb(var(--status-error-09));--mds-file-preview-icon-color:rgb(var(--status-error-04));--mds-file-preview-color:rgb(var(--status-error-03))}:host([variant="amaranth"][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-09));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04));--mds-file-preview-color:rgb(var(--label-amaranth-03))}:host([variant="aqua"][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-09));--mds-file-preview-icon-color:rgb(var(--label-aqua-04));--mds-file-preview-color:rgb(var(--label-aqua-03))}:host([variant="blue"][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-09));--mds-file-preview-icon-color:rgb(var(--label-blue-04));--mds-file-preview-color:rgb(var(--label-blue-03))}:host([variant="green"][message]){--mds-file-preview-icon-background:rgb(var(--label-green-09));--mds-file-preview-icon-color:rgb(var(--label-green-04));--mds-file-preview-color:rgb(var(--label-green-03))}:host([variant="lime"][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-09));--mds-file-preview-icon-color:rgb(var(--label-lime-04));--mds-file-preview-color:rgb(var(--label-lime-03))}:host([variant="orange"][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-09));--mds-file-preview-icon-color:rgb(var(--label-orange-04));--mds-file-preview-color:rgb(var(--label-orange-03))}:host([variant="orchid"][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-09));--mds-file-preview-icon-color:rgb(var(--label-orchid-04));--mds-file-preview-color:rgb(var(--label-orchid-03))}:host([variant="sky"][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-09));--mds-file-preview-icon-color:rgb(var(--label-sky-04));--mds-file-preview-color:rgb(var(--label-sky-03))}:host([variant="violet"][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-09));--mds-file-preview-icon-color:rgb(var(--label-violet-04));--mds-file-preview-color:rgb(var(--label-violet-03))}:host([variant="yellow"][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-09));--mds-file-preview-icon-color:rgb(var(--label-yellow-04));--mds-file-preview-color:rgb(var(--label-yellow-03))}:host-context(.pref-contrast-more):host([variant="primary"][message]){--mds-file-preview-icon-background:rgb(var(--variant-primary-10));--mds-file-preview-icon-color:rgb(var(--variant-primary-02));--mds-file-preview-color:rgb(var(--variant-primary-01))}:host-context(.pref-contrast-more):host([variant="info"][message]){--mds-file-preview-icon-background:rgb(var(--status-info-10));--mds-file-preview-icon-color:rgb(var(--status-info-02));--mds-file-preview-color:rgb(var(--status-info-01))}:host-context(.pref-contrast-more):host([variant="success"][message]){--mds-file-preview-icon-background:rgb(var(--status-success-10));--mds-file-preview-icon-color:rgb(var(--status-success-02));--mds-file-preview-color:rgb(var(--status-success-01))}:host-context(.pref-contrast-more):host([variant="warning"][message]){--mds-file-preview-icon-background:rgb(var(--status-warning-10));--mds-file-preview-icon-color:rgb(var(--status-warning-02));--mds-file-preview-color:rgb(var(--status-warning-01))}:host-context(.pref-contrast-more):host([variant="error"][message]){--mds-file-preview-icon-background:rgb(var(--status-error-10));--mds-file-preview-icon-color:rgb(var(--status-error-02));--mds-file-preview-color:rgb(var(--status-error-01))}:host-context(.pref-contrast-more):host([variant="amaranth"][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02));--mds-file-preview-color:rgb(var(--label-amaranth-01))}:host-context(.pref-contrast-more):host([variant="aqua"][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10));--mds-file-preview-icon-color:rgb(var(--label-aqua-02));--mds-file-preview-color:rgb(var(--label-aqua-01))}:host-context(.pref-contrast-more):host([variant="blue"][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10));--mds-file-preview-icon-color:rgb(var(--label-blue-02));--mds-file-preview-color:rgb(var(--label-blue-01))}:host-context(.pref-contrast-more):host([variant="green"][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10));--mds-file-preview-icon-color:rgb(var(--label-green-02));--mds-file-preview-color:rgb(var(--label-green-01))}:host-context(.pref-contrast-more):host([variant="lime"][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10));--mds-file-preview-icon-color:rgb(var(--label-lime-02));--mds-file-preview-color:rgb(var(--label-lime-01))}:host-context(.pref-contrast-more):host([variant="orange"][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10));--mds-file-preview-icon-color:rgb(var(--label-orange-02));--mds-file-preview-color:rgb(var(--label-orange-01))}:host-context(.pref-contrast-more):host([variant="orchid"][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10));--mds-file-preview-icon-color:rgb(var(--label-orchid-02));--mds-file-preview-color:rgb(var(--label-orchid-01))}:host-context(.pref-contrast-more):host([variant="sky"][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10));--mds-file-preview-icon-color:rgb(var(--label-sky-02));--mds-file-preview-color:rgb(var(--label-sky-01))}:host-context(.pref-contrast-more):host([variant="violet"][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10));--mds-file-preview-icon-color:rgb(var(--label-violet-02));--mds-file-preview-color:rgb(var(--label-violet-01))}:host-context(.pref-contrast-more):host([variant="yellow"][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10));--mds-file-preview-icon-color:rgb(var(--label-yellow-02));--mds-file-preview-color:rgb(var(--label-yellow-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system):host([variant="primary"][message]){--mds-file-preview-icon-background:rgb(var(--variant-primary-10));--mds-file-preview-icon-color:rgb(var(--variant-primary-02));--mds-file-preview-color:rgb(var(--variant-primary-01))}:host-context(.pref-contrast-system):host([variant="info"][message]){--mds-file-preview-icon-background:rgb(var(--status-info-10));--mds-file-preview-icon-color:rgb(var(--status-info-02));--mds-file-preview-color:rgb(var(--status-info-01))}:host-context(.pref-contrast-system):host([variant="success"][message]){--mds-file-preview-icon-background:rgb(var(--status-success-10));--mds-file-preview-icon-color:rgb(var(--status-success-02));--mds-file-preview-color:rgb(var(--status-success-01))}:host-context(.pref-contrast-system):host([variant="warning"][message]){--mds-file-preview-icon-background:rgb(var(--status-warning-10));--mds-file-preview-icon-color:rgb(var(--status-warning-02));--mds-file-preview-color:rgb(var(--status-warning-01))}:host-context(.pref-contrast-system):host([variant="error"][message]){--mds-file-preview-icon-background:rgb(var(--status-error-10));--mds-file-preview-icon-color:rgb(var(--status-error-02));--mds-file-preview-color:rgb(var(--status-error-01))}:host-context(.pref-contrast-system):host([variant="amaranth"][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02));--mds-file-preview-color:rgb(var(--label-amaranth-01))}:host-context(.pref-contrast-system):host([variant="aqua"][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10));--mds-file-preview-icon-color:rgb(var(--label-aqua-02));--mds-file-preview-color:rgb(var(--label-aqua-01))}:host-context(.pref-contrast-system):host([variant="blue"][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10));--mds-file-preview-icon-color:rgb(var(--label-blue-02));--mds-file-preview-color:rgb(var(--label-blue-01))}:host-context(.pref-contrast-system):host([variant="green"][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10));--mds-file-preview-icon-color:rgb(var(--label-green-02));--mds-file-preview-color:rgb(var(--label-green-01))}:host-context(.pref-contrast-system):host([variant="lime"][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10));--mds-file-preview-icon-color:rgb(var(--label-lime-02));--mds-file-preview-color:rgb(var(--label-lime-01))}:host-context(.pref-contrast-system):host([variant="orange"][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10));--mds-file-preview-icon-color:rgb(var(--label-orange-02));--mds-file-preview-color:rgb(var(--label-orange-01))}:host-context(.pref-contrast-system):host([variant="orchid"][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10));--mds-file-preview-icon-color:rgb(var(--label-orchid-02));--mds-file-preview-color:rgb(var(--label-orchid-01))}:host-context(.pref-contrast-system):host([variant="sky"][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10));--mds-file-preview-icon-color:rgb(var(--label-sky-02));--mds-file-preview-color:rgb(var(--label-sky-01))}:host-context(.pref-contrast-system):host([variant="violet"][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10));--mds-file-preview-icon-color:rgb(var(--label-violet-02));--mds-file-preview-color:rgb(var(--label-violet-01))}:host-context(.pref-contrast-system):host([variant="yellow"][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10));--mds-file-preview-icon-color:rgb(var(--label-yellow-02));--mds-file-preview-color:rgb(var(--label-yellow-01))}}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .preview{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .preview{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-contrast-more){--mds-file-preview-color:rgb(var(--tone-neutral-01));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-file-preview-color:rgb(var(--tone-neutral-01));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsFilePreviewStyle0=mdsFilePreviewCss;var MdsFilePreview=function(){function e(e){var r=this;registerInstance(this,e);this.downloadedEvent=createEvent(this,"mdsFileDownload",7);this.deletedEvent=createEvent(this,"mdsFileDelete",7);this.t=new Locale({el:Object.assign(Object.assign({},localeEl),fileDescriptionLocaleEl),en:Object.assign(Object.assign({},localeEn),fileDescriptionLocaleEn),es:Object.assign(Object.assign({},localeEs),fileDescriptionLocaleEs),it:Object.assign(Object.assign({},localeIt),fileDescriptionLocaleIt)});this.truncate="word";this.getDefaultKeyDescription=function(){return getExtensionInfos(r.filename,r.suffix).description};this.onClickDeletedEvent=function(){r.deletedEvent.emit({target:r.host,filename:r.filename,extension:getSuffix(r.filename,r.suffix)})};this.onClickDownloadEvent=function(){r.downloadedEvent.emit({target:r.host,filename:r.filename,extension:getSuffix(r.filename,r.suffix)})}}e.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.language=this.t.lang(this.host);return[2]}))}))};e.prototype.componentWillLoad=function(){this.t.lang(this.host);this.format=getExtensionInfos(this.filename,this.suffix).format};e.prototype.componentDidLoad=function(){this.handleDownloadable(this.downloadable)};e.prototype.handleFilename=function(e){this.format=getExtensionInfos(e,this.suffix).format};e.prototype.handleDownloadable=function(e,r){var a;if(e===r)return;var t=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".card");if(e){t===null||t===void 0?void 0:t.addEventListener("click",this.onClickDownloadEvent);return}t===null||t===void 0?void 0:t.removeEventListener("click",this.onClickDownloadEvent)};e.prototype.render=function(){var e,r,a;return h(Host,{key:"c19f52934f1fa591d71175d1a0a584c0e9d0bd92"},this.deletable&&h("mds-button",{key:"89ea5ca40b769a2be0fd1a85a647c76cfec19d1a",title:this.t.get("remove"),class:"action-delete",icon:miBaselineCancel,variant:"light",onClick:this.onClickDeletedEvent}),h("div",{key:"4549aaf3814a0b76176ba5ff7c661ccb8459f537",class:"card",part:"card",onClick:this.onClickDownloadEvent},this.src&&!this.message&&getExtensionInfos(this.filename,this.suffix).preview?h("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):h("div",{class:clsx("preview",!this.message?"preview--icon":"preview--status")},this.icon?h("mds-icon",{class:"icon",name:this.icon}):h("mds-icon",{class:"icon",name:getFormatsVariant(this.filename,this.suffix).icon}),this.message&&h("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),h("mds-text",{key:"b65a6b6b3dff0c40cda7493fede3e906ec2a39bb",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),h("footer",{key:"9a3ab25be54faa5d535eaaf4449985090aa5a9ea",class:clsx("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&h("mds-text",{key:"4c975b0c31a93568e2776ec71778a117d5eeeb66",class:"file-size",truncate:"word",typography:"caption",variant:"info"},filesize(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&h("mds-text",{key:"98912a75f1d391ec5ef30ddb122c71750a21dff2",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),getSuffix(this.filename,this.suffix)&&h("mds-badge",{key:"e4985c4617aa81233dbb48dfa774c809e62f8384",variant:getFormatsVariant(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:(e=this.description)!==null&&e!==void 0?e:this.t.get(this.getDefaultKeyDescription())},getSuffix(this.filename,this.suffix)),!this.filesize&&h("mds-text",{key:"180c16a686a3b627279388fd0f5f001bded84b65",class:"description",truncate:"word",typography:"caption",variant:"info",title:(r=this.description)!==null&&r!==void 0?r:this.t.get(this.getDefaultKeyDescription())},(a=this.description)!==null&&a!==void 0?a:this.t.get(this.getDefaultKeyDescription())))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{filename:["handleFilename"],downloadable:["handleDownloadable"]}},enumerable:false,configurable:true});return e}();MdsFilePreview.style=MdsFilePreviewStyle0;export{MdsFilePreview as mds_file_preview};
@@ -15,4 +15,4 @@ var __awaiter=this&&this.__awaiter||function(r,t,a,e){function i(r){return r ins
15
15
  * derived from CryptoJS.mode.CTR
16
16
  * Jan Hruby jhruby.web@gmail.com
17
17
  */
18
- r.mode.CTRGladman=function(){var t=r.lib.BlockCipherMode.extend();function a(r){if((r>>24&255)===255){var t=r>>16&255;var a=r>>8&255;var e=r&255;if(t===255){t=0;if(a===255){a=0;if(e===255){e=0}else{++e}}else{++a}}else{++t}r=0;r+=t<<16;r+=a<<8;r+=e}else{r+=1<<24}return r}function e(r){if((r[0]=a(r[0]))===0){r[1]=a(r[1])}return r}var i=t.Encryptor=t.extend({processBlock:function(r,t){var a=this._cipher;var i=a.blockSize;var n=this._iv;var o=this._counter;if(n){o=this._counter=n.slice(0);this._iv=undefined}e(o);var s=o.slice(0);a.encryptBlock(s,0);for(var v=0;v<i;v++){r[t+v]^=s[v]}}});t.Decryptor=i;return t}();return r.mode.CTRGladman}))})(modeCtrGladman);var modeOfb={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.mode.OFB=function(){var t=r.lib.BlockCipherMode.extend();var a=t.Encryptor=t.extend({processBlock:function(r,t){var a=this._cipher;var e=a.blockSize;var i=this._iv;var n=this._keystream;if(i){n=this._keystream=i.slice(0);this._iv=undefined}a.encryptBlock(n,0);for(var o=0;o<e;o++){r[t+o]^=n[o]}}});t.Decryptor=a;return t}();return r.mode.OFB}))})(modeOfb);var modeEcb={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.mode.ECB=function(){var t=r.lib.BlockCipherMode.extend();t.Encryptor=t.extend({processBlock:function(r,t){this._cipher.encryptBlock(r,t)}});t.Decryptor=t.extend({processBlock:function(r,t){this._cipher.decryptBlock(r,t)}});return t}();return r.mode.ECB}))})(modeEcb);var padAnsix923={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.pad.AnsiX923={pad:function(r,t){var a=r.sigBytes;var e=t*4;var i=e-a%e;var n=a+i-1;r.clamp();r.words[n>>>2]|=i<<24-n%4*8;r.sigBytes+=i},unpad:function(r){var t=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=t}};return r.pad.Ansix923}))})(padAnsix923);var padIso10126={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.pad.Iso10126={pad:function(t,a){var e=a*4;var i=e-t.sigBytes%e;t.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(r){var t=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=t}};return r.pad.Iso10126}))})(padIso10126);var padIso97971={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.pad.Iso97971={pad:function(t,a){t.concat(r.lib.WordArray.create([2147483648],1));r.pad.ZeroPadding.pad(t,a)},unpad:function(t){r.pad.ZeroPadding.unpad(t);t.sigBytes--}};return r.pad.Iso97971}))})(padIso97971);var padZeropadding={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.pad.ZeroPadding={pad:function(r,t){var a=t*4;r.clamp();r.sigBytes+=a-(r.sigBytes%a||a)},unpad:function(r){var t=r.words;var a=r.sigBytes-1;for(var a=r.sigBytes-1;a>=0;a--){if(t[a>>>2]>>>24-a%4*8&255){r.sigBytes=a+1;break}}}};return r.pad.ZeroPadding}))})(padZeropadding);var padNopadding={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.pad.NoPadding={pad:function(){},unpad:function(){}};return r.pad.NoPadding}))})(padNopadding);var formatHex={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(t){var a=r;var e=a.lib;var i=e.CipherParams;var n=a.enc;var o=n.Hex;var s=a.format;s.Hex={stringify:function(r){return r.ciphertext.toString(o)},parse:function(r){var t=o.parse(r);return i.create({ciphertext:t})}}})();return r.format.Hex}))})(formatHex);var aes={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.BlockCipher;var i=t.algo;var n=[];var o=[];var s=[];var v=[];var d=[];var c=[];var f=[];var h=[];var u=[];var l=[];(function(){var r=[];for(var t=0;t<256;t++){if(t<128){r[t]=t<<1}else{r[t]=t<<1^283}}var a=0;var e=0;for(var t=0;t<256;t++){var i=e^e<<1^e<<2^e<<3^e<<4;i=i>>>8^i&255^99;n[a]=i;o[i]=a;var m=r[a];var p=r[m];var b=r[p];var y=r[i]*257^i*16843008;s[a]=y<<24|y>>>8;v[a]=y<<16|y>>>16;d[a]=y<<8|y>>>24;c[a]=y;var y=b*16843009^p*65537^m*257^a*16843008;f[i]=y<<24|y>>>8;h[i]=y<<16|y>>>16;u[i]=y<<8|y>>>24;l[i]=y;if(!a){a=e=1}else{a=m^r[r[r[b^m]]];e^=r[r[e]]}}})();var m=[0,1,2,4,8,16,32,64,128,27,54];var p=i.AES=e.extend({_doReset:function(){var r;if(this._nRounds&&this._keyPriorReset===this._key){return}var t=this._keyPriorReset=this._key;var a=t.words;var e=t.sigBytes/4;var i=this._nRounds=e+6;var o=(i+1)*4;var s=this._keySchedule=[];for(var v=0;v<o;v++){if(v<e){s[v]=a[v]}else{r=s[v-1];if(!(v%e)){r=r<<8|r>>>24;r=n[r>>>24]<<24|n[r>>>16&255]<<16|n[r>>>8&255]<<8|n[r&255];r^=m[v/e|0]<<24}else if(e>6&&v%e==4){r=n[r>>>24]<<24|n[r>>>16&255]<<16|n[r>>>8&255]<<8|n[r&255]}s[v]=s[v-e]^r}}var d=this._invKeySchedule=[];for(var c=0;c<o;c++){var v=o-c;if(c%4){var r=s[v]}else{var r=s[v-4]}if(c<4||v<=4){d[c]=r}else{d[c]=f[n[r>>>24]]^h[n[r>>>16&255]]^u[n[r>>>8&255]]^l[n[r&255]]}}},encryptBlock:function(r,t){this._doCryptBlock(r,t,this._keySchedule,s,v,d,c,n)},decryptBlock:function(r,t){var a=r[t+1];r[t+1]=r[t+3];r[t+3]=a;this._doCryptBlock(r,t,this._invKeySchedule,f,h,u,l,o);var a=r[t+1];r[t+1]=r[t+3];r[t+3]=a},_doCryptBlock:function(r,t,a,e,i,n,o,s){var v=this._nRounds;var d=r[t]^a[0];var c=r[t+1]^a[1];var f=r[t+2]^a[2];var h=r[t+3]^a[3];var u=4;for(var l=1;l<v;l++){var m=e[d>>>24]^i[c>>>16&255]^n[f>>>8&255]^o[h&255]^a[u++];var p=e[c>>>24]^i[f>>>16&255]^n[h>>>8&255]^o[d&255]^a[u++];var b=e[f>>>24]^i[h>>>16&255]^n[d>>>8&255]^o[c&255]^a[u++];var y=e[h>>>24]^i[d>>>16&255]^n[c>>>8&255]^o[f&255]^a[u++];d=m;c=p;f=b;h=y}var m=(s[d>>>24]<<24|s[c>>>16&255]<<16|s[f>>>8&255]<<8|s[h&255])^a[u++];var p=(s[c>>>24]<<24|s[f>>>16&255]<<16|s[h>>>8&255]<<8|s[d&255])^a[u++];var b=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[d>>>8&255]<<8|s[c&255])^a[u++];var y=(s[h>>>24]<<24|s[d>>>16&255]<<16|s[c>>>8&255]<<8|s[f&255])^a[u++];r[t]=m;r[t+1]=p;r[t+2]=b;r[t+3]=y},keySize:256/32});t.AES=e._createHelper(p)})();return r.AES}))})(aes);var tripledes={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.WordArray;var i=a.BlockCipher;var n=t.algo;var o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4];var s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32];var v=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28];var d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}];var c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679];var f=n.DES=i.extend({_doReset:function(){var r=this._key;var t=r.words;var a=[];for(var e=0;e<56;e++){var i=o[e]-1;a[e]=t[i>>>5]>>>31-i%32&1}var n=this._subKeys=[];for(var d=0;d<16;d++){var c=n[d]=[];var f=v[d];for(var e=0;e<24;e++){c[e/6|0]|=a[(s[e]-1+f)%28]<<31-e%6;c[4+(e/6|0)]|=a[28+(s[e+24]-1+f)%28]<<31-e%6}c[0]=c[0]<<1|c[0]>>>31;for(var e=1;e<7;e++){c[e]=c[e]>>>(e-1)*4+3}c[7]=c[7]<<5|c[7]>>>27}var h=this._invSubKeys=[];for(var e=0;e<16;e++){h[e]=n[15-e]}},encryptBlock:function(r,t){this._doCryptBlock(r,t,this._subKeys)},decryptBlock:function(r,t){this._doCryptBlock(r,t,this._invSubKeys)},_doCryptBlock:function(r,t,a){this._lBlock=r[t];this._rBlock=r[t+1];h.call(this,4,252645135);h.call(this,16,65535);u.call(this,2,858993459);u.call(this,8,16711935);h.call(this,1,1431655765);for(var e=0;e<16;e++){var i=a[e];var n=this._lBlock;var o=this._rBlock;var s=0;for(var v=0;v<8;v++){s|=d[v][((o^i[v])&c[v])>>>0]}this._lBlock=o;this._rBlock=n^s}var f=this._lBlock;this._lBlock=this._rBlock;this._rBlock=f;h.call(this,1,1431655765);u.call(this,8,16711935);u.call(this,2,858993459);h.call(this,16,65535);h.call(this,4,252645135);r[t]=this._lBlock;r[t+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(r,t){var a=(this._lBlock>>>r^this._rBlock)&t;this._rBlock^=a;this._lBlock^=a<<r}function u(r,t){var a=(this._rBlock>>>r^this._lBlock)&t;this._lBlock^=a;this._rBlock^=a<<r}t.DES=i._createHelper(f);var l=n.TripleDES=i.extend({_doReset:function(){var r=this._key;var t=r.words;if(t.length!==2&&t.length!==4&&t.length<6){throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.")}var a=t.slice(0,2);var i=t.length<4?t.slice(0,2):t.slice(2,4);var n=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=f.createEncryptor(e.create(a));this._des2=f.createEncryptor(e.create(i));this._des3=f.createEncryptor(e.create(n))},encryptBlock:function(r,t){this._des1.encryptBlock(r,t);this._des2.decryptBlock(r,t);this._des3.encryptBlock(r,t)},decryptBlock:function(r,t){this._des3.decryptBlock(r,t);this._des2.encryptBlock(r,t);this._des1.decryptBlock(r,t)},keySize:192/32,ivSize:64/32,blockSize:64/32});t.TripleDES=i._createHelper(l)})();return r.TripleDES}))})(tripledes);var rc4={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.StreamCipher;var i=t.algo;var n=i.RC4=e.extend({_doReset:function(){var r=this._key;var t=r.words;var a=r.sigBytes;var e=this._S=[];for(var i=0;i<256;i++){e[i]=i}for(var i=0,n=0;i<256;i++){var o=i%a;var s=t[o>>>2]>>>24-o%4*8&255;n=(n+e[i]+s)%256;var v=e[i];e[i]=e[n];e[n]=v}this._i=this._j=0},_doProcessBlock:function(r,t){r[t]^=o.call(this)},keySize:256/32,ivSize:0});function o(){var r=this._S;var t=this._i;var a=this._j;var e=0;for(var i=0;i<4;i++){t=(t+1)%256;a=(a+r[t])%256;var n=r[t];r[t]=r[a];r[a]=n;e|=r[(r[t]+r[a])%256]<<24-i*8}this._i=t;this._j=a;return e}t.RC4=e._createHelper(n);var s=i.RC4Drop=n.extend({cfg:n.cfg.extend({drop:192}),_doReset:function(){n._doReset.call(this);for(var r=this.cfg.drop;r>0;r--){o.call(this)}}});t.RC4Drop=e._createHelper(s)})();return r.RC4}))})(rc4);var rabbit={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.StreamCipher;var i=t.algo;var n=[];var o=[];var s=[];var v=i.Rabbit=e.extend({_doReset:function(){var r=this._key.words;var t=this.cfg.iv;for(var a=0;a<4;a++){r[a]=(r[a]<<8|r[a]>>>24)&16711935|(r[a]<<24|r[a]>>>8)&4278255360}var e=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16];var i=this._C=[r[2]<<16|r[2]>>>16,r[0]&4294901760|r[1]&65535,r[3]<<16|r[3]>>>16,r[1]&4294901760|r[2]&65535,r[0]<<16|r[0]>>>16,r[2]&4294901760|r[3]&65535,r[1]<<16|r[1]>>>16,r[3]&4294901760|r[0]&65535];this._b=0;for(var a=0;a<4;a++){d.call(this)}for(var a=0;a<8;a++){i[a]^=e[a+4&7]}if(t){var n=t.words;var o=n[0];var s=n[1];var v=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360;var c=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360;var f=v>>>16|c&4294901760;var h=c<<16|v&65535;i[0]^=v;i[1]^=f;i[2]^=c;i[3]^=h;i[4]^=v;i[5]^=f;i[6]^=c;i[7]^=h;for(var a=0;a<4;a++){d.call(this)}}},_doProcessBlock:function(r,t){var a=this._X;d.call(this);n[0]=a[0]^a[5]>>>16^a[3]<<16;n[1]=a[2]^a[7]>>>16^a[5]<<16;n[2]=a[4]^a[1]>>>16^a[7]<<16;n[3]=a[6]^a[3]>>>16^a[1]<<16;for(var e=0;e<4;e++){n[e]=(n[e]<<8|n[e]>>>24)&16711935|(n[e]<<24|n[e]>>>8)&4278255360;r[t+e]^=n[e]}},blockSize:128/32,ivSize:64/32});function d(){var r=this._X;var t=this._C;for(var a=0;a<8;a++){o[a]=t[a]}t[0]=t[0]+1295307597+this._b|0;t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0;t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0;t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0;t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0;t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0;t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0;t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0;this._b=t[7]>>>0<o[7]>>>0?1:0;for(var a=0;a<8;a++){var e=r[a]+t[a];var i=e&65535;var n=e>>>16;var v=((i*i>>>17)+i*n>>>15)+n*n;var d=((e&4294901760)*e|0)+((e&65535)*e|0);s[a]=v^d}r[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0;r[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0;r[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0;r[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0;r[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0;r[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0;r[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0;r[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=e._createHelper(v)})();return r.Rabbit}))})(rabbit);var rabbitLegacy={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.StreamCipher;var i=t.algo;var n=[];var o=[];var s=[];var v=i.RabbitLegacy=e.extend({_doReset:function(){var r=this._key.words;var t=this.cfg.iv;var a=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16];var e=this._C=[r[2]<<16|r[2]>>>16,r[0]&4294901760|r[1]&65535,r[3]<<16|r[3]>>>16,r[1]&4294901760|r[2]&65535,r[0]<<16|r[0]>>>16,r[2]&4294901760|r[3]&65535,r[1]<<16|r[1]>>>16,r[3]&4294901760|r[0]&65535];this._b=0;for(var i=0;i<4;i++){d.call(this)}for(var i=0;i<8;i++){e[i]^=a[i+4&7]}if(t){var n=t.words;var o=n[0];var s=n[1];var v=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360;var c=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360;var f=v>>>16|c&4294901760;var h=c<<16|v&65535;e[0]^=v;e[1]^=f;e[2]^=c;e[3]^=h;e[4]^=v;e[5]^=f;e[6]^=c;e[7]^=h;for(var i=0;i<4;i++){d.call(this)}}},_doProcessBlock:function(r,t){var a=this._X;d.call(this);n[0]=a[0]^a[5]>>>16^a[3]<<16;n[1]=a[2]^a[7]>>>16^a[5]<<16;n[2]=a[4]^a[1]>>>16^a[7]<<16;n[3]=a[6]^a[3]>>>16^a[1]<<16;for(var e=0;e<4;e++){n[e]=(n[e]<<8|n[e]>>>24)&16711935|(n[e]<<24|n[e]>>>8)&4278255360;r[t+e]^=n[e]}},blockSize:128/32,ivSize:64/32});function d(){var r=this._X;var t=this._C;for(var a=0;a<8;a++){o[a]=t[a]}t[0]=t[0]+1295307597+this._b|0;t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0;t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0;t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0;t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0;t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0;t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0;t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0;this._b=t[7]>>>0<o[7]>>>0?1:0;for(var a=0;a<8;a++){var e=r[a]+t[a];var i=e&65535;var n=e>>>16;var v=((i*i>>>17)+i*n>>>15)+n*n;var d=((e&4294901760)*e|0)+((e&65535)*e|0);s[a]=v^d}r[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0;r[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0;r[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0;r[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0;r[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0;r[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0;r[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0;r[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=e._createHelper(v)})();return r.RabbitLegacy}))})(rabbitLegacy);var blowfish={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.BlockCipher;var i=t.algo;var n=16;var o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731];var s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var v={pbox:[],sbox:[]};function d(r,t){var a=t>>24&255;var e=t>>16&255;var i=t>>8&255;var n=t&255;var o=r.sbox[0][a]+r.sbox[1][e];o=o^r.sbox[2][i];o=o+r.sbox[3][n];return o}function c(r,t,a){var e=t;var i=a;var o;for(var s=0;s<n;++s){e=e^r.pbox[s];i=d(r,e)^i;o=e;e=i;i=o}o=e;e=i;i=o;i=i^r.pbox[n];e=e^r.pbox[n+1];return{left:e,right:i}}function f(r,t,a){var e=t;var i=a;var o;for(var s=n+1;s>1;--s){e=e^r.pbox[s];i=d(r,e)^i;o=e;e=i;i=o}o=e;e=i;i=o;i=i^r.pbox[1];e=e^r.pbox[0];return{left:e,right:i}}function h(r,t,a){for(var e=0;e<4;e++){r.sbox[e]=[];for(var i=0;i<256;i++){r.sbox[e][i]=s[e][i]}}var v=0;for(var d=0;d<n+2;d++){r.pbox[d]=o[d]^t[v];v++;if(v>=a){v=0}}var f=0;var h=0;var u=0;for(var l=0;l<n+2;l+=2){u=c(r,f,h);f=u.left;h=u.right;r.pbox[l]=f;r.pbox[l+1]=h}for(var l=0;l<4;l++){for(var m=0;m<256;m+=2){u=c(r,f,h);f=u.left;h=u.right;r.sbox[l][m]=f;r.sbox[l][m+1]=h}}return true}var u=i.Blowfish=e.extend({_doReset:function(){if(this._keyPriorReset===this._key){return}var r=this._keyPriorReset=this._key;var t=r.words;var a=r.sigBytes/4;h(v,t,a)},encryptBlock:function(r,t){var a=c(v,r[t],r[t+1]);r[t]=a.left;r[t+1]=a.right},decryptBlock:function(r,t){var a=f(v,r[t],r[t+1]);r[t]=a.left;r[t+1]=a.right},blockSize:64/32,keySize:128/32,ivSize:64/32});t.Blowfish=e._createHelper(u)})();return r.Blowfish}))})(blowfish);(function(r,t){(function(t,a,e){{r.exports=a(core.exports,x64Core.exports,libTypedarrays.exports,encUtf16.exports,encBase64.exports,encBase64url.exports,md5.exports,sha1.exports,sha256.exports,sha224.exports,sha512.exports,sha384.exports,sha3.exports,ripemd160.exports,hmac.exports,pbkdf2.exports,evpkdf.exports,cipherCore.exports,modeCfb.exports,modeCtr.exports,modeCtrGladman.exports,modeOfb.exports,modeEcb.exports,padAnsix923.exports,padIso10126.exports,padIso97971.exports,padZeropadding.exports,padNopadding.exports,formatHex.exports,aes.exports,tripledes.exports,rc4.exports,rabbit.exports,rabbitLegacy.exports,blowfish.exports)}})(commonjsGlobal,(function(r){return r}))})(cryptoJs);var miBaselineFileDownloadDone='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 18h14v2H5v-2zm4.6-2.7L5 10.7l2-1.9l2.6 2.6L17 4l2 2l-9.4 9.3z"/></svg>';var alreadyDownloaded$3="Έχετε ήδη κατεβάσει αυτό το αρχείο";var localeEl={alreadyDownloaded:alreadyDownloaded$3};var alreadyDownloaded$2="You have already downloaded this file";var localeEn={alreadyDownloaded:alreadyDownloaded$2};var alreadyDownloaded$1="Ya has descargado este archivo";var localeEs={alreadyDownloaded:alreadyDownloaded$1};var alreadyDownloaded="Hai già scaricato questo file";var localeIt={alreadyDownloaded:alreadyDownloaded};var mdsFileCss='@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@tailwind components; :host{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host{border-radius:0.375rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-align:stretch;align-items:stretch;background-color:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.1);box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.1);color:rgb(var(--tone-neutral-04));cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;-webkit-transition-property:outline, outline-offset, -webkit-box-shadow;transition-property:outline, outline-offset, -webkit-box-shadow;transition-property:box-shadow, outline, outline-offset;transition-property:box-shadow, outline, outline-offset, -webkit-box-shadow;width:100%}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host(:hover){-webkit-box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06)}.preview{width:3.5rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-file-preview-icon-bacground);color:var(--mds-file-preview-color);display:-ms-flexbox;display:flex;fill:var(--mds-file-preview-icon-color);-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;position:relative;-webkit-transition-property:color, background-color, fill;transition-property:color, background-color, fill}.image-preview{bottom:0.75rem;left:0.75rem;right:0.75rem;top:0.75rem;background-position:center;background-repeat:no-repeat;background-size:contain;position:absolute}.info{min-width:0rem;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1}.filename{min-width:0rem;display:-ms-flexbox;display:flex}.name{min-width:0rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.extension{-ms-flex-negative:0;flex-shrink:0}.detail{min-width:0rem;gap:0.5rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.suffix{-ms-flex-negative:0;flex-shrink:0;pointer-events:none}.description{min-width:0rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgb(var(--tone-neutral-05))}.indicator{padding-right:1rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.downloaded{display:-ms-flexbox;display:flex}.downloaded svg{aspect-ratio:1/1;height:100%;width:100%}.downloaded{fill:rgb(var(--status-success-06))}:host([format="archive"]),:host([format="executable"]){--mds-file-preview-icon-color:rgb(var(--label-amaranth-04));--mds-file-preview-color:rgb(var(--label-amaranth-04));--mds-file-preview-icon-bacground:rgb(var(--label-amaranth-10))}:host([format="attachment"]){--mds-file-preview-icon-color:rgb(var(--tone-neutral-04));--mds-file-preview-color:rgb(var(--tone-neutral-04));--mds-file-preview-icon-bacground:rgb(var(--tone-neutral-10))}:host([format="audio"]),:host([format="video"]){--mds-file-preview-icon-color:rgb(var(--label-violet-04));--mds-file-preview-color:rgb(var(--label-violet-04));--mds-file-preview-icon-bacground:rgb(var(--label-violet-10))}:host([format="code"]),:host([format="data"]),:host([format="markup"]){--mds-file-preview-icon-color:rgb(var(--label-yellow-04));--mds-file-preview-color:rgb(var(--label-yellow-04));--mds-file-preview-icon-bacground:rgb(var(--label-yellow-10))}:host([format="certificate"]),:host([format="document"]){--mds-file-preview-icon-color:rgb(var(--label-orange-04));--mds-file-preview-color:rgb(var(--label-orange-04));--mds-file-preview-icon-bacground:rgb(var(--label-orange-10))}:host([format="email"]),:host([format="text"]){--mds-file-preview-icon-color:rgb(var(--label-blue-04));--mds-file-preview-color:rgb(var(--label-blue-04));--mds-file-preview-icon-bacground:rgb(var(--label-blue-10))}:host([format="image"]){--mds-file-preview-icon-color:rgb(var(--label-green-04));--mds-file-preview-color:rgb(var(--label-green-04));--mds-file-preview-icon-bacground:rgb(var(--label-green-10))}:host([format="slide"]){--mds-file-preview-icon-color:rgb(var(--label-orchid-04));--mds-file-preview-color:rgb(var(--label-orchid-04));--mds-file-preview-icon-bacground:rgb(var(--label-orchid-10))}:host([format="spreadsheet"]){--mds-file-preview-icon-color:rgb(var(--label-lime-04));--mds-file-preview-color:rgb(var(--label-lime-04));--mds-file-preview-icon-bacground:rgb(var(--label-lime-10))}:host([format="vector"]){--mds-file-preview-icon-color:rgb(var(--label-aqua-04));--mds-file-preview-color:rgb(var(--label-aqua-04));--mds-file-preview-icon-bacground:rgb(var(--label-aqua-10))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .preview{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .preview{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}:host-context(.pref-theme-dark):host(:hover){-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}:host-context(.pref-theme-system):host(:hover){-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-contrast-more){background-color:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);color:rgb(var(--tone-neutral-01))}:host-context(.pref-contrast-more):host(:hover){-webkit-box-shadow:0 0 0 4px rgb(var(--tone-neutral-01) / 0.6);box-shadow:0 0 0 4px rgb(var(--tone-neutral-01) / 0.6)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){background-color:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);color:rgb(var(--tone-neutral-01))}:host-context(.pref-contrast-system):host(:hover){-webkit-box-shadow:0 0 0 4px rgb(var(--tone-neutral-01) / 0.6);box-shadow:0 0 0 4px rgb(var(--tone-neutral-01) / 0.6)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsFileStyle0=mdsFileCss;var MdsFile=function(){function r(r){var t=this;registerInstance(this,r);this.downloadedEvent=createEvent(this,"mdsFileDownload",7);this.t=new Locale({el:Object.assign(Object.assign({},localeEl),fileDescriptionLocaleEl),en:Object.assign(Object.assign({},localeEn),fileDescriptionLocaleEn),es:Object.assign(Object.assign({},localeEs),fileDescriptionLocaleEs),it:Object.assign(Object.assign({},localeIt),fileDescriptionLocaleIt)});this.wasDownloaded=false;this.showDownloadedIcon=true;this.handleOnClick=function(){var r;var a=getExtensionInfos(t.filename,t.suffix),e=a.format,i=a.description;t.downloadedEvent.emit({description:(r=t.description)!==null&&r!==void 0?r:i,extension:getSuffix(t.filename,t.suffix),filename:t.filename,target:t.host,type:e});localStorage.setItem("mdsFile".concat(cryptoJs.exports.MD5(t.filename).toString()),"downloaded");t.checkWasDownloaded()};this.checkWasDownloaded=function(){var r="mdsFile/".concat(cryptoJs.exports.MD5(t.filename).toString());t.wasDownloaded=localStorage.getItem(r)==="downloaded"};this.getDefaultDescription=function(){return getExtensionInfos(t.filename,t.suffix).description}}r.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.language=this.t.lang(this.host);return[2]}))}))};r.prototype.componentWillLoad=function(){this.checkWasDownloaded();this.t.lang(this.host);this.format=getExtensionInfos(this.filename,this.suffix).format};r.prototype.componentDidUpdate=function(){this.checkWasDownloaded()};r.prototype.handleFilename=function(r){this.format=getExtensionInfos(r,this.suffix).format};r.prototype.render=function(){var r,t;return h(Host,{key:"98164a90398e0d806e0670b4340d0561603f9136",tabindex:"0",onClick:this.handleOnClick},h("div",{key:"aecf3480d6cbbf362579d657e19e83c94efa41c3",class:"preview"},this.preview!==undefined?h("div",{class:"image-preview",style:{backgroundImage:"url(".concat(this.preview,")")}}):h("mds-icon",{name:getFormatsVariant(this.filename,this.suffix).icon})),h("div",{key:"fda6deb724c9de6a6026682741403118c21a5ea7",class:"info"},h("div",{key:"c0a75cddb21deaad91ade553996c212676dfd78c",class:"filename",title:this.filename},h("mds-text",{key:"18379a4576df47772387ed6a7b166b5477c56747",truncate:"word",typography:"h6",class:"name"},getName(this.filename)),this.suffix===undefined&&getSuffix(this.filename,this.suffix)&&h("mds-text",{key:"49a7b61565e18930954d7cbb669747ad51d8b20d",typography:"h6",class:"extension"},".",getSuffix(this.filename,this.suffix))),h("div",{key:"39a5744eda874b5b5f983b17791f6c366e5b9ff2",class:"detail"},getSuffix(this.filename,this.suffix)&&h("mds-badge",{key:"f5898dbc6fb1fa770acde22a473cd163dff5accd",variant:getFormatsVariant(this.filename,this.suffix).variant,tone:"weak",class:"suffix"},getSuffix(this.filename,this.suffix)),h("mds-text",{key:"e715745896c8ffb973271fae88bbbed23036190a",truncate:"word",typography:"caption",class:"description",title:(r=this.description)!==null&&r!==void 0?r:this.t.get(this.getDefaultDescription())},(t=this.description)!==null&&t!==void 0?t:this.t.get(this.getDefaultDescription())))),this.wasDownloaded&&this.showDownloadedIcon&&h("div",{key:"67fc181b52fa0cbedc2e0e35ee1def88222815e8",class:"indicator"},h("i",{key:"ee1d101f49d8925c11d1dccc91d480a6d84daab4",class:"downloaded",innerHTML:miBaselineFileDownloadDone,title:this.t.get("alreadyDownloaded")})))};Object.defineProperty(r.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{filename:["handleFilename"]}},enumerable:false,configurable:true});return r}();MdsFile.style=MdsFileStyle0;export{MdsFile as mds_file};
18
+ r.mode.CTRGladman=function(){var t=r.lib.BlockCipherMode.extend();function a(r){if((r>>24&255)===255){var t=r>>16&255;var a=r>>8&255;var e=r&255;if(t===255){t=0;if(a===255){a=0;if(e===255){e=0}else{++e}}else{++a}}else{++t}r=0;r+=t<<16;r+=a<<8;r+=e}else{r+=1<<24}return r}function e(r){if((r[0]=a(r[0]))===0){r[1]=a(r[1])}return r}var i=t.Encryptor=t.extend({processBlock:function(r,t){var a=this._cipher;var i=a.blockSize;var n=this._iv;var o=this._counter;if(n){o=this._counter=n.slice(0);this._iv=undefined}e(o);var s=o.slice(0);a.encryptBlock(s,0);for(var v=0;v<i;v++){r[t+v]^=s[v]}}});t.Decryptor=i;return t}();return r.mode.CTRGladman}))})(modeCtrGladman);var modeOfb={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.mode.OFB=function(){var t=r.lib.BlockCipherMode.extend();var a=t.Encryptor=t.extend({processBlock:function(r,t){var a=this._cipher;var e=a.blockSize;var i=this._iv;var n=this._keystream;if(i){n=this._keystream=i.slice(0);this._iv=undefined}a.encryptBlock(n,0);for(var o=0;o<e;o++){r[t+o]^=n[o]}}});t.Decryptor=a;return t}();return r.mode.OFB}))})(modeOfb);var modeEcb={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.mode.ECB=function(){var t=r.lib.BlockCipherMode.extend();t.Encryptor=t.extend({processBlock:function(r,t){this._cipher.encryptBlock(r,t)}});t.Decryptor=t.extend({processBlock:function(r,t){this._cipher.decryptBlock(r,t)}});return t}();return r.mode.ECB}))})(modeEcb);var padAnsix923={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.pad.AnsiX923={pad:function(r,t){var a=r.sigBytes;var e=t*4;var i=e-a%e;var n=a+i-1;r.clamp();r.words[n>>>2]|=i<<24-n%4*8;r.sigBytes+=i},unpad:function(r){var t=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=t}};return r.pad.Ansix923}))})(padAnsix923);var padIso10126={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.pad.Iso10126={pad:function(t,a){var e=a*4;var i=e-t.sigBytes%e;t.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(r){var t=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=t}};return r.pad.Iso10126}))})(padIso10126);var padIso97971={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.pad.Iso97971={pad:function(t,a){t.concat(r.lib.WordArray.create([2147483648],1));r.pad.ZeroPadding.pad(t,a)},unpad:function(t){r.pad.ZeroPadding.unpad(t);t.sigBytes--}};return r.pad.Iso97971}))})(padIso97971);var padZeropadding={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.pad.ZeroPadding={pad:function(r,t){var a=t*4;r.clamp();r.sigBytes+=a-(r.sigBytes%a||a)},unpad:function(r){var t=r.words;var a=r.sigBytes-1;for(var a=r.sigBytes-1;a>=0;a--){if(t[a>>>2]>>>24-a%4*8&255){r.sigBytes=a+1;break}}}};return r.pad.ZeroPadding}))})(padZeropadding);var padNopadding={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){r.pad.NoPadding={pad:function(){},unpad:function(){}};return r.pad.NoPadding}))})(padNopadding);var formatHex={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(t){var a=r;var e=a.lib;var i=e.CipherParams;var n=a.enc;var o=n.Hex;var s=a.format;s.Hex={stringify:function(r){return r.ciphertext.toString(o)},parse:function(r){var t=o.parse(r);return i.create({ciphertext:t})}}})();return r.format.Hex}))})(formatHex);var aes={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.BlockCipher;var i=t.algo;var n=[];var o=[];var s=[];var v=[];var d=[];var c=[];var f=[];var h=[];var u=[];var l=[];(function(){var r=[];for(var t=0;t<256;t++){if(t<128){r[t]=t<<1}else{r[t]=t<<1^283}}var a=0;var e=0;for(var t=0;t<256;t++){var i=e^e<<1^e<<2^e<<3^e<<4;i=i>>>8^i&255^99;n[a]=i;o[i]=a;var m=r[a];var p=r[m];var b=r[p];var y=r[i]*257^i*16843008;s[a]=y<<24|y>>>8;v[a]=y<<16|y>>>16;d[a]=y<<8|y>>>24;c[a]=y;var y=b*16843009^p*65537^m*257^a*16843008;f[i]=y<<24|y>>>8;h[i]=y<<16|y>>>16;u[i]=y<<8|y>>>24;l[i]=y;if(!a){a=e=1}else{a=m^r[r[r[b^m]]];e^=r[r[e]]}}})();var m=[0,1,2,4,8,16,32,64,128,27,54];var p=i.AES=e.extend({_doReset:function(){var r;if(this._nRounds&&this._keyPriorReset===this._key){return}var t=this._keyPriorReset=this._key;var a=t.words;var e=t.sigBytes/4;var i=this._nRounds=e+6;var o=(i+1)*4;var s=this._keySchedule=[];for(var v=0;v<o;v++){if(v<e){s[v]=a[v]}else{r=s[v-1];if(!(v%e)){r=r<<8|r>>>24;r=n[r>>>24]<<24|n[r>>>16&255]<<16|n[r>>>8&255]<<8|n[r&255];r^=m[v/e|0]<<24}else if(e>6&&v%e==4){r=n[r>>>24]<<24|n[r>>>16&255]<<16|n[r>>>8&255]<<8|n[r&255]}s[v]=s[v-e]^r}}var d=this._invKeySchedule=[];for(var c=0;c<o;c++){var v=o-c;if(c%4){var r=s[v]}else{var r=s[v-4]}if(c<4||v<=4){d[c]=r}else{d[c]=f[n[r>>>24]]^h[n[r>>>16&255]]^u[n[r>>>8&255]]^l[n[r&255]]}}},encryptBlock:function(r,t){this._doCryptBlock(r,t,this._keySchedule,s,v,d,c,n)},decryptBlock:function(r,t){var a=r[t+1];r[t+1]=r[t+3];r[t+3]=a;this._doCryptBlock(r,t,this._invKeySchedule,f,h,u,l,o);var a=r[t+1];r[t+1]=r[t+3];r[t+3]=a},_doCryptBlock:function(r,t,a,e,i,n,o,s){var v=this._nRounds;var d=r[t]^a[0];var c=r[t+1]^a[1];var f=r[t+2]^a[2];var h=r[t+3]^a[3];var u=4;for(var l=1;l<v;l++){var m=e[d>>>24]^i[c>>>16&255]^n[f>>>8&255]^o[h&255]^a[u++];var p=e[c>>>24]^i[f>>>16&255]^n[h>>>8&255]^o[d&255]^a[u++];var b=e[f>>>24]^i[h>>>16&255]^n[d>>>8&255]^o[c&255]^a[u++];var y=e[h>>>24]^i[d>>>16&255]^n[c>>>8&255]^o[f&255]^a[u++];d=m;c=p;f=b;h=y}var m=(s[d>>>24]<<24|s[c>>>16&255]<<16|s[f>>>8&255]<<8|s[h&255])^a[u++];var p=(s[c>>>24]<<24|s[f>>>16&255]<<16|s[h>>>8&255]<<8|s[d&255])^a[u++];var b=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[d>>>8&255]<<8|s[c&255])^a[u++];var y=(s[h>>>24]<<24|s[d>>>16&255]<<16|s[c>>>8&255]<<8|s[f&255])^a[u++];r[t]=m;r[t+1]=p;r[t+2]=b;r[t+3]=y},keySize:256/32});t.AES=e._createHelper(p)})();return r.AES}))})(aes);var tripledes={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.WordArray;var i=a.BlockCipher;var n=t.algo;var o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4];var s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32];var v=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28];var d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}];var c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679];var f=n.DES=i.extend({_doReset:function(){var r=this._key;var t=r.words;var a=[];for(var e=0;e<56;e++){var i=o[e]-1;a[e]=t[i>>>5]>>>31-i%32&1}var n=this._subKeys=[];for(var d=0;d<16;d++){var c=n[d]=[];var f=v[d];for(var e=0;e<24;e++){c[e/6|0]|=a[(s[e]-1+f)%28]<<31-e%6;c[4+(e/6|0)]|=a[28+(s[e+24]-1+f)%28]<<31-e%6}c[0]=c[0]<<1|c[0]>>>31;for(var e=1;e<7;e++){c[e]=c[e]>>>(e-1)*4+3}c[7]=c[7]<<5|c[7]>>>27}var h=this._invSubKeys=[];for(var e=0;e<16;e++){h[e]=n[15-e]}},encryptBlock:function(r,t){this._doCryptBlock(r,t,this._subKeys)},decryptBlock:function(r,t){this._doCryptBlock(r,t,this._invSubKeys)},_doCryptBlock:function(r,t,a){this._lBlock=r[t];this._rBlock=r[t+1];h.call(this,4,252645135);h.call(this,16,65535);u.call(this,2,858993459);u.call(this,8,16711935);h.call(this,1,1431655765);for(var e=0;e<16;e++){var i=a[e];var n=this._lBlock;var o=this._rBlock;var s=0;for(var v=0;v<8;v++){s|=d[v][((o^i[v])&c[v])>>>0]}this._lBlock=o;this._rBlock=n^s}var f=this._lBlock;this._lBlock=this._rBlock;this._rBlock=f;h.call(this,1,1431655765);u.call(this,8,16711935);u.call(this,2,858993459);h.call(this,16,65535);h.call(this,4,252645135);r[t]=this._lBlock;r[t+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(r,t){var a=(this._lBlock>>>r^this._rBlock)&t;this._rBlock^=a;this._lBlock^=a<<r}function u(r,t){var a=(this._rBlock>>>r^this._lBlock)&t;this._lBlock^=a;this._rBlock^=a<<r}t.DES=i._createHelper(f);var l=n.TripleDES=i.extend({_doReset:function(){var r=this._key;var t=r.words;if(t.length!==2&&t.length!==4&&t.length<6){throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.")}var a=t.slice(0,2);var i=t.length<4?t.slice(0,2):t.slice(2,4);var n=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=f.createEncryptor(e.create(a));this._des2=f.createEncryptor(e.create(i));this._des3=f.createEncryptor(e.create(n))},encryptBlock:function(r,t){this._des1.encryptBlock(r,t);this._des2.decryptBlock(r,t);this._des3.encryptBlock(r,t)},decryptBlock:function(r,t){this._des3.decryptBlock(r,t);this._des2.encryptBlock(r,t);this._des1.decryptBlock(r,t)},keySize:192/32,ivSize:64/32,blockSize:64/32});t.TripleDES=i._createHelper(l)})();return r.TripleDES}))})(tripledes);var rc4={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.StreamCipher;var i=t.algo;var n=i.RC4=e.extend({_doReset:function(){var r=this._key;var t=r.words;var a=r.sigBytes;var e=this._S=[];for(var i=0;i<256;i++){e[i]=i}for(var i=0,n=0;i<256;i++){var o=i%a;var s=t[o>>>2]>>>24-o%4*8&255;n=(n+e[i]+s)%256;var v=e[i];e[i]=e[n];e[n]=v}this._i=this._j=0},_doProcessBlock:function(r,t){r[t]^=o.call(this)},keySize:256/32,ivSize:0});function o(){var r=this._S;var t=this._i;var a=this._j;var e=0;for(var i=0;i<4;i++){t=(t+1)%256;a=(a+r[t])%256;var n=r[t];r[t]=r[a];r[a]=n;e|=r[(r[t]+r[a])%256]<<24-i*8}this._i=t;this._j=a;return e}t.RC4=e._createHelper(n);var s=i.RC4Drop=n.extend({cfg:n.cfg.extend({drop:192}),_doReset:function(){n._doReset.call(this);for(var r=this.cfg.drop;r>0;r--){o.call(this)}}});t.RC4Drop=e._createHelper(s)})();return r.RC4}))})(rc4);var rabbit={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.StreamCipher;var i=t.algo;var n=[];var o=[];var s=[];var v=i.Rabbit=e.extend({_doReset:function(){var r=this._key.words;var t=this.cfg.iv;for(var a=0;a<4;a++){r[a]=(r[a]<<8|r[a]>>>24)&16711935|(r[a]<<24|r[a]>>>8)&4278255360}var e=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16];var i=this._C=[r[2]<<16|r[2]>>>16,r[0]&4294901760|r[1]&65535,r[3]<<16|r[3]>>>16,r[1]&4294901760|r[2]&65535,r[0]<<16|r[0]>>>16,r[2]&4294901760|r[3]&65535,r[1]<<16|r[1]>>>16,r[3]&4294901760|r[0]&65535];this._b=0;for(var a=0;a<4;a++){d.call(this)}for(var a=0;a<8;a++){i[a]^=e[a+4&7]}if(t){var n=t.words;var o=n[0];var s=n[1];var v=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360;var c=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360;var f=v>>>16|c&4294901760;var h=c<<16|v&65535;i[0]^=v;i[1]^=f;i[2]^=c;i[3]^=h;i[4]^=v;i[5]^=f;i[6]^=c;i[7]^=h;for(var a=0;a<4;a++){d.call(this)}}},_doProcessBlock:function(r,t){var a=this._X;d.call(this);n[0]=a[0]^a[5]>>>16^a[3]<<16;n[1]=a[2]^a[7]>>>16^a[5]<<16;n[2]=a[4]^a[1]>>>16^a[7]<<16;n[3]=a[6]^a[3]>>>16^a[1]<<16;for(var e=0;e<4;e++){n[e]=(n[e]<<8|n[e]>>>24)&16711935|(n[e]<<24|n[e]>>>8)&4278255360;r[t+e]^=n[e]}},blockSize:128/32,ivSize:64/32});function d(){var r=this._X;var t=this._C;for(var a=0;a<8;a++){o[a]=t[a]}t[0]=t[0]+1295307597+this._b|0;t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0;t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0;t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0;t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0;t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0;t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0;t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0;this._b=t[7]>>>0<o[7]>>>0?1:0;for(var a=0;a<8;a++){var e=r[a]+t[a];var i=e&65535;var n=e>>>16;var v=((i*i>>>17)+i*n>>>15)+n*n;var d=((e&4294901760)*e|0)+((e&65535)*e|0);s[a]=v^d}r[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0;r[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0;r[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0;r[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0;r[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0;r[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0;r[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0;r[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=e._createHelper(v)})();return r.Rabbit}))})(rabbit);var rabbitLegacy={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.StreamCipher;var i=t.algo;var n=[];var o=[];var s=[];var v=i.RabbitLegacy=e.extend({_doReset:function(){var r=this._key.words;var t=this.cfg.iv;var a=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16];var e=this._C=[r[2]<<16|r[2]>>>16,r[0]&4294901760|r[1]&65535,r[3]<<16|r[3]>>>16,r[1]&4294901760|r[2]&65535,r[0]<<16|r[0]>>>16,r[2]&4294901760|r[3]&65535,r[1]<<16|r[1]>>>16,r[3]&4294901760|r[0]&65535];this._b=0;for(var i=0;i<4;i++){d.call(this)}for(var i=0;i<8;i++){e[i]^=a[i+4&7]}if(t){var n=t.words;var o=n[0];var s=n[1];var v=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360;var c=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360;var f=v>>>16|c&4294901760;var h=c<<16|v&65535;e[0]^=v;e[1]^=f;e[2]^=c;e[3]^=h;e[4]^=v;e[5]^=f;e[6]^=c;e[7]^=h;for(var i=0;i<4;i++){d.call(this)}}},_doProcessBlock:function(r,t){var a=this._X;d.call(this);n[0]=a[0]^a[5]>>>16^a[3]<<16;n[1]=a[2]^a[7]>>>16^a[5]<<16;n[2]=a[4]^a[1]>>>16^a[7]<<16;n[3]=a[6]^a[3]>>>16^a[1]<<16;for(var e=0;e<4;e++){n[e]=(n[e]<<8|n[e]>>>24)&16711935|(n[e]<<24|n[e]>>>8)&4278255360;r[t+e]^=n[e]}},blockSize:128/32,ivSize:64/32});function d(){var r=this._X;var t=this._C;for(var a=0;a<8;a++){o[a]=t[a]}t[0]=t[0]+1295307597+this._b|0;t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0;t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0;t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0;t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0;t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0;t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0;t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0;this._b=t[7]>>>0<o[7]>>>0?1:0;for(var a=0;a<8;a++){var e=r[a]+t[a];var i=e&65535;var n=e>>>16;var v=((i*i>>>17)+i*n>>>15)+n*n;var d=((e&4294901760)*e|0)+((e&65535)*e|0);s[a]=v^d}r[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0;r[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0;r[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0;r[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0;r[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0;r[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0;r[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0;r[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=e._createHelper(v)})();return r.RabbitLegacy}))})(rabbitLegacy);var blowfish={exports:{}};(function(r,t){(function(t,a,e){{r.exports=a(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)}})(commonjsGlobal,(function(r){(function(){var t=r;var a=t.lib;var e=a.BlockCipher;var i=t.algo;var n=16;var o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731];var s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var v={pbox:[],sbox:[]};function d(r,t){var a=t>>24&255;var e=t>>16&255;var i=t>>8&255;var n=t&255;var o=r.sbox[0][a]+r.sbox[1][e];o=o^r.sbox[2][i];o=o+r.sbox[3][n];return o}function c(r,t,a){var e=t;var i=a;var o;for(var s=0;s<n;++s){e=e^r.pbox[s];i=d(r,e)^i;o=e;e=i;i=o}o=e;e=i;i=o;i=i^r.pbox[n];e=e^r.pbox[n+1];return{left:e,right:i}}function f(r,t,a){var e=t;var i=a;var o;for(var s=n+1;s>1;--s){e=e^r.pbox[s];i=d(r,e)^i;o=e;e=i;i=o}o=e;e=i;i=o;i=i^r.pbox[1];e=e^r.pbox[0];return{left:e,right:i}}function h(r,t,a){for(var e=0;e<4;e++){r.sbox[e]=[];for(var i=0;i<256;i++){r.sbox[e][i]=s[e][i]}}var v=0;for(var d=0;d<n+2;d++){r.pbox[d]=o[d]^t[v];v++;if(v>=a){v=0}}var f=0;var h=0;var u=0;for(var l=0;l<n+2;l+=2){u=c(r,f,h);f=u.left;h=u.right;r.pbox[l]=f;r.pbox[l+1]=h}for(var l=0;l<4;l++){for(var m=0;m<256;m+=2){u=c(r,f,h);f=u.left;h=u.right;r.sbox[l][m]=f;r.sbox[l][m+1]=h}}return true}var u=i.Blowfish=e.extend({_doReset:function(){if(this._keyPriorReset===this._key){return}var r=this._keyPriorReset=this._key;var t=r.words;var a=r.sigBytes/4;h(v,t,a)},encryptBlock:function(r,t){var a=c(v,r[t],r[t+1]);r[t]=a.left;r[t+1]=a.right},decryptBlock:function(r,t){var a=f(v,r[t],r[t+1]);r[t]=a.left;r[t+1]=a.right},blockSize:64/32,keySize:128/32,ivSize:64/32});t.Blowfish=e._createHelper(u)})();return r.Blowfish}))})(blowfish);(function(r,t){(function(t,a,e){{r.exports=a(core.exports,x64Core.exports,libTypedarrays.exports,encUtf16.exports,encBase64.exports,encBase64url.exports,md5.exports,sha1.exports,sha256.exports,sha224.exports,sha512.exports,sha384.exports,sha3.exports,ripemd160.exports,hmac.exports,pbkdf2.exports,evpkdf.exports,cipherCore.exports,modeCfb.exports,modeCtr.exports,modeCtrGladman.exports,modeOfb.exports,modeEcb.exports,padAnsix923.exports,padIso10126.exports,padIso97971.exports,padZeropadding.exports,padNopadding.exports,formatHex.exports,aes.exports,tripledes.exports,rc4.exports,rabbit.exports,rabbitLegacy.exports,blowfish.exports)}})(commonjsGlobal,(function(r){return r}))})(cryptoJs);var miBaselineFileDownloadDone='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 18h14v2H5v-2zm4.6-2.7L5 10.7l2-1.9l2.6 2.6L17 4l2 2l-9.4 9.3z"/></svg>';var alreadyDownloaded$3="Έχετε ήδη κατεβάσει αυτό το αρχείο";var localeEl={alreadyDownloaded:alreadyDownloaded$3};var alreadyDownloaded$2="You have already downloaded this file";var localeEn={alreadyDownloaded:alreadyDownloaded$2};var alreadyDownloaded$1="Ya has descargado este archivo";var localeEs={alreadyDownloaded:alreadyDownloaded$1};var alreadyDownloaded="Hai già scaricato questo file";var localeIt={alreadyDownloaded:alreadyDownloaded};var mdsFileCss='@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@tailwind components; :host{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host{border-radius:0.375rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-align:stretch;align-items:stretch;background-color:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.1);box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 3px 0 rgb(0 0 0 / 0.1);color:rgb(var(--tone-neutral-04));cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;-webkit-transition-property:outline, outline-offset, -webkit-box-shadow;transition-property:outline, outline-offset, -webkit-box-shadow;transition-property:box-shadow, outline, outline-offset;transition-property:box-shadow, outline, outline-offset, -webkit-box-shadow;width:100%}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host(:hover){-webkit-box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06)}.preview{width:3.5rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-file-preview-icon-bacground);color:var(--mds-file-preview-color);display:-ms-flexbox;display:flex;fill:var(--mds-file-preview-icon-color);-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;position:relative;-webkit-transition-property:color, background-color, fill;transition-property:color, background-color, fill}.image-preview{bottom:0.75rem;left:0.75rem;right:0.75rem;top:0.75rem;background-position:center;background-repeat:no-repeat;background-size:contain;position:absolute}.info{min-width:0rem;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1}.filename{min-width:0rem;display:-ms-flexbox;display:flex}.name{min-width:0rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.extension{-ms-flex-negative:0;flex-shrink:0}.detail{min-width:0rem;gap:0.5rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.suffix{-ms-flex-negative:0;flex-shrink:0;pointer-events:none}.description{min-width:0rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgb(var(--tone-neutral-05))}.indicator{padding-right:1rem;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.downloaded{display:-ms-flexbox;display:flex}.downloaded svg{aspect-ratio:1/1;height:100%;width:100%}.downloaded{fill:rgb(var(--status-success-06))}:host([format="archive"]),:host([format="executable"]){--mds-file-preview-icon-color:rgb(var(--label-amaranth-04));--mds-file-preview-color:rgb(var(--label-amaranth-04));--mds-file-preview-icon-bacground:rgb(var(--label-amaranth-10))}:host([format="attachment"]){--mds-file-preview-icon-color:rgb(var(--tone-neutral-04));--mds-file-preview-color:rgb(var(--tone-neutral-04));--mds-file-preview-icon-bacground:rgb(var(--tone-neutral-10))}:host([format="audio"]),:host([format="video"]){--mds-file-preview-icon-color:rgb(var(--label-violet-04));--mds-file-preview-color:rgb(var(--label-violet-04));--mds-file-preview-icon-bacground:rgb(var(--label-violet-10))}:host([format="code"]),:host([format="data"]),:host([format="markup"]){--mds-file-preview-icon-color:rgb(var(--label-yellow-04));--mds-file-preview-color:rgb(var(--label-yellow-04));--mds-file-preview-icon-bacground:rgb(var(--label-yellow-10))}:host([format="certificate"]),:host([format="document"]){--mds-file-preview-icon-color:rgb(var(--label-orange-04));--mds-file-preview-color:rgb(var(--label-orange-04));--mds-file-preview-icon-bacground:rgb(var(--label-orange-10))}:host([format="email"]),:host([format="text"]){--mds-file-preview-icon-color:rgb(var(--label-blue-04));--mds-file-preview-color:rgb(var(--label-blue-04));--mds-file-preview-icon-bacground:rgb(var(--label-blue-10))}:host([format="image"]){--mds-file-preview-icon-color:rgb(var(--label-green-04));--mds-file-preview-color:rgb(var(--label-green-04));--mds-file-preview-icon-bacground:rgb(var(--label-green-10))}:host([format="slide"]){--mds-file-preview-icon-color:rgb(var(--label-orchid-04));--mds-file-preview-color:rgb(var(--label-orchid-04));--mds-file-preview-icon-bacground:rgb(var(--label-orchid-10))}:host([format="spreadsheet"]){--mds-file-preview-icon-color:rgb(var(--label-lime-04));--mds-file-preview-color:rgb(var(--label-lime-04));--mds-file-preview-icon-bacground:rgb(var(--label-lime-10))}:host([format="vector"]){--mds-file-preview-icon-color:rgb(var(--label-aqua-04));--mds-file-preview-color:rgb(var(--label-aqua-04));--mds-file-preview-icon-bacground:rgb(var(--label-aqua-10))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .preview{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .preview{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}:host-context(.pref-theme-dark):host(:hover){-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}:host-context(.pref-theme-system):host(:hover){-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-contrast-more){background-color:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);color:rgb(var(--tone-neutral-01))}:host-context(.pref-contrast-more):host(:hover){-webkit-box-shadow:0 0 0 4px rgb(var(--tone-neutral-01) / 0.6);box-shadow:0 0 0 4px rgb(var(--tone-neutral-01) / 0.6)}@media (prefers-contrast: more){:host-context(.pref-contrast-system){background-color:rgb(var(--tone-neutral));-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.3);color:rgb(var(--tone-neutral-01))}:host-context(.pref-contrast-system):host(:hover){-webkit-box-shadow:0 0 0 4px rgb(var(--tone-neutral-01) / 0.6);box-shadow:0 0 0 4px rgb(var(--tone-neutral-01) / 0.6)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsFileStyle0=mdsFileCss;var MdsFile=function(){function r(r){var t=this;registerInstance(this,r);this.downloadedEvent=createEvent(this,"mdsFileDownload",7);this.t=new Locale({el:Object.assign(Object.assign({},localeEl),fileDescriptionLocaleEl),en:Object.assign(Object.assign({},localeEn),fileDescriptionLocaleEn),es:Object.assign(Object.assign({},localeEs),fileDescriptionLocaleEs),it:Object.assign(Object.assign({},localeIt),fileDescriptionLocaleIt)});this.wasDownloaded=false;this.showDownloadedIcon=true;this.handleOnClick=function(){var r;var a=getExtensionInfos(t.filename,t.suffix),e=a.format,i=a.description;t.downloadedEvent.emit({description:(r=t.description)!==null&&r!==void 0?r:i,extension:getSuffix(t.filename,t.suffix),filename:t.filename,target:t.host,type:e});localStorage.setItem("mdsFile".concat(cryptoJs.exports.MD5(t.filename).toString()),"downloaded");t.checkWasDownloaded()};this.checkWasDownloaded=function(){var r="mdsFile/".concat(cryptoJs.exports.MD5(t.filename).toString());t.wasDownloaded=localStorage.getItem(r)==="downloaded"};this.getDefaultDescription=function(){return getExtensionInfos(t.filename,t.suffix).description}}r.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.language=this.t.lang(this.host);return[2]}))}))};r.prototype.componentWillLoad=function(){this.checkWasDownloaded();this.t.lang(this.host);this.format=getExtensionInfos(this.filename,this.suffix).format};r.prototype.componentDidUpdate=function(){this.checkWasDownloaded()};r.prototype.handleFilename=function(r){this.format=getExtensionInfos(r,this.suffix).format};r.prototype.render=function(){var r,t;return h(Host,{key:"0bb5dc19b383951d7fbc1327628fc243a44df46f",tabindex:"0",onClick:this.handleOnClick},h("div",{key:"6db2f755dbe8a7bcb32408b2f432fa8c21bf8ffb",class:"preview"},this.preview!==undefined?h("div",{class:"image-preview",style:{backgroundImage:"url(".concat(this.preview,")")}}):h("mds-icon",{name:getFormatsVariant(this.filename,this.suffix).icon})),h("div",{key:"490831c841387780442520bca2411987013197c9",class:"info"},h("div",{key:"bb3cb62007b8b92885c78ebc2ff1189996f6cca2",class:"filename",title:this.filename},h("mds-text",{key:"c51ab1c69ebcc754d99acffe402f30df11368b70",truncate:"word",typography:"h6",class:"name"},getName(this.filename)),this.suffix===undefined&&getSuffix(this.filename,this.suffix)&&h("mds-text",{key:"0a8ad649ed9292ce4e9c38ac0debe6826d302d75",typography:"h6",class:"extension"},".",getSuffix(this.filename,this.suffix))),h("div",{key:"7b87440b745f63583164e99802c01a770f545a82",class:"detail"},getSuffix(this.filename,this.suffix)&&h("mds-badge",{key:"a2d422ba97d0d89bedbd597871df41af2381ddf0",variant:getFormatsVariant(this.filename,this.suffix).variant,tone:"weak",class:"suffix"},getSuffix(this.filename,this.suffix)),h("mds-text",{key:"2e9534a1bae77749db33258609fafc27d1cf69a6",truncate:"word",typography:"caption",class:"description",title:(r=this.description)!==null&&r!==void 0?r:this.t.get(this.getDefaultDescription())},(t=this.description)!==null&&t!==void 0?t:this.t.get(this.getDefaultDescription())))),this.wasDownloaded&&this.showDownloadedIcon&&h("div",{key:"893d59f13b76e6d45489c278e312624b166ceab9",class:"indicator"},h("i",{key:"ff428c5087baa52839e4094d517a76fee8d16ceb",class:"downloaded",innerHTML:miBaselineFileDownloadDone,title:this.t.get("alreadyDownloaded")})))};Object.defineProperty(r.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{filename:["handleFilename"]}},enumerable:false,configurable:true});return r}();MdsFile.style=MdsFileStyle0;export{MdsFile as mds_file};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-7f153b9b.js";import{K as KeyboardManager}from"./keyboard-manager-f2f2f64c.js";var mdsFilterItemCss='@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@tailwind components; :host{--mds-filter-item-count-background-default:rgb(var(--tone-neutral-08));--mds-filter-item-count-color-default:rgb(var(--tone-neutral-02));--mds-filter-item-count-background-selected:rgb(var(--tone-neutral-05));--mds-filter-item-count-color-selected:rgb(var(--tone-neutral));-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host{gap:0.25rem;border-radius:9999px;padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-align:center;align-items:center;color:rgb(var(--tone-neutral-03));cursor:pointer;display:-ms-flexbox;display:flex;fill:currentcolor;-ms-flex-pack:center;justify-content:center;-webkit-transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, box-shadow, color, outline, outline-offset;transition-property:background-color, box-shadow, color, outline, outline-offset, -webkit-box-shadow;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}mds-text{white-space:nowrap}.count{-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-filter-item-count-background-default);border-radius:1rem;-webkit-box-sizing:border-box;box-sizing:border-box;color:currentcolor;color:var(--mds-filter-item-count-color-default);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;height:1rem;-ms-flex-pack:center;justify-content:center;min-width:1rem;padding-left:0.375rem;padding-right:0.375rem;-webkit-transition-property:background-color, color;transition-property:background-color, color;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host([icon]:not([label])){height:2.25rem;width:2.25rem;padding:0rem}:host([selected]:not([selected="false"])),:host(:hover){background-color:rgb(var(--tone-neutral))}:host(:hover){-webkit-box-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);box-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05)}:host([selected]:not([selected="false"])){color:rgb(var(--tone-neutral-01))}:host([selected]:not([selected="false"])) .count{background-color:var(--mds-filter-item-count-background-selected);color:var(--mds-filter-item-count-color-selected)}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){background-color:rgb(var(--tone-neutral-10))}:host-context(.pref-theme-dark):host([selected]:not([selected="false"])){background-color:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}:host-context(.pref-theme-dark):host(:hover){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){background-color:rgb(var(--tone-neutral-10))}:host-context(.pref-theme-system):host([selected]:not([selected="false"])){background-color:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}:host-context(.pref-theme-system):host(:hover){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-contrast-more):host([selected]:not([selected="false"])),:host-context(.pref-contrast-more):host(:hover){-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6)}@media (prefers-contrast: more){:host-context(.pref-contrast-system):host([selected]:not([selected="false"])),:host-context(.pref-contrast-system):host(:hover){-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsFilterItemStyle0=mdsFilterItemCss;var MdsFilterItem=function(){function t(t){var e=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsFilterItemSelect",7);this.km=new KeyboardManager;this.toggle=function(){e.selected=!e.selected;e.selectedEvent.emit({id:e.element.id,selected:e.selected})};this.disconnectedCallback=function(){e.km.detachClickBehavior()}}t.prototype.componentDidLoad=function(){this.km.addElement(this.element);this.km.attachClickBehavior()};t.prototype.render=function(){var t;return h(Host,{key:"2c895fbc29ea9a0a3821a0dc60dee5dea65ab6cd",tabindex:this.disabled?"-1":"0",role:"menuitem","aria-label":(t=this.label)!==null&&t!==void 0?t:this.icon,onClick:this.toggle},this.icon&&h("mds-icon",{key:"a4bc5acb9550092fa6fdea9004a602c6e3912b7a","aria-hidden":"true",name:this.icon}),this.label&&h("mds-text",{key:"14d86de48ed76faeee001c5d4a7077b1997693a1","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.count&&h("div",{key:"8fb24204fd2f30917f5041fda4e92c1271877294",class:"count"},h("mds-text",{key:"2a282fdf25234f0e07c3be767408967070d2d33a","aria-hidden":"true",variant:"info",typography:"option"},this.count)))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsFilterItem.style=MdsFilterItemStyle0;export{MdsFilterItem as mds_filter_item};
1
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-7f153b9b.js";import{K as KeyboardManager}from"./keyboard-manager-f2f2f64c.js";var mdsFilterItemCss='@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@tailwind components; :host{--mds-filter-item-count-background-default:rgb(var(--tone-neutral-08));--mds-filter-item-count-color-default:rgb(var(--tone-neutral-02));--mds-filter-item-count-background-selected:rgb(var(--tone-neutral-05));--mds-filter-item-count-color-selected:rgb(var(--tone-neutral));-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host{gap:0.25rem;border-radius:9999px;padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-align:center;align-items:center;color:rgb(var(--tone-neutral-03));cursor:pointer;display:-ms-flexbox;display:flex;fill:currentcolor;-ms-flex-pack:center;justify-content:center;-webkit-transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, box-shadow, color, outline, outline-offset;transition-property:background-color, box-shadow, color, outline, outline-offset, -webkit-box-shadow;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}mds-text{white-space:nowrap}.count{-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-filter-item-count-background-default);border-radius:1rem;-webkit-box-sizing:border-box;box-sizing:border-box;color:currentcolor;color:var(--mds-filter-item-count-color-default);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;height:1rem;-ms-flex-pack:center;justify-content:center;min-width:1rem;padding-left:0.375rem;padding-right:0.375rem;-webkit-transition-property:background-color, color;transition-property:background-color, color;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host([icon]:not([label])){height:2.25rem;width:2.25rem;padding:0rem}:host([selected]:not([selected="false"])),:host(:hover){background-color:rgb(var(--tone-neutral))}:host(:hover){-webkit-box-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);box-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05)}:host([selected]:not([selected="false"])){color:rgb(var(--tone-neutral-01))}:host([selected]:not([selected="false"])) .count{background-color:var(--mds-filter-item-count-background-selected);color:var(--mds-filter-item-count-color-selected)}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){background-color:rgb(var(--tone-neutral-10))}:host-context(.pref-theme-dark):host([selected]:not([selected="false"])){background-color:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}:host-context(.pref-theme-dark):host(:hover){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){background-color:rgb(var(--tone-neutral-10))}:host-context(.pref-theme-system):host([selected]:not([selected="false"])){background-color:rgb(var(--tone-neutral-08));-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}:host-context(.pref-theme-system):host(:hover){-webkit-box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3);box-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3)}}:host-context(.pref-contrast-more):host([selected]:not([selected="false"])),:host-context(.pref-contrast-more):host(:hover){-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6)}@media (prefers-contrast: more){:host-context(.pref-contrast-system):host([selected]:not([selected="false"])),:host-context(.pref-contrast-system):host(:hover){-webkit-box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6);box-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6)}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsFilterItemStyle0=mdsFilterItemCss;var MdsFilterItem=function(){function t(t){var e=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsFilterItemSelect",7);this.km=new KeyboardManager;this.toggle=function(){e.selected=!e.selected;e.selectedEvent.emit({id:e.element.id,selected:e.selected})};this.disconnectedCallback=function(){e.km.detachClickBehavior()}}t.prototype.componentDidLoad=function(){this.km.addElement(this.element);this.km.attachClickBehavior()};t.prototype.render=function(){var t;return h(Host,{key:"cce4de5afd4da30374952cbbc4c6b694757d3d5f",tabindex:this.disabled?"-1":"0",role:"menuitem","aria-label":(t=this.label)!==null&&t!==void 0?t:this.icon,onClick:this.toggle},this.icon&&h("mds-icon",{key:"b03f521485192a0149f70b83730988214dd304d6","aria-hidden":"true",name:this.icon}),this.label&&h("mds-text",{key:"5fa46497d02b5e05b056cdea546d1b9d9eecc3af","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.count&&h("div",{key:"9cdc8d67fcb81c58db3943dec77709fba4a03e3b",class:"count"},h("mds-text",{key:"b402310eb0d4043987776008c6584ed95b8e8e7d","aria-hidden":"true",variant:"info",typography:"option"},this.count)))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsFilterItem.style=MdsFilterItemStyle0;export{MdsFilterItem as mds_filter_item};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-7f153b9b.js";import{c as clsx}from"./clsx-297c1ffe.js";import{m as miBaselineClose}from"./close-11abb0cf.js";var mdsFilterCss='@tailwind components; :host{--mds-filter-items-background-active:rgb(var(--tone-neutral-09));--mds-filter-items-background:rgb(var(--tone-neutral-09));--mds-filter-items-gap:0.5rem;--mds-filter-items-padding:0.5rem;--mds-filter-items-radius:9999px;--mds-filter-items-scroll-behavior:smooth;--mds-filter-label-padding:0 1.5rem;--mds-filter-wrapper-shadow-color:rgb(var(--tone-neutral-06));--mds-filter-wrapper-shadow:0 0 0 2px var(--mds-filter-wrapper-shadow-color) inset;--mds-filter-wrapper-shodow-opacity:0.1;gap:0.25rem;display:grid;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}.items::-webkit-scrollbar{display:none}.items{-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);background-color:var(--mds-filter-items-background);border-radius:var(--mds-filter-items-radius);display:-ms-flexbox;display:flex;gap:var(--mds-filter-items-gap);overflow:auto;padding:var(--mds-filter-items-padding);position:relative;scroll-behavior:var(--mds-filter-items-scroll-behavior);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;-webkit-transition-property:background-color;transition-property:background-color}.items-wrapper{display:grid;overflow:hidden;position:relative}.items-wrapper::after{border-radius:var(--mds-filter-items-radius);-webkit-box-shadow:var(--mds-filter-wrapper-shadow);box-shadow:var(--mds-filter-wrapper-shadow);content:"";inset:0;opacity:var(--mds-filter-wrapper-shodow-opacity);pointer-events:none;position:absolute}.items::-webkit-scrollbar{display:none}.label{padding:var(--mds-filter-label-padding)}.active{background-color:var(--mds-filter-items-background-active)}.reset{-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center;transform-origin:center;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}.reset-button{-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);-webkit-transform:scale(0);transform:scale(0);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}.reset-button-opened{-webkit-transform:scale(1);transform:scale(1)}:host([reset]:not([reset="false"])) .reset{-webkit-transform:scale(1);transform:scale(1)}:host-context(.pref-animation-reduce){--mds-filter-items-scroll-behavior:auto}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .reset-button,:host-context(.pref-animation-reduce) .items{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){--mds-filter-items-scroll-behavior:auto}:host-context(.pref-animation-system),:host-context(.pref-animation-system) .reset-button,:host-context(.pref-animation-system) .items{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark) .items{--mds-filter-items-background-active:rgb(var(--tone-neutral-10));--mds-filter-items-background:rgb(var(--tone-neutral-09))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system) .items{--mds-filter-items-background-active:rgb(var(--tone-neutral-10));--mds-filter-items-background:rgb(var(--tone-neutral-09))}}:host-context(.pref-contrast-more){--mds-filter-items-background-active:rgb(var(--tone-neutral-09));--mds-filter-items-background:rgb(var(--tone-neutral-10));--mds-filter-wrapper-shadow-opacity:0.3;--mds-filter-wrapper-shadow-color:rgb(var(--tone-neutral-07));--mds-filter-wrapper-shadow:0 0 0 0.125rem var(--mds-filter-wrapper-shadow-color) inset}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-filter-items-background-active:rgb(var(--tone-neutral-09));--mds-filter-items-background:rgb(var(--tone-neutral-10));--mds-filter-wrapper-shadow-opacity:0.3;--mds-filter-wrapper-shadow-color:rgb(var(--tone-neutral-07));--mds-filter-wrapper-shadow:0 0 0 0.125rem var(--mds-filter-wrapper-shadow-color) inset}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsFilterStyle0=mdsFilterCss;var MdsFilter=function(){function t(t){var e=this;registerInstance(this,t);this.changedEvent=createEvent(this,"mdsFilterChange",7);this.itemsSelected=0;this.queryItems=function(){return e.element.querySelectorAll("mds-filter-item")};this.scrollTabs=function(){var t;var r=e.queryItems();var d=r[e.lastSelectedItem];var a=(t=e.element.shadowRoot)===null||t===void 0?void 0:t.querySelector(".items");if(a){a.scrollLeft=d.offsetLeft-a.offsetLeft-a.offsetWidth/2+d.offsetWidth/2}};this.checkSelectedItem=function(){var t=e.queryItems();var r=false;t.forEach((function(t){if(t.selected){r=true}}));e.active=r};this.checkAutoReset=function(){if(!e.autoReset){return}e.resetItems()};this.resetItems=function(){var t=e.queryItems();t.forEach((function(t){t.selected=false;t.classList.remove("sibling")}));e.active=false};this.itemsValues=function(){var t=e.queryItems();var r=[];t.forEach((function(t){if(t.selected){r.push(t.value)}}));return r.toString()}}t.prototype.componentWillLoad=function(){var t=this.queryItems();t.forEach((function(t,e){t.id="item-".concat(e)}));this.checkSelectedItem()};t.prototype.activeEventHandler=function(t){this.lastSelectedItem=Number(t.detail.id?t.detail.id.replace("item-",""):0);this.scrollTabs();var e=this.queryItems();if(this.multiple){var r=0;var d=[];e.forEach((function(t,e){d.push(t.selected?t:null);if(t.selected){r+=1}t.classList.remove("sibling");if(d.length>1&&d[e-1]!==null){t.classList.add("sibling")}}));this.itemsSelected=r;this.checkSelectedItem();if(this.itemsSelected===e.length){this.checkAutoReset()}this.changedEvent.emit({children:e,value:this.itemsValues()});return}e.forEach((function(e,r){e.selected="item-".concat(r)===t.detail.id&&t.detail.selected}));this.checkSelectedItem();this.changedEvent.emit({children:e,value:this.itemsValues()})};t.prototype.render=function(){return h(Host,{key:"5e8605b02237f9249889191d54ae4246652c92d2","aria-label":this.label,role:"menubar"},this.label&&h("mds-text",{key:"4d4ee003acd78cbc9a87e2ac9dba5f0aa3481530",class:"label",typography:"label"},this.label),h("div",{key:"211a57862ff7facadb36b0fc74d82cc2b93c7764",class:"items-wrapper"},h("div",{key:"99fbbc2e399a0a217a79e453c27e4277bb247721",class:clsx("items",this.active&&"active")},h("slot",{key:"3803d540618c02719130c4fc44b208190962e3e1"}),h("div",{key:"d516841b2efe68e2e603099223c6eb0e7d1e5377",class:clsx("reset",this.active&&"reset--opened")},h("mds-filter-item",{key:"e9b5c15cd2199d855007a617be24948d16e84fbf",selected:this.active,disabled:!this.active&&this.reset,class:clsx("reset-button",this.active&&"reset-button-opened"),icon:miBaselineClose,onClick:this.resetItems})))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsFilter.style=MdsFilterStyle0;export{MdsFilter as mds_filter};
1
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-7f153b9b.js";import{c as clsx}from"./clsx-297c1ffe.js";import{m as miBaselineClose}from"./close-11abb0cf.js";var mdsFilterCss='@tailwind components; :host{--mds-filter-items-background-active:rgb(var(--tone-neutral-09));--mds-filter-items-background:rgb(var(--tone-neutral-09));--mds-filter-items-gap:0.5rem;--mds-filter-items-padding:0.5rem;--mds-filter-items-radius:9999px;--mds-filter-items-scroll-behavior:smooth;--mds-filter-label-padding:0 1.5rem;--mds-filter-wrapper-shadow-color:rgb(var(--tone-neutral-06));--mds-filter-wrapper-shadow:0 0 0 2px var(--mds-filter-wrapper-shadow-color) inset;--mds-filter-wrapper-shodow-opacity:0.1;gap:0.25rem;display:grid;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}.items::-webkit-scrollbar{display:none}.items{-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);background-color:var(--mds-filter-items-background);border-radius:var(--mds-filter-items-radius);display:-ms-flexbox;display:flex;gap:var(--mds-filter-items-gap);overflow:auto;padding:var(--mds-filter-items-padding);position:relative;scroll-behavior:var(--mds-filter-items-scroll-behavior);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;-webkit-transition-property:background-color;transition-property:background-color}.items-wrapper{display:grid;overflow:hidden;position:relative}.items-wrapper::after{border-radius:var(--mds-filter-items-radius);-webkit-box-shadow:var(--mds-filter-wrapper-shadow);box-shadow:var(--mds-filter-wrapper-shadow);content:"";inset:0;opacity:var(--mds-filter-wrapper-shodow-opacity);pointer-events:none;position:absolute}.items::-webkit-scrollbar{display:none}.label{padding:var(--mds-filter-label-padding)}.active{background-color:var(--mds-filter-items-background-active)}.reset{-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center;transform-origin:center;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}.reset-button{-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);-webkit-transform:scale(0);transform:scale(0);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}.reset-button-opened{-webkit-transform:scale(1);transform:scale(1)}:host([reset]:not([reset="false"])) .reset{-webkit-transform:scale(1);transform:scale(1)}:host-context(.pref-animation-reduce){--mds-filter-items-scroll-behavior:auto}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .reset-button,:host-context(.pref-animation-reduce) .items{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){--mds-filter-items-scroll-behavior:auto}:host-context(.pref-animation-system),:host-context(.pref-animation-system) .reset-button,:host-context(.pref-animation-system) .items{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark) .items{--mds-filter-items-background-active:rgb(var(--tone-neutral-10));--mds-filter-items-background:rgb(var(--tone-neutral-09))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system) .items{--mds-filter-items-background-active:rgb(var(--tone-neutral-10));--mds-filter-items-background:rgb(var(--tone-neutral-09))}}:host-context(.pref-contrast-more){--mds-filter-items-background-active:rgb(var(--tone-neutral-09));--mds-filter-items-background:rgb(var(--tone-neutral-10));--mds-filter-wrapper-shadow-opacity:0.3;--mds-filter-wrapper-shadow-color:rgb(var(--tone-neutral-07));--mds-filter-wrapper-shadow:0 0 0 0.125rem var(--mds-filter-wrapper-shadow-color) inset}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-filter-items-background-active:rgb(var(--tone-neutral-09));--mds-filter-items-background:rgb(var(--tone-neutral-10));--mds-filter-wrapper-shadow-opacity:0.3;--mds-filter-wrapper-shadow-color:rgb(var(--tone-neutral-07));--mds-filter-wrapper-shadow:0 0 0 0.125rem var(--mds-filter-wrapper-shadow-color) inset}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsFilterStyle0=mdsFilterCss;var MdsFilter=function(){function t(t){var e=this;registerInstance(this,t);this.changedEvent=createEvent(this,"mdsFilterChange",7);this.itemsSelected=0;this.queryItems=function(){return e.element.querySelectorAll("mds-filter-item")};this.scrollTabs=function(){var t;var r=e.queryItems();var d=r[e.lastSelectedItem];var a=(t=e.element.shadowRoot)===null||t===void 0?void 0:t.querySelector(".items");if(a){a.scrollLeft=d.offsetLeft-a.offsetLeft-a.offsetWidth/2+d.offsetWidth/2}};this.checkSelectedItem=function(){var t=e.queryItems();var r=false;t.forEach((function(t){if(t.selected){r=true}}));e.active=r};this.checkAutoReset=function(){if(!e.autoReset){return}e.resetItems()};this.resetItems=function(){var t=e.queryItems();t.forEach((function(t){t.selected=false;t.classList.remove("sibling")}));e.active=false};this.itemsValues=function(){var t=e.queryItems();var r=[];t.forEach((function(t){if(t.selected){r.push(t.value)}}));return r.toString()}}t.prototype.componentWillLoad=function(){var t=this.queryItems();t.forEach((function(t,e){t.id="item-".concat(e)}));this.checkSelectedItem()};t.prototype.activeEventHandler=function(t){this.lastSelectedItem=Number(t.detail.id?t.detail.id.replace("item-",""):0);this.scrollTabs();var e=this.queryItems();if(this.multiple){var r=0;var d=[];e.forEach((function(t,e){d.push(t.selected?t:null);if(t.selected){r+=1}t.classList.remove("sibling");if(d.length>1&&d[e-1]!==null){t.classList.add("sibling")}}));this.itemsSelected=r;this.checkSelectedItem();if(this.itemsSelected===e.length){this.checkAutoReset()}this.changedEvent.emit({children:e,value:this.itemsValues()});return}e.forEach((function(e,r){e.selected="item-".concat(r)===t.detail.id&&t.detail.selected}));this.checkSelectedItem();this.changedEvent.emit({children:e,value:this.itemsValues()})};t.prototype.render=function(){return h(Host,{key:"2dcf168d8cd1db1f50e0162bf18c63f96e260ced","aria-label":this.label,role:"menubar"},this.label&&h("mds-text",{key:"88a354f4000f4c12b3da275969ee394d7943c6ff",class:"label",typography:"label"},this.label),h("div",{key:"9dd4279f939b7dea4213dbebcbf93d46c650f6e8",class:"items-wrapper"},h("div",{key:"51f5aa8ce8baf80de5890354e7a12ffb8dd68c23",class:clsx("items",this.active&&"active")},h("slot",{key:"7ed3b110e0c0e2025bdfe224cf4c50aaae8ef4c9"}),h("div",{key:"4ee1483f268903dae707a604c857441bbaf15509",class:clsx("reset",this.active&&"reset--opened")},h("mds-filter-item",{key:"7be06d770241ae01527c798a1e7958e6a90971b9",selected:this.active,disabled:!this.active&&this.reset,class:clsx("reset-button",this.active&&"reset-button-opened"),icon:miBaselineClose,onClick:this.resetItems})))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsFilter.style=MdsFilterStyle0;export{MdsFilter as mds_filter};