filecat 6.8.2 → 6.9.1

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 (450) hide show
  1. package/build/dist/1060.198d91e2dfc174317c3a.js +1 -0
  2. package/build/dist/1080.fb10ff15aa5eeecfedf1.js +1 -0
  3. package/build/dist/1455.26a021eb94e5bdd5bec2.js +1 -0
  4. package/build/dist/1636.30468729d36c207a8ef4.js +1 -0
  5. package/build/dist/2055.cb159742ee5a05e75046.js +1 -0
  6. package/build/dist/219aa9140e099e6c72ed.woff2 +0 -0
  7. package/build/dist/2286.cbd71319c6939820a1b9.js +2 -0
  8. package/build/dist/{5663.170c94f41ff3ee2759cb.js.LICENSE.txt → 2286.cbd71319c6939820a1b9.js.LICENSE.txt} +0 -7
  9. package/build/dist/239.f570f06d4b9c020f1013.js +1 -0
  10. package/build/dist/2502.7ab964160936d22d06dd.js +1 -0
  11. package/build/dist/2542.0e99091dcaba3d4146f7.js +1 -0
  12. package/build/dist/2674.c14dd535cfec77ea8cf5.js +1 -0
  13. package/build/dist/2851.1a65e336550d234e96ee.js +1 -0
  14. package/build/dist/302.d87fee87db0907af0acb.js +1 -0
  15. package/build/dist/3233.38e5f88a83da3f8c98a9.js +1 -0
  16. package/build/dist/3402.4defd531d6033f4e0f0b.js +1 -0
  17. package/build/dist/3457.bb4fd1927c4640717aef.js +1 -0
  18. package/build/dist/3471.ef3b5dcfe37963034187.js +1 -0
  19. package/build/dist/3679.414c4e1291c46aa9671e.js +1 -0
  20. package/build/dist/397.19bbedd5e9d5ed0c6790.js +2 -0
  21. package/build/dist/397.19bbedd5e9d5ed0c6790.js.LICENSE.txt +6 -0
  22. package/build/dist/3a4004a46a653d4b2166.woff +0 -0
  23. package/build/dist/3baa5b8f3469222b822d.woff +0 -0
  24. package/build/dist/4091.9aa2af51cb608f24eb8f.js +1 -0
  25. package/build/dist/4273.b5a75d7edaf3213e5bbf.js +1 -0
  26. package/build/dist/4488.b56bfd5c6a6875215517.js +1 -0
  27. package/build/dist/4903.dca0624a3a0428b2b2b6.js +1 -0
  28. package/build/dist/4ef4218c522f1eb6b5b1.woff2 +0 -0
  29. package/build/dist/5308.31253eddce7e10dce433.js +1 -0
  30. package/build/dist/5469.f628db3da67d37774e6b.js +1 -0
  31. package/build/dist/5516.0e466536ea6d801f3d3d.js +1 -0
  32. package/build/dist/5614.38e5f88a83da3f8c98a9.js +1 -0
  33. package/build/dist/5838.1d57a1ebe1d439a635b2.js +1 -0
  34. package/build/dist/5937.088e5a04adbf7f7f643e.js +1 -0
  35. package/build/dist/5d681e2edae8c60630db.woff +0 -0
  36. package/build/dist/6010.957f57d29fdd2751f5fd.js +1 -0
  37. package/build/dist/6084.6c144a4d692d003cfca0.js +1 -0
  38. package/build/dist/6247.5ecfb4df2e65874e8bc8.js +1 -0
  39. package/build/dist/6322.552511b5cb12cd0c821c.js +1 -0
  40. package/build/dist/6723.faaa06f224af3b03127a.js +2 -0
  41. package/build/dist/6723.faaa06f224af3b03127a.js.LICENSE.txt +39 -0
  42. package/build/dist/6892.b69dd001a41b08ad47cd.js +1 -0
  43. package/build/dist/6f420cf17cc0d7676fad.woff2 +0 -0
  44. package/build/dist/7133.f410be5e4708966bae6b.js +1 -0
  45. package/build/dist/7181.007bb70eb8aea53994a6.js +1 -0
  46. package/build/dist/7209.4b92fb384d0b34b7d7f1.js +1 -0
  47. package/build/dist/7274.fcf2dbbd07cfa34c700a.js +1 -0
  48. package/build/dist/7795.62b518fc1550f5ab95c9.js +2 -0
  49. package/build/dist/{4943.553df30402cc2c86f2ca.js.LICENSE.txt → 7795.62b518fc1550f5ab95c9.js.LICENSE.txt} +2 -2
  50. package/build/dist/8090.a6ad12a3a30434ea59f8.js +1 -0
  51. package/build/dist/8302.6050fe41a9ef875b0809.js +1 -0
  52. package/build/dist/8435.e4b8583eacf333c4a4a5.js +1 -0
  53. package/build/dist/8603.6e6c9abec3bad08e3a59.js +1 -0
  54. package/build/dist/8714.175a417afd060b64a554.js +1 -0
  55. package/build/dist/8765.0ec7ea96da8a1984b061.js +1 -0
  56. package/build/dist/9782.5984f63466577298f116.js +1 -0
  57. package/build/dist/c380809fd3677d7d6903.woff2 +0 -0
  58. package/build/dist/f882956fd323fd322f31.woff +0 -0
  59. package/build/dist/fonts/Assistant/Assistant-Bold.woff2 +0 -0
  60. package/build/dist/fonts/Assistant/Assistant-Medium.woff2 +0 -0
  61. package/build/dist/fonts/Assistant/Assistant-Regular.woff2 +0 -0
  62. package/build/dist/fonts/Assistant/Assistant-SemiBold.woff2 +0 -0
  63. package/build/dist/fonts/Cascadia/CascadiaCode-Regular.woff2 +0 -0
  64. package/build/dist/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2 +0 -0
  65. package/build/dist/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2 +0 -0
  66. package/build/dist/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2 +0 -0
  67. package/build/dist/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2 +0 -0
  68. package/build/dist/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2 +0 -0
  69. package/build/dist/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2 +0 -0
  70. package/build/dist/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2 +0 -0
  71. package/build/dist/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2 +0 -0
  72. package/build/dist/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2 +0 -0
  73. package/build/dist/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2 +0 -0
  74. package/build/dist/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2 +0 -0
  75. package/build/dist/fonts/Liberation/LiberationSans-Regular.woff2 +0 -0
  76. package/build/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
  77. package/build/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
  78. package/build/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
  79. package/build/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
  80. package/build/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
  81. package/build/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
  82. package/build/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
  83. package/build/dist/fonts/Virgil/Virgil-Regular.woff2 +0 -0
  84. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
  85. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
  86. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
  87. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
  88. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
  89. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
  90. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
  91. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
  92. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
  93. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
  94. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
  95. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
  96. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
  97. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
  98. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
  99. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
  100. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
  101. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
  102. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
  103. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
  104. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
  105. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
  106. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
  107. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
  108. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
  109. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
  110. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
  111. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
  112. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
  113. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
  114. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
  115. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
  116. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
  117. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
  118. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
  119. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
  120. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
  121. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
  122. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
  123. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
  124. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
  125. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
  126. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
  127. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
  128. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
  129. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
  130. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
  131. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
  132. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
  133. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
  134. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
  135. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
  136. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
  137. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
  138. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
  139. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
  140. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
  141. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
  142. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
  143. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
  144. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
  145. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
  146. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
  147. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
  148. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
  149. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
  150. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
  151. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
  152. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
  153. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
  154. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
  155. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
  156. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
  157. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
  158. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
  159. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
  160. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
  161. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
  162. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
  163. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
  164. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
  165. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
  166. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
  167. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
  168. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
  169. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
  170. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
  171. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
  172. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
  173. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
  174. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
  175. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
  176. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
  177. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
  178. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
  179. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
  180. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
  181. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
  182. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
  183. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
  184. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
  185. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
  186. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
  187. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
  188. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
  189. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
  190. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
  191. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
  192. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
  193. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
  194. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
  195. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
  196. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
  197. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
  198. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
  199. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
  200. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
  201. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
  202. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
  203. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
  204. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
  205. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
  206. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
  207. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
  208. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
  209. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
  210. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
  211. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
  212. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
  213. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
  214. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
  215. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
  216. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
  217. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
  218. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
  219. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
  220. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
  221. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
  222. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
  223. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
  224. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
  225. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
  226. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
  227. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
  228. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
  229. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
  230. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
  231. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
  232. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
  233. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
  234. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
  235. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
  236. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
  237. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
  238. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
  239. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
  240. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
  241. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
  242. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
  243. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
  244. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
  245. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
  246. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
  247. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
  248. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
  249. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
  250. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
  251. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
  252. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
  253. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
  254. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
  255. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
  256. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
  257. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
  258. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
  259. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
  260. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
  261. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
  262. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
  263. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
  264. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
  265. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
  266. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
  267. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
  268. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
  269. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
  270. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
  271. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
  272. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
  273. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
  274. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
  275. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
  276. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
  277. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
  278. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
  279. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
  280. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
  281. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
  282. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
  283. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
  284. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
  285. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
  286. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
  287. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
  288. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
  289. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
  290. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
  291. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
  292. package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
  293. package/build/dist/index.html +1 -1
  294. package/build/dist/main.12ddefef82e64616c63b.js +1 -0
  295. package/build/dist/npm.ace-builds.22bc4a169f166b733c0f.js +2 -0
  296. package/build/dist/npm.axios.5550ce6331dd7babbcfe.js +1 -0
  297. package/build/dist/npm.chart.js.0ad4e9e20981e48dca13.js +2 -0
  298. package/build/dist/npm.chart.js.0ad4e9e20981e48dca13.js.LICENSE.txt +6 -0
  299. package/build/dist/npm.cytoscape-fcose.d4154179517c9b555387.js +1 -0
  300. package/build/dist/npm.cytoscape.1ab5ad8eeddb40b22777.js +2 -0
  301. package/build/dist/npm.cytoscape.1ab5ad8eeddb40b22777.js.LICENSE.txt +9 -0
  302. package/build/dist/npm.d3-selection.d95fb47c647ef6e93798.js +1 -0
  303. package/build/dist/npm.d3-shape.a087932c2fb242e67aa2.js +1 -0
  304. package/build/dist/npm.d3-transition.1ffb934268fd02aa8a55.js +1 -0
  305. package/build/dist/npm.dagre-d3-es.328111eca4fe01fedd69.js +1 -0
  306. package/build/dist/npm.dompurify.8985dbe483915146cb24.js +2 -0
  307. package/build/dist/npm.dompurify.8985dbe483915146cb24.js.LICENSE.txt +1 -0
  308. package/build/dist/npm.entities.ba34149d7478c9b47dfc.js +1 -0
  309. package/build/dist/npm.es-toolkit.6e2def85c642c1ae121c.js +1 -0
  310. package/build/dist/npm.excalidraw.1b06762da5042714467a.js +1 -0
  311. package/build/dist/npm.floating-ui.c75a64cadcbaaebc0082.js +1 -0
  312. package/build/dist/npm.flv.js.0840f00f39de4a7462e5.js +2 -0
  313. package/build/dist/npm.github-markdown-css.a3ce76a1172b0aa3ee39.js +1 -0
  314. package/build/dist/npm.highlight.js.630038518d374f6e2cc8.js +1 -0
  315. package/build/dist/npm.i18next.e437a4832af06db950c4.js +1 -0
  316. package/build/dist/npm.image-blob-reduce.973825a3b7c5a1605a78.js +2 -0
  317. package/build/dist/npm.image-blob-reduce.973825a3b7c5a1605a78.js.LICENSE.txt +6 -0
  318. package/build/dist/npm.jotai.720ac6e33cb359ba1534.js +1 -0
  319. package/build/dist/npm.katex.4d2cff2fcf336ed7197a.js +1 -0
  320. package/build/dist/npm.khroma.7ab89b0e2068439dcb74.js +1 -0
  321. package/build/dist/npm.layout-base.083bcbb66eb2ac0710e0.js +1 -0
  322. package/build/dist/npm.linkify-it.d73b59412cd4f58014e2.js +1 -0
  323. package/build/dist/npm.lodash-es.caed1cb74816cb0ed085.js +1 -0
  324. package/build/dist/{2543.c1df37b86fd6b03c3976.js → npm.lodash.1a54ae8897dec515cba5.js} +2 -2
  325. package/build/dist/npm.m3u8-parser.bd32edfbb4624453cab1.js +2 -0
  326. package/build/dist/npm.m3u8-parser.bd32edfbb4624453cab1.js.LICENSE.txt +1 -0
  327. package/build/dist/npm.markdown-it.81994f1b0a64619b892a.js +1 -0
  328. package/build/dist/npm.marked.eca56da17ee2f6971db4.js +1 -0
  329. package/build/dist/npm.mermaid.92be56e14ee41c57413e.js +1 -0
  330. package/build/dist/npm.mpd-parser.8d49860cde5e4ba98bce.js +1 -0
  331. package/build/dist/npm.noty.9c23b429c58905300317.js +2 -0
  332. package/build/dist/npm.noty.9c23b429c58905300317.js.LICENSE.txt +15 -0
  333. package/build/dist/npm.pako.d09a10c87f3ff6430db5.js +1 -0
  334. package/build/dist/npm.pica.0221586fdf149794321d.js +2 -0
  335. package/build/dist/npm.pica.0221586fdf149794321d.js.LICENSE.txt +12 -0
  336. package/build/dist/npm.radix-ui.b72ef3f2fc48abef7f2e.js +1 -0
  337. package/build/dist/npm.react-dom.04d94d5c22972617b52b.js +2 -0
  338. package/build/dist/npm.react-dom.04d94d5c22972617b52b.js.LICENSE.txt +19 -0
  339. package/build/dist/npm.react-i18next.099c4c3b0901000f1e77.js +1 -0
  340. package/build/dist/npm.react-router.6294ae9e93aa01cece06.js +2 -0
  341. package/build/dist/npm.react-router.6294ae9e93aa01cece06.js.LICENSE.txt +10 -0
  342. package/build/dist/npm.roughjs.cbb6e04fb936a07e9362.js +1 -0
  343. package/build/dist/npm.upsetjs.31a298e7d4856837d68e.js +1 -0
  344. package/build/dist/npm.video.js.a61b7ba57d10b9b3e56d.js +2 -0
  345. package/build/dist/{2859.b88c9b76c79cf21a2f33.js.LICENSE.txt → npm.video.js.a61b7ba57d10b9b3e56d.js.LICENSE.txt} +0 -2
  346. package/build/dist/npm.videojs-vtt.js.2b4769f05d44fad4469c.js +1 -0
  347. package/build/dist/npm.videojs.230d2e05e6e419773044.js +1 -0
  348. package/build/dist/npm.xmldom.28c23d613c92dc7511ad.js +1 -0
  349. package/build/dist/npm.xterm.757ab099dce39da3f542.js +1 -0
  350. package/build/main.js +1 -1
  351. package/build/main.js.LICENSE.txt +1 -1
  352. package/package.json +17 -16
  353. package/shell/build.js +7 -1
  354. package/shell/config/.babelrc +8 -3
  355. package/shell/config/base.webpack.config.js +1 -1
  356. package/shell/config/webpack.web.config.js +33 -11
  357. package/build/dist/1428.c1308782e0dd008f4519.js +0 -2
  358. package/build/dist/1428.c1308782e0dd008f4519.js.LICENSE.txt +0 -1
  359. package/build/dist/1501.d256469be37a8cd806b3.js +0 -1
  360. package/build/dist/1595.bdd63fb3c8d57d2be430.js +0 -1
  361. package/build/dist/1636.e1d7c49ddd45515d9687.js +0 -2
  362. package/build/dist/1636.e1d7c49ddd45515d9687.js.LICENSE.txt +0 -1
  363. package/build/dist/1962.b4a08debb34d1a840aaf.js +0 -2
  364. package/build/dist/1962.b4a08debb34d1a840aaf.js.LICENSE.txt +0 -1
  365. package/build/dist/2502.192a426e2e244b430f09.js +0 -2
  366. package/build/dist/2502.192a426e2e244b430f09.js.LICENSE.txt +0 -1
  367. package/build/dist/2542.7c6602fb9248bbea6b3a.js +0 -2
  368. package/build/dist/2542.7c6602fb9248bbea6b3a.js.LICENSE.txt +0 -1
  369. package/build/dist/2685.61dbbdf62ad2f9e0a64e.js +0 -1
  370. package/build/dist/27.de4dc0ae94f30cf51809.js +0 -2
  371. package/build/dist/27.de4dc0ae94f30cf51809.js.LICENSE.txt +0 -1
  372. package/build/dist/2811.f658fc8d54cf29b556f0.js +0 -2
  373. package/build/dist/2811.f658fc8d54cf29b556f0.js.LICENSE.txt +0 -1
  374. package/build/dist/2851.f71dcc00200781834a71.js +0 -2
  375. package/build/dist/2851.f71dcc00200781834a71.js.LICENSE.txt +0 -1
  376. package/build/dist/2859.b88c9b76c79cf21a2f33.js +0 -2
  377. package/build/dist/296.f48b259b30afc0f99ecc.js +0 -2
  378. package/build/dist/296.f48b259b30afc0f99ecc.js.LICENSE.txt +0 -1
  379. package/build/dist/3029.7ea224397135b1f3799d.js +0 -2
  380. package/build/dist/3029.7ea224397135b1f3799d.js.LICENSE.txt +0 -1
  381. package/build/dist/3402.7ce43d6229d0d1619983.js +0 -2
  382. package/build/dist/3402.7ce43d6229d0d1619983.js.LICENSE.txt +0 -1
  383. package/build/dist/3441.394e6e800b831102e646.js +0 -2
  384. package/build/dist/3441.394e6e800b831102e646.js.LICENSE.txt +0 -1
  385. package/build/dist/3659.19dee47c9e6420d42615.js +0 -2
  386. package/build/dist/3659.19dee47c9e6420d42615.js.LICENSE.txt +0 -1
  387. package/build/dist/4091.ef98e6988f74de1e2a68.js +0 -1
  388. package/build/dist/4273.1fae62a68bc0efc4b277.js +0 -2
  389. package/build/dist/4273.1fae62a68bc0efc4b277.js.LICENSE.txt +0 -1
  390. package/build/dist/4377.41dfd26b8fdc5a907910.js +0 -2
  391. package/build/dist/4377.41dfd26b8fdc5a907910.js.LICENSE.txt +0 -1
  392. package/build/dist/4488.0286e323a8d8d0b8b309.js +0 -2
  393. package/build/dist/4488.0286e323a8d8d0b8b309.js.LICENSE.txt +0 -1
  394. package/build/dist/4627.b7cf5db19fa4f419c364.js +0 -1
  395. package/build/dist/4903.a989ea7286fbf2b5ee92.js +0 -1
  396. package/build/dist/4943.553df30402cc2c86f2ca.js +0 -2
  397. package/build/dist/4944.8aa281623c3a18166f32.js +0 -2
  398. package/build/dist/4944.8aa281623c3a18166f32.js.LICENSE.txt +0 -1
  399. package/build/dist/5308.c6ab18267e2069911f58.js +0 -2
  400. package/build/dist/5308.c6ab18267e2069911f58.js.LICENSE.txt +0 -1
  401. package/build/dist/5614.16ffba6ad4e5eb2f43ff.js +0 -1
  402. package/build/dist/5663.170c94f41ff3ee2759cb.js +0 -2
  403. package/build/dist/5937.f4e395163bc8c10570e5.js +0 -2
  404. package/build/dist/5937.f4e395163bc8c10570e5.js.LICENSE.txt +0 -1
  405. package/build/dist/6010.5bf83729de7de98e2a5a.js +0 -1
  406. package/build/dist/6100.a1b2afcf964d9cc6372d.js +0 -2
  407. package/build/dist/6100.a1b2afcf964d9cc6372d.js.LICENSE.txt +0 -1
  408. package/build/dist/6247.43d441a43d72c3d47e7a.js +0 -2
  409. package/build/dist/6247.43d441a43d72c3d47e7a.js.LICENSE.txt +0 -1
  410. package/build/dist/654.cd0fcc3cc803a01a8b4d.js +0 -1
  411. package/build/dist/7133.f6e2a6ce9b6fc624e379.js +0 -1
  412. package/build/dist/7181.4425a8eb977ce399d5fd.js +0 -2
  413. package/build/dist/7181.4425a8eb977ce399d5fd.js.LICENSE.txt +0 -1
  414. package/build/dist/7690.67d847e6334eb943855d.js +0 -2
  415. package/build/dist/7690.67d847e6334eb943855d.js.LICENSE.txt +0 -1
  416. package/build/dist/7759.43ef649c1c6572b236ba.js +0 -2
  417. package/build/dist/7759.43ef649c1c6572b236ba.js.LICENSE.txt +0 -1
  418. package/build/dist/7856.d79f40a4e2bc2ea456dc.js +0 -1
  419. package/build/dist/8257.a3638cdabf90d573a941.js +0 -2
  420. package/build/dist/8301.8fb463ed19b485a8651e.js +0 -2
  421. package/build/dist/8435.c0341d033aaa1e1e9d9a.js +0 -1
  422. package/build/dist/8603.dc7a76ac96b34ca323a9.js +0 -2
  423. package/build/dist/8603.dc7a76ac96b34ca323a9.js.LICENSE.txt +0 -1
  424. package/build/dist/8714.3b4b50b388e5c41fb3e0.js +0 -2
  425. package/build/dist/8714.3b4b50b388e5c41fb3e0.js.LICENSE.txt +0 -1
  426. package/build/dist/8931.13c1dd9bfa6012882257.js +0 -2
  427. package/build/dist/8931.13c1dd9bfa6012882257.js.LICENSE.txt +0 -1
  428. package/build/dist/9165.c3aaa776269f39dd213c.js +0 -1
  429. package/build/dist/9213.51e739fc3528f771d1c9.js +0 -2
  430. package/build/dist/9213.51e739fc3528f771d1c9.js.LICENSE.txt +0 -1
  431. package/build/dist/9214.0c111594426d1aebc37f.js +0 -2
  432. package/build/dist/9214.0c111594426d1aebc37f.js.LICENSE.txt +0 -1
  433. package/build/dist/9591.eadf1ed92eb9aa0610ea.js +0 -2
  434. package/build/dist/9591.eadf1ed92eb9aa0610ea.js.LICENSE.txt +0 -1
  435. package/build/dist/9704.6a9c86824be21b5c272c.js +0 -2
  436. package/build/dist/9704.6a9c86824be21b5c272c.js.LICENSE.txt +0 -1
  437. package/build/dist/9923.daf10bf91ceb54e9920c.js +0 -1
  438. package/build/dist/excalidraw-assets/Cascadia.woff2 +0 -0
  439. package/build/dist/excalidraw-assets/Virgil.woff2 +0 -0
  440. package/build/dist/excalidraw-assets/locales/zh-CN-json-069c304b5011429be615.js +0 -1
  441. package/build/dist/excalidraw-assets/vendor-677e88ca78c86bddf13d.js +0 -2
  442. package/build/dist/main.b1e351571e78cd7caca5.js +0 -2
  443. package/build/dist/main.b1e351571e78cd7caca5.js.LICENSE.txt +0 -80
  444. /package/build/dist/{excalidraw-assets/Assistant-Medium.woff2 → 0196e01373538d8ddd9b.woff2} +0 -0
  445. /package/build/dist/{excalidraw-assets/Assistant-Bold.woff2 → 14280543a73d6738a929.woff2} +0 -0
  446. /package/build/dist/{excalidraw-assets/Assistant-SemiBold.woff2 → 590ad9e4bfdad16dca50.woff2} +0 -0
  447. /package/build/dist/{excalidraw-assets/Assistant-Regular.woff2 → 667df7ca125d6b63b135.woff2} +0 -0
  448. /package/build/dist/{8301.8fb463ed19b485a8651e.js.LICENSE.txt → npm.ace-builds.22bc4a169f166b733c0f.js.LICENSE.txt} +0 -0
  449. /package/build/dist/{8257.a3638cdabf90d573a941.js.LICENSE.txt → npm.flv.js.0840f00f39de4a7462e5.js.LICENSE.txt} +0 -0
  450. /package/build/dist/{2543.c1df37b86fd6b03c3976.js.LICENSE.txt → npm.lodash.1a54ae8897dec515cba5.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[1060],{51060(e,t,c){c.r(t),c.d(t,{default:()=>a});var a=async(e=[{}])=>(Array.isArray(e)||(e=[e]),new Promise((t,c)=>{const a=document.createElement("input");a.type="file";const i=[...e.map(e=>e.mimeTypes||[]),...e.map(e=>e.extensions||[])].join();a.multiple=e[0].multiple||!1,a.accept=i||"";const l=e=>{"function"==typeof n&&n(),t(e)},n=e[0].legacySetup&&e[0].legacySetup(l,()=>n(c),a);a.addEventListener("change",()=>{l(a.multiple?Array.from(a.files):a.files[0])}),a.click()}))}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[1080],{31080(){(()=>{"use strict";function e(e,n,i,s,a){if(![e,n,i,s].every(e=>Number.isFinite(e)))return;let o,h,l,r;if(4===(a=function(e){const t=typeof e;if("undefined"===t||null===e)return[0];if("function"===t)return[NaN];if("object"===t)return"function"==typeof e[Symbol.iterator]?[...e].map(e=>{const t=typeof e;return"undefined"===t||null===e?0:"function"===t?NaN:"object"===t?f(e):c(e)}):[f(e)];return[c(e)]}(a)).length)o=u(a[0]),h=u(a[1]),l=u(a[2]),r=u(a[3]);else if(3===a.length)o=u(a[0]),h=u(a[1]),r=u(a[1]),l=u(a[2]);else if(2===a.length)o=u(a[0]),l=u(a[0]),h=u(a[1]),r=u(a[1]);else{if(1!==a.length)throw new RangeError(`${t(this)} ${a.length} is not a valid size for radii sequence.`);o=u(a[0]),h=u(a[0]),l=u(a[0]),r=u(a[0])}const x=[o,h,l,r],y=x.find(({x:e,y:t})=>e<0||t<0);y?.x<0&&y.x;if(!x.some(({x:e,y:t})=>!Number.isFinite(e)||!Number.isFinite(t))){if(y)throw new RangeError(`${t(this)} Radius value ${y} is negative.`);!function(e){const[t,n,a,o]=e,h=[Math.abs(i)/(t.x+n.x),Math.abs(s)/(n.y+a.y),Math.abs(i)/(a.x+o.x),Math.abs(s)/(t.y+o.y)],l=Math.min(...h);if(l<=1)for(const t of e)t.x*=l,t.y*=l}(x),i<0&&s<0?(this.moveTo(e-o.x,n),this.ellipse(e+i+h.x,n-h.y,h.x,h.y,0,1.5*-Math.PI,-Math.PI),this.ellipse(e+i+l.x,n+s+l.y,l.x,l.y,0,-Math.PI,-Math.PI/2),this.ellipse(e-r.x,n+s+r.y,r.x,r.y,0,-Math.PI/2,0),this.ellipse(e-o.x,n-o.y,o.x,o.y,0,0,-Math.PI/2)):i<0?(this.moveTo(e-o.x,n),this.ellipse(e+i+h.x,n+h.y,h.x,h.y,0,-Math.PI/2,-Math.PI,1),this.ellipse(e+i+l.x,n+s-l.y,l.x,l.y,0,-Math.PI,1.5*-Math.PI,1),this.ellipse(e-r.x,n+s-r.y,r.x,r.y,0,Math.PI/2,0,1),this.ellipse(e-o.x,n+o.y,o.x,o.y,0,0,-Math.PI/2,1)):s<0?(this.moveTo(e+o.x,n),this.ellipse(e+i-h.x,n-h.y,h.x,h.y,0,Math.PI/2,0,1),this.ellipse(e+i-l.x,n+s+l.y,l.x,l.y,0,0,-Math.PI/2,1),this.ellipse(e+r.x,n+s+r.y,r.x,r.y,0,-Math.PI/2,-Math.PI,1),this.ellipse(e+o.x,n-o.y,o.x,o.y,0,-Math.PI,1.5*-Math.PI,1)):(this.moveTo(e+o.x,n),this.ellipse(e+i-h.x,n+h.y,h.x,h.y,0,-Math.PI/2,0),this.ellipse(e+i-l.x,n+s-l.y,l.x,l.y,0,0,Math.PI/2),this.ellipse(e+r.x,n+s-r.y,r.x,r.y,0,Math.PI/2,Math.PI),this.ellipse(e+o.x,n+o.y,o.x,o.y,0,Math.PI,1.5*Math.PI)),this.closePath(),this.moveTo(e,n)}function f(e){const{x:t,y:n,z:i,w:s}=e;return{x:t,y:n,z:i,w:s}}function c(e){return+e}function u(e){const t=c(e);return Number.isFinite(t)?{x:t,y:t}:Object(e)===e?{x:c(e.x??0),y:c(e.y??0)}:{x:NaN,y:NaN}}}function t(e){return`Failed to execute 'roundRect' on '${function(e){return Object(e)===e&&e instanceof Path2D?"Path2D":e instanceof globalThis?.CanvasRenderingContext2D?"CanvasRenderingContext2D":e instanceof globalThis?.OffscreenCanvasRenderingContext2D?"OffscreenCanvasRenderingContext2D":e?.constructor.name||e}(e)}':`}Path2D.prototype.roundRect??=e,globalThis.CanvasRenderingContext2D&&(globalThis.CanvasRenderingContext2D.prototype.roundRect??=e),globalThis.OffscreenCanvasRenderingContext2D&&(globalThis.OffscreenCanvasRenderingContext2D.prototype.roundRect??=e)})()}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[1455],{81455(e,t,n){n.r(t),n.d(t,{default:()=>a});var a=async(e,t={})=>{Array.isArray(t)&&(t=t[0]);const n=document.createElement("a");let a=e;"body"in e&&(a=await async function(e,t){const n=e.getReader(),a=new ReadableStream({start:e=>async function t(){return n.read().then(({done:n,value:a})=>{if(!n)return e.enqueue(a),t();e.close()})}()}),c=new Response(a),r=await c.blob();return n.releaseLock(),new Blob([r],{type:t})}(e.body,e.headers.get("content-type"))),n.download=t.fileName||"Untitled",n.href=URL.createObjectURL(await a);const c=()=>{"function"==typeof r&&r()},r=t.legacySetup&&t.legacySetup(c,()=>r(reject),n);return n.addEventListener("click",()=>{setTimeout(()=>URL.revokeObjectURL(n.href),3e4),c()}),n.click(),null}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[1636],{88062(e,n,s){s.d(n,{A:()=>c});s(96540),s(47022);var o=s(74848);function t(e){return(0,o.jsx)("div",{className:"black-tip",onClick:()=>{e.click&&e.click(e)},onContextMenu:n=>{n.stopPropagation(),n.nativeEvent.stopImmediatePropagation(),e.onContextMenu&&e.onContextMenu(n,e)},children:e.name})}const i=e=>(0,o.jsxs)("li",{children:[e.click?(0,o.jsx)(t,{...e.node,name:e.render?e.render(e.node):e.node.name,click:e.click,onContextMenu:e.onContextMenu}):(0,o.jsx)("div",{children:e.render?e.render(e.node):e.node.name}),e.node.children&&e.node.children.length>0&&(0,o.jsx)("ul",{children:e.node.children.map((n,s)=>(0,o.jsx)(i,{node:n,click:e.click,onContextMenu:e.onContextMenu,render:e.render},s))})]}),c=e=>(0,o.jsx)("div",{className:"card-tree-view",children:(0,o.jsx)("ul",{children:e.list&&e.list.map((n,s)=>(0,o.jsx)(i,{node:n,click:e.click,onContextMenu:e.onContextMenu,render:e.render},s))})})},81636(e,n,s){s.r(n),s.d(n,{default:()=>w});var o=s(59270),t=s(96540),i=s(34843),c=s(26417),r=s(92275),l=s(14944),d=s(70447),a=s(85997),u=s(57952),x=s(75725),f=s(47071),h=s(34289),m=s(88062),j=s(97856),v=(s(62042),s(15629),s(74848));const k=t.lazy(()=>Promise.all([s.e(7986),s.e(3233)]).then(s.bind(s,85614)));let p,_;function w(e){const{t:n}=(0,o.Bd)(),[s,w]=(0,i.fp)(c.AG.workflow_realtime_show),[g,C]=(0,t.useState)([]),[y,M]=(0,t.useState)([]),[b,q]=(0,t.useState)(!1),[S,F]=(0,t.useState)(void 0),[A,N]=(0,t.useState)([]),$=e=>{for(const n of e){if(null==n.code&&n?.extra_data?.running_type===f.rl.running)n.name=(0,v.jsxs)("div",{children:[(0,v.jsx)(d.fq,{running:!0}),n.name]});else if(0===n.code)n.name=(0,v.jsxs)("div",{children:[(0,v.jsx)(d.fq,{success:!0}),n.name]});else{if(!(n.code<1)){delete n.children;continue}n.name=(0,v.jsxs)("div",{children:[(0,v.jsx)(d.fq,{success:!1}),n.name]})}n.children&&$(n.children)}};(0,t.useEffect)(()=>(q(!1),p=void 0,_=void 0,(async()=>{const e=new f.v3;e.filename_path=`${(0,h.GG)("file",(0,h.vX)())}${s.filename}`,l.ws.addMsg(r.HK.workflow_realtime_one_rsq,e=>{if(e.context.list&&e.context.list.length>0){const n=e.context.list;$(n),N(n)}e.context.new_log&&B(e.context.new_log)}),l.ws.sendData(r.HK.workflow_realtime_one_req,e)})(),async()=>{l.ws.removeMsg(r.HK.workflow_realtime_one_rsq),_&&(_.dispose(),_=null)}),[]);const B=async e=>{_||await new Promise(e=>{p=e,q(!0),(async()=>{const e=new j.Terminal({fontFamily:"Monaco, Menlo, Consolas, 'Courier New', monospace",theme:{background:"#FFFFFF",foreground:"#000000",cursor:"#000000",selectionBackground:"#a6d2ff"},cursorBlink:!0,cursorStyle:"bar",scrollback:1e3,scrollSensitivity:1,tabStopWidth:4,convertEol:!0});_=e,F(e)})()}),e&&_.write(e)};return(0,v.jsxs)("div",{children:[(0,v.jsxs)(u.A,{children:[S&&(0,v.jsx)(a.rA,{icon:"print",title:"打印日志",onClick:()=>{q(!b)}}),(0,v.jsx)(a.rA,{icon:"close",title:n("关闭"),onClick:()=>{w({open:!1})}})]}),(0,v.jsx)(x.jW,{isFull:!0,more:!0,children:(0,v.jsx)(x.NN,{children:(0,v.jsx)(m.A,{list:A,click:e=>{}})})}),(0,v.jsx)("div",{style:{display:b?"":"none"},children:(0,v.jsx)(k,{show:!0,terminal:S,init:()=>{p&&(p(1),p=void 0)}})})]})}},15629(e,n,s){s.d(n,{W:()=>r,Y:()=>l});s(96540);var o=s(70447),t=s(47071),i=s(59270),c=s(74848);function r({item:e}){const{t:n}=(0,i.Bd)();let s,r;return null!=e.code?s=0===e.code:e.extra_data?.running_type===t.rl.running&&(r=!0),(0,c.jsxs)("div",{children:[(0,c.jsx)(o.fq,{success:s,running:r}),n(s?"成功":"失败")]})}const l=(e,n,s)=>{if(n)for(const s of n??[]){let n;const t=[];s["use-yml"]?(l(t,void 0,s.use_job_children_list),n=`${s["use-yml"]} ;${s.duration??-1}`):s.runs?n=JSON.stringify(s.runs):s.run?n=s.run:s["run-js"]?n=s["run-js"]:s.sleep&&(n=`sleep ${s.sleep}`),n=(0,c.jsxs)("div",{children:[(0,c.jsx)(o.fq,{success:void 0===s.code?void 0:0===s.code})," ",n+" ;"+(s.duration??"")]}),e.push({name:n,children:t,extra_data:{code:s.code,context:s.message}})}else if(s)for(const n of s??[]){const s=(0,c.jsxs)("div",{children:[(0,c.jsx)(o.fq,{success:void 0===n.code?void 0:0===n.code}),"$",n.name]});e.push({name:s,extra_data:{code:n.code,is_job:!0,job_data:n}})}}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[2055],{69428(u){var e=!0,t=!1,n=!1;function o(u,e,t){var n=u.attrIndex(e),o=[e,t];n<0?u.attrPush(o):u.attrs[n]=o}function s(u,e){for(var t=u[e].level-1,n=e-1;n>=0;n--)if(u[n].level===t)return n;return-1}function r(u,e){return"inline"===u[e].type&&function(u){return"paragraph_open"===u.type}(u[e-1])&&function(u){return"list_item_open"===u.type}(u[e-2])&&function(u){return 0===u.content.indexOf("[ ] ")||0===u.content.indexOf("[x] ")||0===u.content.indexOf("[X] ")}(u[e])}function i(u,o){if(u.children.unshift(function(u,t){var n=new t("html_inline","",0),o=e?' disabled="" ':"";0===u.content.indexOf("[ ] ")?n.content='<input class="task-list-item-checkbox"'+o+'type="checkbox">':0!==u.content.indexOf("[x] ")&&0!==u.content.indexOf("[X] ")||(n.content='<input class="task-list-item-checkbox" checked=""'+o+'type="checkbox">');return n}(u,o)),u.children[1].content=u.children[1].content.slice(3),u.content=u.content.slice(3),t)if(n){u.children.pop();var s="task-item-"+Math.ceil(1e7*Math.random()-1e3);u.children[0].content=u.children[0].content.slice(0,-1)+' id="'+s+'">',u.children.push(function(u,e,t){var n=new t("html_inline","",0);return n.content='<label class="task-list-item-label" for="'+e+'">'+u+"</label>",n.attrs=[{for:e}],n}(u.content,s,o))}else u.children.unshift(function(u){var e=new u("html_inline","",0);return e.content="<label>",e}(o)),u.children.push(function(u){var e=new u("html_inline","",0);return e.content="</label>",e}(o))}u.exports=function(u,c){c&&(e=!c.enabled,t=!!c.label,n=!!c.labelAfter),u.core.ruler.after("inline","github-task-lists",function(u){for(var t=u.tokens,n=2;n<t.length;n++)r(t,n)&&(i(t[n],u.Token),o(t[n-2],"class","task-list-item"+(e?"":" enabled")),o(t[s(t,n-2)],"class","contains-task-list"))})}},27444(u,e,t){"use strict";t.d(e,{Ay:()=>A});const n=2147483647,o=36,s=/^xn--/,r=/[^\0-\x7F]/,i=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l=Math.floor,D=String.fromCharCode;function a(u){throw new RangeError(c[u])}function F(u,e){const t=u.split("@");let n="";t.length>1&&(n=t[0]+"@",u=t[1]);const o=function(u,e){const t=[];let n=u.length;for(;n--;)t[n]=e(u[n]);return t}((u=u.replace(i,".")).split("."),e).join(".");return n+o}function f(u){const e=[];let t=0;const n=u.length;for(;t<n;){const o=u.charCodeAt(t++);if(o>=55296&&o<=56319&&t<n){const n=u.charCodeAt(t++);56320==(64512&n)?e.push(((1023&o)<<10)+(1023&n)+65536):(e.push(o),t--)}else e.push(o)}return e}const h=function(u){return u>=48&&u<58?u-48+26:u>=65&&u<91?u-65:u>=97&&u<123?u-97:o},p=function(u,e){return u+22+75*(u<26)-((0!=e)<<5)},C=function(u,e,t){let n=0;for(u=t?l(u/700):u>>1,u+=l(u/e);u>455;n+=o)u=l(u/35);return l(n+36*u/(u+38))},E=function(u){const e=[],t=u.length;let s=0,r=128,i=72,c=u.lastIndexOf("-");c<0&&(c=0);for(let t=0;t<c;++t)u.charCodeAt(t)>=128&&a("not-basic"),e.push(u.charCodeAt(t));for(let D=c>0?c+1:0;D<t;){const c=s;for(let e=1,r=o;;r+=o){D>=t&&a("invalid-input");const c=h(u.charCodeAt(D++));c>=o&&a("invalid-input"),c>l((n-s)/e)&&a("overflow"),s+=c*e;const F=r<=i?1:r>=i+26?26:r-i;if(c<F)break;const f=o-F;e>l(n/f)&&a("overflow"),e*=f}const F=e.length+1;i=C(s-c,F,0==c),l(s/F)>n-r&&a("overflow"),r+=l(s/F),s%=F,e.splice(s++,0,r)}return String.fromCodePoint(...e)},d=function(u){const e=[],t=(u=f(u)).length;let s=128,r=0,i=72;for(const t of u)t<128&&e.push(D(t));const c=e.length;let F=c;for(c&&e.push("-");F<t;){let t=n;for(const e of u)e>=s&&e<t&&(t=e);const f=F+1;t-s>l((n-r)/f)&&a("overflow"),r+=(t-s)*f,s=t;for(const t of u)if(t<s&&++r>n&&a("overflow"),t===s){let u=r;for(let t=o;;t+=o){const n=t<=i?1:t>=i+26?26:t-i;if(u<n)break;const s=u-n,r=o-n;e.push(D(p(n+s%r,0))),u=l(s/r)}e.push(D(p(u,0))),i=C(r,f,F===c),r=0,++F}++r,++s}return e.join("")},A={version:"2.3.1",ucs2:{decode:f,encode:u=>String.fromCodePoint(...u)},decode:E,encode:d,toASCII:function(u){return F(u,function(u){return r.test(u)?"xn--"+d(u):u})},toUnicode:function(u){return F(u,function(u){return s.test(u)?E(u.slice(4).toLowerCase()):u})}}},53995(u,e,t){"use strict";t.d(e,{A:()=>i});const n={grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",satisfied:"😆",sweat_smile:"😅",joy:"😂",wink:"😉",blush:"😊",innocent:"😇",heart_eyes:"😍",kissing_heart:"😘",kissing:"😗",kissing_closed_eyes:"😚",kissing_smiling_eyes:"😙",yum:"😋",stuck_out_tongue:"😛",stuck_out_tongue_winking_eye:"😜",stuck_out_tongue_closed_eyes:"😝",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",smirk:"😏",unamused:"😒",relieved:"😌",pensive:"😔",sleepy:"😪",sleeping:"😴",mask:"😷",dizzy_face:"😵",sunglasses:"😎",confused:"😕",worried:"😟",open_mouth:"😮",hushed:"😯",astonished:"😲",flushed:"😳",frowning:"😦",anguished:"😧",fearful:"😨",cold_sweat:"😰",disappointed_relieved:"😥",cry:"😢",sob:"😭",scream:"😱",confounded:"😖",persevere:"😣",disappointed:"😞",sweat:"😓",weary:"😩",tired_face:"😫",rage:"😡",pout:"😡",angry:"😠",smiling_imp:"😈",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",heart:"❤️",hand:"✋",raised_hand:"✋",v:"✌️",point_up:"☝️",fist_raised:"✊",fist:"✊",monkey_face:"🐵",cat:"🐱",cow:"🐮",mouse:"🐭",coffee:"☕",hotsprings:"♨️",anchor:"⚓",airplane:"✈️",hourglass:"⌛",watch:"⌚",sunny:"☀️",star:"⭐",cloud:"☁️",umbrella:"☔",zap:"⚡",snowflake:"❄️",sparkles:"✨",black_joker:"🃏",mahjong:"🀄",phone:"☎️",telephone:"☎️",envelope:"✉️",pencil2:"✏️",black_nib:"✒️",scissors:"✂️",wheelchair:"♿",warning:"⚠️",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",bangbang:"‼️",interrobang:"⁉️",question:"❓",grey_question:"❔",grey_exclamation:"❕",exclamation:"❗",heavy_exclamation_mark:"❗",wavy_dash:"〰️",recycle:"♻️",white_check_mark:"✅",ballot_box_with_check:"☑️",heavy_check_mark:"✔️",x:"❌",negative_squared_cross_mark:"❎",curly_loop:"➰",loop:"➿",part_alternation_mark:"〽️",eight_spoked_asterisk:"✳️",eight_pointed_black_star:"✴️",sparkle:"❇️",copyright:"©️",registered:"®️",tm:"™️",information_source:"ℹ️",m:"Ⓜ️",black_circle:"⚫",white_circle:"⚪",black_large_square:"⬛",white_large_square:"⬜",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️"},o={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]};function s(u,e){return u[e].content}function r(u,e){const t=function(u){let e=u.defs;u.enabled.length&&(e=Object.keys(e).reduce((t,n)=>(u.enabled.indexOf(n)>=0&&(t[n]=e[n]),t),{}));const t=Object.keys(u.shortcuts).reduce((t,n)=>e[n]?Array.isArray(u.shortcuts[n])?(u.shortcuts[n].forEach(u=>{t[u]=n}),t):(t[u.shortcuts[n]]=n,t):t,{}),n=Object.keys(e);let o;o=0===n.length?"^$":n.map(u=>`:${u}:`).concat(Object.keys(t)).sort().reverse().map(u=>u.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")).join("|");const s=RegExp(o),r=RegExp(o,"g");return{defs:e,shortcuts:t,scanRE:s,replaceRE:r}}(u.utils.assign({},{defs:{},shortcuts:{},enabled:[]},e||{}));u.renderer.rules.emoji=s,u.core.ruler.after("linkify","emoji",function(u,e,t,n,o){const s=u.utils.arrayReplaceAt,r=u.utils.lib.ucmicro,i=u.utils.has,c=new RegExp([r.Z.source,r.P.source,r.Cc.source].join("|"));function l(u,n,s){let r=0;const l=[];if(u.replace(o,function(n,o,D){let a;if(i(t,n)){if(a=t[n],o>0&&!c.test(D[o-1]))return;if(o+n.length<D.length&&!c.test(D[o+n.length]))return}else a=n.slice(1,-1);if(o>r){const e=new s("text","",0);e.content=u.slice(r,o),l.push(e)}const F=new s("emoji","",0);F.markup=a,F.content=e[a],l.push(F),r=o+n.length}),r<u.length){const e=new s("text","",0);e.content=u.slice(r),l.push(e)}return l}return function(u){let e;const t=u.tokens;let o=0;for(let r=0,i=t.length;r<i;r++){if("inline"!==t[r].type)continue;let i=t[r].children;for(let c=i.length-1;c>=0;c--)e=i[c],"link_open"!==e.type&&"link_close"!==e.type||"auto"===e.info&&(o-=e.nesting),"text"===e.type&&0===o&&n.test(e.content)&&(t[r].children=i=s(i,c,l(e.content,e.level,u.Token)))}}}(u,t.defs,t.shortcuts,t.scanRE,t.replaceRE))}function i(u,e){const t={defs:n,shortcuts:o,enabled:[]},s=u.utils.assign({},t,e||{});r(u,s)}},8263(u,e,t){"use strict";function n(u,e,t,n){const o=Number(u[e].meta.id+1).toString();let s="";return"string"==typeof n.docId&&(s=`-${n.docId}-`),s+o}function o(u,e){let t=Number(u[e].meta.id+1).toString();return u[e].meta.subId>0&&(t+=`:${u[e].meta.subId}`),`[${t}]`}function s(u,e,t,n,o){const s=o.rules.footnote_anchor_name(u,e,t,n,o),r=o.rules.footnote_caption(u,e,t,n,o);let i=s;return u[e].meta.subId>0&&(i+=`:${u[e].meta.subId}`),`<sup class="footnote-ref"><a href="#fn${s}" id="fnref${i}">${r}</a></sup>`}function r(u,e,t){return(t.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n')+'<section class="footnotes">\n<ol class="footnotes-list">\n'}function i(){return"</ol>\n</section>\n"}function c(u,e,t,n,o){let s=o.rules.footnote_anchor_name(u,e,t,n,o);return u[e].meta.subId>0&&(s+=`:${u[e].meta.subId}`),`<li id="fn${s}" class="footnote-item">`}function l(){return"</li>\n"}function D(u,e,t,n,o){let s=o.rules.footnote_anchor_name(u,e,t,n,o);return u[e].meta.subId>0&&(s+=`:${u[e].meta.subId}`),` <a href="#fnref${s}" class="footnote-backref">↩︎</a>`}function a(u){const e=u.helpers.parseLinkLabel,t=u.utils.isSpace;u.renderer.rules.footnote_ref=s,u.renderer.rules.footnote_block_open=r,u.renderer.rules.footnote_block_close=i,u.renderer.rules.footnote_open=c,u.renderer.rules.footnote_close=l,u.renderer.rules.footnote_anchor=D,u.renderer.rules.footnote_caption=o,u.renderer.rules.footnote_anchor_name=n,u.block.ruler.before("reference","footnote_def",function(u,e,n,o){const s=u.bMarks[e]+u.tShift[e],r=u.eMarks[e];if(s+4>r)return!1;if(91!==u.src.charCodeAt(s))return!1;if(94!==u.src.charCodeAt(s+1))return!1;let i;for(i=s+2;i<r;i++){if(32===u.src.charCodeAt(i))return!1;if(93===u.src.charCodeAt(i))break}if(i===s+2)return!1;if(i+1>=r||58!==u.src.charCodeAt(++i))return!1;if(o)return!0;i++,u.env.footnotes||(u.env.footnotes={}),u.env.footnotes.refs||(u.env.footnotes.refs={});const c=u.src.slice(s+2,i-2);u.env.footnotes.refs[`:${c}`]=-1;const l=new u.Token("footnote_reference_open","",1);l.meta={label:c},l.level=u.level++,u.tokens.push(l);const D=u.bMarks[e],a=u.tShift[e],F=u.sCount[e],f=u.parentType,h=i,p=u.sCount[e]+i-(u.bMarks[e]+u.tShift[e]);let C=p;for(;i<r;){const e=u.src.charCodeAt(i);if(!t(e))break;9===e?C+=4-C%4:C++,i++}u.tShift[e]=i-h,u.sCount[e]=C-p,u.bMarks[e]=h,u.blkIndent+=4,u.parentType="footnote",u.sCount[e]<u.blkIndent&&(u.sCount[e]+=u.blkIndent),u.md.block.tokenize(u,e,n,!0),u.parentType=f,u.blkIndent-=4,u.tShift[e]=a,u.sCount[e]=F,u.bMarks[e]=D;const E=new u.Token("footnote_reference_close","",-1);return E.level=--u.level,u.tokens.push(E),!0},{alt:["paragraph","reference"]}),u.inline.ruler.after("image","footnote_inline",function(u,t){const n=u.posMax,o=u.pos;if(o+2>=n)return!1;if(94!==u.src.charCodeAt(o))return!1;if(91!==u.src.charCodeAt(o+1))return!1;const s=o+2,r=e(u,o+1);if(r<0)return!1;if(!t){u.env.footnotes||(u.env.footnotes={}),u.env.footnotes.list||(u.env.footnotes.list=[]);const e=u.env.footnotes.list.length,t=[];u.md.inline.parse(u.src.slice(s,r),u.md,u.env,t);u.push("footnote_ref","",0).meta={id:e},u.env.footnotes.list[e]={content:u.src.slice(s,r),tokens:t}}return u.pos=r+1,u.posMax=n,!0}),u.inline.ruler.after("footnote_inline","footnote_ref",function(u,e){const t=u.posMax,n=u.pos;if(n+3>t)return!1;if(!u.env.footnotes||!u.env.footnotes.refs)return!1;if(91!==u.src.charCodeAt(n))return!1;if(94!==u.src.charCodeAt(n+1))return!1;let o;for(o=n+2;o<t;o++){if(32===u.src.charCodeAt(o))return!1;if(10===u.src.charCodeAt(o))return!1;if(93===u.src.charCodeAt(o))break}if(o===n+2)return!1;if(o>=t)return!1;o++;const s=u.src.slice(n+2,o-1);if(void 0===u.env.footnotes.refs[`:${s}`])return!1;if(!e){let e;u.env.footnotes.list||(u.env.footnotes.list=[]),u.env.footnotes.refs[`:${s}`]<0?(e=u.env.footnotes.list.length,u.env.footnotes.list[e]={label:s,count:0},u.env.footnotes.refs[`:${s}`]=e):e=u.env.footnotes.refs[`:${s}`];const t=u.env.footnotes.list[e].count;u.env.footnotes.list[e].count++;u.push("footnote_ref","",0).meta={id:e,subId:t,label:s}}return u.pos=o,u.posMax=t,!0}),u.core.ruler.after("inline","footnote_tail",function(u){let e,t,n,o=!1;const s={};if(!u.env.footnotes)return;if(u.tokens=u.tokens.filter(function(u){return"footnote_reference_open"===u.type?(o=!0,t=[],n=u.meta.label,!1):"footnote_reference_close"===u.type?(o=!1,s[":"+n]=t,!1):(o&&t.push(u),!o)}),!u.env.footnotes.list)return;const r=u.env.footnotes.list;u.tokens.push(new u.Token("footnote_block_open","",1));for(let t=0,n=r.length;t<n;t++){const n=new u.Token("footnote_open","",1);if(n.meta={id:t,label:r[t].label},u.tokens.push(n),r[t].tokens){e=[];const n=new u.Token("paragraph_open","p",1);n.block=!0,e.push(n);const o=new u.Token("inline","",0);o.children=r[t].tokens,o.content=r[t].content,e.push(o);const s=new u.Token("paragraph_close","p",-1);s.block=!0,e.push(s)}else r[t].label&&(e=s[`:${r[t].label}`]);let o;e&&(u.tokens=u.tokens.concat(e)),o="paragraph_close"===u.tokens[u.tokens.length-1].type?u.tokens.pop():null;const i=r[t].count>0?r[t].count:1;for(let e=0;e<i;e++){const n=new u.Token("footnote_anchor","",0);n.meta={id:t,subId:e,label:r[t].label},u.tokens.push(n)}o&&u.tokens.push(o),u.tokens.push(new u.Token("footnote_close","",-1))}u.tokens.push(new u.Token("footnote_block_close","",-1))})}t.d(e,{A:()=>a})},18569(u,e,t){"use strict";t.d(e,{A:()=>s});const n=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function o(u,e){const t=u.posMax,o=u.pos;if(126!==u.src.charCodeAt(o))return!1;if(e)return!1;if(o+2>=t)return!1;u.pos=o+1;let s=!1;for(;u.pos<t;){if(126===u.src.charCodeAt(u.pos)){s=!0;break}u.md.inline.skipToken(u)}if(!s||o+1===u.pos)return u.pos=o,!1;const r=u.src.slice(o+1,u.pos);if(r.match(/(^|[^\\])(\\\\)*\s/))return u.pos=o,!1;u.posMax=u.pos,u.pos=o+1;u.push("sub_open","sub",1).markup="~";u.push("text","",0).content=r.replace(n,"$1");return u.push("sub_close","sub",-1).markup="~",u.pos=u.posMax+1,u.posMax=t,!0}function s(u){u.inline.ruler.after("emphasis","sub",o)}},77979(u,e,t){"use strict";t.d(e,{A:()=>s});const n=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function o(u,e){const t=u.posMax,o=u.pos;if(94!==u.src.charCodeAt(o))return!1;if(e)return!1;if(o+2>=t)return!1;u.pos=o+1;let s=!1;for(;u.pos<t;){if(94===u.src.charCodeAt(u.pos)){s=!0;break}u.md.inline.skipToken(u)}if(!s||o+1===u.pos)return u.pos=o,!1;const r=u.src.slice(o+1,u.pos);if(r.match(/(^|[^\\])(\\\\)*\s/))return u.pos=o,!1;u.posMax=u.pos,u.pos=o+1;u.push("sup_open","sup",1).markup="^";u.push("text","",0).content=r.replace(n,"$1");return u.push("sup_close","sup",-1).markup="^",u.pos=u.posMax+1,u.posMax=t,!0}function s(u){u.inline.ruler.after("emphasis","sup",o)}},45342(u,e,t){"use strict";t.r(e),t.d(e,{decode:()=>s,encode:()=>c,format:()=>l,parse:()=>k});const n={};function o(u,e){"string"!=typeof e&&(e=o.defaultChars);const t=function(u){let e=n[u];if(e)return e;e=n[u]=[];for(let u=0;u<128;u++){const t=String.fromCharCode(u);e.push(t)}for(let t=0;t<u.length;t++){const n=u.charCodeAt(t);e[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return e}(e);return u.replace(/(%[a-f0-9]{2})+/gi,function(u){let e="";for(let n=0,o=u.length;n<o;n+=3){const s=parseInt(u.slice(n+1,n+3),16);if(s<128)e+=t[s];else{if(192==(224&s)&&n+3<o){const t=parseInt(u.slice(n+4,n+6),16);if(128==(192&t)){const u=s<<6&1984|63&t;e+=u<128?"��":String.fromCharCode(u),n+=3;continue}}if(224==(240&s)&&n+6<o){const t=parseInt(u.slice(n+4,n+6),16),o=parseInt(u.slice(n+7,n+9),16);if(128==(192&t)&&128==(192&o)){const u=s<<12&61440|t<<6&4032|63&o;e+=u<2048||u>=55296&&u<=57343?"���":String.fromCharCode(u),n+=6;continue}}if(240==(248&s)&&n+9<o){const t=parseInt(u.slice(n+4,n+6),16),o=parseInt(u.slice(n+7,n+9),16),r=parseInt(u.slice(n+10,n+12),16);if(128==(192&t)&&128==(192&o)&&128==(192&r)){let u=s<<18&1835008|t<<12&258048|o<<6&4032|63&r;u<65536||u>1114111?e+="����":(u-=65536,e+=String.fromCharCode(55296+(u>>10),56320+(1023&u))),n+=9;continue}}e+="�"}}return e})}o.defaultChars=";/?:@&=+$,#",o.componentChars="";const s=o,r={};function i(u,e,t){"string"!=typeof e&&(t=e,e=i.defaultChars),void 0===t&&(t=!0);const n=function(u){let e=r[u];if(e)return e;e=r[u]=[];for(let u=0;u<128;u++){const t=String.fromCharCode(u);/^[0-9a-z]$/i.test(t)?e.push(t):e.push("%"+("0"+u.toString(16).toUpperCase()).slice(-2))}for(let t=0;t<u.length;t++)e[u.charCodeAt(t)]=u[t];return e}(e);let o="";for(let e=0,s=u.length;e<s;e++){const r=u.charCodeAt(e);if(t&&37===r&&e+2<s&&/^[0-9a-f]{2}$/i.test(u.slice(e+1,e+3)))o+=u.slice(e,e+3),e+=2;else if(r<128)o+=n[r];else if(r>=55296&&r<=57343){if(r>=55296&&r<=56319&&e+1<s){const t=u.charCodeAt(e+1);if(t>=56320&&t<=57343){o+=encodeURIComponent(u[e]+u[e+1]),e++;continue}}o+="%EF%BF%BD"}else o+=encodeURIComponent(u[e])}return o}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()";const c=i;function l(u){let e="";return e+=u.protocol||"",e+=u.slashes?"//":"",e+=u.auth?u.auth+"@":"",u.hostname&&-1!==u.hostname.indexOf(":")?e+="["+u.hostname+"]":e+=u.hostname||"",e+=u.port?":"+u.port:"",e+=u.pathname||"",e+=u.search||"",e+=u.hash||"",e}function D(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const a=/^([a-z0-9.+-]+:)/i,F=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,h=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),p=["'"].concat(h),C=["%","/","?",";","#"].concat(p),E=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,A=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};D.prototype.parse=function(u,e){let t,n,o,s=u;if(s=s.trim(),!e&&1===u.split("#").length){const u=f.exec(s);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}let r=a.exec(s);if(r&&(r=r[0],t=r.toLowerCase(),this.protocol=r,s=s.substr(r.length)),(e||r||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o="//"===s.substr(0,2),!o||r&&_[r]||(s=s.substr(2),this.slashes=!0)),!_[r]&&(o||r&&!m[r])){let u,e,t=-1;for(let u=0;u<E.length;u++)n=s.indexOf(E[u]),-1!==n&&(-1===t||n<t)&&(t=n);e=-1===t?s.lastIndexOf("@"):s.lastIndexOf("@",t),-1!==e&&(u=s.slice(0,e),s=s.slice(e+1),this.auth=u),t=-1;for(let u=0;u<C.length;u++)n=s.indexOf(C[u]),-1!==n&&(-1===t||n<t)&&(t=n);-1===t&&(t=s.length),":"===s[t-1]&&t--;const o=s.slice(0,t);s=s.slice(t),this.parseHost(o),this.hostname=this.hostname||"";const r="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!r){const u=this.hostname.split(/\./);for(let e=0,t=u.length;e<t;e++){const t=u[e];if(t&&!t.match(d)){let n="";for(let u=0,e=t.length;u<e;u++)t.charCodeAt(u)>127?n+="x":n+=t[u];if(!n.match(d)){const n=u.slice(0,e),o=u.slice(e+1),r=t.match(A);r&&(n.push(r[1]),o.unshift(r[2])),o.length&&(s=o.join(".")+s),this.hostname=n.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),r&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const i=s.indexOf("#");-1!==i&&(this.hash=s.substr(i),s=s.slice(0,i));const c=s.indexOf("?");return-1!==c&&(this.search=s.substr(c),s=s.slice(0,c)),s&&(this.pathname=s),m[t]&&this.hostname&&!this.pathname&&(this.pathname=""),this},D.prototype.parseHost=function(u){let e=F.exec(u);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),u=u.substr(0,u.length-e.length)),u&&(this.hostname=u)};const k=function(u,e){if(u&&u instanceof D)return u;const t=new D;return t.parse(u,e),t}},36800(u,e,t){"use strict";t.d(e,{A:()=>n});const n=/[\0-\x1F\x7F-\x9F]/},97246(u,e,t){"use strict";t.d(e,{A:()=>n});const n=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},2889(u,e,t){"use strict";t.d(e,{A:()=>n});const n=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/},37120(u,e,t){"use strict";t.d(e,{A:()=>n});const n=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},40304(u,e,t){"use strict";t.r(e),t.d(e,{Any:()=>n.A,Cc:()=>o.A,Cf:()=>s,P:()=>r.A,S:()=>i.A,Z:()=>c.A});var n=t(60891),o=t(36800);const s=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/;var r=t(97246),i=t(2889),c=t(37120)},60891(u,e,t){"use strict";t.d(e,{A:()=>n});const n=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 2286.cbd71319c6939820a1b9.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[2286],{75007(e,t,s){s.d(t,{h:()=>r});s(96540);var n=s(85997),c=s(74848);function r(e){return(0,c.jsxs)("h2",{className:"message",children:[(0,c.jsx)(n.In,{icon:"sentiment_dissatisfied"}),(0,c.jsx)("span",{children:e.context})]})}},22081(e,t,s){s.d(t,{A:()=>i});var n=s(96540),c=s(86004),r=s(74848);const i=({percentage:e})=>{const t=(0,n.useRef)(null),[s,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{const s=t.current.getContext("2d"),n=new c.Ay(s,{type:"doughnut",data:{labels:["use","left"],datasets:[{data:[e,100-e],backgroundColor:["#007bff","#f0f0f0"],borderWidth:0}]},options:{plugins:{legend:{display:!1},tooltip:{enabled:!1}},elements:{arc:{borderWidth:0}}}});return i(n),()=>{n.destroy()}},[]),(0,n.useEffect)(()=>{s&&(s.data.datasets[0].data=[e,100-e],s.update())},[e]),(0,r.jsx)("div",{style:{width:"8rem",overflow:"hidden"},children:(0,r.jsx)("canvas",{ref:t})})}},77481(e,t,s){s.d(t,{S:()=>i,X:()=>r});var n=s(96540),c=s(74848);function r(e){const[t,s]=n.useState([]);return(0,n.useEffect)(()=>{e.children?s(Array.isArray(e.children)?e.children:[e.children]):s(e.rows)},[e.rows,e.children]),(0,c.jsxs)("table",{children:[(0,c.jsx)("thead",{children:(0,c.jsx)("tr",{children:e.headers?.map((e,t)=>(0,c.jsx)("th",{children:e},t))})}),(0,c.jsx)("tbody",{children:t.map((t,s)=>(0,c.jsx)("tr",{onContextMenu:()=>{e.handleContextMenu&&e.handleContextMenu(t)},children:t.map((s,n)=>(0,c.jsx)("td",{style:{width:e.width??"auto"},className:n===t.length-1?"small":"",children:s},n))},s))})]})}function i(e){return(0,c.jsx)("div",{style:{display:e.isFlex?"flex":"block"},children:e.columns.map((e,t)=>(0,c.jsx)("div",{children:e},t))})}},88062(e,t,s){s.d(t,{A:()=>i});s(96540),s(47022);var n=s(74848);function c(e){return(0,n.jsx)("div",{className:"black-tip",onClick:()=>{e.click&&e.click(e)},onContextMenu:t=>{t.stopPropagation(),t.nativeEvent.stopImmediatePropagation(),e.onContextMenu&&e.onContextMenu(t,e)},children:e.name})}const r=e=>(0,n.jsxs)("li",{children:[e.click?(0,n.jsx)(c,{...e.node,name:e.render?e.render(e.node):e.node.name,click:e.click,onContextMenu:e.onContextMenu}):(0,n.jsx)("div",{children:e.render?e.render(e.node):e.node.name}),e.node.children&&e.node.children.length>0&&(0,n.jsx)("ul",{children:e.node.children.map((t,s)=>(0,n.jsx)(r,{node:t,click:e.click,onContextMenu:e.onContextMenu,render:e.render},s))})]}),i=e=>(0,n.jsx)("div",{className:"card-tree-view",children:(0,n.jsx)("ul",{children:e.list&&e.list.map((t,s)=>(0,n.jsx)(r,{node:t,click:e.click,onContextMenu:e.onContextMenu,render:e.render},s))})})},57180(e,t,s){s.r(t),s.d(t,{default:()=>J});var n=s(96540),c=s(75725),r=s(70447),i=s(22081),o=s(92275),a=s(14944),l=s(14284),d=s(57952),h=s(85997),f=s(77481),u=s(53459),x=s(59270),p=s(34843),m=s(26417),j=s(74777),g=s(62042),_=s(63033),b=s(74848);function w(e){const{t}=(0,x.Bd)(),[s,i]=(0,p.fp)(m.AG.disk),[o,a]=(0,n.useState)({}),[j,g]=(0,n.useState)([]),_=[t("名字"),t("当前值"),t("历史最低"),t("临界值")];return(0,n.useEffect)(()=>{(async()=>{const s=await l.Yu.post("sys/disk/info",{name:e.name});if(s.code===u.m.Success){const e=[];for(const n of s.data.ata_smart_attributes??[]){let s;n[1]>=n[2]?s="var(--icon-green)":n[1]<=n[3]&&(s="var(--icon-red)"),n[0]=(0,b.jsx)("span",{style:{color:s},children:t(n[0])}),e.push(n)}g(s.data.ata_smart_attributes),a(s.data)}})()},[]),(0,b.jsxs)("div",{children:[(0,b.jsx)(d.A,{children:(0,b.jsx)(h.rA,{icon:"close",title:t("关闭"),onClick:()=>{i({})}})}),(0,b.jsx)(c.jW,{isFull:!0,more:!0,children:(0,b.jsx)(c.NN,{children:(0,b.jsxs)(c.fI,{children:[(0,b.jsxs)(c.VP,{widthPer:30,children:[(0,b.jsx)(c.xh,{children:(0,b.jsxs)(r.Zp,{title:t("基本信息"),children:[(0,b.jsx)(c.Yh,{left:t("名字"),right:e.name}),(0,b.jsx)(c.Yh,{left:t("厂商名称"),right:e.typeName}),(0,b.jsx)(c.Yh,{left:t("类型"),right:e.type}),(0,b.jsx)(c.Yh,{left:t("容量"),right:e.total})]})}),(0,b.jsx)(c.xh,{children:(0,b.jsxs)(r.Zp,{title:t("物理信息"),children:[(0,b.jsx)(c.Yh,{left:t("是否健康"),right:!0===o.smart_status?"是":"否"}),(0,b.jsx)(c.Yh,{left:t("设备型号"),right:o.model_name}),(0,b.jsx)(c.Yh,{left:t("序列号"),right:o.serial_number}),(0,b.jsx)(c.Yh,{left:t("固件版本"),right:o.firmware_version}),(0,b.jsx)(c.Yh,{left:t("转速(每分钟)"),right:o.rotation_rate}),(0,b.jsx)(c.Yh,{left:t("通电时长(小时)"),right:o.power_on_time_hours}),(0,b.jsx)(c.Yh,{left:t("通电次数"),right:o.power_cycle_count}),(0,b.jsx)(c.Yh,{left:t("温度(°C)"),right:o.temperature}),(0,b.jsx)(c.Yh,{left:t("通信协议"),right:o.device_protocol})]})})]}),(0,b.jsx)(c.VP,{widthPer:50,children:(0,b.jsxs)(c.xh,{children:[j?.length?(0,b.jsx)(r.uF,{title:t("ATA/SATA详细信息"),children:(0,b.jsx)(f.X,{headers:_,rows:j,width:"10rem"})}):(0,b.jsx)(b.Fragment,{}),o.nvme_smart?(0,b.jsxs)(r.Zp,{title:t("NVME详细信息"),children:[(0,b.jsx)(c.Yh,{left:t("NVMe 可用备用块(%)"),right:o.nvme_smart.available_spare}),(0,b.jsx)(c.Yh,{left:t("NVMe 已使用寿命(%)"),right:o.nvme_smart.percentage_used}),(0,b.jsx)(c.Yh,{left:t("NVMe 读取量"),right:o.nvme_smart.data_units_read}),(0,b.jsx)(c.Yh,{left:t("NVMe 写入量"),right:o.nvme_smart.data_units_written}),(0,b.jsx)(c.Yh,{left:t("NVMe 通电次数"),right:o.nvme_smart.power_cycles}),(0,b.jsx)(c.Yh,{left:t("NVMe 通电时长(小时)"),right:o.nvme_smart.power_on_hours}),(0,b.jsx)(c.Yh,{left:t("NVMe 非正常关机"),right:o.nvme_smart.unsafe_shutdowns}),(0,b.jsx)(c.Yh,{left:t("NVMe 媒体错误"),right:o.nvme_smart.media_errors}),(0,b.jsx)(c.Yh,{left:t("NVMe 错误日志数"),right:o.nvme_smart.num_err_log_entries})]}):(0,b.jsx)(b.Fragment,{})]})})]})})})]})}let y=function(e){return e[e.mount=0]="mount",e}({});var k=s(88062),v=s(78247),S=s(23430);const Y=e=>(0,b.jsxs)("div",{style:{border:"2px solid black",padding:"10px",width:"300px",height:"300px",position:"relative"},children:[e.name,e.lvms.map((e,t)=>(0,b.jsx)("div",{style:{margin:"5px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid "},children:e.name},t))]});function A(){return(0,b.jsx)("div",{style:{position:"relative",height:"300px",margin:"10px",width:"30px",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,b.jsx)("div",{style:{width:0,height:0,borderTop:"10px solid transparent",borderBottom:"10px solid transparent",borderLeft:"10px solid black"}})})}function C(){const{t:e}=(0,x.Bd)(),[t,s]=(0,p.fp)(m.AG.disk),[i,o]=(0,n.useState)({}),[a,j]=(0,n.useState)([]),[_,w]=(0,n.useState)([]),[C,F]=(0,p.fp)(m.AG.showPrompt),{check_user_auth:P}=(0,v.MH)(),[M,V]=(0,n.useState)([]),{click_file:$}=(0,v.kZ)(),[E,I]=(0,p.fp)(m.AG.prompt_card),K=[e("挂载点"),"uuid",e("类型"),e("文件系统类型"),e("文件系统容量"),e("卷容量"),e("设备路径"),e("分区表类型")],N=async()=>{const e=await l.Yu.get("disk/blk");return e.code===u.m.Success&&j(e.data),e.code};(0,n.useEffect)(()=>{(async()=>{N()})()},[]);const X=[(0,b.jsx)(h.rA,{icon:"info",title:e("提示"),onClick:async()=>{I({open:!0,title:"信息",context_div:(0,b.jsx)("div",{children:(0,b.jsxs)("ul",{children:[(0,b.jsxs)("li",{children:["通用格式:","<文件系统> <挂载点> <类型> <挂载选项> <dump> <fsck> "]}),(0,b.jsxs)("li",{children:["文件系统,有多种格式",(0,b.jsxs)("ul",{children:[(0,b.jsx)("li",{children:"1(usb口默认名称)./dev/sda1"}),(0,b.jsx)("li",{children:"2(唯一Id).UUID=123e4567-e89b-12d3-a456-426614174000"}),(0,b.jsx)("li",{children:"3.LABEL=DATA"})]})]}),(0,b.jsx)("li",{children:"挂载点,就是文件路径,例如 /mnt/data ,这个目录要提前创建,且为空"}),(0,b.jsx)("li",{children:"类型,就是文件系统类型,对于系统不支持的类型,例如ntfs需要额外前提安装ntfs-3g"}),(0,b.jsxs)("li",{children:['挂载选项的值只能是以下这些,可以用 "," 同时使用多个选项',(0,b.jsxs)("ul",{children:[(0,b.jsx)("li",{children:"defaults:使用默认挂载选项"}),(0,b.jsx)("li",{children:"noatime:不更新访问时间,提高性能"}),(0,b.jsx)("li",{children:"auto:系统启动时自动挂载"}),(0,b.jsx)("li",{children:"rw:以读写方式挂载"}),(0,b.jsx)("li",{children:"nofail:防止启动阻塞,挂载失败系统继续执行"}),(0,b.jsx)("li",{children:"...等"})]})]}),(0,b.jsx)("li",{children:"dump 0是需要备份 1是不需要备份"}),(0,b.jsx)("li",{children:"Fsck 整数值0是不检查,文件系统检查顺序越小越先检查"}),(0,b.jsx)("li",{children:"提示:只有含有文件系统的逻辑卷,或者分区才可以进行挂载。"})]})})})}}),(0,b.jsx)(h.rA,{icon:"update",title:e("更新挂载"),onClick:async()=>{(await l.Yu.post("cmd/exe",{type:y.mount})).code===u.m.Success&&(0,g.SK)("挂载文件已生效")}},1)],H=async()=>(await l.Yu.get("get_fstab")).data,Z=async e=>{await l.Yu.post("save_fstab",{content:e})};return(0,b.jsxs)("div",{children:[(0,b.jsx)(d.A,{children:(0,b.jsx)(h.rA,{icon:"close",title:e("关闭"),onClick:()=>{s({})}})}),(0,b.jsx)(c.jW,{isFull:!0,more:!0,children:(0,b.jsx)(c.NN,{children:(0,b.jsxs)(c.fI,{children:[(0,b.jsx)(c.VP,{widthPer:40,children:(0,b.jsxs)(r.Zp,{title:e("物理块(硬盘)设备、逻辑卷、物理卷"),titleCom:(0,b.jsxs)("div",{children:[P(S.oV.sys_disk_mount)&&(0,b.jsx)(h.rA,{icon:"file_open",title:e("打开挂载文件"),onClick:async()=>{$({name:"fstab(谨慎修改,内容错误会导致系统无法启动)",model:"text",get_file_fun:H,save_file_fun:Z,menu_list:X})}}),(0,b.jsx)(h.rA,{icon:"update",title:e("刷新"),onClick:async()=>{await N()===u.m.Success&&(0,g.SK)("刷新成功")}})]}),children:[(0,b.jsx)(f.X,{headers:K,rows:_,width:"10rem"}),(0,b.jsx)(k.A,{list:a,render:e=>{let t=e.name;return e.label&&(t+=`(${e.label})`),e.mountpoint?(0,b.jsxs)("span",{children:[t,(0,b.jsx)("span",{style:{color:"green"},children:"(已挂载)"})]}):t},onContextMenu:(e,t)=>{e.preventDefault()},click:t=>{let s="";if(t.mountpoint)for(let e=0;e<t.mountpoints.length;e++)s+=t.mountpoints[e]+";";w([[(0,b.jsx)(r.xP,{children:s}),(0,b.jsx)(r.xP,{children:t.uuid}),e(t.type),e(t.fstype),t.fssize,t.size,(0,b.jsx)(r.xP,{children:t.path}),t.pttype]])}})]})}),(0,b.jsx)(c.VP,{widthPer:60,children:M.map((t,s)=>{const n=[];for(const e of t.pv_list)n.push({name:`${e.name}---(${e.size})---(${e.free_size})`});const i=[];for(const e of t.lv_list)i.push({name:`${e.name}---(${e.size})`});return(0,b.jsx)(r.Zp,{children:(0,b.jsxs)(c.n5,{children:[(0,b.jsx)(Y,{name:e("物理卷"),lvms:n}),(0,b.jsx)(A,{}),(0,b.jsx)(Y,{name:`${e("逻辑卷")}---(${t.name})---size(${t.size})`,lvms:[]}),(0,b.jsx)(A,{}),(0,b.jsx)(Y,{name:e("逻辑卷"),lvms:i})]})},s)})})]})})})]})}var F=s(88815);let P=!0;function M(e){const{t}=(0,x.Bd)(),s=[t("名字"),t("厂商名称"),t("类型"),t("容量")],_=[t("名字"),t("物理硬盘"),t("文件系统类型"),t("挂载位置"),t("总容量"),t("剩余容量")],[y,k]=(0,p.fp)(m.AG.user_base_info),[v,Y]=(0,n.useState)(0),[A,M]=(0,n.useState)(0),[V,$]=(0,n.useState)(0),[E,I]=(0,n.useState)(0),[K,N]=(0,n.useState)(0),[X,H]=(0,n.useState)({}),[Z,T]=(0,n.useState)(!1),[G,O]=(0,n.useState)(!1),[W,B]=(0,n.useState)(!1),[U,L]=(0,n.useState)(P),[R,q]=(0,n.useState)(null),[z,D]=(0,n.useState)([]),[Q,J]=(0,n.useState)([]),[ee,te]=(0,p.fp)(m.AG.user_base_info),[se,ne]=(0,p.fp)(m.AG.disk),ce=async()=>{if(!P)return;const e=new o.hf(o.HK.sys_get);await a.ws.send(e),a.ws.addMsg(o.HK.sys_getting,e=>{I(e.context?.cpu_currentLoad);const t=e.context?.memLeft,s=e.context?.memTotal;M(t),$(s),Y((s-t)/s*100),q(e.context?.node_memory_usage),N(e.context?.node_cpu_usage)})};return(0,n.useEffect)(()=>((async()=>{await ce()})(),()=>{a.ws.sendData(o.HK.sys_cancel,{})}),[]),(0,b.jsxs)("div",{children:[(0,b.jsxs)(d.A,{children:[y.sys===S.XM.linux&&(0,b.jsx)(h.rA,{icon:"sd_card",title:"硬盘挂载",onClick:()=>{ne({type:"mount"})}}),(0,b.jsx)(h.Z$,{defaultStatus:!1,text:t("基本信息"),clickFun:e=>{T(e),e&&(async()=>{const e=await l.Yu.get("base");if(e.code===u.m.Success){const t=e.data;H(t)}})()}}),(0,b.jsx)(h.Z$,{defaultStatus:!1,text:t("物理硬盘"),clickFun:e=>{O(e),e&&(async()=>{const e=await l.Yu.get("disk");if(e.code===u.m.Success){const s=e.data,n=[];let c=!0;ee.sysSoftWare&&ee.sysSoftWare[j.jk.smartmontools]&&ee.sysSoftWare[j.jk.smartmontools].installed||(c=!1);for(const e of s??[])n.push([(0,b.jsx)(r.xP,{context:e.name}),e.typeName,e.type,e.total,(0,b.jsx)(h.rA,{icon:"health_and_safety",title:t("查看健康信息"),onClick:()=>{c?ne({type:"check",data:e}):(0,g.zN)("没有安装smartmontools")}})]);D(n)}})()}}),(0,b.jsx)(h.Z$,{defaultStatus:!1,text:t("文件硬盘"),clickFun:e=>{B(e),e&&(async()=>{const e=await l.Yu.get("filedisk");if(e.code===u.m.Success){const t=e.data,s=[];for(const e of t??[])s.push([(0,b.jsx)(r.xP,{context:e.name}),(0,b.jsx)(r.xP,{context:e.device_name}),e.fsType,(0,b.jsx)(r.xP,{context:e.mount}),e.total,e.available]);J(s)}})()}}),(0,b.jsx)(h.Z$,{defaultStatus:U,text:t("实时信息"),clickFun:e=>{L(e),P=e,ce()}})]}),(0,b.jsxs)(c.xh,{children:[U&&(0,b.jsxs)(c.fI,{children:[(0,b.jsx)(c.VP,{widthPer:33,children:(0,b.jsx)(r.Zp,{title:"Sys "+t("内存"),children:(0,b.jsxs)(c.fI,{children:[(0,b.jsx)(c.VP,{children:(0,b.jsx)(i.A,{percentage:v})}),(0,b.jsx)(c.VP,{children:(0,b.jsxs)(c.fI,{children:[(0,b.jsx)(c.VP,{widthPer:100,children:(0,b.jsx)("div",{children:(0,b.jsx)(c.Yh,{left:t("总容量"),center:`${V}G`})})}),(0,b.jsx)(c.VP,{widthPer:100,children:(0,b.jsx)(c.Yh,{left:t("剩余"),center:`${A}G`})})]})})]})})}),(0,b.jsx)(c.VP,{widthPer:33,children:(0,b.jsx)(r.Zp,{title:"Sys cpu",children:(0,b.jsxs)(c.fI,{children:[(0,b.jsx)(c.VP,{children:(0,b.jsx)(i.A,{percentage:E})}),(0,b.jsx)(c.VP,{children:(0,b.jsx)(c.fI,{children:(0,b.jsx)(c.Yh,{left:t("使用率"),center:E})})})]})})}),(0,b.jsx)(c.VP,{widthPer:33,children:(0,b.jsx)(r.Zp,{title:"FileCat",children:(0,b.jsxs)(c.fI,{children:[(0,b.jsxs)(c.VP,{children:[(0,b.jsx)(c.qV,{content:t("内存")}),(0,b.jsx)(c.qV,{content:"total: "+(0,F.v7)(R?.rss)}),(0,b.jsx)(c.qV,{content:"object: "+(0,F.v7)(R?.heapTotal)}),(0,b.jsx)(c.qV,{content:"obj-use: "+(0,F.v7)(R?.heapUsed)}),(0,b.jsx)(c.qV,{content:"external: "+(0,F.v7)(R?.external)}),(0,b.jsx)(c.qV,{content:"buffer: "+(0,F.v7)(R?.arrayBuffers)})]}),(0,b.jsx)(c.VP,{children:(0,b.jsx)(c.qV,{content:"cpu growth rate: "+K})})]})})})]}),(0,b.jsxs)(c.fI,{children:[Z&&(0,b.jsx)(c.VP,{children:(0,b.jsxs)(r.Zp,{title:t("基本信息"),children:[(0,b.jsx)(c.Yh,{left:t("总内存"),right:X.mem_total}),(0,b.jsx)(c.Yh,{left:`cpu ${t("制造商")}`,right:X.cpu_manufacturer}),(0,b.jsx)(c.Yh,{left:`cpu ${t("品牌")}`,right:X.cpu_brand}),(0,b.jsx)(c.Yh,{left:`cpu ${t("逻辑核心")}`,right:X.cpu_core_num}),(0,b.jsx)(c.Yh,{left:`cpu ${t("物理核心")}`,right:X.cpu_phy_core_num}),(0,b.jsx)(c.Yh,{left:`cpu ${t("最大")}hz`,right:X.cpu_speed_hz}),(0,b.jsx)(c.Yh,{left:`${t("当前系统")}:pid;ppid`,right:X.pid_ppid}),(0,b.jsx)(c.Yh,{left:t("运行用户"),right:X.user})]})}),G&&(0,b.jsx)(c.VP,{children:(0,b.jsx)(r.uF,{title:t("物理硬盘"),children:(0,b.jsx)(f.X,{headers:s,rows:z,width:"10rem"})})}),W&&(0,b.jsx)(c.VP,{children:(0,b.jsx)(r.uF,{title:t("文件硬盘"),children:(0,b.jsx)(f.X,{headers:_,rows:Q,width:"10rem"})})})]})]}),se&&"check"===se.type&&(0,b.jsx)(w,{...se.data}),se&&"mount"===se.type&&(0,b.jsx)(C,{})]})}var V=s(75007),$=s(97856),E=s(64405);const I=n.lazy(()=>Promise.all([s.e(7986),s.e(8023),s.e(5614)]).then(s.bind(s,85614)));function K(e){const[t,s]=(0,n.useState)(null),[c,r]=(0,p.fp)(m.AG.dockerShellShow),[i,l]=(0,p.fp)(m.AG.user_base_info),d=i.user_data.theme?.includes("dark")?"#FFFFFF":"#000000",h=()=>{(async()=>{t&&(t.writeln("close! "),t.dispose(),s(null))})()};(0,n.useEffect)(()=>{c.show?(async()=>{const e=new $.Terminal({fontFamily:"Monaco, Menlo, Consolas, 'Courier New', monospace",theme:{background:"#FFFFFF",foreground:d,cursor:d,selectionBackground:"#a6d2ff"},cursorBlink:!0,cursorStyle:"bar",scrollback:1e3,scrollSensitivity:1,tabStopWidth:4,convertEol:!0});let t;a.ws.subscribeUnconnect(h);const n=t=>{e.write(t)};t=s=>{e.clear(),e.write(s),t=n},a.ws.addMsg("logs"===c.type?o.HK.docker_shell_logs_getting:o.HK.docker_shell_exec_getting,e=>{"error"===e.context&&h(),t(e.context)}),"exec"===c.type&&e.onData(async e=>{const t=new o.hf(o.HK.docker_shell_exec);t.context=e,await a.ws.send(t)}),s(e)})():h()},[c]),(0,n.useEffect)(()=>()=>{h()},[]);return(0,b.jsx)(I,{show:c.show,terminal:t,init:(e,s)=>{t.writeln("connect... ");const n=new E.n;let r;n.rows=e,n.cols=s,n.dockerId=c.dockerId,r="logs"===c.type?new o.hf(o.HK.docker_shell_logs):new o.hf(o.HK.docker_shell_exec_open),r.context=n,a.ws.send(r)}})}var N=s(27690);let X="",H=[],Z=!1;function T(e){const{t}=(0,x.Bd)(),[s,i]=(0,n.useState)({}),[j,w]=(0,n.useState)([]),[y,k]=(0,n.useState)([]),{check_user_auth:Y}=(0,v.MH)(),[A,C]=(0,p.fp)(m.AG.dockerShellShow),[F,P]=(0,p.fp)(m.AG.showPrompt),[M,$]=(0,p.fp)(m.AG.confirm),[E,I]=(0,n.useState)(X),[T,G]=(0,n.useState)(["id",t("名字"),t("镜像"),t("命令"),t("状态"),t("内存"),"cpu%",t("选择")]),[O,W]=(0,n.useState)([]),[B,U]=(0,n.useState)(void 0),[L,R]=(0,n.useState)(!1),q=["id",t("name"),t("create时间"),t("大小"),(0,b.jsxs)("span",{children:["选中",(0,b.jsx)(h.rA,{icon:"check_box",title:"全选",onClick:()=>{Z=!Z;const e={};for(let t=0;t<y.length&&Z;t++)e[y[t][0].props.context]=1;i(e)}})]})],z=async()=>{w([]),W([]);const e=new o.hf(o.HK.docker_get);await a.ws.send(e),a.ws.addMsg(o.HK.docker_getting,e=>{const t=[];if(X){for(const s of e.context)for(const e of s)if(`${e}`.includes(X)){t.push(s);break}}else t.push(...e.context);w(t.map(e=>{const t=e.map(e=>(0,b.jsx)(r.xP,{context:e}));return t.push((0,b.jsx)(h.rA,{icon:"place",title:"选中",onClick:()=>{W(t)}})),t}))})};(0,n.useEffect)(()=>(I(X),z(),()=>{(async()=>{C({show:!1,type:"",dockerId:""})})()}),[]),(0,n.useEffect)(()=>{X=E},[E]);const D=()=>{const e=new o.hf("logs"===A.type?o.HK.docker_shell_logs_cancel:o.HK.docker_shell_exec_cancel);e.context="",a.ws.send(e)},Q=e=>{const t=new o.hf(o.HK.docker_switch);t.context={type:e,dockerId:O[0].props.context},W([]),a.ws.send(t)},J=async()=>{const e=await l.Yu.get("docker/images");if(e.code===u.m.Success){const t=e.data??[],s=[];for(let e=0;e<t.length;e++){const n=t[e],c=[(0,b.jsx)(r.xP,{context:n[0]}),(0,b.jsx)(r.xP,{context:n[1]}),n[2],n[3],""];s.push(c)}H=s,k(s)}};return(0,b.jsxs)("div",{children:[(0,b.jsxs)(d.A,{left_children:(0,b.jsx)(h.Z$,{defaultStatus:!1,text:t("docker镜像"),clickFun:e=>{R(e),e?(J(),W([])):(z(),k([]),i({}))}}),children:[Object.keys(s).length>0&&(0,b.jsx)(h.rA,{icon:"delete",title:t("删除镜像"),onClick:async()=>{$({open:!0,title:t("确定删除选中的镜像吗"),handle:async()=>{const e=Object.keys(s),t=await l.Yu.post("docker/check/delete",{ids:e});if(t.code===u.m.Success)if(0===t.data.length){(await l.Yu.post("docker/delete",{ids:e})).code===u.m.Success&&((0,g.SK)("删除完成"),J(),$({open:!1,handle:null}))}else(0,g.N9)(`有镜像正在运行${JSON.stringify(t.data)}`)}})}}),O.length>0&&(0,b.jsx)("div",{children:O[1].props.context}),O.length>0&&(0,b.jsxs)("div",{children:[Y(S.oV.docker_container_update)&&(0,b.jsx)(h.rA,{icon:"delete",title:t("删除容器"),onClick:()=>{P({show:!0,overlay:!0,type:N.PromptEnum.DockerDel,data:{dockerId:O[0].props.context,name:O[1].props.context}})}}),(0,b.jsx)(h.rA,{icon:"print",title:t("打印日志"),onClick:()=>{A.show?(C({show:!1,type:"",dockerId:""}),D()):C({show:!0,dockerId:O[0].props.context,type:"logs"})}}),Y(S.oV.docker_container_update)&&(0,b.jsx)(h.rA,{icon:"personal_video",title:t("执行命令"),onClick:()=>{A.show?(C({show:!1,type:"",dockerId:""}),D()):C({show:!0,dockerId:O[0].props.context,type:"exec"})}}),Y(S.oV.docker_container_update)&&O[4].props.context.includes("Up")&&(0,b.jsx)(h.rA,{icon:"stop",title:t("停止"),onClick:()=>Q("stop")}),Y(S.oV.docker_container_update)&&!O[4].props.context.includes("Up")&&(0,b.jsx)(h.rA,{icon:"play_arrow",title:t("开启"),onClick:()=>{Q("start")}})]}),(0!==j.length||E)&&!L&&(0,b.jsx)(h.rA,{icon:"refresh",title:t("列表更新"),onClick:async()=>{const e=new o.hf(o.HK.docker_get);await a.ws.send(e)}})]}),(0,b.jsxs)(c.xh,{children:[L&&(0,b.jsx)(c.fI,{children:(0,b.jsx)(c.VP,{widthPer:80,children:(0,b.jsx)(r.uF,{title:`${t("镜像")} (${y.length})`,titleCom:(0,b.jsx)(_.Sm,{placeholder:t("过滤镜像"),value:B,handleInputChange:e=>{U(e)},handlerEnter:()=>{const e=[];if(B){for(const t of y)(t[0].props.context.includes(B)||t[1].props.context.includes(B))&&e.push(t);k(e)}else k(H)}}),children:(0,b.jsx)(f.X,{headers:q,rows:y.map((e,n)=>(e[4]=(0,b.jsx)(_.GL,{context:t(""),selected:s[e[0].props.context],onchange:()=>{(e=>{const t={};Object.assign(t,s),t[e]?delete t[e]:t[e]=1,i(t)})(e[0].props.context)}}),e)),width:"10rem"})})})}),0===j.length&&!E&&!L&&(0,b.jsx)(V.h,{context:t("检测不到docker,主机可能没有安装docker or 容器为空")}),(0!==j.length||E)&&!L&&(0,b.jsx)(c.fI,{children:(0,b.jsx)(c.VP,{widthPer:80,children:(0,b.jsx)(r.uF,{title:`${t("容器")} (${j.length})`,titleCom:(0,b.jsx)(_.Sm,{placeholder:t("过滤"),value:E,handleInputChange:e=>{I(e)}}),children:(0,b.jsx)(f.X,{headers:T,rows:j,width:"10rem"})})})})]}),(0,b.jsx)(K,{})]})}var G=s(64694);let O="",W=!1,B=!1;function U(e){const{t}=(0,x.Bd)(),[s,i]=(0,n.useState)([]),[l,u]=(0,n.useState)([]),[p,m]=(0,n.useState)(0),[j,g]=(0,n.useState)(""),[w,y]=(0,n.useState)(["pid",t("名字"),t("创建用户"),(0,b.jsxs)("span",{children:[t("内存"),(0,b.jsx)(h.rA,{icon:"sort",title:t("升序"),onClick:()=>{W=!W}})]}),(0,b.jsxs)("span",{children:["cpu%",(0,b.jsx)(h.rA,{icon:"sort",title:t("升序"),onClick:()=>{B=!B}})]}),t("选择")]),{check_user_auth:k}=(0,v.MH)();(0,n.useEffect)(()=>{g(O),(async()=>{i([]),m(0),u([]);const e=new o.hf(o.HK.process_get);await a.ws.send(e),a.ws.addMsg(o.HK.process_getting,e=>{const s=[];if(O){for(const t of e.context)for(const e of t)if(`${e}`.includes(O)){s.push(t);break}}else s.push(...e.context);W&&(0,G.di)(s,e=>e[3],!1),B&&(0,G.di)(s,e=>e[4],!1);const n=s.map(e=>{const s=e.map((e,t)=>(0,b.jsx)(r.xP,{context:3===t?(0,F.v7)(e):e}));return s.push((0,b.jsx)(h.rA,{icon:"place",title:t("选中"),onClick:()=>{u(s)}})),s});m(s.length),i(n)})})()},[]),(0,n.useEffect)(()=>{O=j},[j]);return(0,b.jsxs)("div",{children:[(0,b.jsxs)(d.A,{children:[l.length>0&&(0,b.jsx)("div",{children:l[1].props.context}),l.length>0&&k(S.oV.sys_process_close)&&(0,b.jsx)("div",{children:(0,b.jsx)(h.rA,{icon:"stop",title:t("停止"),onClick:()=>{const e=new o.hf(o.HK.process_close);e.context={pid:l[0].props.context},u([]),a.ws.send(e)}})})]}),(0,b.jsx)(c.xh,{children:0!==s.length||O?(0,b.jsx)(c.fI,{children:(0,b.jsx)(c.VP,{widthPer:80,children:(0,b.jsx)(r.uF,{title:`${t("进程")} (${p})`,titleCom:(0,b.jsx)(_.Sm,{placeholder:t("过滤"),value:j,handleInputChange:e=>{g(e)}}),children:(0,b.jsx)(f.X,{headers:w,rows:s,width:"10rem"})})})}):(0,b.jsx)(V.h,{context:t("加载中请等待...")})})]})}const L=n.lazy(()=>Promise.all([s.e(7986),s.e(8023),s.e(5614)]).then(s.bind(s,85614)));function R(e){const[t,s]=(0,n.useState)(null),[c,r]=(0,p.fp)(m.AG.systemd_shell_show),[i,l]=(0,p.fp)(m.AG.user_base_info),d=i.user_data.theme?.includes("dark")?"#FFFFFF":"#000000",h=()=>{(async()=>{t&&(t.writeln("close! "),t.dispose(),s(null))})()};(0,n.useEffect)(()=>{if(!c.show)return void h();(async()=>{const e=new $.Terminal({fontFamily:"Monaco, Menlo, Consolas, 'Courier New', monospace",theme:{background:"#FFFFFF",foreground:d,cursor:d,selectionBackground:"#a6d2ff"},cursorBlink:!0,cursorStyle:"bar",scrollback:1e3,scrollSensitivity:1,tabStopWidth:4,convertEol:!0});a.ws.subscribeUnconnect(h),a.ws.addMsg(o.HK.systemd_logs_getting,t=>{"error"===t.context&&h(),e.write(t.context)}),s(e)})();const e=e=>{};return document.addEventListener("cancel_systemd_logs",e),()=>{document.removeEventListener("cancel_systemd_logs",e)}},[c]),(0,n.useEffect)(()=>()=>{h()},[]);return(0,b.jsx)(L,{show:c.show,terminal:t,init:(e,s)=>{t.writeln("connect... ");const n={unit_name:c.unit_name},r=new o.hf(o.HK.systemd_logs_get);r.context=n,a.ws.send(r)}})}let q,z="";function D(e){const{t}=(0,x.Bd)(),{check_user_auth:s}=(0,v.MH)(),[i,j]=(0,p.fp)(m.AG.systemd_shell_show),[w,y]=(0,p.fp)(m.AG.confirm),[k,Y]=(0,n.useState)(["pid","name","process",t("创建用户"),t("内存"),t("cpu%"),t("active状态"),t("选择")]),[A,C]=(0,n.useState)(["单元名字","加载状态",t("active(sub)状态"),t("描述"),t("选择")]),[P,M]=(0,n.useState)([]),[$,E]=(0,n.useState)([]),[I,K]=(0,n.useState)([]),[N,X]=(0,n.useState)(!1),[H,Z]=(0,n.useState)([]),[T,G]=(0,n.useState)(""),[O,W]=(0,n.useState)(""),[B,U]=(0,n.useState)(new Set),[L,D]=(0,p.fp)(m.AG.editorSetting);(0,n.useEffect)(()=>{W(z),(async()=>{M([]),K([]);const e=new o.hf(o.HK.systemd_inside_get);await a.ws.send(e),a.ws.addMsg(o.HK.systemd_inside_getting,e=>{const t=[];if(z){for(const s of e.context)for(const e of s)if(`${e}`.includes(z)){t.push(s);break}}else t.push(...e.context);M(t.map(e=>{const t=e.map((e,t)=>(0,b.jsx)(r.xP,{context:4===t?(0,F.v7)(e):e}));return t.push((0,b.jsx)(h.rA,{icon:"place",title:"选中",onClick:()=>{K(t)}})),t}))})})()},[]),(0,n.useEffect)(()=>{z=O},[O]);const Q=e=>{if(i.show){j({show:!1,unit_name:""});const e=new CustomEvent("cancel_systemd_logs",{detail:{}});document.dispatchEvent(e)}else j({show:!0,unit_name:e})};return(0,b.jsxs)("div",{children:[(0,b.jsxs)(d.A,{left_children:(0,b.jsx)(h.Z$,{defaultStatus:!1,text:t("系统systemd单元"),clickFun:e=>{X(e),e?((async()=>{E([]),Z([]);const e=await l.Yu.get("systemd/inside/all");if(e.code!==u.m.Success)return;U(new Set(e.data));const t=await l.Yu.get("systemd/allget");if(t.code===u.m.Success){const e=t.data,s=[];for(const t of e??[]){const e=[(0,b.jsx)(r.xP,{context:t.unit}),t.load,`${t.active}(${t.sub})`,(0,b.jsx)(r.xP,{context:t.description})];s.push([...e,(0,b.jsx)(h.rA,{icon:"place",title:"添加",onClick:()=>{Z([...e])}})])}q=s,E(s)}})(),K([])):Z([])}}),children:[I.length>0&&(0,b.jsx)("div",{children:I[1].props.context}),H.length>0&&(0,b.jsx)("div",{children:H[0].props.context}),I.length>0&&(0,b.jsxs)("div",{children:[s(S.oV.systemd_update)&&(0,b.jsx)(h.rA,{icon:"delete",title:"从实时监控删除",onClick:()=>{(async e=>{y({open:!0,handle:async()=>{(await l.Yu.post("systemd/delete",{unit_name:e})).code===u.m.Success&&((0,g.SK)("删除成功"),y({open:!1,handle:null}))}})})(I[1].props.context)}}),(0,b.jsx)(h.rA,{icon:"print",title:"打印日志",onClick:()=>{Q(I[1].props.context)}})]}),H.length>0&&(0,b.jsxs)("div",{children:[s(S.oV.systemd_update)&&(0,b.jsx)(h.rA,{icon:"delete",title:"删除系统上的sytemd",onClick:()=>{(async e=>{y({open:!0,handle:async()=>{(await l.Yu.post("systemd/sys/delete",{unit_name:e})).code===u.m.Success&&((0,g.SK)("删除成功"),y({open:!1,handle:null}))}})})(H[0].props.context)}}),(0,b.jsx)(h.rA,{icon:"print",title:"打印日志",onClick:()=>{Q(H[0].props.context)}}),s(S.oV.systemd_update)&&(0,b.jsx)(h.rA,{icon:"text_fields",title:"sytemd文件内容",onClick:()=>{(async t=>{const s=await l.Yu.post("systemd/get/context",{unit_name:t});s.code===u.m.Success&&(D({model:"text",open:!0,fileName:e.name,save:async e=>{const t={context:e};"/"===s.data.path[0]&&(s.data.path=s.data.path.slice(1)),(await l.$M.post(`save/${s.data.path}`,t)).code===u.m.Success&&(v.xK.set_value_temp(""),D({open:!1,model:"",fileName:"",save:null}))}}),v.xK.set_value_temp(s.data.context))})(H[0].props.context)}}),s(S.oV.systemd_update)&&!B.has(H[0].props.context)&&(0,b.jsx)(h.rA,{icon:"plus_one",title:"添加到管理",onClick:()=>(async e=>{const t=await l.Yu.post("systemd/add",{unit_name:e});t.code===u.m.Success&&(U(new Set(t.data)),(0,g.SK)("添加成功"))})(H[0].props.context)})]})]}),(0,b.jsxs)(c.xh,{children:[N&&(0,b.jsx)(c.fI,{children:(0,b.jsx)(c.VP,{widthPer:80,children:(0,b.jsx)(r.uF,{title:`systemd系统单元(${$.length})`,titleCom:(0,b.jsx)(_.Sm,{placeholder:"过滤单元",value:T,handleInputChange:e=>{G(e)},handlerEnter:()=>{const e=[];if(T){for(const t of q)(t[0].props.context.includes(T)||t[3].props.context.includes(T))&&e.push(t);E(e)}else E(q)}}),children:(0,b.jsx)(f.X,{headers:A,rows:$,width:"10rem"})})})}),0===P.length&&!N&&(0,b.jsx)(V.h,{context:"没有管理的单元 or 加载中请等待..."}),0!==P.length&&!N&&(0,b.jsx)(c.fI,{children:(0,b.jsx)(c.VP,{widthPer:80,children:(0,b.jsx)(r.uF,{title:`filecat监控单元(${P.length})`,titleCom:(0,b.jsx)(_.Sm,{placeholder:"过滤单元",value:O,handleInputChange:e=>{W(e)}}),children:(0,b.jsx)(f.X,{headers:k,rows:P,width:"10rem"})})})})]}),(0,b.jsx)(R,{})]})}var Q=s(87361);function J(e){const{t}=(0,x.Bd)(),[s,n]=(0,p.fp)(m.AG.user_base_info),r=[{index:1,name:t("系统性能"),rto:"sys/",component:(0,b.jsx)(M,{})},{index:2,name:t("系统进程"),rto:"process/",component:(0,b.jsx)(U,{})},{index:3,name:t("docker容器"),rto:"docker/",component:(0,b.jsx)(T,{})}];return s.sys===S.XM.linux&&r.push({index:4,name:t("systemd"),rto:"systemd/",component:(0,b.jsx)(D,{})}),(0,b.jsx)(c.W1,{optionList:r,father_route:Q.o.info})}},46447(e,t,s){function n(e){return e+.5|0}s.d(t,{Q1:()=>I});const c=(e,t,s)=>Math.max(Math.min(e,s),t);function r(e){return c(n(2.55*e),0,255)}function i(e){return c(n(255*e),0,255)}function o(e){return c(n(e/2.55)/100,0,1)}function a(e){return c(n(100*e),0,100)}const l={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},d=[..."0123456789ABCDEF"],h=e=>d[15&e],f=e=>d[(240&e)>>4]+d[15&e],u=e=>(240&e)>>4==(15&e);function x(e){var t=(e=>u(e.r)&&u(e.g)&&u(e.b)&&u(e.a))(e)?h:f;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const p=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function m(e,t,s){const n=t*Math.min(s,1-s),c=(t,c=(t+e/30)%12)=>s-n*Math.max(Math.min(c-3,9-c,1),-1);return[c(0),c(8),c(4)]}function j(e,t,s){const n=(n,c=(n+e/60)%6)=>s-s*t*Math.max(Math.min(c,4-c,1),0);return[n(5),n(3),n(1)]}function g(e,t,s){const n=m(e,1,.5);let c;for(t+s>1&&(c=1/(t+s),t*=c,s*=c),c=0;c<3;c++)n[c]*=1-t-s,n[c]+=t;return n}function _(e){const t=e.r/255,s=e.g/255,n=e.b/255,c=Math.max(t,s,n),r=Math.min(t,s,n),i=(c+r)/2;let o,a,l;return c!==r&&(l=c-r,a=i>.5?l/(2-c-r):l/(c+r),o=function(e,t,s,n,c){return e===c?(t-s)/n+(t<s?6:0):t===c?(s-e)/n+2:(e-t)/n+4}(t,s,n,l,c),o=60*o+.5),[0|o,a||0,i]}function b(e,t,s,n){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,s,n)).map(i)}function w(e,t,s){return b(m,e,t,s)}function y(e){return(e%360+360)%360}function k(e){const t=p.exec(e);let s,n=255;if(!t)return;t[5]!==s&&(n=t[6]?r(+t[5]):i(+t[5]));const c=y(+t[2]),o=+t[3]/100,a=+t[4]/100;return s="hwb"===t[1]?function(e,t,s){return b(g,e,t,s)}(c,o,a):"hsv"===t[1]?function(e,t,s){return b(j,e,t,s)}(c,o,a):w(c,o,a),{r:s[0],g:s[1],b:s[2],a:n}}const v={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},S={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Y;function A(e){Y||(Y=function(){const e={},t=Object.keys(S),s=Object.keys(v);let n,c,r,i,o;for(n=0;n<t.length;n++){for(i=o=t[n],c=0;c<s.length;c++)r=s[c],o=o.replace(r,v[r]);r=parseInt(S[i],16),e[o]=[r>>16&255,r>>8&255,255&r]}return e}(),Y.transparent=[0,0,0,0]);const t=Y[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const C=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const F=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,P=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function M(e,t,s){if(e){let n=_(e);n[t]=Math.max(0,Math.min(n[t]+n[t]*s,0===t?360:1)),n=w(n),e.r=n[0],e.g=n[1],e.b=n[2]}}function V(e,t){return e?Object.assign(t||{},e):e}function $(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=i(e[3]))):(t=V(e,{r:0,g:0,b:0,a:1})).a=i(t.a),t}function E(e){return"r"===e.charAt(0)?function(e){const t=C.exec(e);let s,n,i,o=255;if(t){if(t[7]!==s){const e=+t[7];o=t[8]?r(e):c(255*e,0,255)}return s=+t[1],n=+t[3],i=+t[5],s=255&(t[2]?r(s):c(s,0,255)),n=255&(t[4]?r(n):c(n,0,255)),i=255&(t[6]?r(i):c(i,0,255)),{r:s,g:n,b:i,a:o}}}(e):k(e)}class I{constructor(e){if(e instanceof I)return e;const t=typeof e;let s;var n,c,r;"object"===t?s=$(e):"string"===t&&(r=(n=e).length,"#"===n[0]&&(4===r||5===r?c={r:255&17*l[n[1]],g:255&17*l[n[2]],b:255&17*l[n[3]],a:5===r?17*l[n[4]]:255}:7!==r&&9!==r||(c={r:l[n[1]]<<4|l[n[2]],g:l[n[3]]<<4|l[n[4]],b:l[n[5]]<<4|l[n[6]],a:9===r?l[n[7]]<<4|l[n[8]]:255})),s=c||A(e)||E(e)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var e=V(this._rgb);return e&&(e.a=o(e.a)),e}set rgb(e){this._rgb=$(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${o(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?x(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=_(e),s=t[0],n=a(t[1]),c=a(t[2]);return e.a<255?`hsla(${s}, ${n}%, ${c}%, ${o(e.a)})`:`hsl(${s}, ${n}%, ${c}%)`}(this._rgb):void 0}mix(e,t){if(e){const s=this.rgb,n=e.rgb;let c;const r=t===c?.5:t,i=2*r-1,o=s.a-n.a,a=((i*o===-1?i:(i+o)/(1+i*o))+1)/2;c=1-a,s.r=255&a*s.r+c*n.r+.5,s.g=255&a*s.g+c*n.g+.5,s.b=255&a*s.b+c*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,s){const n=P(o(e.r)),c=P(o(e.g)),r=P(o(e.b));return{r:i(F(n+s*(P(o(t.r))-n))),g:i(F(c+s*(P(o(t.g))-c))),b:i(F(r+s*(P(o(t.b))-r))),a:e.a+s*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new I(this.rgb)}alpha(e){return this._rgb.a=i(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=n(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return M(this._rgb,2,e),this}darken(e){return M(this._rgb,2,-e),this}saturate(e){return M(this._rgb,1,e),this}desaturate(e){return M(this._rgb,1,-e),this}rotate(e){return function(e,t){var s=_(e);s[0]=y(s[0]+t),s=w(s),e.r=s[0],e.g=s[1],e.b=s[2]}(this._rgb,e),this}}}}]);
@@ -4,10 +4,3 @@
4
4
  * (c) 2024 Jukka Kurkela
5
5
  * Released under the MIT License
6
6
  */
7
-
8
- /*!
9
- * Chart.js v4.5.1
10
- * https://www.chartjs.org
11
- * (c) 2025 Chart.js Contributors
12
- * Released under the MIT License
13
- */
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[239],{239(e,t,a){a.r(t),a.d(t,{default:()=>i});var i=async(e,t=[{}],a=null,i=!1,s=null)=>{Array.isArray(t)||(t=[t]),t[0].fileName=t[0].fileName||"Untitled";const c=[];let n=null;if(e instanceof Blob&&e.type?n=e.type:e.headers&&e.headers.get("content-type")&&(n=e.headers.get("content-type")),t.forEach((e,t)=>{c[t]={description:e.description||"",accept:{}},e.mimeTypes?(0===t&&n&&e.mimeTypes.push(n),e.mimeTypes.map(a=>{c[t].accept[a]=e.extensions||[]})):n&&(c[t].accept[n]=e.extensions||[])}),a)try{await a.getFile()}catch(e){if(a=null,i)throw e}const l=a||await window.showSaveFilePicker({suggestedName:t[0].fileName,id:t[0].id,startIn:t[0].startIn,types:c,excludeAcceptAllOption:t[0].excludeAcceptAllOption||!1});!a&&s&&s();const r=await l.createWritable();if("stream"in e){const t=e.stream();return await t.pipeTo(r),l}return"body"in e?(await e.body.pipeTo(r),l):(await r.write(await e),await r.close(),l)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[2502],{2502(t,e,n){n.r(e),n.d(e,{default:()=>A});var i=n(96540),o=n(92275),s=n(14944),r=n(34843),l=n(26417),c=n(57952),a=n(85997),_=n(47022),h=n(34289),x=n(62042),d=n(63033),p=n(59270),f=n(64694),g=n(70447),u=n(74848);const w=300;let v=!1,m=0,y=!0;var k,b=[],j=-1,C=[];function A(t){const[e,n]=(0,r.fp)(l.AG.log_viewer),A=(0,i.useRef)(null),[H,T]=(0,i.useState)(0),[z,I]=(0,i.useState)(100),[S,K]=(0,i.useState)(!1),[M,$]=(0,i.useState)(""),[E,L]=(0,i.useState)(0),[N,D]=(0,i.useState)(0),[q,G]=(0,i.useState)(0),{t:R}=(0,p.Bd)(),B=(t,e,n,i=!1,o)=>{const s=document.createElement("div");return-1===j?s.textContent=t:s.innerHTML=t,s.style.whiteSpace="pre-wrap",s.style.overflowWrap="break-word",s.setAttribute("position",`${e}`),s.setAttribute("start_position",`${n}`),i?(A.current.insertBefore(s,o),b.unshift(s)):(A.current.appendChild(s),b.push(s)),s},F=t=>{const e=(0,f.I)(b,e=>e===t);e&&A.current.removeChild(e)},W=(t,e,n,i=!1)=>{if(!t)return;const o=Array.isArray(t)?t:t.split("\n");if(i){let t;for(let i=0;i<o.length;i++)t=B(o[i],e[i],n[i],!0,0===i?A.current.firstChild:t);if(b.length>w){let t=b.length-1;for(;t>=w;)F(b[b.length-1]),t--}}else{for(let t=0;t<o.length;t++)B(o[t],e[t],n[t]);if(b.length>w){let t=b.length-w;for(;t>0;)F(b[0]),t--}}},Y=async()=>{k.encoding=e.encoding,k.context="";const t=await s.ws.sendData(o.HK.log_viewer,k);if(t){const e=t.context;if(k=e,e.find_back_enter_index&&e.context_list.length>0)for(let t=0;t<e.context_list.length;t++){const n=new RegExp(e.query_text,"g");e.context_list[t]=e.context_list[t].replace(n,`<span style="color: blue;">${e.query_text}</span>`)}k.find_back_enter_index=!1,W(e.context_list,e.context_position_list,e.context_start_position_list,k.back),k.context_list.length>0&&(k.back&&b.length>0?(k.context_list.length>b.length?T(Math.floor(100*parseInt(b[k.context_list.length-b.length].getAttribute("position"))/k.max_size)):T(Math.floor(100*parseInt(b[b.length-k.context_list.length].getAttribute("position"))/k.max_size)),y=!1):T(Math.floor(100*(k.context_position_list[k.context_position_list.length-1]??0)/k.max_size)))}},Z=t=>{v||(v=!0,T(100),s.ws.addMsg(o.HK.log_viewer_watch,t=>{const e=t.context;e&&(k=e,W(e.context_list,e.context_position_list,e.context_start_position_list,!1),A.current.scrollTop=A.current.scrollHeight)}),k.context="",k.context_list=[],k.context_position_list=[],k.context_start_position_list=[],k.position=t,s.ws.sendData(o.HK.log_viewer_watch,k),K(!0))},P=async()=>{A.current&&A.current.remove(),b=[]};if((0,i.useEffect)(()=>{e.show?(async()=>{A.current.addEventListener("scroll",async()=>{const t=A.current;if(t){if(v)return void(m=t.scrollTop);if(m<t.scrollTop&&b.length>0&&t.scrollTop+t.clientHeight+500>=t.scrollHeight){const t=parseInt(b[b.length-1].getAttribute("position"));if(t>=k.max_size)return void Z(t);k.line=20,k.context="",k.context_list=[],k.context_position_list=[],k.context_start_position_list=[],k.back=!1,k.position=t,await Y()}else if(m>t.scrollTop&&b.length>0&&t.scrollTop-300<=0){const e=parseInt(b[0].getAttribute("start_position"));if(e<=0)return y||(y=!0,(0,x.N9)("到达顶部")),void(m=t.scrollTop);k.line=10,k.context="",k.context_list=[],k.context_position_list=[],k.context_start_position_list=[],k.back=!0,k.position=e,await Y()}m=t.scrollTop}}),A.current.addEventListener("wheel",t=>{const e=A.current;if(e){t.preventDefault();const n=20;t.deltaY>0?e.scrollTop+=n:e.scrollTop-=n}},{passive:!1}),K(!1),L(0),D(0),$(""),v=!1,G(0),m=0,C=[],j=-1,b=[],(k=new _.d2).line=w,k.path=`${(0,h.GG)("file",(0,h.vX)())}${e.fileName}`,k.token=localStorage.getItem("token"),await Y(),s.ws.addMsg(o.HK.search_file_progress,t=>{try{L(parseInt(t.context))}catch(t){(0,x.zN)(t.message)}}),s.ws.addMsg(o.HK.search_file_index,t=>{try{C.push(...t.context),G(t.context.length)}catch(t){(0,x.zN)(t.message)}})})():P()},[e]),(0,i.useEffect)(()=>()=>{P()},[]),!e.show)return;return(0,u.jsxs)("div",{id:"editor-container",children:[(0,u.jsxs)(c.A,{ignore_tags:!0,left_children:[(0,u.jsx)(a.rA,{title:R("取消"),icon:"close",onClick:()=>{n({show:!1})}},1),(0,u.jsx)("div",{style:{width:"4rem"},children:(0,u.jsx)(g.WA,{context:e.fileName})},2),(0,u.jsxs)(i.Fragment,{children:[" ",(0,u.jsx)(d.$Z,{handleEnterPress:async()=>{M&&(L(.1),D(0),G(0),j=-1,C=[],k.query_text=M,k.encoding=e.encoding,s.ws.sendData(o.HK.search_file,k))},placeholder:R("回车搜索整个文件"),icon:"search",value:M,handleInputChange:t=>{$(t)},max_width:"25em"})]},3),M&&(0,u.jsx)("div",{style:{paddingLeft:"1.5rem",cursor:"pointer"},onClick:async()=>{if(0===C.length)return;k.line=w,k.context="",k.context_list=[],k.context_position_list=[],k.context_start_position_list=[];for(const t of b)A.current.removeChild(t);b=[];const t=j+1>=C.length?0:j+1;D(t+1),j=t,k.find_back_enter_index=!0,k.back=!1,k.position=C[j],await Y()},children:"↓"},5),M&&(0,u.jsx)("div",{style:{paddingLeft:"1.5rem",cursor:"pointer"},onClick:async()=>{if(0===C.length)return;k.line=w,k.context="",k.context_list=[],k.context_position_list=[],k.context_start_position_list=[];for(const t of b)A.current.removeChild(t);b=[];const t=j-1<0?C.length-1:j-1;D(t+1),j=t,k.back=!1,k.find_back_enter_index=!0,k.position=C[j],await Y()},children:"↑"},6),M&&(0,u.jsxs)("div",{style:{paddingLeft:"1.5rem"},children:[N,"/",C.length]},7),M&&(0,u.jsxs)("div",{style:{paddingLeft:"1.5rem"},children:["搜索进度$",E,"%"]},8),0!==E&&100!==E&&(0,u.jsx)(a.rA,{title:R("取消"),icon:"cancel",onClick:()=>{s.ws.sendData(o.HK.search_file_cancel,{}),$(""),L(0)}},4)],children:[(0,u.jsx)("span",{style:{paddingRight:".5rem"},children:e.encoding}),S&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("span",{style:{color:"var(--icon-green)",whiteSpace:"pre"},children:"正在实时监听 "}),(0,u.jsx)(a.rA,{icon:"close",title:R("关闭实时"),onClick:()=>{v&&(v=!1,K(!1),s.ws.sendData(o.HK.log_viewer_watch_cancel,k))}})]}),(0,u.jsxs)("span",{children:["当前加载进度",H]}),(0,u.jsx)(d.$Z,{max_width:"10rem",placeholder:R("跳转进度"),icon:"percent",value:z,handleInputChange:t=>{I(t)}}),(0,u.jsx)(a.rA,{icon:"play_arrow",title:R("跳转进度"),onClick:async()=>{k.line=w,k.context="",k.context_list=[],k.context_position_list=[],k.context_start_position_list=[];let t=0;try{if(t=parseInt(z),t>100||t<0)throw(0,x.zN)("范围在0-100"),"超过最大范围";for(const t of b)A.current.removeChild(t);b=[]}catch(t){return void(0,x.N9)(t)}k.back=t>=100,k.position=Math.floor(k.max_size*(t/100)),await Y()}}),(0,u.jsx)(a.rA,{icon:"text_rotate_vertical",title:R("滑动到文件最底部,实时输出"),onClick:async()=>{if(!v){k.line=w,k.context="",k.context_list=[],k.context_position_list=[],k.context_start_position_list=[];for(const t of b)A.current.removeChild(t);b=[],k.back=!0,k.position=k.max_size,await Y(),A.current.scrollTop=A.current.scrollHeight,Z(k.max_size)}}})]}),(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)("div",{ref:A,style:{overflowY:"auto",height:"100%"}})})]})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[2542],{72542(e,t,n){n.r(t),n.d(t,{default:()=>x});var s=n(1728),c=n(96540),a=n(34843),l=n(63033),i=n(85997),o=n(52671),u=n(14284),d=(n(23430),n(26417)),r=n(75725),f=n(59270),h=n(7523),p=n(62042),_=n(21469),m=n(74848);_.m.init();const x=function(){const e=(0,o.Zp)(),[t,n]=(0,c.useState)(""),[x,w]=(0,c.useState)(""),{initUserInfo:k}=(0,c.useContext)(h.F),[g,j]=(0,a.fp)(d.AG.custom_fun_opt),{t:C}=(0,f.Bd)();async function I(){const n={username:t,password:x},s=await u.wm.post("login",n,!1);0===s.code?(localStorage.setItem("token",s.data),k(),j(""),e("/file")):(0,p.zN)(s.message)}return(0,c.useEffect)(()=>{localStorage.getItem("token")&&e("/file")},[]),(0,m.jsxs)(r.Y5,{children:[(0,m.jsx)("h1",{children:_.m.web_site_title??"FileCat"}),(0,m.jsxs)("div",{className:"self_win_center_content",children:[(0,m.jsx)(l.Sm,{placeholder:C("账号"),handleInputChange:e=>{n(e)}}),(0,m.jsx)(l.cA,{placeholder:C("密码"),handleInputChange:e=>{w(e)},handleEnterPress:I}),(0,m.jsx)(i.$n,{text:C("登录"),clickFun:I}),s.A.has("tcp_client_num_id")&&(0,m.jsx)(i.$n,{text:C("代理退出"),clickFun:()=>{s.A.delete("tcp_client_num_id"),window.location.reload()}})]})]})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[2674],{92674(e,t,n){n.r(t),n.d(t,{default:()=>j});var a=n(96540),o=n(26417),i=n(34843),s=n(85997),l=n(57952),r=n(47022),c=n(34251),d=n(74848);function p(e){{const[t,n]=(0,a.useState)(!1),[o,i]=(0,a.useState)([]),l=e=>{i(e)},h=async()=>{"folder"===e.type?(t||!e.click||o||await e.click(e,l,e.pre_path),n(!t)):e.click&&await e.click(e,l,e.pre_path)},m=async(t=!1)=>{"folder"!==e.type||t?e.fatherNowToggleExpansion&&e.fatherNowToggleExpansion():await e.click(e,l,e.pre_path)};return(0,a.useEffect)(()=>{i(e.children)},[e.children]),(0,d.jsxs)("div",{className:"studio-item",children:[(0,d.jsxs)("div",{onClick:h,onContextMenu:t=>{t.stopPropagation(),t.nativeEvent.stopImmediatePropagation(),e.handleContextMenu&&e.handleContextMenu(t,e.name,e.pre_path,e.type===r.Iw.folder,m)},className:"studio-item-title",children:[(0,d.jsx)("i",{className:"material-icons studio-item-title-tag","data-icon":t?"arrow_drop_down":"arrow_right",children:"file"==e.type?"":t?"arrow_drop_down":"arrow_right"}),(0,d.jsx)("span",{className:"file-icons",children:(0,d.jsx)("span",{"data-type":(0,c.uL)(e.name),"data-dir":"folder"===e.type,"aria-label":e.name,children:(0,d.jsx)(s.In,{icon:"",aria_label:e.name})})}),(0,d.jsx)("span",{className:"studio-item-name",children:e.name})]}),t&&o&&(0,d.jsx)("div",{style:{marginLeft:20},children:o.map((t,n)=>(0,d.jsx)(a.Fragment,{children:(0,d.jsx)(p,{type:t.type,size:t.size,click:e.click,name:t.name,children:t.children,pre_path:`${e.pre_path}${t.name}${t.type===r.Iw.folder?"/":""}`,handleContextMenu:e.handleContextMenu,fatherNowToggleExpansion:m},n)},n))})]})}}n(63033);function h(e){return(0,d.jsx)("div",{children:e.list.map((t,n)=>(0,d.jsx)(p,{pre_path:`${e.pre_path}${t.name}${t.type===r.Iw.folder?"/":""}`,name:t.name,type:t.type,handleContextMenu:e.handleContextMenu,fatherNowToggleExpansion:e.fatherNowToggleExpansion,children:t.children,click:e.click,size:t.size},n))})}var m=n(14284),u=n(34289),f=n(53459),x=n(78247),w=(n(62042),n(2543)),y=n(27690),v=n(59270),_=n(88815),k=n(52671);const g=a.lazy(()=>Promise.all([n.e(9169),n.e(4091)]).then(n.bind(n,84091)));function j(e){const[t,n]=(0,a.useState)([]),[p,j]=(0,a.useState)(""),[C,E]=(0,a.useState)(""),[N,S]=(0,a.useState)(!1),[M,P]=(0,a.useState)({path:"",name:""}),[$,b]=(0,a.useState)(""),[G,I]=(0,i.fp)(o.AG.confirm),[z,A]=(0,a.useState)(!1),[F,D]=(0,i.fp)(o.AG.fileShellShow),[L,R]=(0,i.fp)(o.AG.file_shell_hidden),T=(0,a.useRef)(null),K=(0,a.useRef)(null),[U,B]=(0,a.useState)(!1),[W,X]=(0,a.useState)(16),[Y,Z]=(0,i.fp)(o.AG.showPrompt),{t:q}=(0,v.Bd)(),H=(0,k.Zp)();let J=(0,k.zy)().pathname.split("/").filter(Boolean).pop();J=decodeURIComponent(J);const O=async()=>{const e=(0,u.GG)("file",J);j(e);const t=await m.$M.post("studio/get/item",{path:e});if(t.code===f.m.Success){const e=[],a=[];for(const n of t.data.list)"folder"===n.type?e.push(n):"file"===n.type&&a.push(n);n([...e,...a])}};(0,a.useEffect)(()=>{E(""),P({}),A(!1),O()},[]);const Q=async(e,t)=>{const n=await m.$M.get(`${encodeURIComponent(t)}`);E(n.data),x.xK.set_value_temp(n.data),P({path:t,name:e}),b(t)},V=(e,t)=>{e.size>_.o5?I({open:!0,handle:()=>{Q(e.name,t),I({open:!1,handle:null}),A(!1)},title:"超过20MB了还要打开吗?"}):Q(e.name,t)};async function ee(){if(!z)return;const e={context:x.xK.get_editor_value()};0===(await m.$M.post(`save/${encodeURIComponent($)}`,e)).code&&A(!1)}const te=e=>{e.ctrlKey&&"s"===e.key&&(e.preventDefault(),z&&ee())};(0,a.useEffect)(()=>(document.addEventListener("keydown",te),()=>{document.removeEventListener("keydown",te)}),[z]);const ne=(0,a.useCallback)(w.throttle(e=>{const t=parseFloat(getComputedStyle(K.current).fontSize),n=window.innerWidth/t-4,a=e.clientX/t,o=2.25+T.current.offsetWidth/t;a<=n&&a>=o&&X(parseFloat(a.toFixed(2)))},32),[]),ae=()=>{B(!1),K.current.removeEventListener("pointermove",ne)},oe=[{r:q("创建文件"),v:"创建文件"},{r:q("创建目录"),v:"创建目录"},{r:q("重命名"),v:"重命名"},{r:q("删除"),v:"删除"}],ie=[{r:q("重命名"),v:"重命名"},{r:q("删除"),v:"删除"}],se=(e,t,n,a,o)=>{e.preventDefault();const i=new c.ik;i.path=n,i.filename=t,i.x=e.clientX,i.y=e.clientY,i.items=a?oe:ie,o===O&&(i.items=i.items.slice(0,2)),i.type=a?r.Iw.studio_folder:r.Iw.studio_file;const s=e=>{o(e)};i.textClick=e=>{switch(e){case"创建文件":Z({show:!0,type:y.PromptEnum.FileNew,overlay:!0,data:{dir:n,call:s}});break;case"创建目录":Z({show:!0,type:y.PromptEnum.DirNew,overlay:!0,data:{dir:n,call:s}});break;case"删除":if(z&&(M.path===n||M.path.includes(n))){const e=()=>{s(a),A(!1),P({}),E(""),x.xK.set_value_temp("")};Z({show:!0,type:y.PromptEnum.FilesDelete,overlay:!0,data:{path:n,call:e,filename:t}});break}Z({show:!0,type:y.PromptEnum.FilesDelete,overlay:!0,data:{path:n,filename:t,call:a?()=>{s(!0)}:s}});break;case"重命名":Z({show:!0,type:y.PromptEnum.FileRename,overlay:!0,data:{path:n,dir:(0,u.Yp)(n),call:()=>{s(!0)},filename:t}})}},Z({show:!0,type:y.PromptEnum.FileMenu,overlay:!1,data:i})};return(0,d.jsxs)("div",{className:"studio",children:[(0,d.jsxs)(l.A,{ignore_tags:!0,left_children:[(0,d.jsx)(s.rA,{title:"取消",icon:"close",onClick:()=>{D({show:!1,path:""}),R(void 0),H(-1)}},1),(0,d.jsx)("title",{children:M.name},2)],children:[(0,c.zr)(M.name)&&(0,d.jsx)(s.rA,{title:"格式化",icon:"data_object",onClick:function(){x.xK.get_editor()?.formatCode()}}),(0,d.jsx)(s.rA,{icon:"terminal",title:"shell",onClick:function(){void 0===L?F.show?D({show:!1,path:""}):(D({show:!0,path:(0,u.GG)("file",J)}),R(!1)):R(!L)}}),z&&(0,d.jsx)(s.rA,{title:"保存",icon:"save",onClick:ee})]}),(0,d.jsxs)("div",{className:"studio-body",ref:K,children:[(0,d.jsx)("div",{className:"studio-nav",style:{width:W-1+"em"},onContextMenu:e=>{se(e,M.name,(0,u.GG)("file",J),!0,O)},children:(0,d.jsx)(h,{pre_path:p,list:t,click:async(e,t,n)=>{if("folder"===e.type){const e=await m.$M.post("studio/get/item",{path:`${n}`});if(e.code===f.m.Success){const n=[],a=[];for(const t of e.data.list)"folder"===t.type?n.push(t):"file"===t.type&&a.push(t);t([...n,...a])}}else{if(z)return void I({open:!0,handle:()=>{I({open:!1,handle:null}),A(!1),V(e,n)},title:"确定不保存就切换吗?"});V(e,n)}},handleContextMenu:se,fatherNowToggleExpansion:O})}),(0,d.jsx)("div",{className:"studio__divider",ref:T,onPointerDown:()=>{B(!0),K.current.addEventListener("pointermove",ne)},onPointerUp:ae}),U&&(0,d.jsx)("div",{className:"shell__overlay",onPointerUp:ae}),(0,d.jsx)("div",{className:"studio-editor",children:M.name&&(0,d.jsx)(g,{name:M.name,on_change:()=>{z||A(!0)}})},M.path)]})]})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[2851],{75897(e,t,s){s.d(t,{L:()=>a});let n=function(e){return e.username="username",e.password="password",e.password_hash="password_hash",e.navindex_remote_ssh_key="navindex_remote_ssh_key",e.user_id_name_mapping="user_id_name_mapping",e.user_id_info_data_mapping="user_id_info_data_mapping",e.user_unique_id_num="user_unique_id_num",e.role_unique_id_num="role_unique_id_num",e.sys_all_roles="sys_all_roles",e.ddns_http_url_key="ddns_http_url_key",e.ddns_tx_key="tengxun_ddns_key",e.ddns_dnspod_key="ddns_dnspod",e.ddns_ali_key="ali_ddns_key",e.navindex_net_key_list="navindex_net_key_list",e.navindex_wol_key="navindex_wol_key",e.customer_router_key="customer_router_key",e.customer_workflow_router_key="customer_workflow_router_key",e.customer_api_router_key="customer_api_router_key",e.token_setting="token_setting",e.sys_software="sys_software",e.protection_directory="sys_protection_directory",e.dir_upload_max_num="dir_upload_max_num",e.self_auth_jscode="self_auth_jscode",e.navindex_video_key="navindex_video_tag_key",e.systemd_key="systemd_key",e.vir_server_data_key="vir_server_net_data_key",e.vir_client_data_key="vir_client_net_data_key",e.vir_data_client_hash_key="vir_data_client_hash_key",e.vir_data_server_hash_key="vir_data_server_hash_key",e.language="user_language",e.navindex_rdp_key="navindex_rdp_tag_key",e.navindex_key="navindex_key_list",e.http_tag_key="http_tag_key",e.self_shell_cmd_check_open_status="self_shell_cmd_check_open_status",e.self_shell_cmd_jscode="self_shell_cmd_jscode",e.extra_env_path_list_key="extra_env_path_list_key",e.cmd_use_pty_key="cmd_use_pty_key",e.recycle_bin_key="recycle_bin_key",e.recycle_bin_status="recycle_bin_status",e.guid_key="guid_key",e.tcp_proxy_key="tcp_proxy_key",e.sys_env_key="sys_env_key",e.http_server_key="http_server_key",e.proxy_server_code_prefix="proxy_server_code_prefix",e.ai_agent_model_setting="ai_agent_model_setting",e.ai_agent_mcp_setting="ai_agent_mcp_setting",e.ai_agent_docs_setting="ai_agent_docs_setting",e.ai_agent_chat_session_store="ai_agent_chat_session_store",e.share_file_list_key="share_file_list_key",e.share_file_list_key_download_statics="share_file_list_key_download_statics",e.tcp_proxy_server_base="tcp_proxy_server_base",e.tcp_proxy_server_client_list="tcp_proxy_server_client_list",e.tcp_proxy_client_fig="tcp_proxy_client_fig",e.tcp_proxy_client_all_fig="tcp_proxy_client_all_fig",e.tcp_proxy_sync_task_list="tcp_proxy_sync_task_list",e.workflow_setting_item_list="workflow_setting_item_list",e.server_bridge_config_list="server_bridge_config_list",e.ai_agent_status="ai_agent_status",e.ai_system_prompts="ai_system_prompts",e.filecat_plugin_list="filecat_plugin_list",e}({});const a=n.self_auth_jscode},8694(e,t,s){s.d(t,{$K:()=>o,RB:()=>r,l5:()=>l,qB:()=>n,vo:()=>c,vr:()=>i});class n{targetProxyUrl;proxyPort;sysProxyPort}let a=function(e){return e[e.tcp=0]="tcp",e[e.udp=1]="udp",e}({});class o{open=!1;port;key="";async_ips=[]}class c{client_num_id;client_name;open=!1;ip;mask;serverIp;serverPort;key="";model=a.udp}let r=function(e){return e[e.row=1]="row",e[e.json=2]="json",e[e.form=3]="form",e}({});class i{body_type;header_type;url;method;headers;data;form_data_list;local_download_path}class l{enabled;ip;port;bypass;useForLocal;type}},77481(e,t,s){s.d(t,{S:()=>c,X:()=>o});var n=s(96540),a=s(74848);function o(e){const[t,s]=n.useState([]);return(0,n.useEffect)(()=>{e.children?s(Array.isArray(e.children)?e.children:[e.children]):s(e.rows)},[e.rows,e.children]),(0,a.jsxs)("table",{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:e.headers?.map((e,t)=>(0,a.jsx)("th",{children:e},t))})}),(0,a.jsx)("tbody",{children:t.map((t,s)=>(0,a.jsx)("tr",{onContextMenu:()=>{e.handleContextMenu&&e.handleContextMenu(t)},children:t.map((s,n)=>(0,a.jsx)("td",{style:{width:e.width??"auto"},className:n===t.length-1?"small":"",children:s},n))},s))})]})}function c(e){return(0,a.jsx)("div",{style:{display:e.isFlex?"flex":"block"},children:e.columns.map((e,t)=>(0,a.jsx)("div",{children:e},t))})}},42851(e,t,s){s.r(t),s.d(t,{default:()=>K});var n=s(96540),a=s(75725),o=s(14284),c=s(62042),r=s(53459),i=s(70447),l=s(63033),d=s(85997),_=s(77481),p=s(8694),h=s(14944),u=s(92275),x=s(59270),y=s(57952),m=s(74848);function v(e){const{t}=(0,x.Bd)(),[s,v]=(0,n.useState)(void 0),[j,g]=(0,n.useState)(!1),[k,f]=(0,n.useState)(""),[S,w]=(0,n.useState)([t(`${t("名称")}`),t(`${t("虚拟")}ip`),`${t("物理")}信息`,t("在线状态"),t("选择")]),[C,b]=(0,n.useState)([]),[I,A]=(0,n.useState)({}),[U,P]=(0,n.useState)(!1);(0,n.useEffect)(()=>{(async()=>{const e=new u.hf(u.HK.vir_net_serverIno_get);h.ws.addMsg(u.HK.vir_net_serverIno_get,e=>{(e=>{for(const s of e){const e=s[s.length-1];s[s.length-1]=(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(i.fq,{ok:e}),t(e?"在线":"离线")]}),s[0]=(0,m.jsx)(i.xP,{context:s[0],tip_context:s[0]}),s[2]=(0,m.jsx)(i.xP,{context:s[2],tip_context:s[2]})}})(e.context),b(e.context)}),await h.ws.send(e)})();return(async()=>{const e=await o._U.get("vir/server/get");if(e.code!==r.m.Success)return;const t=e.data;v(t.port),f(t.key),g(t.open)})(),()=>{}},[]);return(0,m.jsxs)("div",{children:[(0,m.jsxs)(y.A,{children:[!!Object.keys(I).length&&I[0],!!Object.keys(I).length&&(0,m.jsx)(d.rA,{icon:"delete",title:"删除",onClick:async()=>{await o._U.post("vir/server/delete/client",{ips:Object.keys(I)}),A({})}})]}),(0,m.jsx)(a.fI,{children:(0,m.jsxs)(a.VP,{children:[(0,m.jsxs)(i.Zp,{title:"",rightBottomCom:(0,m.jsx)(d.C3,{text:t("保存"),clickFun:async()=>{const e=new p.$K;e.open=j,e.key=k,U&&(e.async_ips=Object.keys(I)),s&&(e.port=parseInt(s));(await o._U.post("vir/server/save",e)).code===r.m.Success?((0,c.SK)("保存成功"),P(!1)):(0,c.zN)("网络错误")}}),children:[(0,m.jsx)(l.Sm,{placeholder:"port",value:s,handleInputChange:e=>{v(e)}}),(0,m.jsx)(l.Sm,{type:"password",placeholder:"key ",value:k,handleInputChange:e=>{f(e)}}),(0,m.jsxs)("form",{children:[t("状态"),":",(0,m.jsx)(_.S,{isFlex:!0,columns:[(0,m.jsx)(l.U6,{value:1,context:t("开启"),selected:j,onchange:()=>{g(!j)}}),(0,m.jsx)(l.U6,{value:1,context:t("关闭"),selected:!j,onchange:()=>{g(!j)}})]})]}),!!Object.keys(I).length&&(0,m.jsx)(l.GL,{context:t("同步信息给选中服务器"),selected:U,onchange:()=>{P(!U)}})]}),(0,m.jsx)(i.Zp,{title:"",children:(0,m.jsx)(_.X,{headers:S,rows:C.map(e=>[...e,(0,m.jsx)(l.GL,{context:t(""),selected:I[e[1]],onchange:()=>{const t={...I};t[e[1]]?delete t[e[1]]:t[e[1]]=e,A(t)}})]),width:"10rem"})})]})})]})}function j(e){const{t}=(0,x.Bd)(),[s,y]=(0,n.useState)(""),[v,j]=(0,n.useState)(void 0),[g,k]=(0,n.useState)(""),[f,S]=(0,n.useState)(""),[w,C]=(0,n.useState)(void 0),[b,I]=(0,n.useState)(!1),[A,U]=(0,n.useState)(""),[P,F]=(0,n.useState)(!1);(0,n.useEffect)(()=>{(async()=>{const e=await o._U.get("vir/client/get");if(e.code!==r.m.Success)return;const t=e.data;if(C(t.serverPort),k(t.serverIp),y(t.ip),j(t.mask),U(t.key),I(t.open),S(t.client_name),t.open){const e=new u.hf(u.HK.vir_net_client_get),t=(await h.ws.send(e)).context.state;F(t),h.ws.addMsg(u.HK.vir_net_client_get,e=>{F(e.context.state)})}})()},[]);return(0,m.jsx)("div",{children:(0,m.jsx)(a.fI,{children:(0,m.jsxs)(a.VP,{children:[(0,m.jsxs)(i.Zp,{title:"",rightBottomCom:(0,m.jsx)(d.C3,{text:t("保存"),clickFun:async()=>{const e=new p.vo;e.ip=s,e.mask=parseInt(v),e.key=A,e.serverIp=g,e.serverPort=parseInt(w),e.open=b,e.client_name=f;(await o._U.post("vir/client/save",e)).code===r.m.Success?(0,c.SK)("保存成功"):(0,c.zN)("网络错误")}}),titleCom:(0,m.jsxs)("div",{children:[t("连接状态"),(0,m.jsx)(i.fq,{ok:P})]}),children:[(0,m.jsx)(l.Sm,{placeholder:"ip ",value:s,handleInputChange:e=>{y(e)}}),(0,m.jsx)(l.Sm,{placeholder:"mask",value:v,handleInputChange:e=>{j(e)}}),(0,m.jsx)(l.Sm,{placeholder:`${t("服务器")} ip`,value:g,handleInputChange:e=>{k(e)}}),(0,m.jsx)(l.Sm,{placeholder:`${t("服务器")} part`,value:w,handleInputChange:e=>{C(e)}}),(0,m.jsx)(l.Sm,{placeholder:"名称 ",value:f,handleInputChange:e=>{S(e)}}),(0,m.jsx)(l.Sm,{type:"password",placeholder:"key ",value:A,handleInputChange:e=>{U(e)}}),(0,m.jsxs)("form",{children:[t("状态"),(0,m.jsx)(_.S,{isFlex:!0,columns:[(0,m.jsx)(l.U6,{value:1,context:t("开启"),selected:b,onchange:()=>{I(!b)}}),(0,m.jsx)(l.U6,{value:1,context:t("关闭"),selected:!b,onchange:()=>{I(!b)}})]})]})]}),(0,m.jsxs)(i.Zp,{title:"",children:[(0,m.jsx)("div",{children:"ip: 虚拟ip, “10.0.0.0 - 10.255.255.255”和“172.16.0.0 - 172.31.255.255”和“192.168.0.0 - 192.168.255.255”这三个网段属于内网ip"}),(0,m.jsx)("div",{children:"mask: 一些常见的子网掩码网段/8:255.0.0.0;/16:255.255.0.0 ;/24:255.255.255.0"}),(0,m.jsx)("div",{children:"key:用于验证身份信息并加密的和服务器设置的一样"})]})]})})})}var g=s(34843),k=s(26417),f=s(23430),S=(s(75897),s(78247)),w=s(21499),C=s(24659);function b(e){const{t}=(0,x.Bd)(),[s,h]=(0,n.useState)(""),[u,y]=(0,n.useState)(""),[v,j]=(0,n.useState)(""),[b,I]=(0,n.useState)(!1),[A,U]=(0,n.useState)(!1),[P,F]=(0,n.useState)({port:0,open:!1,list:[]}),[K,H]=(0,g.fp)(k.AG.editorSetting),[$,B]=(0,g.fp)(k.AG.user_base_info),O=[t("端口"),t("目标地址"),t("目标端口"),t("开启"),t("备注"),t("删除")],[N,Z]=(0,n.useState)([]),z=[t("port"),t("ip"),t("type"),t("开启")],[E,V]=(0,n.useState)([]),M=[t("编辑"),t("开启"),t("备注"),t("删除")],L=(0,C.K)(),X=async()=>{const e=[o._U.post("vir/client/tcp_proxy/get"),o._U.post("http/proxy/server/get")];let t;$.sys===f.XM.mac?t=(async()=>{const e=await o._U.post("http/proxy/get/mac");if(e.code!==r.m.Success)return;const t=[],s=[];for(const n of e.data)"Wi-Fi"===n.name?t.push(n):s.push(n);V([...t,...s])})():$.sys===f.XM.win&&(t=(async()=>{const e=await o._U.post("http/proxy/get/win");if(e.code===r.m.Success){const t=e.data;h(t.ip),y(t.port),I(t.enabled),j(t.bypass),U(t.useForLocal)}})()),t&&e.push(t);const[s,n]=await Promise.all(e);s.code===r.m.Success&&Z(s.data),n.code===r.m.Success&&F(n.data)};(0,n.useEffect)(()=>{X()},[]);const G=async()=>{(await o._U.post("http/proxy/server/save",P)).code===r.m.Success&&(X(),(0,c.SK)("保存成功"))};return(0,m.jsx)("div",{children:(0,m.jsxs)(a.fI,{children:[$.sys===f.XM.win&&(0,m.jsx)(a.VP,{children:(0,m.jsxs)(i.Zp,{title:"Http Proxy",rightBottomCom:(0,m.jsx)(d.C3,{text:t("保存"),clickFun:async()=>{const e=new p.l5;e.port=parseInt(u),e.enabled=b,e.useForLocal=A,e.ip=s,e.bypass=v;(await o._U.post("http/proxy/set/win",e)).code===r.m.Success&&(X(),(0,c.SK)("保存成功"))}}),children:[(0,m.jsx)(l.Sm,{placeholder:"ip (default localhost) ",value:s,handleInputChange:e=>{h(e)}}),(0,m.jsx)(l.Sm,{placeholder:"port ",value:u,handleInputChange:e=>{y(e)}}),(0,m.jsx)(l.Sm,{placeholder:t("忽略ip"),value:v,handleInputChange:e=>{j(e)}}),(0,m.jsxs)("form",{children:[t("请勿将代理服务器用于本地(Intranet)地址"),(0,m.jsx)(_.S,{isFlex:!0,columns:[(0,m.jsx)(l.U6,{value:1,context:t("开启"),selected:A,onchange:()=>{U(!A)}}),(0,m.jsx)(l.U6,{value:1,context:t("关闭"),selected:!A,onchange:()=>{U(!A)}})]})]}),(0,m.jsxs)("form",{children:[t("状态"),(0,m.jsx)(_.S,{isFlex:!0,columns:[(0,m.jsx)(l.U6,{value:1,context:t("开启"),selected:b,onchange:()=>{I(!b)}}),(0,m.jsx)(l.U6,{value:1,context:t("关闭"),selected:!b,onchange:()=>{I(!b)}})]})]})]})}),$.sys===f.XM.mac&&(0,m.jsx)(a.VP,{children:E.map((e,s)=>(0,m.jsxs)(i.uF,{self_title:(0,m.jsxs)("span",{className:" div-row ",children:[(0,m.jsx)("h2",{children:e.name})," "]}),titleCom:(0,m.jsx)("div",{children:(0,m.jsx)(d.rA,{icon:"save",title:t("保存"),onClick:()=>{(async e=>{const t=E[e];(await o._U.post("http/proxy/set/mac",[t])).code===r.m.Success&&(X(),(0,c.SK)("保存成功"))})(s)}})}),children:[(0,m.jsx)(_.X,{headers:z,rows:e.proxies.map((e,t)=>{const n=[(0,m.jsx)(l.Sm,{value:e.port,handleInputChange:t=>{e.port=parseInt(t)},no_border:!0}),(0,m.jsx)(l.Sm,{value:e.ip,handleInputChange:t=>{e.ip=t},no_border:!0}),(0,m.jsx)("div",{children:1===e.type?"http":"https"}),(0,m.jsx)(l.l6,{value:e.enabled,onChange:e=>{((e,t,s)=>{const n=[...E];n[e].proxies[t].enabled=s,V(n)})(s,t,e)},options:L,no_border:!0})];return n}),width:"10rem"}),"ignore ips",(0,m.jsx)(l.Sm,{value:e.bypass,handleInputChange:e=>{E[s].bypass=e},no_border:!0})]},s))}),(0,m.jsxs)(a.VP,{children:[(0,m.jsx)(i.uF,{self_title:(0,m.jsxs)("span",{className:" div-row ",children:[(0,m.jsx)("h2",{children:t("Tcp Proxy")})," "]}),titleCom:(0,m.jsxs)("div",{children:[(0,m.jsx)(d.rA,{icon:"add",title:t("添加"),onClick:()=>{Z([...N,{note:"",open:!1,port:0,target_port:0,target_ip:""}])}}),(0,m.jsx)(d.rA,{icon:"save",title:t("保存"),onClick:async()=>{const e=[];for(let t=0;t<N.length;t++)N[t].index=t,e.push(N[t]);(await o._U.post("vir/client/tcp_proxy/save",e)).code===r.m.Success&&((0,c.SK)("保存成功"),X())}})]}),children:(0,m.jsx)(_.X,{headers:O,rows:N.map((e,s)=>{const n=[(0,m.jsx)(l.Sm,{value:e.port,handleInputChange:t=>{e.port=parseInt(t)},no_border:!0}),(0,m.jsx)(l.Sm,{value:e.target_ip,handleInputChange:t=>{e.target_ip=t},no_border:!0}),(0,m.jsx)(l.Sm,{value:e.target_port,handleInputChange:t=>{e.target_port=parseInt(t)},no_border:!0}),(0,m.jsx)(l.l6,{value:e.open,onChange:e=>{N[s].open=e,Z([...N])},options:L,no_border:!0}),(0,m.jsx)(l.Sm,{value:e.note,handleInputChange:t=>{e.note=t},no_border:!0}),(0,m.jsx)("div",{children:(0,m.jsx)(d.rA,{icon:"delete",title:t("删除"),onClick:()=>(e=>{N.splice(e,1),Z([...N])})(s)})})];return n}),width:"10rem"})}),(0,m.jsxs)(i.uF,{self_title:(0,m.jsxs)("span",{className:" div-row ",children:[(0,m.jsx)("h2",{children:t("Http Proxy Server")})," "]}),titleCom:(0,m.jsxs)("div",{children:[(0,m.jsx)(d.rA,{icon:"add",title:t("添加"),onClick:()=>{P.list.push({note:"",open:!1}),F({...P})}}),(0,m.jsx)(d.rA,{icon:"save",title:t("保存"),onClick:G})]}),children:[(0,m.jsx)(_.X,{headers:M,rows:P.list.map((e,s)=>[(0,m.jsx)("div",{children:(0,m.jsx)(d.rA,{icon:"edit",title:t("编辑"),onClick:()=>{(async e=>{P.list[e].random_key||(P.list[e].random_key=(0,w.hU)(),F({...P}),await G());const t=await o._U.post("http/proxy/server/code/get",{key:P.list[e].random_key});H({model:"ace/mode/javascript",open:!0,fileName:"",can_format:!0,save:async t=>{0===(await o._U.post("http/proxy/server/code/save",{context:t,key:P.list[e].random_key})).code&&(S.xK.set_value_temp(""),H({open:!1,model:"",fileName:"",save:null}))}}),S.xK.set_value_temp(t.data)})(s)}})}),(0,m.jsx)(l.l6,{value:e.open,onChange:e=>{P.list[s].open=e,F({...P})},options:L,no_border:!0}),(0,m.jsx)(l.Sm,{value:e.note,handleInputChange:t=>{e.note=t},no_border:!0}),(0,m.jsx)("div",{children:(0,m.jsx)(d.rA,{icon:"delete",title:t("删除"),onClick:()=>{P.list.splice(s,1),F({...P})}})})]),width:"10rem"}),(0,m.jsxs)("form",{children:[t("状态"),(0,m.jsx)(_.S,{isFlex:!0,columns:[(0,m.jsx)(l.U6,{value:1,context:t("开启"),selected:P.open,onchange:()=>{F({...P,open:!P.open})}}),(0,m.jsx)(l.U6,{value:1,context:t("关闭"),selected:!P.open,onchange:()=>{F({...P,open:!P.open})}})]})]}),"port",(0,m.jsx)(l.Sm,{value:P.port,handleInputChange:e=>{P.port=e?parseInt(e):"",F({...P})},no_border:!0})]})]})]})})}var I=s(87361),A=s(82726),U=s(27690);function P(e){const{t}=(0,x.Bd)(),[s,p]=(0,n.useState)([]),[h,u]=(0,n.useState)([]),[v,j]=(0,n.useState)(""),[f,S]=(0,n.useState)(""),[w,C]=(0,n.useState)(!1),[b,I]=(0,g.fp)(k.AG.showPrompt),[P,F]=(0,g.fp)(k.AG.confirm);(0,n.useEffect)(()=>{(async()=>{const e=await o.ez.get("ips/dnspod");if(e.code!==r.m.Success)return;const t=e.data,s=[],n=[];for(const e of t.ips)e.isIPv4?s.push(e):n.push(e);p(s),u(n),t.account&&(j(t.account.id),S(t.account.token)),C(t.isOpen)})()},[]);const K=async e=>{F({open:!0,handle:async()=>{0===(await o.ez.post("http/del",e)).code&&(0,c.SK)("删除成功,稍后请刷新"),F({open:!1,handle:null})},title:t("确定删除吗")})};return(0,m.jsxs)("div",{children:[(0,m.jsx)(y.A,{children:(0,m.jsx)(d.rA,{icon:"add",title:t("添加http获取ip"),onClick:()=>{I({show:!0,type:U.PromptEnum.DdnsAddHttp,overlay:!0,data:{}})}})}),(0,m.jsxs)(a.fI,{children:[(0,m.jsxs)(a.VP,{children:[(0,m.jsx)(i.Zp,{title:"ipv4",children:s.length>0&&s.map((e,s)=>(0,m.jsxs)("div",{children:[`${e.ifaceOrWww}(${e.ip})`,(0,m.jsx)(l.Sm,{right_placeholder:(0,m.jsx)("div",{children:e.source_type===A.tC.http_get&&(0,m.jsx)(d.rA,{icon:"delete",title:t("删除"),onClick:()=>{K(e)}})}),placeholder:"a.abc.com b.abc.com ...",value:e.ddnsHost,handleInputChange:t=>{e.ddnsHost=t}})]},s))}),(0,m.jsx)(i.Zp,{title:"ipv6",children:h.length>0&&h.map((e,s)=>(0,m.jsxs)("div",{children:[`${e.ifaceOrWww}(${e.ip})`,(0,m.jsx)(l.Sm,{right_placeholder:(0,m.jsx)("div",{children:e.source_type===A.tC.http_get&&(0,m.jsx)(d.rA,{icon:"delete",title:t("删除"),onClick:()=>{K(e)}})}),placeholder:"a.abc.com b.abc.com ...",value:e.ddnsHost,handleInputChange:t=>{e.ddnsHost=t}})]},s))})]}),(0,m.jsxs)(a.VP,{children:[(0,m.jsxs)(i.Zp,{title:t("账号设置"),rightBottomCom:(0,m.jsx)(d.C3,{text:t("保存"),clickFun:async()=>{if(w&&(!v||!f))return void(0,c.zN)("id和token都不能为空");const e=new A.yL,t=[];for(const e of[...s,...h])e.ddnsHost&&t.push(e);e.ips=t,e.account={id:v,token:f},e.isOpen=w,e.ddnsType=A.E2.dnspod;(await o.ez.post("save",e)).code===r.m.DdnsAuthFail?(0,c.zN)("鉴权失败"):(0,c.SK)("success")}}),children:[(0,m.jsx)(l.Sm,{placeholder:"ID",value:v,handleInputChange:e=>{j(e)}}),(0,m.jsx)(l.cA,{placeholder:"TOKEN",value:f,handleInputChange:e=>{S(e)}}),(0,m.jsx)(_.S,{isFlex:!0,columns:[(0,m.jsx)(l.U6,{value:1,context:t("开启"),selected:w,onchange:()=>{C(!w)}}),(0,m.jsx)(l.U6,{value:1,context:t("关闭"),selected:!w,onchange:()=>{C(!w)}})]})]}),(0,m.jsx)(i.Zp,{title:t("说明"),children:"域名如果不存在会自动创建,空子域名是@,ip6和ipv4可以互相切换。"})]})]})]})}function F(e){const{t}=(0,x.Bd)(),[s,p]=(0,n.useState)([]),[h,u]=(0,n.useState)([]),[v,j]=(0,n.useState)(""),[f,S]=(0,n.useState)(""),[w,C]=(0,n.useState)(!1),[b,I]=(0,g.fp)(k.AG.showPrompt),[P,F]=(0,g.fp)(k.AG.confirm);(0,n.useEffect)(()=>{(async()=>{const e=await o.ez.get("ips/tx");if(e.code!==r.m.Success)return;const t=e.data,s=[],n=[];for(const e of t.ips)e.isIPv4?s.push(e):n.push(e);p(s),u(n),t.account&&(j(t.account.secretid),S(t.account.secretkey)),C(t.isOpen)})()},[]);const K=async e=>{F({open:!0,handle:async()=>{0===(await o.ez.post("http/del",e)).code&&(0,c.SK)("删除成功,稍后请刷新"),F({open:!1,handle:null})},title:t("确定删除吗")})};return(0,m.jsxs)("div",{children:[(0,m.jsx)(y.A,{children:(0,m.jsx)(d.rA,{icon:"add",title:t("添加http获取ip"),onClick:()=>{I({show:!0,type:U.PromptEnum.DdnsAddHttp,overlay:!0,data:{}})}})}),(0,m.jsxs)(a.fI,{children:[(0,m.jsxs)(a.VP,{children:[(0,m.jsx)(i.Zp,{title:"ipv4",children:s.length>0&&s.map((e,s)=>(0,m.jsxs)("div",{children:[`${e.ifaceOrWww}(${e.ip})`,(0,m.jsx)(l.Sm,{right_placeholder:(0,m.jsx)("div",{children:e.source_type===A.tC.http_get&&(0,m.jsx)(d.rA,{icon:"delete",title:t("删除"),onClick:()=>{K(e)}})}),placeholder:"a.abc.com b.abc.com ...",value:e.ddnsHost,handleInputChange:t=>{e.ddnsHost=t}})]},s))}),(0,m.jsx)(i.Zp,{title:"ipv6",children:h.length>0&&h.map((e,s)=>(0,m.jsxs)("div",{children:[`${e.ifaceOrWww}(${e.ip})`,(0,m.jsx)(l.Sm,{right_placeholder:(0,m.jsx)("div",{children:e.source_type===A.tC.http_get&&(0,m.jsx)(d.rA,{icon:"delete",title:t("删除"),onClick:()=>{K(e)}})}),placeholder:"a.abc.com b.abc.com ...",value:e.ddnsHost,handleInputChange:t=>{e.ddnsHost=t}})]},s))})]}),(0,m.jsxs)(a.VP,{children:[(0,m.jsxs)(i.Zp,{title:t("账号设置"),rightBottomCom:(0,m.jsx)(d.C3,{text:t("保存"),clickFun:async()=>{if(w&&(!v||!f))return void(0,c.zN)("SecretId和SecretKey都不能为空");const e=new A.yL,t=[];for(const e of[...s,...h])e.ddnsHost&&t.push(e);e.ips=t,e.account={secretid:v,secretkey:f},e.isOpen=w,e.ddnsType=A.E2.tengxun;(await o.ez.post("save",e)).code===r.m.DdnsAuthFail?(0,c.zN)("鉴权失败"):(0,c.SK)("成功")}}),children:[(0,m.jsx)(l.Sm,{placeholder:"SecretId",value:v,handleInputChange:e=>{j(e)}}),(0,m.jsx)(l.cA,{placeholder:"SecretKey",value:f,handleInputChange:e=>{S(e)}}),(0,m.jsx)(_.S,{isFlex:!0,columns:[(0,m.jsx)(l.U6,{value:1,context:t("开启"),selected:w,onchange:()=>{C(!w)}}),(0,m.jsx)(l.U6,{value:1,context:t("关闭"),selected:!w,onchange:()=>{C(!w)}})]})]}),(0,m.jsx)(i.Zp,{title:t("说明"),children:"域名如果不存在会自动创建,空子域名是@,ip6和ipv4可以互相切换。"})]})]})]})}function K(){const{t:e}=(0,x.Bd)(),{check_user_auth:t}=(0,S.MH)(),s=[];return t(f.oV.vir_net)&&s.push({index:1,name:e("系统")+e("代理"),rto:"proxy_sys/",component:(0,m.jsx)(b,{})},{index:2,name:"Tun proxy "+e("客户端"),rto:"client/",component:(0,m.jsx)(j,{})},{index:3,name:"Tun proxy "+e("服务端"),rto:"server/",component:(0,m.jsx)(v,{})}),t(f.oV.ddns)&&s.push({index:4,name:`ddns-dnspod(${e("腾讯")})`,rto:"dnspod/",component:(0,m.jsx)(P,{})},{index:5,name:`ddns-${e("腾讯")}${e("云")}`,rto:"tengxun/",component:(0,m.jsx)(F,{})}),(0,m.jsx)(a.W1,{optionList:s,father_route:I.o.net})}},24659(e,t,s){s.d(t,{K:()=>a});var n=s(59270);const a=()=>{const{t:e}=(0,n.Bd)();return[{title:e("是"),value:!0,color:"#28a745"},{title:e("否"),value:!1,color:"#666666"}]}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[302],{97375(t){t.exports=function(){"use strict";return function(t,s){var e=s.prototype,n=e.format;e.format=function(t){var s=this,e=this.$locale();if(!this.isValid())return n.bind(this)(t);var i=this.$utils(),r=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(t){switch(t){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return e.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return e.ordinal(s.week(),"W");case"w":case"ww":return i.s(s.week(),"w"===t?1:2,"0");case"W":case"WW":return i.s(s.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return i.s(String(0===s.$H?24:s.$H),"k"===t?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return t}});return n.bind(this)(r)}}}()},90445(t){t.exports=function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},s=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,e=/\d/,n=/\d\d/,i=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,o={},a=function(t){return(t=+t)+(t>68?1900:2e3)},u=function(t){return function(s){this[t]=+s}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var s=t.match(/([+-]|\d\d)/g),e=60*s[1]+(+s[2]||0);return 0===e?0:"+"===s[0]?-e:e}(t)}],d=function(t){var s=o[t];return s&&(s.indexOf?s:s.s.concat(s.f))},c=function(t,s){var e,n=o.meridiem;if(n){for(var i=1;i<=24;i+=1)if(t.indexOf(n(i,0,s))>-1){e=i>12;break}}else e=t===(s?"pm":"PM");return e},f={A:[r,function(t){this.afternoon=c(t,!1)}],a:[r,function(t){this.afternoon=c(t,!0)}],Q:[e,function(t){this.month=3*(t-1)+1}],S:[e,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[i,u("seconds")],ss:[i,u("seconds")],m:[i,u("minutes")],mm:[i,u("minutes")],H:[i,u("hours")],h:[i,u("hours")],HH:[i,u("hours")],hh:[i,u("hours")],D:[i,u("day")],DD:[n,u("day")],Do:[r,function(t){var s=o.ordinal,e=t.match(/\d+/);if(this.day=e[0],s)for(var n=1;n<=31;n+=1)s(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],w:[i,u("week")],ww:[n,u("week")],M:[i,u("month")],MM:[n,u("month")],MMM:[r,function(t){var s=d("months"),e=(d("monthsShort")||s.map(function(t){return t.slice(0,3)})).indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],MMMM:[r,function(t){var s=d("months").indexOf(t)+1;if(s<1)throw new Error;this.month=s%12||s}],Y:[/[+-]?\d+/,u("year")],YY:[n,function(t){this.year=a(t)}],YYYY:[/\d{4}/,u("year")],Z:h,ZZ:h};function m(e){var n,i;n=e,i=o&&o.formats;for(var r=(e=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(s,e,n){var r=n&&n.toUpperCase();return e||i[n]||t[n]||i[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,s,e){return s||e.slice(1)})})).match(s),a=r.length,u=0;u<a;u+=1){var h=r[u],d=f[h],c=d&&d[0],m=d&&d[1];r[u]=m?{regex:c,parser:m}:h.replace(/^\[|\]$/g,"")}return function(t){for(var s={},e=0,n=0;e<a;e+=1){var i=r[e];if("string"==typeof i)n+=i.length;else{var o=i.regex,u=i.parser,h=t.slice(n),d=o.exec(h)[0];u.call(s,d),t=t.replace(d,"")}}return function(t){var s=t.afternoon;if(void 0!==s){var e=t.hours;s?e<12&&(t.hours+=12):12===e&&(t.hours=0),delete t.afternoon}}(s),s}}return function(t,s,e){e.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(a=t.parseTwoDigitYear);var n=s.prototype,i=n.parse;n.parse=function(t){var s=t.date,n=t.utc,r=t.args;this.$u=n;var a=r[1];if("string"==typeof a){var u=!0===r[2],h=!0===r[3],d=u||h,c=r[2];h&&(c=r[2]),o=this.$locale(),!u&&c&&(o=e.Ls[c]),this.$d=function(t,s,e,n){try{if(["x","X"].indexOf(s)>-1)return new Date(("X"===s?1e3:1)*t);var i=m(s)(t),r=i.year,o=i.month,a=i.day,u=i.hours,h=i.minutes,d=i.seconds,c=i.milliseconds,f=i.zone,l=i.week,$=new Date,M=a||(r||o?1:$.getDate()),y=r||$.getFullYear(),v=0;r&&!o||(v=o>0?o-1:$.getMonth());var Y,g=u||0,p=h||0,w=d||0,D=c||0;return f?new Date(Date.UTC(y,v,M,g,p,w,D+60*f.offset*1e3)):e?new Date(Date.UTC(y,v,M,g,p,w,D)):(Y=new Date(y,v,M,g,p,w,D),l&&(Y=n(Y).week(l).toDate()),Y)}catch(t){return new Date("")}}(s,a,n,e),this.init(),c&&!0!==c&&(this.$L=this.locale(c).$L),d&&s!=this.format(a)&&(this.$d=new Date("")),o={}}else if(a instanceof Array)for(var f=a.length,l=1;l<=f;l+=1){r[1]=a[l-1];var $=e.apply(this,r);if($.isValid()){this.$d=$.$d,this.$L=$.$L,this.init();break}l===f&&(this.$d=new Date(""))}else i.call(this,t)}}}()},43522(t){t.exports=function(){"use strict";var t,s,e=1e3,n=6e4,i=36e5,r=864e5,o=31536e6,a=2628e6,u=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,h=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,d={years:o,months:a,days:r,hours:i,minutes:n,seconds:e,milliseconds:1,weeks:6048e5},c=function(t){return t instanceof v},f=function(t,s,e){return new v(t,e,s.$l)},m=function(t){return s.p(t)+"s"},l=function(t){return t<0},$=function(t){return l(t)?Math.ceil(t):Math.floor(t)},M=function(t){return Math.abs(t)},y=function(t,s){return t?l(t)?{negative:!0,format:""+M(t)+s}:{negative:!1,format:""+t+s}:{negative:!1,format:""}},v=function(){function l(t,s,e){var n=this;if(this.$d={},this.$l=e,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),s)return f(t*d[m(s)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach(function(s){n.$d[m(s)]=t[s]}),this.calMilliseconds(),this;if("string"==typeof t){var i=t.match(u);if(i){var r=i.slice(2).map(function(t){return null!=t?Number(t):0});return this.$d.years=r[0],this.$d.months=r[1],this.$d.weeks=r[2],this.$d.days=r[3],this.$d.hours=r[4],this.$d.minutes=r[5],this.$d.seconds=r[6],this.calMilliseconds(),this}}return this}var M=l.prototype;return M.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce(function(s,e){return s+(t.$d[e]||0)*d[e]},0)},M.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=$(t/o),t%=o,this.$d.months=$(t/a),t%=a,this.$d.days=$(t/r),t%=r,this.$d.hours=$(t/i),t%=i,this.$d.minutes=$(t/n),t%=n,this.$d.seconds=$(t/e),t%=e,this.$d.milliseconds=t},M.toISOString=function(){var t=y(this.$d.years,"Y"),s=y(this.$d.months,"M"),e=+this.$d.days||0;this.$d.weeks&&(e+=7*this.$d.weeks);var n=y(e,"D"),i=y(this.$d.hours,"H"),r=y(this.$d.minutes,"M"),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var a=y(o,"S"),u=t.negative||s.negative||n.negative||i.negative||r.negative||a.negative,h=i.format||r.format||a.format?"T":"",d=(u?"-":"")+"P"+t.format+s.format+n.format+h+i.format+r.format+a.format;return"P"===d||"-P"===d?"P0D":d},M.toJSON=function(){return this.toISOString()},M.format=function(t){var e=t||"YYYY-MM-DDTHH:mm:ss",n={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return e.replace(h,function(t,s){return s||String(n[t])})},M.as=function(t){return this.$ms/d[m(t)]},M.get=function(t){var s=this.$ms,e=m(t);return"milliseconds"===e?s%=1e3:s="weeks"===e?$(s/d[e]):this.$d[e],s||0},M.add=function(t,s,e){var n;return n=s?t*d[m(s)]:c(t)?t.$ms:f(t,this).$ms,f(this.$ms+n*(e?-1:1),this)},M.subtract=function(t,s){return this.add(t,s,!0)},M.locale=function(t){var s=this.clone();return s.$l=t,s},M.clone=function(){return f(this.$ms,this)},M.humanize=function(s){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!s)},M.valueOf=function(){return this.asMilliseconds()},M.milliseconds=function(){return this.get("milliseconds")},M.asMilliseconds=function(){return this.as("milliseconds")},M.seconds=function(){return this.get("seconds")},M.asSeconds=function(){return this.as("seconds")},M.minutes=function(){return this.get("minutes")},M.asMinutes=function(){return this.as("minutes")},M.hours=function(){return this.get("hours")},M.asHours=function(){return this.as("hours")},M.days=function(){return this.get("days")},M.asDays=function(){return this.as("days")},M.weeks=function(){return this.get("weeks")},M.asWeeks=function(){return this.as("weeks")},M.months=function(){return this.get("months")},M.asMonths=function(){return this.as("months")},M.years=function(){return this.get("years")},M.asYears=function(){return this.as("years")},l}(),Y=function(t,s,e){return t.add(s.years()*e,"y").add(s.months()*e,"M").add(s.days()*e,"d").add(s.hours()*e,"h").add(s.minutes()*e,"m").add(s.seconds()*e,"s").add(s.milliseconds()*e,"ms")};return function(e,n,i){t=i,s=i().$utils(),i.duration=function(t,s){var e=i.locale();return f(t,{$l:e},s)},i.isDuration=c;var r=n.prototype.add,o=n.prototype.subtract;n.prototype.add=function(t,s){return c(t)?Y(this,t,1):r.bind(this)(t,s)},n.prototype.subtract=function(t,s){return c(t)?Y(this,t,-1):o.bind(this)(t,s)}}}()},68313(t){t.exports=function(){"use strict";var t="day";return function(s,e,n){var i=function(s){return s.add(4-s.isoWeekday(),t)},r=e.prototype;r.isoWeekYear=function(){return i(this).year()},r.isoWeek=function(s){if(!this.$utils().u(s))return this.add(7*(s-this.isoWeek()),t);var e,r,o,a=i(this),u=(e=this.isoWeekYear(),o=4-(r=(this.$u?n.utc:n)().year(e).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(o+=7),r.add(o,t));return a.diff(u,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var o=r.startOf;r.startOf=function(t,s){var e=this.$utils(),n=!!e.u(s)||s;return"isoweek"===e.p(t)?n?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):o.bind(this)(t,s)}}}()}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[3233,5614],{47704(e,t,n){n.r(t),n.d(t,{default:()=>c});var l=n(96540),r=n(2543),i=n(33616),s=(n(97856),n(69448),n(40505)),a=n(62042),o=n(74848);function c(e){const[t,n]=(0,l.useState)(25),c=(0,l.useRef)(null),u=(0,l.useCallback)(new i.FitAddon,[]),d=(0,l.useRef)(null),f=(0,l.useRef)(null),[m,h]=(0,l.useState)(!1),p=(0,l.useCallback)(r.throttle(e=>{u.fit();const t=parseFloat(getComputedStyle(d.current).fontSize),l=window.innerHeight/t-4,r=(window.innerHeight-e.clientY)/t,i=2.25+c.current.offsetHeight/t;r<=l&&r>=i&&n(parseFloat(r.toFixed(2)))},32),[]);(0,l.useEffect)(()=>{e.terminal&&(e.terminal.options.convertEol=!0,e.terminal.open(f.current),e.terminal.loadAddon(u),u.fit(),e.init&&e.init(e.terminal.rows,e.terminal.cols),e.terminal.attachCustomKeyEventHandler(t=>{if(t.ctrlKey&&"c"===t.key){const n=e.terminal.getSelection();if(n)return(0,s.lW)(n),(0,a.SK)("已复制"),t.preventDefault(),e.terminal.focus(),!1}else if("keydown"===t.type&&"v"===t.key&&t.ctrlKey)return!1;return!0}))},[e.terminal]),(0,l.useEffect)(()=>()=>{e.terminal&&e.terminal.dispose()},[]);const v=()=>{h(!1),d.current.removeEventListener("pointermove",p)};if(e.show)return e.get_simple?(0,o.jsx)("div",{className:"pty",style:{height:"100%"},ref:f}):(0,o.jsxs)("div",{className:"shell",style:{height:`${t}em`,display:""+(e.file_shell_hidden?"none":"block")},ref:d,children:[(0,o.jsx)("div",{className:"shell__divider",ref:c,onPointerDown:()=>{h(!0),d.current.addEventListener("pointermove",p)},onPointerUp:v}),(0,o.jsx)("div",{className:"pty",style:{height:t-1+"em"},ref:f}),m&&(0,o.jsx)("div",{className:"shell__overlay",onPointerUp:v})]})}},85614(e,t,n){n.r(t),n.d(t,{default:()=>s});var l=n(96540),r=(n(47704),n(74848));const i=l.lazy(()=>Promise.resolve().then(n.bind(n,47704)));function s(e){return(0,r.jsx)(l.Fragment,{children:(0,r.jsx)(i,{...e})})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[3402],{72693(e,n,s){s.d(n,{w:()=>u});var t=s(96540),c=s(59270),a=s(14944),r=s(92275),o=s(34843),l=s(26417),d=s(85997),i=s(74848);function u(){const[e,n]=(0,o.fp)(l.AG.prompt_card),{t:s}=(0,c.Bd)(),u=(0,t.useRef)([]),f=(0,t.useRef)(!1),h=(0,t.useCallback)(()=>{if(f.current)return;if(0===u.current.length)return f.current=!1,void n({open:!1});f.current=!0;const e=u.current.shift();e?n({open:!0,title:s("命令确认"),cancel:()=>{a.ws.sendData(r.HK.ai_confirm_cmd,{askId:e.askId,approved:!1}),n({open:!1}),f.current=!1,h()},context_div:(0,i.jsxs)("div",{children:[(0,i.jsx)("span",{children:e.cmd}),(0,i.jsx)(d.$n,{text:s("允许"),clickFun:()=>{a.ws.sendData(r.HK.ai_confirm_cmd,{askId:e.askId,approved:!0}),n({open:!1}),f.current=!1,h()}}),(0,i.jsx)(d.$n,{text:s("拒绝"),color:"var(--red)",clickFun:()=>{a.ws.sendData(r.HK.ai_confirm_cmd,{askId:e.askId,approved:!1}),n({open:!1}),f.current=!1,h()}})]})}):f.current=!1},[s]),p=(0,t.useCallback)(e=>{u.current.push(e),h()},[h]);(0,t.useEffect)(()=>(a.ws.addMsg(r.HK.ai_confirm_cmd,e=>{const n=e.context||{};n.askId&&n.cmd&&p({askId:n.askId,cmd:n.cmd})}),()=>{a.ws.removeMsg(r.HK.ai_confirm_cmd)}),[p]),(0,t.useEffect)(()=>()=>{u.current=[],f.current=!1},[])}},63402(e,n,s){s.r(n),s.d(n,{default:()=>p});var t=s(96540),c=s(97856),a=s(92275),r=s(14944),o=s(34843),l=s(26417),d=s(64405),i=s(40505),u=s(72693),f=s(74848);const h=t.lazy(()=>Promise.all([s.e(7986),s.e(8023),s.e(5614)]).then(s.bind(s,85614)));function p(e){const[n,s]=(0,t.useState)(null),[p,w]=(0,o.fp)(l.AG.fileShellShow),[m,_]=(0,o.fp)(l.AG.file_shell_hidden),[k,F]=(0,o.fp)(l.AG.user_base_info),x=k.user_data.theme?.includes("dark")?"#FFFFFF":"#000000";(0,u.w)();const g=()=>{n?.dispose(),s(null)};(0,t.useEffect)(()=>()=>{g()},[]),(0,t.useEffect)(()=>{p.show?n?p.cmd&&r.ws.sendData(a.HK.shell_send,p.cmd):(async()=>{const e=new c.Terminal({fontFamily:"Monaco, Menlo, Consolas, 'Courier New', monospace",theme:{background:"#FFFFFF",foreground:x,cursor:x,selectionBackground:"#a6d2ff"},cursorBlink:!0,cursorStyle:"bar",scrollback:1e3,scrollSensitivity:1,tabStopWidth:4});let n;const t=n=>{e.write(n)};n=s=>{e.clear(),e.write(s),n=t},await r.ws.addMsg(a.HK.shell_getting,e=>{n(e.context)}),await r.ws.addMsg(a.HK.shell_copy,n=>{n.context&&(0,i.lW)(n.context),e.focus()}),e.onData(async e=>{const n=new a.hf(a.HK.shell_send);n.context=e,await r.ws.send(n)}),s(e)})():g()},[p]);return(0,f.jsx)(h,{show:p.show,file_shell_hidden:m,terminal:n,init:(e,s)=>{n.writeln("open shell... ");const t=new a.hf(a.HK.shell_open),c=new d.n;c.init_path=p.path,c.rows=e,c.cols=s,c.http_token=localStorage.getItem("token"),t.context=c,r.ws.send(t),p.cmd&&r.ws.sendData(a.HK.shell_send,p.cmd)}})}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[3457],{87799(t,e,i){var r;r=function(t){return function(t){var e={};function i(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=7)}([function(e,i){e.exports=t},function(t,e,i){"use strict";var r=i(0).FDLayoutConstants;function o(){}for(var n in r)o[n]=r[n];o.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,o.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,o.DEFAULT_COMPONENT_SEPERATION=60,o.TILE=!0,o.TILING_PADDING_VERTICAL=10,o.TILING_PADDING_HORIZONTAL=10,o.TREE_REDUCTION_ON_INCREMENTAL=!1,t.exports=o},function(t,e,i){"use strict";var r=i(0).FDLayoutEdge;function o(t,e,i){r.call(this,t,e,i)}for(var n in o.prototype=Object.create(r.prototype),r)o[n]=r[n];t.exports=o},function(t,e,i){"use strict";var r=i(0).LGraph;function o(t,e,i){r.call(this,t,e,i)}for(var n in o.prototype=Object.create(r.prototype),r)o[n]=r[n];t.exports=o},function(t,e,i){"use strict";var r=i(0).LGraphManager;function o(t){r.call(this,t)}for(var n in o.prototype=Object.create(r.prototype),r)o[n]=r[n];t.exports=o},function(t,e,i){"use strict";var r=i(0).FDLayoutNode,o=i(0).IMath;function n(t,e,i,o){r.call(this,t,e,i,o)}for(var a in n.prototype=Object.create(r.prototype),r)n[a]=r[a];n.prototype.move=function(){var t=this.graphManager.getLayout();this.displacementX=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementX=t.coolingFactor*t.maxNodeDisplacement*o.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*o.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),t.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},n.prototype.propogateDisplacementToChildren=function(t,e){for(var i,r=this.getChild().getNodes(),o=0;o<r.length;o++)null==(i=r[o]).getChild()?(i.moveBy(t,e),i.displacementX+=t,i.displacementY+=e):i.propogateDisplacementToChildren(t,e)},n.prototype.setPred1=function(t){this.pred1=t},n.prototype.getPred1=function(){return pred1},n.prototype.getPred2=function(){return pred2},n.prototype.setNext=function(t){this.next=t},n.prototype.getNext=function(){return next},n.prototype.setProcessed=function(t){this.processed=t},n.prototype.isProcessed=function(){return processed},t.exports=n},function(t,e,i){"use strict";var r=i(0).FDLayout,o=i(4),n=i(3),a=i(5),s=i(2),h=i(1),d=i(0).FDLayoutConstants,l=i(0).LayoutConstants,g=i(0).Point,p=i(0).PointD,c=i(0).Layout,u=i(0).Integer,f=i(0).IGeometry,E=i(0).LGraph,T=i(0).Transform;function y(){r.call(this),this.toBeTiled={}}for(var N in y.prototype=Object.create(r.prototype),r)y[N]=r[N];y.prototype.newGraphManager=function(){var t=new o(this);return this.graphManager=t,t},y.prototype.newGraph=function(t){return new n(null,this.graphManager,t)},y.prototype.newNode=function(t){return new a(this.graphManager,t)},y.prototype.newEdge=function(t){return new s(null,null,t)},y.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.isSubLayout||(h.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=h.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=h.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=d.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=d.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=d.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=d.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=d.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/d.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=d.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},y.prototype.layout=function(){return l.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},y.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental)h.TREE_REDUCTION_ON_INCREMENTAL&&(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),e=new Set(this.getAllNodes()),i=this.nodesWithGravity.filter(function(t){return e.has(t)}),this.graphManager.setAllNodesToApplyGravitation(i));else{var t=this.getFlatForest();if(t.length>0)this.positionNodesRadially(t);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var e=new Set(this.getAllNodes()),i=this.nodesWithGravity.filter(function(t){return e.has(t)});this.graphManager.setAllNodesToApplyGravitation(i),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},y.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%d.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(e){return t.has(e)});this.graphManager.setAllNodesToApplyGravitation(e),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},y.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i<t.length;i++){var r=t[i].rect,o=t[i].id;e[o]={id:o,x:r.getCenterX(),y:r.getCenterY(),w:r.width,h:r.height}}return e},y.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var t=!1;if("during"===d.ANIMATE)this.emit("layoutstarted");else{for(;!t;)t=this.tick();this.graphManager.updateBounds()}},y.prototype.calculateNodesToApplyGravitationTo=function(){var t,e,i=[],r=this.graphManager.getGraphs(),o=r.length;for(e=0;e<o;e++)(t=r[e]).updateConnected(),t.isConnected||(i=i.concat(t.getNodes()));return i},y.prototype.createBendpoints=function(){var t=[];t=t.concat(this.graphManager.getAllEdges());var e,i=new Set;for(e=0;e<t.length;e++){var r=t[e];if(!i.has(r)){var o=r.getSource(),n=r.getTarget();if(o==n)r.getBendpoints().push(new p),r.getBendpoints().push(new p),this.createDummyNodesForBendpoints(r),i.add(r);else{var a=[];if(a=(a=a.concat(o.getEdgeListToNode(n))).concat(n.getEdgeListToNode(o)),!i.has(a[0])){var s;if(a.length>1)for(s=0;s<a.length;s++){var h=a[s];h.getBendpoints().push(new p),this.createDummyNodesForBendpoints(h)}a.forEach(function(t){i.add(t)})}}}if(i.size==t.length)break}},y.prototype.positionNodesRadially=function(t){for(var e=new g(0,0),i=Math.ceil(Math.sqrt(t.length)),r=0,o=0,n=0,a=new p(0,0),s=0;s<t.length;s++){s%i==0&&(n=0,o=r,0!=s&&(o+=h.DEFAULT_COMPONENT_SEPERATION),r=0);var d=t[s],u=c.findCenterOfTree(d);e.x=n,e.y=o,(a=y.radialLayout(d,u,e)).y>r&&(r=Math.floor(a.y)),n=Math.floor(a.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new p(l.WORLD_CENTER_X-a.x/2,l.WORLD_CENTER_Y-a.y/2))},y.radialLayout=function(t,e,i){var r=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);y.branchRadialLayout(e,null,0,359,0,r);var o=E.calculateBounds(t),n=new T;n.setDeviceOrgX(o.getMinX()),n.setDeviceOrgY(o.getMinY()),n.setWorldOrgX(i.x),n.setWorldOrgY(i.y);for(var a=0;a<t.length;a++)t[a].transform(n);var s=new p(o.getMaxX(),o.getMaxY());return n.inverseTransformPoint(s)},y.branchRadialLayout=function(t,e,i,r,o,n){var a=(r-i+1)/2;a<0&&(a+=180);var s=(a+i)%360*f.TWO_PI/360,h=(Math.cos(s),o*Math.cos(s)),d=o*Math.sin(s);t.setCenter(h,d);var l=[],g=(l=l.concat(t.getEdges())).length;null!=e&&g--;for(var p,c=0,u=l.length,E=t.getEdgesBetween(e);E.length>1;){var T=E[0];E.splice(0,1);var N=l.indexOf(T);N>=0&&l.splice(N,1),u--,g--}p=null!=e?(l.indexOf(E[0])+1)%u:0;for(var v=Math.abs(r-i)/g,L=p;c!=g;L=++L%u){var A=l[L].getOtherEnd(t);if(A!=e){var m=(i+c*v)%360,_=(m+v)%360;y.branchRadialLayout(A,t,m,_,o+n,n),c++}}},y.maxDiagonalInTree=function(t){for(var e=u.MIN_VALUE,i=0;i<t.length;i++){var r=t[i].getDiagonal();r>e&&(e=r)}return e},y.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},y.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],r=this.graphManager.getAllNodes(),o=0;o<r.length;o++){var n=(s=r[o]).getParent();0!==this.getNodeDegreeWithChildren(s)||null!=n.id&&this.getToBeTiled(n)||i.push(s)}for(o=0;o<i.length;o++){var s,h=(s=i[o]).getParent().id;void 0===e[h]&&(e[h]=[]),e[h]=e[h].concat(s)}Object.keys(e).forEach(function(i){if(e[i].length>1){var r="DummyCompound_"+i;t.memberGroups[r]=e[i];var o=e[i][0].getParent(),n=new a(t.graphManager);n.id=r,n.paddingLeft=o.paddingLeft||0,n.paddingRight=o.paddingRight||0,n.paddingBottom=o.paddingBottom||0,n.paddingTop=o.paddingTop||0,t.idToDummyNode[r]=n;var s=t.getGraphManager().add(t.newGraph(),n),h=o.getChild();h.add(n);for(var d=0;d<e[i].length;d++){var l=e[i][d];h.remove(l),s.add(l)}}})},y.prototype.clearCompounds=function(){var t={},e={};this.performDFSOnCompounds();for(var i=0;i<this.compoundOrder.length;i++)e[this.compoundOrder[i].id]=this.compoundOrder[i],t[this.compoundOrder[i].id]=[].concat(this.compoundOrder[i].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[i].getChild()),this.compoundOrder[i].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(t,e)},y.prototype.clearZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(i){var r=t.idToDummyNode[i];e[i]=t.tileNodes(t.memberGroups[i],r.paddingLeft+r.paddingRight),r.rect.width=e[i].width,r.rect.height=e[i].height})},y.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],i=e.id,r=e.paddingLeft,o=e.paddingTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,r,o)}},y.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach(function(i){var r=t.idToDummyNode[i],o=r.paddingLeft,n=r.paddingTop;t.adjustLocations(e[i],r.rect.x,r.rect.y,o,n)})},y.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var r=i.getNodes(),o=0;o<r.length;o++){var n=r[o];if(this.getNodeDegree(n)>0)return this.toBeTiled[e]=!1,!1;if(null!=n.getChild()){if(!this.getToBeTiled(n))return this.toBeTiled[e]=!1,!1}else this.toBeTiled[n.id]=!1}return this.toBeTiled[e]=!0,!0},y.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,r=0;r<e.length;r++){var o=e[r];o.getSource().id!==o.getTarget().id&&(i+=1)}return i},y.prototype.getNodeDegreeWithChildren=function(t){var e=this.getNodeDegree(t);if(null==t.getChild())return e;for(var i=t.getChild().getNodes(),r=0;r<i.length;r++){var o=i[r];e+=this.getNodeDegreeWithChildren(o)}return e},y.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},y.prototype.fillCompexOrderByDFS=function(t){for(var e=0;e<t.length;e++){var i=t[e];null!=i.getChild()&&this.fillCompexOrderByDFS(i.getChild().getNodes()),this.getToBeTiled(i)&&this.compoundOrder.push(i)}},y.prototype.adjustLocations=function(t,e,i,r,o){i+=o;for(var n=e+=r,a=0;a<t.rows.length;a++){var s=t.rows[a];e=n;for(var h=0,d=0;d<s.length;d++){var l=s[d];l.rect.x=e,l.rect.y=i,e+=l.rect.width+t.horizontalPadding,l.rect.height>h&&(h=l.rect.height)}i+=h+t.verticalPadding}},y.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(r){var o=e[r];i.tiledMemberPack[r]=i.tileNodes(t[r],o.paddingLeft+o.paddingRight),o.rect.width=i.tiledMemberPack[r].width,o.rect.height=i.tiledMemberPack[r].height})},y.prototype.tileNodes=function(t,e){var i={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:h.TILING_PADDING_VERTICAL,horizontalPadding:h.TILING_PADDING_HORIZONTAL};t.sort(function(t,e){return t.rect.width*t.rect.height>e.rect.width*e.rect.height?-1:t.rect.width*t.rect.height<e.rect.width*e.rect.height?1:0});for(var r=0;r<t.length;r++){var o=t[r];0==i.rows.length?this.insertNodeToRow(i,o,0,e):this.canAddHorizontal(i,o.rect.width,o.rect.height)?this.insertNodeToRow(i,o,this.getShortestRowIndex(i),e):this.insertNodeToRow(i,o,i.rows.length,e),this.shiftToLastRow(i)}return i},y.prototype.insertNodeToRow=function(t,e,i,r){var o=r;i==t.rows.length&&(t.rows.push([]),t.rowWidth.push(o),t.rowHeight.push(0));var n=t.rowWidth[i]+e.rect.width;t.rows[i].length>0&&(n+=t.horizontalPadding),t.rowWidth[i]=n,t.width<n&&(t.width=n);var a=e.rect.height;i>0&&(a+=t.verticalPadding);var s=0;a>t.rowHeight[i]&&(s=t.rowHeight[i],t.rowHeight[i]=a,s=t.rowHeight[i]-s),t.height+=s,t.rows[i].push(e)},y.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,r=0;r<t.rows.length;r++)t.rowWidth[r]<i&&(e=r,i=t.rowWidth[r]);return e},y.prototype.getLongestRowIndex=function(t){for(var e=-1,i=Number.MIN_VALUE,r=0;r<t.rows.length;r++)t.rowWidth[r]>i&&(e=r,i=t.rowWidth[r]);return e},y.prototype.canAddHorizontal=function(t,e,i){var r=this.getShortestRowIndex(t);if(r<0)return!0;var o=t.rowWidth[r];if(o+t.horizontalPadding+e<=t.width)return!0;var n,a,s=0;return t.rowHeight[r]<i&&r>0&&(s=i+t.verticalPadding-t.rowHeight[r]),n=t.width-o>=e+t.horizontalPadding?(t.height+s)/(o+e+t.horizontalPadding):(t.height+s)/t.width,s=i+t.verticalPadding,(a=t.width<e?(t.height+s)/e:(t.height+s)/t.width)<1&&(a=1/a),n<1&&(n=1/n),n<a},y.prototype.shiftToLastRow=function(t){var e=this.getLongestRowIndex(t),i=t.rowWidth.length-1,r=t.rows[e],o=r[r.length-1],n=o.width+t.horizontalPadding;if(t.width-t.rowWidth[i]>n&&e!=i){r.splice(-1,1),t.rows[i].push(o),t.rowWidth[e]=t.rowWidth[e]-n,t.rowWidth[i]=t.rowWidth[i]+n,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var a=Number.MIN_VALUE,s=0;s<r.length;s++)r[s].height>a&&(a=r[s].height);e>0&&(a+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=a,t.rowHeight[i]<o.height+t.verticalPadding&&(t.rowHeight[i]=o.height+t.verticalPadding);var d=t.rowHeight[e]+t.rowHeight[i];t.height+=d-h,this.shiftToLastRow(t)}},y.prototype.tilingPreLayout=function(){h.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},y.prototype.tilingPostLayout=function(){h.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},y.prototype.reduceTrees=function(){for(var t,e=[],i=!0;i;){var r=this.graphManager.getAllNodes(),o=[];i=!1;for(var n=0;n<r.length;n++)1!=(t=r[n]).getEdges().length||t.getEdges()[0].isInterGraph||null!=t.getChild()||(o.push([t,t.getEdges()[0],t.getOwner()]),i=!0);if(1==i){for(var a=[],s=0;s<o.length;s++)1==o[s][0].getEdges().length&&(a.push(o[s]),o[s][0].getOwner().remove(o[s][0]));e.push(a),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=e},y.prototype.growTree=function(t){for(var e,i=t[t.length-1],r=0;r<i.length;r++)e=i[r],this.findPlaceforPrunedNode(e),e[2].add(e[0]),e[2].add(e[1],e[1].source,e[1].target);t.splice(t.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},y.prototype.findPlaceforPrunedNode=function(t){var e,i,r=t[0],o=(i=r==t[1].source?t[1].target:t[1].source).startX,n=i.finishX,a=i.startY,s=i.finishY,h=[0,0,0,0];if(a>0)for(var l=o;l<=n;l++)h[0]+=this.grid[l][a-1].length+this.grid[l][a].length-1;if(n<this.grid.length-1)for(l=a;l<=s;l++)h[1]+=this.grid[n+1][l].length+this.grid[n][l].length-1;if(s<this.grid[0].length-1)for(l=o;l<=n;l++)h[2]+=this.grid[l][s+1].length+this.grid[l][s].length-1;if(o>0)for(l=a;l<=s;l++)h[3]+=this.grid[o-1][l].length+this.grid[o][l].length-1;for(var g,p,c=u.MAX_VALUE,f=0;f<h.length;f++)h[f]<c?(c=h[f],g=1,p=f):h[f]==c&&g++;if(3==g&&0==c)0==h[0]&&0==h[1]&&0==h[2]?e=1:0==h[0]&&0==h[1]&&0==h[3]?e=0:0==h[0]&&0==h[2]&&0==h[3]?e=3:0==h[1]&&0==h[2]&&0==h[3]&&(e=2);else if(2==g&&0==c){var E=Math.floor(2*Math.random());e=0==h[0]&&0==h[1]?0==E?0:1:0==h[0]&&0==h[2]?0==E?0:2:0==h[0]&&0==h[3]?0==E?0:3:0==h[1]&&0==h[2]?0==E?1:2:0==h[1]&&0==h[3]?0==E?1:3:0==E?2:3}else e=4==g&&0==c?E=Math.floor(4*Math.random()):p;0==e?r.setCenter(i.getCenterX(),i.getCenterY()-i.getHeight()/2-d.DEFAULT_EDGE_LENGTH-r.getHeight()/2):1==e?r.setCenter(i.getCenterX()+i.getWidth()/2+d.DEFAULT_EDGE_LENGTH+r.getWidth()/2,i.getCenterY()):2==e?r.setCenter(i.getCenterX(),i.getCenterY()+i.getHeight()/2+d.DEFAULT_EDGE_LENGTH+r.getHeight()/2):r.setCenter(i.getCenterX()-i.getWidth()/2-d.DEFAULT_EDGE_LENGTH-r.getWidth()/2,i.getCenterY())},t.exports=y},function(t,e,i){"use strict";var r={};r.layoutBase=i(0),r.CoSEConstants=i(1),r.CoSEEdge=i(2),r.CoSEGraph=i(3),r.CoSEGraphManager=i(4),r.CoSELayout=i(6),r.CoSENode=i(5),t.exports=r}])},t.exports=r(i(23143))},43457(t,e,i){var r;r=function(t){return function(t){var e={};function i(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=1)}([function(e,i){e.exports=t},function(t,e,i){"use strict";var r=i(0).layoutBase.LayoutConstants,o=i(0).layoutBase.FDLayoutConstants,n=i(0).CoSEConstants,a=i(0).CoSELayout,s=i(0).CoSENode,h=i(0).layoutBase.PointD,d=i(0).layoutBase.DimensionD,l={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function g(t){this.options=function(t,e){var i={};for(var r in t)i[r]=t[r];for(var r in e)i[r]=e[r];return i}(l,t),p(this.options)}var p=function(t){null!=t.nodeRepulsion&&(n.DEFAULT_REPULSION_STRENGTH=o.DEFAULT_REPULSION_STRENGTH=t.nodeRepulsion),null!=t.idealEdgeLength&&(n.DEFAULT_EDGE_LENGTH=o.DEFAULT_EDGE_LENGTH=t.idealEdgeLength),null!=t.edgeElasticity&&(n.DEFAULT_SPRING_STRENGTH=o.DEFAULT_SPRING_STRENGTH=t.edgeElasticity),null!=t.nestingFactor&&(n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=o.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(n.DEFAULT_GRAVITY_STRENGTH=o.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(n.MAX_ITERATIONS=o.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(n.DEFAULT_GRAVITY_RANGE_FACTOR=o.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(n.DEFAULT_COMPOUND_GRAVITY_STRENGTH=o.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=o.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(n.DEFAULT_COOLING_FACTOR_INCREMENTAL=o.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),"draft"==t.quality?r.QUALITY=0:"proof"==t.quality?r.QUALITY=2:r.QUALITY=1,n.NODE_DIMENSIONS_INCLUDE_LABELS=o.NODE_DIMENSIONS_INCLUDE_LABELS=r.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,n.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=r.DEFAULT_INCREMENTAL=!t.randomize,n.ANIMATE=o.ANIMATE=r.ANIMATE=t.animate,n.TILE=t.tile,n.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,n.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal};g.prototype.run=function(){var t,e,i=this.options,r=(this.idToLNode={},this.layout=new a),o=this;o.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var n=r.newGraphManager();this.gm=n;var s=this.options.eles.nodes(),h=this.options.eles.edges();this.root=n.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(s),r);for(var d=0;d<h.length;d++){var l=h[d],g=this.idToLNode[l.data("source")],p=this.idToLNode[l.data("target")];g!==p&&0==g.getEdgesBetween(p).length&&(n.add(r.newEdge(),g,p).id=l.id())}var c=function(t,e){"number"==typeof t&&(t=e);var i=t.data("id"),r=o.idToLNode[i];return{x:r.getRect().getCenterX(),y:r.getRect().getCenterY()}},u=function n(){for(var a,s=function(){i.fit&&i.cy.fit(i.eles,i.padding),t||(t=!0,o.cy.one("layoutready",i.ready),o.cy.trigger({type:"layoutready",layout:o}))},h=o.options.refresh,d=0;d<h&&!a;d++)a=o.stopped||o.layout.tick();if(a)return r.checkLayoutSuccess()&&!r.isSubLayout&&r.doPostLayout(),r.tilingPostLayout&&r.tilingPostLayout(),r.isLayoutFinished=!0,o.options.eles.nodes().positions(c),s(),o.cy.one("layoutstop",o.options.stop),o.cy.trigger({type:"layoutstop",layout:o}),e&&cancelAnimationFrame(e),void(t=!1);var l=o.layout.getPositionsData();i.eles.nodes().positions(function(t,e){if("number"==typeof t&&(t=e),!t.isParent()){for(var i=t.id(),r=l[i],o=t;null==r&&(r=l[o.data("parent")]||l["DummyCompound_"+o.data("parent")],l[i]=r,null!=(o=o.parent()[0])););return null!=r?{x:r.x,y:r.y}:{x:t.position("x"),y:t.position("y")}}}),s(),e=requestAnimationFrame(n)};return r.addListener("layoutstarted",function(){"during"===o.options.animate&&(e=requestAnimationFrame(u))}),r.runLayout(),"during"!==this.options.animate&&(o.options.eles.nodes().not(":parent").layoutPositions(o,o.options,c),t=!1),this},g.prototype.getTopMostNodes=function(t){for(var e={},i=0;i<t.length;i++)e[t[i].id()]=!0;var r=t.filter(function(t,i){"number"==typeof t&&(t=i);for(var r=t.parent()[0];null!=r;){if(e[r.id()])return!1;r=r.parent()[0]}return!0});return r},g.prototype.processChildrenList=function(t,e,i){for(var r=e.length,o=0;o<r;o++){var n,a,l=e[o],g=l.children(),p=l.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if((n=null!=l.outerWidth()&&null!=l.outerHeight()?t.add(new s(i.graphManager,new h(l.position("x")-p.w/2,l.position("y")-p.h/2),new d(parseFloat(p.w),parseFloat(p.h)))):t.add(new s(this.graphManager))).id=l.data("id"),n.paddingLeft=parseInt(l.css("padding")),n.paddingTop=parseInt(l.css("padding")),n.paddingRight=parseInt(l.css("padding")),n.paddingBottom=parseInt(l.css("padding")),this.options.nodeDimensionsIncludeLabels&&l.isParent()){var c=l.boundingBox({includeLabels:!0,includeNodes:!1}).w,u=l.boundingBox({includeLabels:!0,includeNodes:!1}).h,f=l.css("text-halign");n.labelWidth=c,n.labelHeight=u,n.labelPos=f}this.idToLNode[l.data("id")]=n,isNaN(n.rect.x)&&(n.rect.x=0),isNaN(n.rect.y)&&(n.rect.y=0),null!=g&&g.length>0&&(a=i.getGraphManager().add(i.newGraph(),n),this.processChildrenList(a,g,i))}},g.prototype.stop=function(){return this.stopped=!0,this};var c=function(t){t("layout","cose-bilkent",g)};"undefined"!=typeof cytoscape&&c(cytoscape),t.exports=c}])},t.exports=r(i(87799))}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[3471],{73471(e,t,c){c.r(t),c.d(t,{default:()=>a});const i=async e=>{const t=await e.getFile();return t.handle=e,t};var a=async(e=[{}])=>{Array.isArray(e)||(e=[e]);const t=[];e.forEach((e,c)=>{t[c]={description:e.description||"",accept:{}},e.mimeTypes?e.mimeTypes.map(i=>{t[c].accept[i]=e.extensions||[]}):t[c].accept["*/*"]=e.extensions||[]});const c=await window.showOpenFilePicker({id:e[0].id,startIn:e[0].startIn,types:t,multiple:e[0].multiple||!1,excludeAcceptAllOption:e[0].excludeAcceptAllOption||!1}),a=await Promise.all(c.map(i));return e[0].multiple?a:a[0]}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[3679],{34826(t,n,o){function e(t,n){let o;if(void 0===n)for(const n of t)null!=n&&(o>n||void 0===o&&n>=n)&&(o=n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(o>r||void 0===o&&r>=r)&&(o=r)}return o}o.d(n,{A:()=>e})},19818(t,n,o){o.d(n,{gX:()=>f,kb:()=>i,pD:()=>u,pG:()=>s});var e=o(34826);function r(t){return t.target.depth}function i(t){return t.depth}function s(t,n){return n-1-t.height}function u(t,n){return t.sourceLinks.length?t.depth:n-1}function f(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?(0,e.A)(t.sourceLinks,r)-1:0}},39375(t,n,o){function e(t,n){let o=0;if(void 0===n)for(let n of t)(n=+n)&&(o+=n);else{let e=-1;for(let r of t)(r=+n(r,++e,t))&&(o+=r)}return o}function r(t,n){let o;if(void 0===n)for(const n of t)null!=n&&(o<n||void 0===o&&n>=n)&&(o=n);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(o<r||void 0===o&&r>=r)&&(o=r)}return o}o.d(n,{A:()=>p});var i=o(34826),s=o(19818);function u(t){return function(){return t}}function f(t,n){return h(t.source,n.source)||t.index-n.index}function c(t,n){return h(t.target,n.target)||t.index-n.index}function h(t,n){return t.y0-n.y0}function l(t){return t.value}function a(t){return t.index}function y(t){return t.nodes}function g(t){return t.links}function d(t,n){const o=t.get(n);if(!o)throw new Error("missing: "+n);return o}function _({nodes:t}){for(const n of t){let t=n.y0,o=t;for(const o of n.sourceLinks)o.y0=t+o.width/2,t+=o.width;for(const t of n.targetLinks)t.y1=o+t.width/2,o+=t.width}}function p(){let t,n,o,p=0,k=0,x=1,v=1,L=24,w=8,M=a,b=s.pD,A=y,m=g,S=6;function T(){const s={nodes:A.apply(null,arguments),links:m.apply(null,arguments)};return function({nodes:t,links:n}){for(const[n,o]of t.entries())o.index=n,o.sourceLinks=[],o.targetLinks=[];const e=new Map(t.map((n,o)=>[M(n,o,t),n]));for(const[t,o]of n.entries()){o.index=t;let{source:n,target:r}=o;"object"!=typeof n&&(n=o.source=d(e,n)),"object"!=typeof r&&(r=o.target=d(e,r)),n.sourceLinks.push(o),r.targetLinks.push(o)}if(null!=o)for(const{sourceLinks:n,targetLinks:e}of t)n.sort(o),e.sort(o)}(s),function({nodes:t}){for(const n of t)n.value=void 0===n.fixedValue?Math.max(e(n.sourceLinks,l),e(n.targetLinks,l)):n.fixedValue}(s),function({nodes:t}){const n=t.length;let o=new Set(t),e=new Set,r=0;for(;o.size;){for(const t of o){t.depth=r;for(const{target:n}of t.sourceLinks)e.add(n)}if(++r>n)throw new Error("circular link");o=e,e=new Set}}(s),function({nodes:t}){const n=t.length;let o=new Set(t),e=new Set,r=0;for(;o.size;){for(const t of o){t.height=r;for(const{source:n}of t.targetLinks)e.add(n)}if(++r>n)throw new Error("circular link");o=e,e=new Set}}(s),function(o){const s=function({nodes:t}){const o=r(t,t=>t.depth)+1,e=(x-p-L)/(o-1),i=new Array(o);for(const n of t){const t=Math.max(0,Math.min(o-1,Math.floor(b.call(null,n,o))));n.layer=t,n.x0=p+t*e,n.x1=n.x0+L,i[t]?i[t].push(n):i[t]=[n]}if(n)for(const t of i)t.sort(n);return i}(o);t=Math.min(w,(v-k)/(r(s,t=>t.length)-1)),function(n){const o=(0,i.A)(n,n=>(v-k-(n.length-1)*t)/e(n,l));for(const e of n){let n=k;for(const r of e){r.y0=n,r.y1=n+r.value*o,n=r.y1+t;for(const t of r.sourceLinks)t.width=t.value*o}n=(v-n+t)/(e.length+1);for(let t=0;t<e.length;++t){const o=e[t];o.y0+=n*(t+1),o.y1+=n*(t+1)}D(e)}}(s);for(let t=0;t<S;++t){const n=Math.pow(.99,t),o=Math.max(1-n,(t+1)/S);z(s,n,o),C(s,n,o)}}(s),_(s),s}function C(t,o,e){for(let r=1,i=t.length;r<i;++r){const i=t[r];for(const t of i){let n=0,e=0;for(const{source:o,value:r}of t.targetLinks){let i=r*(t.layer-o.layer);n+=I(o,t)*i,e+=i}if(!(e>0))continue;let r=(n/e-t.y0)*o;t.y0+=r,t.y1+=r,j(t)}void 0===n&&i.sort(h),E(i,e)}}function z(t,o,e){for(let r=t.length-2;r>=0;--r){const i=t[r];for(const t of i){let n=0,e=0;for(const{target:o,value:r}of t.sourceLinks){let i=r*(o.layer-t.layer);n+=V(t,o)*i,e+=i}if(!(e>0))continue;let r=(n/e-t.y0)*o;t.y0+=r,t.y1+=r,j(t)}void 0===n&&i.sort(h),E(i,e)}}function E(n,o){const e=n.length>>1,r=n[e];P(n,r.y0-t,e-1,o),q(n,r.y1+t,e+1,o),P(n,v,n.length-1,o),q(n,k,0,o)}function q(n,o,e,r){for(;e<n.length;++e){const i=n[e],s=(o-i.y0)*r;s>1e-6&&(i.y0+=s,i.y1+=s),o=i.y1+t}}function P(n,o,e,r){for(;e>=0;--e){const i=n[e],s=(i.y1-o)*r;s>1e-6&&(i.y0-=s,i.y1-=s),o=i.y0-t}}function j({sourceLinks:t,targetLinks:n}){if(void 0===o){for(const{source:{sourceLinks:t}}of n)t.sort(c);for(const{target:{targetLinks:n}}of t)n.sort(f)}}function D(t){if(void 0===o)for(const{sourceLinks:n,targetLinks:o}of t)n.sort(c),o.sort(f)}function I(n,o){let e=n.y0-(n.sourceLinks.length-1)*t/2;for(const{target:r,width:i}of n.sourceLinks){if(r===o)break;e+=i+t}for(const{source:t,width:r}of o.targetLinks){if(t===n)break;e-=r}return e}function V(n,o){let e=o.y0-(o.targetLinks.length-1)*t/2;for(const{source:r,width:i}of o.targetLinks){if(r===n)break;e+=i+t}for(const{target:t,width:r}of n.sourceLinks){if(t===o)break;e-=r}return e}return T.update=function(t){return _(t),t},T.nodeId=function(t){return arguments.length?(M="function"==typeof t?t:u(t),T):M},T.nodeAlign=function(t){return arguments.length?(b="function"==typeof t?t:u(t),T):b},T.nodeSort=function(t){return arguments.length?(n=t,T):n},T.nodeWidth=function(t){return arguments.length?(L=+t,T):L},T.nodePadding=function(n){return arguments.length?(w=t=+n,T):w},T.nodes=function(t){return arguments.length?(A="function"==typeof t?t:u(t),T):A},T.links=function(t){return arguments.length?(m="function"==typeof t?t:u(t),T):m},T.linkSort=function(t){return arguments.length?(o=t,T):o},T.size=function(t){return arguments.length?(p=k=0,x=+t[0],v=+t[1],T):[x-p,v-k]},T.extent=function(t){return arguments.length?(p=+t[0][0],x=+t[1][0],k=+t[0][1],v=+t[1][1],T):[[p,k],[x,v]]},T.iterations=function(t){return arguments.length?(S=+t,T):S},T}},18754(t,n,o){o.d(n,{A:()=>v});var e=Math.PI,r=2*e,i=1e-6,s=r-i;function u(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function f(){return new u}u.prototype=f.prototype={constructor:u,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,o,e){this._+="Q"+ +t+","+ +n+","+(this._x1=+o)+","+(this._y1=+e)},bezierCurveTo:function(t,n,o,e,r,i){this._+="C"+ +t+","+ +n+","+ +o+","+ +e+","+(this._x1=+r)+","+(this._y1=+i)},arcTo:function(t,n,o,r,s){t=+t,n=+n,o=+o,r=+r,s=+s;var u=this._x1,f=this._y1,c=o-t,h=r-n,l=u-t,a=f-n,y=l*l+a*a;if(s<0)throw new Error("negative radius: "+s);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(y>i)if(Math.abs(a*c-h*l)>i&&s){var g=o-u,d=r-f,_=c*c+h*h,p=g*g+d*d,k=Math.sqrt(_),x=Math.sqrt(y),v=s*Math.tan((e-Math.acos((_+y-p)/(2*k*x)))/2),L=v/x,w=v/k;Math.abs(L-1)>i&&(this._+="L"+(t+L*l)+","+(n+L*a)),this._+="A"+s+","+s+",0,0,"+ +(a*g>l*d)+","+(this._x1=t+w*c)+","+(this._y1=n+w*h)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,o,u,f,c){t=+t,n=+n,c=!!c;var h=(o=+o)*Math.cos(u),l=o*Math.sin(u),a=t+h,y=n+l,g=1^c,d=c?u-f:f-u;if(o<0)throw new Error("negative radius: "+o);null===this._x1?this._+="M"+a+","+y:(Math.abs(this._x1-a)>i||Math.abs(this._y1-y)>i)&&(this._+="L"+a+","+y),o&&(d<0&&(d=d%r+r),d>s?this._+="A"+o+","+o+",0,1,"+g+","+(t-h)+","+(n-l)+"A"+o+","+o+",0,1,"+g+","+(this._x1=a)+","+(this._y1=y):d>i&&(this._+="A"+o+","+o+",0,"+ +(d>=e)+","+g+","+(this._x1=t+o*Math.cos(f))+","+(this._y1=n+o*Math.sin(f))))},rect:function(t,n,o,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +o+"v"+ +e+"h"+-o+"Z"},toString:function(){return this._}};const c=f;var h=Array.prototype.slice;function l(t){return function(){return t}}function a(t){return t[0]}function y(t){return t[1]}function g(t){return t.source}function d(t){return t.target}function _(t){var n=g,o=d,e=a,r=y,i=null;function s(){var s,u=h.call(arguments),f=n.apply(this,u),l=o.apply(this,u);if(i||(i=s=c()),t(i,+e.apply(this,(u[0]=f,u)),+r.apply(this,u),+e.apply(this,(u[0]=l,u)),+r.apply(this,u)),s)return i=null,s+""||null}return s.source=function(t){return arguments.length?(n=t,s):n},s.target=function(t){return arguments.length?(o=t,s):o},s.x=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),s):e},s.y=function(t){return arguments.length?(r="function"==typeof t?t:l(+t),s):r},s.context=function(t){return arguments.length?(i=t??null,s):i},s}function p(t,n,o,e,r){t.moveTo(n,o),t.bezierCurveTo(n=(n+e)/2,o,n,r,e,r)}function k(t){return[t.source.x1,t.y0]}function x(t){return[t.target.x0,t.y1]}function v(){return _(p).source(k).target(x)}o.dn(l),o.dn(v)}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 397.19bbedd5e9d5ed0c6790.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[397],{22081(e,t,n){n.d(t,{A:()=>i});var a=n(96540),r=n(86004),s=n(74848);const i=({percentage:e})=>{const t=(0,a.useRef)(null),[n,i]=(0,a.useState)(null);return(0,a.useEffect)(()=>{const n=t.current.getContext("2d"),a=new r.Ay(n,{type:"doughnut",data:{labels:["use","left"],datasets:[{data:[e,100-e],backgroundColor:["#007bff","#f0f0f0"],borderWidth:0}]},options:{plugins:{legend:{display:!1},tooltip:{enabled:!1}},elements:{arc:{borderWidth:0}}}});return i(a),()=>{a.destroy()}},[]),(0,a.useEffect)(()=>{n&&(n.data.datasets[0].data=[e,100-e],n.update())},[e]),(0,s.jsx)("div",{style:{width:"8rem",overflow:"hidden"},children:(0,s.jsx)("canvas",{ref:t})})}},77481(e,t,n){n.d(t,{S:()=>i,X:()=>s});var a=n(96540),r=n(74848);function s(e){const[t,n]=a.useState([]);return(0,a.useEffect)(()=>{e.children?n(Array.isArray(e.children)?e.children:[e.children]):n(e.rows)},[e.rows,e.children]),(0,r.jsxs)("table",{children:[(0,r.jsx)("thead",{children:(0,r.jsx)("tr",{children:e.headers?.map((e,t)=>(0,r.jsx)("th",{children:e},t))})}),(0,r.jsx)("tbody",{children:t.map((t,n)=>(0,r.jsx)("tr",{onContextMenu:()=>{e.handleContextMenu&&e.handleContextMenu(t)},children:t.map((n,a)=>(0,r.jsx)("td",{style:{width:e.width??"auto"},className:a===t.length-1?"small":"",children:n},a))},n))})]})}function i(e){return(0,r.jsx)("div",{style:{display:e.isFlex?"flex":"block"},children:e.columns.map((e,t)=>(0,r.jsx)("div",{children:e},t))})}},88062(e,t,n){n.d(t,{A:()=>i});n(96540),n(47022);var a=n(74848);function r(e){return(0,a.jsx)("div",{className:"black-tip",onClick:()=>{e.click&&e.click(e)},onContextMenu:t=>{t.stopPropagation(),t.nativeEvent.stopImmediatePropagation(),e.onContextMenu&&e.onContextMenu(t,e)},children:e.name})}const s=e=>(0,a.jsxs)("li",{children:[e.click?(0,a.jsx)(r,{...e.node,name:e.render?e.render(e.node):e.node.name,click:e.click,onContextMenu:e.onContextMenu}):(0,a.jsx)("div",{children:e.render?e.render(e.node):e.node.name}),e.node.children&&e.node.children.length>0&&(0,a.jsx)("ul",{children:e.node.children.map((t,n)=>(0,a.jsx)(s,{node:t,click:e.click,onContextMenu:e.onContextMenu,render:e.render},n))})]}),i=e=>(0,a.jsx)("div",{className:"card-tree-view",children:(0,a.jsx)("ul",{children:e.list&&e.list.map((t,n)=>(0,a.jsx)(s,{node:t,click:e.click,onContextMenu:e.onContextMenu,render:e.render},n))})})},63659(e,t,n){n.r(t),n.d(t,{default:()=>Y});var a=n(59270),r=n(96540),s=n(34843),i=n(26417),c=n(92275),d=n(14944),o=(n(14284),n(70447)),f=n(85997),l=n(62042),u=n(57952),h=n(75725),g=(n(22081),n(77481)),b=n(63033),x=n(47071),p=n(34289),m=n(88062),j=n(97856),v=n(88815),w=n(15629),y=n(74848);const _=r.lazy(()=>Promise.all([n.e(7986),n.e(3233)]).then(n.bind(n,85614)));let k,S,M=-1;function Y(e){const{t}=(0,a.Bd)(),[n,Y]=(0,s.fp)(i.AG.workflow_show),[C,F]=(0,r.useState)([]),[A,X]=(0,r.useState)([]),[$,E]=(0,r.useState)(!1),[N,O]=(0,r.useState)(void 0),[P,Z]=(0,r.useState)([]),[T,R]=(0,r.useState)(-1),[W,q]=(0,r.useState)(10),[V,H]=(0,r.useState)(0),[U,B]=(0,r.useState)(0),[K,G]=(0,r.useState)(""),[I,J]=(0,r.useState)(!1),L=[t("序号"),t("运行名称"),t("状态"),t("运行时长"),t("日期"),t("操作")],z=[t("名称"),t("状态"),t("cwd"),t("运行时长"),t("操作")],D=async e=>{const t=new x._;t.page_num=e??T,t.page_size=W,t.dir_path=`${(0,p.GG)("file",(0,p.vX)())}`;const n=await d.ws.sendData(c.HK.workflow_get,t);if(!n)return;const a=n.context;a&&(F(a.list.map(e=>{const t="string"==typeof e.meta?JSON.parse(e.meta):e.meta;return t.index=e.index,t})),H(a.total),B((0,v.gw)(a.total,W)))};(0,r.useEffect)(()=>(E(!1),k=void 0,S=void 0,M=-1,D(),async()=>{S&&(S.dispose(),S=null)}),[]);const Q=async e=>{const t=e.steps,n=[];(0,w.Y)(n,t??[]),Z(n)},ee=async e=>{S||await new Promise(e=>{k=e,E(!0),(async()=>{const e=new j.Terminal({fontFamily:"Monaco, Menlo, Consolas, 'Courier New', monospace",theme:{background:"#FFFFFF",foreground:"#000000",cursor:"#000000",selectionBackground:"#a6d2ff"},cursorBlink:!0,cursorStyle:"bar",scrollback:1e3,scrollSensitivity:1,tabStopWidth:4,convertEol:!0});S=e,O(e)})()}),e&&(S.reset(),S.write(e))};return(0,y.jsxs)("div",{children:[(0,y.jsxs)(u.A,{children:[N&&(0,y.jsx)(f.rA,{icon:"print",title:"打印日志",onClick:()=>{E(!$)}}),(0,y.jsx)(f.rA,{icon:"close",title:t("关闭"),onClick:()=>{Y(!1)}})]}),(0,y.jsx)(h.jW,{isFull:!0,more:!0,children:(0,y.jsx)(h.NN,{children:(0,y.jsx)(h.xh,{children:(0,y.jsxs)(h.fI,{children:[(0,y.jsx)(h.VP,{children:(0,y.jsx)(o.uF,{self_title:(0,y.jsx)("span",{className:" div-row ",children:(0,y.jsx)("h2",{children:t("历史记录")})}),titleCom:(0,y.jsx)("div",{className:" div-row ",children:(0,y.jsx)(b.Sm,{disabled:I,value:K,placeholder:"搜索运行名称(支持正则)",handleInputChange:e=>{G(K)},handlerEnter:e=>{(async e=>{const t=new x._;t.search_name=e,t.dir_path=`${(0,p.GG)("file",(0,p.vX)())}`,J(!0);const n=await d.ws.sendData(c.HK.workflow_search_by_run_name,t);if(!n)return;const a=n.context;F(a.list.map(e=>{const t="string"==typeof e.meta?JSON.parse(e.meta):e.meta;return t.index=e.index,t})),H(a.total),B((0,v.gw)(a.total,W)),R(0),J(!1)})(e)}})}),rightBottomCom:(0,y.jsxs)("span",{className:" div-row ",children:[(0,y.jsxs)("span",{children:[Math.abs(T),"/",U]}),(0,y.jsx)(b.Sm,{placeholder:`max page ${U}`,handleInputChange:e=>{M=parseInt(e)},handlerEnter:()=>{if(M<1||M>U)return void(0,l.zN)("illegal page num");const e=0-M;R(e),D(e)}}),(0,y.jsx)(f.rA,{icon:"navigate_before",onClick:()=>{const e=T+1;e>-1?(0,l.zN)("max page num"):(R(e),D(e))},title:"上一页"}),(0,y.jsx)(f.rA,{icon:"navigate_next",onClick:()=>{const e=T-1;Math.abs(e)>U?(0,l.zN)("min page num"):(R(e),D(e))},title:"下一页"})]}),children:(0,y.jsx)(g.X,{headers:L,rows:C.map((e,n)=>{let a;a=e.is_running?(0,y.jsxs)("div",{children:[(0,y.jsx)(o.fq,{}),t("正在运行")]}):(0,y.jsxs)("div",{children:[(0,y.jsx)(o.fq,{success:e.is_success}),e.is_success?t("成功"):t("失败")]});const r=[(0,y.jsx)("p",{children:e.index}),(0,y.jsx)("p",{style:{wordWrap:"break-word"},children:e["run-name"]}),a,(0,y.jsx)("span",{children:e.duration}),(0,y.jsx)("span",{children:e.timestamp}),(0,y.jsx)("div",{children:(0,y.jsx)(f.rA,{icon:"details",title:t("详情"),onClick:()=>{(async e=>{if(e.is_running)return;Z([]);const t=new x._;t.index=e.index,t.dir_path=`${(0,p.GG)("file",(0,p.vX)())}`;const n=(await d.ws.sendData(c.HK.workflow_get,t)).context,a="string"==typeof n.one_data.data?JSON.parse(n.one_data.data):n.one_data.data;X(a.all_jobs)})(e)}})})];return r}),width:"10rem"})})}),(0,y.jsxs)(h.VP,{children:[(0,y.jsx)(o.Zp,{title:t("Job"),children:(0,y.jsx)(g.X,{headers:z,rows:A.map((e,n)=>[(0,y.jsx)("p",{children:e.name}),(0,y.jsx)(w.W,{item:e}),(0,y.jsx)(o.xP,{children:String(e.cwd)}),(0,y.jsx)("span",{children:e.duration}),(0,y.jsxs)("div",{children:[(0,y.jsx)(f.rA,{icon:"details",title:t("详情"),onClick:()=>{Q(e)}}),!!e.message&&(0,y.jsx)(f.rA,{icon:"print",title:t("日志"),onClick:()=>{ee(e.message)}})]})]),width:"10rem"})}),(0,y.jsx)(o.Zp,{title:"Step",children:(0,y.jsx)(m.A,{list:P,click:e=>{(async e=>{if(e?.extra_data?.is_job)await Q(e.extra_data.job_data);else if(e?.extra_data?.context)ee(e.extra_data.context);else{if(!e?.extra_data.code)return;ee(e.extra_data.code??"")}})(e)}})})]})]})})})}),(0,y.jsx)("div",{style:{display:$?"":"none"},children:(0,y.jsx)(_,{show:!0,terminal:N,init:()=>{k&&(k(1),k=void 0)}})})]})}},15629(e,t,n){n.d(t,{W:()=>c,Y:()=>d});n(96540);var a=n(70447),r=n(47071),s=n(59270),i=n(74848);function c({item:e}){const{t}=(0,s.Bd)();let n,c;return null!=e.code?n=0===e.code:e.extra_data?.running_type===r.rl.running&&(c=!0),(0,i.jsxs)("div",{children:[(0,i.jsx)(a.fq,{success:n,running:c}),t(n?"成功":"失败")]})}const d=(e,t,n)=>{if(t)for(const n of t??[]){let t;const r=[];n["use-yml"]?(d(r,void 0,n.use_job_children_list),t=`${n["use-yml"]} ;${n.duration??-1}`):n.runs?t=JSON.stringify(n.runs):n.run?t=n.run:n["run-js"]?t=n["run-js"]:n.sleep&&(t=`sleep ${n.sleep}`),t=(0,i.jsxs)("div",{children:[(0,i.jsx)(a.fq,{success:void 0===n.code?void 0:0===n.code})," ",t+" ;"+(n.duration??"")]}),e.push({name:t,children:r,extra_data:{code:n.code,context:n.message}})}else if(n)for(const t of n??[]){const n=(0,i.jsxs)("div",{children:[(0,i.jsx)(a.fq,{success:void 0===t.code?void 0:0===t.code}),"$",t.name]});e.push({name:n,extra_data:{code:t.code,is_job:!0,job_data:t}})}}},46447(e,t,n){function a(e){return e+.5|0}n.d(t,{Q1:()=>O});const r=(e,t,n)=>Math.max(Math.min(e,n),t);function s(e){return r(a(2.55*e),0,255)}function i(e){return r(a(255*e),0,255)}function c(e){return r(a(e/2.55)/100,0,1)}function d(e){return r(a(100*e),0,100)}const o={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},f=[..."0123456789ABCDEF"],l=e=>f[15&e],u=e=>f[(240&e)>>4]+f[15&e],h=e=>(240&e)>>4==(15&e);function g(e){var t=(e=>h(e.r)&&h(e.g)&&h(e.b)&&h(e.a))(e)?l:u;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const b=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function x(e,t,n){const a=t*Math.min(n,1-n),r=(t,r=(t+e/30)%12)=>n-a*Math.max(Math.min(r-3,9-r,1),-1);return[r(0),r(8),r(4)]}function p(e,t,n){const a=(a,r=(a+e/60)%6)=>n-n*t*Math.max(Math.min(r,4-r,1),0);return[a(5),a(3),a(1)]}function m(e,t,n){const a=x(e,1,.5);let r;for(t+n>1&&(r=1/(t+n),t*=r,n*=r),r=0;r<3;r++)a[r]*=1-t-n,a[r]+=t;return a}function j(e){const t=e.r/255,n=e.g/255,a=e.b/255,r=Math.max(t,n,a),s=Math.min(t,n,a),i=(r+s)/2;let c,d,o;return r!==s&&(o=r-s,d=i>.5?o/(2-r-s):o/(r+s),c=function(e,t,n,a,r){return e===r?(t-n)/a+(t<n?6:0):t===r?(n-e)/a+2:(e-t)/a+4}(t,n,a,o,r),c=60*c+.5),[0|c,d||0,i]}function v(e,t,n,a){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,a)).map(i)}function w(e,t,n){return v(x,e,t,n)}function y(e){return(e%360+360)%360}function _(e){const t=b.exec(e);let n,a=255;if(!t)return;t[5]!==n&&(a=t[6]?s(+t[5]):i(+t[5]));const r=y(+t[2]),c=+t[3]/100,d=+t[4]/100;return n="hwb"===t[1]?function(e,t,n){return v(m,e,t,n)}(r,c,d):"hsv"===t[1]?function(e,t,n){return v(p,e,t,n)}(r,c,d):w(r,c,d),{r:n[0],g:n[1],b:n[2],a}}const k={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},S={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let M;function Y(e){M||(M=function(){const e={},t=Object.keys(S),n=Object.keys(k);let a,r,s,i,c;for(a=0;a<t.length;a++){for(i=c=t[a],r=0;r<n.length;r++)s=n[r],c=c.replace(s,k[s]);s=parseInt(S[i],16),e[c]=[s>>16&255,s>>8&255,255&s]}return e}(),M.transparent=[0,0,0,0]);const t=M[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const C=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const F=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,A=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function X(e,t,n){if(e){let a=j(e);a[t]=Math.max(0,Math.min(a[t]+a[t]*n,0===t?360:1)),a=w(a),e.r=a[0],e.g=a[1],e.b=a[2]}}function $(e,t){return e?Object.assign(t||{},e):e}function E(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=i(e[3]))):(t=$(e,{r:0,g:0,b:0,a:1})).a=i(t.a),t}function N(e){return"r"===e.charAt(0)?function(e){const t=C.exec(e);let n,a,i,c=255;if(t){if(t[7]!==n){const e=+t[7];c=t[8]?s(e):r(255*e,0,255)}return n=+t[1],a=+t[3],i=+t[5],n=255&(t[2]?s(n):r(n,0,255)),a=255&(t[4]?s(a):r(a,0,255)),i=255&(t[6]?s(i):r(i,0,255)),{r:n,g:a,b:i,a:c}}}(e):_(e)}class O{constructor(e){if(e instanceof O)return e;const t=typeof e;let n;var a,r,s;"object"===t?n=E(e):"string"===t&&(s=(a=e).length,"#"===a[0]&&(4===s||5===s?r={r:255&17*o[a[1]],g:255&17*o[a[2]],b:255&17*o[a[3]],a:5===s?17*o[a[4]]:255}:7!==s&&9!==s||(r={r:o[a[1]]<<4|o[a[2]],g:o[a[3]]<<4|o[a[4]],b:o[a[5]]<<4|o[a[6]],a:9===s?o[a[7]]<<4|o[a[8]]:255})),n=r||Y(e)||N(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=$(this._rgb);return e&&(e.a=c(e.a)),e}set rgb(e){this._rgb=E(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${c(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?g(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=j(e),n=t[0],a=d(t[1]),r=d(t[2]);return e.a<255?`hsla(${n}, ${a}%, ${r}%, ${c(e.a)})`:`hsl(${n}, ${a}%, ${r}%)`}(this._rgb):void 0}mix(e,t){if(e){const n=this.rgb,a=e.rgb;let r;const s=t===r?.5:t,i=2*s-1,c=n.a-a.a,d=((i*c===-1?i:(i+c)/(1+i*c))+1)/2;r=1-d,n.r=255&d*n.r+r*a.r+.5,n.g=255&d*n.g+r*a.g+.5,n.b=255&d*n.b+r*a.b+.5,n.a=s*n.a+(1-s)*a.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,n){const a=A(c(e.r)),r=A(c(e.g)),s=A(c(e.b));return{r:i(F(a+n*(A(c(t.r))-a))),g:i(F(r+n*(A(c(t.g))-r))),b:i(F(s+n*(A(c(t.b))-s))),a:e.a+n*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new O(this.rgb)}alpha(e){return this._rgb.a=i(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=a(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return X(this._rgb,2,e),this}darken(e){return X(this._rgb,2,-e),this}saturate(e){return X(this._rgb,1,e),this}desaturate(e){return X(this._rgb,1,-e),this}rotate(e){return function(e,t){var n=j(e);n[0]=y(n[0]+t),n=w(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}}}]);
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * @kurkle/color v0.3.4
3
+ * https://github.com/kurkle/color#readme
4
+ * (c) 2024 Jukka Kurkela
5
+ * Released under the MIT License
6
+ */
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[4091],{84091(e,t,n){n.r(t),n.d(t,{default:()=>l});var i=n(96540),o=n(80952),s=(n(82327),n(1766),n(24854),n(90008),n(90846),n(40975),n(44286),n(30766),n(1234),n(47507),n(87268),n(24522)),r=n(34843),c=n(26417),a=n(78247),d=n(74848);function l(e){const t=(0,i.useRef)(null),[n,l]=(0,r.fp)(c.AG.user_base_info),u=n.user_data.theme?.includes("dark")?"cloud_editor_dark":"cloud9_day";return(0,i.useEffect)(()=>{const n=o.edit(t.current,{value:a.xK.get_value_temp(e.editor_id),showPrintMargin:!1,theme:`ace/theme/${u}`,mode:e.model??s.getModeForPath(e.name??"").mode,wrap:!1,highlightActiveLine:!1,fontSize:14,...e.options});return n.setOptions({}),n.container.addEventListener("wheel",function(e){e.preventDefault()}),n.focus(),n.on("change",function(t){e.on_change&&e.on_change()}),t.current=n,n.formatCode=()=>{const e=o.require("ace/ext/beautify"),n=t.current;n&&e.beautify(n.session)},a.xK.set_editor_temp(n,e.editor_id),()=>{a.xK.delete_editor_temp(e.editor_id),n.destroy()}},[]),(0,d.jsx)("div",{ref:t,style:{height:"100%",width:"100%"}})}o.config.set("basePath",`https://gcore.jsdelivr.net/npm/ace-builds@${o.version}/src-min-noconflict/`),o.config.set("modePath",`https://gcore.jsdelivr.net/npm/ace-builds@${o.version}/src-min-noconflict/`),o.config.set("themePath",`https://gcore.jsdelivr.net/npm/ace-builds@${o.version}/src-min-noconflict/`),o.config.set("workerPath",`https://gcore.jsdelivr.net/npm/ace-builds@${o.version}/src-min-noconflict/`),o.config.set("basePath",`https://gcore.jsdelivr.net/npm/ace-builds@${o.version}/src-min-noconflict/`)}}]);