@adyen/bento-vue2 1.26.0 → 1.28.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 (577) hide show
  1. package/dist/@types/components.d.ts +8 -0
  2. package/dist/@types/index.d.ts +967 -374
  3. package/dist/accordion.js +3 -101
  4. package/dist/accordion.js.map +1 -1
  5. package/dist/action-bar.js +2 -231
  6. package/dist/action-bar.js.map +1 -1
  7. package/dist/alert.js +5 -116
  8. package/dist/alert.js.map +1 -1
  9. package/dist/assets/{index2.css → accordion-item.css} +1 -1
  10. package/dist/assets/{index3.css → action-bar.css} +1 -1
  11. package/dist/assets/alert.css +1 -0
  12. package/dist/assets/base-modal.css +1 -1
  13. package/dist/assets/button-actions.css +1 -1
  14. package/dist/assets/button.css +1 -1
  15. package/dist/assets/{index7.css → card.css} +1 -1
  16. package/dist/assets/checkbox-input.css +1 -1
  17. package/dist/assets/{index9.css → code-snippet.css} +1 -1
  18. package/dist/assets/dashboard-section.css +1 -0
  19. package/dist/assets/dashed-underline.css +1 -0
  20. package/dist/assets/data-grid-template.css +1 -0
  21. package/dist/assets/data-grid.css +1 -0
  22. package/dist/assets/dialog-page.css +1 -1
  23. package/dist/assets/dropdown-default-textbox.css +1 -1
  24. package/dist/assets/dropdown.css +1 -1
  25. package/dist/assets/filter-bar.css +1 -0
  26. package/dist/assets/{index15.css → form-layout-title.css} +1 -1
  27. package/dist/assets/{index25.css → input-field.css} +1 -1
  28. package/dist/assets/listbox-option-tag.css +1 -1
  29. package/dist/assets/{index26.css → menu.css} +1 -1
  30. package/dist/assets/{index22.css → modal-fullscreen.css} +1 -1
  31. package/dist/assets/{index28.css → popover.css} +1 -1
  32. package/dist/assets/radio-input.css +1 -1
  33. package/dist/assets/segmented-control.css +1 -0
  34. package/dist/assets/selection-card-group.css +1 -0
  35. package/dist/assets/{index37.css → sidepanel.css} +1 -1
  36. package/dist/assets/status.css +1 -0
  37. package/dist/assets/structured-list-item.css +1 -0
  38. package/dist/assets/{index43.css → tabs.css} +1 -1
  39. package/dist/assets/toggle.css +1 -0
  40. package/dist/assets/tutorial.css +1 -0
  41. package/dist/assets/use-cached-selected-values.css +1 -1
  42. package/dist/avatar-image.js +1 -1
  43. package/dist/badge.js +22 -24
  44. package/dist/badge.js.map +1 -1
  45. package/dist/button.js +14 -94
  46. package/dist/button.js.map +1 -1
  47. package/dist/card.js +4 -114
  48. package/dist/card.js.map +1 -1
  49. package/dist/checkbox.js +8 -155
  50. package/dist/checkbox.js.map +1 -1
  51. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  52. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  53. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  54. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  55. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  56. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  57. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  58. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  59. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  60. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  61. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  62. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  63. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  64. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  65. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  66. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  67. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +11 -0
  68. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +1 -0
  69. package/dist/chunks/accordion-item.DmnrjNzw.js +100 -0
  70. package/dist/chunks/accordion-item.DmnrjNzw.js.map +1 -0
  71. package/dist/chunks/action-bar.Bebh6PHI.js +147 -0
  72. package/dist/chunks/action-bar.Bebh6PHI.js.map +1 -0
  73. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  74. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  75. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  76. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  77. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  78. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  79. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  80. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  81. package/dist/chunks/alert.CJyTM4Az.js +96 -0
  82. package/dist/chunks/alert.CJyTM4Az.js.map +1 -0
  83. package/dist/chunks/{aria-label.ac9651a5.js → aria-label.CaUURpnB.js} +1 -1
  84. package/dist/chunks/{aria-label.ac9651a5.js.map → aria-label.CaUURpnB.js.map} +1 -1
  85. package/dist/chunks/{index.7eefc59c.js → avatar-image.DhlR-7Yg.js} +22 -24
  86. package/dist/chunks/avatar-image.DhlR-7Yg.js.map +1 -0
  87. package/dist/chunks/base-button.DER7_IsF.js +86 -0
  88. package/dist/chunks/{base-button.ad74b6f8.js.map → base-button.DER7_IsF.js.map} +1 -1
  89. package/dist/chunks/{base-modal.1fff7abe.js → base-modal.C5I7bR0d.js} +42 -46
  90. package/dist/chunks/{base-modal.1fff7abe.js.map → base-modal.C5I7bR0d.js.map} +1 -1
  91. package/dist/chunks/{base-modal.keys.b08a6bdf.js → base-modal.keys.C2PQXcE2.js} +1 -1
  92. package/dist/chunks/{base-modal.keys.b08a6bdf.js.map → base-modal.keys.C2PQXcE2.js.map} +1 -1
  93. package/dist/chunks/{button-actions-with-menu.e845d77a.js → button-actions-with-menu.f3yuLK-L.js} +25 -27
  94. package/dist/chunks/{button-actions-with-menu.e845d77a.js.map → button-actions-with-menu.f3yuLK-L.js.map} +1 -1
  95. package/dist/chunks/button-actions.Bg9ey0p6.js +111 -0
  96. package/dist/chunks/button-actions.Bg9ey0p6.js.map +1 -0
  97. package/dist/chunks/button.DhAUh5JA.js +99 -0
  98. package/dist/chunks/button.DhAUh5JA.js.map +1 -0
  99. package/dist/chunks/{calendar.640b8d25.js → calendar.B69z8gjb.js} +287 -332
  100. package/dist/chunks/{calendar.640b8d25.js.map → calendar.B69z8gjb.js.map} +1 -1
  101. package/dist/chunks/card.70Xvba2C.js +115 -0
  102. package/dist/chunks/card.70Xvba2C.js.map +1 -0
  103. package/dist/chunks/checkbox-group.B-KdeRXC.js +152 -0
  104. package/dist/chunks/checkbox-group.B-KdeRXC.js.map +1 -0
  105. package/dist/chunks/{checkbox-input.1c3cc8ed.js → checkbox-input.DwDwI2BD.js} +27 -30
  106. package/dist/chunks/{checkbox-input.1c3cc8ed.js.map → checkbox-input.DwDwI2BD.js.map} +1 -1
  107. package/dist/chunks/{checkbox.bfed007c.js → checkbox.Bi2RDBEZ.js} +21 -23
  108. package/dist/chunks/{checkbox.bfed007c.js.map → checkbox.Bi2RDBEZ.js.map} +1 -1
  109. package/dist/chunks/checkmark-circle-fill.DVl6QSwm.js +24 -0
  110. package/dist/chunks/{checkmark-circle-fill.345311d2.js.map → checkmark-circle-fill.DVl6QSwm.js.map} +1 -1
  111. package/dist/chunks/{checkmark-small.520f01b1.js → checkmark-small.BtF8b2gE.js} +6 -8
  112. package/dist/chunks/{checkmark-small.520f01b1.js.map → checkmark-small.BtF8b2gE.js.map} +1 -1
  113. package/dist/chunks/{chevron-left.5edf02ac.js → chevron-left.CtnrsqUy.js} +13 -17
  114. package/dist/chunks/{chevron-left.5edf02ac.js.map → chevron-left.CtnrsqUy.js.map} +1 -1
  115. package/dist/chunks/{chevron-up.81185563.js → chevron-up.B2uWhZf7.js} +14 -18
  116. package/dist/chunks/{chevron-up.81185563.js.map → chevron-up.B2uWhZf7.js.map} +1 -1
  117. package/dist/chunks/click-outside.DABh6NLr.js +23 -0
  118. package/dist/chunks/click-outside.DABh6NLr.js.map +1 -0
  119. package/dist/chunks/code-snippet.C4IbjAhH.js +968 -0
  120. package/dist/chunks/code-snippet.C4IbjAhH.js.map +1 -0
  121. package/dist/chunks/{controls-group.4fb50009.js → controls-group.cSRFiEVO.js} +17 -19
  122. package/dist/chunks/{controls-group.4fb50009.js.map → controls-group.cSRFiEVO.js.map} +1 -1
  123. package/dist/chunks/{copy.f85700c6.js → copy.BtFWFG3q.js} +15 -19
  124. package/dist/chunks/{copy.f85700c6.js.map → copy.BtFWFG3q.js.map} +1 -1
  125. package/dist/chunks/country.KayLT0zy.js +93 -0
  126. package/dist/chunks/country.KayLT0zy.js.map +1 -0
  127. package/dist/chunks/{country.types.002caff2.js → country.types.Br0AjxGy.js} +5 -5
  128. package/dist/chunks/{country.types.002caff2.js.map → country.types.Br0AjxGy.js.map} +1 -1
  129. package/dist/chunks/{cross-circle-fill.27580c4b.js → cross-circle-fill.CnYH4R_h.js} +7 -9
  130. package/dist/chunks/{cross-circle-fill.27580c4b.js.map → cross-circle-fill.CnYH4R_h.js.map} +1 -1
  131. package/dist/chunks/{cross-small.e851e0de.js → cross-small.BLUwtRB-.js} +9 -11
  132. package/dist/chunks/{cross-small.e851e0de.js.map → cross-small.BLUwtRB-.js.map} +1 -1
  133. package/dist/chunks/{cross.04678d81.js → cross.CsUPDmaA.js} +9 -11
  134. package/dist/chunks/{cross.04678d81.js.map → cross.CsUPDmaA.js.map} +1 -1
  135. package/dist/chunks/currency.H7n7RQiX.js +113 -0
  136. package/dist/chunks/currency.H7n7RQiX.js.map +1 -0
  137. package/dist/chunks/dashboard-section.BcH-_en7.js +105 -0
  138. package/dist/chunks/dashboard-section.BcH-_en7.js.map +1 -0
  139. package/dist/chunks/dashed-underline.ChUlcFJR.js +59 -0
  140. package/dist/chunks/dashed-underline.ChUlcFJR.js.map +1 -0
  141. package/dist/chunks/data-grid-template.DqG5bNeD.js +66 -0
  142. package/dist/chunks/data-grid-template.DqG5bNeD.js.map +1 -0
  143. package/dist/chunks/{data-grid-template.keys.a819a991.js → data-grid-template.keys.2_AkxuNT.js} +1 -1
  144. package/dist/chunks/{data-grid-template.keys.a819a991.js.map → data-grid-template.keys.2_AkxuNT.js.map} +1 -1
  145. package/dist/chunks/data-grid.CvHAdmvs.js +2022 -0
  146. package/dist/chunks/data-grid.CvHAdmvs.js.map +1 -0
  147. package/dist/chunks/{date-input.9186a0bf.js → date-input.BqBdAO1E.js} +1 -1
  148. package/dist/chunks/{date-input.9186a0bf.js.map → date-input.BqBdAO1E.js.map} +1 -1
  149. package/dist/chunks/date-picker.ByP2Wpo0.js +196 -0
  150. package/dist/chunks/date-picker.ByP2Wpo0.js.map +1 -0
  151. package/dist/chunks/{index.8b8c3b16.js → date-range-picker.DrnklTJ-.js} +113 -117
  152. package/dist/chunks/date-range-picker.DrnklTJ-.js.map +1 -0
  153. package/dist/chunks/{index.b21197ca.js → date.DKjxxR6P.js} +44 -51
  154. package/dist/chunks/date.DKjxxR6P.js.map +1 -0
  155. package/dist/chunks/{debounce.b5ef6acf.js → debounce.DUTu11PS.js} +1 -1
  156. package/dist/chunks/{debounce.b5ef6acf.js.map → debounce.DUTu11PS.js.map} +1 -1
  157. package/dist/chunks/{dialog-page.73da22cf.js → dialog-page.DAh0M4mT.js} +20 -24
  158. package/dist/chunks/{dialog-page.73da22cf.js.map → dialog-page.DAh0M4mT.js.map} +1 -1
  159. package/dist/chunks/divider.BZfeYmB9.js +30 -0
  160. package/dist/chunks/divider.BZfeYmB9.js.map +1 -0
  161. package/dist/chunks/{dropdown-default-textbox.54ca1b18.js → dropdown-default-textbox.CKOkl_Qa.js} +30 -34
  162. package/dist/chunks/{dropdown-default-textbox.54ca1b18.js.map → dropdown-default-textbox.CKOkl_Qa.js.map} +1 -1
  163. package/dist/chunks/dropdown-tag.DCMKQy-E.js +214 -0
  164. package/dist/chunks/dropdown-tag.DCMKQy-E.js.map +1 -0
  165. package/dist/chunks/{dropdown.10c034aa.js → dropdown.yhhQCKve.js} +195 -214
  166. package/dist/chunks/dropdown.yhhQCKve.js.map +1 -0
  167. package/dist/chunks/empty-state.BqVOj4v1.js +151 -0
  168. package/dist/chunks/empty-state.BqVOj4v1.js.map +1 -0
  169. package/dist/chunks/error-message.BSxUoE3_.js +107 -0
  170. package/dist/chunks/{error-message.31ec12b7.js.map → error-message.BSxUoE3_.js.map} +1 -1
  171. package/dist/chunks/events.CMzGybJJ.js +47 -0
  172. package/dist/chunks/events.CMzGybJJ.js.map +1 -0
  173. package/dist/chunks/filter-bar.AhsOPMZ1.js +2119 -0
  174. package/dist/chunks/filter-bar.AhsOPMZ1.js.map +1 -0
  175. package/dist/chunks/{fixed-scroller.4eb9a9ac.js → fixed-scroller.Bq1AgPnw.js} +18 -20
  176. package/dist/chunks/{fixed-scroller.4eb9a9ac.js.map → fixed-scroller.Bq1AgPnw.js.map} +1 -1
  177. package/dist/chunks/{index.d553d3d1.js → focus-trap.DSkLNO_i.js} +35 -37
  178. package/dist/chunks/focus-trap.DSkLNO_i.js.map +1 -0
  179. package/dist/chunks/{footer-actions.a1e09b4f.js → footer-actions.DqMRmlV_.js} +11 -13
  180. package/dist/chunks/{footer-actions.a1e09b4f.js.map → footer-actions.DqMRmlV_.js.map} +1 -1
  181. package/dist/chunks/form-layout-title.BzNU0B72.js +187 -0
  182. package/dist/chunks/form-layout-title.BzNU0B72.js.map +1 -0
  183. package/dist/chunks/{form-layout.types.a7a1438d.js → form-layout.types.D3EKzbE7.js} +1 -1
  184. package/dist/chunks/{form-layout.types.a7a1438d.js.map → form-layout.types.D3EKzbE7.js.map} +1 -1
  185. package/dist/chunks/{get-slot-text.99c3d860.js → get-slot-text.Cgn-E48s.js} +2 -2
  186. package/dist/chunks/{get-slot-text.99c3d860.js.map → get-slot-text.Cgn-E48s.js.map} +1 -1
  187. package/dist/chunks/{grid-layout.e0025286.js → grid-layout.HvTAa4to.js} +11 -13
  188. package/dist/chunks/{grid-layout.e0025286.js.map → grid-layout.HvTAa4to.js.map} +1 -1
  189. package/dist/chunks/header.DmKHCmXh.js +245 -0
  190. package/dist/chunks/header.DmKHCmXh.js.map +1 -0
  191. package/dist/chunks/{i18n.eb5b985b.js → i18n.BQkEbtPM.js} +2 -2
  192. package/dist/chunks/{i18n.eb5b985b.js.map → i18n.BQkEbtPM.js.map} +1 -1
  193. package/dist/chunks/image.B3uqhFjl.js +82 -0
  194. package/dist/chunks/image.B3uqhFjl.js.map +1 -0
  195. package/dist/chunks/{index.fdf12170.js → index.B_EJflcs.js} +2 -2
  196. package/dist/chunks/{index.fdf12170.js.map → index.B_EJflcs.js.map} +1 -1
  197. package/dist/chunks/{index.f55fdc32.js → index.B_UZQ6qF.js} +209 -243
  198. package/dist/chunks/{index.f55fdc32.js.map → index.B_UZQ6qF.js.map} +1 -1
  199. package/dist/chunks/{index.4c062058.js → index.Cl4_42j5.js} +1 -1
  200. package/dist/chunks/{index.4c062058.js.map → index.Cl4_42j5.js.map} +1 -1
  201. package/dist/chunks/index.OCPp3NST.js +126 -0
  202. package/dist/chunks/index.OCPp3NST.js.map +1 -0
  203. package/dist/chunks/{index.d80206ed.js → index.Z84QE0E2.js} +2 -2
  204. package/dist/chunks/{index.d80206ed.js.map → index.Z84QE0E2.js.map} +1 -1
  205. package/dist/chunks/{index.86453263.js → index.xqFSZOAb.js} +2 -2
  206. package/dist/chunks/{index.86453263.js.map → index.xqFSZOAb.js.map} +1 -1
  207. package/dist/chunks/info-icon.CLguYHRt.js +41 -0
  208. package/dist/chunks/info-icon.CLguYHRt.js.map +1 -0
  209. package/dist/chunks/{info.8b6328aa.js → info.CyeBsLgt.js} +9 -11
  210. package/dist/chunks/{info.8b6328aa.js.map → info.CyeBsLgt.js.map} +1 -1
  211. package/dist/chunks/input-field.BnlEPPYr.js +218 -0
  212. package/dist/chunks/input-field.BnlEPPYr.js.map +1 -0
  213. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  214. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  215. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  216. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  217. package/dist/chunks/{keyboard-navigation.ca47dfa8.js → keyboard-navigation.Clz1jOaA.js} +2 -2
  218. package/dist/chunks/{keyboard-navigation.ca47dfa8.js.map → keyboard-navigation.Clz1jOaA.js.map} +1 -1
  219. package/dist/chunks/{index.317fca12.js → link.DJ1A53gF.js} +20 -24
  220. package/dist/chunks/link.DJ1A53gF.js.map +1 -0
  221. package/dist/chunks/listbox-option-tag.BDjsYOE1.js +75 -0
  222. package/dist/chunks/listbox-option-tag.BDjsYOE1.js.map +1 -0
  223. package/dist/chunks/{loading-button.eafc9e1b.js → loading-button.CoF1IhEU.js} +32 -34
  224. package/dist/chunks/{loading-button.eafc9e1b.js.map → loading-button.CoF1IhEU.js.map} +1 -1
  225. package/dist/chunks/loading-indicator.DXc7I1Lm.js +48 -0
  226. package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +1 -0
  227. package/dist/chunks/{index.1ea85d4a.js → menu.2TwUMlA9.js} +82 -94
  228. package/dist/chunks/menu.2TwUMlA9.js.map +1 -0
  229. package/dist/chunks/modal-fullscreen.BB_8EMNo.js +196 -0
  230. package/dist/chunks/modal-fullscreen.BB_8EMNo.js.map +1 -0
  231. package/dist/chunks/{modal-fullscreen.keys.b9f31632.js → modal-fullscreen.keys.CMba3hYp.js} +1 -1
  232. package/dist/chunks/{modal-fullscreen.keys.b9f31632.js.map → modal-fullscreen.keys.CMba3hYp.js.map} +1 -1
  233. package/dist/chunks/modal.DLwvcaRx.js +439 -0
  234. package/dist/chunks/modal.DLwvcaRx.js.map +1 -0
  235. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  236. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  237. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  238. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  239. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  240. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  241. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  242. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  243. package/dist/chunks/{on-click-outside.3e0c3e2a.js → on-click-outside.CcNG5w7_.js} +1 -1
  244. package/dist/chunks/{on-click-outside.3e0c3e2a.js.map → on-click-outside.CcNG5w7_.js.map} +1 -1
  245. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  246. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  247. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  248. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  249. package/dist/chunks/pagination.BXjbVe4Z.js +494 -0
  250. package/dist/chunks/pagination.BXjbVe4Z.js.map +1 -0
  251. package/dist/chunks/{payment-method.6c1ce07c.js → payment-method.D9Qx-s4V.js} +19 -21
  252. package/dist/chunks/{payment-method.6c1ce07c.js.map → payment-method.D9Qx-s4V.js.map} +1 -1
  253. package/dist/chunks/payment-method.types.CJKfZQN5.js +5 -0
  254. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -0
  255. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  256. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  257. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  258. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  259. package/dist/chunks/{index.15b088b9.js → popover.B8YH92W8.js} +31 -37
  260. package/dist/chunks/popover.B8YH92W8.js.map +1 -0
  261. package/dist/chunks/{index.671768a1.js → popper-container.Bt02N3o1.js} +12 -15
  262. package/dist/chunks/popper-container.Bt02N3o1.js.map +1 -0
  263. package/dist/chunks/radio-group.CPbBFTzB.js +211 -0
  264. package/dist/chunks/radio-group.CPbBFTzB.js.map +1 -0
  265. package/dist/chunks/{radio-input.c6550a9c.js → radio-input.BQcC0INR.js} +17 -19
  266. package/dist/chunks/radio-input.BQcC0INR.js.map +1 -0
  267. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  268. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  269. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  270. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  271. package/dist/chunks/{refresh.71a03998.js → refresh.BKI9WwKh.js} +7 -9
  272. package/dist/chunks/{refresh.71a03998.js.map → refresh.BKI9WwKh.js.map} +1 -1
  273. package/dist/chunks/{resize.a041304d.js → resize.Bqks3WUm.js} +1 -1
  274. package/dist/chunks/{resize.a041304d.js.map → resize.Bqks3WUm.js.map} +1 -1
  275. package/dist/chunks/search-bar.CsAgO-t5.js +89 -0
  276. package/dist/chunks/search-bar.CsAgO-t5.js.map +1 -0
  277. package/dist/chunks/{search.471270fe.js → search.CBKhp7zB.js} +10 -12
  278. package/dist/chunks/{search.471270fe.js.map → search.CBKhp7zB.js.map} +1 -1
  279. package/dist/chunks/secondary-nav.CNgpPxUU.js +97 -0
  280. package/dist/chunks/secondary-nav.CNgpPxUU.js.map +1 -0
  281. package/dist/chunks/segmented-control.DGjIC7Ab.js +111 -0
  282. package/dist/chunks/segmented-control.DGjIC7Ab.js.map +1 -0
  283. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  284. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  285. package/dist/chunks/selection-card-group.DlOs8BkR.js +247 -0
  286. package/dist/chunks/selection-card-group.DlOs8BkR.js.map +1 -0
  287. package/dist/chunks/sidepanel.BBjm2QvZ.js +187 -0
  288. package/dist/chunks/sidepanel.BBjm2QvZ.js.map +1 -0
  289. package/dist/chunks/{sidepanel.keys.1ed8a57c.js → sidepanel.keys.R0DKQuYx.js} +1 -1
  290. package/dist/chunks/{sidepanel.keys.1ed8a57c.js.map → sidepanel.keys.R0DKQuYx.js.map} +1 -1
  291. package/dist/chunks/status.types.BhbOYpZx.js +36 -0
  292. package/dist/chunks/status.types.BhbOYpZx.js.map +1 -0
  293. package/dist/chunks/step.DY8Txb6a.js +234 -0
  294. package/dist/chunks/step.DY8Txb6a.js.map +1 -0
  295. package/dist/chunks/structured-list-item.C9NTVDvT.js +81 -0
  296. package/dist/chunks/structured-list-item.C9NTVDvT.js.map +1 -0
  297. package/dist/chunks/success.DhioLvPD.js +5 -0
  298. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  299. package/dist/chunks/success.nNwxJRBS.js +5 -0
  300. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  301. package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js +573 -0
  302. package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js.map +1 -0
  303. package/dist/chunks/{summary-grid.keys.1d1028c2.js → summary-grid.keys.BBbFrFGF.js} +1 -1
  304. package/dist/chunks/{summary-grid.keys.1d1028c2.js.map → summary-grid.keys.BBbFrFGF.js.map} +1 -1
  305. package/dist/chunks/tabs.CE65f3E_.js +140 -0
  306. package/dist/chunks/tabs.CE65f3E_.js.map +1 -0
  307. package/dist/chunks/{tabs.keys.358742f2.js → tabs.keys.Bc2pSKRw.js} +1 -1
  308. package/dist/chunks/{tabs.keys.358742f2.js.map → tabs.keys.Bc2pSKRw.js.map} +1 -1
  309. package/dist/chunks/tag.bhKrZHTU.js +64 -0
  310. package/dist/chunks/tag.bhKrZHTU.js.map +1 -0
  311. package/dist/chunks/{teleport.84b0f20b.js → teleport.CQKBJZU5.js} +14 -16
  312. package/dist/chunks/{teleport.84b0f20b.js.map → teleport.CQKBJZU5.js.map} +1 -1
  313. package/dist/chunks/textarea.CcKbtQBs.js +208 -0
  314. package/dist/chunks/textarea.CcKbtQBs.js.map +1 -0
  315. package/dist/chunks/timeline-item.ScTrUBKC.js +364 -0
  316. package/dist/chunks/timeline-item.ScTrUBKC.js.map +1 -0
  317. package/dist/chunks/toast.0EYDj8o-.js +165 -0
  318. package/dist/chunks/toast.0EYDj8o-.js.map +1 -0
  319. package/dist/chunks/toggle-button.2U-vbQhk.js +83 -0
  320. package/dist/chunks/toggle-button.2U-vbQhk.js.map +1 -0
  321. package/dist/chunks/toggle.CiOVTWlk.js +121 -0
  322. package/dist/chunks/toggle.CiOVTWlk.js.map +1 -0
  323. package/dist/chunks/{tooltip.58ef3f4a.js → tooltip.DR8rbIYw.js} +29 -32
  324. package/dist/chunks/tooltip.DR8rbIYw.js.map +1 -0
  325. package/dist/chunks/tutorial.DMm12L0S.js +335 -0
  326. package/dist/chunks/tutorial.DMm12L0S.js.map +1 -0
  327. package/dist/chunks/{index.dd30e538.js → typography.Bjtu3Gca.js} +30 -32
  328. package/dist/chunks/typography.Bjtu3Gca.js.map +1 -0
  329. package/dist/chunks/{unique-id.a2a2b458.js → unique-id.XFfoKuc2.js} +14 -20
  330. package/dist/chunks/{unique-id.a2a2b458.js.map → unique-id.XFfoKuc2.js.map} +1 -1
  331. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  332. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  333. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  334. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  335. package/dist/chunks/{use-bento-toast-controller.c3277f73.js → use-bento-toast-controller.BifdE4ak.js} +4 -4
  336. package/dist/chunks/{use-bento-toast-controller.c3277f73.js.map → use-bento-toast-controller.BifdE4ak.js.map} +1 -1
  337. package/dist/chunks/{use-cached-selected-values.69297473.js → use-cached-selected-values.CVLzxvTi.js} +345 -346
  338. package/dist/chunks/use-cached-selected-values.CVLzxvTi.js.map +1 -0
  339. package/dist/chunks/{use-click-outside.941d1600.js → use-click-outside.DbjR7Lh4.js} +2 -2
  340. package/dist/chunks/{use-click-outside.941d1600.js.map → use-click-outside.DbjR7Lh4.js.map} +1 -1
  341. package/dist/chunks/{use-country-items.6b7985bf.js → use-country-items.C25TI6tp.js} +4 -4
  342. package/dist/chunks/{use-country-items.6b7985bf.js.map → use-country-items.C25TI6tp.js.map} +1 -1
  343. package/dist/chunks/{use-default-slot-validator.b9bff4c6.js → use-default-slot-validator.BDn0wkYP.js} +2 -2
  344. package/dist/chunks/{use-default-slot-validator.b9bff4c6.js.map → use-default-slot-validator.BDn0wkYP.js.map} +1 -1
  345. package/dist/chunks/{use-expandable-content-height.62fc84e5.js → use-expandable-content-height.GkjjbmPy.js} +1 -1
  346. package/dist/chunks/{use-expandable-content-height.62fc84e5.js.map → use-expandable-content-height.GkjjbmPy.js.map} +1 -1
  347. package/dist/chunks/{use-form-layout-loading.d03e5d48.js → use-form-layout-loading.D3lALhtC.js} +2 -2
  348. package/dist/chunks/{use-form-layout-loading.d03e5d48.js.map → use-form-layout-loading.D3lALhtC.js.map} +1 -1
  349. package/dist/chunks/use-has-slot.C9lQZ6nz.js +6 -0
  350. package/dist/chunks/{use-has-slot.fbeb19ec.js.map → use-has-slot.C9lQZ6nz.js.map} +1 -1
  351. package/dist/chunks/warning-filled.CLKRzGMT.js +24 -0
  352. package/dist/chunks/warning-filled.CLKRzGMT.js.map +1 -0
  353. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  354. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  355. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  356. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  357. package/dist/click-outside.js +2 -20
  358. package/dist/click-outside.js.map +1 -1
  359. package/dist/code-snippet.js +5 -2050
  360. package/dist/code-snippet.js.map +1 -1
  361. package/dist/country.js +8 -97
  362. package/dist/country.js.map +1 -1
  363. package/dist/currency.js +3 -112
  364. package/dist/currency.js.map +1 -1
  365. package/dist/dashboard-template.js +6 -0
  366. package/dist/dashboard-template.js.map +1 -0
  367. package/dist/dashed-underline.js +5 -0
  368. package/dist/dashed-underline.js.map +1 -0
  369. package/dist/data-grid-template.js +2 -65
  370. package/dist/data-grid-template.js.map +1 -1
  371. package/dist/data-grid.js +8 -1978
  372. package/dist/data-grid.js.map +1 -1
  373. package/dist/date-picker.js +5 -197
  374. package/dist/date-picker.js.map +1 -1
  375. package/dist/date-range-picker.js +2 -2
  376. package/dist/date.js +1 -1
  377. package/dist/divider.js +1 -1
  378. package/dist/dropdown.js +12 -227
  379. package/dist/dropdown.js.map +1 -1
  380. package/dist/empty-state.js +5 -143
  381. package/dist/empty-state.js.map +1 -1
  382. package/dist/filter-bar.js +5 -2154
  383. package/dist/filter-bar.js.map +1 -1
  384. package/dist/focus-trap.js +1 -1
  385. package/dist/form-layout.js +5 -192
  386. package/dist/form-layout.js.map +1 -1
  387. package/dist/header.js +2 -246
  388. package/dist/header.js.map +1 -1
  389. package/dist/image.js +4 -81
  390. package/dist/image.js.map +1 -1
  391. package/dist/index.js +276 -269
  392. package/dist/index.js.map +1 -1
  393. package/dist/info-icon.js +2 -40
  394. package/dist/info-icon.js.map +1 -1
  395. package/dist/input-field.js +7 -217
  396. package/dist/input-field.js.map +1 -1
  397. package/dist/internal.js +15 -15
  398. package/dist/link.js +1 -1
  399. package/dist/loading-indicator.js +3 -47
  400. package/dist/loading-indicator.js.map +1 -1
  401. package/dist/menu.js +1 -1
  402. package/dist/modal-fullscreen.js +3 -197
  403. package/dist/modal-fullscreen.js.map +1 -1
  404. package/dist/modal.js +11 -451
  405. package/dist/modal.js.map +1 -1
  406. package/dist/pagination.js +2 -507
  407. package/dist/pagination.js.map +1 -1
  408. package/dist/payment-method.js +4 -4
  409. package/dist/payment-method.js.map +1 -1
  410. package/dist/popover.js +1 -1
  411. package/dist/popper-container.js +1 -1
  412. package/dist/radio-group.js +6 -213
  413. package/dist/radio-group.js.map +1 -1
  414. package/dist/search-bar.js +6 -90
  415. package/dist/search-bar.js.map +1 -1
  416. package/dist/secondary-nav.js +2 -100
  417. package/dist/secondary-nav.js.map +1 -1
  418. package/dist/segmented-control.js +4 -215
  419. package/dist/segmented-control.js.map +1 -1
  420. package/dist/selection-card.js +4 -248
  421. package/dist/selection-card.js.map +1 -1
  422. package/dist/sidepanel.js +4 -189
  423. package/dist/sidepanel.js.map +1 -1
  424. package/dist/status.js +3 -40
  425. package/dist/status.js.map +1 -1
  426. package/dist/stepper.js +5 -237
  427. package/dist/stepper.js.map +1 -1
  428. package/dist/structured-list.js +1 -1
  429. package/dist/summary-grid.js +9 -584
  430. package/dist/summary-grid.js.map +1 -1
  431. package/dist/tabs.js +3 -140
  432. package/dist/tabs.js.map +1 -1
  433. package/dist/tag.js +3 -63
  434. package/dist/tag.js.map +1 -1
  435. package/dist/textarea.js +2 -209
  436. package/dist/textarea.js.map +1 -1
  437. package/dist/timeline.js +7 -367
  438. package/dist/timeline.js.map +1 -1
  439. package/dist/toast.js +2 -168
  440. package/dist/toast.js.map +1 -1
  441. package/dist/toggle.js +4 -120
  442. package/dist/toggle.js.map +1 -1
  443. package/dist/tutorial.js +2 -325
  444. package/dist/tutorial.js.map +1 -1
  445. package/dist/typography.js +1 -1
  446. package/dist/web-types.json +482 -305
  447. package/package.json +11 -10
  448. package/dist/assets/index11.css +0 -1
  449. package/dist/assets/index18.css +0 -1
  450. package/dist/assets/index33.css +0 -1
  451. package/dist/assets/index34.css +0 -1
  452. package/dist/assets/index35.css +0 -1
  453. package/dist/assets/index38.css +0 -1
  454. package/dist/assets/index4.css +0 -1
  455. package/dist/assets/index40.css +0 -1
  456. package/dist/assets/index44.css +0 -1
  457. package/dist/assets/index46.css +0 -1
  458. package/dist/chunks/1-generic-use.3ea646cd.js +0 -5
  459. package/dist/chunks/1-generic-use.3ea646cd.js.map +0 -1
  460. package/dist/chunks/1-generic-use.ccca5813.js +0 -5
  461. package/dist/chunks/1-generic-use.ccca5813.js.map +0 -1
  462. package/dist/chunks/2-generic-use.443db127.js +0 -5
  463. package/dist/chunks/2-generic-use.443db127.js.map +0 -1
  464. package/dist/chunks/2-generic-use.d69d7c08.js +0 -5
  465. package/dist/chunks/2-generic-use.d69d7c08.js.map +0 -1
  466. package/dist/chunks/3-generic-use.9f74667f.js +0 -5
  467. package/dist/chunks/3-generic-use.9f74667f.js.map +0 -1
  468. package/dist/chunks/3-generic-use.fe7ae2ce.js +0 -5
  469. package/dist/chunks/3-generic-use.fe7ae2ce.js.map +0 -1
  470. package/dist/chunks/4-generic-use.0356f4a1.js +0 -5
  471. package/dist/chunks/4-generic-use.0356f4a1.js.map +0 -1
  472. package/dist/chunks/4-generic-use.cd04bad0.js +0 -5
  473. package/dist/chunks/4-generic-use.cd04bad0.js.map +0 -1
  474. package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js +0 -33
  475. package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js.map +0 -1
  476. package/dist/chunks/adding-payment-methods.d570e03e.js +0 -5
  477. package/dist/chunks/adding-payment-methods.d570e03e.js.map +0 -1
  478. package/dist/chunks/adding-payment-methods.e419d6c0.js +0 -5
  479. package/dist/chunks/adding-payment-methods.e419d6c0.js.map +0 -1
  480. package/dist/chunks/adyen-giving.480913b5.js +0 -5
  481. package/dist/chunks/adyen-giving.480913b5.js.map +0 -1
  482. package/dist/chunks/adyen-giving.54ed984c.js +0 -5
  483. package/dist/chunks/adyen-giving.54ed984c.js.map +0 -1
  484. package/dist/chunks/base-button.ad74b6f8.js +0 -88
  485. package/dist/chunks/button-actions.81db18e8.js +0 -111
  486. package/dist/chunks/button-actions.81db18e8.js.map +0 -1
  487. package/dist/chunks/button.9d6435ae.js +0 -100
  488. package/dist/chunks/button.9d6435ae.js.map +0 -1
  489. package/dist/chunks/checkmark-circle-fill.345311d2.js +0 -26
  490. package/dist/chunks/checkmark.a6ed8f47.js +0 -26
  491. package/dist/chunks/checkmark.a6ed8f47.js.map +0 -1
  492. package/dist/chunks/dropdown.10c034aa.js.map +0 -1
  493. package/dist/chunks/error-message.31ec12b7.js +0 -111
  494. package/dist/chunks/events.58c00e6d.js +0 -50
  495. package/dist/chunks/events.58c00e6d.js.map +0 -1
  496. package/dist/chunks/index.15b088b9.js.map +0 -1
  497. package/dist/chunks/index.1ea85d4a.js.map +0 -1
  498. package/dist/chunks/index.317fca12.js.map +0 -1
  499. package/dist/chunks/index.671768a1.js.map +0 -1
  500. package/dist/chunks/index.7eefc59c.js.map +0 -1
  501. package/dist/chunks/index.885d05a9.js +0 -32
  502. package/dist/chunks/index.885d05a9.js.map +0 -1
  503. package/dist/chunks/index.8b8c3b16.js.map +0 -1
  504. package/dist/chunks/index.aaf965f8.js +0 -147
  505. package/dist/chunks/index.aaf965f8.js.map +0 -1
  506. package/dist/chunks/index.b21197ca.js.map +0 -1
  507. package/dist/chunks/index.d553d3d1.js.map +0 -1
  508. package/dist/chunks/index.dd30e538.js.map +0 -1
  509. package/dist/chunks/internal-error.35cbb071.js +0 -5
  510. package/dist/chunks/internal-error.35cbb071.js.map +0 -1
  511. package/dist/chunks/internal-error.9a4823ed.js +0 -5
  512. package/dist/chunks/internal-error.9a4823ed.js.map +0 -1
  513. package/dist/chunks/listbox-option-tag.6bbb6bbe.js +0 -107
  514. package/dist/chunks/listbox-option-tag.6bbb6bbe.js.map +0 -1
  515. package/dist/chunks/no-results-found.58856d70.js +0 -5
  516. package/dist/chunks/no-results-found.58856d70.js.map +0 -1
  517. package/dist/chunks/no-results-found.cbb12f78.js +0 -5
  518. package/dist/chunks/no-results-found.cbb12f78.js.map +0 -1
  519. package/dist/chunks/notifications-cleared.71025c22.js +0 -5
  520. package/dist/chunks/notifications-cleared.71025c22.js.map +0 -1
  521. package/dist/chunks/notifications-cleared.c4f4bed4.js +0 -5
  522. package/dist/chunks/notifications-cleared.c4f4bed4.js.map +0 -1
  523. package/dist/chunks/page-not-found.a500440d.js +0 -5
  524. package/dist/chunks/page-not-found.a500440d.js.map +0 -1
  525. package/dist/chunks/page-not-found.d1a84ba7.js +0 -5
  526. package/dist/chunks/page-not-found.d1a84ba7.js.map +0 -1
  527. package/dist/chunks/planned-maintenance.7fa5ac16.js +0 -5
  528. package/dist/chunks/planned-maintenance.7fa5ac16.js.map +0 -1
  529. package/dist/chunks/planned-maintenance.cff01aed.js +0 -5
  530. package/dist/chunks/planned-maintenance.cff01aed.js.map +0 -1
  531. package/dist/chunks/radio-input.c6550a9c.js.map +0 -1
  532. package/dist/chunks/referrals.178ce0eb.js +0 -5
  533. package/dist/chunks/referrals.178ce0eb.js.map +0 -1
  534. package/dist/chunks/referrals.599047da.js +0 -5
  535. package/dist/chunks/referrals.599047da.js.map +0 -1
  536. package/dist/chunks/success.41981fe8.js +0 -5
  537. package/dist/chunks/success.41981fe8.js.map +0 -1
  538. package/dist/chunks/success.77fac78b.js +0 -5
  539. package/dist/chunks/success.77fac78b.js.map +0 -1
  540. package/dist/chunks/tooltip.58ef3f4a.js.map +0 -1
  541. package/dist/chunks/upload-files.2708eca7.js +0 -5
  542. package/dist/chunks/upload-files.2708eca7.js.map +0 -1
  543. package/dist/chunks/upload-files.b4cd9f8b.js +0 -5
  544. package/dist/chunks/upload-files.b4cd9f8b.js.map +0 -1
  545. package/dist/chunks/use-cached-selected-values.69297473.js.map +0 -1
  546. package/dist/chunks/use-has-slot.fbeb19ec.js +0 -6
  547. package/dist/chunks/wrong-environment.c73b0bc0.js +0 -5
  548. package/dist/chunks/wrong-environment.c73b0bc0.js.map +0 -1
  549. package/dist/chunks/wrong-environment.f890a237.js +0 -5
  550. package/dist/chunks/wrong-environment.f890a237.js.map +0 -1
  551. /package/dist/assets/{index5.css → avatar-image.css} +0 -0
  552. /package/dist/assets/{index.css → badge.css} +0 -0
  553. /package/dist/assets/{index8.css → checkbox-group.css} +0 -0
  554. /package/dist/assets/{index10.css → country.css} +0 -0
  555. /package/dist/assets/{index12.css → date-picker.css} +0 -0
  556. /package/dist/assets/{index13.css → date-range-picker.css} +0 -0
  557. /package/dist/assets/{index14.css → divider.css} +0 -0
  558. /package/dist/assets/{index16.css → dropdown-tag.css} +0 -0
  559. /package/dist/assets/{index17.css → empty-state.css} +0 -0
  560. /package/dist/assets/{index19.css → focus-trap.css} +0 -0
  561. /package/dist/assets/{index21.css → header.css} +0 -0
  562. /package/dist/assets/{index27.css → info-icon.css} +0 -0
  563. /package/dist/assets/{index42.css → link.css} +0 -0
  564. /package/dist/assets/{index23.css → loading-indicator.css} +0 -0
  565. /package/dist/assets/{index24.css → pagination.css} +0 -0
  566. /package/dist/assets/{index45.css → popper-container.css} +0 -0
  567. /package/dist/assets/{index20.css → radio-group.css} +0 -0
  568. /package/dist/assets/{index47.css → search-bar.css} +0 -0
  569. /package/dist/assets/{index48.css → secondary-nav.css} +0 -0
  570. /package/dist/assets/{index39.css → step.css} +0 -0
  571. /package/dist/assets/{index41.css → summary-grid-item-custom.css} +0 -0
  572. /package/dist/assets/{index36.css → tag.css} +0 -0
  573. /package/dist/assets/{index30.css → textarea.css} +0 -0
  574. /package/dist/assets/{index31.css → timeline-item.css} +0 -0
  575. /package/dist/assets/{index32.css → toast.css} +0 -0
  576. /package/dist/assets/{index6.css → toggle-button.css} +0 -0
  577. /package/dist/assets/{index29.css → typography.css} +0 -0
