@vtx/components 4.0.0-beta.82 → 4.0.0-beta.84

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 (328) hide show
  1. package/README.md +19 -19
  2. package/dist/27.7e3a5587.async.js +11 -0
  3. package/dist/404.html +17 -0
  4. package/dist/4217.9f9c8f33.async.js +1 -0
  5. package/dist/4571.1f5588f5.async.js +5 -0
  6. package/dist/8238.a223befe.async.js +688 -0
  7. package/dist/8552.83c22540.async.js +1265 -0
  8. package/dist/9260.21c26210.async.js +137 -0
  9. package/dist/VtxColorPicker__demos.c3e03ab4.async.js +1 -0
  10. package/dist/VtxCombogrid__demos.81dd3d19.async.js +1 -0
  11. package/dist/VtxDatagrid__demos.bb6d2937.async.js +1 -0
  12. package/dist/VtxDescriptions__demos.c1d10744.async.js +1 -0
  13. package/dist/VtxEllipsisText__demos.f56d2a6b.async.js +1 -0
  14. package/dist/VtxExportAsync__demos.8bd5e7fc.async.js +1 -0
  15. package/dist/VtxExport__demos.f0c12996.async.js +1 -0
  16. package/dist/VtxFormLayout__demos.cbc5ebda.async.js +1 -0
  17. package/dist/VtxImage__demos.1c568ce3.async.js +1 -0
  18. package/dist/VtxImport2__demos.dd7cfbcf.async.js +1 -0
  19. package/dist/VtxImport__demos.1403a7a8.async.js +1 -0
  20. package/dist/VtxInput__demos.d1aeb2ca.async.js +1 -0
  21. package/dist/VtxModal__demos.c18d608e.async.js +1 -0
  22. package/dist/VtxPageLayout__demos.d223bf3b.async.js +1 -0
  23. package/dist/VtxRpsFrame__demos.3f951d24.async.js +1 -0
  24. package/dist/VtxScrollableRow__demos.a4859102.async.js +1 -0
  25. package/dist/VtxSearch__demos.7faa294b.async.js +1 -0
  26. package/dist/VtxSelect__demos.d6eb6d2b.async.js +1 -0
  27. package/dist/VtxSignature__demos.6abe7992.async.js +1 -0
  28. package/dist/VtxSplitPane__demos.2d21bf24.async.js +1 -0
  29. package/dist/VtxStatisticsColumn__demos.c466441f.async.js +1 -0
  30. package/dist/VtxTimePicker__demos.51ecd5f0.async.js +1 -0
  31. package/dist/VtxTransferSelect__demos.1e97ae79.async.js +1 -0
  32. package/dist/VtxTransfer__demos.18ba60b0.async.js +1 -0
  33. package/dist/VtxTreeSelect__demos.8ae23eb7.async.js +1 -0
  34. package/dist/VtxTree__demos.1ae9263d.async.js +1 -0
  35. package/dist/VtxUpload__demos.f8ac6088.async.js +1 -0
  36. package/dist/VtxWangEditor__demos.4c7f9743.async.js +1 -0
  37. package/dist/changelog/index.html +17 -0
  38. package/dist/components/index.html +17 -0
  39. package/dist/components/vtx-color-picker/index.html +17 -0
  40. package/dist/components/vtx-combogrid/index.html +17 -0
  41. package/dist/components/vtx-datagrid/index.html +17 -0
  42. package/dist/components/vtx-date-picker/index.html +17 -0
  43. package/dist/components/vtx-descriptions/index.html +17 -0
  44. package/dist/components/vtx-ellipsis-text/index.html +17 -0
  45. package/dist/components/vtx-export/index.html +17 -0
  46. package/dist/components/vtx-export-async/index.html +17 -0
  47. package/dist/components/vtx-form-layout/index.html +17 -0
  48. package/dist/components/vtx-image/index.html +17 -0
  49. package/dist/components/vtx-import/index.html +17 -0
  50. package/dist/components/vtx-import2/index.html +17 -0
  51. package/dist/components/vtx-input/index.html +17 -0
  52. package/dist/components/vtx-modal/index.html +17 -0
  53. package/dist/components/vtx-page-layout/index.html +17 -0
  54. package/dist/components/vtx-rps-frame/index.html +17 -0
  55. package/dist/components/vtx-scrollable-row/index.html +17 -0
  56. package/dist/components/vtx-search/index.html +17 -0
  57. package/dist/components/vtx-select/index.html +17 -0
  58. package/dist/components/vtx-signature/index.html +17 -0
  59. package/dist/components/vtx-split-pane/index.html +17 -0
  60. package/dist/components/vtx-statistics-column/index.html +17 -0
  61. package/dist/components/vtx-time-picker/index.html +17 -0
  62. package/dist/components/vtx-transfer/index.html +17 -0
  63. package/dist/components/vtx-transfer-select/index.html +17 -0
  64. package/dist/components/vtx-tree/index.html +17 -0
  65. package/dist/components/vtx-tree-select/index.html +17 -0
  66. package/dist/components/vtx-upload/index.html +17 -0
  67. package/dist/components/vtx-wang-editor/index.html +17 -0
  68. package/dist/demos.d31d47d3.async.js +1 -0
  69. package/dist/docs/api-changes/index.html +17 -0
  70. package/dist/docs/index.html +17 -0
  71. package/dist/docs/migration-guide/index.html +17 -0
  72. package/dist/dumi__tmp-production__dumi__theme__ContextWrapper.9bd1f529.async.js +1 -0
  73. package/dist/favicon.ico +0 -0
  74. package/dist/icon.png +0 -0
  75. package/dist/index.html +17 -0
  76. package/dist/meta__site.77f4ce5c.async.js +24576 -0
  77. package/dist/meta__site.cb4ba864.chunk.css +9 -0
  78. package/dist/meta__vtx-search.1cffc39e.async.js +5 -0
  79. package/dist/nm__dumi-theme-vortex-style__dist__layouts__DemoLayout__index.d38bb511.async.js +1 -0
  80. package/dist/nm__dumi-theme-vortex-style__dist__layouts__DocLayout__index.eec80432.chunk.css +1 -0
  81. package/dist/nm__dumi__dist__client__pages__404.02c0a12e.async.js +1 -0
  82. package/dist/nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css +1 -0
  83. package/dist/nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css +1 -0
  84. package/dist/nm__dumi__dist__client__pages__Demo__index.ce4c974c.async.js +1 -0
  85. package/dist/preload_helper.91c86d97.js +1 -0
  86. package/dist/site__changelog.md.2004f9af.async.js +1 -0
  87. package/dist/site__changelog.md.33be0665.chunk.css +1 -0
  88. package/dist/site__components__index.md.33be0665.chunk.css +1 -0
  89. package/dist/site__components__index.md.4b208bce.async.js +1 -0
  90. package/dist/site__components__vtx-color-picker__index.md.33be0665.chunk.css +1 -0
  91. package/dist/site__components__vtx-color-picker__index.md.8cde38ad.async.js +1 -0
  92. package/dist/site__components__vtx-combogrid__index.md.33be0665.chunk.css +1 -0
  93. package/dist/site__components__vtx-combogrid__index.md.3a276575.async.js +19 -0
  94. package/dist/site__components__vtx-datagrid__index.md.33be0665.chunk.css +1 -0
  95. package/dist/site__components__vtx-datagrid__index.md.6b8af1e9.async.js +58 -0
  96. package/dist/site__components__vtx-date-picker__index.md.33be0665.chunk.css +1 -0
  97. package/dist/site__components__vtx-date-picker__index.md.79fe2a74.async.js +1 -0
  98. package/dist/site__components__vtx-descriptions__index.md.33be0665.chunk.css +1 -0
  99. package/dist/site__components__vtx-descriptions__index.md.581f585c.async.js +1 -0
  100. package/dist/site__components__vtx-ellipsis-text__index.md.33be0665.chunk.css +1 -0
  101. package/dist/site__components__vtx-ellipsis-text__index.md.d6064e54.async.js +1 -0
  102. package/dist/site__components__vtx-export-async__index.md.33be0665.chunk.css +1 -0
  103. package/dist/site__components__vtx-export-async__index.md.c235ace9.async.js +50 -0
  104. package/dist/site__components__vtx-export__index.md.33be0665.chunk.css +1 -0
  105. package/dist/site__components__vtx-export__index.md.54504e6f.async.js +6 -0
  106. package/dist/site__components__vtx-form-layout__index.md.1f1785cf.async.js +1 -0
  107. package/dist/site__components__vtx-form-layout__index.md.33be0665.chunk.css +1 -0
  108. package/dist/site__components__vtx-image__index.md.33be0665.chunk.css +1 -0
  109. package/dist/site__components__vtx-image__index.md.68cd709b.async.js +7 -0
  110. package/dist/site__components__vtx-import2__index.md.33be0665.chunk.css +1 -0
  111. package/dist/site__components__vtx-import2__index.md.533d4e74.async.js +22 -0
  112. package/dist/site__components__vtx-import__index.md.2cb1513e.async.js +17 -0
  113. package/dist/site__components__vtx-import__index.md.33be0665.chunk.css +1 -0
  114. package/dist/site__components__vtx-input__index.md.33be0665.chunk.css +1 -0
  115. package/dist/site__components__vtx-input__index.md.5403e1e4.async.js +1 -0
  116. package/dist/site__components__vtx-modal__index.md.0f8af11e.async.js +9 -0
  117. package/dist/site__components__vtx-modal__index.md.33be0665.chunk.css +1 -0
  118. package/dist/site__components__vtx-page-layout__index.md.33be0665.chunk.css +1 -0
  119. package/dist/site__components__vtx-page-layout__index.md.e4956ee7.async.js +1 -0
  120. package/dist/site__components__vtx-rps-frame__index.md.33be0665.chunk.css +1 -0
  121. package/dist/site__components__vtx-rps-frame__index.md.c80279df.async.js +1 -0
  122. package/dist/site__components__vtx-scrollable-row__index.md.33be0665.chunk.css +1 -0
  123. package/dist/site__components__vtx-scrollable-row__index.md.df93edc6.async.js +1 -0
  124. package/dist/site__components__vtx-search__index.md.33be0665.chunk.css +1 -0
  125. package/dist/site__components__vtx-search__index.md.d011bdaa.async.js +17 -0
  126. package/dist/site__components__vtx-select__index.md.33be0665.chunk.css +1 -0
  127. package/dist/site__components__vtx-select__index.md.de66c747.async.js +6 -0
  128. package/dist/site__components__vtx-signature__index.md.33be0665.chunk.css +1 -0
  129. package/dist/site__components__vtx-signature__index.md.b8b1093d.async.js +1 -0
  130. package/dist/site__components__vtx-split-pane__index.md.2163de9a.async.js +1 -0
  131. package/dist/site__components__vtx-split-pane__index.md.33be0665.chunk.css +1 -0
  132. package/dist/site__components__vtx-statistics-column__index.md.33be0665.chunk.css +1 -0
  133. package/dist/site__components__vtx-statistics-column__index.md.543d917f.async.js +1 -0
  134. package/dist/site__components__vtx-time-picker__index.md.33be0665.chunk.css +1 -0
  135. package/dist/site__components__vtx-time-picker__index.md.a1ef3b11.async.js +1 -0
  136. package/dist/site__components__vtx-transfer-select__index.md.33be0665.chunk.css +1 -0
  137. package/dist/site__components__vtx-transfer-select__index.md.df61e6d2.async.js +1 -0
  138. package/dist/site__components__vtx-transfer__index.md.33be0665.chunk.css +1 -0
  139. package/dist/site__components__vtx-transfer__index.md.e17f6962.async.js +1 -0
  140. package/dist/site__components__vtx-tree-select__index.md.2ee8c02c.async.js +1 -0
  141. package/dist/site__components__vtx-tree-select__index.md.33be0665.chunk.css +1 -0
  142. package/dist/site__components__vtx-tree__index.md.33be0665.chunk.css +1 -0
  143. package/dist/site__components__vtx-tree__index.md.9bd6ff74.async.js +1 -0
  144. package/dist/site__components__vtx-upload__index.md.33be0665.chunk.css +1 -0
  145. package/dist/site__components__vtx-upload__index.md.5a7d3eda.async.js +6 -0
  146. package/dist/site__components__vtx-wang-editor__index.md.33be0665.chunk.css +1 -0
  147. package/dist/site__components__vtx-wang-editor__index.md.9eb84586.async.js +7 -0
  148. package/dist/site__docs__api-changes.md.33be0665.chunk.css +1 -0
  149. package/dist/site__docs__api-changes.md.42dee6c8.async.js +6 -0
  150. package/dist/site__docs__index.md.33be0665.chunk.css +1 -0
  151. package/dist/site__docs__index.md.8e7c64da.async.js +53 -0
  152. package/dist/site__docs__migration-guide.md.33be0665.chunk.css +1 -0
  153. package/dist/site__docs__migration-guide.md.fe82d57e.async.js +194 -0
  154. package/dist/site__index.md.33be0665.chunk.css +1 -0
  155. package/dist/site__index.md.54cae2e4.async.js +1 -0
  156. package/dist/sitemap.xml +1 -0
  157. package/dist/umi.4db41586.css +1 -0
  158. package/dist/umi.e0925664.js +879 -0
  159. package/dist/vtx-search__index.md.33be0665.chunk.css +1 -0
  160. package/dist/vtx-search__index.md.a29f26ea.async.js +5 -0
  161. package/dist/~demos/site-components-vtx-date-picker-demo-demo1/index.html +17 -0
  162. package/dist/~demos/site-components-vtx-date-picker-demo-demo3/index.html +17 -0
  163. package/dist/~demos/vtxcolorpicker-demo-base/index.html +17 -0
  164. package/dist/~demos/vtxcolorpicker-demo-base-form/index.html +17 -0
  165. package/dist/~demos/vtxcombogrid-demo-demo1/index.html +17 -0
  166. package/dist/~demos/vtxcombogrid-demo-demo2/index.html +17 -0
  167. package/dist/~demos/vtxcombogrid-demo-demo3/index.html +17 -0
  168. package/dist/~demos/vtxcombogrid-demo-demo4/index.html +17 -0
  169. package/dist/~demos/vtxcombogrid-demo-demo5/index.html +17 -0
  170. package/dist/~demos/vtxdatagrid-demo-demo1/index.html +17 -0
  171. package/dist/~demos/vtxdatagrid-demo-demo10/index.html +17 -0
  172. package/dist/~demos/vtxdatagrid-demo-demo2/index.html +17 -0
  173. package/dist/~demos/vtxdatagrid-demo-demo3/index.html +17 -0
  174. package/dist/~demos/vtxdatagrid-demo-demo4/index.html +17 -0
  175. package/dist/~demos/vtxdatagrid-demo-demo5/index.html +17 -0
  176. package/dist/~demos/vtxdatagrid-demo-demo6/index.html +17 -0
  177. package/dist/~demos/vtxdatagrid-demo-demo7/index.html +17 -0
  178. package/dist/~demos/vtxdatagrid-demo-demo8/index.html +17 -0
  179. package/dist/~demos/vtxdatagrid-demo-demo9/index.html +17 -0
  180. package/dist/~demos/vtxdescriptions-demo-base/index.html +17 -0
  181. package/dist/~demos/vtxdescriptions-demo-border/index.html +17 -0
  182. package/dist/~demos/vtxellipsistext-demo-demo1/index.html +17 -0
  183. package/dist/~demos/vtxexport-demo-demo1/index.html +17 -0
  184. package/dist/~demos/vtxexportasync-demo-demo1/index.html +17 -0
  185. package/dist/~demos/vtxformlayout-demo-demo1/index.html +17 -0
  186. package/dist/~demos/vtxformlayout-demo-demo10/index.html +17 -0
  187. package/dist/~demos/vtxformlayout-demo-demo2/index.html +17 -0
  188. package/dist/~demos/vtxformlayout-demo-demo3/index.html +17 -0
  189. package/dist/~demos/vtxformlayout-demo-demo4/index.html +17 -0
  190. package/dist/~demos/vtxformlayout-demo-demo5/index.html +17 -0
  191. package/dist/~demos/vtxformlayout-demo-demo6/index.html +17 -0
  192. package/dist/~demos/vtxformlayout-demo-demo7/index.html +17 -0
  193. package/dist/~demos/vtxformlayout-demo-demo8/index.html +17 -0
  194. package/dist/~demos/vtxformlayout-demo-demo9/index.html +17 -0
  195. package/dist/~demos/vtximage-demo-demo1/index.html +17 -0
  196. package/dist/~demos/vtximage-demo-demo2/index.html +17 -0
  197. package/dist/~demos/vtximage-demo-demo3/index.html +17 -0
  198. package/dist/~demos/vtximage-demo-demo4/index.html +17 -0
  199. package/dist/~demos/vtximport-demo-base/index.html +17 -0
  200. package/dist/~demos/vtximport2-demo-base/index.html +17 -0
  201. package/dist/~demos/vtxinput-demo-demo1/index.html +17 -0
  202. package/dist/~demos/vtxinput-demo-demo2/index.html +17 -0
  203. package/dist/~demos/vtxinput-demo-demo3/index.html +17 -0
  204. package/dist/~demos/vtxmodal-demo-demo1/index.html +17 -0
  205. package/dist/~demos/vtxmodal-demo-demo2/index.html +17 -0
  206. package/dist/~demos/vtxmodal-demo-demo3/index.html +17 -0
  207. package/dist/~demos/vtxpagelayout-demo-demo1/index.html +17 -0
  208. package/dist/~demos/vtxpagelayout-demo-demo2/index.html +17 -0
  209. package/dist/~demos/vtxpagelayout-demo-demo3/index.html +17 -0
  210. package/dist/~demos/vtxpagelayout-demo-demo4/index.html +17 -0
  211. package/dist/~demos/vtxpagelayout-demo-demo5/index.html +17 -0
  212. package/dist/~demos/vtxrpsframe-demo-base/index.html +17 -0
  213. package/dist/~demos/vtxscrollablerow-demo-demo/index.html +17 -0
  214. package/dist/~demos/vtxsearch-demo-demo1/index.html +17 -0
  215. package/dist/~demos/vtxsearch-demo-demo2/index.html +17 -0
  216. package/dist/~demos/vtxsearch-demo-demo3/index.html +17 -0
  217. package/dist/~demos/vtxsearch-demo-demo4/index.html +17 -0
  218. package/dist/~demos/vtxselect-demo-base/index.html +17 -0
  219. package/dist/~demos/vtxselect-demo-base-multiple/index.html +17 -0
  220. package/dist/~demos/vtxsignature-demo-demo/index.html +17 -0
  221. package/dist/~demos/vtxsignature-demo-demo1/index.html +17 -0
  222. package/dist/~demos/vtxsplitpane-demo-demo1/index.html +17 -0
  223. package/dist/~demos/vtxsplitpane-demo-demo2/index.html +17 -0
  224. package/dist/~demos/vtxsplitpane-demo-demo3/index.html +17 -0
  225. package/dist/~demos/vtxsplitpane-demo-demo4/index.html +17 -0
  226. package/dist/~demos/vtxstatisticscolumn-demo-demo1/index.html +17 -0
  227. package/dist/~demos/vtxstatisticscolumn-demo-demo2/index.html +17 -0
  228. package/dist/~demos/vtxstatisticscolumn-demo-demo3/index.html +17 -0
  229. package/dist/~demos/vtxtimepicker-demo-base/index.html +17 -0
  230. package/dist/~demos/vtxtransfer-demo-base/index.html +17 -0
  231. package/dist/~demos/vtxtransferselect-demo-base/index.html +17 -0
  232. package/dist/~demos/vtxtree-demo-demo1/index.html +17 -0
  233. package/dist/~demos/vtxtree-demo-demo2/index.html +17 -0
  234. package/dist/~demos/vtxtree-demo-demo3/index.html +17 -0
  235. package/dist/~demos/vtxtreeselect-demo-demo1/index.html +17 -0
  236. package/dist/~demos/vtxtreeselect-demo-demo2/index.html +17 -0
  237. package/dist/~demos/vtxtreeselect-demo-demo3/index.html +17 -0
  238. package/dist/~demos/vtxtreeselect-demo-demo4/index.html +17 -0
  239. package/dist/~demos/vtxupload-demo-demo1/index.html +17 -0
  240. package/dist/~demos/vtxupload-demo-demo2/index.html +17 -0
  241. package/dist/~demos/vtxupload-demo-demo3/index.html +17 -0
  242. package/dist/~demos/vtxupload-demo-demo4/index.html +17 -0
  243. package/dist/~demos/vtxwangeditor-demo-demo1/index.html +17 -0
  244. package/es/utils/components/LabelIconTip/index.js +7 -7
  245. package/es/utils/conversionMomentValue/index.js +25 -25
  246. package/es/utils/filterSpecialCharacters.js +6 -6
  247. package/es/utils/genCopyable/index.js +6 -6
  248. package/es/utils/getFieldPropsOrFormItemProps/index.js +7 -7
  249. package/es/utils/hooks/useDebounceFn/index.js +4 -4
  250. package/es/utils/hooks/useDebounceValue/index.js +6 -6
  251. package/es/utils/hooks/useDeepCompareMemo/index.js +7 -7
  252. package/es/utils/hooks/useLatest/index.js +2 -2
  253. package/es/utils/hooks/useRefCallback/index.js +5 -5
  254. package/es/utils/isBrowser/index.js +7 -7
  255. package/es/utils/isUrl/index.js +4 -4
  256. package/es/utils/merge/index.js +4 -4
  257. package/es/utils/nanoid/index.js +4 -4
  258. package/es/utils/omitBoolean/index.js +4 -4
  259. package/es/utils/parseValueToMoment/index.js +4 -4
  260. package/es/utils/proFieldParsingText/index.js +10 -10
  261. package/es/utils/transformKeySubmitValue/index.js +57 -57
  262. package/es/utils/useEditableArray/index.js +46 -46
  263. package/es/utils/useEditableMap/index.js +22 -22
  264. package/es/utils/useMediaQuery/index.js +5 -5
  265. package/es/vtx-datagrid/ToolBar/components/ColumnSetting/index.js +4 -4
  266. package/es/vtx-datagrid/ToolBar/index.js +2 -1
  267. package/es/vtx-datagrid/ToolBar/style.js +6 -3
  268. package/es/vtx-datagrid/index.js +5 -1
  269. package/es/vtx-datagrid/style/index.js +9 -1
  270. package/es/vtx-datagrid/style/index.less +242 -242
  271. package/es/vtx-date-picker/style/index.less +39 -39
  272. package/es/vtx-export/index.js +8 -8
  273. package/es/vtx-icon/index.js1 +90 -90
  274. package/es/vtx-modal/index.js +2 -2
  275. package/es/vtx-modal/style/index.js +4 -2
  276. package/es/vtx-page-layout/Basic.js +2 -2
  277. package/es/vtx-page-layout/TabLayout.js +6 -6
  278. package/es/vtx-page-layout/TableLayout.js +10 -10
  279. package/es/vtx-page-layout/TreeLayout.js +6 -6
  280. package/es/vtx-page-layout/container.js +2 -2
  281. package/es/vtx-provider/index.js +30 -30
  282. package/es/vtx-provider/intl.js +9 -9
  283. package/es/vtx-provider/useStyle/index.js +17 -17
  284. package/es/vtx-search/style/index.js +6 -3
  285. package/es/vtx-wang-editor/style/index.less +12 -12
  286. package/lib/utils/components/LabelIconTip/index.js +7 -7
  287. package/lib/utils/conversionMomentValue/index.js +25 -25
  288. package/lib/utils/filterSpecialCharacters.js +6 -6
  289. package/lib/utils/genCopyable/index.js +6 -6
  290. package/lib/utils/getFieldPropsOrFormItemProps/index.js +7 -7
  291. package/lib/utils/hooks/useDebounceFn/index.js +4 -4
  292. package/lib/utils/hooks/useDebounceValue/index.js +6 -6
  293. package/lib/utils/hooks/useDeepCompareMemo/index.js +7 -7
  294. package/lib/utils/hooks/useLatest/index.js +2 -2
  295. package/lib/utils/hooks/useRefCallback/index.js +5 -5
  296. package/lib/utils/isBrowser/index.js +7 -7
  297. package/lib/utils/isUrl/index.js +4 -4
  298. package/lib/utils/merge/index.js +4 -4
  299. package/lib/utils/nanoid/index.js +4 -4
  300. package/lib/utils/omitBoolean/index.js +4 -4
  301. package/lib/utils/parseValueToMoment/index.js +4 -4
  302. package/lib/utils/proFieldParsingText/index.js +10 -10
  303. package/lib/utils/transformKeySubmitValue/index.js +57 -57
  304. package/lib/utils/useEditableArray/index.js +46 -46
  305. package/lib/utils/useEditableMap/index.js +22 -22
  306. package/lib/utils/useMediaQuery/index.js +5 -5
  307. package/lib/vtx-datagrid/ToolBar/components/ColumnSetting/index.js +4 -4
  308. package/lib/vtx-datagrid/ToolBar/index.js +2 -1
  309. package/lib/vtx-datagrid/ToolBar/style.js +6 -3
  310. package/lib/vtx-datagrid/index.js +5 -1
  311. package/lib/vtx-datagrid/style/index.js +9 -1
  312. package/lib/vtx-datagrid/style/index.less +242 -242
  313. package/lib/vtx-date-picker/style/index.less +39 -39
  314. package/lib/vtx-export/index.js +8 -8
  315. package/lib/vtx-icon/index.js1 +90 -90
  316. package/lib/vtx-modal/index.js +2 -2
  317. package/lib/vtx-modal/style/index.js +4 -2
  318. package/lib/vtx-page-layout/Basic.js +2 -2
  319. package/lib/vtx-page-layout/TabLayout.js +6 -6
  320. package/lib/vtx-page-layout/TableLayout.js +10 -10
  321. package/lib/vtx-page-layout/TreeLayout.js +6 -6
  322. package/lib/vtx-page-layout/container.js +2 -2
  323. package/lib/vtx-provider/index.js +30 -30
  324. package/lib/vtx-provider/intl.js +9 -9
  325. package/lib/vtx-provider/useStyle/index.js +17 -17
  326. package/lib/vtx-search/style/index.js +6 -3
  327. package/lib/vtx-wang-editor/style/index.less +12 -12
  328. package/package.json +240 -240
