@zanichelli/delta_share 2.0.6 → 2.0.7

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 (358) hide show
  1. package/dist/wc/cjs/{breakpoints-a55736d0.js → breakpoints-da666109.js} +0 -2
  2. package/dist/wc/cjs/delta_share.cjs.js +2 -2
  3. package/dist/wc/cjs/{icons-2aca6c75.js → icons-f65fa82e.js} +58 -132
  4. package/dist/wc/cjs/{index-9ca7d5e5.js → index-458dc8f4.js} +0 -12
  5. package/dist/wc/cjs/index-b9bd2767.js +81 -0
  6. package/dist/wc/cjs/{license-activation_13.cjs.entry.js → license-activation_16.cjs.entry.js} +493 -131
  7. package/dist/wc/cjs/loader.cjs.js +2 -2
  8. package/dist/wc/cjs/utils-1f907efa.js +42 -0
  9. package/dist/wc/cjs/z-app-header.cjs.entry.js +6 -132
  10. package/dist/wc/cjs/z-app-switcher.cjs.entry.js +2 -2
  11. package/dist/wc/cjs/z-app-topbar.cjs.entry.js +28 -15
  12. package/dist/wc/cjs/z-button-sort.cjs.entry.js +3 -17
  13. package/dist/wc/cjs/z-candybar.cjs.entry.js +1 -1
  14. package/dist/wc/cjs/z-card-alert.cjs.entry.js +52 -0
  15. package/dist/wc/cjs/z-card-body.cjs.entry.js +19 -0
  16. package/dist/wc/cjs/z-card-cover.cjs.entry.js +22 -0
  17. package/dist/wc/cjs/z-card-footer.cjs.entry.js +46 -0
  18. package/dist/wc/cjs/z-card-header.cjs.entry.js +38 -0
  19. package/dist/wc/cjs/z-card-icon.cjs.entry.js +21 -0
  20. package/dist/wc/cjs/{z-myz-card-list.cjs.entry.js → z-card-list.cjs.entry.js} +5 -5
  21. package/dist/wc/cjs/z-card.cjs.entry.js +25 -53
  22. package/dist/wc/cjs/z-chip.cjs.entry.js +7 -20
  23. package/dist/wc/cjs/z-combobox.cjs.entry.js +17 -18
  24. package/dist/wc/cjs/z-cookiebar.cjs.entry.js +5 -5
  25. package/dist/wc/cjs/z-divider.cjs.entry.js +2 -2
  26. package/dist/wc/cjs/z-footer-link_3.cjs.entry.js +4 -4
  27. package/dist/wc/cjs/z-footer.cjs.entry.js +8 -35
  28. package/dist/wc/cjs/z-header.cjs.entry.js +180 -0
  29. package/dist/wc/cjs/z-heading.cjs.entry.js +17 -0
  30. package/dist/wc/cjs/z-icon-package.cjs.entry.js +2 -2
  31. package/dist/wc/cjs/{z-myz-list-item.cjs.entry.js → z-list-item.cjs.entry.js} +6 -7
  32. package/dist/wc/cjs/z-list_2.cjs.entry.js +53 -144
  33. package/dist/wc/cjs/z-logo.cjs.entry.js +10 -12
  34. package/dist/wc/cjs/z-menu-section.cjs.entry.js +2 -2
  35. package/dist/wc/cjs/z-menu.cjs.entry.js +4 -58
  36. package/dist/wc/cjs/z-modal-login.cjs.entry.js +6 -15
  37. package/dist/wc/cjs/z-pagination-bar.cjs.entry.js +2651 -8
  38. package/dist/wc/cjs/z-pagination-page.cjs.entry.js +4 -3
  39. package/dist/wc/cjs/z-panel-elem.cjs.entry.js +1 -1
  40. package/dist/wc/cjs/{z-table-body.cjs.entry.js → z-registro-table-body.cjs.entry.js} +5 -5
  41. package/dist/wc/cjs/z-registro-table-cell.cjs.entry.js +34 -0
  42. package/dist/wc/cjs/{z-table-head.cjs.entry.js → z-registro-table-footer.cjs.entry.js} +5 -5
  43. package/dist/wc/cjs/{z-table-footer.cjs.entry.js → z-registro-table-head.cjs.entry.js} +5 -5
  44. package/dist/wc/cjs/z-registro-table-header.cjs.entry.js +23 -0
  45. package/dist/wc/cjs/z-registro-table-row.cjs.entry.js +23 -0
  46. package/dist/wc/cjs/z-registro-table-sticky-footer.cjs.entry.js +19 -0
  47. package/dist/wc/cjs/z-registro-table.cjs.entry.js +31 -0
  48. package/dist/wc/cjs/z-stepper-item.cjs.entry.js +1 -1
  49. package/dist/wc/cjs/z-stepper.cjs.entry.js +1 -1
  50. package/dist/wc/cjs/z-toggle-button.cjs.entry.js +6 -7
  51. package/dist/wc/cjs/z-tooltip.cjs.entry.js +24 -254
  52. package/dist/wc/cjs/z-user-dropdown.cjs.entry.js +51 -46
  53. package/dist/wc/collection/collection-manifest.json +18 -63
  54. package/dist/wc/collection/components/license-activation-form/license-activation-form.js +23 -11
  55. package/dist/wc/custom-elements/index.js +2802 -9496
  56. package/dist/wc/delta_share/delta_share.esm.js +1 -1
  57. package/dist/wc/delta_share/p-04b614bf.entry.js +1 -0
  58. package/dist/wc/delta_share/p-0a05abe2.entry.js +1 -0
  59. package/dist/wc/delta_share/{p-3341f25e.entry.js → p-10d9e4f5.entry.js} +1 -1
  60. package/dist/wc/delta_share/p-21e76fc5.entry.js +1 -0
  61. package/dist/wc/delta_share/p-26d039ff.entry.js +1 -0
  62. package/dist/wc/delta_share/p-3995e58c.entry.js +1 -0
  63. package/dist/wc/delta_share/p-3c0ba1d7.entry.js +1 -0
  64. package/dist/wc/delta_share/p-3dae174e.entry.js +1 -0
  65. package/dist/wc/delta_share/p-466d0fc0.entry.js +1 -0
  66. package/dist/wc/delta_share/p-57e825ae.entry.js +1 -0
  67. package/dist/wc/delta_share/p-5a2d329b.entry.js +1 -0
  68. package/dist/wc/delta_share/p-5e35124a.entry.js +1 -0
  69. package/dist/wc/delta_share/{p-29d111de.entry.js → p-6215ddbd.entry.js} +1 -1
  70. package/dist/wc/delta_share/{p-94df01a9.entry.js → p-65c48026.entry.js} +1 -1
  71. package/dist/wc/delta_share/{p-a0663266.entry.js → p-6684b880.entry.js} +1 -1
  72. package/dist/wc/delta_share/p-7145c713.entry.js +1 -0
  73. package/dist/wc/delta_share/p-79e22647.entry.js +3 -0
  74. package/dist/wc/delta_share/p-7a08a26d.entry.js +1 -0
  75. package/dist/wc/delta_share/p-7adbb1ec.entry.js +1 -0
  76. package/dist/wc/delta_share/{p-cfc122de.entry.js → p-800cd436.entry.js} +1 -1
  77. package/dist/wc/delta_share/p-804eb658.entry.js +1 -0
  78. package/dist/wc/delta_share/p-81d7702b.entry.js +1 -0
  79. package/dist/wc/delta_share/p-85623203.entry.js +1 -0
  80. package/dist/wc/delta_share/{p-f531a563.entry.js → p-873e098b.entry.js} +1 -1
  81. package/dist/wc/delta_share/p-9dd299b2.js +1 -0
  82. package/dist/wc/delta_share/{p-6a9fb59c.entry.js → p-a03963a8.entry.js} +1 -1
  83. package/dist/wc/delta_share/p-a259b62e.entry.js +1 -0
  84. package/dist/wc/delta_share/p-ab7c95da.entry.js +1 -0
  85. package/dist/wc/delta_share/p-abd1d378.entry.js +1 -0
  86. package/dist/wc/delta_share/p-acfe9eb3.entry.js +1 -0
  87. package/dist/wc/delta_share/p-b5e27e10.js +1 -0
  88. package/dist/wc/delta_share/p-b5eb340c.entry.js +1 -0
  89. package/dist/wc/delta_share/p-b60651f2.entry.js +1 -0
  90. package/dist/wc/delta_share/p-c56e8a41.entry.js +1 -0
  91. package/dist/wc/delta_share/p-c69e24bf.entry.js +1 -0
  92. package/dist/wc/delta_share/{p-5b320481.entry.js → p-ca57e6ec.entry.js} +1 -1
  93. package/dist/wc/delta_share/p-cac71697.js +1 -0
  94. package/dist/wc/delta_share/p-cad0320b.entry.js +1 -0
  95. package/dist/wc/delta_share/p-d1270e75.entry.js +1 -0
  96. package/dist/wc/delta_share/p-d2b8f445.entry.js +1 -0
  97. package/dist/wc/delta_share/p-d489328b.js +1 -0
  98. package/dist/wc/delta_share/p-de921fbb.entry.js +1 -0
  99. package/dist/wc/delta_share/p-ec64cd8e.entry.js +1 -0
  100. package/dist/wc/delta_share/{p-06b89fb4.entry.js → p-ef4da7dc.entry.js} +1 -1
  101. package/dist/wc/delta_share/p-f1ba2542.entry.js +1 -0
  102. package/dist/wc/delta_share/p-f500eb2e.entry.js +1 -0
  103. package/dist/wc/delta_share/p-f5d6ffbf.entry.js +1 -0
  104. package/dist/wc/delta_share/p-f6cf7f9f.entry.js +1 -0
  105. package/dist/wc/delta_share/p-f9175533.entry.js +7 -0
  106. package/dist/wc/delta_share/p-fb1885ec.js +1 -0
  107. package/dist/wc/esm/breakpoints-75d56fd9.js +3 -0
  108. package/dist/wc/esm/delta_share.js +2 -2
  109. package/dist/wc/esm/{icons-74713b55.js → icons-973d360b.js} +58 -132
  110. package/dist/wc/esm/{index-b3a91e19.js → index-5ecd661f.js} +0 -12
  111. package/dist/wc/esm/index-e68ea3a2.js +81 -0
  112. package/dist/wc/esm/{license-activation_13.entry.js → license-activation_16.entry.js} +491 -132
  113. package/dist/wc/esm/loader.js +2 -2
  114. package/dist/wc/esm/utils-1c638931.js +37 -0
  115. package/dist/wc/esm/z-app-header.entry.js +6 -132
  116. package/dist/wc/esm/z-app-switcher.entry.js +2 -2
  117. package/dist/wc/esm/z-app-topbar.entry.js +28 -15
  118. package/dist/wc/esm/z-button-sort.entry.js +3 -17
  119. package/dist/wc/esm/z-candybar.entry.js +1 -1
  120. package/dist/wc/esm/z-card-alert.entry.js +48 -0
  121. package/dist/wc/esm/z-card-body.entry.js +15 -0
  122. package/dist/wc/esm/z-card-cover.entry.js +18 -0
  123. package/dist/wc/esm/z-card-footer.entry.js +42 -0
  124. package/dist/wc/esm/z-card-header.entry.js +34 -0
  125. package/dist/wc/esm/z-card-icon.entry.js +17 -0
  126. package/dist/wc/esm/z-card-list.entry.js +33 -0
  127. package/dist/wc/esm/z-card.entry.js +25 -53
  128. package/dist/wc/esm/z-chip.entry.js +7 -20
  129. package/dist/wc/esm/z-combobox.entry.js +17 -18
  130. package/dist/wc/esm/z-cookiebar.entry.js +5 -5
  131. package/dist/wc/esm/z-divider.entry.js +2 -2
  132. package/dist/wc/esm/z-footer-link_3.entry.js +4 -4
  133. package/dist/wc/esm/z-footer.entry.js +8 -35
  134. package/dist/wc/esm/z-header.entry.js +176 -0
  135. package/dist/wc/esm/z-heading.entry.js +13 -0
  136. package/dist/wc/esm/z-icon-package.entry.js +2 -2
  137. package/dist/wc/esm/{z-myz-list-item.entry.js → z-list-item.entry.js} +6 -7
  138. package/dist/wc/esm/z-list_2.entry.js +53 -144
  139. package/dist/wc/esm/z-logo.entry.js +10 -12
  140. package/dist/wc/esm/z-menu-section.entry.js +2 -2
  141. package/dist/wc/esm/z-menu.entry.js +4 -58
  142. package/dist/wc/esm/z-modal-login.entry.js +6 -15
  143. package/dist/wc/esm/z-pagination-bar.entry.js +2651 -8
  144. package/dist/wc/esm/z-pagination-page.entry.js +4 -3
  145. package/dist/wc/esm/z-panel-elem.entry.js +1 -1
  146. package/dist/wc/esm/{z-table-body.entry.js → z-registro-table-body.entry.js} +5 -5
  147. package/dist/wc/esm/z-registro-table-cell.entry.js +30 -0
  148. package/dist/wc/esm/{z-table-footer.entry.js → z-registro-table-footer.entry.js} +5 -5
  149. package/dist/wc/esm/{z-table-head.entry.js → z-registro-table-head.entry.js} +5 -5
  150. package/dist/wc/esm/z-registro-table-header.entry.js +19 -0
  151. package/dist/wc/esm/z-registro-table-row.entry.js +19 -0
  152. package/dist/wc/esm/z-registro-table-sticky-footer.entry.js +15 -0
  153. package/dist/wc/esm/z-registro-table.entry.js +27 -0
  154. package/dist/wc/esm/z-stepper-item.entry.js +1 -1
  155. package/dist/wc/esm/z-stepper.entry.js +1 -1
  156. package/dist/wc/esm/z-toggle-button.entry.js +6 -7
  157. package/dist/wc/esm/z-tooltip.entry.js +24 -254
  158. package/dist/wc/esm/z-user-dropdown.entry.js +51 -46
  159. package/dist/wc/types/beans/index.d.ts +1 -1
  160. package/dist/wc/types/components/license-activation/license-activation.d.ts +1 -1
  161. package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +2 -1
  162. package/package.json +1 -1
  163. package/dist/wc/cjs/hammer-4f20813e.js +0 -2650
  164. package/dist/wc/cjs/index-9c6fd1db.js +0 -315
  165. package/dist/wc/cjs/utils-8a10bba9.js +0 -88
  166. package/dist/wc/cjs/z-alert.cjs.entry.js +0 -19
  167. package/dist/wc/cjs/z-aria-alert.cjs.entry.js +0 -18
  168. package/dist/wc/cjs/z-avatar.cjs.entry.js +0 -43
  169. package/dist/wc/cjs/z-button-deprecated.cjs.entry.js +0 -38
  170. package/dist/wc/cjs/z-button-filter.cjs.entry.js +0 -49
  171. package/dist/wc/cjs/z-carousel.cjs.entry.js +0 -24
  172. package/dist/wc/cjs/z-chip-deprecated.cjs.entry.js +0 -24
  173. package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +0 -40
  174. package/dist/wc/cjs/z-date-picker.cjs.entry.js +0 -3104
  175. package/dist/wc/cjs/z-dragdrop-area_2.cjs.entry.js +0 -48
  176. package/dist/wc/cjs/z-file-upload.cjs.entry.js +0 -172
  177. package/dist/wc/cjs/z-file.cjs.entry.js +0 -47
  178. package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +0 -19
  179. package/dist/wc/cjs/z-input-deprecated.cjs.entry.js +0 -271
  180. package/dist/wc/cjs/z-input-label_2.cjs.entry.js +0 -272
  181. package/dist/wc/cjs/z-list-group.cjs.entry.js +0 -54
  182. package/dist/wc/cjs/z-menu-dropdown_2.cjs.entry.js +0 -89
  183. package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +0 -46
  184. package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +0 -63
  185. package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +0 -36
  186. package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +0 -19
  187. package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +0 -56
  188. package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +0 -21
  189. package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +0 -119
  190. package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +0 -104
  191. package/dist/wc/cjs/z-myz-topbar.cjs.entry.js +0 -194
  192. package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +0 -71
  193. package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +0 -73
  194. package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +0 -126
  195. package/dist/wc/cjs/z-notification.cjs.entry.js +0 -46
  196. package/dist/wc/cjs/z-offcanvas.cjs.entry.js +0 -63
  197. package/dist/wc/cjs/z-otp.cjs.entry.js +0 -41
  198. package/dist/wc/cjs/z-pagination.cjs.entry.js +0 -229
  199. package/dist/wc/cjs/z-pocket-message.cjs.entry.js +0 -19
  200. package/dist/wc/cjs/z-pocket_3.cjs.entry.js +0 -125
  201. package/dist/wc/cjs/z-popover.cjs.entry.js +0 -132
  202. package/dist/wc/cjs/z-section-title.cjs.entry.js +0 -42
  203. package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +0 -68
  204. package/dist/wc/cjs/z-slideshow.cjs.entry.js +0 -112
  205. package/dist/wc/cjs/z-status-tag.cjs.entry.js +0 -29
  206. package/dist/wc/cjs/z-table-cell.cjs.entry.js +0 -36
  207. package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +0 -32
  208. package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +0 -19
  209. package/dist/wc/cjs/z-table-header-row.cjs.entry.js +0 -22
  210. package/dist/wc/cjs/z-table-header.cjs.entry.js +0 -88
  211. package/dist/wc/cjs/z-table-row.cjs.entry.js +0 -43
  212. package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +0 -19
  213. package/dist/wc/cjs/z-table.cjs.entry.js +0 -82
  214. package/dist/wc/cjs/z-tag.cjs.entry.js +0 -22
  215. package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +0 -56
  216. package/dist/wc/cjs/z-toast-notification.cjs.entry.js +0 -203
  217. package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +0 -49
  218. package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +0 -19
  219. package/dist/wc/delta_share/p-041ff3e2.entry.js +0 -1
  220. package/dist/wc/delta_share/p-06543221.entry.js +0 -1
  221. package/dist/wc/delta_share/p-0b0179c7.js +0 -1
  222. package/dist/wc/delta_share/p-0f55558e.js +0 -1
  223. package/dist/wc/delta_share/p-103f926c.entry.js +0 -1
  224. package/dist/wc/delta_share/p-12aa58e4.entry.js +0 -1
  225. package/dist/wc/delta_share/p-20c14e4e.entry.js +0 -1
  226. package/dist/wc/delta_share/p-243df9e5.entry.js +0 -1
  227. package/dist/wc/delta_share/p-244accd2.entry.js +0 -1
  228. package/dist/wc/delta_share/p-261611b1.js +0 -1
  229. package/dist/wc/delta_share/p-29cb5018.entry.js +0 -1
  230. package/dist/wc/delta_share/p-2b05751b.entry.js +0 -1
  231. package/dist/wc/delta_share/p-3094900a.entry.js +0 -1
  232. package/dist/wc/delta_share/p-32975e01.entry.js +0 -1
  233. package/dist/wc/delta_share/p-32d34db1.entry.js +0 -1
  234. package/dist/wc/delta_share/p-33fb12fc.entry.js +0 -1
  235. package/dist/wc/delta_share/p-35bccab3.entry.js +0 -1
  236. package/dist/wc/delta_share/p-36955fc5.entry.js +0 -1
  237. package/dist/wc/delta_share/p-39440988.entry.js +0 -1
  238. package/dist/wc/delta_share/p-3f61bc0d.entry.js +0 -1
  239. package/dist/wc/delta_share/p-422f29e8.entry.js +0 -1
  240. package/dist/wc/delta_share/p-43ae8e0a.entry.js +0 -1
  241. package/dist/wc/delta_share/p-44eba966.entry.js +0 -1
  242. package/dist/wc/delta_share/p-51431ace.js +0 -1
  243. package/dist/wc/delta_share/p-5374191c.entry.js +0 -16
  244. package/dist/wc/delta_share/p-5559856c.entry.js +0 -1
  245. package/dist/wc/delta_share/p-5af0e3cd.entry.js +0 -1
  246. package/dist/wc/delta_share/p-5d085d01.entry.js +0 -1
  247. package/dist/wc/delta_share/p-5d88112c.entry.js +0 -1
  248. package/dist/wc/delta_share/p-5e9898dd.entry.js +0 -1
  249. package/dist/wc/delta_share/p-6422731e.entry.js +0 -1
  250. package/dist/wc/delta_share/p-64ffaf7b.entry.js +0 -1
  251. package/dist/wc/delta_share/p-6613eeee.entry.js +0 -1
  252. package/dist/wc/delta_share/p-6a39042b.entry.js +0 -1
  253. package/dist/wc/delta_share/p-6f7064dc.entry.js +0 -1
  254. package/dist/wc/delta_share/p-767a8d6e.entry.js +0 -1
  255. package/dist/wc/delta_share/p-76cfb0be.entry.js +0 -1
  256. package/dist/wc/delta_share/p-775af9dc.entry.js +0 -1
  257. package/dist/wc/delta_share/p-7f71c41e.entry.js +0 -1
  258. package/dist/wc/delta_share/p-8b6617d8.entry.js +0 -1
  259. package/dist/wc/delta_share/p-8fb4a4ea.entry.js +0 -1
  260. package/dist/wc/delta_share/p-91a4ef35.js +0 -1
  261. package/dist/wc/delta_share/p-91af6142.entry.js +0 -1
  262. package/dist/wc/delta_share/p-94b8f342.entry.js +0 -1
  263. package/dist/wc/delta_share/p-9656b290.entry.js +0 -1
  264. package/dist/wc/delta_share/p-97e4d621.entry.js +0 -1
  265. package/dist/wc/delta_share/p-9a1d266e.entry.js +0 -1
  266. package/dist/wc/delta_share/p-9c147330.entry.js +0 -1
  267. package/dist/wc/delta_share/p-9d35fb61.entry.js +0 -1
  268. package/dist/wc/delta_share/p-a150a778.entry.js +0 -1
  269. package/dist/wc/delta_share/p-a823768b.entry.js +0 -1
  270. package/dist/wc/delta_share/p-a880ae33.entry.js +0 -3
  271. package/dist/wc/delta_share/p-a949636a.entry.js +0 -1
  272. package/dist/wc/delta_share/p-b1c1f030.entry.js +0 -1
  273. package/dist/wc/delta_share/p-b5f0d2dc.entry.js +0 -1
  274. package/dist/wc/delta_share/p-badf3f24.entry.js +0 -1
  275. package/dist/wc/delta_share/p-bb38e604.entry.js +0 -1
  276. package/dist/wc/delta_share/p-bc225deb.entry.js +0 -1
  277. package/dist/wc/delta_share/p-bf58b24b.entry.js +0 -1
  278. package/dist/wc/delta_share/p-c2dde3b3.entry.js +0 -1
  279. package/dist/wc/delta_share/p-cccef23b.entry.js +0 -1
  280. package/dist/wc/delta_share/p-cd42e0b5.entry.js +0 -1
  281. package/dist/wc/delta_share/p-d282ce22.entry.js +0 -1
  282. package/dist/wc/delta_share/p-d610565d.entry.js +0 -1
  283. package/dist/wc/delta_share/p-da8144e5.entry.js +0 -1
  284. package/dist/wc/delta_share/p-dafefe1f.entry.js +0 -1
  285. package/dist/wc/delta_share/p-dc148f92.entry.js +0 -1
  286. package/dist/wc/delta_share/p-dd50dd54.entry.js +0 -1
  287. package/dist/wc/delta_share/p-de117646.entry.js +0 -1
  288. package/dist/wc/delta_share/p-dec6ab35.entry.js +0 -1
  289. package/dist/wc/delta_share/p-e37c7b62.entry.js +0 -1
  290. package/dist/wc/delta_share/p-e43e61ac.js +0 -7
  291. package/dist/wc/delta_share/p-e7932e20.entry.js +0 -1
  292. package/dist/wc/delta_share/p-e9412ef0.entry.js +0 -1
  293. package/dist/wc/delta_share/p-ea6c7be0.entry.js +0 -1
  294. package/dist/wc/delta_share/p-ebb9a3f9.entry.js +0 -1
  295. package/dist/wc/delta_share/p-ee76ecea.entry.js +0 -1
  296. package/dist/wc/delta_share/p-f0723bcc.entry.js +0 -1
  297. package/dist/wc/delta_share/p-f2323f2a.entry.js +0 -1
  298. package/dist/wc/delta_share/p-f441efc3.entry.js +0 -1
  299. package/dist/wc/delta_share/p-fd83d815.entry.js +0 -1
  300. package/dist/wc/delta_share/p-ff2508eb.entry.js +0 -1
  301. package/dist/wc/esm/breakpoints-e07f80e7.js +0 -4
  302. package/dist/wc/esm/hammer-c3266b17.js +0 -2648
  303. package/dist/wc/esm/index-654849a7.js +0 -315
  304. package/dist/wc/esm/utils-417652d9.js +0 -80
  305. package/dist/wc/esm/z-alert.entry.js +0 -15
  306. package/dist/wc/esm/z-aria-alert.entry.js +0 -14
  307. package/dist/wc/esm/z-avatar.entry.js +0 -39
  308. package/dist/wc/esm/z-button-deprecated.entry.js +0 -34
  309. package/dist/wc/esm/z-button-filter.entry.js +0 -45
  310. package/dist/wc/esm/z-carousel.entry.js +0 -20
  311. package/dist/wc/esm/z-chip-deprecated.entry.js +0 -20
  312. package/dist/wc/esm/z-contextual-menu.entry.js +0 -36
  313. package/dist/wc/esm/z-date-picker.entry.js +0 -3100
  314. package/dist/wc/esm/z-dragdrop-area_2.entry.js +0 -43
  315. package/dist/wc/esm/z-file-upload.entry.js +0 -168
  316. package/dist/wc/esm/z-file.entry.js +0 -43
  317. package/dist/wc/esm/z-ghost-loading.entry.js +0 -15
  318. package/dist/wc/esm/z-input-deprecated.entry.js +0 -267
  319. package/dist/wc/esm/z-input-label_2.entry.js +0 -267
  320. package/dist/wc/esm/z-list-group.entry.js +0 -50
  321. package/dist/wc/esm/z-menu-dropdown_2.entry.js +0 -84
  322. package/dist/wc/esm/z-messages-pocket.entry.js +0 -42
  323. package/dist/wc/esm/z-myz-card-alert.entry.js +0 -59
  324. package/dist/wc/esm/z-myz-card-dictionary.entry.js +0 -32
  325. package/dist/wc/esm/z-myz-card-footer-sections.entry.js +0 -15
  326. package/dist/wc/esm/z-myz-card-footer.entry.js +0 -52
  327. package/dist/wc/esm/z-myz-card-icon.entry.js +0 -17
  328. package/dist/wc/esm/z-myz-card-info.entry.js +0 -115
  329. package/dist/wc/esm/z-myz-card-list.entry.js +0 -33
  330. package/dist/wc/esm/z-myz-card_4.entry.js +0 -97
  331. package/dist/wc/esm/z-myz-topbar.entry.js +0 -190
  332. package/dist/wc/esm/z-navigation-tab-link.entry.js +0 -67
  333. package/dist/wc/esm/z-navigation-tab.entry.js +0 -69
  334. package/dist/wc/esm/z-navigation-tabs.entry.js +0 -122
  335. package/dist/wc/esm/z-notification.entry.js +0 -42
  336. package/dist/wc/esm/z-offcanvas.entry.js +0 -59
  337. package/dist/wc/esm/z-otp.entry.js +0 -37
  338. package/dist/wc/esm/z-pagination.entry.js +0 -225
  339. package/dist/wc/esm/z-pocket-message.entry.js +0 -15
  340. package/dist/wc/esm/z-pocket_3.entry.js +0 -119
  341. package/dist/wc/esm/z-popover.entry.js +0 -128
  342. package/dist/wc/esm/z-section-title.entry.js +0 -38
  343. package/dist/wc/esm/z-skip-to-content.entry.js +0 -64
  344. package/dist/wc/esm/z-slideshow.entry.js +0 -108
  345. package/dist/wc/esm/z-status-tag.entry.js +0 -25
  346. package/dist/wc/esm/z-table-cell.entry.js +0 -32
  347. package/dist/wc/esm/z-table-empty-box.entry.js +0 -28
  348. package/dist/wc/esm/z-table-expanded-row.entry.js +0 -15
  349. package/dist/wc/esm/z-table-header-row.entry.js +0 -18
  350. package/dist/wc/esm/z-table-header.entry.js +0 -84
  351. package/dist/wc/esm/z-table-row.entry.js +0 -39
  352. package/dist/wc/esm/z-table-sticky-footer.entry.js +0 -15
  353. package/dist/wc/esm/z-table.entry.js +0 -78
  354. package/dist/wc/esm/z-tag.entry.js +0 -18
  355. package/dist/wc/esm/z-toast-notification-list.entry.js +0 -52
  356. package/dist/wc/esm/z-toast-notification.entry.js +0 -199
  357. package/dist/wc/esm/z-toggle-switch.entry.js +0 -45
  358. package/dist/wc/esm/z-visually-hidden.entry.js +0 -15
