ranui 0.3.1-alpha.1 → 0.4.2-alpha.2

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 (462) hide show
  1. package/README.md +4 -4
  2. package/README.zh-CN.md +3 -3
  3. package/dist/Temml-3BKyDWY9.js +4 -0
  4. package/dist/Temml-B3J22Yln.cjs +1 -0
  5. package/dist/{abnfDiagram-VRR7QNED-CTsqwzwi.js → abnfDiagram-VRR7QNED-C21Pc9Db.js} +4 -4
  6. package/dist/abnfDiagram-VRR7QNED-Do5oGbAb.cjs +1 -0
  7. package/dist/add-user-Dk1LIZtp.cjs +6 -0
  8. package/dist/add-user-WnpaBGEK.js +15 -0
  9. package/dist/arc-BTq35m9x.js +9 -0
  10. package/dist/arc-BjIU7MOi.cjs +1 -0
  11. package/dist/{arc-DRPGof21.js → arc-DJJx8BhF.js} +1 -1
  12. package/dist/architecture-TIHT7OUA-BJNZJd9x.cjs +1 -0
  13. package/dist/{architectureDiagram-ZJ3FMSHR-8mjyXr-w.js → architectureDiagram-ZJ3FMSHR-Dt0W9V1f.js} +7 -7
  14. package/dist/{architectureDiagram-ZJ3FMSHR-D_jWFFZx.cjs → architectureDiagram-ZJ3FMSHR-WH22GUwo.cjs} +2 -2
  15. package/dist/{arrow-down-Bi5kqUrX.js → arrow-down-DrjnnTe1.js} +4 -2
  16. package/dist/arrow-down-Dt-KyDFE.cjs +5 -0
  17. package/dist/{blockDiagram-677ZJIJ3-3F79MOSt.js → blockDiagram-677ZJIJ3-Cb0N9R3M.js} +8 -8
  18. package/dist/book-8PpGdTqf.cjs +1 -0
  19. package/dist/book-CkgJlJ4n.js +10 -0
  20. package/dist/build/config.d.ts +11 -2
  21. package/dist/builder-2HD21I6K.cjs +1 -0
  22. package/dist/builder.js +40 -40
  23. package/dist/{button-Dw6YKyNd.js → button-BgWXCj7-.js} +14 -12
  24. package/dist/button.js +1 -1
  25. package/dist/{c4Diagram-LMCZKHZV-Cxn_gqu_.js → c4Diagram-LMCZKHZV-CFLtikIe.js} +5 -5
  26. package/dist/{card-BHN9Xp4S.js → card-DzVv3ADA.js} +13 -13
  27. package/dist/card.js +1 -1
  28. package/dist/{channel-k5-UxdcV.js → channel-B9hm3LKF.js} +1 -1
  29. package/dist/check-63MT_RxH.cjs +1 -0
  30. package/dist/check-circle-Cbsw_Ffd.cjs +1 -0
  31. package/dist/check-circle-Dpkv0_9Z.js +10 -0
  32. package/dist/check-circle-fill-DVVjVyV6.cjs +1 -0
  33. package/dist/check-circle-fill-eBwMoYEo.js +10 -0
  34. package/dist/{checkbox-O_J_n1_W.js → checkbox-KOXDiwRr.js} +15 -14
  35. package/dist/checkbox.js +1 -1
  36. package/dist/{chunk-32BRIVSS-jAuAwMVV.js → chunk-32BRIVSS-DhXCFCbM.js} +3 -3
  37. package/dist/{chunk-52WLFC77-wpL7en7e.js → chunk-52WLFC77-CLS2Long.js} +8 -8
  38. package/dist/chunk-5FCAYU7R-M2ohMDGf.cjs +1 -0
  39. package/dist/chunk-5HE753X5-DkUtBcPF.cjs +1 -0
  40. package/dist/chunk-5JV3BV7I-BAn3GEjF.cjs +1 -0
  41. package/dist/chunk-5TONJI2A-Bk0HPVuY.cjs +2 -0
  42. package/dist/chunk-BIQX33UG-CaI4JSOY.cjs +1 -0
  43. package/dist/{chunk-C7G6YPKG-CA-DNpvI.js → chunk-C7G6YPKG-CuJexLt7.js} +1 -1
  44. package/dist/chunk-CQNSW5MT-DHm86rAm.cjs +1 -0
  45. package/dist/chunk-CYSBUYHQ-8HNynFK-.cjs +1 -0
  46. package/dist/chunk-EMLP6XTP-DESFjGc5.cjs +1 -0
  47. package/dist/{chunk-EX3LRPZG-BCmf0iDq.js → chunk-EX3LRPZG-C-g2gFWb.js} +7 -7
  48. package/dist/{chunk-FWX5IMBZ-DZ5VYvm5.js → chunk-FWX5IMBZ-Cpx1Lg-4.js} +8 -8
  49. package/dist/{chunk-HOUHSVGY-DRQcQeMT.js → chunk-HOUHSVGY-DpvP0Kt0.js} +2 -2
  50. package/dist/{chunk-ICXQ74PX-DR8rL-xF.js → chunk-ICXQ74PX-DPZfA3a8.js} +3 -3
  51. package/dist/chunk-JG7HCLWE-DJPVQhqh.cjs +2 -0
  52. package/dist/{chunk-MOJQB5TN-BC46HDyu.js → chunk-MOJQB5TN-BWgg4qSh.js} +3 -3
  53. package/dist/chunk-MOZMSUNE-BiirTonv.cjs +1 -0
  54. package/dist/{chunk-OGEWGWER-BV51ll2w.js → chunk-OGEWGWER-CYsD5SNd.js} +2 -2
  55. package/dist/chunk-OSBZ3O6U-BDLnzsCC.cjs +1 -0
  56. package/dist/{chunk-PUDLZKDR-NdMR0Ft5.js → chunk-PUDLZKDR-Dw2BOPG-.js} +9 -9
  57. package/dist/{chunk-Q4XR5HBZ-3BHjjc9u.js → chunk-Q4XR5HBZ-D_n2NzvL.js} +4 -4
  58. package/dist/chunk-QBLGF6JB-DgQIhta2.cjs +1 -0
  59. package/dist/chunk-R7FJI6CG-BjmGc1OU.cjs +1 -0
  60. package/dist/{chunk-RYQCIY6F-BER2T9t0.js → chunk-RYQCIY6F-CIHQ94xS.js} +1 -1
  61. package/dist/chunk-U6XO7XAA-Cxdku9z7.cjs +2 -0
  62. package/dist/{chunk-V7JOEXUC-Cr_hr02u.js → chunk-V7JOEXUC-DNMlt0_E.js} +7 -7
  63. package/dist/{chunk-VAUOI2AC-izt0o4id.js → chunk-VAUOI2AC-CrgGIUR-.js} +2 -2
  64. package/dist/{chunk-VR4S4FIN-CJi5okl4.js → chunk-VR4S4FIN-DQsfbArk.js} +2 -2
  65. package/dist/{chunk-WYO6CB5R-DDHkKowO.js → chunk-WYO6CB5R-DyGmS3I6.js} +1 -1
  66. package/dist/{chunk-XXDRQBXY-BB1i_53q.js → chunk-XXDRQBXY-BeVLa_G2.js} +1 -1
  67. package/dist/chunk-YOTPTUD7-BCQ2zMB7.cjs +1 -0
  68. package/dist/{chunk-ZGVPDNZ5-6uMbTJXy.js → chunk-ZGVPDNZ5-DlEsNy2g.js} +7 -7
  69. package/dist/circle-By7YwAJj.cjs +1 -0
  70. package/dist/circle-fold-BJWGLDa6.cjs +1 -0
  71. package/dist/circle-fold-DrwUHB-m.js +9 -0
  72. package/dist/circle-line-BsXpw2HA.cjs +1 -0
  73. package/dist/circle-line-DCUX3o9u.js +9 -0
  74. package/dist/circle-rotate-BK1tW3Jv.cjs +1 -0
  75. package/dist/circle-rotate-DeBqoVVp.js +9 -0
  76. package/dist/circle-spin-Crycoffl.js +9 -0
  77. package/dist/circle-spin-Ctoq0Wil.cjs +1 -0
  78. package/dist/circle-turn-DytKZEgU.js +9 -0
  79. package/dist/circle-turn-J9aToB75.cjs +1 -0
  80. package/dist/classDiagram-OUVF2IWQ-CkQt8O2B.js +30 -0
  81. package/dist/classDiagram-v2-EOCWNBFH-CkQt8O2B.js +30 -0
  82. package/dist/close-CDF9aHTU.js +10 -0
  83. package/dist/close-Ck_jxN7T.cjs +1 -0
  84. package/dist/close-circle-B3lBlRHE.cjs +1 -0
  85. package/dist/close-circle-DZZJhaf-.js +10 -0
  86. package/dist/close-circle-fill-Ds9W-XNo.cjs +1 -0
  87. package/dist/close-circle-fill-OiY9CVOv.js +10 -0
  88. package/dist/colorpicker-7adjGSuz.js +250 -0
  89. package/dist/colorpicker.js +1 -1
  90. package/dist/components/icon/index.d.ts +7 -0
  91. package/dist/components/loading/index.d.ts +6 -29
  92. package/dist/components/loading/types.d.ts +11 -0
  93. package/dist/components/loading/variants/arc/index.d.ts +6 -0
  94. package/dist/components/loading/variants/circle/index.d.ts +6 -0
  95. package/dist/components/loading/variants/circle-fold/index.d.ts +6 -0
  96. package/dist/components/loading/variants/circle-line/index.d.ts +6 -0
  97. package/dist/components/loading/variants/circle-rotate/index.d.ts +6 -0
  98. package/dist/components/loading/variants/circle-spin/index.d.ts +6 -0
  99. package/dist/components/loading/variants/circle-turn/index.d.ts +6 -0
  100. package/dist/components/loading/variants/cube/index.d.ts +6 -0
  101. package/dist/components/loading/variants/cube-dim/index.d.ts +6 -0
  102. package/dist/components/loading/variants/cube-fold/index.d.ts +6 -0
  103. package/dist/components/loading/variants/cube-grid/index.d.ts +6 -0
  104. package/dist/components/loading/variants/dot/index.d.ts +6 -0
  105. package/dist/components/loading/variants/dot-bar/index.d.ts +6 -0
  106. package/dist/components/loading/variants/dot-circle/index.d.ts +6 -0
  107. package/dist/components/loading/variants/dot-line/index.d.ts +6 -0
  108. package/dist/components/loading/variants/dot-pulse/index.d.ts +6 -0
  109. package/dist/components/loading/variants/double-bounce/index.d.ts +6 -0
  110. package/dist/components/loading/variants/drop/index.d.ts +6 -0
  111. package/dist/components/loading/variants/line/index.d.ts +6 -0
  112. package/dist/components/loading/variants/line-scale/index.d.ts +6 -0
  113. package/dist/components/loading/variants/pacman/index.d.ts +6 -0
  114. package/dist/components/loading/variants/pulse/index.d.ts +6 -0
  115. package/dist/components/loading/variants/rotate/index.d.ts +6 -0
  116. package/dist/components/loading/variants/scale-out/index.d.ts +6 -0
  117. package/dist/components/loading/variants/solar/index.d.ts +6 -0
  118. package/dist/components/loading/variants/square/index.d.ts +6 -0
  119. package/dist/components/loading/variants/stretch/index.d.ts +6 -0
  120. package/dist/components/loading/variants/text/index.d.ts +6 -0
  121. package/dist/components/loading/variants/triple-bounce/index.d.ts +6 -0
  122. package/dist/components/math/index.d.ts +37 -1
  123. package/dist/components/player/index.d.ts +0 -1
  124. package/dist/components/popover/index.d.ts +5 -5
  125. package/dist/components/select/index.d.ts +23 -0
  126. package/dist/{content-YOKzMoc7.js → content-BmwgR8WP.js} +7 -7
  127. package/dist/content.js +1 -1
  128. package/dist/copy-CMAYGCsm.cjs +1 -0
  129. package/dist/{cose-bilkent-JH36ORCC-DTwvJlGw.js → cose-bilkent-JH36ORCC-DCMxiO2H.js} +2 -2
  130. package/dist/cube-BB32JJuI.cjs +1 -0
  131. package/dist/cube-dim-DTcZAlcE.cjs +1 -0
  132. package/dist/cube-dim-DgfzlG3p.js +9 -0
  133. package/dist/cube-fold-CKVQ1IDZ.cjs +1 -0
  134. package/dist/cube-fold-Dp4-pf7P.js +9 -0
  135. package/dist/cube-grid-BrxyqSNh.cjs +1 -0
  136. package/dist/cube-grid-DprxkSoT.js +9 -0
  137. package/dist/cube-iOzgFQbc.js +9 -0
  138. package/dist/cynefin-VYW2F7L2-Yeua0tAa.cjs +1 -0
  139. package/dist/{cynefinDiagram-TSTJHNR4-Bjt4QTVh.js → cynefinDiagram-TSTJHNR4-B6dEjVBJ.js} +4 -4
  140. package/dist/{cynefinDiagram-TSTJHNR4-ISDORSxO.cjs → cynefinDiagram-TSTJHNR4-CAx-94I7.cjs} +1 -1
  141. package/dist/{dagre-VKFMJZFB-Dfku86Az.js → dagre-VKFMJZFB-CkNsP9vI.js} +10 -10
  142. package/dist/{diagram-FQU43EPY-BvQ5jmVn.js → diagram-FQU43EPY-Cefzg0En.js} +3 -3
  143. package/dist/{diagram-FQU43EPY-BAiRt5eL.cjs → diagram-FQU43EPY-Cn7-Jxoj.cjs} +2 -2
  144. package/dist/{diagram-G47NLZAW-DT2BBA0T.js → diagram-G47NLZAW-BsDJqCJu.js} +6 -6
  145. package/dist/{diagram-G47NLZAW-DGnmEa8u.cjs → diagram-G47NLZAW-Clm1JIiF.cjs} +1 -1
  146. package/dist/{diagram-NH7WQ7WH-DxgkStA3.cjs → diagram-NH7WQ7WH-BQWzEBKY.cjs} +1 -1
  147. package/dist/{diagram-NH7WQ7WH-W7jg4Vh8.js → diagram-NH7WQ7WH-DEGzjxf4.js} +4 -4
  148. package/dist/{diagram-OA4YK3LP-DkvFII73.cjs → diagram-OA4YK3LP-B90IV5Q-.cjs} +3 -3
  149. package/dist/{diagram-OA4YK3LP-jU--aqQl.js → diagram-OA4YK3LP-BZUB0lzT.js} +5 -5
  150. package/dist/{diagram-WEI45ONY-XvzRFmmY.cjs → diagram-WEI45ONY-B-8IP8vK.cjs} +1 -1
  151. package/dist/{diagram-WEI45ONY-C_Qhf4ny.js → diagram-WEI45ONY-BURO1A6S.js} +4 -4
  152. package/dist/{dist-C0Fwsvsq.js → dist-9Ly83Lo6.js} +1 -1
  153. package/dist/dot-bar-C2PcL7wc.cjs +1 -0
  154. package/dist/dot-bar-vHWpqnhw.js +9 -0
  155. package/dist/dot-circle-DQqpkRr_.js +9 -0
  156. package/dist/dot-circle-EInrpGOw.cjs +1 -0
  157. package/dist/dot-do6V9GYP.cjs +1 -0
  158. package/dist/dot-line-BEFriL91.cjs +1 -0
  159. package/dist/dot-line-CorWP6p2.js +9 -0
  160. package/dist/dot-pulse-BGidqqxA.cjs +1 -0
  161. package/dist/dot-pulse-OtjDlpwG.js +9 -0
  162. package/dist/double-bounce-CWAE4F5S.js +9 -0
  163. package/dist/double-bounce-DOehLE4X.cjs +1 -0
  164. package/dist/download-DiDwbZL3.cjs +1 -0
  165. package/dist/drop-BkBi0TEt.cjs +1 -0
  166. package/dist/drop-CTSvqyOb.js +9 -0
  167. package/dist/drop-DU-RgWR1.js +16 -0
  168. package/dist/drop-_Iz47Fmh.cjs +7 -0
  169. package/dist/{dropdown-CzGAVWYC.js → dropdown-DQy4YvVn.js} +22 -21
  170. package/dist/dropdown.js +1 -1
  171. package/dist/ebnfDiagram-CCIWWBDH-B5ZJxr_W.cjs +1 -0
  172. package/dist/{ebnfDiagram-CCIWWBDH-Gnr20Oc1.js → ebnfDiagram-CCIWWBDH-B6Gh-zq6.js} +4 -4
  173. package/dist/{erDiagram-Q63AITRT-D0Hh9b-W.js → erDiagram-Q63AITRT-B1iQoGRH.js} +13 -13
  174. package/dist/eventmodeling-45OFAUF4-_fgxNekW.cjs +1 -0
  175. package/dist/eye-BoGpexya.cjs +4 -0
  176. package/dist/eye-close-DdWDFgn0.cjs +4 -0
  177. package/dist/eye-close-pVr4NTjX.js +13 -0
  178. package/dist/eye-j7jzy-2Y.js +13 -0
  179. package/dist/factory-Bbul5tOL.js +653 -0
  180. package/dist/flowDiagram-23GEKE2U-BxyRR3qT.js +19 -0
  181. package/dist/{form-B8afuJlF.js → form-DwjKUNz4.js} +9 -9
  182. package/dist/form.js +1 -1
  183. package/dist/fullscreen-0HIdaZda.cjs +1 -0
  184. package/dist/{ganttDiagram-NO4QXBWP-B40Eabk0.js → ganttDiagram-NO4QXBWP-BE1v5yrp.js} +6 -6
  185. package/dist/gitGraph-TEB2WS4Q-BlIs9PSc.cjs +1 -0
  186. package/dist/{gitGraphDiagram-IHSO6WYX-BUJNSssA.js → gitGraphDiagram-IHSO6WYX-BVRc2mkM.js} +3 -3
  187. package/dist/{gitGraphDiagram-IHSO6WYX-DW06165m.cjs → gitGraphDiagram-IHSO6WYX-DODKoP1i.cjs} +1 -1
  188. package/dist/github-BjP57_Xw.js +11 -0
  189. package/dist/github-_spzUZUJ.cjs +2 -0
  190. package/dist/{glass-BniIptBE.js → glass-DKQAEAmc.js} +6 -6
  191. package/dist/glass.js +1 -1
  192. package/dist/globe-0D8896Sf.js +15 -0
  193. package/dist/globe-DOwlStJB.cjs +6 -0
  194. package/dist/home-C2_ARWjR.cjs +1 -0
  195. package/dist/home-COHVdQmi.js +10 -0
  196. package/dist/i18n-B3HBw6rL.js +1 -0
  197. package/dist/i18n-Cf5TtRb4-BeflTU82.js +175 -0
  198. package/dist/i18n.js +3 -2
  199. package/dist/icon-DSIyi1nQ.js +318 -0
  200. package/dist/icon.js +1 -1
  201. package/dist/icons.js +91 -3
  202. package/dist/iife/button.iife.js +1 -1
  203. package/dist/iife/card.iife.js +1 -1
  204. package/dist/iife/checkbox.iife.js +1 -1
  205. package/dist/iife/colorpicker.iife.js +235 -2
  206. package/dist/iife/content.iife.js +1 -1
  207. package/dist/iife/dropdown.iife.js +1 -1
  208. package/dist/iife/form.iife.js +1 -1
  209. package/dist/iife/glass.iife.js +1 -1
  210. package/dist/iife/icon.iife.js +238 -1
  211. package/dist/iife/image.iife.js +1 -1
  212. package/dist/iife/input.iife.js +238 -1
  213. package/dist/iife/link.iife.js +1 -1
  214. package/dist/iife/loading.iife.js +1 -1
  215. package/dist/iife/math.iife.js +332 -260
  216. package/dist/iife/mermaid.iife.js +489 -252
  217. package/dist/iife/message.iife.js +238 -1
  218. package/dist/iife/modal.iife.js +1 -1
  219. package/dist/iife/player.iife.js +243 -10
  220. package/dist/iife/popover.iife.js +1 -1
  221. package/dist/iife/progress.iife.js +1 -1
  222. package/dist/iife/radar.iife.js +1 -1
  223. package/dist/iife/route.iife.js +1 -1
  224. package/dist/iife/router.iife.js +1 -1
  225. package/dist/iife/scratch.iife.js +1 -1
  226. package/dist/iife/section.iife.js +1 -1
  227. package/dist/iife/select.iife.js +235 -2
  228. package/dist/iife/skeleton.iife.js +1 -1
  229. package/dist/iife/tab.iife.js +1 -1
  230. package/dist/iife/tabpane.iife.js +1 -1
  231. package/dist/iife/theme-switch.iife.js +1 -1
  232. package/dist/{image-CqoQfJoV.js → image-Bn0VuwO0.js} +8 -8
  233. package/dist/image.js +1 -1
  234. package/dist/index.cjs +26 -263
  235. package/dist/index.d.ts +9 -0
  236. package/dist/index.iife.js +617 -781
  237. package/dist/index.js +88 -87
  238. package/dist/info-DKCQHKI2-Chhdpnw0.cjs +1 -0
  239. package/dist/info-circle-Ciy6yKz-.js +14 -0
  240. package/dist/info-circle-fill-ChhhmoCU.cjs +1 -0
  241. package/dist/info-circle-fill-D5WjbRhd.js +10 -0
  242. package/dist/info-circle-xp0NNK4i.cjs +5 -0
  243. package/dist/infoDiagram-FWYZ7A6U-D_0rNuCQ.cjs +2 -0
  244. package/dist/{infoDiagram-FWYZ7A6U-Dc0m9qAx.js → infoDiagram-FWYZ7A6U-Z_GyAL7u.js} +3 -3
  245. package/dist/input-2Zz1gLzy.js +195 -0
  246. package/dist/input.js +1 -1
  247. package/dist/{ishikawaDiagram-FXEZZL3T-DuFtHOmf.js → ishikawaDiagram-FXEZZL3T-l087wv0C.js} +4 -4
  248. package/dist/issue-DF89eLmN.js +11 -0
  249. package/dist/issue-jx2d2kOG.cjs +2 -0
  250. package/dist/{journeyDiagram-5HDEW3XC-Bshelnhq.js → journeyDiagram-5HDEW3XC-DmNilMKR.js} +4 -4
  251. package/dist/{kanban-definition-HUTT4EX6-Dogv2paU.js → kanban-definition-HUTT4EX6-CmUdDowM.js} +9 -9
  252. package/dist/latinmodernmath-BNPh95x3.cjs +1 -0
  253. package/dist/latinmodernmath-BnpcbCAh.js +4 -0
  254. package/dist/line-BFm46PmI.cjs +1 -0
  255. package/dist/{line-BIPmUVxO.js → line-CteEpfCu.js} +1 -1
  256. package/dist/line-Dt7YMxyn.js +9 -0
  257. package/dist/line-scale-BNCCcLKl.js +9 -0
  258. package/dist/line-scale-Mzdq1fTx.cjs +1 -0
  259. package/dist/{linear-B2AM4ZBe.js → linear-C8AjwHWi.js} +1 -1
  260. package/dist/{link-BCrmHvXP.js → link-DcRMinJ9.js} +9 -9
  261. package/dist/link.js +1 -1
  262. package/dist/loading-BXZBOAbH.js +116 -0
  263. package/dist/loading-_bxcEaz0.js +10 -0
  264. package/dist/loading-fDM8Celd.cjs +1 -0
  265. package/dist/loading-scene-DTIgBHY7.cjs +53 -0
  266. package/dist/loading-scene-nEgp25AV.js +62 -0
  267. package/dist/loading.js +1 -1
  268. package/dist/lock-DSKjvWfl.cjs +4 -0
  269. package/dist/lock-Dw1hWtdP.js +13 -0
  270. package/dist/math-C6oaCrk-.js +223 -0
  271. package/dist/math.js +1 -1
  272. package/dist/menu-DQpdpBLB.js +11 -0
  273. package/dist/menu-DdHtbEk4.cjs +2 -0
  274. package/dist/{mermaid-C1oQyPE3.js → mermaid-Cmxzclzv.js} +11 -11
  275. package/dist/mermaid-parser.core-BgDzuhyE.cjs +3 -0
  276. package/dist/{mermaid.core-B2d5lQW2.js → mermaid.core-do05yX9X.js} +49 -49
  277. package/dist/{mermaid.core-a1hgpWfs.cjs → mermaid.core-r_D7CSaj.cjs} +2 -2
  278. package/dist/mermaid.js +1 -1
  279. package/dist/message-BFv9-X-4.js +10 -0
  280. package/dist/message-DHzOpb1d.cjs +1 -0
  281. package/dist/{message-CNdmbeLf.js → message-E92Vu7SO.js} +24 -21
  282. package/dist/message.js +1 -1
  283. package/dist/{mindmap-definition-LN4V7U3C-f7s5ZePP.js → mindmap-definition-LN4V7U3C-Mj5HCDww.js} +12 -12
  284. package/dist/modal-BQUM-5G3.cjs +2 -0
  285. package/dist/{modal-gRagDkTb.js → modal-TayIRDMV.js} +12 -12
  286. package/dist/modal.js +1 -1
  287. package/dist/more-l0-w-c99.js +11 -0
  288. package/dist/more-tqkE9a7G.cjs +2 -0
  289. package/dist/packet-7NZHBO7P-BIgRfmDy.cjs +1 -0
  290. package/dist/pacman-DqDqKzL4.js +9 -0
  291. package/dist/pacman-hB0Vx_ut.cjs +1 -0
  292. package/dist/pegDiagram-2B236MQR-CTcfU4SV.cjs +1 -0
  293. package/dist/{pegDiagram-2B236MQR-B-Xeh55J.js → pegDiagram-2B236MQR-Crdw8nmA.js} +4 -4
  294. package/dist/pie-RZYD4A2V-BJEu4CoQ.cjs +1 -0
  295. package/dist/{pieDiagram-ENE6RG2P-CVSE95zc.js → pieDiagram-ENE6RG2P-9GNsaY-6.js} +6 -6
  296. package/dist/{pieDiagram-ENE6RG2P-BkSiP4iu.cjs → pieDiagram-ENE6RG2P-D1QD_sOE.cjs} +2 -2
  297. package/dist/{player-BkkmkqR4.js → player-BZVIOmdS.js} +112 -113
  298. package/dist/player.js +1 -1
  299. package/dist/plugins/load-svg.d.ts +16 -3
  300. package/dist/plus-C91b38f6.js +11 -0
  301. package/dist/plus-DjDn222b.cjs +2 -0
  302. package/dist/{popover-BZKSLe3D.js → popover-Bimxdeql.js} +17 -15
  303. package/dist/popover.js +1 -1
  304. package/dist/power-off-CM1fKRrr.js +10 -0
  305. package/dist/power-off-C_Akq2D-.cjs +1 -0
  306. package/dist/preview-ByPt3tw_.cjs +1 -0
  307. package/dist/preview-CAEhg4Xl.js +10 -0
  308. package/dist/{progress-vk40tuhm.js → progress-CNUdc_VD.js} +13 -12
  309. package/dist/progress.js +1 -1
  310. package/dist/pulse-CPV8p0Lr.cjs +1 -0
  311. package/dist/pulse-IOuRzRUm.js +9 -0
  312. package/dist/{quadrantDiagram-ABIIQ3AL-TJ8FmqES.js → quadrantDiagram-ABIIQ3AL-rDltxRrQ.js} +3 -3
  313. package/dist/{radar-Bg0cexzU.js → radar-Dse0Dgma.js} +12 -10
  314. package/dist/radar-I7S5WNFK-DYV5_m9_.cjs +1 -0
  315. package/dist/radar.js +1 -1
  316. package/dist/railroad-3IZDKUUU-6oFUgWYG.cjs +1 -0
  317. package/dist/railroad-abnf-AHOZXSZD-DY3xJn9p.cjs +1 -0
  318. package/dist/railroad-ebnf-EBAXGLYW-DljDdad3.cjs +1 -0
  319. package/dist/railroad-peg-LSFZ7HO6-DNRdpVaC.cjs +1 -0
  320. package/dist/{railroadDiagram-RFXS5EU6-0lS5wYI7.js → railroadDiagram-RFXS5EU6-B6b0YncQ.js} +4 -4
  321. package/dist/railroadDiagram-RFXS5EU6-DCqD-VXV.cjs +1 -0
  322. package/dist/refresh-CjGodz5_.cjs +1 -0
  323. package/dist/{requirementDiagram-TGXJPOKE-viCQLyJd.js → requirementDiagram-TGXJPOKE-BVEkrDX1.js} +12 -12
  324. package/dist/rolldown-runtime-DkpYurw3.js +25 -0
  325. package/dist/rotate-O1KJozW0.cjs +1 -0
  326. package/dist/rotate-uZhtaw8R.js +9 -0
  327. package/dist/{route-CGwS0cd_.js → route-Dh5S2dSW.js} +10 -11
  328. package/dist/route.js +1 -1
  329. package/dist/{router-BK6DEkcN.js → router-DUxBSvIi.js} +11 -11
  330. package/dist/router.js +1 -1
  331. package/dist/{sankeyDiagram-HTMAVEWB-CV6_AuMF.js → sankeyDiagram-HTMAVEWB-C_G-oWGd.js} +2 -2
  332. package/dist/scale-out-CEERARri.cjs +1 -0
  333. package/dist/scale-out-mSsKNtie.js +9 -0
  334. package/dist/{scratch-ClF1awGi.js → scratch-4TCqNbat.js} +8 -8
  335. package/dist/scratch.js +1 -1
  336. package/dist/search-Bci4TKOK.js +11 -0
  337. package/dist/search-DewMt8lt.cjs +2 -0
  338. package/dist/{section-BL0V7Kjf.js → section-CMN7tQ-S.js} +10 -10
  339. package/dist/section.js +1 -1
  340. package/dist/{select-DRKYa3W2.js → select-D48kcwEy.js} +53 -47
  341. package/dist/select.js +1 -1
  342. package/dist/{sequenceDiagram-DBY2YBRQ-B9WNesh2.js → sequenceDiagram-DBY2YBRQ-B8lP53eo.js} +5 -5
  343. package/dist/setting-BlJhorAQ.cjs +1 -0
  344. package/dist/setting-RhW6oH2c.js +10 -0
  345. package/dist/{skeleton-D7JIbROq.js → skeleton-DbgMcQQ0.js} +9 -9
  346. package/dist/skeleton.js +1 -1
  347. package/dist/solar-CdvkRr5X.cjs +1 -0
  348. package/dist/solar-Ck7RIK09.js +9 -0
  349. package/dist/sort-CZTjWeHC.cjs +7 -0
  350. package/dist/sort-tAqAKb3x.js +16 -0
  351. package/dist/sprite-DHG11_c7.cjs +138 -0
  352. package/dist/sprite-ICuni2rO.js +147 -0
  353. package/dist/square-exSvykCu.cjs +1 -0
  354. package/dist/square-xGODzCyr.js +9 -0
  355. package/dist/{src-DtRLxcYO.js → src-CM-0IT-N.js} +1 -1
  356. package/dist/ssg.js +1 -1
  357. package/dist/{ssr-DSGwPtEd.js → ssr-BzHZ2bCe.js} +5 -5
  358. package/dist/ssr-stream.js +1 -1
  359. package/dist/ssr.js +1 -1
  360. package/dist/{stateDiagram-2N3HPSRC-DxH4BMSh.js → stateDiagram-2N3HPSRC-DzG4g-Br.js} +15 -15
  361. package/dist/stateDiagram-v2-6OUMAXLB-tbh4Ib6Z.js +30 -0
  362. package/dist/stretch-Bv60MZD_.js +9 -0
  363. package/dist/stretch-CTFwefaK.cjs +1 -0
  364. package/dist/{swimlanes-5IMT3BWC-DcADNGpg.js → swimlanes-5IMT3BWC-CQpI-vXu.js} +10 -10
  365. package/dist/swimlanesDiagram-G3AALYLV-C_mEClzT.js +31 -0
  366. package/dist/{tab-DFVtDJb2.js → tab-ADuziXeq.js} +12 -12
  367. package/dist/tab.js +1 -1
  368. package/dist/{tabpane-C3qZGN-D.js → tabpane-Bisq-qpc.js} +11 -11
  369. package/dist/tabpane.js +1 -1
  370. package/dist/team-DshvOQrF.cjs +1 -0
  371. package/dist/team-oJOYGlHy.js +10 -0
  372. package/dist/temml-DKTWcsY9.js +9934 -0
  373. package/dist/temml-qMLYhcAb.cjs +96 -0
  374. package/dist/test/e2e/helpers.d.ts +32 -0
  375. package/dist/test/unit/select-ssr-upgrade.test.d.ts +1 -0
  376. package/dist/text-BniFEEB5.cjs +1 -0
  377. package/dist/text-CX8UkbzB.js +17 -0
  378. package/dist/theme-DL6q_FZu.js +52 -0
  379. package/dist/{theme-switch-BXNH5uPD.js → theme-switch-GbuiPclm.js} +16 -17
  380. package/dist/theme-switch.js +1 -1
  381. package/dist/theme.js +1 -1
  382. package/dist/{timeline-definition-FHXFAJF6-C80VjPLh.js → timeline-definition-FHXFAJF6-JZu2t9NH.js} +5 -5
  383. package/dist/treeView-QDETBFTQ-JVYSN7d-.cjs +1 -0
  384. package/dist/treemap-6X3UGDF4-ChqvozdN.cjs +1 -0
  385. package/dist/triple-bounce-BwxTDpKz.js +9 -0
  386. package/dist/triple-bounce-BzAtF-TA.cjs +1 -0
  387. package/dist/typings.d.ts +9 -0
  388. package/dist/unlock-B6Kz8QUC.cjs +4 -0
  389. package/dist/unlock-DMG2IKZP.js +13 -0
  390. package/dist/user-BvjpVTOP.js +10 -0
  391. package/dist/user-CNTRFuXZ.cjs +1 -0
  392. package/dist/utils/builder/escape.d.ts +6 -1
  393. package/dist/utils/dom.d.ts +2 -15
  394. package/dist/utils/i18n/index.d.ts +2 -69
  395. package/dist/utils/i18n.js +5 -87
  396. package/dist/utils/index.d.ts +2 -1
  397. package/dist/utils/style.d.ts +7 -5
  398. package/dist/utils-X5_TIQTQ.js +48 -0
  399. package/dist/utils-xccQZnoa.js +650 -0
  400. package/dist/{vennDiagram-L72KCM5P-BYHB7OW8.js → vennDiagram-L72KCM5P-DM6fQj7p.js} +4 -4
  401. package/dist/wardley-OPB4EBWU-BI6su3co.cjs +1 -0
  402. package/dist/{wardleyDiagram-EHGQE667--ubmCaWM.js → wardleyDiagram-EHGQE667-CzH0l2vj.js} +4 -4
  403. package/dist/{wardleyDiagram-EHGQE667-K6ckkRZS.cjs → wardleyDiagram-EHGQE667-ZMxVQw17.cjs} +2 -2
  404. package/dist/warning-circle-2Ni7fSPp.js +10 -0
  405. package/dist/warning-circle-CxDUN_Pg.cjs +1 -0
  406. package/dist/warning-circle-fill-CNmn_n74.js +10 -0
  407. package/dist/warning-circle-fill-CRKQ8eDt.cjs +1 -0
  408. package/dist/without-content-BCQsfG1Q.cjs +1 -0
  409. package/dist/without-content-C7ATBu1N.js +10 -0
  410. package/dist/{xychartDiagram-FW5EYKEG-DLqWcTPt.js → xychartDiagram-FW5EYKEG-GL1uK3EN.js} +8 -8
  411. package/dist/zoom-in-BLTVwnRI.cjs +1 -0
  412. package/dist/zoom-out-BIXvVAC9.cjs +1 -0
  413. package/docs/COMPONENTS.md +5 -5
  414. package/package.json +119 -35
  415. package/typings.d.ts +9 -0
  416. package/dist/abnfDiagram-VRR7QNED-CH_pIv_l.cjs +0 -1
  417. package/dist/architecture-TIHT7OUA-BbBd15_y.cjs +0 -1
  418. package/dist/builtin-1lUEp_ro.js +0 -416
  419. package/dist/classDiagram-OUVF2IWQ-Df0ghim9.js +0 -30
  420. package/dist/classDiagram-v2-EOCWNBFH-Df0ghim9.js +0 -30
  421. package/dist/colorpicker-CKA4xN-g.js +0 -314
  422. package/dist/cynefin-VYW2F7L2-6c1GOGXW.cjs +0 -1
  423. package/dist/ebnfDiagram-CCIWWBDH-Cu8bAlhC.cjs +0 -1
  424. package/dist/eventmodeling-45OFAUF4-C6VXxUn1.cjs +0 -1
  425. package/dist/factory-ZNhcQ4tf.js +0 -482
  426. package/dist/flowDiagram-23GEKE2U-BY4wE2vw.js +0 -19
  427. package/dist/gitGraph-TEB2WS4Q-BbtF3MDr.cjs +0 -1
  428. package/dist/icon-GZrfSeon.js +0 -256
  429. package/dist/info-DKCQHKI2-DNOtUIin.cjs +0 -1
  430. package/dist/infoDiagram-FWYZ7A6U-C8dZc-Ki.cjs +0 -2
  431. package/dist/input-ZY2Wumze.js +0 -195
  432. package/dist/katex-es-BTpuCxxV.cjs +0 -261
  433. package/dist/katex-es-CKRwcaiU.js +0 -23682
  434. package/dist/loading-M6gWxLbm.js +0 -206
  435. package/dist/math-8E-45Y8e.js +0 -52
  436. package/dist/mermaid-parser.core-DYumW1vq.cjs +0 -6
  437. package/dist/mocks-CMGoftIc.js +0 -179
  438. package/dist/packet-7NZHBO7P-DeyLCrSn.cjs +0 -1
  439. package/dist/pegDiagram-2B236MQR-Bo5Nj40u.cjs +0 -1
  440. package/dist/pie-RZYD4A2V-pDNZ2ZyB.cjs +0 -1
  441. package/dist/radar-I7S5WNFK-CY5ycn2a.cjs +0 -1
  442. package/dist/railroad-3IZDKUUU-DGzXHqt7.cjs +0 -1
  443. package/dist/railroad-abnf-AHOZXSZD-BCIHdSw6.cjs +0 -1
  444. package/dist/railroad-ebnf-EBAXGLYW-4vFZrfHF.cjs +0 -1
  445. package/dist/railroad-peg-LSFZ7HO6-D_oFW1Bo.cjs +0 -1
  446. package/dist/railroadDiagram-RFXS5EU6-DJKAtnQk.cjs +0 -1
  447. package/dist/rolldown-runtime-9ZSF5uba.js +0 -16
  448. package/dist/stateDiagram-v2-6OUMAXLB-CWfn6e7n.js +0 -30
  449. package/dist/swimlanesDiagram-G3AALYLV-DDtDtl1L.js +0 -31
  450. package/dist/test/unit/colorpicker.color.utils.test.d.ts +0 -1
  451. package/dist/test/unit/utils.math.test.d.ts +0 -1
  452. package/dist/test/unit/utils.tween.test.d.ts +0 -1
  453. package/dist/theme-kOWZbKCq.js +0 -70
  454. package/dist/treeView-QDETBFTQ-B1Ejxfpg.cjs +0 -1
  455. package/dist/treemap-6X3UGDF4-D0FeO_NX.cjs +0 -1
  456. package/dist/utils/color.d.ts +0 -52
  457. package/dist/utils/image.d.ts +0 -39
  458. package/dist/utils/math.d.ts +0 -26
  459. package/dist/utils/tween.d.ts +0 -21
  460. package/dist/utils-D1iZnChu.js +0 -614
  461. package/dist/wardley-OPB4EBWU-C1hXbbD4.cjs +0 -1
  462. package/dist/warning-circle-fill-Cz0qu7AH.js +0 -23
