@itcenteratunihelsinki/huds-lib 0.8.56 → 0.8.58

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 (464) hide show
  1. package/components/hy-footer-base.js +1 -1
  2. package/components/hy-footer-base.js.map +1 -1
  3. package/components/hy-footer-info.js +1 -1
  4. package/components/hy-footer-info.js.map +1 -1
  5. package/components/hy-footer-link-item2.js +1 -1
  6. package/components/hy-footer-link-item2.js.map +1 -1
  7. package/components/hy-hero-carousel.js +41 -17
  8. package/components/hy-hero-carousel.js.map +1 -1
  9. package/components/hy-hero.js +1 -1
  10. package/components/hy-hero.js.map +1 -1
  11. package/components/hy-key-highlight2.js +1 -1
  12. package/components/hy-key-highlight2.js.map +1 -1
  13. package/components/hy-shortcuts.js +1 -1
  14. package/components/hy-shortcuts.js.map +1 -1
  15. package/components/hy-site-header.js +1 -1
  16. package/components/hy-site-header.js.map +1 -1
  17. package/components/hy-tabs2.js +1 -1
  18. package/components/hy-tabs2.js.map +1 -1
  19. package/components/hy-video.js +1 -1
  20. package/components/hy-video.js.map +1 -1
  21. package/components/link-box.js +1 -1
  22. package/components/link-box.js.map +1 -1
  23. package/components/process-flow-box.js +1 -1
  24. package/components/process-flow-box.js.map +1 -1
  25. package/dist/cjs/color-box_7.cjs.entry.js +177 -0
  26. package/dist/cjs/color-box_7.cjs.entry.js.map +1 -0
  27. package/dist/cjs/emotion.esm-aef96835.js +1399 -0
  28. package/dist/cjs/emotion.esm-aef96835.js.map +1 -0
  29. package/dist/cjs/{globalScript-d341436f.js → globalScript-9994473d.js} +2 -2
  30. package/dist/cjs/{globalScript-d341436f.js.map → globalScript-9994473d.js.map} +1 -1
  31. package/dist/cjs/huds-lib.cjs.js +4 -4
  32. package/dist/cjs/huds-lib.cjs.js.map +1 -1
  33. package/dist/cjs/hy-accordion-container_2.cjs.entry.js +243 -0
  34. package/dist/cjs/hy-accordion-container_2.cjs.entry.js.map +1 -0
  35. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +61 -0
  36. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js.map +1 -0
  37. package/dist/cjs/hy-anchor-link-list.cjs.entry.js +53 -0
  38. package/dist/cjs/hy-anchor-link-list.cjs.entry.js.map +1 -0
  39. package/dist/cjs/hy-badge.cjs.entry.js +23 -0
  40. package/dist/cjs/hy-badge.cjs.entry.js.map +1 -0
  41. package/dist/cjs/hy-banner.cjs.entry.js +51 -0
  42. package/dist/cjs/hy-banner.cjs.entry.js.map +1 -0
  43. package/dist/cjs/hy-box.cjs.entry.js +169 -0
  44. package/dist/cjs/hy-box.cjs.entry.js.map +1 -0
  45. package/dist/cjs/hy-breadcrumbs_16.cjs.entry.js +1027 -0
  46. package/dist/cjs/hy-breadcrumbs_16.cjs.entry.js.map +1 -0
  47. package/dist/cjs/hy-checkbox.cjs.entry.js +32 -0
  48. package/dist/cjs/hy-checkbox.cjs.entry.js.map +1 -0
  49. package/dist/cjs/hy-collaboration.cjs.entry.js +26 -0
  50. package/dist/cjs/hy-collaboration.cjs.entry.js.map +1 -0
  51. package/dist/cjs/hy-content-list_2.cjs.entry.js +180 -0
  52. package/dist/cjs/hy-content-list_2.cjs.entry.js.map +1 -0
  53. package/dist/cjs/hy-crisis-banner.cjs.entry.js +25 -0
  54. package/dist/cjs/hy-crisis-banner.cjs.entry.js.map +1 -0
  55. package/dist/cjs/hy-cta-button.cjs.entry.js +35 -0
  56. package/dist/cjs/hy-cta-button.cjs.entry.js.map +1 -0
  57. package/dist/cjs/hy-cta-link.cjs.entry.js +30 -0
  58. package/dist/cjs/hy-cta-link.cjs.entry.js.map +1 -0
  59. package/dist/cjs/hy-dropdown_3.cjs.entry.js +141 -0
  60. package/dist/cjs/hy-dropdown_3.cjs.entry.js.map +1 -0
  61. package/dist/cjs/hy-event-item.cjs.entry.js +1 -1
  62. package/dist/cjs/hy-events.cjs.entry.js +1 -1
  63. package/dist/cjs/hy-filter-group_6.cjs.entry.js +116 -0
  64. package/dist/cjs/hy-filter-group_6.cjs.entry.js.map +1 -0
  65. package/dist/cjs/hy-general-list_2.cjs.entry.js +103 -0
  66. package/dist/cjs/hy-general-list_2.cjs.entry.js.map +1 -0
  67. package/dist/cjs/hy-grid-container_3.cjs.entry.js +61 -0
  68. package/dist/cjs/hy-grid-container_3.cjs.entry.js.map +1 -0
  69. package/dist/cjs/hy-hero-carousel.cjs.entry.js +43 -19
  70. package/dist/cjs/hy-hero-carousel.cjs.entry.js.map +1 -1
  71. package/dist/cjs/hy-hero.cjs.entry.js +112 -0
  72. package/dist/cjs/hy-hero.cjs.entry.js.map +1 -0
  73. package/dist/cjs/hy-icon.cjs.entry.js +818 -0
  74. package/dist/cjs/hy-icon.cjs.entry.js.map +1 -0
  75. package/dist/cjs/hy-image.cjs.entry.js +53 -0
  76. package/dist/cjs/hy-image.cjs.entry.js.map +1 -0
  77. package/dist/cjs/hy-introduction.cjs.entry.js +63 -0
  78. package/dist/cjs/hy-introduction.cjs.entry.js.map +1 -0
  79. package/dist/cjs/hy-key-figure_2.cjs.entry.js +97 -0
  80. package/dist/cjs/hy-key-figure_2.cjs.entry.js.map +1 -0
  81. package/dist/cjs/hy-key-highlight_2.cjs.entry.js +64 -0
  82. package/dist/cjs/hy-key-highlight_2.cjs.entry.js.map +1 -0
  83. package/dist/cjs/hy-large-process-flow_2.cjs.entry.js +78 -0
  84. package/dist/cjs/hy-large-process-flow_2.cjs.entry.js.map +1 -0
  85. package/dist/cjs/hy-link-box_2.cjs.entry.js +135 -0
  86. package/dist/cjs/hy-link-box_2.cjs.entry.js.map +1 -0
  87. package/dist/cjs/hy-link-list.cjs.entry.js +48 -0
  88. package/dist/cjs/hy-link-list.cjs.entry.js.map +1 -0
  89. package/dist/cjs/hy-link.cjs.entry.js +29 -0
  90. package/dist/cjs/hy-link.cjs.entry.js.map +1 -0
  91. package/dist/cjs/hy-list-item.cjs.entry.js +253 -0
  92. package/dist/cjs/hy-list-item.cjs.entry.js.map +1 -0
  93. package/dist/cjs/hy-logo-grid_2.cjs.entry.js +50 -0
  94. package/dist/cjs/hy-logo-grid_2.cjs.entry.js.map +1 -0
  95. package/dist/cjs/hy-menu-main-group.cjs.entry.js +160 -0
  96. package/dist/cjs/hy-menu-main-group.cjs.entry.js.map +1 -0
  97. package/dist/cjs/hy-opening-hours_2.cjs.entry.js +82 -0
  98. package/dist/cjs/hy-opening-hours_2.cjs.entry.js.map +1 -0
  99. package/dist/cjs/hy-pager_2.cjs.entry.js +64 -0
  100. package/dist/cjs/hy-pager_2.cjs.entry.js.map +1 -0
  101. package/dist/cjs/hy-paragraph-text.cjs.entry.js +48 -0
  102. package/dist/cjs/hy-paragraph-text.cjs.entry.js.map +1 -0
  103. package/dist/cjs/hy-person-card.cjs.entry.js +97 -0
  104. package/dist/cjs/hy-person-card.cjs.entry.js.map +1 -0
  105. package/dist/cjs/hy-person-profile-listing.cjs.entry.js +36 -0
  106. package/dist/cjs/hy-person-profile-listing.cjs.entry.js.map +1 -0
  107. package/dist/cjs/hy-person-profile.cjs.entry.js +74 -0
  108. package/dist/cjs/hy-person-profile.cjs.entry.js.map +1 -0
  109. package/dist/cjs/hy-process_2.cjs.entry.js +86 -0
  110. package/dist/cjs/hy-process_2.cjs.entry.js.map +1 -0
  111. package/dist/cjs/hy-prominent-image.cjs.entry.js +41 -0
  112. package/dist/cjs/hy-prominent-image.cjs.entry.js.map +1 -0
  113. package/dist/cjs/hy-quote.cjs.entry.js +33 -0
  114. package/dist/cjs/hy-quote.cjs.entry.js.map +1 -0
  115. package/dist/cjs/hy-row.cjs.entry.js +35 -0
  116. package/dist/cjs/hy-row.cjs.entry.js.map +1 -0
  117. package/dist/cjs/hy-shortcuts.cjs.entry.js +63 -0
  118. package/dist/cjs/hy-shortcuts.cjs.entry.js.map +1 -0
  119. package/dist/cjs/hy-table-container.cjs.entry.js +22 -0
  120. package/dist/cjs/hy-table-container.cjs.entry.js.map +1 -0
  121. package/dist/cjs/hy-tabs_2.cjs.entry.js +332 -0
  122. package/dist/cjs/hy-tabs_2.cjs.entry.js.map +1 -0
  123. package/dist/cjs/hy-tag.cjs.entry.js +22 -0
  124. package/dist/cjs/hy-tag.cjs.entry.js.map +1 -0
  125. package/dist/cjs/hy-twitter-feed.cjs.entry.js +34 -0
  126. package/dist/cjs/hy-twitter-feed.cjs.entry.js.map +1 -0
  127. package/dist/cjs/hy-two-columns.cjs.entry.js +23 -0
  128. package/dist/cjs/hy-two-columns.cjs.entry.js.map +1 -0
  129. package/dist/cjs/hy-user-login-form.cjs.entry.js +27 -0
  130. package/dist/cjs/hy-user-login-form.cjs.entry.js.map +1 -0
  131. package/dist/cjs/hy-video.cjs.entry.js +102 -0
  132. package/dist/cjs/hy-video.cjs.entry.js.map +1 -0
  133. package/dist/cjs/{index-ca4e37f2.js → index-32830401.js} +17 -4
  134. package/dist/cjs/index-32830401.js.map +1 -0
  135. package/dist/cjs/index-dacd8ca5.js +969 -0
  136. package/dist/cjs/index-dacd8ca5.js.map +1 -0
  137. package/dist/cjs/loader.cjs.js +4 -4
  138. package/dist/cjs/loader.cjs.js.map +1 -1
  139. package/dist/collection/collection-manifest.json +262 -70
  140. package/dist/collection/components/accordion-container/accordion-container.spec.js +7 -0
  141. package/dist/collection/components/accordion-container/accordion-container.spec.js.map +1 -0
  142. package/dist/collection/components/accordion-item/accordion-item.spec.js +7 -0
  143. package/dist/collection/components/accordion-item/accordion-item.spec.js.map +1 -0
  144. package/dist/collection/components/adjacent-image-text/adjacent-image-text.spec.js +7 -0
  145. package/dist/collection/components/adjacent-image-text/adjacent-image-text.spec.js.map +1 -0
  146. package/dist/collection/components/baseline/baseline.spec.js +7 -0
  147. package/dist/collection/components/baseline/baseline.spec.js.map +1 -0
  148. package/dist/collection/components/button/button.e2e.js +16 -0
  149. package/dist/collection/components/button/button.e2e.js.map +1 -0
  150. package/dist/collection/components/button/button.spec.js +55 -0
  151. package/dist/collection/components/button/button.spec.js.map +1 -0
  152. package/dist/collection/components/color-box/color-box.spec.js +18 -0
  153. package/dist/collection/components/color-box/color-box.spec.js.map +1 -0
  154. package/dist/collection/components/cta-button/cta-button.e2e.js +15 -0
  155. package/dist/collection/components/cta-button/cta-button.e2e.js.map +1 -0
  156. package/dist/collection/components/cta-button/cta-button.spec.js +7 -0
  157. package/dist/collection/components/cta-button/cta-button.spec.js.map +1 -0
  158. package/dist/collection/components/cta-link/cta-link.e2e.js +15 -0
  159. package/dist/collection/components/cta-link/cta-link.e2e.js.map +1 -0
  160. package/dist/collection/components/cta-link/cta-link.spec.js +7 -0
  161. package/dist/collection/components/cta-link/cta-link.spec.js.map +1 -0
  162. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +1 -1
  163. package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js.map +1 -1
  164. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +1 -1
  165. package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js.map +1 -1
  166. package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.css +0 -1
  167. package/dist/collection/components/grid-container/grid-container.spec.js +7 -0
  168. package/dist/collection/components/grid-container/grid-container.spec.js.map +1 -0
  169. package/dist/collection/components/grid-item/grid-item.spec.js +7 -0
  170. package/dist/collection/components/grid-item/grid-item.spec.js.map +1 -0
  171. package/dist/collection/components/grid-row/grid-row.spec.js +7 -0
  172. package/dist/collection/components/grid-row/grid-row.spec.js.map +1 -0
  173. package/dist/collection/components/heading/heading.spec.js +7 -0
  174. package/dist/collection/components/heading/heading.spec.js.map +1 -0
  175. package/dist/collection/components/hy-badge/hy-badge.spec.js +20 -0
  176. package/dist/collection/components/hy-badge/hy-badge.spec.js.map +1 -0
  177. package/dist/collection/components/hy-box/test/hy-box.spec.js +26 -0
  178. package/dist/collection/components/hy-box/test/hy-box.spec.js.map +1 -0
  179. package/dist/collection/components/hy-box-container/test/hy-box-container.e2e.js +10 -0
  180. package/dist/collection/components/hy-box-container/test/hy-box-container.e2e.js.map +1 -0
  181. package/dist/collection/components/hy-box-container/test/hy-box-container.spec.js +16 -0
  182. package/dist/collection/components/hy-box-container/test/hy-box-container.spec.js.map +1 -0
  183. package/dist/collection/components/hy-hero/hy-hero.css +0 -1
  184. package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +0 -1
  185. package/dist/collection/components/hy-key-figure/test/hy-key-figure.spec.js +21 -0
  186. package/dist/collection/components/hy-key-figure/test/hy-key-figure.spec.js.map +1 -0
  187. package/dist/collection/components/hy-key-highlight/hy-key-highlight.css +0 -1
  188. package/dist/collection/components/hy-key-highlight/test/hy-key-highlight.spec.js +23 -0
  189. package/dist/collection/components/hy-key-highlight/test/hy-key-highlight.spec.js.map +1 -0
  190. package/dist/collection/components/hy-shortcuts/hy-shortcuts.css +0 -1
  191. package/dist/collection/components/hy-tabs/hy-tabs.css +0 -1
  192. package/dist/collection/components/hy-two-columns/test/hy-two-columns.spec.js +27 -0
  193. package/dist/collection/components/hy-two-columns/test/hy-two-columns.spec.js.map +1 -0
  194. package/dist/collection/components/hy-video/hy-video.css +0 -1
  195. package/dist/collection/components/icon/icon.spec.js +7 -0
  196. package/dist/collection/components/icon/icon.spec.js.map +1 -0
  197. package/dist/collection/components/image/image.spec.js +21 -0
  198. package/dist/collection/components/image/image.spec.js.map +1 -0
  199. package/dist/collection/components/ingress/ingress.spec.js +7 -0
  200. package/dist/collection/components/ingress/ingress.spec.js.map +1 -0
  201. package/dist/collection/components/link/link.e2e.js +17 -0
  202. package/dist/collection/components/link/link.e2e.js.map +1 -0
  203. package/dist/collection/components/link/link.spec.js +7 -0
  204. package/dist/collection/components/link/link.spec.js.map +1 -0
  205. package/dist/collection/components/link-box/link-box.css +0 -1
  206. package/dist/collection/components/link-box/link-box.spec.js +7 -0
  207. package/dist/collection/components/link-box/link-box.spec.js.map +1 -0
  208. package/dist/collection/components/paragraph-text/paragraph-text.spec.js +7 -0
  209. package/dist/collection/components/paragraph-text/paragraph-text.spec.js.map +1 -0
  210. package/dist/collection/components/process/process.spec.js +7 -0
  211. package/dist/collection/components/process/process.spec.js.map +1 -0
  212. package/dist/collection/components/process-flow-box/process-flow-box.css +0 -2
  213. package/dist/collection/components/process-flow-box/process-flow-box.spec.js +7 -0
  214. package/dist/collection/components/process-flow-box/process-flow-box.spec.js.map +1 -0
  215. package/dist/collection/components/row/row.spec.js +7 -0
  216. package/dist/collection/components/row/row.spec.js.map +1 -0
  217. package/dist/collection/components/section-container/section-container.e2e.js +10 -0
  218. package/dist/collection/components/section-container/section-container.e2e.js.map +1 -0
  219. package/dist/collection/components/section-container/section-container.spec.js +17 -0
  220. package/dist/collection/components/section-container/section-container.spec.js.map +1 -0
  221. package/dist/collection/components/site-header/site-header.css +7 -0
  222. package/dist/collection/components/tiny-text/tiny-text.spec.js +7 -0
  223. package/dist/collection/components/tiny-text/tiny-text.spec.js.map +1 -0
  224. package/dist/esm/color-box_7.entry.js +167 -0
  225. package/dist/esm/color-box_7.entry.js.map +1 -0
  226. package/dist/esm/emotion.esm-e0a633a4.js +1397 -0
  227. package/dist/esm/emotion.esm-e0a633a4.js.map +1 -0
  228. package/dist/esm/{globalScript-3c6fab71.js → globalScript-5a4b7abf.js} +2 -2
  229. package/dist/esm/{globalScript-3c6fab71.js.map → globalScript-5a4b7abf.js.map} +1 -1
  230. package/dist/esm/huds-lib.js +5 -5
  231. package/dist/esm/huds-lib.js.map +1 -1
  232. package/dist/esm/hy-accordion-container_2.entry.js +238 -0
  233. package/dist/esm/hy-accordion-container_2.entry.js.map +1 -0
  234. package/dist/esm/hy-adjacent-image-text.entry.js +57 -0
  235. package/dist/esm/hy-adjacent-image-text.entry.js.map +1 -0
  236. package/dist/esm/hy-anchor-link-list.entry.js +49 -0
  237. package/dist/esm/hy-anchor-link-list.entry.js.map +1 -0
  238. package/dist/esm/hy-badge.entry.js +19 -0
  239. package/dist/esm/hy-badge.entry.js.map +1 -0
  240. package/dist/esm/hy-banner.entry.js +47 -0
  241. package/dist/esm/hy-banner.entry.js.map +1 -0
  242. package/dist/esm/hy-box.entry.js +165 -0
  243. package/dist/esm/hy-box.entry.js.map +1 -0
  244. package/dist/esm/hy-breadcrumbs_16.entry.js +1008 -0
  245. package/dist/esm/hy-breadcrumbs_16.entry.js.map +1 -0
  246. package/dist/esm/hy-checkbox.entry.js +28 -0
  247. package/dist/esm/hy-checkbox.entry.js.map +1 -0
  248. package/dist/esm/hy-collaboration.entry.js +22 -0
  249. package/dist/esm/hy-collaboration.entry.js.map +1 -0
  250. package/dist/esm/hy-content-list_2.entry.js +175 -0
  251. package/dist/esm/hy-content-list_2.entry.js.map +1 -0
  252. package/dist/esm/hy-crisis-banner.entry.js +21 -0
  253. package/dist/esm/hy-crisis-banner.entry.js.map +1 -0
  254. package/dist/esm/hy-cta-button.entry.js +31 -0
  255. package/dist/esm/hy-cta-button.entry.js.map +1 -0
  256. package/dist/esm/hy-cta-link.entry.js +26 -0
  257. package/dist/esm/hy-cta-link.entry.js.map +1 -0
  258. package/dist/esm/hy-dropdown_3.entry.js +135 -0
  259. package/dist/esm/hy-dropdown_3.entry.js.map +1 -0
  260. package/dist/esm/hy-event-item.entry.js +1 -1
  261. package/dist/esm/hy-events.entry.js +2 -2
  262. package/dist/esm/hy-filter-group_6.entry.js +107 -0
  263. package/dist/esm/hy-filter-group_6.entry.js.map +1 -0
  264. package/dist/esm/hy-general-list_2.entry.js +98 -0
  265. package/dist/esm/hy-general-list_2.entry.js.map +1 -0
  266. package/dist/esm/hy-grid-container_3.entry.js +55 -0
  267. package/dist/esm/hy-grid-container_3.entry.js.map +1 -0
  268. package/dist/esm/hy-hero-carousel.entry.js +44 -20
  269. package/dist/esm/hy-hero-carousel.entry.js.map +1 -1
  270. package/dist/esm/hy-hero.entry.js +108 -0
  271. package/dist/esm/hy-hero.entry.js.map +1 -0
  272. package/dist/esm/hy-icon.entry.js +814 -0
  273. package/dist/esm/hy-icon.entry.js.map +1 -0
  274. package/dist/esm/hy-image.entry.js +49 -0
  275. package/dist/esm/hy-image.entry.js.map +1 -0
  276. package/dist/esm/hy-introduction.entry.js +59 -0
  277. package/dist/esm/hy-introduction.entry.js.map +1 -0
  278. package/dist/esm/hy-key-figure_2.entry.js +92 -0
  279. package/dist/esm/hy-key-figure_2.entry.js.map +1 -0
  280. package/dist/esm/hy-key-highlight_2.entry.js +59 -0
  281. package/dist/esm/hy-key-highlight_2.entry.js.map +1 -0
  282. package/dist/esm/hy-large-process-flow_2.entry.js +73 -0
  283. package/dist/esm/hy-large-process-flow_2.entry.js.map +1 -0
  284. package/dist/esm/hy-link-box_2.entry.js +130 -0
  285. package/dist/esm/hy-link-box_2.entry.js.map +1 -0
  286. package/dist/esm/hy-link-list.entry.js +44 -0
  287. package/dist/esm/hy-link-list.entry.js.map +1 -0
  288. package/dist/esm/hy-link.entry.js +25 -0
  289. package/dist/esm/hy-link.entry.js.map +1 -0
  290. package/dist/esm/hy-list-item.entry.js +249 -0
  291. package/dist/esm/hy-list-item.entry.js.map +1 -0
  292. package/dist/esm/hy-logo-grid_2.entry.js +45 -0
  293. package/dist/esm/hy-logo-grid_2.entry.js.map +1 -0
  294. package/dist/esm/hy-menu-main-group.entry.js +156 -0
  295. package/dist/esm/hy-menu-main-group.entry.js.map +1 -0
  296. package/dist/esm/hy-opening-hours_2.entry.js +77 -0
  297. package/dist/esm/hy-opening-hours_2.entry.js.map +1 -0
  298. package/dist/esm/hy-pager_2.entry.js +59 -0
  299. package/dist/esm/hy-pager_2.entry.js.map +1 -0
  300. package/dist/esm/hy-paragraph-text.entry.js +44 -0
  301. package/dist/esm/hy-paragraph-text.entry.js.map +1 -0
  302. package/dist/esm/hy-person-card.entry.js +93 -0
  303. package/dist/esm/hy-person-card.entry.js.map +1 -0
  304. package/dist/esm/hy-person-profile-listing.entry.js +32 -0
  305. package/dist/esm/hy-person-profile-listing.entry.js.map +1 -0
  306. package/dist/esm/hy-person-profile.entry.js +70 -0
  307. package/dist/esm/hy-person-profile.entry.js.map +1 -0
  308. package/dist/esm/hy-process_2.entry.js +81 -0
  309. package/dist/esm/hy-process_2.entry.js.map +1 -0
  310. package/dist/esm/hy-prominent-image.entry.js +37 -0
  311. package/dist/esm/hy-prominent-image.entry.js.map +1 -0
  312. package/dist/esm/hy-quote.entry.js +29 -0
  313. package/dist/esm/hy-quote.entry.js.map +1 -0
  314. package/dist/esm/hy-row.entry.js +31 -0
  315. package/dist/esm/hy-row.entry.js.map +1 -0
  316. package/dist/esm/hy-shortcuts.entry.js +59 -0
  317. package/dist/esm/hy-shortcuts.entry.js.map +1 -0
  318. package/dist/esm/hy-table-container.entry.js +18 -0
  319. package/dist/esm/hy-table-container.entry.js.map +1 -0
  320. package/dist/esm/hy-tabs_2.entry.js +327 -0
  321. package/dist/esm/hy-tabs_2.entry.js.map +1 -0
  322. package/dist/esm/hy-tag.entry.js +18 -0
  323. package/dist/esm/hy-tag.entry.js.map +1 -0
  324. package/dist/esm/hy-twitter-feed.entry.js +30 -0
  325. package/dist/esm/hy-twitter-feed.entry.js.map +1 -0
  326. package/dist/esm/hy-two-columns.entry.js +19 -0
  327. package/dist/esm/hy-two-columns.entry.js.map +1 -0
  328. package/dist/esm/hy-user-login-form.entry.js +23 -0
  329. package/dist/esm/hy-user-login-form.entry.js.map +1 -0
  330. package/dist/esm/hy-video.entry.js +98 -0
  331. package/dist/esm/hy-video.entry.js.map +1 -0
  332. package/dist/esm/index-ecc819ad.js +967 -0
  333. package/dist/esm/index-ecc819ad.js.map +1 -0
  334. package/dist/esm/{index-9920074a.js → index-f84f2a7d.js} +17 -4
  335. package/dist/esm/index-f84f2a7d.js.map +1 -0
  336. package/dist/esm/loader.js +5 -5
  337. package/dist/esm/loader.js.map +1 -1
  338. package/dist/esm/{utils-a4d55421.js → utils-a4ebfef1.js} +2 -2
  339. package/dist/esm/{utils-a4d55421.js.map → utils-a4ebfef1.js.map} +1 -1
  340. package/dist/huds-lib/color-box_7.entry.js +12 -0
  341. package/dist/huds-lib/color-box_7.entry.js.map +1 -0
  342. package/dist/huds-lib/emotion.esm-e0a633a4.js +2 -0
  343. package/dist/huds-lib/emotion.esm-e0a633a4.js.map +1 -0
  344. package/dist/huds-lib/{globalScript-3c6fab71.js → globalScript-5a4b7abf.js} +2 -2
  345. package/dist/huds-lib/huds-lib.esm.js +1 -1
  346. package/dist/huds-lib/huds-lib.esm.js.map +1 -1
  347. package/dist/huds-lib/hy-accordion-container_2.entry.js +2 -0
  348. package/dist/huds-lib/hy-accordion-container_2.entry.js.map +1 -0
  349. package/dist/huds-lib/hy-adjacent-image-text.entry.js +2 -0
  350. package/dist/huds-lib/hy-adjacent-image-text.entry.js.map +1 -0
  351. package/dist/huds-lib/hy-anchor-link-list.entry.js +2 -0
  352. package/dist/huds-lib/hy-anchor-link-list.entry.js.map +1 -0
  353. package/dist/huds-lib/hy-badge.entry.js +2 -0
  354. package/dist/huds-lib/hy-badge.entry.js.map +1 -0
  355. package/dist/huds-lib/hy-banner.entry.js +2 -0
  356. package/dist/huds-lib/hy-banner.entry.js.map +1 -0
  357. package/dist/huds-lib/hy-box.entry.js +71 -0
  358. package/dist/huds-lib/hy-box.entry.js.map +1 -0
  359. package/dist/huds-lib/hy-breadcrumbs_16.entry.js +2 -0
  360. package/dist/huds-lib/hy-breadcrumbs_16.entry.js.map +1 -0
  361. package/dist/huds-lib/hy-checkbox.entry.js +2 -0
  362. package/dist/huds-lib/hy-checkbox.entry.js.map +1 -0
  363. package/dist/huds-lib/hy-collaboration.entry.js +2 -0
  364. package/dist/huds-lib/hy-collaboration.entry.js.map +1 -0
  365. package/dist/huds-lib/hy-content-list_2.entry.js +2 -0
  366. package/dist/huds-lib/hy-content-list_2.entry.js.map +1 -0
  367. package/dist/huds-lib/hy-crisis-banner.entry.js +2 -0
  368. package/dist/huds-lib/hy-crisis-banner.entry.js.map +1 -0
  369. package/dist/huds-lib/hy-cta-button.entry.js +2 -0
  370. package/dist/huds-lib/hy-cta-button.entry.js.map +1 -0
  371. package/dist/huds-lib/hy-cta-link.entry.js +2 -0
  372. package/dist/huds-lib/hy-cta-link.entry.js.map +1 -0
  373. package/dist/huds-lib/hy-dropdown_3.entry.js +2 -0
  374. package/dist/huds-lib/hy-dropdown_3.entry.js.map +1 -0
  375. package/dist/huds-lib/hy-event-item.entry.js +1 -1
  376. package/dist/huds-lib/hy-events.entry.js +1 -1
  377. package/dist/huds-lib/hy-filter-group_6.entry.js +2 -0
  378. package/dist/huds-lib/hy-filter-group_6.entry.js.map +1 -0
  379. package/dist/huds-lib/hy-general-list_2.entry.js +2 -0
  380. package/dist/huds-lib/hy-general-list_2.entry.js.map +1 -0
  381. package/dist/huds-lib/hy-grid-container_3.entry.js +2 -0
  382. package/dist/huds-lib/hy-grid-container_3.entry.js.map +1 -0
  383. package/dist/huds-lib/hy-hero-carousel.entry.js +1 -1
  384. package/dist/huds-lib/hy-hero-carousel.entry.js.map +1 -1
  385. package/dist/huds-lib/hy-hero.entry.js +2 -0
  386. package/dist/huds-lib/hy-hero.entry.js.map +1 -0
  387. package/dist/huds-lib/hy-icon.entry.js +2 -0
  388. package/dist/huds-lib/hy-icon.entry.js.map +1 -0
  389. package/dist/huds-lib/hy-image.entry.js +2 -0
  390. package/dist/huds-lib/hy-image.entry.js.map +1 -0
  391. package/dist/huds-lib/hy-introduction.entry.js +2 -0
  392. package/dist/huds-lib/hy-introduction.entry.js.map +1 -0
  393. package/dist/huds-lib/hy-key-figure_2.entry.js +2 -0
  394. package/dist/huds-lib/hy-key-figure_2.entry.js.map +1 -0
  395. package/dist/huds-lib/hy-key-highlight_2.entry.js +2 -0
  396. package/dist/huds-lib/hy-key-highlight_2.entry.js.map +1 -0
  397. package/dist/huds-lib/hy-large-process-flow_2.entry.js +2 -0
  398. package/dist/huds-lib/hy-large-process-flow_2.entry.js.map +1 -0
  399. package/dist/huds-lib/hy-link-box_2.entry.js +2 -0
  400. package/dist/huds-lib/hy-link-box_2.entry.js.map +1 -0
  401. package/dist/huds-lib/hy-link-list.entry.js +2 -0
  402. package/dist/huds-lib/hy-link-list.entry.js.map +1 -0
  403. package/dist/huds-lib/hy-link.entry.js +2 -0
  404. package/dist/huds-lib/hy-link.entry.js.map +1 -0
  405. package/dist/huds-lib/hy-list-item.entry.js +2 -0
  406. package/dist/huds-lib/hy-list-item.entry.js.map +1 -0
  407. package/dist/huds-lib/hy-logo-grid_2.entry.js +2 -0
  408. package/dist/huds-lib/hy-logo-grid_2.entry.js.map +1 -0
  409. package/dist/huds-lib/hy-menu-main-group.entry.js +2 -0
  410. package/dist/huds-lib/hy-menu-main-group.entry.js.map +1 -0
  411. package/dist/huds-lib/hy-opening-hours_2.entry.js +2 -0
  412. package/dist/huds-lib/hy-opening-hours_2.entry.js.map +1 -0
  413. package/dist/huds-lib/hy-pager_2.entry.js +2 -0
  414. package/dist/huds-lib/hy-pager_2.entry.js.map +1 -0
  415. package/dist/huds-lib/hy-paragraph-text.entry.js +2 -0
  416. package/dist/huds-lib/hy-paragraph-text.entry.js.map +1 -0
  417. package/dist/huds-lib/hy-person-card.entry.js +2 -0
  418. package/dist/huds-lib/hy-person-card.entry.js.map +1 -0
  419. package/dist/huds-lib/hy-person-profile-listing.entry.js +2 -0
  420. package/dist/huds-lib/hy-person-profile-listing.entry.js.map +1 -0
  421. package/dist/huds-lib/hy-person-profile.entry.js +2 -0
  422. package/dist/huds-lib/hy-person-profile.entry.js.map +1 -0
  423. package/dist/huds-lib/hy-process_2.entry.js +2 -0
  424. package/dist/huds-lib/hy-process_2.entry.js.map +1 -0
  425. package/dist/huds-lib/hy-prominent-image.entry.js +2 -0
  426. package/dist/huds-lib/hy-prominent-image.entry.js.map +1 -0
  427. package/dist/huds-lib/hy-quote.entry.js +2 -0
  428. package/dist/huds-lib/hy-quote.entry.js.map +1 -0
  429. package/dist/huds-lib/hy-row.entry.js +9 -0
  430. package/dist/huds-lib/hy-row.entry.js.map +1 -0
  431. package/dist/huds-lib/hy-shortcuts.entry.js +2 -0
  432. package/dist/huds-lib/hy-shortcuts.entry.js.map +1 -0
  433. package/dist/huds-lib/hy-table-container.entry.js +2 -0
  434. package/dist/huds-lib/hy-table-container.entry.js.map +1 -0
  435. package/dist/huds-lib/hy-tabs_2.entry.js +2 -0
  436. package/dist/huds-lib/hy-tabs_2.entry.js.map +1 -0
  437. package/dist/huds-lib/hy-tag.entry.js +2 -0
  438. package/dist/huds-lib/hy-tag.entry.js.map +1 -0
  439. package/dist/huds-lib/hy-twitter-feed.entry.js +2 -0
  440. package/dist/huds-lib/hy-twitter-feed.entry.js.map +1 -0
  441. package/dist/huds-lib/hy-two-columns.entry.js +2 -0
  442. package/dist/huds-lib/hy-two-columns.entry.js.map +1 -0
  443. package/dist/huds-lib/hy-user-login-form.entry.js +2 -0
  444. package/dist/huds-lib/hy-user-login-form.entry.js.map +1 -0
  445. package/dist/huds-lib/hy-video.entry.js +2 -0
  446. package/dist/huds-lib/hy-video.entry.js.map +1 -0
  447. package/dist/huds-lib/index-ecc819ad.js +2 -0
  448. package/dist/huds-lib/index-ecc819ad.js.map +1 -0
  449. package/dist/huds-lib/{index-9920074a.js → index-f84f2a7d.js} +3 -3
  450. package/dist/huds-lib/index-f84f2a7d.js.map +1 -0
  451. package/dist/huds-lib/{utils-a4d55421.js → utils-a4ebfef1.js} +2 -2
  452. package/dist/types/stencil-public-runtime.d.ts +2 -0
  453. package/package.json +3 -3
  454. package/dist/cjs/color-box_91.cjs.entry.js +0 -7663
  455. package/dist/cjs/color-box_91.cjs.entry.js.map +0 -1
  456. package/dist/cjs/index-ca4e37f2.js.map +0 -1
  457. package/dist/esm/color-box_91.entry.js +0 -7569
  458. package/dist/esm/color-box_91.entry.js.map +0 -1
  459. package/dist/esm/index-9920074a.js.map +0 -1
  460. package/dist/huds-lib/color-box_91.entry.js +0 -88
  461. package/dist/huds-lib/color-box_91.entry.js.map +0 -1
  462. package/dist/huds-lib/index-9920074a.js.map +0 -1
  463. /package/dist/huds-lib/{globalScript-3c6fab71.js.map → globalScript-5a4b7abf.js.map} +0 -0
  464. /package/dist/huds-lib/{utils-a4d55421.js.map → utils-a4ebfef1.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ import{r as e,h as t}from"./index-f84f2a7d.js";const i=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-twitter-feed{margin:40px 0}.hy-twitter-feed__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:24px}@media (min-width: 30rem){.hy-twitter-feed__header{margin-bottom:32px}}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-feed__header{margin-bottom:41px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-feed__header{margin-bottom:41px}}.hy-twitter-feed__title{font-weight:700;font-family:var(--main-font-family);margin-top:0;margin-bottom:0;margin-right:8px}@media (min-width: 30rem){.hy-twitter-feed__title{margin-right:12px}}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-feed__title{margin-right:16px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-feed__title{margin-right:16px}}h2.hy-twitter-feed__title{font-size:1.625rem;line-height:32px;letter-spacing:-0.82px}@media (min-width: 30rem){h2.hy-twitter-feed__title{font-size:1.875rem;line-height:36px;letter-spacing:-0.6px}}@media (min-width: 75.0625rem){.without-sidebar h2.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}@media (min-width: 1601px){.with-sidebar h2.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}.is-front-page h2.hy-twitter-feed__title,.is-landing-page h2.hy-twitter-feed__title{font-size:1.75rem;line-height:32px;letter-spacing:-0.7px;text-transform:uppercase}@media (min-width: 30rem){.is-front-page h2.hy-twitter-feed__title,.is-landing-page h2.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.85px}}@media (min-width: 60rem){.without-sidebar .is-front-page h2.hy-twitter-feed__title,.without-sidebar .is-landing-page h2.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}@media (min-width: 75.0625rem){.without-sidebar .is-front-page h2.hy-twitter-feed__title,.without-sidebar .is-landing-page h2.hy-twitter-feed__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px}}@media (min-width: 75.0625rem){.with-sidebar .is-front-page h2.hy-twitter-feed__title,.with-sidebar .is-landing-page h2.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}@media (min-width: 1601px){.with-sidebar .is-front-page h2.hy-twitter-feed__title,.with-sidebar .is-landing-page h2.hy-twitter-feed__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px}}h3.hy-twitter-feed__title{font-size:1.3125rem;line-height:28px;letter-spacing:-0.42px}@media (min-width: 30rem){h3.hy-twitter-feed__title{font-size:1.5625rem;line-height:32px;letter-spacing:-0.5px}}.is-front-page h3.hy-twitter-feed__title,.is-landing-page h3.hy-twitter-feed__title{font-size:1.625rem;line-height:32px;letter-spacing:-0.52px}@media (min-width: 30rem){.is-front-page h3.hy-twitter-feed__title,.is-landing-page h3.hy-twitter-feed__title{font-size:1.875rem;line-height:36px;letter-spacing:-0.6px}}@media (min-width: 60rem){.without-sidebar .is-front-page h3.hy-twitter-feed__title,.without-sidebar .is-landing-page h3.hy-twitter-feed__title{font-size:1.875rem;line-height:36px;letter-spacing:-0.6px}}@media (min-width: 75.0625rem){.without-sidebar .is-front-page h3.hy-twitter-feed__title,.without-sidebar .is-landing-page h3.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}@media (min-width: 75.0625rem){.with-sidebar .is-front-page h3.hy-twitter-feed__title,.with-sidebar .is-landing-page h3.hy-twitter-feed__title{font-size:1.875rem;line-height:36px;letter-spacing:-0.6px}}@media (min-width: 1601px){.with-sidebar .is-front-page h3.hy-twitter-feed__title,.with-sidebar .is-landing-page h3.hy-twitter-feed__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.68px}}.hy-twitter-feed__keyword{font-size:0.9375rem;line-height:22px;margin:0;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-dark-text);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.hy-twitter-feed__keyword hy-icon{margin-right:4px}@media (min-width: 30rem){.hy-twitter-feed__keyword hy-icon{margin-right:6px}}@media (min-width: 30rem){.hy-twitter-feed__keyword hy-icon svg{width:24px;height:24px}}@media (min-width: 30rem){.hy-twitter-feed__keyword{font-size:1rem;line-height:24px}}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-feed__keyword{font-size:1.0625rem;line-height:24px}}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-feed__keyword hy-icon svg{width:32px;height:32px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-feed__keyword{font-size:1.0625rem;line-height:24px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-feed__keyword hy-icon svg{width:32px;height:32px}}.hy-twitter-feed__keyword+a{font-size:0.9375rem;line-height:18px;margin:0 0 0 8px;font-weight:600;font-family:var(--main-font-family);color:var(--link-blue);letter-spacing:-0.28px;text-decoration:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.hy-twitter-feed__keyword+a:hover{text-decoration:underline}.hy-twitter-feed__keyword+a hy-icon{margin-right:6px}.hy-twitter-feed__keyword+a hy-icon svg{fill:var(--link-blue)}@media (min-width: 30rem){.hy-twitter-feed__keyword+a{font-size:0.875rem;line-height:18px;letter-spacing:-0.26px;margin:0 0 0 12px}}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-feed__keyword+a{font-size:1rem;line-height:20px;letter-spacing:-0.3px;margin:0 0 0 16px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-feed__keyword+a{font-size:1rem;line-height:20px;letter-spacing:-0.3px;margin:0 0 0 16px}}.hy-twitter-feed__tweets{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr;gap:16px}@media (min-width: 30rem){.hy-twitter-feed__tweets{grid-template-columns:repeat(2, 1fr);gap:24px}}@media (min-width: 60rem){.without-sidebar .hy-twitter-feed__tweets{grid-template-columns:repeat(3, 1fr)}}@media (min-width: 75.0625rem){.with-sidebar .hy-twitter-feed__tweets{grid-template-columns:repeat(3, 1fr)}}.hy-twitter-tweet{background-color:var(--grayscale-background-box);height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative}.hy-twitter-tweet__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:-8px;padding-top:12px;margin-bottom:8px}@media (min-width: 30rem){.hy-twitter-tweet__header{padding-top:16px}}.hy-twitter-tweet__profile-image img{height:70px;width:70px}@media (min-width: 75.0625rem){.without-sidebar .hy-twitter-tweet__profile-image img{height:80px;width:80px}}@media (min-width: 1601px){.with-sidebar .hy-twitter-tweet__profile-image img{height:80px;width:80px}}.hy-twitter-tweet__header-content{margin-left:8px}.hy-twitter-tweet__header-content time{font-size:0.75rem;line-height:14px;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-black);letter-spacing:-0.1px}.hy-twitter-tweet__header-content p{font-size:0.9375rem;line-height:18px;font-weight:700;font-family:var(--main-font-family);color:var(--brand-main-nearly-black);letter-spacing:-0.3px;margin:4px 0 2px}@media (min-width: 30rem){.hy-twitter-tweet__header-content p{font-size:1rem;line-height:20px;letter-spacing:-0.32px}}.hy-twitter-tweet__header-content a{font-size:0.75rem;line-height:16px;font-weight:600;font-family:var(--main-font-family);color:var(--link-blue);letter-spacing:-0.1px;text-decoration:none;position:relative;z-index:10}.hy-twitter-tweet__header-content a:hover{text-decoration:underline}.hy-twitter-tweet__content-wrapper{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.hy-twitter-tweet__content{padding:0 16px}.hy-twitter-tweet__content p{font-size:0.9375rem;line-height:20px;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-dark-text);letter-spacing:-0.03px;margin:0 0 8px}@media (min-width: 30rem){.hy-twitter-tweet__content p{font-size:0.875rem;line-height:18px;letter-spacing:-0.08px}}.hy-twitter-tweet__tweet-link{font-size:0.75rem;line-height:16px;font-weight:600;font-family:var(--main-font-family);color:var(--link-blue);letter-spacing:-0.1px;text-decoration:none}.hy-twitter-tweet__tweet-link span{position:absolute;inset:0}.hy-twitter-tweet__tweet-link:hover{text-decoration:underline}.hy-twitter-tweet__statistics{margin-top:16px;padding:0 16px 16px}.hy-twitter-tweet__statistics .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.hy-twitter-tweet__statistics p{font-size:0.75rem;line-height:14px;font-weight:400;font-family:var(--main-font-family);color:var(--grayscale-dark);letter-spacing:-0.1px;margin:0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.hy-twitter-tweet__statistics p:not(:first-of-type){margin-left:16px}.hy-twitter-tweet__statistics p hy-icon{margin-right:4px}.hy-twitter-tweet__statistics p hy-icon svg{fill:var(--grayscale-dark)}";const r=class{constructor(t){e(this,t);this.headingVariant=undefined;this.paragraphTitle=undefined;this.twitterFeedKeyword=undefined;this.tweetType=undefined;this.tweets=undefined}render(){const e=JSON.parse(this.tweets);const i=this.headingVariant.toLowerCase();if(this.tweetType==="Hashtag"&&this.twitterFeedKeyword.charAt(0)==="#"){this.twitterFeedKeyword=this.twitterFeedKeyword.substring(1)}return t("section",{class:"hy-twitter-feed"},t("div",{class:"hy-twitter-feed__header"},t(i,{class:"hy-twitter-feed__title"},this.paragraphTitle||"Twitter"),t("p",{class:"hy-twitter-feed__keyword"},t("hy-icon",{icon:`hy-icon-some-twitter`,size:20}),this.tweetType==="Hashtag"?`#${this.twitterFeedKeyword}`:`@${this.twitterFeedKeyword}`),this.tweetType==="Username"&&t("a",{href:`https://twitter.com/${this.twitterFeedKeyword}`,target:"_blank"},t("hy-icon",{icon:`hy-icon-plus`,size:12}),"Follow")),t("ul",{class:"hy-twitter-feed__tweets"},e.map((({tweet_text:e,tweet_created:i,tweet_absolute_url:r,tweet_like_count:a,tweet_retweet_count:n,user_name:h,user_username:d,user_profile_image_url:l})=>{const s=new Intl.DateTimeFormat("fi-FI").format(new Date(i));return t("li",{class:"hy-twitter-feed__item"},t("article",{class:"hy-twitter-tweet"},t("header",{class:"hy-twitter-tweet__header"},t("figure",{class:"hy-twitter-tweet__profile-image",role:"complementary"},t("img",{src:l,alt:""})),t("div",{class:"hy-twitter-tweet__header-content"},t("time",{dateTime:i},s),t("p",null,h),t("a",{class:"hy-twitter-tweet__user-link",href:`https://twitter.com/${d}`,target:"_blank"},"@",d))),t("div",{class:"hy-twitter-tweet__content-wrapper"},t("div",{class:"hy-twitter-tweet__content"},t("p",null,e.length>113?`${e.substr(0,113)}...`:e),t("a",{class:"hy-twitter-tweet__tweet-link",href:r,target:"_blank"},t("span",{"aria-hidden":"true"}),`${r.substr(0,24)}...`)),t("div",{class:"hy-twitter-tweet__statistics",role:"complementary"},t("p",null,t("span",{class:"visually-hidden"},"Tweet like count: "),t("hy-icon",{icon:`hy-icon-some-twitter-like`,size:16}),a),t("p",null,t("span",{class:"visually-hidden"},"Tweet retweet count: "),t("hy-icon",{icon:`hy-icon-some-twitter-retweet`,size:16}),n)))))}))))}};r.style=i;export{r as hy_twitter_feed};
2
+ //# sourceMappingURL=hy-twitter-feed.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["hyTwitterFeedCss","HyTwitterFeed","render","parsedTweets","JSON","parse","this","tweets","HeadingVariant","headingVariant","toLowerCase","tweetType","twitterFeedKeyword","charAt","substring","h","class","paragraphTitle","icon","size","href","target","map","tweet_text","tweet_created","tweet_absolute_url","tweet_like_count","tweet_retweet_count","user_name","user_username","user_profile_image_url","dateFormatted","Intl","DateTimeFormat","format","Date","role","src","alt","dateTime","length","substr"],"sources":["./src/components/hy-twitter-feed/hy-twitter-feed.scss?tag=hy-twitter-feed","./src/components/hy-twitter-feed/hy-twitter-feed.tsx"],"sourcesContent":[".hy-twitter-feed {\n margin: 40px 0;\n}\n\n.hy-twitter-feed__header {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n margin-bottom: 24px;\n\n @include breakpoint($narrow) {\n margin-bottom: 32px;\n }\n\n .without-sidebar & {\n @include breakpoint($extrawide) {\n margin-bottom: 41px;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($xlarge) {\n margin-bottom: 41px;\n }\n }\n}\n\n.hy-twitter-feed__title {\n font-weight: $bold;\n font-family: var(--main-font-family);\n margin-top: 0;\n margin-bottom: 0;\n margin-right: 8px;\n\n @include breakpoint($narrow) {\n margin-right: 12px;\n }\n\n .without-sidebar & {\n @include breakpoint($extrawide) {\n margin-right: 16px;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($xlarge) {\n margin-right: 16px;\n }\n }\n}\n\nh2.hy-twitter-feed__title {\n @include font-size(26px, 32px);\n letter-spacing: -0.82px;\n\n @include breakpoint($narrow) {\n @include font-size(30px, 36px);\n letter-spacing: -0.6px;\n }\n\n .without-sidebar & {\n @include breakpoint($extrawide) {\n @include font-size(34px, 40px);\n letter-spacing: -0.68px;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($xlarge) {\n @include font-size(34px, 40px);\n letter-spacing: -0.68px;\n }\n }\n\n .is-front-page &,\n .is-landing-page & {\n @include font-size(28px, 32px);\n letter-spacing: -0.7px;\n text-transform: uppercase;\n\n @include breakpoint($narrow) {\n @include font-size(34px, 40px);\n letter-spacing: -0.85px;\n }\n\n .without-sidebar & {\n @include breakpoint($wide) {\n @include font-size(34px, 40px);\n letter-spacing: -0.68px;\n }\n\n @include breakpoint($extrawide) {\n @include font-size(42px, 48px);\n letter-spacing: -1.05px;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($extrawide) {\n @include font-size(34px, 40px);\n letter-spacing: -0.68px;\n }\n\n @include breakpoint($xlarge) {\n @include font-size(42px, 48px);\n letter-spacing: -1.05px;\n }\n }\n }\n}\n\nh3.hy-twitter-feed__title {\n @include font-size(21px, 28px);\n letter-spacing: -0.42px;\n\n @include breakpoint($narrow) {\n @include font-size(25px, 32px);\n letter-spacing: -0.5px;\n }\n\n .is-front-page &,\n .is-landing-page & {\n @include font-size(26px, 32px);\n letter-spacing: -0.52px;\n\n @include breakpoint($narrow) {\n @include font-size(30px, 36px);\n letter-spacing: -0.6px;\n }\n\n .without-sidebar & {\n @include breakpoint($wide) {\n @include font-size(30px, 36px);\n letter-spacing: -0.6px;\n }\n\n @include breakpoint($extrawide) {\n @include font-size(34px, 40px);\n letter-spacing: -0.68px;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($extrawide) {\n @include font-size(30px, 36px);\n letter-spacing: -0.6px;\n }\n\n @include breakpoint($xlarge) {\n @include font-size(34px, 40px);\n letter-spacing: -0.68px;\n }\n }\n }\n}\n\n.hy-twitter-feed__keyword {\n @include font-size(15px, 22px);\n margin: 0;\n font-weight: $regular;\n font-family: var(--main-font-family);\n color: var(--grayscale-dark-text);\n display: inline-flex;\n align-items: center;\n\n hy-icon {\n margin-right: 4px;\n\n @include breakpoint($narrow) {\n margin-right: 6px;\n }\n\n svg {\n @include breakpoint($narrow) {\n width: 24px;\n height: 24px;\n }\n }\n }\n\n @include breakpoint($narrow) {\n @include font-size(16px, 24px);\n }\n\n .without-sidebar & {\n @include breakpoint($extrawide) {\n @include font-size(17px, 24px);\n }\n\n hy-icon {\n svg {\n @include breakpoint($extrawide) {\n width: 32px;\n height: 32px;\n }\n }\n }\n }\n\n .with-sidebar & {\n @include breakpoint($xlarge) {\n @include font-size(17px, 24px);\n }\n\n hy-icon {\n svg {\n @include breakpoint($xlarge) {\n width: 32px;\n height: 32px;\n }\n }\n }\n }\n\n + a {\n @include font-size(15px, 18px);\n margin: 0 0 0 8px;\n font-weight: $semibold;\n font-family: var(--main-font-family);\n color: var(--link-blue);\n letter-spacing: -0.28px;\n text-decoration: none;\n align-items: center;\n display: inline-flex;\n\n &:hover {\n text-decoration: underline;\n }\n\n hy-icon {\n margin-right: 6px;\n\n svg {\n fill: var(--link-blue);\n }\n }\n\n @include breakpoint($narrow) {\n @include font-size(14px, 18px);\n letter-spacing: -0.26px;\n margin: 0 0 0 12px;\n }\n\n .without-sidebar & {\n @include breakpoint($extrawide) {\n @include font-size(16px, 20px);\n letter-spacing: -0.3px;\n margin: 0 0 0 16px;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($xlarge) {\n @include font-size(16px, 20px);\n letter-spacing: -0.3px;\n margin: 0 0 0 16px;\n }\n }\n }\n}\n\n.hy-twitter-feed__tweets {\n list-style: none;\n padding: 0;\n margin: 0;\n display: grid;\n grid-template-columns: 1fr;\n gap: 16px;\n\n @include breakpoint($narrow) {\n grid-template-columns: repeat(2, 1fr);\n gap: 24px;\n }\n\n .without-sidebar & {\n @include breakpoint($wide) {\n grid-template-columns: repeat(3, 1fr);\n }\n }\n\n .with-sidebar & {\n @include breakpoint($extrawide) {\n grid-template-columns: repeat(3, 1fr);\n }\n }\n}\n\n.hy-twitter-tweet {\n background-color: var(--grayscale-background-box);\n height: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n}\n\n.hy-twitter-tweet__header {\n display: flex;\n align-items: center;\n margin-left: -8px;\n padding-top: 12px;\n margin-bottom: 8px;\n\n @include breakpoint($narrow) {\n padding-top: 16px;\n }\n}\n\n.hy-twitter-tweet__profile-image {\n img {\n height: 70px;\n width: 70px;\n\n .without-sidebar & {\n @include breakpoint($extrawide) {\n height: 80px;\n width: 80px;\n }\n }\n\n .with-sidebar & {\n @include breakpoint($xlarge) {\n height: 80px;\n width: 80px;\n }\n }\n }\n}\n\n.hy-twitter-tweet__header-content {\n margin-left: 8px;\n\n time {\n @include font-size(12px, 14px);\n font-weight: $regular;\n font-family: var(--main-font-family);\n color: var(--grayscale-black);\n letter-spacing: -0.1px;\n }\n\n p {\n @include font-size(15px, 18px);\n font-weight: $bold;\n font-family: var(--main-font-family);\n color: var(--brand-main-nearly-black);\n letter-spacing: -0.3px;\n margin: 4px 0 2px;\n\n @include breakpoint($narrow) {\n @include font-size(16px, 20px);\n letter-spacing: -0.32px;\n }\n }\n\n a {\n @include font-size(12px, 16px);\n font-weight: $semibold;\n font-family: var(--main-font-family);\n color: var(--link-blue);\n letter-spacing: -0.1px;\n text-decoration: none;\n position: relative;\n z-index: 10;\n\n &:hover {\n text-decoration: underline;\n }\n }\n}\n\n.hy-twitter-tweet__content-wrapper {\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n\n.hy-twitter-tweet__content {\n padding: 0 16px;\n\n p {\n @include font-size(15px, 20px);\n font-weight: $regular;\n font-family: var(--main-font-family);\n color: var(--grayscale-dark-text);\n letter-spacing: -0.03px;\n margin: 0 0 8px;\n\n @include breakpoint($narrow) {\n @include font-size(14px, 18px);\n letter-spacing: -0.08px;\n }\n }\n}\n\n.hy-twitter-tweet__tweet-link {\n @include font-size(12px, 16px);\n font-weight: $semibold;\n font-family: var(--main-font-family);\n color: var(--link-blue);\n letter-spacing: -0.1px;\n text-decoration: none;\n\n span {\n position: absolute;\n inset: 0;\n }\n\n &:hover {\n text-decoration: underline;\n }\n}\n\n.hy-twitter-tweet__statistics {\n margin-top: 16px;\n padding: 0 16px 16px;\n\n .visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n\n p {\n @include font-size(12px, 14px);\n font-weight: $regular;\n font-family: var(--main-font-family);\n color: var(--grayscale-dark);\n letter-spacing: -0.1px;\n margin: 0;\n display: inline-flex;\n align-items: center;\n\n &:not(:first-of-type) {\n margin-left: 16px;\n }\n\n hy-icon {\n margin-right: 4px;\n\n svg {\n fill: var(--grayscale-dark);\n }\n }\n }\n}\n","import {Component, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-twitter-feed\",\n styleUrl: \"hy-twitter-feed.scss\",\n shadow: false,\n})\nexport class HyTwitterFeed {\n @Prop() headingVariant: string;\n @Prop() paragraphTitle?: string;\n @Prop() twitterFeedKeyword: string;\n @Prop() tweetType: string;\n @Prop() tweets: string;\n\n render() {\n const parsedTweets = JSON.parse(this.tweets);\n const HeadingVariant = this.headingVariant.toLowerCase();\n\n if (this.tweetType === \"Hashtag\" && this.twitterFeedKeyword.charAt(0) === \"#\") {\n this.twitterFeedKeyword = this.twitterFeedKeyword.substring(1);\n }\n\n return (\n <section class=\"hy-twitter-feed\">\n <div class=\"hy-twitter-feed__header\">\n <HeadingVariant class=\"hy-twitter-feed__title\">{this.paragraphTitle || \"Twitter\"}</HeadingVariant>\n <p class=\"hy-twitter-feed__keyword\">\n <hy-icon icon={`hy-icon-some-twitter`} size={20} />\n {this.tweetType === \"Hashtag\" ? `#${this.twitterFeedKeyword}` : `@${this.twitterFeedKeyword}`}\n </p>\n {this.tweetType === \"Username\" && (\n <a href={`https://twitter.com/${this.twitterFeedKeyword}`} target=\"_blank\">\n <hy-icon icon={`hy-icon-plus`} size={12} />\n Follow\n </a>\n )}\n </div>\n <ul class=\"hy-twitter-feed__tweets\">\n {parsedTweets.map(\n ({\n tweet_text,\n tweet_created,\n tweet_absolute_url,\n tweet_like_count,\n tweet_retweet_count,\n user_name,\n user_username,\n user_profile_image_url,\n }) => {\n const dateFormatted = new Intl.DateTimeFormat(\"fi-FI\").format(new Date(tweet_created));\n\n return (\n <li class=\"hy-twitter-feed__item\">\n <article class=\"hy-twitter-tweet\">\n <header class=\"hy-twitter-tweet__header\">\n <figure class=\"hy-twitter-tweet__profile-image\" role=\"complementary\">\n <img src={user_profile_image_url} alt=\"\" />\n </figure>\n <div class=\"hy-twitter-tweet__header-content\">\n <time dateTime={tweet_created}>{dateFormatted}</time>\n <p>{user_name}</p>\n <a\n class=\"hy-twitter-tweet__user-link\"\n href={`https://twitter.com/${user_username}`}\n target=\"_blank\"\n >\n @{user_username}\n </a>\n </div>\n </header>\n <div class=\"hy-twitter-tweet__content-wrapper\">\n <div class=\"hy-twitter-tweet__content\">\n <p>{tweet_text.length > 113 ? `${tweet_text.substr(0, 113)}...` : tweet_text}</p>\n <a class=\"hy-twitter-tweet__tweet-link\" href={tweet_absolute_url} target=\"_blank\">\n <span aria-hidden=\"true\"></span>\n {`${tweet_absolute_url.substr(0, 24)}...`}\n </a>\n </div>\n <div class=\"hy-twitter-tweet__statistics\" role=\"complementary\">\n <p>\n <span class=\"visually-hidden\">Tweet like count: </span>\n <hy-icon icon={`hy-icon-some-twitter-like`} size={16} />\n {tweet_like_count}\n </p>\n <p>\n <span class=\"visually-hidden\">Tweet retweet count: </span>\n <hy-icon icon={`hy-icon-some-twitter-retwe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bQ,KAIRd,EAAA,OAAKC,MAAM,qCACTD,EAAA,OAAKC,MAAM,6BACTD,EAAA,SAAIQ,EAAWiB,OAAS,IAAM,GAAGjB,EAAWkB,OAAO,EAAG,UAAYlB,GAClER,EAAA,KAAGC,MAAM,+BAA+BI,KAAMK,EAAoBJ,OAAO,UACvEN,EAAA,sBAAkB,SACjB,GAAGU,EAAmBgB,OAAO,EAAG,WAGrC1B,EAAA,OAAKC,MAAM,+BAA+BoB,KAAK,iBAC7CrB,EAAA,SACEA,EAAA,QAAMC,MAAM,mBAAiB,sBAC7BD,EAAA,WAASG,KAAM,4BAA6BC,KAAM,KACjDO,GAEHX,EAAA,SACEA,EAAA,QAAMC,MAAM,mBAAiB,yBAC7BD,EAAA,WAASG,KAAM,+BAAgCC,KAAM,KACpDQ,MAKN,K"}
@@ -0,0 +1,2 @@
1
+ import{r as e,h as i,H as t}from"./index-f84f2a7d.js";const r=":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-two-columns{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-two-columns h2,.hy-two-columns h3,.hy-two-columns h4,.hy-two-columns h5,.hy-two-columns h6{margin-top:0}.hy-two-columns p{margin-top:0}@media (min-width: 30rem){.hy-two-columns{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-two-columns--reversed{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 30rem){.hy-two-columns--reversed{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}}.hy-two-columns--reversed .hy-two-columns__item--side{margin-left:0;margin-right:0}@media (min-width: 30rem){.hy-two-columns--reversed .hy-two-columns__item--side{margin-right:5.79%}}@media (min-width: 60rem){.hy-two-columns--reversed .hy-two-columns__item--side{margin-right:8.5%}}.hy-two-columns__item{width:100%}.hy-two-columns__item [slot=main]{width:100%}.hy-two-columns__item [slot=main] .hy-paragraph-text{width:100% !important}.hy-two-columns__item [slot=side]{width:100%}.hy-two-columns__item--main{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:100%;flex-basis:100%;width:100%}@media (min-width: 30rem){.hy-two-columns__item--main{-ms-flex-preferred-size:67.01%;flex-basis:67.01%}}@media (min-width: 60rem){.hy-two-columns__item--main{-ms-flex-preferred-size:63%;flex-basis:63%}}.hy-two-columns__item--side{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-right:0;padding-left:0;padding-right:0;width:100%}@media (min-width: 30rem){.hy-two-columns__item--side{-ms-flex-preferred-size:32.99%;flex-basis:32.99%;margin-left:5.79%}}@media (min-width: 60rem){.hy-two-columns__item--side{-ms-flex-preferred-size:37%;flex-basis:37%;margin-left:8.5%;padding:0}}.hy-two-columns__item--side hy-key-figure{padding:0 10.67%}@media (min-width: 30rem){.hy-two-columns__item--side hy-key-figure{padding:0}}";const o=class{constructor(i){e(this,i);this.reversed=false}render(){const e=["hy-two-columns",this.reversed?"hy-two-columns--reversed":""].join(" ");return i(t,null,i("div",{class:e},i("div",{class:"hy-two-columns__item hy-two-columns__item--main"},i("slot",{name:"main"})),i("div",{class:"hy-two-columns__item hy-two-columns__item--side"},i("slot",{name:"side"}))))}};o.style=r;export{o as hy_two_columns};
2
+ //# sourceMappingURL=hy-two-columns.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["hyTwoColumnsCss","HyTwoColumns","render","classAttributes","this","reversed","join","h","Host","class","name"],"sources":["./src/components/hy-two-columns/hy-two-columns.scss?tag=hy-two-columns","./src/components/hy-two-columns/hy-two-columns.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hy-two-columns {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-top: 0;\n }\n p {\n margin-top: 0;\n }\n\n @include breakpoint($narrow) {\n flex-direction: row;\n }\n\n &--reversed {\n flex-direction: column;\n\n @include breakpoint($narrow) {\n flex-direction: row-reverse;\n }\n\n .hy-two-columns__item--side {\n margin-left: 0;\n margin-right: 0;\n\n @include breakpoint($narrow) {\n margin-right: 5.79%;\n }\n\n @include breakpoint($wide) {\n margin-right: 8.5%;\n }\n }\n }\n}\n\n.hy-two-columns__item {\n width: 100%;\n\n [slot=\"main\"] {\n width: 100%;\n\n .hy-paragraph-text {\n width: 100% !important;\n }\n }\n\n [slot=\"side\"] {\n width: 100%;\n }\n\n &--main {\n display: flex;\n flex-basis: 100%;\n width: 100%;\n\n @include breakpoint($narrow) {\n flex-basis: 67.01%;\n }\n\n @include breakpoint($wide) {\n flex-basis: 63%;\n }\n }\n\n &--side {\n display: flex;\n flex-basis: 100%;\n margin-left: 0;\n margin-right: 0;\n padding-left: 0;\n padding-right: 0;\n width: 100%;\n\n @include breakpoint($narrow) {\n flex-basis: 32.99%; // sidebar width is always 4.5 column of the global 12-col content area grid.\n margin-left: 5.79%; // (half of the column+gutter) of global 12-col grid = gap between main and sidebar\n }\n\n @include breakpoint($wide) {\n flex-basis: 37%;\n margin-left: 8.5%; // (1 column + gutter) of global 12-col grid = gap between main and sidebar\n padding: 0;\n }\n\n // Key figure block inside Sidebar\n hy-key-figure {\n padding: 0 10.67%;\n @include breakpoint($narrow) {\n padding: 0;\n }\n }\n }\n}\n","import {Component, Host, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-two-columns\",\n styleUrl: \"hy-two-columns.scss\",\n shadow: false,\n})\nexport class HyTwoColumns {\n @Prop() reversed: boolean = false;\n\n render() {\n const classAttributes = [\"hy-two-columns\", this.reversed ? \"hy-two-columns--reversed\" : \"\"].join(\" \");\n\n return (\n <Host>\n <div class={classAttributes}>\n <div class=\"hy-two-columns__item hy-two-columns__item--main\">\n <slot name=\"main\"></slot>\n </div>\n <div class=\"hy-two-columns__item hy-two-columns__item--side\">\n <slot name=\"side\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"sDAAA,MAAMA,EAAkB,02G,MCOXC,EAAY,M,uCACK,K,CAE5BC,SACE,MAAMC,EAAkB,CAAC,iBAAkBC,KAAKC,SAAW,2BAA6B,IAAIC,KAAK,KAEjG,OACEC,EAACC,EAAI,KACHD,EAAA,OAAKE,MAAON,GACVI,EAAA,OAAKE,MAAM,mDACTF,EAAA,QAAMG,KAAK,UAEbH,EAAA,OAAKE,MAAM,mDACTF,EAAA,QAAMG,KAAK,W"}
@@ -0,0 +1,2 @@
1
+ import{r,h as e}from"./index-f84f2a7d.js";import{S as i,C as a}from"./utils-a4ebfef1.js";const o=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-user-login-form{font-family:var(--main-font-family)}.hy-user-login-form .user-login-form{position:relative}.hy-user-login-form .user-login-form .hy-login-label{margin-top:16px}.hy-user-login-form .user-login-form input{display:block;margin:8px 0 0 0;min-height:32px}.hy-user-login-form .user-login-form label{font-size:1rem;line-height:16px;font-weight:700;display:block}.hy-user-login-form .user-login-form label:before{content:"*";padding-right:3px}.hy-user-login-form .user-login-form div#edit-name--description,.hy-user-login-form .user-login-form div#edit-pass--description{display:none}.hy-user-login-form .user-login-form div.form-item-pass{margin-top:28px}.hy-user-login-form .user-login-form div#edit-actions{margin-top:32px}';const n=class{constructor(e){r(this,e);this.logoUrl=undefined;this.logoLabel=undefined}render(){const r="hy-user-login-form";const o=i.large;const n=a.black;return e("div",{class:r},e("div",{class:"hy-site-header__logo-container"},e("hy-site-logo",{size:o,color:n,url:this.logoUrl,label:this.logoLabel})),e("slot",null))}};n.style=o;export{n as hy_user_login_form};
2
+ //# sourceMappingURL=hy-user-login-form.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["hyUserLoginFormCss","HyUserLoginForm","render","classAttributes","logoSize","SiteLogoSize","large","logoColor","ColorVariant","black","h","class","size","color","url","this","logoUrl","label","logoLabel"],"sources":["./src/components/hy-user-login-form/hy-user-login-form.scss?tag=hy-user-login-form","./src/components/hy-user-login-form/hy-user-login-form.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hy-user-login-form {\n font-family: var(--main-font-family);\n\n .user-login-form {\n position: relative;\n\n .hy-login-label {\n margin-top: 16px;\n }\n\n input {\n display: block;\n margin: 8px 0 0 0;\n min-height: 32px;\n }\n\n label {\n @include font-size(16px, 16px);\n @include font-weight($bold);\n display: block;\n }\n\n label:before {\n content: \"*\";\n padding-right: 3px;\n }\n\n div#edit-name--description,\n div#edit-pass--description {\n display: none;\n }\n\n div.form-item-pass {\n margin-top: 28px;\n }\n\n div#edit-actions {\n margin-top: 32px;\n }\n }\n}\n","import {Component, h, Prop} from \"@stencil/core\";\nimport {ColorVariant, SiteLogoSize} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-user-login-form\",\n styleUrl: \"hy-user-login-form.scss\",\n shadow: false,\n})\nexport class HyUserLoginForm {\n @Prop() logoUrl?: string;\n @Prop() logoLabel?: string;\n\n render() {\n const classAttributes = \"hy-user-login-form\";\n\n const logoSize = SiteLogoSize.large;\n const logoColor = ColorVariant.black;\n\n return (\n <div class={classAttributes}>\n <div class={\"hy-site-header__logo-container\"}>\n <hy-site-logo size={logoSize} color={logoColor} url={this.logoUrl} label={this.logoLabel} />\n </div>\n\n <slot />\n </div>\n );\n }\n}\n"],"mappings":"yFAAA,MAAMA,EAAqB,w5D,MCQdC,EAAe,M,yEAI1BC,SACE,MAAMC,EAAkB,qBAExB,MAAMC,EAAWC,EAAaC,MAC9B,MAAMC,EAAYC,EAAaC,MAE/B,OACEC,EAAA,OAAKC,MAAOR,GACVO,EAAA,OAAKC,MAAO,kCACVD,EAAA,gBAAcE,KAAMR,EAAUS,MAAON,EAAWO,IAAKC,KAAKC,QAASC,MAAOF,KAAKG,aAGjFR,EAAA,a"}
@@ -0,0 +1,2 @@
1
+ import{r as i,h as e,g as t}from"./index-f84f2a7d.js";import{f as a}from"./utils-a4ebfef1.js";const o=':root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}a.hy-video{text-decoration:none}.hy-video__video-container{display:inline-block;margin-bottom:22px;position:relative;width:100%}.hy-video__video-container iframe{border:0;height:100%;overflow:hidden;width:100%}@supports (aspect-ratio: 16/9){.hy-video__video-container iframe{aspect-ratio:16/9;height:auto}}.hy-video__video-container .hy-video__preview-image{height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;top:0;width:100%}.hy-video__video-container .hy-video__play{background-color:var(--grayscale-white);left:50%;position:absolute;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.hy-video__video-container .hy-video__play button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:transparent;border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:24px}@media (min-width: 30rem){.hy-video__video-container .hy-video__play button{padding:36px}}.hy-video__video-container .hy-video__play button:hover{cursor:pointer}.hy-video__video-container .hy-video__play button .hy-video__button-label{font-size:0.9375rem;line-height:18px;color:var(--link-blue);font-family:var(--main-font-family);font-weight:bold;letter-spacing:-0.1px;text-align:center;text-transform:uppercase}@media (min-width: 30rem){.hy-video__video-container .hy-video__play button .hy-video__button-label{font-size:1.0625rem;line-height:20px;letter-spacing:-0.14px}}@media (min-width: 75.0625rem){.hy-video__video-container .hy-video__play button .hy-video__button-label{font-size:1.0625rem;line-height:20px;letter-spacing:-0.16px}}.hy-video__video-container .hy-video__play button svg{fill:var(--link-blue);height:44px;width:44px}@media (min-width: 60rem){.hy-video__video-container .hy-video__play button svg{height:80px;width:80px}}.hy-video__video-container .hy-video__play__simple{background-color:rgba(0, 0, 0, 0.2);position:absolute;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.hy-video__video-container .hy-video__play__simple:hover{cursor:pointer}.hy-video__video-container .hy-video__play__simple button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:transparent;border:none;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-video__video-container .hy-video__play__simple button svg{fill:var(--grayscale-white);height:44px;width:44px}@media (min-width: 60rem){.hy-video__video-container .hy-video__play__simple button svg{height:80px;width:80px}}.hy-video__video-container>*:not(.hy-video__label,.hy-video__play,.hy-video__play__simple){bottom:0;left:0;position:absolute;right:0;top:0}.hy-video__video-container:after{content:"";display:block;padding-top:56.25%}.hy-video:not(.hy-video--horizontal){display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 1601px){.hy-video:not(.hy-video--horizontal):not(.hy-video__default,.hy-video--list){max-width:66%}}.hy-video--list .hy-video__meta__details{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;gap:32px;margin:0}.hy-video--list .hy-video__meta__details--item{margin-right:0;padding-right:0}.hy-video__label{font-size:0.75rem;line-height:14px;display:inline-block;background-color:var(--grayscale-black);color:var(--grayscale-white);font-family:var(--main-font-family);font-weight:bold;letter-spacing:-0.5px;padding:6px 8px;margin:0 0 22px;text-transform:uppercase}.hy-video.hy-video--horizontal{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media (min-width: 60rem){.hy-video.hy-video--horizontal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-video.hy-video--horizontal .hy-video__meta{padding-left:0;width:100%}@media (min-width: 60rem){.hy-video.hy-video--horizontal .hy-video__meta{padding-left:2.5%;width:57.24%}}.hy-video__meta__title h2.hy-heading,.hy-video__meta__title h3.hy-heading{border:none;margin:8px 0 12px 0 !important;-ms-hyphens:auto;hyphens:auto;word-break:break-word;padding:0 !important}@media (min-width: 60rem){.hy-video__meta__title h2.hy-heading,.hy-video__meta__title h3.hy-heading{margin:0 0 16px 0 !important}}.hy-video__meta__details{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:12px}@media (min-width: 60rem){.hy-video__meta__details{margin-bottom:16px}}.hy-video__meta__details--item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-right:44px;min-width:87px;padding-right:46px;place-content:center space-between}.hy-video__meta__description__content{font-size:0.9375rem;line-height:22px;color:var(--grayscale-black);display:block;font-family:var(--main-font-family);letter-spacing:0;width:100%}@media (min-width: 30rem){.hy-video__meta__description__content{font-size:1.0625rem;line-height:26px}}.hy-video__meta__description__more-button{font-size:1rem;line-height:24px;color:var(--brand-main-light);font-family:var(--main-font-family)}.hy-video__meta__description__more-button:hover{cursor:pointer}.hy-video__meta__label{font-size:0.9375rem;line-height:18px;font-weight:700;color:var(--grayscale-black);font-family:var(--main-font-family);margin-bottom:4px}.hy-video__meta__content{font-size:0.9375rem;line-height:22px;color:var(--grayscale-black);font-family:var(--main-font-family);letter-spacing:-0.5px}@media (min-width: 30rem){.hy-video__meta__content{font-size:1.0625rem;line-height:26px;letter-spacing:-0.56px}}';const s=class{constructor(t){i(this,t);this.renderPreviewWithLink=()=>this.linkToVideo?e("a",{title:this.videoTitle,href:this.linkToVideo,class:"hy-video__link-to-video"},e("img",{loading:this.disableLazy?"eager":"lazy",class:"hy-video__preview-image",src:this.previewImageUrl,alt:this.videoTitle})):e("img",{loading:this.disableLazy?"eager":"lazy",class:"hy-video__preview-image",src:this.previewImageUrl,alt:this.videoTitle});this.renderPlayButton=()=>{if(this.simplePlayButton){return e("span",{class:"hy-video__play__simple"},e("button",{type:"button"},e("hy-icon",{icon:"hy-icon-video",class:"hy-video__play-icon",size:20})))}else{return e("span",{class:"hy-video__play"},e("button",{type:"button"},e("hy-icon",{icon:"hy-icon-video",class:"hy-video__play-icon",size:20}),e("span",{class:"hy-video__button-label"},this.playButtonLabel)))}};this.truncate=(i,e)=>i.length>e?i.substr(0,e-1)+"...":i;this.videoTitle=undefined;this.videoDescription=undefined;this.contextLabel=undefined;this.contextLabelVisible=false;this.previewImageUrl=undefined;this.linkToVideo=undefined;this.playButtonLabel=undefined;this.playButtonVisible=false;this.seriesLabel="In this series";this.seriesCount=null;this.views=undefined;this.viewsLabel=undefined;this.duration=undefined;this.durationLabel=undefined;this.dateAdded=undefined;this.dateAddedLabel=undefined;this.horizontal=false;this.disableLazy=false;this.headerstyle="default";this.showMoreLabel="Show more";this.showLessLabel="Show less";this.simplePlayButton=false;this.styleList=false;this.descCollapsed=false}componentDidLoad(){let i=this.el.closest(".hy-main");if(i){if(!i.classList.contains("with-sidebar")){this.headerstyle="large"}}if(this.videoDescription&&this.videoDescription.match(/\S/g).length>255){this.descCollapsed=true}}render(){const i=["hy-video",this.horizontal?"hy-video--horizontal":"",!this.styleList?`hy-video__${this.headerstyle}`:"",this.styleList?"hy-video--list":""].join(" ");const t=255;const o=this.videoDescription?this.videoDescription.match(/\S/g).length:0;if(this.linkToVideo&&this.styleList){return[e("a",{href:this.linkToVideo,class:i},this.videoTitle&&!this.horizontal&&!this.styleList&&e("hy-heading",{class:"hy-video__meta__title",heading:a.h2},this.videoTitle),e("div",{class:"hy-video__video-container"},this.previewImageUrl?e("div",null,this.renderPreviewWithLink(),e("slot",{name:"video"})):e("slot",{name:"video"}),this.playButtonVisible&&this.renderPlayButton()),e("div",{class:"hy-video__meta"},this.videoTitle&&this.horizontal||this.styleList&&e("hy-heading",{class:"hy-video__meta__title",heading:a.h3},this.videoTitle),this.contextLabelVisible&&e("span",{class:"hy-video__label"},this.contextLabel),(this.duration||this.views||this.dateAdded||this.seriesCount)&&e("div",{class:"hy-video__meta__details"},this.duration&&e("div",{class:"hy-video__meta__details--item"},e("span",{class:"hy-video__meta__label"},this.durationLabel),e("span",{class:"hy-video__meta__content"},this.duration)),this.views&&e("div",{class:"hy-video__meta__details--item"},e("span",{class:"hy-video__meta__label"},this.viewsLabel),e("span",{class:"hy-video__meta__content"},this.views)),this.dateAdded&&e("div",{class:"hy-video__meta__details--item"},e("span",{class:"hy-video__meta__label"},this.dateAddedLabel),e("span",{class:"hy-video__meta__content"},this.dateAdded)),!this.views&&this.seriesCount&&e("div",{class:"hy-video__meta__details--item"},e("span",{class:"hy-video__meta__label"},this.seriesLabel),e("span",{class:"hy-video__meta__content"},this.seriesCount))),this.videoDescription&&e("div",{class:"hy-video__meta__description","aria-expanded":this.descCollapsed?"false":"true"},e("div",{class:"hy-video__meta__description__content"},this.descCollapsed?this.truncate(this.videoDescription,255):this.videoDescription),o>t&&e("span",{class:"hy-video__meta__description__more-button",role:"button",tabindex:"0","aria-expanded":this.descCollapsed?"false":"true",onClick:()=>this.descCollapsed=!this.descCollapsed,onKeyDown:i=>{if(i.key!=" ")return;i.preventDefault();this.descCollapsed=!this.descCollapsed}},this.descCollapsed?this.showMoreLabel:this.showLessLabel))))]}else{return[e("div",{class:i},this.videoTitle&&!this.horizontal&&!this.styleList&&e("hy-heading",{class:"hy-video__meta__title",heading:a.h2},this.videoTitle),e("div",{class:"hy-video__video-container"},this.previewImageUrl?e("div",null,this.renderPreviewWithLink(),e("slot",{name:"video"})):e("slot",{name:"video"}),this.playButtonVisible&&this.renderPlayButton()),e("div",{class:"hy-video__meta"},this.videoTitle&&this.horizontal||this.styleList&&e("hy-heading",{class:"hy-video__meta__title",heading:a.h2},this.videoTitle),this.contextLabelVisible&&e("span",{class:"hy-video__label"},this.contextLabel),(this.duration||this.views||this.dateAdded)&&e("div",{class:"hy-video__meta__details"},this.duration&&e("div",{class:"hy-video__meta__details--item"},e("span",{class:"hy-video__meta__label"},this.durationLabel),e("span",{class:"hy-video__meta__content"},this.duration)),this.views&&e("div",{class:"hy-video__meta__details--item"},e("span",{class:"hy-video__meta__label"},this.viewsLabel),e("span",{class:"hy-video__meta__content"},this.views)),this.dateAdded&&e("div",{class:"hy-video__meta__details--item"},e("span",{class:"hy-video__meta__label"},this.dateAddedLabel),e("span",{class:"hy-video__meta__content"},this.dateAdded))),this.videoDescription&&e("div",{class:"hy-video__meta__description","aria-expanded":this.descCollapsed?"false":"true"},e("div",{class:"hy-video__meta__description__content"},this.descCollapsed?this.truncate(this.videoDescription,255):this.videoDescription),o>t&&e("span",{class:"hy-video__meta__description__more-button",role:"button",tabindex:"0","aria-expanded":this.descCollapsed?"false":"true",onClick:()=>this.descCollapsed=!this.descCollapsed,onKeyDown:i=>{if(i.key!=" ")return;i.preventDefault();this.descCollapsed=!this.descCollapsed}},this.descCollapsed?this.showMoreLabel:this.showLessLabel)))),e("hy-box",{mb:"1.75, 1.75, 2, 2.5"})]}}get el(){return t(this)}};s.style=o;export{s as hy_video};
2
+ //# sourceMappingURL=hy-video.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["hyVideoCss","HyVideo","this","renderPreviewWithLink","linkToVideo","h","title","videoTitle","href","class","loading","disableLazy","src","previewImageUrl","alt","renderPlayButton","simplePlayButton","type","icon","size","playButtonLabel","truncate","str","n","length","substr","componentDidLoad","hyMainDiv","el","closest","classList","contains","headerstyle","videoDescription","match","descCollapsed","render","classAttributes","horizontal","styleList","join","maxChars","charCount","heading","HeadingVarians","h2","name","playButtonVisible","h3","contextLabelVisible","contextLabel","duration","views","dateAdded","seriesCount","durationLabel","viewsLabel","dateAddedLabel","seriesLabel","role","tabindex","onClick","onKeyDown","e","key","preventDefault","showMoreLabel","showLessLabel","mb"],"sources":["./src/components/hy-video/hy-video.scss?tag=hy-video","./src/components/hy-video/hy-video.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\na.hy-video {\n text-decoration: none;\n}\n\n.hy-video__video-container {\n display: inline-block;\n margin-bottom: 22px;\n position: relative;\n width: 100%;\n\n iframe {\n border: 0;\n height: 100%;\n overflow: hidden;\n width: 100%;\n\n @supports (aspect-ratio: 16 / 9) {\n aspect-ratio: 16 / 9;\n height: auto;\n }\n }\n\n .hy-video__preview-image {\n height: 100%;\n left: 0;\n object-fit: cover;\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n .hy-video__play {\n background-color: var(--grayscale-white);\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n\n button {\n align-items: center;\n background: transparent;\n border: none;\n display: flex;\n flex-direction: column;\n padding: 24px;\n\n @include breakpoint($narrow) {\n padding: 36px;\n }\n\n &:hover {\n cursor: pointer;\n }\n }\n\n button .hy-video__button-label {\n @include font-size(15px, 18px);\n\n color: var(--link-blue);\n font-family: var(--main-font-family);\n font-weight: bold;\n letter-spacing: -0.1px;\n text-align: center;\n text-transform: uppercase;\n\n @include breakpoint($narrow) {\n @include font-size(17px, 20px);\n\n letter-spacing: -0.14px;\n }\n\n @include breakpoint($extrawide) {\n @include font-size(17px, 20px);\n\n letter-spacing: -0.16px;\n }\n }\n\n button svg {\n fill: var(--link-blue);\n height: 44px;\n width: 44px;\n\n @include breakpoint($wide) {\n height: 80px;\n width: 80px;\n }\n }\n }\n\n .hy-video__play__simple {\n background-color: rgba(#000000, 0.2);\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n &:hover {\n cursor: pointer;\n }\n\n button {\n align-items: center;\n background: transparent;\n border: none;\n display: flex;\n }\n\n button svg {\n fill: var(--grayscale-white);\n height: 44px;\n width: 44px;\n\n @include breakpoint($wide) {\n height: 80px;\n width: 80px;\n }\n }\n }\n\n > *:not(.hy-video__label, .hy-video__play, .hy-video__play__simple) {\n bottom: 0;\n left: 0;\n position: absolute;\n right: 0;\n top: 0;\n }\n\n &:after {\n content: \"\";\n display: block;\n // 16:9 ratio\n padding-top: calc(9 / 16) * 100%;\n }\n}\n\n.hy-video:not(.hy-video--horizontal) {\n display: flex;\n flex-direction: column;\n\n &:not(.hy-video__default, .hy-video--list) {\n @include breakpoint($xlarge) {\n max-width: 66%;\n }\n }\n}\n\n.hy-video--list {\n .hy-video__meta__details {\n justify-content: flex-start;\n gap: 32px;\n margin: 0;\n }\n .hy-video__meta__details--item {\n margin-right: 0;\n padding-right: 0;\n }\n}\n\n.hy-video__label {\n // font: h5 small size\n @include font-size(12px, 14px);\n display: inline-block;\n background-color: var(--grayscale-black);\n color: var(--grayscale-white);\n font-family: var(--main-font-family);\n font-weight: bold;\n letter-spacing: -0.5px;\n padding: 6px 8px;\n margin: 0 0 22px;\n text-transform: uppercase;\n}\n\n.hy-video.hy-video--horizontal {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n @include breakpoint($wide) {\n flex-direction: row;\n }\n\n .hy-video__meta {\n padding-left: 0;\n width: 100%;\n\n @include breakpoint($wide) {\n padding-left: 2.5%;\n width: 57.24%;\n }\n }\n}\n\n.hy-video__meta__title {\n h2.hy-heading,\n h3.hy-heading {\n border: none;\n margin: 8px 0 12px 0 !important;\n hyphens: auto;\n word-break: break-word;\n padding: 0 !important;\n\n @include breakpoint($wide) {\n margin: 0 0 16px 0 !important;\n }\n }\n}\n\n.hy-video__meta__details {\n display: flex;\n flex-direction: row;\n margin-bottom: 12px;\n\n @include breakpoint($wide) {\n margin-bottom: 16px;\n }\n}\n\n.hy-video__meta__details--item {\n display: flex;\n flex-direction: column;\n margin-right: 44px;\n min-width: 87px;\n padding-right: 46px;\n place-content: center space-between;\n}\n\n.hy-video__meta__description__content {\n @include font-size(15px, 22px);\n\n color: var(--grayscale-black);\n display: block;\n font-family: var(--main-font-family);\n letter-spacing: 0;\n width: 100%;\n\n @include breakpoint($narrow) {\n @include font-size(17px, 26px);\n }\n}\n\n.hy-video__meta__description__more-button {\n @include font-size(16px, 24px);\n color: var(--brand-main-light);\n font-family: var(--main-font-family);\n\n &:hover {\n cursor: pointer;\n }\n}\n\n.hy-video__meta__label {\n @include font-size(15px, 18px);\n @include font-weight($bold);\n color: var(--grayscale-black);\n font-family: var(--main-font-family);\n margin-bottom: 4px;\n}\n\n.hy-video__meta__content {\n @include font-size(15px, 22px);\n\n color: var(--grayscale-black);\n font-family: var(--main-font-family);\n letter-spacing: -0.5px;\n\n @include breakpoint($narrow) {\n @include font-size(17px, 26px);\n\n letter-spacing: -0.56px;\n }\n}\n","import {Component, Prop, h, Element, State} from \"@stencil/core\";\nimport {HeadingVarians} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-video\",\n styleUrl: \"hy-video.scss\",\n shadow: false,\n})\nexport class HyVideo {\n @Element() el: HTMLElement;\n\n /** Video title */\n @Prop() videoTitle: string;\n /** Video description */\n @Prop() videoDescription: string;\n /** Context label */\n @Prop() contextLabel: string;\n /** Should context label be visible */\n @Prop() contextLabelVisible: boolean = false;\n /** Preview image url */\n @Prop() previewImageUrl: string;\n /** Url to video, used with preview image */\n @Prop() linkToVideo: string;\n /** Label for play button if preview image is provided */\n @Prop() playButtonLabel: string;\n /** Should play button be visible */\n @Prop() playButtonVisible: boolean = false;\n /** Series label */\n @Prop() seriesLabel: string = \"In this series\";\n /** Series count */\n @Prop() seriesCount: string = null;\n /** Views count number */\n @Prop() views: string;\n /** Label for views number */\n @Prop() viewsLabel: string;\n /** Duration number */\n @Prop() duration: string;\n /** Label for duration number */\n @Prop() durationLabel: string;\n /** Date added date as string */\n @Prop() dateAdded: string;\n /** Label for date added */\n @Prop() dateAddedLabel: string;\n /** Use horizontal layout where metadata is on side */\n @Prop() horizontal: boolean = false;\n\n @Prop() disableLazy: boolean = false;\n\n @Prop() headerstyle: string = \"default\";\n\n @Prop() showMoreLabel: string = \"Show more\";\n\n @Prop() showLessLabel: string = \"Show less\";\n\n @Prop() simplePlayButton: boolean = false;\n\n @Prop() styleList: boolean = false;\n\n @State() descCollapsed: boolean = false;\n\n componentDidLoad() {\n let hyMainDiv = this.el.closest(\".hy-main\");\n if (hyMainDiv) {\n if (!hyMainDiv.classList.contains(\"with-sidebar\")) {\n this.headerstyle = \"large\";\n }\n }\n\n if (this.videoDescription && this.videoDescription.match(/\\S/g).length > 255) {\n this.descCollapsed = true;\n }\n }\n\n renderPreviewWithLink = () => {\n return this.linkToVideo ? (\n <a title={this.videoTitle} href={this.linkToVideo} class=\"hy-video__link-to-video\">\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n class=\"hy-video__preview-image\"\n src={this.previewImageUrl}\n alt={this.videoTitle}\n />\n </a>\n ) : (\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n class=\"hy-video__preview-image\"\n src={this.previewImageUrl}\n alt={this.videoTitle}\n />\n );\n };\n\n renderPlayButton = () => {\n if (this.simplePlayButton) {\n return (\n <span class=\"hy-video__play__simple\">\n <button type=\"button\">\n <hy-icon icon={\"hy-icon-video\"} class={\"hy-video__play-icon\"} size={20} />\n </button>\n </span>\n );\n } else {\n return (\n <span class=\"hy-video__play\">\n <button type=\"button\">\n <hy-icon icon={\"hy-icon-video\"} class={\"hy-video__play-icon\"} size={20} />\n <span class=\"hy-video__button-label\">{this.playButtonLabel}</span>\n </button>\n </span>\n );\n }\n };\n\n truncate = (str, n) => {\n return str.length > n ? str.substr(0, n - 1) + \"...\" : str;\n };\n\n render() {\n const classAttributes = [\n \"hy-video\",\n this.horizontal ? \"hy-video--horizontal\" : \"\",\n !this.styleList ? `hy-video__${this.headerstyle}` : \"\",\n this.styleList ? \"hy-video--list\" : \"\",\n ].join(\" \");\n\n const maxChars = 255;\n const charCount = this.videoDescription ? this.videoDescription.match(/\\S/g).length : 0;\n\n if (this.linkToVideo && this.styleList) {\n return [\n <a href={this.linkToVideo} class={classAttributes}>\n {this.videoTitle && !this.horizontal && !this.styleList && (\n <hy-heading class=\"hy-video__meta__title\" heading={HeadingVarians.h2}>\n {this.videoTitle}\n </hy-heading>\n )}\n <div class=\"hy-video__video-container\">\n {this.previewImageUrl ? (\n <div>\n {this.renderPreviewWithLink()}\n <slot name=\"video\"></slot>\n </div>\n ) : (\n <slot name=\"video\"></slot>\n )}\n {this.playButtonVisible && this.renderPlayButton()}\n </div>\n <div class=\"hy-video__meta\">\n {(this.videoTitle && this.horizontal) ||\n (this.styleList && (\n <hy-heading class=\"hy-video__meta__title\" heading={HeadingVarians.h3}>\n {this.videoTitle}\n </hy-heading>\n ))}\n {this.contextLabelVisible && <span class=\"hy-video__label\">{this.contextLabel}</span>}\n {(this.duration || this.views || this.dateAdded || this.seriesCount) && (\n <div class=\"hy-video__meta__details\">\n {this.duration && (\n <div class=\"hy-video__meta__details--item\">\n <span class=\"hy-video__meta__label\">{this.durationLabel}</span>\n <span class=\"hy-video__meta__content\">{this.duration}</span>\n </div>\n )}\n {this.views && (\n <div class=\"hy-video__meta__details--item\">\n <span class=\"hy-video__meta__label\">{this.viewsLabel}</span>\n <span class=\"hy-video__meta__content\">{this.views}</span>\n </div>\n )}\n {this.dateAdded && (\n <div class=\"hy-video__meta__details--item\">\n <span class=\"hy-video__meta__label\">{this.dateAddedLabel}</span>\n <span class=\"hy-video__meta__content\">{this.dateAdded}</span>\n </div>\n )}\n {!this.views && this.seriesCount && (\n <div class=\"hy-video__meta__details--item\">\n <span class=\"hy-video__meta__label\">{this.seriesLabel}</span>\n <span class=\"hy-video__meta__content\">{this.seriesCount}</span>\n </div>\n )}\n </div>\n )}\n {this.videoDescription && (\n <div class=\"hy-video__meta__description\" aria-expanded={this.descCollapsed ? \"false\" : \"true\"}>\n <div class=\"hy-video__meta__description__content\">\n {this.descCollapsed ? this.truncate(this.videoDescription, 255) : this.videoDescription}\n </div>\n {charCount > maxChars && (\n <span\n class=\"hy-video__meta__description__more-button\"\n role=\"button\"\n tabindex=\"0\"\n aria-expanded={this.descCollapsed ? \"false\" : \"true\"}\n onClick={() => (this.descCollapsed = !this.descCollapsed)}\n onKeyDown={(e) => {\n if (e.key != \" \") return;\n e.preventDefault();\n this.descCollapsed = !this.descCollapsed;\n }}\n >\n {this.descCollapsed ? this.showMoreLabel : this.showLessLabel}\n </span>\n )}\n </div>\n )}\n </div>\n </a>,\n ];\n } else {\n return [\n <div class={classAttributes}>\n {this.videoTitle && !this.horizontal && !this.styleList && (\n <hy-heading class=\"hy-video__meta__title\" heading={HeadingVarians.h2}>\n {this.videoTitle}\n </hy-heading>\n )}\n <div class=\"hy-video__video-container\">\n {this.previewImageUrl ? (\n <div>\n {this.renderPreviewWithLink()}\n <slot name=\"video\"></slot>\n </div>\n ) : (\n <slot name=\"video\"></slot>\n )}\n {this.playButtonVisible && this.renderPlayButton()}\n </div>\n <div class=\"hy-video__meta\">\n {(this.videoTitle && this.horizontal) ||\n (this.styleList && (\n <hy-heading class=\"hy-video__meta__title\" heading={HeadingVarians.h2}>\n {this.videoTitle}\n </hy-heading>\n ))}\n {this.contextLabelVisible && <span class=\"hy-video__label\">{this.contextLabel}</span>}\n {(this.duration || this.views || this.dateAdded) && (\n <div class=\"hy-video__meta__details\">\n {this.duration && (\n <div class=\"hy-video__meta__details--item\">\n <span class=\"hy-video__meta__label\">{this.durationLabel}</span>\n <span class=\"hy-video__meta__content\">{this.duration}</span>\n </div>\n )}\n {this.views && (\n <div class=\"hy-video__meta__details--item\">\n <span class=\"hy-video__meta__label\">{this.viewsLabel}</span>\n <span class=\"hy-video__meta__content\">{this.views}</span>\n </div>\n )}\n {this.dateAdded && (\n <div class=\"hy-video__meta__details--item\">\n <span class=\"hy-video__meta__label\">{this.dateAddedLabel}</span>\n <span class=\"hy-video__meta__content\">{this.dateAdded}</span>\n </div>\n )}\n </div>\n )}\n {this.videoDescription && (\n <div class=\"hy-video__meta__description\" aria-expanded={this.descCollapsed ? \"false\" : \"true\"}>\n <div class=\"hy-video__meta__description__content\">\n {this.descCollapsed ? this.truncate(this.videoDescription, 255) : this.videoDescription}\n </div>\n {charCount > maxChars && (\n <span\n class=\"hy-video__meta__description__more-button\"\n role=\"button\"\n tabindex=\"0\"\n aria-expanded={this.descCollapsed ? \"false\" : \"true\"}\n onClick={() => (this.descCollapsed = !this.descCollapsed)}\n onKeyDown={(e) => {\n if (e.key != \" \") return;\n e.preventDefault();\n this.descCollapsed = !this.descCollapsed;\n }}\n >\n {this.descCollapsed ? this.showMoreLabel : this.showLessLabel}\n </span>\n )}\n </div>\n )}\n </div>\n </div>,\n <hy-box mb=\"1.75, 1.75, 2, 2.5\" />,\n ];\n }\n }\n}\n"],"mappings":"8FAAA,MAAMA,EAAa,grO,MCQNC,EAAO,M,yBAiElBC,KAAAC,sBAAwB,IACfD,KAAKE,YACVC,EAAA,KAAGC,MAAOJ,KAAKK,WAAYC,KA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CACTJ,EAAA,QAAMI,MAAM,yBAAyBP,KAAKqD,eAC1ClD,EAAA,QAAMI,MAAM,2BAA2BP,KAAKiD,WAG/CjD,KAAKkD,OACJ/C,EAAA,OAAKI,MAAM,iCACTJ,EAAA,QAAMI,MAAM,yBAAyBP,KAAKsD,YAC1CnD,EAAA,QAAMI,MAAM,2BAA2BP,KAAKkD,QAG/ClD,KAAKmD,WACJhD,EAAA,OAAKI,MAAM,iCACTJ,EAAA,QAAMI,MAAM,yBAAyBP,KAAKuD,gBAC1CpD,EAAA,QAAMI,MAAM,2BAA2BP,KAAKmD,aAKnDnD,KAAK+B,kBACJ5B,EAAA,OAAKI,MAAM,8BAA6B,gBAAgBP,KAAKiC,cAAgB,QAAU,QACrF9B,EAAA,OAAKI,MAAM,wCACRP,KAAKiC,cAAgBjC,KAAKmB,SAASnB,KAAK+B,iBAAkB,KAAO/B,KAAK+B,kBAExES,EAAYD,GACXpC,EAAA,QACEI,MAAM,2CACNkD,KAAK,SACLC,SAAS,IAAG,gBACG1D,KAAKiC,cAAgB,QAAU,OAC9C0B,QAAS,IAAO3D,KAAKiC,eAAiBjC,KAAKiC,cAC3C2B,UAAYC,IACV,GAAIA,EAAEC,KAAO,IAAK,OAClBD,EAAEE,iBACF/D,KAAKiC,eAAiBjC,KAAKiC,aAAa,GAGzCjC,KAAKiC,cAAgBjC,KAAKgE,cAAgBhE,KAAKiE,kBAO5D9D,EAAA,UAAQ+D,GAAG,uB"}
@@ -0,0 +1,2 @@
1
+ const t=typeof window.WeakMap==="function"&&typeof window.Map==="function";const e=(()=>{if(t){return window.WeakMap}function e(t,e){let i=-1;t.some(((t,s)=>{let n=t[0]===e;if(n){i=s}return n}));return i}return class{constructor(){this.__entries__=[]}get(t){let i=e(this.__entries__,t);return this.__entries__[i][1]}set(t,i){let s=e(this.__entries__,t);if(~s){this.__entries__[s][1]=i}else{this.__entries__.push([t,i])}}delete(t){let i=this.__entries__,s=e(i,t);if(~s){i.splice(s,1)}}has(t){return!!~e(this.__entries__,t)}}})();const i=(()=>{if(t){return window.Map}return class extends e{get size(){return this.__entries__.length}clear(){this.__entries__.splice(0,this.__entries__.length)}entries(){return this.__entries__.slice()}keys(){return this.__entries__.map((t=>t[0]))}values(){return this.__entries__.map((t=>t[1]))}forEach(t,e=null){for(const i of this.__entries__){t.call(e,i[1],i[0])}}}})();const s=(()=>{if(window.performance&&typeof window.performance.now==="function"){return()=>window.performance.now()}return()=>Date.now()})();const n=(()=>{if(window.requestAnimationFrame&&typeof window.requestAnimationFrame==="function"){return window.requestAnimationFrame}return t=>setTimeout((()=>t(Date.now())),1e3/60)})();const r=typeof window.MutationObserver==="function";function o(t,e=0){let i=false;return function(...s){if(i!==false){clearTimeout(i)}i=setTimeout((()=>{i=false;t.apply(this,s)}),e)}}class h{constructor(t=50,e=false){this._idleTimeout=t;this._isCycleContinuous=e;this._cycleStartTime=0;this._isCycleActive=false;this._isUpdateScheduled=false;this._listenersEnabled=false;this._mutationsObserver=null;this._observers=[];this.runUpdates=this.runUpdates.bind(this);this._resolveScheduled=this._resolveScheduled.bind(this);this._onMutation=this._onMutation.bind(this);this._continuousCycleHandler=o(this.runUpdates,200)}get idleTimeout(){return this._idleTimeout}set idleTimeout(t){this._idleTimeout=t}get continuousUpdates(){return this._isCycleContinuous}set continuousUpdates(t){if(r){this._isCycleContinuous=t}}connect(t){if(!this.isConnected(t)){this._observers.push(t)}if(!this._listenersEnabled){this._addListeners()}}disconnect(t){let e=this._observers,i=e.indexOf(t);if(~i){e.splice(i,1)}if(!e.length&&this._listenersEnabled){this._removeListeners()}}isConnected(t){return!!~this._observers.indexOf(t)}_updateObservers(){let t=false;for(const e of this._observers){e.gatherActive();if(e.hasActive()){t=true;e.broadcastActive()}}return t}runUpdates(){this._cycleStartTime=s();this._isCycleActive=true;this.scheduleUpdate()}scheduleUpdate(){if(!this._isUpdateScheduled){this._isUpdateScheduled=true;n(this._resolveScheduled)}}_resolveScheduled(){const t=this._updateObservers();this._isUpdateScheduled=false;if(!this._isCycleActive){return}if(t){this.runUpdates()}else if(this._hasRemainingTime()){this.scheduleUpdate()}else{this._endUpdates()}}_hasRemainingTime(){const t=s()-this._cycleStartTime;return this._idleTimeout-t>0}_endUpdates(){this._isCycleActive=false;if(this._isCycleContinuous&&this._listenersEnabled){this._continuousCycleHandler()}}_addListeners(){if(this._listenersEnabled){return}this._listenersEnabled=true;window.addEventListener("resize",this.runUpdates);if(!r){this._isCycleContinuous=true;this.runUpdates()}else{this._mutationsObserver=new MutationObserver(this._onMutation);this._mutationsObserver.observe(document,{attributes:true,childList:true,characterData:true,subtree:true})}}_removeListeners(){if(!this._listenersEnabled){return}window.removeEventListener("resize",this.runUpdates);if(this._mutationsObserver){this._mutationsObserver.disconnect()}this._mutationsObserver=null;this._listenersEnabled=false}_onMutation(t){const e=t.some((t=>t.type==="attributes"));e?this.runUpdates():this.scheduleUpdate()}}const u={width:0,height:0,top:0,right:0,bottom:0,left:0};function c(t){const e=window.getComputedStyle(t);const i=["top","right","bottom","left"];const s={};for(const t of i){const i=e["padding-"+t].replace("px","");s[t]=parseFloat(i)}return s}function f(t,e,i){const s=i.top;const n=i.left;const r=t-(n+i.right);const o=e-(s+i.bottom);return{width:r,height:o,top:s,right:r+n,bottom:o+s,left:n}}function a(t){const e=t.getBBox();return f(e.width,e.height,u)}function l(t){const e=t.clientWidth;const i=t.clientHeight;if(!e&&!i){return u}return f(e,i,c(t))}function w(t){return t instanceof window.SVGElement}function d(t){return w(t)?a(t):l(t)}class p{constructor(t){this.target=t;this._contentRect=u;this.broadcastWidth=0;this.broadcastHeight=0}broadcastRect(){const t=this._contentRect;this.broadcastWidth=t.width;this.broadcastHeight=t.height;return t}isActive(){const t=d(this.target);this._contentRect=t;return t.width!==this.broadcastWidth||t.height!==this.broadcastHeight}}class m{constructor(t,e){const i={};Object.defineProperties(i,{width:{value:e.width},height:{value:e.height},top:{value:e.top},right:{value:e.right},bottom:{value:e.bottom},left:{value:e.left}});Object.defineProperties(this,{target:{value:t},contentRect:{value:i}})}}class b{constructor(t,e,s){if(typeof t!=="function"){throw new TypeError("The callback provided as parameter 1 is not a function.")}this._callback=t;this._targets=new i;this._activeTargets=[];this._controller=e;this._publicObserver=s}observe(t){if(!arguments.length){throw new TypeError("1 argument required, but only 0 present.")}if(!(t instanceof Element)){throw new TypeError('parameter 1 is not of type "Element".')}const e=this._targets;if(e.has(t)){return}e.set(t,new p(t));if(!this._controller.isConnected(this)){this._controller.connect(this)}this._controller.runUpdates()}unobserve(t){if(!arguments.length){throw new TypeError("1 argument required, but only 0 present.")}if(!(t instanceof Element)){throw new TypeError('parameter 1 is not of type "Element".')}const e=this._targets;if(!e.has(t)){return}e.delete(t);if(!e.size){this.disconnect()}}disconnect(){this.clearActive();this._targets.clear();this._controller.disconnect(this)}broadcastActive(){if(!this.hasActive()){return}const t=this._publicObserver;const e=this._activeTargets.map((t=>new m(t.target,t.broadcastRect())));this.clearActive();this._callback.call(t,e,t)}clearActive(){this._activeTargets.splice(0)}hasActive(){return!!this._activeTargets.length}gatherActive(){this.clearActive();const t=this._activeTargets;this._targets.forEach((e=>{if(e.isActive()){t.push(e)}}))}}const y=new h;const v=new e;class g{constructor(t){if(!arguments.length){throw new TypeError("1 argument required, but only 0 present.")}const e=new b(t,y,this);v.set(this,e)}static get idleTimeout(){return y.idleTimeout}static set idleTimeout(t){if(typeof t!=="number"){throw new TypeError('type of "idleTimeout" value must be a number.')}if(typeof t<0){throw new TypeError('"idleTimeout" value must be greater than 0.')}y.idleTimeout=t}static get continuousUpdates(){return y.continuousUpdates}static set continuousUpdates(t){if(typeof t!=="boolean"){throw new TypeError('type of "continuousUpdates" value must be a boolean.')}y.continuousUpdates=t}}["observe","unobserve","disconnect"].forEach((t=>{g.prototype[t]=function(){return v.get(this)[t](...arguments)}}));let T=g;if(typeof window.ResizeObserver==="function"){T=window.ResizeObserver}const E=T;export{E as R};
2
+ //# sourceMappingURL=index-ecc819ad.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["hasNativeCollections","window","WeakMap","Map","getIndex","arr","key","result","some","entry","index","matches","constructor","this","__entries__","get","set","value","push","delete","entries","splice","has","size","length","clear","slice","keys","map","values","forEach","callback","ctx","call","now","performance","Date","requestAnimFrame","requestAnimationFrame","setTimeout","mutationsSupported","MutationObserver","debounce","delay","timeoutID","args","clearTimeout","apply","ResizeObserverController","idleTimeout","continuousUpdates","_idleTimeout","_isCycleContinuous","_cycleStartTime","_isCycleActive","_isUpdateScheduled","_listenersEnabled","_mutationsObserver","_observers","runUpdates","bind","_resolveScheduled","_onMutation","_continuousCycleHandler","connect","observer","isConnected","_addListeners","disconnect","observers","indexOf","_removeListeners","_updateObservers","hasChanges","gatherActive","hasActive","broadcastActive","scheduleUpdate","_hasRemainingTime","_endUpdates","timePassed","addEventListener","observe","document","attributes","childList","characterData","subtree","removeEventListener","attrsChanged","type","emptyRect","width","height","top","right","bottom","left","getPaddings","target","styles","getComputedStyle","paddings","replace","parseFloat","createContentRect","clientWidth","clientHeight","getSVGContentRect","bbox","getBBox","getHTMLElementContentRect","isSVGElement","SVGElement","getContentRect","ResizeObservation","_contentRect","broadcastWidth","broadcastHeight","broadcastRect","rect","isActive","ResizeObserverEntry","rectData","contentRect","Object","defineProperties","ResizeObserver","controller","publicObserver","TypeError","_callback","_targets","_activeTargets","_controller","_publicObserver","arguments","Element","targets","unobserve","clearActive","observation","activeTargets","_ResizeObserver","method","prototype","ResizeObserverPolyfill","ResizeObserver$1"],"sources":["../node_modules/resize-observer-polyfill/src/shims/es6-collections.js","../node_modules/resize-observer-polyfill/src/shims/performance.now.js","../node_modules/resize-observer-polyfill/src/shims/requestAnimationFrame.js","../node_modules/resize-observer-polyfill/src/ResizeObserverController.js","../node_modules/resize-observer-polyfill/src/ResizeObservation.js","../node_modules/resize-observer-polyfill/src/ResizeObserverEntry.js","../node_modules/resize-observer-polyfill/src/_ResizeObserver.js","../node_modules/resize-observer-polyfill/src/ResizeObserver.js","../node_modules/resize-observer-polyfill/index.js"],"sourcesContent":["/**\r\n * A collection of shims that provided minimal\r\n * support of WeakMap and Map classes.\r\n *\r\n * These implementations are not meant to be used outside of\r\n * ResizeObserver modules as they cover only a limited range\r\n * of use cases.\r\n */\r\n\r\n/* eslint-disable require-jsdoc */\r\nconst hasNativeCollections =\r\n typeof window.WeakMap === 'function' &&\r\n typeof window.Map === 'function';\r\n\r\nconst WeakMap = (() => {\r\n if (hasNativeCollections) {\r\n return window.WeakMap;\r\n }\r\n\r\n function getIndex(arr, key) {\r\n let result = -1;\r\n\r\n arr.some((entry, index) => {\r\n let matches = entry[0] === key;\r\n\r\n if (matches) {\r\n result = index;\r\n }\r\n\r\n return matches;\r\n });\r\n\r\n return result;\r\n }\r\n\r\n return class {\r\n constructor() {\r\n this.__entries__ = [];\r\n }\r\n\r\n get(key) {\r\n let index = getIndex(this.__entries__, key);\r\n\r\n return this.__entries__[index][1];\r\n }\r\n\r\n set(key, value) {\r\n let index = getIndex(this.__entries__, key);\r\n\r\n if (~index) {\r\n this.__entries__[index][1] = value;\r\n } else {\r\n this.__entries__.push([key, value]);\r\n }\r\n }\r\n\r\n delete(key) {\r\n let entries = this.__entries__,\r\n index = getIndex(entries, key);\r\n\r\n if (~index) {\r\n entries.splice(index, 1);\r\n }\r\n }\r\n\r\n has(key) {\r\n return !!~getIndex(this.__entries__, key);\r\n }\r\n };\r\n})();\r\n\r\nconst Map = (() => {\r\n if (hasNativeCollections) {\r\n return window.Map;\r\n }\r\n\r\n return class extends WeakMap {\r\n get size() {\r\n return this.__entries__.length;\r\n }\r\n\r\n clear() {\r\n this.__entries__.splice(0, this.__entries__.length);\r\n }\r\n\r\n entries() {\r\n return this.__entries__.slice();\r\n }\r\n\r\n keys() {\r\n return this.__entries__.map(entry => entry[0]);\r\n }\r\n\r\n values() {\r\n return this.__entries__.map(entry => entry[1]);\r\n }\r\n\r\n forEach(callback, ctx = null) {\r\n for (const entry of this.__entries__) {\r\n callback.call(ctx, entry[1], entry[0]);\r\n }\r\n }\r\n };\r\n})();\r\n\r\nexport {Map, WeakMap};\r\n","/**\r\n * A shim for performance.now method which falls back\r\n * to Date.now if the first one is not supported.\r\n *\r\n * @returns {Timestamp}\r\n */\r\nexport default (() => {\r\n if (\r\n window.performance &&\r\n typeof window.performance.now === 'function'\r\n ) {\r\n return () => window.performance.now();\r\n }\r\n\r\n return () => Date.now();\r\n})();\r\n","/**\r\n * A shim for requestAnimationFrame which falls back\r\n * to setTimeout if the first one is not supported.\r\n *\r\n * @returns {Number} Requests' identifier.\r\n */\r\nexport default (() => {\r\n if (\r\n window.requestAnimationFrame &&\r\n typeof window.requestAnimationFrame === 'function'\r\n ) {\r\n return window.requestAnimationFrame;\r\n }\r\n\r\n return callback => {\r\n return setTimeout(() => callback(Date.now()), 1000 / 60);\r\n };\r\n})();\r\n","import now from './shims/performance.now';\r\nimport requestAnimFrame from './shims/requestAnimationFrame';\r\n\r\nconst mutationsSupported = typeof window.MutationObserver === 'function';\r\n\r\n/**\r\n * Creates a wrapper function which ensures that\r\n * provided callback will be invoked only once\r\n * during the specified delay.\r\n *\r\n * @param {Function} callback - Function to be invoked.\r\n * @param {Number} [delay = 0] - Delay after which to invoke callback.\r\n * @returns {Function}\r\n */\r\nfunction debounce(callback, delay = 0) {\r\n let timeoutID = false;\r\n\r\n return function (...args) {\r\n if (timeoutID !== false) {\r\n clearTimeout(timeoutID);\r\n }\r\n\r\n timeoutID = setTimeout(() => {\r\n timeoutID = false;\r\n\r\n /* eslint-disable no-invalid-this */\r\n callback.apply(this, args);\r\n\r\n /* eslint-enable no-invalid-this */\r\n }, delay);\r\n };\r\n}\r\n\r\n/**\r\n * Controller class which handles updates of ResizeObserver instances.\r\n * It's meant to decide when and for how long it's necessary to run updates by listening to the windows\r\n * \"resize\" event along with a tracking of DOM mutations (nodes removal, changes of attributes, etc.).\r\n *\r\n * Transitions and animations are handled by running a repeatable update cycle either until the dimensions\r\n * of observed elements are changing or the timeout is reached (default timeout is 50 milliseconds).\r\n * Timeout value can be manually increased if transitions have a delay.\r\n *\r\n * Continuous update cycle will be used automatically in case if MutationObserver is not supported.\r\n */\r\nexport default class ResizeObserverController {\r\n /**\r\n * Creates a new instance of ResizeObserverController.\r\n *\r\n * @param {Number} [idleTimeout = 0] - Idle timeout value.\r\n * @param {Boolean} [continuousUpdates = false] - Whether to use a continuous update cycle.\r\n */\r\n constructor(idleTimeout = 50, continuousUpdates = false) {\r\n this._idleTimeout = idleTimeout;\r\n this._isCycleContinuous = continuousUpdates;\r\n\r\n this._cycleStartTime = 0;\r\n\r\n // Indicates whether the update cycle is currently running.\r\n this._isCycleActive = false;\r\n\r\n // Indicates whether the update of observers is scheduled.\r\n this._isUpdateScheduled = false;\r\n\r\n // Indicates whether DOM listeners have been added.\r\n this._listenersEnabled = false;\r\n\r\n // Keeps reference to the instance of MutationObserver.\r\n this._mutationsObserver = null;\r\n\r\n // A list of connected observers.\r\n this._observers = [];\r\n\r\n // Fix value of \"this\" binding for the following methods.\r\n this.runUpdates = this.runUpdates.bind(this);\r\n this._resolveScheduled = this._resolveScheduled.bind(this);\r\n this._onMutation = this._onMutation.bind(this);\r\n\r\n // Function that will be invoked to re-run the\r\n // update cycle if continuous cycles are enabled.\r\n this._continuousCycleHandler = debounce(this.runUpdates, 200);\r\n }\r\n\r\n /**\r\n * Returns current idle timeout value.\r\n *\r\n * @returns {Number}\r\n */\r\n get idleTimeout() {\r\n return this._idleTimeout;\r\n }\r\n\r\n /**\r\n * Sets up new idle timeout value.\r\n *\r\n * @param {Number} value - New timeout value.\r\n */\r\n set idleTimeout(value) {\r\n this._idleTimeout = value;\r\n }\r\n\r\n /**\r\n * Tells whether continuous updates are enabled.\r\n *\r\n * @returns {Boolean}\r\n */\r\n get continuousUpdates() {\r\n return this._isCycleContinuous;\r\n }\r\n\r\n /**\r\n * Enables or disables continuous updates.\r\n *\r\n * @param {Boolean} value - Whether to enable or disable\r\n * continuous updates. Note that the value won't be applied\r\n * if MutationObserver is not supported.\r\n */\r\n set continuousUpdates(value) {\r\n if (mutationsSupported) {\r\n this._isCycleContinuous = value;\r\n }\r\n }\r\n\r\n /**\r\n * Adds observer to observers list.\r\n *\r\n * @param {ResizeObserver} observer - Observer to be added.\r\n */\r\n connect(observer) {\r\n if (!this.isConnected(observer)) {\r\n this._observers.push(observer);\r\n }\r\n\r\n // Add listeners if they haven't been added yet.\r\n if (!this._listenersEnabled) {\r\n this._addListeners();\r\n }\r\n }\r\n\r\n /**\r\n * Removes observer from observers list.\r\n *\r\n * @param {ResizeObserver} observer - Observer to be removed.\r\n */\r\n disconnect(observer) {\r\n let observers = this._observers,\r\n index = observers.indexOf(observer);\r\n\r\n if (~index) {\r\n observers.splice(index, 1);\r\n }\r\n\r\n // Remove listeners if controller\r\n // has no connected observers.\r\n if (!observers.length && this._listenersEnabled) {\r\n this._removeListeners();\r\n }\r\n }\r\n\r\n /**\r\n * Tells whether provided observer is connected to controller.\r\n *\r\n * @param {ResizeObserver} observer - Observer to be checked.\r\n * @returns {Boolean}\r\n */\r\n isConnected(observer) {\r\n return !!~this._observers.indexOf(observer);\r\n }\r\n\r\n /**\r\n * Updates every observer from observers list and\r\n * notifies them of queued entries.\r\n *\r\n * @private\r\n * @returns {Boolean} Returns \"true\" if any observer\r\n * has detected changes in dimensions of its' elements.\r\n */\r\n _updateObservers() {\r\n let hasChanges = false;\r\n\r\n for (const observer of this._observers) {\r\n observer.gatherActive();\r\n\r\n if (observer.hasActive()) {\r\n hasChanges = true;\r\n\r\n observer.broadcastActive();\r\n }\r\n }\r\n\r\n return hasChanges;\r\n }\r\n\r\n /**\r\n * Starts the update cycle which will run either\r\n * until it detects changes in the dimensions of\r\n * elements or the idle timeout is reached.\r\n */\r\n runUpdates() {\r\n this._cycleStartTime = now();\r\n this._isCycleActive = true;\r\n\r\n this.scheduleUpdate();\r\n }\r\n\r\n /**\r\n * Schedules the update of observers.\r\n *\r\n * @private\r\n */\r\n scheduleUpdate() {\r\n if (!this._isUpdateScheduled) {\r\n this._isUpdateScheduled = true;\r\n\r\n requestAnimFrame(this._resolveScheduled);\r\n }\r\n }\r\n\r\n /**\r\n * Invokes the update of observers. It may re-run the\r\n * cycle if changes in observers have been detected.\r\n *\r\n * @private\r\n */\r\n _resolveScheduled() {\r\n const hasChanges = this._updateObservers();\r\n\r\n this._isUpdateScheduled = false;\r\n\r\n // Do nothing if cycle wasn't started.\r\n if (!this._isCycleActive) {\r\n return;\r\n }\r\n\r\n // Re-start cycle if changes have been detected.\r\n if (hasChanges) {\r\n this.runUpdates();\r\n } else if (this._hasRemainingTime()) {\r\n this.scheduleUpdate();\r\n } else {\r\n this._endUpdates();\r\n }\r\n }\r\n\r\n /**\r\n * Tells whether the update cycle has time remaining.\r\n *\r\n * @private\r\n * @returns {Boolean}\r\n */\r\n _hasRemainingTime() {\r\n const timePassed = now() - this._cycleStartTime;\r\n\r\n return this._idleTimeout - timePassed > 0;\r\n }\r\n\r\n /**\r\n * Callback which is invoked when update cycle\r\n * is finished. It may start a new cycle if continuous\r\n * updates are enabled.\r\n *\r\n * @private\r\n */\r\n _endUpdates() {\r\n this._isCycleActive = false;\r\n\r\n if (this._isCycleContinuous && this._listenersEnabled) {\r\n this._continuousCycleHandler();\r\n }\r\n }\r\n\r\n /**\r\n * Initializes DOM listeners.\r\n *\r\n * @private\r\n */\r\n _addListeners() {\r\n // Do nothing if listeners have been already added.\r\n if (this._listenersEnabled) {\r\n return;\r\n }\r\n\r\n this._listenersEnabled = true;\r\n\r\n // Repeatable cycle is used here because the resize event may\r\n // lead to continuous changes, e.g. when width or height of an element\r\n // are controlled by CSS transitions.\r\n window.addEventListener('resize', this.runUpdates);\r\n\r\n // Fall back to an infinite cycle.\r\n if (!mutationsSupported) {\r\n this._isCycleContinuous = true;\r\n\r\n this.runUpdates();\r\n } else {\r\n // Subscribe to DOM mutations as they may lead to\r\n // changes in dimensions of elements.\r\n this._mutationsObserver = new MutationObserver(this._onMutation);\r\n\r\n this._mutationsObserver.observe(document, {\r\n attributes: true,\r\n childList: true,\r\n characterData: true,\r\n subtree: true\r\n });\r\n }\r\n }\r\n\r\n /**\r\n * Removes DOM listeners.\r\n *\r\n * @private\r\n */\r\n _removeListeners() {\r\n // Do nothing if listeners have been already removed.\r\n if (!this._listenersEnabled) {\r\n return;\r\n }\r\n\r\n window.removeEventListener('resize', this.runUpdates);\r\n\r\n if (this._mutationsObserver) {\r\n this._mutationsObserver.disconnect();\r\n }\r\n\r\n this._mutationsObserver = null;\r\n this._listenersEnabled = false;\r\n }\r\n\r\n /**\r\n * DOM mutations handler.\r\n *\r\n * @private\r\n * @param {Array<MutationRecord>} entries - An array of mutation records.\r\n */\r\n _onMutation(entries) {\r\n // Check if at least one entry\r\n // contains attributes changes.\r\n const attrsChanged = entries.some(entry => {\r\n return entry.type === 'attributes';\r\n });\r\n\r\n // It's expected that animations may start only\r\n // after some attribute changes its' value.\r\n attrsChanged ?\r\n this.runUpdates() :\r\n this.scheduleUpdate();\r\n }\r\n}\r\n","// Placeholder of a content rectangle.\r\nconst emptyRect = {\r\n width: 0,\r\n height: 0,\r\n top: 0,\r\n right: 0,\r\n bottom: 0,\r\n left: 0\r\n};\r\n\r\n/**\r\n * Extracts paddings data from the provided element.\r\n *\r\n * @param {Element} target - Element whose paddings to be extracted.\r\n * @returns {Object} Object that contains\r\n * left, top, right and bottom padding values.\r\n */\r\nfunction getPaddings(target) {\r\n const styles = window.getComputedStyle(target);\r\n const keys = ['top', 'right', 'bottom', 'left'];\r\n\r\n const paddings = {};\r\n\r\n for (const key of keys) {\r\n const value = styles['padding-' + key].replace('px', '');\r\n\r\n paddings[key] = parseFloat(value);\r\n }\r\n\r\n return paddings;\r\n}\r\n\r\n/**\r\n* Subtracts paddings from provided\r\n* dimensions and creates a content rectangle.\r\n*\r\n* @param {Number} clientWidth - Width including paddings.\r\n* @param {Number} clientHeight - Height including paddings.\r\n* @param {Object} paddings - Paddings data.\r\n* @returns {ClientRect}\r\n*/\r\nfunction createContentRect(clientWidth, clientHeight, paddings) {\r\n const top = paddings.top;\r\n const left = paddings.left;\r\n\r\n const width = clientWidth - (left + paddings.right);\r\n const height = clientHeight - (top + paddings.bottom);\r\n\r\n return {\r\n width,\r\n height,\r\n top,\r\n right: width + left,\r\n bottom: height + top,\r\n left\r\n };\r\n}\r\n\r\n/**\r\n * Calculates content rectangle of provided SVG element.\r\n *\r\n * @param {SVGElement} target - Element whose content\r\n * rectangle needs to be calculated.\r\n * @returns {ClientRect}\r\n */\r\nfunction getSVGContentRect(target) {\r\n const bbox = target.getBBox();\r\n\r\n return createContentRect(bbox.width, bbox.height, emptyRect);\r\n}\r\n\r\n/**\r\n * Calculates content rectangle of provided HTMLElement.\r\n *\r\n * @param {HTMLElement} target - Element whose content\r\n * rectangle needs to be calculated.\r\n * @returns {ClientRect}\r\n */\r\nfunction getHTMLElementContentRect(target) {\r\n const width = target.clientWidth;\r\n const height = target.clientHeight;\r\n\r\n // It's not necessary to proceed with calculations\r\n // as it's already known that the rectangle is empty.\r\n if (!width && !height) {\r\n return emptyRect;\r\n }\r\n\r\n return createContentRect(width, height, getPaddings(target));\r\n}\r\n\r\n/**\r\n * Checks whether provided element\r\n * is an instance of SVGElement.\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {Boolean}\r\n */\r\nfunction isSVGElement(target) {\r\n return target instanceof window.SVGElement;\r\n}\r\n\r\n/**\r\n * Calculates an appropriate content rectangle\r\n * for provided html or svg element.\r\n *\r\n * @param {Element} target - Element whose content rectangle\r\n * needs to be calculated.\r\n * @returns {ClientRect}\r\n */\r\nfunction getContentRect(target) {\r\n return isSVGElement(target) ?\r\n getSVGContentRect(target) :\r\n getHTMLElementContentRect(target);\r\n}\r\n\r\n/**\r\n * Class that is responsible for computations of the\r\n * content rectangle of provided DOM element and\r\n * for keeping track of its' changes.\r\n */\r\nexport default class ResizeObservation {\r\n /**\r\n * Creates an instance of ResizeObservation.\r\n *\r\n * @param {Element} target - Element whose content\r\n * rectangle needs to be observed.\r\n */\r\n constructor(target) {\r\n this.target = target;\r\n\r\n // Keeps reference to the last observed content rectangle.\r\n this._contentRect = emptyRect;\r\n\r\n // Broadcasted width of content rectangle.\r\n this.broadcastWidth = 0;\r\n\r\n // Broadcasted height of content rectangle.\r\n this.broadcastHeight = 0;\r\n }\r\n\r\n /**\r\n * Updates 'broadcastWidth' and 'broadcastHeight'\r\n * properties with a data from the corresponding\r\n * properties of the last observed content rectangle.\r\n *\r\n * @returns {ClientRect} Last observed content rectangle.\r\n */\r\n broadcastRect() {\r\n const rect = this._contentRect;\r\n\r\n this.broadcastWidth = rect.width;\r\n this.broadcastHeight = rect.height;\r\n\r\n return rect;\r\n }\r\n\r\n /**\r\n * Updates content rectangle and tells whether its'\r\n * width or height properties have changed since\r\n * the last broadcast.\r\n *\r\n * @returns {Boolean}\r\n */\r\n isActive() {\r\n const rect = getContentRect(this.target);\r\n\r\n this._contentRect = rect;\r\n\r\n return (\r\n rect.width !== this.broadcastWidth ||\r\n rect.height !== this.broadcastHeight\r\n );\r\n }\r\n}\r\n","export default class ResizeObserverEntry {\r\n /**\r\n * Creates an instance of ResizeObserverEntry.\r\n *\r\n * @param {Element} target - Element that is being observed.\r\n * @param {ClientRect} rectData - Data of the elements' content rectangle.\r\n */\r\n constructor(target, rectData) {\r\n const contentRect = {};\r\n\r\n // According to the specification following properties\r\n // are not writable and in native implementation\r\n // they are also not enumerable.\r\n Object.defineProperties(contentRect, {\r\n width: {value: rectData.width},\r\n height: {value: rectData.height},\r\n top: {value: rectData.top},\r\n right: {value: rectData.right},\r\n bottom: {value: rectData.bottom},\r\n left: {value: rectData.left}\r\n });\r\n\r\n Object.defineProperties(this, {\r\n target: {value: target},\r\n contentRect: {value: contentRect}\r\n });\r\n }\r\n}\r\n","import {Map} from './shims/es6-collections';\r\nimport ResizeObservation from './ResizeObservation';\r\nimport ResizeObserverEntry from './ResizeObserverEntry';\r\n\r\nexport default class ResizeObserver {\r\n /**\r\n * Creates a new instance of ResizeObserver.\r\n *\r\n * @param {Function} callback - Callback function which will be invoked\r\n * when one of the observed elements changes its' content rectangle.\r\n * @param {ResizeObsreverController} controller - Controller instance\r\n * which is responsible for the updates of observer.\r\n * @param {ResizeObserver} publicObserver - Reference\r\n * to the public ResizeObserver instance which will be passed\r\n * to callback function.\r\n */\r\n constructor(callback, controller, publicObserver) {\r\n if (typeof callback !== 'function') {\r\n throw new TypeError('The callback provided as parameter 1 is not a function.');\r\n }\r\n\r\n // Reference to the callback function.\r\n this._callback = callback;\r\n\r\n // A registry of ResizeObservation instances.\r\n this._targets = new Map();\r\n\r\n // A collection of resize observations that have detected\r\n // changes in dimensions of elements.\r\n this._activeTargets = [];\r\n\r\n // Reference to associated ResizeObserverController.\r\n this._controller = controller;\r\n\r\n // Public ResizeObserver instance which will be passed\r\n // to callback function.\r\n this._publicObserver = publicObserver;\r\n }\r\n\r\n /**\r\n * Starts observing provided element.\r\n *\r\n * @param {Element} target - Element to be observed.\r\n */\r\n observe(target) {\r\n if (!arguments.length) {\r\n throw new TypeError('1 argument required, but only 0 present.');\r\n }\r\n\r\n if (!(target instanceof Element)) {\r\n throw new TypeError('parameter 1 is not of type \"Element\".');\r\n }\r\n\r\n const targets = this._targets;\r\n\r\n // Do nothing if element is already being observed.\r\n if (targets.has(target)) {\r\n return;\r\n }\r\n\r\n targets.set(target, new ResizeObservation(target));\r\n\r\n // Add observer to controller\r\n // if it hasn't been connected yet.\r\n if (!this._controller.isConnected(this)) {\r\n this._controller.connect(this);\r\n }\r\n\r\n // Update observations.\r\n this._controller.runUpdates();\r\n }\r\n\r\n /**\r\n * Stops observing provided element.\r\n *\r\n * @param {Element} target - Element to stop observing.\r\n */\r\n unobserve(target) {\r\n if (!arguments.length) {\r\n throw new TypeError('1 argument required, but only 0 present.');\r\n }\r\n\r\n if (!(target instanceof Element)) {\r\n throw new TypeError('parameter 1 is not of type \"Element\".');\r\n }\r\n\r\n const targets = this._targets;\r\n\r\n // Do nothing if element is not being observed.\r\n if (!targets.has(target)) {\r\n return;\r\n }\r\n\r\n // Remove element and an associated with\r\n // it ResizeObsrvation instance from registry.\r\n targets.delete(target);\r\n\r\n if (!targets.size) {\r\n this.disconnect();\r\n }\r\n }\r\n\r\n /**\r\n * Stops observing all elements and\r\n * clears the observations list.\r\n */\r\n disconnect() {\r\n this.clearActive();\r\n this._targets.clear();\r\n\r\n this._controller.disconnect(this);\r\n }\r\n\r\n /**\r\n * Invokes initial callback function with a list\r\n * of ResizeObserverEntry instances collected from\r\n * active resize observations.\r\n */\r\n broadcastActive() {\r\n if (!this.hasActive()) {\r\n return;\r\n }\r\n\r\n const publicObserver = this._publicObserver;\r\n\r\n const entries = this._activeTargets.map(observation => {\r\n return new ResizeObserverEntry(\r\n observation.target,\r\n observation.broadcastRect()\r\n );\r\n });\r\n\r\n this.clearActive();\r\n\r\n this._callback.call(publicObserver, entries, publicObserver);\r\n }\r\n\r\n /**\r\n * Clears the collection of pending/active observations.\r\n */\r\n clearActive() {\r\n this._activeTargets.splice(0);\r\n }\r\n\r\n /**\r\n * Tells whether the observer has\r\n * pending observations.\r\n *\r\n * @returns {Boolean}\r\n */\r\n hasActive() {\r\n return !!this._activeTargets.length;\r\n }\r\n\r\n /**\r\n * Clears an array of previously collected active observations\r\n * and collects observation instances whose associated element\r\n * has changes in its' content rectangle.\r\n */\r\n gatherActive() {\r\n this.clearActive();\r\n\r\n const activeTargets = this._activeTargets;\r\n\r\n this._targets.forEach(observation => {\r\n if (observation.isActive()) {\r\n activeTargets.push(observation);\r\n }\r\n });\r\n }\r\n}\r\n","import {WeakMap} from './shims/es6-collections';\r\nimport ResizeObserverController from './ResizeObserverController';\r\nimport _ResizeObserver from './_ResizeObserver';\r\n\r\n// Controller which will be assigned to all instances of ResizeObserver.\r\nconst controller = new ResizeObserverController();\r\n\r\n// Registry of internal observers.\r\nconst observers = new WeakMap();\r\n\r\n/**\r\n * ResizeObservers' \"Proxy\" class which is meant to hide private\r\n * properties and methods from public instances.\r\n *\r\n * Additionally it implements \"idleTimeout\" and \"continuousUpdates\" static property\r\n * accessors to give a control over the behavior of ResizeObserverController\r\n * instance. Changes made to these properties will affect all future and\r\n * existing observers.\r\n */\r\nclass ResizeObserver {\r\n /**\r\n * Creates a new instance of ResizeObserver.\r\n *\r\n * @param {Function} callback - Callback which will\r\n * be invoked when dimensions of one of the\r\n * observed elements have been changed.\r\n */\r\n constructor(callback) {\r\n if (!arguments.length) {\r\n throw new TypeError('1 argument required, but only 0 present.');\r\n }\r\n\r\n const observer = new _ResizeObserver(callback, controller, this);\r\n\r\n // Register an internal observer.\r\n observers.set(this, observer);\r\n }\r\n\r\n /**\r\n * Extracts controllers' idle timeout value.\r\n *\r\n * @returns {Number}\r\n */\r\n static get idleTimeout() {\r\n return controller.idleTimeout;\r\n }\r\n\r\n /**\r\n * Sets up new idle timeout.\r\n *\r\n * @param {Number} value - New timeout value.\r\n */\r\n static set idleTimeout(value) {\r\n if (typeof value !== 'number') {\r\n throw new TypeError('type of \"idleTimeout\" value must be a number.');\r\n }\r\n\r\n if (typeof value < 0) {\r\n throw new TypeError('\"idleTimeout\" value must be greater than 0.');\r\n }\r\n\r\n controller.idleTimeout = value;\r\n }\r\n\r\n /**\r\n * Tells whether continuous updates are enabled.\r\n *\r\n * @returns {Boolean}\r\n */\r\n static get continuousUpdates() {\r\n return controller.continuousUpdates;\r\n }\r\n\r\n /**\r\n * Enables or disables continuous updates.\r\n *\r\n * @param {Boolean} value - Whether to enable or disable\r\n * continuous updates.\r\n */\r\n static set continuousUpdates(value) {\r\n if (typeof value !== 'boolean') {\r\n throw new TypeError('type of \"continuousUpdates\" value must be a boolean.');\r\n }\r\n\r\n controller.continuousUpdates = value;\r\n }\r\n}\r\n\r\n// Expose public methods of ResizeObserver.\r\n[\r\n 'observe',\r\n 'unobserve',\r\n 'disconnect'\r\n].forEach(method => {\r\n ResizeObserver.prototype[method] = function () {\r\n return observers.get(this)[method](...arguments);\r\n };\r\n});\r\n\r\nexport default ResizeObserver;\r\n","import ResizeObserverPolyfill from './src/ResizeObserver';\r\n\r\nlet ResizeObserver = ResizeObserverPolyfill;\r\n\r\n// Export existing implementation if it's available.\r\nif (typeof window.ResizeObserver === 'function') {\r\n ResizeObserver = window.ResizeObserver;\r\n}\r\n\r\nexport default ResizeObserver;\r\n"],"mappings":"AAUA,MAAMA,SACKC,OAAOC,UAAY,mBACnBD,OAAOE,MAAQ,WAE1B,MAAMD,EAAU,MACZ,GAAIF,EAAsB,CACtB,OAAOC,OAAOC,OACtB,CAEI,SAASE,EAASC,EAAKC,GACnB,IAAIC,GAAU,EAEdF,EAAIG,MAAK,CAACC,EAAOC,KACb,IAAIC,EAAUF,EAAM,KAAOH,EAE3B,GAAIK,EAAS,CACTJ,EAASG,CACzB,CAEY,OAAOC,CAAO,IAGlB,OAAOJ,CACf,CAEI,OAAO,MACHK,cACIC,KAAKC,YAAc,EAC/B,CAEQC,IAAIT,GACA,IAAII,EAAQN,EAASS,KAAKC,YAAaR,GAEvC,OAAOO,KAAKC,YAAYJ,GAAO,EAC3C,CAEQM,IAAIV,EAAKW,GACL,IAAIP,EAAQN,EAASS,KAAKC,YAAaR,GAEvC,IAAKI,EAAO,CACRG,KAAKC,YAAYJ,GAAO,GAAKO,CAC7C,KAAmB,CACHJ,KAAKC,YAAYI,KAAK,CAACZ,EAAKW,GAC5C,CACA,CAEQE,OAAOb,GACH,IAAIc,EAAUP,KAAKC,YACfJ,EAAQN,EAASgB,EAASd,GAE9B,IAAKI,EAAO,CACRU,EAAQC,OAAOX,EAAO,EACtC,CACA,CAEQY,IAAIhB,GACA,SAAUF,EAASS,KAAKC,YAAaR,EACjD,EAEC,EAvDe,GAyDhB,MAAMH,EAAM,MACR,GAAIH,EAAsB,CACtB,OAAOC,OAAOE,GACtB,CAEI,OAAO,cAAcD,EACbqB,WACA,OAAOV,KAAKC,YAAYU,MACpC,CAEQC,QACIZ,KAAKC,YAAYO,OAAO,EAAGR,KAAKC,YAAYU,OACxD,CAEQJ,UACI,OAAOP,KAAKC,YAAYY,OACpC,CAEQC,OACI,OAAOd,KAAKC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CACI,UACA,YACA,cACFa,SAAQkH,IACNjB,EAAekB,UAAUD,GAAU,WAC/B,OAAO3E,EAAUtD,IAAIF,MAAMmI,MAAWR,UAC9C,CAAK,IC9FL,IAAIT,EAAiBmB,EAGrB,UAAWjJ,OAAO8H,iBAAmB,WAAY,CAC7CA,EAAiB9H,OAAO8H,cAC5B,CAEA,MAAAoB,EAAepB,S"}
@@ -1,3 +1,3 @@
1
- const t="huds-lib";let e;let n;let s;let l=false;let o=false;let i=false;let c=false;let f=0;let r=false;const u=(t,e="")=>{{return()=>{}}};const a=(t,e)=>{{return()=>{}}};const d="{visibility:hidden}.hydrated{visibility:inherit}";const p="http://www.w3.org/1999/xlink";const h={};const y="http://www.w3.org/2000/svg";const m="http://www.w3.org/1999/xhtml";const $=t=>t!=null;const b=t=>{t=typeof t;return t==="object"||t==="function"};function w(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const g=(t,e,...n)=>{let s=null;let l=null;let o=null;let i=false;let c=false;const f=[];const r=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){r(s)}else if(s!=null&&typeof s!=="boolean"){if(i=typeof t!=="function"&&!b(s)){s=String(s)}if(i&&c){f[f.length-1].t+=s}else{f.push(i?v(null,s):s)}c=i}}};r(n);if(e){if(e.key){l=e.key}if(e.name){o=e.name}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}if(typeof t==="function"){return t(e===null?{}:e,f,j)}const u=v(t,null);u.l=e;if(f.length>0){u.o=f}{u.i=l}{u.u=o}return u};const v=(t,e)=>{const n={p:0,h:t,t:e,m:null,o:null};{n.l=null}{n.i=null}{n.u=null}return n};const S={};const k=t=>t&&t.h===S;const j={forEach:(t,e)=>t.map(O).forEach(e),map:(t,e)=>t.map(O).map(e).map(M)};const O=t=>({vattrs:t.l,vchildren:t.o,vkey:t.i,vname:t.u,vtag:t.h,vtext:t.t});const M=t=>{if(typeof t.vtag==="function"){const e=Object.assign({},t.vattrs);if(t.vkey){e.key=t.vkey}if(t.vname){e.name=t.vname}return g(t.vtag,e,...t.vchildren||[])}const e=v(t.vtag,t.vtext);e.l=t.vattrs;e.o=t.vchildren;e.i=t.vkey;e.u=t.vname;return e};const C=t=>Nt.map((e=>e(t))).find((t=>!!t));const x=t=>Nt.push(t);const R=(t,e)=>{if(t!=null&&!b(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const P=t=>xt(t).$;const T=(t,e,n)=>{const s=P(t);return{emit:t=>U(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const U=(t,e,n)=>{const s=Dt.ce(e,n);t.dispatchEvent(s);return s};const W=new WeakMap;const E=(t,e,n)=>{let s=Lt.get(t);if(It&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}Lt.set(t,s)};const L=(t,e,n,s)=>{var l;let o=F(e,n);const i=Lt.get(o);t=t.nodeType===11?t:At;if(i){if(typeof i==="string"){t=t.head||t;let e=W.get(t);let n;if(!e){W.set(t,e=new Set)}if(!e.has(o)){{{n=At.createElement("style");n.innerHTML=i}const e=(l=Dt.g)!==null&&l!==void 0?l:w(At);if(e!=null){n.setAttribute("nonce",e)}t.insertBefore(n,t.querySelector("link"))}if(e){e.add(o)}}}else if(!t.adoptedStyleSheets.includes(i)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,i]}}return o};const N=t=>{const e=t.v;const n=t.$;const s=e.p;const l=u("attachStyles",e.S);const o=L(n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.k);if(s&10){n["s-sc"]=o;n.classList.add(o+"-h")}l()};const F=(t,e)=>"sc-"+(e&&t.p&32?t.S+"-"+e:t.S);const A=(t,e,n,s,l,o)=>{if(n!==s){let i=Tt(t,e);let c=e.toLowerCase();if(e==="class"){const e=t.classList;const l=H(n);const o=H(s);e.remove(...l.filter((t=>t&&!o.includes(t))));e.add(...o.filter((t=>t&&!l.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!i&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Tt(Ft,c)){e=c.slice(2)}else{e=c[2]+e.slice(3)}if(n){Dt.rel(t,e,n,false)}if(s){Dt.ael(t,e,s,false)}}else{const f=b(s);if((i||f&&s!==null)&&!l){try{if(!t.tagName.includes("-")){const l=s==null?"":s;if(e==="list"){i=false}else if(n==null||t[e]!=l){t[e]=l}}else{t[e]=s}}catch(t){}}let r=false;{if(c!==(c=c.replace(/^xlink\:?/,""))){e=c;r=true}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){if(r){t.removeAttributeNS(p,e)}else{t.removeAttribute(e)}}}else if((!i||o&4||l)&&!f){s=s===true?"":s;if(r){t.setAttributeNS(p,e,s)}else{t.setAttribute(e,s)}}}}};const D=/\s/;const H=t=>!t?[]:t.split(D);const I=(t,e,n,s)=>{const l=e.m.nodeType===11&&e.m.host?e.m.host:e.m;const o=t&&t.l||h;const i=e.l||h;{for(s in o){if(!(s in i)){A(l,s,o[s],undefined,n,e.p)}}}for(s in i){A(l,s,o[s],i[s],n,e.p)}};const q=(t,o,f,r)=>{const u=o.o[f];let a=0;let d;let p;let h;if(!l){i=true;if(u.h==="slot"){if(e){r.classList.add(e+"-s")}u.p|=u.o?2:1}}if(u.t!==null){d=u.m=At.createTextNode(u.t)}else if(u.p&1){d=u.m=At.createTextNode("")}else{if(!c){c=u.h==="svg"}d=u.m=At.createElementNS(c?y:m,u.p&2?"slot-fb":u.h);if(c&&u.h==="foreignObject"){c=false}{I(null,u,c)}if($(e)&&d["s-si"]!==e){d.classList.add(d["s-si"]=e)}if(u.o){for(a=0;a<u.o.length;++a){p=q(t,u,a,d);if(p){d.appendChild(p)}}}{if(u.h==="svg"){c=false}else if(d.tagName==="foreignObject"){c=true}}}{d["s-hn"]=s;if(u.p&(2|1)){d["s-sr"]=true;d["s-cr"]=n;d["s-sn"]=u.u||"";h=t&&t.o&&t.o[f];if(h&&h.h===u.h&&t.m){V(t.m,false)}}}return d};const V=(t,e)=>{Dt.p|=1;const n=t.childNodes;for(let t=n.length-1;t>=0;t--){const l=n[t];if(l["s-hn"]!==s&&l["s-ol"]){K(l).insertBefore(l,J(l));l["s-ol"].remove();l["s-ol"]=undefined;i=true}if(e){V(l,e)}}Dt.p&=~1};const _=(t,e,n,l,o,i)=>{let c=t["s-cr"]&&t["s-cr"].parentNode||t;let f;if(c.shadowRoot&&c.tagName===s){c=c.shadowRoot}for(;o<=i;++o){if(l[o]){f=q(null,n,o,t);if(f){l[o].m=f;c.insertBefore(f,J(e))}}}};const z=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.m;et(e);if(t){{o=true;if(t["s-ol"]){t["s-ol"].remove()}else{V(t,true)}}t.remove()}}}};const B=(t,e,n,s)=>{let l=0;let o=0;let i=0;let c=0;let f=e.length-1;let r=e[0];let u=e[f];let a=s.length-1;let d=s[0];let p=s[a];let h;let y;while(l<=f&&o<=a){if(r==null){r=e[++l]}else if(u==null){u=e[--f]}else if(d==null){d=s[++o]}else if(p==null){p=s[--a]}else if(G(r,d)){Q(r,d);r=e[++l];d=s[++o]}else if(G(u,p)){Q(u,p);u=e[--f];p=s[--a]}else if(G(r,p)){if(r.h==="slot"||p.h==="slot"){V(r.m.parentNode,false)}Q(r,p);t.insertBefore(r.m,u.m.nextSibling);r=e[++l];p=s[--a]}else if(G(u,d)){if(r.h==="slot"||p.h==="slot"){V(u.m.parentNode,false)}Q(u,d);t.insertBefore(u.m,r.m);u=e[--f];d=s[++o]}else{i=-1;{for(c=l;c<=f;++c){if(e[c]&&e[c].i!==null&&e[c].i===d.i){i=c;break}}}if(i>=0){y=e[i];if(y.h!==d.h){h=q(e&&e[o],n,i,t)}else{Q(y,d);e[i]=undefined;h=y.m}d=s[++o]}else{h=q(e&&e[o],n,o,t);d=s[++o]}if(h){{K(r.m).insertBefore(h,J(r.m))}}}}if(l>f){_(t,s[a+1]==null?null:s[a+1].m,n,s,o,a)}else if(o>a){z(e,l,f)}};const G=(t,e)=>{if(t.h===e.h){if(t.h==="slot"){return t.u===e.u}{return t.i===e.i}}return false};const J=t=>t&&t["s-ol"]||t;const K=t=>(t["s-ol"]?t["s-ol"]:t).parentNode;const Q=(t,e)=>{const n=e.m=t.m;const s=t.o;const l=e.o;const o=e.h;const i=e.t;let f;if(i===null){{c=o==="svg"?true:o==="foreignObject"?false:c}{if(o==="slot");else{I(t,e,c)}}if(s!==null&&l!==null){B(n,s,e,l)}else if(l!==null){if(t.t!==null){n.textContent=""}_(n,null,e,l,0,l.length-1)}else if(s!==null){z(s,0,s.length-1)}if(c&&o==="svg"){c=false}}else if(f=n["s-cr"]){f.parentNode.textContent=i}else if(t.t!==i){n.data=i}};const X=t=>{const e=t.childNodes;let n;let s;let l;let o;let i;let c;for(s=0,l=e.length;s<l;s++){n=e[s];if(n.nodeType===1){if(n["s-sr"]){i=n["s-sn"];n.hidden=false;for(o=0;o<l;o++){c=e[o].nodeType;if(e[o]["s-hn"]!==n["s-hn"]||i!==""){if(c===1&&i===e[o].getAttribute("slot")){n.hidden=true;break}}else{if(c===1||c===3&&e[o].textContent.trim()!==""){n.hidden=true;break}}}}X(n)}}};const Y=[];const Z=t=>{let e;let n;let s;let l;let i;let c;let f=0;const r=t.childNodes;const u=r.length;for(;f<u;f++){e=r[f];if(e["s-sr"]&&(n=e["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;l=e["s-sn"];for(c=s.length-1;c>=0;c--){n=s[c];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==e["s-hn"]){if(tt(n,l)){i=Y.find((t=>t.j===n));o=true;n["s-sn"]=n["s-sn"]||l;if(i){i.O=e}else{Y.push({O:e,j:n})}if(n["s-sr"]){Y.map((t=>{if(tt(t.j,n["s-sn"])){i=Y.find((t=>t.j===n));if(i&&!t.O){t.O=i.O}}}))}}else if(!Y.some((t=>t.j===n))){Y.push({j:n})}}}}if(e.nodeType===1){Z(e)}}};const tt=(t,e)=>{if(t.nodeType===1){if(t.getAttribute("slot")===null&&e===""){return true}if(t.getAttribute("slot")===e){return true}return false}if(t["s-sn"]===e){return true}return e===""};const et=t=>{{t.l&&t.l.ref&&t.l.ref(null);t.o&&t.o.map(et)}};const nt=(t,c)=>{const f=t.$;const r=t.v;const u=t.M||v(null,null);const a=k(c)?c:g(null,null,c);s=f.tagName;if(r.C){a.l=a.l||{};r.C.map((([t,e])=>a.l[e]=f[t]))}a.h=null;a.p|=4;t.M=a;a.m=u.m=f.shadowRoot||f;{e=f["s-sc"]}{n=f["s-cr"];l=(r.p&1)!==0;o=false}Q(u,a);{Dt.p|=1;if(i){Z(a.m);let t;let e;let n;let s;let l;let o;let i=0;for(;i<Y.length;i++){t=Y[i];e=t.j;if(!e["s-ol"]){n=At.createTextNode("");n["s-nr"]=e;e.parentNode.insertBefore(e["s-ol"]=n,e)}}for(i=0;i<Y.length;i++){t=Y[i];e=t.j;if(t.O){s=t.O.parentNode;l=t.O.nextSibling;n=e["s-ol"];while(n=n.previousSibling){o=n["s-nr"];if(o&&o["s-sn"]===e["s-sn"]&&s===o.parentNode){o=o.nextSibling;if(!o||!o["s-nr"]){l=o;break}}}if(!l&&s!==e.parentNode||e.nextSibling!==l){if(e!==l){if(!e["s-hn"]&&e["s-ol"]){e["s-hn"]=e["s-ol"].parentNode.nodeName}s.insertBefore(e,l)}}}else{if(e.nodeType===1){e.hidden=true}}}}if(o){X(a.m)}Dt.p&=~1;Y.length=0}};const st=(t,e)=>{if(e&&!t.R&&e["s-p"]){e["s-p"].push(new Promise((e=>t.R=e)))}};const lt=(t,e)=>{{t.p|=16}if(t.p&4){t.p|=512;return}st(t,t.P);const n=()=>ot(t,e);return Qt(n)};const ot=(t,e)=>{const n=u("scheduleUpdate",t.v.S);const s=t.T;let l;if(e){{t.p|=256;if(t.U){t.U.map((([t,e])=>at(s,t,e)));t.U=null}}{l=at(s,"componentWillLoad")}}else{{l=at(s,"componentWillUpdate")}}{l=it(l,(()=>at(s,"componentWillRender")))}n();return it(l,(()=>ct(t,s,e)))};const it=(t,e)=>t instanceof Promise?t.then(e):e();const ct=async(t,e,n)=>{const s=t.$;const l=u("update",t.v.S);const o=s["s-rc"];if(n){N(t)}const i=u("render",t.v.S);{ft(t,e)}if(o){o.map((t=>t()));s["s-rc"]=undefined}i();l();{const e=s["s-p"];const n=()=>rt(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.p|=4;e.length=0}}};const ft=(t,e,n)=>{try{e=e.render();{t.p&=~16}{t.p|=2}{{{nt(t,e)}}}}catch(e){Ut(e,t.$)}return null};const rt=t=>{const e=t.v.S;const n=t.$;const s=u("postUpdate",e);const l=t.T;const o=t.P;{at(l,"componentDidRender")}if(!(t.p&64)){t.p|=64;{dt(n)}{at(l,"componentDidLoad")}s();{t.W(n);if(!o){ut()}}}else{s()}{if(t.R){t.R();t.R=undefined}if(t.p&512){Kt((()=>lt(t,false)))}t.p&=~(4|512)}};const ut=e=>{{dt(At.documentElement)}{Dt.p|=2}Kt((()=>U(Ft,"appload",{detail:{namespace:t}})))};const at=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){Ut(t)}}return undefined};const dt=t=>t.classList.add("hydrated");const pt=(t,e)=>xt(t).L.get(e);const ht=(t,e,n,s)=>{const l=xt(t);const o=l.$;const i=l.L.get(e);const c=l.p;const f=l.T;n=R(n,s.N[e][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const u=n!==i&&!r;if((!(c&8)||i===undefined)&&u){l.L.set(e,n);if(f){if(s.F&&c&128){const t=s.F[e];if(t){t.map((t=>{try{f[t](n,i,e)}catch(t){Ut(t,o)}}))}}if((c&(2|16))===2){lt(l,false)}}}};const yt=(t,e,n)=>{if(e.N){if(t.watchers){e.F=t.watchers}const s=Object.entries(e.N);const l=t.prototype;s.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,t,{get(){return pt(this,t)},set(n){ht(this,t,n,e)},configurable:true,enumerable:true})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(t,e,s){Dt.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e)){s=this[e];delete this[e]}else if(l.hasOwnProperty(e)&&typeof this[e]==="number"&&this[e]==s){return}this[e]=s===null&&typeof this[e]==="boolean"?false:s}))};t.observedAttributes=s.filter((([t,e])=>e[0]&15)).map((([t,s])=>{const l=s[1]||t;n.set(l,t);if(s[0]&512){e.C.push([t,l])}return l}))}}return t};const mt=async(t,e,n,s,l)=>{if((e.p&32)===0){e.p|=32;{l=Et(n);if(l.then){const t=a();l=await l;t()}if(!l.isProxied){{n.F=l.watchers}yt(l,n,2);l.isProxied=true}const t=u("createInstance",n.S);{e.p|=8}try{new l(e)}catch(t){Ut(t)}{e.p&=~8}{e.p|=128}t()}if(l.style){let s=l.style;if(typeof s!=="string"){s=s[e.k=C(t)]}const o=F(n,e.k);if(!Lt.has(o)){const t=u("registerStyles",n.S);E(o,s,!!(n.p&1));t()}}}const o=e.P;const i=()=>lt(e,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const $t=t=>{if((Dt.p&1)===0){const e=xt(t);const n=e.v;const s=u("connectedCallback",n.S);if(!(e.p&1)){e.p|=1;{if(n.p&(4|8)){bt(t)}}{let n=t;while(n=n.parentNode||n.host){if(n["s-p"]){st(e,e.P=n);break}}}if(n.N){Object.entries(n.N).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{mt(t,e,n)}}else{St(t,e,n.A)}s()}};const bt=t=>{const e=t["s-cr"]=At.createComment("");e["s-cn"]=true;t.insertBefore(e,t.firstChild)};const wt=t=>{if((Dt.p&1)===0){const e=xt(t);const n=e.T;{if(e.D){e.D.map((t=>t()));e.D=undefined}}{at(n,"disconnectedCallback")}}};const gt=(t,e={})=>{var n;const s=u();const l=[];const o=e.exclude||[];const i=Ft.customElements;const c=At.head;const f=c.querySelector("meta[charset]");const r=At.createElement("style");const a=[];let p;let h=true;Object.assign(Dt,e);Dt.H=new URL(e.resourcesUrl||"./",At.baseURI).href;{if(e.syncQueue){Dt.p|=4}}t.map((t=>{t[1].map((e=>{const n={p:e[0],S:e[1],N:e[2],A:e[3]};{n.N=e[2]}{n.A=e[3]}{n.C=[]}{n.F={}}const s=n.S;const c=class extends HTMLElement{constructor(t){super(t);t=this;Pt(t,n);if(n.p&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(p){clearTimeout(p);p=null}if(h){a.push(this)}else{Dt.jmp((()=>$t(this)))}}disconnectedCallback(){Dt.jmp((()=>wt(this)))}componentOnReady(){return xt(this).I}};n.q=t[0];if(!o.includes(s)&&!i.get(s)){l.push(s);i.define(s,yt(c,n,1))}}))}));{r.innerHTML=l+d;r.setAttribute("data-styles","");const t=(n=Dt.g)!==null&&n!==void 0?n:w(At);if(t!=null){r.setAttribute("nonce",t)}c.insertBefore(r,f?f.nextSibling:c.firstChild)}h=false;if(a.length){a.map((t=>t.connectedCallback()))}else{{Dt.jmp((()=>p=setTimeout(ut,30)))}}s()};const vt=(t,e)=>e;const St=(t,e,n,s)=>{if(n){n.map((([n,s,l])=>{const o=jt(t,n);const i=kt(e,l);const c=Ot(n);Dt.ael(o,s,i,c);(e.D=e.D||[]).push((()=>Dt.rel(o,s,i,c)))}))}};const kt=(t,e)=>n=>{try{{if(t.p&256){t.T[e](n)}else{(t.U=t.U||[]).push([e,n])}}}catch(t){Ut(t)}};const jt=(t,e)=>{if(e&4)return At;if(e&8)return Ft;return t};const Ot=t=>(t&2)!==0;const Mt=t=>Dt.g=t;const Ct=new WeakMap;const xt=t=>Ct.get(t);const Rt=(t,e)=>Ct.set(e.T=t,e);const Pt=(t,e)=>{const n={p:0,$:t,v:e,L:new Map};{n.I=new Promise((t=>n.W=t));t["s-p"]=[];t["s-rc"]=[]}St(t,n,e.A);return Ct.set(t,n)};const Tt=(t,e)=>e in t;const Ut=(t,e)=>(0,console.error)(t,e);const Wt=new Map;const Et=(t,e,n)=>{const s=t.S.replace(/-/g,"_");const l=t.q;const o=Wt.get(l);if(o){return o[s]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((t=>{{Wt.set(l,t)}return t[s]}),Ut)};const Lt=new Map;const Nt=[];const Ft=typeof window!=="undefined"?window:{};const At=Ft.document||{head:{}};const Dt={p:0,H:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const Ht=t=>Promise.resolve(t);const It=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const qt=[];const Vt=[];const _t=[];const zt=(t,e)=>n=>{t.push(n);if(!r){r=true;if(e&&Dt.p&4){Kt(Jt)}else{Dt.raf(Jt)}}};const Bt=t=>{for(let e=0;e<t.length;e++){try{t[e](performance.now())}catch(t){Ut(t)}}t.length=0};const Gt=(t,e)=>{let n=0;let s=0;while(n<t.length&&(s=performance.now())<e){try{t[n++](s)}catch(t){Ut(t)}}if(n===t.length){t.length=0}else if(n!==0){t.splice(0,n)}};const Jt=()=>{{f++}Bt(qt);{const t=(Dt.p&6)===2?performance.now()+14*Math.ceil(f*(1/10)):Infinity;Gt(Vt,t);Gt(_t,t);if(Vt.length>0){_t.push(...Vt);Vt.length=0}if(r=qt.length+Vt.length+_t.length>0){Dt.raf(Jt)}else{f=0}}};const Kt=t=>Ht().then(t);const Qt=zt(Vt,true);export{vt as F,S as H,x as a,gt as b,T as c,P as g,g as h,Ht as p,Rt as r,Mt as s};
3
- //# sourceMappingURL=index-9920074a.js.map
1
+ const t="huds-lib";let e;let n;let s;let l=false;let o=false;let i=false;let c=false;let f=0;let r=false;const u=(t,e="")=>{{return()=>{}}};const a=(t,e)=>{{return()=>{}}};const d="{visibility:hidden}.hydrated{visibility:inherit}";const p="http://www.w3.org/1999/xlink";const h={};const y="http://www.w3.org/2000/svg";const m="http://www.w3.org/1999/xhtml";const $=t=>t!=null;const b=t=>{t=typeof t;return t==="object"||t==="function"};function w(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const g=(t,e,...n)=>{let s=null;let l=null;let o=null;let i=false;let c=false;const f=[];const r=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){r(s)}else if(s!=null&&typeof s!=="boolean"){if(i=typeof t!=="function"&&!b(s)){s=String(s)}if(i&&c){f[f.length-1].t+=s}else{f.push(i?v(null,s):s)}c=i}}};r(n);if(e){if(e.key){l=e.key}if(e.name){o=e.name}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}if(typeof t==="function"){return t(e===null?{}:e,f,j)}const u=v(t,null);u.l=e;if(f.length>0){u.o=f}{u.i=l}{u.u=o}return u};const v=(t,e)=>{const n={p:0,h:t,t:e,m:null,o:null};{n.l=null}{n.i=null}{n.u=null}return n};const S={};const k=t=>t&&t.h===S;const j={forEach:(t,e)=>t.map(O).forEach(e),map:(t,e)=>t.map(O).map(e).map(M)};const O=t=>({vattrs:t.l,vchildren:t.o,vkey:t.i,vname:t.u,vtag:t.h,vtext:t.t});const M=t=>{if(typeof t.vtag==="function"){const e=Object.assign({},t.vattrs);if(t.vkey){e.key=t.vkey}if(t.vname){e.name=t.vname}return g(t.vtag,e,...t.vchildren||[])}const e=v(t.vtag,t.vtext);e.l=t.vattrs;e.o=t.vchildren;e.i=t.vkey;e.u=t.vname;return e};const C=t=>Ft.map((e=>e(t))).find((t=>!!t));const x=t=>Ft.push(t);const R=(t,e)=>{if(t!=null&&!b(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const P=t=>Rt(t).$;const T=(t,e,n)=>{const s=P(t);return{emit:t=>U(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const U=(t,e,n)=>{const s=Ht.ce(e,n);t.dispatchEvent(s);return s};const W=new WeakMap;const E=(t,e,n)=>{let s=Nt.get(t);if(qt&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}Nt.set(t,s)};const L=(t,e,n,s)=>{var l;let o=F(e,n);const i=Nt.get(o);t=t.nodeType===11?t:Dt;if(i){if(typeof i==="string"){t=t.head||t;let e=W.get(t);let n;if(!e){W.set(t,e=new Set)}if(!e.has(o)){{{n=Dt.createElement("style");n.innerHTML=i}const e=(l=Ht.g)!==null&&l!==void 0?l:w(Dt);if(e!=null){n.setAttribute("nonce",e)}t.insertBefore(n,t.querySelector("link"))}if(e){e.add(o)}}}else if(!t.adoptedStyleSheets.includes(i)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,i]}}return o};const N=t=>{const e=t.v;const n=t.$;const s=e.p;const l=u("attachStyles",e.S);const o=L(n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.k);if(s&10){n["s-sc"]=o;n.classList.add(o+"-h")}l()};const F=(t,e)=>"sc-"+(e&&t.p&32?t.S+"-"+e:t.S);const A=(t,e,n,s,l,o)=>{if(n!==s){let i=Ut(t,e);let c=e.toLowerCase();if(e==="class"){const e=t.classList;const l=H(n);const o=H(s);e.remove(...l.filter((t=>t&&!o.includes(t))));e.add(...o.filter((t=>t&&!l.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!i&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Ut(At,c)){e=c.slice(2)}else{e=c[2]+e.slice(3)}if(n){Ht.rel(t,e,n,false)}if(s){Ht.ael(t,e,s,false)}}else{const f=b(s);if((i||f&&s!==null)&&!l){try{if(!t.tagName.includes("-")){const l=s==null?"":s;if(e==="list"){i=false}else if(n==null||t[e]!=l){t[e]=l}}else{t[e]=s}}catch(t){}}let r=false;{if(c!==(c=c.replace(/^xlink\:?/,""))){e=c;r=true}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){if(r){t.removeAttributeNS(p,e)}else{t.removeAttribute(e)}}}else if((!i||o&4||l)&&!f){s=s===true?"":s;if(r){t.setAttributeNS(p,e,s)}else{t.setAttribute(e,s)}}}}};const D=/\s/;const H=t=>!t?[]:t.split(D);const I=(t,e,n,s)=>{const l=e.m.nodeType===11&&e.m.host?e.m.host:e.m;const o=t&&t.l||h;const i=e.l||h;{for(s in o){if(!(s in i)){A(l,s,o[s],undefined,n,e.p)}}}for(s in i){A(l,s,o[s],i[s],n,e.p)}};const q=(t,o,f,r)=>{const u=o.o[f];let a=0;let d;let p;let h;if(!l){i=true;if(u.h==="slot"){if(e){r.classList.add(e+"-s")}u.p|=u.o?2:1}}if(u.t!==null){d=u.m=Dt.createTextNode(u.t)}else if(u.p&1){d=u.m=Dt.createTextNode("")}else{if(!c){c=u.h==="svg"}d=u.m=Dt.createElementNS(c?y:m,u.p&2?"slot-fb":u.h);if(c&&u.h==="foreignObject"){c=false}{I(null,u,c)}if($(e)&&d["s-si"]!==e){d.classList.add(d["s-si"]=e)}if(u.o){for(a=0;a<u.o.length;++a){p=q(t,u,a,d);if(p){d.appendChild(p)}}}{if(u.h==="svg"){c=false}else if(d.tagName==="foreignObject"){c=true}}}{d["s-hn"]=s;if(u.p&(2|1)){d["s-sr"]=true;d["s-cr"]=n;d["s-sn"]=u.u||"";h=t&&t.o&&t.o[f];if(h&&h.h===u.h&&t.m){V(t.m,false)}}}return d};const V=(t,e)=>{Ht.p|=1;const n=t.childNodes;for(let t=n.length-1;t>=0;t--){const l=n[t];if(l["s-hn"]!==s&&l["s-ol"]){K(l).insertBefore(l,J(l));l["s-ol"].remove();l["s-ol"]=undefined;i=true}if(e){V(l,e)}}Ht.p&=~1};const _=(t,e,n,l,o,i)=>{let c=t["s-cr"]&&t["s-cr"].parentNode||t;let f;if(c.shadowRoot&&c.tagName===s){c=c.shadowRoot}for(;o<=i;++o){if(l[o]){f=q(null,n,o,t);if(f){l[o].m=f;c.insertBefore(f,J(e))}}}};const z=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.m;et(e);if(t){{o=true;if(t["s-ol"]){t["s-ol"].remove()}else{V(t,true)}}t.remove()}}}};const B=(t,e,n,s)=>{let l=0;let o=0;let i=0;let c=0;let f=e.length-1;let r=e[0];let u=e[f];let a=s.length-1;let d=s[0];let p=s[a];let h;let y;while(l<=f&&o<=a){if(r==null){r=e[++l]}else if(u==null){u=e[--f]}else if(d==null){d=s[++o]}else if(p==null){p=s[--a]}else if(G(r,d)){Q(r,d);r=e[++l];d=s[++o]}else if(G(u,p)){Q(u,p);u=e[--f];p=s[--a]}else if(G(r,p)){if(r.h==="slot"||p.h==="slot"){V(r.m.parentNode,false)}Q(r,p);t.insertBefore(r.m,u.m.nextSibling);r=e[++l];p=s[--a]}else if(G(u,d)){if(r.h==="slot"||p.h==="slot"){V(u.m.parentNode,false)}Q(u,d);t.insertBefore(u.m,r.m);u=e[--f];d=s[++o]}else{i=-1;{for(c=l;c<=f;++c){if(e[c]&&e[c].i!==null&&e[c].i===d.i){i=c;break}}}if(i>=0){y=e[i];if(y.h!==d.h){h=q(e&&e[o],n,i,t)}else{Q(y,d);e[i]=undefined;h=y.m}d=s[++o]}else{h=q(e&&e[o],n,o,t);d=s[++o]}if(h){{K(r.m).insertBefore(h,J(r.m))}}}}if(l>f){_(t,s[a+1]==null?null:s[a+1].m,n,s,o,a)}else if(o>a){z(e,l,f)}};const G=(t,e)=>{if(t.h===e.h){if(t.h==="slot"){return t.u===e.u}{return t.i===e.i}}return false};const J=t=>t&&t["s-ol"]||t;const K=t=>(t["s-ol"]?t["s-ol"]:t).parentNode;const Q=(t,e)=>{const n=e.m=t.m;const s=t.o;const l=e.o;const o=e.h;const i=e.t;let f;if(i===null){{c=o==="svg"?true:o==="foreignObject"?false:c}{if(o==="slot");else{I(t,e,c)}}if(s!==null&&l!==null){B(n,s,e,l)}else if(l!==null){if(t.t!==null){n.textContent=""}_(n,null,e,l,0,l.length-1)}else if(s!==null){z(s,0,s.length-1)}if(c&&o==="svg"){c=false}}else if(f=n["s-cr"]){f.parentNode.textContent=i}else if(t.t!==i){n.data=i}};const X=t=>{const e=t.childNodes;let n;let s;let l;let o;let i;let c;for(s=0,l=e.length;s<l;s++){n=e[s];if(n.nodeType===1){if(n["s-sr"]){i=n["s-sn"];n.hidden=false;for(o=0;o<l;o++){c=e[o].nodeType;if(e[o]["s-hn"]!==n["s-hn"]||i!==""){if(c===1&&i===e[o].getAttribute("slot")){n.hidden=true;break}}else{if(c===1||c===3&&e[o].textContent.trim()!==""){n.hidden=true;break}}}}X(n)}}};const Y=[];const Z=t=>{let e;let n;let s;let l;let i;let c;let f=0;const r=t.childNodes;const u=r.length;for(;f<u;f++){e=r[f];if(e["s-sr"]&&(n=e["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;l=e["s-sn"];for(c=s.length-1;c>=0;c--){n=s[c];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==e["s-hn"]){if(tt(n,l)){i=Y.find((t=>t.j===n));o=true;n["s-sn"]=n["s-sn"]||l;if(i){i.O=e}else{Y.push({O:e,j:n})}if(n["s-sr"]){Y.map((t=>{if(tt(t.j,n["s-sn"])){i=Y.find((t=>t.j===n));if(i&&!t.O){t.O=i.O}}}))}}else if(!Y.some((t=>t.j===n))){Y.push({j:n})}}}}if(e.nodeType===1){Z(e)}}};const tt=(t,e)=>{if(t.nodeType===1){if(t.getAttribute("slot")===null&&e===""){return true}if(t.getAttribute("slot")===e){return true}return false}if(t["s-sn"]===e){return true}return e===""};const et=t=>{{t.l&&t.l.ref&&t.l.ref(null);t.o&&t.o.map(et)}};const nt=(t,c)=>{const f=t.$;const r=t.v;const u=t.M||v(null,null);const a=k(c)?c:g(null,null,c);s=f.tagName;if(r.C){a.l=a.l||{};r.C.map((([t,e])=>a.l[e]=f[t]))}a.h=null;a.p|=4;t.M=a;a.m=u.m=f.shadowRoot||f;{e=f["s-sc"]}{n=f["s-cr"];l=(r.p&1)!==0;o=false}Q(u,a);{Ht.p|=1;if(i){Z(a.m);let t;let e;let n;let s;let l;let o;let i=0;for(;i<Y.length;i++){t=Y[i];e=t.j;if(!e["s-ol"]){n=Dt.createTextNode("");n["s-nr"]=e;e.parentNode.insertBefore(e["s-ol"]=n,e)}}for(i=0;i<Y.length;i++){t=Y[i];e=t.j;if(t.O){s=t.O.parentNode;l=t.O.nextSibling;n=e["s-ol"];while(n=n.previousSibling){o=n["s-nr"];if(o&&o["s-sn"]===e["s-sn"]&&s===o.parentNode){o=o.nextSibling;if(!o||!o["s-nr"]){l=o;break}}}if(!l&&s!==e.parentNode||e.nextSibling!==l){if(e!==l){if(!e["s-hn"]&&e["s-ol"]){e["s-hn"]=e["s-ol"].parentNode.nodeName}s.insertBefore(e,l)}}}else{if(e.nodeType===1){e.hidden=true}}}}if(o){X(a.m)}Ht.p&=~1;Y.length=0}};const st=(t,e)=>{if(e&&!t.R&&e["s-p"]){e["s-p"].push(new Promise((e=>t.R=e)))}};const lt=(t,e)=>{{t.p|=16}if(t.p&4){t.p|=512;return}st(t,t.P);const n=()=>ot(t,e);return Xt(n)};const ot=(t,e)=>{const n=u("scheduleUpdate",t.v.S);const s=t.T;let l;if(e){{t.p|=256;if(t.U){t.U.map((([t,e])=>dt(s,t,e)));t.U=undefined}}{l=dt(s,"componentWillLoad")}}else{{l=dt(s,"componentWillUpdate")}}{l=it(l,(()=>dt(s,"componentWillRender")))}n();return it(l,(()=>ft(t,s,e)))};const it=(t,e)=>ct(t)?t.then(e):e();const ct=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const ft=async(t,e,n)=>{var s;const l=t.$;const o=u("update",t.v.S);const i=l["s-rc"];if(n){N(t)}const c=u("render",t.v.S);{rt(t,e)}if(i){i.map((t=>t()));l["s-rc"]=undefined}c();o();{const e=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>ut(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.p|=4;e.length=0}}};const rt=(t,e,n)=>{try{e=e.render();{t.p&=~16}{t.p|=2}{{{nt(t,e)}}}}catch(e){Wt(e,t.$)}return null};const ut=t=>{const e=t.v.S;const n=t.$;const s=u("postUpdate",e);const l=t.T;const o=t.P;{dt(l,"componentDidRender")}if(!(t.p&64)){t.p|=64;{pt(n)}{dt(l,"componentDidLoad")}s();{t.W(n);if(!o){at()}}}else{s()}{if(t.R){t.R();t.R=undefined}if(t.p&512){Qt((()=>lt(t,false)))}t.p&=~(4|512)}};const at=e=>{{pt(Dt.documentElement)}{Ht.p|=2}Qt((()=>U(At,"appload",{detail:{namespace:t}})))};const dt=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){Wt(t)}}return undefined};const pt=t=>t.classList.add("hydrated");const ht=(t,e)=>Rt(t).L.get(e);const yt=(t,e,n,s)=>{const l=Rt(t);const o=l.$;const i=l.L.get(e);const c=l.p;const f=l.T;n=R(n,s.N[e][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const u=n!==i&&!r;if((!(c&8)||i===undefined)&&u){l.L.set(e,n);if(f){if(s.F&&c&128){const t=s.F[e];if(t){t.map((t=>{try{f[t](n,i,e)}catch(t){Wt(t,o)}}))}}if((c&(2|16))===2){lt(l,false)}}}};const mt=(t,e,n)=>{if(e.N){if(t.watchers){e.F=t.watchers}const s=Object.entries(e.N);const l=t.prototype;s.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,t,{get(){return ht(this,t)},set(n){yt(this,t,n,e)},configurable:true,enumerable:true})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(t,e,s){Ht.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e)){s=this[e];delete this[e]}else if(l.hasOwnProperty(e)&&typeof this[e]==="number"&&this[e]==s){return}this[e]=s===null&&typeof this[e]==="boolean"?false:s}))};t.observedAttributes=s.filter((([t,e])=>e[0]&15)).map((([t,s])=>{const l=s[1]||t;n.set(l,t);if(s[0]&512){e.C.push([t,l])}return l}))}}return t};const $t=async(t,e,n,s,l)=>{if((e.p&32)===0){e.p|=32;{l=Lt(n);if(l.then){const t=a();l=await l;t()}if(!l.isProxied){{n.F=l.watchers}mt(l,n,2);l.isProxied=true}const t=u("createInstance",n.S);{e.p|=8}try{new l(e)}catch(t){Wt(t)}{e.p&=~8}{e.p|=128}t()}if(l.style){let s=l.style;if(typeof s!=="string"){s=s[e.k=C(t)]}const o=F(n,e.k);if(!Nt.has(o)){const t=u("registerStyles",n.S);E(o,s,!!(n.p&1));t()}}}const o=e.P;const i=()=>lt(e,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const bt=t=>{if((Ht.p&1)===0){const e=Rt(t);const n=e.v;const s=u("connectedCallback",n.S);if(!(e.p&1)){e.p|=1;{if(n.p&(4|8)){wt(t)}}{let n=t;while(n=n.parentNode||n.host){if(n["s-p"]){st(e,e.P=n);break}}}if(n.N){Object.entries(n.N).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{$t(t,e,n)}}else{kt(t,e,n.A)}s()}};const wt=t=>{const e=t["s-cr"]=Dt.createComment("");e["s-cn"]=true;t.insertBefore(e,t.firstChild)};const gt=t=>{if((Ht.p&1)===0){const e=Rt(t);const n=e.T;{if(e.D){e.D.map((t=>t()));e.D=undefined}}{dt(n,"disconnectedCallback")}}};const vt=(t,e={})=>{var n;const s=u();const l=[];const o=e.exclude||[];const i=At.customElements;const c=Dt.head;const f=c.querySelector("meta[charset]");const r=Dt.createElement("style");const a=[];let p;let h=true;Object.assign(Ht,e);Ht.H=new URL(e.resourcesUrl||"./",Dt.baseURI).href;{if(e.syncQueue){Ht.p|=4}}t.map((t=>{t[1].map((e=>{const n={p:e[0],S:e[1],N:e[2],A:e[3]};{n.N=e[2]}{n.A=e[3]}{n.C=[]}{n.F={}}const s=n.S;const c=class extends HTMLElement{constructor(t){super(t);t=this;Tt(t,n);if(n.p&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(p){clearTimeout(p);p=null}if(h){a.push(this)}else{Ht.jmp((()=>bt(this)))}}disconnectedCallback(){Ht.jmp((()=>gt(this)))}componentOnReady(){return Rt(this).I}};n.q=t[0];if(!o.includes(s)&&!i.get(s)){l.push(s);i.define(s,mt(c,n,1))}}))}));{r.innerHTML=l+d;r.setAttribute("data-styles","");const t=(n=Ht.g)!==null&&n!==void 0?n:w(Dt);if(t!=null){r.setAttribute("nonce",t)}c.insertBefore(r,f?f.nextSibling:c.firstChild)}h=false;if(a.length){a.map((t=>t.connectedCallback()))}else{{Ht.jmp((()=>p=setTimeout(at,30)))}}s()};const St=(t,e)=>e;const kt=(t,e,n,s)=>{if(n){n.map((([n,s,l])=>{const o=Ot(t,n);const i=jt(e,l);const c=Mt(n);Ht.ael(o,s,i,c);(e.D=e.D||[]).push((()=>Ht.rel(o,s,i,c)))}))}};const jt=(t,e)=>n=>{try{{if(t.p&256){t.T[e](n)}else{(t.U=t.U||[]).push([e,n])}}}catch(t){Wt(t)}};const Ot=(t,e)=>{if(e&4)return Dt;if(e&8)return At;return t};const Mt=t=>(t&2)!==0;const Ct=t=>Ht.g=t;const xt=new WeakMap;const Rt=t=>xt.get(t);const Pt=(t,e)=>xt.set(e.T=t,e);const Tt=(t,e)=>{const n={p:0,$:t,v:e,L:new Map};{n.I=new Promise((t=>n.W=t));t["s-p"]=[];t["s-rc"]=[]}kt(t,n,e.A);return xt.set(t,n)};const Ut=(t,e)=>e in t;const Wt=(t,e)=>(0,console.error)(t,e);const Et=new Map;const Lt=(t,e,n)=>{const s=t.S.replace(/-/g,"_");const l=t.q;const o=Et.get(l);if(o){return o[s]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((t=>{{Et.set(l,t)}return t[s]}),Wt)};const Nt=new Map;const Ft=[];const At=typeof window!=="undefined"?window:{};const Dt=At.document||{head:{}};const Ht={p:0,H:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const It=t=>Promise.resolve(t);const qt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const Vt=[];const _t=[];const zt=[];const Bt=(t,e)=>n=>{t.push(n);if(!r){r=true;if(e&&Ht.p&4){Qt(Kt)}else{Ht.raf(Kt)}}};const Gt=t=>{for(let e=0;e<t.length;e++){try{t[e](performance.now())}catch(t){Wt(t)}}t.length=0};const Jt=(t,e)=>{let n=0;let s=0;while(n<t.length&&(s=performance.now())<e){try{t[n++](s)}catch(t){Wt(t)}}if(n===t.length){t.length=0}else if(n!==0){t.splice(0,n)}};const Kt=()=>{{f++}Gt(Vt);{const t=(Ht.p&6)===2?performance.now()+14*Math.ceil(f*(1/10)):Infinity;Jt(_t,t);Jt(zt,t);if(_t.length>0){zt.push(..._t);_t.length=0}if(r=Vt.length+_t.length+zt.length>0){Ht.raf(Kt)}else{f=0}}};const Qt=t=>It().then(t);const Xt=Bt(_t,true);export{St as F,S as H,x as a,vt as b,T as c,P as g,g as h,It as p,Pt as r,Ct as s};
3
+ //# sourceMappingURL=index-f84f2a7d.js.map