@@ -1 +0,0 @@
1
- import{r as t,h as e,c as s,a as i}from"./p-0f55558e.js";import{K as l,v as r}from"./p-261611b1.js";import{r as c,b as a,a as n,h as o,d as h}from"./p-91a4ef35.js";import"./p-51431ace.js";const p=class{constructor(e){t(this,e),this.disabled=!1}render(){return e("label",{htmlFor:this.htmlfor,class:{disabled:this.disabled}},this.value)}};p.style="label{display:block;margin:var(--space-unit) 0;color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);line-height:1.33;letter-spacing:0.32px;text-transform:uppercase;text-align:left}label.disabled{color:var(--color-disabled02)}";const d=class{constructor(e){t(this,e),this.optionSelect=s(this,"optionSelect",7),this.htmlid=`id-${c()}`,this.disabled=!1,this.readonly=!1,this.message=!0,this.autocomplete=!1,this.noresultslabel="Nessun risultato",this.isOpen=!1,this.selectedItem=null,this.itemsList=[],this.toggleSelectUl=this.toggleSelectUl.bind(this),this.selectItem=this.selectItem.bind(this),this.handleSelectFocus=this.handleSelectFocus.bind(this)}watchItems(){this.itemsList=this.getInitialItemsArray(),this.selectedItem=this.itemsList.find((t=>t.selected))}async getSelectedItem(){return this.selectedItem}async getValue(){return this.getSelectedValue()}async setValue(t){let e=[];"string"==typeof t?e.push(t):e=t,this.selectedItem=this.itemsList.find((t=>e.includes(t.id)))}emitOptionSelect(){this.optionSelect.emit({id:this.htmlid,selected:this.getSelectedValue()})}componentWillLoad(){this.watchItems()}componentWillRender(){this.filterItems(this.searchString)}getInitialItemsArray(){return"string"==typeof this.items?JSON.parse(this.items):this.items}mapSelectedItemToItemsArray(){return this.getInitialItemsArray().map((t=>{var e;return t.selected=t.id===(null===(e=this.selectedItem)||void 0===e?void 0:e.id),t}))}getSelectedValue(){var t;return null===(t=this.selectedItem)||void 0===t?void 0:t.id}filterItems(t){const e=this.mapSelectedItemToItemsArray();this.itemsList=(null==t?void 0:t.length)?e.filter((e=>e.name.toUpperCase().includes(t.toUpperCase()))).map((e=>{const s=e.name.toUpperCase().indexOf(t.toUpperCase()),i=s+t.length,l=e.name.substring(0,s)+`<strong>${e.name.substring(s,i)}</strong>`+e.name.substring(i,e.name.length);return e.name=l,e})):e}hasAutocomplete(){return!0===a(this.autocomplete)}handleInputChange(t){this.searchString=t.detail.value,this.isOpen||this.toggleSelectUl()}selectItem(t,e){t&&t.disabled||(this.itemsList=this.mapSelectedItemToItemsArray(),this.itemsList=this.itemsList.map((s=>(s.selected=!1,s.id===(t?t.id:null)&&(s.selected=e),s))),this.selectedItem=this.itemsList.find((t=>t.selected)),this.emitOptionSelect(),this.searchString&&(this.searchString=null))}arrowsSelectNav(t,e){if(![l.ARROW_DOWN,l.ARROW_UP].includes(t.key))return;let s;t.preventDefault(),t.stopPropagation(),this.isOpen||this.toggleSelectUl(),t.key===l.ARROW_DOWN?s=e+1===this.itemsList.length?0:e+1:t.key===l.ARROW_UP&&(s=e<=0?this.itemsList.length-1:e-1),this.focusSelectItem(s)}focusSelectItem(t){const e=this.element.querySelector(`#${this.htmlid}_${t}`);e&&e.focus()}toggleSelectUl(t=!1){this.disabled||this.readonly||(this.isOpen?(document.removeEventListener("click",this.handleSelectFocus),document.removeEventListener("keyup",this.handleSelectFocus),t&&this.element.querySelector(`#${this.htmlid}_input`).focus()):(document.addEventListener("click",this.handleSelectFocus),document.addEventListener("keyup",this.handleSelectFocus)),this.isOpen=!this.isOpen)}handleInputClick(t){t.composedPath().find((t=>t.classList&&t.classList.contains("resetIcon")))?t.stopPropagation():this.toggleSelectUl()}handleSelectFocus(t){if(t instanceof KeyboardEvent&&t.key===l.ESC)return t.stopPropagation(),this.toggleSelectUl(!0);t instanceof KeyboardEvent&&t.key!==l.TAB&&t.key!==l.ENTER||n(h()).find((t=>"z-input"===t.nodeName.toLowerCase()&&t.id===`${this.htmlid}_input`))||this.toggleSelectUl(t instanceof MouseEvent)}scrollToLetter(t){const e=this.itemsList.find((e=>e.name.charAt(0)===t));e&&this.focusSelectItem(this.itemsList.indexOf(e))}renderInput(){return e("z-input",{id:`${this.htmlid}_input`,htmlid:`${this.htmlid}_input`,placeholder:this.placeholder,value:!this.isOpen&&this.selectedItem?this.selectedItem.name.replace(/<[^>]+>/g,""):null,label:this.label,"aria-label":this.ariaLabel,icon:this.isOpen?"caret-up":"caret-down",hasclearicon:this.hasAutocomplete(),message:!1,disabled:this.disabled,readonly:this.readonly||!this.hasAutocomplete()&&this.isOpen,status:this.isOpen?void 0:this.status,onClick:t=>{this.handleInputClick(t)},onKeyUp:t=>{13!==t.keyCode&&t.preventDefault(),o(t,this.toggleSelectUl)},onKeyDown:t=>this.arrowsSelectNav(t,this.selectedItem?this.itemsList.indexOf(this.selectedItem):-1),onInputChange:t=>{this.handleInputChange(t)},onKeyPress:t=>{this.hasAutocomplete()||(t.preventDefault(),this.scrollToLetter(String.fromCharCode(t.keyCode)))}})}renderSelectUl(){var t;return e("div",{class:this.isOpen?"open":"closed",tabindex:"-1"},e("div",{class:"ulScrollWrapper",tabindex:"-1"},e("z-list",{role:"listbox",tabindex:this.disabled||this.readonly||!this.isOpen?-1:0,id:this.htmlid,"aria-activedescendant":null===(t=this.selectedItem)||void 0===t?void 0:t.id,"aria-multiselectable":!1,class:{disabled:this.disabled,readonly:this.readonly,filled:!!this.selectedItem,[`input_${this.status}`]:!this.isOpen&&!!this.status,input_default:this.isOpen||!this.status}},this.renderSelectUlItems())))}renderSelectUlItems(){return this.itemsList.length?this.itemsList.map(((t,s)=>e("z-list-element",{clickable:!t.disabled,disabled:t.disabled,dividerType:r.element,role:"option",tabindex:t.disabled||!this.isOpen?-1:0,"aria-selected":!!t.selected,id:`${this.htmlid}_${s}`,onClickItem:()=>this.selectItem(t,!0),onKeyDown:t=>this.arrowsSelectNav(t,s)},e("span",{class:{selected:!!t.selected},innerHTML:t.name})))):this.renderNoSearchResults()}renderNoSearchResults(){return e("z-list-element",{color:"blue500",class:"noResults"},e("z-icon",{name:"multiply-circle",fill:"blue500"}),this.noresultslabel)}renderMessage(){if(!1!==a(this.message))return e("z-input-message",{message:!0===a(this.message)?void 0:this.message,status:this.status})}render(){return e("div",{class:"selectWrapper"},this.renderInput(),this.renderSelectUl(),this.renderMessage())}get element(){return i(this)}static get watchers(){return{items:["watchItems"]}}};d.style=".sc-z-select-h{display:inline-block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:var(--font-size-3);color:var(--color-text02)}.selectWrapper.sc-z-select>z-input.sc-z-select{width:100%}.selectWrapper.sc-z-select>div.sc-z-select{position:relative}.selectWrapper.sc-z-select>div.closed.sc-z-select{height:0;overflow:hidden}.selectWrapper.sc-z-select .ulScrollWrapper.sc-z-select{background:var(--color-surface01);position:absolute;padding:calc(var(--space-unit) * 0.5) var(--space-unit);border:var(--border-size-small) solid var(--gray200);border-top:none;width:100%;box-sizing:border-box;outline:none}.selectWrapper.sc-z-select .closed.sc-z-select .ulScrollWrapper.sc-z-select{z-index:10}.selectWrapper.sc-z-select .open.sc-z-select .ulScrollWrapper.sc-z-select{z-index:20}.selectWrapper.sc-z-select .ulScrollWrapper.sc-z-select>z-list.sc-z-select{position:relative;padding:calc(var(--space-unit) * 0.5);max-height:240px;overflow:auto;outline:none;scrollbar-color:var(--color-primary01) transparent}.selectWrapper.sc-z-select .ulScrollWrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}.selectWrapper.sc-z-select .ulScrollWrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-track{background-color:transparent}.selectWrapper.sc-z-select .ulScrollWrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.selectWrapper.sc-z-select .ulScrollWrapper.sc-z-select>z-list.sc-z-select::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.selectWrapper.sc-z-select .ulScrollWrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select span.sc-z-select{display:block;padding:0 calc(var(--space-unit) * 1.5)}.selectWrapper.sc-z-select .ulScrollWrapper.sc-z-select z-list.sc-z-select z-list-element.sc-z-select span.selected.sc-z-select{font-weight:bold}.selectWrapper.sc-z-select .ulScrollWrapper.sc-z-select .noResults.sc-z-select z-icon.sc-z-select{margin-right:var(--space-unit)}";export{p as z_input_label,d as z_select}
@@ -1 +0,0 @@
1
- import{K as e,D as a}from"./p-261611b1.js";import{t as n,m as s}from"./p-51431ace.js";function t(e){switch(e){case!0:case"true":case 1:case"1":case"on":case"yes":return!0;case!1:case"false":case 0:case"0":case"off":case"no":return!1;default:return e}}function r(){return Math.random().toString(36).replace("0.","")}function c(a,n,...s){a.code!==e.ENTER&&a.code!==e.SPACE||(a.preventDefault(),n(...s))}function u(e=null){return e||(e=document.activeElement),e&&e.shadowRoot&&e.shadowRoot.activeElement?u(e=e.shadowRoot.activeElement):e}function o(e,a=[]){return a.push(e),e.parentElement?o(e=e.parentElement,a):e.parentNode&&e.parentNode.host?o(e=e.parentNode.host,a):a}function f(){switch(!0){case window.innerWidth<=s:return a.mobile;case window.innerWidth<=n:return a.tablet;default:return a.desktop}}function i(e){try{return JSON.parse(e)}catch(e){return!1}}export{o as a,t as b,i as c,u as d,f as g,c as h,r}
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as a}from"./p-0f55558e.js";import{N as n,p as o}from"./p-261611b1.js";import{i as e}from"./p-0b0179c7.js";const r=class{constructor(a){i(this,a),this.selectedEvent=t(this,"selected",7),this.selected=!1,this.disabled=!1,this.orientation=n.horizontal,this.size=o.big}scrollToTab({target:i}){i.scrollIntoView(Object.assign({behavior:"smooth"},this.orientation===n.horizontal?{block:"nearest",inline:"center"}:{block:"center",inline:"nearest"}))}onClick(){this.selected=!0}onSelected(){this.selected&&this.selectedEvent.emit()}renderIcon(){let i=this.icon;const t=`${i.replace(/-filled$/,"")}-filled`;return this.selected&&Object.keys(e).includes(t)&&(i=t),a("z-icon",{name:i})}render(){return a("a",{role:"tab",href:!this.disabled&&this.href,title:this.htmlTitle,target:this.target,onFocus:this.scrollToTab.bind(this)},this.icon&&this.renderIcon(),"horizontal"===this.orientation&&this.label)}static get watchers(){return{selected:["onSelected"]}}};r.style='z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentColor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{content:"";position:absolute;background-color:var(--color-hover-secondary)}z-navigation-tab[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[orientation="horizontal"][selected]>*::after,z-navigation-tab-link[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation="horizontal"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation="horizontal"] z-icon,z-navigation-tab-link[orientation="horizontal"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}z-navigation-tab[size="small"]>*,z-navigation-tab-link[size="small"]>*{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}z-navigation-tab[size="small"][orientation="horizontal"]>*,z-navigation-tab-link[size="small"][orientation="horizontal"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size="small"][orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[size="small"][orientation="horizontal"][selected]>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"]:hover>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size="small"]:not([orientation="vertical"]) z-icon,z-navigation-tab-link[size="small"]:not([orientation="vertical"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation="vertical"]>*,z-navigation-tab-link[orientation="vertical"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation="vertical"]:hover:not([disabled])>*::after,z-navigation-tab[orientation="vertical"][selected]>*::after,z-navigation-tab-link[orientation="vertical"]:hover>*::after,z-navigation-tab-link[orientation="vertical"][selected]>*::after{width:var(--border-size-large);height:100%;top:0;right:0}';export{r as z_navigation_tab_link}
@@ -1 +0,0 @@
1
- import{r,h as e}from"./p-0f55558e.js";import{o as t}from"./p-261611b1.js";const i=class{constructor(e){r(this,e),this.ispressed=!1,this.ishighlighted=!1}retrieveClass(){let r="";return this.cardtype===t.real?r+="real":this.cardtype===t.trial?r+="trial":this.cardtype===t.temp&&(r+="temp"),this.faded?r+=" faded":this.ispressed?r+=" pressed":this.ishighlighted&&(r+=" highlighted"),r}render(){return e("div",{class:this.retrieveClass(),tabindex:"0"},e("slot",null))}};i.style=":host{--card-overflow:hidden}div{background-color:var(--color-surface01);display:flex;flex-direction:column;width:auto;box-sizing:border-box;width:256px;height:522px;border:var(--border-size-medium) solid var(--color-surface03);border-radius:var(--border-radius);overflow:var(--card-overflow)}div.real,div.trial,div.temp{border-color:var(--accent)}div.faded{border:var(--border-size-medium) solid var(--color-surface02)}div.highlighted{box-shadow:var(--shadow-4);outline:none}div.pressed{box-shadow:var(--shadow-8);outline:none}div:focus{box-shadow:var(--shadow-focus-primary);outline:none}";const o=class{constructor(e){r(this,e)}render(){return e("div",null,e("slot",{name:"alert"}),e("slot",{name:"cover"}))}};o.style=":host{height:340px;width:auto}:host>div{height:340px;width:auto;display:flex;align-items:center;justify-content:center;position:relative}";const a=class{constructor(e){r(this,e)}hadleOnImageError(){this.img=this.defaultimg}render(){return e("img",{class:this.faded&&"faded",onError:this.hadleOnImageError.bind(this),alt:this.titolo,src:this.img})}};a.style="img{display:block;margin:auto auto;height:340px;max-width:100%;object-fit:cover}img.faded{opacity:0.3}";const s=class{constructor(e){r(this,e),this.allowTooltip=!1}getTitle(){return this.allowTooltip?this.titolo:""}componentDidLoad(){this.elementHasEllipsis()&&(this.allowTooltip=!0)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}retrieveClass(){return{real:this.cardtype===t.real,trial:this.cardtype===t.trial,temp:this.cardtype===t.temp,faded:this.faded}}render(){return e("header",{class:this.retrieveClass()},e("h2",{ref:r=>this.ellipsis=r,title:this.getTitle()},this.titolo),e("slot",{name:"icon"}))}};s.style="header{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;width:auto;height:calc(var(--space-unit) * 6);position:relative;border-bottom:var(--border-size-medium) solid var(--color-surface03);border-radius:var(--border-radius) var(--border-radius)\n var(--border-no-radius) var(--border-no-radius);background-color:var(--color-surface01)}header.real,header.trial,header.temp{background-color:var(--accent-lighter);border-bottom:var(--border-size-medium) solid var(--accent)}h2{font-family:var(--font-family-sans);font-weight:var(--font-sb);color:var(--color-surface05);height:calc(var(--space-unit) * 2);font-size:12px;text-transform:uppercase;letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);margin:0px;padding:calc(var(--space-unit) * 2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial,.faded.temp{border-top:var(--border-size-medium) solid var(--accent);border-right:var(--border-size-medium) solid var(--accent);border-left:var(--border-size-medium) solid var(--accent)}";export{i as z_myz_card,o as z_myz_card_body,a as z_myz_card_cover,s as z_myz_card_header}
@@ -1 +0,0 @@
1
- import{r as o,h as t}from"./p-0f55558e.js";const r=class{constructor(t){o(this,t),this.isselected=!1,this.isdisabled=!1,this.isvisited=!1}render(){return t("button",{id:this.pageid,"aria-label":this.ariaLabel?this.ariaLabel:`Go to page ${this.value}`,class:{selected:this.isselected,visited:this.isvisited},disabled:this.isdisabled,type:"button"},this.value)}};r.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-sb);display:inline-block}:host>button{cursor:pointer;outline:none;display:inline-block;box-sizing:border-box;margin:0;height:48px;line-height:48px;text-align:center;border:none;border-bottom:var(--border-size-large) solid transparent;color:var(--color-primary01);font-size:var(--font-size-2);font-family:var(--font-family-sans);font-weight:inherit;background:transparent;text-decoration:none;transition:border-bottom 0.2s ease, font-size 0.2s ease;min-width:56px}:host>button[disabled]{pointer-events:none;cursor:default;color:var(--color-disabled02)}:host>button:hover{border-bottom:var(--border-size-large) solid var(--color-hover-light);background-color:var(--color-background);text-decoration:none;transition:border-bottom 0.2s ease, background-color 0.2s ease}:host>button:focus{border-bottom:var(--border-size-large) solid var(--color-hover-light);box-shadow:var(--shadow-focus-primary);background-color:var(--color-background);text-decoration:none}:host>button.visited{border-color:var(--color-hover-light);text-decoration:none}:host>button.selected{border-bottom:var(--border-size-large) solid var(--color-primary01);font-size:var(--font-size-7);transition:border-bottom 0.2s ease, font-size 0.2s ease}";export{r as z_pagination_page}
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as n}from"./p-0f55558e.js";import{i as e}from"./p-261611b1.js";import{h as s}from"./p-91a4ef35.js";import"./p-51431ace.js";const o=class{constructor(n){i(this,n),this.flipCard=t(this,"flipCard",7),this.htmltabindex=0,this.hiddenContent=!1,this.tooltip=!1,this.emitFlipCard=this.emitFlipCard.bind(this)}emitFlipCard(i=!1){this.flipCard.emit(i)}componentWillLoad(){this.setStringOrArray()}componentWillUpdate(){this.setStringOrArray()}componentDidRender(){this.handleContentHeight()}handleContentHeight(){return(this.contentWrapper||this.infoWrapper)&&(this.contentWrapper.scrollHeight>this.contentWrapper.offsetHeight||this.infoWrapper.scrollHeight>this.infoWrapper.offsetHeight)?(this.infoWrapper.style.height=this.contentWrapper.offsetHeight-this.onlineLicenseWrapper.offsetHeight-this.offlineLicenseWrapper.offsetHeight+"px",this.hiddenContent=!0):this.hiddenContent=!1}setStringOrArray(){this.cardData="string"==typeof this.data?JSON.parse(this.data):this.data}renderCloseIcon(){return n("z-icon",{name:"multiply-circled-filled",height:18,width:18,onClick:()=>this.emitFlipCard(!1),tabindex:this.htmltabindex,onKeyUp:i=>{s(i,this.emitFlipCard,!1)}})}renderGeneralSection(){var i,t;const e=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.title,s=null===(t=null==this?void 0:this.cardData)||void 0===t?void 0:t.description;return n("section",{class:"info-wrapper "+(this.hiddenContent?"hidden":""),onClick:()=>{this.hiddenContent&&(this.tooltip=!this.tooltip)},ref:i=>this.infoWrapper=i},this.renderAuthor(),this.renderYear(),e,n("br",null),s)}renderAuthor(){var i;const t=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.author;return t?n("span",null,"Autore: ",n("b",null,t),n("br",null)):null}renderYear(){var i;const t=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.year;return t?n("span",null,"Anno: ",n("b",null,t),n("br",null)):null}renderTooltip(){if(!this.tooltip)return;if(!this.cardData)return;const{title:i,year:t,author:s,description:o}=this.cardData;return n("z-tooltip",{content:`${i} ${t} ${s} ${o}`,type:e.RIGHT,onClick:()=>this.tooltip=!1})}setExpirationLicenseMessage(i){return"online"===i&&this.cardData.onlineLicense.expired||"offline"===i&&this.cardData.offlineLicense.expired?n("span",{class:"expired"},"SCADUTA"):"online"===i&&this.cardData.onlineLicense.expiring||"offline"===i&&this.cardData.offlineLicense.expiring?n("span",{class:"expiring"},"IN SCADENZA"):void 0}renderOnlineLicenseSection(){var i;if(null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.onlineLicense)return n("section",{ref:i=>this.onlineLicenseWrapper=i},n("span",{class:"license-heading"},n("span",null,"Licenza online"),this.setExpirationLicenseMessage("online")),"Scadenza il ",n("b",null,this.cardData.onlineLicense.expiration),n("br",null))}renderOfflineLicenseSection(){var i;if(null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.offlineLicense)return n("section",{ref:i=>this.offlineLicenseWrapper=i},n("span",{class:"license-heading"},n("span",null,"Licenza offline"),this.setExpirationLicenseMessage("offline")),"Scadenza il ",n("b",null,this.cardData.offlineLicense.expiration),n("br",null),"Installazioni disponibili:"," ",n("b",null,this.cardData.offlineLicense.installations))}render(){return n("div",null,this.renderCloseIcon(),n("div",{class:"content-wrapper",ref:i=>this.contentWrapper=i},this.renderGeneralSection(),this.renderTooltip(),this.renderOnlineLicenseSection(),this.renderOfflineLicenseSection()),n("div",{class:"cta-wrapper"},n("slot",null)))}};o.style=':host{font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%}:host>div{background:var(--color-surface01);width:calc(100% + calc(var(--space-unit) * 2));margin-left:calc(-1 * var(--space-unit));height:402px;border:var(--border-size-small) solid var(--color-primary01);box-shadow:0px 2px 4px 0px rgba(66, 69, 72, 0.35);border-radius:0px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);position:relative}:host>div>z-icon{fill:var(--color-primary01);cursor:pointer;position:absolute;top:var(--space-unit);right:var(--space-unit)}:host>div{display:grid}:host>div>div.cta-wrapper{align-self:end;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between}:host>div>div.content-wrapper{overflow:hidden;position:relative;align-self:stretch}:host>div>div.content-wrapper>section{border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);padding:var(--space-unit) 0;font-size:14px;line-height:20px;box-sizing:border-box}:host>div>div.content-wrapper>section:last-child{border-bottom:none}:host>div>div.content-wrapper>section.info-wrapper{position:relative;overflow:hidden;box-sizing:border-box}:host>div>div.content-wrapper>section.info-wrapper.hidden:after{background:linear-gradient(\n 180deg,\n rgba(255, 0, 0, 0),\n rgba(255, 0, 0, 0) 60%,\n white\n );content:"";position:absolute;pointer-events:none;top:0;left:0;right:0;bottom:0}:host>div>div.content-wrapper>section>span.license-heading{display:flex;justify-content:space-between}:host>div>div.content-wrapper>section>span.license-heading>span.expired{color:var(--color-secondary02);font-size:12px;font-weight:600}:host>div>div.content-wrapper>section>span.license-heading>span.expiring{color:var(--color-warning01);font-size:12px;font-weight:600}:host>div>div.content-wrapper>z-tooltip{position:absolute;top:0px;left:calc(var(--space-unit) * 4)}';export{o as z_myz_card_info}
@@ -1 +0,0 @@
1
- import{r as e,c as i,h as l,a as t}from"./p-0f55558e.js";import{j as a,D as s,k as n}from"./p-261611b1.js";import{g as o}from"./p-91a4ef35.js";import"./p-51431ace.js";const r=class{constructor(l){e(this,l),this.fileInput=i(this,"fileInput",7),this.type=a.default,this.filesNumber=0,this.inputAttributes={type:"file",id:"fileElem",multiple:!0}}removeFileListener(){this.filesNumber--}fileDroppedListener(e){this.input.files=e.detail,this.fileInputHandler()}componentDidUpdate(){this.handleAccessibility(),this.invalidFiles.size&&this.errorModal.focus()}componentWillLoad(){this.invalidFiles=new Map,this.type===a.dragdrop&&o()!==s.desktop&&(this.type=a.default)}fileInputHandler(){this.input.files.length&&(this.invalidFiles=this.checkFiles(Array.from(this.input.files)))}handleAccessibility(){this.filesNumber>0?this.el.querySelector("z-file:last-child z-chip button").focus():this.type===a.default?this.button.shadowRoot.querySelector("button").focus():this.uploadLink.focus()}checkFiles(e){let i=new Map;const l=`supera i ${this.fileMaxSize}MB`;return e.forEach((e=>{const t=e.size/1024/1024,a=this.acceptedFormat.split(",").some((i=>e.name.toLowerCase().endsWith(i.trim()))),s=t<=this.fileMaxSize;if(s&&a)return this.fileInput.emit(e),this.filesNumber++,void(this.input.value="");i.set(e.name,[]),s||i.get(e.name).push(l),a||i.get(e.name).push(" ha un'estensione non prevista")})),i}renderTitle(){return l("z-heading",{id:"title",variant:"semibold",level:2},this.mainTitle)}renderDescription(e,i){return l("z-body",{variant:e,level:i},this.description)}renderAllowedFileExtensions(){let e="",i="";return this.acceptedFormat&&(e=` nei formati ${this.acceptedFormat.split(", ").map((e=>e.substring(1).toUpperCase())).join(", ")}`),this.fileMaxSize&&(i=` per un massimo di ${this.fileMaxSize}MB di peso`),l("z-body",{level:3},e||i?`Puoi allegare file${e}${i}.`:null)}renderFileSection(){return this.filesNumber>0&&l("section",{class:"files-container"},l("z-heading",{variant:"semibold",level:4},"File appena caricati"),l("div",{class:"files"},l("slot",{name:"files"})),l("z-divider",{size:n.medium}))}renderInput(){return l("input",Object.assign({},this.inputAttributes,{onChange:()=>this.fileInputHandler(),accept:this.acceptedFormat,ref:e=>this.input=e}))}renderUploadButton(){return[this.renderInput(),l("z-button-deprecated",{onClick:()=>this.input.click(),onKeyPress:e=>{"Space"!=e.code&&"Enter"!=e.code||(e.preventDefault(),this.input.click())},id:"fileSelect",variant:this.buttonVariant,icon:"upload",ref:e=>this.button=e},"Allega")]}renderUploadLink(){return[this.renderInput(),l("z-body",{class:"upload-link-text",variant:"regular",level:1},"Trascinalo qui o"," ",l("z-body",{tabIndex:0,class:"upload-link",onClick:()=>this.input.click(),onKeyPress:e=>{"Space"!=e.code&&"Enter"!=e.code||(e.preventDefault(),this.input.click())},variant:"semibold",level:1,ref:e=>this.uploadLink=e},"caricalo")," ","dal tuo computer")]}renderDefaultMode(){return[this.renderDescription("semibold",3),this.renderAllowedFileExtensions(),this.renderFileSection(),this.renderUploadButton()]}renderDragDropMode(){return[this.renderFileSection(),l("z-dragdrop-area",null,l("div",{class:"text-container"},this.renderDescription("regular",1),this.renderUploadLink(),this.renderAllowedFileExtensions()))]}formatErrorString(e,i){var l,t;return`Il file ${e} ${null!==(l=i[0])&&void 0!==l?l:""}${i[0]&&i[1]?", ":""} ${null!==(t=i[1])&&void 0!==t?t:""} e non può quindi essere caricato.`}handleErrorModalContent(){return l("div",{slot:"modalContent"},l("div",{class:"modalWrapper"},l("div",{class:"files"},Array.from(this.invalidFiles).map((([e,i])=>l("z-body",{variant:"regular",level:3},this.formatErrorString(e,i)))))))}render(){return[l("div",{tabIndex:0,class:`container ${this.type}`},this.renderTitle(),this.type==a.default?this.renderDefaultMode():this.renderDragDropMode()),!!this.invalidFiles.size&&l("z-modal",{tabIndex:0,ref:e=>this.errorModal=e,modaltitle:"Attenzione",onModalClose:()=>this.invalidFiles=new Map,onModalBackgroundClick:()=>this.invalidFiles=new Map},this.handleErrorModalContent())]}get el(){return t(this)}};r.style=".sc-z-file-upload-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);color:var(--color-text01)}.sc-z-file-upload-h>.container.sc-z-file-upload{display:flex;flex-direction:column}.sc-z-file-upload-h .modalWrapper.sc-z-file-upload{display:flex;justify-content:center;align-items:center}.sc-z-file-upload-h .modalWrapper.sc-z-file-upload>.files.sc-z-file-upload{margin:calc(var(--space-unit) * 4);display:flex;flex-direction:column;gap:var(--space-unit)}.sc-z-file-upload-h .text-container.sc-z-file-upload{display:flex;flex-direction:column;margin:auto}.sc-z-file-upload-h .text-container.sc-z-file-upload z-body.sc-z-file-upload{text-align:center}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link.sc-z-file-upload{color:var(--color-link-primary);cursor:pointer}.sc-z-file-upload-h .text-container.sc-z-file-upload .upload-link-text.sc-z-file-upload{margin-bottom:var(--space-unit)}input#fileElem.sc-z-file-upload{display:none}#title.sc-z-file-upload{display:inline-block;margin-bottom:var(--space-unit)}.sc-z-file-upload-h>.container.sc-z-file-upload>z-button-deprecated.sc-z-file-upload{display:inline-block;margin-top:calc(var(--space-unit) * 3)}.sc-z-file-upload-h>.container.sc-z-file-upload>.files-container.sc-z-file-upload>z-heading.sc-z-file-upload{display:inline-block;margin:calc(var(--space-unit) * 3) 0}.sc-z-file-upload-h>.container.sc-z-file-upload>.files-container.sc-z-file-upload>.files.sc-z-file-upload{display:flex;flex-wrap:wrap;row-gap:calc(var(--space-unit) * 2);column-gap:calc(var(--space-unit) * 2)}.sc-z-file-upload-h>.container.sc-z-file-upload>.files-container.sc-z-file-upload>z-divider.sc-z-file-upload{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}@media only screen and (min-width: 768px){.sc-z-file-upload-h>.container.sc-z-file-upload>z-button-deprecated.sc-z-file-upload{align-self:flex-start}}";export{r as z_file_upload}
@@ -1 +0,0 @@
1
- import{r as t,c as r,h as i}from"./p-0f55558e.js";import{m as n}from"./p-261611b1.js";const s=class{constructor(i){t(this,i),this.otpChange=r(this,"otpChange",7),this.inputNum=6}emitInputChange(t){this.otpChange.emit({value:t})}componentWillLoad(){this.otp=Array.apply(null,Array(this.inputNum)),this.otpRef=Array.apply(null,Array(this.inputNum))}render(){return i("div",{class:"otp-container"},i("div",{class:"digits-container"},this.otp.map(((t,r)=>i("input",{class:this.status==n.error?"error":null,onKeyDown:t=>{t.keyCode>47&&(this.otpRef[r].value="")},onKeyUp:t=>{t.keyCode>47&&r<this.inputNum-1&&this.otpRef[r+1].focus()},onInput:t=>{this.otp[r]=t.target.value,this.emitInputChange(this.otp.join(""))},type:"text",minlength:"1",maxlength:"1",autoComplete:"off",ref:t=>this.otpRef[r]=t})))),i("z-input-message",{message:this.message,status:this.status}))}};s.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{height:72px;width:calc(var(--space-unit) * 5);font-size:32px;font-weight:300;font-family:var(--font-family-sans);text-align:center;caret-color:transparent;box-sizing:border-box;padding:0;color:var(--color-surface05)}input.error{border:1px solid;border-radius:4px;border-color:var(--color-error01);background-color:var(--color-error-inverse)}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";export{s as z_otp}
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as r,a as i}from"./p-0f55558e.js";import{I as a}from"./p-261611b1.js";import{r as c}from"./p-91a4ef35.js";import"./p-51431ace.js";const s=class{constructor(r){e(this,r),this.inputChange=t(this,"inputChange",7),this.startTyping=t(this,"startTyping",7),this.stopTyping=t(this,"stopTyping",7),this.inputCheck=t(this,"inputCheck",7),this.optionSelect=t(this,"optionSelect",7),this.htmlid=`id-${c()}`,this.disabled=!1,this.readonly=!1,this.required=!1,this.checked=!1,this.hasmessage=!0,this.labelafter=!0,this.typingtimeout=300,this.multiple=!1,this.hasclearicon=!0,this.isTyping=!1,this.textareaWrapperHover="",this.textareaWrapperFocus="",this.passwordHidden=!0}inputCheckListener(e){const t=e.detail;switch(this.type){case a.radio:t.type===a.radio&&t.name===this.name&&t.id!==this.htmlid&&(this.checked=!1);default:return}}async getValue(){switch(this.type){case"select":return this.selectElem.getValue();default:return this.value}}async setValue(e){switch(this.type){case"select":this.selectElem.setValue(e);break;default:"string"==typeof e&&(this.value=e)}}async isChecked(){switch(this.type){case a.checkbox:case a.radio:return this.checked;default:return!1}}emitInputChange(e,t){this.isTyping||this.emitStartTyping();let r={};r=this.getValidity(this.type===a.textarea?"textarea":"input"),this.value=e,this.inputChange.emit({value:e,keycode:t,validity:r}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.emitStopTyping(this.value,r)}),this.typingtimeout)}emitStartTyping(){this.isTyping=!0,this.startTyping.emit()}emitStopTyping(e,t){this.isTyping=!1,this.stopTyping.emit({value:e,validity:t})}emitInputCheck(e){this.inputCheck.emit({id:this.htmlid,checked:e,type:this.type,name:this.name,value:this.value,validity:this.getValidity("input")})}getValidity(e){return this.hostElement.querySelector(e).validity}getTextAttributes(){const e={id:this.htmlid,name:this.name,placeholder:this.placeholder,value:this.value,disabled:this.disabled,readonly:this.readonly,required:this.required,title:this.htmltitle,class:[`input_${this.status||"default"}`,this.isTyping&&"istyping",!this.isTyping&&this.value&&"filled"].filter(Boolean).join(" "),onInput:e=>this.emitInputChange(e.target.value,e.keyCode)};return this.autocomplete&&(e.autocomplete=this.autocomplete),e}renderInputText(e=a.text){const t=this.getTextAttributes();return(this.icon||e===a.password)&&(t.class+=" hasIcon"),this.hasclearicon&&(t.class+=" hasClearIcon"),r("div",{class:"textWrapper"},this.renderLabel(),r("div",null,r("input",Object.assign({type:e!==a.password||this.passwordHidden?e:a.text},t,{"aria-label":this.ariaLabel||this.label})),this.renderIcons()),this.renderMessage())}renderLabel(){if(this.label)return r("z-input-label",{htmlfor:this.htmlid,value:this.label,disabled:this.disabled,"aria-label":this.label,id:`${this.htmlid}_label`})}renderIcons(){return r("span",{class:{iconsWrapper:!0,disabled:this.disabled}},this.renderResetIcon(),this.renderIcon())}renderIcon(){return this.type===a.password?this.renderShowHidePassword():this.icon?r("z-icon",{class:"inputIcon",name:this.icon}):void 0}renderResetIcon(){if(this.hasclearicon&&this.value&&!this.disabled&&!this.readonly)return r("z-icon",{class:"resetIcon",name:"multiply",onClick:e=>this.emitInputChange("",e.keyCode)})}renderShowHidePassword(){return r("z-icon",{class:"showHidePasswordIcon",name:this.passwordHidden?"view-filled":"view-off-filled",onClick:()=>this.passwordHidden=!this.passwordHidden})}renderMessage(){if(this.hasmessage)return r("z-input-message",{message:this.message,status:this.status})}renderTextarea(){const e=this.getTextAttributes();return r("div",{class:"textWrapper"},this.renderLabel(),r("div",{class:["textareaWrapper",e.class,e.disabled&&"disabled",e.readonly&&"readonly",this.isTyping&&"istyping",this.textareaWrapperFocus,this.textareaWrapperHover].filter(Boolean).join(" ")},r("textarea",Object.assign({},e,{onFocus:()=>this.textareaWrapperFocus="focus",onBlur:()=>this.textareaWrapperFocus="",onMouseOver:()=>this.textareaWrapperHover="hover",onMouseOut:()=>this.textareaWrapperHover="","aria-label":this.ariaLabel||this.label}))),this.renderMessage())}handleCheck(e){this.checked=e.target.checked,this.emitInputCheck(this.checked)}renderCheckbox(){return r("div",{class:"checkboxWrapper"},r("input",{id:this.htmlid,type:"checkbox",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,required:this.required,onChange:this.handleCheck.bind(this),value:this.value}),r("label",{htmlFor:this.htmlid,class:{checkboxLabel:!0,after:this.labelafter,before:!this.labelafter}},r("z-icon",{name:this.checked?"checkbox-checked":"checkbox","aria-hidden":"true"}),this.label&&r("span",{innerHTML:this.label})))}renderRadio(){return r("div",{class:"radioWrapper"},r("input",{id:this.htmlid,type:"radio",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,onChange:this.handleCheck.bind(this),value:this.value}),r("label",{htmlFor:this.htmlid,class:{radioLabel:!0,after:this.labelafter,before:!this.labelafter}},r("z-icon",{name:this.checked?"radio-button-checked":"radio-button","aria-hidden":"true"}),this.label&&r("span",{innerHTML:this.label})))}renderSelect(){return r("z-select",{htmlid:this.htmlid,items:this.items,name:this.name,label:this.label,"aria-label":this.ariaLabel,disabled:this.disabled,readonly:this.readonly,placeholder:this.placeholder,htmltitle:this.htmltitle,status:this.status,message:!!this.hasmessage&&this.message,autocomplete:this.autocomplete,ref:e=>this.selectElem=e})}render(){switch(this.type){case a.text:case a.password:case a.number:case a.email:return this.renderInputText(this.type);case a.textarea:return this.renderTextarea();case a.checkbox:return this.renderCheckbox();case a.radio:return this.renderRadio();case"select":return this.renderSelect();default:return this.renderInputText()}}get hostElement(){return i(this)}};s.style='.sc-z-input-deprecated-h{display:inline-block;width:inherit}input.sc-z-input-deprecated::-ms-clear,input.sc-z-input-deprecated::-ms-reveal{display:none}.sc-z-input-deprecated-h input.sc-z-input-deprecated::-ms-clear,.sc-z-input-deprecated-h input.sc-z-input-deprecated::-ms-reveal{display:none}input.sc-z-input-deprecated,textarea.sc-z-input-deprecated,.textareaWrapper.sc-z-input-deprecated,ul[role="listbox"].sc-z-input-deprecated{background:var(--color-input-field01);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--color-surface04);box-sizing:border-box;color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:var(--font-size-3);outline:none}input.sc-z-input-deprecated:focus:focus-visible,li[role="option"].sc-z-input-deprecated:focus:focus-visible,.focus.sc-z-input-deprecated{box-shadow:var(--shadow-focus-primary)}.filled.sc-z-input-deprecated{border-color:var(--color-surface05)}.input_success.sc-z-input-deprecated,.input_success.sc-z-input-deprecated:hover,.input_success.hover.sc-z-input-deprecated{background:var(--color-success-inverse);border-color:var(--color-success01);fill:var(--color-success01)}.input_error.sc-z-input-deprecated,.input_error.sc-z-input-deprecated:hover,.input_error.hover.sc-z-input-deprecated{background:var(--color-error-inverse);border-color:var(--color-error01);fill:var(--color-error01)}.input_warning.sc-z-input-deprecated,.input_warning.sc-z-input-deprecated:hover,.input_warning.hover.sc-z-input-deprecated{background:var(--color-warning-inverse);border-color:var(--color-warning01);fill:var(--color-warning01)}input[readonly].sc-z-input-deprecated,.readonly.sc-z-input-deprecated{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}input.sc-z-input-deprecated:disabled,.disabled.sc-z-input-deprecated,.filled.sc-z-input-deprecated:disabled{border-color:var(--color-disabled01);color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none;box-shadow:none}input.sc-z-input-deprecated::placeholder,textarea.sc-z-input-deprecated::placeholder{color:var(--color-text05)}.sc-z-input-deprecated::-webkit-input-placeholder,.sc-z-input-deprecated::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input-deprecated:-ms-input-placeholder,.sc-z-input-deprecated:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input-deprecated::-moz-placeholder{color:var(--color-text05)}.sc-z-input-deprecated:-moz-placeholder{color:var(--color-text05)}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated{fill:var(--color-icon02)}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated{width:100%;height:calc(var(--space-unit) * 5.5);margin:0;padding:0 calc(var(--space-unit) * 4.5) 0 calc(var(--space-unit) * 1.5);box-sizing:border-box}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.hasIcon.sc-z-input-deprecated,.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.hasClearIcon.sc-z-input-deprecated{padding-right:calc(var(--space-unit) * 4)}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.hasIcon.hasClearIcon.sc-z-input-deprecated{padding-right:calc(var(--space-unit) * 7)}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated{position:relative;z-index:1}.textWrapper.sc-z-input-deprecated .iconsWrapper.sc-z-input-deprecated{position:absolute;bottom:calc(var(--space-unit) * 1.5);right:calc(var(--space-unit) * 1.5);display:flex;z-index:2}.textWrapper.sc-z-input-deprecated .iconsWrapper.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{--z-icon-width:18px;--z-icon-height:18px;display:block;margin-left:calc(var(--space-unit) * 0.5)}.textWrapper.sc-z-input-deprecated .iconsWrapper.sc-z-input-deprecated>z-icon.resetIcon.sc-z-input-deprecated,.textWrapper.sc-z-input-deprecated .iconsWrapper.sc-z-input-deprecated>z-icon.showHidePasswordIcon.sc-z-input-deprecated{cursor:pointer}.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill,.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:hover,.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:focus,.textWrapper.sc-z-input-deprecated>div.sc-z-input-deprecated>input.sc-z-input-deprecated:-webkit-autofill:active{-webkit-background-clip:text !important}.textareaWrapper.sc-z-input-deprecated{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input-deprecated::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}textarea.sc-z-input-deprecated::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input-deprecated::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input-deprecated::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input-deprecated{min-height:132px;width:100%;margin:0;padding:0;border:none;resize:none}.radioWrapper.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated{display:inline-flex;flex-direction:row;align-items:center;font-family:var(--font-family-sans);position:relative;color:var(--color-text01);fill:var(--color-primary01)}.radioWrapper.sc-z-input-deprecated:hover,.checkboxWrapper.sc-z-input-deprecated:hover{color:var(--color-hover-primary);fill:currentColor}.radioWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated{position:absolute;opacity:0;z-index:-1;pointer-events:none}.radioWrapper.sc-z-input-deprecated .radioLabel.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.sc-z-input-deprecated{display:inline-flex;align-items:center;margin:0;line-height:1;color:inherit;font-family:inherit;font-weight:inherit;font-size:inherit;text-transform:inherit}.radioWrapper.sc-z-input-deprecated input.sc-z-input-deprecated:not(:disabled)+.radioLabel.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated input.sc-z-input-deprecated:not(:disabled)+.checkboxLabel.sc-z-input-deprecated{cursor:pointer}.radioWrapper.sc-z-input-deprecated .radioLabel.sc-z-input-deprecated z-icon.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.sc-z-input-deprecated z-icon.sc-z-input-deprecated{fill:inherit;cursor:pointer}.radioWrapper.sc-z-input-deprecated .radioLabel.after.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.after.sc-z-input-deprecated{flex-direction:row}.radioWrapper.sc-z-input-deprecated .radioLabel.before.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.before.sc-z-input-deprecated{flex-direction:row-reverse}.radioWrapper.sc-z-input-deprecated .radioLabel.after.sc-z-input-deprecated>span.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.after.sc-z-input-deprecated>span.sc-z-input-deprecated{margin-left:var(--space-unit)}.radioWrapper.sc-z-input-deprecated .radioLabel.before.sc-z-input-deprecated>span.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated .checkboxLabel.before.sc-z-input-deprecated>span.sc-z-input-deprecated{margin-right:var(--space-unit)}.radioWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:focus:focus-visible+.radioLabel.sc-z-input-deprecated>z-icon.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:focus:focus-visible+.checkboxLabel.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{box-shadow:var(--shadow-focus-primary);border-radius:var(--border-radius-small)}.radioWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.radioLabel.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.checkboxLabel.sc-z-input-deprecated{color:var(--color-disabled02)}.radioWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.radioLabel.sc-z-input-deprecated>z-icon.sc-z-input-deprecated,.checkboxWrapper.sc-z-input-deprecated>input.sc-z-input-deprecated:disabled+.checkboxLabel.sc-z-input-deprecated>z-icon.sc-z-input-deprecated{fill:var(--color-disabled01);cursor:default}';export{s as z_input_deprecated}
@@ -1 +0,0 @@
1
- import{r as o,h as t,a as r}from"./p-0f55558e.js";const e=class{constructor(t){o(this,t)}componentWillRender(){this.host.setAttribute("role","rowgroup")}render(){return t("slot",null)}get host(){return r(this)}};e.style=".sc-z-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";export{e as z_table_footer}
@@ -1 +0,0 @@
1
- import{r,h as a,H as t}from"./p-0f55558e.js";import{Z as s}from"./p-261611b1.js";const i=class{constructor(a){r(this,a),this.mode=s.polite}render(){return a(t,{"aria-live":this.mode,"aria-atomic":"true","aria-relevant":"additions"},a("slot",null))}};export{i as z_aria_alert}
@@ -1,3 +0,0 @@
1
- import{g as t,f as i,r as e,c as r,h as n,H as o,a}from"./p-0f55558e.js";import{c as s,a as c}from"./p-112455b1.js";import{B as l,a as h,b as d,L as u,I as p}from"./p-261611b1.js";import{i as v}from"./p-0b0179c7.js";import{r as f,b}from"./p-91a4ef35.js";import"./p-51431ace.js";var m,g,z,x;!function(t){t.mobile="mobile",t.tablet="tablet",t.desktop="desktop",t.desktopNew="desktopNew"}(m||(m={})),function(t){t.box="box",t.modal="modal",t.preview="preview"}(g||(g={})),function(t){t.INITIAL="INITIAL",t.ACTIVATING="ACTIVATING",t.ACTIVATED="ACTIVATED",t.SUCCESS="SUCCESS"}(z||(z={})),function(t){t.REQUEST="app/LICENSE_ACTIVATION/REQUEST",t.ACTIVATED="app/LICENSE_ACTIVATION/ACTIVATED",t.SUCCESS="app/LICENSE_ACTIVATION/SUCCESS",t.FAIL="app/LICENSE_ACTIVATION/FAIL",t.RESET="app/LICENSE_ACTIVATION/RESET"}(x||(x={}));const y=t=>!("isConnected"in t)||t.isConnected,w=(()=>{let t;return(...i)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let i of t.keys())t.set(i,t.get(i).filter(y))})(...i)}),2e3)}})();class k{constructor(t){this.env=t,this.zanienv=t.replace("my","")}buildEnvironment(){return{MYZ_TOKEN_KEY:this.buildMyzTokenKey(),API_V3_URL:this.buildApiV3Url(),URL_S3_IMAGES_FOLDER:this.buildUrlS3ImagesFolder(),URL_S3_FILE_LABELS:this.buildUrlS3FileLabels()}}buildMyzTokenKey(){return"prod"===this.zanienv?"myz-token":`myz-token-${this.zanienv}`}buildApiV3Url(){return"prod"===this.zanienv?"https://api-catalogo.zanichelli.it/v3":`https://${this.zanienv}-api-catalogo.zanichelli.it/v3`}buildUrlS3ImagesFolder(){return"local"===this.env?`https://s3-eu-west-1.amazonaws.com/static${this.env}.zanichelli.it/dashboard/images/`:"prod"===this.env?"https://staticmy.zanichelli.it/dashboard/images/":`https://static${this.env}.zanichelli.it/dashboard/images/`}buildUrlS3FileLabels(){return"prod"===this.zanienv?"https://staticmy.zanichelli.it/dashboard/translations/it.json":`https://static${this.zanienv}.zanichelli.it/dashboard/translations/it.json`}}const A=Object.assign({},{cms:{}}),{state:L}=(()=>{const e=((t,i=((t,i)=>t!==i))=>{let e=new Map(Object.entries(null!=t?t:{}));const r={dispose:[],get:[],set:[],reset:[]},n=()=>{e=new Map(Object.entries(null!=t?t:{})),r.reset.forEach((t=>t()))},o=t=>(r.get.forEach((i=>i(t))),e.get(t)),a=(t,n)=>{const o=e.get(t);i(n,o,t)&&(e.set(t,n),r.set.forEach((i=>i(t,n,o))))},s="undefined"==typeof Proxy?{}:new Proxy(t,{get:(t,i)=>o(i),ownKeys:()=>Array.from(e.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,i)=>e.has(i),set:(t,i,e)=>(a(i,e),!0)}),c=(t,i)=>(r[t].push(i),()=>{((t,i)=>{const e=t.indexOf(i);e>=0&&(t[e]=t[t.length-1],t.length--)})(r[t],i)});return{state:s,get:o,set:a,on:c,onChange:(i,e)=>{const r=c("set",((t,r)=>{t===i&&e(r)})),n=c("reset",(()=>e(t[i])));return()=>{r(),n()}},use:(...t)=>t.forEach((t=>{t.set&&c("set",t.set),t.get&&c("get",t.get),t.reset&&c("reset",t.reset)})),dispose:()=>{r.dispose.forEach((t=>t())),n()},reset:n,forceUpdate:t=>{const i=e.get(t);r.set.forEach((e=>e(t,i,i)))}}})(A,void 0);return(({on:e})=>{const r=new Map;"function"==typeof t&&(e("dispose",(()=>{r.clear()})),e("get",(i=>{const e=t();e&&((t,i,e)=>{const r=t.get(i);r?r.includes(e)||r.push(e):t.set(i,[e])})(r,i,e)})),e("set",(t=>{const e=r.get(t);e&&r.set(t,e.filter(i)),w(r)})),e("reset",(()=>{r.forEach((t=>t.forEach(i))),w(r)})))})(e),e})();var C=s((function(t){
2
- /*! @license DOMPurify 2.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.0/LICENSE */
3
- t.exports=function(){var t=Object.hasOwnProperty,i=Object.setPrototypeOf,e=Object.isFrozen,r=Object.getPrototypeOf,n=Object.getOwnPropertyDescriptor,o=Object.freeze,a=Object.seal,s=Object.create,c="undefined"!=typeof Reflect&&Reflect,l=c.apply,h=c.construct;l||(l=function(t,i,e){return t.apply(i,e)}),o||(o=function(t){return t}),a||(a=function(t){return t}),h||(h=function(t,i){return new(Function.prototype.bind.apply(t,[null].concat(function(t){if(Array.isArray(t)){for(var i=0,e=Array(t.length);i<t.length;i++)e[i]=t[i];return e}return Array.from(t)}(i))))});var d,u=w(Array.prototype.forEach),p=w(Array.prototype.pop),v=w(Array.prototype.push),f=w(String.prototype.toLowerCase),b=w(String.prototype.match),m=w(String.prototype.replace),g=w(String.prototype.indexOf),z=w(String.prototype.trim),x=w(RegExp.prototype.test),y=(d=TypeError,function(){for(var t=arguments.length,i=Array(t),e=0;e<t;e++)i[e]=arguments[e];return h(d,i)});function w(t){return function(i){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return l(t,i,r)}}function k(t,r){i&&i(t,null);for(var n=r.length;n--;){var o=r[n];if("string"==typeof o){var a=f(o);a!==o&&(e(r)||(r[n]=a),o=a)}t[o]=!0}return t}function A(i){var e=s(null),r=void 0;for(r in i)l(t,i,[r])&&(e[r]=i[r]);return e}function L(t,i){for(;null!==t;){var e=n(t,i);if(e){if(e.get)return w(e.get);if("function"==typeof e.value)return w(e.value)}t=r(t)}return function(t){return console.warn("fallback value for",t),null}}var C=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),S=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),I=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),B=o(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),W=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),T=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),j=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),M=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),_=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),E=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),D=a(/<%[\s\S]*|[\s\S]*%>/gm),R=a(/^data-[\-\w.\u00B7-\uFFFF]/),N=a(/^aria-[\-\w]+$/),$=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=a(/^(?:\w+script|data):/i),P=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function H(t){if(Array.isArray(t)){for(var i=0,e=Array(t.length);i<t.length;i++)e[i]=t[i];return e}return Array.from(t)}var V=function(){return"undefined"==typeof window?null:window},G=function(t,i){if("object"!==(void 0===t?"undefined":q(t))||"function"!=typeof t.createPolicy)return null;var e=null,r="data-tt-policy-suffix";i.currentScript&&i.currentScript.hasAttribute(r)&&(e=i.currentScript.getAttribute(r));var n="dompurify"+(e?"#"+e:"");try{return t.createPolicy(n,{createHTML:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+n+" could not be created."),null}};return function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V(),e=function(i){return t(i)};if(e.version="2.3.0",e.removed=[],!i||!i.document||9!==i.document.nodeType)return e.isSupported=!1,e;var r=i.document,n=i.document,a=i.DocumentFragment,s=i.HTMLTemplateElement,c=i.Node,l=i.Element,h=i.NodeFilter,d=i.NamedNodeMap,w=void 0===d?i.NamedNodeMap||i.MozNamedAttrMap:d,K=i.Text,Y=i.Comment,Z=i.DOMParser,J=i.trustedTypes,Q=l.prototype,X=L(Q,"cloneNode"),tt=L(Q,"nextSibling"),it=L(Q,"childNodes"),et=L(Q,"parentNode");if("function"==typeof s){var rt=n.createElement("template");rt.content&&rt.content.ownerDocument&&(n=rt.content.ownerDocument)}var nt=G(J,r),ot=nt&&Et?nt.createHTML(""):"",at=n.implementation,st=n.createNodeIterator,ct=n.createDocumentFragment,lt=n.getElementsByTagName,ht=r.importNode,dt={};try{dt=A(n).documentMode?n.documentMode:{}}catch(t){}var ut={};e.isSupported="function"==typeof et&&at&&void 0!==at.createHTMLDocument&&9!==dt;var pt=F,vt=D,ft=R,bt=N,mt=U,gt=P,zt=$,xt=null,yt=k({},[].concat(H(C),H(S),H(I),H(W),H(j))),wt=null,kt=k({},[].concat(H(O),H(M),H(_),H(E))),At=null,Lt=null,Ct=!0,St=!0,It=!1,Bt=!1,Wt=!1,Tt=!1,jt=!1,Ot=!1,Mt=!1,_t=!0,Et=!1,Ft=!0,Dt=!0,Rt=!1,Nt={},$t=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ut=null,Pt=k({},["audio","video","img","source","image","track"]),qt=null,Ht=k({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Vt="http://www.w3.org/1998/Math/MathML",Gt="http://www.w3.org/2000/svg",Kt="http://www.w3.org/1999/xhtml",Yt=Kt,Zt=!1,Jt=null,Qt=n.createElement("form"),Xt=function(t){Jt&&Jt===t||(t&&"object"===(void 0===t?"undefined":q(t))||(t={}),t=A(t),xt="ALLOWED_TAGS"in t?k({},t.ALLOWED_TAGS):yt,wt="ALLOWED_ATTR"in t?k({},t.ALLOWED_ATTR):kt,qt="ADD_URI_SAFE_ATTR"in t?k(A(Ht),t.ADD_URI_SAFE_ATTR):Ht,Ut="ADD_DATA_URI_TAGS"in t?k(A(Pt),t.ADD_DATA_URI_TAGS):Pt,At="FORBID_TAGS"in t?k({},t.FORBID_TAGS):{},Lt="FORBID_ATTR"in t?k({},t.FORBID_ATTR):{},Ct=!1!==t.ALLOW_ARIA_ATTR,St=!1!==t.ALLOW_DATA_ATTR,It=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Wt=t.WHOLE_DOCUMENT||!1,Ot=t.RETURN_DOM||!1,_t=!1!==t.RETURN_DOM_IMPORT,Et=t.RETURN_TRUSTED_TYPE||!1,jt=t.FORCE_BODY||!1,Ft=!1!==t.SANITIZE_DOM,Dt=!1!==t.KEEP_CONTENT,Rt=t.IN_PLACE||!1,zt=t.ALLOWED_URI_REGEXP||zt,Yt=t.NAMESPACE||Kt,(Bt=t.SAFE_FOR_TEMPLATES||!1)&&(St=!1),(Mt=t.RETURN_DOM_FRAGMENT||!1)&&(Ot=!0),(Nt="USE_PROFILES"in t&&t.USE_PROFILES)&&(xt=k({},[].concat(H(j))),wt=[],!0===Nt.html&&(k(xt,C),k(wt,O)),!0===Nt.svg&&(k(xt,S),k(wt,M),k(wt,E)),!0===Nt.svgFilters&&(k(xt,I),k(wt,M),k(wt,E)),!0===Nt.mathMl&&(k(xt,W),k(wt,_),k(wt,E))),t.ADD_TAGS&&(xt===yt&&(xt=A(xt)),k(xt,t.ADD_TAGS)),t.ADD_ATTR&&(wt===kt&&(wt=A(wt)),k(wt,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&k(qt,t.ADD_URI_SAFE_ATTR),Dt&&(xt["#text"]=!0),Wt&&k(xt,["html","head","body"]),xt.table&&(k(xt,["tbody"]),delete At.tbody),o&&o(t),Jt=t)},ti=k({},["mi","mo","mn","ms","mtext"]),ii=k({},["foreignobject","desc","title","annotation-xml"]),ei=k({},S);k(ei,I),k(ei,B);var ri=k({},W);k(ri,T);var ni=function(t){var i=et(t);i&&i.tagName||(i={namespaceURI:Kt,tagName:"template"});var e=f(t.tagName),r=f(i.tagName);if(t.namespaceURI===Gt)return i.namespaceURI===Kt?"svg"===e:i.namespaceURI===Vt?"svg"===e&&("annotation-xml"===r||ti[r]):Boolean(ei[e]);if(t.namespaceURI===Vt)return i.namespaceURI===Kt?"math"===e:i.namespaceURI===Gt?"math"===e&&ii[r]:Boolean(ri[e]);if(t.namespaceURI===Kt){if(i.namespaceURI===Gt&&!ii[r])return!1;if(i.namespaceURI===Vt&&!ti[r])return!1;var n=k({},["title","style","font","a","script"]);return!ri[e]&&(n[e]||!ei[e])}return!1},oi=function(t){v(e.removed,{element:t});try{t.parentNode.removeChild(t)}catch(i){try{t.outerHTML=ot}catch(i){t.remove()}}},ai=function(t,i){try{v(e.removed,{attribute:i.getAttributeNode(t),from:i})}catch(t){v(e.removed,{attribute:null,from:i})}if(i.removeAttribute(t),"is"===t&&!wt[t])if(Ot||Mt)try{oi(i)}catch(t){}else try{i.setAttribute(t,"")}catch(t){}},si=function(t){var i=void 0,e=void 0;if(jt)t="<remove></remove>"+t;else{var r=b(t,/^[\r\n\t ]+/);e=r&&r[0]}var o=nt?nt.createHTML(t):t;if(Yt===Kt)try{i=(new Z).parseFromString(o,"text/html")}catch(t){}if(!i||!i.documentElement){i=at.createDocument(Yt,"template",null);try{i.documentElement.innerHTML=Zt?"":o}catch(t){}}var a=i.body||i.documentElement;return t&&e&&a.insertBefore(n.createTextNode(e),a.childNodes[0]||null),Yt===Kt?lt.call(i,Wt?"html":"body")[0]:Wt?i.documentElement:a},ci=function(t){return st.call(t.ownerDocument||t,t,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT,null,!1)},li=function(t){return!(t instanceof K||t instanceof Y||"string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof w&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute&&"string"==typeof t.namespaceURI&&"function"==typeof t.insertBefore)},hi=function(t){return"object"===(void 0===c?"undefined":q(c))?t instanceof c:t&&"object"===(void 0===t?"undefined":q(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},di=function(t,i,r){ut[t]&&u(ut[t],(function(t){t.call(e,i,r,Jt)}))},ui=function(t){var i=void 0;if(di("beforeSanitizeElements",t,null),li(t))return oi(t),!0;if(b(t.nodeName,/[\u0080-\uFFFF]/))return oi(t),!0;var r=f(t.nodeName);if(di("uponSanitizeElement",t,{tagName:r,allowedTags:xt}),!hi(t.firstElementChild)&&(!hi(t.content)||!hi(t.content.firstElementChild))&&x(/<[/\w]/g,t.innerHTML)&&x(/<[/\w]/g,t.textContent))return oi(t),!0;if(!xt[r]||At[r]){if(Dt&&!$t[r]){var n=et(t)||t.parentNode,o=it(t)||t.childNodes;if(o&&n)for(var a=o.length-1;a>=0;--a)n.insertBefore(X(o[a],!0),tt(t))}return oi(t),!0}return t instanceof l&&!ni(t)?(oi(t),!0):"noscript"!==r&&"noembed"!==r||!x(/<\/no(script|embed)/i,t.innerHTML)?(Bt&&3===t.nodeType&&(i=m(i=t.textContent,pt," "),i=m(i,vt," "),t.textContent!==i&&(v(e.removed,{element:t.cloneNode()}),t.textContent=i)),di("afterSanitizeElements",t,null),!1):(oi(t),!0)},pi=function(t,i,e){if(Ft&&("id"===i||"name"===i)&&(e in n||e in Qt))return!1;if(St&&!Lt[i]&&x(ft,i));else if(Ct&&x(bt,i));else{if(!wt[i]||Lt[i])return!1;if(qt[i]);else if(x(zt,m(e,gt,"")));else if("src"!==i&&"xlink:href"!==i&&"href"!==i||"script"===t||0!==g(e,"data:")||!Ut[t])if(It&&!x(mt,m(e,gt,"")));else if(e)return!1}return!0},vi=function(t){var i=void 0,r=void 0,n=void 0,o=void 0;di("beforeSanitizeAttributes",t,null);var a=t.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:wt};for(o=a.length;o--;){var c=(i=a[o]).name,l=i.namespaceURI;if(r=z(i.value),n=f(c),s.attrName=n,s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,di("uponSanitizeAttribute",t,s),r=s.attrValue,!s.forceKeepAttr&&(ai(c,t),s.keepAttr))if(x(/\/>/i,r))ai(c,t);else{Bt&&(r=m(r,pt," "),r=m(r,vt," "));var h=t.nodeName.toLowerCase();if(pi(h,n,r))try{l?t.setAttributeNS(l,c,r):t.setAttribute(c,r),p(e.removed)}catch(t){}}}di("afterSanitizeAttributes",t,null)}},fi=function t(i){var e=void 0,r=ci(i);for(di("beforeSanitizeShadowDOM",i,null);e=r.nextNode();)di("uponSanitizeShadowNode",e,null),ui(e)||(e.content instanceof a&&t(e.content),vi(e));di("afterSanitizeShadowDOM",i,null)};return e.sanitize=function(t,n){var o=void 0,s=void 0,l=void 0,h=void 0,d=void 0;if((Zt=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!hi(t)){if("function"!=typeof t.toString)throw y("toString is not a function");if("string"!=typeof(t=t.toString()))throw y("dirty is not a string, aborting")}if(!e.isSupported){if("object"===q(i.toStaticHTML)||"function"==typeof i.toStaticHTML){if("string"==typeof t)return i.toStaticHTML(t);if(hi(t))return i.toStaticHTML(t.outerHTML)}return t}if(Tt||Xt(n),e.removed=[],"string"==typeof t&&(Rt=!1),Rt);else if(t instanceof c)1===(s=(o=si("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?o=s:o.appendChild(s);else{if(!Ot&&!Bt&&!Wt&&-1===t.indexOf("<"))return nt&&Et?nt.createHTML(t):t;if(!(o=si(t)))return Ot?null:ot}o&&jt&&oi(o.firstChild);for(var u=ci(Rt?t:o);l=u.nextNode();)3===l.nodeType&&l===h||ui(l)||(l.content instanceof a&&fi(l.content),vi(l),h=l);if(h=null,Rt)return t;if(Ot){if(Mt)for(d=ct.call(o.ownerDocument);o.firstChild;)d.appendChild(o.firstChild);else d=o;return _t&&(d=ht.call(r,d,!0)),d}var p=Wt?o.outerHTML:o.innerHTML;return Bt&&(p=m(p,pt," "),p=m(p,vt," ")),nt&&Et?nt.createHTML(p):p},e.setConfig=function(t){Xt(t),Tt=!0},e.clearConfig=function(){Jt=null,Tt=!1},e.isValidAttribute=function(t,i,e){Jt||Xt({});var r=f(t),n=f(i);return pi(r,n,e)},e.addHook=function(t,i){"function"==typeof i&&(ut[t]=ut[t]||[],v(ut[t],i))},e.removeHook=function(t){ut[t]&&p(ut[t])},e.removeHooks=function(t){ut[t]&&(ut[t]=[])},e.removeAllHooks=function(){ut={}},e}()}()}));function S(t){if(t)return C.sanitize(unescape(t),{ADD_ATTR:["target"]})}function I(t){const i=t+"=",e=decodeURIComponent(document.cookie).split(";");for(let t of e){for(;" "===t.charAt(0);)t=t.substring(1);if(0===t.indexOf(i))return t.substring(i.length,t.length)}return""}const B={licenseActivationCode:"",licenseActivationStatus:"initial",licenseActivationMessage:"",licenseActivationApiLoading:!1,licenseActivationApiLoaded:!1,licenseActivationApiError:null,licenseActivationApiData:null};function W(t){if(!t||!t.message||!t.data)return L.cms["newdashboard.licenseActivation.error.unknown"];const{data:{errorCode:i}}=t;let e;const r={};switch(i){case-103:e="newdashboard.licenseActivation.error.codeUsedByOtherUser";break;case-102:e="newdashboard.licenseActivation.error.codeUsedBySameUser",r.TITOLO_VOLUME=t.data.data.opera&&t.data.data.volume?`${t.data.data.opera.title} - ${t.data.data.volume.title}`:"";break;case-301:e="newdashboard.licenseActivation.error.volumeNotActive";break;case-302:e="newdashboard.licenseActivation.error.volumeExpired";break;case-304:e="newdashboard.licenseActivation.error.volumeNotRenewable";break;case-303:case-305:case-401:e="newdashboard.licenseActivation.error.volumeNotReady";break;case-100:case-101:case-200:case-201:case-300:case-400:default:e="newdashboard.licenseActivation.error.default"}return n=L.cms[e],(o=r)&&Object.keys(o).forEach((t=>n=n.split(`##${t}##`).join(o[t]))),n;var n,o}const T=class{constructor(t){e(this,t),this.licenseModalState=r(this,"licenseModalState",7),this.licenseStatusChange=r(this,"licenseStatusChange",7),this.env="prod",this.initialShowInfoBox=!1,this.licenseActivationState=B}async componentWillLoad(){await async function(t){t.cms=await async function(){try{return(await(async t=>await fetch(t,Object.assign({method:"GET",headers:void 0},void 0)))(((t="devmy")=>new k(t).buildEnvironment().URL_S3_FILE_LABELS)())).json()}catch(t){console.warn("no translation found")}}()}(L),this.cms=L.cms,this.modalState=this.variant===g.modal?"open":"closed",this.isMobile=window.screen.width<=767||window.innerWidth<=767,this.enableFormSubmitButton=this.enableButton,this.environment=new k(this.env).buildEnvironment()}handleResize(){this.isMobile=window.innerWidth<=767}handleOrientationChange(){this.isMobile=screen.width<=767}handleLicenseModalClose(){this.modalState="closed",this.licenseModalState.emit({value:"closed"}),this.resetStore()}handleLicenseModalOpen(t){this.initialShowInfoBox=t,this.submitClicked=!0,this.modalState="open",this.licenseModalState.emit({value:"open"})}emitStatusChange(){const{licenseActivationState:{licenseActivationStatus:t,licenseActivationApiData:i}}=this;this.licenseStatusChange.emit({status:t,data:i}),"success"===this.licenseActivationState.licenseActivationStatus&&this.resetStore()}resetStore(){this.licenseActivationState=B}handleFormInputChange(t){this.enableFormSubmitButton=this.enableButton||!!t,t||this.resetStore()}async activateLicense(){var t;const i=this.environment.MYZ_TOKEN_KEY,e=null===(t=this.environment.MYZ_TOKEN_KEY)||void 0===t?void 0:t.replace(/-/g,"_"),r=`${this.environment.API_V3_URL}/dashboard/code`;this.licenseActivationState=Object.assign(Object.assign({},this.licenseActivationState),{licenseActivationApiLoading:!0});const n={[i]:I(e)},o=L.cms["newdashboard.licenseActivation.error.sampleCodeMessage"];"A28E3E1172"===this.licenseActivationState.licenseActivationCode&&(this.licenseActivationState=Object.assign(Object.assign({},this.licenseActivationState),{licenseActivationMessage:o,licenseActivationStatus:"fail",licenseActivationApiData:null}),this.emitStatusChange(),this.handleLicenseModalOpen(!1));try{const t=await(async(t,i,e)=>await fetch(t,Object.assign({method:"POST",body:JSON.stringify(i),headers:Object.assign({"Content-Type":"application/json",Accept:"application/json"},e)},void 0)))(r,{code:this.licenseActivationState.licenseActivationCode},n),i=await t.json();this.licenseActivationState=Object.assign(Object.assign({},this.licenseActivationState),{licenseActivationApiData:Object.assign(Object.assign({},i),{code:this.licenseActivationState.licenseActivationCode}),licenseActivationApiLoading:!1,licenseActivationApiLoaded:!0,licenseActivationStatus:t.ok?"success":"fail",licenseActivationMessage:t.ok?i.message:W(i)}),this.emitStatusChange(),t.ok?this.handleLicenseModalClose():this.handleLicenseModalOpen(!1)}catch(t){const{response:i}=t;this.licenseActivationState=Object.assign(Object.assign({},this.licenseActivationState),{licenseActivationApiLoading:!1,licenseActivationApiLoaded:!0,licenseActivationApiError:t,licenseActivationStatus:"fail",licenseActivationMessage:W(await i.json()),licenseActivationApiData:null}),this.emitStatusChange(),this.handleLicenseModalOpen(!1)}}async handleSubmitButtonClick(t){const{licenseActivationState:{licenseActivationStatus:i}}=this;this.licenseActivationState=Object.assign(Object.assign({},this.licenseActivationState),{licenseActivationCode:t}),t||this.handleLicenseModalOpen(!1),this.variant!==g.modal&&"open"!==this.modalState&&"initial"!==i||!t||this.activateLicense()}handleMobileButtonClick(){this.modalState="open"}mapInputStatus(t){return"initial"===t?null:"success"===t?"success":"fail"===t?"error":null}renderLicenseActivationBox(t){return n("license-activation-box",{error:this.licenseActivationState.licenseActivationApiError,code:this.licenseActivationState.licenseActivationCode},this.renderLicenseActivationForm(t))}renderLicenseActivationModal(){return n("license-activation-modal",{id:`${this.host.id}-modal`,"modal-title":this.cms["newdashboard.licenseActivation.modalTitle"],onActivationModalClose:()=>this.handleLicenseModalClose(),resetStore:this.resetStore},this.renderLicenseActivationForm(g.modal))}retrieveTextsObject(){const{inputMessage:t,inputLabel:i,inputPlaceholder:e,buttonLabel:r,isMobile:n,additionalDescription:o,buttonIcon:a,previewInputPlaceholder:s,previewButtonLabel:c,previewButtonIcon:l,previewButtonSize:h}=this,{licenseActivationStatus:d}=this.licenseActivationState;return{inputStatus:this.mapInputStatus(d),inputMessage:t||this.cms["newdashboard.licenseActivation.inputHelperMessage"],placeholder:e||this.cms["newdashboard.licenseActivation.inputPlaceholder"],inputLabel:i||this.cms["newdashboard.licenseActivation.inputLabel"],buttonLabel:n?r||this.cms["newdashboard.licenseActivation.submitLabel"]:this.cms["newdashboard.onboarding.licenseActivation.submitLabel"],buttonIcon:a,previewInputPlaceholder:s,previewButtonLabel:c,previewButtonIcon:l,previewButtonSize:h,linkLabel:this.cms["newdashboard.licenseActivation.helperLink"].toUpperCase(),errorButtonLabel:this.cms["newdashboard.licenseActivation.contactUs.btnLabel"],errorSectionMessage:this.cms["newdashboard.licenseActivation.contactUs.message"],infoBoxIcon:`${this.environment.URL_S3_IMAGES_FOLDER}bollinoSIAE.svg`,infoBoxContent:this.cms["newdashboard.licenseActivation.infoBoxContent"],supportLink:this.cms["newdashboard.licenseActivation.contactUs.url"],additionalDescription:this.variant===g.modal&&o}}renderLicenseActivationForm(t){const{componentid:i}=this,{licenseActivationState:{licenseActivationMessage:e,licenseActivationCode:r,licenseActivationApiLoading:o}}=this,a=this.retrieveTextsObject();return n("license-activation-form",{direction:"column",error:e,initialCode:r,formTexts:a,requestLoading:!!o,enableButton:this.enableFormSubmitButton,formid:i,initialShowInfoBox:this.initialShowInfoBox,onFormInputChange:t=>this.handleFormInputChange(t.detail.value),onSubmitButtonClick:t=>this.handleSubmitButtonClick(t.detail.value),variant:t,handleModalOpen:()=>this.handleLicenseModalOpen(!0)})}renderMobileButton(){return n("z-button",{onClick:()=>this.handleMobileButtonClick()},this.cms["newdashboard.onboarding.licenseActivation.mobileSubmitLabel"])}render(){return this.isMobile&&this.variant!==g.preview?n(o,null,this.forceModal?this.renderLicenseActivationModal():this.renderMobileButton(),this.variant===g.box&&"open"===this.modalState&&this.renderLicenseActivationModal()):n(o,null,this.variant===g.box||this.variant===g.preview?this.renderLicenseActivationBox(this.variant):"open"===this.modalState&&this.renderLicenseActivationModal(),(this.variant===g.box||this.variant===g.preview)&&"open"===this.modalState&&this.submitClicked&&this.renderLicenseActivationModal())}get host(){return a(this)}};T.style=".sc-license-activation-h{display:block}.sc-license-activation-h>z-button.sc-license-activation{width:100%}";const j=class{constructor(t){e(this,t)}componentWillLoad(){const{error:t}=this;t&&t.data===this.code&&this.renderLicenseActivationModal()}componentWillUpdate(){const{error:t}=this;t&&t.data===this.code&&this.renderLicenseActivationModal()}renderLicenseActivationModal(){return n("license-activation-modal",null,this.hostElement.children)}render(){return n(o,null,n("slot",null))}get hostElement(){return a(this)}};j.style="@media only screen and (min-width: 768px){div:nth-child(1) .sc-license-activation-box-h>div.sc-license-activation-box{display:grid;grid-template-columns:3fr 1fr;grid-column-gap:calc(var(--space-unit) * 2)}.sc-license-activation-box-h>div.sc-license-activation-box>z-button.sc-license-activation-box{margin-top:calc(var(--space-unit) * 4)}}";const O=class{constructor(t){e(this,t),this.formInputChange=r(this,"formInputChange",7),this.submitButtonClick=r(this,"submitButtonClick",7),this.redirectToSupport=this.redirectToSupport.bind(this)}componentWillLoad(){this.showInfoBox=!!this.initialShowInfoBox,this.inputVal=this.initialCode?this.initialCode:""}componentDidUpdate(){this.inputMessageRef&&this.error&&this.inputMessageRef.focus()}handleFormInputChange(t){this.inputVal=t.value,this.formInputChange.emit(t)}handleSubmitButtonClick(t){this.submitButtonClick.emit({value:t})}handleInfoClick(){this.variant===g.modal&&(this.showInfoBox=!0),this.variant!==g.box&&this.variant!==g.preview||this.handleModalOpen()}renderInput(){const{inputLabel:t,placeholder:i,inputStatus:e,previewInputPlaceholder:r}=this.formTexts;if(this.variant!==g.preview||r)return n("div",{class:"license-input-container"},n("z-input",{value:this.inputVal,htmlid:`${this.formid}_input`,label:this.variant===g.preview?"":t,placeholder:this.variant===g.preview?r:i,status:this.variant===g.box?null:e,message:!1,htmltitle:i,disabled:!!this.requestLoading,onInputChange:t=>this.handleFormInputChange(t.detail)}),this.renderInputMessage())}renderInputMessage(){const{inputMessage:t,inputStatus:i}=this.formTexts;if(this.variant!==g.preview)return n("z-input-message",{ref:t=>this.inputMessageRef=t,message:this.variant===g.box?t:this.error?this.error:t,status:this.variant===g.box?null:i})}renderButton(){const t=this.variant===g.modal&&!this.inputVal||!!this.requestLoading||!this.enableButton;return n("z-button",{variant:l.primary,size:this.getButtonSize(this.variant),icon:this.getButtonIcon(this.variant),disabled:t,onClick:()=>this.handleSubmitButtonClick(this.inputVal)},this.getButtonLabel(this.variant))}renderAdditionalDescription(){const{additionalDescription:t}=this.formTexts;if(t)return n("z-body",{level:3},t)}renderInfoLink(){const{linkLabel:t}=this.formTexts;if(this.variant!==g.preview)return n("z-link",{icon:"question-mark",onClick:()=>this.handleInfoClick()},t)}renderInfoBox(){if(!this.showInfoBox)return;const{infoBoxContent:t,infoBoxIcon:i}=this.formTexts;return n("z-info-box",{boxid:"singleInputFormInfoSection",isclosable:!0,onClick:t=>this.handleInfoBoxClick(t)},n("div",{slot:"content"},i&&n("span",null,n("img",{src:i,"aria-hidden":!0})),t&&n("span",{innerHTML:S(t)})))}handleInfoBoxClick(t){t.composedPath().find((t=>t.dataset&&"infoBoxClose"===t.dataset.action))&&(this.showInfoBox=!1)}redirectToSupport(){const{formTexts:t}=this;t.supportLink&&(window.location.href=t.supportLink)}renderErrorSection(){if(this.variant!==g.modal||!this.error)return;const{errorButtonLabel:t,errorSectionMessage:i}=this.formTexts;return n("section",{class:"error-section"},n("span",{class:"heading-01"},i),n("z-button",{variant:l.secondary,onClick:this.redirectToSupport},t))}getButtonSize(t){const{previewButtonSize:i}=this.formTexts;return t===g.preview&&i?i:"big"}getButtonSquare(t){const{previewButtonLabel:i,previewButtonIcon:e}=this.formTexts;if(t===g.preview&&e&&!i)return!0}getButtonIcon(t){const{buttonIcon:i,previewButtonIcon:e}=this.formTexts;return t===g.preview&&e?e:t!==g.preview&&i?i:void 0}getButtonLabel(t){const{buttonLabel:i,previewButtonLabel:e}=this.formTexts;return t===g.preview&&e?e:t!==g.preview&&i?i:""}render(){return n(o,{variant:this.variant},n("div",null,this.renderAdditionalDescription(),this.renderInput(),this.renderButton()),this.renderInfoLink(),n("div",null,this.renderInfoBox(),this.renderErrorSection()))}};O.style=':host{display:block;padding:calc(var(--space-unit) * 2)}:host>div>z-body{margin-bottom:calc(var(--space-unit) * 2)}:host>div>z-button{padding:calc(var(--space-unit) * 2) 0;width:100%}:host>div>z-input{width:100%}:host>z-link{font-weight:bold}:host>div>z-info-box>div{display:flex}:host([variant="modal"]) .error-section{display:flex;flex-direction:column;border-top:var(--border-size-small) solid var(--bg-grey-200);margin-top:calc(var(--space-unit) * 3);padding-top:calc(var(--space-unit) * 2)}:host([variant="modal"]) .error-section>span{padding:var(--basex2) 0;display:block;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;line-height:20px}:host([variant="preview"]){margin:0;padding:0}:host([variant="preview"]) z-button{margin:0;padding:0;width:initial}:host([variant="preview"]) .license-input-container{width:100%;margin-right:calc(var(--space-unit) * 2)}:host .license-input-container>z-input{width:100%}@media only screen and (min-width: 768px){:host{padding:0}:host([variant="modal"]){padding:32px;width:396px}:host>div{display:flex;flex-direction:row}:host([variant="modal"])>div{flex-direction:column}:host>div>z-button{padding-top:calc(var(--space-unit) * 4);padding-left:calc(var(--space-unit) * 2);width:auto}:host([variant="preview"])>div>z-button{padding-top:0}:host([variant="modal"])>div>z-button{padding:32px 0 calc(var(--space-unit) * 2);width:max-content}:host([variant="modal"]) .error-section>z-button{width:max-content}}@media only screen and (min-width: 1152px){:host([variant="modal"]){width:477px}:host>div{flex-direction:row}}';const M=class{constructor(t){e(this,t),this.activationModalClose=r(this,"activationModalClose",7)}handleModalClose(){this.activationModalClose.emit({value:!0}),this.resetStore()}handleModalBackgroundClick(t){t.composedPath().find(((t,i)=>null!=t.dataset&&"modalBackground"===t.dataset.action&&0===i))&&this.handleModalClose()}render(){return n(o,{tabIndex:0},n("z-modal",{tabIndex:0,onClick:t=>this.handleModalBackgroundClick(t),modaltitle:this.modalTitle,onModalClose:()=>this.handleModalClose()},n("div",{slot:"modalContent"},n("slot",null))))}};M.style=".sc-license-activation-modal-h{display:block}";const _=class{constructor(t){e(this,t),this.variant="regular"}render(){return n("z-typography",{tabIndex:0,component:this.component||"span",level:`b${this.level}`,variant:this.variant},n("slot",null))}},E=class{constructor(t){e(this,t),this.disabled=!1,this.type=h.button,this.variant=l.primary,this.size=d.big}getAttributes(){return{id:this.htmlid,"aria-label":this.ariaLabel,class:{container:!0,[this.variant]:!0,[this.size]:!0,"has-text":!!this.hostElement.textContent}}}render(){return this.href?n("a",Object.assign({},this.getAttributes(),{href:this.href,target:this.target}),this.icon&&n("z-icon",{name:this.icon,width:16,height:16}),n("slot",null)):n("button",Object.assign({},this.getAttributes(),{name:this.name,type:this.type,disabled:this.disabled}),this.icon&&n("z-icon",{name:this.icon,width:16,height:16}),n("slot",null))}get hostElement(){return a(this)}};E.style='.sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0}[disabled].sc-z-button-h:not([disabled="false"]){pointer-events:none}.sc-z-button-h .container.sc-z-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:100%;padding:0;font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap;outline:none;fill:currentColor}.sc-z-button-h .container.has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}.sc-z-button-h .container.has-text.sc-z-button z-icon.sc-z-button{--z-icon-right-margin:var(--space-unit)}.sc-z-button-h .big.sc-z-button{height:44px;min-width:44px}.sc-z-button-h .small.sc-z-button{height:36px;min-width:36px}.sc-z-button-h .x-small.sc-z-button{height:32px;min-width:32px}.sc-z-button-h .primary.sc-z-button{background-color:var(--color-primary01);border-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){.sc-z-button-h .primary.sc-z-button:hover{background-color:var(--color-hover-primary);border-color:var(--color-hover-primary);color:var(--color-text-inverse)}}.sc-z-button-h .container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .primary.sc-z-button:active{background-color:var(--color-pressed-primary);border-color:var(--color-pressed-primary);color:var(--color-text-inverse);box-shadow:var(--shadow-2)}[disabled].sc-z-button-h:not([disabled="false"]) .primary.sc-z-button{background-color:var(--color-disabled01);border-color:var(--color-disabled01);color:var(--color-disabled02)}.sc-z-button-h .secondary.sc-z-button{background-color:var(--color-surface01);border-color:var(--color-primary01);color:var(--color-primary01)}@media (hover: hover){.sc-z-button-h .secondary.sc-z-button:hover{background-color:var(--color-surface01);border-color:var(--color-hover-primary);color:var(--color-hover-primary)}}.sc-z-button-h .secondary.sc-z-button:active{background-color:var(--color-surface01);border-color:var(--color-pressed-primary);color:var(--color-pressed-primary);box-shadow:var(--shadow-2)}[disabled].sc-z-button-h:not([disabled="false"]) .secondary.sc-z-button{background-color:var(--color-surface01);border-color:var(--color-disabled01);color:var(--color-disabled02)}.sc-z-button-h .tertiary.sc-z-button{background-color:transparent;border-color:transparent;color:var(--color-primary01)}@media (hover: hover){.sc-z-button-h .tertiary.sc-z-button:hover{background-color:var(--color-primary03);border-color:var(--color-primary03);color:var(--color-hover-primary)}}.sc-z-button-h .tertiary.sc-z-button:focus:focus-visible{background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01)}.sc-z-button-h .tertiary.sc-z-button:active{background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01);box-shadow:var(--shadow-2)}[disabled].sc-z-button-h:not([disabled="false"]) .tertiary.sc-z-button{background-color:transparent;border-color:transparent;color:var(--color-disabled02)}';const F=class{constructor(t){e(this,t)}selectPathOrPolygon(t){return t&&t.startsWith("M")?n("path",{d:v[this.name]}):n("polygon",{points:v[this.name]})}render(){return n("svg",{viewBox:"0 0 1000 1000",width:this.width,height:this.height,id:this.iconid,fill:this.fill?`var(--${this.fill})`:""},this.selectPathOrPolygon(v[this.name]))}};F.style=":host{line-height:0;vertical-align:middle;margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0)}:host svg:not([width]){width:var(--z-icon-width, 18px)}:host svg:not([height]){height:var(--z-icon-height, 18px)}";const D=class{constructor(t){e(this,t),this.infoBoxClose=r(this,"infoBoxClose",7),this.isclosable=!0}emitInfoBoxClose(){this.infoBoxClose.emit({boxid:this.boxid})}render(){return n("div",{id:this.boxid},n("slot",{name:"content"}),this.isclosable&&n("z-icon",{name:"multiply","data-action":"infoBoxClose",onClick:()=>this.emitInfoBoxClose()}))}};D.style=":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{background:var(--accent-lighter);padding:calc(var(--space-unit) * 2);border-radius:var(--border-radius);display:flex;width:inherit}:host>div>slot{color:var(--text-grey-800);font-size:14px}:host>div>z-icon{fill:var(--myz-blue);cursor:pointer;margin-left:calc(var(--space-unit) * 2)}";const R=class{constructor(t){e(this,t),this.inputChange=r(this,"inputChange",7),this.startTyping=r(this,"startTyping",7),this.stopTyping=r(this,"stopTyping",7),this.inputCheck=r(this,"inputCheck",7),this.htmlid=`id-${f()}`,this.disabled=!1,this.readonly=!1,this.required=!1,this.checked=!1,this.message=!0,this.labelPosition=u.right,this.hasclearicon=!0,this.isTyping=!1,this.passwordHidden=!0,this.typingtimeout=300}inputCheckListener(t){const i=t.detail;switch(this.type){case p.radio:i.type===p.radio&&i.name===this.name&&i.id!==this.htmlid&&(this.checked=!1);default:return}}async isChecked(){switch(this.type){case p.checkbox:case p.radio:return this.checked;default:return console.warn("`isChecked` method is only available for type `checkbox` and `radio`"),!1}}emitInputChange(t){this.isTyping||this.emitStartTyping();let i={};i=this.getValidity(this.type===p.textarea?"textarea":"input"),this.value=t,this.inputChange.emit({value:t,validity:i}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.emitStopTyping(this.value,i)}),this.typingtimeout)}emitStartTyping(){this.isTyping=!0,this.startTyping.emit()}emitStopTyping(t,i){this.isTyping=!1,this.stopTyping.emit({value:t,validity:i})}emitInputCheck(t){this.inputCheck.emit({id:this.htmlid,checked:t,type:this.type,name:this.name,value:this.value,validity:this.getValidity("input")})}getValidity(t){return this.hostElement.querySelector(t).validity}getTextAttributes(){return{id:this.htmlid,name:this.name,placeholder:this.placeholder,value:this.value,disabled:this.disabled,readonly:this.readonly,required:this.required,title:this.htmltitle,class:{[`input_${this.status||"default"}`]:!0,filled:!!this.value},autocomplete:this.autocomplete,onInput:t=>this.emitInputChange(t.target.value)}}renderInputText(t=p.text){const i=this.getTextAttributes();return(this.icon||t===p.password)&&(i.class=Object.assign(Object.assign({},i.class),{hasIcon:!0})),this.hasclearicon&&(i.class=Object.assign(Object.assign({},i.class),{hasClearIcon:!0})),n("div",{class:"textWrapper"},this.renderLabel(),n("div",null,n("input",Object.assign({type:t!==p.password||this.passwordHidden?t:p.text},i,{"aria-label":this.ariaLabel||this.label})),this.renderIcons()),this.renderMessage())}renderLabel(){if(this.label)return n("label",{class:"inputLabel body-5-sb",id:`${this.htmlid}_label`,htmlFor:this.htmlid,"aria-label":this.label},this.label)}renderIcons(){return n("span",{class:"iconsWrapper"},this.renderResetIcon(),this.renderIcon())}renderIcon(){return this.type===p.password?this.renderShowHidePassword():this.icon?n("button",{type:"button",class:"iconButton inputIcon",tabIndex:-1},n("z-icon",{name:this.icon})):void 0}renderResetIcon(){if(this.hasclearicon&&this.value&&!this.disabled&&!this.readonly)return n("button",{type:"button",class:"iconButton resetIcon","aria-label":"cancella il contenuto dell'input",onClick:()=>this.emitInputChange("")},n("z-icon",{name:"multiply"}))}renderShowHidePassword(){return n("button",{type:"button",class:"iconButton showHidePasswordIcon",disabled:this.disabled,"aria-label":this.passwordHidden?"mostra password":"nascondi password",onClick:()=>this.passwordHidden=!this.passwordHidden},n("z-icon",{name:this.passwordHidden?"view-filled":"view-off-filled"}))}renderMessage(){if(!1!==b(this.message))return n("z-input-message",{message:!0===b(this.message)?void 0:this.message,status:this.status})}renderTextarea(){const t=this.getTextAttributes();return n("div",{class:"textWrapper"},this.renderLabel(),n("div",{class:Object.assign(Object.assign({},t.class),{textareaWrapper:!0,readonly:t.readonly})},n("textarea",Object.assign({},t,{"aria-label":this.ariaLabel||this.label}))),this.renderMessage())}handleCheck(t){this.checked=t.target.checked,this.emitInputCheck(this.checked)}renderCheckbox(){return n("div",{class:"checkboxWrapper"},n("input",{id:this.htmlid,type:"checkbox",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,required:this.required,onChange:this.handleCheck.bind(this),value:this.value}),n("label",{htmlFor:this.htmlid,class:{checkboxLabel:!0,after:this.labelPosition===u.right,before:this.labelPosition===u.left}},n("z-icon",{name:this.checked?"checkbox-checked":"checkbox","aria-hidden":"true"}),this.label&&n("span",{innerHTML:this.label})))}renderRadio(){return n("div",{class:"radioWrapper"},n("input",{id:this.htmlid,type:"radio",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,onChange:this.handleCheck.bind(this),value:this.value}),n("label",{htmlFor:this.htmlid,class:{radioLabel:!0,after:this.labelPosition===u.right,before:this.labelPosition===u.left}},n("z-icon",{name:this.checked?"radio-button-checked":"radio-button","aria-hidden":"true"}),this.label&&n("span",{innerHTML:this.label})))}render(){switch(this.type){case p.textarea:return this.renderTextarea();case p.checkbox:return this.renderCheckbox();case p.radio:return this.renderRadio();default:return this.renderInputText(this.type)}}get hostElement(){return a(this)}};R.style='.sc-z-input-h{display:inline-block;width:inherit}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input,.textareaWrapper.sc-z-input{background:var(--color-input-field01);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--color-surface04);box-sizing:border-box;color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:var(--font-size-3);outline:none}input.sc-z-input:focus:focus-visible,.textareaWrapper.sc-z-input:focus-within{box-shadow:var(--shadow-focus-primary)}input.sc-z-input:focus:focus-visible,textarea.sc-z-input:focus:focus-visible{color:var(--color-primary01)}.filled.sc-z-input{border-color:var(--color-surface05)}.input_success.sc-z-input{background:var(--color-success-inverse);border-color:var(--color-success01);fill:var(--color-success01)}.input_error.sc-z-input{background:var(--color-error-inverse);border-color:var(--color-error01);fill:var(--color-error01)}.input_warning.sc-z-input{background:var(--color-warning-inverse);border-color:var(--color-warning01);fill:var(--color-warning01)}input.sc-z-input:hover,.textareaWrapper.sc-z-input:hover{border-width:var(--border-size-medium)}input[readonly].sc-z-input,.readonly.sc-z-input{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) .textareaWrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) z-icon.sc-z-input{border-color:var(--color-disabled01);color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none;box-shadow:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input::-webkit-input-placeholder,.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-input-placeholder,.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::-moz-placeholder{color:var(--color-text05)}.sc-z-input:-moz-placeholder{color:var(--color-text05)}label.inputLabel.sc-z-input{display:block;margin-bottom:var(--space-unit);color:var(--color-text02);font-family:var(--font-family-sans);text-transform:uppercase;text-align:left}[disabled].sc-z-input-h:not([disabled="false"]) label.inputLabel.sc-z-input{color:var(--color-disabled02)}.textWrapper.sc-z-input>div.sc-z-input{fill:var(--color-icon02)}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);margin:0;padding:0 calc(var(--space-unit) * 1.5);box-sizing:border-box}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.sc-z-input,.textWrapper.sc-z-input>div.sc-z-input>input.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.textWrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1}.textWrapper.sc-z-input .iconsWrapper.sc-z-input{position:absolute;right:calc(var(--space-unit) * 1.5);top:50%;transform:translateY(-50%);display:flex;z-index:2;pointer-events:none}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input{background:none;color:inherit;border:0;padding:0;font:inherit;pointer-events:initial}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input+button.iconButton.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.resetIcon.sc-z-input,.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.showHidePasswordIcon.sc-z-input{cursor:pointer}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{-webkit-background-clip:text !important}.textareaWrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input{min-height:132px;width:100%;margin:0;padding:0;border:none;resize:none}.radioWrapper.sc-z-input,.checkboxWrapper.sc-z-input{display:inline-flex;flex-direction:row;align-items:center;font-family:var(--font-family-sans);position:relative;color:var(--color-text01);fill:var(--color-primary01)}.radioWrapper.sc-z-input:hover,.checkboxWrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentColor}.radioWrapper.sc-z-input>input.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input{position:absolute;opacity:0;z-index:-1;pointer-events:none}.radioWrapper.sc-z-input .radioLabel.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input{display:inline-flex;align-items:center;margin:0;line-height:1;color:inherit;font-family:inherit;font-weight:inherit;font-size:inherit;text-transform:inherit}.radioWrapper.sc-z-input input.sc-z-input:not(:disabled)+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkboxLabel.sc-z-input{cursor:pointer}.radioWrapper.sc-z-input .radioLabel.sc-z-input z-icon.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input z-icon.sc-z-input{fill:inherit;cursor:pointer}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input{flex-direction:row}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input{flex-direction:row-reverse}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.radioWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkboxLabel.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary);border-radius:var(--border-radius-small)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input{color:var(--color-disabled02)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input>z-icon.sc-z-input{fill:var(--color-disabled01);cursor:default}';const N=class{constructor(t){e(this,t),this.statusIcons={success:"checkmark-circle",error:"multiply-circled",warning:"exclamation-circle"}}render(){return n(o,{role:"alert","aria-label":this.message,tabindex:this.message?0:-1},this.statusIcons[this.status]&&this.message&&n("z-icon",{name:this.statusIcons[this.status]}),n("span",{innerHTML:this.message}))}};N.style=":host{display:flex;align-items:start;min-height:calc(var(--space-unit) * 2);margin-top:var(--space-unit);color:var(--color-text05);fill:currentColor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host([status='success']){color:var(--color-text-success)}:host([status='error']){color:var(--color-text-error)}:host([status='warning']){color:var(--color-warning02)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);margin:calc(var(--space-unit) / 3) var(--space-unit) 0 0}";const $=class{constructor(t){e(this,t),this.zLinkClick=r(this,"zLinkClick",7),this.target="_self",this.htmltabindex=0,this.isdisabled=!1,this.isactive=!1,this.iswhite=!1,this.textcolor="primary",this.big=!1,this.iconposition="left",this.underline=!1,this.iconSize=18,this.emitZLinkClick=this.emitZLinkClick.bind(this),this.emitZLinkInteraction=this.emitZLinkInteraction.bind(this)}componentWillRender(){this.iswhite&&console.warn("z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead"),this.big&&console.warn("z-link big prop is deprecated and will be dropped in a next release, please override --font-size-link and --font-weight-link variables instead")}emitZLinkClick(t,i){this.emitZLinkInteraction(t,i)}emitZLinkInteraction(t,i){this.zLinkClick.emit({e:t,linkId:i})}componentDidRender(){if(this.icon){const t=parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue("font-size")),i=this.big?18:Math.round(1.125*t);Number.isNaN(i)||this.iconSize===i||(this.iconSize=i)}}render(){return n(o,{style:this.big?{"--font-size-link":"16px","--font-weight-link":"600"}:{}},n("a",{id:this.htmlid,href:this.href?this.href:null,class:`${this.isdisabled?"disabled":""}\n ${this.isactive?"active":""}\n ${this.textcolor}\n ${this.iswhite?"white":""}\n ${this.underline?"underline":""}`,target:this.target,role:this.href?"link":"button",tabindex:this.isdisabled?-1:this.htmltabindex,onClick:t=>this.emitZLinkClick(t,this.htmlid)},"right"===this.iconposition&&n("slot",null),this.icon&&n("z-icon",{style:{"--z-icon-width":this.iconSize.toString(),"--z-icon-height":this.iconSize.toString()},name:this.icon,height:this.iconSize,width:this.iconSize}),"left"===this.iconposition&&n("slot",null)))}get hostElement(){return a(this)}};$.style=":host{--font-size-link:inherit;--font-weight-link:inherit}:host{font-family:var(--dashboard-font);font-weight:var(--font-weight-link);font-size:var(--font-size-link);line-height:inherit;outline:none}a{cursor:pointer;color:var(--color-link-primary);fill:var(--color-link-primary);display:inline-flex;align-items:center;text-decoration:none;padding:calc(var(--space-unit) * 0.5) 0;border-top:var(--border-size-medium) solid transparent;border-bottom:var(--border-size-medium) solid transparent}a:hover,a:focus,a:active{text-decoration:underline}a.active{color:var(--color-active-link);fill:var(--color-active-link)}a:hover,a:focus{color:var(--color-hover-link);fill:var(--color-hover-link)}a:active{color:var(--color-pressed-link);fill:var(--color-pressed-link)}a:visited{color:var(--color-visited-link);fill:var(--color-visited-link)}a.disabled,a.inverse.disabled{cursor:default;pointer-events:none;color:var(--color-disabled03);fill:var(--color-disabled03)}a.underline,a.underline:active,a.underline:hover,a.underline:visited,a.underline.disabled,a.underline.black,a.underline.white{text-decoration:underline}a.disabled,a.disabled:active,a.disabled:visited,a.disabled:hover{text-decoration:none}a.inverse{color:var(--color-inverse-link);fill:var(--color-inverse-link)}a.inverse.active{color:var(--color-inverse-active-link);fill:var(--color-inverse-active-link)}a.inverse:hover,a.inverse:focus{color:var(--color-inverse-hover-link);fill:var(--color-inverse-hover-link)}a.inverse:active{color:var(--color-inverse-pressed-link);fill:var(--color-inverse-pressed-link)}a.inverse:visited{color:var(--color-inverse-visited-link);fill:var(--color-inverse-visited-link)}a.black{color:var(--gray800);fill:var(--gray800);text-decoration:none}a.black:hover,a.black.active{color:var(--color-black);fill:var(--color-black)}a.black:visited{color:var(--gray800);fill:var(--gray800)}a.black:hover,a.black:focus,a.black:active{text-decoration:underline}a.black:active{color:var(--gray700);fill:var(--gray700)}a.white,a.white:active,a.white:hover,a.white.active{color:var(--bg-white);fill:var(--bg-white);text-decoration:none}a.white:visited{color:var(--bg-white);fill:var(--bg-white)}a.white:hover,a.white:focus,a.white:active{text-decoration:underline}a.white.disabled,a.black.disabled{color:var(--gray500);fill:var(--gray500)}a>z-icon:first-child{margin-right:8px}a>z-icon:last-child{margin-left:8px}";const U=class{constructor(t){e(this,t),this.modalClose=r(this,"modalClose",7),this.modalHeaderActive=r(this,"modalHeaderActive",7),this.modalBackgroundClick=r(this,"modalBackgroundClick",7),this.closeButtonLabel="close modal"}emitModalClose(){this.modalClose.emit({modalid:this.modalid})}emitModalHeaderActive(){this.modalHeaderActive.emit({modalid:this.modalid})}emitBackgroundClick(){this.modalBackgroundClick.emit({modalid:this.modalid})}render(){return[n("div",{class:"modal-container",id:this.modalid,role:"dialog"},n("header",{onClick:this.emitModalHeaderActive.bind(this)},n("div",null,this.modaltitle&&n("h1",null,this.modaltitle),this.modalsubtitle&&n("h2",null,this.modalsubtitle)),n("slot",{name:"modalCloseButton"},n("button",{"aria-label":this.closeButtonLabel,onClick:this.emitModalClose.bind(this)},n("z-icon",{name:"multiply-circle-filled"})))),n("div",{class:"modal-content"},n("slot",{name:"modalContent"}))),n("div",{class:"modal-background","data-action":"modalBackground","data-modal":this.modalid,onClick:this.emitBackgroundClick.bind(this)})]}};U.style=":host{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;display:flex;flex-direction:row;justify-content:center;width:100%;height:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.modal-background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}.modal-container{display:flex;flex-direction:column;z-index:1010;width:100%;height:100vh;overflow:-moz-scrollbars-none;overflow:hidden}.modal-container>header{display:flex;flex-wrap:nowrap;flex-direction:row;align-items:flex-start;justify-content:flex-start;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);background:var(--color-surface02)}.modal-container>header button{margin:0;padding:0;border:none;background:transparent;cursor:pointer;margin-left:auto}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 2.5);--z-icon-height:calc(var(--space-unit) * 2.5);display:flex;fill:var(--color-icon01)}.modal-container>header>div{display:flex;flex-direction:column;width:100%;margin-right:calc(var(--space-unit) * 2)}.modal-container>header h1,.modal-container>header h2{margin:0;padding:0;font-weight:var(--font-rg);color:var(--color-text01)}.modal-container>header h1{font-size:var(--font-size-5);line-height:1.4;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-3);line-height:1.5;letter-spacing:0}.modal-container>header>div *:empty{display:none}.modal-container>header h1+h2{margin-top:calc(var(--space-unit) * 0.5)}.modal-container>.modal-content{flex:1 auto;background:var(--color-surface01);overflow:auto;overflow-x:hidden}.modal-container .modal-content::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}.modal-container .modal-content::-webkit-scrollbar-track{background-color:transparent}.modal-container .modal-content::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--border-radius);width:10px}.modal-container .modal-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.modal-container .modal-content{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.modal-container{position:fixed;top:calc(var(--space-unit) * 6);left:50%;transform:translateX(-50%);width:auto;height:auto;min-width:calc(var(--space-unit) * 40);min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));border-radius:var(--border-radius)}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3)}}@media only screen and (min-width: 768px) and (max-width: 1151px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3)}}@media only screen and (min-width: 1152px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 4)}.modal-container>header h1{font-size:var(--font-size-6);line-height:1.33;letter-spacing:0}.modal-container>header h2{font-size:var(--font-size-4);line-height:1.5;letter-spacing:0}.modal-container>header h1+h2{margin-top:0}}";const P=class{constructor(t){e(this,t),this.variant="regular"}render(){const t=document.createElement(this.component||"span");return t.innerHTML="<slot />",this.hostElement.shadowRoot.appendChild(t),n(o,{class:{[this.level]:Boolean(this.level),regular:"regular"===this.variant,semibold:"semibold"===this.variant,light:"light"===this.variant}})}get hostElement(){return a(this)}};P.style=":host>*{font-family:var(--dashboard-font);margin:0}:host(.regular)>*{font-weight:var(--font-rg)}:host(.semibold)>*{font-weight:600}:host(.light)>*{font-weight:300}:host(.h1)>*{font-size:32px;line-height:40px}:host(.h2)>*{font-size:28px;line-height:36px}:host(.h3)>*{font-size:24px;line-height:32px}:host(.h4)>*{font-size:20px;line-height:28px}:host(.b1)>*{font-size:20px;line-height:28px}:host(.b2)>*{font-size:18px;line-height:28px}:host(.b3)>*{font-size:16px;line-height:24px}:host(.b4)>*{font-size:14px;line-height:20px}:host(.b5)>*{font-size:12px;line-height:16px}:host(:focus-visible){outline:none}";export{T as license_activation,j as license_activation_box,O as license_activation_form,M as license_activation_modal,_ as z_body,E as z_button,F as z_icon,D as z_info_box,R as z_input,N as z_input_message,$ as z_link,U as z_modal,P as z_typography}
@@ -1 +0,0 @@
1
- import{r as i,c as a,h as o,a as l}from"./p-0f55558e.js";import{m as s,B as n}from"./p-261611b1.js";const t=class{constructor(o){i(this,o),this.loginSubmit=a(this,"loginSubmit",7),this.statusUpdate=a(this,"statusUpdate",7),this.signupClick=a(this,"signupClick",7),this.zainoDigitaleClick=a(this,"zainoDigitaleClick",7),this.heading="Entra in MyZanichelli",this.externalProviderCheck=!1}componentDidLoad(){this.externalProviderCheck=!!this.hostElement.querySelectorAll('[slot="provider"]').length}emitLoginSubmit(){const i=this.hostElement.querySelector("z-input#username"),a=this.hostElement.querySelector("z-input#password");if(!i||!a)return;let o=i.value,l=a.value;o&&l?(o=this.cleanUsername(o),this.loginSubmit.emit({username:o,password:l,originalUsername:i.value})):this.status=s.error}emitStatusUpdate(i){this.statusUpdate.emit(i)}emitSignupClick(){this.signupClick.emit()}emitZainoDigitaleClick(){this.zainoDigitaleClick.emit()}handleInputKeyUp(i){"Enter"===i.code&&this.emitLoginSubmit()}handleInputChange(){this.status=null,this.emitStatusUpdate(this.status)}cleanUsername(i){return i=i.trim().toLowerCase(),/^[+]?[\s./0-9]*[(]?[0-9]{1,4}[)]?[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/g.test(i)&&(i=i.replace(/[- .)(]/g,""),/^[\d ]*$/.test(i)&&(i="+39"+i)),i}renderZainoDigitaleButton(){return o("z-button-deprecated",{variant:n.secondary,onClick:()=>this.emitZainoDigitaleClick(),class:"zainoDigitale"},o("div",{class:"zd"},o("svg",{width:"18px",height:"24px",viewBox:"0 0 18 24"},o("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},o("g",{transform:"translate(-313.000000, -329.000000)",fill:"#E2001A","fill-rule":"nonzero"},o("g",{transform:"translate(25.000000, 191.000000)"},o("g",null,o("g",{transform:"translate(0.000000, 100.000000)"},o("g",null,o("g",{transform:"translate(276.000000, 28.000000)"},o("path",{d:"M29.8953704,30.5632326 C29.9143039,30.3327754 29.5356326,30.0447041 29.1380277,29.8142469 C29.2516291,28.7963947 29.4409647,26.9719425 29.2705626,26.3189807 C29.0433598,25.416357 28.3428178,24.8018047 28.380685,23.822362 C28.4185521,22.8429193 28.1913493,16.5437582 27.0364017,15.1802202 C26.1654576,14.162368 25.4649156,12.8372396 23.4390239,12.2418921 C23.4390239,12.0498445 23.4390239,11.8770016 23.4200903,11.7425683 C23.3822232,10.9167637 21.9622056,10.090959 21.6214014,10.0525495 C21.2805972,10.01414 20.371786,9.95652568 20.0309818,10.0525495 C19.6901775,10.1293685 19.0464362,11.128016 18.7434992,11.4352922 C18.5920306,11.5889302 18.5541635,11.9538207 18.5730971,12.3187111 C17.437083,12.6836015 16.1306669,13.4325871 15.4490584,14.9497631 C14.2941108,17.676839 13.4799674,18.9251483 13.6693031,24.1680477 C13.5935688,25.1090809 13.2906318,25.6084046 13.1012961,25.6852237 C12.9119604,25.7620427 12.798359,25.9156808 12.7604919,26.1077284 C12.7226247,26.2805712 12.5522226,28.37389 12.7415583,29.8718612 C12.3818205,30.1023183 12.0788834,30.3519802 12.097817,30.5632326 C12.1546177,31.0625563 11.8516806,31.7731324 12.097817,32.0612038 C12.230352,32.2148419 12.7226247,32.5413228 13.3284989,32.8293942 C13.6125024,33.4631512 14.199443,33.9240655 15.467992,33.9816797 C18.1565586,34.0584988 26.2601254,33.8664512 26.5630625,33.9048607 C26.847066,33.9432702 28.4374857,34.0008845 28.683622,32.8293942 C29.2894962,32.5413228 29.781769,32.2148419 29.9143039,32.0612038 C30.1415067,31.7731324 29.8385697,31.0625563 29.8953704,30.5632326 Z M12.0319858,31.2 C12.1173988,31.1230769 12.3736379,31.0461538 12.743761,31 C12.857645,31.3230769 12.914587,31.6615385 13,32 C12.4021089,31.8153846 11.8611598,31.5692308 12.0319858,31.2 Z M21.1618497,12.8394441 C21.1618497,12.8394441 20.6763006,12.8165075 20,13 L20,12.9770634 C20,12.5642053 20.3121387,11.3256309 20.3988439,11.1192018 C20.4855491,10.9127728 21.265896,11.0274556 21.8554913,11.0733287 C22.6358382,11.0503922 22.4624277,11.2568212 22.8092486,11.9907912 C22.9306358,12.2889666 22.982659,12.6559516 23,13 C22.4797688,12.8623806 21.8728324,12.8165075 21.1618497,12.8394441 Z M28.3324094,30 C28.6648189,30.0833333 28.9085858,30.2222222 28.9750677,30.3888889 C29.1301921,31.1666667 28.5318551,31.6388889 28,32 C28.0221606,31.5 28.0664819,31.1111111 28.0664819,31.1111111 L28.2437669,30.6111111 L28.3324094,30 Z M21.8571429,23 L21.8571429,23.8 L22.7142857,23.8 L22.7142857,24.6 L23.5714286,24.6 L23.5714286,25.4 L24.4285714,25.4 L24.4285714,26.2 L25.2857143,26.2 L25.2857143,27 L26.1428571,27 L26.1428571,27.8 L27,27.8 L27,28.6 L24.4285714,28.6 L24.4285714,29.4 L25.2857143,29.4 L25.2857143,31 L24.4285714,31 L24.4285714,30.2 L23.5714286,30.2 L23.5714286,29.4 L22.7142857,29.4 L22.7142857,30.2 L21.8571429,30.2 L21.8571429,31 L21,31 L21,23 L21.8571429,23 Z"}))))))))),o("span",null,"ZAINO DIGITALE")))}render(){return o("z-modal",{modaltitle:this.heading},o("div",{class:"wrapper",slot:"modalContent"},o("form",{method:"post"},o("div",{class:"username"},o("slot",{name:"username"},o("z-input",{id:"username",label:"email o numero di cellulare",placeholder:"Inserisci l'email o il cellulare",autocomplete:"username",name:"username",status:this.status,message:this.message,onKeyUp:i=>this.handleInputKeyUp(i),onInputChange:()=>this.handleInputChange()}))),o("div",{class:"password"},o("slot",{name:"password"},o("z-input",{id:"password",label:"password",placeholder:"Inserisci la tua password",type:"password",name:"password",autocomplete:"current-password",status:this.status,message:this.pwdmessage,onKeyUp:i=>this.handleInputKeyUp(i),onInputChange:()=>this.handleInputChange()}))),o("z-link",{class:"forget",href:this.forgotPasswordUrl},"Password dimenticata?"),o("div",{class:"login"},o("slot",{name:"login"},o("z-button-deprecated",{variant:n.primary,onClick:()=>this.emitLoginSubmit()},"Accedi")))),o("hr",null),o("z-body",{class:"signup",level:4,variant:"semibold"},"Non hai ancora un account?"),o("div",{class:"signup"},o("slot",{name:"signup"},o("z-button-deprecated",{variant:n.secondary,onClick:()=>this.emitSignupClick()},"Registrati"))),!this.externalProviderCheck&&o("div",{class:"providers"},o("z-body",{class:"provider",level:5,variant:"regular"},"OPPURE ACCEDI CON:"),o("slot",{name:"provider"},this.renderZainoDigitaleButton(),o("z-link",{icon:"informationsource",href:"https://www.zainodigitale.it/#/landing"},"Cos'è Zaino Digitale?")))))}get hostElement(){return l(this)}};t.style='.sc-z-modal-login-h{font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login{color:var(--text-grey-800);padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 2)\n calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch}z-button-deprecated.sc-z-modal-login,z-input.sc-z-modal-login,.sc-z-modal-login-s>z-button-deprecated,.sc-z-modal-login-s>z-input{display:inline-block;width:100%}z-link.sc-z-modal-login,.sc-z-modal-login-s>z-link{font-size:12px}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch}div.wrapper>form>div.username.sc-z-modal-login-s>z-input,div.wrapper>form>div.password.sc-z-modal-login-s>z-input,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.username.sc-z-modal-login z-input.sc-z-modal-login,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.password.sc-z-modal-login z-input.sc-z-modal-login{margin-bottom:var(--space-unit)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>z-link.forget.sc-z-modal-login{font-size:12px;align-self:flex-end}div.wrapper>form>div.login.sc-z-modal-login-s>z-button-deprecated,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.login.sc-z-modal-login z-button-deprecated.sc-z-modal-login{margin:calc(var(--space-unit) * 3) 0;align-self:flex-start}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>hr.sc-z-modal-login{width:100%;margin-bottom:calc(var(--space-unit) * 3);border:none;border-top:var(--border-size-medium) solid var(--bg-grey-200);margin-block-start:unset}div.wrapper>div.signup.sc-z-modal-login-s>z-button-deprecated,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.signup.sc-z-modal-login z-button-deprecated.sc-z-modal-login{display:inline-block;margin:calc(var(--space-unit) * 2) 0}.sc-z-modal-login-h div.providers.sc-z-modal-login{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:calc(var(--space-unit) * 2) 0px}slot-fb[name="provider"].sc-z-modal-login{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:calc(var(--space-unit) * 2) 0px}.sc-z-modal-login-h div.providers.sc-z-modal-login>z-body.sc-z-modal-login{padding-top:calc(var(--space-unit) * 2)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.providers.sc-z-modal-login .zd.sc-z-modal-login{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.providers.sc-z-modal-login .zd.sc-z-modal-login>svg.sc-z-modal-login{margin-right:var(--space-unit)}@media only screen and (min-width: 768px){z-button-deprecated.sc-z-modal-login,.sc-z-modal-login-s>z-button-deprecated{width:initial}.sc-z-modal-login-h div.wrapper.sc-z-modal-login{width:396px;padding:calc(var(--space-unit) * 3)}.sc-z-modal-login-h div.providers.sc-z-modal-login{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:var(--space-unit);justify-content:center;align-items:center}.sc-z-modal-login-h div.providers.sc-z-modal-login>z-body.sc-z-modal-login{grid-column-start:1;grid-column-end:3;padding-bottom:var(--space-unit)}.sc-z-modal-login-s>[slot="provider"]{width:100%}slot-fb[name="provider"].sc-z-modal-login{grid-column-start:1;grid-column-end:3;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:var(--space-unit);justify-content:center;align-items:center}slot-fb[name="provider"].sc-z-modal-login>*.sc-z-modal-login{width:100%}}@media only screen and (min-width: 1366px){.sc-z-modal-login-h div.wrapper.sc-z-modal-login{width:477px;padding:calc(var(--space-unit) * 4)}}';export{t as z_modal_login}
@@ -1 +0,0 @@
1
- import{r,h as o}from"./p-0f55558e.js";const s=class{constructor(o){r(this,o)}render(){return o("div",{class:this.type},o("slot",null))}};s.style=":host{display:block;font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:14px;line-height:calc(var(--space-unit) * 2);color:var(--color-surface05);box-sizing:border-box}:host>div{padding:calc(var(--space-unit) * 2)}:host>.success{fill:var(--color-success01);background:var(--color-success-inverse)}:host>.warning{fill:var(--color-warning01);background:var(--color-warning-inverse)}:host>.error{fill:var(--color-error01);background:var(--color-error-inverse)}";export{s as z_alert}
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as o}from"./p-0f55558e.js";import{B as e,b as r}from"./p-261611b1.js";const a=class{constructor(o){i(this,o),this.creditsLinkClick=t(this,"creditsLinkClick",7),this.reportAProblemButtonClick=t(this,"reportAProblemButtonClick",7),this.creditsLinkId="creditsLinkId",this.emitReportAProblemButtonClick=this.emitReportAProblemButtonClick.bind(this)}componentWillLoad(){this.data&&(console.warn("z-footer: `data` prop is deprecated and will be removed in a future version. Use slots instead."),this.jsonData=JSON.parse(this.data))}zLinkClickListener(i){i.detail.linkId===this.creditsLinkId&&this.emitCreditsLinkClick()}emitCreditsLinkClick(){this.creditsLinkClick.emit()}emitReportAProblemButtonClick(){this.reportAProblemButtonClick.emit()}renderZLogo(){return o("z-logo",{link:"https://www.zanichelli.it",width:144,height:38,imageAlt:"Home Zanichelli",targetBlank:!0})}renderAddress(){return o("p",null,"Zanichelli editore S.p.A. via Irnerio 34, 40126 Bologna",o("br",null),"Fax 051 - 249.782 / 293.224 | Tel. 051 - 293.111 / 245.024",o("br",null),"Partita IVA 03978000374")}renderSocial(){return o("div",{class:"social"},o("slot",{name:"social"}),this.renderFooterSocialJsonData())}renderCopyright(){return o("p",null,"Copyright – 2018-",(new Date).getFullYear()," Zanichelli",o("span",null,"All rights reserved"))}renderCertification(){return o("p",null,"Zanichelli editore S.p.A. opera con sistema qualità certificato CertiCarGraf n. 477",o("br",null),"secondo la norma UNI EN ISO 9001:2015")}renderBottomLinks(){return o("div",{class:"item bottom-links"},o("slot",{name:"links"}),this.renderFooterBottomJsonData())}renderFooterBottom(){return o("section",{id:"bottom"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("div",{class:"item logo"},this.renderZLogo(),this.renderCopyright(),this.renderCertification()),o("div",{class:"item"},this.renderAddress(),this.renderSocial()),this.renderBottomLinks()))}renderFooterTop(){return o("section",{id:"top"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("slot",null),this.renderFooterTopJsonData()))}renderFooterProductInfo(){var i;if(this.productName||this.productVersion||null!=this.productCreditsLink||this.showReportAProblemButton){const t=`${this.productName?" versione":"Versione"} ${this.productVersion}`,a=o("z-body",{level:5},(this.productName||this.productVersion)&&" - ",o("z-link",{htmlid:this.creditsLinkId,href:null===(i=this.productCreditsLink)||void 0===i?void 0:i.trim(),target:"_blank",textcolor:"white"},"Credits"));return o("div",{id:"extension"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("span",null,this.productName&&o("z-body",{level:5,variant:"semibold"},this.productName),this.productVersion&&o("z-body",{level:5},t),null!=this.productCreditsLink&&a),this.showReportAProblemButton&&o("div",null,o("z-body",{level:5},"Hai bisogno di aiuto?"),o("z-button-deprecated",{variant:e["dark-bg"],size:r.small,onClick:this.emitReportAProblemButtonClick},"SEGNALA UN PROBLEMA")),o("z-divider",{color:"gray500"})))}}renderFooterTopJsonData(){if(!this.jsonData||!this.jsonData.zanichelliLinks)return null;const i=this.jsonData.zanichelliLinks;return this.jsonData.bottomLinks&&i.push({title:"Altre informazioni",items:this.jsonData.bottomLinks}),i.map((i=>o("z-footer-section",{name:i.title},i.items.map((i=>o("z-footer-link",{href:i.link},i.label))))))}renderFooterBottomJsonData(){return this.jsonData&&this.jsonData.bottomLinks?this.jsonData.bottomLinks.map((i=>o("z-footer-link",{href:i.link},i.label))):null}renderFooterSocialJsonData(){return this.jsonData&&this.jsonData.social?this.jsonData.social.map((i=>o("z-footer-social",{href:i.link,icon:i.icon,description:i.description}))):null}render(){return o("footer",null,this.renderFooterProductInfo(),this.renderFooterTop(),this.renderFooterBottom())}};a.style=":host{width:100%}footer{width:auto;height:auto;box-sizing:border-box;font-family:var(--font-family-sans);font-size:13px;padding:var(--space-unit) 0;background-color:var(--gray900);color:var(--gray50)}footer *{box-sizing:border-box}footer>section>div{display:grid}#top{padding:0 calc(var(--space-unit) * 2)}#bottom{width:auto;height:auto;margin:0;padding:0 calc(var(--space-unit) * 2);white-space:pre-line;font-size:12px}#bottom>div{display:grid;grid-template-columns:1fr}#bottom>div>div.item{display:flex;flex-direction:column;align-items:flex-start;grid-column:span 1;height:auto;width:auto;padding:calc(var(--space-unit) * 2) 0}#bottom>div>div.item:nth-child(1){order:2}#bottom>div>div.item:nth-child(2){order:1;border-bottom:1px solid var(--gray50)}#bottom>div>div.item>div.social{display:grid;grid-template-columns:repeat(5, 1fr);grid-template-rows:repeat(auto-fill, 24px);column-gap:12px;padding:0;margin-bottom:0px}#bottom>div>div.bottom-links{display:none}#bottom>div>div.item>p{margin:var(--space-unit) 0;padding:var(--space-unit) 0}#bottom>div>div.item>p:first-child{margin-top:0}#bottom>div>div.item>p:last-child{margin-bottom:0}#bottom>div>div.logo>p>span{display:block}#extension{padding:0 calc(var(--space-unit) * 2)}#extension>div{display:grid;grid-template-columns:1fr;grid-row-gap:var(--space-unit);align-items:center}#extension z-divider{margin-top:var(--space-unit)}#extension z-button-deprecated{margin-left:var(--space-unit)}div.limited-width{margin:auto;max-width:var(--mw)}@media only screen and (min-width: 768px){footer{padding:0}#top{background-color:var(--gray800);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3)}#top z-footer-section:last-child{display:none}#bottom{background-color:var(--gray900);padding:0 calc(var(--space-unit) * 3)}#bottom>div{grid-template-columns:repeat(4, 1fr);grid-column-gap:var(--grid-tablet-margin)}#bottom>div>div.item{margin:0}#bottom>div>div.item:nth-child(1){order:1}#bottom>div>div.item:nth-child(2){order:2;border-bottom:none}#bottom>div>div.item>p{padding-top:0}#bottom>div>div.logo>z-logo{width:auto;height:39px}#bottom>div>div.bottom-links{display:block;grid-column:span 2;order:3}#bottom>div>div.bottom-links{display:grid;grid-template-columns:repeat(2, 1fr);grid-template-rows:repeat(auto-fill, 24px);grid-column-gap:var(--grid-tablet-margin);font-size:12px}#extension{margin:auto;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3) 0;background-color:var(--gray800);color:white;grid-template-columns:1fr 1fr}#extension>div>div{text-align:end}#extension z-divider{grid-column:1 / span 2}}@media only screen and (min-width: 1152px){#top{width:100%}#top>div{grid-template-columns:repeat(6, 1fr);grid-column-gap:var(--grid-desktop-margin)}#bottom>div>div.item:nth-child(1)>p:nth-of-type(2){font-size:10px}#bottom>div>div.item>p{padding-bottom:0;margin-bottom:calc(var(--space-unit) * 2)}#bottom>div>div.item>div.social{margin-top:0}#bottom>div>div.bottom-links{padding:calc(var(--space-unit) * 2) 0 0 0}#bottom>div>div.bottom-links{grid-template-columns:repeat(3, 1fr);grid-column-gap:var(--grid-desktop-margin);margin:0}}@media only screen and (min-width: 1366px){#top{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}#bottom{padding:0 calc(var(--space-unit) * 4)}#extension{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4) 0}}";export{a as z_footer}
@@ -1 +0,0 @@
1
- import{r,h as t,a as e}from"./p-0f55558e.js";const o=class{constructor(t){r(this,t)}componentWillRender(){this.host.setAttribute("role","rowgroup")}render(){return t("slot",null)}get host(){return e(this)}};o.style=".sc-z-table-head-h{display:table-header-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";export{o as z_table_head}
@@ -1 +0,0 @@
1
- import{r as t,c as r,h as i}from"./p-0f55558e.js";import{t as o}from"./p-51431ace.js";const a=class{constructor(i){t(this,i),this.buttonSortClick=r(this,"buttonSortClick",7),this.sortlabelasc="A-Z",this.sortlabeldesc="Z-A",this.isselected=!1,this.sortasc=!0,this.allowTooltip=!1}emitButtonSortClick(){this.isselected?this.sortasc=!this.sortasc:this.isselected=!0,this.buttonSortClick.emit({buttonid:this.buttonid,sortAsc:this.sortasc})}componentDidLoad(){this.elementHasEllipsis()&&window.innerWidth>o&&(this.allowTooltip=!0)}setButtonTitle(){return this.allowTooltip?`${this.sortasc?this.label:this.desclabel}`:""}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}render(){return i("button",{title:this.setButtonTitle(),id:this.buttonid,class:this.isselected&&"selected",onClick:()=>this.emitButtonSortClick()},i("label",null,i("span",{ref:t=>this.ellipsis=t,class:"ellipsis"},!this.sortasc&&this.desclabel?this.desclabel:this.label),i("span",{class:"counter"},this.counter&&` (${this.counter})`),i("span",{class:"sort"},this.sortasc?this.sortlabelasc:this.sortlabeldesc),i("z-icon",{name:"caret-up-down",width:16,height:16})))}};a.style=":host,button{max-width:100%}button{height:36px;border:var(--border-size-medium) solid var(--myz-blue);border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);outline:none;padding:0 var(--space-unit);cursor:pointer}button::-moz-focus-inner{border:0}button:hover{border-color:var(--myz-blue-dark);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active{border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button.selected{border-color:var(--myz-blue-dark);background-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}button>label{cursor:pointer;font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;display:flex;align-items:center}button>label>span.ellipsis{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0;padding:0}button>label>span.counter{margin-left:calc(var(--space-unit) / 2);margin-right:calc(var(--space-unit) * 2)}button>label>span.sort{margin-right:var(--half-x1);white-space:nowrap}button>span{font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:14px;margin-right:calc(var(--space-unit) * 0.5)}button>z-icon{padding-top:calc(var(--space-unit) * 0.5)}@media only screen and (min-width: 768px){:host,button{max-width:325px}}@media only screen and (min-width: 1025px){:host,button{max-width:490px}}";export{a as z_button_sort}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as n}from"./p-0f55558e.js";import{B as i}from"./p-261611b1.js";const a=class{constructor(n){t(this,n),this.accept=e(this,"accept",7)}emitAccept(t){this.accept.emit({ev:t})}handleOkButtonClick(t){this.emitAccept(t),"function"==typeof this.callback&&this.callback()}handleOkButtonKeyUp(t){this.emitAccept(t),"Enter"===t.code&&void 0!==this.callback&&"function"==typeof this.callback&&this.callback()}renderContentSlot(){return n("div",{class:"content",slot:"content"},n("div",null,n("h2",null,"Su questo sito usiamo i cookie."),n("div",null,n("p",null,"Se continui a navigare ci permetti di farlo secondo le regole spiegate nella nostra informativa sulla privacy relativa ai  ",n("a",{href:this.cookiepolicyurl,target:"_blank"},"cookie"),"."))),n("z-button-deprecated",{variant:i.primary,onClick:t=>this.handleOkButtonClick(t),onKeyUp:t=>this.handleOkButtonKeyUp(t)},"ACCETTA"))}render(){return n("z-candybar",{class:this.hide?"hidden":""},this.renderContentSlot())}};a.style=":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}z-candybar.hidden{display:none}.content{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:space-between;color:var(--text-grey-800);border-radius:calc(var(--space-unit) * 0.5);font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}.content>div>h2{margin:0;padding:0;color:var(--text-grey-800);border-radius:0px;font-size:18px;font-weight:var(--font-sb);letter-spacing:0px}.content>div>div{padding:calc(var(--space-unit) * 3) 0;font-size:14px;letter-spacing:0.16px;line-height:20px}.content>div>div>p{margin:0}.content>div>div>p>a{cursor:pointer;font-weight:var(--font-sb);color:var(--text-grey-800);text-decoration:underline;height:14px;display:inline-flex}.content>div>div>p>a:visited{color:var(--text-grey-800);cursor:pointer;z-index:1000}.content>z-button-deprecated{margin:0;width:100%}@media only screen and (min-width: 768px){.content{width:100%;flex-direction:row;align-items:center;font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 3)}.content>div{width:560px}.content>div>h2{height:calc(var(--space-unit) * 3.5)}.content>div>div{padding:0}.content>z-button-deprecated{margin:0;width:initial}}@media only screen and (min-width: 1152px){.content>div{width:935px}}@media only screen and (min-width: 1366px){.content{padding-left:calc(var(--space-unit) * 4);padding-right:calc(var(--space-unit) * 4)}}";export{a as z_cookiebar}
@@ -1 +0,0 @@
1
- import{r as e,h as i,a as t}from"./p-0f55558e.js";import{B as n}from"./p-261611b1.js";import{m as a,t as r}from"./p-51431ace.js";const o=class{constructor(i){e(this,i),this.isMobile=!0,this.isMenuMobileOpen=!1,this.intMenuData=[],this.extMenuData=[],this.isLogged=!1}activeIntLinkChange(e){this.activeMenuItem=this.currentMenuItem=this.intMenuData.find((i=>i.id===e))}handleResize(){this.isMobile=window.innerWidth<=a}handleZListItemLinkClick(){this.isMenuMobileOpen=!1}handleZListItemClick(){this.isMenuMobileOpen=!1}componentWillLoad(){this.intlinkdata&&(this.intMenuData="string"==typeof this.intlinkdata?JSON.parse(this.intlinkdata):this.intlinkdata),this.activeMenuItem=this.currentMenuItem=this.intMenuData.find((e=>e.id===this.activeintlinkid)),this.extlinkdata&&(this.extMenuData="string"==typeof this.extlinkdata?JSON.parse(this.extlinkdata):this.extlinkdata),this.userdata&&(this.userData="string"==typeof this.userdata?JSON.parse(this.userdata):this.userdata,this.isLogged=this.userData.islogged),this.handleResize()}renderLogoDiv(){return i("div",{class:"logo"},i("z-logo",{link:this.logolink?this.logolink:null,"target-blank":!0,width:144,height:36,"image-alt":this.imagealt}))}renderIntMenu(e){if(this.isLogged&&this.ismyz)return i("div",{id:"link-int",class:"link-int"},e.map((e=>this.renderIntMenuItem(e))))}renderIntMenuItem(e){const{id:t,label:n,link:a}=e;return i("span",null,i("a",{href:a||null,id:t,class:"menu-item",onClick:()=>{this.activeMenuItem=this.currentMenuItem=e,this.activeintlinkid=e.id,e.subMenu&&this.handleToggleMobileMenuItem(e.id)},onMouseEnter:()=>{this.activeMenuItem=e},onMouseLeave:()=>{this.activeMenuItem=this.currentMenuItem},role:a?"link":"button",tabindex:this.getIntMenuItemTabindex(e)},i("span",null,n),e.subMenu?i("i",null):null),i("svg",{height:"8",width:"16",class:{hidden:!this.activeMenuItem||this.activeMenuItem.id!==t}},i("polygon",{points:"8,0 16,8 0,8",class:"arrow"})),this.isMobile&&this.renderMenuItemsData(e))}getIntMenuItemTabindex(e){return this.intMenuData.indexOf(e)+1}handleToggleMobileMenuItem(e){this.isMobile&&(this.element.shadowRoot.querySelector(`#${e}`).classList.toggle("isopen"),this.element.shadowRoot.querySelector("#mobile-dropdown-"+e).classList.toggle("visible"))}renderMenuItemsData(e){if(!e.subMenu)return null;const i=e.subMenu.map((e=>({id:e.id,text:e.label,link:e.link,listitemid:e.id})));return this.renderMobileSubMenu(i,e.id)}renderMobileSubMenu(e,t){return i("span",{class:"mobile-dropdown",id:t?`mobile-dropdown-${t}`:""},i("z-myz-list",{list:e}))}renderSubMenu(e){if(this.ismyz&&this.isLogged)return e&&e.subMenu?i("div",{id:"dropdown-menu",class:"dropdown-menu"},i("ul",{class:"dropdown-links"},e.subMenu.map((t=>i("li",null,i("a",{id:t.id,class:t.id===this.activesublinkid?"active":"",href:t.link?t.link:null,role:t.link?"link":"button",tabindex:this.getIntMenuItemTabindex(e)},t.label)))))):i("div",{id:"dropdown-menu",class:"dropdown-menu hidden"})}renderExtLinksIcons(e){const i=window.innerWidth>0?window.innerWidth:screen.width;return!(i>a&&i<r)&&{icon:e}}renderExtMenu(e){return this.isLogged?i("div",{id:"link-ext",class:"link-ext"},e.map((e=>{const{id:t,label:n,link:a,icon:r}=e;return i("span",{class:"link-ext-span"+(this.ismyz?" myz":"")},i("z-link",Object.assign({id:t,htmlid:t,href:a,iswhite:!!this.ismyz,target:"_blank",htmltabindex:10},this.renderExtLinksIcons(r)),n))}))):i("div",null)}renderLoginDiv(e){return i("div",{class:"login"},this.isLogged?i("z-menu-dropdown",{nomeutente:e.name,menucontent:JSON.stringify(e.userlinks)}):this.renderLoginButton())}renderLoginButton(){if(!this.hideloginbutton)return i("z-button-deprecated",{htmlid:"login-button",variant:this.ismyz?n.secondary:n.tertiary,icon:"login",issmall:!0},"entra")}renderMobileLoginDiv(e){return i("div",{id:"mobile-login",class:"mobile-login"},i("span",null,i("a",{class:"menu-item",id:"user-data",onClick:()=>this.handleToggleMobileMenuItem("user-data"),role:"button"},i("span",null,i("z-icon",{name:"user-avatar",height:16,width:16}),e.name),i("i",null)),this.renderUserData(e)))}renderUserData(e){if(this.isMobile&&!e)return null;const i=e.userlinks.map((e=>({text:e.label,link:e.link,icon:e.icon,listitemid:e.id})));return this.renderMobileSubMenu(i,"user-data")}renderDesktopHeader(){return i("header",{class:this.ismyz?"":"myz-out"},this.renderMainHeader(),this.renderSubMenu(this.activeMenuItem))}renderMainHeader(){return i("div",{id:"main-header",class:{"main-header":!0,"myz-out":!this.ismyz}},this.renderLogoDiv(),this.renderIntMenu(this.intMenuData),this.renderExtMenu(this.extMenuData),this.renderLoginDiv(this.userData))}renderMobileHeader(){return i("header",null,this.renderMobileMenu(),this.renderMobileMenuContent())}renderMobileMenu(){return i("div",{id:"mobile-header",class:"mobile-header"+(this.ismyz?"":" myz-out")},this.renderLogoDiv(),this.renderMobileMenuToggle())}renderMobileMenuToggle(){return this.isLogged?i("div",{class:"menu-mobile",id:"mobile-menu-wrapper",onClick:()=>this.isMenuMobileOpen=!this.isMenuMobileOpen},i("div",{class:"menu-toggle"+(this.isMenuMobileOpen?" is-active":""),id:"mobile-menu"},i("span",{class:"bar"}),i("span",{class:"bar"}),i("span",{class:"bar"})),i("span",null,"Menu")):this.renderLoginButton()}renderMobileMenuContent(){return this.isLogged?i("div",{id:"mobile-content",class:{"mobile-content":!0,open:this.isMenuMobileOpen,"myz-out":!this.ismyz}},this.renderMobileLoginDiv(this.userData),this.ismyz&&i("hr",null),this.renderIntMenu(this.intMenuData),i("hr",null),this.renderExtMenu(this.extMenuData)):null}render(){return this.isMobile?this.renderMobileHeader():this.renderDesktopHeader()}get element(){return t(this)}static get watchers(){return{activeintlinkid:["activeIntLinkChange"]}}};o.style=':host a{cursor:pointer}header{position:sticky;top:0;z-index:99;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:"main-header";margin-bottom:calc(var(--space-unit) * 6.5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}.main-header{display:grid;grid-template-columns:2fr 2fr 4fr 100px;grid-template-rows:1fr;grid-template-areas:"logo link-int link-ext login";grid-area:main-header;grid-column-gap:calc(var(--space-unit) * 0.5);align-items:center;background-color:var(--bg-grey-900);height:auto;align-items:center;z-index:10}.main-header.myz-out{background-color:var(--bg-white)}.logo{grid-area:logo;padding:6px}z-logo{transform:scale(0.9)}.dropdown-menu{display:none}.dropdown-menu.hidden{visibility:hidden}.dropdown-links{grid-area:dropdown-links;list-style:none;display:block;max-height:32px;margin:0;padding:0}.arrow{fill:var(--text-grey-200)}.dropdown-links>li{list-style:none;display:inline-block;margin:0;padding:0}.dropdown-links>li>a{width:auto;height:auto;color:var(--myz-blue);font-size:14px;letter-spacing:0.18px;line-height:32px;text-decoration:none;margin:var(--space-unit);padding-bottom:calc(var(--space-unit) * 0.5)}.dropdown-links>li>a:hover,.dropdown-links>li>a.active{color:var(--text-grey-800);border-bottom:2px solid var(--myz-blue)}.mobile-header{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);z-index:inherit;height:52px;position:fixed;top:0px;left:0;z-index:999}.mobile-header.myz-out{background-color:var(--bg-white)}.mobile-header>z-button-deprecated{margin:0 calc(var(--space-unit) * 2)}.mobile-content{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);position:fixed;top:52px;left:0;z-index:999;max-height:0px;overflow:hidden;transition:max-height 1s cubic-bezier(0.46, 0, 1, 0.79)}.mobile-content.open{max-height:100vh;transition:max-height 2s cubic-bezier(0, 0.79, 0.46, 1)}.mobile-content.myz-out{background-color:var(--bg-white)}hr{display:block;position:relative;padding:0;margin:0px calc(var(--space-unit) * 4);height:0;width:calc(100% - 64px);max-height:0;font-size:1px;line-height:0;clear:both;border:none;border-top:1px solid var(--text-grey-700)}.menu-mobile{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;color:var(--bg-white);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);cursor:pointer}.myz-out .menu-mobile{color:var(--text-grey-800)}.menu-toggle{grid-area:menu-toggle;display:flex;flex-direction:column;margin:0 var(--space-unit)}.menu-toggle .bar{width:20px;height:2px;background-color:var(--bg-white);margin:2px auto;transition:all 0.3s ease-in-out}.myz-out .menu-toggle .bar{background-color:var(--text-grey-800)}.menu-toggle:hover{cursor:pointer}#mobile-menu.is-active .bar:nth-child(2){opacity:0}#mobile-menu.is-active .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}#mobile-menu.is-active .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.booktab-button,.mobile-login{overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.hidden{visibility:hidden}.login{grid-area:login;display:flex;justify-content:flex-end;padding:0 calc(var(--space-unit) * 2)}.login>z-button-deprecated{color:var(--bg-white);fill:var(--bg-white)}.booktab-button>z-button-deprecated{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center;padding:calc(var(--space-unit) * 2) 0px calc(var(--space-unit) * 4) 0px}.link-ext{grid-area:link-ext;overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-ext-span{display:inline-block;width:100%;margin:calc(var(--space-unit) * 0.5) auto;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-ext-span.myz:hover,.link-ext-span.myz:focus{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-ext z-link{font-size:12px;font-weight:var(--font-sb)}.link-int{overflow:hidden;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-int>span{width:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}.link-int>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-int>span>.menu-item:hover,.link-int>span>.menu-item:focus{border-radius:0px}.link-int>span>.menu-item>span{white-space:nowrap}.link-int>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.link-int>span:first-child>.menu-item{margin-top:0}.link-int>span>svg{display:none}.link-int>.mobile-dropdown{padding:0 48px}.mobile-login>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start;fill:white}.mobile-login>span:focus,.mobile-login>span:hover{background:var(--text-grey-800)}.myz-out .mobile-login>span:focus,.myz-out .mobile-login>span:hover{background:none}.mobile-login>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.myz-out .mobile-login>span>.menu-item{color:var(--text-grey-800)}.mobile-login>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.mobile-login>span>.menu-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-login>span>.menu-item>span>z-icon{padding-right:var(--space-unit);fill:var(--bg-white)}.menu-item>i::before{border-style:solid;border-width:0.12em 0.12em 0 0;content:" ";display:inline-block;height:0.45em;left:0.16em;position:relative;top:-0.12em;transform:rotate(135deg) scale(1.2);vertical-align:top;width:0.45em;margin-top:2px;margin-left:2px;margin-right:6px;transition:all 0.5s ease}.menu-item.isopen>i::before{top:0.24em;transform:rotate(-45deg) scale(1.2);transition:all 0.5s ease}.mobile-dropdown{background:white;display:block;overflow:hidden;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px;max-height:0px;transition:max-height 0.3s ease}.mobile-dropdown.visible{max-height:100vh;transition:max-height 0.5s ease}@media only screen and (min-width: 768px){header{grid-template-columns:1fr 0.8fr 1.5fr 1.1fr 0.7fr;grid-template-rows:0.2fr auto;grid-template-areas:"main-header main-header main-header main-header main-header" "dropdown-menu dropdown-menu dropdown-menu dropdown-menu dropdown-menu";margin-bottom:0}header.myz-out{top:0px;grid-template-rows:1fr}.main-header{display:grid;grid-template-columns:170px auto auto 120px;grid-template-rows:1fr;grid-template-areas:"logo link-int link-ext login";grid-area:main-header}.dropdown-menu{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:"dropdown-links";grid-area:dropdown-menu;grid-column-gap:var(--space-unit);background:var(--bg-grey-200);height:32px;visibility:visible;z-index:9;padding-left:160px}.booktab-button,.mobile-header,.mobile-login,.mobile-dropdown,.menu-mobile{display:none}.link-int{grid-area:link-int;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;max-height:46px;margin-top:calc(var(--space-unit) * 0.5)}.link-int>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;width:auto}.link-int>span>.menu-item{width:auto;height:auto;color:var(--bg-white);letter-spacing:0.2px;line-height:14px;font-weight:var(--font-sb);text-decoration:none;outline:none;padding:calc(var(--space-unit) * 1.5)}.link-int>span>svg{display:block}.menu-item>i{display:none}.link-int>span>.menu-item:focus,.link-int>span>.menu-item:hover{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-int>span>.menu-item::-moz-focus-inner{border:0}.link-int>span>.menu-item:focus+svg{visibility:visible}.link-ext{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:center;align-content:center;max-height:46px}.link-ext-span{width:auto;line-height:14px;margin:var(--space-unit);padding:calc(var(--space-unit) * 0.5) var(--space-unit)}}@media only screen and (min-width: 1152px){.main-header{grid-template-columns:170px auto auto 180px}}';export{o as z_myz_topbar}
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as r}from"./p-0f55558e.js";import{n as i}from"./p-261611b1.js";const o=class{constructor(r){e(this,r),this.undoAction=t(this,"undoAction",7)}emitUndoAction(){this.undoAction.emit({actionType:this.type})}handleSpaceKeyPress(e){32!=e.keyCode&&13!=e.keyCode||(e.preventDefault(),this.emitUndoAction())}handleActionButtonClick(e){e.preventDefault(),this.emitUndoAction()}retrieveClass(){let e="";switch(this.type){case"add":e="addAlert";break;case"remove":e="removeAlert";break;default:e=""}return e}getAlertType(){switch(this.type){case"add":return i.success;case"remove":return i.warning;default:return null}}render(){return r("div",{class:"alert-external-wrapper "+this.retrieveClass()},r("z-alert",{type:this.getAlertType()},r("div",{class:"relativeContainer"},r("z-icon",{name:this.iconname,width:18,height:18,class:this.retrieveClass()}),r("span",{class:"contentText"},this.contenttext),this.actiontext&&!!this.actiontext.trim().length&&r("span",{role:"button",tabindex:"0",class:"contentAction",onClick:e=>{this.handleActionButtonClick(e)},onKeyPress:e=>{this.handleSpaceKeyPress(e)}},this.actiontext))))}};o.style=":host{position:absolute;font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%;top:0px;left:0px;z-index:2}:host>z-alert{height:calc(var(--space-unit) * 6)}.relativeContainer{position:relative;display:grid;grid-template-columns:18px auto 46px;grid-template-rows:1fr;grid-column-gap:var(--space-unit);align-items:center;padding:0;outline:none}.relativeContainer::-moz-focus-inner{border:0}.alert-external-wrapper.removeAlert{border:var(--border-size-medium) solid var(--color-surface02);border-top:none}:host div.addAlert{background:var(--color-success-inverse)}:host div.removeAlert{background:var(--color-warning-inverse)}:host div>.contentText{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.contentAction{color:var(--color-primary01);font-size:12px;font-weight:var(--font-sb);height:20px;letter-spacing:0.32px;line-height:20px;cursor:pointer}:host div>z-icon{justify-self:center}";export{o as z_myz_card_alert}
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as a}from"./p-0f55558e.js";import{N as n,p as o}from"./p-261611b1.js";import{i as e}from"./p-0b0179c7.js";const r=class{constructor(a){i(this,a),this.selectedEvent=t(this,"selected",7),this.selected=!1,this.disabled=!1,this.orientation=n.horizontal,this.size=o.big}scrollToTab({target:i}){i.scrollIntoView(Object.assign({behavior:"smooth"},this.orientation===n.horizontal?{block:"nearest",inline:"center"}:{block:"center",inline:"nearest"}))}onClick(){this.disabled||(this.selected=!0)}onSelected(){this.selected&&this.selectedEvent.emit()}renderIcon(){let i=this.icon;const t=`${i.replace(/-filled$/,"")}-filled`;return this.selected&&Object.keys(e).includes(t)&&(i=t),a("z-icon",{name:i})}render(){return a("button",{role:"tab",disabled:this.disabled,title:this.htmlTitle,onFocus:this.scrollToTab.bind(this)},this.icon&&this.renderIcon(),"horizontal"===this.orientation&&this.label)}static get watchers(){return{selected:["onSelected"]}}};r.style='z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentColor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{content:"";position:absolute;background-color:var(--color-hover-secondary)}z-navigation-tab[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[orientation="horizontal"][selected]>*::after,z-navigation-tab-link[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation="horizontal"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation="horizontal"] z-icon,z-navigation-tab-link[orientation="horizontal"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}z-navigation-tab[size="small"]>*,z-navigation-tab-link[size="small"]>*{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}z-navigation-tab[size="small"][orientation="horizontal"]>*,z-navigation-tab-link[size="small"][orientation="horizontal"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size="small"][orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[size="small"][orientation="horizontal"][selected]>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"]:hover>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size="small"]:not([orientation="vertical"]) z-icon,z-navigation-tab-link[size="small"]:not([orientation="vertical"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation="vertical"]>*,z-navigation-tab-link[orientation="vertical"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation="vertical"]:hover:not([disabled])>*::after,z-navigation-tab[orientation="vertical"][selected]>*::after,z-navigation-tab-link[orientation="vertical"]:hover>*::after,z-navigation-tab-link[orientation="vertical"][selected]>*::after{width:var(--border-size-large);height:100%;top:0;right:0}';export{r as z_navigation_tab}
@@ -1 +0,0 @@
1
- import{r as i,h as t,H as e}from"./p-0f55558e.js";import{T as n,c as a}from"./p-261611b1.js";import{m as s}from"./p-51431ace.js";const o=class{constructor(t){i(this,t),this.theme=n.dark,this.topbarLinks=[]}handleResize(){this.isMobile=window.innerWidth<=s}componentWillLoad(){this.isMobile=window.screen.width<=s||window.innerWidth<=s}componentWillRender(){this.topbarContent&&(this.topbarLinks="string"==typeof this.topbarContent?JSON.parse(this.topbarContent):this.topbarContent)}renderTopbarLinks(){return this.topbarLinks.map((i=>t("z-link",{htmlid:i.id,textcolor:this.theme===n.light?"black":"white",href:i.link,target:i.target,icon:this.isMobile?i.icon:void 0},!this.isMobile&&i.label)))}render(){return t(e,{class:{[this.theme]:!0,"limited-width":!!this.contentMaxWidth}},t("div",{id:"content-container",style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},t("div",{id:"left-panel",class:"content-panel"},t("z-logo",{mobileLogo:this.isMobile,width:this.isMobile?32:128,height:this.isMobile?40:32,imageAlt:"zanichelli-logo",link:this.logoLink,targetBlank:!0}),this.isMobile&&this.renderTopbarLinks()),t("div",{id:"right-panel",class:"content-panel"},!this.isMobile&&this.renderTopbarLinks(),this.showAppSwitcher&&t("z-app-switcher",{theme:this.theme}),t("div",{id:"divider-container"},t("z-divider",{orientation:a.vertical,color:this.theme===n.light?"gray800":"color-white"})),t("slot",{name:"login"}))))}};o.style=":host{display:block;position:sticky;box-sizing:border-box;top:0;height:calc(var(--space-unit) * 6);padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2);border-radius:var(--border-no-radius);background-color:var(--gray900);z-index:99}:host(.light){background-color:var(--color-white)}:host>div{display:flex;justify-content:space-between;align-items:center}:host(.limited-width) #content-container{margin:auto;max-width:var(--mw)}.content-panel{display:flex;align-items:center}.content-panel>:not(:last-child){margin-right:calc(var(--space-unit) * 2)}#divider-container{display:none}z-link{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}@media only screen and (min-width: 768px){:host{padding:var(--space-unit) calc(var(--space-unit) * 2) var(--space-unit) var(--space-unit)}:host(.limited-width){padding:var(--space-unit)}#divider-container{display:block;height:calc(var(--space-unit) * 3)}}";export{o as z_app_topbar}
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as l,H as a}from"./p-0f55558e.js";import{s as d}from"./p-261611b1.js";const r=class{constructor(l){e(this,l),this.expand=t(this,"expand",7),this.expandedType=d.none,this.expanded=!1}emitOnExpand(){this.expand.emit({expanded:this.expanded})}handleExpand(){this.expanded=!this.expanded,this.emitOnExpand()}renderExpandButton(){return l("z-table-cell",{style:{borderRight:"none"}},this.expandedType==d.expandable?l("z-icon",{name:this.expanded?"minus-circled":"plus-circled"}):l("div",{class:"z-icon-placeholder"}))}render(){return l(a,{role:"row",expanded:this.expanded,onClick:e=>{this.expandedType===d.expandable&&"Z-CONTEXTUAL-MENU"!==e.target.nodeName&&this.handleExpand()}},this.expandedType!==d.none&&this.renderExpandButton(),l("slot",null))}};r.style='z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type="expandable"]:hover{cursor:pointer}z-table-row[expanded-type="expandable"]>z-table-cell:first-child,z-table-row[expanded-type="padding"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;padding-left:16px;padding-right:0px;box-sizing:border-box;text-align:center;fill:var(--gray800);user-select:none}.z-icon-placeholder{width:24px;padding-right:0px}z-table-row[expanded-type="expandable"]>z-table-cell:nth-child(2),z-table-row[expanded-type="padding"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}z-table-row[expanded]>z-table-cell{border-bottom:none}';export{r as z_table_row}
@@ -1 +0,0 @@
1
- import{r as a,h as t,H as s,a as c}from"./p-0f55558e.js";import{c as e}from"./p-286363e2.js";import"./p-112455b1.js";const i=class{constructor(t){a(this,t),this.message="Siamo spiacenti, al momento non sono presenti dati da visualizzare.",this.subtitle=""}componentWillLoad(){this.hasCta1Slot=!!this.hostElement.querySelector('[slot="cta1"]'),this.hasCta2Slot=!!this.hostElement.querySelector('[slot="cta2"]')}render(){return t(s,null,t("z-body",{level:3,variant:"semibold"},this.message),t("br",null),!!this.subtitle&&t("z-body",{level:4,variant:"regular"},this.subtitle),(!!this.hasCta1Slot||!!this.hasCta2Slot)&&t("div",{class:e("cta",{has2Cta:!!this.hasCta1Slot&&!!this.hasCta2Slot})},t("slot",{name:"cta1"}),t("slot",{name:"cta2"})))}get hostElement(){return c(this)}};i.style=".sc-z-table-empty-box-h{display:block;padding:calc(var(--space-unit)) calc(var(--space-unit) * 3)\n calc(var(--space-unit) * 3) calc(var(--space-unit) * 3);background-color:var(--bg-white)}.sc-z-table-empty-box-s>*{margin-top:var(--space-unit)}.cta.sc-z-table-empty-box{display:flex;flex-direction:row;margin-top:calc(var(--space-unit) / 2)}.cta.has2Cta.sc-z-table-empty-box{flex-direction:column}@media only screen and (min-width: 768px){.sc-z-table-empty-box-h{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 7)\n calc(var(--space-unit) * 3) calc(var(--space-unit) * 7)}.sc-z-table-empty-box-s>*{margin-right:calc(var(--space-unit) * 2)}.cta.sc-z-table-empty-box{margin-top:var(--space-unit)}.cta.has2Cta.sc-z-table-empty-box{flex-direction:row}}";export{i as z_table_empty_box}
@@ -1 +0,0 @@
1
- import{r as o,c as e,h as r,H as t}from"./p-0f55558e.js";import{c as p}from"./p-286363e2.js";import{P as a,G as n,H as s,F as c}from"./p-261611b1.js";import{a as i}from"./p-91a4ef35.js";import"./p-112455b1.js";import"./p-51431ace.js";const v=class{constructor(r){o(this,r),this.triggerClick=e(this,"triggerClick",7),this.position=a["after-up"],this.backgroundColor="color-white",this.borderRadius=n.small,this.boxShadow=s["shadow-1"],this.showArrow=!1,this.padding="8px",this.isVisible=!1,this.popoverPosition=this.position,this.handleKeyDown=this.handleKeyDown.bind(this)}emitTriggerClick(){this.triggerClick.emit({isVisible:this.isVisible})}openPopover(){const o=document.body.clientWidth,e=window.innerHeight,r=this.popoverElem.getBoundingClientRect(),t=r.left,p=r.right,n=r.top,s=r.bottom;let c=this.position.split("-")[0],i=this.position.split("-")[1];n<0&&(this.position.startsWith("above")?c="below":i="down"),s>e&&(this.position.startsWith("below")?c="above":i="up"),p>o&&(this.position.startsWith("above")||this.position.startsWith("below")?i="left":c="before"),t<0&&(this.position.startsWith("above")||this.position.startsWith("below")?i="right":c="after"),this.popoverPosition=a[`${c}-${i}`],this.isVisible=!0}closePopover(){this.popoverPosition=this.position,this.isVisible=!1}closePopoverWithKeyboard(o){o.key===c.ESC&&this.closePopover()}handleClick(o){this.isVisible?this.closePopover():this.openPopover(),this.emitTriggerClick(),o.stopPropagation()}handleKeyDown(o){o.code===c.ENTER&&(this.isVisible?this.closePopover():this.openPopover())}handleOutsideClick(o){i(o.target).find((o=>"z-popover"===o.nodeName.toLowerCase()))||this.closePopover()}render(){return r(t,{onKeyDown:this.handleKeyDown},r("div",{tabindex:"0",onClick:o=>this.handleClick(o),onKeyDown:o=>{o.key===c.ENTER&&this.handleClick(o)}},r("slot",{name:"trigger"})),r("div",{ref:o=>this.popoverElem=o,class:p("popover-content-container",this.popoverPosition,`border-radius-${this.borderRadius}`,this.boxShadow,{"show-arrow":this.showArrow},{visible:this.isVisible}),style:{backgroundColor:`var(--${this.backgroundColor})`,padding:this.padding}},r("slot",{name:"popover"})))}};v.style='.sc-z-popover-h{font-family:var(--dashboard-font);font-weight:var(--font-rg);position:relative;display:inline-block;--shadow-arrow-color:rgba(66, 69, 72, 0.2);--shadow-arrow-below-color:rgba(66, 69, 72, 0.1)}.popover-content-container.sc-z-popover{box-sizing:border-box;visibility:hidden;position:absolute;min-width:64px;min-height:32px;z-index:999}.popover-content-container.visible.sc-z-popover{visibility:visible}.popover-content-container.border-radius-none.sc-z-popover{border-radius:0}.popover-content-container.border-radius-small.sc-z-popover{border-radius:var(--border-radius-small)}.popover-content-container.border-radius-medium.sc-z-popover{border-radius:var(--border-radius)}.popover-content-container.shadow-1.sc-z-popover{box-shadow:var(--shadow-1)}.popover-content-container.shadow-2.sc-z-popover{box-shadow:var(--shadow-2)}.popover-content-container.shadow-3.sc-z-popover{box-shadow:var(--shadow-3)}.popover-content-container.shadow-4.sc-z-popover{box-shadow:var(--shadow-4)}.popover-content-container.shadow-6.sc-z-popover{box-shadow:var(--shadow-6)}.popover-content-container.shadow-8.sc-z-popover{box-shadow:var(--shadow-8)}.popover-content-container.shadow-12.sc-z-popover{box-shadow:var(--shadow-12)}.popover-content-container.shadow-16.sc-z-popover{box-shadow:var(--shadow-16)}.popover-content-container.shadow-24.sc-z-popover{box-shadow:var(--shadow-24)}.popover-content-container.after-down.sc-z-popover{top:0;left:calc(100% + var(--space-unit))}.popover-content-container.after-center.sc-z-popover{top:50%;left:calc(100% + var(--space-unit));transform:translateY(-50%)}.popover-content-container.after-up.sc-z-popover{bottom:0;left:calc(100% + var(--space-unit))}.popover-content-container.below-right.sc-z-popover{left:0;top:calc(100% + var(--space-unit))}.popover-content-container.below-center.sc-z-popover{left:50%;top:calc(100% + var(--space-unit));transform:translateX(-50%)}.popover-content-container.below-left.sc-z-popover{right:0;top:calc(100% + var(--space-unit))}.popover-content-container.before-down.sc-z-popover{top:0;right:calc(100% + var(--space-unit))}.popover-content-container.before-center.sc-z-popover{top:50%;right:calc(100% + var(--space-unit));transform:translateY(-50%)}.popover-content-container.before-up.sc-z-popover{bottom:0;right:calc(100% + var(--space-unit))}.popover-content-container.above-right.sc-z-popover{left:0;bottom:calc(100% + var(--space-unit))}.popover-content-container.above-center.sc-z-popover{left:50%;bottom:calc(100% + var(--space-unit));transform:translateX(-50%)}.popover-content-container.above-left.sc-z-popover{right:0;bottom:calc(100% + var(--space-unit))}.popover-content-container.sc-z-popover:before{display:none;position:absolute;content:"";width:8px;height:8px;z-index:-1;background-color:inherit;transform:rotate(45deg)}.popover-content-container.after-down.sc-z-popover:before{top:12px;left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.after-center.sc-z-popover:before{top:calc(50% - 4px);left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.after-up.sc-z-popover:before{bottom:12px;left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.below-right.sc-z-popover:before{left:12px;top:-4px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.below-center.sc-z-popover:before{left:calc(50% - 4px);top:-4px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.below-left.sc-z-popover:before{right:12px;top:-4px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.before-down.sc-z-popover:before{top:12px;right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.before-center.sc-z-popover:before{top:calc(50% - 4px);right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.before-up.sc-z-popover:before{bottom:12px;right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-right.sc-z-popover:before{left:12px;bottom:-4px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-center.sc-z-popover:before{left:calc(50% - 4px);bottom:-4px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-left.sc-z-popover:before{right:12px;bottom:-4px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.show-arrow.sc-z-popover:before{display:block}';export{v as z_popover}
@@ -1 +0,0 @@
1
- import{r as t,h as i,H as o,a as n}from"./p-0f55558e.js";import{N as s,p as e}from"./p-261611b1.js";const a=class{constructor(i){t(this,i),this.orientation=s.horizontal,this.size=e.big}get direction(){return this.orientation==s.horizontal?"Left":"Top"}get dimension(){return this.orientation==s.horizontal?"Width":"Height"}setChildrenSize(){Array.from(this.host.children).forEach((t=>{t.setAttribute("size",this.size)}))}setChildrenOrientation(){Array.from(this.host.children).forEach((t=>{t.setAttribute("orientation",this.orientation)}))}checkScrollVisible(){this.tabsNav&&(this.canNavigate=this.tabsNav[`scroll${this.dimension}`]>this.tabsNav[`client${this.dimension}`])}checkScrollEnabled(){this.tabsNav&&(this.canNavigateNext=this.tabsNav[`scroll${this.direction}`]+this.tabsNav[`client${this.dimension}`]<this.tabsNav[`scroll${this.dimension}`],this.canNavigatePrev=this.tabsNav[`scroll${this.direction}`]>0)}onTabSelected(t){const i=t.target;Array.from(this.host.children).forEach((t=>{t!==i&&t.removeAttribute("selected")}))}navigateBackwards(){this.tabsNav.scrollBy({[this.direction.toLowerCase()]:0-this.tabsNav[`client${this.dimension}`]/2,behavior:"smooth"})}navigateForward(){this.tabsNav.scrollBy({[this.direction.toLowerCase()]:this.tabsNav[`scroll${this.direction}`]+this.tabsNav[`client${this.dimension}`]/2,behavior:"smooth"})}componentDidRender(){this.setChildrenSize(),this.setChildrenOrientation(),this.checkScrollVisible()}render(){return i(o,{class:{"interactive-2":this.size===e.small,"interactive-1":this.size!==e.small},scrollable:this.canNavigate},this.canNavigate&&i("button",{class:"navigation-button",onClick:this.navigateBackwards.bind(this),tabindex:"-1",disabled:!this.canNavigatePrev},i("z-icon",{name:this.orientation==s.horizontal?"chevron-left":"chevron-up",width:16,height:16})),i("nav",{role:"tablist",ref:t=>this.tabsNav=null!=t?t:this.tabsNav,onScroll:this.checkScrollEnabled.bind(this)},i("slot",null)),this.canNavigate&&i("button",{class:"navigation-button",onClick:this.navigateForward.bind(this),tabindex:"-1",disabled:!this.canNavigateNext},i("z-icon",{name:this.orientation==s.horizontal?"chevron-right":"chevron-down",width:16,height:16})))}get host(){return n(this)}static get watchers(){return{size:["setChildrenSize"],orientation:["setChildrenOrientation"],canNavigate:["checkScrollEnabled"]}}};a.style=":host{position:relative;display:flex;flex-direction:row;z-index:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}.navigation-button{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:var(--color-white);border:none;outline:none;fill:var(--color-primary01);border-radius:var(--border-no-radius);cursor:pointer;z-index:1;box-shadow:0px 0px 4px 1px rgb(66, 69, 72, 0.40)}.navigation-button:focus:focus-visible{fill:var(--color-primary01);box-shadow:inset var(--shadow-focus-primary)}.navigation-button:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;scroll-behavior:smooth;scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) .navigation-button{top:0;height:100%;width:calc(var(--space-unit) * 4)}:host([orientation='horizontal']) .navigation-button:first-child{left:0}:host([orientation='horizontal']) .navigation-button:last-child{right:0}:host([orientation='vertical']){flex-direction:column;width:fit-content}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}:host([orientation='vertical']) .navigation-button:first-child{top:0}:host([orientation='vertical']) .navigation-button:last-child{bottom:0}:host([size='small'][orientation='vertical']) .navigation-button{height:calc(var(--space-unit) * 4)}";export{a as z_navigation_tabs}
@@ -1 +0,0 @@
1
- import{r as s,h as t}from"./p-0f55558e.js";const l=class{constructor(t){s(this,t),this.ghostLoadingHeight=100}render(){return this.isLoading?t("div",{style:{height:`${this.ghostLoadingHeight}px`}},t("z-ghost-loading",null),t("div",{style:{display:"none"}},t("slot",null))):t("ul",{class:"z-carousel-items-container"},t("slot",null))}};l.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-carousel-gutter:0}.z-carousel-items-container{display:flex;overflow-x:scroll;padding-inline-start:0;margin:0;list-style:none;-ms-overflow-style:none;scrollbar-width:none;}.z-carousel-items-container::-webkit-scrollbar{display:none}.z-carousel-items-container>*:not(:last-child){margin-right:var(--z-carousel-gutter)}";export{l as z_carousel}
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as r,H as o}from"./p-0f55558e.js";import{m as e}from"./p-51431ace.js";const n=class{constructor(r){i(this,r),this.userButtonClick=t(this,"userButtonClick",7),this.dropdownMenuLinkClick=t(this,"dropdownMenuLinkClick",7),this.useInverseColors=!1,this.isMenuOpen=!1,this.handleLoggedButtonClick=this.handleLoggedButtonClick.bind(this),this.emitDropdownMenuLinkClick=this.emitDropdownMenuLinkClick.bind(this)}componentDidLoad(){this.setMobileAndDivToResizeWidth()}componentWillUpdate(){this.setMobileAndDivToResizeWidth()}componentWillRender(){this.menuContent&&(this.linkArray="string"==typeof this.menuContent?JSON.parse(this.menuContent):this.menuContent)}setMobileAndDivToResizeWidth(){var i;this.divToResize&&(this.isMobile=window.screen.width<=e||window.innerWidth<=e,this.logged&&!this.isMobile&&this.isMenuOpen?this.divToResize.style.width=`${null===(i=this.userButton)||void 0===i?void 0:i.offsetWidth}px`:this.divToResize.removeAttribute("style"))}emitUserButtonClick(){this.userButtonClick.emit(this.isMenuOpen)}emitDropdownMenuLinkClick(i){this.isMenuOpen=!1,this.dropdownMenuLinkClick.emit({e:i,linkId:i.detail.linkId})}handleResize(){this.isMobile=window.innerWidth<=e}handleOrientationChange(){this.isMobile=screen.width<=e}handleClickOutside(i){"Z-USER-DROPDOWN"!==i.target.nodeName&&(this.isMenuOpen=!1)}handleLoggedButtonClick(){this.isMenuOpen=!this.isMenuOpen,this.emitUserButtonClick()}renderGuestButton(){return r("button",{id:"guestbutton",class:this.useInverseColors?"inverse":"",onClick:()=>this.emitUserButtonClick()},"ENTRA")}renderLoggedButton(){const i=this.isMenuOpen?"up":"down",t=this.useInverseColors?"inverse":"";return r("button",{ref:i=>this.userButton=i,title:this.userFullName,class:`${t} ${this.isMenuOpen?"open":""}`,onClick:this.handleLoggedButtonClick},r("div",null,r("div",{class:"firstline"},r("z-icon",{class:t,name:"user-avatar-filled",height:16,width:16}),!this.isMobile&&r("div",{class:`userfullname ${t}`},this.userFullName),r("z-icon",{class:t,name:`caret-${i}-filled`,height:16,width:16})),!this.isMobile&&this.isMenuOpen&&r("div",{class:`useremail ${t}`},this.userEmail)))}getZLinkTextcolor(){return this.isMobile?this.useInverseColors?"black":"white":this.useInverseColors?"white":"black"}renderDropdownMenu(){const i=this.useInverseColors?"inverse":"";return this.isMenuOpen&&r("ul",{class:i},this.isMobile&&r("li",{class:i},r("div",{class:`userfullname ${i}`},this.userFullName),r("div",{class:`useremail ${i}`},this.userEmail)),this.linkArray&&this.linkArray.map((t=>r("li",{id:t.id,class:i},r("z-link",{textcolor:this.getZLinkTextcolor(),href:t.link,htmlid:t.id,target:t.target,icon:t.icon,onZLinkClick:this.emitDropdownMenuLinkClick},t.label)))))}render(){const i=this.logged&&this.isMenuOpen?"open":"",t=this.useInverseColors?"inverse":"";return r(o,{class:t},r("div",{ref:i=>this.divToResize=i,class:i},r("div",{class:`${t} ${i}`},this.logged?this.renderLoggedButton():this.renderGuestButton(),this.logged&&this.renderDropdownMenu())))}};n.style=":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{cursor:pointer;display:flex;flex-direction:column;width:100%;margin:0;background-color:var(--gray900);border:none;padding:0;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;justify-content:flex-end;align-items:center;max-width:200px}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{box-sizing:border-box;position:absolute;left:0;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);width:100%;margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;white-space:nowrap;padding:calc(var(--space-unit) * 1.5 - 1px) 0;margin:0;border-bottom:var(--border-base) solid var(--gray700)}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{border-top:none;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);flex-direction:column;align-items:end}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);vertical-align:middle;text-transform:uppercase;text-decoration:none;cursor:pointer;outline:none;fill:currentColor;height:32px;min-width:32px;padding:0 calc(var(--space-unit) * 2);background-color:var(--color-white);border-color:var(--color-white);color:var(--gray800)}#guestbutton.inverse{background-color:var(--gray800);border-color:var(--gray800);color:var(--color-white)}.userfullname{padding:0;overflow:hidden;max-width:250px;text-overflow:ellipsis;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:16px;line-height:24px;letter-spacing:0;text-align:right}.userfullname.inverse{color:var(--gray800)}.useremail{color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:12px;line-height:16px;letter-spacing:0.32px;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:right}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);box-shadow:0px 2px calc(var(--space-unit) * .5) 0px rgba(0, 0, 0, 0.5);background-color:var(--color-white);margin-top:calc(var(--space-unit) / 2);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:end;align-content:center}button.open{background-color:var(--color-white);border-top:var(--border-size-small) solid var(--color-white);border-top-left-radius:calc(var(--space-unit) * .5);border-top-right-radius:calc(var(--space-unit) * .5);max-width:initial;margin-left:var(--space-unit);padding-right:var(--space-unit)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.16px;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);width:auto}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{color:var(--gray800);max-width:none;text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{padding-right:calc(var(--space-unit) * 3 - 2px);box-sizing:border-box}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;padding:0;width:100%;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{color:var(--gray800);border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{border-top:var(--border-base) solid var(--gray400);padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px)}}";export{n as z_user_dropdown}
@@ -1 +0,0 @@
1
- import{r as t,h as r}from"./p-0f55558e.js";const e=class{constructor(r){t(this,r)}render(){return r("slot",null)}};e.style=":host{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:0 -1px -1px 0;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}";export{e as z_visually_hidden}
@@ -1 +0,0 @@
1
- import{r as a,h as t,H as i}from"./p-0f55558e.js";const r=class{constructor(t){a(this,t)}render(){return t(i,{class:{"body-5-sb":!0,expandable:this.expandable&&!!this.icon}},this.icon&&t("z-icon",{name:this.icon}),t("div",null,t("slot",null)))}};r.style=".sc-z-tag-h{--z-icon-width:14px;--z-icon-height:14px;--z-tag-text-color:var(--color-primary03);--z-tag-bg:var(--color-hover-primary);font-family:var(--font-family-sans);border-radius:var(--border-radius);padding:calc(var(--space-unit) / 2);text-transform:uppercase;display:flex;width:fit-content;height:fit-content;max-width:inherit;max-height:inherit;color:var(--z-tag-text-color);fill:var(--z-tag-text-color);background-color:var(--z-tag-bg);line-height:14px}.sc-z-tag-h>z-icon.sc-z-tag{margin-right:var(--space-unit)}.expandable.sc-z-tag-h>z-icon.sc-z-tag{margin-right:0;transition:margin-right 0.3s ease-out}.sc-z-tag-h:not(.expandable)>z-icon.sc-z-tag:not(:last-child),.expandable.sc-z-tag-h:hover>z-icon.sc-z-tag:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}.expandable.sc-z-tag-h>div.sc-z-tag{max-width:0;max-height:0;overflow:hidden}.expandable.sc-z-tag-h:hover>div.sc-z-tag{max-width:100%;max-height:100%}";export{r as z_tag}