@@ -0,0 +1,19 @@
1
+ import "./src-CM-0IT-N.js";
2
+ import "./chunk-WYO6CB5R-DyGmS3I6.js";
3
+ import "./chunk-ICXQ74PX-DPZfA3a8.js";
4
+ import "./chunk-HOUHSVGY-DpvP0Kt0.js";
5
+ import "./chunk-Q4XR5HBZ-D_n2NzvL.js";
6
+ import "./chunk-7BUUIJ7U-9hiBbc7O.js";
7
+ import "./chunk-OGEWGWER-CYsD5SNd.js";
8
+ import "./chunk-32BRIVSS-DhXCFCbM.js";
9
+ import "./chunk-XXDRQBXY-BeVLa_G2.js";
10
+ import "./chunk-VR4S4FIN-DQsfbArk.js";
11
+ import "./chunk-C7G6YPKG-CuJexLt7.js";
12
+ import "./chunk-ZGVPDNZ5-DlEsNy2g.js";
13
+ import "./chunk-52WLFC77-CLS2Long.js";
14
+ import "./chunk-FWX5IMBZ-Cpx1Lg-4.js";
15
+ import "./chunk-ZIRB5QZD-C7OH2FI2.js";
16
+ import { n as x } from "./chunk-PUDLZKDR-Dw2BOPG-.js";
17
+ export {
18
+ x as diagram
19
+ };
@@ -1,14 +1,14 @@
1
- import { a, n as o, o as i, r as n, t as h } from "./utils-D1iZnChu.js";
2
- import { _ as l, p as m } from "./factory-ZNhcQ4tf.js";
3
- import { a as u, n as f } from "./ssr-DSGwPtEd.js";
4
- var c = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}", d = class extends f {
1
+ import { _ as a, p as o } from "./factory-Bbul5tOL.js";
2
+ import { a as i, n } from "./ssr-BzHZ2bCe.js";
3
+ import { a as h, n as l, o as m, r as u, t as f } from "./utils-X5_TIQTQ.js";
4
+ var c = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}", d = class extends n {
5
5
  _form;
