comp-hub 0.42.8 → 0.42.9

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 (157) hide show
  1. package/dist/index.js +6 -6
  2. package/dist/website/container/assets/index-6TGp-7st.css +1 -0
  3. package/dist/website/container/assets/index-BKC7DzZV.js +33 -0
  4. package/dist/website/container/index.html +2 -2
  5. package/dist/website/container/js/less-compiler.js +22 -22
  6. package/dist/website/container/js/sass-compiler.js +94 -94
  7. package/dist/website/item/assets/index-Pkb33-i2.css +1 -0
  8. package/dist/website/item/assets/{index-CwtVkGPL.js → index-kBvGmplc.js} +2 -2
  9. package/dist/website/item/index.html +2 -2
  10. package/dist/website/main/assets/AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CH79cQAu.js +1 -0
  11. package/dist/website/main/assets/{BaseBadge-BReHrAqs.js → BaseBadge-D53B9edx.js} +1 -1
  12. package/dist/website/main/assets/BaseDialog.vue_vue_type_script_setup_true_lang-Bcc7UYpp.js +1 -0
  13. package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-RYuIoPF7.js +1 -0
  14. package/dist/website/main/assets/CanvasAnimation.vue_vue_type_script_setup_true_lang-BNlJ1yyx.js +1 -0
  15. package/dist/website/main/assets/{CodeMirrorEditor-Cqow8ROO-DYjlZgX9.js → CodeMirrorEditor-Cqow8ROO-AryRubtp.js} +3 -3
  16. package/dist/website/main/assets/{EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js → EmptyStatusContainer.vue_vue_type_script_setup_true_lang-kK4W-ekr.js} +1 -1
  17. package/dist/website/main/assets/GithubCallback-BjmPqH_L.js +1 -0
  18. package/dist/website/main/assets/{LoadingWrapper.vue_vue_type_script_setup_true_lang-BYA4gUOI.js → LoadingWrapper.vue_vue_type_script_setup_true_lang-BPfuSpto.js} +1 -1
  19. package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-BiETILOo.js +1 -0
  20. package/dist/website/main/assets/{SiteLogo-Bpm2Ah9F.js → SiteLogo-DEIcFHUB.js} +1 -1
  21. package/dist/website/main/assets/SiteLogo-DbJD21Ac.css +1 -0
  22. package/dist/website/main/assets/{cloud-upload-BqJFdj_J.js → cloud-upload-DVf0ki5J.js} +1 -1
  23. package/dist/website/main/assets/el-table-column-BqpEDPpl.js +1 -0
  24. package/dist/website/main/assets/{home-rounded-CN0qCDnE.js → home-rounded-DcB333c-.js} +1 -1
  25. package/dist/website/main/assets/{index-DS44gjNL.js → index-0jhSi0Id.js} +1 -1
  26. package/dist/website/main/assets/{index-DdIWt0oE.js → index-6e_pcD2g.js} +1 -1
  27. package/dist/website/main/assets/{index-72rReQ2I-C_aIAupr.js → index-72rReQ2I-Dls_4Kw0.js} +1 -1
  28. package/dist/website/main/assets/index-B-o-geOz.js +1 -0
  29. package/dist/website/main/assets/{index-DvFQxOj2.js → index-B6DlcvMU.js} +1 -1
  30. package/dist/website/main/assets/index-BNYhon33.js +1 -0
  31. package/dist/website/main/assets/index-BOUkLBc8.js +1 -0
  32. package/dist/website/main/assets/index-BPiRmvZl.js +1 -0
  33. package/dist/website/main/assets/{index-DgQa2ZqK.js → index-BWSpWNwa.js} +1 -1
  34. package/dist/website/main/assets/index-BhaaT_GF.js +1 -0
  35. package/dist/website/main/assets/index-BqUqA7W4.js +1 -0
  36. package/dist/website/main/assets/{index-CMiBqyhH.js → index-Bqhbsn_n.js} +1 -1
  37. package/dist/website/main/assets/{index-Zt46lwNk.js → index-BrpXOHl6.js} +1 -1
  38. package/dist/website/main/assets/index-BxmgEr3S.js +1 -0
  39. package/dist/website/main/assets/index-C1Hw6vXQ.js +1 -0
  40. package/dist/website/main/assets/index-C42i82mF.js +2 -0
  41. package/dist/website/main/assets/{index-CeiBBtdW.js → index-C81i40Gx.js} +1 -1
  42. package/dist/website/main/assets/index-C9BP4kWZ.js +6 -0
  43. package/dist/website/main/assets/{index-DlkXaOkE.css → index-CFTT7hu0.css} +1 -1
  44. package/dist/website/main/assets/{index-B1K6cAvN.js → index-CIVzXolG.js} +1 -1
  45. package/dist/website/main/assets/index-CPc1AP3H.js +1 -0
  46. package/dist/website/main/assets/index-CWMIyyC3.js +1 -0
  47. package/dist/website/main/assets/{index-VyPJ3PyN.js → index-CglP2y1M.js} +1 -1
  48. package/dist/website/main/assets/index-CiPfzZM4.js +1 -0
  49. package/dist/website/main/assets/{index-BPdEkCOx.js → index-Cs-jTkU_.js} +1 -1
  50. package/dist/website/main/assets/{index-CtNrOkJr.js → index-CuvsliuR.js} +1 -1
  51. package/dist/website/main/assets/index-Cv6z_Edq.js +1 -0
  52. package/dist/website/main/assets/index-CxHPM7Fg.js +1 -0
  53. package/dist/website/main/assets/index-CytdBEyB.js +1 -0
  54. package/dist/website/main/assets/{index-S0EB9acK.js → index-D1_g-khQ.js} +1 -1
  55. package/dist/website/main/assets/index-D2eSTfJw.js +1 -0
  56. package/dist/website/main/assets/{index-KhSB9wFh.js → index-D3HuxiUJ.js} +1 -1
  57. package/dist/website/main/assets/{index-D76eWsZ1-a1NwqrGS.js → index-D76eWsZ1-Z0x-dydi.js} +1 -1
  58. package/dist/website/main/assets/index-DH0rbH_2.js +1 -0
  59. package/dist/website/main/assets/index-DPBASOD1.js +1 -0
  60. package/dist/website/main/assets/index-DQfTUb4g.js +1 -0
  61. package/dist/website/main/assets/{index-CuCbuNEj.js → index-DS0KGu0h.js} +1 -1
  62. package/dist/website/main/assets/index-DVxz8FkV.js +2 -0
  63. package/dist/website/main/assets/{index-DgrizPPB.js → index-DgXgHraR.js} +4 -4
  64. package/dist/website/main/assets/{index-B2qulmRp.js → index-DjWcnHPR.js} +1 -1
  65. package/dist/website/main/assets/{index-Dms7ZQ2h-DZe32-4Q.js → index-Dms7ZQ2h-B_6qoSW-.js} +1 -1
  66. package/dist/website/main/assets/index-Dnz1UQnr.js +1 -0
  67. package/dist/website/main/assets/index-DpYJK6hB.js +1 -0
  68. package/dist/website/main/assets/{index-DqiFCfGx-Be_VzFT8.js → index-DqiFCfGx-uaEe5kQB.js} +1 -1
  69. package/dist/website/main/assets/index-Dr-xg5xd.js +1 -0
  70. package/dist/website/main/assets/index-DtBE21vT.js +1 -0
  71. package/dist/website/main/assets/{index-DdqWCLvd.js → index-DxdtqQU6.js} +1 -1
  72. package/dist/website/main/assets/{index-DxypSQ0K-DZ74HfZS.js → index-DxypSQ0K-zR2L90gm.js} +1 -1
  73. package/dist/website/main/assets/{index-BA02DjBI.js → index-DzxzRGrk.js} +1 -1
  74. package/dist/website/main/assets/index-NYRLx08d.js +1 -0
  75. package/dist/website/main/assets/{index-B5rd6Qgm.js → index-PMqboCW5.js} +1 -1
  76. package/dist/website/main/assets/index-R79ZeMZV.js +1 -0
  77. package/dist/website/main/assets/{index-T76vWLBU-iHnxnk3E.js → index-T76vWLBU-B_wdWDQF.js} +1 -1
  78. package/dist/website/main/assets/{index-DyFpWAJM.js → index-XhJP7gYm.js} +1 -1
  79. package/dist/website/main/assets/{index-fZBcgzqR-CqMOhDrG.js → index-fZBcgzqR-CZSkQJVN.js} +1 -1
  80. package/dist/website/main/assets/index-kE41pQo6.js +1 -0
  81. package/dist/website/main/assets/{index-mqeGrL6B-C5oP0065.js → index-mqeGrL6B-Dup8h8xb.js} +1 -1
  82. package/dist/website/main/assets/{index-CLT68CCM.css → index-rRr1TSL-.css} +1 -1
  83. package/dist/website/main/assets/{index-BX3Tl9jb.js → index-tMz4-DEB.js} +1 -1
  84. package/dist/website/main/assets/{index-Dblv7zZt.js → index-ywM9Y30i.js} +1 -1
  85. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-B8gjIiIt.js +2 -0
  86. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-Bs4fbZK8.js → index.vue_vue_type_script_setup_true_lang-BdH7Nx9p.js} +1 -1
  87. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-Dsu1eY0B.js → index.vue_vue_type_script_setup_true_lang-Bphion84.js} +1 -1
  88. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C8D789jG.js +1 -0
  89. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-B05SHLQS.js → index.vue_vue_type_script_setup_true_lang-CfvoANZj.js} +1 -1
  90. package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BOkD4Vs3.js → index.vue_vue_type_script_setup_true_lang-uwxiML83.js} +1 -1
  91. package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-DDVUKgQ8.js +1 -0
  92. package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-DiN6WUUw.js +6 -0
  93. package/dist/website/main/assets/index3-BB6QcGH6.js +1 -0
  94. package/dist/website/main/assets/{kid-star-CiMfD7Sa.js → kid-star-0b7jegzF.js} +1 -1
  95. package/dist/website/main/assets/{md5-Dkj6ZNQB.js → md5-BqUl3L9Y.js} +1 -1
  96. package/dist/website/main/assets/{settings-CSr4nQM1.js → settings-DpNeh4hy.js} +1 -1
  97. package/dist/website/main/assets/{supervised-user-circle-BwUSx6w_.js → supervised-user-circle-B5yCz5Oo.js} +1 -1
  98. package/dist/website/main/assets/{sync-saved-locally-rounded-DyESI323.js → sync-saved-locally-rounded-BX8GcRCO.js} +1 -1
  99. package/dist/website/main/assets/{terminal-DAZ0JqKA.js → terminal-DXqN9Hoj.js} +1 -1
  100. package/dist/website/main/assets/{useCacheOssStore-C6-kY3lP.js → useCacheOssStore-DRfQruRw.js} +1 -1
  101. package/dist/website/main/assets/{useCompEditStore-B7__tBPJ.js → useCompEditStore-DpFLk9bE.js} +3 -3
  102. package/dist/website/main/assets/{useCompMetaLocalStore-DUMtt_yz.js → useCompMetaLocalStore-Dko7Z-qO.js} +1 -1
  103. package/dist/website/main/assets/{useKeyword-O-wdQuD_.js → useKeyword-Dh8n_REW.js} +1 -1
  104. package/dist/website/main/assets/useMessage-DeFP0yQy.js +1 -0
  105. package/dist/website/main/assets/{useTeamHeaders-BMHQzwDq.css → useTeamHeaders-BSofrH8c.css} +1 -1
  106. package/dist/website/main/assets/{useTeamHeaders-BbJQSrjN.js → useTeamHeaders-Bl2nRtJe.js} +1 -1
  107. package/dist/website/main/assets/{useUnreadStore-COt1XJEP.js → useUnreadStore-C1fMXHK-.js} +1 -1
  108. package/dist/website/main/assets/{useVscodeOpen-CCvngYEV.js → useVscodeOpen-CcI7l8e8.js} +1 -1
  109. package/dist/website/main/assets/{vendor-core-CNXB6kVe.js → vendor-core-CfnvwQzw.js} +3 -3
  110. package/dist/website/main/assets/{vendor-ui-Cvgmewma.js → vendor-ui-g5RNTRAc.js} +15 -15
  111. package/dist/website/main/index.html +4 -4
  112. package/package.json +3 -10
  113. package/dist/website/container/assets/index-BmW7jge6.css +0 -1
  114. package/dist/website/container/assets/index-E15UfKFM.js +0 -33
  115. package/dist/website/item/assets/index-CfkvQ31V.css +0 -1
  116. package/dist/website/main/assets/AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-D-jhE3yA.js +0 -1
  117. package/dist/website/main/assets/BaseDialog.vue_vue_type_script_setup_true_lang-BK7dbjCA.js +0 -1
  118. package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-CcSntY2B.js +0 -1
  119. package/dist/website/main/assets/CanvasAnimation.vue_vue_type_script_setup_true_lang-T5vn0JFD.js +0 -1
  120. package/dist/website/main/assets/GithubCallback-UUNSnoh7.js +0 -1
  121. package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-CEqkWYsv.js +0 -1
  122. package/dist/website/main/assets/SiteLogo-CszHjM2d.css +0 -1
  123. package/dist/website/main/assets/el-table-column-C2GQUl4R.js +0 -1
  124. package/dist/website/main/assets/index-4S2NYemE.js +0 -1
  125. package/dist/website/main/assets/index-6zg8j_nT.js +0 -1
  126. package/dist/website/main/assets/index-B6JeEo9g.js +0 -1
  127. package/dist/website/main/assets/index-B6Oo99Ej.js +0 -1
  128. package/dist/website/main/assets/index-BD8DwKlG.js +0 -1
  129. package/dist/website/main/assets/index-BF2ETnQh.js +0 -1
  130. package/dist/website/main/assets/index-BNwWVTCF.js +0 -1
  131. package/dist/website/main/assets/index-BTmh_pkn.js +0 -1
  132. package/dist/website/main/assets/index-BWh3R1jI.js +0 -6
  133. package/dist/website/main/assets/index-By_sRNiP.js +0 -1
  134. package/dist/website/main/assets/index-C1zFaUVE.js +0 -1
  135. package/dist/website/main/assets/index-CCJiyDal.js +0 -1
  136. package/dist/website/main/assets/index-CaoAcCMA.js +0 -2
  137. package/dist/website/main/assets/index-CbOKlsZn.js +0 -2
  138. package/dist/website/main/assets/index-D-25wqLa.js +0 -1
  139. package/dist/website/main/assets/index-D-HOLV6Z.js +0 -1
  140. package/dist/website/main/assets/index-D6zFRika.js +0 -1
  141. package/dist/website/main/assets/index-DR4j8Ql1.js +0 -1
  142. package/dist/website/main/assets/index-DRsSRfwD.js +0 -1
  143. package/dist/website/main/assets/index-D_NvG8ob.js +0 -1
  144. package/dist/website/main/assets/index-Dcp6qLr1.js +0 -1
  145. package/dist/website/main/assets/index-DpUmZw4S.js +0 -1
  146. package/dist/website/main/assets/index-Dy0c-ddP.js +0 -1
  147. package/dist/website/main/assets/index-RrkKKQjp.js +0 -1
  148. package/dist/website/main/assets/index-VpAGAhRh.js +0 -1
  149. package/dist/website/main/assets/index-ex5YI_gC.js +0 -1
  150. package/dist/website/main/assets/index-wd7ZswFD.js +0 -1
  151. package/dist/website/main/assets/index-z8BnmFXm.js +0 -1
  152. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Ap8wTvsB.js +0 -2
  153. package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-ByHasmxS.js +0 -1
  154. package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-66fUtqSq.js +0 -6
  155. package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-CUQ5yd-1.js +0 -1
  156. package/dist/website/main/assets/index3-BiHnTK1Z.js +0 -1
  157. package/dist/website/main/assets/useMessage-yR4W8KDP.js +0 -1
