@ebrains/vue 0.4.0-alpha.0 → 0.6.0-alpha.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 (229) hide show
  1. package/analytics-44b1416b-3vYuu4Xs.mjs +28 -0
  2. package/analytics-44b1416b-ol77SdQE.js +1 -0
  3. package/color-2554aad6-CCcV5UJZ.mjs +131 -0
  4. package/color-2554aad6-D1hFGX4H.js +1 -0
  5. package/{color-primary-palette_6.entry-CSDWEKLH.mjs → color-primary-palette_6.entry-BJGrNiKE.mjs} +21 -21
  6. package/color-primary-palette_6.entry-CYSEDId9.js +1 -0
  7. package/correct-use-of-colors.entry-B36yaMb6.js +1 -0
  8. package/correct-use-of-colors.entry-C2K5ii07.mjs +59 -0
  9. package/eds-accordion_13.entry-BwXBZQ7p.mjs +8044 -0
  10. package/eds-accordion_13.entry-DuX3jvBd.js +7375 -0
  11. package/eds-alert.entry-B9K7jZdM.mjs +688 -0
  12. package/eds-alert.entry-HNjGFpMQ.js +608 -0
  13. package/eds-block-break.entry-1HfuhJmn.mjs +13 -0
  14. package/eds-block-break.entry-DQDjLThR.js +1 -0
  15. package/eds-breadcrumb.entry-Oe7Iu_rp.js +1 -0
  16. package/eds-breadcrumb.entry-nSQcSQxS.mjs +110 -0
  17. package/{eds-card-project.entry-C3eyu1U0.mjs → eds-card-project.entry-BMRVlg7J.mjs} +12 -11
  18. package/eds-card-project.entry-BQKGTSJB.js +1 -0
  19. package/eds-card-tags.entry-BjvxuQg1.mjs +13 -0
  20. package/{eds-card-tags.entry-YPPBWdFq.js → eds-card-tags.entry-DAkoUUin.js} +1 -1
  21. package/eds-card-tool.entry-B0rDGNdA.js +1 -0
  22. package/{eds-card-tool.entry-1_RNWh8n.mjs → eds-card-tool.entry-BPrlMiqY.mjs} +7 -7
  23. package/{eds-card-wrapper.entry-C4pNRjIj.mjs → eds-card-wrapper.entry-Ba4ljzon.mjs} +4 -4
  24. package/{eds-card-wrapper.entry-BfCDGeFs.js → eds-card-wrapper.entry-DyPmlYoI.js} +1 -1
  25. package/{eds-code-block.entry-DQEDpAjn.js → eds-code-block.entry-B3RL-q6l.js} +3 -3
  26. package/{eds-code-block.entry-B2xATQ7r.mjs → eds-code-block.entry-zX5MUsAS.mjs} +47 -47
  27. package/{eds-components-section.entry-D08woahG.js → eds-components-section.entry-BsmIIcun.js} +45 -36
  28. package/{eds-components-section.entry-DR-984-3.mjs → eds-components-section.entry-xnXY70G_.mjs} +56 -37
  29. package/eds-cookies-preference.entry-DAQEpE8v.mjs +20 -0
  30. package/eds-cookies-preference.entry-MAmSehJX.js +1 -0
  31. package/{eds-docs-palettes.entry-qKOj3XU9.js → eds-docs-palettes.entry-BiC_mzap.js} +1 -1
  32. package/{eds-docs-palettes.entry-B0yU2ZpL.mjs → eds-docs-palettes.entry-CFIZWB7Y.mjs} +2 -2
  33. package/{eds-docs-tokens.entry-BtRXzjrp.js → eds-docs-tokens.entry-CCwf01ke.js} +1 -1
  34. package/{eds-docs-tokens.entry-BVHiM7cK.mjs → eds-docs-tokens.entry-ClVBrRzm.mjs} +2 -2
  35. package/eds-dropdown_2.entry-Dhtc1LQe.js +1 -0
  36. package/eds-dropdown_2.entry-Ds54Abix.mjs +115 -0
  37. package/eds-footer.entry-CKr0MOpU.mjs +22 -0
  38. package/eds-footer.entry-DuNEl6BR.js +1 -0
  39. package/eds-form.entry-gO7sMMVG.js +7153 -0
  40. package/eds-form.entry-znKH1sqi.mjs +7340 -0
  41. package/eds-frame.entry-BE9_G-56.js +1 -0
  42. package/eds-frame.entry-COwMtc5z.mjs +74 -0
  43. package/eds-fullscreen-menu.entry-CRIb_lLm.js +1 -0
  44. package/eds-fullscreen-menu.entry-DdO0Nwbq.mjs +74 -0
  45. package/eds-header.entry-38uAVZoC.js +2 -0
  46. package/eds-header.entry-C0qfjzDY.mjs +75 -0
  47. package/eds-icon-arrow-diagonal.entry-BTLKc1cS.js +1 -0
  48. package/eds-icon-arrow-diagonal.entry-C7CZIqBn.mjs +13 -0
  49. package/eds-icon-arrow-right.entry-Bv_6skZy.js +1 -0
  50. package/eds-icon-arrow-right.entry-DNkmpAdY.mjs +13 -0
  51. package/eds-icon-bluesky.entry-B_WksyEk.mjs +13 -0
  52. package/{eds-icon-bluesky.entry-Dppj9cuC.js → eds-icon-bluesky.entry-BfYrb4Uv.js} +1 -1
  53. package/eds-icon-chevron-down.entry-DGjMxTKO.mjs +13 -0
  54. package/{eds-icon-chevron-down.entry-CidjiGQS.js → eds-icon-chevron-down.entry-OPmfChgp.js} +1 -1
  55. package/eds-icon-chevron-left.entry-CRr4AWkS.mjs +13 -0
  56. package/eds-icon-chevron-left.entry-_zMMz-c9.js +1 -0
  57. package/eds-icon-chevron-right.entry-0FshDV46.js +1 -0
  58. package/{eds-icon-chevron-right.entry-iy6d6tux.mjs → eds-icon-chevron-right.entry-YLnmNxjo.mjs} +2 -2
  59. package/eds-icon-chevron-up.entry-DGt49ffi.js +1 -0
  60. package/eds-icon-chevron-up.entry-NPODej6j.mjs +13 -0
  61. package/eds-icon-close.entry-BQULA4ki.mjs +13 -0
  62. package/{eds-icon-close.entry-CE-Nory7.js → eds-icon-close.entry-BSSS65tZ.js} +1 -1
  63. package/eds-icon-copy.entry-Di_H0U8v.mjs +13 -0
  64. package/{eds-icon-copy.entry-Bpe3I5b6.js → eds-icon-copy.entry-PvAtojYn.js} +1 -1
  65. package/eds-icon-eu.entry-BTzpJByN.mjs +13 -0
  66. package/eds-icon-eu.entry-D77vjTJ9.js +1 -0
  67. package/eds-icon-facebook.entry-CKmUhO4W.mjs +13 -0
  68. package/eds-icon-facebook.entry-DsPVhA3Z.js +1 -0
  69. package/eds-icon-gitlab.entry-D6VEWpO6.mjs +13 -0
  70. package/eds-icon-gitlab.entry-Dzq7ViR-.js +1 -0
  71. package/{eds-icon-linkedin.entry-CstoPbTS.js → eds-icon-linkedin.entry-7PCeoMEi.js} +1 -1
  72. package/eds-icon-linkedin.entry-BI2sjTDa.mjs +13 -0
  73. package/eds-icon-loader.entry-BoQTR6PV.mjs +13 -0
  74. package/{eds-icon-loader.entry-CaGFh0gM.js → eds-icon-loader.entry-Bp-ZxeW7.js} +1 -1
  75. package/eds-icon-mastodon.entry-Cm8XCAqa.mjs +13 -0
  76. package/eds-icon-mastodon.entry-DsU7dMbW.js +1 -0
  77. package/eds-icon-menu.entry-C7HmF2n5.mjs +13 -0
  78. package/eds-icon-menu.entry-DRd13IcH.js +1 -0
  79. package/{eds-icon-more.entry-68jT9AEw.js → eds-icon-more.entry-BOWM2H9H.js} +1 -1
  80. package/eds-icon-more.entry-CqvnBXDu.mjs +13 -0
  81. package/eds-icon-search.entry-BrANR30M.mjs +13 -0
  82. package/eds-icon-search.entry-CubLvPO7.js +1 -0
  83. package/{eds-icon-success.entry-CACuZjP6.js → eds-icon-success.entry-CDwqLyts.js} +1 -1
  84. package/eds-icon-success.entry-CtMWWFTW.mjs +13 -0
  85. package/eds-icon-twitter.entry-BnhBJxrn.js +1 -0
  86. package/eds-icon-twitter.entry-DHTwTPKu.mjs +13 -0
  87. package/eds-icon-user.entry-GYJBVLsU.js +1 -0
  88. package/eds-icon-user.entry-LTXtb_m4.mjs +13 -0
  89. package/eds-icon-youtube.entry-BluzizaX.js +1 -0
  90. package/eds-icon-youtube.entry-BqP_g-Pb.mjs +13 -0
  91. package/eds-input_7.entry-Bo9-yfaP.js +7167 -0
  92. package/eds-input_7.entry-CCX6iGUA.mjs +7373 -0
  93. package/eds-link.entry-B_t5O_EC.js +7288 -0
  94. package/eds-link.entry-D4lqKj64.mjs +7454 -0
  95. package/eds-login.entry-CB_gy86p.mjs +58 -0
  96. package/eds-login.entry-CDj80EGl.js +1 -0
  97. package/eds-logo-variations.entry-AbwI_N4g.mjs +22 -0
  98. package/{eds-logo-variations.entry-CUD-M_Fd.js → eds-logo-variations.entry-B7BEqih8.js} +1 -1
  99. package/eds-logo.entry-C4YV268f.mjs +61 -0
  100. package/eds-logo.entry-D-2GjdZl.js +1 -0
  101. package/eds-modal.entry-2mm8jzwO.mjs +84 -0
  102. package/eds-modal.entry-N0Zu-2yI.js +1 -0
  103. package/{eds-navigator.entry-BJTqtqld.js → eds-navigator.entry-Bd0BYBJE.js} +1 -1
  104. package/{eds-navigator.entry-DdzcXSRW.mjs → eds-navigator.entry-DJHFUppb.mjs} +2 -2
  105. package/eds-pagination_2.entry-N7stHjY-.js +1 -0
  106. package/{eds-pagination_2.entry-B5PLo2Uu.mjs → eds-pagination_2.entry-T_lnxySd.mjs} +9 -9
  107. package/{eds-progress-bar.entry-DdqH0plT.mjs → eds-progress-bar.entry-BpqT4TGP.mjs} +5 -5
  108. package/{eds-progress-bar.entry-BBFsASiy.js → eds-progress-bar.entry-C-qHC2dN.js} +1 -1
  109. package/eds-rating.entry-C1djorgY.js +1 -0
  110. package/eds-rating.entry-DJbkld-l.mjs +48 -0
  111. package/{eds-section-core_2.entry-D3HYngR_.mjs → eds-section-core_2.entry-BwoSUszo.mjs} +6 -6
  112. package/{eds-section-core_2.entry-D_nLUa29.js → eds-section-core_2.entry-JyCa51Zs.js} +1 -1
  113. package/eds-social-networks.entry-CWw8CODU.mjs +50 -0
  114. package/eds-social-networks.entry-CveQgGlC.js +1 -0
  115. package/eds-steps.entry-NC8mexCJ.js +1 -0
  116. package/eds-steps.entry-gPHX8t5y.mjs +37 -0
  117. package/{eds-svg-repository.entry-in72TP_1.js → eds-svg-repository.entry-BhAWpTfJ.js} +2 -2
  118. package/{eds-svg-repository.entry-C-kayEdW.mjs → eds-svg-repository.entry-DeKbE1sw.mjs} +2 -2
  119. package/eds-switch.entry-6C-fiD1f.js +1 -0
  120. package/eds-switch.entry-LXqTebs4.mjs +20 -0
  121. package/{eds-tab.entry-BKYSiEkl.mjs → eds-tab.entry-7_C7zAnd.mjs} +2 -2
  122. package/{eds-tab.entry-BUzZWKac.js → eds-tab.entry-BI3X5Amp.js} +1 -1
  123. package/{eds-tabs-content.entry-3cyCQAth.mjs → eds-tabs-content.entry-BYK_ciTB.mjs} +6 -6
  124. package/eds-tabs-content.entry-FqonRXn9.js +1 -0
  125. package/{eds-tabs.entry-B8q09in2.mjs → eds-tabs.entry-CCGBUoii.mjs} +7 -7
  126. package/eds-tabs.entry-VauMxz1h.js +1 -0
  127. package/{eds-timeline.entry-DhHSQScv.mjs → eds-timeline.entry-B-eABvy-.mjs} +2 -2
  128. package/{eds-timeline.entry-DEcov8mq.js → eds-timeline.entry-UjKckHoD.js} +1 -1
  129. package/{eds-tooltip.entry-BTunlfGS.mjs → eds-tooltip.entry-BSd2vlEo.mjs} +3 -3
  130. package/eds-tooltip.entry-D9pRQyxl.js +1 -0
  131. package/{eds-trl.entry-Bt28XH55.mjs → eds-trl.entry-C1CKXjzi.mjs} +8 -8
  132. package/{eds-trl.entry-BHrlC_5O.js → eds-trl.entry-DdPaX9aY.js} +1 -1
  133. package/eds-user.entry-BX3nKCHB.mjs +66 -0
  134. package/eds-user.entry-CyEG-Wtm.js +1 -0
  135. package/eds-vertical-stepper.entry-CdmDXaW2.mjs +27 -0
  136. package/eds-vertical-stepper.entry-DphlSSa0.js +1 -0
  137. package/generated/components.d.ts +3 -0
  138. package/incorrect-use-of-colors.entry-BhygRTdu.js +1 -0
  139. package/incorrect-use-of-colors.entry-QkMrxvFS.mjs +42 -0
  140. package/{index-I5Asbjce.mjs → index-Df31uHzU.mjs} +609 -510
  141. package/index-DvG3cC-8.js +21 -0
  142. package/index.js +1 -1
  143. package/index.mjs +30 -27
  144. package/{keycloak-13893af6-BLzE1H6E.mjs → keycloak-d502ec16-Ce0iGqyk.mjs} +259 -247
  145. package/keycloak-d502ec16-m7LwS-Gh.js +9 -0
  146. package/{logo-space.entry-GnVq-srD.mjs → logo-space.entry-CChbx8AS.mjs} +7 -7
  147. package/{logo-space.entry-DsM5jXgX.js → logo-space.entry-q9Uznxi3.js} +1 -1
  148. package/logo-variations-horizontal_2.entry-DA_yMnFa.mjs +29 -0
  149. package/logo-variations-horizontal_2.entry-G3ih093R.js +7 -0
  150. package/logo-wrong-usage.entry-BoBmwzLl.mjs +14 -0
  151. package/logo-wrong-usage.entry-l4pJC0KB.js +1 -0
  152. package/package.json +1 -1
  153. package/{token-list_3.entry-DaIOT7_R.js → token-list_3.entry-B4bQ3_yz.js} +1 -1
  154. package/{token-list_3.entry-CReCwFzO.mjs → token-list_3.entry-CJXI55T0.mjs} +4 -4
  155. package/{token-ratios.entry-Dh8kvz8R.mjs → token-ratios.entry-LNQoHORe.mjs} +2 -2
  156. package/token-ratios.entry-hdef-MAq.js +1 -0
  157. package/token-spacing.entry-YXQwnYx0.mjs +12 -0
  158. package/token-spacing.entry-xhNHm9Tw.js +1 -0
  159. package/{token-typography.entry-DG-4k5gY.js → token-typography.entry-DddK_fiy.js} +1 -1
  160. package/{token-typography.entry-CIETKadf.mjs → token-typography.entry-qTyV0EeH.mjs} +2 -2
  161. package/color-bb472c37-CKu54kOY.js +0 -1
  162. package/color-bb472c37-DDERsxdk.mjs +0 -207
  163. package/color-primary-palette_6.entry-BB6740d4.js +0 -1
  164. package/correct-use-of-colors.entry-LuyuqIQ9.js +0 -1
  165. package/correct-use-of-colors.entry-hvZ1z3tc.mjs +0 -59
  166. package/eds-accordion_33.entry-DFgdjlJE.mjs +0 -31360
  167. package/eds-accordion_33.entry-DlnbmQ6R.js +0 -29468
  168. package/eds-card-project.entry-BQ-dH8vM.js +0 -1
  169. package/eds-card-section.entry-DU-1TB0I.js +0 -1
  170. package/eds-card-section.entry-Dxk-Ob_Y.mjs +0 -39
  171. package/eds-card-tags.entry-CIu6lD0P.mjs +0 -13
  172. package/eds-card-tool.entry-DgBqQucY.js +0 -1
  173. package/eds-icon-arrow-diagonal.entry-DjDB--sU.js +0 -1
  174. package/eds-icon-arrow-diagonal.entry-E5xC3m8H.mjs +0 -13
  175. package/eds-icon-arrow-right.entry-DaXIkUew.mjs +0 -13
  176. package/eds-icon-arrow-right.entry-odZ8U-W2.js +0 -1
  177. package/eds-icon-bluesky.entry-B3yW2mUC.mjs +0 -13
  178. package/eds-icon-chevron-down.entry-xWODzTE-.mjs +0 -13
  179. package/eds-icon-chevron-left.entry-CJyHE01I.mjs +0 -13
  180. package/eds-icon-chevron-left.entry-DjJj-hmG.js +0 -1
  181. package/eds-icon-chevron-right.entry-D8RyOADq.js +0 -1
  182. package/eds-icon-chevron-up.entry-TKCdY_T3.mjs +0 -13
  183. package/eds-icon-chevron-up.entry-ezV-v92v.js +0 -1
  184. package/eds-icon-close.entry-Brv3Uxu1.mjs +0 -13
  185. package/eds-icon-copy.entry-DQioS3t7.mjs +0 -13
  186. package/eds-icon-eu.entry-BzmYOiKL.js +0 -1
  187. package/eds-icon-eu.entry-KylDo55P.mjs +0 -13
  188. package/eds-icon-facebook.entry-DWZ02rD5.js +0 -1
  189. package/eds-icon-facebook.entry-DpS2m4v2.mjs +0 -13
  190. package/eds-icon-gitlab.entry-D8PM12SK.js +0 -1
  191. package/eds-icon-gitlab.entry-JX-5azIw.mjs +0 -13
  192. package/eds-icon-linkedin.entry-BylIVu8G.mjs +0 -13
  193. package/eds-icon-loader.entry-DZyUa8Na.mjs +0 -13
  194. package/eds-icon-mastodon.entry-BIckHn_q.mjs +0 -13
  195. package/eds-icon-mastodon.entry-DxNG__-Y.js +0 -1
  196. package/eds-icon-menu.entry-C9N6s8Oa.mjs +0 -13
  197. package/eds-icon-menu.entry-DwN-ZAWi.js +0 -1
  198. package/eds-icon-more.entry-MUkUL_e2.mjs +0 -13
  199. package/eds-icon-search.entry-CcwwFnns.mjs +0 -13
  200. package/eds-icon-search.entry-CrfMqbyi.js +0 -1
  201. package/eds-icon-success.entry-BUzsze9h.mjs +0 -13
  202. package/eds-icon-twitter.entry-B1Iw69NW.mjs +0 -13
  203. package/eds-icon-twitter.entry-BbStwaGv.js +0 -1
  204. package/eds-icon-user.entry-CNo6pger.mjs +0 -13
  205. package/eds-icon-user.entry-vYVsxfK7.js +0 -1
  206. package/eds-icon-youtube.entry-CBU7Dvkh.mjs +0 -13
  207. package/eds-icon-youtube.entry-CmCAFp7D.js +0 -1
  208. package/eds-login.entry-Bfztcsrc.js +0 -1
  209. package/eds-login.entry-XqWPWCDL.mjs +0 -46
  210. package/eds-logo-variations.entry-Cy_fbJLx.mjs +0 -22
  211. package/eds-matomo-notice.entry-CytVSgYS.js +0 -1
  212. package/eds-matomo-notice.entry-kSuLDx9K.mjs +0 -91
  213. package/eds-pagination_2.entry-DUsG8tcv.js +0 -1
  214. package/eds-rating.entry-CErokyKU.mjs +0 -38
  215. package/eds-rating.entry-p9oWKCkQ.js +0 -1
  216. package/eds-tabs-content.entry-Cg7U8c5D.js +0 -1
  217. package/eds-tabs.entry-DS6qBEo7.js +0 -1
  218. package/eds-tooltip.entry-sjwuhdKF.js +0 -1
  219. package/incorrect-use-of-colors.entry-DkY89xG1.mjs +0 -42
  220. package/incorrect-use-of-colors.entry-e4VhTVHS.js +0 -1
  221. package/index-D2H_BflF.js +0 -21
  222. package/keycloak-13893af6-NiM3zoVg.js +0 -9
  223. package/logo-variations-horizontal_2.entry-BeQ_r9Li.js +0 -7
  224. package/logo-variations-horizontal_2.entry-CC7tj8Hr.mjs +0 -29
  225. package/logo-wrong-usage.entry-Ct1Ae63m.mjs +0 -14
  226. package/logo-wrong-usage.entry-DkqcMaqp.js +0 -1
  227. package/token-ratios.entry-aBiRsmfr.js +0 -1
  228. package/token-spacing.entry-C5HX4qPq.mjs +0 -12
  229. package/token-spacing.entry-DDiMRsNO.js +0 -1