6
6
  _shadowDom;
7
7
  static get observedAttributes() {
8
8
  return ["sheet"];
9
9
  }
10
10
  constructor() {
11
- super(), this._shadowDom = o(this, c), this._form = h(this._shadowDom, ".r-form", () => l("form").class("r-form").children(m().attr("name", "r-form_content")).build());
11
+ super(), this._shadowDom = l(this, c), this._form = f(this._shadowDom, ".r-form", () => a("form").class("r-form").children(o().attr("name", "r-form_content")).build());
12
12
  }
13
13
  get value() {
14
14
  return this.getAttribute("value");
@@ -17,13 +17,13 @@ var c = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
17
17
  t != null && this.setAttribute("value", t);
18
18
  }
19
19
  get sheet() {
20
- return n(this, "sheet");
20
+ return u(this, "sheet");
21
21
  }
22
22
  set sheet(t) {
23
- a(this, "sheet", t);
23
+ h(this, "sheet", t);
24
24
  }
25
25
  handlerExternalCss = () => {
26
- i(this, this._shadowDom, "sheet", null, this.sheet);
26
+ m(this, this._shadowDom, "sheet", null, this.sheet);
27
27
  };
28
28
  connectedCallback() {
29
29
  this.handlerExternalCss();
@@ -38,7 +38,7 @@ var c = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
38
38
  e !== r && t === "sheet" && this.handlerExternalCss();
39
39
  }
