abstra 3.24.1__py3-none-any.whl → 3.24.3__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 (323) hide show
  1. {abstra-3.24.1.dist-info → abstra-3.24.3.dist-info}/METADATA +1 -1
  2. {abstra-3.24.1.dist-info → abstra-3.24.3.dist-info}/RECORD +202 -206
  3. abstra_internals/contracts_generated.py +1016 -758
  4. abstra_internals/controllers/git.py +4 -2
  5. abstra_internals/controllers/main.py +63 -1
  6. abstra_internals/repositories/git/git_test.py +5 -2
  7. abstra_internals/repositories/git/native.py +13 -7
  8. abstra_internals/repositories/git/types.py +1 -1
  9. abstra_internals/repositories/project/project.py +1 -1
  10. abstra_internals/server/routes/git.py +11 -2
  11. abstra_internals/server/routes/mcp.py +1 -0
  12. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.13670ae7.js +2 -0
  13. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.1035457c.js +2 -0
  14. abstra_statics/dist/assets/ApiKeys.9b0b18b5.js +2 -0
  15. abstra_statics/dist/assets/App.9ab9cabb.js +2 -0
  16. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.6713c9c9.js +2 -0
  17. abstra_statics/dist/assets/BaseLayout.28c01b5b.js +2 -0
  18. abstra_statics/dist/assets/Billing.f9062d88.js +2 -0
  19. abstra_statics/dist/assets/{Breadcrumb.5c786c09.js → Breadcrumb.e54636d6.js} +3 -3
  20. abstra_statics/dist/assets/Builds.38c0f966.css +1 -0
  21. abstra_statics/dist/assets/Builds.c7363e1b.js +2 -0
  22. abstra_statics/dist/assets/{Card.fc77085c.js → Card.4a8a30bb.js} +5 -5
  23. abstra_statics/dist/assets/{CircularLoading.998b223a.js → CircularLoading.d81a4cac.js} +2 -2
  24. abstra_statics/dist/assets/CloseCircleOutlined.39b5ab06.js +2 -0
  25. abstra_statics/dist/assets/ConnectorsView.b594798e.css +1 -0
  26. abstra_statics/dist/assets/ConnectorsView.d4b67e2e.js +2 -0
  27. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.5360224e.js +2 -0
  28. abstra_statics/dist/assets/ContentLayout.10f24838.js +2 -0
  29. abstra_statics/dist/assets/CrudView.57e8b29a.js +2 -0
  30. abstra_statics/dist/assets/CrudView.8abe5bc2.css +1 -0
  31. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.108b18e1.js +2 -0
  32. abstra_statics/dist/assets/EditorLogin.2f00deb7.js +2 -0
  33. abstra_statics/dist/assets/EditorsView.eb87a2d8.js +2 -0
  34. abstra_statics/dist/assets/EnvVars.883a4a57.js +2 -0
  35. abstra_statics/dist/assets/Error.98b8036c.js +2 -0
  36. abstra_statics/dist/assets/{ExclamationCircleOutlined.d0aa47da.js → ExclamationCircleOutlined.2441b96e.js} +2 -2
  37. abstra_statics/dist/assets/Files.39b07d88.css +1 -0
  38. abstra_statics/dist/assets/Files.9fc8199a.js +2 -0
  39. abstra_statics/dist/assets/Form.5d562f15.js +2 -0
  40. abstra_statics/dist/assets/{FormRunner.46f6426d.css → FormRunner.1e6e7d2a.css} +1 -1
  41. abstra_statics/dist/assets/FormRunner.2b1b3c45.js +2 -0
  42. abstra_statics/dist/assets/Home.191a6dce.js +2 -0
  43. abstra_statics/dist/assets/Home.8502aa41.js +2 -0
  44. abstra_statics/dist/assets/Home.e8bf9440.css +1 -0
  45. abstra_statics/dist/assets/LoadingContainer.ac03ea28.js +2 -0
  46. abstra_statics/dist/assets/LoadingOutlined.4c40acc4.js +2 -0
  47. abstra_statics/dist/assets/Login.8bd6a07a.js +2 -0
  48. abstra_statics/dist/assets/{Login.75d13f6c.css → Login.ac75228f.css} +1 -1
  49. abstra_statics/dist/assets/Login.edfbdaea.js +2 -0
  50. abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.02acef81.js +2 -0
  51. abstra_statics/dist/assets/Logo.fc8ace6c.js +2 -0
  52. abstra_statics/dist/assets/Logs.4c6c0b3a.js +2 -0
  53. abstra_statics/dist/assets/LogsController.61f8e22d.css +1 -0
  54. abstra_statics/dist/assets/LogsController.a58ca42a.js +2 -0
  55. abstra_statics/dist/assets/Main.e6b2d2d5.js +2 -0
  56. abstra_statics/dist/assets/{MockForm.0b819a52.js → MockForm.091aa4ce.js} +2 -2
  57. abstra_statics/dist/assets/Navbar.24019fd6.js +2 -0
  58. abstra_statics/dist/assets/Navbar.61d3e0a6.css +1 -0
  59. abstra_statics/dist/assets/NewEditor.2b6f4ed3.js +8 -0
  60. abstra_statics/dist/assets/NewEditor.f2d1c0c3.css +1 -0
  61. abstra_statics/dist/assets/OidcLoginCallback.987cebba.js +2 -0
  62. abstra_statics/dist/assets/OidcLogoutCallback.6c00d878.js +2 -0
  63. abstra_statics/dist/assets/OmniChat.60ee26c8.css +1 -0
  64. abstra_statics/dist/assets/OmniChat.c78c1e51.js +6 -0
  65. abstra_statics/dist/assets/OnboardingView.687780ed.js +2 -0
  66. abstra_statics/dist/assets/OnboardingView.e871e6d8.css +1 -0
  67. abstra_statics/dist/assets/Organization.0ac1bf79.js +2 -0
  68. abstra_statics/dist/assets/Organizations.fc123489.js +2 -0
  69. abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.78877a50.js → PhArrowCounterClockwise.vue.6ab1b899.js} +2 -2
  70. abstra_statics/dist/assets/{PhArrowSquareOut.vue.2ddfc219.js → PhArrowSquareOut.vue.1cebb708.js} +2 -2
  71. abstra_statics/dist/assets/{PhClockCounterClockwise.vue.854c3cb5.js → PhClockCounterClockwise.vue.dae2e135.js} +2 -2
  72. abstra_statics/dist/assets/{PhCopy.vue.d116ddfb.js → PhCopy.vue.71703533.js} +2 -2
  73. abstra_statics/dist/assets/PhCopySimple.vue.369eb629.js +2 -0
  74. abstra_statics/dist/assets/{PhCube.vue.abf4a034.js → PhCube.vue.f8549a9b.js} +2 -2
  75. abstra_statics/dist/assets/{PhDatabase.vue.a94d95f6.js → PhDatabase.vue.0d3246d7.js} +2 -2
  76. abstra_statics/dist/assets/{PhDotsThreeVertical.vue.5e8ae2a9.js → PhDotsThreeVertical.vue.9d76c4de.js} +2 -2
  77. abstra_statics/dist/assets/{PhDownloadSimple.vue.e88f64f1.js → PhDownloadSimple.vue.21156b6d.js} +2 -2
  78. abstra_statics/dist/assets/PhFileArrowUp.vue.406b22e3.js +2 -0
  79. abstra_statics/dist/assets/PhFilePlus.vue.b180df90.js +2 -0
  80. abstra_statics/dist/assets/{PhFolderPlus.vue.21d377a3.js → PhFolderPlus.vue.b18fd061.js} +2 -2
  81. abstra_statics/dist/assets/{PhGear.vue.363dd83c.js → PhGear.vue.bed38929.js} +2 -2
  82. abstra_statics/dist/assets/{PhKey.vue.23f3a465.js → PhKey.vue.6ef5fdd3.js} +2 -2
  83. abstra_statics/dist/assets/{PhPencil.vue.feb383e2.js → PhPencil.vue.0fc0fcc0.js} +2 -2
  84. abstra_statics/dist/assets/PhPencilSimple.vue.0707effd.js +2 -0
  85. abstra_statics/dist/assets/PhRocket.vue.761192f5.js +2 -0
  86. abstra_statics/dist/assets/{PhSignOut.vue.d1d6498f.js → PhSignOut.vue.8d8dfd96.js} +2 -2
  87. abstra_statics/dist/assets/{PhSparkle.vue.b6712d34.js → PhSparkle.vue.18ed0427.js} +2 -2
  88. abstra_statics/dist/assets/PhTranslate.vue.00a17a08.js +2 -0
  89. abstra_statics/dist/assets/{PhUsersThree.vue.8889f957.js → PhUsersThree.vue.d69f0723.js} +2 -2
  90. abstra_statics/dist/assets/{PhWarningCircle.vue.2087be7d.js → PhWarningCircle.vue.20bfeba7.js} +2 -2
  91. abstra_statics/dist/assets/PhWebhooksLogo.vue.58a98824.js +2 -0
  92. abstra_statics/dist/assets/PlayerConfigProvider.ad360920.js +2 -0
  93. abstra_statics/dist/assets/{PlayerNavbar.77209eae.css → PlayerNavbar.4dc29a45.css} +1 -1
  94. abstra_statics/dist/assets/PlayerNavbar.97e8dee9.js +2 -0
  95. abstra_statics/dist/assets/Project.6c4642b5.js +2 -0
  96. abstra_statics/dist/assets/Project.9c418d2e.css +1 -0
  97. abstra_statics/dist/assets/ProjectLogin.f92a038d.js +2 -0
  98. abstra_statics/dist/assets/ProjectSettings.582746dc.js +2 -0
  99. abstra_statics/dist/assets/ProjectsView.a6b3674b.js +2 -0
  100. abstra_statics/dist/assets/ProjectsView.e26ddfd5.css +1 -0
  101. abstra_statics/dist/assets/SaveButton.363ea20f.css +1 -0
  102. abstra_statics/dist/assets/SaveButton.c3ad6e9b.js +2 -0
  103. abstra_statics/dist/assets/{ScrollArea.vue_vue_type_script_setup_true_lang.6d724b05.js → ScrollArea.vue_vue_type_script_setup_true_lang.62178939.js} +2 -2
  104. abstra_statics/dist/assets/{Sidebar.29baeab0.css → Sidebar.161522da.css} +1 -1
  105. abstra_statics/dist/assets/Sidebar.69f9369e.js +2 -0
  106. abstra_statics/dist/assets/Sql.6d9a778c.css +1 -0
  107. abstra_statics/dist/assets/Sql.cdefe5b9.js +5 -0
  108. abstra_statics/dist/assets/{Steps.dd51a108.js → Steps.82252fc0.js} +2 -2
  109. abstra_statics/dist/assets/TableCard.5462c89d.js +2 -0
  110. abstra_statics/dist/assets/{TableEditor.5853a363.css → TableEditor.20fecc75.css} +1 -1
  111. abstra_statics/dist/assets/TableEditor.fcfa13de.js +2 -0
  112. abstra_statics/dist/assets/Tables.4ee84a7c.js +39 -0
  113. abstra_statics/dist/assets/TablesDiagram.b1d1579e.js +15 -0
  114. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.3e5206e0.js +2 -0
  115. abstra_statics/dist/assets/Tasks.fd2605bd.js +2 -0
  116. abstra_statics/dist/assets/{UploadOutlined.9aa845de.js → UploadOutlined.64837788.js} +2 -2
  117. abstra_statics/dist/assets/View.b144c5e3.js +2 -0
  118. abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.c79117ce.js +2 -0
  119. abstra_statics/dist/assets/Watermark.c0756030.js +2 -0
  120. abstra_statics/dist/assets/WebEditor.774989ad.js +2 -0
  121. abstra_statics/dist/assets/WebEditor.b886e4d1.css +1 -0
  122. abstra_statics/dist/assets/WidgetPreview.4fd6afc0.js +2 -0
  123. abstra_statics/dist/assets/WorkflowViewer.2666936e.js +2 -0
  124. abstra_statics/dist/assets/WorkflowViewer.3b6aee8e.css +1 -0
  125. abstra_statics/dist/assets/ant-design.b3eefa58.js +2 -0
  126. abstra_statics/dist/assets/apiKey.ee792d72.js +2 -0
  127. abstra_statics/dist/assets/asyncComputed.c73d027a.js +2 -0
  128. abstra_statics/dist/assets/{build.45b511b6.js → build.6e7d77b3.js} +2 -2
  129. abstra_statics/dist/assets/colorHelpers.5ee17d14.js +2 -0
  130. abstra_statics/dist/assets/{console.f0f09e6f.js → console.38bda98e.js} +4 -4
  131. abstra_statics/dist/assets/constants.be8ad36c.js +2 -0
  132. abstra_statics/dist/assets/contracts.generated.f01de5a3.js +2 -0
  133. abstra_statics/dist/assets/{cssMode.23271d4a.js → cssMode.408206bf.js} +2 -2
  134. abstra_statics/dist/assets/{datetime.82608dfb.js → datetime.a6d58ce1.js} +2 -2
  135. abstra_statics/dist/assets/dayjs.703ebc20.js +2 -0
  136. abstra_statics/dist/assets/editor.a77b56bd.js +2 -0
  137. abstra_statics/dist/assets/editor.main.a1ebf0ab.js +2 -0
  138. abstra_statics/dist/assets/fetch.cd29ef4c.js +2 -0
  139. abstra_statics/dist/assets/{files.8b58ee7e.js → files.1c1692f5.js} +2 -2
  140. abstra_statics/dist/assets/{folder.13d3acac.js → folder.1b74b12c.js} +2 -2
  141. abstra_statics/dist/assets/{freemarker2.f79b510b.js → freemarker2.e62e067c.js} +2 -2
  142. abstra_statics/dist/assets/{handlebars.07d5febe.js → handlebars.604fc901.js} +2 -2
  143. abstra_statics/dist/assets/{html.7d6a59b4.js → html.c02f177e.js} +2 -2
  144. abstra_statics/dist/assets/{htmlMode.7779ff94.js → htmlMode.64078e03.js} +2 -2
  145. abstra_statics/dist/assets/index.015caad7.js +2 -0
  146. abstra_statics/dist/assets/index.2ec95eae.js +2 -0
  147. abstra_statics/dist/assets/index.5197afb2.js +2 -0
  148. abstra_statics/dist/assets/{index.482df04a.js → index.82590a75.js} +2 -2
  149. abstra_statics/dist/assets/{index.d31da2c3.js → index.82842143.js} +2 -2
  150. abstra_statics/dist/assets/{index.e71a5f84.js → index.a12eba98.js} +3 -3
  151. abstra_statics/dist/assets/index.b72cb2b3.js +2 -0
  152. abstra_statics/dist/assets/{index.c8a56795.js → index.b91afb03.js} +2 -2
  153. abstra_statics/dist/assets/index.bec0ecd0.js +4 -0
  154. abstra_statics/dist/assets/{index.57042181.css → index.da037bc0.css} +1 -1
  155. abstra_statics/dist/assets/{javascript.4c528c2c.js → javascript.57026f87.js} +2 -2
  156. abstra_statics/dist/assets/{jsonMode.d6441e9d.js → jsonMode.9b45b375.js} +2 -2
  157. abstra_statics/dist/assets/{jwt-decode.9f7a5511.css → jwt-decode.c5760184.css} +2 -2
  158. abstra_statics/dist/assets/{jwt-decode.esm.54a1ea22.js → jwt-decode.esm.3348bca5.js} +197 -197
  159. abstra_statics/dist/assets/{linters.a0f2aa84.js → linters.903f3240.js} +2 -2
  160. abstra_statics/dist/assets/{liquid.0c441ad2.js → liquid.233d5164.js} +2 -2
  161. abstra_statics/dist/assets/member.d878cf3f.js +2 -0
  162. abstra_statics/dist/assets/metadata.9f7495db.js +2 -0
  163. abstra_statics/dist/assets/omniChatStore.40ad0b1b.js +9 -0
  164. abstra_statics/dist/assets/omniChatStore.b58e3bed.css +1 -0
  165. abstra_statics/dist/assets/{organization.668d1b58.js → organization.8f08e075.js} +2 -2
  166. abstra_statics/dist/assets/os.8ffdbf05.js +2 -0
  167. abstra_statics/dist/assets/player.7112583e.js +2 -0
  168. abstra_statics/dist/assets/{plotly.min.2a87d7e2.js → plotly.min.da87d61b.js} +2 -2
  169. abstra_statics/dist/assets/polling.f547718c.js +2 -0
  170. abstra_statics/dist/assets/{project.1b8374f4.js → project.2483de10.js} +2 -2
  171. abstra_statics/dist/assets/{python.7ac27a56.js → python.1bdbd404.js} +3 -3
  172. abstra_statics/dist/assets/{razor.860a0279.js → razor.be821b87.js} +3 -3
  173. abstra_statics/dist/assets/{record.e83a2eb2.js → record.a108da5a.js} +2 -2
  174. abstra_statics/dist/assets/redirect.eedb2bf6.js +2 -0
  175. abstra_statics/dist/assets/{repository.3a331f0f.js → repository.353e892d.js} +2 -2
  176. abstra_statics/dist/assets/repository.48119e01.js +2 -0
  177. abstra_statics/dist/assets/repository.677ca13c.js +2 -0
  178. abstra_statics/dist/assets/{router.4dfadf5d.js → router.c6e27700.js} +4 -4
  179. abstra_statics/dist/assets/router.c7abfb0c.js +2 -0
  180. abstra_statics/dist/assets/string.998fa621.js +2 -0
  181. abstra_statics/dist/assets/{tables.1bcb1140.js → tables.9701f90c.js} +2 -2
  182. abstra_statics/dist/assets/tasksController.5db769f7.js +4 -0
  183. abstra_statics/dist/assets/{toggleHighContrast.9535bf54.js → toggleHighContrast.23d5a1ab.js} +7 -7
  184. abstra_statics/dist/assets/{tsMode.c0f9fe1a.js → tsMode.4558d65a.js} +2 -2
  185. abstra_statics/dist/assets/{typescript.310eae6d.js → typescript.4445d2fa.js} +3 -3
  186. abstra_statics/dist/assets/url.5d02a63f.js +2 -0
  187. abstra_statics/dist/assets/{useCodebaseEvents.276cc8f0.js → useCodebaseEvents.6ebbc5a2.js} +2 -2
  188. abstra_statics/dist/assets/useTables.4d5edd80.js +2 -0
  189. abstra_statics/dist/assets/userStore.34b8f1eb.js +2 -0
  190. abstra_statics/dist/assets/uuid.6980e2bb.js +2 -0
  191. abstra_statics/dist/assets/vue-flow-background.f1022925.js +2 -0
  192. abstra_statics/dist/assets/{vue-flow-core.6cb99d32.js → vue-flow-core.0de753a6.js} +2 -2
  193. abstra_statics/dist/assets/{vue-quill.esm-bundler.e3d34d0e.js → vue-quill.esm-bundler.8f4ad2b3.js} +2 -2
  194. abstra_statics/dist/assets/{workspaceStore.fac1e9a9.js → workspaceStore.5d3f2aec.js} +2 -2
  195. abstra_statics/dist/assets/{xml.04864db4.js → xml.8a25758b.js} +3 -3
  196. abstra_statics/dist/assets/{yaml.f30375fe.js → yaml.e466330b.js} +3 -3
  197. abstra_statics/dist/console.html +15 -15
  198. abstra_statics/dist/editor.html +15 -15
  199. abstra_statics/dist/player.html +10 -10
  200. abstra/connectors/banking/__init__.py +0 -0
  201. abstra/connectors/banking/brazil.py +0 -5
  202. abstra_internals/services/banking/__init__.py +0 -3
  203. abstra_internals/services/banking/banking_service.py +0 -104
  204. abstra_internals/services/banking/client_factory.py +0 -70
  205. abstra_internals/services/banking/sdk/__init__.py +0 -0
  206. abstra_internals/services/banking/sdk/generate_totalbank_api.py +0 -383
  207. abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.aefce2d3.js +0 -2
  208. abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.28bc9fc9.js +0 -2
  209. abstra_statics/dist/assets/ApiKeys.3c1e70dc.js +0 -2
  210. abstra_statics/dist/assets/App.9d8bd2aa.js +0 -2
  211. abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.a64c7cee.js +0 -2
  212. abstra_statics/dist/assets/BaseLayout.72a6c8f2.js +0 -2
  213. abstra_statics/dist/assets/Billing.6b07f282.js +0 -2
  214. abstra_statics/dist/assets/Builds.ace9e3da.css +0 -1
  215. abstra_statics/dist/assets/Builds.d8c5c61b.js +0 -2
  216. abstra_statics/dist/assets/CloseCircleOutlined.9ff269cc.js +0 -2
  217. abstra_statics/dist/assets/ConnectorsView.33c5380f.css +0 -1
  218. abstra_statics/dist/assets/ConnectorsView.e670738b.js +0 -2
  219. abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.3ca66327.js +0 -2
  220. abstra_statics/dist/assets/ContentLayout.0db8d7fb.js +0 -2
  221. abstra_statics/dist/assets/CrudView.cc6aeaf0.js +0 -2
  222. abstra_statics/dist/assets/CrudView.e24590ae.css +0 -1
  223. abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.689d8ce7.js +0 -2
  224. abstra_statics/dist/assets/EditorLogin.691452b4.js +0 -2
  225. abstra_statics/dist/assets/EditorsView.fcdf0186.js +0 -2
  226. abstra_statics/dist/assets/EnvVars.5519b4ce.js +0 -2
  227. abstra_statics/dist/assets/Error.11fd1f21.js +0 -2
  228. abstra_statics/dist/assets/Files.6ea18d46.js +0 -2
  229. abstra_statics/dist/assets/Files.d0e8d2ff.css +0 -1
  230. abstra_statics/dist/assets/Form.09de384c.js +0 -2
  231. abstra_statics/dist/assets/FormRunner.15be6fa0.js +0 -2
  232. abstra_statics/dist/assets/Home.3794e8b4.css +0 -1
  233. abstra_statics/dist/assets/Home.782c5702.js +0 -2
  234. abstra_statics/dist/assets/Home.7c495aa9.js +0 -2
  235. abstra_statics/dist/assets/Live.37415b2d.css +0 -1
  236. abstra_statics/dist/assets/Live.48c10605.js +0 -2
  237. abstra_statics/dist/assets/LoadingContainer.82ac3d44.js +0 -2
  238. abstra_statics/dist/assets/LoadingOutlined.66639b08.js +0 -2
  239. abstra_statics/dist/assets/Login.4a05f5c5.js +0 -2
  240. abstra_statics/dist/assets/Login.4e852955.js +0 -2
  241. abstra_statics/dist/assets/Login.vue_vue_type_script_setup_true_lang.5161f328.js +0 -2
  242. abstra_statics/dist/assets/Logo.65e0b37c.js +0 -2
  243. abstra_statics/dist/assets/Logs.7d1acf32.js +0 -2
  244. abstra_statics/dist/assets/LogsController.0eb2eb30.js +0 -2
  245. abstra_statics/dist/assets/LogsController.fb0d96c2.css +0 -1
  246. abstra_statics/dist/assets/Main.0313f4fc.js +0 -2
  247. abstra_statics/dist/assets/Navbar.2dc6d02c.css +0 -1
  248. abstra_statics/dist/assets/Navbar.ef64aa09.js +0 -2
  249. abstra_statics/dist/assets/NewEditor.b9c410fe.css +0 -1
  250. abstra_statics/dist/assets/NewEditor.c928dbe9.js +0 -8
  251. abstra_statics/dist/assets/OidcLoginCallback.42a7c4f9.js +0 -2
  252. abstra_statics/dist/assets/OidcLogoutCallback.35931a68.js +0 -2
  253. abstra_statics/dist/assets/OmniChat.73d9f6bb.js +0 -6
  254. abstra_statics/dist/assets/OmniChat.a21fec40.css +0 -1
  255. abstra_statics/dist/assets/OnboardingView.25042384.js +0 -2
  256. abstra_statics/dist/assets/OnboardingView.3996b08d.css +0 -1
  257. abstra_statics/dist/assets/Organization.66f64939.js +0 -2
  258. abstra_statics/dist/assets/Organizations.47868beb.js +0 -2
  259. abstra_statics/dist/assets/PhBookBookmark.vue.41108214.js +0 -2
  260. abstra_statics/dist/assets/PhChats.vue.71e5cb89.js +0 -2
  261. abstra_statics/dist/assets/PhCopySimple.vue.5d0f839d.js +0 -2
  262. abstra_statics/dist/assets/PhPencilSimple.vue.ec0eebb4.js +0 -2
  263. abstra_statics/dist/assets/PhRocket.vue.261a42b2.js +0 -2
  264. abstra_statics/dist/assets/PhUserList.vue.e0b8c21b.js +0 -2
  265. abstra_statics/dist/assets/PhWebhooksLogo.vue.d164db1e.js +0 -2
  266. abstra_statics/dist/assets/PlayerConfigProvider.28e29025.js +0 -2
  267. abstra_statics/dist/assets/PlayerNavbar.aaad1dfd.js +0 -2
  268. abstra_statics/dist/assets/Project.2de506d7.js +0 -2
  269. abstra_statics/dist/assets/Project.9c75c141.css +0 -1
  270. abstra_statics/dist/assets/ProjectLogin.22c8b093.js +0 -2
  271. abstra_statics/dist/assets/ProjectSettings.d065c292.js +0 -2
  272. abstra_statics/dist/assets/ProjectsView.16d8ecf6.css +0 -1
  273. abstra_statics/dist/assets/ProjectsView.cbd118ac.js +0 -2
  274. abstra_statics/dist/assets/SaveButton.428227de.js +0 -2
  275. abstra_statics/dist/assets/SaveButton.932ac6b8.css +0 -1
  276. abstra_statics/dist/assets/Sidebar.41173d8e.js +0 -2
  277. abstra_statics/dist/assets/Sql.90e6e2ba.css +0 -1
  278. abstra_statics/dist/assets/Sql.c070dd2c.js +0 -5
  279. abstra_statics/dist/assets/TableCard.c9a1cf41.js +0 -2
  280. abstra_statics/dist/assets/TableEditor.1bc47a95.js +0 -2
  281. abstra_statics/dist/assets/Tables.eff119eb.js +0 -2
  282. abstra_statics/dist/assets/TablesDiagram.d633acaf.js +0 -15
  283. abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.cf7e34c5.js +0 -2
  284. abstra_statics/dist/assets/Tasks.c311b05f.js +0 -2
  285. abstra_statics/dist/assets/View.dd7ba25a.js +0 -2
  286. abstra_statics/dist/assets/View.vue_vue_type_script_setup_true_lang.e6563207.js +0 -2
  287. abstra_statics/dist/assets/Watermark.9c9358e3.js +0 -2
  288. abstra_statics/dist/assets/WebEditor.83f2a960.js +0 -2
  289. abstra_statics/dist/assets/WebEditor.c2e271d1.css +0 -1
  290. abstra_statics/dist/assets/WidgetPreview.7c6a231c.js +0 -2
  291. abstra_statics/dist/assets/ant-design.42419021.js +0 -2
  292. abstra_statics/dist/assets/apiKey.403049eb.js +0 -2
  293. abstra_statics/dist/assets/asyncComputed.47aec2b5.js +0 -2
  294. abstra_statics/dist/assets/colorHelpers.50ced1e9.js +0 -2
  295. abstra_statics/dist/assets/constants.d569f33d.js +0 -2
  296. abstra_statics/dist/assets/contracts.generated.aefe8d0a.js +0 -2
  297. abstra_statics/dist/assets/dayjs.7f71c60a.js +0 -2
  298. abstra_statics/dist/assets/editor.02184ced.js +0 -2
  299. abstra_statics/dist/assets/editor.main.0f931e87.js +0 -2
  300. abstra_statics/dist/assets/fetch.1b3d01a0.js +0 -2
  301. abstra_statics/dist/assets/index.581e2edd.js +0 -2
  302. abstra_statics/dist/assets/index.966ac1b9.js +0 -2
  303. abstra_statics/dist/assets/index.c7a996a6.js +0 -2
  304. abstra_statics/dist/assets/index.d53182ed.js +0 -4
  305. abstra_statics/dist/assets/member.2260c37e.js +0 -2
  306. abstra_statics/dist/assets/metadata.0098e20c.js +0 -2
  307. abstra_statics/dist/assets/omniChatStore.dd7a1c46.js +0 -8
  308. abstra_statics/dist/assets/omniChatStore.ec95fb81.css +0 -1
  309. abstra_statics/dist/assets/player.4ab4aed5.js +0 -2
  310. abstra_statics/dist/assets/polling.b5a32c22.js +0 -2
  311. abstra_statics/dist/assets/redirect.586749f4.js +0 -2
  312. abstra_statics/dist/assets/repository.66c7567c.js +0 -2
  313. abstra_statics/dist/assets/router.06ee2b9d.js +0 -2
  314. abstra_statics/dist/assets/string.61e11a30.js +0 -2
  315. abstra_statics/dist/assets/tasksController.f3adf725.js +0 -4
  316. abstra_statics/dist/assets/url.f5664225.js +0 -2
  317. abstra_statics/dist/assets/useTables.18fc3efd.js +0 -2
  318. abstra_statics/dist/assets/userStore.6ab1e5ac.js +0 -2
  319. abstra_statics/dist/assets/uuid.5b8ba8af.js +0 -2
  320. abstra_statics/dist/assets/vue-flow-background.af096866.js +0 -2
  321. {abstra-3.24.1.dist-info → abstra-3.24.3.dist-info}/WHEEL +0 -0
  322. {abstra-3.24.1.dist-info → abstra-3.24.3.dist-info}/entry_points.txt +0 -0
  323. {abstra-3.24.1.dist-info → abstra-3.24.3.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 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,ci 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,dk as ba,d$ as fa}from"./jwt-decode.esm.54a1ea22.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]="87ec109f-15ce-4af3-ab3f-1f88f11b1a65",e._sentryDebugIdIdentifier="sentry-dbid-87ec109f-15ce-4af3-ab3f-1f88f11b1a65")}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},
