abstra 3.23.8__py3-none-any.whl → 3.23.9__py3-none-any.whl

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 (222) hide show
  1. {abstra-3.23.8.dist-info → abstra-3.23.9.dist-info}/METADATA +1 -1
  2. {abstra-3.23.8.dist-info → abstra-3.23.9.dist-info}/RECORD +168 -165
  3. abstra_internals/entities/forms/template.py +84 -5
  4. abstra_internals/modules_test.py +2 -2
  5. abstra_internals/services/file_watcher.py +17 -14
  6. abstra_internals/utils/file.py +62 -0
  7. abstra_internals/utils/platform.py +5 -0
  8. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.e74c1d9b.js +2 -0
  9. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.f9d9018b.js +2 -0
  10. abstra_statics/dist/assets/ApiKeys.1d2b9051.js +2 -0
  11. abstra_statics/dist/assets/App.24328bec.js +2 -0
  12. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.13b52476.js +2 -0
  13. abstra_statics/dist/assets/BaseLayout.e2546be2.js +2 -0
  14. abstra_statics/dist/assets/{Billing.b9f77b65.js → Billing.ed96ff6d.js} +2 -2
  15. abstra_statics/dist/assets/{Breadcrumb.d0cc2c91.js → Breadcrumb.21c760be.js} +2 -2
  16. abstra_statics/dist/assets/{Builds.18e4ba1a.js → Builds.e0882931.js} +2 -2
  17. abstra_statics/dist/assets/{Card.957a87b2.js → Card.714646f7.js} +5 -5
  18. abstra_statics/dist/assets/{CircularLoading.3e4ddd6d.js → CircularLoading.5ac43298.js} +2 -2
  19. abstra_statics/dist/assets/CloseCircleOutlined.04918c3d.js +2 -0
  20. abstra_statics/dist/assets/ConnectorsView.78da900d.js +2 -0
  21. abstra_statics/dist/assets/{ConnectorsView.17764dde.css → ConnectorsView.aeb00ce8.css} +1 -1
  22. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.d7b17e09.js +2 -0
  23. abstra_statics/dist/assets/ContentLayout.3a69fd49.js +2 -0
  24. abstra_statics/dist/assets/{CrudView.8fb84eac.js → CrudView.77b58a5a.js} +2 -2
  25. abstra_statics/dist/assets/{DocsButton.vue_vue_type_script_setup_true_lang.0555d923.js → DocsButton.vue_vue_type_script_setup_true_lang.836e8f5e.js} +2 -2
  26. abstra_statics/dist/assets/{EditorLogin.02eb6050.js → EditorLogin.4d61e44f.js} +2 -2
  27. abstra_statics/dist/assets/{EditorsView.f0ea00fc.js → EditorsView.08a5cd3a.js} +2 -2
  28. abstra_statics/dist/assets/EnvVars.2f33a113.js +2 -0
  29. abstra_statics/dist/assets/{Error.a81122c4.js → Error.8a6cfa01.js} +2 -2
  30. abstra_statics/dist/assets/ExclamationCircleOutlined.93703670.js +2 -0
  31. abstra_statics/dist/assets/{Files.f23b9c53.js → Files.6d07f9be.js} +2 -2
  32. abstra_statics/dist/assets/Form.c1a08fa6.js +2 -0
  33. abstra_statics/dist/assets/{FormRunner.8bbe841e.js → FormRunner.a00b296a.js} +2 -2
  34. abstra_statics/dist/assets/Home.332f8b44.js +2 -0
  35. abstra_statics/dist/assets/Home.964d824d.js +2 -0
  36. abstra_statics/dist/assets/{Live.5dc821b6.js → Live.ee0e73dd.js} +2 -2
  37. abstra_statics/dist/assets/LoadingContainer.cbb8e068.js +2 -0
  38. abstra_statics/dist/assets/LoadingOutlined.644899c2.js +2 -0
  39. abstra_statics/dist/assets/{Login.c702642b.js → Login.0182140b.js} +2 -2
  40. abstra_statics/dist/assets/Login.ebf77147.js +2 -0
  41. abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.a92a80d0.js → Login.vue_vue_type_script_setup_true_lang.721bd893.js} +2 -2
  42. abstra_statics/dist/assets/Logo.c74119c7.js +2 -0
  43. abstra_statics/dist/assets/{Logs.eebc0504.js → Logs.7a458aba.js} +2 -2
  44. abstra_statics/dist/assets/{LogsController.eb1b811d.js → LogsController.e7ad74db.js} +2 -2
  45. abstra_statics/dist/assets/Main.a2c84f7b.js +2 -0
  46. abstra_statics/dist/assets/{MockForm.c3318be9.js → MockForm.50f237ad.js} +2 -2
  47. abstra_statics/dist/assets/Navbar.0cf9e650.js +2 -0
  48. abstra_statics/dist/assets/NewEditor.4519d8ac.js +8 -0
  49. abstra_statics/dist/assets/OidcLoginCallback.073de6bd.js +2 -0
  50. abstra_statics/dist/assets/OidcLogoutCallback.e474320b.js +2 -0
  51. abstra_statics/dist/assets/{OmniChat.de828c54.js → OmniChat.1a6ad90c.js} +4 -4
  52. abstra_statics/dist/assets/{OnboardingView.1c034f0d.js → OnboardingView.c4e859f1.js} +2 -2
  53. abstra_statics/dist/assets/{Organization.855f95a9.js → Organization.432776d6.js} +2 -2
  54. abstra_statics/dist/assets/{Organizations.3db82ab2.js → Organizations.cd6f9f61.js} +2 -2
  55. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.76c9e146.js → PhArrowCounterClockwise.vue.72ed46a0.js} +2 -2
  56. abstra_statics/dist/assets/{PhArrowSquareOut.vue.ecfa9cb2.js → PhArrowSquareOut.vue.ddb450f1.js} +2 -2
  57. abstra_statics/dist/assets/{PhBookBookmark.vue.f8f803d9.js → PhBookBookmark.vue.4a6ba053.js} +2 -2
  58. abstra_statics/dist/assets/{PhChats.vue.dfda946c.js → PhChats.vue.870bbba9.js} +2 -2
  59. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.cd77fd26.js → PhClockCounterClockwise.vue.123f0e9b.js} +2 -2
  60. abstra_statics/dist/assets/{PhCopy.vue.a63b48dd.js → PhCopy.vue.70df4792.js} +2 -2
  61. abstra_statics/dist/assets/{PhCopySimple.vue.ecffb042.js → PhCopySimple.vue.f5246c24.js} +2 -2
  62. abstra_statics/dist/assets/{PhCube.vue.b5b96a33.js → PhCube.vue.8900248a.js} +2 -2
  63. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.2db678ef.js → PhDotsThreeVertical.vue.14516e2e.js} +2 -2
  64. abstra_statics/dist/assets/PhDownloadSimple.vue.f8dc6a01.js +2 -0
  65. abstra_statics/dist/assets/{PhFolderPlus.vue.dfb9b117.js → PhFolderPlus.vue.65855487.js} +2 -2
  66. abstra_statics/dist/assets/{PhGear.vue.6e1aeed0.js → PhGear.vue.172823d3.js} +2 -2
  67. abstra_statics/dist/assets/{PhKey.vue.50d82bb5.js → PhKey.vue.9d78ceda.js} +2 -2
  68. abstra_statics/dist/assets/{PhPencil.vue.ae2943da.js → PhPencil.vue.f326c6d0.js} +2 -2
  69. abstra_statics/dist/assets/{PhPencilSimple.vue.9042e169.js → PhPencilSimple.vue.31afd9b3.js} +2 -2
  70. abstra_statics/dist/assets/{PhPencilSimpleLine.vue.f840cf0d.js → PhPencilSimpleLine.vue.394969fe.js} +2 -2
  71. abstra_statics/dist/assets/{PhRocket.vue.3b5927aa.js → PhRocket.vue.b69be43b.js} +2 -2
  72. abstra_statics/dist/assets/{PhSignOut.vue.d00d3657.js → PhSignOut.vue.6be07f90.js} +2 -2
  73. abstra_statics/dist/assets/{PhSparkle.vue.8a94f3a0.js → PhSparkle.vue.ca8d1014.js} +2 -2
  74. abstra_statics/dist/assets/{PhUserList.vue.3791cb59.js → PhUserList.vue.43e7a38a.js} +2 -2
  75. abstra_statics/dist/assets/{PhUsersThree.vue.ef0376b6.js → PhUsersThree.vue.fb26521a.js} +2 -2
  76. abstra_statics/dist/assets/{PhWebhooksLogo.vue.fe81fb65.js → PhWebhooksLogo.vue.ea667ed2.js} +2 -2
  77. abstra_statics/dist/assets/{PlayerConfigProvider.2acd3a77.js → PlayerConfigProvider.5aec8c16.js} +2 -2
  78. abstra_statics/dist/assets/{PlayerNavbar.13876ce7.js → PlayerNavbar.21883569.js} +2 -2
  79. abstra_statics/dist/assets/{Project.0277535f.js → Project.a987ec46.js} +2 -2
  80. abstra_statics/dist/assets/ProjectLogin.583ce83f.js +2 -0
  81. abstra_statics/dist/assets/{ProjectSettings.652a838b.js → ProjectSettings.b949f40f.js} +2 -2
  82. abstra_statics/dist/assets/{ProjectsView.c5ec993b.js → ProjectsView.7de28b8a.js} +2 -2
  83. abstra_statics/dist/assets/{SaveButton.ac38b361.js → SaveButton.f6870993.js} +2 -2
  84. abstra_statics/dist/assets/{ScrollArea.vue_vue_type_script_setup_true_lang.a58564d3.js → ScrollArea.vue_vue_type_script_setup_true_lang.21ea9f38.js} +2 -2
  85. abstra_statics/dist/assets/{Sidebar.56e51ab5.js → Sidebar.1250b960.js} +2 -2
  86. abstra_statics/dist/assets/Sql.a8abfb57.js +5 -0
  87. abstra_statics/dist/assets/Steps.2f177a1f.js +2 -0
  88. abstra_statics/dist/assets/{TableEditor.df6a4852.js → TableEditor.25046840.js} +2 -2
  89. abstra_statics/dist/assets/Tables.f0ea43f5.js +2 -0
  90. abstra_statics/dist/assets/{TablesDiagram.811d464d.js → TablesDiagram.eb43ee41.js} +2 -2
  91. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.a35b4471.js +2 -0
  92. abstra_statics/dist/assets/Tasks.5fde94ea.js +2 -0
  93. abstra_statics/dist/assets/{UploadOutlined.b601a592.js → UploadOutlined.3828d031.js} +2 -2
  94. abstra_statics/dist/assets/{View.7a2ccc33.js → View.f0be1038.js} +2 -2
  95. abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.bddece9c.js +2 -0
  96. abstra_statics/dist/assets/{Watermark.40c8c47e.js → Watermark.1655dad8.js} +2 -2
  97. abstra_statics/dist/assets/{WebEditor.82a3accf.js → WebEditor.f6ba39c6.js} +2 -2
  98. abstra_statics/dist/assets/WidgetPreview.70e3ecb3.js +2 -0
  99. abstra_statics/dist/assets/ant-design.1cc60cde.js +2 -0
  100. abstra_statics/dist/assets/{apiKey.95126643.js → apiKey.49b8decf.js} +2 -2
  101. abstra_statics/dist/assets/asyncComputed.92146382.js +2 -0
  102. abstra_statics/dist/assets/{build.997fec15.js → build.261de82e.js} +2 -2
  103. abstra_statics/dist/assets/colorHelpers.59e5ee56.js +2 -0
  104. abstra_statics/dist/assets/{console.54ab975c.js → console.0548c6a0.js} +4 -4
  105. abstra_statics/dist/assets/constants.f352d89b.js +2 -0
  106. abstra_statics/dist/assets/contracts.generated.ac0bb8ea.js +2 -0
  107. abstra_statics/dist/assets/{cssMode.c1aa21d7.js → cssMode.c55f29d9.js} +2 -2
  108. abstra_statics/dist/assets/datetime.780c5d6b.js +2 -0
  109. abstra_statics/dist/assets/{dayjs.a6bd0ee0.js → dayjs.b139fc88.js} +2 -2
  110. abstra_statics/dist/assets/editor.f7e5ca32.js +2 -0
  111. abstra_statics/dist/assets/editor.main.eea24677.js +2 -0
  112. abstra_statics/dist/assets/fetch.e3c8dd68.js +2 -0
  113. abstra_statics/dist/assets/{folder.41d37eb7.js → folder.934b13ce.js} +2 -2
  114. abstra_statics/dist/assets/{freemarker2.40778f3f.js → freemarker2.72aea997.js} +2 -2
  115. abstra_statics/dist/assets/{handlebars.92d4ff2a.js → handlebars.607ed329.js} +2 -2
  116. abstra_statics/dist/assets/{html.b3c0c53a.js → html.1cebc021.js} +3 -3
  117. abstra_statics/dist/assets/{htmlMode.1212da49.js → htmlMode.b3ab207b.js} +2 -2
  118. abstra_statics/dist/assets/{index.9e0166fe.js → index.2efe5ae2.js} +2 -2
  119. abstra_statics/dist/assets/{index.37c46161.js → index.424d5056.js} +2 -2
  120. abstra_statics/dist/assets/{index.a7b8e25e.js → index.61710ff9.js} +2 -2
  121. abstra_statics/dist/assets/{index.d181a22c.js → index.8ea8b90b.js} +2 -2
  122. abstra_statics/dist/assets/{index.3ff1c0be.js → index.a5ddebc4.js} +3 -3
  123. abstra_statics/dist/assets/{index.36d8b30a.js → index.cef986ac.js} +3 -3
  124. abstra_statics/dist/assets/{index.3e7471f4.js → index.d73f307c.js} +2 -2
  125. abstra_statics/dist/assets/{index.5e22e010.js → index.ded0f9ab.js} +2 -2
  126. abstra_statics/dist/assets/index.e189c6ed.js +2 -0
  127. abstra_statics/dist/assets/{javascript.f9710043.js → javascript.595850d9.js} +2 -2
  128. abstra_statics/dist/assets/{jsonMode.16d00c0d.js → jsonMode.e3ed1113.js} +2 -2
  129. abstra_statics/dist/assets/{jwt-decode.esm.992666e9.js → jwt-decode.esm.1b301f74.js} +8 -8
  130. abstra_statics/dist/assets/linters.0018d44c.js +2 -0
  131. abstra_statics/dist/assets/{liquid.9a777e1a.js → liquid.3ef83be8.js} +3 -3
  132. abstra_statics/dist/assets/member.3c3a769a.js +2 -0
  133. abstra_statics/dist/assets/{metadata.cfad5458.js → metadata.e6e62729.js} +2 -2
  134. abstra_statics/dist/assets/{omniChatStore.2b85c342.js → omniChatStore.8902e4de.js} +2 -2
  135. abstra_statics/dist/assets/{organization.53636095.js → organization.c92a9190.js} +2 -2
  136. abstra_statics/dist/assets/player.82dc9e2f.js +2 -0
  137. abstra_statics/dist/assets/{plotly.min.9b8bef5c.js → plotly.min.ac699f04.js} +2 -2
  138. abstra_statics/dist/assets/polling.a3bae209.js +2 -0
  139. abstra_statics/dist/assets/{project.76f0af14.js → project.48a235c1.js} +2 -2
  140. abstra_statics/dist/assets/{python.ae8270c8.js → python.b69cfb2a.js} +3 -3
  141. abstra_statics/dist/assets/{razor.4f24e19e.js → razor.0f42fef9.js} +3 -3
  142. abstra_statics/dist/assets/{record.87ef3b68.js → record.b96b0275.js} +2 -2
  143. abstra_statics/dist/assets/redirect.ebab71ed.js +2 -0
  144. abstra_statics/dist/assets/repository.4920fb3b.js +2 -0
  145. abstra_statics/dist/assets/{repository.af418855.js → repository.c0dc4e22.js} +2 -2
  146. abstra_statics/dist/assets/router.8882099a.js +2 -0
  147. abstra_statics/dist/assets/{router.1324a1a9.js → router.99a53337.js} +3 -3
  148. abstra_statics/dist/assets/string.4796d44a.js +2 -0
  149. abstra_statics/dist/assets/{tables.c26107a1.js → tables.13d62f0c.js} +2 -2
  150. abstra_statics/dist/assets/tasksController.3255c760.js +4 -0
  151. abstra_statics/dist/assets/{toggleHighContrast.fc60753d.js → toggleHighContrast.cb5e834a.js} +49 -49
  152. abstra_statics/dist/assets/{tsMode.a4b9b524.js → tsMode.95528ab9.js} +2 -2
  153. abstra_statics/dist/assets/{typescript.ab90fd1d.js → typescript.b90bd43d.js} +3 -3
  154. abstra_statics/dist/assets/url.84e62ca8.js +2 -0
  155. abstra_statics/dist/assets/useCodebaseEvents.c47ad36d.js +2 -0
  156. abstra_statics/dist/assets/userStore.843da693.js +2 -0
  157. abstra_statics/dist/assets/uuid.58d26ff2.js +2 -0
  158. abstra_statics/dist/assets/{vue-flow-background.8e4c22c3.js → vue-flow-background.6b5566a8.js} +2 -2
  159. abstra_statics/dist/assets/{vue-quill.esm-bundler.64c5837f.js → vue-quill.esm-bundler.3c4b0230.js} +2 -2
  160. abstra_statics/dist/assets/{workspaceStore.4f0c433f.js → workspaceStore.6a20c00d.js} +2 -2
  161. abstra_statics/dist/assets/{xml.3541c340.js → xml.070d3630.js} +3 -3
  162. abstra_statics/dist/assets/{yaml.314312d8.js → yaml.2a862691.js} +3 -3
  163. abstra_statics/dist/console.html +15 -15
  164. abstra_statics/dist/editor.html +13 -11
  165. abstra_statics/dist/player.html +9 -9
  166. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.205eb76e.js +0 -2
  167. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.32a17b0c.js +0 -2
  168. abstra_statics/dist/assets/ApiKeys.7fefafb4.js +0 -2
  169. abstra_statics/dist/assets/App.c29df54f.js +0 -2
  170. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.efd9d3fa.js +0 -2
  171. abstra_statics/dist/assets/BaseLayout.b60c33b8.js +0 -2
  172. abstra_statics/dist/assets/CloseCircleOutlined.4e05b917.js +0 -2
  173. abstra_statics/dist/assets/ConnectorsView.562a5007.js +0 -2
  174. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.1d09cfdd.js +0 -2
  175. abstra_statics/dist/assets/ContentLayout.7d5c9f09.js +0 -2
  176. abstra_statics/dist/assets/EnvVars.063644bb.js +0 -2
  177. abstra_statics/dist/assets/ExclamationCircleOutlined.d410fb9a.js +0 -2
  178. abstra_statics/dist/assets/Form.bfea5673.js +0 -2
  179. abstra_statics/dist/assets/Home.3bf2f131.js +0 -2
  180. abstra_statics/dist/assets/Home.42964d5b.js +0 -2
  181. abstra_statics/dist/assets/LoadingContainer.6e72d482.js +0 -2
  182. abstra_statics/dist/assets/LoadingOutlined.ee72932a.js +0 -2
  183. abstra_statics/dist/assets/Login.0b618d09.js +0 -2
  184. abstra_statics/dist/assets/Logo.83b476a4.js +0 -2
  185. abstra_statics/dist/assets/Main.88719eb3.js +0 -2
  186. abstra_statics/dist/assets/Navbar.abf206e9.js +0 -2
  187. abstra_statics/dist/assets/NewEditor.5650f697.js +0 -8
  188. abstra_statics/dist/assets/OidcLoginCallback.df2bdeb0.js +0 -2
  189. abstra_statics/dist/assets/OidcLogoutCallback.2ba5316d.js +0 -2
  190. abstra_statics/dist/assets/PhDownloadSimple.vue.cbca4f9b.js +0 -2
  191. abstra_statics/dist/assets/ProjectLogin.46d5036b.js +0 -2
  192. abstra_statics/dist/assets/Sql.6961306b.js +0 -5
  193. abstra_statics/dist/assets/Steps.f820fb18.js +0 -2
  194. abstra_statics/dist/assets/Tables.198b84c5.js +0 -2
  195. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.e6074880.js +0 -2
  196. abstra_statics/dist/assets/Tasks.df69d20e.js +0 -2
  197. abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.424410a2.js +0 -2
  198. abstra_statics/dist/assets/WidgetPreview.0f938200.js +0 -2
  199. abstra_statics/dist/assets/ant-design.544de4a0.js +0 -2
  200. abstra_statics/dist/assets/asyncComputed.1b787534.js +0 -2
  201. abstra_statics/dist/assets/colorHelpers.d4f3f275.js +0 -2
  202. abstra_statics/dist/assets/constants.36bf7d70.js +0 -2
  203. abstra_statics/dist/assets/datetime.adc0acc4.js +0 -2
  204. abstra_statics/dist/assets/editor.0ce52658.js +0 -2
  205. abstra_statics/dist/assets/editor.main.353e9a8f.js +0 -2
  206. abstra_statics/dist/assets/fetch.83d89bdc.js +0 -2
  207. abstra_statics/dist/assets/index.3d2a7b6d.js +0 -2
  208. abstra_statics/dist/assets/linters.3c5f0c83.js +0 -2
  209. abstra_statics/dist/assets/member.6b2b3438.js +0 -2
  210. abstra_statics/dist/assets/player.5b7eaa25.js +0 -2
  211. abstra_statics/dist/assets/polling.88a266b3.js +0 -2
  212. abstra_statics/dist/assets/redirect.2fa4f8cf.js +0 -2
  213. abstra_statics/dist/assets/repository.9d5310b6.js +0 -2
  214. abstra_statics/dist/assets/router.55c0ff56.js +0 -2
  215. abstra_statics/dist/assets/string.f6a7565f.js +0 -2
  216. abstra_statics/dist/assets/tasksController.22584849.js +0 -4
  217. abstra_statics/dist/assets/url.f490879d.js +0 -2
  218. abstra_statics/dist/assets/userStore.9e7a540a.js +0 -2
  219. abstra_statics/dist/assets/uuid.9161765c.js +0 -2
  220. {abstra-3.23.8.dist-info → abstra-3.23.9.dist-info}/WHEEL +0 -0
  221. {abstra-3.23.8.dist-info → abstra-3.23.9.dist-info}/entry_points.txt +0 -0
  222. {abstra-3.23.8.dist-info → abstra-3.23.9.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
- import{dL as ut,dM as Tt,dN as Gt,dO as Kt,dP as Xt,dQ as jt,dR as Ft,dS as qt,N as q,aq as Je,a8 as Ae,d as k,r as ne,c as H,f as s,b7 as ae,ah as W,aK as We,X as r,ck as O,k as Ne,w as me,bB as Vt,dT as Yt,bx as Ut,bw as Zt,dU as Qt,av as re,aN as ee,a4 as Jt,am as ea,c1 as ta,bE as aa,ak as vt,aj as D,as as Le,dV as Re,aF as na,aP as oa,dW as pt,ab as et,ac as tt,an as at,ao as nt,dX as _t,ap as Me,aD as Pt,ai as ot,aL as ke,b6 as ia,aM as la,aA as ra,bY as sa,au as da,c8 as ze,ag as ye,b4 as ca,aW as bt,a$ as ua,dY as Ge,aT as va,dZ as Ee,a7 as pa,d_ as ft,dm as ba,d$ as fa}from"./jwt-decode.esm.992666e9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="95da5d68-e90d-4134-adea-8aa966e254d9",e._sentryDebugIdIdentifier="sentry-dbid-95da5d68-e90d-4134-adea-8aa966e254d9")}catch{}})();function ga(e,t,a,n){if(!ut(e))return e;t=Tt(t,e);for(var o=-1,l=t.length,i=l-1,c=e;c!=null&&++o<l;){var h=Gt(t[o]),f=a;if(h==="__proto__"||h==="constructor"||h==="prototype")return e;if(o!=i){var g=c[h];f=n?n(g,h,c):void 0,f===void 0&&(f=ut(g)?g:Kt(t[o+1])?[]:{})}Xt(c,h,f),c=c[h]}return e}function ha(e,t,a){for(var n=-1,o=t.length,l={};++n<o;){var i=t[n],c=jt(e,i);a(c,i)&&ga(l,Tt(i,e),c)}return l}function $a(e,t){return ha(e,t,function(a,n){return Ft(e,n)})}var ma=qt(function(e,t){return e==null?{}:$a(e,t)});const Bt=ma;function ya(e){const t=q(),a=q(!1);function n(){for(var o=arguments.length,l=new Array(o),i=0;i<o;i++)l[i]=arguments[i];a.value||(Ae.cancel(t.value),t.value=Ae(()=>{e(...l)}))}return Je(()=>{a.value=!0,Ae.cancel(t.value)}),n}function Sa(e){const t=q([]),a=q(typeof e=="function"?e():e),n=ya(()=>{let l=a.value;t.value.forEach(i=>{l=i(l)}),t.value=[],a.value=l});function o(l){t.value.push(l),n()}return[a,o]}const xa=k({compatConfig:{MODE:3},name:"TabNode",props:{id:{type:String},prefixCls:{type:String},tab:{type:Object},active:{type:Boolean},closable:{type:Boolean},editable:{type:Object},onClick:{type:Function},onResize:{type:Function},renderWrapper:{type:Function},removeAriaLabel:{type:String},onFocus:{type:Function}},emits:["click","resize","remove","focus"],setup(e,t){let{expose:a,attrs:n}=t;const o=ne();function l(h){var f;!((f=e.tab)===null||f===void 0)&&f.disabled||e.onClick(h)}a({domRef:o});function i(h){var f;h.preventDefault(),h.stopPropagation(),e.editable.onEdit("remove",{key:(f=e.tab)===null||f===void 0?void 0:f.key,event:h})}const c=H(()=>{var h;return e.editable&&e.closable!==!1&&!(!((h=e.tab)===null||h===void 0)&&h.disabled)});return()=>{var h;const{prefixCls:f,id:g,active:x,tab:{key:b,tab:d,disabled:u,closeIcon:$},renderWrapper:C,removeAriaLabel:S,editable:E,onFocus:L}=e,M=`${f}-tab`,p=s("div",{key:b,ref:o,class:W(M,{[`${M}-with-remove`]:c.value,[`${M}-active`]:x,[`${M}-disabled`]:u}),style:n.style,onClick:l},[s("div",{role:"tab","aria-selected":x,id:g&&`${g}-tab-${b}`,class:`${M}-btn`,"aria-controls":g&&`${g}-panel-${b}`,"aria-disabled":u,tabindex:u?null:0,onClick:y=>{y.stopPropagation(),l(y)},onKeydown:y=>{[ae.SPACE,ae.ENTER].includes(y.which)&&(y.preventDefault(),l(y))},onFocus:L},[typeof d=="function"?d():d]),c.value&&s("button",{type:"button","aria-label":S||"remove",tabindex:0,class:`${M}-remove`,onClick:y=>{y.stopPropagation(),i(y)}},[($==null?void 0:$())||((h=E.removeIcon)===null||h===void 0?void 0:h.call(E))||"\xD7"])]);return C?C(p):p}}}),gt={width:0,height:0,left:0,top:0};function Ca(e,t){const a=ne(new Map);return We(()=>{var n,o;const l=new Map,i=e.value,c=t.value.get((n=i[0])===null||n===void 0?void 0:n.key)||gt,h=c.left+c.width;for(let f=0;f<i.length;f+=1){const{key:g}=i[f];let x=t.value.get(g);x||(x=t.value.get((o=i[f-1])===null||o===void 0?void 0:o.key)||gt);const b=l.get(g)||r({},x);b.right=h-b.left-b.width,l.set(g,b)}a.value=new Map(l)}),a}const It=k({compatConfig:{MODE:3},name:"AddButton",inheritAttrs:!1,props:{prefixCls:String,editable:{type:Object},locale:{type:Object,default:void 0}},setup(e,t){let{expose:a,attrs:n}=t;const o=ne();return a({domRef:o}),()=>{const{prefixCls:l,editable:i,locale:c}=e;return!i||i.showAdd===!1?null:s("button",{ref:o,type:"button",class:`${l}-nav-add`,style:n.style,"aria-label":(c==null?void 0:c.addAriaLabel)||"Add tab",onClick:h=>{i.onEdit("add",{event:h})}},[i.addIcon?i.addIcon():"+"])}}}),wa={prefixCls:{type:String},id:{type:String},tabs:{type:Object},rtl:{type:Boolean},tabBarGutter:{type:Number},activeKey:{type:[String,Number]},mobile:{type:Boolean},moreIcon:re.any,moreTransitionName:{type:String},editable:{type:Object},locale:{type:Object,default:void 0},removeAriaLabel:String,onTabClick:{type:Function},popupClassName:String,getPopupContainer:ee()},Ta=k({compatConfig:{MODE:3},name:"OperationNode",inheritAttrs:!1,props:wa,emits:["tabClick"],slots:Object,setup(e,t){let{attrs:a,slots:n}=t;const[o,l]=O(!1),[i,c]=O(null),h=d=>{const u=e.tabs.filter(S=>!S.disabled);let $=u.findIndex(S=>S.key===i.value)||0;const C=u.length;for(let S=0;S<C;S+=1){$=($+d+C)%C;const E=u[$];if(!E.disabled){c(E.key);return}}},f=d=>{const{which:u}=d;if(!o.value){[ae.DOWN,ae.SPACE,ae.ENTER].includes(u)&&(l(!0),d.preventDefault());return}switch(u){case ae.UP:h(-1),d.preventDefault();break;case ae.DOWN:h(1),d.preventDefault();break;case ae.ESC:l(!1);break;case ae.SPACE:case ae.ENTER:i.value!==null&&e.onTabClick(i.value,d);break}},g=H(()=>`${e.id}-more-popup`),x=H(()=>i.value!==null?`${g.value}-${i.value}`:null),b=(d,u)=>{d.preventDefault(),d.stopPropagation(),e.editable.onEdit("remove",{key:u,event:d})};return Ne(()=>{me(i,()=>{const d=document.getElementById(x.value);d&&d.scrollIntoView&&d.scrollIntoView(!1)},{flush:"post",immediate:!0})}),me(o,()=>{o.value||c(null)}),Vt({}),()=>{var d;const{prefixCls:u,id:$,tabs:C,locale:S,mobile:E,moreIcon:L=((d=n.moreIcon)===null||d===void 0?void 0:d.call(n))||s(Yt,null,null),moreTransitionName:M,editable:p,tabBarGutter:y,rtl:v,onTabClick:_,popupClassName:R}=e;if(!C.length)return null;const I=`${u}-dropdown`,N=S==null?void 0:S.dropdownAriaLabel,Q={[v?"marginRight":"marginLeft"]:y};C.length||(Q.visibility="hidden",Q.order=1);const te=W({[`${I}-rtl`]:v,[`${R}`]:!0}),oe=E?null:s(Qt,{prefixCls:I,trigger:["hover"],visible:o.value,transitionName:M,onVisibleChange:l,overlayClassName:te,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:e.getPopupContainer},{overlay:()=>s(Ut,{onClick:P=>{let{key:G,domEvent:w}=P;_(G,w),l(!1)},id:g.value,tabindex:-1,role:"listbox","aria-activedescendant":x.value,selectedKeys:[i.value],"aria-label":N!==void 0?N:"expanded dropdown"},{default:()=>[C.map(P=>{var G,w;const Y=p&&P.closable!==!1&&!P.disabled;return s(Zt,{key:P.key,id:`${g.value}-${P.key}`,role:"option","aria-controls":$&&`${$}-panel-${P.key}`,disabled:P.disabled},{default:()=>[s("span",null,[typeof P.tab=="function"?P.tab():P.tab]),Y&&s("button",{type:"button","aria-label":e.removeAriaLabel||"remove",tabindex:0,class:`${I}-menu-item-remove`,onClick:U=>{U.stopPropagation(),b(U,P.key)}},[((G=P.closeIcon)===null||G===void 0?void 0:G.call(P))||((w=p.removeIcon)===null||w===void 0?void 0:w.call(p))||"\xD7"])]})})]}),default:()=>s("button",{type:"button",class:`${u}-nav-more`,style:Q,tabindex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":g.value,id:`${$}-more`,"aria-expanded":o.value,onKeydown:f},[L])});return s("div",{class:W(`${u}-nav-operations`,a.class),style:a.style},[oe,s(It,{prefixCls:u,locale:S,editable:p},null)])}}}),Rt=Symbol("tabsContextKey"),Et=e=>{Jt(Rt,e)},At=()=>ea(Rt,{tabs:ne([]),prefixCls:ne()});k({compatConfig:{MODE:3},name:"TabsContextProvider",inheritAttrs:!1,props:{tabs:{type:Object,default:void 0},prefixCls:{type:String,default:void 0}},setup(e,t){let{slots:a}=t;return Et(ta(e)),()=>{var n;return(n=a.default)===null||n===void 0?void 0:n.call(a)}}});const _a=.1,ht=.01,Oe=20,$t=Math.pow(.995,Oe);function Pa(e,t){const[a,n]=O(),[o,l]=O(0),[i,c]=O(0),[h,f]=O(),g=ne();function x(p){const{screenX:y,screenY:v}=p.touches[0];n({x:y,y:v}),clearInterval(g.value)}function b(p){if(!a.value)return;p.preventDefault();const{screenX:y,screenY:v}=p.touches[0],_=y-a.value.x,R=v-a.value.y;t(_,R),n({x:y,y:v});const I=Date.now();c(I-o.value),l(I),f({x:_,y:R})}function d(){if(!a.value)return;const p=h.value;if(n(null),f(null),p){const y=p.x/i.value,v=p.y/i.value,_=Math.abs(y),R=Math.abs(v);if(Math.max(_,R)<_a)return;let I=y,N=v;g.value=setInterval(()=>{if(Math.abs(I)<ht&&Math.abs(N)<ht){clearInterval(g.value);return}I*=$t,N*=$t,t(I*Oe,N*Oe)},Oe)}}const u=ne();function $(p){const{deltaX:y,deltaY:v}=p;let _=0;const R=Math.abs(y),I=Math.abs(v);R===I?_=u.value==="x"?y:v:R>I?(_=y,u.value="x"):(_=v,u.value="y"),t(-_,-_)&&p.preventDefault()}const C=ne({onTouchStart:x,onTouchMove:b,onTouchEnd:d,onWheel:$});function S(p){C.value.onTouchStart(p)}function E(p){C.value.onTouchMove(p)}function L(p){C.value.onTouchEnd(p)}function M(p){C.value.onWheel(p)}Ne(()=>{var p,y;document.addEventListener("touchmove",E,{passive:!1}),document.addEventListener("touchend",L,{passive:!1}),(p=e.value)===null||p===void 0||p.addEventListener("touchstart",S,{passive:!1}),(y=e.value)===null||y===void 0||y.addEventListener("wheel",M,{passive:!1})}),Je(()=>{document.removeEventListener("touchmove",E),document.removeEventListener("touchend",L)})}function mt(e,t){const a=ne(e);function n(o){const l=typeof o=="function"?o(a.value):o;l!==a.value&&t(l,a.value),a.value=l}return[a,n]}const yt={width:0,height:0,left:0,top:0,right:0},Ba=()=>({id:{type:String},tabPosition:{type:String},activeKey:{type:[String,Number]},rtl:{type:Boolean},animated:Le(),editable:Le(),moreIcon:re.any,moreTransitionName:{type:String},mobile:{type:Boolean},tabBarGutter:{type:Number},renderTabBar:{type:Function},locale:Le(),popupClassName:String,getPopupContainer:ee(),onTabClick:{type:Function},onTabScroll:{type:Function}}),St=k({compatConfig:{MODE:3},name:"TabNavList",inheritAttrs:!1,props:Ba(),slots:Object,emits:["tabClick","tabScroll"],setup(e,t){let{attrs:a,slots:n}=t;const{tabs:o,prefixCls:l}=At(),i=q(),c=q(),h=q(),f=q(),[g,x]=aa(),b=H(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[d,u]=mt(0,(T,m)=>{b.value&&e.onTabScroll&&e.onTabScroll({direction:T>m?"left":"right"})}),[$,C]=mt(0,(T,m)=>{!b.value&&e.onTabScroll&&e.onTabScroll({direction:T>m?"top":"bottom"})}),[S,E]=O(0),[L,M]=O(0),[p,y]=O(null),[v,_]=O(null),[R,I]=O(0),[N,Q]=O(0),[te,oe]=Sa(new Map),P=Ca(o,te),G=H(()=>`${l.value}-nav-operations-hidden`),w=q(0),Y=q(0);We(()=>{b.value?e.rtl?(w.value=0,Y.value=Math.max(0,S.value-p.value)):(w.value=Math.min(0,p.value-S.value),Y.value=0):(w.value=Math.min(0,v.value-L.value),Y.value=0)});const U=T=>T<w.value?w.value:T>Y.value?Y.value:T,se=q(),[K,de]=O(),ce=()=>{de(Date.now())},he=()=>{clearTimeout(se.value)},Se=(T,m)=>{T(B=>U(B+m))};Pa(i,(T,m)=>{if(b.value){if(p.value>=S.value)return!1;Se(u,T)}else{if(v.value>=L.value)return!1;Se(C,m)}return he(),ce(),!0}),me(K,()=>{he(),K.value&&(se.value=setTimeout(()=>{de(0)},100))});const ue=function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const m=P.value.get(T)||{width:0,height:0,left:0,right:0,top:0};if(b.value){let B=d.value;e.rtl?m.right<d.value?B=m.right:m.right+m.width>d.value+p.value&&(B=m.right+m.width-p.value):m.left<-d.value?B=-m.left:m.left+m.width>-d.value+p.value&&(B=-(m.left+m.width-p.value)),C(0),u(U(B))}else{let B=$.value;m.top<-$.value?B=-m.top:m.top+m.height>-$.value+v.value&&(B=-(m.top+m.height-v.value)),u(0),C(U(B))}},ie=q(0),xe=q(0);We(()=>{let T,m,B,A,j,F;const $e=P.value;["top","bottom"].includes(e.tabPosition)?(T="width",A=p.value,j=S.value,F=R.value,m=e.rtl?"right":"left",B=Math.abs(d.value)):(T="height",A=v.value,j=S.value,F=N.value,m="top",B=-$.value);let Z=A;j+F>A&&j<A&&(Z=A-F);const le=o.value;if(!le.length)return[ie.value,xe.value]=[0,0];const be=le.length;let Ce=be;for(let X=0;X<be;X+=1){const J=$e.get(le[X].key)||yt;if(J[m]+J[T]>B+Z){Ce=X-1;break}}let z=0;for(let X=be-1;X>=0;X-=1)if(($e.get(le[X].key)||yt)[m]<B){z=X+1;break}return[ie.value,xe.value]=[z,Ce]});const ve=()=>{var T,m,B,A,j;const F=((T=i.value)===null||T===void 0?void 0:T.offsetWidth)||0,$e=((m=i.value)===null||m===void 0?void 0:m.offsetHeight)||0,Z=((B=f.value)===null||B===void 0?void 0:B.$el)||{},le=Z.offsetWidth||0,be=Z.offsetHeight||0;y(F),_($e),I(le),Q(be);const Ce=(((A=c.value)===null||A===void 0?void 0:A.offsetWidth)||0)-le,z=(((j=c.value)===null||j===void 0?void 0:j.offsetHeight)||0)-be;E(Ce),M(z),oe(()=>{const X=new Map;return o.value.forEach(J=>{let{key:we}=J;const fe=x.value.get(we),ge=(fe==null?void 0:fe.$el)||fe;ge&&X.set(we,{width:ge.offsetWidth,height:ge.offsetHeight,left:ge.offsetLeft,top:ge.offsetTop})}),X})},Pe=H(()=>[...o.value.slice(0,ie.value),...o.value.slice(xe.value+1)]),[Be,Ot]=O(),pe=H(()=>P.value.get(e.activeKey)),rt=q(),st=()=>{Ae.cancel(rt.value)};me([pe,b,()=>e.rtl],()=>{const T={};pe.value&&(b.value?(e.rtl?T.right=Re(pe.value.right):T.left=Re(pe.value.left),T.width=Re(pe.value.width)):(T.top=Re(pe.value.top),T.height=Re(pe.value.height))),st(),rt.value=Ae(()=>{Ot(T)})}),me([()=>e.activeKey,pe,P,b],()=>{ue()},{flush:"post"}),me([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>o.value],()=>{ve()},{flush:"post"});const Fe=T=>{let{position:m,prefixCls:B,extra:A}=T;if(!A)return null;const j=A==null?void 0:A({position:m});return j?s("div",{class:`${B}-extra-content`},[j]):null};return Je(()=>{he(),st()}),()=>{const{id:T,animated:m,activeKey:B,rtl:A,editable:j,locale:F,tabPosition:$e,tabBarGutter:Z,onTabClick:le}=e,{class:be,style:Ce}=a,z=l.value,X=!!Pe.value.length,J=`${z}-nav-wrap`;let we,fe,ge,dt;b.value?A?(fe=d.value>0,we=d.value+p.value<S.value):(we=d.value<0,fe=-d.value+p.value<S.value):(ge=$.value<0,dt=-$.value+v.value<L.value);const De={};$e==="top"||$e==="bottom"?De[A?"marginRight":"marginLeft"]=typeof Z=="number"?`${Z}px`:Z:De.marginTop=typeof Z=="number"?`${Z}px`:Z;const ct=o.value.map((qe,Wt)=>{const{key:Ie}=qe;return s(xa,{id:T,prefixCls:z,key:Ie,tab:qe,style:Wt===0?void 0:De,closable:qe.closable,editable:j,active:Ie===B,removeAriaLabel:F==null?void 0:F.removeAriaLabel,ref:g(Ie),onClick:Nt=>{le(Ie,Nt)},onFocus:()=>{ue(Ie),ce(),i.value&&(A||(i.value.scrollLeft=0),i.value.scrollTop=0)}},n)});return s("div",{role:"tablist",class:W(`${z}-nav`,be),style:Ce,onKeydown:()=>{ce()}},[s(Fe,{position:"left",prefixCls:z,extra:n.leftExtra},null),s(vt,{onResize:ve},{default:()=>[s("div",{class:W(J,{[`${J}-ping-left`]:we,[`${J}-ping-right`]:fe,[`${J}-ping-top`]:ge,[`${J}-ping-bottom`]:dt}),ref:i},[s(vt,{onResize:ve},{default:()=>[s("div",{ref:c,class:`${z}-nav-list`,style:{transform:`translate(${d.value}px, ${$.value}px)`,transition:K.value?"none":void 0}},[ct,s(It,{ref:f,prefixCls:z,locale:F,editable:j,style:r(r({},ct.length===0?void 0:De),{visibility:X?"hidden":null})},null),s("div",{class:W(`${z}-ink-bar`,{[`${z}-ink-bar-animated`]:m.inkBar}),style:Be.value},null)])]})])]}),s(Ta,D(D({},e),{},{removeAriaLabel:F==null?void 0:F.removeAriaLabel,ref:h,prefixCls:z,tabs:Pe.value,class:!X&&G.value}),Bt(n,["moreIcon"])),s(Fe,{position:"right",prefixCls:z,extra:n.rightExtra},null),s(Fe,{position:"right",prefixCls:z,extra:n.tabBarExtraContent},null)])}}}),Ia=k({compatConfig:{MODE:3},name:"TabPanelList",inheritAttrs:!1,props:{activeKey:{type:[String,Number]},id:{type:String},rtl:{type:Boolean},animated:{type:Object,default:void 0},tabPosition:{type:String},destroyInactiveTabPane:{type:Boolean}},setup(e){const{tabs:t,prefixCls:a}=At();return()=>{const{id:n,activeKey:o,animated:l,tabPosition:i,rtl:c,destroyInactiveTabPane:h}=e,f=l.tabPane,g=a.value,x=t.value.findIndex(b=>b.key===o);return s("div",{class:`${g}-content-holder`},[s("div",{class:[`${g}-content`,`${g}-content-${i}`,{[`${g}-content-animated`]:f}],style:x&&f?{[c?"marginRight":"marginLeft"]:`-${x}00%`}:null},[t.value.map(b=>na(b.node,{key:b.key,prefixCls:g,tabKey:b.key,id:n,animated:f,active:b.key===o,destroyInactiveTabPane:h}))])])}}});var Ra={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const Ea=Ra;function xt(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(a);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(a).filter(function(o){return Object.getOwnPropertyDescriptor(a,o).enumerable}))),n.forEach(function(o){Aa(e,o,a[o])})}return e}function Aa(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var it=function(t,a){var n=xt({},t,a.attrs);return s(oa,xt({},n,{icon:Ea}),null)};it.displayName="PlusOutlined";it.inheritAttrs=!1;const La=it,Ma=e=>{const{componentCls:t,motionDurationSlow:a}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${a}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${a}`}}}}},[pt(e,"slide-up"),pt(e,"slide-down")]]},Ha=Ma,Da=e=>{const{componentCls:t,tabsCardHorizontalPadding:a,tabsCardHeadBackground:n,tabsCardGutter:o,colorSplit:l}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:a,background:n,border:`${e.lineWidth}px ${e.lineType} ${l}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${o}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${o}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},ka=e=>{const{componentCls:t,tabsHoverColor:a,dropdownEdgeChildVerticalPadding:n}=e;return{[`${t}-dropdown`]:r(r({},at(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${n}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":r(r({},nt),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:a}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},za=e=>{const{componentCls:t,margin:a,colorSplit:n}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${a}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${n}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},
1
+ import{dL as ut,dM as Tt,dN as Gt,dO as Kt,dP as Xt,dQ as jt,dR as Ft,dS as qt,N as q,aq as Qe,a8 as Ae,d as k,r as ne,c as H,f as s,b7 as ae,ah as W,aK as We,X as r,ck as O,J as Ne,w as me,bB as Vt,dT as Yt,bx as Ut,bw as Zt,dU as Jt,av as re,aN as ee,a4 as Qt,am as ea,c1 as ta,bE as aa,ak as vt,aj as D,as as Le,dV as Re,aF as na,aP as oa,dW as pt,ab as et,ac as tt,an as at,ao as nt,dX as _t,ap as Me,aD as Pt,ai as ot,aL as ke,b6 as ia,aM as la,aA as ra,bY as sa,au as da,c8 as ze,ag as ye,b4 as ca,aW as bt,a$ as ua,dY as Ge,aT as va,dZ as Ee,a7 as pa,d_ as ft,dm as ba,d$ as fa}from"./jwt-decode.esm.1b301f74.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="87f835a3-004a-4091-a2e7-d7b7d05a353d",e._sentryDebugIdIdentifier="sentry-dbid-87f835a3-004a-4091-a2e7-d7b7d05a353d")}catch{}})();function ga(e,t,a,n){if(!ut(e))return e;t=Tt(t,e);for(var o=-1,l=t.length,i=l-1,c=e;c!=null&&++o<l;){var h=Gt(t[o]),f=a;if(h==="__proto__"||h==="constructor"||h==="prototype")return e;if(o!=i){var g=c[h];f=n?n(g,h,c):void 0,f===void 0&&(f=ut(g)?g:Kt(t[o+1])?[]:{})}Xt(c,h,f),c=c[h]}return e}function ha(e,t,a){for(var n=-1,o=t.length,l={};++n<o;){var i=t[n],c=jt(e,i);a(c,i)&&ga(l,Tt(i,e),c)}return l}function $a(e,t){return ha(e,t,function(a,n){return Ft(e,n)})}var ma=qt(function(e,t){return e==null?{}:$a(e,t)});const Bt=ma;function ya(e){const t=q(),a=q(!1);function n(){for(var o=arguments.length,l=new Array(o),i=0;i<o;i++)l[i]=arguments[i];a.value||(Ae.cancel(t.value),t.value=Ae(()=>{e(...l)}))}return Qe(()=>{a.value=!0,Ae.cancel(t.value)}),n}function Sa(e){const t=q([]),a=q(typeof e=="function"?e():e),n=ya(()=>{let l=a.value;t.value.forEach(i=>{l=i(l)}),t.value=[],a.value=l});function o(l){t.value.push(l),n()}return[a,o]}const xa=k({compatConfig:{MODE:3},name:"TabNode",props:{id:{type:String},prefixCls:{type:String},tab:{type:Object},active:{type:Boolean},closable:{type:Boolean},editable:{type:Object},onClick:{type:Function},onResize:{type:Function},renderWrapper:{type:Function},removeAriaLabel:{type:String},onFocus:{type:Function}},emits:["click","resize","remove","focus"],setup(e,t){let{expose:a,attrs:n}=t;const o=ne();function l(h){var f;!((f=e.tab)===null||f===void 0)&&f.disabled||e.onClick(h)}a({domRef:o});function i(h){var f;h.preventDefault(),h.stopPropagation(),e.editable.onEdit("remove",{key:(f=e.tab)===null||f===void 0?void 0:f.key,event:h})}const c=H(()=>{var h;return e.editable&&e.closable!==!1&&!(!((h=e.tab)===null||h===void 0)&&h.disabled)});return()=>{var h;const{prefixCls:f,id:g,active:x,tab:{key:b,tab:d,disabled:u,closeIcon:$},renderWrapper:C,removeAriaLabel:S,editable:E,onFocus:L}=e,M=`${f}-tab`,p=s("div",{key:b,ref:o,class:W(M,{[`${M}-with-remove`]:c.value,[`${M}-active`]:x,[`${M}-disabled`]:u}),style:n.style,onClick:l},[s("div",{role:"tab","aria-selected":x,id:g&&`${g}-tab-${b}`,class:`${M}-btn`,"aria-controls":g&&`${g}-panel-${b}`,"aria-disabled":u,tabindex:u?null:0,onClick:y=>{y.stopPropagation(),l(y)},onKeydown:y=>{[ae.SPACE,ae.ENTER].includes(y.which)&&(y.preventDefault(),l(y))},onFocus:L},[typeof d=="function"?d():d]),c.value&&s("button",{type:"button","aria-label":S||"remove",tabindex:0,class:`${M}-remove`,onClick:y=>{y.stopPropagation(),i(y)}},[($==null?void 0:$())||((h=E.removeIcon)===null||h===void 0?void 0:h.call(E))||"\xD7"])]);return C?C(p):p}}}),gt={width:0,height:0,left:0,top:0};function Ca(e,t){const a=ne(new Map);return We(()=>{var n,o;const l=new Map,i=e.value,c=t.value.get((n=i[0])===null||n===void 0?void 0:n.key)||gt,h=c.left+c.width;for(let f=0;f<i.length;f+=1){const{key:g}=i[f];let x=t.value.get(g);x||(x=t.value.get((o=i[f-1])===null||o===void 0?void 0:o.key)||gt);const b=l.get(g)||r({},x);b.right=h-b.left-b.width,l.set(g,b)}a.value=new Map(l)}),a}const It=k({compatConfig:{MODE:3},name:"AddButton",inheritAttrs:!1,props:{prefixCls:String,editable:{type:Object},locale:{type:Object,default:void 0}},setup(e,t){let{expose:a,attrs:n}=t;const o=ne();return a({domRef:o}),()=>{const{prefixCls:l,editable:i,locale:c}=e;return!i||i.showAdd===!1?null:s("button",{ref:o,type:"button",class:`${l}-nav-add`,style:n.style,"aria-label":(c==null?void 0:c.addAriaLabel)||"Add tab",onClick:h=>{i.onEdit("add",{event:h})}},[i.addIcon?i.addIcon():"+"])}}}),wa={prefixCls:{type:String},id:{type:String},tabs:{type:Object},rtl:{type:Boolean},tabBarGutter:{type:Number},activeKey:{type:[String,Number]},mobile:{type:Boolean},moreIcon:re.any,moreTransitionName:{type:String},editable:{type:Object},locale:{type:Object,default:void 0},removeAriaLabel:String,onTabClick:{type:Function},popupClassName:String,getPopupContainer:ee()},Ta=k({compatConfig:{MODE:3},name:"OperationNode",inheritAttrs:!1,props:wa,emits:["tabClick"],slots:Object,setup(e,t){let{attrs:a,slots:n}=t;const[o,l]=O(!1),[i,c]=O(null),h=d=>{const u=e.tabs.filter(S=>!S.disabled);let $=u.findIndex(S=>S.key===i.value)||0;const C=u.length;for(let S=0;S<C;S+=1){$=($+d+C)%C;const E=u[$];if(!E.disabled){c(E.key);return}}},f=d=>{const{which:u}=d;if(!o.value){[ae.DOWN,ae.SPACE,ae.ENTER].includes(u)&&(l(!0),d.preventDefault());return}switch(u){case ae.UP:h(-1),d.preventDefault();break;case ae.DOWN:h(1),d.preventDefault();break;case ae.ESC:l(!1);break;case ae.SPACE:case ae.ENTER:i.value!==null&&e.onTabClick(i.value,d);break}},g=H(()=>`${e.id}-more-popup`),x=H(()=>i.value!==null?`${g.value}-${i.value}`:null),b=(d,u)=>{d.preventDefault(),d.stopPropagation(),e.editable.onEdit("remove",{key:u,event:d})};return Ne(()=>{me(i,()=>{const d=document.getElementById(x.value);d&&d.scrollIntoView&&d.scrollIntoView(!1)},{flush:"post",immediate:!0})}),me(o,()=>{o.value||c(null)}),Vt({}),()=>{var d;const{prefixCls:u,id:$,tabs:C,locale:S,mobile:E,moreIcon:L=((d=n.moreIcon)===null||d===void 0?void 0:d.call(n))||s(Yt,null,null),moreTransitionName:M,editable:p,tabBarGutter:y,rtl:v,onTabClick:_,popupClassName:R}=e;if(!C.length)return null;const I=`${u}-dropdown`,N=S==null?void 0:S.dropdownAriaLabel,J={[v?"marginRight":"marginLeft"]:y};C.length||(J.visibility="hidden",J.order=1);const te=W({[`${I}-rtl`]:v,[`${R}`]:!0}),oe=E?null:s(Jt,{prefixCls:I,trigger:["hover"],visible:o.value,transitionName:M,onVisibleChange:l,overlayClassName:te,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:e.getPopupContainer},{overlay:()=>s(Ut,{onClick:P=>{let{key:G,domEvent:w}=P;_(G,w),l(!1)},id:g.value,tabindex:-1,role:"listbox","aria-activedescendant":x.value,selectedKeys:[i.value],"aria-label":N!==void 0?N:"expanded dropdown"},{default:()=>[C.map(P=>{var G,w;const Y=p&&P.closable!==!1&&!P.disabled;return s(Zt,{key:P.key,id:`${g.value}-${P.key}`,role:"option","aria-controls":$&&`${$}-panel-${P.key}`,disabled:P.disabled},{default:()=>[s("span",null,[typeof P.tab=="function"?P.tab():P.tab]),Y&&s("button",{type:"button","aria-label":e.removeAriaLabel||"remove",tabindex:0,class:`${I}-menu-item-remove`,onClick:U=>{U.stopPropagation(),b(U,P.key)}},[((G=P.closeIcon)===null||G===void 0?void 0:G.call(P))||((w=p.removeIcon)===null||w===void 0?void 0:w.call(p))||"\xD7"])]})})]}),default:()=>s("button",{type:"button",class:`${u}-nav-more`,style:J,tabindex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":g.value,id:`${$}-more`,"aria-expanded":o.value,onKeydown:f},[L])});return s("div",{class:W(`${u}-nav-operations`,a.class),style:a.style},[oe,s(It,{prefixCls:u,locale:S,editable:p},null)])}}}),Rt=Symbol("tabsContextKey"),Et=e=>{Qt(Rt,e)},At=()=>ea(Rt,{tabs:ne([]),prefixCls:ne()});k({compatConfig:{MODE:3},name:"TabsContextProvider",inheritAttrs:!1,props:{tabs:{type:Object,default:void 0},prefixCls:{type:String,default:void 0}},setup(e,t){let{slots:a}=t;return Et(ta(e)),()=>{var n;return(n=a.default)===null||n===void 0?void 0:n.call(a)}}});const _a=.1,ht=.01,Oe=20,$t=Math.pow(.995,Oe);function Pa(e,t){const[a,n]=O(),[o,l]=O(0),[i,c]=O(0),[h,f]=O(),g=ne();function x(p){const{screenX:y,screenY:v}=p.touches[0];n({x:y,y:v}),clearInterval(g.value)}function b(p){if(!a.value)return;p.preventDefault();const{screenX:y,screenY:v}=p.touches[0],_=y-a.value.x,R=v-a.value.y;t(_,R),n({x:y,y:v});const I=Date.now();c(I-o.value),l(I),f({x:_,y:R})}function d(){if(!a.value)return;const p=h.value;if(n(null),f(null),p){const y=p.x/i.value,v=p.y/i.value,_=Math.abs(y),R=Math.abs(v);if(Math.max(_,R)<_a)return;let I=y,N=v;g.value=setInterval(()=>{if(Math.abs(I)<ht&&Math.abs(N)<ht){clearInterval(g.value);return}I*=$t,N*=$t,t(I*Oe,N*Oe)},Oe)}}const u=ne();function $(p){const{deltaX:y,deltaY:v}=p;let _=0;const R=Math.abs(y),I=Math.abs(v);R===I?_=u.value==="x"?y:v:R>I?(_=y,u.value="x"):(_=v,u.value="y"),t(-_,-_)&&p.preventDefault()}const C=ne({onTouchStart:x,onTouchMove:b,onTouchEnd:d,onWheel:$});function S(p){C.value.onTouchStart(p)}function E(p){C.value.onTouchMove(p)}function L(p){C.value.onTouchEnd(p)}function M(p){C.value.onWheel(p)}Ne(()=>{var p,y;document.addEventListener("touchmove",E,{passive:!1}),document.addEventListener("touchend",L,{passive:!1}),(p=e.value)===null||p===void 0||p.addEventListener("touchstart",S,{passive:!1}),(y=e.value)===null||y===void 0||y.addEventListener("wheel",M,{passive:!1})}),Qe(()=>{document.removeEventListener("touchmove",E),document.removeEventListener("touchend",L)})}function mt(e,t){const a=ne(e);function n(o){const l=typeof o=="function"?o(a.value):o;l!==a.value&&t(l,a.value),a.value=l}return[a,n]}const yt={width:0,height:0,left:0,top:0,right:0},Ba=()=>({id:{type:String},tabPosition:{type:String},activeKey:{type:[String,Number]},rtl:{type:Boolean},animated:Le(),editable:Le(),moreIcon:re.any,moreTransitionName:{type:String},mobile:{type:Boolean},tabBarGutter:{type:Number},renderTabBar:{type:Function},locale:Le(),popupClassName:String,getPopupContainer:ee(),onTabClick:{type:Function},onTabScroll:{type:Function}}),St=k({compatConfig:{MODE:3},name:"TabNavList",inheritAttrs:!1,props:Ba(),slots:Object,emits:["tabClick","tabScroll"],setup(e,t){let{attrs:a,slots:n}=t;const{tabs:o,prefixCls:l}=At(),i=q(),c=q(),h=q(),f=q(),[g,x]=aa(),b=H(()=>e.tabPosition==="top"||e.tabPosition==="bottom"),[d,u]=mt(0,(T,m)=>{b.value&&e.onTabScroll&&e.onTabScroll({direction:T>m?"left":"right"})}),[$,C]=mt(0,(T,m)=>{!b.value&&e.onTabScroll&&e.onTabScroll({direction:T>m?"top":"bottom"})}),[S,E]=O(0),[L,M]=O(0),[p,y]=O(null),[v,_]=O(null),[R,I]=O(0),[N,J]=O(0),[te,oe]=Sa(new Map),P=Ca(o,te),G=H(()=>`${l.value}-nav-operations-hidden`),w=q(0),Y=q(0);We(()=>{b.value?e.rtl?(w.value=0,Y.value=Math.max(0,S.value-p.value)):(w.value=Math.min(0,p.value-S.value),Y.value=0):(w.value=Math.min(0,v.value-L.value),Y.value=0)});const U=T=>T<w.value?w.value:T>Y.value?Y.value:T,se=q(),[K,de]=O(),ce=()=>{de(Date.now())},he=()=>{clearTimeout(se.value)},Se=(T,m)=>{T(B=>U(B+m))};Pa(i,(T,m)=>{if(b.value){if(p.value>=S.value)return!1;Se(u,T)}else{if(v.value>=L.value)return!1;Se(C,m)}return he(),ce(),!0}),me(K,()=>{he(),K.value&&(se.value=setTimeout(()=>{de(0)},100))});const ue=function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activeKey;const m=P.value.get(T)||{width:0,height:0,left:0,right:0,top:0};if(b.value){let B=d.value;e.rtl?m.right<d.value?B=m.right:m.right+m.width>d.value+p.value&&(B=m.right+m.width-p.value):m.left<-d.value?B=-m.left:m.left+m.width>-d.value+p.value&&(B=-(m.left+m.width-p.value)),C(0),u(U(B))}else{let B=$.value;m.top<-$.value?B=-m.top:m.top+m.height>-$.value+v.value&&(B=-(m.top+m.height-v.value)),u(0),C(U(B))}},ie=q(0),xe=q(0);We(()=>{let T,m,B,A,j,F;const $e=P.value;["top","bottom"].includes(e.tabPosition)?(T="width",A=p.value,j=S.value,F=R.value,m=e.rtl?"right":"left",B=Math.abs(d.value)):(T="height",A=v.value,j=S.value,F=N.value,m="top",B=-$.value);let Z=A;j+F>A&&j<A&&(Z=A-F);const le=o.value;if(!le.length)return[ie.value,xe.value]=[0,0];const be=le.length;let Ce=be;for(let X=0;X<be;X+=1){const Q=$e.get(le[X].key)||yt;if(Q[m]+Q[T]>B+Z){Ce=X-1;break}}let z=0;for(let X=be-1;X>=0;X-=1)if(($e.get(le[X].key)||yt)[m]<B){z=X+1;break}return[ie.value,xe.value]=[z,Ce]});const ve=()=>{var T,m,B,A,j;const F=((T=i.value)===null||T===void 0?void 0:T.offsetWidth)||0,$e=((m=i.value)===null||m===void 0?void 0:m.offsetHeight)||0,Z=((B=f.value)===null||B===void 0?void 0:B.$el)||{},le=Z.offsetWidth||0,be=Z.offsetHeight||0;y(F),_($e),I(le),J(be);const Ce=(((A=c.value)===null||A===void 0?void 0:A.offsetWidth)||0)-le,z=(((j=c.value)===null||j===void 0?void 0:j.offsetHeight)||0)-be;E(Ce),M(z),oe(()=>{const X=new Map;return o.value.forEach(Q=>{let{key:we}=Q;const fe=x.value.get(we),ge=(fe==null?void 0:fe.$el)||fe;ge&&X.set(we,{width:ge.offsetWidth,height:ge.offsetHeight,left:ge.offsetLeft,top:ge.offsetTop})}),X})},Pe=H(()=>[...o.value.slice(0,ie.value),...o.value.slice(xe.value+1)]),[Be,Ot]=O(),pe=H(()=>P.value.get(e.activeKey)),rt=q(),st=()=>{Ae.cancel(rt.value)};me([pe,b,()=>e.rtl],()=>{const T={};pe.value&&(b.value?(e.rtl?T.right=Re(pe.value.right):T.left=Re(pe.value.left),T.width=Re(pe.value.width)):(T.top=Re(pe.value.top),T.height=Re(pe.value.height))),st(),rt.value=Ae(()=>{Ot(T)})}),me([()=>e.activeKey,pe,P,b],()=>{ue()},{flush:"post"}),me([()=>e.rtl,()=>e.tabBarGutter,()=>e.activeKey,()=>o.value],()=>{ve()},{flush:"post"});const Fe=T=>{let{position:m,prefixCls:B,extra:A}=T;if(!A)return null;const j=A==null?void 0:A({position:m});return j?s("div",{class:`${B}-extra-content`},[j]):null};return Qe(()=>{he(),st()}),()=>{const{id:T,animated:m,activeKey:B,rtl:A,editable:j,locale:F,tabPosition:$e,tabBarGutter:Z,onTabClick:le}=e,{class:be,style:Ce}=a,z=l.value,X=!!Pe.value.length,Q=`${z}-nav-wrap`;let we,fe,ge,dt;b.value?A?(fe=d.value>0,we=d.value+p.value<S.value):(we=d.value<0,fe=-d.value+p.value<S.value):(ge=$.value<0,dt=-$.value+v.value<L.value);const De={};$e==="top"||$e==="bottom"?De[A?"marginRight":"marginLeft"]=typeof Z=="number"?`${Z}px`:Z:De.marginTop=typeof Z=="number"?`${Z}px`:Z;const ct=o.value.map((qe,Wt)=>{const{key:Ie}=qe;return s(xa,{id:T,prefixCls:z,key:Ie,tab:qe,style:Wt===0?void 0:De,closable:qe.closable,editable:j,active:Ie===B,removeAriaLabel:F==null?void 0:F.removeAriaLabel,ref:g(Ie),onClick:Nt=>{le(Ie,Nt)},onFocus:()=>{ue(Ie),ce(),i.value&&(A||(i.value.scrollLeft=0),i.value.scrollTop=0)}},n)});return s("div",{role:"tablist",class:W(`${z}-nav`,be),style:Ce,onKeydown:()=>{ce()}},[s(Fe,{position:"left",prefixCls:z,extra:n.leftExtra},null),s(vt,{onResize:ve},{default:()=>[s("div",{class:W(Q,{[`${Q}-ping-left`]:we,[`${Q}-ping-right`]:fe,[`${Q}-ping-top`]:ge,[`${Q}-ping-bottom`]:dt}),ref:i},[s(vt,{onResize:ve},{default:()=>[s("div",{ref:c,class:`${z}-nav-list`,style:{transform:`translate(${d.value}px, ${$.value}px)`,transition:K.value?"none":void 0}},[ct,s(It,{ref:f,prefixCls:z,locale:F,editable:j,style:r(r({},ct.length===0?void 0:De),{visibility:X?"hidden":null})},null),s("div",{class:W(`${z}-ink-bar`,{[`${z}-ink-bar-animated`]:m.inkBar}),style:Be.value},null)])]})])]}),s(Ta,D(D({},e),{},{removeAriaLabel:F==null?void 0:F.removeAriaLabel,ref:h,prefixCls:z,tabs:Pe.value,class:!X&&G.value}),Bt(n,["moreIcon"])),s(Fe,{position:"right",prefixCls:z,extra:n.rightExtra},null),s(Fe,{position:"right",prefixCls:z,extra:n.tabBarExtraContent},null)])}}}),Ia=k({compatConfig:{MODE:3},name:"TabPanelList",inheritAttrs:!1,props:{activeKey:{type:[String,Number]},id:{type:String},rtl:{type:Boolean},animated:{type:Object,default:void 0},tabPosition:{type:String},destroyInactiveTabPane:{type:Boolean}},setup(e){const{tabs:t,prefixCls:a}=At();return()=>{const{id:n,activeKey:o,animated:l,tabPosition:i,rtl:c,destroyInactiveTabPane:h}=e,f=l.tabPane,g=a.value,x=t.value.findIndex(b=>b.key===o);return s("div",{class:`${g}-content-holder`},[s("div",{class:[`${g}-content`,`${g}-content-${i}`,{[`${g}-content-animated`]:f}],style:x&&f?{[c?"marginRight":"marginLeft"]:`-${x}00%`}:null},[t.value.map(b=>na(b.node,{key:b.key,prefixCls:g,tabKey:b.key,id:n,animated:f,active:b.key===o,destroyInactiveTabPane:h}))])])}}});var Ra={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const Ea=Ra;function xt(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(a);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(a).filter(function(o){return Object.getOwnPropertyDescriptor(a,o).enumerable}))),n.forEach(function(o){Aa(e,o,a[o])})}return e}function Aa(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var it=function(t,a){var n=xt({},t,a.attrs);return s(oa,xt({},n,{icon:Ea}),null)};it.displayName="PlusOutlined";it.inheritAttrs=!1;const La=it,Ma=e=>{const{componentCls:t,motionDurationSlow:a}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${a}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${a}`}}}}},[pt(e,"slide-up"),pt(e,"slide-down")]]},Ha=Ma,Da=e=>{const{componentCls:t,tabsCardHorizontalPadding:a,tabsCardHeadBackground:n,tabsCardGutter:o,colorSplit:l}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:a,background:n,border:`${e.lineWidth}px ${e.lineType} ${l}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:e.colorPrimary,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${o}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${o}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},ka=e=>{const{componentCls:t,tabsHoverColor:a,dropdownEdgeChildVerticalPadding:n}=e;return{[`${t}-dropdown`]:r(r({},at(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${n}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":r(r({},nt),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:a}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},za=e=>{const{componentCls:t,margin:a,colorSplit:n}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:`0 0 ${a}px 0`,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${n}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},
2
2
  right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,
3
- > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${a}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:`${e.paddingXS}px ${e.paddingLG}px`,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:`${e.margin}px 0 0 0`},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Oa=e=>{const{componentCls:t,padding:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px 0`,fontSize:e.fontSize}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${a}px 0`,fontSize:e.fontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXXS*1.5}px ${a}px`}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px ${a}px ${e.paddingXXS*1.5}px`}}}}}},Wa=e=>{const{componentCls:t,tabsActiveColor:a,tabsHoverColor:n,iconCls:o,tabsHorizontalGutter:l}=e,i=`${t}-tab`;return{[i]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${e.paddingSM}px 0`,fontSize:`${e.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":r({"&:focus:not(:focus-visible), &:active":{color:a}},_t(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:n},[`&${i}-active ${i}-btn`]:{color:e.colorPrimary,textShadow:e.tabsActiveTextShadow},[`&${i}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${i}-disabled ${i}-btn, &${i}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${i}-remove ${o}`]:{margin:0},[o]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${i} + ${i}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${l}px`}}}},Na=e=>{const{componentCls:t,tabsHorizontalGutter:a,iconCls:n,tabsCardGutter:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${a}px`},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[n]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[n]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:`${o}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Ga=e=>{const{componentCls:t,tabsCardHorizontalPadding:a,tabsCardHeight:n,tabsCardGutter:o,tabsHoverColor:l,tabsActiveColor:i,colorSplit:c}=e;return{[t]:r(r(r(r({},at(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:a,background:"transparent",border:0,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:r({minWidth:`${n}px`,marginLeft:{_skip_check_:!0,value:`${o}px`},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${c}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:l},"&:active, &:focus:not(:focus-visible)":{color:i}},_t(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.colorPrimary,pointerEvents:"none"}}),Wa(e)),{[`${t}-content`]:{position:"relative",display:"flex",width:"100%",["&-animated"]:{transition:"margin 0.3s"}},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none",flex:"none",width:"100%"}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},Ka=et("Tabs",e=>{const t=e.controlHeightLG,a=tt(e,{tabsHoverColor:e.colorPrimaryHover,tabsActiveColor:e.colorPrimaryActive,tabsCardHorizontalPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,tabsCardHeight:t,tabsCardGutter:e.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:e.colorFillAlter,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[Oa(a),Na(a),za(a),ka(a),Da(a),Ga(a),Ha(a)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let Ct=0;const Lt=()=>({prefixCls:{type:String},id:{type:String},popupClassName:String,getPopupContainer:ee(),activeKey:{type:[String,Number]},defaultActiveKey:{type:[String,Number]},direction:ke(),animated:ia([Boolean,Object]),renderTabBar:ee(),tabBarGutter:{type:Number},tabBarStyle:Le(),tabPosition:ke(),destroyInactiveTabPane:la(),hideAdd:Boolean,type:ke(),size:ke(),centered:Boolean,onEdit:ee(),onChange:ee(),onTabClick:ee(),onTabScroll:ee(),"onUpdate:activeKey":ee(),locale:Le(),onPrevClick:ee(),onNextClick:ee(),tabBarExtraContent:re.any});function Xa(e){return e.map(t=>{if(ra(t)){const a=r({},t.props||{});for(const[b,d]of Object.entries(a))delete a[b],a[sa(b)]=d;const n=t.children||{},o=t.key!==void 0?t.key:void 0,{tab:l=n.tab,disabled:i,forceRender:c,closable:h,animated:f,active:g,destroyInactiveTabPane:x}=a;return r(r({key:o},a),{node:t,closeIcon:n.closeIcon,tab:l,disabled:i===""||i,forceRender:c===""||c,closable:h===""||h,animated:f===""||f,active:g===""||g,destroyInactiveTabPane:x===""||x})}return null}).filter(t=>t)}const ja=k({compatConfig:{MODE:3},name:"InternalTabs",inheritAttrs:!1,props:r(r({},Me(Lt(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}})),{tabs:da()}),slots:Object,setup(e,t){let{attrs:a,slots:n}=t;ze(e.onPrevClick===void 0&&e.onNextClick===void 0,"Tabs","`onPrevClick / @prevClick` and `onNextClick / @nextClick` has been removed. Please use `onTabScroll / @tabScroll` instead."),ze(e.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` prop has been removed. Please use `rightExtra` slot instead."),ze(n.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` slot is deprecated. Please use `rightExtra` slot instead.");const{prefixCls:o,direction:l,size:i,rootPrefixCls:c,getPopupContainer:h}=ye("tabs",e),[f,g]=Ka(o),x=H(()=>l.value==="rtl"),b=H(()=>{const{animated:v,tabPosition:_}=e;return v===!1||["left","right"].includes(_)?{inkBar:!1,tabPane:!1}:v===!0?{inkBar:!0,tabPane:!0}:r({inkBar:!0,tabPane:!1},typeof v=="object"?v:{})}),[d,u]=O(!1);Ne(()=>{u(ca())});const[$,C]=bt(()=>{var v;return(v=e.tabs[0])===null||v===void 0?void 0:v.key},{value:H(()=>e.activeKey),defaultValue:e.defaultActiveKey}),[S,E]=O(()=>e.tabs.findIndex(v=>v.key===$.value));We(()=>{var v;let _=e.tabs.findIndex(R=>R.key===$.value);_===-1&&(_=Math.max(0,Math.min(S.value,e.tabs.length-1)),C((v=e.tabs[_])===null||v===void 0?void 0:v.key)),E(_)});const[L,M]=bt(null,{value:H(()=>e.id)}),p=H(()=>d.value&&!["left","right"].includes(e.tabPosition)?"top":e.tabPosition);Ne(()=>{e.id||(M(`rc-tabs-${Ct}`),Ct+=1)});const y=(v,_)=>{var R,I;(R=e.onTabClick)===null||R===void 0||R.call(e,v,_);const N=v!==$.value;C(v),N&&((I=e.onChange)===null||I===void 0||I.call(e,v))};return Et({tabs:H(()=>e.tabs),prefixCls:o}),()=>{const{id:v,type:_,tabBarGutter:R,tabBarStyle:I,locale:N,destroyInactiveTabPane:Q,renderTabBar:te=n.renderTabBar,onTabScroll:oe,hideAdd:P,centered:G}=e,w={id:L.value,activeKey:$.value,animated:b.value,tabPosition:p.value,rtl:x.value,mobile:d.value};let Y;_==="editable-card"&&(Y={onEdit:(de,ce)=>{let{key:he,event:Se}=ce;var ue;(ue=e.onEdit)===null||ue===void 0||ue.call(e,de==="add"?Se:he,de)},removeIcon:()=>s(ua,null,null),addIcon:n.addIcon?n.addIcon:()=>s(La,null,null),showAdd:P!==!0});let U;const se=r(r({},w),{moreTransitionName:`${c.value}-slide-up`,editable:Y,locale:N,tabBarGutter:R,onTabClick:y,onTabScroll:oe,style:I,getPopupContainer:h.value,popupClassName:W(e.popupClassName,g.value)});te?U=te(r(r({},se),{DefaultTabBar:St})):U=s(St,se,Bt(n,["moreIcon","leftExtra","rightExtra","tabBarExtraContent"]));const K=o.value;return f(s("div",D(D({},a),{},{id:v,class:W(K,`${K}-${p.value}`,{[g.value]:!0,[`${K}-${i.value}`]:i.value,[`${K}-card`]:["card","editable-card"].includes(_),[`${K}-editable-card`]:_==="editable-card",[`${K}-centered`]:G,[`${K}-mobile`]:d.value,[`${K}-editable`]:_==="editable-card",[`${K}-rtl`]:x.value},a.class)}),[U,s(Ia,D(D({destroyInactiveTabPane:Q},w),{},{animated:b.value}),null)]))}}}),Te=k({compatConfig:{MODE:3},name:"ATabs",inheritAttrs:!1,props:Me(Lt(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}}),slots:Object,setup(e,t){let{attrs:a,slots:n,emit:o}=t;const l=i=>{o("update:activeKey",i),o("change",i)};return()=>{var i;const c=Xa(Pt((i=n.default)===null||i===void 0?void 0:i.call(n)));return s(ja,D(D(D({},ot(e,["onUpdate:activeKey"])),a),{},{onChange:l,tabs:c}),n)}}}),Fa=()=>({tab:re.any,disabled:{type:Boolean},forceRender:{type:Boolean},closable:{type:Boolean},animated:{type:Boolean},active:{type:Boolean},destroyInactiveTabPane:{type:Boolean},prefixCls:{type:String},tabKey:{type:[String,Number]},id:{type:String}}),Qe=k({compatConfig:{MODE:3},name:"ATabPane",inheritAttrs:!1,__ANT_TAB_PANE:!0,props:Fa(),slots:Object,setup(e,t){let{attrs:a,slots:n}=t;const o=ne(e.forceRender);me([()=>e.active,()=>e.destroyInactiveTabPane],()=>{e.active?o.value=!0:e.destroyInactiveTabPane&&(o.value=!1)},{immediate:!0});const l=H(()=>e.active?{}:e.animated?{visibility:"hidden",height:0,overflowY:"hidden"}:{display:"none"});return()=>{var i;const{prefixCls:c,forceRender:h,id:f,active:g,tabKey:x}=e;return s("div",{id:f&&`${f}-panel-${x}`,role:"tabpanel",tabindex:g?0:-1,"aria-labelledby":f&&`${f}-tab-${x}`,"aria-hidden":!g,style:[l.value,a.style],class:[`${c}-tabpane`,g&&`${c}-tabpane-active`,a.class]},[(g||o.value||h)&&((i=n.default)===null||i===void 0?void 0:i.call(n))])}}});Te.TabPane=Qe;Te.install=function(e){return e.component(Te.name,Te),e.component(Qe.name,Qe),e};const qa=e=>{const{antCls:t,componentCls:a,cardHeadHeight:n,cardPaddingBase:o,cardHeadTabsMarginBottom:l}=e;return r(r({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${o}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},Ge()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":r(r({display:"inline-block",flex:1},nt),{[`
3
+ > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${a}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:`${e.paddingXS}px ${e.paddingLG}px`,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:`${e.margin}px 0 0 0`},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Oa=e=>{const{componentCls:t,padding:a}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px 0`,fontSize:e.fontSize}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${a}px 0`,fontSize:e.fontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXXS*1.5}px ${a}px`}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:`${e.paddingXS}px ${a}px ${e.paddingXXS*1.5}px`}}}}}},Wa=e=>{const{componentCls:t,tabsActiveColor:a,tabsHoverColor:n,iconCls:o,tabsHorizontalGutter:l}=e,i=`${t}-tab`;return{[i]:{position:"relative",display:"inline-flex",alignItems:"center",padding:`${e.paddingSM}px 0`,fontSize:`${e.fontSize}px`,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":r({"&:focus:not(:focus-visible), &:active":{color:a}},_t(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:n},[`&${i}-active ${i}-btn`]:{color:e.colorPrimary,textShadow:e.tabsActiveTextShadow},[`&${i}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${i}-disabled ${i}-btn, &${i}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${i}-remove ${o}`]:{margin:0},[o]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${i} + ${i}`]:{margin:{_skip_check_:!0,value:`0 0 0 ${l}px`}}}},Na=e=>{const{componentCls:t,tabsHorizontalGutter:a,iconCls:n,tabsCardGutter:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:`0 0 0 ${a}px`},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[n]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[n]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:`${o}px`},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Ga=e=>{const{componentCls:t,tabsCardHorizontalPadding:a,tabsCardHeight:n,tabsCardGutter:o,tabsHoverColor:l,tabsActiveColor:i,colorSplit:c}=e;return{[t]:r(r(r(r({},at(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:a,background:"transparent",border:0,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:r({minWidth:`${n}px`,marginLeft:{_skip_check_:!0,value:`${o}px`},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${c}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:l},"&:active, &:focus:not(:focus-visible)":{color:i}},_t(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.colorPrimary,pointerEvents:"none"}}),Wa(e)),{[`${t}-content`]:{position:"relative",display:"flex",width:"100%",["&-animated"]:{transition:"margin 0.3s"}},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none",flex:"none",width:"100%"}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},Ka=et("Tabs",e=>{const t=e.controlHeightLG,a=tt(e,{tabsHoverColor:e.colorPrimaryHover,tabsActiveColor:e.colorPrimaryActive,tabsCardHorizontalPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,tabsCardHeight:t,tabsCardGutter:e.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:e.colorFillAlter,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[Oa(a),Na(a),za(a),ka(a),Da(a),Ga(a),Ha(a)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));let Ct=0;const Lt=()=>({prefixCls:{type:String},id:{type:String},popupClassName:String,getPopupContainer:ee(),activeKey:{type:[String,Number]},defaultActiveKey:{type:[String,Number]},direction:ke(),animated:ia([Boolean,Object]),renderTabBar:ee(),tabBarGutter:{type:Number},tabBarStyle:Le(),tabPosition:ke(),destroyInactiveTabPane:la(),hideAdd:Boolean,type:ke(),size:ke(),centered:Boolean,onEdit:ee(),onChange:ee(),onTabClick:ee(),onTabScroll:ee(),"onUpdate:activeKey":ee(),locale:Le(),onPrevClick:ee(),onNextClick:ee(),tabBarExtraContent:re.any});function Xa(e){return e.map(t=>{if(ra(t)){const a=r({},t.props||{});for(const[b,d]of Object.entries(a))delete a[b],a[sa(b)]=d;const n=t.children||{},o=t.key!==void 0?t.key:void 0,{tab:l=n.tab,disabled:i,forceRender:c,closable:h,animated:f,active:g,destroyInactiveTabPane:x}=a;return r(r({key:o},a),{node:t,closeIcon:n.closeIcon,tab:l,disabled:i===""||i,forceRender:c===""||c,closable:h===""||h,animated:f===""||f,active:g===""||g,destroyInactiveTabPane:x===""||x})}return null}).filter(t=>t)}const ja=k({compatConfig:{MODE:3},name:"InternalTabs",inheritAttrs:!1,props:r(r({},Me(Lt(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}})),{tabs:da()}),slots:Object,setup(e,t){let{attrs:a,slots:n}=t;ze(e.onPrevClick===void 0&&e.onNextClick===void 0,"Tabs","`onPrevClick / @prevClick` and `onNextClick / @nextClick` has been removed. Please use `onTabScroll / @tabScroll` instead."),ze(e.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` prop has been removed. Please use `rightExtra` slot instead."),ze(n.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` slot is deprecated. Please use `rightExtra` slot instead.");const{prefixCls:o,direction:l,size:i,rootPrefixCls:c,getPopupContainer:h}=ye("tabs",e),[f,g]=Ka(o),x=H(()=>l.value==="rtl"),b=H(()=>{const{animated:v,tabPosition:_}=e;return v===!1||["left","right"].includes(_)?{inkBar:!1,tabPane:!1}:v===!0?{inkBar:!0,tabPane:!0}:r({inkBar:!0,tabPane:!1},typeof v=="object"?v:{})}),[d,u]=O(!1);Ne(()=>{u(ca())});const[$,C]=bt(()=>{var v;return(v=e.tabs[0])===null||v===void 0?void 0:v.key},{value:H(()=>e.activeKey),defaultValue:e.defaultActiveKey}),[S,E]=O(()=>e.tabs.findIndex(v=>v.key===$.value));We(()=>{var v;let _=e.tabs.findIndex(R=>R.key===$.value);_===-1&&(_=Math.max(0,Math.min(S.value,e.tabs.length-1)),C((v=e.tabs[_])===null||v===void 0?void 0:v.key)),E(_)});const[L,M]=bt(null,{value:H(()=>e.id)}),p=H(()=>d.value&&!["left","right"].includes(e.tabPosition)?"top":e.tabPosition);Ne(()=>{e.id||(M(`rc-tabs-${Ct}`),Ct+=1)});const y=(v,_)=>{var R,I;(R=e.onTabClick)===null||R===void 0||R.call(e,v,_);const N=v!==$.value;C(v),N&&((I=e.onChange)===null||I===void 0||I.call(e,v))};return Et({tabs:H(()=>e.tabs),prefixCls:o}),()=>{const{id:v,type:_,tabBarGutter:R,tabBarStyle:I,locale:N,destroyInactiveTabPane:J,renderTabBar:te=n.renderTabBar,onTabScroll:oe,hideAdd:P,centered:G}=e,w={id:L.value,activeKey:$.value,animated:b.value,tabPosition:p.value,rtl:x.value,mobile:d.value};let Y;_==="editable-card"&&(Y={onEdit:(de,ce)=>{let{key:he,event:Se}=ce;var ue;(ue=e.onEdit)===null||ue===void 0||ue.call(e,de==="add"?Se:he,de)},removeIcon:()=>s(ua,null,null),addIcon:n.addIcon?n.addIcon:()=>s(La,null,null),showAdd:P!==!0});let U;const se=r(r({},w),{moreTransitionName:`${c.value}-slide-up`,editable:Y,locale:N,tabBarGutter:R,onTabClick:y,onTabScroll:oe,style:I,getPopupContainer:h.value,popupClassName:W(e.popupClassName,g.value)});te?U=te(r(r({},se),{DefaultTabBar:St})):U=s(St,se,Bt(n,["moreIcon","leftExtra","rightExtra","tabBarExtraContent"]));const K=o.value;return f(s("div",D(D({},a),{},{id:v,class:W(K,`${K}-${p.value}`,{[g.value]:!0,[`${K}-${i.value}`]:i.value,[`${K}-card`]:["card","editable-card"].includes(_),[`${K}-editable-card`]:_==="editable-card",[`${K}-centered`]:G,[`${K}-mobile`]:d.value,[`${K}-editable`]:_==="editable-card",[`${K}-rtl`]:x.value},a.class)}),[U,s(Ia,D(D({destroyInactiveTabPane:J},w),{},{animated:b.value}),null)]))}}}),Te=k({compatConfig:{MODE:3},name:"ATabs",inheritAttrs:!1,props:Me(Lt(),{tabPosition:"top",animated:{inkBar:!0,tabPane:!1}}),slots:Object,setup(e,t){let{attrs:a,slots:n,emit:o}=t;const l=i=>{o("update:activeKey",i),o("change",i)};return()=>{var i;const c=Xa(Pt((i=n.default)===null||i===void 0?void 0:i.call(n)));return s(ja,D(D(D({},ot(e,["onUpdate:activeKey"])),a),{},{onChange:l,tabs:c}),n)}}}),Fa=()=>({tab:re.any,disabled:{type:Boolean},forceRender:{type:Boolean},closable:{type:Boolean},animated:{type:Boolean},active:{type:Boolean},destroyInactiveTabPane:{type:Boolean},prefixCls:{type:String},tabKey:{type:[String,Number]},id:{type:String}}),Je=k({compatConfig:{MODE:3},name:"ATabPane",inheritAttrs:!1,__ANT_TAB_PANE:!0,props:Fa(),slots:Object,setup(e,t){let{attrs:a,slots:n}=t;const o=ne(e.forceRender);me([()=>e.active,()=>e.destroyInactiveTabPane],()=>{e.active?o.value=!0:e.destroyInactiveTabPane&&(o.value=!1)},{immediate:!0});const l=H(()=>e.active?{}:e.animated?{visibility:"hidden",height:0,overflowY:"hidden"}:{display:"none"});return()=>{var i;const{prefixCls:c,forceRender:h,id:f,active:g,tabKey:x}=e;return s("div",{id:f&&`${f}-panel-${x}`,role:"tabpanel",tabindex:g?0:-1,"aria-labelledby":f&&`${f}-tab-${x}`,"aria-hidden":!g,style:[l.value,a.style],class:[`${c}-tabpane`,g&&`${c}-tabpane-active`,a.class]},[(g||o.value||h)&&((i=n.default)===null||i===void 0?void 0:i.call(n))])}}});Te.TabPane=Je;Te.install=function(e){return e.component(Te.name,Te),e.component(Je.name,Je),e};const qa=e=>{const{antCls:t,componentCls:a,cardHeadHeight:n,cardPaddingBase:o,cardHeadTabsMarginBottom:l}=e;return r(r({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${o}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,background:"transparent",borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},Ge()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":r(r({display:"inline-block",flex:1},nt),{[`
4
4
  > ${a}-typography,
5
5
  > ${a}-typography-edit-content
6
6
  `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:l,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},Va=e=>{const{cardPaddingBase:t,colorBorderSecondary:a,cardShadow:n,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
@@ -9,12 +9,12 @@ import{dL as ut,dM as Tt,dN as Gt,dO as Kt,dP as Xt,dQ as jt,dR as Ft,dS as qt,N
9
9
  ${o}px ${o}px 0 0 ${a},
10
10
  ${o}px 0 0 0 ${a} inset,
11
11
  0 ${o}px 0 0 ${a} inset;
12
- `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},Ya=e=>{const{componentCls:t,iconCls:a,cardActionsLiMargin:n,cardActionsIconSize:o,colorBorderSecondary:l}=e;return r(r({margin:0,padding:0,listStyle:"none",background:e.colorBgContainer,borderTop:`${e.lineWidth}px ${e.lineType} ${l}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},Ge()),{"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${a}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${a}`]:{fontSize:o,lineHeight:`${o*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${l}`}}})},Ua=e=>r(r({margin:`-${e.marginXXS}px 0`,display:"flex"},Ge()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":r({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},nt),"&-description":{color:e.colorTextDescription}}),Za=e=>{const{componentCls:t,cardPaddingBase:a,colorFillAlter:n}=e;return{[`${t}-head`]:{padding:`0 ${a}px`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${a}px`}}},Qa=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},Ja=e=>{const{componentCls:t,cardShadow:a,cardHeadPadding:n,colorBorderSecondary:o,boxShadow:l,cardPaddingBase:i}=e;return{[t]:r(r({},at(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:l},[`${t}-head`]:qa(e),[`${t}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:r({padding:i,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},Ge()),[`${t}-grid`]:Va(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${t}-actions`]:Ya(e),[`${t}-meta`]:Ua(e)}),[`${t}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${o}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:a}},[`${t}-contain-grid`]:{[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:Za(e),[`${t}-loading`]:Qa(e),[`${t}-rtl`]:{direction:"rtl"}}},en=e=>{const{componentCls:t,cardPaddingSM:a,cardHeadHeightSM:n}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:n,padding:`0 ${a}px`,fontSize:e.fontSize,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:a}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:n,paddingTop:0,display:"flex",alignItems:"center"}}}}},tn=et("Card",e=>{const t=tt(e,{cardShadow:e.boxShadowCard,cardHeadHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,cardHeadHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardHeadTabsMarginBottom:-e.padding-e.lineWidth,cardActionsLiMargin:`${e.paddingSM}px 0`,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[Ja(t),en(t)]}),an=()=>({prefixCls:String,width:{type:[Number,String]}}),nn=k({compatConfig:{MODE:3},name:"SkeletonTitle",props:an(),setup(e){return()=>{const{prefixCls:t,width:a}=e,n=typeof a=="number"?`${a}px`:a;return s("h3",{class:t,style:{width:n}},null)}}}),lt=nn,on=()=>({prefixCls:String,width:{type:[Number,String,Array]},rows:Number}),ln=k({compatConfig:{MODE:3},name:"SkeletonParagraph",props:on(),setup(e){const t=a=>{const{width:n,rows:o=2}=e;if(Array.isArray(n))return n[a];if(o-1===a)return n};return()=>{const{prefixCls:a,rows:n}=e,o=[...Array(n)].map((l,i)=>{const c=t(i);return s("li",{key:i,style:{width:typeof c=="number"?`${c}px`:c}},null)});return s("ul",{class:a},[o])}}}),rn=ln,Ke=()=>({prefixCls:String,size:[String,Number],shape:String,active:{type:Boolean,default:void 0}}),Mt=e=>{const{prefixCls:t,size:a,shape:n}=e,o=W({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),l=W({[`${t}-circle`]:n==="circle",[`${t}-square`]:n==="square",[`${t}-round`]:n==="round"}),i=typeof a=="number"?{width:`${a}px`,height:`${a}px`,lineHeight:`${a}px`}:{};return s("span",{class:W(t,o,l),style:i},null)};Mt.displayName="SkeletonElement";const Xe=Mt,sn=new va("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),je=e=>({height:e,lineHeight:`${e}px`}),_e=e=>r({width:e},je(e)),dn=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:sn,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),Ve=e=>r({width:e*5,minWidth:e*5},je(e)),cn=e=>{const{skeletonAvatarCls:t,color:a,controlHeight:n,controlHeightLG:o,controlHeightSM:l}=e;return{[`${t}`]:r({display:"inline-block",verticalAlign:"top",background:a},_e(n)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:r({},_e(o)),[`${t}${t}-sm`]:r({},_e(l))}},un=e=>{const{controlHeight:t,borderRadiusSM:a,skeletonInputCls:n,controlHeightLG:o,controlHeightSM:l,color:i}=e;return{[`${n}`]:r({display:"inline-block",verticalAlign:"top",background:i,borderRadius:a},Ve(t)),[`${n}-lg`]:r({},Ve(o)),[`${n}-sm`]:r({},Ve(l))}},wt=e=>r({width:e},je(e)),vn=e=>{const{skeletonImageCls:t,imageSizeBase:a,color:n,borderRadiusSM:o}=e;return{[`${t}`]:r(r({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:n,borderRadius:o},wt(a*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:r(r({},wt(a)),{maxWidth:a*4,maxHeight:a*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Ye=(e,t,a)=>{const{skeletonButtonCls:n}=e;return{[`${a}${n}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${a}${n}-round`]:{borderRadius:t}}},Ue=e=>r({width:e*2,minWidth:e*2},je(e)),pn=e=>{const{borderRadiusSM:t,skeletonButtonCls:a,controlHeight:n,controlHeightLG:o,controlHeightSM:l,color:i}=e;return r(r(r(r(r({[`${a}`]:r({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:n*2,minWidth:n*2},Ue(n))},Ye(e,n,a)),{[`${a}-lg`]:r({},Ue(o))}),Ye(e,o,`${a}-lg`)),{[`${a}-sm`]:r({},Ue(l))}),Ye(e,l,`${a}-sm`))},bn=e=>{const{componentCls:t,skeletonAvatarCls:a,skeletonTitleCls:n,skeletonParagraphCls:o,skeletonButtonCls:l,skeletonInputCls:i,skeletonImageCls:c,controlHeight:h,controlHeightLG:f,controlHeightSM:g,color:x,padding:b,marginSM:d,borderRadius:u,skeletonTitleHeight:$,skeletonBlockRadius:C,skeletonParagraphLineHeight:S,controlHeightXS:E,skeletonParagraphMarginTop:L}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:b,verticalAlign:"top",[`${a}`]:r({display:"inline-block",verticalAlign:"top",background:x},_e(h)),[`${a}-circle`]:{borderRadius:"50%"},[`${a}-lg`]:r({},_e(f)),[`${a}-sm`]:r({},_e(g))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${n}`]:{width:"100%",height:$,background:x,borderRadius:C,[`+ ${o}`]:{marginBlockStart:g}},[`${o}`]:{padding:0,"> li":{width:"100%",height:S,listStyle:"none",background:x,borderRadius:C,"+ li":{marginBlockStart:E}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${n}, ${o} > li`]:{borderRadius:u}}},[`${t}-with-avatar ${t}-content`]:{[`${n}`]:{marginBlockStart:d,[`+ ${o}`]:{marginBlockStart:L}}},[`${t}${t}-element`]:r(r(r(r({display:"inline-block",width:"auto"},pn(e)),cn(e)),un(e)),vn(e)),[`${t}${t}-block`]:{width:"100%",[`${l}`]:{width:"100%"},[`${i}`]:{width:"100%"}},[`${t}${t}-active`]:{[`
12
+ `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},Ya=e=>{const{componentCls:t,iconCls:a,cardActionsLiMargin:n,cardActionsIconSize:o,colorBorderSecondary:l}=e;return r(r({margin:0,padding:0,listStyle:"none",background:e.colorBgContainer,borderTop:`${e.lineWidth}px ${e.lineType} ${l}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},Ge()),{"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${a}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${a}`]:{fontSize:o,lineHeight:`${o*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${l}`}}})},Ua=e=>r(r({margin:`-${e.marginXXS}px 0`,display:"flex"},Ge()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":r({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},nt),"&-description":{color:e.colorTextDescription}}),Za=e=>{const{componentCls:t,cardPaddingBase:a,colorFillAlter:n}=e;return{[`${t}-head`]:{padding:`0 ${a}px`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${a}px`}}},Ja=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},Qa=e=>{const{componentCls:t,cardShadow:a,cardHeadPadding:n,colorBorderSecondary:o,boxShadow:l,cardPaddingBase:i}=e;return{[t]:r(r({},at(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:l},[`${t}-head`]:qa(e),[`${t}-extra`]:{marginInlineStart:"auto",color:"",fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:r({padding:i,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},Ge()),[`${t}-grid`]:Va(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},img:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${t}-actions`]:Ya(e),[`${t}-meta`]:Ua(e)}),[`${t}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${o}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:a}},[`${t}-contain-grid`]:{[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:Za(e),[`${t}-loading`]:Ja(e),[`${t}-rtl`]:{direction:"rtl"}}},en=e=>{const{componentCls:t,cardPaddingSM:a,cardHeadHeightSM:n}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:n,padding:`0 ${a}px`,fontSize:e.fontSize,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:a}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:n,paddingTop:0,display:"flex",alignItems:"center"}}}}},tn=et("Card",e=>{const t=tt(e,{cardShadow:e.boxShadowCard,cardHeadHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,cardHeadHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardHeadTabsMarginBottom:-e.padding-e.lineWidth,cardActionsLiMargin:`${e.paddingSM}px 0`,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[Qa(t),en(t)]}),an=()=>({prefixCls:String,width:{type:[Number,String]}}),nn=k({compatConfig:{MODE:3},name:"SkeletonTitle",props:an(),setup(e){return()=>{const{prefixCls:t,width:a}=e,n=typeof a=="number"?`${a}px`:a;return s("h3",{class:t,style:{width:n}},null)}}}),lt=nn,on=()=>({prefixCls:String,width:{type:[Number,String,Array]},rows:Number}),ln=k({compatConfig:{MODE:3},name:"SkeletonParagraph",props:on(),setup(e){const t=a=>{const{width:n,rows:o=2}=e;if(Array.isArray(n))return n[a];if(o-1===a)return n};return()=>{const{prefixCls:a,rows:n}=e,o=[...Array(n)].map((l,i)=>{const c=t(i);return s("li",{key:i,style:{width:typeof c=="number"?`${c}px`:c}},null)});return s("ul",{class:a},[o])}}}),rn=ln,Ke=()=>({prefixCls:String,size:[String,Number],shape:String,active:{type:Boolean,default:void 0}}),Mt=e=>{const{prefixCls:t,size:a,shape:n}=e,o=W({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),l=W({[`${t}-circle`]:n==="circle",[`${t}-square`]:n==="square",[`${t}-round`]:n==="round"}),i=typeof a=="number"?{width:`${a}px`,height:`${a}px`,lineHeight:`${a}px`}:{};return s("span",{class:W(t,o,l),style:i},null)};Mt.displayName="SkeletonElement";const Xe=Mt,sn=new va("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),je=e=>({height:e,lineHeight:`${e}px`}),_e=e=>r({width:e},je(e)),dn=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:sn,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),Ve=e=>r({width:e*5,minWidth:e*5},je(e)),cn=e=>{const{skeletonAvatarCls:t,color:a,controlHeight:n,controlHeightLG:o,controlHeightSM:l}=e;return{[`${t}`]:r({display:"inline-block",verticalAlign:"top",background:a},_e(n)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:r({},_e(o)),[`${t}${t}-sm`]:r({},_e(l))}},un=e=>{const{controlHeight:t,borderRadiusSM:a,skeletonInputCls:n,controlHeightLG:o,controlHeightSM:l,color:i}=e;return{[`${n}`]:r({display:"inline-block",verticalAlign:"top",background:i,borderRadius:a},Ve(t)),[`${n}-lg`]:r({},Ve(o)),[`${n}-sm`]:r({},Ve(l))}},wt=e=>r({width:e},je(e)),vn=e=>{const{skeletonImageCls:t,imageSizeBase:a,color:n,borderRadiusSM:o}=e;return{[`${t}`]:r(r({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:n,borderRadius:o},wt(a*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:r(r({},wt(a)),{maxWidth:a*4,maxHeight:a*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Ye=(e,t,a)=>{const{skeletonButtonCls:n}=e;return{[`${a}${n}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${a}${n}-round`]:{borderRadius:t}}},Ue=e=>r({width:e*2,minWidth:e*2},je(e)),pn=e=>{const{borderRadiusSM:t,skeletonButtonCls:a,controlHeight:n,controlHeightLG:o,controlHeightSM:l,color:i}=e;return r(r(r(r(r({[`${a}`]:r({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:n*2,minWidth:n*2},Ue(n))},Ye(e,n,a)),{[`${a}-lg`]:r({},Ue(o))}),Ye(e,o,`${a}-lg`)),{[`${a}-sm`]:r({},Ue(l))}),Ye(e,l,`${a}-sm`))},bn=e=>{const{componentCls:t,skeletonAvatarCls:a,skeletonTitleCls:n,skeletonParagraphCls:o,skeletonButtonCls:l,skeletonInputCls:i,skeletonImageCls:c,controlHeight:h,controlHeightLG:f,controlHeightSM:g,color:x,padding:b,marginSM:d,borderRadius:u,skeletonTitleHeight:$,skeletonBlockRadius:C,skeletonParagraphLineHeight:S,controlHeightXS:E,skeletonParagraphMarginTop:L}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:b,verticalAlign:"top",[`${a}`]:r({display:"inline-block",verticalAlign:"top",background:x},_e(h)),[`${a}-circle`]:{borderRadius:"50%"},[`${a}-lg`]:r({},_e(f)),[`${a}-sm`]:r({},_e(g))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${n}`]:{width:"100%",height:$,background:x,borderRadius:C,[`+ ${o}`]:{marginBlockStart:g}},[`${o}`]:{padding:0,"> li":{width:"100%",height:S,listStyle:"none",background:x,borderRadius:C,"+ li":{marginBlockStart:E}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${n}, ${o} > li`]:{borderRadius:u}}},[`${t}-with-avatar ${t}-content`]:{[`${n}`]:{marginBlockStart:d,[`+ ${o}`]:{marginBlockStart:L}}},[`${t}${t}-element`]:r(r(r(r({display:"inline-block",width:"auto"},pn(e)),cn(e)),un(e)),vn(e)),[`${t}${t}-block`]:{width:"100%",[`${l}`]:{width:"100%"},[`${i}`]:{width:"100%"}},[`${t}${t}-active`]:{[`
13
13
  ${n},
14
14
  ${o} > li,
15
15
  ${a},
16
16
  ${l},
17
17
  ${i},
18
18
  ${c}
19
- `]:r({},dn(e))}}},He=et("Skeleton",e=>{const{componentCls:t}=e,a=tt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[bn(a)]},e=>{const{colorFillContent:t,colorFill:a}=e;return{color:t,colorGradientEnd:a}}),fn=()=>({active:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},prefixCls:String,avatar:{type:[Boolean,Object],default:void 0},title:{type:[Boolean,Object],default:void 0},paragraph:{type:[Boolean,Object],default:void 0},round:{type:Boolean,default:void 0}});function Ze(e){return e&&typeof e=="object"?e:{}}function gn(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function hn(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function $n(e,t){const a={};return(!e||!t)&&(a.width="61%"),!e&&t?a.rows=3:a.rows=2,a}const mn=k({compatConfig:{MODE:3},name:"ASkeleton",props:Me(fn(),{avatar:!1,title:!0,paragraph:!0}),setup(e,t){let{slots:a}=t;const{prefixCls:n,direction:o}=ye("skeleton",e),[l,i]=He(n);return()=>{var c;const{loading:h,avatar:f,title:g,paragraph:x,active:b,round:d}=e,u=n.value;if(h||e.loading===void 0){const $=!!f||f==="",C=!!g||g==="",S=!!x||x==="";let E;if($){const p=r(r({prefixCls:`${u}-avatar`},gn(C,S)),Ze(f));E=s("div",{class:`${u}-header`},[s(Xe,p,null)])}let L;if(C||S){let p;if(C){const v=r(r({prefixCls:`${u}-title`},hn($,S)),Ze(g));p=s(lt,v,null)}let y;if(S){const v=r(r({prefixCls:`${u}-paragraph`},$n($,C)),Ze(x));y=s(rn,v,null)}L=s("div",{class:`${u}-content`},[p,y])}const M=W(u,{[`${u}-with-avatar`]:$,[`${u}-active`]:b,[`${u}-rtl`]:o.value==="rtl",[`${u}-round`]:d,[i.value]:!0});return l(s("div",{class:M},[E,L]))}return(c=a.default)===null||c===void 0?void 0:c.call(a)}}}),V=mn,yn=()=>r(r({},Ke()),{size:String,block:Boolean}),Sn=k({compatConfig:{MODE:3},name:"ASkeletonButton",props:Me(yn(),{size:"default"}),setup(e){const{prefixCls:t}=ye("skeleton",e),[a,n]=He(t),o=H(()=>W(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},n.value));return()=>a(s("div",{class:o.value},[s(Xe,D(D({},e),{},{prefixCls:`${t.value}-button`}),null)]))}}),Ht=Sn,xn=k({compatConfig:{MODE:3},name:"ASkeletonInput",props:r(r({},ot(Ke(),["shape"])),{size:String,block:Boolean}),setup(e){const{prefixCls:t}=ye("skeleton",e),[a,n]=He(t),o=H(()=>W(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},n.value));return()=>a(s("div",{class:o.value},[s(Xe,D(D({},e),{},{prefixCls:`${t.value}-input`}),null)]))}}),Dt=xn,Cn="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",wn=k({compatConfig:{MODE:3},name:"ASkeletonImage",props:ot(Ke(),["size","shape","active"]),setup(e){const{prefixCls:t}=ye("skeleton",e),[a,n]=He(t),o=H(()=>W(t.value,`${t.value}-element`,n.value));return()=>a(s("div",{class:o.value},[s("div",{class:`${t.value}-image`},[s("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",class:`${t.value}-image-svg`},[s("path",{d:Cn,class:`${t.value}-image-path`},null)])])]))}}),kt=wn,Tn=()=>r(r({},Ke()),{shape:String}),_n=k({compatConfig:{MODE:3},name:"ASkeletonAvatar",props:Me(Tn(),{size:"default",shape:"circle"}),setup(e){const{prefixCls:t}=ye("skeleton",e),[a,n]=He(t),o=H(()=>W(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active},n.value));return()=>a(s("div",{class:o.value},[s(Xe,D(D({},e),{},{prefixCls:`${t.value}-avatar`}),null)]))}}),zt=_n;V.Button=Ht;V.Avatar=zt;V.Input=Dt;V.Image=kt;V.Title=lt;V.install=function(e){return e.component(V.name,V),e.component(V.Button.name,Ht),e.component(V.Avatar.name,zt),e.component(V.Input.name,Dt),e.component(V.Image.name,kt),e.component(V.Title.name,lt),e};const{TabPane:Pn}=Te,Bn=()=>({prefixCls:String,title:re.any,extra:re.any,bordered:{type:Boolean,default:!0},bodyStyle:{type:Object,default:void 0},headStyle:{type:Object,default:void 0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},type:{type:String},size:{type:String},actions:re.any,tabList:{type:Array},tabBarExtraContent:re.any,activeTabKey:String,defaultActiveTabKey:String,cover:re.any,onTabChange:{type:Function}}),In=k({compatConfig:{MODE:3},name:"ACard",inheritAttrs:!1,props:Bn(),slots:Object,setup(e,t){let{slots:a,attrs:n}=t;const{prefixCls:o,direction:l,size:i}=ye("card",e),[c,h]=tn(o),f=b=>b.map((u,$)=>ft(u)&&!ba(u)||!ft(u)?s("li",{style:{width:`${100/b.length}%`},key:`action-${$}`},[s("span",null,[u])]):null),g=b=>{var d;(d=e.onTabChange)===null||d===void 0||d.call(e,b)},x=function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d;return b.forEach(u=>{u&&fa(u.type)&&u.type.__ANT_CARD_GRID&&(d=!0)}),d};return()=>{var b,d,u,$,C,S;const{headStyle:E={},bodyStyle:L={},loading:M,bordered:p=!0,type:y,tabList:v,hoverable:_,activeTabKey:R,defaultActiveTabKey:I,tabBarExtraContent:N=Ee((b=a.tabBarExtraContent)===null||b===void 0?void 0:b.call(a)),title:Q=Ee((d=a.title)===null||d===void 0?void 0:d.call(a)),extra:te=Ee((u=a.extra)===null||u===void 0?void 0:u.call(a)),actions:oe=Ee(($=a.actions)===null||$===void 0?void 0:$.call(a)),cover:P=Ee((C=a.cover)===null||C===void 0?void 0:C.call(a))}=e,G=Pt((S=a.default)===null||S===void 0?void 0:S.call(a)),w=o.value,Y={[`${w}`]:!0,[h.value]:!0,[`${w}-loading`]:M,[`${w}-bordered`]:p,[`${w}-hoverable`]:!!_,[`${w}-contain-grid`]:x(G),[`${w}-contain-tabs`]:v&&v.length,[`${w}-${i.value}`]:i.value,[`${w}-type-${y}`]:!!y,[`${w}-rtl`]:l.value==="rtl"},U=s(V,{loading:!0,active:!0,paragraph:{rows:4},title:!1},{default:()=>[G]}),se=R!==void 0,K={size:"large",[se?"activeKey":"defaultActiveKey"]:se?R:I,onChange:g,class:`${w}-head-tabs`};let de;const ce=v&&v.length?s(Te,K,{default:()=>[v.map(ie=>{const{tab:xe,slots:ve}=ie,Pe=ve==null?void 0:ve.tab;ze(!ve,"Card","tabList slots is deprecated, Please use `customTab` instead.");let Be=xe!==void 0?xe:a[Pe]?a[Pe](ie):null;return Be=pa(a,"customTab",ie,()=>[Be]),s(Pn,{tab:Be,key:ie.key,disabled:ie.disabled},null)})],rightExtra:N?()=>N:null}):null;(Q||te||ce)&&(de=s("div",{class:`${w}-head`,style:E},[s("div",{class:`${w}-head-wrapper`},[Q&&s("div",{class:`${w}-head-title`},[Q]),te&&s("div",{class:`${w}-extra`},[te])]),ce]));const he=P?s("div",{class:`${w}-cover`},[P]):null,Se=s("div",{class:`${w}-body`,style:L},[M?U:G]),ue=oe&&oe.length?s("ul",{class:`${w}-actions`},[f(oe)]):null;return c(s("div",D(D({ref:"cardContainerRef"},n),{},{class:[Y,n.class]}),[de,he,G&&G.length?Se:null,ue]))}}}),En=In;export{Qe as A,En as C,V as S,Te as T,Ht as a,zt as b,Dt as c,kt as d,lt as e};
20
- //# sourceMappingURL=Card.957a87b2.js.map
19
+ `]:r({},dn(e))}}},He=et("Skeleton",e=>{const{componentCls:t}=e,a=tt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,skeletonTitleHeight:e.controlHeight/2,skeletonBlockRadius:e.borderRadiusSM,skeletonParagraphLineHeight:e.controlHeight/2,skeletonParagraphMarginTop:e.marginLG+e.marginXXS,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.color} 25%, ${e.colorGradientEnd} 37%, ${e.color} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[bn(a)]},e=>{const{colorFillContent:t,colorFill:a}=e;return{color:t,colorGradientEnd:a}}),fn=()=>({active:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},prefixCls:String,avatar:{type:[Boolean,Object],default:void 0},title:{type:[Boolean,Object],default:void 0},paragraph:{type:[Boolean,Object],default:void 0},round:{type:Boolean,default:void 0}});function Ze(e){return e&&typeof e=="object"?e:{}}function gn(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function hn(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function $n(e,t){const a={};return(!e||!t)&&(a.width="61%"),!e&&t?a.rows=3:a.rows=2,a}const mn=k({compatConfig:{MODE:3},name:"ASkeleton",props:Me(fn(),{avatar:!1,title:!0,paragraph:!0}),setup(e,t){let{slots:a}=t;const{prefixCls:n,direction:o}=ye("skeleton",e),[l,i]=He(n);return()=>{var c;const{loading:h,avatar:f,title:g,paragraph:x,active:b,round:d}=e,u=n.value;if(h||e.loading===void 0){const $=!!f||f==="",C=!!g||g==="",S=!!x||x==="";let E;if($){const p=r(r({prefixCls:`${u}-avatar`},gn(C,S)),Ze(f));E=s("div",{class:`${u}-header`},[s(Xe,p,null)])}let L;if(C||S){let p;if(C){const v=r(r({prefixCls:`${u}-title`},hn($,S)),Ze(g));p=s(lt,v,null)}let y;if(S){const v=r(r({prefixCls:`${u}-paragraph`},$n($,C)),Ze(x));y=s(rn,v,null)}L=s("div",{class:`${u}-content`},[p,y])}const M=W(u,{[`${u}-with-avatar`]:$,[`${u}-active`]:b,[`${u}-rtl`]:o.value==="rtl",[`${u}-round`]:d,[i.value]:!0});return l(s("div",{class:M},[E,L]))}return(c=a.default)===null||c===void 0?void 0:c.call(a)}}}),V=mn,yn=()=>r(r({},Ke()),{size:String,block:Boolean}),Sn=k({compatConfig:{MODE:3},name:"ASkeletonButton",props:Me(yn(),{size:"default"}),setup(e){const{prefixCls:t}=ye("skeleton",e),[a,n]=He(t),o=H(()=>W(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},n.value));return()=>a(s("div",{class:o.value},[s(Xe,D(D({},e),{},{prefixCls:`${t.value}-button`}),null)]))}}),Ht=Sn,xn=k({compatConfig:{MODE:3},name:"ASkeletonInput",props:r(r({},ot(Ke(),["shape"])),{size:String,block:Boolean}),setup(e){const{prefixCls:t}=ye("skeleton",e),[a,n]=He(t),o=H(()=>W(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active,[`${t.value}-block`]:e.block},n.value));return()=>a(s("div",{class:o.value},[s(Xe,D(D({},e),{},{prefixCls:`${t.value}-input`}),null)]))}}),Dt=xn,Cn="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",wn=k({compatConfig:{MODE:3},name:"ASkeletonImage",props:ot(Ke(),["size","shape","active"]),setup(e){const{prefixCls:t}=ye("skeleton",e),[a,n]=He(t),o=H(()=>W(t.value,`${t.value}-element`,n.value));return()=>a(s("div",{class:o.value},[s("div",{class:`${t.value}-image`},[s("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",class:`${t.value}-image-svg`},[s("path",{d:Cn,class:`${t.value}-image-path`},null)])])]))}}),kt=wn,Tn=()=>r(r({},Ke()),{shape:String}),_n=k({compatConfig:{MODE:3},name:"ASkeletonAvatar",props:Me(Tn(),{size:"default",shape:"circle"}),setup(e){const{prefixCls:t}=ye("skeleton",e),[a,n]=He(t),o=H(()=>W(t.value,`${t.value}-element`,{[`${t.value}-active`]:e.active},n.value));return()=>a(s("div",{class:o.value},[s(Xe,D(D({},e),{},{prefixCls:`${t.value}-avatar`}),null)]))}}),zt=_n;V.Button=Ht;V.Avatar=zt;V.Input=Dt;V.Image=kt;V.Title=lt;V.install=function(e){return e.component(V.name,V),e.component(V.Button.name,Ht),e.component(V.Avatar.name,zt),e.component(V.Input.name,Dt),e.component(V.Image.name,kt),e.component(V.Title.name,lt),e};const{TabPane:Pn}=Te,Bn=()=>({prefixCls:String,title:re.any,extra:re.any,bordered:{type:Boolean,default:!0},bodyStyle:{type:Object,default:void 0},headStyle:{type:Object,default:void 0},loading:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1},type:{type:String},size:{type:String},actions:re.any,tabList:{type:Array},tabBarExtraContent:re.any,activeTabKey:String,defaultActiveTabKey:String,cover:re.any,onTabChange:{type:Function}}),In=k({compatConfig:{MODE:3},name:"ACard",inheritAttrs:!1,props:Bn(),slots:Object,setup(e,t){let{slots:a,attrs:n}=t;const{prefixCls:o,direction:l,size:i}=ye("card",e),[c,h]=tn(o),f=b=>b.map((u,$)=>ft(u)&&!ba(u)||!ft(u)?s("li",{style:{width:`${100/b.length}%`},key:`action-${$}`},[s("span",null,[u])]):null),g=b=>{var d;(d=e.onTabChange)===null||d===void 0||d.call(e,b)},x=function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d;return b.forEach(u=>{u&&fa(u.type)&&u.type.__ANT_CARD_GRID&&(d=!0)}),d};return()=>{var b,d,u,$,C,S;const{headStyle:E={},bodyStyle:L={},loading:M,bordered:p=!0,type:y,tabList:v,hoverable:_,activeTabKey:R,defaultActiveTabKey:I,tabBarExtraContent:N=Ee((b=a.tabBarExtraContent)===null||b===void 0?void 0:b.call(a)),title:J=Ee((d=a.title)===null||d===void 0?void 0:d.call(a)),extra:te=Ee((u=a.extra)===null||u===void 0?void 0:u.call(a)),actions:oe=Ee(($=a.actions)===null||$===void 0?void 0:$.call(a)),cover:P=Ee((C=a.cover)===null||C===void 0?void 0:C.call(a))}=e,G=Pt((S=a.default)===null||S===void 0?void 0:S.call(a)),w=o.value,Y={[`${w}`]:!0,[h.value]:!0,[`${w}-loading`]:M,[`${w}-bordered`]:p,[`${w}-hoverable`]:!!_,[`${w}-contain-grid`]:x(G),[`${w}-contain-tabs`]:v&&v.length,[`${w}-${i.value}`]:i.value,[`${w}-type-${y}`]:!!y,[`${w}-rtl`]:l.value==="rtl"},U=s(V,{loading:!0,active:!0,paragraph:{rows:4},title:!1},{default:()=>[G]}),se=R!==void 0,K={size:"large",[se?"activeKey":"defaultActiveKey"]:se?R:I,onChange:g,class:`${w}-head-tabs`};let de;const ce=v&&v.length?s(Te,K,{default:()=>[v.map(ie=>{const{tab:xe,slots:ve}=ie,Pe=ve==null?void 0:ve.tab;ze(!ve,"Card","tabList slots is deprecated, Please use `customTab` instead.");let Be=xe!==void 0?xe:a[Pe]?a[Pe](ie):null;return Be=pa(a,"customTab",ie,()=>[Be]),s(Pn,{tab:Be,key:ie.key,disabled:ie.disabled},null)})],rightExtra:N?()=>N:null}):null;(J||te||ce)&&(de=s("div",{class:`${w}-head`,style:E},[s("div",{class:`${w}-head-wrapper`},[J&&s("div",{class:`${w}-head-title`},[J]),te&&s("div",{class:`${w}-extra`},[te])]),ce]));const he=P?s("div",{class:`${w}-cover`},[P]):null,Se=s("div",{class:`${w}-body`,style:L},[M?U:G]),ue=oe&&oe.length?s("ul",{class:`${w}-actions`},[f(oe)]):null;return c(s("div",D(D({ref:"cardContainerRef"},n),{},{class:[Y,n.class]}),[de,he,G&&G.length?Se:null,ue]))}}}),En=In;export{Je as A,En as C,V as S,Te as T,Ht as a,zt as b,Dt as c,kt as d,lt as e};
20
+ //# sourceMappingURL=Card.714646f7.js.map