40
40
  };
41
- u("r-form", d);
41
+ i("r-form", d);
42
42
  export {
43
43
  d as t
44
44
  };
package/dist/form.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as r } from "./form-B8afuJlF.js";
1
+ import { t as r } from "./form-DwjKUNz4.js";
2
2
  export {
3
3
  r as Form,
4
4
  r as default
@@ -0,0 +1 @@
1
+ const r=require("./rolldown-runtime-CAnuVJ4g.cjs");var t=r.__exportAll({default:()=>e}),e={success:!0,_identification:!0,data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M8 21H5a2 2 0 0 1-2-2v-3m18 0v3a2 2 0 0 1-2 2h-3"/></g></svg>'};Object.defineProperty(exports,"fullscreen_default",{enumerable:!0,get:function(){return e}});Object.defineProperty(exports,"fullscreen_exports",{enumerable:!0,get:function(){return t}});
@@ -1,11 +1,11 @@
1
- import { n as Bt, t as se } from "./rolldown-runtime-9ZSF5uba.js";
1
+ import { r as Bt, t as se } from "./rolldown-runtime-DkpYurw3.js";
2
2
  import { n as g } from "./chunk-Y2CYZVJY-0JxdZxki.js";
3
- import { a as Qt, c as er, d as rr, f as nr, g as $r, i as Or, m as bt, p as jt, s as ir, u as Hr } from "./src-DtRLxcYO.js";
4
- import { H as Nr, K as Vr, U as Pr, a as zr, c as Rr, s as Br, v as Zr, w as qr, x as Yt, y as Xr } from "./chunk-WYO6CB5R-DDHkKowO.js";
5
- import { a as jr, i as He, n as Gr, r as Qr, t as Jr } from "./linear-B2AM4ZBe.js";
3
+ import { a as Qt, c as er, d as rr, f as nr, g as $r, i as Or, m as bt, p as jt, s as ir, u as Hr } from "./src-CM-0IT-N.js";
4
+ import { H as Nr, K as Vr, U as Pr, a as zr, c as Rr, s as Br, v as Zr, w as qr, x as Yt, y as Xr } from "./chunk-WYO6CB5R-DyGmS3I6.js";
5
+ import { a as jr, i as He, n as Gr, r as Qr, t as Jr } from "./linear-C8AjwHWi.js";
6
6
  import { t as Kr } from "./init-1VpIn1S3.js";
7
- import { t as tn } from "./dist-C0Fwsvsq.js";
8
- import { g as en } from "./chunk-ICXQ74PX-DR8rL-xF.js";
7
+ import { t as tn } from "./dist-9Ly83Lo6.js";
8
+ import { g as en } from "./chunk-ICXQ74PX-DPZfA3a8.js";
9
9
  function rn(t, e) {
10
10
  let r;
11
11
  if (e === void 0)
@@ -0,0 +1 @@
1
+ require("./chunk-KEIR6QF5-C4fcHpY0.cjs");const e=require("./chunk-CYSBUYHQ-8HNynFK-.cjs");exports.createGitGraphServices=e.createGitGraphServices;
@@ -1,8 +1,8 @@
1
1
  import { n as de } from "./mermaid-parser.core-uIDZYuBu.js";
2
2
  import { n as l } from "./chunk-Y2CYZVJY-0JxdZxki.js";
3
- import { m as w, p as le } from "./src-DtRLxcYO.js";
4
- import { H as he, K as $e, U as fe, Y as ge, a as ue, b as J, f as ye, s as B, v as xe, w as me, x as D, y as pe } from "./chunk-WYO6CB5R-DDHkKowO.js";
5
- import { g as be, i as we, m as ke } from "./chunk-ICXQ74PX-DR8rL-xF.js";
3
+ import { m as w, p as le } from "./src-CM-0IT-N.js";
4
+ import { H as he, K as $e, U as fe, Y as ge, a as ue, b as J, f as ye, s as B, v as xe, w as me, x as D, y as pe } from "./chunk-WYO6CB5R-DyGmS3I6.js";
5
+ import { g as be, i as we, m as ke } from "./chunk-ICXQ74PX-DPZfA3a8.js";
6
6
  import { t as Ce } from "./chunk-JWPE2WC7-CGEmUMMZ.js";
7
7
  import { t as ve } from "./chunk-2Q5K7J3B-DlFVJRAn.js";
8
8
  var m = {
@@ -1,4 +1,4 @@
1
- const ie=require("./mermaid-parser.core-DYumW1vq.cjs"),l=require("./chunk-Y2CYZVJY-DPaYLFFP.cjs"),w=require("./src-C9EhKhbk.cjs"),_=require("./chunk-WYO6CB5R-u4mJNOcO.cjs"),X=require("./chunk-ICXQ74PX-BbT9JaEW.cjs"),de=require("./chunk-JWPE2WC7-D8EnWK1B.cjs"),le=require("./chunk-2Q5K7J3B-CTMy5FII.cjs");var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},he=_.defaultConfig_default.gitGraph,H=l.__name(()=>X.cleanAndMerge({...he,..._.getConfig().gitGraph}),"getConfig"),d=new le.ImperativeState(()=>{const e=H(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function Y(){return X.random({length:7})}l.__name(Y,"getID");function ee(e,r){const t=Object.create(null);return e.reduce((o,s)=>{const c=r(s);return t[c]||(t[c]=!0,o.push(s)),o},[])}l.__name(ee,"uniqBy");var $e=l.__name(function(e){d.records.direction=e},"setDirection"),fe=l.__name(function(e){w.log.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.log.error("error while parsing gitGraph options",r.message)}},"setOptions"),ge=l.__name(function(){return d.records.options},"getOptions"),ue=l.__name(function(e){let r=e.msg,t=e.id;const o=e.type;let s=e.tags;w.log.info("commit",r,t,o,s),w.log.debug("Entering commit:",r,t,o,s);const c=H();t=_.common_default.sanitizeText(t,c),r=_.common_default.sanitizeText(r,c),s=s?.map(n=>_.common_default.sanitizeText(n,c));const a={id:t||d.records.seq+"-"+Y(),message:r,seq:d.records.seq++,type:o??x.NORMAL,tags:s??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=a,w.log.info("main branch",c.mainBranchName),d.records.commits.has(a.id)&&w.log.warn(`Commit ID ${a.id} already exists`),d.records.commits.set(a.id,a),d.records.branches.set(d.records.currBranch,a.id),w.log.debug("in pushCommit "+a.id)},"commit"),me=l.__name(function(e){let r=e.name;const t=e.order;if(r=_.common_default.sanitizeText(r,H()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),re(r),w.log.debug("in createBranch")},"branch"),ye=l.__name(e=>{let r=e.branch,t=e.id;const o=e.type,s=e.tags,c=H();r=_.common_default.sanitizeText(r,c),t&&(t=_.common_default.sanitizeText(t,c));const a=d.records.branches.get(d.records.currBranch),n=d.records.branches.get(r),$=a?d.records.commits.get(a):void 0,f=n?d.records.commits.get(n):void 0;if($&&f&&$.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const i=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},i}if($===void 0||!$){const i=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},i}if(!d.records.branches.has(r)){const i=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},i}if(f===void 0||!f){const i=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},i}if($===f){const i=new Error('Incorrect usage of "merge". Both branches have same head');throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},i}if(t&&d.records.commits.has(t)){const i=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw i.hash={text:`merge ${r} ${t} ${o} ${s?.join(" ")}`,token:`merge ${r} ${t} ${o} ${s?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${o} ${s?.join(" ")}`]},i}const g=n||"",h={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:x.MERGE,customType:o,customId:!!t,tags:s??[]};d.records.head=h,d.records.commits.set(h.id,h),d.records.branches.set(d.records.currBranch,h.id),w.log.debug(d.records.branches),w.log.debug("in mergeBranch")},"merge"),xe=l.__name(function(e){let r=e.id,t=e.targetId,o=e.tags,s=e.parent;w.log.debug("Entering cherryPick:",r,t,o);const c=H();if(r=_.common_default.sanitizeText(r,c),t=_.common_default.sanitizeText(t,c),o=o?.map($=>_.common_default.sanitizeText($,c)),s=_.common_default.sanitizeText(s,c),!r||!d.records.commits.has(r)){const $=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const a=d.records.commits.get(r);if(a===void 0||!a)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(s&&!(Array.isArray(a.parents)&&a.parents.includes(s)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const n=a.branch;if(a.type===x.MERGE&&!s)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(n===d.records.currBranch){const h=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw h.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},h}const $=d.records.branches.get(d.records.currBranch);if($===void 0||!$){const h=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw h.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},h}const f=d.records.commits.get($);if(f===void 0||!f){const h=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw h.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},h}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${a?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,a.id],branch:d.records.currBranch,type:x.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${a.id}${a.type===x.MERGE?`|parent:${s}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.log.debug(d.records.branches),w.log.debug("in cherryPick")}},"cherryPick"),re=l.__name(function(e){if(e=_.common_default.sanitizeText(e,H()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function U(e,r,t){const o=e.indexOf(r);o===-1?e.push(t):e.splice(o,1,t)}l.__name(U,"upsert");function J(e){const r=e.reduce((s,c)=>s.seq>c.seq?s:c,e[0]);let t="";e.forEach(function(s){s===r?t+=" *":t+=" |"});const o=[t,r.id,r.seq];for(const s in d.records.branches)d.records.branches.get(s)===r.id&&o.push(s);if(w.log.debug(o.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const s=d.records.commits.get(r.parents[0]);U(e,r,s),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const s=d.records.commits.get(r.parents[0]);U(e,r,s)}}e=ee(e,s=>s.id),J(e)}l.__name(J,"prettyPrintCommitHistory");var _e=l.__name(function(){w.log.debug(d.records.commits);const e=te()[0];J([e])},"prettyPrint"),pe=l.__name(function(){d.reset(),_.clear()},"clear"),be=l.__name(function(){return[...d.records.branchConfig.values()].map((e,r)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${r}`)}).sort((e,r)=>(e.order??0)-(r.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),we=l.__name(function(){return d.records.branches},"getBranches"),ke=l.__name(function(){return d.records.commits},"getCommits"),te=l.__name(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.log.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),ae={commitType:x,getConfig:H,setDirection:$e,setOptions:fe,getOptions:ge,commit:ue,branch:me,merge:ye,cherryPick:xe,checkout:re,prettyPrint:_e,clear:pe,getBranchesAsObjArray:be,getBranches:we,getCommits:ke,getCommitsArray:te,getCurrentBranch:l.__name(function(){return d.records.currBranch},"getCurrentBranch"),getDirection:l.__name(function(){return d.records.direction},"getDirection"),getHead:l.__name(function(){return d.records.head},"getHead"),setAccTitle:_.setAccTitle,getAccTitle:_.getAccTitle,getAccDescription:_.getAccDescription,setAccDescription:_.setAccDescription,setDiagramTitle:_.setDiagramTitle,getDiagramTitle:_.getDiagramTitle},Ce=l.__name((e,r)=>{de.populateCommonDb(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)Ee(t,r)},"populate"),Ee=l.__name((e,r)=>{const t={Commit:l.__name(o=>r.commit(ve(o)),"Commit"),Branch:l.__name(o=>r.branch(Te(o)),"Branch"),Merge:l.__name(o=>r.merge(Be(o)),"Merge"),Checkout:l.__name(o=>r.checkout(Le(o)),"Checkout"),CherryPicking:l.__name(o=>r.cherryPick(Me(o)),"CherryPicking")}[e.$type];t?t(e):w.log.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),ve=l.__name(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?x[e.type]:x.NORMAL,tags:e.tags??void 0}),"parseCommit"),Te=l.__name(e=>({name:e.name,order:e.order??0}),"parseBranch"),Be=l.__name(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?x[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Le=l.__name(e=>e.branch,"parseCheckout"),Me=l.__name(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Re={parse:l.__name(async e=>{const r=await ie.parse("gitGraph",e);w.log.debug(r),Ce(r,ae)},"parse")},I=10,O=40,B=4,M=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),V=12,Q=new Set(["redux-color","redux-dark-color"]),Ie=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),q=l.__name((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),E=new Map,v=new Map,F=30,W=new Map,P=[],R=0,m="LR",Oe=l.__name(()=>{E.clear(),v.clear(),W.clear(),R=0,P=[],m="LR"},"clear"),ne=l.__name(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(t=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=t.trim(),r.appendChild(o)}),r},"drawText"),oe=l.__name(e=>{let r,t,o;return m==="BT"?(t=l.__name((s,c)=>s<=c,"comparisonFunc"),o=1/0):(t=l.__name((s,c)=>s>=c,"comparisonFunc"),o=0),e.forEach(s=>{const c=m==="TB"||m=="BT"?v.get(s)?.y:v.get(s)?.x;c!==void 0&&t(c,o)&&(r=s,o=c)}),r},"findClosestParent"),Ge=l.__name(e=>{let r="",t=1/0;return e.forEach(o=>{const s=v.get(o).y;s<=t&&(r=o,t=s)}),r||void 0},"findClosestParentBT"),qe=l.__name((e,r,t)=>{let o=t,s=t;const c=[];e.forEach(a=>{const n=r.get(a);if(!n)throw new Error(`Commit not found for key ${a}`);n.parents.length?(o=Ae(n),s=Math.max(o,s)):c.push(n),Se(n,o)}),o=s,c.forEach(a=>{We(a,o,t)}),e.forEach(a=>{const n=r.get(a);if(n?.parents.length){const $=Ge(n.parents);o=v.get($).y-O,o<=s&&(s=o);const f=E.get(n.branch).pos,g=o-I;v.set(n.id,{x:f,y:g})}})},"setParallelBTPos"),He=l.__name(e=>{const r=oe(e.parents.filter(o=>o!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=v.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),Ae=l.__name(e=>He(e)+O,"calculateCommitPosition"),Se=l.__name((e,r)=>{const t=E.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const o=t.pos,s=r+I;return v.set(e.id,{x:o,y:s}),{x:o,y:s}},"setCommitPosition"),We=l.__name((e,r,t)=>{const o=E.get(e.branch);if(!o)throw new Error(`Branch not found for commit ${e.id}`);const s=r+t,c=o.pos;v.set(e.id,{x:c,y:s})},"setRootPosition"),De=l.__name((e,r,t,o,s,c)=>{const{theme:a}=_.getConfig2(),n=j.has(a??""),$=Q.has(a??""),f=Ie.has(a??"");if(c===x.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(n?3:0)).attr("y",t.y-10+(n?3:0)).attr("width",n?14:20).attr("height",n?14:20).attr("class",`commit ${r.id} commit-highlight${q(s,G,$)} ${o}-outer`),e.append("rect").attr("x",t.x-6+(n?2:0)).attr("y",t.y-6+(n?2:0)).attr("width",n?8:12).attr("height",n?8:12).attr("class",`commit ${r.id} commit${q(s,G,$)} ${o}-inner`);else if(c===x.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",n?7:10).attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",n?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",n?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",n?7:10),g.attr("class",`commit ${r.id} commit${q(s,G,$)}`),c===x.MERGE){const h=e.append("circle");h.attr("cx",t.x),h.attr("cy",t.y),h.attr("r",n?5:6),h.attr("class",`commit ${o} ${r.id} commit${q(s,G,$)}`)}if(c===x.REVERSE){const h=e.append("path"),i=n?4:5;h.attr("d",`M ${t.x-i},${t.y-i}L${t.x+i},${t.y+i}M${t.x-i},${t.y+i}L${t.x+i},${t.y-i}`).attr("class",`commit ${o} ${r.id} commit${q(s,G,$)}`)}}},"drawCommitBullet"),Ne=l.__name((e,r,t,o,s)=>{if(r.type!==x.CHERRY_PICK&&(r.customId&&r.type===x.MERGE||r.type!==x.MERGE)&&s.showCommitLabel){const c=e.append("g"),a=c.insert("rect").attr("class","commit-label-bkg"),n=c.append("text").attr("x",o).attr("y",t.y+25).attr("class","commit-label").text(r.id),$=n.node()?.getBBox();if($&&(a.attr("x",t.posWithOffset-$.width/2-M).attr("y",t.y+13.5).attr("width",$.width+2*M).attr("height",$.height+2*M),m==="TB"||m==="BT"?(a.attr("x",t.x-($.width+4*B+5)).attr("y",t.y-12),n.attr("x",t.x-($.width+4*B)).attr("y",t.y+$.height-12)):n.attr("x",t.posWithOffset-$.width/2),s.rotateCommitLabel))if(m==="TB"||m==="BT")n.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),a.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-($.width+10)/25*9.5,g=10+$.width/25*8.5;c.attr("transform","translate("+f+", "+g+") rotate(-45, "+o+", "+t.y+")")}}},"drawCommitLabel"),ze=l.__name((e,r,t,o)=>{if(r.tags.length>0){let s=0,c=0,a=0;const n=[];for(const $ of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),h=e.append("text").attr("y",t.y-16-s).attr("class","tag-label").text($),i=h.node()?.getBBox();if(!i)throw new Error("Tag bbox not found");c=Math.max(c,i.width),a=Math.max(a,i.height),h.attr("x",t.posWithOffset-i.width/2),n.push({tag:h,hole:g,rect:f,yOffset:s}),s+=20}for(const{tag:$,hole:f,rect:g,yOffset:h}of n){const i=a/2,y=t.y-19.2-h;if(g.attr("class","tag-label-bkg").attr("points",`
1
+ const l=require("./chunk-Y2CYZVJY-DPaYLFFP.cjs"),w=require("./src-C9EhKhbk.cjs"),_=require("./chunk-WYO6CB5R-u4mJNOcO.cjs"),X=require("./chunk-ICXQ74PX-BbT9JaEW.cjs"),ie=require("./chunk-JWPE2WC7-D8EnWK1B.cjs"),de=require("./mermaid-parser.core-BgDzuhyE.cjs"),le=require("./chunk-2Q5K7J3B-CTMy5FII.cjs");var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},he=_.defaultConfig_default.gitGraph,H=l.__name(()=>X.cleanAndMerge({...he,..._.getConfig().gitGraph}),"getConfig"),d=new le.ImperativeState(()=>{const e=H(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function Y(){return X.random({length:7})}l.__name(Y,"getID");function ee(e,r){const t=Object.create(null);return e.reduce((o,s)=>{const c=r(s);return t[c]||(t[c]=!0,o.push(s)),o},[])}l.__name(ee,"uniqBy");var $e=l.__name(function(e){d.records.direction=e},"setDirection"),fe=l.__name(function(e){w.log.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.log.error("error while parsing gitGraph options",r.message)}},"setOptions"),ge=l.__name(function(){return d.records.options},"getOptions"),ue=l.__name(function(e){let r=e.msg,t=e.id;const o=e.type;let s=e.tags;w.log.info("commit",r,t,o,s),w.log.debug("Entering commit:",r,t,o,s);const c=H();t=_.common_default.sanitizeText(t,c),r=_.common_default.sanitizeText(r,c),s=s?.map(n=>_.common_default.sanitizeText(n,c));const a={id:t||d.records.seq+"-"+Y(),message:r,seq:d.records.seq++,type:o??x.NORMAL,tags:s??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=a,w.log.info("main branch",c.mainBranchName),d.records.commits.has(a.id)&&w.log.warn(`Commit ID ${a.id} already exists`),d.records.commits.set(a.id,a),d.records.branches.set(d.records.currBranch,a.id),w.log.debug("in pushCommit "+a.id)},"commit"),me=l.__name(function(e){let r=e.name;const t=e.order;if(r=_.common_default.sanitizeText(r,H()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),re(r),w.log.debug("in createBranch")},"branch"),ye=l.__name(e=>{let r=e.branch,t=e.id;const o=e.type,s=e.tags,c=H();r=_.common_default.sanitizeText(r,c),t&&(t=_.common_default.sanitizeText(t,c));const a=d.records.branches.get(d.records.currBranch),n=d.records.branches.get(r),$=a?d.records.commits.get(a):void 0,f=n?d.records.commits.get(n):void 0;if($&&f&&$.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const i=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},i}if($===void 0||!$){const i=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},i}if(!d.records.branches.has(r)){const i=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},i}if(f===void 0||!f){const i=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},i}if($===f){const i=new Error('Incorrect usage of "merge". Both branches have same head');throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},i}if(t&&d.records.commits.has(t)){const i=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw i.hash={text:`merge ${r} ${t} ${o} ${s?.join(" ")}`,token:`merge ${r} ${t} ${o} ${s?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${o} ${s?.join(" ")}`]},i}const g=n||"",h={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:x.MERGE,customType:o,customId:!!t,tags:s??[]};d.records.head=h,d.records.commits.set(h.id,h),d.records.branches.set(d.records.currBranch,h.id),w.log.debug(d.records.branches),w.log.debug("in mergeBranch")},"merge"),xe=l.__name(function(e){let r=e.id,t=e.targetId,o=e.tags,s=e.parent;w.log.debug("Entering cherryPick:",r,t,o);const c=H();if(r=_.common_default.sanitizeText(r,c),t=_.common_default.sanitizeText(t,c),o=o?.map($=>_.common_default.sanitizeText($,c)),s=_.common_default.sanitizeText(s,c),!r||!d.records.commits.has(r)){const $=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const a=d.records.commits.get(r);if(a===void 0||!a)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(s&&!(Array.isArray(a.parents)&&a.parents.includes(s)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const n=a.branch;if(a.type===x.MERGE&&!s)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(n===d.records.currBranch){const h=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw h.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},h}const $=d.records.branches.get(d.records.currBranch);if($===void 0||!$){const h=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw h.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},h}const f=d.records.commits.get($);if(f===void 0||!f){const h=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw h.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},h}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${a?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,a.id],branch:d.records.currBranch,type:x.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${a.id}${a.type===x.MERGE?`|parent:${s}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.log.debug(d.records.branches),w.log.debug("in cherryPick")}},"cherryPick"),re=l.__name(function(e){if(e=_.common_default.sanitizeText(e,H()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function U(e,r,t){const o=e.indexOf(r);o===-1?e.push(t):e.splice(o,1,t)}l.__name(U,"upsert");function J(e){const r=e.reduce((s,c)=>s.seq>c.seq?s:c,e[0]);let t="";e.forEach(function(s){s===r?t+=" *":t+=" |"});const o=[t,r.id,r.seq];for(const s in d.records.branches)d.records.branches.get(s)===r.id&&o.push(s);if(w.log.debug(o.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const s=d.records.commits.get(r.parents[0]);U(e,r,s),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const s=d.records.commits.get(r.parents[0]);U(e,r,s)}}e=ee(e,s=>s.id),J(e)}l.__name(J,"prettyPrintCommitHistory");var _e=l.__name(function(){w.log.debug(d.records.commits);const e=te()[0];J([e])},"prettyPrint"),pe=l.__name(function(){d.reset(),_.clear()},"clear"),be=l.__name(function(){return[...d.records.branchConfig.values()].map((e,r)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${r}`)}).sort((e,r)=>(e.order??0)-(r.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),we=l.__name(function(){return d.records.branches},"getBranches"),ke=l.__name(function(){return d.records.commits},"getCommits"),te=l.__name(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.log.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),ae={commitType:x,getConfig:H,setDirection:$e,setOptions:fe,getOptions:ge,commit:ue,branch:me,merge:ye,cherryPick:xe,checkout:re,prettyPrint:_e,clear:pe,getBranchesAsObjArray:be,getBranches:we,getCommits:ke,getCommitsArray:te,getCurrentBranch:l.__name(function(){return d.records.currBranch},"getCurrentBranch"),getDirection:l.__name(function(){return d.records.direction},"getDirection"),getHead:l.__name(function(){return d.records.head},"getHead"),setAccTitle:_.setAccTitle,getAccTitle:_.getAccTitle,getAccDescription:_.getAccDescription,setAccDescription:_.setAccDescription,setDiagramTitle:_.setDiagramTitle,getDiagramTitle:_.getDiagramTitle},Ce=l.__name((e,r)=>{ie.populateCommonDb(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)Ee(t,r)},"populate"),Ee=l.__name((e,r)=>{const t={Commit:l.__name(o=>r.commit(ve(o)),"Commit"),Branch:l.__name(o=>r.branch(Te(o)),"Branch"),Merge:l.__name(o=>r.merge(Be(o)),"Merge"),Checkout:l.__name(o=>r.checkout(Le(o)),"Checkout"),CherryPicking:l.__name(o=>r.cherryPick(Me(o)),"CherryPicking")}[e.$type];t?t(e):w.log.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),ve=l.__name(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?x[e.type]:x.NORMAL,tags:e.tags??void 0}),"parseCommit"),Te=l.__name(e=>({name:e.name,order:e.order??0}),"parseBranch"),Be=l.__name(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?x[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Le=l.__name(e=>e.branch,"parseCheckout"),Me=l.__name(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Re={parse:l.__name(async e=>{const r=await de.parse("gitGraph",e);w.log.debug(r),Ce(r,ae)},"parse")},I=10,O=40,B=4,M=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),V=12,Q=new Set(["redux-color","redux-dark-color"]),Ie=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),q=l.__name((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),E=new Map,v=new Map,F=30,W=new Map,P=[],R=0,m="LR",Oe=l.__name(()=>{E.clear(),v.clear(),W.clear(),R=0,P=[],m="LR"},"clear"),ne=l.__name(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(t=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=t.trim(),r.appendChild(o)}),r},"drawText"),oe=l.__name(e=>{let r,t,o;return m==="BT"?(t=l.__name((s,c)=>s<=c,"comparisonFunc"),o=1/0):(t=l.__name((s,c)=>s>=c,"comparisonFunc"),o=0),e.forEach(s=>{const c=m==="TB"||m=="BT"?v.get(s)?.y:v.get(s)?.x;c!==void 0&&t(c,o)&&(r=s,o=c)}),r},"findClosestParent"),Ge=l.__name(e=>{let r="",t=1/0;return e.forEach(o=>{const s=v.get(o).y;s<=t&&(r=o,t=s)}),r||void 0},"findClosestParentBT"),qe=l.__name((e,r,t)=>{let o=t,s=t;const c=[];e.forEach(a=>{const n=r.get(a);if(!n)throw new Error(`Commit not found for key ${a}`);n.parents.length?(o=Ae(n),s=Math.max(o,s)):c.push(n),Se(n,o)}),o=s,c.forEach(a=>{We(a,o,t)}),e.forEach(a=>{const n=r.get(a);if(n?.parents.length){const $=Ge(n.parents);o=v.get($).y-O,o<=s&&(s=o);const f=E.get(n.branch).pos,g=o-I;v.set(n.id,{x:f,y:g})}})},"setParallelBTPos"),He=l.__name(e=>{const r=oe(e.parents.filter(o=>o!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=v.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),Ae=l.__name(e=>He(e)+O,"calculateCommitPosition"),Se=l.__name((e,r)=>{const t=E.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const o=t.pos,s=r+I;return v.set(e.id,{x:o,y:s}),{x:o,y:s}},"setCommitPosition"),We=l.__name((e,r,t)=>{const o=E.get(e.branch);if(!o)throw new Error(`Branch not found for commit ${e.id}`);const s=r+t,c=o.pos;v.set(e.id,{x:c,y:s})},"setRootPosition"),De=l.__name((e,r,t,o,s,c)=>{const{theme:a}=_.getConfig2(),n=j.has(a??""),$=Q.has(a??""),f=Ie.has(a??"");if(c===x.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(n?3:0)).attr("y",t.y-10+(n?3:0)).attr("width",n?14:20).attr("height",n?14:20).attr("class",`commit ${r.id} commit-highlight${q(s,G,$)} ${o}-outer`),e.append("rect").attr("x",t.x-6+(n?2:0)).attr("y",t.y-6+(n?2:0)).attr("width",n?8:12).attr("height",n?8:12).attr("class",`commit ${r.id} commit${q(s,G,$)} ${o}-inner`);else if(c===x.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",n?7:10).attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",n?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",n?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",n?7:10),g.attr("class",`commit ${r.id} commit${q(s,G,$)}`),c===x.MERGE){const h=e.append("circle");h.attr("cx",t.x),h.attr("cy",t.y),h.attr("r",n?5:6),h.attr("class",`commit ${o} ${r.id} commit${q(s,G,$)}`)}if(c===x.REVERSE){const h=e.append("path"),i=n?4:5;h.attr("d",`M ${t.x-i},${t.y-i}L${t.x+i},${t.y+i}M${t.x-i},${t.y+i}L${t.x+i},${t.y-i}`).attr("class",`commit ${o} ${r.id} commit${q(s,G,$)}`)}}},"drawCommitBullet"),Ne=l.__name((e,r,t,o,s)=>{if(r.type!==x.CHERRY_PICK&&(r.customId&&r.type===x.MERGE||r.type!==x.MERGE)&&s.showCommitLabel){const c=e.append("g"),a=c.insert("rect").attr("class","commit-label-bkg"),n=c.append("text").attr("x",o).attr("y",t.y+25).attr("class","commit-label").text(r.id),$=n.node()?.getBBox();if($&&(a.attr("x",t.posWithOffset-$.width/2-M).attr("y",t.y+13.5).attr("width",$.width+2*M).attr("height",$.height+2*M),m==="TB"||m==="BT"?(a.attr("x",t.x-($.width+4*B+5)).attr("y",t.y-12),n.attr("x",t.x-($.width+4*B)).attr("y",t.y+$.height-12)):n.attr("x",t.posWithOffset-$.width/2),s.rotateCommitLabel))if(m==="TB"||m==="BT")n.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),a.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-($.width+10)/25*9.5,g=10+$.width/25*8.5;c.attr("transform","translate("+f+", "+g+") rotate(-45, "+o+", "+t.y+")")}}},"drawCommitLabel"),ze=l.__name((e,r,t,o)=>{if(r.tags.length>0){let s=0,c=0,a=0;const n=[];for(const $ of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),h=e.append("text").attr("y",t.y-16-s).attr("class","tag-label").text($),i=h.node()?.getBBox();if(!i)throw new Error("Tag bbox not found");c=Math.max(c,i.width),a=Math.max(a,i.height),h.attr("x",t.posWithOffset-i.width/2),n.push({tag:h,hole:g,rect:f,yOffset:s}),s+=20}for(const{tag:$,hole:f,rect:g,yOffset:h}of n){const i=a/2,y=t.y-19.2-h;if(g.attr("class","tag-label-bkg").attr("points",`
2
2
  ${o-c/2-B/2},${y+M}
3
3
  ${o-c/2-B/2},${y-M}
4
4
  ${t.posWithOffset-c/2-B},${y-i-M}
@@ -0,0 +1,11 @@
1
+ import { n as t } from "./rolldown-runtime-DkpYurw3.js";
2
+ var r = /* @__PURE__ */ t({ default: () => a }), a = {
3
+ success: !0,
4
+ _identification: !0,
5
+ data: `<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 .5C5.73.5.5 5.73.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56 0-.27-.01-1-.02-1.96-3.2.7-3.88-1.54-3.88-1.54-.52-1.33-1.28-1.68-1.28-1.68-1.05-.72.08-.7.08-.7 1.16.08 1.77 1.19 1.77 1.19 1.03 1.77 2.7 1.26 3.36.96.1-.75.4-1.26.73-1.55-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.29 1.19-3.1-.12-.29-.52-1.46.11-3.05 0 0 .97-.31 3.18 1.18a11.1 11.1 0 0 1 5.8 0c2.2-1.49 3.17-1.18 3.17-1.18.63 1.59.23 2.76.11 3.05.74.81 1.19 1.84 1.19 3.1 0 4.42-2.69 5.39-5.25 5.68.41.36.78 1.06.78 2.14 0 1.55-.01 2.8-.01 3.18 0 .31.21.68.8.56A11.51 11.51 0 0 0 23.5 12C23.5 5.73 18.27.5 12 .5Z"/></svg>
6
+ `
7
+ };
8
+ export {
9
+ r as n,
10
+ a as t
11
+ };
@@ -0,0 +1,2 @@
1
+ const t=require("./rolldown-runtime-CAnuVJ4g.cjs");var r=t.__exportAll({default:()=>e}),e={success:!0,_identification:!0,data:`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 .5C5.73.5.5 5.73.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56 0-.27-.01-1-.02-1.96-3.2.7-3.88-1.54-3.88-1.54-.52-1.33-1.28-1.68-1.28-1.68-1.05-.72.08-.7.08-.7 1.16.08 1.77 1.19 1.77 1.19 1.03 1.77 2.7 1.26 3.36.96.1-.75.4-1.26.73-1.55-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.29 1.19-3.1-.12-.29-.52-1.46.11-3.05 0 0 .97-.31 3.18 1.18a11.1 11.1 0 0 1 5.8 0c2.2-1.49 3.17-1.18 3.17-1.18.63 1.59.23 2.76.11 3.05.74.81 1.19 1.84 1.19 3.1 0 4.42-2.69 5.39-5.25 5.68.41.36.78 1.06.78 2.14 0 1.55-.01 2.8-.01 3.18 0 .31.21.68.8.56A11.51 11.51 0 0 0 23.5 12C23.5 5.73 18.27.5 12 .5Z"/></svg>
2
+ `};Object.defineProperty(exports,"github_default",{enumerable:!0,get:function(){return e}});Object.defineProperty(exports,"github_exports",{enumerable:!0,get:function(){return r}});
@@ -1,7 +1,7 @@
1
- import { a, n as o, r as e, t as u } from "./utils-D1iZnChu.js";
2
- import { i, p as h } from "./factory-ZNhcQ4tf.js";
3
- import { a as d, n as g } from "./ssr-DSGwPtEd.js";
4
- var c = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}:host{display:var(--ran-glass-display, inline-block);position:var(--ran-glass-position, relative);border-radius:var(--ran-glass-radius, 20px);isolation:isolate;-webkit-tap-highlight-color:transparent}.ran-glass-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.ran-glass{position:relative;box-sizing:border-box;min-width:var(--ran-glass-min-width, 0);min-height:var(--ran-glass-min-height, 0);padding:var(--ran-glass-padding, 0);border-radius:inherit;overflow:hidden;color:inherit;-webkit-backdrop-filter:blur(var(--ran-glass-blur, 16px)) saturate(var(--ran-glass-saturate, 180%)) brightness(var(--ran-glass-brightness, 1.05));backdrop-filter:blur(var(--ran-glass-blur, 16px)) saturate(var(--ran-glass-saturate, 180%)) brightness(var(--ran-glass-brightness, 1.05)) var(--ran-glass-refraction, url(#ran-glass-filter));background:var(--ran-glass-tint, rgba(255, 255, 255, .14));border:var(--ran-glass-border, 1px solid rgba(255, 255, 255, .35));box-shadow:var(--ran-glass-shadow, inset 0 1px 1px rgba(255, 255, 255, .6), inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 -20px 40px rgba(255, 255, 255, .04), 0 24px 60px -18px rgba(0, 0, 0, .5));transition:var(--ran-glass-transition, transform var(--ran-motion-duration-base, .2s) var(--ran-motion-ease-spring, cubic-bezier(.34, 1.26, .5, 1)))}.ran-glass-specular{position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:var(--ran-glass-specular-opacity, 1);background:var(--ran-glass-specular, linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 34%), radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .18), transparent 60%))}.ran-glass-specular:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.4) 50%,transparent 58%);transform:translate(-130%);opacity:0}:host([sheen]) .ran-glass-specular:after{opacity:.7;animation:ran-glass-sheen var(--ran-glass-sheen-duration, 6s) ease-in-out infinite}@keyframes ran-glass-sheen{50%{transform:translate(130%)}}.ran-glass ::slotted(*){position:relative;z-index:1}:host([interactive]) .ran-glass{cursor:pointer}:host([interactive]:hover) .ran-glass{transform:translateY(-2px)}:host([interactive]:active) .ran-glass{transform:translateY(0) scale(.98);transition-duration:var(--ran-motion-duration-fast, .15s)}@media(prefers-reduced-motion:reduce){:host([sheen]) .ran-glass-specular:after{animation:none;opacity:0}.ran-glass{transition:none}}', p = 0, b = class n extends g {
1
+ import { i, p as o } from "./factory-Bbul5tOL.js";
2
+ import { a as u, n as h } from "./ssr-BzHZ2bCe.js";
3
+ import { a, n as d, r as e, t as g } from "./utils-X5_TIQTQ.js";
4
+ var c = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}:host{display:var(--ran-glass-display, inline-block);position:var(--ran-glass-position, relative);border-radius:var(--ran-glass-radius, 20px);isolation:isolate;-webkit-tap-highlight-color:transparent}.ran-glass-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.ran-glass{position:relative;box-sizing:border-box;min-width:var(--ran-glass-min-width, 0);min-height:var(--ran-glass-min-height, 0);padding:var(--ran-glass-padding, 0);border-radius:inherit;overflow:hidden;color:inherit;-webkit-backdrop-filter:blur(var(--ran-glass-blur, 16px)) saturate(var(--ran-glass-saturate, 180%)) brightness(var(--ran-glass-brightness, 1.05));backdrop-filter:blur(var(--ran-glass-blur, 16px)) saturate(var(--ran-glass-saturate, 180%)) brightness(var(--ran-glass-brightness, 1.05)) var(--ran-glass-refraction, url(#ran-glass-filter));background:var(--ran-glass-tint, rgba(255, 255, 255, .14));border:var(--ran-glass-border, 1px solid rgba(255, 255, 255, .35));box-shadow:var(--ran-glass-shadow, inset 0 1px 1px rgba(255, 255, 255, .6), inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 -20px 40px rgba(255, 255, 255, .04), 0 24px 60px -18px rgba(0, 0, 0, .5));transition:var(--ran-glass-transition, transform var(--ran-motion-duration-base, .2s) var(--ran-motion-ease-spring, cubic-bezier(.34, 1.26, .5, 1)))}.ran-glass-specular{position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:var(--ran-glass-specular-opacity, 1);background:var(--ran-glass-specular, linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 34%), radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .18), transparent 60%))}.ran-glass-specular:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.4) 50%,transparent 58%);transform:translate(-130%);opacity:0}:host([sheen]) .ran-glass-specular:after{opacity:.7;animation:ran-glass-sheen var(--ran-glass-sheen-duration, 6s) ease-in-out infinite}@keyframes ran-glass-sheen{50%{transform:translate(130%)}}.ran-glass ::slotted(*){position:relative;z-index:1}:host([interactive]) .ran-glass{cursor:pointer}:host([interactive]:hover) .ran-glass{transform:translateY(-2px)}:host([interactive]:active) .ran-glass{transform:translateY(0) scale(.98);transition-duration:var(--ran-motion-duration-fast, .15s)}@media(prefers-reduced-motion:reduce){:host([sheen]) .ran-glass-specular:after{animation:none;opacity:0}.ran-glass{transition:none}}', p = 0, b = class n extends h {
5
5
  _shadowDom;
6
6
  _glass;
7
7
  _turb = null;
@@ -18,7 +18,7 @@ var c = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
18
18
  ];
19
19
  }
20
20
  constructor() {
21
- super(), this._shadowDom = o(this, c), this._glass = u(this._shadowDom, ".ran-glass", () => i().class("ran-glass").attr("part", "glass").children(i().class("ran-glass-specular").attr("part", "specular"), h()).build());
21
+ super(), this._shadowDom = d(this, c), this._glass = g(this._shadowDom, ".ran-glass", () => i().class("ran-glass").attr("part", "glass").children(i().class("ran-glass-specular").attr("part", "specular"), o()).build());
22
22
  }
23
23
  get saturate() {
24
24
  return e(this, "saturate");
@@ -109,7 +109,7 @@ var c = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
109
109
  s !== r && this._apply(t);
110
110
  }
111
111
  };
112
- d("r-glass", b);
112
+ u("r-glass", b);
113
113
  export {
114
114
  b as t
115
115
  };
package/dist/glass.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as s } from "./glass-BniIptBE.js";
1
+ import { t as s } from "./glass-DKQAEAmc.js";
2
2
  export {
3
3
  s as Glass,
4
4
  s as default
@@ -0,0 +1,15 @@
1
+ import { n as r } from "./rolldown-runtime-DkpYurw3.js";
2
+ var o = /* @__PURE__ */ r({ default: () => e }), e = {
3
+ success: !0,
4
+ _identification: !0,
5
+ data: `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="1.6" />
7
+ <path d="M3 12h18" fill="none" stroke="currentColor" stroke-width="1.6" />
8
+ <ellipse cx="12" cy="12" rx="4" ry="9" fill="none" stroke="currentColor" stroke-width="1.6" />
9
+ </svg>
10
+ `
11
+ };
12
+ export {
13
+ o as n,
14
+ e as t
15
+ };
@@ -0,0 +1,6 @@
1
+ const r=require("./rolldown-runtime-CAnuVJ4g.cjs");var t=r.__exportAll({default:()=>e}),e={success:!0,_identification:!0,data:`<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="1.6" />
3
+ <path d="M3 12h18" fill="none" stroke="currentColor" stroke-width="1.6" />
4
+ <ellipse cx="12" cy="12" rx="4" ry="9" fill="none" stroke="currentColor" stroke-width="1.6" />
5
+ </svg>
6
+ `};Object.defineProperty(exports,"globe_default",{enumerable:!0,get:function(){return e}});Object.defineProperty(exports,"globe_exports",{enumerable:!0,get:function(){return t}});
@@ -0,0 +1 @@
1
+ const t=require("./rolldown-runtime-CAnuVJ4g.cjs");var r=t.__exportAll({default:()=>e}),e={success:!0,_identification:!0,data:'<svg t="1667486325771" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8988" width="200" height="200"><path d="M946.5 505L560.1 118.8l-25.9-25.9c-12.3-12.2-32.1-12.2-44.4 0L77.5 505c-12.3 12.3-18.9 28.6-18.8 46 0.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8 12.1-12.1 18.7-28.2 18.7-45.3 0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204z m217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z" p-id="8989"></path></svg>'};Object.defineProperty(exports,"home_default",{enumerable:!0,get:function(){return e}});Object.defineProperty(exports,"home_exports",{enumerable:!0,get:function(){return r}});
@@ -0,0 +1,10 @@
1
+ import { n as t } from "./rolldown-runtime-DkpYurw3.js";
2
+ var s = /* @__PURE__ */ t({ default: () => e }), e = {
3
+ success: !0,
4
+ _identification: !0,
5
+ data: '<svg t="1667486325771" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8988" width="200" height="200"><path d="M946.5 505L560.1 118.8l-25.9-25.9c-12.3-12.2-32.1-12.2-44.4 0L77.5 505c-12.3 12.3-18.9 28.6-18.8 46 0.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8 12.1-12.1 18.7-28.2 18.7-45.3 0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204z m217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z" p-id="8989"></path></svg>'
6
+ };
7
+ export {
8
+ s as n,
9
+ e as t
10
+ };
@@ -0,0 +1 @@
1
+ import "./i18n-Cf5TtRb4-BeflTU82.js";
@@ -0,0 +1,175 @@
1
+ function d(e) {
2
+ return e < 10 ? `0${e}` : e;
3
+ }
4
+ var O = (e) => {
5
+ if (e === 0) return "00:00";
6
+ if (!e) return "";
7
+ const t = Math.trunc(e / 3600), r = Math.trunc(e % 3600 / 60), n = d(Math.trunc(e - 3600 * t - 60 * r));
8
+ return t === 0 ? `${d(r)}:${n}` : `${d(t)}:${d(r)}:${n}`;
9
+ }, $ = () => {
10
+ if (typeof window < "u") {
11
+ const e = navigator.userAgent.toLowerCase();
12
+ return /ipad|ipod/.test(e) ? "ipad" : /android/.test(e) ? "android" : /iphone/.test(e) ? "iphone" : "pc";
13
+ }
14
+ return "pc";
15
+ }, v = typeof window < "u", I = (e, t) => {
16
+ if (typeof window > "u" || typeof window.matchMedia != "function") return t(!1), () => {
17
+ };
18
+ const r = window.matchMedia(e), n = () => t(r.matches);
19
+ if (n(), typeof r.addEventListener == "function") return r.addEventListener("change", n), () => r.removeEventListener("change", n);
20
+ const s = r;
21
+ return s.addListener(n), () => s.removeListener(n);
22
+ }, K = () => {
23
+ if (!v) return !1;
24
+ const e = window.navigator.userAgent;
25
+ return !!/Android|webOS|iPhone|iPod|iPad|BlackBerry/i.test(e);
26
+ }, M = (e) => {
27
+ const t = e.backingStorePixelRatio || e.webkitBackingStorePixelRatio || e.mozBackingStorePixelRatio || e.msBackingStorePixelRatio || e.oBackingStorePixelRatio || 1;
28
+ return (v && window.devicePixelRatio || 1) / t;
29
+ }, x = (e) => {
30
+ const t = {}, r = ((n) => {
31
+ const s = n ?? (typeof window > "u" ? "" : window.location.href), a = s.indexOf("?");
32
+ if (a === -1) return "";
33
+ const i = s.slice(a + 1), l = i.indexOf("#");
34
+ return l === -1 ? i : i.slice(0, l);
35
+ })(e);
36
+ if (!r) return t;
37
+ for (const n of r.split("&")) {
38
+ if (!n) continue;
39
+ const s = n.indexOf("="), a = s === -1 ? n : n.slice(0, s), i = s === -1 ? "" : n.slice(s + 1);
40
+ if (a) try {
41
+ t[decodeURIComponent(a.replace(/\+/g, " "))] = decodeURIComponent(i.replace(/\+/g, " "));
42
+ } catch {
43
+ t[a] = i;
44
+ }
45
+ }
46
+ return t;
47
+ };
48
+ function b(e) {
49
+ if (typeof window < "u") {
50
+ const t = new RegExp(`(^| )${e}(?:=([^;]*))?(;|$)`).exec(document.cookie);
51
+ if (t && t[2]) return t[2];
52
+ }
53
+ return "";
54
+ }
55
+ var w = () => {
56
+ try {
57
+ return typeof localStorage > "u" ? null : localStorage;
58
+ } catch {
59
+ return null;
60
+ }
61
+ }, L = (e, t) => {
62
+ try {
63
+ w()?.setItem(e, t);
64
+ } catch {
65
+ }
66
+ }, y = (e) => {
67
+ try {
68
+ return w()?.getItem(e) ?? "";
69
+ } catch {
70
+ return "";
71
+ }
72
+ }, P = (e) => {
73
+ const { supported: t, query: r, cookie: n, storageKey: s, useNavigator: a = !0, url: i } = e, l = e.fallback ?? t[0] ?? "en";
74
+ if (t.length === 0) return l;
75
+ const f = t.map((o) => o.toLowerCase()), k = (o) => {
76
+ if (!o) return;
77
+ const c = o.trim().toLowerCase();
78
+ if (!c) return;
79
+ const h = f.indexOf(c);
80
+ if (h !== -1) return t[h];
81
+ const g = c.split("-")[0], p = f.findIndex((_) => _ === g || _.split("-")[0] === g);
82
+ return p === -1 ? void 0 : t[p];
83
+ }, u = [];
84
+ if (r && u.push(x(i)[r]), n && u.push(b(n)), s && u.push(y(s)), a && typeof navigator < "u") {
85
+ const { languages: o, language: c } = navigator;
86
+ u.push(...o ?? [], c);
87
+ }
88
+ for (const o of u) {
89
+ const c = k(o);
90
+ if (c) return c;
91
+ }
92
+ return l;
93
+ }, S = Object.freeze({}), R = class {
94
+ _locale;
95
+ _fallback;
96
+ _messages;
97
+ _persist;
98
+ _storageKey;
99
+ _handlers = /* @__PURE__ */ new Set();
100
+ constructor(e = {}) {
101
+ this._messages = { ...e.messages }, this._fallback = e.fallbackLocale ?? "en", this._persist = e.persist ?? !1, this._storageKey = e.storageKey ?? "ran-locale", this._locale = this._resolveInitialLocale(e);
102
+ }
103
+ _resolveInitialLocale(e) {
104
+ const t = Object.keys(this._messages), r = this._persist && y(this._storageKey) || null;
105
+ if (r && (this._messages[r] || t.length === 0)) return r;
106
+ if (e.locale) return e.locale;
107
+ if (e.detectNavigator) {
108
+ const n = P({
109
+ supported: t,
110
+ useNavigator: !0,
111
+ fallback: ""
112
+ });
113
+ if (n) return n;
114
+ }
115
+ return this._fallback;
116
+ }
117
+ get locale() {
118
+ return this._locale;
119
+ }
120
+ getLocale() {
121
+ return this._locale;
122
+ }
123
+ setLocale(e) {
124
+ e !== this._locale && (this._locale = e, this._persist && L(this._storageKey, e), this._notify());
125
+ }
126
+ addMessages(e, t) {
127
+ this._messages[e] = {
128
+ ...this._messages[e],
129
+ ...t
130
+ };
131
+ }
132
+ getMessages(e = this._locale) {
133
+ return this._messages[e] ?? {};
134
+ }
135
+ get availableLocales() {
136
+ return Object.keys(this._messages);
137
+ }
138
+ t(e, t) {
139
+ const r = this._messages[this._locale]?.[e] ?? this._messages[this._fallback]?.[e] ?? e;
140
+ return this._interpolate(r, t);
141
+ }
142
+ _interpolate(e, t) {
143
+ const r = t ?? S;
144
+ return e.replace(/\{\{|\}\}|\{(\w+)\}/g, (n, s) => n === "{{" ? "{" : n === "}}" ? "}" : r[s] != null ? String(r[s]) : n);
145
+ }
146
+ onChange(e) {
147
+ return this._handlers.add(e), () => {
148
+ this._handlers.delete(e);
149
+ };
150
+ }
151
+ _notify() {
152
+ for (const e of this._handlers) e(this._locale);
153
+ }
154
+ destroy() {
155
+ this._handlers.clear();
156
+ }
157
+ }, m = null;
158
+ function B(e = {}) {
159
+ return m = new R(e);
160
+ }
161
+ function C() {
162
+ return m;
163
+ }
164
+ export {
165
+ y as a,
166
+ I as c,
167
+ L as i,
168
+ $ as l,
169
+ R as n,
170
+ C as o,
171
+ B as r,
172
+ O as s,
173
+ M as t,
174
+ K as u
175
+ };
package/dist/i18n.js CHANGED
@@ -1,6 +1,7 @@
1
- import { I18nCore as r, createI18n as o, useI18n as n } from "./utils/i18n.js";
1
+ import { n as r, o as s, r as o } from "./i18n-Cf5TtRb4-BeflTU82.js";
2
+ import "./i18n-B3HBw6rL.js";
2
3
  export {
3
4
  r as I18nCore,
4
5
  o as createI18n,
5
- n as useI18n
6
+ s as useI18n
6
7
  };