@@ -1 +0,0 @@
1
- @charset "UTF-8";.app-container[data-v-6efeee9c]{width:100%;height:100%}.segmented[data-v-1ee57095]{--segmented-bg: #f0f0f0;--segmented-selected-bg: #409eff;--segmented-selected-shadow: none;--segmented-color: #a6a6a6;--segmented-selected-color: #ffffff;--segmented-padding: 1px;--segmented-font-size: 14px;--segmented-border-radius: 6px;--segmented-item-border-radius: 4px;--segmented-item-height: 32px;--segmented-item-min-width: 40px;--segmented-item-padding-x: 12px;display:inline-flex;position:relative;background:var(--segmented-bg);border-radius:var(--segmented-border-radius);padding:var(--segmented-padding);user-select:none;-webkit-user-select:none}html.dark .segmented[data-v-1ee57095]{--segmented-bg: #1e1e1e}.segmented--block[data-v-1ee57095]{display:flex;width:100%}.segmented--block .segmented__item[data-v-1ee57095]{flex:1;justify-content:center}.segmented--vertical[data-v-1ee57095]{flex-direction:column}.segmented.is-disabled[data-v-1ee57095]{opacity:.6;cursor:not-allowed}.segmented__indicator[data-v-1ee57095]{position:absolute;top:var(--segmented-padding);left:var(--segmented-padding);border-radius:var(--segmented-item-border-radius);background:var(--segmented-selected-bg);box-shadow:var(--segmented-selected-shadow);transition:transform .25s cubic-bezier(.4,0,.2,1),width .25s cubic-bezier(.4,0,.2,1),height .25s cubic-bezier(.4,0,.2,1);pointer-events:none;z-index:1}.segmented__item[data-v-1ee57095]{position:relative;display:inline-flex;align-items:center;height:var(--segmented-item-height);min-width:var(--segmented-item-min-width);padding:0 var(--segmented-item-padding-x);font-size:var(--segmented-font-size);color:var(--segmented-color);border-radius:var(--segmented-item-border-radius);cursor:pointer;transition:color .25s cubic-bezier(.4,0,.2,1);white-space:nowrap;z-index:2}.segmented__item[data-v-1ee57095]:hover:not(.is-disabled):not(.is-selected){color:var(--segmented-selected-color)}.segmented__item.is-selected[data-v-1ee57095]{color:var(--segmented-selected-color)}.segmented__item.is-disabled[data-v-1ee57095]{opacity:.4;cursor:not-allowed}.segmented__input[data-v-1ee57095]{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.segmented__label[data-v-1ee57095]{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:100%}.segmented--large[data-v-1ee57095]{--segmented-font-size: 16px;--segmented-item-height: 40px;--segmented-item-min-width: 48px;--segmented-item-padding-x: 16px;--segmented-border-radius: 8px;--segmented-item-border-radius: 6px;--segmented-padding: 4px}.segmented--small[data-v-1ee57095]{--segmented-font-size: 12px;--segmented-item-height: 24px;--segmented-item-min-width: 32px;--segmented-item-padding-x: 8px;--segmented-border-radius: 4px;--segmented-item-border-radius: 3px;--segmented-padding: 2px}.ec-outer[data-v-5cf301e4]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ec-outer--dark[data-v-5cf301e4]{background-color:#0d1117}.ec-outer--light[data-v-5cf301e4]{background-color:#f5f7fa}.ec-inner[data-v-5cf301e4]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.ec-inner--dark[data-v-5cf301e4]{background-color:#21262d}.ec-inner--light[data-v-5cf301e4]{background-color:#fff}.ec-icon[data-v-5cf301e4]{font-size:3rem;line-height:1;margin-bottom:1rem}.ec-title[data-v-5cf301e4]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.ec-title--dark[data-v-5cf301e4]{color:#ff6b6b}.ec-title--light[data-v-5cf301e4]{color:#ff4d4f}.ec-list[data-v-5cf301e4]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.ec-item[data-v-5cf301e4]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.ec-item--dark[data-v-5cf301e4]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.ec-item--light[data-v-5cf301e4]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.ec-actions[data-v-5cf301e4]{display:flex;justify-content:center;gap:.75rem}.wc-outer[data-v-cce09743]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.wc-outer--dark[data-v-cce09743]{background-color:#0d1117}.wc-outer--light[data-v-cce09743]{background-color:#f5f7fa}.wc-inner[data-v-cce09743]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.wc-inner--dark[data-v-cce09743]{background-color:#21262d}.wc-inner--light[data-v-cce09743]{background-color:#fff}.wc-icon[data-v-cce09743]{font-size:3rem;line-height:1;margin-bottom:1rem}.wc-title[data-v-cce09743]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.wc-title--dark[data-v-cce09743]{color:#d29922}.wc-title--light[data-v-cce09743]{color:#b8860b}.wc-list[data-v-cce09743]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.wc-item[data-v-cce09743]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.wc-item--dark[data-v-cce09743]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.wc-item--light[data-v-cce09743]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.wc-actions[data-v-cce09743]{display:flex;justify-content:center;gap:.75rem}.card[data-v-36db9d87]{--card-bg: #fff;--card-border-color: #e4e7ed;--card-color: #303133;--card-shadow-color: rgba(0, 0, 0, .1);border-radius:4px;border:1px solid var(--card-border-color);background-color:var(--card-bg);color:var(--card-color);overflow:hidden;transition:box-shadow .3s ease}html.dark .card[data-v-36db9d87]{--card-bg: #1d1e1f;--card-border-color: #30363d;--card-color: #c9d1d9;--card-shadow-color: rgba(0, 0, 0, .4)}.card.is-never-shadow[data-v-36db9d87],.card.is-hover-shadow[data-v-36db9d87]{box-shadow:none}.card.is-hover-shadow[data-v-36db9d87]:hover,.card.is-always-shadow[data-v-36db9d87]{box-shadow:0 2px 12px 0 var(--card-shadow-color)}.card__header[data-v-36db9d87]{padding:12px 20px;border-bottom:1px solid var(--card-border-color);font-size:16px;font-weight:500;box-sizing:border-box}.card__body[data-v-36db9d87]{padding:20px;box-sizing:border-box}.card__footer[data-v-36db9d87]{padding:12px 20px;border-top:1px solid var(--card-border-color);box-sizing:border-box}.carousel[data-v-44ca82d0]{position:relative;overflow:hidden}.carousel--horizontal[data-v-44ca82d0]{width:100%}.carousel--vertical[data-v-44ca82d0]{height:100%}.carousel__viewport[data-v-44ca82d0]{width:100%;height:100%;overflow:hidden;position:relative}.carousel__viewport--card[data-v-44ca82d0]{display:flex;align-items:center;justify-content:center}.carousel__track[data-v-44ca82d0]{display:flex;width:100%;height:100%;transition:transform .4s ease}.carousel__track--card[data-v-44ca82d0]{position:relative;width:100%;height:100%;display:block;transition:none}.carousel__track--animating[data-v-44ca82d0]{transition:transform .4s ease}.carousel__track--motion-blur[data-v-44ca82d0]{filter:blur(2px);transition:transform .4s ease,filter .4s ease}.carousel__arrow[data-v-44ca82d0]{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:none;border-radius:50%;background-color:#fffc;color:#333;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #0000001a;opacity:0;transition:opacity .3s ease,background-color .3s ease;z-index:10}.carousel__arrow[data-v-44ca82d0]:hover{background-color:#fff}.carousel__arrow--always[data-v-44ca82d0]{opacity:1}.carousel__arrow--left[data-v-44ca82d0]{left:16px}.carousel__arrow--right[data-v-44ca82d0]{right:16px}.carousel:hover .carousel__arrow[data-v-44ca82d0]{opacity:1}.carousel__arrow-icon[data-v-44ca82d0]{display:inline-block;width:8px;height:8px;border-style:solid;border-color:#333;border-width:0 2px 2px 0}.carousel__arrow-icon--left[data-v-44ca82d0]{transform:rotate(135deg);margin-left:2px}.carousel__arrow-icon--right[data-v-44ca82d0]{transform:rotate(-45deg);margin-right:2px}.carousel__indicators[data-v-44ca82d0]{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;gap:8px;align-items:center;list-style:none;margin:0;padding:6px 12px;z-index:10;background-color:#0006;border-radius:20px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.carousel__indicators--vertical[data-v-44ca82d0]{inset:50% 12px auto auto;transform:translateY(-50%);flex-direction:column}.carousel__indicator[data-v-44ca82d0]{width:8px;height:8px;border-radius:50%;background-color:#fff6;cursor:pointer;transition:background-color .3s ease,transform .3s ease;position:relative}.carousel__indicator span[data-v-44ca82d0]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.carousel__indicator--active[data-v-44ca82d0]{background-color:#fff;transform:scale(1.25)}.carousel-item[data-v-6046a978]{flex-shrink:0;width:100%;height:100%;overflow:hidden;transition:transform .4s ease,opacity .4s ease}.carousel-item--card[data-v-6046a978]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.carousel-item--card.carousel-item--active[data-v-6046a978]{cursor:default}.async-comp-wrapper[data-v-d88466a0],.async-comp-container[data-v-d88466a0]{width:100%;height:100%;position:relative}.async-comp-container.async-comp-overflow-auto[data-v-d88466a0]{overflow:auto}.async-comp-container.async-comp-overflow-hidden[data-v-d88466a0]{overflow:hidden}.async-comp-error[data-v-d88466a0]{position:absolute;inset:0}.screenshot-fallback[data-v-d88466a0]{overflow:hidden}.screenshot-toggle[data-v-d88466a0]{position:absolute;top:8px;right:8px;display:flex;gap:4px;z-index:2}.toggle-btn[data-v-d88466a0]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;cursor:pointer;transition:background .2s,color .2s;font-size:18px}.toggle-btn[data-v-d88466a0]:hover{background:#000000a6;color:#ffffffe6}html.dark .toggle-btn[data-v-d88466a0]:hover{background:#ffffff1f;color:#ffffffe6}.toggle-btn.active[data-v-d88466a0]{background:#000000b3;color:#ffffffe6}html.dark .toggle-btn.active[data-v-d88466a0]{background:#ffffff26}.toggle-btn.error[data-v-d88466a0]{color:#e74c3c}html.dark .toggle-btn.error[data-v-d88466a0]{color:#f87171}.toggle-btn.warn[data-v-d88466a0]{color:#f59e0b}html.dark .toggle-btn.warn[data-v-d88466a0]{color:#fbbf24}.screenshot-img[data-v-d88466a0]{width:100%;height:100%;object-fit:contain;display:block}[data-v-dbb4f146] .carousel__viewport{height:100%}.comp-mini-carousel[data-v-dbb4f146],.comp-mini-carousel-item[data-v-dbb4f146]{width:100%;height:100%}.comp-mini-carousel-slide[data-v-dbb4f146]{width:100%;height:100%;border-bottom-left-radius:.125rem;border-bottom-right-radius:.125rem}.panel-mini-wrapper[data-v-be9162a6]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.panel-mini-card[data-v-be9162a6]{height:100%;max-height:250px;width:340px}[data-v-be9162a6] .panel-mini-card-body{padding:0!important;overflow:hidden!important;width:100%!important;height:100%!important}.panel-full-card[data-v-df175804]{flex:1;overflow:hidden;width:100%;height:100%}[data-v-df175804] .panel-full-card-body{padding:0!important;overflow:hidden!important;width:100%!important;height:100%!important}.edit-panel[data-v-ac7bd25f]{width:100%;height:100%;background-color:#fff}html.dark .edit-panel[data-v-ac7bd25f]{background-color:#141414}.edit-panel__carousel[data-v-ac7bd25f]{width:100%;height:100%}.edit-panel__content[data-v-ac7bd25f]{width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;padding:4px}.edit-panel__tools[data-v-ac7bd25f]{display:flex;width:100%;justify-content:center;gap:10px;align-items:center;margin-bottom:2px}.edit-panel__refresh-btn[data-v-ac7bd25f]{cursor:pointer}*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;overflow:hidden}#app{height:100%;overflow:hidden}.avatar[data-v-d80295f9]{--avatar-bg: #c0c4cc;--avatar-color: #fff;--avatar-border-color: #dcdfe6;display:inline-flex;align-items:center;justify-content:center;background-color:var(--avatar-bg);color:var(--avatar-color);overflow:hidden;vertical-align:middle;flex-shrink:0;box-sizing:border-box}html.dark .avatar[data-v-d80295f9]{--avatar-bg: #4a4a4a;--avatar-color: #e0e0e0;--avatar-border-color: #505050}.avatar--circle[data-v-d80295f9]{border-radius:50%}.avatar--square[data-v-d80295f9]{border-radius:4px}.avatar__img[data-v-d80295f9]{width:100%;height:100%;display:block}.avatar__icon[data-v-d80295f9]{width:50%;height:50%}.avatar__text[data-v-d80295f9]{line-height:1;white-space:nowrap;-webkit-user-select:none;user-select:none}.loading-wrapper[data-v-3f3f25a9]{display:flex;align-items:center;justify-content:center;min-height:120px}.loading-inline[data-v-3f3f25a9]{min-height:unset;padding:40px 0}.loading-text[data-v-3f3f25a9]{font-size:13px;color:#909399}.loading-dots[data-v-3f3f25a9]{display:inline}.loading-dot[data-v-3f3f25a9]{display:inline-block;opacity:0;animation:dot-blink-3f3f25a9 1.2s infinite}@keyframes dot-blink-3f3f25a9{0%,40%{opacity:0}50%,90%{opacity:1}to{opacity:0}}.hl[data-v-6244b909]{background:#ffe600;padding:0 2px;border-radius:2px}[data-v-2e76db44] .el-avatar--circle{border:1px solid #857e7e;padding:0!important}.dot[data-v-2fc884b4]:after{content:"";position:absolute;top:0%;right:0%;transform:translate(var(--offsetX),var(--offsetY));width:7px;height:7px;border-radius:50%;background-color:#f5222d;border:1px solid #fff}.grid-container[data-v-b3cdeaeb]{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--v4923d4d0),1fr));gap:var(--cec7ae86)}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.list-leave-active{position:absolute;width:var(--v4923d4d0)}.list-leave-none{display:none}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .3s ease}.transition-fade-enter-from{opacity:0;transform:translate(-30px)}.transition-fade-leave-to{opacity:0;transform:translate(30px)}.is-collected[data-v-3b3bc11e]{color:#facc15}.segmented[data-v-ce5b54d1]{--segmented-bg: #f0f0f0;--segmented-selected-bg: #409eff;--segmented-selected-shadow: none;--segmented-color: #a6a6a6;--segmented-selected-color: #ffffff;--segmented-padding: 1px;--segmented-font-size: 14px;--segmented-border-radius: 6px;--segmented-item-border-radius: 4px;--segmented-item-height: 32px;--segmented-item-min-width: 40px;--segmented-item-padding-x: 12px;display:inline-flex;position:relative;background:var(--segmented-bg);border-radius:var(--segmented-border-radius);padding:var(--segmented-padding);user-select:none;-webkit-user-select:none}html.dark .segmented[data-v-ce5b54d1]{--segmented-bg: #1e1e1e}.segmented--block[data-v-ce5b54d1]{display:flex;width:100%}.segmented--block .segmented__item[data-v-ce5b54d1]{flex:1;justify-content:center}.segmented--vertical[data-v-ce5b54d1]{flex-direction:column}.segmented.is-disabled[data-v-ce5b54d1]{opacity:.6;cursor:not-allowed}.segmented__indicator[data-v-ce5b54d1]{position:absolute;top:var(--segmented-padding);left:var(--segmented-padding);border-radius:var(--segmented-item-border-radius);background:var(--segmented-selected-bg);box-shadow:var(--segmented-selected-shadow);transition:transform .25s cubic-bezier(.4,0,.2,1),width .25s cubic-bezier(.4,0,.2,1),height .25s cubic-bezier(.4,0,.2,1);pointer-events:none;z-index:1}.segmented__item[data-v-ce5b54d1]{position:relative;display:inline-flex;align-items:center;height:var(--segmented-item-height);min-width:var(--segmented-item-min-width);padding:0 var(--segmented-item-padding-x);font-size:var(--segmented-font-size);color:var(--segmented-color);border-radius:var(--segmented-item-border-radius);cursor:pointer;transition:color .25s cubic-bezier(.4,0,.2,1);white-space:nowrap;z-index:2}.segmented__item[data-v-ce5b54d1]:hover:not(.is-disabled):not(.is-selected){color:var(--segmented-selected-color)}.segmented__item.is-selected[data-v-ce5b54d1]{color:var(--segmented-selected-color)}.segmented__item.is-disabled[data-v-ce5b54d1]{opacity:.4;cursor:not-allowed}.segmented__input[data-v-ce5b54d1]{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.segmented__label[data-v-ce5b54d1]{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:100%}.segmented--large[data-v-ce5b54d1]{--segmented-font-size: 16px;--segmented-item-height: 40px;--segmented-item-min-width: 48px;--segmented-item-padding-x: 16px;--segmented-border-radius: 8px;--segmented-item-border-radius: 6px;--segmented-padding: 4px}.segmented--small[data-v-ce5b54d1]{--segmented-font-size: 12px;--segmented-item-height: 24px;--segmented-item-min-width: 32px;--segmented-item-padding-x: 8px;--segmented-border-radius: 4px;--segmented-item-border-radius: 3px;--segmented-padding: 2px}.ec-outer[data-v-d9cb03ff]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ec-outer--dark[data-v-d9cb03ff]{background-color:#0d1117}.ec-outer--light[data-v-d9cb03ff]{background-color:#f5f7fa}.ec-inner[data-v-d9cb03ff]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.ec-inner--dark[data-v-d9cb03ff]{background-color:#21262d}.ec-inner--light[data-v-d9cb03ff]{background-color:#fff}.ec-icon[data-v-d9cb03ff]{font-size:3rem;line-height:1;margin-bottom:1rem}.ec-title[data-v-d9cb03ff]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.ec-title--dark[data-v-d9cb03ff]{color:#ff6b6b}.ec-title--light[data-v-d9cb03ff]{color:#ff4d4f}.ec-list[data-v-d9cb03ff]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.ec-item[data-v-d9cb03ff]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.ec-item--dark[data-v-d9cb03ff]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.ec-item--light[data-v-d9cb03ff]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.ec-actions[data-v-d9cb03ff]{display:flex;justify-content:center;gap:.75rem}.wc-outer[data-v-67ce764e]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.wc-outer--dark[data-v-67ce764e]{background-color:#0d1117}.wc-outer--light[data-v-67ce764e]{background-color:#f5f7fa}.wc-inner[data-v-67ce764e]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.wc-inner--dark[data-v-67ce764e]{background-color:#21262d}.wc-inner--light[data-v-67ce764e]{background-color:#fff}.wc-icon[data-v-67ce764e]{font-size:3rem;line-height:1;margin-bottom:1rem}.wc-title[data-v-67ce764e]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.wc-title--dark[data-v-67ce764e]{color:#d29922}.wc-title--light[data-v-67ce764e]{color:#b8860b}.wc-list[data-v-67ce764e]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.wc-item[data-v-67ce764e]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.wc-item--dark[data-v-67ce764e]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.wc-item--light[data-v-67ce764e]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.wc-actions[data-v-67ce764e]{display:flex;justify-content:center;gap:.75rem}.enk28pe8k{fill:currentColor;d:path("M11.288 4.713Q11 4.425 11 4V2q0-.425.288-.712T12 1t.713.288T13 2v2q0 .425-.288.713T12 5t-.712-.288M16.95 7.05q-.275-.275-.275-.687t.275-.713l1.4-1.425q.3-.3.712-.3t.713.3q.275.275.275.7t-.275.7L18.35 7.05q-.275.275-.7.275t-.7-.275M20 13q-.425 0-.713-.288T19 12t.288-.712T20 11h2q.425 0 .713.288T23 12t-.288.713T22 13zm-8.712 9.713Q11 22.425 11 22v-2q0-.425.288-.712T12 19t.713.288T13 20v2q0 .425-.288.713T12 23t-.712-.288M5.65 7.05l-1.425-1.4q-.3-.3-.3-.725t.3-.7q.275-.275.7-.275t.7.275L7.05 5.65q.275.275.275.7t-.275.7q-.3.275-.7.275t-.7-.275m12.7 12.725l-1.4-1.425q-.275-.3-.275-.712t.275-.688t.688-.275t.712.275l1.425 1.4q.3.275.288.7t-.288.725q-.3.3-.725.3t-.7-.3M2 13q-.425 0-.712-.288T1 12t.288-.712T2 11h2q.425 0 .713.288T5 12t-.288.713T4 13zm2.225 6.775q-.275-.275-.275-.7t.275-.7L5.65 16.95q.275-.275.687-.275t.713.275q.3.3.3.713t-.3.712l-1.4 1.4q-.3.3-.725.3t-.7-.3M7.75 16.25Q6 14.5 6 12t1.75-4.25T12 6t4.25 1.75T18 12t-1.75 4.25T12 18t-4.25-1.75")}.o17qx8_el{fill:currentColor;d:path("M12.075 22q-2.1 0-3.937-.8t-3.2-2.162t-2.163-3.2t-.8-3.938q0-3.1 1.713-5.625t4.587-3.7q.35-.125.725-.088t.625.238q.2.175.313.488t.112.812q.05 1.975.8 3.763T13 10.975t3.2 2.15t3.775.8q.525 0 .8.088t.45.287q.2.25.263.65t-.063.725q-1.15 2.875-3.7 4.6T12.075 22M14.3 7.3l-1.6-1.6q-.3-.3-.3-.7t.3-.7l1.6-1.6q.3-.3.7-.3t.7.3l1.6 1.6q.3.3.3.7t-.3.7l-1.6 1.6q-.3.3-.7.3t-.7-.3m5 3l-.6-.6q-.3-.3-.3-.7t.3-.7l.6-.6q.3-.3.7-.3t.7.3l.6.6q.3.3.3.7t-.3.7l-.6.6q-.3.3-.7.3t-.7-.3")}.card[data-v-851bc55e]{--card-bg: #fff;--card-border-color: #e4e7ed;--card-color: #303133;--card-shadow-color: rgba(0, 0, 0, .1);border-radius:4px;border:1px solid var(--card-border-color);background-color:var(--card-bg);color:var(--card-color);overflow:hidden;transition:box-shadow .3s ease}html.dark .card[data-v-851bc55e]{--card-bg: #1d1e1f;--card-border-color: #30363d;--card-color: #c9d1d9;--card-shadow-color: rgba(0, 0, 0, .4)}.card.is-never-shadow[data-v-851bc55e],.card.is-hover-shadow[data-v-851bc55e]{box-shadow:none}.card.is-hover-shadow[data-v-851bc55e]:hover,.card.is-always-shadow[data-v-851bc55e]{box-shadow:0 2px 12px 0 var(--card-shadow-color)}.card__header[data-v-851bc55e]{padding:12px 20px;border-bottom:1px solid var(--card-border-color);font-size:16px;font-weight:500;box-sizing:border-box}.card__body[data-v-851bc55e]{padding:20px;box-sizing:border-box}.card__footer[data-v-851bc55e]{padding:12px 20px;border-top:1px solid var(--card-border-color);box-sizing:border-box}.ch-button[data-v-39cce859]{border-width:1px;border-style:solid;color:var(--ch-btn-color);background-color:var(--ch-btn-bg);border-color:var(--ch-btn-border)}.ch-button[data-v-39cce859]:hover:not(.opacity-50){color:var(--ch-btn-hover-color, var(--ch-btn-color));background-color:var(--ch-btn-hover-bg, var(--ch-btn-bg));border-color:var(--ch-btn-hover-border, var(--ch-btn-border))}.pane-card[data-v-07f23bc7] .pane-body{padding:0!important;display:flex;flex-direction:column;overflow:hidden;flex:1}.pane-card[data-v-07f23bc7] .pane-header{padding:0!important}.pane-maximized[data-v-07f23bc7]{position:fixed;inset:0;z-index:50}[data-v-533323fa] .el-pagination{justify-content:var(--pagination-location)}[data-v-bf03d76c] .not-matched{opacity:.6}[data-v-bf03d76c] .not-matched .el-tag__content{text-decoration:line-through}.diff-code-loading[data-v-36c3a563]{position:absolute;top:80px;left:50%;transform:translate(-50%)}[data-v-36c3a563] .highlight-file{animation:highlight-pulse-36c3a563 .5s ease;animation-iteration-count:3}@keyframes highlight-pulse-36c3a563{0%,to{box-shadow:none}50%{box-shadow:0 0 0 3px var(--el-color-primary-light-5)}}.d2h-file-wrapper{scroll-margin-top:20px}.no-diff{text-align:center;padding:20px;color:#999}.card-no-padding[data-v-9af49f91] .el-card__body{padding:0;overflow:hidden}.diff-container{display:flex;flex-direction:column;overflow:hidden}.diff-container .el-dialog__body{flex:1;overflow:hidden}.carousel[data-v-8bba41e4]{position:relative;overflow:hidden}.carousel--horizontal[data-v-8bba41e4]{width:100%}.carousel--vertical[data-v-8bba41e4]{height:100%}.carousel__viewport[data-v-8bba41e4]{width:100%;height:100%;overflow:hidden;position:relative}.carousel__viewport--card[data-v-8bba41e4]{display:flex;align-items:center;justify-content:center}.carousel__track[data-v-8bba41e4]{display:flex;width:100%;height:100%;transition:transform .4s ease}.carousel__track--card[data-v-8bba41e4]{position:relative;width:100%;height:100%;display:block;transition:none}.carousel__track--animating[data-v-8bba41e4]{transition:transform .4s ease}.carousel__track--motion-blur[data-v-8bba41e4]{filter:blur(2px);transition:transform .4s ease,filter .4s ease}.carousel__arrow[data-v-8bba41e4]{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:none;border-radius:50%;background-color:#fffc;color:#333;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #0000001a;opacity:0;transition:opacity .3s ease,background-color .3s ease;z-index:10}.carousel__arrow[data-v-8bba41e4]:hover{background-color:#fff}.carousel__arrow--always[data-v-8bba41e4]{opacity:1}.carousel__arrow--left[data-v-8bba41e4]{left:16px}.carousel__arrow--right[data-v-8bba41e4]{right:16px}.carousel:hover .carousel__arrow[data-v-8bba41e4]{opacity:1}.carousel__arrow-icon[data-v-8bba41e4]{display:inline-block;width:8px;height:8px;border-style:solid;border-color:#333;border-width:0 2px 2px 0}.carousel__arrow-icon--left[data-v-8bba41e4]{transform:rotate(135deg);margin-left:2px}.carousel__arrow-icon--right[data-v-8bba41e4]{transform:rotate(-45deg);margin-right:2px}.carousel__indicators[data-v-8bba41e4]{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;gap:8px;align-items:center;list-style:none;margin:0;padding:6px 12px;z-index:10;background-color:#0006;border-radius:20px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.carousel__indicators--vertical[data-v-8bba41e4]{inset:50% 12px auto auto;transform:translateY(-50%);flex-direction:column}.carousel__indicator[data-v-8bba41e4]{width:8px;height:8px;border-radius:50%;background-color:#fff6;cursor:pointer;transition:background-color .3s ease,transform .3s ease;position:relative}.carousel__indicator span[data-v-8bba41e4]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.carousel__indicator--active[data-v-8bba41e4]{background-color:#fff;transform:scale(1.25)}.carousel-item[data-v-eb5fc1cc]{flex-shrink:0;width:100%;height:100%;overflow:hidden;transition:transform .4s ease,opacity .4s ease}.carousel-item--card[data-v-eb5fc1cc]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.carousel-item--card.carousel-item--active[data-v-eb5fc1cc]{cursor:default}.text-container[data-v-3179173f]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--v26a8013a);overflow:hidden}.text-single[data-v-3179173f]{visibility:hidden;position:absolute;white-space:nowrap;width:1px}.vue-recycle-scroller__resize-observer[data-v-08cc04ab]{position:absolute;inset:0;opacity:0;pointer-events:none;z-index:-1}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.grid-mode:not(.page-mode){overflow:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:auto 0 0}.vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}[data-v-d5db7ad9] .el-radio__input.is-checked+.el-radio__label span:first-child{box-shadow:0 0 8px currentColor}.cdj_y1r7t{fill:currentColor;d:path("M5 11q-.825 0-1.412-.587T3 9V5q0-.825.588-1.412T5 3h4q.825 0 1.413.588T11 5v4q0 .825-.587 1.413T9 11zm0 10q-.825 0-1.412-.587T3 19v-4q0-.825.588-1.412T5 13h4q.825 0 1.413.588T11 15v4q0 .825-.587 1.413T9 21zm10-10q-.825 0-1.412-.587T13 9V5q0-.825.588-1.412T15 3h4q.825 0 1.413.588T21 5v4q0 .825-.587 1.413T19 11zm0 10q-.825 0-1.412-.587T13 19v-4q0-.825.588-1.412T15 13h4q.825 0 1.413.588T21 15v4q0 .825-.587 1.413T19 21z")}.u2_fvl-wz{fill:currentColor;d:path("M9 20h11q.825 0 1.413-.587T22 18v-2H9zM2 8h5V4H4q-.825 0-1.412.588T2 6zm0 6h5v-4H2zm2 6h3v-4H2v2q0 .825.588 1.413T4 20m5-6h13v-4H9zm0-6h13V6q0-.825-.587-1.412T20 4H9z")}div.default-theme a[target=_blank]:after{content:"";display:inline-block;width:16px;height:16px;margin-inline-start:2px;background-color:currentColor;-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}div.mk-cute-theme h1:before,div.mk-cute-theme h2:before,div.mk-cute-theme h3:before,div.mk-cute-theme h4:before,div.mk-cute-theme h5:before,div.mk-cute-theme h6:before{content:"";display:block;position:absolute;inset-inline-start:0;inset-block-start:0;inset-block-end:0;margin:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAF8UlEQVRIS71Wa2wUVRT+7r0zu9t2t/RBaSioPCpYbIUfaEIQUogSAwZDAlUSGwgg/CBATExMCJH1D2hIfOEjFEUEhViCgBgIUCH44OkjPAMGBVqhpUCfW3Zn5z7MuQOE0hYxMdxJdmd25s53vnO+851leMCLPWA8/CfA2TsvL8n7q+nTFfNLG+4VqInHOeJLDQMzdz/3r4DGGDb9lxu+aPcE7U61JHDMDePcuv0O21ShugOefqDdtBie3Dk6K/O+Ab+qOjJiz7Ahv6c8hbDDwRiQlgYGDOcaWyEcjg8On+j71IpJndjGt9XO+jM7+pkywNvbazIfercieSdoJ4bE5sWjyZqMpDdeaQNXMNC34ME3LV8B56+1w3AOgk+EXe/Ub6uiLB6XdH/G/mYjeBCcFwnt3zQqWt4t4NjjnhzQ1CGkBhwOCMFAB71U0qsYgRlwBtQ1tiEJAy44OBdQUmFK3aWS06NLT+ukZAQoKCCjsfbDmk6p78RwX3ncWffmIj8U4kh6GpEwh+9rGy23LDU4GBrrm9DsuDYIGMAYIC/EUNQ7Cq1hn+WM2TI8f+jEyCmvjfn1FssuojHx6tDkyZOaCzr8TNpASzDAk8amlRIrEylcSGsYrcGIstIYWhgDDIM2BiGH3ywFkGAC1U9n38bpVqWGdk6r4HMWrZZaG1D5KLn0qYyBEAKnG1otAxLR8L7Z9nfP13CJHQ/ST4vK8sVHe8JsU0U6uO5hlexo8PI7vNDQomwoBRAwpSmtgJAAztS3QLsOsmBQlBtFJMQhlbbPUBBUR7o2hqHVddLbRsfCPQJ+u3TPw8uGl1yklAlHIJZKo3//XEhlLCtifPFyM7xwCI/lZ8IKTTBbS7pPLIggZZsSQ+zXbT4UYSsnet3UMM5HPT5LGbrDGYQroClyT2Jwnyj9aN949e8mDCwuRFoqKxRHUJ21BSDRELuQYGhvbMVV32Dp2RuxcfHSRBfAYTsbU9nJdFj5EiLkglHkRInC1xoxKbH9hQJIaTDvxxTCUddWl4wg0dCCtqSPDmoVx4Eitpxh64ZtsT6b5ie6pPRkfF90TllxOzEwmipMKRRgHODGgCuJkqIcvDdC2BZ5Y+tlHHMzkAKghbAxcQqQDiKrFBxhqg5MHTivS1tQ+sdsvaQl5Yd6yfdRXNQLsQwXnq/AQFLXEIIjzBSuNaaR0SuEtkQKl9IKjAsbJaWfzo1USDsM6zceDJfeVGgnhhN2N7YOyo5kJz1pa2AbgfrO1gRwXW6vSRQNtddR+EhvKGmseskgTtY2Q7kucYWWgToPHzyUyXry0iXfnBtfl5f/PaWPvPNW/zkOAQegJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 0s infinite}.md-editor-checkbox{cursor:pointer;width:12px;height:12px;border:1px solid var(--md-border-color);background-color:var(--md-bk-color-outstand);border-radius:2px;line-height:1;text-align:center}.md-editor-checkbox:after{content:"";font-weight:700}.md-editor-checkbox-checked:after{content:"✓"}.md-editor-divider{position:relative;display:inline-block;width:1px;inset-block-start:.1em;height:.9em;margin-block:0;margin-inline:8px;background-color:var(--md-border-color)}.md-editor-dropdown{overflow:hidden;box-sizing:border-box;position:absolute;transition:all .3s;opacity:1;z-index:20000;background-color:var(--md-bk-color)}.md-editor-dropdown-hidden{opacity:0;visibility:hidden}.md-editor-dropdown-overlay{margin-block-start:6px}.md-editor-modal-mask{position:fixed;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inset-inline-start:0;z-index:20000;height:100%;background-color:var(--md-modal-mask)}.md-editor-modal{display:block;background-color:var(--md-bk-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;border-radius:3px;border:1px solid var(--md-border-color);position:fixed;z-index:20001;box-shadow:var(--md-modal-shadow)}.md-editor-modal-header{cursor:grab;display:flex;justify-content:space-between;padding-block:10px;padding-inline:24px;color:var(--md-color);font-weight:600;font-size:16px;line-height:22px;word-wrap:break-word;-webkit-user-select:none;user-select:none;border-block-end:1px solid var(--md-border-color);position:relative}.md-editor-modal-body{padding-block:20px;padding-inline:20px;font-size:14px;word-wrap:break-word;height:calc(100% - 43px);box-sizing:border-box}.md-editor-modal .md-editor-modal-func{position:absolute;inset-block-start:10px;inset-inline-end:10px}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust,.md-editor-modal .md-editor-modal-func .md-editor-modal-close{cursor:pointer;width:24px;height:24px;line-height:24px;text-align:center;display:inline-block}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust{padding-inline-end:10px}.animation{animation-duration:.15s;animation-fill-mode:forwards}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoom-in{animation-name:zoomIn;animation-duration:.15s;animation-fill-mode:forwards}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.zoom-out{animation-name:zoomOut;animation-duration:.15s;animation-fill-mode:forwards}.md-editor-custom-scrollbar{position:relative;overflow:hidden;height:100%}.md-editor-custom-scrollbar__track{position:absolute;inset-block-start:0;inset-inline-end:0;width:6px;height:100%;background:var(--md-scrollbar-bg-color)}.md-editor-custom-scrollbar__thumb{position:absolute;width:6px;background:var(--md-scrollbar-thumb-color);border-radius:4px;cursor:pointer;transition:background .2s}.md-editor-custom-scrollbar__thumb:hover{background:var(--md-scrollbar-thumb-hover-color)}.md-editor-content{direction:ltr;position:relative;display:flex;flex:1;height:0;flex-shrink:0}.md-editor-content-wrapper{display:flex;flex:1;width:0;position:relative}.md-editor-resize-operate{position:absolute;width:2px;height:100%;background-color:var(--md-bk-color);z-index:1;cursor:col-resize}.md-editor-input-wrapper{height:100%;box-sizing:border-box}.md-editor-preview-wrapper{position:relative;height:100%;box-sizing:border-box;overflow:auto;scrollbar-width:none}[dir=rtl] .md-editor-preview-wrapper{direction:rtl}.md-editor-preview-wrapper::-webkit-scrollbar{display:none}.md-editor-html{font-size:16px;word-break:break-all}.md-editor-catalog-editor{position:relative;overflow-x:hidden;overflow-y:auto;height:100%;background-color:var(--md-bk-color);border-inline-start:1px solid var(--md-border-color);width:200px;box-sizing:border-box;margin-block:0;margin-inline:0;padding-block:5px;padding-inline:10px;font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";scrollbar-width:none}.md-editor-catalog-editor::-webkit-scrollbar{display:none}.md-editor-catalog-fixed{position:absolute;inset-block-start:0;inset-inline-end:0;z-index:10002}.md-editor-catalog-flat{position:initial;flex-shrink:0}.md-editor-footer{height:24px;flex-shrink:0;font-size:12px;color:var(--md-color);border-block-start:1px solid var(--md-border-color);display:flex;justify-content:space-between}.md-editor-footer-item{display:inline-flex;align-items:center;height:100%;padding-block:0;padding-inline:10px}.md-editor-footer-item+.md-editor-footer-item{padding-inline-start:0}.md-editor-footer-label{padding-inline-end:5px;line-height:1}.md-editor-clip{position:relative;display:flex;height:calc(100% - 52px)}.md-editor-clip-main,.md-editor-clip-preview{width:50%;height:100%;border:1px solid var(--md-border-color)}.md-editor-clip-main{margin-inline-end:1em}.md-editor-clip-main .md-editor-clip-cropper{position:relative;width:100%;height:100%}.md-editor-clip-main .md-editor-clip-cropper .md-editor-clip-delete{position:absolute;inset-block-start:0;inset-inline-end:0;font-size:0;background-color:var(--md-bk-color-outstand);border-end-start-radius:4px;color:var(--md-color);cursor:pointer}.md-editor-clip-main .md-editor-clip-upload{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:pointer}.md-editor-clip-main .md-editor-clip-upload .md-editor-icon,.md-editor-clip-main .md-editor-clip-upload .md-editor-iconfont{width:auto;height:40px;font-size:40px}.md-editor-clip-preview-target{width:100%;height:100%;overflow:hidden}.md-editor-form-item{margin-block-end:20px;text-align:center}.md-editor-form-item:last-of-type{margin-block-end:0}.md-editor-label{font-size:14px;color:var(--md-color);width:80px;text-align:center;display:inline-block}.md-editor-input{border-radius:4px;padding-block:4px;padding-inline:11px;color:var(--md-color);font-size:14px;line-height:1.5715;background-color:var(--md-bk-color);background-image:none;border:1px solid var(--md-border-color);transition:all .2s}.md-editor-input:focus,.md-editor-input:hover{border-color:var(--md-border-hover-color);outline:0}.md-editor-input:focus{border-color:var(--md-border-active-color)}.md-editor-btn{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid var(--md-border-color);white-space:nowrap;-webkit-user-select:none;user-select:none;height:32px;padding-block:0;padding-inline:15px;font-size:14px;border-radius:4px;transition:all .2s linear;color:var(--md-color);background-color:var(--md-bk-color);border-color:var(--md-border-color);margin-inline-start:10px}.md-editor-btn:first-of-type{margin-inline-start:0}.md-editor-btn:hover{color:var(--md-hover-color);background-color:var(--md-bk-color);border-color:var(--md-border-hover-color)}.md-editor-btn-row{width:100%}@media(max-width:688px){.md-editor-modal-clip .md-editor-modal{max-width:calc(100% - 20px);max-height:calc(100% - 20px);margin-block:10px;margin-inline:10px;inset-inline-start:0!important}.md-editor-modal-clip .md-editor-clip{flex-direction:column}.md-editor-modal-clip .md-editor-clip-main,.md-editor-modal-clip .md-editor-clip-preview{width:100%;height:0;flex:1}.md-editor-modal-clip .md-editor-clip-main{margin-block-end:1em}}.md-editor-menu{margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;border-radius:3px;border:1px solid var(--md-border-color);background-color:inherit}.md-editor-menu-item{list-style:none;font-size:12px;color:var(--md-color);padding-block:4px;padding-inline:10px;cursor:pointer;line-height:16px}.md-editor-menu-item:first-of-type{padding-block-start:8px}.md-editor-menu-item:last-of-type{padding-block-end:8px}.md-editor-menu-item:hover{background-color:var(--md-bk-hover-color)}.md-editor-table-shape{padding-block:4px;padding-inline:4px;border-radius:3px;border:1px solid var(--md-border-color);display:flex;flex-direction:column}.md-editor-table-shape-row{display:flex}.md-editor-table-shape-col{padding-block:2px;padding-inline:2px;cursor:pointer}.md-editor-table-shape-col-default{width:16px;height:16px;background-color:#e0e0e0;border-radius:3px;transition:all .2s}.md-editor-table-shape-col-include{background-color:#aaa}.md-editor-toolbar-wrapper{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;flex-shrink:0;padding-block:4px;padding-inline:4px;border-block-end:1px solid var(--md-border-color)}.md-editor-toolbar-wrapper::-webkit-scrollbar{height:0!important}.md-editor-toolbar{display:flex;justify-content:space-between;align-items:center;box-sizing:content-box}.md-editor-toolbar-item{color:var(--md-color);display:flex;flex-direction:column;align-items:center;margin-block:0;margin-inline:2px;padding-block:0;padding-inline:2px;transition:all .3s;border-radius:3px;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none;text-align:center;border:none;background-color:transparent}.md-editor-toolbar-item-name{font-size:12px;word-break:keep-all;white-space:nowrap}.md-editor-toolbar-item:not([disabled]):hover{background-color:var(--md-bk-color-outstand)}.md-editor-toolbar-active{background-color:var(--md-bk-color-outstand)}.md-editor-toolbar-left,.md-editor-toolbar-right{padding-block:1px;padding-inline:0;display:flex;align-items:center}.md-editor .md-editor-stn .md-editor-toolbar-item{padding-block:0;padding-inline:6px}.md-editor-dark .md-editor-table-shape-col-default{background-color:#222}.md-editor-dark .md-editor-table-shape-col-include{background-color:#555}.md-editor-floating-toolbar{padding-block:4px;padding-inline:4px;display:flex;align-items:center}.md-editor-floating-toolbar-container{opacity:0;transition:opacity .12s ease-out;transition-delay:20ms;will-change:opacity}.md-editor-floating-toolbar-container[data-state=visible]{opacity:1}.md-editor-floating-toolbar-container .cm-tooltip-arrow{transition:opacity .12s ease-out;opacity:0}.md-editor-floating-toolbar-container[data-state=visible] .cm-tooltip-arrow{opacity:1}.md-editor .cm-editor{direction:ltr;font-size:14px;height:100%}.md-editor .cm-editor.cm-focused{outline:none}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete{border-radius:3px}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul{border-radius:3px;min-width:fit-content;max-width:fit-content}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul li{background-color:var(--md-bk-color);color:var(--md-color);padding-block:4px;padding-inline:10px;line-height:16px}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul li .cm-completionIcon{width:auto}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul li[aria-selected]{background-color:var(--md-bk-hover-color)}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete .cm-completionInfo{margin-block-start:-2px;margin-inline-start:3px;padding-block:4px;padding-inline:9px;border-radius:3px;overflow:hidden;background-color:var(--md-bk-hover-color);color:var(--md-color)}.md-editor .cm-scroller{scrollbar-width:none}.md-editor .cm-scroller::-webkit-scrollbar{display:none}.md-editor .cm-scroller .cm-content[contenteditable=true]{margin-block:10px;margin-inline:10px;min-height:calc(100% - 20px)}.md-editor .cm-scroller .cm-gutters+.cm-content[contenteditable=true]{margin-block:0;margin-inline:0;min-height:100%}.md-editor .cm-scroller .cm-line{line-height:inherit}.md-editor .ͼ1 .cm-scroller{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;line-height:20px}.md-editor .cm-search .cm-textfield{border-radius:4px;padding-block:4px;padding-inline:11px;color:var(--md-color);font-size:10px;background-image:none;border:1px solid var(--md-border-color);transition:all .2s}.md-editor .cm-search .cm-textfield:focus,.md-editor .cm-search .cm-textfield:hover{border-color:var(--md-border-hover-color);outline:0}.md-editor .cm-search .cm-textfield:focus{border-color:var(--md-border-active-color)}.md-editor .cm-search .cm-button{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid var(--md-border-color);white-space:nowrap;-webkit-user-select:none;user-select:none;height:20px;padding-block:0;padding-inline:15px;font-size:10px;border-radius:4px;transition:all .2s linear;color:var(--md-color);background-color:inherit;background-image:none;border-color:var(--md-border-color)}.md-editor .cm-search .cm-button:first-of-type{margin-inline-start:0}.md-editor .cm-search .cm-button:hover{color:var(--md-hover-color);background-color:inherit;border-color:var(--md-border-hover-color)}.md-editor .cm-search input[type=checkbox]{vertical-align:sub}.md-editor .cm-search input[type=checkbox]:after{display:block;content:"";font-weight:700;cursor:pointer;width:12px;height:12px;border:1px solid var(--md-border-color);background-color:var(--md-bk-color-outstand);border-radius:2px;line-height:1;text-align:center}.md-editor .cm-search input[type=checkbox]:checked:after{content:"✓";color:var(--md-color)}.md-editor .cm-search button[name=close]{color:inherit;cursor:pointer;inset-inline-end:6px}.md-editor-fullscreen{position:fixed!important;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inset-inline-start:0;width:auto!important;height:auto!important;z-index:10000}.md-editor-disabled{cursor:not-allowed!important;opacity:.6}.md-editor .md-editor-preview{--md-theme-color: var(--md-color);--md-theme-color-reverse: #eee;--md-theme-color-hover: #eee;--md-theme-color-hover-inset: #ddd;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #e6e6e6;--md-theme-border-color-reverse: #bebebe;--md-theme-border-color-inset: #d6d6d6;--md-theme-bg-color: #fff;--md-theme-bg-color-inset: #ececec;--md-theme-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #fff;--md-theme-code-active-color: #61aeee;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor-dark .md-editor-preview{--md-theme-color: var(--md-color);--md-theme-color-reverse: #222;--md-theme-color-hover: #191919;--md-theme-color-hover-inset: #444;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #2d2d2d;--md-theme-border-color-reverse: #e6e6e6;--md-theme-border-color-inset: #5a5a5a;--md-theme-bg-color: #000;--md-theme-bg-color-inset: #111;--md-theme-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #3a3a3a;--md-theme-code-active-color: #e6c07b;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor .md-editor-admonition-note{--md-admonition-color: #212121;--md-admonition-bg-color: #FFFFFF;--md-admonition-border-color: rgb(166.2, 166.2, 166.2)}.md-editor .md-editor-admonition-tip{--md-admonition-color: #616161;--md-admonition-bg-color: #F5F5F5;--md-admonition-border-color: rgb(185.8, 185.8, 185.8)}.md-editor .md-editor-admonition-info{--md-admonition-color: #424242;--md-admonition-bg-color: #F0F0F0;--md-admonition-border-color: rgb(170.4, 170.4, 170.4)}.md-editor .md-editor-admonition-quote{--md-admonition-color: #455a64;--md-admonition-bg-color: #eceff1;--md-admonition-border-color: rgb(169.2, 179.4, 184.6)}.md-editor .md-editor-admonition-abstract{--md-admonition-color: #0288d1;--md-admonition-bg-color: #e1f5fe;--md-admonition-border-color: rgb(135.8, 201.4, 236)}.md-editor .md-editor-admonition-attention{--md-admonition-color: #1e88e5;--md-admonition-bg-color: #e3f2fd;--md-admonition-border-color: rgb(148.2, 199.6, 243.4)}.md-editor .md-editor-admonition-example{--md-admonition-color: #5e35b1;--md-admonition-bg-color: #ede7f6;--md-admonition-border-color: rgb(179.8, 159.8, 218.4)}.md-editor .md-editor-admonition-hint{--md-admonition-color: #00897B;--md-admonition-bg-color: #E0F2F1;--md-admonition-border-color: rgb(134.4, 200, 193.8)}.md-editor .md-editor-admonition-success{--md-admonition-color: #388e3c;--md-admonition-bg-color: #e8f5e9;--md-admonition-border-color: rgb(161.6, 203.8, 163.8)}.md-editor .md-editor-admonition-question{--md-admonition-color: #f9a825;--md-admonition-bg-color: #fffde7;--md-admonition-border-color: rgb(252.6, 219, 153.4)}.md-editor .md-editor-admonition-caution{--md-admonition-color: #fb8c00;--md-admonition-bg-color: #fff8e1;--md-admonition-border-color: rgb(253.4, 204.8, 135)}.md-editor .md-editor-admonition-warning{--md-admonition-color: #f57c00;--md-admonition-bg-color: #fff3e0;--md-admonition-border-color: rgb(251, 195.4, 134.4)}.md-editor .md-editor-admonition-danger{--md-admonition-color: #d84315;--md-admonition-bg-color: #ffebee;--md-admonition-border-color: rgb(239.4, 167.8, 151.2)}.md-editor .md-editor-admonition-failure{--md-admonition-color: #d32f2f;--md-admonition-bg-color: #fee2e6;--md-admonition-border-color: rgb(236.8, 154.4, 156.8)}.md-editor .md-editor-admonition-bug{--md-admonition-color: #c31a1a;--md-admonition-bg-color: #fddadd;--md-admonition-border-color: rgb(229.8, 141.2, 143)}.md-editor .md-editor-admonition-error{--md-admonition-color: #b71c1c;--md-admonition-bg-color: #fdd2d6;--md-admonition-border-color: rgb(225, 137.2, 139.6)}.md-editor-dark .md-editor-admonition-note{--md-admonition-color: #E0E0E0;--md-admonition-bg-color: #1E1E1E;--md-admonition-border-color: rgb(107.6, 107.6, 107.6)}.md-editor-dark .md-editor-admonition-tip{--md-admonition-color: #B0B0B0;--md-admonition-bg-color: #262626;--md-admonition-border-color: rgb(93.2, 93.2, 93.2)}.md-editor-dark .md-editor-admonition-info{--md-admonition-color: #B3B3B3;--md-admonition-bg-color: #2B2B2B;--md-admonition-border-color: rgb(97.4, 97.4, 97.4)}.md-editor-dark .md-editor-admonition-quote{--md-admonition-color: #b0bec5;--md-admonition-bg-color: #263238;--md-admonition-border-color: rgb(93.2, 106, 112.4)}.md-editor-dark .md-editor-admonition-abstract{--md-admonition-color: #81d4fa;--md-admonition-bg-color: #012f45;--md-admonition-border-color: rgb(52.2, 113, 141.4)}.md-editor-dark .md-editor-admonition-attention{--md-admonition-color: #64b5f6;--md-admonition-bg-color: #102a4c;--md-admonition-border-color: rgb(49.6, 97.6, 144)}.md-editor-dark .md-editor-admonition-example{--md-admonition-color: #9575cd;--md-admonition-bg-color: #271b52;--md-admonition-border-color: rgb(83, 63, 131.2)}.md-editor-dark .md-editor-admonition-hint{--md-admonition-color: #4DB6AC;--md-admonition-bg-color: #003D3A;--md-admonition-border-color: rgb(30.8, 109.4, 103.6)}.md-editor-dark .md-editor-admonition-success{--md-admonition-color: #81c784;--md-admonition-bg-color: #1b5e20;--md-admonition-border-color: rgb(67.8, 136, 72)}.md-editor-dark .md-editor-admonition-question{--md-admonition-color: #ffd54f;--md-admonition-bg-color: #3e2f00;--md-admonition-border-color: rgb(139.2, 113.4, 31.6)}.md-editor-dark .md-editor-admonition-caution{--md-admonition-color: #ffcc80;--md-admonition-bg-color: #3e2600;--md-admonition-border-color: rgb(139.2, 104.4, 51.2)}.md-editor-dark .md-editor-admonition-warning{--md-admonition-color: #ffb74d;--md-admonition-bg-color: #3d2600;--md-admonition-border-color: rgb(138.6, 96, 30.8)}.md-editor-dark .md-editor-admonition-danger{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0000;--md-admonition-border-color: rgb(131.6, 61.6, 61.6)}.md-editor-dark .md-editor-admonition-failure{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0900;--md-admonition-border-color: rgb(131.6, 67, 61.6)}.md-editor-dark .md-editor-admonition-bug{--md-admonition-color: #e68381;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(120.8, 52.4, 51.6)}.md-editor-dark .md-editor-admonition-error{--md-admonition-color: #ef5350;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(124.4, 33.2, 32)}.md-editor-preview .md-editor-admonition{background-color:var(--md-admonition-bg-color);border:1px solid var(--md-admonition-border-color);border-radius:var(--md-theme-radius-m);color:var(--md-admonition-color);display:flow-root;font-size:14px;font-weight:400;margin:1rem 0;padding:1em 1em .5em;page-break-inside:avoid}.md-editor-preview .md-editor-admonition-title{margin:0;padding:0;position:relative;font-weight:700}.md-editor-preview .md-editor-admonition p{margin:.5em 0;padding:0}.md-editor-preview .md-editor-admonition p:first-of-type{margin-block-start:0}.md-editor-preview .md-editor-admonition+p:empty,.md-editor-preview .md-editor-admonition+p:empty+p:empty{display:none}.md-editor-preview .md-editor-mermaid{overflow:hidden;line-height:normal}.md-editor-preview .md-editor-mermaid p{line-height:normal}.md-editor-preview .md-editor-mermaid:not([data-processed]){white-space:pre}.md-editor-preview [class=md-editor-mermaid][data-grab]{cursor:grab}.md-editor-preview [class=md-editor-mermaid][data-grab]:active{cursor:grabbing}.md-editor-preview [class=md-editor-mermaid][data-processed]{position:relative;display:flex;justify-content:center;align-items:center}.md-editor-preview [class=md-editor-mermaid][data-processed] svg{transform-origin:top left}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action{position:absolute;inset-block-start:10px;inset-inline-end:10px;z-index:1;opacity:0;transition:opacity .3s;cursor:pointer;display:flex;gap:8px}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action svg{padding:6px;border-radius:4px;background-color:var(--md-bk-color-outstand)}.md-editor-preview [class=md-editor-mermaid][data-processed]:hover .md-editor-mermaid-action{opacity:1}.md-editor-katex-block{text-align:center;margin:20px}.md-editor-katex-inline,.md-editor-katex-block{display:none;direction:ltr}.md-editor-katex-inline[data-processed]{display:initial}.md-editor-katex-block[data-processed]{display:block}.md-editor .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, .1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-dark .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, .1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-preview code{direction:ltr;color:var(--md-theme-code-inline-color);background-color:var(--md-theme-code-inline-bg-color);border-radius:var(--md-theme-code-inline-radius);padding:2px 4px;line-height:22px}.md-editor-preview .md-editor-code{color:var(--md-theme-code-block-color);font-size:12px;line-height:1;margin:20px 0;position:relative}.md-editor-preview .md-editor-code input[type=radio],.md-editor-preview .md-editor-code input[type=radio]+pre,.md-editor-preview .md-editor-code input[type=radio]+span.md-editor-code-lang{display:none}.md-editor-preview .md-editor-code input:checked+pre,.md-editor-preview .md-editor-code input:checked+span.md-editor-code-lang{display:block}.md-editor-preview .md-editor-code input:checked+label{border-block-end:1px solid;color:var(--md-theme-code-active-color)}.md-editor-preview .md-editor-code .md-editor-code-head{display:grid;grid-template:"1fr 1fr";justify-content:space-between;height:32px;width:100%;font-size:12px;background-color:var(--md-theme-code-before-bg-color);margin-block-end:0;border-start-start-radius:var(--md-theme-code-block-radius);border-start-end-radius:var(--md-theme-code-block-radius);-webkit-tap-highlight-color:rgba(0,0,0,0);list-style:none;position:sticky;top:0;z-index:10000}.md-editor-preview .md-editor-code .md-editor-code-head::-webkit-details-marker{display:none}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag{margin-inline-start:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span{display:inline-block;width:10px;height:10px;border-radius:50%;margin-block-start:11px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(1){background-color:#ec6a5e}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(2){background-color:#f4bf4f}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(3){background-color:#61c554}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span+span{margin-inline-start:4px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label{box-sizing:border-box;white-space:nowrap;-webkit-user-select:none;user-select:none;background-color:var(--md-theme-code-block-bg-color);margin-block-start:8px;padding:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li{line-height:1;list-style:none;display:inline-block;position:relative;vertical-align:super;margin:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li label{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-block;font-size:14px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li+li{margin-inline-start:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action{display:flex;align-items:center}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action>*{margin-inline-end:10px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-lang{line-height:32px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon){cursor:pointer;line-height:32px;position:initial}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon) .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]{cursor:pointer;line-height:1;position:relative}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon] .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:var(--md-theme-radius-s);box-shadow:0 0 2px #0003;inset-inline-start:-10px;inset-block-start:50%;transform:translate(-100%,-50%)}[dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:before{transform:translate(100%,-50%)}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-inline-end-width:0;border-inline-start-color:currentColor;inset-inline-start:-10px;inset-block-start:50%;transform:translateY(-50%);filter:drop-shadow(4px 0 2px rgba(0,0,0,.2))}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:after{visibility:hidden;transition:.3s}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover:before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover:after{visibility:visible}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips{margin-inline-end:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{width:16px;height:16px;font-size:16px;display:inline-block;vertical-align:sub;transition:transform .1s;transform:rotate(0)}[dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,[dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(180deg)}.md-editor-preview .md-editor-code pre{position:relative;margin:0}.md-editor-preview .md-editor-code pre code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:var(--md-theme-code-block-color);background-color:var(--md-theme-code-before-bg-color);display:block;line-height:1.6;overflow:auto;padding:1em;position:relative;border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:var(--md-theme-code-block-radius);border-end-end-radius:var(--md-theme-code-block-radius)}.md-editor-preview .md-editor-code pre code .md-editor-code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom;color:var(--md-theme-code-block-color)}.md-editor-preview details.md-editor-code .md-editor-code-head{cursor:pointer}.md-editor-preview details.md-editor-code:not(open) .md-editor-code-head{border-end-start-radius:var(--md-theme-code-block-radius);border-end-end-radius:var(--md-theme-code-block-radius)}.md-editor-preview details.md-editor-code[open] .md-editor-code-head{border-end-start-radius:0;border-end-end-radius:0}.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(-90deg)}[dir=rtl] .md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,[dir=rtl] .md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(270deg)}.md-editor-scrn span[rn-wrapper]{position:absolute;pointer-events:none;font-size:100%;inset-block-start:1em;inset-inline-start:0;width:3em;letter-spacing:-1px;-webkit-user-select:none;user-select:none;counter-reset:linenumber}.md-editor-scrn span[rn-wrapper]>span{display:block;pointer-events:none;counter-increment:linenumber}.md-editor-scrn span[rn-wrapper]>span:before{color:#999;display:block;padding-inline-end:.5em;text-align:right;content:counter(linenumber)}.md-editor-scrn pre code{padding-inline-start:3.5em!important}.md-editor-preview figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.md-editor-preview figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-block-start:5px}.md-editor .md-editor-preview{--md-theme-heading-color: var(--md-theme-color);--md-theme-heading-border: none;--md-theme-heading-1-color: var(--md-theme-heading-color);--md-theme-heading-1-border: var(--md-theme-heading-border);--md-theme-heading-2-color: var(--md-theme-heading-color);--md-theme-heading-2-border: var(--md-theme-heading-border);--md-theme-heading-3-color: var(--md-theme-heading-color);--md-theme-heading-3-border: var(--md-theme-heading-border);--md-theme-heading-4-color: var(--md-theme-heading-color);--md-theme-heading-4-border: var(--md-theme-heading-border);--md-theme-heading-5-color: var(--md-theme-heading-color);--md-theme-heading-5-border: var(--md-theme-heading-border);--md-theme-heading-6-color: var(--md-theme-heading-color);--md-theme-heading-6-border: var(--md-theme-heading-border)}.md-editor-preview h1,.md-editor-preview h2,.md-editor-preview h3,.md-editor-preview h4,.md-editor-preview h5,.md-editor-preview h6{position:relative;word-break:break-all;margin:1.4em 0 .8em;font-weight:700}.md-editor-preview h1 a,.md-editor-preview h2 a,.md-editor-preview h3 a,.md-editor-preview h4 a,.md-editor-preview h5 a,.md-editor-preview h6 a,.md-editor-preview h1 a:hover,.md-editor-preview h2 a:hover,.md-editor-preview h3 a:hover,.md-editor-preview h4 a:hover,.md-editor-preview h5 a:hover,.md-editor-preview h6 a:hover{color:inherit}.md-editor-preview h1{color:var(--md-theme-heading-1-color);border-block-end:var(--md-theme-heading-1-border)}.md-editor-preview h2{color:var(--md-theme-heading-2-color);border-block-end:var(--md-theme-heading-2-border)}.md-editor-preview h3{color:var(--md-theme-heading-3-color);border-block-end:var(--md-theme-heading-3-border)}.md-editor-preview h4{color:var(--md-theme-heading-4-color);border-block-end:var(--md-theme-heading-4-border)}.md-editor-preview h5{color:var(--md-theme-heading-5-color);border-block-end:var(--md-theme-heading-5-border)}.md-editor-preview h6{color:var(--md-theme-heading-6-color);border-block-end:var(--md-theme-heading-6-border)}.md-editor-preview h1{font-size:2em}.md-editor-preview h2{font-size:1.5em}.md-editor-preview h3{font-size:1.25em}.md-editor-preview h4{font-size:1em}.md-editor-preview h5{font-size:.875em}.md-editor-preview h6{font-size:.85em}.md-editor-preview hr{height:1px;margin:10px 0;border:none;border-block-start:1px solid var(--md-theme-border-color)}.md-editor-preview a{color:var(--md-theme-link-color);text-decoration:none;transition:color .1s}.md-editor-preview a:hover{color:var(--md-theme-link-hover-color)}.md-editor-preview a:empty:before{content:attr(href)}.md-editor-preview ol,.md-editor-preview ul{padding-inline-start:2em}.md-editor-preview ol .task-list-item,.md-editor-preview ul .task-list-item{list-style-type:none}.md-editor-preview ol .task-list-item input,.md-editor-preview ul .task-list-item input{margin-inline-start:-1.5em;margin-inline-end:.1em}.md-editor-preview img{max-width:100%}.md-editor-preview p:empty{display:none}.md-editor .md-editor-preview{--md-theme-quote-color: var(--md-theme-color);--md-theme-quote-border: none;--md-theme-quote-bg-color: inherit}.md-editor-preview blockquote{padding:0 1em;color:var(--md-theme-quote-color);border-inline-start:var(--md-theme-quote-border);background-color:var(--md-theme-quote-bg-color)}.md-editor .md-editor-preview{--md-theme-table-stripe-color: #fafafa;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-dark .md-editor-preview{--md-theme-table-stripe-color: #0c0c0c;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-preview table tr{background-color:var(--md-theme-table-tr-bg-color)}.md-editor-preview table tr th,.md-editor-preview table tr td{border:1px solid var(--md-theme-table-td-border-color)}.md-editor-preview table tr:nth-child(2n){background-color:var(--md-theme-table-stripe-color)}.md-editor-preview{color:var(--md-theme-color)}.md-editor-preview ::-webkit-scrollbar{width:6px;height:6px}.md-editor-preview ::-webkit-scrollbar-button:vertical{display:none}.md-editor-preview ::-webkit-scrollbar-corner,.md-editor-preview ::-webkit-scrollbar-track,.md-editor-preview ::-webkit-scrollbar-thumb{border-radius:2px}.md-editor .md-editor-preview ::-webkit-scrollbar-corner,.md-editor .md-editor-preview ::-webkit-scrollbar-track{background-color:#e2e2e2}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb{background-color:#0000004d}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-corner,.md-editor-dark .md-editor-preview ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor div.default-theme{--md-theme-code-copy-tips-color: #141414}.md-editor-dark div.default-theme{--md-theme-code-copy-tips-color: inherit}div.default-theme img{margin:0 auto;box-sizing:border-box}div.default-theme a{display:inline-flex;line-height:1;border-block-end:none}div.default-theme a:hover{border-block-end:1px solid}div.default-theme a[target=_blank]{align-items:center}div.default-theme a[target=_blank]:after{content:"";display:inline-block;width:16px;height:16px;margin-inline-start:2px;background-color:currentColor;-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}div.default-theme ol,div.default-theme ul{margin:.6em 0}div.default-theme ol li,div.default-theme ul li{line-height:1.6;margin:.5em 0}div.default-theme p{line-height:1.6;margin:.5rem 0}.md-editor div.default-theme{--md-theme-quote-border: 5px solid #35b378;--md-theme-quote-bg-color: var(--md-theme-bg-color-inset)}div.default-theme blockquote{margin:20px 0;padding:0 1.2em;line-height:2em;display:flow-root}.md-editor default-theme{--md-theme-table-stripe-color: #fafafa}.md-editor-dark default-theme{--md-theme-table-stripe-color: #0c0c0c}div.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-block-end:1em;margin-block-start:1em}div.default-theme table tr th,div.default-theme table tr td{word-wrap:break-word;padding:8px 14px}div.default-theme table tbody tr:hover{background-color:var(--md-theme-color-hover)}div.default-theme blockquote table{line-height:initial}div.default-theme blockquote table tr th,div.default-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.default-theme blockquote table tbody tr:nth-child(n){background-color:inherit}div.default-theme blockquote table tbody tr:hover{background-color:var(--md-theme-color-hover-inset)}.md-editor div.vuepress-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #f8f8f8;--md-theme-code-block-color: #747384;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}.md-editor-dark div.vuepress-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}div.vuepress-theme code{padding:3px 5px;margin:0 2px}div.vuepress-theme .md-editor-code pre{font-size:.875em;margin:0 0 1em}div.vuepress-theme .md-editor-code pre code{white-space:pre;padding:22px 1em;margin:0}div.vuepress-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.vuepress-theme{--md-theme-heading-color: #273849;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}.md-editor-dark div.vuepress-theme{--md-theme-heading-color: #999;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}div.vuepress-theme h1,div.vuepress-theme h2,div.vuepress-theme h3,div.vuepress-theme h4,div.vuepress-theme h5,div.vuepress-theme h6{font-weight:600;line-height:1.45;position:relative;margin-block-start:1em}div.vuepress-theme h1{font-size:2.2em;margin:1em 0}div.vuepress-theme h2{font-size:1.65em;padding-block-end:.3em}div.vuepress-theme h3{line-height:1.35em}.md-editor div.vuepress-theme{--md-theme-link-color: #42b983}div.vuepress-theme a{font-weight:600}div.vuepress-theme ul,div.vuepress-theme ol{position:relative;line-height:1.4em;margin:1.2em 0;z-index:1}div.vuepress-theme ul li,div.vuepress-theme ol li{margin:1.2em 0}div.vuepress-theme p{word-spacing:.05em;line-height:1.6em;margin:1.2em 0;position:relative}.md-editor div.vuepress-theme{--md-theme-quote-border: 4px solid #42b983}div.vuepress-theme blockquote{margin:2em 0;padding-inline-start:20px}div.vuepress-theme blockquote p{margin-inline-start:0;margin-block-start:1.2em;margin-block-end:0;padding:0}.md-editor div.vuepress-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.vuepress-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}div.vuepress-theme table tr th,div.vuepress-theme table tr td{padding:.6em 1em}.md-editor div.vuepress-theme{--md-theme-color: #304455}.md-editor-dark div.vuepress-theme{--md-theme-color: #999}div.vuepress-theme{font-size:16px;color:var(--md-theme-color)}div.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.md-editor div.github-theme{--md-theme-code-inline-color: inherit;--md-theme-code-inline-bg-color: #eff1f2;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: inherit;--md-theme-code-block-bg-color: #f6f8fa;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}.md-editor-dark div.github-theme{--md-theme-code-inline-color: #c9d1d9;--md-theme-code-inline-bg-color: #2d3339;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #161b22;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}div.github-theme code{padding:.2em .4em;margin:0}div.github-theme pre code{padding:22px 1em;margin-block-end:0;word-break:normal;letter-spacing:1px}.md-editor div.github-theme{--md-theme-heading-color: inherit;--md-theme-heading-6-color: #2d3339;--md-theme-heading-1-border: 1px solid #d9dee4;--md-theme-heading-2-border: 1px solid #d9dee4}.md-editor-dark div.github-theme{--md-theme-heading-color: #c9d1d9;--md-theme-heading-6-color: #768390;--md-theme-heading-1-border: 1px solid #373e47;--md-theme-heading-2-border: 1px solid #373e47}div.github-theme h1,div.github-theme h2,div.github-theme h3,div.github-theme h4,div.github-theme h5,div.github-theme h6{margin-block-start:24px;margin-block-end:16px;font-weight:600;line-height:1.25}div.github-theme h1{padding-block-end:.3em;font-size:2em}div.github-theme h2{padding-block-end:.3em;font-size:1.5em}div.github-theme h3{font-size:1.25em}div.github-theme h4{font-size:1em}div.github-theme h5{font-size:.875em}div.github-theme h6{font-size:.85em}.md-editor div.github-theme{--md-theme-heading-bg-color: #fff}.md-editor-dark div.github-theme{--md-theme-heading-bg-color: #22272e}div.github-theme img{background-color:var(--md-theme-heading-bg-color)}.md-editor div.github-theme{--md-theme-link-color: #539bf5;--md-theme-link-hover-color: #539bf5}div.github-theme a:hover{text-decoration:underline}div.github-theme ol li+li,div.github-theme ul li+li{margin-block-start:.25em}.md-editor div.github-theme{--md-theme-quote-color: #57606a;--md-theme-quote-border: .25em solid #d0d7de}.md-editor-dark div.github-theme{--md-theme-quote-color: #8b949e;--md-theme-quote-border: .25em solid #444c56}div.github-theme blockquote{margin:0;padding:0 1em}.md-editor div.github-theme{--md-theme-table-stripe-color: #f7f8fa;--md-theme-table-tr-bg-color: #fff;--md-theme-table-td-border-color: #d0d7de}.md-editor-dark div.github-theme{--md-theme-table-stripe-color: #161b22;--md-theme-table-tr-bg-color: transparent;--md-theme-table-td-border-color: #30363d}div.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}div.github-theme table tr th,div.github-theme table tr td{padding:6px 13px}.md-editor div.github-theme{--md-theme-color: #222}.md-editor-dark div.github-theme{--md-theme-color: #c9d1d9}div.github-theme{line-height:1.5;color:var(--md-theme-color)}div.github-theme p,div.github-theme blockquote,div.github-theme ul,div.github-theme ol,div.github-theme dl,div.github-theme table,div.github-theme pre,div.github-theme details{margin-block-start:0;margin-block-end:16px}.md-editor div.cyanosis-theme,.md-editor-dark div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,Courier New,monospace;overflow-x:auto}div.cyanosis-theme code::selection{background-color:var(--md-theme-slct-codebg-color)}div.cyanosis-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.cyanosis-theme .md-editor-code pre code{padding:11px 12px 22px;margin:0;word-break:normal;line-height:1.75}div.cyanosis-theme .md-editor-code pre code span[rn-wrapper]{top:11px}.md-editor div.cyanosis-theme{--md-theme-heading-color: var(--md-theme-title-color)}div.cyanosis-theme h1{padding-block-end:4px;margin-block-start:36px;margin-block-end:10px;font-size:30px;line-height:1.5;transition:color .35s}div.cyanosis-theme h2{position:relative;padding-inline-start:10px;padding-inline-end:10px;padding-block-end:10px;margin-block-start:36px;margin-block-end:10px;font-size:24px;line-height:1.5;border-block-end:1px solid var(--md-theme-border-color-2);transition:color .35s}div.cyanosis-theme h2:before{content:"「";position:absolute;inset-block-start:-6px;inset-inline-start:-14px}div.cyanosis-theme h2:after{content:"」";position:relative;inset-block-start:6px;inset-inline-end:auto}div.cyanosis-theme h3{position:relative;padding-block-end:0;margin-block-start:30px;margin-block-end:10px;font-size:20px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h3:before{content:"»";padding-inline-end:6px;color:var(--md-theme-strong-color)}div.cyanosis-theme h4{padding-block-end:0;margin-block-start:24px;margin-block-end:10px;font-size:16px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h5{padding-block-end:0;margin-block-start:18px;margin-block-end:10px;font-size:14px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h6{padding-block-end:0;margin-block-start:12px;margin-block-end:10px;font-size:12px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h1::selection,div.cyanosis-theme h2::selection,div.cyanosis-theme h3::selection,div.cyanosis-theme h4::selection,div.cyanosis-theme h5::selection,div.cyanosis-theme h6::selection{color:var(--md-theme-slct-title-color);background-color:var(--md-theme-slct-titlebg-color)}@media(max-width:720px){div.cyanosis-theme h1{font-size:24px}div.cyanosis-theme h2{font-size:20px}div.cyanosis-theme h3{font-size:18px}}.md-editor div.cyanosis-theme{--md-theme-link-color: var(--md-theme-link-color);--md-theme-link-hover-color: var(--md-theme-linkh-color)}div.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;border-block-end:1px solid var(--md-theme-border-color)}div.cyanosis-theme a:hover{border-block-end-color:var(--md-theme-linkh-color)}div.cyanosis-theme a:active{color:var(--md-theme-linkh-color)}div.cyanosis-theme a:after{position:absolute;content:"";inset-block-start:100%;inset-inline-start:0;width:100%;opacity:0;border-block-end:1px solid var(--md-theme-border-color);transition:top .3s,opacity .3s;transform:translateZ(0)}div.cyanosis-theme a:hover:after{top:0;opacity:1;border-block-end-color:var(--md-theme-linkh-color)}div.cyanosis-theme ol,div.cyanosis-theme ul{margin:0}div.cyanosis-theme ol li,div.cyanosis-theme ul li{margin-block-end:0;list-style:inherit}div.cyanosis-theme ol li .task-list-item,div.cyanosis-theme ul li .task-list-item{list-style:none}div.cyanosis-theme ol li .task-list-item ul,div.cyanosis-theme ol li .task-list-item ol,div.cyanosis-theme ul li .task-list-item ul,div.cyanosis-theme ul li .task-list-item ol{margin-block-start:0}div.cyanosis-theme ol ul,div.cyanosis-theme ol ol,div.cyanosis-theme ul ul,div.cyanosis-theme ul ol{margin-block-start:4px}div.cyanosis-theme ol li{padding-inline-start:6px}div.cyanosis-theme ol li::selection,div.cyanosis-theme ul li::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}div.cyanosis-theme .task-list-item-checkbox{position:relative}div.cyanosis-theme .contains-task-list input[type=checkbox]:before{content:"";position:absolute;inset-block-start:0;inset-inline-start:0;inset-inline-end:0;inset-block-end:0;width:inherit;height:inherit;background:#f0f8ff;border:1px solid #add6ff;border-radius:var(--md-theme-radius-s);box-sizing:border-box;z-index:1}div.cyanosis-theme .contains-task-list input[type=checkbox][checked]:after{content:"✓";position:absolute;inset-block-start:-12px;inset-inline-start:0;inset-inline-end:0;inset-block-end:0;width:0;height:0;color:#f55;font-size:20px;font-weight:700;z-index:2}div.cyanosis-theme p{line-height:inherit;margin-block-start:16px;margin-block-end:16px}div.cyanosis-theme p::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-quote-color: var(--md-theme-blockquote-color);--md-theme-quote-border: 4px solid var(--md-theme-strong-color);--md-theme-quote-bg-color: var(--md-theme-blockquote-bg-color)}div.cyanosis-theme blockquote{padding:1px 20px;margin:22px 0;transition:color .35s}div.cyanosis-theme blockquote:after{display:block;content:""}div.cyanosis-theme blockquote>p{margin:10px 0}div.cyanosis-theme blockquote>b,div.cyanosis-theme blockquote>strong{color:var(--md-theme-strong-color)}div.cyanosis-theme table{display:inline-block!important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--md-theme-table-border-color);border-spacing:0;border-collapse:collapse}div.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}div.cyanosis-theme table tr:nth-child(2n){background-color:var(--md-theme-table-tr-nc-color)}div.cyanosis-theme table tr:hover{background-color:var(--md-theme-table-trh-color)}div.cyanosis-theme table th,div.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--md-theme-table-border-color)}div.cyanosis-theme table th{color:var(--md-theme-table-tht-color);background-color:var(--md-theme-table-th-color)}div.cyanosis-theme table td{min-width:120px}div.cyanosis-theme table thead th::selection{background-color:#0000}div.cyanosis-theme table tbody td::selection{background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-base-color:#353535;--md-theme-title-color:#005bb7;--md-theme-strong-color:#2196f3;--md-theme-em-color:#4fc3f7;--md-theme-del-color:#ccc;--md-theme-link-color:#3da8f5;--md-theme-linkh-color:#007fff;--md-theme-border-color:#bedcff;--md-theme-border-color-2:#ececec;--md-theme-bg-color:#fff;--md-theme-blockquote-color:#8c8c8c;--md-theme-blockquote-bg-color:#f0fdff;--md-theme-code-color:#c2185b;--md-theme-code-bg-color:#fff4f4;--md-theme-code-block-bg-color:#f8f8f8;--md-theme-table-border-color:#c3e0fd;--md-theme-table-th-color:#dff0ff;--md-theme-table-tht-color:#005bb7;--md-theme-table-tr-nc-color:#f7fbff;--md-theme-table-trh-color:#e0edf7;--md-theme-slct-title-color:#005bb7;--md-theme-slct-titlebg-color:rgba(175,207,247,.25);--md-theme-slct-text-color:#c80000;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#e8ebec;--md-theme-slct-codebg-color:#ffeaeb;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}.md-editor-dark div.cyanosis-theme{--md-theme-base-color:#cacaca;--md-theme-title-color:#ddd;--md-theme-strong-color:#fe9900;--md-theme-em-color:#ffd28e;--md-theme-del-color:#ccc;--md-theme-link-color:#ffb648;--md-theme-linkh-color:#fe9900;--md-theme-border-color:#ffe3ba;--md-theme-border-color-2:#ffcb7b;--md-theme-bg-color:#2f2f2f;--md-theme-blockquote-color:#c7c7c7;--md-theme-blockquote-bg-color:rgba(255,199,116,.1);--md-theme-code-color:#000;--md-theme-code-bg-color:#ffcb7b;--md-theme-code-block-bg-color:rgba(30,25,18,.5);--md-theme-table-border-color:#fe9900;--md-theme-table-th-color:#ffb648;--md-theme-table-tht-color:#000;--md-theme-table-tr-nc-color:#6d5736;--md-theme-table-trh-color:#947443;--md-theme-slct-title-color:#000;--md-theme-slct-titlebg-color:#fe9900;--md-theme-slct-text-color:#00c888;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#000;--md-theme-slct-codebg-color:#ffcb7b;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}div.cyanosis-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--md-theme-base-color);transition:color .35s}div.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-block-start:32px;margin-block-end:32px;background-image:linear-gradient(90deg,var(--md-theme-link-color),rgba(255,0,0,.3),rgba(37,163,65,.3),rgba(255,0,0,.3),var(--md-theme-link-color));border-width:0;overflow:visible}div.cyanosis-theme b,div.cyanosis-theme strong{color:var(--md-theme-strong-color)}div.cyanosis-theme i,div.cyanosis-theme em{color:var(--md-theme-em-color)}div.cyanosis-theme del{color:var(--md-theme-del-color)}div.cyanosis-theme details>summary{outline:none;color:var(--md-theme-title-color);font-size:20px;font-weight:bolder;border-block-end:1px solid var(--md-theme-border-color);cursor:pointer}div.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--md-theme-blockquote-bg-color);border:2px dashed var(--md-theme-strong-color)}div.cyanosis-theme a::selection,div.cyanosis-theme b::selection,div.cyanosis-theme strong::selection,div.cyanosis-theme i::selection,div.cyanosis-theme em::selection{background-color:var(--md-theme-slct-elbg-color)}div.cyanosis-theme del::selection{color:var(--md-theme-slct-del-color);background-color:var(--md-theme-slct-elbg-color)}.md-editor div.mk-cute-theme,.md-editor-dark div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}div.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;overflow-x:auto;padding:.14em .46em;margin:0 4px}div.mk-cute-theme .md-editor-code pre code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;padding:22px;margin:0;word-break:normal;line-height:1.75}div.mk-cute-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.mk-cute-theme{--md-theme-heading-color: #36ace1}div.mk-cute-theme h1:before,div.mk-cute-theme h2:before,div.mk-cute-theme h3:before,div.mk-cute-theme h4:before,div.mk-cute-theme h5:before,div.mk-cute-theme h6:before{content:"";display:block;position:absolute;inset-inline-start:0;inset-block-start:0;inset-block-end:0;margin:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAF8UlEQVRIS71Wa2wUVRT+7r0zu9t2t/RBaSioPCpYbIUfaEIQUogSAwZDAlUSGwgg/CBATExMCJH1D2hIfOEjFEUEhViCgBgIUCH44OkjPAMGBVqhpUCfW3Zn5z7MuQOE0hYxMdxJdmd25s53vnO+851leMCLPWA8/CfA2TsvL8n7q+nTFfNLG+4VqInHOeJLDQMzdz/3r4DGGDb9lxu+aPcE7U61JHDMDePcuv0O21ShugOefqDdtBie3Dk6K/O+Ab+qOjJiz7Ahv6c8hbDDwRiQlgYGDOcaWyEcjg8On+j71IpJndjGt9XO+jM7+pkywNvbazIfercieSdoJ4bE5sWjyZqMpDdeaQNXMNC34ME3LV8B56+1w3AOgk+EXe/Ub6uiLB6XdH/G/mYjeBCcFwnt3zQqWt4t4NjjnhzQ1CGkBhwOCMFAB71U0qsYgRlwBtQ1tiEJAy44OBdQUmFK3aWS06NLT+ukZAQoKCCjsfbDmk6p78RwX3ncWffmIj8U4kh6GpEwh+9rGy23LDU4GBrrm9DsuDYIGMAYIC/EUNQ7Cq1hn+WM2TI8f+jEyCmvjfn1FssuojHx6tDkyZOaCzr8TNpASzDAk8amlRIrEylcSGsYrcGIstIYWhgDDIM2BiGH3ywFkGAC1U9n38bpVqWGdk6r4HMWrZZaG1D5KLn0qYyBEAKnG1otAxLR8L7Z9nfP13CJHQ/ST4vK8sVHe8JsU0U6uO5hlexo8PI7vNDQomwoBRAwpSmtgJAAztS3QLsOsmBQlBtFJMQhlbbPUBBUR7o2hqHVddLbRsfCPQJ+u3TPw8uGl1yklAlHIJZKo3//XEhlLCtifPFyM7xwCI/lZ8IKTTBbS7pPLIggZZsSQ+zXbT4UYSsnet3UMM5HPT5LGbrDGYQroClyT2Jwnyj9aN949e8mDCwuRFoqKxRHUJ21BSDRELuQYGhvbMVV32Dp2RuxcfHSRBfAYTsbU9nJdFj5EiLkglHkRInC1xoxKbH9hQJIaTDvxxTCUddWl4wg0dCCtqSPDmoVx4Eitpxh64ZtsT6b5ie6pPRkfF90TllxOzEwmipMKRRgHODGgCuJkqIcvDdC2BZ5Y+tlHHMzkAKghbAxcQqQDiKrFBxhqg5MHTivS1tQ+sdsvaQl5Yd6yfdRXNQLsQwXnq/AQFLXEIIjzBSuNaaR0SuEtkQKl9IKjAsbJaWfzo1USDsM6zceDJfeVGgnhhN2N7YOyo5kJz1pa2AbgfrO1gRwXW6vSRQNtddR+EhvKGmseskgTtY2Q7kucYWWgToPHzyUyXry0iXfnBtfl5f/PaWPvPNW/zkOAQegJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 0s infinite}div.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}div.mk-cute-theme h1:before{width:30px;height:30px;background-size:30px 30px}div.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}div.mk-cute-theme h2:before{width:28px;height:28px;background-size:28px 28px}div.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}div.mk-cute-theme h3:before{width:24px;height:24px;background-size:24px 24px}div.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}div.mk-cute-theme h4:before{width:20px;height:20px;background-size:20px 20px}div.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}div.mk-cute-theme h5:before{width:18px;height:18px;background-size:18px 18px}div.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}div.mk-cute-theme h6:before{width:16px;height:16px;background-size:16px 16px}@media(max-width:720px){div.mk-cute-theme h1{font-size:24px}div.mk-cute-theme h2{font-size:20px}div.mk-cute-theme h3{font-size:18px}}.md-editor div.mk-cute-theme{--md-theme-link-color: #409eff;--md-theme-link-hover-color: #007bff}div.mk-cute-theme a{display:inline-block;border-block-end:1px solid #409eff}div.mk-cute-theme a:hover,div.mk-cute-theme a:active{border-block-end:1px solid #007bff}div.mk-cute-theme ol li,div.mk-cute-theme ul li{margin-block-end:0;list-style:inherit}div.mk-cute-theme ol li .task-list-item,div.mk-cute-theme ul li .task-list-item{list-style:none}div.mk-cute-theme ol li .task-list-item ul,div.mk-cute-theme ol li .task-list-item ol,div.mk-cute-theme ul li .task-list-item ul,div.mk-cute-theme ul li .task-list-item ol{margin-block-start:0}div.mk-cute-theme ol ul,div.mk-cute-theme ol ol,div.mk-cute-theme ul ul,div.mk-cute-theme ul ol{margin-block-start:3px}div.mk-cute-theme ol li{padding-inline-start:6px}div.mk-cute-theme p{line-height:inherit;margin-block-start:22px;margin-block-end:22px}.md-editor div.mk-cute-theme{--md-theme-quote-color: #fff;--md-theme-quote-border: 4px solid #409eff;--md-theme-quote-bg-color: rgba(54, 172, 225, .75)}.md-editor-dark div.mk-cute-theme{--md-theme-quote-color: inherit;--md-theme-quote-border: 4px solid #265d97;--md-theme-quote-bg-color: rgba(18, 80, 108, .75)}div.mk-cute-theme blockquote{position:relative;padding:8px 26px;margin:16px 0;border-radius:var(--md-theme-radius-m)}div.mk-cute-theme blockquote:before{content:"❝";inset-block-start:10px;inset-inline-start:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}div.mk-cute-theme blockquote:after{content:"❞";font-size:20px;position:absolute;inset-inline-end:8px;inset-block-end:0;color:#409eff;opacity:.7}div.mk-cute-theme blockquote>p,div.mk-cute-theme blockquote ul li,div.mk-cute-theme blockquote ol li{color:var(--md-theme-quote-color)}.md-editor div.mk-cute-theme{--md-theme-table-color: #000;--md-theme-table-border-color: #f6f6f6;--md-theme-table-thead-bg-color: #f6f6f6;--md-theme-table-stripe-color: #fcfcfc}.md-editor-dark div.mk-cute-theme{--md-theme-table-color: inherit;--md-theme-table-border-color: #1c1c1c;--md-theme-table-thead-bg-color: rgba(28, 28, 28, .631372549);--md-theme-table-stripe-color: rgba(28, 28, 28, .631372549)}div.mk-cute-theme table{display:inline-block;width:auto;max-width:100%;overflow:auto;border:solid 1px var(--md-theme-table-border-color)}div.mk-cute-theme table thead{background-color:var(--md-theme-table-thead-bg-color);color:var(--md-theme-table-color);text-align:left}div.mk-cute-theme table tr th,div.mk-cute-theme table tr td{padding:12px 7px;line-height:24px;border:none}div.mk-cute-theme table tr td{min-width:120px}div.mk-cute-theme blockquote table tbody{color:var(--md-theme-color)}div.mk-cute-theme blockquote table tr{background-color:var(--md-theme-table-stripe-color)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.md-editor div.mk-cute-theme{--md-theme-color: #36ace1;background-image:linear-gradient(90deg,#323a4240 3%,#0000 3%),linear-gradient(360deg,#323a4240 3%,#0000 3%)}.md-editor-dark div.mk-cute-theme{background-image:linear-gradient(90deg,#d9eafb40 3%,#0000 3%),linear-gradient(360deg,#d9eafb40 3%,#0000 3%);--md-theme-bg-color-scrollbar-thumb: #4d4d4d}div.mk-cute-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;background-size:20px 20px;background-position:center center}div.mk-cute-theme hr{position:relative;width:98%;height:1px;border:none;margin-block-start:32px;margin-block-end:32px;background-image:linear-gradient(to right,#36ace1,#dff0fe,#36ace1);overflow:visible}div.mk-cute-theme del{color:#36ace1}.md-editor div.smart-blue-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #fff5f5;--md-theme-code-block-color: #333;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.smart-blue-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.smart-blue-theme code{overflow-x:auto;padding:.065em .4em}div.smart-blue-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.smart-blue-theme .md-editor-code pre code{padding:22px 12px;margin:0;word-break:normal}div.smart-blue-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.smart-blue-theme{--md-theme-heading-color: #135ce0}div.smart-blue-theme h1,div.smart-blue-theme h2,div.smart-blue-theme h3,div.smart-blue-theme h4,div.smart-blue-theme h5,div.smart-blue-theme h6{padding:30px 0;margin:0}div.smart-blue-theme h1 a,div.smart-blue-theme h2 a,div.smart-blue-theme h3 a,div.smart-blue-theme h4 a,div.smart-blue-theme h5 a,div.smart-blue-theme h6 a{border:none}div.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}div.smart-blue-theme h2{position:relative;font-size:20px;border-inline-start:4px solid;padding:0 0 0 10px;margin:30px 0}div.smart-blue-theme h3{font-size:16px}div.smart-blue-theme img{margin:0 auto}.md-editor div.smart-blue-theme{--md-theme-link-color: #036aca}.md-editor-dark div.smart-blue-theme{--md-theme-link-color: #2d7dc7}div.smart-blue-theme a{font-weight:400}div.smart-blue-theme ul,div.smart-blue-theme ol{margin-block-start:1em}div.smart-blue-theme li{line-height:2;margin-block-end:0;list-style:inherit}div.smart-blue-theme p{line-height:2;font-weight:400}div.smart-blue-theme *+p{margin-block-start:16px}.md-editor div.smart-blue-theme{--md-theme-quote-color: #666;--md-theme-quote-bg-color: #fff9f9;--md-theme-quote-border-color: #b2aec5}.md-editor-dark div.smart-blue-theme{--md-theme-quote-color: #999;--md-theme-quote-bg-color: #2a2a2a;--md-theme-quote-border-color: #0063bb}div.smart-blue-theme blockquote{background-color:var(--md-theme-quote-bg-color);margin:2em 0;padding:2px 20px;border-inline-start:4px solid var(--md-theme-quote-border-color)}div.smart-blue-theme blockquote p{color:var(--md-theme-quote-color);line-height:2}.md-editor div.smart-blue-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.smart-blue-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}div.smart-blue-theme table tr th,div.smart-blue-theme table tr td{padding:.6em 1em}div.smart-blue-theme blockquote table{line-height:initial}div.smart-blue-theme blockquote table tr th,div.smart-blue-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.smart-blue-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.md-editor div.smart-blue-theme{--md-theme-color: #595959}.md-editor div.smart-blue-theme{background-image:linear-gradient(90deg,#3c0a1e0a 3%,#0000 3%),linear-gradient(360deg,#3c0a1e0a 3%,#0000 3%)}.md-editor-dark div.smart-blue-theme{--md-theme-color: #999}.md-editor-dark div.smart-blue-theme{background-image:linear-gradient(90deg,#cfcfcf0a 3%,#fff0 3%),linear-gradient(360deg,#cfcfcf0a 3%,#fff0 3%)}div.smart-blue-theme{color:var(--md-theme-color);font-family:-apple-system,system-ui,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;background-size:20px 20px;background-position:center center}div.smart-blue-theme strong,div.smart-blue-theme em strong{color:#036aca}div.smart-blue-theme hr{border-block-start:1px solid #135ce0}[dir=rtl] .md-editor-catalog{direction:rtl}.md-editor-catalog-indicator{height:18px;width:4px;background-color:#73d13d;position:absolute;border-radius:4px;transition:top .3s}.md-editor-catalog>.md-editor-catalog-link{padding-block:5px;padding-inline:8px}.md-editor-catalog-link{padding-block:5px;padding-inline-start:1em;display:flex;flex-direction:column}.md-editor-catalog-link span{display:inline-block;width:100%;position:relative;overflow:hidden;color:var(--md-color);white-space:nowrap;text-overflow:ellipsis;transition:color .3s;cursor:pointer;line-height:18px}.md-editor-catalog-link span:hover{color:#73d13d}.md-editor-catalog-wrapper>.md-editor-catalog-link{padding-block-start:5px;padding-block-end:5px}.md-editor-catalog-wrapper>.md-editor-catalog-link:first-of-type{padding-block-start:10px}.md-editor-catalog-wrapper>.md-editor-catalog-link:last-of-type{padding-block-end:0}.md-editor-catalog-active>span{color:#73d13d}.md-editor-catalog-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #333;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px rgba(0, 0, 0, .4);--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-active-color: #3a3a3a}.md-editor{--md-color: #3f4a54;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f2f2f2;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px rgba(0, 0, 0, .0980392157);--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: rgba(0, 0, 0, .3019607843);--md-scrollbar-thumb-hover-color: rgba(0, 0, 0, .3490196078);--md-scrollbar-thumb-active-color: rgba(0, 0, 0, .3803921569);color:var(--md-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";width:100%;height:500px;position:relative;box-sizing:border-box;border:1px solid var(--md-border-color);display:flex;flex-direction:column;overflow:hidden;background-color:var(--md-bk-color)}.md-editor .md-editor-fullscreen{position:fixed!important;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inset-inline-start:0;width:auto!important;height:auto!important;z-index:10000}.md-editor svg.md-editor-icon{width:16px;height:16px;padding-block:4px;padding-inline:4px;fill:none;overflow:hidden;display:block;box-sizing:content-box}.md-editor .lucide-list,.md-editor .lucide-list-ordered,.md-editor .lucide-list-todo{width:18px;height:18px;padding-block:3px;padding-inline:3px}.md-editor-preview{font-size:16px;word-break:break-all;display:flow-root;padding-block:10px;padding-inline:20px}.md-editor-modal-container{--md-color: #3f4a54;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f2f2f2;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px rgba(0, 0, 0, .0980392157);--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: rgba(0, 0, 0, .3019607843);--md-scrollbar-thumb-hover-color: rgba(0, 0, 0, .3490196078);--md-scrollbar-thumb-active-color: rgba(0, 0, 0, .3803921569);color:var(--md-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.md-editor-modal-container .lucide-x{width:20px;height:20px;padding-block:2px;padding-inline:2px}.md-editor-modal-container .lucide-minimize-2,.md-editor-modal-container .lucide-maximize-2{width:18px;height:18px;padding-block:2px;padding-inline:2px}.md-editor-previewOnly{border:none;height:auto;overflow:visible}.md-editor-previewOnly .md-editor-content{height:100%}.md-editor-previewOnly .md-editor-preview{padding-block:0;padding-inline:0}.md-editor-previewOnly .md-editor-preview-wrapper{overflow:visible}.md-editor-dark,.md-editor-modal-container[data-theme=dark]{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #333;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px rgba(0, 0, 0, .4);--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-active-color: #3a3a3a}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:100001}.comp-doc-preview .md-editor-preview .md-editor-code .md-editor-code-head{position:static;top:auto;z-index:auto}.site-logo[data-v-90511ea9]{display:flex;align-items:flex-end;gap:1px}.site-logo-img[data-v-90511ea9]{height:40px}.site-logo-text[data-v-90511ea9]{color:#1f2937;font-size:1.25rem;line-height:1.75rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html.dark .site-logo-text[data-v-90511ea9]{color:#fff}
@@ -1 +0,0 @@
1
- import{c as w}from"./vendor-ui-Cvgmewma.js";import{z as x,ao as h,q as y,G as C,I as _,P as r,W as b,u,N as B,U as g,V as I,a as k,m as S}from"./vendor-core-CNXB6kVe.js";import{_ as T}from"./LoadingWrapper.vue_vue_type_script_setup_true_lang-BYA4gUOI.js";const U=x({inheritAttrs:!1,__name:"AuthCodeSendBtn",props:{type:{default:"primary"},disabled:{type:Boolean,default:!1},text:{default:""},countdownText:{default:""},duration:{default:60}},emits:["send","finish"],setup(o,{expose:d,emit:i}){const{t:c}=h(),a=o,s=i,e=k(0);let t=null;const f=S(()=>e.value>0?c(a.countdownText,{n:e.value.toString()}):a.text),l=()=>{e.value=a.duration,t=window.setInterval(()=>{e.value--,e.value<=0&&(clearInterval(t),t=null,s("finish"))},1e3)},m=async n=>{a.disabled||e.value>0||(n.start(),s("send",{end:n.end,startCountdown:l}))};return y(()=>{t&&(clearInterval(t),t=null)}),d({startCountdown:l,getCountdown:()=>e.value}),(n,N)=>(C(),_(u(T),null,{default:r(({instance:p,loading:v})=>[b(u(w),B(n.$attrs,{type:o.type??"default",loading:v,disabled:o.disabled||e.value>0,class:"whitespace-nowrap",onClick:V=>m(p)}),{default:r(()=>[g(I(f.value),1)]),_:1},16,["type","loading","disabled","onClick"])]),_:1}))}});export{U as _};
@@ -1 +0,0 @@
1
- import{ar as n,L as c}from"./vendor-ui-Cvgmewma.js";import{z as m,G as p,I as u,R as l,A as f,u as d,m as i,h as _}from"./vendor-core-CNXB6kVe.js";const B=m({__name:"BaseDialog",setup(g){const t=_(),o=n(),s={modal:!0,appendToBody:!0,draggable:!0},a=i(()=>({...s,...o}));function r(e){t&&(t.exposed=e||{},t.exposeProxy=e||{})}return(e,h)=>(p(),u(l(f(d(c),{...a.value,ref:r},e.$slots))))}});export{B as _};
@@ -1 +0,0 @@
1
- import{aq as d}from"./vendor-ui-Cvgmewma.js";import{z as p,ar as i,a4 as c,O as f,G as V,I as S,a6 as _,a7 as g,P as v,K as P,ac as k,ad as B,N as x,u as t,m as z}from"./vendor-core-CNXB6kVe.js";const M=p({inheritAttrs:!1,__name:"BaseSegmented",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(o){const s=i(o,"modelValue"),r=c(),l=f(),n=z(()=>Object.keys(l));return(m,a)=>(V(),S(t(d),x({modelValue:s.value,"onUpdate:modelValue":a[0]||(a[0]=e=>s.value=e)},t(r)),_({_:2},[g(n.value,e=>({name:e,fn:v(u=>[P(m.$slots,e,k(B(u)))])}))]),1040,["modelValue"]))}});export{M as _};
@@ -1 +0,0 @@
1
- import{e as m,f as w}from"./index-DgrizPPB.js";import{d as S,ab as n}from"./vendor-ui-Cvgmewma.js";import{z as y,aq as g,f as M,$ as b,G as T,H as _,J as D,a as R}from"./vendor-core-CNXB6kVe.js";const P={class:"w-full h-full"},A={ref:"canvas",class:"w-full h-full bg-[#333436]"},q=y({__name:"CanvasAnimation",setup(C){const d=g("canvas"),o=R(!1);let h=null;class x{rangeR;r;rSpeed;cvs;ctx;x;y;xSpeed;ySpeed;lastMoveTime;fillStyle;maxTimeDiff=100;constructor({cvs:t,ctx:i}){this.rangeR=[3,7],this.r=n(this.rangeR[0],this.rangeR[1]),this.rSpeed=n(-1,1),this.cvs=t,this.ctx=i,this.x=n(0+this.r,this.cvs.width-this.r),this.y=n(0+this.r,this.cvs.height-this.r),this.xSpeed=n(-10,10),this.ySpeed=n(-10,10),this.lastMoveTime=null,this.fillStyle=w.randomColor()}setLastMoveTime(t){this.lastMoveTime=t}draw(){if(this.lastMoveTime){const s=Date.now()-this.lastMoveTime,e=Math.min(s,this.maxTimeDiff)/1e3;let a=this.x+e*this.xSpeed,c=this.y+e*this.ySpeed,l=this.r+e*this.rSpeed;l<=this.rangeR[0]?(l=this.rangeR[0],this.rSpeed=Math.abs(this.rSpeed)):l>=this.rangeR[1]&&(l=this.rangeR[1],this.rSpeed=-Math.abs(this.rSpeed)),a-this.r<0?(a=this.r,this.xSpeed=Math.abs(this.xSpeed)):a+this.r>this.cvs.width&&(a=this.cvs.width-this.r,this.xSpeed=-Math.abs(this.xSpeed)),c-this.r<0?(c=this.r,this.ySpeed=Math.abs(this.ySpeed)):c+this.r>this.cvs.height&&(c=this.cvs.height-this.r,this.ySpeed=-Math.abs(this.ySpeed)),this.x=a,this.y=c,this.r=l}const t=Math.max(0,this.r);this.ctx.beginPath(),this.ctx.arc(this.x,this.y,t,0,2*Math.PI),this.ctx.fillStyle=this.fillStyle,this.ctx.fill(),this.lastMoveTime=Date.now()}}class u{points;maxDis;cvs;ctx;constructor({pointNumber:t=30,maxDis:i=100,cvs:s,ctx:e}){this.points=Array(t).fill(0).map(()=>new x({cvs:s,ctx:e})),this.maxDis=i,this.cvs=s,this.ctx=e}resetPointsTime(){const t=Date.now();this.points.forEach(i=>{i.setLastMoveTime(t)})}draw(){if(o.value){if(document.hidden){setTimeout(()=>this.draw(),100);return}requestAnimationFrame(()=>this.draw()),this.ctx.clearRect(0,0,this.cvs.width,this.cvs.height);for(const[t,i]of this.points.entries()){i.draw();for(const s of this.points.slice(t+1)){const e=Math.sqrt((i.x-s.x)**2+(i.y-s.y)**2);isNaN(e)||e>this.maxDis||(this.ctx.beginPath(),this.ctx.moveTo(i.x,i.y),this.ctx.lineTo(s.x,s.y),this.ctx.strokeStyle=`rgba(200,200,200,${Math.max(0,Math.min(1,1-e/this.maxDis))})`,this.ctx.stroke(),this.ctx.closePath())}}}}}function p(){if(!d.value)return;console.log("渲染动画"),o.value=!0;const r=window.innerWidth,t=110*window.innerWidth/r,i=80*window.innerWidth/r,s=d.value,e=s.getContext("2d");if(!e)return;const a=window.devicePixelRatio||1;s.width=window.innerWidth*a,s.height=window.innerHeight*a,h&&(h=null),h=new u({pointNumber:Math.floor(t),maxDis:Math.floor(i),cvs:s,ctx:e}),h.draw()}const f=S(p,200);function v(){document.hidden?o.value=!1:d.value&&h&&(o.value=!0,h.resetPointsTime(),h.draw())}return m(window,"resize",f),m(document,"visibilitychange",v),M(()=>{f()}),b(()=>{o.value=!1,h=null}),(r,t)=>(T(),_("div",P,[D("canvas",A,null,512)]))}});export{q as _};
@@ -1 +0,0 @@
1
- import{m as b,c as S}from"./vendor-ui-Cvgmewma.js";import{a as k,A as T,V as w,b as C,R as y}from"./index-DgrizPPB.js";import{z as N,ao as R,au as I,f as V,G as i,H as u,W as r,P as m,u as n,J as h,V as _,S as v,U as A,a as f}from"./vendor-core-CNXB6kVe.js";import{S as H}from"./index-CuCbuNEj.js";const L={class:"size-full flex items-center justify-center bg-[#0d0d0d]"},F={key:0,class:"text-center"},B={class:"text-white/60 text-sm"},G={key:1,class:"text-center max-w-md px-4"},K={class:"text-white/80 text-base mb-2"},O={key:0,class:"text-white/40 text-xs mb-6 break-all"},W=N({__name:"GithubCallback",setup(U){const{PersonIcon:g}=H,{t:e}=R(),p=I(),E=k(),c=f(!0),t=f(""),s=f("");return V(async()=>{const a=new URLSearchParams(window.location.search);if(a.get("error")){c.value=!1,t.value=e("user.githubLoginFailed")||"GitHub 登录失败",s.value=decodeURIComponent(a.get("detail")||"");return}const o=a.get(T),l=a.get(w.REFRESH_TOKEN_HEADER_NAME);if(!o||!l){c.value=!1,t.value=e("user.githubLoginFailed")||"GitHub 登录失败",s.value=e("user.missingToken")||"未获取到授权令牌";return}C(o),y(l);try{await E.fetchWhoAmI(),p.replace("/")}catch(x){c.value=!1,t.value=e("user.githubLoginFailed")||"获取用户信息失败",s.value=x?.message||""}}),(a,d)=>{const o=b,l=S;return i(),u("div",L,[c.value?(i(),u("div",F,[r(o,{class:"is-loading text-3xl text-white mb-4"},{default:m(()=>[r(n(g))]),_:1}),h("p",B,_(n(e)("user.githubLoggingIn")),1)])):t.value?(i(),u("div",G,[r(o,{class:"text-3xl text-[#f56c6c] mb-4"},{default:m(()=>[r(n(g))]),_:1}),h("p",K,_(t.value),1),s.value?(i(),u("p",O,_(s.value),1)):v("",!0),r(l,{type:"primary",onClick:d[0]||(d[0]=x=>n(p).replace("/login"))},{default:m(()=>[A(_(n(e)("user.returnToLogin")||"返回登录"),1)]),_:1})])):v("",!0)])}}});export{W as default};
@@ -1 +0,0 @@
1
- import{B as V,c as b}from"./vendor-ui-Cvgmewma.js";import"./index-DgrizPPB.js";import{z as h,f as v,n as x,G as g,I as B,a as k,ao as $,H as C,W as d,u as r,J as I,P as c,U as f,V as p,m as S}from"./vendor-core-CNXB6kVe.js";const T=h({name:"CommentInput",__name:"CommentInput",props:{modelValue:{default:""},placeholder:{default:""},rows:{default:2},maxlength:{default:1e3},showWordLimit:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1}},emits:["update:modelValue","submit"],setup(t,{emit:i}){const m=t,o=i,n=k(null);v(async()=>{m.autofocus&&(await x(),n.value?.focus())});function a(e){o("update:modelValue",e)}function l(e){e instanceof KeyboardEvent&&e.key==="Enter"&&!e.shiftKey&&(e.preventDefault(),o("submit"))}return(e,u)=>{const s=V;return g(),B(s,{ref_key:"inputRef",ref:n,"model-value":t.modelValue,type:"textarea",rows:t.rows,maxlength:t.maxlength,"show-word-limit":t.showWordLimit,placeholder:t.placeholder,disabled:t.disabled,resize:"none","onUpdate:modelValue":a,onKeydown:l},null,8,["model-value","rows","maxlength","show-word-limit","placeholder","disabled"])}}});function A(t){return function(m){if(!m)return"";const o=new Date(m),a=new Date().getTime()-o.getTime(),l=Math.floor(a/6e4),e=Math.floor(a/36e5),u=Math.floor(a/864e5);if(l<1)return t("comment.time.justNow");if(l<60)return t("comment.time.minutesAgo",{n:l});if(e<24)return t("comment.time.hoursAgo",{n:e});if(u<30)return t("comment.time.daysAgo",{n:u});const s=o.getFullYear(),w=String(o.getMonth()+1).padStart(2,"0"),y=String(o.getDate()).padStart(2,"0");return`${s}-${w}-${y}`}}const D={class:"mt-3 ml-10"},E={class:"flex mt-2 gap-2"},F=h({__name:"ReplyForm",props:{modelValue:{},placeholder:{default:""},loading:{type:Boolean,default:!1}},emits:["update:modelValue","submit","cancel"],setup(t,{emit:i}){const{t:m}=$(),o=t,n=i,a=S({get:()=>o.modelValue,set:l=>n("update:modelValue",l)});return(l,e)=>{const u=b;return g(),C("div",D,[d(r(T),{modelValue:a.value,"onUpdate:modelValue":e[0]||(e[0]=s=>a.value=s),"show-word-limit":"",autofocus:"",placeholder:t.placeholder,onSubmit:e[1]||(e[1]=s=>n("submit"))},null,8,["modelValue","placeholder"]),I("div",E,[d(u,{size:"small",onClick:e[2]||(e[2]=s=>n("cancel"))},{default:c(()=>[f(p(r(m)("common.cancel")),1)]),_:1}),d(u,{size:"small",type:"primary",loading:t.loading,disabled:!a.value.trim(),onClick:e[3]||(e[3]=s=>n("submit"))},{default:c(()=>[f(p(r(m)("comment.reply")),1)]),_:1},8,["loading","disabled"])])])}}});export{F as _,T as a,A as c};
@@ -1 +0,0 @@
1
- @charset "UTF-8";.site-logo[data-v-2b17eac3]{display:flex;align-items:flex-end;gap:1px}.site-logo-img[data-v-2b17eac3]{height:40px}.site-logo-text[data-v-2b17eac3]{color:#1f2937;font-size:1.25rem;line-height:1.75rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html.dark .site-logo-text[data-v-2b17eac3]{color:#fff}
@@ -1 +0,0 @@
1
- import{a7 as n,a5 as i}from"./vendor-ui-Cvgmewma.js";import{z as p,ao as l,G as d,H as m,K as u,J as f,V as o,W as y,u as a,P as x,U as w}from"./vendor-core-CNXB6kVe.js";const h=async e=>{if(!navigator.clipboard)throw new Error("剪贴板API不可用");try{await navigator.clipboard.writeText(e)}catch(t){throw console.error("复制失败:",t),new Error("无法复制文本")}},_={class:"flex items-center gap-[10px]"},E=p({__name:"CopyText",props:{text:{type:String,default:""}},setup(e){const{t}=l(),r=e;async function s(){await h(r.text),i.success(t("common.copySuccess"))}return(c,g)=>(d(),m("div",_,[u(c.$slots,"default",{},()=>[f("span",null,o(e.text),1)]),y(a(n),{type:"primary",href:"javascript:void(0)",onClick:s},{default:x(()=>[w(o(a(t)("common.copy")),1)]),_:1})]))}});export{E as _};
@@ -1 +0,0 @@
1
- import{s as A,a7 as W,c as j,a5 as S,a8 as U,a as Q,aa as X}from"./vendor-ui-Cvgmewma.js";import{a as Z,M as V,G as I,B as L,m as q,T as ee}from"./index-DgrizPPB.js";/* empty css */import{z as R,ao as $,G as t,H as p,J as r,W as C,V as i,u as o,I as _,P as v,U as E,S as x,F as T,au as te,a7 as B,a as k,m as z,f as ae,k as se,at as ne,R as oe}from"./vendor-core-CNXB6kVe.js";import{u as D}from"./useUnreadStore-COt1XJEP.js";/* empty css */import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B05SHLQS.js";import{c as G,_ as le}from"./ReplyForm.vue_vue_type_script_setup_true_lang-CEqkWYsv.js";import{_ as re}from"./BaseSegmented.vue_vue_type_script_setup_true_lang-CcSntY2B.js";import{B as ie}from"./BaseBadge-BReHrAqs.js";import"./useCacheOssStore-C6-kY3lP.js";const me={class:"flex items-center gap-2"},ce={class:"text-sm font-medium"},de={class:"text-xs text-[var(--el-color-danger)] font-medium"},ue={class:"text-xs text-[var(--el-text-color-placeholder)]"},pe={class:"text-sm break-words whitespace-pre-wrap ml-10",style:{color:"var(--el-text-color-regular)"}},fe=R({__name:"ReplyItem",props:{reply:{},isSelf:{type:Boolean}},setup(e){const{t:d}=$(),n=G(d);return(f,s)=>{const h=A;return t(),p("div",null,[r("div",me,[C(F,{size:32,src:e.reply.userId?.avatar,text:e.reply.userId?.nickname?.[0]||""},null,8,["src","text"]),r("span",ce,i(e.reply.userId?.nickname||o(d)("comment.anonymous")),1),e.isSelf?(t(),_(h,{key:0,"disable-transitions":"",size:"small",type:"primary",effect:"plain"},{default:v(()=>[E(i(o(d)("comment.self")),1)]),_:1})):x("",!0),e.reply.isNew?(t(),p(T,{key:1},[s[0]||(s[0]=r("span",{class:"size-[8px] rounded-full bg-red-500 inline-block shrink-0"},null,-1)),r("span",de,i(o(d)("comment.new")),1)],64)):x("",!0),r("span",ue,i(o(n)(e.reply.createdAt)),1)]),r("div",pe,i(e.reply.content),1)])}}}),ve={class:"border border-[var(--el-border-color-lighter)] rounded-lg p-4"},ye={key:0,class:"flex items-center gap-1 mb-2"},_e={class:"text-xs text-[var(--el-color-danger)]"},xe={class:"flex items-center gap-2 mb-2"},ge={class:"font-medium"},be={class:"flex items-center gap-2 mb-1"},he={class:"text-sm font-medium"},Ce={class:"text-xs text-[var(--el-text-color-placeholder)]"},ke={class:"ml-10 text-sm break-words whitespace-pre-wrap",style:{color:"var(--el-text-color-regular)"}},Ie={key:1,class:"mt-3 ml-10 p-3 bg-[var(--el-fill-color-light)] rounded-md space-y-3"},we={key:0,class:"pt-1"},Y=R({__name:"CommentCard",props:{item:{},showReply:{type:Boolean}},emits:["reply-added"],setup(e,{emit:d}){const{t:n}=$(),f=te(),s=Z(),h=G(n),m=e,u=d,l=k(!1),a=k(""),y=k(!1),M=k(!1),H=z(()=>{const g=m.item.replies||[];return M.value?g:g.slice(0,3)});function w(g){return String(g)===String(s.userId)}function O(g){f.push({name:"preview",params:{compId:g}})}async function J(){const g=a.value;if(!(!g?.trim()||y.value)){y.value=!0;try{const c=await V.v1Comment.commentcontrollerCreate({compId:m.item.compId,targetType:I.TargetType.GLOBAL,content:g.trim(),parentId:m.item._id,rootId:m.item.rootId||m.item._id});S.success(n("comment.replySuccess")),a.value="",l.value=!1,u("reply-added",{itemId:m.item._id,reply:c.data})}catch{S.error(n("comment.replyError"))}finally{y.value=!1}}}return(g,c)=>{const K=W,P=A,N=j;return t(),p("div",ve,[e.item.isNew?(t(),p("div",ye,[c[6]||(c[6]=r("span",{class:"size-[8px] rounded-full bg-red-500 inline-block"},null,-1)),r("span",_e,i(o(n)("comment.new")),1)])):x("",!0),r("div",xe,[C(K,{type:"primary",underline:"never",onClick:c[0]||(c[0]=b=>O(e.item.compId))},{default:v(()=>[r("span",ge,i(e.item.compName),1)]),_:1})]),r("div",null,[r("div",be,[C(F,{size:32,src:e.item.userId?.avatar,text:e.item.userId?.nickname?.[0]||""},null,8,["src","text"]),r("span",he,i(e.item.userId?.nickname||o(n)("comment.anonymous")),1),r("span",Ce,i(o(h)(e.item.createdAt)),1),w(e.item.userId?._id)?(t(),_(P,{key:0,"disable-transitions":"",size:"small",type:"primary",effect:"plain"},{default:v(()=>[E(i(o(n)("comment.self")),1)]),_:1})):x("",!0),e.showReply&&!w(e.item.userId?._id)&&!l.value?(t(),_(N,{key:1,link:"",size:"small",type:"primary",onClick:c[1]||(c[1]=b=>l.value=!0)},{default:v(()=>[E(i(o(n)("comment.reply")),1)]),_:1})):x("",!0),e.showReply&&!w(e.item.userId?._id)&&l.value?(t(),_(N,{key:2,link:"",size:"small",type:"primary",onClick:c[2]||(c[2]=b=>l.value=!1)},{default:v(()=>[E(i(o(n)("comment.cancelReply")),1)]),_:1})):x("",!0)]),r("div",ke,i(e.item.content),1),e.showReply&&!w(e.item.userId?._id)&&l.value?(t(),_(le,{key:0,modelValue:a.value,"onUpdate:modelValue":c[3]||(c[3]=b=>a.value=b),loading:y.value,placeholder:o(n)("comment.replyTo",{name:e.item.userId?.nickname||""}),onSubmit:J,onCancel:c[4]||(c[4]=b=>l.value=!1)},null,8,["modelValue","loading","placeholder"])):x("",!0),e.item.replies?.length?(t(),p("div",Ie,[(t(!0),p(T,null,B(H.value,b=>(t(),_(fe,{key:b._id,reply:b,"is-self":w(b.userId?._id)},null,8,["reply","is-self"]))),128)),e.item.replies.length>3&&!M.value?(t(),p("div",we,[r("div",{class:"text-xs text-[var(--el-color-primary)] cursor-pointer hover:underline",onClick:c[5]||(c[5]=b=>M.value=!0)},i(o(n)("comment.viewAllReplies",{count:e.item.replies.length})),1)])):x("",!0)])):x("",!0)])])}}}),Ee={key:0,class:"space-y-3 pb-4 pr-3"},Re={key:1,class:"text-center py-20 text-sm text-[var(--el-text-color-placeholder)]"},$e=R({componentName:"ReceivedComments",__name:"ReceivedComments",setup(e){const{t:d}=$(),n=D(),f=k(!1),s=k({data:[],pagination:{total:0,attributes:{pageSizes:[10,20,50]}},fixedHeight:!1,fetchData:m});function h({itemId:u,reply:l}){const a=s.value.data.find(y=>y._id===u);a&&(a.replies||(a.replies=[]),a.replies=[l,...a.replies])}async function m(u){const l=u.page??1,a=u.pageSize??10;s.value.data=[];try{const y=await V.v1Comment.commentcontrollerMycompscomments({page:l,pageSize:a,type:I.MyCommentTab.RECEIVED});s.value.data=y.data.rows||[],s.value.pagination.total=y.data.total||0,f.value=!0}catch{S.error(d("comment.loadError"))}n.markAsRead(I.MyCommentTab.RECEIVED)}return(u,l)=>{const a=U;return t(),_(o(L),{key:u.$options.componentName,tableConfig:s.value,class:"flex-1 min-h-0"},{table:v(()=>[C(a,{class:"size-full"},{default:v(()=>[s.value.data.length?(t(),p("div",Ee,[(t(!0),p(T,null,B(s.value.data,y=>(t(),_(Y,{key:y._id,item:y,"show-reply":!0,onReplyAdded:h},null,8,["item"]))),128))])):f.value?(t(),p("div",Re,i(o(d)("comment.noReceivedComments")),1)):x("",!0)]),_:1})]),_:1},8,["tableConfig"])}}}),Se={key:0,class:"space-y-3 pb-4 pr-3"},Te={key:1,class:"text-center py-20 text-sm text-[var(--el-text-color-placeholder)]"},Me=R({componentName:"MyDiscussions",__name:"MyDiscussions",setup(e){const{t:d}=$(),n=D(),f=k(!1),s=k({data:[],pagination:{total:0,attributes:{pageSizes:[10,20,50]}},fixedHeight:!1,fetchData:h});async function h(m){const u=m.page??1,l=m.pageSize??10;s.value.data=[];try{const a=await V.v1Comment.commentcontrollerMycompscomments({page:u,pageSize:l,type:I.MyCommentTab.MY});s.value.data=a.data.rows||[],s.value.pagination.total=a.data.total||0,f.value=!0}catch{S.error(d("comment.loadError"))}n.markAsRead(I.MyCommentTab.MY)}return(m,u)=>{const l=U;return t(),_(o(L),{key:m.$options.componentName,tableConfig:s.value,class:"flex-1 min-h-0"},{table:v(()=>[C(l,{class:"size-full"},{default:v(()=>[s.value.data.length?(t(),p("div",Se,[(t(!0),p(T,null,B(s.value.data,a=>(t(),_(Y,{key:a._id,item:a,"show-reply":!1},null,8,["item"]))),128))])):f.value?(t(),p("div",Te,i(o(d)("comment.noMyDiscussions")),1)):x("",!0)]),_:1})]),_:1},8,["tableConfig"])}}}),ze={class:"size-full p-[10px] flex flex-col overflow-hidden"},Ve={class:"flex-1 min-h-0 mt-[10px]"},Je=R({__name:"index",setup(e){const{t:d}=$(),n=D(),f=Q(q,I.MyCommentTab.RECEIVED),s=z(()=>[{label:d("comment.tabReceived"),value:I.MyCommentTab.RECEIVED,component:$e,isDot:n.receivedCount>0},{label:d("comment.myCommentsTitle"),value:I.MyCommentTab.MY,component:Me,isDot:n.myCount>0}]),h=z(()=>s.value.find(m=>m.value===f.value)?.component);return ae(()=>{n.fetchUnreadCounts()}),(m,u)=>{const l=X;return t(),p("div",ze,[C(l,{"body-class":"!p-0",class:"sticky top-0 w-full z-10 shrink-0"},{default:v(()=>[C(o(re),{modelValue:o(f),"onUpdate:modelValue":u[0]||(u[0]=a=>se(f)?f.value=a:null),options:s.value},{default:v(({item:a})=>[C(o(ie),{"is-dot":a.isDot},{default:v(()=>[E(i(a.label),1)]),_:2},1032,["is-dot"])]),_:1},8,["modelValue","options"])]),_:1}),r("div",Ve,[C(o(ee),null,{default:v(()=>[(t(),_(ne,null,[(t(),_(oe(h.value)))],1024))]),_:1})])])}}});export{Je as default};
@@ -1 +0,0 @@
1
- import{I as Z,J as q,a as G,a6 as I,a8 as ee,b as te,c as ne,f as oe,n as se,a5 as ae,aa as re}from"./vendor-ui-Cvgmewma.js";import{V as x,_ as le,c as ce,D as ie,k as $,g as de,S as ue,T as me}from"./index-DgrizPPB.js";/* empty css */import{ap as pe,z as M,ao as k,ar as fe,G as _,I as C,P as v,W as f,u as c,J as a,U as y,V as p,w as z,f as he,d as _e,H as g,F as P,a7 as A,M as ve,a as E,m as B,D as be,k as xe,at as ge,R as we}from"./vendor-core-CNXB6kVe.js";import{_ as ye}from"./BaseSegmented.vue_vue_type_script_setup_true_lang-CcSntY2B.js";const R=(t,e)=>e.some(n=>t instanceof n);let H,W;function De(){return H||(H=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Ee(){return W||(W=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const O=new WeakMap,L=new WeakMap,T=new WeakMap;function Ce(t){const e=new Promise((n,r)=>{const l=()=>{t.removeEventListener("success",o),t.removeEventListener("error",s)},o=()=>{n(w(t.result)),l()},s=()=>{r(t.error),l()};t.addEventListener("success",o),t.addEventListener("error",s)});return T.set(e,t),e}function Ie(t){if(O.has(t))return;const e=new Promise((n,r)=>{const l=()=>{t.removeEventListener("complete",o),t.removeEventListener("error",s),t.removeEventListener("abort",s)},o=()=>{n(),l()},s=()=>{r(t.error||new DOMException("AbortError","AbortError")),l()};t.addEventListener("complete",o),t.addEventListener("error",s),t.addEventListener("abort",s)});O.set(t,e)}let j={get(t,e,n){if(t instanceof IDBTransaction){if(e==="done")return O.get(t);if(e==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return w(t[e])},set(t,e,n){return t[e]=n,!0},has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in t}};function J(t){j=t(j)}function Ve(t){return Ee().includes(t)?function(...e){return t.apply(F(this),e),w(this.request)}:function(...e){return w(t.apply(F(this),e))}}function Be(t){return typeof t=="function"?Ve(t):(t instanceof IDBTransaction&&Ie(t),R(t,De())?new Proxy(t,j):t)}function w(t){if(t instanceof IDBRequest)return Ce(t);if(L.has(t))return L.get(t);const e=Be(t);return e!==t&&(L.set(t,e),T.set(e,t)),e}const F=t=>T.get(t);function Me(t,e,{blocked:n,upgrade:r,blocking:l,terminated:o}={}){const s=indexedDB.open(t,e),d=w(s);return r&&s.addEventListener("upgradeneeded",i=>{r(w(s.result),i.oldVersion,i.newVersion,w(s.transaction),i)}),n&&s.addEventListener("blocked",i=>n(i.oldVersion,i.newVersion,i)),d.then(i=>{o&&i.addEventListener("close",()=>o()),l&&i.addEventListener("versionchange",u=>l(u.oldVersion,u.newVersion,u))}).catch(()=>{}),d}const ke=["get","getKey","getAll","getAllKeys","count"],Te=["put","add","delete","clear"],N=new Map;function Y(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(N.get(e))return N.get(e);const n=e.replace(/FromIndex$/,""),r=e!==n,l=Te.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(l||ke.includes(n)))return;const o=async function(s,...d){const i=this.transaction(s,l?"readwrite":"readonly");let u=i.store;return r&&(u=u.index(d.shift())),(await Promise.all([u[n](...d),l&&i.done]))[0]};return N.set(e,o),o}J(t=>({...t,get:(e,n,r)=>Y(e,n)||t.get(e,n,r),has:(e,n)=>!!Y(e,n)||t.has(e,n)}));const Se=["continue","continuePrimaryKey","advance"],K={},U=new WeakMap,Q=new WeakMap,Pe={get(t,e){if(!Se.includes(e))return t[e];let n=K[e];return n||(n=K[e]=function(...r){U.set(this,Q.get(this)[e](...r))}),n}};async function*Ae(...t){let e=this;if(e instanceof IDBCursor||(e=await e.openCursor(...t)),!e)return;e=e;const n=new Proxy(e,Pe);for(Q.set(n,e),T.set(n,F(e));e;)yield n,e=await(U.get(n)||e.continue()),U.delete(n)}function X(t,e){return e===Symbol.asyncIterator&&R(t,[IDBIndex,IDBObjectStore,IDBCursor])||e==="iterate"&&R(t,[IDBIndex,IDBObjectStore])}J(t=>({...t,get(e,n,r){return X(e,n)?Ae:t.get(e,n,r)},has(e,n){return X(e,n)||t.has(e,n)}}));let b=null;const Le=pe("indexedDB",{actions:{async open(t=1){return b||(b=await Me(x.INDEX_DB_NAME,t,{upgrade(e){e.objectStoreNames.contains(x.INDEX_DB_TABLE_NAME)||e.createObjectStore(x.INDEX_DB_TABLE_NAME,{keyPath:"hash",autoIncrement:!1}).createIndex("by-hash","hash")},blocked(){console.warn("IndexedDB 被其它标签页占用")}}),b)},async get(t,e){return(await this.open()).get(t,e)},async put(t,e){return(await this.open()).put(t,e)},async remove(t,e){return(await this.open()).delete(t,e)},close(){b?.close(),b=null},async deleteDatabase(){if(b){const t=b.name;this.close(),indexedDB.deleteDatabase(t)}}}}),Ne=M({__name:"RadioMatch",props:{modelValue:{default:""},modelModifiers:{}},emits:["update:modelValue"],setup(t){const{t:e}=k(),n=fe(t,"modelValue");function r(l){n.value=String(l??"")}return(l,o)=>{const s=q,d=Z;return _(),C(d,{"model-value":n.value,class:"flex flex-wrap",onChange:r},{default:v(()=>[f(s,{value:c(x).COMP_MATCH_TYPE_AUTO,class:"!flex !items-center !gap-1 !m-0 !h-auto"},{default:v(()=>[o[0]||(o[0]=a("span",{class:"inline-block w-2 h-2 rounded-full mr-1 bg-slate-400 shadow-[0_0_4px_rgba(148,163,184,0.5)]"},null,-1)),y(" "+p(c(e)("deps.match.auto")),1)]),_:1},8,["value"]),f(s,{value:c(x).COMP_MATCH_TYPE_ONLY_INSTALL,class:"!flex !items-center !gap-1 !m-0 !h-auto"},{default:v(()=>[o[1]||(o[1]=a("span",{class:"inline-block w-2 h-2 rounded-full mr-1 bg-emerald-500 shadow-[0_0_4px_rgba(16,185,129,0.5)]"},null,-1)),y(" "+p(c(e)("deps.match.onlyInstall")),1)]),_:1},8,["value"]),f(s,{value:c(x).COMP_MATCH_TYPE_MAJOR_VERSION,class:"!flex !items-center !gap-1 !m-0 !h-auto"},{default:v(()=>[o[2]||(o[2]=a("span",{class:"inline-block w-2 h-2 rounded-full mr-1 bg-sky-500 shadow-[0_0_4px_rgba(14,165,233,0.5)]"},null,-1)),y(" "+p(c(e)("deps.match.majorVersion")),1)]),_:1},8,["value"]),f(s,{value:c(x).COMP_MATCH_TYPE_MINOR_VERSION,class:"!flex !items-center !gap-1 !m-0 !h-auto"},{default:v(()=>[o[3]||(o[3]=a("span",{class:"inline-block w-2 h-2 rounded-full mr-1 bg-amber-500 shadow-[0_0_4px_rgba(245,158,11,0.5)]"},null,-1)),y(" "+p(c(e)("deps.match.minorVersion")),1)]),_:1},8,["value"]),f(s,{value:c(x).COMP_MATCH_TYPE_EXACT_VERSION,class:"!flex !items-center !gap-1 !m-0 !h-auto"},{default:v(()=>[o[4]||(o[4]=a("span",{class:"inline-block w-2 h-2 rounded-full mr-1 bg-red-500 shadow-[0_0_4px_rgba(239,68,68,0.5)]"},null,-1)),y(" "+p(c(e)("deps.match.exactVersion")),1)]),_:1},8,["value"])]),_:1},8,["model-value"])}}}),V=le(Ne,[["__scopeId","data-v-bcdd97bb"]]),Re={class:"flex flex-col gap-4 p-2"},Oe={class:"flex flex-wrap gap-x-4 gap-y-1 px-3 py-2 bg-[var(--el-fill-color-light)] border border-[var(--el-border-color-lighter)] rounded-lg text-xs text-[var(--el-text-color-regular)]"},je={class:"font-medium whitespace-nowrap"},Fe={class:"text-[var(--el-text-color-secondary)] hidden sm:inline"},Ue={class:"bg-[var(--el-bg-color)] border border-[var(--el-border-color-lighter)] rounded-lg overflow-hidden"},$e={class:"flex items-center justify-between px-4 py-3 bg-[var(--el-fill-color-light)] border-b border-[var(--el-border-color-lighter)]"},ze={class:"text-[15px] font-semibold m-0 text-[var(--el-text-color-primary)]"},He={class:"flex items-center gap-2"},We={class:"text-xs text-[var(--el-text-color-secondary)] whitespace-nowrap"},Ye={class:"py-1"},Ke={class:"flex items-baseline gap-2.5 min-w-0 mr-3"},Xe={class:"text-[13px] font-medium text-[var(--el-text-color-primary)] font-mono truncate"},Ge={class:"text-xs text-[var(--el-text-color-placeholder)] font-mono whitespace-nowrap shrink-0"},Je={class:"bg-[var(--el-bg-color)] border border-[var(--el-border-color-lighter)] rounded-lg overflow-hidden"},Qe={class:"flex items-center justify-between px-4 py-3 bg-[var(--el-fill-color-light)] border-b border-[var(--el-border-color-lighter)]"},Ze={class:"text-[15px] font-semibold m-0 text-[var(--el-text-color-primary)]"},qe={class:"flex items-center gap-2"},et={class:"text-xs text-[var(--el-text-color-secondary)] whitespace-nowrap"},tt={class:"py-1"},nt={class:"flex items-baseline gap-2.5 min-w-0 mr-3"},ot={class:"text-[13px] font-medium text-[var(--el-text-color-primary)] font-mono truncate"},st={class:"text-xs text-[var(--el-text-color-placeholder)] font-mono whitespace-nowrap shrink-0"},at=M({__name:"index",setup(t){const{t:e}=k(),n=ce(),r=G(ie,{dependencies:[],devDependencies:[]}),l=E([]),o=E([]),s=E(""),d=E(""),i=B(()=>[{key:"auto",dotClass:"bg-slate-400",label:e("deps.match.auto"),desc:e("deps.matchDesc.auto")},{key:"onlyInstall",dotClass:"bg-emerald-500",label:e("deps.match.onlyInstall"),desc:e("deps.matchDesc.onlyInstall")},{key:"majorVersion",dotClass:"bg-sky-500",label:e("deps.match.majorVersion"),desc:e("deps.matchDesc.majorVersion")},{key:"minorVersion",dotClass:"bg-amber-500",label:e("deps.match.minorVersion"),desc:e("deps.matchDesc.minorVersion")},{key:"exactVersion",dotClass:"bg-red-500",label:e("deps.match.exactVersion"),desc:e("deps.matchDesc.exactVersion")}]);return z(s,u=>{u&&l.value.forEach(h=>{h.match=u})}),z(d,u=>{u&&o.value.forEach(h=>{h.match=u})}),he(async()=>{l.value=I(n.dependencies),o.value=I(n.devDependencies)}),_e(()=>{l.value.length&&n.setDependencies(I(l.value)),o.value.length&&n.setDevDependencies(I(o.value)),r.value={dependencies:l.value.length?l.value:r.value.dependencies,devDependencies:o.value.length?o.value:r.value.devDependencies}}),(u,h)=>{const D=ee;return _(),C(D,{"wrap-class":"size-full"},{default:v(()=>[a("div",Re,[a("div",Oe,[(_(!0),g(P,null,A(i.value,m=>(_(),g("div",{key:m.key,class:"flex items-center gap-1"},[a("span",{class:ve(["inline-block w-2 h-2 rounded-full shrink-0",m.dotClass])},null,2),a("span",je,p(m.label),1),a("span",Fe,"— "+p(m.desc),1)]))),128))]),a("div",Ue,[a("div",$e,[a("h2",ze,p(c(e)("deps.dependencies")),1),a("div",He,[a("span",We,p(c(e)("deps.batchSetting")),1),f(c(V),{modelValue:s.value,"onUpdate:modelValue":h[0]||(h[0]=m=>s.value=m)},null,8,["modelValue"])])]),a("div",Ye,[(_(!0),g(P,null,A(l.value,m=>(_(),g("div",{key:m.name,class:"flex items-center justify-between px-4 py-2 border-t border-[var(--el-border-color-extra-light)] first:border-t-0 hover:bg-[var(--el-fill-color-light)] transition-colors duration-150"},[a("div",Ke,[a("span",Xe,p(m.name),1),a("span",Ge,p(m.version),1)]),f(c(V),{modelValue:m.match,"onUpdate:modelValue":S=>m.match=S},null,8,["modelValue","onUpdate:modelValue"])]))),128))])]),a("div",Je,[a("div",Qe,[a("h2",Ze,p(c(e)("deps.devDependencies")),1),a("div",qe,[a("span",et,p(c(e)("deps.batchSetting")),1),f(c(V),{modelValue:d.value,"onUpdate:modelValue":h[1]||(h[1]=m=>d.value=m)},null,8,["modelValue"])])]),a("div",tt,[(_(!0),g(P,null,A(o.value,m=>(_(),g("div",{key:m.name,class:"flex items-center justify-between px-4 py-2 border-t border-[var(--el-border-color-extra-light)] first:border-t-0 hover:bg-[var(--el-fill-color-light)] transition-colors duration-150"},[a("div",nt,[a("span",ot,p(m.name),1),a("span",st,p(m.version),1)]),f(c(V),{modelValue:m.match,"onUpdate:modelValue":S=>m.match=S},null,8,["modelValue","onUpdate:modelValue"])]))),128))])])])]),_:1})}}}),rt={class:"flex items-center"},lt={class:"ml-2"},ct=M({__name:"index",setup(t){const{t:e}=k(),n=Le(),r=E("");async function l(){try{if(!navigator.storage||!navigator.storage.estimate)throw new Error(e("message.error.storageNotSupported"));return await navigator.storage.estimate()}catch(d){return console.error("获取存储统计失败:",d.message),null}}function o(){se.confirm(e("common.clearCacheConfirm"),e("common.info"),{confirmButtonText:e("common.confirm"),cancelButtonText:e("common.cancel"),type:"warning",beforeClose:async(d,i,u)=>{d==="confirm"&&(i.confirmButtonLoading=!0,await $.module.modulecontrollerClearprebuild(),await n.deleteDatabase(),i.confirmButtonLoading=!1,await s(),ae.success(e("common.cacheCleared")),window?.umami?.track(de.CLEAR_CACHE)),u()}}).catch(()=>{})}async function s(){const d=await l(),i=await $.module.modulecontrollerPrebuildsize(),{size:u=0}=i.data??{},{usage:h=0}=d??{},D=(h+u)/(1024*1024);r.value=`${D.toFixed(2)} MB`}return be(async()=>{await s()}),(d,i)=>{const u=ne,h=te,D=oe;return _(),C(D,null,{default:v(()=>[f(h,{label:c(e)("common.cache")+":"},{default:v(()=>[a("div",rt,[f(u,{onClick:o},{default:v(()=>[y(p(c(e)("common.clearCache")),1)]),_:1}),a("span",lt,p(c(e)("common.cacheSize"))+":"+p(r.value),1)])]),_:1},8,["label"])]),_:1})}}}),it={class:"size-full p-[10px] overflow-hidden flex flex-col rounded-sm"},dt={class:"flex-1 overflow-auto overflow-x-hidden p-1"},_t=M({__name:"index",setup(t){const{t:e}=k(),n=G(ue,"previewRule"),r=[{label:B(()=>e("setting.previewRule")),value:"previewRule",component:at},{label:B(()=>e("setting.other")),value:"otherSetting",component:ct}],l=B(()=>r.find(s=>s.value===n.value)?.component||{render:()=>null});return(o,s)=>{const d=re;return _(),g("div",it,[f(d,{"body-class":"!p-0",class:"sticky top-0 w-full"},{default:v(()=>[f(c(ye),{modelValue:c(n),"onUpdate:modelValue":s[0]||(s[0]=i=>xe(n)?n.value=i:null),options:r},null,8,["modelValue"])]),_:1}),a("div",dt,[f(c(me),null,{default:v(()=>[(_(),C(ge,null,[(_(),C(we(l.value)))],1024))]),_:1})])])}}});export{_t as default};
@@ -1 +0,0 @@
1
- import{_ as e}from"./index.vue_vue_type_style_index_0_lang-66fUtqSq.js";import{z as o,G as t,H as s,W as r}from"./vendor-core-CNXB6kVe.js";import"./vendor-xterm-mNFjEaKn.js";import"./index-DgrizPPB.js";import"./vendor-ui-Cvgmewma.js";const a={class:"size-full"},d=o({__name:"index",setup(n){return(_,c)=>(t(),s("div",a,[r(e)]))}});export{d as default};
@@ -1 +0,0 @@
1
- import{aa as S,S as D,a8 as O}from"./vendor-ui-Cvgmewma.js";import{V as r,i as N,o as T,k as E}from"./index-DgrizPPB.js";import{z as g,ao as y,G as I,H as F,W as e,P as c,J as s,u as o,V as A,U as R,x as z,ax as B,au as G,f as U,aa as W,I as H,a as K,m as w}from"./vendor-core-CNXB6kVe.js";import{c as j}from"./useCompMetaLocalStore-DUMtt_yz.js";import{C as J,a as X,_ as Y}from"./index.vue_vue_type_script_setup_true_lang-ByHasmxS.js";/* empty css */import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-Bs4fbZK8.js";import{u as Q}from"./useVscodeOpen-CCvngYEV.js";import{_ as Z}from"./index3-BiHnTK1Z.js";import{_ as ee}from"./useTeamHeaders-BbJQSrjN.js";import{_ as oe}from"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js";import"./index-CuCbuNEj.js";import"./index.vue_vue_type_script_setup_true_lang-Ap8wTvsB.js";import"./index-DyFpWAJM.js";import"./useCacheOssStore-C6-kY3lP.js";import"./BaseDialog.vue_vue_type_script_setup_true_lang-BK7dbjCA.js";/* empty css */import"./useMessage-yR4W8KDP.js";import"./index-KhSB9wFh.js";/* empty css */const te={class:"size-full overflow-hidden flex flex-col"},ae={class:"size-full"},se={class:"flex items-center"},ne={class:"flex-1"},le={class:"text-xs ml-auto"},ce=g({__name:"index",props:{version:{},compAttrs:{}},setup(n){const{openCompPathInVscode:v,openCompPathInExplorer:h}=Q(),p=n,{t:u}=y();function C(t){t==="editor"?v(p.compAttrs.fullPath,`./${r.COMP_CONFIG_FILENAME}`):h(p.compAttrs.fullPath,`./${r.COMP_CONFIG_FILENAME}`)}return(t,i)=>{const m=S,a=D;return I(),F("div",te,[e(o(Z),{class:"size-full flex-1 shrink-0 flex flex-col gap-1",bg:n.compAttrs?.bgColor},{default:c(({bg:d,updateColor:_})=>[e(m,{"body-class":"!p-0 !overflow-visible",class:"flex-1 relative z-10"},{default:c(()=>[s("div",ae,[e(q,{compAttrs:n.compAttrs,version:n.version,compType:o(r).IFRAME_ROUTES.ITEM.PREVIEW_LOCAL},null,8,["compAttrs","version","compType"])])]),_:1}),s("div",se,[s("div",ne,[s("span",null,A(n.compAttrs?.version),1)]),s("span",le,[s("span",null,A(o(u)("comp.bgPanel"))+":",1),e(a,{teleported:!0,modelValue:d,clearable:"",onChange:_,onActiveChange:_},null,8,["modelValue","onChange","onActiveChange"])])])]),_:1},8,["bg"]),s("div",null,[R(A(o(u)("comp.compLocation"))+": ",1),e(o(ee),{path:n.compAttrs.fullPath,onCommand:C},null,8,["path"])])])}}}),re={class:"h-[50vh]"},Ve=g({__name:"index",setup(n){const{t:v}=y(),h=new Map;z(r.PROVIDE_KEY_CALLBACKS,h);const p=B(),u=G(),C=N(),{compId:t}=p.params,i=j(t)(),m=K(!1),a=w(()=>i.detail),d=w(()=>Object.keys(a.value??{}).length>0),_=w(()=>{const l=T.getPreviewUrl(a.value.path,[`\\${r.COMP_README_FILENAME}`]);return`${r.COMP_PREVIEW_PREFIX_LOCAL}/${l}`});async function b(){if(!t)return;m.value=!0;const l=await E.comp.compcontrollerLocalcompdetailbypathhash({fullPathHash:t}),x=await E.comp.compcontrollerDep({compPath:l.data.path}),{thirdParty:f=[]}=x.data,P=f.map($=>$.name),k=await E.module.modulecontrollerPrebuild({deps:P}),{entryNameToFile:M={}}=k.data;i.setDetail(l.data),i.setDep(f),i.setDepToFile(M),m.value=!1}function L(){C.addPayLoad(`/previewLocal/${t}`,{name:`${a.value?.name??""}`})}function V(){const{href:l}=u.resolve({name:"previewLocalBlank",params:{compId:t}});window.open(l,"_blank")}return U(async()=>{d.value||await b(),L()}),(l,x)=>{const f=W("Icon"),P=O;return I(),H(P,{"wrap-class":"preview-container relative",class:"size-full p-[10px]"},{default:c(()=>[e(o(oe),{isEmpty:!d.value,loading:m.value},{default:c(()=>[s("div",re,[e(o(J),{title:a.value?.name,actions:["maximize"]},{beforeActions:c(()=>[e(o(X),{type:"primary",circle:"",title:o(v)("common.newPage"),onClick:V},{default:c(()=>[e(f,{icon:"material-symbols:screen-share-rounded"})]),_:1},8,["title"])]),default:c(()=>[e(ce,{compAttrs:a.value,version:a.value.version},null,8,["compAttrs","version"])]),_:1},8,["title"])]),e(Y,{mdSrc:_.value,scrollContainer:".preview-container",stickyTopDistance:0,showSimilarComp:!1},null,8,["mdSrc"])]),_:1},8,["isEmpty","loading"])]),_:1})}}});export{Ve as default};
@@ -1 +0,0 @@
1
- import{s as i}from"./vendor-ui-Cvgmewma.js";import{c as u,d,_}from"./index-DgrizPPB.js";import{z as l,ao as m,au as g,G as f,I as S,P as h,J as x,M as C,u as a,V as t,m as V}from"./vendor-core-CNXB6kVe.js";const b=l({__name:"index",setup(k){const{t:e}=m(),o=u(),s=d(),r=g(),n=V(()=>s.isUpgrade?e("upgrade.hasUpdate"):e("upgrade.betaVersion"));function c(){r.push({name:"upgrade"})}return(U,y)=>{const p=i;return f(),S(p,{type:"primary",round:"",class:"cursor-pointer","disable-transitions":"",onClick:c},{default:h(()=>[x("span",{class:C({"is-upgrade":a(s).isUpgrade})},t(n.value)+" "+t(a(o).compHubVersion),3)]),_:1})}}}),z=_(b,[["__scopeId","data-v-7cb44021"]]);export{z as S};
@@ -1 +0,0 @@
1
- import{v as $,F as K,C as G,N as V,ad as F,n as H}from"./vendor-ui-Cvgmewma.js";import{V as i,B as Q,M as c,g as C}from"./index-DgrizPPB.js";import{z as Y,h as z,ao as W,ax as j,au as J,x as _,aq as I,$ as X,Q as Z,u as p,G as q,H as ee,W as h,P as te,a as w,m as n,e as T,n as oe}from"./vendor-core-CNXB6kVe.js";import{c as ae,d as re,b as se}from"./index.vue_vue_type_script_setup_true_lang-Ap8wTvsB.js";import{c as ne}from"./useCompEditStore-B7__tBPJ.js";import{_ as ie}from"./index.vue_vue_type_style_index_0_lang-CUQ5yd-1.js";import{u as ce}from"./useTeamHeaders-BbJQSrjN.js";import{u as le}from"./useKeyword-O-wdQuD_.js";import"./index-DyFpWAJM.js";import"./useCompMetaLocalStore-DUMtt_yz.js";import"./useCacheOssStore-C6-kY3lP.js";import"./useVscodeOpen-CCvngYEV.js";import"./BaseDialog.vue_vue_type_script_setup_true_lang-BK7dbjCA.js";/* empty css */import"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js";import"./useMessage-yR4W8KDP.js";/* empty css */import"./v4-EwEgHOG0.js";import"./index-KhSB9wFh.js";import"./index3-BiHnTK1Z.js";import"./BaseSegmented.vue_vue_type_script_setup_true_lang-CcSntY2B.js";import"./BaseBadge-BReHrAqs.js";import"./LoadingWrapper.vue_vue_type_script_setup_true_lang-BYA4gUOI.js";/* empty css */const pe={class:"size-full overflow-hidden"},Ue=Y({__name:"index",setup(me){const S=z()?.uid,{t:a}=W(),v=j(),k=J(),{headers:m,teamId:u}=ce(),s=ae(`${v.path}_${i.SCOPE_ID_TEAM_COMP_LIST}`)();_(i.PROVIDE_KEY_COMP_LIST_STORE,s);const L=new Map;_(i.PROVIDE_KEY_CALLBACKS,L);const b=ne(v.path,i.DIALOG_TYPE_EDIT)();_(i.PROVIDE_KEY_COMP_EDIT_STORE,b);const E=re(u)(),O=I("compUpdateDialog"),R=I("compIframeContainer"),y=w([]),d=w(!1);async function P(e){d.value=!0;const o=(await c.v1Comp.compcontrollerTags({keyword:e})).data?.rows??[];y.value=o.map(r=>({value:r,label:r})),d.value=!1}const f=w({data:[],search:{column:[{prop:"keyword",component:T(K),label:n(()=>a("common.keyword")),value:"",autoQuery:!1,attributes:{placeholder:n(()=>a("comp.keywordPlaceholder")),fetchSuggestions:M,triggerOnFocus:!1,style:"width: 350px",fitInputWidth:!0}},{prop:"group",component:T(G),label:n(()=>a("team.group")),value:"",attributes:{options:n(()=>E.menuGroup),clearable:!0,props:{value:"id",checkStrictly:!0}}},{prop:"tags",component:T(V),label:n(()=>a("comp.tags")),value:[],autoQuery:!1,attributes:{multiple:!0,filterable:!0,remote:!0,clearable:!0,reserveKeyword:!1,defaultFirstOption:!0,placeholder:n(()=>a("comp.pleaseInputTags")),remoteMethod:P,loading:d,options:y,style:"width: 240px"}}]},pagination:{total:0,attributes:{pageSizes:[10,20,30]}},autoLoading:!1,fetchData:x}),A=n(()=>f.value?.search?.column[0]?.value??"");le(A,R);function M(e,t){if(e.length<=1)return t([]);c.v1Keyword.keywordcontrollerQuerykeywordscomp({keyword:e,type:"compTeam"},{headers:m}).then(o=>{const{keywords:r=[]}=o.data||{};t(r)})}async function x(e){s.renderList([]),await oe(),s.setLoading(!0),e.keyword&&window?.umami?.track(C.SEARCH_COMPONENT,{keyword:e.keyword,page:"team"});const{group:t=[]}=e||{};delete e.group,t.length&&window?.umami?.track(C.TEAM_FILTER_GROUP,{teamId:u,group:t});const o=t?.[t.length-1];if(o){let l=E.getSelectedGroupLeafNodes(o);l=l.length===0?[o]:l,e.leafNodeIds=l}const r=await c.v1Team.teamcontrollerTeamcomps({...e,tags:Array.isArray(e.tags)?e.tags.join(","):e.tags||"",scene:"library"},{headers:m}),{rows:g,total:N}=r.data??{};s.renderList(g??[]),f.value.pagination.total=N??0}function D(e){k.push({path:`/previewTeam/${u}/${e}`})}async function U(e){const t=F.service({fullscreen:!0});try{const o=e,r=await c.v1Team.teamcontrollerCheckcompupdatepermission({compId:o},{headers:m}),{result:g}=r.data||{};if(g==="cannot_update"){H.confirm(a("message.noUpdatePermission"),a("common.info"),{confirmButtonText:a("common.confirm"),cancelButtonText:a("common.cancel"),type:"warning"}).finally(()=>{});return}O.value?.open(o)}finally{t.close()}}function B(e){c.v1Comp.compcontrollerCompdetail({compId:e}).then(t=>{s.updateCompListItemById(e,t.data)})}return X(()=>{s.$reset()}),(e,t)=>{const o=$;return Z((q(),ee("div",pe,[h(p(Q),{tableConfig:f.value},{table:te(()=>[h(se,{ref:"compIframeContainer",iuid:p(S),compType:p(i).IFRAME_ROUTES.CONTAINER.TEAM_ALL,onPreview:D,onUpdate:U},null,8,["iuid","compType"])]),_:1},8,["tableConfig"]),h(ie,{ref:"compUpdateDialog",onUpdateSuccess:B},null,512)])),[[o,p(s).loading]])}}});export{Ue as default};
@@ -1 +0,0 @@
1
- import{g as L,c as W,s as j,N as I,ac as J,F as X,n as Z,a5 as x}from"./vendor-ui-Cvgmewma.js";import{B as q,M as u,g as E}from"./index-DgrizPPB.js";import"./el-table-column-C2GQUl4R.js";import{z as ee,ao as ae,au as te,f as oe,G as p,H as _,W as m,P as l,ac as T,ad as U,U as C,V as v,u as i,F as B,a7 as O,I as S,J as ne,a as b,m as t,e as D}from"./vendor-core-CNXB6kVe.js";import{d as se}from"./index.vue_vue_type_script_setup_true_lang-Ap8wTvsB.js";import{h as N}from"./moment-B-YVwB4U.js";import{u as le}from"./useTeamHeaders-BbJQSrjN.js";import{_ as re}from"./LoadingWrapper.vue_vue_type_script_setup_true_lang-BYA4gUOI.js";import"./index-DyFpWAJM.js";import"./useCompMetaLocalStore-DUMtt_yz.js";import"./useCacheOssStore-C6-kY3lP.js";import"./useVscodeOpen-CCvngYEV.js";import"./BaseDialog.vue_vue_type_script_setup_true_lang-BK7dbjCA.js";/* empty css */import"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js";import"./useMessage-yR4W8KDP.js";/* empty css */const ce={class:"size-full"},me={class:"text-gray-300"},pe={key:0,class:"flex flex-wrap gap-1"},ie={key:1},Be=ee({__name:"index",setup(ue){const{t:a}=ae(),V=te(),{headers:d,teamId:h}=le(),y=se(h)(),w=b([]),A=b([]),k=b(!1);async function P(e){k.value=!0;const c=(await u.v1Comp.compcontrollerTags({keyword:e})).data?.rows??[];A.value=c.map(n=>({value:n,label:n})),k.value=!1}const f=b({data:[],column:[{prop:"name",label:t(()=>a("comp.name")),align:"center"},{prop:"authorId.nickname",label:t(()=>a("common.author")),align:"center",formatter:e=>e.teamUserNickname||e.authorId?.nickname||"--"},{prop:"version",label:t(()=>a("comp.version")),align:"center"},{prop:"desc",label:t(()=>a("comp.desc")),align:"center",showOverflowTooltip:{popperClass:"table-text-tooltip"}},{slot:"tags",prop:"tags",label:t(()=>a("comp.tags")),align:"center"},{prop:"createdAt",label:t(()=>a("team.createTime")),align:"center",formatter:e=>e.createdAt?N(e.createdAt).format("YYYY-MM-DD"):"--"},{prop:"updatedAt",label:t(()=>a("team.updateTime")),align:"center",formatter:e=>e.updatedAt?N(e.updatedAt).format("YYYY-MM-DD"):"--"},{slot:"canUpdateUsers",prop:"canUpdateUsers",label:t(()=>a("team.updateAuth")),align:"center"},{slot:"operation",prop:"operation",label:t(()=>a("common.operation")),align:"center"}],search:{column:[{prop:"keyword",component:D(X),label:t(()=>a("common.keyword")),value:"",autoQuery:!1,attributes:{placeholder:t(()=>a("comp.keywordPlaceholder")),fetchSuggestions:R,triggerOnFocus:!1,style:"width: 350px",fitInputWidth:!0}},{prop:"tags",component:D(I),label:t(()=>a("comp.tags")),value:[],autoQuery:!1,attributes:{multiple:!0,filterable:!0,remote:!0,clearable:!0,reserveKeyword:!1,defaultFirstOption:!0,placeholder:t(()=>a("comp.pleaseInputTags")),remoteMethod:P,loading:k,options:A,style:"width: 240px"}}]},pagination:{total:0},fixedHeight:!1,fetchData:H}),Y=t(()=>w.value.map(e=>({value:e._id,label:e.teamUserNickname||e.nickname||e.account})));function R(e,o){if(e.length<=1)return o([]);u.v1Keyword.keywordcontrollerQuerykeywordscomp({keyword:e,type:"compTeam"},{headers:d}).then(c=>{const{keywords:n=[]}=c.data||{};o(n)})}async function H(e){const o=await u.v1Team.teamcontrollerTeamcomps({...e,tags:Array.isArray(e.tags)?e.tags.join(","):e.tags||"",scene:"management"},{headers:d}),{rows:c,total:n}=o.data||{};f.value.data=c||[],f.value.pagination.total=n||0}async function $(e,o){o.start();try{if(await Z.confirm(a("team.deleteCompConfirm",{name:e.name}),a("common.info"),{confirmButtonText:a("common.confirm"),cancelButtonText:a("common.cancel"),type:"warning"}).catch(()=>{})!=="confirm")return;await u.v1Team.teamcontrollerRemovecompfromteam({compIds:[e._id]},{headers:d}).then(()=>{x.success(a("message.success.delete")),f.value.data=f.value.data.filter(n=>n._id!==e._id),y.setTeamDetail({...y.teamDetail,compCount:y.teamDetail.compCount-1}),window?.umami?.track(E.TEAM_COMP_REMOVE,{teamId:h,compId:e._id,compName:e.name})})}finally{o.end()}}function F(e){V.push({path:`/previewTeam/${h}/${e._id}`})}function z(){u.v1Team.teamcontrollerAllmember({headers:d}).then(e=>{w.value=e.data?.rows||[]})}function Q(e){const o={compId:e._id,canUpdateUserIds:e.canUpdateUsers||[]};u.v1Team.teamcontrollerUpdatecompcanupdateusers(o,{headers:d}).then(()=>{x.success(a("message.success.update")),window?.umami?.track(E.TEAM_COMP_PERMISSION_CHANGE,{teamId:h,compId:e._id,userIds:o.canUpdateUserIds})})}return oe(()=>{z()}),(e,o)=>{const c=J,n=L,G=j,M=W;return p(),_("div",ce,[m(i(q),{tableConfig:f.value,border:""},{canUpdateUsers:l(({col:g})=>[m(n,T(U(g)),{default:l(({row:r})=>[m(i(I),{modelValue:r.canUpdateUsers,"onUpdate:modelValue":s=>r.canUpdateUsers=s,multiple:"","collapse-tags":"","collapse-tags-tooltip":"",placeholder:i(a)("team.selectCanUpdateUser"),onChange:s=>Q(r)},{header:l(()=>[ne("span",me,v(i(a)("team.authorAutoAuth")),1)]),default:l(()=>[(p(!0),_(B,null,O(Y.value,s=>(p(),S(c,{key:s.value,label:s.label,value:s.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","placeholder","onChange"])]),_:1},16)]),tags:l(({col:g})=>[m(n,T(U(g)),{default:l(({row:r})=>[r.tags?.length?(p(),_("div",pe,[(p(!0),_(B,null,O(r.tags,s=>(p(),S(G,{key:s,size:"small","disable-transitions":!0},{default:l(()=>[C(v(s),1)]),_:2},1024))),128))])):(p(),_("span",ie,"--"))]),_:1},16)]),operation:l(({col:g})=>[m(n,T(U(g)),{default:l(({row:r})=>[m(M,{type:"primary",onClick:s=>F(r)},{default:l(()=>[C(v(i(a)("common.preview")),1)]),_:1},8,["onClick"]),m(i(re),null,{default:l(({instance:s,loading:K})=>[m(M,{type:"danger",loading:K,onClick:de=>$(r,s)},{default:l(()=>[C(v(i(a)("common.delete")),1)]),_:1},8,["loading","onClick"])]),_:2},1024)]),_:1},16)]),_:1},8,["tableConfig"])])}}});export{Be as default};
@@ -1 +0,0 @@
1
- import{v as k,F as x,N as U}from"./vendor-ui-Cvgmewma.js";import{V as a,B as $,M as p}from"./index-DgrizPPB.js";import{z as K,ao as Y,au as B,ax as V,x as u,aq as T,$ as F,Q as N,u as l,G as H,H as Q,W as d,P as z,h as G,a as f,m as n,e as v,n as W}from"./vendor-core-CNXB6kVe.js";import{u as j}from"./useTeamHeaders-BbJQSrjN.js";import{c as J,b as X}from"./index.vue_vue_type_script_setup_true_lang-Ap8wTvsB.js";import{c as Z}from"./useCompEditStore-B7__tBPJ.js";import{_ as q}from"./index.vue_vue_type_style_index_0_lang-CUQ5yd-1.js";import{u as ee}from"./useKeyword-O-wdQuD_.js";import"./BaseDialog.vue_vue_type_script_setup_true_lang-BK7dbjCA.js";/* empty css *//* empty css */import"./index-DyFpWAJM.js";import"./useCompMetaLocalStore-DUMtt_yz.js";import"./useCacheOssStore-C6-kY3lP.js";import"./useVscodeOpen-CCvngYEV.js";import"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js";import"./useMessage-yR4W8KDP.js";/* empty css */import"./v4-EwEgHOG0.js";import"./index-KhSB9wFh.js";import"./index3-BiHnTK1Z.js";import"./BaseSegmented.vue_vue_type_script_setup_true_lang-CcSntY2B.js";import"./BaseBadge-BReHrAqs.js";import"./LoadingWrapper.vue_vue_type_script_setup_true_lang-BYA4gUOI.js";const te={class:"size-full"},Se=K({__name:"index",setup(ae){const{t:i}=Y(),w=G(),C=B(),_=V(),{headers:g,teamId:y}=j(),o=J(`${_.path}_${a.SCOPE_ID_TEAM_MY_COMP_LIST}`)();u(a.PROVIDE_KEY_COMP_LIST_STORE,o);const I=Z(`${_.path}_${a.SCOPE_ID_TEAM_MY_COMP_UPDATE}`,a.DIALOG_TYPE_EDIT)();u(a.PROVIDE_KEY_COMP_EDIT_STORE,I);const h=new Map;u(a.PROVIDE_KEY_CALLBACKS,h);const M=T("compUpdateDialog"),O=T("compIframeContainer"),E=f([]),m=f(!1);async function S(e){m.value=!0;const r=(await p.v1Comp.compcontrollerTags({keyword:e})).data?.rows??[];E.value=r.map(s=>({value:s,label:s})),m.value=!1}const c=f({data:[],search:{column:[{prop:"keyword",component:v(x),label:n(()=>i("common.keyword")),value:"",autoQuery:!1,attributes:{placeholder:n(()=>i("comp.keywordPlaceholder")),fetchSuggestions:D,triggerOnFocus:!1,style:"width: 350px",fitInputWidth:!0}},{prop:"tags",component:v(U),label:n(()=>i("comp.tags")),value:[],autoQuery:!1,attributes:{multiple:!0,filterable:!0,remote:!0,clearable:!0,reserveKeyword:!1,defaultFirstOption:!0,placeholder:n(()=>i("comp.pleaseInputTags")),remoteMethod:S,loading:m,options:E,style:"width: 240px"}}]},pagination:{total:0},fixedHeight:!1,autoLoading:!1,fetchData:L}),P=n(()=>c.value?.search?.column[0]?.value??"");ee(P,O);function D(e,t){if(e.length<=1)return t([]);p.v1Keyword.keywordcontrollerQuerykeywordscomp({keyword:e,type:"compTeamMy"},{headers:g}).then(r=>{const{keywords:s=[]}=r.data||{};t(s)})}async function L(e){o.renderList([]),await W(),o.setLoading(!0);const t=await p.v1Team.teamcontrollerMyteamcomps({...e,tags:Array.isArray(e.tags)?e.tags.join(","):e.tags||""},{headers:g}),{rows:r,total:s}=t.data??{};o.renderList(r??[]),c.value.pagination.total=s??0}function R(e){C.push({path:`/previewTeam/${y}/${e}`})}async function b(e){M.value?.open(e)}function A(e){p.v1Comp.compcontrollerCompdetail({compId:e}).then(t=>{o.updateCompListItemById(e,t.data)})}return h.set(a.COMP_METHOD_KEY_AFTER_COMP_DEL,()=>{c.value.pagination.total--}),F(()=>{o.$reset()}),(e,t)=>{const r=k;return N((H(),Q("div",te,[d(l($),{tableConfig:c.value,border:""},{table:z(()=>[d(X,{ref:"compIframeContainer",iuid:l(w)?.uid,compType:l(a).IFRAME_ROUTES.CONTAINER.TEAM_MINE,onPreview:R,onUpdate:b},null,8,["iuid","compType"])]),_:1},8,["tableConfig"]),d(q,{ref:"compUpdateDialog",onUpdateSuccess:A},null,512)])),[[r,l(o).loading]])}}});export{Se as default};
@@ -1,6 +0,0 @@
1
- import{y as S,s as V,u as B,a8 as D,a9 as I,aa as L}from"./vendor-ui-Cvgmewma.js";import{c as N,d as F,M as H}from"./index-DgrizPPB.js";/* empty css *//* empty css */import{l as j}from"./index-KhSB9wFh.js";import{z as U,ao as w,G as s,H as l,W as t,u as e,P as a,J as i,V as o,S as v,U as r,m as y,f as A,aa as G,F as b,I as g,a7 as J,a as P}from"./vendor-core-CNXB6kVe.js";import{_ as R}from"./CanvasAnimation.vue_vue_type_script_setup_true_lang-T5vn0JFD.js";import{S as W}from"./SiteLogo-Bpm2Ah9F.js";const q={class:"flex items-center gap-[5px]"},K={key:0},O={class:"text-sm whitespace-pre-line leading-5"},Q=U({__name:"UpgradeItem",props:{version:{type:String,default:""},desc:{type:String,default:""},latestVersion:{type:String,default:""}},setup(d){const{t:n}=w(),c=d,p=y(()=>c.latestVersion===c.version.replace(/^[^0-9]+/,""));return(h,m)=>(s(),l("div",null,[t(e(S),{"content-position":"center"},{default:a(()=>[i("div",q,[t(e(V),{type:p.value?"primary":"info",round:"",size:"small"},{default:a(()=>[p.value?(s(),l("span",K,o(e(n)("upgrade.current")),1)):v("",!0),r(" "+o(d.version),1)]),_:1},8,["type"])])]),_:1}),i("p",O,o(d.desc),1)]))}}),X={class:"relative"},Y={class:"flex items-center gap-[5px]"},Z={key:0,class:"flex items-center justify-center"},ee={class:"mb-[10px]"},te=`
2
- # 全局安装最新版本
3
- npm install comp-hub@latest -g
4
- `,ce=U({__name:"index",setup(d){const{t:n}=w(),c=B(),p=y(()=>c.value?"dark":"light"),h=y(()=>`\`\`\`bash
5
- ${te.trim()}
6
- \`\`\``),m=P([]),C=N(),u=F();return A(async()=>{const x=await H.v1Upgrade.upgradecontrollerLogs();m.value=x.data.rows??[]}),(x,k)=>{const E=G("router-link"),_=V,T=I,$=S,z=D,M=L;return s(),l("div",X,[t(e(R)),t(M,{"body-class":"!p-0",class:"absolute inset-0 max-w-[1200px] mx-auto overflow-hidden"},{default:a(()=>[t(z,{"wrap-class":"p-[20px]"},{default:a(()=>[i("div",Y,[t(E,{to:"/"},{default:a(()=>[t(e(W),{logoClass:"h-[30px]"})]),_:1}),t(_,{disableTransitions:"",type:"info",round:"",size:"small"},{default:a(()=>[r(o(e(C).compHubVersion),1)]),_:1})]),e(u).hasUpgrade?v("",!0):(s(),l("div",Z,[t(T,{description:e(n)("upgrade.noUpdate")},null,8,["description"])])),e(u).isUpgrade?(s(),l(b,{key:1},[t($,{"content-position":"center"},{default:a(()=>[r(o(e(n)("upgrade.updateMethod")),1)]),_:1}),i("div",ee,[r(o(e(n)("upgrade.title"))+" ",1),k[0]||(k[0]=i("span",{class:"font-bold"},"comp-hub",-1)),r(" "+o(e(n)("upgrade.openTerminalAndRun")),1)]),e(u).isForceUpgrade?(s(),g(_,{key:0,disableTransitions:"",type:"danger",round:"",size:"small"},{default:a(()=>[r(o(e(n)("upgrade.cannotIgnoreUpdate")),1)]),_:1})):(s(),g(_,{key:1,disableTransitions:"",type:"primary",round:"",size:"small"},{default:a(()=>[r(o(e(n)("upgrade.hasUpdate")),1)]),_:1})),t(e(j),{"model-value":h.value,class:"mt-1",theme:p.value},null,8,["model-value","theme"])],64)):v("",!0),i("div",null,[(s(!0),l(b,null,J(m.value,f=>(s(),g(e(Q),{key:f.version,version:f.version,desc:f.desc,latestVersion:e(u).latestVersion},null,8,["version","desc","latestVersion"]))),128))])]),_:1})]),_:1})])}}});export{ce as default};
@@ -1 +0,0 @@
1
- import{z as _,G as v,H as C,W as c,u as m,ax as T,x as k,f as D,P as I,S as P,a as R,m as V}from"./vendor-core-CNXB6kVe.js";import{c as z,p as F}from"./index-DyFpWAJM.js";import{V as E,c as N,M as O,k as f}from"./index-DgrizPPB.js";import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-Dsu1eY0B.js";import{_ as B}from"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js";import"./vendor-ui-Cvgmewma.js";import"./useMessage-yR4W8KDP.js";const L={class:"size-full"},j=_({__name:"index",props:{version:{type:String,default:""},compAttrs:{type:Object,default:()=>({})}},setup(e){return(p,a)=>(v(),C("div",L,[c($,{compAttrs:e.compAttrs,version:e.version,bgColor:e.compAttrs?.bgColor,compType:m(E).IFRAME_ROUTES.ITEM.PREVIEW_REMOTE},null,8,["compAttrs","version","bgColor","compType"])]))}}),K={key:0,class:"size-full"},Q=_({__name:"index",setup(e){const p=T(),a=N(),A=new Map;k(E.PROVIDE_KEY_CALLBACKS,A);const{compId:t,version:r=""}=p.params,l=R(!1),o=z(t)(),d=V(()=>o.detail[r]);async function y(){if(await a.initSetting(),!t)throw new Error("compId is required");const n=await O.v1Comp.compcontrollerCompdetail({compId:t,version:r}),{objectId:u,version:s,files:g,dep:S}=n.data,b={objectId:u,version:s,files:g.map(i=>i.path)},w=await f.comp.compcontrollerCompfilesosssignedurl(b),M=F(S,a.deps).map(i=>i.name),h=await f.module.modulecontrollerPrebuild({deps:M}),{entryNameToFile:x={}}=h.data;o.setDetail(s,{...n.data,_id:t}),o.setDepEntryNameToFile(s,x),o.setVersionToFileAccessPath(s,w.data.signedUrls)}return D(async()=>{await y(),l.value=!0}),(n,u)=>l.value?(v(),C("div",K,[c(m(B),{isEmpty:!d.value,class:"size-full"},{default:I(()=>[c(j,{compAttrs:d.value,version:m(r)},null,8,["compAttrs","version"])]),_:1},8,["isEmpty"])])):P("",!0)}});export{Q as default};
@@ -1 +0,0 @@
1
- import{y as X,aa as q,c as j,v as Q,B as W,a5 as P,m as G,ao as H,ap as Z,an as ee,o as te,l as ae,p as oe}from"./vendor-ui-Cvgmewma.js";import{P as B,M as k,V as v,Q as ne}from"./index-DgrizPPB.js";/* empty css */import{z as I,ao as g,G as m,H as h,J as s,V as i,u as e,W as n,F as S,a7 as Y,m as b,I as M,P as o,U as R,au as z,aa as L,Q as se,ah as le,a as N,ar as ce,S as J,ax as me,aq as de,f as ie}from"./vendor-core-CNXB6kVe.js";/* empty css */import{_ as U}from"./LoadingWrapper.vue_vue_type_script_setup_true_lang-BYA4gUOI.js";import{_ as ue}from"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js";import{_ as _e}from"./BaseDialog.vue_vue_type_script_setup_true_lang-BK7dbjCA.js";const re={class:"size-full p-[10px]"},pe={class:"text-center mt-[30px] text-lg font-medium"},fe={class:"text-sm"},Ee=I({__name:"CreateTeamDesc",setup(A){const{t}=g(),r={CREATE:5,JOIN:5,MEMBER:5,COMP:30},a=b(()=>[t("team.descItem1"),t("team.descItem2",{count:r.CREATE}),t("team.descItem3",{count:r.JOIN}),t("team.descItem4",{count:r.MEMBER}),t("team.descItem5",{count:r.COMP}),t("team.descItem6")]);return(p,f)=>{const d=X;return m(),h("div",re,[s("div",pe,i(e(t)("team.descTitle")),1),n(d),s("ul",fe,[(m(!0),h(S,null,Y(a.value,u=>(m(),h("li",{key:u,class:"break-all m-[10px] leading-relaxed"},i(u),1))),128))])])}}}),Te={class:"flex items-center justify-between mb-4"},ve={class:"text-xl flex-1 font-semibold text-center"},xe={class:"space-y-2 text-sm"},he={class:"flex"},Ae={class:"text-right"},ye={class:"font-mono"},Ce={class:"flex"},Me={class:"text-right"},$e={class:"mt-6"},Ie=I({__name:"TeamItem",props:{teamDetail:{type:Object,default:()=>({})}},emits:["apply"],setup(A){const{t}=g(),r=A,a=b(()=>({...r.teamDetail?.creatorId}));return(p,f)=>{const d=j,u=q;return m(),M(u,{"body-class":"!p-0",class:"max-w-xl mx-auto mt-8 p-6"},{default:o(()=>[s("div",Te,[s("h2",ve,i(A.teamDetail.name),1)]),s("div",xe,[s("div",he,[s("span",Ae,i(e(t)("team.code"))+":",1),s("span",ye,i(A.teamDetail.code),1)]),s("div",Ce,[s("span",Me,i(e(t)("team.creator"))+":",1),s("span",null,i(a.value.nickname||a.value.account),1)])]),s("div",$e,[n(e(U),null,{default:o(({instance:E,loading:_})=>[n(d,{loading:_,type:"primary",class:"w-full",onClick:c=>p.$emit("apply",E)},{default:o(()=>[R(i(e(t)("team.applyJoinTeam")),1)]),_:1},8,["loading","onClick"])]),_:1})])]),_:1})}}}),ge={class:"size-full flex flex-col"},Pe={class:"text-xl font-bold mb-[10px]"},be={class:"size-full flex-1"},Ne=I({__name:"TeamJoin",emits:["close"],setup(A,{emit:t}){const r=t,{t:a}=g(),p=z(),f=B(),d=N(""),u=N([]);function E(c){if(!d.value){P.error(a("team.pleaseInputTeamCode"));return}u.value=[],c.start(),k.v1Team.teamcontrollerFindbycode({code:d.value}).then(l=>{u.value=l.data?.teams||[]}).finally(()=>{c.end()})}function _(c,l){if(!l._id){P.error(a("team.teamIdNotExist"));return}c.start(),k.v1Team.teamcontrollerJoin({teamId:l._id}).then(y=>{const{team:T,message:$}=y.data;T?(f.addJoinedTeam(T),P.success(a("team.joinSuccess")),r("close"),p.push({name:"team",params:{teamId:T?._id}})):$&&P.success($)}).finally(()=>{c.end()})}return(c,l)=>{const y=L("Icon"),T=j,$=W,O=Q;return m(),h("div",ge,[s("h2",Pe,i(e(a)("team.fillTeamCode")),1),n(e(U),null,{default:o(({instance:V,loading:w})=>[se((m(),h("div",be,[n($,{modelValue:d.value,"onUpdate:modelValue":l[0]||(l[0]=x=>d.value=x),placeholder:e(a)("team.fillTeamCode"),onKeyup:le(x=>E(V),["enter"])},{append:o(()=>[n(T,{onClick:x=>E(V)},{default:o(()=>[n(y,{icon:"material-symbols:search-rounded"})]),_:1},8,["onClick"])]),_:2},1032,["modelValue","placeholder","onKeyup"]),n(e(ue),{isEmpty:u.value.length===0&&!w},{default:o(()=>[(m(!0),h(S,null,Y(u.value,x=>(m(),h("div",{key:x._id},[n(Ie,{teamDetail:x,onApply:D=>_(D,x)},null,8,["teamDetail","onApply"])]))),128))]),_:1},8,["isEmpty"])])),[[O,w]])]),_:1})])}}}),Re=I({__name:"TeamCreateConfig",props:{modelValue:{default:()=>({name:"",isApplyNeedAudit:!0})},modelModifiers:{}},emits:["update:modelValue"],setup(A){const{t}=g(),r=ce(A,"modelValue"),a={MIN:2,MAX:10},p=b(()=>({submitBtn:!1,form:{labelWidth:"auto"}})),f=N({name:"",isApplyNeedAudit:!0}),d=b(()=>[{type:"input",field:"name",title:t("team.teamName"),value:"",props:{placeholder:t("team.pleaseInputTeamName")},validate:[{required:!0,message:t("team.pleaseInputTeamName"),trigger:"blur"},{min:a.MIN,max:a.MAX,message:t("team.charLength",{min:a.MIN,max:a.MAX}),trigger:"blur"}]},{type:"switch",field:"isApplyNeedAudit",title:t("team.applyAudit"),value:!0}]);function u(E,_){r.value={...r.value,[E]:_}}return(E,_)=>{const c=L("form-create");return m(),M(c,{modelValue:f.value,"onUpdate:modelValue":_[0]||(_[0]=l=>f.value=l),rule:d.value,option:p.value,onChange:u},null,8,["modelValue","rule","option"])}}}),ke={class:"size-full flex flex-col"},Oe={class:"text-xl font-bold mb-[10px]"},Ve={class:"flex justify-end gap-[10px] mt-auto"},we=I({__name:"TeamCreate",emits:["close"],setup(A,{emit:t}){const r=t,{t:a}=g(),p=z(),f=B(),d=N({name:"",isApplyNeedAudit:!0});function u(E){if(!d.value.name){P.error(a("team.pleaseInputTeamName"));return}E.start(),k.v1Team.teamcontrollerCreate({name:d.value.name,isApplyNeedAudit:d.value.isApplyNeedAudit}).then(_=>{const c=_.data;c&&f.addCreatedTeam(c),P.success(a("team.createSuccess")),r("close"),p.push({name:"team",params:{teamId:c?._id}})}).finally(()=>{E.end()})}return(E,_)=>{const c=j;return m(),h("div",ke,[s("h2",Oe,i(e(a)("team.fillTeamName")),1),n(Re,{modelValue:d.value,"onUpdate:modelValue":_[0]||(_[0]=l=>d.value=l),class:"mt-[10px]"},null,8,["modelValue"]),s("div",Ve,[n(e(U),null,{default:o(({instance:l,loading:y})=>[n(c,{loading:y,type:"primary",onClick:T=>u(l)},{default:o(()=>[R(i(e(a)("common.confirm")),1)]),_:1},8,["loading","onClick"])]),_:1})])])}}}),De={class:"h-[50vh] flex gap-[5px]"},Je={class:"w-[380px]"},Se={class:"flex-1 flex flex-col"},Ye=I({__name:"index",setup(A,{expose:t}){const{t:r}=g(),a=N(!1),p=N(""),f=b(()=>p.value===v.TEAM_OPERATE_TYPE_CREATE?r("team.create"):r("team.join"));function d(_){p.value=_,a.value=!0}function u(){a.value=!1}function E(){p.value=""}return t({open:d,close:u}),(_,c)=>(m(),M(e(_e),{modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=l=>a.value=l),title:f.value,width:"50%","show-close":"",onClose:E},{default:o(()=>[s("div",De,[s("div",Je,[n(e(Ee))]),s("div",Se,[p.value===e(v).TEAM_OPERATE_TYPE_CREATE?(m(),M(we,{key:0,onClose:u})):p.value===e(v).TEAM_OPERATE_TYPE_JOIN?(m(),M(Ne,{key:1,onClose:u})):J("",!0)])])]),_:1},8,["modelValue","title"]))}}),je={class:"flex flex-col gap-[10px]"},Be={class:"flex items-center justify-between pl-[26px] pr-[20px]"},ze=["title"],Le={class:"flex-1"},Ue=["title"],Fe={class:"truncate"},Ke=["title"],Xe={class:"truncate"},qe={class:"truncate"},ot=I({__name:"index",setup(A){const{t}=g(),r=z(),a=me(),p=ne(),f=B(),d=de("teamManageDialog"),u=b(()=>a.path),E=l=>{d.value?.open(l)},_=l=>{l===v.TEAM_OPERATE_TYPE_JOIN?k.v1Team.teamcontrollerJoined().then(y=>{const{teams:T=[]}=y.data||{};f.setJoinedTeams(T)}):l===v.TEAM_OPERATE_TYPE_CREATE&&k.v1Team.teamcontrollerCreated().then(y=>{const{teams:T=[]}=y.data||{};f.setCreatedTeams(T)})},c=l=>{r.push({path:`/team/${l._id}`})};return ie(()=>{_(v.TEAM_OPERATE_TYPE_JOIN),_(v.TEAM_OPERATE_TYPE_CREATE)}),(l,y)=>{const T=L("Icon"),$=G,O=Z,V=H,w=ee,x=ae,D=te,F=oe;return m(),h("div",je,[s("div",Be,[e(p).collapse?J("",!0):(m(),h("span",{key:0,title:e(t)("team.space"),class:"truncate font-medium text-[16px]"},i(e(t)("team.space")),9,ze)),n(w,{onCommand:E},{dropdown:o(()=>[n(V,null,{default:o(()=>[n(O,{command:e(v).TEAM_OPERATE_TYPE_JOIN},{default:o(()=>[R(i(e(t)("team.join")),1)]),_:1},8,["command"]),n(O,{command:e(v).TEAM_OPERATE_TYPE_CREATE},{default:o(()=>[R(i(e(t)("team.create")),1)]),_:1},8,["command"])]),_:1})]),default:o(()=>[n($,{class:"cursor-pointer"},{default:o(()=>[n(T,{icon:"material-symbols:more-horiz"})]),_:1})]),_:1})]),s("div",Le,[n(F,{class:"w-full dark:!bg-gray-800",collapse:e(p).collapse,"default-active":u.value},{default:o(()=>[n(D,{index:e(v).TEAM_OPERATE_TYPE_JOIN},{title:o(()=>[n($,null,{default:o(()=>[n(T,{icon:"material-symbols:group-add-rounded"})]),_:1}),s("span",{class:"truncate",title:e(t)("team.joinedTeam")},i(e(t)("team.joinedTeam")),9,Ue)]),default:o(()=>[e(f).joinedTeams.length===0?(m(),M(x,{key:0,index:`${e(v).TEAM_OPERATE_TYPE_JOIN}-none`,disabled:""},{default:o(()=>[s("span",Fe,i(e(t)("team.noJoined")),1)]),_:1},8,["index"])):J("",!0),(m(!0),h(S,null,Y(e(f).joinedTeams,C=>(m(),M(x,{key:C._id,index:`/team/${C._id}`,onClick:K=>c(C)},{default:o(()=>[R(i(C.name),1)]),_:2},1032,["index","onClick"]))),128))]),_:1},8,["index"]),n(D,{index:e(v).TEAM_OPERATE_TYPE_CREATE},{title:o(()=>[n($,null,{default:o(()=>[n(T,{icon:"material-symbols:group"})]),_:1}),s("span",{class:"truncate",title:e(t)("team.myTeam")},i(e(t)("team.myTeam")),9,Ke)]),default:o(()=>[e(f).createdTeams.length===0?(m(),M(x,{key:0,index:`${e(v).TEAM_OPERATE_TYPE_CREATE}-none`,disabled:""},{default:o(()=>[s("span",Xe,i(e(t)("team.noCreated")),1)]),_:1},8,["index"])):J("",!0),(m(!0),h(S,null,Y(e(f).createdTeams,C=>(m(),M(x,{key:C._id,index:`/team/${C._id}`,onClick:K=>c(C)},{default:o(()=>[s("span",qe,i(C.name),1)]),_:2},1032,["index","onClick"]))),128))]),_:1},8,["index"])]),_:1},8,["collapse","default-active"])]),n(Ye,{ref:"teamManageDialog"},null,512)])}}});export{ot as default};
@@ -1 +0,0 @@
1
- import{a6 as $,aB as ge,B as Te,c as Ce,a8 as Ee,O as we,a7 as Se,aC as ye,a5 as de,n as be,v as Le,F as Re,N as ie,C as xe,aa as Me}from"./vendor-ui-Cvgmewma.js";import{E as X,M as Z,_ as Ne,V as Q,B as ke}from"./index-DgrizPPB.js";/* empty css *//* empty css */import{z as ne,ao as pe,aq as me,w as V,aa as Ie,G,H as K,J as b,V as L,u as v,W as r,P as f,U,Q as fe,X as Oe,I as Pe,ah as Ge,S as Ae,a as g,m as p,n as le,ax as De,au as Be,x as ue,$ as $e,h as Ve,e as Y}from"./vendor-core-CNXB6kVe.js";import{d as _e,c as Ue,b as Ke}from"./index.vue_vue_type_script_setup_true_lang-Ap8wTvsB.js";import{u as ve}from"./useTeamHeaders-BbJQSrjN.js";import{v as Fe}from"./v4-EwEgHOG0.js";import{u as He}from"./useKeyword-O-wdQuD_.js";import{d as ze,I as w,b as se,c as We}from"./useMessage-yR4W8KDP.js";import"./index-DyFpWAJM.js";import"./useCompMetaLocalStore-DUMtt_yz.js";import"./useCacheOssStore-C6-kY3lP.js";import"./useVscodeOpen-CCvngYEV.js";import"./BaseDialog.vue_vue_type_script_setup_true_lang-BK7dbjCA.js";import"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js";/* empty css */const je={class:"size-full flex flex-col overflow-auto"},Je={class:"text-lg font-bold mb-2"},Qe={class:"flex gap-2"},Ye={class:"flex-1 flex flex-col gap-2 overflow-auto"},Xe={class:"flex gap-1"},Ze={class:"flex items-center gap-1"},qe={class:"custom-tree-node"},ea={key:1},aa={key:0},ta={class:"flex gap-2 items-center"},oa=ne({__name:"TreeMenu",setup(re){const{t:o}=pe(),F={children:"children",label:"label",isLeaf:e=>!e.children||e.children.length===0},{headers:k,teamId:H}=ve(),s=_e(H)(),R=g(""),T=g([]),S=me("tree"),x=g({}),n=g([]),C=g("[]"),A=g({}),d=g(!1),E=p(()=>{const e=JSON.stringify(n.value),t=C.value;return e!==t||!ye(s.selectedRowsToLeafNodeMap,A.value)}),z=p(()=>s.selectedRows.length>0),I=()=>({id:Fe(),label:o("team.defaultGroup"),children:[],isEdit:!1}),q=(e,t)=>{e&&(x.value[t]=e)},O=e=>{T.value.includes(e)||(T.value=[...T.value,e])},ee=e=>{const m=X.getTreeAllChildren(n.value,e.id).map(i=>i.id).concat(e.id);T.value=T.value.filter(i=>!m.includes(i)),d.value=!1},ae=e=>{O(e.id)},W=e=>{e.isEdit=!1},te=e=>{e.isEdit=!1},oe=(e,t)=>e?t.label.includes(e):!0,a=()=>{const e={menuGroup:n.value,compIdInLeafNodeMap:s.selectedRowsToLeafNodeMap};Z.v1Team.teamcontrollerUpdatemenu(e,{headers:k}).then(()=>{de.success(o("message.success.save")),A.value=$(s.selectedRowsToLeafNodeMap),s.setTeamDetail({...s.teamDetail,menuGroup:$(n.value)})})},u=async e=>{e.isEdit=!0,await le(),x.value[e.id]?.focus(),x.value[e.id]?.select()},c=async e=>{const t=I();e.children||(e.children=[]),e.children.push(t),n.value=[...n.value],await le();const m={};for(const i in s.selectedRowsToLeafNodeMap)s.selectedRowsToLeafNodeMap[i]===e.id&&(m[i]=t.id);s.addSelectedRowsToLeafNodeMap(m),O(t.id)},_=async(e,t)=>{const B=X.getTreeAllChildren(n.value,t.id).filter(l=>l.children?.length===0).map(l=>l.id).concat(t.id),N=[];for(const l in s.selectedRowsToLeafNodeMap)B.includes(s.selectedRowsToLeafNodeMap[l]??"")&&N.push(l);if(N?.length){if(await be.confirm(o("team.deleteGroupConfirm"),o("common.info"),{confirmButtonText:o("common.delete"),cancelButtonText:o("common.cancel"),type:"warning"}).catch(()=>{})!=="confirm")return;s.delSelectedRowsToLeafNodeMap(N)}const j=e.parent,J=j?.data.children||j?.data,y=J.findIndex(l=>l.id===t.id);J.splice(y,1),n.value=[...n.value]},M=()=>{const e=I();n.value.push(e)},D=()=>{if(!n.value.length)return;const e=n.value.map(t=>X.getTreeAllChildren(n.value,t.id).map(i=>i.id)).reduce((t,m)=>t.concat(m),[]);e.length&&(T.value=e,d.value=!0)},P=e=>{E.value&&e.preventDefault()},he=e=>{const t=s.selectedRows.reduce((m,i)=>({...m,[i]:e.id}),{});s.addSelectedRowsToLeafNodeMap(t),s.setSelectedRows([]),de.success(o("team.addSuccess"))},ce=e=>Object.values(s.selectedRowsToLeafNodeMap).filter(t=>t===e.id).length;return V(R,e=>{S.value.filter(e)}),V(()=>s.menuGroup,e=>{n.value=$(e),C.value=JSON.stringify(e)},{immediate:!0}),V(()=>JSON.stringify(n.value),()=>{s.setDataSourceCopy($(n.value))},{immediate:!0}),V(()=>s.selectedRowsToLeafNodeMap,e=>{A.value=$(e)},{immediate:!0,once:!0}),V(()=>E.value,e=>{s.setCanSaveCopy(e)},{immediate:!0,deep:!0}),ge(window,"beforeunload",P),(e,t)=>{const m=Te,i=Ce,B=Ie("Icon"),N=Se,j=we,J=Ee;return G(),K("div",je,[b("h2",Je,L(v(o)("team.groupConfig")),1),b("div",Qe,[r(m,{modelValue:R.value,"onUpdate:modelValue":t[0]||(t[0]=y=>R.value=y),class:"mb-2",placeholder:v(o)("team.pleaseInputGroupName")},null,8,["modelValue","placeholder"])]),b("div",Ye,[b("div",Xe,[r(i,{size:"small",disabled:d.value,onClick:D},{default:f(()=>[U(L(v(o)("team.expandAll")),1)]),_:1},8,["disabled"]),r(i,{type:"primary",size:"small",onClick:M},{default:f(()=>[U(L(v(o)("team.createGroup")),1)]),_:1}),b("div",Ze,[r(i,{type:"primary",disabled:!E.value,size:"small",onClick:a},{default:f(()=>[U(L(v(o)("common.save")),1)]),_:1},8,["disabled"]),fe(b("span",{class:"text-red-500 text-[12px]"},L(v(o)("team.unsaved")),513),[[Oe,E.value]])])]),r(J,{class:"flex-1"},{default:f(()=>[r(j,{ref:"tree",data:n.value,"default-expanded-keys":T.value,"expand-on-click-node":!1,"filter-node-method":oe,props:F,"node-key":"id",onNodeExpand:ae,onNodeCollapse:ee},{default:f(({node:y,data:l})=>[b("div",qe,[l.isEdit?(G(),Pe(m,{key:0,ref:h=>q(h,l.id),modelValue:l.label,"onUpdate:modelValue":h=>l.label=h,autofocus:"",size:"small",onKeydown:Ge(h=>W(l),["enter"]),onBlur:h=>te(l),onChange:h=>W(l)},null,8,["modelValue","onUpdate:modelValue","onKeydown","onBlur","onChange"])):(G(),K("span",ea,[U(L(y.label)+" ",1),y.isLeaf&&ce(l)>0?(G(),K("span",aa," ("+L(ce(l))+") ",1)):Ae("",!0)])),b("div",ta,[r(N,{type:"info",link:"",onClick:h=>u(l)},{default:f(()=>[r(B,{icon:"material-symbols:edit-note"})]),_:1},8,["onClick"]),r(N,{type:"primary",link:"",onClick:h=>c(l)},{default:f(()=>[r(B,{icon:"material-symbols:add-box-rounded"})]),_:1},8,["onClick"]),r(N,{type:"danger",link:"",onClick:h=>_(y,l)},{default:f(()=>[r(B,{icon:"material-symbols:delete-rounded"})]),_:1},8,["onClick"]),r(i,{disabled:!y.isLeaf||!z.value,type:"primary",link:"",onClick:h=>he(l)},{default:f(()=>[U(L(v(o)("team.addComp")),1)]),_:1},8,["disabled","onClick"])])])]),_:1},8,["data","default-expanded-keys"])]),_:1})])])}}}),sa=Ne(oa,[["__scopeId","data-v-5207a7b5"]]),la=ne({__name:"CompGroupList",setup(re){const{t:o}=pe(),F=Ve(),k=De(),{headers:H,teamId:s}=ve(),{sendMessageToTargetIframe:R,messageListener:T}=We(),{addListener:S}=T(),x=ze(!1,window.__GLOBAL_CONFIG__.subPort),n=Be(),C=Ue(`${k.path}_${Q.SCOPE_ID_TEAM_COMP_GROUP_LIST}`)();ue(Q.PROVIDE_KEY_COMP_LIST_STORE,C);const A=new Map;ue(Q.PROVIDE_KEY_CALLBACKS,A);const d=_e(s)(),E=me("compIframeContainer"),z=g([]),I=g(!1);async function q(a){I.value=!0;const c=(await Z.v1Comp.compcontrollerTags({keyword:a})).data?.rows??[];z.value=c.map(_=>({value:_,label:_})),I.value=!1}const O=g({data:[],search:{column:[{prop:"keyword",component:Y(Re),label:p(()=>o("common.keyword")),value:"",autoQuery:!1,attributes:{placeholder:p(()=>o("comp.keywordPlaceholder")),fetchSuggestions:ae,triggerOnFocus:!1,style:"width: 350px",fitInputWidth:!0}},{prop:"isGroup",label:p(()=>o("team.isGrouped")),component:Y(ie),value:"",attributes:{style:{width:"120px"},clearable:!0,options:p(()=>[{label:o("team.grouped"),value:"Yes"},{label:o("team.ungrouped"),value:"No"}])}},{prop:"group",component:Y(xe),label:p(()=>o("team.group")),value:"",attributes:{options:p(()=>d.menuGroup),clearable:!0,props:{value:"id",checkStrictly:!0}}},{prop:"tags",component:Y(ie),label:p(()=>o("comp.tags")),value:[],autoQuery:!1,attributes:{multiple:!0,filterable:!0,remote:!0,clearable:!0,reserveKeyword:!1,defaultFirstOption:!0,placeholder:p(()=>o("comp.pleaseInputTags")),remoteMethod:q,loading:I,options:z,style:"width: 240px"}}]},pagination:{total:0,attributes:{pageSizes:[10,20,30]}},autoLoading:!1,fetchData:W}),ee=p(()=>O.value?.search?.column[0]?.value??"");He(ee,E);function ae(a,u){if(a.length<=1)return u([]);Z.v1Keyword.keywordcontrollerQuerykeywordscomp({keyword:a,type:"compTeam"},{headers:H}).then(c=>{const{keywords:_=[]}=c.data||{};u(_)})}async function W(a){C.renderList([]),await le(),C.setLoading(!0);const{group:u=[]}=a||{};delete a.group;const c=u?.[u.length-1];if(c){let P=d.getSelectedGroupLeafNodes(c);P=P.length===0?[c]:P,a.leafNodeIds=P}const _=await Z.v1Team.teamcontrollerTeamcomps({...a,tags:Array.isArray(a.tags)?a.tags.join(","):a.tags||"",scene:"library"},{headers:H}),{rows:M,total:D}=_.data??{};C.renderList(M??[]),O.value.pagination.total=D||0}function te(a){n.push({path:`/previewTeam/${s}/${a}`})}function oe(a){const u=d.selectedRowsToLeafNodeMap[a];return u?X.findTreeNodePathToRoot(d.dataSourceCopy,u).reverse().map(M=>M.label).join(" / "):""}return S(w.SELECTED_ROWS_TO_LEAF_NODE_MAP_GET,se(p(()=>d.selectedRowsToLeafNodeMap),()=>{E.value?.sendMessageToTargetIframeByCompId(a=>{a&&R(a,w.SELECTED_ROWS_TO_LEAF_NODE_MAP_SET,d.selectedRowsToLeafNodeMap,x)})}).triggerCallback),S(w.SELECTED_ROWS_TO_LEAF_NODE_MAP_SET,a=>{d.setSelectedRowsToLeafNodeMap(a)}),S(w.SELECTED_ROWS_GET,se(p(()=>d.selectedRows),()=>{E.value?.sendMessageToTargetIframeByCompId(a=>{a&&R(a,w.SELECTED_ROWS_SET,d.selectedRows,x)})}).triggerCallback),S(w.SELECTED_ROWS_SET,a=>{d.setSelectedRows(a)}),S(w.COMP_GROUP_PATH_GET,se(p(()=>d.dataSourceCopy),a=>{const u=a.map(c=>({[c]:oe(c)}));u.length>0&&E.value?.sendMessageToTargetIframeByCompId(c=>{if(c){const _=u.reduce((M,D)=>({...M,...D}),{});R(c,w.COMP_GROUP_PATH_SET,_,x)}})}).triggerCallback),S(w.COMP_GROUP_PATH_SET,a=>{d.setSelectedRowsToLeafNodeMap(a)}),$e(()=>{C.$reset()}),(a,u)=>{const c=Le;return fe((G(),K("div",null,[r(v(ke),{tableConfig:O.value},{table:f(()=>[r(Ke,{ref:"compIframeContainer",iuid:v(F)?.uid,compType:v(Q).IFRAME_ROUTES.CONTAINER.TEAM_GROUP,onPreview:te},null,8,["iuid","compType"])]),_:1},8,["tableConfig"])])),[[c,v(C).loading]])}}}),na={class:"flex gap-3"},ya=ne({__name:"index",setup(re){return(o,F)=>{const k=Me;return G(),K("div",na,[r(k,{"body-class":"!p-0",class:"w-[400px] max-h-[60vh] overflow-hidden sticky top-10 p-2"},{default:f(()=>[r(sa)]),_:1}),r(k,{"body-class":"!p-0",class:"flex-1 p-2"},{default:f(()=>[r(la)]),_:1})])}}});export{ya as default};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BF2ETnQh.js","./vendor-ui-Cvgmewma.js","./vendor-core-CNXB6kVe.js","./index-DgrizPPB.js","./index-CLT68CCM.css","./index.vue_vue_type_script_setup_true_lang-Ap8wTvsB.js","./index-DyFpWAJM.js","./useCompMetaLocalStore-DUMtt_yz.js","./useCacheOssStore-C6-kY3lP.js","./useVscodeOpen-CCvngYEV.js","./useTeamHeaders-BbJQSrjN.js","./BaseDialog.vue_vue_type_script_setup_true_lang-BK7dbjCA.js","./useTeamHeaders-BMHQzwDq.css","./el-dropdown-item-BeIfAqTO.css","./el-link-CPQZ-olG.css","./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js","./useMessage-yR4W8KDP.js","./useCompEditStore-B7__tBPJ.js","./v4-EwEgHOG0.js","./index-KhSB9wFh.js","./index3-BiHnTK1Z.js","./BaseSegmented.vue_vue_type_script_setup_true_lang-CcSntY2B.js","./BaseBadge-BReHrAqs.js","./BaseBadge-ledSuDnX.css","./LoadingWrapper.vue_vue_type_script_setup_true_lang-BYA4gUOI.js","./useCompEditStore-C2cDxPfw.css","./el-card-BAyktVMS.css","./index.vue_vue_type_style_index_0_lang-CUQ5yd-1.js","./index-CdWXO9ks.css","./useKeyword-O-wdQuD_.js","./index-CCJiyDal.js","./index-DFsl7Pen.css","./index-BNwWVTCF.js","./el-table-column-C2GQUl4R.js","./el-table-column-B3ZEEuPD.css","./moment-B-YVwB4U.js","./index-BTmh_pkn.js","./index-wd7ZswFD.js","./index.vue_vue_type_script_setup_true_lang-B05SHLQS.js","./index-DOlF0Z_P.css","./index-D-HOLV6Z.js","./index-DR4j8Ql1.js","./AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-D-jhE3yA.js"])))=>i.map(i=>d[i]);
2
- import{_ as ce,B as Q,V as P,T as J,M as N,I as L,i as me,z as de,g as pe,r as S}from"./index-DgrizPPB.js";import{ak as ue,m as _e,g as fe,c as W,a8 as X,a6 as ve,al as he,F as ge,N as ye,a5 as be,aa as Z,am as we,s as Ce,a as xe,ae as Te,n as Ae}from"./vendor-ui-Cvgmewma.js";import{_ as Ee}from"./el-table-column-C2GQUl4R.js";/* empty css */import{_ as ke}from"./index.vue_vue_type_script_setup_true_lang-B05SHLQS.js";import{z as M,G as g,H as B,J as r,V as f,K as F,m as i,a4 as Ie,I as E,u as e,N as ee,P as s,ar as Le,W as a,R as H,ao as z,ac as De,ad as $e,U as D,ax as te,x as Y,aq as ae,w as oe,$ as se,h as Me,n as Se,at as ne,a as G,e as j,au as Oe,aF as Ve,aG as Re,f as Pe,k as Ne,az as O}from"./vendor-core-CNXB6kVe.js";import{c as Be,b as ze,d as K}from"./index.vue_vue_type_script_setup_true_lang-Ap8wTvsB.js";import{_ as Ue}from"./LoadingWrapper.vue_vue_type_script_setup_true_lang-BYA4gUOI.js";import{u as Ge}from"./useKeyword-O-wdQuD_.js";import{d as Fe,I as q,c as He}from"./useMessage-yR4W8KDP.js";import{u as le}from"./useTeamHeaders-BbJQSrjN.js";import{I as ie}from"./index-DpUmZw4S.js";import{_ as Ke}from"./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js";import{_ as Ye}from"./BaseSegmented.vue_vue_type_script_setup_true_lang-CcSntY2B.js";import"./useCacheOssStore-C6-kY3lP.js";import"./index-DyFpWAJM.js";import"./useCompMetaLocalStore-DUMtt_yz.js";import"./useVscodeOpen-CCvngYEV.js";import"./BaseDialog.vue_vue_type_script_setup_true_lang-BK7dbjCA.js";/* empty css *//* empty css */const je={class:"flex items-center justify-center gap-[6px] leading-[15px]"},qe={class:"text-xs leading-3 align-middle"},Qe={class:"inline-block align-middle shrink-0"},Je=M({__name:"UserAvatar",props:{nickname:{type:String,default:""},teamUserNickname:{type:String,default:""}},setup(m){const t=m,o=i(()=>t.teamUserNickname||t.nickname||"--");return(c,w)=>(g(),B("div",je,[r("span",qe,f(o.value),1),r("div",Qe,[F(c.$slots,"avatar",{},void 0,!0)])]))}}),We=ce(Je,[["__scopeId","data-v-f90b87fa"]]),Xe=M({__name:"SkeletonContainer",setup(m){const t=Ie();return(o,c)=>(g(),E(e(ue),ee({rows:3,animated:""},e(t)),{default:s(()=>[F(o.$slots,"default")]),template:s(()=>[F(o.$slots,"template")]),_:3},16))}}),Ze='<path class="cdj_y1r7t"/>',et={__name:"grid-view-rounded",props:["width","height"],setup(m){const t={width:24,height:24};return(o,c)=>(g(),E(e(ie),{width:m.width,height:m.height,viewBox:t,content:Ze,fallback:"material-symbols:grid-view-rounded"},null,8,["width","height"]))}},tt='<path class="u2_fvl-wz"/>',at={__name:"view-list",props:["width","height"],setup(m){const t={width:24,height:24};return(o,c)=>(g(),E(e(ie),{width:m.width,height:m.height,viewBox:t,content:tt,fallback:"material-symbols:view-list"},null,8,["width","height"]))}},ot=M({__name:"ViewToggle",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(m){const t=Le(m,"modelValue"),o=i(()=>t.value==="grid"?at:et);function c(){t.value=t.value==="grid"?"list":"grid"}return(w,l)=>(g(),B("div",{class:"flex items-center rounded-sm cursor-pointer",onClick:c},[a(e(_e),{style:{"font-size":"25px"}},{default:s(()=>[(g(),E(H(o.value)))]),_:1})]))}}),st={class:"size-full overflow-hidden"},nt=M({__name:"ViewCompList",props:{data:{type:Array,default:()=>[]},selectedRows:{type:Array,default:()=>[]}},emits:["add-one-comp"],setup(m,{emit:t}){const{t:o}=z(),c=m,w=t,l=i(()=>({data:c.data,column:[{prop:"name",label:o("comp.name"),align:"center"},{prop:"version",label:o("comp.version"),align:"center"},{prop:"isAdd",label:o("team.added"),align:"center",formatter:d=>d.isAdd?o("common.yes"):o("common.no")},{prop:"desc",label:o("common.description"),align:"center",showOverflowTooltip:{popperClass:"table-text-tooltip"}},{slot:"operation",prop:"operation",label:o("common.operation"),align:"center"}],isPagination:!1,autoLoading:!1})),C=(d,p)=>{p.start(),w("add-one-comp",d._id,()=>{p.end()})};return(d,p)=>{const I=W,x=fe;return g(),B("div",st,[a(e(Q),{ref:"baseTable",tableConfig:l.value,border:"",stripe:""},{operation:s(({col:T})=>[a(x,De($e(T)),{default:s(({row:u})=>[r("div",null,[a(e(Ue),null,{default:s(({instance:n,loading:_})=>[a(I,{type:"primary",disabled:u.isAdd,loading:_,onClick:$=>C(u,n)},{default:s(()=>[D(f(u.isAdd?e(o)("team.added"):e(o)("common.add")),1)]),_:2},1032,["disabled","loading","onClick"])]),_:2},1024)])]),_:1},16)]),_:1},8,["tableConfig"])])}}}),lt={class:"size-full overflow-hidden"},it=M({__name:"ViewCompGrid",props:{data:{type:Array,default:()=>[]},keyword:{type:String,default:""}},emits:["add-one-comp"],setup(m,{emit:t}){const o=m,c=t,w=Me(),l=te(),{sendMessageToTargetIframe:C,messageListener:d}=He(),p=Fe(!1,window.__GLOBAL_CONFIG__.subPort),{addListener:I}=d(),x=Be(`${l.path}_${P.SCOPE_ID_TEAM_ADD_MY_COMP}`)();Y(P.PROVIDE_KEY_COMP_LIST_STORE,x);const T=new Map;Y(P.PROVIDE_KEY_CALLBACKS,T);const u=ae("compIframeContainer");Ge(i(()=>o.keyword),u);const n=async()=>{x.renderList([]),await Se(),x.setLoading(!0);const _=ve(o.data);x.renderList(_??[])};return I(q.ACTION_ADD_COMP_START_LOADING,_=>{c("add-one-comp",_,()=>{u.value?.sendMessageToTargetIframeByCompId($=>{$&&C($,q.ACTION_ADD_COMP_FINISH_LOADING,"",p)})})}),oe(()=>o.data,()=>n(),{immediate:!0,deep:!0}),se(()=>{x.$reset()}),(_,$)=>{const y=X;return g(),B("div",lt,[a(y,{always:"",wrapClass:"pr-[10px]"},{default:s(()=>[a(ze,{ref:"compIframeContainer",iuid:e(w)?.uid,compType:e(P).IFRAME_ROUTES.CONTAINER.TEAM_ADD},null,8,["iuid","compType"])]),_:1})])}}}),rt={class:"size-full flex flex-col overflow-auto overflow-x-hidden"},ct={class:"flex gap-2 pb-2"},mt=M({__name:"index",setup(m,{expose:t}){const{t:o}=z(),{headers:c,teamId:w}=le(),l=K(w)(),C=G(!1),d=G(""),p=G({data:[],search:{column:[{prop:"keyword",component:j(ge),label:i(()=>o("common.keyword")),value:"",autoQuery:!1,attributes:{placeholder:i(()=>o("comp.keywordPlaceholder")),fetchSuggestions:x,triggerOnFocus:!1,style:"width: 350px",fitInputWidth:!0}},{prop:"status",label:i(()=>o("common.status")),component:j(ye),value:"NotAdded",attributes:{style:{width:"120px"},clearable:!0,options:[{label:i(()=>o("team.added")),value:"Added"},{label:i(()=>o("team.notAdded")),value:"NotAdded"}]}}]},pagination:{total:0,attributes:{pageSizes:[10,20,30]}},fetchData:T}),I=i(()=>p.value?.search?.column[0]?.value??"");function x(y,b){if(y.length<=1)return b([]);N.v1Keyword.keywordcontrollerQuerykeywordscomp({keyword:y,type:"compMy"},{headers:c}).then(k=>{const{keywords:A=[]}=k.data||{};b(A)})}async function T(y){const b=await N.v1Team.teamcontrollerAddtoteammycomps({...y},{headers:c}),{rows:k,total:A}=b.data||{};p.value.data=k||[],p.value.pagination.total=A||0}function u(){C.value=!0}function n(){C.value=!1}function _(){d.value=d.value??"list"}function $(y,b){N.v1Team.teamcontrollerCopycomp({compIds:[y]},{headers:c}).then(()=>{p.value.data?.forEach(A=>{y===A._id&&(A.isAdd=!0)});const k=l.teamDetail.compCount+1;l.setTeamDetail({...l.teamDetail,compCount:k}),be.success(o("team.addSuccess"))}).finally(b)}return t({open:u,close:n}),(y,b)=>{const k=he;return g(),E(k,{modelValue:C.value,"onUpdate:modelValue":b[1]||(b[1]=A=>C.value=A),title:e(o)("team.addComp"),resizable:"","with-header":!1,size:"50%","append-to-body":"",onOpened:_},{default:s(()=>[r("div",rt,[a(e(Q),{tableConfig:p.value},{tableBefore:s(()=>[r("div",ct,[a(e(ot),{modelValue:d.value,"onUpdate:modelValue":b[0]||(b[0]=A=>d.value=A),class:"ml-auto"},null,8,["modelValue"])])]),table:s(()=>[a(e(J),null,{default:s(()=>[(g(),E(ne,null,[(g(),E(H(d.value==="grid"?it:nt),{data:p.value.data,keyword:I.value,onAddOneComp:$},null,40,["data","keyword"]))],1024))]),_:1})]),_:1},8,["tableConfig"])])]),_:1},8,["modelValue","title"])}}}),dt={class:"size-full overflow-hidden flex items-center gap-6"},pt={class:"flex-shrink-0"},ut={class:"flex flex-1 flex-col gap-3 overflow-hidden"},_t={class:"flex items-center gap-3"},ft={class:"text-xl font-bold"},vt={class:"flex items-center gap-1 rounded-full px-3 py-0.5 text-xs"},ht={class:"flex flex-wrap items-center gap-3"},gt={class:"!flex items-center gap-1"},yt={class:"!flex items-center gap-1"},bt={class:"!flex items-center gap-1"},wt={class:"!flex items-center gap-1"},Ct={class:"!flex items-center gap-1"},xt={class:"flex items-center gap-3 flex-shrink-0"},Tt=M({__name:"index",setup(m){const{t}=z(),o=te(),c=Oe(),{teamId:w}=o.params,l=K(w)(),C=ae("teamAddCompDrawer");function d(){C.value?.open()}function p(){c.push({name:"uploadTeam",params:{teamId:w}})}return(I,x)=>{const T=we,u=Ce,n=W,_=Z;return g(),E(_,{"body-class":"!p-0",class:"size-full rounded-sm p-4"},{default:s(()=>[a(e(Xe),{rows:4,loading:e(l).loading},{default:s(()=>[r("div",dt,[r("div",pt,[a(T,{size:64,class:"bg-indigo-100"},{default:s(()=>[a(e(L),{icon:"material-symbols:layers-rounded",class:"text-3xl"})]),_:1})]),r("div",ut,[r("div",_t,[r("h2",ft,f(e(l).teamName),1),r("span",vt,[a(e(L),{icon:"material-symbols:check-circle-rounded",class:"text-green-500"}),D(" "+f(e(l).description),1)])]),r("div",ht,[a(u,{round:"",type:"info","disable-transitions":""},{default:s(()=>[r("div",gt,[a(e(L),{icon:"material-symbols:person-rounded"}),D(" "+f(e(t)("team.creator"))+" ",1),a(e(We),ee(e(l).creator,{teamUserNickname:e(l).creatorNickname}),{avatar:s(()=>[a(ke,{size:15,src:e(l).creator?.avatar},null,8,["src"])]),_:1},16,["teamUserNickname"])])]),_:1}),a(u,{round:"",type:"info","disable-transitions":""},{default:s(()=>[r("div",yt,[a(e(L),{icon:"material-symbols:tag-rounded"}),D(" "+f(e(t)("team.code"))+" ",1),a(e(Ee),{class:"text-xs",text:e(l).code},null,8,["text"])])]),_:1}),a(u,{round:"",type:"info","disable-transitions":""},{default:s(()=>[r("div",bt,[a(e(L),{icon:"material-symbols:group-rounded"}),D(" "+f(e(t)("team.member"))+" "+f(e(l).memberCount)+" "+f(e(t)("common.person")),1)])]),_:1}),a(u,{round:"",type:"info","disable-transitions":""},{default:s(()=>[r("div",wt,[a(e(L),{icon:"material-symbols:widgets-rounded"}),D(" "+f(e(t)("team.compCount"))+" "+f(e(l).compCount)+" "+f(e(t)("common.unit")),1)])]),_:1}),a(u,{round:"",type:"info","disable-transitions":""},{default:s(()=>[r("div",Ct,[a(e(L),{icon:"material-symbols:download-rounded"}),D(" "+f(e(t)("team.downloadCount"))+" "+f(e(l).totalDownloadCount),1)])]),_:1})]),r("div",xt,[a(n,{class:"!rounded-full !px-5 !py-2 !h-auto",onClick:d},{default:s(()=>[a(e(L),{icon:"material-symbols:format-list-bulleted-rounded",class:"mr-1"}),D(" "+f(e(t)("team.addFromMine")),1)]),_:1}),a(n,{type:"primary",class:"!rounded-full !px-5 !py-2 !h-auto",onClick:p},{default:s(()=>[a(e(L),{icon:"material-symbols:upload-rounded",class:"mr-1"}),D(" "+f(e(t)("comp.upload")),1)]),_:1})])])])]),_:1},8,["loading"]),a(mt,{ref:"teamAddCompDrawer"},null,512)]),_:1})}}}),At={class:"mt-2"},jt=M({__name:"index",setup(m){const{t}=z(),o=O(()=>S(()=>import("./index-BF2ETnQh.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]),import.meta.url)),c=O(()=>S(()=>import("./index-CCJiyDal.js"),__vite__mapDeps([30,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,29,31,26]),import.meta.url)),w=O(()=>S(()=>import("./index-BNwWVTCF.js"),__vite__mapDeps([32,1,2,3,4,33,34,5,6,7,8,9,10,11,12,13,14,15,16,35,24]),import.meta.url)),l=O(()=>S(()=>import("./index-BTmh_pkn.js"),__vite__mapDeps([36,1,2,3,4,10,11,12,13,14,5,6,7,8,9,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]),import.meta.url)),C=O(()=>S(()=>import("./index-wd7ZswFD.js"),__vite__mapDeps([37,1,2,3,4,33,34,5,6,7,8,9,10,11,12,13,14,15,16,38,39]),import.meta.url)),d=O(()=>S(()=>import("./index-D-HOLV6Z.js"),__vite__mapDeps([40,1,2,3,4,33,34,5,6,7,8,9,10,11,12,13,14,15,16,38,39,24]),import.meta.url)),p=O(()=>S(()=>import("./index-DR4j8Ql1.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,42,24,26]),import.meta.url)),I=[{label:i(()=>t("team.compLib")),value:"TeamCompList",component:o,visible:()=>!0},{label:i(()=>t("team.groupConfig")),value:"TeamCompGroup",component:c,visible:()=>n.isCreator},{label:i(()=>t("team.compManage")),value:"TeamCompManage",component:w,visible:()=>n.isCreator},{label:i(()=>t("team.myCompList")),value:"TeamMyCompList",component:l,visible:()=>!0},{label:i(()=>t("team.member")),value:"TeamMemberList",component:C,visible:()=>!0},{label:i(()=>t("team.applyList")),value:"TeamApplyList",component:d,visible:()=>n.isCreator},{label:i(()=>t("common.setting")),value:"TeamSet",component:p,visible:()=>!0}],{headers:x,teamId:T}=le(),u=me(),n=K(T)(),_=xe(`${de}-${T}`,I[0]?.value),$=i(()=>Object.keys(n.teamDetail).length===0),y=i(()=>I.filter(v=>v.visible())),b=i(()=>y.value.find(h=>h.value===_.value)?.component||{render:()=>null}),k=async(v,h)=>{if(!n.canSaveCopy)return;const V=v.matched[v.matched.length-1],R=h.matched[h.matched.length-1];if(!(!V||!R)&&(!v.redirectedFrom||V.path===R.path)){const U={confirmButtonText:t("team.leave"),cancelButtonText:t("common.cancel"),type:"warning"};return await Ae.confirm(t("team.unsavedDataLeave"),t("common.info"),U).then(()=>!0).catch(()=>!1)}};function A(v,h){u.addPayLoad(`/team/${v}`,{name:h??""})}return Ve(k),Re(k),Pe(()=>{n.setLoading(!0),N.v1Team.teamcontrollerDetail({headers:x}).then(v=>{const{compIdInLeafNodeMap:h}=v.data;n.setTeamDetail(v.data),n.setSelectedRowsToLeafNodeMap(h||{}),A(T??"",n.teamDetail?.name??"")}).catch(()=>{n.$reset()}).finally(()=>{n.setLoading(!1)})}),oe(_,(v,h)=>{h&&v!==h&&window?.umami?.track(pe.TEAM_TAB_CHANGE,{teamId:T,from:h,to:v})}),se(()=>{n.$reset()}),(v,h)=>{const V=Z,R=Te,U=X;return g(),E(U,{"wrap-class":"team-container p-[10px] pt-0",class:"size-full overflow-x-hidden",always:""},{default:s(()=>[a(e(Ke),{isEmpty:$.value,loading:e(n).loading,emptyDescription:e(t)("team.noTeamInfo")},{default:s(()=>[a(Tt,{class:"mt-[10px]"}),a(V,{"body-class":"!p-0",class:"sticky top-0 w-full z-100 mt-1"},{default:s(()=>[a(e(Ye),{modelValue:e(_),"onUpdate:modelValue":h[0]||(h[0]=re=>Ne(_)?_.value=re:null),options:y.value},null,8,["modelValue","options"])]),_:1}),r("div",At,[a(e(J),null,{default:s(()=>[(g(),E(ne,null,[(g(),E(H(b.value)))],1024))]),_:1})]),a(R,{right:100,bottom:100,target:".team-container"})]),_:1},8,["isEmpty","loading","emptyDescription"])]),_:1})}}});export{jt as default};