@@ -0,0 +1,110 @@
1
+ import { r as n, h as r, g as d } from "./index-Df31uHzU.mjs";
2
+ const c = "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}}", h = c, m = class {
3
+ constructor(e) {
4
+ n(this, e), this.updateScreenSize = () => {
5
+ const t = window.innerWidth;
6
+ t < 769 ? (this.maxVisibleItems = 3, this.isSmallScreen = !0) : t <= 1024 ? (this.maxVisibleItems = 4, this.isSmallScreen = !0) : (this.maxVisibleItems = 6, this.isSmallScreen = !1);
7
+ }, this.items = [], this.intent = "ghost", this.parsedItems = [], this.isSmallScreen = !1, this.maxVisibleItems = 6;
8
+ }
9
+ /**
10
+ * Watches for changes to the `items` prop and parses it.
11
+ */
12
+ parseItems(e) {
13
+ if (typeof e == "string")
14
+ try {
15
+ const t = JSON.parse(e);
16
+ this.parsedItems = Array.isArray(t) ? t : [];
17
+ } catch {
18
+ this.parsedItems = [];
19
+ }
20
+ else Array.isArray(e) ? this.parsedItems = e : this.parsedItems = [];
21
+ }
22
+ /**
23
+ * Lifecycle method that runs when the component is about to be loaded.
24
+ * It parses the initial `items` prop value.
25
+ */
26
+ componentWillLoad() {
27
+ this.parseItems(this.items), this.updateScreenSize(), window.addEventListener("resize", this.updateScreenSize);
28
+ }
29
+ disconnectedCallback() {
30
+ window.removeEventListener("resize", this.updateScreenSize);
31
+ }
32
+ /**
33
+ * Lifecycle method that runs when the component has fully loaded.
34
+ * It emits a custom event for each `eds-link` element contained within the breadcrumb.
35
+ */
36
+ componentDidLoad() {
37
+ var e;
38
+ const t = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll("eds-link");
39
+ t == null || t.forEach((i) => {
40
+ this.emitContext(i);
41
+ });
42
+ }
43
+ /**
44
+ * Emits a custom event called `parentContext` for a given link element.
45
+ * This event provides context information about the breadcrumb component.
46
+ *
47
+ * @param linkElement - The link element to which the event will be dispatched.
48
+ */
49
+ emitContext(e) {
50
+ const t = new CustomEvent("parentContext", {
51
+ detail: {
52
+ componentName: this.el.tagName.toLowerCase(),
53
+ identifier: null
54
+ }
55
+ });
56
+ e.dispatchEvent(t);
57
+ }
58
+ /**
59
+ * Returns breadcrumb items with potential truncation if there are too many.
60
+ * It inserts an ellipsis item where necessary.
61
+ */
62
+ getTruncatedItems() {
63
+ const e = this.parsedItems.length, t = { label: "...", url: "", isHidden: !0 };
64
+ if (e > this.maxVisibleItems) {
65
+ const i = this.parsedItems[0], s = this.parsedItems.slice(-2);
66
+ if (this.maxVisibleItems === 3)
67
+ return [i, t, ...s];
68
+ if (this.maxVisibleItems === 4) {
69
+ const a = this.parsedItems[Math.floor(e / 2)];
70
+ return [i, a, t, ...s];
71
+ }
72
+ }
73
+ return this.parsedItems;
74
+ }
75
+ /**
76
+ * Helper to determine the display label and full label.
77
+ * If the label is longer than 15 characters and the item is not the current (last) item,
78
+ * we display a truncated version but use the full label for aria attributes.
79
+ */
80
+ getLabels(e, t) {
81
+ return !t && e.label.length > 15 ? { displayLabel: `${e.label.slice(0, 15)}...`, fullLabel: e.label } : { displayLabel: e.label, fullLabel: e.label };
82
+ }
83
+ /**
84
+ * Render method for the breadcrumb component.
85
+ * It creates a navigation element with an ordered list of breadcrumb links.
86
+ * The last link is marked as the current page.
87
+ */
88
+ render() {
89
+ const e = this.getTruncatedItems();
90
+ return r("nav", { key: "d177957e1b3218c21991bbdc9636a8e32befe990", "aria-label": "Breadcrumb" }, r("ol", { key: "d10336ddee99b9fb84d17e53093c57c6a025982f", class: "flex items-center space-x-2" }, e.map((t, i) => {
91
+ const s = i === e.length - 1;
92
+ return r("li", { class: "flex items-center" }, t.isHidden ? r("span", { class: "truncate px-2", "aria-hidden": "true" }, "...") : (() => {
93
+ const { displayLabel: a, fullLabel: l } = this.getLabels(t, s);
94
+ return r("eds-link", Object.assign({ label: a, url: t.url, intent: this.intent, current: s, "aria-label": l, size: "small", "icon-small": "false" }, s ? { "aria-current": "page" } : {}));
95
+ })(), !s && !t.isHidden && r("eds-icon-wrapper", { icon: "chevron-right", class: "w-20 h-20" }));
96
+ })));
97
+ }
98
+ get el() {
99
+ return d(this);
100
+ }
101
+ static get watchers() {
102
+ return {
103
+ items: ["parseItems"]
104
+ };
105
+ }
106
+ };
107
+ m.style = h;
108
+ export {
109
+ m as eds_breadcrumb
110
+ };
@@ -1,6 +1,7 @@
1
- import { r, h as e, g as d } from "./index-I5Asbjce.mjs";
2
- import { s as c, g as l } from "./color-bb472c37-DDERsxdk.mjs";
3
- const f = class {
1
+ import { r, h as e, g as d } from "./index-Df31uHzU.mjs";
2
+ import { s as l } from "./analytics-44b1416b-3vYuu4Xs.mjs";
3
+ import { g as o } from "./color-2554aad6-CCcV5UJZ.mjs";
4
+ const h = class {
4
5
  constructor(t) {
5
6
  r(this, t), this.image = void 0, this.editorialTitle = void 0, this.headingLevel = "h3", this.categoryTitle = void 0, this.color = void 0, this.bgOnHover = !1, this.vertical = !1, this.titleProject = void 0, this.url = void 0, this.parsedImage = null;
6
7
  }
@@ -12,32 +13,32 @@ const f = class {
12
13
  }
13
14
  }
14
15
  handleClick(t) {
15
- var i;
16
- t.preventDefault(), c({
16
+ var a;
17
+ t.preventDefault(), l({
17
18
  category: "ui-component",
18
19
  tag: this.el.tagName.toLowerCase(),
19
- name: ((i = this.titleProject) === null || i === void 0 ? void 0 : i.toLowerCase()) || "",
20
+ name: ((a = this.titleProject) === null || a === void 0 ? void 0 : a.toLowerCase()) || "",
20
21
  action: "click"
21
22
  });
22
23
  }
23
24
  render() {
24
25
  var t;
25
- const i = [
26
+ const a = [
26
27
  "min-h-156 border-inside after:border-softest @container overflow-hidden border-0 after:rounded-lg",
27
- this.color ? l({
28
+ this.color ? o({
28
29
  color: this.color,
29
30
  hover: this.bgOnHover,
30
31
  class: "before:border-2 before:rounded-lg before:border-softest"
31
32
  }) : "bg-default",
32
33
  this.bgOnHover && this.color ? "effect-background bg-default focus-within:bg-transparent hover:bg-transparent" : "effect-background hover:bg-default",
33
34
  this.vertical ? "flex-col gap-y-16" : "flex-col gap-x-16 gap-y-12 lg:flex-row"
34
- ].join(" "), a = this.vertical ? "" : "max-w-120 @md:max-w-192 order-first w-full lg:order-last";
35
- return e("article", { key: "6af49754300ded8748ac3f40175e262480054969", class: i, onClick: (s) => this.handleClick(s) }, e("div", { key: "91e8501312957c44d9dc075f2ec3a9e5a5d425cb", class: `flex grow flex-col ${this.vertical ? "min-h-156" : ""}` }, e("div", { key: "44e3cf2d67255bb5669b6c721741ed060ba599e7", class: "lg:max-w-[720px]" }, e("eds-card-title", { key: "0cf1d124b975e4d7223bab58db0d5861d348ceb2", "heading-level": this.headingLevel, titleClass: this.image ? "f-ui-01" : void 0, "card-title": this.titleProject, url: this.url }), this.editorialTitle && e("span", { key: "85e1158691ae876bc0f3c6d0c5557f394ae935cb", class: `block ${this.vertical ? "f-ui-02" : "mt-4 f-heading-06"}` }, this.editorialTitle)), this.categoryTitle && e("div", { key: "9ffdc9f14709600b623c3a5f878b2700864ced79", class: "mt-auto flex items-center gap-x-12 pt-12" }, ((t = this.categoryTitle) === null || t === void 0 ? void 0 : t.length) && e("eds-tag", { key: "ecc5e55430df355c13420add9969855d1d54c27f", label: this.categoryTitle }))), this.parsedImage && e("div", { key: "97de7a06a13d9843cb18fe4eb19303f436e2ce16", class: a }, e("div", { key: "532d3c8252316a68976b4587c3d5b63167c0c598", class: "aspect-1x1 w-full" }, e("eds-img", Object.assign({ key: "37ee3dbbc99ec8c9139b0a89f9c725768eac5f6d", sizes: this.vertical ? this.parsedImage.sizes || "" : "192px" }, this.parsedImage)))));
35
+ ].join(" "), i = this.vertical ? "" : "max-w-120 @md:max-w-192 order-first w-full lg:order-last";
36
+ return e("article", { key: "98c5dbd033ec05d08965559e00f32d9fe18698ef", class: a, onClick: (s) => this.handleClick(s) }, e("div", { key: "e083c43e38c3c24fcd996a90267f7cd92d3651b3", class: `flex grow flex-col ${this.vertical ? "min-h-156" : ""}` }, e("div", { key: "37de1e46023b533fd8595a3077c4e68c11fb01af", class: "lg:max-w-[720px]" }, e("eds-card-title", { key: "ee31ae2804d2c17c82e8f4c0c3269ac8254331df", "heading-level": this.headingLevel, titleClass: this.image ? "f-ui-01" : void 0, "card-title": this.titleProject, url: this.url }), this.editorialTitle && e("span", { key: "c6f74ba9b5b522f713e25d3339f541efa68cdddd", class: `block ${this.vertical ? "f-ui-02" : "mt-4 f-heading-06"}` }, this.editorialTitle)), this.categoryTitle && e("div", { key: "ab18e55046777cf4a4f58ebd057641db9b9e0328", class: "mt-auto flex items-center gap-x-12 pt-12" }, ((t = this.categoryTitle) === null || t === void 0 ? void 0 : t.length) && e("eds-tag", { key: "3714ee86a74dce7f33a8f953fd726db349ba9271", label: this.categoryTitle }))), this.parsedImage && e("div", { key: "2818d15f7ab671b7b2dfb34ec3085b390150f38d", class: i }, e("div", { key: "5166feef3674631298f699449b956655f38f0db9", class: "aspect-1x1 w-full" }, e("eds-img", Object.assign({ key: "86555a43491da5b2aa3b287e539e603a2c2adaf3", sizes: this.vertical ? this.parsedImage.sizes || "" : "192px" }, this.parsedImage)))));
36
37
  }
37
38
  get el() {
38
39
  return d(this);
39
40
  }
40
41
  };
41
42
  export {
42
- f as eds_card_project
43
+ h as eds_card_project
43
44
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),r=require("./analytics-44b1416b-ol77SdQE.js"),d=require("./color-2554aad6-D1hFGX4H.js"),l=class{constructor(t){e.registerInstance(this,t),this.image=void 0,this.editorialTitle=void 0,this.headingLevel="h3",this.categoryTitle=void 0,this.color=void 0,this.bgOnHover=!1,this.vertical=!1,this.titleProject=void 0,this.url=void 0,this.parsedImage=null}componentWillLoad(){if(this.image)try{this.parsedImage=JSON.parse(this.image)}catch{}}handleClick(t){var i;t.preventDefault(),r.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:((i=this.titleProject)===null||i===void 0?void 0:i.toLowerCase())||"",action:"click"})}render(){var t;const i=["min-h-156 border-inside after:border-softest @container overflow-hidden border-0 after:rounded-lg",this.color?d.gradientBGColorVariants({color:this.color,hover:this.bgOnHover,class:"before:border-2 before:rounded-lg before:border-softest"}):"bg-default",this.bgOnHover&&this.color?"effect-background bg-default focus-within:bg-transparent hover:bg-transparent":"effect-background hover:bg-default",this.vertical?"flex-col gap-y-16":"flex-col gap-x-16 gap-y-12 lg:flex-row"].join(" "),a=this.vertical?"":"max-w-120 @md:max-w-192 order-first w-full lg:order-last";return e.h("article",{key:"98c5dbd033ec05d08965559e00f32d9fe18698ef",class:i,onClick:s=>this.handleClick(s)},e.h("div",{key:"e083c43e38c3c24fcd996a90267f7cd92d3651b3",class:`flex grow flex-col ${this.vertical?"min-h-156":""}`},e.h("div",{key:"37de1e46023b533fd8595a3077c4e68c11fb01af",class:"lg:max-w-[720px]"},e.h("eds-card-title",{key:"ee31ae2804d2c17c82e8f4c0c3269ac8254331df","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.titleProject,url:this.url}),this.editorialTitle&&e.h("span",{key:"c6f74ba9b5b522f713e25d3339f541efa68cdddd",class:`block ${this.vertical?"f-ui-02":"mt-4 f-heading-06"}`},this.editorialTitle)),this.categoryTitle&&e.h("div",{key:"ab18e55046777cf4a4f58ebd057641db9b9e0328",class:"mt-auto flex items-center gap-x-12 pt-12"},((t=this.categoryTitle)===null||t===void 0?void 0:t.length)&&e.h("eds-tag",{key:"3714ee86a74dce7f33a8f953fd726db349ba9271",label:this.categoryTitle}))),this.parsedImage&&e.h("div",{key:"2818d15f7ab671b7b2dfb34ec3085b390150f38d",class:a},e.h("div",{key:"5166feef3674631298f699449b956655f38f0db9",class:"aspect-1x1 w-full"},e.h("eds-img",Object.assign({key:"86555a43491da5b2aa3b287e539e603a2c2adaf3",sizes:this.vertical?this.parsedImage.sizes||"":"192px"},this.parsedImage)))))}get el(){return e.getElement(this)}};exports.eds_card_project=l;
@@ -0,0 +1,13 @@
1
+ import { r as t, h as s } from "./index-Df31uHzU.mjs";
2
+ const r = ".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}", c = r, l = class {
3
+ constructor(a) {
4
+ t(this, a), this.accent = !1, this.tags = [];
5
+ }
6
+ render() {
7
+ return s("div", { key: "272d53abb9be9086881cb2f8e99f7fb7aae1bb59", class: "flex flex-wrap gap-y-4" }, this.tags.map((a, e) => s("eds-tag", { key: e, intent: this.accent ? "accent" : "default", label: a })));
8
+ }
9
+ };
10
+ l.style = c;
11
+ export {
12
+ l as eds_card_tags
13
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-D2H_BflF.js"),r=".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}",c=r,s=class{constructor(e){a.registerInstance(this,e),this.accent=!1,this.tags=[]}render(){return a.h("div",{key:"60a129de62d45736eba0884cc24c9738f3a0f55c",class:"flex flex-wrap gap-y-4"},this.tags.map((e,t)=>a.h("eds-tag",{key:t,intent:this.accent?"accent":"default",label:e})))}};s.style=c;exports.eds_card_tags=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-DvG3cC-8.js"),r=".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}",c=r,s=class{constructor(e){a.registerInstance(this,e),this.accent=!1,this.tags=[]}render(){return a.h("div",{key:"272d53abb9be9086881cb2f8e99f7fb7aae1bb59",class:"flex flex-wrap gap-y-4"},this.tags.map((e,t)=>a.h("eds-tag",{key:t,intent:this.accent?"accent":"default",label:e})))}};s.style=c;exports.eds_card_tags=s;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-DvG3cC-8.js"),s=require("./analytics-44b1416b-ol77SdQE.js"),o=".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;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\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}",a=o,i=class{constructor(e){t.registerInstance(this,e),this.cardTitle=void 0,this.url=void 0,this.description=void 0,this.image=void 0,this.avatar=void 0,this.shortAbbreviation=void 0,this.headingLevel="h5",this.tags="",this.tiny=!1,this.bg=!0,this.withHover=!0,this.external=!1,this.hierarchy=!0}get parsedTags(){if(typeof this.tags=="object")return this.tags;if(typeof this.tags=="string")try{return JSON.parse(this.tags)}catch(e){return console.error("Error parsing links prop:",e),[]}return[]}componentWillLoad(){}parseTags(){return this.tags.split(",")}articleClasses(){return[this.tiny?"min-h-120":"min-h-156",this.bg?"bg-inverse":"bg-default",this.withHover?"effect-shadow hover:shadow-hover cursor-pointer":"","border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"].join(" ")}handleClick(){var e;s.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:((e=this.cardTitle)===null||e===void 0?void 0:e.toLowerCase())||"",action:"click"})}render(){return t.h("article",{key:"da61b384e966b148cd1f77eec59671bc4d92e259",class:`${this.el.tagName.toLowerCase()} ${this.articleClasses()}`,onClick:()=>this.handleClick()},t.h("eds-card-title",{key:"00702d032bc25f52b2a2c98255ceb60a1d314f4d","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.cardTitle,url:this.url,"external-link":this.external,hierarchy:this.hierarchy}),this.description&&t.h("eds-card-desc",{key:"d2b135ed422fb64f142af71330dc666e2f0c2b1f",class:"mt-8","truncate-lines":"3",description:this.description}),this.image?t.h("eds-img",{src:this.image,alt:"Sample Image",width:200,height:150}):this.avatar||this.shortAbbreviation?t.h("eds-avatar",{class:"order-first mb-12",picture:this.avatar,initials:this.shortAbbreviation}):null,t.h("div",{key:"54111e90175754cb0c1f2eb339e86926914ca0e7",class:"flex flex-wrap gap-y-4"},this.parsedTags.map((e,r)=>t.h("eds-tag",{key:r,intent:e.style,label:e.label}))))}get el(){return t.getElement(this)}};i.style=a;exports.eds_card_tool=i;
@@ -1,6 +1,6 @@
1
- import { r, h as t, g as s } from "./index-I5Asbjce.mjs";
2
- import { s as a } from "./color-bb472c37-DDERsxdk.mjs";
3
- const o = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;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\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}", n = o, d = class {
1
+ import { r, h as t, g as s } from "./index-Df31uHzU.mjs";
2
+ import { s as o } from "./analytics-44b1416b-3vYuu4Xs.mjs";
3
+ const a = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;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\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}", n = a, l = class {
4
4
  constructor(e) {
5
5
  r(this, e), this.cardTitle = void 0, this.url = void 0, this.description = void 0, this.image = void 0, this.avatar = void 0, this.shortAbbreviation = void 0, this.headingLevel = "h5", this.tags = "", this.tiny = !1, this.bg = !0, this.withHover = !0, this.external = !1, this.hierarchy = !0;
6
6
  }