1
+ import{dS as ut,dT as Tt,dU as Gt,dV as Kt,dW as Xt,dX as jt,dY as Ft,dZ as qt,$ as q,ax as Qe,af as Ae,d as z,r as ne,c as H,f as s,be as ae,ao as W,aR as We,W as r,cp as O,U as Ne,w as me,bI as Vt,d_ as Ut,bE as Yt,bD as Zt,d$ as Jt,aC as re,aU as ee,ab as Qt,at as ea,c8 as ta,bL as aa,ar as vt,aq as D,az as Le,e0 as Re,aM as na,aW as oa,e1 as pt,ai as et,aj as tt,au as at,av as nt,e2 as _t,aw as Me,aK as Pt,ap as ot,aS as ze,bd as ia,aT as la,aH as ra,c3 as sa,aB as da,cf as ke,an as ye,bb as ca,b1 as bt,b6 as ua,e3 as Ge,a_ as va,e4 as Ee,ae as pa,e5 as ft,ds as ba,e6 as fa}from"./jwt-decode.esm.3348bca5.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]="36942dca-8ceb-4760-89db-bf20031c3e9d",e._sentryDebugIdIdentifier="sentry-dbid-36942dca-8ceb-4760-89db-bf20031c3e9d")}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=z({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=z({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=z({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(Ut,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(Yt,{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 U=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]),U&&s("button",{type:"button","aria-label":e.removeAriaLabel||"remove",tabindex:0,class:`${I}-menu-item-remove`,onClick:Y=>{Y.stopPropagation(),b(Y,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()});z({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=z({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),U=q(0);We(()=>{b.value?e.rtl?(w.value=0,U.value=Math.max(0,S.value-p.value)):(w.value=Math.min(0,p.value-S.value),U.value=0):(w.value=Math.min(0,v.value-L.value),U.value=0)});const Y=T=>T<w.value?w.value:T>U.value?U.value:T,se=q(),[K,de]=O(),ce=()=>{de(Date.now())},he=()=>{clearTimeout(se.value)},Se=(T,m)=>{T(B=>Y(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(Y(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(Y(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 k=0;for(let X=be-1;X>=0;X-=1)if(($e.get(le[X].key)||yt)[m]<B){k=X+1;break}return[ie.value,xe.value]=[k,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,k=(((j=c.value)===null||j===void 0?void 0:j.offsetHeight)||0)-be;E(Ce),M(k),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,k=l.value,X=!!Pe.value.length,Q=`${k}-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:k,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(`${k}-nav`,be),style:Ce,onKeydown:()=>{ce()}},[s(Fe,{position:"left",prefixCls:k,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:`${k}-nav-list`,style:{transform:`translate(${d.value}px, ${$.value}px)`,transition:K.value?"none":void 0}},[ct,s(It,{ref:f,prefixCls:k,locale:F,editable:j,style:r(r({},ct.length===0?void 0:De),{visibility:X?"hidden":null})},null),s("div",{class:W(`${k}-ink-bar`,{[`${k}-ink-bar-animated`]:m.inkBar}),style:Be.value},null)])]})])]}),s(Ta,D(D({},e),{},{removeAriaLabel:F==null?void 0:F.removeAriaLabel,ref:h,prefixCls:k,tabs:Pe.value,class:!X&&G.value}),Bt(n,["moreIcon"])),s(Fe,{position:"right",prefixCls:k,extra:n.rightExtra},null),s(Fe,{position:"right",prefixCls:k,extra:n.tabBarExtraContent},null)])}}}),Ia=z({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}}}}}}},za=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"}}})}})}},ka=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: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),{[`
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),ka(a),za(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:ze(),animated:ia([Boolean,Object]),renderTabBar:ee(),tabBarGutter:{type:Number},tabBarStyle:Le(),tabPosition:ze(),destroyInactiveTabPane:la(),hideAdd:Boolean,type:ze(),size:ze(),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=z({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;ke(e.onPrevClick===void 0&&e.onNextClick===void 0,"Tabs","`onPrevClick / @prevClick` and `onNextClick / @nextClick` has been removed. Please use `onTabScroll / @tabScroll` instead."),ke(e.tabBarExtraContent===void 0,"Tabs","`tabBarExtraContent` prop has been removed. Please use `rightExtra` slot instead."),ke(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 U;_==="editable-card"&&(U={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 Y;const se=r(r({},w),{moreTransitionName:`${c.value}-slide-up`,editable:U,locale:N,tabBarGutter:R,onTabClick:y,onTabScroll:oe,style:I,getPopupContainer:h.value,popupClassName:W(e.popupClassName,g.value)});te?Y=te(r(r({},se),{DefaultTabBar:St})):Y=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)}),[Y,s(Ia,D(D({destroyInactiveTabPane:J},w),{},{animated:b.value}),null)]))}}}),Te=z({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=z({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`}}},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`]:{[`
12
+ `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},Ua=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}`}}})},Ya=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`]:Ua(e),[`${t}-meta`]:Ya(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=z({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=z({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%"}}},Ue=(e,t,a)=>{const{skeletonButtonCls:n}=e;return{[`${a}${n}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${a}${n}-round`]:{borderRadius:t}}},Ye=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},Ye(n))},Ue(e,n,a)),{[`${a}-lg`]:r({},Ye(o))}),Ue(e,o,`${a}-lg`)),{[`${a}-sm`]:r({},Ye(l))}),Ue(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: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.fc77085c.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=z({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=z({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=z({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=z({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)])])]))}}),zt=wn,Tn=()=>r(r({},Ke()),{shape:String}),_n=z({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)]))}}),kt=_n;V.Button=Ht;V.Avatar=kt;V.Input=Dt;V.Image=zt;V.Title=lt;V.install=function(e){return e.component(V.name,V),e.component(V.Button.name,Ht),e.component(V.Avatar.name,kt),e.component(V.Input.name,Dt),e.component(V.Image.name,zt),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=z({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,U={[`${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"},Y=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;ke(!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?Y:G]),ue=oe&&oe.length?s("ul",{class:`${w}-actions`},[f(oe)]):null;return c(s("div",D(D({ref:"cardContainerRef"},n),{},{class:[U,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,kt as b,Dt as c,zt as d,lt as e};
20
+ //# sourceMappingURL=Card.4a8a30bb.js.map