@ebrains/vue 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/clone-dab56639-CA90NNP5.mjs +4 -0
  2. package/clone-dab56639-DhCcTb4A.js +1 -0
  3. package/color-primary-palette_6.entry-BXemwFsT.js +1 -0
  4. package/{color-primary-palette_6.entry-Dx0sxiGl.mjs → color-primary-palette_6.entry-DT6y6FEy.mjs} +19 -19
  5. package/{components-section.entry-DlSK2XQH.js → components-section.entry-DUk1tQHE.js} +2 -2
  6. package/{components-section.entry-CunkKxAI.mjs → components-section.entry-yX3kMkgT.mjs} +2 -2
  7. package/{correct-use-of-colors.entry-CEWf34uE.js → correct-use-of-colors.entry-B8pPJm38.js} +1 -1
  8. package/{correct-use-of-colors.entry-DCSZZlrZ.mjs → correct-use-of-colors.entry-qD6fSpYF.mjs} +2 -2
  9. package/{docs-palettes.entry-DcN9LWvY.js → docs-palettes.entry-BMNsh6gh.js} +1 -1
  10. package/{docs-palettes.entry-BNFu_gbi.mjs → docs-palettes.entry-M87-ULxr.mjs} +4 -4
  11. package/{docs-tokens.entry-B3fO_wav.js → docs-tokens.entry-CjGpfZ1N.js} +1 -1
  12. package/{docs-tokens.entry-BMB3774g.mjs → docs-tokens.entry-DTMTLW6z.mjs} +2 -2
  13. package/edit-3893a517-D_Sgle6i.js +1 -0
  14. package/edit-3893a517-rsZs4NLF.mjs +4 -0
  15. package/{eds-avatar_26.entry-BQ34MNWx.mjs → eds-accordion_33.entry-CH6A78x3.mjs} +2839 -523
  16. package/{eds-avatar_26.entry-t5Dh1R-T.js → eds-accordion_33.entry-_Zc7vKFf.js} +192 -13
  17. package/eds-app-root.entry-COSmczak.mjs +25 -0
  18. package/eds-app-root.entry-DIHavIUM.js +1 -0
  19. package/{eds-card-desc_2.entry-BhqAsb3U.js → eds-card-desc_2.entry-D5GUottX.js} +1 -1
  20. package/{eds-card-desc_2.entry-D_GE153d.mjs → eds-card-desc_2.entry-YL4OVWD3.mjs} +6 -6
  21. package/{eds-card-generic.entry-B9M3v5vo.mjs → eds-card-generic.entry-Chm2AUtp.mjs} +1 -1
  22. package/{eds-card-generic.entry-DNr8lsia.js → eds-card-generic.entry-Diq4dtrs.js} +1 -1
  23. package/{eds-card-project.entry-CtwByu-b.mjs → eds-card-project.entry-CPqHqPOm.mjs} +6 -6
  24. package/{eds-card-project.entry-DDVZxmW4.js → eds-card-project.entry-JFVjbS0l.js} +1 -1
  25. package/{eds-card-section.entry-DQfUs62H.mjs → eds-card-section.entry-DpMTJ8Kn.mjs} +1 -1
  26. package/{eds-card-section.entry-Dq80ib2D.js → eds-card-section.entry-JZFsrwn5.js} +1 -1
  27. package/eds-card-tags.entry-DnNdxAaA.mjs +13 -0
  28. package/eds-card-tags.entry-DylnM44o.js +1 -0
  29. package/{eds-card-tool.entry-CNxFGROK.js → eds-card-tool.entry-CdtWr6SE.js} +1 -1
  30. package/{eds-card-tool.entry-D1HR_5K1.mjs → eds-card-tool.entry-DPWvJcI1.mjs} +5 -5
  31. package/{eds-cookies-preference.entry-CVk-5TmL.mjs → eds-cookies-preference.entry-CGit10s-.mjs} +5 -5
  32. package/{eds-cookies-preference.entry-D3iYnclm.js → eds-cookies-preference.entry-RT9hWQNy.js} +1 -1
  33. package/{eds-feedback.entry-mYb4amQb.js → eds-feedback.entry-B7PDcHGI.js} +1 -1
  34. package/{eds-feedback.entry-B1yQSCpz.mjs → eds-feedback.entry-DVqpmSiS.mjs} +2 -2
  35. package/{eds-footer.entry-DMUzB4MR.js → eds-footer.entry-BzcdvTWO.js} +1 -1
  36. package/{eds-footer.entry-C93DGupd.mjs → eds-footer.entry-D-ITdNTf.mjs} +11 -9
  37. package/{eds-frame.entry-n9qJhfsP.mjs → eds-frame.entry-C2Ldr3c9.mjs} +4 -4
  38. package/{eds-frame.entry-eqZLv-6q.js → eds-frame.entry-tcZQdrbE.js} +1 -1
  39. package/{eds-fullscreen-menu.entry-CUitgYea.mjs → eds-fullscreen-menu.entry-BGFJIgQP.mjs} +1 -1
  40. package/{eds-fullscreen-menu.entry-DKAdy3Bn.js → eds-fullscreen-menu.entry-BPbeGaPc.js} +1 -1
  41. package/{eds-gauge.entry-CrqkvnWf.mjs → eds-gauge.entry-Lu0hJx9p.mjs} +4 -4
  42. package/{eds-gauge.entry-Bjp3cj0S.js → eds-gauge.entry-pvfbXYgB.js} +1 -1
  43. package/eds-icon-arrow-diagonal.entry-B6IRXDMe.js +1 -0
  44. package/eds-icon-arrow-diagonal.entry-COlE8H7P.mjs +13 -0
  45. package/eds-icon-arrow-right.entry-BDHsQpfx.js +1 -0
  46. package/eds-icon-arrow-right.entry-Diznub_E.mjs +13 -0
  47. package/eds-icon-bin.entry-Bfl68q7b.mjs +13 -0
  48. package/eds-icon-bin.entry-ultyoyMK.js +1 -0
  49. package/eds-icon-bluesky.entry-Dzx9WU3j.mjs +13 -0
  50. package/{eds-icon-bluesky.entry-DJCdYrfU.js → eds-icon-bluesky.entry-QLpKGRxg.js} +1 -1
  51. package/eds-icon-bookmark.entry-CaBpzM1Z.js +1 -0
  52. package/eds-icon-bookmark.entry-CqikyWZl.mjs +13 -0
  53. package/eds-icon-chevron-down.entry-C-Z3ai4m.mjs +13 -0
  54. package/{eds-icon-chevron-down.entry-B__d09rD.js → eds-icon-chevron-down.entry-CzxQpRMw.js} +1 -1
  55. package/eds-icon-chevron-left.entry-BnE13pkI.mjs +13 -0
  56. package/eds-icon-chevron-left.entry-DcS5XbLe.js +1 -0
  57. package/eds-icon-chevron-right.entry-D4MlgSyJ.js +1 -0
  58. package/{eds-icon-chevron-right.entry-C0dfqwMy.mjs → eds-icon-chevron-right.entry-nJd-cRnH.mjs} +2 -2
  59. package/eds-icon-chevron-up.entry-DRT2Ubhe.mjs +13 -0
  60. package/eds-icon-chevron-up.entry-wQck5opp.js +1 -0
  61. package/eds-icon-clone.entry-BXVQstwR.mjs +13 -0
  62. package/eds-icon-clone.entry-DT1LJrsq.js +1 -0
  63. package/{eds-icon-close.entry-D09Q-ylx.js → eds-icon-close.entry-BadFYgtq.js} +1 -1
  64. package/eds-icon-close.entry-D2oFO-Qa.mjs +13 -0
  65. package/eds-icon-copy.entry-FRGQGwF-.mjs +13 -0
  66. package/eds-icon-copy.entry-lr2PVIPY.js +1 -0
  67. package/{eds-icon-draft.entry-TMbsQxNO.js → eds-icon-draft.entry-B9bUr2sw.js} +1 -1
  68. package/eds-icon-draft.entry-BwIwH62i.mjs +13 -0
  69. package/eds-icon-edit.entry-CvVY2UCN.mjs +13 -0
  70. package/eds-icon-edit.entry-sr_B_lUk.js +1 -0
  71. package/eds-icon-eu.entry-CWqu1Rr1.mjs +13 -0
  72. package/eds-icon-eu.entry-DDO74t4u.js +1 -0
  73. package/{eds-icon-external.entry-DjuhhmIA.js → eds-icon-external.entry-BqrklnFa.js} +1 -1
  74. package/eds-icon-external.entry-CcbC-mfi.mjs +13 -0
  75. package/eds-icon-facebook.entry-BtsECcJC.mjs +13 -0
  76. package/{eds-icon-facebook.entry-BdzYJmXP.js → eds-icon-facebook.entry-j4DS-WX4.js} +1 -1
  77. package/{eds-icon-gitlab.entry-CeKDBPdQ.mjs → eds-icon-gitlab.entry-BNblqbEX.mjs} +2 -2
  78. package/{eds-icon-gitlab.entry-BE8qLkYR.js → eds-icon-gitlab.entry-sQHBONNM.js} +1 -1
  79. package/{eds-icon-linkedin.entry-C4GaDa_x.js → eds-icon-linkedin.entry-Bs23nlsd.js} +1 -1
  80. package/eds-icon-linkedin.entry-CW-eurxB.mjs +13 -0
  81. package/{eds-icon-loader.entry-BzyS9rwg.js → eds-icon-loader.entry-CTnsFpV3.js} +1 -1
  82. package/eds-icon-loader.entry-J7Ane02R.mjs +13 -0
  83. package/{eds-icon-mastodon.entry-D_cz6_YV.js → eds-icon-mastodon.entry-B-ep-Tof.js} +1 -1
  84. package/eds-icon-mastodon.entry-BI2ATALp.mjs +13 -0
  85. package/eds-icon-menu.entry-CyhJAZL1.mjs +13 -0
  86. package/eds-icon-menu.entry-U1p7j7fy.js +1 -0
  87. package/{eds-icon-minus.entry-DPNNp66u.js → eds-icon-minus.entry-BdZZH0nX.js} +1 -1
  88. package/eds-icon-minus.entry-CgX27qzW.mjs +13 -0
  89. package/eds-icon-more.entry-D9S9kaWH.js +1 -0
  90. package/eds-icon-more.entry-DIQAQUHB.mjs +13 -0
  91. package/{eds-icon-paper.entry-CGeDyZ2Q.js → eds-icon-paper.entry-5re06zkj.js} +1 -1
  92. package/{eds-icon-paper.entry-BLYcxhYh.mjs → eds-icon-paper.entry-Bkx17qOK.mjs} +2 -2
  93. package/eds-icon-plus.entry-BzkeCu8f.mjs +13 -0
  94. package/eds-icon-plus.entry-CCZPj6w9.js +1 -0
  95. package/{eds-icon-portal.entry-YF8r9Y0s.js → eds-icon-portal.entry--FIUk_KW.js} +1 -1
  96. package/{eds-icon-portal.entry-Br9nR5tb.mjs → eds-icon-portal.entry-B_e1recN.mjs} +2 -2
  97. package/eds-icon-private.entry-BBt40biA.mjs +13 -0
  98. package/{eds-icon-private.entry-DGy28MBj.js → eds-icon-private.entry-CaeaHY9B.js} +1 -1
  99. package/eds-icon-public.entry-B1nkVESn.js +1 -0
  100. package/eds-icon-public.entry-C4XFHe13.mjs +13 -0
  101. package/eds-icon-search.entry-C8nsE_QJ.js +1 -0
  102. package/eds-icon-search.entry-jhUWh3yI.mjs +13 -0
  103. package/eds-icon-star.entry-BZwxie0S.mjs +13 -0
  104. package/eds-icon-star.entry-i4E24D7i.js +1 -0
  105. package/{eds-icon-start.entry-EmqNVYVq.mjs → eds-icon-start.entry-DDR6VjFj.mjs} +2 -2
  106. package/{eds-icon-start.entry-gFD3CneX.js → eds-icon-start.entry-XPXm0_E-.js} +1 -1
  107. package/eds-icon-success.entry-DDNbMpuL.js +1 -0
  108. package/eds-icon-success.entry-iYFlRYkD.mjs +13 -0
  109. package/eds-icon-thumbs-down.entry-B1pz46Mt.mjs +13 -0
  110. package/{eds-icon-thumbs-down.entry-BA_isKQz.js → eds-icon-thumbs-down.entry-CXPSaKje.js} +1 -1
  111. package/eds-icon-thumbs-up.entry-DKAME_Ra.js +1 -0
  112. package/eds-icon-thumbs-up.entry-DiGUetz-.mjs +13 -0
  113. package/eds-icon-tutorial.entry-BJ2VttuA.mjs +13 -0
  114. package/{eds-icon-tutorial.entry-DReMsj7W.js → eds-icon-tutorial.entry-CjbYvKJv.js} +1 -1
  115. package/eds-icon-twitter.entry-CRXixMx5.mjs +13 -0
  116. package/{eds-icon-twitter.entry-CZo7HVCl.js → eds-icon-twitter.entry-D_pH9RWV.js} +1 -1
  117. package/eds-icon-unknown.entry-B3C3gOfb.mjs +13 -0
  118. package/eds-icon-unknown.entry-Bh31uRll.js +1 -0
  119. package/{eds-icon-updown.entry-f_pOMD8D.js → eds-icon-updown.entry-B4iGaDou.js} +1 -1
  120. package/eds-icon-updown.entry-DTJ9wPMo.mjs +13 -0
  121. package/eds-icon-user.entry-C-Vuh8-f.js +1 -0
  122. package/eds-icon-user.entry-CGqSkZpC.mjs +13 -0
  123. package/eds-icon-view.entry-CjMq3fA0.mjs +13 -0
  124. package/eds-icon-view.entry-z8bJhMBL.js +1 -0
  125. package/eds-icon-youtube.entry-DSxMazqf.mjs +13 -0
  126. package/{eds-icon-youtube.entry-BUryZYQc.js → eds-icon-youtube.entry-DhBiT8kG.js} +1 -1
  127. package/{eds-modal.entry-DuG9A0QH.mjs → eds-modal.entry-B0n5tknG.mjs} +4 -4
  128. package/{eds-modal.entry-Cjj4QVEc.js → eds-modal.entry-D_Lwb__Q.js} +1 -1
  129. package/{eds-pie.entry-BU0NzwvU.mjs → eds-pie.entry-BuVtNs7I.mjs} +1 -1
  130. package/{eds-pie.entry-BiQyGOJw.js → eds-pie.entry-klP-etSw.js} +1 -1
  131. package/{eds-progress-bar.entry-BoQmuoGC.mjs → eds-progress-bar.entry-D2JI1D-e.mjs} +2 -2
  132. package/{eds-progress-bar.entry-BfV2jWgV.js → eds-progress-bar.entry-Ro89l7BR.js} +1 -1
  133. package/eds-section-core_2.entry-Bc9axwtz.js +1 -0
  134. package/{eds-section-core_2.entry-D2OlT6Zh.mjs → eds-section-core_2.entry-Cz99NRlc.mjs} +9 -9
  135. package/{eds-social-networks.entry-0Q7OwcYS.js → eds-social-networks.entry-CaNhyMcu.js} +1 -1
  136. package/{eds-social-networks.entry-CWPTBmxN.mjs → eds-social-networks.entry-DD-vQy71.mjs} +2 -2
  137. package/{eds-spinner.entry-dAJHt3cE.mjs → eds-spinner.entry-BB5fBr88.mjs} +2 -2
  138. package/{eds-spinner.entry-BKjbNwEi.js → eds-spinner.entry-zSti41IG.js} +1 -1
  139. package/{eds-splash-screen.entry-DOmRKV_v.mjs → eds-splash-screen.entry-BUnIKxtD.mjs} +1 -1
  140. package/{eds-splash-screen.entry-D3_EbR0-.js → eds-splash-screen.entry-Dw0Ji6bZ.js} +1 -1
  141. package/{eds-timeline.entry-BSozjnyo.mjs → eds-timeline.entry-BMaUPN_o.mjs} +5 -5
  142. package/{eds-timeline.entry-CFhtSoZc.js → eds-timeline.entry-DHGMZu2-.js} +1 -1
  143. package/{eds-toast-manager.entry-CWvJ6hUh.js → eds-toast-manager.entry-Bv30X8tV.js} +1 -1
  144. package/{eds-toast-manager.entry-Bj-xEHAg.mjs → eds-toast-manager.entry-XryfFnO2.mjs} +2 -2
  145. package/{eds-tooltip.entry-B5DXjEqa.js → eds-tooltip.entry-BFyPuNDr.js} +1 -1
  146. package/{eds-tooltip.entry-DJZDeWm0.mjs → eds-tooltip.entry-rMFVtJBN.mjs} +4 -4
  147. package/{eds-trl.entry-CMwFX2VA.js → eds-trl.entry-BKzMfF-8.js} +1 -1
  148. package/{eds-trl.entry-DWE3RZnq.mjs → eds-trl.entry-NW2Zpg0k.mjs} +2 -2
  149. package/generated/components.d.ts +1 -0
  150. package/{incorrect-use-of-colors.entry-C0MGEaLB.mjs → incorrect-use-of-colors.entry-CCB_JH3R.mjs} +9 -9
  151. package/incorrect-use-of-colors.entry-Dq7AmLvI.js +1 -0
  152. package/index-DM535IHr.js +21 -0
  153. package/{index-BW6yUYdy.mjs → index-UwPjPR0d.mjs} +530 -540
  154. package/index.js +1 -1
  155. package/index.mjs +12 -11
  156. package/{logo-space.entry-Cq0tziVn.js → logo-space.entry-B1Swm7_s.js} +2 -2
  157. package/{logo-space.entry-C5_FS_1e.mjs → logo-space.entry-sagbhmap.mjs} +7 -7
  158. package/{logo-variations-horizontal_2.entry-Bx8geXjs.mjs → logo-variations-horizontal_2.entry-Bo9dz9bE.mjs} +7 -7
  159. package/{logo-variations-horizontal_2.entry-CQW41pP-.js → logo-variations-horizontal_2.entry-DEm05l2M.js} +3 -3
  160. package/{logo-variations-tabs.entry-CfkXBk5k.js → logo-variations-tabs.entry-Dr6pNuIm.js} +1 -1
  161. package/{logo-variations-tabs.entry-DgYru0Zn.mjs → logo-variations-tabs.entry-v9gzHb2S.mjs} +3 -3
  162. package/{logo-wrong-usage.entry-B2LU9hBv.js → logo-wrong-usage.entry-Cb2OzANv.js} +1 -1
  163. package/{logo-wrong-usage.entry-BdBfaWtI.mjs → logo-wrong-usage.entry-DiAAZlws.mjs} +7 -7
  164. package/package.json +1 -1
  165. package/{svg-repository.entry-C8PnrvxA.js → svg-repository.entry-Bl6IMNNr.js} +12 -12
  166. package/{svg-repository.entry-PcURnvgb.mjs → svg-repository.entry-DENznUDI.mjs} +43 -39
  167. package/{token-list_3.entry-B4ClAGZQ.mjs → token-list_3.entry-BBS0BioQ.mjs} +12 -12
  168. package/{token-list_3.entry-CnPtT_DH.js → token-list_3.entry-HXbPQp0w.js} +1 -1
  169. package/{token-ratios.entry-DU33V_Fx.mjs → token-ratios.entry-BomK7oM-.mjs} +2 -2
  170. package/{token-ratios.entry-BoaLF_aM.js → token-ratios.entry-Cz3StGLv.js} +1 -1
  171. package/token-spacing.entry-4mnRkK32.mjs +12 -0
  172. package/token-spacing.entry-BgDT6uk3.js +1 -0
  173. package/{token-typography.entry-WBbs4fXw.mjs → token-typography.entry-DDfSupWC.mjs} +6 -6
  174. package/{token-typography.entry-DFu3h1rd.js → token-typography.entry-DTzyoov1.js} +2 -2
  175. package/view-e900f2d4-DsFtaZYM.mjs +4 -0
  176. package/view-e900f2d4-RAKf504j.js +1 -0
  177. package/color-primary-palette_6.entry-CLPwqXYN.js +0 -1
  178. package/edit-1dc8d11b-Bf2mkSUV.js +0 -1
  179. package/edit-1dc8d11b-CamcJGHE.mjs +0 -4
  180. package/eds-accordion.entry-Cniy--Pf.mjs +0 -48
  181. package/eds-accordion.entry-DqsJjt8n.js +0 -4
  182. package/eds-alert.entry-1Mmo8pXz.js +0 -165
  183. package/eds-alert.entry-DzO39nFn.mjs +0 -251
  184. package/eds-app-root.entry-Br_qdv7x.mjs +0 -25
  185. package/eds-app-root.entry-CuHAu5oB.js +0 -1
  186. package/eds-breadcrumb.entry-DoRU-2U8.mjs +0 -104
  187. package/eds-breadcrumb.entry-WWpJ_3D5.js +0 -1
  188. package/eds-card-tags.entry-CSuzFzX-.js +0 -1
  189. package/eds-card-tags.entry-DrWAV-ko.mjs +0 -13
  190. package/eds-code-block.entry-DGIrW97_.mjs +0 -1623
  191. package/eds-code-block.entry-JdJJLE4a.js +0 -9
  192. package/eds-icon-arrow-diagonal.entry-B8-jArDT.js +0 -1
  193. package/eds-icon-arrow-diagonal.entry-DACKEZ7o.mjs +0 -13
  194. package/eds-icon-arrow-right.entry-BP77Fhx8.js +0 -1
  195. package/eds-icon-arrow-right.entry-BvPrrid_.mjs +0 -13
  196. package/eds-icon-bin.entry-B54EXA_6.mjs +0 -13
  197. package/eds-icon-bin.entry-C7Jo_DW-.js +0 -1
  198. package/eds-icon-bluesky.entry-Bx-UDdty.mjs +0 -13
  199. package/eds-icon-bookmark.entry-B5IinWaZ.mjs +0 -13
  200. package/eds-icon-bookmark.entry-Dhvd8veD.js +0 -1
  201. package/eds-icon-chevron-down.entry-P4xqCoWP.mjs +0 -13
  202. package/eds-icon-chevron-left.entry-CuBl_BGv.mjs +0 -13
  203. package/eds-icon-chevron-left.entry-ZkPovDlT.js +0 -1
  204. package/eds-icon-chevron-right.entry-5h2qhFR-.js +0 -1
  205. package/eds-icon-chevron-up.entry-D0353BVJ.js +0 -1
  206. package/eds-icon-chevron-up.entry-UAZdu3Df.mjs +0 -13
  207. package/eds-icon-close.entry-uJAE-Wjb.mjs +0 -13
  208. package/eds-icon-copy.entry-BtI5KVDq.mjs +0 -13
  209. package/eds-icon-copy.entry-CECbryXM.js +0 -1
  210. package/eds-icon-draft.entry-LmdchYUq.mjs +0 -13
  211. package/eds-icon-edit.entry-R36lCJ2A.mjs +0 -13
  212. package/eds-icon-edit.entry-l8L__tUR.js +0 -1
  213. package/eds-icon-eu.entry--K0Tu14T.js +0 -1
  214. package/eds-icon-eu.entry-yv7nc0gr.mjs +0 -13
  215. package/eds-icon-external.entry-DdbbUm2H.mjs +0 -13
  216. package/eds-icon-facebook.entry-CrssRpWE.mjs +0 -13
  217. package/eds-icon-linkedin.entry-DTormNBK.mjs +0 -13
  218. package/eds-icon-loader.entry-BOxUhqUI.mjs +0 -13
  219. package/eds-icon-mastodon.entry-Cb_b8WxS.mjs +0 -13
  220. package/eds-icon-menu.entry-DN8ArM1E.js +0 -1
  221. package/eds-icon-menu.entry-c9wghxje.mjs +0 -13
  222. package/eds-icon-minus.entry-zF5hDaP1.mjs +0 -13
  223. package/eds-icon-more.entry-C9Qqow2i.js +0 -1
  224. package/eds-icon-more.entry-VvMJWQBC.mjs +0 -13
  225. package/eds-icon-plus.entry-DrhM4x_H.mjs +0 -13
  226. package/eds-icon-plus.entry-P2gRynxf.js +0 -1
  227. package/eds-icon-private.entry-C-VoEd-k.mjs +0 -13
  228. package/eds-icon-public.entry-JRATi6FK.mjs +0 -13
  229. package/eds-icon-public.entry-VrKUyRn4.js +0 -1
  230. package/eds-icon-search.entry-BFfawTmF.js +0 -1
  231. package/eds-icon-search.entry-D3nOAH3d.mjs +0 -13
  232. package/eds-icon-star.entry-CfxlHoON.mjs +0 -13
  233. package/eds-icon-star.entry-D_o_p4FR.js +0 -1
  234. package/eds-icon-success.entry-D4rmUwOz.js +0 -1
  235. package/eds-icon-success.entry-asuFd1wn.mjs +0 -13
  236. package/eds-icon-thumbs-down.entry-5IoOfXYg.mjs +0 -13
  237. package/eds-icon-thumbs-up.entry-B90KeLnV.mjs +0 -13
  238. package/eds-icon-thumbs-up.entry-CBiv69dB.js +0 -1
  239. package/eds-icon-tutorial.entry-BMlnAYBS.mjs +0 -13
  240. package/eds-icon-twitter.entry-BwOIf0Bv.mjs +0 -13
  241. package/eds-icon-unknown.entry-C6uw3X-q.js +0 -1
  242. package/eds-icon-unknown.entry-U2OwdtDM.mjs +0 -13
  243. package/eds-icon-updown.entry-D-ktiRgn.mjs +0 -13
  244. package/eds-icon-user.entry-DlnnIhcq.js +0 -1
  245. package/eds-icon-user.entry-aELakb9j.mjs +0 -13
  246. package/eds-icon-youtube.entry-HRKBTy8P.mjs +0 -13
  247. package/eds-matomo-notice.entry-B0xxpHZr.js +0 -1
  248. package/eds-matomo-notice.entry-NBKdUOFY.mjs +0 -92
  249. package/eds-section-core_2.entry-Jw_e-l_h.js +0 -1
  250. package/eds-switch.entry-DeWyzUU9.mjs +0 -29
  251. package/eds-switch.entry-qYhLXAv2.js +0 -1
  252. package/incorrect-use-of-colors.entry-CzcQmvFc.js +0 -1
  253. package/index-ECY2yg1E.js +0 -21
  254. package/token-spacing.entry-B6e3-GJR.js +0 -1
  255. package/token-spacing.entry-DuYrBWKx.mjs +0 -12
