dash-ant-design 0.1.2 → 0.1.4

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 (89) hide show
  1. package/dash_antd_components/async-audio-player.js +1 -1
  2. package/dash_antd_components/async-chart.js +1 -1
  3. package/dash_antd_components/async-data-entry.js +1 -1
  4. package/dash_antd_components/async-display.js +1 -1
  5. package/dash_antd_components/async-dnd.js +1 -1
  6. package/dash_antd_components/async-feedback.js +1 -1
  7. package/dash_antd_components/async-form-controls.js +1 -0
  8. package/dash_antd_components/async-form-upload.js +1 -1
  9. package/dash_antd_components/async-highlight.js +1 -1
  10. package/dash_antd_components/async-icon-outlined.js +1 -1
  11. package/dash_antd_components/async-infographic.js +1 -1
  12. package/dash_antd_components/async-locale-ar.js +1 -1
  13. package/dash_antd_components/async-locale-az.js +1 -1
  14. package/dash_antd_components/async-locale-bg.js +1 -1
  15. package/dash_antd_components/async-locale-bn.js +1 -1
  16. package/dash_antd_components/async-locale-by.js +1 -1
  17. package/dash_antd_components/async-locale-ca.js +1 -1
  18. package/dash_antd_components/async-locale-cs.js +1 -1
  19. package/dash_antd_components/async-locale-da.js +1 -1
  20. package/dash_antd_components/async-locale-de.js +1 -1
  21. package/dash_antd_components/async-locale-el.js +1 -1
  22. package/dash_antd_components/async-locale-en.js +1 -1
  23. package/dash_antd_components/async-locale-es.js +1 -1
  24. package/dash_antd_components/async-locale-et.js +1 -1
  25. package/dash_antd_components/async-locale-eu.js +1 -1
  26. package/dash_antd_components/async-locale-fa.js +1 -1
  27. package/dash_antd_components/async-locale-fi.js +1 -1
  28. package/dash_antd_components/async-locale-fr.js +1 -1
  29. package/dash_antd_components/async-locale-ga.js +1 -1
  30. package/dash_antd_components/async-locale-gl.js +1 -1
  31. package/dash_antd_components/async-locale-he.js +1 -1
  32. package/dash_antd_components/async-locale-hi.js +1 -1
  33. package/dash_antd_components/async-locale-hr.js +1 -1
  34. package/dash_antd_components/async-locale-hu.js +1 -1
  35. package/dash_antd_components/async-locale-hy.js +1 -1
  36. package/dash_antd_components/async-locale-id.js +1 -1
  37. package/dash_antd_components/async-locale-is.js +1 -1
  38. package/dash_antd_components/async-locale-it.js +1 -1
  39. package/dash_antd_components/async-locale-ja.js +1 -1
  40. package/dash_antd_components/async-locale-ka.js +1 -1
  41. package/dash_antd_components/async-locale-kk.js +1 -1
  42. package/dash_antd_components/async-locale-km.js +1 -1
  43. package/dash_antd_components/async-locale-kmr.js +1 -1
  44. package/dash_antd_components/async-locale-kn.js +1 -1
  45. package/dash_antd_components/async-locale-ko.js +1 -1
  46. package/dash_antd_components/async-locale-ku.js +1 -1
  47. package/dash_antd_components/async-locale-lt.js +1 -1
  48. package/dash_antd_components/async-locale-lv.js +1 -1
  49. package/dash_antd_components/async-locale-mk.js +1 -1
  50. package/dash_antd_components/async-locale-ml.js +1 -1
  51. package/dash_antd_components/async-locale-mn.js +1 -1
  52. package/dash_antd_components/async-locale-mr.js +1 -1
  53. package/dash_antd_components/async-locale-ms.js +1 -1
  54. package/dash_antd_components/async-locale-my.js +1 -1
  55. package/dash_antd_components/async-locale-nb.js +1 -1
  56. package/dash_antd_components/async-locale-ne.js +1 -1
  57. package/dash_antd_components/async-locale-nl.js +1 -1
  58. package/dash_antd_components/async-locale-pl.js +1 -1
  59. package/dash_antd_components/async-locale-pt.js +1 -1
  60. package/dash_antd_components/async-locale-ro.js +1 -1
  61. package/dash_antd_components/async-locale-ru.js +1 -1
  62. package/dash_antd_components/async-locale-si.js +1 -1
  63. package/dash_antd_components/async-locale-sk.js +1 -1
  64. package/dash_antd_components/async-locale-sl.js +1 -1
  65. package/dash_antd_components/async-locale-sq.js +1 -1
  66. package/dash_antd_components/async-locale-sr.js +1 -1
  67. package/dash_antd_components/async-locale-sv.js +1 -1
  68. package/dash_antd_components/async-locale-ta.js +1 -1
  69. package/dash_antd_components/async-locale-th.js +1 -1
  70. package/dash_antd_components/async-locale-tk.js +1 -1
  71. package/dash_antd_components/async-locale-tr.js +1 -1
  72. package/dash_antd_components/async-locale-uk.js +1 -1
  73. package/dash_antd_components/async-locale-ur.js +1 -1
  74. package/dash_antd_components/async-locale-uz.js +1 -1
  75. package/dash_antd_components/async-locale-vi.js +1 -1
  76. package/dash_antd_components/async-locale-zh.js +1 -1
  77. package/dash_antd_components/async-markdown.js +1 -1
  78. package/dash_antd_components/async-media-shared.js +1 -1
  79. package/dash_antd_components/async-media.js +1 -1
  80. package/dash_antd_components/async-navigation.js +1 -1
  81. package/dash_antd_components/async-picker.js +1 -1
  82. package/dash_antd_components/async-select.js +1 -1
  83. package/dash_antd_components/async-sheet.js +1 -1
  84. package/dash_antd_components/async-table.js +1 -1
  85. package/dash_antd_components/async-tree.js +1 -1
  86. package/dash_antd_components/async-video-player.js +1 -1
  87. package/dash_antd_components/async-viz-shared.js +1 -1
  88. package/dash_antd_components/dash_antd_components.js +1 -1
  89. package/package.json +2 -2
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkdash_antd_components=self.webpackChunkdash_antd_components||[]).push([["async-display"],{"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/DownOutlined.js"(e,t,o){o.d(t,{A:()=>s});var n=o("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};var a=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i.apply(this,arguments)}const s=n.forwardRef((e,t)=>n.createElement(a.A,i({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/PlusOutlined.js"(e,t,o){o.d(t,{A:()=>s});var n=o("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var a=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i.apply(this,arguments)}const s=n.forwardRef((e,t)=>n.createElement(a.A,i({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/UpOutlined.js"(e,t,o){o.d(t,{A:()=>s});var n=o("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};var a=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i.apply(this,arguments)}const s=n.forwardRef((e,t)=>n.createElement(a.A,i({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@rc-component+dropdown@1.0.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/dropdown/es/index.js"(e,t,o){o.d(t,{A:()=>h});var n=o("./node_modules/.pnpm/@rc-component+trigger@3.10.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/trigger/es/index.js"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=o("react"),s=o.n(i);const{ESC:l,TAB:c}=r.DD;const d=(0,i.forwardRef)((e,t)=>{const{overlay:o,arrow:n,prefixCls:a}=e,l=(0,i.useMemo)(()=>{let e;return e="function"==typeof o?o():o,e},[o]),c=(0,r.K4)(t,(0,r.A9)(l));return s().createElement(s().Fragment,null,n&&s().createElement("div",{className:`${a}-arrow`}),s().cloneElement(l,{ref:(0,r.f3)(l)?c:void 0}))}),m={adjustX:1,adjustY:1},u=[0,0],p={topLeft:{points:["bl","tl"],overflow:m,offset:[0,-4],targetOffset:u},top:{points:["bc","tc"],overflow:m,offset:[0,-4],targetOffset:u},topRight:{points:["br","tr"],overflow:m,offset:[0,-4],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:m,offset:[0,4],targetOffset:u},bottom:{points:["tc","bc"],overflow:m,offset:[0,4],targetOffset:u},bottomRight:{points:["tr","br"],overflow:m,offset:[0,4],targetOffset:u}};function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},g.apply(this,arguments)}const f=s().forwardRef((e,t)=>{const{arrow:o=!1,prefixCls:m="rc-dropdown",transitionName:u,animation:f,align:h,placement:_="bottomLeft",placements:b=p,getPopupContainer:v,showAction:$,hideAction:y,overlayClassName:x,overlayStyle:S,visible:C,trigger:w=["hover"],autoFocus:k,overlay:E,children:z,onVisibleChange:N,disabled:A,...M}=e,[j,R]=s().useState(),I="visible"in e?C:j,T=f?`${m}-${f}`:u,P=s().useRef(null),H=s().useRef(null),B=s().useRef(null);s().useImperativeHandle(t,()=>P.current);const D=e=>{R(e),N?.(e)};!function({visible:e,triggerRef:t,onVisibleChange:o,autoFocus:n,overlayRef:a}){const s=i.useRef(!1),d=()=>{e&&(t.current?.focus?.(),o?.(!1))},m=()=>!!a.current?.focus&&(a.current.focus(),s.current=!0,!0),u=e=>{switch(e.keyCode){case l:d();break;case c:{let t=!1;s.current||(t=m()),t?e.preventDefault():d();break}}};i.useEffect(()=>e?(window.addEventListener("keydown",u),n&&(0,r.er)(m,3),()=>{window.removeEventListener("keydown",u),s.current=!1}):()=>{s.current=!1},[e])}({visible:I,triggerRef:B,onVisibleChange:D,autoFocus:k,overlayRef:H});const L=()=>s().createElement(d,{ref:H,overlay:E,prefixCls:m,arrow:o}),O=z,W=(0,a.$)(O.props?.className,I&&(()=>{const{openClassName:t}=e;return void 0!==t?t:`${m}-open`})()),F={className:W,ref:(0,r.K4)(B,(0,r.A9)(O))},X=(0,r.f3)(O)?s().cloneElement(O,F):s().createElement("span",{className:W,ref:B},s().cloneElement(O,{className:W}));let q=y;return q||-1===w.indexOf("contextMenu")||(q=["click"]),s().createElement(n.Ay,g({builtinPlacements:b},M,{prefixCls:m,ref:P,popupClassName:(0,a.$)(x,{[`${m}-show-arrow`]:o}),popupStyle:S,action:w,showAction:$,hideAction:q,popupPlacement:_,popupAlign:h,popupMotion:{motionName:T},popupVisible:I,stretch:(()=>{const{minOverlayWidthMatchTrigger:t,alignPoint:o}=e;return"minOverlayWidthMatchTrigger"in e?t:!o})()?"minWidth":"",popup:"function"==typeof E?L:L(),onOpenChange:D,onPopupClick:t=>{const{onOverlayClick:o}=e;R(!1),o&&o(t)},getPopupContainer:v}),X)}),h=f},"./node_modules/.pnpm/@rc-component+steps@1.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/steps/es/index.js"(e,t,o){o.d(t,{QB:()=>s,Ay:()=>b});var n=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),r=o("react"),a=o.n(r);function i(e){const{prefixCls:t,className:o,style:a,status:i}=e,s=`${t}-rail`;return r.createElement("div",{className:(0,n.$)(s,`${s}-${i}`,o),style:a})}const s=r.createContext({});var l=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js");const c=r.createContext(null);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},d.apply(this,arguments)}const m=r.createContext({}),u=r.forwardRef((e,t)=>{const{className:o,style:a,children:i,...s}=e,{prefixCls:u,classNames:p,styles:g}=r.useContext(c),{className:f,style:h}=r.useContext(m),_=`${u}-item`;return r.createElement("div",d({},(0,l.KE)(s,!1),{ref:t,className:(0,n.$)(`${_}-icon`,p.itemIcon,f,o),style:{...g.itemIcon,...h,...a}}),i)});function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p.apply(this,arguments)}function g(e){return null!=e}function f(e){const{prefixCls:t,classNames:o,styles:a,data:l,last:d,nextStatus:f,active:h,index:_,itemRender:b,iconRender:v,itemWrapperRender:$,onClick:y}=e,x=`${t}-item`,{railFollowPrevStatus:S}=r.useContext(s),{ItemComponent:C}=r.useContext(c),{onClick:w,title:k,subTitle:E,content:z,description:N,disabled:A,icon:M,status:j,className:R,style:I,classNames:T={},styles:P={},...H}=l,B=z??N,D={item:{...l,content:B},index:_,active:h},L={};!(!y&&!w||A)&&(L.role="button",L.tabIndex=0,L.onClick=e=>{w?.(e),y(_)},L.onKeyDown=e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.currentTarget.click())});const O=j||"wait",W=g(k),F=g(E),X=(0,n.$)(x,`${x}-${O}`,{[`${x}-custom`]:M,[`${x}-active`]:h,[`${x}-disabled`]:!0===A,[`${x}-empty-header`]:!W&&!F},R,o.item,T.root);let q=r.createElement(u,null);v&&(q=v(q,{...D,components:{Icon:u}}));const G=r.createElement("div",{className:(0,n.$)(`${x}-wrapper`,o.itemWrapper,T.wrapper),style:{...a.itemWrapper,...P.wrapper}},r.createElement(m.Provider,{value:{className:T.icon,style:P.icon}},q),r.createElement("div",{className:(0,n.$)(`${x}-section`,o.itemSection,T.section),style:{...a.itemSection,...P.section}},r.createElement("div",{className:(0,n.$)(`${x}-header`,o.itemHeader,T.header),style:{...a.itemHeader,...P.header}},W&&r.createElement("div",{className:(0,n.$)(`${x}-title`,o.itemTitle,T.title),style:{...a.itemTitle,...P.title}},k),F&&r.createElement("div",{title:"string"==typeof E?E:void 0,className:(0,n.$)(`${x}-subtitle`,o.itemSubtitle,T.subtitle),style:{...a.itemSubtitle,...P.subtitle}},E),!d&&r.createElement(i,{prefixCls:x,className:(0,n.$)(o.itemRail,T.rail),style:{...a.itemRail,...P.rail},status:S?j:f})),g(B)&&r.createElement("div",{className:(0,n.$)(`${x}-content`,o.itemContent,T.content),style:{...a.itemContent,...P.content}},B)));let K=r.createElement(C,p({},H,L,{className:X,style:{...a.item,...P.root,...I}}),$?$(G):G);return b&&(K=b(K,D)||null),K}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},h.apply(this,arguments)}const _={};const b=function(e){const{prefixCls:t="rc-steps",style:o,className:r,classNames:i=_,styles:s=_,rootClassName:l,orientation:d,titlePlacement:m,components:u,status:p="process",current:g=0,initial:b=0,onChange:v,items:$,iconRender:y,itemRender:x,itemWrapperRender:S,...C}=e,w="vertical"===d,k=(0,n.$)(t,`${t}-${w?"vertical":"horizontal"}`,`${t}-title-${w||"vertical"!==m?"horizontal":"vertical"}`,l,r,i.root),E=a().useMemo(()=>($||[]).filter(Boolean),[$]),z=a().useMemo(()=>E.map(({status:e},t)=>{const o=b+t;return e||(o===g?p:o<g?"finish":"wait")}),[E,p,g,b]),N=e=>{v&&g!==e&&v(e)},{root:A="div",item:M="div"}=u||{},j=a().useMemo(()=>({prefixCls:t,classNames:i,styles:s,ItemComponent:M}),[t,i,s,M]);return a().createElement(A,h({className:k,style:{...o,...s?.root}},C),a().createElement(c.Provider,{value:j},E.map((e,o)=>{const n=b+o,r=z[o+1],l={...e,status:z[o]};return a().createElement(f,{key:n,prefixCls:t,classNames:i,styles:s,data:l,nextStatus:r,active:n===g,index:n,last:E.length-1===o,iconRender:y,itemRender:x,itemWrapperRender:S,onClick:v&&N})})))}},"./node_modules/.pnpm/@rc-component+virtual-list@1.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/virtual-list/es/index.js"(e,t,o){o.d(t,{A:()=>j});var n=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),r=o("./node_modules/.pnpm/@rc-component+resize-observer@1.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/resize-observer/es/index.js"),a=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("react"),s=o("react-dom");function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},l.apply(this,arguments)}const c=i.forwardRef(({height:e,offsetY:t,offsetX:o,children:a,prefixCls:s,onInnerResize:c,innerProps:d,rtl:m,extra:u},p)=>{let g={},f={display:"flex",flexDirection:"column"};return void 0!==t&&(g={height:e,position:"relative",overflow:"hidden"},f={...f,transform:`translateY(${t}px)`,[m?"marginRight":"marginLeft"]:-o,position:"absolute",left:0,right:0,top:0}),i.createElement("div",{style:g},i.createElement(r.Ay,{onResize:({offsetHeight:e})=>{e&&c&&c()}},i.createElement("div",l({style:f,className:(0,n.$)({[`${s}-holder-inner`]:s}),ref:p},d),a,u)))});c.displayName="Filler";const d=c;function m({children:e,setRef:t}){const o=i.useCallback(e=>{t(e)},[t]);return i.cloneElement(e,{ref:o})}function u(e,t,o){const[n,r]=i.useState(e),[a,s]=i.useState(null);return i.useEffect(()=>{const a=function(e,t,o){const n=e.length,r=t.length;let a,i;if(0===n&&0===r)return null;n<r?(a=e,i=t):(a=t,i=e);const s={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?o(e):s}let c=null,d=1!==Math.abs(n-r);for(let e=0;e<i.length;e+=1){const t=l(a[e]);if(t!==l(i[e])){c=e,d=d||t!==l(i[e+1]);break}}return null===c?null:{index:c,multiple:d}}(n||[],e||[],t);void 0!==a?.index&&(o?.(a.index),s(e[a.index])),r(e)},[e]),[a]}const p="object"==typeof navigator&&/Firefox/i.test(navigator.userAgent),g=(e,t,o,n)=>{const r=(0,i.useRef)(!1),a=(0,i.useRef)(null);const s=(0,i.useRef)({top:e,bottom:t,left:o,right:n});return s.current.top=e,s.current.bottom=t,s.current.left=o,s.current.right=n,(e,t,o=!1)=>{const n=e?t<0&&s.current.left||t>0&&s.current.right:t<0&&s.current.top||t>0&&s.current.bottom;return o&&n?(clearTimeout(a.current),r.current=!1):n&&!r.current||(clearTimeout(a.current),r.current=!0,a.current=setTimeout(()=>{r.current=!1},50)),!r.current&&n}};function f(e,t,o,n,r,s,l){const c=(0,i.useRef)(0),d=(0,i.useRef)(null),m=(0,i.useRef)(null),u=(0,i.useRef)(!1),f=g(t,o,n,r);const h=(0,i.useRef)(null),_=(0,i.useRef)(null);return[function(t){if(!e)return;a.er.cancel(_.current),_.current=(0,a.er)(()=>{h.current=null},2);const{deltaX:o,deltaY:n,shiftKey:r}=t;let i=o,g=n;("sx"===h.current||!h.current&&r&&n&&!o)&&(i=n,g=0,h.current="sx");const b=Math.abs(i),v=Math.abs(g);null===h.current&&(h.current=s&&b>v?"x":"y"),"y"===h.current?function(e,t){if(a.er.cancel(d.current),f(!1,t))return;const o=e;o._virtualHandled||(o._virtualHandled=!0,c.current+=t,m.current=t,p||o.preventDefault(),d.current=(0,a.er)(()=>{l(c.current*(u.current?10:1),!1),c.current=0}))}(t,g):function(e,t){l(t,!0),p||e.preventDefault()}(t,i)},function(t){e&&(u.current=t.detail===m.current)}]}const h=class{maps;id=0;diffRecords=new Map;constructor(){this.maps=Object.create(null)}set(e,t){this.diffRecords.set(e,this.maps[e]),this.maps[e]=t,this.id+=1}get(e){return this.maps[e]}resetRecord(){this.diffRecords.clear()}getRecord(){return this.diffRecords}};function _(e){const t=parseFloat(e);return isNaN(t)?0:t}const b=14/15;function v(e){return Math.floor(e**.5)}function $(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}function y(e,t,o,n,r,s,l,c,d){const m=i.useRef(void 0),[u,p]=i.useState(null);return(0,a.Nf)(()=>{if(u&&u.times<10){if(!e.current)return void p(e=>({...e}));l();const{targetAlign:a,originAlign:i,index:d,offset:m}=u,g=a||i,f=function(e,t){const o="function"==typeof e?e(t):e;return Number.isFinite(o)?o:0}(m,{getSize:s,align:g}),h=e.current.clientHeight;let _=!1,b=a,v=null;if(h){let a=0,i=0,s=0;const l=Math.min(t.length-1,d);for(let e=0;e<=l;e+=1){const l=r(t[e]);i=a;const c=o.get(l);s=i+(void 0===c?n:c),a=s}let m="top"===g?f:h-f;for(let e=l;e>=0;e-=1){const n=r(t[e]),a=o.get(n);if(void 0===a){_=!0;break}if(m-=a,m<=0)break}switch(g){case"top":v=i-f;break;case"bottom":v=s-h+f;break;default:{const{scrollTop:t}=e.current;i<t?b="top":s>t+h&&(b="bottom")}}null!==v&&c(v),v!==u.lastTop&&(_=!0)}_&&p({...u,times:u.times+1,targetAlign:b,lastTop:v})}else 0},[u,e.current]),e=>{if(null!=e){if(a.er.cancel(m.current),"number"==typeof e)c(e);else if(e&&"object"==typeof e){let o;const{align:n}=e;"index"in e?({index:o}=e):o=t.findIndex(t=>r(t)===e.key);const{offset:a=0}=e;p({times:0,index:o,offset:a,originAlign:n})}}else d()}}function x(e,t,o){if(t<=0||o<=0)return 0;const n=Math.max(Math.min(e,o),0);let r=Math.ceil(n/o*t);return r=Math.max(r,0),r=Math.min(r,t),r}const S=i.forwardRef((e,t)=>{const{prefixCls:o,rtl:r,scrollOffset:s,scrollRange:l,onStartMove:c,onStopMove:d,onScroll:m,horizontal:u,spinSize:p,containerSize:g,style:f,thumbStyle:h,showScrollBar:_}=e,[b,v]=i.useState(!1),[y,S]=i.useState(null),[C,w]=i.useState(null),k=!r,E=i.useRef(null),z=i.useRef(null),[N,A]=i.useState(_),M=i.useRef(void 0),j=()=>{!0!==_&&!1!==_&&(clearTimeout(M.current),A(!0),M.current=setTimeout(()=>{A(!1)},3e3))},R=l-g||0,I=g-p||0,T=i.useMemo(()=>{if(0===s||0===R)return 0;return s/R*I},[s,R,I]),P=i.useRef({top:T,dragging:b,pageY:y,startTop:C});P.current={top:T,dragging:b,pageY:y,startTop:C};const H=(0,a._q)(e=>{v(!0),S($(e,u)),w(P.current.top),c(),e.stopPropagation(),e.preventDefault()});i.useEffect(()=>{const e=e=>{e.preventDefault()},t=E.current,o=z.current;return t.addEventListener("touchstart",e,{passive:!1}),o.addEventListener("touchstart",H,{passive:!1}),()=>{t.removeEventListener("touchstart",e),o.removeEventListener("touchstart",H)}},[H]);const B=i.useRef(void 0);B.current=R;const D=i.useRef(void 0);D.current=I,i.useEffect(()=>{if(b){let e;const t=t=>{const{dragging:o,pageY:n,startTop:r}=P.current;a.er.cancel(e);const i=E.current.getBoundingClientRect(),s=g/(u?i.width:i.height);if(o){const o=($(t,u)-n)*s;let i=r;!k&&u?i-=o:i+=o;const l=x(i,B.current,D.current);e=(0,a.er)(()=>{m(l,u)})}},o=()=>{v(!1),d()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",o,{passive:!0}),window.addEventListener("touchend",o,{passive:!0}),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",o),window.removeEventListener("touchend",o),a.er.cancel(e)}}},[b]),i.useEffect(()=>(j(),()=>{clearTimeout(M.current)}),[s]),i.useImperativeHandle(t,()=>({delayHidden:j}));const L=`${o}-scrollbar`,O={position:"absolute",visibility:N?null:"hidden"},W={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return u?(Object.assign(O,{height:8,left:0,right:0,bottom:0}),Object.assign(W,{height:"100%",width:p,[k?"left":"right"]:T})):(Object.assign(O,{width:8,top:0,bottom:0,[k?"right":"left"]:0}),Object.assign(W,{width:"100%",height:p,top:T})),i.createElement("div",{ref:E,className:(0,n.$)(L,{[`${L}-horizontal`]:u,[`${L}-vertical`]:!u,[`${L}-visible`]:N}),style:{...O,...f},onMouseDown:e=>{var t;(e.stopPropagation(),e.preventDefault(),0!==e.button||(t=e.target)&&z.current?.contains(t))||(e=>{const t=E.current;if(!t)return;const o=t.getBoundingClientRect(),n=$(e,u);let r;if(Number.isFinite(n)){if(u){const e=k?o.left:o.right;if(!Number.isFinite(e))return;r=(k?n-e:e-n)-p/2}else{if(!Number.isFinite(o.top))return;r=n-o.top-p/2}m(x(r,R,I),u)}})(e)},onMouseMove:j},i.createElement("div",{ref:z,className:(0,n.$)(`${L}-thumb`,{[`${L}-thumb-moving`]:b}),style:{...W,...h},onMouseDown:H}))});function C(e=0,t=0){let o=e/t*e;return isNaN(o)&&(o=0),o=Math.max(o,20),Math.floor(o)}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},w.apply(this,arguments)}const k=[],E={overflowY:"auto",overflowAnchor:"none"};function z(e,t){const{prefixCls:o="rc-virtual-list",className:l,height:c,itemHeight:p,fullHeight:x=!0,style:z,data:N,children:A,itemKey:M,virtual:j,direction:R,scrollWidth:I,component:T="div",onScroll:P,onVirtualScroll:H,onVisibleChange:B,innerProps:D,extraRender:L,styles:O,showScrollBar:W="optional",...F}=e,X=i.useCallback(e=>"function"==typeof M?M(e):e?.[M],[M]),[q,G,K,V]=function(e,t,o){const[n,r]=i.useState(0),a=(0,i.useRef)(new Map),s=(0,i.useRef)(new h),l=(0,i.useRef)(0);function c(){l.current+=1}function d(e=!1){c();const t=()=>{let e=!1;a.current.forEach((t,o)=>{if(t&&t.offsetParent){const{offsetHeight:n}=t,{marginTop:r,marginBottom:a}=getComputedStyle(t),i=n+_(r)+_(a);s.current.get(o)!==i&&(s.current.set(o,i),e=!0)}}),e&&r(e=>e+1)};if(e)t();else{l.current+=1;const e=l.current;Promise.resolve().then(()=>{e===l.current&&t()})}}return(0,i.useEffect)(()=>c,[]),[function(n,r){const i=e(n),s=a.current.get(i);r?(a.current.set(i,r),d()):a.current.delete(i),!s!=!r&&(r?t?.(n):o?.(n))},d,s.current,n]}(X,null,null),Y=!(!1===j||!c||!p),Z=i.useMemo(()=>Object.values(K.maps).reduce((e,t)=>e+t,0),[K.id,K.maps]),U=Y&&N&&(Math.max(p*N.length,Z)>c||!!I),Q="rtl"===R,J=(0,n.$)(o,{[`${o}-rtl`]:Q},l),ee=N||k,te=(0,i.useRef)(null),oe=(0,i.useRef)(null),ne=(0,i.useRef)(null),[re,ae]=(0,i.useState)(0),[ie,se]=(0,i.useState)(0),[le,ce]=(0,i.useState)(!1),de=()=>{ce(!0)},me=()=>{ce(!1)},ue={getKey:X};function pe(e){ae(t=>{let o;o="function"==typeof e?e(t):e;const n=function(e){let t=e;Number.isNaN(ze.current)||(t=Math.min(t,ze.current));return t=Math.max(t,0),t}(o);return te.current.scrollTop=n,n})}const ge=(0,i.useRef)({start:0,end:ee.length}),fe=(0,i.useRef)(void 0),[he]=u(ee,X);fe.current=he;const{scrollHeight:_e,start:be,end:ve,offset:$e}=i.useMemo(()=>{if(!Y)return{scrollHeight:void 0,start:0,end:ee.length-1,offset:void 0};if(!U)return{scrollHeight:oe.current?.offsetHeight||0,start:0,end:ee.length-1,offset:void 0};let e,t,o,n=0;const r=ee.length;for(let a=0;a<r;a+=1){const r=X(ee[a]),i=K.get(r),s=n+(void 0===i?p:i);s>=re&&void 0===e&&(e=a,t=n),s>re+c&&void 0===o&&(o=a),n=s}return void 0===e&&(e=0,t=0,o=Math.ceil(c/p)),void 0===o&&(o=ee.length-1),o=Math.min(o+1,ee.length-1),{scrollHeight:n,start:e,end:o,offset:t}},[U,Y,re,ee,V,c]);ge.current.start=be,ge.current.end=ve,i.useLayoutEffect(()=>{const e=K.getRecord();if(1===e.size){const t=Array.from(e.keys())[0],o=e.get(t),n=ee[be];if(n&&void 0===o){if(X(n)===t){const e=K.get(t)-p;pe(t=>t+e)}}}K.resetRecord()},[_e]);const[ye,xe]=i.useState({width:0,height:c}),Se=(0,i.useRef)(null),Ce=(0,i.useRef)(null),we=i.useMemo(()=>C(ye.width,I),[ye.width,I]),ke=i.useMemo(()=>C(ye.height,_e),[ye.height,_e]),Ee=_e-c,ze=(0,i.useRef)(Ee);ze.current=Ee;const Ne=re<=0,Ae=re>=Ee,Me=ie<=0,je=ie>=I,Re=g(Ne,Ae,Me,je),Ie=()=>({x:Q?-ie:ie,y:re}),Te=(0,i.useRef)(Ie()),Pe=(0,a._q)(e=>{if(H){const t={...Ie(),...e};Te.current.x===t.x&&Te.current.y===t.y||(H(t),Te.current=t)}});function He(e,t){const o=e;t?((0,s.flushSync)(()=>{se(o)}),Pe()):pe(o)}const Be=e=>{let t=e;const o=I?I-ye.width:0;return t=Math.max(t,0),t=Math.min(t,o),t},De=(0,a._q)((e,t)=>{t?((0,s.flushSync)(()=>{se(t=>Be(t+(Q?-e:e)))}),Pe()):pe(t=>t+e)}),[Le,Oe]=f(Y,Ne,Ae,Me,je,!!I,De);!function(e,t,o){const n=(0,i.useRef)(!1),r=(0,i.useRef)(0),s=(0,i.useRef)(0),l=(0,i.useRef)(null),c=(0,i.useRef)(null);let d;const m=e=>{if(n.current){const t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY);let a=r.current-t,i=s.current-n;const l=Math.abs(a)>Math.abs(i);l?r.current=t:s.current=n;const d=o(l,l?a:i,!1,e);d&&e.preventDefault(),clearInterval(c.current),d&&(c.current=setInterval(()=>{l?a*=b:i*=b;const e=Math.floor(l?a:i);(!o(l,e,!0)||Math.abs(e)<=.1)&&clearInterval(c.current)},16))}},u=()=>{n.current=!1,d()},p=e=>{d(),1!==e.touches.length||n.current||(n.current=!0,r.current=Math.ceil(e.touches[0].pageX),s.current=Math.ceil(e.touches[0].pageY),l.current=e.target,l.current.addEventListener("touchmove",m,{passive:!1}),l.current.addEventListener("touchend",u,{passive:!0}))};d=()=>{l.current&&(l.current.removeEventListener("touchmove",m),l.current.removeEventListener("touchend",u))},(0,a.Nf)(()=>(e&&t.current.addEventListener("touchstart",p,{passive:!0}),()=>{t.current?.removeEventListener("touchstart",p),d(),clearInterval(c.current)}),[e])}(Y,te,(e,t,o,n)=>{const r=n;return!Re(e,t,o)&&((!r||!r._virtualHandled)&&(r&&(r._virtualHandled=!0),Le({preventDefault(){},deltaX:e?t:0,deltaY:e?0:t}),!0))}),function(e,t,o){i.useEffect(()=>{const n=t.current;if(e&&n){let e,t,r=!1;const i=()=>{a.er.cancel(e)},s=()=>{i(),e=(0,a.er)(()=>{o(t),s()})},l=()=>{r=!1,i()},c=e=>{e.target.draggable||0!==e.button||e._virtualHandled||(e._virtualHandled=!0,r=!0)},d=e=>{if(r){const o=$(e,!1),{top:r,bottom:a}=n.getBoundingClientRect();o<=r?(t=-v(r-o),s()):o>=a?(t=v(o-a),s()):i()}};return n.addEventListener("mousedown",c),n.ownerDocument.addEventListener("mouseup",l),n.ownerDocument.addEventListener("mousemove",d),n.ownerDocument.addEventListener("dragend",l),()=>{n.removeEventListener("mousedown",c),n.ownerDocument.removeEventListener("mouseup",l),n.ownerDocument.removeEventListener("mousemove",d),n.ownerDocument.removeEventListener("dragend",l),i()}}},[e])}(U,te,e=>{pe(t=>t+e)}),(0,a.Nf)(()=>{function e(e){!Y||Ne&&e.detail<0||Ae&&e.detail>0||e.preventDefault()}const t=te.current;return t.addEventListener("wheel",Le,{passive:!1}),t.addEventListener("DOMMouseScroll",Oe,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),()=>{t.removeEventListener("wheel",Le),t.removeEventListener("DOMMouseScroll",Oe),t.removeEventListener("MozMousePixelScroll",e)}},[Y,Ne,Ae]),(0,a.Nf)(()=>{if(I){const e=Be(ie);se(e),Pe({x:e})}},[ye.width,I]);const We=()=>{Se.current?.delayHidden(),Ce.current?.delayHidden()},Fe=function(e,t,o,n){const[r,a]=i.useMemo(()=>[new Map,[]],[e,o.id,n]);return(i,s=i)=>{let l=r.get(i),c=r.get(s);if(void 0===l||void 0===c){const d=e.length;for(let m=a.length;m<d;m+=1){const d=t(e[m]);r.set(d,m);const u=o.get(d)??n;if(a[m]=(a[m-1]||0)+u,d===i&&(l=m),d===s&&(c=m),void 0!==l&&void 0!==c)break}}return{top:a[l-1]||0,bottom:a[c]}}}(ee,X,K,p),Xe=y(te,ee,K,p,X,Fe,()=>G(!0),pe,We);i.useImperativeHandle(t,()=>({nativeElement:ne.current,getScrollInfo:Ie,scrollTo:e=>{var t;(t=e)&&"object"==typeof t&&("left"in t||"top"in t)?(void 0!==e.left&&se(Be(e.left)),Xe(e.top)):Xe(e)}})),(0,a.Nf)(()=>{if(B){const e=ee.slice(be,ve+1);B(e,ee)}},[be,ve,ee]);const qe=L?.({start:be,end:ve,virtual:U,offsetX:ie,scrollTop:re,offsetY:$e,rtl:Q,getSize:Fe}),Ge=function(e,t,o,n,r,a,s,{getKey:l}){return e.slice(t,o+1).map((e,o)=>{const c=s(e,t+o,{style:{width:n},offsetX:r}),d=l(e);return i.createElement(m,{key:d,setRef:t=>a(e,t)},c)})}(ee,be,ve,I,ie,q,A,ue);let Ke=null;c&&(Ke={[x?"height":"maxHeight"]:c,...E},Y&&(Ke.overflowY="hidden",I&&(Ke.overflowX="hidden"),le&&(Ke.pointerEvents="none")));const Ve={};return Q&&(Ve.dir="rtl"),i.createElement("div",w({ref:ne,style:{...z,position:"relative"},className:J},Ve,F),i.createElement(r.Ay,{onResize:e=>{xe({width:e.offsetWidth,height:e.offsetHeight})}},i.createElement(T,{className:`${o}-holder`,style:Ke,ref:te,onScroll:function(e){const{scrollTop:t}=e.currentTarget;t!==re&&pe(t),P?.(e),Pe()},onMouseEnter:We},i.createElement(d,{prefixCls:o,height:_e,offsetX:ie,offsetY:$e,scrollWidth:I,onInnerResize:G,ref:oe,innerProps:D,rtl:Q,extra:qe},Ge))),U&&_e>c&&i.createElement(S,{ref:Se,prefixCls:o,scrollOffset:re,scrollRange:_e,rtl:Q,onScroll:He,onStartMove:de,onStopMove:me,spinSize:ke,containerSize:ye.height,style:O?.verticalScrollBar,thumbStyle:O?.verticalScrollBarThumb,showScrollBar:W}),U&&I>ye.width&&i.createElement(S,{ref:Ce,prefixCls:o,scrollOffset:ie,scrollRange:I,rtl:Q,onScroll:He,onStartMove:de,onStopMove:me,spinSize:we,containerSize:ye.width,horizontal:!0,style:O?.horizontalScrollBar,thumbStyle:O?.horizontalScrollBarThumb,showScrollBar:W}))}const N=i.forwardRef(z);N.displayName="List";const A=N,M=i.forwardRef((e,t)=>z({...e,virtual:!1},t));M.displayName="List";const j=A},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/getRenderPropValue.js"(e,t,o){var n=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),r=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js");o.d(t,["b",0,e=>(0,n.AZ)(e)?(0,r.Tn)(e)?e():e:null])},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/avatar/index.js"(e,t,o){o.d(t,{A:()=>z});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+resize-observer@1.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/resize-observer/es/index.js"),a=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),l=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/responsiveObserver.js"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),m=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),u=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/hooks/useBreakpoint.js");const p=n.createContext({});var g=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),f=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),h=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),_=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const b=e=>{const{antCls:t,componentCls:o,iconCls:n,avatarBg:r,avatarColor:a,containerSize:i,containerSizeLG:s,containerSizeSM:l,textFontSize:c,textFontSizeLG:d,textFontSizeSM:m,iconFontSize:u,iconFontSizeLG:p,iconFontSizeSM:h,borderRadius:_,borderRadiusLG:b,borderRadiusSM:v,lineWidth:$,lineType:y}=e,x=(e,t,r,a)=>({width:e,height:e,borderRadius:"50%",fontSize:t,[`&${o}-square`]:{borderRadius:a},[`&${o}-icon`]:{fontSize:r,[`> ${n}`]:{margin:0}}});return{[o]:{...(0,f.dF)(e),position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:a,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:r,border:`${(0,g.zA)($)} ${y} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"},...x(i,c,u,_),"&-lg":{...x(s,d,p,b)},"&-sm":{...x(l,m,h,v)},"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}}}},v=e=>{const{componentCls:t,groupBorderColor:o,groupOverlapping:n,groupSpace:r}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:o},"> *:not(:first-child)":{marginInlineStart:n}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:r}}}},$=(0,h.OF)("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:o}=e,n=(0,_.oX)(e,{avatarBg:o,avatarColor:t});return[b(n),v(n)]},e=>{const{controlHeight:t,controlHeightLG:o,controlHeightSM:n,fontSize:r,fontSizeLG:a,fontSizeXL:i,fontSizeHeading3:s,marginXS:l,marginXXS:c,colorBorderBg:d}=e;return{containerSize:t,containerSizeLG:o,containerSizeSM:n,textFontSize:r,textFontSizeLG:r,textFontSizeSM:r,iconFontSize:Math.round((a+i)/2),iconFontSizeLG:s,iconFontSizeSM:r,groupSpace:c,groupOverlapping:-l,groupBorderColor:d}}),y=n.forwardRef((e,t)=>{const{prefixCls:o,shape:g,size:f,src:h,srcSet:_,icon:b,className:v,rootClassName:y,style:x,alt:S,draggable:C,children:w,crossOrigin:k,gap:E=4,onError:z,...N}=e,[A,M]=n.useState(1),[j,R]=n.useState(!1),[I,T]=n.useState(!0),P=n.useRef(null),H=n.useRef(null),B=(0,a.K4)(t,P),{getPrefixCls:D,className:L,style:O}=(0,c.TP)("avatar"),W=n.useContext(p),F=()=>{if(!H.current||!P.current)return;const e=H.current.offsetWidth,t=P.current.offsetWidth;0!==e&&0!==t&&2*E<t&&M(t-2*E<e?(t-2*E)/e:1)};n.useEffect(()=>{R(!0)},[]),n.useEffect(()=>{T(!0),M(1)},[h,_]),n.useEffect(F,[E]);const X=()=>{const e=z?.();!1!==e&&T(!1)},q=(0,m.A)(e=>f??W?.size??e??"medium"),G=Object.keys((0,s.Qd)(q)?q:{}).some(e=>l.ye.includes(e)),K=(0,a.AZ)(b),V=(0,u.A)(G),Y=n.useMemo(()=>{if(!(0,s.Qd)(q))return{};const e=(0,l.ko)(V,q);return e?{width:e,height:e,fontSize:K||(0,a.AZ)(w)?e/2:18}:{}},[V,q,K,w]);const Z=D("avatar",o),U=(0,d.A)(Z),[Q,J]=$(Z,U),ee=(0,i.$)({[`${Z}-lg`]:"large"===q,[`${Z}-sm`]:"small"===q}),te=n.isValidElement(h),oe=(0,i.$)(Z,ee,L,`${Z}-${g||W?.shape||"circle"}`,{[`${Z}-image`]:te||h&&I,[`${Z}-icon`]:K},J,U,v,y,Q),ne=(0,s.Et)(q)?{width:q,height:q,fontSize:K?q/2:18}:{};let re;if("string"==typeof h&&I)re=n.createElement("img",{src:h,draggable:C,srcSet:_,onError:X,alt:S,crossOrigin:k});else if(te)re=h;else if(K)re=b;else if(j||1!==A){const e=`scale(${A})`;re=n.createElement(r.Ay,{onResize:F},n.createElement("span",{className:`${Z}-string`,ref:H,style:{WebkitTransform:e,transform:e}},w))}else re=n.createElement("span",{className:`${Z}-string`,style:{opacity:0},ref:H},w);return n.createElement("span",{...N,style:{...ne,...Y,...O,...x},className:oe,ref:B},re)});const x=y;var S=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/reactNode.js"),C=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/index.js");const w=e=>{const{size:t,shape:o}=n.useContext(p),r=n.useMemo(()=>({size:e.size||t,shape:e.shape||o}),[e.size,e.shape,t,o]);return n.createElement(p.Provider,{value:r},e.children)},k=n.forwardRef((e,t)=>{const{getPrefixCls:o,direction:r}=n.useContext(c.QO),{prefixCls:s,className:l,rootClassName:m,style:u,maxCount:p,maxStyle:g,size:f,shape:h,maxPopoverPlacement:_,maxPopoverTrigger:b,children:v,max:y}=e;const k=o("avatar",s),E=`${k}-group`,z=(0,d.A)(k),[N,A]=$(k,z),M=(0,i.$)(E,{[`${E}-rtl`]:"rtl"===r},A,z,l,m,N),j=(0,a.$r)(v).map((e,t)=>(0,S.Ob)(e,{key:`avatar-key-${t}`})),R=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:R.current}));const I=y?.count||p,T=j.length;let P=j;if(I&&I<T){const e=j.slice(0,I),t=j.slice(I,T),o=y?.style||g,r=y?.popover?.trigger||b||"hover",a=y?.popover?.placement||_||"top",s={content:t,...y?.popover,placement:a,trigger:r,rootClassName:(0,i.$)(`${E}-popover`,y?.popover?.rootClassName)};e.push(n.createElement(C.A,{key:"avatar-popover-key",destroyOnHidden:!0,...s},n.createElement(x,{style:o},"+"+(T-I)))),P=e}return n.createElement(w,{shape:h,size:f},n.createElement("div",{ref:R,className:M,style:u},P))}),E=x;E.Group=k;const z=E},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/badge/index.js"(e,t,o){o.d(t,{A:()=>P});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+motion@1.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/motion/es/index.js"),a=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/colors.js"),l=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/reactNode.js"),m=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js");const u=e=>{const{prefixCls:t,value:o,current:r,offset:a=0}=e;let s;return a&&(s={position:"absolute",top:`${a}00%`,left:0}),n.createElement("span",{style:s,className:(0,i.$)(`${t}-only-unit`,{current:r})},o)};function p(e,t,o){let n=e,r=0;for(;(n+10)%10!==t;)n+=o,r+=o;return r}const g=e=>{const{prefixCls:t,count:o,value:r}=e,a=Number(r),i=Math.abs(o),[s,l]=n.useState(a),[c,d]=n.useState(i),m=()=>{l(a),d(i)};let g,f;if(n.useEffect(()=>{const e=setTimeout(m,1e3);return()=>clearTimeout(e)},[a]),s===a||Number.isNaN(a)||Number.isNaN(s))g=[n.createElement(u,{...e,key:a,current:!0})],f={transition:"none"};else{g=[];const t=a+10,o=[];for(let e=a;e<=t;e+=1)o.push(e);const r=c<i?1:-1,l=o.findIndex(e=>e%10===s);g=(r<0?o.slice(0,l+1):o.slice(l)).map((t,o)=>{const a=t%10;return n.createElement(u,{...e,key:t,value:a,offset:r<0?o-l:o,current:o===l})}),f={transform:`translateY(${-p(s,a,r)}00%)`}}return n.createElement("span",{className:`${t}-only`,style:f,onTransitionEnd:m},g)},f=n.forwardRef((e,t)=>{const{prefixCls:o,count:r,className:a,motionClassName:s,style:l,title:c,show:u,component:p="sup",children:f,...h}=e,{getPrefixCls:_}=n.useContext(m.QO),b=_("scroll-number",o),v={...h,"data-show":u,style:l,className:(0,i.$)(b,a,s),title:c};let $=r;if(r&&Number(r)%1==0){const e=String(r).split("");$=n.createElement("bdi",null,e.map((t,o)=>n.createElement(g,{prefixCls:b,count:Number(r),value:t,key:e.length-o})))}return l?.borderColor&&(v.style={...l,boxShadow:`0 0 0 1px ${l.borderColor} inset`}),f?(0,d.Ob)(f,e=>({className:(0,i.$)(`${b}-custom-component`,e?.className,s)})):n.createElement(p,{...v,ref:t},$)}),h=f;var _=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),b=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),v=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genPresetColor.js"),$=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js"),y=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");const x=new _.Mo("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),S=new _.Mo("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),C=new _.Mo("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),w=new _.Mo("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),k=new _.Mo("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),E=new _.Mo("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),z=e=>{const{fontHeight:t,lineWidth:o,marginXS:n,colorBorderBg:r}=e;return(0,$.oX)(e,{badgeFontHeight:t,badgeShadowSize:o,badgeTextColor:e.colorTextLightSolid,badgeColor:e.colorError,badgeColorHover:e.colorErrorHover,badgeShadowColor:r,badgeProcessingDuration:"1.2s",badgeRibbonOffset:n,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},N=e=>{const{fontSize:t,lineHeight:o,fontSizeSM:n,lineWidth:r,paddingXS:a}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*o)-2*r,indicatorHeightSM:t,dotSize:n/2,textFontSize:n,textFontSizeSM:n,textFontWeight:"normal",statusSize:n/2,paddingInline:a}},A=(0,y.OF)("Badge",e=>(e=>{const{componentCls:t,iconCls:o,antCls:n,badgeShadowSize:r,textFontSize:a,textFontSizeSM:i,statusSize:s,dotSize:l,textFontWeight:c,indicatorHeight:d,indicatorHeightSM:m,marginXS:u,calc:p}=e,g=`${n}-scroll-number`,f=(0,v.A)(e,(e,{darkColor:o})=>({[`&${t} ${t}-color-${e}`]:{background:o,[`&:not(${t}-count)`]:{color:o},"a:hover &":{background:o}}}));return{[t]:{...(0,b.dF)(e),position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:d,height:d,color:e.badgeTextColor,fontWeight:c,fontSize:a,lineHeight:(0,_.zA)(d),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:p(d).div(2).equal(),boxShadow:`0 0 0 ${(0,_.zA)(r)} ${e.badgeShadowColor}`,transition:`background-color ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:m,height:m,fontSize:i,lineHeight:(0,_.zA)(m),borderRadius:p(m).div(2).equal()},[`${t}-multiple-words`]:{paddingInline:e.paddingInline,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:l,minWidth:l,height:l,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,_.zA)(r)} ${e.badgeShadowColor}`},[`${t}-count, ${t}-dot, ${g}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${o}-spin`]:{animationName:E,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfoTextHover,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:r,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:x,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:u,color:e.colorText,fontSize:e.fontSize}},...f,[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:S,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:C,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:w,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:k,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${g}-custom-component, ${t}-count`]:{transform:"none"},[`${g}-custom-component, ${g}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[g]:{overflow:"hidden",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack}`,[`${g}-only`]:{position:"relative",display:"inline-block",height:d,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${g}-custom-component`]:{transform:"translate(-50%, -50%)"}}}}})(z(e)),N),M=n.forwardRef((e,t)=>{const{prefixCls:o,scrollNumberPrefixCls:u,children:p,status:g,text:f,color:_,count:b=null,overflowCount:v=99,dot:$=!1,size:y="medium",title:x,offset:S,style:C,className:w,rootClassName:k,classNames:E,styles:z,showZero:N=!1,...M}=e,{getPrefixCls:j,direction:R,className:I,style:T,classNames:P,styles:H}=(0,m.TP)("badge"),B=j("badge",o),[D,L]=A(B);const O={...e,overflowCount:v,size:y,dot:$,showZero:N},W=b>v?`${v}+`:b,F="0"===W||0===W||"0"===f||0===f,X=null===b||F&&!N,q=((0,a.R)(g)||(0,a.R)(_))&&X,G=(0,a.R)(g)||!F,K=Boolean(!p&&q&&(f||G)),V=(0,n.useMemo)(()=>{if(!S)return;const e=Number.parseFloat(S[0]);return{marginTop:S[1],insetInlineEnd:-e}},[S]),Y=(0,n.useMemo)(()=>({...V,...T,...C}),[V,C,T]),Z=K?"root":"indicator",U=(0,l.XT)(T,Z),Q=(0,l.XT)(C,Z),[J,ee]=(0,l.AV)([P,E],[H,U,z,Q],{props:O}),te=$&&!F,oe=te?"":W,ne=(0,n.useMemo)(()=>(!(0,a.AZ)(oe)&&!(0,a.AZ)(f)||F&&!N)&&!te,[oe,F,N,te,f]),re=(0,n.useRef)(b);ne||(re.current=b);const ae=re.current,ie=(0,n.useRef)(oe);ne||(ie.current=oe);const se=ie.current,le=(0,n.useRef)(te);ne||(le.current=te);const ce=(0,c.Kg)(ae)||(0,c.Et)(ae)?ae:void 0,de=null===x||!1===x?void 0:x??ce,me=!ne&&(0===f?N:!!f&&!0!==f)?n.createElement("span",{style:K?{color:ee.root?.color}:void 0,className:`${B}-status-text`},f):null,ue=(0,c.Qd)(ae)?(0,d.Ob)(ae,e=>({style:{...Y,...e.style}})):void 0,pe=(0,s.nP)(_,!1),ge=(0,i.$)(J.indicator,{[`${B}-status-dot`]:q,[`${B}-status-${g}`]:!!g,[`${B}-color-${_}`]:pe}),fe={};_&&!pe&&(fe.color=_,fe.background=_);const he=(0,i.$)(B,{[`${B}-status`]:q,[`${B}-not-a-wrapper`]:!p,[`${B}-rtl`]:"rtl"===R},w,k,I,J.root,D,L);return K?n.createElement("span",{ref:t,...M,className:he,style:{...V,...ee.root}},n.createElement("span",{className:ge,style:{...ee.indicator,...fe}}),me):n.createElement("span",{ref:t,...M,className:he,style:ee.root},p,n.createElement(r.Ay,{visible:!ne,motionName:`${B}-zoom`,motionAppear:!1,motionDeadline:1e3},({className:e})=>{const t=j("scroll-number",u),o=le.current,r=(0,i.$)(J.indicator,{[`${B}-dot`]:o,[`${B}-count`]:!o,[`${B}-count-sm`]:"small"===y,[`${B}-multiple-words`]:!o&&se&&se.toString().length>1,[`${B}-status-${g}`]:!!g,[`${B}-color-${_}`]:pe}),a={...V,...ee.indicator};return _&&!pe&&(a.background=_),n.createElement(h,{prefixCls:t,show:!ne,motionClassName:e,className:r,count:se,title:de,style:a,key:"scrollNumber"},ue)}),me)});const j=M,R=(0,y.OF)(["Badge","Ribbon"],e=>(e=>{const{antCls:t,badgeFontHeight:o,marginXS:n,badgeRibbonOffset:r,calc:a}=e,i=`${t}-ribbon`,s=`${t}-ribbon-wrapper`,l=(0,v.A)(e,(e,{darkColor:t})=>({[`&${i}-color-${e}`]:{background:t,color:t}}));return{[s]:{position:"relative"},[i]:{...(0,b.dF)(e),position:"absolute",top:n,padding:`0 ${(0,_.zA)(e.paddingXS)}`,color:e.colorPrimary,lineHeight:(0,_.zA)(o),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${i}-content`]:{color:e.badgeTextColor},[`${i}-corner`]:{position:"absolute",top:"100%",width:r,height:r,color:"currentcolor",border:`${(0,_.zA)(a(r).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter},...l,[`&${i}-placement-end`]:{insetInlineEnd:a(r).mul(-1).equal(),borderEndEndRadius:0,[`${i}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${i}-placement-start`]:{insetInlineStart:a(r).mul(-1).equal(),borderEndStartRadius:0,[`${i}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}}}})(z(e)),N),I=n.forwardRef((e,t)=>{const{className:o,prefixCls:r,style:a,color:c,children:d,text:u,placement:p="end",rootClassName:g,styles:f,classNames:h}=e,{getPrefixCls:_,direction:b,className:v,style:$,classNames:y,styles:x}=(0,m.TP)("ribbon"),S=_("ribbon",r),C=`${S}-wrapper`,[w,k]=R(S,C),E={...e,placement:p},z=(0,l.XT)($,"indicator"),N=(0,l.XT)(a,"indicator"),[A,M]=(0,l.AV)([y,h],[x,z,f,N],{props:E}),j=(0,s.nP)(c,!1),I=(0,i.$)(S,`${S}-placement-${p}`,{[`${S}-rtl`]:"rtl"===b,[`${S}-color-${c}`]:j},o,v,A.indicator),T={},P={};c&&!j&&(T.background=c,P.color=c);const H=n.useRef(null);return n.useImperativeHandle(t,()=>({nativeElement:H.current})),n.createElement("div",{ref:H,className:(0,i.$)(C,g,w,k,A.root),style:M.root},d,n.createElement("div",{className:(0,i.$)(I,w),style:{...T,...M.indicator}},n.createElement("span",{className:(0,i.$)(`${S}-content`,A.content),style:M.content},u),n.createElement("div",{className:`${S}-corner`,style:P})))});const T=j;T.Ribbon=I;const P=T},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/card/index.js"(e,t,o){o.d(t,{A:()=>j});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),s=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),l=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/form/hooks/useVariants.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/index.js"),m=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tabs/index.js");const u=n.forwardRef((e,t)=>{const{prefixCls:o,className:r,hoverable:i=!0,...l}=e,{getPrefixCls:c}=n.useContext(s.QO),d=c("card",o),m=(0,a.$)(`${d}-grid`,r,{[`${d}-grid-hoverable`]:i}),u=n.useRef(null);return n.useImperativeHandle(t,()=>({nativeElement:u.current})),n.createElement("div",{ref:u,...l,className:m})});var p=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),g=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),f=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),h=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const _=e=>{const{antCls:t,headerHeight:o,headerPadding:n,tabsMarginBottom:r}=e;return{display:"flex",justifyContent:"center",flexDirection:"column",minHeight:o,marginBottom:-1,padding:`0 ${(0,p.zA)(n)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,p.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,p.zA)(e.borderRadiusLG)} ${(0,p.zA)(e.borderRadiusLG)} 0 0`,...(0,g.t6)(),"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":{display:"inline-block",flex:1,...g.L9,[`> ${t}-typography`]:{insetInlineStart:0,marginTop:0,marginBottom:0}},[`${t}-tabs-top`]:{clear:"both",marginBottom:r,color:e.colorText,fontWeight:400,fontSize:e.fontSize}}},b=e=>{const{cardPaddingBase:t,colorBorderSecondary:o,cardShadow:n,lineWidth:r}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`\n ${(0,p.zA)(r)} 0 0 0 ${o},\n 0 ${(0,p.zA)(r)} 0 0 ${o},\n ${(0,p.zA)(r)} ${(0,p.zA)(r)} 0 0 ${o},\n ${(0,p.zA)(r)} 0 0 0 ${o} inset,\n 0 ${(0,p.zA)(r)} 0 0 ${o} inset;\n `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},v=e=>{const{componentCls:t,iconCls:o,actionsLiMargin:n,cardActionsIconSize:r,colorBorderSecondary:a,actionsBg:i}=e;return{margin:0,padding:0,listStyle:"none",background:i,borderTop:`${(0,p.zA)(e.lineWidth)} ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${(0,p.zA)(e.borderRadiusLG)} ${(0,p.zA)(e.borderRadiusLG)}`,...(0,g.t6)(),"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${o}`]:{display:"inline-block",width:"100%",color:e.colorIcon,lineHeight:(0,p.zA)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${o}`]:{fontSize:r,lineHeight:(0,p.zA)(e.calc(r).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,p.zA)(e.lineWidth)} ${e.lineType} ${a}`}}}},$=e=>({margin:`${(0,p.zA)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex",...(0,g.t6)(),"&-avatar":{paddingInlineEnd:e.padding},"&-section":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,...g.L9},"&-description":{color:e.colorTextDescription}}),y=e=>{const{componentCls:t,colorFillAlter:o,headerPadding:n,bodyPadding:r}=e;return{[`${t}-head`]:{padding:`0 ${(0,p.zA)(n)}`,background:o,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,p.zA)(e.padding)} ${(0,p.zA)(r)}`}}},x=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},S=e=>{const{componentCls:t,cardShadow:o,cardHeadPadding:n,colorBorderSecondary:r,boxShadowTertiary:a,bodyPadding:i,extraColor:s,motionDurationMid:l}=e;return{[t]:{...(0,g.dF)(e),position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:a},[`${t}-head`]:_(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:400,fontSize:e.fontSize},[`${t}-body`]:{padding:i,borderRadius:`0 0 ${(0,p.zA)(e.borderRadiusLG)} ${(0,p.zA)(e.borderRadiusLG)}`,"&:first-child":{borderStartStartRadius:e.borderRadiusLG,borderStartEndRadius:e.borderRadiusLG},"&:not(:last-child)":{borderEndStartRadius:0,borderEndEndRadius:0}},[`${t}-grid`]:b(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,p.zA)(e.borderRadiusLG)} ${(0,p.zA)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:v(e),[`${t}-meta`]:$(e)},[`${t}-bordered`]:{border:`${(0,p.zA)(e.lineWidth)} ${e.lineType} ${r}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:["box-shadow","border-color"].map(e=>`${e} ${l}`).join(", "),"&:hover":{borderColor:"transparent",boxShadow:o}},[`${t}-contain-grid`]:{borderRadius:`${(0,p.zA)(e.borderRadiusLG)} ${(0,p.zA)(e.borderRadiusLG)} 0 0 `,[`&:not(:has(> ${t}-head))`]:{borderRadius:0},[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:y(e),[`${t}-loading`]:x(e),[`${t}-rtl`]:{direction:"rtl"}}},C=e=>{const{componentCls:t,bodyPaddingSM:o,headerPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${(0,p.zA)(n)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:o}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},w=(0,f.OF)("Card",e=>{const t=(0,h.oX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[S(t),C(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:e.bodyPadding??e.paddingLG,headerPadding:e.headerPadding??e.paddingLG})),k=e=>{const{actionClasses:t,actions:o=[],actionStyle:r}=e;return n.createElement("ul",{className:t,style:r},o.map((e,t)=>n.createElement("li",{style:{width:100/o.length+"%"},key:`action-${t}`},n.createElement("span",null,e))))},E=n.forwardRef((e,t)=>{const{prefixCls:o,className:p,rootClassName:g,style:f,extra:h,headStyle:_={},bodyStyle:b={},title:v,loading:$,bordered:y,variant:x,size:S,type:C,cover:E,actions:z,tabList:N,children:A,activeTabKey:M,defaultActiveTabKey:j,tabBarExtraContent:R,hoverable:I,tabProps:T={},classNames:P,styles:H,...B}=e,{getPrefixCls:D,direction:L,className:O,style:W,classNames:F,styles:X}=(0,s.TP)("card"),[q]=(0,c.A)("card",x,y);const G=(0,l.A)(S),K={...e,size:G,variant:q},V=(0,i.XT)(W),Y=(0,i.XT)(f),[Z,U]=(0,i.AV)([F,P],[X,V,H,Y],{props:K});const Q=n.useMemo(()=>(0,r.$r)(A),[A]),J=n.useMemo(()=>Q.some(e=>n.isValidElement(e)&&e.type===u),[Q]),ee=D("card",o),[te,oe]=w(ee),ne=n.createElement(d.A,{loading:!0,active:!0,paragraph:{rows:4},title:!1},A),re=void 0!==M,ae={...T,[re?"activeKey":"defaultActiveKey"]:re?M:j??T.defaultActiveKey,tabBarExtraContent:R};let ie;const se=N?n.createElement(m.A,{size:"small"!==G?"large":G,...ae,className:`${ee}-head-tabs`,onChange:t=>{e.onTabChange?.(t)},items:N.map(({tab:e,...t})=>({label:e,...t}))}):null;if((0,r.AZ)(v)||(0,r.AZ)(h)||se){const e=(0,a.$)(`${ee}-head`,Z.header),t=(0,a.$)(`${ee}-head-title`,Z.title),o=(0,a.$)(`${ee}-extra`,Z.extra),i={..._,...U.header};ie=n.createElement("div",{className:e,style:i},n.createElement("div",{className:`${ee}-head-wrapper`},(0,r.AZ)(v)&&n.createElement("div",{className:t,style:U.title},v),(0,r.AZ)(h)&&n.createElement("div",{className:o,style:U.extra},h)),se)}const le=(0,a.$)(`${ee}-cover`,Z.cover),ce=(0,r.AZ)(E)?n.createElement("div",{className:le,style:U.cover},E):null,de=(0,a.$)(`${ee}-body`,Z.body),me={...b,...U.body},ue=$||Q.length?n.createElement("div",{className:de,style:me},$?ne:A):null,pe=(0,a.$)(`${ee}-actions`,Z.actions),ge=z?.length?n.createElement(k,{actionClasses:pe,actionStyle:U.actions,actions:z}):null,fe=(0,r.cJ)(B,["onTabChange"]),he=(0,a.$)(ee,O,{[`${ee}-loading`]:$,[`${ee}-bordered`]:"borderless"!==q,[`${ee}-hoverable`]:I,[`${ee}-contain-grid`]:J,[`${ee}-contain-tabs`]:N?.length,[`${ee}-small`]:"small"===G,[`${ee}-type-${C}`]:!!C,[`${ee}-rtl`]:"rtl"===L},p,g,te,oe,Z.root),_e={...U.root};return n.createElement("div",{ref:t,...fe,className:he,style:_e},ie,ce,ue,ge)});const z=E,N=n.forwardRef((e,t)=>{const{prefixCls:o,className:l,avatar:c,title:d,description:m,style:u,classNames:p,styles:g,...f}=e,{getPrefixCls:h,className:_,style:b,classNames:v,styles:$}=(0,s.TP)("cardMeta"),y=`${h("card",o)}-meta`,x=(0,i.XT)(b),S=(0,i.XT)(u),[C,w]=(0,i.AV)([v,p],[$,x,g,S],{props:e}),k=(0,a.$)(y,l,_,C.root),E={...w.root},z=(0,a.$)(`${y}-avatar`,C.avatar),N=(0,a.$)(`${y}-title`,C.title),A=(0,a.$)(`${y}-description`,C.description),M=(0,a.$)(`${y}-section`,C.section),j=(0,r.AZ)(c)?n.createElement("div",{className:z,style:w.avatar},c):null,R=(0,r.AZ)(d)?n.createElement("div",{className:N,style:w.title},d):null,I=(0,r.AZ)(m)?n.createElement("div",{className:A,style:w.description},m):null,T=R||I?n.createElement("div",{className:M,style:w.section},R,I):null,P=n.useRef(null);return n.useImperativeHandle(t,()=>({nativeElement:P.current})),n.createElement("div",{ref:P,...f,className:k,style:E},j,T)});const A=N,M=z;M.Grid=u,M.Meta=A;const j=M},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/empty/index.js"(e,t,o){o.d(t,{A:()=>$});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),s=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),l=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/locale/useLocale.js"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/useToken.js"),d=o("./node_modules/.pnpm/@ant-design+fast-color@3.0.1/node_modules/@ant-design/fast-color/es/index.js");const m=(e,t)=>e?.startsWith("var(")||t?.startsWith("var(")?e:new d.Y(e).onBackground(t).toHexString();const u=()=>{const[,e]=(0,c.Ay)(),[t]=(0,l.A)("Empty"),{colorBgContainer:o,colorFill:r,colorFillSecondary:a,colorFillTertiary:i,colorTextQuaternary:s}=e,{panelBgColor:d,borderColor:u,detailColor:p,shadowColor:g,iconColor:f}=(0,n.useMemo)(()=>({panelBgColor:m(i,o),borderColor:m(s,o),detailColor:m(r,o),shadowColor:m(a,o),iconColor:o}),[o,r,a,i,s]);return n.createElement("svg",{width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,t?.description||"Empty"),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(24 31.7)"},n.createElement("ellipse",{fillOpacity:".8",fill:g,cx:"67.8",cy:"106.9",rx:"67.8",ry:"12.7"}),n.createElement("path",{fill:u,d:"M122 69.7 98.1 40.2a6 6 0 0 0-4.6-2.2H42.1a6 6 0 0 0-4.6 2.2l-24 29.5V85H122z"}),n.createElement("path",{fill:d,d:"M33.8 0h68a4 4 0 0 1 4 4v93.3a4 4 0 0 1-4 4h-68a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4"}),n.createElement("path",{fill:p,d:"M42.7 10h50.2a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H42.7a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2m.2 39.8h49.8a2.3 2.3 0 1 1 0 4.5H42.9a2.3 2.3 0 0 1 0-4.5m0 11.7h49.8a2.3 2.3 0 1 1 0 4.6H42.9a2.3 2.3 0 0 1 0-4.6m79 43.5a7 7 0 0 1-6.8 5.4H20.5a7 7 0 0 1-6.7-5.4l-.2-1.8V69.7h26.3c2.9 0 5.2 2.4 5.2 5.4s2.4 5.4 5.3 5.4h34.8c2.9 0 5.3-2.4 5.3-5.4s2.3-5.4 5.2-5.4H122v33.5q0 1-.2 1.8"})),n.createElement("path",{fill:p,d:"m149.1 33.3-6.8 2.6a1 1 0 0 1-1.3-1.2l2-6.2q-4.1-4.5-4.2-10.4c0-10 10.1-18.1 22.6-18.1S184 8.1 184 18.1s-10.1 18-22.6 18q-6.8 0-12.3-2.8"}),n.createElement("g",{fill:f,transform:"translate(149.7 15.4)"},n.createElement("circle",{cx:"20.7",cy:"3.2",r:"2.8"}),n.createElement("path",{d:"M5.7 5.6H0L2.9.7zM9.3.7h5v5h-5z"}))))};const p=()=>{const[,e]=(0,c.Ay)(),[t]=(0,l.A)("Empty"),{colorFill:o,colorFillTertiary:r,colorFillQuaternary:a,colorBgContainer:i}=e,{borderColor:s,shadowColor:d,contentColor:u}=(0,n.useMemo)(()=>({borderColor:m(o,i),shadowColor:m(r,i),contentColor:m(a,i)}),[o,r,a,i]);return n.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,t?.description||"Empty"),n.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},n.createElement("ellipse",{fill:d,cx:"32",cy:"33",rx:"32",ry:"7"}),n.createElement("g",{fillRule:"nonzero",stroke:s},n.createElement("path",{d:"M55 12.8 44.9 1.3Q44 0 42.9 0H21.1q-1.2 0-2 1.3L9 12.8V22h46z"}),n.createElement("path",{d:"M41.6 16c0-1.7 1-3 2.2-3H55v18.1c0 2.2-1.3 3.9-3 3.9H12c-1.7 0-3-1.7-3-3.9V13h11.2c1.2 0 2.2 1.3 2.2 3s1 2.9 2.2 2.9h14.8c1.2 0 2.2-1.4 2.2-3",fill:u}))))};var g=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),f=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const h=(0,g.OF)("Empty",e=>{const{componentCls:t,controlHeightLG:o,calc:n}=e;return(e=>{const{componentCls:t,margin:o,marginXS:n,marginXL:r,fontSize:a,lineHeight:i}=e;return{[t]:{marginInline:n,fontSize:a,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:n,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:o},"&-normal":{marginBlock:r,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:n,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}})((0,f.oX)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n(o).mul(2.5).equal(),emptyImgHeightMD:o,emptyImgHeightSM:n(o).mul(.875).equal()}))}),_=n.createElement(u,null),b=n.createElement(p,null),v=n.forwardRef((e,t)=>{const{className:o,rootClassName:c,prefixCls:d,image:m,description:u,children:p,imageStyle:g,style:f,classNames:v,styles:$,...y}=e,{getPrefixCls:x,direction:S,className:C,style:w,classNames:k,styles:E,image:z}=(0,s.TP)("empty"),N=x("empty",d),[A,M]=h(N),j=(0,i.XT)(w),R=(0,i.XT)(f),[I,T]=(0,i.AV)([k,v],[E,j,$,R],{props:e}),[P]=(0,l.A)("Empty"),H=void 0!==u?u:P?.description,B=m??z??_;let D=null;D="string"==typeof B?n.createElement("img",{draggable:!1,alt:"string"==typeof H?H:"empty",src:B}):B;const L=n.useRef(null);return n.useImperativeHandle(t,()=>({nativeElement:L.current})),n.createElement("div",{ref:L,className:(0,a.$)(A,M,N,C,{[`${N}-normal`]:B===b,[`${N}-rtl`]:"rtl"===S},o,c,I.root),style:T.root,...y},n.createElement("div",{className:(0,a.$)(`${N}-image`,I.image),style:{...g,...T.image}},D),(0,r.AZ)(H)&&n.createElement("div",{className:(0,a.$)(`${N}-description`,I.description),style:T.description},H),(0,r.AZ)(p)&&n.createElement("div",{className:(0,a.$)(`${N}-footer`,I.footer),style:T.footer},p))});v.PRESENTED_IMAGE_DEFAULT=_,v.PRESENTED_IMAGE_SIMPLE=b;const $=v},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/PurePanel.js"(e,t,o){var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+tooltip@1.5.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/tooltip/es/index.js"),a=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/getRenderPropValue.js"),l=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/style/index.js");const m=e=>{const{title:t,content:o,prefixCls:r,classNames:s,styles:l}=e;return(0,a.AZ)(t)||(0,a.AZ)(o)?n.createElement(n.Fragment,null,(0,a.AZ)(t)&&n.createElement("div",{className:(0,i.$)(`${r}-title`,s?.title),style:l?.title},t),(0,a.AZ)(o)&&n.createElement("div",{className:(0,i.$)(`${r}-content`,s?.content),style:l?.content},o)):null},u=e=>{const{hashId:t,prefixCls:o,className:a,style:c,placement:d="top",title:u,content:p,children:g,classNames:f,styles:h}=e,_=(0,s.b)(u),b=(0,s.b)(p),v={...e,placement:d},[$,y]=(0,l.AV)([f],[h],{props:v}),x=(0,i.$)(t,o,`${o}-pure`,`${o}-placement-${d}`,a);return n.createElement("div",{className:x,style:c},n.createElement("div",{className:`${o}-arrow`}),n.createElement(r.z,{...e,className:t,prefixCls:o,classNames:$,styles:y},g||n.createElement(m,{prefixCls:o,title:_,content:b,classNames:$,styles:y})))};o.d(t,["Ay",0,e=>{const{prefixCls:t,className:o,...r}=e,{getPrefixCls:a}=n.useContext(c.QO),s=a("popover",t),[l,m]=(0,d.A)(s);return n.createElement(u,{...r,prefixCls:s,hashId:l,className:(0,i.$)(o,m)})},"hJ",0,m,"xn",0,u])},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/index.js"(e,t,o){var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/getRenderPropValue.js"),s=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),l=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/motion.js"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/index.js"),m=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/hook/useMergedArrow.js"),u=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/PurePanel.js"),p=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/style/index.js");const g=n.forwardRef((e,t)=>{const{prefixCls:o,title:g,content:f,overlayClassName:h,placement:_="top",trigger:b,children:v,mouseEnterDelay:$,mouseLeaveDelay:y,onOpenChange:x,overlayStyle:S={},styles:C,classNames:w,motion:k,arrow:E,...z}=e,{getPrefixCls:N,className:A,style:M,classNames:j,styles:R,arrow:I,trigger:T,mouseEnterDelay:P,mouseLeaveDelay:H}=(0,c.TP)("popover"),B=$??P??.1,D=y??H??.1,L=N("popover",o),[O,W]=(0,p.A)(L),F=N(),X=(0,m.A)(E,I),q=b||T||"hover";const G={...e,placement:_,trigger:q,mouseEnterDelay:B,mouseLeaveDelay:D,overlayStyle:S,styles:C,classNames:w},K=(0,s.XT)(M),V=(0,s.XT)(S),[Y,Z]=(0,s.AV)([j,w],[R,K,C,V],{props:G}),U=(0,a.$)(h,O,W,A,Y.root),[Q,J]=(0,r.PW)(e.defaultOpen??!1,e.open),ee=(0,i.b)(g),te=(0,i.b)(f);return n.createElement(d.A,{unique:!1,arrow:X,placement:_,trigger:q,mouseEnterDelay:B,mouseLeaveDelay:D,...z,prefixCls:L,classNames:{root:U,container:Y.container,arrow:Y.arrow},styles:{root:Z.root,container:Z.container,arrow:Z.arrow},ref:t,open:Q,onOpenChange:e=>{J(e),x?.(e)},overlay:(0,r.AZ)(ee)||(0,r.AZ)(te)?n.createElement(u.hJ,{prefixCls:L,title:ee,content:te,classNames:Y,styles:Z}):null,motion:{motionName:(0,l.b)(F,"zoom-big","string"==typeof k?.motionName?k?.motionName:void 0)},"data-popover-inject":!0},v)});g._InternalPanelDoNotUseOrYouWillBeFired=u.Ay;o.d(t,["A",0,g])},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/style/index.js"(e,t,o){var n=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),r=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/motion/zoom.js"),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/placementArrow.js"),i=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/roundedArrow.js"),s=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/interface/presetColors.js"),l=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");const d=e=>{const{componentCls:t,popoverColor:o,titleMinWidth:r,fontWeightStrong:i,innerPadding:s,dropShadowPopover:l,colorTextHeading:d,borderRadiusLG:m,zIndexPopup:u,titleMarginBottom:p,colorBgElevated:g,popoverBg:f,titleBorderBottom:h,innerContentPadding:_,titlePadding:b,antCls:v}=e,[$,y]=(0,c.PN)(v,"tooltip");return[{[t]:{...(0,n.dF)(e),position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:400,whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",filter:l,[$("valid-offset-x")]:y("arrow-offset-x","var(--arrow-x)"),transformOrigin:[y("valid-offset-x","50%"),"var(--arrow-y, 50%)"].join(" "),[$("arrow-background-color")]:g,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-container`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:m,padding:s},[`${t}-title`]:{minWidth:r,marginBottom:p,color:d,fontWeight:i,borderBottom:h,padding:b},[`${t}-content`]:{color:o,padding:_}}},(0,a.A)(e,y("arrow-background-color"),{arrowShadow:!1}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block"}}]},m=e=>{const{componentCls:t,antCls:o}=e,[n]=(0,c.PN)(o,"tooltip");return{[t]:s.s.map(o=>{const r=e[`${o}6`];return{[`&${t}-${o}`]:{[n("arrow-background-color")]:r,[`${t}-container`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},u=(0,c.OF)("Popover",e=>{const{colorBgElevated:t,colorText:o}=e,n=(0,l.oX)(e,{popoverBg:t,popoverColor:o});return[d(n),m(n),(0,r.aB)(n,"zoom-big")]},e=>{const{lineWidth:t,controlHeight:o,fontHeight:n,padding:r,wireframe:s,zIndexPopupBase:l,borderRadiusLG:c,marginXS:d,lineType:m,colorSplit:u,paddingSM:p}=e,g=o-n,f=g/2,h=g/2-t,_=r;return{titleMinWidth:177,zIndexPopup:l+30,...(0,i.n)(e),...(0,a.K)({contentRadius:c,limitVerticalRadius:!0}),innerPadding:s?0:12,titleMarginBottom:s?0:d,titlePadding:s?`${f}px ${_}px ${h}px`:0,titleBorderBottom:s?`${t}px ${m} ${u}`:"none",innerContentPadding:s?`${p}px ${_}px`:0}},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});o.d(t,["A",0,u])},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/segmented/index.js"(e,t,o){o.d(t,{A:()=>N});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=o("./node_modules/.pnpm/@rc-component+motion@1.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/motion/es/index.js");const s=(e,t)=>{if(!e)return null;const o={left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth,top:e.offsetTop,bottom:e.parentElement.clientHeight-e.clientHeight-e.offsetTop,height:e.clientHeight};return t?{left:0,right:0,width:0,top:o.top,bottom:o.bottom,height:o.height}:{left:o.left,right:o.right,width:o.width,top:0,bottom:0,height:0}},l=e=>void 0!==e?`${e}px`:void 0;function c(e){const{prefixCls:t,containerRef:o,value:c,getValueIndex:d,motionName:m,onMotionStart:u,onMotionEnd:p,direction:g,vertical:f=!1}=e,h=n.useRef(null),[_,b]=n.useState(c),v=e=>{const n=d(e),r=o.current?.querySelectorAll(`.${t}-item`)[n];return r?.offsetParent&&r},[$,y]=n.useState(null),[x,S]=n.useState(null);(0,r.Nf)(()=>{if(_!==c){const e=v(_),t=v(c),o=s(e,f),n=s(t,f);b(c),y(o),S(n),e&&t?u():p()}},[c]);const C=n.useMemo(()=>l(f?$?.top??0:"rtl"===g?-$?.right:$?.left),[f,g,$]),w=n.useMemo(()=>l(f?x?.top??0:"rtl"===g?-x?.right:x?.left),[f,g,x]);return $&&x?n.createElement(i.Ay,{visible:!0,motionName:m,motionAppear:!0,onAppearStart:()=>f?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"},onAppearActive:()=>f?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"},onVisibleChanged:()=>{y(null),S(null),p()}},({className:e,style:o},i)=>{const s={...o,"--thumb-start-left":C,"--thumb-start-width":l($?.width),"--thumb-active-left":w,"--thumb-active-width":l(x?.width),"--thumb-start-top":C,"--thumb-start-height":l($?.height),"--thumb-active-top":w,"--thumb-active-height":l(x?.height)},c={ref:(0,r.K4)(h,i),style:s,className:(0,a.$)(`${t}-thumb`,e)};return n.createElement("div",c)}):null}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},d.apply(this,arguments)}const m=({prefixCls:e,className:t,style:o,styles:r,classNames:i,data:s,disabled:l,checked:c,label:d,title:m,value:u,name:p,onChange:g,onFocus:f,onBlur:h,onKeyDown:_,onKeyUp:b,onMouseDown:v,itemRender:$=e=>e})=>$(n.createElement("label",{className:(0,a.$)(t,{[`${e}-item-disabled`]:l}),style:o,onMouseDown:v},n.createElement("input",{name:p,className:`${e}-item-input`,type:"radio",disabled:l,checked:c,onChange:e=>{l||g(e,u)},onFocus:f,onBlur:h,onKeyDown:_,onKeyUp:b}),n.createElement("div",{className:(0,a.$)(`${e}-item-label`,i?.label),title:m,style:r?.label},d)),{item:s}),u=n.forwardRef((e,t)=>{const{prefixCls:o="rc-segmented",direction:i,vertical:s,options:l=[],disabled:u,defaultValue:p,value:g,name:f,onChange:h,className:_="",style:b,styles:v,classNames:$,motionName:y="thumb-motion",itemRender:x,...S}=e,C=n.useRef(null),w=n.useMemo(()=>(0,r.K4)(C,t),[C,t]),k=n.useMemo(()=>function(e){return e.map(e=>{if("object"==typeof e&&null!==e){const t=function(e){return void 0!==e.title?e.title:"object"!=typeof e.label?e.label?.toString():void 0}(e);return{...e,value:e.value,title:t}}return{label:e?.toString(),title:e?.toString(),value:e}})}(l),[l]),[E,z]=(0,r.PW)(p??k[0]?.value,g),[N,A]=n.useState(!1),M=(e,t)=>{z(t),h?.(t)},j=(0,r.cJ)(S,["children"]),[R,I]=n.useState(!1),[T,P]=n.useState(!1),H=()=>{P(!0)},B=()=>{P(!1)},D=()=>{I(!1)},L=e=>{"Tab"===e.key&&I(!0)},O=e=>{const t=k.filter(e=>e.value===E||!e.disabled),o=t.findIndex(e=>e.value===E),n=t.length,r=t[(o+e+n)%n];r&&r.value!==E&&(z(r.value),h?.(r.value))},W=e=>{switch(e.key){case"ArrowLeft":case"ArrowUp":O(-1);break;case"ArrowRight":case"ArrowDown":O(1)}};return n.createElement("div",d({role:"radiogroup","aria-label":"segmented control",tabIndex:u?void 0:0,"aria-orientation":s?"vertical":"horizontal",style:b},j,{className:(0,a.$)(o,{[`${o}-rtl`]:"rtl"===i,[`${o}-disabled`]:u,[`${o}-vertical`]:s},_),ref:w}),n.createElement("div",{className:`${o}-group`},n.createElement(c,{vertical:s,prefixCls:o,value:E,containerRef:C,motionName:`${o}-${y}`,direction:i,getValueIndex:e=>k.findIndex(t=>t.value===e),onMotionStart:()=>{A(!0)},onMotionEnd:()=>{A(!1)}}),k.map(e=>{const{value:t,disabled:r}=e;return n.createElement(m,d({},e,{name:f,data:e,itemRender:x,key:t,prefixCls:o,className:(0,a.$)(e.className,`${o}-item`,$?.item,{[`${o}-item-selected`]:t===E&&!N,[`${o}-item-selected-text`]:t===E,[`${o}-item-focused`]:T&&R&&t===E}),style:v?.item,classNames:$,styles:v,checked:t===E,onChange:M,onFocus:H,onBlur:B,onKeyDown:W,onKeyUp:L,onMouseDown:D,disabled:!!u||!!r}))})))});const p=u;var g=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useOrientation.js"),f=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),h=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),_=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),b=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),v=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/index.js"),$=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),y=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),x=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),S=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");function C(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}const w=e=>({background:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}),k={overflow:"hidden",...y.L9},E=(0,x.OF)("Segmented",e=>{const{lineWidth:t,calc:o}=e;return(e=>{const{componentCls:t,motionDurationSlow:o,motionEaseInOut:n,motionDurationMid:r}=e,a=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),i=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),s=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:{...(0,y.dF)(e),display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${r}`,...(0,y.K8)(e),[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-vertical`]:{[`${t}-group`]:{flexDirection:"column"},[`${t}-thumb`]:{width:"100%",height:0,padding:`0 ${(0,$.zA)(e.paddingXXS)}`}},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${r}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":{...w(e),color:e.itemSelectedColor},"&-selected-text":{color:e.itemSelectedColor,transition:`color ${r}`},"&-focused":(0,y.jk)(e),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",opacity:0,pointerEvents:"none",transition:["opacity","background-color"].map(e=>`${e} ${r}`).join(", ")},[`&:not(${t}-item-selected):not(${t}-item-selected-text):not(${t}-item-disabled)`]:{"&:hover, &:active":{color:e.itemHoverColor},"&:hover::after":{opacity:1,backgroundColor:e.itemHoverBg},"&:active::after":{opacity:1,backgroundColor:e.itemActiveBg}},"&-label":{minHeight:a,lineHeight:(0,$.zA)(a),padding:`0 ${(0,$.zA)(e.segmentedPaddingHorizontal)}`,...k},"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-icon > svg":{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:{...w(e),position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,$.zA)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}},[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:i,lineHeight:(0,$.zA)(i),padding:`0 ${(0,$.zA)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:s,lineHeight:(0,$.zA)(s),padding:`0 ${(0,$.zA)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}},...C(`&-disabled ${t}-item`,e),...C(`${t}-item-disabled`,e),[`${t}-thumb-motion-appear-active`]:{willChange:"transform, width",transition:["transform","width"].map(e=>`${e} ${o} ${n}`).join(", ")},[`&${t}-shape-round`]:{borderRadius:9999,[`${t}-item, ${t}-thumb`]:{borderRadius:9999}}}}})((0,S.oX)(e,{segmentedPaddingHorizontal:o(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:o(e.controlPaddingHorizontalSM).sub(t).equal()}))},e=>{const{colorTextLabel:t,colorText:o,colorFillSecondary:n,colorBgElevated:r,colorFill:a,lineWidthBold:i,colorBgLayout:s}=e;return{trackPadding:i,trackBg:s,itemColor:t,itemHoverColor:o,itemHoverBg:n,itemSelectedBg:r,itemActiveBg:a,itemSelectedColor:o}});const z=n.forwardRef((e,t)=>{const o=(0,r.Bi)(),{prefixCls:i,className:s,rootClassName:l,block:c,options:d=[],size:m,style:u,vertical:$,orientation:y,shape:x="default",name:S=o,styles:C,classNames:w,...k}=e,{getPrefixCls:z,direction:N,className:A,style:M,classNames:j,styles:R}=(0,_.TP)("segmented"),I={...e,options:d,size:m,shape:x},T=(0,f.XT)(M),P=(0,f.XT)(u),[H,B]=(0,f.AV)([j,w],[R,T,C,P],{props:I}),D=z("segmented",i),[L,O]=E(D),W=(0,b.A)(m),F=n.useMemo(()=>d.map(e=>{if(function(e){return(0,h.Qd)(e)&&!!e?.icon}(e)){const{icon:t,label:o,...i}=e;return{...i,label:n.createElement(n.Fragment,null,n.createElement("span",{className:(0,a.$)(`${D}-item-icon`,H.icon),style:B.icon},t),(0,r.AZ)(o)&&n.createElement("span",null,o))}}return e}),[d,D,H.icon,B.icon]),[,X]=(0,g.M)(y,$),q=(0,a.$)(s,l,A,H.root,{[`${D}-block`]:c,[`${D}-sm`]:"small"===W,[`${D}-lg`]:"large"===W,[`${D}-vertical`]:X,[`${D}-shape-${x}`]:"round"===x},L,O);return n.createElement(p,{...k,name:S,className:q,style:B.root,classNames:H,styles:B,itemRender:(e,{item:t})=>{if(!t.tooltip)return e;const o=(0,h.Qd)(t.tooltip)?t.tooltip:{title:t.tooltip};return n.createElement(v.A,{...o},e)},options:F,ref:t,prefixCls:D,direction:N,vertical:X})});const N=z},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/statistic/index.js"(e,t,o){o.d(t,{A:()=>S});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/reactNode.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),l=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/index.js");const m=e=>{const{value:t,formatter:o,precision:r,decimalSeparator:a,groupSeparator:i="",prefixCls:s,className:c,style:d}=e;let m;if((0,l.Tn)(o))m=o(t);else{const e=String(t),o=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(o&&"-"!==e){const e=o[1];let t=o[2]||"0",c=o[4]||"";t=t.replace(/\B(?=(\d{3})+(?!\d))/g,i),(0,l.Et)(r)&&(c=c.padEnd(r,"0").slice(0,r>0?r:0)),c&&(c=`${a}${c}`),m=[n.createElement("span",{key:"int",className:`${s}-content-value-int`},e,t),c&&n.createElement("span",{key:"decimal",className:`${s}-content-value-decimal`},c)]}else m=e}return n.createElement("span",{className:c,style:d},m)};var u=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),p=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),g=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const f=(0,p.OF)("Statistic",e=>(e=>{const{componentCls:t,marginXXS:o,padding:n,colorTextDescription:r,titleFontSize:a,colorTextHeading:i,contentFontSize:s,fontFamily:l}=e;return{[t]:{...(0,u.dF)(e),[`${t}-header`]:{paddingBottom:o,[`${t}-title`]:{color:r,fontSize:a}},[`${t}-skeleton`]:{paddingTop:n},[`${t}-content`]:{color:i,fontSize:s,fontFamily:l,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:o},[`${t}-content-suffix`]:{marginInlineStart:o}}}}})((0,g.oX)(e,{})),e=>{const{fontSizeHeading3:t,fontSize:o}=e;return{titleFontSize:o,contentFontSize:t}}),h=n.forwardRef((e,t)=>{const{prefixCls:o,className:a,rootClassName:u,style:p,valueStyle:g,value:h=0,title:_,valueRender:b,prefix:v,suffix:$,loading:y=!1,formatter:x,precision:S,decimalSeparator:C=".",groupSeparator:w=",",onMouseEnter:k,onMouseLeave:E,styles:z,classNames:N,...A}=e,{getPrefixCls:M,direction:j,className:R,style:I,classNames:T,styles:P}=(0,c.TP)("statistic"),H=M("statistic",o),[B,D]=f(H),L={...e,decimalSeparator:C,groupSeparator:w,loading:y,value:h},O=(0,s.XT)(I),W=(0,s.XT)(p),[F,X]=(0,s.AV)([T,N],[P,O,z,W],{props:L});const q=(0,i.$)(H,{[`${H}-rtl`]:"rtl"===j},R,a,u,F.root,B,D),G=(0,i.$)(`${H}-header`,F.header),K=(0,i.$)(`${H}-title`,F.title),V=(0,i.$)(`${H}-content`,F.content),Y=(0,i.$)(`${H}-content-value`,F.value),Z=(0,i.$)(`${H}-content-prefix`,F.prefix),U=(0,i.$)(`${H}-content-suffix`,F.suffix),Q=n.createElement(m,{decimalSeparator:C,groupSeparator:w,prefixCls:H,formatter:x,precision:S,value:h,className:Y,style:X.value}),J=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:J.current}));const ee=(0,r.KE)(A,{aria:!0,data:!0});return n.createElement("div",{...ee,className:q,style:X.root,ref:J,onMouseEnter:k,onMouseLeave:E},(0,r.AZ)(_)&&n.createElement("div",{className:G,style:X.header},n.createElement("div",{className:K,style:X.title},_)),n.createElement(d.A,{paragraph:!1,loading:y,className:`${H}-skeleton`,active:!0},n.createElement("div",{className:V,style:{...g,...X.content}},(0,r.AZ)(v)&&n.createElement("span",{className:Z,style:X.prefix},v),(0,l.Tn)(b)?b(Q):Q,(0,r.AZ)($)&&n.createElement("span",{className:U,style:X.suffix},$))))});const _=h,b=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function v(e,t,o){const{format:n=""}=t,r=new Date(e).getTime(),a=Date.now();return function(e,t){let o=e;const n=/\[[^\]]*]/g,r=(t.match(n)||[]).map(e=>e.slice(1,-1)),a=t.replace(n,"[]"),i=b.reduce((e,[t,n])=>{if(e.includes(t)){const r=Math.floor(o/n);return o-=r*n,e.replace(new RegExp(`${t}+`,"g"),e=>{const t=e.length;return r.toString().padStart(t,"0")})}return e},a);let s=0;return i.replace(n,()=>{const e=r[s];return s+=1,e})}(o?Math.max(r-a,0):Math.max(a-r,0),n)}const $=1e3/60;const y=e=>{const{value:t,format:o="HH:mm:ss",onChange:i,onFinish:s,type:l,...c}=e,d="countdown"===l,[m,u]=n.useState(null),p=(0,r._q)(()=>{const e=Date.now(),o=function(e){return new Date(e).getTime()}(t);u({});const n=d?o-e:e-o;return i?.(n),!(d&&o<e)||(s?.(),!1)});n.useEffect(()=>{let e;const t=()=>{p()||window.clearInterval(e)};return e=window.setInterval(t,$),()=>{window.clearInterval(e)}},[t,d]),n.useEffect(()=>{u({})},[]);return n.createElement(_,{...c,value:t,valueRender:e=>(0,a.Ob)(e,{title:void 0}),formatter:(e,t)=>m?v(e,{...t,format:o},d):"-"})},x=n.memo(e=>n.createElement(y,{...e,type:"countdown"}));_.Timer=y,_.Countdown=x;const S=_},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/steps/context.js"(e,t,o){var n=o("react");o.d(t,["j",0,n.createContext(null)])},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/steps/index.js"(e,t,o){o.d(t,{A:()=>G});var n=o("react"),r=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CheckOutlined.js"),a=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CloseOutlined.js"),i=o("./node_modules/.pnpm/@rc-component+steps@1.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/steps/es/index.js"),s=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),l=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/wave/index.js"),m=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/wave/interface.js"),u=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),p=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),g=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/hooks/useBreakpoint.js"),f=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),h=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/index.js"),_=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/steps/context.js");const b=e=>{const{prefixCls:t}=e;return n.createElement("svg",{"aria-hidden":!0,className:`${t}-panel-arrow`,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},n.createElement("path",{d:"M 0 0 L 100 50 L 0 100"}))},v=e=>{const{prefixCls:t,rootPrefixCls:o,children:r,percent:a}=e,i=`${t}-item-progress-icon`,l=`${i}-circle`,[,c]=(0,f.PN)(o,"cmp-steps"),d=`calc(${c("progress-radius")} * 2 * ${Math.PI*a/100}) 9999`;return n.createElement(n.Fragment,null,n.createElement("svg",{className:`${i}-svg`,viewBox:"0 0 100 100",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":a},n.createElement("circle",{className:(0,s.$)(l,`${l}-rail`)}),n.createElement("circle",{className:(0,s.$)(l,`${l}-ptg`),strokeDasharray:d,transform:"rotate(-90 50 50)"})),r)};var $=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),y=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const x=e=>{const{componentCls:t,antCls:o}=e,n=`${t}-item`,[r,a]=(0,f.PN)(o,"cmp-steps");return{[`${t}-horizontal`]:{[`> ${n}`]:{flex:"1 1 auto",minWidth:e.iconSize,[`${n}-rail`]:{[r("horizontal-rail-margin")]:`calc(${a("icon-size-max")} / 2 - ${a("rail-size")} / 2 + ${a("item-wrapper-padding-top")})`,position:"static",marginTop:a("horizontal-rail-margin"),width:"auto",borderBlockStartWidth:a("rail-size"),flex:1,minWidth:0,alignSelf:"flex-start"}}}}},S=e=>{const{componentCls:t,customIconFontSize:o,motionDurationSlow:n,iconSize:r,lineWidth:a,lineType:i,antCls:s}=e,l=`${t}-item`,[c,d]=(0,f.PN)(s,"cmp-steps");return{[t]:{[c("icon-size")]:r,[c("icon-border-width")]:a,[`${l}-icon`]:{width:d("icon-size"),height:d("icon-size"),margin:0,flex:"none",display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:d("icon-size"),textAlign:"center",borderRadius:d("icon-size"),border:`${d("icon-border-width")} ${i} transparent`,transition:["background-color","border","color","inset","transform"].map(e=>`${e} ${n}`).join(", "),zIndex:1},[`${l}-custom ${l}-icon`]:{background:"none",border:0,fontSize:o}}}},C=e=>{const{componentCls:t,inlineDotSize:o,paddingXS:n,lineWidth:r,antCls:a,calc:i}=e,s=i(n).add(r).equal(),l=`${t}-item`,[c,d]=(0,f.PN)(a,"cmp-steps");return{[`${t}-inline`]:{[c("items-offset")]:"0",[c("item-wrapper-padding-top")]:s,display:"inline-flex","&:before":{content:'""',flex:d("items-offset")},[l]:{[c("title-vertical-row-gap")]:n,[c("icon-size")]:o,[c("icon-size-active")]:o,[c("title-font-size")]:e.fontSizeSM,[c("title-line-height")]:e.lineHeightSM,[c("item-title-color")]:e.colorTextSecondary,[c("subtitle-font-size")]:e.fontSizeSM,[c("subtitle-line-height")]:e.lineHeightSM,[c("item-subtitle-color")]:e.colorTextQuaternary,[c("rail-size")]:e.lineWidth,[c("title-horizontal-rail-gap")]:"0px",flex:1,"&-wrapper":{paddingInline:e.paddingXXS,marginInline:e.calc(e.marginXXS).div(2).equal(),borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover}},"&-icon":{[`${l}-icon-dot`]:{"&:after":{display:"none"}}},"&-title":{fontWeight:400,whiteSpace:"nowrap"},"&-content":{display:"none"}}}}};const w=(e,t,o)=>{const{calc:n,componentCls:r,descriptionMaxWidth:a,antCls:i}=e,s=`${r}-item`,[,l]=(0,f.PN)(i,"cmp-steps");return{[`@container style(${c=a,(c||"--ant-not-exist").replace(/var\((.*)\)/,"$1")})`]:[{[`${s}-icon`]:{marginInlineStart:n(a).sub(l("icon-size")).div(2).equal()},[`${s}-rail`]:{width:"auto",insetInlineStart:n(a).add(l("icon-size")).div(2).add(t).equal(),insetInlineEnd:n(a).sub(l("icon-size")).div(2).sub(t).mul(-1).equal()}},o]};var c},k=e=>{const{componentCls:t,descriptionMaxWidth:o,marginXS:n,fontHeightLG:r,margin:a,paddingSM:i,marginXXS:s,antCls:l,calc:c}=e,d=`${t}-item`,[m,u]=(0,f.PN)(l,"cmp-steps");return{[t]:{[m("icon-size-max")]:`max(${u("icon-size")}, ${u("icon-size-active",u("icon-size"))})`,[`${d}-icon`]:{marginBlockStart:`calc((${u("heading-height")} - ${u("icon-size")}) / 2)`}},[`${t}-title-horizontal`]:{[m("title-horizontal-item-margin")]:a,[m("title-horizontal-rail-margin")]:a,[m("title-horizontal-title-height")]:r,[m("heading-height")]:`max(${u("icon-size")}, ${u("title-horizontal-title-height")})`,[`&${t}-horizontal, &${t}-horizontal-alternate`]:{[`${d}:not(:first-child)`]:{marginInlineStart:u("title-horizontal-item-margin")},[`${d}:last-child`]:{flex:"0 1 auto"},[`${d}-wrapper`]:{columnGap:e.marginXS}},[`&${t}-vertical`]:{[`${d}-wrapper`]:{columnGap:e.margin},[`${d}-empty-header`]:{[`${d}-header`]:{minHeight:"auto"},[`${d}-content`]:{marginTop:c(u("heading-height")).sub(e.fontHeight).div(2).equal()}}},[`${d}-section`]:{flex:1,minWidth:0},[`${d}-header`]:{minHeight:u("heading-height")},[`${d}-title`]:{flex:"0 1 auto"},[`${d}-content`]:{maxWidth:o},[`${d}-subtitle`]:{flex:"0 9999 auto"},[`&${t}-horizontal ${d}-rail`]:{[m("item-wrapper-padding-top")]:"0px",flex:"1 1 0%",marginInlineStart:u("title-horizontal-rail-margin")}},[`${t}-title-vertical`]:{[m("title-vertical-row-gap")]:i,[m("title-horizontal-rail-gap")]:s,[m("heading-height")]:u("icon-size-max"),[`> ${d}`]:{flex:"1 1 0%",[`${d}-wrapper`]:{flexDirection:"column",rowGap:u("title-vertical-row-gap"),alignItems:"center"},[`${d}-section`]:{alignSelf:"stretch"},[`${d}-header`]:{flexDirection:"column",alignItems:"center"},[`${d}-title, ${d}-subtitle, ${d}-content`]:{textAlign:"center",maxWidth:"100%"},[`${d}-subtitle`]:{margin:0},[`${d}-rail`]:{position:"absolute",top:0,width:`calc(100% - ${u("icon-size")} - ${u("title-horizontal-rail-gap")} * 2)`,insetInlineStart:`calc(50% + ${u("icon-size")} / 2 + ${u("title-horizontal-rail-gap")})`}},...w(e,n,{[`${d}:last-child`]:{flex:"none"},[`${d}-icon`]:{alignSelf:"flex-start"},[`${d}-section`]:{width:o}})}}},E=e=>{const{componentCls:t}=e,o=`${t}-item`;return{[`${t}-max-count`]:{[`${o}-ellipsis`]:{[`${o}-title, ${o}-subtitle, ${o}-content`]:{color:e.colorTextDescription}}}}};var z=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js");const N=e=>{const{componentCls:t,fontSizeIcon:o,navContentMaxWidth:n,navArrowColor:r,colorPrimary:a,motionDurationSlow:i,antCls:s,calc:l}=e,c=`${t}-item`,d=a,[m,u]=(0,f.PN)(s,"cmp-steps");return{[`${t}${t}-navigation`]:{[c.repeat(4)]:{display:"flex",justifyContent:"center",position:"relative",flex:1,marginInlineStart:0,[`${c}-wrapper`]:{paddingBlock:e.paddingSM},[`${c}-section`]:{maxWidth:n},[`${c}-rail`]:{display:"none"},"&:before":{position:"absolute",display:"block",backgroundColor:d,transition:`all ${i}`,transitionTimingFunction:"ease-out",content:'""'},"&:not(:last-child):after":{position:"absolute",display:"block",borderTop:`${(0,z.zA)(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,z.zA)(e.lineWidth)} ${e.lineType} ${r}`,content:'""'},[`&${c}-active`]:{[m("item-content-active-color")]:u("item-content-color"),[m("item-icon-active-bg-color")]:u("item-icon-bg-color"),[m("item-icon-active-border-color")]:u("item-icon-border-color"),[m("item-icon-active-text-color")]:u("item-icon-text-color")}},[`&${t}-horizontal`]:{[c]:{"&:before":{bottom:0,insetInlineStart:"50%",width:0,height:e.lineWidthBold},[`&${c}-active:before`]:{insetInlineStart:0,width:"100%"},"&:not(:last-child):after":{top:"50%",insetInlineStart:l(o).div(2).mul(-1).add("100%").equal(),width:o,height:o,transform:"translateY(-50%) rotate(45deg)"}}},[`&${t}-vertical`]:{[c.repeat(4)]:{[`${c}-content`]:{padding:0},"&:before":{insetInlineEnd:0,top:"50%",width:e.lineWidthBold,height:0},[`&${c}-active::before`]:{top:0,height:"100%"},"&:not(:last-child):after":{left:{_skip_check_:!0,value:"50%"},top:"100%",width:l(o).div(3).mul(2).equal(),height:l(o).div(3).mul(2).equal(),transform:"translateY(-50%) translateX(-50%) rotate(135deg)"}}}}}},A=e=>{const{componentCls:t,lineWidthBold:o,borderRadius:n,borderRadiusSM:r,motionDurationMid:a,paddingXS:i,lineType:s,paddingSM:l,antCls:c,calc:d}=e,m=`${t}-item`,[u,p]=(0,f.PN)(c,"cmp-steps"),g=`${(0,z.zA)(o)} ${s} ${p("panel-border-color")}`;return{[`${t}${t}-panel`]:[{[`${m}-rail`]:{display:"none"},[`&${t}-horizontal`]:{alignItems:"stretch",[m]:{flex:1,margin:0}}},{"&":{[u("panel-padding")]:l,[u("item-border-radius")]:n,[m]:{[u("panel-bg-color")]:p("item-icon-bg-color"),[u("panel-border-color")]:p("item-icon-border-color"),[u("panel-active-bg-color")]:p("item-icon-active-bg-color"),[u("panel-active-border-color")]:p("item-icon-active-border-color"),[u("panel-title-height")]:`calc(${p("title-font-size")} * ${p("title-line-height")})`,[u("item-base-height")]:d(p("panel-padding")).mul(2).add(p("icon-size")).add(p("panel-title-height")).equal(),[u("item-base-width")]:`calc(${p("item-base-height")} * 0.7071)`,transition:`background-color ${a}`}},[`${m}-icon`]:{display:"none"},[`${m}-header`]:{minHeight:"auto"},[`${t}-panel-arrow`]:{position:"absolute",top:d(o).mul(-1).equal(),insetInlineStart:"100%",zIndex:1,height:d(o).mul(2).add("100%").equal(),width:p("item-base-width"),overflow:"visible",strokeLinecap:"round",path:{fill:p("panel-bg-color"),stroke:p("panel-border-color"),strokeWidth:o,vectorEffect:"non-scaling-stroke",transition:`fill ${a}`}},[`${m}:last-child ${t}-panel-arrow`]:{display:"none"},[m]:{padding:p("panel-padding"),background:p("panel-bg-color"),position:"relative",borderBlock:g,"&:not(:first-child)":{paddingInlineStart:`calc(${p("panel-padding")} + ${p("item-base-width")})`},"&:first-child":{borderInlineStart:g,borderStartStartRadius:p("item-border-radius"),borderEndStartRadius:p("item-border-radius")},"&:last-child":{borderInlineEnd:g,borderStartEndRadius:p("item-border-radius"),borderEndEndRadius:p("item-border-radius")},"&-active":{background:p("panel-active-bg-color"),borderColor:p("panel-active-border-color"),[`${t}-panel-arrow`]:{path:{fill:p("panel-active-bg-color"),stroke:p("panel-active-border-color")}},[`${m}-title, ${m}-subtitle, ${m}-content`]:{color:p("item-icon-active-text-color")}}}},{[`&${t}-small`]:{[u("panel-padding")]:i,[u("item-border-radius")]:r}},{[`&${t}-filled`]:{[m]:{"&:not(:first-child)":{clipPath:`polygon(${[`${(0,z.zA)(o)} 0`,`calc(100% + ${p("item-base-width")}) 0`,`calc(100% + ${p("item-base-width")}) 100%`,`${(0,z.zA)(o)} 100%`,`calc(${p("item-base-width")} + ${(0,z.zA)(o)}) 50%`].join(",")})`}}}},{[`&${t}-outlined`]:{[`${t}-panel-arrow`]:{top:d(o).div(2).mul(-1).equal(),height:d(o).add("100%").equal()}}}]}},M=e=>{const{calc:t,antCls:o,componentCls:n,lineWidthBold:r,motionDurationSlow:a}=e,i=`${n}-item`,[s,l]=(0,f.PN)(o,"cmp-steps"),c=t(r).add(r).equal();return{[`${n}${n}-with-progress`]:{[s("item-wrapper-padding-top")]:c,[`${i}${i}-process`]:{[`${i}-icon`]:{position:"relative"}},[`${i}-progress-icon`]:{"&-svg":{[s("svg-size")]:t(c).mul(2).add(l("icon-size")).equal(),[s("icon-size-ptg-unitless")]:`calc(100 / tan(atan2(${l("svg-size")}, 1px)))`,fontSize:l("svg-size"),lineHeight:l("icon-size-ptg-unitless"),position:"absolute",inset:t(c).mul(-1).equal(),width:"auto",height:"auto"},"&-circle":{lineHeight:l("icon-size-ptg-unitless"),strokeWidth:t(l("icon-size-ptg-unitless")).mul(r).equal(),[s("progress-radius")]:t(l("svg-size")).sub(r).mul(l("icon-size-ptg-unitless")).div(2).equal(),r:l("progress-radius"),fill:"none",cx:50,cy:50,transition:`all ${a} ease-in-out`,"&-rail":{stroke:e.colorSplit},"&-ptg":{stroke:e.colorPrimary}}}}}},j=e=>{const{componentCls:t,iconSize:o,dotSize:n,dotCurrentSize:r,marginXXS:a,lineWidthBold:i,fontSizeSM:s,antCls:l}=e,c=`${t}-item`,[d,m]=(0,f.PN)(l,"cmp-steps");return{[`${t}${t}-dot`]:{[d("icon-size-active")]:r,[d("icon-size")]:n,[d("dot-icon-size")]:n,[d("dot-icon-border-width")]:i,[d("rail-size")]:i,[d("icon-border-width")]:i,[`${c}-custom ${c}-icon`]:{fontSize:s},[`${c}-icon`]:{position:"relative","&:after":{content:'""',width:o,height:o,display:"block",position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"}},[`${c}-active ${c}-icon`]:{[d("icon-size")]:m("icon-size-active")},[`&${t}-horizontal`]:{[`&, &${t}-small`]:w(e,a)}}}},R=e=>{const{componentCls:t,lineWidthBold:o,antCls:n}=e,r=`${t}-item`,[,a]=(0,f.PN)(n,"cmp-steps");return{[`${t}${t}-rtl`]:{direction:"rtl",[`&${t}-navigation${t}-horizontal`]:{[`${r}:after`]:{transform:"translateY(-50%) rotate(-45deg)"}},[`&${t}-panel`]:{[`${t}-panel-arrow`]:{transform:"scaleX(-1)"},[`&${t}-filled`]:{[r]:{"&:not(:first-child)":{clipPath:`polygon(${[`calc(0px - ${a("item-base-width")}) 0px`,`calc(100% - ${(0,z.zA)(o)}) 0px`,`calc(100% - ${a("item-base-width")} - ${(0,z.zA)(o)}) 50%`,`calc(100% - ${(0,z.zA)(o)}) 100%`,`calc(0px - ${a("item-base-width")}) 100%`].join(",")})`}}}}}}},I=e=>{const{componentCls:t,iconSizeSM:o,fontSize:n,lineHeight:r,marginXS:a,fontHeight:i,marginSM:s,paddingXS:l,antCls:c}=e,[d]=(0,f.PN)(c,"cmp-steps");return{[`${t}${t}-small`]:{[d("icon-size")]:o,[d("title-horizontal-item-margin")]:s,[d("title-vertical-row-gap")]:l,[d("title-font-size")]:n,[d("title-line-height")]:r,[d("title-horizontal-rail-margin")]:a,[d("title-horizontal-title-height")]:i,[`&${t}-horizontal${t}-title-vertical`]:w(e,a)}}},T="wait",P="process",H="finish",B="error",D=e=>{const{componentCls:t,colorTextDisabled:o,colorTextLightSolid:n,colorPrimary:r,colorTextLabel:a,colorError:i,colorErrorHover:s,colorErrorBgFilledHover:l,colorFillTertiary:c,colorErrorBg:d,colorPrimaryBgHover:m,colorPrimaryBg:u,colorText:p,colorTextDescription:g,colorBgContainer:h,colorPrimaryHover:_,lineType:b,antCls:v}=e,$=`${t}-item`,[y,x]=(0,f.PN)(v,"cmp-steps");return{[t]:[{[$]:{[y("item-solid-line-color")]:"#000",[y("item-title-color")]:"#000",[y("item-content-color")]:"#000",[y("item-subtitle-color")]:x("item-content-color"),[y("item-icon-custom-color")]:"#000",[y("item-icon-bg-color")]:"#000",[y("item-icon-border-color")]:"#000",[y("item-icon-text-color")]:"#fff",[y("item-icon-dot-color")]:"#000",[y("item-icon-dot-bg-color")]:x("item-icon-dot-color"),[y("item-icon-dot-border-color")]:x("item-icon-dot-color"),[y("item-text-hover-color")]:"#000",[y("item-icon-bg-hover-color")]:x("item-icon-bg-color"),[y("item-icon-border-hover-color")]:x("item-icon-border-color"),[y("item-icon-text-hover-color")]:x("item-icon-text-color"),[y("item-content-active-color")]:x("item-content-color"),[y("item-icon-active-bg-color")]:x("item-icon-bg-color"),[y("item-icon-active-border-color")]:x("item-icon-border-color"),[y("item-icon-active-text-color")]:x("item-icon-text-color"),[y("item-process-rail-line-style")]:b},[`${$}-rail`]:{borderColor:x("item-solid-line-color")},[`${$}-custom ${$}-icon`]:{color:x("item-icon-custom-color")},[`${$}-title`]:{color:x("item-title-color")},[`${$}-subtitle`]:{color:x("item-subtitle-color")},[`${$}-content`]:{color:x("item-content-color")},[`${$}-active ${$}-icon`]:{},[`${$}-active ${$}-content`]:{color:x("item-content-active-color")},[`${$}[role='button']:not(${$}-active):hover`]:{[`${$}-title, ${$}-content`]:{color:x("item-text-hover-color")}},[`&:not(${t}-dot)`]:{[`${$}:not(${$}-custom)`]:{[`${$}-icon`]:{background:x("item-icon-bg-color"),borderColor:x("item-icon-border-color"),color:x("item-icon-text-color")},[`&[role='button']:not(${$}-active):hover`]:{[`${$}-icon`]:{background:x("item-icon-bg-hover-color"),borderColor:x("item-icon-border-hover-color"),color:x("item-icon-text-hover-color")}},[`&${$}-active`]:{[`${$}-icon`]:{background:x("item-icon-active-bg-color"),borderColor:x("item-icon-active-border-color"),color:x("item-icon-active-text-color")}}}},[`&${t}-dot`]:{[`${$}-icon`]:{background:x("item-icon-dot-bg-color"),borderColor:x("item-icon-dot-border-color"),color:x("item-icon-dot-color"),[`&${$}-icon-dot-custom`]:{background:"transparent",border:"none"}}}},{[`${$}-${T}`]:{[y("item-icon-custom-color")]:o,[y("item-title-color")]:g,[y("item-content-color")]:g,[y("item-content-active-color")]:p,[y("item-text-hover-color")]:_},[`${$}-rail-${T}`]:{[y("item-solid-line-color")]:o},[`${$}-${P}`]:{[y("item-icon-custom-color")]:r,[y("item-title-color")]:p,[y("item-content-color")]:g,[y("item-content-active-color")]:p,[y("item-text-hover-color")]:_},[`${$}-rail-${P}`]:{[y("item-solid-line-color")]:r,[y("rail-line-style")]:x("item-process-rail-line-style")},[`${$}-${H}`]:{[y("item-icon-custom-color")]:r,[y("item-title-color")]:p,[y("item-content-color")]:g,[y("item-content-active-color")]:p,[y("item-text-hover-color")]:_},[`${$}-rail-${H}`]:{[y("item-solid-line-color")]:r},[`${$}-${B}`]:{[y("item-icon-custom-color")]:i,[y("item-title-color")]:i,[y("item-content-color")]:i,[y("item-content-active-color")]:i,[y("item-text-hover-color")]:s},[`${$}-rail-${B}`]:{[y("item-solid-line-color")]:i}},{[`&${t}-filled`]:{[$]:{[y("item-icon-dot-border-color")]:"transparent"},[`${$}-${T}`]:{[y("item-icon-bg-color")]:c,[y("item-icon-border-color")]:"transparent",[y("item-icon-text-color")]:a,[y("item-icon-dot-bg-color")]:o,[y("item-icon-bg-hover-color")]:m,[y("item-icon-border-hover-color")]:"transparent",[y("item-icon-text-hover-color")]:r,[y("item-icon-active-bg-color")]:r,[y("item-icon-active-border-color")]:"transparent",[y("item-icon-active-text-color")]:n},[`${$}-${P}, ${$}-${H}`]:{[y("item-icon-bg-color")]:u,[y("item-icon-border-color")]:"transparent",[y("item-icon-text-color")]:r,[y("item-icon-dot-bg-color")]:r,[y("item-icon-bg-hover-color")]:m,[y("item-icon-border-hover-color")]:"transparent",[y("item-icon-text-hover-color")]:r,[y("item-icon-active-bg-color")]:r,[y("item-icon-active-border-color")]:"transparent",[y("item-icon-active-text-color")]:n},[`${$}-${B}`]:{[y("item-icon-bg-color")]:d,[y("item-icon-border-color")]:"transparent",[y("item-icon-text-color")]:i,[y("item-icon-dot-bg-color")]:i,[y("item-icon-bg-hover-color")]:l,[y("item-icon-border-hover-color")]:"transparent",[y("item-icon-text-hover-color")]:i,[y("item-icon-active-bg-color")]:i,[y("item-icon-active-border-color")]:"transparent",[y("item-icon-active-text-color")]:n}}},{[`&${t}-outlined`]:{[$]:{[y("item-icon-dot-bg-color")]:"transparent"},[`${$}-${T}`]:{[y("item-icon-bg-color")]:h,[y("item-icon-border-color")]:o,[y("item-icon-text-color")]:o,[y("item-icon-dot-color")]:o,[y("item-icon-bg-hover-color")]:"transparent",[y("item-icon-border-hover-color")]:_,[y("item-icon-text-hover-color")]:_,[y("item-icon-active-bg-color")]:c},[`${$}-${P}, ${$}-${H}`]:{[y("item-icon-bg-color")]:h,[y("item-icon-border-color")]:r,[y("item-icon-text-color")]:r,[y("item-icon-dot-color")]:r,[y("item-icon-bg-hover-color")]:"transparent",[y("item-icon-border-hover-color")]:_,[y("item-icon-text-hover-color")]:_,[y("item-icon-active-bg-color")]:u},[`${$}-${B}`]:{[y("item-icon-bg-color")]:h,[y("item-icon-border-color")]:i,[y("item-icon-text-color")]:i,[y("item-icon-dot-color")]:i,[y("item-icon-bg-hover-color")]:"transparent",[y("item-icon-border-hover-color")]:s,[y("item-icon-text-hover-color")]:s,[y("item-icon-active-bg-color")]:d}}}]}},L=e=>{const{componentCls:t,marginXXS:o,paddingSM:n,controlHeight:r,antCls:a,calc:i}=e,s=`${t}-item`,[l,c]=(0,f.PN)(a,"cmp-steps");return{[`${t}-vertical`]:{[l("vertical-rail-margin")]:i(o).mul(1.5).equal(),flexDirection:"column",alignItems:"stretch",[`> ${s}`]:{minHeight:i(r).mul(1.5).equal(),paddingBottom:n,"&:last-child":{paddingBottom:0},[`${s}-icon`]:{marginInlineStart:`calc((${c("icon-size-max")} - ${c("icon-size")}) / 2)`},[`${s}-rail`]:{[l("rail-offset")]:i(c("heading-height")).sub(c("icon-size")).div(2).equal(),borderInlineStartWidth:c("rail-size"),position:"absolute",top:i(c("icon-size")).add(c("item-wrapper-padding-top")).add(c("rail-offset")).add(c("vertical-rail-margin")).equal(),insetInlineStart:i(c("icon-size-max")).div(2).equal(),bottom:i(c("vertical-rail-margin")).sub(c("rail-offset")).equal(),marginInlineStart:`calc(${c("rail-size")} / -2)`}}}}},O=e=>{const{componentCls:t,antCls:o}=e,n=`${t}-item`,[r,a]=(0,f.PN)(o,"cmp-steps");return{[t]:{[r("title-font-size")]:e.fontSizeLG,[r("title-line-height")]:e.lineHeightLG,[r("subtitle-font-size")]:e.fontSize,[r("subtitle-line-height")]:e.lineHeight,[r("item-wrapper-padding-top")]:"0px",[r("rail-size")]:e.lineWidth,[r("rail-line-style")]:e.lineType,...(0,$.dF)(e),display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[n]:{flex:"none",position:"relative"},[`${n}-wrapper`]:{display:"flex",flexWrap:"nowrap",paddingTop:a("item-wrapper-padding-top")},[`${n}-header`]:{display:"flex",flexWrap:"nowrap",alignItems:"center"},[`${n}-title`]:{color:e.colorText,fontSize:a("title-font-size"),lineHeight:a("title-line-height"),wordBreak:"break-word"},[`${n}-subtitle`]:{color:e.colorTextDescription,fontWeight:400,fontSize:a("subtitle-font-size"),lineHeight:a("subtitle-line-height"),marginInlineStart:e.marginXS,wordBreak:"break-word"},[`${n}-content`]:{color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word"},[`${n}-rail`]:{borderStyle:a("rail-line-style"),borderWidth:0},[`${n}-title, ${n}-subtitle, ${n}-content, ${n}-rail`]:{transition:`all ${e.motionDurationSlow}`},[`&${t}-ellipsis`]:{[`${n}-title, ${n}-subtitle, ${n}-content`]:$.L9},[`${n}[role='button']:focus-visible`]:(0,$.jk)(e),[`${n}[role='button']:not(${n}-active):hover`]:{cursor:"pointer"}}}},W=(0,f.OF)("Steps",e=>{const t=(0,y.oX)(e,{inlineDotSize:6});return[O(t),S(t),L(t),x(t),k(t),I(t),j(t),D(t),N(t),A(t),C(t),E(t),M(t),R(t)]},e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"unset",descriptionMaxWidth:void 0,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}));var F=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js");function X(e,t,o,r,a){const i=void 0!==r&&r>=3&&e.length>r,s=t-o,l=n.useMemo(()=>{if(!i)return e.map((e,t)=>({item:e,originIndex:t}));const t=function(e,t,o){const n=Math.min(Math.max(t,0),e-1),r=Math.min(o,e),a=new Set([0,n,e-1]);for(let t=1;a.size<r&&t<e;t+=1){const o=[n-t,n+t,t,e-1-t];for(const t of o){if(a.size>=r)break;t>=0&&t<e&&a.add(t)}}return Array.from(a).sort((e,t)=>e-t).flatMap((e,t,o)=>t>0&&e-o[t-1]>1?[null,e]:[e])}(e.length,s,r);return t.map((o,r)=>null===o?function(e,t,o,r,a){const i=e[o].key??o,s=e[r].key??r,l=e.slice(o+1,r).some(e=>"error"===e.status)?"error":r-1<t?"finish":"wait";return{item:{key:`ellipsis-${i}-${s}`,title:"",icon:n.createElement(F.A),status:l,disabled:!0,className:`${a}-item-ellipsis`},originIndex:-1}}(e,s,t[r-1],t[r+1],a):function(e,t){return{item:{...e,key:e.key??t},originIndex:t}}(e[o],o))},[i,s,e,r,a]),c=l.findIndex(e=>e.originIndex===s);return{canApplyMaxCount:i,displaySteps:l,mappedDisplayCurrent:c>=0?c:s,displayItems:l.map(e=>e.item)}}const q={itemIcon:m.D};const G=e=>{const{size:t,className:o,rootClassName:m,style:$,variant:y="filled",type:x,classNames:S,styles:C,direction:w,orientation:k,responsive:E=!0,progressDot:z,labelPlacement:N,titlePlacement:A,ellipsis:M,maxCount:j,offset:R=0,items:I,percent:T,current:P=0,initial:H=0,onChange:B,iconRender:D,...L}=e,O=n.useContext(_.j),F=(0,u.TP)("steps"),{getPrefixCls:G,direction:K,className:V,style:Y}=F;let Z,U,Q={};O?Q={root:O.rootComponent,item:O.itemComponent}:({classNames:Z,styles:U}=F);const J=G(),ee=G("steps",e.prefixCls),te=`${ee}-item-icon`,[oe,ne]=W(ee),[re]=(0,f.PN)(J,"cmp-steps");const ae=(0,p.A)(t),ie=n.useMemo(()=>(I||[]).filter(Boolean),[I]),{xs:se}=(0,g.A)(E),le=n.useMemo(()=>x&&"default"!==x?x:z?"dot":x,[z,x]),ce="inline"===le,de="dot"===le||"inline"===le,me=n.useMemo(()=>"dot"===le&&(0,c.Tn)(z)?z:void 0,[le,z]),ue=n.useMemo(()=>"panel"===le?"horizontal":E&&se||"vertical"===(k||w)?"vertical":"horizontal",[k,w,le,E,se]),pe=n.useMemo(()=>de||"vertical"===ue?"vertical"===ue?"horizontal":"vertical":"navigation"===x?"horizontal":A||N||"horizontal",[de,N,ue,A,x]),ge=ce?void 0:T,{canApplyMaxCount:fe,displaySteps:he,mappedDisplayCurrent:_e,displayItems:be}=X(ie,P,H,j,ee),ve={...e,variant:y,size:ae,type:le,orientation:ue,titlePlacement:pe,current:P,initial:H,percent:ge,responsive:E,offset:R,ellipsis:M,maxCount:j},$e=(0,l.XT)(Y),ye=(0,l.XT)($),[xe,Se]=(0,l.AV)([q,Z,S],[U,$e,C,ye],{props:ve}),Ce="panel"===le?e=>n.createElement(n.Fragment,null,e,n.createElement(b,{prefixCls:ee})):void 0,we={[re("items-offset")]:`${R}`},ke=(0,s.$)(V,`${ee}-${y}`,{[`${ee}-${le}`]:"dot"!==le&&le,[`${ee}-rtl`]:"rtl"===K,[`${ee}-dot`]:de,[`${ee}-ellipsis`]:M,[`${ee}-max-count`]:fe,[`${ee}-with-progress`]:void 0!==ge,[`${ee}-small`]:"small"===ae},o,m,oe,ne);return n.createElement(i.Ay,{...L,prefixCls:ee,className:ke,style:we,classNames:xe,styles:Se,orientation:ue,titlePlacement:pe,components:Q,initial:0,current:_e,items:be,onChange:B?e=>{const t=he[e];B&&t&&t.originIndex>=0&&B(H+t.originIndex)}:void 0,iconRender:(e,t)=>{const{item:o,index:i,active:s,components:{Icon:l}}=t,d=he[i]?.originIndex,m=void 0!==d&&d>=0?H+d:i,{status:u,icon:p}=o;let g=null;if(de||p)g=p;else switch(u){case"finish":g=n.createElement(r.A,{className:`${te}-finish`});break;case"error":g=n.createElement(a.A,{className:`${te}-error`});break;default:{let e=n.createElement("span",{className:`${te}-number`},m+1);"process"===u&&void 0!==ge&&(e=n.createElement(v,{prefixCls:ee,rootPrefixCls:J,percent:ge},e)),g=e}}let f=n.createElement(l,null,g);return D?f=D(f,{index:m,active:s,item:o,components:{Icon:l}}):(0,c.Tn)(me)&&(f=me(f,{index:m,...o})),f},itemRender:(e,t)=>{let o=e;return ce&&t.item.content&&(o=n.createElement(h.A,{destroyOnHidden:!0,title:t.item.content},e)),n.createElement(d.A,{component:"Steps",disabled:t.item.disabled||!B,colorSource:"filled"===y?"color":null},o)},itemWrapperRender:Ce})}},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tabs/index.js"(e,t,o){o.d(t,{A:()=>he});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CloseOutlined.js"),i=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js"),s=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/PlusOutlined.js"),l=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),c=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js");const d=(0,n.createContext)(null);var m=o("./node_modules/.pnpm/@rc-component+resize-observer@1.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/resize-observer/es/index.js");const u=e=>{const{activeTabOffset:t,horizontal:o,rtl:a,indicator:i={}}=e,{size:s,align:l="center"}=i,[d,m]=(0,n.useState)(),u=(0,n.useRef)(void 0),p=r().useCallback(e=>"function"==typeof s?s(e):"number"==typeof s?s:e,[s]);function g(){c.er.cancel(u.current)}return(0,n.useEffect)(()=>{const e={};if(t)if(o){e.width=p(t.width);const o=a?"right":"left";"start"===l&&(e[o]=t[o]),"center"===l&&(e[o]=t[o]+t.width/2,e.transform=a?"translateX(50%)":"translateX(-50%)"),"end"===l&&(e[o]=t[o]+t.width,e.transform="translateX(-100%)")}else e.height=p(t.height),"start"===l&&(e.top=t.top),"center"===l&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===l&&(e.top=t.top+t.height,e.transform="translateY(-100%)");return g(),u.current=(0,c.er)(()=>{d&&e&&Object.keys(e).every(t=>{const o=e[t],n=d[t];return"number"==typeof o&&"number"==typeof n?Math.round(o)===Math.round(n):o===n})||m(e)}),g},[JSON.stringify(t),o,a,l,p]),{style:d}},p={width:0,height:0,left:0,top:0};function g(e,t){const o=n.useRef(e),[,r]=n.useState({});return[o.current,function(e){const n="function"==typeof e?e(o.current):e;n!==o.current&&t(n,o.current),o.current=n,r({})}]}const f=.995**20;function h(e){const[t,o]=(0,n.useState)(0),r=(0,n.useRef)(0),a=(0,n.useRef)(void 0);return a.current=e,(0,c.oM)(()=>{a.current?.()},[t]),()=>{r.current===t&&(r.current+=1,o(r.current))}}const _={width:0,height:0,left:0,top:0,right:0};function b(e){let t;return e instanceof Map?(t={},e.forEach((e,o)=>{t[o]=e})):t=e,JSON.stringify(t)}function v(e){return String(e).replace(/"/g,"TABS_DQ")}function $(e,t,o,n){return!(!o||n||!1===e||void 0===e&&(!1===t||null===t))}const y=n.forwardRef((e,t)=>{const{prefixCls:o,editable:r,locale:a,style:i}=e;return r&&!1!==r.showAdd?n.createElement("button",{ref:t,type:"button",className:`${o}-nav-add`,style:i,"aria-label":a?.addAriaLabel||"Add tab",onClick:e=>{r.onEdit("add",{event:e})}},r.addIcon||"+"):null}),x=y;const S=n.forwardRef((e,t)=>{const{position:o,prefixCls:r,extra:a}=e;if(!a)return null;let i,s={};return"object"!=typeof a||n.isValidElement(a)?s.right=a:s=a,"right"===o&&(i=s.right),"left"===o&&(i=s.left),i?n.createElement("div",{className:`${r}-extra-content`,ref:t},i):null});var C=o("./node_modules/.pnpm/@rc-component+dropdown@1.0.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/dropdown/es/index.js"),w=o("./node_modules/.pnpm/@rc-component+menu@1.5.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/menu/es/index.js");function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},k.apply(this,arguments)}const E=n.forwardRef((e,t)=>{const{prefixCls:o,id:r,tabs:a,locale:i,mobile:s,more:d={},style:m,className:u,editable:p,tabBarGutter:g,rtl:f,removeAriaLabel:h,onTabClick:_,getPopupContainer:b,popupClassName:v,popupStyle:y,classNames:S,styles:E}=e,[z,N]=(0,n.useState)(!1),[A,M]=(0,n.useState)(null),{icon:j="More",popupRender:R}=d,I=`${r}-more-popup`,T=`${o}-dropdown`,P=null!==A?`${I}-${A}`:null,H=i?.dropdownAriaLabel;const B=n.createElement(w.Ay,{onClick:({key:e,domEvent:t})=>{_(e,t),N(!1)},prefixCls:`${T}-menu`,id:I,tabIndex:-1,role:"listbox","aria-activedescendant":P,selectedKeys:[A],"aria-label":void 0!==H?H:"expanded dropdown"},a.map(e=>{const{closable:t,disabled:o,closeIcon:a,key:i,label:s}=e,c=$(t,a,p,o);return n.createElement(w.Dr,{key:i,id:`${I}-${i}`,role:"option","aria-controls":r&&`${r}-panel-${i}`,disabled:o},n.createElement("span",null,s),c&&n.createElement("button",{type:"button","aria-label":h||"remove",tabIndex:0,className:(0,l.$)(`${T}-menu-item-remove`,S?.remove),style:E?.remove,onClick:e=>{e.stopPropagation(),function(e,t){e.preventDefault(),e.stopPropagation(),p.onEdit("remove",{key:t,event:e})}(e,i)}},a||p.removeIcon||"×"))})),D=R?R(B,{restTabs:a,onClose:()=>N(!1)}):B;function L(e){const t=a.filter(e=>!e.disabled);let o=t.findIndex(e=>e.key===A)||0;const n=t.length;for(let r=0;r<n;r+=1){o=(o+e+n)%n;const r=t[o];if(!r.disabled)return void M(r.key)}}(0,n.useEffect)(()=>{const e=document.getElementById(P);e?.scrollIntoView&&e.scrollIntoView(!1)},[P,A]),(0,n.useEffect)(()=>{z||M(null)},[z]);const O={marginInlineStart:g};a.length||(O.visibility="hidden",O.order=1);const W=(0,l.$)(v,{[`${T}-rtl`]:f}),F=s?null:n.createElement(C.A,k({prefixCls:T,overlay:D,visible:!!a.length&&z,onVisibleChange:N,overlayClassName:W,overlayStyle:y,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:b},d),n.createElement("button",{type:"button",className:`${o}-nav-more`,style:O,"aria-haspopup":"listbox","aria-controls":I,id:`${r}-more`,"aria-expanded":z,onKeyDown:function(e){const{which:t}=e;if(z)switch(t){case c.DD.UP:L(-1),e.preventDefault();break;case c.DD.DOWN:L(1),e.preventDefault();break;case c.DD.ESC:N(!1);break;case c.DD.SPACE:case c.DD.ENTER:null!==A&&_(A,e)}else[c.DD.DOWN,c.DD.SPACE,c.DD.ENTER].includes(t)&&(N(!0),e.preventDefault())}},j));return n.createElement("div",{className:(0,l.$)(`${o}-nav-operations`,u),style:m,ref:t},F,n.createElement(x,{prefixCls:o,locale:i,editable:p}))}),z=n.memo(E,(e,t)=>t.tabMoving),N=e=>{const{prefixCls:t,id:o,active:r,focus:a,tab:{key:i,label:s,disabled:c,closeIcon:d,icon:m},closable:u,renderWrapper:p,removeAriaLabel:g,editable:f,onClick:h,onFocus:_,onBlur:b,onKeyDown:y,onMouseDown:x,onMouseUp:S,styles:C,classNames:w,tabCount:k,currentPosition:E}=e,z=`${t}-tab`,N=$(u,d,f,c);function A(e){c||h(e)}const M=n.useMemo(()=>m&&"string"==typeof s?n.createElement("span",null,s):s,[s,m]),j=n.useRef(null);n.useEffect(()=>{a&&j.current&&j.current.focus()},[a]);const R=n.createElement("div",{key:i,"data-node-key":v(i),className:(0,l.$)(z,w?.item,{[`${z}-with-remove`]:N,[`${z}-active`]:r,[`${z}-disabled`]:c,[`${z}-focus`]:a}),style:C?.item,onClick:A},n.createElement("div",{ref:j,role:"tab","aria-selected":r,id:o&&`${o}-tab-${i}`,className:`${z}-btn`,"aria-controls":o&&`${o}-panel-${i}`,"aria-disabled":c,tabIndex:c?null:r?0:-1,onClick:e=>{e.stopPropagation(),A(e)},onKeyDown:y,onMouseDown:x,onMouseUp:S,onFocus:_,onBlur:b},a&&n.createElement("div",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},`Tab ${E} of ${k}`),m&&n.createElement("span",{className:`${z}-icon`},m),s&&M),N&&n.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:r?0:-1,className:(0,l.$)(`${z}-remove`,w?.remove),style:C?.remove,onClick:e=>{var t;e.stopPropagation(),(t=e).preventDefault(),t.stopPropagation(),f.onEdit("remove",{key:i,event:t})}},d||f.removeIcon||"×"));return p?p(R):R};function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},A.apply(this,arguments)}const M=e=>{const{offsetWidth:t=0,offsetHeight:o=0}=e.current||{};if(e.current){const{width:o,height:n}=e.current.getBoundingClientRect();if(Math.abs(o-t)<1)return[o,n]}return[t,o]},j=(e,t)=>e[t?0:1],R=n.forwardRef((e,t)=>{const{className:o,style:r,id:a,animated:i,activeKey:s,rtl:y,extra:C,editable:w,locale:k,tabPosition:E,tabBarGutter:R,children:I,onTabClick:T,onTabScroll:P,indicator:H,classNames:B,styles:D}=e,{prefixCls:L,tabs:O}=n.useContext(d),W=(0,n.useRef)(null),F=(0,n.useRef)(null),X=(0,n.useRef)(null),q=(0,n.useRef)(null),G=(0,n.useRef)(null),K=(0,n.useRef)(null),V=(0,n.useRef)(null),Y="top"===E||"bottom"===E,[Z,U]=g(0,(e,t)=>{Y&&P&&P({direction:e>t?"left":"right"})}),[Q,J]=g(0,(e,t)=>{!Y&&P&&P({direction:e>t?"top":"bottom"})}),[ee,te]=(0,n.useState)([0,0]),[oe,ne]=(0,n.useState)([0,0]),[re,ae]=(0,n.useState)([0,0]),[ie,se]=(0,n.useState)([0,0]),[le,ce]=function(e){const t=(0,n.useRef)([]),[,o]=(0,n.useState)({}),r=(0,n.useRef)("function"==typeof e?e():e),a=h(()=>{let e=r.current;t.current.forEach(t=>{e=t(e)}),t.current=[],r.current=e,o({})});return[r.current,function(e){t.current.push(e),a()}]}(new Map),de=function(e,t,o){return(0,n.useMemo)(()=>{const o=new Map,n=t.get(e[0]?.key)||p,r=n.left+n.width;for(let n=0;n<e.length;n+=1){const{key:a}=e[n];let i=t.get(a);i||(i=t.get(e[n-1]?.key)||p);const s=o.get(a)||{...i};s.right=r-s.left-s.width,o.set(a,s)}return o},[e.map(e=>e.key).join("_"),t,o])}(O,le,oe[0]),me=j(ee,Y),ue=j(oe,Y),pe=j(re,Y),ge=j(ie,Y),fe=Math.floor(me)<Math.floor(ue+pe),he=fe?me-ge:me-pe,_e=`${L}-nav-operations-hidden`;let be=0,ve=0;function $e(e){return e<be?be:e>ve?ve:e}Y&&y?(be=0,ve=Math.max(0,ue-he)):(be=Math.min(0,he-ue),ve=0);const ye=(0,n.useRef)(null),[xe,Se]=(0,n.useState)();function Ce(){Se(Date.now())}function we(){ye.current&&clearTimeout(ye.current)}!function(e,t){const[o,r]=(0,n.useState)(),[a,i]=(0,n.useState)(0),[s,l]=(0,n.useState)(0),[c,d]=(0,n.useState)(),m=(0,n.useRef)(void 0),u=(0,n.useRef)(void 0),p=(0,n.useRef)(null);p.current={onTouchStart:function(e){const{screenX:t,screenY:o}=e.touches[0];r({x:t,y:o}),window.clearInterval(m.current)},onTouchMove:function(e){if(!o)return;const{screenX:n,screenY:s}=e.touches[0];r({x:n,y:s});const c=n-o.x,m=s-o.y;t(c,m);const u=Date.now();i(u),l(u-a),d({x:c,y:m})},onTouchEnd:function(){if(o&&(r(null),d(null),c)){const e=c.x/s,o=c.y/s,n=Math.abs(e),r=Math.abs(o);if(Math.max(n,r)<.1)return;let a=e,i=o;m.current=window.setInterval(()=>{Math.abs(a)<.01&&Math.abs(i)<.01?window.clearInterval(m.current):(a*=f,i*=f,t(20*a,20*i))},20)}},onWheel:function(e){const{deltaX:o,deltaY:n}=e;let r;const a=Math.abs(o),i=Math.abs(n);a===i?r="x"===u.current?o:n:a>i?(r=o,u.current="x"):(r=n,u.current="y"),t(-r,-r)&&e.preventDefault()}},n.useEffect(()=>{function t(e){p.current.onTouchMove(e)}function o(e){p.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",o,{passive:!0}),e.current.addEventListener("touchstart",function(e){p.current.onTouchStart(e)},{passive:!0}),e.current.addEventListener("wheel",function(e){p.current.onWheel(e)},{passive:!1}),()=>{document.removeEventListener("touchmove",t),document.removeEventListener("touchend",o)}},[])}(q,(e,t)=>{function o(e,t){e(e=>$e(e+t))}return!!fe&&(Y?o(U,e):o(J,t),we(),Ce(),!0)}),(0,n.useEffect)(()=>(we(),xe&&(ye.current=setTimeout(()=>{Se(0)},100)),we),[xe]);const[ke,Ee]=function(e,t,o,r,a,i,{tabs:s,tabPosition:l,rtl:c}){let d,m,u;return["top","bottom"].includes(l)?(d="width",m=c?"right":"left",u=Math.abs(o)):(d="height",m="top",u=-o),(0,n.useMemo)(()=>{if(!s.length)return[0,0];const o=s.length;let n=o;for(let r=0;r<o;r+=1){const o=e.get(s[r].key)||_;if(Math.floor(o[m]+o[d])>Math.floor(u+t)){n=r-1;break}}let r=0;for(let t=o-1;t>=0;t-=1)if((e.get(s[t].key)||_)[m]<u){r=t+1;break}return r>n?[0,-1]:[r,n]},[e,t,r,a,i,u,l,s.map(e=>e.key).join("_"),c])}(de,he,Y?Z:Q,ue,pe,ge,{...e,tabs:O}),ze=(0,c._q)((e=s)=>{const t=de.get(e)||{width:0,height:0,left:0,right:0,top:0};if(Y){let e=Z;y?t.right<Z?e=t.right:t.right+t.width>Z+he&&(e=t.right+t.width-he):t.left<-Z?e=-t.left:t.left+t.width>-Z+he&&(e=-(t.left+t.width-he)),J(0),U($e(e))}else{let e=Q;t.top<-Q?e=-t.top:t.top+t.height>-Q+he&&(e=-(t.top+t.height-he)),U(0),J($e(e))}}),[Ne,Ae]=(0,n.useState)(),[Me,je]=(0,n.useState)(!1),Re=O.filter(e=>!e.disabled).map(e=>e.key),Ie=e=>{const t=Re.indexOf(Ne||s),o=Re.length;Ae(Re[(t+e+o)%o])},Te=(e,t)=>{const o=Re.indexOf(e),n=O.find(t=>t.key===e);$(n?.closable,n?.closeIcon,w,n?.disabled)&&(t.preventDefault(),t.stopPropagation(),w.onEdit("remove",{key:e,event:t}),Ie(o===Re.length-1?-1:1))},Pe=e=>{const{code:t}=e,o=y&&Y,n=Re[0],r=Re[Re.length-1];switch(t){case"ArrowLeft":Y&&Ie(o?1:-1);break;case"ArrowRight":Y&&Ie(o?-1:1);break;case"ArrowUp":e.preventDefault(),Y||Ie(-1);break;case"ArrowDown":e.preventDefault(),Y||Ie(1);break;case"Home":e.preventDefault(),Ae(n);break;case"End":e.preventDefault(),Ae(r);break;case"Enter":case"Space":e.preventDefault(),T(Ne??s,e);break;case"Backspace":case"Delete":Te(Ne,e)}},He={};Y?He.marginInlineStart=R:He.marginTop=R;const Be=O.map((e,t)=>{const{key:o}=e;return n.createElement(N,{id:a,prefixCls:L,key:o,tab:e,classNames:{item:B?.item,remove:B?.remove},styles:{item:0===t?D?.item:{...He,...D?.item},remove:D?.remove},closable:e.closable,editable:w,active:o===s,focus:o===Ne,renderWrapper:I,removeAriaLabel:k?.removeAriaLabel,tabCount:Re.length,currentPosition:t+1,onClick:e=>{T(o,e)},onKeyDown:Pe,onFocus:()=>{Me||Ae(o),ze(o),Ce(),q.current&&(y||(q.current.scrollLeft=0),q.current.scrollTop=0)},onBlur:()=>{Ae(void 0)},onMouseDown:e=>((e,t)=>{je(!0),1===t.button&&Te(e,t)})(o,e),onMouseUp:()=>{je(!1)}})}),De=()=>ce(()=>{const e=new Map,t=G.current?.getBoundingClientRect();return O.forEach(({key:o})=>{const n=G.current?.querySelector(`[data-node-key="${v(o)}"]`);if(n){const[r,a,i,s]=((e,t)=>{const{offsetWidth:o,offsetHeight:n,offsetTop:r,offsetLeft:a}=e,{width:i,height:s,left:l,top:c}=e.getBoundingClientRect();return Math.abs(i-o)<1?[i,s,l-t.left,c-t.top]:[o,n,a,r]})(n,t);e.set(o,{width:r,height:a,left:i,top:s})}}),e});(0,n.useEffect)(()=>{De()},[O.map(e=>e.key).join("_")]);const Le=h(()=>{const e=M(W),t=M(F),o=M(X);te([e[0]-t[0]-o[0],e[1]-t[1]-o[1]]);const n=M(V);ae(n);const r=M(K);se(r);const a=M(G);ne([a[0]-n[0],a[1]-n[1]]),De()}),Oe=[...O.slice(0,ke),...O.slice(Ee+1)],We=de.get(s),{style:Fe}=u({activeTabOffset:We,horizontal:Y,indicator:H,rtl:y});(0,n.useEffect)(()=>{ze()},[s,be,ve,b(We),b(de),Y]),(0,n.useEffect)(()=>{Le()},[y]);const Xe=!!Oe.length,qe=`${L}-nav-wrap`;let Ge,Ke,Ve,Ye;return Y?y?(Ke=Z>0,Ge=Z!==ve):(Ge=Z<0,Ke=Z!==be):(Ve=Q<0,Ye=Q!==be),n.createElement(m.Ay,{onResize:Le},n.createElement("div",{ref:(0,c.xK)(t,W),role:"tablist","aria-orientation":Y?"horizontal":"vertical",className:(0,l.$)(`${L}-nav`,o,B?.header),style:{...D?.header,...r},onKeyDown:()=>{Ce()}},n.createElement(S,{ref:F,position:"left",extra:C,prefixCls:L}),n.createElement(m.Ay,{onResize:Le},n.createElement("div",{className:(0,l.$)(qe,{[`${qe}-ping-left`]:Ge,[`${qe}-ping-right`]:Ke,[`${qe}-ping-top`]:Ve,[`${qe}-ping-bottom`]:Ye}),ref:q},n.createElement(m.Ay,{onResize:Le},n.createElement("div",{ref:G,className:`${L}-nav-list`,style:{transform:`translate(${Z}px, ${Q}px)`,transition:xe?"none":void 0}},Be,n.createElement(x,{ref:V,prefixCls:L,locale:k,editable:w,style:{...0===Be.length?void 0:He,visibility:Xe?"hidden":null}}),n.createElement("div",{className:(0,l.$)(`${L}-ink-bar`,B?.indicator,{[`${L}-ink-bar-animated`]:i.inkBar}),style:{...Fe,...D?.indicator}}))))),n.createElement(z,A({},e,{removeAriaLabel:k?.removeAriaLabel,ref:K,prefixCls:L,tabs:Oe,className:!Xe&&_e,popupStyle:D?.popup,tabMoving:!!xe})),n.createElement(S,{ref:X,position:"right",extra:C,prefixCls:L})))}),I=R;const T=({renderTabBar:e,...t})=>e?e(t,I):n.createElement(I,t);var P=o("./node_modules/.pnpm/@rc-component+motion@1.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/motion/es/index.js");const H=n.forwardRef((e,t)=>{const{prefixCls:o,className:r,style:a,id:i,active:s,tabKey:c,children:d}=e,m=n.Children.count(d)>0;return n.createElement("div",{id:i&&`${i}-panel-${c}`,role:"tabpanel",tabIndex:s&&m?0:-1,"aria-labelledby":i&&`${i}-tab-${c}`,"aria-hidden":!s,style:a,className:(0,l.$)(o,s&&`${o}-active`,r),ref:t},d)});const B=H;function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},D.apply(this,arguments)}const L=e=>{const{id:t,activeKey:o,animated:r,tabPosition:a,destroyOnHidden:i,bodyStyle:s,bodyClassName:c,contentStyle:m,contentClassName:u}=e,{prefixCls:p,tabs:g}=n.useContext(d),f=r.tabPane,h=`${p}-body`,_=`${p}-content`;return n.createElement("div",{className:(0,l.$)(`${h}-holder`)},n.createElement("div",{className:(0,l.$)(h,`${h}-${a}`,{[`${h}-animated`]:f},c),style:s},g.map(e=>{const{key:a,forceRender:s,style:c,className:d,destroyOnHidden:p,...g}=e,h=a===o;return n.createElement(P.Ay,D({key:a,visible:h,forceRender:s,removeOnLeave:!!(i??p),leavedClassName:`${_}-hidden`},r.tabPaneMotion),({style:e,className:o},r)=>n.createElement(B,D({},g,{prefixCls:_,id:t,tabKey:a,animated:f,active:h,style:{...m,...c,...e},className:(0,l.$)(u,d,o),ref:r})))})))};function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},O.apply(this,arguments)}let W=0;const F=n.forwardRef((e,t)=>{const{id:o,prefixCls:r="rc-tabs",className:a,items:i,direction:s,activeKey:m,defaultActiveKey:u,editable:p,animated:g,tabPosition:f="top",tabBarGutter:h,tabBarStyle:_,tabBarExtraContent:b,locale:v,more:$,destroyOnHidden:y,renderTabBar:x,onChange:S,onTabClick:C,onTabScroll:w,getPopupContainer:k,popupClassName:E,indicator:z,classNames:N,styles:A,...M}=e,j=n.useMemo(()=>(i||[]).filter(e=>e&&"object"==typeof e&&"key"in e),[i]),R="rtl"===s,I=function(e={inkBar:!0,tabPane:!1}){let t;return t=!1===e?{inkBar:!1,tabPane:!1}:!0===e?{inkBar:!0,tabPane:!1}:{inkBar:!0,..."object"==typeof e?e:{}},t.tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(g),[P,H]=(0,n.useState)(!1);(0,n.useEffect)(()=>{H((0,c.Fr)())},[]);const[B,D]=(0,c.PW)(u??j[0]?.key,m),[F,X]=(0,n.useState)(()=>j.findIndex(e=>e.key===B));(0,n.useEffect)(()=>{let e=j.findIndex(e=>e.key===B);-1===e&&(e=Math.max(0,Math.min(F,j.length-1)),D(j[e]?.key)),X(e)},[j.map(e=>e.key).join("_"),B,F]);const[q,G]=(0,c.PW)(null,o);(0,n.useEffect)(()=>{o||(G(`rc-tabs-${W}`),W+=1)},[]);const K={id:q,activeKey:B,animated:I,tabPosition:f,rtl:R,mobile:P},V={...K,editable:p,locale:v,more:$,tabBarGutter:h,onTabClick:function(e,t){C?.(e,t);const o=e!==B;D(e),o&&S?.(e)},onTabScroll:w,extra:b,style:_,getPopupContainer:k,popupClassName:(0,l.$)(E,N?.popup),indicator:z,styles:A,classNames:N},Y=n.useMemo(()=>({tabs:j,prefixCls:r}),[j,r]);return n.createElement(d.Provider,{value:Y},n.createElement("div",O({ref:t,id:o,className:(0,l.$)(r,`${r}-${f}`,{[`${r}-mobile`]:P,[`${r}-editable`]:p,[`${r}-rtl`]:R},a)},M),n.createElement(T,O({},V,{renderTabBar:x})),n.createElement(L,O({destroyOnHidden:y},K,{bodyStyle:A?.body,bodyClassName:N?.body,contentStyle:A?.content,contentClassName:N?.content,animated:I}))))});const X=F;var q=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),G=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),K=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),V=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),Y=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),Z=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/motion.js");const U={motionAppear:!1,motionEnter:!0,motionLeave:!0};const Q=function(e,t){return e?e.map(e=>({...e,destroyOnHidden:e.destroyOnHidden??e.destroyInactiveTabPane})):function(e){return e.filter(e=>e)}((0,c.$r)(t).map(e=>{if(n.isValidElement(e)){const{key:t,props:o}=e,{tab:n,...r}=o||{};return{key:String(t),...r,label:n}}return null}))};var J=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),ee=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),te=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/motion/slide.js"),oe=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),ne=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const re=e=>{const{componentCls:t,motionDurationSlow:o}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${o}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${o}`}}}}},[(0,te._j)(e,"slide-up"),(0,te._j)(e,"slide-down")]]},ae=e=>{const{componentCls:t,tabsCardPadding:o,cardBg:n,cardGutter:r,colorBorderSecondary:a,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:o,background:n,border:`${(0,J.zA)(e.lineWidth)} ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-tab-focus:has(${t}-tab-btn:focus-visible)`]:(0,ee.jk)(e,-3),[`& ${t}-tab${t}-tab-focus ${t}-tab-btn:focus-visible`]:{outline:"none"},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,J.zA)(r)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,J.zA)(e.borderRadiusLG)} ${(0,J.zA)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,J.zA)(e.borderRadiusLG)} ${(0,J.zA)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,J.zA)(r)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,J.zA)(e.borderRadiusLG)} 0 0 ${(0,J.zA)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,J.zA)(e.borderRadiusLG)} ${(0,J.zA)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},ie=e=>{const{antCls:t,componentCls:o,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${o}-dropdown`]:{...(0,ee.dF)(e),position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`&${t}-slide-down-enter${t}-slide-down-enter-active${o}-dropdown-placement-bottomLeft,\n &${t}-slide-down-appear${t}-slide-down-appear-active${o}-dropdown-placement-bottomLeft,\n &${t}-slide-down-enter${t}-slide-down-enter-active${o}-dropdown-placement-bottom,\n &${t}-slide-down-appear${t}-slide-down-appear-active${o}-dropdown-placement-bottom,\n &${t}-slide-down-enter${t}-slide-down-enter-active${o}-dropdown-placement-bottomRight,\n &${t}-slide-down-appear${t}-slide-down-appear-active${o}-dropdown-placement-bottomRight`]:{animationName:te.ox},[`&${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-topLeft,\n &${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-topLeft,\n &${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-top,\n &${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-top,\n &${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-topRight,\n &${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-topRight`]:{animationName:te.nP},[`&${t}-slide-down-leave${t}-slide-down-leave-active${o}-dropdown-placement-bottomLeft,\n &${t}-slide-down-leave${t}-slide-down-leave-active${o}-dropdown-placement-bottom,\n &${t}-slide-down-leave${t}-slide-down-leave-active${o}-dropdown-placement-bottomRight`]:{animationName:te.vR},[`&${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-topLeft,\n &${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-top,\n &${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-topRight`]:{animationName:te.YU},[`${o}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,J.zA)(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":{...ee.L9,display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,J.zA)(e.paddingXXS)} ${(0,J.zA)(e.paddingSM)}`,color:e.colorText,fontWeight:400,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}}}}}},se=e=>{const{componentCls:t,margin:o,colorBorderSecondary:n,horizontalMargin:r,verticalItemPadding:a,verticalItemMargin:i,motionDurationSlow:s,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,J.zA)(e.lineWidth)} ${e.lineType} ${n}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:["width","left","right"].map(e=>`${e} ${s}`).join(", ")}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:o,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:a,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:["height","top"].map(e=>`${e} ${s}`).join(", ")}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{marginLeft:{_skip_check_:!0,value:(0,J.zA)(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,J.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-body > ${t}-content`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,J.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-body > ${t}-content`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},le=e=>{const{componentCls:t,cardPaddingSM:o,cardPaddingLG:n,cardHeightSM:r,cardHeightLG:a,horizontalItemPaddingSM:i,horizontalItemPaddingLG:s}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:s,fontSize:e.titleFontSizeLG,lineHeight:e.lineHeightLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o},[`${t}-nav-add`]:{minWidth:r,minHeight:r}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,J.zA)(e.borderRadius)} ${(0,J.zA)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,J.zA)(e.borderRadius)} ${(0,J.zA)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,J.zA)(e.borderRadius)} ${(0,J.zA)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,J.zA)(e.borderRadius)} 0 0 ${(0,J.zA)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n},[`${t}-nav-add`]:{minWidth:a,minHeight:a}}}}}},ce=e=>{const{componentCls:t,itemActiveColor:o,itemHoverColor:n,iconCls:r,tabsHorizontalItemMargin:a,horizontalItemPadding:i,itemSelectedColor:s,itemColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:o}},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM},[`${c}-icon > svg`]:{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"}},"&-remove":{flex:"none",lineHeight:1,marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading},...(0,ee.K8)(e)},"&:hover":{color:n},[`&${c}-active ${c}-btn`]:{color:s},[`&${c}-focus ${c}-btn:focus-visible`]:(0,ee.jk)(e),[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${r}`]:{margin:0,verticalAlign:"middle"},[`${r}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:a}}}},de=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:o,iconCls:n,cardGutter:r,calc:a}=e,i=`${t}-rtl`;return{[i]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:o},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[n]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:e.marginSM}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:e.marginXS},marginLeft:{_skip_check_:!0,value:a(e.marginXXS).mul(-1).equal()},[n]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-body-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-body-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:r},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},me=e=>{const{componentCls:t,tabsCardPadding:o,cardHeight:n,cardGutter:r,itemHoverColor:a,itemActiveColor:i,colorBorderSecondary:s}=e;return{[t]:{...(0,ee.dF)(e),display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:o,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:{minWidth:n,minHeight:n,marginLeft:{_skip_check_:!0,value:r},background:"transparent",border:`${(0,J.zA)(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${(0,J.zA)(e.borderRadiusLG)} ${(0,J.zA)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:i},...(0,ee.K8)(e,-3)}},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"},...ce(e),[`${t}-body`]:{position:"relative",width:"100%"},[`${t}-body-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-content`]:{...(0,ee.K8)(e),"&-hidden":{display:"none"}}},[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}},ue=(0,oe.OF)("Tabs",e=>{const t=(0,ne.oX)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,J.zA)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,J.zA)(e.horizontalItemGutter)}`});return[le(t),de(t),se(t),ie(t),ae(t),me(t),re(t)]},e=>{const{cardHeight:t,cardHeightSM:o,cardHeightLG:n,controlHeight:r,controlHeightLG:a}=e,i=t||a,s=o||r,l=n||a+8;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:i,cardHeightSM:s,cardHeightLG:l,cardPadding:`${(i-e.fontHeight)/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${(s-e.fontHeight)/2-e.lineWidth}px ${e.paddingXS}px`,cardPaddingLG:`${(l-e.fontHeightLG)/2-e.lineWidth}px ${e.padding}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}});const pe=()=>null,ge=n.forwardRef((e,t)=>{const{type:o,className:r,rootClassName:c,size:d,onEdit:m,hideAdd:u,centered:p,addIcon:g,removeIcon:f,moreIcon:h,more:_,popupClassName:b,children:v,items:$,animated:y,style:x,indicatorSize:S,indicator:C,classNames:w,styles:k,destroyInactiveTabPane:E,destroyOnHidden:z,tabPlacement:N,tabPosition:A,...M}=e,{prefixCls:j}=M,{getPrefixCls:R,direction:I,getPopupContainer:T,className:P,style:H,classNames:B,styles:D}=(0,G.TP)("tabs"),{tabs:L}=n.useContext(G.QO),O=R("tabs",j),W=(0,K.A)(O),[F,J]=ue(O,W),ee=n.useRef(null);let te;n.useImperativeHandle(t,()=>({nativeElement:ee.current})),"editable-card"===o&&(te={onEdit:(e,{key:t,event:o})=>{m?.("add"===e?o:t,e)},removeIcon:f??L?.removeIcon??n.createElement(a.A,null),addIcon:(g??L?.addIcon)||n.createElement(s.A,null),showAdd:!0!==u});const oe=R();const ne=(0,V.A)(d),re=Q($,v),ae=function(e,t={inkBar:!0,tabPane:!1}){let o;return o=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!0}:{inkBar:!0,...(0,Y.Qd)(t)?t:{}},o.tabPane&&(o.tabPaneMotion={...U,motionName:(0,Z.b)(e,"switch")}),o}(O,y),ie={align:C?.align??L?.indicator?.align,size:C?.size??S??L?.indicator?.size??L?.indicatorSize},se=n.useMemo(()=>{const e=N??A??void 0,t="rtl"===I;switch(e){case"start":return t?"right":"left";case"end":return t?"left":"right";default:return e}},[N,A,I]),le={...e,size:ne,tabPlacement:se,items:re},ce=(0,q.XT)(H),de=(0,q.XT)(x),[me,pe]=(0,q.AV)([B,w],[D,ce,k,de],{props:le},{popup:{_default:"root"}});return n.createElement(X,{ref:ee,direction:I,getPopupContainer:T,...M,items:re,className:(0,l.$)({[`${O}-large`]:"large"===ne,[`${O}-small`]:"small"===ne,[`${O}-card`]:["card","editable-card"].includes(o),[`${O}-editable-card`]:"editable-card"===o,[`${O}-centered`]:p},P,r,c,me.root,F,J,W),classNames:{...me,popup:(0,l.$)(b,F,J,W,me.popup?.root)},styles:{...pe,popup:pe.popup?.root},style:pe.root,editable:te,more:{icon:L?.more?.icon??L?.moreIcon??h??n.createElement(i.A,null),transitionName:`${oe}-slide-up`,..._},prefixCls:O,animated:ae,indicator:ie,destroyOnHidden:z??E,tabPosition:se})}),fe=ge;fe.TabPane=pe;const he=fe},"./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tag/index.js"(e,t,o){o.d(t,{A:()=>H});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useClosable.js"),l=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/reactNode.js"),m=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/wave/index.js"),u=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),p=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/DisabledContext.js"),g=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),f=o("./node_modules/.pnpm/@ant-design+fast-color@3.0.1/node_modules/@ant-design/fast-color/es/index.js"),h=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/color-picker/color.js"),_=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/color-picker/components/ColorPresets.js"),b=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),v=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js"),$=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");const y=e=>{const{lineWidth:t,fontSizeIcon:o,calc:n}=e,r=e.fontSizeSM;return(0,v.oX)(e,{tagFontSize:r,tagLineHeight:(0,g.zA)(n(e.lineHeightSM).mul(r).equal()),tagIconSize:n(o).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},x=e=>{const t=(0,_.z)(new h.kf(e.colorBgSolid),"#fff")?"#000":"#fff";return{defaultBg:new f.Y(e.colorFillTertiary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText,solidTextColor:t}},S=(0,$.OF)("Tag",e=>(e=>{const{paddingXXS:t,lineWidth:o,tagPaddingHorizontal:n,componentCls:r,calc:a}=e,i=a(n).sub(o).equal(),s=a(t).sub(o).equal();return{[r]:{...(0,b.dF)(e),display:"inline-block",height:"auto",paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",backgroundColor:e.defaultBg,border:`${(0,g.zA)(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}},"&-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},"&-disabled":{cursor:"not-allowed",[`&:not(${r}-checkable-checked)`]:{color:e.colorTextDisabled,"&:hover":{backgroundColor:"transparent"}},[`&${r}-checkable-checked`]:{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:e.colorBgContainerDisabled,color:e.colorTextDisabled},[`&:not(${r}-checkable-checked):hover`]:{color:e.colorTextDisabled}},"&-group":{display:"flex",flexWrap:"wrap",gap:e.paddingXS}},"&-hidden":{display:"none"},"> svg":{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"},[`> ${e.iconCls} + span, > span + ${e.iconCls}, > svg + span, > span + svg`]:{marginInlineStart:i}},[`&${e.componentCls}-solid`]:{borderColor:"transparent",color:e.colorTextLightSolid,backgroundColor:e.colorBgSolid,[`&${r}-default`]:{color:e.solidTextColor}},[`${r}-filled`]:{borderColor:"transparent",backgroundColor:e.tagBorderlessBg},[`&${r}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",backgroundColor:e.colorBgContainerDisabled,a:{cursor:"not-allowed",pointerEvents:"none",color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}},"a&":{"&:hover, &:active":{color:e.colorTextDisabled}},[`&${r}-outlined`]:{borderColor:e.colorBorderDisabled},[`&${r}-solid, &${r}-filled`]:{color:e.colorTextDisabled,[`${r}-close-icon`]:{color:e.colorTextDisabled}},[`${r}-close-icon`]:{cursor:"not-allowed",color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}}}}})(y(e)),x),C=n.forwardRef((e,t)=>{const{prefixCls:o,style:r,className:a,checked:s,children:l,icon:c,onChange:d,onClick:m,onKeyDown:g,disabled:f,...h}=e,{getPrefixCls:_,tag:b}=n.useContext(u.QO),v=n.useContext(p.A),$=f??v,y=_("tag",o),[x,C]=S(y),w=(0,i.$)(y,`${y}-checkable`,{[`${y}-checkable-checked`]:s,[`${y}-checkable-disabled`]:$},b?.className,a,x,C);return n.createElement("span",{...h,ref:t,role:"checkbox","aria-checked":s,"aria-disabled":$||void 0,tabIndex:$?-1:0,style:{...b?.style,...r},className:w,onClick:e=>{$||(d?.(!s),m?.(e))},onKeyDown:e=>{g?.(e),e.defaultPrevented||$||" "===e.key&&(e.preventDefault(),e.repeat||d?.(!s))}},c,n.createElement("span",null,l))}),w=C;var k=o("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),E=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js");const z=r().forwardRef((e,t)=>{const{id:o,prefixCls:s,rootClassName:d,className:m,style:p,classNames:g,styles:f,disabled:h,options:_,value:b,defaultValue:v,onChange:$,multiple:y,...x}=e,{getPrefixCls:C,direction:z,className:N,style:A,classNames:M,styles:j}=(0,u.TP)("tag"),R=C("tag",s),I=`${R}-checkable-group`,T=(0,E.A)(R),[P,H]=S(R,T),B=(0,l.XT)(A),D=(0,l.XT)(p),[L,O]=(0,l.AV)([M,g],[j,B,f,D],{props:e}),W=(0,n.useMemo)(()=>Array.isArray(_)?_.map(e=>(0,c.Qd)(e)?e:{value:e,label:e}):[],[_]),[F,X]=(0,a.PW)(v,b),q=r().useRef(null);(0,n.useImperativeHandle)(t,()=>({nativeElement:q.current}));const G=(0,a.KE)(x,{aria:!0,data:!0});return r().createElement("div",{...G,className:(0,i.$)(I,N,d,{[`${I}-disabled`]:h,[`${I}-rtl`]:"rtl"===z},P,H,m,L.root),style:O.root,id:o,ref:q},W.map(e=>r().createElement(w,{key:e.value,className:(0,i.$)(`${I}-item`,L.item,e.className),style:{...O.item,...e.style},checked:y?(F||[]).includes(e.value):F===e.value,onChange:t=>((e,t)=>{let o=null;if(y){const n=F||[];o=e?[].concat((0,k.A)(n),[t.value]):n.filter(e=>e!==t.value)}else o=e?t.value:null;X(o),$?.(o)})(t,e),disabled:h},e.label)))});const N=z;var A=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/colors.js");var M=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genPresetColor.js");const j=(0,$.bf)(["Tag","preset"],e=>(e=>(0,M.A)(e,(t,{textColor:o,lightBorderColor:n,lightColor:r,darkColor:a})=>({[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:r,borderColor:n,color:o},[`&${e.componentCls}-solid`]:{backgroundColor:a,borderColor:a,color:e.colorTextLightSolid},[`&${e.componentCls}-filled`]:{backgroundColor:r,color:o}}})))(y(e)),x);const R=(e,t,o)=>{const n="string"!=typeof(r=o)?r:r.charAt(0).toUpperCase()+r.slice(1);var r;return{[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:e[`color${n}Bg`],borderColor:e[`color${n}Border`],color:e[`color${o}`]},[`&${e.componentCls}-solid`]:{backgroundColor:e[`color${o}`],borderColor:e[`color${o}`]},[`&${e.componentCls}-filled`]:{backgroundColor:e[`color${n}Bg`],color:e[`color${o}`]}}}},I=(0,$.bf)(["Tag","status"],e=>{const t=y(e);return[R(t,"success","Success"),R(t,"processing","Info"),R(t,"error","Error"),R(t,"warning","Warning")]},x),T=n.forwardRef((e,t)=>{const{prefixCls:o,className:r,rootClassName:g,style:h,children:_,icon:b,color:v,variant:$,onClose:y,bordered:x,disabled:C,href:w,target:k,styles:E,classNames:z,...N}=e,{getPrefixCls:M,direction:R,className:T,variant:P,style:H,classNames:B,styles:D}=(0,u.TP)("tag");const[L,O,W,F,X]=function(e,t){const{color:o,variant:r,bordered:a}=e;return n.useMemo(()=>{const e=o?.endsWith("-inverse");let n;n=r||(e?"solid":!1===a?"filled":t||"filled");let i=e?o?.replace("-inverse",""):o;void 0===i&&"solid"===n&&(i="default");const s=(0,A.nP)(i),l=(0,A.ZZ)(i),c={};if(!s&&!l&&i)if("solid"===n)c.backgroundColor=o;else{const e=new f.Y(i).toHsl();e.l=.95,c.backgroundColor=new f.Y(e).toHexString(),c.color=o,"outlined"===n&&(c.borderColor=o)}return[n,i,s,l,c]},[o,r,a,t])}(e,P),q=W||F,G=n.useContext(p.A),K=C??G,{tag:V}=n.useContext(u.QO),[Y,Z]=n.useState(!0),U=(0,a.cJ)(N,["closeIcon","closable"]),Q={...e,color:O,variant:L,disabled:K},J=(0,l.XT)(H),ee=(0,l.XT)(h),[te,oe]=(0,l.AV)([B,z],[D,J,E,ee],{props:Q}),ne=n.useMemo(()=>{let e=oe.root;return K||(e={...X,...e}),e},[oe.root,X,K]),re=M("tag",o),[ae,ie]=S(re),se=(0,i.$)(re,T,te.root,`${re}-${L}`,{[`${re}-${O}`]:q,[`${re}-hidden`]:!Y,[`${re}-rtl`]:"rtl"===R,[`${re}-disabled`]:K},r,g,ae,ie),le=e=>{K||(e.stopPropagation(),y?.(e),e.defaultPrevented||(w&&e.preventDefault(),Z(!1)))},ce=e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.repeat||e.currentTarget.click())},[,de]=(0,s.$Z)((0,s.dG)(e),(0,s.dG)(V),{closable:!1,closeIconRender:e=>{const t=n.createElement("span",{role:"button",tabIndex:K?-1:0,"aria-disabled":K||void 0,className:(0,i.$)(`${re}-close-icon`,te.close),onClick:le,onKeyDown:ce,style:oe.close},e);return(0,d.fx)(e,t,e=>({onClick:t=>{e?.onClick?.(t),le(t)},onKeyDown:t=>{e?.onKeyDown?.(t),t.defaultPrevented||ce(t)},role:"button",tabIndex:K?-1:0,"aria-disabled":K||void 0,className:(0,i.$)(e?.className,`${re}-close-icon`,te.close),style:{...oe.close,...e?.style}}))}}),me=(0,c.Tn)(N.onClick)||_&&"a"===_.type,ue=(0,d.Ob)(b,{className:(0,i.$)(n.isValidElement(b)?b.props?.className:void 0,te.icon),style:oe.icon}),pe=ue?n.createElement(n.Fragment,null,ue,(0,a.AZ)(_)&&n.createElement("span",{className:te.content,style:oe.content},_)):_,ge=n.createElement(w?"a":"span",{...U,ref:t,className:se,style:ne,href:K?void 0:w,target:k,onClick:K?void 0:U.onClick,...w&&K?{"aria-disabled":!0}:{}},pe,de,W&&n.createElement(j,{key:"preset",prefixCls:re}),F&&n.createElement(I,{key:"status",prefixCls:re}));return me?n.createElement(m.A,{component:"Tag"},ge):ge}),P=T;P.CheckableTag=w,P.CheckableTagGroup=N;const H=P},"./src/components/fragments/Badge.tsx"(e,t,o){o.r(t);var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/badge/index.js"),i=o("./src/utils/dash3.ts"),s=o("./src/utils/antd.tsx");o.d(t,["default",0,e=>{const{children:t,loading_state:o}=e,n=(0,i.z5)(),l=(0,s.I4)({dot:!1,overflowCount:99,showZero:!1,...e,children:void 0});return l.count=(0,s.LM)(l.count,[...n,"props","count"]),l.text=(0,s.LM)(l.text,[...n,"props","text"]),r().createElement(a.A,{...l,"data-dash-is-loading":(0,i.A_)(o)||void 0},null==t?null:(0,s.Su)(t))}])},"./src/components/fragments/Masonry.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>w});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/@rc-component+motion@1.3.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/motion/es/index.js"),i=o("./node_modules/.pnpm/@rc-component+resize-observer@1.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/resize-observer/es/index.js"),s=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),l=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),m=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/responsiveObserver.js"),u=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),p=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),g=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/hooks/useBreakpoint.js"),f=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/hooks/useGutter.js"),h=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");var _=o("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");const b=r().forwardRef((e,t)=>{const{item:o,style:a,prefixCls:s,itemRender:c,className:d,index:m,column:u,onResize:p}=e,g=`${s}-item`,f=(0,n.useMemo)(()=>o.children??c?.({...o,index:m,column:u}),[o,c,u,m]);let h=r().createElement("div",{ref:t,style:a,className:(0,l.$)(g,d)},f);return p&&(h=r().createElement(i.Ay,{onResize:p},h)),h}),v=(0,h.OF)("Masonry",e=>{const{componentCls:t}=e,o=`${t}-item`;return{[t]:{position:"relative",boxSizing:"border-box",display:"flex",flexDirection:"column",flexWrap:"wrap","&-rtl":{direction:"rtl"},[`& > ${o}`]:{boxSizing:"border-box","&-fade":{"&-appear":{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseOut}`,opacity:0,"&-active":{opacity:1}},"&-leave":{transition:`opacity ${e.motionDurationFast} ${e.motionEaseOut}`,opacity:1,"&-active":{opacity:0}}},[`&:not(${o}-fade)`]:{transition:["left","right","top"].map(t=>`${t} ${e.motionDurationSlow} ${e.motionEaseOut}`).join(",")}}}}});const $=n.forwardRef((e,t)=>{const{rootClassName:o,className:r,style:$,classNames:y,styles:x,columns:S,prefixCls:C,gutter:w=0,items:k,itemRender:E,onLayoutChange:z,fresh:N}=e,{getPrefixCls:A,direction:M,className:j,style:R,classNames:I,styles:T}=(0,u.TP)("masonry"),P=A("masonry",C),H=A(),B=(0,p.A)(P),[D,L]=v(P,B),[O,W]=(0,h.PN)(H,"masonry"),F=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:F.current}));const[X,q]=function(){const e=n.useRef(null);return null===e.current&&(e.current=new Map),[(t,o)=>{e.current.set(t,o)},t=>e.current.get(t)]}(),[G,K]=n.useState([]);n.useEffect(()=>{K(k||[])},[k]);const V=(0,g.A)(),Y=(0,f.A)(w,V),[Z=0,U=Z]=Y,Q=n.useMemo(()=>{if(!S)return 3;if((0,d.Et)(S))return S;const e=m.ye.find(e=>V[e]&&void 0!==S[e]);return e?S[e]:S.xs??1},[S,V]),J={...e,columns:Q},ee=(0,c.XT)(R),te=(0,c.XT)($),[oe,ne]=(0,c.AV)([I,y],[T,ee,x,te],{props:J}),[re,ae]=n.useState([]),ie=function(e){const t=n.useRef(0),o=()=>{s.er.cancel(t.current)};return n.useEffect(()=>o,[]),(0,s._q)(()=>{o(),t.current=(0,s.er)(e)})}(()=>{const e=G.map((e,t)=>{const o=e.key??t,n=q(o),r=n?.getBoundingClientRect();return[o,r?r.height:0,e.column]});ae(t=>(0,s.n4)(t,e)?t:e)}),[se,le]=function(e,t,o){const[r,a]=n.useMemo(()=>{const n=new Array(t).fill(0),r=new Map;for(let a=0;a<e.length;a+=1){const[i,s,l]=e[a];let c=l??n.indexOf(Math.min.apply(Math,(0,_.A)(n)));c=Math.min(c,t-1),r.set(i,{column:c,top:n[c]}),n[c]+=s+o}return[r,Math.max(0,Math.max.apply(Math,(0,_.A)(n))-o)]},[t,e,o]);return[r,a]}(re,Q,U),ce=n.useMemo(()=>G.map((e,t)=>{const o=e.key??t;return{item:e,itemIndex:t,itemKey:o,key:o,position:se.get(o)}}),[G,se]);n.useEffect(()=>{ie()},[G,Q]);const[de,me]=n.useState([]);return(0,s.Nf)(()=>{z&&ce.every(({position:e})=>e)&&me(e=>{const t=ce.map(({item:e,position:t})=>[e,t.column]);return(0,s.n4)(e,t)?e:t})},[ce]),(0,s.Nf)(()=>{z&&k&&k.length===de.length&&z(de.map(([e,t])=>({...e,column:t})))},[de]),n.createElement(i.Ay,{onResize:ie},n.createElement("div",{ref:F,className:(0,l.$)(P,j,oe.root,o,r,D,L,{[`${P}-rtl`]:"rtl"===M}),style:{height:le,...ne.root},onLoad:ie,onError:ie},n.createElement(a.aF,{keys:ce,component:!1,motionAppear:!0,motionLeave:!0,motionName:`${P}-item-fade`},(e,t)=>{const{item:o,itemKey:r,position:a={},itemIndex:i,key:c,className:d,style:m}=e,{column:u=0}=a,p={[O("item-width")]:`calc((100% + ${Z}px) / ${Q})`,insetInlineStart:`calc(${W("item-width")} * ${u})`,width:`calc(${W("item-width")} - ${Z}px)`,top:a.top,position:"absolute"};return n.createElement(b,{prefixCls:P,key:c,item:o,style:{...m,...ne.item,...p},className:(0,l.$)(oe.item,d),ref:(0,s.K4)(t,e=>X(r,e)),index:i,itemRender:E,column:u,onResize:N?ie:null})})))});var y=o("./src/utils/antd.tsx"),x=o("./src/utils/dash3.ts"),S=o("./src/utils/funcs.ts");const C=e=>{const t=(0,y.P5)(e);return delete t.layoutData,t},w=e=>{const{children:t,id:o,items:n,itemRender:a,loading_state:i,setProps:s}=e,l=(0,x.z5)(),c=$,d=new Map,m=Array.isArray(n)?n.map((e,t)=>{if(!e||"object"!=typeof e)return e;const o=e,n=[...l,"props","items",t],{children:r,...a}=(0,y.P5)(o);return void 0!==o.key&&(a.key=o.key),null!=r&&d.set(a.key??t,(0,y.LM)(r,[...n,"children"])),a}):n,u=(0,S.qF)(a,{props:e});return r().createElement(c,{...C(e),items:m,itemRender:d.size||u?e=>{const t=e.key??e.index;return d.has(t)?d.get(t):"function"==typeof u?(0,y.LM)(u(e),[...l,"props","itemRender",t]):null}:void 0,classNames:(0,S.qF)(e.classNames,{props:e}),styles:(0,S.qF)(e.styles,{props:e}),onLayoutChange:null!=o&&s?e=>{s?.({layoutData:e.map(({key:e,column:t})=>({key:e,column:t}))})}:void 0,"data-dash-is-loading":(0,x.A_)(i)||void 0},t)}},"./src/components/fragments/Ribbon.tsx"(e,t,o){o.r(t);var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/badge/index.js"),i=o("./src/utils/object.ts"),s=o("./src/utils/dash3.ts"),l=o("./src/utils/antd.tsx");o.d(t,["default",0,({children:e,placement:t="end",loading_state:o,text:n,...c})=>{const d=(0,s.z5)();return r().createElement(a.A.Ribbon,{placement:t,text:(0,l.LM)(n,[...d,"props","text"]),"data-dash-is-loading":(0,s.A_)(o)||void 0,...(0,i.c)(["setProps"],c)},r().createElement("div",{style:{width:"100%"}},e))}])},"./src/components/fragments/Splitter.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>L});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");const i=(0,n.forwardRef)((e,t)=>{const{prefixCls:o,className:n,children:i,destroyOnHidden:s=!1,size:l,style:c,supportMotion:d}=e,m=0===l||"string"==typeof l&&0===Number.parseFloat(l),u=(0,a.$)(`${o}-panel`,{[`${o}-panel-hidden`]:m,[`${o}-panel-transition`]:d},n),p=void 0!==l;return r().createElement("div",{ref:t,className:u,style:{...c,flexBasis:p?l:"auto",flexGrow:p?0:1}},!(s&&m)&&i)});const s=()=>null;var l=o("./node_modules/.pnpm/@rc-component+resize-observer@1.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/resize-observer/es/index.js"),c=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useOrientation.js"),m=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),u=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),p=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),g=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js");function f(e){if((0,u.Qd)(e))return{...e,showCollapsibleIcon:void 0===e.showCollapsibleIcon?"auto":e.showCollapsibleIcon};const t=!!e;return{start:t,end:t,showCollapsibleIcon:"auto"}}const h=function(e){return n.useMemo(()=>(0,c.$r)(e).filter(e=>n.isValidElement(e)).map(e=>{const{props:t}=e,{collapsible:o,...n}=t;return{...n,collapsible:f(o)}}),[e])};function _(e,t){return e.collapsible&&t.collapsible?!0===e.showCollapsibleIcon||!0===t.showCollapsibleIcon||("auto"===e.showCollapsibleIcon||"auto"===t.showCollapsibleIcon)&&"auto":e.collapsible?e.showCollapsibleIcon:!!t.collapsible&&t.showCollapsibleIcon}var b=o("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");function v(e,t,o){let n=0;const r=[];e.forEach((e,t)=>{void 0===e?r.push(t):n+=e});const a=1-n,i=r.length;if(e.length&&!r.length&&1!==n){if(0===n){const t=1/e.length;return e.map(()=>t)}const r=1/n;return function(e,t,o){const n=e.map((e,o)=>0===e?0:t[o]??0),r=e.map((e,t)=>0===e?0:o[t]??1),a=n.some((e,t)=>e>r[t]),i=n.reduce((e,t)=>e+t,0),s=r.reduce((e,t)=>e+t,0);if(a||i>1||s<1)return e;const l=e.map((e,t)=>Math.min(r[t],Math.max(n[t],e))),c=l.reduce((e,t)=>e+t,0);if(1===c)return l;const d=c<1,m=l.map((e,t)=>d?r[t]-e:e-n[t]),u=m.reduce((e,t)=>e+t,0),p=1-c;return l.map((e,t)=>e+p*(m[t]/u))}(e.map(e=>e*r),t,o)}if(a<0){const t=1/n;return e.map(e=>void 0===e?0:e*t)}let s=0,l=0,c=0,d=1;for(const e of r){const n=t[e]||0,r=o[e]||1;s+=n,l+=r,c=Math.max(c,n),d=Math.min(d,r)}if(s>1&&l<1){const t=1/i;return e.map(e=>void 0===e?t:e)}const m=a/i;if(c<=m&&m<=d)return e.map(e=>void 0===e?m:e);const u=(0,b.A)(e);let p=a-s;for(let e=0;e<i;e+=1){const n=r[e],a=t[n]||0,i=o[n]||1;u[n]=a;const s=Math.min(i-a,p);u[n]+=s,p-=s}return u}function $(e){return Number(e.slice(0,-1))/100}function y(e){return"string"==typeof e&&e.endsWith("%")}var x=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/DownOutlined.js"),S=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/LeftOutlined.js"),C=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RightOutlined.js"),w=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/UpOutlined.js"),k=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");const E=e=>(0,u.Et)(e)&&Number.isFinite(e)?Math.round(e):0,z=e=>{const{prefixCls:t,rootPrefixCls:o,vertical:i,index:s,active:l,ariaNow:d,ariaMin:m,ariaMax:u,resizable:p,draggerIcon:g,draggerStyle:f,draggerClassName:h,collapsibleIcon:_,startCollapsible:b,endCollapsible:v,onDraggerDoubleClick:$,onOffsetStart:y,onOffsetUpdate:z,onOffsetEnd:N,onCollapse:A,lazy:M,containerSize:j,showStartCollapsibleIcon:R,showEndCollapsibleIcon:I}=e,T=`${t}-bar`,P=(0,n.useRef)(0),[H]=(0,k.PN)(o,"splitter"),[B,D]=(0,n.useState)(null),[L,O]=(0,n.useState)(0),W=i?0:L,F=i?L:0,X=(0,c._q)((e,t)=>{const o=(e=>{const t=j*d/100,o=t+e,n=Math.max(0,j*m/100),r=Math.min(j,j*u/100);return Math.max(n,Math.min(r,o))-t})(i?t:e);O(o)}),q=(0,c._q)(()=>{z(s,W,F,!0),O(0),N(!0)}),G=(e,t)=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),A(s,t))},K=e=>{switch(e){case!0:return`${T}-collapse-bar-always-visible`;case!1:return`${T}-collapse-bar-always-hidden`;case"auto":return`${T}-collapse-bar-hover-only`}};(0,c.Nf)(()=>{if(!B)return;const e={mousemove:e=>{const{pageX:t,pageY:o}=e,n=t-B[0],r=o-B[1];M?X(n,r):z(s,n,r)},mouseup:()=>{M?q():N(),D(null)},touchmove:e=>{if(1===e.touches.length){const t=e.touches[0],o=t.pageX-B[0],n=t.pageY-B[1];M?X(o,n):z(s,o,n)}},touchend:()=>{M?q():N(),D(null)}};for(const[t,o]of Object.entries(e))window.addEventListener(t,o);return()=>{for(const[t,o]of Object.entries(e))window.removeEventListener(t,o)}},[B,s,M]);const V={[H("bar-preview-offset")]:`${L}px`},[Y,Z,U,Q]=r().useMemo(()=>{let e=null,t=null;const o=void 0!==_?.start,n=void 0!==_?.end;return i?(e=o?_.start:r().createElement(w.A,null),t=n?_.end:r().createElement(x.A,null)):(e=o?_.start:r().createElement(S.A,null),t=n?_.end:r().createElement(C.A,null)),[e,t,o,n]},[_,i]);return r().createElement("div",{className:T},M&&r().createElement("div",{className:(0,a.$)(`${T}-preview`,{[`${T}-preview-active`]:!!L}),style:V}),r().createElement("div",{style:f?.default,className:(0,a.$)(`${T}-dragger`,{[`${T}-dragger-disabled`]:!p,[`${T}-dragger-active`]:l,[`${T}-dragger-customize`]:void 0!==g},h?.default,l&&h?.active),onMouseDown:e=>{e.stopPropagation();const t=Date.now(),o=t-P.current;o>0&&o<300||(P.current=t,p&&e.currentTarget&&(D([e.pageX,e.pageY]),y(s)))},onTouchStart:e=>{if(p&&1===e.touches.length){const t=e.touches[0];D([t.pageX,t.pageY]),y(s)}},onDoubleClick:()=>$?.(s),role:"separator","aria-disabled":!p,"aria-orientation":i?"horizontal":"vertical","aria-valuenow":E(d),"aria-valuemin":E(m),"aria-valuemax":E(u)},void 0!==g?r().createElement("div",{className:(0,a.$)(`${T}-dragger-icon`)},g):null),b&&r().createElement("div",{className:(0,a.$)(`${T}-collapse-bar`,`${T}-collapse-bar-start`,{[`${T}-collapse-bar-customize`]:U},K(R)),role:"button",tabIndex:0,"aria-label":"Toggle start panel",onClick:()=>A(s,"start"),onKeyDown:e=>G(e,"start")},r().createElement("span",{className:(0,a.$)(`${T}-collapse-icon`,`${T}-collapse-start`)},Y)),v&&r().createElement("div",{className:(0,a.$)(`${T}-collapse-bar`,`${T}-collapse-bar-end`,{[`${T}-collapse-bar-customize`]:Q},K(I)),role:"button",tabIndex:0,"aria-label":"Toggle end panel",onClick:()=>A(s,"end"),onKeyDown:e=>G(e,"end")},r().createElement("span",{className:(0,a.$)(`${T}-collapse-icon`,`${T}-collapse-end`)},Z)))};var N=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),A=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/motion/util.js");const M={position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"},j=(0,k.OF)("Splitter",e=>{const{componentCls:t,colorFill:o,splitBarDraggableSize:n,splitBarSize:r,splitTriggerSize:a,controlItemBgHover:i,controlItemBgActive:s,controlItemBgActiveHover:l,colorPrimary:c,antCls:d,calc:m}=e,[,u]=(0,k.PN)(d,"splitter"),p=`${t}-bar`,g=`${t}-mask`,f=`${t}-panel`,h=m(a).div(2).equal(),_={position:"absolute",background:e.colorPrimary,opacity:.2,pointerEvents:"none",transition:"none",zIndex:1,display:"none"};return{[t]:{...(0,N.dF)(e),display:"flex",width:"100%",height:"100%",alignItems:"stretch",[`> ${p}`]:{flex:"none",position:"relative",userSelect:"none",[`${p}-dragger`]:{...M,zIndex:1,"&::before":{content:'""',background:i,...M},"&::after":{content:'""',background:o,...M},[`&:hover:not(${p}-dragger-active)`]:{"&::before":{background:s}},"&-active":{zIndex:2,"&::before":{background:l}},[`&-active${p}-dragger-customize`]:{[`${p}-dragger-icon`]:{color:c}},[`&-disabled${p}-dragger`]:{zIndex:0,"&, &:hover, &-active":{cursor:"default","&::before":{background:i}},"&::after":{display:"none"},[`${p}-dragger-icon`]:{display:"none"}},"&-customize":{[`${p}-dragger-icon`]:{...M,display:"flex",alignItems:"center",color:o},"&::after":{display:"none"}}},[`${p}-collapse-bar`]:{...M,zIndex:e.zIndexPopupBase,background:i,fontSize:e.fontSizeSM,borderRadius:e.borderRadiusXS,color:e.colorText,cursor:"pointer",opacity:0,display:"flex",alignItems:"center",justifyContent:"center","&:focus-visible":(0,N.jk)(e),[`&:hover:not(${p}-collapse-bar-customize)`]:{background:s},[`&:active:not(${p}-collapse-bar-customize)`]:{background:l},[`${p}-collapse-icon`]:{display:"flex",alignItems:"center"}},[`${p}-collapse-bar-customize`]:{background:"transparent"},"&:hover, &:active, &:focus-within":{[`${p}-collapse-bar-hover-only`]:{opacity:1}},[`${p}-collapse-bar-hover-only`]:{"@media(hover:none)":{opacity:1}},[`${p}-collapse-bar-always-hidden`]:{display:"none"},[`${p}-collapse-bar-always-visible`]:{opacity:1}},[g]:{position:"fixed",zIndex:e.zIndexPopupBase,inset:0,"&-horizontal":{cursor:"col-resize"},"&-vertical":{cursor:"row-resize"}},"&-horizontal":{flexDirection:"row",[`> ${p}`]:{width:0,[`${p}-preview`]:{height:"100%",width:r,..._,[`&${p}-preview-active`]:{display:"block",transform:`translate3d(${u("bar-preview-offset")}, 0, 0)`}},[`${p}-dragger`]:{cursor:"col-resize",height:"100%",width:a,"&::before":{height:"100%",width:r},"&::after":{height:n,width:r}},[`${p}-collapse-bar`]:{width:e.fontSizeSM,height:e.controlHeightSM,"&-start":{left:{_skip_check_:!0,value:"auto"},right:{_skip_check_:!0,value:h},transform:"translateY(-50%)"},"&-end":{left:{_skip_check_:!0,value:h},right:{_skip_check_:!0,value:"auto"},transform:"translateY(-50%)"}}}},"&-vertical":{flexDirection:"column",[`> ${p}`]:{height:0,[`${p}-preview`]:{height:r,width:"100%",..._,[`&${p}-preview-active`]:{display:"block",transform:`translate3d(0, ${u("bar-preview-offset")}, 0)`}},[`${p}-dragger`]:{cursor:"row-resize",width:"100%",height:a,"&::before":{width:"100%",height:r},"&::after":{width:n,height:r}},[`${p}-collapse-bar`]:{height:e.fontSizeSM,width:e.controlHeightSM,"&-start":{top:"auto",bottom:h,transform:"translateX(-50%)"},"&-end":{top:h,bottom:"auto",transform:"translateX(-50%)"}}}},[f]:{overflow:"auto",scrollbarWidth:"thin",boxSizing:"border-box","&-hidden":{overflow:"hidden"},[`&:has(${t}:only-child)`]:{overflow:"hidden"},"&-transition":{transition:`flex-basis ${e.motionDurationSlow} ${e.motionEaseInOut}`,...(0,A.V)()}}}}},e=>{const t=e.resizeSpinnerSize||20;return{splitBarSize:e.splitBarSize||2,splitTriggerSize:e.splitTriggerSize||6,splitBarDraggableSize:e.splitBarDraggableSize??t,resizeSpinnerSize:t}}),R=(e,t)=>{const{prefixCls:o,className:s,classNames:f,collapsible:x,style:S,styles:C,layout:w,orientation:k,vertical:E,children:N,destroyOnHidden:A,draggerIcon:M,collapsibleIcon:R,rootClassName:I,onDraggerDoubleClick:T,onResizeStart:P,onResize:H,onResizeEnd:B,lazy:D}=e,{getPrefixCls:L,direction:O,className:W,style:F,classNames:X,styles:q}=(0,p.TP)("splitter"),G=L("splitter",o),K=L(),V=(0,g.A)(G),[Y,Z]=j(G,V),[U,Q]=(0,d.M)(k,E,w),J="rtl"===O,ee=!Q&&J,te=h(N);const[oe,ne]=(0,n.useState)(),[re,ae,ie,se,le,ce]=function(e,t){const o=e.map(e=>e.size),n=e.length,a=t||0,i=e=>e*a,[s,l]=r().useState(()=>e.map(e=>e.defaultSize)),d=r().useMemo(()=>o.some(c.R)?o:s,[n,s,o]),m=r().useMemo(()=>e.map(e=>y(e.min)?$(e.min):(e.min||0)/a),[e,a]),u=r().useMemo(()=>e.map(e=>y(e.max)?$(e.max):(e.max||a)/a),[e,a]),p=r().useMemo(()=>{const e=[];for(let t=0;t<n;t+=1){const o=d[t];if(y(o))e[t]=$(o);else if(o||0===o){const n=Number(o);Number.isNaN(n)||(e[t]=n/a)}else e[t]=void 0}return v(e,m,u)},[n,d,a,m,u]),g=r().useMemo(()=>p.map(i),[p,a]);return[r().useMemo(()=>t?g:d,[g,d,t]),g,p,m,u,l]}(te,oe),de=function(e,t,o){return n.useMemo(()=>{const n=[];for(let r=0;r<e.length-1;r+=1){const a=e[r],i=e[r+1],s=t[r],l=t[r+1],{resizable:c=!0,min:d,collapsible:m}=a,{resizable:u=!0,min:p,collapsible:g}=i,f=c&&u&&(0!==s||!d)&&(0!==l||!p),h=!!m.end&&s>0,b=!!g.start&&0===l&&s>0,v=h||b,$=!!g.start&&l>0,y=!!m.end&&0===s&&l>0,x=$||y,S=_({collapsible:h,showCollapsibleIcon:m.showCollapsibleIcon},{collapsible:b,showCollapsibleIcon:g.showCollapsibleIcon}),C=_({collapsible:$,showCollapsibleIcon:g.showCollapsibleIcon},{collapsible:y,showCollapsibleIcon:m.showCollapsibleIcon});n[r]={resizable:f,startCollapsible:!!(o?x:v),endCollapsible:!!(o?v:x),showStartCollapsibleIcon:o?C:S,showEndCollapsibleIcon:o?S:C}}return n},[t,e,o])}(te,ae,ee),[me,ue,pe,ge,fe]=function(e,t,o,r,a,i){const s=e.map(e=>[e.min,e.max]),l=r||0,c=e=>e*l;function d(e,t){return"string"==typeof e?c($(e)):e??t}const[m,u]=n.useState([]),p=n.useRef([]),[g,f]=n.useState(null),h=()=>o.map(c);return[e=>{u(h()),f({index:e,confirmed:!1})},(e,o)=>{let n=null;if(!(g&&g.confirmed||0===o))if(o>0)n=e,f({index:e,confirmed:!0});else for(let o=e;o>=0;o-=1)if(m[o]>0&&t[o].resizable){n=o,f({index:o,confirmed:!0});break}const r=n??g?.index??e,i=(0,b.A)(m),c=r+1,u=d(s[r][0],0),p=d(s[c][0],0),h=d(s[r][1],l),_=d(s[c][1],l);let v=o;return i[r]+v<u&&(v=u-i[r]),i[c]-v<p&&(v=i[c]-p),i[r]+v>h&&(v=h-i[r]),i[c]-v>_&&(v=i[c]-_),i[r]+=v,i[c]-=v,a(i),i},()=>{f(null)},(e,t)=>{const o=h(),n=i?"start"===t?"end":"start":t,r="start"===n?e:e+1,c="start"===n?e+1:e,m=o[r],u=o[c];if(0!==m&&0!==u)o[r]=0,o[c]+=m,p.current[e]=m;else{const t=m+u,n=d(s[r][0],0),a=d(s[r][1],l),i=d(s[c][0],0),g=d(s[c][1],l),f=Math.max(n,t-g),h=Math.min(a,t-i),_=i||(h-f)/2,b=p.current[e],v=t-b;b&&b<=g&&b>=i&&v<=a&&v>=n?(o[c]=b,o[r]=v):(o[r]-=_,o[c]+=_)}return a(o),o},g?.index]}(te,de,ie,oe,ce,ee),he=(0,c._q)(e=>{me(e),P?.(ae)}),_e=(0,c._q)((e,t,o)=>{const n=ue(e,t);o?B?.(n):H?.(n)}),be=(0,c._q)(e=>{pe(),e||B?.(ae)}),ve=(0,c._q)((t,o)=>{const n=ge(t,o);H?.(n),B?.(n);const r=n.map(e=>Math.abs(e)<Number.EPSILON);e.onCollapse?.(r,n)}),$e={...e,vertical:Q,orientation:U},ye=(0,m.XT)(F),xe=(0,m.XT)(S),[Se,Ce]=(0,m.AV)([X,f],[q,ye,C,xe],{props:$e},{dragger:{_default:"default"}}),we=(0,a.$)(G,s,`${G}-${U}`,{[`${G}-rtl`]:J},I,Se.root,W,Z,V,Y),ke=r().useRef(null);r().useImperativeHandle(t,()=>({nativeElement:ke.current}));const Ee=`${G}-mask`,ze=r().useMemo(()=>{const e=[];let t=0;const o=te.length;for(let n=0;n<o;n+=1)t+=ie[n],e.push(t);return e},[ie,te.length]);return r().createElement(l.Ay,{onResize:e=>{const{offsetWidth:t,offsetHeight:o}=e,n=Q?o:t;0!==n&&ne(n)}},r().createElement("div",{ref:ke,style:Ce.root,className:we},te.map((e,t)=>{const o={...e,className:(0,a.$)(Se.panel,e.className),style:{...Ce.panel,...e.style}},n=r().createElement(i,{...o,prefixCls:G,size:re[t],supportMotion:x?.motion&&void 0===fe,destroyOnHidden:e.destroyOnHidden??A});let s=null;const l=de[t];if(l){const e=Number.isFinite(ze[t-1])?ze[t-1]:0,o=Number.isFinite(ze[t+1])?ze[t+1]:1,n=e+se[t],a=o-le[t+1],i=e+le[t],c=o-se[t+1];s=r().createElement(z,{lazy:D,index:t,active:fe===t,prefixCls:G,rootPrefixCls:K,vertical:Q,resizable:l.resizable,draggerStyle:Ce.dragger,draggerClassName:Se.dragger,draggerIcon:M,collapsibleIcon:x?.icon||R,ariaNow:100*ze[t],ariaMin:100*Math.max(n,a),ariaMax:100*Math.min(i,c),startCollapsible:l.startCollapsible,endCollapsible:l.endCollapsible,showStartCollapsibleIcon:l.showStartCollapsibleIcon,showEndCollapsibleIcon:l.showEndCollapsibleIcon,onDraggerDoubleClick:T,onOffsetStart:he,onOffsetUpdate:(e,t,o,n)=>{let r=Q?o:t;ee&&(r=-r),_e(e,r,n)},onOffsetEnd:be,onCollapse:ve,containerSize:oe||0})}return r().createElement(r().Fragment,{key:`split-panel-${t}`},n,s)}),(0,u.Et)(fe)&&r().createElement("div",{"aria-hidden":!0,className:(0,a.$)(Ee,`${Ee}-${U}`)})))};const I=r().forwardRef(R);I.Panel=s;const T=I;var P=o("./src/utils/object.ts"),H=o("./src/utils/dash3.ts"),B=o("./src/utils/funcs.ts");const D=e=>{if(!r().isValidElement(e))return{};try{const t=(0,H.t9)(e);if(t&&"object"==typeof t)return t}catch{}return e.props||{}},L=({children:e,orientation:t="horizontal",classNames:o,styles:a,loading_state:i,n_resize_end:s=0,n_collapse:l=0,n_dragger_double_click:c=0,sizes:d,collapsed:m,setProps:u,...p})=>{const g=(0,n.useMemo)(()=>r().Children.map(e,e=>D(e).size)||[],[e]),[f,h]=(0,n.useState)(void 0!==d?d:g.some(e=>void 0!==e)?g:void 0),_=(0,n.useRef)({resizes:s,collapses:l,draggerDoubleClicks:c});(0,n.useEffect)(()=>{_.current.resizes=Math.max(_.current.resizes,s),_.current.collapses=Math.max(_.current.collapses,l),_.current.draggerDoubleClicks=Math.max(_.current.draggerDoubleClicks,c)},[l,c,s]),(0,n.useEffect)(()=>{void 0!==d&&h(d)},[d]);const b=(0,n.useMemo)(()=>({props:{...p,orientation:t,classNames:o,styles:a}}),[o,t,p,a]),v=(0,n.useCallback)(e=>{h(e)},[]),$=(0,n.useCallback)(e=>{_.current.resizes+=1,h(e),u?.({sizes:e,n_resize_end:_.current.resizes})},[u]),y=(0,n.useCallback)((e,t)=>{_.current.collapses+=1,h(t),u?.({collapsed:e,sizes:t,n_collapse:_.current.collapses})},[u]),x=(0,n.useCallback)(e=>{_.current.draggerDoubleClicks+=1,u?.({draggerDoubleClickIndex:e,n_dragger_double_click:_.current.draggerDoubleClicks})},[u]);return r().createElement(T,{orientation:t,classNames:(0,B.qF)(o,b),styles:(0,B.qF)(a,b),onResize:v,onResizeEnd:$,onCollapse:y,onDraggerDoubleClick:x,"data-dash-is-loading":(0,H.A_)(i)||void 0,...(0,P.c)(["setProps","sizes","collapsed","persistence","persisted_props","persistence_type","draggerDoubleClickIndex","n_resize_end","n_collapse","n_dragger_double_click"],p)},r().Children.map(e,(e,t)=>{if(r().isValidElement(e)){const o=D(e),n=(0,H.lK)((0,P.c)(["children"],o),[]),a=m?.[t]?0:f?.[t];return void 0!==a&&(n.size=a),r().createElement(T.Panel,{...n,key:t},e)}}))}},"./src/components/fragments/async/dataDisplay/Avatar.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/avatar/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{children:t,icon:o,loading_state:n,n_clicks:l,n_error:c,setProps:d,src:m}=e,u=(0,i.P5)(e);delete u.n_error;const p=a.A;return r().createElement(p,{...u,src:(0,i.lq)(m),icon:(0,i.lq)(o),onClick:()=>d?.({n_clicks:(l||0)+1}),onError:()=>(d?.({n_error:(c||0)+1}),!0),"data-dash-is-loading":(0,s.A_)(n)||void 0},(0,i.lq)(t))},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/AvatarGroup.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/avatar/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>r().createElement(a.A.Group,{...(0,i.I4)(e),"data-dash-is-loading":(0,s.A_)(e.loading_state)||void 0},(0,i.lq)(e.children)),c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Card.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/card/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{actions:t,activeTabKey:o,children:n,cover:l,extra:c,loading_state:d,setProps:m,tabBarExtraContent:u,title:p}=e,g=(0,s.z5)(),f=(0,i.I4)(e),h=(0,i.uK)(f.tabList,["label","tab","icon","children"],[...g,"props","tabList"]),_=a.A;return r().createElement(_,{...f,actions:(0,i.lq)(t),activeTabKey:o,cover:(0,i.lq)(l),extra:(0,i.lq)(c),tabList:h,tabBarExtraContent:(0,i.lq)(u),title:(0,i.lq)(p),onTabChange:e=>m?.({activeTabKey:e}),"data-dash-is-loading":(0,s.A_)(d)||void 0},(0,i.lq)(n))},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/CardGrid.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/card/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>r().createElement(a.A.Grid,{...(0,i.P5)(e),"data-dash-is-loading":(0,s.A_)(e.loading_state)||void 0},(0,i.lq)(e.children)),c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/CardMeta.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/card/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const t=(0,i.I4)(e);return r().createElement(a.A.Meta,{...t,avatar:(0,i.lq)(e.avatar),title:(0,i.lq)(e.title),description:(0,i.lq)(e.description),"data-dash-is-loading":(0,s.A_)(e.loading_state)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/CheckableTag.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tag/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>r().createElement(a.A.CheckableTag,{...(0,i.I4)(e),checked:e.checked||!1,onChange:t=>e.setProps?.({checked:t}),"data-dash-is-loading":(0,s.A_)(e.loading_state)||void 0},(0,i.lq)(e.children)),c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/CheckableTagGroup.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tag/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const t=(0,s.z5)(),o=(0,n.useMemo)(()=>(0,i.uK)(e.options,["label"],[...t,"props","options"]),[t,e.options]);return r().createElement(a.A.CheckableTagGroup,{...(0,i.I4)(e),options:o,onChange:t=>e.setProps?.({value:t}),"data-dash-is-loading":(0,s.A_)(e.loading_state)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Collapse.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/collapse/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{activeKey:t,items:o,loading_state:l,setProps:c}=e,d=(0,s.z5)(),m=a.A,u=(0,i.I4)(e);u.expandIcon=(0,i.ds)(u.expandIcon,["props","expandIcon"],!0);const p=(0,n.useMemo)(()=>(0,i.uK)(o,["label","children","extra"],[...d,"props","items"]),[d,o]);return r().createElement(m,{...u,items:p,activeKey:t,onChange:e=>c?.({activeKey:e}),"data-dash-is-loading":(0,s.A_)(l)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Descriptions.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>j});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),l=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/responsiveObserver.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),m=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),u=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/hooks/useBreakpoint.js");const p={xxxl:4,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},g=r().createContext(null);function f(e,t,o){const r=n.useMemo(()=>t||(0,a.$r)(o).map(e=>({...e?.props,key:e.key})),[t,o]);return n.useMemo(()=>r.map(({span:t,...o})=>"filled"===t?{...o,filled:!0}:{...o,span:(0,l.Et)(t)?t:(0,c.ko)(e,t)}),[r,e])}const h=(e,t)=>{const[o,r]=(0,n.useMemo)(()=>function(e,t){let o=[],n=[],r=!1,a=0;return e.filter(e=>e).forEach(e=>{const{filled:i,...s}=e;if(i)return n.push(s),o.push(n),n=[],void(a=0);const l=t-a;a+=e.span||1,a>=t?(a>t?(r=!0,n.push({...s,span:l})):n.push(s),o.push(n),n=[],a=0):n.push(s)}),n.length>0&&o.push(n),o=o.map(e=>{const o=e.reduce((e,t)=>e+(t.span||1),0);if(o<t){const n=e[e.length-1];return n.span=t-(o-(n.span||1)),e}return e}),[o,r]}(t,e),[t,e]);return o},_=e=>e.children,b=e=>{const{itemPrefixCls:t,component:o,span:n,className:l,style:c,labelStyle:d,contentStyle:m,bordered:u,label:p,content:f,colon:h,type:_,styles:b,classNames:v}=e,$=o,{classNames:y,styles:x}=r().useContext(g),[S,C]=(0,s.AV)([y,v],[x,b],{props:e}),w={...d,...C.label},k={...m,...C.content};if(u){let e;"label"===_&&(e=w),"content"===_&&(e=k);const o=e?{...c,...e}:c;return r().createElement($,{colSpan:n,style:o,className:(0,i.$)(l,{[`${t}-item-${_}`]:"label"===_||"content"===_,[S.label]:S.label&&"label"===_,[S.content]:S.content&&"content"===_})},(0,a.AZ)(p)&&r().createElement("span",null,p),(0,a.AZ)(f)&&r().createElement("span",null,f))}return r().createElement($,{className:(0,i.$)(`${t}-item`,l),style:c,colSpan:n},r().createElement("div",{className:`${t}-item-container`},(0,a.AZ)(p)&&r().createElement("span",{style:w,className:(0,i.$)(`${t}-item-label`,S.label,{[`${t}-item-no-colon`]:!h})},p),(0,a.AZ)(f)&&r().createElement("span",{style:k,className:(0,i.$)(`${t}-item-content`,S.content)},f)))};function v(e,{colon:t,prefixCls:o,bordered:r},{component:a,type:i,showLabel:s,showContent:l,labelStyle:c,contentStyle:d,styles:m}){return e.map(({label:e,children:u,prefixCls:p=o,className:g,style:f,labelStyle:h,contentStyle:_,span:v=1,key:$,styles:y,classNames:x},S)=>{const C=$??S;if("string"==typeof a)return n.createElement(b,{key:`${i}-${C}`,className:g,style:f,classNames:x,styles:{label:{...c,...m?.label,...h,...y?.label},content:{...d,...m?.content,..._,...y?.content}},span:v,colon:t,component:a,itemPrefixCls:p,bordered:r,label:s?e:null,content:l?u:null,type:i});const w={label:{...c,...m?.label,...h,...y?.label},content:{...d,...m?.content,..._,...y?.content}};return[n.createElement(b,{key:`label-${C}`,className:g,style:f,classNames:x,styles:w,span:1,colon:t,component:a[0],itemPrefixCls:p,bordered:r,label:e,type:"label"}),n.createElement(b,{key:`content-${C}`,className:g,style:f,classNames:x,styles:w,span:2*v-1,component:a[1],itemPrefixCls:p,bordered:r,content:u,type:"content"})]})}const $=e=>{const t=n.useContext(g),{prefixCls:o,vertical:r,row:a,index:i,bordered:s}=e;return r?n.createElement(n.Fragment,null,n.createElement("tr",{key:`label-${i}`,className:`${o}-row`},v(a,e,{component:"th",type:"label",showLabel:!0,...t})),n.createElement("tr",{key:`content-${i}`,className:`${o}-row`},v(a,e,{component:"td",type:"content",showContent:!0,...t}))):n.createElement("tr",{key:i,className:`${o}-row`},v(a,e,{component:s?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,...t}))};var y=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),x=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),S=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),C=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const w=e=>{const{componentCls:t,labelBg:o}=e,n=`> ${t}-view > table > tbody > ${t}-row`;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${(0,y.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto"},[`> table > tbody > ${t}-row`]:{borderBottom:`${(0,y.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:first-child":{"> th:first-child, > td:first-child":{borderStartStartRadius:e.borderRadiusLG}},"&:last-child":{borderBottom:"none","> th:first-child, > td:first-child":{borderEndStartRadius:e.borderRadiusLG}},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,y.zA)(e.padding)} ${(0,y.zA)(e.paddingLG)}`,borderInlineEnd:`${(0,y.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:o,"&::after":{display:"none"}}}},[`&${t}-medium`]:{[n]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,y.zA)(e.paddingSM)} ${(0,y.zA)(e.paddingLG)}`}}},[`&${t}-small`]:{[n]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,y.zA)(e.paddingXS)} ${(0,y.zA)(e.padding)}`}}}}}},k=(0,S.OF)("Descriptions",e=>(e=>{const{componentCls:t,extraColor:o,itemPaddingBottom:n,itemPaddingEnd:r,colonMarginRight:a,colonMarginLeft:i,titleMarginBottom:s}=e,l=`> ${t}-view > table > tbody > ${t}-row`;return{[t]:{...(0,x.dF)(e),...w(e),"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:s},[`${t}-title`]:{...x.L9,flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG},[`${t}-extra`]:{marginInlineStart:"auto",color:o,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{minWidth:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[l]:{"> th, > td":{paddingBottom:n,paddingInlineEnd:r},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.labelColor,fontWeight:400,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,y.zA)(i)} ${(0,y.zA)(a)}`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`> ${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`> ${t}-item-content`]:{display:"inline-flex",alignItems:"baseline",minWidth:"1em"}}},"&-medium":{[l]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[l]:{"> th, > td":{paddingBottom:e.paddingXS}}}}}})((0,C.oX)(e,{})),e=>({labelBg:e.colorFillAlter,labelColor:e.colorTextTertiary,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText})),E=n.forwardRef((e,t)=>{const{prefixCls:o,title:r,extra:_,column:b,colon:v=!0,bordered:y,layout:x,children:S,className:C,rootClassName:w,style:E,size:z,labelStyle:N,contentStyle:A,styles:M,items:j,classNames:R,...I}=e,{getPrefixCls:T,direction:P,className:H,style:B,classNames:D,styles:L}=(0,d.TP)("descriptions"),O=T("descriptions",o),W=(0,u.A)();const F=n.useMemo(()=>(0,l.Et)(b)?b:(0,c.ko)(W,b)??(0,c.ko)(W,p)??3,[W,b]),X=f(W,j,S),q=(0,m.A)(z),G=h(F,X),[K,V]=k(O),Y={...e,column:F,items:X,size:q},Z=(0,s.XT)(B),U=(0,s.XT)(E),[Q,J]=(0,s.AV)([D,R],[L,Z,M,U],{props:Y}),ee=n.useMemo(()=>({labelStyle:N,contentStyle:A,styles:{label:J.label,content:J.content},classNames:{label:Q.label,content:Q.content}}),[N,A,J.label,J.content,Q.label,Q.content]),te=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:te.current}));const oe=(0,a.AZ)(r),ne=(0,a.AZ)(_);return n.createElement(g.Provider,{value:ee},n.createElement("div",{ref:te,className:(0,i.$)(O,H,Q.root,{[`${O}-medium`]:"medium"===q||"middle"===q,[`${O}-small`]:"small"===q,[`${O}-bordered`]:!!y,[`${O}-rtl`]:"rtl"===P},C,w,K,V),style:J.root,...I},(oe||ne)&&n.createElement("div",{className:(0,i.$)(`${O}-header`,Q.header),style:J.header},oe&&n.createElement("div",{className:(0,i.$)(`${O}-title`,Q.title),style:J.title},r),ne&&n.createElement("div",{className:(0,i.$)(`${O}-extra`,Q.extra),style:J.extra},_)),n.createElement("div",{className:`${O}-view`},n.createElement("table",null,n.createElement("tbody",null,G.map((e,t)=>n.createElement($,{key:t,index:t,colon:v,prefixCls:O,vertical:"vertical"===x,bordered:y,row:e})))))))});E.Item=_;const z=E;var N=o("./src/utils/antd.tsx"),A=o("./src/utils/dash3.ts");const M=e=>{const{children:t,extra:o,items:a,loading_state:i,title:s}=e,l=(0,A.z5)(),c=(0,n.useMemo)(()=>(0,N.uK)(a,["label","children"],[...l,"props","items"]),[l,a]),d=z;return r().createElement(d,{...(0,N.I4)(e),items:c,title:(0,N.lq)(s),extra:(0,N.lq)(o),"data-dash-is-loading":(0,A.A_)(i)||void 0},t)},j=e=>r().createElement(M,{...e})},"./src/components/fragments/async/dataDisplay/Empty.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/empty/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{children:t,description:o,image:n,loading_state:l}=e,c=a.A;return r().createElement(c,{...(0,i.I4)(e),description:(0,i.lq)(o),image:"simple"===n?a.A.PRESENTED_IMAGE_SIMPLE:"default"===n?a.A.PRESENTED_IMAGE_DEFAULT:(0,i.lq)(n),"data-dash-is-loading":(0,s.A_)(l)||void 0},(0,i.lq)(t))},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Listy.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>T});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");function i(e,t){const{group:o,groupKey:r,groupItems:i,prefixCls:s,fixed:l,sticky:c,className:d,style:m}=e,u=(0,a.A)(`${s}-group-header`,{[`${s}-group-header-sticky`]:c,[`${s}-group-header-fixed`]:l},d);return n.createElement("div",{ref:t,className:u,style:m},o.title(r,i))}const s=n.forwardRef(i);function l(e,t){return n.useMemo(()=>{const o=new Map;return t?(e.forEach((e,n)=>{const r=t.key(e),a=o.get(r),i={item:e,index:n};a?a.push(i):o.set(r,[i])}),o):o},[e,t])}var c=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js");function d(e){return(0,c._q)(t=>"function"==typeof e?e(t):t[e])}const m=(e,t)=>`${t}:${e}`;function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},u.apply(this,arguments)}function p(e,t){const{data:o,group:r,height:i,itemRender:c,onScroll:p,prefixCls:g,rowKey:f,sticky:h,direction:_,classNames:b,styles:v}=e,$=function(e,t,o){const r=n.useRef(null),a=n.useCallback(e=>{if(!o)return 0;const n=e.closest(`.${CSS.escape(`${t}-group-section`)}`),r=n?.querySelector(`.${CSS.escape(`${t}-group-header`)}`);if(!r)return 0;const a=r.getBoundingClientRect(),i=a.height||a.bottom-a.top||r.offsetHeight;return Number.isFinite(i)?i:0},[t,o]),i=n.useCallback((e,t,o,n)=>{const r=n&&"bottom"!==t?a(e):0,i=e.style.scrollMarginTop,s=e.style.scrollMarginBottom;e.style.scrollMarginTop=`${r+o}px`,e.style.scrollMarginBottom=`${o}px`,e.scrollIntoView({block:"bottom"===t?"end":"auto"===t?"nearest":"start",inline:"nearest"}),e.style.scrollMarginTop=i,e.style.scrollMarginBottom=s},[a]),s=n.useCallback(e=>{const t=r.current;if(!t||null==e)return;if("number"==typeof e)return void(t.scrollTop=e);if("key"in e||"groupKey"in e){const{align:o="auto",offset:n=0}=e,r="key"in e,a=r?m(e.key,"item"):m(e.groupKey,"group"),s=t.querySelector(`[data-key="${CSS.escape(a)}"]`);return void(s&&i(s,o,n,r))}const{left:o,top:n}=e;void 0!==o&&(t.scrollLeft=o),void 0!==n&&(t.scrollTop=n)},[i]);return n.useImperativeHandle(e,()=>({scrollTo:s}),[s]),r}(t,g,!(!h||!r)),y=l(o,r),x=d(f),S=n.useCallback((e,t)=>({"data-key":m(e,t)}),[]),C=n.useCallback((e,t)=>{const o=x(e),r=S(o,"item");return n.createElement("div",u({key:o,className:(0,a.A)(`${g}-item`,b?.item),style:v?.item},r),c(e,t))},[b?.item,x,S,c,g,v?.item]),w=r?Array.from(y,([e,t])=>{const o=t.map(({item:e})=>e);return n.createElement("div",u({key:e,className:`${g}-group-section`},S(e,"group")),n.createElement(s,{group:r,groupKey:e,groupItems:o,prefixCls:g,sticky:h,className:b?.groupHeader,style:v?.groupHeader}),t.map(({item:e,index:t})=>C(e,t)))}):o.map((e,t)=>C(e,t));return n.createElement("div",{ref:$,className:(0,a.A)(g,{[`${g}-rtl`]:"rtl"===_},b?.root),dir:_,style:{maxHeight:i,overflowY:void 0===i?void 0:"auto",overflowAnchor:"none",...v?.root},onScroll:p},w)}const g=n.forwardRef(p);var f=o("./node_modules/.pnpm/@rc-component+virtual-list@1.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/virtual-list/es/index.js");var h=o("./node_modules/.pnpm/@rc-component+portal@2.2.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/portal/es/index.js");function _(e){const{enabled:t,group:o,groupKeys:r,groupKeyToItems:a,prefixCls:i,listRef:l,headerClassName:c,headerStyle:d}=e;return n.useCallback(e=>{const{getSize:u,scrollTop:p,virtual:g}=e;if(!(t&&o&&r.length&&g))return null;const f=l.current?.nativeElement;if(!f)return null;const _=e=>u(m(e,"group")),b=function(e,t,o){let n=0,r=e.length-1,a=0;for(;n<=r;){const i=Math.floor((n+r)/2);t(e[i])<=o+1?(a=i,n=i+1):r=i-1}return a}(r,e=>_(e).top,p),v=r[b],$=a.get(v)||[],y=_(v),x=y.bottom-y.top,S=r[b+1],C=void 0!==S?Math.min(0,_(S).top-x-p):0;return n.createElement(h.A,{open:!0,getContainer:()=>f},n.createElement("div",{className:`${i}-group-header-holder`},n.createElement(s,{fixed:!0,group:o,groupKey:v,groupItems:$,prefixCls:i,className:c,style:{...d,top:C}})))},[t,o,r,a,i,l,c,d])}function b(e,t){const{data:o,group:r,height:i,itemHeight:u,itemRender:p,onScroll:g,prefixCls:h,rowKey:b,sticky:v,direction:$,classNames:y,styles:x}=e,S=n.useRef(null),C=l(o,r),w=d(b),{rows:k,groupKeys:E,groupKeyToItems:z}=function(e,t,o,r){return n.useMemo(()=>{const n=[],a=[],i=new Map,s=(e,t)=>({type:"item",item:e,index:t,taggedKey:m(o(e),"item")});return r?(t.forEach((e,t)=>{i.set(t,e.map(({item:e})=>e)),a.push(t),n.push({type:"group",groupKey:t,taggedKey:m(t,"group")}),e.forEach(({item:e,index:t})=>{n.push(s(e,t))})}),{rows:n,groupKeys:a,groupKeyToItems:i}):(e.forEach((e,t)=>{n.push(s(e,t))}),{rows:n,groupKeys:a,groupKeyToItems:i})},[e,r,t,o])}(o,C,w,r),N=n.useMemo(()=>{const e=new Map;let t;return k.forEach(o=>{"group"===o.type?t=o.groupKey:void 0!==t&&e.set(o.taggedKey,t)}),e},[k]),A=(0,c._q)(e=>{if(e&&"object"==typeof e){if("groupKey"in e){const{groupKey:t,align:o,offset:n}=e;return void S.current?.scrollTo({key:m(t,"group"),align:o,offset:n})}if("key"in e){const t=m(e.key,"item"),o=v&&r&&"bottom"!==e.align?N.get(t):void 0;return void 0===o?void S.current?.scrollTo({...e,key:t}):void S.current?.scrollTo({...e,key:t,offset:({getSize:t,align:n})=>{const r=e.offset??0;if("top"!==n)return r;const a=t(m(o,"group")),i=a.bottom-a.top;return r+(Number.isFinite(i)?i:0)}})}S.current?.scrollTo(e)}else S.current?.scrollTo(e)});n.useImperativeHandle(t,()=>({scrollTo:A}),[A]);const M=_({enabled:!(!v||!r),group:r,groupKeys:E,groupKeyToItems:z,prefixCls:h,listRef:S,headerClassName:y?.groupHeader,headerStyle:x?.groupHeader}),j=n.useCallback(e=>{const t=z.get(e)||[];return n.createElement(s,{group:r,groupKey:e,groupItems:t,prefixCls:h,className:y?.groupHeader,style:x?.groupHeader})},[y?.groupHeader,r,z,h,x?.groupHeader]);return n.createElement(f.A,{ref:S,data:k,direction:$,fullHeight:!1,height:i,itemHeight:u,itemKey:"taggedKey",onScroll:g,prefixCls:h,virtual:!0,extraRender:M,className:y?.root,style:x?.root},e=>"group"===e.type?j(e.groupKey):n.createElement("div",{className:(0,a.A)(`${h}-item`,y?.item),style:x?.item},p(e.item,e.index)))}const v=n.forwardRef(b);function $(e,t){const{items:o,virtual:r=!0,prefixCls:a="rc-listy",...i}=e,s={...i,data:n.useMemo(()=>o||[],[o]),prefixCls:a,ref:t};return n.createElement(r?v:g,s)}const y=(0,n.forwardRef)($);var x=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),S=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),C=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),w=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/useToken.js"),k=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),E=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js");const z=(0,o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js").OF)("Listy",e=>{const{componentCls:t,itemPaddingBlock:o,itemPaddingInline:n}=e;return{[t]:{...(0,E.dF)(e),position:"relative","--rc-virtual-list-scrollbar-bg":e.colorSplit,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,[`${t}-item`]:{padding:`${(0,k.zA)(o)} ${(0,k.zA)(n)}`,borderBottom:`${(0,k.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,transition:`background-color ${e.motionDurationMid} ${e.motionEaseInOut}`,"&:hover":{backgroundColor:e.controlItemBgHover}},[`${t}-group-header`]:{boxSizing:"border-box",padding:`${(0,k.zA)(e.paddingXS)} ${(0,k.zA)(n)}`,color:e.colorTextDescription,fontWeight:e.fontWeightStrong,backgroundColor:e.colorBgContainer,backgroundImage:`linear-gradient(${e.colorFillAlter}, ${e.colorFillAlter})`,"&-sticky":{position:"sticky",top:0,insetInline:0,zIndex:1},"&-fixed":{position:"absolute",top:0,insetInline:0,transform:"translateY(0)",pointerEvents:"auto"},"&-holder":{position:"absolute",inset:0,overflow:"hidden",pointerEvents:"none"}},[`${t}-group-section`]:{position:"relative"},[`${t}-scrollbar`]:{zIndex:1,cursor:"pointer","&:hover":{backgroundColor:e.colorFillQuaternary}},"&-rtl":{direction:"rtl"}}}},e=>({itemPaddingBlock:e.paddingSM,itemPaddingInline:e.padding})),N=(e,t)=>{const{prefixCls:o,rootClassName:n,className:i,style:s,classNames:l,styles:c,virtual:d,...m}=e,{getPrefixCls:u,direction:p,className:g,style:f,classNames:h,styles:_}=(0,S.TP)("listy"),{virtual:b}=r().useContext(S.QO),v=u("listy",o),$=(0,C.A)(v),[k,E]=z(v,$),[,N]=(0,w.Ay)(),A={...N,...N.Listy},M=A.fontHeight+2*(A.itemPaddingBlock??A.paddingSM),j=(0,x.XT)(f),R=(0,x.XT)(s),[I,T]=(0,x.AV)([h,l],[_,j,c,R],{props:e}),P=(0,a.$)(g,I.root,n,i,k,E,$),H=d??b??!1;return r().createElement(y,{...m,ref:t,prefixCls:v,direction:p,virtual:H,itemHeight:M,classNames:{...I,root:P},styles:T})};const A=r().forwardRef(N);var M=o("./src/utils/antd.tsx"),j=o("./src/utils/dash3.ts"),R=o("./src/utils/funcs.ts");const I=e=>{const{itemRender:t,loading_state:o,scrollTo:a,setProps:i}=e,s=(0,j.z5)(),l=(0,n.useRef)(null),c=(0,M.I4)(e);delete c.scrollTo,delete c.scrollPosition,delete c.itemRender,(0,n.useEffect)(()=>{void 0!==a&&l.current?.scrollTo(a)},[a]);const d=c.group,m=d?.key&&d.title?{key:d.key,title:(e,t)=>(0,M.LM)(d.title?.(e,t),[...s,"props","group","title",e])}:void 0,u=t&&"string"!=typeof t?(0,R.qF)(t,{props:e}):void 0,p="string"==typeof t?t:"children";return r().createElement(A,{ref:l,...c,group:m,itemRender:(e,t)=>{const o=u?u(e,t):e[p],n=u?[...s,"props","itemRender",t]:[...s,"props","items",t,p];return(0,M.LM)(o,n,t)},onScroll:e=>{const{clientHeight:t,scrollHeight:o,scrollTop:n}=e.currentTarget;i?.({scrollPosition:{clientHeight:t,scrollHeight:o,scrollTop:n}})},"data-dash-is-loading":(0,j.A_)(o)||void 0})},T=e=>r().createElement(I,{...e})},"./src/components/fragments/async/dataDisplay/Segmented.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/segmented/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{loading_state:t,setProps:o,value:l}=e,c=(0,s.z5)(),d=(0,i.I4)(e),m=(0,n.useMemo)(()=>(0,i.uK)(d.options,["label","icon"],[...c,"props","options"]),[c,d.options]);return r().createElement(a.A,{...d,options:m,value:l,onChange:e=>o?.({value:e}),"data-dash-is-loading":(0,s.A_)(t)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Statistic.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/statistic/index.js"),i=o("./src/utils/dash3.ts"),s=o("./src/utils/antd.tsx");const l=e=>{const{loading_state:t,prefix:o,suffix:n,title:l,value:c}=e,d=(0,s.I4)(e),m=(0,s.lq)(c),u=r().isValidElement(m)||Array.isArray(m);return r().createElement(a.A,{...d,title:(0,s.lq)(l),prefix:(0,s.lq)(o),suffix:(0,s.lq)(n),value:u?0:m,formatter:u?()=>m:d.formatter,"data-dash-is-loading":(0,i.A_)(t)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/StatisticTimer.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/statistic/index.js"),i=o("./src/utils/dash3.ts"),s=o("./src/utils/antd.tsx");const l=e=>{const{loading_state:t,n_finish:o,prefix:n,setProps:l,suffix:c,title:d}=e,m=(0,s.I4)(e);return delete m.n_finish,r().createElement(a.A.Timer,{...m,title:(0,s.lq)(d),prefix:(0,s.lq)(n),suffix:(0,s.lq)(c),onFinish:()=>l?.({n_finish:(o||0)+1}),"data-dash-is-loading":(0,i.A_)(t)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Tag.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tag/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{children:t,closeIcon:o,icon:n,loading_state:l,n_close:c,setProps:d}=e,m=(0,i.I4)(e);return delete m.n_close,r().createElement(a.A,{...m,icon:(0,i.lq)(n),closeIcon:(0,i.lq)(o),onClose:()=>d?.({n_close:(c||0)+1}),"data-dash-is-loading":(0,s.A_)(l)||void 0},(0,i.lq)(t))},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Timeline.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>A});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),i=o("./node_modules/.pnpm/@rc-component+steps@1.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/steps/es/index.js"),s=o("./node_modules/.pnpm/@rc-component+util@1.14.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),l=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),c=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),d=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),m=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),u=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/steps/index.js"),p=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/steps/context.js"),g=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),f=o("./node_modules/.pnpm/antd@6.6.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),h=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js"),_=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js");const b=e=>{const{componentCls:t,fontHeight:o,antCls:n,paddingXS:r}=e,[a,i]=(0,g.PN)(n,"cmp-steps"),[s,l]=(0,g.PN)(n,"timeline"),c=`${t}-item`;return{[`${t}-horizontal`]:{[a("title-vertical-row-gap")]:r,[s("content-height")]:(0,_.zA)(o),alignItems:"stretch",[`&${t}-layout-alternate`]:{[c]:{[`${c}-wrapper`]:{[s("alternate-content-offset")]:`calc(${l("content-height")} + ${i("title-vertical-row-gap")} * 2 + ${i("icon-size-max")})`,height:`calc(${l("content-height")} * 2 + ${i("title-vertical-row-gap")} * 2 + ${i("icon-size-max")})`},[`${c}-icon`]:{position:"absolute"},[`${c}-icon, ${c}-rail`]:{position:"absolute",top:"50%",transform:"translateY(-50%)",margin:0},[`${c}-title, ${c}-subtitle, ${c}-content`]:{whiteSpace:"nowrap",maxWidth:"unset"},[`${c}-title`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},[`${c}-content`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-placement-start":{[`${c}-title`]:{bottom:l("alternate-content-offset")},[`${c}-content`]:{top:l("alternate-content-offset")}},"&-placement-end":{[`${c}-title`]:{top:l("alternate-content-offset")},[`${c}-content`]:{bottom:l("alternate-content-offset")}}}},[`&:not(${t}-layout-alternate)`]:{[`${c}-placement-end`]:{display:"flex",alignItems:"flex-end",[`${c}-wrapper`]:{flex:"auto",flexDirection:"column-reverse"},[`${c}-rail`]:{top:"auto",bottom:i("horizontal-rail-margin"),transform:"translateY(50%)"}}}}}},v=e=>{const{componentCls:t,tailColor:o,fontHeight:n,dotSize:r,dotBg:a,dotBorderWidth:i,fontSize:s,lineHeight:l,colorText:c,tailWidth:d,colorPrimary:m,colorError:u,colorSuccess:p,colorTextDisabled:h,antCls:_}=e,b=`${t}-item`,[v,$]=(0,g.PN)(_,"cmp-steps");return{[t]:[{...(0,f.dF)(e),[b]:{[v("title-horizontal-title-height")]:n,[v("vertical-rail-margin")]:"0px",[v("title-horizontal-rail-gap")]:"0px",[v("icon-dot-size-origin")]:$("icon-size-active"),[v("icon-dot-size-custom")]:r,[v("item-icon-dot-bg-color-origin")]:$("item-icon-dot-bg-color"),[v("item-icon-dot-bg-color-custom")]:a,[v("icon-size")]:$("icon-dot-size-custom",$("icon-dot-size-origin")),[`${b}-icon`]:{[v("dot-icon-border-width")]:i,[v("dot-icon-size")]:$("icon-size"),[v("item-icon-dot-bg-color")]:$("item-icon-dot-bg-color-custom",$("item-icon-dot-bg-color-origin"))},[`${b}-title`]:{fontSize:s,lineHeight:l},[`${b}-content`]:{color:c},[`${b}-rail`]:{[v("item-solid-line-color")]:o,[v("rail-size")]:d}}},{[b]:{[v("item-process-rail-line-style")]:"dotted"},[`${b}${b}${b}-color`]:{"&-blue":{[v("item-icon-dot-color")]:m},"&-red":{[v("item-icon-dot-color")]:u},"&-green":{[v("item-icon-dot-color")]:p},"&-gray":{[v("item-icon-dot-color")]:h}}}]}},$=e=>{const{calc:t,componentCls:o,itemPaddingBottom:n,margin:r,antCls:a}=e,i=`${o}-item`,[,s]=(0,g.PN)(a,"cmp-steps"),[l,c]=(0,g.PN)(a,"timeline");return{[`${o}:not(${o}-horizontal)`]:{[l("head-span")]:"12",[l("head-span-ptg")]:`calc(${c("head-span")} / 24 * 100%)`,[`&${o}-layout-alternate`]:{[i]:{[l("alternate-gap")]:t(r).mul(2).add(s("dot-icon-size")).equal(),minHeight:"auto",paddingBottom:n,[`${i}-icon, ${i}-rail`]:{position:"absolute",insetInlineStart:c("head-span-ptg")},[`${i}-icon`]:{marginInlineStart:`calc(${s("icon-size")} / -2)`},[`${i}-section`]:{display:"flex",flexWrap:"nowrap",gap:c("alternate-gap")},[`${i}-header`]:{textAlign:"end",flexDirection:"column",alignItems:"stretch",flex:`1 1 calc(${c("head-span-ptg")} - ${c("alternate-gap")} / 2)`},[`${i}-content`]:{textAlign:"start",flex:`1 1 calc(100% - ${c("head-span-ptg")} - ${c("alternate-gap")} / 2)`},"&-placement-end":{[`${i}-header`]:{textAlign:"start",order:1},[`${i}-content`]:{textAlign:"end"},[`${i}-icon, ${i}-rail`]:{insetInlineStart:`calc(100% - ${c("head-span-ptg")})`}}}},[`&:not(${o}-layout-alternate)`]:{[`${i}-placement-end`]:{textAlign:"end",[`${i}-icon`]:{order:1},[`${i}-rail`]:{insetInlineStart:"auto",insetInlineEnd:`calc(${s("icon-size")} / 2)`,marginInlineEnd:`calc(${s("rail-size")} / -2)`}}}}}},y=(0,g.OF)("Timeline",e=>{const t=(0,h.oX)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[v(t),$(t),b(t)]},e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.lineWidthBold,dotBg:void 0,dotSize:void 0,itemPaddingBottom:1.25*e.padding}));var x=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js");const S=(e,t,o,r,a,i,c)=>{const d=`${t}-item`,[m]=(0,g.PN)(e,"cmp-steps"),u=n.useMemo(()=>Array.isArray(r)?r:(0,s.$r)(a).map(e=>({...e.props})),[r,a]);return n.useMemo(()=>{const e=u.map((e,t)=>{const{label:r,children:a,title:i,content:s,color:c,className:u,style:p,icon:g,dot:f,placement:h,position:_,loading:b,...v}=e;let $=p,y=u;c&&(["blue","red","green","gray"].includes(c)?y=(0,l.$)(u,`${d}-color-${c}`):$={[m("item-icon-dot-color")]:c,...p});y=(0,l.$)(y,`${d}-placement-${h??_??("alternate"===o?t%2==0?"start":"end":o)}`);let S=g??f;return!S&&b&&(S=n.createElement(x.A,null)),{...v,title:i??r,content:s??a,style:$,className:y,icon:S,status:b?"process":"finish"}});return i&&e.push({icon:c??n.createElement(x.A,null),content:i,status:"process"}),e},[u,i,o,d,m,c])},C={rootComponent:"ol",itemComponent:"li"},w=e=>{const{getPrefixCls:t,direction:o,className:r,style:f,classNames:h,styles:_}=(0,m.TP)("timeline"),{prefixCls:b,className:v,style:$,classNames:x,styles:w,variant:k="outlined",mode:E,orientation:z="vertical",titleSpan:N,items:A,children:M,reverse:j,pending:R,pendingDot:I,...T}=e,P=t(),H=t("timeline",b),[B,D]=y(H),[L]=(0,g.PN)(P,"timeline"),O=n.useMemo(()=>({item:`${H}-item`,itemTitle:`${H}-item-title`,itemIcon:`${H}-item-icon`,itemContent:`${H}-item-content`,itemRail:`${H}-item-rail`,itemWrapper:`${H}-item-wrapper`,itemSection:`${H}-item-section`,itemHeader:`${H}-item-header`}),[H]),W=n.useMemo(()=>{if("left"===E)return"start";if("right"===E)return"end";return["alternate","start","end"].includes(E)?E:"start"},[E]),F=S(P,H,W,A,M,R,I),X=n.useMemo(()=>j?(0,a.A)(F).reverse():F,[j,F]),q={...e,variant:k,mode:W,orientation:z,items:X},G=(0,c.XT)(f),K=(0,c.XT)($),[V,Y]=(0,c.AV)([O,h,x],[_,G,w,K],{props:q}),Z=n.useMemo(()=>({railFollowPrevStatus:j}),[j]),U=n.useMemo(()=>"alternate"===W||"vertical"===z&&X.some(e=>e.title),[X,W,z]);const Q={};return(0,s.R)(N)&&"alternate"!==W&&((0,d.Et)(N)?Q[L("head-span")]=N:Q[L("head-span-ptg")]=N),n.createElement(p.j.Provider,{value:C},n.createElement(i.QB.Provider,{value:Z},n.createElement(u.A,{...T,className:(0,l.$)(H,r,v,B,D,{[`${H}-${z}`]:"horizontal"===z,[`${H}-layout-alternate`]:U,[`${H}-rtl`]:"rtl"===o}),style:Q,classNames:V,styles:Y,variant:k,orientation:z,type:"dot",items:X,current:X.length-1})))};w.Item=()=>{};const k=w;var E=o("./src/utils/antd.tsx"),z=o("./src/utils/dash3.ts");const N=e=>{const{items:t,loading_state:o}=e,a=(0,z.z5)(),i=(0,n.useMemo)(()=>(0,E.uK)(t,["content","icon","title"],[...a,"props","items"]),[a,t]),s=k,l=(0,E.I4)(e);return r().createElement(s,{...l,items:i,"data-dash-is-loading":(0,z.A_)(o)||void 0})},A=e=>r().createElement(N,{...e})}}]);
1
+ "use strict";(self.webpackChunkdash_antd_components=self.webpackChunkdash_antd_components||[]).push([["async-display"],{"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/DownOutlined.js"(e,t,o){o.d(t,{A:()=>s});var n=o("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};var a=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i.apply(this,arguments)}const s=n.forwardRef((e,t)=>n.createElement(a.A,i({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/PlusOutlined.js"(e,t,o){o.d(t,{A:()=>s});var n=o("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var a=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i.apply(this,arguments)}const s=n.forwardRef((e,t)=>n.createElement(a.A,i({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/UpOutlined.js"(e,t,o){o.d(t,{A:()=>s});var n=o("react");const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};var a=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIconLight.js");function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i.apply(this,arguments)}const s=n.forwardRef((e,t)=>n.createElement(a.A,i({},e,{ref:t,icon:r})))},"./node_modules/.pnpm/@rc-component+dropdown@2.0.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/dropdown/es/index.js"(e,t,o){o.d(t,{A:()=>h});var n=o("./node_modules/.pnpm/@rc-component+trigger@3.10.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/trigger/es/index.js"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=o("react"),s=o.n(i);const{ESC:l,TAB:c}=r.DD;const d=(0,i.forwardRef)((e,t)=>{const{overlay:o,arrow:n,prefixCls:a}=e,l=(0,i.useMemo)(()=>{let e;return e="function"==typeof o?o():o,e},[o]),c=(0,r.K4)(t,(0,r.A9)(l));return s().createElement(s().Fragment,null,n&&s().createElement("div",{className:`${a}-arrow`}),s().cloneElement(l,{ref:(0,r.f3)(l)?c:void 0}))}),m={adjustX:1,adjustY:1},u=[0,0],p={topLeft:{points:["bl","tl"],overflow:m,offset:[0,-4],targetOffset:u},top:{points:["bc","tc"],overflow:m,offset:[0,-4],targetOffset:u},topRight:{points:["br","tr"],overflow:m,offset:[0,-4],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:m,offset:[0,4],targetOffset:u},bottom:{points:["tc","bc"],overflow:m,offset:[0,4],targetOffset:u},bottomRight:{points:["tr","br"],overflow:m,offset:[0,4],targetOffset:u}};function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},g.apply(this,arguments)}const f=s().forwardRef((e,t)=>{const{arrow:o=!1,prefixCls:m="rc-dropdown",transitionName:u,animation:f,align:h,placement:_="bottomLeft",placements:b=p,getPopupContainer:v,showAction:$,hideAction:y,overlayClassName:x,overlayStyle:S,open:C,trigger:w=["hover"],autoFocus:k,overlay:E,children:z,onOpenChange:N,disabled:A,...M}=e,[j,R]=s().useState(),I="open"in e?C:j,T=f?`${m}-${f}`:u,P=s().useRef(null),H=s().useRef(null),B=s().useRef(null);s().useImperativeHandle(t,()=>P.current);const D=e=>{R(e),N?.(e)};!function({open:e,triggerRef:t,onOpenChange:o,autoFocus:n,overlayRef:a}){const s=i.useRef(!1),d=()=>{e&&(t.current?.focus?.(),o?.(!1))},m=e=>!!a.current?.focus&&(a.current.focus(e),s.current=!0,!0),u=e=>{switch(e.keyCode){case l:d();break;case c:{let t=!1;s.current||(t=m()),t?e.preventDefault():d();break}}};i.useEffect(()=>e?(window.addEventListener("keydown",u),n&&(0,r.er)(()=>m({preventScroll:!0}),3),()=>{window.removeEventListener("keydown",u),s.current=!1}):()=>{s.current=!1},[e])}({open:I,triggerRef:B,onOpenChange:D,autoFocus:k,overlayRef:H});const L=()=>s().createElement(d,{ref:H,overlay:E,prefixCls:m,arrow:o}),O=z,W=(0,a.$)(O.props?.className,I&&(()=>{const{openClassName:t}=e;return void 0!==t?t:`${m}-open`})()),F={className:W,ref:(0,r.K4)(B,(0,r.A9)(O))},X=(0,r.f3)(O)?s().cloneElement(O,F):s().createElement("span",{className:W,ref:B},s().cloneElement(O,{className:W}));let q=y;return q||-1===w.indexOf("contextMenu")||(q=["click"]),s().createElement(n.Ay,g({builtinPlacements:b},M,{prefixCls:m,ref:P,popupClassName:(0,a.$)(x,{[`${m}-show-arrow`]:o}),popupStyle:S,action:w,showAction:$,hideAction:q,popupPlacement:_,popupAlign:h,popupMotion:{motionName:T},popupVisible:I,stretch:(()=>{const{minOverlayWidthMatchTrigger:t,alignPoint:o}=e;return"minOverlayWidthMatchTrigger"in e?t:!o})()?"minWidth":"",popup:"function"==typeof E?L:L(),onOpenChange:D,onPopupClick:t=>{const{onOverlayClick:o}=e;R(!1),o&&o(t)},getPopupContainer:v}),X)}),h=f},"./node_modules/.pnpm/@rc-component+steps@1.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/steps/es/index.js"(e,t,o){o.d(t,{QB:()=>s,Ay:()=>b});var n=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),r=o("react"),a=o.n(r);function i(e){const{prefixCls:t,className:o,style:a,status:i}=e,s=`${t}-rail`;return r.createElement("div",{className:(0,n.$)(s,`${s}-${i}`,o),style:a})}const s=r.createContext({});var l=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js");const c=r.createContext(null);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},d.apply(this,arguments)}const m=r.createContext({}),u=r.forwardRef((e,t)=>{const{className:o,style:a,children:i,...s}=e,{prefixCls:u,classNames:p,styles:g}=r.useContext(c),{className:f,style:h}=r.useContext(m),_=`${u}-item`;return r.createElement("div",d({},(0,l.KE)(s,!1),{ref:t,className:(0,n.$)(`${_}-icon`,p.itemIcon,f,o),style:{...g.itemIcon,...h,...a}}),i)});function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p.apply(this,arguments)}function g(e){return null!=e}function f(e){const{prefixCls:t,classNames:o,styles:a,data:l,last:d,nextStatus:f,active:h,index:_,itemRender:b,iconRender:v,itemWrapperRender:$,onClick:y}=e,x=`${t}-item`,{railFollowPrevStatus:S}=r.useContext(s),{ItemComponent:C}=r.useContext(c),{onClick:w,title:k,subTitle:E,content:z,description:N,disabled:A,icon:M,status:j,className:R,style:I,classNames:T={},styles:P={},...H}=l,B=z??N,D={item:{...l,content:B},index:_,active:h},L={};!(!y&&!w||A)&&(L.role="button",L.tabIndex=0,L.onClick=e=>{w?.(e),y(_)},L.onKeyDown=e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.currentTarget.click())});const O=j||"wait",W=g(k),F=g(E),X=(0,n.$)(x,`${x}-${O}`,{[`${x}-custom`]:M,[`${x}-active`]:h,[`${x}-disabled`]:!0===A,[`${x}-empty-header`]:!W&&!F},R,o.item,T.root);let q=r.createElement(u,null);v&&(q=v(q,{...D,components:{Icon:u}}));const G=r.createElement("div",{className:(0,n.$)(`${x}-wrapper`,o.itemWrapper,T.wrapper),style:{...a.itemWrapper,...P.wrapper}},r.createElement(m.Provider,{value:{className:T.icon,style:P.icon}},q),r.createElement("div",{className:(0,n.$)(`${x}-section`,o.itemSection,T.section),style:{...a.itemSection,...P.section}},r.createElement("div",{className:(0,n.$)(`${x}-header`,o.itemHeader,T.header),style:{...a.itemHeader,...P.header}},W&&r.createElement("div",{className:(0,n.$)(`${x}-title`,o.itemTitle,T.title),style:{...a.itemTitle,...P.title}},k),F&&r.createElement("div",{title:"string"==typeof E?E:void 0,className:(0,n.$)(`${x}-subtitle`,o.itemSubtitle,T.subtitle),style:{...a.itemSubtitle,...P.subtitle}},E),!d&&r.createElement(i,{prefixCls:x,className:(0,n.$)(o.itemRail,T.rail),style:{...a.itemRail,...P.rail},status:S?j:f})),g(B)&&r.createElement("div",{className:(0,n.$)(`${x}-content`,o.itemContent,T.content),style:{...a.itemContent,...P.content}},B)));let K=r.createElement(C,p({},H,L,{className:X,style:{...a.item,...P.root,...I}}),$?$(G):G);return b&&(K=b(K,D)||null),K}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},h.apply(this,arguments)}const _={};const b=function(e){const{prefixCls:t="rc-steps",style:o,className:r,classNames:i=_,styles:s=_,rootClassName:l,orientation:d,titlePlacement:m,components:u,status:p="process",current:g=0,initial:b=0,onChange:v,items:$,iconRender:y,itemRender:x,itemWrapperRender:S,...C}=e,w="vertical"===d,k=(0,n.$)(t,`${t}-${w?"vertical":"horizontal"}`,`${t}-title-${w||"vertical"!==m?"horizontal":"vertical"}`,l,r,i.root),E=a().useMemo(()=>($||[]).filter(Boolean),[$]),z=a().useMemo(()=>E.map(({status:e},t)=>{const o=b+t;return e||(o===g?p:o<g?"finish":"wait")}),[E,p,g,b]),N=e=>{v&&g!==e&&v(e)},{root:A="div",item:M="div"}=u||{},j=a().useMemo(()=>({prefixCls:t,classNames:i,styles:s,ItemComponent:M}),[t,i,s,M]);return a().createElement(A,h({className:k,style:{...o,...s?.root}},C),a().createElement(c.Provider,{value:j},E.map((e,o)=>{const n=b+o,r=z[o+1],l={...e,status:z[o]};return a().createElement(f,{key:n,prefixCls:t,classNames:i,styles:s,data:l,nextStatus:r,active:n===g,index:n,last:E.length-1===o,iconRender:y,itemRender:x,itemWrapperRender:S,onClick:v&&N})})))}},"./node_modules/.pnpm/@rc-component+virtual-list@1.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/virtual-list/es/index.js"(e,t,o){o.d(t,{A:()=>j});var n=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),r=o("./node_modules/.pnpm/@rc-component+resize-observer@1.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/resize-observer/es/index.js"),a=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("react"),s=o("react-dom");function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},l.apply(this,arguments)}const c=i.forwardRef(({height:e,offsetY:t,offsetX:o,children:a,prefixCls:s,onInnerResize:c,innerProps:d,rtl:m,extra:u},p)=>{let g={},f={display:"flex",flexDirection:"column"};return void 0!==t&&(g={height:e,position:"relative",overflow:"hidden"},f={...f,transform:`translateY(${t}px)`,[m?"marginRight":"marginLeft"]:-o,position:"absolute",left:0,right:0,top:0}),i.createElement("div",{style:g},i.createElement(r.Ay,{onResize:({offsetHeight:e})=>{e&&c&&c()}},i.createElement("div",l({style:f,className:(0,n.$)({[`${s}-holder-inner`]:s}),ref:p},d),a,u)))});c.displayName="Filler";const d=c;function m({children:e,setRef:t}){const o=i.useCallback(e=>{t(e)},[t]);return i.cloneElement(e,{ref:o})}function u(e,t,o){const[n,r]=i.useState(e),[a,s]=i.useState(null);return i.useEffect(()=>{const a=function(e,t,o){const n=e.length,r=t.length;let a,i;if(0===n&&0===r)return null;n<r?(a=e,i=t):(a=t,i=e);const s={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?o(e):s}let c=null,d=1!==Math.abs(n-r);for(let e=0;e<i.length;e+=1){const t=l(a[e]);if(t!==l(i[e])){c=e,d=d||t!==l(i[e+1]);break}}return null===c?null:{index:c,multiple:d}}(n||[],e||[],t);void 0!==a?.index&&(o?.(a.index),s(e[a.index])),r(e)},[e]),[a]}const p="object"==typeof navigator&&/Firefox/i.test(navigator.userAgent),g=(e,t,o,n)=>{const r=(0,i.useRef)(!1),a=(0,i.useRef)(null);const s=(0,i.useRef)({top:e,bottom:t,left:o,right:n});return s.current.top=e,s.current.bottom=t,s.current.left=o,s.current.right=n,(e,t,o=!1)=>{const n=e?t<0&&s.current.left||t>0&&s.current.right:t<0&&s.current.top||t>0&&s.current.bottom;return o&&n?(clearTimeout(a.current),r.current=!1):n&&!r.current||(clearTimeout(a.current),r.current=!0,a.current=setTimeout(()=>{r.current=!1},50)),!r.current&&n}};function f(e,t,o,n,r,s,l){const c=(0,i.useRef)(0),d=(0,i.useRef)(null),m=(0,i.useRef)(null),u=(0,i.useRef)(!1),f=g(t,o,n,r);const h=(0,i.useRef)(null),_=(0,i.useRef)(null);return[function(t){if(!e)return;a.er.cancel(_.current),_.current=(0,a.er)(()=>{h.current=null},2);const{deltaX:o,deltaY:n,shiftKey:r}=t;let i=o,g=n;("sx"===h.current||!h.current&&r&&n&&!o)&&(i=n,g=0,h.current="sx");const b=Math.abs(i),v=Math.abs(g);null===h.current&&(h.current=s&&b>v?"x":"y"),"y"===h.current?function(e,t){if(a.er.cancel(d.current),f(!1,t))return;const o=e;o._virtualHandled||(o._virtualHandled=!0,c.current+=t,m.current=t,p||o.preventDefault(),d.current=(0,a.er)(()=>{l(c.current*(u.current?10:1),!1),c.current=0}))}(t,g):function(e,t){l(t,!0),p||e.preventDefault()}(t,i)},function(t){e&&(u.current=t.detail===m.current)}]}const h=class{maps;id=0;diffRecords=new Map;constructor(){this.maps=Object.create(null)}set(e,t){this.diffRecords.set(e,this.maps[e]),this.maps[e]=t,this.id+=1}get(e){return this.maps[e]}resetRecord(){this.diffRecords.clear()}getRecord(){return this.diffRecords}};function _(e){const t=parseFloat(e);return isNaN(t)?0:t}const b=14/15;function v(e){return Math.floor(e**.5)}function $(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}function y(e,t,o,n,r,s,l,c,d){const m=i.useRef(void 0),[u,p]=i.useState(null);return(0,a.Nf)(()=>{if(u&&u.times<10){if(!e.current)return void p(e=>({...e}));l();const{targetAlign:a,originAlign:i,index:d,offset:m}=u,g=a||i,f=function(e,t){const o="function"==typeof e?e(t):e;return Number.isFinite(o)?o:0}(m,{getSize:s,align:g}),h=e.current.clientHeight;let _=!1,b=a,v=null;if(h){let a=0,i=0,s=0;const l=Math.min(t.length-1,d);for(let e=0;e<=l;e+=1){const l=r(t[e]);i=a;const c=o.get(l);s=i+(void 0===c?n:c),a=s}let m="top"===g?f:h-f;for(let e=l;e>=0;e-=1){const n=r(t[e]),a=o.get(n);if(void 0===a){_=!0;break}if(m-=a,m<=0)break}switch(g){case"top":v=i-f;break;case"bottom":v=s-h+f;break;default:{const{scrollTop:t}=e.current;i<t?b="top":s>t+h&&(b="bottom")}}null!==v&&c(v),v!==u.lastTop&&(_=!0)}_&&p({...u,times:u.times+1,targetAlign:b,lastTop:v})}else 0},[u,e.current]),e=>{if(null!=e){if(a.er.cancel(m.current),"number"==typeof e)c(e);else if(e&&"object"==typeof e){let o;const{align:n}=e;"index"in e?({index:o}=e):o=t.findIndex(t=>r(t)===e.key);const{offset:a=0}=e;p({times:0,index:o,offset:a,originAlign:n})}}else d()}}function x(e,t,o){if(t<=0||o<=0)return 0;const n=Math.max(Math.min(e,o),0);let r=Math.ceil(n/o*t);return r=Math.max(r,0),r=Math.min(r,t),r}const S=i.forwardRef((e,t)=>{const{prefixCls:o,rtl:r,scrollOffset:s,scrollRange:l,onStartMove:c,onStopMove:d,onScroll:m,horizontal:u,spinSize:p,containerSize:g,style:f,thumbStyle:h,showScrollBar:_}=e,[b,v]=i.useState(!1),[y,S]=i.useState(null),[C,w]=i.useState(null),k=!r,E=i.useRef(null),z=i.useRef(null),[N,A]=i.useState(_),M=i.useRef(void 0),j=()=>{!0!==_&&!1!==_&&(clearTimeout(M.current),A(!0),M.current=setTimeout(()=>{A(!1)},3e3))},R=l-g||0,I=g-p||0,T=i.useMemo(()=>{if(0===s||0===R)return 0;return s/R*I},[s,R,I]),P=i.useRef({top:T,dragging:b,pageY:y,startTop:C});P.current={top:T,dragging:b,pageY:y,startTop:C};const H=(0,a._q)(e=>{v(!0),S($(e,u)),w(P.current.top),c(),e.stopPropagation(),e.preventDefault()});i.useEffect(()=>{const e=e=>{e.preventDefault()},t=E.current,o=z.current;return t.addEventListener("touchstart",e,{passive:!1}),o.addEventListener("touchstart",H,{passive:!1}),()=>{t.removeEventListener("touchstart",e),o.removeEventListener("touchstart",H)}},[H]);const B=i.useRef(void 0);B.current=R;const D=i.useRef(void 0);D.current=I,i.useEffect(()=>{if(b){let e;const t=t=>{const{dragging:o,pageY:n,startTop:r}=P.current;a.er.cancel(e);const i=E.current.getBoundingClientRect(),s=g/(u?i.width:i.height);if(o){const o=($(t,u)-n)*s;let i=r;!k&&u?i-=o:i+=o;const l=x(i,B.current,D.current);e=(0,a.er)(()=>{m(l,u)})}},o=()=>{v(!1),d()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",o,{passive:!0}),window.addEventListener("touchend",o,{passive:!0}),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",o),window.removeEventListener("touchend",o),a.er.cancel(e)}}},[b]),i.useEffect(()=>(j(),()=>{clearTimeout(M.current)}),[s]),i.useImperativeHandle(t,()=>({delayHidden:j}));const L=`${o}-scrollbar`,O={position:"absolute",visibility:N?null:"hidden"},W={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return u?(Object.assign(O,{height:8,left:0,right:0,bottom:0}),Object.assign(W,{height:"100%",width:p,[k?"left":"right"]:T})):(Object.assign(O,{width:8,top:0,bottom:0,[k?"right":"left"]:0}),Object.assign(W,{width:"100%",height:p,top:T})),i.createElement("div",{ref:E,className:(0,n.$)(L,{[`${L}-horizontal`]:u,[`${L}-vertical`]:!u,[`${L}-visible`]:N}),style:{...O,...f},onMouseDown:e=>{var t;(e.stopPropagation(),e.preventDefault(),0!==e.button||(t=e.target)&&z.current?.contains(t))||(e=>{const t=E.current;if(!t)return;const o=t.getBoundingClientRect(),n=$(e,u);let r;if(Number.isFinite(n)){if(u){const e=k?o.left:o.right;if(!Number.isFinite(e))return;r=(k?n-e:e-n)-p/2}else{if(!Number.isFinite(o.top))return;r=n-o.top-p/2}m(x(r,R,I),u)}})(e)},onMouseMove:j},i.createElement("div",{ref:z,className:(0,n.$)(`${L}-thumb`,{[`${L}-thumb-moving`]:b}),style:{...W,...h},onMouseDown:H}))});function C(e=0,t=0){let o=e/t*e;return isNaN(o)&&(o=0),o=Math.max(o,20),Math.floor(o)}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},w.apply(this,arguments)}const k=[],E={overflowY:"auto",overflowAnchor:"none"};function z(e,t){const{prefixCls:o="rc-virtual-list",className:l,height:c,itemHeight:p,fullHeight:x=!0,style:z,data:N,children:A,itemKey:M,virtual:j,direction:R,scrollWidth:I,component:T="div",onScroll:P,onVirtualScroll:H,onVisibleChange:B,innerProps:D,extraRender:L,styles:O,showScrollBar:W="optional",...F}=e,X=i.useCallback(e=>"function"==typeof M?M(e):e?.[M],[M]),[q,G,K,V]=function(e,t,o){const[n,r]=i.useState(0),a=(0,i.useRef)(new Map),s=(0,i.useRef)(new h),l=(0,i.useRef)(0);function c(){l.current+=1}function d(e=!1){c();const t=()=>{let e=!1;a.current.forEach((t,o)=>{if(t&&t.offsetParent){const{offsetHeight:n}=t,{marginTop:r,marginBottom:a}=getComputedStyle(t),i=n+_(r)+_(a);s.current.get(o)!==i&&(s.current.set(o,i),e=!0)}}),e&&r(e=>e+1)};if(e)t();else{l.current+=1;const e=l.current;Promise.resolve().then(()=>{e===l.current&&t()})}}return(0,i.useEffect)(()=>c,[]),[function(n,r){const i=e(n),s=a.current.get(i);r?(a.current.set(i,r),d()):a.current.delete(i),!s!=!r&&(r?t?.(n):o?.(n))},d,s.current,n]}(X,null,null),Z=!(!1===j||!c||!p),Y=i.useMemo(()=>Object.values(K.maps).reduce((e,t)=>e+t,0),[K.id,K.maps]),U=Z&&N&&(Math.max(p*N.length,Y)>c||!!I),Q="rtl"===R,J=(0,n.$)(o,{[`${o}-rtl`]:Q},l),ee=N||k,te=(0,i.useRef)(null),oe=(0,i.useRef)(null),ne=(0,i.useRef)(null),[re,ae]=(0,i.useState)(0),[ie,se]=(0,i.useState)(0),[le,ce]=(0,i.useState)(!1),de=()=>{ce(!0)},me=()=>{ce(!1)},ue={getKey:X};function pe(e){ae(t=>{let o;o="function"==typeof e?e(t):e;const n=function(e){let t=e;Number.isNaN(ze.current)||(t=Math.min(t,ze.current));return t=Math.max(t,0),t}(o);return te.current.scrollTop=n,n})}const ge=(0,i.useRef)({start:0,end:ee.length}),fe=(0,i.useRef)(void 0),[he]=u(ee,X);fe.current=he;const{scrollHeight:_e,start:be,end:ve,offset:$e}=i.useMemo(()=>{if(!Z)return{scrollHeight:void 0,start:0,end:ee.length-1,offset:void 0};if(!U)return{scrollHeight:oe.current?.offsetHeight||0,start:0,end:ee.length-1,offset:void 0};let e,t,o,n=0;const r=ee.length;for(let a=0;a<r;a+=1){const r=X(ee[a]),i=K.get(r),s=n+(void 0===i?p:i);s>=re&&void 0===e&&(e=a,t=n),s>re+c&&void 0===o&&(o=a),n=s}return void 0===e&&(e=0,t=0,o=Math.ceil(c/p)),void 0===o&&(o=ee.length-1),o=Math.min(o+1,ee.length-1),{scrollHeight:n,start:e,end:o,offset:t}},[U,Z,re,ee,V,c]);ge.current.start=be,ge.current.end=ve,i.useLayoutEffect(()=>{const e=K.getRecord();if(1===e.size){const t=Array.from(e.keys())[0],o=e.get(t),n=ee[be];if(n&&void 0===o){if(X(n)===t){const e=K.get(t)-p;pe(t=>t+e)}}}K.resetRecord()},[_e]);const[ye,xe]=i.useState({width:0,height:c}),Se=(0,i.useRef)(null),Ce=(0,i.useRef)(null),we=i.useMemo(()=>C(ye.width,I),[ye.width,I]),ke=i.useMemo(()=>C(ye.height,_e),[ye.height,_e]),Ee=_e-c,ze=(0,i.useRef)(Ee);ze.current=Ee;const Ne=re<=0,Ae=re>=Ee,Me=ie<=0,je=ie>=I,Re=g(Ne,Ae,Me,je),Ie=()=>({x:Q?-ie:ie,y:re}),Te=(0,i.useRef)(Ie()),Pe=(0,a._q)(e=>{if(H){const t={...Ie(),...e};Te.current.x===t.x&&Te.current.y===t.y||(H(t),Te.current=t)}});function He(e,t){const o=e;t?((0,s.flushSync)(()=>{se(o)}),Pe()):pe(o)}const Be=e=>{let t=e;const o=I?I-ye.width:0;return t=Math.max(t,0),t=Math.min(t,o),t},De=(0,a._q)((e,t)=>{t?((0,s.flushSync)(()=>{se(t=>Be(t+(Q?-e:e)))}),Pe()):pe(t=>t+e)}),[Le,Oe]=f(Z,Ne,Ae,Me,je,!!I,De);!function(e,t,o){const n=(0,i.useRef)(!1),r=(0,i.useRef)(0),s=(0,i.useRef)(0),l=(0,i.useRef)(null),c=(0,i.useRef)(null);let d;const m=e=>{if(n.current){const t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY);let a=r.current-t,i=s.current-n;const l=Math.abs(a)>Math.abs(i);l?r.current=t:s.current=n;const d=o(l,l?a:i,!1,e);d&&e.preventDefault(),clearInterval(c.current),d&&(c.current=setInterval(()=>{l?a*=b:i*=b;const e=Math.floor(l?a:i);(!o(l,e,!0)||Math.abs(e)<=.1)&&clearInterval(c.current)},16))}},u=()=>{n.current=!1,d()},p=e=>{d(),1!==e.touches.length||n.current||(n.current=!0,r.current=Math.ceil(e.touches[0].pageX),s.current=Math.ceil(e.touches[0].pageY),l.current=e.target,l.current.addEventListener("touchmove",m,{passive:!1}),l.current.addEventListener("touchend",u,{passive:!0}))};d=()=>{l.current&&(l.current.removeEventListener("touchmove",m),l.current.removeEventListener("touchend",u))},(0,a.Nf)(()=>(e&&t.current.addEventListener("touchstart",p,{passive:!0}),()=>{t.current?.removeEventListener("touchstart",p),d(),clearInterval(c.current)}),[e])}(Z,te,(e,t,o,n)=>{const r=n;return!Re(e,t,o)&&((!r||!r._virtualHandled)&&(r&&(r._virtualHandled=!0),Le({preventDefault(){},deltaX:e?t:0,deltaY:e?0:t}),!0))}),function(e,t,o){i.useEffect(()=>{const n=t.current;if(e&&n){let e,t,r=!1;const i=()=>{a.er.cancel(e)},s=()=>{i(),e=(0,a.er)(()=>{o(t),s()})},l=()=>{r=!1,i()},c=e=>{e.target.draggable||0!==e.button||e._virtualHandled||(e._virtualHandled=!0,r=!0)},d=e=>{if(r){const o=$(e,!1),{top:r,bottom:a}=n.getBoundingClientRect();o<=r?(t=-v(r-o),s()):o>=a?(t=v(o-a),s()):i()}};return n.addEventListener("mousedown",c),n.ownerDocument.addEventListener("mouseup",l),n.ownerDocument.addEventListener("mousemove",d),n.ownerDocument.addEventListener("dragend",l),()=>{n.removeEventListener("mousedown",c),n.ownerDocument.removeEventListener("mouseup",l),n.ownerDocument.removeEventListener("mousemove",d),n.ownerDocument.removeEventListener("dragend",l),i()}}},[e])}(U,te,e=>{pe(t=>t+e)}),(0,a.Nf)(()=>{function e(e){!Z||Ne&&e.detail<0||Ae&&e.detail>0||e.preventDefault()}const t=te.current;return t.addEventListener("wheel",Le,{passive:!1}),t.addEventListener("DOMMouseScroll",Oe,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),()=>{t.removeEventListener("wheel",Le),t.removeEventListener("DOMMouseScroll",Oe),t.removeEventListener("MozMousePixelScroll",e)}},[Z,Ne,Ae]),(0,a.Nf)(()=>{if(I){const e=Be(ie);se(e),Pe({x:e})}},[ye.width,I]);const We=()=>{Se.current?.delayHidden(),Ce.current?.delayHidden()},Fe=function(e,t,o,n){const[r,a]=i.useMemo(()=>[new Map,[]],[e,o.id,n]);return(i,s=i)=>{let l=r.get(i),c=r.get(s);if(void 0===l||void 0===c){const d=e.length;for(let m=a.length;m<d;m+=1){const d=t(e[m]);r.set(d,m);const u=o.get(d)??n;if(a[m]=(a[m-1]||0)+u,d===i&&(l=m),d===s&&(c=m),void 0!==l&&void 0!==c)break}}return{top:a[l-1]||0,bottom:a[c]}}}(ee,X,K,p),Xe=y(te,ee,K,p,X,Fe,()=>G(!0),pe,We);i.useImperativeHandle(t,()=>({nativeElement:ne.current,getScrollInfo:Ie,scrollTo:e=>{var t;(t=e)&&"object"==typeof t&&("left"in t||"top"in t)?(void 0!==e.left&&se(Be(e.left)),Xe(e.top)):Xe(e)}})),(0,a.Nf)(()=>{if(B){const e=ee.slice(be,ve+1);B(e,ee)}},[be,ve,ee]);const qe=L?.({start:be,end:ve,virtual:U,offsetX:ie,scrollTop:re,offsetY:$e,rtl:Q,getSize:Fe}),Ge=function(e,t,o,n,r,a,s,{getKey:l}){return e.slice(t,o+1).map((e,o)=>{const c=s(e,t+o,{style:{width:n},offsetX:r}),d=l(e);return i.createElement(m,{key:d,setRef:t=>a(e,t)},c)})}(ee,be,ve,I,ie,q,A,ue);let Ke=null;c&&(Ke={[x?"height":"maxHeight"]:c,...E},Z&&(Ke.overflowY="hidden",I&&(Ke.overflowX="hidden"),le&&(Ke.pointerEvents="none")));const Ve={};return Q&&(Ve.dir="rtl"),i.createElement("div",w({ref:ne,style:{...z,position:"relative"},className:J},Ve,F),i.createElement(r.Ay,{onResize:e=>{xe({width:e.offsetWidth,height:e.offsetHeight})}},i.createElement(T,{className:`${o}-holder`,style:Ke,ref:te,onScroll:function(e){const{scrollTop:t}=e.currentTarget;t!==re&&pe(t),P?.(e),Pe()},onMouseEnter:We},i.createElement(d,{prefixCls:o,height:_e,offsetX:ie,offsetY:$e,scrollWidth:I,onInnerResize:G,ref:oe,innerProps:D,rtl:Q,extra:qe},Ge))),U&&_e>c&&i.createElement(S,{ref:Se,prefixCls:o,scrollOffset:re,scrollRange:_e,rtl:Q,onScroll:He,onStartMove:de,onStopMove:me,spinSize:ke,containerSize:ye.height,style:O?.verticalScrollBar,thumbStyle:O?.verticalScrollBarThumb,showScrollBar:W}),U&&I>ye.width&&i.createElement(S,{ref:Ce,prefixCls:o,scrollOffset:ie,scrollRange:I,rtl:Q,onScroll:He,onStartMove:de,onStopMove:me,spinSize:we,containerSize:ye.width,horizontal:!0,style:O?.horizontalScrollBar,thumbStyle:O?.horizontalScrollBarThumb,showScrollBar:W}))}const N=i.forwardRef(z);N.displayName="List";const A=N,M=i.forwardRef((e,t)=>z({...e,virtual:!1},t));M.displayName="List";const j=A},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/getRenderPropValue.js"(e,t,o){var n=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),r=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js");o.d(t,["b",0,e=>(0,n.AZ)(e)?(0,r.Tn)(e)?e():e:null])},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/avatar/index.js"(e,t,o){o.d(t,{A:()=>z});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+resize-observer@1.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/resize-observer/es/index.js"),a=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),l=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/responsiveObserver.js"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),m=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),u=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/hooks/useBreakpoint.js");const p=n.createContext({});var g=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),f=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),h=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),_=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const b=e=>{const{antCls:t,componentCls:o,iconCls:n,avatarBg:r,avatarColor:a,containerSize:i,containerSizeLG:s,containerSizeSM:l,textFontSize:c,textFontSizeLG:d,textFontSizeSM:m,iconFontSize:u,iconFontSizeLG:p,iconFontSizeSM:h,borderRadius:_,borderRadiusLG:b,borderRadiusSM:v,lineWidth:$,lineType:y}=e,x=(e,t,r,a)=>({width:e,height:e,borderRadius:"50%",fontSize:t,[`&${o}-square`]:{borderRadius:a},[`&${o}-icon`]:{fontSize:r,[`> ${n}`]:{margin:0}}});return{[o]:{...(0,f.dF)(e),position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:a,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:r,border:`${(0,g.zA)($)} ${y} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"},...x(i,c,u,_),"&-lg":{...x(s,d,p,b)},"&-sm":{...x(l,m,h,v)},"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}}}},v=e=>{const{componentCls:t,groupBorderColor:o,groupOverlapping:n,groupSpace:r}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:o},"> *:not(:first-child)":{marginInlineStart:n}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:r}}}},$=(0,h.OF)("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:o}=e,n=(0,_.oX)(e,{avatarBg:o,avatarColor:t});return[b(n),v(n)]},e=>{const{controlHeight:t,controlHeightLG:o,controlHeightSM:n,fontSize:r,fontSizeLG:a,fontSizeXL:i,fontSizeHeading3:s,marginXS:l,marginXXS:c,colorBorderBg:d}=e;return{containerSize:t,containerSizeLG:o,containerSizeSM:n,textFontSize:r,textFontSizeLG:r,textFontSizeSM:r,iconFontSize:Math.round((a+i)/2),iconFontSizeLG:s,iconFontSizeSM:r,groupSpace:c,groupOverlapping:-l,groupBorderColor:d}}),y=n.forwardRef((e,t)=>{const{prefixCls:o,shape:g,size:f,src:h,srcSet:_,icon:b,className:v,rootClassName:y,style:x,alt:S,draggable:C,children:w,crossOrigin:k,gap:E=4,onError:z,...N}=e,[A,M]=n.useState(1),[j,R]=n.useState(!1),[I,T]=n.useState(!0),P=n.useRef(null),H=n.useRef(null),B=(0,a.K4)(t,P),{getPrefixCls:D,className:L,style:O}=(0,c.TP)("avatar"),W=n.useContext(p),F=()=>{if(!H.current||!P.current)return;const e=H.current.offsetWidth,t=P.current.offsetWidth;0!==e&&0!==t&&2*E<t&&M(t-2*E<e?(t-2*E)/e:1)};n.useEffect(()=>{R(!0)},[]),n.useEffect(()=>{T(!0),M(1)},[h,_]),n.useEffect(F,[E]);const X=()=>{const e=z?.();!1!==e&&T(!1)},q=(0,m.A)(e=>f??W?.size??e??"medium"),G=Object.keys((0,s.Qd)(q)?q:{}).some(e=>l.ye.includes(e)),K=(0,a.AZ)(b),V=(0,u.A)(G),Z=n.useMemo(()=>{if(!(0,s.Qd)(q))return{};const e=(0,l.ko)(V,q);return e?{width:e,height:e,fontSize:K||(0,a.AZ)(w)?e/2:18}:{}},[V,q,K,w]);const Y=D("avatar",o),U=(0,d.A)(Y),[Q,J]=$(Y,U),ee=(0,i.$)({[`${Y}-lg`]:"large"===q,[`${Y}-sm`]:"small"===q}),te=n.isValidElement(h),oe=(0,i.$)(Y,ee,L,`${Y}-${g||W?.shape||"circle"}`,{[`${Y}-image`]:te||h&&I,[`${Y}-icon`]:K},J,U,v,y,Q),ne=(0,s.Et)(q)?{width:q,height:q,fontSize:K?q/2:18}:{};let re;if("string"==typeof h&&I)re=n.createElement("img",{src:h,draggable:C,srcSet:_,onError:X,alt:S,crossOrigin:k});else if(te)re=h;else if(K)re=b;else if(j||1!==A){const e=`scale(${A})`;re=n.createElement(r.Ay,{onResize:F},n.createElement("span",{className:`${Y}-string`,ref:H,style:{WebkitTransform:e,transform:e}},w))}else re=n.createElement("span",{className:`${Y}-string`,style:{opacity:0},ref:H},w);return n.createElement("span",{...N,style:{...ne,...Z,...O,...x},className:oe,ref:B},re)});const x=y;var S=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/reactNode.js"),C=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/index.js");const w=e=>{const{size:t,shape:o}=n.useContext(p),r=n.useMemo(()=>({size:e.size||t,shape:e.shape||o}),[e.size,e.shape,t,o]);return n.createElement(p.Provider,{value:r},e.children)},k=n.forwardRef((e,t)=>{const{getPrefixCls:o,direction:r}=n.useContext(c.QO),{prefixCls:s,className:l,rootClassName:m,style:u,maxCount:p,maxStyle:g,size:f,shape:h,maxPopoverPlacement:_,maxPopoverTrigger:b,children:v,max:y}=e;const k=o("avatar",s),E=`${k}-group`,z=(0,d.A)(k),[N,A]=$(k,z),M=(0,i.$)(E,{[`${E}-rtl`]:"rtl"===r},A,z,l,m,N),j=(0,a.$r)(v).map((e,t)=>(0,S.Ob)(e,{key:`avatar-key-${t}`})),R=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:R.current}));const I=y?.count||p,T=j.length;let P=j;if(I&&I<T){const e=j.slice(0,I),t=j.slice(I,T),o=y?.style||g,r=y?.popover?.trigger||b||"hover",a=y?.popover?.placement||_||"top",s={content:t,...y?.popover,placement:a,trigger:r,rootClassName:(0,i.$)(`${E}-popover`,y?.popover?.rootClassName)};e.push(n.createElement(C.A,{key:"avatar-popover-key",destroyOnHidden:!0,...s},n.createElement(x,{style:o},"+"+(T-I)))),P=e}return n.createElement(w,{shape:h,size:f},n.createElement("div",{ref:R,className:M,style:u},P))}),E=x;E.Group=k;const z=E},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/badge/index.js"(e,t,o){o.d(t,{A:()=>P});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+motion@1.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/motion/es/index.js"),a=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/colors.js"),l=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/reactNode.js"),m=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js");const u=e=>{const{prefixCls:t,value:o,current:r,offset:a=0}=e;let s;return a&&(s={position:"absolute",top:`${a}00%`,left:0}),n.createElement("span",{style:s,className:(0,i.$)(`${t}-only-unit`,{current:r})},o)};function p(e,t,o){let n=e,r=0;for(;(n+10)%10!==t;)n+=o,r+=o;return r}const g=e=>{const{prefixCls:t,count:o,value:r}=e,a=Number(r),i=Math.abs(o),[s,l]=n.useState(a),[c,d]=n.useState(i),m=()=>{l(a),d(i)};let g,f;if(n.useEffect(()=>{const e=setTimeout(m,1e3);return()=>clearTimeout(e)},[a]),s===a||Number.isNaN(a)||Number.isNaN(s))g=[n.createElement(u,{...e,key:a,current:!0})],f={transition:"none"};else{g=[];const t=a+10,o=[];for(let e=a;e<=t;e+=1)o.push(e);const r=c<i?1:-1,l=o.findIndex(e=>e%10===s);g=(r<0?o.slice(0,l+1):o.slice(l)).map((t,o)=>{const a=t%10;return n.createElement(u,{...e,key:t,value:a,offset:r<0?o-l:o,current:o===l})}),f={transform:`translateY(${-p(s,a,r)}00%)`}}return n.createElement("span",{className:`${t}-only`,style:f,onTransitionEnd:m},g)},f=n.forwardRef((e,t)=>{const{prefixCls:o,count:r,className:a,motionClassName:s,style:l,title:c,show:u,component:p="sup",children:f,...h}=e,{getPrefixCls:_}=n.useContext(m.QO),b=_("scroll-number",o),v={...h,"data-show":u,style:l,className:(0,i.$)(b,a,s),title:c};let $=r;if(r&&Number(r)%1==0){const e=String(r).split("");$=n.createElement("bdi",null,e.map((t,o)=>n.createElement(g,{prefixCls:b,count:Number(r),value:t,key:e.length-o})))}return l?.borderColor&&(v.style={...l,boxShadow:`0 0 0 1px ${l.borderColor} inset`}),f?(0,d.Ob)(f,e=>({className:(0,i.$)(`${b}-custom-component`,e?.className,s)})):n.createElement(p,{...v,ref:t},$)}),h=f;var _=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),b=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),v=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genPresetColor.js"),$=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js"),y=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");const x=new _.Mo("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),S=new _.Mo("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),C=new _.Mo("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),w=new _.Mo("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),k=new _.Mo("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),E=new _.Mo("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),z=e=>{const{fontHeight:t,lineWidth:o,marginXS:n,colorBorderBg:r}=e;return(0,$.oX)(e,{badgeFontHeight:t,badgeShadowSize:o,badgeTextColor:e.colorTextLightSolid,badgeColor:e.colorError,badgeColorHover:e.colorErrorHover,badgeShadowColor:r,badgeProcessingDuration:"1.2s",badgeRibbonOffset:n,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},N=e=>{const{fontSize:t,lineHeight:o,fontSizeSM:n,lineWidth:r,paddingXS:a}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*o)-2*r,indicatorHeightSM:t,dotSize:n/2,textFontSize:n,textFontSizeSM:n,textFontWeight:"normal",statusSize:n/2,paddingInline:a}},A=(0,y.OF)("Badge",e=>(e=>{const{componentCls:t,iconCls:o,antCls:n,badgeShadowSize:r,textFontSize:a,textFontSizeSM:i,statusSize:s,dotSize:l,textFontWeight:c,indicatorHeight:d,indicatorHeightSM:m,marginXS:u,calc:p}=e,g=`${n}-scroll-number`,f=(0,v.A)(e,(e,{darkColor:o})=>({[`&${t} ${t}-color-${e}`]:{background:o,[`&:not(${t}-count)`]:{color:o},"a:hover &":{background:o}}}));return{[t]:{...(0,b.dF)(e),position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:d,height:d,color:e.badgeTextColor,fontWeight:c,fontSize:a,lineHeight:(0,_.zA)(d),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:p(d).div(2).equal(),boxShadow:`0 0 0 ${(0,_.zA)(r)} ${e.badgeShadowColor}`,transition:`background-color ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:m,height:m,fontSize:i,lineHeight:(0,_.zA)(m),borderRadius:p(m).div(2).equal()},[`${t}-multiple-words`]:{paddingInline:e.paddingInline,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:l,minWidth:l,height:l,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,_.zA)(r)} ${e.badgeShadowColor}`},[`${t}-count, ${t}-dot, ${g}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${o}-spin`]:{animationName:E,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfoTextHover,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:r,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:x,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:u,color:e.colorText,fontSize:e.fontSize}},...f,[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:S,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:C,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:w,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:k,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${g}-custom-component, ${t}-count`]:{transform:"none"},[`${g}-custom-component, ${g}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[g]:{overflow:"hidden",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack}`,[`${g}-only`]:{position:"relative",display:"inline-block",height:d,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${g}-custom-component`]:{transform:"translate(-50%, -50%)"}}}}})(z(e)),N),M=n.forwardRef((e,t)=>{const{prefixCls:o,scrollNumberPrefixCls:u,children:p,status:g,text:f,color:_,count:b=null,overflowCount:v=99,dot:$=!1,size:y="medium",title:x,offset:S,style:C,className:w,rootClassName:k,classNames:E,styles:z,showZero:N=!1,...M}=e,{getPrefixCls:j,direction:R,className:I,style:T,classNames:P,styles:H}=(0,m.TP)("badge"),B=j("badge",o),[D,L]=A(B);const O={...e,overflowCount:v,size:y,dot:$,showZero:N},W=b>v?`${v}+`:b,F="0"===W||0===W||"0"===f||0===f,X=null===b||F&&!N,q=((0,a.R)(g)||(0,a.R)(_))&&X,G=(0,a.R)(g)||!F,K=Boolean(!p&&q&&(f||G)),V=(0,n.useMemo)(()=>{if(!S)return;const e=Number.parseFloat(S[0]);return{marginTop:S[1],insetInlineEnd:-e}},[S]),Z=(0,n.useMemo)(()=>({...V,...T,...C}),[V,C,T]),Y=K?"root":"indicator",U=(0,l.XT)(T,Y),Q=(0,l.XT)(C,Y),[J,ee]=(0,l.AV)([P,E],[H,U,z,Q],{props:O}),te=$&&!F,oe=te?"":W,ne=(0,n.useMemo)(()=>(!(0,a.AZ)(oe)&&!(0,a.AZ)(f)||F&&!N)&&!te,[oe,F,N,te,f]),re=(0,n.useRef)(b);ne||(re.current=b);const ae=re.current,ie=(0,n.useRef)(oe);ne||(ie.current=oe);const se=ie.current,le=(0,n.useRef)(te);ne||(le.current=te);const ce=(0,c.Kg)(ae)||(0,c.Et)(ae)?ae:void 0,de=null===x||!1===x?void 0:x??ce,me=!ne&&(0===f?N:!!f&&!0!==f)?n.createElement("span",{style:K?{color:ee.root?.color}:void 0,className:`${B}-status-text`},f):null,ue=(0,c.Qd)(ae)?(0,d.Ob)(ae,e=>({style:{...Z,...e.style}})):void 0,pe=(0,s.nP)(_,!1),ge=(0,i.$)(J.indicator,{[`${B}-status-dot`]:q,[`${B}-status-${g}`]:!!g,[`${B}-color-${_}`]:pe}),fe={};_&&!pe&&(fe.color=_,fe.background=_);const he=(0,i.$)(B,{[`${B}-status`]:q,[`${B}-not-a-wrapper`]:!p,[`${B}-rtl`]:"rtl"===R},w,k,I,J.root,D,L);return K?n.createElement("span",{ref:t,...M,className:he,style:{...V,...ee.root}},n.createElement("span",{className:ge,style:{...ee.indicator,...fe}}),me):n.createElement("span",{ref:t,...M,className:he,style:ee.root},p,n.createElement(r.Ay,{visible:!ne,motionName:`${B}-zoom`,motionAppear:!1,motionDeadline:1e3},({className:e})=>{const t=j("scroll-number",u),o=le.current,r=(0,i.$)(J.indicator,{[`${B}-dot`]:o,[`${B}-count`]:!o,[`${B}-count-sm`]:"small"===y,[`${B}-multiple-words`]:!o&&se&&se.toString().length>1,[`${B}-status-${g}`]:!!g,[`${B}-color-${_}`]:pe}),a={...V,...ee.indicator};return _&&!pe&&(a.background=_),n.createElement(h,{prefixCls:t,show:!ne,motionClassName:e,className:r,count:se,title:de,style:a,key:"scrollNumber"},ue)}),me)});const j=M,R=(0,y.OF)(["Badge","Ribbon"],e=>(e=>{const{antCls:t,badgeFontHeight:o,marginXS:n,badgeRibbonOffset:r,calc:a}=e,i=`${t}-ribbon`,s=`${t}-ribbon-wrapper`,l=(0,v.A)(e,(e,{darkColor:t})=>({[`&${i}-color-${e}`]:{background:t,color:t}}));return{[s]:{position:"relative"},[i]:{...(0,b.dF)(e),position:"absolute",top:n,padding:`0 ${(0,_.zA)(e.paddingXS)}`,color:e.colorPrimary,lineHeight:(0,_.zA)(o),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${i}-content`]:{color:e.badgeTextColor},[`${i}-corner`]:{position:"absolute",top:"100%",width:r,height:r,color:"currentcolor",border:`${(0,_.zA)(a(r).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter},...l,[`&${i}-placement-end`]:{insetInlineEnd:a(r).mul(-1).equal(),borderEndEndRadius:0,[`${i}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${i}-placement-start`]:{insetInlineStart:a(r).mul(-1).equal(),borderEndStartRadius:0,[`${i}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}}}})(z(e)),N),I=n.forwardRef((e,t)=>{const{className:o,prefixCls:r,style:a,color:c,children:d,text:u,placement:p="end",rootClassName:g,styles:f,classNames:h}=e,{getPrefixCls:_,direction:b,className:v,style:$,classNames:y,styles:x}=(0,m.TP)("ribbon"),S=_("ribbon",r),C=`${S}-wrapper`,[w,k]=R(S,C),E={...e,placement:p},z=(0,l.XT)($,"indicator"),N=(0,l.XT)(a,"indicator"),[A,M]=(0,l.AV)([y,h],[x,z,f,N],{props:E}),j=(0,s.nP)(c,!1),I=(0,i.$)(S,`${S}-placement-${p}`,{[`${S}-rtl`]:"rtl"===b,[`${S}-color-${c}`]:j},o,v,A.indicator),T={},P={};c&&!j&&(T.background=c,P.color=c);const H=n.useRef(null);return n.useImperativeHandle(t,()=>({nativeElement:H.current})),n.createElement("div",{ref:H,className:(0,i.$)(C,g,w,k,A.root),style:M.root},d,n.createElement("div",{className:(0,i.$)(I,w),style:{...T,...M.indicator}},n.createElement("span",{className:(0,i.$)(`${S}-content`,A.content),style:M.content},u),n.createElement("div",{className:`${S}-corner`,style:P})))});const T=j;T.Ribbon=I;const P=T},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/card/index.js"(e,t,o){o.d(t,{A:()=>j});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),s=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),l=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/form/hooks/useVariants.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/index.js"),m=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tabs/index.js");const u=n.forwardRef((e,t)=>{const{prefixCls:o,className:r,hoverable:i=!0,...l}=e,{getPrefixCls:c}=n.useContext(s.QO),d=c("card",o),m=(0,a.$)(`${d}-grid`,r,{[`${d}-grid-hoverable`]:i}),u=n.useRef(null);return n.useImperativeHandle(t,()=>({nativeElement:u.current})),n.createElement("div",{ref:u,...l,className:m})});var p=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),g=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),f=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),h=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const _=e=>{const{antCls:t,headerHeight:o,headerPadding:n,tabsMarginBottom:r}=e;return{display:"flex",justifyContent:"center",flexDirection:"column",minHeight:o,marginBottom:-1,padding:`0 ${(0,p.zA)(n)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,p.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,p.zA)(e.borderRadiusLG)} ${(0,p.zA)(e.borderRadiusLG)} 0 0`,...(0,g.t6)(),"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":{display:"inline-block",flex:1,...g.L9,[`> ${t}-typography`]:{insetInlineStart:0,marginTop:0,marginBottom:0}},[`${t}-tabs-top`]:{clear:"both",marginBottom:r,color:e.colorText,fontWeight:400,fontSize:e.fontSize}}},b=e=>{const{cardPaddingBase:t,colorBorderSecondary:o,cardShadow:n,lineWidth:r}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`\n ${(0,p.zA)(r)} 0 0 0 ${o},\n 0 ${(0,p.zA)(r)} 0 0 ${o},\n ${(0,p.zA)(r)} ${(0,p.zA)(r)} 0 0 ${o},\n ${(0,p.zA)(r)} 0 0 0 ${o} inset,\n 0 ${(0,p.zA)(r)} 0 0 ${o} inset;\n `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},v=e=>{const{antCls:t,iconCls:o,actionsLiMargin:n,cardActionsIconSize:r,colorBorderSecondary:a,actionsBg:i}=e;return{margin:0,padding:0,listStyle:"none",background:i,borderTop:`${(0,p.zA)(e.lineWidth)} ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${(0,p.zA)(e.borderRadiusLG)} ${(0,p.zA)(e.borderRadiusLG)}`,...(0,g.t6)(),"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${o}`]:{display:"inline-block",width:"100%",color:e.colorIcon,lineHeight:(0,p.zA)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${o}`]:{fontSize:r,lineHeight:(0,p.zA)(e.calc(r).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,p.zA)(e.lineWidth)} ${e.lineType} ${a}`}}}},$=e=>({margin:`${(0,p.zA)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex",...(0,g.t6)(),"&-avatar":{paddingInlineEnd:e.padding},"&-section":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,...g.L9},"&-description":{color:e.colorTextDescription}}),y=e=>{const{componentCls:t,colorFillAlter:o,headerPadding:n,bodyPadding:r}=e;return{[`${t}-head`]:{padding:`0 ${(0,p.zA)(n)}`,background:o,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,p.zA)(e.padding)} ${(0,p.zA)(r)}`}}},x=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},S=e=>{const{componentCls:t,cardShadow:o,cardHeadPadding:n,colorBorderSecondary:r,boxShadowTertiary:a,bodyPadding:i,extraColor:s,motionDurationMid:l}=e;return{[t]:{...(0,g.dF)(e),position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:a},[`${t}-head`]:_(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:400,fontSize:e.fontSize},[`${t}-body`]:{padding:i,borderRadius:`0 0 ${(0,p.zA)(e.borderRadiusLG)} ${(0,p.zA)(e.borderRadiusLG)}`,"&:first-child":{borderStartStartRadius:e.borderRadiusLG,borderStartEndRadius:e.borderRadiusLG},"&:not(:last-child)":{borderEndStartRadius:0,borderEndEndRadius:0}},[`${t}-grid`]:b(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,p.zA)(e.borderRadiusLG)} ${(0,p.zA)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:v(e),[`${t}-meta`]:$(e)},[`${t}-bordered`]:{border:`${(0,p.zA)(e.lineWidth)} ${e.lineType} ${r}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:["box-shadow","border-color"].map(e=>`${e} ${l}`).join(", "),"&:hover":{borderColor:"transparent",boxShadow:o}},[`${t}-contain-grid`]:{borderRadius:`${(0,p.zA)(e.borderRadiusLG)} ${(0,p.zA)(e.borderRadiusLG)} 0 0 `,[`&:not(:has(> ${t}-head))`]:{borderRadius:0},[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:y(e),[`${t}-loading`]:x(e),[`${t}-rtl`]:{direction:"rtl"}}},C=e=>{const{componentCls:t,bodyPaddingSM:o,headerPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${(0,p.zA)(n)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:o}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},w=(0,f.OF)("Card",e=>{const t=(0,h.oX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[S(t),C(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:e.bodyPadding??e.paddingLG,headerPadding:e.headerPadding??e.paddingLG})),k=e=>{const{actionClasses:t,actions:o=[],actionStyle:r}=e;return n.createElement("ul",{className:t,style:r},o.map((e,t)=>n.createElement("li",{style:{width:100/o.length+"%"},key:`action-${t}`},n.createElement("span",null,e))))},E=n.forwardRef((e,t)=>{const{prefixCls:o,className:p,rootClassName:g,style:f,extra:h,headStyle:_={},bodyStyle:b={},title:v,loading:$,bordered:y,variant:x,size:S,type:C,cover:E,actions:z,tabList:N,children:A,activeTabKey:M,defaultActiveTabKey:j,tabBarExtraContent:R,hoverable:I,tabProps:T={},classNames:P,styles:H,...B}=e,{getPrefixCls:D,direction:L,className:O,style:W,classNames:F,styles:X}=(0,s.TP)("card"),[q]=(0,c.A)("card",x,y);const G=(0,l.A)(S),K={...e,size:G,variant:q},V=(0,i.XT)(W),Z=(0,i.XT)(f),[Y,U]=(0,i.AV)([F,P],[X,V,H,Z],{props:K});const Q=n.useMemo(()=>(0,r.$r)(A),[A]),J=n.useMemo(()=>Q.some(e=>n.isValidElement(e)&&e.type===u),[Q]),ee=D("card",o),[te,oe]=w(ee),ne=n.createElement(d.A,{loading:!0,active:!0,paragraph:{rows:4},title:!1},A),re=void 0!==M,ae={...T,[re?"activeKey":"defaultActiveKey"]:re?M:j??T.defaultActiveKey,tabBarExtraContent:R};let ie;const se=N?n.createElement(m.A,{size:"small"!==G?"large":G,...ae,className:`${ee}-head-tabs`,onChange:t=>{T.onChange?.(t),e.onTabChange?.(t)},items:N.map(({tab:e,...t})=>({label:e,...t}))}):null;if((0,r.AZ)(v)||(0,r.AZ)(h)||se){const e=(0,a.$)(`${ee}-head`,Y.header),t=(0,a.$)(`${ee}-head-title`,Y.title),o=(0,a.$)(`${ee}-extra`,Y.extra),i={..._,...U.header};ie=n.createElement("div",{className:e,style:i},n.createElement("div",{className:`${ee}-head-wrapper`},(0,r.AZ)(v)&&n.createElement("div",{className:t,style:U.title},v),(0,r.AZ)(h)&&n.createElement("div",{className:o,style:U.extra},h)),se)}const le=(0,a.$)(`${ee}-cover`,Y.cover),ce=(0,r.AZ)(E)?n.createElement("div",{className:le,style:U.cover},E):null,de=(0,a.$)(`${ee}-body`,Y.body),me={...b,...U.body},ue=$||Q.length?n.createElement("div",{className:de,style:me},$?ne:A):null,pe=(0,a.$)(`${ee}-actions`,Y.actions),ge=z?.length?n.createElement(k,{actionClasses:pe,actionStyle:U.actions,actions:z}):null,fe=(0,r.cJ)(B,["onTabChange"]),he=(0,a.$)(ee,O,{[`${ee}-loading`]:$,[`${ee}-bordered`]:"borderless"!==q,[`${ee}-hoverable`]:I,[`${ee}-contain-grid`]:J,[`${ee}-contain-tabs`]:N?.length,[`${ee}-small`]:"small"===G,[`${ee}-type-${C}`]:!!C,[`${ee}-rtl`]:"rtl"===L},p,g,te,oe,Y.root),_e={...U.root};return n.createElement("div",{ref:t,...fe,className:he,style:_e},ie,ce,ue,ge)});const z=E,N=n.forwardRef((e,t)=>{const{prefixCls:o,className:l,avatar:c,title:d,description:m,style:u,classNames:p,styles:g,...f}=e,{getPrefixCls:h,className:_,style:b,classNames:v,styles:$}=(0,s.TP)("cardMeta"),y=`${h("card",o)}-meta`,x=(0,i.XT)(b),S=(0,i.XT)(u),[C,w]=(0,i.AV)([v,p],[$,x,g,S],{props:e}),k=(0,a.$)(y,l,_,C.root),E={...w.root},z=(0,a.$)(`${y}-avatar`,C.avatar),N=(0,a.$)(`${y}-title`,C.title),A=(0,a.$)(`${y}-description`,C.description),M=(0,a.$)(`${y}-section`,C.section),j=(0,r.AZ)(c)?n.createElement("div",{className:z,style:w.avatar},c):null,R=(0,r.AZ)(d)?n.createElement("div",{className:N,style:w.title},d):null,I=(0,r.AZ)(m)?n.createElement("div",{className:A,style:w.description},m):null,T=R||I?n.createElement("div",{className:M,style:w.section},R,I):null,P=n.useRef(null);return n.useImperativeHandle(t,()=>({nativeElement:P.current})),n.createElement("div",{ref:P,...f,className:k,style:E},j,T)});const A=N,M=z;M.Grid=u,M.Meta=A;const j=M},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/empty/index.js"(e,t,o){o.d(t,{A:()=>$});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),s=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),l=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/locale/useLocale.js"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/useToken.js"),d=o("./node_modules/.pnpm/@ant-design+fast-color@3.0.1/node_modules/@ant-design/fast-color/es/index.js");const m=(e,t)=>e?.startsWith("var(")||t?.startsWith("var(")?e:new d.Y(e).onBackground(t).toHexString();const u=()=>{const[,e]=(0,c.Ay)(),[t]=(0,l.A)("Empty"),{colorBgContainer:o,colorFill:r,colorFillSecondary:a,colorFillTertiary:i,colorTextQuaternary:s}=e,{panelBgColor:d,borderColor:u,detailColor:p,shadowColor:g,iconColor:f}=(0,n.useMemo)(()=>({panelBgColor:m(i,o),borderColor:m(s,o),detailColor:m(r,o),shadowColor:m(a,o),iconColor:o}),[o,r,a,i,s]);return n.createElement("svg",{width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,t?.description||"Empty"),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(24 31.7)"},n.createElement("ellipse",{fillOpacity:".8",fill:g,cx:"67.8",cy:"106.9",rx:"67.8",ry:"12.7"}),n.createElement("path",{fill:u,d:"M122 69.7 98.1 40.2a6 6 0 0 0-4.6-2.2H42.1a6 6 0 0 0-4.6 2.2l-24 29.5V85H122z"}),n.createElement("path",{fill:d,d:"M33.8 0h68a4 4 0 0 1 4 4v93.3a4 4 0 0 1-4 4h-68a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4"}),n.createElement("path",{fill:p,d:"M42.7 10h50.2a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H42.7a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2m.2 39.8h49.8a2.3 2.3 0 1 1 0 4.5H42.9a2.3 2.3 0 0 1 0-4.5m0 11.7h49.8a2.3 2.3 0 1 1 0 4.6H42.9a2.3 2.3 0 0 1 0-4.6m79 43.5a7 7 0 0 1-6.8 5.4H20.5a7 7 0 0 1-6.7-5.4l-.2-1.8V69.7h26.3c2.9 0 5.2 2.4 5.2 5.4s2.4 5.4 5.3 5.4h34.8c2.9 0 5.3-2.4 5.3-5.4s2.3-5.4 5.2-5.4H122v33.5q0 1-.2 1.8"})),n.createElement("path",{fill:p,d:"m149.1 33.3-6.8 2.6a1 1 0 0 1-1.3-1.2l2-6.2q-4.1-4.5-4.2-10.4c0-10 10.1-18.1 22.6-18.1S184 8.1 184 18.1s-10.1 18-22.6 18q-6.8 0-12.3-2.8"}),n.createElement("g",{fill:f,transform:"translate(149.7 15.4)"},n.createElement("circle",{cx:"20.7",cy:"3.2",r:"2.8"}),n.createElement("path",{d:"M5.7 5.6H0L2.9.7zM9.3.7h5v5h-5z"}))))};const p=()=>{const[,e]=(0,c.Ay)(),[t]=(0,l.A)("Empty"),{colorFill:o,colorFillTertiary:r,colorFillQuaternary:a,colorBgContainer:i}=e,{borderColor:s,shadowColor:d,contentColor:u}=(0,n.useMemo)(()=>({borderColor:m(o,i),shadowColor:m(r,i),contentColor:m(a,i)}),[o,r,a,i]);return n.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},n.createElement("title",null,t?.description||"Empty"),n.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},n.createElement("ellipse",{fill:d,cx:"32",cy:"33",rx:"32",ry:"7"}),n.createElement("g",{fillRule:"nonzero",stroke:s},n.createElement("path",{d:"M55 12.8 44.9 1.3Q44 0 42.9 0H21.1q-1.2 0-2 1.3L9 12.8V22h46z"}),n.createElement("path",{d:"M41.6 16c0-1.7 1-3 2.2-3H55v18.1c0 2.2-1.3 3.9-3 3.9H12c-1.7 0-3-1.7-3-3.9V13h11.2c1.2 0 2.2 1.3 2.2 3s1 2.9 2.2 2.9h14.8c1.2 0 2.2-1.4 2.2-3",fill:u}))))};var g=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),f=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const h=(0,g.OF)("Empty",e=>{const{componentCls:t,controlHeightLG:o,calc:n}=e;return(e=>{const{componentCls:t,margin:o,marginXS:n,marginXL:r,fontSize:a,lineHeight:i}=e;return{[t]:{marginInline:n,fontSize:a,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:n,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:o},"&-normal":{marginBlock:r,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:n,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}})((0,f.oX)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n(o).mul(2.5).equal(),emptyImgHeightMD:o,emptyImgHeightSM:n(o).mul(.875).equal()}))}),_=n.createElement(u,null),b=n.createElement(p,null),v=n.forwardRef((e,t)=>{const{className:o,rootClassName:c,prefixCls:d,image:m,description:u,children:p,imageStyle:g,style:f,classNames:v,styles:$,...y}=e,{getPrefixCls:x,direction:S,className:C,style:w,classNames:k,styles:E,image:z}=(0,s.TP)("empty"),N=x("empty",d),[A,M]=h(N),j=(0,i.XT)(w),R=(0,i.XT)(f),[I,T]=(0,i.AV)([k,v],[E,j,$,R],{props:e}),[P]=(0,l.A)("Empty"),H=void 0!==u?u:P?.description,B=m??z??_;let D=null;D="string"==typeof B?n.createElement("img",{draggable:!1,alt:"string"==typeof H?H:"empty",src:B}):B;const L=n.useRef(null);return n.useImperativeHandle(t,()=>({nativeElement:L.current})),n.createElement("div",{ref:L,className:(0,a.$)(A,M,N,C,{[`${N}-normal`]:B===b,[`${N}-rtl`]:"rtl"===S},o,c,I.root),style:T.root,...y},n.createElement("div",{className:(0,a.$)(`${N}-image`,I.image),style:{...g,...T.image}},D),(0,r.AZ)(H)&&n.createElement("div",{className:(0,a.$)(`${N}-description`,I.description),style:T.description},H),(0,r.AZ)(p)&&n.createElement("div",{className:(0,a.$)(`${N}-footer`,I.footer),style:T.footer},p))});v.PRESENTED_IMAGE_DEFAULT=_,v.PRESENTED_IMAGE_SIMPLE=b;const $=v},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/PurePanel.js"(e,t,o){var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+tooltip@1.5.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/tooltip/es/index.js"),a=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/getRenderPropValue.js"),l=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/style/index.js");const m=e=>{const{title:t,content:o,prefixCls:r,classNames:s,styles:l}=e;return(0,a.AZ)(t)||(0,a.AZ)(o)?n.createElement(n.Fragment,null,(0,a.AZ)(t)&&n.createElement("div",{className:(0,i.$)(`${r}-title`,s?.title),style:l?.title},t),(0,a.AZ)(o)&&n.createElement("div",{className:(0,i.$)(`${r}-content`,s?.content),style:l?.content},o)):null},u=e=>{const{hashId:t,prefixCls:o,className:a,style:c,placement:d="top",title:u,content:p,children:g,classNames:f,styles:h}=e,_=(0,s.b)(u),b=(0,s.b)(p),v={...e,placement:d},[$,y]=(0,l.AV)([f],[h],{props:v}),x=(0,i.$)(t,o,`${o}-pure`,`${o}-placement-${d}`,a);return n.createElement("div",{className:x,style:c},n.createElement("div",{className:`${o}-arrow`}),n.createElement(r.z,{...e,className:t,prefixCls:o,classNames:$,styles:y},g||n.createElement(m,{prefixCls:o,title:_,content:b,classNames:$,styles:y})))};o.d(t,["Ay",0,e=>{const{prefixCls:t,className:o,...r}=e,{getPrefixCls:a}=n.useContext(c.QO),s=a("popover",t),[l,m]=(0,d.A)(s);return n.createElement(u,{...r,prefixCls:s,hashId:l,className:(0,i.$)(o,m)})},"hJ",0,m,"xn",0,u])},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/index.js"(e,t,o){var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/getRenderPropValue.js"),s=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),l=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/motion.js"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/index.js"),m=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/hook/useMergedArrow.js"),u=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/PurePanel.js"),p=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/style/index.js");const g=n.forwardRef((e,t)=>{const{prefixCls:o,title:g,content:f,overlayClassName:h,placement:_="top",trigger:b,children:v,mouseEnterDelay:$,mouseLeaveDelay:y,onOpenChange:x,overlayStyle:S={},styles:C,classNames:w,motion:k,arrow:E,...z}=e,{getPrefixCls:N,className:A,style:M,classNames:j,styles:R,arrow:I,trigger:T,mouseEnterDelay:P,mouseLeaveDelay:H}=(0,c.TP)("popover"),B=$??P??.1,D=y??H??.1,L=N("popover",o),[O,W]=(0,p.A)(L),F=N(),X=(0,m.A)(E,I),q=b||T||"hover";const G={...e,placement:_,trigger:q,mouseEnterDelay:B,mouseLeaveDelay:D,overlayStyle:S,styles:C,classNames:w},K=(0,s.XT)(M),V=(0,s.XT)(S),[Z,Y]=(0,s.AV)([j,w],[R,K,C,V],{props:G}),U=(0,a.$)(h,O,W,A,Z.root),[Q,J]=(0,r.PW)(e.defaultOpen??!1,e.open),ee=(0,i.b)(g),te=(0,i.b)(f);return n.createElement(d.A,{unique:!1,arrow:X,placement:_,trigger:q,mouseEnterDelay:B,mouseLeaveDelay:D,...z,prefixCls:L,classNames:{root:U,container:Z.container,arrow:Z.arrow},styles:{root:Y.root,container:Y.container,arrow:Y.arrow},ref:t,open:Q,onOpenChange:e=>{J(e),x?.(e)},overlay:(0,r.AZ)(ee)||(0,r.AZ)(te)?n.createElement(u.hJ,{prefixCls:L,title:ee,content:te,classNames:Z,styles:Y}):null,motion:{motionName:(0,l.b)(F,"zoom-big","string"==typeof k?.motionName?k?.motionName:void 0)},"data-popover-inject":!0},v)});g._InternalPanelDoNotUseOrYouWillBeFired=u.Ay;o.d(t,["A",0,g])},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/style/index.js"(e,t,o){var n=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),r=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/motion/zoom.js"),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/placementArrow.js"),i=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/roundedArrow.js"),s=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/interface/presetColors.js"),l=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");const d=e=>{const{componentCls:t,popoverColor:o,titleMinWidth:r,fontWeightStrong:i,innerPadding:s,dropShadowPopover:l,colorTextHeading:d,borderRadiusLG:m,zIndexPopup:u,titleMarginBottom:p,colorBgElevated:g,popoverBg:f,titleBorderBottom:h,innerContentPadding:_,titlePadding:b,antCls:v}=e,[$,y]=(0,c.PN)(v,"tooltip");return[{[t]:{...(0,n.dF)(e),position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:400,whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",filter:l,willChange:"transform",[$("valid-offset-x")]:y("arrow-offset-x","var(--arrow-x)"),transformOrigin:[y("valid-offset-x","50%"),"var(--arrow-y, 50%)"].join(" "),[$("arrow-background-color")]:g,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-container`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:m,padding:s},[`${t}-title`]:{minWidth:r,marginBottom:p,color:d,fontWeight:i,borderBottom:h,padding:b},[`${t}-content`]:{color:o,padding:_}}},(0,a.A)(e,y("arrow-background-color"),{arrowShadow:!1}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block"}}]},m=e=>{const{componentCls:t,antCls:o}=e,[n]=(0,c.PN)(o,"tooltip");return{[t]:s.s.map(o=>{const r=e[`${o}6`];return{[`&${t}-${o}`]:{[n("arrow-background-color")]:r,[`${t}-container`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},u=(0,c.OF)("Popover",e=>{const{colorBgElevated:t,colorText:o}=e,n=(0,l.oX)(e,{popoverBg:t,popoverColor:o});return[d(n),m(n),(0,r.aB)(n,"zoom-big")]},e=>{const{lineWidth:t,controlHeight:o,fontHeight:n,padding:r,wireframe:s,zIndexPopupBase:l,borderRadiusLG:c,marginXS:d,lineType:m,colorSplit:u,paddingSM:p}=e,g=o-n,f=g/2,h=g/2-t,_=r;return{titleMinWidth:177,zIndexPopup:l+30,...(0,i.n)(e),...(0,a.K)({contentRadius:c,limitVerticalRadius:!0}),innerPadding:s?0:12,titleMarginBottom:s?0:d,titlePadding:s?`${f}px ${_}px ${h}px`:0,titleBorderBottom:s?`${t}px ${m} ${u}`:"none",innerContentPadding:s?`${p}px ${_}px`:0}},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});o.d(t,["A",0,u])},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/segmented/index.js"(e,t,o){o.d(t,{A:()=>N});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),i=o("./node_modules/.pnpm/@rc-component+motion@1.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/motion/es/index.js");const s=(e,t)=>{if(!e)return null;const o={left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth,top:e.offsetTop,bottom:e.parentElement.clientHeight-e.clientHeight-e.offsetTop,height:e.clientHeight};return t?{left:0,right:0,width:0,top:o.top,bottom:o.bottom,height:o.height}:{left:o.left,right:o.right,width:o.width,top:0,bottom:0,height:0}},l=e=>void 0!==e?`${e}px`:void 0;function c(e){const{prefixCls:t,containerRef:o,value:c,getValueIndex:d,motionName:m,onMotionStart:u,onMotionEnd:p,direction:g,vertical:f=!1}=e,h=n.useRef(null),[_,b]=n.useState(c),v=e=>{const n=d(e),r=o.current?.querySelectorAll(`.${t}-item`)[n];return r?.offsetParent&&r},[$,y]=n.useState(null),[x,S]=n.useState(null);(0,r.Nf)(()=>{if(_!==c){const e=v(_),t=v(c),o=s(e,f),n=s(t,f);b(c),y(o),S(n),e&&t?u():p()}},[c]);const C=n.useMemo(()=>l(f?$?.top??0:"rtl"===g?-$?.right:$?.left),[f,g,$]),w=n.useMemo(()=>l(f?x?.top??0:"rtl"===g?-x?.right:x?.left),[f,g,x]);return $&&x?n.createElement(i.Ay,{visible:!0,motionName:m,motionAppear:!0,onAppearStart:()=>f?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"},onAppearActive:()=>f?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"},onVisibleChanged:()=>{y(null),S(null),p()}},({className:e,style:o},i)=>{const s={...o,"--thumb-start-left":C,"--thumb-start-width":l($?.width),"--thumb-active-left":w,"--thumb-active-width":l(x?.width),"--thumb-start-top":C,"--thumb-start-height":l($?.height),"--thumb-active-top":w,"--thumb-active-height":l(x?.height)},c={ref:(0,r.K4)(h,i),style:s,className:(0,a.$)(`${t}-thumb`,e)};return n.createElement("div",c)}):null}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},d.apply(this,arguments)}const m=({prefixCls:e,className:t,style:o,styles:r,classNames:i,data:s,disabled:l,checked:c,label:d,title:m,value:u,name:p,onChange:g,onFocus:f,onBlur:h,onKeyDown:_,onKeyUp:b,onMouseDown:v,itemRender:$=e=>e})=>$(n.createElement("label",{className:(0,a.$)(t,{[`${e}-item-disabled`]:l}),style:o,onMouseDown:v},n.createElement("input",{name:p,className:`${e}-item-input`,type:"radio",disabled:l,checked:c,onChange:e=>{l||g(e,u)},onFocus:f,onBlur:h,onKeyDown:_,onKeyUp:b}),n.createElement("div",{className:(0,a.$)(`${e}-item-label`,i?.label),title:m,style:r?.label},d)),{item:s}),u=n.forwardRef((e,t)=>{const{prefixCls:o="rc-segmented",direction:i,vertical:s,options:l=[],disabled:u,defaultValue:p,value:g,name:f,onChange:h,className:_="",style:b,styles:v,classNames:$,motionName:y="thumb-motion",itemRender:x,...S}=e,C=n.useRef(null),w=n.useMemo(()=>(0,r.K4)(C,t),[C,t]),k=n.useMemo(()=>function(e){return e.map(e=>{if("object"==typeof e&&null!==e){const t=function(e){return void 0!==e.title?e.title:"object"!=typeof e.label?e.label?.toString():void 0}(e);return{...e,value:e.value,title:t}}return{label:e?.toString(),title:e?.toString(),value:e}})}(l),[l]),[E,z]=(0,r.PW)(p??k[0]?.value,g),[N,A]=n.useState(!1),M=(e,t)=>{z(t),h?.(t)},j=(0,r.cJ)(S,["children"]),[R,I]=n.useState(!1),[T,P]=n.useState(!1),H=()=>{P(!0)},B=()=>{P(!1)},D=()=>{I(!1)},L=e=>{"Tab"===e.key&&I(!0)},O=e=>{const t=k.filter(e=>e.value===E||!e.disabled),o=t.findIndex(e=>e.value===E),n=t.length,r=t[(o+e+n)%n];r&&r.value!==E&&(z(r.value),h?.(r.value))},W=e=>{switch(e.key){case"ArrowLeft":case"ArrowUp":O(-1);break;case"ArrowRight":case"ArrowDown":O(1)}};return n.createElement("div",d({role:"radiogroup","aria-label":"segmented control",tabIndex:u?void 0:0,"aria-orientation":s?"vertical":"horizontal",style:b},j,{className:(0,a.$)(o,{[`${o}-rtl`]:"rtl"===i,[`${o}-disabled`]:u,[`${o}-vertical`]:s},_),ref:w}),n.createElement("div",{className:`${o}-group`},n.createElement(c,{vertical:s,prefixCls:o,value:E,containerRef:C,motionName:`${o}-${y}`,direction:i,getValueIndex:e=>k.findIndex(t=>t.value===e),onMotionStart:()=>{A(!0)},onMotionEnd:()=>{A(!1)}}),k.map(e=>{const{value:t,disabled:r}=e;return n.createElement(m,d({},e,{name:f,data:e,itemRender:x,key:t,prefixCls:o,className:(0,a.$)(e.className,`${o}-item`,$?.item,{[`${o}-item-selected`]:t===E&&!N,[`${o}-item-selected-text`]:t===E,[`${o}-item-focused`]:T&&R&&t===E}),style:v?.item,classNames:$,styles:v,checked:t===E,onChange:M,onFocus:H,onBlur:B,onKeyDown:W,onKeyUp:L,onMouseDown:D,disabled:!!u||!!r}))})))});const p=u;var g=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useOrientation.js"),f=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),h=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),_=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),b=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),v=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/index.js"),$=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),y=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),x=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),S=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");function C(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}const w=e=>({background:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}),k={overflow:"hidden",...y.L9},E=(0,x.OF)("Segmented",e=>{const{lineWidth:t,calc:o}=e;return(e=>{const{componentCls:t,motionDurationSlow:o,motionEaseInOut:n,motionDurationMid:r}=e,a=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),i=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),s=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:{...(0,y.dF)(e),display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${r}`,...(0,y.K8)(e),[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-vertical`]:{[`${t}-group`]:{flexDirection:"column"},[`${t}-thumb`]:{width:"100%",height:0,padding:`0 ${(0,$.zA)(e.paddingXXS)}`}},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${r}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":{...w(e),color:e.itemSelectedColor},"&-selected-text":{color:e.itemSelectedColor,transition:`color ${r}`},"&-focused":(0,y.jk)(e),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",opacity:0,pointerEvents:"none",transition:["opacity","background-color"].map(e=>`${e} ${r}`).join(", ")},[`&:not(${t}-item-selected):not(${t}-item-selected-text):not(${t}-item-disabled)`]:{"&:hover, &:active":{color:e.itemHoverColor},"&:hover::after":{opacity:1,backgroundColor:e.itemHoverBg},"&:active::after":{opacity:1,backgroundColor:e.itemActiveBg}},"&-label":{minHeight:a,lineHeight:(0,$.zA)(a),padding:`0 ${(0,$.zA)(e.segmentedPaddingHorizontal)}`,...k},"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-icon > svg":{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:{...w(e),position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,$.zA)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}},[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:i,lineHeight:(0,$.zA)(i),padding:`0 ${(0,$.zA)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:s,lineHeight:(0,$.zA)(s),padding:`0 ${(0,$.zA)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}},...C(`&-disabled ${t}-item`,e),...C(`${t}-item-disabled`,e),[`${t}-thumb-motion-appear-active`]:{willChange:"transform, width",transition:["transform","width"].map(e=>`${e} ${o} ${n}`).join(", ")},[`&${t}-shape-round`]:{borderRadius:9999,[`${t}-item, ${t}-thumb`]:{borderRadius:9999}}}}})((0,S.oX)(e,{segmentedPaddingHorizontal:o(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:o(e.controlPaddingHorizontalSM).sub(t).equal()}))},e=>{const{colorTextLabel:t,colorText:o,colorFillSecondary:n,colorBgElevated:r,colorFill:a,lineWidthBold:i,colorBgLayout:s}=e;return{trackPadding:i,trackBg:s,itemColor:t,itemHoverColor:o,itemHoverBg:n,itemSelectedBg:r,itemActiveBg:a,itemSelectedColor:o}});const z=n.forwardRef((e,t)=>{const o=(0,r.Bi)(),{prefixCls:i,className:s,rootClassName:l,block:c,options:d=[],size:m,style:u,vertical:$,orientation:y,shape:x="default",name:S=o,styles:C,classNames:w,...k}=e,{getPrefixCls:z,direction:N,className:A,style:M,classNames:j,styles:R}=(0,_.TP)("segmented"),I={...e,options:d,size:m,shape:x},T=(0,f.XT)(M),P=(0,f.XT)(u),[H,B]=(0,f.AV)([j,w],[R,T,C,P],{props:I}),D=z("segmented",i),[L,O]=E(D),W=(0,b.A)(m),F=n.useMemo(()=>d.map(e=>{if(function(e){return(0,h.Qd)(e)&&!!e?.icon}(e)){const{icon:t,label:o,...i}=e;return{...i,label:n.createElement(n.Fragment,null,n.createElement("span",{className:(0,a.$)(`${D}-item-icon`,H.icon),style:B.icon},t),(0,r.AZ)(o)&&n.createElement("span",null,o))}}return e}),[d,D,H.icon,B.icon]),[,X]=(0,g.M)(y,$),q=(0,a.$)(s,l,A,H.root,{[`${D}-block`]:c,[`${D}-sm`]:"small"===W,[`${D}-lg`]:"large"===W,[`${D}-vertical`]:X,[`${D}-shape-${x}`]:"round"===x},L,O);return n.createElement(p,{...k,name:S,className:q,style:B.root,classNames:H,styles:B,itemRender:(e,{item:t})=>{if(!t.tooltip)return e;const o=(0,h.Qd)(t.tooltip)?t.tooltip:{title:t.tooltip};return n.createElement(v.A,{...o},e)},options:F,ref:t,prefixCls:D,direction:N,vertical:X})});const N=z},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/statistic/index.js"(e,t,o){o.d(t,{A:()=>C});var n=o("react"),r=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/reactNode.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),l=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/index.js");const m=new Intl.NumberFormat("en-US",{notation:"standard",useGrouping:!1,maximumSignificantDigits:21});const u=e=>{const{value:t,formatter:o,precision:r,decimalSeparator:a,groupSeparator:i="",prefixCls:s,className:c,style:d}=e;let u;if((0,l.Tn)(o))u=o(t);else{const e=String(t),o=(0,l.Et)(t)&&e.includes("e")?m.format(t):e,c=o.match(/^(-?)(\d*)(\.(\d+))?$/);if(c&&"-"!==o){const e=c[1];let t=c[2]||"0",o=c[4]||"";t=t.replace(/\B(?=(\d{3})+(?!\d))/g,i),(0,l.Et)(r)&&(o=o.padEnd(r,"0").slice(0,r>0?r:0)),o&&(o=`${a}${o}`),u=[n.createElement("span",{key:"int",className:`${s}-content-value-int`},e,t),o&&n.createElement("span",{key:"decimal",className:`${s}-content-value-decimal`},o)]}else u=o}return n.createElement("span",{className:c,style:d},u)};var p=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),g=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),f=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const h=(0,g.OF)("Statistic",e=>(e=>{const{componentCls:t,marginXXS:o,padding:n,colorTextDescription:r,titleFontSize:a,colorTextHeading:i,contentFontSize:s,fontFamily:l}=e;return{[t]:{...(0,p.dF)(e),[`${t}-header`]:{paddingBottom:o,[`${t}-title`]:{color:r,fontSize:a}},[`${t}-skeleton`]:{paddingTop:n},[`${t}-content`]:{color:i,fontSize:s,fontFamily:l,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:o},[`${t}-content-suffix`]:{marginInlineStart:o}}}}})((0,f.oX)(e,{})),e=>{const{fontSizeHeading3:t,fontSize:o}=e;return{titleFontSize:o,contentFontSize:t}}),_=n.forwardRef((e,t)=>{const{prefixCls:o,className:a,rootClassName:m,style:p,valueStyle:g,value:f=0,title:_,valueRender:b,prefix:v,suffix:$,loading:y=!1,formatter:x,precision:S,decimalSeparator:C=".",groupSeparator:w=",",onMouseEnter:k,onMouseLeave:E,styles:z,classNames:N,...A}=e,{getPrefixCls:M,direction:j,className:R,style:I,classNames:T,styles:P}=(0,c.TP)("statistic"),H=M("statistic",o),[B,D]=h(H),L={...e,decimalSeparator:C,groupSeparator:w,loading:y,value:f},O=(0,s.XT)(I),W=(0,s.XT)(p),[F,X]=(0,s.AV)([T,N],[P,O,z,W],{props:L});const q=(0,i.$)(H,{[`${H}-rtl`]:"rtl"===j},R,a,m,F.root,B,D),G=(0,i.$)(`${H}-header`,F.header),K=(0,i.$)(`${H}-title`,F.title),V=(0,i.$)(`${H}-content`,F.content),Z=(0,i.$)(`${H}-content-value`,F.value),Y=(0,i.$)(`${H}-content-prefix`,F.prefix),U=(0,i.$)(`${H}-content-suffix`,F.suffix),Q=n.createElement(u,{decimalSeparator:C,groupSeparator:w,prefixCls:H,formatter:x,precision:S,value:f,className:Z,style:X.value}),J=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:J.current}));const ee=(0,r.KE)(A,{aria:!0,data:!0});return n.createElement("div",{...ee,className:q,style:X.root,ref:J,onMouseEnter:k,onMouseLeave:E},(0,r.AZ)(_)&&n.createElement("div",{className:G,style:X.header},n.createElement("div",{className:K,style:X.title},_)),n.createElement(d.A,{paragraph:!1,loading:y,className:`${H}-skeleton`,active:!0},n.createElement("div",{className:V,style:{...g,...X.content}},(0,r.AZ)(v)&&n.createElement("span",{className:Y,style:X.prefix},v),(0,l.Tn)(b)?b(Q):Q,(0,r.AZ)($)&&n.createElement("span",{className:U,style:X.suffix},$))))});const b=_,v=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function $(e,t,o){const{format:n=""}=t,r=new Date(e).getTime(),a=Date.now();return function(e,t){let o=e;const n=/\[[^\]]*]/g,r=(t.match(n)||[]).map(e=>e.slice(1,-1)),a=t.replace(n,"[]"),i=v.reduce((e,[t,n])=>{if(e.includes(t)){const r=Math.floor(o/n);return o-=r*n,e.replace(new RegExp(`${t}+`,"g"),e=>{const t=e.length;return r.toString().padStart(t,"0")})}return e},a);let s=0;return i.replace(n,()=>{const e=r[s];return s+=1,e})}(o?Math.max(r-a,0):Math.max(a-r,0),n)}const y=1e3/60;const x=e=>{const{value:t,format:o="HH:mm:ss",onChange:i,onFinish:s,type:l,...c}=e,d="countdown"===l,[m,u]=n.useState(null),p=(0,r._q)(()=>{const e=Date.now(),o=function(e){return new Date(e).getTime()}(t);u({});const n=d?o-e:e-o;return i?.(n),!(d&&o<e)||(s?.(),!1)});n.useEffect(()=>{let e;const t=()=>{p()||window.clearInterval(e)};return e=window.setInterval(t,y),()=>{window.clearInterval(e)}},[t,d]),n.useEffect(()=>{u({})},[]);return n.createElement(b,{...c,value:t,valueRender:e=>(0,a.Ob)(e,{title:void 0}),formatter:(e,t)=>m?$(e,{...t,format:o},d):"-"})},S=n.memo(e=>n.createElement(x,{...e,type:"countdown"}));b.Timer=x,b.Countdown=S;const C=b},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/steps/context.js"(e,t,o){var n=o("react");o.d(t,["j",0,n.createContext(null)])},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/steps/index.js"(e,t,o){o.d(t,{A:()=>K});var n=o("react"),r=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CheckOutlined.js"),a=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CloseOutlined.js"),i=o("./node_modules/.pnpm/@rc-component+steps@1.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/steps/es/index.js"),s=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),l=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/wave/index.js"),m=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/wave/interface.js"),u=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),p=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),g=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/form/hooks/useVariants.js"),f=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/hooks/useBreakpoint.js"),h=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),_=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/index.js"),b=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/steps/context.js");const v=e=>{const{prefixCls:t}=e;return n.createElement("svg",{"aria-hidden":!0,className:`${t}-panel-arrow`,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},n.createElement("path",{d:"M 0 0 L 100 50 L 0 100"}))},$=e=>{const{prefixCls:t,rootPrefixCls:o,children:r,percent:a}=e,i=`${t}-item-progress-icon`,l=`${i}-circle`,[,c]=(0,h.PN)(o,"cmp-steps"),d=`calc(${c("progress-radius")} * 2 * ${Math.PI*a/100}) 9999`;return n.createElement(n.Fragment,null,n.createElement("svg",{className:`${i}-svg`,viewBox:"0 0 100 100",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":a},n.createElement("circle",{className:(0,s.$)(l,`${l}-rail`)}),n.createElement("circle",{className:(0,s.$)(l,`${l}-ptg`),strokeDasharray:d,transform:"rotate(-90 50 50)"})),r)};var y=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),x=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const S=e=>{const{componentCls:t,antCls:o}=e,n=`${t}-item`,[r,a]=(0,h.PN)(o,"cmp-steps");return{[`${t}-horizontal`]:{[`> ${n}`]:{flex:"1 1 auto",minWidth:e.iconSize,[`${n}-rail`]:{[r("horizontal-rail-margin")]:`calc(${a("icon-size-max")} / 2 - ${a("rail-size")} / 2 + ${a("item-wrapper-padding-top")})`,position:"static",marginTop:a("horizontal-rail-margin"),width:"auto",borderBlockStartWidth:a("rail-size"),flex:1,minWidth:0,alignSelf:"flex-start"}}}}},C=e=>{const{componentCls:t,customIconFontSize:o,motionDurationSlow:n,iconSize:r,lineWidth:a,lineType:i,antCls:s}=e,l=`${t}-item`,[c,d]=(0,h.PN)(s,"cmp-steps");return{[t]:{[c("icon-size")]:r,[c("icon-border-width")]:a,[`${l}-icon`]:{width:d("icon-size"),height:d("icon-size"),margin:0,flex:"none",display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:d("icon-size"),textAlign:"center",borderRadius:d("icon-size"),border:`${d("icon-border-width")} ${i} transparent`,transition:["background-color","border","color","inset","transform"].map(e=>`${e} ${n}`).join(", "),zIndex:1},[`${l}-custom ${l}-icon`]:{background:"none",border:0,fontSize:o}}}},w=e=>{const{componentCls:t,inlineDotSize:o,paddingXS:n,lineWidth:r,antCls:a,calc:i}=e,s=i(n).add(r).equal(),l=`${t}-item`,[c,d]=(0,h.PN)(a,"cmp-steps");return{[`${t}-inline`]:{[c("items-offset")]:"0",[c("item-wrapper-padding-top")]:s,display:"inline-flex","&:before":{content:'""',flex:d("items-offset")},[l]:{[c("title-vertical-row-gap")]:n,[c("icon-size")]:o,[c("icon-size-active")]:o,[c("title-font-size")]:e.fontSizeSM,[c("title-line-height")]:e.lineHeightSM,[c("item-title-color")]:e.colorTextSecondary,[c("subtitle-font-size")]:e.fontSizeSM,[c("subtitle-line-height")]:e.lineHeightSM,[c("item-subtitle-color")]:e.colorTextQuaternary,[c("rail-size")]:e.lineWidth,[c("title-horizontal-rail-gap")]:"0px",flex:1,"&-wrapper":{paddingInline:e.paddingXXS,marginInline:e.calc(e.marginXXS).div(2).equal(),borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover}},"&-icon":{[`${l}-icon-dot`]:{"&:after":{display:"none"}}},"&-title":{fontWeight:400,whiteSpace:"nowrap"},"&-content":{display:"none"}}}}};const k=(e,t,o)=>{const{calc:n,componentCls:r,descriptionMaxWidth:a,antCls:i}=e,s=`${r}-item`,[,l]=(0,h.PN)(i,"cmp-steps");return{[`@container style(${c=a,(c||"--ant-not-exist").replace(/var\((.*)\)/,"$1")})`]:[{[`${s}-icon`]:{marginInlineStart:n(a).sub(l("icon-size")).div(2).equal()},[`${s}-rail`]:{width:"auto",insetInlineStart:n(a).add(l("icon-size")).div(2).add(t).equal(),insetInlineEnd:n(a).sub(l("icon-size")).div(2).sub(t).mul(-1).equal()}},o]};var c},E=e=>{const{componentCls:t,descriptionMaxWidth:o,marginXS:n,fontHeightLG:r,margin:a,paddingSM:i,marginXXS:s,antCls:l,calc:c}=e,d=`${t}-item`,[m,u]=(0,h.PN)(l,"cmp-steps");return{[t]:{[m("icon-size-max")]:`max(${u("icon-size")}, ${u("icon-size-active",u("icon-size"))})`,[`${d}-icon`]:{marginBlockStart:`calc((${u("heading-height")} - ${u("icon-size")}) / 2)`}},[`${t}-title-horizontal`]:{[m("title-horizontal-item-margin")]:a,[m("title-horizontal-rail-margin")]:a,[m("title-horizontal-title-height")]:r,[m("heading-height")]:`max(${u("icon-size")}, ${u("title-horizontal-title-height")})`,[`&${t}-horizontal`]:{[`${d}:not(:first-child)`]:{marginInlineStart:u("title-horizontal-item-margin")},[`${d}:last-child`]:{flex:"0 1 auto"},[`${d}-wrapper`]:{columnGap:e.marginXS}},[`&${t}-vertical`]:{[`${d}-wrapper`]:{columnGap:e.margin},[`${d}-empty-header`]:{[`${d}-header`]:{minHeight:"auto"},[`${d}-content`]:{marginTop:c(u("heading-height")).sub(e.fontHeight).div(2).equal()}}},[`${d}-section`]:{flex:1,minWidth:0},[`${d}-header`]:{minHeight:u("heading-height")},[`${d}-title`]:{flex:"0 1 auto"},[`${d}-content`]:{maxWidth:o},[`${d}-subtitle`]:{flex:"0 9999 auto"},[`&${t}-horizontal ${d}-rail`]:{[m("item-wrapper-padding-top")]:"0px",flex:"1 1 0%",marginInlineStart:u("title-horizontal-rail-margin")}},[`${t}-title-vertical`]:{[m("title-vertical-row-gap")]:i,[m("title-horizontal-rail-gap")]:s,[m("heading-height")]:u("icon-size-max"),[`> ${d}`]:{flex:"1 1 0%",[`${d}-wrapper`]:{flexDirection:"column",rowGap:u("title-vertical-row-gap"),alignItems:"center"},[`${d}-section`]:{alignSelf:"stretch"},[`${d}-header`]:{flexDirection:"column",alignItems:"center"},[`${d}-title, ${d}-subtitle, ${d}-content`]:{textAlign:"center",maxWidth:"100%"},[`${d}-subtitle`]:{margin:0},[`${d}-rail`]:{position:"absolute",top:0,width:`calc(100% - ${u("icon-size")} - ${u("title-horizontal-rail-gap")} * 2)`,insetInlineStart:`calc(50% + ${u("icon-size")} / 2 + ${u("title-horizontal-rail-gap")})`}},...k(e,n,{[`${d}:last-child`]:{flex:"none"},[`${d}-icon`]:{alignSelf:"flex-start"},[`${d}-section`]:{width:o}})}}},z=e=>{const{componentCls:t}=e,o=`${t}-item`;return{[`${t}-max-count`]:{[`${o}-ellipsis`]:{[`${o}-title, ${o}-subtitle, ${o}-content`]:{color:e.colorTextDescription}}}}};var N=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js");const A=e=>{const{componentCls:t,fontSizeIcon:o,navContentMaxWidth:n,navArrowColor:r,colorPrimary:a,motionDurationSlow:i,antCls:s,calc:l}=e,c=`${t}-item`,d=a,[m,u]=(0,h.PN)(s,"cmp-steps");return{[`${t}${t}-navigation`]:{[c.repeat(4)]:{display:"flex",justifyContent:"center",position:"relative",flex:1,marginInlineStart:0,[`${c}-wrapper`]:{paddingBlock:e.paddingSM},[`${c}-section`]:{maxWidth:n},[`${c}-rail`]:{display:"none"},"&:before":{position:"absolute",display:"block",backgroundColor:d,transition:`all ${i}`,transitionTimingFunction:"ease-out",content:'""'},"&:not(:last-child):after":{position:"absolute",display:"block",borderTop:`${(0,N.zA)(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,N.zA)(e.lineWidth)} ${e.lineType} ${r}`,content:'""'},[`&${c}-active`]:{[m("item-content-active-color")]:u("item-content-color"),[m("item-icon-active-bg-color")]:u("item-icon-bg-color"),[m("item-icon-active-border-color")]:u("item-icon-border-color"),[m("item-icon-active-text-color")]:u("item-icon-text-color")}},[`&${t}-horizontal`]:{[c]:{"&:before":{bottom:0,insetInlineStart:"50%",width:0,height:e.lineWidthBold},[`&${c}-active:before`]:{insetInlineStart:0,width:"100%"},"&:not(:last-child):after":{top:"50%",insetInlineStart:l(o).div(2).mul(-1).add("100%").equal(),width:o,height:o,transform:"translateY(-50%) rotate(45deg)"}}},[`&${t}-vertical`]:{[c.repeat(4)]:{[`${c}-content`]:{padding:0},"&:before":{insetInlineEnd:0,top:"50%",width:e.lineWidthBold,height:0},[`&${c}-active::before`]:{top:0,height:"100%"},"&:not(:last-child):after":{left:{_skip_check_:!0,value:"50%"},top:"100%",width:l(o).div(3).mul(2).equal(),height:l(o).div(3).mul(2).equal(),transform:"translateY(-50%) translateX(-50%) rotate(135deg)"}}}}}},M=e=>{const{componentCls:t,lineWidthBold:o,borderRadius:n,borderRadiusSM:r,motionDurationMid:a,paddingXS:i,lineType:s,paddingSM:l,antCls:c,calc:d}=e,m=`${t}-item`,[u,p]=(0,h.PN)(c,"cmp-steps"),g=`${(0,N.zA)(o)} ${s} ${p("panel-border-color")}`;return{[`${t}${t}-panel`]:[{[`${m}-rail`]:{display:"none"},[`&${t}-horizontal`]:{alignItems:"stretch",[m]:{flex:1,margin:0}}},{"&":{[u("panel-padding")]:l,[u("item-border-radius")]:n,[m]:{[u("panel-bg-color")]:p("item-icon-bg-color"),[u("panel-border-color")]:p("item-icon-border-color"),[u("panel-active-bg-color")]:p("item-icon-active-bg-color"),[u("panel-active-border-color")]:p("item-icon-active-border-color"),[u("panel-title-height")]:`calc(${p("title-font-size")} * ${p("title-line-height")})`,[u("item-base-height")]:d(p("panel-padding")).mul(2).add(p("icon-size")).add(p("panel-title-height")).equal(),[u("item-base-width")]:`calc(${p("item-base-height")} * 0.7071)`,transition:`background-color ${a}`}},[`${m}-icon`]:{display:"none"},[`${m}-header`]:{minHeight:"auto"},[`${t}-panel-arrow`]:{position:"absolute",top:d(o).mul(-1).equal(),insetInlineStart:"100%",zIndex:1,height:d(o).mul(2).add("100%").equal(),width:p("item-base-width"),overflow:"visible",strokeLinecap:"round",path:{fill:p("panel-bg-color"),stroke:p("panel-border-color"),strokeWidth:o,vectorEffect:"non-scaling-stroke",transition:`fill ${a}`}},[`${m}:last-child ${t}-panel-arrow`]:{display:"none"},[m]:{padding:p("panel-padding"),background:p("panel-bg-color"),position:"relative",borderBlock:g,"&:not(:first-child)":{paddingInlineStart:`calc(${p("panel-padding")} + ${p("item-base-width")})`},"&:first-child":{borderInlineStart:g,borderStartStartRadius:p("item-border-radius"),borderEndStartRadius:p("item-border-radius")},"&:last-child":{borderInlineEnd:g,borderStartEndRadius:p("item-border-radius"),borderEndEndRadius:p("item-border-radius")},"&-active":{background:p("panel-active-bg-color"),borderColor:p("panel-active-border-color"),[`${t}-panel-arrow`]:{path:{fill:p("panel-active-bg-color"),stroke:p("panel-active-border-color")}},[`${m}-title, ${m}-subtitle, ${m}-content`]:{color:p("item-icon-active-text-color")}}}},{[`&${t}-small`]:{[u("panel-padding")]:i,[u("item-border-radius")]:r}},{[`&${t}-filled`]:{[m]:{"&:not(:first-child)":{clipPath:`polygon(${[`${(0,N.zA)(o)} 0`,`calc(100% + ${p("item-base-width")}) 0`,`calc(100% + ${p("item-base-width")}) 100%`,`${(0,N.zA)(o)} 100%`,`calc(${p("item-base-width")} + ${(0,N.zA)(o)}) 50%`].join(",")})`}}}},{[`&${t}-outlined`]:{[`${t}-panel-arrow`]:{top:d(o).div(2).mul(-1).equal(),height:d(o).add("100%").equal()}}}]}},j=e=>{const{calc:t,antCls:o,componentCls:n,lineWidthBold:r,motionDurationSlow:a}=e,i=`${n}-item`,[s,l]=(0,h.PN)(o,"cmp-steps"),c=t(r).add(r).equal();return{[`${n}${n}-with-progress`]:{[s("item-wrapper-padding-top")]:c,[`${i}${i}-process`]:{[`${i}-icon`]:{position:"relative"}},[`${i}-progress-icon`]:{"&-svg":{[s("svg-size")]:t(c).mul(2).add(l("icon-size")).equal(),[s("icon-size-ptg-unitless")]:`calc(100 / tan(atan2(${l("svg-size")}, 1px)))`,fontSize:l("svg-size"),lineHeight:l("icon-size-ptg-unitless"),position:"absolute",inset:t(c).mul(-1).equal(),width:"auto",height:"auto"},"&-circle":{lineHeight:l("icon-size-ptg-unitless"),strokeWidth:t(l("icon-size-ptg-unitless")).mul(r).equal(),[s("progress-radius")]:t(l("svg-size")).sub(r).mul(l("icon-size-ptg-unitless")).div(2).equal(),r:l("progress-radius"),fill:"none",cx:50,cy:50,transition:`all ${a} ease-in-out`,"&-rail":{stroke:e.colorSplit},"&-ptg":{stroke:e.colorPrimary}}}}}},R=e=>{const{componentCls:t,iconSize:o,dotSize:n,dotCurrentSize:r,marginXXS:a,lineWidthBold:i,fontSizeSM:s,antCls:l}=e,c=`${t}-item`,[d,m]=(0,h.PN)(l,"cmp-steps");return{[`${t}${t}-dot`]:{[d("icon-size-active")]:r,[d("icon-size")]:n,[d("dot-icon-size")]:n,[d("dot-icon-border-width")]:i,[d("rail-size")]:i,[d("icon-border-width")]:i,[`${c}-custom ${c}-icon`]:{fontSize:s},[`${c}-icon`]:{position:"relative","&:after":{content:'""',width:o,height:o,display:"block",position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"}},[`${c}-active ${c}-icon`]:{[d("icon-size")]:m("icon-size-active")},[`&${t}-horizontal`]:{[`&, &${t}-small`]:k(e,a)}}}},I=e=>{const{componentCls:t,lineWidthBold:o,antCls:n}=e,r=`${t}-item`,[,a]=(0,h.PN)(n,"cmp-steps");return{[`${t}${t}-rtl`]:{direction:"rtl",[`&${t}-navigation${t}-horizontal`]:{[`${r}:after`]:{transform:"translateY(-50%) rotate(-45deg)"}},[`&${t}-panel`]:{[`${t}-panel-arrow`]:{transform:"scaleX(-1)"},[`&${t}-filled`]:{[r]:{"&:not(:first-child)":{clipPath:`polygon(${[`calc(0px - ${a("item-base-width")}) 0px`,`calc(100% - ${(0,N.zA)(o)}) 0px`,`calc(100% - ${a("item-base-width")} - ${(0,N.zA)(o)}) 50%`,`calc(100% - ${(0,N.zA)(o)}) 100%`,`calc(0px - ${a("item-base-width")}) 100%`].join(",")})`}}}}}}},T=e=>{const{componentCls:t,iconSizeSM:o,fontSize:n,lineHeight:r,marginXS:a,fontHeight:i,marginSM:s,paddingXS:l,antCls:c}=e,[d]=(0,h.PN)(c,"cmp-steps");return{[`${t}${t}-small`]:{[d("icon-size")]:o,[d("title-horizontal-item-margin")]:s,[d("title-vertical-row-gap")]:l,[d("title-font-size")]:n,[d("title-line-height")]:r,[d("title-horizontal-rail-margin")]:a,[d("title-horizontal-title-height")]:i,[`&${t}-horizontal${t}-title-vertical`]:k(e,a)}}},P="wait",H="process",B="finish",D="error",L=e=>{const{componentCls:t,colorTextDisabled:o,colorTextLightSolid:n,colorPrimary:r,colorTextLabel:a,colorError:i,colorErrorHover:s,colorErrorBgFilledHover:l,colorFillTertiary:c,colorErrorBg:d,colorPrimaryBgHover:m,colorPrimaryBg:u,colorText:p,colorTextDescription:g,colorBgContainer:f,colorPrimaryHover:_,lineType:b,antCls:v}=e,$=`${t}-item`,[y,x]=(0,h.PN)(v,"cmp-steps");return{[t]:[{[$]:{[y("item-solid-line-color")]:"#000",[y("item-title-color")]:"#000",[y("item-content-color")]:"#000",[y("item-subtitle-color")]:x("item-content-color"),[y("item-icon-custom-color")]:"#000",[y("item-icon-bg-color")]:"#000",[y("item-icon-border-color")]:"#000",[y("item-icon-text-color")]:"#fff",[y("item-icon-dot-color")]:"#000",[y("item-icon-dot-bg-color")]:x("item-icon-dot-color"),[y("item-icon-dot-border-color")]:x("item-icon-dot-color"),[y("item-text-hover-color")]:"#000",[y("item-icon-bg-hover-color")]:x("item-icon-bg-color"),[y("item-icon-border-hover-color")]:x("item-icon-border-color"),[y("item-icon-text-hover-color")]:x("item-icon-text-color"),[y("item-content-active-color")]:x("item-content-color"),[y("item-icon-active-bg-color")]:x("item-icon-bg-color"),[y("item-icon-active-border-color")]:x("item-icon-border-color"),[y("item-icon-active-text-color")]:x("item-icon-text-color"),[y("item-process-rail-line-style")]:b},[`${$}-rail`]:{borderColor:x("item-solid-line-color")},[`${$}-custom ${$}-icon`]:{color:x("item-icon-custom-color")},[`${$}-title`]:{color:x("item-title-color")},[`${$}-subtitle`]:{color:x("item-subtitle-color")},[`${$}-content`]:{color:x("item-content-color")},[`${$}-active ${$}-icon`]:{},[`${$}-active ${$}-content`]:{color:x("item-content-active-color")},[`${$}[role='button']:not(${$}-active):hover`]:{[`${$}-title, ${$}-content`]:{color:x("item-text-hover-color")}},[`&:not(${t}-dot)`]:{[`${$}:not(${$}-custom)`]:{[`${$}-icon`]:{background:x("item-icon-bg-color"),borderColor:x("item-icon-border-color"),color:x("item-icon-text-color")},[`&[role='button']:not(${$}-active):hover`]:{[`${$}-icon`]:{background:x("item-icon-bg-hover-color"),borderColor:x("item-icon-border-hover-color"),color:x("item-icon-text-hover-color")}},[`&${$}-active`]:{[`${$}-icon`]:{background:x("item-icon-active-bg-color"),borderColor:x("item-icon-active-border-color"),color:x("item-icon-active-text-color")}}}},[`&${t}-dot`]:{[`${$}-icon`]:{background:x("item-icon-dot-bg-color"),borderColor:x("item-icon-dot-border-color"),color:x("item-icon-dot-color"),[`&${$}-icon-dot-custom`]:{background:"transparent",border:"none"}}}},{[`${$}-${P}`]:{[y("item-icon-custom-color")]:o,[y("item-title-color")]:g,[y("item-content-color")]:g,[y("item-content-active-color")]:p,[y("item-text-hover-color")]:_},[`${$}-rail-${P}`]:{[y("item-solid-line-color")]:o},[`${$}-${H}`]:{[y("item-icon-custom-color")]:r,[y("item-title-color")]:p,[y("item-content-color")]:g,[y("item-content-active-color")]:p,[y("item-text-hover-color")]:_},[`${$}-rail-${H}`]:{[y("item-solid-line-color")]:r,[y("rail-line-style")]:x("item-process-rail-line-style")},[`${$}-${B}`]:{[y("item-icon-custom-color")]:r,[y("item-title-color")]:p,[y("item-content-color")]:g,[y("item-content-active-color")]:p,[y("item-text-hover-color")]:_},[`${$}-rail-${B}`]:{[y("item-solid-line-color")]:r},[`${$}-${D}`]:{[y("item-icon-custom-color")]:i,[y("item-title-color")]:i,[y("item-content-color")]:i,[y("item-content-active-color")]:i,[y("item-text-hover-color")]:s},[`${$}-rail-${D}`]:{[y("item-solid-line-color")]:i}},{[`&${t}-filled`]:{[$]:{[y("item-icon-dot-border-color")]:"transparent"},[`${$}-${P}`]:{[y("item-icon-bg-color")]:c,[y("item-icon-border-color")]:"transparent",[y("item-icon-text-color")]:a,[y("item-icon-dot-bg-color")]:o,[y("item-icon-bg-hover-color")]:m,[y("item-icon-border-hover-color")]:"transparent",[y("item-icon-text-hover-color")]:r,[y("item-icon-active-bg-color")]:r,[y("item-icon-active-border-color")]:"transparent",[y("item-icon-active-text-color")]:n},[`${$}-${H}, ${$}-${B}`]:{[y("item-icon-bg-color")]:u,[y("item-icon-border-color")]:"transparent",[y("item-icon-text-color")]:r,[y("item-icon-dot-bg-color")]:r,[y("item-icon-bg-hover-color")]:m,[y("item-icon-border-hover-color")]:"transparent",[y("item-icon-text-hover-color")]:r,[y("item-icon-active-bg-color")]:r,[y("item-icon-active-border-color")]:"transparent",[y("item-icon-active-text-color")]:n},[`${$}-${D}`]:{[y("item-icon-bg-color")]:d,[y("item-icon-border-color")]:"transparent",[y("item-icon-text-color")]:i,[y("item-icon-dot-bg-color")]:i,[y("item-icon-bg-hover-color")]:l,[y("item-icon-border-hover-color")]:"transparent",[y("item-icon-text-hover-color")]:i,[y("item-icon-active-bg-color")]:i,[y("item-icon-active-border-color")]:"transparent",[y("item-icon-active-text-color")]:n}}},{[`&${t}-outlined`]:{[$]:{[y("item-icon-dot-bg-color")]:"transparent"},[`${$}-${P}`]:{[y("item-icon-bg-color")]:f,[y("item-icon-border-color")]:o,[y("item-icon-text-color")]:o,[y("item-icon-dot-color")]:o,[y("item-icon-bg-hover-color")]:"transparent",[y("item-icon-border-hover-color")]:_,[y("item-icon-text-hover-color")]:_,[y("item-icon-active-bg-color")]:c},[`${$}-${H}, ${$}-${B}`]:{[y("item-icon-bg-color")]:f,[y("item-icon-border-color")]:r,[y("item-icon-text-color")]:r,[y("item-icon-dot-color")]:r,[y("item-icon-bg-hover-color")]:"transparent",[y("item-icon-border-hover-color")]:_,[y("item-icon-text-hover-color")]:_,[y("item-icon-active-bg-color")]:u},[`${$}-${D}`]:{[y("item-icon-bg-color")]:f,[y("item-icon-border-color")]:i,[y("item-icon-text-color")]:i,[y("item-icon-dot-color")]:i,[y("item-icon-bg-hover-color")]:"transparent",[y("item-icon-border-hover-color")]:s,[y("item-icon-text-hover-color")]:s,[y("item-icon-active-bg-color")]:d}}}]}},O=e=>{const{componentCls:t,marginXXS:o,paddingSM:n,controlHeight:r,antCls:a,calc:i}=e,s=`${t}-item`,[l,c]=(0,h.PN)(a,"cmp-steps");return{[`${t}-vertical`]:{[l("vertical-rail-margin")]:i(o).mul(1.5).equal(),flexDirection:"column",alignItems:"stretch",[`> ${s}`]:{minHeight:i(r).mul(1.5).equal(),paddingBottom:n,"&:last-child":{paddingBottom:0},[`${s}-icon`]:{marginInlineStart:`calc((${c("icon-size-max")} - ${c("icon-size")}) / 2)`},[`${s}-rail`]:{[l("rail-offset")]:i(c("heading-height")).sub(c("icon-size")).div(2).equal(),borderInlineStartWidth:c("rail-size"),position:"absolute",top:i(c("icon-size")).add(c("item-wrapper-padding-top")).add(c("rail-offset")).add(c("vertical-rail-margin")).equal(),insetInlineStart:i(c("icon-size-max")).div(2).equal(),bottom:i(c("vertical-rail-margin")).sub(c("rail-offset")).equal(),marginInlineStart:`calc(${c("rail-size")} / -2)`}}}}},W=e=>{const{componentCls:t,antCls:o}=e,n=`${t}-item`,[r,a]=(0,h.PN)(o,"cmp-steps");return{[t]:{[r("title-font-size")]:e.fontSizeLG,[r("title-line-height")]:e.lineHeightLG,[r("subtitle-font-size")]:e.fontSize,[r("subtitle-line-height")]:e.lineHeight,[r("item-wrapper-padding-top")]:"0px",[r("rail-size")]:e.lineWidth,[r("rail-line-style")]:e.lineType,...(0,y.dF)(e),display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[n]:{flex:"none",position:"relative"},[`${n}-wrapper`]:{display:"flex",flexWrap:"nowrap",paddingTop:a("item-wrapper-padding-top")},[`${n}-header`]:{display:"flex",flexWrap:"nowrap",alignItems:"center"},[`${n}-title`]:{color:e.colorText,fontSize:a("title-font-size"),lineHeight:a("title-line-height"),wordBreak:"break-word"},[`${n}-subtitle`]:{color:e.colorTextDescription,fontWeight:400,fontSize:a("subtitle-font-size"),lineHeight:a("subtitle-line-height"),marginInlineStart:e.marginXS,wordBreak:"break-word"},[`${n}-content`]:{color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word"},[`${n}-rail`]:{borderStyle:a("rail-line-style"),borderWidth:0},[`${n}-title, ${n}-subtitle, ${n}-content, ${n}-rail`]:{transition:`all ${e.motionDurationSlow}`},[`&${t}-ellipsis`]:{[`${n}-title, ${n}-subtitle, ${n}-content`]:y.L9},[`${n}[role='button']:focus-visible`]:(0,y.jk)(e),[`${n}[role='button']:not(${n}-active):hover`]:{cursor:"pointer"}}}},F=(0,h.OF)("Steps",e=>{const t=(0,x.oX)(e,{inlineDotSize:6});return[W(t),C(t),O(t),S(t),E(t),T(t),R(t),L(t),A(t),M(t),w(t),z(t),j(t),I(t)]},e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"unset",descriptionMaxWidth:void 0,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}));var X=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js");function q(e,t,o,r,a){const i=void 0!==r&&r>=3&&e.length>r,s=t-o,l=n.useMemo(()=>{if(!i)return e.map((e,t)=>({item:e,originIndex:t}));const t=function(e,t,o){const n=Math.min(Math.max(t,0),e-1),r=Math.min(o,e),a=new Set([0,n,e-1]);for(let t=1;a.size<r&&t<e;t+=1){const o=[n-t,n+t,t,e-1-t];for(const t of o){if(a.size>=r)break;t>=0&&t<e&&a.add(t)}}return Array.from(a).sort((e,t)=>e-t).flatMap((e,t,o)=>t>0&&e-o[t-1]>1?[null,e]:[e])}(e.length,s,r);return t.map((o,r)=>null===o?function(e,t,o,r,a){const i=e[o].key??o,s=e[r].key??r,l=e.slice(o+1,r).some(e=>"error"===e.status)?"error":r-1<t?"finish":"wait";return{item:{key:`ellipsis-${i}-${s}`,title:"",icon:n.createElement(X.A),status:l,disabled:!0,className:`${a}-item-ellipsis`},originIndex:-1}}(e,s,t[r-1],t[r+1],a):function(e,t){return{item:{...e,key:e.key??t},originIndex:t}}(e[o],o))},[i,s,e,r,a]),c=l.findIndex(e=>e.originIndex===s);return{canApplyMaxCount:i,displaySteps:l,mappedDisplayCurrent:c>=0?c:s,displayItems:l.map(e=>e.item)}}const G={itemIcon:m.D};const K=e=>{const{size:t,className:o,rootClassName:m,style:y,variant:x,type:S,classNames:C,styles:w,direction:k,orientation:E,responsive:z=!0,progressDot:N,labelPlacement:A,titlePlacement:M,ellipsis:j,maxCount:R,offset:I=0,items:T,percent:P,current:H=0,initial:B=0,onChange:D,iconRender:L,...O}=e,W=n.useContext(b.j),X=(0,u.TP)("steps"),{getPrefixCls:K,direction:V,className:Z,style:Y}=X,[U]=(0,g.A)("steps",x,{variants:["filled","outlined"],defaultVariant:"filled"});let Q,J,ee={};W?ee={root:W.rootComponent,item:W.itemComponent}:({classNames:Q,styles:J}=X);const te=K(),oe=K("steps",e.prefixCls),ne=`${oe}-item-icon`,[re,ae]=F(oe),[ie]=(0,h.PN)(te,"cmp-steps");const se=(0,p.A)(t),le=n.useMemo(()=>(T||[]).filter(Boolean),[T]),{xs:ce}=(0,f.A)(z),de=n.useMemo(()=>S&&"default"!==S?S:N?"dot":S,[N,S]),me="inline"===de,ue="dot"===de||"inline"===de,pe=n.useMemo(()=>"dot"===de&&(0,c.Tn)(N)?N:void 0,[de,N]),ge=n.useMemo(()=>"panel"===de?"horizontal":z&&ce||"vertical"===(E||k)?"vertical":"horizontal",[E,k,de,z,ce]),fe=n.useMemo(()=>ue||"vertical"===ge?"vertical"===ge?"horizontal":"vertical":"navigation"===S?"horizontal":M||A||"horizontal",[ue,A,ge,M,S]),he=me?void 0:P,{canApplyMaxCount:_e,displaySteps:be,mappedDisplayCurrent:ve,displayItems:$e}=q(le,H,B,R,oe),ye={...e,variant:U,size:se,type:de,orientation:ge,titlePlacement:fe,current:H,initial:B,percent:he,responsive:z,offset:I,ellipsis:j,maxCount:R},xe=(0,l.XT)(Y),Se=(0,l.XT)(y),[Ce,we]=(0,l.AV)([G,Q,C],[J,xe,w,Se],{props:ye}),ke="panel"===de?e=>n.createElement(n.Fragment,null,e,n.createElement(v,{prefixCls:oe})):void 0,Ee={[ie("items-offset")]:`${I}`},ze=(0,s.$)(Z,`${oe}-${U}`,{[`${oe}-${de}`]:"dot"!==de&&de,[`${oe}-rtl`]:"rtl"===V,[`${oe}-dot`]:ue,[`${oe}-ellipsis`]:j,[`${oe}-max-count`]:_e,[`${oe}-with-progress`]:void 0!==he,[`${oe}-small`]:"small"===se},o,m,re,ae);return n.createElement(i.Ay,{...O,prefixCls:oe,className:ze,style:Ee,classNames:Ce,styles:we,orientation:ge,titlePlacement:fe,components:ee,initial:0,current:ve,items:$e,onChange:D?e=>{const t=be[e];D&&t&&t.originIndex>=0&&D(B+t.originIndex)}:void 0,iconRender:(e,t)=>{const{item:o,index:i,active:s,components:{Icon:l}}=t,d=be[i]?.originIndex,m=void 0!==d&&d>=0?B+d:i,{status:u,icon:p}=o;let g=null;if(ue||p)g=p;else switch(u){case"finish":g=n.createElement(r.A,{className:`${ne}-finish`});break;case"error":g=n.createElement(a.A,{className:`${ne}-error`});break;default:{let e=n.createElement("span",{className:`${ne}-number`},m+1);"process"===u&&void 0!==he&&(e=n.createElement($,{prefixCls:oe,rootPrefixCls:te,percent:he},e)),g=e}}let f=n.createElement(l,null,g);return L?f=L(f,{index:m,active:s,item:o,components:{Icon:l}}):(0,c.Tn)(pe)&&(f=pe(f,{index:m,...o})),f},itemRender:(e,t)=>{let o=e;return me&&t.item.content&&(o=n.createElement(_.A,{destroyOnHidden:!0,title:t.item.content},e)),n.createElement(d.A,{component:"Steps",disabled:t.item.disabled||!D,colorSource:"filled"===U?"color":null},o)},itemWrapperRender:ke})}},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tabs/index.js"(e,t,o){o.d(t,{A:()=>he});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/CloseOutlined.js"),i=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js"),s=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/PlusOutlined.js"),l=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),c=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js");const d=(0,n.createContext)(null);var m=o("./node_modules/.pnpm/@rc-component+resize-observer@1.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/resize-observer/es/index.js");const u=e=>{const{activeTabOffset:t,horizontal:o,rtl:a,indicator:i={}}=e,{size:s,align:l="center"}=i,[d,m]=(0,n.useState)(),u=(0,n.useRef)(void 0),p=r().useCallback(e=>"function"==typeof s?s(e):"number"==typeof s?s:e,[s]);function g(){c.er.cancel(u.current)}return(0,n.useEffect)(()=>{const e={};if(t)if(o){e.width=p(t.width);const o=a?"right":"left";"start"===l&&(e[o]=t[o]),"center"===l&&(e[o]=t[o]+t.width/2,e.transform=a?"translateX(50%)":"translateX(-50%)"),"end"===l&&(e[o]=t[o]+t.width,e.transform="translateX(-100%)")}else e.height=p(t.height),"start"===l&&(e.top=t.top),"center"===l&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===l&&(e.top=t.top+t.height,e.transform="translateY(-100%)");return g(),u.current=(0,c.er)(()=>{d&&e&&Object.keys(e).every(t=>{const o=e[t],n=d[t];return"number"==typeof o&&"number"==typeof n?Math.round(o)===Math.round(n):o===n})||m(e)}),g},[JSON.stringify(t),o,a,l,p]),{style:d}},p={width:0,height:0,left:0,top:0};function g(e,t){const o=n.useRef(e),[,r]=n.useState({});return[o.current,function(e){const n="function"==typeof e?e(o.current):e;n!==o.current&&t(n,o.current),o.current=n,r({})}]}const f=.995**20;function h(e){const[t,o]=(0,n.useState)(0),r=(0,n.useRef)(0),a=(0,n.useRef)(void 0);return a.current=e,(0,c.oM)(()=>{a.current?.()},[t]),()=>{r.current===t&&(r.current+=1,o(r.current))}}const _={width:0,height:0,left:0,top:0,right:0};function b(e){let t;return e instanceof Map?(t={},e.forEach((e,o)=>{t[o]=e})):t=e,JSON.stringify(t)}function v(e){return String(e).replace(/"/g,"TABS_DQ")}function $(e,t,o,n){return!(!o||n||!1===e||void 0===e&&(!1===t||null===t))}const y=n.forwardRef((e,t)=>{const{prefixCls:o,editable:r,locale:a,style:i}=e;return r&&!1!==r.showAdd?n.createElement("button",{ref:t,type:"button",className:`${o}-nav-add`,style:i,"aria-label":a?.addAriaLabel||"Add tab",onClick:e=>{r.onEdit("add",{event:e})}},(0,c.AZ)(r.addIcon)?r.addIcon:"+"):null}),x=y;const S=n.forwardRef((e,t)=>{const{position:o,prefixCls:r,extra:a}=e;if(!(0,c.AZ)(a))return null;let i,s={};return"object"!=typeof a||n.isValidElement(a)?s.right=a:s=a,"right"===o&&(i=s.right),"left"===o&&(i=s.left),(0,c.AZ)(i)?n.createElement("div",{className:`${r}-extra-content`,ref:t},i):null});var C=o("./node_modules/.pnpm/@rc-component+dropdown@2.0.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/dropdown/es/index.js"),w=o("./node_modules/.pnpm/@rc-component+menu@1.6.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/menu/es/index.js");function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},k.apply(this,arguments)}const E=n.forwardRef((e,t)=>{const{prefixCls:o,id:r,tabs:a,locale:i,mobile:s,more:d={},style:m,className:u,editable:p,tabBarGutter:g,rtl:f,removeAriaLabel:h,onTabClick:_,getPopupContainer:b,popupClassName:v,popupStyle:y,classNames:S,styles:E}=e,[z,N]=(0,n.useState)(!1),[A,M]=(0,n.useState)(null),{icon:j="More",popupRender:R}=d,I=`${r}-more-popup`,T=`${o}-dropdown`,P=null!==A?`${I}-${A}`:null,H=i?.dropdownAriaLabel;const B=n.createElement(w.Ay,{onClick:({key:e,domEvent:t})=>{_(e,t),N(!1)},prefixCls:`${T}-menu`,id:I,tabIndex:-1,role:"listbox","aria-activedescendant":P,selectedKeys:[A],"aria-label":void 0!==H?H:"expanded dropdown"},a.map(e=>{const{closable:t,disabled:o,closeIcon:a,key:i,label:s}=e,d=$(t,a,p,o);return n.createElement(w.Dr,{key:i,id:`${I}-${i}`,role:"option","aria-controls":r&&`${r}-panel-${i}`,disabled:o},n.createElement("span",null,s),d&&n.createElement("button",{type:"button","aria-label":h||"remove",tabIndex:0,className:(0,l.$)(`${T}-menu-item-remove`,S?.remove),style:E?.remove,onClick:e=>{e.stopPropagation(),function(e,t){e.preventDefault(),e.stopPropagation(),p.onEdit("remove",{key:t,event:e})}(e,i)}},(0,c.AZ)(a)?a:(0,c.AZ)(p.removeIcon)?p.removeIcon:"×"))})),D=R?R(B,{restTabs:a,onClose:()=>N(!1)}):B;function L(e){const t=a.filter(e=>!e.disabled);let o=t.findIndex(e=>e.key===A)||0;const n=t.length;for(let r=0;r<n;r+=1){o=(o+e+n)%n;const r=t[o];if(!r.disabled)return void M(r.key)}}(0,n.useEffect)(()=>{const e=document.getElementById(P);e?.scrollIntoView&&e.scrollIntoView(!1)},[P,A]),(0,n.useEffect)(()=>{z||M(null)},[z]);const O={marginInlineStart:g};a.length||(O.visibility="hidden",O.order=1);const W=(0,l.$)(v,{[`${T}-rtl`]:f}),F=s?null:n.createElement(C.A,k({prefixCls:T,overlay:D,open:!!a.length&&z,onOpenChange:N,overlayClassName:W,overlayStyle:y,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:b},d),n.createElement("button",{type:"button",className:`${o}-nav-more`,style:O,"aria-haspopup":"listbox","aria-controls":I,id:`${r}-more`,"aria-expanded":z,onKeyDown:function(e){const{which:t}=e;if(z)switch(t){case c.DD.UP:L(-1),e.preventDefault();break;case c.DD.DOWN:L(1),e.preventDefault();break;case c.DD.ESC:N(!1);break;case c.DD.SPACE:case c.DD.ENTER:null!==A&&_(A,e)}else[c.DD.DOWN,c.DD.SPACE,c.DD.ENTER].includes(t)&&(N(!0),e.preventDefault())}},j));return n.createElement("div",{className:(0,l.$)(`${o}-nav-operations`,u),style:m,ref:t},F,n.createElement(x,{prefixCls:o,locale:i,editable:p}))}),z=n.memo(E,(e,t)=>t.tabMoving),N=e=>{const{prefixCls:t,id:o,active:r,focus:a,tab:{key:i,label:s,disabled:d,closeIcon:m,icon:u},closable:p,renderWrapper:g,removeAriaLabel:f,editable:h,onClick:_,onFocus:b,onBlur:y,onKeyDown:x,onMouseDown:S,onMouseUp:C,styles:w,classNames:k,tabCount:E,currentPosition:z}=e,N=`${t}-tab`,A=$(p,m,h,d);function M(e){d||_(e)}const j=n.useMemo(()=>(0,c.AZ)(u)&&"string"==typeof s?n.createElement("span",null,s):s,[s,u]),R=n.useRef(null);n.useEffect(()=>{a&&R.current&&R.current.focus()},[a]);const I=n.createElement("div",{key:i,"data-node-key":v(i),className:(0,l.$)(N,k?.item,{[`${N}-with-remove`]:A,[`${N}-active`]:r,[`${N}-disabled`]:d,[`${N}-focus`]:a}),style:w?.item,onClick:M},n.createElement("div",{ref:R,role:"tab","aria-selected":r,id:o&&`${o}-tab-${i}`,className:`${N}-btn`,"aria-controls":o&&`${o}-panel-${i}`,"aria-disabled":d,tabIndex:d?null:r?0:-1,onClick:e=>{e.stopPropagation(),M(e)},onKeyDown:x,onMouseDown:S,onMouseUp:C,onFocus:b,onBlur:y},a&&n.createElement("div",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},`Tab ${z} of ${E}`),(0,c.AZ)(u)&&n.createElement("span",{className:`${N}-icon`},u),(0,c.AZ)(s)&&j),A&&n.createElement("button",{type:"button","aria-label":f||"remove",tabIndex:r?0:-1,className:(0,l.$)(`${N}-remove`,k?.remove),style:w?.remove,onClick:e=>{var t;e.stopPropagation(),(t=e).preventDefault(),t.stopPropagation(),h.onEdit("remove",{key:i,event:t})}},(0,c.AZ)(m)?m:(0,c.AZ)(h.removeIcon)?h.removeIcon:"×"));return g?g(I):I};function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},A.apply(this,arguments)}const M=e=>{const{offsetWidth:t=0,offsetHeight:o=0}=e.current||{};if(e.current){const{width:o,height:n}=e.current.getBoundingClientRect();if(Math.abs(o-t)<1)return[o,n]}return[t,o]},j=(e,t)=>e[t?0:1],R=n.forwardRef((e,t)=>{const{className:o,style:r,id:a,animated:i,activeKey:s,rtl:y,extra:C,editable:w,locale:k,tabPosition:E,tabBarGutter:R,children:I,onTabClick:T,onTabScroll:P,indicator:H,classNames:B,styles:D}=e,{prefixCls:L,tabs:O}=n.useContext(d),W=(0,n.useRef)(null),F=(0,n.useRef)(null),X=(0,n.useRef)(null),q=(0,n.useRef)(null),G=(0,n.useRef)(null),K=(0,n.useRef)(null),V=(0,n.useRef)(null),Z="top"===E||"bottom"===E,[Y,U]=g(0,(e,t)=>{Z&&P&&P({direction:e>t?"left":"right"})}),[Q,J]=g(0,(e,t)=>{!Z&&P&&P({direction:e>t?"top":"bottom"})}),[ee,te]=(0,n.useState)([0,0]),[oe,ne]=(0,n.useState)([0,0]),[re,ae]=(0,n.useState)([0,0]),[ie,se]=(0,n.useState)([0,0]),[le,ce]=function(e){const t=(0,n.useRef)([]),[,o]=(0,n.useState)({}),r=(0,n.useRef)("function"==typeof e?e():e),a=h(()=>{let e=r.current;t.current.forEach(t=>{e=t(e)}),t.current=[],r.current=e,o({})});return[r.current,function(e){t.current.push(e),a()}]}(new Map),de=function(e,t,o){return(0,n.useMemo)(()=>{const o=new Map,n=t.get(e[0]?.key)||p,r=n.left+n.width;for(let n=0;n<e.length;n+=1){const{key:a}=e[n];let i=t.get(a);i||(i=t.get(e[n-1]?.key)||p);const s=o.get(a)||{...i};s.right=r-s.left-s.width,o.set(a,s)}return o},[e.map(e=>e.key).join("_"),t,o])}(O,le,oe[0]),me=j(ee,Z),ue=j(oe,Z),pe=j(re,Z),ge=j(ie,Z),fe=Math.floor(me)<Math.floor(ue+pe),he=fe?me-ge:me-pe,_e=`${L}-nav-operations-hidden`;let be=0,ve=0;function $e(e){return e<be?be:e>ve?ve:e}Z&&y?(be=0,ve=Math.max(0,ue-he)):(be=Math.min(0,he-ue),ve=0);const ye=(0,n.useRef)(null),[xe,Se]=(0,n.useState)();function Ce(){Se(Date.now())}function we(){ye.current&&clearTimeout(ye.current)}!function(e,t){const[o,r]=(0,n.useState)(),[a,i]=(0,n.useState)(0),[s,l]=(0,n.useState)(0),[c,d]=(0,n.useState)(),m=(0,n.useRef)(void 0),u=(0,n.useRef)(void 0),p=(0,n.useRef)(null);p.current={onTouchStart:function(e){const{screenX:t,screenY:o}=e.touches[0];r({x:t,y:o}),window.clearInterval(m.current)},onTouchMove:function(e){if(!o)return;const{screenX:n,screenY:s}=e.touches[0];r({x:n,y:s});const c=n-o.x,m=s-o.y;t(c,m);const u=Date.now();i(u),l(u-a),d({x:c,y:m})},onTouchEnd:function(){if(o&&(r(null),d(null),c)){const e=c.x/s,o=c.y/s,n=Math.abs(e),r=Math.abs(o);if(Math.max(n,r)<.1)return;let a=e,i=o;m.current=window.setInterval(()=>{Math.abs(a)<.01&&Math.abs(i)<.01?window.clearInterval(m.current):(a*=f,i*=f,t(20*a,20*i))},20)}},onWheel:function(e){const{deltaX:o,deltaY:n}=e;let r;const a=Math.abs(o),i=Math.abs(n);a===i?r="x"===u.current?o:n:a>i?(r=o,u.current="x"):(r=n,u.current="y"),t(-r,-r)&&e.preventDefault()}},n.useEffect(()=>{function t(e){p.current.onTouchMove(e)}function o(e){p.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",o,{passive:!0}),e.current.addEventListener("touchstart",function(e){p.current.onTouchStart(e)},{passive:!0}),e.current.addEventListener("wheel",function(e){p.current.onWheel(e)},{passive:!1}),()=>{document.removeEventListener("touchmove",t),document.removeEventListener("touchend",o)}},[])}(q,(e,t)=>{function o(e,t){e(e=>$e(e+t))}return!!fe&&(Z?o(U,e):o(J,t),we(),Ce(),!0)}),(0,n.useEffect)(()=>(we(),xe&&(ye.current=setTimeout(()=>{Se(0)},100)),we),[xe]);const[ke,Ee]=function(e,t,o,r,a,i,{tabs:s,tabPosition:l,rtl:c}){let d,m,u;return["top","bottom"].includes(l)?(d="width",m=c?"right":"left",u=Math.abs(o)):(d="height",m="top",u=-o),(0,n.useMemo)(()=>{if(!s.length)return[0,0];const o=s.length;let n=o;for(let r=0;r<o;r+=1){const o=e.get(s[r].key)||_;if(Math.floor(o[m]+o[d])>Math.floor(u+t)){n=r-1;break}}let r=0;for(let t=o-1;t>=0;t-=1)if((e.get(s[t].key)||_)[m]<u){r=t+1;break}return r>n?[0,-1]:[r,n]},[e,t,r,a,i,u,l,s.map(e=>e.key).join("_"),c])}(de,he,Z?Y:Q,ue,pe,ge,{...e,tabs:O}),ze=(0,c._q)((e=s)=>{const t=de.get(e)||{width:0,height:0,left:0,right:0,top:0};if(Z){let e=Y;y?t.right<Y?e=t.right:t.right+t.width>Y+he&&(e=t.right+t.width-he):t.left<-Y?e=-t.left:t.left+t.width>-Y+he&&(e=-(t.left+t.width-he)),J(0),U($e(e))}else{let e=Q;t.top<-Q?e=-t.top:t.top+t.height>-Q+he&&(e=-(t.top+t.height-he)),U(0),J($e(e))}}),[Ne,Ae]=(0,n.useState)(),[Me,je]=(0,n.useState)(!1),Re=O.filter(e=>!e.disabled).map(e=>e.key),Ie=e=>{const t=Re.indexOf(Ne||s),o=Re.length;Ae(Re[(t+e+o)%o])},Te=(e,t)=>{const o=Re.indexOf(e),n=O.find(t=>t.key===e);$(n?.closable,n?.closeIcon,w,n?.disabled)&&(t.preventDefault(),t.stopPropagation(),w.onEdit("remove",{key:e,event:t}),Ie(o===Re.length-1?-1:1))},Pe=e=>{const{code:t}=e,o=y&&Z,n=Re[0],r=Re[Re.length-1];switch(t){case"ArrowLeft":Z&&Ie(o?1:-1);break;case"ArrowRight":Z&&Ie(o?-1:1);break;case"ArrowUp":e.preventDefault(),Z||Ie(-1);break;case"ArrowDown":e.preventDefault(),Z||Ie(1);break;case"Home":e.preventDefault(),Ae(n);break;case"End":e.preventDefault(),Ae(r);break;case"Enter":case"Space":e.preventDefault(),T(Ne??s,e);break;case"Backspace":case"Delete":Te(Ne,e)}},He={};Z?He.marginInlineStart=R:He.marginTop=R;const Be=O.map((e,t)=>{const{key:o}=e;return n.createElement(N,{id:a,prefixCls:L,key:o,tab:e,classNames:{item:B?.item,remove:B?.remove},styles:{item:0===t?D?.item:{...He,...D?.item},remove:D?.remove},closable:e.closable,editable:w,active:o===s,focus:o===Ne,renderWrapper:I,removeAriaLabel:k?.removeAriaLabel,tabCount:Re.length,currentPosition:t+1,onClick:e=>{T(o,e)},onKeyDown:Pe,onFocus:()=>{Me||Ae(o),ze(o),Ce(),q.current&&(y||(q.current.scrollLeft=0),q.current.scrollTop=0)},onBlur:()=>{Ae(void 0)},onMouseDown:e=>((e,t)=>{je(!0),1===t.button&&Te(e,t)})(o,e),onMouseUp:()=>{je(!1)}})}),De=()=>ce(()=>{const e=new Map,t=G.current?.getBoundingClientRect();return O.forEach(({key:o})=>{const n=G.current?.querySelector(`[data-node-key="${v(o)}"]`);if(n){const[r,a,i,s]=((e,t)=>{const{offsetWidth:o,offsetHeight:n,offsetTop:r,offsetLeft:a}=e,{width:i,height:s,left:l,top:c}=e.getBoundingClientRect();return Math.abs(i-o)<1?[i,s,l-t.left,c-t.top]:[o,n,a,r]})(n,t);e.set(o,{width:r,height:a,left:i,top:s})}}),e});(0,n.useEffect)(()=>{De()},[O.map(e=>e.key).join("_")]);const Le=h(()=>{const e=M(W),t=M(F),o=M(X);te([e[0]-t[0]-o[0],e[1]-t[1]-o[1]]);const n=M(V);ae(n);const r=M(K);se(r);const a=M(G);ne([a[0]-n[0],a[1]-n[1]]),De()}),Oe=[...O.slice(0,ke),...O.slice(Ee+1)],We=de.get(s),{style:Fe}=u({activeTabOffset:We,horizontal:Z,indicator:H,rtl:y});(0,n.useEffect)(()=>{ze()},[s,be,ve,b(We),b(de),Z]),(0,n.useEffect)(()=>{Le()},[y]);const Xe=!!Oe.length,qe=`${L}-nav-wrap`;let Ge,Ke,Ve,Ze;return Z?y?(Ke=Y>0,Ge=Y!==ve):(Ge=Y<0,Ke=Y!==be):(Ve=Q<0,Ze=Q!==be),n.createElement(m.Ay,{onResize:Le},n.createElement("div",{ref:(0,c.xK)(t,W),role:"tablist","aria-orientation":Z?"horizontal":"vertical",className:(0,l.$)(`${L}-nav`,o,B?.header),style:{...D?.header,...r},onKeyDown:()=>{Ce()}},n.createElement(S,{ref:F,position:"left",extra:C,prefixCls:L}),n.createElement(m.Ay,{onResize:Le},n.createElement("div",{className:(0,l.$)(qe,{[`${qe}-ping-left`]:Ge,[`${qe}-ping-right`]:Ke,[`${qe}-ping-top`]:Ve,[`${qe}-ping-bottom`]:Ze}),ref:q},n.createElement(m.Ay,{onResize:Le},n.createElement("div",{ref:G,className:`${L}-nav-list`,style:{transform:`translate(${Y}px, ${Q}px)`,transition:xe?"none":void 0}},Be,n.createElement(x,{ref:V,prefixCls:L,locale:k,editable:w,style:{...0===Be.length?void 0:He,visibility:Xe?"hidden":null}}),n.createElement("div",{className:(0,l.$)(`${L}-ink-bar`,B?.indicator,{[`${L}-ink-bar-animated`]:i.inkBar}),style:{...Fe,...D?.indicator}}))))),n.createElement(z,A({},e,{removeAriaLabel:k?.removeAriaLabel,ref:K,prefixCls:L,tabs:Oe,className:!Xe&&_e,popupStyle:D?.popup,tabMoving:!!xe})),n.createElement(S,{ref:X,position:"right",extra:C,prefixCls:L})))}),I=R;const T=({renderTabBar:e,...t})=>e?e(t,I):n.createElement(I,t);var P=o("./node_modules/.pnpm/@rc-component+motion@1.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/motion/es/index.js");const H=n.forwardRef((e,t)=>{const{prefixCls:o,className:r,style:a,id:i,active:s,tabKey:c,children:d}=e,m=n.Children.count(d)>0;return n.createElement("div",{id:i&&`${i}-panel-${c}`,role:"tabpanel",tabIndex:s&&m?0:-1,"aria-labelledby":i&&`${i}-tab-${c}`,"aria-hidden":!s,style:a,className:(0,l.$)(o,s&&`${o}-active`,r),ref:t},d)});const B=H;function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},D.apply(this,arguments)}const L=e=>{const{id:t,activeKey:o,animated:r,tabPosition:a,destroyOnHidden:i,bodyStyle:s,bodyClassName:c,contentStyle:m,contentClassName:u}=e,{prefixCls:p,tabs:g}=n.useContext(d),f=r.tabPane,h=`${p}-body`,_=`${p}-content`;return n.createElement("div",{className:(0,l.$)(`${h}-holder`)},n.createElement("div",{className:(0,l.$)(h,`${h}-${a}`,{[`${h}-animated`]:f},c),style:s},g.map(e=>{const{key:a,forceRender:s,style:c,className:d,destroyOnHidden:p,...g}=e,h=a===o;return n.createElement(P.Ay,D({key:a,visible:h,forceRender:s,removeOnLeave:!!(i??p),leavedClassName:`${_}-hidden`},r.tabPaneMotion),({style:e,className:o},r)=>n.createElement(B,D({},g,{prefixCls:_,id:t,tabKey:a,animated:f,active:h,style:{...m,...c,...e},className:(0,l.$)(u,d,o),ref:r})))})))};function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},O.apply(this,arguments)}let W=0;const F=n.forwardRef((e,t)=>{const{id:o,prefixCls:r="rc-tabs",className:a,items:i,direction:s,activeKey:m,defaultActiveKey:u,editable:p,animated:g,tabPosition:f="top",tabBarGutter:h,tabBarStyle:_,tabBarExtraContent:b,locale:v,more:$,destroyOnHidden:y,renderTabBar:x,onChange:S,onTabClick:C,onTabScroll:w,getPopupContainer:k,popupClassName:E,indicator:z,classNames:N,styles:A,...M}=e,j=n.useMemo(()=>(i||[]).filter(e=>e&&"object"==typeof e&&"key"in e),[i]),R="rtl"===s,I=function(e={inkBar:!0,tabPane:!1}){let t;return t=!1===e?{inkBar:!1,tabPane:!1}:!0===e?{inkBar:!0,tabPane:!1}:{inkBar:!0,..."object"==typeof e?e:{}},t.tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(g),[P,H]=(0,n.useState)(!1);(0,n.useEffect)(()=>{H((0,c.Fr)())},[]);const[B,D]=(0,c.PW)(u??j[0]?.key,m),[F,X]=(0,n.useState)(()=>j.findIndex(e=>e.key===B));(0,n.useEffect)(()=>{let e=j.findIndex(e=>e.key===B);-1===e&&(e=Math.max(0,Math.min(F,j.length-1)),D(j[e]?.key)),X(e)},[j.map(e=>e.key).join("_"),B,F]);const[q,G]=(0,c.PW)(null,o);(0,n.useEffect)(()=>{o||(G(`rc-tabs-${W}`),W+=1)},[]);const K={id:q,activeKey:B,animated:I,tabPosition:f,rtl:R,mobile:P},V={...K,editable:p,locale:v,more:$,tabBarGutter:h,onTabClick:function(e,t){C?.(e,t);const o=e!==B;D(e),o&&S?.(e)},onTabScroll:w,extra:b,style:_,getPopupContainer:k,popupClassName:(0,l.$)(E,N?.popup),indicator:z,styles:A,classNames:N},Z=n.useMemo(()=>({tabs:j,prefixCls:r}),[j,r]);return n.createElement(d.Provider,{value:Z},n.createElement("div",O({ref:t,id:o,className:(0,l.$)(r,`${r}-${f}`,{[`${r}-mobile`]:P,[`${r}-editable`]:p,[`${r}-rtl`]:R},a)},M),n.createElement(T,O({},V,{renderTabBar:x})),n.createElement(L,O({destroyOnHidden:y},K,{bodyStyle:A?.body,bodyClassName:N?.body,contentStyle:A?.content,contentClassName:N?.content,animated:I}))))});const X=F;var q=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),G=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),K=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),V=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),Z=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),Y=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/motion.js");const U={motionAppear:!1,motionEnter:!0,motionLeave:!0};const Q=function(e,t){return e?e.map(e=>({...e,destroyOnHidden:e.destroyOnHidden??e.destroyInactiveTabPane})):function(e){return e.filter(e=>e)}((0,c.$r)(t).map(e=>{if(n.isValidElement(e)){const{key:t,props:o}=e,{tab:n,...r}=o||{};return{key:String(t),...r,label:n}}return null}))};var J=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),ee=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),te=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/motion/slide.js"),oe=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),ne=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const re=e=>{const{componentCls:t,motionDurationSlow:o}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${o}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${o}`}}}}},[(0,te._j)(e,"slide-up"),(0,te._j)(e,"slide-down")]]},ae=e=>{const{componentCls:t,tabsCardPadding:o,cardBg:n,cardGutter:r,colorBorderSecondary:a,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:o,background:n,border:`${(0,J.zA)(e.lineWidth)} ${e.lineType} ${a}`,transition:["color","background-color","border-color"].map(t=>`${t} ${e.motionDurationSlow} ${e.motionEaseInOut}`).join(", ")},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-tab-focus:has(${t}-tab-btn:focus-visible)`]:(0,ee.jk)(e,-3),[`& ${t}-tab${t}-tab-focus ${t}-tab-btn:focus-visible`]:{outline:"none"},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,J.zA)(r)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,J.zA)(e.borderRadiusLG)} ${(0,J.zA)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,J.zA)(e.borderRadiusLG)} ${(0,J.zA)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,J.zA)(r)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,J.zA)(e.borderRadiusLG)} 0 0 ${(0,J.zA)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,J.zA)(e.borderRadiusLG)} ${(0,J.zA)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},ie=e=>{const{antCls:t,componentCls:o,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${o}-dropdown`]:{...(0,ee.dF)(e),position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`&${t}-slide-down-enter${t}-slide-down-enter-active${o}-dropdown-placement-bottomLeft,\n &${t}-slide-down-appear${t}-slide-down-appear-active${o}-dropdown-placement-bottomLeft,\n &${t}-slide-down-enter${t}-slide-down-enter-active${o}-dropdown-placement-bottom,\n &${t}-slide-down-appear${t}-slide-down-appear-active${o}-dropdown-placement-bottom,\n &${t}-slide-down-enter${t}-slide-down-enter-active${o}-dropdown-placement-bottomRight,\n &${t}-slide-down-appear${t}-slide-down-appear-active${o}-dropdown-placement-bottomRight`]:{animationName:te.ox},[`&${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-topLeft,\n &${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-topLeft,\n &${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-top,\n &${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-top,\n &${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-topRight,\n &${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-topRight`]:{animationName:te.nP},[`&${t}-slide-down-leave${t}-slide-down-leave-active${o}-dropdown-placement-bottomLeft,\n &${t}-slide-down-leave${t}-slide-down-leave-active${o}-dropdown-placement-bottom,\n &${t}-slide-down-leave${t}-slide-down-leave-active${o}-dropdown-placement-bottomRight`]:{animationName:te.vR},[`&${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-topLeft,\n &${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-top,\n &${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-topRight`]:{animationName:te.YU},[`${o}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,J.zA)(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":{...ee.L9,display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,J.zA)(e.paddingXXS)} ${(0,J.zA)(e.paddingSM)}`,color:e.colorText,fontWeight:400,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}}}}}},se=e=>{const{componentCls:t,margin:o,colorBorderSecondary:n,horizontalMargin:r,verticalItemPadding:a,verticalItemMargin:i,motionDurationSlow:s,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,J.zA)(e.lineWidth)} ${e.lineType} ${n}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:["width","left","right"].map(e=>`${e} ${s}`).join(", ")}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:o,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:a,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:["height","top"].map(e=>`${e} ${s}`).join(", ")}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{marginLeft:{_skip_check_:!0,value:(0,J.zA)(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,J.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-body > ${t}-content`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-body-holder, > div > ${t}-body-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,J.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-body > ${t}-content`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},le=e=>{const{componentCls:t,cardPaddingSM:o,cardPaddingLG:n,cardHeightSM:r,cardHeightLG:a,horizontalItemPaddingSM:i,horizontalItemPaddingLG:s}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:s,fontSize:e.titleFontSizeLG,lineHeight:e.lineHeightLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o},[`${t}-nav-add`]:{minWidth:r,minHeight:r}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,J.zA)(e.borderRadius)} ${(0,J.zA)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,J.zA)(e.borderRadius)} ${(0,J.zA)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,J.zA)(e.borderRadius)} ${(0,J.zA)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,J.zA)(e.borderRadius)} 0 0 ${(0,J.zA)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n},[`${t}-nav-add`]:{minWidth:a,minHeight:a}}}}}},ce=e=>{const{componentCls:t,itemActiveColor:o,itemHoverColor:n,iconCls:r,tabsHorizontalItemMargin:a,horizontalItemPadding:i,itemSelectedColor:s,itemColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:o}},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM},[`${c}-icon > svg`]:{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"}},"&-remove":{flex:"none",lineHeight:1,marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading},...(0,ee.K8)(e)},"&:hover":{color:n},[`&${c}-active ${c}-btn`]:{color:s},[`&${c}-focus ${c}-btn:focus-visible`]:(0,ee.jk)(e),[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${r}`]:{margin:0,verticalAlign:"middle"},[`${r}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:a}}}},de=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:o,iconCls:n,cardGutter:r,calc:a}=e,i=`${t}-rtl`;return{[i]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:o},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[n]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:e.marginSM}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:e.marginXS},marginLeft:{_skip_check_:!0,value:a(e.marginXXS).mul(-1).equal()},[n]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-body-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-body-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:r},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"}}},me=e=>{const{componentCls:t,tabsCardPadding:o,cardHeight:n,cardGutter:r,itemHoverColor:a,itemActiveColor:i,colorBorderSecondary:s}=e;return{[t]:{...(0,ee.dF)(e),display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:o,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:{minWidth:n,minHeight:n,marginLeft:{_skip_check_:!0,value:r},background:"transparent",border:`${(0,J.zA)(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${(0,J.zA)(e.borderRadiusLG)} ${(0,J.zA)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:i},...(0,ee.K8)(e,-3)}},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"},...ce(e),[`${t}-body`]:{position:"relative",width:"100%"},[`${t}-body-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-content`]:{...(0,ee.K8)(e),"&-hidden":{display:"none"}}},[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}},ue=(0,oe.OF)("Tabs",e=>{const t=(0,ne.oX)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,J.zA)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,J.zA)(e.horizontalItemGutter)}`});return[le(t),de(t),se(t),ie(t),ae(t),me(t),re(t)]},e=>{const{cardHeight:t,cardHeightSM:o,cardHeightLG:n,controlHeight:r,controlHeightLG:a}=e,i=t||a,s=o||r,l=n||a+8;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:i,cardHeightSM:s,cardHeightLG:l,cardPadding:`${(i-e.fontHeight)/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${(s-e.fontHeight)/2-e.lineWidth}px ${e.paddingXS}px`,cardPaddingLG:`${(l-e.fontHeightLG)/2-e.lineWidth}px ${e.padding}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}});const pe=()=>null,ge=n.forwardRef((e,t)=>{const{type:o,className:r,rootClassName:c,size:d,onEdit:m,hideAdd:u,centered:p,addIcon:g,removeIcon:f,moreIcon:h,more:_,popupClassName:b,children:v,items:$,animated:y,style:x,indicatorSize:S,indicator:C,classNames:w,styles:k,destroyInactiveTabPane:E,destroyOnHidden:z,tabPlacement:N,tabPosition:A,...M}=e,{prefixCls:j}=M,{getPrefixCls:R,direction:I,getPopupContainer:T,className:P,style:H,classNames:B,styles:D}=(0,G.TP)("tabs"),{tabs:L}=n.useContext(G.QO),O=R("tabs",j),W=(0,K.A)(O),[F,J]=ue(O,W),ee=n.useRef(null);let te;n.useImperativeHandle(t,()=>({nativeElement:ee.current})),"editable-card"===o&&(te={onEdit:(e,{key:t,event:o})=>{m?.("add"===e?o:t,e)},removeIcon:f??L?.removeIcon??n.createElement(a.A,null),addIcon:(g??L?.addIcon)||n.createElement(s.A,null),showAdd:!0!==u});const oe=R();const ne=(0,V.A)(d),re=Q($,v),ae=function(e,t={inkBar:!0,tabPane:!1}){let o;return o=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!0}:{inkBar:!0,...(0,Z.Qd)(t)?t:{}},o.tabPane&&(o.tabPaneMotion={...U,motionName:(0,Y.b)(e,"switch")}),o}(O,y),ie={align:C?.align??L?.indicator?.align,size:C?.size??S??L?.indicator?.size??L?.indicatorSize},{visible:se,onVisibleChange:le,...ce}=_??{},de={icon:h??L?.more?.icon??L?.moreIcon??n.createElement(i.A,null),transitionName:`${oe}-slide-up`,...ce,..._&&!("open"in _)&&"visible"in _?{open:se}:{},..._&&!("onOpenChange"in _)&&"onVisibleChange"in _?{onOpenChange:le}:{}},me=n.useMemo(()=>{const e=N??A??void 0,t="rtl"===I;switch(e){case"start":return t?"right":"left";case"end":return t?"left":"right";default:return e}},[N,A,I]),pe={...e,size:ne,tabPlacement:me,items:re},ge=(0,q.XT)(H),fe=(0,q.XT)(x),[he,_e]=(0,q.AV)([B,w],[D,ge,k,fe],{props:pe},{popup:{_default:"root"}});return n.createElement(X,{ref:ee,direction:I,getPopupContainer:T,...M,items:re,className:(0,l.$)({[`${O}-large`]:"large"===ne,[`${O}-small`]:"small"===ne,[`${O}-card`]:["card","editable-card"].includes(o),[`${O}-editable-card`]:"editable-card"===o,[`${O}-centered`]:p},P,r,c,he.root,F,J,W),classNames:{...he,popup:(0,l.$)(b,F,J,W,he.popup?.root)},styles:{..._e,popup:_e.popup?.root},style:_e.root,editable:te,more:de,prefixCls:O,animated:ae,indicator:ie,destroyOnHidden:z??E,tabPosition:me})}),fe=ge;fe.TabPane=pe;const he=fe},"./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tag/index.js"(e,t,o){o.d(t,{A:()=>B});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useClosable.js"),l=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/reactNode.js"),m=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/wave/index.js"),u=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),p=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/form/hooks/useVariants.js"),g=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/DisabledContext.js"),f=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),h=o("./node_modules/.pnpm/@ant-design+fast-color@3.0.1/node_modules/@ant-design/fast-color/es/index.js"),_=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/color-picker/color.js"),b=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/color-picker/components/ColorPresets.js"),v=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),$=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js"),y=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");const x=e=>{const{lineWidth:t,fontSizeIcon:o,calc:n}=e,r=e.fontSizeSM;return(0,$.oX)(e,{tagFontSize:r,tagLineHeight:(0,f.zA)(n(e.lineHeightSM).mul(r).equal()),tagIconSize:n(o).sub(n(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},S=e=>{const t=(0,b.z)(new _.kf(e.colorBgSolid),"#fff")?"#000":"#fff";return{defaultBg:new h.Y(e.colorFillTertiary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText,solidTextColor:t}},C=(0,y.OF)("Tag",e=>(e=>{const{paddingXXS:t,lineWidth:o,tagPaddingHorizontal:n,componentCls:r,calc:a}=e,i=a(n).sub(o).equal(),s=a(t).sub(o).equal();return{[r]:{...(0,v.dF)(e),display:"inline-block",height:"auto",paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",backgroundColor:e.defaultBg,border:`${(0,f.zA)(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}},"&-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},"&-disabled":{cursor:"not-allowed",[`&:not(${r}-checkable-checked)`]:{color:e.colorTextDisabled,"&:hover":{backgroundColor:"transparent"}},[`&${r}-checkable-checked`]:{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:e.colorBgContainerDisabled,color:e.colorTextDisabled},[`&:not(${r}-checkable-checked):hover`]:{color:e.colorTextDisabled}},"&-group":{display:"flex",flexWrap:"wrap",gap:e.paddingXS}},"&-hidden":{display:"none"},"> svg":{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"},[`> ${e.iconCls} + span, > span + ${e.iconCls}, > svg + span, > span + svg`]:{marginInlineStart:i}},[`&${e.componentCls}-solid`]:{borderColor:"transparent",color:e.colorTextLightSolid,backgroundColor:e.colorBgSolid,[`&${r}-default`]:{color:e.solidTextColor}},[`${r}-filled`]:{borderColor:"transparent",backgroundColor:e.tagBorderlessBg},[`&${r}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",backgroundColor:e.colorBgContainerDisabled,a:{cursor:"not-allowed",pointerEvents:"none",color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}},"a&":{"&:hover, &:active":{color:e.colorTextDisabled}},[`&${r}-outlined`]:{borderColor:e.colorBorderDisabled},[`&${r}-solid, &${r}-filled`]:{color:e.colorTextDisabled,[`${r}-close-icon`]:{color:e.colorTextDisabled}},[`${r}-close-icon`]:{cursor:"not-allowed",color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}}}}})(x(e)),S),w=n.forwardRef((e,t)=>{const{prefixCls:o,style:r,className:a,checked:s,children:l,icon:c,onChange:d,onClick:m,onKeyDown:p,disabled:f,...h}=e,{getPrefixCls:_,tag:b}=n.useContext(u.QO),v=n.useContext(g.A),$=f??v,y=_("tag",o),[x,S]=C(y),w=(0,i.$)(y,`${y}-checkable`,{[`${y}-checkable-checked`]:s,[`${y}-checkable-disabled`]:$},b?.className,a,x,S);return n.createElement("span",{...h,ref:t,role:"checkbox","aria-checked":s,"aria-disabled":$||void 0,tabIndex:$?-1:0,style:{...b?.style,...r},className:w,onClick:e=>{$||(d?.(!s),m?.(e))},onKeyDown:e=>{p?.(e),e.defaultPrevented||$||" "===e.key&&(e.preventDefault(),e.repeat||d?.(!s))}},c,n.createElement("span",null,l))}),k=w;var E=o("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),z=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js");const N=r().forwardRef((e,t)=>{const{id:o,prefixCls:s,rootClassName:d,className:m,style:p,classNames:g,styles:f,disabled:h,options:_,value:b,defaultValue:v,onChange:$,multiple:y,...x}=e,{getPrefixCls:S,direction:w,className:N,style:A,classNames:M,styles:j}=(0,u.TP)("tag"),R=S("tag",s),I=`${R}-checkable-group`,T=(0,z.A)(R),[P,H]=C(R,T),B=(0,l.XT)(A),D=(0,l.XT)(p),[L,O]=(0,l.AV)([M,g],[j,B,f,D],{props:e}),W=(0,n.useMemo)(()=>Array.isArray(_)?_.map(e=>(0,c.Qd)(e)?e:{value:e,label:e}):[],[_]),[F,X]=(0,a.PW)(v,b),q=r().useRef(null);(0,n.useImperativeHandle)(t,()=>({nativeElement:q.current}));const G=(0,a.KE)(x,{aria:!0,data:!0});return r().createElement("div",{...G,className:(0,i.$)(I,N,d,{[`${I}-disabled`]:h,[`${I}-rtl`]:"rtl"===w},P,H,m,L.root),style:O.root,id:o,ref:q},W.map(e=>r().createElement(k,{key:e.value,className:(0,i.$)(`${I}-item`,L.item,e.className),style:{...O.item,...e.style},checked:y?(F||[]).includes(e.value):F===e.value,onChange:t=>((e,t)=>{let o=null;if(y){const n=F||[];o=e?[].concat((0,E.A)(n),[t.value]):n.filter(e=>e!==t.value)}else o=e?t.value:null;X(o),$?.(o)})(t,e),disabled:h},e.label)))});const A=N;var M=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/colors.js");var j=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genPresetColor.js");const R=(0,y.bf)(["Tag","preset"],e=>(e=>(0,j.A)(e,(t,{textColor:o,lightBorderColor:n,lightColor:r,darkColor:a})=>({[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:r,borderColor:n,color:o},[`&${e.componentCls}-solid`]:{backgroundColor:a,borderColor:a,color:e.colorTextLightSolid},[`&${e.componentCls}-filled`]:{backgroundColor:r,color:o}}})))(x(e)),S);const I=(e,t,o)=>{const n="string"!=typeof(r=o)?r:r.charAt(0).toUpperCase()+r.slice(1);var r;return{[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:e[`color${n}Bg`],borderColor:e[`color${n}Border`],color:e[`color${o}`]},[`&${e.componentCls}-solid`]:{backgroundColor:e[`color${o}`],borderColor:e[`color${o}`]},[`&${e.componentCls}-filled`]:{backgroundColor:e[`color${n}Bg`],color:e[`color${o}`]}}}},T=(0,y.bf)(["Tag","status"],e=>{const t=x(e);return[I(t,"success","Success"),I(t,"processing","Info"),I(t,"error","Error"),I(t,"warning","Warning")]},S),P=n.forwardRef((e,t)=>{const{prefixCls:o,className:r,rootClassName:f,style:_,children:b,icon:v,color:$,variant:y,onClose:x,bordered:S,disabled:w,href:k,target:E,styles:z,classNames:N,...A}=e,{getPrefixCls:j,direction:I,className:P,style:H,classNames:B,styles:D}=(0,u.TP)("tag");const[L]=(0,p.A)("tag",void 0,{variants:["filled","solid","outlined"],defaultVariant:"filled"}),[O,W,F,X,q]=function(e,t){const{color:o,variant:r,bordered:a}=e;return n.useMemo(()=>{const e=o?.endsWith("-inverse");let n;n=r||(e?"solid":!1===a?"filled":t||"filled");let i=e?o?.replace("-inverse",""):o;void 0===i&&"solid"===n&&(i="default");const s=(0,M.nP)(i),l=(0,M.ZZ)(i),c={};if(!s&&!l&&i)if("solid"===n)c.backgroundColor=o;else{const e=new h.Y(i).toHsl();e.l=.95,c.backgroundColor=new h.Y(e).toHexString(),c.color=o,"outlined"===n&&(c.borderColor=o)}return[n,i,s,l,c]},[o,r,a,t])}(e,L),G=F||X,K=n.useContext(g.A),V=w??K,{tag:Z}=n.useContext(u.QO),[Y,U]=n.useState(!0),Q=(0,a.cJ)(A,["closeIcon","closable"]),J={...e,color:W,variant:O,disabled:V},ee=(0,l.XT)(H),te=(0,l.XT)(_),[oe,ne]=(0,l.AV)([B,N],[D,ee,z,te],{props:J}),re=n.useMemo(()=>{let e=ne.root;return V||(e={...q,...e}),e},[ne.root,q,V]),ae=j("tag",o),[ie,se]=C(ae),le=(0,i.$)(ae,P,oe.root,`${ae}-${O}`,{[`${ae}-${W}`]:G,[`${ae}-hidden`]:!Y,[`${ae}-rtl`]:"rtl"===I,[`${ae}-disabled`]:V},r,f,ie,se),ce=e=>{V||(e.stopPropagation(),x?.(e),e.defaultPrevented||(k&&e.preventDefault(),U(!1)))},de=e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.repeat||e.currentTarget.click())},[,me]=(0,s.$Z)((0,s.dG)(e),(0,s.dG)(Z),{closable:!1,closeIconRender:e=>{const t=n.createElement("span",{role:"button",tabIndex:V?-1:0,"aria-disabled":V||void 0,className:(0,i.$)(`${ae}-close-icon`,oe.close),onClick:ce,onKeyDown:de,style:ne.close},e);return(0,d.fx)(e,t,e=>({onClick:t=>{e?.onClick?.(t),ce(t)},onKeyDown:t=>{e?.onKeyDown?.(t),t.defaultPrevented||de(t)},role:"button",tabIndex:V?-1:0,"aria-disabled":V||void 0,className:(0,i.$)(e?.className,`${ae}-close-icon`,oe.close),style:{...ne.close,...e?.style}}))}}),ue=(0,c.Tn)(A.onClick)||b&&"a"===b.type,pe=(0,d.Ob)(v,{className:(0,i.$)(n.isValidElement(v)?v.props?.className:void 0,oe.icon),style:ne.icon}),ge=pe?n.createElement(n.Fragment,null,pe,(0,a.AZ)(b)&&n.createElement("span",{className:oe.content,style:ne.content},b)):b,fe=n.createElement(k?"a":"span",{...Q,ref:t,className:le,style:re,href:V?void 0:k,target:E,onClick:V?void 0:Q.onClick,...k&&V?{"aria-disabled":!0}:{}},ge,me,F&&n.createElement(R,{key:"preset",prefixCls:ae}),X&&n.createElement(T,{key:"status",prefixCls:ae}));return ue?n.createElement(m.A,{component:"Tag"},fe):fe}),H=P;H.CheckableTag=k,H.CheckableTagGroup=A;const B=H},"./src/components/fragments/Badge.tsx"(e,t,o){o.r(t);var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/badge/index.js"),i=o("./src/utils/dash3.ts"),s=o("./src/utils/antd.tsx");o.d(t,["default",0,e=>{const{children:t,loading_state:o}=e,n=(0,i.z5)(),l=(0,s.I4)({dot:!1,overflowCount:99,showZero:!1,...e,children:void 0});return l.count=(0,s.LM)(l.count,[...n,"props","count"]),l.text=(0,s.LM)(l.text,[...n,"props","text"]),r().createElement(a.A,{...l,"data-dash-is-loading":(0,i.A_)(o)||void 0},null==t?null:(0,s.Su)(t))}])},"./src/components/fragments/Masonry.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>w});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/@rc-component+motion@1.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/motion/es/index.js"),i=o("./node_modules/.pnpm/@rc-component+resize-observer@1.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/resize-observer/es/index.js"),s=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),l=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),m=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/responsiveObserver.js"),u=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),p=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),g=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/hooks/useBreakpoint.js"),f=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/hooks/useGutter.js"),h=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");var _=o("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");const b=r().forwardRef((e,t)=>{const{item:o,style:a,prefixCls:s,itemRender:c,className:d,index:m,column:u,onResize:p}=e,g=`${s}-item`,f=(0,n.useMemo)(()=>o.children??c?.({...o,index:m,column:u}),[o,c,u,m]);let h=r().createElement("div",{ref:t,style:a,className:(0,l.$)(g,d)},f);return p&&(h=r().createElement(i.Ay,{onResize:p},h)),h}),v=(0,h.OF)("Masonry",e=>{const{componentCls:t}=e,o=`${t}-item`;return{[t]:{position:"relative",boxSizing:"border-box",display:"flex",flexDirection:"column",flexWrap:"wrap","&-rtl":{direction:"rtl"},[`& > ${o}`]:{boxSizing:"border-box","&-fade":{"&-appear":{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseOut}`,opacity:0,"&-active":{opacity:1}},"&-leave":{transition:`opacity ${e.motionDurationFast} ${e.motionEaseOut}`,opacity:1,"&-active":{opacity:0}}},[`&:not(${o}-fade)`]:{transition:["left","right","top"].map(t=>`${t} ${e.motionDurationSlow} ${e.motionEaseOut}`).join(",")}}}}});const $=n.forwardRef((e,t)=>{const{rootClassName:o,className:r,style:$,classNames:y,styles:x,columns:S,prefixCls:C,gutter:w=0,items:k,itemRender:E,onLayoutChange:z,fresh:N}=e,{getPrefixCls:A,direction:M,className:j,style:R,classNames:I,styles:T}=(0,u.TP)("masonry"),P=A("masonry",C),H=A(),B=(0,p.A)(P),[D,L]=v(P,B),[O,W]=(0,h.PN)(H,"masonry"),F=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:F.current}));const[X,q]=function(){const e=n.useRef(null);return null===e.current&&(e.current=new Map),[(t,o)=>{e.current.set(t,o)},t=>e.current.get(t)]}(),[G,K]=n.useState([]);n.useEffect(()=>{K(k||[])},[k]);const V=(0,g.A)(),Z=(0,f.A)(w,V),[Y=0,U=Y]=Z,Q=n.useMemo(()=>{if(!S)return 3;if((0,d.Et)(S))return S;const e=m.ye.find(e=>V[e]&&void 0!==S[e]);return e?S[e]:S.xs??1},[S,V]),J={...e,columns:Q},ee=(0,c.XT)(R),te=(0,c.XT)($),[oe,ne]=(0,c.AV)([I,y],[T,ee,x,te],{props:J}),[re,ae]=n.useState([]),ie=function(e){const t=n.useRef(0),o=()=>{s.er.cancel(t.current)};return n.useEffect(()=>o,[]),(0,s._q)(()=>{o(),t.current=(0,s.er)(e)})}(()=>{const e=G.map((e,t)=>{const o=e.key??t,n=q(o),r=n?.getBoundingClientRect();return[o,r?r.height:0,e.column]});ae(t=>(0,s.n4)(t,e)?t:e)}),[se,le]=function(e,t,o){const[r,a]=n.useMemo(()=>{const n=new Array(t).fill(0),r=new Map;for(let a=0;a<e.length;a+=1){const[i,s,l]=e[a];let c=l??n.indexOf(Math.min.apply(Math,(0,_.A)(n)));c=Math.min(c,t-1),r.set(i,{column:c,top:n[c]}),n[c]+=s+o}return[r,Math.max(0,Math.max.apply(Math,(0,_.A)(n))-o)]},[t,e,o]);return[r,a]}(re,Q,U),ce=n.useMemo(()=>G.map((e,t)=>{const o=e.key??t;return{item:e,itemIndex:t,itemKey:o,key:o,position:se.get(o)}}),[G,se]);n.useEffect(()=>{ie()},[G,Q]);const[de,me]=n.useState([]);return(0,s.Nf)(()=>{z&&ce.every(({position:e})=>e)&&me(e=>{const t=ce.map(({item:e,position:t})=>[e,t.column]);return(0,s.n4)(e,t)?e:t})},[ce]),(0,s.Nf)(()=>{z&&k&&k.length===de.length&&z(de.map(([e,t])=>({...e,column:t})))},[de]),n.createElement(i.Ay,{onResize:ie},n.createElement("div",{ref:F,className:(0,l.$)(P,j,oe.root,o,r,D,L,{[`${P}-rtl`]:"rtl"===M}),style:{height:le,...ne.root},onLoad:ie,onError:ie},n.createElement(a.aF,{keys:ce,component:!1,motionAppear:!0,motionLeave:!0,motionName:`${P}-item-fade`},(e,t)=>{const{item:o,itemKey:r,position:a={},itemIndex:i,key:c,className:d,style:m}=e,{column:u=0}=a,p={[O("item-width")]:`calc((100% + ${Y}px) / ${Q})`,insetInlineStart:`calc(${W("item-width")} * ${u})`,width:`calc(${W("item-width")} - ${Y}px)`,top:a.top,position:"absolute"};return n.createElement(b,{prefixCls:P,key:c,item:o,style:{...m,...ne.item,...p},className:(0,l.$)(oe.item,d),ref:(0,s.K4)(t,e=>X(r,e)),index:i,itemRender:E,column:u,onResize:N?ie:null})})))});var y=o("./src/utils/antd.tsx"),x=o("./src/utils/dash3.ts"),S=o("./src/utils/funcs.ts");const C=e=>{const t=(0,y.P5)(e);return delete t.layoutData,t},w=e=>{const{children:t,id:o,items:n,itemRender:a,loading_state:i,setProps:s}=e,l=(0,x.z5)(),c=$,d=new Map,m=Array.isArray(n)?n.map((e,t)=>{if(!e||"object"!=typeof e)return e;const o=e,n=[...l,"props","items",t],{children:r,...a}=(0,y.P5)(o);return void 0!==o.key&&(a.key=o.key),null!=r&&d.set(a.key??t,(0,y.LM)(r,[...n,"children"])),a}):n,u=(0,S.qF)(a,{props:e});return r().createElement(c,{...C(e),items:m,itemRender:d.size||u?e=>{const t=e.key??e.index;return d.has(t)?d.get(t):"function"==typeof u?(0,y.LM)(u(e),[...l,"props","itemRender",t]):null}:void 0,classNames:(0,S.qF)(e.classNames,{props:e}),styles:(0,S.qF)(e.styles,{props:e}),onLayoutChange:null!=o&&s?e=>{s?.({layoutData:e.map(({key:e,column:t})=>({key:e,column:t}))})}:void 0,"data-dash-is-loading":(0,x.A_)(i)||void 0},t)}},"./src/components/fragments/Ribbon.tsx"(e,t,o){o.r(t);var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/badge/index.js"),i=o("./src/utils/object.ts"),s=o("./src/utils/dash3.ts"),l=o("./src/utils/antd.tsx");o.d(t,["default",0,({children:e,placement:t="end",loading_state:o,text:n,...c})=>{const d=(0,s.z5)();return r().createElement(a.A.Ribbon,{placement:t,text:(0,l.LM)(n,[...d,"props","text"]),"data-dash-is-loading":(0,s.A_)(o)||void 0,...(0,i.c)(["setProps"],c)},r().createElement("div",{style:{width:"100%"}},e))}])},"./src/components/fragments/Splitter.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>W});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");const i=(0,n.forwardRef)((e,t)=>{const{prefixCls:o,className:n,children:i,destroyOnHidden:s=!1,size:l,style:c,supportMotion:d}=e,m=0===l||"string"==typeof l&&0===Number.parseFloat(l),u=(0,a.$)(`${o}-panel`,{[`${o}-panel-hidden`]:m,[`${o}-panel-transition`]:d},n),p=void 0!==l;return r().createElement("div",{ref:t,className:u,style:{...c,flexBasis:p?l:"auto",flexGrow:p?0:1}},!(s&&m)&&i)});const s=()=>null;var l=o("./node_modules/.pnpm/@rc-component+resize-observer@1.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/resize-observer/es/index.js"),c=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useOrientation.js"),m=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),u=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),p=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),g=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js");function f(e){if((0,u.Qd)(e))return{...e,showCollapsibleIcon:void 0===e.showCollapsibleIcon?"auto":e.showCollapsibleIcon};const t=!!e;return{start:t,end:t,showCollapsibleIcon:"auto"}}const h=function(e){return n.useMemo(()=>(0,c.$r)(e).filter(e=>n.isValidElement(e)).map(e=>{const{props:t}=e,{collapsible:o,...n}=t;return{...n,collapsible:f(o)}}),[e])};function _(e,t){return e.collapsible&&t.collapsible?!0===e.showCollapsibleIcon||!0===t.showCollapsibleIcon||("auto"===e.showCollapsibleIcon||"auto"===t.showCollapsibleIcon)&&"auto":e.collapsible?e.showCollapsibleIcon:!!t.collapsible&&t.showCollapsibleIcon}var b=o("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");function v(e,t,o){let n=0;const r=[];e.forEach((e,t)=>{void 0===e?r.push(t):n+=e});const a=1-n,i=r.length;if(e.length&&!r.length&&1!==n){if(0===n){const t=1/e.length;return e.map(()=>t)}const r=1/n;return function(e,t,o){const n=e.map((e,o)=>0===e?0:t[o]??0),r=e.map((e,t)=>0===e?0:o[t]??1),a=n.some((e,t)=>e>r[t]),i=n.reduce((e,t)=>e+t,0),s=r.reduce((e,t)=>e+t,0);if(a||i>1||s<1)return e;const l=e.map((e,t)=>Math.min(r[t],Math.max(n[t],e))),c=l.reduce((e,t)=>e+t,0);if(1===c)return l;const d=c<1,m=l.map((e,t)=>d?r[t]-e:e-n[t]),u=m.reduce((e,t)=>e+t,0),p=1-c;return l.map((e,t)=>e+p*(m[t]/u))}(e.map(e=>e*r),t,o)}if(a<0){const t=1/n;return e.map(e=>void 0===e?0:e*t)}let s=0,l=0,c=0,d=1;for(const e of r){const n=t[e]||0,r=o[e]||1;s+=n,l+=r,c=Math.max(c,n),d=Math.min(d,r)}if(s>1&&l<1){const t=1/i;return e.map(e=>void 0===e?t:e)}const m=a/i;if(c<=m&&m<=d)return e.map(e=>void 0===e?m:e);const u=(0,b.A)(e);let p=a-s;for(let e=0;e<i;e+=1){const n=r[e],a=t[n]||0,i=o[n]||1;u[n]=a;const s=Math.min(i-a,p);u[n]+=s,p-=s}return u}function $(e){return Number(e.slice(0,-1))/100}function y(e){return"string"==typeof e&&e.endsWith("%")}var x=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/DownOutlined.js"),S=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/LeftOutlined.js"),C=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RightOutlined.js"),w=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/UpOutlined.js"),k=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/locale/useLocale.js"),E=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js");const z=e=>(0,u.Et)(e)&&Number.isFinite(e)?Math.round(e):0,N=(e,t)=>r().isValidElement(e)&&e.props["aria-label"]||t,A=e=>{const{prefixCls:t,rootPrefixCls:o,vertical:i,index:s,active:l,ariaNow:d,ariaMin:m,ariaMax:u,resizable:p,draggerIcon:g,draggerStyle:f,draggerClassName:h,collapsibleIcon:_,startCollapsible:b,endCollapsible:v,onDraggerDoubleClick:$,onOffsetStart:y,onOffsetUpdate:A,onOffsetEnd:M,onCollapse:j,lazy:R,containerSize:I,showStartCollapsibleIcon:T,showEndCollapsibleIcon:P}=e,H=`${t}-bar`,[B]=(0,k.A)("Splitter"),D=(0,n.useRef)(0),[L]=(0,E.PN)(o,"splitter"),[O,W]=(0,n.useState)(null),[F,X]=(0,n.useState)(0),q=i?0:F,G=i?F:0,K=(0,c._q)((e,t)=>{const o=(e=>{const t=I*d/100,o=t+e,n=Math.max(0,I*m/100),r=Math.min(I,I*u/100);return Math.max(n,Math.min(r,o))-t})(i?t:e);X(o)}),V=(0,c._q)(()=>{A(s,q,G,!0),X(0),M(!0)}),Z=(e,t)=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),j(s,t))},Y=e=>{switch(e){case!0:return`${H}-collapse-bar-always-visible`;case!1:return`${H}-collapse-bar-always-hidden`;case"auto":return`${H}-collapse-bar-hover-only`}};(0,c.Nf)(()=>{if(!O)return;const e=()=>{R?V():M(),W(null)},t={mousemove:e=>{const{pageX:t,pageY:o}=e,n=t-O[0],r=o-O[1];R?K(n,r):A(s,n,r)},mouseup:()=>{R?V():M(),W(null)},touchmove:e=>{if(1===e.touches.length){const t=e.touches[0],o=t.pageX-O[0],n=t.pageY-O[1];R?K(o,n):A(s,o,n)}},touchend:e,touchcancel:e};for(const[e,o]of Object.entries(t))window.addEventListener(e,o);return()=>{for(const[e,o]of Object.entries(t))window.removeEventListener(e,o)}},[O,s,R]);const U={[L("bar-preview-offset")]:`${F}px`},[Q,J,ee,te]=r().useMemo(()=>{let e=null,t=null;const o=void 0!==_?.start,n=void 0!==_?.end;return i?(e=o?_.start:r().createElement(w.A,null),t=n?_.end:r().createElement(x.A,null)):(e=o?_.start:r().createElement(S.A,null),t=n?_.end:r().createElement(C.A,null)),[e,t,o,n]},[_,i]);return r().createElement("div",{className:H},R&&r().createElement("div",{className:(0,a.$)(`${H}-preview`,{[`${H}-preview-active`]:!!F}),style:U}),r().createElement("div",{style:f?.default,className:(0,a.$)(`${H}-dragger`,{[`${H}-dragger-disabled`]:!p,[`${H}-dragger-active`]:l,[`${H}-dragger-customize`]:void 0!==g},h?.default,l&&h?.active),onMouseDown:e=>{e.stopPropagation();const t=Date.now(),o=t-D.current;o>0&&o<300||(D.current=t,p&&e.currentTarget&&(W([e.pageX,e.pageY]),y(s)))},onTouchStart:e=>{if(p&&1===e.touches.length){const t=e.touches[0];W([t.pageX,t.pageY]),y(s)}},onDoubleClick:()=>$?.(s),role:"separator","aria-disabled":!p,"aria-orientation":i?"horizontal":"vertical","aria-valuenow":z(d),"aria-valuemin":z(m),"aria-valuemax":z(u)},void 0!==g?r().createElement("div",{className:(0,a.$)(`${H}-dragger-icon`)},g):null),b&&r().createElement("div",{className:(0,a.$)(`${H}-collapse-bar`,`${H}-collapse-bar-start`,{[`${H}-collapse-bar-customize`]:ee},Y(T)),role:"button",tabIndex:0,"aria-label":N(Q,B.toggleStartPanel),onClick:()=>j(s,"start"),onKeyDown:e=>Z(e,"start")},r().createElement("span",{className:(0,a.$)(`${H}-collapse-icon`,`${H}-collapse-start`)},Q)),v&&r().createElement("div",{className:(0,a.$)(`${H}-collapse-bar`,`${H}-collapse-bar-end`,{[`${H}-collapse-bar-customize`]:te},Y(P)),role:"button",tabIndex:0,"aria-label":N(J,B.toggleEndPanel),onClick:()=>j(s,"end"),onKeyDown:e=>Z(e,"end")},r().createElement("span",{className:(0,a.$)(`${H}-collapse-icon`,`${H}-collapse-end`)},J)))};var M=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),j=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/motion/util.js");const R={position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"},I=(0,E.OF)("Splitter",e=>{const{componentCls:t,colorFill:o,splitBarDraggableSize:n,splitBarSize:r,splitTriggerSize:a,controlItemBgHover:i,controlItemBgActive:s,controlItemBgActiveHover:l,colorPrimary:c,antCls:d,calc:m}=e,[,u]=(0,E.PN)(d,"splitter"),p=`${t}-bar`,g=`${t}-mask`,f=`${t}-panel`,h=m(a).div(2).equal(),_={position:"absolute",background:e.colorPrimary,opacity:.2,pointerEvents:"none",transition:"none",zIndex:1,display:"none"};return{[t]:{...(0,M.dF)(e),display:"flex",width:"100%",height:"100%",alignItems:"stretch",[`> ${p}`]:{flex:"none",position:"relative",userSelect:"none",[`${p}-dragger`]:{...R,zIndex:1,"&::before":{content:'""',background:i,...R},"&::after":{content:'""',background:o,...R},[`&:hover:not(${p}-dragger-active)`]:{"&::before":{background:s}},"&-active":{zIndex:2,"&::before":{background:l}},[`&-active${p}-dragger-customize`]:{[`${p}-dragger-icon`]:{color:c}},[`&-disabled${p}-dragger`]:{zIndex:0,"&, &:hover, &-active":{cursor:"default","&::before":{background:i}},"&::after":{display:"none"},[`${p}-dragger-icon`]:{display:"none"}},"&-customize":{[`${p}-dragger-icon`]:{...R,display:"flex",alignItems:"center",color:o},"&::after":{display:"none"}}},[`${p}-collapse-bar`]:{...R,zIndex:e.zIndexPopupBase,background:i,fontSize:e.fontSizeSM,borderRadius:e.borderRadiusXS,color:e.colorText,cursor:"pointer",opacity:0,display:"flex",alignItems:"center",justifyContent:"center","&:focus-visible":(0,M.jk)(e),[`&:hover:not(${p}-collapse-bar-customize)`]:{background:s},[`&:active:not(${p}-collapse-bar-customize)`]:{background:l},[`${p}-collapse-icon`]:{display:"flex",alignItems:"center"}},[`${p}-collapse-bar-customize`]:{background:"transparent"},"&:hover, &:active, &:focus-within":{[`${p}-collapse-bar-hover-only`]:{opacity:1}},[`${p}-collapse-bar-hover-only`]:{"@media(hover:none)":{opacity:1}},[`${p}-collapse-bar-always-hidden`]:{display:"none"},[`${p}-collapse-bar-always-visible`]:{opacity:1}},[g]:{position:"fixed",zIndex:e.zIndexPopupBase,inset:0,"&-horizontal":{cursor:"col-resize"},"&-vertical":{cursor:"row-resize"}},"&-horizontal":{flexDirection:"row",[`> ${p}`]:{width:0,[`${p}-preview`]:{height:"100%",width:r,..._,[`&${p}-preview-active`]:{display:"block",transform:`translate3d(${u("bar-preview-offset")}, 0, 0)`}},[`${p}-dragger`]:{cursor:"col-resize",height:"100%",width:a,"&::before":{height:"100%",width:r},"&::after":{height:n,width:r}},[`${p}-collapse-bar`]:{width:e.fontSizeSM,height:e.controlHeightSM,"&-start":{left:{_skip_check_:!0,value:"auto"},right:{_skip_check_:!0,value:h},transform:"translateY(-50%)"},"&-end":{left:{_skip_check_:!0,value:h},right:{_skip_check_:!0,value:"auto"},transform:"translateY(-50%)"}}}},"&-vertical":{flexDirection:"column",[`> ${p}`]:{height:0,[`${p}-preview`]:{height:r,width:"100%",..._,[`&${p}-preview-active`]:{display:"block",transform:`translate3d(0, ${u("bar-preview-offset")}, 0)`}},[`${p}-dragger`]:{cursor:"row-resize",width:"100%",height:a,"&::before":{width:"100%",height:r},"&::after":{width:n,height:r}},[`${p}-collapse-bar`]:{height:e.fontSizeSM,width:e.controlHeightSM,"&-start":{top:"auto",bottom:h,transform:"translateX(-50%)"},"&-end":{top:h,bottom:"auto",transform:"translateX(-50%)"}}}},[f]:{overflow:"auto",scrollbarWidth:"thin",boxSizing:"border-box","&-hidden":{overflow:"hidden"},[`&:has(${t}:only-child)`]:{overflow:"hidden"},"&-transition":{transition:`flex-basis ${e.motionDurationSlow} ${e.motionEaseInOut}`,...(0,j.V)()}}}}},e=>{const t=e.resizeSpinnerSize||20;return{splitBarSize:e.splitBarSize||2,splitTriggerSize:e.splitTriggerSize||6,splitBarDraggableSize:e.splitBarDraggableSize??t,resizeSpinnerSize:t}}),T=(e,t)=>{const{prefixCls:o,className:s,classNames:f,collapsible:x,style:S,styles:C,layout:w,orientation:k,vertical:E,children:z,destroyOnHidden:N,draggerIcon:M,collapsibleIcon:j,rootClassName:R,onDraggerDoubleClick:T,onResizeStart:P,onResize:H,onResizeEnd:B,lazy:D}=e,{getPrefixCls:L,direction:O,className:W,style:F,classNames:X,styles:q}=(0,p.TP)("splitter"),G=L("splitter",o),K=L(),V=(0,g.A)(G),[Z,Y]=I(G,V),[U,Q]=(0,d.M)(k,E,w),J="rtl"===O,ee=!Q&&J,te=h(z);const[oe,ne]=(0,n.useState)(),[re,ae,ie,se,le,ce]=function(e,t){const o=e.map(e=>e.size),n=e.length,a=t||0,i=e=>e*a,[s,l]=r().useState(()=>e.map(e=>e.defaultSize)),d=r().useMemo(()=>o.some(c.R)?o:s,[n,s,o]),m=r().useMemo(()=>e.map(e=>y(e.min)?$(e.min):(e.min||0)/a),[e,a]),u=r().useMemo(()=>e.map(e=>y(e.max)?$(e.max):(e.max||a)/a),[e,a]),p=r().useMemo(()=>{const e=[];for(let t=0;t<n;t+=1){const o=d[t];if(y(o))e[t]=$(o);else if(o||0===o){const n=Number(o);Number.isNaN(n)||(e[t]=n/a)}else e[t]=void 0}return v(e,m,u)},[n,d,a,m,u]),g=r().useMemo(()=>p.map(i),[p,a]);return[r().useMemo(()=>t?g:d,[g,d,t]),g,p,m,u,l]}(te,oe),de=function(e,t,o){return n.useMemo(()=>{const n=[];for(let r=0;r<e.length-1;r+=1){const a=e[r],i=e[r+1],s=t[r],l=t[r+1],{resizable:c=!0,min:d,collapsible:m}=a,{resizable:u=!0,min:p,collapsible:g}=i,f=c&&u&&(0!==s||!d)&&(0!==l||!p),h=!!m.end&&s>0,b=!!g.start&&0===l&&s>0,v=h||b,$=!!g.start&&l>0,y=!!m.end&&0===s&&l>0,x=$||y,S=_({collapsible:h,showCollapsibleIcon:m.showCollapsibleIcon},{collapsible:b,showCollapsibleIcon:g.showCollapsibleIcon}),C=_({collapsible:$,showCollapsibleIcon:g.showCollapsibleIcon},{collapsible:y,showCollapsibleIcon:m.showCollapsibleIcon});n[r]={resizable:f,startCollapsible:!!(o?x:v),endCollapsible:!!(o?v:x),showStartCollapsibleIcon:o?C:S,showEndCollapsibleIcon:o?S:C}}return n},[t,e,o])}(te,ae,ee),[me,ue,pe,ge,fe]=function(e,t,o,r,a,i){const s=e.map(e=>[e.min,e.max]),l=r||0,c=e=>e*l;function d(e,t){return"string"==typeof e?c($(e)):e??t}const[m,u]=n.useState([]),p=n.useRef([]),[g,f]=n.useState(null),h=()=>o.map(c);return[e=>{u(h()),f({index:e,confirmed:!1})},(e,o)=>{let n=null;if(!(g&&g.confirmed||0===o))if(o>0)n=e,f({index:e,confirmed:!0});else for(let o=e;o>=0;o-=1)if(m[o]>0&&t[o].resizable){n=o,f({index:o,confirmed:!0});break}const r=n??g?.index??e,i=(0,b.A)(m),c=r+1,u=d(s[r][0],0),p=d(s[c][0],0),h=d(s[r][1],l),_=d(s[c][1],l);let v=o;return i[r]+v<u&&(v=u-i[r]),i[c]-v<p&&(v=i[c]-p),i[r]+v>h&&(v=h-i[r]),i[c]-v>_&&(v=i[c]-_),i[r]+=v,i[c]-=v,a(i),i},()=>{f(null)},(e,t)=>{const o=h(),n=i?"start"===t?"end":"start":t,r="start"===n?e:e+1,c="start"===n?e+1:e,m=o[r],u=o[c];if(0!==m&&0!==u)o[r]=0,o[c]+=m,p.current[e]=m;else{const t=m+u,n=d(s[r][0],0),a=d(s[r][1],l),i=d(s[c][0],0),g=d(s[c][1],l),f=Math.max(n,t-g),h=Math.min(a,t-i),_=i||(h-f)/2,b=p.current[e],v=t-b;b&&b<=g&&b>=i&&v<=a&&v>=n?(o[c]=b,o[r]=v):(o[r]-=_,o[c]+=_)}return a(o),o},g?.index]}(te,de,ie,oe,ce,ee),he=(0,c._q)(e=>{me(e),P?.(ae)}),_e=(0,c._q)((e,t,o)=>{const n=ue(e,t);o?B?.(n):H?.(n)}),be=(0,c._q)(e=>{pe(),e||B?.(ae)}),ve=(0,c._q)((t,o)=>{const n=ge(t,o);H?.(n),B?.(n);const r=n.map(e=>Math.abs(e)<Number.EPSILON);e.onCollapse?.(r,n)}),$e={...e,vertical:Q,orientation:U},ye=(0,m.XT)(F),xe=(0,m.XT)(S),[Se,Ce]=(0,m.AV)([X,f],[q,ye,C,xe],{props:$e},{dragger:{_default:"default"}}),we=(0,a.$)(G,s,`${G}-${U}`,{[`${G}-rtl`]:J},R,Se.root,W,Y,V,Z),ke=r().useRef(null);r().useImperativeHandle(t,()=>({nativeElement:ke.current}));const Ee=`${G}-mask`,ze=r().useMemo(()=>{const e=[];let t=0;const o=te.length;for(let n=0;n<o;n+=1)t+=ie[n],e.push(t);return e},[ie,te.length]);return r().createElement(l.Ay,{onResize:e=>{const{offsetWidth:t,offsetHeight:o}=e,n=Q?o:t;0!==n&&ne(n)}},r().createElement("div",{ref:ke,style:Ce.root,className:we},te.map((e,t)=>{const o={...e,className:(0,a.$)(Se.panel,e.className),style:{...Ce.panel,...e.style}},n=r().createElement(i,{...o,prefixCls:G,size:re[t],supportMotion:x?.motion&&void 0===fe,destroyOnHidden:e.destroyOnHidden??N});let s=null;const l=de[t];if(l){const e=Number.isFinite(ze[t-1])?ze[t-1]:0,o=Number.isFinite(ze[t+1])?ze[t+1]:1,n=e+se[t],a=o-le[t+1],i=e+le[t],c=o-se[t+1];s=r().createElement(A,{lazy:D,index:t,active:fe===t,prefixCls:G,rootPrefixCls:K,vertical:Q,resizable:l.resizable,draggerStyle:Ce.dragger,draggerClassName:Se.dragger,draggerIcon:M,collapsibleIcon:x?.icon||j,ariaNow:100*ze[t],ariaMin:100*Math.max(n,a),ariaMax:100*Math.min(i,c),startCollapsible:l.startCollapsible,endCollapsible:l.endCollapsible,showStartCollapsibleIcon:l.showStartCollapsibleIcon,showEndCollapsibleIcon:l.showEndCollapsibleIcon,onDraggerDoubleClick:T,onOffsetStart:he,onOffsetUpdate:(e,t,o,n)=>{let r=Q?o:t;ee&&(r=-r),_e(e,r,n)},onOffsetEnd:be,onCollapse:ve,containerSize:oe||0})}return r().createElement(r().Fragment,{key:`split-panel-${t}`},n,s)}),(0,u.Et)(fe)&&r().createElement("div",{"aria-hidden":!0,className:(0,a.$)(Ee,`${Ee}-${U}`)})))};const P=r().forwardRef(T);P.Panel=s;const H=P;var B=o("./src/utils/object.ts"),D=o("./src/utils/dash3.ts"),L=o("./src/utils/funcs.ts");const O=e=>{if(!r().isValidElement(e))return{};try{const t=(0,D.t9)(e);if(t&&"object"==typeof t)return t}catch{}return e.props||{}},W=({children:e,orientation:t="horizontal",classNames:o,styles:a,loading_state:i,n_resize_end:s=0,n_collapse:l=0,n_dragger_double_click:c=0,sizes:d,collapsed:m,setProps:u,...p})=>{const g=(0,n.useMemo)(()=>r().Children.map(e,e=>O(e).size)||[],[e]),[f,h]=(0,n.useState)(void 0!==d?d:g.some(e=>void 0!==e)?g:void 0),_=(0,n.useRef)({resizes:s,collapses:l,draggerDoubleClicks:c});(0,n.useEffect)(()=>{_.current.resizes=Math.max(_.current.resizes,s),_.current.collapses=Math.max(_.current.collapses,l),_.current.draggerDoubleClicks=Math.max(_.current.draggerDoubleClicks,c)},[l,c,s]),(0,n.useEffect)(()=>{void 0!==d&&h(d)},[d]);const b=(0,n.useMemo)(()=>({props:{...p,orientation:t,classNames:o,styles:a}}),[o,t,p,a]),v=(0,n.useCallback)(e=>{h(e)},[]),$=(0,n.useCallback)(e=>{_.current.resizes+=1,h(e),u?.({sizes:e,n_resize_end:_.current.resizes})},[u]),y=(0,n.useCallback)((e,t)=>{_.current.collapses+=1,h(t),u?.({collapsed:e,sizes:t,n_collapse:_.current.collapses})},[u]),x=(0,n.useCallback)(e=>{_.current.draggerDoubleClicks+=1,u?.({draggerDoubleClickIndex:e,n_dragger_double_click:_.current.draggerDoubleClicks})},[u]);return r().createElement(H,{orientation:t,classNames:(0,L.qF)(o,b),styles:(0,L.qF)(a,b),onResize:v,onResizeEnd:$,onCollapse:y,onDraggerDoubleClick:x,"data-dash-is-loading":(0,D.A_)(i)||void 0,...(0,B.c)(["setProps","sizes","collapsed","persistence","persisted_props","persistence_type","draggerDoubleClickIndex","n_resize_end","n_collapse","n_dragger_double_click"],p)},r().Children.map(e,(e,t)=>{if(r().isValidElement(e)){const o=O(e),n=(0,D.lK)((0,B.c)(["children"],o),[]),a=m?.[t]?0:f?.[t];return void 0!==a&&(n.size=a),r().createElement(H.Panel,{...n,key:t},e)}}))}},"./src/components/fragments/async/dataDisplay/Avatar.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/avatar/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{children:t,icon:o,loading_state:n,n_clicks:l,n_error:c,setProps:d,src:m}=e,u=(0,i.P5)(e);delete u.n_error;const p=a.A;return r().createElement(p,{...u,src:(0,i.lq)(m),icon:(0,i.lq)(o),onClick:()=>d?.({n_clicks:(l||0)+1}),onError:()=>(d?.({n_error:(c||0)+1}),!0),"data-dash-is-loading":(0,s.A_)(n)||void 0},(0,i.lq)(t))},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/AvatarGroup.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/avatar/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>r().createElement(a.A.Group,{...(0,i.I4)(e),"data-dash-is-loading":(0,s.A_)(e.loading_state)||void 0},(0,i.lq)(e.children)),c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Card.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/card/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{actions:t,activeTabKey:o,children:n,cover:l,extra:c,loading_state:d,setProps:m,tabBarExtraContent:u,title:p}=e,g=(0,s.z5)(),f=(0,i.I4)(e),h=(0,i.uK)(f.tabList,["label","tab","icon","children"],[...g,"props","tabList"]),_=a.A;return r().createElement(_,{...f,actions:(0,i.lq)(t),activeTabKey:o,cover:(0,i.lq)(l),extra:(0,i.lq)(c),tabList:h,tabBarExtraContent:(0,i.lq)(u),title:(0,i.lq)(p),onTabChange:e=>m?.({activeTabKey:e}),"data-dash-is-loading":(0,s.A_)(d)||void 0},(0,i.lq)(n))},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/CardGrid.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/card/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>r().createElement(a.A.Grid,{...(0,i.P5)(e),"data-dash-is-loading":(0,s.A_)(e.loading_state)||void 0},(0,i.lq)(e.children)),c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/CardMeta.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/card/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const t=(0,i.I4)(e);return r().createElement(a.A.Meta,{...t,avatar:(0,i.lq)(e.avatar),title:(0,i.lq)(e.title),description:(0,i.lq)(e.description),"data-dash-is-loading":(0,s.A_)(e.loading_state)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/CheckableTag.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tag/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>r().createElement(a.A.CheckableTag,{...(0,i.I4)(e),checked:e.checked||!1,onChange:t=>e.setProps?.({checked:t}),"data-dash-is-loading":(0,s.A_)(e.loading_state)||void 0},(0,i.lq)(e.children)),c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/CheckableTagGroup.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tag/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const t=(0,s.z5)(),o=(0,n.useMemo)(()=>(0,i.uK)(e.options,["label"],[...t,"props","options"]),[t,e.options]);return r().createElement(a.A.CheckableTagGroup,{...(0,i.I4)(e),options:o,onChange:t=>e.setProps?.({value:t}),"data-dash-is-loading":(0,s.A_)(e.loading_state)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Collapse.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/collapse/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{activeKey:t,items:o,loading_state:l,setProps:c}=e,d=(0,s.z5)(),m=a.A,u=(0,i.I4)(e);u.expandIcon=(0,i.ds)(u.expandIcon,["props","expandIcon"],!0);const p=(0,n.useMemo)(()=>(0,i.uK)(o,["label","children","extra"],[...d,"props","items"]),[d,o]);return r().createElement(m,{...u,items:p,activeKey:t,onChange:e=>c?.({activeKey:e}),"data-dash-is-loading":(0,s.A_)(l)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Descriptions.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>j});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),i=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),s=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),l=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/responsiveObserver.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),m=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useSize.js"),u=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/hooks/useBreakpoint.js");const p={xxxl:4,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},g=r().createContext(null);function f(e,t,o){const r=n.useMemo(()=>t||(0,a.$r)(o).map(e=>({...e?.props,key:e.key})),[t,o]);return n.useMemo(()=>r.map(({span:t,...o})=>"filled"===t?{...o,filled:!0}:{...o,span:(0,l.Et)(t)?t:(0,c.ko)(e,t)}),[r,e])}const h=(e,t)=>{const[o,r]=(0,n.useMemo)(()=>function(e,t){let o=[],n=[],r=!1,a=0;return e.forEach(e=>{const{filled:i,...s}=e;if(i)return n.push(s),o.push(n),n=[],void(a=0);const l=t-a;a+=e.span||1,a>=t?(a>t?(r=!0,n.push({...s,span:l})):n.push(s),o.push(n),n=[],a=0):n.push(s)}),n.length>0&&o.push(n),o=o.map(e=>{const o=e.reduce((e,t)=>e+(t.span||1),0);if(o<t){const n=e[e.length-1];return n.span=t-(o-(n.span||1)),e}return e}),[o,r]}(t,e),[t,e]);return o},_=e=>e.children,b=e=>{const{itemPrefixCls:t,component:o,span:n,className:l,style:c,labelStyle:d,contentStyle:m,bordered:u,label:p,content:f,colon:h,type:_,styles:b,classNames:v}=e,$=o,{classNames:y,styles:x}=r().useContext(g),[S,C]=(0,s.AV)([y,v],[x,b],{props:e}),w={...d,...C.label},k={...m,...C.content};if(u){let e;"label"===_&&(e=w),"content"===_&&(e=k);const o=e?{...c,...e}:c;return r().createElement($,{colSpan:n,style:o,className:(0,i.$)(l,{[`${t}-item-${_}`]:"label"===_||"content"===_,[S.label]:S.label&&"label"===_,[S.content]:S.content&&"content"===_})},(0,a.AZ)(p)&&r().createElement("span",null,p),(0,a.AZ)(f)&&r().createElement("span",null,f))}return r().createElement($,{className:(0,i.$)(`${t}-item`,l),style:c,colSpan:n},r().createElement("div",{className:`${t}-item-container`},(0,a.AZ)(p)&&r().createElement("span",{style:w,className:(0,i.$)(`${t}-item-label`,S.label,{[`${t}-item-no-colon`]:!h})},p),(0,a.AZ)(f)&&r().createElement("span",{style:k,className:(0,i.$)(`${t}-item-content`,S.content)},f)))};function v(e,{colon:t,prefixCls:o,bordered:r},{component:a,type:i,showLabel:s,showContent:l,labelStyle:c,contentStyle:d,styles:m}){return e.map(({label:e,children:u,prefixCls:p=o,className:g,style:f,labelStyle:h,contentStyle:_,span:v=1,key:$,styles:y,classNames:x},S)=>{const C=$??S;if("string"==typeof a)return n.createElement(b,{key:`${i}-${C}`,className:g,style:f,classNames:x,styles:{label:{...c,...m?.label,...h,...y?.label},content:{...d,...m?.content,..._,...y?.content}},span:v,colon:t,component:a,itemPrefixCls:p,bordered:r,label:s?e:null,content:l?u:null,type:i});const w={label:{...c,...m?.label,...h,...y?.label},content:{...d,...m?.content,..._,...y?.content}};return[n.createElement(b,{key:`label-${C}`,className:g,style:f,classNames:x,styles:w,span:1,colon:t,component:a[0],itemPrefixCls:p,bordered:r,label:e,type:"label"}),n.createElement(b,{key:`content-${C}`,className:g,style:f,classNames:x,styles:w,span:2*v-1,component:a[1],itemPrefixCls:p,bordered:r,content:u,type:"content"})]})}const $=e=>{const t=n.useContext(g),{prefixCls:o,vertical:r,row:a,index:i,bordered:s}=e;return r?n.createElement(n.Fragment,null,n.createElement("tr",{key:`label-${i}`,className:`${o}-row`},v(a,e,{component:"th",type:"label",showLabel:!0,...t})),n.createElement("tr",{key:`content-${i}`,className:`${o}-row`},v(a,e,{component:"td",type:"content",showContent:!0,...t}))):n.createElement("tr",{key:i,className:`${o}-row`},v(a,e,{component:s?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,...t}))};var y=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),x=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),S=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),C=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js");const w=e=>{const{componentCls:t,labelBg:o}=e,n=`> ${t}-view > table > tbody > ${t}-row`;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${(0,y.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto"},[`> table > tbody > ${t}-row`]:{borderBottom:`${(0,y.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:first-child":{"> th:first-child, > td:first-child":{borderStartStartRadius:e.borderRadiusLG}},"&:last-child":{borderBottom:"none","> th:first-child, > td:first-child":{borderEndStartRadius:e.borderRadiusLG}},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,y.zA)(e.padding)} ${(0,y.zA)(e.paddingLG)}`,borderInlineEnd:`${(0,y.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:o,"&::after":{display:"none"}}}},[`&${t}-medium`]:{[n]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,y.zA)(e.paddingSM)} ${(0,y.zA)(e.paddingLG)}`}}},[`&${t}-small`]:{[n]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,y.zA)(e.paddingXS)} ${(0,y.zA)(e.padding)}`}}}}}},k=(0,S.OF)("Descriptions",e=>(e=>{const{componentCls:t,extraColor:o,itemPaddingBottom:n,itemPaddingEnd:r,colonMarginRight:a,colonMarginLeft:i,titleMarginBottom:s}=e,l=`> ${t}-view > table > tbody > ${t}-row`;return{[t]:{...(0,x.dF)(e),...w(e),"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:s},[`${t}-title`]:{...x.L9,flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG},[`${t}-extra`]:{marginInlineStart:"auto",color:o,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{minWidth:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[l]:{"> th, > td":{paddingBottom:n,paddingInlineEnd:r},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.labelColor,fontWeight:400,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,y.zA)(i)} ${(0,y.zA)(a)}`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`> ${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`> ${t}-item-content`]:{display:"inline-flex",alignItems:"baseline",minWidth:"1em"}}},"&-medium":{[l]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[l]:{"> th, > td":{paddingBottom:e.paddingXS}}}}}})((0,C.oX)(e,{})),e=>({labelBg:e.colorFillAlter,labelColor:e.colorTextTertiary,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText})),E=n.forwardRef((e,t)=>{const{prefixCls:o,title:r,extra:_,column:b,colon:v=!0,bordered:y,layout:x,children:S,className:C,rootClassName:w,style:E,size:z,labelStyle:N,contentStyle:A,styles:M,items:j,classNames:R,...I}=e,{getPrefixCls:T,direction:P,className:H,style:B,classNames:D,styles:L}=(0,d.TP)("descriptions"),O=T("descriptions",o),W=(0,u.A)();const F=n.useMemo(()=>(0,l.Et)(b)?b:(0,c.ko)(W,b)??(0,c.ko)(W,p)??3,[W,b]),X=f(W,j,S),q=(0,m.A)(z),G=h(F,X),[K,V]=k(O),Z={...e,column:F,items:X,size:q},Y=(0,s.XT)(B),U=(0,s.XT)(E),[Q,J]=(0,s.AV)([D,R],[L,Y,M,U],{props:Z}),ee=n.useMemo(()=>({labelStyle:N,contentStyle:A,styles:{label:J.label,content:J.content},classNames:{label:Q.label,content:Q.content}}),[N,A,J.label,J.content,Q.label,Q.content]),te=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:te.current}));const oe=(0,a.AZ)(r),ne=(0,a.AZ)(_);return n.createElement(g.Provider,{value:ee},n.createElement("div",{ref:te,className:(0,i.$)(O,H,Q.root,{[`${O}-medium`]:"medium"===q||"middle"===q,[`${O}-small`]:"small"===q,[`${O}-bordered`]:!!y,[`${O}-rtl`]:"rtl"===P},C,w,K,V),style:J.root,...I},(oe||ne)&&n.createElement("div",{className:(0,i.$)(`${O}-header`,Q.header),style:J.header},oe&&n.createElement("div",{className:(0,i.$)(`${O}-title`,Q.title),style:J.title},r),ne&&n.createElement("div",{className:(0,i.$)(`${O}-extra`,Q.extra),style:J.extra},_)),n.createElement("div",{className:`${O}-view`},n.createElement("table",null,n.createElement("tbody",null,G.map((e,t)=>n.createElement($,{key:t,index:t,colon:v,prefixCls:O,vertical:"vertical"===x,bordered:y,row:e})))))))});E.Item=_;const z=E;var N=o("./src/utils/antd.tsx"),A=o("./src/utils/dash3.ts");const M=e=>{const{children:t,extra:o,items:a,loading_state:i,title:s}=e,l=(0,A.z5)(),c=(0,n.useMemo)(()=>(0,N.uK)(a,["label","children"],[...l,"props","items"]),[l,a]),d=z;return r().createElement(d,{...(0,N.I4)(e),items:c,title:(0,N.lq)(s),extra:(0,N.lq)(o),"data-dash-is-loading":(0,A.A_)(i)||void 0},t)},j=e=>r().createElement(M,{...e})},"./src/components/fragments/async/dataDisplay/Empty.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/empty/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{children:t,description:o,image:n,loading_state:l}=e,c=a.A;return r().createElement(c,{...(0,i.I4)(e),description:(0,i.lq)(o),image:"simple"===n?a.A.PRESENTED_IMAGE_SIMPLE:"default"===n?a.A.PRESENTED_IMAGE_DEFAULT:(0,i.lq)(n),"data-dash-is-loading":(0,s.A_)(l)||void 0},(0,i.lq)(t))},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Listy.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>T});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs");function i(e,t){const{group:o,groupKey:r,groupItems:i,prefixCls:s,fixed:l,sticky:c,className:d,style:m}=e,u=(0,a.A)(`${s}-group-header`,{[`${s}-group-header-sticky`]:c,[`${s}-group-header-fixed`]:l},d);return n.createElement("div",{ref:t,className:u,style:m},o.title(r,i))}const s=n.forwardRef(i);function l(e,t){return n.useMemo(()=>{const o=new Map;return t?(e.forEach((e,n)=>{const r=t.key(e),a=o.get(r),i={item:e,index:n};a?a.push(i):o.set(r,[i])}),o):o},[e,t])}var c=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js");function d(e){return(0,c._q)((t,o)=>"function"==typeof e?e(t,o):t[e])}const m=(e,t)=>`${t}:${e}`;function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},u.apply(this,arguments)}function p(e,t){const{data:o,group:r,height:i,itemRender:c,onScroll:p,prefixCls:g,rowKey:f,sticky:h,direction:_,classNames:b,styles:v}=e,$=function(e,t,o){const r=n.useRef(null),a=n.useCallback(e=>{if(!o)return 0;const n=e.closest(`.${CSS.escape(`${t}-group-section`)}`),r=n?.querySelector(`.${CSS.escape(`${t}-group-header`)}`);if(!r)return 0;const a=r.getBoundingClientRect(),i=a.height||a.bottom-a.top||r.offsetHeight;return Number.isFinite(i)?i:0},[t,o]),i=n.useCallback((e,t,o,n)=>{const r=n&&"bottom"!==t?a(e):0,i=e.style.scrollMarginTop,s=e.style.scrollMarginBottom;e.style.scrollMarginTop=`${r+o}px`,e.style.scrollMarginBottom=`${o}px`,e.scrollIntoView({block:"bottom"===t?"end":"auto"===t?"nearest":"start",inline:"nearest"}),e.style.scrollMarginTop=i,e.style.scrollMarginBottom=s},[a]),s=n.useCallback(e=>{const t=r.current;if(!t||null==e)return;if("number"==typeof e)return void(t.scrollTop=e);if("key"in e||"groupKey"in e){const{align:o="auto",offset:n=0}=e,r="key"in e,a=r?m(e.key,"item"):m(e.groupKey,"group"),s=t.querySelector(`[data-key="${CSS.escape(a)}"]`);return void(s&&i(s,o,n,r))}const{left:o,top:n}=e;void 0!==o&&(t.scrollLeft=o),void 0!==n&&(t.scrollTop=n)},[i]);return n.useImperativeHandle(e,()=>({scrollTo:s}),[s]),r}(t,g,!(!h||!r)),y=l(o,r),x=d(f),S=n.useCallback((e,t)=>({"data-key":m(e,t)}),[]),C=n.useCallback((e,t)=>{const o=x(e,t),r=S(o,"item");return n.createElement("div",u({key:o,className:(0,a.A)(`${g}-item`,b?.item),style:v?.item},r),c(e,t))},[b?.item,x,S,c,g,v?.item]),w=r?Array.from(y,([e,t])=>{const o=t.map(({item:e})=>e);return n.createElement("div",u({key:e,className:`${g}-group-section`},S(e,"group")),n.createElement(s,{group:r,groupKey:e,groupItems:o,prefixCls:g,sticky:h,className:b?.groupHeader,style:v?.groupHeader}),t.map(({item:e,index:t})=>C(e,t)))}):o.map((e,t)=>C(e,t));return n.createElement("div",{ref:$,className:(0,a.A)(g,{[`${g}-rtl`]:"rtl"===_},b?.root),dir:_,style:{maxHeight:i,overflowY:void 0===i?void 0:"auto",overflowAnchor:"none",...v?.root},onScroll:p},w)}const g=n.forwardRef(p);var f=o("./node_modules/.pnpm/@rc-component+virtual-list@1.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/virtual-list/es/index.js");var h=o("./node_modules/.pnpm/@rc-component+portal@2.2.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/portal/es/index.js");function _(e){const{enabled:t,group:o,groupKeys:r,groupKeyToItems:a,prefixCls:i,listRef:l,scrollWidth:c,headerClassName:d,headerStyle:u}=e;return n.useCallback(e=>{const{getSize:p,scrollTop:g,virtual:f,offsetX:_,rtl:b}=e;if(!(t&&o&&r.length&&f))return null;const v=l.current?.nativeElement;if(!v)return null;const $=e=>p(m(e,"group")),y=function(e,t,o){let n=0,r=e.length-1,a=0;for(;n<=r;){const i=Math.floor((n+r)/2);t(e[i])<=o+1?(a=i,n=i+1):r=i-1}return a}(r,e=>$(e).top,g),x=r[y],S=a.get(x)||[],C=$(x),w=C.bottom-C.top,k=r[y+1],E=void 0!==k?Math.min(0,$(k).top-w-g):0,z=c?{width:c,transform:`translateX(${b?_:-_}px)`}:void 0;return n.createElement(h.A,{open:!0,getContainer:()=>v},n.createElement("div",{className:`${i}-group-header-holder`},n.createElement(s,{fixed:!0,group:o,groupKey:x,groupItems:S,prefixCls:i,className:d,style:{...u,...z,top:E}})))},[t,o,r,a,i,l,c,d,u])}function b(e,t){const{data:o,group:r,height:i,itemHeight:u,itemRender:p,onScroll:g,prefixCls:h,rowKey:b,sticky:v,scrollWidth:$,direction:y,classNames:x,styles:S}=e,C=n.useRef(null),w=l(o,r),k=d(b),{rows:E,groupKeys:z,groupKeyToItems:N}=function(e,t,o,r){return n.useMemo(()=>{const n=[],a=[],i=new Map,s=(e,t)=>({type:"item",item:e,index:t,taggedKey:m(o(e,t),"item")});return r?(t.forEach((e,t)=>{i.set(t,e.map(({item:e})=>e)),a.push(t),n.push({type:"group",groupKey:t,taggedKey:m(t,"group")}),e.forEach(({item:e,index:t})=>{n.push(s(e,t))})}),{rows:n,groupKeys:a,groupKeyToItems:i}):(e.forEach((e,t)=>{n.push(s(e,t))}),{rows:n,groupKeys:a,groupKeyToItems:i})},[e,r,t,o])}(o,w,k,r),A=n.useMemo(()=>{const e=new Map;let t;return E.forEach(o=>{"group"===o.type?t=o.groupKey:void 0!==t&&e.set(o.taggedKey,t)}),e},[E]),M=(0,c._q)(e=>{if(e&&"object"==typeof e){if("groupKey"in e){const{groupKey:t,align:o,offset:n}=e;return void C.current?.scrollTo({key:m(t,"group"),align:o,offset:n})}if("key"in e){const t=m(e.key,"item"),o=v&&r&&"bottom"!==e.align?A.get(t):void 0;return void 0===o?void C.current?.scrollTo({...e,key:t}):void C.current?.scrollTo({...e,key:t,offset:({getSize:t,align:n})=>{const r=e.offset??0;if("top"!==n)return r;const a=t(m(o,"group")),i=a.bottom-a.top;return r+(Number.isFinite(i)?i:0)}})}C.current?.scrollTo(e)}else C.current?.scrollTo(e)});n.useImperativeHandle(t,()=>({scrollTo:M}),[M]);const j=n.useMemo(()=>$?{width:$}:void 0,[$]),R=_({enabled:!(!v||!r),group:r,groupKeys:z,groupKeyToItems:N,prefixCls:h,listRef:C,scrollWidth:$,headerClassName:x?.groupHeader,headerStyle:S?.groupHeader}),I=n.useCallback(e=>{const t=N.get(e)||[];return n.createElement(s,{group:r,groupKey:e,groupItems:t,prefixCls:h,className:x?.groupHeader,style:{...S?.groupHeader,...j}})},[x?.groupHeader,r,N,h,j,S?.groupHeader]);return n.createElement(f.A,{ref:C,data:E,direction:y,fullHeight:!1,height:i,itemHeight:u,itemKey:"taggedKey",onScroll:g,scrollWidth:$,prefixCls:h,virtual:!0,extraRender:R,className:x?.root,style:S?.root},e=>"group"===e.type?I(e.groupKey):n.createElement("div",{className:(0,a.A)(`${h}-item`,x?.item),style:{...S?.item,...j}},p(e.item,e.index)))}const v=n.forwardRef(b);function $(e,t){const{items:o,virtual:r=!0,prefixCls:a="rc-listy",...i}=e,s={...i,data:n.useMemo(()=>o||[],[o]),prefixCls:a,ref:t};return n.createElement(r?v:g,s)}const y=(0,n.forwardRef)($);var x=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),S=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),C=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js"),w=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/useToken.js"),k=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js"),E=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js");const z=(0,o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js").OF)("Listy",e=>{const{componentCls:t,itemPaddingBlock:o,itemPaddingInline:n}=e;return{[t]:{...(0,E.dF)(e),position:"relative","--rc-virtual-list-scrollbar-bg":e.colorSplit,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,[`${t}-item`]:{padding:`${(0,k.zA)(o)} ${(0,k.zA)(n)}`,borderBottom:`${(0,k.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`&${t}-hoverable`]:{[`${t}-item`]:{transition:`background-color ${e.motionDurationMid} ${e.motionEaseInOut}`,"&:hover":{backgroundColor:e.controlItemBgHover}}},[`${t}-group-header`]:{boxSizing:"border-box",padding:`${(0,k.zA)(e.paddingXS)} ${(0,k.zA)(n)}`,color:e.colorTextDescription,fontWeight:e.fontWeightStrong,backgroundColor:e.colorBgContainer,backgroundImage:`linear-gradient(${e.colorFillAlter}, ${e.colorFillAlter})`,"&-sticky":{position:"sticky",top:0,insetInline:0,zIndex:1},"&-fixed":{position:"absolute",top:0,insetInline:0,transform:"translateY(0)",pointerEvents:"auto"},"&-holder":{position:"absolute",inset:0,overflow:"hidden",pointerEvents:"none"}},[`${t}-group-section`]:{position:"relative"},[`${t}-scrollbar`]:{zIndex:1,cursor:"pointer","&:hover":{backgroundColor:e.colorFillQuaternary}},"&-rtl":{direction:"rtl"}}}},e=>({itemPaddingBlock:e.paddingSM,itemPaddingInline:e.padding})),N=(e,t)=>{const{prefixCls:o,rootClassName:n,className:i,style:s,classNames:l,styles:c,rowHoverable:d=!0,virtual:m,...u}=e,{getPrefixCls:p,direction:g,className:f,style:h,classNames:_,styles:b}=(0,S.TP)("listy"),{virtual:v}=r().useContext(S.QO),$=p("listy",o),k=(0,C.A)($),[E,N]=z($,k),[,A]=(0,w.Ay)(),M={...A,...A.Listy},j=M.fontHeight+2*(M.itemPaddingBlock??M.paddingSM),R=(0,x.XT)(h),I=(0,x.XT)(s),[T,P]=(0,x.AV)([_,l],[b,R,c,I],{props:e}),H=(0,a.$)(f,T.root,n,i,{[`${$}-hoverable`]:d},E,N,k),B=m??v??!1;return r().createElement(y,{...u,ref:t,prefixCls:$,direction:g,virtual:B,itemHeight:j,classNames:{...T,root:H},styles:P})};const A=r().forwardRef(N);var M=o("./src/utils/antd.tsx"),j=o("./src/utils/dash3.ts"),R=o("./src/utils/funcs.ts");const I=e=>{const{itemRender:t,loading_state:o,scrollTo:a,setProps:i}=e,s=(0,j.z5)(),l=(0,n.useRef)(null),c=(0,M.I4)(e);delete c.scrollTo,delete c.scrollPosition,delete c.itemRender,(0,n.useEffect)(()=>{void 0!==a&&l.current?.scrollTo(a)},[a]);const d=c.group,m=d?.key&&d.title?{key:d.key,title:(e,t)=>(0,M.LM)(d.title?.(e,t),[...s,"props","group","title",e])}:void 0,u=t&&"string"!=typeof t?(0,R.qF)(t,{props:e}):void 0,p="string"==typeof t?t:"children";return r().createElement(A,{ref:l,...c,group:m,itemRender:(e,t)=>{const o=u?u(e,t):e[p],n=u?[...s,"props","itemRender",t]:[...s,"props","items",t,p];return(0,M.LM)(o,n,t)},onScroll:e=>{const{clientHeight:t,scrollHeight:o,scrollTop:n}=e.currentTarget;i?.({scrollPosition:{clientHeight:t,scrollHeight:o,scrollTop:n}})},"data-dash-is-loading":(0,j.A_)(o)||void 0})},T=e=>r().createElement(I,{...e})},"./src/components/fragments/async/dataDisplay/Segmented.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/segmented/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{loading_state:t,setProps:o,value:l}=e,c=(0,s.z5)(),d=(0,i.I4)(e),m=(0,n.useMemo)(()=>(0,i.uK)(d.options,["label","icon"],[...c,"props","options"]),[c,d.options]);return r().createElement(a.A,{...d,options:m,value:l,onChange:e=>o?.({value:e}),"data-dash-is-loading":(0,s.A_)(t)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Statistic.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/statistic/index.js"),i=o("./src/utils/dash3.ts"),s=o("./src/utils/antd.tsx");const l=e=>{const{loading_state:t,prefix:o,suffix:n,title:l,value:c}=e,d=(0,s.I4)(e),m=(0,s.lq)(c),u=r().isValidElement(m)||Array.isArray(m);return r().createElement(a.A,{...d,title:(0,s.lq)(l),prefix:(0,s.lq)(o),suffix:(0,s.lq)(n),value:u?0:m,formatter:u?()=>m:d.formatter,"data-dash-is-loading":(0,i.A_)(t)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/StatisticTimer.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/statistic/index.js"),i=o("./src/utils/dash3.ts"),s=o("./src/utils/antd.tsx");const l=e=>{const{loading_state:t,n_finish:o,prefix:n,setProps:l,suffix:c,title:d}=e,m=(0,s.I4)(e);return delete m.n_finish,r().createElement(a.A.Timer,{...m,title:(0,s.lq)(d),prefix:(0,s.lq)(n),suffix:(0,s.lq)(c),onFinish:()=>l?.({n_finish:(o||0)+1}),"data-dash-is-loading":(0,i.A_)(t)||void 0})},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Tag.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>c});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tag/index.js"),i=o("./src/utils/antd.tsx"),s=o("./src/utils/dash3.ts");const l=e=>{const{children:t,closeIcon:o,icon:n,loading_state:l,n_close:c,setProps:d}=e,m=(0,i.I4)(e);return delete m.n_close,r().createElement(a.A,{...m,icon:(0,i.lq)(n),closeIcon:(0,i.lq)(o),onClose:()=>d?.({n_close:(c||0)+1}),"data-dash-is-loading":(0,s.A_)(l)||void 0},(0,i.lq)(t))},c=e=>r().createElement(l,{...e})},"./src/components/fragments/async/dataDisplay/Timeline.tsx"(e,t,o){o.r(t),o.d(t,{default:()=>M});var n=o("react"),r=o.n(n),a=o("./node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),i=o("./node_modules/.pnpm/@rc-component+steps@1.2.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/steps/es/index.js"),s=o("./node_modules/.pnpm/@rc-component+util@1.14.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/util/es/index.js"),l=o("./node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"),c=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/hooks/useMergeSemantic/index.js"),d=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/is.js"),m=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/config-provider/context.js"),u=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/form/hooks/useVariants.js"),p=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/steps/index.js"),g=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/steps/context.js"),f=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/theme/util/genStyleUtils.js"),h=o("./node_modules/.pnpm/antd@6.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/style/index.js"),_=o("./node_modules/.pnpm/@ant-design+cssinjs-utils@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs-utils/es/index.js"),b=o("./node_modules/.pnpm/@ant-design+cssinjs@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/cssinjs/es/index.js");const v=e=>{const{componentCls:t,fontHeight:o,antCls:n,paddingXS:r}=e,[a,i]=(0,f.PN)(n,"cmp-steps"),[s,l]=(0,f.PN)(n,"timeline"),c=`${t}-item`;return{[`${t}-horizontal`]:{[a("title-vertical-row-gap")]:r,[s("content-height")]:(0,b.zA)(o),alignItems:"stretch",[`&${t}-layout-alternate`]:{[c]:{[`${c}-wrapper`]:{[s("alternate-content-offset")]:`calc(${l("content-height")} + ${i("title-vertical-row-gap")} * 2 + ${i("icon-size-max")})`,height:`calc(${l("content-height")} * 2 + ${i("title-vertical-row-gap")} * 2 + ${i("icon-size-max")})`},[`${c}-icon`]:{position:"absolute"},[`${c}-icon, ${c}-rail`]:{position:"absolute",top:"50%",transform:"translateY(-50%)",margin:0},[`${c}-title, ${c}-subtitle, ${c}-content`]:{whiteSpace:"nowrap",maxWidth:"unset"},[`${c}-title`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},[`${c}-content`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-placement-start":{[`${c}-title`]:{bottom:l("alternate-content-offset")},[`${c}-content`]:{top:l("alternate-content-offset")}},"&-placement-end":{[`${c}-title`]:{top:l("alternate-content-offset")},[`${c}-content`]:{bottom:l("alternate-content-offset")}}}},[`&:not(${t}-layout-alternate)`]:{[`${c}-placement-end`]:{display:"flex",alignItems:"flex-end",[`${c}-wrapper`]:{flex:"auto",flexDirection:"column-reverse"},[`${c}-rail`]:{top:"auto",bottom:i("horizontal-rail-margin"),transform:"translateY(50%)"}}}}}},$=e=>{const{componentCls:t,tailColor:o,fontHeight:n,dotSize:r,dotBg:a,dotBorderWidth:i,fontSize:s,lineHeight:l,colorText:c,tailWidth:d,colorPrimary:m,colorError:u,colorSuccess:p,colorTextDisabled:g,antCls:_}=e,b=`${t}-item`,[v,$]=(0,f.PN)(_,"cmp-steps");return{[t]:[{...(0,h.dF)(e),[b]:{[v("title-horizontal-title-height")]:n,[v("vertical-rail-margin")]:"0px",[v("title-horizontal-rail-gap")]:"0px",[v("icon-dot-size-origin")]:$("icon-size-active"),[v("icon-dot-size-custom")]:r,[v("item-icon-dot-bg-color-origin")]:$("item-icon-dot-bg-color"),[v("item-icon-dot-bg-color-custom")]:a,[v("icon-size")]:$("icon-dot-size-custom",$("icon-dot-size-origin")),[`${b}-icon`]:{[v("dot-icon-border-width")]:i,[v("dot-icon-size")]:$("icon-size"),[v("item-icon-dot-bg-color")]:$("item-icon-dot-bg-color-custom",$("item-icon-dot-bg-color-origin"))},[`${b}-title`]:{fontSize:s,lineHeight:l},[`${b}-content`]:{color:c},[`${b}-rail`]:{[v("item-solid-line-color")]:o,[v("rail-size")]:d}}},{[b]:{[v("item-process-rail-line-style")]:"dotted"},[`${b}${b}${b}-color`]:{"&-blue":{[v("item-icon-dot-color")]:m},"&-red":{[v("item-icon-dot-color")]:u},"&-green":{[v("item-icon-dot-color")]:p},"&-gray":{[v("item-icon-dot-color")]:g}}}]}},y=e=>{const{calc:t,componentCls:o,itemPaddingBottom:n,margin:r,antCls:a}=e,i=`${o}-item`,[,s]=(0,f.PN)(a,"cmp-steps"),[l,c]=(0,f.PN)(a,"timeline");return{[`${o}:not(${o}-horizontal)`]:{[l("head-span")]:"12",[l("head-span-ptg")]:`calc(${c("head-span")} / 24 * 100%)`,[`&${o}-layout-alternate`]:{[i]:{[l("alternate-gap")]:t(r).mul(2).add(s("dot-icon-size")).equal(),minHeight:"auto",paddingBottom:n,[`${i}-icon, ${i}-rail`]:{position:"absolute",insetInlineStart:c("head-span-ptg")},[`${i}-icon`]:{marginInlineStart:`calc(${s("icon-size")} / -2)`},[`${i}-section`]:{display:"flex",flexWrap:"nowrap",gap:c("alternate-gap")},[`${i}-header`]:{textAlign:"end",flexDirection:"column",alignItems:"stretch",flex:`1 1 calc(${c("head-span-ptg")} - ${c("alternate-gap")} / 2)`},[`${i}-content`]:{textAlign:"start",flex:`1 1 calc(100% - ${c("head-span-ptg")} - ${c("alternate-gap")} / 2)`},"&-placement-end":{[`${i}-header`]:{textAlign:"start",order:1},[`${i}-content`]:{textAlign:"end"},[`${i}-icon, ${i}-rail`]:{insetInlineStart:`calc(100% - ${c("head-span-ptg")})`}}}},[`&:not(${o}-layout-alternate)`]:{[`${i}-placement-end`]:{textAlign:"end",[`${i}-icon`]:{order:1},[`${i}-rail`]:{insetInlineStart:"auto",insetInlineEnd:`calc(${s("icon-size")} / 2)`,marginInlineEnd:`calc(${s("rail-size")} / -2)`}}}}}},x=(0,f.OF)("Timeline",e=>{const t=(0,_.oX)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[$(t),y(t),v(t)]},e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.lineWidthBold,dotBg:void 0,dotSize:void 0,itemPaddingBottom:1.25*e.padding}));var S=o("./node_modules/.pnpm/@ant-design+icons@6.3.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js");const C=(e,t,o,r,a,i,c)=>{const d=`${t}-item`,[m]=(0,f.PN)(e,"cmp-steps"),u=n.useMemo(()=>Array.isArray(r)?r:(0,s.$r)(a).map(e=>({...e.props})),[r,a]);return n.useMemo(()=>{const e=u.map((e,t)=>{const{label:r,children:a,title:i,content:s,color:c,className:u,style:p,icon:g,dot:f,placement:h,position:_,loading:b,...v}=e;let $=p,y=u;c&&(["blue","red","green","gray"].includes(c)?y=(0,l.$)(u,`${d}-color-${c}`):$={[m("item-icon-dot-color")]:c,...p});y=(0,l.$)(y,`${d}-placement-${h??_??("alternate"===o?t%2==0?"start":"end":o)}`);let x=g??f;return!x&&b&&(x=n.createElement(S.A,null)),{...v,title:i??r,content:s??a,style:$,className:y,icon:x,status:b?"process":"finish"}});return i&&e.push({icon:c??n.createElement(S.A,null),content:i,status:"process"}),e},[u,i,o,d,m,c])},w={rootComponent:"ol",itemComponent:"li"},k=e=>{const{getPrefixCls:t,direction:o,className:r,style:h,classNames:_,styles:b}=(0,m.TP)("timeline"),{prefixCls:v,className:$,style:y,classNames:S,styles:k,variant:E,mode:z,orientation:N="vertical",titleSpan:A,items:M,children:j,reverse:R,pending:I,pendingDot:T,...P}=e,H=t(),B=t("timeline",v),[D]=(0,u.A)("timeline",E,{variants:["filled","outlined"],defaultVariant:"outlined"}),[L,O]=x(B),[W]=(0,f.PN)(H,"timeline"),F=n.useMemo(()=>({item:`${B}-item`,itemTitle:`${B}-item-title`,itemIcon:`${B}-item-icon`,itemContent:`${B}-item-content`,itemRail:`${B}-item-rail`,itemWrapper:`${B}-item-wrapper`,itemSection:`${B}-item-section`,itemHeader:`${B}-item-header`}),[B]),X=n.useMemo(()=>{if("left"===z)return"start";if("right"===z)return"end";return["alternate","start","end"].includes(z)?z:"start"},[z]),q=C(H,B,X,M,j,I,T),G=n.useMemo(()=>R?(0,a.A)(q).reverse():q,[R,q]),K={...e,variant:D,mode:X,orientation:N,items:G},V=(0,c.XT)(h),Z=(0,c.XT)(y),[Y,U]=(0,c.AV)([F,_,S],[b,V,k,Z],{props:K}),Q=n.useMemo(()=>({railFollowPrevStatus:R}),[R]),J=n.useMemo(()=>"alternate"===X||"vertical"===N&&G.some(e=>e.title),[G,X,N]);const ee={};return(0,s.R)(A)&&"alternate"!==X&&((0,d.Et)(A)?ee[W("head-span")]=A:ee[W("head-span-ptg")]=A),n.createElement(g.j.Provider,{value:w},n.createElement(i.QB.Provider,{value:Q},n.createElement(p.A,{...P,className:(0,l.$)(B,r,$,L,O,{[`${B}-${N}`]:"horizontal"===N,[`${B}-layout-alternate`]:J,[`${B}-rtl`]:"rtl"===o}),style:ee,classNames:Y,styles:U,variant:D,orientation:N,type:"dot",items:G,current:G.length-1})))};k.Item=()=>{};const E=k;var z=o("./src/utils/antd.tsx"),N=o("./src/utils/dash3.ts");const A=e=>{const{items:t,loading_state:o}=e,a=(0,N.z5)(),i=(0,n.useMemo)(()=>(0,z.uK)(t,["content","icon","title"],[...a,"props","items"]),[a,t]),s=E,l=(0,z.I4)(e);return r().createElement(s,{...l,items:i,"data-dash-is-loading":(0,N.A_)(o)||void 0})},M=e=>r().createElement(A,{...e})}}]);