@@ -0,0 +1,1265 @@
1
+ !(function(){"use strict";var zu=Object.defineProperty,Au=Object.defineProperties;var Lu=Object.getOwnPropertyDescriptors;var Ci=Object.getOwnPropertySymbols;var Zu=Object.prototype.hasOwnProperty,Fu=Object.prototype.propertyIsEnumerable;var Si=($e,ve,C)=>ve in $e?zu($e,ve,{enumerable:!0,configurable:!0,writable:!0,value:C}):$e[ve]=C,at=($e,ve)=>{for(var C in ve||(ve={}))Zu.call(ve,C)&&Si($e,C,ve[C]);if(Ci)for(var C of Ci(ve))Fu.call(ve,C)&&Si($e,C,ve[C]);return $e},wi=($e,ve)=>Au($e,Lu(ve));var $t=($e,ve,C)=>new Promise((N,qe)=>{var Ot=Te=>{try{et(C.next(Te))}catch(Fe){qe(Fe)}},d=Te=>{try{et(C.throw(Te))}catch(Fe){qe(Fe)}},et=Te=>Te.done?N(Te.value):Promise.resolve(Te.value).then(Ot,d);et((C=C.apply($e,ve)).next())});(self.webpackChunk_vtx_components=self.webpackChunk_vtx_components||[]).push([[8552],{68552:function($e,ve,C){C.r(ve),C.d(ve,{default:function(){return Ru}});var N=C(52910),qe=C(23823),Ot=function(t){return t.compat!==!0&&(t.compat=!0),function(n){for(var o=new RegExp(t.key+"-([a-zA-Z0-9-_]+)","gm"),r={html:n,ids:[],css:""},a,i={};(a=o.exec(n))!==null;)i[a[1]]===void 0&&(i[a[1]]=!0);return r.ids=Object.keys(t.inserted).filter(function(s){return(i[s]!==void 0||t.registered[t.key+"-"+s]===void 0)&&t.inserted[s]!==!0?(r.css+=t.inserted[s],!0):!1}),r}},d=C(52676),et=function(t){return{ids:Object.keys(t.inserted),css:Object.values(t.inserted).filter(function(n){return typeof n=="string"}).join("")}},Te=(0,N.createCache)(),Fe=function(t,n){var o,r=typeof(n==null?void 0:n.includeAntd)!="undefined"?n.includeAntd:!0,a=(o=n==null?void 0:n.antdCache)!==null&&o!==void 0?o:Te,i=(0,N.extractStyle)(a),s=i.replace(/<style\s[^>]*>/g,"").replace(/<\/style>/g,""),c={style:(0,d.jsx)("style",{"data-antd-version":qe.Z,"data-rc-order":"prepend","data-rc-priority":"-9999",dangerouslySetInnerHTML:{__html:s}},"antd"),ids:Array.from(a.cache.keys()),key:"antd",css:s,tag:'<style data-rc-order="prepend" data-rc-priority="-9999" data-antd-version="'.concat(qe.Z,'">').concat(s,"</style>")},m=C.g.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__.getCacheList().map(function(u){var p=Ot(u),f=t?p(t):et(u);if(!f.css)return null;var g=f.css,v=f.ids;return{key:u.key,style:(0,d.jsx)("style",{"data-emotion":"".concat(u.key," ").concat(v.join(" ")),dangerouslySetInnerHTML:{__html:g}},u.key),css:g,ids:v,tag:'<style data-emotion="'.concat(u.key," ").concat(f.ids.join(" "),'">').concat(f.css,"</style>")}});return s&&r&&m.unshift(c),m.filter(Boolean)};Fe.cache=Te;var W=C(77809),$i=C(3341),Ne=C.n($i),l=C(75271),he=C(26047),We=C(96171),Oi=C(82187),L=C.n(Oi),ji=C(67476),Ce=C(46858),Ii=C(89622),Ei=C(31290),ki=C(11657),lt=C(14313),Me=C(68900);const Ti=e=>{const{componentCls:t,colorText:n,fontSize:o,lineHeight:r,fontFamily:a}=e;return{[t]:{color:n,fontSize:o,lineHeight:r,fontFamily:a,[`&${t}-rtl`]:{direction:"rtl"}}}},Ni=()=>({});var Mi=(0,Me.I$)("App",Ti,Ni),Di=e=>{const{prefixCls:t,children:n,className:o,rootClassName:r,message:a,notification:i,style:s,component:c="div"}=e,{direction:m,getPrefixCls:u}=(0,l.useContext)(Ce.E_),p=u("app",t),[f,g,v]=Mi(p),x=L()(g,p,o,r,v,{[`${p}-rtl`]:m==="rtl"}),b=(0,l.useContext)(lt.J),y=l.useMemo(()=>({message:Object.assign(Object.assign({},b.message),a),notification:Object.assign(Object.assign({},b.notification),i)}),[a,i,b.message,b.notification]),[h,E]=(0,Ii.Z)(y.message),[w,$]=(0,ki.Z)(y.notification),[j,I]=(0,Ei.Z)(),O=l.useMemo(()=>({message:h,notification:w,modal:j}),[h,w,j]);(0,ji.ln)("App")(!(v&&c===!1),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");const S=c===!1?l.Fragment:c,k={className:x,style:s};return f(l.createElement(lt.Z.Provider,{value:O},l.createElement(lt.J.Provider,{value:y},l.createElement(S,Object.assign({},c===!1?void 0:k),I,E,$,n))))},Pi=()=>l.useContext(lt.Z);const an=Di;an.useApp=Pi;var Hi=an,Ri=C(31220),Bi=["children"];function ln(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function sn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ln(Object(n),!0).forEach(function(o){(0,he.Z)(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ln(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}var zi=function(e){var t=e.children,n=(0,We.Z)(e,Bi);return(0,d.jsx)(Ri.f,sn(sn({},n),{},{children:(0,d.jsx)(Hi,{children:t})}))},tt=C(45253),Ai=C(17339),U=C(79328),cn=C(59207);const dn=0,un=1,mn=2,fn=3;var pn=Object.prototype.hasOwnProperty;function jt(e,t){var n,o;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((o=e.length)===t.length)for(;o--&&jt(e[o],t[o]););return o===-1}if(!n||typeof e=="object"){o=0;for(n in e)if(pn.call(e,n)&&++o&&!pn.call(t,n)||!(n in t)||!jt(e[n],t[n]))return!1;return Object.keys(t).length===o}}return e!==e&&t!==t}const De=new WeakMap,Pe=()=>{},xe=Pe(),st=Object,K=e=>e===xe,Ie=e=>typeof e=="function",He=(e,t)=>at(at({},e),t),gn=e=>Ie(e.then),It={},ct={},Et="undefined",nt=typeof window!=Et,kt=typeof document!=Et,Li=nt&&"Deno"in window,Zi=()=>nt&&typeof window.requestAnimationFrame!=Et,vn=(e,t)=>{const n=De.get(e);return[()=>!K(t)&&e.get(t)||It,o=>{if(!K(t)){const r=e.get(t);t in ct||(ct[t]=r),n[5](t,He(r,o),r||It)}},n[6],()=>!K(t)&&t in ct?ct[t]:!K(t)&&e.get(t)||It]};let Tt=!0;const Fi=()=>Tt,[Nt,Mt]=nt&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Pe,Pe],Wi=()=>{const e=kt&&document.visibilityState;return K(e)||e!=="hidden"},Vi=e=>(kt&&document.addEventListener("visibilitychange",e),Nt("focus",e),()=>{kt&&document.removeEventListener("visibilitychange",e),Mt("focus",e)}),_i=e=>{const t=()=>{Tt=!0,e()},n=()=>{Tt=!1};return Nt("online",t),Nt("offline",n),()=>{Mt("online",t),Mt("offline",n)}},Ui={isOnline:Fi,isVisible:Wi},Xi={initFocus:Vi,initReconnect:_i},hn=!l.useId,Xe=!nt||Li,Gi=e=>Zi()?window.requestAnimationFrame(e):setTimeout(e,1),dt=Xe?l.useEffect:l.useLayoutEffect,Dt=typeof navigator!="undefined"&&navigator.connection,xn=!Xe&&Dt&&(["slow-2g","2g"].includes(Dt.effectiveType)||Dt.saveData),ut=new WeakMap,Ki=e=>st.prototype.toString.call(e),Pt=(e,t)=>e===`[object ${t}]`;let Yi=0;const Ht=e=>{const t=typeof e,n=Ki(e),o=Pt(n,"Date"),r=Pt(n,"RegExp"),a=Pt(n,"Object");let i,s;if(st(e)===e&&!o&&!r){if(i=ut.get(e),i)return i;if(i=++Yi+"~",ut.set(e,i),Array.isArray(e)){for(i="@",s=0;s<e.length;s++)i+=Ht(e[s])+",";ut.set(e,i)}if(a){i="#";const c=st.keys(e).sort();for(;!K(s=c.pop());)K(e[s])||(i+=s+":"+Ht(e[s])+",");ut.set(e,i)}}else i=o?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return i},Rt=e=>{if(Ie(e))try{e=e()}catch(n){e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Ht(e):"",[e,t]};let Qi=0;const Bt=()=>++Qi;function bn(...e){return $t(this,null,function*(){const[t,n,o,r]=e,a=He({populateCache:!0,throwOnError:!0},typeof r=="boolean"?{revalidate:r}:r||{});let i=a.populateCache;const s=a.rollbackOnError;let c=a.optimisticData;const m=f=>typeof s=="function"?s(f):s!==!1,u=a.throwOnError;if(Ie(n)){const f=n,g=[],v=t.keys();for(const x of v)!/^\$(inf|sub)\$/.test(x)&&f(t.get(x)._k)&&g.push(x);return Promise.all(g.map(p))}return p(n);function p(f){return $t(this,null,function*(){const[g]=Rt(f);if(!g)return;const[v,x]=vn(t,g),[b,y,h,E]=De.get(t),w=()=>{const M=b[g];return(Ie(a.revalidate)?a.revalidate(v().data,f):a.revalidate!==!1)&&(delete h[g],delete E[g],M&&M[0])?M[0](mn).then(()=>v().data):v().data};if(e.length<3)return w();let $=o,j,I=!1;const O=Bt();y[g]=[O,0];const S=!K(c),k=v(),P=k.data,R=k._c,B=K(R)?P:R;if(S&&(c=Ie(c)?c(B,P):c,x({data:c,_c:B})),Ie($))try{$=$(B)}catch(M){j=M,I=!0}if($&&gn($))if($=yield $.catch(M=>{j=M,I=!0}),O!==y[g][0]){if(I)throw j;return $}else I&&S&&m(j)&&(i=!0,x({data:B,_c:xe}));if(i&&!I)if(Ie(i)){const M=i($,B);x({data:M,error:xe,_c:xe})}else x({data:$,error:xe,_c:xe});if(y[g][1]=Bt(),Promise.resolve(w()).then(()=>{x({_c:xe})}),I){if(u)throw j;return}return $})}})}const yn=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Cn=(e,t)=>{if(!De.has(e)){const n=He(Xi,t),o=Object.create(null),r=bn.bind(xe,e);let a=Pe;const i=Object.create(null),s=(u,p)=>{const f=i[u]||[];return i[u]=f,f.push(p),()=>f.splice(f.indexOf(p),1)},c=(u,p,f)=>{e.set(u,p);const g=i[u];if(g)for(const v of g)v(p,f)},m=()=>{if(!De.has(e)&&(De.set(e,[o,Object.create(null),Object.create(null),Object.create(null),r,c,s]),!Xe)){const u=n.initFocus(setTimeout.bind(xe,yn.bind(xe,o,dn))),p=n.initReconnect(setTimeout.bind(xe,yn.bind(xe,o,un)));a=()=>{u&&u(),p&&p(),De.delete(e)}}};return m(),[e,r,m,a]}return[e,De.get(e)[4]]},Ji=(e,t,n,o,r)=>{const a=n.errorRetryCount,i=r.retryCount,s=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!K(a)&&i>a||setTimeout(o,s,r)},qi=jt,[zt,ea]=Cn(new Map),Sn=He({onLoadingSlow:Pe,onSuccess:Pe,onError:Pe,onErrorRetry:Ji,onDiscarded:Pe,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:xn?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:xn?5e3:3e3,compare:qi,isPaused:()=>!1,cache:zt,mutate:ea,fallback:{}},Ui),wn=(e,t)=>{const n=He(e,t);if(t){const{use:o,fallback:r}=e,{use:a,fallback:i}=t;o&&a&&(n.use=o.concat(a)),r&&i&&(n.fallback=He(r,i))}return n},At=(0,l.createContext)({}),ta=e=>{const{value:t}=e,n=(0,l.useContext)(At),o=Ie(t),r=(0,l.useMemo)(()=>o?t(n):t,[o,n,t]),a=(0,l.useMemo)(()=>o?r:wn(n,r),[o,n,r]),i=r&&r.provider,s=(0,l.useRef)(xe);i&&!s.current&&(s.current=Cn(i(a.cache||zt),r));const c=s.current;return c&&(a.cache=c[0],a.mutate=c[1]),dt(()=>{if(c)return c[2]&&c[2](),c[3]},[]),(0,l.createElement)(At.Provider,He(e,{value:a}))},na="$inf$",$n=nt&&window.__SWR_DEVTOOLS_USE__,oa=$n?window.__SWR_DEVTOOLS_USE__:[],ra=()=>{$n&&(window.__SWR_DEVTOOLS_REACT__=l)},On=e=>Ie(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],ia=()=>{const e=(0,l.useContext)(At);return(0,l.useMemo)(()=>He(Sn,e),[e])},_u=(e,t)=>{if(IS_SERVER)return;const[n,o]=serialize(e),[,,,r]=SWRGlobalState.get(cache);if(r[n])return r[n];const a=t(o);return r[n]=a,a},aa=e=>(t,n,o)=>e(t,n&&((...a)=>{const[i]=Rt(t),[,,,s]=De.get(zt);if(i.startsWith(na))return n(...a);const c=s[i];return K(c)?n(...a):(delete s[i],c)}),o),la=oa.concat(aa),sa=e=>function(...n){const o=ia(),[r,a,i]=On(n),s=wn(o,i);let c=e;const{use:m}=s,u=(m||[]).concat(la);for(let p=u.length;p--;)c=u[p](c);return c(r,a||s.fetcher||null,s)},ca=(e,t,n)=>{const o=t[e]||(t[e]=[]);return o.push(n),()=>{const r=o.indexOf(n);r>=0&&(o[r]=o[o.length-1],o.pop())}},Uu=(e,t)=>(...n)=>{const[o,r,a]=On(n),i=(a.use||[]).concat(t);return e(o,r,wi(at({},a),{use:i}))};ra();const da=void 0,Lt=null,jn=e=>e===da,ua=e=>typeof e=="function",mt=new WeakMap,ma=e=>Lt.prototype.toString.call(e),Zt=(e,t)=>e===`[object ${t}]`;let fa=0;const Ft=e=>{const t=typeof e,n=ma(e),o=Zt(n,"Date"),r=Zt(n,"RegExp"),a=Zt(n,"Object");let i,s;if(Lt(e)===e&&!o&&!r){if(i=mt.get(e),i)return i;if(i=++fa+"~",mt.set(e,i),Array.isArray(e)){for(i="@",s=0;s<e.length;s++)i+=Ft(e[s])+",";mt.set(e,i)}if(a){i="#";const c=Lt.keys(e).sort();for(;!jn(s=c.pop());)jn(e[s])||(i+=s+":"+Ft(e[s])+",");mt.set(e,i)}}else i=o?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return i},pa=e=>{if(ua(e))try{e=e()}catch(n){e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Ft(e):"",[e,t]},Gu=e=>pa(e)[0],Wt=l.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),Vt={dedupe:!0},In=Promise.resolve(xe),ga=()=>Pe,va=(e,t,n)=>{const{cache:o,compare:r,suspense:a,fallbackData:i,revalidateOnMount:s,revalidateIfStale:c,refreshInterval:m,refreshWhenHidden:u,refreshWhenOffline:p,keepPreviousData:f,strictServerPrefetchWarning:g}=n,[v,x,b,y]=De.get(o),[h,E]=Rt(e),w=(0,l.useRef)(!1),$=(0,l.useRef)(!1),j=(0,l.useRef)(h),I=(0,l.useRef)(t),O=(0,l.useRef)(n),S=()=>O.current,k=()=>S().isVisible()&&S().isOnline(),[P,R,B,M]=vn(o,h),A=(0,l.useRef)({}).current,H=K(i)?K(n.fallback)?xe:n.fallback[h]:i,z=(te,q)=>{for(const D in A){const Z=D;if(Z==="data"){if(!r(te[Z],q[Z])&&(!K(te[Z])||!r(ne,q[Z])))return!1}else if(q[Z]!==te[Z])return!1}return!0},_=!w.current,re=(0,l.useMemo)(()=>{const te=P(),q=M(),D=G=>{const ie=He(G);return delete ie._k,(()=>{if(!h||!t||S().isPaused())return!1;if(_&&!K(s))return s;const ge=K(H)?ie.data:H;return K(ge)||c})()?at({isValidating:!0,isLoading:!0},ie):ie},Z=D(te),le=te===q?Z:D(q);let F=Z;return[()=>{const G=D(P());return z(G,F)?(F.data=G.data,F.isLoading=G.isLoading,F.isValidating=G.isValidating,F.error=G.error,F):(F=G,G)},()=>le]},[o,h]),Q=(0,cn.useSyncExternalStore)((0,l.useCallback)(te=>B(h,(q,D)=>{z(D,q)||te()}),[o,h]),re[0],re[1]),Y=v[h]&&v[h].length>0,ee=Q.data,J=K(ee)?H&&gn(H)?Wt(H):H:ee,de=Q.error,ye=(0,l.useRef)(J),ne=f?K(ee)?K(ye.current)?J:ye.current:ee:J,X=h&&K(J),V=(0,l.useRef)(null);!Xe&&(0,cn.useSyncExternalStore)(ga,()=>(V.current=!1,V),()=>(V.current=!0,V));const fe=V.current;g&&fe&&!a&&X&&console.warn(`Missing pre-initiated data for serialized key "${h}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);const ue=!h||!t||S().isPaused()||Y&&!K(de)?!1:_&&!K(s)?s:a?K(J)?!1:c:K(J)||c,oe=K(Q.isValidating)?ue:Q.isValidating,ke=K(Q.isLoading)?ue:Q.isLoading,pe=(0,l.useCallback)(te=>$t(this,null,function*(){const q=I.current;if(!h||!q||$.current||S().isPaused())return!1;let D,Z,le=!0;const F=te||{},G=!b[h]||!F.dedupe,ie=()=>hn?!$.current&&h===j.current&&w.current:h===j.current,me={isValidating:!1,isLoading:!1},ge=()=>{R(me)},ze=()=>{const je=b[h];je&&je[1]===Z&&delete b[h]},yi={isValidating:!0};K(P().data)&&(yi.isLoading=!0);try{if(G&&(R(yi),n.loadingTimeout&&K(P().data)&&setTimeout(()=>{le&&ie()&&S().onLoadingSlow(h,n)},n.loadingTimeout),b[h]=[q(E),Bt()]),[D,Z]=b[h],D=yield D,G&&setTimeout(ze,n.dedupingInterval),!b[h]||b[h][1]!==Z)return G&&ie()&&S().onDiscarded(h),!1;me.error=xe;const je=x[h];if(!K(je)&&(Z<=je[0]||Z<=je[1]||je[1]===0))return ge(),G&&ie()&&S().onDiscarded(h),!1;const Ae=P().data;me.data=r(Ae,D)?Ae:D,G&&ie()&&S().onSuccess(D,h,n)}catch(je){ze();const Ae=S(),{shouldRetryOnError:on}=Ae;Ae.isPaused()||(me.error=je,G&&ie()&&(Ae.onError(je,h,Ae),(on===!0||Ie(on)&&on(je))&&(!S().revalidateOnFocus||!S().revalidateOnReconnect||k())&&Ae.onErrorRetry(je,h,Ae,Bu=>{const rn=v[h];rn&&rn[0]&&rn[0](fn,Bu)},{retryCount:(F.retryCount||0)+1,dedupe:!0})))}return le=!1,ge(),!0}),[h,o]),Be=(0,l.useCallback)((...te)=>bn(o,j.current,...te),[]);if(dt(()=>{I.current=t,O.current=n,K(ee)||(ye.current=ee)}),dt(()=>{if(!h)return;const te=pe.bind(xe,Vt);let q=0;S().revalidateOnFocus&&(q=Date.now()+S().focusThrottleInterval);const Z=ca(h,v,(le,F={})=>{if(le==dn){const G=Date.now();S().revalidateOnFocus&&G>q&&k()&&(q=G+S().focusThrottleInterval,te())}else if(le==un)S().revalidateOnReconnect&&k()&&te();else{if(le==mn)return pe();if(le==fn)return pe(F)}});return $.current=!1,j.current=h,w.current=!0,R({_k:E}),ue&&(b[h]||(K(J)||Xe?te():Gi(te))),()=>{$.current=!0,Z()}},[h]),dt(()=>{let te;function q(){const Z=Ie(m)?m(P().data):m;Z&&te!==-1&&(te=setTimeout(D,Z))}function D(){!P().error&&(u||S().isVisible())&&(p||S().isOnline())?pe(Vt).then(q):q()}return q(),()=>{te&&(clearTimeout(te),te=-1)}},[m,u,p,h]),(0,l.useDebugValue)(ne),a){if(!hn&&Xe&&X)throw new Error("Fallback data is required when using Suspense in SSR.");X&&(I.current=t,O.current=n,$.current=!1);const te=y[h],q=!K(te)&&X?Be(te):In;if(Wt(q),!K(de)&&X)throw de;const D=X?pe(Vt):In;!K(ne)&&X&&(D.status="fulfilled",D.value=!0),Wt(D)}return{mutate:Be,get data(){return A.data=!0,ne},get error(){return A.error=!0,de},get isValidating(){return A.isValidating=!0,oe},get isLoading(){return A.isLoading=!0,ke}}},Ku=st.defineProperty(ta,"defaultValue",{value:Sn}),ha=sa(va);var En={frontmatter:{},toc:[],texts:[]},xa=function(){var t=(0,U.AC)(),n=(0,W.MZ)(),o=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:En;return n.meta&&Object.keys(n.meta).forEach(function(i){var s,c;(c=(s=a)[i])!==null&&c!==void 0||(s[i]=n.meta[i])}),a};ha(n.id,W.lZ,{fallback:En,onSuccess:function(a){t.setState({routeMeta:o(a)})}})},ba=["setLoading"],ya=["setLoading"],Ca=typeof window!="undefined",kn={},Sa=function(t,n){(0,l.useEffect)(function(){l.startTransition(function(){t()})},n)},wa=function(t,n){(0,Ai.Z)(function(){t()},n,{wait:32,maxWait:96})},$a=typeof l.startTransition=="function"?Sa:wa,Ge=function(t,n,o){var r=(0,U.AC)(),a=o||function(i,s){return r.setState((0,he.Z)({},i,s))};!Ca&&!kn[t]&&(a(t,n),kn[t]=!0),$a(function(){a(t,n)},[n])},Oa={"zh-CN":"\u9996\u9875","en-US":"Home"},ja=function(t){return{title:Oa[t],link:"/",activePath:"/"}},Ia=(0,l.memo)(function(){var e=(0,W.WF)(),t=(0,W.tx)(),n=(0,W.zh)(),o=(0,W.OK)(),r=(0,W.TH)(),a=(0,W.bU)(),i=(0,U.AC)();return xa(),Ge("siteData",e,function(){var s=e.setLoading,c=(0,We.Z)(e,ba),m=i.getState(),u=m.siteData,p=u.setLoading,f=(0,We.Z)(u,ya);Ne()(c,f)||i.setState({siteData:e})}),Ge("sidebar",t),Ge("location",r),Ge("tabMeta",n),Ge("locale",a),Ge("navData",o,function(){var s=e.themeConfig.hideHomeNav?o:[ja(a.id)].concat((0,tt.Z)(o));i.setState({navData:s})}),null}),Ea=C(11512),_t=C(92076);const ka=()=>l.useReducer(e=>e+1,0);var Ta=C(36757);const Na=(e,t)=>{typeof(e==null?void 0:e.addEventListener)!="undefined"?e.addEventListener("change",t):typeof(e==null?void 0:e.addListener)!="undefined"&&e.addListener(t)},Ma=(e,t)=>{typeof(e==null?void 0:e.removeEventListener)!="undefined"?e.removeEventListener("change",t):typeof(e==null?void 0:e.removeListener)!="undefined"&&e.removeListener(t)},Tn=["xxl","xl","lg","md","sm","xs"],Da=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),Pa=e=>{const t=e,n=[].concat(Tn).reverse();return n.forEach((o,r)=>{const a=o.toUpperCase(),i=`screen${a}Min`,s=`screen${a}`;if(!(t[i]<=t[s]))throw new Error(`${i}<=${s} fails : !(${t[i]}<=${t[s]})`);if(r<n.length-1){const c=`screen${a}Max`;if(!(t[s]<=t[c]))throw new Error(`${s}<=${c} fails : !(${t[s]}<=${t[c]})`);const u=`screen${n[r+1].toUpperCase()}Min`;if(!(t[c]<=t[u]))throw new Error(`${c}<=${u} fails : !(${t[c]}<=${t[u]})`)}}),e},Yu=(e,t)=>{if(t){for(const n of Tn)if(e[n]&&(t==null?void 0:t[n])!==void 0)return t[n]}};var Ha=()=>{const[,e]=(0,Ta.ZP)(),t=Da(Pa(e));return l.useMemo(()=>{const n=new Map;let o=-1,r={};return{responsiveMap:t,matchHandlers:{},dispatch(a){return r=a,n.forEach(i=>i(r)),n.size>=1},subscribe(a){return n.size||this.register(),o+=1,n.set(o,a),a(r),o},unsubscribe(a){n.delete(a),n.size||this.unregister()},register(){Object.entries(t).forEach(([a,i])=>{const s=({matches:m})=>{this.dispatch(Object.assign(Object.assign({},r),{[a]:m}))},c=window.matchMedia(i);Na(c,s),this.matchHandlers[i]={mql:c,listener:s},s(c)})},unregister(){Object.values(t).forEach(a=>{const i=this.matchHandlers[a];Ma(i==null?void 0:i.mql,i==null?void 0:i.listener)}),n.clear()}}},[t])};function Ra(e=!0,t={}){const n=(0,l.useRef)(t),[,o]=ka(),r=Ha();return(0,_t.Z)(()=>{const a=r.subscribe(i=>{n.current=i,e&&o()});return()=>r.unsubscribe(a)},[]),n.current}var Ba=Ra;function za(){return Ba()}var Aa={useBreakpoint:za},Ve=function(){var t=Aa.useBreakpoint();return(0,l.useMemo)(function(){return(0,Ea.f)(t)},[t])},se=C(43761),Le=C(4401),Nn=C(73514);function Mn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Dn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Mn(Object(n),!0).forEach(function(o){(0,he.Z)(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mn(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}var Pn=function(t){if(t.location.pathname==="/")return"/";var n=t.navData.filter(function(o){return o.link!=="/"}).find(function(o){return t.location.pathname.startsWith(o.activePath||o.link)});return(n==null?void 0:n.activePath)||(n==null?void 0:n.link)||""},Hn=function(t){var n,o,r=t.routeMeta,a=r.toc,i=r.frontmatter;return(n=t.tabMeta)!==null&&n!==void 0&&n.toc&&(a=t.tabMeta.toc),(o=t.tabMeta)!==null&&o!==void 0&&o.frontmatter&&(i=t.tabMeta.frontmatter),a.reduce(function(s,c){var m=function(f){if(!i.tocDepth||typeof i.tocDepth=="number"&&i.tocDepth>f-1)return!0};if(c.depth===2&&m(2))s.push(Dn({},c));else if(c.depth===3&&m(3)){var u=s[s.length-1];u&&(u.children=u.children||[],u.children.push(Dn({},c)))}return s},[])},Rn=function(t){var n;return((n=t.sidebar)===null||n===void 0?void 0:n.map(function(o){return o.children}).flat())||[]},La=function(t){var n=Rn(t),o=t.location.pathname,r=n.findIndex(function(a){return a.link===o});return{prev:n[r-1],currentIndex:r,next:n[r+1]}},ae=C(24967),Za=C(50563),Se=C(23738),Fa=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:Za.Z}))},Wa=l.forwardRef(Fa),Va=Wa,_a=C(25796),Ua=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:_a.Z}))},Xa=l.forwardRef(Ua),Bn=Xa,T=C(30452),ce=C(85916),zn,An,Ln,Zn,Ga=(0,ce.kc)(function(e){var t=e.token,n=e.css;return{container:n(zn||(zn=(0,T.Z)([`
2
+ background: `,`;
3
+ padding: 16px 24px;
4
+ border-radius: 8px;
5
+ cursor: pointer;
6
+
7
+ min-width: 250px;
8
+ &:hover {
9
+ background: `,`;
10
+ }
11
+ `])),t.colorBgContainer,t.colorFillTertiary),nav:n(An||(An=(0,T.Z)([`
12
+ color: `,`;
13
+ font-size: 12px;
14
+ `])),t.colorTextTertiary),title:n(Ln||(Ln=(0,T.Z)([`
15
+ font-size: 16px;
16
+ `]))),alignmentEnd:n(Zn||(Zn=(0,T.Z)([`
17
+ justify-content: flex-end;
18
+ `])))}}),Ka=function(t){var n=t.title,o=t.link,r=t.type,a=Ga(),i=a.styles,s=a.cx,c=(0,W.YB)(),m=(0,l.useMemo)(function(){switch(r){case"prev":return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Va,{})," ",c.formatMessage({id:"content.footer.actions.previous"})]});case"next":return(0,d.jsxs)(d.Fragment,{children:[c.formatMessage({id:"content.footer.actions.next"})," ",(0,d.jsx)(Bn,{})]})}},[r]);return(0,d.jsx)(W.rU,{to:o,children:(0,d.jsxs)(se.D,{className:i.container,gap:8,children:[(0,d.jsx)(se.D,{horizontal:!0,gap:4,className:s(i.nav,r==="next"&&i.alignmentEnd),children:m}),(0,d.jsx)(se.D,{horizontal:!0,className:s(i.title,r==="next"&&i.alignmentEnd),children:n})]})})},Fn=(0,l.memo)(Ka);function Wn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Vn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Wn(Object(n),!0).forEach(function(o){(0,he.Z)(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wn(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}var Ya=function(){var t=(0,U.HX)(La,Ne()),n=t.prev,o=t.next,r=Ve(),a=r.mobile;return(0,d.jsxs)(se.D,{horizontal:!a,gap:a?12:0,distribution:"space-between",style:{margin:a?12:0},children:[n?(0,d.jsx)(Fn,Vn({type:"prev"},n)):(0,d.jsx)("div",{}),o?(0,d.jsx)(Fn,Vn({type:"next"},o)):(0,d.jsx)("div",{})]})},Qa=(0,l.memo)(Ya),_n,Ja=(0,ce.kc)(function(e){var t=e.token,n=e.responsive,o=e.isDarkMode,r=e.css;return{content:r(_n||(_n=(0,T.Z)([`
19
+ min-height: 400px;
20
+ flex: 1;
21
+ width: 100%;
22
+ box-sizing: border-box;
23
+
24
+ padding: 24px 48px;
25
+ border-radius: 10px;
26
+ background-color: `,`;
27
+ box-shadow: `,`;
28
+
29
+ &:has([data-page-tabs='true']) {
30
+ padding-top: 8px;
31
+ }
32
+
33
+ `,` {
34
+ padding: 8px 16px;
35
+ border-radius: 0;
36
+ }
37
+
38
+ .markdown {
39
+ color: `,`;
40
+
41
+ h1,
42
+ h2,
43
+ h3 {
44
+ color: `,`;
45
+ }
46
+ p {
47
+ line-height: 1.8;
48
+ }
49
+
50
+ // hyperlink
51
+ a {
52
+ color: `,`;
53
+
54
+ &:hover {
55
+ color: `,`;
56
+ }
57
+
58
+ &:active {
59
+ color: `,`;
60
+ }
61
+ }
62
+
63
+ img {
64
+ max-width: 100%;
65
+
66
+ opacity: `,`;
67
+ }
68
+
69
+ > [data-code-type='highlighter'] {
70
+ pre {
71
+ margin: 8px 0 !important;
72
+ }
73
+ }
74
+ // inline code
75
+ > :not([data-code-type='highlighter']) code {
76
+ padding: 2px 6px;
77
+
78
+ //FIXME: \u7B49\u4E0B\u4E00\u7248 token \u4F18\u5316\u5347\u7EA7
79
+ color: `,`;
80
+ background: `,`;
81
+ border-radius: 4px;
82
+ }
83
+
84
+ // pre tag
85
+ pre {
86
+ font-size: 14px;
87
+ padding-left: 24px;
88
+ padding-right: 24px;
89
+ }
90
+
91
+ // table
92
+ table {
93
+ width: 100%;
94
+ border-spacing: 1px;
95
+ }
96
+
97
+ th {
98
+ background: `,`;
99
+ }
100
+
101
+ tr {
102
+ }
103
+ th,
104
+ td {
105
+ padding-block-start: 10px;
106
+ padding-block-end: 10px;
107
+ padding-inline-start: 16px;
108
+ padding-inline-end: 16px;
109
+ border-bottom: 1px solid `,`;
110
+ }
111
+
112
+ // blockquote
113
+ blockquote {
114
+ font-style: italic;
115
+
116
+ margin: 16px 0;
117
+ padding: 0 12px;
118
+ color: `,`;
119
+ border-left: 3px solid `,`;
120
+ }
121
+
122
+ // list
123
+ ul li {
124
+ line-height: 1.8;
125
+ }
126
+
127
+ // anchor of headings
128
+ h1,
129
+ h2,
130
+ h3,
131
+ h4,
132
+ h5,
133
+ h6 {
134
+ > a[aria-hidden]:first-child {
135
+ float: left;
136
+ width: 20px;
137
+ padding-inline-end: 4px;
138
+ margin-inline-start: -24px;
139
+ color: `,`;
140
+ // hide phantom blank node
141
+ font-size: 0;
142
+ text-align: right;
143
+ line-height: inherit;
144
+
145
+ &:hover {
146
+ border: 0;
147
+ }
148
+
149
+ > .icon-link::before {
150
+ content: '#';
151
+ color: `,`;
152
+ font-size: 20px;
153
+ }
154
+ }
155
+
156
+ &:not(:hover) > a[aria-hidden]:first-child > .icon-link {
157
+ visibility: hidden;
158
+ }
159
+ }
160
+ }
161
+ `])),t.colorBgContainer,t.boxShadowTertiary,n.mobile,o?t.colorTextSecondary:t.colorText,t.colorText,t.colorLink,t.colorLinkHover,t.colorLinkActive,o?.8:1,o?t["cyan-7"]:t.colorPrimaryText,o?t["cyan-1"]:t.colorPrimaryBg,t.colorFillTertiary,t.colorBorderSecondary,t.colorTextDescription,t.colorBorder,t.colorText,t.colorTextTertiary)}}),qa=function(t){var n=t.children,o=(0,U.HX)(function(m){return m.siteData.loading}),r=Ja(),a=r.styles,i=r.cx,s=Ve(),c=s.mobile;return(0,d.jsxs)(se.D,{width:"100%",gap:c?0:24,children:[(0,d.jsxs)("div",{className:i("dumi-antd-style-content",a.content),children:[(0,d.jsx)(Nn.Z,{active:!0,paragraph:!0,loading:o}),(0,d.jsx)("div",{style:{display:o?"none":void 0},children:n})]}),(0,d.jsx)(Qa,{})]})},el=(0,l.memo)(qa),Un=C(98608),we=C(8896),_e=C(83509);const tl=e=>{const{componentCls:t}=e;return{[t]:{"&-horizontal":{[`&${t}`]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}},nl=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:o,lineWidth:r,textPaddingInline:a,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,we.Wf)(e)),{borderBlockStart:`${(0,N.unit)(r)} solid ${o}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,N.unit)(r)} solid ${o}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,N.unit)(e.marginLG)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,N.unit)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${o}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,N.unit)(r)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-start`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:o,borderStyle:"dashed",borderWidth:`${(0,N.unit)(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:o,borderStyle:"dotted",borderWidth:`${(0,N.unit)(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},ol=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS});var rl=(0,Me.I$)("Divider",e=>{const t=(0,_e.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[nl(t),tl(t)]},ol,{unitless:{orientationMargin:!0}}),il=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const al={small:"sm",middle:"md"};var ll=e=>{const{getPrefixCls:t,direction:n,className:o,style:r}=(0,Ce.dj)("divider"),{prefixCls:a,type:i="horizontal",orientation:s="center",orientationMargin:c,className:m,rootClassName:u,children:p,dashed:f,variant:g="solid",plain:v,style:x,size:b}=e,y=il(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style","size"]),h=t("divider",a),[E,w,$]=rl(h),j=(0,Un.Z)(b),I=al[j],O=!!p,S=l.useMemo(()=>s==="left"?n==="rtl"?"end":"start":s==="right"?n==="rtl"?"start":"end":s,[n,s]),k=S==="start"&&c!=null,P=S==="end"&&c!=null,R=L()(h,o,w,$,`${h}-${i}`,{[`${h}-with-text`]:O,[`${h}-with-text-${S}`]:O,[`${h}-dashed`]:!!f,[`${h}-${g}`]:g!=="solid",[`${h}-plain`]:!!v,[`${h}-rtl`]:n==="rtl",[`${h}-no-default-orientation-margin-start`]:k,[`${h}-no-default-orientation-margin-end`]:P,[`${h}-${I}`]:!!I},m,u),B=l.useMemo(()=>typeof c=="number"?c:/^\d+$/.test(c)?Number(c):c,[c]),M={marginInlineStart:k?B:void 0,marginInlineEnd:P?B:void 0};return E(l.createElement("div",Object.assign({className:R,style:Object.assign(Object.assign({},r),x)},y,{role:"separator"}),p&&i!=="vertical"&&l.createElement("span",{className:`${h}-inner-text`,style:M},p)))},be=C(18178),sl=function(t){var n=t.prefixCls,o=t.icon,r=t.title,a=t.items,i=a===void 0?[]:a,s=t.style,c=t.className;return l.createElement("div",{className:L()("".concat(n,"-column"),c),style:s},(r||o)&&l.createElement("h2",null,o&&l.createElement("span",{className:"".concat(n,"-column-icon")},o),r),i.map(function(m,u){var p=m.LinkComponent||"a";return l.createElement("div",{className:L()("".concat(n,"-item"),m.className),style:m.style,key:u},l.createElement(p,{href:m.url,to:typeof p!="string"?m.url:void 0,target:m.openExternal?"_blank":void 0,rel:m.openExternal?"noopener noreferrer":void 0},m.icon&&l.createElement("span",{className:"".concat(n,"-item-icon")},m.icon),m.title),m.description&&l.createElement(l.Fragment,null,l.createElement("span",{className:"".concat(n,"-item-separator")},"-"),l.createElement("span",{className:"".concat(n,"-item-description")},m.description)))}))},cl=sl,dl=["prefixCls","className","style","bottom","columns","maxColumnsPerRow","backgroundColor","columnLayout","theme"],ul=function(t){var n=t.prefixCls,o=n===void 0?"rc-footer":n,r=t.className,a=t.style,i=t.bottom,s=t.columns,c=t.maxColumnsPerRow,m=t.backgroundColor,u=t.columnLayout,p=t.theme,f=p===void 0?"dark":p,g=(0,We.Z)(t,dl),v=L()("".concat(o),r,(0,he.Z)({},"".concat(o,"-").concat(f),!!f)),x=typeof c=="number"&&c>0;return l.createElement("footer",(0,be.Z)((0,be.Z)({},g),{},{className:v,style:(0,be.Z)((0,be.Z)({},a),{},{backgroundColor:m})}),l.createElement("section",{className:"".concat(o,"-container")},s&&s.length>0&&l.createElement("section",{className:"".concat(o,"-columns"),style:{justifyContent:u,flexWrap:x?"wrap":void 0}},s.map(function(b,y){var h=b.title,E=b.icon,w=b.style,$=b.className,j=b.items,I=j===void 0?[]:j,O=(0,be.Z)({},w);return x&&(O.flex="0 0 ".concat(100/(c+1)+.1,"%")),l.createElement(cl,{key:y,prefixCls:o,title:h,icon:E,items:I,style:O,className:$})}))),i&&l.createElement("section",{className:"".concat(o,"-bottom")},l.createElement("div",{className:"".concat(o,"-bottom-container")},i)))},ml=ul,Xn,Gn,fl=(0,ce.kc)(function(e,t){var n=e.css,o=e.responsive,r=e.token,a="rc-footer";return{container:n(Xn||(Xn=(0,T.Z)([`
162
+ grid-area: footer;
163
+ border-top: 1px solid `,`;
164
+ color: `,`;
165
+ text-align: center;
166
+ align-self: stretch;
167
+
168
+ `,` {
169
+ border: none;
170
+ flex-direction: column;
171
+ }
172
+ `])),r.colorSplit,r.colorTextDescription,o.mobile),footer:n(Gn||(Gn=(0,T.Z)([`
173
+ color: `,`;
174
+ font-size: 14px;
175
+ line-height: 1.5;
176
+ background-color: `,`;
177
+
178
+ &.`,` {
179
+ a {
180
+ color: `,`;
181
+ text-decoration: none;
182
+ transition: all 0.3s;
183
+
184
+ &:hover {
185
+ color: `,`;
186
+ }
187
+ }
188
+ }
189
+
190
+ .`,` {
191
+ &-container {
192
+ width: 100%;
193
+ max-width: `,`px;
194
+ margin: auto;
195
+ padding: `,`;
196
+ }
197
+
198
+ &-columns {
199
+ display: flex;
200
+ justify-content: space-around;
201
+ }
202
+
203
+ &-column {
204
+ h2 {
205
+ position: relative;
206
+ margin: 0 auto;
207
+ color: `,`;
208
+ font-weight: 500;
209
+ font-size: 16px;
210
+ }
211
+
212
+ &-icon {
213
+ position: relative;
214
+ top: -1px;
215
+ display: inline-block;
216
+ width: 22px;
217
+ text-align: center;
218
+ vertical-align: middle;
219
+ margin-inline-end: 0.5em;
220
+
221
+ > span,
222
+ > svg,
223
+ img {
224
+ display: block;
225
+ width: 100%;
226
+ }
227
+ }
228
+ }
229
+
230
+ &-item {
231
+ margin: 12px 0;
232
+
233
+ &-icon {
234
+ position: relative;
235
+ top: -1px;
236
+ display: inline-block;
237
+ width: 16px;
238
+ text-align: center;
239
+ vertical-align: middle;
240
+ margin-inline-end: 0.4em;
241
+
242
+ > span,
243
+ > svg,
244
+ img {
245
+ display: block;
246
+ width: 100%;
247
+ }
248
+ }
249
+
250
+ &-separator {
251
+ margin: 0 0.3em;
252
+ }
253
+ }
254
+
255
+ &-bottom {
256
+ &-container {
257
+ width: 100%;
258
+ max-width: 1200px;
259
+ margin: 0 auto;
260
+ padding: 16px 0;
261
+ font-size: 16px;
262
+ line-height: 32px;
263
+ text-align: center;
264
+ border-top: 1px solid `,`;
265
+ }
266
+ }
267
+
268
+ &-light {
269
+ color: rgba(0, 0, 0, 0.85);
270
+ background-color: transparent;
271
+
272
+ h2,
273
+ a {
274
+ color: rgba(0, 0, 0, 0.85);
275
+ }
276
+ }
277
+
278
+ &-light &-bottom-container {
279
+ border-top-color: #e8e8e8;
280
+ }
281
+
282
+ &-light &-item-separator,
283
+ &-light &-item-description {
284
+ color: rgba(0, 0, 0, 0.45);
285
+ }
286
+ }
287
+
288
+ `,` {
289
+ .`,` {
290
+ text-align: center;
291
+
292
+ &-container {
293
+ padding: 40px 0;
294
+ }
295
+
296
+ &-columns {
297
+ display: block;
298
+ }
299
+
300
+ &-column {
301
+ display: block;
302
+ margin-bottom: 40px;
303
+
304
+ &:last-child {
305
+ margin-bottom: 0;
306
+ }
307
+ }
308
+ }
309
+ }
310
+ `])),r.colorTextSecondary,r.colorBgLayout,a,r.colorTextTertiary,r.colorLinkHover,a,r.contentMaxWidth,t?"0":"60px 0 20px",r.colorText,t?"transparent":r.colorBorderSecondary,o.mobile,a)}}),pl=function(t){var n=t.columns,o=t.bottom,r=t.theme,a=!n||(n==null?void 0:n.length)===0,i=fl(a),s=i.styles;return(0,d.jsx)("div",{className:s.container,children:(0,d.jsx)(ml,{theme:r,className:s.footer,columns:n,bottom:o})})},gl=pl,Kn=function(t){return t.siteData.themeConfig.name},Ut=function(t){var n,o;return((n=t.siteData.themeConfig)===null||n===void 0||(n=n.socialLinks)===null||n===void 0?void 0:n.github)||((o=t.siteData.themeConfig)===null||o===void 0?void 0:o.github)},vl=function(t){var n=t.siteData.themeConfig.logo;return n?(n.startsWith("http"),n):n||""},hl=C(10050),xl=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:hl.Z}))},bl=l.forwardRef(xl),yl=bl,Cl=C(12895),Sl=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:Cl.Z}))},wl=l.forwardRef(Sl),$l=wl,Ol=C(49180),jl=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:Ol.Z}))},Il=l.forwardRef(jl),Yn=Il,El=C(62991),kl=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:El.Z}))},Tl=l.forwardRef(kl),Nl=Tl,Ml=C(14950),Dl=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:Ml.Z}))},Pl=l.forwardRef(Dl),Hl=Pl,Rl=C(33149),Bl=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:Rl.Z}))},zl=l.forwardRef(Bl),Al=zl,Ll=function(t){var n=t.github,o={title:"\u76F8\u5173\u8D44\u6E90",items:[{title:"Ant Design",url:"https://ant.design",openExternal:!0},{title:"Ant Design Pro",url:"https://pro.ant.design",openExternal:!0},{title:"Ant Design Pro Components",url:"https://procomponents.ant.design",openExternal:!0},{title:"Umi",description:"React \u5E94\u7528\u5F00\u53D1\u6846\u67B6",url:"https://umijs.org",openExternal:!0},{title:"Dumi",description:"\u7EC4\u4EF6/\u6587\u6863\u7814\u53D1\u5DE5\u5177",url:"https://d.umijs.org",openExternal:!0},{title:"qiankun",description:"\u5FAE\u524D\u7AEF\u6846\u67B6",url:"https://qiankun.umijs.org",openExternal:!0}]},r={title:"\u793E\u533A",items:[{icon:(0,d.jsx)(yl,{}),title:"Medium",url:"http://medium.com/ant-design/",openExternal:!0},{icon:(0,d.jsx)($l,{style:{color:"#1DA1F2"}}),title:"Twitter",url:"http://twitter.com/antdesignui",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg",alt:"yuque"}),title:"Ant Design \u8BED\u96C0\u4E13\u680F",url:"https://yuque.com/ant-design/ant-design",openExternal:!0},{icon:(0,d.jsx)(Yn,{style:{color:"#056de8"}}),title:"Ant Design \u77E5\u4E4E\u4E13\u680F",url:"https://www.zhihu.com/column/c_1564262000561106944",openExternal:!0},{icon:(0,d.jsx)(Yn,{style:{color:"#056de8"}}),title:"\u4F53\u9A8C\u79D1\u6280\u4E13\u680F",url:"http://zhuanlan.zhihu.com/xtech",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/mZBWtboYbnMkTBaRIuWQ.png",alt:"seeconf"}),title:"SEE Conf",description:"SEE Conf-\u8682\u8681\u4F53\u9A8C\u79D1\u6280\u5927\u4F1A",url:"https://seeconf.antfin.com/",openExternal:!0}]},a={icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg",alt:"more products"}),title:"\u66F4\u591A\u4EA7\u54C1",items:[{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg",alt:"yuque"}),title:"\u8BED\u96C0",url:"https://yuque.com",description:"\u77E5\u8BC6\u521B\u4F5C\u4E0E\u5206\u4EAB\u5DE5\u5177",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/antfincdn/nc7Fc0XBg5/8a6844f5-a6ed-4630-9177-4fa5d0b7dd47.png",alt:"AntV"}),title:"AntV",url:"https://antv.vision",description:"\u6570\u636E\u53EF\u89C6\u5316\u89E3\u51B3\u65B9\u6848",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://www.eggjs.org/logo.svg",alt:"Egg"}),title:"Egg",url:"https://eggjs.org",description:"\u4F01\u4E1A\u7EA7 Node.js \u6846\u67B6",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/DMDOlAUhmktLyEODCMBR.ico",alt:"kitchen"}),title:"Kitchen",description:"Sketch \u5DE5\u5177\u96C6",url:"https://kitchen.alipay.com",openExternal:!0},{icon:(0,d.jsx)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg",alt:"xtech"}),title:"\u8682\u8681\u4F53\u9A8C\u79D1\u6280",url:"https://xtech.antfin.com/",openExternal:!0}]},i={title:"\u5E2E\u52A9",items:[n?{icon:(0,d.jsx)(Nl,{}),title:"GitHub",url:n,openExternal:!0}:void 0,{icon:(0,d.jsx)(Hl,{}),title:"\u66F4\u65B0\u65E5\u5FD7",url:"/changelog",LinkComponent:W.rU},n?{icon:(0,d.jsx)(Al,{}),title:"\u8BA8\u8BBA",url:"".concat(n,"/issues"),openExternal:!0}:void 0].filter(Boolean)};return[]},Qn,Jn,Zl=(0,ce.kc)(function(e){var t=e.css,n=e.responsive,o=e.token,r="rc-footer";return{container:t(Qn||(Qn=(0,T.Z)([`
311
+ grid-area: footer;
312
+ border-top: 1px solid `,`;
313
+ color: `,`;
314
+ text-align: center;
315
+ align-self: stretch;
316
+
317
+ `,` {
318
+ border: none;
319
+ flex-direction: column;
320
+ }
321
+ `])),o.colorSplit,o.colorTextDescription,n.mobile),footer:t(Jn||(Jn=(0,T.Z)([`
322
+ color: `,`;
323
+ font-size: 14px;
324
+ line-height: 1.5;
325
+ background-color: `,`;
326
+
327
+ &.`,` {
328
+ a {
329
+ color: `,`;
330
+ text-decoration: none;
331
+ transition: all 0.3s;
332
+
333
+ &:hover {
334
+ color: `,`;
335
+ }
336
+ }
337
+ }
338
+
339
+ .`,` {
340
+ &-container {
341
+ width: 100%;
342
+ max-width: `,`px;
343
+ margin: auto;
344
+ padding: 60px 0 20px;
345
+ }
346
+
347
+ &-columns {
348
+ display: flex;
349
+ justify-content: space-around;
350
+ }
351
+
352
+ &-column {
353
+ //margin-bottom: 60px;
354
+
355
+ h2 {
356
+ position: relative;
357
+ margin: 0 auto;
358
+ color: `,`;
359
+ font-weight: 500;
360
+ font-size: 16px;
361
+ }
362
+
363
+ &-icon {
364
+ position: relative;
365
+ top: -1px;
366
+ display: inline-block;
367
+ width: 22px;
368
+ text-align: center;
369
+ vertical-align: middle;
370
+ margin-inline-end: 0.5em;
371
+
372
+ > span,
373
+ > svg,
374
+ img {
375
+ display: block;
376
+ width: 100%;
377
+ }
378
+ }
379
+ }
380
+
381
+ &-item {
382
+ margin: 12px 0;
383
+
384
+ &-icon {
385
+ position: relative;
386
+ top: -1px;
387
+ display: inline-block;
388
+ width: 16px;
389
+ text-align: center;
390
+ vertical-align: middle;
391
+ margin-inline-end: 0.4em;
392
+
393
+ > span,
394
+ > svg,
395
+ img {
396
+ display: block;
397
+ width: 100%;
398
+ }
399
+ }
400
+
401
+ &-separator {
402
+ margin: 0 0.3em;
403
+ }
404
+ }
405
+
406
+ &-bottom {
407
+ &-container {
408
+ width: 100%;
409
+ max-width: 1200px;
410
+ margin: 0 auto;
411
+ padding: 16px 0;
412
+ font-size: 16px;
413
+ line-height: 32px;
414
+ text-align: center;
415
+ border-top: 1px solid `,`;
416
+ }
417
+ }
418
+
419
+ &-light {
420
+ color: rgba(0, 0, 0, 0.85);
421
+ background-color: transparent;
422
+
423
+ h2,
424
+ a {
425
+ color: rgba(0, 0, 0, 0.85);
426
+ }
427
+ }
428
+
429
+ &-light &-bottom-container {
430
+ border-top-color: #e8e8e8;
431
+ }
432
+
433
+ &-light &-item-separator,
434
+ &-light &-item-description {
435
+ color: rgba(0, 0, 0, 0.45);
436
+ }
437
+ }
438
+
439
+ `,` {
440
+ .`,` {
441
+ text-align: center;
442
+
443
+ &-container {
444
+ padding: 40px 0;
445
+ }
446
+
447
+ &-columns {
448
+ display: block;
449
+ }
450
+
451
+ &-column {
452
+ display: block;
453
+ margin-bottom: 40px;
454
+
455
+ &:last-child {
456
+ margin-bottom: 0;
457
+ }
458
+ }
459
+ }
460
+ }
461
+ `])),o.colorTextSecondary,o.colorBgLayout,r,o.colorTextTertiary,o.colorLinkHover,r,o.contentMaxWidth,o.colorText,o.colorBorderSecondary,n.mobile,r)}}),Fl=function(){var t=(0,U.HX)(function(v){return v.siteData}),n=t.themeConfig,o=t.pkg,r=(0,U.HX)(Ut),a=Zl(),i=a.styles,s=a.theme,c=Ve(),m=c.mobile;if(!n.footer)return null;var u=n.footerConfig,p=u!=null&&u.columns?u.columns:Ll({github:r||o.homepage}),f=(u==null?void 0:u.bottom)||n.footer,g=(u==null?void 0:u.copyright)||"Copyright \xA9 2022-".concat(new Date().getFullYear());return(0,d.jsx)(gl,{theme:(u==null?void 0:u.theme)||s.appearance,columns:p,bottom:m?(0,d.jsxs)(Le.Z,{className:i.container,children:[g,(0,d.jsx)(se.D,{align:"center",horizontal:!0,dangerouslySetInnerHTML:{__html:f}})]}):(0,d.jsxs)(Le.Z,{horizontal:!0,children:[g,(0,d.jsx)(ll,{type:"vertical"}),(0,d.jsx)("span",{dangerouslySetInnerHTML:{__html:f}})]})})},qn=Fl,Oe=C(7034),ft=C(47245),Wl=C(77159);function pt(e){var t=e.pathname,n=e.current,o=e.target,r="base"in n?t.replace(n.base.replace(/\/$/,""),"")||"/":t.replace(new RegExp("".concat(n.suffix,"$")),"");return"base"in o?"".concat(o.base.replace(/\/$/,"")).concat(r).replace(/([^/])\/$/,"$1"):"".concat(r).concat(o.suffix)}var Vl={"zh-CN":"\u{1F1E8}\u{1F1F3}","en-US":"\u{1F1FA}\u{1F1F8}","jp-JP":"\u{1F1EF}\u{1F1F5}","ko-KR":"\u{1F1F0}\u{1F1F7}","ru-RU":"\u{1F1F7}\u{1F1FA}","es-ES":"\u{1F1EA}\u{1F1F8}","fr-FR":"\u{1F1EB}\u{1F1F7}","de-DE":"\u{1F1E9}\u{1F1EA}","pt-BR":"\u{1F1E7}\u{1F1F7}","it-IT":"\u{1F1EE}\u{1F1F9}","tr-TR":"\u{1F1F9}\u{1F1F7}","vi-VN":"\u{1F1FB}\u{1F1F3}"},eo={"zh-CN":"\u4E2D","en-US":"EN"},_l=function(t){var n=t.locale,o=t.current,r=(0,W.TH)(),a=r.pathname,i=(0,l.useState)(function(){return pt({pathname:a,current:o,target:n})}),s=(0,Oe.Z)(i,2),c=s[0],m=s[1];return(0,l.useEffect)(function(){m(pt({pathname:a,current:o,target:n}))},[a,o.id,n.id]),(0,d.jsx)(W.rU,{to:c,children:(0,d.jsx)(ft.ZP,{style:{minWidth:34,padding:0,display:"flex",alignItems:"center",justifyContent:"center"},children:eo[n.id]})})},Ul=function(){var t=(0,U.HX)(function(o){return o.siteData.locales}),n=(0,U.HX)(function(o){return o.locale});return t.length<=1?null:t.length>2?(0,d.jsx)(Wl.Z,{value:t.findIndex(function(o){return o.id===n.id}),onChange:function(r){console.log(pt({pathname:location.pathname,current:n,target:t[r]})),W.m8.push(pt({pathname:location.pathname,current:n,target:t[r]}))},options:t.map(function(o){return{value:o.id,label:eo[o.id]}}),renderItem:function(r,a){return"".concat(Vl[t[a].id]," ").concat(t[a].name)},style:{height:32,minWidth:32,padding:0,display:"flex",alignItems:"center",justifyContent:"center"}}):(0,d.jsx)(_l,{locale:t.find(function(o){var r=o.id;return r!==n.id}),current:n})},Xl=(0,l.memo)(Ul);function gt(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(const[o,r]of e)if(!Object.is(r,t.get(o)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(const o of e)if(!t.has(o))return!1;return!0}const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(const o of n)if(!Object.prototype.hasOwnProperty.call(t,o)||!Object.is(e[o],t[o]))return!1;return!0}var qu=(e,t)=>(console.warn("[DEPRECATED] Default export is deprecated. Instead use `import { shallow } from 'zustand/shallow'`."),gt(e,t)),Ue=C(35344),Gl=function(t){var n,o=t.routeMeta.frontmatter;if(t.siteData.themeConfig.apiHeader===!1||o.apiHeader===!1)return!1;if(o.apiHeader)return!0;var r=["/api","/components"].concat((0,tt.Z)(((n=t.siteData.themeConfig.apiHeader)===null||n===void 0?void 0:n.match)||[]));return r.some(function(a){return t.location.pathname.startsWith(a)})};function Kl(e,t){var n={camel:function(){return(0,Ue.camelCase)(e)},pascal:function(){return(0,Ue.upperFirst)((0,Ue.camelCase)(e))},kebab:function(){return(0,Ue.kebabCase)(e)},snake:function(){return(0,Ue.snakeCase)(e)},default:function(){return e}};return(n[t]||n.default)()}var to=function(t){var n,o,r,a,i,s,c,m,u=Ut(t),p=((n=t.routeMeta)===null||n===void 0?void 0:n.frontmatter)||{},f=(o=t.locale)===null||o===void 0?void 0:o.id,g=function(R){if(u)return R.replace("{github}",u).replace("{atomId}",p.atomId||"").replace(/\{atomId\.([^}]+)}/g,function(B,M){return Kl(p.atomId||"",M)}).replace("{title}",p.title).replace("{locale}",f)},v=function(R){return R===!1?!1:typeof R=="string"},x=((r=t.siteData)===null||r===void 0||(r=r.themeConfig)===null||r===void 0?void 0:r.apiHeader)||{},b=x.pkg,y=b===void 0?(a=t.siteData)===null||a===void 0||(a=a.pkg)===null||a===void 0?void 0:a.name:b,h=x.sourceUrl,E=x.docUrl,w=((i=p.apiHeader)===null||i===void 0?void 0:i.pkg)||y,$=p.atomId||p.title,j=((s=p.apiHeader)===null||s===void 0?void 0:s.defaultImport)||!1,I=((c=p.apiHeader)===null||c===void 0?void 0:c.sourceUrl)||h,O=v(I)?g(I):void 0,S=((m=p.apiHeader)===null||m===void 0?void 0:m.docUrl)||E,k=v(S)?g(S):void 0;return{title:p.title,description:p.description,pkg:w,defaultImport:j,componentName:$,sourceUrl:O,docUrl:k}},no=function(t){var n=t.routeMeta.frontmatter;return(0,Ue.merge)({},n.token,t.siteData.themeConfig.siteToken)},Yl={apiHeader:to,flattenSidebar:Rn,token:no,logo:vl},oo,Ql=(0,ce.kc)(function(e){var t=e.css,n=e.responsive,o=e.token;return t(oo||(oo=(0,T.Z)([`
462
+ display: inline-flex;
463
+ align-items: center;
464
+ font-family: AliPuHui, `,`;
465
+ color: `,`;
466
+ font-size: 22px;
467
+ line-height: 1;
468
+ font-weight: 500;
469
+ text-decoration: none;
470
+ gap: 10px;
471
+
472
+ `,` {
473
+ font-size: 18px;
474
+ }
475
+ `])),o.fontFamily,o.colorText,n.mobile)}),Jl=function(){var t=(0,U.HX)(function(u){return u.siteData.themeConfig},Ne()),n=(0,U.HX)(function(u){return u.locale},Ne()),o=(0,U.HX)(Yl.logo,gt),r=Ql(),a=r.styles,i=r.cx,s=t.name,c=t.hideNameOnHeader,m=c===void 0?!1:c;return t&&(0,d.jsxs)(W.rU,{className:i(a),to:"base"in n?n.base:"/",children:[!!o&&(0,d.jsx)("img",{src:o,alt:t.name,height:32}),!m&&s]})},ro=(0,l.memo)(Jl),ql=C(22666),es=function(){return l.createElement(l.Fragment,null)},ts=es,io,ao,ns=(0,ce.kc)(function(e){var t=e.css,n=e.responsive,o=e.token,r=e.stylish,a=e.prefixCls,i=".".concat(a,"-tabs"),s=16,c=6;return{tabs:t(io||(io=(0,T.Z)([`
476
+ `,"-tab + ",`-tab {
477
+ margin: `,`px 4px !important;
478
+ padding: 0 12px !important;
479
+ }
480
+
481
+ `,`-tab {
482
+ color: `,`;
483
+ transition: background-color 100ms ease-out;
484
+
485
+ &:first-child {
486
+ margin: `,"px 4px ",`px 0;
487
+ padding: `,`px 12px !important;
488
+ }
489
+
490
+ &:hover {
491
+ color: `,` !important;
492
+ background: `,`;
493
+ border-radius: `,`px;
494
+ }
495
+ }
496
+
497
+ `,`-nav {
498
+ margin-bottom: 0;
499
+ }
500
+
501
+ `,` {
502
+ display: none;
503
+ }
504
+ `])),i,i,s,i,o.colorTextSecondary,s,s,c,o.colorText,o.colorFillTertiary,o.borderRadius,i,n.mobile),link:t(ao||(ao=(0,T.Z)([`
505
+ `,`
506
+ `])),r.resetLinkColor)}}),os=function(){var t=ns(),n=t.styles,o=/^(\w+:)\/\/|^(mailto|tel):/,r=(0,U.HX)(function(i){return i.navData},gt),a=(0,U.HX)(Pn);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ql.Z,{onChange:function(s){var c,m=(c=r.find(function(u){return u.activePath===s||u.link===s}))===null||c===void 0?void 0:c.link;!m||o.test(m)||W.m8.push(m)},activeKey:a,className:n.tabs,items:r.map(function(i){return{label:o.test(i.link||"")?(0,d.jsx)("a",{href:i.link,className:n.link,target:"_blank",rel:"noreferrer",children:i.title}):(0,d.jsx)(W.rU,{className:n.link,to:i.link,children:i.title}),key:i.activePath||i.link}})}),(0,d.jsx)(ts,{})]})},rs=(0,l.memo)(os),is=C(69019),as=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:is.Z}))},ls=l.forwardRef(as),lo=ls,ss=Object.defineProperty,so=Object.getOwnPropertySymbols,cs=Object.prototype.hasOwnProperty,ds=Object.prototype.propertyIsEnumerable,co=(e,t,n)=>t in e?ss(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,us=(e,t)=>{for(var n in t||(t={}))cs.call(t,n)&&co(e,n,t[n]);if(so)for(var n of so(t))ds.call(t,n)&&co(e,n,t[n]);return e};const uo=e=>l.createElement("svg",us({viewBox:"0 0 1024 1024"},e),l.createElement("path",{d:"m885.2 446.3-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0 0 60.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}));var em="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJtODg1LjIgNDQ2LjMtLjItLjgtMTEyLjItMjg1LjFjLTUtMTYuMS0xOS45LTI3LjItMzYuOC0yNy4ySDI4MS4yYy0xNyAwLTMyLjEgMTEuMy0zNi45IDI3LjZMMTM5LjQgNDQzbC0uMy43LS4yLjhjLTEuMyA0LjktMS43IDkuOS0xIDE0LjgtLjEgMS42LS4yIDMuMi0uMiA0LjhWODMwYTYwLjkgNjAuOSAwIDAgMCA2MC44IDYwLjhoNjI3LjJjMzMuNSAwIDYwLjgtMjcuMyA2MC45LTYwLjhWNDY0LjFjMC0xLjMgMC0yLjYtLjEtMy43LjQtNC45IDAtOS42LTEuMy0xNC4xem0tMjk1LjgtNDMtLjMgMTUuN2MtLjggNDQuOS0zMS44IDc1LjEtNzcuMSA3NS4xLTIyLjEgMC00MS4xLTcuMS01NC44LTIwLjZTNDM2IDQ0MS4yIDQzNS42IDQxOWwtLjMtMTUuN0gyMjkuNUwzMDkgMjEwaDM5OS4ybDgxLjcgMTkzLjNINTg5LjR6bS0zNzUgNzYuOGgxNTcuM2MyNC4zIDU3LjEgNzYgOTAuOCAxNDAuNCA5MC44IDMzLjcgMCA2NS05LjQgOTAuMy0yNy4yIDIyLjItMTUuNiAzOS41LTM3LjQgNTAuNy02My42aDE1Ni41VjgxNEgyMTQuNFY0ODAuMXoiLz48L3N2Zz4=",ms=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(i){i(a)})}return new(n||(n=Promise))(function(a,i){function s(u){try{m(o.next(u))}catch(p){i(p)}}function c(u){try{m(o.throw(u))}catch(p){i(p)}}function m(u){u.done?a(u.value):r(u.value).then(s,c)}m((o=o.apply(e,t||[])).next())})};function vt(e){let t=0,n=0,o=e;do t+=o.offsetTop||0,n+=o.offsetLeft||0,o=o.offsetParent;while(o);return{top:t,left:n}}class fs{constructor(t){this.element=t}getHorizontalScroll(){return this.element.scrollLeft}getVerticalScroll(){return this.element.scrollTop}getMaxHorizontalScroll(){return this.element.scrollWidth-this.element.clientWidth}getMaxVerticalScroll(){return this.element.scrollHeight-this.element.clientHeight}getHorizontalElementScrollOffset(t,n){return vt(t).left-vt(n).left}getVerticalElementScrollOffset(t,n){return vt(t).top-vt(n).top}scrollTo(t,n){this.element.scrollLeft=t,this.element.scrollTop=n}}class ps{constructor(){this.element=window}getHorizontalScroll(){return window.scrollX||document.documentElement.scrollLeft}getVerticalScroll(){return window.scrollY||document.documentElement.scrollTop}getMaxHorizontalScroll(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth}getMaxVerticalScroll(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight}getHorizontalElementScrollOffset(t){return(window.scrollX||document.documentElement.scrollLeft)+t.getBoundingClientRect().left}getVerticalElementScrollOffset(t){return(window.scrollY||document.documentElement.scrollTop)+t.getBoundingClientRect().top}scrollTo(t,n){window.scrollTo(t,n)}}const Re={elements:[],cancelMethods:[],add:(e,t)=>{Re.elements.push(e),Re.cancelMethods.push(t)},remove:(e,t)=>{const n=Re.elements.indexOf(e);n>-1&&(t&&Re.cancelMethods[n](),Re.elements.splice(n,1),Re.cancelMethods.splice(n,1))}},mo=typeof window!="undefined",gs={cancelOnUserAction:!0,easing:e=>--e*e*e+1,elementToScroll:mo?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};function vs(e){return ms(this,arguments,void 0,function*(t,n={}){if(mo){if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill."}else return new Promise(j=>{j(!1)});let o,r,a,i=Object.assign(Object.assign({},gs),n);const s=i.elementToScroll===window,c=!!i.elementToScroll.nodeName;if(!s&&!c)throw"Element to scroll needs to be either window or DOM element.";const m=[{property:"scroll-behavior",value:"smooth"},{property:"scroll-snap-type",value:"mandatory"}],u=s?document.documentElement:i.elementToScroll,p=getComputedStyle(u);m.forEach(({property:j,value:I})=>{const O=p.getPropertyValue(j);O.includes(I)&&console.warn(`${u.tagName} has "${j}: ${O}" which can break animated-scroll-to's animations`)});const f=s?new ps:new fs(i.elementToScroll);if(t instanceof Element){if(a=t,c&&(!i.elementToScroll.contains(a)||i.elementToScroll.isSameNode(a)))throw"options.elementToScroll has to be a parent of scrollToElement";o=f.getHorizontalElementScrollOffset(a,i.elementToScroll),r=f.getVerticalElementScrollOffset(a,i.elementToScroll)}else if(typeof t=="number")o=f.getHorizontalScroll(),r=t;else if(Array.isArray(t)&&t.length===2)o=t[0]===null?f.getHorizontalScroll():t[0],r=t[1]===null?f.getVerticalScroll():t[1];else throw`Wrong function signature. Check documentation.
507
+ Available method signatures are:
508
+ animateScrollTo(y:number, options)
509
+ animateScrollTo([x:number | null, y:number | null], options)
510
+ animateScrollTo(scrollToElement:Element, options)`;o+=i.horizontalOffset,r+=i.verticalOffset;const g=f.getMaxHorizontalScroll(),v=f.getHorizontalScroll();o>g&&(o=g);const x=o-v,b=f.getMaxVerticalScroll(),y=f.getVerticalScroll();r>b&&(r=b);const h=r-y,E=Math.abs(Math.round(x/1e3*i.speed)),w=Math.abs(Math.round(h/1e3*i.speed));let $=E>w?E:w;return $<i.minDuration?$=i.minDuration:$>i.maxDuration&&($=i.maxDuration),new Promise((j,I)=>{x===0&&h===0&&j(!0),Re.remove(f.element,!0);let O;const S=()=>{M(),cancelAnimationFrame(O),j(!1)};Re.add(f.element,S);const k=z=>z.preventDefault(),P=i.cancelOnUserAction?S:k,R=i.cancelOnUserAction?{passive:!0}:{passive:!1},B=["wheel","touchstart","keydown","mousedown"],M=()=>{B.forEach(z=>{f.element.removeEventListener(z,P,R)})};B.forEach(z=>{f.element.addEventListener(z,P,R)});const A=Date.now(),H=()=>{var z=Date.now()-A,_=z/$;const re=Math.round(v+x*i.easing(_)),Q=Math.round(y+h*i.easing(_));z<$&&(re!==o||Q!==r)?(f.scrollTo(re,Q),O=requestAnimationFrame(H)):(f.scrollTo(o,r),cancelAnimationFrame(O),M(),Re.remove(f.element,!1),j(!0))};O=requestAnimationFrame(H)})})}var hs=vs;function Xt(e,t){return Cs(e)||ys(e,t)||bs(e,t)||xs()}function xs(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
511
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bs(e,t){if(e){if(typeof e=="string")return fo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fo(e,t)}}function fo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function ys(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o,r,a,i,s=[],c=!0,m=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=a.call(n)).done)&&(s.push(o.value),s.length!==t);c=!0);}catch(u){m=!0,r=u}finally{try{if(!c&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(m)throw r}}return s}}function Cs(e){if(Array.isArray(e))return e}var Ss=function(){return l.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M5.333 10.667h21.334c.889 0 1.333.444 1.333 1.333s-.444 1.333-1.333 1.333H5.333C4.444 13.333 4 12.89 4 12s.444-1.333 1.333-1.333Z"}),l.createElement("path",{d:"M13.207 2.667h.126a1.206 1.206 0 0 1 1.2 1.326l-2.413 24.14a1.333 1.333 0 0 1-1.327 1.2h-.126a1.206 1.206 0 0 1-1.2-1.326l2.413-24.14c.068-.682.642-1.2 1.327-1.2Zm8 0h.126a1.206 1.206 0 0 1 1.2 1.326l-2.413 24.14a1.333 1.333 0 0 1-1.327 1.2h-.126a1.206 1.206 0 0 1-1.2-1.326l2.413-24.14c.068-.682.642-1.2 1.327-1.2Z"}),l.createElement("path",{d:"M5.333 18.667h21.334c.889 0 1.333.444 1.333 1.333s-.444 1.333-1.333 1.333H5.333C4.444 21.333 4 20.89 4 20s.444-1.333 1.333-1.333Z"}))},ws=function(){return l.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M9.402 0h14.78L30 6.16V24.5c0 1.933-1.71 3.5-3.589 3.5H9.401C7.524 28 6 26.433 6 24.5v-21C6 1.567 7.523 0 9.402 0ZM23 2v4.183c0 .451.366.817.817.817H28l-5-5Zm3.333 24c.92 0 1.667-.768 1.667-1.714V8.857h-5c-.92 0-1.667-.767-1.667-1.714V2H9.667C8.747 2 8 2.768 8 3.714v20.572C8 25.232 8.746 26 9.667 26h16.666Z"}))},$s=function(){return l.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M6.12 14.589h6.628l1.52 4.004h2.485l-5.938-15.19H8.053L2.115 18.732H4.6l1.52-4.143ZM8.88 6.855c.139-.414.277-.828.415-1.38h.138c0 .138.138.414.414 1.104 0 .138.138.276.138.276 0 .138.829 2.072 2.21 5.938H6.672c1.519-3.866 2.21-5.8 2.21-5.938Zm8.148 2.348h12.705v1.933H17.029V9.203ZM2.115 20.665h27.619v1.933H2.114v-1.933Zm14.914-5.662h12.705v1.933H17.029v-1.933ZM2.115 26.327h27.619v1.933H2.114v-1.933ZM17.029 3.54h12.705v1.934H17.029V3.54Z"}))},Os=function(){return l.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M28 6h-5a5 5 0 0 0-10 0H8a2 2 0 0 0-2 2v5a5 5 0 0 0 0 10v5a2 2 0 0 0 2 2h7v-2a3 3 0 0 1 6 0v2h7a2 2 0 0 0 2-2v-7h-2a3 3 0 0 1 0-6h2V8a2 2 0 0 0-2-2Zm-5 12a5 5 0 0 0 5 5v5h-5a5 5 0 0 0-10 0H8v-7H6a3 3 0 0 1 0-6h2V8h7V6a3 3 0 0 1 6 0v2h7v5a5 5 0 0 0-5 5Z"}))},js={title:Ss,page:ws,content:$s,demo:Os},po=function(t){return l.createElement(l.Fragment,null,t.texts.map(function(n,o){return l.createElement(l.Fragment,{key:o},n.highlighted?l.createElement("mark",null,n.text):n.text)}))},Is=function(t){var n=(0,l.useCallback)(function(){var s=0,c=[];return t.forEach(function(m){m.title&&c.push({type:"title",value:{title:m.title}}),m.hints.forEach(function(u){c.push({type:"hint",activeIndex:s++,value:u})})}),[c,s]},[t]),o=(0,l.useState)(n),r=Xt(o,2),a=r[0],i=r[1];return(0,l.useEffect)(function(){i(n)},[t]),a},Es=function(t){var n=Is(t.data),o=Xt(n,2),r=o[0],a=o[1],i=(0,l.useState)(-1),s=Xt(i,2),c=s[0],m=s[1],u=(0,W.TH)(),p=u.pathname,f=function(x){var b;(b=t.onItemSelect)===null||b===void 0||b.call(t,x);var y=new URL(x==null?void 0:x.link,location.origin);(y==null?void 0:y.pathname)===p&&!y.hash&&setTimeout(function(){hs(0,{maxDuration:300})},1)};(0,l.useEffect)(function(){var v=function(b){if(b.key==="ArrowDown")m((c+1)%a);else if(b.key==="ArrowUp")m((c+a-1)%a);else if(b.key==="Enter"&&c>=0){var y=r.find(function(h){return h.type==="hint"&&h.activeIndex===c}).value;W.m8.push(y.link),f==null||f(y),document.activeElement.blur()}["Escape","Enter"].includes(b.key)&&m(-1)};return document.addEventListener("keydown",v),function(){return document.removeEventListener("keydown",v)}});var g=null;return t.loading?g=l.createElement("div",{className:"dumi-default-search-empty"},l.createElement(uo,null),l.createElement(W._H,{id:"search.loading"})):t.data.length?g=l.createElement("dl",null,r.map(function(v,x){return v.type==="title"?l.createElement("dt",{key:String(x)},v.value.title):l.createElement("dd",{key:String(x)},l.createElement(W.rU,{to:v.value.link,"data-active":c===v.activeIndex||void 0,onClick:function(){return f==null?void 0:f(v.value)}},l.createElement(js[v.value.type]),l.createElement("h4",null,l.createElement(po,{texts:v.value.highlightTitleTexts})),l.createElement("p",null,l.createElement(po,{texts:v.value.highlightTexts}))))})):g=l.createElement("div",{className:"dumi-default-search-empty"},l.createElement(uo,null),l.createElement(W._H,{id:"search.not.found"})),l.createElement("div",{className:"dumi-default-search-result",onMouseEnter:function(){return m(-1)},onMouseDownCapture:function(x){return x.preventDefault()},onMouseUpCapture:function(){document.activeElement.blur()}},g)},go=Es,vo=(0,l.forwardRef)(function(e,t){var n=(0,W.YB)(),o=(0,l.useRef)(!1),r=(0,l.useRef)(null);return(0,l.useImperativeHandle)(t,function(){return r.current}),(0,d.jsx)("input",{className:e.className,onCompositionStart:function(){return o.current=!0},onCompositionEnd:function(i){o.current=!1,e.onChange(i.currentTarget.value)},onFocus:e.onFocus,onBlur:e.onBlur,onKeyDown:function(i){["ArrowDown","ArrowUp"].includes(i.key)&&i.preventDefault(),i.key==="Escape"&&!o.current&&i.currentTarget.blur()},onChange:function(i){setTimeout(function(){o.current||e.onChange(i.target.value)},1)},placeholder:n.formatMessage({id:"header.search.placeholder"}),ref:r})}),ho,xo,bo,ks=(0,ce.kc)(function(e){var t=e.token,n=e.css;return{modal:n(ho||(ho=(0,T.Z)([`
512
+ position: fixed;
513
+ top: 0;
514
+ inset-inline-start: 0;
515
+ z-index: 1000;
516
+ width: 100vw;
517
+ height: 100vh;
518
+ display: flex;
519
+ justify-content: center;
520
+ `]))),mask:n(xo||(xo=(0,T.Z)([`
521
+ background-color: `,`;
522
+ width: 100%;
523
+ height: 100%;
524
+ `])),t.colorBgMask),content:n(bo||(bo=(0,T.Z)([`
525
+ position: absolute;
526
+ top: 60px;
527
+ background-color: `,`;
528
+ width: 500px;
529
+ padding: 12px;
530
+ box-sizing: border-box;
531
+ box-shadow: inset 1px 1px 0 0 hsla(0deg, 0%, 100%, 50%), 0 3px 8px 0 #555a64;
532
+ border-radius: 8px;
533
+ max-height: calc(100% - 120px);
534
+ display: flex;
535
+ flex-direction: column;
536
+ `])),t.colorBgElevated)}}),Ts=function(t){var n=ks(),o=n.styles;return(0,l.useEffect)(function(){if(t.visible)document.body.style.overflow="hidden";else{var r;document.body.style.overflow="",(r=t.onClose)===null||r===void 0||r.call(t)}},[t.visible]),t.visible?(0,d.jsxs)("div",{className:o.modal,children:[(0,d.jsx)("div",{className:o.mask,onClick:t.onMaskClick}),(0,d.jsx)("div",{className:o.content,children:t.children})]}):null},yo,Co,So,wo,$o,Ns=(0,ce.kc)(function(e){var t=e.token,n=e.responsive,o=e.css,r=e.cx;return{container:o(yo||(yo=(0,T.Z)([`
537
+ position: relative;
538
+
539
+ // TODO: support search for mobile devices
540
+ `,` {
541
+ display: none;
542
+ }
543
+ `])),n.mobile),shortcut:r("site-header-shortcut",o(Co||(Co=(0,T.Z)([`
544
+ position: absolute;
545
+ top: 50%;
546
+ inset-inline-end: 11px;
547
+ display: inline-block;
548
+ padding: 4px 8px;
549
+ color: `,`;
550
+ font-size: 12px;
551
+ line-height: 1;
552
+ white-space: nowrap;
553
+ background-color: `,`;
554
+ border-radius: 11px;
555
+ border: 1px solid `,`;
556
+ transform: translateY(-50%);
557
+ transition: all 0.3s;
558
+ pointer-events: none;
559
+
560
+ `,` {
561
+ display: none;
562
+ }
563
+ `])),t.colorTextDescription,t.colorFillSecondary,t.colorBorderSecondary,n.mobile)),popover:o(So||(So=(0,T.Z)([`
564
+ position: absolute;
565
+ top: 100%;
566
+ inset-inline-end: 0;
567
+ display: flex;
568
+ flex-direction: column;
569
+ width: 540px;
570
+ max-height: 460px;
571
+ margin-top: 18px;
572
+ background-color: `,`;
573
+ border-radius: 8px;
574
+ box-shadow: 0 4px 30px rgba(0, 0, 0, 20%);
575
+
576
+ &::before {
577
+ content: '';
578
+ position: absolute;
579
+ bottom: 100%;
580
+ inset-inline-end: 100px;
581
+ display: inline-block;
582
+ width: 0;
583
+ height: 0;
584
+ border: 8px solid transparent;
585
+ border-bottom-color: #fff;
586
+ }
587
+
588
+ > section {
589
+ flex: 1;
590
+ min-height: 60px;
591
+ overflow: auto;
592
+ overscroll-behavior: contain;
593
+ -webkit-overflow-scrolling: touch;
594
+ border-radius: inherit;
595
+ }
596
+ `])),t.colorBgElevated),svg:r(o(wo||(wo=(0,T.Z)([`
597
+ position: absolute;
598
+ top: 50%;
599
+ margin-top: 1px;
600
+ inset-inline-start: 16px;
601
+ width: 16px;
602
+ color: `,`;
603
+ transform: translateY(-50%);
604
+ `])),t.colorTextPlaceholder)),input:o($o||($o=(0,T.Z)([`
605
+ width: 280px;
606
+ height: `,`px;
607
+ padding: 0;
608
+ padding-inline-start: 40px;
609
+ padding-inline-end: 12px;
610
+ color: `,`;
611
+ font-size: 14px;
612
+ border: 1px solid `,`;
613
+ border-radius: 20px;
614
+ box-sizing: border-box;
615
+ outline: none;
616
+ transition: all 0.3s;
617
+ background-color: transparent;
618
+
619
+ &:focus {
620
+ border-color: `,`;
621
+ background: `,`;
622
+
623
+ ~ .site-header-shortcut {
624
+ opacity: 0;
625
+ }
626
+ }
627
+
628
+ &::-webkit-input-placeholder {
629
+ color: `,`;
630
+ }
631
+ `])),t.controlHeightLG,t.colorTextSecondary,t.colorBorder,t.colorBorderSecondary,t.colorBgElevated,t.colorTextPlaceholder)}}),Gt,Oo=/(mac|iphone|ipod|ipad)/i.test(typeof navigator!="undefined"?(Gt=navigator)===null||Gt===void 0?void 0:Gt.platform:""),Ms=function(t){return["TEXTAREA","INPUT"].includes(t.tagName)||t.contentEditable==="true"},Ds=function(){var t=Ns(),n=t.styles,o=(0,l.useState)(!1),r=(0,Oe.Z)(o,2),a=r[0],i=r[1],s=(0,l.useRef)(null),c=(0,l.useRef)(null),m=(0,l.useState)("\u2318"),u=(0,Oe.Z)(m,2),p=u[0],f=u[1],g=(0,W.OO)(),v=g.keywords,x=g.setKeywords,b=g.result,y=g.loading,h=(0,l.useState)(!1),E=(0,Oe.Z)(h,2),w=E[0],$=E[1];return(0,l.useEffect)(function(){Oo||f("Ctrl");var j=function(O){if(((Oo?O.metaKey:O.ctrlKey)&&O.key==="k"||O.key==="/"&&!Ms(O.target))&&(O.preventDefault(),s.current)){var S=s.current.getBoundingClientRect(),k=S.top,P=S.bottom,R=S.left,B=S.right,M=k>=0&&R>=0&&P<=window.innerHeight&&B<=window.innerWidth;M?s.current.focus():(x(""),$(!0),setTimeout(function(){var A;(A=c.current)===null||A===void 0||A.focus()}))}O.key==="Escape"&&(O.preventDefault(),$(!1))};return document.addEventListener("keydown",j),function(){return document.removeEventListener("keydown",j)}},[]),(0,d.jsxs)("div",{className:n.container,children:[(0,d.jsx)(lo,{className:n.svg}),(0,d.jsx)(vo,{onFocus:function(){return i(!0)},onBlur:function(){setTimeout(function(){i(!1)},1)},onChange:function(I){return x(I)},ref:s,className:n.input}),(0,d.jsxs)("span",{className:n.shortcut,children:[p," K"]}),v.trim()&&a&&(b.length||!y)&&!w&&(0,d.jsx)("div",{className:n.popover,children:(0,d.jsx)("section",{children:(0,d.jsx)(go,{data:b,loading:y})})}),(0,d.jsxs)(Ts,{visible:w,onMaskClick:function(){$(!1)},onClose:function(){return x("")},children:[(0,d.jsxs)("div",{style:{position:"relative"},children:[(0,d.jsx)(lo,{className:n.svg}),(0,d.jsx)(vo,{className:n.input,onFocus:function(){return i(!0)},onBlur:function(){setTimeout(function(){i(!1)},1)},onChange:function(I){return x(I)},ref:c})]}),(0,d.jsx)(go,{data:b,loading:y,onItemSelect:function(){$(!1)}})]})]})},Ps=Ds,Hs=C(35506),Rs=l.createContext(null),jo=l.createContext({}),Io=Rs,Kt=C(62803),ot=C(14583),ht=C(71305),Eo=C(42684),Bs=["prefixCls","className","containerRef"],zs=function(t){var n=t.prefixCls,o=t.className,r=t.containerRef,a=(0,We.Z)(t,Bs),i=l.useContext(jo),s=i.panel,c=(0,Eo.x1)(s,r);return l.createElement("div",(0,ae.Z)({className:L()("".concat(n,"-content"),o),role:"dialog",ref:c},(0,ht.Z)(t,{aria:!0}),{"aria-modal":"true"},a))},As=zs,ko=C(4449);function To(e){return typeof e=="string"&&String(Number(e))===e?((0,ko.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}function tm(e){warning(!("wrapperClassName"in e),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!e.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var No={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Ls(e,t){var n,o,r,a=e.prefixCls,i=e.open,s=e.placement,c=e.inline,m=e.push,u=e.forceRender,p=e.autoFocus,f=e.keyboard,g=e.classNames,v=e.rootClassName,x=e.rootStyle,b=e.zIndex,y=e.className,h=e.id,E=e.style,w=e.motion,$=e.width,j=e.height,I=e.children,O=e.mask,S=e.maskClosable,k=e.maskMotion,P=e.maskClassName,R=e.maskStyle,B=e.afterOpenChange,M=e.onClose,A=e.onMouseEnter,H=e.onMouseOver,z=e.onMouseLeave,_=e.onClick,re=e.onKeyDown,Q=e.onKeyUp,Y=e.styles,ee=e.drawerRender,J=l.useRef(),de=l.useRef(),ye=l.useRef();l.useImperativeHandle(t,function(){return J.current});var ne=function(G){var ie=G.keyCode,me=G.shiftKey;switch(ie){case ot.Z.TAB:{if(ie===ot.Z.TAB){if(!me&&document.activeElement===ye.current){var ge;(ge=de.current)===null||ge===void 0||ge.focus({preventScroll:!0})}else if(me&&document.activeElement===de.current){var ze;(ze=ye.current)===null||ze===void 0||ze.focus({preventScroll:!0})}}break}case ot.Z.ESC:{M&&f&&(G.stopPropagation(),M(G));break}}};l.useEffect(function(){if(i&&p){var F;(F=J.current)===null||F===void 0||F.focus({preventScroll:!0})}},[i]);var X=l.useState(!1),V=(0,Oe.Z)(X,2),fe=V[0],ue=V[1],oe=l.useContext(Io),ke;typeof m=="boolean"?ke=m?{}:{distance:0}:ke=m||{};var pe=(n=(o=(r=ke)===null||r===void 0?void 0:r.distance)!==null&&o!==void 0?o:oe==null?void 0:oe.pushDistance)!==null&&n!==void 0?n:180,Be=l.useMemo(function(){return{pushDistance:pe,push:function(){ue(!0)},pull:function(){ue(!1)}}},[pe]);l.useEffect(function(){if(i){var F;oe==null||(F=oe.push)===null||F===void 0||F.call(oe)}else{var G;oe==null||(G=oe.pull)===null||G===void 0||G.call(oe)}},[i]),l.useEffect(function(){return function(){var F;oe==null||(F=oe.pull)===null||F===void 0||F.call(oe)}},[]);var it=l.createElement(Kt.ZP,(0,ae.Z)({key:"mask"},k,{visible:O&&i}),function(F,G){var ie=F.className,me=F.style;return l.createElement("div",{className:L()("".concat(a,"-mask"),ie,g==null?void 0:g.mask,P),style:(0,be.Z)((0,be.Z)((0,be.Z)({},me),R),Y==null?void 0:Y.mask),onClick:S&&i?M:void 0,ref:G})}),te=typeof w=="function"?w(s):w,q={};if(fe&&pe)switch(s){case"top":q.transform="translateY(".concat(pe,"px)");break;case"bottom":q.transform="translateY(".concat(-pe,"px)");break;case"left":q.transform="translateX(".concat(pe,"px)");break;default:q.transform="translateX(".concat(-pe,"px)");break}s==="left"||s==="right"?q.width=To($):q.height=To(j);var D={onMouseEnter:A,onMouseOver:H,onMouseLeave:z,onClick:_,onKeyDown:re,onKeyUp:Q},Z=l.createElement(Kt.ZP,(0,ae.Z)({key:"panel"},te,{visible:i,forceRender:u,onVisibleChanged:function(G){B==null||B(G)},removeOnLeave:!1,leavedClassName:"".concat(a,"-content-wrapper-hidden")}),function(F,G){var ie=F.className,me=F.style,ge=l.createElement(As,(0,ae.Z)({id:h,containerRef:G,prefixCls:a,className:L()(y,g==null?void 0:g.content),style:(0,be.Z)((0,be.Z)({},E),Y==null?void 0:Y.content)},(0,ht.Z)(e,{aria:!0}),D),I);return l.createElement("div",(0,ae.Z)({className:L()("".concat(a,"-content-wrapper"),g==null?void 0:g.wrapper,ie),style:(0,be.Z)((0,be.Z)((0,be.Z)({},q),me),Y==null?void 0:Y.wrapper)},(0,ht.Z)(e,{data:!0})),ee?ee(ge):ge)}),le=(0,be.Z)({},x);return b&&(le.zIndex=b),l.createElement(Io.Provider,{value:Be},l.createElement("div",{className:L()(a,"".concat(a,"-").concat(s),v,(0,he.Z)((0,he.Z)({},"".concat(a,"-open"),i),"".concat(a,"-inline"),c)),style:le,tabIndex:-1,ref:J,onKeyDown:ne},it,l.createElement("div",{tabIndex:0,ref:de,style:No,"aria-hidden":"true","data-sentinel":"start"}),Z,l.createElement("div",{tabIndex:0,ref:ye,style:No,"aria-hidden":"true","data-sentinel":"end"})))}var Zs=l.forwardRef(Ls),Fs=Zs,Ws=function(t){var n=t.open,o=n===void 0?!1:n,r=t.prefixCls,a=r===void 0?"rc-drawer":r,i=t.placement,s=i===void 0?"right":i,c=t.autoFocus,m=c===void 0?!0:c,u=t.keyboard,p=u===void 0?!0:u,f=t.width,g=f===void 0?378:f,v=t.mask,x=v===void 0?!0:v,b=t.maskClosable,y=b===void 0?!0:b,h=t.getContainer,E=t.forceRender,w=t.afterOpenChange,$=t.destroyOnClose,j=t.onMouseEnter,I=t.onMouseOver,O=t.onMouseLeave,S=t.onClick,k=t.onKeyDown,P=t.onKeyUp,R=t.panelRef,B=l.useState(!1),M=(0,Oe.Z)(B,2),A=M[0],H=M[1],z=l.useState(!1),_=(0,Oe.Z)(z,2),re=_[0],Q=_[1];(0,_t.Z)(function(){Q(!0)},[]);var Y=re?o:!1,ee=l.useRef(),J=l.useRef();(0,_t.Z)(function(){Y&&(J.current=document.activeElement)},[Y]);var de=function(fe){var ue;if(H(fe),w==null||w(fe),!fe&&J.current&&!((ue=ee.current)!==null&&ue!==void 0&&ue.contains(J.current))){var oe;(oe=J.current)===null||oe===void 0||oe.focus({preventScroll:!0})}},ye=l.useMemo(function(){return{panel:R}},[R]);if(!E&&!A&&!Y&&$)return null;var ne={onMouseEnter:j,onMouseOver:I,onMouseLeave:O,onClick:S,onKeyDown:k,onKeyUp:P},X=(0,be.Z)((0,be.Z)({},t),{},{open:Y,prefixCls:a,placement:s,autoFocus:m,keyboard:p,width:g,mask:x,maskClosable:y,inline:h===!1,afterOpenChange:de,ref:ee},ne);return l.createElement(jo.Provider,{value:ye},l.createElement(Hs.Z,{open:Y||E||A,autoDestroy:!1,getContainer:h,autoLock:x&&(Y||A)},l.createElement(Fs,X)))},Vs=Ws,_s=Vs,Us=C(73188),Xs=C(96516),Mo=C(63732),xt=C(15282),Gs=C(41146),Ks=C(75597),Ke=C(57292),Do=e=>{var t,n;const{prefixCls:o,ariaId:r,title:a,footer:i,extra:s,closable:c,loading:m,onClose:u,headerStyle:p,bodyStyle:f,footerStyle:g,children:v,classNames:x,styles:b}=e,y=(0,Ce.dj)("drawer");let h;c===!1?h=void 0:c===void 0||c===!0?h="start":h=(c==null?void 0:c.placement)==="end"?"end":"start";const E=l.useCallback(O=>l.createElement("button",{type:"button",onClick:u,className:L()(`${o}-close`,{[`${o}-close-${h}`]:h==="end"})},O),[u,o,h]),[w,$]=(0,Ke.b)((0,Ke.w)(e),(0,Ke.w)(y),{closable:!0,closeIconRender:E}),j=()=>{var O,S;return!a&&!w?null:l.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(O=y.styles)===null||O===void 0?void 0:O.header),p),b==null?void 0:b.header),className:L()(`${o}-header`,{[`${o}-header-close-only`]:w&&!a&&!s},(S=y.classNames)===null||S===void 0?void 0:S.header,x==null?void 0:x.header)},l.createElement("div",{className:`${o}-header-title`},h==="start"&&$,a&&l.createElement("div",{className:`${o}-title`,id:r},a)),s&&l.createElement("div",{className:`${o}-extra`},s),h==="end"&&$)},I=()=>{var O,S;if(!i)return null;const k=`${o}-footer`;return l.createElement("div",{className:L()(k,(O=y.classNames)===null||O===void 0?void 0:O.footer,x==null?void 0:x.footer),style:Object.assign(Object.assign(Object.assign({},(S=y.styles)===null||S===void 0?void 0:S.footer),g),b==null?void 0:b.footer)},i)};return l.createElement(l.Fragment,null,j(),l.createElement("div",{className:L()(`${o}-body`,x==null?void 0:x.body,(t=y.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=y.styles)===null||n===void 0?void 0:n.body),f),b==null?void 0:b.body)},m?l.createElement(Nn.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${o}-body-skeleton`}):v),I())};const Ys=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},Po=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),Ho=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},Po({opacity:e},{opacity:1})),Qs=(e,t)=>[Ho(.7,t),Po({transform:Ys(e)},{transform:"none"})];var Js=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:Ho(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((o,r)=>Object.assign(Object.assign({},o),{[`&-${r}`]:Qs(r,n)}),{})}}};const qs=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:o,colorBgMask:r,colorBgElevated:a,motionDurationSlow:i,motionDurationMid:s,paddingXS:c,padding:m,paddingLG:u,fontSizeLG:p,lineHeightLG:f,lineWidth:g,lineType:v,colorSplit:x,marginXS:b,colorIcon:y,colorIconHover:h,colorBgTextHover:E,colorBgTextActive:w,colorText:$,fontWeightStrong:j,footerPaddingBlock:I,footerPaddingInline:O,calc:S}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:o,pointerEvents:"none",color:$,"&-pure":{position:"relative",background:a,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:o,background:r,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:o,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,N.unit)(m)} ${(0,N.unit)(u)}`,fontSize:p,lineHeight:f,borderBottom:`${(0,N.unit)(g)} ${v} ${x}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:S(p).add(c).equal(),height:S(p).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",color:y,fontWeight:j,fontSize:p,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto",[`&${n}-close-end`]:{marginInlineStart:b},[`&:not(${n}-close-end)`]:{marginInlineEnd:b},"&:hover":{color:h,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:w}},(0,we.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:p,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,N.unit)(I)} ${(0,N.unit)(O)}`,borderTop:`${(0,N.unit)(g)} ${v} ${x}`},"&-rtl":{direction:"rtl"}}}},ec=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding});var Ro=(0,Me.I$)("Drawer",e=>{const t=(0,_e.IX)(e,{});return[qs(t),Js(t)]},ec),Bo=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const rm=null,tc={distance:180},zo=e=>{var t;const{rootClassName:n,width:o,height:r,size:a="default",mask:i=!0,push:s=tc,open:c,afterOpenChange:m,onClose:u,prefixCls:p,getContainer:f,panelRef:g=null,style:v,className:x,"aria-labelledby":b,visible:y,afterVisibleChange:h,maskStyle:E,drawerStyle:w,contentWrapperStyle:$,destroyOnClose:j,destroyOnHidden:I}=e,O=Bo(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","panelRef","style","className","aria-labelledby","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle","destroyOnClose","destroyOnHidden"]),S=(0,Us.Z)(),k=O.title?S:void 0,{getPopupContainer:P,getPrefixCls:R,direction:B,className:M,style:A,classNames:H,styles:z}=(0,Ce.dj)("drawer"),_=R("drawer",p),[re,Q,Y]=Ro(_),ee=f===void 0&&P?()=>P(document.body):f,J=L()({"no-mask":!i,[`${_}-rtl`]:B==="rtl"},n,Q,Y),de=l.useMemo(()=>o!=null?o:a==="large"?736:378,[o,a]),ye=l.useMemo(()=>r!=null?r:a==="large"?736:378,[r,a]),ne={motionName:(0,xt.m)(_,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},X=Be=>({motionName:(0,xt.m)(_,`panel-motion-${Be}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),V=(0,Ks.H)(),fe=(0,Eo.sQ)(g,V),[ue,oe]=(0,Mo.Cn)("Drawer",O.zIndex),{classNames:ke={},styles:pe={}}=O;return re(l.createElement(Xs.Z,{form:!0,space:!0},l.createElement(Gs.Z.Provider,{value:oe},l.createElement(_s,Object.assign({prefixCls:_,onClose:u,maskMotion:ne,motion:X},O,{classNames:{mask:L()(ke.mask,H.mask),content:L()(ke.content,H.content),wrapper:L()(ke.wrapper,H.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},pe.mask),E),z.mask),content:Object.assign(Object.assign(Object.assign({},pe.content),w),z.content),wrapper:Object.assign(Object.assign(Object.assign({},pe.wrapper),$),z.wrapper)},open:c!=null?c:y,mask:i,push:s,width:de,height:ye,style:Object.assign(Object.assign({},A),v),className:L()(M,x),rootClassName:J,getContainer:ee,afterOpenChange:m!=null?m:h,panelRef:fe,zIndex:ue,"aria-labelledby":b!=null?b:k,destroyOnClose:I!=null?I:j}),l.createElement(Do,Object.assign({prefixCls:_},O,{ariaId:k,onClose:u}))))))},nc=e=>{const{prefixCls:t,style:n,className:o,placement:r="right"}=e,a=Bo(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=l.useContext(Ce.E_),s=i("drawer",t),[c,m,u]=Ro(s),p=L()(s,`${s}-pure`,`${s}-${r}`,m,u,o);return c(l.createElement("div",{className:p,style:n},l.createElement(Do,Object.assign({prefixCls:s},a))))};zo._InternalPanelDoNotUseOrYouWillBeFired=nc;var oc=zo,Ye=C(15836),im=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const am={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},lm=e=>!Number.isNaN(Number.parseFloat(e))&&Number.isFinite(Number(e)),Ao=l.createContext({}),sm=(()=>{let e=0;return(t="")=>(e+=1,`${t}${e}`)})(),cm=null;var dm=null,rc=C(25576),bt=C(59373),Qe=C(18051),Je=C(48229),Lo=C(39875),yt=(0,l.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ic=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},Zo=e=>{const{prefixCls:t,className:n,dashed:o}=e,r=ic(e,["prefixCls","className","dashed"]),{getPrefixCls:a}=l.useContext(Ce.E_),i=a("menu",t),s=L()({[`${i}-item-divider-dashed`]:!!o},n);return l.createElement(Ye.iz,Object.assign({className:s},r))},Yt=C(81626),Fo=C(45743),Wo=e=>{var t;const{className:n,children:o,icon:r,title:a,danger:i,extra:s}=e,{prefixCls:c,firstLevel:m,direction:u,disableMenuItemTitleTooltip:p,inlineCollapsed:f}=l.useContext(yt),g=E=>{const w=o==null?void 0:o[0],$=l.createElement("span",{className:L()(`${c}-title-content`,{[`${c}-title-content-with-extra`]:!!s||s===0})},o);return(!r||l.isValidElement(o)&&o.type==="span")&&o&&E&&m&&typeof w=="string"?l.createElement("div",{className:`${c}-inline-collapsed-noicon`},w.charAt(0)):$},{siderCollapsed:v}=l.useContext(Ao);let x=a;typeof a=="undefined"?x=m?o:"":a===!1&&(x="");const b={title:x};!v&&!f&&(b.title=null,b.open=!1);const y=(0,Yt.Z)(o).length;let h=l.createElement(Ye.ck,Object.assign({},(0,Qe.Z)(e,["title","icon","danger"]),{className:L()({[`${c}-item-danger`]:i,[`${c}-item-only-child`]:(r?y+1:y)===1},n),title:typeof a=="string"?a:void 0}),(0,Je.Tm)(r,{className:L()(l.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:void 0,`${c}-item-icon`)}),g(f));return p||(h=l.createElement(Fo.Z,Object.assign({},b,{placement:u==="rtl"?"left":"right",classNames:{root:`${c}-inline-collapsed-tooltip`}}),h)),h},pm=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const ac=l.createContext(null),gm=null;var Vo=ac,Qt=C(84432),_o=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
632
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
633
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),Uo=C(70461),lc=C(9636),sc=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:o,colorSplit:r,lineWidth:a,lineType:i,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:o,border:0,borderBottom:`${(0,N.unit)(a)} ${i} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover,
634
+ > ${t}-item-active,
635
+ > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},cc=({componentCls:e,menuArrowOffset:t,calc:n})=>({[`${e}-rtl`]:{direction:"rtl"},[`${e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${e}-rtl${e}-vertical,
636
+ ${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,N.unit)(n(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,N.unit)(t)})`}}}});const Xo=e=>(0,we.oN)(e);var Go=(e,t)=>{const{componentCls:n,itemColor:o,itemSelectedColor:r,subMenuItemSelectedColor:a,groupTitleColor:i,itemBg:s,subMenuItemBg:c,itemSelectedBg:m,activeBarHeight:u,activeBarWidth:p,activeBarBorderWidth:f,motionDurationSlow:g,motionEaseInOut:v,motionEaseOut:x,itemPaddingInline:b,motionDurationMid:y,itemHoverColor:h,lineType:E,colorSplit:w,itemDisabledColor:$,dangerItemColor:j,dangerItemHoverColor:I,dangerItemSelectedColor:O,dangerItemActiveBg:S,dangerItemSelectedBg:k,popupBg:P,itemHoverBg:R,itemActiveBg:B,menuSubMenuBg:M,horizontalItemSelectedColor:A,horizontalItemSelectedBg:H,horizontalItemBorderRadius:z,horizontalItemHoverBg:_}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:o,background:s,[`&${n}-root:focus-visible`]:Object.assign({},Xo(e)),[`${n}-item`]:{"&-group-title, &-extra":{color:i}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:a},[`${n}-item, ${n}-submenu-title`]:{color:o,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},Xo(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${$} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:h}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:R},"&:active":{backgroundColor:B}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:R},"&:active":{backgroundColor:B}}},[`${n}-item-danger`]:{color:j,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:I}},[`&${n}-item:active`]:{background:S}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:r,[`&${n}-item-danger`]:{color:O},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:m,[`&${n}-item-danger`]:{backgroundColor:k}},[`&${n}-submenu > ${n}`]:{backgroundColor:M},[`&${n}-popup > ${n}`]:{backgroundColor:P},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:P},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:z,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${(0,N.unit)(u)} solid transparent`,transition:`border-color ${g} ${v}`,content:'""'},"&:hover, &-active, &-open":{background:_,"&::after":{borderBottomWidth:u,borderBottomColor:A}},"&-selected":{color:A,backgroundColor:H,"&:hover":{backgroundColor:H},"&::after":{borderBottomWidth:u,borderBottomColor:A}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${(0,N.unit)(f)} ${E} ${w}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:c},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,N.unit)(p)} solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${y} ${x}`,`opacity ${y} ${x}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:O}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${y} ${v}`,`opacity ${y} ${v}`].join(",")}}}}}};const Ko=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:o,padding:r,menuArrowSize:a,marginXS:i,itemMarginBlock:s,itemWidth:c,itemPaddingInline:m}=e,u=e.calc(a).add(r).add(i).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:(0,N.unit)(n),paddingInline:m,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:s,width:c},[`> ${t}-item,
637
+ > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:(0,N.unit)(n)},[`${t}-item-group-list ${t}-submenu-title,
638
+ ${t}-submenu-title`]:{paddingInlineEnd:u}}};var dc=e=>{const{componentCls:t,iconCls:n,itemHeight:o,colorTextLightSolid:r,dropdownWidth:a,controlHeightLG:i,motionEaseOut:s,paddingXL:c,itemMarginInline:m,fontSizeLG:u,motionDurationFast:p,motionDurationSlow:f,paddingXS:g,boxShadowSecondary:v,collapsedWidth:x,collapsedIconSize:b}=e,y={height:o,lineHeight:(0,N.unit)(o),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},Ko(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},Ko(e)),{boxShadow:v})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${(0,N.unit)(e.calc(i).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${f}`,`background ${f}`,`padding ${p} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:y,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:y}},{[`${t}-inline-collapsed`]:{width:x,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:"center"}}},[`> ${t}-item,
639
+ > ${t}-item-group > ${t}-item-group-list > ${t}-item,
640
+ > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,
641
+ > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,N.unit)(e.calc(b).div(2).equal())} - ${(0,N.unit)(m)})`,textOverflow:"clip",[`
642
+ ${t}-submenu-arrow,
643
+ ${t}-submenu-expand-icon
644
+ `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:b,lineHeight:(0,N.unit)(o),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:Object.assign(Object.assign({},we.vS),{paddingInline:g})}}]};const Yo=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:o,motionEaseInOut:r,motionEaseOut:a,iconCls:i,iconSize:s,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${r}`].join(","),[`${t}-item-icon, ${i}`]:{minWidth:s,fontSize:s,transition:[`font-size ${o} ${a}`,`margin ${n} ${r}`,`color ${n}`].join(","),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${r}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},(0,we.Ro)()),[`&${t}-item-only-child`]:{[`> ${i}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Qo=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:o,borderRadius:r,menuArrowSize:a,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${o}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(a).mul(.6).equal(),height:e.calc(a).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:r,transition:[`background ${n} ${o}`,`transform ${n} ${o}`,`top ${n} ${o}`,`color ${n} ${o}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,N.unit)(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,N.unit)(i)})`}}}}},uc=e=>{const{antCls:t,componentCls:n,fontSize:o,motionDurationSlow:r,motionDurationMid:a,motionEaseInOut:i,paddingXS:s,padding:c,colorSplit:m,lineWidth:u,zIndexPopup:p,borderRadiusLG:f,subMenuItemBorderRadius:g,menuArrowSize:v,menuArrowOffset:x,lineType:b,groupTitleLineHeight:y,groupTitleFontSize:h}=e;return[{"":{[n]:Object.assign(Object.assign({},(0,we.dF)()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,we.Wf)(e)),(0,we.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:o,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${(0,N.unit)(s)} ${(0,N.unit)(c)}`,fontSize:h,lineHeight:y,transition:`all ${r}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${r} ${i}`,`background ${r} ${i}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${r} ${i}`,`background ${r} ${i}`,`padding ${a} ${i}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${r} ${i}`,`padding ${r} ${i}`].join(",")},[`${n}-title-content`]:{transition:`color ${r}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${n}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:m,borderStyle:b,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Yo(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${(0,N.unit)(e.calc(o).mul(2).equal())} ${(0,N.unit)(c)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:p,borderRadius:f,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:f},Yo(e)),Qo(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:g},[`${n}-submenu-title::after`]:{transition:`transform ${r} ${i}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),Qo(e)),{[`&-inline-collapsed ${n}-submenu-arrow,
645
+ &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,N.unit)(x)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,N.unit)(e.calc(x).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${(0,N.unit)(e.calc(v).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,N.unit)(e.calc(x).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,N.unit)(x)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},mc=e=>{var t,n,o;const{colorPrimary:r,colorError:a,colorTextDisabled:i,colorErrorBg:s,colorText:c,colorTextDescription:m,colorBgContainer:u,colorFillAlter:p,colorFillContent:f,lineWidth:g,lineWidthBold:v,controlItemBgActive:x,colorBgTextHover:b,controlHeightLG:y,lineHeight:h,colorBgElevated:E,marginXXS:w,padding:$,fontSize:j,controlHeightSM:I,fontSizeLG:O,colorTextLightSolid:S,colorErrorHover:k}=e,P=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,R=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:g,B=(o=e.itemMarginInline)!==null&&o!==void 0?o:e.marginXXS,M=new Qt.t(S).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:r,horizontalItemHoverColor:r,colorGroupTitle:m,groupTitleColor:m,colorItemTextSelected:r,itemSelectedColor:r,subMenuItemSelectedColor:r,colorItemTextSelectedHorizontal:r,horizontalItemSelectedColor:r,colorItemBg:u,itemBg:u,colorItemBgHover:b,itemHoverBg:b,colorItemBgActive:f,itemActiveBg:x,colorSubItemBg:p,subMenuItemBg:p,colorItemBgSelected:x,itemSelectedBg:x,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:P,colorActiveBarHeight:v,activeBarHeight:v,colorActiveBarBorderSize:g,activeBarBorderWidth:R,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:a,dangerItemColor:a,colorDangerItemTextHover:a,dangerItemHoverColor:a,colorDangerItemTextSelected:a,dangerItemSelectedColor:a,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:B,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:y,groupTitleLineHeight:h,collapsedWidth:y*2,popupBg:E,itemMarginBlock:w,itemPaddingInline:$,horizontalLineHeight:`${y*1.15}px`,iconSize:j,iconMarginInlineEnd:I-j,collapsedIconSize:O,groupTitleFontSize:j,darkItemDisabledColor:new Qt.t(S).setA(.25).toRgbString(),darkItemColor:M,darkDangerItemColor:a,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:S,darkItemSelectedBg:r,darkDangerItemSelectedBg:a,darkItemHoverBg:"transparent",darkGroupTitleColor:M,darkItemHoverColor:S,darkDangerItemHoverColor:k,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:a,itemWidth:P?`calc(100% + ${R}px)`:`calc(100% - ${B*2}px)`}};var fc=(e,t=e,n=!0)=>(0,Me.I$)("Menu",r=>{const{colorBgElevated:a,controlHeightLG:i,fontSize:s,darkItemColor:c,darkDangerItemColor:m,darkItemBg:u,darkSubMenuItemBg:p,darkItemSelectedColor:f,darkItemSelectedBg:g,darkDangerItemSelectedBg:v,darkItemHoverBg:x,darkGroupTitleColor:b,darkItemHoverColor:y,darkItemDisabledColor:h,darkDangerItemHoverColor:E,darkDangerItemSelectedColor:w,darkDangerItemActiveBg:$,popupBg:j,darkPopupBg:I}=r,O=r.calc(s).div(7).mul(5).equal(),S=(0,_e.IX)(r,{menuArrowSize:O,menuHorizontalHeight:r.calc(i).mul(1.15).equal(),menuArrowOffset:r.calc(O).mul(.25).equal(),menuSubMenuBg:a,calc:r.calc,popupBg:j}),k=(0,_e.IX)(S,{itemColor:c,itemHoverColor:y,groupTitleColor:b,itemSelectedColor:f,subMenuItemSelectedColor:f,itemBg:u,popupBg:I,subMenuItemBg:p,itemActiveBg:"transparent",itemSelectedBg:g,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:x,itemDisabledColor:h,dangerItemColor:m,dangerItemHoverColor:E,dangerItemSelectedColor:w,dangerItemActiveBg:$,dangerItemSelectedBg:v,menuSubMenuBg:p,horizontalItemSelectedColor:f,horizontalItemSelectedBg:g});return[uc(S),sc(S),dc(S),Go(S,"light"),Go(k,"dark"),cc(S),_o(S),(0,Uo.oN)(S,"slide-up"),(0,Uo.oN)(S,"slide-down"),(0,lc._y)(S,"zoom-big")]},mc,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t),Jo=e=>{var t;const{popupClassName:n,icon:o,title:r,theme:a}=e,i=l.useContext(yt),{prefixCls:s,inlineCollapsed:c,theme:m}=i,u=(0,Ye.Xl)();let p;if(!o)p=c&&!u.length&&r&&typeof r=="string"?l.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):l.createElement("span",{className:`${s}-title-content`},r);else{const v=l.isValidElement(r)&&r.type==="span";p=l.createElement(l.Fragment,null,(0,Je.Tm)(o,{className:L()(l.isValidElement(o)?(t=o.props)===null||t===void 0?void 0:t.className:void 0,`${s}-item-icon`)}),v?r:l.createElement("span",{className:`${s}-title-content`},r))}const f=l.useMemo(()=>Object.assign(Object.assign({},i),{firstLevel:!1}),[i]),[g]=(0,Mo.Cn)("Menu");return l.createElement(yt.Provider,{value:f},l.createElement(Ye.Wd,Object.assign({},(0,Qe.Z)(e,["icon"]),{title:p,popupClassName:L()(s,n,`${s}-${a||m}`),popupStyle:Object.assign({zIndex:g},e.popupStyle)})))},pc=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function Jt(e){return e===null||e===!1}const gc={item:Wo,submenu:Jo,divider:Zo};var vc=(0,l.forwardRef)((e,t)=>{var n;const o=l.useContext(Vo),r=o||{},{getPrefixCls:a,getPopupContainer:i,direction:s,menu:c}=l.useContext(Ce.E_),m=a(),{prefixCls:u,className:p,style:f,theme:g="light",expandIcon:v,_internalDisableMenuItemTitleTooltip:x,inlineCollapsed:b,siderCollapsed:y,rootClassName:h,mode:E,selectable:w,onClick:$,overflowedIndicatorPopupClassName:j}=e,I=pc(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),O=(0,Qe.Z)(I,["collapsedWidth"]);(n=r.validator)===null||n===void 0||n.call(r,{mode:E});const S=(0,bt.Z)((...ee)=>{var J;$==null||$.apply(void 0,ee),(J=r.onClick)===null||J===void 0||J.call(r)}),k=r.mode||E,P=w!=null?w:r.selectable,R=b!=null?b:y,B={horizontal:{motionName:`${m}-slide-up`},inline:(0,xt.Z)(m),other:{motionName:`${m}-zoom-big`}},M=a("menu",u||r.prefixCls),A=(0,Lo.Z)(M),[H,z,_]=fc(M,A,!o),re=L()(`${M}-${g}`,c==null?void 0:c.className,p),Q=l.useMemo(()=>{var ee,J;if(typeof v=="function"||Jt(v))return v||null;if(typeof r.expandIcon=="function"||Jt(r.expandIcon))return r.expandIcon||null;if(typeof(c==null?void 0:c.expandIcon)=="function"||Jt(c==null?void 0:c.expandIcon))return(c==null?void 0:c.expandIcon)||null;const de=(ee=v!=null?v:r==null?void 0:r.expandIcon)!==null&&ee!==void 0?ee:c==null?void 0:c.expandIcon;return(0,Je.Tm)(de,{className:L()(`${M}-submenu-expand-icon`,l.isValidElement(de)?(J=de.props)===null||J===void 0?void 0:J.className:void 0)})},[v,r==null?void 0:r.expandIcon,c==null?void 0:c.expandIcon,M]),Y=l.useMemo(()=>({prefixCls:M,inlineCollapsed:R||!1,direction:s,firstLevel:!0,theme:g,mode:k,disableMenuItemTitleTooltip:x}),[M,R,s,x,g]);return H(l.createElement(Vo.Provider,{value:null},l.createElement(yt.Provider,{value:Y},l.createElement(Ye.ZP,Object.assign({getPopupContainer:i,overflowedIndicator:l.createElement(rc.Z,null),overflowedIndicatorPopupClassName:L()(M,`${M}-${g}`,j),mode:k,selectable:P,onClick:S},O,{inlineCollapsed:R,style:Object.assign(Object.assign({},c==null?void 0:c.style),f),className:re,prefixCls:M,direction:s,defaultMotions:B,expandIcon:Q,ref:t,rootClassName:L()(h,z,r.rootClassName,_,A),_internalComponents:gc})))))});const rt=(0,l.forwardRef)((e,t)=>{const n=(0,l.useRef)(null),o=l.useContext(Ao);return(0,l.useImperativeHandle)(t,()=>({menu:n.current,focus:r=>{var a;(a=n.current)===null||a===void 0||a.focus(r)}})),l.createElement(vc,Object.assign({ref:n},e,o))});rt.Item=Wo,rt.SubMenu=Jo,rt.Divider=Zo,rt.ItemGroup=Ye.BW;var hc=rt,Ee=C(61670),qo,er,tr,nr,or,rr,ir,xc=(0,ce.kc)(function(e){var t=e.token,n=e.prefixCls,o=e.cx,r=e.css,a=6;return{rect:r(qo||(qo=(0,T.Z)([`
646
+ background: `,`;
647
+
648
+ width: 100%;
649
+ `])),(0,Ee.m4)(t.colorBgContainer,.8)),icon:o("site-burger-icon",r(er||(er=(0,T.Z)([`
650
+ position: relative;
651
+
652
+ &,
653
+ &::before,
654
+ &::after {
655
+ display: inline-block;
656
+ height: 2px;
657
+ background: `,`;
658
+
659
+ width: 16px;
660
+
661
+ transition: all 150ms ease;
662
+ }
663
+
664
+ &::before,
665
+ &::after {
666
+ position: absolute;
667
+ left: 0;
668
+
669
+ content: '';
670
+ }
671
+
672
+ &::before {
673
+ top: `,`px;
674
+ }
675
+
676
+ &::after {
677
+ top: -`,`px;
678
+ }
679
+ `])),t.colorTextSecondary,a,a)),active:r(tr||(tr=(0,T.Z)([`
680
+ &::before,
681
+ &::after {
682
+ background: `,`;
683
+ }
684
+ & {
685
+ background: transparent;
686
+ }
687
+
688
+ &::before {
689
+ top: 0;
690
+ transform: rotate(-135deg);
691
+ }
692
+
693
+ &::after {
694
+ top: 0;
695
+ transform: rotate(135deg);
696
+ }
697
+ `])),t.colorText),container:r(nr||(nr=(0,T.Z)([`
698
+ width: `,`px;
699
+ height: `,`px;
700
+ border-radius: `,`px;
701
+ cursor: pointer;
702
+ `])),t.controlHeight,t.controlHeight,t.borderRadius),drawerRoot:r(or||(or=(0,T.Z)([`
703
+ top: `,`px;
704
+
705
+ :focus-visible {
706
+ outline: none;
707
+ }
708
+
709
+ .`,`-drawer {
710
+ &-mask {
711
+ background: transparent;
712
+ backdrop-filter: blur(7px);
713
+ background: `,`;
714
+ }
715
+
716
+ &-content-wrapper {
717
+ box-shadow: none;
718
+ }
719
+ }
720
+ `])),t.headerHeight+1,n,(0,Ee.m4)(t.colorBgBase,.5)),drawer:r(rr||(rr=(0,T.Z)([`
721
+ &.`,`-drawer-content {
722
+ background: transparent;
723
+ }
724
+
725
+ .`,`-drawer-body {
726
+ display: flex;
727
+ flex-direction: column;
728
+ }
729
+ `])),n,n),menu:r(ir||(ir=(0,T.Z)([`
730
+ background: transparent;
731
+ border-inline-end: transparent !important;
732
+
733
+ > .`,"-menu-item-only-child,.",`-menu-submenu-title {
734
+ background: `,`;
735
+ border-radius: 0;
736
+ margin: 0;
737
+ width: 100%;
738
+ &:active {
739
+ margin-inline: 4px;
740
+ border-radius: `,`px;
741
+ }
742
+ }
743
+
744
+ .`,"-menu-sub.",`-menu-inline {
745
+ //background: transparent !important;
746
+ background: `,` !important;
747
+ }
748
+ `])),n,n,(0,Ee.m4)(t.colorBgContainer,.8),t.borderRadius,n,n,(0,Ee.m4)(t.colorBgContainer,.2))}}),bc=function(){var t=(0,l.useState)(!1),n=(0,Oe.Z)(t,2),o=n[0],r=n[1],a=xc(),i=a.styles,s=a.cx,c=(0,U.HX)(function(f){return f.navData},Ne()),m=(0,U.HX)(function(f){return f.sidebar},Ne()),u=(0,U.HX)(Pn),p=(0,U.HX)(function(f){return f.location.pathname});return(0,d.jsxs)(Le.Z,{className:i.container,onClick:function(){r(!o)},children:[(0,d.jsx)("div",{className:s(i.icon,o?i.active:"")}),(0,d.jsxs)(oc,{open:o,placement:"left",closeIcon:null,rootClassName:i.drawerRoot,className:i.drawer,width:"100vw",headerStyle:{display:"none"},bodyStyle:{padding:0},children:[(0,d.jsx)("div",{style:{height:24},className:i.rect}),(0,d.jsx)(hc,{mode:"inline",selectedKeys:(0,Ue.uniq)([u,"s-".concat(p)]),openKeys:[u],className:i.menu,items:c.map(function(f){return{label:(0,d.jsx)(W.rU,{to:f.link,children:f.title}),key:f.activePath||f.link,children:(f.activePath||f.link)===u&&(m==null?void 0:m.map(function(g){return!g.link&&{label:g.title,type:"group",children:g.children.map(function(v){return{label:(0,d.jsx)(W.rU,{to:v.link,onClick:function(){r(!1)},children:v.title}),key:"s-".concat(v.link)}})}}))}})}),(0,d.jsx)("div",{style:{flex:1},className:i.rect})]})]})},yc=bc,Cc=C(63948),Sc=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:Cc.Z}))},wc=l.forwardRef(Sc),ar=wc,$c=function(){var t=(0,U.HX)(Ut);return t?(0,d.jsx)(Fo.Z,{arrow:!1,title:"Github",children:(0,d.jsx)("a",{href:t,target:"_blank",rel:"noreferrer",children:(0,d.jsx)(ft.ZP,{icon:(0,d.jsx)(ar,{})})})}):null},Oc=(0,l.memo)($c),jc=C(80886),lr=C(73843),sr,cr,dr,ur,Ic=(0,ce.kc)(function(e){var t=e.css,n=e.responsive,o=e.token;return{header:t(sr||(sr=(0,T.Z)([`
749
+ top: 0;
750
+ position: sticky;
751
+ background-color: transparent;
752
+ backdrop-filter: blur(6px);
753
+ z-index: `,`;
754
+ border-bottom: 1px solid `,`;
755
+
756
+ grid-area: head;
757
+ align-self: stretch;
758
+
759
+ `,` {
760
+ background: `,`;
761
+ }
762
+ `])),o.zIndexPopupBase-50,o.colorSplit,n.mobile,o.colorBgContainer),content:t(cr||(cr=(0,T.Z)([`
763
+ padding: 0 24px;
764
+ height: 64px;
765
+
766
+ `,` {
767
+ padding: 0 12px;
768
+ }
769
+ `])),n.mobile),left:t(dr||(dr=(0,T.Z)([""]))),right:t(ur||(ur=(0,T.Z)([`
770
+ flex: 1;
771
+ display: flex;
772
+ justify-content: space-between;
773
+
774
+ &-aside {
775
+ display: flex;
776
+ align-items: center;
777
+
778
+ `,` {
779
+ margin: 8px 16px;
780
+ padding-top: 24px;
781
+ justify-content: center;
782
+ border-top: 1px solid `,`;
783
+ }
784
+ }
785
+ `])),n.mobile,o.colorBorder)}}),mr=function(){var t=(0,U.HX)(function(i){return i.siteData.themeConfig.prefersColor.switch}),n=(0,lr.f)(function(i){return i.themeMode}),o=(0,W.OI)(),r=(0,Oe.Z)(o,3),a=r[2];return(0,l.useEffect)(function(){return a(n)},[n]),t?(0,d.jsx)(jc.Z,{value:n,onChange:function(s){lr.f.setState({themeMode:s})}}):null},Ec=function(){var t=(0,U.HX)(function(i){return!!i.routeMeta.frontmatter}),n=Ve(),o=n.mobile,r=Ic(),a=r.styles;return t?(0,d.jsx)("div",{className:a.header,children:(0,d.jsx)(se.D,{horizontal:!0,distribution:"space-between",align:"center",width:"auto",className:a.content,children:o?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(se.D,{children:(0,d.jsx)(yc,{})}),(0,d.jsx)(se.D,{horizontal:!0,className:a.left,children:(0,d.jsx)(ro,{})}),(0,d.jsx)(se.D,{children:(0,d.jsx)(mr,{})})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(se.D,{horizontal:!0,className:a.left,children:(0,d.jsx)(ro,{})}),(0,d.jsx)(se.D,{style:{marginLeft:48,alignSelf:"end"},children:(0,d.jsx)(rs,{})}),(0,d.jsxs)("section",{className:a.right,children:[(0,d.jsx)("div",{}),(0,d.jsxs)(se.D,{gap:16,horizontal:!0,align:"center",className:"dumi-default-header-right-aside",children:[(0,d.jsx)(Ps,{}),(0,d.jsx)(Xl,{}),(0,d.jsx)(Oc,{}),(0,d.jsx)(mr,{})]})]})]})})}):null},fr=(0,l.memo)(Ec),pr,kc=(0,ce.kc)(function(e){var t=e.css,n=e.token;return{sidebar:t(pr||(pr=(0,T.Z)([`
786
+ grid-area: sidebar;
787
+ overflow: auto;
788
+ position: sticky;
789
+ top: `,`px;
790
+ max-height: calc(100vh - `,`px);
791
+ box-sizing: border-box;
792
+ padding-top: 20px;
793
+ padding-bottom: 24px;
794
+ padding-inline: 16px;
795
+ border-right: 1px solid `,`;
796
+
797
+ > dl {
798
+ margin: 0;
799
+ padding: 0;
800
+ line-height: 1;
801
+
802
+ > dt {
803
+ margin: 8px 0;
804
+ color: `,`;
805
+ font-weight: 500;
806
+ white-space: nowrap;
807
+ overflow: hidden;
808
+ text-overflow: ellipsis;
809
+ text-transform: uppercase;
810
+ }
811
+
812
+ > dd {
813
+ margin: 0;
814
+ padding: 2px 0;
815
+
816
+ > a {
817
+ padding: 6px 12px;
818
+ border-radius: 6px;
819
+ display: block;
820
+ font-size: `,`px;
821
+ line-height: `,`;
822
+ text-decoration: none;
823
+ transition: all 0.1s;
824
+
825
+ white-space: nowrap;
826
+ overflow: hidden;
827
+ text-overflow: ellipsis;
828
+
829
+ color: `,`;
830
+
831
+ &:hover {
832
+ color: `,`;
833
+ background: `,`;
834
+ }
835
+
836
+ &.active {
837
+ color: `,`;
838
+ background: `,`;
839
+
840
+ &:hover {
841
+ color: `,`;
842
+ background: `,`;
843
+ }
844
+ }
845
+ }
846
+ }
847
+
848
+ // divider line & gap
849
+ + dl {
850
+ margin-top: 16px;
851
+ padding-top: 16px;
852
+ border-top: 1px dashed `,`;
853
+ }
854
+ }
855
+ `])),n.headerHeight,n.headerHeight,n.colorSplit,n.colorText,n.fontSize,n.lineHeight,n.colorTextSecondary,n.colorText,n.colorFillTertiary,n.colorPrimaryText,n.colorPrimaryBg,n.colorPrimaryTextHover,n.colorPrimaryBgHover,n.colorBorder)}}),Tc=function(){var t=(0,U.HX)(function(a){return a.sidebar},Ne()),n=kc(),o=n.styles,r=!t||t.length===0;return r?null:(0,d.jsx)("div",{className:o.sidebar,children:t.map(function(a,i){return(0,d.jsxs)("dl",{children:[a.title&&(0,d.jsx)("dt",{children:a.title}),a.children.map(function(s){return(0,d.jsx)("dd",{children:(0,d.jsx)(W.OL,{to:s.link,title:s.title,end:!0,children:s.title})},s.link)})]},String(i))})})},Nc=(0,l.memo)(Tc),Mc=C(67174),Dc=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:Mc.Z}))},Pc=l.forwardRef(Dc),Hc=Pc,Rc=C(93902),Bc=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:Rc.Z}))},zc=l.forwardRef(Bc),Ac=zc,qt=C(34695),Lc=C(70922),Zc=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:Lc.Z}))},Fc=l.forwardRef(Zc),Wc=Fc,Vc=C(83147),_c=C(93954),gr=l.forwardRef(function(e,t){var n=e.prefixCls,o=e.forceRender,r=e.className,a=e.style,i=e.children,s=e.isActive,c=e.role,m=e.classNames,u=e.styles,p=l.useState(s||o),f=(0,Oe.Z)(p,2),g=f[0],v=f[1];return l.useEffect(function(){(o||s)&&v(!0)},[o,s]),g?l.createElement("div",{ref:t,className:L()("".concat(n,"-content"),(0,he.Z)((0,he.Z)({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),r),style:a,role:c},l.createElement("div",{className:L()("".concat(n,"-content-box"),m==null?void 0:m.body),style:u==null?void 0:u.body},i)):null});gr.displayName="PanelContent";var Uc=gr,Xc=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],Gc=l.forwardRef(function(e,t){var n=e.showArrow,o=n===void 0?!0:n,r=e.headerClass,a=e.isActive,i=e.onItemClick,s=e.forceRender,c=e.className,m=e.classNames,u=m===void 0?{}:m,p=e.styles,f=p===void 0?{}:p,g=e.prefixCls,v=e.collapsible,x=e.accordion,b=e.panelKey,y=e.extra,h=e.header,E=e.expandIcon,w=e.openMotion,$=e.destroyInactivePanel,j=e.children,I=(0,We.Z)(e,Xc),O=v==="disabled",S=y!=null&&typeof y!="boolean",k=(0,he.Z)((0,he.Z)((0,he.Z)({onClick:function(){i==null||i(b)},onKeyDown:function(z){(z.key==="Enter"||z.keyCode===ot.Z.ENTER||z.which===ot.Z.ENTER)&&(i==null||i(b))},role:x?"tab":"button"},"aria-expanded",a),"aria-disabled",O),"tabIndex",O?-1:0),P=typeof E=="function"?E(e):l.createElement("i",{className:"arrow"}),R=P&&l.createElement("div",(0,ae.Z)({className:"".concat(g,"-expand-icon")},["header","icon"].includes(v)?k:{}),P),B=L()("".concat(g,"-item"),(0,he.Z)((0,he.Z)({},"".concat(g,"-item-active"),a),"".concat(g,"-item-disabled"),O),c),M=L()(r,"".concat(g,"-header"),(0,he.Z)({},"".concat(g,"-collapsible-").concat(v),!!v),u.header),A=(0,be.Z)({className:M,style:f.header},["header","icon"].includes(v)?{}:k);return l.createElement("div",(0,ae.Z)({},I,{ref:t,className:B}),l.createElement("div",A,o&&R,l.createElement("span",(0,ae.Z)({className:"".concat(g,"-header-text")},v==="header"?k:{}),h),S&&l.createElement("div",{className:"".concat(g,"-extra")},y)),l.createElement(Kt.ZP,(0,ae.Z)({visible:a,leavedClassName:"".concat(g,"-content-hidden")},w,{forceRender:s,removeOnLeave:$}),function(H,z){var _=H.className,re=H.style;return l.createElement(Uc,{ref:z,prefixCls:g,className:_,classNames:u,style:re,styles:f,isActive:a,forceRender:s,role:x?"tabpanel":void 0},j)}))}),vr=Gc,Kc=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],Yc=function(t,n){var o=n.prefixCls,r=n.accordion,a=n.collapsible,i=n.destroyInactivePanel,s=n.onItemClick,c=n.activeKey,m=n.openMotion,u=n.expandIcon;return t.map(function(p,f){var g=p.children,v=p.label,x=p.key,b=p.collapsible,y=p.onItemClick,h=p.destroyInactivePanel,E=(0,We.Z)(p,Kc),w=String(x!=null?x:f),$=b!=null?b:a,j=h!=null?h:i,I=function(k){$!=="disabled"&&(s(k),y==null||y(k))},O=!1;return r?O=c[0]===w:O=c.indexOf(w)>-1,l.createElement(vr,(0,ae.Z)({},E,{prefixCls:o,key:w,panelKey:w,isActive:O,accordion:r,openMotion:m,expandIcon:u,header:v,collapsible:$,onItemClick:I,destroyInactivePanel:j}),g)})},Qc=function(t,n,o){if(!t)return null;var r=o.prefixCls,a=o.accordion,i=o.collapsible,s=o.destroyInactivePanel,c=o.onItemClick,m=o.activeKey,u=o.openMotion,p=o.expandIcon,f=t.key||String(n),g=t.props,v=g.header,x=g.headerClass,b=g.destroyInactivePanel,y=g.collapsible,h=g.onItemClick,E=!1;a?E=m[0]===f:E=m.indexOf(f)>-1;var w=y!=null?y:i,$=function(O){w!=="disabled"&&(c(O),h==null||h(O))},j={key:f,panelKey:f,header:v,headerClass:x,isActive:E,prefixCls:r,destroyInactivePanel:b!=null?b:s,openMotion:u,accordion:a,children:t.props.children,onItemClick:$,expandIcon:p,collapsible:w};return typeof t.type=="string"?t:(Object.keys(j).forEach(function(I){typeof j[I]=="undefined"&&delete j[I]}),l.cloneElement(t,j))};function Jc(e,t,n){return Array.isArray(e)?Yc(e,n):(0,Yt.Z)(t).map(function(o,r){return Qc(o,r,n)})}var qc=Jc;function ed(e){var t=e;if(!Array.isArray(t)){var n=(0,Vc.Z)(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(o){return String(o)})}var td=l.forwardRef(function(e,t){var n=e.prefixCls,o=n===void 0?"rc-collapse":n,r=e.destroyInactivePanel,a=r===void 0?!1:r,i=e.style,s=e.accordion,c=e.className,m=e.children,u=e.collapsible,p=e.openMotion,f=e.expandIcon,g=e.activeKey,v=e.defaultActiveKey,x=e.onChange,b=e.items,y=L()(o,c),h=(0,_c.Z)([],{value:g,onChange:function(S){return x==null?void 0:x(S)},defaultValue:v,postState:ed}),E=(0,Oe.Z)(h,2),w=E[0],$=E[1],j=function(S){return $(function(){if(s)return w[0]===S?[]:[S];var k=w.indexOf(S),P=k>-1;return P?w.filter(function(R){return R!==S}):[].concat((0,tt.Z)(w),[S])})};(0,ko.ZP)(!m,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var I=qc(b,m,{prefixCls:o,accordion:s,openMotion:p,expandIcon:f,collapsible:u,destroyInactivePanel:a,onItemClick:j,activeKey:w});return l.createElement("div",(0,ae.Z)({ref:t,className:y,style:i,role:s?"tablist":void 0},(0,ht.Z)(e,{aria:!0,data:!0})),I)}),hr=Object.assign(td,{Panel:vr}),xr=hr,wm=hr.Panel,nd=l.forwardRef((e,t)=>{const{getPrefixCls:n}=l.useContext(Ce.E_),{prefixCls:o,className:r,showArrow:a=!0}=e,i=n("collapse",o),s=L()({[`${i}-no-arrow`]:!a},r);return l.createElement(xr.Panel,Object.assign({ref:t},e,{prefixCls:i,className:s}))});const od=e=>{const{componentCls:t,contentBg:n,padding:o,headerBg:r,headerPadding:a,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:m,lineType:u,colorBorder:p,colorText:f,colorTextHeading:g,colorTextDisabled:v,fontSizeLG:x,lineHeight:b,lineHeightLG:y,marginSM:h,paddingSM:E,paddingLG:w,paddingXS:$,motionDurationSlow:j,fontSizeIcon:I,contentPadding:O,fontHeight:S,fontHeightLG:k}=e,P=`${(0,N.unit)(m)} ${u} ${p}`;return{[t]:Object.assign(Object.assign({},(0,we.Wf)(e)),{backgroundColor:r,border:P,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:P,"&:first-child":{[`
856
+ &,
857
+ & > ${t}-header`]:{borderRadius:`${(0,N.unit)(c)} ${(0,N.unit)(c)} 0 0`}},"&:last-child":{[`
858
+ &,
859
+ & > ${t}-header`]:{borderRadius:`0 0 ${(0,N.unit)(c)} ${(0,N.unit)(c)}`}},[`> ${t}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:g,lineHeight:b,cursor:"pointer",transition:`all ${j}, visibility 0s`},(0,we.Qy)(e)),{[`> ${t}-header-text`]:{flex:"auto"},[`${t}-expand-icon`]:{height:S,display:"flex",alignItems:"center",paddingInlineEnd:h},[`${t}-arrow`]:Object.assign(Object.assign({},(0,we.Ro)()),{fontSize:I,transition:`transform ${j}`,svg:{transition:`transform ${j}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}}),[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"},[`${t}-expand-icon`]:{cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:f,backgroundColor:n,borderTop:P,[`& > ${t}-content-box`]:{padding:O},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:i,paddingInlineStart:$,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(E).sub($).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:E}}},"&-large":{[`> ${t}-item`]:{fontSize:x,lineHeight:y,[`> ${t}-header`]:{padding:s,paddingInlineStart:o,[`> ${t}-expand-icon`]:{height:k,marginInlineStart:e.calc(w).sub(o).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,N.unit)(c)} ${(0,N.unit)(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:v,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:h}}}}})}},rd=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},id=e=>{const{componentCls:t,headerBg:n,borderlessContentPadding:o,borderlessContentBg:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[`
860
+ > ${t}-item:last-child,
861
+ > ${t}-item:last-child ${t}-header
862
+ `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:r,borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{padding:o}}}},ad=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},ld=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer,borderlessContentPadding:`${e.paddingXXS}px 16px ${e.padding}px`,borderlessContentBg:"transparent"});var sd=(0,Me.I$)("Collapse",e=>{const t=(0,_e.IX)(e,{collapseHeaderPaddingSM:`${(0,N.unit)(e.paddingXS)} ${(0,N.unit)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,N.unit)(e.padding)} ${(0,N.unit)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[od(t),id(t),ad(t),rd(t),_o(t)]},ld),cd=Object.assign(l.forwardRef((e,t)=>{const{getPrefixCls:n,direction:o,expandIcon:r,className:a,style:i}=(0,Ce.dj)("collapse"),{prefixCls:s,className:c,rootClassName:m,style:u,bordered:p=!0,ghost:f,size:g,expandIconPosition:v="start",children:x,destroyInactivePanel:b,destroyOnHidden:y,expandIcon:h}=e,E=(0,Un.Z)(A=>{var H;return(H=g!=null?g:A)!==null&&H!==void 0?H:"middle"}),w=n("collapse",s),$=n(),[j,I,O]=sd(w),S=l.useMemo(()=>v==="left"?"start":v==="right"?"end":v,[v]),k=h!=null?h:r,P=l.useCallback((A={})=>{const H=typeof k=="function"?k(A):l.createElement(Wc,{rotate:A.isActive?o==="rtl"?-90:90:void 0,"aria-label":A.isActive?"expanded":"collapsed"});return(0,Je.Tm)(H,()=>{var z;return{className:L()((z=H.props)===null||z===void 0?void 0:z.className,`${w}-arrow`)}})},[k,w,o]),R=L()(`${w}-icon-position-${S}`,{[`${w}-borderless`]:!p,[`${w}-rtl`]:o==="rtl",[`${w}-ghost`]:!!f,[`${w}-${E}`]:E!=="middle"},a,c,m,I,O),B=l.useMemo(()=>Object.assign(Object.assign({},(0,xt.Z)($)),{motionAppear:!1,leavedClassName:`${w}-content-hidden`}),[$,w]),M=l.useMemo(()=>x?(0,Yt.Z)(x).map((A,H)=>{var z,_;const re=A.props;if(re!=null&&re.disabled){const Q=(z=A.key)!==null&&z!==void 0?z:String(H),Y=Object.assign(Object.assign({},(0,Qe.Z)(A.props,["disabled"])),{key:Q,collapsible:(_=re.collapsible)!==null&&_!==void 0?_:"disabled"});return(0,Je.Tm)(A,Y)}return A}):null,[x]);return j(l.createElement(xr,Object.assign({ref:t,openMotion:B},(0,Qe.Z)(e,["rootClassName"]),{expandIcon:P,prefixCls:w,className:R,style:Object.assign(Object.assign({},i),u),destroyInactivePanel:y!=null?y:b}),M))}),{Panel:nd}),br=cd,dd=C(56680);function en(e){return e!=null&&e===e.window}var yr=e=>{var t,n;if(typeof window=="undefined")return 0;let o=0;return en(e)?o=e.pageYOffset:e instanceof Document?o=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(o=e.scrollTop),e&&!en(e)&&typeof o!="number"&&(o=(n=((t=e.ownerDocument)!==null&&t!==void 0?t:e).documentElement)===null||n===void 0?void 0:n.scrollTop),o},Ct=C(49975);function ud(e,t,n,o){const r=n-t;return e/=o/2,e<1?r/2*e*e*e+t:r/2*((e-=2)*e*e+2)+t}function md(e,t={}){const{getContainer:n=()=>window,callback:o,duration:r=450}=t,a=n(),i=yr(a),s=Date.now(),c=()=>{const u=Date.now()-s,p=ud(u>r?r:u,i,e,r);en(a)?a.scrollTo(window.pageXOffset,p):a instanceof Document||a.constructor.name==="HTMLDocument"?a.documentElement.scrollTop=p:a.scrollTop=p,u<r?(0,Ct.Z)(c):typeof o=="function"&&o()};(0,Ct.Z)(c)}var Cr=C(40493);function fd(e){let t=null;const n=r=>()=>{t=null,e.apply(void 0,(0,tt.Z)(r))},o=(...r)=>{t===null&&(t=(0,Ct.Z)(n(r)))};return o.cancel=()=>{Ct.Z.cancel(t),t=null},o}var Sr=fd;const pd=e=>{const{componentCls:t}=e;return{[t]:{position:"fixed",zIndex:e.zIndexPopup}}},gd=e=>({zIndexPopup:e.zIndexBase+10});var vd=(0,Me.I$)("Affix",pd,gd);function St(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function wr(e,t,n){if(n!==void 0&&Math.round(t.top)>Math.round(e.top)-n)return n+t.top}function $r(e,t,n){if(n!==void 0&&Math.round(t.bottom)<Math.round(e.bottom)+n){const o=window.innerHeight-t.bottom;return n+o}}var hd=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Or=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function xd(){return typeof window!="undefined"?window:null}const jr=0,Ir=1;var bd=l.forwardRef((e,t)=>{var n;const{style:o,offsetTop:r,offsetBottom:a,prefixCls:i,className:s,rootClassName:c,children:m,target:u,onChange:p,onTestUpdatePosition:f}=e,g=hd(e,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:v,getTargetContainer:x}=l.useContext(Ce.E_),b=v("affix",i),[y,h]=l.useState(!1),[E,w]=l.useState(),[$,j]=l.useState(),I=l.useRef(jr),O=l.useRef(null),S=l.useRef(null),k=l.useRef(null),P=l.useRef(null),R=l.useRef(null),B=(n=u!=null?u:x)!==null&&n!==void 0?n:xd,M=a===void 0&&r===void 0?0:r,A=()=>{if(I.current!==Ir||!P.current||!k.current||!B)return;const ne=B();if(ne){const X={status:jr},V=St(k.current);if(V.top===0&&V.left===0&&V.width===0&&V.height===0)return;const fe=St(ne),ue=wr(V,fe,M),oe=$r(V,fe,a);ue!==void 0?(X.affixStyle={position:"fixed",top:ue,width:V.width,height:V.height},X.placeholderStyle={width:V.width,height:V.height}):oe!==void 0&&(X.affixStyle={position:"fixed",bottom:oe,width:V.width,height:V.height},X.placeholderStyle={width:V.width,height:V.height}),X.lastAffix=!!X.affixStyle,y!==X.lastAffix&&(p==null||p(X.lastAffix)),I.current=X.status,w(X.affixStyle),j(X.placeholderStyle),h(X.lastAffix)}},H=()=>{I.current=Ir,A()},z=Sr(()=>{H()}),_=Sr(()=>{if(B&&E){const ne=B();if(ne&&k.current){const X=St(ne),V=St(k.current),fe=wr(V,X,M),ue=$r(V,X,a);if(fe!==void 0&&E.top===fe||ue!==void 0&&E.bottom===ue)return}}H()}),re=()=>{const ne=B==null?void 0:B();ne&&(Or.forEach(X=>{var V;S.current&&((V=O.current)===null||V===void 0||V.removeEventListener(X,S.current)),ne==null||ne.addEventListener(X,_)}),O.current=ne,S.current=_)},Q=()=>{const ne=B==null?void 0:B();Or.forEach(X=>{var V;ne==null||ne.removeEventListener(X,_),S.current&&((V=O.current)===null||V===void 0||V.removeEventListener(X,S.current))}),z.cancel(),_.cancel()};l.useImperativeHandle(t,()=>({updatePosition:z})),l.useEffect(()=>(R.current=setTimeout(re),()=>{R.current&&(clearTimeout(R.current),R.current=null),Q()}),[]),l.useEffect(()=>(re(),()=>Q()),[u,E,y,r,a]),l.useEffect(()=>{z()},[u,r,a]);const[Y,ee,J]=vd(b),de=L()(c,ee,b,J),ye=L()({[de]:E});return Y(l.createElement(Cr.Z,{onResize:z},l.createElement("div",Object.assign({style:o,className:s,ref:k},g),E&&l.createElement("div",{style:$,"aria-hidden":"true"}),l.createElement("div",{className:ye,ref:P,style:E},l.createElement(Cr.Z,{onResize:z},m)))))}),Er=l.createContext(void 0),kr=e=>{const{href:t,title:n,prefixCls:o,children:r,className:a,target:i,replace:s}=e,c=l.useContext(Er),{registerLink:m,unregisterLink:u,scrollTo:p,onClick:f,activeLink:g,direction:v}=c||{};l.useEffect(()=>(m==null||m(t),()=>{u==null||u(t)}),[t]);const x=$=>{if(f==null||f($,{title:n,href:t}),p==null||p(t),$.defaultPrevented)return;if(t.startsWith("http://")||t.startsWith("https://")){s&&($.preventDefault(),window.location.replace(t));return}$.preventDefault();const I=s?"replaceState":"pushState";window.history[I](null,"",t)},{getPrefixCls:b}=l.useContext(Ce.E_),y=b("anchor",o),h=g===t,E=L()(`${y}-link`,a,{[`${y}-link-active`]:h}),w=L()(`${y}-link-title`,{[`${y}-link-title-active`]:h});return l.createElement("div",{className:E},l.createElement("a",{className:w,href:t,title:typeof n=="string"?n:"",target:i,onClick:x},n),v!=="horizontal"?r:null)};const yd=e=>{const{componentCls:t,holderOffsetBlock:n,motionDurationSlow:o,lineWidthBold:r,colorPrimary:a,lineType:i,colorSplit:s,calc:c}=e;return{[`${t}-wrapper`]:{marginBlockStart:c(n).mul(-1).equal(),paddingBlockStart:n,[t]:Object.assign(Object.assign({},(0,we.Wf)(e)),{position:"relative",paddingInlineStart:r,[`${t}-link`]:{paddingBlock:e.linkPaddingBlock,paddingInline:`${(0,N.unit)(e.linkPaddingInlineStart)} 0`,"&-title":Object.assign(Object.assign({},we.vS),{position:"relative",display:"block",marginBlockEnd:e.anchorTitleBlock,color:e.colorText,transition:`all ${e.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${t}-link-title`]:{color:e.colorPrimary},[`${t}-link`]:{paddingBlock:e.anchorPaddingBlockSecondary}}}),[`&:not(${t}-wrapper-horizontal)`]:{[t]:{"&::before":{position:"absolute",insetInlineStart:0,top:0,height:"100%",borderInlineStart:`${(0,N.unit)(r)} ${i} ${s}`,content:'" "'},[`${t}-ink`]:{position:"absolute",insetInlineStart:0,display:"none",transform:"translateY(-50%)",transition:`top ${o} ease-in-out`,width:r,backgroundColor:a,[`&${t}-ink-visible`]:{display:"inline-block"}}}},[`${t}-fixed ${t}-ink ${t}-ink`]:{display:"none"}}}},Cd=e=>{const{componentCls:t,motionDurationSlow:n,lineWidthBold:o,colorPrimary:r}=e;return{[`${t}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`${(0,N.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,content:'" "'},[t]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${t}-link:first-of-type`]:{paddingInline:0},[`${t}-ink`]:{position:"absolute",bottom:0,transition:`left ${n} ease-in-out, width ${n} ease-in-out`,height:o,backgroundColor:r}}}}},Sd=e=>({linkPaddingBlock:e.paddingXXS,linkPaddingInlineStart:e.padding});var wd=(0,Me.I$)("Anchor",e=>{const{fontSize:t,fontSizeLG:n,paddingXXS:o,calc:r}=e,a=(0,_e.IX)(e,{holderOffsetBlock:o,anchorPaddingBlockSecondary:r(o).div(2).equal(),anchorTitleBlock:r(t).div(14).mul(3).equal(),anchorBallSize:r(n).div(2).equal()});return[yd(a),Cd(a)]},Sd);function $d(){return window}function Tr(e,t){if(!e.getClientRects().length)return 0;const n=e.getBoundingClientRect();return n.width||n.height?t===window?n.top-e.ownerDocument.documentElement.clientTop:n.top-t.getBoundingClientRect().top:n.top}const Nr=/#([\S ]+)$/;var Od=e=>{var t;const{rootClassName:n,prefixCls:o,className:r,style:a,offsetTop:i,affix:s=!0,showInkInFixed:c=!1,children:m,items:u,direction:p="vertical",bounds:f,targetOffset:g,onClick:v,onChange:x,getContainer:b,getCurrentAnchor:y,replace:h}=e,[E,w]=l.useState([]),[$,j]=l.useState(null),I=l.useRef($),O=l.useRef(null),S=l.useRef(null),k=l.useRef(!1),{direction:P,getPrefixCls:R,className:B,style:M}=(0,Ce.dj)("anchor"),{getTargetContainer:A}=l.useContext(Ce.E_),H=R("anchor",o),z=(0,Lo.Z)(H),[_,re,Q]=wd(H,z),Y=(t=b!=null?b:A)!==null&&t!==void 0?t:$d,ee=JSON.stringify(E),J=(0,bt.Z)(D=>{E.includes(D)||w(Z=>[].concat((0,tt.Z)(Z),[D]))}),de=(0,bt.Z)(D=>{E.includes(D)&&w(Z=>Z.filter(le=>le!==D))}),ye=()=>{var D;const Z=(D=O.current)===null||D===void 0?void 0:D.querySelector(`.${H}-link-title-active`);if(Z&&S.current){const{style:le}=S.current,F=p==="horizontal";le.top=F?"":`${Z.offsetTop+Z.clientHeight/2}px`,le.height=F?"":`${Z.clientHeight}px`,le.left=F?`${Z.offsetLeft}px`:"",le.width=F?`${Z.clientWidth}px`:"",F&&(0,dd.Z)(Z,{scrollMode:"if-needed",block:"nearest"})}},ne=(D,Z=0,le=5)=>{const F=[],G=Y();return D.forEach(ie=>{const me=Nr.exec(ie==null?void 0:ie.toString());if(!me)return;const ge=document.getElementById(me[1]);if(ge){const ze=Tr(ge,G);ze<=Z+le&&F.push({link:ie,top:ze})}}),F.length?F.reduce((me,ge)=>ge.top>me.top?ge:me).link:""},X=(0,bt.Z)(D=>{if(I.current===D)return;const Z=typeof y=="function"?y(D):D;j(Z),I.current=Z,x==null||x(D)}),V=l.useCallback(()=>{if(k.current)return;const D=ne(E,g!==void 0?g:i||0,f);X(D)},[E,g,i,f]),fe=l.useCallback(D=>{X(D);const Z=Nr.exec(D);if(!Z)return;const le=document.getElementById(Z[1]);if(!le)return;const F=Y(),G=yr(F),ie=Tr(le,F);let me=G+ie;me-=g!==void 0?g:i||0,k.current=!0,md(me,{getContainer:Y,callback(){k.current=!1}})},[g,i]),ue=L()(re,Q,z,n,`${H}-wrapper`,{[`${H}-wrapper-horizontal`]:p==="horizontal",[`${H}-rtl`]:P==="rtl"},r,B),oe=L()(H,{[`${H}-fixed`]:!s&&!c}),ke=L()(`${H}-ink`,{[`${H}-ink-visible`]:$}),pe=Object.assign(Object.assign({maxHeight:i?`calc(100vh - ${i}px)`:"100vh"},M),a),Be=D=>Array.isArray(D)?D.map(Z=>l.createElement(kr,Object.assign({replace:h},Z,{key:Z.key}),p==="vertical"&&Be(Z.children))):null,it=l.createElement("div",{ref:O,className:ue,style:pe},l.createElement("div",{className:oe},l.createElement("span",{className:ke,ref:S}),"items"in e?Be(u):m));l.useEffect(()=>{const D=Y();return V(),D==null||D.addEventListener("scroll",V),()=>{D==null||D.removeEventListener("scroll",V)}},[ee]),l.useEffect(()=>{typeof y=="function"&&X(y(I.current||""))},[y]),l.useEffect(()=>{ye()},[p,y,ee,$]);const te=l.useMemo(()=>({registerLink:J,unregisterLink:de,scrollTo:fe,activeLink:$,onClick:v,direction:p}),[$,v,fe,p]),q=s&&typeof s=="object"?s:void 0;return _(l.createElement(Er.Provider,{value:te},s?l.createElement(bd,Object.assign({offsetTop:i,target:Y},q),it):it))};const Mr=Od;Mr.Link=kr;var Dr=Mr,jd=C(65720),Pr,Hr,Rr,Br,Id=(0,ce.kc)(function(e){var t=e.token,n=e.stylish,o=e.prefixCls,r=e.responsive,a=e.css,i=36;return{container:a(Pr||(Pr=(0,T.Z)([`
863
+ grid-area: toc;
864
+ position: sticky;
865
+ top: 100px;
866
+ width: `,`px;
867
+ margin-inline-end: 24px;
868
+ max-height: 80vh;
869
+ overflow: auto;
870
+ margin-top: 48px;
871
+ z-index: 10;
872
+
873
+ `,` {
874
+ z-index: 300;
875
+ top: `,`px;
876
+ margin-top: 0;
877
+ width: 100%;
878
+ }
879
+
880
+ overscroll-behavior: contain;
881
+ -webkit-overflow-scrolling: touch;
882
+
883
+ > h4 {
884
+ margin: 0 0 8px;
885
+ color: `,`;
886
+ font-size: 12px;
887
+ line-height: 1;
888
+ }
889
+ `])),t.tocWidth,r.mobile,t.headerHeight+1,t.colorTextDescription),mobileCtn:a(Hr||(Hr=(0,T.Z)([`
890
+ position: sticky;
891
+ top: `,`px;
892
+
893
+ height: `,`px;
894
+ width: 100%;
895
+ z-index: 200;
896
+ background: transparent;
897
+ background: `,`;
898
+ `])),t.headerHeight+1,i,(0,Ee.m4)(t.colorBgContainer,.8)),expand:a(Rr||(Rr=(0,T.Z)([`
899
+ backdrop-filter: blur(6px);
900
+ border-radius: 0;
901
+ border-bottom: 1px solid `,`;
902
+
903
+ box-shadow: `,`;
904
+ width: 100%;
905
+ z-index: 201;
906
+ background: `,`;
907
+
908
+ .`,`-collapse-header {
909
+ padding: 8px 16px !important;
910
+ }
911
+ `])),t.colorSplit,t.boxShadowSecondary,(0,Ee.m4)(t.colorBgContainer,.8),o),anchor:a(Br||(Br=(0,T.Z)([`
912
+ `,`
913
+ `])),n.blur)}}),Ed=(0,l.memo)(function(e){var t=e.items,n=e.activeKey,o=e.onChange,r=(0,jd.Z)("",{value:n,onChange:o}),a=(0,Oe.Z)(r,2),i=a[0],s=a[1],c=Id(),m=c.styles,u=Ve(),p=u.mobile,f=(0,ce.Fg)(),g=t.find(function(x){return x.id===i}),v=(0,l.useMemo)(function(){return t.map(function(x){var b;return{href:"#".concat(x.id),title:x.title,key:x.id,children:(b=x.children)===null||b===void 0?void 0:b.map(function(y){return{href:"#".concat(y.id),title:y==null?void 0:y.title,key:y.id}})}})},[t]);return((t==null?void 0:t.length)===0?null:p?(0,d.jsx)(qt.ZP,{theme:{token:{fontSize:12,sizeStep:3}},children:(0,d.jsx)("div",{className:m.mobileCtn,children:(0,d.jsx)(br,{bordered:!1,ghost:!0,expandIconPosition:"end",expandIcon:function(b){var y=b.isActive;return y?(0,d.jsx)(Hc,{}):(0,d.jsx)(Ac,{})},className:m.expand,children:(0,d.jsx)(br.Panel,{forceRender:!0,header:g?g.title:"\u76EE\u5F55",children:(0,d.jsx)(qt.ZP,{theme:{token:{fontSize:14,sizeStep:4}},children:(0,d.jsx)(Dr,{onChange:function(b){s(b.replace("#",""))},targetOffset:f.headerHeight+12,items:v})})},"toc")})})}):(0,d.jsxs)("div",{className:m.container,children:[(0,d.jsx)("h4",{children:"Table of Contents"}),(0,d.jsx)(Dr,{items:v,className:m.anchor,targetOffset:f.headerHeight+12})]}))||null}),kd=Ed,Td=(0,l.memo)(function(){var e=(0,U.HX)(Hn,Ne());return(0,d.jsx)(kd,{items:e})}),Nd=Td,Md=C(17338),Dd=function(t,n){return l.createElement(Se.Z,(0,ae.Z)({},t,{ref:n,icon:Md.Z}))},Pd=l.forwardRef(Dd),Hd=Pd,zr,Ar,Lr,Zr,Fr,Rd=(0,ce.kc)(function(e){var t=e.css,n=e.token,o=e.responsive,r=e.stylish;return{title:t(zr||(zr=(0,T.Z)([`
914
+ font-family: monospace;
915
+ `,` {
916
+ margin-block: 0;
917
+ font-size: 32px !important;
918
+ }
919
+ `])),o.mobile),label:t(Ar||(Ar=(0,T.Z)([`
920
+ width: 80px;
921
+ `]))),desc:t(Lr||(Lr=(0,T.Z)([`
922
+ font-size: `,`px;
923
+ line-height: `,`px;
924
+ `])),n.fontSizeLG,n.lineHeightLG),text:t(Zr||(Zr=(0,T.Z)([`
925
+ `,`
926
+ `])),r.clickableText),meta:t(Fr||(Fr=(0,T.Z)([""])))}}),Bd=(0,l.memo)(function(e){var t=e.title,n=e.componentName,o=e.description,r=e.defaultImport,a=e.pkg,i=e.sourceUrl,s=e.docUrl,c=e.serviceList,m=c===void 0?[]:c,u=Rd(),p=u.styles,f=Ve(),g=f.mobile,v=[i&&{icon:(0,d.jsx)(ar,{}),children:"\u67E5\u770B\u6E90\u7801",url:i},s&&{icon:(0,d.jsx)(Hd,{}),children:"\u7F16\u8F91\u6587\u6863",url:s}].filter(function(b){return b}),x=r?"import ".concat(n," from '").concat(a,"';"):"import { ".concat(n," } from '").concat(a,"';");return null}),zd=(0,l.memo)(function(){return(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"64 64 896 896",fill:"currentColor",children:(0,d.jsx)("path",{fillRule:"evenodd",d:"M503.783 64 960 263.576V761.46L521.625 955.734V473.5h-17.5v486.351l-.342.149L64 761.46V263.576L503.783 64Zm.13 19.158L84.37 273.548 512 466.131 939.386 273.66l-435.473-190.5Z"})})}),Ad=(0,l.memo)(function(){return(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,d.jsx)("path",{d:"M14.051 2.751l4.935 2.85a2.144 2.144 0 013.409.4 2.146 2.146 0 01-1.354 3.151v5.699a2.132 2.132 0 011.348 3.15 2.143 2.143 0 01-3.453.353l-4.905 2.832a2.14 2.14 0 11-4.171.678c0-.205.029-.41.088-.609l-4.936-2.847a2.14 2.14 0 11-2.052-3.559l.001-5.699A2.141 2.141 0 011.604 6a2.143 2.143 0 013.407-.405l4.938-2.85A2.138 2.138 0 0112 0a2.137 2.137 0 012.051 2.751zm-.515.877a.793.793 0 01-.058.058l6.461 11.19c.026-.009.056-.016.082-.023V9.146a2.135 2.135 0 01-1.558-2.588l.019-.072-4.946-2.858zm-3.015.059l-.06-.06-4.946 2.852a2.136 2.136 0 01-1.461 2.645l-.076.021v5.708l.084.023 6.461-11.19-.002.001zm2.076.507c-.39.112-.803.112-1.192 0l-6.46 11.189c.294.283.502.645.6 1.041h12.911c.097-.398.307-.761.603-1.044L12.597 4.194zm.986 16.227l4.913-2.838a1.748 1.748 0 01-.038-.142H5.542l-.021.083 4.939 2.852a2.126 2.126 0 011.54-.653c.627 0 1.19.269 1.583.698z"})})}),Ld=(0,l.memo)(function(){return(0,d.jsx)("svg",{width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,d.jsx)("path",{d:"M13,0 C13.5522847,-1.01453063e-16 14,0.44771525 14,1 L14,13 C14,13.5522847 13.5522847,14 13,14 L1,14 C0.44771525,14 -4.87476137e-16,13.5522847 0,13 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-4.5365845e-16 1,0 L13,0 Z M11.375,2.625 L2.625,2.625 L2.625,11.375 L7,11.375 L7,4.375 L9.625,4.375 L9.625,11.375 L11.375,11.375 L11.375,2.625 Z",fill:"#C12127"})})}),Zd=(0,l.memo)(function(){return(0,d.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 108 108",children:[(0,d.jsx)("defs",{children:(0,d.jsxs)("linearGradient",{id:"main",children:[(0,d.jsx)("stop",{offset:"0",stopColor:"#006838"}),(0,d.jsx)("stop",{offset:"1",stopColor:"#32de85"})]})}),(0,d.jsx)("path",{fill:"url(#main)",d:"M21.667 73.809V33.867l28.33-16.188 28.337 16.188V66.13L49.997 82.321 35 73.75V41.604l14.997-8.57L65 41.604v16.788l-15.003 8.571-1.663-.95v-16.67l8.382-4.792-6.719-3.838-8.33 4.763V69.88l8.33 4.762 21.67-12.383V37.737l-21.67-12.379-21.663 12.379v39.88L49.997 90 85 70V30L49.997 10 15 30v40z",transform:"matrix(1.25 0 0 1.25 -8.75 -7.5)"})]})}),Fd=(0,l.memo)(function(){return(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",children:(0,d.jsx)("path",{d:"M16.509 16.845c.148-.507.091-.97-.155-1.315-.225-.317-.605-.5-1.062-.521l-8.659-.113a.155.155 0 01-.134-.071.194.194 0 01-.02-.155.239.239 0 01.203-.156l8.736-.113c1.034-.048 2.16-.886 2.554-1.913l.5-1.301a.28.28 0 00.013-.168 5.69 5.69 0 00-10.938-.584 2.585 2.585 0 00-1.793-.5 2.561 2.561 0 00-2.223 3.18 3.634 3.634 0 00-3.53 3.636c0 .176.013.352.034.528a.174.174 0 00.169.148h15.981a.22.22 0 00.204-.155zm2.757-5.564c-.077 0-.162 0-.24.011-.055 0-.105.042-.126.098l-.337 1.175c-.148.506-.092.97.154 1.315.226.317.605.5 1.063.52l1.843.114c.056 0 .105.026.133.07a.2.2 0 01.021.156.238.238 0 01-.204.155l-1.92.113c-1.041.049-2.16.887-2.553 1.914l-.141.358c-.028.071.02.141.098.141h6.598a.173.173 0 00.17-.125 4.81 4.81 0 00.175-1.28 4.739 4.739 0 00-4.734-4.727"})})});function Wr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Wd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Wr(Object(n),!0).forEach(function(o){(0,he.Z)(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wr(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}var Vd=(0,l.memo)(function(){var e=(0,U.HX)(to),t=e.pkg,n=(0,l.useMemo)(function(){return[{label:"NPM",icon:(0,d.jsx)(Ld,{}),children:"NPM",url:"https://www.npmjs.com/package/".concat(t)},{label:"\u9884\u89C8\u4EA7\u7269",icon:(0,d.jsx)(Fd,{}),children:"UNPKG",url:"https://unpkg.com/browse/".concat(t,"/")},{label:"\u67E5\u9605\u4EA7\u7269\u4F53\u79EF",icon:(0,d.jsx)(zd,{}),children:"BundlePhobia",url:"https://bundlephobia.com/package/".concat(t)},{label:"\u67E5\u9605\u5B89\u88C5\u5305\u4F53\u79EF",icon:(0,d.jsx)(Zd,{}),children:"PackagePhobia",url:"https://packagephobia.com/result?p=".concat(t)},{label:"\u5206\u6790\u4F9D\u8D56\u56FE",icon:(0,d.jsx)(Ad,{}),children:"Anvaka Graph",url:"https://npm.anvaka.com/#/view/2d/".concat(t)}]},[t]);return(0,d.jsx)(Bd,Wd({serviceList:n},e))}),_d=Vd,Vr,_r,Ur,Ud=(0,ce.kc)(function(e,t){var n=e.css,o=e.cx,r=e.responsive,a=e.token,i=t.hideToc,s=t.hideSidebar;return{layout:n(Vr||(Vr=(0,T.Z)([`
927
+ background-color: `,`;
928
+ background-image: linear-gradient(
929
+ 180deg,
930
+ `,` 0%,
931
+ rgba(255, 255, 255, 0) 10%
932
+ );
933
+ display: grid;
934
+ grid-template-columns: `,"px 1fr ",`;
935
+ grid-template-rows: `,`px auto 1fr auto;
936
+ grid-template-areas:
937
+ 'head head head'
938
+ '`," title ",`'
939
+ '`," main ",`'
940
+ '`,` footer footer';
941
+ min-height: 100vh;
942
+
943
+ `,` {
944
+ display: flex;
945
+ flex-direction: column;
946
+ }
947
+ `])),a.colorBgLayout,a.colorBgContainer,a.sidebarWidth,i?"":"".concat(a.tocWidth+24,"px"),a.headerHeight,s?"title":"sidebar",i?"title":".",s?"main":"sidebar",i?"main":"toc",s?"footer":"sidebar",r.mobile),toc:n(_r||(_r=(0,T.Z)([`
948
+ position: sticky;
949
+ top: 100px;
950
+ width: `,`px;
951
+ margin-inline-end: 24px;
952
+ max-height: 80vh;
953
+ overflow: auto;
954
+ margin-top: 48px;
955
+
956
+ `,` {
957
+ z-index: 300;
958
+ top: `,`px;
959
+ margin-top: 0;
960
+ width: 100%;
961
+ }
962
+
963
+ overscroll-behavior: contain;
964
+ -webkit-overflow-scrolling: touch;
965
+
966
+ > h4 {
967
+ margin: 0 0 8px;
968
+ color: `,`;
969
+ font-size: 12px;
970
+ line-height: 1;
971
+ }
972
+ `])),a.tocWidth,r.mobile,a.headerHeight+1,a.colorTextDescription),content:o(n(Ur||(Ur=(0,T.Z)([`
973
+ max-width: 960px;
974
+ width: 100%;
975
+ margin: 0 24px;
976
+ `]))),n(r({desktop:{maxWidth:a.contentMaxWidth},mobile:{margin:0}})))}}),Xd=(0,l.memo)(function(){var e=(0,W.pC)(),t=Ve(),n=t.mobile,o=(0,U.HX)(function(f){return f.routeMeta.frontmatter},Ne()),r=(0,U.HX)(Gl),a=(0,U.HX)(Kn),i=(0,U.HX)(function(f){return Hn(f).length===0}),s=o.sidebar===!1,c=o.toc===!1||i,m=Ud({hideToc:c,hideSidebar:s}),u=m.styles,p=m.theme;return(0,d.jsxs)("div",{className:u.layout,children:[(0,d.jsx)(W.ql,{children:o.title&&(0,d.jsxs)("title",{children:[o.title," - ",a]})}),(0,d.jsx)(fr,{}),c?null:(0,d.jsx)(Nd,{}),n||s?null:(0,d.jsx)(Nc,{}),r?(0,d.jsx)(se.D,{style:{gridArea:"title",paddingBlock:n?24:void 0},children:(0,d.jsx)(Le.Z,{children:(0,d.jsx)(se.D,{style:{maxWidth:p.contentMaxWidth,width:"100%"},children:(0,d.jsx)(se.D,{style:{paddingBlock:0,paddingInline:n?16:48},children:(0,d.jsx)(_d,{})})})})}):null,(0,d.jsx)(se.D,{style:{zIndex:10,gridArea:"main",margin:n?0:24,marginBottom:n?0:48},children:(0,d.jsx)(Le.Z,{width:"100%",children:(0,d.jsx)(se.D,{className:u.content,children:(0,d.jsx)(se.D,{horizontal:!0,children:(0,d.jsx)(el,{children:e})})})})}),(0,d.jsx)(qn,{})]})}),Gd=Xd,Xr=C(97796),Kd=C(66179);const Yd=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:o,componentCls:r,calc:a}=e,i=a(o).sub(n).equal(),s=a(t).sub(n).equal();return{[r]:Object.assign(Object.assign({},(0,we.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,N.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},tn=e=>{const{lineWidth:t,fontSizeIcon:n,calc:o}=e,r=e.fontSizeSM;return(0,_e.IX)(e,{tagFontSize:r,tagLineHeight:(0,N.unit)(o(e.lineHeightSM).mul(r).equal()),tagIconSize:o(n).sub(o(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},nn=e=>({defaultBg:new Qt.t(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var Gr=(0,Me.I$)("Tag",e=>{const t=tn(e);return Yd(t)},nn),Qd=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},Jd=l.forwardRef((e,t)=>{const{prefixCls:n,style:o,className:r,checked:a,children:i,icon:s,onChange:c,onClick:m}=e,u=Qd(e,["prefixCls","style","className","checked","children","icon","onChange","onClick"]),{getPrefixCls:p,tag:f}=l.useContext(Ce.E_),g=E=>{c==null||c(!a),m==null||m(E)},v=p("tag",n),[x,b,y]=Gr(v),h=L()(v,`${v}-checkable`,{[`${v}-checkable-checked`]:a},f==null?void 0:f.className,r,b,y);return x(l.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),f==null?void 0:f.style),className:h,onClick:g}),s,l.createElement("span",null,i)))}),qd=C(16268);const eu=e=>(0,qd.Z)(e,(t,{textColor:n,lightBorderColor:o,lightColor:r,darkColor:a})=>({[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:r,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}));var tu=(0,Me.bk)(["Tag","preset"],e=>{const t=tn(e);return eu(t)},nn);function nu(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const wt=(e,t,n)=>{const o=nu(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ou=(0,Me.bk)(["Tag","status"],e=>{const t=tn(e);return[wt(t,"success","Success"),wt(t,"processing","Info"),wt(t,"error","Error"),wt(t,"warning","Warning")]},nn),ru=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Kr=l.forwardRef((e,t)=>{const{prefixCls:n,className:o,rootClassName:r,style:a,children:i,icon:s,color:c,onClose:m,bordered:u=!0,visible:p}=e,f=ru(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:g,direction:v,tag:x}=l.useContext(Ce.E_),[b,y]=l.useState(!0),h=(0,Qe.Z)(f,["closeIcon","closable"]);l.useEffect(()=>{p!==void 0&&y(p)},[p]);const E=(0,Xr.o2)(c),w=(0,Xr.yT)(c),$=E||w,j=Object.assign(Object.assign({backgroundColor:c&&!$?c:void 0},x==null?void 0:x.style),a),I=g("tag",n),[O,S,k]=Gr(I),P=L()(I,x==null?void 0:x.className,{[`${I}-${c}`]:$,[`${I}-has-color`]:c&&!$,[`${I}-hidden`]:!b,[`${I}-rtl`]:v==="rtl",[`${I}-borderless`]:!u},o,r,S,k),R=_=>{_.stopPropagation(),m==null||m(_),!_.defaultPrevented&&y(!1)},[,B]=(0,Ke.b)((0,Ke.w)(e),(0,Ke.w)(x),{closable:!1,closeIconRender:_=>{const re=l.createElement("span",{className:`${I}-close-icon`,onClick:R},_);return(0,Je.wm)(_,re,Q=>({onClick:Y=>{var ee;(ee=Q==null?void 0:Q.onClick)===null||ee===void 0||ee.call(Q,Y),R(Y)},className:L()(Q==null?void 0:Q.className,`${I}-close-icon`)}))}}),M=typeof f.onClick=="function"||i&&i.type==="a",A=s||null,H=A?l.createElement(l.Fragment,null,A,i&&l.createElement("span",null,i)):i,z=l.createElement("span",Object.assign({},h,{ref:t,className:P,style:j}),H,B,E&&l.createElement(tu,{key:"preset",prefixCls:I}),w&&l.createElement(ou,{key:"status",prefixCls:I}));return O(M?l.createElement(Kd.Z,{component:"Tag"},z):z)});Kr.CheckableTag=Jd;var iu=Kr,Yr,Qr,Jr,qr,ei,ti,ni,oi,ri,ii,au=(0,ce.kc)(function(e,t){var n=e.token,o=e.prefixCls,r=e.responsive,a=e.css,i=e.stylish,s=e.isDarkMode,c=e.cx,m=t.rowNum,u=t.hasLink,p="".concat(o,"-features"),f="".concat(p,"-cover"),g="".concat(p,"-description"),v="".concat(p,"-title"),x="".concat(p,"-img"),b=20,y=function(w){return a(Yr||(Yr=(0,T.Z)([`
977
+ width: `,`px;
978
+ height: `,`px;
979
+ font-size: `,`px;
980
+ `])),w,w,w*(22/24))},h=a(Qr||(Qr=(0,T.Z)([`
981
+ transition: all `," ",`;
982
+ `])),n.motionDurationSlow,n.motionEaseInOutCirc);return{cell:a(Jr||(Jr=(0,T.Z)([`
983
+ overflow: hidden;
984
+ `]))),container:a(qr||(qr=(0,T.Z)([`
985
+ `,`;
986
+
987
+ z-index: 1;
988
+ padding: 24px;
989
+ border-radius: 24px;
990
+
991
+ background: linear-gradient(
992
+ 135deg,
993
+ `,`,
994
+ `,`
995
+ );
996
+
997
+ position: relative;
998
+
999
+ &:hover {
1000
+ scale: 1.03;
1001
+
1002
+ background: linear-gradient(
1003
+ 135deg,
1004
+ `,`,
1005
+ `,`
1006
+ );
1007
+
1008
+ box-shadow: inset 0 0 0 1px `,", ",`;
1009
+
1010
+ .`,` {
1011
+ height: `,`px;
1012
+ width: 100%;
1013
+ padding: 0;
1014
+ }
1015
+
1016
+ .`,` {
1017
+ `,`;
1018
+ }
1019
+
1020
+ .`,` {
1021
+ position: absolute;
1022
+ visibility: hidden;
1023
+ opacity: 0;
1024
+ }
1025
+
1026
+ .`,` {
1027
+ font-size: `,`px;
1028
+ }
1029
+ }
1030
+ `])),h,n.colorFillContent,n.colorFillQuaternary,(0,Ee.$n)(.5,n.colorFillContent),(0,Ee.$n)(.5,n.colorFillQuaternary),n.colorBorder,n.boxShadowSecondary,f,b*m,x,y(100),g,v,u?14:20),title:c(v,h,a(ei||(ei=(0,T.Z)([`
1031
+ pointer-events: none;
1032
+ font-size: 20px;
1033
+ line-height: `,`;
1034
+ margin: 16px 0;
1035
+ color: `,`;
1036
+ `])),n.lineHeightHeading3,n.colorText)),desc:c(g,h,a(ti||(ti=(0,T.Z)([`
1037
+ color: `,`;
1038
+
1039
+ pointer-events: none;
1040
+ quotient {
1041
+ color: `,`;
1042
+ display: block;
1043
+ margin: 12px 0;
1044
+ padding-left: 12px;
1045
+ position: relative;
1046
+ &:before {
1047
+ position: absolute;
1048
+ content: '';
1049
+ left: 0;
1050
+ display: block;
1051
+ border-radius: 2px;
1052
+ width: 4px;
1053
+ height: 100%;
1054
+ background: `,`;
1055
+ }
1056
+ }
1057
+ `])),n.colorTextSecondary,n.colorTextDescription,s?n.colorPrimary:n.colorPrimaryBgHover)),imgContainer:c(f,h,a(ni||(ni=(0,T.Z)([`
1058
+ background: `,`;
1059
+ border-radius: 8px;
1060
+ opacity: 0.8;
1061
+
1062
+ `,`;
1063
+ padding: 4px;
1064
+
1065
+ &[image-style='primary'] {
1066
+ background: linear-gradient(135deg, `,", ",`);
1067
+ }
1068
+
1069
+ &[image-style='light'] {
1070
+ background: `,`;
1071
+ }
1072
+
1073
+ &[image-style='soon'] {
1074
+ opacity: 0.5;
1075
+ background: linear-gradient(
1076
+ 135deg,
1077
+ `,`,
1078
+ `,` 50%,
1079
+ `,`
1080
+ );
1081
+ }
1082
+ `])),n.colorFillContent,y(24),n.gradientColor1,n.gradientColor2,n.colorBgContainer,(0,Ee.m4)(n.gradientColor2,.3),(0,Ee.m4)(n.gradientColor2,.3),(0,Ee.m4)(n.gradientColor1,.3))),img:c(x,h,a(oi||(oi=(0,T.Z)([`
1083
+ `,`;
1084
+ color: `,`;
1085
+ `])),y(20),n.colorWhite)),link:a(ri||(ri=(0,T.Z)([`
1086
+ `,`;
1087
+
1088
+ margin-top: 24px;
1089
+
1090
+ a {
1091
+ `,`;
1092
+
1093
+ color: `,`;
1094
+ &:hover {
1095
+ color: `,`;
1096
+ }
1097
+ }
1098
+ `])),h,i.resetLinkColor,n.colorTextDescription,n.colorPrimaryHover),blur:a(ii||(ii=(0,T.Z)([`
1099
+ pointer-events: none;
1100
+ position: absolute;
1101
+ width: 100%;
1102
+ height: 100%;
1103
+ top: 0;
1104
+ left: 0;
1105
+ `,`;
1106
+ scale: 2;
1107
+ opacity: `,`;
1108
+ `,` {
1109
+ display: none;
1110
+ }
1111
+ `])),i.heroBlurBall,s?.05:.08,r.mobile)}}),lu=function(t){var n=t.image,o=t.className,r=t.title,a=/(\.png|\.jpg|\.jpeg|\.gif|\.svg|\.webp)$/;return n.startsWith("http")||a.test(n)?(0,d.jsx)("img",{className:o,src:n,alt:r}):(0,d.jsx)(Le.Z,{className:o,children:n})},su=function(t){var n=t.imageType,o=t.row,r=t.column,a=t.hero,i=t.description,s=t.image,c=t.title,m=t.link,u=t.imageStyle,p=t.openExternal,f=o||7,g=au({rowNum:f,hasLink:!!m}),v=g.styles,x=g.theme;return(0,d.jsxs)("div",{className:v.container,style:{gridRow:"span ".concat(f),gridColumn:"span ".concat(r||1),cursor:m?"pointer":"default"},onClick:function(){m&&(p?window.open(m):W.m8.push(m))},children:[(0,d.jsxs)("div",{className:v.cell,children:[s&&(0,d.jsx)(Le.Z,{"image-style":n,className:v.imgContainer,style:u,children:(0,d.jsx)(lu,{className:v.img,image:s,title:c})}),c&&(0,d.jsxs)(se.D,{as:"h3",horizontal:!0,gap:8,align:"center",className:v.title,children:[c,n==="soon"?(0,d.jsx)(iu,{color:x.isDarkMode?"pink-inverse":"cyan-inverse",children:"SOON"}):null]}),i&&(0,d.jsx)("p",{dangerouslySetInnerHTML:{__html:i},className:v.desc}),m&&(0,d.jsx)("div",{className:v.link,children:(0,d.jsxs)(W.rU,{to:m,children:["\u7ACB\u5373\u4E86\u89E3 ",(0,d.jsx)(Bn,{})]})})]}),a&&(0,d.jsx)("div",{className:v.blur})]})},cu=su,ai,li,du=(0,ce.kc)(function(e){var t=e.token,n=e.prefixCls,o=e.responsive,r=e.css,a=e.cx,i="".concat(n,"-features");return{container:a(i,r(ai||(ai=(0,T.Z)([`
1112
+ max-width: `,`px;
1113
+
1114
+ display: grid;
1115
+ grid-template-columns: repeat(3, 1fr);
1116
+ grid-auto-flow: row dense;
1117
+ grid-auto-rows: 24px;
1118
+ gap: 16px;
1119
+
1120
+ `,`
1121
+ `])),t.contentMaxWidth,o({mobile:r(li||(li=(0,T.Z)([`
1122
+ flex-direction: column;
1123
+ display: flex;
1124
+ `]))),laptop:{gridTemplateColumns:"repeat(2, 1fr)"}})))}});function si(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function uu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?si(Object(n),!0).forEach(function(o){(0,he.Z)(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):si(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}var mu=function(t){var n=t.items,o=t.style,r=du(),a=r.styles;return n!=null&&n.length?(0,d.jsx)("div",{className:a.container,style:o,children:n.map(function(i){return(0,d.jsx)(cu,uu({},i),i.title)})}):null},fu=mu,ci=function(t){return!!t.routeMeta.frontmatter.hero},pu=function(t){var n,o;return!!((n=t.routeMeta.frontmatter.hero)!==null&&n!==void 0&&n.showCustomContent)||!!((o=t.siteData.themeConfig.hero)!==null&&o!==void 0&&o.showCustomContent)},Ze=function(t,n){if(n)return n[t.locale.id]?n[t.locale.id]:n},gu=function(t){var n,o;return((n=t.routeMeta.frontmatter.hero)===null||n===void 0?void 0:n.title)||((o=Ze(t,t.siteData.themeConfig.hero))===null||o===void 0?void 0:o.title)||Ze(t,t.siteData.themeConfig.title)||t.siteData.themeConfig.name},vu=function(t){var n,o;return((n=t.routeMeta.frontmatter.hero)===null||n===void 0?void 0:n.description)||((o=Ze(t,t.siteData.themeConfig.hero))===null||o===void 0?void 0:o.description)||Ze(t,t.siteData.themeConfig.description)},hu=function(t){var n,o;return((n=t.routeMeta.frontmatter.hero)===null||n===void 0?void 0:n.actions)||((o=Ze(t,t.siteData.themeConfig.hero))===null||o===void 0?void 0:o.actions)||Ze(t,t.siteData.themeConfig.actions)},xu=function(t){var n;return ci(t)?((n=Ze(t,t.siteData.themeConfig.hero))===null||n===void 0?void 0:n.features)||Ze(t,t.siteData.themeConfig.features)||t.routeMeta.frontmatter.features||[]:[]},bu=function(){var t=(0,U.HX)(xu,gt);return t!=null&&t.length?(0,d.jsx)(fu,{items:t,style:{margin:"0 16px"}}):null},yu=bu,di,Cu=(0,ce.kc)(function(e){var t=e.css,n=e.stylish;return{button:t(di||(di=(0,T.Z)([`
1125
+ border: none;
1126
+
1127
+ `,`
1128
+ `,`
1129
+
1130
+ background-size: 200% 100%;
1131
+
1132
+ &:hover {
1133
+ animation: none;
1134
+ }
1135
+ `])),n.heroButtonGradient,n.heroGradientFlow)}}),Su=function(t){var n=t.children,o=Cu(),r=o.styles;return(0,d.jsx)(ft.ZP,{size:"large",shape:"round",type:"primary",className:r.button,children:n})},wu=Su,ui,mi,fi,pi,gi,vi,hi,$u=(0,ce.kc)(function(e){var t=e.css,n=e.responsive,o=e.token,r=e.stylish,a=e.isDarkMode;return{container:t(ui||(ui=(0,T.Z)([`
1136
+ position: relative;
1137
+ text-align: center;
1138
+ box-sizing: border-box;
1139
+
1140
+ + * {
1141
+ position: relative;
1142
+ }
1143
+
1144
+ > p {
1145
+ margin: 32px;
1146
+ color: `,`;
1147
+ font-size: 20px;
1148
+ line-height: 1.6;
1149
+
1150
+ `,`
1151
+ }
1152
+ `])),o.colorTextSecondary,n({mobile:{fontSize:16}})),titleContainer:t(mi||(mi=(0,T.Z)([`
1153
+ position: relative;
1154
+ `]))),title:t(fi||(fi=(0,T.Z)([`
1155
+ font-size: 68px;
1156
+ z-index: 10;
1157
+ color: transparent;
1158
+ margin: 0;
1159
+ font-family: AliPuHui, `,`;
1160
+
1161
+ `,`
1162
+
1163
+ b {
1164
+ position: relative;
1165
+ z-index: 5;
1166
+ `,`;
1167
+ `,`
1168
+
1169
+ background-clip: text;
1170
+ -webkit-text-fill-color: transparent;
1171
+ }
1172
+ `])),o.fontFamily,n({mobile:{fontSize:40}}),r.heroGradient,r.heroGradientFlow),titleShadow:t(pi||(pi=(0,T.Z)([`
1173
+ position: absolute;
1174
+ z-index: 0;
1175
+ color: `,`;
1176
+
1177
+ top: 0;
1178
+ left: 0;
1179
+ font-size: 68px;
1180
+ font-family: AliPuHui, `,`;
1181
+ font-weight: bold;
1182
+ `,`
1183
+
1184
+ `,`
1185
+
1186
+ b {
1187
+ color: transparent;
1188
+ }
1189
+ `])),a?o.colorWhite:o.colorTextBase,o.fontFamily,n({mobile:{fontSize:40}}),r.heroTextShadow),desc:t(gi||(gi=(0,T.Z)([`
1190
+ font-size: `,`px;
1191
+ color: `,`;
1192
+
1193
+ `,` {
1194
+ font-size: `,`px;
1195
+ margin: 24px 16px;
1196
+ }
1197
+ `])),o.fontSizeHeading3,o.colorTextSecondary,n.mobile,o.fontSizeHeading5),actions:t(vi||(vi=(0,T.Z)([`
1198
+ margin-top: 48px;
1199
+ display: flex;
1200
+ justify-content: center;
1201
+
1202
+ `,`
1203
+ `])),n({mobile:{marginTop:24}})),canvas:t(hi||(hi=(0,T.Z)([`
1204
+ z-index: 10;
1205
+ pointer-events: none;
1206
+ position: absolute;
1207
+ top: -250px;
1208
+ left: 50%;
1209
+ transform: translateX(-50%) scale(1.5);
1210
+ width: 600px;
1211
+ height: 400px;
1212
+ opacity: 0.2;
1213
+ `,`
1214
+
1215
+ `,` {
1216
+ width: 200px;
1217
+ height: 300px;
1218
+ }
1219
+ `])),r.heroBlurBall,n.mobile)}}),Ou=function(t){var n=t.title,o=t.description,r=t.actions,a=$u(),i=a.styles,s=a.cx;return(0,d.jsxs)(se.D,{horizontal:!0,distribution:"center",className:i.container,children:[(0,d.jsx)("div",{className:i.canvas}),(0,d.jsxs)(Le.Z,{children:[n&&(0,d.jsxs)("div",{className:i.titleContainer,children:[(0,d.jsx)("h1",{className:i.title,dangerouslySetInnerHTML:{__html:n}}),(0,d.jsx)("div",{className:s(i.titleShadow),dangerouslySetInnerHTML:{__html:n}})]}),o&&(0,d.jsx)("p",{className:i.desc,dangerouslySetInnerHTML:{__html:o}}),!!(r!=null&&r.length)&&(0,d.jsx)(qt.ZP,{theme:{token:{fontSize:16,controlHeight:40}},children:(0,d.jsx)(se.D,{horizontal:!0,gap:24,className:i.actions,children:r.map(function(c,m){var u=c.text,p=c.link,f=c.openExternal,g=/^(https?:)?\/\//i.test(p),v=m===0?(0,d.jsx)(wu,{children:u}):(0,d.jsx)(ft.ZP,{size:"large",shape:"round",type:"default",children:u});return g?(0,d.jsx)("a",{href:p,target:"_blank",rel:"noopener noreferrer",children:v},"".concat(u,"-").concat(m)):(0,d.jsx)(W.rU,{to:p,target:f?"_blank":void 0,rel:"noreferrer",children:v},u)})})})]})]})},ju=Ou,Iu=function(){var t=(0,U.HX)(gu),n=(0,U.HX)(vu),o=(0,U.HX)(hu);return(0,d.jsx)(ju,{title:t,actions:o,description:n})},Eu=Iu,xi,ku=(0,ce.kc)(function(e){var t=e.token,n=e.prefixCls,o=e.css,r=e.cx,a="".concat(n,"-home-contents");return{container:r(a,o(xi||(xi=(0,T.Z)([`
1220
+ width: 100%;
1221
+ max-width: `,`px;
1222
+ padding: 0 16px;
1223
+ box-sizing: border-box;
1224
+ `])),t.contentMaxWidth))}}),Tu=(0,l.memo)(function(){var e=(0,U.HX)(Kn),t=(0,W.pC)(),n=(0,U.HX)(pu),o=ku(),r=o.styles;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(W.ql,{children:(0,d.jsx)("title",{children:e})}),(0,d.jsxs)(se.D,{align:"center",gap:80,children:[(0,d.jsx)(fr,{}),(0,d.jsx)(Eu,{}),(0,d.jsx)(yu,{}),n&&(0,d.jsx)("div",{className:r.container,children:t}),(0,d.jsx)(qn,{})]})]})}),Nu=Tu,bi,Mu=(0,ce.vJ)(bi||(bi=(0,T.Z)([`
1225
+ body {
1226
+ margin: 0;
1227
+ padding: 0;
1228
+ background-color: `,`;
1229
+ }
1230
+
1231
+ @font-face {
1232
+ font-family: AliPuHui;
1233
+ font-weight: normal;
1234
+ src: url('//at.alicdn.com/t/webfont_exesdog9toj.woff2') format('woff2'),
1235
+ url('//at.alicdn.com/t/webfont_exesdog9toj.woff') format('woff'),
1236
+ url('//at.alicdn.com/t/webfont_exesdog9toj.ttf') format('truetype');
1237
+ font-display: swap;
1238
+ }
1239
+
1240
+ @font-face {
1241
+ font-family: AliPuHui;
1242
+ font-weight: bold;
1243
+ src: url('https://at.alicdn.com/wf/webfont/exMpJIukiCms/Gsw2PSKrftc1yNWMNlXgw.woff2') format('woff2'),
1244
+ url('https://at.alicdn.com/wf/webfont/exMpJIukiCms/vtu73by4O2gEBcvBuLgeu.woff') format('woff');
1245
+ font-display: swap;
1246
+ }
1247
+
1248
+ /* \u5B9A\u4E49\u6EDA\u52A8\u69FD\u7684\u6837\u5F0F */
1249
+ ::-webkit-scrollbar {
1250
+ width: 6px;
1251
+ height: 6px;
1252
+ margin-right: 4px;
1253
+ background-color: transparent; // \u5B9A\u4E49\u6EDA\u52A8\u69FD\u7684\u80CC\u666F\u8272
1254
+
1255
+ &-thumb {
1256
+ background-color: `,`; // \u5B9A\u4E49\u6EDA\u52A8\u5757\u7684\u80CC\u666F\u8272
1257
+ border-radius: 4px; // \u5B9A\u4E49\u6EDA\u52A8\u5757\u7684\u5706\u89D2\u534A\u5F84
1258
+ }
1259
+
1260
+ &-corner {
1261
+ display: none;
1262
+ }
1263
+ }
1264
+ `])),function(e){return e.theme.colorBgLayout},function(e){var t=e.theme;return t.colorFill}),Du=(0,l.memo)(function(){var e=(0,W.YB)(),t=(0,W.TH)(),n=t.hash,o=(0,U.HX)(function(i){return i.routeMeta.frontmatter}),r=(0,U.HX)(ci),a=(0,U.HX)(function(i){return i.siteData.loading});return(0,l.useEffect)(function(){var i=n.replace("#","");i&&setTimeout(function(){var s=document.getElementById(decodeURIComponent(i));s&&(s.scrollIntoView(),window.scrollBy({top:-80}))},1)},[a,n]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(W.ql,{children:[(0,d.jsx)("html",{lang:e.locale.replace(/-.+$/,"")}),o.title&&(0,d.jsx)("meta",{property:"og:title",content:o.title}),o.description&&(0,d.jsx)("meta",{name:"description",content:o.description}),o.description&&(0,d.jsx)("meta",{property:"og:description",content:o.description}),o.keywords&&(0,d.jsx)("meta",{name:"keywords",content:o.keywords.join(",")}),o.keywords&&(0,d.jsx)("meta",{property:"og:keywords",content:o.keywords.join(",")})]}),r?(0,d.jsx)(Nu,{}):(0,d.jsx)(Gd,{})]})});C.g.__ANTD_CACHE__=Fe.cache;var Pu=function(t){var n=t.children,o=(0,U.HX)(no,Ne());return(0,d.jsx)(zi,{cache:Fe.cache,token:o,children:n})},Hu=(0,l.memo)(function(e){var t=e.initState;return(0,d.jsxs)(U.zt,{createStore:function(){return(0,U.MT)(t)},children:[(0,d.jsx)(Ia,{}),(0,d.jsxs)(Pu,{children:[(0,d.jsx)(Mu,{}),(0,d.jsx)(Du,{})]})]})}),Ru=function(){var e=(0,W.WF)(),t=(0,W.tx)(),n=(0,W.eL)(),o=(0,W.zh)(),r=(0,W.OK)(),a=(0,W.TH)(),i=(0,W.bU)(),s=(0,l.useMemo)(function(){return{siteData:e,navData:r,locale:i,location:a,routeMeta:n,tabMeta:o,sidebar:t}},[]);return(0,d.jsx)(Hu,{initState:s})}}}]);
1265
+ }());