@@ -1,10 +1,303 @@
1
- import { r as d, h as i, g, c as h } from "./index-BW6yUYdy.mjs";
2
- import { s as f } from "./analytics-d99780e3-Bay18Oil.mjs";
3
- import { c as m } from "./index-39c58238-BwYCDOHZ.mjs";
4
- import { p as x } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
5
- import { h as y } from "./logo-color-7f1fd803-CFgbXdt8.mjs";
6
- import { h as k, a as z, b as C, c as S, v as E, d as F, e as L, f as I, g as A } from "./logo-white-no-bg-f382f86f-YhfmNmGG.mjs";
7
- const j = `::before,
1
+ import { r as p, c as S, h as i, g as y, H as hn } from "./index-UwPjPR0d.mjs";
2
+ import { s as A, m as fn, a as en } from "./analytics-d99780e3-Bay18Oil.mjs";
3
+ import { c as N } from "./index-39c58238-BwYCDOHZ.mjs";
4
+ import { p as R } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
5
+ import { h as tn } from "./logo-color-7f1fd803-CFgbXdt8.mjs";
6
+ import { h as bn, a as mn, b as un, c as xn, v as pn, d as yn, e as vn, f as wn, g as kn } from "./logo-white-no-bg-f382f86f-YhfmNmGG.mjs";
7
+ const Sn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}", Cn = Sn, En = class {
8
+ constructor(n) {
9
+ p(this, n), this.accordion = S(this, "accordion", 7), this.handleClick = () => {
10
+ var e;
11
+ this.isExpanded = !this.isExpanded, this.accordion.emit(this.isExpanded), this.setPanelHeight(), A({
12
+ category: "ui-component",
13
+ parentContext: null,
14
+ tag: this.el.tagName.toLowerCase(),
15
+ name: ((e = this.heading) === null || e === void 0 ? void 0 : e.toLowerCase()) || "",
16
+ action: this.isExpanded ? "expanded" : "collapsed"
17
+ });
18
+ }, this.setPanelHeight = () => {
19
+ this.childContentRef && (this.shortContent = this.wrapperRef.scrollWidth > 830 && !this.description ? this.childContentRef.scrollHeight <= 80 : this.childContentRef.scrollHeight <= 20, this.panelHeight = this.isExpanded && !this.shortContent ? this.childContentRef.scrollHeight : 0), this.headerRef && (this.headerHeight = this.headerRef.scrollHeight - 30);
20
+ }, this.heading = void 0, this.description = void 0, this.switchBg = !0, this.expanded = !1, this.clampText = !0, this.buttonIntent = "tertiary", this.isExpanded = this.expanded, this.panelHeight = 0, this.shortContent = !1, this.headerHeight = 0;
21
+ }
22
+ /**
23
+ * Lifecycle method that sets up the initial panel height and adds a resize event listener
24
+ * to recalculate height on window resize.
25
+ */
26
+ componentDidLoad() {
27
+ this.setPanelHeight(), window.addEventListener("resize", this.setPanelHeight);
28
+ }
29
+ /**
30
+ * Lifecycle method that cleans up the resize event listener when the component is removed.
31
+ */
32
+ disconnectedCallback() {
33
+ window.removeEventListener("resize", this.setPanelHeight);
34
+ }
35
+ /**
36
+ * Renders the accordion structure, including header, content, description, and any slotted content.
37
+ * Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
38
+ */
39
+ render() {
40
+ return i("div", { key: "1abfd8bfea763bc10e6f17148dbc252d0c3ffdea", ref: (n) => this.wrapperRef = n, class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
41
+ ${this.switchBg && this.isExpanded ? "bg-inverse" : "bg-default"}
42
+ ${this.switchBg ? "hover:bg-inverse" : ""}
43
+ ${this.description ? "min-h-56" : ""}` }, i("h3", { key: "137a3311195d51f46c6677558219828e5f4d06b5", ref: (n) => this.headerRef = n, class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), i("div", { key: "0fc6d493fd61726a53a8c4311bd183eb3ad5b270", class: "ml-auto" }, i("eds-button", { key: "cb8182e05c5c11950c0e624ce6b11e27a4d506ab", id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: "effect-color flex w-full items-center justify-between rounded-md", onClick: this.handleClick, icon: "chevron-down" })), i("div", { key: "084bfb116dcccadf7253ca8ac8de6a1e1d4aa41f", class: "w-full", style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? i("span", { class: `text-light ${!this.isExpanded && this.clampText ? "line-clamp-1" : ""}` }, this.description) : null, i("section", { key: "c332a210fa4ce90f1974098ff790a7600dfb1721", id: "accordionSection", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? "overflow-hidden" : ""}`, style: { height: this.isExpanded ? "auto" : "0" } }, i("div", { key: "842bc3bc7a968ef5a428a97327f38253e8a32888", ref: (n) => this.childContentRef = n, class: "accordion-content effect-color pt-4", "aria-hidden": !this.isExpanded }, i("span", { key: "7c8fa8040da18cc2c128b42cdf9e75bfffe4c439", class: `${!this.isExpanded && this.clampText ? "line-clamp-2" : ""}` }, i("slot", { key: "852837c0c8c9d8a36f6263f7a943f50d82563a3c" }))))));
44
+ }
45
+ get el() {
46
+ return y(this);
47
+ }
48
+ };
49
+ En.style = Cn;
50
+ const zn = `*,
51
+ ::before,
52
+ ::after {
53
+ box-sizing: border-box;
54
+ border-width: 0;
55
+ border-style: solid;
56
+ border-color: currentColor;
57
+ }
58
+
59
+ p {
60
+ margin: 0;
61
+ }
62
+
63
+ .f-ui-01 {
64
+ font-family: var(--f-ui-01-fontFamily);
65
+ font-weight: var(--f-ui-01-fontWeight);
66
+ font-size: var(--f-ui-01-fontSize);
67
+ line-height: var(--f-ui-01-lineHeight);
68
+ letter-spacing: var(--f-ui-01-letterSpacing);
69
+ }
70
+
71
+ .border-inside {
72
+ position: relative;
73
+
74
+ &::after {
75
+ pointer-events: none;
76
+ }
77
+
78
+ &::after {
79
+ position: absolute;
80
+ }
81
+
82
+ &::after {
83
+ inset: 0rem;
84
+ }
85
+
86
+ &::after {
87
+ z-index: 1;
88
+ }
89
+
90
+ &::after {
91
+ border-radius: 8px;
92
+ }
93
+
94
+ &::after {
95
+ border-width: 1px;
96
+ }
97
+
98
+ &::after {
99
+ border-width: 2px;
100
+ }
101
+
102
+ &::after {
103
+ border-color: rgba(0, 0, 0, .1);
104
+ }
105
+
106
+ &::after {
107
+ content: '';
108
+ }
109
+ }
110
+
111
+ .flex {
112
+ display: flex;
113
+ }
114
+
115
+ .w-full {
116
+ width: 100%;
117
+ }
118
+
119
+ .flex-row {
120
+ flex-direction: row;
121
+ }
122
+
123
+ .items-center {
124
+ align-items: center;
125
+ }
126
+
127
+ .justify-between {
128
+ justify-content: space-between;
129
+ }
130
+
131
+ .gap-x-12 {
132
+ -moz-column-gap: 0.75rem;
133
+ column-gap: 0.75rem;
134
+ }
135
+
136
+ .space-y-12> :not([hidden])~ :not([hidden]) {
137
+ --tw-space-y-reverse: 0;
138
+ margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
139
+ margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
140
+ }
141
+
142
+ .rounded-lg {
143
+ border-radius: 16px;
144
+ }
145
+
146
+ .bg-dark {
147
+ background-color: var(--grey-300);
148
+ }
149
+
150
+ .bg-error {
151
+ background-color: var(--red-200);
152
+ }
153
+
154
+ .bg-success {
155
+ background-color: var(--green-200);
156
+ }
157
+
158
+ .bg-warning {
159
+ background-color: var(--yellow-200);
160
+ }
161
+
162
+ .p-16 {
163
+ padding: 1rem;
164
+ }
165
+
166
+ .p-20 {
167
+ padding: 1.25rem;
168
+ }
169
+
170
+ .px-12 {
171
+ padding-left: 0.75rem;
172
+ padding-right: 0.75rem;
173
+ }
174
+
175
+ .px-20 {
176
+ padding-left: 1.25rem;
177
+ padding-right: 1.25rem;
178
+ }
179
+
180
+ .py-12 {
181
+ padding-top: 0.75rem;
182
+ padding-bottom: 0.75rem;
183
+ }
184
+
185
+ .py-20 {
186
+ padding-top: 1.25rem;
187
+ padding-bottom: 1.25rem;
188
+ }
189
+
190
+ .py-8 {
191
+ padding-top: 0.5rem;
192
+ padding-bottom: 0.5rem;
193
+ }
194
+
195
+ .pr-12 {
196
+ padding-right: 0.75rem;
197
+ }
198
+
199
+ .shadow {
200
+ --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
201
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
202
+ }
203
+
204
+ [class*=underline-] {
205
+ text-decoration-line: underline;
206
+ }
207
+
208
+ .after\\:rounded-lg::after {
209
+ border-radius: 16px;
210
+ }
211
+
212
+ .after\\:border-softest::after {
213
+ border-color: rgba(0, 0, 0, .05);
214
+ }`, Fn = zn, An = N(["w-full bg-dark"], {
215
+ variants: {
216
+ intent: {
217
+ default: "",
218
+ warning: "bg-warning",
219
+ error: "bg-error",
220
+ success: "bg-success"
221
+ },
222
+ brd: {
223
+ rounded: "rounded-lg border-inside after:border-softest after:rounded-lg",
224
+ normal: ""
225
+ },
226
+ direction: {
227
+ vertical: "space-y-12",
228
+ horizontal: "flex flex-row items-center justify-between gap-x-12"
229
+ },
230
+ withBtn: {
231
+ false: "",
232
+ true: ""
233
+ }
234
+ },
235
+ compoundVariants: [
236
+ {
237
+ direction: "horizontal",
238
+ withBtn: !0,
239
+ class: "px-20 pr-12 py-12"
240
+ },
241
+ {
242
+ direction: "horizontal",
243
+ withBtn: !1,
244
+ class: "p-20"
245
+ },
246
+ {
247
+ direction: "vertical",
248
+ withBtn: !0,
249
+ class: "p-16"
250
+ },
251
+ {
252
+ direction: "vertical",
253
+ withBtn: !1,
254
+ class: "px-12 py-20"
255
+ }
256
+ ],
257
+ defaultVariants: {
258
+ intent: "default",
259
+ brd: "rounded",
260
+ direction: "horizontal"
261
+ }
262
+ }), In = class {
263
+ constructor(n) {
264
+ p(this, n), this.edsalert = S(this, "edsalert", 7), this.message = void 0, this.pressableLabel = void 0, this.pressableUrl = void 0, this.direction = "horizontal", this.intent = "default", this.brd = "rounded", this.withBtn = !1;
265
+ }
266
+ componentWillLoad() {
267
+ this.withBtn = !!this.pressableLabel;
268
+ }
269
+ componentDidLoad() {
270
+ var n;
271
+ const e = (n = this.el.shadowRoot) === null || n === void 0 ? void 0 : n.querySelector("eds-link");
272
+ e && this.emitContext(e);
273
+ }
274
+ emitContext(n) {
275
+ const e = new CustomEvent("parentContext", {
276
+ detail: {
277
+ componentName: this.el.tagName.toLowerCase(),
278
+ identifier: null
279
+ }
280
+ });
281
+ n.dispatchEvent(e);
282
+ }
283
+ handleAction() {
284
+ this.edsalert.emit();
285
+ }
286
+ render() {
287
+ const n = this.intent !== "default" ? `${this.intent} alert` : "alert";
288
+ return i("div", { key: "2d22944e7ae86cf2523c194e20215a3d986083d9", class: An({
289
+ intent: this.intent,
290
+ brd: this.brd,
291
+ direction: this.direction,
292
+ withBtn: this.withBtn
293
+ }), role: "alert", "aria-label": n, "aria-live": this.intent === "error" ? "assertive" : "polite", "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? "alert-action" : void 0 }, i("p", { key: "b6c22446b0d87fb01a3cb882fe205ef48ea60b05", id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && i("div", { key: "8414820eb7b65c83459cfb90adef3ea696e42444", id: "alert-action" }, this.pressableUrl ? i("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: !0 }) : i("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() })));
294
+ }
295
+ get el() {
296
+ return y(this);
297
+ }
298
+ };
299
+ In.style = Fn;
300
+ const Ln = `::before,
8
301
  ::after {
9
302
  box-sizing: border-box;
10
303
  border-width: 0;
@@ -205,9 +498,9 @@ abbr:where([title]) {
205
498
 
206
499
  .bg-gradient-04-bottom {
207
500
  background: linear-gradient(to top, #2B69FC, ease-in-out, #E6E6E6);
208
- }`, P = j, W = class {
501
+ }`, _n = Ln, Tn = class {
209
502
  constructor(n) {
210
- d(this, n), this.firstName = "User", this.lastName = "Avatar", this.picture = void 0, this.initials = void 0, this.color = "grey";
503
+ p(this, n), this.firstName = "User", this.lastName = "Avatar", this.picture = void 0, this.initials = void 0, this.color = "grey";
211
504
  }
212
505
  /**
213
506
  * Flag to render the avatar with rounded (pill) shape if `true`.
@@ -251,20 +544,119 @@ abbr:where([title]) {
251
544
  * @returns {JSX.Element} The rendered avatar component.
252
545
  */
253
546
  render() {
254
- return i("div", { key: "b7eff7ae1a1dea3509041e39316b49b673dbdf17", class: this.containerClasses }, this.picture ? i("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: !0, withBg: !0 }) : i("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials));
547
+ return i("div", { key: "34e86e50b1176efd8ae0cd9b30cd3823527d7eee", class: this.containerClasses }, this.picture ? i("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: !0, withBg: !0 }) : i("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials));
255
548
  }
256
549
  };
257
- W.style = P;
258
- const _ = ".border-softer{border-color:rgba(0, 0, 0, .1)}.border-default{border-color:var(--black)}.my-16{margin-top:1rem;margin-bottom:1rem}.block{display:block}.w-full{width:100%}.border-t-2{border-top-width:2px}", T = _, O = class {
550
+ Tn.style = _n;
551
+ const $n = ".border-softer{border-color:rgba(0, 0, 0, .1)}.border-default{border-color:var(--black)}.my-16{margin-top:1rem;margin-bottom:1rem}.block{display:block}.w-full{width:100%}.border-t-2{border-top-width:2px}", On = $n, Rn = class {
259
552
  constructor(n) {
260
- d(this, n), this.inverse = !1;
553
+ p(this, n), this.inverse = !1;
554
+ }
555
+ render() {
556
+ return i("hr", { key: "688e11c730af1193f28db196cd144c6dd2efc3c6", class: `${this.inverse ? "border-default" : "border-softer"} my-16 inline-block w-full border-t-2` });
557
+ }
558
+ };
559
+ Rn.style = On;
560
+ const Pn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}", Dn = Pn, Nn = class {
561
+ constructor(n) {
562
+ p(this, n), this.updateScreenSize = () => {
563
+ const e = window.innerWidth;
564
+ e < 769 ? this.maxVisibleItems = 3 : e <= 1024 ? this.maxVisibleItems = 3 : e <= 1280 ? this.maxVisibleItems = 3 : e <= 2200 ? this.maxVisibleItems = 4 : this.maxVisibleItems = 6;
565
+ }, this.items = [], this.intent = "ghost", this.parsedItems = [], this.isSmallScreen = !1, this.maxVisibleItems = 6;
566
+ }
567
+ /**
568
+ * Watches for changes to the `items` prop and parses it.
569
+ */
570
+ parseItems(n) {
571
+ this.parsedItems = R(n);
572
+ }
573
+ /**
574
+ * Lifecycle method that runs when the component is about to be loaded.
575
+ * It parses the initial `items` prop value.
576
+ */
577
+ componentWillLoad() {
578
+ this.parseItems(this.items), this.updateScreenSize(), window.addEventListener("resize", this.updateScreenSize);
579
+ }
580
+ disconnectedCallback() {
581
+ window.removeEventListener("resize", this.updateScreenSize);
582
+ }
583
+ /**
584
+ * Lifecycle method that runs when the component has fully loaded.
585
+ * It emits a custom event for each `eds-link` element contained within the breadcrumb.
586
+ */
587
+ componentDidLoad() {
588
+ var n;
589
+ const e = (n = this.el.shadowRoot) === null || n === void 0 ? void 0 : n.querySelectorAll("eds-link");
590
+ e == null || e.forEach((t) => {
591
+ this.emitContext(t);
592
+ });
593
+ }
594
+ /**
595
+ * Emits a custom event called `parentContext` for a given link element.
596
+ * This event provides context information about the breadcrumb component.
597
+ *
598
+ * @param linkElement - The link element to which the event will be dispatched.
599
+ */
600
+ emitContext(n) {
601
+ const e = new CustomEvent("parentContext", {
602
+ detail: {
603
+ componentName: this.el.tagName.toLowerCase(),
604
+ identifier: null
605
+ }
606
+ });
607
+ n.dispatchEvent(e);
261
608
  }
609
+ /**
610
+ * Returns breadcrumb items with potential truncation if there are too many.
611
+ * It inserts an ellipsis item where necessary.
612
+ */
613
+ getTruncatedItems() {
614
+ const n = this.parsedItems.length, e = { label: "...", url: "", isHidden: !0 };
615
+ if (n > this.maxVisibleItems) {
616
+ const t = this.parsedItems[0], r = this.parsedItems.slice(-2);
617
+ if (this.maxVisibleItems === 3)
618
+ return [t, e, ...r];
619
+ if (this.maxVisibleItems === 4) {
620
+ const l = this.parsedItems[Math.floor(n / 2)];
621
+ return [t, l, e, ...r];
622
+ }
623
+ }
624
+ return this.parsedItems;
625
+ }
626
+ /**
627
+ * Helper to determine the display label and full label.
628
+ * If the label is longer than 15 characters and the item is not the current (last) item,
629
+ * we display a truncated version but use the full label for aria attributes.
630
+ */
631
+ getLabels(n, e) {
632
+ return !e && n.label.length > 15 ? { displayLabel: `${n.label.slice(0, 15)}...`, fullLabel: n.label } : { displayLabel: n.label, fullLabel: n.label };
633
+ }
634
+ /**
635
+ * Render method for the breadcrumb component.
636
+ * It creates a navigation element with an ordered list of breadcrumb links.
637
+ * The last link is marked as the current page.
638
+ */
262
639
  render() {
263
- return i("hr", { key: "b604a776cae7edeee189e00af6993b42b57203f0", class: `${this.inverse ? "border-default" : "border-softer"} my-16 inline-block w-full border-t-2` });
640
+ const n = this.getTruncatedItems();
641
+ return i("nav", { key: "0625a234ec9f5095abbeaafa11e56bceb0432764", "aria-label": "Breadcrumb" }, i("ol", { key: "3898a4b048eca6c606a6948b26ec25a608cb908e", class: "flex items-center space-x-2" }, n.map((e, t) => {
642
+ const r = t === n.length - 1;
643
+ return i("li", { class: "flex items-center" }, e.isHidden ? i("eds-link", { label: "...", url: "#", intent: "strong", current: !1, "aria-label": "...", size: "small", "icon-small": "false", icon: "chevron-right" }) : (() => {
644
+ const { fullLabel: l } = this.getLabels(e, r), a = r ? this.intent === "strong" ? "weak" : this.intent === "weak" ? "strong" : this.intent : this.intent;
645
+ return i("eds-link", Object.assign({ label: l, url: e.url, intent: a, disabled: r, current: r, "aria-label": l, size: "small", "icon-small": "false" }, r ? { "aria-current": "page" } : {}));
646
+ })(), !r && !e.isHidden && i("eds-icon-wrapper", { icon: "chevron-right", class: "w-20 h-20" }));
647
+ })));
648
+ }
649
+ get el() {
650
+ return y(this);
651
+ }
652
+ static get watchers() {
653
+ return {
654
+ items: ["parseItems"]
655
+ };
264
656
  }
265
657
  };
266
- O.style = T;
267
- const $ = `*,
658
+ Nn.style = Dn;
659
+ const Hn = `*,
268
660
  ::before,
269
661
  ::after {
270
662
  box-sizing: border-box;
@@ -630,6 +1022,10 @@ button,
630
1022
  display: block;
631
1023
  }
632
1024
 
1025
+ .\\!block {
1026
+ display: block !important;
1027
+ }
1028
+
633
1029
  .inline-block {
634
1030
  display: inline-block;
635
1031
  }
@@ -1173,9 +1569,9 @@ button,
1173
1569
 
1174
1570
  .hover\\:before\\:opacity-100:hover::before {
1175
1571
  opacity: 1;
1176
- }`, H = $, D = class {
1572
+ }`, jn = Hn, Wn = class {
1177
1573
  constructor(n) {
1178
- d(this, n), this.button = m([
1574
+ p(this, n), this.button = N([
1179
1575
  "relative inline-flex items-center",
1180
1576
  "py-8",
1181
1577
  "effect-focus effect-color",
@@ -1189,7 +1585,7 @@ button,
1189
1585
  secondary: "border-inside border-inside-inverse text-inverse bg-strongest hover:bg-strong-dark",
1190
1586
  tertiary: "border-inside after:border-softest bg-dark hover:bg-darker",
1191
1587
  ghost: "border-inside hover:bg-darker",
1192
- ghostInverse: "border-inside hover:bg-dark"
1588
+ ghostInverse: "border-inside text-lightest hover:bg-dark"
1193
1589
  },
1194
1590
  loading: {
1195
1591
  true: "pointer-events-none",
@@ -1216,110 +1612,1735 @@ button,
1216
1612
  false: "rounded-sm"
1217
1613
  }
1218
1614
  },
1219
- compoundVariants: [
1220
- {
1221
- size: "small",
1222
- iconOnly: !0,
1223
- class: "p-8"
1224
- },
1225
- {
1226
- size: "large",
1227
- iconOnly: !0,
1228
- class: "p-12"
1229
- },
1230
- {
1231
- size: "small",
1232
- iconOnly: !1,
1233
- class: "px-12"
1234
- },
1235
- {
1236
- size: "large",
1237
- iconOnly: !1,
1238
- class: "px-16"
1239
- },
1240
- {
1241
- iconSmall: !0,
1242
- iconPos: "left",
1243
- class: "pl-4",
1244
- iconOnly: !1
1245
- },
1246
- {
1247
- iconSmall: !0,
1248
- iconPos: "right",
1249
- class: "pr-4",
1250
- iconOnly: !1
1251
- },
1252
- {
1253
- iconSmall: !0,
1254
- iconPos: "left",
1255
- size: "large",
1256
- class: "pl-8",
1257
- iconOnly: !1
1615
+ compoundVariants: [
1616
+ {
1617
+ size: "small",
1618
+ iconOnly: !0,
1619
+ class: "p-8"
1620
+ },
1621
+ {
1622
+ size: "large",
1623
+ iconOnly: !0,
1624
+ class: "p-12"
1625
+ },
1626
+ {
1627
+ size: "small",
1628
+ iconOnly: !1,
1629
+ class: "px-12"
1630
+ },
1631
+ {
1632
+ size: "large",
1633
+ iconOnly: !1,
1634
+ class: "px-16"
1635
+ },
1636
+ {
1637
+ iconSmall: !0,
1638
+ iconPos: "left",
1639
+ class: "pl-4",
1640
+ iconOnly: !1
1641
+ },
1642
+ {
1643
+ iconSmall: !0,
1644
+ iconPos: "right",
1645
+ class: "pr-4",
1646
+ iconOnly: !1
1647
+ },
1648
+ {
1649
+ iconSmall: !0,
1650
+ iconPos: "left",
1651
+ size: "large",
1652
+ class: "pl-8",
1653
+ iconOnly: !1
1654
+ },
1655
+ {
1656
+ iconSmall: !0,
1657
+ iconPos: "right",
1658
+ size: "large",
1659
+ class: "pr-8",
1660
+ iconOnly: !1
1661
+ }
1662
+ ],
1663
+ defaultVariants: {
1664
+ intent: "secondary",
1665
+ loading: !1,
1666
+ iconSmall: !1,
1667
+ iconPos: "right",
1668
+ iconOnly: !1,
1669
+ pill: !1,
1670
+ size: "small"
1671
+ }
1672
+ }), this.parentContext = null, this.label = void 0, this.ariaLabel = "Button", this.elementType = "button", this.intent = "secondary", this.loading = !1, this.disabled = !1, this.pill = !1, this.icon = void 0, this.size = "small", this.iconPos = "right", this.iconSmall = !1, this.extraClass = void 0, this.triggerClick = void 0;
1673
+ }
1674
+ handleParentContext(n) {
1675
+ n.target === this.el && (this.parentContext = n.detail, n.stopPropagation());
1676
+ }
1677
+ handleClick(n) {
1678
+ var e, t;
1679
+ if (this.disabled || this.loading) {
1680
+ n.preventDefault();
1681
+ return;
1682
+ }
1683
+ A({
1684
+ category: "ui-component",
1685
+ parentContext: this.parentContext,
1686
+ tag: this.el.tagName.toLowerCase(),
1687
+ name: ((e = this.label) === null || e === void 0 ? void 0 : e.toLowerCase()) || ((t = this.ariaLabel) === null || t === void 0 ? void 0 : t.toLowerCase()) || "",
1688
+ action: "click"
1689
+ }), typeof this.triggerClick == "function" && this.triggerClick();
1690
+ }
1691
+ handleKeyDown(n) {
1692
+ this.disabled || this.loading || (n.key === "Enter" || this.elementType === "a" && n.key === " ") && (n.preventDefault(), this.handleClick(n));
1693
+ }
1694
+ render() {
1695
+ const n = this.button({
1696
+ intent: this.intent,
1697
+ loading: this.loading,
1698
+ iconPos: this.iconPos,
1699
+ size: this.size,
1700
+ pill: this.pill,
1701
+ iconOnly: !this.label,
1702
+ iconSmall: this.iconSmall
1703
+ }), e = this.elementType, t = !this.disabled && !this.loading;
1704
+ return i(hn, { key: "835cc81d3563abf1b5cb4c21165de1ef726d1e43" }, i(e, { key: "df05b2b2152e707e5fdd6028c5f557097d7e2b04", tabindex: t ? "0" : "-1", "aria-label": this.label ? void 0 : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? "true" : void 0, "aria-busy": this.loading ? "true" : void 0, disabled: this.elementType === "button" ? this.disabled || this.loading : void 0, role: this.elementType === "a" ? "button" : void 0, class: `${n || ""} ${this.extraClass || ""}`, onClick: (r) => this.handleClick(r), onKeyDown: (r) => this.handleKeyDown(r) }, this.label && i("span", { key: "27c7473403e7c1bfd3dfc270151d44dbb639ceb3", class: this.loading ? "opacity-0" : "", "aria-hidden": this.loading ? "true" : void 0 }, this.label), this.loading && i("span", { key: "f52496884816bc299fb76c1afae5e4798bf642d2", class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, i("span", { key: "d42bf2c229f6956a1e0dbe64aa6c79ad5608ca5c", class: "loader", style: {
1705
+ border: `3px solid ${this.intent === "secondary" ? "rgba(255, 255, 255, .3)" : "rgba(0, 0, 0, .3)"}`,
1706
+ borderBottomColor: this.intent === "secondary" ? "#fff" : "#000"
1707
+ } })), this.icon ? i("eds-icon-wrapper", { class: `
1708
+ flex inline-flex items-center justify-center
1709
+ ${this.size === "large" ? "h-24 w-24" : "h-20 w-20"}
1710
+ `, icon: this.icon, "aria-hidden": "true" }) : null));
1711
+ }
1712
+ static get delegatesFocus() {
1713
+ return !0;
1714
+ }
1715
+ get el() {
1716
+ return y(this);
1717
+ }
1718
+ };
1719
+ Wn.style = jn;
1720
+ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ln = { exports: {} };
1721
+ (function(n) {
1722
+ var e = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
1723
+ /**
1724
+ * Prism: Lightweight, robust, elegant syntax highlighting
1725
+ *
1726
+ * @license MIT <https://opensource.org/licenses/MIT>
1727
+ * @author Lea Verou <https://lea.verou.me>
1728
+ * @namespace
1729
+ * @public
1730
+ */
1731
+ var t = function(r) {
1732
+ var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, a = 0, c = {}, d = {
1733
+ /**
1734
+ * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
1735
+ * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
1736
+ * additional languages or plugins yourself.
1737
+ *
1738
+ * By setting this value to `true`, Prism will not automatically highlight all code elements on the page.
1739
+ *
1740
+ * You obviously have to change this value before the automatic highlighting started. To do this, you can add an
1741
+ * empty Prism object into the global scope before loading the Prism script like this:
1742
+ *
1743
+ * ```js
1744
+ * window.Prism = window.Prism || {};
1745
+ * Prism.manual = true;
1746
+ * // add a new <script> to load Prism's script
1747
+ * ```
1748
+ *
1749
+ * @default false
1750
+ * @type {boolean}
1751
+ * @memberof Prism
1752
+ * @public
1753
+ */
1754
+ manual: r.Prism && r.Prism.manual,
1755
+ /**
1756
+ * By default, if Prism is in a web worker, it assumes that it is in a worker it created itself, so it uses
1757
+ * `addEventListener` to communicate with its parent instance. However, if you're using Prism manually in your
1758
+ * own worker, you don't want it to do this.
1759
+ *
1760
+ * By setting this value to `true`, Prism will not add its own listeners to the worker.
1761
+ *
1762
+ * You obviously have to change this value before Prism executes. To do this, you can add an
1763
+ * empty Prism object into the global scope before loading the Prism script like this:
1764
+ *
1765
+ * ```js
1766
+ * window.Prism = window.Prism || {};
1767
+ * Prism.disableWorkerMessageHandler = true;
1768
+ * // Load Prism's script
1769
+ * ```
1770
+ *
1771
+ * @default false
1772
+ * @type {boolean}
1773
+ * @memberof Prism
1774
+ * @public
1775
+ */
1776
+ disableWorkerMessageHandler: r.Prism && r.Prism.disableWorkerMessageHandler,
1777
+ /**
1778
+ * A namespace for utility methods.
1779
+ *
1780
+ * All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may
1781
+ * change or disappear at any time.
1782
+ *
1783
+ * @namespace
1784
+ * @memberof Prism
1785
+ */
1786
+ util: {
1787
+ encode: function s(o) {
1788
+ return o instanceof b ? new b(o.type, s(o.content), o.alias) : Array.isArray(o) ? o.map(s) : o.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ");
1789
+ },
1790
+ /**
1791
+ * Returns the name of the type of the given value.
1792
+ *
1793
+ * @param {any} o
1794
+ * @returns {string}
1795
+ * @example
1796
+ * type(null) === 'Null'
1797
+ * type(undefined) === 'Undefined'
1798
+ * type(123) === 'Number'
1799
+ * type('foo') === 'String'
1800
+ * type(true) === 'Boolean'
1801
+ * type([1, 2]) === 'Array'
1802
+ * type({}) === 'Object'
1803
+ * type(String) === 'Function'
1804
+ * type(/abc+/) === 'RegExp'
1805
+ */
1806
+ type: function(s) {
1807
+ return Object.prototype.toString.call(s).slice(8, -1);
1808
+ },
1809
+ /**
1810
+ * Returns a unique number for the given object. Later calls will still return the same number.
1811
+ *
1812
+ * @param {Object} obj
1813
+ * @returns {number}
1814
+ */
1815
+ objId: function(s) {
1816
+ return s.__id || Object.defineProperty(s, "__id", { value: ++a }), s.__id;
1817
+ },
1818
+ /**
1819
+ * Creates a deep clone of the given object.
1820
+ *
1821
+ * The main intended use of this function is to clone language definitions.
1822
+ *
1823
+ * @param {T} o
1824
+ * @param {Record<number, any>} [visited]
1825
+ * @returns {T}
1826
+ * @template T
1827
+ */
1828
+ clone: function s(o, g) {
1829
+ g = g || {};
1830
+ var h, f;
1831
+ switch (d.util.type(o)) {
1832
+ case "Object":
1833
+ if (f = d.util.objId(o), g[f])
1834
+ return g[f];
1835
+ h = /** @type {Record<string, any>} */
1836
+ {}, g[f] = h;
1837
+ for (var u in o)
1838
+ o.hasOwnProperty(u) && (h[u] = s(o[u], g));
1839
+ return (
1840
+ /** @type {any} */
1841
+ h
1842
+ );
1843
+ case "Array":
1844
+ return f = d.util.objId(o), g[f] ? g[f] : (h = [], g[f] = h, /** @type {Array} */
1845
+ /** @type {any} */
1846
+ o.forEach(function(x, m) {
1847
+ h[m] = s(x, g);
1848
+ }), /** @type {any} */
1849
+ h);
1850
+ default:
1851
+ return o;
1852
+ }
1853
+ },
1854
+ /**
1855
+ * Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class.
1856
+ *
1857
+ * If no language is set for the element or the element is `null` or `undefined`, `none` will be returned.
1858
+ *
1859
+ * @param {Element} element
1860
+ * @returns {string}
1861
+ */
1862
+ getLanguage: function(s) {
1863
+ for (; s; ) {
1864
+ var o = l.exec(s.className);
1865
+ if (o)
1866
+ return o[1].toLowerCase();
1867
+ s = s.parentElement;
1868
+ }
1869
+ return "none";
1870
+ },
1871
+ /**
1872
+ * Sets the Prism `language-xxxx` class of the given element.
1873
+ *
1874
+ * @param {Element} element
1875
+ * @param {string} language
1876
+ * @returns {void}
1877
+ */
1878
+ setLanguage: function(s, o) {
1879
+ s.className = s.className.replace(RegExp(l, "gi"), ""), s.classList.add("language-" + o);
1880
+ },
1881
+ /**
1882
+ * Returns the script element that is currently executing.
1883
+ *
1884
+ * This does __not__ work for line script element.
1885
+ *
1886
+ * @returns {HTMLScriptElement | null}
1887
+ */
1888
+ currentScript: function() {
1889
+ if (typeof document > "u")
1890
+ return null;
1891
+ if ("currentScript" in document)
1892
+ return (
1893
+ /** @type {any} */
1894
+ document.currentScript
1895
+ );
1896
+ try {
1897
+ throw new Error();
1898
+ } catch (h) {
1899
+ var s = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(h.stack) || [])[1];
1900
+ if (s) {
1901
+ var o = document.getElementsByTagName("script");
1902
+ for (var g in o)
1903
+ if (o[g].src == s)
1904
+ return o[g];
1905
+ }
1906
+ return null;
1907
+ }
1908
+ },
1909
+ /**
1910
+ * Returns whether a given class is active for `element`.
1911
+ *
1912
+ * The class can be activated if `element` or one of its ancestors has the given class and it can be deactivated
1913
+ * if `element` or one of its ancestors has the negated version of the given class. The _negated version_ of the
1914
+ * given class is just the given class with a `no-` prefix.
1915
+ *
1916
+ * Whether the class is active is determined by the closest ancestor of `element` (where `element` itself is
1917
+ * closest ancestor) that has the given class or the negated version of it. If neither `element` nor any of its
1918
+ * ancestors have the given class or the negated version of it, then the default activation will be returned.
1919
+ *
1920
+ * In the paradoxical situation where the closest ancestor contains __both__ the given class and the negated
1921
+ * version of it, the class is considered active.
1922
+ *
1923
+ * @param {Element} element
1924
+ * @param {string} className
1925
+ * @param {boolean} [defaultActivation=false]
1926
+ * @returns {boolean}
1927
+ */
1928
+ isActive: function(s, o, g) {
1929
+ for (var h = "no-" + o; s; ) {
1930
+ var f = s.classList;
1931
+ if (f.contains(o))
1932
+ return !0;
1933
+ if (f.contains(h))
1934
+ return !1;
1935
+ s = s.parentElement;
1936
+ }
1937
+ return !!g;
1938
+ }
1939
+ },
1940
+ /**
1941
+ * This namespace contains all currently loaded languages and the some helper functions to create and modify languages.
1942
+ *
1943
+ * @namespace
1944
+ * @memberof Prism
1945
+ * @public
1946
+ */
1947
+ languages: {
1948
+ /**
1949
+ * The grammar for plain, unformatted text.
1950
+ */
1951
+ plain: c,
1952
+ plaintext: c,
1953
+ text: c,
1954
+ txt: c,
1955
+ /**
1956
+ * Creates a deep copy of the language with the given id and appends the given tokens.
1957
+ *
1958
+ * If a token in `redef` also appears in the copied language, then the existing token in the copied language
1959
+ * will be overwritten at its original position.
1960
+ *
1961
+ * ## Best practices
1962
+ *
1963
+ * Since the position of overwriting tokens (token in `redef` that overwrite tokens in the copied language)
1964
+ * doesn't matter, they can technically be in any order. However, this can be confusing to others that trying to
1965
+ * understand the language definition because, normally, the order of tokens matters in Prism grammars.
1966
+ *
1967
+ * Therefore, it is encouraged to order overwriting tokens according to the positions of the overwritten tokens.
1968
+ * Furthermore, all non-overwriting tokens should be placed after the overwriting ones.
1969
+ *
1970
+ * @param {string} id The id of the language to extend. This has to be a key in `Prism.languages`.
1971
+ * @param {Grammar} redef The new tokens to append.
1972
+ * @returns {Grammar} The new language created.
1973
+ * @public
1974
+ * @example
1975
+ * Prism.languages['css-with-colors'] = Prism.languages.extend('css', {
1976
+ * // Prism.languages.css already has a 'comment' token, so this token will overwrite CSS' 'comment' token
1977
+ * // at its original position
1978
+ * 'comment': { ... },
1979
+ * // CSS doesn't have a 'color' token, so this token will be appended
1980
+ * 'color': /\b(?:red|green|blue)\b/
1981
+ * });
1982
+ */
1983
+ extend: function(s, o) {
1984
+ var g = d.util.clone(d.languages[s]);
1985
+ for (var h in o)
1986
+ g[h] = o[h];
1987
+ return g;
1988
+ },
1989
+ /**
1990
+ * Inserts tokens _before_ another token in a language definition or any other grammar.
1991
+ *
1992
+ * ## Usage
1993
+ *
1994
+ * This helper method makes it easy to modify existing languages. For example, the CSS language definition
1995
+ * not only defines CSS highlighting for CSS documents, but also needs to define highlighting for CSS embedded
1996
+ * in HTML through `<style>` elements. To do this, it needs to modify `Prism.languages.markup` and add the
1997
+ * appropriate tokens. However, `Prism.languages.markup` is a regular JavaScript object literal, so if you do
1998
+ * this:
1999
+ *
2000
+ * ```js
2001
+ * Prism.languages.markup.style = {
2002
+ * // token
2003
+ * };
2004
+ * ```
2005
+ *
2006
+ * then the `style` token will be added (and processed) at the end. `insertBefore` allows you to insert tokens
2007
+ * before existing tokens. For the CSS example above, you would use it like this:
2008
+ *
2009
+ * ```js
2010
+ * Prism.languages.insertBefore('markup', 'cdata', {
2011
+ * 'style': {
2012
+ * // token
2013
+ * }
2014
+ * });
2015
+ * ```
2016
+ *
2017
+ * ## Special cases
2018
+ *
2019
+ * If the grammars of `inside` and `insert` have tokens with the same name, the tokens in `inside`'s grammar
2020
+ * will be ignored.
2021
+ *
2022
+ * This behavior can be used to insert tokens after `before`:
2023
+ *
2024
+ * ```js
2025
+ * Prism.languages.insertBefore('markup', 'comment', {
2026
+ * 'comment': Prism.languages.markup.comment,
2027
+ * // tokens after 'comment'
2028
+ * });
2029
+ * ```
2030
+ *
2031
+ * ## Limitations
2032
+ *
2033
+ * The main problem `insertBefore` has to solve is iteration order. Since ES2015, the iteration order for object
2034
+ * properties is guaranteed to be the insertion order (except for integer keys) but some browsers behave
2035
+ * differently when keys are deleted and re-inserted. So `insertBefore` can't be implemented by temporarily
2036
+ * deleting properties which is necessary to insert at arbitrary positions.
2037
+ *
2038
+ * To solve this problem, `insertBefore` doesn't actually insert the given tokens into the target object.
2039
+ * Instead, it will create a new object and replace all references to the target object with the new one. This
2040
+ * can be done without temporarily deleting properties, so the iteration order is well-defined.
2041
+ *
2042
+ * However, only references that can be reached from `Prism.languages` or `insert` will be replaced. I.e. if
2043
+ * you hold the target object in a variable, then the value of the variable will not change.
2044
+ *
2045
+ * ```js
2046
+ * var oldMarkup = Prism.languages.markup;
2047
+ * var newMarkup = Prism.languages.insertBefore('markup', 'comment', { ... });
2048
+ *
2049
+ * assert(oldMarkup !== Prism.languages.markup);
2050
+ * assert(newMarkup === Prism.languages.markup);
2051
+ * ```
2052
+ *
2053
+ * @param {string} inside The property of `root` (e.g. a language id in `Prism.languages`) that contains the
2054
+ * object to be modified.
2055
+ * @param {string} before The key to insert before.
2056
+ * @param {Grammar} insert An object containing the key-value pairs to be inserted.
2057
+ * @param {Object<string, any>} [root] The object containing `inside`, i.e. the object that contains the
2058
+ * object to be modified.
2059
+ *
2060
+ * Defaults to `Prism.languages`.
2061
+ * @returns {Grammar} The new grammar object.
2062
+ * @public
2063
+ */
2064
+ insertBefore: function(s, o, g, h) {
2065
+ h = h || /** @type {any} */
2066
+ d.languages;
2067
+ var f = h[s], u = {};
2068
+ for (var x in f)
2069
+ if (f.hasOwnProperty(x)) {
2070
+ if (x == o)
2071
+ for (var m in g)
2072
+ g.hasOwnProperty(m) && (u[m] = g[m]);
2073
+ g.hasOwnProperty(x) || (u[x] = f[x]);
2074
+ }
2075
+ var w = h[s];
2076
+ return h[s] = u, d.languages.DFS(d.languages, function(z, $) {
2077
+ $ === w && z != s && (this[z] = u);
2078
+ }), u;
2079
+ },
2080
+ // Traverse a language definition with Depth First Search
2081
+ DFS: function s(o, g, h, f) {
2082
+ f = f || {};
2083
+ var u = d.util.objId;
2084
+ for (var x in o)
2085
+ if (o.hasOwnProperty(x)) {
2086
+ g.call(o, x, o[x], h || x);
2087
+ var m = o[x], w = d.util.type(m);
2088
+ w === "Object" && !f[u(m)] ? (f[u(m)] = !0, s(m, g, null, f)) : w === "Array" && !f[u(m)] && (f[u(m)] = !0, s(m, g, x, f));
2089
+ }
2090
+ }
2091
+ },
2092
+ plugins: {},
2093
+ /**
2094
+ * This is the most high-level function in Prism’s API.
2095
+ * It fetches all the elements that have a `.language-xxxx` class and then calls {@link Prism.highlightElement} on
2096
+ * each one of them.
2097
+ *
2098
+ * This is equivalent to `Prism.highlightAllUnder(document, async, callback)`.
2099
+ *
2100
+ * @param {boolean} [async=false] Same as in {@link Prism.highlightAllUnder}.
2101
+ * @param {HighlightCallback} [callback] Same as in {@link Prism.highlightAllUnder}.
2102
+ * @memberof Prism
2103
+ * @public
2104
+ */
2105
+ highlightAll: function(s, o) {
2106
+ d.highlightAllUnder(document, s, o);
2107
+ },
2108
+ /**
2109
+ * Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
2110
+ * {@link Prism.highlightElement} on each one of them.
2111
+ *
2112
+ * The following hooks will be run:
2113
+ * 1. `before-highlightall`
2114
+ * 2. `before-all-elements-highlight`
2115
+ * 3. All hooks of {@link Prism.highlightElement} for each element.
2116
+ *
2117
+ * @param {ParentNode} container The root element, whose descendants that have a `.language-xxxx` class will be highlighted.
2118
+ * @param {boolean} [async=false] Whether each element is to be highlighted asynchronously using Web Workers.
2119
+ * @param {HighlightCallback} [callback] An optional callback to be invoked on each element after its highlighting is done.
2120
+ * @memberof Prism
2121
+ * @public
2122
+ */
2123
+ highlightAllUnder: function(s, o, g) {
2124
+ var h = {
2125
+ callback: g,
2126
+ container: s,
2127
+ selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
2128
+ };
2129
+ d.hooks.run("before-highlightall", h), h.elements = Array.prototype.slice.apply(h.container.querySelectorAll(h.selector)), d.hooks.run("before-all-elements-highlight", h);
2130
+ for (var f = 0, u; u = h.elements[f++]; )
2131
+ d.highlightElement(u, o === !0, h.callback);
2132
+ },
2133
+ /**
2134
+ * Highlights the code inside a single element.
2135
+ *
2136
+ * The following hooks will be run:
2137
+ * 1. `before-sanity-check`
2138
+ * 2. `before-highlight`
2139
+ * 3. All hooks of {@link Prism.highlight}. These hooks will be run by an asynchronous worker if `async` is `true`.
2140
+ * 4. `before-insert`
2141
+ * 5. `after-highlight`
2142
+ * 6. `complete`
2143
+ *
2144
+ * Some the above hooks will be skipped if the element doesn't contain any text or there is no grammar loaded for
2145
+ * the element's language.
2146
+ *
2147
+ * @param {Element} element The element containing the code.
2148
+ * It must have a class of `language-xxxx` to be processed, where `xxxx` is a valid language identifier.
2149
+ * @param {boolean} [async=false] Whether the element is to be highlighted asynchronously using Web Workers
2150
+ * to improve performance and avoid blocking the UI when highlighting very large chunks of code. This option is
2151
+ * [disabled by default](https://prismjs.com/faq.html#why-is-asynchronous-highlighting-disabled-by-default).
2152
+ *
2153
+ * Note: All language definitions required to highlight the code must be included in the main `prism.js` file for
2154
+ * asynchronous highlighting to work. You can build your own bundle on the
2155
+ * [Download page](https://prismjs.com/download.html).
2156
+ * @param {HighlightCallback} [callback] An optional callback to be invoked after the highlighting is done.
2157
+ * Mostly useful when `async` is `true`, since in that case, the highlighting is done asynchronously.
2158
+ * @memberof Prism
2159
+ * @public
2160
+ */
2161
+ highlightElement: function(s, o, g) {
2162
+ var h = d.util.getLanguage(s), f = d.languages[h];
2163
+ d.util.setLanguage(s, h);
2164
+ var u = s.parentElement;
2165
+ u && u.nodeName.toLowerCase() === "pre" && d.util.setLanguage(u, h);
2166
+ var x = s.textContent, m = {
2167
+ element: s,
2168
+ language: h,
2169
+ grammar: f,
2170
+ code: x
2171
+ };
2172
+ function w($) {
2173
+ m.highlightedCode = $, d.hooks.run("before-insert", m), m.element.innerHTML = m.highlightedCode, d.hooks.run("after-highlight", m), d.hooks.run("complete", m), g && g.call(m.element);
2174
+ }
2175
+ if (d.hooks.run("before-sanity-check", m), u = m.element.parentElement, u && u.nodeName.toLowerCase() === "pre" && !u.hasAttribute("tabindex") && u.setAttribute("tabindex", "0"), !m.code) {
2176
+ d.hooks.run("complete", m), g && g.call(m.element);
2177
+ return;
2178
+ }
2179
+ if (d.hooks.run("before-highlight", m), !m.grammar) {
2180
+ w(d.util.encode(m.code));
2181
+ return;
2182
+ }
2183
+ if (o && r.Worker) {
2184
+ var z = new Worker(d.filename);
2185
+ z.onmessage = function($) {
2186
+ w($.data);
2187
+ }, z.postMessage(JSON.stringify({
2188
+ language: m.language,
2189
+ code: m.code,
2190
+ immediateClose: !0
2191
+ }));
2192
+ } else
2193
+ w(d.highlight(m.code, m.grammar, m.language));
2194
+ },
2195
+ /**
2196
+ * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
2197
+ * and the language definitions to use, and returns a string with the HTML produced.
2198
+ *
2199
+ * The following hooks will be run:
2200
+ * 1. `before-tokenize`
2201
+ * 2. `after-tokenize`
2202
+ * 3. `wrap`: On each {@link Token}.
2203
+ *
2204
+ * @param {string} text A string with the code to be highlighted.
2205
+ * @param {Grammar} grammar An object containing the tokens to use.
2206
+ *
2207
+ * Usually a language definition like `Prism.languages.markup`.
2208
+ * @param {string} language The name of the language definition passed to `grammar`.
2209
+ * @returns {string} The highlighted HTML.
2210
+ * @memberof Prism
2211
+ * @public
2212
+ * @example
2213
+ * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
2214
+ */
2215
+ highlight: function(s, o, g) {
2216
+ var h = {
2217
+ code: s,
2218
+ grammar: o,
2219
+ language: g
2220
+ };
2221
+ if (d.hooks.run("before-tokenize", h), !h.grammar)
2222
+ throw new Error('The language "' + h.language + '" has no grammar.');
2223
+ return h.tokens = d.tokenize(h.code, h.grammar), d.hooks.run("after-tokenize", h), b.stringify(d.util.encode(h.tokens), h.language);
2224
+ },
2225
+ /**
2226
+ * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
2227
+ * and the language definitions to use, and returns an array with the tokenized code.
2228
+ *
2229
+ * When the language definition includes nested tokens, the function is called recursively on each of these tokens.
2230
+ *
2231
+ * This method could be useful in other contexts as well, as a very crude parser.
2232
+ *
2233
+ * @param {string} text A string with the code to be highlighted.
2234
+ * @param {Grammar} grammar An object containing the tokens to use.
2235
+ *
2236
+ * Usually a language definition like `Prism.languages.markup`.
2237
+ * @returns {TokenStream} An array of strings and tokens, a token stream.
2238
+ * @memberof Prism
2239
+ * @public
2240
+ * @example
2241
+ * let code = `var foo = 0;`;
2242
+ * let tokens = Prism.tokenize(code, Prism.languages.javascript);
2243
+ * tokens.forEach(token => {
2244
+ * if (token instanceof Prism.Token && token.type === 'number') {
2245
+ * console.log(`Found numeric literal: ${token.content}`);
2246
+ * }
2247
+ * });
2248
+ */
2249
+ tokenize: function(s, o) {
2250
+ var g = o.rest;
2251
+ if (g) {
2252
+ for (var h in g)
2253
+ o[h] = g[h];
2254
+ delete o.rest;
2255
+ }
2256
+ var f = new T();
2257
+ return P(f, f.head, s), L(s, f, o, f.head, 0), j(f);
2258
+ },
2259
+ /**
2260
+ * @namespace
2261
+ * @memberof Prism
2262
+ * @public
2263
+ */
2264
+ hooks: {
2265
+ all: {},
2266
+ /**
2267
+ * Adds the given callback to the list of callbacks for the given hook.
2268
+ *
2269
+ * The callback will be invoked when the hook it is registered for is run.
2270
+ * Hooks are usually directly run by a highlight function but you can also run hooks yourself.
2271
+ *
2272
+ * One callback function can be registered to multiple hooks and the same hook multiple times.
2273
+ *
2274
+ * @param {string} name The name of the hook.
2275
+ * @param {HookCallback} callback The callback function which is given environment variables.
2276
+ * @public
2277
+ */
2278
+ add: function(s, o) {
2279
+ var g = d.hooks.all;
2280
+ g[s] = g[s] || [], g[s].push(o);
2281
+ },
2282
+ /**
2283
+ * Runs a hook invoking all registered callbacks with the given environment variables.
2284
+ *
2285
+ * Callbacks will be invoked synchronously and in the order in which they were registered.
2286
+ *
2287
+ * @param {string} name The name of the hook.
2288
+ * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
2289
+ * @public
2290
+ */
2291
+ run: function(s, o) {
2292
+ var g = d.hooks.all[s];
2293
+ if (!(!g || !g.length))
2294
+ for (var h = 0, f; f = g[h++]; )
2295
+ f(o);
2296
+ }
2297
+ },
2298
+ Token: b
2299
+ };
2300
+ r.Prism = d;
2301
+ function b(s, o, g, h) {
2302
+ this.type = s, this.content = o, this.alias = g, this.length = (h || "").length | 0;
2303
+ }
2304
+ b.stringify = function s(o, g) {
2305
+ if (typeof o == "string")
2306
+ return o;
2307
+ if (Array.isArray(o)) {
2308
+ var h = "";
2309
+ return o.forEach(function(w) {
2310
+ h += s(w, g);
2311
+ }), h;
2312
+ }
2313
+ var f = {
2314
+ type: o.type,
2315
+ content: s(o.content, g),
2316
+ tag: "span",
2317
+ classes: ["token", o.type],
2318
+ attributes: {},
2319
+ language: g
2320
+ }, u = o.alias;
2321
+ u && (Array.isArray(u) ? Array.prototype.push.apply(f.classes, u) : f.classes.push(u)), d.hooks.run("wrap", f);
2322
+ var x = "";
2323
+ for (var m in f.attributes)
2324
+ x += " " + m + '="' + (f.attributes[m] || "").replace(/"/g, "&quot;") + '"';
2325
+ return "<" + f.tag + ' class="' + f.classes.join(" ") + '"' + x + ">" + f.content + "</" + f.tag + ">";
2326
+ };
2327
+ function k(s, o, g, h) {
2328
+ s.lastIndex = o;
2329
+ var f = s.exec(g);
2330
+ if (f && h && f[1]) {
2331
+ var u = f[1].length;
2332
+ f.index += u, f[0] = f[0].slice(u);
2333
+ }
2334
+ return f;
2335
+ }
2336
+ function L(s, o, g, h, f, u) {
2337
+ for (var x in g)
2338
+ if (!(!g.hasOwnProperty(x) || !g[x])) {
2339
+ var m = g[x];
2340
+ m = Array.isArray(m) ? m : [m];
2341
+ for (var w = 0; w < m.length; ++w) {
2342
+ if (u && u.cause == x + "," + w)
2343
+ return;
2344
+ var z = m[w], $ = z.inside, Z = !!z.lookbehind, J = !!z.greedy, sn = z.alias;
2345
+ if (J && !z.pattern.global) {
2346
+ var dn = z.pattern.toString().match(/[imsuy]*$/)[0];
2347
+ z.pattern = RegExp(z.pattern.source, dn + "g");
2348
+ }
2349
+ for (var Q = z.pattern || z, F = h.next, _ = f; F !== o.tail && !(u && _ >= u.reach); _ += F.value.length, F = F.next) {
2350
+ var D = F.value;
2351
+ if (o.length > s.length)
2352
+ return;
2353
+ if (!(D instanceof b)) {
2354
+ var W = 1, I;
2355
+ if (J) {
2356
+ if (I = k(Q, _, s, Z), !I || I.index >= s.length)
2357
+ break;
2358
+ var B = I.index, cn = I.index + I[0].length, O = _;
2359
+ for (O += F.value.length; B >= O; )
2360
+ F = F.next, O += F.value.length;
2361
+ if (O -= F.value.length, _ = O, F.value instanceof b)
2362
+ continue;
2363
+ for (var H = F; H !== o.tail && (O < cn || typeof H.value == "string"); H = H.next)
2364
+ W++, O += H.value.length;
2365
+ W--, D = s.slice(_, O), I.index -= _;
2366
+ } else if (I = k(Q, 0, D, Z), !I)
2367
+ continue;
2368
+ var B = I.index, q = I[0], V = D.slice(0, B), nn = D.slice(B + q.length), G = _ + D.length;
2369
+ u && G > u.reach && (u.reach = G);
2370
+ var M = F.prev;
2371
+ V && (M = P(o, M, V), _ += V.length), U(o, M, W);
2372
+ var gn = new b(x, $ ? d.tokenize(q, $) : q, sn, q);
2373
+ if (F = P(o, M, gn), nn && P(o, F, nn), W > 1) {
2374
+ var Y = {
2375
+ cause: x + "," + w,
2376
+ reach: G
2377
+ };
2378
+ L(s, o, g, F.prev, _, Y), u && Y.reach > u.reach && (u.reach = Y.reach);
2379
+ }
2380
+ }
2381
+ }
2382
+ }
2383
+ }
2384
+ }
2385
+ function T() {
2386
+ var s = { value: null, prev: null, next: null }, o = { value: null, prev: s, next: null };
2387
+ s.next = o, this.head = s, this.tail = o, this.length = 0;
2388
+ }
2389
+ function P(s, o, g) {
2390
+ var h = o.next, f = { value: g, prev: o, next: h };
2391
+ return o.next = f, h.prev = f, s.length++, f;
2392
+ }
2393
+ function U(s, o, g) {
2394
+ for (var h = o.next, f = 0; f < g && h !== s.tail; f++)
2395
+ h = h.next;
2396
+ o.next = h, h.prev = o, s.length -= f;
2397
+ }
2398
+ function j(s) {
2399
+ for (var o = [], g = s.head.next; g !== s.tail; )
2400
+ o.push(g.value), g = g.next;
2401
+ return o;
2402
+ }
2403
+ if (!r.document)
2404
+ return r.addEventListener && (d.disableWorkerMessageHandler || r.addEventListener("message", function(s) {
2405
+ var o = JSON.parse(s.data), g = o.language, h = o.code, f = o.immediateClose;
2406
+ r.postMessage(d.highlight(h, d.languages[g], g)), f && r.close();
2407
+ }, !1)), d;
2408
+ var C = d.util.currentScript();
2409
+ C && (d.filename = C.src, C.hasAttribute("data-manual") && (d.manual = !0));
2410
+ function v() {
2411
+ d.manual || d.highlightAll();
2412
+ }
2413
+ if (!d.manual) {
2414
+ var E = document.readyState;
2415
+ E === "loading" || E === "interactive" && C && C.defer ? document.addEventListener("DOMContentLoaded", v) : window.requestAnimationFrame ? window.requestAnimationFrame(v) : window.setTimeout(v, 16);
2416
+ }
2417
+ return d;
2418
+ }(e);
2419
+ n.exports && (n.exports = t), typeof rn < "u" && (rn.Prism = t), t.languages.markup = {
2420
+ comment: {
2421
+ pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
2422
+ greedy: !0
2423
+ },
2424
+ prolog: {
2425
+ pattern: /<\?[\s\S]+?\?>/,
2426
+ greedy: !0
2427
+ },
2428
+ doctype: {
2429
+ // https://www.w3.org/TR/xml/#NT-doctypedecl
2430
+ pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
2431
+ greedy: !0,
2432
+ inside: {
2433
+ "internal-subset": {
2434
+ pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/,
2435
+ lookbehind: !0,
2436
+ greedy: !0,
2437
+ inside: null
2438
+ // see below
2439
+ },
2440
+ string: {
2441
+ pattern: /"[^"]*"|'[^']*'/,
2442
+ greedy: !0
2443
+ },
2444
+ punctuation: /^<!|>$|[[\]]/,
2445
+ "doctype-tag": /^DOCTYPE/i,
2446
+ name: /[^\s<>'"]+/
2447
+ }
2448
+ },
2449
+ cdata: {
2450
+ pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
2451
+ greedy: !0
2452
+ },
2453
+ tag: {
2454
+ pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
2455
+ greedy: !0,
2456
+ inside: {
2457
+ tag: {
2458
+ pattern: /^<\/?[^\s>\/]+/,
2459
+ inside: {
2460
+ punctuation: /^<\/?/,
2461
+ namespace: /^[^\s>\/:]+:/
2462
+ }
2463
+ },
2464
+ "special-attr": [],
2465
+ "attr-value": {
2466
+ pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
2467
+ inside: {
2468
+ punctuation: [
2469
+ {
2470
+ pattern: /^=/,
2471
+ alias: "attr-equals"
2472
+ },
2473
+ {
2474
+ pattern: /^(\s*)["']|["']$/,
2475
+ lookbehind: !0
2476
+ }
2477
+ ]
2478
+ }
2479
+ },
2480
+ punctuation: /\/?>/,
2481
+ "attr-name": {
2482
+ pattern: /[^\s>\/]+/,
2483
+ inside: {
2484
+ namespace: /^[^\s>\/:]+:/
2485
+ }
2486
+ }
2487
+ }
2488
+ },
2489
+ entity: [
2490
+ {
2491
+ pattern: /&[\da-z]{1,8};/i,
2492
+ alias: "named-entity"
2493
+ },
2494
+ /&#x?[\da-f]{1,8};/i
2495
+ ]
2496
+ }, t.languages.markup.tag.inside["attr-value"].inside.entity = t.languages.markup.entity, t.languages.markup.doctype.inside["internal-subset"].inside = t.languages.markup, t.hooks.add("wrap", function(r) {
2497
+ r.type === "entity" && (r.attributes.title = r.content.replace(/&amp;/, "&"));
2498
+ }), Object.defineProperty(t.languages.markup.tag, "addInlined", {
2499
+ /**
2500
+ * Adds an inlined language to markup.
2501
+ *
2502
+ * An example of an inlined language is CSS with `<style>` tags.
2503
+ *
2504
+ * @param {string} tagName The name of the tag that contains the inlined language. This name will be treated as
2505
+ * case insensitive.
2506
+ * @param {string} lang The language key.
2507
+ * @example
2508
+ * addInlined('style', 'css');
2509
+ */
2510
+ value: function(l, a) {
2511
+ var c = {};
2512
+ c["language-" + a] = {
2513
+ pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
2514
+ lookbehind: !0,
2515
+ inside: t.languages[a]
2516
+ }, c.cdata = /^<!\[CDATA\[|\]\]>$/i;
2517
+ var d = {
2518
+ "included-cdata": {
2519
+ pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
2520
+ inside: c
2521
+ }
2522
+ };
2523
+ d["language-" + a] = {
2524
+ pattern: /[\s\S]+/,
2525
+ inside: t.languages[a]
2526
+ };
2527
+ var b = {};
2528
+ b[l] = {
2529
+ pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function() {
2530
+ return l;
2531
+ }), "i"),
2532
+ lookbehind: !0,
2533
+ greedy: !0,
2534
+ inside: d
2535
+ }, t.languages.insertBefore("markup", "cdata", b);
2536
+ }
2537
+ }), Object.defineProperty(t.languages.markup.tag, "addAttribute", {
2538
+ /**
2539
+ * Adds an pattern to highlight languages embedded in HTML attributes.
2540
+ *
2541
+ * An example of an inlined language is CSS with `style` attributes.
2542
+ *
2543
+ * @param {string} attrName The name of the tag that contains the inlined language. This name will be treated as
2544
+ * case insensitive.
2545
+ * @param {string} lang The language key.
2546
+ * @example
2547
+ * addAttribute('style', 'css');
2548
+ */
2549
+ value: function(r, l) {
2550
+ t.languages.markup.tag.inside["special-attr"].push({
2551
+ pattern: RegExp(
2552
+ /(^|["'\s])/.source + "(?:" + r + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
2553
+ "i"
2554
+ ),
2555
+ lookbehind: !0,
2556
+ inside: {
2557
+ "attr-name": /^[^\s=]+/,
2558
+ "attr-value": {
2559
+ pattern: /=[\s\S]+/,
2560
+ inside: {
2561
+ value: {
2562
+ pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
2563
+ lookbehind: !0,
2564
+ alias: [l, "language-" + l],
2565
+ inside: t.languages[l]
2566
+ },
2567
+ punctuation: [
2568
+ {
2569
+ pattern: /^=/,
2570
+ alias: "attr-equals"
2571
+ },
2572
+ /"|'/
2573
+ ]
2574
+ }
2575
+ }
2576
+ }
2577
+ });
2578
+ }
2579
+ }), t.languages.html = t.languages.markup, t.languages.mathml = t.languages.markup, t.languages.svg = t.languages.markup, t.languages.xml = t.languages.extend("markup", {}), t.languages.ssml = t.languages.xml, t.languages.atom = t.languages.xml, t.languages.rss = t.languages.xml, function(r) {
2580
+ var l = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
2581
+ r.languages.css = {
2582
+ comment: /\/\*[\s\S]*?\*\//,
2583
+ atrule: {
2584
+ pattern: RegExp("@[\\w-](?:" + /[^;{\s"']|\s+(?!\s)/.source + "|" + l.source + ")*?" + /(?:;|(?=\s*\{))/.source),
2585
+ inside: {
2586
+ rule: /^@[\w-]+/,
2587
+ "selector-function-argument": {
2588
+ pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
2589
+ lookbehind: !0,
2590
+ alias: "selector"
2591
+ },
2592
+ keyword: {
2593
+ pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
2594
+ lookbehind: !0
2595
+ }
2596
+ // See rest below
2597
+ }
2598
+ },
2599
+ url: {
2600
+ // https://drafts.csswg.org/css-values-3/#urls
2601
+ pattern: RegExp("\\burl\\((?:" + l.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)", "i"),
2602
+ greedy: !0,
2603
+ inside: {
2604
+ function: /^url/i,
2605
+ punctuation: /^\(|\)$/,
2606
+ string: {
2607
+ pattern: RegExp("^" + l.source + "$"),
2608
+ alias: "url"
2609
+ }
2610
+ }
2611
+ },
2612
+ selector: {
2613
+ pattern: RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + l.source + ")*(?=\\s*\\{)"),
2614
+ lookbehind: !0
2615
+ },
2616
+ string: {
2617
+ pattern: l,
2618
+ greedy: !0
2619
+ },
2620
+ property: {
2621
+ pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
2622
+ lookbehind: !0
2623
+ },
2624
+ important: /!important\b/i,
2625
+ function: {
2626
+ pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,
2627
+ lookbehind: !0
2628
+ },
2629
+ punctuation: /[(){};:,]/
2630
+ }, r.languages.css.atrule.inside.rest = r.languages.css;
2631
+ var a = r.languages.markup;
2632
+ a && (a.tag.addInlined("style", "css"), a.tag.addAttribute("style", "css"));
2633
+ }(t), t.languages.clike = {
2634
+ comment: [
2635
+ {
2636
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
2637
+ lookbehind: !0,
2638
+ greedy: !0
2639
+ },
2640
+ {
2641
+ pattern: /(^|[^\\:])\/\/.*/,
2642
+ lookbehind: !0,
2643
+ greedy: !0
2644
+ }
2645
+ ],
2646
+ string: {
2647
+ pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
2648
+ greedy: !0
2649
+ },
2650
+ "class-name": {
2651
+ pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,
2652
+ lookbehind: !0,
2653
+ inside: {
2654
+ punctuation: /[.\\]/
2655
+ }
2656
+ },
2657
+ keyword: /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,
2658
+ boolean: /\b(?:false|true)\b/,
2659
+ function: /\b\w+(?=\()/,
2660
+ number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
2661
+ operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,
2662
+ punctuation: /[{}[\];(),.:]/
2663
+ }, t.languages.javascript = t.languages.extend("clike", {
2664
+ "class-name": [
2665
+ t.languages.clike["class-name"],
2666
+ {
2667
+ pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,
2668
+ lookbehind: !0
2669
+ }
2670
+ ],
2671
+ keyword: [
2672
+ {
2673
+ pattern: /((?:^|\})\s*)catch\b/,
2674
+ lookbehind: !0
2675
+ },
2676
+ {
2677
+ pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,
2678
+ lookbehind: !0
2679
+ }
2680
+ ],
2681
+ // Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)
2682
+ function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
2683
+ number: {
2684
+ pattern: RegExp(
2685
+ /(^|[^\w$])/.source + "(?:" + // constant
2686
+ (/NaN|Infinity/.source + "|" + // binary integer
2687
+ /0[bB][01]+(?:_[01]+)*n?/.source + "|" + // octal integer
2688
+ /0[oO][0-7]+(?:_[0-7]+)*n?/.source + "|" + // hexadecimal integer
2689
+ /0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source + "|" + // decimal bigint
2690
+ /\d+(?:_\d+)*n/.source + "|" + // decimal number (integer or float) but no bigint
2691
+ /(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source) + ")" + /(?![\w$])/.source
2692
+ ),
2693
+ lookbehind: !0
2694
+ },
2695
+ operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
2696
+ }), t.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/, t.languages.insertBefore("javascript", "keyword", {
2697
+ regex: {
2698
+ pattern: RegExp(
2699
+ // lookbehind
2700
+ // eslint-disable-next-line regexp/no-dupe-characters-character-class
2701
+ /((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source + // Regex pattern:
2702
+ // There are 2 regex patterns here. The RegExp set notation proposal added support for nested character
2703
+ // classes if the `v` flag is present. Unfortunately, nested CCs are both context-free and incompatible
2704
+ // with the only syntax, so we have to define 2 different regex patterns.
2705
+ /\//.source + "(?:" + /(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source + "|" + // `v` flag syntax. This supports 3 levels of nested character classes.
2706
+ /(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source + ")" + // lookahead
2707
+ /(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source
2708
+ ),
2709
+ lookbehind: !0,
2710
+ greedy: !0,
2711
+ inside: {
2712
+ "regex-source": {
2713
+ pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
2714
+ lookbehind: !0,
2715
+ alias: "language-regex",
2716
+ inside: t.languages.regex
2717
+ },
2718
+ "regex-delimiter": /^\/|\/$/,
2719
+ "regex-flags": /^[a-z]+$/
2720
+ }
2721
+ },
2722
+ // This must be declared before keyword because we use "function" inside the look-forward
2723
+ "function-variable": {
2724
+ pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
2725
+ alias: "function"
2726
+ },
2727
+ parameter: [
2728
+ {
2729
+ pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
2730
+ lookbehind: !0,
2731
+ inside: t.languages.javascript
2732
+ },
2733
+ {
2734
+ pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
2735
+ lookbehind: !0,
2736
+ inside: t.languages.javascript
2737
+ },
2738
+ {
2739
+ pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
2740
+ lookbehind: !0,
2741
+ inside: t.languages.javascript
2742
+ },
2743
+ {
2744
+ pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,
2745
+ lookbehind: !0,
2746
+ inside: t.languages.javascript
2747
+ }
2748
+ ],
2749
+ constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/
2750
+ }), t.languages.insertBefore("javascript", "string", {
2751
+ hashbang: {
2752
+ pattern: /^#!.*/,
2753
+ greedy: !0,
2754
+ alias: "comment"
2755
+ },
2756
+ "template-string": {
2757
+ pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
2758
+ greedy: !0,
2759
+ inside: {
2760
+ "template-punctuation": {
2761
+ pattern: /^`|`$/,
2762
+ alias: "string"
2763
+ },
2764
+ interpolation: {
2765
+ pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
2766
+ lookbehind: !0,
2767
+ inside: {
2768
+ "interpolation-punctuation": {
2769
+ pattern: /^\$\{|\}$/,
2770
+ alias: "punctuation"
2771
+ },
2772
+ rest: t.languages.javascript
2773
+ }
2774
+ },
2775
+ string: /[\s\S]+/
2776
+ }
2777
+ },
2778
+ "string-property": {
2779
+ pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,
2780
+ lookbehind: !0,
2781
+ greedy: !0,
2782
+ alias: "property"
2783
+ }
2784
+ }), t.languages.insertBefore("javascript", "operator", {
2785
+ "literal-property": {
2786
+ pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
2787
+ lookbehind: !0,
2788
+ alias: "property"
2789
+ }
2790
+ }), t.languages.markup && (t.languages.markup.tag.addInlined("script", "javascript"), t.languages.markup.tag.addAttribute(
2791
+ /on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,
2792
+ "javascript"
2793
+ )), t.languages.js = t.languages.javascript, function() {
2794
+ if (typeof t > "u" || typeof document > "u")
2795
+ return;
2796
+ Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
2797
+ var r = "Loading…", l = function(C, v) {
2798
+ return "✖ Error " + C + " while fetching file: " + v;
2799
+ }, a = "✖ Error: File does not exist or is empty", c = {
2800
+ js: "javascript",
2801
+ py: "python",
2802
+ rb: "ruby",
2803
+ ps1: "powershell",
2804
+ psm1: "powershell",
2805
+ sh: "bash",
2806
+ bat: "batch",
2807
+ h: "c",
2808
+ tex: "latex"
2809
+ }, d = "data-src-status", b = "loading", k = "loaded", L = "failed", T = "pre[data-src]:not([" + d + '="' + k + '"]):not([' + d + '="' + b + '"])';
2810
+ function P(C, v, E) {
2811
+ var s = new XMLHttpRequest();
2812
+ s.open("GET", C, !0), s.onreadystatechange = function() {
2813
+ s.readyState == 4 && (s.status < 400 && s.responseText ? v(s.responseText) : s.status >= 400 ? E(l(s.status, s.statusText)) : E(a));
2814
+ }, s.send(null);
2815
+ }
2816
+ function U(C) {
2817
+ var v = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(C || "");
2818
+ if (v) {
2819
+ var E = Number(v[1]), s = v[2], o = v[3];
2820
+ return s ? o ? [E, Number(o)] : [E, void 0] : [E, E];
2821
+ }
2822
+ }
2823
+ t.hooks.add("before-highlightall", function(C) {
2824
+ C.selector += ", " + T;
2825
+ }), t.hooks.add("before-sanity-check", function(C) {
2826
+ var v = (
2827
+ /** @type {HTMLPreElement} */
2828
+ C.element
2829
+ );
2830
+ if (v.matches(T)) {
2831
+ C.code = "", v.setAttribute(d, b);
2832
+ var E = v.appendChild(document.createElement("CODE"));
2833
+ E.textContent = r;
2834
+ var s = v.getAttribute("data-src"), o = C.language;
2835
+ if (o === "none") {
2836
+ var g = (/\.(\w+)$/.exec(s) || [, "none"])[1];
2837
+ o = c[g] || g;
2838
+ }
2839
+ t.util.setLanguage(E, o), t.util.setLanguage(v, o);
2840
+ var h = t.plugins.autoloader;
2841
+ h && h.loadLanguages(o), P(
2842
+ s,
2843
+ function(f) {
2844
+ v.setAttribute(d, k);
2845
+ var u = U(v.getAttribute("data-range"));
2846
+ if (u) {
2847
+ var x = f.split(/\r\n?|\n/g), m = u[0], w = u[1] == null ? x.length : u[1];
2848
+ m < 0 && (m += x.length), m = Math.max(0, Math.min(m - 1, x.length)), w < 0 && (w += x.length), w = Math.max(0, Math.min(w, x.length)), f = x.slice(m, w).join(`
2849
+ `), v.hasAttribute("data-start") || v.setAttribute("data-start", String(m + 1));
2850
+ }
2851
+ E.textContent = f, t.highlightElement(E);
2852
+ },
2853
+ function(f) {
2854
+ v.setAttribute(d, L), E.textContent = f;
2855
+ }
2856
+ );
2857
+ }
2858
+ }), t.plugins.fileHighlight = {
2859
+ /**
2860
+ * Executes the File Highlight plugin for all matching `pre` elements under the given container.
2861
+ *
2862
+ * Note: Elements which are already loaded or currently loading will not be touched by this method.
2863
+ *
2864
+ * @param {ParentNode} [container=document]
2865
+ */
2866
+ highlight: function(v) {
2867
+ for (var E = (v || document).querySelectorAll(T), s = 0, o; o = E[s++]; )
2868
+ t.highlightElement(o);
2869
+ }
2870
+ };
2871
+ var j = !1;
2872
+ t.fileHighlight = function() {
2873
+ j || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), j = !0), t.plugins.fileHighlight.highlight.apply(this, arguments);
2874
+ };
2875
+ }();
2876
+ })(ln);
2877
+ const X = ln.exports;
2878
+ Prism.languages.python = {
2879
+ comment: {
2880
+ pattern: /(^|[^\\])#.*/,
2881
+ lookbehind: !0,
2882
+ greedy: !0
2883
+ },
2884
+ "string-interpolation": {
2885
+ pattern: /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
2886
+ greedy: !0,
2887
+ inside: {
2888
+ interpolation: {
2889
+ // "{" <expression> <optional "!s", "!r", or "!a"> <optional ":" format specifier> "}"
2890
+ pattern: /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,
2891
+ lookbehind: !0,
2892
+ inside: {
2893
+ "format-spec": {
2894
+ pattern: /(:)[^:(){}]+(?=\}$)/,
2895
+ lookbehind: !0
2896
+ },
2897
+ "conversion-option": {
2898
+ pattern: /![sra](?=[:}]$)/,
2899
+ alias: "punctuation"
2900
+ },
2901
+ rest: null
2902
+ }
2903
+ },
2904
+ string: /[\s\S]+/
2905
+ }
2906
+ },
2907
+ "triple-quoted-string": {
2908
+ pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,
2909
+ greedy: !0,
2910
+ alias: "string"
2911
+ },
2912
+ string: {
2913
+ pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,
2914
+ greedy: !0
2915
+ },
2916
+ function: {
2917
+ pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,
2918
+ lookbehind: !0
2919
+ },
2920
+ "class-name": {
2921
+ pattern: /(\bclass\s+)\w+/i,
2922
+ lookbehind: !0
2923
+ },
2924
+ decorator: {
2925
+ pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m,
2926
+ lookbehind: !0,
2927
+ alias: ["annotation", "punctuation"],
2928
+ inside: {
2929
+ punctuation: /\./
2930
+ }
2931
+ },
2932
+ keyword: /\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,
2933
+ builtin: /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,
2934
+ boolean: /\b(?:False|None|True)\b/,
2935
+ number: /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,
2936
+ operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
2937
+ punctuation: /[{}[\];(),.:]/
2938
+ };
2939
+ Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest = Prism.languages.python;
2940
+ Prism.languages.py = Prism.languages.python;
2941
+ (function(n) {
2942
+ var e = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", t = {
2943
+ pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
2944
+ lookbehind: !0,
2945
+ alias: "punctuation",
2946
+ // this looks reasonably well in all themes
2947
+ inside: null
2948
+ // see below
2949
+ }, r = {
2950
+ bash: t,
2951
+ environment: {
2952
+ pattern: RegExp("\\$" + e),
2953
+ alias: "constant"
2954
+ },
2955
+ variable: [
2956
+ // [0]: Arithmetic Environment
2957
+ {
2958
+ pattern: /\$?\(\([\s\S]+?\)\)/,
2959
+ greedy: !0,
2960
+ inside: {
2961
+ // If there is a $ sign at the beginning highlight $(( and )) as variable
2962
+ variable: [
2963
+ {
2964
+ pattern: /(^\$\(\([\s\S]+)\)\)/,
2965
+ lookbehind: !0
2966
+ },
2967
+ /^\$\(\(/
2968
+ ],
2969
+ number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
2970
+ // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
2971
+ operator: /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
2972
+ // If there is no $ sign at the beginning highlight (( and )) as punctuation
2973
+ punctuation: /\(\(?|\)\)?|,|;/
2974
+ }
2975
+ },
2976
+ // [1]: Command Substitution
2977
+ {
2978
+ pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
2979
+ greedy: !0,
2980
+ inside: {
2981
+ variable: /^\$\(|^`|\)$|`$/
2982
+ }
2983
+ },
2984
+ // [2]: Brace expansion
2985
+ {
2986
+ pattern: /\$\{[^}]+\}/,
2987
+ greedy: !0,
2988
+ inside: {
2989
+ operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
2990
+ punctuation: /[\[\]]/,
2991
+ environment: {
2992
+ pattern: RegExp("(\\{)" + e),
2993
+ lookbehind: !0,
2994
+ alias: "constant"
2995
+ }
2996
+ }
2997
+ },
2998
+ /\$(?:\w+|[#?*!@$])/
2999
+ ],
3000
+ // Escape sequences from echo and printf's manuals, and escaped quotes.
3001
+ entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
3002
+ };
3003
+ n.languages.bash = {
3004
+ shebang: {
3005
+ pattern: /^#!\s*\/.*/,
3006
+ alias: "important"
3007
+ },
3008
+ comment: {
3009
+ pattern: /(^|[^"{\\$])#.*/,
3010
+ lookbehind: !0
3011
+ },
3012
+ "function-name": [
3013
+ // a) function foo {
3014
+ // b) foo() {
3015
+ // c) function foo() {
3016
+ // but not “foo {”
3017
+ {
3018
+ // a) and c)
3019
+ pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
3020
+ lookbehind: !0,
3021
+ alias: "function"
3022
+ },
3023
+ {
3024
+ // b)
3025
+ pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
3026
+ alias: "function"
3027
+ }
3028
+ ],
3029
+ // Highlight variable names as variables in for and select beginnings.
3030
+ "for-or-select": {
3031
+ pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
3032
+ alias: "variable",
3033
+ lookbehind: !0
3034
+ },
3035
+ // Highlight variable names as variables in the left-hand part
3036
+ // of assignments (“=” and “+=”).
3037
+ "assign-left": {
3038
+ pattern: /(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,
3039
+ inside: {
3040
+ environment: {
3041
+ pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + e),
3042
+ lookbehind: !0,
3043
+ alias: "constant"
3044
+ }
3045
+ },
3046
+ alias: "variable",
3047
+ lookbehind: !0
3048
+ },
3049
+ // Highlight parameter names as variables
3050
+ parameter: {
3051
+ pattern: /(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,
3052
+ alias: "variable",
3053
+ lookbehind: !0
3054
+ },
3055
+ string: [
3056
+ // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
3057
+ {
3058
+ pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
3059
+ lookbehind: !0,
3060
+ greedy: !0,
3061
+ inside: r
3062
+ },
3063
+ // Here-document with quotes around the tag
3064
+ // → No expansion (so no “inside”).
3065
+ {
3066
+ pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
3067
+ lookbehind: !0,
3068
+ greedy: !0,
3069
+ inside: {
3070
+ bash: t
3071
+ }
3072
+ },
3073
+ // “Normal” string
3074
+ {
3075
+ // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
3076
+ pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
3077
+ lookbehind: !0,
3078
+ greedy: !0,
3079
+ inside: r
3080
+ },
3081
+ {
3082
+ // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
3083
+ pattern: /(^|[^$\\])'[^']*'/,
3084
+ lookbehind: !0,
3085
+ greedy: !0
3086
+ },
3087
+ {
3088
+ // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
3089
+ pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
3090
+ greedy: !0,
3091
+ inside: {
3092
+ entity: r.entity
3093
+ }
3094
+ }
3095
+ ],
3096
+ environment: {
3097
+ pattern: RegExp("\\$?" + e),
3098
+ alias: "constant"
3099
+ },
3100
+ variable: r.variable,
3101
+ function: {
3102
+ pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
3103
+ lookbehind: !0
3104
+ },
3105
+ keyword: {
3106
+ pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
3107
+ lookbehind: !0
3108
+ },
3109
+ // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
3110
+ builtin: {
3111
+ pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
3112
+ lookbehind: !0,
3113
+ // Alias added to make those easier to distinguish from strings.
3114
+ alias: "class-name"
3115
+ },
3116
+ boolean: {
3117
+ pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
3118
+ lookbehind: !0
3119
+ },
3120
+ "file-descriptor": {
3121
+ pattern: /\B&\d\b/,
3122
+ alias: "important"
3123
+ },
3124
+ operator: {
3125
+ // Lots of redirections here, but not just that.
3126
+ pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
3127
+ inside: {
3128
+ "file-descriptor": {
3129
+ pattern: /^\d/,
3130
+ alias: "important"
3131
+ }
3132
+ }
3133
+ },
3134
+ punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
3135
+ number: {
3136
+ pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
3137
+ lookbehind: !0
3138
+ }
3139
+ }, t.inside = n.languages.bash;
3140
+ for (var l = [
3141
+ "comment",
3142
+ "function-name",
3143
+ "for-or-select",
3144
+ "assign-left",
3145
+ "parameter",
3146
+ "string",
3147
+ "environment",
3148
+ "function",
3149
+ "keyword",
3150
+ "builtin",
3151
+ "boolean",
3152
+ "file-descriptor",
3153
+ "operator",
3154
+ "punctuation",
3155
+ "number"
3156
+ ], a = r.variable[1].inside, c = 0; c < l.length; c++)
3157
+ a[l[c]] = n.languages.bash[l[c]];
3158
+ n.languages.sh = n.languages.bash, n.languages.shell = n.languages.bash;
3159
+ })(Prism);
3160
+ (function(n) {
3161
+ var e = /[*&][^\s[\]{},]+/, t = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, r = "(?:" + t.source + "(?:[ ]+" + e.source + ")?|" + e.source + "(?:[ ]+" + t.source + ")?)", l = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
3162
+ return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
3163
+ }), a = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
3164
+ function c(d, b) {
3165
+ b = (b || "").replace(/m/g, "") + "m";
3166
+ var k = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
3167
+ return r;
3168
+ }).replace(/<<value>>/g, function() {
3169
+ return d;
3170
+ });
3171
+ return RegExp(k, b);
3172
+ }
3173
+ n.languages.yaml = {
3174
+ scalar: {
3175
+ pattern: RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g, function() {
3176
+ return r;
3177
+ })),
3178
+ lookbehind: !0,
3179
+ alias: "string"
3180
+ },
3181
+ comment: /#.*/,
3182
+ key: {
3183
+ pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
3184
+ return r;
3185
+ }).replace(/<<key>>/g, function() {
3186
+ return "(?:" + l + "|" + a + ")";
3187
+ })),
3188
+ lookbehind: !0,
3189
+ greedy: !0,
3190
+ alias: "atrule"
3191
+ },
3192
+ directive: {
3193
+ pattern: /(^[ \t]*)%.+/m,
3194
+ lookbehind: !0,
3195
+ alias: "important"
3196
+ },
3197
+ datetime: {
3198
+ pattern: c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),
3199
+ lookbehind: !0,
3200
+ alias: "number"
3201
+ },
3202
+ boolean: {
3203
+ pattern: c(/false|true/.source, "i"),
3204
+ lookbehind: !0,
3205
+ alias: "important"
3206
+ },
3207
+ null: {
3208
+ pattern: c(/null|~/.source, "i"),
3209
+ lookbehind: !0,
3210
+ alias: "important"
3211
+ },
3212
+ string: {
3213
+ pattern: c(a),
3214
+ lookbehind: !0,
3215
+ greedy: !0
3216
+ },
3217
+ number: {
3218
+ pattern: c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"),
3219
+ lookbehind: !0
3220
+ },
3221
+ tag: t,
3222
+ important: e,
3223
+ punctuation: /---|[:[\]{}\-,|>?]|\.\.\./
3224
+ }, n.languages.yml = n.languages.yaml;
3225
+ })(Prism);
3226
+ (function(n) {
3227
+ var e = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
3228
+ n.languages.css = {
3229
+ comment: /\/\*[\s\S]*?\*\//,
3230
+ atrule: {
3231
+ pattern: RegExp("@[\\w-](?:" + /[^;{\s"']|\s+(?!\s)/.source + "|" + e.source + ")*?" + /(?:;|(?=\s*\{))/.source),
3232
+ inside: {
3233
+ rule: /^@[\w-]+/,
3234
+ "selector-function-argument": {
3235
+ pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
3236
+ lookbehind: !0,
3237
+ alias: "selector"
1258
3238
  },
1259
- {
1260
- iconSmall: !0,
1261
- iconPos: "right",
1262
- size: "large",
1263
- class: "pr-8",
1264
- iconOnly: !1
3239
+ keyword: {
3240
+ pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
3241
+ lookbehind: !0
1265
3242
  }
1266
- ],
1267
- defaultVariants: {
1268
- intent: "secondary",
1269
- loading: !1,
1270
- iconSmall: !1,
1271
- iconPos: "right",
1272
- iconOnly: !1,
1273
- pill: !1,
1274
- size: "small"
3243
+ // See rest below
1275
3244
  }
1276
- }), this.parentContext = null, this.label = void 0, this.ariaLabel = "Button", this.elementType = "button", this.intent = "secondary", this.loading = !1, this.disabled = !1, this.pill = !1, this.icon = void 0, this.size = "small", this.iconPos = "right", this.iconSmall = !1, this.extraClass = void 0, this.triggerClick = void 0;
3245
+ },
3246
+ url: {
3247
+ // https://drafts.csswg.org/css-values-3/#urls
3248
+ pattern: RegExp("\\burl\\((?:" + e.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)", "i"),
3249
+ greedy: !0,
3250
+ inside: {
3251
+ function: /^url/i,
3252
+ punctuation: /^\(|\)$/,
3253
+ string: {
3254
+ pattern: RegExp("^" + e.source + "$"),
3255
+ alias: "url"
3256
+ }
3257
+ }
3258
+ },
3259
+ selector: {
3260
+ pattern: RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + e.source + ")*(?=\\s*\\{)"),
3261
+ lookbehind: !0
3262
+ },
3263
+ string: {
3264
+ pattern: e,
3265
+ greedy: !0
3266
+ },
3267
+ property: {
3268
+ pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
3269
+ lookbehind: !0
3270
+ },
3271
+ important: /!important\b/i,
3272
+ function: {
3273
+ pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,
3274
+ lookbehind: !0
3275
+ },
3276
+ punctuation: /[(){};:,]/
3277
+ }, n.languages.css.atrule.inside.rest = n.languages.css;
3278
+ var t = n.languages.markup;
3279
+ t && (t.tag.addInlined("style", "css"), t.tag.addAttribute("style", "css"));
3280
+ })(Prism);
3281
+ const Bn = `:host{display:block;font-family:var(--font-family, 'Courier New', monospace)}pre[class*="language-"]{white-space:pre-wrap;word-break:break-word;}.language{font-weight:bold;text-transform:uppercase}pre{margin:0;border-radius:8px;color:var(--purple-200);overflow:auto}code{font-family:'Courier New', monospace}.token.keyword{color:var(--purple-500)}.token.string{color:var(--green-500)}.token.function{color:var(--cyan-500)}.token.comment{color:var(--grey-700)}.relative{position:relative}.bg-stronger{background-color:var(--grey-900)}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.p-0{padding:0rem}.p-12{padding:0.75rem}.p-16{padding:1rem}.p-20{padding:1.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.pl-8{padding-left:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mb-28{margin-bottom:1.75rem}.pb-16{padding-bottom:1rem}.pb-20{padding-bottom:1.25rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.pb-8{padding-bottom:0.5rem}.mt-16{margin-top:1rem}.mt-2{margin-top:0.125rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.w-20{width:1.25rem}.h-20{height:1.25rem}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}`, qn = Bn, Mn = class {
3282
+ constructor(n) {
3283
+ p(this, n), this.code = void 0, this.language = void 0, this.copied = !1;
1277
3284
  }
1278
- handleParentContext(n) {
1279
- n.target === this.el && (this.parentContext = n.detail, n.stopPropagation());
3285
+ /**
3286
+ * Copies the current code content to the clipboard and sets a temporary copied state.
3287
+ *
3288
+ * @private
3289
+ * @returns {void}
3290
+ */
3291
+ copyToClipboard() {
3292
+ navigator.clipboard.writeText(this.code).then(() => {
3293
+ this.copied = !0, setTimeout(() => this.copied = !1, 2e3);
3294
+ });
1280
3295
  }
1281
- handleClick(n) {
1282
- var e, r;
1283
- if (this.disabled) {
1284
- n.preventDefault();
1285
- return;
1286
- }
1287
- f({
1288
- category: "ui-component",
1289
- parentContext: this.parentContext,
1290
- tag: this.el.tagName.toLowerCase(),
1291
- name: ((e = this.label) === null || e === void 0 ? void 0 : e.toLowerCase()) || ((r = this.ariaLabel) === null || r === void 0 ? void 0 : r.toLowerCase()) || "",
1292
- action: "click"
1293
- }), typeof this.triggerClick == "function" && this.triggerClick();
3296
+ /**
3297
+ * Utility function that creates a human-friendly analytics name based on the code and language.
3298
+ * It uses:
3299
+ * - The language (in uppercase)
3300
+ * - The number of non-empty lines in the code
3301
+ * - The first non-empty line of code (truncated to 30 characters, if needed)
3302
+ *
3303
+ * returns A descriptive analytics name.
3304
+ */
3305
+ /*private createHumanFriendlyAnalyticsName(code: string, language: string): string {
3306
+ // Count non-empty lines
3307
+ const lines = code.split('\n').filter(line => line.trim() !== '').length;
3308
+
3309
+ // Find the first non-empty line and trim it
3310
+ let firstNonEmptyLine = code.split('\n').find(line => line.trim() !== '');
3311
+ firstNonEmptyLine = firstNonEmptyLine ? firstNonEmptyLine.trim() : '';
3312
+
3313
+ // Truncate the snippet if it’s too long
3314
+ if (firstNonEmptyLine.length > 30) {
3315
+ firstNonEmptyLine = firstNonEmptyLine.substring(0, 30) + '...';
3316
+ }
3317
+
3318
+ return `CodeBlock:${language.toLowerCase()}|${lines}-line(s)|${firstNonEmptyLine.toLowerCase()}`;
3319
+ }*/
3320
+ /**
3321
+ * Returns the syntax-highlighted HTML for the code.
3322
+ * If the provided language is supported by Prism, this method returns the highlighted code.
3323
+ * Otherwise, it logs a warning and returns the raw code.
3324
+ *
3325
+ * @private
3326
+ * @returns {string} The highlighted HTML string for the code block.
3327
+ */
3328
+ getHighlightedCode() {
3329
+ return this.language && X.languages[this.language] ? X.highlight(this.code, X.languages[this.language], this.language) : this.code;
1294
3330
  }
1295
3331
  render() {
1296
- const n = this.button({
1297
- intent: this.intent,
1298
- loading: this.loading,
1299
- iconPos: this.iconPos,
1300
- size: this.size,
1301
- pill: this.pill,
1302
- iconOnly: !this.label,
1303
- iconSmall: this.iconSmall
1304
- }), e = this.elementType;
1305
- return i(e, { key: "ecdd901c70578c07ef094aadbcd287588d4ba705", "aria-label": this.label || this.ariaLabel || void 0, "aria-disabled": this.elementType === "button" ? this.disabled : void 0, disabled: this.elementType === "button" ? this.disabled : void 0, class: `${n || ""} ${this.extraClass || ""}`, onClick: (r) => this.handleClick(r) }, this.label && i("span", { key: "af8d0ca1c5c3e54f9db3066931a69d3a5a812666", class: this.loading ? "opacity-0" : "" }, this.label), this.loading && i("span", { key: "29b72c15e80f46e023f829568f58d8a8dca82b78", class: "absolute inset-0 flex items-center justify-center" }, i("span", { key: "bad8bd059b1312ca3f5ab173b1203eb395e9bbd8", class: "loader", style: {
1306
- border: `3px solid ${this.intent === "secondary" ? "rgba(255, 255, 255, .3)" : "rgba(0, 0, 0, .3)"}`,
1307
- borderBottomColor: this.intent === "secondary" ? "#fff" : "#000"
1308
- } })), this.icon ? i("eds-icon-wrapper", { class: `
1309
- flex inline-flex items-center justify-center
1310
- ${this.size === "large" ? "h-24 w-24" : "h-20 w-20"}
1311
- `, icon: this.icon }) : null);
3332
+ return i("div", { key: "3cfaec27c58d05868313150f1a358ff64c8eafbd", class: "relative bg-stronger rounded-sm" }, i("div", { key: "ed91821385f30305348750dbfffec5fdd7b4dbb8", class: "text-inverse flex justify-between items-center p-8" }, this.language ? i("span", { class: "f-ui-03" }, this.language.toUpperCase()) : i("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, i("code", { innerHTML: this.getHighlightedCode() })), i("span", { key: "3e419585214883c878a8e84c440dbd29d590002d", "aria-hidden": "true", class: "w-20 h-20 mt-8" }, i("eds-icon-wrapper", { key: "051fa9c714d5c077d5d96ec9b92f8a744ec123bc", icon: this.copied ? "success" : "copy", onClick: () => this.copyToClipboard() })), i("span", { key: "707950ce89cb0c24b1afac42a8801d13659b6bab", class: "sr-only" }, "Copy Code")), this.language && i("pre", { key: "59923dd4c16cfecafffa2edaaac5ef7579c3f128", class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, i("code", { key: "8c708992c04029d71685ad8922383ecdda05ac3c", innerHTML: this.getHighlightedCode() })));
1312
3333
  }
1313
3334
  get el() {
1314
- return g(this);
3335
+ return y(this);
1315
3336
  }
1316
3337
  };
1317
- D.style = H;
1318
- const q = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}", R = q, B = class {
3338
+ Mn.style = qn;
3339
+ const Un = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}", Vn = Un, Gn = class {
1319
3340
  constructor(n) {
1320
- d(this, n), this.dropdown = h(this, "dropdown", 7), this.focusableItems = [], this.handleClick = () => {
3341
+ p(this, n), this.dropdown = S(this, "dropdown", 7), this.focusableItems = [], this.handleClick = () => {
1321
3342
  var e;
1322
- this.isOpen = !this.isOpen, this.isOpen ? (this.focusIndex = 0, this.focusItem()) : this.closeDropdown(), this.dropdown.emit({ expanded: this.isOpen }), f({
3343
+ this.isOpen = !this.isOpen, this.isOpen ? (this.focusIndex = 0, this.focusItem()) : this.closeDropdown(), this.dropdown.emit({ expanded: this.isOpen }), A({
1323
3344
  category: "ui-component",
1324
3345
  parentContext: null,
1325
3346
  tag: this.host.tagName.toLowerCase(),
@@ -1379,118 +3400,132 @@ const q = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-sh
1379
3400
  * @returns {JSX.Element} The rendered dropdown component.
1380
3401
  */
1381
3402
  render() {
1382
- return i("div", { key: "14f31163cc0fb25c3d531632ae36e01d8759567d", class: "z-focus relative", ref: (n) => this.dropdownContent = n }, i("eds-button", { key: "748413032b87b13290743f5bb9822cb84c1d0cf9", label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), i("nav", { key: "1a8f28c02b0782569228f75e030483439374baed", role: "menu", class: {
3403
+ return i("div", { key: "31e8b1fd4e146cbcad4d74bd78dff1cd1e1950bd", class: "z-focus relative", ref: (n) => this.dropdownContent = n }, i("eds-button", { key: "7021a0b0ff66780a324d7d9d1f6cff250ab64178", label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), i("nav", { key: "904fd2a7f727a8b3966eab6cf9ebdb0efa474ae0", role: "menu", class: {
1383
3404
  "shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8": !0,
1384
3405
  "left-4": this.dropdownPos === "left" && this.dropdownOffset,
1385
3406
  "left-0": this.dropdownPos === "left" && !this.dropdownOffset,
1386
3407
  "right-4": this.dropdownPos === "right" && this.dropdownOffset,
1387
3408
  "right-0": this.dropdownPos === "right" && !this.dropdownOffset,
1388
3409
  "rounded-lg": this.rounded
1389
- }, style: { display: this.isOpen ? "block" : "none" }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, i("slot", { key: "31189866f6e1779a5fd5e1b8f3c33d8a0074410b" })));
3410
+ }, style: { display: this.isOpen ? "block" : "none" }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, i("slot", { key: "b416621930c7117775fef2ee91bdca0f660302f5" })));
1390
3411
  }
1391
3412
  get host() {
1392
- return g(this);
3413
+ return y(this);
1393
3414
  }
1394
3415
  };
1395
- B.style = R;
1396
- function p(n, e, r, t, l, o, a) {
1397
- const s = [];
1398
- if (t && !e) {
1399
- const c = n.length > 30 ? `${n.slice(0, 27)}…` : n;
1400
- s.push(`“${c}” is required.`);
1401
- }
1402
- if (r === "number") {
1403
- const c = typeof e == "number" ? e : parseFloat(e);
1404
- isNaN(c) ? s.push(`${n} must be a valid number.`) : (typeof o == "number" && c < o && s.push(`${n} must be greater than or equal to ${o}.`), typeof a == "number" && c > a && s.push(`${n} must be less than or equal to ${a}.`));
1405
- }
1406
- return l && typeof e == "string" && e.length > l && s.push(`${n} must be at most ${l} characters.`), r === "email" && e && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.toString()) && s.push("Invalid email format."), s;
1407
- }
1408
- function v(n, e, r) {
1409
- const o = Array.from(r.querySelectorAll("eds-input-field")).filter((s) => {
1410
- var c, b;
1411
- return ((b = (c = s.shadowRoot) === null || c === void 0 ? void 0 : c.querySelectorAll(`input[name="${n}"]`)) === null || b === void 0 ? void 0 : b.length) > 0;
1412
- }).flatMap((s) => {
1413
- var c;
1414
- return Array.from(((c = s.shadowRoot) === null || c === void 0 ? void 0 : c.querySelectorAll(`input[name="${n}"]`)) || []);
1415
- }).some((s) => s.checked), a = [];
1416
- return e && !o && a.push(`At least one option in ${n} is required.`), a;
1417
- }
1418
- function w(n, e, r) {
1419
- var t;
1420
- const l = [], o = Array.from(r.querySelectorAll("eds-input-field")).find((s) => {
1421
- var c;
1422
- return (c = s.shadowRoot) === null || c === void 0 ? void 0 : c.querySelector(`[name="${n}"]`);
3416
+ Gn.style = Vn;
3417
+ function K(n, e, t, r, l, a, c) {
3418
+ const d = [];
3419
+ if (r && !e) {
3420
+ const b = n.length > 30 ? `${n.slice(0, 27)}…` : n;
3421
+ d.push(`“${b}” is required.`);
3422
+ }
3423
+ if (t === "number") {
3424
+ const b = typeof e == "number" ? e : parseFloat(e);
3425
+ isNaN(b) ? d.push(`${n} must be a valid number.`) : (typeof a == "number" && b < a && d.push(`${n} must be greater than or equal to ${a}.`), typeof c == "number" && b > c && d.push(`${n} must be less than or equal to ${c}.`));
3426
+ }
3427
+ return l && typeof e == "string" && e.length > l && d.push(`${n} must be at most ${l} characters.`), t === "email" && e && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.toString()) && d.push("Invalid email format."), d;
3428
+ }
3429
+ function on(n, e, t) {
3430
+ const a = Array.from(t.querySelectorAll("eds-input-field")).filter((d) => {
3431
+ var b, k;
3432
+ return ((k = (b = d.shadowRoot) === null || b === void 0 ? void 0 : b.querySelectorAll(`input[name="${n}"]`)) === null || k === void 0 ? void 0 : k.length) > 0;
3433
+ }).flatMap((d) => {
3434
+ var b;
3435
+ return Array.from(((b = d.shadowRoot) === null || b === void 0 ? void 0 : b.querySelectorAll(`input[name="${n}"]`)) || []);
3436
+ }).some((d) => d.checked), c = [];
3437
+ return e && !a && c.push(`At least one option in ${n} is required.`), c;
3438
+ }
3439
+ function an(n, e, t) {
3440
+ var r;
3441
+ const l = [], a = Array.from(t.querySelectorAll("eds-input-field")).find((d) => {
3442
+ var b;
3443
+ return (b = d.shadowRoot) === null || b === void 0 ? void 0 : b.querySelector(`[name="${n}"]`);
1423
3444
  });
1424
- if (!o)
3445
+ if (!a)
1425
3446
  return e && l.push(`${n} is required.`), l;
1426
- const a = (t = o.shadowRoot) === null || t === void 0 ? void 0 : t.querySelector(`[name="${n}"]`);
1427
- return e && a && !a.checked && l.push(`${n} is required.`), l;
1428
- }
1429
- function N(n, e) {
1430
- const r = Array.from(n.querySelectorAll("eds-input-field"));
1431
- for (const t of r)
1432
- if (t.shadowRoot) {
1433
- const l = t.shadowRoot.querySelector(`[name="${e}"]`);
3447
+ const c = (r = a.shadowRoot) === null || r === void 0 ? void 0 : r.querySelector(`[name="${n}"]`);
3448
+ return e && c && !c.checked && l.push(`${n} is required.`), l;
3449
+ }
3450
+ function Yn(n, e) {
3451
+ const t = Array.from(n.querySelectorAll("eds-input-field"));
3452
+ for (const r of t)
3453
+ if (r.shadowRoot) {
3454
+ const l = r.shadowRoot.querySelector(`[name="${e}"]`);
1434
3455
  if (l)
1435
3456
  return l;
1436
3457
  }
1437
3458
  return null;
1438
3459
  }
1439
- function M(n) {
3460
+ function Xn(n) {
1440
3461
  const e = Array.from(n.querySelectorAll("eds-rating"));
1441
- for (const r of e)
1442
- return r;
3462
+ for (const t of e)
3463
+ return t;
3464
+ return null;
3465
+ }
3466
+ function Kn(n) {
3467
+ const e = Array.from(n.querySelectorAll("eds-nps"));
3468
+ for (const t of e)
3469
+ return t;
1443
3470
  return null;
1444
3471
  }
1445
- function V(n, e, r, t) {
3472
+ function Zn(n, e, t, r) {
1446
3473
  const l = {};
1447
- let o = !1;
1448
- return n.forEach((a) => {
1449
- if (!t(a, r)) {
1450
- delete l[a.name];
3474
+ let a = !1;
3475
+ return n.forEach((c) => {
3476
+ var d;
3477
+ if (!r(c, t)) {
3478
+ delete l[c.name];
1451
3479
  return;
1452
3480
  }
1453
- if (a.type !== "hidden")
1454
- if ((a.type === "checkbox" || a.type === "radio") && !a.options) {
1455
- const s = w(a.name, a.required, e);
1456
- s.length > 0 && (l[a.name] = s, o = !0);
1457
- } else if (a.options && (a.type === "checkbox" || a.type === "radio")) {
1458
- const s = v(a.name, a.required, e);
1459
- s.length > 0 && (l[a.name] = s, o = !0);
1460
- } else if (a.type === "rating") {
1461
- const s = M(e);
1462
- if (s) {
1463
- const c = s.getAttribute("selected-rating"), b = c !== null ? parseInt(c, 10) : 0, u = p(a.name, b, a.type, a.required);
1464
- u.length > 0 && (l[a.name] = u, o = !0);
3481
+ if (c.type !== "hidden")
3482
+ if ((c.type === "checkbox" || c.type === "radio") && !c.options) {
3483
+ const b = an(c.name, c.required, e);
3484
+ b.length > 0 && (l[c.name] = b, a = !0);
3485
+ } else if (c.options && (c.type === "checkbox" || c.type === "radio")) {
3486
+ const b = on(c.name, c.required, e);
3487
+ b.length > 0 && (l[c.name] = b, a = !0);
3488
+ } else if (c.type === "rating") {
3489
+ const b = Xn(e);
3490
+ if (b) {
3491
+ const k = b.getAttribute("selected-rating"), L = k !== null ? parseInt(k, 10) : 0, T = K(c.name, L, c.type, c.required);
3492
+ T.length > 0 && (l[c.name] = T, a = !0);
1465
3493
  }
3494
+ } else if (c.type === "nps") {
3495
+ const b = Kn(e);
3496
+ if (b && b.shadowRoot) {
3497
+ const k = (d = b.shadowRoot.querySelector('div[role="radio"][aria-checked="true"] eds-button')) === null || d === void 0 ? void 0 : d.getAttribute("aria-label");
3498
+ (k !== null ? parseInt(k, 10) : null) === null && c.required && (l[c.name] = ["This field is required."], a = !0);
3499
+ } else c.required && (l[c.name] = ["This field is required."], a = !0);
3500
+ return;
1466
3501
  } else {
1467
- const s = N(e, a.name);
1468
- if (s) {
1469
- const c = s.value, b = p(a.name, c, a.type, a.required, a.maxlength, a.min, a.max);
1470
- b.length > 0 && (l[a.name] = b, o = !0);
3502
+ const b = Yn(e, c.name);
3503
+ if (b) {
3504
+ const k = b.value, L = K(c.name, k, c.type, c.required, c.maxlength, c.min, c.max);
3505
+ L.length > 0 && (l[c.name] = L, a = !0);
1471
3506
  }
1472
3507
  }
1473
- }), { errors: l, hasError: o };
3508
+ }), { errors: l, hasError: a };
1474
3509
  }
1475
- function U(n, e, r) {
1476
- return n.type === "checkbox" || n.type === "radio" ? n.options ? v(n.name, n.required, r) : w(n.name, n.required, r) : p(n.name, e, n.type, n.required, n.maxlength, n.min, n.max);
3510
+ function Jn(n, e, t) {
3511
+ return n.type === "checkbox" || n.type === "radio" ? n.options ? on(n.name, n.required, t) : an(n.name, n.required, t) : K(n.name, e, n.type, n.required, n.maxlength, n.min, n.max);
1477
3512
  }
1478
- function Y({
3513
+ function Qn({
1479
3514
  initData: n,
1480
3515
  parsedFields: e,
1481
- currentValues: r
3516
+ currentValues: t
1482
3517
  //formEl,
1483
3518
  //isFieldVisible
1484
3519
  }) {
1485
- const t = Object.assign({}, r);
3520
+ const r = Object.assign({}, t);
1486
3521
  return e.forEach((l) => {
1487
- const o = n[l.name];
1488
- o !== void 0 && (t[l.name] = o);
1489
- }), { updatedValues: t };
3522
+ const a = n[l.name];
3523
+ a !== void 0 && (r[l.name] = a);
3524
+ }), { updatedValues: r };
1490
3525
  }
1491
- const X = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}", G = X, J = class {
3526
+ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}", ee = ne, te = class {
1492
3527
  constructor(n) {
1493
- d(this, n), this.form = h(this, "form", 7), this.name = "eds-form", this.setFormUrl = !0, this.formBtn = !0, this.formBtnLabel = "Submit", this.errorMessage = "Some fields in your form are incorrect.", this.fields = [], this.groups = [], this.initData = {}, this.values = {}, this.isSubmitting = !1, this.hasError = !1, this.errors = {}, this.parsedFields = [], this.parsedGroups = [];
3528
+ p(this, n), this.form = S(this, "form", 7), this.name = "eds-form", this.setFormUrl = !0, this.formBtn = !0, this.formBtnLabel = "Submit", this.errorMessage = "Some fields in your form are incorrect.", this.fields = [], this.groups = [], this.initData = {}, this.values = {}, this.isSubmitting = !1, this.hasError = !1, this.errors = {}, this.parsedFields = [], this.parsedGroups = [];
1494
3529
  }
1495
3530
  async setData(n) {
1496
3531
  this.populateFormWithInitData(n);
@@ -1507,10 +3542,10 @@ const X = ".container{width:calc(var(--container-width, 100%) - (2 * var(--break
1507
3542
  return !!this.initData;
1508
3543
  }
1509
3544
  parseFields(n) {
1510
- this.parsedFields = x(n);
3545
+ this.parsedFields = R(n);
1511
3546
  }
1512
3547
  parseGroups(n) {
1513
- this.parsedGroups = x(n);
3548
+ this.parsedGroups = R(n);
1514
3549
  }
1515
3550
  emitContext(n) {
1516
3551
  const e = new CustomEvent("parentContext", {
@@ -1524,39 +3559,39 @@ const X = ".container{width:calc(var(--container-width, 100%) - (2 * var(--break
1524
3559
  isFieldVisible(n) {
1525
3560
  if (!n.condition)
1526
3561
  return !0;
1527
- const e = this.values[n.condition.field], r = n.condition.value;
1528
- return String(e) === String(r);
3562
+ const e = this.values[n.condition.field], t = n.condition.value;
3563
+ return String(e) === String(t);
1529
3564
  }
1530
3565
  validateForm() {
1531
- const { errors: n, hasError: e } = V(this.parsedFields, this.formEl, this.values, (r, t) => r.condition ? t[r.condition.field] === r.condition.value : !0);
3566
+ const { errors: n, hasError: e } = Zn(this.parsedFields, this.formEl, this.values, (t, r) => t.condition ? r[t.condition.field] === t.condition.value : !0);
1532
3567
  this.errors = n, this.hasError = e;
1533
3568
  }
1534
3569
  populateFormWithInitData(n) {
1535
- const { updatedValues: e } = Y({
3570
+ const { updatedValues: e } = Qn({
1536
3571
  initData: n,
1537
3572
  parsedFields: this.parsedFields,
1538
3573
  currentValues: this.values,
1539
3574
  formEl: this.formEl,
1540
- isFieldVisible: (r, t) => r.condition ? t[r.condition.field] === r.condition.value : !0
3575
+ isFieldVisible: (t, r) => t.condition ? r[t.condition.field] === t.condition.value : !0
1541
3576
  });
1542
3577
  this.values = e;
1543
3578
  }
1544
3579
  getFormData() {
1545
3580
  const n = new FormData();
1546
- return n.append("form_name", this.name), this.setFormUrl && typeof window < "u" && n.set("form_url", window.location.href), Array.from(this.formEl.querySelectorAll("eds-input-field")).forEach((r) => {
1547
- if (r.shadowRoot) {
1548
- const t = r.shadowRoot.querySelector("input, textarea, select");
1549
- if (t && t.name)
1550
- if (t.type === "checkbox" || t.type === "radio") {
1551
- const o = Array.from(r.shadowRoot.querySelectorAll(`input[name="${t.name}"]:checked`)).map((a) => a.value);
1552
- n.append(t.name, o.join(","));
1553
- } else if (t.type === "file") {
1554
- const l = t;
1555
- l.files && l.files.length > 0 && Array.from(l.files).forEach((o) => {
1556
- n.append(l.name, o);
3581
+ return n.append("form_name", this.name), this.setFormUrl && typeof window < "u" && n.set("form_url", window.location.href), Array.from(this.formEl.querySelectorAll("eds-input-field")).forEach((t) => {
3582
+ if (t.shadowRoot) {
3583
+ const r = t.shadowRoot.querySelector("input, textarea, select");
3584
+ if (r && r.name)
3585
+ if (r.type === "checkbox" || r.type === "radio") {
3586
+ const a = Array.from(t.shadowRoot.querySelectorAll(`input[name="${r.name}"]:checked`)).map((c) => c.value);
3587
+ n.append(r.name, a.join(","));
3588
+ } else if (r.type === "file") {
3589
+ const l = r;
3590
+ l.files && l.files.length > 0 && Array.from(l.files).forEach((a) => {
3591
+ n.append(l.name, a);
1557
3592
  });
1558
3593
  } else
1559
- n.append(t.name, t.value);
3594
+ n.append(r.name, r.value);
1560
3595
  }
1561
3596
  }), n;
1562
3597
  }
@@ -1567,46 +3602,57 @@ const X = ".container{width:calc(var(--container-width, 100%) - (2 * var(--break
1567
3602
  }), n;
1568
3603
  }
1569
3604
  handleChange(n, e) {
1570
- const r = n.target;
1571
- let t = r.value;
1572
- if (r.type === "checkbox") {
3605
+ const t = n.target;
3606
+ let r = t.value;
3607
+ if (t.type === "checkbox") {
1573
3608
  const l = this.values[e.name] || "";
1574
- let o = l ? l.split(",") : [];
1575
- r.checked ? o.includes(r.value) || o.push(r.value) : o = o.filter((a) => a !== r.value), t = o.join(",");
1576
- } else if (r.type === "radio") {
1577
- if (!r.checked)
3609
+ let a = l ? l.split(",") : [];
3610
+ t.checked ? a.includes(t.value) || a.push(t.value) : a = a.filter((c) => c !== t.value), r = a.join(",");
3611
+ } else if (t.type === "radio") {
3612
+ if (!t.checked)
1578
3613
  return;
1579
- t = r.value;
3614
+ r = t.value;
1580
3615
  }
1581
- this.values = Object.assign(Object.assign({}, this.values), { [e.name]: t }), e.name !== "password" && this.form.emit({
3616
+ this.values = Object.assign(Object.assign({}, this.values), { [e.name]: r }), e.name !== "password" && this.form.emit({
1582
3617
  event: "change",
1583
3618
  field: e.name,
1584
- value: t,
3619
+ value: r,
1585
3620
  message: `${e.name} updated`
1586
3621
  //data: this.makeFormData()
1587
3622
  });
1588
3623
  }
1589
3624
  handleInput(n, e) {
1590
- const r = n.target;
1591
- if (r.type === "radio" && !r.checked)
3625
+ const t = n.target;
3626
+ if (t.type === "radio" && !t.checked)
1592
3627
  return;
1593
- const t = r.value, l = Object.assign({}, this.errors), o = U(e, r.value, this.formEl);
1594
- o.length > 0 ? l[e.name] = o : delete l[e.name], this.errors = l, this.hasError = Object.keys(l).length > 0, this.form.emit({
3628
+ const r = t.value, l = Object.assign({}, this.errors), a = Jn(e, t.value, this.formEl);
3629
+ a.length > 0 ? l[e.name] = a : delete l[e.name], this.errors = l, this.hasError = Object.keys(l).length > 0, this.form.emit({
1595
3630
  event: "input",
1596
3631
  field: e.name,
1597
- value: t,
3632
+ value: r,
1598
3633
  message: `${e.name} updated`
1599
3634
  //data: this.makeFormData()
1600
3635
  });
1601
3636
  }
1602
3637
  handleRating(n, e) {
1603
- const r = n.detail;
1604
- this.values = Object.assign(Object.assign({}, this.values), { [e.name]: r });
1605
- const t = Object.assign({}, this.errors);
1606
- e.required && r === 0 ? t[e.name] = ["This field is required"] : delete t[e.name], this.errors = t, this.hasError = Object.keys(t).length > 0, this.form.emit({
3638
+ const t = n.detail;
3639
+ this.values = Object.assign(Object.assign({}, this.values), { [e.name]: t });
3640
+ const r = Object.assign({}, this.errors);
3641
+ e.required && t === 0 ? r[e.name] = ["This field is required"] : delete r[e.name], this.errors = r, this.hasError = Object.keys(r).length > 0, this.form.emit({
1607
3642
  event: "change",
1608
3643
  field: e.name,
1609
- value: r,
3644
+ value: t,
3645
+ message: `${e.name} updated`
3646
+ });
3647
+ }
3648
+ handleNPS(n, e) {
3649
+ const t = n.detail;
3650
+ this.values = Object.assign(Object.assign({}, this.values), { [e.name]: t });
3651
+ const r = Object.assign({}, this.errors);
3652
+ e.required && t === null ? r[e.name] = ["This field is required"] : delete r[e.name], this.errors = r, this.hasError = Object.keys(r).length > 0, this.form.emit({
3653
+ event: "change",
3654
+ field: e.name,
3655
+ value: t,
1610
3656
  message: `${e.name} updated`
1611
3657
  });
1612
3658
  }
@@ -1620,7 +3666,7 @@ const X = ".container{width:calc(var(--container-width, 100%) - (2 * var(--break
1620
3666
  success: !1,
1621
3667
  message: this.errorMessage
1622
3668
  //data: this.makeFormData()
1623
- }), f({
3669
+ }), A({
1624
3670
  category: "ui-component",
1625
3671
  parentContext: null,
1626
3672
  tag: this.el.tagName.toLowerCase(),
@@ -1635,7 +3681,7 @@ const X = ".container{width:calc(var(--container-width, 100%) - (2 * var(--break
1635
3681
  validated: !0,
1636
3682
  message: "Form data validated successfully"
1637
3683
  //data: this.getFormData()
1638
- }), f({
3684
+ }), A({
1639
3685
  category: "ui-component",
1640
3686
  parentContext: null,
1641
3687
  tag: this.el.tagName.toLowerCase(),
@@ -1647,29 +3693,30 @@ const X = ".container{width:calc(var(--container-width, 100%) - (2 * var(--break
1647
3693
  get groupedFields() {
1648
3694
  const n = {};
1649
3695
  return this.parsedGroups.forEach((e) => n[e.id] = []), n.__ungrouped = [], this.parsedFields.forEach((e) => {
1650
- const r = e.groupId || "__ungrouped";
1651
- n[r] || (n[r] = []), n[r].push(e);
3696
+ const t = e.groupId || "__ungrouped";
3697
+ n[t] || (n[t] = []), n[t].push(e);
1652
3698
  }), n;
1653
3699
  }
1654
3700
  renderField(n) {
1655
- var e, r;
3701
+ var e, t, r;
1656
3702
  if (!this.isFieldVisible(n))
1657
3703
  return null;
1658
3704
  if (n.type === "rating") {
1659
- const t = this.values[n.name] || 0;
1660
- return i("div", { class: "form-group rating-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `rating-${n.name}`, label: n.label, disabled: n.disabled, required: n.required })), i("eds-rating", { id: `rating-${n.name}`, "rating-type": n.ratingType, "rating-count": n.ratingCount, "selected-rating": t, onRating: (l) => this.handleRating(l, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name, message: n.message, "error-message": (e = this.errors[n.name]) === null || e === void 0 ? void 0 : e.join("<br/>"), error: !!this.errors[n.name], link: n.link })));
1661
- }
1662
- return i("eds-input-field", { key: n.name, name: n.name, label: n.label, placeholder: n.placeholder, type: n.type, value: this.values[n.name], required: n.required, hint: n.hint, message: n.message, error: !!this.errors[n.name], errorMessage: (r = this.errors[n.name]) === null || r === void 0 ? void 0 : r.join("<br/>"), options: n.options, onInput: (t) => this.handleInput(t, n), onChangeNative: (t) => this.handleChange(t, n) });
3705
+ const l = this.values[n.name] || 0;
3706
+ return i("div", { class: "form-group rating-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `rating-${n.name}`, label: n.label, disabled: n.disabled, required: n.required })), i("eds-rating", { id: `rating-${n.name}`, "rating-type": n.ratingType, "rating-count": n.ratingCount, "selected-rating": l, onRating: (a) => this.handleRating(a, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name, message: n.message, "error-message": (e = this.errors[n.name]) === null || e === void 0 ? void 0 : e.join("<br/>"), error: !!this.errors[n.name], link: n.link })));
3707
+ } else if (n.type === "nps")
3708
+ return i("div", { class: "form-group nps-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `nps-${n.name}`, label: n.question, disabled: n.disabled, required: n.required })), i("eds-nps", { id: `nps-${n.name}`, "right-label": n.rightLabel, "left-label": n.leftLabel, onNps: (l) => this.handleNPS(l, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name, message: n.message, "error-message": (t = this.errors[n.name]) === null || t === void 0 ? void 0 : t.join("<br/>"), error: !!this.errors[n.name], link: n.link })));
3709
+ return i("eds-input-field", { key: n.name, name: n.name, label: n.label, placeholder: n.placeholder, type: n.type, value: this.values[n.name], required: n.required, hint: n.hint, message: n.message, error: !!this.errors[n.name], errorMessage: (r = this.errors[n.name]) === null || r === void 0 ? void 0 : r.join("<br/>"), options: n.options, onInput: (l) => this.handleInput(l, n), onChangeNative: (l) => this.handleChange(l, n) });
1663
3710
  }
1664
3711
  async getData() {
1665
3712
  return this.makeFormData();
1666
3713
  }
1667
3714
  render() {
1668
- const n = this.parsedFields.filter((r) => r.type === "hidden"), e = this.groupedFields;
1669
- return i("form", { key: "65b3611bfc26512d594c3f4657bcba93f4e54ec9", ref: (r) => this.formEl = r, autocomplete: "on", onSubmit: this.handleSubmit }, i("div", { key: "24c77c04b83d458528fbb4423f2d1a0f0e7e65e3" }, i("slot", { key: "13cdf29e9da20c91d3fa38ced5f0843046cfeefb" }), n.map((r, t) => i("eds-input", { key: t, type: "hidden", name: r.name, value: r.value })), this.parsedGroups.filter((r) => Array.isArray(e[r.id]) && e[r.id].length > 0).map((r) => i("div", { class: "container mt-20", key: r.id }, i("span", { class: "f-body-02" }, i("b", null, r.title)), i("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, e[r.id].map((t) => this.renderField(t))))), i("div", { key: "99706c326e6e18a1099fef82e78a4ea383338fb4", class: "flex flex-col mt-20 gap-y-24" }, e.__ungrouped.map((r) => this.renderField(r)))), this.formBtn && i("div", { key: "6e66e2f87c18022d729fcea33e4db6bc2a173392", class: "mt-32" }, i("eds-button", { key: "a94a3e027f58c5276bec7e612987e738d74e7d1c", intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })));
3715
+ const n = this.parsedFields.filter((t) => t.type === "hidden"), e = this.groupedFields;
3716
+ return i("form", { key: "a66997f39b5be347a4d502f77bcd1da9d1a274ac", ref: (t) => this.formEl = t, autocomplete: "on", onSubmit: this.handleSubmit }, i("div", { key: "f8800d2ebe64b3279234ab8ebe20e535dc822872" }, i("slot", { key: "b4194073b281dec35a79a6cc974fdf7476a67807" }), n.map((t, r) => i("eds-input", { key: r, type: "hidden", name: t.name, value: t.value })), this.parsedGroups.filter((t) => Array.isArray(e[t.id]) && e[t.id].length > 0).map((t) => i("div", { class: "container mt-20", key: t.id }, i("span", { class: "f-body-02" }, i("b", null, t.title)), i("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, e[t.id].map((r) => this.renderField(r))))), i("div", { key: "2fc83ebb6b0a472f6853618602c37ee83adae9ff", class: "flex flex-col mt-20 gap-y-24" }, e.__ungrouped.map((t) => this.renderField(t)))), this.formBtn && i("div", { key: "91b569b1a4513945f3228c374ae45b52ea17f91d", class: "mt-32" }, i("eds-button", { key: "1a8feaecd5a7f292f8aeae3db900700b4f7fb8d4", intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })));
1670
3717
  }
1671
3718
  get el() {
1672
- return g(this);
3719
+ return y(this);
1673
3720
  }
1674
3721
  static get watchers() {
1675
3722
  return {
@@ -1678,10 +3725,10 @@ const X = ".container{width:calc(var(--container-width, 100%) - (2 * var(--break
1678
3725
  };
1679
3726
  }
1680
3727
  };
1681
- J.style = G;
1682
- const Q = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}", K = Q, Z = class {
3728
+ te.style = ee;
3729
+ const ie = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}", re = ie, le = class {
1683
3730
  constructor(n) {
1684
- d(this, n), this.toggleheadermenu = h(this, "toggleheadermenu", 7), this.homeUrl = "/", this.links = void 0, this.headerVariant = "default", this.menuEnabled = !1, this.isMenuOpen = !1, this.isUserMenuOpen = !1, this.isAuthenticated = !1;
3731
+ p(this, n), this.toggleheadermenu = S(this, "toggleheadermenu", 7), this.homeUrl = "/", this.links = void 0, this.headerVariant = "default", this.menuEnabled = !1, this.isMenuOpen = !1, this.isUserMenuOpen = !1, this.isAuthenticated = !1;
1685
3732
  }
1686
3733
  onAuthStatusChanged(n) {
1687
3734
  var e;
@@ -1703,24 +3750,24 @@ const Q = ".block{display:block}.inline-block{display:inline-block}.inline{displ
1703
3750
  this.isUserMenuOpen = !this.isUserMenuOpen;
1704
3751
  }
1705
3752
  get parsedLinks() {
1706
- return x(this.links);
3753
+ return R(this.links);
1707
3754
  }
1708
3755
  render() {
1709
3756
  const n = {
1710
3757
  default: "text-default bg-dark",
1711
3758
  inverse: "text-default bg-inverse",
1712
3759
  strong: "text-inverse bg-strongest"
1713
- }, e = n[this.headerVariant] || n.default, r = this.headerVariant === "strong" ? "color-white" : "color";
1714
- return i("header", { key: "aac532eed29a3d4b310ea2550521c95d562d0ece", class: `flex items-center justify-between relative z-10 ${e}` }, i("div", { key: "8794699aa3401c267aacb95959acd57f9ceea3f5", class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { key: "490fae1495ecd2b801b24d068c7a2b446ed8741a", type: r, href: this.homeUrl })), this.parsedLinks && i("nav", { key: "3e109d13e8ae8b911511f7cd067ffc193735121a", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, i("ul", { key: "87d2e7e9e1d8cafeac2a38b709f77c6bfe83a96d", class: "flex gap-x-2" }, this.parsedLinks.map((t) => i("eds-link", { label: t.label, "aria-label": t.label, url: t.url, intent: "ghost", size: "large", icon: t.icon, external: t.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))), i("slot", { key: "c61e952aeb210ec0f1df85dcd165a4af9bee2d35" }), this.menuEnabled && i("div", { key: "6838e9ee79eca023c58236d817524f1f0a0b60a5", class: "md:hidden flex overflow-hidden px-16" }, i("eds-button", { key: "1b5e7090df7021a145914a77c8bc7388a3218465", "aria-label": "Menu", intent: this.headerVariant === "default" ? "ghost" : "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })));
3760
+ }, e = n[this.headerVariant] || n.default, t = this.headerVariant === "strong" ? "color-white" : "color";
3761
+ return i("header", { key: "812ad4427cbb3f4b0ca9e305870c35d63487dc59", class: `flex items-center justify-between relative z-10 ${e}` }, i("div", { key: "531acdceb12ca45fea125091dee4d8a0ff39a10b", class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { key: "bb2708b3c8eacc575117bfed404b7c9db4fd05e2", type: t, href: this.homeUrl })), this.parsedLinks && i("nav", { key: "a80192d7666416c29025a1ac5812946f14feec3f", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, i("ul", { key: "fae258c468367837a9738bcbe2442709fdc601a0", class: "flex gap-x-2" }, this.parsedLinks.map((r) => i("eds-link", { label: r.label, "aria-label": r.label, url: r.url, intent: "ghost", size: "large", icon: r.icon, external: r.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))), i("slot", { key: "9588ef20e19fda76115074c39d902eebead3c845" }), this.menuEnabled && i("div", { key: "ce2e43645a1c33ca7d6495acd820ad0a93cefdf9", class: "md:hidden flex overflow-hidden px-16" }, i("eds-button", { key: "ed73c7e7a6544f60eea9dbf43379ffe4967c0dbd", "aria-label": "Menu", intent: this.headerVariant === "default" ? "ghost" : "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })));
1715
3762
  }
1716
3763
  get hostEl() {
1717
- return g(this);
3764
+ return y(this);
1718
3765
  }
1719
3766
  };
1720
- Z.style = K;
1721
- const ee = class {
3767
+ le.style = re;
3768
+ const mt = class {
1722
3769
  constructor(n) {
1723
- d(this, n), this.TagName = null, this.icon = "arrow-right", this.class = "", this.IconComponent = null;
3770
+ p(this, n), this.TagName = null, this.icon = "arrow-right", this.class = "", this.IconComponent = null;
1724
3771
  }
1725
3772
  componentWillLoad() {
1726
3773
  this.loadIconComponent(this.icon);
@@ -1744,7 +3791,7 @@ const ee = class {
1744
3791
  icon: ["iconChanged"]
1745
3792
  };
1746
3793
  }
1747
- }, nn = `/*
3794
+ }, oe = `/*
1748
3795
  1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
1749
3796
  2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
1750
3797
  This can trigger a poorly considered lint error in some tools but is included by design.
@@ -1826,9 +3873,9 @@ video {
1826
3873
 
1827
3874
  .opacity-100 {
1828
3875
  opacity: 1;
1829
- }`, en = nn, rn = class {
3876
+ }`, ae = oe, se = class {
1830
3877
  constructor(n) {
1831
- d(this, n), this.img = null, this.handleLoad = () => {
3878
+ p(this, n), this.img = null, this.handleLoad = () => {
1832
3879
  this.loaded = !0, this.showBg = !1;
1833
3880
  }, this.handleError = () => {
1834
3881
  this.loaded = !0, this.showBg = !1;
@@ -1841,25 +3888,25 @@ video {
1841
3888
  }
1842
3889
  render() {
1843
3890
  const n = {};
1844
- return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "d40662545cefe458d307c9877c4a8804c4fb7406", class: {
3891
+ return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "605bff5657ca79678517527a9462b31608e5af7a", class: {
1845
3892
  "items-center justify-center": !0,
1846
3893
  "effect-bg-pattern": this.lazyload && this.showBg
1847
- } }, i("picture", { key: "94c28d57611eec83eb7ed03620de4b2449dd665c" }, this.formats.map((e) => i("source", { type: e.type, srcSet: e.srcset, media: e.media, sizes: this.sizes })), i("img", Object.assign({ key: "d7b6e56937a19f558abb29bb1da2f04b945970c9", ref: (e) => this.img = e, class: {
3894
+ } }, i("picture", { key: "0d0def26688c1ec7214211d02875160965e2ce48" }, this.formats.map((e) => i("source", { type: e.type, srcSet: e.srcset, media: e.media, sizes: this.sizes })), i("img", Object.assign({ key: "c9c307a5fdf25d9792db2a76f4d08fcd27b50401", ref: (e) => this.img = e, class: {
1848
3895
  "effect-opacity object-cover object-center": !0,
1849
3896
  "opacity-100": this.loaded,
1850
3897
  "opacity-0": !this.loaded
1851
3898
  }, width: this.width, height: this.height, sizes: this.sizes, src: this.src, srcSet: this.srcset, alt: this.alt }, n, { onLoad: this.handleLoad, onError: this.handleError, onTransitionEnd: this.handleTransitionEnd }))));
1852
3899
  }
1853
3900
  get imgElement() {
1854
- return g(this);
3901
+ return y(this);
1855
3902
  }
1856
3903
  };
1857
- rn.style = en;
1858
- const ie = class {
3904
+ se.style = ae;
3905
+ const ut = class {
1859
3906
  constructor(n) {
1860
- d(this, n), this.handleInput = (e) => {
1861
- const r = e.target;
1862
- this.innerVal = r.value, this.maxLength && this.type === "textarea" && (this.maxLengthReached = r.value.length >= this.maxLength);
3907
+ p(this, n), this.handleInput = (e) => {
3908
+ const t = e.target;
3909
+ this.innerVal = t.value, this.maxLength && this.type === "textarea" && (this.maxLengthReached = t.value.length >= this.maxLength);
1863
3910
  }, this.name = void 0, this.inputId = void 0, this.placeholder = void 0, this.disabled = !1, this.hasMessage = !1, this.error = !1, this.checked = void 0, this.type = "text", this.required = !1, this.value = void 0, this.icon = void 0, this.maxLength = void 0, this.options = [], this.extraClass = void 0, this.min = void 0, this.max = void 0, this.step = void 0, this.innerVal = "", this.maxLengthReached = !1;
1864
3911
  }
1865
3912
  onValueChanged(n) {
@@ -1873,7 +3920,7 @@ const ie = class {
1873
3920
  }
1874
3921
  render() {
1875
3922
  const n = !!this.icon, e = this.hasMessage || this.error ? `${this.name}-error` : "";
1876
- return i("div", { key: "f48593b92f28da7f3ea3282ebd0db0f6767ee7b6", class: "relative flex items-center" }, this.type === "textarea" ? i("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${n ? "input-with-icon" : ""} ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }) : this.type === "select" ? i("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((r) => i("option", { value: r.value, selected: r.value === this.innerVal, key: r.value }, r.label))) : i("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ["radio", "checkbox"].includes(this.type) ? this.checked : void 0 }, this.type === "number" ? {
3923
+ return i("div", { key: "a26224d6345099df6bc5110d42b701980603f7f7", class: "relative flex items-center" }, this.type === "textarea" ? i("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${n ? "input-with-icon" : ""} ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }) : this.type === "select" ? i("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((t) => i("option", { value: t.value, selected: t.value === this.innerVal, key: t.value }, t.label))) : i("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ["radio", "checkbox"].includes(this.type) ? this.checked : void 0 }, this.type === "number" ? {
1877
3924
  min: this.min,
1878
3925
  max: this.max,
1879
3926
  step: this.step
@@ -1882,17 +3929,17 @@ const ie = class {
1882
3929
  input ${this.type === "radio" ? "input-radio" : this.type === "checkbox" ? "input-checkbox" : ""}
1883
3930
  ${n && this.type !== "radio" && this.type !== "checkbox" ? "input-icon pl-36" : ""}
1884
3931
  ${this.error ? "input-error" : ""}
1885
- `, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === "textarea" && i("span", { key: "0391698008d36d0726ca52f9f5e3ad21136a9edb", class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? "input-counter-error" : ""}` }, this.maxLength), this.icon && i("eds-icon-wrapper", { key: "dd4d8a5e02dd2557deef5441cbe29afdbea8a959", class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled, "text-lightest"}`, icon: this.icon }));
3932
+ `, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === "textarea" && i("span", { key: "beb48d08d18b5ca5b054b1b579e2f9527af222e9", class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? "input-counter-error" : ""}` }, this.maxLength), this.icon && i("eds-icon-wrapper", { key: "06948fe33c35c5830edd50a37411281865ef6d12", class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled, "text-lightest"}`, icon: this.icon }));
1886
3933
  }
1887
3934
  get el() {
1888
- return g(this);
3935
+ return y(this);
1889
3936
  }
1890
3937
  static get watchers() {
1891
3938
  return {
1892
3939
  value: ["onValueChanged"]
1893
3940
  };
1894
3941
  }
1895
- }, tn = `:root {
3942
+ }, de = `:root {
1896
3943
  font-optical-sizing: auto;
1897
3944
  }
1898
3945
  html,
@@ -9662,29 +11709,29 @@ input[type="range"]::-webkit-slider-thumb {
9662
11709
  }
9663
11710
  }
9664
11711
 
9665
- `, ln = tn, on = class {
11712
+ `, ce = de, ge = class {
9666
11713
  constructor(n) {
9667
- d(this, n), this.edsinput = h(this, "edsinput", 7), this.edschange = h(this, "edschange", 7), this.handleNativeInput = (e) => {
9668
- var r, t;
9669
- if ((r = this.onInput) === null || r === void 0 || r.call(this, e), this.shouldEmitValue()) {
11714
+ p(this, n), this.edsinput = S(this, "edsinput", 7), this.edschange = S(this, "edschange", 7), this.handleNativeInput = (e) => {
11715
+ var t, r;
11716
+ if ((t = this.onInput) === null || t === void 0 || t.call(this, e), this.shouldEmitValue()) {
9670
11717
  const l = e.target;
9671
- let o = l.value;
9672
- if (this.type === "checkbox" && ((t = this.parsedOptions) === null || t === void 0 ? void 0 : t.length) > 0) {
9673
- const a = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
9674
- o = Array.from(a).filter((s) => s.checked).map((s) => s.value);
9675
- } else this.type === "checkbox" ? o = l.checked : (this.type, o = l.value);
9676
- this.edsinput.emit({ value: o });
11718
+ let a = l.value;
11719
+ if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
11720
+ const c = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
11721
+ a = Array.from(c).filter((d) => d.checked).map((d) => d.value);
11722
+ } else this.type === "checkbox" ? a = l.checked : (this.type, a = l.value);
11723
+ this.edsinput.emit({ value: a });
9677
11724
  }
9678
11725
  }, this.handleNativeChange = (e) => {
9679
- var r, t;
9680
- if ((r = this.onChangeNative) === null || r === void 0 || r.call(this, e), this.shouldEmitValue()) {
11726
+ var t, r;
11727
+ if ((t = this.onChangeNative) === null || t === void 0 || t.call(this, e), this.shouldEmitValue()) {
9681
11728
  const l = e.target;
9682
- let o = l.value;
9683
- if (this.type === "checkbox" && ((t = this.parsedOptions) === null || t === void 0 ? void 0 : t.length) > 0) {
9684
- const a = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
9685
- o = Array.from(a).filter((s) => s.checked).map((s) => s.value);
9686
- } else this.type === "checkbox" ? o = l.checked : (this.type, o = l.value);
9687
- this.edschange.emit({ value: o });
11729
+ let a = l.value;
11730
+ if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
11731
+ const c = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
11732
+ a = Array.from(c).filter((d) => d.checked).map((d) => d.value);
11733
+ } else this.type === "checkbox" ? a = l.checked : (this.type, a = l.value);
11734
+ this.edschange.emit({ value: a });
9688
11735
  }
9689
11736
  }, this.name = void 0, this.inputId = void 0, this.placeholder = void 0, this.disabled = !1, this.required = !1, this.label = void 0, this.hint = void 0, this.icon = void 0, this.link = void 0, this.message = void 0, this.error = !1, this.checked = void 0, this.errorMessage = void 0, this.value = void 0, this.maxLength = void 0, this.min = void 0, this.max = void 0, this.step = void 0, this.options = void 0, this.type = "text", this.onChangeNative = void 0, this.onInput = void 0, this.exposeValueEvents = !0;
9690
11737
  }
@@ -9704,8 +11751,8 @@ input[type="range"]::-webkit-slider-thumb {
9704
11751
  }
9705
11752
  render() {
9706
11753
  const n = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, this.type === "number" ? { min: this.min, max: this.max, step: this.step } : {});
9707
- return i("div", { key: "bf31e95b0fad54062686ae178af0d6b552d04654" }, this.type === "checkbox" || this.type === "radio" ? this.parsedOptions.length > 0 ? i("fieldset", { class: "space-y-4 mt-8" }, i("div", { class: "flex justify-between" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.parsedOptions.map((e) => i("div", { class: "flex items-center gap-x-4 gap-y-4", key: e.value }, i("eds-input", Object.assign({}, n, { value: e.value, checked: typeof this.value == "string" && this.value.split(",").includes(String(e.value)) })), i("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? "text-lighter" : ""}` }, e.label)))) : i("div", { class: "flex items-center gap-x-8" }, i("eds-input", Object.assign({}, n, { value: this.value, checked: this.value === "on" || this.checked })), this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })) : i("div", null, i("div", { class: "flex justify-between" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.type === "select" ? i("eds-input-select", Object.assign({}, n, { options: this.parsedOptions })) : this.type === "file" ? i("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required }) : this.type === "search" ? i("eds-input-search", { name: "search-box" }) : this.type === "range" ? (() => {
9708
- var e, r, t;
11754
+ return i("div", { key: "615165ebb5980d2da414ad4028e053b46358eb4e" }, this.type === "checkbox" || this.type === "radio" ? this.parsedOptions.length > 0 ? i("fieldset", { class: "space-y-4 mt-8" }, i("div", { class: "flex justify-between" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.parsedOptions.map((e) => i("div", { class: "flex items-center gap-x-4 gap-y-4", key: e.value }, i("eds-input", Object.assign({}, n, { value: e.value, checked: typeof this.value == "string" && this.value.split(",").includes(String(e.value)) })), i("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? "text-lighter" : ""}` }, e.label)))) : i("div", { class: "flex items-center gap-x-8" }, i("eds-input", Object.assign({}, n, { value: this.value, checked: this.value === "on" || this.checked })), this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })) : i("div", null, i("div", { class: "flex justify-between" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.type === "select" ? i("eds-input-select", Object.assign({}, n, { options: this.parsedOptions })) : this.type === "file" ? i("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required }) : this.type === "search" ? i("eds-input-search", { name: "search-box" }) : this.type === "range" ? (() => {
11755
+ var e, t, r;
9709
11756
  const l = {
9710
11757
  name: n.name,
9711
11758
  inputId: n.id || n.name,
@@ -9713,41 +11760,44 @@ input[type="range"]::-webkit-slider-thumb {
9713
11760
  required: n.required,
9714
11761
  onInput: n.onInput,
9715
11762
  onChange: n.onChange
9716
- }, o = this.parsedOptions, a = typeof this.value == "string" ? parseFloat(this.value) : this.value || 0;
9717
- return i("eds-input-range", Object.assign({}, l, { min: (e = o[0]) === null || e === void 0 ? void 0 : e.value, max: (r = o[1]) === null || r === void 0 ? void 0 : r.value, step: (t = o[2]) === null || t === void 0 ? void 0 : t.value, value: a }));
9718
- })() : i("eds-input", Object.assign({}, n))), i("div", { key: "b47668a883a11da148a38a063ecf573e79a6d714", class: "mt-6" }, i("eds-input-footer", { key: "2c25baf0474a573f143b17bcaa19826fdc94dd7f", id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
11763
+ }, a = this.parsedOptions, c = typeof this.value == "string" ? parseFloat(this.value) : this.value || 0;
11764
+ return i("eds-input-range", Object.assign({}, l, { min: (e = a[0]) === null || e === void 0 ? void 0 : e.value, max: (t = a[1]) === null || t === void 0 ? void 0 : t.value, step: (r = a[2]) === null || r === void 0 ? void 0 : r.value, value: c }));
11765
+ })() : i("eds-input", Object.assign({}, n))), i("div", { key: "4ca8edfb4538caab53e89f16008683aea28adfbc", class: "mt-6" }, i("eds-input-footer", { key: "68053a16f607a277a5c806f3c830b24acf3b1f50", id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
11766
+ }
11767
+ static get delegatesFocus() {
11768
+ return !0;
9719
11769
  }
9720
11770
  get hostEl() {
9721
- return g(this);
11771
+ return y(this);
9722
11772
  }
9723
11773
  };
9724
- on.style = ln;
9725
- const an = "p{margin:0}.text-error{color:var(--red-700)}.flex{display:flex}.items-center{align-items:center}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.ml-4{margin-left:0.25rem}.mb-4{margin-bottom:0.25rem}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.text-lighter{color:var(--grey-600)}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:text-lighter:hover{color:var(--grey-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}", sn = an, dn = class {
11774
+ ge.style = ce;
11775
+ const he = "p{margin:0}.text-error{color:var(--red-700)}.flex{display:flex}.items-center{align-items:center}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.ml-4{margin-left:0.25rem}.mb-4{margin-bottom:0.25rem}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.text-lighter{color:var(--grey-600)}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:text-lighter:hover{color:var(--grey-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}", fe = he, be = class {
9726
11776
  constructor(n) {
9727
- d(this, n), this.name = void 0, this.errorMessage = void 0, this.message = void 0, this.error = !1, this.link = void 0;
11777
+ p(this, n), this.name = void 0, this.errorMessage = void 0, this.message = void 0, this.error = !1, this.link = void 0;
9728
11778
  }
9729
11779
  render() {
9730
- return i("div", { key: "08cb0dc972b0aee37260b5e606a4b162afa9100b" }, this.error && this.errorMessage && i("div", { key: "5346af03e591f3ca2338979dc74a0b65fe2f93ba", id: `error_${this.name}`, class: "text-error flex items-center" }, i("eds-icon-wrapper", { key: "072103ec3061a16992672ee92d20249dc1704e0e", icon: "warning" }), i("p", { key: "19f62274acb91ca32e5f9ee7247b27d5a63a95b7", class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage })), this.message && i("p", { key: "e6c97c6dca2c5a7a1e62f56f2d74560861399553", id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && i("a", { key: "528475a848b5fada0acc47dc4aa2e03b0b6e1872", href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label));
11780
+ return i("div", { key: "58bce34f2ec417696ba03d6c8c0c77fa1d900f9a" }, this.error && this.errorMessage && i("div", { key: "be14dc0f6e9494c1ee436fd8f822112eab6d2ce2", id: `error_${this.name}`, class: "text-error flex items-center" }, i("eds-icon-wrapper", { key: "aaa2010441b0bfe9445e4b6401115b29606ac507", icon: "warning" }), i("p", { key: "277ac1de538e873c7da9b592e60dfd276738025d", class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage })), this.message && i("p", { key: "4f07c6efe398bb002322a35279e68b237eac860e", id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && i("a", { key: "50d042530985eeafd7334b0bb38fd2c14aed0e3f", href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label));
9731
11781
  }
9732
11782
  };
9733
- dn.style = sn;
9734
- const cn = ".input-label{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.input-label b,.input-label strong{font-weight:var(--f-ui-02---bold-weight, bold)}.text-lighter{color:var(--grey-600)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}", gn = cn, hn = class {
11783
+ be.style = fe;
11784
+ const me = ".input-label{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.input-label b,.input-label strong{font-weight:var(--f-ui-02---bold-weight, bold)}.text-lighter{color:var(--grey-600)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}", ue = me, xe = class {
9735
11785
  constructor(n) {
9736
- d(this, n), this.label = void 0, this.name = void 0, this.required = !1, this.disabled = !1;
11786
+ p(this, n), this.label = void 0, this.name = void 0, this.required = !1, this.disabled = !1;
9737
11787
  }
9738
11788
  render() {
9739
- return i("label", { key: "a5ecc454f7d0398d8bf265fb36ac903af4b15c4a", htmlFor: this.name, class: `input-label ${this.disabled ? "text-lighter" : ""}` }, this.label, this.required && i("span", { key: "f6b710dcfe91623d048a95853097f963510ebb13" }, i("span", { key: "e903f319f01b3592ca2ea8bbd5dbf83765942603", "aria-hidden": "true" }, "*"), i("span", { key: "4548229f02d0753855a0b58944e89ff4fe40665a", class: "sr-only" }, "required")));
11789
+ return i("label", { key: "622cd7e26774448ca86c1168d0a287d7b61d3e29", htmlFor: this.name, class: `input-label ${this.disabled ? "text-lighter" : ""}` }, this.label, this.required && i("span", { key: "c3162e765af70dd972e3cd0ca360cd3f52003f76" }, i("span", { key: "5bca5243c95399fefff4fa21b6c1477a287a3cb4", "aria-hidden": "true" }, "*"), i("span", { key: "bc1c229ac387161e4aa314498dbbc77fbab62955", class: "sr-only" }, "required")));
9740
11790
  }
9741
11791
  };
9742
- hn.style = gn;
9743
- const re = class {
11792
+ xe.style = ue;
11793
+ const xt = class {
9744
11794
  constructor(n) {
9745
- d(this, n), this.edsrange = h(this, "edsrange", 7), this.onInput = (e) => {
9746
- const r = e.target;
9747
- this.sliderVal = parseInt(r.value, 10);
11795
+ p(this, n), this.edsrange = S(this, "edsrange", 7), this.onInput = (e) => {
11796
+ const t = e.target;
11797
+ this.sliderVal = parseInt(t.value, 10);
9748
11798
  }, this.onChange = (e) => {
9749
- const r = e.target;
9750
- this.sliderVal = parseInt(r.value, 10), this.edsrange.emit(this.sliderVal);
11799
+ const t = e.target;
11800
+ this.sliderVal = parseInt(t.value, 10), this.edsrange.emit(this.sliderVal);
9751
11801
  }, this.name = void 0, this.inputId = "range", this.disabled = !1, this.required = !1, this.min = 0, this.max = 100, this.step = 1, this.value = void 0, this.sliderVal = void 0;
9752
11802
  }
9753
11803
  componentWillLoad() {
@@ -9764,25 +11814,25 @@ const re = class {
9764
11814
  return this.inputElement;
9765
11815
  }
9766
11816
  render() {
9767
- return i("div", { key: "d17d2e14f9c851c2c4b003ac36bae62240bc16d0", class: "relative flex flex-col items-start space-y-2" }, i("input", { key: "dccfa98f53c6283a09de624f32cc34aea2fafbfa", id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), i("p", { key: "6064aa1f5bfbfc0e925dfec32ee727c5e530226a", id: `desc_${this.name}`, class: "block f-ui-05 text-lighter" }, "Current value: ", this.sliderVal));
11817
+ return i("div", { key: "51c9adb300d50eecb48de1547c0a0475692aa97b", class: "relative flex flex-col items-start" }, i("input", { key: "65ac18497d2a4307d7f5161951b87bb38cdad892", id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", tabindex: "0", role: "slider", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), i("p", { key: "9b717fce31d2340f3b4bc4b5583e6b1e7764314f", id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal));
9768
11818
  }
9769
11819
  get el() {
9770
- return g(this);
11820
+ return y(this);
9771
11821
  }
9772
11822
  static get watchers() {
9773
11823
  return {
9774
11824
  value: ["onValueChange"]
9775
11825
  };
9776
11826
  }
9777
- }, te = class {
11827
+ }, pt = class {
9778
11828
  constructor(n) {
9779
- d(this, n), this.search = h(this, "search", 7), this.keydownListener = (e) => {
11829
+ p(this, n), this.search = S(this, "search", 7), this.keydownListener = (e) => {
9780
11830
  (e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k" && (e.preventDefault(), this.inputElement && !this.disabled && this.inputElement.focus());
9781
11831
  }, this.onChange = (e) => {
9782
11832
  this.search.emit({
9783
11833
  event: "change",
9784
11834
  value: e.target.value
9785
- }), f({
11835
+ }), A({
9786
11836
  category: "ui-component",
9787
11837
  parentContext: null,
9788
11838
  tag: this.el.tagName.toLowerCase(),
@@ -9801,8 +11851,8 @@ const re = class {
9801
11851
  return this.inputElement;
9802
11852
  }
9803
11853
  render() {
9804
- return i("div", { key: "1084e1dad411bccc4b89fb61be91fbdaefedbe16", class: "relative flex items-center" }, i("eds-icon-wrapper", { key: "eaca5c71cf018cd95ba6debddcbbfa1457a32584", icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), i("input", {
9805
- key: "e0e888a6518abfb5f5b2a50fb89e2cec4c7ca78c",
11854
+ return i("div", { key: "40f0faa26610671e0a89055e5a51fb17ab17c470", class: "relative flex items-center" }, i("eds-icon-wrapper", { key: "910f6681ae719608c6f2787de4b3871742dd290a", icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), i("input", {
11855
+ key: "77534918bd9f2bcd4014e5b201a4f7eb2c0753b4",
9806
11856
  id: this.inputId || this.name,
9807
11857
  name: this.name,
9808
11858
  placeholder: this.placeholder,
@@ -9817,25 +11867,25 @@ const re = class {
9817
11867
  }));
9818
11868
  }
9819
11869
  get el() {
9820
- return g(this);
11870
+ return y(this);
9821
11871
  }
9822
- }, le = class {
11872
+ }, yt = class {
9823
11873
  constructor(n) {
9824
- d(this, n), this.edsselect = h(this, "edsselect", 7), this.handleChange = (e) => {
9825
- const r = e.target;
9826
- this.edsselect.emit(r.value);
11874
+ p(this, n), this.edsselect = S(this, "edsselect", 7), this.handleChange = (e) => {
11875
+ const t = e.target;
11876
+ this.edsselect.emit(t.value);
9827
11877
  }, this.inputId = void 0, this.name = void 0, this.placeholder = void 0, this.disabled = !1, this.hasMessage = !1, this.error = !1, this.required = !1, this.options = [], this.value = void 0;
9828
11878
  }
9829
11879
  render() {
9830
- const n = this.inputId || this.name, e = this.placeholder || "Pick from the list", r = this.hasMessage || this.error ? `${this.name}-error` : void 0;
9831
- return i("div", { key: "8b02195c9cb94edae54d0eaeffc1d5985638e705", class: "relative" }, i("select", { key: "ab86f95d44a22492309e39ea4ed299c7da5460f7", id: n, name: this.name, class: {
11880
+ const n = this.inputId || this.name, e = this.placeholder || "Pick from the list", t = this.hasMessage || this.error ? `${this.name}-error` : void 0;
11881
+ return i("div", { key: "f154a5f34a0d09cf6a02e24f13ed9af46532c76c", class: "relative" }, i("select", { key: "0982936337bcbec3e2b81f7edc1436506841c782", id: n, name: this.name, class: {
9832
11882
  input: !0,
9833
11883
  "input-error": this.error,
9834
11884
  "px-4": !0,
9835
11885
  "py-2": !0
9836
- }, "aria-invalid": this.error ? "true" : "false", "aria-describedby": r, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "285f9e5be9f469b21fa13c869e998fdaea4e33ad", value: "", disabled: !0, hidden: !0 }, e), this.options.map((t, l) => i("option", { key: l, value: t.value, selected: t.value === this.value }, t.label))), i("span", { key: "0fced74f55c6da75e7f1aa3251fa59e8147e666f", class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, i("eds-icon-wrapper", { key: "70e964580e89d001eb3537038f4e6a28ecba5840", class: "w-20 h-20", icon: "chevron-right" })));
11886
+ }, "aria-invalid": this.error ? "true" : "false", "aria-describedby": t, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "7656fa514dec6b8b05bbb8d02636bf5e2ee8d213", value: "", disabled: !0, hidden: !0 }, e), this.options.map((r, l) => i("option", { key: l, value: r.value, selected: r.value === this.value }, r.label))), i("span", { key: "8464aa5ef3eab675f493b582736c25a7edd88224", class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, i("eds-icon-wrapper", { key: "092271b13e4d496a85c55fbb5f1756805cd5d3de", class: "w-20 h-20", icon: "chevron-right" })));
9837
11887
  }
9838
- }, fn = `*,
11888
+ }, pe = `*,
9839
11889
  ::before,
9840
11890
  ::after {
9841
11891
  box-sizing: border-box;
@@ -11072,7 +13122,7 @@ Make sure disabled buttons don't get the pointer cursor.
11072
13122
  .lg\\:flex {
11073
13123
  display: flex;
11074
13124
  }
11075
- }`, bn = fn, xn = m([
13125
+ }`, ye = pe, ve = N([
11076
13126
  "relative inline-flex justify-center items-center py-8 rounded-sm",
11077
13127
  "effect-color effect-focus aria-disabled:text-lightest",
11078
13128
  "cursor-pointer",
@@ -11197,60 +13247,63 @@ Make sure disabled buttons don't get the pointer cursor.
11197
13247
  size: "small",
11198
13248
  hasIcon: !1
11199
13249
  }
11200
- }), mn = class {
13250
+ }), we = class {
11201
13251
  constructor(n) {
11202
- d(this, n), this.parentContext = null, this.label = void 0, this.intent = void 0, this.icon = void 0, this.iconPos = "right", this.iconSmall = !1, this.size = "small", this.external = !1, this.current = !1, this.download = !1, this.url = void 0, this.ariaLabel = void 0, this.disabled = !1, this.hideLabelOnSmallScreen = !1, this.extraClass = void 0;
13252
+ p(this, n), this.parentContext = null, this.label = void 0, this.intent = void 0, this.icon = void 0, this.iconPos = "right", this.iconSmall = !1, this.size = "small", this.external = !1, this.current = !1, this.download = !1, this.url = void 0, this.ariaLabel = void 0, this.disabled = !1, this.hideLabelOnSmallScreen = !1, this.extraClass = void 0;
11203
13253
  }
11204
13254
  handleParentContext(n) {
11205
13255
  n.target === this.el && (this.parentContext = n.detail, n.stopPropagation());
11206
13256
  }
11207
13257
  handleClick(n) {
11208
- var e, r;
13258
+ var e, t;
11209
13259
  if (this.disabled) {
11210
13260
  n.preventDefault();
11211
13261
  return;
11212
13262
  }
11213
- f({
13263
+ A({
11214
13264
  category: "ui-component",
11215
13265
  parentContext: this.parentContext,
11216
13266
  tag: this.el.tagName.toLowerCase(),
11217
- name: ((e = this.label) === null || e === void 0 ? void 0 : e.toLowerCase()) || ((r = this.ariaLabel) === null || r === void 0 ? void 0 : r.toLowerCase()) || "",
13267
+ name: ((e = this.label) === null || e === void 0 ? void 0 : e.toLowerCase()) || ((t = this.ariaLabel) === null || t === void 0 ? void 0 : t.toLowerCase()) || "",
11218
13268
  action: "click"
11219
13269
  });
11220
13270
  }
13271
+ handleKeyDown(n) {
13272
+ this.disabled || (n.key === "Enter" || n.key === " ") && (n.preventDefault(), this.handleClick(n), this.url && !this.disabled && (this.external ? window.open(this.url, "_blank", "noopener,noreferrer") : window.location.href = this.url));
13273
+ }
11221
13274
  getLinkSize() {
11222
- return this.size;
13275
+ return this.intent === "underline" ? "underline" : this.size;
11223
13276
  }
11224
13277
  renderLeftIcon() {
11225
- return this.icon && this.iconPos === "left" ? i("span", { class: !this.external && !this.label ? "" : "flex" }, i("eds-icon-wrapper", { class: `
13278
+ return this.icon && this.iconPos === "left" ? i("span", { class: "flex" }, i("eds-icon-wrapper", { "aria-hidden": "true", class: `
11226
13279
  flex inline-flex items-center justify-center
11227
13280
  ${this.size === "large" ? "h-24 w-24" : "h-20 w-20"}
11228
13281
  `, icon: this.icon })) : null;
11229
13282
  }
11230
13283
  renderRightIcon() {
11231
- return this.icon && this.iconPos === "right" ? i("span", { class: !this.external && !this.label ? "" : "flex" }, i("eds-icon-wrapper", { class: `
13284
+ return this.icon && this.iconPos === "right" ? i("span", { class: "flex" }, i("eds-icon-wrapper", { "aria-hidden": "true", class: `
11232
13285
  flex inline-flex items-center justify-center
11233
13286
  ${this.size === "large" ? "h-24 w-24" : "h-20 w-20"}
11234
13287
  `, icon: this.icon })) : null;
11235
13288
  }
11236
13289
  render() {
11237
- const n = this.disabled ? "span" : "a", e = xn({
13290
+ const n = ve({
11238
13291
  intent: this.intent,
11239
13292
  size: this.getLinkSize(),
11240
13293
  iconSmall: this.iconSmall,
11241
13294
  isActive: this.current,
11242
13295
  hasIcon: !!this.icon
11243
- }), r = this.ariaLabel || this.label || "link", t = this.hideLabelOnSmallScreen ? "hidden lg:flex" : "";
11244
- return i(n, { key: "19e7d05290f3dda2cc4e821c5625f7dd82198dcd", class: `${e || ""} ${this.extraClass || ""}`, href: this.disabled ? void 0 : this.url, target: this.external && !this.disabled ? "_blank" : void 0, rel: this.external && !this.disabled ? "noopener noreferrer" : void 0, "aria-label": r, "aria-disabled": this.disabled ? "true" : null, "aria-current": this.current ? "page" : void 0, download: this.download ? "" : void 0, onClick: (l) => this.handleClick(l) }, i("span", { key: "36ce6891c07cf6e37acef3e6fecd3e96bcaa0312", class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), i("span", { key: "2455011e19a98939aec59768f09ae310ad03692b", class: t }, this.label), this.renderRightIcon()));
13296
+ }), e = !this.disabled, t = !this.label || this.hideLabelOnSmallScreen && this.icon, r = this.hideLabelOnSmallScreen ? "hidden lg:flex" : "";
13297
+ return i("a", { key: "929b7318ec6475113125e40d789476df76e59e38", class: `${n || ""} ${this.extraClass || ""}`, href: e ? this.url : void 0, target: this.external && e ? "_blank" : void 0, rel: this.external && e ? "noopener noreferrer" : void 0, tabIndex: e ? 0 : -1, "aria-label": t ? this.ariaLabel || "Link" : void 0, "aria-disabled": this.disabled ? "true" : void 0, "aria-current": this.current ? "page" : void 0, role: this.disabled ? "link" : void 0, download: this.download ? "" : void 0, onClick: (l) => this.handleClick(l), onKeyDown: (l) => this.handleKeyDown(l) }, i("span", { key: "4b965dcb07ebca43577b0dcd9f2d11495caa761a", class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && i("span", { key: "a4327fe130fb8c3962096eff3415ad62e19230f4", class: r }, this.label), this.renderRightIcon()));
11245
13298
  }
11246
13299
  get el() {
11247
- return g(this);
13300
+ return y(this);
11248
13301
  }
11249
13302
  };
11250
- mn.style = bn;
11251
- const pn = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{color:currentColor}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}@media (min-width: 900px){.lg\\:w-\\[150px\\]{width:150px}}", un = pn, yn = class {
13303
+ we.style = ye;
13304
+ const ke = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{color:currentColor}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}@media (min-width: 900px){.lg\\:w-\\[150px\\]{width:150px}}", Se = ke, Ce = class {
11252
13305
  constructor(n) {
11253
- d(this, n), this.href = "/", this.orientation = "horizontal", this.type = void 0, this.label = "Home";
13306
+ p(this, n), this.href = "/", this.orientation = "horizontal", this.type = void 0, this.label = "Home";
11254
13307
  }
11255
13308
  /**
11256
13309
  * Handles the click event on the logo link.
@@ -11261,7 +13314,7 @@ const pn = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
11261
13314
  * - `action`: The action, set as "click".
11262
13315
  */
11263
13316
  handleClick() {
11264
- f({
13317
+ A({
11265
13318
  category: "ui-component",
11266
13319
  tag: this.el.tagName.toLowerCase(),
11267
13320
  name: "logo",
@@ -11274,50 +13327,214 @@ const pn = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
11274
13327
  getLogo() {
11275
13328
  const e = {
11276
13329
  horizontal: {
11277
- color: y,
11278
- black: k,
11279
- "color-white": z,
11280
- white: C,
11281
- "no-bg": S
13330
+ color: tn,
13331
+ black: bn,
13332
+ "color-white": mn,
13333
+ white: un,
13334
+ "no-bg": xn
11282
13335
  },
11283
13336
  vertical: {
11284
- color: E,
11285
- black: F,
11286
- "color-white": L,
11287
- white: I,
11288
- "no-bg": A
13337
+ color: pn,
13338
+ black: yn,
13339
+ "color-white": vn,
13340
+ white: wn,
13341
+ "no-bg": kn
11289
13342
  }
11290
13343
  }[this.orientation];
11291
13344
  if (!e)
11292
- return y;
11293
- const r = e[this.type];
11294
- return r || e.color;
13345
+ return tn;
13346
+ const t = e[this.type];
13347
+ return t || e.color;
11295
13348
  }
11296
13349
  render() {
11297
13350
  const n = this.getLogo();
11298
- return i("a", { key: "717ea23a3d9156fd59abb808c3175194b6973d6b", href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, i("div", { key: "794768d57ee14767a0475d949c24fafaa28bc924", innerHTML: n }));
13351
+ return i("a", { key: "fff2a45eb8b41f59026ff7033824484339e3c0a9", href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, i("div", { key: "bc13988a739af1c94d5eadbabf558cbbb10927b8", innerHTML: n }));
13352
+ }
13353
+ get el() {
13354
+ return y(this);
13355
+ }
13356
+ };
13357
+ Ce.style = Se;
13358
+ const Ee = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%}.bottom-0{bottom:0rem}.bottom-4{bottom:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.z-10{z-index:10}.z-\\[999999\\]{z-index:999999}.left-0{left:0rem}.left-1\\/2{left:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex{display:flex}.gap-12{gap:0.75rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}", ze = Ee, Fe = class {
13359
+ constructor(n) {
13360
+ p(this, n), this.consent = S(this, "consent", 7), this.heading = "Analytics Consent", this.description = "We use anonymous analytics to improve our services. No data is collected unless you give your consent. If you don't wish to send data right now, you can always re-enable analytics later by clicking the Cookies Preference button in the footer. However, by opting in today, you're joining a community that shapes our product's future—all while keeping your data completely anonymous.", this.optOutMessage = "You are already part of our community, and your anonymous data helps shape our product's future! Rest assured, your privacy is fully protected.", this.forceShow = !1, this.showNotice = !0;
13361
+ }
13362
+ /**
13363
+ * Listens for global custom events to open the matomo-consent.
13364
+ */
13365
+ toggleCookiesConsent() {
13366
+ this.showNotice = !this.showNotice;
13367
+ }
13368
+ /**
13369
+ * Checks if the consent cookie exists.
13370
+ */
13371
+ hasCookieConsent() {
13372
+ return !!document.cookie.split("; ").find((n) => n.startsWith("mtm_consent="));
13373
+ }
13374
+ /**
13375
+ * Checks if the user has opted out after has opted in.
13376
+ */
13377
+ optedOut() {
13378
+ return !!document.cookie.split("; ").find((n) => n.startsWith("mtm_consent_removed"));
13379
+ }
13380
+ /**
13381
+ * Generate a unique storage key based on appId or the app's domain.
13382
+ */
13383
+ getStorageKey() {
13384
+ return `${window.location.host}-matomo-deferred`;
13385
+ }
13386
+ /**
13387
+ * Check cookies and sessionStorage (unless forceShow is true) to decide if the notice should be shown.
13388
+ */
13389
+ componentWillLoad() {
13390
+ if (localStorage.getItem(`${window.location.host}-matomo-consent-given`) === "out" || this.optedOut()) {
13391
+ this.showNotice = !1;
13392
+ return;
13393
+ }
13394
+ if (this.forceShow)
13395
+ this.showNotice = !0;
13396
+ else if (this.hasCookieConsent())
13397
+ this.showNotice = !1;
13398
+ else {
13399
+ const e = sessionStorage.getItem(this.getStorageKey());
13400
+ this.showNotice = !e;
13401
+ }
13402
+ }
13403
+ componentDidLoad() {
13404
+ this.el.shadowRoot.querySelectorAll("eds-button").forEach((e) => {
13405
+ this.emitContext(e);
13406
+ });
13407
+ }
13408
+ emitContext(n) {
13409
+ const e = new CustomEvent("parentContext", {
13410
+ detail: {
13411
+ componentName: this.el.tagName.toLowerCase(),
13412
+ identifier: null
13413
+ }
13414
+ });
13415
+ n.dispatchEvent(e);
13416
+ }
13417
+ optInAnalytics() {
13418
+ fn(), localStorage.removeItem(`${window.location.host}-matomo-consent-given`), this.hideNotice(), this.consent.emit("in");
13419
+ }
13420
+ optOutAnalytics() {
13421
+ en(), this.hideNotice(), this.consent.emit("out");
13422
+ }
13423
+ noThanks() {
13424
+ en(), localStorage.setItem(`${window.location.host}-matomo-consent-given`, "out"), this.hideNotice(), this.consent.emit("out");
13425
+ }
13426
+ /*private deferDecision() {
13427
+ sessionStorage.setItem(this.getStorageKey(), 'true');
13428
+ this.hideNotice();
13429
+ this.consent.emit('defer');
13430
+ }*/
13431
+ keepMeIn() {
13432
+ this.hideNotice();
13433
+ }
13434
+ hideNotice() {
13435
+ this.showNotice = !1;
13436
+ }
13437
+ render() {
13438
+ return this.showNotice ? i("div", { class: "fixed bottom-0 p-8 z-[999999] grow md:left-1/2 md:-translate-x-1/2 md:-translate-y-1/2 justify-center" }, i("eds-accordion", { title: this.heading, description: this.hasCookieConsent() ? this.optOutMessage : this.description, switchBg: !0, expanded: !0 }, this.hasCookieConsent() ? i("div", { class: "flex items-center gap-4" }, this.optedOut() ? i("eds-button", { intent: "primary", label: "Opt me in again", "aria-label": "Opt me in again", onClick: () => this.optInAnalytics() }) : i("eds-button", { intent: "primary", label: "Keep Me In", "aria-label": "Keep Me In", onClick: () => this.keepMeIn() }), i("eds-button", { intent: "ghostInverse", label: "Opt-out", "aria-label": "Opt-out from analytics", onClick: () => this.optOutAnalytics() })) : i("div", { class: "flex items-center gap-4" }, i("eds-button", { intent: "primary", label: "I agree", "aria-label": "Opt-in for analytics", onClick: () => this.optInAnalytics() }), i("eds-button", { intent: "ghost", label: "No, thanks", "aria-label": "Opt-out from analytics", onClick: () => this.noThanks() })))) : null;
13439
+ }
13440
+ get el() {
13441
+ return y(this);
13442
+ }
13443
+ };
13444
+ Fe.style = ze;
13445
+ const Ae = '.flex{display:flex}.justify-between{justify-content:space-between}.mt-4{margin-top:0.25rem}.mt-8{margin-top:0.5rem}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.grid{display:grid}.grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.grid-cols-11{grid-template-columns:repeat(11, minmax(0, 1fr))}.grid-cols-11[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-11[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1)::before{inset-inline-start:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+11)::before{inset-inline-end:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)~*::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+11)::after{border-inline-end-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+11)::after{top:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)::after{bottom:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)~li::after{bottom:0}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-700)}', Ie = Ae, Le = class {
13446
+ constructor(n) {
13447
+ p(this, n), this.nps = S(this, "nps", 7), this.min = 0, this.max = 10, this.question = void 0, this.leftLabel = void 0, this.rightLabel = void 0, this.selectedValue = null;
13448
+ }
13449
+ handleClick(n) {
13450
+ this.selectedValue = n, this.nps.emit(n);
13451
+ }
13452
+ handleKeyNav(n) {
13453
+ const e = Array.from(this.el.shadowRoot.querySelectorAll("eds-button")), t = e.findIndex((r) => r.tabIndex === 0);
13454
+ switch (n.key) {
13455
+ case "ArrowRight":
13456
+ case "ArrowLeft": {
13457
+ n.preventDefault();
13458
+ const r = n.key === "ArrowRight" ? 1 : -1, l = Math.min(this.max, Math.max(0, t + r));
13459
+ this.activateRadio(e, l);
13460
+ break;
13461
+ }
13462
+ case "Home": {
13463
+ n.preventDefault(), this.activateRadio(e, 0);
13464
+ break;
13465
+ }
13466
+ case "End": {
13467
+ n.preventDefault(), this.activateRadio(e, this.max);
13468
+ break;
13469
+ }
13470
+ case "Enter":
13471
+ case " ": {
13472
+ n.preventDefault(), t >= 0 && this.handleClick(this.min + t);
13473
+ break;
13474
+ }
13475
+ case "Escape": {
13476
+ n.preventDefault(), t >= 0 && e[t].blur();
13477
+ break;
13478
+ }
13479
+ default:
13480
+ return;
13481
+ }
13482
+ }
13483
+ activateRadio(n, e) {
13484
+ const t = n[e], r = this.min + e;
13485
+ this.handleClick(r), t.focus();
13486
+ }
13487
+ render() {
13488
+ const n = this.max - this.min + 1, e = 0;
13489
+ return i("div", { key: "d675e1e4ecc306511c0324d0b76ee66237cb6738", class: "eds-nps" }, i("eds-input-label", { key: "2eede06f6ee166c36b0cf315a35435c89c3c0ba5", id: "nps-question", name: "nps-question", label: this.question }), i("div", { key: "16105649fe6b3b229127c9a741367a6381db774f", role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (t) => this.handleKeyNav(t) }, Array.from({ length: n }, (t, r) => {
13490
+ const l = this.min + r, a = l === this.selectedValue, c = this.selectedValue === null ? r === e ? 0 : -1 : a ? 0 : -1;
13491
+ return i("div", { class: "grid-col-span-1", key: l }, i("eds-button", { tabindex: c, label: `${l}`, "aria-label": `${l}`, intent: a ? "primary" : "ghost", "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(l) }));
13492
+ })), i("div", { key: "e7bd70a4f1a8083d9c3e08fdf8de55999a27d92d", class: "flex justify-between mt-8" }, i("span", { key: "ea3fbbac20a162e7cf5f2d5e3321c8bc9297014e", class: "f-ui-04 text-light ml-4" }, this.leftLabel), i("span", { key: "3ff59cde0c532587ead8b8a1eaaff6c630e7e7ac", class: "f-ui-04 text-light mr-4" }, this.rightLabel)));
11299
13493
  }
11300
13494
  get el() {
11301
- return g(this);
13495
+ return y(this);
11302
13496
  }
11303
13497
  };
11304
- yn.style = un;
11305
- const vn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}", wn = vn, kn = class {
13498
+ Le.style = Ie;
13499
+ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}", Te = _e, $e = class {
11306
13500
  constructor(n) {
11307
- d(this, n), this.currentPage = void 0, this.lastPage = void 0, this.perPage = 10, this.total = 0, this.url = "", this.mode = "default", this.prevLabel = "Prev", this.nextLabel = "Next", this.prevUrl = "", this.nextUrl = "", this.links = [];
13501
+ p(this, n), this.handleKeyDown = (e) => {
13502
+ if (this.mode !== "default" || !this.useButtons)
13503
+ return;
13504
+ const t = this.getNavigableItems();
13505
+ if (e.key === "ArrowRight" || e.key === "ArrowLeft") {
13506
+ e.preventDefault();
13507
+ const r = e.key === "ArrowRight" ? 1 : -1;
13508
+ let l = this.focusedIndex;
13509
+ if (l === -1) {
13510
+ const c = t.findIndex((d) => d.type === "page" && d.page === this.currentPage);
13511
+ l = c !== -1 ? c : 0;
13512
+ }
13513
+ let a = l + r;
13514
+ a >= t.length ? a = 0 : a < 0 && (a = t.length - 1), this.focusedIndex = a, this.focusPaginationItem(a);
13515
+ } else if (e.key === "Home")
13516
+ e.preventDefault(), this.focusedIndex = 0, this.focusPaginationItem(0);
13517
+ else if (e.key === "End") {
13518
+ e.preventDefault();
13519
+ const r = t.length - 1;
13520
+ this.focusedIndex = r, this.focusPaginationItem(r);
13521
+ }
13522
+ }, this.handleItemFocus = (e) => {
13523
+ this.focusedIndex = e;
13524
+ }, this.currentPage = void 0, this.lastPage = void 0, this.perPage = 10, this.total = 0, this.url = "", this.mode = "default", this.useButtons = !0, this.prevLabel = "Prev", this.nextLabel = "Next", this.prevUrl = "", this.nextUrl = "", this.links = [], this.focusedIndex = -1;
11308
13525
  }
11309
13526
  /** Lifecycle hook to generate pagination links on component load */
11310
13527
  componentWillLoad() {
11311
13528
  this.mode === "default" && this.generateLinks();
11312
13529
  }
11313
13530
  componentDidLoad() {
11314
- this.hostEl.shadowRoot.querySelectorAll("eds-link").forEach((e) => {
13531
+ this.useButtons || this.hostEl.shadowRoot.querySelectorAll("eds-link").forEach((e) => {
11315
13532
  this.emitContext(e);
11316
13533
  });
11317
13534
  }
11318
13535
  /**
11319
13536
  * Emits a custom event called `parentContext` for a given link element.
11320
- * This event provides context information about the breadcrumb component.
13537
+ * This event provides context information about the pagination component.
11321
13538
  *
11322
13539
  * @param linkElement - The link element to which the event will be dispatched.
11323
13540
  */
@@ -11333,6 +13550,23 @@ const vn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
11333
13550
  onPageOrLastPageChange() {
11334
13551
  this.mode === "default" && this.generateLinks();
11335
13552
  }
13553
+ /**
13554
+ * Gets all navigable pagination items for keyboard navigation
13555
+ */
13556
+ getNavigableItems() {
13557
+ const n = [];
13558
+ return n.push({ type: "prev", disabled: this.isFirstPage() }), this.links.forEach((e) => {
13559
+ typeof e == "object" && n.push({ type: "page", page: parseInt(e.label), disabled: !1 });
13560
+ }), n.push({ type: "next", disabled: this.isLastPage() }), n.filter((e) => !e.disabled);
13561
+ }
13562
+ /**
13563
+ * Focuses a specific pagination item by index
13564
+ */
13565
+ focusPaginationItem(n) {
13566
+ var e;
13567
+ const t = (e = this.hostEl.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll(".pagination-button"), r = t == null ? void 0 : t[n];
13568
+ r && r.focus();
13569
+ }
11336
13570
  /**
11337
13571
  * Checks if the current page is the first page
11338
13572
  * @returns {boolean} - true if current page is the first page
@@ -11355,7 +13589,7 @@ const vn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
11355
13589
  generateLink(n) {
11356
13590
  const e = this.url.includes("?");
11357
13591
  return {
11358
- ariaLabel: `Page ${n}`,
13592
+ ariaLabel: `Go to page ${n}`,
11359
13593
  url: `${this.url}${e ? "&" : "?"}page=${n}`,
11360
13594
  label: n.toString(),
11361
13595
  current: this.currentPage === n,
@@ -11370,28 +13604,31 @@ const vn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
11370
13604
  * Creates a pagination range based on delta, current, and total pages
11371
13605
  * @param {number} current - Current page number
11372
13606
  * @param {number} total - Total number of pages
11373
- * @param {number} delta - Range of pages to display around the current page
11374
13607
  * @returns {(number | string)[]} - Range of page numbers or ellipses
11375
13608
  */
11376
13609
  getPaginationGenerator(n, e) {
11377
- const t = [];
13610
+ const r = [];
11378
13611
  if (e <= 5)
11379
13612
  for (let l = 1; l <= e; l++)
11380
- t.push(l);
13613
+ r.push(l);
11381
13614
  else {
11382
- t.push(1), n - 1 > 2 && t.push("...");
13615
+ r.push(1), n - 1 > 2 && r.push("...");
11383
13616
  for (let l = Math.max(2, n - 1); l <= Math.min(e - 1, n + 1); l++)
11384
- t.push(l);
11385
- n + 1 < e - 1 && t.push("..."), t.push(e);
13617
+ r.push(l);
13618
+ n + 1 < e - 1 && r.push("..."), r.push(e);
11386
13619
  }
11387
- return t;
13620
+ return r;
11388
13621
  }
11389
13622
  /**
11390
13623
  * Formats the current page results information for display
11391
13624
  * @returns {string} - Formatted page result information
11392
13625
  */
11393
13626
  pageResults() {
11394
- return this.total > 0 ? this.total > this.perPage ? `${this.perPage * ((this.currentPage || 1) - 1) + 1} - ${this.perPage * (this.currentPage || 1) >= this.total ? this.total : this.perPage * (this.currentPage || 1)} of ${this.total}` : `${this.total}` : "";
13627
+ if (this.total > 0) {
13628
+ const n = this.perPage * ((this.currentPage || 1) - 1) + 1, e = Math.min(this.perPage * (this.currentPage || 1), this.total);
13629
+ return this.total > this.perPage ? `Showing ${n} to ${e} of ${this.total} results` : `Showing ${this.total} result${this.total !== 1 ? "s" : ""}`;
13630
+ }
13631
+ return "";
11395
13632
  }
11396
13633
  /**
11397
13634
  * Handles a page click event, updating the current page and dispatching an event
@@ -11399,25 +13636,25 @@ const vn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
11399
13636
  * @param {number} newPage - New page number
11400
13637
  */
11401
13638
  handlePageClick(n, e) {
11402
- if (this.mode !== "navigator" && (n.preventDefault(), e !== this.currentPage)) {
11403
- this.links = this.links.map((t) => typeof t == "object" ? Object.assign(Object.assign({}, t), { current: parseInt(t.label) === e }) : t);
11404
- const r = new CustomEvent("page", {
13639
+ if (this.mode !== "navigator" && (this.useButtons && n.preventDefault(), e !== this.currentPage)) {
13640
+ this.links = this.links.map((r) => typeof r == "object" ? Object.assign(Object.assign({}, r), { current: parseInt(r.label) === e }) : r);
13641
+ const t = new CustomEvent("page", {
11405
13642
  detail: e,
11406
13643
  bubbles: !0,
11407
13644
  composed: !0
11408
13645
  });
11409
- this.hostEl.dispatchEvent(r), this.currentPage = e;
13646
+ this.hostEl.dispatchEvent(t), this.currentPage = e;
11410
13647
  }
11411
13648
  }
11412
13649
  render() {
11413
- return i("div", { key: "978896bd8c550afdc30281e1a8d9858022857551" }, this.total > 0 && this.mode === "default" && i("p", { key: "10781adbf2c4754580c31eecc180fc426b5e09a1", class: "f-ui-03 text-lightest mb-28 w-full text-center" }, i("span", { key: "29765740419772ac83736495c859d2d75097904c", class: "sr-only" }, "Results:"), this.pageResults()), this.mode === "navigator" || this.lastPage && this.lastPage > 1 ? i("nav", { "aria-label": "Pagination" }, i("ul", { class: "flex items-center justify-center gap-x-8" }, i("li", { class: "mr-auto" }, i("eds-link", { label: this.prevLabel, url: this.mode === "navigator" ? this.prevUrl || "#" : this.isFirstPage() ? "#" : this.generateLink(this.currentPage - 1).url, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "strong", "hide-label-on-small-screen": !0, class: "!p-8 lg:!pr-12", onClick: (n) => {
11414
- this.mode === "default" && (this.isFirstPage() ? n.preventDefault() : this.handlePageClick(n, (this.currentPage || 1) - 1));
11415
- } })), this.mode === "default" && this.links.map((n, e) => i("li", { key: e, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof n == "string" ? i("span", { class: "flex items-center justify-center" }, n) : i("eds-link", { url: n.url, "aria-label": n.ariaLabel, label: n.label, current: n.current, size: "small", class: "!p-8", intent: n.current ? "secondary" : "ghost", onClick: (r) => this.handlePageClick(r, parseInt(n.label)) }))), i("li", { class: "ml-auto" }, i("eds-link", { label: this.nextLabel, url: this.mode === "navigator" ? this.nextUrl || "#" : this.isLastPage() ? "#" : this.generateLink(this.currentPage + 1).url, disabled: this.mode === "navigator" ? !this.nextUrl : this.isLastPage(), "aria-label": "Next page", size: "small", "icon-small": "true", icon: "chevron-right", intent: "strong", "hide-label-on-small-screen": !0, class: "!p-8 lg:!pl-12 flex items-center gap-1 py-4 transition-colors", onClick: (n) => {
11416
- this.mode === "default" && (this.isLastPage() ? n.preventDefault() : this.handlePageClick(n, (this.currentPage || 1) + 1));
11417
- } })))) : null);
13650
+ return i("div", { key: "753a7e573a09e7fcb66eac9e11e00f690c49543d" }, this.total > 0 && this.mode === "default" && i("p", { key: "6286d71622614a835d471812a55d5c6bef37a13e", class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, i("span", { key: "daa7bfa31e736a40c46641fed88653d51eeabc67", class: "text-light sr-only" }, "Results:"), this.pageResults()), this.mode === "navigator" || this.lastPage && this.lastPage > 1 ? i("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === "default" ? "pagination-info" : void 0, onKeyDown: this.handleKeyDown }, i("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, i("li", { class: "mr-auto" }, this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: this.prevLabel, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (e) => {
13651
+ this.mode === "default" && !this.isFirstPage() && this.handlePageClick(e, (this.currentPage || 1) - 1);
13652
+ } })) : i("eds-link", { label: this.prevLabel, url: this.mode === "navigator" ? this.prevUrl || "#" : this.isFirstPage() ? "#" : this.generateLink(this.currentPage - 1).url, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "strong", "hide-label-on-small-screen": !0, class: "!p-8 lg:!pr-12" })), this.mode === "default" && this.links.map((e, t) => i("li", { key: t, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof e == "string" ? i("span", { class: "flex items-center justify-center", "aria-hidden": "true" }, e) : this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: e.label, "aria-label": e.current ? `Current page, page ${e.label}` : `Go to page ${e.label}`, "aria-current": e.current ? "page" : void 0, size: "small", "extra-class": "!p-8 pagination-button", intent: e.current ? "secondary" : "ghost", onClick: (r) => this.handlePageClick(r, parseInt(e.label)) })) : i("eds-link", { url: e.url, "aria-label": e.ariaLabel, label: e.label, current: e.current, "aria-current": e.current ? "page" : void 0, size: "small", class: "!p-8", intent: e.current ? "secondary" : "ghost", onClick: (r) => this.handlePageClick(r, parseInt(e.label)) }))), i("li", { class: "ml-auto" }, this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: this.nextLabel, disabled: this.mode === "navigator" ? !this.nextUrl : this.isLastPage(), "aria-label": "Go to next page", size: "small", "icon-small": "true", icon: "chevron-right", intent: "ghost", "extra-class": "!p-8 lg:!pl-12 pagination-button", onClick: (e) => {
13653
+ this.mode === "default" && !this.isLastPage() && this.handlePageClick(e, (this.currentPage || 1) + 1);
13654
+ } })) : i("eds-link", { label: this.nextLabel, url: this.mode === "navigator" ? this.nextUrl || "#" : this.isLastPage() ? "#" : this.generateLink(this.currentPage + 1).url, disabled: this.mode === "navigator" ? !this.nextUrl : this.isLastPage(), "aria-label": "Go to next page", size: "small", "icon-small": "true", icon: "chevron-right", intent: "strong", "hide-label-on-small-screen": !0, class: "!p-8 lg:!pl-12 flex items-center gap-1 py-4 transition-colors" })))) : null);
11418
13655
  }
11419
13656
  get hostEl() {
11420
- return g(this);
13657
+ return y(this);
11421
13658
  }
11422
13659
  static get watchers() {
11423
13660
  return {
@@ -11426,10 +13663,10 @@ const vn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
11426
13663
  };
11427
13664
  }
11428
13665
  };
11429
- kn.style = wn;
11430
- const zn = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}", Cn = zn, Sn = class {
13666
+ $e.style = Te;
13667
+ const Oe = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}", Re = Oe, Pe = class {
11431
13668
  constructor(n) {
11432
- d(this, n), this.rating = h(this, "rating", 7), this.ratingType = "star", this.ratingCount = 5, this.selectedRating = 0;
13669
+ p(this, n), this.rating = S(this, "rating", 7), this.buttonRefs = [], this.ratingType = "star", this.ratingCount = 5, this.selectedRating = 0;
11433
13670
  }
11434
13671
  /**
11435
13672
  * Lifecycle method that runs when the component has fully loaded.
@@ -11459,20 +13696,33 @@ const zn = ":host{display:inline-block}.block{display:block}.stars{display:flex;
11459
13696
  * Handles the click event on a star.
11460
13697
  * @param rating - The selected rating value.
11461
13698
  */
11462
- handleClick(n) {
11463
- this.selectedRating = n, this.rating.emit(n);
13699
+ onSelect(n) {
13700
+ this.selectedRating = n, this.rating.emit(n), setTimeout(() => {
13701
+ const e = this.buttonRefs[n - 1];
13702
+ e == null || e.focus();
13703
+ }, 0);
13704
+ }
13705
+ handleKeyNav(n) {
13706
+ const { key: e } = n;
13707
+ if (!["ArrowRight", "ArrowLeft", "ArrowDown", "ArrowUp"].includes(e))
13708
+ return;
13709
+ n.preventDefault();
13710
+ const t = e === "ArrowRight" || e === "ArrowDown" ? 1 : -1;
13711
+ let r = (this.selectedRating || 1) + t;
13712
+ r > this.ratingCount && (r = 1), r < 1 && (r = this.ratingCount), this.onSelect(r);
11464
13713
  }
11465
13714
  render() {
11466
- return i("div", { key: "7f70d2d6691257ba0658ab9500ab7200af28366a", role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (n, e) => {
11467
- const r = e + 1, t = r <= this.selectedRating;
13715
+ return i("div", { key: "bd72970d86f2dbb21d58671fc85feea3011749b3", id: "rating-buttons", role: "radiogroup", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (n) => this.handleKeyNav(n) }, Array.from({ length: this.ratingCount }, (n, e) => {
13716
+ const t = e + 1, r = t <= this.selectedRating, l = this.selectedRating === t;
11468
13717
  return i("eds-button", {
13718
+ ref: (a) => this.buttonRefs[e] = a,
11469
13719
  icon: this.ratingType,
11470
13720
  role: "radio",
11471
- "aria-checked": t ? "true" : "false",
11472
- "aria-label": this.ratingType,
11473
- onClick: () => this.handleClick(r),
11474
- tabIndex: this.selectedRating === 0 && e === 0 || t ? 0 : -1,
11475
- intent: t ? "primary" : "ghost",
13721
+ "aria-checked": l,
13722
+ "aria-label": `${t} ${this.ratingType}${t > 1 ? "s" : ""}`,
13723
+ onClick: () => this.onSelect(t),
13724
+ tabIndex: l || this.selectedRating === 0 && e === 0 ? 0 : -1,
13725
+ intent: r ? "primary" : "ghost",
11476
13726
  size: "large",
11477
13727
  "extra-class": "p-2"
11478
13728
  // Optional padding or styling for the star button
@@ -11480,13 +13730,13 @@ const zn = ":host{display:inline-block}.block{display:block}.stars{display:flex;
11480
13730
  }));
11481
13731
  }
11482
13732
  get el() {
11483
- return g(this);
13733
+ return y(this);
11484
13734
  }
11485
13735
  };
11486
- Sn.style = Cn;
11487
- const En = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-28{margin-bottom:1.75rem}", Fn = En, Ln = class {
13736
+ Pe.style = Re;
13737
+ const De = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-28{margin-bottom:1.75rem}", Ne = De, He = class {
11488
13738
  constructor(n) {
11489
- d(this, n), this.step = h(this, "step", 7), this.handleNext = () => {
13739
+ p(this, n), this.step = S(this, "step", 7), this.handleNext = () => {
11490
13740
  this.activeStep = this.activeStep + 1, this.activeStep < this.parsedSteps.length && this.step.emit(this.activeStep);
11491
13741
  }, this.handleBack = () => {
11492
13742
  this.activeStep > 0 && (this.activeStep = this.activeStep - 1, this.step.emit(this.activeStep));
@@ -11500,16 +13750,16 @@ const En = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
11500
13750
  var n;
11501
13751
  if (this.type === "linear") {
11502
13752
  const e = (n = this.el.shadowRoot) === null || n === void 0 ? void 0 : n.querySelectorAll("eds-button");
11503
- e == null || e.forEach((r) => {
11504
- this.emitContext(r);
13753
+ e == null || e.forEach((t) => {
13754
+ this.emitContext(t);
11505
13755
  });
11506
13756
  }
11507
13757
  }
11508
13758
  activeStepChanged(n) {
11509
13759
  setTimeout(() => {
11510
13760
  var e;
11511
- const r = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll(".step")[n];
11512
- r && r.querySelectorAll("eds-button").forEach((l) => {
13761
+ const t = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll(".step")[n];
13762
+ t && t.querySelectorAll("eds-button").forEach((l) => {
11513
13763
  this.emitContext(l);
11514
13764
  });
11515
13765
  }, 50);
@@ -11536,14 +13786,14 @@ const En = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
11536
13786
  * Parse the JSON string into an array of steps.
11537
13787
  */
11538
13788
  get parsedSteps() {
11539
- return x(this.steps);
13789
+ return R(this.steps);
11540
13790
  }
11541
13791
  render() {
11542
13792
  const n = this.parsedSteps;
11543
- return this.type === "linear" ? i("div", null, i("div", { class: "steps" }, n.map((e, r) => i("div", { class: "step mb-28", key: r }, i("h3", { onClick: () => this.handleStepClick(r) }, e.title), this.activeStep === r && i("div", { class: "content" }, i("slot", { name: `step-${r}` }, i("div", { class: r === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content })), i("eds-button", { label: r === n.length - 1 ? "Finish" : "Continue", intent: "primary", class: "next-btn", onClick: this.handleNext }), i("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: r === 0, "extra-class": r === 0 ? "hidden" : "ml-8 block" })))))) : i("div", { class: "steps" }, n.map((e, r) => i("div", { class: "step mb-28", key: r }, i("h3", null, e.title), i("div", { class: "content" }, i("slot", { name: `step-${r}` }, i("div", { class: r === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content }))))));
13793
+ return this.type === "linear" ? i("div", null, i("div", { class: "steps" }, n.map((e, t) => i("div", { class: "step mb-28", key: t }, i("h3", { onClick: () => this.handleStepClick(t) }, e.title), this.activeStep === t && i("div", { class: "content" }, i("slot", { name: `step-${t}` }, i("div", { class: t === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content })), i("eds-button", { label: t === n.length - 1 ? "Finish" : "Continue", intent: "primary", class: "next-btn", onClick: this.handleNext }), i("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: t === 0, "extra-class": t === 0 ? "hidden" : "ml-8 block" })))))) : i("div", { class: "steps" }, n.map((e, t) => i("div", { class: "step mb-28", key: t }, i("h3", null, e.title), i("div", { class: "content" }, i("slot", { name: `step-${t}` }, i("div", { class: t === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content }))))));
11544
13794
  }
11545
13795
  get el() {
11546
- return g(this);
13796
+ return y(this);
11547
13797
  }
11548
13798
  static get watchers() {
11549
13799
  return {
@@ -11551,10 +13801,10 @@ const En = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
11551
13801
  };
11552
13802
  }
11553
13803
  };
11554
- Ln.style = Fn;
11555
- const In = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}", An = In, jn = class {
13804
+ He.style = Ne;
13805
+ const je = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}", We = je, Be = class {
11556
13806
  constructor(n) {
11557
- d(this, n), this.step = h(this, "step", 7), this.handleNext = () => {
13807
+ p(this, n), this.step = S(this, "step", 7), this.handleNext = () => {
11558
13808
  this.activeStep = this.activeStep + 1, this.activeStep < this.parsedSteps.length && this.step.emit(this.activeStep);
11559
13809
  }, this.handleBack = () => {
11560
13810
  this.activeStep > 0 && (this.activeStep = this.activeStep - 1, this.step.emit(this.activeStep));
@@ -11564,16 +13814,16 @@ const In = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
11564
13814
  var n;
11565
13815
  if (this.type === "linear") {
11566
13816
  const e = (n = this.el.shadowRoot) === null || n === void 0 ? void 0 : n.querySelectorAll("eds-button");
11567
- e == null || e.forEach((r) => {
11568
- this.emitContext(r);
13817
+ e == null || e.forEach((t) => {
13818
+ this.emitContext(t);
11569
13819
  });
11570
13820
  }
11571
13821
  }
11572
13822
  activeStepChanged(n) {
11573
13823
  setTimeout(() => {
11574
13824
  var e;
11575
- const r = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll(".step")[n];
11576
- r && r.querySelectorAll("eds-button").forEach((l) => {
13825
+ const t = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll(".step")[n];
13826
+ t && t.querySelectorAll("eds-button").forEach((l) => {
11577
13827
  this.emitContext(l);
11578
13828
  });
11579
13829
  }, 50);
@@ -11600,17 +13850,17 @@ const In = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
11600
13850
  * Parses the steps property into an array of Step objects.
11601
13851
  */
11602
13852
  get parsedSteps() {
11603
- return x(this.steps);
13853
+ return R(this.steps);
11604
13854
  }
11605
13855
  render() {
11606
13856
  const n = this.parsedSteps;
11607
- return i("div", { key: "bbcec2dd9a5096eb0cecf0d413892e5708822f52", class: this.articleClasses() }, this.imageSrc ? i("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, i("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" })) : this.message && i("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, i("div", { class: "p-24" }, i("span", { class: "text-inverse f-heading-04 " }, this.message))), i("div", { key: "db0618aad7d5986fcb0889f1c439be73f83a00df", class: "p-8" }, this.type === "linear" ? i("div", { class: "steps" }, n.map((e, r) => i("div", { class: r === 0 ? "step" : "step space-y-16", key: r }, i("h3", { onClick: () => this.handleStepClick(r) }, e.title), this.activeStep === r && i("div", { class: "content" }, i("slot", { name: `step-${r}` }, i("div", { class: r === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content })), i("eds-button", { label: r === n.length - 1 ? "Finish" : "Continue", intent: "primary", class: "next-btn", onClick: this.handleNext }), i("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: r === 0, "extra-class": r === 0 ? "hidden" : "ml-8 block" }))))) : (
13857
+ return i("div", { key: "bbcec2dd9a5096eb0cecf0d413892e5708822f52", class: this.articleClasses() }, this.imageSrc ? i("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, i("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" })) : this.message && i("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, i("div", { class: "p-24" }, i("span", { class: "text-inverse f-heading-04 " }, this.message))), i("div", { key: "db0618aad7d5986fcb0889f1c439be73f83a00df", class: "p-8" }, this.type === "linear" ? i("div", { class: "steps" }, n.map((e, t) => i("div", { class: t === 0 ? "step" : "step space-y-16", key: t }, i("h3", { onClick: () => this.handleStepClick(t) }, e.title), this.activeStep === t && i("div", { class: "content" }, i("slot", { name: `step-${t}` }, i("div", { class: t === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content })), i("eds-button", { label: t === n.length - 1 ? "Finish" : "Continue", intent: "primary", class: "next-btn", onClick: this.handleNext }), i("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: t === 0, "extra-class": t === 0 ? "hidden" : "ml-8 block" }))))) : (
11608
13858
  // Static mode: show all steps with their content.
11609
- i("div", { class: "steps space-y-8" }, n.map((e, r) => i("div", { class: "step", key: r }, i("h3", { onClick: () => this.handleStepClick(r) }, e.title), i("div", { class: "content" }, i("slot", { name: `step-${r}` }, i("div", { class: r === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content }))))))
13859
+ i("div", { class: "steps space-y-8" }, n.map((e, t) => i("div", { class: "step", key: t }, i("h3", { onClick: () => this.handleStepClick(t) }, e.title), i("div", { class: "content" }, i("slot", { name: `step-${t}` }, i("div", { class: t === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content }))))))
11610
13860
  )));
11611
13861
  }
11612
13862
  get el() {
11613
- return g(this);
13863
+ return y(this);
11614
13864
  }
11615
13865
  static get watchers() {
11616
13866
  return {
@@ -11618,12 +13868,53 @@ const In = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
11618
13868
  };
11619
13869
  }
11620
13870
  };
11621
- jn.style = An;
11622
- const Pn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}", Wn = Pn, _n = class {
13871
+ Be.style = We;
13872
+ const qe = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.switch:focus{outline:2px solid #005fcc;outline-offset:2px}.switch:focus:not(:focus-visible){outline:none}.switch:focus-visible{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}", Me = qe, Ue = class {
13873
+ constructor(n) {
13874
+ p(this, n), this.uiswitch = S(this, "uiswitch", 7), this.toggleSwitch = () => {
13875
+ this.disabled || (this.checked = !this.checked, this.uiswitch.emit({ value: this.checked }), A({
13876
+ category: "ui-component",
13877
+ tag: this.el.tagName.toLowerCase(),
13878
+ name: this.checked ? this.labelOn : this.labelOff || "",
13879
+ action: "checked"
13880
+ }));
13881
+ }, this.handleKeyDown = (e) => {
13882
+ this.disabled || (e.key === "Enter" || e.key === " ") && (e.preventDefault(), this.toggleSwitch());
13883
+ }, this.checked = !1, this.disabled = !1, this.labelOn = "", this.labelOff = "";
13884
+ }
13885
+ render() {
13886
+ const n = `switch-${Math.random().toString(36).substr(2, 9)}`, e = [];
13887
+ this.labelOff && e.push(`${n}-off`), this.labelOn && e.push(`${n}-on`);
13888
+ const t = e.length === 0 ? this.labelOn || this.labelOff ? this.checked ? this.labelOn : this.labelOff : "Toggle switch" : void 0;
13889
+ return i("div", { key: "f4c99a2ec360af6030de11698bab82833b3f415f", class: "switch-container" }, this.labelOff && i("span", { key: "8bb8d063e744c194c0d44a0c371ae8224f9611cb", id: `${n}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff), i("button", { key: "ccc49c8ac6f639707c90822e24f3ae3ab8f2c26c", id: n, tabindex: this.disabled ? "-1" : "0", type: "button", role: "switch", "aria-checked": this.checked ? "true" : "false", "aria-disabled": this.disabled ? "true" : "false", "aria-labelledby": e.length > 0 ? e.join(" ") : void 0, "aria-label": t, class: {
13890
+ switch: !0,
13891
+ "switch--checked": this.checked,
13892
+ "switch--disabled": this.disabled
13893
+ }, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, i("span", { key: "2275930bc9909c0a95c6c10e28f715fe1afe9294", class: "switch-handle" })), this.labelOn && i("span", { key: "d789fd15943c1fadf1f87c55059261eaf5e05a8f", id: `${n}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn));
13894
+ }
13895
+ get el() {
13896
+ return y(this);
13897
+ }
13898
+ };
13899
+ Ue.style = Me;
13900
+ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}", Ge = Ve, Ye = class {
11623
13901
  constructor(n) {
11624
- d(this, n), this.rowaction = h(this, "rowaction", 7), this.handleResize = () => {
13902
+ p(this, n), this.rowaction = S(this, "rowaction", 7), this.handleResize = () => {
11625
13903
  this.updateContainerWidth();
11626
- }, this.data = null, this.endpoint = null, this.config = {}, this.rowsPerPage = 10, this.paginationEnabled = !0, this.searchEnabled = !1, this.hostWidth = void 0, this.columnSize = "default", this.actions = [], this.actionTemplate = void 0, this.parsedActions = [], this.dataColumns = [], this.tbData = [], this.columns = [], this.currentPage = 1, this.parsedConfig = {}, this.totalRows = 0, this.searchQuery = "", this.containerWidth = 0;
13904
+ }, this.onActionKeyDown = (e) => {
13905
+ var t;
13906
+ if (e.key !== "ArrowRight" && e.key !== "ArrowLeft")
13907
+ return;
13908
+ e.preventDefault();
13909
+ const r = e.target, l = r.closest('[role="toolbar"]');
13910
+ if (!l)
13911
+ return;
13912
+ const a = Array.from(l.querySelectorAll("eds-button")), c = a.indexOf(r);
13913
+ if (c === -1)
13914
+ return;
13915
+ let d;
13916
+ e.key === "ArrowRight" ? d = (c + 1) % a.length : d = (c - 1 + a.length) % a.length, (t = a[d]) === null || t === void 0 || t.focus();
13917
+ }, this.data = null, this.config = {}, this.rowsPerPage = 10, this.paginationEnabled = !0, this.searchEnabled = !1, this.hostWidth = void 0, this.columnSize = "default", this.actions = [], this.actionTemplate = void 0, this.parsedActions = [], this.dataColumns = [], this.tbData = [], this.columns = [], this.currentPage = 1, this.parsedConfig = {}, this.totalRows = 0, this.searchQuery = "", this.containerWidth = 0;
11627
13918
  }
11628
13919
  handleDataChange() {
11629
13920
  this.parseData();
@@ -11639,7 +13930,7 @@ const Pn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
11639
13930
  }
11640
13931
  }
11641
13932
  componentWillLoad() {
11642
- this.parseConfig(), this.handleActionsChange(), this.data ? this.parseData() : this.endpoint && this.fetchData();
13933
+ this.parseConfig(), this.handleActionsChange(), this.parseData();
11643
13934
  }
11644
13935
  componentDidLoad() {
11645
13936
  this.updateContainerWidth(), window.addEventListener("resize", this.handleResize), this.setupPaginationListener();
@@ -11655,7 +13946,7 @@ const Pn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
11655
13946
  }
11656
13947
  parseData() {
11657
13948
  try {
11658
- this.tbData = x(this.data), this.totalRows = this.tbData.length, this.updateColumns(), this.currentPage = 1;
13949
+ this.tbData = R(this.data), this.totalRows = this.tbData.length, this.updateColumns(), this.currentPage = 1;
11659
13950
  } catch (n) {
11660
13951
  console.error("Failed to parse data:", n), this.tbData = [];
11661
13952
  }
@@ -11667,14 +13958,6 @@ const Pn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
11667
13958
  console.error("Failed to parse config:", n), this.parsedConfig = {};
11668
13959
  }
11669
13960
  }
11670
- async fetchData() {
11671
- try {
11672
- const e = await (await fetch(this.endpoint)).json();
11673
- this.data = e;
11674
- } catch (n) {
11675
- console.error("Failed to fetch data:", n);
11676
- }
11677
- }
11678
13961
  setupPaginationListener() {
11679
13962
  if (!this.shouldEnablePagination())
11680
13963
  return;
@@ -11691,7 +13974,7 @@ const Pn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
11691
13974
  return n.slice(e, e + this.rowsPerPage);
11692
13975
  }
11693
13976
  handlePageChange(n) {
11694
- this.currentPage = n, f({
13977
+ this.currentPage = n, A({
11695
13978
  category: "ui-component",
11696
13979
  parentContext: null,
11697
13980
  tag: `${this.hostEl.tagName.toLowerCase()}/eds-pagination`,
@@ -11703,33 +13986,33 @@ const Pn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
11703
13986
  this.searchQuery = n.target.value, this.currentPage = 1;
11704
13987
  }
11705
13988
  renderCell(n, e) {
11706
- var r;
11707
- const t = (r = this.parsedConfig[e]) === null || r === void 0 ? void 0 : r.format;
11708
- return t === "uppercase" ? n == null ? void 0 : n.toString().toUpperCase() : t === "svg" ? i("div", { innerHTML: n }) : t === "bold" ? i("strong", null, n) : t === "code" ? i("code", null, n) : n;
13989
+ var t;
13990
+ const r = (t = this.parsedConfig[e]) === null || t === void 0 ? void 0 : t.format;
13991
+ return r === "uppercase" ? n == null ? void 0 : n.toString().toUpperCase() : r === "svg" ? i("div", { innerHTML: n }) : r === "bold" ? i("strong", null, n) : r === "code" ? i("code", null, n) : n;
11709
13992
  }
11710
13993
  /**
11711
13994
  * Renders one action (button or checkbox) for a specific action‐name.
11712
13995
  * Used by the “Actions” column below.
11713
13996
  */
11714
13997
  renderSingleActionCell(n, e) {
11715
- var r;
11716
- const t = this.parsedActions.find((o) => o.name === n);
13998
+ var t;
13999
+ const r = this.parsedActions.find((a) => a.name === n);
11717
14000
  if (this.actionTemplate)
11718
14001
  return this.actionTemplate(e);
11719
- if ((t.type || "button") === "checkbox") {
11720
- const o = (r = t.field) !== null && r !== void 0 ? r : t.name, a = !!e[o];
11721
- return i("eds-input-field", { name: `chc-${n}`, label: t.label, type: "checkbox", checked: a, onChange: (s) => this.emitAction(t.name, e, s.target.checked) });
14002
+ if ((r.type || "button") === "checkbox") {
14003
+ const a = (t = r.field) !== null && t !== void 0 ? t : r.name, c = !!e[a];
14004
+ return i("eds-input-field", { name: `chc-${n}`, label: r.label, type: "checkbox", checked: c, onChange: (d) => this.emitAction(r.name, e, d.target.checked) });
11722
14005
  }
11723
- return i("eds-link", { label: t.label, intent: "weak", onClick: () => this.emitAction(t.name, e) });
14006
+ return i("eds-button", { label: r.label, icon: r.icon, pill: !0, size: "small", intent: "ghost", tabIndex: 0, onClick: () => this.emitAction(r.name, e) });
11724
14007
  }
11725
- emitAction(n, e, r) {
11726
- f({
14008
+ emitAction(n, e, t) {
14009
+ A({
11727
14010
  category: "ui-component",
11728
14011
  parentContext: null,
11729
14012
  tag: `${this.hostEl.tagName.toLowerCase()}/action`,
11730
14013
  name: n,
11731
14014
  action: "click"
11732
- }), this.rowaction.emit({ action: n, row: e, checked: !!r });
14015
+ }), this.rowaction.emit({ action: n, row: e, checked: !!t });
11733
14016
  }
11734
14017
  shouldEnablePagination() {
11735
14018
  return this.paginationEnabled && this.totalRows > this.rowsPerPage;
@@ -11752,17 +14035,22 @@ const Pn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
11752
14035
  return n.charAt(0).toUpperCase() + n.slice(1).toLowerCase();
11753
14036
  }
11754
14037
  render() {
11755
- const n = this.hostWidth && this.hostWidth.trim() !== "" ? Number(this.hostWidth) : this.containerWidth || 400, e = this.getVisibleColumnsCount(), r = e > 0 ? Math.floor(n / e * this.divisionFactor()) : 100, t = this.getPaginatedRows(), l = Math.ceil(this.totalRows / this.rowsPerPage);
11756
- return i("div", { key: "02339fab49389741529bd4333689e15c0409aecc" }, this.searchEnabled && i("div", { key: "a056734ff7bf25d8f561a185f8cf29742643c81d" }, i("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (o) => this.handleSearch(o) })), i("div", { key: "cbeb04c8d91034db5b7e6386e45c2dbc87d8f6ee", class: "mt-20" }, i("table", { key: "d707ffd979bc80da882ea38ce2d43cb5dee0702e", class: "block overflow-x-auto mt-6 p-0" }, i("thead", { key: "b4087412a0da69f0b3177785fb71ef2ce1d481a6" }, i("tr", { key: "eb4463081686841b3112cab121bf3aa4dcfffe31", class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((o) => {
11757
- var a;
11758
- return o === "actions" ? i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${r - 4}px` } }) : !((a = this.parsedConfig[o]) === null || a === void 0) && a.hidden ? null : i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${r - 4}px` } }, this.capitalize(o));
11759
- }))), i("tbody", { key: "3c0de8287738ff638a46721ee4e0e07bceffed8f" }, t.map((o) => i("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((a) => {
11760
- var s;
11761
- return a === "actions" ? i("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${r - 4}px` } }, i("div", { style: { display: "flex", gap: "0.5rem", justifyContent: "center", flexWrap: "wrap" } }, this.parsedActions.map((c) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(c.name, o))))) : !((s = this.parsedConfig[a]) === null || s === void 0) && s.hidden ? null : i("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${r - 4}px` } }, this.renderCell(o[a], a));
11762
- })))))), this.shouldEnablePagination() && i("div", { key: "27c640dfdd0906abeb7ec77dfb7fb1d052d50093", class: "mt-20" }, i("eds-pagination", { key: "0a74448e3f59098808d8ba1696b891c4ea9a37bc", currentPage: this.currentPage, lastPage: l, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })));
14038
+ const n = this.hostWidth && this.hostWidth.trim() !== "" ? Number(this.hostWidth) : this.containerWidth || 400, e = this.getVisibleColumnsCount(), t = e > 0 ? Math.floor(n / e * this.divisionFactor()) : 100, r = this.getPaginatedRows(), l = Math.ceil(this.totalRows / this.rowsPerPage);
14039
+ return i("div", { key: "87e7cc3c87618ede91bb51d7a07cd597a438d6c5" }, this.searchEnabled && i("div", { key: "6b77700a913e272eef4c932d40c5c5d001ff6b5c" }, i("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (a) => this.handleSearch(a) })), i("div", { key: "6f2ffc7a3ba2cc8e8194670a7ecb9e237f7dc60a", class: "mt-20" }, i("table", { key: "0227d3029f30ab9928cd01ba8dc2eccde2073f47", class: "block overflow-x-auto mt-6 p-0" }, i("thead", { key: "c1f844d8413b596d5ca07d6b79ebd36c8a17f51f" }, i("tr", { key: "caadaaf66314e3ea7d47a748b6e899389a7e2d55", class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((a) => {
14040
+ var c;
14041
+ return a === "actions" ? i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }) : !((c = this.parsedConfig[a]) === null || c === void 0) && c.hidden ? null : i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }, this.capitalize(a));
14042
+ }))), i("tbody", { key: "da9286063f16a5c346ce8854361cb15573166a19" }, r.map((a) => i("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((c) => {
14043
+ var d;
14044
+ return c === "actions" ? i("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${t - 4}px` } }, i("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
14045
+ display: "flex",
14046
+ gap: "0.5rem",
14047
+ justifyContent: "center",
14048
+ flexWrap: "wrap"
14049
+ } }, this.parsedActions.map((b) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(b.name, a))))) : !((d = this.parsedConfig[c]) === null || d === void 0) && d.hidden ? null : i("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${t - 4}px` } }, this.renderCell(a[c], c));
14050
+ })))))), this.shouldEnablePagination() && i("div", { key: "b7e7991225cf9fb16ca882dc42c7adead202aac5", class: "mt-20" }, i("eds-pagination", { key: "011f209f89300357e6052ee4d118f353419d5a45", currentPage: this.currentPage, lastPage: l, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })));
11763
14051
  }
11764
14052
  get hostEl() {
11765
- return g(this);
14053
+ return y(this);
11766
14054
  }
11767
14055
  static get watchers() {
11768
14056
  return {
@@ -11772,17 +14060,17 @@ const Pn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
11772
14060
  };
11773
14061
  }
11774
14062
  };
11775
- _n.style = Wn;
11776
- const Tn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(147 197 253 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;}::before,::after{--tw-content:''}a{color:inherit;text-decoration:inherit}.relative{position:relative}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.whitespace-nowrap{white-space:nowrap}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.focus-visible\\:text-default:focus-visible{color:var(--black)}.hover\\:text-default:hover{color:var(--black)}.border-2{border-width:2px}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.after\\:bottom-0::after{bottom:0rem}.after\\:border-0::after{border-width:0px}.after\\:border-b-2::after{border-bottom-width:2px}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:rounded-lg::after{border-radius:16px}.after\\:border-solid::after{border-style:solid}.after\\:border-3::after{border-width:3px}.after\\:border-accent::after{border-color:var(--green-500)}.after\\:opacity-0::after{opacity:0}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:after\\:opacity-100:focus-visible::after{opacity:1}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.rounded-tl-lg{border-top-left-radius:16px}.rounded-tr-lg{border-top-right-radius:16px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.pr-28{padding-right:1.75rem}.pl-28{padding-left:1.75rem}.-mr-16{margin-right:-1rem}.-ml-16{margin-left:-1rem}.px-16{padding-left:1rem;padding-right:1rem}.py-12{padding-top:0.75rem;padding-bottom:0.75rem}.after\\:left-16::after{left:1rem}.after\\:right-16::after{right:1rem}.text-lighter{color:var(--grey-600)}.bg-dark{background-color:var(--grey-300)}.hover\\:bg-darker:hover{background-color:var(--grey-400)}.border-soft{border-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.bg-default{background-color:var(--grey-200)}.text-default{color:var(--black)}.z-99{z-index:99}.before\\:bottom-0::before{bottom:0rem}.before\\:h-12::before{height:0.75rem}.before\\:opacity-5::before{opacity:0.05}.before\\:content-\\[\\'\\'\\]::before{--tw-content:'';content:var(--tw-content)}.before\\:absolute::before{position:absolute}.before\\:-bottom-2::before{bottom:-0.125rem}.after\\:inset-x-0::after{left:0rem;right:0rem}.before\\:inset-x-0::before{left:0rem;right:0rem}.before\\:h-3::before{height:0.1875rem}.before\\:bg-default::before{background-color:var(--grey-200)}.after\\:border-softest::after{border-color:rgba(0, 0, 0, .05)}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.before\\:bg-gradient-y::before{background:linear-gradient(to bottom, transparent, ease-in-out, black)}.scroller-x{-ms-overflow-style:none;scrollbar-width:none}.overflow-x-auto{overflow-x:auto}.max-w-xxxl{max-width:2200px}.z-1{z-index:1}.mx-auto{margin-left:auto;margin-right:auto}.pt-8{padding-top:0.5rem}.pr-16{padding-right:1rem}.pl-16{padding-left:1rem}.inline-flex{display:inline-flex}@media (min-width: 900px){.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}}@media (min-width: 2200px){.xxxl\\:px-0{padding-left:0rem;padding-right:0rem}}", On = Tn, $n = class {
14063
+ Ye.style = Ge;
14064
+ const Xe = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(147 197 253 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;}::before,::after{--tw-content:''}a{color:inherit;text-decoration:inherit}.relative{position:relative}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.whitespace-nowrap{white-space:nowrap}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus:focus-visible{outline-style:solid}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:text-default:focus-visible{color:var(--black)}.hover\\:text-default:hover{color:var(--black)}.border-2{border-width:2px}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.after\\:bottom-0::after{bottom:0rem}.after\\:border-0::after{border-width:0px}.after\\:border-b-2::after{border-bottom-width:2px}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:rounded-lg::after{border-radius:16px}.after\\:border-solid::after{border-style:solid}.after\\:border-3::after{border-width:3px}.after\\:border-accent::after{border-color:var(--green-500)}.after\\:opacity-0::after{opacity:0}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:after\\:opacity-100:focus-visible::after{opacity:1}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.rounded-tl-lg{border-top-left-radius:16px}.rounded-tr-lg{border-top-right-radius:16px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.border-b-0{border-bottom-width:0px}.pr-28{padding-right:1.75rem}.pl-28{padding-left:1.75rem}.-mr-16{margin-right:-1rem}.-ml-16{margin-left:-1rem}.px-16{padding-left:1rem;padding-right:1rem}.py-12{padding-top:0.75rem;padding-bottom:0.75rem}.after\\:left-16::after{left:1rem}.after\\:right-16::after{right:1rem}.text-lighter{color:var(--grey-600)}.bg-dark{background-color:var(--grey-300)}.hover\\:bg-darker:hover{background-color:var(--grey-400)}.border-soft{border-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.bg-default{background-color:var(--grey-200)}.text-default{color:var(--black)}.z-99{z-index:99}.after\\:z-10::after{z-index:10}.before\\:bottom-0::before{bottom:0rem}.before\\:h-12::before{height:0.75rem}.before\\:opacity-5::before{opacity:0.05}.before\\:content-\\[\\'\\'\\]::before{--tw-content:'';content:var(--tw-content)}.before\\:absolute::before{position:absolute}.before\\:-bottom-2::before{bottom:-0.125rem}.after\\:inset-x-0::after{left:0rem;right:0rem}.before\\:inset-x-0::before{left:0rem;right:0rem}.before\\:h-3::before{height:0.1875rem}.before\\:bg-default::before{background-color:var(--grey-200)}.after\\:border-soft::after{border-color:rgba(0, 0, 0, .15 )}.after\\:border-softest::after{border-color:rgba(0, 0, 0, .05)}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.before\\:bg-gradient-y::before{background:linear-gradient(to bottom, transparent, ease-in-out, black)}.scroller-x{-ms-overflow-style:none;scrollbar-width:none}.overflow-x-auto{overflow-x:auto}.max-w-xxxl{max-width:2200px}.z-1{z-index:1}.mx-auto{margin-left:auto;margin-right:auto}.pt-8{padding-top:0.5rem}.pr-16{padding-right:1rem}.pl-16{padding-left:1rem}.inline-flex{display:inline-flex}@media (min-width: 900px){.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}}@media (min-width: 2200px){.xxxl\\:px-0{padding-left:0rem;padding-right:0rem}}", Ke = Xe, Ze = class {
11777
14065
  constructor(n) {
11778
- d(this, n), this.tab = h(this, "tab", 7), this.tabCva = m([
14066
+ p(this, n), this.tab = S(this, "tab", 7), this.tabRefs = [], this.setTabRef = (e, t) => {
14067
+ e && (this.tabRefs[t] = e);
14068
+ }, this.tabCva = N([
11779
14069
  "relative py-12",
11780
14070
  "f-ui-03 whitespace-nowrap",
11781
- "effect-color",
14071
+ "effect-color effect-focus",
11782
14072
  "focus-visible:text-default hover:text-default",
11783
- "border-2",
11784
- "after:content-[''] after:absolute after:inset-0 after:rounded-t-lg after:opacity-0",
11785
- "outline-none focus:outline-none focus-visible:outline-none focus-visible:after:opacity-100"
14073
+ "border-2"
11786
14074
  ], {
11787
14075
  variants: {
11788
14076
  position: {
@@ -11792,7 +14080,10 @@ const Tn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
11792
14080
  right: "pl-28 pr-16 rounded-tr-lg border-l-0 -ml-16 after:left-16"
11793
14081
  },
11794
14082
  active: {
11795
- false: "text-lighter bg-dark hover:bg-darker border-softest after:border-0",
14083
+ false: [
14084
+ "text-lighter bg-dark hover:bg-darker border-softest border-b-0 z-1",
14085
+ "after:content-[''] after:absolute after:bottom-0 after:inset-x-0 after:h-2 after:border-soft"
14086
+ ],
11796
14087
  true: [
11797
14088
  "bg-default text-default z-99",
11798
14089
  "rounded-t-lg",
@@ -11804,28 +14095,25 @@ const Tn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
11804
14095
  }), this.identifier = void 0, this.navAriaLabel = "Tabs", this.tabs = void 0, this.parsedTabs = [], this.activeIndex = -1;
11805
14096
  }
11806
14097
  componentWillLoad() {
11807
- this.parseTabs(), this.setActiveIndex(), this.tab.emit({ tabId: this.identifier, index: 0 });
14098
+ this.parseTabs(), this.setActiveIndex(), this.tab.emit({ tabId: this.identifier, index: this.activeIndex });
11808
14099
  }
11809
14100
  /**
11810
- * Parses the `links` prop into an array of link objects.
11811
- * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
14101
+ * Parses the `tabs` prop into an array of tab objects.
14102
+ * Returns an empty array if parsing fails or if `tabs` is not a valid JSON string or object.
11812
14103
  *
11813
- * @returns {any[]} Array of parsed link objects
11814
- */
11815
- /**
11816
- * Parses the `links` prop into an array of link objects.
11817
- * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
11818
- *
11819
- * @returns {any[]} Array of parsed link objects
14104
+ * @returns {any[]} Array of parsed tab objects
11820
14105
  */
11821
14106
  parseTabs() {
11822
- this.parsedTabs = x(this.tabs);
14107
+ this.parsedTabs = R(this.tabs), this.tabRefs = [];
11823
14108
  }
11824
14109
  componentDidLoad() {
11825
14110
  this.scrollToActiveTab();
11826
14111
  }
14112
+ componentDidUpdate() {
14113
+ this.tabRefs.length !== this.parsedTabs.length && (this.tabRefs = new Array(this.parsedTabs.length).fill(null));
14114
+ }
11827
14115
  setActiveIndex() {
11828
- this.activeIndex = this.parsedTabs.findIndex((n) => n.active);
14116
+ this.activeIndex = this.parsedTabs.findIndex((n) => n.active), this.activeIndex === -1 && this.parsedTabs.length > 0 && (this.activeIndex = 0, this.parsedTabs[0].active = !0);
11829
14117
  }
11830
14118
  scrollToActiveTab() {
11831
14119
  var n;
@@ -11838,30 +14126,51 @@ const Tn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
11838
14126
  }, 316);
11839
14127
  }
11840
14128
  getTabOptions(n, e) {
11841
- const r = n ? "center" : this.activeIndex === -1 && e === 0 ? "first" : e < this.activeIndex ? "left" : "right";
11842
- return Object.assign({ class: this.tabCva({
11843
- active: n,
11844
- position: r
11845
- }), style: {
11846
- zIndex: `${n ? this.parsedTabs.length + 99 : r === "left" ? e : this.parsedTabs.length + 1 - e}`
14129
+ const t = n ? "center" : this.activeIndex === -1 && e === 0 ? "first" : e < this.activeIndex ? "left" : "right", r = t === "left" ? e : this.parsedTabs.length + 1 - e, l = n ? this.parsedTabs.length + 99 : Math.max(r, 1);
14130
+ return Object.assign({ class: this.tabCva({ active: n, position: t }), style: {
14131
+ // stringify the number so it matches { [key: string]: string }
14132
+ zIndex: `${l}`
11847
14133
  } }, n ? { "data-tab-active": "true" } : {});
11848
14134
  }
11849
- handleTabClick(n, e) {
11850
- this.activeIndex = n, this.parsedTabs = this.parsedTabs.map((r, t) => Object.assign(Object.assign({}, r), { active: t === n })), this.tab.emit({ tabId: this.identifier, index: n, name: e }), f({
14135
+ handleTabClick(n, e, t = !0) {
14136
+ n < 0 || n >= this.parsedTabs.length || (this.activeIndex = n, this.parsedTabs = this.parsedTabs.map((r, l) => Object.assign(Object.assign({}, r), { active: l === n })), this.tab.emit({ tabId: this.identifier, index: n, name: e }), t && A({
11851
14137
  category: "ui-component",
11852
14138
  tag: this.el.tagName.toLowerCase(),
11853
14139
  name: (e == null ? void 0 : e.toLowerCase()) || "",
11854
14140
  action: "click"
11855
- });
14141
+ }), t && this.tabRefs[n] && setTimeout(() => {
14142
+ var r;
14143
+ (r = this.tabRefs[n]) === null || r === void 0 || r.focus();
14144
+ }, 0));
14145
+ }
14146
+ onKeyDown(n, e) {
14147
+ let t = e;
14148
+ switch (n.key) {
14149
+ case "ArrowRight":
14150
+ t = (e + 1) % this.parsedTabs.length, n.preventDefault();
14151
+ break;
14152
+ case "ArrowLeft":
14153
+ t = (e - 1 + this.parsedTabs.length) % this.parsedTabs.length, n.preventDefault();
14154
+ break;
14155
+ case "Home":
14156
+ t = 0, n.preventDefault();
14157
+ break;
14158
+ case "End":
14159
+ t = this.parsedTabs.length - 1, n.preventDefault();
14160
+ break;
14161
+ default:
14162
+ return;
14163
+ }
14164
+ t !== e && this.handleTabClick(t, this.parsedTabs[t].label, !0);
11856
14165
  }
11857
14166
  render() {
11858
- return i("div", { key: "ef6902f4dafc40f290f8b63627f4534d665aa01d", id: `${this.identifier}` }, i("div", { key: "a120ea68061894c2d9e2e3f0b8e61f53732c8753", class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, i("nav", { key: "fb2bb608addcc777a55be828367e92268c676e16", ref: (n) => this.tabContainer = n, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((n, e) => {
11859
- const r = n.active ? "span" : "a", t = this.getTabOptions(n.active, e);
11860
- return i(r, Object.assign({}, t, { "aria-label": n.label, "aria-current": e === this.activeIndex, onClick: () => this.handleTabClick(e, n.label) }), n.label || n.ariaLabel);
11861
- }))), i("div", { key: "82d6a43a9c326b6be73c81205201b18f148641ad", class: "tab-panels" }, this.parsedTabs.map((n, e) => i("div", { hidden: e !== this.activeIndex }, i("slot", { name: `panel-${e}` })))));
14167
+ return i("div", { key: "e3bd802f08f460d5f3e89860669fefe2a8006e59", id: `${this.identifier}` }, i("div", { key: "bcbd4afb8febec0520075c8e34269f184e2d9738", class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, i("nav", { key: "32e93b3ee6831918fd863fb23f1a5af1ae979201", role: "tablist", ref: (n) => this.tabContainer = n, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((n, e) => {
14168
+ const t = "button", r = this.getTabOptions(n.active, e), l = e === this.activeIndex;
14169
+ return i(t, Object.assign({}, r, { type: "button", role: "tab", "aria-selected": n.active ? "true" : "false", tabIndex: l ? 0 : -1, "aria-label": n.ariaLabel || n.label, "aria-controls": `panel-${e}`, id: `tab-${e}`, ref: (a) => this.setTabRef(a, e), onClick: () => this.handleTabClick(e, n.label, !0), onKeyDown: (a) => this.onKeyDown(a, e) }), n.label || n.ariaLabel);
14170
+ }))), i("div", { key: "ffe610574d342933121cbaca9bcb8fb483fde60b", class: "tab-panels" }, this.parsedTabs.map((n, e) => i("div", { role: "tabpanel", id: `panel-${e}`, "aria-labelledby": `tab-${e}`, hidden: e !== this.activeIndex, tabIndex: e === this.activeIndex ? 0 : -1, class: "effect-focus" }, i("slot", { name: `panel-${e}` })))));
11862
14171
  }
11863
14172
  get el() {
11864
- return g(this);
14173
+ return y(this);
11865
14174
  }
11866
14175
  static get watchers() {
11867
14176
  return {
@@ -11869,8 +14178,8 @@ const Tn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
11869
14178
  };
11870
14179
  }
11871
14180
  };
11872
- $n.style = On;
11873
- const Hn = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.py-3{padding-top:0.1875rem;padding-bottom:0.1875rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.px-5{padding-left:0.3125rem;padding-right:0.3125rem}.px-6{padding-left:0.375rem;padding-right:0.375rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-accent{background-color:var(--green-500)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}", Dn = Hn, qn = m(
14181
+ Ze.style = Ke;
14182
+ const Je = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.py-3{padding-top:0.1875rem;padding-bottom:0.1875rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.px-5{padding-left:0.3125rem;padding-right:0.3125rem}.px-6{padding-left:0.375rem;padding-right:0.375rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-accent{background-color:var(--green-500)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}", Qe = Je, nt = N(
11874
14183
  ["border-2 rounded-pill"],
11875
14184
  // Base classes
11876
14185
  {
@@ -11898,19 +14207,19 @@ const Hn = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-u
11898
14207
  size: "small"
11899
14208
  }
11900
14209
  }
11901
- ), Rn = class {
14210
+ ), et = class {
11902
14211
  constructor(n) {
11903
- d(this, n), this.label = void 0, this.intent = "default", this.size = "small";
14212
+ p(this, n), this.label = void 0, this.intent = "default", this.size = "small";
11904
14213
  }
11905
14214
  render() {
11906
- const n = qn({ intent: this.intent, size: this.size });
11907
- return i("span", { key: "153cb5a6ab669555dd8e5815413dc0d1be5bee6d", class: n }, this.label);
14215
+ const n = nt({ intent: this.intent, size: this.size });
14216
+ return i("span", { key: "939fafa4bc525b747956931f49b27e6125ecbb34", class: n }, this.label);
11908
14217
  }
11909
14218
  };
11910
- Rn.style = Dn;
11911
- const Bn = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),
14219
+ et.style = Qe;
14220
+ const tt = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),
11912
14221
  0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),
11913
- var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-300)}.bg-success{background-color:var(--green-200)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-700)}.text-current{color:currentColor}.text-default{color:var(--black)}`, Nn = Bn, Mn = m(["relative bottom-4 w-auto p-12 rounded-lg shadow-md"], {
14222
+ var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-300)}.bg-success{background-color:var(--green-200)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-700)}.text-current{color:currentColor}.text-default{color:var(--black)}`, it = tt, rt = N(["relative bottom-4 w-auto p-12 rounded-lg shadow-md"], {
11914
14223
  variants: {
11915
14224
  intent: {
11916
14225
  default: "bg-dark text-light",
@@ -11922,9 +14231,9 @@ const Bn = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:
11922
14231
  defaultVariants: {
11923
14232
  intent: "default"
11924
14233
  }
11925
- }), Vn = class {
14234
+ }), lt = class {
11926
14235
  constructor(n) {
11927
- d(this, n), this.toast = h(this, "toast", 7), this.dismissToast = () => {
14236
+ p(this, n), this.toast = S(this, "toast", 7), this.dismissToast = () => {
11928
14237
  this.toast.emit({ visible: !1, label: "dismissed" }), this.visible = !1;
11929
14238
  }, this.message = void 0, this.intent = "default", this.duration = void 0, this.visible = !0;
11930
14239
  }
@@ -11956,17 +14265,17 @@ const Bn = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:
11956
14265
  render() {
11957
14266
  if (!this.visible)
11958
14267
  return null;
11959
- const n = Mn({ intent: this.intent });
14268
+ const n = rt({ intent: this.intent });
11960
14269
  return i("div", { class: n, role: "alert", "aria-live": "assertive" }, i("div", { class: "flex items-center justify-between gap-4" }, i("span", { class: "f-ui-01" }, this.message), i("eds-button", { intent: "tertiary", icon: "close", "aria-label": "Close Toast", onClick: () => this.dismissToast(), "extra-class": "ml-8" })));
11961
14270
  }
11962
14271
  get el() {
11963
- return g(this);
14272
+ return y(this);
11964
14273
  }
11965
14274
  };
11966
- Vn.style = Nn;
11967
- const Un = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.text-default{color:var(--black)}.min-w-\\[280px\\]{min-width:280px}.p-8{padding:0.5rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.gap-y-8{row-gap:0.5rem}.pb-16{padding-bottom:1rem}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1 )}.max-w-full{max-width:100%}.w-full{width:100%}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mt-16{margin-top:1rem}", Yn = Un, Xn = class {
14275
+ lt.style = it;
14276
+ const ot = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.text-default{color:var(--black)}.min-w-\\[280px\\]{min-width:280px}.p-8{padding:0.5rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.gap-y-8{row-gap:0.5rem}.pb-16{padding-bottom:1rem}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1 )}.max-w-full{max-width:100%}.w-full{width:100%}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mt-16{margin-top:1rem}", at = ot, st = class {
11968
14277
  constructor(n) {
11969
- d(this, n), this.user = void 0;
14278
+ p(this, n), this.user = void 0;
11970
14279
  }
11971
14280
  /**
11972
14281
  * Helper getter to ensure we work with a User object.
@@ -11983,44 +14292,51 @@ const Un = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex
11983
14292
  async componentWillLoad() {
11984
14293
  }
11985
14294
  get initials() {
11986
- var n, e, r, t;
14295
+ var n, e, t, r;
11987
14296
  const l = this.parsedUser;
11988
- return `${((n = l.given_name) === null || n === void 0 ? void 0 : n.charAt(0)) || ""}${((e = l.family_name) === null || e === void 0 ? void 0 : e.charAt(0)) || ""}`.toUpperCase() || ((t = (r = l.name) === null || r === void 0 ? void 0 : r.charAt(0)) === null || t === void 0 ? void 0 : t.toUpperCase()) || "";
14297
+ return `${((n = l.given_name) === null || n === void 0 ? void 0 : n.charAt(0)) || ""}${((e = l.family_name) === null || e === void 0 ? void 0 : e.charAt(0)) || ""}`.toUpperCase() || ((r = (t = l.name) === null || t === void 0 ? void 0 : t.charAt(0)) === null || r === void 0 ? void 0 : r.toUpperCase()) || "";
11989
14298
  }
11990
14299
  render() {
11991
14300
  const n = this.parsedUser;
11992
- return i("div", { key: "e1413d070d6f5ce0a5f7a45e8eed7a27941bda10", class: "block" }, i("div", { key: "f59cf79c2f09069d9e5bbae2bc126a0e3ef23564", class: "flex items-center" }, i("eds-dropdown", { key: "7316554277baffb16b6a2cc0ab0b4606a46ccfc8", label: `Hi, ${n.preferred_username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, i("div", { key: "df80f62cd5c6e0876fcc20c54dbd25d6db031ce0", class: "min-w-[280px] p-8" }, i("div", { key: "34f0bd24c4c8ec55d5e99f77d0378bc14fb6943f", class: "flex gap-x-16" }, i("eds-avatar", { key: "73e45e3d20d02711af982a7a801cb7d6e18e201e", "first-name": n.given_name, "last-name": n.family_name, initials: this.initials, color: "grey" }), i("div", { key: "1070df12372893476cc5ed2909ac735d0655cdb7", class: "max-w-full" }, n.name && i("p", { key: "4d6ca560545810da42d6acd5780c354565dc0d2d", class: "f-ui-01 text-default w-full text-ellipsis" }, n.name), n.preferred_username && i("p", { key: "f7e618449d15fc899484afda94e7837408f0b251", class: "f-ui-03-light text-light mt-4" }, n.preferred_username), n.email && i("p", { key: "e6ca46f9863cea6d6bfa7021ead181509a5806f0", class: "f-ui-03-light text-light mt-4" }, n.email))), i("eds-block-break", { key: "76c0ba26ef63e046b7a01e12332b812ad5873776" }), i("div", { key: "448e592221de4406477bb0eb6bc84975699008f3", class: "text-default flex w-full flex-col gap-y-8" }, i("slot", { key: "47e2d49bef131c827f49d3eaf68f6a09ba948707" }))))));
14301
+ return i("div", { key: "8a1f10cc85d8e2707042c85bc597b76fb2d25da4", class: "block" }, i("div", { key: "a744de3d113920b8ff0d01ce273672b2bff57c97", class: "flex items-center" }, i("eds-dropdown", { key: "e9230372d79936a785050ebb3e41f40e73282a57", label: `Hi, ${n.preferred_username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, i("div", { key: "7d4bd0ee0985c840a18764cac784726ff1c987fb", class: "min-w-[280px] p-8" }, i("div", { key: "603d6807988dd79cd4e7827918ff8932d8463fc3", class: "flex gap-x-16" }, i("eds-avatar", { key: "65ba89139cb6e3b6cb90c2072eb68cc7dc1da49c", "first-name": n.given_name, "last-name": n.family_name, initials: this.initials, color: "grey" }), i("div", { key: "df35b758918ebccbdfe6630bd356e647522404e1", class: "max-w-full" }, n.name && i("p", { key: "7174f34445bb1a0b77a3c1b893421bd104832485", class: "f-ui-01 text-default w-full text-ellipsis" }, n.name), n.preferred_username && i("p", { key: "72d853f5014c03803dce7aa0a74d96847ed8c875", class: "f-ui-03-light text-light mt-4" }, n.preferred_username), n.email && i("p", { key: "e406e2f3ca8504220ee9586a1d176c15c7236502", class: "f-ui-03-light text-light mt-4" }, n.email))), i("div", { key: "8fd3b42ab4eb3d1d70a0b827e3a03af8503c55d1", class: "text-default flex w-full flex-col gap-y-8" }, i("slot", { key: "6a477155c256543b7793947d52feb3f5abb0df6e" }))))));
11993
14302
  }
11994
14303
  get hostEl() {
11995
- return g(this);
14304
+ return y(this);
11996
14305
  }
11997
14306
  };
11998
- Xn.style = Yn;
14307
+ st.style = at;
11999
14308
  export {
12000
- W as eds_avatar,
12001
- O as eds_block_break,
12002
- D as eds_button,
12003
- B as eds_dropdown,
12004
- J as eds_form,
12005
- Z as eds_header,
12006
- ee as eds_icon_wrapper,
12007
- rn as eds_img,
12008
- ie as eds_input,
12009
- on as eds_input_field,
12010
- dn as eds_input_footer,
12011
- hn as eds_input_label,
12012
- re as eds_input_range,
12013
- te as eds_input_search,
12014
- le as eds_input_select,
12015
- mn as eds_link,
12016
- yn as eds_logo,
12017
- kn as eds_pagination,
12018
- Sn as eds_rating,
12019
- Ln as eds_steps,
12020
- jn as eds_steps_v2,
12021
- _n as eds_table,
12022
- $n as eds_tabs,
12023
- Rn as eds_tag,
12024
- Vn as eds_toast,
12025
- Xn as eds_user
14309
+ En as eds_accordion,
14310
+ In as eds_alert,
14311
+ Tn as eds_avatar,
14312
+ Rn as eds_block_break,
14313
+ Nn as eds_breadcrumb,
14314
+ Wn as eds_button,
14315
+ Mn as eds_code_block,
14316
+ Gn as eds_dropdown,
14317
+ te as eds_form,
14318
+ le as eds_header,
14319
+ mt as eds_icon_wrapper,
14320
+ se as eds_img,
14321
+ ut as eds_input,
14322
+ ge as eds_input_field,
14323
+ be as eds_input_footer,
14324
+ xe as eds_input_label,
14325
+ xt as eds_input_range,
14326
+ pt as eds_input_search,
14327
+ yt as eds_input_select,
14328
+ we as eds_link,
14329
+ Ce as eds_logo,
14330
+ Fe as eds_matomo_notice,
14331
+ Le as eds_nps,
14332
+ $e as eds_pagination,
14333
+ Pe as eds_rating,
14334
+ He as eds_steps,
14335
+ Be as eds_steps_v2,
14336
+ Ue as eds_switch,
14337
+ Ye as eds_table,
14338
+ Ze as eds_tabs,
14339
+ et as eds_tag,
14340
+ lt as eds_toast,
14341
+ st as eds_user
12026
14342
  };