@@ -1,2053 +1,8 @@
1
- import { defineComponent as Ve, ref as ae, computed as re, shallowRef as Ae, onMounted as $e, watch as De, watchEffect as Je } from "vue";
2
- import { highlightActiveLine as Ue, keymap as We, EditorView as Ie, lineNumbers as Ge } from "@codemirror/view";
3
- import { EditorSelection as Fe, Compartment as be, EditorState as Le } from "@codemirror/state";
4
- import { indentWithTab as Ke, history as qe } from "@codemirror/commands";
5
- import { syntaxHighlighting as Xe, HighlightStyle as Ze } from "@codemirror/language";
6
- import { B as Qe } from "./chunks/dropdown.10c034aa.js";
7
- import { a as Ye } from "./chunks/button.9d6435ae.js";
8
- import { B as et } from "./chunks/index.dd30e538.js";
9
- import { BentoLoadingIndicator as tt } from "./loading-indicator.js";
10
- import { u as nt } from "./chunks/i18n.eb5b985b.js";
11
- import { n as He } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
12
- import { h as rt } from "./chunks/base-modal.1fff7abe.js";
13
- import { C as it } from "./chunks/copy.f85700c6.js";
14
- import { json as st } from "@codemirror/lang-json";
15
- import { xml as lt } from "@codemirror/lang-xml";
16
- import { javascript as ot } from "@codemirror/lang-javascript";
17
- import { java as at } from "@codemirror/lang-java";
18
- import { b as ut } from "./chunks/tooltip.58ef3f4a.js";
19
- import "./assets/index9.css";
20
- const ft = 1024;
21
- let ht = 0;
22
- class v {
23
- /**
24
- Create a new node prop type.
25
- */
26
- constructor(e = {}) {
27
- this.id = ht++, this.perNode = !!e.perNode, this.deserialize = e.deserialize || (() => {
28
- throw new Error("This node type doesn't define a deserialize function");
29
- });
30
- }
31
- /**
32
- This is meant to be used with
33
- [`NodeSet.extend`](#common.NodeSet.extend) or
34
- [`LRParser.configure`](#lr.ParserConfig.props) to compute
35
- prop values for each node type in the set. Takes a [match
36
- object](#common.NodeType^match) or function that returns undefined
37
- if the node type doesn't get this prop, and the prop's value if
38
- it does.
39
- */
40
- add(e) {
41
- if (this.perNode)
42
- throw new RangeError("Can't add per-node props to node types");
43
- return typeof e != "function" && (e = W.match(e)), (t) => {
44
- let n = e(t);
45
- return n === void 0 ? null : [this, n];
46
- };
47
- }
48
- }
49
- v.closedBy = new v({ deserialize: (i) => i.split(" ") });
50
- v.openedBy = new v({ deserialize: (i) => i.split(" ") });
51
- v.group = new v({ deserialize: (i) => i.split(" ") });
52
- v.isolate = new v({ deserialize: (i) => {
53
- if (i && i != "rtl" && i != "ltr" && i != "auto")
54
- throw new RangeError("Invalid value for isolate: " + i);
55
- return i || "auto";
56
- } });
57
- v.contextHash = new v({ perNode: !0 });
58
- v.lookAhead = new v({ perNode: !0 });
59
- v.mounted = new v({ perNode: !0 });
60
- class ge {
61
- constructor(e, t, n) {
62
- this.tree = e, this.overlay = t, this.parser = n;
63
- }
64
- /**
65
- @internal
66
- */
67
- static get(e) {
68
- return e && e.props && e.props[v.mounted.id];
69
- }
70
- }
71
- const ct = /* @__PURE__ */ Object.create(null);
72
- class W {
73
- /**
74
- @internal
75
- */
76
- constructor(e, t, n, r = 0) {
77
- this.name = e, this.props = t, this.id = n, this.flags = r;
78
- }
79
- /**
80
- Define a node type.
81
- */
82
- static define(e) {
83
- let t = e.props && e.props.length ? /* @__PURE__ */ Object.create(null) : ct, n = (e.top ? 1 : 0) | (e.skipped ? 2 : 0) | (e.error ? 4 : 0) | (e.name == null ? 8 : 0), r = new W(e.name || "", t, e.id, n);
84
- if (e.props) {
85
- for (let s of e.props)
86
- if (Array.isArray(s) || (s = s(r)), s) {
87
- if (s[0].perNode)
88
- throw new RangeError("Can't store a per-node prop on a node type");
89
- t[s[0].id] = s[1];
90
- }
91
- }
92
- return r;
93
- }
94
- /**
95
- Retrieves a node prop for this type. Will return `undefined` if
96
- the prop isn't present on this node.
97
- */
98
- prop(e) {
99
- return this.props[e.id];
100
- }
101
- /**
102
- True when this is the top node of a grammar.
103
- */
104
- get isTop() {
105
- return (this.flags & 1) > 0;
106
- }
107
- /**
108
- True when this node is produced by a skip rule.
109
- */
110
- get isSkipped() {
111
- return (this.flags & 2) > 0;
112
- }
113
- /**
114
- Indicates whether this is an error node.
115
- */
116
- get isError() {
117
- return (this.flags & 4) > 0;
118
- }
119
- /**
120
- When true, this node type doesn't correspond to a user-declared
121
- named node, for example because it is used to cache repetition.
122
- */
123
- get isAnonymous() {
124
- return (this.flags & 8) > 0;
125
- }
126
- /**
127
- Returns true when this node's name or one of its
128
- [groups](#common.NodeProp^group) matches the given string.
129
- */
130
- is(e) {
131
- if (typeof e == "string") {
132
- if (this.name == e)
133
- return !0;
134
- let t = this.prop(v.group);
135
- return t ? t.indexOf(e) > -1 : !1;
136
- }
137
- return this.id == e;
138
- }
139
- /**
140
- Create a function from node types to arbitrary values by
141
- specifying an object whose property names are node or
142
- [group](#common.NodeProp^group) names. Often useful with
143
- [`NodeProp.add`](#common.NodeProp.add). You can put multiple
144
- names, separated by spaces, in a single property name to map
145
- multiple node names to a single value.
146
- */
147
- static match(e) {
148
- let t = /* @__PURE__ */ Object.create(null);
149
- for (let n in e)
150
- for (let r of n.split(" "))
151
- t[r] = e[n];
152
- return (n) => {
153
- for (let r = n.prop(v.group), s = -1; s < (r ? r.length : 0); s++) {
154
- let l = t[s < 0 ? n.name : r[s]];
155
- if (l)
156
- return l;
157
- }
158
- };
159
- }
160
- }
161
- W.none = new W(
162
- "",
163
- /* @__PURE__ */ Object.create(null),
164
- 0,
165
- 8
166
- /* NodeFlag.Anonymous */
167
- );
168
- const ue = /* @__PURE__ */ new WeakMap(), Be = /* @__PURE__ */ new WeakMap();
169
- var S;
170
- (function(i) {
171
- i[i.ExcludeBuffers = 1] = "ExcludeBuffers", i[i.IncludeAnonymous = 2] = "IncludeAnonymous", i[i.IgnoreMounts = 4] = "IgnoreMounts", i[i.IgnoreOverlays = 8] = "IgnoreOverlays";
172
- })(S || (S = {}));
173
- class V {
174
- /**
175
- Construct a new tree. See also [`Tree.build`](#common.Tree^build).
176
- */
177
- constructor(e, t, n, r, s) {
178
- if (this.type = e, this.children = t, this.positions = n, this.length = r, this.props = null, s && s.length) {
179
- this.props = /* @__PURE__ */ Object.create(null);
180
- for (let [l, u] of s)
181
- this.props[typeof l == "number" ? l : l.id] = u;
182
- }
183
- }
184
- /**
185
- @internal
186
- */
187
- toString() {
188
- let e = ge.get(this);
189
- if (e && !e.overlay)
190
- return e.tree.toString();
191
- let t = "";
192
- for (let n of this.children) {
193
- let r = n.toString();
194
- r && (t && (t += ","), t += r);
195
- }
196
- return this.type.name ? (/\W/.test(this.type.name) && !this.type.isError ? JSON.stringify(this.type.name) : this.type.name) + (t.length ? "(" + t + ")" : "") : t;
197
- }
198
- /**
199
- Get a [tree cursor](#common.TreeCursor) positioned at the top of
200
- the tree. Mode can be used to [control](#common.IterMode) which
201
- nodes the cursor visits.
202
- */
203
- cursor(e = 0) {
204
- return new _e(this.topNode, e);
205
- }
206
- /**
207
- Get a [tree cursor](#common.TreeCursor) pointing into this tree
208
- at the given position and side (see
209
- [`moveTo`](#common.TreeCursor.moveTo).
210
- */
211
- cursorAt(e, t = 0, n = 0) {
212
- let r = ue.get(this) || this.topNode, s = new _e(r);
213
- return s.moveTo(e, t), ue.set(this, s._tree), s;
214
- }
215
- /**
216
- Get a [syntax node](#common.SyntaxNode) object for the top of the
217
- tree.
218
- */
219
- get topNode() {
220
- return new E(this, 0, 0, null);
221
- }
222
- /**
223
- Get the [syntax node](#common.SyntaxNode) at the given position.
224
- If `side` is -1, this will move into nodes that end at the
225
- position. If 1, it'll move into nodes that start at the
226
- position. With 0, it'll only enter nodes that cover the position
227
- from both sides.
228
-
229
- Note that this will not enter
230
- [overlays](#common.MountedTree.overlay), and you often want
231
- [`resolveInner`](#common.Tree.resolveInner) instead.
232
- */
233
- resolve(e, t = 0) {
234
- let n = le(ue.get(this) || this.topNode, e, t, !1);
235
- return ue.set(this, n), n;
236
- }
237
- /**
238
- Like [`resolve`](#common.Tree.resolve), but will enter
239
- [overlaid](#common.MountedTree.overlay) nodes, producing a syntax node
240
- pointing into the innermost overlaid tree at the given position
241
- (with parent links going through all parent structure, including
242
- the host trees).
243
- */
244
- resolveInner(e, t = 0) {
245
- let n = le(Be.get(this) || this.topNode, e, t, !0);
246
- return Be.set(this, n), n;
247
- }
248
- /**
249
- In some situations, it can be useful to iterate through all
250
- nodes around a position, including those in overlays that don't
251
- directly cover the position. This method gives you an iterator
252
- that will produce all nodes, from small to big, around the given
253
- position.
254
- */
255
- resolveStack(e, t = 0) {
256
- return gt(this, e, t);
257
- }
258
- /**
259
- Iterate over the tree and its children, calling `enter` for any
260
- node that touches the `from`/`to` region (if given) before
261
- running over such a node's children, and `leave` (if given) when
262
- leaving the node. When `enter` returns `false`, that node will
263
- not have its children iterated over (or `leave` called).
264
- */
265
- iterate(e) {
266
- let { enter: t, leave: n, from: r = 0, to: s = this.length } = e, l = e.mode || 0, u = (l & S.IncludeAnonymous) > 0;
267
- for (let h = this.cursor(l | S.IncludeAnonymous); ; ) {
268
- let k = !1;
269
- if (h.from <= s && h.to >= r && (!u && h.type.isAnonymous || t(h) !== !1)) {
270
- if (h.firstChild())
271
- continue;
272
- k = !0;
273
- }
274
- for (; k && n && (u || !h.type.isAnonymous) && n(h), !h.nextSibling(); ) {
275
- if (!h.parent())
276
- return;
277
- k = !0;
278
- }
279
- }
280
- }
281
- /**
282
- Get the value of the given [node prop](#common.NodeProp) for this
283
- node. Works with both per-node and per-type props.
284
- */
285
- prop(e) {
286
- return e.perNode ? this.props ? this.props[e.id] : void 0 : this.type.prop(e);
287
- }
288
- /**
289
- Returns the node's [per-node props](#common.NodeProp.perNode) in a
290
- format that can be passed to the [`Tree`](#common.Tree)
291
- constructor.
292
- */
293
- get propValues() {
294
- let e = [];
295
- if (this.props)
296
- for (let t in this.props)
297
- e.push([+t, this.props[t]]);
298
- return e;
299
- }
300
- /**
301
- Balance the direct children of this tree, producing a copy of
302
- which may have children grouped into subtrees with type
303
- [`NodeType.none`](#common.NodeType^none).
304
- */
305
- balance(e = {}) {
306
- return this.children.length <= 8 ? this : we(W.none, this.children, this.positions, 0, this.children.length, 0, this.length, (t, n, r) => new V(this.type, t, n, r, this.propValues), e.makeTree || ((t, n, r) => new V(W.none, t, n, r)));
307
- }
308
- /**
309
- Build a tree from a postfix-ordered buffer of node information,
310
- or a cursor over such a buffer.
311
- */
312
- static build(e) {
313
- return mt(e);
314
- }
315
- }
316
- V.empty = new V(W.none, [], [], 0);
317
- class ke {
318
- constructor(e, t) {
319
- this.buffer = e, this.index = t;
320
- }
321
- get id() {
322
- return this.buffer[this.index - 4];
323
- }
324
- get start() {
325
- return this.buffer[this.index - 3];
326
- }
327
- get end() {
328
- return this.buffer[this.index - 2];
329
- }
330
- get size() {
331
- return this.buffer[this.index - 1];
332
- }
333
- get pos() {
334
- return this.index;
335
- }
336
- next() {
337
- this.index -= 4;
338
- }
339
- fork() {
340
- return new ke(this.buffer, this.index);
341
- }
342
- }
343
- class q {
344
- /**
345
- Create a tree buffer.
346
- */
347
- constructor(e, t, n) {
348
- this.buffer = e, this.length = t, this.set = n;
349
- }
350
- /**
351
- @internal
352
- */
353
- get type() {
354
- return W.none;
355
- }
356
- /**
357
- @internal
358
- */
359
- toString() {
360
- let e = [];
361
- for (let t = 0; t < this.buffer.length; )
362
- e.push(this.childString(t)), t = this.buffer[t + 3];
363
- return e.join(",");
364
- }
365
- /**
366
- @internal
367
- */
368
- childString(e) {
369
- let t = this.buffer[e], n = this.buffer[e + 3], r = this.set.types[t], s = r.name;
370
- if (/\W/.test(s) && !r.isError && (s = JSON.stringify(s)), e += 4, n == e)
371
- return s;
372
- let l = [];
373
- for (; e < n; )
374
- l.push(this.childString(e)), e = this.buffer[e + 3];
375
- return s + "(" + l.join(",") + ")";
376
- }
377
- /**
378
- @internal
379
- */
380
- findChild(e, t, n, r, s) {
381
- let { buffer: l } = this, u = -1;
382
- for (let h = e; h != t && !(Pe(s, r, l[h + 1], l[h + 2]) && (u = h, n > 0)); h = l[h + 3])
383
- ;
384
- return u;
385
- }
386
- /**
387
- @internal
388
- */
389
- slice(e, t, n) {
390
- let r = this.buffer, s = new Uint16Array(t - e), l = 0;
391
- for (let u = e, h = 0; u < t; ) {
392
- s[h++] = r[u++], s[h++] = r[u++] - n;
393
- let k = s[h++] = r[u++] - n;
394
- s[h++] = r[u++] - e, l = Math.max(l, k);
395
- }
396
- return new q(s, l, this.set);
397
- }
398
- }
399
- function Pe(i, e, t, n) {
400
- switch (i) {
401
- case -2:
402
- return t < e;
403
- case -1:
404
- return n >= e && t < e;
405
- case 0:
406
- return t < e && n > e;
407
- case 1:
408
- return t <= e && n > e;
409
- case 2:
410
- return n > e;
411
- case 4:
412
- return !0;
413
- }
414
- }
415
- function le(i, e, t, n) {
416
- for (var r; i.from == i.to || (t < 1 ? i.from >= e : i.from > e) || (t > -1 ? i.to <= e : i.to < e); ) {
417
- let l = !n && i instanceof E && i.index < 0 ? null : i.parent;
418
- if (!l)
419
- return i;
420
- i = l;
421
- }
422
- let s = n ? 0 : S.IgnoreOverlays;
423
- if (n)
424
- for (let l = i, u = l.parent; u; l = u, u = l.parent)
425
- l instanceof E && l.index < 0 && ((r = u.enter(e, t, s)) === null || r === void 0 ? void 0 : r.from) != l.from && (i = u);
426
- for (; ; ) {
427
- let l = i.enter(e, t, s);
428
- if (!l)
429
- return i;
430
- i = l;
431
- }
432
- }
433
- class je {
434
- cursor(e = 0) {
435
- return new _e(this, e);
436
- }
437
- getChild(e, t = null, n = null) {
438
- let r = Ee(this, e, t, n);
439
- return r.length ? r[0] : null;
440
- }
441
- getChildren(e, t = null, n = null) {
442
- return Ee(this, e, t, n);
443
- }
444
- resolve(e, t = 0) {
445
- return le(this, e, t, !1);
446
- }
447
- resolveInner(e, t = 0) {
448
- return le(this, e, t, !0);
449
- }
450
- matchContext(e) {
451
- return xe(this, e);
452
- }
453
- enterUnfinishedNodesBefore(e) {
454
- let t = this.childBefore(e), n = this;
455
- for (; t; ) {
456
- let r = t.lastChild;
457
- if (!r || r.to != t.to)
458
- break;
459
- r.type.isError && r.from == r.to ? (n = t, t = r.prevSibling) : t = r;
460
- }
461
- return n;
462
- }
463
- get node() {
464
- return this;
465
- }
466
- get next() {
467
- return this.parent;
468
- }
469
- }
470
- class E extends je {
471
- constructor(e, t, n, r) {
472
- super(), this._tree = e, this.from = t, this.index = n, this._parent = r;
473
- }
474
- get type() {
475
- return this._tree.type;
476
- }
477
- get name() {
478
- return this._tree.type.name;
479
- }
480
- get to() {
481
- return this.from + this._tree.length;
482
- }
483
- nextChild(e, t, n, r, s = 0) {
484
- for (let l = this; ; ) {
485
- for (let { children: u, positions: h } = l._tree, k = t > 0 ? u.length : -1; e != k; e += t) {
486
- let C = u[e], N = h[e] + l.from;
487
- if (Pe(r, n, N, N + C.length)) {
488
- if (C instanceof q) {
489
- if (s & S.ExcludeBuffers)
490
- continue;
491
- let A = C.findChild(0, C.buffer.length, t, n - N, r);
492
- if (A > -1)
493
- return new K(new dt(l, C, e, N), null, A);
494
- } else if (s & S.IncludeAnonymous || !C.type.isAnonymous || Ce(C)) {
495
- let A;
496
- if (!(s & S.IgnoreMounts) && (A = ge.get(C)) && !A.overlay)
497
- return new E(A.tree, N, e, l);
498
- let z = new E(C, N, e, l);
499
- return s & S.IncludeAnonymous || !z.type.isAnonymous ? z : z.nextChild(t < 0 ? C.children.length - 1 : 0, t, n, r);
500
- }
501
- }
502
- }
503
- if (s & S.IncludeAnonymous || !l.type.isAnonymous || (l.index >= 0 ? e = l.index + t : e = t < 0 ? -1 : l._parent._tree.children.length, l = l._parent, !l))
504
- return null;
505
- }
506
- }
507
- get firstChild() {
508
- return this.nextChild(
509
- 0,
510
- 1,
511
- 0,
512
- 4
513
- /* Side.DontCare */
514
- );
515
- }
516
- get lastChild() {
517
- return this.nextChild(
518
- this._tree.children.length - 1,
519
- -1,
520
- 0,
521
- 4
522
- /* Side.DontCare */
523
- );
524
- }
525
- childAfter(e) {
526
- return this.nextChild(
527
- 0,
528
- 1,
529
- e,
530
- 2
531
- /* Side.After */
532
- );
533
- }
534
- childBefore(e) {
535
- return this.nextChild(
536
- this._tree.children.length - 1,
537
- -1,
538
- e,
539
- -2
540
- /* Side.Before */
541
- );
542
- }
543
- enter(e, t, n = 0) {
544
- let r;
545
- if (!(n & S.IgnoreOverlays) && (r = ge.get(this._tree)) && r.overlay) {
546
- let s = e - this.from;
547
- for (let { from: l, to: u } of r.overlay)
548
- if ((t > 0 ? l <= s : l < s) && (t < 0 ? u >= s : u > s))
549
- return new E(r.tree, r.overlay[0].from + this.from, -1, this);
550
- }
551
- return this.nextChild(0, 1, e, t, n);
552
- }
553
- nextSignificantParent() {
554
- let e = this;
555
- for (; e.type.isAnonymous && e._parent; )
556
- e = e._parent;
557
- return e;
558
- }
559
- get parent() {
560
- return this._parent ? this._parent.nextSignificantParent() : null;
561
- }
562
- get nextSibling() {
563
- return this._parent && this.index >= 0 ? this._parent.nextChild(
564
- this.index + 1,
565
- 1,
566
- 0,
567
- 4
568
- /* Side.DontCare */
569
- ) : null;
570
- }
571
- get prevSibling() {
572
- return this._parent && this.index >= 0 ? this._parent.nextChild(
573
- this.index - 1,
574
- -1,
575
- 0,
576
- 4
577
- /* Side.DontCare */
578
- ) : null;
579
- }
580
- get tree() {
581
- return this._tree;
582
- }
583
- toTree() {
584
- return this._tree;
585
- }
586
- /**
587
- @internal
588
- */
589
- toString() {
590
- return this._tree.toString();
591
- }
592
- }
593
- function Ee(i, e, t, n) {
594
- let r = i.cursor(), s = [];
595
- if (!r.firstChild())
596
- return s;
597
- if (t != null) {
598
- for (let l = !1; !l; )
599
- if (l = r.type.is(t), !r.nextSibling())
600
- return s;
601
- }
602
- for (; ; ) {
603
- if (n != null && r.type.is(n))
604
- return s;
605
- if (r.type.is(e) && s.push(r.node), !r.nextSibling())
606
- return n == null ? s : [];
607
- }
608
- }
609
- function xe(i, e, t = e.length - 1) {
610
- for (let n = i.parent; t >= 0; n = n.parent) {
611
- if (!n)
612
- return !1;
613
- if (!n.type.isAnonymous) {
614
- if (e[t] && e[t] != n.name)
615
- return !1;
616
- t--;
617
- }
618
- }
619
- return !0;
620
- }
621
- class dt {
622
- constructor(e, t, n, r) {
623
- this.parent = e, this.buffer = t, this.index = n, this.start = r;
624
- }
625
- }
626
- class K extends je {
627
- get name() {
628
- return this.type.name;
629
- }
630
- get from() {
631
- return this.context.start + this.context.buffer.buffer[this.index + 1];
632
- }
633
- get to() {
634
- return this.context.start + this.context.buffer.buffer[this.index + 2];
635
- }
636
- constructor(e, t, n) {
637
- super(), this.context = e, this._parent = t, this.index = n, this.type = e.buffer.set.types[e.buffer.buffer[n]];
638
- }
639
- child(e, t, n) {
640
- let { buffer: r } = this.context, s = r.findChild(this.index + 4, r.buffer[this.index + 3], e, t - this.context.start, n);
641
- return s < 0 ? null : new K(this.context, this, s);
642
- }
643
- get firstChild() {
644
- return this.child(
645
- 1,
646
- 0,
647
- 4
648
- /* Side.DontCare */
649
- );
650
- }
651
- get lastChild() {
652
- return this.child(
653
- -1,
654
- 0,
655
- 4
656
- /* Side.DontCare */
657
- );
658
- }
659
- childAfter(e) {
660
- return this.child(
661
- 1,
662
- e,
663
- 2
664
- /* Side.After */
665
- );
666
- }
667
- childBefore(e) {
668
- return this.child(
669
- -1,
670
- e,
671
- -2
672
- /* Side.Before */
673
- );
674
- }
675
- enter(e, t, n = 0) {
676
- if (n & S.ExcludeBuffers)
677
- return null;
678
- let { buffer: r } = this.context, s = r.findChild(this.index + 4, r.buffer[this.index + 3], t > 0 ? 1 : -1, e - this.context.start, t);
679
- return s < 0 ? null : new K(this.context, this, s);
680
- }
681
- get parent() {
682
- return this._parent || this.context.parent.nextSignificantParent();
683
- }
684
- externalSibling(e) {
685
- return this._parent ? null : this.context.parent.nextChild(
686
- this.context.index + e,
687
- e,
688
- 0,
689
- 4
690
- /* Side.DontCare */
691
- );
692
- }
693
- get nextSibling() {
694
- let { buffer: e } = this.context, t = e.buffer[this.index + 3];
695
- return t < (this._parent ? e.buffer[this._parent.index + 3] : e.buffer.length) ? new K(this.context, this._parent, t) : this.externalSibling(1);
696
- }
697
- get prevSibling() {
698
- let { buffer: e } = this.context, t = this._parent ? this._parent.index + 4 : 0;
699
- return this.index == t ? this.externalSibling(-1) : new K(this.context, this._parent, e.findChild(
700
- t,
701
- this.index,
702
- -1,
703
- 0,
704
- 4
705
- /* Side.DontCare */
706
- ));
707
- }
708
- get tree() {
709
- return null;
710
- }
711
- toTree() {
712
- let e = [], t = [], { buffer: n } = this.context, r = this.index + 4, s = n.buffer[this.index + 3];
713
- if (s > r) {
714
- let l = n.buffer[this.index + 1];
715
- e.push(n.slice(r, s, l)), t.push(0);
716
- }
717
- return new V(this.type, e, t, this.to - this.from);
718
- }
719
- /**
720
- @internal
721
- */
722
- toString() {
723
- return this.context.buffer.childString(this.index);
724
- }
725
- }
726
- function Re(i) {
727
- if (!i.length)
728
- return null;
729
- let e = 0, t = i[0];
730
- for (let s = 1; s < i.length; s++) {
731
- let l = i[s];
732
- (l.from > t.from || l.to < t.to) && (t = l, e = s);
733
- }
734
- let n = t instanceof E && t.index < 0 ? null : t.parent, r = i.slice();
735
- return n ? r[e] = n : r.splice(e, 1), new pt(r, t);
736
- }
737
- class pt {
738
- constructor(e, t) {
739
- this.heads = e, this.node = t;
740
- }
741
- get next() {
742
- return Re(this.heads);
743
- }
744
- }
745
- function gt(i, e, t) {
746
- let n = i.resolveInner(e, t), r = null;
747
- for (let s = n instanceof E ? n : n.context.parent; s; s = s.parent)
748
- if (s.index < 0) {
749
- let l = s.parent;
750
- (r || (r = [n])).push(l.resolve(e, t)), s = l;
751
- } else {
752
- let l = ge.get(s.tree);
753
- if (l && l.overlay && l.overlay[0].from <= e && l.overlay[l.overlay.length - 1].to >= e) {
754
- let u = new E(l.tree, l.overlay[0].from + s.from, -1, s);
755
- (r || (r = [n])).push(le(u, e, t, !1));
756
- }
757
- }
758
- return r ? Re(r) : n;
759
- }
760
- class _e {
761
- /**
762
- Shorthand for `.type.name`.
763
- */
764
- get name() {
765
- return this.type.name;
766
- }
767
- /**
768
- @internal
769
- */
770
- constructor(e, t = 0) {
771
- if (this.mode = t, this.buffer = null, this.stack = [], this.index = 0, this.bufferNode = null, e instanceof E)
772
- this.yieldNode(e);
773
- else {
774
- this._tree = e.context.parent, this.buffer = e.context;
775
- for (let n = e._parent; n; n = n._parent)
776
- this.stack.unshift(n.index);
777
- this.bufferNode = e, this.yieldBuf(e.index);
778
- }
779
- }
780
- yieldNode(e) {
781
- return e ? (this._tree = e, this.type = e.type, this.from = e.from, this.to = e.to, !0) : !1;
782
- }
783
- yieldBuf(e, t) {
784
- this.index = e;
785
- let { start: n, buffer: r } = this.buffer;
786
- return this.type = t || r.set.types[r.buffer[e]], this.from = n + r.buffer[e + 1], this.to = n + r.buffer[e + 2], !0;
787
- }
788
- /**
789
- @internal
790
- */
791
- yield(e) {
792
- return e ? e instanceof E ? (this.buffer = null, this.yieldNode(e)) : (this.buffer = e.context, this.yieldBuf(e.index, e.type)) : !1;
793
- }
794
- /**
795
- @internal
796
- */
797
- toString() {
798
- return this.buffer ? this.buffer.buffer.childString(this.index) : this._tree.toString();
799
- }
800
- /**
801
- @internal
802
- */
803
- enterChild(e, t, n) {
804
- if (!this.buffer)
805
- return this.yield(this._tree.nextChild(e < 0 ? this._tree._tree.children.length - 1 : 0, e, t, n, this.mode));
806
- let { buffer: r } = this.buffer, s = r.findChild(this.index + 4, r.buffer[this.index + 3], e, t - this.buffer.start, n);
807
- return s < 0 ? !1 : (this.stack.push(this.index), this.yieldBuf(s));
808
- }
809
- /**
810
- Move the cursor to this node's first child. When this returns
811
- false, the node has no child, and the cursor has not been moved.
812
- */
813
- firstChild() {
814
- return this.enterChild(
815
- 1,
816
- 0,
817
- 4
818
- /* Side.DontCare */
819
- );
820
- }
821
- /**
822
- Move the cursor to this node's last child.
823
- */
824
- lastChild() {
825
- return this.enterChild(
826
- -1,
827
- 0,
828
- 4
829
- /* Side.DontCare */
830
- );
831
- }
832
- /**
833
- Move the cursor to the first child that ends after `pos`.
834
- */
835
- childAfter(e) {
836
- return this.enterChild(
837
- 1,
838
- e,
839
- 2
840
- /* Side.After */
841
- );
842
- }
843
- /**
844
- Move to the last child that starts before `pos`.
845
- */
846
- childBefore(e) {
847
- return this.enterChild(
848
- -1,
849
- e,
850
- -2
851
- /* Side.Before */
852
- );
853
- }
854
- /**
855
- Move the cursor to the child around `pos`. If side is -1 the
856
- child may end at that position, when 1 it may start there. This
857
- will also enter [overlaid](#common.MountedTree.overlay)
858
- [mounted](#common.NodeProp^mounted) trees unless `overlays` is
859
- set to false.
860
- */
861
- enter(e, t, n = this.mode) {
862
- return this.buffer ? n & S.ExcludeBuffers ? !1 : this.enterChild(1, e, t) : this.yield(this._tree.enter(e, t, n));
863
- }
864
- /**
865
- Move to the node's parent node, if this isn't the top node.
866
- */
867
- parent() {
868
- if (!this.buffer)
869
- return this.yieldNode(this.mode & S.IncludeAnonymous ? this._tree._parent : this._tree.parent);
870
- if (this.stack.length)
871
- return this.yieldBuf(this.stack.pop());
872
- let e = this.mode & S.IncludeAnonymous ? this.buffer.parent : this.buffer.parent.nextSignificantParent();
873
- return this.buffer = null, this.yieldNode(e);
874
- }
875
- /**
876
- @internal
877
- */
878
- sibling(e) {
879
- if (!this.buffer)
880
- return this._tree._parent ? this.yield(this._tree.index < 0 ? null : this._tree._parent.nextChild(this._tree.index + e, e, 0, 4, this.mode)) : !1;
881
- let { buffer: t } = this.buffer, n = this.stack.length - 1;
882
- if (e < 0) {
883
- let r = n < 0 ? 0 : this.stack[n] + 4;
884
- if (this.index != r)
885
- return this.yieldBuf(t.findChild(
886
- r,
887
- this.index,
888
- -1,
889
- 0,
890
- 4
891
- /* Side.DontCare */
892
- ));
893
- } else {
894
- let r = t.buffer[this.index + 3];
895
- if (r < (n < 0 ? t.buffer.length : t.buffer[this.stack[n] + 3]))
896
- return this.yieldBuf(r);
897
- }
898
- return n < 0 ? this.yield(this.buffer.parent.nextChild(this.buffer.index + e, e, 0, 4, this.mode)) : !1;
899
- }
900
- /**
901
- Move to this node's next sibling, if any.
902
- */
903
- nextSibling() {
904
- return this.sibling(1);
905
- }
906
- /**
907
- Move to this node's previous sibling, if any.
908
- */
909
- prevSibling() {
910
- return this.sibling(-1);
911
- }
912
- atLastNode(e) {
913
- let t, n, { buffer: r } = this;
914
- if (r) {
915
- if (e > 0) {
916
- if (this.index < r.buffer.buffer.length)
917
- return !1;
918
- } else
919
- for (let s = 0; s < this.index; s++)
920
- if (r.buffer.buffer[s + 3] < this.index)
921
- return !1;
922
- ({ index: t, parent: n } = r);
923
- } else
924
- ({ index: t, _parent: n } = this._tree);
925
- for (; n; { index: t, _parent: n } = n)
926
- if (t > -1)
927
- for (let s = t + e, l = e < 0 ? -1 : n._tree.children.length; s != l; s += e) {
928
- let u = n._tree.children[s];
929
- if (this.mode & S.IncludeAnonymous || u instanceof q || !u.type.isAnonymous || Ce(u))
930
- return !1;
931
- }
932
- return !0;
933
- }
934
- move(e, t) {
935
- if (t && this.enterChild(
936
- e,
937
- 0,
938
- 4
939
- /* Side.DontCare */
940
- ))
941
- return !0;
942
- for (; ; ) {
943
- if (this.sibling(e))
944
- return !0;
945
- if (this.atLastNode(e) || !this.parent())
946
- return !1;
947
- }
948
- }
949
- /**
950
- Move to the next node in a
951
- [pre-order](https://en.wikipedia.org/wiki/Tree_traversal#Pre-order,_NLR)
952
- traversal, going from a node to its first child or, if the
953
- current node is empty or `enter` is false, its next sibling or
954
- the next sibling of the first parent node that has one.
955
- */
956
- next(e = !0) {
957
- return this.move(1, e);
958
- }
959
- /**
960
- Move to the next node in a last-to-first pre-order traveral. A
961
- node is followed by its last child or, if it has none, its
962
- previous sibling or the previous sibling of the first parent
963
- node that has one.
964
- */
965
- prev(e = !0) {
966
- return this.move(-1, e);
967
- }
968
- /**
969
- Move the cursor to the innermost node that covers `pos`. If
970
- `side` is -1, it will enter nodes that end at `pos`. If it is 1,
971
- it will enter nodes that start at `pos`.
972
- */
973
- moveTo(e, t = 0) {
974
- for (; (this.from == this.to || (t < 1 ? this.from >= e : this.from > e) || (t > -1 ? this.to <= e : this.to < e)) && this.parent(); )
975
- ;
976
- for (; this.enterChild(1, e, t); )
977
- ;
978
- return this;
979
- }
980
- /**
981
- Get a [syntax node](#common.SyntaxNode) at the cursor's current
982
- position.
983
- */
984
- get node() {
985
- if (!this.buffer)
986
- return this._tree;
987
- let e = this.bufferNode, t = null, n = 0;
988
- if (e && e.context == this.buffer)
989
- e:
990
- for (let r = this.index, s = this.stack.length; s >= 0; ) {
991
- for (let l = e; l; l = l._parent)
992
- if (l.index == r) {
993
- if (r == this.index)
994
- return l;
995
- t = l, n = s + 1;
996
- break e;
997
- }
998
- r = this.stack[--s];
999
- }
1000
- for (let r = n; r < this.stack.length; r++)
1001
- t = new K(this.buffer, t, this.stack[r]);
1002
- return this.bufferNode = new K(this.buffer, t, this.index);
1003
- }
1004
- /**
1005
- Get the [tree](#common.Tree) that represents the current node, if
1006
- any. Will return null when the node is in a [tree
1007
- buffer](#common.TreeBuffer).
1008
- */
1009
- get tree() {
1010
- return this.buffer ? null : this._tree._tree;
1011
- }
1012
- /**
1013
- Iterate over the current node and all its descendants, calling
1014
- `enter` when entering a node and `leave`, if given, when leaving
1015
- one. When `enter` returns `false`, any children of that node are
1016
- skipped, and `leave` isn't called for it.
1017
- */
1018
- iterate(e, t) {
1019
- for (let n = 0; ; ) {
1020
- let r = !1;
1021
- if (this.type.isAnonymous || e(this) !== !1) {
1022
- if (this.firstChild()) {
1023
- n++;
1024
- continue;
1025
- }
1026
- this.type.isAnonymous || (r = !0);
1027
- }
1028
- for (; r && t && t(this), r = this.type.isAnonymous, !this.nextSibling(); ) {
1029
- if (!n)
1030
- return;
1031
- this.parent(), n--, r = !0;
1032
- }
1033
- }
1034
- }
1035
- /**
1036
- Test whether the current node matches a given context—a sequence
1037
- of direct parent node names. Empty strings in the context array
1038
- are treated as wildcards.
1039
- */
1040
- matchContext(e) {
1041
- if (!this.buffer)
1042
- return xe(this.node, e);
1043
- let { buffer: t } = this.buffer, { types: n } = t.set;
1044
- for (let r = e.length - 1, s = this.stack.length - 1; r >= 0; s--) {
1045
- if (s < 0)
1046
- return xe(this.node, e, r);
1047
- let l = n[t.buffer[this.stack[s]]];
1048
- if (!l.isAnonymous) {
1049
- if (e[r] && e[r] != l.name)
1050
- return !1;
1051
- r--;
1052
- }
1053
- }
1054
- return !0;
1055
- }
1056
- }
1057
- function Ce(i) {
1058
- return i.children.some((e) => e instanceof q || !e.type.isAnonymous || Ce(e));
1059
- }
1060
- function mt(i) {
1061
- var e;
1062
- let { buffer: t, nodeSet: n, maxBufferLength: r = ft, reused: s = [], minRepeatType: l = n.types.length } = i, u = Array.isArray(t) ? new ke(t, t.length) : t, h = n.types, k = 0, C = 0;
1063
- function N(g, b, f, y, p, m) {
1064
- let { id: c, start: d, end: _, size: x } = u, L = C;
1065
- for (; x < 0; )
1066
- if (u.next(), x == -1) {
1067
- let U = s[c];
1068
- f.push(U), y.push(d - g);
1069
- return;
1070
- } else if (x == -3) {
1071
- k = c;
1072
- return;
1073
- } else if (x == -4) {
1074
- C = c;
1075
- return;
1076
- } else
1077
- throw new RangeError(`Unrecognized record size: ${x}`);
1078
- let X = h[c], te, Z, Ne = d - g;
1079
- if (_ - d <= r && (Z = O(u.pos - b, p))) {
1080
- let U = new Uint16Array(Z.size - Z.skip), B = u.pos - Z.size, T = U.length;
1081
- for (; u.pos > B; )
1082
- T = $(Z.start, U, T);
1083
- te = new q(U, _ - Z.start, n), Ne = Z.start - g;
1084
- } else {
1085
- let U = u.pos - x;
1086
- u.next();
1087
- let B = [], T = [], Q = c >= l ? c : -1, ne = 0, oe = _;
1088
- for (; u.pos > U; )
1089
- Q >= 0 && u.id == Q && u.size >= 0 ? (u.end <= oe - r && (I(B, T, d, ne, u.end, oe, Q, L), ne = B.length, oe = u.end), u.next()) : m > 2500 ? A(d, U, B, T) : N(d, U, B, T, Q, m + 1);
1090
- if (Q >= 0 && ne > 0 && ne < B.length && I(B, T, d, ne, d, oe, Q, L), B.reverse(), T.reverse(), Q > -1 && ne > 0) {
1091
- let Se = z(X);
1092
- te = we(X, B, T, 0, B.length, 0, _ - d, Se, Se);
1093
- } else
1094
- te = M(X, B, T, _ - d, L - _);
1095
- }
1096
- f.push(te), y.push(Ne);
1097
- }
1098
- function A(g, b, f, y) {
1099
- let p = [], m = 0, c = -1;
1100
- for (; u.pos > b; ) {
1101
- let { id: d, start: _, end: x, size: L } = u;
1102
- if (L > 4)
1103
- u.next();
1104
- else {
1105
- if (c > -1 && _ < c)
1106
- break;
1107
- c < 0 && (c = x - r), p.push(d, _, x), m++, u.next();
1108
- }
1109
- }
1110
- if (m) {
1111
- let d = new Uint16Array(m * 4), _ = p[p.length - 2];
1112
- for (let x = p.length - 3, L = 0; x >= 0; x -= 3)
1113
- d[L++] = p[x], d[L++] = p[x + 1] - _, d[L++] = p[x + 2] - _, d[L++] = L;
1114
- f.push(new q(d, p[2] - _, n)), y.push(_ - g);
1115
- }
1116
- }
1117
- function z(g) {
1118
- return (b, f, y) => {
1119
- let p = 0, m = b.length - 1, c, d;
1120
- if (m >= 0 && (c = b[m]) instanceof V) {
1121
- if (!m && c.type == g && c.length == y)
1122
- return c;
1123
- (d = c.prop(v.lookAhead)) && (p = f[m] + c.length + d);
1124
- }
1125
- return M(g, b, f, y, p);
1126
- };
1127
- }
1128
- function I(g, b, f, y, p, m, c, d) {
1129
- let _ = [], x = [];
1130
- for (; g.length > y; )
1131
- _.push(g.pop()), x.push(b.pop() + f - p);
1132
- g.push(M(n.types[c], _, x, m - p, d - m)), b.push(p - f);
1133
- }
1134
- function M(g, b, f, y, p = 0, m) {
1135
- if (k) {
1136
- let c = [v.contextHash, k];
1137
- m = m ? [c].concat(m) : [c];
1138
- }
1139
- if (p > 25) {
1140
- let c = [v.lookAhead, p];
1141
- m = m ? [c].concat(m) : [c];
1142
- }
1143
- return new V(g, b, f, y, m);
1144
- }
1145
- function O(g, b) {
1146
- let f = u.fork(), y = 0, p = 0, m = 0, c = f.end - r, d = { size: 0, start: 0, skip: 0 };
1147
- e:
1148
- for (let _ = f.pos - g; f.pos > _; ) {
1149
- let x = f.size;
1150
- if (f.id == b && x >= 0) {
1151
- d.size = y, d.start = p, d.skip = m, m += 4, y += 4, f.next();
1152
- continue;
1153
- }
1154
- let L = f.pos - x;
1155
- if (x < 0 || L < _ || f.start < c)
1156
- break;
1157
- let X = f.id >= l ? 4 : 0, te = f.start;
1158
- for (f.next(); f.pos > L; ) {
1159
- if (f.size < 0)
1160
- if (f.size == -3)
1161
- X += 4;
1162
- else
1163
- break e;
1164
- else
1165
- f.id >= l && (X += 4);
1166
- f.next();
1167
- }
1168
- p = te, y += x, m += X;
1169
- }
1170
- return (b < 0 || y == g) && (d.size = y, d.start = p, d.skip = m), d.size > 4 ? d : void 0;
1171
- }
1172
- function $(g, b, f) {
1173
- let { id: y, start: p, end: m, size: c } = u;
1174
- if (u.next(), c >= 0 && y < l) {
1175
- let d = f;
1176
- if (c > 4) {
1177
- let _ = u.pos - (c - 4);
1178
- for (; u.pos > _; )
1179
- f = $(g, b, f);
1180
- }
1181
- b[--f] = d, b[--f] = m - g, b[--f] = p - g, b[--f] = y;
1182
- } else
1183
- c == -3 ? k = y : c == -4 && (C = y);
1184
- return f;
1185
- }
1186
- let D = [], w = [];
1187
- for (; u.pos > 0; )
1188
- N(i.start || 0, i.bufferStart || 0, D, w, -1, 0);
1189
- let J = (e = i.length) !== null && e !== void 0 ? e : D.length ? w[0] + D[0].length : 0;
1190
- return new V(h[i.topID], D.reverse(), w.reverse(), J);
1191
- }
1192
- const Oe = /* @__PURE__ */ new WeakMap();
1193
- function de(i, e) {
1194
- if (!i.isAnonymous || e instanceof q || e.type != i)
1195
- return 1;
1196
- let t = Oe.get(e);
1197
- if (t == null) {
1198
- t = 1;
1199
- for (let n of e.children) {
1200
- if (n.type != i || !(n instanceof V)) {
1201
- t = 1;
1202
- break;
1203
- }
1204
- t += de(i, n);
1205
- }
1206
- Oe.set(e, t);
1207
- }
1208
- return t;
1209
- }
1210
- function we(i, e, t, n, r, s, l, u, h) {
1211
- let k = 0;
1212
- for (let I = n; I < r; I++)
1213
- k += de(i, e[I]);
1214
- let C = Math.ceil(
1215
- k * 1.5 / 8
1216
- /* Balance.BranchFactor */
1217
- ), N = [], A = [];
1218
- function z(I, M, O, $, D) {
1219
- for (let w = O; w < $; ) {
1220
- let J = w, g = M[w], b = de(i, I[w]);
1221
- for (w++; w < $; w++) {
1222
- let f = de(i, I[w]);
1223
- if (b + f >= C)
1224
- break;
1225
- b += f;
1226
- }
1227
- if (w == J + 1) {
1228
- if (b > C) {
1229
- let f = I[J];
1230
- z(f.children, f.positions, 0, f.children.length, M[J] + D);
1231
- continue;
1232
- }
1233
- N.push(I[J]);
1234
- } else {
1235
- let f = M[w - 1] + I[w - 1].length - g;
1236
- N.push(we(i, I, M, J, w, g, f, null, h));
1237
- }
1238
- A.push(g + D - s);
1239
- }
1240
- }
1241
- return z(e, t, n, r, 0), (u || h)(N, A, l);
1242
- }
1243
- new v({ perNode: !0 });
1244
- let bt = 0;
1245
- class R {
1246
- /**
1247
- @internal
1248
- */
1249
- constructor(e, t, n) {
1250
- this.set = e, this.base = t, this.modified = n, this.id = bt++;
1251
- }
1252
- /**
1253
- Define a new tag. If `parent` is given, the tag is treated as a
1254
- sub-tag of that parent, and
1255
- [highlighters](#highlight.tagHighlighter) that don't mention
1256
- this tag will try to fall back to the parent tag (or grandparent
1257
- tag, etc).
1258
- */
1259
- static define(e) {
1260
- if (e != null && e.base)
1261
- throw new Error("Can not derive from a modified tag");
1262
- let t = new R([], null, []);
1263
- if (t.set.push(t), e)
1264
- for (let n of e.set)
1265
- t.set.push(n);
1266
- return t;
1267
- }
1268
- /**
1269
- Define a tag _modifier_, which is a function that, given a tag,
1270
- will return a tag that is a subtag of the original. Applying the
1271
- same modifier to a twice tag will return the same value (`m1(t1)
1272
- == m1(t1)`) and applying multiple modifiers will, regardless or
1273
- order, produce the same tag (`m1(m2(t1)) == m2(m1(t1))`).
1274
-
1275
- When multiple modifiers are applied to a given base tag, each
1276
- smaller set of modifiers is registered as a parent, so that for
1277
- example `m1(m2(m3(t1)))` is a subtype of `m1(m2(t1))`,
1278
- `m1(m3(t1)`, and so on.
1279
- */
1280
- static defineModifier() {
1281
- let e = new me();
1282
- return (t) => t.modified.indexOf(e) > -1 ? t : me.get(t.base || t, t.modified.concat(e).sort((n, r) => n.id - r.id));
1283
- }
1284
- }
1285
- let yt = 0;
1286
- class me {
1287
- constructor() {
1288
- this.instances = [], this.id = yt++;
1289
- }
1290
- static get(e, t) {
1291
- if (!t.length)
1292
- return e;
1293
- let n = t[0].instances.find((u) => u.base == e && xt(t, u.modified));
1294
- if (n)
1295
- return n;
1296
- let r = [], s = new R(r, e, t);
1297
- for (let u of t)
1298
- u.instances.push(s);
1299
- let l = _t(t);
1300
- for (let u of e.set)
1301
- if (!u.modified.length)
1302
- for (let h of l)
1303
- r.push(me.get(u, h));
1304
- return s;
1305
- }
1306
- }
1307
- function xt(i, e) {
1308
- return i.length == e.length && i.every((t, n) => t == e[n]);
1309
- }
1310
- function _t(i) {
1311
- let e = [[]];
1312
- for (let t = 0; t < i.length; t++)
1313
- for (let n = 0, r = e.length; n < r; n++)
1314
- e.push(e[n].concat(i[t]));
1315
- return e.sort((t, n) => n.length - t.length);
1316
- }
1317
- new v();
1318
- function vt(i, e) {
1319
- let t = /* @__PURE__ */ Object.create(null);
1320
- for (let s of i)
1321
- if (!Array.isArray(s.tag))
1322
- t[s.tag.id] = s.class;
1323
- else
1324
- for (let l of s.tag)
1325
- t[l.id] = s.class;
1326
- let { scope: n, all: r = null } = e || {};
1327
- return {
1328
- style: (s) => {
1329
- let l = r;
1330
- for (let u of s)
1331
- for (let h of u.set) {
1332
- let k = t[h.id];
1333
- if (k) {
1334
- l = l ? l + " " + k : k;
1335
- break;
1336
- }
1337
- }
1338
- return l;
1339
- },
1340
- scope: n
1341
- };
1342
- }
1343
- const a = R.define, fe = a(), G = a(), ze = a(G), Me = a(G), F = a(), he = a(F), ye = a(F), j = a(), Y = a(j), H = a(), P = a(), ve = a(), ie = a(ve), ce = a(), o = {
1344
- /**
1345
- A comment.
1346
- */
1347
- comment: fe,
1348
- /**
1349
- A line [comment](#highlight.tags.comment).
1350
- */
1351
- lineComment: a(fe),
1352
- /**
1353
- A block [comment](#highlight.tags.comment).
1354
- */
1355
- blockComment: a(fe),
1356
- /**
1357
- A documentation [comment](#highlight.tags.comment).
1358
- */
1359
- docComment: a(fe),
1360
- /**
1361
- Any kind of identifier.
1362
- */
1363
- name: G,
1364
- /**
1365
- The [name](#highlight.tags.name) of a variable.
1366
- */
1367
- variableName: a(G),
1368
- /**
1369
- A type [name](#highlight.tags.name).
1370
- */
1371
- typeName: ze,
1372
- /**
1373
- A tag name (subtag of [`typeName`](#highlight.tags.typeName)).
1374
- */
1375
- tagName: a(ze),
1376
- /**
1377
- A property or field [name](#highlight.tags.name).
1378
- */
1379
- propertyName: Me,
1380
- /**
1381
- An attribute name (subtag of [`propertyName`](#highlight.tags.propertyName)).
1382
- */
1383
- attributeName: a(Me),
1384
- /**
1385
- The [name](#highlight.tags.name) of a class.
1386
- */
1387
- className: a(G),
1388
- /**
1389
- A label [name](#highlight.tags.name).
1390
- */
1391
- labelName: a(G),
1392
- /**
1393
- A namespace [name](#highlight.tags.name).
1394
- */
1395
- namespace: a(G),
1396
- /**
1397
- The [name](#highlight.tags.name) of a macro.
1398
- */
1399
- macroName: a(G),
1400
- /**
1401
- A literal value.
1402
- */
1403
- literal: F,
1404
- /**
1405
- A string [literal](#highlight.tags.literal).
1406
- */
1407
- string: he,
1408
- /**
1409
- A documentation [string](#highlight.tags.string).
1410
- */
1411
- docString: a(he),
1412
- /**
1413
- A character literal (subtag of [string](#highlight.tags.string)).
1414
- */
1415
- character: a(he),
1416
- /**
1417
- An attribute value (subtag of [string](#highlight.tags.string)).
1418
- */
1419
- attributeValue: a(he),
1420
- /**
1421
- A number [literal](#highlight.tags.literal).
1422
- */
1423
- number: ye,
1424
- /**
1425
- An integer [number](#highlight.tags.number) literal.
1426
- */
1427
- integer: a(ye),
1428
- /**
1429
- A floating-point [number](#highlight.tags.number) literal.
1430
- */
1431
- float: a(ye),
1432
- /**
1433
- A boolean [literal](#highlight.tags.literal).
1434
- */
1435
- bool: a(F),
1436
- /**
1437
- Regular expression [literal](#highlight.tags.literal).
1438
- */
1439
- regexp: a(F),
1440
- /**
1441
- An escape [literal](#highlight.tags.literal), for example a
1442
- backslash escape in a string.
1443
- */
1444
- escape: a(F),
1445
- /**
1446
- A color [literal](#highlight.tags.literal).
1447
- */
1448
- color: a(F),
1449
- /**
1450
- A URL [literal](#highlight.tags.literal).
1451
- */
1452
- url: a(F),
1453
- /**
1454
- A language keyword.
1455
- */
1456
- keyword: H,
1457
- /**
1458
- The [keyword](#highlight.tags.keyword) for the self or this
1459
- object.
1460
- */
1461
- self: a(H),
1462
- /**
1463
- The [keyword](#highlight.tags.keyword) for null.
1464
- */
1465
- null: a(H),
1466
- /**
1467
- A [keyword](#highlight.tags.keyword) denoting some atomic value.
1468
- */
1469
- atom: a(H),
1470
- /**
1471
- A [keyword](#highlight.tags.keyword) that represents a unit.
1472
- */
1473
- unit: a(H),
1474
- /**
1475
- A modifier [keyword](#highlight.tags.keyword).
1476
- */
1477
- modifier: a(H),
1478
- /**
1479
- A [keyword](#highlight.tags.keyword) that acts as an operator.
1480
- */
1481
- operatorKeyword: a(H),
1482
- /**
1483
- A control-flow related [keyword](#highlight.tags.keyword).
1484
- */
1485
- controlKeyword: a(H),
1486
- /**
1487
- A [keyword](#highlight.tags.keyword) that defines something.
1488
- */
1489
- definitionKeyword: a(H),
1490
- /**
1491
- A [keyword](#highlight.tags.keyword) related to defining or
1492
- interfacing with modules.
1493
- */
1494
- moduleKeyword: a(H),
1495
- /**
1496
- An operator.
1497
- */
1498
- operator: P,
1499
- /**
1500
- An [operator](#highlight.tags.operator) that dereferences something.
1501
- */
1502
- derefOperator: a(P),
1503
- /**
1504
- Arithmetic-related [operator](#highlight.tags.operator).
1505
- */
1506
- arithmeticOperator: a(P),
1507
- /**
1508
- Logical [operator](#highlight.tags.operator).
1509
- */
1510
- logicOperator: a(P),
1511
- /**
1512
- Bit [operator](#highlight.tags.operator).
1513
- */
1514
- bitwiseOperator: a(P),
1515
- /**
1516
- Comparison [operator](#highlight.tags.operator).
1517
- */
1518
- compareOperator: a(P),
1519
- /**
1520
- [Operator](#highlight.tags.operator) that updates its operand.
1521
- */
1522
- updateOperator: a(P),
1523
- /**
1524
- [Operator](#highlight.tags.operator) that defines something.
1525
- */
1526
- definitionOperator: a(P),
1527
- /**
1528
- Type-related [operator](#highlight.tags.operator).
1529
- */
1530
- typeOperator: a(P),
1531
- /**
1532
- Control-flow [operator](#highlight.tags.operator).
1533
- */
1534
- controlOperator: a(P),
1535
- /**
1536
- Program or markup punctuation.
1537
- */
1538
- punctuation: ve,
1539
- /**
1540
- [Punctuation](#highlight.tags.punctuation) that separates
1541
- things.
1542
- */
1543
- separator: a(ve),
1544
- /**
1545
- Bracket-style [punctuation](#highlight.tags.punctuation).
1546
- */
1547
- bracket: ie,
1548
- /**
1549
- Angle [brackets](#highlight.tags.bracket) (usually `<` and `>`
1550
- tokens).
1551
- */
1552
- angleBracket: a(ie),
1553
- /**
1554
- Square [brackets](#highlight.tags.bracket) (usually `[` and `]`
1555
- tokens).
1556
- */
1557
- squareBracket: a(ie),
1558
- /**
1559
- Parentheses (usually `(` and `)` tokens). Subtag of
1560
- [bracket](#highlight.tags.bracket).
1561
- */
1562
- paren: a(ie),
1563
- /**
1564
- Braces (usually `{` and `}` tokens). Subtag of
1565
- [bracket](#highlight.tags.bracket).
1566
- */
1567
- brace: a(ie),
1568
- /**
1569
- Content, for example plain text in XML or markup documents.
1570
- */
1571
- content: j,
1572
- /**
1573
- [Content](#highlight.tags.content) that represents a heading.
1574
- */
1575
- heading: Y,
1576
- /**
1577
- A level 1 [heading](#highlight.tags.heading).
1578
- */
1579
- heading1: a(Y),
1580
- /**
1581
- A level 2 [heading](#highlight.tags.heading).
1582
- */
1583
- heading2: a(Y),
1584
- /**
1585
- A level 3 [heading](#highlight.tags.heading).
1586
- */
1587
- heading3: a(Y),
1588
- /**
1589
- A level 4 [heading](#highlight.tags.heading).
1590
- */
1591
- heading4: a(Y),
1592
- /**
1593
- A level 5 [heading](#highlight.tags.heading).
1594
- */
1595
- heading5: a(Y),
1596
- /**
1597
- A level 6 [heading](#highlight.tags.heading).
1598
- */
1599
- heading6: a(Y),
1600
- /**
1601
- A prose separator (such as a horizontal rule).
1602
- */
1603
- contentSeparator: a(j),
1604
- /**
1605
- [Content](#highlight.tags.content) that represents a list.
1606
- */
1607
- list: a(j),
1608
- /**
1609
- [Content](#highlight.tags.content) that represents a quote.
1610
- */
1611
- quote: a(j),
1612
- /**
1613
- [Content](#highlight.tags.content) that is emphasized.
1614
- */
1615
- emphasis: a(j),
1616
- /**
1617
- [Content](#highlight.tags.content) that is styled strong.
1618
- */
1619
- strong: a(j),
1620
- /**
1621
- [Content](#highlight.tags.content) that is part of a link.
1622
- */
1623
- link: a(j),
1624
- /**
1625
- [Content](#highlight.tags.content) that is styled as code or
1626
- monospace.
1627
- */
1628
- monospace: a(j),
1629
- /**
1630
- [Content](#highlight.tags.content) that has a strike-through
1631
- style.
1632
- */
1633
- strikethrough: a(j),
1634
- /**
1635
- Inserted text in a change-tracking format.
1636
- */
1637
- inserted: a(),
1638
- /**
1639
- Deleted text.
1640
- */
1641
- deleted: a(),
1642
- /**
1643
- Changed text.
1644
- */
1645
- changed: a(),
1646
- /**
1647
- An invalid or unsyntactic element.
1648
- */
1649
- invalid: a(),
1650
- /**
1651
- Metadata or meta-instruction.
1652
- */
1653
- meta: ce,
1654
- /**
1655
- [Metadata](#highlight.tags.meta) that applies to the entire
1656
- document.
1657
- */
1658
- documentMeta: a(ce),
1659
- /**
1660
- [Metadata](#highlight.tags.meta) that annotates or adds
1661
- attributes to a given syntactic element.
1662
- */
1663
- annotation: a(ce),
1664
- /**
1665
- Processing instruction or preprocessor directive. Subtag of
1666
- [meta](#highlight.tags.meta).
1667
- */
1668
- processingInstruction: a(ce),
1669
- /**
1670
- [Modifier](#highlight.Tag^defineModifier) that indicates that a
1671
- given element is being defined. Expected to be used with the
1672
- various [name](#highlight.tags.name) tags.
1673
- */
1674
- definition: R.defineModifier(),
1675
- /**
1676
- [Modifier](#highlight.Tag^defineModifier) that indicates that
1677
- something is constant. Mostly expected to be used with
1678
- [variable names](#highlight.tags.variableName).
1679
- */
1680
- constant: R.defineModifier(),
1681
- /**
1682
- [Modifier](#highlight.Tag^defineModifier) used to indicate that
1683
- a [variable](#highlight.tags.variableName) or [property
1684
- name](#highlight.tags.propertyName) is being called or defined
1685
- as a function.
1686
- */
1687
- function: R.defineModifier(),
1688
- /**
1689
- [Modifier](#highlight.Tag^defineModifier) that can be applied to
1690
- [names](#highlight.tags.name) to indicate that they belong to
1691
- the language's standard environment.
1692
- */
1693
- standard: R.defineModifier(),
1694
- /**
1695
- [Modifier](#highlight.Tag^defineModifier) that indicates a given
1696
- [names](#highlight.tags.name) is local to some scope.
1697
- */
1698
- local: R.defineModifier(),
1699
- /**
1700
- A generic variant [modifier](#highlight.Tag^defineModifier) that
1701
- can be used to tag language-specific alternative variants of
1702
- some common tag. It is recommended for themes to define special
1703
- forms of at least the [string](#highlight.tags.string) and
1704
- [variable name](#highlight.tags.variableName) tags, since those
1705
- come up a lot.
1706
- */
1707
- special: R.defineModifier()
1708
- };
1709
- vt([
1710
- { tag: o.link, class: "tok-link" },
1711
- { tag: o.heading, class: "tok-heading" },
1712
- { tag: o.emphasis, class: "tok-emphasis" },
1713
- { tag: o.strong, class: "tok-strong" },
1714
- { tag: o.keyword, class: "tok-keyword" },
1715
- { tag: o.atom, class: "tok-atom" },
1716
- { tag: o.bool, class: "tok-bool" },
1717
- { tag: o.url, class: "tok-url" },
1718
- { tag: o.labelName, class: "tok-labelName" },
1719
- { tag: o.inserted, class: "tok-inserted" },
1720
- { tag: o.deleted, class: "tok-deleted" },
1721
- { tag: o.literal, class: "tok-literal" },
1722
- { tag: o.string, class: "tok-string" },
1723
- { tag: o.number, class: "tok-number" },
1724
- { tag: [o.regexp, o.escape, o.special(o.string)], class: "tok-string2" },
1725
- { tag: o.variableName, class: "tok-variableName" },
1726
- { tag: o.local(o.variableName), class: "tok-variableName tok-local" },
1727
- { tag: o.definition(o.variableName), class: "tok-variableName tok-definition" },
1728
- { tag: o.special(o.variableName), class: "tok-variableName2" },
1729
- { tag: o.definition(o.propertyName), class: "tok-propertyName tok-definition" },
1730
- { tag: o.typeName, class: "tok-typeName" },
1731
- { tag: o.namespace, class: "tok-namespace" },
1732
- { tag: o.className, class: "tok-className" },
1733
- { tag: o.macroName, class: "tok-macroName" },
1734
- { tag: o.propertyName, class: "tok-propertyName" },
1735
- { tag: o.operator, class: "tok-operator" },
1736
- { tag: o.comment, class: "tok-comment" },
1737
- { tag: o.meta, class: "tok-meta" },
1738
- { tag: o.invalid, class: "tok-invalid" },
1739
- { tag: o.punctuation, class: "tok-punctuation" }
1740
- ]);
1741
- const kt = "#c72727", Ct = "#9b5700", wt = "#067934", Nt = "#0063d7", St = {
1742
- red: kt,
1743
- orange: Ct,
1744
- green: wt,
1745
- blue: Nt,
1746
- invalid: "#ffffff"
1747
- }, At = (i) => Ze.define([
1748
- {
1749
- tag: o.keyword,
1750
- color: i.red
1751
- },
1752
- {
1753
- tag: [o.name, o.deleted, o.character, o.propertyName, o.macroName],
1754
- color: i.green
1755
- },
1756
- {
1757
- tag: [o.function(o.variableName), o.labelName],
1758
- color: i.blue
1759
- },
1760
- {
1761
- tag: [o.color, o.constant(o.name), o.standard(o.name)],
1762
- color: i.red
1763
- },
1764
- {
1765
- tag: [o.definition(o.name), o.separator],
1766
- color: i.red
1767
- },
1768
- {
1769
- tag: [o.typeName, o.className, o.number, o.changed, o.annotation, o.modifier, o.self, o.namespace],
1770
- color: i.orange
1771
- },
1772
- {
1773
- tag: [o.operator, o.operatorKeyword, o.url, o.escape, o.regexp, o.link, o.special(o.string)],
1774
- color: i.blue
1775
- },
1776
- {
1777
- tag: [o.meta, o.comment],
1778
- color: i.orange
1779
- },
1780
- {
1781
- tag: o.strong,
1782
- fontWeight: "bold"
1783
- },
1784
- {
1785
- tag: o.emphasis,
1786
- fontStyle: "italic"
1787
- },
1788
- {
1789
- tag: o.strikethrough,
1790
- textDecoration: "line-through"
1791
- },
1792
- {
1793
- tag: o.link,
1794
- color: i.orange,
1795
- textDecoration: "underline"
1796
- },
1797
- {
1798
- tag: o.heading,
1799
- fontWeight: "bold",
1800
- color: i.blue
1801
- },
1802
- {
1803
- tag: [o.atom, o.bool, o.special(o.variableName)],
1804
- color: i.red
1805
- },
1806
- {
1807
- tag: [o.processingInstruction, o.string, o.inserted],
1808
- color: i.blue
1809
- },
1810
- {
1811
- tag: o.invalid,
1812
- color: i.invalid
1813
- }
1814
- ]), It = Xe(At(St));
1815
- var pe = /* @__PURE__ */ ((i) => (i.INLINE = "inline", i.SINGLELINE = "singleline", i.MULTILINE = "multiline", i))(pe || {}), ee = /* @__PURE__ */ ((i) => (i.JSON = "json", i.XML = "xml", i.JAVA = "java", i.JAVASCRIPT = "javascript", i))(ee || {}), se = /* @__PURE__ */ ((i) => (i.ACTION = "action", i.CHANGE = "change", i))(se || {});
1816
- const Lt = {
1817
- [ee.JSON]: st,
1818
- [ee.XML]: lt,
1819
- [ee.JAVASCRIPT]: ot,
1820
- [ee.JAVA]: at
1821
- }, Bt = (i) => async () => Lt[i], Et = (i, e) => {
1822
- const t = i.doc.lineAt(e.from), n = /^\s*/.exec(t.text);
1823
- return n ? n[0] : "";
1824
- }, Ot = {
1825
- key: "Enter",
1826
- run: ({ state: i, dispatch: e }) => {
1827
- const t = i.changeByRange((n) => {
1828
- const s = `
1829
- ${Et(i, n)}`;
1830
- return {
1831
- changes: { from: n.from, to: n.to, insert: s },
1832
- range: Fe.cursor(n.from + s.length)
1833
- };
1834
- });
1835
- return e(i.update(t, { scrollIntoView: !0, userEvent: "input" })), !0;
1836
- }
1837
- };
1838
- let Te = 0;
1839
- const zt = {
1840
- beforeCreate() {
1841
- this.uuid = Te.toString(), Te += 1;
1842
- }
1843
- };
1844
- var Mt = function() {
1845
- var e = this, t = e._self._c;
1846
- return t("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? t("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), t("path", { attrs: { fill: "#00112C", d: "M14.75 1.25V6.75H13.25V3.81083L10.0001 7.06072L8.93945 6.00006L12.1895 2.75H9.25V1.25H14.75Z" } }), t("path", { attrs: { fill: "#00112C", d: "M2.75 12.1895V9.25H1.25V14.75H6.75V13.25H3.81083L7.06072 10.0001L6.00006 8.93945L2.75 12.1895Z" } })]);
1847
- }, Tt = [], Ht = /* @__PURE__ */ He(
1848
- zt,
1849
- Mt,
1850
- Tt,
1851
- !1,
1852
- null,
1853
- null,
1854
- null,
1855
- null
1856
- );
1857
- const Pt = Ht.exports, jt = {
1858
- "en-US": {
1859
- run: "Run",
1860
- expand: "Expand"
1861
- }
1862
- }, Rt = Ve({
1863
- i18n: { messages: jt },
1864
- name: "bento-code-snippet",
1865
- components: {
1866
- BentoTypography: et,
1867
- BentoButton: Ye,
1868
- BentoDropdown: Qe,
1869
- Copy: it,
1870
- BaseModal: rt,
1871
- BentoLoadingIndicator: tt,
1872
- ExpandIcon: Pt
1873
- },
1874
- directives: { BentoTooltipDirective: ut },
1875
- props: {
1876
- /**
1877
- * Defines the variant of code-snippet
1878
- */
1879
- variant: {
1880
- type: String,
1881
- default: pe.MULTILINE,
1882
- validator: (i) => Object.values(pe).includes(i)
1883
- },
1884
- /**
1885
- * Language name for syntax highlighting rules
1886
- */
1887
- lang: {
1888
- type: String,
1889
- default: ee.JSON,
1890
- validator: (i) => Object.values(ee).includes(i)
1891
- },
1892
- /**
1893
- * Label to show in the action-bar, describing the language
1894
- */
1895
- langLabel: {
1896
- type: String,
1897
- default: null
1898
- },
1899
- /**
1900
- * The code content
1901
- */
1902
- content: {
1903
- type: String,
1904
- default: ""
1905
- },
1906
- /**
1907
- * Allows editing of the code-snippet content by the user
1908
- */
1909
- editable: {
1910
- type: Boolean,
1911
- default: !1
1912
- },
1913
- /**
1914
- * Displays a button that when clicked will emit an action event
1915
- * Leaves to the parent component the logic of what to do with it
1916
- */
1917
- actionable: {
1918
- type: Boolean,
1919
- default: !1
1920
- },
1921
- /**
1922
- * Displays a button that can expand the codeblock into a modal to easily
1923
- * view large blocks of code.
1924
- */
1925
- expandable: {
1926
- type: Boolean,
1927
- default: !1
1928
- },
1929
- /**
1930
- * Displays a button that when clicked will emit a run event
1931
- * Leaves to the parent component the logic of what to do with it
1932
- */
1933
- actionableText: {
1934
- type: String,
1935
- default: "run"
1936
- },
1937
- /**
1938
- * Toggles the loading indicator within the action bar
1939
- */
1940
- loading: {
1941
- type: Boolean,
1942
- default: !1
1943
- }
1944
- },
1945
- emits: [se.ACTION, se.CHANGE],
1946
- setup(i, { emit: e }) {
1947
- const { t } = nt(), n = ae(null), r = [], s = () => {
1948
- }, l = re(() => i.langLabel ?? i.lang.toUpperCase()), u = re(() => i.variant === pe.INLINE), h = re(() => ({
1949
- "b-code-snippet--inline": u.value,
1950
- "b-code-snippet--scrollable": !u.value
1951
- })), k = re(() => ({
1952
- "b-code-snippet__code-area-content--editable": i.editable
1953
- })), C = Bt(i.lang), N = Ae(), A = Ae(), z = new be(), I = new be(), M = new be(), O = ae(null), $ = ae(0);
1954
- $e(async () => {
1955
- const g = await C();
1956
- O.value = i.content;
1957
- const b = ({ state: p }) => {
1958
- O.value = p.doc.toString();
1959
- }, f = [
1960
- Ue(),
1961
- We.of([Ke, Ot]),
1962
- z.of(g()),
1963
- I.of(It),
1964
- M.of(Le.readOnly.of(!i.editable)),
1965
- Ie.updateListener.of((p) => b(p))
1966
- ];
1967
- i.variant === "multiline" && f.push([Ge(), qe()]);
1968
- const y = Le.create({
1969
- doc: i.content,
1970
- extensions: [...f]
1971
- });
1972
- $.value = y.doc.length, A.value = new Ie({
1973
- state: y,
1974
- parent: N.value
1975
- });
1976
- }), De(
1977
- () => i.content,
1978
- () => {
1979
- if (i.content !== O.value) {
1980
- const g = i.content.length;
1981
- A.value.dispatch({
1982
- changes: {
1983
- from: 0,
1984
- to: $.value,
1985
- insert: i.content
1986
- }
1987
- }), $.value = g;
1988
- }
1989
- }
1990
- );
1991
- const D = re(() => t(i.actionableText)), w = () => {
1992
- e(se.ACTION, O.value);
1993
- };
1994
- Je(() => {
1995
- O.value !== null && e(se.CHANGE, O.value);
1996
- });
1997
- const J = ae(!1);
1998
- return {
1999
- // Values
2000
- availableLanguages: r,
2001
- codeAreaContentConditionalClasses: k,
2002
- conditionalClasses: h,
2003
- container: N,
2004
- currentContents: O,
2005
- displayedLang: l,
2006
- editor: A,
2007
- selectedLanguage: n,
2008
- showModal: J,
2009
- isInlineVariant: u,
2010
- // Methods
2011
- handleChangeLanguage: s,
2012
- onActionClicked: w,
2013
- runText: D,
2014
- // Translations
2015
- t
2016
- };
2017
- }
2018
- });
2019
- var Vt = function() {
2020
- var e = this, t = e._self._c;
2021
- return e._self._setupProxy, t("div", { staticClass: "b-code-snippet", class: e.conditionalClasses }, [e.isInlineVariant ? e._e() : t("section", { staticClass: "b-code-snippet__action-bar" }, [t("div", { staticClass: "b-code-snippet__action-bar--start" }, [e.availableLanguages.length > 0 ? t("bento-dropdown", e._b({ staticClass: "b-code-snippet__language-picker", attrs: { disabled: e.availableLanguages.length === 1, items: e.availableLanguages }, on: { input: e.handleChangeLanguage }, model: { value: e.selectedLanguage, callback: function(n) {
2022
- e.selectedLanguage = n;
2023
- }, expression: "selectedLanguage" } }, "bento-dropdown", e.$props, !1)) : e._e(), t("bento-typography", { attrs: { el: "span", stronger: "" } }, [e._v(" " + e._s(e.displayedLang) + " ")])], 1), t("div", { staticClass: "b-code-snippet__action-bar--end" }, [e.loading ? t("bento-loading-indicator") : e._e(), e.currentContents !== null ? t("copy", { staticClass: "b-structured-list__icon", attrs: { text: e.currentContents } }) : e._e(), e.expandable ? t("bento-button", { attrs: { variant: "tertiary", condensed: "", "aria-label": e.t("expand") }, on: { click: function(n) {
2024
- e.showModal = !0;
2025
- } }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
2026
- return [t("expand-icon")];
2027
- }, proxy: !0 }], null, !1, 3789760120) }) : e._e(), e.actionable ? t("bento-button", { attrs: { variant: "primary", tertiary: "", condensed: "" }, on: { click: e.onActionClicked }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
2028
- return [t("bento-typography", { staticClass: "b-code-snippet__action-button", attrs: { el: "span" } }, [e._v(" " + e._s(e.runText) + " ")])];
2029
- }, proxy: !0 }], null, !1, 4293069853) }) : e._e()], 1)]), e.content || e.editable ? t("code", { staticClass: "b-code-snippet__code-area" }, [t("div", { ref: "container", staticClass: "b-code-snippet__code-area-content", class: e.codeAreaContentConditionalClasses })]) : t("section", [e._t("empty-state", function() {
2030
- return [t("div", { staticClass: "b-code-snippet__empty-state" }, [e._v("Nothing to show")])];
2031
- })], 2), e.expandable ? t("base-modal", { staticClass: "b-code-snippet__modal", attrs: { "hide-close-button": !0, "custom-padding": "0px", "is-dismissible": !0, "is-open": e.showModal, size: "large" }, on: { "close-modal": function(n) {
2032
- e.showModal = !1;
2033
- } }, scopedSlots: e._u([{ key: "content", fn: function() {
2034
- return [t("bento-code-snippet", e._b({}, "bento-code-snippet", { ...e.$props, expandable: !1 }, !1))];
2035
- }, proxy: !0 }], null, !1, 3343589027) }) : e._e()], 1);
2036
- }, $t = [], Dt = /* @__PURE__ */ He(
2037
- Rt,
2038
- Vt,
2039
- $t,
2040
- !1,
2041
- null,
2042
- "befa6cc9",
2043
- null,
2044
- null
2045
- );
2046
- const an = Dt.exports;
1
+ import { c as n, b as o, a as p, B as a } from "./chunks/code-snippet.C4IbjAhH.js";
2047
2
  export {
2048
- an as BentoCodeSnippet,
2049
- se as BentoCodeSnippetEvent,
2050
- ee as BentoCodeSnippetSupportedLanguage,
2051
- pe as BentoCodeSnippetVariant
3
+ n as BentoCodeSnippet,
4
+ o as BentoCodeSnippetEvent,
5
+ p as BentoCodeSnippetSupportedLanguage,
6
+ a as BentoCodeSnippetVariant
2052
7
  };
2053
8
  //# sourceMappingURL=code-snippet.js.map