@@ -36,7 +36,7 @@ const o = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25r
36
36
  }
37
37
  handleClick() {
38
38
  var e;
39
- a({
39
+ o({
40
40
  category: "ui-component",
41
41
  tag: this.el.tagName.toLowerCase(),
42
42
  name: ((e = this.cardTitle) === null || e === void 0 ? void 0 : e.toLowerCase()) || "",
@@ -44,13 +44,13 @@ const o = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25r
44
44
  });
45
45
  }
46
46
  render() {
47
- return t("article", { key: "b46c0464688e45ab29f5b58b6cd2e22ed28e1034", class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, t("eds-card-title", { key: "a4da791280db14754b445b1a52e33cc9a25f765e", "heading-level": this.headingLevel, titleClass: this.image ? "f-ui-01" : void 0, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && t("eds-card-desc", { key: "86f7c6c80b83f244ba7d07d820d5793e1dda2933", class: "mt-8", "truncate-lines": "3", description: this.description }), this.image ? t("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 }) : this.avatar || this.shortAbbreviation ? t("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation }) : null, t("div", { key: "46307b57160f908aa7066b2a636c4db38e0e7a8e", class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((e, i) => t("eds-tag", { key: i, intent: e.style, label: e.label }))));
47
+ return t("article", { key: "da61b384e966b148cd1f77eec59671bc4d92e259", class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, t("eds-card-title", { key: "00702d032bc25f52b2a2c98255ceb60a1d314f4d", "heading-level": this.headingLevel, titleClass: this.image ? "f-ui-01" : void 0, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && t("eds-card-desc", { key: "d2b135ed422fb64f142af71330dc666e2f0c2b1f", class: "mt-8", "truncate-lines": "3", description: this.description }), this.image ? t("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 }) : this.avatar || this.shortAbbreviation ? t("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation }) : null, t("div", { key: "54111e90175754cb0c1f2eb339e86926914ca0e7", class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((e, i) => t("eds-tag", { key: i, intent: e.style, label: e.label }))));
48
48
  }
49
49
  get el() {
50
50
  return s(this);
51
51
  }
52
52
  };
53
- d.style = n;
53
+ l.style = n;
54
54
  export {
55
- d as eds_card_tool
55
+ l as eds_card_tool
56
56
  };
@@ -1,5 +1,5 @@
1
- import { r, h as t, g as s } from "./index-I5Asbjce.mjs";
2
- const a = class {
1
+ import { r, h as t, g as s } from "./index-Df31uHzU.mjs";
2
+ const o = class {
3
3
  constructor(e) {
4
4
  r(this, e), this.tiny = !1, this.withBg = !0, this.withHover = !0;
5
5
  }
@@ -13,12 +13,12 @@ const a = class {
13
13
  this.withHover ? "effect-shadow hover:shadow-hover cursor-pointer" : "",
14
14
  "border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"
15
15
  ].join(" ");
16
- return t("article", { key: "7c12b1d147f061e189b5dda5d517ec4eae0c3691", class: e }, t("slot", { key: "f506bad73ed38ae36931f88f7d7c5f5d94705e4f" }), this.hasSlot("footer") && t("div", { key: "783f480be269e4a2f61aa8d4396e757fe41bfcc6", class: "mt-auto" }, t("slot", { key: "f07ddaa2d930518a5c8ac82efab3cb0dd6647bdd", name: "footer" })));
16
+ return t("article", { key: "f21cc9703011026652765b399e2b87b1ef80d220", class: e }, t("slot", { key: "9a37adad73d2d49edcc9ca9222d5b188202c5612" }), this.hasSlot("footer") && t("div", { key: "87addfc052ed4ae33736724fbd8fbc8aca873b4d", class: "mt-auto" }, t("slot", { key: "2e48677f42ac2aa951bc1a82afa9291fea3ddd72", name: "footer" })));
17
17
  }
18
18
  get el() {
19
19
  return s(this);
20
20
  }
21
21
  };
22
22
  export {
23
- a as eds_card_wrapper
23
+ o as eds_card_wrapper
24
24
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-D2H_BflF.js"),r=class{constructor(e){t.registerInstance(this,e),this.tiny=!1,this.withBg=!0,this.withHover=!0}hasSlot(e){return e?!!this.el.querySelector(`[slot="${e}"]`):!!this.el.querySelector(":not([slot])")}render(){const e=[this.tiny?"min-h-120":"min-h-156",this.withBg?"bg-inverse":"bg-default",this.withHover?"effect-shadow hover:shadow-hover cursor-pointer":"","border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"].join(" ");return t.h("article",{key:"7c12b1d147f061e189b5dda5d517ec4eae0c3691",class:e},t.h("slot",{key:"f506bad73ed38ae36931f88f7d7c5f5d94705e4f"}),this.hasSlot("footer")&&t.h("div",{key:"783f480be269e4a2f61aa8d4396e757fe41bfcc6",class:"mt-auto"},t.h("slot",{key:"f07ddaa2d930518a5c8ac82efab3cb0dd6647bdd",name:"footer"})))}get el(){return t.getElement(this)}};exports.eds_card_wrapper=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-DvG3cC-8.js"),r=class{constructor(e){t.registerInstance(this,e),this.tiny=!1,this.withBg=!0,this.withHover=!0}hasSlot(e){return e?!!this.el.querySelector(`[slot="${e}"]`):!!this.el.querySelector(":not([slot])")}render(){const e=[this.tiny?"min-h-120":"min-h-156",this.withBg?"bg-inverse":"bg-default",this.withHover?"effect-shadow hover:shadow-hover cursor-pointer":"","border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"].join(" ");return t.h("article",{key:"f21cc9703011026652765b399e2b87b1ef80d220",class:e},t.h("slot",{key:"9a37adad73d2d49edcc9ca9222d5b188202c5612"}),this.hasSlot("footer")&&t.h("div",{key:"87addfc052ed4ae33736724fbd8fbc8aca873b4d",class:"mt-auto"},t.h("slot",{key:"2e48677f42ac2aa951bc1a82afa9291fea3ddd72",name:"footer"})))}get el(){return t.getElement(this)}};exports.eds_card_wrapper=r;
@@ -1,9 +1,9 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./index-D2H_BflF.js");var Z=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},W={exports:{}};(function(f){var S=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./index-DvG3cC-8.js");var Z=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},W={exports:{}};(function(f){var S=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
2
2
  * Prism: Lightweight, robust, elegant syntax highlighting
3
3
  *
4
4
  * @license MIT <https://opensource.org/licenses/MIT>
5
5
  * @author Lea Verou <https://lea.verou.me>
6
6
  * @namespace
7
7
  * @public
8
- */var i=function(u){var g=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,y=0,h={},s={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof m?new m(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++y}),t.__id},clone:function t(e,a){a=a||{};var n,r;switch(s.util.type(e)){case"Object":if(r=s.util.objId(e),a[r])return a[r];n={},a[r]=n;for(var l in e)e.hasOwnProperty(l)&&(n[l]=t(e[l],a));return n;case"Array":return r=s.util.objId(e),a[r]?a[r]:(n=[],a[r]=n,e.forEach(function(d,o){n[o]=t(d,a)}),n);default:return e}},getLanguage:function(t){for(;t;){var e=g.exec(t.className);if(e)return e[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,e){t.className=t.className.replace(RegExp(g,"gi"),""),t.classList.add("language-"+e)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(n){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var a in e)if(e[a].src==t)return e[a]}return null}},isActive:function(t,e,a){for(var n="no-"+e;t;){var r=t.classList;if(r.contains(e))return!0;if(r.contains(n))return!1;t=t.parentElement}return!!a}},languages:{plain:h,plaintext:h,text:h,txt:h,extend:function(t,e){var a=s.util.clone(s.languages[t]);for(var n in e)a[n]=e[n];return a},insertBefore:function(t,e,a,n){n=n||s.languages;var r=n[t],l={};for(var d in r)if(r.hasOwnProperty(d)){if(d==e)for(var o in a)a.hasOwnProperty(o)&&(l[o]=a[o]);a.hasOwnProperty(d)||(l[d]=r[d])}var p=n[t];return n[t]=l,s.languages.DFS(s.languages,function(A,F){F===p&&A!=t&&(this[A]=l)}),l},DFS:function t(e,a,n,r){r=r||{};var l=s.util.objId;for(var d in e)if(e.hasOwnProperty(d)){a.call(e,d,e[d],n||d);var o=e[d],p=s.util.type(o);p==="Object"&&!r[l(o)]?(r[l(o)]=!0,t(o,a,null,r)):p==="Array"&&!r[l(o)]&&(r[l(o)]=!0,t(o,a,d,r))}}},plugins:{},highlightAll:function(t,e){s.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,a){var n={callback:a,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),s.hooks.run("before-all-elements-highlight",n);for(var r=0,l;l=n.elements[r++];)s.highlightElement(l,e===!0,n.callback)},highlightElement:function(t,e,a){var n=s.util.getLanguage(t),r=s.languages[n];s.util.setLanguage(t,n);var l=t.parentElement;l&&l.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(l,n);var d=t.textContent,o={element:t,language:n,grammar:r,code:d};function p(F){o.highlightedCode=F,s.hooks.run("before-insert",o),o.element.innerHTML=o.highlightedCode,s.hooks.run("after-highlight",o),s.hooks.run("complete",o),a&&a.call(o.element)}if(s.hooks.run("before-sanity-check",o),l=o.element.parentElement,l&&l.nodeName.toLowerCase()==="pre"&&!l.hasAttribute("tabindex")&&l.setAttribute("tabindex","0"),!o.code){s.hooks.run("complete",o),a&&a.call(o.element);return}if(s.hooks.run("before-highlight",o),!o.grammar){p(s.util.encode(o.code));return}if(e&&u.Worker){var A=new Worker(s.filename);A.onmessage=function(F){p(F.data)},A.postMessage(JSON.stringify({language:o.language,code:o.code,immediateClose:!0}))}else p(s.highlight(o.code,o.grammar,o.language))},highlight:function(t,e,a){var n={code:t,grammar:e,language:a};if(s.hooks.run("before-tokenize",n),!n.grammar)throw new Error('The language "'+n.language+'" has no grammar.');return n.tokens=s.tokenize(n.code,n.grammar),s.hooks.run("after-tokenize",n),m.stringify(s.util.encode(n.tokens),n.language)},tokenize:function(t,e){var a=e.rest;if(a){for(var n in a)e[n]=a[n];delete e.rest}var r=new O;return I(r,r.head,t),R(t,r,e,r.head,0),D(r)},hooks:{all:{},add:function(t,e){var a=s.hooks.all;a[t]=a[t]||[],a[t].push(e)},run:function(t,e){var a=s.hooks.all[t];if(!(!a||!a.length))for(var n=0,r;r=a[n++];)r(e)}},Token:m};u.Prism=s;function m(t,e,a,n){this.type=t,this.content=e,this.alias=a,this.length=(n||"").length|0}m.stringify=function t(e,a){if(typeof e=="string")return e;if(Array.isArray(e)){var n="";return e.forEach(function(p){n+=t(p,a)}),n}var r={type:e.type,content:t(e.content,a),tag:"span",classes:["token",e.type],attributes:{},language:a},l=e.alias;l&&(Array.isArray(l)?Array.prototype.push.apply(r.classes,l):r.classes.push(l)),s.hooks.run("wrap",r);var d="";for(var o in r.attributes)d+=" "+o+'="'+(r.attributes[o]||"").replace(/"/g,"&quot;")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+d+">"+r.content+"</"+r.tag+">"};function T(t,e,a,n){t.lastIndex=e;var r=t.exec(a);if(r&&n&&r[1]){var l=r[1].length;r.index+=l,r[0]=r[0].slice(l)}return r}function R(t,e,a,n,r,l){for(var d in a)if(!(!a.hasOwnProperty(d)||!a[d])){var o=a[d];o=Array.isArray(o)?o:[o];for(var p=0;p<o.length;++p){if(l&&l.cause==d+","+p)return;var A=o[p],F=A.inside,j=!!A.lookbehind,X=!!A.greedy,V=A.alias;if(X&&!A.pattern.global){var J=A.pattern.toString().match(/[imsuy]*$/)[0];A.pattern=RegExp(A.pattern.source,J+"g")}for(var q=A.pattern||A,w=n.next,E=r;w!==e.tail&&!(l&&E>=l.reach);E+=w.value.length,w=w.next){var $=w.value;if(e.length>t.length)return;if(!($ instanceof m)){var L=1,k;if(X){if(k=T(q,E,t,j),!k||k.index>=t.length)break;var P=k.index,Q=k.index+k[0].length,_=E;for(_+=w.value.length;P>=_;)w=w.next,_+=w.value.length;if(_-=w.value.length,E=_,w.value instanceof m)continue;for(var C=w;C!==e.tail&&(_<Q||typeof C.value=="string");C=C.next)L++,_+=C.value.length;L--,$=t.slice(E,_),k.index-=E}else if(k=T(q,0,$,j),!k)continue;var P=k.index,N=k[0],G=$.slice(0,P),Y=$.slice(P+N.length),z=E+$.length;l&&z>l.reach&&(l.reach=z);var H=w.prev;G&&(H=I(e,H,G),E+=G.length),M(e,H,L);var ee=new m(d,F?s.tokenize(N,F):N,V,N);if(w=I(e,H,ee),Y&&I(e,w,Y),L>1){var U={cause:d+","+p,reach:z};R(t,e,a,w.prev,E,U),l&&U.reach>l.reach&&(l.reach=U.reach)}}}}}}function O(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function I(t,e,a){var n=e.next,r={value:a,prev:e,next:n};return e.next=r,n.prev=r,t.length++,r}function M(t,e,a){for(var n=e.next,r=0;r<a&&n!==t.tail;r++)n=n.next;e.next=n,n.prev=e,t.length-=r}function D(t){for(var e=[],a=t.head.next;a!==t.tail;)e.push(a.value),a=a.next;return e}if(!u.document)return u.addEventListener&&(s.disableWorkerMessageHandler||u.addEventListener("message",function(t){var e=JSON.parse(t.data),a=e.language,n=e.code,r=e.immediateClose;u.postMessage(s.highlight(n,s.languages[a],a)),r&&u.close()},!1)),s;var b=s.util.currentScript();b&&(s.filename=b.src,b.hasAttribute("data-manual")&&(s.manual=!0));function c(){s.manual||s.highlightAll()}if(!s.manual){var v=document.readyState;v==="loading"||v==="interactive"&&b&&b.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return s}(S);f.exports&&(f.exports=i),typeof Z<"u"&&(Z.Prism=i),i.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.languages.markup.doctype.inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",function(u){u.type==="entity"&&(u.attributes.title=u.content.replace(/&amp;/,"&"))}),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(g,y){var h={};h["language-"+y]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:i.languages[y]},h.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:h}};s["language-"+y]={pattern:/[\s\S]+/,inside:i.languages[y]};var m={};m[g]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return g}),"i"),lookbehind:!0,greedy:!0,inside:s},i.languages.insertBefore("markup","cdata",m)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(u,g){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+u+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[g,"language-"+g],inside:i.languages[g]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(u){var g=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;u.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+g.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+g.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+g.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+g.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:g,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},u.languages.css.atrule.inside.rest=u.languages.css;var y=u.languages.markup;y&&(y.tag.addInlined("style","css"),y.tag.addAttribute("style","css"))}(i),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{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/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{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*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{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*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/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,"javascript")),i.languages.js=i.languages.javascript,function(){if(typeof i>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var u="Loading…",g=function(b,c){return"✖ Error "+b+" while fetching file: "+c},y="✖ Error: File does not exist or is empty",h={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",m="loading",T="loaded",R="failed",O="pre[data-src]:not(["+s+'="'+T+'"]):not(['+s+'="'+m+'"])';function I(b,c,v){var t=new XMLHttpRequest;t.open("GET",b,!0),t.onreadystatechange=function(){t.readyState==4&&(t.status<400&&t.responseText?c(t.responseText):t.status>=400?v(g(t.status,t.statusText)):v(y))},t.send(null)}function M(b){var c=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(b||"");if(c){var v=Number(c[1]),t=c[2],e=c[3];return t?e?[v,Number(e)]:[v,void 0]:[v,v]}}i.hooks.add("before-highlightall",function(b){b.selector+=", "+O}),i.hooks.add("before-sanity-check",function(b){var c=b.element;if(c.matches(O)){b.code="",c.setAttribute(s,m);var v=c.appendChild(document.createElement("CODE"));v.textContent=u;var t=c.getAttribute("data-src"),e=b.language;if(e==="none"){var a=(/\.(\w+)$/.exec(t)||[,"none"])[1];e=h[a]||a}i.util.setLanguage(v,e),i.util.setLanguage(c,e);var n=i.plugins.autoloader;n&&n.loadLanguages(e),I(t,function(r){c.setAttribute(s,T);var l=M(c.getAttribute("data-range"));if(l){var d=r.split(/\r\n?|\n/g),o=l[0],p=l[1]==null?d.length:l[1];o<0&&(o+=d.length),o=Math.max(0,Math.min(o-1,d.length)),p<0&&(p+=d.length),p=Math.max(0,Math.min(p,d.length)),r=d.slice(o,p).join(`
9
- `),c.hasAttribute("data-start")||c.setAttribute("data-start",String(o+1))}v.textContent=r,i.highlightElement(v)},function(r){c.setAttribute(s,R),v.textContent=r})}}),i.plugins.fileHighlight={highlight:function(c){for(var v=(c||document).querySelectorAll(O),t=0,e;e=v[t++];)i.highlightElement(e)}};var D=!1;i.fileHighlight=function(){D||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),D=!0),i.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(W);const B=W.exports;Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},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/,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/,boolean:/\b(?:False|None|True)\b/,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,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(f){var S="\\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",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},u={bash:i,environment:{pattern:RegExp("\\$"+S),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+S),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],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})/};f.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+S),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:u},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:u},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:u.entity}}],environment:{pattern:RegExp("\\$?"+S),alias:"constant"},variable:u.variable,function:{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;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{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;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=f.languages.bash;for(var g=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],y=u.variable[1].inside,h=0;h<g.length;h++)y[g[h]]=f.languages.bash[g[h]];f.languages.sh=f.languages.bash,f.languages.shell=f.languages.bash})(Prism);(function(f){var S=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,u="(?:"+i.source+"(?:[ ]+"+S.source+")?|"+S.source+"(?:[ ]+"+i.source+")?)",g=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),y=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function h(s,m){m=(m||"").replace(/m/g,"")+"m";var T=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return u}).replace(/<<value>>/g,function(){return s});return RegExp(T,m)}f.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return u})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return u}).replace(/<<key>>/g,function(){return"(?:"+g+"|"+y+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:h(/\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),lookbehind:!0,alias:"number"},boolean:{pattern:h(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:h(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:h(y),lookbehind:!0,greedy:!0},number:{pattern:h(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:S,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},f.languages.yml=f.languages.yaml})(Prism);(function(f){var S=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;f.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+S.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+S.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+S.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+S.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:S,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},f.languages.css.atrule.inside.rest=f.languages.css;var i=f.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(Prism);const te=`: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}`,ae=te,K=class{constructor(f){x.registerInstance(this,f),this.code=void 0,this.language=void 0,this.copied=!1}copyToClipboard(){navigator.clipboard.writeText(this.code).then(()=>{this.copied=!0,setTimeout(()=>this.copied=!1,2e3)})}getHighlightedCode(){return this.language&&B.languages[this.language]?B.highlight(this.code,B.languages[this.language],this.language):(console.warn(`Unsupported or missing language: ${this.language}`),this.code)}render(){return x.h("div",{key:"00eba9265ee17605f699d1e5606013b68e900b29",class:"relative bg-stronger rounded-sm"},x.h("div",{key:"1192584f04de5ff74e91c88597a3360b92053456",class:"text-inverse flex justify-between items-center p-8"},this.language?x.h("span",{class:"f-ui-03"},this.language.toUpperCase()):x.h("pre",{class:"bg-stronger pl-8",role:"region","aria-label":"Code block without language"},x.h("code",{innerHTML:this.getHighlightedCode()})),x.h("span",{key:"3666b6529a16a8cc64f448527db4ddee08f977a3","aria-hidden":"true",class:"w-20 h-20 mt-8"},x.h("eds-icon-wrapper",{key:"f222d95a2e548429f6c4de96a7646e3cef1f360f",icon:this.copied?"success":"copy",onClick:()=>this.copyToClipboard()})),x.h("span",{key:"8c539deda773909c01a41eb04ee51380c0a9c4bb",class:"sr-only"},"Copy Code")),this.language&&x.h("pre",{key:"99541dedb32c543da5e780ffee4460333fbb3724",class:`language-${this.language} bg-stronger pl-8 pb-8`,role:"region","aria-label":`Code block in ${this.language}`},x.h("code",{key:"4e6ae6fcfae3de8c1fe5ad9d22309e0c8bee0c2c",innerHTML:this.getHighlightedCode()})))}get el(){return x.getElement(this)}};K.style=ae;exports.eds_code_block=K;
8
+ */var i=function(u){var g=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,y=0,h={},s={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof m?new m(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++y}),t.__id},clone:function t(e,a){a=a||{};var n,r;switch(s.util.type(e)){case"Object":if(r=s.util.objId(e),a[r])return a[r];n={},a[r]=n;for(var l in e)e.hasOwnProperty(l)&&(n[l]=t(e[l],a));return n;case"Array":return r=s.util.objId(e),a[r]?a[r]:(n=[],a[r]=n,e.forEach(function(d,o){n[o]=t(d,a)}),n);default:return e}},getLanguage:function(t){for(;t;){var e=g.exec(t.className);if(e)return e[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,e){t.className=t.className.replace(RegExp(g,"gi"),""),t.classList.add("language-"+e)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(n){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var a in e)if(e[a].src==t)return e[a]}return null}},isActive:function(t,e,a){for(var n="no-"+e;t;){var r=t.classList;if(r.contains(e))return!0;if(r.contains(n))return!1;t=t.parentElement}return!!a}},languages:{plain:h,plaintext:h,text:h,txt:h,extend:function(t,e){var a=s.util.clone(s.languages[t]);for(var n in e)a[n]=e[n];return a},insertBefore:function(t,e,a,n){n=n||s.languages;var r=n[t],l={};for(var d in r)if(r.hasOwnProperty(d)){if(d==e)for(var o in a)a.hasOwnProperty(o)&&(l[o]=a[o]);a.hasOwnProperty(d)||(l[d]=r[d])}var p=n[t];return n[t]=l,s.languages.DFS(s.languages,function(A,F){F===p&&A!=t&&(this[A]=l)}),l},DFS:function t(e,a,n,r){r=r||{};var l=s.util.objId;for(var d in e)if(e.hasOwnProperty(d)){a.call(e,d,e[d],n||d);var o=e[d],p=s.util.type(o);p==="Object"&&!r[l(o)]?(r[l(o)]=!0,t(o,a,null,r)):p==="Array"&&!r[l(o)]&&(r[l(o)]=!0,t(o,a,d,r))}}},plugins:{},highlightAll:function(t,e){s.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,a){var n={callback:a,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),s.hooks.run("before-all-elements-highlight",n);for(var r=0,l;l=n.elements[r++];)s.highlightElement(l,e===!0,n.callback)},highlightElement:function(t,e,a){var n=s.util.getLanguage(t),r=s.languages[n];s.util.setLanguage(t,n);var l=t.parentElement;l&&l.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(l,n);var d=t.textContent,o={element:t,language:n,grammar:r,code:d};function p(F){o.highlightedCode=F,s.hooks.run("before-insert",o),o.element.innerHTML=o.highlightedCode,s.hooks.run("after-highlight",o),s.hooks.run("complete",o),a&&a.call(o.element)}if(s.hooks.run("before-sanity-check",o),l=o.element.parentElement,l&&l.nodeName.toLowerCase()==="pre"&&!l.hasAttribute("tabindex")&&l.setAttribute("tabindex","0"),!o.code){s.hooks.run("complete",o),a&&a.call(o.element);return}if(s.hooks.run("before-highlight",o),!o.grammar){p(s.util.encode(o.code));return}if(e&&u.Worker){var A=new Worker(s.filename);A.onmessage=function(F){p(F.data)},A.postMessage(JSON.stringify({language:o.language,code:o.code,immediateClose:!0}))}else p(s.highlight(o.code,o.grammar,o.language))},highlight:function(t,e,a){var n={code:t,grammar:e,language:a};if(s.hooks.run("before-tokenize",n),!n.grammar)throw new Error('The language "'+n.language+'" has no grammar.');return n.tokens=s.tokenize(n.code,n.grammar),s.hooks.run("after-tokenize",n),m.stringify(s.util.encode(n.tokens),n.language)},tokenize:function(t,e){var a=e.rest;if(a){for(var n in a)e[n]=a[n];delete e.rest}var r=new O;return I(r,r.head,t),R(t,r,e,r.head,0),D(r)},hooks:{all:{},add:function(t,e){var a=s.hooks.all;a[t]=a[t]||[],a[t].push(e)},run:function(t,e){var a=s.hooks.all[t];if(!(!a||!a.length))for(var n=0,r;r=a[n++];)r(e)}},Token:m};u.Prism=s;function m(t,e,a,n){this.type=t,this.content=e,this.alias=a,this.length=(n||"").length|0}m.stringify=function t(e,a){if(typeof e=="string")return e;if(Array.isArray(e)){var n="";return e.forEach(function(p){n+=t(p,a)}),n}var r={type:e.type,content:t(e.content,a),tag:"span",classes:["token",e.type],attributes:{},language:a},l=e.alias;l&&(Array.isArray(l)?Array.prototype.push.apply(r.classes,l):r.classes.push(l)),s.hooks.run("wrap",r);var d="";for(var o in r.attributes)d+=" "+o+'="'+(r.attributes[o]||"").replace(/"/g,"&quot;")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+d+">"+r.content+"</"+r.tag+">"};function T(t,e,a,n){t.lastIndex=e;var r=t.exec(a);if(r&&n&&r[1]){var l=r[1].length;r.index+=l,r[0]=r[0].slice(l)}return r}function R(t,e,a,n,r,l){for(var d in a)if(!(!a.hasOwnProperty(d)||!a[d])){var o=a[d];o=Array.isArray(o)?o:[o];for(var p=0;p<o.length;++p){if(l&&l.cause==d+","+p)return;var A=o[p],F=A.inside,j=!!A.lookbehind,X=!!A.greedy,V=A.alias;if(X&&!A.pattern.global){var J=A.pattern.toString().match(/[imsuy]*$/)[0];A.pattern=RegExp(A.pattern.source,J+"g")}for(var q=A.pattern||A,w=n.next,E=r;w!==e.tail&&!(l&&E>=l.reach);E+=w.value.length,w=w.next){var $=w.value;if(e.length>t.length)return;if(!($ instanceof m)){var L=1,k;if(X){if(k=T(q,E,t,j),!k||k.index>=t.length)break;var P=k.index,Q=k.index+k[0].length,_=E;for(_+=w.value.length;P>=_;)w=w.next,_+=w.value.length;if(_-=w.value.length,E=_,w.value instanceof m)continue;for(var C=w;C!==e.tail&&(_<Q||typeof C.value=="string");C=C.next)L++,_+=C.value.length;L--,$=t.slice(E,_),k.index-=E}else if(k=T(q,0,$,j),!k)continue;var P=k.index,N=k[0],G=$.slice(0,P),Y=$.slice(P+N.length),z=E+$.length;l&&z>l.reach&&(l.reach=z);var H=w.prev;G&&(H=I(e,H,G),E+=G.length),M(e,H,L);var ee=new m(d,F?s.tokenize(N,F):N,V,N);if(w=I(e,H,ee),Y&&I(e,w,Y),L>1){var B={cause:d+","+p,reach:z};R(t,e,a,w.prev,E,B),l&&B.reach>l.reach&&(l.reach=B.reach)}}}}}}function O(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function I(t,e,a){var n=e.next,r={value:a,prev:e,next:n};return e.next=r,n.prev=r,t.length++,r}function M(t,e,a){for(var n=e.next,r=0;r<a&&n!==t.tail;r++)n=n.next;e.next=n,n.prev=e,t.length-=r}function D(t){for(var e=[],a=t.head.next;a!==t.tail;)e.push(a.value),a=a.next;return e}if(!u.document)return u.addEventListener&&(s.disableWorkerMessageHandler||u.addEventListener("message",function(t){var e=JSON.parse(t.data),a=e.language,n=e.code,r=e.immediateClose;u.postMessage(s.highlight(n,s.languages[a],a)),r&&u.close()},!1)),s;var b=s.util.currentScript();b&&(s.filename=b.src,b.hasAttribute("data-manual")&&(s.manual=!0));function c(){s.manual||s.highlightAll()}if(!s.manual){var v=document.readyState;v==="loading"||v==="interactive"&&b&&b.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return s}(S);f.exports&&(f.exports=i),typeof Z<"u"&&(Z.Prism=i),i.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.languages.markup.doctype.inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",function(u){u.type==="entity"&&(u.attributes.title=u.content.replace(/&amp;/,"&"))}),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(g,y){var h={};h["language-"+y]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:i.languages[y]},h.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:h}};s["language-"+y]={pattern:/[\s\S]+/,inside:i.languages[y]};var m={};m[g]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return g}),"i"),lookbehind:!0,greedy:!0,inside:s},i.languages.insertBefore("markup","cdata",m)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(u,g){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+u+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[g,"language-"+g],inside:i.languages[g]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(u){var g=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;u.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+g.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+g.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+g.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+g.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:g,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},u.languages.css.atrule.inside.rest=u.languages.css;var y=u.languages.markup;y&&(y.tag.addInlined("style","css"),y.tag.addAttribute("style","css"))}(i),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{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/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{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*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{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*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/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,"javascript")),i.languages.js=i.languages.javascript,function(){if(typeof i>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var u="Loading…",g=function(b,c){return"✖ Error "+b+" while fetching file: "+c},y="✖ Error: File does not exist or is empty",h={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",m="loading",T="loaded",R="failed",O="pre[data-src]:not(["+s+'="'+T+'"]):not(['+s+'="'+m+'"])';function I(b,c,v){var t=new XMLHttpRequest;t.open("GET",b,!0),t.onreadystatechange=function(){t.readyState==4&&(t.status<400&&t.responseText?c(t.responseText):t.status>=400?v(g(t.status,t.statusText)):v(y))},t.send(null)}function M(b){var c=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(b||"");if(c){var v=Number(c[1]),t=c[2],e=c[3];return t?e?[v,Number(e)]:[v,void 0]:[v,v]}}i.hooks.add("before-highlightall",function(b){b.selector+=", "+O}),i.hooks.add("before-sanity-check",function(b){var c=b.element;if(c.matches(O)){b.code="",c.setAttribute(s,m);var v=c.appendChild(document.createElement("CODE"));v.textContent=u;var t=c.getAttribute("data-src"),e=b.language;if(e==="none"){var a=(/\.(\w+)$/.exec(t)||[,"none"])[1];e=h[a]||a}i.util.setLanguage(v,e),i.util.setLanguage(c,e);var n=i.plugins.autoloader;n&&n.loadLanguages(e),I(t,function(r){c.setAttribute(s,T);var l=M(c.getAttribute("data-range"));if(l){var d=r.split(/\r\n?|\n/g),o=l[0],p=l[1]==null?d.length:l[1];o<0&&(o+=d.length),o=Math.max(0,Math.min(o-1,d.length)),p<0&&(p+=d.length),p=Math.max(0,Math.min(p,d.length)),r=d.slice(o,p).join(`
9
+ `),c.hasAttribute("data-start")||c.setAttribute("data-start",String(o+1))}v.textContent=r,i.highlightElement(v)},function(r){c.setAttribute(s,R),v.textContent=r})}}),i.plugins.fileHighlight={highlight:function(c){for(var v=(c||document).querySelectorAll(O),t=0,e;e=v[t++];)i.highlightElement(e)}};var D=!1;i.fileHighlight=function(){D||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),D=!0),i.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(W);const U=W.exports;Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},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/,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/,boolean:/\b(?:False|None|True)\b/,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,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(f){var S="\\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",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},u={bash:i,environment:{pattern:RegExp("\\$"+S),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+S),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],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})/};f.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+S),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:u},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:u},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:u.entity}}],environment:{pattern:RegExp("\\$?"+S),alias:"constant"},variable:u.variable,function:{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;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{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;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=f.languages.bash;for(var g=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],y=u.variable[1].inside,h=0;h<g.length;h++)y[g[h]]=f.languages.bash[g[h]];f.languages.sh=f.languages.bash,f.languages.shell=f.languages.bash})(Prism);(function(f){var S=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,u="(?:"+i.source+"(?:[ ]+"+S.source+")?|"+S.source+"(?:[ ]+"+i.source+")?)",g=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),y=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function h(s,m){m=(m||"").replace(/m/g,"")+"m";var T=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return u}).replace(/<<value>>/g,function(){return s});return RegExp(T,m)}f.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return u})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return u}).replace(/<<key>>/g,function(){return"(?:"+g+"|"+y+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:h(/\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),lookbehind:!0,alias:"number"},boolean:{pattern:h(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:h(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:h(y),lookbehind:!0,greedy:!0},number:{pattern:h(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:S,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},f.languages.yml=f.languages.yaml})(Prism);(function(f){var S=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;f.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+S.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+S.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+S.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+S.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:S,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},f.languages.css.atrule.inside.rest=f.languages.css;var i=f.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(Prism);const te=`: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}`,ae=te,K=class{constructor(f){x.registerInstance(this,f),this.code=void 0,this.language=void 0,this.copied=!1}copyToClipboard(){navigator.clipboard.writeText(this.code).then(()=>{this.copied=!0,setTimeout(()=>this.copied=!1,2e3)})}getHighlightedCode(){return this.language&&U.languages[this.language]?U.highlight(this.code,U.languages[this.language],this.language):this.code}render(){return x.h("div",{key:"cb379e82bcf71345945b0b88397650ecd4992770",class:"relative bg-stronger rounded-sm"},x.h("div",{key:"945046d4fd747cd64a83155b421a897e380cc612",class:"text-inverse flex justify-between items-center p-8"},this.language?x.h("span",{class:"f-ui-03"},this.language.toUpperCase()):x.h("pre",{class:"bg-stronger pl-8",role:"region","aria-label":"Code block without language"},x.h("code",{innerHTML:this.getHighlightedCode()})),x.h("span",{key:"3f6c7e996101f0bb83fb8c9e6991a205a0b268c8","aria-hidden":"true",class:"w-20 h-20 mt-8"},x.h("eds-icon-wrapper",{key:"8ad9beb61058f29e688f6777233c61f7fb3ccfe8",icon:this.copied?"success":"copy",onClick:()=>this.copyToClipboard()})),x.h("span",{key:"a4f9a07906e1c2d9febb7ae789a3eed76dc422e9",class:"sr-only"},"Copy Code")),this.language&&x.h("pre",{key:"e31339126dd3cc885511aaa2bdf6f06f3a113c74",class:`language-${this.language} bg-stronger pl-8 pb-8`,role:"region","aria-label":`Code block in ${this.language}`},x.h("code",{key:"7efacd276f26a00f0f61793f6b8748259e1614b5",innerHTML:this.getHighlightedCode()})))}get el(){return x.getElement(this)}};K.style=ae;exports.eds_code_block=K;